ai-station/.venv/lib/python3.12/site-packages/chainlit/copilot/dist/index.js

12761 lines
7.5 MiB
Raw Permalink 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 Kir=Object.defineProperty;var Xir=(fy,Jl,Ns)=>Jl in fy?Kir(fy,Jl,{enumerable:!0,configurable:!0,writable:!0,value:Ns}):fy[Jl]=Ns;var y4e=(fy,Jl,Ns)=>Xir(fy,typeof Jl!="symbol"?Jl+"":Jl,Ns);(function(){"use strict";var fy=document.createElement("style");fy.textContent=`pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#23241f;color:#f8f8f2}.hljs-tag,.hljs-subst{color:#f8f8f2}.hljs-strong,.hljs-emphasis{color:#a8a8a2}.hljs-bullet,.hljs-quote,.hljs-number,.hljs-regexp,.hljs-literal,.hljs-link{color:#ae81ff}.hljs-code,.hljs-title,.hljs-section,.hljs-selector-class{color:#a6e22e}.hljs-strong{font-weight:700}.hljs-emphasis{font-style:italic}.hljs-keyword,.hljs-selector-tag,.hljs-name,.hljs-attr{color:#f92672}.hljs-symbol,.hljs-attribute{color:#66d9ef}.hljs-params,.hljs-title.class_,.hljs-class .hljs-title{color:#f8f8f2}.hljs-string,.hljs-type,.hljs-built_in,.hljs-selector-id,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-addition,.hljs-variable,.hljs-template-variable{color:#e6db74}.hljs-comment,.hljs-deletion,.hljs-meta{color:#75715e}
/*$vite$:1*/`,document.head.appendChild(fy);function Jl(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const o in n)if(o!=="default"&&!(o in e)){const m=Object.getOwnPropertyDescriptor(n,o);m&&Object.defineProperty(e,o,m.get?m:{enumerable:!0,get:()=>n[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Ns=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ec(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function aet(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var _4e={exports:{}},wR={},x4e={exports:{}},_s={};/**
* @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 I6=Symbol.for("react.element"),iet=Symbol.for("react.portal"),oet=Symbol.for("react.fragment"),set=Symbol.for("react.strict_mode"),cet=Symbol.for("react.profiler"),uet=Symbol.for("react.provider"),det=Symbol.for("react.context"),fet=Symbol.for("react.forward_ref"),het=Symbol.for("react.suspense"),pet=Symbol.for("react.memo"),vet=Symbol.for("react.lazy"),b4e=Symbol.iterator;function met(e){return e===null||typeof e!="object"?null:(e=b4e&&e[b4e]||e["@@iterator"],typeof e=="function"?e:null)}var E4e={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S4e=Object.assign,w4e={};function F4(e,t,r){this.props=e,this.context=t,this.refs=w4e,this.updater=r||E4e}F4.prototype.isReactComponent={},F4.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")},F4.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function T4e(){}T4e.prototype=F4.prototype;function Ole(e,t,r){this.props=e,this.context=t,this.refs=w4e,this.updater=r||E4e}var Dle=Ole.prototype=new T4e;Dle.constructor=Ole,S4e(Dle,F4.prototype),Dle.isPureReactComponent=!0;var A4e=Array.isArray,C4e=Object.prototype.hasOwnProperty,Ple={current:null},k4e={key:!0,ref:!0,__self:!0,__source:!0};function M4e(e,t,r){var n,o={},m=null,u=null;if(t!=null)for(n in t.ref!==void 0&&(u=t.ref),t.key!==void 0&&(m=""+t.key),t)C4e.call(t,n)&&!k4e.hasOwnProperty(n)&&(o[n]=t[n]);var h=arguments.length-2;if(h===1)o.children=r;else if(1<h){for(var a=Array(h),l=0;l<h;l++)a[l]=arguments[l+2];o.children=a}if(e&&e.defaultProps)for(n in h=e.defaultProps,h)o[n]===void 0&&(o[n]=h[n]);return{$$typeof:I6,type:e,key:m,ref:u,props:o,_owner:Ple.current}}function get(e,t){return{$$typeof:I6,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Fle(e){return typeof e=="object"&&e!==null&&e.$$typeof===I6}function yet(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var R4e=/\/+/g;function Ble(e,t){return typeof e=="object"&&e!==null&&e.key!=null?yet(""+e.key):t.toString(36)}function TR(e,t,r,n,o){var m=typeof e;(m==="undefined"||m==="boolean")&&(e=null);var u=!1;if(e===null)u=!0;else switch(m){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case I6:case iet:u=!0}}if(u)return u=e,o=o(u),e=n===""?"."+Ble(u,0):n,A4e(o)?(r="",e!=null&&(r=e.replace(R4e,"$&/")+"/"),TR(o,t,r,"",function(l){return l})):o!=null&&(Fle(o)&&(o=get(o,r+(!o.key||u&&u.key===o.key?"":(""+o.key).replace(R4e,"$&/")+"/")+e)),t.push(o)),1;if(u=0,n=n===""?".":n+":",A4e(e))for(var h=0;h<e.length;h++){m=e[h];var a=n+Ble(m,h);u+=TR(m,t,r,a,o)}else if(a=met(e),typeof a=="function")for(e=a.call(e),h=0;!(m=e.next()).done;)m=m.value,a=n+Ble(m,h++),u+=TR(m,t,r,a,o);else if(m==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return u}function AR(e,t,r){if(e==null)return e;var n=[],o=0;return TR(e,n,"","",function(m){return t.call(r,m,o++)}),n}function _et(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Df={current:null},CR={transition:null},xet={ReactCurrentDispatcher:Df,ReactCurrentBatchConfig:CR,ReactCurrentOwner:Ple};function N4e(){throw Error("act(...) is not supported in production builds of React.")}_s.Children={map:AR,forEach:function(e,t,r){AR(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return AR(e,function(){t++}),t},toArray:function(e){return AR(e,function(t){return t})||[]},only:function(e){if(!Fle(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},_s.Component=F4,_s.Fragment=oet,_s.Profiler=cet,_s.PureComponent=Ole,_s.StrictMode=set,_s.Suspense=het,_s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=xet,_s.act=N4e,_s.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=S4e({},e.props),o=e.key,m=e.ref,u=e._owner;if(t!=null){if(t.ref!==void 0&&(m=t.ref,u=Ple.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var h=e.type.defaultProps;for(a in t)C4e.call(t,a)&&!k4e.hasOwnProperty(a)&&(n[a]=t[a]===void 0&&h!==void 0?h[a]:t[a])}var a=arguments.length-2;if(a===1)n.children=r;else if(1<a){h=Array(a);for(var l=0;l<a;l++)h[l]=arguments[l+2];n.children=h}return{$$typeof:I6,type:e.type,key:o,ref:m,props:n,_owner:u}},_s.createContext=function(e){return e={$$typeof:det,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:uet,_context:e},e.Consumer=e},_s.createElement=M4e,_s.createFactory=function(e){var t=M4e.bind(null,e);return t.type=e,t},_s.createRef=function(){return{current:null}},_s.forwardRef=function(e){return{$$typeof:fet,render:e}},_s.isValidElement=Fle,_s.lazy=function(e){return{$$typeof:vet,_payload:{_status:-1,_result:e},_init:_et}},_s.memo=function(e,t){return{$$typeof:pet,type:e,compare:t===void 0?null:t}},_s.startTransition=function(e){var t=CR.transition;CR.transition={};try{e()}finally{CR.transition=t}},_s.unstable_act=N4e,_s.useCallback=function(e,t){return Df.current.useCallback(e,t)},_s.useContext=function(e){return Df.current.useContext(e)},_s.useDebugValue=function(){},_s.useDeferredValue=function(e){return Df.current.useDeferredValue(e)},_s.useEffect=function(e,t){return Df.current.useEffect(e,t)},_s.useId=function(){return Df.current.useId()},_s.useImperativeHandle=function(e,t,r){return Df.current.useImperativeHandle(e,t,r)},_s.useInsertionEffect=function(e,t){return Df.current.useInsertionEffect(e,t)},_s.useLayoutEffect=function(e,t){return Df.current.useLayoutEffect(e,t)},_s.useMemo=function(e,t){return Df.current.useMemo(e,t)},_s.useReducer=function(e,t,r){return Df.current.useReducer(e,t,r)},_s.useRef=function(e){return Df.current.useRef(e)},_s.useState=function(e){return Df.current.useState(e)},_s.useSyncExternalStore=function(e,t,r){return Df.current.useSyncExternalStore(e,t,r)},_s.useTransition=function(){return Df.current.useTransition()},_s.version="18.3.1",x4e.exports=_s;var Ue=x4e.exports;const wn=ec(Ue),kR=Jl({__proto__:null,default:wn},[Ue]);/**
* @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 bet=Ue,Eet=Symbol.for("react.element"),wet=Symbol.for("react.fragment"),Tet=Object.prototype.hasOwnProperty,Aet=bet.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Cet={key:!0,ref:!0,__self:!0,__source:!0};function I4e(e,t,r){var n,o={},m=null,u=null;r!==void 0&&(m=""+r),t.key!==void 0&&(m=""+t.key),t.ref!==void 0&&(u=t.ref);for(n in t)Tet.call(t,n)&&!Cet.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)o[n]===void 0&&(o[n]=t[n]);return{$$typeof:Eet,type:e,key:m,ref:u,props:o,_owner:Aet.current}}wR.Fragment=wet,wR.jsx=I4e,wR.jsxs=I4e,_4e.exports=wR;var Oe=_4e.exports,zle={},L4e={exports:{}},Ap={},O4e={exports:{}},D4e={};/**
* @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(e){function t(N,T){var D=N.length;N.push(T);e:for(;0<D;){var O=D-1>>>1,U=N[O];if(0<o(U,T))N[O]=T,N[D]=U,D=O;else break e}}function r(N){return N.length===0?null:N[0]}function n(N){if(N.length===0)return null;var T=N[0],D=N.pop();if(D!==T){N[0]=D;e:for(var O=0,U=N.length,B=U>>>1;O<B;){var Y=2*(O+1)-1,z=N[Y],V=Y+1,j=N[V];if(0>o(z,D))V<U&&0>o(j,z)?(N[O]=j,N[V]=D,O=V):(N[O]=z,N[Y]=D,O=Y);else if(V<U&&0>o(j,D))N[O]=j,N[V]=D,O=V;else break e}}return T}function o(N,T){var D=N.sortIndex-T.sortIndex;return D!==0?D:N.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var m=performance;e.unstable_now=function(){return m.now()}}else{var u=Date,h=u.now();e.unstable_now=function(){return u.now()-h}}var a=[],l=[],v=1,i=null,S=3,g=!1,p=!1,_=!1,c=typeof setTimeout=="function"?setTimeout:null,s=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(N){for(var T=r(l);T!==null;){if(T.callback===null)n(l);else if(T.startTime<=N)n(l),T.sortIndex=T.expirationTime,t(a,T);else break;T=r(l)}}function b(N){if(_=!1,f(N),!p)if(r(a)!==null)p=!0,M(x);else{var T=r(l);T!==null&&F(b,T.startTime-N)}}function x(N,T){p=!1,_&&(_=!1,s(w),w=-1),g=!0;var D=S;try{for(f(T),i=r(a);i!==null&&(!(i.expirationTime>T)||N&&!E());){var O=i.callback;if(typeof O=="function"){i.callback=null,S=i.priorityLevel;var U=O(i.expirationTime<=T);T=e.unstable_now(),typeof U=="function"?i.callback=U:i===r(a)&&n(a),f(T)}else n(a);i=r(a)}if(i!==null)var B=!0;else{var Y=r(l);Y!==null&&F(b,Y.startTime-T),B=!1}return B}finally{i=null,S=D,g=!1}}var y=!1,C=null,w=-1,R=5,A=-1;function E(){return!(e.unstable_now()-A<R)}function k(){if(C!==null){var N=e.unstable_now();A=N;var T=!0;try{T=C(!0,N)}finally{T?L():(y=!1,C=null)}}else y=!1}var L;if(typeof d=="function")L=function(){d(k)};else if(typeof MessageChannel<"u"){var I=new MessageChannel,P=I.port2;I.port1.onmessage=k,L=function(){P.postMessage(null)}}else L=function(){c(k,0)};function M(N){C=N,y||(y=!0,L())}function F(N,T){w=c(function(){N(e.unstable_now())},T)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(N){N.callback=null},e.unstable_continueExecution=function(){p||g||(p=!0,M(x))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return S},e.unstable_getFirstCallbackNode=function(){return r(a)},e.unstable_next=function(N){switch(S){case 1:case 2:case 3:var T=3;break;default:T=S}var D=S;S=T;try{return N()}finally{S=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,T){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var D=S;S=N;try{return T()}finally{S=D}},e.unstable_scheduleCallback=function(N,T,D){var O=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?O+D:O):D=O,N){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=D+U,N={id:v++,callback:T,priorityLevel:N,startTime:D,expirationTime:U,sortIndex:-1},D>O?(N.sortIndex=D,t(l,N),r(a)===null&&N===r(l)&&(_?(s(w),w=-1):_=!0,F(b,D-O))):(N.sortIndex=U,t(a,N),p||g||(p=!0,M(x))),N},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(N){var T=S;return function(){var D=S;S=T;try{return N.apply(this,arguments)}finally{S=D}}}})(D4e),O4e.exports=D4e;var ket=O4e.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 Met=Ue,Cp=ket;function mi(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var P4e=new Set,L6={};function L_(e,t){B4(e,t),B4(e+"Capture",t)}function B4(e,t){for(L6[e]=t,e=0;e<t.length;e++)P4e.add(t[e])}var Wm=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ule=Object.prototype.hasOwnProperty,Ret=/^[: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]*$/,F4e={},B4e={};function Net(e){return Ule.call(B4e,e)?!0:Ule.call(F4e,e)?!1:Ret.test(e)?B4e[e]=!0:(F4e[e]=!0,!1)}function Iet(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Let(e,t,r,n){if(t===null||typeof t>"u"||Iet(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Pf(e,t,r,n,o,m,u){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=m,this.removeEmptyString=u}var Sd={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Sd[e]=new Pf(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Sd[t]=new Pf(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Sd[e]=new Pf(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Sd[e]=new Pf(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Sd[e]=new Pf(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Sd[e]=new Pf(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Sd[e]=new Pf(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Sd[e]=new Pf(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Sd[e]=new Pf(e,5,!1,e.toLowerCase(),null,!1,!1)});var $le=/[\-:]([a-z])/g;function Hle(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace($le,Hle);Sd[t]=new Pf(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace($le,Hle);Sd[t]=new Pf(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace($le,Hle);Sd[t]=new Pf(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Sd[e]=new Pf(e,1,!1,e.toLowerCase(),null,!1,!1)}),Sd.xlinkHref=new Pf("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Sd[e]=new Pf(e,1,!1,e.toLowerCase(),null,!0,!0)});function Vle(e,t,r,n){var o=Sd.hasOwnProperty(t)?Sd[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Let(t,r,o,n)&&(r=null),n||o===null?Net(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=r===null?o.type===3?!1:"":r:(t=o.attributeName,n=o.attributeNamespace,r===null?e.removeAttribute(t):(o=o.type,r=o===3||o===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var Km=Met.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,MR=Symbol.for("react.element"),z4=Symbol.for("react.portal"),U4=Symbol.for("react.fragment"),Gle=Symbol.for("react.strict_mode"),jle=Symbol.for("react.profiler"),z4e=Symbol.for("react.provider"),U4e=Symbol.for("react.context"),Yle=Symbol.for("react.forward_ref"),Wle=Symbol.for("react.suspense"),Kle=Symbol.for("react.suspense_list"),Xle=Symbol.for("react.memo"),hy=Symbol.for("react.lazy"),$4e=Symbol.for("react.offscreen"),H4e=Symbol.iterator;function O6(e){return e===null||typeof e!="object"?null:(e=H4e&&e[H4e]||e["@@iterator"],typeof e=="function"?e:null)}var pc=Object.assign,qle;function D6(e){if(qle===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);qle=t&&t[1]||""}return`
`+qle+e}var Zle=!1;function Qle(e,t){if(!e||Zle)return"";Zle=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var n=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){n=l}e.call(t.prototype)}else{try{throw Error()}catch(l){n=l}e()}}catch(l){if(l&&n&&typeof l.stack=="string"){for(var o=l.stack.split(`
`),m=n.stack.split(`
`),u=o.length-1,h=m.length-1;1<=u&&0<=h&&o[u]!==m[h];)h--;for(;1<=u&&0<=h;u--,h--)if(o[u]!==m[h]){if(u!==1||h!==1)do if(u--,h--,0>h||o[u]!==m[h]){var a=`
`+o[u].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=u&&0<=h);break}}}finally{Zle=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?D6(e):""}function Oet(e){switch(e.tag){case 5:return D6(e.type);case 16:return D6("Lazy");case 13:return D6("Suspense");case 19:return D6("SuspenseList");case 0:case 2:case 15:return e=Qle(e.type,!1),e;case 11:return e=Qle(e.type.render,!1),e;case 1:return e=Qle(e.type,!0),e;default:return""}}function Jle(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case U4:return"Fragment";case z4:return"Portal";case jle:return"Profiler";case Gle:return"StrictMode";case Wle:return"Suspense";case Kle:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case U4e:return(e.displayName||"Context")+".Consumer";case z4e:return(e._context.displayName||"Context")+".Provider";case Yle:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Xle:return t=e.displayName||null,t!==null?t:Jle(e.type)||"Memo";case hy:t=e._payload,e=e._init;try{return Jle(e(t))}catch{}}return null}function Det(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Jle(t);case 8:return t===Gle?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function py(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function V4e(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Pet(e){var t=V4e(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,m=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(u){n=""+u,m.call(this,u)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(u){n=""+u},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function RR(e){e._valueTracker||(e._valueTracker=Pet(e))}function G4e(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=V4e(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function NR(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ece(e,t){var r=t.checked;return pc({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function j4e(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=py(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Y4e(e,t){t=t.checked,t!=null&&Vle(e,"checked",t,!1)}function tce(e,t){Y4e(e,t);var r=py(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?rce(e,t.type,r):t.hasOwnProperty("defaultValue")&&rce(e,t.type,py(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function W4e(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function rce(e,t,r){(t!=="number"||NR(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var P6=Array.isArray;function $4(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+py(r),t=null,o=0;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,n&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function nce(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(mi(91));return pc({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function K4e(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(mi(92));if(P6(r)){if(1<r.length)throw Error(mi(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:py(r)}}function X4e(e,t){var r=py(t.value),n=py(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function q4e(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Z4e(e){switch(e){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 ace(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Z4e(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var IR,Q4e=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,o){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(IR=IR||document.createElement("div"),IR.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=IR.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function F6(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var B6={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},Fet=["Webkit","ms","Moz","O"];Object.keys(B6).forEach(function(e){Fet.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),B6[t]=B6[e]})});function J4e(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||B6.hasOwnProperty(e)&&B6[e]?(""+t).trim():t+"px"}function ewe(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=J4e(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var Bet=pc({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 ice(e,t){if(t){if(Bet[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(mi(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(mi(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(mi(61))}if(t.style!=null&&typeof t.style!="object")throw Error(mi(62))}}function oce(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sce=null;function lce(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var cce=null,H4=null,V4=null;function twe(e){if(e=oA(e)){if(typeof cce!="function")throw Error(mi(280));var t=e.stateNode;t&&(t=tN(t),cce(e.stateNode,e.type,t))}}function rwe(e){H4?V4?V4.push(e):V4=[e]:H4=e}function nwe(){if(H4){var e=H4,t=V4;if(V4=H4=null,twe(e),t)for(e=0;e<t.length;e++)twe(t[e])}}function awe(e,t){return e(t)}function iwe(){}var uce=!1;function owe(e,t,r){if(uce)return e(t,r);uce=!0;try{return awe(e,t,r)}finally{uce=!1,(H4!==null||V4!==null)&&(iwe(),nwe())}}function z6(e,t){var r=e.stateNode;if(r===null)return null;var n=tN(r);if(n===null)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(mi(231,t,typeof r));return r}var dce=!1;if(Wm)try{var U6={};Object.defineProperty(U6,"passive",{get:function(){dce=!0}}),window.addEventListener("test",U6,U6),window.removeEventListener("test",U6,U6)}catch{dce=!1}function zet(e,t,r,n,o,m,u,h,a){var l=Array.prototype.slice.call(arguments,3);try{t.apply(r,l)}catch(v){this.onError(v)}}var $6=!1,LR=null,OR=!1,fce=null,Uet={onError:function(e){$6=!0,LR=e}};function $et(e,t,r,n,o,m,u,h,a){$6=!1,LR=null,zet.apply(Uet,arguments)}function Het(e,t,r,n,o,m,u,h,a){if($et.apply(this,arguments),$6){if($6){var l=LR;$6=!1,LR=null}else throw Error(mi(198));OR||(OR=!0,fce=l)}}function O_(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function swe(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function lwe(e){if(O_(e)!==e)throw Error(mi(188))}function Vet(e){var t=e.alternate;if(!t){if(t=O_(e),t===null)throw Error(mi(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(o===null)break;var m=o.alternate;if(m===null){if(n=o.return,n!==null){r=n;continue}break}if(o.child===m.child){for(m=o.child;m;){if(m===r)return lwe(o),e;if(m===n)return lwe(o),t;m=m.sibling}throw Error(mi(188))}if(r.return!==n.return)r=o,n=m;else{for(var u=!1,h=o.child;h;){if(h===r){u=!0,r=o,n=m;break}if(h===n){u=!0,n=o,r=m;break}h=h.sibling}if(!u){for(h=m.child;h;){if(h===r){u=!0,r=m,n=o;break}if(h===n){u=!0,n=m,r=o;break}h=h.sibling}if(!u)throw Error(mi(189))}}if(r.alternate!==n)throw Error(mi(190))}if(r.tag!==3)throw Error(mi(188));return r.stateNode.current===r?e:t}function cwe(e){return e=Vet(e),e!==null?uwe(e):null}function uwe(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=uwe(e);if(t!==null)return t;e=e.sibling}return null}var dwe=Cp.unstable_scheduleCallback,fwe=Cp.unstable_cancelCallback,Get=Cp.unstable_shouldYield,jet=Cp.unstable_requestPaint,qc=Cp.unstable_now,Yet=Cp.unstable_getCurrentPriorityLevel,hce=Cp.unstable_ImmediatePriority,hwe=Cp.unstable_UserBlockingPriority,DR=Cp.unstable_NormalPriority,Wet=Cp.unstable_LowPriority,pwe=Cp.unstable_IdlePriority,PR=null,bv=null;function Ket(e){if(bv&&typeof bv.onCommitFiberRoot=="function")try{bv.onCommitFiberRoot(PR,e,void 0,(e.current.flags&128)===128)}catch{}}var x1=Math.clz32?Math.clz32:Zet,Xet=Math.log,qet=Math.LN2;function Zet(e){return e>>>=0,e===0?32:31-(Xet(e)/qet|0)|0}var FR=64,BR=4194304;function H6(e){switch(e&-e){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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function zR(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,m=e.pingedLanes,u=r&268435455;if(u!==0){var h=u&~o;h!==0?n=H6(h):(m&=u,m!==0&&(n=H6(m)))}else u=r&~o,u!==0?n=H6(u):m!==0&&(n=H6(m));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,m=t&-t,o>=m||o===16&&(m&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-x1(t),o=1<<r,n|=e[r],t&=~o;return n}function Qet(e,t){switch(e){case 1:case 2:case 4:return t+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 t+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 Jet(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,m=e.pendingLanes;0<m;){var u=31-x1(m),h=1<<u,a=o[u];a===-1?(!(h&r)||h&n)&&(o[u]=Qet(h,t)):a<=t&&(e.expiredLanes|=h),m&=~h}}function pce(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function vwe(){var e=FR;return FR<<=1,!(FR&4194240)&&(FR=64),e}function vce(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function V6(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-x1(t),e[t]=r}function ett(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-x1(r),m=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~m}}function mce(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-x1(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var ol=0;function mwe(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var gwe,gce,ywe,_we,xwe,yce=!1,UR=[],vy=null,my=null,gy=null,G6=new Map,j6=new Map,yy=[],ttt="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 bwe(e,t){switch(e){case"focusin":case"focusout":vy=null;break;case"dragenter":case"dragleave":my=null;break;case"mouseover":case"mouseout":gy=null;break;case"pointerover":case"pointerout":G6.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":j6.delete(t.pointerId)}}function Y6(e,t,r,n,o,m){return e===null||e.nativeEvent!==m?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:m,targetContainers:[o]},t!==null&&(t=oA(t),t!==null&&gce(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function rtt(e,t,r,n,o){switch(t){case"focusin":return vy=Y6(vy,e,t,r,n,o),!0;case"dragenter":return my=Y6(my,e,t,r,n,o),!0;case"mouseover":return gy=Y6(gy,e,t,r,n,o),!0;case"pointerover":var m=o.pointerId;return G6.set(m,Y6(G6.get(m)||null,e,t,r,n,o)),!0;case"gotpointercapture":return m=o.pointerId,j6.set(m,Y6(j6.get(m)||null,e,t,r,n,o)),!0}return!1}function Ewe(e){var t=D_(e.target);if(t!==null){var r=O_(t);if(r!==null){if(t=r.tag,t===13){if(t=swe(r),t!==null){e.blockedOn=t,xwe(e.priority,function(){ywe(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function $R(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=xce(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);sce=n,r.target.dispatchEvent(n),sce=null}else return t=oA(r),t!==null&&gce(t),e.blockedOn=r,!1;t.shift()}return!0}function Swe(e,t,r){$R(e)&&r.delete(t)}function ntt(){yce=!1,vy!==null&&$R(vy)&&(vy=null),my!==null&&$R(my)&&(my=null),gy!==null&&$R(gy)&&(gy=null),G6.forEach(Swe),j6.forEach(Swe)}function W6(e,t){e.blockedOn===t&&(e.blockedOn=null,yce||(yce=!0,Cp.unstable_scheduleCallback(Cp.unstable_NormalPriority,ntt)))}function K6(e){function t(o){return W6(o,e)}if(0<UR.length){W6(UR[0],e);for(var r=1;r<UR.length;r++){var n=UR[r];n.blockedOn===e&&(n.blockedOn=null)}}for(vy!==null&&W6(vy,e),my!==null&&W6(my,e),gy!==null&&W6(gy,e),G6.forEach(t),j6.forEach(t),r=0;r<yy.length;r++)n=yy[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<yy.length&&(r=yy[0],r.blockedOn===null);)Ewe(r),r.blockedOn===null&&yy.shift()}var G4=Km.ReactCurrentBatchConfig,HR=!0;function att(e,t,r,n){var o=ol,m=G4.transition;G4.transition=null;try{ol=1,_ce(e,t,r,n)}finally{ol=o,G4.transition=m}}function itt(e,t,r,n){var o=ol,m=G4.transition;G4.transition=null;try{ol=4,_ce(e,t,r,n)}finally{ol=o,G4.transition=m}}function _ce(e,t,r,n){if(HR){var o=xce(e,t,r,n);if(o===null)Fce(e,t,n,VR,r),bwe(e,n);else if(rtt(o,e,t,r,n))n.stopPropagation();else if(bwe(e,n),t&4&&-1<ttt.indexOf(e)){for(;o!==null;){var m=oA(o);if(m!==null&&gwe(m),m=xce(e,t,r,n),m===null&&Fce(e,t,n,VR,r),m===o)break;o=m}o!==null&&n.stopPropagation()}else Fce(e,t,n,null,r)}}var VR=null;function xce(e,t,r,n){if(VR=null,e=lce(n),e=D_(e),e!==null)if(t=O_(e),t===null)e=null;else if(r=t.tag,r===13){if(e=swe(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return VR=e,null}function wwe(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 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(Yet()){case hce:return 1;case hwe:return 4;case DR:case Wet:return 16;case pwe:return 536870912;default:return 16}default:return 16}}var _y=null,bce=null,GR=null;function Twe(){if(GR)return GR;var e,t=bce,r=t.length,n,o="value"in _y?_y.value:_y.textContent,m=o.length;for(e=0;e<r&&t[e]===o[e];e++);var u=r-e;for(n=1;n<=u&&t[r-n]===o[m-n];n++);return GR=o.slice(e,1<n?1-n:void 0)}function jR(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function YR(){return!0}function Awe(){return!1}function kp(e){function t(r,n,o,m,u){this._reactName=r,this._targetInst=o,this.type=n,this.nativeEvent=m,this.target=u,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(r=e[h],this[h]=r?r(m):m[h]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?YR:Awe,this.isPropagationStopped=Awe,this}return pc(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=YR)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=YR)},persist:function(){},isPersistent:YR}),t}var j4={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ece=kp(j4),X6=pc({},j4,{view:0,detail:0}),ott=kp(X6),Sce,wce,q6,WR=pc({},X6,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ace,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==q6&&(q6&&e.type==="mousemove"?(Sce=e.screenX-q6.screenX,wce=e.screenY-q6.screenY):wce=Sce=0,q6=e),Sce)},movementY:function(e){return"movementY"in e?e.movementY:wce}}),Cwe=kp(WR),stt=pc({},WR,{dataTransfer:0}),ltt=kp(stt),ctt=pc({},X6,{relatedTarget:0}),Tce=kp(ctt),utt=pc({},j4,{animationName:0,elapsedTime:0,pseudoElement:0}),dtt=kp(utt),ftt=pc({},j4,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),htt=kp(ftt),ptt=pc({},j4,{data:0}),kwe=kp(ptt),vtt={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mtt={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"},gtt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ytt(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=gtt[e])?!!t[e]:!1}function Ace(){return ytt}var _tt=pc({},X6,{key:function(e){if(e.key){var t=vtt[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=jR(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?mtt[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ace,charCode:function(e){return e.type==="keypress"?jR(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?jR(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xtt=kp(_tt),btt=pc({},WR,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Mwe=kp(btt),Ett=pc({},X6,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ace}),Stt=kp(Ett),wtt=pc({},j4,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ttt=kp(wtt),Att=pc({},WR,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ctt=kp(Att),ktt=[9,13,27,32],Cce=Wm&&"CompositionEvent"in window,Z6=null;Wm&&"documentMode"in document&&(Z6=document.documentMode);var Mtt=Wm&&"TextEvent"in window&&!Z6,Rwe=Wm&&(!Cce||Z6&&8<Z6&&11>=Z6),Nwe=" ",Iwe=!1;function Lwe(e,t){switch(e){case"keyup":return ktt.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Owe(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Y4=!1;function Rtt(e,t){switch(e){case"compositionend":return Owe(t);case"keypress":return t.which!==32?null:(Iwe=!0,Nwe);case"textInput":return e=t.data,e===Nwe&&Iwe?null:e;default:return null}}function Ntt(e,t){if(Y4)return e==="compositionend"||!Cce&&Lwe(e,t)?(e=Twe(),GR=bce=_y=null,Y4=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Rwe&&t.locale!=="ko"?null:t.data;default:return null}}var Itt={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 Dwe(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Itt[e.type]:t==="textarea"}function Pwe(e,t,r,n){rwe(n),t=QR(t,"onChange"),0<t.length&&(r=new Ece("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Q6=null,J6=null;function Ltt(e){eTe(e,0)}function KR(e){var t=Z4(e);if(G4e(t))return e}function Ott(e,t){if(e==="change")return t}var Fwe=!1;if(Wm){var kce;if(Wm){var Mce="oninput"in document;if(!Mce){var Bwe=document.createElement("div");Bwe.setAttribute("oninput","return;"),Mce=typeof Bwe.oninput=="function"}kce=Mce}else kce=!1;Fwe=kce&&(!document.documentMode||9<document.documentMode)}function zwe(){Q6&&(Q6.detachEvent("onpropertychange",Uwe),J6=Q6=null)}function Uwe(e){if(e.propertyName==="value"&&KR(J6)){var t=[];Pwe(t,J6,e,lce(e)),owe(Ltt,t)}}function Dtt(e,t,r){e==="focusin"?(zwe(),Q6=t,J6=r,Q6.attachEvent("onpropertychange",Uwe)):e==="focusout"&&zwe()}function Ptt(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return KR(J6)}function Ftt(e,t){if(e==="click")return KR(t)}function Btt(e,t){if(e==="input"||e==="change")return KR(t)}function ztt(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var b1=typeof Object.is=="function"?Object.is:ztt;function eA(e,t){if(b1(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var o=r[n];if(!Ule.call(t,o)||!b1(e[o],t[o]))return!1}return!0}function $we(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Hwe(e,t){var r=$we(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=$we(r)}}function Vwe(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Vwe(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Gwe(){for(var e=window,t=NR();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=NR(e.document)}return t}function Rce(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Utt(e){var t=Gwe(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&Vwe(r.ownerDocument.documentElement,r)){if(n!==null&&Rce(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,m=Math.min(n.start,o);n=n.end===void 0?m:Math.min(n.end,o),!e.extend&&m>n&&(o=n,n=m,m=o),o=Hwe(r,m);var u=Hwe(r,n);o&&u&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),m>n?(e.addRange(t),e.extend(u.node,u.offset)):(t.setEnd(u.node,u.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var $tt=Wm&&"documentMode"in document&&11>=document.documentMode,W4=null,Nce=null,tA=null,Ice=!1;function jwe(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Ice||W4==null||W4!==NR(n)||(n=W4,"selectionStart"in n&&Rce(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),tA&&eA(tA,n)||(tA=n,n=QR(Nce,"onSelect"),0<n.length&&(t=new Ece("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=W4)))}function XR(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var K4={animationend:XR("Animation","AnimationEnd"),animationiteration:XR("Animation","AnimationIteration"),animationstart:XR("Animation","AnimationStart"),transitionend:XR("Transition","TransitionEnd")},Lce={},Ywe={};Wm&&(Ywe=document.createElement("div").style,"AnimationEvent"in window||(delete K4.animationend.animation,delete K4.animationiteration.animation,delete K4.animationstart.animation),"TransitionEvent"in window||delete K4.transitionend.transition);function qR(e){if(Lce[e])return Lce[e];if(!K4[e])return e;var t=K4[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Ywe)return Lce[e]=t[r];return e}var Wwe=qR("animationend"),Kwe=qR("animationiteration"),Xwe=qR("animationstart"),qwe=qR("transitionend"),Zwe=new Map,Qwe="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 xy(e,t){Zwe.set(e,t),L_(t,[e])}for(var Oce=0;Oce<Qwe.length;Oce++){var Dce=Qwe[Oce],Htt=Dce.toLowerCase(),Vtt=Dce[0].toUpperCase()+Dce.slice(1);xy(Htt,"on"+Vtt)}xy(Wwe,"onAnimationEnd"),xy(Kwe,"onAnimationIteration"),xy(Xwe,"onAnimationStart"),xy("dblclick","onDoubleClick"),xy("focusin","onFocus"),xy("focusout","onBlur"),xy(qwe,"onTransitionEnd"),B4("onMouseEnter",["mouseout","mouseover"]),B4("onMouseLeave",["mouseout","mouseover"]),B4("onPointerEnter",["pointerout","pointerover"]),B4("onPointerLeave",["pointerout","pointerover"]),L_("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),L_("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),L_("onBeforeInput",["compositionend","keypress","textInput","paste"]),L_("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),L_("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),L_("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var rA="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(" "),Gtt=new Set("cancel close invalid load scroll toggle".split(" ").concat(rA));function Jwe(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,Het(n,t,void 0,e),e.currentTarget=null}function eTe(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var m=void 0;if(t)for(var u=n.length-1;0<=u;u--){var h=n[u],a=h.instance,l=h.currentTarget;if(h=h.listener,a!==m&&o.isPropagationStopped())break e;Jwe(o,h,l),m=a}else for(u=0;u<n.length;u++){if(h=n[u],a=h.instance,l=h.currentTarget,h=h.listener,a!==m&&o.isPropagationStopped())break e;Jwe(o,h,l),m=a}}}if(OR)throw e=fce,OR=!1,fce=null,e}function Pl(e,t){var r=t[Vce];r===void 0&&(r=t[Vce]=new Set);var n=e+"__bubble";r.has(n)||(tTe(t,e,2,!1),r.add(n))}function Pce(e,t,r){var n=0;t&&(n|=4),tTe(r,e,n,t)}var ZR="_reactListening"+Math.random().toString(36).slice(2);function nA(e){if(!e[ZR]){e[ZR]=!0,P4e.forEach(function(r){r!=="selectionchange"&&(Gtt.has(r)||Pce(r,!1,e),Pce(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ZR]||(t[ZR]=!0,Pce("selectionchange",!1,t))}}function tTe(e,t,r,n){switch(wwe(t)){case 1:var o=att;break;case 4:o=itt;break;default:o=_ce}r=o.bind(null,t,r,e),o=void 0,!dce||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),n?o!==void 0?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):o!==void 0?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function Fce(e,t,r,n,o){var m=n;if(!(t&1)&&!(t&2)&&n!==null)e:for(;;){if(n===null)return;var u=n.tag;if(u===3||u===4){var h=n.stateNode.containerInfo;if(h===o||h.nodeType===8&&h.parentNode===o)break;if(u===4)for(u=n.return;u!==null;){var a=u.tag;if((a===3||a===4)&&(a=u.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;u=u.return}for(;h!==null;){if(u=D_(h),u===null)return;if(a=u.tag,a===5||a===6){n=m=u;continue e}h=h.parentNode}}n=n.return}owe(function(){var l=m,v=lce(r),i=[];e:{var S=Zwe.get(e);if(S!==void 0){var g=Ece,p=e;switch(e){case"keypress":if(jR(r)===0)break e;case"keydown":case"keyup":g=xtt;break;case"focusin":p="focus",g=Tce;break;case"focusout":p="blur",g=Tce;break;case"beforeblur":case"afterblur":g=Tce;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=Cwe;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=ltt;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Stt;break;case Wwe:case Kwe:case Xwe:g=dtt;break;case qwe:g=Ttt;break;case"scroll":g=ott;break;case"wheel":g=Ctt;break;case"copy":case"cut":case"paste":g=htt;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=Mwe}var _=(t&4)!==0,c=!_&&e==="scroll",s=_?S!==null?S+"Capture":null:S;_=[];for(var d=l,f;d!==null;){f=d;var b=f.stateNode;if(f.tag===5&&b!==null&&(f=b,s!==null&&(b=z6(d,s),b!=null&&_.push(aA(d,b,f)))),c)break;d=d.return}0<_.length&&(S=new g(S,p,null,r,v),i.push({event:S,listeners:_}))}}if(!(t&7)){e:{if(S=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",S&&r!==sce&&(p=r.relatedTarget||r.fromElement)&&(D_(p)||p[Xm]))break e;if((g||S)&&(S=v.window===v?v:(S=v.ownerDocument)?S.defaultView||S.parentWindow:window,g?(p=r.relatedTarget||r.toElement,g=l,p=p?D_(p):null,p!==null&&(c=O_(p),p!==c||p.tag!==5&&p.tag!==6)&&(p=null)):(g=null,p=l),g!==p)){if(_=Cwe,b="onMouseLeave",s="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(_=Mwe,b="onPointerLeave",s="onPointerEnter",d="pointer"),c=g==null?S:Z4(g),f=p==null?S:Z4(p),S=new _(b,d+"leave",g,r,v),S.target=c,S.relatedTarget=f,b=null,D_(v)===l&&(_=new _(s,d+"enter",p,r,v),_.target=f,_.relatedTarget=c,b=_),c=b,g&&p)t:{for(_=g,s=p,d=0,f=_;f;f=X4(f))d++;for(f=0,b=s;b;b=X4(b))f++;for(;0<d-f;)_=X4(_),d--;for(;0<f-d;)s=X4(s),f--;for(;d--;){if(_===s||s!==null&&_===s.alternate)break t;_=X4(_),s=X4(s)}_=null}else _=null;g!==null&&rTe(i,S,g,_,!1),p!==null&&c!==null&&rTe(i,c,p,_,!0)}}e:{if(S=l?Z4(l):window,g=S.nodeName&&S.nodeName.toLowerCase(),g==="select"||g==="input"&&S.type==="file")var x=Ott;else if(Dwe(S))if(Fwe)x=Btt;else{x=Ptt;var y=Dtt}else(g=S.nodeName)&&g.toLowerCase()==="input"&&(S.type==="checkbox"||S.type==="radio")&&(x=Ftt);if(x&&(x=x(e,l))){Pwe(i,x,r,v);break e}y&&y(e,S,l),e==="focusout"&&(y=S._wrapperState)&&y.controlled&&S.type==="number"&&rce(S,"number",S.value)}switch(y=l?Z4(l):window,e){case"focusin":(Dwe(y)||y.contentEditable==="true")&&(W4=y,Nce=l,tA=null);break;case"focusout":tA=Nce=W4=null;break;case"mousedown":Ice=!0;break;case"contextmenu":case"mouseup":case"dragend":Ice=!1,jwe(i,r,v);break;case"selectionchange":if($tt)break;case"keydown":case"keyup":jwe(i,r,v)}var C;if(Cce)e:{switch(e){case"compositionstart":var w="onCompositionStart";break e;case"compositionend":w="onCompositionEnd";break e;case"compositionupdate":w="onCompositionUpdate";break e}w=void 0}else Y4?Lwe(e,r)&&(w="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(w="onCompositionStart");w&&(Rwe&&r.locale!=="ko"&&(Y4||w!=="onCompositionStart"?w==="onCompositionEnd"&&Y4&&(C=Twe()):(_y=v,bce="value"in _y?_y.value:_y.textContent,Y4=!0)),y=QR(l,w),0<y.length&&(w=new kwe(w,e,null,r,v),i.push({event:w,listeners:y}),C?w.data=C:(C=Owe(r),C!==null&&(w.data=C)))),(C=Mtt?Rtt(e,r):Ntt(e,r))&&(l=QR(l,"onBeforeInput"),0<l.length&&(v=new kwe("onBeforeInput","beforeinput",null,r,v),i.push({event:v,listeners:l}),v.data=C))}eTe(i,t)})}function aA(e,t,r){return{instance:e,listener:t,currentTarget:r}}function QR(e,t){for(var r=t+"Capture",n=[];e!==null;){var o=e,m=o.stateNode;o.tag===5&&m!==null&&(o=m,m=z6(e,r),m!=null&&n.unshift(aA(e,m,o)),m=z6(e,t),m!=null&&n.push(aA(e,m,o))),e=e.return}return n}function X4(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function rTe(e,t,r,n,o){for(var m=t._reactName,u=[];r!==null&&r!==n;){var h=r,a=h.alternate,l=h.stateNode;if(a!==null&&a===n)break;h.tag===5&&l!==null&&(h=l,o?(a=z6(r,m),a!=null&&u.unshift(aA(r,a,h))):o||(a=z6(r,m),a!=null&&u.push(aA(r,a,h)))),r=r.return}u.length!==0&&e.push({event:t,listeners:u})}var jtt=/\r\n?/g,Ytt=/\u0000|\uFFFD/g;function nTe(e){return(typeof e=="string"?e:""+e).replace(jtt,`
`).replace(Ytt,"")}function JR(e,t,r){if(t=nTe(t),nTe(e)!==t&&r)throw Error(mi(425))}function eN(){}var Bce=null,zce=null;function Uce(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var $ce=typeof setTimeout=="function"?setTimeout:void 0,Wtt=typeof clearTimeout=="function"?clearTimeout:void 0,aTe=typeof Promise=="function"?Promise:void 0,Ktt=typeof queueMicrotask=="function"?queueMicrotask:typeof aTe<"u"?function(e){return aTe.resolve(null).then(e).catch(Xtt)}:$ce;function Xtt(e){setTimeout(function(){throw e})}function Hce(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(n===0){e.removeChild(o),K6(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=o}while(r);K6(t)}function by(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function iTe(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var q4=Math.random().toString(36).slice(2),Ev="__reactFiber$"+q4,iA="__reactProps$"+q4,Xm="__reactContainer$"+q4,Vce="__reactEvents$"+q4,qtt="__reactListeners$"+q4,Ztt="__reactHandles$"+q4;function D_(e){var t=e[Ev];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Xm]||r[Ev]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=iTe(e);e!==null;){if(r=e[Ev])return r;e=iTe(e)}return t}e=r,r=e.parentNode}return null}function oA(e){return e=e[Ev]||e[Xm],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Z4(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(mi(33))}function tN(e){return e[iA]||null}var Gce=[],Q4=-1;function Ey(e){return{current:e}}function Fl(e){0>Q4||(e.current=Gce[Q4],Gce[Q4]=null,Q4--)}function El(e,t){Q4++,Gce[Q4]=e.current,e.current=t}var Sy={},ef=Ey(Sy),Eh=Ey(!1),P_=Sy;function J4(e,t){var r=e.type.contextTypes;if(!r)return Sy;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},m;for(m in r)o[m]=t[m];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Sh(e){return e=e.childContextTypes,e!=null}function rN(){Fl(Eh),Fl(ef)}function oTe(e,t,r){if(ef.current!==Sy)throw Error(mi(168));El(ef,t),El(Eh,r)}function sTe(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(mi(108,Det(e)||"Unknown",o));return pc({},r,n)}function nN(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Sy,P_=ef.current,El(ef,e),El(Eh,Eh.current),!0}function lTe(e,t,r){var n=e.stateNode;if(!n)throw Error(mi(169));r?(e=sTe(e,t,P_),n.__reactInternalMemoizedMergedChildContext=e,Fl(Eh),Fl(ef),El(ef,e)):Fl(Eh),El(Eh,r)}var qm=null,aN=!1,jce=!1;function cTe(e){qm===null?qm=[e]:qm.push(e)}function Qtt(e){aN=!0,cTe(e)}function wy(){if(!jce&&qm!==null){jce=!0;var e=0,t=ol;try{var r=qm;for(ol=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}qm=null,aN=!1}catch(o){throw qm!==null&&(qm=qm.slice(e+1)),dwe(hce,wy),o}finally{ol=t,jce=!1}}return null}var ew=[],tw=0,iN=null,oN=0,T0=[],A0=0,F_=null,Zm=1,Qm="";function B_(e,t){ew[tw++]=oN,ew[tw++]=iN,iN=e,oN=t}function uTe(e,t,r){T0[A0++]=Zm,T0[A0++]=Qm,T0[A0++]=F_,F_=e;var n=Zm;e=Qm;var o=32-x1(n)-1;n&=~(1<<o),r+=1;var m=32-x1(t)+o;if(30<m){var u=o-o%5;m=(n&(1<<u)-1).toString(32),n>>=u,o-=u,Zm=1<<32-x1(t)+o|r<<o|n,Qm=m+e}else Zm=1<<m|r<<o|n,Qm=e}function Yce(e){e.return!==null&&(B_(e,1),uTe(e,1,0))}function Wce(e){for(;e===iN;)iN=ew[--tw],ew[tw]=null,oN=ew[--tw],ew[tw]=null;for(;e===F_;)F_=T0[--A0],T0[A0]=null,Qm=T0[--A0],T0[A0]=null,Zm=T0[--A0],T0[A0]=null}var Mp=null,Rp=null,tc=!1,E1=null;function dTe(e,t){var r=R0(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function fTe(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Mp=e,Rp=by(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Mp=e,Rp=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=F_!==null?{id:Zm,overflow:Qm}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=R0(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Mp=e,Rp=null,!0):!1;default:return!1}}function Kce(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Xce(e){if(tc){var t=Rp;if(t){var r=t;if(!fTe(e,t)){if(Kce(e))throw Error(mi(418));t=by(r.nextSibling);var n=Mp;t&&fTe(e,t)?dTe(n,r):(e.flags=e.flags&-4097|2,tc=!1,Mp=e)}}else{if(Kce(e))throw Error(mi(418));e.flags=e.flags&-4097|2,tc=!1,Mp=e}}}function hTe(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Mp=e}function sN(e){if(e!==Mp)return!1;if(!tc)return hTe(e),tc=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Uce(e.type,e.memoizedProps)),t&&(t=Rp)){if(Kce(e))throw pTe(),Error(mi(418));for(;t;)dTe(e,t),t=by(t.nextSibling)}if(hTe(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(mi(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Rp=by(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Rp=null}}else Rp=Mp?by(e.stateNode.nextSibling):null;return!0}function pTe(){for(var e=Rp;e;)e=by(e.nextSibling)}function rw(){Rp=Mp=null,tc=!1}function qce(e){E1===null?E1=[e]:E1.push(e)}var Jtt=Km.ReactCurrentBatchConfig;function sA(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(mi(309));var n=r.stateNode}if(!n)throw Error(mi(147,e));var o=n,m=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===m?t.ref:(t=function(u){var h=o.refs;u===null?delete h[m]:h[m]=u},t._stringRef=m,t)}if(typeof e!="string")throw Error(mi(284));if(!r._owner)throw Error(mi(290,e))}return e}function lN(e,t){throw e=Object.prototype.toString.call(t),Error(mi(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function vTe(e){var t=e._init;return t(e._payload)}function mTe(e){function t(s,d){if(e){var f=s.deletions;f===null?(s.deletions=[d],s.flags|=16):f.push(d)}}function r(s,d){if(!e)return null;for(;d!==null;)t(s,d),d=d.sibling;return null}function n(s,d){for(s=new Map;d!==null;)d.key!==null?s.set(d.key,d):s.set(d.index,d),d=d.sibling;return s}function o(s,d){return s=Iy(s,d),s.index=0,s.sibling=null,s}function m(s,d,f){return s.index=f,e?(f=s.alternate,f!==null?(f=f.index,f<d?(s.flags|=2,d):f):(s.flags|=2,d)):(s.flags|=1048576,d)}function u(s){return e&&s.alternate===null&&(s.flags|=2),s}function h(s,d,f,b){return d===null||d.tag!==6?(d=$ue(f,s.mode,b),d.return=s,d):(d=o(d,f),d.return=s,d)}function a(s,d,f,b){var x=f.type;return x===U4?v(s,d,f.props.children,b,f.key):d!==null&&(d.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===hy&&vTe(x)===d.type)?(b=o(d,f.props),b.ref=sA(s,d,f),b.return=s,b):(b=IN(f.type,f.key,f.props,null,s.mode,b),b.ref=sA(s,d,f),b.return=s,b)}function l(s,d,f,b){return d===null||d.tag!==4||d.stateNode.containerInfo!==f.containerInfo||d.stateNode.implementation!==f.implementation?(d=Hue(f,s.mode,b),d.return=s,d):(d=o(d,f.children||[]),d.return=s,d)}function v(s,d,f,b,x){return d===null||d.tag!==7?(d=Y_(f,s.mode,b,x),d.return=s,d):(d=o(d,f),d.return=s,d)}function i(s,d,f){if(typeof d=="string"&&d!==""||typeof d=="number")return d=$ue(""+d,s.mode,f),d.return=s,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case MR:return f=IN(d.type,d.key,d.props,null,s.mode,f),f.ref=sA(s,null,d),f.return=s,f;case z4:return d=Hue(d,s.mode,f),d.return=s,d;case hy:var b=d._init;return i(s,b(d._payload),f)}if(P6(d)||O6(d))return d=Y_(d,s.mode,f,null),d.return=s,d;lN(s,d)}return null}function S(s,d,f,b){var x=d!==null?d.key:null;if(typeof f=="string"&&f!==""||typeof f=="number")return x!==null?null:h(s,d,""+f,b);if(typeof f=="object"&&f!==null){switch(f.$$typeof){case MR:return f.key===x?a(s,d,f,b):null;case z4:return f.key===x?l(s,d,f,b):null;case hy:return x=f._init,S(s,d,x(f._payload),b)}if(P6(f)||O6(f))return x!==null?null:v(s,d,f,b,null);lN(s,f)}return null}function g(s,d,f,b,x){if(typeof b=="string"&&b!==""||typeof b=="number")return s=s.get(f)||null,h(d,s,""+b,x);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case MR:return s=s.get(b.key===null?f:b.key)||null,a(d,s,b,x);case z4:return s=s.get(b.key===null?f:b.key)||null,l(d,s,b,x);case hy:var y=b._init;return g(s,d,f,y(b._payload),x)}if(P6(b)||O6(b))return s=s.get(f)||null,v(d,s,b,x,null);lN(d,b)}return null}function p(s,d,f,b){for(var x=null,y=null,C=d,w=d=0,R=null;C!==null&&w<f.length;w++){C.index>w?(R=C,C=null):R=C.sibling;var A=S(s,C,f[w],b);if(A===null){C===null&&(C=R);break}e&&C&&A.alternate===null&&t(s,C),d=m(A,d,w),y===null?x=A:y.sibling=A,y=A,C=R}if(w===f.length)return r(s,C),tc&&B_(s,w),x;if(C===null){for(;w<f.length;w++)C=i(s,f[w],b),C!==null&&(d=m(C,d,w),y===null?x=C:y.sibling=C,y=C);return tc&&B_(s,w),x}for(C=n(s,C);w<f.length;w++)R=g(C,s,w,f[w],b),R!==null&&(e&&R.alternate!==null&&C.delete(R.key===null?w:R.key),d=m(R,d,w),y===null?x=R:y.sibling=R,y=R);return e&&C.forEach(function(E){return t(s,E)}),tc&&B_(s,w),x}function _(s,d,f,b){var x=O6(f);if(typeof x!="function")throw Error(mi(150));if(f=x.call(f),f==null)throw Error(mi(151));for(var y=x=null,C=d,w=d=0,R=null,A=f.next();C!==null&&!A.done;w++,A=f.next()){C.index>w?(R=C,C=null):R=C.sibling;var E=S(s,C,A.value,b);if(E===null){C===null&&(C=R);break}e&&C&&E.alternate===null&&t(s,C),d=m(E,d,w),y===null?x=E:y.sibling=E,y=E,C=R}if(A.done)return r(s,C),tc&&B_(s,w),x;if(C===null){for(;!A.done;w++,A=f.next())A=i(s,A.value,b),A!==null&&(d=m(A,d,w),y===null?x=A:y.sibling=A,y=A);return tc&&B_(s,w),x}for(C=n(s,C);!A.done;w++,A=f.next())A=g(C,s,w,A.value,b),A!==null&&(e&&A.alternate!==null&&C.delete(A.key===null?w:A.key),d=m(A,d,w),y===null?x=A:y.sibling=A,y=A);return e&&C.forEach(function(k){return t(s,k)}),tc&&B_(s,w),x}function c(s,d,f,b){if(typeof f=="object"&&f!==null&&f.type===U4&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case MR:e:{for(var x=f.key,y=d;y!==null;){if(y.key===x){if(x=f.type,x===U4){if(y.tag===7){r(s,y.sibling),d=o(y,f.props.children),d.return=s,s=d;break e}}else if(y.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===hy&&vTe(x)===y.type){r(s,y.sibling),d=o(y,f.props),d.ref=sA(s,y,f),d.return=s,s=d;break e}r(s,y);break}else t(s,y);y=y.sibling}f.type===U4?(d=Y_(f.props.children,s.mode,b,f.key),d.return=s,s=d):(b=IN(f.type,f.key,f.props,null,s.mode,b),b.ref=sA(s,d,f),b.return=s,s=b)}return u(s);case z4:e:{for(y=f.key;d!==null;){if(d.key===y)if(d.tag===4&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){r(s,d.sibling),d=o(d,f.children||[]),d.return=s,s=d;break e}else{r(s,d);break}else t(s,d);d=d.sibling}d=Hue(f,s.mode,b),d.return=s,s=d}return u(s);case hy:return y=f._init,c(s,d,y(f._payload),b)}if(P6(f))return p(s,d,f,b);if(O6(f))return _(s,d,f,b);lN(s,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,d!==null&&d.tag===6?(r(s,d.sibling),d=o(d,f),d.return=s,s=d):(r(s,d),d=$ue(f,s.mode,b),d.return=s,s=d),u(s)):r(s,d)}return c}var nw=mTe(!0),gTe=mTe(!1),cN=Ey(null),uN=null,aw=null,Zce=null;function Qce(){Zce=aw=uN=null}function Jce(e){var t=cN.current;Fl(cN),e._currentValue=t}function eue(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function iw(e,t){uN=e,Zce=aw=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(wh=!0),e.firstContext=null)}function C0(e){var t=e._currentValue;if(Zce!==e)if(e={context:e,memoizedValue:t,next:null},aw===null){if(uN===null)throw Error(mi(308));aw=e,uN.dependencies={lanes:0,firstContext:e}}else aw=aw.next=e;return t}var z_=null;function tue(e){z_===null?z_=[e]:z_.push(e)}function yTe(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,tue(t)):(r.next=o.next,o.next=r),t.interleaved=r,Jm(e,n)}function Jm(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var Ty=!1;function rue(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function _Te(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function eg(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ay(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,Fs&2){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,Jm(e,r)}return o=n.interleaved,o===null?(t.next=t,tue(n)):(t.next=o.next,o.next=t),n.interleaved=t,Jm(e,r)}function dN(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,mce(e,r)}}function xTe(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,m=null;if(r=r.firstBaseUpdate,r!==null){do{var u={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};m===null?o=m=u:m=m.next=u,r=r.next}while(r!==null);m===null?o=m=t:m=m.next=t}else o=m=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:m,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function fN(e,t,r,n){var o=e.updateQueue;Ty=!1;var m=o.firstBaseUpdate,u=o.lastBaseUpdate,h=o.shared.pending;if(h!==null){o.shared.pending=null;var a=h,l=a.next;a.next=null,u===null?m=l:u.next=l,u=a;var v=e.alternate;v!==null&&(v=v.updateQueue,h=v.lastBaseUpdate,h!==u&&(h===null?v.firstBaseUpdate=l:h.next=l,v.lastBaseUpdate=a))}if(m!==null){var i=o.baseState;u=0,v=l=a=null,h=m;do{var S=h.lane,g=h.eventTime;if((n&S)===S){v!==null&&(v=v.next={eventTime:g,lane:0,tag:h.tag,payload:h.payload,callback:h.callback,next:null});e:{var p=e,_=h;switch(S=t,g=r,_.tag){case 1:if(p=_.payload,typeof p=="function"){i=p.call(g,i,S);break e}i=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=_.payload,S=typeof p=="function"?p.call(g,i,S):p,S==null)break e;i=pc({},i,S);break e;case 2:Ty=!0}}h.callback!==null&&h.lane!==0&&(e.flags|=64,S=o.effects,S===null?o.effects=[h]:S.push(h))}else g={eventTime:g,lane:S,tag:h.tag,payload:h.payload,callback:h.callback,next:null},v===null?(l=v=g,a=i):v=v.next=g,u|=S;if(h=h.next,h===null){if(h=o.shared.pending,h===null)break;S=h,h=S.next,S.next=null,o.lastBaseUpdate=S,o.shared.pending=null}}while(!0);if(v===null&&(a=i),o.baseState=a,o.firstBaseUpdate=l,o.lastBaseUpdate=v,t=o.shared.interleaved,t!==null){o=t;do u|=o.lane,o=o.next;while(o!==t)}else m===null&&(o.shared.lanes=0);H_|=u,e.lanes=u,e.memoizedState=i}}function bTe(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(o!==null){if(n.callback=null,n=r,typeof o!="function")throw Error(mi(191,o));o.call(n)}}}var lA={},Sv=Ey(lA),cA=Ey(lA),uA=Ey(lA);function U_(e){if(e===lA)throw Error(mi(174));return e}function nue(e,t){switch(El(uA,t),El(cA,e),El(Sv,lA),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ace(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ace(t,e)}Fl(Sv),El(Sv,t)}function ow(){Fl(Sv),Fl(cA),Fl(uA)}function ETe(e){U_(uA.current);var t=U_(Sv.current),r=ace(t,e.type);t!==r&&(El(cA,e),El(Sv,r))}function aue(e){cA.current===e&&(Fl(Sv),Fl(cA))}var vc=Ey(0);function hN(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var iue=[];function oue(){for(var e=0;e<iue.length;e++)iue[e]._workInProgressVersionPrimary=null;iue.length=0}var pN=Km.ReactCurrentDispatcher,sue=Km.ReactCurrentBatchConfig,$_=0,mc=null,ku=null,qu=null,vN=!1,dA=!1,fA=0,ert=0;function tf(){throw Error(mi(321))}function lue(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!b1(e[r],t[r]))return!1;return!0}function cue(e,t,r,n,o,m){if($_=m,mc=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pN.current=e===null||e.memoizedState===null?art:irt,e=r(n,o),dA){m=0;do{if(dA=!1,fA=0,25<=m)throw Error(mi(301));m+=1,qu=ku=null,t.updateQueue=null,pN.current=ort,e=r(n,o)}while(dA)}if(pN.current=yN,t=ku!==null&&ku.next!==null,$_=0,qu=ku=mc=null,vN=!1,t)throw Error(mi(300));return e}function uue(){var e=fA!==0;return fA=0,e}function wv(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return qu===null?mc.memoizedState=qu=e:qu=qu.next=e,qu}function k0(){if(ku===null){var e=mc.alternate;e=e!==null?e.memoizedState:null}else e=ku.next;var t=qu===null?mc.memoizedState:qu.next;if(t!==null)qu=t,ku=e;else{if(e===null)throw Error(mi(310));ku=e,e={memoizedState:ku.memoizedState,baseState:ku.baseState,baseQueue:ku.baseQueue,queue:ku.queue,next:null},qu===null?mc.memoizedState=qu=e:qu=qu.next=e}return qu}function hA(e,t){return typeof t=="function"?t(e):t}function due(e){var t=k0(),r=t.queue;if(r===null)throw Error(mi(311));r.lastRenderedReducer=e;var n=ku,o=n.baseQueue,m=r.pending;if(m!==null){if(o!==null){var u=o.next;o.next=m.next,m.next=u}n.baseQueue=o=m,r.pending=null}if(o!==null){m=o.next,n=n.baseState;var h=u=null,a=null,l=m;do{var v=l.lane;if(($_&v)===v)a!==null&&(a=a.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),n=l.hasEagerState?l.eagerState:e(n,l.action);else{var i={lane:v,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};a===null?(h=a=i,u=n):a=a.next=i,mc.lanes|=v,H_|=v}l=l.next}while(l!==null&&l!==m);a===null?u=n:a.next=h,b1(n,t.memoizedState)||(wh=!0),t.memoizedState=n,t.baseState=u,t.baseQueue=a,r.lastRenderedState=n}if(e=r.interleaved,e!==null){o=e;do m=o.lane,mc.lanes|=m,H_|=m,o=o.next;while(o!==e)}else o===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function fue(e){var t=k0(),r=t.queue;if(r===null)throw Error(mi(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,m=t.memoizedState;if(o!==null){r.pending=null;var u=o=o.next;do m=e(m,u.action),u=u.next;while(u!==o);b1(m,t.memoizedState)||(wh=!0),t.memoizedState=m,t.baseQueue===null&&(t.baseState=m),r.lastRenderedState=m}return[m,n]}function STe(){}function wTe(e,t){var r=mc,n=k0(),o=t(),m=!b1(n.memoizedState,o);if(m&&(n.memoizedState=o,wh=!0),n=n.queue,hue(CTe.bind(null,r,n,e),[e]),n.getSnapshot!==t||m||qu!==null&&qu.memoizedState.tag&1){if(r.flags|=2048,pA(9,ATe.bind(null,r,n,o,t),void 0,null),Zu===null)throw Error(mi(349));$_&30||TTe(r,t,o)}return o}function TTe(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=mc.updateQueue,t===null?(t={lastEffect:null,stores:null},mc.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function ATe(e,t,r,n){t.value=r,t.getSnapshot=n,kTe(t)&&MTe(e)}function CTe(e,t,r){return r(function(){kTe(t)&&MTe(e)})}function kTe(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!b1(e,r)}catch{return!0}}function MTe(e){var t=Jm(e,1);t!==null&&A1(t,e,1,-1)}function RTe(e){var t=wv();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:hA,lastRenderedState:e},t.queue=e,e=e.dispatch=nrt.bind(null,mc,e),[t.memoizedState,e]}function pA(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=mc.updateQueue,t===null?(t={lastEffect:null,stores:null},mc.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function NTe(){return k0().memoizedState}function mN(e,t,r,n){var o=wv();mc.flags|=e,o.memoizedState=pA(1|t,r,void 0,n===void 0?null:n)}function gN(e,t,r,n){var o=k0();n=n===void 0?null:n;var m=void 0;if(ku!==null){var u=ku.memoizedState;if(m=u.destroy,n!==null&&lue(n,u.deps)){o.memoizedState=pA(t,r,m,n);return}}mc.flags|=e,o.memoizedState=pA(1|t,r,m,n)}function ITe(e,t){return mN(8390656,8,e,t)}function hue(e,t){return gN(2048,8,e,t)}function LTe(e,t){return gN(4,2,e,t)}function OTe(e,t){return gN(4,4,e,t)}function DTe(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function PTe(e,t,r){return r=r!=null?r.concat([e]):null,gN(4,4,DTe.bind(null,t,e),r)}function pue(){}function FTe(e,t){var r=k0();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&lue(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function BTe(e,t){var r=k0();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&lue(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function zTe(e,t,r){return $_&21?(b1(r,t)||(r=vwe(),mc.lanes|=r,H_|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,wh=!0),e.memoizedState=r)}function trt(e,t){var r=ol;ol=r!==0&&4>r?r:4,e(!0);var n=sue.transition;sue.transition={};try{e(!1),t()}finally{ol=r,sue.transition=n}}function UTe(){return k0().memoizedState}function rrt(e,t,r){var n=Ry(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},$Te(e))HTe(t,r);else if(r=yTe(e,t,r,n),r!==null){var o=Bf();A1(r,e,n,o),VTe(r,t,n)}}function nrt(e,t,r){var n=Ry(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if($Te(e))HTe(t,o);else{var m=e.alternate;if(e.lanes===0&&(m===null||m.lanes===0)&&(m=t.lastRenderedReducer,m!==null))try{var u=t.lastRenderedState,h=m(u,r);if(o.hasEagerState=!0,o.eagerState=h,b1(h,u)){var a=t.interleaved;a===null?(o.next=o,tue(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}r=yTe(e,t,o,n),r!==null&&(o=Bf(),A1(r,e,n,o),VTe(r,t,n))}}function $Te(e){var t=e.alternate;return e===mc||t!==null&&t===mc}function HTe(e,t){dA=vN=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function VTe(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,mce(e,r)}}var yN={readContext:C0,useCallback:tf,useContext:tf,useEffect:tf,useImperativeHandle:tf,useInsertionEffect:tf,useLayoutEffect:tf,useMemo:tf,useReducer:tf,useRef:tf,useState:tf,useDebugValue:tf,useDeferredValue:tf,useTransition:tf,useMutableSource:tf,useSyncExternalStore:tf,useId:tf,unstable_isNewReconciler:!1},art={readContext:C0,useCallback:function(e,t){return wv().memoizedState=[e,t===void 0?null:t],e},useContext:C0,useEffect:ITe,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,mN(4194308,4,DTe.bind(null,t,e),r)},useLayoutEffect:function(e,t){return mN(4194308,4,e,t)},useInsertionEffect:function(e,t){return mN(4,2,e,t)},useMemo:function(e,t){var r=wv();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=wv();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=rrt.bind(null,mc,e),[n.memoizedState,e]},useRef:function(e){var t=wv();return e={current:e},t.memoizedState=e},useState:RTe,useDebugValue:pue,useDeferredValue:function(e){return wv().memoizedState=e},useTransition:function(){var e=RTe(!1),t=e[0];return e=trt.bind(null,e[1]),wv().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=mc,o=wv();if(tc){if(r===void 0)throw Error(mi(407));r=r()}else{if(r=t(),Zu===null)throw Error(mi(349));$_&30||TTe(n,t,r)}o.memoizedState=r;var m={value:r,getSnapshot:t};return o.queue=m,ITe(CTe.bind(null,n,m,e),[e]),n.flags|=2048,pA(9,ATe.bind(null,n,m,r,t),void 0,null),r},useId:function(){var e=wv(),t=Zu.identifierPrefix;if(tc){var r=Qm,n=Zm;r=(n&~(1<<32-x1(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=fA++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=ert++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},irt={readContext:C0,useCallback:FTe,useContext:C0,useEffect:hue,useImperativeHandle:PTe,useInsertionEffect:LTe,useLayoutEffect:OTe,useMemo:BTe,useReducer:due,useRef:NTe,useState:function(){return due(hA)},useDebugValue:pue,useDeferredValue:function(e){var t=k0();return zTe(t,ku.memoizedState,e)},useTransition:function(){var e=due(hA)[0],t=k0().memoizedState;return[e,t]},useMutableSource:STe,useSyncExternalStore:wTe,useId:UTe,unstable_isNewReconciler:!1},ort={readContext:C0,useCallback:FTe,useContext:C0,useEffect:hue,useImperativeHandle:PTe,useInsertionEffect:LTe,useLayoutEffect:OTe,useMemo:BTe,useReducer:fue,useRef:NTe,useState:function(){return fue(hA)},useDebugValue:pue,useDeferredValue:function(e){var t=k0();return ku===null?t.memoizedState=e:zTe(t,ku.memoizedState,e)},useTransition:function(){var e=fue(hA)[0],t=k0().memoizedState;return[e,t]},useMutableSource:STe,useSyncExternalStore:wTe,useId:UTe,unstable_isNewReconciler:!1};function S1(e,t){if(e&&e.defaultProps){t=pc({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function vue(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:pc({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var _N={isMounted:function(e){return(e=e._reactInternals)?O_(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Bf(),o=Ry(e),m=eg(n,o);m.payload=t,r!=null&&(m.callback=r),t=Ay(e,m,o),t!==null&&(A1(t,e,o,n),dN(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Bf(),o=Ry(e),m=eg(n,o);m.tag=1,m.payload=t,r!=null&&(m.callback=r),t=Ay(e,m,o),t!==null&&(A1(t,e,o,n),dN(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Bf(),n=Ry(e),o=eg(r,n);o.tag=2,t!=null&&(o.callback=t),t=Ay(e,o,n),t!==null&&(A1(t,e,n,r),dN(t,e,n))}};function GTe(e,t,r,n,o,m,u){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,m,u):t.prototype&&t.prototype.isPureReactComponent?!eA(r,n)||!eA(o,m):!0}function jTe(e,t,r){var n=!1,o=Sy,m=t.contextType;return typeof m=="object"&&m!==null?m=C0(m):(o=Sh(t)?P_:ef.current,n=t.contextTypes,m=(n=n!=null)?J4(e,o):Sy),t=new t(r,m),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=_N,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=m),t}function YTe(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&_N.enqueueReplaceState(t,t.state,null)}function mue(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},rue(e);var m=t.contextType;typeof m=="object"&&m!==null?o.context=C0(m):(m=Sh(t)?P_:ef.current,o.context=J4(e,m)),o.state=e.memoizedState,m=t.getDerivedStateFromProps,typeof m=="function"&&(vue(e,t,m,r),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&_N.enqueueReplaceState(o,o.state,null),fN(e,r,o,n),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function sw(e,t){try{var r="",n=t;do r+=Oet(n),n=n.return;while(n);var o=r}catch(m){o=`
Error generating stack: `+m.message+`
`+m.stack}return{value:e,source:t,stack:o,digest:null}}function gue(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function yue(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var srt=typeof WeakMap=="function"?WeakMap:Map;function WTe(e,t,r){r=eg(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){AN||(AN=!0,Lue=n),yue(e,t)},r}function KTe(e,t,r){r=eg(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){yue(e,t)}}var m=e.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(r.callback=function(){yue(e,t),typeof n!="function"&&(ky===null?ky=new Set([this]):ky.add(this));var u=t.stack;this.componentDidCatch(t.value,{componentStack:u!==null?u:""})}),r}function XTe(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new srt;var o=new Set;n.set(t,o)}else o=n.get(t),o===void 0&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=brt.bind(null,e,t,r),t.then(e,e))}function qTe(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function ZTe(e,t,r,n,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=eg(-1,1),t.tag=2,Ay(r,t,1))),r.lanes|=1),e)}var lrt=Km.ReactCurrentOwner,wh=!1;function Ff(e,t,r,n){t.child=e===null?gTe(t,null,r,n):nw(t,e.child,r,n)}function QTe(e,t,r,n,o){r=r.render;var m=t.ref;return iw(t,o),n=cue(e,t,r,n,m,o),r=uue(),e!==null&&!wh?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,tg(e,t,o)):(tc&&r&&Yce(t),t.flags|=1,Ff(e,t,n,o),t.child)}function JTe(e,t,r,n,o){if(e===null){var m=r.type;return typeof m=="function"&&!Uue(m)&&m.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=m,e5e(e,t,m,n,o)):(e=IN(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(m=e.child,!(e.lanes&o)){var u=m.memoizedProps;if(r=r.compare,r=r!==null?r:eA,r(u,n)&&e.ref===t.ref)return tg(e,t,o)}return t.flags|=1,e=Iy(m,n),e.ref=t.ref,e.return=t,t.child=e}function e5e(e,t,r,n,o){if(e!==null){var m=e.memoizedProps;if(eA(m,n)&&e.ref===t.ref)if(wh=!1,t.pendingProps=n=m,(e.lanes&o)!==0)e.flags&131072&&(wh=!0);else return t.lanes=e.lanes,tg(e,t,o)}return _ue(e,t,r,n,o)}function t5e(e,t,r){var n=t.pendingProps,o=n.children,m=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},El(cw,Np),Np|=r;else{if(!(r&1073741824))return e=m!==null?m.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,El(cw,Np),Np|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=m!==null?m.baseLanes:r,El(cw,Np),Np|=n}else m!==null?(n=m.baseLanes|r,t.memoizedState=null):n=r,El(cw,Np),Np|=n;return Ff(e,t,o,r),t.child}function r5e(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function _ue(e,t,r,n,o){var m=Sh(r)?P_:ef.current;return m=J4(t,m),iw(t,o),r=cue(e,t,r,n,m,o),n=uue(),e!==null&&!wh?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,tg(e,t,o)):(tc&&n&&Yce(t),t.flags|=1,Ff(e,t,r,o),t.child)}function n5e(e,t,r,n,o){if(Sh(r)){var m=!0;nN(t)}else m=!1;if(iw(t,o),t.stateNode===null)bN(e,t),jTe(t,r,n),mue(t,r,n,o),n=!0;else if(e===null){var u=t.stateNode,h=t.memoizedProps;u.props=h;var a=u.context,l=r.contextType;typeof l=="object"&&l!==null?l=C0(l):(l=Sh(r)?P_:ef.current,l=J4(t,l));var v=r.getDerivedStateFromProps,i=typeof v=="function"||typeof u.getSnapshotBeforeUpdate=="function";i||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h!==n||a!==l)&&YTe(t,u,n,l),Ty=!1;var S=t.memoizedState;u.state=S,fN(t,n,u,o),a=t.memoizedState,h!==n||S!==a||Eh.current||Ty?(typeof v=="function"&&(vue(t,r,v,n),a=t.memoizedState),(h=Ty||GTe(t,r,h,n,S,a,l))?(i||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=a),u.props=n,u.state=a,u.context=l,n=h):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{u=t.stateNode,_Te(e,t),h=t.memoizedProps,l=t.type===t.elementType?h:S1(t.type,h),u.props=l,i=t.pendingProps,S=u.context,a=r.contextType,typeof a=="object"&&a!==null?a=C0(a):(a=Sh(r)?P_:ef.current,a=J4(t,a));var g=r.getDerivedStateFromProps;(v=typeof g=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h!==i||S!==a)&&YTe(t,u,n,a),Ty=!1,S=t.memoizedState,u.state=S,fN(t,n,u,o);var p=t.memoizedState;h!==i||S!==p||Eh.current||Ty?(typeof g=="function"&&(vue(t,r,g,n),p=t.memoizedState),(l=Ty||GTe(t,r,l,n,S,p,a)||!1)?(v||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(n,p,a),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(n,p,a)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||h===e.memoizedProps&&S===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&S===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=p),u.props=n,u.state=p,u.context=a,n=l):(typeof u.componentDidUpdate!="function"||h===e.memoizedProps&&S===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&S===e.memoizedState||(t.flags|=1024),n=!1)}return xue(e,t,r,n,m,o)}function xue(e,t,r,n,o,m){r5e(e,t);var u=(t.flags&128)!==0;if(!n&&!u)return o&&lTe(t,r,!1),tg(e,t,m);n=t.stateNode,lrt.current=t;var h=u&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&u?(t.child=nw(t,e.child,null,m),t.child=nw(t,null,h,m)):Ff(e,t,h,m),t.memoizedState=n.state,o&&lTe(t,r,!0),t.child}function a5e(e){var t=e.stateNode;t.pendingContext?oTe(e,t.pendingContext,t.pendingContext!==t.context):t.context&&oTe(e,t.context,!1),nue(e,t.containerInfo)}function i5e(e,t,r,n,o){return rw(),qce(o),t.flags|=256,Ff(e,t,r,n),t.child}var bue={dehydrated:null,treeContext:null,retryLane:0};function Eue(e){return{baseLanes:e,cachePool:null,transitions:null}}function o5e(e,t,r){var n=t.pendingProps,o=vc.current,m=!1,u=(t.flags&128)!==0,h;if((h=u)||(h=e!==null&&e.memoizedState===null?!1:(o&2)!==0),h?(m=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),El(vc,o&1),e===null)return Xce(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(u=n.children,e=n.fallback,m?(n=t.mode,m=t.child,u={mode:"hidden",children:u},!(n&1)&&m!==null?(m.childLanes=0,m.pendingProps=u):m=LN(u,n,0,null),e=Y_(e,n,r,null),m.return=t,e.return=t,m.sibling=e,t.child=m,t.child.memoizedState=Eue(r),t.memoizedState=bue,e):Sue(t,u));if(o=e.memoizedState,o!==null&&(h=o.dehydrated,h!==null))return crt(e,t,u,n,h,o,r);if(m){m=n.fallback,u=t.mode,o=e.child,h=o.sibling;var a={mode:"hidden",children:n.children};return!(u&1)&&t.child!==o?(n=t.child,n.childLanes=0,n.pendingProps=a,t.deletions=null):(n=Iy(o,a),n.subtreeFlags=o.subtreeFlags&14680064),h!==null?m=Iy(h,m):(m=Y_(m,u,r,null),m.flags|=2),m.return=t,n.return=t,n.sibling=m,t.child=n,n=m,m=t.child,u=e.child.memoizedState,u=u===null?Eue(r):{baseLanes:u.baseLanes|r,cachePool:null,transitions:u.transitions},m.memoizedState=u,m.childLanes=e.childLanes&~r,t.memoizedState=bue,n}return m=e.child,e=m.sibling,n=Iy(m,{mode:"visible",children:n.children}),!(t.mode&1)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function Sue(e,t){return t=LN({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function xN(e,t,r,n){return n!==null&&qce(n),nw(t,e.child,null,r),e=Sue(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function crt(e,t,r,n,o,m,u){if(r)return t.flags&256?(t.flags&=-257,n=gue(Error(mi(422))),xN(e,t,u,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(m=n.fallback,o=t.mode,n=LN({mode:"visible",children:n.children},o,0,null),m=Y_(m,o,u,null),m.flags|=2,n.return=t,m.return=t,n.sibling=m,t.child=n,t.mode&1&&nw(t,e.child,null,u),t.child.memoizedState=Eue(u),t.memoizedState=bue,m);if(!(t.mode&1))return xN(e,t,u,null);if(o.data==="$!"){if(n=o.nextSibling&&o.nextSibling.dataset,n)var h=n.dgst;return n=h,m=Error(mi(419)),n=gue(m,n,void 0),xN(e,t,u,n)}if(h=(u&e.childLanes)!==0,wh||h){if(n=Zu,n!==null){switch(u&-u){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(n.suspendedLanes|u)?0:o,o!==0&&o!==m.retryLane&&(m.retryLane=o,Jm(e,o),A1(n,e,o,-1))}return zue(),n=gue(Error(mi(421))),xN(e,t,u,n)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Ert.bind(null,e),o._reactRetry=t,null):(e=m.treeContext,Rp=by(o.nextSibling),Mp=t,tc=!0,E1=null,e!==null&&(T0[A0++]=Zm,T0[A0++]=Qm,T0[A0++]=F_,Zm=e.id,Qm=e.overflow,F_=t),t=Sue(t,n.children),t.flags|=4096,t)}function s5e(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),eue(e.return,t,r)}function wue(e,t,r,n,o){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=n,m.tail=r,m.tailMode=o)}function l5e(e,t,r){var n=t.pendingProps,o=n.revealOrder,m=n.tail;if(Ff(e,t,n.children,r),n=vc.current,n&2)n=n&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&s5e(e,r,t);else if(e.tag===19)s5e(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(El(vc,n),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;r!==null;)e=r.alternate,e!==null&&hN(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),wue(t,!1,o,r,m);break;case"backwards":for(r=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&hN(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}wue(t,!0,r,null,m);break;case"together":wue(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function bN(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function tg(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),H_|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(mi(153));if(t.child!==null){for(e=t.child,r=Iy(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Iy(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function urt(e,t,r){switch(t.tag){case 3:a5e(t),rw();break;case 5:ETe(t);break;case 1:Sh(t.type)&&nN(t);break;case 4:nue(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;El(cN,n._currentValue),n._currentValue=o;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(El(vc,vc.current&1),t.flags|=128,null):r&t.child.childLanes?o5e(e,t,r):(El(vc,vc.current&1),e=tg(e,t,r),e!==null?e.sibling:null);El(vc,vc.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return l5e(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),El(vc,vc.current),n)break;return null;case 22:case 23:return t.lanes=0,t5e(e,t,r)}return tg(e,t,r)}var c5e,Tue,u5e,d5e;c5e=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Tue=function(){},u5e=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,U_(Sv.current);var m=null;switch(r){case"input":o=ece(e,o),n=ece(e,n),m=[];break;case"select":o=pc({},o,{value:void 0}),n=pc({},n,{value:void 0}),m=[];break;case"textarea":o=nce(e,o),n=nce(e,n),m=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=eN)}ice(r,n);var u;r=null;for(l in o)if(!n.hasOwnProperty(l)&&o.hasOwnProperty(l)&&o[l]!=null)if(l==="style"){var h=o[l];for(u in h)h.hasOwnProperty(u)&&(r||(r={}),r[u]="")}else l!=="dangerouslySetInnerHTML"&&l!=="children"&&l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(L6.hasOwnProperty(l)?m||(m=[]):(m=m||[]).push(l,null));for(l in n){var a=n[l];if(h=o!=null?o[l]:void 0,n.hasOwnProperty(l)&&a!==h&&(a!=null||h!=null))if(l==="style")if(h){for(u in h)!h.hasOwnProperty(u)||a&&a.hasOwnProperty(u)||(r||(r={}),r[u]="");for(u in a)a.hasOwnProperty(u)&&h[u]!==a[u]&&(r||(r={}),r[u]=a[u])}else r||(m||(m=[]),m.push(l,r)),r=a;else l==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,h=h?h.__html:void 0,a!=null&&h!==a&&(m=m||[]).push(l,a)):l==="children"?typeof a!="string"&&typeof a!="number"||(m=m||[]).push(l,""+a):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&(L6.hasOwnProperty(l)?(a!=null&&l==="onScroll"&&Pl("scroll",e),m||h===a||(m=[])):(m=m||[]).push(l,a))}r&&(m=m||[]).push("style",r);var l=m;(t.updateQueue=l)&&(t.flags|=4)}},d5e=function(e,t,r,n){r!==n&&(t.flags|=4)};function vA(e,t){if(!tc)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function rf(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags&14680064,n|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function drt(e,t,r){var n=t.pendingProps;switch(Wce(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rf(t),null;case 1:return Sh(t.type)&&rN(),rf(t),null;case 3:return n=t.stateNode,ow(),Fl(Eh),Fl(ef),oue(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(sN(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,E1!==null&&(Pue(E1),E1=null))),Tue(e,t),rf(t),null;case 5:aue(t);var o=U_(uA.current);if(r=t.type,e!==null&&t.stateNode!=null)u5e(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(mi(166));return rf(t),null}if(e=U_(Sv.current),sN(t)){n=t.stateNode,r=t.type;var m=t.memoizedProps;switch(n[Ev]=t,n[iA]=m,e=(t.mode&1)!==0,r){case"dialog":Pl("cancel",n),Pl("close",n);break;case"iframe":case"object":case"embed":Pl("load",n);break;case"video":case"audio":for(o=0;o<rA.length;o++)Pl(rA[o],n);break;case"source":Pl("error",n);break;case"img":case"image":case"link":Pl("error",n),Pl("load",n);break;case"details":Pl("toggle",n);break;case"input":j4e(n,m),Pl("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!m.multiple},Pl("invalid",n);break;case"textarea":K4e(n,m),Pl("invalid",n)}ice(r,m),o=null;for(var u in m)if(m.hasOwnProperty(u)){var h=m[u];u==="children"?typeof h=="string"?n.textContent!==h&&(m.suppressHydrationWarning!==!0&&JR(n.textContent,h,e),o=["children",h]):typeof h=="number"&&n.textContent!==""+h&&(m.suppressHydrationWarning!==!0&&JR(n.textContent,h,e),o=["children",""+h]):L6.hasOwnProperty(u)&&h!=null&&u==="onScroll"&&Pl("scroll",n)}switch(r){case"input":RR(n),W4e(n,m,!0);break;case"textarea":RR(n),q4e(n);break;case"select":case"option":break;default:typeof m.onClick=="function"&&(n.onclick=eN)}n=o,t.updateQueue=n,n!==null&&(t.flags|=4)}else{u=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Z4e(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=u.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=u.createElement(r,{is:n.is}):(e=u.createElement(r),r==="select"&&(u=e,n.multiple?u.multiple=!0:n.size&&(u.size=n.size))):e=u.createElementNS(e,r),e[Ev]=t,e[iA]=n,c5e(e,t,!1,!1),t.stateNode=e;e:{switch(u=oce(r,n),r){case"dialog":Pl("cancel",e),Pl("close",e),o=n;break;case"iframe":case"object":case"embed":Pl("load",e),o=n;break;case"video":case"audio":for(o=0;o<rA.length;o++)Pl(rA[o],e);o=n;break;case"source":Pl("error",e),o=n;break;case"img":case"image":case"link":Pl("error",e),Pl("load",e),o=n;break;case"details":Pl("toggle",e),o=n;break;case"input":j4e(e,n),o=ece(e,n),Pl("invalid",e);break;case"option":o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=pc({},n,{value:void 0}),Pl("invalid",e);break;case"textarea":K4e(e,n),o=nce(e,n),Pl("invalid",e);break;default:o=n}ice(r,o),h=o;for(m in h)if(h.hasOwnProperty(m)){var a=h[m];m==="style"?ewe(e,a):m==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Q4e(e,a)):m==="children"?typeof a=="string"?(r!=="textarea"||a!=="")&&F6(e,a):typeof a=="number"&&F6(e,""+a):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(L6.hasOwnProperty(m)?a!=null&&m==="onScroll"&&Pl("scroll",e):a!=null&&Vle(e,m,a,u))}switch(r){case"input":RR(e),W4e(e,n,!1);break;case"textarea":RR(e),q4e(e);break;case"option":n.value!=null&&e.setAttribute("value",""+py(n.value));break;case"select":e.multiple=!!n.multiple,m=n.value,m!=null?$4(e,!!n.multiple,m,!1):n.defaultValue!=null&&$4(e,!!n.multiple,n.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=eN)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return rf(t),null;case 6:if(e&&t.stateNode!=null)d5e(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(mi(166));if(r=U_(uA.current),U_(Sv.current),sN(t)){if(n=t.stateNode,r=t.memoizedProps,n[Ev]=t,(m=n.nodeValue!==r)&&(e=Mp,e!==null))switch(e.tag){case 3:JR(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&JR(n.nodeValue,r,(e.mode&1)!==0)}m&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Ev]=t,t.stateNode=n}return rf(t),null;case 13:if(Fl(vc),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(tc&&Rp!==null&&t.mode&1&&!(t.flags&128))pTe(),rw(),t.flags|=98560,m=!1;else if(m=sN(t),n!==null&&n.dehydrated!==null){if(e===null){if(!m)throw Error(mi(318));if(m=t.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(mi(317));m[Ev]=t}else rw(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;rf(t),m=!1}else E1!==null&&(Pue(E1),E1=null),m=!0;if(!m)return t.flags&65536?t:null}return t.flags&128?(t.lanes=r,t):(n=n!==null,n!==(e!==null&&e.memoizedState!==null)&&n&&(t.child.flags|=8192,t.mode&1&&(e===null||vc.current&1?Mu===0&&(Mu=3):zue())),t.updateQueue!==null&&(t.flags|=4),rf(t),null);case 4:return ow(),Tue(e,t),e===null&&nA(t.stateNode.containerInfo),rf(t),null;case 10:return Jce(t.type._context),rf(t),null;case 17:return Sh(t.type)&&rN(),rf(t),null;case 19:if(Fl(vc),m=t.memoizedState,m===null)return rf(t),null;if(n=(t.flags&128)!==0,u=m.rendering,u===null)if(n)vA(m,!1);else{if(Mu!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(u=hN(e),u!==null){for(t.flags|=128,vA(m,!1),n=u.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;r!==null;)m=r,e=n,m.flags&=14680066,u=m.alternate,u===null?(m.childLanes=0,m.lanes=e,m.child=null,m.subtreeFlags=0,m.memoizedProps=null,m.memoizedState=null,m.updateQueue=null,m.dependencies=null,m.stateNode=null):(m.childLanes=u.childLanes,m.lanes=u.lanes,m.child=u.child,m.subtreeFlags=0,m.deletions=null,m.memoizedProps=u.memoizedProps,m.memoizedState=u.memoizedState,m.updateQueue=u.updateQueue,m.type=u.type,e=u.dependencies,m.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return El(vc,vc.current&1|2),t.child}e=e.sibling}m.tail!==null&&qc()>uw&&(t.flags|=128,n=!0,vA(m,!1),t.lanes=4194304)}else{if(!n)if(e=hN(u),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),vA(m,!0),m.tail===null&&m.tailMode==="hidden"&&!u.alternate&&!tc)return rf(t),null}else 2*qc()-m.renderingStartTime>uw&&r!==1073741824&&(t.flags|=128,n=!0,vA(m,!1),t.lanes=4194304);m.isBackwards?(u.sibling=t.child,t.child=u):(r=m.last,r!==null?r.sibling=u:t.child=u,m.last=u)}return m.tail!==null?(t=m.tail,m.rendering=t,m.tail=t.sibling,m.renderingStartTime=qc(),t.sibling=null,r=vc.current,El(vc,n?r&1|2:r&1),t):(rf(t),null);case 22:case 23:return Bue(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Np&1073741824&&(rf(t),t.subtreeFlags&6&&(t.flags|=8192)):rf(t),null;case 24:return null;case 25:return null}throw Error(mi(156,t.tag))}function frt(e,t){switch(Wce(t),t.tag){case 1:return Sh(t.type)&&rN(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ow(),Fl(Eh),Fl(ef),oue(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return aue(t),null;case 13:if(Fl(vc),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(mi(340));rw()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Fl(vc),null;case 4:return ow(),null;case 10:return Jce(t.type._context),null;case 22:case 23:return Bue(),null;case 24:return null;default:return null}}var EN=!1,nf=!1,hrt=typeof WeakSet=="function"?WeakSet:Set,Yi=null;function lw(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Ic(e,t,n)}else r.current=null}function Aue(e,t,r){try{r()}catch(n){Ic(e,t,n)}}var f5e=!1;function prt(e,t){if(Bce=HR,e=Gwe(),Rce(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,m=n.focusNode;n=n.focusOffset;try{r.nodeType,m.nodeType}catch{r=null;break e}var u=0,h=-1,a=-1,l=0,v=0,i=e,S=null;t:for(;;){for(var g;i!==r||o!==0&&i.nodeType!==3||(h=u+o),i!==m||n!==0&&i.nodeType!==3||(a=u+n),i.nodeType===3&&(u+=i.nodeValue.length),(g=i.firstChild)!==null;)S=i,i=g;for(;;){if(i===e)break t;if(S===r&&++l===o&&(h=u),S===m&&++v===n&&(a=u),(g=i.nextSibling)!==null)break;i=S,S=i.parentNode}i=g}r=h===-1||a===-1?null:{start:h,end:a}}else r=null}r=r||{start:0,end:0}}else r=null;for(zce={focusedElem:e,selectionRange:r},HR=!1,Yi=t;Yi!==null;)if(t=Yi,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Yi=e;else for(;Yi!==null;){t=Yi;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var _=p.memoizedProps,c=p.memoizedState,s=t.stateNode,d=s.getSnapshotBeforeUpdate(t.elementType===t.type?_:S1(t.type,_),c);s.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(mi(163))}}catch(b){Ic(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,Yi=e;break}Yi=t.return}return p=f5e,f5e=!1,p}function mA(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var m=o.destroy;o.destroy=void 0,m!==void 0&&Aue(t,r,m)}o=o.next}while(o!==n)}}function SN(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Cue(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function h5e(e){var t=e.alternate;t!==null&&(e.alternate=null,h5e(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ev],delete t[iA],delete t[Vce],delete t[qtt],delete t[Ztt])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function p5e(e){return e.tag===5||e.tag===3||e.tag===4}function v5e(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||p5e(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function kue(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=eN));else if(n!==4&&(e=e.child,e!==null))for(kue(e,t,r),e=e.sibling;e!==null;)kue(e,t,r),e=e.sibling}function Mue(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Mue(e,t,r),e=e.sibling;e!==null;)Mue(e,t,r),e=e.sibling}var wd=null,w1=!1;function Cy(e,t,r){for(r=r.child;r!==null;)m5e(e,t,r),r=r.sibling}function m5e(e,t,r){if(bv&&typeof bv.onCommitFiberUnmount=="function")try{bv.onCommitFiberUnmount(PR,r)}catch{}switch(r.tag){case 5:nf||lw(r,t);case 6:var n=wd,o=w1;wd=null,Cy(e,t,r),wd=n,w1=o,wd!==null&&(w1?(e=wd,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):wd.removeChild(r.stateNode));break;case 18:wd!==null&&(w1?(e=wd,r=r.stateNode,e.nodeType===8?Hce(e.parentNode,r):e.nodeType===1&&Hce(e,r),K6(e)):Hce(wd,r.stateNode));break;case 4:n=wd,o=w1,wd=r.stateNode.containerInfo,w1=!0,Cy(e,t,r),wd=n,w1=o;break;case 0:case 11:case 14:case 15:if(!nf&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var m=o,u=m.destroy;m=m.tag,u!==void 0&&(m&2||m&4)&&Aue(r,t,u),o=o.next}while(o!==n)}Cy(e,t,r);break;case 1:if(!nf&&(lw(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(h){Ic(r,t,h)}Cy(e,t,r);break;case 21:Cy(e,t,r);break;case 22:r.mode&1?(nf=(n=nf)||r.memoizedState!==null,Cy(e,t,r),nf=n):Cy(e,t,r);break;default:Cy(e,t,r)}}function g5e(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new hrt),t.forEach(function(n){var o=Srt.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function T1(e,t){var r=t.deletions;if(r!==null)for(var n=0;n<r.length;n++){var o=r[n];try{var m=e,u=t,h=u;e:for(;h!==null;){switch(h.tag){case 5:wd=h.stateNode,w1=!1;break e;case 3:wd=h.stateNode.containerInfo,w1=!0;break e;case 4:wd=h.stateNode.containerInfo,w1=!0;break e}h=h.return}if(wd===null)throw Error(mi(160));m5e(m,u,o),wd=null,w1=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(l){Ic(o,t,l)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)y5e(t,e),t=t.sibling}function y5e(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(T1(t,e),Tv(e),n&4){try{mA(3,e,e.return),SN(3,e)}catch(_){Ic(e,e.return,_)}try{mA(5,e,e.return)}catch(_){Ic(e,e.return,_)}}break;case 1:T1(t,e),Tv(e),n&512&&r!==null&&lw(r,r.return);break;case 5:if(T1(t,e),Tv(e),n&512&&r!==null&&lw(r,r.return),e.flags&32){var o=e.stateNode;try{F6(o,"")}catch(_){Ic(e,e.return,_)}}if(n&4&&(o=e.stateNode,o!=null)){var m=e.memoizedProps,u=r!==null?r.memoizedProps:m,h=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{h==="input"&&m.type==="radio"&&m.name!=null&&Y4e(o,m),oce(h,u);var l=oce(h,m);for(u=0;u<a.length;u+=2){var v=a[u],i=a[u+1];v==="style"?ewe(o,i):v==="dangerouslySetInnerHTML"?Q4e(o,i):v==="children"?F6(o,i):Vle(o,v,i,l)}switch(h){case"input":tce(o,m);break;case"textarea":X4e(o,m);break;case"select":var S=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!m.multiple;var g=m.value;g!=null?$4(o,!!m.multiple,g,!1):S!==!!m.multiple&&(m.defaultValue!=null?$4(o,!!m.multiple,m.defaultValue,!0):$4(o,!!m.multiple,m.multiple?[]:"",!1))}o[iA]=m}catch(_){Ic(e,e.return,_)}}break;case 6:if(T1(t,e),Tv(e),n&4){if(e.stateNode===null)throw Error(mi(162));o=e.stateNode,m=e.memoizedProps;try{o.nodeValue=m}catch(_){Ic(e,e.return,_)}}break;case 3:if(T1(t,e),Tv(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{K6(t.containerInfo)}catch(_){Ic(e,e.return,_)}break;case 4:T1(t,e),Tv(e);break;case 13:T1(t,e),Tv(e),o=e.child,o.flags&8192&&(m=o.memoizedState!==null,o.stateNode.isHidden=m,!m||o.alternate!==null&&o.alternate.memoizedState!==null||(Iue=qc())),n&4&&g5e(e);break;case 22:if(v=r!==null&&r.memoizedState!==null,e.mode&1?(nf=(l=nf)||v,T1(t,e),nf=l):T1(t,e),Tv(e),n&8192){if(l=e.memoizedState!==null,(e.stateNode.isHidden=l)&&!v&&e.mode&1)for(Yi=e,v=e.child;v!==null;){for(i=Yi=v;Yi!==null;){switch(S=Yi,g=S.child,S.tag){case 0:case 11:case 14:case 15:mA(4,S,S.return);break;case 1:lw(S,S.return);var p=S.stateNode;if(typeof p.componentWillUnmount=="function"){n=S,r=S.return;try{t=n,p.props=t.memoizedProps,p.state=t.memoizedState,p.componentWillUnmount()}catch(_){Ic(n,r,_)}}break;case 5:lw(S,S.return);break;case 22:if(S.memoizedState!==null){b5e(i);continue}}g!==null?(g.return=S,Yi=g):b5e(i)}v=v.sibling}e:for(v=null,i=e;;){if(i.tag===5){if(v===null){v=i;try{o=i.stateNode,l?(m=o.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none"):(h=i.stateNode,a=i.memoizedProps.style,u=a!=null&&a.hasOwnProperty("display")?a.display:null,h.style.display=J4e("display",u))}catch(_){Ic(e,e.return,_)}}}else if(i.tag===6){if(v===null)try{i.stateNode.nodeValue=l?"":i.memoizedProps}catch(_){Ic(e,e.return,_)}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===e)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break e;for(;i.sibling===null;){if(i.return===null||i.return===e)break e;v===i&&(v=null),i=i.return}v===i&&(v=null),i.sibling.return=i.return,i=i.sibling}}break;case 19:T1(t,e),Tv(e),n&4&&g5e(e);break;case 21:break;default:T1(t,e),Tv(e)}}function Tv(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(p5e(r)){var n=r;break e}r=r.return}throw Error(mi(160))}switch(n.tag){case 5:var o=n.stateNode;n.flags&32&&(F6(o,""),n.flags&=-33);var m=v5e(e);Mue(e,m,o);break;case 3:case 4:var u=n.stateNode.containerInfo,h=v5e(e);kue(e,h,u);break;default:throw Error(mi(161))}}catch(a){Ic(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function vrt(e,t,r){Yi=e,_5e(e)}function _5e(e,t,r){for(var n=(e.mode&1)!==0;Yi!==null;){var o=Yi,m=o.child;if(o.tag===22&&n){var u=o.memoizedState!==null||EN;if(!u){var h=o.alternate,a=h!==null&&h.memoizedState!==null||nf;h=EN;var l=nf;if(EN=u,(nf=a)&&!l)for(Yi=o;Yi!==null;)u=Yi,a=u.child,u.tag===22&&u.memoizedState!==null?E5e(o):a!==null?(a.return=u,Yi=a):E5e(o);for(;m!==null;)Yi=m,_5e(m),m=m.sibling;Yi=o,EN=h,nf=l}x5e(e)}else o.subtreeFlags&8772&&m!==null?(m.return=o,Yi=m):x5e(e)}}function x5e(e){for(;Yi!==null;){var t=Yi;if(t.flags&8772){var r=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:nf||SN(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!nf)if(r===null)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:S1(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var m=t.updateQueue;m!==null&&bTe(t,m,n);break;case 3:var u=t.updateQueue;if(u!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}bTe(t,u,r)}break;case 5:var h=t.stateNode;if(r===null&&t.flags&4){r=h;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&r.focus();break;case"img":a.src&&(r.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var l=t.alternate;if(l!==null){var v=l.memoizedState;if(v!==null){var i=v.dehydrated;i!==null&&K6(i)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(mi(163))}nf||t.flags&512&&Cue(t)}catch(S){Ic(t,t.return,S)}}if(t===e){Yi=null;break}if(r=t.sibling,r!==null){r.return=t.return,Yi=r;break}Yi=t.return}}function b5e(e){for(;Yi!==null;){var t=Yi;if(t===e){Yi=null;break}var r=t.sibling;if(r!==null){r.return=t.return,Yi=r;break}Yi=t.return}}function E5e(e){for(;Yi!==null;){var t=Yi;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{SN(4,t)}catch(a){Ic(t,r,a)}break;case 1:var n=t.stateNode;if(typeof n.componentDidMount=="function"){var o=t.return;try{n.componentDidMount()}catch(a){Ic(t,o,a)}}var m=t.return;try{Cue(t)}catch(a){Ic(t,m,a)}break;case 5:var u=t.return;try{Cue(t)}catch(a){Ic(t,u,a)}}}catch(a){Ic(t,t.return,a)}if(t===e){Yi=null;break}var h=t.sibling;if(h!==null){h.return=t.return,Yi=h;break}Yi=t.return}}var mrt=Math.ceil,wN=Km.ReactCurrentDispatcher,Rue=Km.ReactCurrentOwner,M0=Km.ReactCurrentBatchConfig,Fs=0,Zu=null,fu=null,Td=0,Np=0,cw=Ey(0),Mu=0,gA=null,H_=0,TN=0,Nue=0,yA=null,Th=null,Iue=0,uw=1/0,rg=null,AN=!1,Lue=null,ky=null,CN=!1,My=null,kN=0,_A=0,Oue=null,MN=-1,RN=0;function Bf(){return Fs&6?qc():MN!==-1?MN:MN=qc()}function Ry(e){return e.mode&1?Fs&2&&Td!==0?Td&-Td:Jtt.transition!==null?(RN===0&&(RN=vwe()),RN):(e=ol,e!==0||(e=window.event,e=e===void 0?16:wwe(e.type)),e):1}function A1(e,t,r,n){if(50<_A)throw _A=0,Oue=null,Error(mi(185));V6(e,r,n),(!(Fs&2)||e!==Zu)&&(e===Zu&&(!(Fs&2)&&(TN|=r),Mu===4&&Ny(e,Td)),Ah(e,n),r===1&&Fs===0&&!(t.mode&1)&&(uw=qc()+500,aN&&wy()))}function Ah(e,t){var r=e.callbackNode;Jet(e,t);var n=zR(e,e===Zu?Td:0);if(n===0)r!==null&&fwe(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&fwe(r),t===1)e.tag===0?Qtt(w5e.bind(null,e)):cTe(w5e.bind(null,e)),Ktt(function(){!(Fs&6)&&wy()}),r=null;else{switch(mwe(n)){case 1:r=hce;break;case 4:r=hwe;break;case 16:r=DR;break;case 536870912:r=pwe;break;default:r=DR}r=I5e(r,S5e.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function S5e(e,t){if(MN=-1,RN=0,Fs&6)throw Error(mi(327));var r=e.callbackNode;if(dw()&&e.callbackNode!==r)return null;var n=zR(e,e===Zu?Td:0);if(n===0)return null;if(n&30||n&e.expiredLanes||t)t=NN(e,n);else{t=n;var o=Fs;Fs|=2;var m=A5e();(Zu!==e||Td!==t)&&(rg=null,uw=qc()+500,G_(e,t));do try{_rt();break}catch(h){T5e(e,h)}while(!0);Qce(),wN.current=m,Fs=o,fu!==null?t=0:(Zu=null,Td=0,t=Mu)}if(t!==0){if(t===2&&(o=pce(e),o!==0&&(n=o,t=Due(e,o))),t===1)throw r=gA,G_(e,0),Ny(e,n),Ah(e,qc()),r;if(t===6)Ny(e,n);else{if(o=e.current.alternate,!(n&30)&&!grt(o)&&(t=NN(e,n),t===2&&(m=pce(e),m!==0&&(n=m,t=Due(e,m))),t===1))throw r=gA,G_(e,0),Ny(e,n),Ah(e,qc()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(mi(345));case 2:j_(e,Th,rg);break;case 3:if(Ny(e,n),(n&130023424)===n&&(t=Iue+500-qc(),10<t)){if(zR(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){Bf(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=$ce(j_.bind(null,e,Th,rg),t);break}j_(e,Th,rg);break;case 4:if(Ny(e,n),(n&4194240)===n)break;for(t=e.eventTimes,o=-1;0<n;){var u=31-x1(n);m=1<<u,u=t[u],u>o&&(o=u),n&=~m}if(n=o,n=qc()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*mrt(n/1960))-n,10<n){e.timeoutHandle=$ce(j_.bind(null,e,Th,rg),n);break}j_(e,Th,rg);break;case 5:j_(e,Th,rg);break;default:throw Error(mi(329))}}}return Ah(e,qc()),e.callbackNode===r?S5e.bind(null,e):null}function Due(e,t){var r=yA;return e.current.memoizedState.isDehydrated&&(G_(e,t).flags|=256),e=NN(e,t),e!==2&&(t=Th,Th=r,t!==null&&Pue(t)),e}function Pue(e){Th===null?Th=e:Th.push.apply(Th,e)}function grt(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var o=r[n],m=o.getSnapshot;o=o.value;try{if(!b1(m(),o))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ny(e,t){for(t&=~Nue,t&=~TN,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-x1(t),n=1<<r;e[r]=-1,t&=~n}}function w5e(e){if(Fs&6)throw Error(mi(327));dw();var t=zR(e,0);if(!(t&1))return Ah(e,qc()),null;var r=NN(e,t);if(e.tag!==0&&r===2){var n=pce(e);n!==0&&(t=n,r=Due(e,n))}if(r===1)throw r=gA,G_(e,0),Ny(e,t),Ah(e,qc()),r;if(r===6)throw Error(mi(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,j_(e,Th,rg),Ah(e,qc()),null}function Fue(e,t){var r=Fs;Fs|=1;try{return e(t)}finally{Fs=r,Fs===0&&(uw=qc()+500,aN&&wy())}}function V_(e){My!==null&&My.tag===0&&!(Fs&6)&&dw();var t=Fs;Fs|=1;var r=M0.transition,n=ol;try{if(M0.transition=null,ol=1,e)return e()}finally{ol=n,M0.transition=r,Fs=t,!(Fs&6)&&wy()}}function Bue(){Np=cw.current,Fl(cw)}function G_(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,Wtt(r)),fu!==null)for(r=fu.return;r!==null;){var n=r;switch(Wce(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&rN();break;case 3:ow(),Fl(Eh),Fl(ef),oue();break;case 5:aue(n);break;case 4:ow();break;case 13:Fl(vc);break;case 19:Fl(vc);break;case 10:Jce(n.type._context);break;case 22:case 23:Bue()}r=r.return}if(Zu=e,fu=e=Iy(e.current,null),Td=Np=t,Mu=0,gA=null,Nue=TN=H_=0,Th=yA=null,z_!==null){for(t=0;t<z_.length;t++)if(r=z_[t],n=r.interleaved,n!==null){r.interleaved=null;var o=n.next,m=r.pending;if(m!==null){var u=m.next;m.next=o,n.next=u}r.pending=n}z_=null}return e}function T5e(e,t){do{var r=fu;try{if(Qce(),pN.current=yN,vN){for(var n=mc.memoizedState;n!==null;){var o=n.queue;o!==null&&(o.pending=null),n=n.next}vN=!1}if($_=0,qu=ku=mc=null,dA=!1,fA=0,Rue.current=null,r===null||r.return===null){Mu=1,gA=t,fu=null;break}e:{var m=e,u=r.return,h=r,a=t;if(t=Td,h.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var l=a,v=h,i=v.tag;if(!(v.mode&1)&&(i===0||i===11||i===15)){var S=v.alternate;S?(v.updateQueue=S.updateQueue,v.memoizedState=S.memoizedState,v.lanes=S.lanes):(v.updateQueue=null,v.memoizedState=null)}var g=qTe(u);if(g!==null){g.flags&=-257,ZTe(g,u,h,m,t),g.mode&1&&XTe(m,l,t),t=g,a=l;var p=t.updateQueue;if(p===null){var _=new Set;_.add(a),t.updateQueue=_}else p.add(a);break e}else{if(!(t&1)){XTe(m,l,t),zue();break e}a=Error(mi(426))}}else if(tc&&h.mode&1){var c=qTe(u);if(c!==null){!(c.flags&65536)&&(c.flags|=256),ZTe(c,u,h,m,t),qce(sw(a,h));break e}}m=a=sw(a,h),Mu!==4&&(Mu=2),yA===null?yA=[m]:yA.push(m),m=u;do{switch(m.tag){case 3:m.flags|=65536,t&=-t,m.lanes|=t;var s=WTe(m,a,t);xTe(m,s);break e;case 1:h=a;var d=m.type,f=m.stateNode;if(!(m.flags&128)&&(typeof d.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(ky===null||!ky.has(f)))){m.flags|=65536,t&=-t,m.lanes|=t;var b=KTe(m,h,t);xTe(m,b);break e}}m=m.return}while(m!==null)}k5e(r)}catch(x){t=x,fu===r&&r!==null&&(fu=r=r.return);continue}break}while(!0)}function A5e(){var e=wN.current;return wN.current=yN,e===null?yN:e}function zue(){(Mu===0||Mu===3||Mu===2)&&(Mu=4),Zu===null||!(H_&268435455)&&!(TN&268435455)||Ny(Zu,Td)}function NN(e,t){var r=Fs;Fs|=2;var n=A5e();(Zu!==e||Td!==t)&&(rg=null,G_(e,t));do try{yrt();break}catch(o){T5e(e,o)}while(!0);if(Qce(),Fs=r,wN.current=n,fu!==null)throw Error(mi(261));return Zu=null,Td=0,Mu}function yrt(){for(;fu!==null;)C5e(fu)}function _rt(){for(;fu!==null&&!Get();)C5e(fu)}function C5e(e){var t=N5e(e.alternate,e,Np);e.memoizedProps=e.pendingProps,t===null?k5e(e):fu=t,Rue.current=null}function k5e(e){var t=e;do{var r=t.alternate;if(e=t.return,t.flags&32768){if(r=frt(r,t),r!==null){r.flags&=32767,fu=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Mu=6,fu=null;return}}else if(r=drt(r,t,Np),r!==null){fu=r;return}if(t=t.sibling,t!==null){fu=t;return}fu=t=e}while(t!==null);Mu===0&&(Mu=5)}function j_(e,t,r){var n=ol,o=M0.transition;try{M0.transition=null,ol=1,xrt(e,t,r,n)}finally{M0.transition=o,ol=n}return null}function xrt(e,t,r,n){do dw();while(My!==null);if(Fs&6)throw Error(mi(327));r=e.finishedWork;var o=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(mi(177));e.callbackNode=null,e.callbackPriority=0;var m=r.lanes|r.childLanes;if(ett(e,m),e===Zu&&(fu=Zu=null,Td=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||CN||(CN=!0,I5e(DR,function(){return dw(),null})),m=(r.flags&15990)!==0,r.subtreeFlags&15990||m){m=M0.transition,M0.transition=null;var u=ol;ol=1;var h=Fs;Fs|=4,Rue.current=null,prt(e,r),y5e(r,e),Utt(zce),HR=!!Bce,zce=Bce=null,e.current=r,vrt(r),jet(),Fs=h,ol=u,M0.transition=m}else e.current=r;if(CN&&(CN=!1,My=e,kN=o),m=e.pendingLanes,m===0&&(ky=null),Ket(r.stateNode),Ah(e,qc()),t!==null)for(n=e.onRecoverableError,r=0;r<t.length;r++)o=t[r],n(o.value,{componentStack:o.stack,digest:o.digest});if(AN)throw AN=!1,e=Lue,Lue=null,e;return kN&1&&e.tag!==0&&dw(),m=e.pendingLanes,m&1?e===Oue?_A++:(_A=0,Oue=e):_A=0,wy(),null}function dw(){if(My!==null){var e=mwe(kN),t=M0.transition,r=ol;try{if(M0.transition=null,ol=16>e?16:e,My===null)var n=!1;else{if(e=My,My=null,kN=0,Fs&6)throw Error(mi(331));var o=Fs;for(Fs|=4,Yi=e.current;Yi!==null;){var m=Yi,u=m.child;if(Yi.flags&16){var h=m.deletions;if(h!==null){for(var a=0;a<h.length;a++){var l=h[a];for(Yi=l;Yi!==null;){var v=Yi;switch(v.tag){case 0:case 11:case 15:mA(8,v,m)}var i=v.child;if(i!==null)i.return=v,Yi=i;else for(;Yi!==null;){v=Yi;var S=v.sibling,g=v.return;if(h5e(v),v===l){Yi=null;break}if(S!==null){S.return=g,Yi=S;break}Yi=g}}}var p=m.alternate;if(p!==null){var _=p.child;if(_!==null){p.child=null;do{var c=_.sibling;_.sibling=null,_=c}while(_!==null)}}Yi=m}}if(m.subtreeFlags&2064&&u!==null)u.return=m,Yi=u;else e:for(;Yi!==null;){if(m=Yi,m.flags&2048)switch(m.tag){case 0:case 11:case 15:mA(9,m,m.return)}var s=m.sibling;if(s!==null){s.return=m.return,Yi=s;break e}Yi=m.return}}var d=e.current;for(Yi=d;Yi!==null;){u=Yi;var f=u.child;if(u.subtreeFlags&2064&&f!==null)f.return=u,Yi=f;else e:for(u=d;Yi!==null;){if(h=Yi,h.flags&2048)try{switch(h.tag){case 0:case 11:case 15:SN(9,h)}}catch(x){Ic(h,h.return,x)}if(h===u){Yi=null;break e}var b=h.sibling;if(b!==null){b.return=h.return,Yi=b;break e}Yi=h.return}}if(Fs=o,wy(),bv&&typeof bv.onPostCommitFiberRoot=="function")try{bv.onPostCommitFiberRoot(PR,e)}catch{}n=!0}return n}finally{ol=r,M0.transition=t}}return!1}function M5e(e,t,r){t=sw(r,t),t=WTe(e,t,1),e=Ay(e,t,1),t=Bf(),e!==null&&(V6(e,1,t),Ah(e,t))}function Ic(e,t,r){if(e.tag===3)M5e(e,e,r);else for(;t!==null;){if(t.tag===3){M5e(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(ky===null||!ky.has(n))){e=sw(r,e),e=KTe(t,e,1),t=Ay(t,e,1),e=Bf(),t!==null&&(V6(t,1,e),Ah(t,e));break}}t=t.return}}function brt(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=Bf(),e.pingedLanes|=e.suspendedLanes&r,Zu===e&&(Td&r)===r&&(Mu===4||Mu===3&&(Td&130023424)===Td&&500>qc()-Iue?G_(e,0):Nue|=r),Ah(e,t)}function R5e(e,t){t===0&&(e.mode&1?(t=BR,BR<<=1,!(BR&130023424)&&(BR=4194304)):t=1);var r=Bf();e=Jm(e,t),e!==null&&(V6(e,t,r),Ah(e,r))}function Ert(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),R5e(e,r)}function Srt(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(mi(314))}n!==null&&n.delete(t),R5e(e,r)}var N5e;N5e=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Eh.current)wh=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return wh=!1,urt(e,t,r);wh=!!(e.flags&131072)}else wh=!1,tc&&t.flags&1048576&&uTe(t,oN,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;bN(e,t),e=t.pendingProps;var o=J4(t,ef.current);iw(t,r),o=cue(null,t,n,e,o,r);var m=uue();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Sh(n)?(m=!0,nN(t)):m=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,rue(t),o.updater=_N,t.stateNode=o,o._reactInternals=t,mue(t,n,e,r),t=xue(null,t,n,!0,m,r)):(t.tag=0,tc&&m&&Yce(t),Ff(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(bN(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=Trt(n),e=S1(n,e),o){case 0:t=_ue(null,t,n,e,r);break e;case 1:t=n5e(null,t,n,e,r);break e;case 11:t=QTe(null,t,n,e,r);break e;case 14:t=JTe(null,t,n,S1(n.type,e),r);break e}throw Error(mi(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:S1(n,o),_ue(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:S1(n,o),n5e(e,t,n,o,r);case 3:e:{if(a5e(t),e===null)throw Error(mi(387));n=t.pendingProps,m=t.memoizedState,o=m.element,_Te(e,t),fN(t,n,null,r);var u=t.memoizedState;if(n=u.element,m.isDehydrated)if(m={element:n,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},t.updateQueue.baseState=m,t.memoizedState=m,t.flags&256){o=sw(Error(mi(423)),t),t=i5e(e,t,n,r,o);break e}else if(n!==o){o=sw(Error(mi(424)),t),t=i5e(e,t,n,r,o);break e}else for(Rp=by(t.stateNode.containerInfo.firstChild),Mp=t,tc=!0,E1=null,r=gTe(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(rw(),n===o){t=tg(e,t,r);break e}Ff(e,t,n,r)}t=t.child}return t;case 5:return ETe(t),e===null&&Xce(t),n=t.type,o=t.pendingProps,m=e!==null?e.memoizedProps:null,u=o.children,Uce(n,o)?u=null:m!==null&&Uce(n,m)&&(t.flags|=32),r5e(e,t),Ff(e,t,u,r),t.child;case 6:return e===null&&Xce(t),null;case 13:return o5e(e,t,r);case 4:return nue(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=nw(t,null,n,r):Ff(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:S1(n,o),QTe(e,t,n,o,r);case 7:return Ff(e,t,t.pendingProps,r),t.child;case 8:return Ff(e,t,t.pendingProps.children,r),t.child;case 12:return Ff(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,m=t.memoizedProps,u=o.value,El(cN,n._currentValue),n._currentValue=u,m!==null)if(b1(m.value,u)){if(m.children===o.children&&!Eh.current){t=tg(e,t,r);break e}}else for(m=t.child,m!==null&&(m.return=t);m!==null;){var h=m.dependencies;if(h!==null){u=m.child;for(var a=h.firstContext;a!==null;){if(a.context===n){if(m.tag===1){a=eg(-1,r&-r),a.tag=2;var l=m.updateQueue;if(l!==null){l=l.shared;var v=l.pending;v===null?a.next=a:(a.next=v.next,v.next=a),l.pending=a}}m.lanes|=r,a=m.alternate,a!==null&&(a.lanes|=r),eue(m.return,r,t),h.lanes|=r;break}a=a.next}}else if(m.tag===10)u=m.type===t.type?null:m.child;else if(m.tag===18){if(u=m.return,u===null)throw Error(mi(341));u.lanes|=r,h=u.alternate,h!==null&&(h.lanes|=r),eue(u,r,t),u=m.sibling}else u=m.child;if(u!==null)u.return=m;else for(u=m;u!==null;){if(u===t){u=null;break}if(m=u.sibling,m!==null){m.return=u.return,u=m;break}u=u.return}m=u}Ff(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,iw(t,r),o=C0(o),n=n(o),t.flags|=1,Ff(e,t,n,r),t.child;case 14:return n=t.type,o=S1(n,t.pendingProps),o=S1(n.type,o),JTe(e,t,n,o,r);case 15:return e5e(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:S1(n,o),bN(e,t),t.tag=1,Sh(n)?(e=!0,nN(t)):e=!1,iw(t,r),jTe(t,n,o),mue(t,n,o,r),xue(null,t,n,!0,e,r);case 19:return l5e(e,t,r);case 22:return t5e(e,t,r)}throw Error(mi(156,t.tag))};function I5e(e,t){return dwe(e,t)}function wrt(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function R0(e,t,r,n){return new wrt(e,t,r,n)}function Uue(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Trt(e){if(typeof e=="function")return Uue(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Yle)return 11;if(e===Xle)return 14}return 2}function Iy(e,t){var r=e.alternate;return r===null?(r=R0(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function IN(e,t,r,n,o,m){var u=2;if(n=e,typeof e=="function")Uue(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case U4:return Y_(r.children,o,m,t);case Gle:u=8,o|=8;break;case jle:return e=R0(12,r,t,o|2),e.elementType=jle,e.lanes=m,e;case Wle:return e=R0(13,r,t,o),e.elementType=Wle,e.lanes=m,e;case Kle:return e=R0(19,r,t,o),e.elementType=Kle,e.lanes=m,e;case $4e:return LN(r,o,m,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case z4e:u=10;break e;case U4e:u=9;break e;case Yle:u=11;break e;case Xle:u=14;break e;case hy:u=16,n=null;break e}throw Error(mi(130,e==null?e:typeof e,""))}return t=R0(u,r,t,o),t.elementType=e,t.type=n,t.lanes=m,t}function Y_(e,t,r,n){return e=R0(7,e,n,t),e.lanes=r,e}function LN(e,t,r,n){return e=R0(22,e,n,t),e.elementType=$4e,e.lanes=r,e.stateNode={isHidden:!1},e}function $ue(e,t,r){return e=R0(6,e,null,t),e.lanes=r,e}function Hue(e,t,r){return t=R0(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Art(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vce(0),this.expirationTimes=vce(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vce(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Vue(e,t,r,n,o,m,u,h,a){return e=new Art(e,t,r,h,a),t===1?(t=1,m===!0&&(t|=8)):t=0,m=R0(3,null,null,t),e.current=m,m.stateNode=e,m.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},rue(m),e}function Crt(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:z4,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function L5e(e){if(!e)return Sy;e=e._reactInternals;e:{if(O_(e)!==e||e.tag!==1)throw Error(mi(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Sh(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(mi(171))}if(e.tag===1){var r=e.type;if(Sh(r))return sTe(e,r,t)}return t}function O5e(e,t,r,n,o,m,u,h,a){return e=Vue(r,n,!0,e,o,m,u,h,a),e.context=L5e(null),r=e.current,n=Bf(),o=Ry(r),m=eg(n,o),m.callback=t??null,Ay(r,m,o),e.current.lanes=o,V6(e,o,n),Ah(e,n),e}function ON(e,t,r,n){var o=t.current,m=Bf(),u=Ry(o);return r=L5e(r),t.context===null?t.context=r:t.pendingContext=r,t=eg(m,u),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=Ay(o,t,u),e!==null&&(A1(e,o,u,m),dN(e,o,u)),u}function DN(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function D5e(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function Gue(e,t){D5e(e,t),(e=e.alternate)&&D5e(e,t)}function krt(){return null}var P5e=typeof reportError=="function"?reportError:function(e){console.error(e)};function jue(e){this._internalRoot=e}PN.prototype.render=jue.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(mi(409));ON(e,t,null,null)},PN.prototype.unmount=jue.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;V_(function(){ON(null,e,null,null)}),t[Xm]=null}};function PN(e){this._internalRoot=e}PN.prototype.unstable_scheduleHydration=function(e){if(e){var t=_we();e={blockedOn:null,target:e,priority:t};for(var r=0;r<yy.length&&t!==0&&t<yy[r].priority;r++);yy.splice(r,0,e),r===0&&Ewe(e)}};function Yue(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function FN(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function F5e(){}function Mrt(e,t,r,n,o){if(o){if(typeof n=="function"){var m=n;n=function(){var l=DN(u);m.call(l)}}var u=O5e(t,n,e,0,null,!1,!1,"",F5e);return e._reactRootContainer=u,e[Xm]=u.current,nA(e.nodeType===8?e.parentNode:e),V_(),u}for(;o=e.lastChild;)e.removeChild(o);if(typeof n=="function"){var h=n;n=function(){var l=DN(a);h.call(l)}}var a=Vue(e,0,!1,null,null,!1,!1,"",F5e);return e._reactRootContainer=a,e[Xm]=a.current,nA(e.nodeType===8?e.parentNode:e),V_(function(){ON(t,a,r,n)}),a}function BN(e,t,r,n,o){var m=r._reactRootContainer;if(m){var u=m;if(typeof o=="function"){var h=o;o=function(){var a=DN(u);h.call(a)}}ON(t,u,e,o)}else u=Mrt(r,t,e,o,n);return DN(u)}gwe=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=H6(t.pendingLanes);r!==0&&(mce(t,r|1),Ah(t,qc()),!(Fs&6)&&(uw=qc()+500,wy()))}break;case 13:V_(function(){var n=Jm(e,1);if(n!==null){var o=Bf();A1(n,e,1,o)}}),Gue(e,1)}},gce=function(e){if(e.tag===13){var t=Jm(e,134217728);if(t!==null){var r=Bf();A1(t,e,134217728,r)}Gue(e,134217728)}},ywe=function(e){if(e.tag===13){var t=Ry(e),r=Jm(e,t);if(r!==null){var n=Bf();A1(r,e,t,n)}Gue(e,t)}},_we=function(){return ol},xwe=function(e,t){var r=ol;try{return ol=e,t()}finally{ol=r}},cce=function(e,t,r){switch(t){case"input":if(tce(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=tN(n);if(!o)throw Error(mi(90));G4e(n),tce(n,o)}}}break;case"textarea":X4e(e,r);break;case"select":t=r.value,t!=null&&$4(e,!!r.multiple,t,!1)}},awe=Fue,iwe=V_;var Rrt={usingClientEntryPoint:!1,Events:[oA,Z4,tN,rwe,nwe,Fue]},xA={findFiberByHostInstance:D_,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Nrt={bundleType:xA.bundleType,version:xA.version,rendererPackageName:xA.rendererPackageName,rendererConfig:xA.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Km.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=cwe(e),e===null?null:e.stateNode},findFiberByHostInstance:xA.findFiberByHostInstance||krt,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 zN=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zN.isDisabled&&zN.supportsFiber)try{PR=zN.inject(Nrt),bv=zN}catch{}}Ap.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Rrt,Ap.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Yue(t))throw Error(mi(200));return Crt(e,t,null,r)},Ap.createRoot=function(e,t){if(!Yue(e))throw Error(mi(299));var r=!1,n="",o=P5e;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Vue(e,1,!1,null,null,r,!1,n,o),e[Xm]=t.current,nA(e.nodeType===8?e.parentNode:e),new jue(t)},Ap.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(mi(188)):(e=Object.keys(e).join(","),Error(mi(268,e)));return e=cwe(t),e=e===null?null:e.stateNode,e},Ap.flushSync=function(e){return V_(e)},Ap.hydrate=function(e,t,r){if(!FN(t))throw Error(mi(200));return BN(null,e,t,!0,r)},Ap.hydrateRoot=function(e,t,r){if(!Yue(e))throw Error(mi(405));var n=r!=null&&r.hydratedSources||null,o=!1,m="",u=P5e;if(r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(m=r.identifierPrefix),r.onRecoverableError!==void 0&&(u=r.onRecoverableError)),t=O5e(t,null,e,1,r??null,o,!1,m,u),e[Xm]=t.current,nA(e),n)for(e=0;e<n.length;e++)r=n[e],o=r._getVersion,o=o(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new PN(t)},Ap.render=function(e,t,r){if(!FN(t))throw Error(mi(200));return BN(null,e,t,!1,r)},Ap.unmountComponentAtNode=function(e){if(!FN(e))throw Error(mi(40));return e._reactRootContainer?(V_(function(){BN(null,null,e,!1,function(){e._reactRootContainer=null,e[Xm]=null})}),!0):!1},Ap.unstable_batchedUpdates=Fue,Ap.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!FN(r))throw Error(mi(200));if(e==null||e._reactInternals===void 0)throw Error(mi(38));return BN(e,t,r,!1,n)},Ap.version="18.3.1-next-f1338f8080-20240426";function B5e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(B5e)}catch(e){console.error(e)}}B5e(),L4e.exports=Ap;var z5e=L4e.exports;const U5e=ec(z5e);var $5e=z5e;zle.createRoot=$5e.createRoot,zle.hydrateRoot=$5e.hydrateRoot;const Irt=':where(html[dir=ltr]),:where([data-sonner-toaster][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%)}:where(html[dir=rtl]),:where([data-sonner-toaster][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%)}:where([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:none;z-index:999999999}:where([data-sonner-toaster][data-x-position=right]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position=left]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position=center]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position=top]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position=bottom]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([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);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([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 #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position=top]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position=bottom]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([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)}:where([data-sonner-toast][data-promise=true]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([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;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:#00000014}:where([data-sonner-toast][data-theme=dark]) :where([data-cancel]){background:#ffffff4d}:where([data-sonner-toast]) :where([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;background:var(--gray1);color:var(--gray12);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}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled=true]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping=true]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position=top][data-swiping=true]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position=bottom][data-swiping=true]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping=false][data-removed=true]):before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted=true]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded=false][data-front=false]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded=false][data-front=false][data-styled=true])>*{opacity:0}:where([data-sonner-toast][data-visible=false]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted=true][data-expanded=true]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([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}:where([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}:where([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, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--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-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-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--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, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--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-rich-colors=true][data-sonner-toast][data-type=success],[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],[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],[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],[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;top:0;right:0;bottom:0;left: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:nth-child(1){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)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{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%)}',Lrt=`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}#shadow-root-container{--font-sans: "Inter", sans-serif;--font-mono: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;--background: 0 0% 100%;--foreground: 0 0% 5%;--card: 0 0% 100%;--card-foreground: 0 0% 5%;--popover: 0 0% 100%;--popover-foreground: 0 0% 5%;--primary: 340 92% 52%;--primary-foreground: 0 0% 100%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--muted: 0 0% 90%;--muted-foreground: 0 0% 36%;--accent: 0 0% 95%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--border: 0 0% 90%;--input: 0 0% 90%;--ring: 340 92% 52%;--chart-1: 12 76% 61%;--chart-2: 173 58% 39%;--chart-3: 197 37% 24%;--chart-4: 43 74% 66%;--chart-5: 27 87% 67%;--radius: .75rem;--sidebar-background: 0 0% 98%;--sidebar-foreground: 240 5.3% 26.1%;--sidebar-primary: 240 5.9% 10%;--sidebar-primary-foreground: 0 0% 98%;--sidebar-accent: 240 4.8% 95.9%;--sidebar-accent-foreground: 240 5.9% 10%;--sidebar-border: 220 13% 91%;--sidebar-ring: 217.2 91.2% 59.8%}.dark{--background: 0 0% 13%;--foreground: 0 0% 93%;--card: 0 0% 18%;--card-foreground: 210 40% 98%;--popover: 0 0% 18%;--popover-foreground: 210 40% 98%;--primary: 340 92% 52%;--primary-foreground: 0 0% 100%;--secondary: 0 0% 19%;--secondary-foreground: 210 40% 98%;--muted: 0 1% 26%;--muted-foreground: 0 0% 71%;--accent: 0 0% 26%;--accent-foreground: 210 40% 98%;--destructive: 0 62.8% 30.6%;--destructive-foreground: 210 40% 98%;--border: 0 1% 26%;--input: 0 1% 26%;--ring: 340 92% 52%;--chart-1: 220 70% 50%;--chart-2: 160 60% 45%;--chart-3: 30 80% 55%;--chart-4: 280 65% 60%;--chart-5: 340 75% 55%;--radius: .75rem;--sidebar-background: 0 0% 9%;--sidebar-foreground: 240 4.8% 95.9%;--sidebar-primary: 224.3 76.3% 48%;--sidebar-primary-foreground: 0 0% 100%;--sidebar-accent: 0 0% 13%;--sidebar-accent-foreground: 240 4.8% 95.9%;--sidebar-border: 240 3.7% 15.9%;--sidebar-ring: 217.2 91.2% 59.8%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-bottom-12{bottom:-3rem}.-left-12{left:-3rem}.-right-12{right:-3rem}.-right-2{right:-.5rem}.-top-12{top:-3rem}.-top-2{top:-.5rem}.-top-4{top:-1rem}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.bottom-8{bottom:2rem}.bottom-full{bottom:100%}.left-0{left:0}.left-1\\/2{left:50%}.left-2{left:.5rem}.left-\\[50\\%\\]{left:50%}.right-0{right:0}.right-0\\.5{right:.125rem}.right-1{right:.25rem}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.right-8{right:2rem}.top-0{top:0}.top-0\\.5{top:.125rem}.top-1\\.5{top:.375rem}.top-1\\/2{top:50%}.top-3\\.5{top:.875rem}.top-4{top:1rem}.top-\\[50\\%\\]{top:50%}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\\[20\\]{z-index:20}.col-span-1{grid-column:span 1 / span 1}.col-span-2{grid-column:span 2 / span 2}.col-span-4{grid-column:span 4 / span 4}.row-span-1{grid-row:span 1 / span 1}.row-span-2{grid-row:span 2 / span 2}.row-span-4{grid-row:span 4 / span 4}.m-0{margin:0}.m-3{margin:.75rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3\\.5{margin-left:.875rem;margin-right:.875rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0\\.5{margin-top:.125rem;margin-bottom:.125rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.-ml-1\\.5{margin-left:-.375rem}.-ml-2{margin-left:-.5rem}.-ml-4{margin-left:-1rem}.-mt-4{margin-top:-1rem}.-mt-\\[60px\\]{margin-top:-60px}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-0\\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\\.5{margin-left:.375rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\\[1\\.5px\\]{margin-top:1.5px}.mt-\\[1px\\]{margin-top:1px}.mt-\\[3px\\]{margin-top:3px}.mt-\\[5px\\]{margin-top:5px}.mt-auto{margin-top:auto}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.\\!table{display:table!important}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.\\!size-3{width:.75rem!important;height:.75rem!important}.\\!size-3\\.5{width:.875rem!important;height:.875rem!important}.\\!size-4{width:1rem!important;height:1rem!important}.\\!size-5{width:1.25rem!important;height:1.25rem!important}.\\!size-6{width:1.5rem!important;height:1.5rem!important}.\\!size-7{width:1.75rem!important;height:1.75rem!important}.size-2{width:.5rem;height:.5rem}.size-4{width:1rem;height:1rem}.size-full{width:100%;height:100%}.\\!h-5{height:1.25rem!important}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\\.5{height:.625rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\\[1px\\]{height:1px}.h-\\[300px\\]{height:300px}.h-\\[400px\\]{height:400px}.h-\\[40px\\]{height:40px}.h-\\[58px\\]{height:58px}.h-\\[60px\\]{height:60px}.h-\\[85vh\\]{height:85vh}.h-\\[min\\(730px\\,calc\\(100vh-150px\\)\\)\\]{height:min(730px,calc(100vh - 150px))}.h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.h-svh{height:100svh}.max-h-96{max-height:24rem}.max-h-\\[300px\\]{max-height:300px}.max-h-\\[450px\\]{max-height:450px}.max-h-\\[80vh\\]{max-height:80vh}.max-h-\\[85vh\\]{max-height:85vh}.max-h-\\[90vh\\]{max-height:90vh}.max-h-screen{max-height:100vh}.max-h-svh{max-height:100svh}.min-h-0{min-height:0px}.min-h-10{min-height:2.5rem}.min-h-24{min-height:6rem}.min-h-\\[100px\\]{min-height:100px}.min-h-\\[40px\\]{min-height:40px}.min-h-\\[50vh\\]{min-height:50vh}.min-h-\\[80px\\]{min-height:80px}.min-h-svh{min-height:100svh}.\\!w-5{width:1.25rem!important}.w-0{width:0px}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\\.5{width:.625rem}.w-20{width:5rem}.w-3{width:.75rem}.w-3\\.5{width:.875rem}.w-3\\/4{width:75%}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-\\[--sidebar-width\\]{width:var(--sidebar-width)}.w-\\[100px\\]{width:100px}.w-\\[150px\\]{width:150px}.w-\\[1px\\]{width:1px}.w-\\[200px\\]{width:200px}.w-\\[280px\\]{width:280px}.w-\\[80\\%\\]{width:80%}.w-\\[80vw\\]{width:80vw}.w-\\[min\\(400px\\,80vw\\)\\]{width:min(400px,80vw)}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.min-w-0{min-width:0px}.min-w-5{min-width:1.25rem}.min-w-\\[150px\\]{min-width:150px}.min-w-\\[20vw\\]{min-width:20vw}.min-w-\\[25vw\\]{min-width:25vw}.min-w-\\[36px\\]{min-width:36px}.min-w-\\[50vw\\]{min-width:50vw}.min-w-\\[8rem\\]{min-width:8rem}.min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.max-w-\\[--skeleton-width\\]{max-width:var(--skeleton-width)}.max-w-\\[100px\\]{max-width:100px}.max-w-\\[120px\\]{max-width:120px}.max-w-\\[150px\\]{max-width:150px}.max-w-\\[200px\\]{max-width:200px}.max-w-\\[21rem\\]{max-width:21rem}.max-w-\\[300px\\]{max-width:300px}.max-w-\\[600px\\]{max-width:600px}.max-w-\\[70\\%\\]{max-width:70%}.max-w-\\[80\\%\\]{max-width:80%}.max-w-\\[90vw\\]{max-width:90vw}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-none{max-width:none}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-full{flex-basis:100%}.caption-bottom{caption-side:bottom}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-px{--tw-translate-x: -1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-px{--tw-translate-y: -1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\\[-50\\%\\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-px{--tw-translate-x: 1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[-50\\%\\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-0{--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-110{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-\\[1\\.02\\]{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-gpu{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.scroll-m-20{scroll-margin:5rem}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\\[auto_auto_1fr\\]{grid-template-columns:auto auto 1fr}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overscroll-contain{overscroll-behavior:contain}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.\\!rounded-none{border-radius:0!important}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-b-md{border-bottom-right-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.rounded-tr-lg{border-top-right-radius:var(--radius)}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-l-4{border-left-width:4px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-none{border-style:none}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-900{--tw-border-opacity: 1;border-color:rgb(30 58 138 / var(--tw-border-opacity, 1))}.border-destructive{border-color:hsl(var(--destructive))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.border-indigo-200{--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity, 1))}.border-input{border-color:hsl(var(--input))}.border-orange-200{--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity, 1))}.border-primary{border-color:hsl(var(--primary))}.border-purple-200{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity, 1))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-red-900{--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity, 1))}.border-slate-300{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1))}.border-teal-200{--tw-border-opacity: 1;border-color:rgb(153 246 228 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-violet-200{--tw-border-opacity: 1;border-color:rgb(221 214 254 / var(--tw-border-opacity, 1))}.border-yellow-200{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity, 1))}.border-l-blue-400{--tw-border-opacity: 1;border-left-color:rgb(96 165 250 / var(--tw-border-opacity, 1))}.border-l-gray-400{--tw-border-opacity: 1;border-left-color:rgb(156 163 175 / var(--tw-border-opacity, 1))}.border-l-green-400{--tw-border-opacity: 1;border-left-color:rgb(74 222 128 / var(--tw-border-opacity, 1))}.border-l-indigo-400{--tw-border-opacity: 1;border-left-color:rgb(129 140 248 / var(--tw-border-opacity, 1))}.border-l-orange-400{--tw-border-opacity: 1;border-left-color:rgb(251 146 60 / var(--tw-border-opacity, 1))}.border-l-purple-400{--tw-border-opacity: 1;border-left-color:rgb(192 132 252 / var(--tw-border-opacity, 1))}.border-l-red-400{--tw-border-opacity: 1;border-left-color:rgb(248 113 113 / var(--tw-border-opacity, 1))}.border-l-slate-400{--tw-border-opacity: 1;border-left-color:rgb(148 163 184 / var(--tw-border-opacity, 1))}.border-l-teal-400{--tw-border-opacity: 1;border-left-color:rgb(45 212 191 / var(--tw-border-opacity, 1))}.border-l-transparent{border-left-color:transparent}.border-l-violet-400{--tw-border-opacity: 1;border-left-color:rgb(167 139 250 / var(--tw-border-opacity, 1))}.border-l-yellow-400{--tw-border-opacity: 1;border-left-color:rgb(250 204 21 / var(--tw-border-opacity, 1))}.border-t-transparent{border-top-color:transparent}.bg-\\[hsl\\(var\\(--background\\)\\)\\]{background-color:hsl(var(--background))}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-black\\/50{background-color:#00000080}.bg-black\\/80{background-color:#000c}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-50\\/80{background-color:#eff6ffcc}.bg-blue-950{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity, 1))}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-foreground{background-color:hsl(var(--foreground))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-50\\/80{background-color:#f9fafbcc}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-green-50\\/80{background-color:#f0fdf4cc}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-indigo-50{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity, 1))}.bg-indigo-50\\/80{background-color:#eef2ffcc}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\\/50{background-color:hsl(var(--muted) / .5)}.bg-orange-50{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity, 1))}.bg-orange-50\\/80{background-color:#fff7edcc}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-purple-50{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity, 1))}.bg-purple-50\\/80{background-color:#faf5ffcc}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-50\\/80{background-color:#fef2f2cc}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-950{--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity, 1))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.bg-slate-50\\/80{background-color:#f8fafccc}.bg-teal-50{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity, 1))}.bg-teal-50\\/80{background-color:#f0fdfacc}.bg-transparent{background-color:transparent}.bg-violet-50{--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity, 1))}.bg-violet-50\\/80{background-color:#f5f3ffcc}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity, 1))}.bg-yellow-50\\/80{background-color:#fefce8cc}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.bg-gradient-to-l{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.from-\\[hsl\\(var\\(--sidebar-background\\)\\)\\]{--tw-gradient-from: hsl(var(--sidebar-background)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--sidebar-background) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.fill-current{fill:currentColor}.fill-destructive{fill:hsl(var(--destructive))}.fill-primary{fill:hsl(var(--primary))}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-2\\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-\\[1px\\]{padding:1px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.px-\\[0\\.3rem\\]{padding-left:.3rem;padding-right:.3rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\\[0\\.2rem\\]{padding-top:.2rem;padding-bottom:.2rem}.py-\\[1px\\]{padding-top:1px;padding-bottom:1px}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-2{padding-left:.5rem}.pl-2\\.5{padding-left:.625rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pl-8{padding-left:2rem}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-2\\.5{padding-right:.625rem}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-\\[1px\\]{padding-top:1px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\\[0\\.7rem\\]{font-size:.7rem}.text-\\[13px\\]{font-size:13px}.text-\\[8px\\]{font-size:8px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-7{line-height:1.75rem}.leading-none{line-height:1}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-\\[\\#08f\\]{--tw-text-opacity: 1;color:rgb(0 136 255 / var(--tw-text-opacity, 1))}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-blue-200{--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity, 1))}.text-blue-300{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\\/70{color:hsl(var(--foreground) / .7)}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity, 1))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity, 1))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-muted-foreground\\/20{color:hsl(var(--muted-foreground) / .2)}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity, 1))}.text-orange-700{--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity, 1))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity, 1))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity, 1))}.text-red-200{--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity, 1))}.text-red-300{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.text-teal-500{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity, 1))}.text-teal-700{--tw-text-opacity: 1;color:rgb(15 118 110 / var(--tw-text-opacity, 1))}.text-violet-500{--tw-text-opacity: 1;color:rgb(139 92 246 / var(--tw-text-opacity, 1))}.text-violet-700{--tw-text-opacity: 1;color:rgb(109 40 217 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity, 1))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity, 1))}.no-underline{text-decoration-line:none}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0_0_0_1px_hsl\\(var\\(--sidebar-border\\)\\)\\]{--tw-shadow: 0 0 0 1px hsl(var(--sidebar-border));--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.brightness-\\[0\\.2\\]{--tw-brightness: brightness(.2);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[color\\,box-shadow\\]{transition-property:color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[left\\,right\\,width\\]{transition-property:left,right,width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[margin\\,opa\\]{transition-property:margin,opa;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\,height\\,padding\\]{transition-property:width,height,padding;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-none{transition-property:none}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.delay-100{transition-delay:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{transition-timing-function:linear}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.duration-150{animation-duration:.15s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.delay-100{animation-delay:.1s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{animation-timing-function:linear}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.running{animation-play-state:running}#cl-shadow-root{margin:0;padding:0;font-family:var(--font-sans);color:hsl(var(--foreground));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#cl-shadow-root code{font-family:var(--font-mono)}@keyframes loading-shimmer{0%{background-position:-100% top}to{background-position:250% top}}#cl-shadow-root .loading-shimmer{background-position:-100% top;text-fill-color:transparent;-webkit-text-fill-color:transparent;animation-delay:0s;animation-duration:4s;animation-iteration-count:infinite;animation-name:loading-shimmer;background:hsl(var(--muted)) gradient(linear,100% 0,0 0,from(hsl(var(--muted))),color-stop(.5,hsl(var(--foreground))),to(hsl(var(--muted))));background:hsl(var(--muted)) -webkit-gradient(linear,100% 0,0 0,from(hsl(var(--muted))),color-stop(.5,hsl(var(--foreground))),to(hsl(var(--muted))));background-clip:text;-webkit-background-clip:text;background-repeat:no-repeat;background-size:50% 200%}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-transparent::file-selector-button{background-color:transparent}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-medium::file-selector-button{font-weight:500}.file\\:text-foreground::file-selector-button{color:hsl(var(--foreground))}.placeholder\\:text-base::-moz-placeholder{font-size:1rem;line-height:1.5rem}.placeholder\\:text-base::placeholder{font-size:1rem;line-height:1.5rem}.placeholder\\:font-medium::-moz-placeholder{font-weight:500}.placeholder\\:font-medium::placeholder{font-weight:500}.placeholder\\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-inset-2:after{content:var(--tw-content);top:-.5rem;right:-.5rem;bottom:-.5rem;left:-.5rem}.after\\:inset-0:after{content:var(--tw-content);top:0;right:0;bottom:0;left:0}.after\\:inset-y-0:after{content:var(--tw-content);top:0;bottom:0}.after\\:bottom-\\[-2px\\]:after{content:var(--tw-content);bottom:-2px}.after\\:left-1\\/2:after{content:var(--tw-content);left:50%}.after\\:top-1\\/2:after{content:var(--tw-content);top:50%}.after\\:z-0:after{content:var(--tw-content);z-index:0}.after\\:flex:after{content:var(--tw-content);display:flex}.after\\:h-\\[2px\\]:after{content:var(--tw-content);height:2px}.after\\:w-1:after{content:var(--tw-content);width:.25rem}.after\\:w-\\[2px\\]:after{content:var(--tw-content);width:2px}.after\\:w-\\[30\\%\\]:after{content:var(--tw-content);width:30%}.after\\:-translate-x-1\\/2:after{content:var(--tw-content);--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\\:items-center:after{content:var(--tw-content);align-items:center}.after\\:rounded-\\[1px\\]:after{content:var(--tw-content);border-radius:1px}.after\\:border-t:after{content:var(--tw-content);border-top-width:1px}.after\\:border-border:after{content:var(--tw-content);border-color:hsl(var(--border))}.after\\:content-\\[\\"\\"\\]:after{--tw-content: "";content:var(--tw-content)}.first\\:mt-0:first-child{margin-top:0}.focus-within\\:ring-2:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\\:ring-ring:focus-within{--tw-ring-color: hsl(var(--ring))}.focus-within\\:ring-offset-2:focus-within{--tw-ring-offset-width: 2px}.hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\\:bg-black\\/70:hover{background-color:#000000b3}.hover\\:bg-card:hover{background-color:hsl(var(--card))}.hover\\:bg-destructive\\/80:hover{background-color:hsl(var(--destructive) / .8)}.hover\\:bg-destructive\\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\\:bg-muted\\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\\:bg-primary\\/80:hover{background-color:hsl(var(--primary) / .8)}.hover\\:bg-primary\\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\\:bg-secondary\\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\\:text-foreground:hover{color:hsl(var(--foreground))}.hover\\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\\:text-primary:hover{color:hsl(var(--primary))}.hover\\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:no-underline:hover{text-decoration-line:none}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-\\[0_0_0_1px_hsl\\(var\\(--sidebar-accent\\)\\)\\]:hover{--tw-shadow: 0 0 0 1px hsl(var(--sidebar-accent));--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\\:text-red-500:focus{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\\:ring-white:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity, 1))}.focus\\:ring-offset-0:focus{--tw-ring-offset-width: 0px}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\\:border-ring:focus-visible{border-color:hsl(var(--ring))}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:ring-0:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-\\[3px\\]:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color: hsl(var(--ring) / .5)}.focus-visible\\:ring-offset-0:focus-visible{--tw-ring-offset-width: 0px}.focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width: 1px}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.group\\/menu-item:focus-within .group-focus-within\\/menu-item\\:opacity-100{opacity:1}.group:hover .group-hover\\:visible{visibility:visible}.group\\/menu-item:hover .group-hover\\/menu-item\\:opacity-100,.group\\/thread:hover .group-hover\\/thread\\:opacity-100{opacity:1}.group.toaster .group-\\[\\.toaster\\]\\:border-border{border-color:hsl(var(--border))}.group.toast .group-\\[\\.toast\\]\\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\\[\\.toast\\]\\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\\[\\.toaster\\]\\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\\[\\.toast\\]\\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\\[\\.toast\\]\\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\\[\\.toaster\\]\\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\\[\\.toaster\\]\\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.peer:disabled~.peer-disabled\\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\\:opacity-70{opacity:.7}.group\\/menu-item:has([data-sidebar=menu-action]) .group-has-\\[\\[data-sidebar\\=menu-action\\]\\]\\/menu-item\\:pr-8{padding-right:2rem}.aria-disabled\\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}.data-\\[disabled\\=true\\]\\:pointer-events-none[data-disabled=true],.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[state\\=active\\]\\:flex[data-state=active]{display:flex}.data-\\[panel-group-direction\\=vertical\\]\\:h-px[data-panel-group-direction=vertical]{height:1px}.data-\\[panel-group-direction\\=vertical\\]\\:w-full[data-panel-group-direction=vertical]{width:100%}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[state\\=checked\\]\\:translate-x-5[data-state=checked]{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\\[state\\=closed\\]\\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\\[state\\=open\\]\\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\\[disabled\\]\\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-\\[panel-group-direction\\=vertical\\]\\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\\[selected\\=\\'true\\'\\]\\:bg-accent[data-selected=true]{background-color:hsl(var(--accent))}.data-\\[state\\=active\\]\\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\\[state\\=open\\]\\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\\[state\\=selected\\]\\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\\[active\\=true\\]\\:font-medium[data-active=true]{font-weight:500}.data-\\[selected\\=true\\]\\:text-accent-foreground[data-selected=true]{color:hsl(var(--accent-foreground))}.data-\\[state\\=active\\]\\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\\[state\\=checked\\]\\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\\[state\\=open\\]\\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\\[disabled\\=true\\]\\:opacity-50[data-disabled=true],.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[state\\=open\\]\\:opacity-100[data-state=open]{opacity:1}.data-\\[state\\=active\\]\\:shadow-sm[data-state=active]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\\[state\\=closed\\]\\:duration-300[data-state=closed]{transition-duration:.3s}.data-\\[state\\=open\\]\\:duration-500[data-state=open]{transition-duration:.5s}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\\[state\\=closed\\]\\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\\[state\\=closed\\]\\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\\[state\\=closed\\]\\:slide-out-to-left-1\\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\\[state\\=closed\\]\\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x: 100%}.data-\\[state\\=closed\\]\\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\\[state\\=closed\\]\\:slide-out-to-top-\\[48\\%\\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\\[state\\=open\\]\\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\\[state\\=open\\]\\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\\[state\\=open\\]\\:slide-in-from-left-1\\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\\[state\\=open\\]\\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\\[state\\=open\\]\\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\\[state\\=open\\]\\:slide-in-from-top-\\[48\\%\\][data-state=open]{--tw-enter-translate-y: -48%}.data-\\[state\\=closed\\]\\:duration-300[data-state=closed]{animation-duration:.3s}.data-\\[state\\=open\\]\\:duration-500[data-state=open]{animation-duration:.5s}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);left:0}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content);height:.25rem}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content);width:100%}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:-translate-y-1\\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:translate-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:left-\\[calc\\(var\\(--sidebar-width\\)\\*-1\\)\\]{left:calc(var(--sidebar-width) * -1)}.group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:right-\\[calc\\(var\\(--sidebar-width\\)\\*-1\\)\\]{right:calc(var(--sidebar-width) * -1)}.group[data-side=left] .group-data-\\[side\\=left\\]\\:-right-4{right:-1rem}.group[data-side=right] .group-data-\\[side\\=right\\]\\:left-0{left:0}.group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:-mt-8{margin-top:-2rem}.group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:hidden{display:none}.group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:\\!size-8{width:2rem!important;height:2rem!important}.group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:w-\\[--sidebar-width-icon\\]{width:var(--sidebar-width-icon)}.group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:w-\\[calc\\(var\\(--sidebar-width-icon\\)_\\+_theme\\(spacing\\.4\\)\\)\\]{width:calc(var(--sidebar-width-icon) + 1rem)}.group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:w-\\[calc\\(var\\(--sidebar-width-icon\\)_\\+_theme\\(spacing\\.4\\)_\\+2px\\)\\]{width:calc(var(--sidebar-width-icon) + 1rem + 2px)}.group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:w-0{width:0px}.group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-side=right] .group-data-\\[side\\=right\\]\\:rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:overflow-hidden{overflow:hidden}.group[data-variant=floating] .group-data-\\[variant\\=floating\\]\\:rounded-lg{border-radius:var(--radius)}.group[data-variant=floating] .group-data-\\[variant\\=floating\\]\\:border{border-width:1px}.group[data-side=left] .group-data-\\[side\\=left\\]\\:border-r{border-right-width:1px}.group[data-side=right] .group-data-\\[side\\=right\\]\\:border-l{border-left-width:1px}.group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:\\!p-0{padding:0!important}.group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:\\!p-2{padding:.5rem!important}.group[data-collapsible=icon] .group-data-\\[collapsible\\=icon\\]\\:opacity-0{opacity:0}.group[data-variant=floating] .group-data-\\[variant\\=floating\\]\\:shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.group[data-collapsible=offcanvas] .group-data-\\[collapsible\\=offcanvas\\]\\:after\\:left-full:after{content:var(--tw-content);left:100%}.peer\\/menu-button[data-size=default]~.peer-data-\\[size\\=default\\]\\/menu-button\\:top-1\\.5{top:.375rem}.peer\\/menu-button[data-size=lg]~.peer-data-\\[size\\=lg\\]\\/menu-button\\:top-2\\.5{top:.625rem}.peer\\/menu-button[data-size=sm]~.peer-data-\\[size\\=sm\\]\\/menu-button\\:top-1{top:.25rem}.peer[data-variant=inset]~.peer-data-\\[variant\\=inset\\]\\:min-h-\\[calc\\(100svh-theme\\(spacing\\.4\\)\\)\\]{min-height:calc(100svh - 1rem)}.dark\\:-rotate-90:is(.dark *){--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\\:rotate-0:is(.dark *){--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\\:scale-0:is(.dark *){--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\\:scale-100:is(.dark *){--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\\:border-blue-600\\/30:is(.dark *){border-color:#2563eb4d}.dark\\:border-blue-900:is(.dark *){--tw-border-opacity: 1;border-color:rgb(30 58 138 / var(--tw-border-opacity, 1))}.dark\\:border-gray-500\\/40:is(.dark *){border-color:#6b728066}.dark\\:border-green-600\\/30:is(.dark *){border-color:#16a34a4d}.dark\\:border-indigo-600\\/30:is(.dark *){border-color:#4f46e54d}.dark\\:border-orange-600\\/30:is(.dark *){border-color:#ea580c4d}.dark\\:border-purple-600\\/30:is(.dark *){border-color:#9333ea4d}.dark\\:border-red-600\\/30:is(.dark *){border-color:#dc26264d}.dark\\:border-red-900:is(.dark *){--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity, 1))}.dark\\:border-slate-500\\/40:is(.dark *){border-color:#64748b66}.dark\\:border-teal-600\\/30:is(.dark *){border-color:#0d94884d}.dark\\:border-violet-600\\/30:is(.dark *){border-color:#7c3aed4d}.dark\\:border-yellow-600\\/30:is(.dark *){border-color:#ca8a044d}.dark\\:border-l-blue-500:is(.dark *){--tw-border-opacity: 1;border-left-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.dark\\:border-l-gray-500:is(.dark *){--tw-border-opacity: 1;border-left-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.dark\\:border-l-green-500:is(.dark *){--tw-border-opacity: 1;border-left-color:rgb(34 197 94 / var(--tw-border-opacity, 1))}.dark\\:border-l-indigo-500:is(.dark *){--tw-border-opacity: 1;border-left-color:rgb(99 102 241 / var(--tw-border-opacity, 1))}.dark\\:border-l-orange-500:is(.dark *){--tw-border-opacity: 1;border-left-color:rgb(249 115 22 / var(--tw-border-opacity, 1))}.dark\\:border-l-purple-500:is(.dark *){--tw-border-opacity: 1;border-left-color:rgb(168 85 247 / var(--tw-border-opacity, 1))}.dark\\:border-l-red-500:is(.dark *){--tw-border-opacity: 1;border-left-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.dark\\:border-l-slate-500:is(.dark *){--tw-border-opacity: 1;border-left-color:rgb(100 116 139 / var(--tw-border-opacity, 1))}.dark\\:border-l-teal-500:is(.dark *){--tw-border-opacity: 1;border-left-color:rgb(20 184 166 / var(--tw-border-opacity, 1))}.dark\\:border-l-violet-500:is(.dark *){--tw-border-opacity: 1;border-left-color:rgb(139 92 246 / var(--tw-border-opacity, 1))}.dark\\:border-l-yellow-500:is(.dark *){--tw-border-opacity: 1;border-left-color:rgb(234 179 8 / var(--tw-border-opacity, 1))}.dark\\:bg-blue-800\\/30:is(.dark *){background-color:#1e40af4d}.dark\\:bg-blue-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity, 1))}.dark\\:bg-card:is(.dark *){background-color:hsl(var(--card))}.dark\\:bg-gray-800\\/30:is(.dark *){background-color:#1f29374d}.dark\\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.dark\\:bg-green-800\\/30:is(.dark *){background-color:#1665344d}.dark\\:bg-green-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity, 1))}.dark\\:bg-indigo-800\\/30:is(.dark *){background-color:#3730a34d}.dark\\:bg-indigo-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity, 1))}.dark\\:bg-input\\/30:is(.dark *){background-color:hsl(var(--input) / .3)}.dark\\:bg-orange-900\\/30:is(.dark *){background-color:#7c2d124d}.dark\\:bg-orange-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity, 1))}.dark\\:bg-purple-800\\/20:is(.dark *){background-color:#6b21a833}.dark\\:bg-purple-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity, 1))}.dark\\:bg-red-900\\/30:is(.dark *){background-color:#7f1d1d4d}.dark\\:bg-red-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity, 1))}.dark\\:bg-slate-800\\/30:is(.dark *){background-color:#1e293b4d}.dark\\:bg-slate-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1))}.dark\\:bg-teal-800\\/30:is(.dark *){background-color:#115e594d}.dark\\:bg-teal-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity, 1))}.dark\\:bg-violet-800\\/20:is(.dark *){background-color:#5b21b633}.dark\\:bg-violet-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity, 1))}.dark\\:bg-yellow-800\\/30:is(.dark *){background-color:#854d0e4d}.dark\\:bg-yellow-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity, 1))}.dark\\:text-blue-200:is(.dark *){--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity, 1))}.dark\\:text-blue-300:is(.dark *){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.dark\\:text-blue-400:is(.dark *){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.dark\\:text-gray-200:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.dark\\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.dark\\:text-green-200:is(.dark *){--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity, 1))}.dark\\:text-green-400:is(.dark *){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.dark\\:text-indigo-200:is(.dark *){--tw-text-opacity: 1;color:rgb(199 210 254 / var(--tw-text-opacity, 1))}.dark\\:text-indigo-400:is(.dark *){--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.dark\\:text-orange-200:is(.dark *){--tw-text-opacity: 1;color:rgb(254 215 170 / var(--tw-text-opacity, 1))}.dark\\:text-orange-400:is(.dark *){--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity, 1))}.dark\\:text-purple-200:is(.dark *){--tw-text-opacity: 1;color:rgb(233 213 255 / var(--tw-text-opacity, 1))}.dark\\:text-purple-400:is(.dark *){--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity, 1))}.dark\\:text-red-200:is(.dark *){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity, 1))}.dark\\:text-red-300:is(.dark *){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity, 1))}.dark\\:text-red-400:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.dark\\:text-slate-200:is(.dark *){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity, 1))}.dark\\:text-slate-400:is(.dark *){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.dark\\:text-teal-200:is(.dark *){--tw-text-opacity: 1;color:rgb(153 246 228 / var(--tw-text-opacity, 1))}.dark\\:text-teal-400:is(.dark *){--tw-text-opacity: 1;color:rgb(45 212 191 / var(--tw-text-opacity, 1))}.dark\\:text-violet-200:is(.dark *){--tw-text-opacity: 1;color:rgb(221 214 254 / var(--tw-text-opacity, 1))}.dark\\:text-violet-400:is(.dark *){--tw-text-opacity: 1;color:rgb(167 139 250 / var(--tw-text-opacity, 1))}.dark\\:text-yellow-200:is(.dark *){--tw-text-opacity: 1;color:rgb(254 240 138 / var(--tw-text-opacity, 1))}.dark\\:text-yellow-400:is(.dark *){--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.hover\\:dark\\:bg-muted:is(.dark *):hover{background-color:hsl(var(--muted))}@media not all and (min-width: 640px){.max-sm\\:hidden{display:none}}@media (min-width: 640px){.sm\\:mt-0{margin-top:0}.sm\\:flex{display:flex}.sm\\:hidden{display:none}.sm\\:max-w-lg{max-width:32rem}.sm\\:max-w-md{max-width:28rem}.sm\\:max-w-sm{max-width:24rem}.sm\\:flex-row{flex-direction:row}.sm\\:justify-end{justify-content:flex-end}.sm\\:gap-0{gap:0px}.sm\\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\\:rounded-lg{border-radius:var(--radius)}.sm\\:text-left{text-align:left}}@media (min-width: 768px){.md\\:block{display:block}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:max-w-md{max-width:28rem}.md\\:justify-start{justify-content:flex-start}.md\\:p-10{padding:2.5rem}.md\\:text-sm{font-size:.875rem;line-height:1.25rem}.md\\:opacity-0{opacity:0}.after\\:md\\:hidden:after{content:var(--tw-content);display:none}.peer[data-variant=inset]~.md\\:peer-data-\\[variant\\=inset\\]\\:m-2{margin:.5rem}.peer[data-state=collapsed][data-variant=inset]~.md\\:peer-data-\\[state\\=collapsed\\]\\:peer-data-\\[variant\\=inset\\]\\:ml-2{margin-left:.5rem}.peer[data-variant=inset]~.md\\:peer-data-\\[variant\\=inset\\]\\:ml-0{margin-left:0}.peer[data-variant=inset]~.md\\:peer-data-\\[variant\\=inset\\]\\:rounded-xl{border-radius:.75rem}.peer[data-variant=inset]~.md\\:peer-data-\\[variant\\=inset\\]\\:shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}}@media (min-width: 1024px){.lg\\:block{display:block}.lg\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\\:text-5xl{font-size:3rem;line-height:1}}.\\[\\&\\:has\\(\\[role\\=checkbox\\]\\)\\]\\:pr-0:has([role=checkbox]){padding-right:0}.\\[\\&\\:not\\(\\:first-child\\)\\]\\:mt-2:not(:first-child){margin-top:.5rem}.\\[\\&\\:not\\(\\:first-child\\)\\]\\:mt-4:not(:first-child){margin-top:1rem}.\\[\\&\\:not\\(\\:last-child\\)\\]\\:mb-2:not(:last-child){margin-bottom:.5rem}.\\[\\&\\>button\\]\\:hidden>button{display:none}.\\[\\&\\>li\\]\\:mt-1>li{margin-top:.25rem}.\\[\\&\\>span\\:last-child\\]\\:truncate>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.\\[\\&\\>span\\]\\:line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.\\[\\&\\>svg\\]\\:size-4>svg{width:1rem;height:1rem}.\\[\\&\\>svg\\]\\:shrink-0>svg{flex-shrink:0}.\\[\\&\\>tr\\]\\:last\\:border-b-0:last-child>tr{border-bottom-width:0px}.\\[\\&\\[data-panel-group-direction\\=vertical\\]\\>div\\]\\:rotate-90[data-panel-group-direction=vertical]>div{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\\[\\&\\[data-state\\=open\\]\\>svg\\]\\:rotate-180[data-state=open]>svg{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:py-1\\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:font-medium [cmdk-group-heading]{font-weight:500}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\\[\\&_\\[cmdk-group\\]\\:not\\(\\[hidden\\]\\)_\\~\\[cmdk-group\\]\\]\\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\\[\\&_\\[cmdk-group\\]\\]\\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\\[\\&_\\[cmdk-input-wrapper\\]_svg\\]\\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\\[\\&_\\[cmdk-input-wrapper\\]_svg\\]\\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\\[\\&_\\[cmdk-input\\]\\]\\:h-12 [cmdk-input]{height:3rem}.\\[\\&_\\[cmdk-item\\]\\]\\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\\[\\&_\\[cmdk-item\\]\\]\\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\\[\\&_\\[cmdk-item\\]_svg\\]\\:h-5 [cmdk-item] svg{height:1.25rem}.\\[\\&_\\[cmdk-item\\]_svg\\]\\:w-5 [cmdk-item] svg{width:1.25rem}.\\[\\&_div\\]\\:mt-0 div{margin-top:0}.\\[\\&_div\\]\\:leading-snug div{line-height:1.375}.\\[\\&_p\\]\\:m-0 p{margin:0}.\\[\\&_p\\]\\:leading-snug p{line-height:1.375}.\\[\\&_strong\\]\\:font-semibold strong{font-weight:600}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-4 svg{width:1rem;height:1rem}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_tr\\:last-child\\]\\:border-0 tr:last-child{border-width:0px}.\\[\\&_tr\\]\\:border-b tr{border-bottom-width:1px}[data-side=left][data-collapsible=offcanvas] .\\[\\[data-side\\=left\\]\\[data-collapsible\\=offcanvas\\]_\\&\\]\\:-right-2{right:-.5rem}[data-side=left][data-state=collapsed] .\\[\\[data-side\\=left\\]\\[data-state\\=collapsed\\]_\\&\\]\\:cursor-e-resize{cursor:e-resize}[data-side=left] .\\[\\[data-side\\=left\\]_\\&\\]\\:cursor-w-resize{cursor:w-resize}[data-side=right][data-collapsible=offcanvas] .\\[\\[data-side\\=right\\]\\[data-collapsible\\=offcanvas\\]_\\&\\]\\:-left-2{left:-.5rem}[data-side=right][data-state=collapsed] .\\[\\[data-side\\=right\\]\\[data-state\\=collapsed\\]_\\&\\]\\:cursor-w-resize{cursor:w-resize}[data-side=right] .\\[\\[data-side\\=right\\]_\\&\\]\\:cursor-e-resize{cursor:e-resize}`,Ort="pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#23241f;color:#f8f8f2}.hljs-tag,.hljs-subst{color:#f8f8f2}.hljs-strong,.hljs-emphasis{color:#a8a8a2}.hljs-bullet,.hljs-quote,.hljs-number,.hljs-regexp,.hljs-literal,.hljs-link{color:#ae81ff}.hljs-code,.hljs-title,.hljs-section,.hljs-selector-class{color:#a6e22e}.hljs-strong{font-weight:700}.hljs-emphasis{font-style:italic}.hljs-keyword,.hljs-selector-tag,.hljs-name,.hljs-attr{color:#f92672}.hljs-symbol,.hljs-attribute{color:#66d9ef}.hljs-params,.hljs-title.class_,.hljs-class .hljs-title{color:#f8f8f2}.hljs-string,.hljs-type,.hljs-built_in,.hljs-selector-id,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-addition,.hljs-variable,.hljs-template-variable{color:#e6db74}.hljs-comment,.hljs-deletion,.hljs-meta{color:#75715e}";var Drt=e=>{switch(e){case"success":return Brt;case"info":return Urt;case"warning":return zrt;case"error":return $rt;default:return null}},Prt=Array(12).fill(0),Frt=({visible:e,className:t})=>wn.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},wn.createElement("div",{className:"sonner-spinner"},Prt.map((r,n)=>wn.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),Brt=wn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},wn.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"})),zrt=wn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},wn.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"})),Urt=wn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},wn.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"})),$rt=wn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},wn.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"})),Hrt=wn.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"},wn.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),wn.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Vrt=()=>{let[e,t]=wn.useState(document.hidden);return wn.useEffect(()=>{let r=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),e},Wue=1,Grt=class{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{let r=this.subscribers.indexOf(t);this.subscribers.splice(r,1)}),this.publish=t=>{this.subscribers.forEach(r=>r(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var r;let{message:n,...o}=t,m=typeof(t==null?void 0:t.id)=="number"||((r=t.id)==null?void 0:r.length)>0?t.id:Wue++,u=this.toasts.find(a=>a.id===m),h=t.dismissible===void 0?!0:t.dismissible;return u?this.toasts=this.toasts.map(a=>a.id===m?(this.publish({...a,...t,id:m,title:n}),{...a,...t,id:m,dismissible:h,title:n}):a):this.addToast({title:n,...o,dismissible:h,id:m}),m},this.dismiss=t=>(t||this.toasts.forEach(r=>{this.subscribers.forEach(n=>n({id:r.id,dismiss:!0}))}),this.subscribers.forEach(r=>r({id:t,dismiss:!0})),t),this.message=(t,r)=>this.create({...r,message:t}),this.error=(t,r)=>this.create({...r,message:t,type:"error"}),this.success=(t,r)=>this.create({...r,type:"success",message:t}),this.info=(t,r)=>this.create({...r,type:"info",message:t}),this.warning=(t,r)=>this.create({...r,type:"warning",message:t}),this.loading=(t,r)=>this.create({...r,type:"loading",message:t}),this.promise=(t,r)=>{if(!r)return;let n;r.loading!==void 0&&(n=this.create({...r,promise:t,type:"loading",message:r.loading,description:typeof r.description!="function"?r.description:void 0}));let o=t instanceof Promise?t:t(),m=n!==void 0,u,h=o.then(async l=>{if(u=["resolve",l],wn.isValidElement(l))m=!1,this.create({id:n,type:"default",message:l});else if(Yrt(l)&&!l.ok){m=!1;let v=typeof r.error=="function"?await r.error(`HTTP error! status: ${l.status}`):r.error,i=typeof r.description=="function"?await r.description(`HTTP error! status: ${l.status}`):r.description;this.create({id:n,type:"error",message:v,description:i})}else if(r.success!==void 0){m=!1;let v=typeof r.success=="function"?await r.success(l):r.success,i=typeof r.description=="function"?await r.description(l):r.description;this.create({id:n,type:"success",message:v,description:i})}}).catch(async l=>{if(u=["reject",l],r.error!==void 0){m=!1;let v=typeof r.error=="function"?await r.error(l):r.error,i=typeof r.description=="function"?await r.description(l):r.description;this.create({id:n,type:"error",message:v,description:i})}}).finally(()=>{var l;m&&(this.dismiss(n),n=void 0),(l=r.finally)==null||l.call(r)}),a=()=>new Promise((l,v)=>h.then(()=>u[0]==="reject"?v(u[1]):l(u[1])).catch(v));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(t,r)=>{let n=(r==null?void 0:r.id)||Wue++;return this.create({jsx:t(n),id:n,...r}),n},this.subscribers=[],this.toasts=[]}},Ch=new Grt,jrt=(e,t)=>{let r=(t==null?void 0:t.id)||Wue++;return Ch.addToast({title:e,...t,id:r}),r},Yrt=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Wrt=jrt,Krt=()=>Ch.toasts,Sl=Object.assign(Wrt,{success:Ch.success,info:Ch.info,warning:Ch.warning,error:Ch.error,custom:Ch.custom,message:Ch.message,promise:Ch.promise,dismiss:Ch.dismiss,loading:Ch.loading},{getHistory:Krt});function Xrt(e,{insertAt:t}={}){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t==="top"&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}Xrt(`:where(html[dir="ltr"]),:where([data-sonner-toaster][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%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][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%)}:where([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:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([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);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([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 #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([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)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([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;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([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);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-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([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}:where([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}:where([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, 0px));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:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--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-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-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--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, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--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-rich-colors=true][data-sonner-toast][data-type=success],[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],[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],[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],[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:nth-child(1){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)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{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 UN(e){return e.label!==void 0}var qrt=3,Zrt="32px",H5e=4e3,Qrt=356,Jrt=14,ent=20,tnt=200;function rnt(...e){return e.filter(Boolean).join(" ")}var nnt=e=>{var t,r,n,o,m,u,h,a,l,v,i;let{invert:S,toast:g,unstyled:p,interacting:_,setHeights:c,visibleToasts:s,heights:d,index:f,toasts:b,expanded:x,removeToast:y,defaultRichColors:C,closeButton:w,style:R,cancelButtonStyle:A,actionButtonStyle:E,className:k="",descriptionClassName:L="",duration:I,position:P,gap:M,loadingIcon:F,expandByDefault:N,classNames:T,icons:D,closeButtonAriaLabel:O="Close toast",pauseWhenPageIsHidden:U,cn:B}=e,[Y,z]=wn.useState(!1),[V,j]=wn.useState(!1),[G,W]=wn.useState(!1),[X,Q]=wn.useState(!1),[ae,ie]=wn.useState(!1),[he,J]=wn.useState(0),[Z,le]=wn.useState(0),K=wn.useRef(g.duration||I||H5e),te=wn.useRef(null),ce=wn.useRef(null),re=f===0,ee=f+1<=s,de=g.type,oe=g.dismissible!==!1,fe=g.className||"",me=g.descriptionClassName||"",Te=wn.useMemo(()=>d.findIndex(et=>et.toastId===g.id)||0,[d,g.id]),we=wn.useMemo(()=>{var et;return(et=g.closeButton)!=null?et:w},[g.closeButton,w]);wn.useMemo(()=>g.duration||I||H5e,[g.duration,I]);let Be=wn.useRef(0),Ae=wn.useRef(0),Re=wn.useRef(0),be=wn.useRef(null),[Pe,Ke]=P.split("-"),ze=wn.useMemo(()=>d.reduce((et,pt,vt)=>vt>=Te?et:et+pt.height,0),[d,Te]),Fe=Vrt(),We=g.invert||S,lt=de==="loading";Ae.current=wn.useMemo(()=>Te*M+ze,[Te,ze]),wn.useEffect(()=>{z(!0)},[]),wn.useEffect(()=>{let et=ce.current;if(et){let pt=et.getBoundingClientRect().height;return le(pt),c(vt=>[{toastId:g.id,height:pt,position:g.position},...vt]),()=>c(vt=>vt.filter(_t=>_t.toastId!==g.id))}},[c,g.id]),wn.useLayoutEffect(()=>{if(!Y)return;let et=ce.current,pt=et.style.height;et.style.height="auto";let vt=et.getBoundingClientRect().height;et.style.height=pt,le(vt),c(_t=>_t.find(bt=>bt.toastId===g.id)?_t.map(bt=>bt.toastId===g.id?{...bt,height:vt}:bt):[{toastId:g.id,height:vt,position:g.position},..._t])},[Y,g.title,g.description,c,g.id]);let ht=wn.useCallback(()=>{j(!0),J(Ae.current),c(et=>et.filter(pt=>pt.toastId!==g.id)),setTimeout(()=>{y(g)},tnt)},[g,y,c,Ae]);wn.useEffect(()=>{if(g.promise&&de==="loading"||g.duration===1/0||g.type==="loading")return;let et;return x||_||U&&Fe?(()=>{if(Re.current<Be.current){let pt=new Date().getTime()-Be.current;K.current=K.current-pt}Re.current=new Date().getTime()})():K.current!==1/0&&(Be.current=new Date().getTime(),et=setTimeout(()=>{var pt;(pt=g.onAutoClose)==null||pt.call(g,g),ht()},K.current)),()=>clearTimeout(et)},[x,_,g,de,U,Fe,ht]),wn.useEffect(()=>{g.delete&&ht()},[ht,g.delete]);function tt(){var et,pt,vt;return D!=null&&D.loading?wn.createElement("div",{className:B(T==null?void 0:T.loader,(et=g==null?void 0:g.classNames)==null?void 0:et.loader,"sonner-loader"),"data-visible":de==="loading"},D.loading):F?wn.createElement("div",{className:B(T==null?void 0:T.loader,(pt=g==null?void 0:g.classNames)==null?void 0:pt.loader,"sonner-loader"),"data-visible":de==="loading"},F):wn.createElement(Frt,{className:B(T==null?void 0:T.loader,(vt=g==null?void 0:g.classNames)==null?void 0:vt.loader),visible:de==="loading"})}return wn.createElement("li",{tabIndex:0,ref:ce,className:B(k,fe,T==null?void 0:T.toast,(t=g==null?void 0:g.classNames)==null?void 0:t.toast,T==null?void 0:T.default,T==null?void 0:T[de],(r=g==null?void 0:g.classNames)==null?void 0:r[de]),"data-sonner-toast":"","data-rich-colors":(n=g.richColors)!=null?n:C,"data-styled":!(g.jsx||g.unstyled||p),"data-mounted":Y,"data-promise":!!g.promise,"data-swiped":ae,"data-removed":V,"data-visible":ee,"data-y-position":Pe,"data-x-position":Ke,"data-index":f,"data-front":re,"data-swiping":G,"data-dismissible":oe,"data-type":de,"data-invert":We,"data-swipe-out":X,"data-expanded":!!(x||N&&Y),style:{"--index":f,"--toasts-before":f,"--z-index":b.length-f,"--offset":`${V?he:Ae.current}px`,"--initial-height":N?"auto":`${Z}px`,...R,...g.style},onPointerDown:et=>{lt||!oe||(te.current=new Date,J(Ae.current),et.target.setPointerCapture(et.pointerId),et.target.tagName!=="BUTTON"&&(W(!0),be.current={x:et.clientX,y:et.clientY}))},onPointerUp:()=>{var et,pt,vt,_t;if(X||!oe)return;be.current=null;let bt=Number(((et=ce.current)==null?void 0:et.style.getPropertyValue("--swipe-amount").replace("px",""))||0),Rt=new Date().getTime()-((pt=te.current)==null?void 0:pt.getTime()),ct=Math.abs(bt)/Rt;if(Math.abs(bt)>=ent||ct>.11){J(Ae.current),(vt=g.onDismiss)==null||vt.call(g,g),ht(),Q(!0),ie(!1);return}(_t=ce.current)==null||_t.style.setProperty("--swipe-amount","0px"),W(!1)},onPointerMove:et=>{var pt,vt;if(!be.current||!oe)return;let _t=et.clientY-be.current.y,bt=((pt=window.getSelection())==null?void 0:pt.toString().length)>0,Rt=Pe==="top"?Math.min(0,_t):Math.max(0,_t);Math.abs(Rt)>0&&ie(!0),!bt&&((vt=ce.current)==null||vt.style.setProperty("--swipe-amount",`${Rt}px`))}},we&&!g.jsx?wn.createElement("button",{"aria-label":O,"data-disabled":lt,"data-close-button":!0,onClick:lt||!oe?()=>{}:()=>{var et;ht(),(et=g.onDismiss)==null||et.call(g,g)},className:B(T==null?void 0:T.closeButton,(o=g==null?void 0:g.classNames)==null?void 0:o.closeButton)},(m=D==null?void 0:D.close)!=null?m:Hrt):null,g.jsx||wn.isValidElement(g.title)?g.jsx?g.jsx:typeof g.title=="function"?g.title():g.title:wn.createElement(wn.Fragment,null,de||g.icon||g.promise?wn.createElement("div",{"data-icon":"",className:B(T==null?void 0:T.icon,(u=g==null?void 0:g.classNames)==null?void 0:u.icon)},g.promise||g.type==="loading"&&!g.icon?g.icon||tt():null,g.type!=="loading"?g.icon||(D==null?void 0:D[de])||Drt(de):null):null,wn.createElement("div",{"data-content":"",className:B(T==null?void 0:T.content,(h=g==null?void 0:g.classNames)==null?void 0:h.content)},wn.createElement("div",{"data-title":"",className:B(T==null?void 0:T.title,(a=g==null?void 0:g.classNames)==null?void 0:a.title)},typeof g.title=="function"?g.title():g.title),g.description?wn.createElement("div",{"data-description":"",className:B(L,me,T==null?void 0:T.description,(l=g==null?void 0:g.classNames)==null?void 0:l.description)},typeof g.description=="function"?g.description():g.description):null),wn.isValidElement(g.cancel)?g.cancel:g.cancel&&UN(g.cancel)?wn.createElement("button",{"data-button":!0,"data-cancel":!0,style:g.cancelButtonStyle||A,onClick:et=>{var pt,vt;UN(g.cancel)&&oe&&((vt=(pt=g.cancel).onClick)==null||vt.call(pt,et),ht())},className:B(T==null?void 0:T.cancelButton,(v=g==null?void 0:g.classNames)==null?void 0:v.cancelButton)},g.cancel.label):null,wn.isValidElement(g.action)?g.action:g.action&&UN(g.action)?wn.createElement("button",{"data-button":!0,"data-action":!0,style:g.actionButtonStyle||E,onClick:et=>{var pt,vt;UN(g.action)&&((vt=(pt=g.action).onClick)==null||vt.call(pt,et),!et.defaultPrevented&&ht())},className:B(T==null?void 0:T.actionButton,(i=g==null?void 0:g.classNames)==null?void 0:i.actionButton)},g.action.label):null))};function V5e(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function ant(){let[e,t]=wn.useState([]);return wn.useEffect(()=>Ch.subscribe(r=>{t(n=>{if("dismiss"in r&&r.dismiss)return n.filter(m=>m.id!==r.id);let o=n.findIndex(m=>m.id===r.id);if(o!==-1){let m=[...n];return m[o]={...m[o],...r},m}else return[r,...n]})}),[]),{toasts:e}}var G5e=Ue.forwardRef(function(e,t){let{invert:r,position:n="bottom-right",hotkey:o=["altKey","KeyT"],expand:m,closeButton:u,className:h,offset:a,theme:l="light",richColors:v,duration:i,style:S,visibleToasts:g=qrt,toastOptions:p,dir:_=V5e(),gap:c=Jrt,loadingIcon:s,icons:d,containerAriaLabel:f="Notifications",pauseWhenPageIsHidden:b,cn:x=rnt}=e,[y,C]=wn.useState([]),w=wn.useMemo(()=>Array.from(new Set([n].concat(y.filter(U=>U.position).map(U=>U.position)))),[y,n]),[R,A]=wn.useState([]),[E,k]=wn.useState(!1),[L,I]=wn.useState(!1),[P,M]=wn.useState(l!=="system"?l:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),F=wn.useRef(null),N=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),T=wn.useRef(null),D=wn.useRef(!1),O=wn.useCallback(U=>{C(B=>{var Y;return(Y=B.find(z=>z.id===U.id))!=null&&Y.delete||Ch.dismiss(U.id),B.filter(({id:z})=>z!==U.id)})},[]);return wn.useEffect(()=>Ch.subscribe(U=>{if(U.dismiss){C(B=>B.map(Y=>Y.id===U.id?{...Y,delete:!0}:Y));return}setTimeout(()=>{U5e.flushSync(()=>{C(B=>{let Y=B.findIndex(z=>z.id===U.id);return Y!==-1?[...B.slice(0,Y),{...B[Y],...U},...B.slice(Y+1)]:[U,...B]})})})}),[]),wn.useEffect(()=>{if(l!=="system"){M(l);return}if(l==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?M("dark"):M("light")),typeof window>"u")return;let U=window.matchMedia("(prefers-color-scheme: dark)");try{U.addEventListener("change",({matches:B})=>{M(B?"dark":"light")})}catch{U.addListener(({matches:Y})=>{try{M(Y?"dark":"light")}catch(z){console.error(z)}})}},[l]),wn.useEffect(()=>{y.length<=1&&k(!1)},[y]),wn.useEffect(()=>{let U=B=>{var Y,z;o.every(V=>B[V]||B.code===V)&&(k(!0),(Y=F.current)==null||Y.focus()),B.code==="Escape"&&(document.activeElement===F.current||(z=F.current)!=null&&z.contains(document.activeElement))&&k(!1)};return document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)},[o]),wn.useEffect(()=>{if(F.current)return()=>{T.current&&(T.current.focus({preventScroll:!0}),T.current=null,D.current=!1)}},[F.current]),wn.createElement("section",{"aria-label":`${f} ${N}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},w.map((U,B)=>{var Y;let[z,V]=U.split("-");return y.length?wn.createElement("ol",{key:U,dir:_==="auto"?V5e():_,tabIndex:-1,ref:F,className:h,"data-sonner-toaster":!0,"data-theme":P,"data-y-position":z,"data-lifted":E&&y.length>1&&!m,"data-x-position":V,style:{"--front-toast-height":`${((Y=R[0])==null?void 0:Y.height)||0}px`,"--offset":typeof a=="number"?`${a}px`:a||Zrt,"--width":`${Qrt}px`,"--gap":`${c}px`,...S},onBlur:j=>{D.current&&!j.currentTarget.contains(j.relatedTarget)&&(D.current=!1,T.current&&(T.current.focus({preventScroll:!0}),T.current=null))},onFocus:j=>{j.target instanceof HTMLElement&&j.target.dataset.dismissible==="false"||D.current||(D.current=!0,T.current=j.relatedTarget)},onMouseEnter:()=>k(!0),onMouseMove:()=>k(!0),onMouseLeave:()=>{L||k(!1)},onPointerDown:j=>{j.target instanceof HTMLElement&&j.target.dataset.dismissible==="false"||I(!0)},onPointerUp:()=>I(!1)},y.filter(j=>!j.position&&B===0||j.position===U).map((j,G)=>{var W,X;return wn.createElement(nnt,{key:j.id,icons:d,index:G,toast:j,defaultRichColors:v,duration:(W=p==null?void 0:p.duration)!=null?W:i,className:p==null?void 0:p.className,descriptionClassName:p==null?void 0:p.descriptionClassName,invert:r,visibleToasts:g,closeButton:(X=p==null?void 0:p.closeButton)!=null?X:u,interacting:L,position:U,style:p==null?void 0:p.style,unstyled:p==null?void 0:p.unstyled,classNames:p==null?void 0:p.classNames,cancelButtonStyle:p==null?void 0:p.cancelButtonStyle,actionButtonStyle:p==null?void 0:p.actionButtonStyle,removeToast:O,toasts:y.filter(Q=>Q.position==j.position),heights:R.filter(Q=>Q.position==j.position),setHeights:A,expandByDefault:m,gap:c,loadingIcon:s,expanded:E,pauseWhenPageIsHidden:b,cn:x})})):null}))});const int=Object.freeze(Object.defineProperty({__proto__:null,Toaster:G5e,toast:Sl,useSonner:ant},Symbol.toStringTag,{value:"Module"}));var j5e={};function ont(e){const t=new Error(e);if(t.stack===void 0)try{throw t}catch{}return t}var snt=ont,os=snt;function lnt(e){return!!e&&typeof e.then=="function"}var Bl=lnt;function cnt(e,t){if(e!=null)return e;throw os(t??"Got unexpected null or undefined")}var rc=cnt;function Wo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class $N{getValue(){throw os("BaseLoadable")}toPromise(){throw os("BaseLoadable")}valueMaybe(){throw os("BaseLoadable")}valueOrThrow(){throw os(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw os("BaseLoadable")}promiseOrThrow(){throw os(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw os("BaseLoadable")}errorOrThrow(){throw os(`Loadable expected error, but in "${this.state}" state`)}is(t){return t.state===this.state&&t.contents===this.contents}map(t){throw os("BaseLoadable")}}class unt extends $N{constructor(t){super(),Wo(this,"state","hasValue"),Wo(this,"contents",void 0),this.contents=t}getValue(){return this.contents}toPromise(){return Promise.resolve(this.contents)}valueMaybe(){return this.contents}valueOrThrow(){return this.contents}promiseMaybe(){}errorMaybe(){}map(t){try{const r=t(this.contents);return Bl(r)?W_(r):fw(r)?r:bA(r)}catch(r){return Bl(r)?W_(r.next(()=>this.map(t))):HN(r)}}}class dnt extends $N{constructor(t){super(),Wo(this,"state","hasError"),Wo(this,"contents",void 0),this.contents=t}getValue(){throw this.contents}toPromise(){return Promise.reject(this.contents)}valueMaybe(){}promiseMaybe(){}errorMaybe(){return this.contents}errorOrThrow(){return this.contents}map(t){return this}}class Y5e extends $N{constructor(t){super(),Wo(this,"state","loading"),Wo(this,"contents",void 0),this.contents=t}getValue(){throw this.contents}toPromise(){return this.contents}valueMaybe(){}promiseMaybe(){return this.contents}promiseOrThrow(){return this.contents}errorMaybe(){}map(t){return W_(this.contents.then(r=>{const n=t(r);if(fw(n)){const o=n;switch(o.state){case"hasValue":return o.contents;case"hasError":throw o.contents;case"loading":return o.contents}}return n}).catch(r=>{if(Bl(r))return r.then(()=>this.map(t).contents);throw r}))}}function bA(e){return Object.freeze(new unt(e))}function HN(e){return Object.freeze(new dnt(e))}function W_(e){return Object.freeze(new Y5e(e))}function W5e(){return Object.freeze(new Y5e(new Promise(()=>{})))}function fnt(e){return e.every(t=>t.state==="hasValue")?bA(e.map(t=>t.contents)):e.some(t=>t.state==="hasError")?HN(rc(e.find(t=>t.state==="hasError"),"Invalid loadable passed to loadableAll").contents):W_(Promise.all(e.map(t=>t.contents)))}function K5e(e){const r=(Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(o=>e[o])).map(o=>fw(o)?o:Bl(o)?W_(o):bA(o)),n=fnt(r);return Array.isArray(e)?n:n.map(o=>Object.getOwnPropertyNames(e).reduce((m,u,h)=>({...m,[u]:o[h]}),{}))}function fw(e){return e instanceof $N}var K_={loadableWithValue:bA,loadableWithError:HN,loadableWithPromise:W_,loadableLoading:W5e,loadableAll:K5e,isLoadable:fw,RecoilLoadable:{of:e=>Bl(e)?W_(e):fw(e)?e:bA(e),error:e=>HN(e),loading:()=>W5e(),all:K5e,isLoadable:fw}},hnt=K_.loadableWithValue,pnt=K_.loadableWithError,vnt=K_.loadableWithPromise,mnt=K_.loadableLoading,gnt=K_.loadableAll,ynt=K_.isLoadable,_nt=K_.RecoilLoadable,EA=Object.freeze({__proto__:null,loadableWithValue:hnt,loadableWithError:pnt,loadableWithPromise:vnt,loadableLoading:mnt,loadableAll:gnt,isLoadable:ynt,RecoilLoadable:_nt});const Kue={RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED:!0,RECOIL_GKS_ENABLED:new Set(["recoil_hamt_2020","recoil_sync_external_store","recoil_suppress_rerender_in_callback","recoil_memory_managament_2020"])};function xnt(e,t){var r,n;const o=(r=j5e[e])===null||r===void 0||(n=r.toLowerCase())===null||n===void 0?void 0:n.trim();if(o==null||o==="")return;if(!["true","false"].includes(o))throw os(`process.env.${e} value must be 'true', 'false', or empty: ${o}`);t(o==="true")}function bnt(e,t){var r;const n=(r=j5e[e])===null||r===void 0?void 0:r.trim();n==null||n===""||t(n.split(/\s*,\s*|\s+/))}function Ent(){var e;typeof process>"u"||((e=process)===null||e===void 0?void 0:e.env)!=null&&(xnt("RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED",t=>{Kue.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=t}),bnt("RECOIL_GKS_ENABLED",t=>{t.forEach(r=>{Kue.RECOIL_GKS_ENABLED.add(r)})}))}Ent();var hw=Kue;function VN(e){return hw.RECOIL_GKS_ENABLED.has(e)}VN.setPass=e=>{hw.RECOIL_GKS_ENABLED.add(e)},VN.setFail=e=>{hw.RECOIL_GKS_ENABLED.delete(e)},VN.clear=()=>{hw.RECOIL_GKS_ENABLED.clear()};var pl=VN;function Snt(e,t,{error:r}={}){return null}var wnt=Snt,Xue=wnt,que,Zue,Que;const Tnt=(que=wn.createMutableSource)!==null&&que!==void 0?que:wn.unstable_createMutableSource,X5e=(Zue=wn.useMutableSource)!==null&&Zue!==void 0?Zue:wn.unstable_useMutableSource,q5e=(Que=wn.useSyncExternalStore)!==null&&Que!==void 0?Que:wn.unstable_useSyncExternalStore;function Ant(){var e;const{ReactCurrentDispatcher:t,ReactCurrentOwner:r}=wn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;return((e=t==null?void 0:t.current)!==null&&e!==void 0?e:r.currentDispatcher).useSyncExternalStore!=null}function Cnt(){return pl("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:pl("recoil_sync_external_store")&&q5e!=null?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:pl("recoil_mutable_source")&&X5e!=null&&typeof window<"u"&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?pl("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:pl("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}}function knt(){return!1}var SA={createMutableSource:Tnt,useMutableSource:X5e,useSyncExternalStore:q5e,currentRendererSupportsUseSyncExternalStore:Ant,reactMode:Cnt,isFastRefreshEnabled:knt};class Jue{constructor(t){Wo(this,"key",void 0),this.key=t}toJSON(){return{key:this.key}}}class Z5e extends Jue{}class Q5e extends Jue{}function Mnt(e){return e instanceof Z5e||e instanceof Q5e}var GN={AbstractRecoilValue:Jue,RecoilState:Z5e,RecoilValueReadOnly:Q5e,isRecoilValue:Mnt},Rnt=GN.AbstractRecoilValue,Nnt=GN.RecoilState,Int=GN.RecoilValueReadOnly,Lnt=GN.isRecoilValue,pw=Object.freeze({__proto__:null,AbstractRecoilValue:Rnt,RecoilState:Nnt,RecoilValueReadOnly:Int,isRecoilValue:Lnt});function Ont(e,t){return function*(){let r=0;for(const n of e)yield t(n,r++)}()}var jN=Ont;class J5e{}const Dnt=new J5e,X_=new Map,ede=new Map;function Pnt(e){return jN(e,t=>rc(ede.get(t)))}function Fnt(e){if(X_.has(e)){const t=`Duplicate atom key "${e}". This is a FATAL ERROR in
production. But it is safe to ignore this warning if it occurred because of
hot module replacement.`;console.warn(t)}}function Bnt(e){hw.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED&&Fnt(e.key),X_.set(e.key,e);const t=e.set==null?new pw.RecoilValueReadOnly(e.key):new pw.RecoilState(e.key);return ede.set(e.key,t),t}class e6e extends Error{}function znt(e){const t=X_.get(e);if(t==null)throw new e6e(`Missing definition for RecoilValue: "${e}""`);return t}function Unt(e){return X_.get(e)}const YN=new Map;function $nt(e){var t;if(!pl("recoil_memory_managament_2020"))return;const r=X_.get(e);if(r!=null&&(t=r.shouldDeleteConfigOnRelease)!==null&&t!==void 0&&t.call(r)){var n;X_.delete(e),(n=t6e(e))===null||n===void 0||n(),YN.delete(e)}}function Hnt(e,t){pl("recoil_memory_managament_2020")&&(t===void 0?YN.delete(e):YN.set(e,t))}function t6e(e){return YN.get(e)}var kh={nodes:X_,recoilValues:ede,registerNode:Bnt,getNode:znt,getNodeMaybe:Unt,deleteNodeConfigIfPossible:$nt,setConfigDeletionHandler:Hnt,getConfigDeletionHandler:t6e,recoilValuesForKeys:Pnt,NodeMissingError:e6e,DefaultValue:J5e,DEFAULT_VALUE:Dnt};function Vnt(e,t){t()}var Gnt={enqueueExecution:Vnt};function jnt(e,t){return t={exports:{}},e(t,t.exports),t.exports}var Ynt=jnt(function(e){var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ze){return typeof ze}:function(ze){return ze&&typeof Symbol=="function"&&ze.constructor===Symbol&&ze!==Symbol.prototype?"symbol":typeof ze},r={},n=5,o=Math.pow(2,n),m=o-1,u=o/2,h=o/4,a={},l=function(Fe){return function(){return Fe}},v=r.hash=function(ze){var Fe=typeof ze>"u"?"undefined":t(ze);if(Fe==="number")return ze;Fe!=="string"&&(ze+="");for(var We=0,lt=0,ht=ze.length;lt<ht;++lt){var tt=ze.charCodeAt(lt);We=(We<<5)-We+tt|0}return We},i=function(Fe){return Fe-=Fe>>1&1431655765,Fe=(Fe&858993459)+(Fe>>2&858993459),Fe=Fe+(Fe>>4)&252645135,Fe+=Fe>>8,Fe+=Fe>>16,Fe&127},S=function(Fe,We){return We>>>Fe&m},g=function(Fe){return 1<<Fe},p=function(Fe,We){return i(Fe&We-1)},_=function(Fe,We,lt,ht){var tt=ht;if(!Fe){var et=ht.length;tt=new Array(et);for(var pt=0;pt<et;++pt)tt[pt]=ht[pt]}return tt[We]=lt,tt},c=function(Fe,We,lt){var ht=lt.length-1,tt=0,et=0,pt=lt;if(Fe)tt=et=We;else for(pt=new Array(ht);tt<We;)pt[et++]=lt[tt++];for(++tt;tt<=ht;)pt[et++]=lt[tt++];return Fe&&(pt.length=ht),pt},s=function(Fe,We,lt,ht){var tt=ht.length;if(Fe){for(var et=tt;et>=We;)ht[et--]=ht[et];return ht[We]=lt,ht}for(var pt=0,vt=0,_t=new Array(tt+1);pt<We;)_t[vt++]=ht[pt++];for(_t[We]=lt;pt<tt;)_t[++vt]=ht[pt++];return _t},d=1,f=2,b=3,x=4,y={__hamt_isEmpty:!0},C=function(Fe){return Fe===y||Fe&&Fe.__hamt_isEmpty},w=function(Fe,We,lt,ht){return{type:d,edit:Fe,hash:We,key:lt,value:ht,_modify:N}},R=function(Fe,We,lt){return{type:f,edit:Fe,hash:We,children:lt,_modify:T}},A=function(Fe,We,lt){return{type:b,edit:Fe,mask:We,children:lt,_modify:D}},E=function(Fe,We,lt){return{type:x,edit:Fe,size:We,children:lt,_modify:O}},k=function(Fe){return Fe===y||Fe.type===d||Fe.type===f},L=function(Fe,We,lt,ht,tt){for(var et=[],pt=ht,vt=0,_t=0;pt;++_t)pt&1&&(et[_t]=tt[vt++]),pt>>>=1;return et[We]=lt,E(Fe,vt+1,et)},I=function(Fe,We,lt,ht){for(var tt=new Array(We-1),et=0,pt=0,vt=0,_t=ht.length;vt<_t;++vt)if(vt!==lt){var bt=ht[vt];bt&&!C(bt)&&(tt[et++]=bt,pt|=1<<vt)}return A(Fe,pt,tt)},P=function ze(Fe,We,lt,ht,tt,et){if(lt===tt)return R(Fe,lt,[et,ht]);var pt=S(We,lt),vt=S(We,tt);return A(Fe,g(pt)|g(vt),pt===vt?[ze(Fe,We+n,lt,ht,tt,et)]:pt<vt?[ht,et]:[et,ht])},M=function(Fe,We,lt,ht,tt,et,pt,vt){for(var _t=tt.length,bt=0;bt<_t;++bt){var Rt=tt[bt];if(lt(pt,Rt.key)){var ct=Rt.value,Ve=et(ct);return Ve===ct?tt:Ve===a?(--vt.value,c(Fe,bt,tt)):_(Fe,bt,w(We,ht,pt,Ve),tt)}}var Qe=et();return Qe===a?tt:(++vt.value,_(Fe,_t,w(We,ht,pt,Qe),tt))},F=function(Fe,We){return Fe===We.edit},N=function(Fe,We,lt,ht,tt,et,pt){if(We(et,this.key)){var vt=ht(this.value);return vt===this.value?this:vt===a?(--pt.value,y):F(Fe,this)?(this.value=vt,this):w(Fe,tt,et,vt)}var _t=ht();return _t===a?this:(++pt.value,P(Fe,lt,this.hash,this,tt,w(Fe,tt,et,_t)))},T=function(Fe,We,lt,ht,tt,et,pt){if(tt===this.hash){var vt=F(Fe,this),_t=M(vt,Fe,We,this.hash,this.children,ht,et,pt);return _t===this.children?this:_t.length>1?R(Fe,this.hash,_t):_t[0]}var bt=ht();return bt===a?this:(++pt.value,P(Fe,lt,this.hash,this,tt,w(Fe,tt,et,bt)))},D=function(Fe,We,lt,ht,tt,et,pt){var vt=this.mask,_t=this.children,bt=S(lt,tt),Rt=g(bt),ct=p(vt,Rt),Ve=vt&Rt,Qe=Ve?_t[ct]:y,rt=Qe._modify(Fe,We,lt+n,ht,tt,et,pt);if(Qe===rt)return this;var qe=F(Fe,this),He=vt,Ce=void 0;if(Ve&&C(rt)){if(He&=~Rt,!He)return y;if(_t.length<=2&&k(_t[ct^1]))return _t[ct^1];Ce=c(qe,ct,_t)}else if(!Ve&&!C(rt)){if(_t.length>=u)return L(Fe,bt,rt,vt,_t);He|=Rt,Ce=s(qe,ct,rt,_t)}else Ce=_(qe,ct,rt,_t);return qe?(this.mask=He,this.children=Ce,this):A(Fe,He,Ce)},O=function(Fe,We,lt,ht,tt,et,pt){var vt=this.size,_t=this.children,bt=S(lt,tt),Rt=_t[bt],ct=(Rt||y)._modify(Fe,We,lt+n,ht,tt,et,pt);if(Rt===ct)return this;var Ve=F(Fe,this),Qe=void 0;if(C(Rt)&&!C(ct))++vt,Qe=_(Ve,bt,ct,_t);else if(!C(Rt)&&C(ct)){if(--vt,vt<=h)return I(Fe,vt,bt,_t);Qe=_(Ve,bt,y,_t)}else Qe=_(Ve,bt,ct,_t);return Ve?(this.size=vt,this.children=Qe,this):E(Fe,vt,Qe)};y._modify=function(ze,Fe,We,lt,ht,tt,et){var pt=lt();return pt===a?y:(++et.value,w(ze,ht,tt,pt))};function U(ze,Fe,We,lt,ht){this._editable=ze,this._edit=Fe,this._config=We,this._root=lt,this._size=ht}U.prototype.setTree=function(ze,Fe){return this._editable?(this._root=ze,this._size=Fe,this):ze===this._root?this:new U(this._editable,this._edit,this._config,ze,Fe)};var B=r.tryGetHash=function(ze,Fe,We,lt){for(var ht=lt._root,tt=0,et=lt._config.keyEq;;)switch(ht.type){case d:return et(We,ht.key)?ht.value:ze;case f:{if(Fe===ht.hash)for(var pt=ht.children,vt=0,_t=pt.length;vt<_t;++vt){var bt=pt[vt];if(et(We,bt.key))return bt.value}return ze}case b:{var Rt=S(tt,Fe),ct=g(Rt);if(ht.mask&ct){ht=ht.children[p(ht.mask,ct)],tt+=n;break}return ze}case x:{if(ht=ht.children[S(tt,Fe)],ht){tt+=n;break}return ze}default:return ze}};U.prototype.tryGetHash=function(ze,Fe,We){return B(ze,Fe,We,this)};var Y=r.tryGet=function(ze,Fe,We){return B(ze,We._config.hash(Fe),Fe,We)};U.prototype.tryGet=function(ze,Fe){return Y(ze,Fe,this)};var z=r.getHash=function(ze,Fe,We){return B(void 0,ze,Fe,We)};U.prototype.getHash=function(ze,Fe){return z(ze,Fe,this)},r.get=function(ze,Fe){return B(void 0,Fe._config.hash(ze),ze,Fe)},U.prototype.get=function(ze,Fe){return Y(Fe,ze,this)};var V=r.has=function(ze,Fe,We){return B(a,ze,Fe,We)!==a};U.prototype.hasHash=function(ze,Fe){return V(ze,Fe,this)};var j=r.has=function(ze,Fe){return V(Fe._config.hash(ze),ze,Fe)};U.prototype.has=function(ze){return j(ze,this)};var G=function(Fe,We){return Fe===We};r.make=function(ze){return new U(0,0,{keyEq:ze&&ze.keyEq||G,hash:ze&&ze.hash||v},y,0)},r.empty=r.make();var W=r.isEmpty=function(ze){return ze&&!!C(ze._root)};U.prototype.isEmpty=function(){return W(this)};var X=r.modifyHash=function(ze,Fe,We,lt){var ht={value:lt._size},tt=lt._root._modify(lt._editable?lt._edit:NaN,lt._config.keyEq,0,ze,Fe,We,ht);return lt.setTree(tt,ht.value)};U.prototype.modifyHash=function(ze,Fe,We){return X(We,ze,Fe,this)};var Q=r.modify=function(ze,Fe,We){return X(ze,We._config.hash(Fe),Fe,We)};U.prototype.modify=function(ze,Fe){return Q(Fe,ze,this)};var ae=r.setHash=function(ze,Fe,We,lt){return X(l(We),ze,Fe,lt)};U.prototype.setHash=function(ze,Fe,We){return ae(ze,Fe,We,this)};var ie=r.set=function(ze,Fe,We){return ae(We._config.hash(ze),ze,Fe,We)};U.prototype.set=function(ze,Fe){return ie(ze,Fe,this)};var he=l(a),J=r.removeHash=function(ze,Fe,We){return X(he,ze,Fe,We)};U.prototype.removeHash=U.prototype.deleteHash=function(ze,Fe){return J(ze,Fe,this)};var Z=r.remove=function(ze,Fe){return J(Fe._config.hash(ze),ze,Fe)};U.prototype.remove=U.prototype.delete=function(ze){return Z(ze,this)};var le=r.beginMutation=function(ze){return new U(ze._editable+1,ze._edit+1,ze._config,ze._root,ze._size)};U.prototype.beginMutation=function(){return le(this)};var K=r.endMutation=function(ze){return ze._editable=ze._editable&&ze._editable-1,ze};U.prototype.endMutation=function(){return K(this)};var te=r.mutate=function(ze,Fe){var We=le(Fe);return ze(We),K(We)};U.prototype.mutate=function(ze){return te(ze,this)};var ce=function(Fe){return Fe&&re(Fe[0],Fe[1],Fe[2],Fe[3],Fe[4])},re=function(Fe,We,lt,ht,tt){for(;lt<Fe;){var et=We[lt++];if(et&&!C(et))return ee(et,ht,[Fe,We,lt,ht,tt])}return ce(tt)},ee=function(Fe,We,lt){switch(Fe.type){case d:return{value:We(Fe),rest:lt};case f:case x:case b:var ht=Fe.children;return re(ht.length,ht,0,We,lt);default:return ce(lt)}},de={done:!0};function oe(ze){this.v=ze}oe.prototype.next=function(){if(!this.v)return de;var ze=this.v;return this.v=ce(ze.rest),ze},oe.prototype[Symbol.iterator]=function(){return this};var fe=function(Fe,We){return new oe(ee(Fe._root,We))},me=function(Fe){return[Fe.key,Fe.value]},Te=r.entries=function(ze){return fe(ze,me)};U.prototype.entries=U.prototype[Symbol.iterator]=function(){return Te(this)};var we=function(Fe){return Fe.key},Be=r.keys=function(ze){return fe(ze,we)};U.prototype.keys=function(){return Be(this)};var Ae=function(Fe){return Fe.value},Re=r.values=U.prototype.values=function(ze){return fe(ze,Ae)};U.prototype.values=function(){return Re(this)};var be=r.fold=function(ze,Fe,We){var lt=We._root;if(lt.type===d)return ze(Fe,lt.value,lt.key);for(var ht=[lt.children],tt=void 0;tt=ht.pop();)for(var et=0,pt=tt.length;et<pt;){var vt=tt[et++];vt&&vt.type&&(vt.type===d?Fe=ze(Fe,vt.value,vt.key):ht.push(vt.children))}return Fe};U.prototype.fold=function(ze,Fe){return be(ze,Fe,this)};var Pe=r.forEach=function(ze,Fe){return be(function(We,lt,ht){return ze(lt,ht,Fe)},null,Fe)};U.prototype.forEach=function(ze){return Pe(ze,this)};var Ke=r.count=function(ze){return ze._size};U.prototype.count=function(){return Ke(this)},Object.defineProperty(U.prototype,"size",{get:U.prototype.count}),e.exports?e.exports=r:(void 0).hamt=r});class Wnt{constructor(t){Wo(this,"_map",void 0),this._map=new Map(t==null?void 0:t.entries())}keys(){return this._map.keys()}entries(){return this._map.entries()}get(t){return this._map.get(t)}has(t){return this._map.has(t)}set(t,r){return this._map.set(t,r),this}delete(t){return this._map.delete(t),this}clone(){return rde(this)}toMap(){return new Map(this._map)}}class tde{constructor(t){if(Wo(this,"_hamt",Ynt.empty.beginMutation()),t instanceof tde){const r=t._hamt.endMutation();t._hamt=r.beginMutation(),this._hamt=r.beginMutation()}else if(t)for(const[r,n]of t.entries())this._hamt.set(r,n)}keys(){return this._hamt.keys()}entries(){return this._hamt.entries()}get(t){return this._hamt.get(t)}has(t){return this._hamt.has(t)}set(t,r){return this._hamt.set(t,r),this}delete(t){return this._hamt.delete(t),this}clone(){return rde(this)}toMap(){return new Map(this._hamt)}}function rde(e){return pl("recoil_hamt_2020")?new tde(e):new Wnt(e)}var Knt={persistentMap:rde},Xnt=Knt.persistentMap,qnt=Object.freeze({__proto__:null,persistentMap:Xnt});function Znt(e,...t){const r=new Set;e:for(const n of e){for(const o of t)if(o.has(n))continue e;r.add(n)}return r}var wA=Znt;function Qnt(e,t){const r=new Map;return e.forEach((n,o)=>{r.set(o,t(n,o))}),r}var WN=Qnt;function Jnt(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}}function eat(e){return{nodeDeps:WN(e.nodeDeps,t=>new Set(t)),nodeToNodeSubscriptions:WN(e.nodeToNodeSubscriptions,t=>new Set(t))}}function nde(e,t,r,n){const{nodeDeps:o,nodeToNodeSubscriptions:m}=r,u=o.get(e);if(u&&n&&u!==n.nodeDeps.get(e))return;o.set(e,t);const h=u==null?t:wA(t,u);for(const a of h)m.has(a)||m.set(a,new Set),rc(m.get(a)).add(e);if(u){const a=wA(u,t);for(const l of a){if(!m.has(l))return;const v=rc(m.get(l));v.delete(e),v.size===0&&m.delete(l)}}}function tat(e,t,r,n){var o,m,u,h;const a=r.getState();n===a.currentTree.version||n===((o=a.nextTree)===null||o===void 0?void 0:o.version)||((m=a.previousTree)===null||m===void 0||m.version);const l=r.getGraph(n);if(nde(e,t,l),n===((u=a.previousTree)===null||u===void 0?void 0:u.version)){const i=r.getGraph(a.currentTree.version);nde(e,t,i,l)}if(n===((h=a.previousTree)===null||h===void 0?void 0:h.version)||n===a.currentTree.version){var v;const i=(v=a.nextTree)===null||v===void 0?void 0:v.version;if(i!==void 0){const S=r.getGraph(i);nde(e,t,S,l)}}}var TA={cloneGraph:eat,graph:Jnt,saveDepsToStore:tat};let rat=0;const nat=()=>rat++;let aat=0;const iat=()=>aat++;let oat=0;var KN={getNextTreeStateVersion:nat,getNextStoreID:iat,getNextComponentID:()=>oat++};const{persistentMap:r6e}=qnt,{graph:sat}=TA,{getNextTreeStateVersion:n6e}=KN;function a6e(){const e=n6e();return{version:e,stateID:e,transactionMetadata:{},dirtyAtoms:new Set,atomValues:r6e(),nonvalidatedAtoms:r6e()}}function lat(){const e=a6e();return{currentTree:e,nextTree:null,previousTree:null,commitDepth:0,knownAtoms:new Set,knownSelectors:new Set,transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(e.version,sat()),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}}var i6e={makeEmptyTreeState:a6e,makeEmptyStoreState:lat,getNextTreeStateVersion:n6e};class o6e{}function cat(){return new o6e}var XN={RetentionZone:o6e,retentionZone:cat};function uat(e,t){const r=new Set(e);return r.add(t),r}function dat(e,t){const r=new Set(e);return r.delete(t),r}function fat(e,t,r){const n=new Map(e);return n.set(t,r),n}function hat(e,t,r){const n=new Map(e);return n.set(t,r(n.get(t))),n}function pat(e,t){const r=new Map(e);return r.delete(t),r}function vat(e,t){const r=new Map(e);return t.forEach(n=>r.delete(n)),r}var s6e={setByAddingToSet:uat,setByDeletingFromSet:dat,mapBySettingInMap:fat,mapByUpdatingInMap:hat,mapByDeletingFromMap:pat,mapByDeletingMultipleFromMap:vat};function*mat(e,t){let r=0;for(const n of e)t(n,r++)&&(yield n)}var ade=mat;function gat(e,t){return new Proxy(e,{get:(n,o)=>(!(o in n)&&o in t&&(n[o]=t[o]()),n[o]),ownKeys:n=>Object.keys(n)})}var l6e=gat;const{getNode:AA,getNodeMaybe:yat,recoilValuesForKeys:c6e}=kh,{RetentionZone:u6e}=XN,{setByAddingToSet:_at}=s6e,xat=Object.freeze(new Set);class bat extends Error{}function Eat(e,t,r){if(!pl("recoil_memory_managament_2020"))return()=>{};const{nodesRetainedByZone:n}=e.getState().retention;function o(m){let u=n.get(m);u||n.set(m,u=new Set),u.add(t)}if(r instanceof u6e)o(r);else if(Array.isArray(r))for(const m of r)o(m);return()=>{if(!pl("recoil_memory_managament_2020"))return;const{retention:m}=e.getState();function u(h){const a=m.nodesRetainedByZone.get(h);a==null||a.delete(t),a&&a.size===0&&m.nodesRetainedByZone.delete(h)}if(r instanceof u6e)u(r);else if(Array.isArray(r))for(const h of r)u(h)}}function ide(e,t,r,n){const o=e.getState();if(o.nodeCleanupFunctions.has(r))return;const m=AA(r),u=Eat(e,r,m.retainedBy),h=m.init(e,t,n);o.nodeCleanupFunctions.set(r,()=>{h(),u()})}function Sat(e,t,r){ide(e,e.getState().currentTree,t,r)}function wat(e,t){var r;const n=e.getState();(r=n.nodeCleanupFunctions.get(t))===null||r===void 0||r(),n.nodeCleanupFunctions.delete(t)}function Tat(e,t,r){return ide(e,t,r,"get"),AA(r).get(e,t)}function d6e(e,t,r){return AA(r).peek(e,t)}function Aat(e,t,r){var n;const o=yat(t);return o==null||(n=o.invalidate)===null||n===void 0||n.call(o,e),{...e,atomValues:e.atomValues.clone().delete(t),nonvalidatedAtoms:e.nonvalidatedAtoms.clone().set(t,r),dirtyAtoms:_at(e.dirtyAtoms,t)}}function Cat(e,t,r,n){const o=AA(r);if(o.set==null)throw new bat(`Attempt to set read-only RecoilValue: ${r}`);const m=o.set;return ide(e,t,r,"set"),m(e,t,n)}function kat(e,t,r){const n=e.getState(),o=e.getGraph(t.version),m=AA(r).nodeType;return l6e({type:m},{loadable:()=>d6e(e,t,r),isActive:()=>n.knownAtoms.has(r)||n.knownSelectors.has(r),isSet:()=>m==="selector"?!1:t.atomValues.has(r),isModified:()=>t.dirtyAtoms.has(r),deps:()=>{var u;return c6e((u=o.nodeDeps.get(r))!==null&&u!==void 0?u:[])},subscribers:()=>{var u,h;return{nodes:c6e(ade(f6e(e,t,new Set([r])),a=>a!==r)),components:jN((u=(h=n.nodeToComponentSubscriptions.get(r))===null||h===void 0?void 0:h.values())!==null&&u!==void 0?u:[],([a])=>({name:a}))}}})}function f6e(e,t,r){const n=new Set,o=Array.from(r),m=e.getGraph(t.version);for(let h=o.pop();h;h=o.pop()){var u;n.add(h);const a=(u=m.nodeToNodeSubscriptions.get(h))!==null&&u!==void 0?u:xat;for(const l of a)n.has(l)||o.push(l)}return n}var Ly={getNodeLoadable:Tat,peekNodeLoadable:d6e,setNodeValue:Cat,initializeNode:Sat,cleanUpNode:wat,setUnvalidatedAtomValue_DEPRECATED:Aat,peekNodeInfo:kat,getDownstreamNodes:f6e};let h6e=null;function Mat(e){h6e=e}function Rat(){var e;(e=h6e)===null||e===void 0||e()}var p6e={setInvalidateMemoizedSnapshot:Mat,invalidateMemoizedSnapshot:Rat};const{getDownstreamNodes:Nat,getNodeLoadable:v6e,setNodeValue:Iat}=Ly,{getNextComponentID:Lat}=KN,{getNode:Oat,getNodeMaybe:m6e}=kh,{DefaultValue:ode}=kh,{reactMode:Dat}=SA,{AbstractRecoilValue:Pat,RecoilState:Fat,RecoilValueReadOnly:Bat,isRecoilValue:zat}=pw,{invalidateMemoizedSnapshot:Uat}=p6e;function $at(e,{key:t},r=e.getState().currentTree){var n,o;const m=e.getState();r.version===m.currentTree.version||r.version===((n=m.nextTree)===null||n===void 0?void 0:n.version)||(r.version,(o=m.previousTree)===null||o===void 0||o.version);const u=v6e(e,r,t);return u.state==="loading"&&u.contents.catch(()=>{}),u}function Hat(e,t){const r=e.clone();return t.forEach((n,o)=>{n.state==="hasValue"&&n.contents instanceof ode?r.delete(o):r.set(o,n)}),r}function Vat(e,t,{key:r},n){if(typeof n=="function"){const o=v6e(e,t,r);if(o.state==="loading"){const m=`Tried to set atom or selector "${r}" using an updater function while the current state is pending, this is not currently supported.`;throw os(m)}else if(o.state==="hasError")throw o.contents;return n(o.contents)}else return n}function Gat(e,t,r){if(r.type==="set"){const{recoilValue:o,valueOrUpdater:m}=r,u=Vat(e,t,o,m),h=Iat(e,t,o.key,u);for(const[a,l]of h.entries())sde(t,a,l)}else if(r.type==="setLoadable"){const{recoilValue:{key:o},loadable:m}=r;sde(t,o,m)}else if(r.type==="markModified"){const{recoilValue:{key:o}}=r;t.dirtyAtoms.add(o)}else if(r.type==="setUnvalidated"){var n;const{recoilValue:{key:o},unvalidatedValue:m}=r,u=m6e(o);u==null||(n=u.invalidate)===null||n===void 0||n.call(u,t),t.atomValues.delete(o),t.nonvalidatedAtoms.set(o,m),t.dirtyAtoms.add(o)}else Xue(`Unknown action ${r.type}`)}function sde(e,t,r){r.state==="hasValue"&&r.contents instanceof ode?e.atomValues.delete(t):e.atomValues.set(t,r),e.dirtyAtoms.add(t),e.nonvalidatedAtoms.delete(t)}function g6e(e,t){e.replaceState(r=>{const n=y6e(r);for(const o of t)Gat(e,n,o);return _6e(e,n),Uat(),n})}function qN(e,t){if(CA.length){const r=CA[CA.length-1];let n=r.get(e);n||r.set(e,n=[]),n.push(t)}else g6e(e,[t])}const CA=[];function jat(){const e=new Map;return CA.push(e),()=>{for(const[t,r]of e)g6e(t,r);CA.pop()}}function y6e(e){return{...e,atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)}}function _6e(e,t){const r=Nat(e,t,t.dirtyAtoms);for(const m of r){var n,o;(n=m6e(m))===null||n===void 0||(o=n.invalidate)===null||o===void 0||o.call(n,t)}}function x6e(e,t,r){qN(e,{type:"set",recoilValue:t,valueOrUpdater:r})}function Yat(e,t,r){if(r instanceof ode)return x6e(e,t,r);qN(e,{type:"setLoadable",recoilValue:t,loadable:r})}function Wat(e,t){qN(e,{type:"markModified",recoilValue:t})}function Kat(e,t,r){qN(e,{type:"setUnvalidated",recoilValue:t,unvalidatedValue:r})}function Xat(e,{key:t},r,n=null){const o=Lat(),m=e.getState();m.nodeToComponentSubscriptions.has(t)||m.nodeToComponentSubscriptions.set(t,new Map),rc(m.nodeToComponentSubscriptions.get(t)).set(o,[n??"<not captured>",r]);const u=Dat();if(u.early&&(u.mode==="LEGACY"||u.mode==="MUTABLE_SOURCE")){const h=e.getState().nextTree;h&&h.dirtyAtoms.has(t)&&r(h)}return{release:()=>{const h=e.getState(),a=h.nodeToComponentSubscriptions.get(t);a===void 0||!a.has(o)||(a.delete(o),a.size===0&&h.nodeToComponentSubscriptions.delete(t))}}}function qat(e,t){var r;const{currentTree:n}=e.getState(),o=Oat(t.key);(r=o.clearCache)===null||r===void 0||r.call(o,e,n)}var Av={RecoilValueReadOnly:Bat,AbstractRecoilValue:Pat,RecoilState:Fat,getRecoilValueAsLoadable:$at,setRecoilValue:x6e,setRecoilValueLoadable:Yat,markRecoilValueModified:Wat,setUnvalidatedRecoilValue:Kat,subscribeToRecoilValue:Xat,isRecoilValue:zat,applyAtomValueWrites:Hat,batchStart:jat,writeLoadableToTreeState:sde,invalidateDownstreams:_6e,copyTreeState:y6e,refreshRecoilValue:qat};function Zat(e,t,r){const n=e.entries();let o=n.next();for(;!o.done;){const m=o.value;if(t.call(r,m[1],m[0],e))return!0;o=n.next()}return!1}var Qat=Zat;const{cleanUpNode:Jat}=Ly,{deleteNodeConfigIfPossible:eit,getNode:b6e}=kh,{RetentionZone:E6e}=XN,tit=12e4,S6e=new Set;function w6e(e,t){const r=e.getState(),n=r.currentTree;if(r.nextTree)return;const o=new Set;for(const u of t)if(u instanceof E6e)for(const h of iit(r,u))o.add(h);else o.add(u);const m=rit(e,o);for(const u of m)ait(e,n,u)}function rit(e,t){const r=e.getState(),n=r.currentTree,o=e.getGraph(n.version),m=new Set,u=new Set;return h(t),m;function h(a){const l=new Set,v=nit(e,n,a,m,u);for(const p of v){var i;if(b6e(p).retainedBy==="recoilRoot"){u.add(p);continue}if(((i=r.retention.referenceCounts.get(p))!==null&&i!==void 0?i:0)>0){u.add(p);continue}if(T6e(p).some(c=>r.retention.referenceCounts.get(c))){u.add(p);continue}const _=o.nodeToNodeSubscriptions.get(p);if(_&&Qat(_,c=>u.has(c))){u.add(p);continue}m.add(p),l.add(p)}const S=new Set;for(const p of l)for(const _ of(g=o.nodeDeps.get(p))!==null&&g!==void 0?g:S6e){var g;m.has(_)||S.add(_)}S.size&&h(S)}}function nit(e,t,r,n,o){const m=e.getGraph(t.version),u=[],h=new Set;for(;r.size>0;)a(rc(r.values().next().value));return u;function a(l){if(n.has(l)||o.has(l)){r.delete(l);return}if(h.has(l))return;const v=m.nodeToNodeSubscriptions.get(l);if(v)for(const i of v)a(i);h.add(l),r.delete(l),u.push(l)}}function ait(e,t,r){if(!pl("recoil_memory_managament_2020"))return;Jat(e,r);const n=e.getState();n.knownAtoms.delete(r),n.knownSelectors.delete(r),n.nodeTransactionSubscriptions.delete(r),n.retention.referenceCounts.delete(r);const o=T6e(r);for(const a of o){var m;(m=n.retention.nodesRetainedByZone.get(a))===null||m===void 0||m.delete(r)}t.atomValues.delete(r),t.dirtyAtoms.delete(r),t.nonvalidatedAtoms.delete(r);const u=n.graphsByVersion.get(t.version);if(u){const a=u.nodeDeps.get(r);if(a!==void 0){u.nodeDeps.delete(r);for(const l of a){var h;(h=u.nodeToNodeSubscriptions.get(l))===null||h===void 0||h.delete(r)}}u.nodeToNodeSubscriptions.delete(r)}eit(r)}function iit(e,t){var r;return(r=e.retention.nodesRetainedByZone.get(t))!==null&&r!==void 0?r:S6e}function T6e(e){const t=b6e(e).retainedBy;return t===void 0||t==="components"||t==="recoilRoot"?[]:t instanceof E6e?[t]:t}function oit(e,t){const r=e.getState();r.nextTree?r.retention.retainablesToCheckForRelease.add(t):w6e(e,new Set([t]))}function sit(e,t,r){var n;if(!pl("recoil_memory_managament_2020"))return;const o=e.getState().retention.referenceCounts,m=((n=o.get(t))!==null&&n!==void 0?n:0)+r;m===0?A6e(e,t):o.set(t,m)}function A6e(e,t){if(!pl("recoil_memory_managament_2020"))return;e.getState().retention.referenceCounts.delete(t),oit(e,t)}function lit(e){if(!pl("recoil_memory_managament_2020"))return;const t=e.getState();w6e(e,t.retention.retainablesToCheckForRelease),t.retention.retainablesToCheckForRelease.clear()}function cit(e){return e===void 0?"recoilRoot":e}var q_={SUSPENSE_TIMEOUT_MS:tit,updateRetainCount:sit,updateRetainCountToZero:A6e,releaseScheduledRetainablesNow:lit,retainedByOptionWithDefault:cit};const{unstable_batchedUpdates:uit}=U5e;var dit={unstable_batchedUpdates:uit};const{unstable_batchedUpdates:fit}=dit;var hit={unstable_batchedUpdates:fit};const{batchStart:pit}=Av,{unstable_batchedUpdates:vit}=hit;let lde=vit||(e=>e());var ZN={getBatcher:()=>lde,setBatcher:e=>{lde=e},batchUpdates:e=>{lde(()=>{let t=()=>{};try{t=pit(),e()}finally{t()}})}};function*mit(e){for(const t of e)for(const r of t)yield r}var C6e=mit;const k6e=typeof Window>"u"||typeof window>"u",git=e=>!k6e&&(e===window||e instanceof Window),yit=typeof navigator<"u"&&navigator.product==="ReactNative";var QN={isSSR:k6e,isReactNative:yit,isWindow:git};function _it(e,t){let r;return(...n)=>{r||(r={});const o=t(...n);return Object.hasOwnProperty.call(r,o)||(r[o]=e(...n)),r[o]}}function xit(e,t){let r,n;return(...o)=>{const m=t(...o);return r===m||(r=m,n=e(...o)),n}}function bit(e,t){let r,n;return[(...u)=>{const h=t(...u);return r===h||(r=h,n=e(...u)),n},()=>{r=null}]}var Eit={memoizeWithArgsHash:_it,memoizeOneWithArgsHash:xit,memoizeOneWithArgsHashAndInvalidation:bit};const{batchUpdates:cde}=ZN,{initializeNode:Sit,peekNodeInfo:wit}=Ly,{graph:Tit}=TA,{getNextStoreID:Ait}=KN,{DEFAULT_VALUE:Cit,recoilValues:M6e,recoilValuesForKeys:R6e}=kh,{AbstractRecoilValue:kit,getRecoilValueAsLoadable:Mit,setRecoilValue:N6e,setUnvalidatedRecoilValue:Rit}=Av,{updateRetainCount:JN}=q_,{setInvalidateMemoizedSnapshot:Nit}=p6e,{getNextTreeStateVersion:Iit,makeEmptyStoreState:Lit}=i6e,{isSSR:Oit}=QN,{memoizeOneWithArgsHashAndInvalidation:Dit}=Eit;class eI{constructor(t,r){Wo(this,"_store",void 0),Wo(this,"_refCount",1),Wo(this,"getLoadable",n=>(this.checkRefCount_INTERNAL(),Mit(this._store,n))),Wo(this,"getPromise",n=>(this.checkRefCount_INTERNAL(),this.getLoadable(n).toPromise())),Wo(this,"getNodes_UNSTABLE",n=>{if(this.checkRefCount_INTERNAL(),(n==null?void 0:n.isModified)===!0){if((n==null?void 0:n.isInitialized)===!1)return[];const u=this._store.getState().currentTree;return R6e(u.dirtyAtoms)}const o=this._store.getState().knownAtoms,m=this._store.getState().knownSelectors;return(n==null?void 0:n.isInitialized)==null?M6e.values():n.isInitialized===!0?R6e(C6e([o,m])):ade(M6e.values(),({key:u})=>!o.has(u)&&!m.has(u))}),Wo(this,"getInfo_UNSTABLE",({key:n})=>(this.checkRefCount_INTERNAL(),wit(this._store,this._store.getState().currentTree,n))),Wo(this,"map",n=>{this.checkRefCount_INTERNAL();const o=new ude(this,cde);return n(o),o}),Wo(this,"asyncMap",async n=>{this.checkRefCount_INTERNAL();const o=new ude(this,cde);return o.retain(),await n(o),o.autoRelease_INTERNAL(),o}),this._store={storeID:Ait(),parentStoreID:r,getState:()=>t,replaceState:n=>{t.currentTree=n(t.currentTree)},getGraph:n=>{const o=t.graphsByVersion;if(o.has(n))return rc(o.get(n));const m=Tit();return o.set(n,m),m},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw os("Cannot subscribe to Snapshots")}};for(const n of this._store.getState().knownAtoms)Sit(this._store,n,"get"),JN(this._store,n,1);this.autoRelease_INTERNAL()}retain(){this._refCount<=0,this._refCount++;let t=!1;return()=>{t||(t=!0,this._release())}}autoRelease_INTERNAL(){Oit||window.setTimeout(()=>this._release(),10)}_release(){if(this._refCount--,this._refCount===0){if(this._store.getState().nodeCleanupFunctions.forEach(t=>t()),this._store.getState().nodeCleanupFunctions.clear(),!pl("recoil_memory_managament_2020"))return}else this._refCount<0}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){pl("recoil_memory_managament_2020")&&this._refCount<=0}getStore_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store}getID(){return this.checkRefCount_INTERNAL(),this._store.getState().currentTree.stateID}getStoreID(){return this.checkRefCount_INTERNAL(),this._store.storeID}}function I6e(e,t,r=!1){const n=e.getState(),o=r?Iit():t.version;return{currentTree:{version:r?o:t.version,stateID:r?o:t.stateID,transactionMetadata:{...t.transactionMetadata},dirtyAtoms:new Set(t.dirtyAtoms),atomValues:t.atomValues.clone(),nonvalidatedAtoms:t.nonvalidatedAtoms.clone()},commitDepth:0,nextTree:null,previousTree:null,knownAtoms:new Set(n.knownAtoms),knownSelectors:new Set(n.knownSelectors),transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(o,e.getGraph(t.version)),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map(jN(n.nodeCleanupFunctions.entries(),([m])=>[m,()=>{}]))}}function Pit(e){const t=new eI(Lit());return e!=null?t.map(e):t}const[L6e,O6e]=Dit((e,t)=>{var r;const n=e.getState(),o=t==="latest"?(r=n.nextTree)!==null&&r!==void 0?r:n.currentTree:rc(n.previousTree);return new eI(I6e(e,o),e.storeID)},(e,t)=>{var r,n;return String(t)+String(e.storeID)+String((r=e.getState().nextTree)===null||r===void 0?void 0:r.version)+String(e.getState().currentTree.version)+String((n=e.getState().previousTree)===null||n===void 0?void 0:n.version)});Nit(O6e);function Fit(e,t="latest"){const r=L6e(e,t);return r.isRetained()?r:(O6e(),L6e(e,t))}class ude extends eI{constructor(t,r){super(I6e(t.getStore_INTERNAL(),t.getStore_INTERNAL().getState().currentTree,!0),t.getStoreID()),Wo(this,"_batch",void 0),Wo(this,"set",(n,o)=>{this.checkRefCount_INTERNAL();const m=this.getStore_INTERNAL();this._batch(()=>{JN(m,n.key,1),N6e(this.getStore_INTERNAL(),n,o)})}),Wo(this,"reset",n=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();this._batch(()=>{JN(o,n.key,1),N6e(this.getStore_INTERNAL(),n,Cit)})}),Wo(this,"setUnvalidatedAtomValues_DEPRECATED",n=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();cde(()=>{for(const[m,u]of n.entries())JN(o,m,1),Rit(o,new kit(m),u)})}),this._batch=r}}var tI={Snapshot:eI,MutableSnapshot:ude,freshSnapshot:Pit,cloneSnapshot:Fit},Bit=tI.Snapshot,zit=tI.MutableSnapshot,Uit=tI.freshSnapshot,$it=tI.cloneSnapshot,rI=Object.freeze({__proto__:null,Snapshot:Bit,MutableSnapshot:zit,freshSnapshot:Uit,cloneSnapshot:$it});function Hit(...e){const t=new Set;for(const r of e)for(const n of r)t.add(n);return t}var Vit=Hit;const{useRef:Git}=wn;function jit(e){const t=Git(e);return t.current===e&&typeof e=="function"&&(t.current=e()),t}var D6e=jit;const{getNextTreeStateVersion:Yit,makeEmptyStoreState:P6e}=i6e,{cleanUpNode:Wit,getDownstreamNodes:Kit,initializeNode:Xit,setNodeValue:qit,setUnvalidatedAtomValue_DEPRECATED:Zit}=Ly,{graph:Qit}=TA,{cloneGraph:Jit}=TA,{getNextStoreID:F6e}=KN,{createMutableSource:dde,reactMode:B6e}=SA,{applyAtomValueWrites:eot}=Av,{releaseScheduledRetainablesNow:z6e}=q_,{freshSnapshot:tot}=rI,{useCallback:rot,useContext:U6e,useEffect:fde,useMemo:not,useRef:aot,useState:iot}=wn;function kA(){throw os("This component must be used inside a <RecoilRoot> component.")}const $6e=Object.freeze({storeID:F6e(),getState:kA,replaceState:kA,getGraph:kA,subscribeToTransactions:kA,addTransactionMetadata:kA});let hde=!1;function H6e(e){if(hde)throw os("An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.");const t=e.getState();if(t.nextTree===null){pl("recoil_memory_managament_2020")&&pl("recoil_release_on_cascading_update_killswitch_2021")&&t.commitDepth>0&&z6e(e);const r=t.currentTree.version,n=Yit();t.nextTree={...t.currentTree,version:n,stateID:n,dirtyAtoms:new Set,transactionMetadata:{}},t.graphsByVersion.set(n,Jit(rc(t.graphsByVersion.get(r))))}}const V6e=wn.createContext({current:$6e}),nI=()=>U6e(V6e),G6e=wn.createContext(null);function oot(){return U6e(G6e)}function pde(e,t,r){const n=Kit(e,r,r.dirtyAtoms);for(const o of n){const m=t.nodeToComponentSubscriptions.get(o);if(m)for(const[u,[h,a]]of m)a(r)}}function j6e(e){const t=e.getState(),r=t.currentTree,n=r.dirtyAtoms;if(n.size){for(const[o,m]of t.nodeTransactionSubscriptions)if(n.has(o))for(const[u,h]of m)h(e);for(const[o,m]of t.transactionSubscriptions)m(e);(!B6e().early||t.suspendedComponentResolvers.size>0)&&(pde(e,t,r),t.suspendedComponentResolvers.forEach(o=>o()),t.suspendedComponentResolvers.clear())}t.queuedComponentCallbacks_DEPRECATED.forEach(o=>o(r)),t.queuedComponentCallbacks_DEPRECATED.splice(0,t.queuedComponentCallbacks_DEPRECATED.length)}function sot(e){const t=e.getState();t.commitDepth++;try{const{nextTree:r}=t;if(r==null)return;t.previousTree=t.currentTree,t.currentTree=r,t.nextTree=null,j6e(e),t.previousTree!=null?t.graphsByVersion.delete(t.previousTree.version):Xue("Ended batch with no previous state, which is unexpected","recoil"),t.previousTree=null,pl("recoil_memory_managament_2020")&&r==null&&z6e(e)}finally{t.commitDepth--}}function lot({setNotifyBatcherOfChange:e}){const t=nI(),[,r]=iot([]);return e(()=>r({})),fde(()=>(e(()=>r({})),()=>{e(()=>{})}),[e]),fde(()=>{Gnt.enqueueExecution("Batcher",()=>{sot(t.current)})}),null}function cot(e,t){const r=P6e();return t({set:(n,o)=>{const m=r.currentTree,u=qit(e,m,n.key,o),h=new Set(u.keys()),a=m.nonvalidatedAtoms.clone();for(const l of h)a.delete(l);r.currentTree={...m,dirtyAtoms:Vit(m.dirtyAtoms,h),atomValues:eot(m.atomValues,u),nonvalidatedAtoms:a}},setUnvalidatedAtomValues:n=>{n.forEach((o,m)=>{r.currentTree=Zit(r.currentTree,m,o)})}}),r}function uot(e){const t=tot(e),r=t.getStore_INTERNAL().getState();return t.retain(),r.nodeCleanupFunctions.forEach(n=>n()),r.nodeCleanupFunctions.clear(),r}let Y6e=0;function dot({initializeState_DEPRECATED:e,initializeState:t,store_INTERNAL:r,children:n}){let o;const m=g=>{const p=o.current.graphsByVersion;if(p.has(g))return rc(p.get(g));const _=Qit();return p.set(g,_),_},u=(g,p)=>{if(p==null){const{transactionSubscriptions:_}=i.current.getState(),c=Y6e++;return _.set(c,g),{release:()=>{_.delete(c)}}}else{const{nodeTransactionSubscriptions:_}=i.current.getState();_.has(p)||_.set(p,new Map);const c=Y6e++;return rc(_.get(p)).set(c,g),{release:()=>{const s=_.get(p);s&&(s.delete(c),s.size===0&&_.delete(p))}}}},h=g=>{H6e(i.current);for(const p of Object.keys(g))rc(i.current.getState().nextTree).transactionMetadata[p]=g[p]},a=g=>{H6e(i.current);const p=rc(o.current.nextTree);let _;try{hde=!0,_=g(p)}finally{hde=!1}_!==p&&(o.current.nextTree=_,B6e().early&&pde(i.current,o.current,_),rc(l.current)())},l=aot(null),v=rot(g=>{l.current=g},[l]),i=D6e(()=>r??{storeID:F6e(),getState:()=>o.current,replaceState:a,getGraph:m,subscribeToTransactions:u,addTransactionMetadata:h});r!=null&&(i.current=r),o=D6e(()=>e!=null?cot(i.current,e):t!=null?uot(t):P6e());const S=not(()=>dde==null?void 0:dde(o,()=>o.current.currentTree.version),[o]);return fde(()=>{const g=i.current;for(const p of new Set(g.getState().knownAtoms))Xit(g,p,"get");return()=>{for(const p of g.getState().knownAtoms)Wit(g,p)}},[i]),wn.createElement(V6e.Provider,{value:i},wn.createElement(G6e.Provider,{value:S},wn.createElement(lot,{setNotifyBatcherOfChange:v}),n))}function fot(e){const{override:t,...r}=e,n=nI();return t===!1&&n.current!==$6e?e.children:wn.createElement(dot,r)}function hot(){return nI().current.storeID}var ng={RecoilRoot:fot,useStoreRef:nI,useRecoilMutableSource:oot,useRecoilStoreID:hot,notifyComponents_FOR_TESTING:pde,sendEndOfBatchNotifications_FOR_TESTING:j6e};function pot(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0,n=e.length;r<n;r++)if(e[r]!==t[r])return!1;return!0}var vot=pot;const{useEffect:mot,useRef:got}=wn;function yot(e){const t=got();return mot(()=>{t.current=e}),t.current}var W6e=yot;const{useStoreRef:_ot}=ng,{SUSPENSE_TIMEOUT_MS:xot}=q_,{updateRetainCount:MA}=q_,{RetentionZone:bot}=XN,{useEffect:Eot,useRef:Sot}=wn,{isSSR:K6e}=QN;function wot(e){if(pl("recoil_memory_managament_2020"))return Tot(e)}function Tot(e){const r=(Array.isArray(e)?e:[e]).map(u=>u instanceof bot?u:u.key),n=_ot();Eot(()=>{if(!pl("recoil_memory_managament_2020"))return;const u=n.current;if(o.current&&!K6e)window.clearTimeout(o.current),o.current=null;else for(const h of r)MA(u,h,1);return()=>{for(const h of r)MA(u,h,-1)}},[n,...r]);const o=Sot(),m=W6e(r);if(!K6e&&(m===void 0||!vot(m,r))){const u=n.current;for(const h of r)MA(u,h,1);if(m)for(const h of m)MA(u,h,-1);o.current&&window.clearTimeout(o.current),o.current=window.setTimeout(()=>{o.current=null;for(const h of r)MA(u,h,-1)},xot)}}var vde=wot;function Aot(){return"<component name not available>"}var RA=Aot;const{batchUpdates:Cot}=ZN,{DEFAULT_VALUE:X6e}=kh,{currentRendererSupportsUseSyncExternalStore:kot,reactMode:vw,useMutableSource:Mot,useSyncExternalStore:Rot}=SA,{useRecoilMutableSource:Not,useStoreRef:Cv}=ng,{AbstractRecoilValue:mde,getRecoilValueAsLoadable:NA,setRecoilValue:aI,setUnvalidatedRecoilValue:Iot,subscribeToRecoilValue:mw}=Av,{useCallback:Mh,useEffect:gw,useMemo:q6e,useRef:IA,useState:gde}=wn,{setByAddingToSet:Lot}=s6e,{isSSR:Oot}=QN;function yde(e,t,r){if(e.state==="hasValue")return e.contents;throw e.state==="loading"?new Promise(o=>{const m=r.current.getState().suspendedComponentResolvers;m.add(o),Oot&&Bl(e.contents)&&e.contents.finally(()=>{m.delete(o)})}):e.state==="hasError"?e.contents:os(`Invalid value of loadable atom "${t.key}"`)}function Dot(){const e=RA(),t=Cv(),[,r]=gde([]),n=IA(new Set);n.current=new Set;const o=IA(new Set),m=IA(new Map),u=Mh(a=>{const l=m.current.get(a);l&&(l.release(),m.current.delete(a))},[m]),h=Mh((a,l)=>{m.current.has(l)&&r([])},[]);return gw(()=>{const a=t.current;wA(n.current,o.current).forEach(l=>{if(m.current.has(l))return;const v=mw(a,new mde(l),S=>h(S,l),e);m.current.set(l,v),a.getState().nextTree?a.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{h(a.getState(),l)}):h(a.getState(),l)}),wA(o.current,n.current).forEach(l=>{u(l)}),o.current=n.current}),gw(()=>{const a=m.current;return wA(n.current,new Set(a.keys())).forEach(l=>{const v=mw(t.current,new mde(l),i=>h(i,l),e);a.set(l,v)}),()=>a.forEach((l,v)=>u(v))},[e,t,u,h]),q6e(()=>{function a(p){return _=>{aI(t.current,p,_)}}function l(p){return()=>aI(t.current,p,X6e)}function v(p){var _;n.current.has(p.key)||(n.current=Lot(n.current,p.key));const c=t.current.getState();return NA(t.current,p,vw().early&&(_=c.nextTree)!==null&&_!==void 0?_:c.currentTree)}function i(p){const _=v(p);return yde(_,p,t)}function S(p){return[i(p),a(p)]}function g(p){return[v(p),a(p)]}return{getRecoilValue:i,getRecoilValueLoadable:v,getRecoilState:S,getRecoilStateLoadable:g,getSetRecoilState:a,getResetRecoilState:l}},[n,t])}const Pot={current:0};function Fot(e){const t=Cv(),r=RA(),n=Mh(()=>{var h;const a=t.current,l=a.getState(),v=vw().early&&(h=l.nextTree)!==null&&h!==void 0?h:l.currentTree;return{loadable:NA(a,e,v),key:e.key}},[t,e]),o=Mh(h=>{let a;return()=>{var l,v;const i=h();return(l=a)!==null&&l!==void 0&&l.loadable.is(i.loadable)&&((v=a)===null||v===void 0?void 0:v.key)===i.key?a:(a=i,i)}},[]),m=q6e(()=>o(n),[n,o]),u=Mh(h=>{const a=t.current;return mw(a,e,h,r).release},[t,e,r]);return Rot(u,m,m).loadable}function Bot(e){const t=Cv(),r=Mh(()=>{var l;const v=t.current,i=v.getState(),S=vw().early&&(l=i.nextTree)!==null&&l!==void 0?l:i.currentTree;return NA(v,e,S)},[t,e]),n=Mh(()=>r(),[r]),o=RA(),m=Mh((l,v)=>{const i=t.current;return mw(i,e,()=>{if(!pl("recoil_suppress_rerender_in_callback"))return v();const g=r();a.current.is(g)||v(),a.current=g},o).release},[t,e,o,r]),u=Not();if(u==null)throw os("Recoil hooks must be used in components contained within a <RecoilRoot> component.");const h=Mot(u,n,m),a=IA(h);return gw(()=>{a.current=h}),h}function _de(e){const t=Cv(),r=RA(),n=Mh(()=>{var a;const l=t.current,v=l.getState(),i=vw().early&&(a=v.nextTree)!==null&&a!==void 0?a:v.currentTree;return NA(l,e,i)},[t,e]),o=Mh(()=>({loadable:n(),key:e.key}),[n,e.key]),m=Mh(a=>{const l=o();return a.loadable.is(l.loadable)&&a.key===l.key?a:l},[o]);gw(()=>{const a=mw(t.current,e,l=>{h(m)},r);return h(m),a.release},[r,e,t,m]);const[u,h]=gde(o);return u.key!==e.key?o().loadable:u.loadable}function zot(e){const t=Cv(),[,r]=gde([]),n=RA(),o=Mh(()=>{var h;const a=t.current,l=a.getState(),v=vw().early&&(h=l.nextTree)!==null&&h!==void 0?h:l.currentTree;return NA(a,e,v)},[t,e]),m=o(),u=IA(m);return gw(()=>{u.current=m}),gw(()=>{const h=t.current,a=h.getState(),l=mw(h,e,i=>{var S;if(!pl("recoil_suppress_rerender_in_callback"))return r([]);const g=o();(S=u.current)!==null&&S!==void 0&&S.is(g)||r(g),u.current=g},n);if(a.nextTree)h.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{u.current=null,r([])});else{var v;if(!pl("recoil_suppress_rerender_in_callback"))return r([]);const i=o();(v=u.current)!==null&&v!==void 0&&v.is(i)||r(i),u.current=i}return l.release},[n,o,e,t]),m}function xde(e){return pl("recoil_memory_managament_2020")&&vde(e),{TRANSITION_SUPPORT:_de,SYNC_EXTERNAL_STORE:kot()?Fot:_de,MUTABLE_SOURCE:Bot,LEGACY:zot}[vw().mode](e)}function Z6e(e){const t=Cv(),r=xde(e);return yde(r,e,t)}function iI(e){const t=Cv();return Mh(r=>{aI(t.current,e,r)},[t,e])}function Uot(e){const t=Cv();return Mh(()=>{aI(t.current,e,X6e)},[t,e])}function $ot(e){return[Z6e(e),iI(e)]}function Hot(e){return[xde(e),iI(e)]}function Vot(){const e=Cv();return(t,r={})=>{Cot(()=>{e.current.addTransactionMetadata(r),t.forEach((n,o)=>Iot(e.current,new mde(o),n))})}}function Q6e(e){return pl("recoil_memory_managament_2020")&&vde(e),_de(e)}function J6e(e){const t=Cv(),r=Q6e(e);return yde(r,e,t)}function Got(e){return[J6e(e),iI(e)]}var jot={recoilComponentGetRecoilValueCount_FOR_TESTING:Pot,useRecoilInterface:Dot,useRecoilState:$ot,useRecoilStateLoadable:Hot,useRecoilValue:Z6e,useRecoilValueLoadable:xde,useResetRecoilState:Uot,useSetRecoilState:iI,useSetUnvalidatedAtomValues:Vot,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:Q6e,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:J6e,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:Got};function Yot(e,t){const r=new Map;for(const[n,o]of e)t(o,n)&&r.set(n,o);return r}var Wot=Yot;function Kot(e,t){const r=new Set;for(const n of e)t(n)&&r.add(n);return r}var Xot=Kot;function qot(...e){const t=new Map;for(let r=0;r<e.length;r++){const n=e[r].keys();let o;for(;!(o=n.next()).done;)t.set(o.value,e[r].get(o.value))}return t}var Zot=qot;const{batchUpdates:Qot}=ZN,{DEFAULT_VALUE:Jot,getNode:eAe,nodes:est}=kh,{useStoreRef:bde}=ng,{AbstractRecoilValue:tst,setRecoilValueLoadable:rst}=Av,{SUSPENSE_TIMEOUT_MS:nst}=q_,{cloneSnapshot:oI}=rI,{useCallback:sI,useEffect:tAe,useRef:rAe,useState:ast}=wn,{isSSR:nAe}=QN;function lI(e){const t=bde();tAe(()=>t.current.subscribeToTransactions(e).release,[e,t])}function aAe(e){const t=e.atomValues.toMap(),r=WN(Wot(t,(n,o)=>{const u=eAe(o).persistence_UNSTABLE;return u!=null&&u.type!=="none"&&n.state==="hasValue"}),n=>n.contents);return Zot(e.nonvalidatedAtoms.toMap(),r)}function ist(e){lI(sI(t=>{let r=t.getState().previousTree;const n=t.getState().currentTree;r||(r=t.getState().currentTree);const o=aAe(n),m=aAe(r),u=WN(est,a=>{var l,v,i,S;return{persistence_UNSTABLE:{type:(l=(v=a.persistence_UNSTABLE)===null||v===void 0?void 0:v.type)!==null&&l!==void 0?l:"none",backButton:(i=(S=a.persistence_UNSTABLE)===null||S===void 0?void 0:S.backButton)!==null&&i!==void 0?i:!1}}}),h=Xot(n.dirtyAtoms,a=>o.has(a)||m.has(a));e({atomValues:o,previousAtomValues:m,atomInfo:u,modifiedAtoms:h,transactionMetadata:{...n.transactionMetadata}})},[e]))}function ost(e){lI(sI(t=>{const r=oI(t,"latest"),n=oI(t,"previous");e({snapshot:r,previousSnapshot:n})},[e]))}function sst(){const e=bde(),[t,r]=ast(()=>oI(e.current)),n=W6e(t),o=rAe(),m=rAe();if(lI(sI(h=>r(oI(h)),[])),tAe(()=>{const h=t.retain();if(o.current&&!nAe){var a;window.clearTimeout(o.current),o.current=null,(a=m.current)===null||a===void 0||a.call(m),m.current=null}return()=>{window.setTimeout(h,10)}},[t]),n!==t&&!nAe){if(o.current){var u;window.clearTimeout(o.current),o.current=null,(u=m.current)===null||u===void 0||u.call(m),m.current=null}m.current=t.retain(),o.current=window.setTimeout(()=>{var h;o.current=null,(h=m.current)===null||h===void 0||h.call(m),m.current=null},nst)}return t}function iAe(e,t){var r;const n=e.getState(),o=(r=n.nextTree)!==null&&r!==void 0?r:n.currentTree,m=t.getStore_INTERNAL().getState().currentTree;Qot(()=>{const u=new Set;for(const l of[o.atomValues.keys(),m.atomValues.keys()])for(const v of l){var h,a;((h=o.atomValues.get(v))===null||h===void 0?void 0:h.contents)!==((a=m.atomValues.get(v))===null||a===void 0?void 0:a.contents)&&eAe(v).shouldRestoreFromSnapshots&&u.add(v)}u.forEach(l=>{rst(e,new tst(l),m.atomValues.has(l)?rc(m.atomValues.get(l)):Jot)}),e.replaceState(l=>({...l,stateID:t.getID()}))})}function lst(){const e=bde();return sI(t=>iAe(e.current,t),[e])}var oAe={useRecoilSnapshot:sst,gotoSnapshot:iAe,useGotoRecoilSnapshot:lst,useRecoilTransactionObserver:ost,useTransactionObservation_DEPRECATED:ist,useTransactionSubscription_DEPRECATED:lI};const{peekNodeInfo:cst}=Ly,{useStoreRef:ust}=ng;function dst(){const e=ust();return({key:t})=>cst(e.current,e.current.getState().currentTree,t)}var fst=dst;const{reactMode:hst}=SA,{RecoilRoot:pst,useStoreRef:vst}=ng,{useMemo:mst}=wn;function gst(){hst().mode==="MUTABLE_SOURCE"&&console.warn("Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode. Please consider upgrading to recoil_sync_external_store mode.");const e=vst().current;return mst(()=>{function t({children:r}){return wn.createElement(pst,{store_INTERNAL:e},r)}return t},[e])}var yst=gst;const{loadableWithValue:_st}=EA,{initializeNode:xst}=Ly,{DEFAULT_VALUE:bst,getNode:Est}=kh,{copyTreeState:Sst,getRecoilValueAsLoadable:wst,invalidateDownstreams:Tst,writeLoadableToTreeState:Ast}=Av;function sAe(e){return Est(e.key).nodeType==="atom"}class Cst{constructor(t,r){Wo(this,"_store",void 0),Wo(this,"_treeState",void 0),Wo(this,"_changes",void 0),Wo(this,"get",n=>{if(this._changes.has(n.key))return this._changes.get(n.key);if(!sAe(n))throw os("Reading selectors within atomicUpdate is not supported");const o=wst(this._store,n,this._treeState);if(o.state==="hasValue")return o.contents;throw o.state==="hasError"?o.contents:os(`Expected Recoil atom ${n.key} to have a value, but it is in a loading state.`)}),Wo(this,"set",(n,o)=>{if(!sAe(n))throw os("Setting selectors within atomicUpdate is not supported");if(typeof o=="function"){const m=this.get(n);this._changes.set(n.key,o(m))}else xst(this._store,n.key,"set"),this._changes.set(n.key,o)}),Wo(this,"reset",n=>{this.set(n,bst)}),this._store=t,this._treeState=r,this._changes=new Map}newTreeState_INTERNAL(){if(this._changes.size===0)return this._treeState;const t=Sst(this._treeState);for(const[r,n]of this._changes)Ast(t,r,_st(n));return Tst(this._store,t),t}}function kst(e){return t=>{e.replaceState(r=>{const n=new Cst(e,r);return t(n),n.newTreeState_INTERNAL()})}}var Mst={atomicUpdater:kst},Rst=Mst.atomicUpdater,lAe=Object.freeze({__proto__:null,atomicUpdater:Rst});function Nst(e,t){if(!e)throw new Error(t)}var Ist=Nst,LA=Ist;const{atomicUpdater:Lst}=lAe,{batchUpdates:Ost}=ZN,{DEFAULT_VALUE:Dst}=kh,{useStoreRef:Pst}=ng,{refreshRecoilValue:Fst,setRecoilValue:cAe}=Av,{cloneSnapshot:Bst}=rI,{gotoSnapshot:zst}=oAe,{useCallback:Ust}=wn;class uAe{}const $st=new uAe;function dAe(e,t,r,n){let o=$st,m;if(Ost(()=>{const h="useRecoilCallback() expects a function that returns a function: it accepts a function of the type (RecoilInterface) => (Args) => ReturnType and returns a callback function (Args) => ReturnType, where RecoilInterface is an object {snapshot, set, ...} and Args and ReturnType are the argument and return types of the callback you want to create. Please see the docs at recoiljs.org for details.";if(typeof t!="function")throw os(h);const a=l6e({...n??{},set:(v,i)=>cAe(e,v,i),reset:v=>cAe(e,v,Dst),refresh:v=>Fst(e,v),gotoSnapshot:v=>zst(e,v),transact_UNSTABLE:v=>Lst(e)(v)},{snapshot:()=>{const v=Bst(e);return m=v.retain(),v}}),l=t(a);if(typeof l!="function")throw os(h);o=l(...r)}),o instanceof uAe&&LA(!1),Bl(o))o=o.finally(()=>{var h;(h=m)===null||h===void 0||h()});else{var u;(u=m)===null||u===void 0||u()}return o}function Hst(e,t){const r=Pst();return Ust((...n)=>dAe(r.current,e,n),t!=null?[...t,r]:void 0)}var fAe={recoilCallback:dAe,useRecoilCallback:Hst};const{useStoreRef:Vst}=ng,{refreshRecoilValue:Gst}=Av,{useCallback:jst}=wn;function Yst(e){const t=Vst();return jst(()=>{const r=t.current;Gst(r,e)},[e,t])}var Wst=Yst;const{atomicUpdater:Kst}=lAe,{useStoreRef:Xst}=ng,{useMemo:qst}=wn;function Zst(e,t){const r=Xst();return qst(()=>(...n)=>{Kst(r.current)(m=>{e(m)(...n)})},t!=null?[...t,r]:void 0)}var Qst=Zst;class Jst{constructor(t){Wo(this,"value",void 0),this.value=t}}var elt={WrappedValue:Jst},tlt=elt.WrappedValue,hAe=Object.freeze({__proto__:null,WrappedValue:tlt});const{isFastRefreshEnabled:rlt}=SA;class pAe extends Error{}class nlt{constructor(t){var r,n,o;Wo(this,"_name",void 0),Wo(this,"_numLeafs",void 0),Wo(this,"_root",void 0),Wo(this,"_onHit",void 0),Wo(this,"_onSet",void 0),Wo(this,"_mapNodeValue",void 0),this._name=t==null?void 0:t.name,this._numLeafs=0,this._root=null,this._onHit=(r=t==null?void 0:t.onHit)!==null&&r!==void 0?r:()=>{},this._onSet=(n=t==null?void 0:t.onSet)!==null&&n!==void 0?n:()=>{},this._mapNodeValue=(o=t==null?void 0:t.mapNodeValue)!==null&&o!==void 0?o:m=>m}size(){return this._numLeafs}root(){return this._root}get(t,r){var n;return(n=this.getLeafNode(t,r))===null||n===void 0?void 0:n.value}getLeafNode(t,r){if(this._root==null)return;let n=this._root;for(;n;){if(r==null||r.onNodeVisit(n),n.type==="leaf")return this._onHit(n),n;const o=this._mapNodeValue(t(n.nodeKey));n=n.branches.get(o)}}set(t,r,n){const o=()=>{var m,u,h,a;let l,v;for(const[c,s]of t){var i,S,g;const d=this._root;if((d==null?void 0:d.type)==="leaf")throw this.invalidCacheError();const f=l;if(l=f?f.branches.get(v):d,l=(i=l)!==null&&i!==void 0?i:{type:"branch",nodeKey:c,parent:f,branches:new Map,branchKey:v},l.type!=="branch"||l.nodeKey!==c)throw this.invalidCacheError();f==null||f.branches.set(v,l),n==null||(S=n.onNodeVisit)===null||S===void 0||S.call(n,l),v=this._mapNodeValue(s),this._root=(g=this._root)!==null&&g!==void 0?g:l}const p=l?(m=l)===null||m===void 0?void 0:m.branches.get(v):this._root;if(p!=null&&(p.type!=="leaf"||p.branchKey!==v))throw this.invalidCacheError();const _={type:"leaf",value:r,parent:l,branchKey:v};(u=l)===null||u===void 0||u.branches.set(v,_),this._root=(h=this._root)!==null&&h!==void 0?h:_,this._numLeafs++,this._onSet(_),n==null||(a=n.onNodeVisit)===null||a===void 0||a.call(n,_)};try{o()}catch(m){if(m instanceof pAe)this.clear(),o();else throw m}}delete(t){const r=this.root();if(!r)return!1;if(t===r)return this._root=null,this._numLeafs=0,!0;let n=t.parent,o=t.branchKey;for(;n;){var m;if(n.branches.delete(o),n===r)return n.branches.size===0?(this._root=null,this._numLeafs=0):this._numLeafs--,!0;if(n.branches.size>0)break;o=(m=n)===null||m===void 0?void 0:m.branchKey,n=n.parent}for(;n!==r;n=n.parent)if(n==null)return!1;return this._numLeafs--,!0}clear(){this._numLeafs=0,this._root=null}invalidCacheError(){const t=rlt()?"Possible Fast Refresh module reload detected. This may also be caused by an selector returning inconsistent values. Resetting cache.":"Invalid cache values. This happens when selectors do not return consistent values for the same input dependency values. That may also be caused when using Fast Refresh to change a selector implementation. Resetting cache.";throw Xue(t+(this._name!=null?` - ${this._name}`:"")),new pAe}}var alt={TreeCache:nlt},ilt=alt.TreeCache,vAe=Object.freeze({__proto__:null,TreeCache:ilt});class olt{constructor(t){var r;Wo(this,"_maxSize",void 0),Wo(this,"_size",void 0),Wo(this,"_head",void 0),Wo(this,"_tail",void 0),Wo(this,"_map",void 0),Wo(this,"_keyMapper",void 0),this._maxSize=t.maxSize,this._size=0,this._head=null,this._tail=null,this._map=new Map,this._keyMapper=(r=t.mapKey)!==null&&r!==void 0?r:n=>n}head(){return this._head}tail(){return this._tail}size(){return this._size}maxSize(){return this._maxSize}has(t){return this._map.has(this._keyMapper(t))}get(t){const r=this._keyMapper(t),n=this._map.get(r);if(n)return this.set(t,n.value),n.value}set(t,r){const n=this._keyMapper(t);this._map.get(n)&&this.delete(t);const m=this.head(),u={key:t,right:m,left:null,value:r};m?m.left=u:this._tail=u,this._map.set(n,u),this._head=u,this._size++,this._maybeDeleteLRU()}_maybeDeleteLRU(){this.size()>this.maxSize()&&this.deleteLru()}deleteLru(){const t=this.tail();t&&this.delete(t.key)}delete(t){const r=this._keyMapper(t);if(!this._size||!this._map.has(r))return;const n=rc(this._map.get(r)),o=n.right,m=n.left;o&&(o.left=n.left),m&&(m.right=n.right),n===this.head()&&(this._head=o),n===this.tail()&&(this._tail=m),this._map.delete(r),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}}var slt={LRUCache:olt},llt=slt.LRUCache,mAe=Object.freeze({__proto__:null,LRUCache:llt});const{LRUCache:clt}=mAe,{TreeCache:ult}=vAe;function dlt({name:e,maxSize:t,mapNodeValue:r=n=>n}){const n=new clt({maxSize:t}),o=new ult({name:e,mapNodeValue:r,onHit:m=>{n.set(m,!0)},onSet:m=>{const u=n.tail();n.set(m,!0),u&&o.size()>t&&o.delete(u.key)}});return o}var gAe=dlt;function C1(e,t,r){if(typeof e=="string"&&!e.includes('"')&&!e.includes("\\"))return`"${e}"`;switch(typeof e){case"undefined":return"";case"boolean":return e?"true":"false";case"number":case"symbol":return String(e);case"string":return JSON.stringify(e);case"function":if((t==null?void 0:t.allowFunctions)!==!0)throw os("Attempt to serialize function in a Recoil cache key");return`__FUNCTION(${e.name})__`}if(e===null)return"null";if(typeof e!="object"){var n;return(n=JSON.stringify(e))!==null&&n!==void 0?n:""}if(Bl(e))return"__PROMISE__";if(Array.isArray(e))return`[${e.map((o,m)=>C1(o,t,m.toString()))}]`;if(typeof e.toJSON=="function")return C1(e.toJSON(r),t,r);if(e instanceof Map){const o={};for(const[m,u]of e)o[typeof m=="string"?m:C1(m,t)]=u;return C1(o,t,r)}return e instanceof Set?C1(Array.from(e).sort((o,m)=>C1(o,t).localeCompare(C1(m,t))),t,r):Symbol!==void 0&&e[Symbol.iterator]!=null&&typeof e[Symbol.iterator]=="function"?C1(Array.from(e),t,r):`{${Object.keys(e).filter(o=>e[o]!==void 0).sort().map(o=>`${C1(o,t)}:${C1(e[o],t,o)}`).join(",")}}`}function flt(e,t={allowFunctions:!1}){return C1(e,t)}var cI=flt;const{TreeCache:hlt}=vAe,uI={equality:"reference",eviction:"keep-all",maxSize:1/0};function plt({equality:e=uI.equality,eviction:t=uI.eviction,maxSize:r=uI.maxSize}=uI,n){const o=vlt(e);return mlt(t,r,o,n)}function vlt(e){switch(e){case"reference":return t=>t;case"value":return t=>cI(t)}throw os(`Unrecognized equality policy ${e}`)}function mlt(e,t,r,n){switch(e){case"keep-all":return new hlt({name:n,mapNodeValue:r});case"lru":return gAe({name:n,maxSize:rc(t),mapNodeValue:r});case"most-recent":return gAe({name:n,maxSize:1,mapNodeValue:r})}throw os(`Unrecognized eviction policy ${e}`)}var glt=plt;function ylt(e){return()=>null}var _lt={startPerfBlock:ylt};const{isLoadable:xlt,loadableWithError:dI,loadableWithPromise:blt,loadableWithValue:Ede}=EA,{WrappedValue:yAe}=hAe,{getNodeLoadable:fI,peekNodeLoadable:Elt,setNodeValue:Slt}=Ly,{saveDepsToStore:wlt}=TA,{DEFAULT_VALUE:Tlt,getConfigDeletionHandler:Alt,getNode:Clt,registerNode:_Ae}=kh,{isRecoilValue:klt}=pw,{markRecoilValueModified:xAe}=Av,{retainedByOptionWithDefault:Mlt}=q_,{recoilCallback:Rlt}=fAe,{startPerfBlock:Nlt}=_lt;class bAe{}const OA=new bAe,DA=[],hI=new Map,Ilt=(()=>{let e=0;return()=>e++})();function EAe(e){let t=null;const{key:r,get:n,cachePolicy_UNSTABLE:o}=e,m=e.set!=null?e.set:void 0,u=new Set,h=glt(o??{equality:"reference",eviction:"keep-all"},r),a=Mlt(e.retainedBy_UNSTABLE),l=new Map;let v=0;function i(){return!pl("recoil_memory_managament_2020")||v>0}function S(U){return U.getState().knownSelectors.add(r),v++,()=>{v--}}function g(){return Alt(r)!==void 0&&!i()}function p(U,B,Y,z,V){M(B,z,V),_(U,Y)}function _(U,B){I(U,B)&&L(U),s(B,!0)}function c(U,B){I(U,B)&&(rc(A(U)).stateVersions.clear(),s(B,!1))}function s(U,B){const Y=hI.get(U);if(Y!=null){for(const z of Y)xAe(z,rc(t));B&&hI.delete(U)}}function d(U,B){let Y=hI.get(B);Y==null&&hI.set(B,Y=new Set),Y.add(U)}function f(U,B,Y,z,V,j){return B.then(G=>{if(!i())throw L(U),OA;const W=Ede(G);return p(U,Y,V,W,z),G}).catch(G=>{if(!i())throw L(U),OA;if(Bl(G))return b(U,G,Y,z,V,j);const W=dI(G);throw p(U,Y,V,W,z),G})}function b(U,B,Y,z,V,j){return B.then(G=>{if(!i())throw L(U),OA;j.loadingDepKey!=null&&j.loadingDepPromise===B?Y.atomValues.set(j.loadingDepKey,Ede(G)):U.getState().knownSelectors.forEach(ae=>{Y.atomValues.delete(ae)});const W=C(U,Y);if(W&&W.state!=="loading"){if((I(U,V)||A(U)==null)&&_(U,V),W.state==="hasValue")return W.contents;throw W.contents}if(!I(U,V)){const ae=R(U,Y);if(ae!=null)return ae.loadingLoadable.contents}const[X,Q]=y(U,Y,V);if(X.state!=="loading"&&p(U,Y,V,X,Q),X.state==="hasError")throw X.contents;return X.contents}).catch(G=>{if(G instanceof bAe)throw OA;if(!i())throw L(U),OA;const W=dI(G);throw p(U,Y,V,W,z),G})}function x(U,B,Y,z){var V,j,G,W;if(I(U,z)||B.version===((V=U.getState())===null||V===void 0||(j=V.currentTree)===null||j===void 0?void 0:j.version)||B.version===((G=U.getState())===null||G===void 0||(W=G.nextTree)===null||W===void 0?void 0:W.version)){var X,Q,ae;wlt(r,Y,U,(X=(Q=U.getState())===null||Q===void 0||(ae=Q.nextTree)===null||ae===void 0?void 0:ae.version)!==null&&X!==void 0?X:U.getState().currentTree.version)}for(const ie of Y)u.add(ie)}function y(U,B,Y){const z=Nlt(r);let V=!0,j=!0;const G=()=>{z(),j=!1};let W,X=!1,Q;const ae={loadingDepKey:null,loadingDepPromise:null},ie=new Map;function he({key:Z}){const le=fI(U,B,Z);switch(ie.set(Z,le),V||(x(U,B,new Set(ie.keys()),Y),c(U,Y)),le.state){case"hasValue":return le.contents;case"hasError":throw le.contents;case"loading":throw ae.loadingDepKey=Z,ae.loadingDepPromise=le.contents,le.contents}throw os("Invalid Loadable state")}const J=Z=>(...le)=>{if(j)throw os("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It can be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");return t==null&&LA(!1),Rlt(U,Z,le,{node:t})};try{W=n({get:he,getCallback:J}),W=klt(W)?he(W):W,xlt(W)&&(W.state==="hasError"&&(X=!0),W=W.contents),Bl(W)?W=f(U,W,B,ie,Y,ae).finally(G):G(),W=W instanceof yAe?W.value:W}catch(Z){W=Z,Bl(W)?W=b(U,W,B,ie,Y,ae).finally(G):(X=!0,G())}return X?Q=dI(W):Bl(W)?Q=blt(W):Q=Ede(W),V=!1,k(U,Y,ie),x(U,B,new Set(ie.keys()),Y),[Q,ie]}function C(U,B){let Y=B.atomValues.get(r);if(Y!=null)return Y;const z=new Set;try{Y=h.get(j=>(typeof j!="string"&&LA(!1),fI(U,B,j).contents),{onNodeVisit:j=>{j.type==="branch"&&j.nodeKey!==r&&z.add(j.nodeKey)}})}catch(j){throw os(`Problem with cache lookup for selector "${r}": ${j.message}`)}if(Y){var V;B.atomValues.set(r,Y),x(U,B,z,(V=A(U))===null||V===void 0?void 0:V.executionID)}return Y}function w(U,B){const Y=C(U,B);if(Y!=null)return L(U),Y;const z=R(U,B);if(z!=null){var V;return((V=z.loadingLoadable)===null||V===void 0?void 0:V.state)==="loading"&&d(U,z.executionID),z.loadingLoadable}const j=Ilt(),[G,W]=y(U,B,j);return G.state==="loading"?(E(U,j,G,W,B),d(U,j)):(L(U),M(B,G,W)),G}function R(U,B){const Y=C6e([l.has(U)?[rc(l.get(U))]:[],jN(ade(l,([V])=>V!==U),([,V])=>V)]);function z(V){for(const[j,G]of V)if(!fI(U,B,j).is(G))return!0;return!1}for(const V of Y){if(V.stateVersions.get(B.version)||!z(V.depValuesDiscoveredSoFarDuringAsyncWork))return V.stateVersions.set(B.version,!0),V;V.stateVersions.set(B.version,!1)}}function A(U){return l.get(U)}function E(U,B,Y,z,V){l.set(U,{depValuesDiscoveredSoFarDuringAsyncWork:z,executionID:B,loadingLoadable:Y,stateVersions:new Map([[V.version,!0]])})}function k(U,B,Y){if(I(U,B)){const z=A(U);z!=null&&(z.depValuesDiscoveredSoFarDuringAsyncWork=Y)}}function L(U){l.delete(U)}function I(U,B){var Y;return B===((Y=A(U))===null||Y===void 0?void 0:Y.executionID)}function P(U){return Array.from(U.entries()).map(([B,Y])=>[B,Y.contents])}function M(U,B,Y){U.atomValues.set(r,B);try{h.set(P(Y),B)}catch(z){throw os(`Problem with setting cache for selector "${r}": ${z.message}`)}}function F(U){if(DA.includes(r)){const B=`Recoil selector has circular dependencies: ${DA.slice(DA.indexOf(r)).join(" → ")}`;return dI(os(B))}DA.push(r);try{return U()}finally{DA.pop()}}function N(U,B){const Y=B.atomValues.get(r);return Y??h.get(z=>{var V;return typeof z!="string"&&LA(!1),(V=Elt(U,B,z))===null||V===void 0?void 0:V.contents})}function T(U,B){return F(()=>w(U,B))}function D(U){U.atomValues.delete(r)}function O(U,B){t==null&&LA(!1);for(const z of u){var Y;const V=Clt(z);(Y=V.clearCache)===null||Y===void 0||Y.call(V,U,B)}u.clear(),D(B),h.clear(),xAe(U,t)}return m!=null?t=_Ae({key:r,nodeType:"selector",peek:N,get:T,set:(B,Y,z)=>{let V=!1;const j=new Map;function G({key:ae}){if(V)throw os("Recoil: Async selector sets are not currently supported.");const ie=fI(B,Y,ae);if(ie.state==="hasValue")return ie.contents;if(ie.state==="loading"){const he=`Getting value of asynchronous atom or selector "${ae}" in a pending state while setting selector "${r}" is not yet supported.`;throw os(he)}else throw ie.contents}function W(ae,ie){if(V)throw os("Recoil: Async selector sets are not currently supported.");const he=typeof ie=="function"?ie(G(ae)):ie;Slt(B,Y,ae.key,he).forEach((Z,le)=>j.set(le,Z))}function X(ae){W(ae,Tlt)}const Q=m({set:W,get:G,reset:X},z);if(Q!==void 0)throw Bl(Q)?os("Recoil: Async selector sets are not currently supported."):os("Recoil: selector set should be a void function.");return V=!0,j},init:S,invalidate:D,clearCache:O,shouldDeleteConfigOnRelease:g,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:a}):t=_Ae({key:r,nodeType:"selector",peek:N,get:T,init:S,invalidate:D,clearCache:O,shouldDeleteConfigOnRelease:g,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:a})}EAe.value=e=>new yAe(e);var yw=EAe;const{isLoadable:Llt,loadableWithError:Sde,loadableWithPromise:wde,loadableWithValue:_w}=EA,{WrappedValue:SAe}=hAe,{peekNodeInfo:Olt}=Ly,{DEFAULT_VALUE:Z_,DefaultValue:Oy,getConfigDeletionHandler:wAe,registerNode:Dlt,setConfigDeletionHandler:Plt}=kh,{isRecoilValue:Flt}=pw,{getRecoilValueAsLoadable:Blt,markRecoilValueModified:zlt,setRecoilValue:TAe,setRecoilValueLoadable:Ult}=Av,{retainedByOptionWithDefault:$lt}=q_,PA=e=>e instanceof SAe?e.value:e;function Hlt(e){const{key:t,persistence_UNSTABLE:r}=e,n=$lt(e.retainedBy_UNSTABLE);let o=0;function m(d){return wde(d.then(f=>(u=_w(f),f)).catch(f=>{throw u=Sde(f),f}))}let u=Bl(e.default)?m(e.default):Llt(e.default)?e.default.state==="loading"?m(e.default.contents):e.default:_w(PA(e.default));u.contents;let h;const a=new Map;function l(d){return d}function v(d,f){const b=f.then(x=>{var y,C;return((C=((y=d.getState().nextTree)!==null&&y!==void 0?y:d.getState().currentTree).atomValues.get(t))===null||C===void 0?void 0:C.contents)===b&&TAe(d,s,x),x}).catch(x=>{var y,C;throw((C=((y=d.getState().nextTree)!==null&&y!==void 0?y:d.getState().currentTree).atomValues.get(t))===null||C===void 0?void 0:C.contents)===b&&Ult(d,s,Sde(x)),x});return b}function i(d,f,b){var x;o++;const y=()=>{var A;o--,(A=a.get(d))===null||A===void 0||A.forEach(E=>E()),a.delete(d)};if(d.getState().knownAtoms.add(t),u.state==="loading"){const A=()=>{var E;((E=d.getState().nextTree)!==null&&E!==void 0?E:d.getState().currentTree).atomValues.has(t)||zlt(d,s)};u.contents.finally(A)}const C=(x=e.effects)!==null&&x!==void 0?x:e.effects_UNSTABLE;if(C!=null){let A=function(D){if(I&&D.key===t){const O=L;return O instanceof Oy?S(d,f):Bl(O)?wde(O.then(U=>U instanceof Oy?u.toPromise():U)):_w(O)}return Blt(d,D)},E=function(D){return A(D).toPromise()},k=function(D){var O;const U=Olt(d,(O=d.getState().nextTree)!==null&&O!==void 0?O:d.getState().currentTree,D.key);return I&&D.key===t&&!(L instanceof Oy)?{...U,isSet:!0,loadable:A(D)}:U},L=Z_,I=!0,P=!1,M=null;const F=D=>O=>{if(I){const U=A(s),B=U.state==="hasValue"?U.contents:Z_;L=typeof O=="function"?O(B):O,Bl(L)&&(L=L.then(Y=>(M={effect:D,value:Y},Y)))}else{if(Bl(O))throw os("Setting atoms to async values is not implemented.");typeof O!="function"&&(M={effect:D,value:PA(O)}),TAe(d,s,typeof O=="function"?U=>{const B=PA(O(U));return M={effect:D,value:B},B}:PA(O))}},N=D=>()=>F(D)(Z_),T=D=>O=>{var U;const{release:B}=d.subscribeToTransactions(Y=>{var z;let{currentTree:V,previousTree:j}=Y.getState();j||(j=V);const G=(z=V.atomValues.get(t))!==null&&z!==void 0?z:u;if(G.state==="hasValue"){var W,X,Q,ae;const ie=G.contents,he=(W=j.atomValues.get(t))!==null&&W!==void 0?W:u,J=he.state==="hasValue"?he.contents:Z_;((X=M)===null||X===void 0?void 0:X.effect)!==D||((Q=M)===null||Q===void 0?void 0:Q.value)!==ie?O(ie,J,!V.atomValues.has(t)):((ae=M)===null||ae===void 0?void 0:ae.effect)===D&&(M=null)}},t);a.set(d,[...(U=a.get(d))!==null&&U!==void 0?U:[],B])};for(const D of C)try{const O=D({node:s,storeID:d.storeID,parentStoreID_UNSTABLE:d.parentStoreID,trigger:b,setSelf:F(D),resetSelf:N(D),onSet:T(D),getPromise:E,getLoadable:A,getInfo_UNSTABLE:k});if(O!=null){var w;a.set(d,[...(w=a.get(d))!==null&&w!==void 0?w:[],O])}}catch(O){L=O,P=!0}if(I=!1,!(L instanceof Oy)){var R;const D=P?Sde(L):Bl(L)?wde(v(d,L)):_w(PA(L));D.contents,f.atomValues.set(t,D),(R=d.getState().nextTree)===null||R===void 0||R.atomValues.set(t,D)}}return y}function S(d,f){var b,x;return(b=(x=f.atomValues.get(t))!==null&&x!==void 0?x:h)!==null&&b!==void 0?b:u}function g(d,f){if(f.atomValues.has(t))return rc(f.atomValues.get(t));if(f.nonvalidatedAtoms.has(t)){if(h!=null)return h;if(r==null)return u;const b=f.nonvalidatedAtoms.get(t),x=r.validator(b,Z_);return h=x instanceof Oy?u:_w(x),h}else return u}function p(){h=void 0}function _(d,f,b){if(f.atomValues.has(t)){const x=rc(f.atomValues.get(t));if(x.state==="hasValue"&&b===x.contents)return new Map}else if(!f.nonvalidatedAtoms.has(t)&&b instanceof Oy)return new Map;return h=void 0,new Map().set(t,_w(b))}function c(){return wAe(t)!==void 0&&o<=0}const s=Dlt({key:t,nodeType:"atom",peek:S,get:g,set:_,init:i,invalidate:p,shouldDeleteConfigOnRelease:c,dangerouslyAllowMutability:e.dangerouslyAllowMutability,persistence_UNSTABLE:e.persistence_UNSTABLE?{type:e.persistence_UNSTABLE.type,backButton:e.persistence_UNSTABLE.backButton}:void 0,shouldRestoreFromSnapshots:!0,retainedBy:n});return s}function Tde(e){const{...t}=e,r="default"in e?e.default:new Promise(()=>{});return Flt(r)?Vlt({...t,default:r}):Hlt({...t,default:r})}function Vlt(e){const t=Tde({...e,default:Z_,persistence_UNSTABLE:e.persistence_UNSTABLE===void 0?void 0:{...e.persistence_UNSTABLE,validator:n=>n instanceof Oy?n:rc(e.persistence_UNSTABLE).validator(n,Z_)},effects:e.effects,effects_UNSTABLE:e.effects_UNSTABLE}),r=yw({key:`${e.key}__withFallback`,get:({get:n})=>{const o=n(t);return o instanceof Oy?e.default:o},set:({set:n},o)=>n(t,o),cachePolicy_UNSTABLE:{eviction:"most-recent"},dangerouslyAllowMutability:e.dangerouslyAllowMutability});return Plt(r.key,wAe(e.key)),r}Tde.value=e=>new SAe(e);var AAe=Tde,Glt={MapCache:class{constructor(t){var r;Wo(this,"_map",void 0),Wo(this,"_keyMapper",void 0),this._map=new Map,this._keyMapper=(r=t==null?void 0:t.mapKey)!==null&&r!==void 0?r:n=>n}size(){return this._map.size}has(t){return this._map.has(this._keyMapper(t))}get(t){return this._map.get(this._keyMapper(t))}set(t,r){this._map.set(this._keyMapper(t),r)}delete(t){this._map.delete(this._keyMapper(t))}clear(){this._map.clear()}}},jlt=Glt.MapCache,Ylt=Object.freeze({__proto__:null,MapCache:jlt});const{LRUCache:CAe}=mAe,{MapCache:Wlt}=Ylt,pI={equality:"reference",eviction:"none",maxSize:1/0};function Klt({equality:e=pI.equality,eviction:t=pI.eviction,maxSize:r=pI.maxSize}=pI){const n=Xlt(e);return qlt(t,r,n)}function Xlt(e){switch(e){case"reference":return t=>t;case"value":return t=>cI(t)}throw os(`Unrecognized equality policy ${e}`)}function qlt(e,t,r){switch(e){case"keep-all":return new Wlt({mapKey:r});case"lru":return new CAe({mapKey:r,maxSize:rc(t)});case"most-recent":return new CAe({mapKey:r,maxSize:1})}throw os(`Unrecognized eviction policy ${e}`)}var kAe=Klt;const{setConfigDeletionHandler:Zlt}=kh;function Qlt(e){var t,r;const n=kAe({equality:(t=(r=e.cachePolicyForParams_UNSTABLE)===null||r===void 0?void 0:r.equality)!==null&&t!==void 0?t:"value",eviction:"keep-all"});return o=>{var m,u;const h=n.get(o);if(h!=null)return h;const{cachePolicyForParams_UNSTABLE:a,...l}=e,v="default"in e?e.default:new Promise(()=>{}),i=AAe({...l,key:`${e.key}__${(m=cI(o))!==null&&m!==void 0?m:"void"}`,default:typeof v=="function"?v(o):v,retainedBy_UNSTABLE:typeof e.retainedBy_UNSTABLE=="function"?e.retainedBy_UNSTABLE(o):e.retainedBy_UNSTABLE,effects:typeof e.effects=="function"?e.effects(o):typeof e.effects_UNSTABLE=="function"?e.effects_UNSTABLE(o):(u=e.effects)!==null&&u!==void 0?u:e.effects_UNSTABLE});return n.set(o,i),Zlt(i.key,()=>{n.delete(o)}),i}}var Jlt=Qlt;const{setConfigDeletionHandler:ect}=kh;let tct=0;function rct(e){var t,r;const n=kAe({equality:(t=(r=e.cachePolicyForParams_UNSTABLE)===null||r===void 0?void 0:r.equality)!==null&&t!==void 0?t:"value",eviction:"keep-all"});return o=>{var m;let u;try{u=n.get(o)}catch(S){throw os(`Problem with cache lookup for selector ${e.key}: ${S.message}`)}if(u!=null)return u;const h=`${e.key}__selectorFamily/${(m=cI(o,{allowFunctions:!0}))!==null&&m!==void 0?m:"void"}/${tct++}`,a=S=>e.get(o)(S),l=e.cachePolicy_UNSTABLE,v=typeof e.retainedBy_UNSTABLE=="function"?e.retainedBy_UNSTABLE(o):e.retainedBy_UNSTABLE;let i;if(e.set!=null){const S=e.set;i=yw({key:h,get:a,set:(p,_)=>S(o)(p,_),cachePolicy_UNSTABLE:l,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:v})}else i=yw({key:h,get:a,cachePolicy_UNSTABLE:l,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:v});return n.set(o,i),ect(i.key,()=>{n.delete(o)}),i}}var Dy=rct;const nct=Dy({key:"__constant",get:e=>()=>e,cachePolicyForParams_UNSTABLE:{equality:"reference"}});function act(e){return nct(e)}var ict=act;const oct=Dy({key:"__error",get:e=>()=>{throw os(e)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});function sct(e){return oct(e)}var lct=sct;function cct(e){return e}var uct=cct;const{loadableWithError:MAe,loadableWithPromise:RAe,loadableWithValue:NAe}=EA;function vI(e,t){const r=Array(t.length).fill(void 0),n=Array(t.length).fill(void 0);for(const[o,m]of t.entries())try{r[o]=e(m)}catch(u){n[o]=u}return[r,n]}function dct(e){return e!=null&&!Bl(e)}function mI(e){return Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t])}function Ade(e,t){return Array.isArray(e)?t:Object.getOwnPropertyNames(e).reduce((r,n,o)=>({...r,[n]:t[o]}),{})}function xw(e,t,r){const n=r.map((o,m)=>o==null?NAe(t[m]):Bl(o)?RAe(o):MAe(o));return Ade(e,n)}function fct(e,t){return t.map((r,n)=>r===void 0?e[n]:r)}const hct=Dy({key:"__waitForNone",get:e=>({get:t})=>{const r=mI(e),[n,o]=vI(t,r);return xw(e,n,o)},dangerouslyAllowMutability:!0}),pct=Dy({key:"__waitForAny",get:e=>({get:t})=>{const r=mI(e),[n,o]=vI(t,r);return o.some(m=>!Bl(m))?xw(e,n,o):new Promise(m=>{for(const[u,h]of o.entries())Bl(h)&&h.then(a=>{n[u]=a,o[u]=void 0,m(xw(e,n,o))}).catch(a=>{o[u]=a,m(xw(e,n,o))})})},dangerouslyAllowMutability:!0}),vct=Dy({key:"__waitForAll",get:e=>({get:t})=>{const r=mI(e),[n,o]=vI(t,r);if(o.every(u=>u==null))return Ade(e,n);const m=o.find(dct);if(m!=null)throw m;return Promise.all(o).then(u=>Ade(e,fct(n,u)))},dangerouslyAllowMutability:!0}),mct=Dy({key:"__waitForAllSettled",get:e=>({get:t})=>{const r=mI(e),[n,o]=vI(t,r);return o.every(m=>!Bl(m))?xw(e,n,o):Promise.all(o.map((m,u)=>Bl(m)?m.then(h=>{n[u]=h,o[u]=void 0}).catch(h=>{n[u]=void 0,o[u]=h}):null)).then(()=>xw(e,n,o))},dangerouslyAllowMutability:!0}),gct=Dy({key:"__noWait",get:e=>({get:t})=>{try{return yw.value(NAe(t(e)))}catch(r){return yw.value(Bl(r)?RAe(r):MAe(r))}},dangerouslyAllowMutability:!0});var yct={waitForNone:hct,waitForAny:pct,waitForAll:vct,waitForAllSettled:mct,noWait:gct};const{RecoilLoadable:_ct}=EA,{DefaultValue:xct}=kh,{RecoilRoot:bct,useRecoilStoreID:Ect}=ng,{isRecoilValue:Sct}=pw,{retentionZone:wct}=XN,{freshSnapshot:Tct}=rI,{useRecoilState:Act,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:Cct,useRecoilStateLoadable:kct,useRecoilValue:Mct,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Rct,useRecoilValueLoadable:Nct,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:Ict,useResetRecoilState:Lct,useSetRecoilState:Oct}=jot,{useGotoRecoilSnapshot:Dct,useRecoilSnapshot:Pct,useRecoilTransactionObserver:Fct}=oAe,{useRecoilCallback:Bct}=fAe,{noWait:zct,waitForAll:Uct,waitForAllSettled:$ct,waitForAny:Hct,waitForNone:Vct}=yct;var fs={DefaultValue:xct,isRecoilValue:Sct,RecoilLoadable:_ct,RecoilEnv:hw,RecoilRoot:bct,useRecoilStoreID:Ect,useRecoilBridgeAcrossReactRoots_UNSTABLE:yst,atom:AAe,selector:yw,atomFamily:Jlt,selectorFamily:Dy,constSelector:ict,errorSelector:lct,readOnlySelector:uct,noWait:zct,waitForNone:Vct,waitForAny:Hct,waitForAll:Uct,waitForAllSettled:$ct,useRecoilValue:Mct,useRecoilValueLoadable:Nct,useRecoilState:Act,useRecoilStateLoadable:kct,useSetRecoilState:Oct,useResetRecoilState:Lct,useGetRecoilValueInfo_UNSTABLE:fst,useRecoilRefresher_UNSTABLE:Wst,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:Ict,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Rct,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:Cct,useRecoilCallback:Bct,useRecoilTransaction_UNSTABLE:Qst,useGotoRecoilSnapshot:Dct,useRecoilSnapshot:Pct,useRecoilTransactionObserver_UNSTABLE:Fct,snapshot_UNSTABLE:Tct,useRetain:vde,retentionZone:wct},IAe=fs.DefaultValue,Gct=fs.isRecoilValue,jct=fs.RecoilLoadable,Yct=fs.RecoilEnv,LAe=fs.RecoilRoot,Wct=fs.useRecoilStoreID,Kct=fs.useRecoilBridgeAcrossReactRoots_UNSTABLE,Is=fs.atom,Cde=fs.selector,Xct=fs.atomFamily,qct=fs.selectorFamily,Zct=fs.constSelector,Qct=fs.errorSelector,Jct=fs.readOnlySelector,eut=fs.noWait,tut=fs.waitForNone,rut=fs.waitForAny,nut=fs.waitForAll,aut=fs.waitForAllSettled,ms=fs.useRecoilValue,iut=fs.useRecoilValueLoadable,zf=fs.useRecoilState,out=fs.useRecoilStateLoadable,ss=fs.useSetRecoilState,FA=fs.useResetRecoilState,sut=fs.useGetRecoilValueInfo_UNSTABLE,lut=fs.useRecoilRefresher_UNSTABLE,cut=fs.useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE,uut=fs.useRecoilValue_TRANSITION_SUPPORT_UNSTABLE,dut=fs.useRecoilState_TRANSITION_SUPPORT_UNSTABLE,fut=fs.useRecoilCallback,hut=fs.useRecoilTransaction_UNSTABLE,put=fs.useGotoRecoilSnapshot,vut=fs.useRecoilSnapshot,mut=fs.useRecoilTransactionObserver_UNSTABLE,gut=fs.snapshot_UNSTABLE,yut=fs.useRetain,_ut=fs.retentionZone;const xut=Object.freeze(Object.defineProperty({__proto__:null,DefaultValue:IAe,RecoilEnv:Yct,RecoilLoadable:jct,RecoilRoot:LAe,atom:Is,atomFamily:Xct,constSelector:Zct,default:fs,errorSelector:Qct,isRecoilValue:Gct,noWait:eut,readOnlySelector:Jct,retentionZone:_ut,selector:Cde,selectorFamily:qct,snapshot_UNSTABLE:gut,useGetRecoilValueInfo_UNSTABLE:sut,useGotoRecoilSnapshot:put,useRecoilBridgeAcrossReactRoots_UNSTABLE:Kct,useRecoilCallback:fut,useRecoilRefresher_UNSTABLE:lut,useRecoilSnapshot:vut,useRecoilState:zf,useRecoilStateLoadable:out,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:dut,useRecoilStoreID:Wct,useRecoilTransactionObserver_UNSTABLE:mut,useRecoilTransaction_UNSTABLE:hut,useRecoilValue:ms,useRecoilValueLoadable:iut,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:cut,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:uut,useResetRecoilState:FA,useRetain:yut,useSetRecoilState:ss,waitForAll:nut,waitForAllSettled:aut,waitForAny:rut,waitForNone:tut},Symbol.toStringTag,{value:"Module"}));var gI={exports:{}};/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/gI.exports,function(e,t){(function(){var r,n="4.17.21",o=200,m="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",h="Invalid `variable` option passed into `_.template`",a="__lodash_hash_undefined__",l=500,v="__lodash_placeholder__",i=1,S=2,g=4,p=1,_=2,c=1,s=2,d=4,f=8,b=16,x=32,y=64,C=128,w=256,R=512,A=30,E="...",k=800,L=16,I=1,P=2,M=3,F=1/0,N=9007199254740991,T=17976931348623157e292,D=NaN,O=4294967295,U=O-1,B=O>>>1,Y=[["ary",C],["bind",c],["bindKey",s],["curry",f],["curryRight",b],["flip",R],["partial",x],["partialRight",y],["rearg",w]],z="[object Arguments]",V="[object Array]",j="[object AsyncFunction]",G="[object Boolean]",W="[object Date]",X="[object DOMException]",Q="[object Error]",ae="[object Function]",ie="[object GeneratorFunction]",he="[object Map]",J="[object Number]",Z="[object Null]",le="[object Object]",K="[object Promise]",te="[object Proxy]",ce="[object RegExp]",re="[object Set]",ee="[object String]",de="[object Symbol]",oe="[object Undefined]",fe="[object WeakMap]",me="[object WeakSet]",Te="[object ArrayBuffer]",we="[object DataView]",Be="[object Float32Array]",Ae="[object Float64Array]",Re="[object Int8Array]",be="[object Int16Array]",Pe="[object Int32Array]",Ke="[object Uint8Array]",ze="[object Uint8ClampedArray]",Fe="[object Uint16Array]",We="[object Uint32Array]",lt=/\b__p \+= '';/g,ht=/\b(__p \+=) '' \+/g,tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,et=/&(?:amp|lt|gt|quot|#39);/g,pt=/[&<>"']/g,vt=RegExp(et.source),_t=RegExp(pt.source),bt=/<%-([\s\S]+?)%>/g,Rt=/<%([\s\S]+?)%>/g,ct=/<%=([\s\S]+?)%>/g,Ve=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qe=/^\w*$/,rt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,qe=/[\\^$.*+?()[\]{}|]/g,He=RegExp(qe.source),Ce=/^\s+/,Se=/\s/,Le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ne=/\{\n\/\* \[wrapped with (.+)\] \*/,je=/,? & /,Je=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ut=/[()=,{}\[\]\/\s]/,Et=/\\(\\)?/g,wt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nr=/\w*$/,ir=/^[-+]0x[0-9a-f]+$/i,It=/^0b[01]+$/i,Gt=/^\[object .+?Constructor\]$/,cr=/^0o[0-7]+$/i,Pr=/^(?:0|[1-9]\d*)$/,Ct=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,or=/($^)/,ur=/['\n\r\u2028\u2029\\]/g,Ir="\\ud800-\\udfff",yr="\\u0300-\\u036f",At="\\ufe20-\\ufe2f",mt="\\u20d0-\\u20ff",Mt=yr+At+mt,Pt="\\u2700-\\u27bf",Ht="a-z\\xdf-\\xf6\\xf8-\\xff",Ut="\\xac\\xb1\\xd7\\xf7",Zt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Xt="\\u2000-\\u206f",sr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Sr="A-Z\\xc0-\\xd6\\xd8-\\xde",wr="\\ufe0e\\ufe0f",Tr=Ut+Zt+Xt+sr,Ze="[']",Xe="["+Ir+"]",Wt="["+Tr+"]",jt="["+Mt+"]",ar="\\d+",mr="["+Pt+"]",br="["+Ht+"]",fr="[^"+Ir+Tr+ar+Pt+Ht+Sr+"]",Kt="\\ud83c[\\udffb-\\udfff]",kr="(?:"+jt+"|"+Kt+")",Rr="[^"+Ir+"]",Lr="(?:\\ud83c[\\udde6-\\uddff]){2}",Ar="[\\ud800-\\udbff][\\udc00-\\udfff]",ln="["+Sr+"]",Kr="\\u200d",Xr="(?:"+br+"|"+fr+")",Bn="(?:"+ln+"|"+fr+")",An="(?:"+Ze+"(?:d|ll|m|re|s|t|ve))?",ta="(?:"+Ze+"(?:D|LL|M|RE|S|T|VE))?",ra=kr+"?",Cr="["+wr+"]?",Jr="(?:"+Kr+"(?:"+[Rr,Lr,Ar].join("|")+")"+Cr+ra+")*",un="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",sn="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Nn=Cr+ra+Jr,Hn="(?:"+[mr,Lr,Ar].join("|")+")"+Nn,$n="(?:"+[Rr+jt+"?",jt,Lr,Ar,Xe].join("|")+")",da=RegExp(Ze,"g"),_a=RegExp(jt,"g"),Ya=RegExp(Kt+"(?="+Kt+")|"+$n+Nn,"g"),di=RegExp([ln+"?"+br+"+"+An+"(?="+[Wt,ln,"$"].join("|")+")",Bn+"+"+ta+"(?="+[Wt,ln+Xr,"$"].join("|")+")",ln+"?"+Xr+"+"+An,ln+"+"+ta,sn,un,ar,Hn].join("|"),"g"),ii=RegExp("["+Kr+Ir+Mt+wr+"]"),Za=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,oi=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Fr=-1,vn={};vn[Be]=vn[Ae]=vn[Re]=vn[be]=vn[Pe]=vn[Ke]=vn[ze]=vn[Fe]=vn[We]=!0,vn[z]=vn[V]=vn[Te]=vn[G]=vn[we]=vn[W]=vn[Q]=vn[ae]=vn[he]=vn[J]=vn[le]=vn[ce]=vn[re]=vn[ee]=vn[fe]=!1;var fn={};fn[z]=fn[V]=fn[Te]=fn[we]=fn[G]=fn[W]=fn[Be]=fn[Ae]=fn[Re]=fn[be]=fn[Pe]=fn[he]=fn[J]=fn[le]=fn[ce]=fn[re]=fn[ee]=fn[de]=fn[Ke]=fn[ze]=fn[Fe]=fn[We]=!0,fn[Q]=fn[ae]=fn[fe]=!1;var Vn={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Sa={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},na={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},aa={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ba=parseFloat,Ua=parseInt,fi=typeof Ns=="object"&&Ns&&Ns.Object===Object&&Ns,Vi=typeof self=="object"&&self&&self.Object===Object&&self,Dr=fi||Vi||Function("return this")(),tn=t&&!t.nodeType&&t,zr=tn&&!0&&e&&!e.nodeType&&e,rn=zr&&zr.exports===tn,Xn=rn&&fi.process,ia=function(){try{var Yn=zr&&zr.require&&zr.require("util").types;return Yn||Xn&&Xn.binding&&Xn.binding("util")}catch{}}(),zn=ia&&ia.isArrayBuffer,Ln=ia&&ia.isDate,Hr=ia&&ia.isMap,mn=ia&&ia.isRegExp,cn=ia&&ia.isSet,bn=ia&&ia.isTypedArray;function qn(Yn,ka,xa){switch(xa.length){case 0:return Yn.call(ka);case 1:return Yn.call(ka,xa[0]);case 2:return Yn.call(ka,xa[0],xa[1]);case 3:return Yn.call(ka,xa[0],xa[1],xa[2])}return Yn.apply(ka,xa)}function ua(Yn,ka,xa,Ni){for(var eo=-1,$o=Yn==null?0:Yn.length;++eo<$o;){var Hs=Yn[eo];ka(Ni,Hs,xa(Hs),Yn)}return Ni}function ea(Yn,ka){for(var xa=-1,Ni=Yn==null?0:Yn.length;++xa<Ni&&ka(Yn[xa],xa,Yn)!==!1;);return Yn}function Ea(Yn,ka){for(var xa=Yn==null?0:Yn.length;xa--&&ka(Yn[xa],xa,Yn)!==!1;);return Yn}function ya(Yn,ka){for(var xa=-1,Ni=Yn==null?0:Yn.length;++xa<Ni;)if(!ka(Yn[xa],xa,Yn))return!1;return!0}function ei(Yn,ka){for(var xa=-1,Ni=Yn==null?0:Yn.length,eo=0,$o=[];++xa<Ni;){var Hs=Yn[xa];ka(Hs,xa,Yn)&&($o[eo++]=Hs)}return $o}function Wa(Yn,ka){var xa=Yn==null?0:Yn.length;return!!xa&&sd(Yn,ka,0)>-1}function ni(Yn,ka,xa){for(var Ni=-1,eo=Yn==null?0:Yn.length;++Ni<eo;)if(xa(ka,Yn[Ni]))return!0;return!1}function si(Yn,ka){for(var xa=-1,Ni=Yn==null?0:Yn.length,eo=Array(Ni);++xa<Ni;)eo[xa]=ka(Yn[xa],xa,Yn);return eo}function Uo(Yn,ka){for(var xa=-1,Ni=ka.length,eo=Yn.length;++xa<Ni;)Yn[eo+xa]=ka[xa];return Yn}function Fo(Yn,ka,xa,Ni){var eo=-1,$o=Yn==null?0:Yn.length;for(Ni&&$o&&(xa=Yn[++eo]);++eo<$o;)xa=ka(xa,Yn[eo],eo,Yn);return xa}function nu(Yn,ka,xa,Ni){var eo=Yn==null?0:Yn.length;for(Ni&&eo&&(xa=Yn[--eo]);eo--;)xa=ka(xa,Yn[eo],eo,Yn);return xa}function cc(Yn,ka){for(var xa=-1,Ni=Yn==null?0:Yn.length;++xa<Ni;)if(ka(Yn[xa],xa,Yn))return!0;return!1}var jl=xf("length");function Wh(Yn){return Yn.split("")}function J1(Yn){return Yn.match(Je)||[]}function ev(Yn,ka,xa){var Ni;return xa(Yn,function(eo,$o,Hs){if(ka(eo,$o,Hs))return Ni=$o,!1}),Ni}function Ao(Yn,ka,xa,Ni){for(var eo=Yn.length,$o=xa+(Ni?1:-1);Ni?$o--:++$o<eo;)if(ka(Yn[$o],$o,Yn))return $o;return-1}function sd(Yn,ka,xa){return ka===ka?ey(Yn,ka,xa):Ao(Yn,ml,xa)}function tv(Yn,ka,xa,Ni){for(var eo=xa-1,$o=Yn.length;++eo<$o;)if(Ni(Yn[eo],ka))return eo;return-1}function ml(Yn){return Yn!==Yn}function uc(Yn,ka){var xa=Yn==null?0:Yn.length;return xa?Qs(Yn,ka)/xa:D}function xf(Yn){return function(ka){return ka==null?r:ka[Yn]}}function Kh(Yn){return function(ka){return Yn==null?r:Yn[ka]}}function Zs(Yn,ka,xa,Ni,eo){return eo(Yn,function($o,Hs,vs){xa=Ni?(Ni=!1,$o):ka(xa,$o,Hs,vs)}),xa}function Xh(Yn,ka){var xa=Yn.length;for(Yn.sort(ka);xa--;)Yn[xa]=Yn[xa].value;return Yn}function Qs(Yn,ka){for(var xa,Ni=-1,eo=Yn.length;++Ni<eo;){var $o=ka(Yn[Ni]);$o!==r&&(xa=xa===r?$o:xa+$o)}return xa}function ul(Yn,ka){for(var xa=-1,Ni=Array(Yn);++xa<Yn;)Ni[xa]=ka(xa);return Ni}function qh(Yn,ka){return si(ka,function(xa){return[xa,Yn[xa]]})}function kl(Yn){return Yn&&Yn.slice(0,wf(Yn)+1).replace(Ce,"")}function bs(Yn){return function(ka){return Yn(ka)}}function Tc(Yn,ka){return si(ka,function(xa){return Yn[xa]})}function Zh(Yn,ka){return Yn.has(ka)}function Ac(Yn,ka){for(var xa=-1,Ni=Yn.length;++xa<Ni&&sd(ka,Yn[xa],0)>-1;);return xa}function Am(Yn,ka){for(var xa=Yn.length;xa--&&sd(ka,Yn[xa],0)>-1;);return xa}function ld(Yn,ka){for(var xa=Yn.length,Ni=0;xa--;)Yn[xa]===ka&&++Ni;return Ni}var Ml=Kh(Vn),rv=Kh(Sa);function bf(Yn){return"\\"+aa[Yn]}function cd(Yn,ka){return Yn==null?r:Yn[ka]}function Ef(Yn){return ii.test(Yn)}function Cm(Yn){return Za.test(Yn)}function Jg(Yn){for(var ka,xa=[];!(ka=Yn.next()).done;)xa.push(ka.value);return xa}function Qh(Yn){var ka=-1,xa=Array(Yn.size);return Yn.forEach(function(Ni,eo){xa[++ka]=[eo,Ni]}),xa}function km(Yn,ka){return function(xa){return Yn(ka(xa))}}function Sf(Yn,ka){for(var xa=-1,Ni=Yn.length,eo=0,$o=[];++xa<Ni;){var Hs=Yn[xa];(Hs===ka||Hs===v)&&(Yn[xa]=v,$o[eo++]=xa)}return $o}function t1(Yn){var ka=-1,xa=Array(Yn.size);return Yn.forEach(function(Ni){xa[++ka]=Ni}),xa}function nv(Yn){var ka=-1,xa=Array(Yn.size);return Yn.forEach(function(Ni){xa[++ka]=[Ni,Ni]}),xa}function ey(Yn,ka,xa){for(var Ni=xa-1,eo=Yn.length;++Ni<eo;)if(Yn[Ni]===ka)return Ni;return-1}function ty(Yn,ka,xa){for(var Ni=xa+1;Ni--;)if(Yn[Ni]===ka)return Ni;return Ni}function eh(Yn){return Ef(Yn)?Qp(Yn):jl(Yn)}function bu(Yn){return Ef(Yn)?Jp(Yn):Wh(Yn)}function wf(Yn){for(var ka=Yn.length;ka--&&Se.test(Yn.charAt(ka)););return ka}var Jh=Kh(na);function Qp(Yn){for(var ka=Ya.lastIndex=0;Ya.test(Yn);)++ka;return ka}function Jp(Yn){return Yn.match(Ya)||[]}function Mm(Yn){return Yn.match(di)||[]}var Ud=function Yn(ka){ka=ka==null?Dr:ep.defaults(Dr.Object(),ka,ep.pick(Dr,oi));var xa=ka.Array,Ni=ka.Date,eo=ka.Error,$o=ka.Function,Hs=ka.Math,vs=ka.Object,ud=ka.RegExp,dd=ka.String,Uc=ka.TypeError,$d=xa.prototype,zu=$o.prototype,ws=vs.prototype,tp=ka["__core-js_shared__"],r1=zu.toString,cs=ws.hasOwnProperty,rp=0,th=function(){var pe=/[^.]+$/.exec(tp&&tp.keys&&tp.keys.IE_PROTO||"");return pe?"Symbol(src)_1."+pe:""}(),Yl=ws.toString,n1=r1.call(vs),np=Dr._,a1=ud("^"+r1.call(cs).replace(qe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),i1=rn?ka.Buffer:r,Hd=ka.Symbol,ap=ka.Uint8Array,o1=i1?i1.allocUnsafe:r,ip=km(vs.getPrototypeOf,vs),rh=vs.create,e0=ws.propertyIsEnumerable,Tf=$d.splice,t0=Hd?Hd.isConcatSpreadable:r,ts=Hd?Hd.iterator:r,Af=Hd?Hd.toStringTag:r,$c=function(){try{var pe=nt(vs,"defineProperty");return pe({},"",{}),pe}catch{}}(),Rm=ka.clearTimeout!==Dr.clearTimeout&&ka.clearTimeout,av=Ni&&Ni.now!==Dr.Date.now&&Ni.now,nh=ka.setTimeout!==Dr.setTimeout&&ka.setTimeout,Uu=Hs.ceil,ah=Hs.floor,Xs=vs.getOwnPropertySymbols,r0=i1?i1.isBuffer:r,Eu=ka.isFinite,Vd=$d.join,ih=km(vs.keys,vs),Os=Hs.max,Ds=Hs.min,Gd=Ni.now,$u=ka.parseInt,au=Hs.random,n0=$d.reverse,iv=nt(ka,"DataView"),a0=nt(ka,"Map"),ov=nt(ka,"Promise"),op=nt(ka,"Set"),oh=nt(ka,"WeakMap"),sp=nt(vs,"create"),jd=oh&&new oh,Js={},iu=Kc(iv),lp=Kc(a0),Nm=Kc(ov),i0=Kc(op),Yd=Kc(oh),s1=Hd?Hd.prototype:r,cp=s1?s1.valueOf:r,sv=s1?s1.toString:r;function Br(pe){if(hc(pe)&&!Bo(pe)&&!(pe instanceof vo)){if(pe instanceof al)return pe;if(cs.call(pe,"__wrapped__"))return mh(pe)}return new al(pe)}var sh=function(){function pe(){}return function(Me){if(!Xl(Me))return{};if(rh)return rh(Me);pe.prototype=Me;var st=new pe;return pe.prototype=r,st}}();function Rl(){}function al(pe,Me){this.__wrapped__=pe,this.__actions__=[],this.__chain__=!!Me,this.__index__=0,this.__values__=r}Br.templateSettings={escape:bt,evaluate:Rt,interpolate:ct,variable:"",imports:{_:Br}},Br.prototype=Rl.prototype,Br.prototype.constructor=Br,al.prototype=sh(Rl.prototype),al.prototype.constructor=al;function vo(pe){this.__wrapped__=pe,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=O,this.__views__=[]}function up(){var pe=new vo(this.__wrapped__);return pe.__actions__=Wc(this.__actions__),pe.__dir__=this.__dir__,pe.__filtered__=this.__filtered__,pe.__iteratees__=Wc(this.__iteratees__),pe.__takeCount__=this.__takeCount__,pe.__views__=Wc(this.__views__),pe}function l1(){if(this.__filtered__){var pe=new vo(this);pe.__dir__=-1,pe.__filtered__=!0}else pe=this.clone(),pe.__dir__*=-1;return pe}function lh(){var pe=this.__wrapped__.value(),Me=this.__dir__,st=Bo(pe),Vt=Me<0,pr=st?pe.length:0,jr=Er(0,pr,this.__views__),Sn=jr.start,Dn=jr.end,Jn=Dn-Sn,za=Vt?Dn:Sn-1,Pa=this.__iteratees__,Xa=Pa.length,Li=0,Ai=Ds(Jn,this.__takeCount__);if(!st||!Vt&&pr==Jn&&Ai==Jn)return yl(pe,this.__actions__);var oo=[];e:for(;Jn--&&Li<Ai;){za+=Me;for(var Ui=-1,so=pe[za];++Ui<Xa;){var ds=Pa[Ui],ys=ds.iteratee,Of=ds.type,xd=ys(so);if(Of==P)so=xd;else if(!xd){if(Of==I)continue e;break e}}oo[Li++]=so}return oo}vo.prototype=sh(Rl.prototype),vo.prototype.constructor=vo;function ou(pe){var Me=-1,st=pe==null?0:pe.length;for(this.clear();++Me<st;){var Vt=pe[Me];this.set(Vt[0],Vt[1])}}function Im(){this.__data__=sp?sp(null):{},this.size=0}function Wd(pe){var Me=this.has(pe)&&delete this.__data__[pe];return this.size-=Me?1:0,Me}function dp(pe){var Me=this.__data__;if(sp){var st=Me[pe];return st===a?r:st}return cs.call(Me,pe)?Me[pe]:r}function Cf(pe){var Me=this.__data__;return sp?Me[pe]!==r:cs.call(Me,pe)}function Kd(pe,Me){var st=this.__data__;return this.size+=this.has(pe)?0:1,st[pe]=sp&&Me===r?a:Me,this}ou.prototype.clear=Im,ou.prototype.delete=Wd,ou.prototype.get=dp,ou.prototype.has=Cf,ou.prototype.set=Kd;function su(pe){var Me=-1,st=pe==null?0:pe.length;for(this.clear();++Me<st;){var Vt=pe[Me];this.set(Vt[0],Vt[1])}}function fp(){this.__data__=[],this.size=0}function us(pe){var Me=this.__data__,st=Hu(Me,pe);if(st<0)return!1;var Vt=Me.length-1;return st==Vt?Me.pop():Tf.call(Me,st,1),--this.size,!0}function hp(pe){var Me=this.__data__,st=Hu(Me,pe);return st<0?r:Me[st][1]}function c1(pe){return Hu(this.__data__,pe)>-1}function Lm(pe,Me){var st=this.__data__,Vt=Hu(st,pe);return Vt<0?(++this.size,st.push([pe,Me])):st[Vt][1]=Me,this}su.prototype.clear=fp,su.prototype.delete=us,su.prototype.get=hp,su.prototype.has=c1,su.prototype.set=Lm;function Hc(pe){var Me=-1,st=pe==null?0:pe.length;for(this.clear();++Me<st;){var Vt=pe[Me];this.set(Vt[0],Vt[1])}}function o0(){this.size=0,this.__data__={hash:new ou,map:new(a0||su),string:new ou}}function u1(pe){var Me=xe(this,pe).delete(pe);return this.size-=Me?1:0,Me}function lv(pe){return xe(this,pe).get(pe)}function s0(pe){return xe(this,pe).has(pe)}function l0(pe,Me){var st=xe(this,pe),Vt=st.size;return st.set(pe,Me),this.size+=st.size==Vt?0:1,this}Hc.prototype.clear=o0,Hc.prototype.delete=u1,Hc.prototype.get=lv,Hc.prototype.has=s0,Hc.prototype.set=l0;function Vc(pe){var Me=-1,st=pe==null?0:pe.length;for(this.__data__=new Hc;++Me<st;)this.add(pe[Me])}function c0(pe){return this.__data__.set(pe,a),this}function kf(pe){return this.__data__.has(pe)}Vc.prototype.add=Vc.prototype.push=c0,Vc.prototype.has=kf;function Es(pe){var Me=this.__data__=new su(pe);this.size=Me.size}function fd(){this.__data__=new su,this.size=0}function cv(pe){var Me=this.__data__,st=Me.delete(pe);return this.size=Me.size,st}function ch(pe){return this.__data__.get(pe)}function d1(pe){return this.__data__.has(pe)}function u0(pe,Me){var st=this.__data__;if(st instanceof su){var Vt=st.__data__;if(!a0||Vt.length<o-1)return Vt.push([pe,Me]),this.size=++st.size,this;st=this.__data__=new Hc(Vt)}return st.set(pe,Me),this.size=st.size,this}Es.prototype.clear=fd,Es.prototype.delete=cv,Es.prototype.get=ch,Es.prototype.has=d1,Es.prototype.set=u0;function Om(pe,Me){var st=Bo(pe),Vt=!st&&Ku(pe),pr=!st&&!Vt&&Sp(pe),jr=!st&&!Vt&&!pr&&y_(pe),Sn=st||Vt||pr||jr,Dn=Sn?ul(pe.length,dd):[],Jn=Dn.length;for(var za in pe)(Me||cs.call(pe,za))&&!(Sn&&(za=="length"||pr&&(za=="offset"||za=="parent")||jr&&(za=="buffer"||za=="byteLength"||za=="byteOffset")||la(za,Jn)))&&Dn.push(za);return Dn}function uv(pe){var Me=pe.length;return Me?pe[On(0,Me-1)]:r}function dc(pe,Me){return tl(Wc(pe),Gc(Me,0,pe.length))}function d0(pe){return tl(Wc(pe))}function Mf(pe,Me,st){(st!==r&&!x0(pe[Me],st)||st===r&&!(Me in pe))&&Su(pe,Me,st)}function pp(pe,Me,st){var Vt=pe[Me];(!(cs.call(pe,Me)&&x0(Vt,st))||st===r&&!(Me in pe))&&Su(pe,Me,st)}function Hu(pe,Me){for(var st=pe.length;st--;)if(x0(pe[st][0],Me))return st;return-1}function ry(pe,Me,st,Vt){return wu(pe,function(pr,jr,Sn){Me(Vt,pr,st(pr),Sn)}),Vt}function Cc(pe,Me){return pe&&dh(Me,ql(Me),pe)}function f0(pe,Me){return pe&&dh(Me,Xd(Me),pe)}function Su(pe,Me,st){Me=="__proto__"&&$c?$c(pe,Me,{configurable:!0,enumerable:!0,value:st,writable:!0}):pe[Me]=st}function Vu(pe,Me){for(var st=-1,Vt=Me.length,pr=xa(Vt),jr=pe==null;++st<Vt;)pr[st]=jr?r:cR(pe,Me[st]);return pr}function Gc(pe,Me,st){return pe===pe&&(st!==r&&(pe=pe<=st?pe:st),Me!==r&&(pe=pe>=Me?pe:Me)),pe}function jc(pe,Me,st,Vt,pr,jr){var Sn,Dn=Me&i,Jn=Me&S,za=Me&g;if(st&&(Sn=pr?st(pe,Vt,pr,jr):st(pe)),Sn!==r)return Sn;if(!Xl(pe))return pe;var Pa=Bo(pe);if(Pa){if(Sn=pn(pe),!Dn)return Wc(pe,Sn)}else{var Xa=lr(pe),Li=Xa==ae||Xa==ie;if(Sp(pe))return Ll(pe,Dn);if(Xa==le||Xa==z||Li&&!pr){if(Sn=Jn||Li?{}:hn(pe),!Dn)return Jn?m4(pe,f0(Sn,pe)):fv(pe,Cc(Sn,pe))}else{if(!fn[Xa])return pr?pe:{};Sn=dn(pe,Xa,Dn)}}jr||(jr=new Es);var Ai=jr.get(pe);if(Ai)return Ai;jr.set(pe,Sn),lR(pe)?pe.forEach(function(so){Sn.add(jc(so,Me,st,so,pe,jr))}):tle(pe)&&pe.forEach(function(so,ds){Sn.set(ds,jc(so,Me,st,ds,pe,jr))});var oo=za?Jn?xl:u_:Jn?Xd:ql,Ui=Pa?r:oo(pe);return ea(Ui||pe,function(so,ds){Ui&&(ds=so,so=pe[ds]),pp(Sn,ds,jc(so,Me,st,ds,pe,jr))}),Sn}function h0(pe){var Me=ql(pe);return function(st){return vp(st,pe,Me)}}function vp(pe,Me,st){var Vt=st.length;if(pe==null)return!Vt;for(pe=vs(pe);Vt--;){var pr=st[Vt],jr=Me[pr],Sn=pe[pr];if(Sn===r&&!(pr in pe)||!jr(Sn))return!1}return!0}function p0(pe,Me,st){if(typeof pe!="function")throw new Uc(u);return go(function(){pe.apply(r,st)},Me)}function mp(pe,Me,st,Vt){var pr=-1,jr=Wa,Sn=!0,Dn=pe.length,Jn=[],za=Me.length;if(!Dn)return Jn;st&&(Me=si(Me,bs(st))),Vt?(jr=ni,Sn=!1):Me.length>=o&&(jr=Zh,Sn=!1,Me=new Vc(Me));e:for(;++pr<Dn;){var Pa=pe[pr],Xa=st==null?Pa:st(Pa);if(Pa=Vt||Pa!==0?Pa:0,Sn&&Xa===Xa){for(var Li=za;Li--;)if(Me[Li]===Xa)continue e;Jn.push(Pa)}else jr(Me,Xa,Vt)||Jn.push(Pa)}return Jn}var wu=hv(kt),f1=hv(Yt,!0);function uh(pe,Me){var st=!0;return wu(pe,function(Vt,pr,jr){return st=!!Me(Vt,pr,jr),st}),st}function gp(pe,Me,st){for(var Vt=-1,pr=pe.length;++Vt<pr;){var jr=pe[Vt],Sn=Me(jr);if(Sn!=null&&(Dn===r?Sn===Sn&&!_h(Sn):st(Sn,Dn)))var Dn=Sn,Jn=jr}return Jn}function v0(pe,Me,st,Vt){var pr=pe.length;for(st=Yo(st),st<0&&(st=-st>pr?0:pr+st),Vt=Vt===r||Vt>pr?pr:Yo(Vt),Vt<0&&(Vt+=pr),Vt=st>Vt?0:Mc(Vt);st<Vt;)pe[st++]=Me;return pe}function dv(pe,Me){var st=[];return wu(pe,function(Vt,pr,jr){Me(Vt,pr,jr)&&st.push(Vt)}),st}function at(pe,Me,st,Vt,pr){var jr=-1,Sn=pe.length;for(st||(st=Fn),pr||(pr=[]);++jr<Sn;){var Dn=pe[jr];Me>0&&st(Dn)?Me>1?at(Dn,Me-1,st,Vt,pr):Uo(pr,Dn):Vt||(pr[pr.length]=Dn)}return pr}var ft=Tu(),Tt=Tu(!0);function kt(pe,Me){return pe&&ft(pe,Me,ql)}function Yt(pe,Me){return pe&&Tt(pe,Me,ql)}function $t(pe,Me){return ei(Me,function(st){return yv(pe[st])})}function qt(pe,Me){Me=ja(Me,pe);for(var st=0,Vt=Me.length;pe!=null&&st<Vt;)pe=pe[Kl(Me[st++])];return st&&st==Vt?pe:r}function Mr(pe,Me,st){var Vt=Me(pe);return Bo(pe)?Vt:Uo(Vt,st(pe))}function Nr(pe){return pe==null?pe===r?oe:Z:Af&&Af in vs(pe)?yt(pe):Si(pe)}function gr(pe,Me){return pe>Me}function Ur(pe,Me){return pe!=null&&cs.call(pe,Me)}function Zr(pe,Me){return pe!=null&&Me in vs(pe)}function an(pe,Me,st){return pe>=Ds(Me,st)&&pe<Os(Me,st)}function Cn(pe,Me,st){for(var Vt=st?ni:Wa,pr=pe[0].length,jr=pe.length,Sn=jr,Dn=xa(jr),Jn=1/0,za=[];Sn--;){var Pa=pe[Sn];Sn&&Me&&(Pa=si(Pa,bs(Me))),Jn=Ds(Pa.length,Jn),Dn[Sn]=!st&&(Me||pr>=120&&Pa.length>=120)?new Vc(Sn&&Pa):r}Pa=pe[0];var Xa=-1,Li=Dn[0];e:for(;++Xa<pr&&za.length<Jn;){var Ai=Pa[Xa],oo=Me?Me(Ai):Ai;if(Ai=st||Ai!==0?Ai:0,!(Li?Zh(Li,oo):Vt(za,oo,st))){for(Sn=jr;--Sn;){var Ui=Dn[Sn];if(!(Ui?Zh(Ui,oo):Vt(pe[Sn],oo,st)))continue e}Li&&Li.push(oo),za.push(Ai)}}return za}function Zn(pe,Me,st,Vt){return kt(pe,function(pr,jr,Sn){Me(Vt,st(pr),jr,Sn)}),Vt}function oa(pe,Me,st){Me=ja(Me,pe),pe=Qi(pe,Me);var Vt=pe==null?pe:pe[Kl(Wu(Me))];return Vt==null?r:qn(Vt,pe,st)}function fa(pe){return hc(pe)&&Nr(pe)==z}function La(pe){return hc(pe)&&Nr(pe)==Te}function Di(pe){return hc(pe)&&Nr(pe)==W}function Ii(pe,Me,st,Vt,pr){return pe===Me?!0:pe==null||Me==null||!hc(pe)&&!hc(Me)?pe!==pe&&Me!==Me:Bi(pe,Me,st,Vt,Ii,pr)}function Bi(pe,Me,st,Vt,pr,jr){var Sn=Bo(pe),Dn=Bo(Me),Jn=Sn?V:lr(pe),za=Dn?V:lr(Me);Jn=Jn==z?le:Jn,za=za==z?le:za;var Pa=Jn==le,Xa=za==le,Li=Jn==za;if(Li&&Sp(pe)){if(!Sp(Me))return!1;Sn=!0,Pa=!1}if(Li&&!Pa)return jr||(jr=new Es),Sn||y_(pe)?Nf(pe,Me,st,Vt,pr,jr):o6(pe,Me,Jn,st,Vt,pr,jr);if(!(st&p)){var Ai=Pa&&cs.call(pe,"__wrapped__"),oo=Xa&&cs.call(Me,"__wrapped__");if(Ai||oo){var Ui=Ai?pe.value():pe,so=oo?Me.value():Me;return jr||(jr=new Es),pr(Ui,so,st,Vt,jr)}}return Li?(jr||(jr=new Es),s6(pe,Me,st,Vt,pr,jr)):!1}function Ki(pe){return hc(pe)&&lr(pe)==he}function _o(pe,Me,st,Vt){var pr=st.length,jr=pr,Sn=!Vt;if(pe==null)return!jr;for(pe=vs(pe);pr--;){var Dn=st[pr];if(Sn&&Dn[2]?Dn[1]!==pe[Dn[0]]:!(Dn[0]in pe))return!1}for(;++pr<jr;){Dn=st[pr];var Jn=Dn[0],za=pe[Jn],Pa=Dn[1];if(Sn&&Dn[2]){if(za===r&&!(Jn in pe))return!1}else{var Xa=new Es;if(Vt)var Li=Vt(za,Pa,Jn,pe,Me,Xa);if(!(Li===r?Ii(Pa,za,p|_,Vt,Xa):Li))return!1}}return!0}function rs(pe){if(!Xl(pe)||Oa(pe))return!1;var Me=yv(pe)?a1:Gt;return Me.test(Kc(pe))}function il(pe){return hc(pe)&&Nr(pe)==ce}function ve(pe){return hc(pe)&&lr(pe)==re}function De(pe){return hc(pe)&&C4(pe.length)&&!!vn[Nr(pe)]}function Ye(pe){return typeof pe=="function"?pe:pe==null?lu:typeof pe=="object"?Bo(pe)?er(pe[0],pe[1]):Lt(pe):A_(pe)}function ot(pe){if(!Ka(pe))return ih(pe);var Me=[];for(var st in vs(pe))cs.call(pe,st)&&st!="constructor"&&Me.push(st);return Me}function dt(pe){if(!Xl(pe))return po(pe);var Me=Ka(pe),st=[];for(var Vt in pe)Vt=="constructor"&&(Me||!cs.call(pe,Vt))||st.push(Vt);return st}function gt(pe,Me){return pe<Me}function Bt(pe,Me){var st=-1,Vt=If(pe)?xa(pe.length):[];return wu(pe,function(pr,jr,Sn){Vt[++st]=Me(pr,jr,Sn)}),Vt}function Lt(pe){var Me=Ge(pe);return Me.length==1&&Me[0][2]?ai(Me[0][0],Me[0][1]):function(st){return st===pe||_o(st,pe,Me)}}function er(pe,Me){return Ca(pe)&&vi(Me)?ai(Kl(pe),Me):function(st){var Vt=cR(st,pe);return Vt===r&&Vt===Me?uR(st,pe):Ii(Me,Vt,p|_)}}function tr(pe,Me,st,Vt,pr){pe!==Me&&ft(Me,function(jr,Sn){if(pr||(pr=new Es),Xl(jr))hr(pe,Me,Sn,st,tr,Vt,pr);else{var Dn=Vt?Vt(Lo(pe,Sn),jr,Sn+"",pe,Me,pr):r;Dn===r&&(Dn=jr),Mf(pe,Sn,Dn)}},Xd)}function hr(pe,Me,st,Vt,pr,jr,Sn){var Dn=Lo(pe,st),Jn=Lo(Me,st),za=Sn.get(Jn);if(za){Mf(pe,st,za);return}var Pa=jr?jr(Dn,Jn,st+"",pe,Me,Sn):r,Xa=Pa===r;if(Xa){var Li=Bo(Jn),Ai=!Li&&Sp(Jn),oo=!Li&&!Ai&&y_(Jn);Pa=Jn,Li||Ai||oo?Bo(Dn)?Pa=Dn:kc(Dn)?Pa=Wc(Dn):Ai?(Xa=!1,Pa=Ll(Jn,!0)):oo?(Xa=!1,Pa=pd(Jn,!0)):Pa=[]:k4(Jn)||Ku(Jn)?(Pa=Dn,Ku(Dn)?Pa=ole(Dn):(!Xl(Dn)||yv(Dn))&&(Pa=hn(Jn))):Xa=!1}Xa&&(Sn.set(Jn,Pa),pr(Pa,Jn,Vt,jr,Sn),Sn.delete(Jn)),Mf(pe,st,Pa)}function Vr(pe,Me){var st=pe.length;if(st)return Me+=Me<0?st:0,la(Me,st)?pe[Me]:r}function Gr(pe,Me,st){Me.length?Me=si(Me,function(jr){return Bo(jr)?function(Sn){return qt(Sn,jr.length===1?jr[0]:jr)}:jr}):Me=[lu];var Vt=-1;Me=si(Me,bs(se()));var pr=Bt(pe,function(jr,Sn,Dn){var Jn=si(Me,function(za){return za(jr)});return{criteria:Jn,index:++Vt,value:jr}});return Xh(pr,function(jr,Sn){return yp(jr,Sn,st)})}function En(pe,Me){return In(pe,Me,function(st,Vt){return uR(pe,Vt)})}function In(pe,Me,st){for(var Vt=-1,pr=Me.length,jr={};++Vt<pr;){var Sn=Me[Vt],Dn=qt(pe,Sn);st(Dn,Sn)&&Fa(jr,ja(Sn,pe),Dn)}return jr}function qr(pe){return function(Me){return qt(Me,pe)}}function nn(pe,Me,st,Vt){var pr=Vt?tv:sd,jr=-1,Sn=Me.length,Dn=pe;for(pe===Me&&(Me=Wc(Me)),st&&(Dn=si(pe,bs(st)));++jr<Sn;)for(var Jn=0,za=Me[jr],Pa=st?st(za):za;(Jn=pr(Dn,Pa,Jn,Vt))>-1;)Dn!==pe&&Tf.call(Dn,Jn,1),Tf.call(pe,Jn,1);return pe}function gn(pe,Me){for(var st=pe?Me.length:0,Vt=st-1;st--;){var pr=Me[st];if(st==Vt||pr!==jr){var jr=pr;la(pr)?Tf.call(pe,pr,1):xo(pe,pr)}}return pe}function On(pe,Me){return pe+ah(au()*(Me-pe+1))}function Un(pe,Me,st,Vt){for(var pr=-1,jr=Os(Uu((Me-pe)/(st||1)),0),Sn=xa(jr);jr--;)Sn[Vt?jr:++pr]=pe,pe+=st;return Sn}function Tn(pe,Me){var st="";if(!pe||Me<1||Me>N)return st;do Me%2&&(st+=pe),Me=ah(Me/2),Me&&(pe+=pe);while(Me);return st}function Qn(pe,Me){return gs(mo(pe,Me,lu),pe+"")}function $a(pe){return uv(sy(pe))}function ti(pe,Me){var st=sy(pe);return tl(st,Gc(Me,0,st.length))}function Fa(pe,Me,st,Vt){if(!Xl(pe))return pe;Me=ja(Me,pe);for(var pr=-1,jr=Me.length,Sn=jr-1,Dn=pe;Dn!=null&&++pr<jr;){var Jn=Kl(Me[pr]),za=st;if(Jn==="__proto__"||Jn==="constructor"||Jn==="prototype")return pe;if(pr!=Sn){var Pa=Dn[Jn];za=Vt?Vt(Pa,Jn,Dn):r,za===r&&(za=Xl(Pa)?Pa:la(Me[pr+1])?[]:{})}pp(Dn,Jn,za),Dn=Dn[Jn]}return pe}var Qa=jd?function(pe,Me){return jd.set(pe,Me),pe}:lu,ri=$c?function(pe,Me){return $c(pe,"toString",{configurable:!0,enumerable:!1,value:S_(Me),writable:!0})}:lu;function Xi(pe){return tl(sy(pe))}function hi(pe,Me,st){var Vt=-1,pr=pe.length;Me<0&&(Me=-Me>pr?0:pr+Me),st=st>pr?pr:st,st<0&&(st+=pr),pr=Me>st?0:st-Me>>>0,Me>>>=0;for(var jr=xa(pr);++Vt<pr;)jr[Vt]=pe[Vt+Me];return jr}function Gi(pe,Me){var st;return wu(pe,function(Vt,pr,jr){return st=Me(Vt,pr,jr),!st}),!!st}function Ro(pe,Me,st){var Vt=0,pr=pe==null?Vt:pe.length;if(typeof Me=="number"&&Me===Me&&pr<=B){for(;Vt<pr;){var jr=Vt+pr>>>1,Sn=pe[jr];Sn!==null&&!_h(Sn)&&(st?Sn<=Me:Sn<Me)?Vt=jr+1:pr=jr}return pr}return el(pe,Me,lu,st)}function el(pe,Me,st,Vt){var pr=0,jr=pe==null?0:pe.length;if(jr===0)return 0;Me=st(Me);for(var Sn=Me!==Me,Dn=Me===null,Jn=_h(Me),za=Me===r;pr<jr;){var Pa=ah((pr+jr)/2),Xa=st(pe[Pa]),Li=Xa!==r,Ai=Xa===null,oo=Xa===Xa,Ui=_h(Xa);if(Sn)var so=Vt||oo;else za?so=oo&&(Vt||Li):Dn?so=oo&&Li&&(Vt||!Ai):Jn?so=oo&&Li&&!Ai&&(Vt||!Ui):Ai||Ui?so=!1:so=Vt?Xa<=Me:Xa<Me;so?pr=Pa+1:jr=Pa}return Ds(jr,U)}function Vo(pe,Me){for(var st=-1,Vt=pe.length,pr=0,jr=[];++st<Vt;){var Sn=pe[st],Dn=Me?Me(Sn):Sn;if(!st||!x0(Dn,Jn)){var Jn=Dn;jr[pr++]=Sn===0?0:Sn}}return jr}function Ba(pe){return typeof pe=="number"?pe:_h(pe)?D:+pe}function Pi(pe){if(typeof pe=="string")return pe;if(Bo(pe))return si(pe,Pi)+"";if(_h(pe))return sv?sv.call(pe):"";var Me=pe+"";return Me=="0"&&1/pe==-F?"-0":Me}function _i(pe,Me,st){var Vt=-1,pr=Wa,jr=pe.length,Sn=!0,Dn=[],Jn=Dn;if(st)Sn=!1,pr=ni;else if(jr>=o){var za=Me?null:g4(pe);if(za)return t1(za);Sn=!1,pr=Zh,Jn=new Vc}else Jn=Me?[]:Dn;e:for(;++Vt<jr;){var Pa=pe[Vt],Xa=Me?Me(Pa):Pa;if(Pa=st||Pa!==0?Pa:0,Sn&&Xa===Xa){for(var Li=Jn.length;Li--;)if(Jn[Li]===Xa)continue e;Me&&Jn.push(Xa),Dn.push(Pa)}else pr(Jn,Xa,st)||(Jn!==Dn&&Jn.push(Xa),Dn.push(Pa))}return Dn}function xo(pe,Me){return Me=ja(Me,pe),pe=Qi(pe,Me),pe==null||delete pe[Kl(Wu(Me))]}function Ts(pe,Me,st,Vt){return Fa(pe,Me,st(qt(pe,Me)),Vt)}function No(pe,Me,st,Vt){for(var pr=pe.length,jr=Vt?pr:-1;(Vt?jr--:++jr<pr)&&Me(pe[jr],jr,pe););return st?hi(pe,Vt?0:jr,Vt?jr+1:pr):hi(pe,Vt?jr+1:0,Vt?pr:jr)}function yl(pe,Me){var st=pe;return st instanceof vo&&(st=st.value()),Fo(Me,function(Vt,pr){return pr.func.apply(pr.thisArg,Uo([Vt],pr.args))},st)}function fl(pe,Me,st){var Vt=pe.length;if(Vt<2)return Vt?_i(pe[0]):[];for(var pr=-1,jr=xa(Vt);++pr<Vt;)for(var Sn=pe[pr],Dn=-1;++Dn<Vt;)Dn!=pr&&(jr[pr]=mp(jr[pr]||Sn,pe[Dn],Me,st));return _i(at(jr,1),Me,st)}function Nl(pe,Me,st){for(var Vt=-1,pr=pe.length,jr=Me.length,Sn={};++Vt<pr;){var Dn=Vt<jr?Me[Vt]:r;st(Sn,pe[Vt],Dn)}return Sn}function Ss(pe){return kc(pe)?pe:[]}function Il(pe){return typeof pe=="function"?pe:lu}function ja(pe,Me){return Bo(pe)?pe:Ca(pe,Me)?[pe]:Wl(Rs(pe))}var Ri=Qn;function dl(pe,Me,st){var Vt=pe.length;return st=st===r?Vt:st,!Me&&st>=Vt?pe:hi(pe,Me,st)}var Yc=Rm||function(pe){return Dr.clearTimeout(pe)};function Ll(pe,Me){if(Me)return pe.slice();var st=pe.length,Vt=o1?o1(st):new pe.constructor(st);return pe.copy(Vt),Vt}function Go(pe){var Me=new pe.constructor(pe.byteLength);return new ap(Me).set(new ap(pe)),Me}function _l(pe,Me){var st=Me?Go(pe.buffer):pe.buffer;return new pe.constructor(st,pe.byteOffset,pe.byteLength)}function hl(pe){var Me=new pe.constructor(pe.source,nr.exec(pe));return Me.lastIndex=pe.lastIndex,Me}function hd(pe){return cp?vs(cp.call(pe)):{}}function pd(pe,Me){var st=Me?Go(pe.buffer):pe.buffer;return new pe.constructor(st,pe.byteOffset,pe.length)}function Vs(pe,Me){if(pe!==Me){var st=pe!==r,Vt=pe===null,pr=pe===pe,jr=_h(pe),Sn=Me!==r,Dn=Me===null,Jn=Me===Me,za=_h(Me);if(!Dn&&!za&&!jr&&pe>Me||jr&&Sn&&Jn&&!Dn&&!za||Vt&&Sn&&Jn||!st&&Jn||!pr)return 1;if(!Vt&&!jr&&!za&&pe<Me||za&&st&&pr&&!Vt&&!jr||Dn&&st&&pr||!Sn&&pr||!Jn)return-1}return 0}function yp(pe,Me,st){for(var Vt=-1,pr=pe.criteria,jr=Me.criteria,Sn=pr.length,Dn=st.length;++Vt<Sn;){var Jn=Vs(pr[Vt],jr[Vt]);if(Jn){if(Vt>=Dn)return Jn;var za=st[Vt];return Jn*(za=="desc"?-1:1)}}return pe.index-Me.index}function wo(pe,Me,st,Vt){for(var pr=-1,jr=pe.length,Sn=st.length,Dn=-1,Jn=Me.length,za=Os(jr-Sn,0),Pa=xa(Jn+za),Xa=!Vt;++Dn<Jn;)Pa[Dn]=Me[Dn];for(;++pr<Sn;)(Xa||pr<jr)&&(Pa[st[pr]]=pe[pr]);for(;za--;)Pa[Dn++]=pe[pr++];return Pa}function Gs(pe,Me,st,Vt){for(var pr=-1,jr=pe.length,Sn=-1,Dn=st.length,Jn=-1,za=Me.length,Pa=Os(jr-Dn,0),Xa=xa(Pa+za),Li=!Vt;++pr<Pa;)Xa[pr]=pe[pr];for(var Ai=pr;++Jn<za;)Xa[Ai+Jn]=Me[Jn];for(;++Sn<Dn;)(Li||pr<jr)&&(Xa[Ai+st[Sn]]=pe[pr++]);return Xa}function Wc(pe,Me){var st=-1,Vt=pe.length;for(Me||(Me=xa(Vt));++st<Vt;)Me[st]=pe[st];return Me}function dh(pe,Me,st,Vt){var pr=!st;st||(st={});for(var jr=-1,Sn=Me.length;++jr<Sn;){var Dn=Me[jr],Jn=Vt?Vt(st[Dn],pe[Dn],Dn,st,pe):r;Jn===r&&(Jn=pe[Dn]),pr?Su(st,Dn,Jn):pp(st,Dn,Jn)}return st}function fv(pe,Me){return dh(pe,Ft(pe),Me)}function m4(pe,Me){return dh(pe,Jt(pe),Me)}function fh(pe,Me){return function(st,Vt){var pr=Bo(st)?ua:ry,jr=Me?Me():{};return pr(st,pe,se(Vt,2),jr)}}function hh(pe){return Qn(function(Me,st){var Vt=-1,pr=st.length,jr=pr>1?st[pr-1]:r,Sn=pr>2?st[2]:r;for(jr=pe.length>3&&typeof jr=="function"?(pr--,jr):r,Sn&&ha(st[0],st[1],Sn)&&(jr=pr<3?r:jr,pr=1),Me=vs(Me);++Vt<pr;){var Dn=st[Vt];Dn&&pe(Me,Dn,Vt,jr)}return Me})}function hv(pe,Me){return function(st,Vt){if(st==null)return st;if(!If(st))return pe(st,Vt);for(var pr=st.length,jr=Me?pr:-1,Sn=vs(st);(Me?jr--:++jr<pr)&&Vt(Sn[jr],jr,Sn)!==!1;);return st}}function Tu(pe){return function(Me,st,Vt){for(var pr=-1,jr=vs(Me),Sn=Vt(Me),Dn=Sn.length;Dn--;){var Jn=Sn[pe?Dn:++pr];if(st(jr[Jn],Jn,jr)===!1)break}return Me}}function h1(pe,Me,st){var Vt=Me&c,pr=m0(pe);function jr(){var Sn=this&&this!==Dr&&this instanceof jr?pr:pe;return Sn.apply(Vt?st:this,arguments)}return jr}function s_(pe){return function(Me){Me=Rs(Me);var st=Ef(Me)?bu(Me):r,Vt=st?st[0]:Me.charAt(0),pr=st?dl(st,1).join(""):Me.slice(1);return Vt[pe]()+pr}}function p1(pe){return function(Me){return Fo(pR(_d(Me).replace(da,"")),pe,"")}}function m0(pe){return function(){var Me=arguments;switch(Me.length){case 0:return new pe;case 1:return new pe(Me[0]);case 2:return new pe(Me[0],Me[1]);case 3:return new pe(Me[0],Me[1],Me[2]);case 4:return new pe(Me[0],Me[1],Me[2],Me[3]);case 5:return new pe(Me[0],Me[1],Me[2],Me[3],Me[4]);case 6:return new pe(Me[0],Me[1],Me[2],Me[3],Me[4],Me[5]);case 7:return new pe(Me[0],Me[1],Me[2],Me[3],Me[4],Me[5],Me[6])}var st=sh(pe.prototype),Vt=pe.apply(st,Me);return Xl(Vt)?Vt:st}}function l_(pe,Me,st){var Vt=m0(pe);function pr(){for(var jr=arguments.length,Sn=xa(jr),Dn=jr,Jn=ye(pr);Dn--;)Sn[Dn]=arguments[Dn];var za=jr<3&&Sn[0]!==Jn&&Sn[jr-1]!==Jn?[]:Sf(Sn,Jn);if(jr-=za.length,jr<st)return g1(pe,Me,Rf,pr.placeholder,r,Sn,za,r,r,st-jr);var Pa=this&&this!==Dr&&this instanceof pr?Vt:pe;return qn(Pa,this,Sn)}return pr}function _p(pe){return function(Me,st,Vt){var pr=vs(Me);if(!If(Me)){var jr=se(st,3);Me=ql(Me),st=function(Dn){return jr(pr[Dn],Dn,pr)}}var Sn=pe(Me,st,Vt);return Sn>-1?pr[jr?Me[Sn]:Sn]:r}}function Gu(pe){return y0(function(Me){var st=Me.length,Vt=st,pr=al.prototype.thru;for(pe&&Me.reverse();Vt--;){var jr=Me[Vt];if(typeof jr!="function")throw new Uc(u);if(pr&&!Sn&&ne(jr)=="wrapper")var Sn=new al([],!0)}for(Vt=Sn?Vt:st;++Vt<st;){jr=Me[Vt];var Dn=ne(jr),Jn=Dn=="wrapper"?ge(jr):r;Jn&&Ta(Jn[0])&&Jn[1]==(C|f|x|w)&&!Jn[4].length&&Jn[9]==1?Sn=Sn[ne(Jn[0])].apply(Sn,Jn[3]):Sn=jr.length==1&&Ta(jr)?Sn[Dn]():Sn.thru(jr)}return function(){var za=arguments,Pa=za[0];if(Sn&&za.length==1&&Bo(Pa))return Sn.plant(Pa).value();for(var Xa=0,Li=st?Me[Xa].apply(this,za):Pa;++Xa<st;)Li=Me[Xa].call(this,Li);return Li}})}function Rf(pe,Me,st,Vt,pr,jr,Sn,Dn,Jn,za){var Pa=Me&C,Xa=Me&c,Li=Me&s,Ai=Me&(f|b),oo=Me&R,Ui=Li?r:m0(pe);function so(){for(var ds=arguments.length,ys=xa(ds),Of=ds;Of--;)ys[Of]=arguments[Of];if(Ai)var xd=ye(so),bh=ld(ys,xd);if(Vt&&(ys=wo(ys,Vt,pr,Ai)),jr&&(ys=Gs(ys,jr,Sn,Ai)),ds-=bh,Ai&&ds<za){var Zl=Sf(ys,xd);return g1(pe,Me,Rf,so.placeholder,st,ys,Zl,Dn,Jn,za-ds)}var S0=Xa?st:this,xv=Li?S0[pe]:pe;return ds=ys.length,Dn?ys=jo(ys,Dn):oo&&ds>1&&ys.reverse(),Pa&&Jn<ds&&(ys.length=Jn),this&&this!==Dr&&this instanceof so&&(xv=Ui||m0(xv)),xv.apply(S0,ys)}return so}function Dm(pe,Me){return function(st,Vt){return Zn(st,pe,Me(Vt),{})}}function pv(pe,Me){return function(st,Vt){var pr;if(st===r&&Vt===r)return Me;if(st!==r&&(pr=st),Vt!==r){if(pr===r)return Vt;typeof st=="string"||typeof Vt=="string"?(st=Pi(st),Vt=Pi(Vt)):(st=Ba(st),Vt=Ba(Vt)),pr=pe(st,Vt)}return pr}}function v1(pe){return y0(function(Me){return Me=si(Me,bs(se())),Qn(function(st){var Vt=this;return pe(Me,function(pr){return qn(pr,Vt,st)})})})}function Pm(pe,Me){Me=Me===r?" ":Pi(Me);var st=Me.length;if(st<2)return st?Tn(Me,pe):Me;var Vt=Tn(Me,Uu(pe/eh(Me)));return Ef(Me)?dl(bu(Vt),0,pe).join(""):Vt.slice(0,pe)}function m1(pe,Me,st,Vt){var pr=Me&c,jr=m0(pe);function Sn(){for(var Dn=-1,Jn=arguments.length,za=-1,Pa=Vt.length,Xa=xa(Pa+Jn),Li=this&&this!==Dr&&this instanceof Sn?jr:pe;++za<Pa;)Xa[za]=Vt[za];for(;Jn--;)Xa[za++]=arguments[++Dn];return qn(Li,pr?st:this,Xa)}return Sn}function Fm(pe){return function(Me,st,Vt){return Vt&&typeof Vt!="number"&&ha(Me,st,Vt)&&(st=Vt=r),Me=xh(Me),st===r?(st=Me,Me=0):st=xh(st),Vt=Vt===r?Me<st?1:-1:xh(Vt),Un(Me,st,Vt,pe)}}function g0(pe){return function(Me,st){return typeof Me=="string"&&typeof st=="string"||(Me=wp(Me),st=wp(st)),pe(Me,st)}}function g1(pe,Me,st,Vt,pr,jr,Sn,Dn,Jn,za){var Pa=Me&f,Xa=Pa?Sn:r,Li=Pa?r:Sn,Ai=Pa?jr:r,oo=Pa?r:jr;Me|=Pa?x:y,Me&=~(Pa?y:x),Me&d||(Me&=~(c|s));var Ui=[pe,Me,pr,Ai,Xa,oo,Li,Dn,Jn,za],so=st.apply(r,Ui);return Ta(pe)&&Ms(so,Ui),so.placeholder=Vt,to(so,pe,Me)}function c_(pe){var Me=Hs[pe];return function(st,Vt){if(st=wp(st),Vt=Vt==null?0:Ds(Yo(Vt),292),Vt&&Eu(st)){var pr=(Rs(st)+"e").split("e"),jr=Me(pr[0]+"e"+(+pr[1]+Vt));return pr=(Rs(jr)+"e").split("e"),+(pr[0]+"e"+(+pr[1]-Vt))}return Me(st)}}var g4=op&&1/t1(new op([,-0]))[1]==F?function(pe){return new op(pe)}:L4;function y1(pe){return function(Me){var st=lr(Me);return st==he?Qh(Me):st==re?nv(Me):qh(Me,pe(Me))}}function ph(pe,Me,st,Vt,pr,jr,Sn,Dn){var Jn=Me&s;if(!Jn&&typeof pe!="function")throw new Uc(u);var za=Vt?Vt.length:0;if(za||(Me&=~(x|y),Vt=pr=r),Sn=Sn===r?Sn:Os(Yo(Sn),0),Dn=Dn===r?Dn:Yo(Dn),za-=pr?pr.length:0,Me&y){var Pa=Vt,Xa=pr;Vt=pr=r}var Li=Jn?r:ge(pe),Ai=[pe,Me,st,Vt,pr,Pa,Xa,jr,Sn,Dn];if(Li&&Io(Ai,Li),pe=Ai[0],Me=Ai[1],st=Ai[2],Vt=Ai[3],pr=Ai[4],Dn=Ai[9]=Ai[9]===r?Jn?0:pe.length:Os(Ai[9]-za,0),!Dn&&Me&(f|b)&&(Me&=~(f|b)),!Me||Me==c)var oo=h1(pe,Me,st);else Me==f||Me==b?oo=l_(pe,Me,Dn):(Me==x||Me==(c|x))&&!pr.length?oo=m1(pe,Me,st,Vt):oo=Rf.apply(r,Ai);var Ui=Li?Qa:Ms;return to(Ui(oo,Ai),pe,Me)}function vv(pe,Me,st,Vt){return pe===r||x0(pe,ws[st])&&!cs.call(Vt,st)?Me:pe}function y4(pe,Me,st,Vt,pr,jr){return Xl(pe)&&Xl(Me)&&(jr.set(Me,pe),tr(pe,Me,r,y4,jr),jr.delete(Me)),pe}function i6(pe){return k4(pe)?r:pe}function Nf(pe,Me,st,Vt,pr,jr){var Sn=st&p,Dn=pe.length,Jn=Me.length;if(Dn!=Jn&&!(Sn&&Jn>Dn))return!1;var za=jr.get(pe),Pa=jr.get(Me);if(za&&Pa)return za==Me&&Pa==pe;var Xa=-1,Li=!0,Ai=st&_?new Vc:r;for(jr.set(pe,Me),jr.set(Me,pe);++Xa<Dn;){var oo=pe[Xa],Ui=Me[Xa];if(Vt)var so=Sn?Vt(Ui,oo,Xa,Me,pe,jr):Vt(oo,Ui,Xa,pe,Me,jr);if(so!==r){if(so)continue;Li=!1;break}if(Ai){if(!cc(Me,function(ds,ys){if(!Zh(Ai,ys)&&(oo===ds||pr(oo,ds,st,Vt,jr)))return Ai.push(ys)})){Li=!1;break}}else if(!(oo===Ui||pr(oo,Ui,st,Vt,jr))){Li=!1;break}}return jr.delete(pe),jr.delete(Me),Li}function o6(pe,Me,st,Vt,pr,jr,Sn){switch(st){case we:if(pe.byteLength!=Me.byteLength||pe.byteOffset!=Me.byteOffset)return!1;pe=pe.buffer,Me=Me.buffer;case Te:return!(pe.byteLength!=Me.byteLength||!jr(new ap(pe),new ap(Me)));case G:case W:case J:return x0(+pe,+Me);case Q:return pe.name==Me.name&&pe.message==Me.message;case ce:case ee:return pe==Me+"";case he:var Dn=Qh;case re:var Jn=Vt&p;if(Dn||(Dn=t1),pe.size!=Me.size&&!Jn)return!1;var za=Sn.get(pe);if(za)return za==Me;Vt|=_,Sn.set(pe,Me);var Pa=Nf(Dn(pe),Dn(Me),Vt,pr,jr,Sn);return Sn.delete(pe),Pa;case de:if(cp)return cp.call(pe)==cp.call(Me)}return!1}function s6(pe,Me,st,Vt,pr,jr){var Sn=st&p,Dn=u_(pe),Jn=Dn.length,za=u_(Me),Pa=za.length;if(Jn!=Pa&&!Sn)return!1;for(var Xa=Jn;Xa--;){var Li=Dn[Xa];if(!(Sn?Li in Me:cs.call(Me,Li)))return!1}var Ai=jr.get(pe),oo=jr.get(Me);if(Ai&&oo)return Ai==Me&&oo==pe;var Ui=!0;jr.set(pe,Me),jr.set(Me,pe);for(var so=Sn;++Xa<Jn;){Li=Dn[Xa];var ds=pe[Li],ys=Me[Li];if(Vt)var Of=Sn?Vt(ys,ds,Li,Me,pe,jr):Vt(ds,ys,Li,pe,Me,jr);if(!(Of===r?ds===ys||pr(ds,ys,st,Vt,jr):Of)){Ui=!1;break}so||(so=Li=="constructor")}if(Ui&&!so){var xd=pe.constructor,bh=Me.constructor;xd!=bh&&"constructor"in pe&&"constructor"in Me&&!(typeof xd=="function"&&xd instanceof xd&&typeof bh=="function"&&bh instanceof bh)&&(Ui=!1)}return jr.delete(pe),jr.delete(Me),Ui}function y0(pe){return gs(mo(pe,r,zm),pe+"")}function u_(pe){return Mr(pe,ql,Ft)}function xl(pe){return Mr(pe,Xd,Jt)}var ge=jd?function(pe){return jd.get(pe)}:L4;function ne(pe){for(var Me=pe.name+"",st=Js[Me],Vt=cs.call(Js,Me)?st.length:0;Vt--;){var pr=st[Vt],jr=pr.func;if(jr==null||jr==pe)return pr.name}return Me}function ye(pe){var Me=cs.call(Br,"placeholder")?Br:pe;return Me.placeholder}function se(){var pe=Br.iteratee||vR;return pe=pe===vR?Ye:pe,arguments.length?pe(arguments[0],arguments[1]):pe}function xe(pe,Me){var st=pe.__data__;return Ia(Me)?st[typeof Me=="string"?"string":"hash"]:st.map}function Ge(pe){for(var Me=ql(pe),st=Me.length;st--;){var Vt=Me[st],pr=pe[Vt];Me[st]=[Vt,pr,vi(pr)]}return Me}function nt(pe,Me){var st=cd(pe,Me);return rs(st)?st:r}function yt(pe){var Me=cs.call(pe,Af),st=pe[Af];try{pe[Af]=r;var Vt=!0}catch{}var pr=Yl.call(pe);return Vt&&(Me?pe[Af]=st:delete pe[Af]),pr}var Ft=Xs?function(pe){return pe==null?[]:(pe=vs(pe),ei(Xs(pe),function(Me){return e0.call(pe,Me)}))}:yR,Jt=Xs?function(pe){for(var Me=[];pe;)Uo(Me,Ft(pe)),pe=ip(pe);return Me}:yR,lr=Nr;(iv&&lr(new iv(new ArrayBuffer(1)))!=we||a0&&lr(new a0)!=he||ov&&lr(ov.resolve())!=K||op&&lr(new op)!=re||oh&&lr(new oh)!=fe)&&(lr=function(pe){var Me=Nr(pe),st=Me==le?pe.constructor:r,Vt=st?Kc(st):"";if(Vt)switch(Vt){case iu:return we;case lp:return he;case Nm:return K;case i0:return re;case Yd:return fe}return Me});function Er(pe,Me,st){for(var Vt=-1,pr=st.length;++Vt<pr;){var jr=st[Vt],Sn=jr.size;switch(jr.type){case"drop":pe+=Sn;break;case"dropRight":Me-=Sn;break;case"take":Me=Ds(Me,pe+Sn);break;case"takeRight":pe=Os(pe,Me-Sn);break}}return{start:pe,end:Me}}function _r(pe){var Me=pe.match(Ne);return Me?Me[1].split(je):[]}function Qr(pe,Me,st){Me=ja(Me,pe);for(var Vt=-1,pr=Me.length,jr=!1;++Vt<pr;){var Sn=Kl(Me[Vt]);if(!(jr=pe!=null&&st(pe,Sn)))break;pe=pe[Sn]}return jr||++Vt!=pr?jr:(pr=pe==null?0:pe.length,!!pr&&C4(pr)&&la(Sn,pr)&&(Bo(pe)||Ku(pe)))}function pn(pe){var Me=pe.length,st=new pe.constructor(Me);return Me&&typeof pe[0]=="string"&&cs.call(pe,"index")&&(st.index=pe.index,st.input=pe.input),st}function hn(pe){return typeof pe.constructor=="function"&&!Ka(pe)?sh(ip(pe)):{}}function dn(pe,Me,st){var Vt=pe.constructor;switch(Me){case Te:return Go(pe);case G:case W:return new Vt(+pe);case we:return _l(pe,st);case Be:case Ae:case Re:case be:case Pe:case Ke:case ze:case Fe:case We:return pd(pe,st);case he:return new Vt;case J:case ee:return new Vt(pe);case ce:return hl(pe);case re:return new Vt;case de:return hd(pe)}}function _n(pe,Me){var st=Me.length;if(!st)return pe;var Vt=st-1;return Me[Vt]=(st>1?"& ":"")+Me[Vt],Me=Me.join(st>2?", ":" "),pe.replace(Le,`{
/* [wrapped with `+Me+`] */
`)}function Fn(pe){return Bo(pe)||Ku(pe)||!!(t0&&pe&&pe[t0])}function la(pe,Me){var st=typeof pe;return Me=Me??N,!!Me&&(st=="number"||st!="symbol"&&Pr.test(pe))&&pe>-1&&pe%1==0&&pe<Me}function ha(pe,Me,st){if(!Xl(st))return!1;var Vt=typeof Me;return(Vt=="number"?If(st)&&la(Me,st.length):Vt=="string"&&Me in st)?x0(st[Me],pe):!1}function Ca(pe,Me){if(Bo(pe))return!1;var st=typeof pe;return st=="number"||st=="symbol"||st=="boolean"||pe==null||_h(pe)?!0:Qe.test(pe)||!Ve.test(pe)||Me!=null&&pe in vs(Me)}function Ia(pe){var Me=typeof pe;return Me=="string"||Me=="number"||Me=="symbol"||Me=="boolean"?pe!=="__proto__":pe===null}function Ta(pe){var Me=ne(pe),st=Br[Me];if(typeof st!="function"||!(Me in vo.prototype))return!1;if(pe===st)return!0;var Vt=ge(st);return!!Vt&&pe===Vt[0]}function Oa(pe){return!!th&&th in pe}var Va=tp?yv:_R;function Ka(pe){var Me=pe&&pe.constructor,st=typeof Me=="function"&&Me.prototype||ws;return pe===st}function vi(pe){return pe===pe&&!Xl(pe)}function ai(pe,Me){return function(st){return st==null?!1:st[pe]===Me&&(Me!==r||pe in vs(st))}}function ji(pe){var Me=T4(pe,function(Vt){return st.size===l&&st.clear(),Vt}),st=Me.cache;return Me}function Io(pe,Me){var st=pe[1],Vt=Me[1],pr=st|Vt,jr=pr<(c|s|C),Sn=Vt==C&&st==f||Vt==C&&st==w&&pe[7].length<=Me[8]||Vt==(C|w)&&Me[7].length<=Me[8]&&st==f;if(!(jr||Sn))return pe;Vt&c&&(pe[2]=Me[2],pr|=st&c?0:d);var Dn=Me[3];if(Dn){var Jn=pe[3];pe[3]=Jn?wo(Jn,Dn,Me[4]):Dn,pe[4]=Jn?Sf(pe[3],v):Me[4]}return Dn=Me[5],Dn&&(Jn=pe[5],pe[5]=Jn?Gs(Jn,Dn,Me[6]):Dn,pe[6]=Jn?Sf(pe[5],v):Me[6]),Dn=Me[7],Dn&&(pe[7]=Dn),Vt&C&&(pe[8]=pe[8]==null?Me[8]:Ds(pe[8],Me[8])),pe[9]==null&&(pe[9]=Me[9]),pe[0]=Me[0],pe[1]=pr,pe}function po(pe){var Me=[];if(pe!=null)for(var st in vs(pe))Me.push(st);return Me}function Si(pe){return Yl.call(pe)}function mo(pe,Me,st){return Me=Os(Me===r?pe.length-1:Me,0),function(){for(var Vt=arguments,pr=-1,jr=Os(Vt.length-Me,0),Sn=xa(jr);++pr<jr;)Sn[pr]=Vt[Me+pr];pr=-1;for(var Dn=xa(Me+1);++pr<Me;)Dn[pr]=Vt[pr];return Dn[Me]=st(Sn),qn(pe,this,Dn)}}function Qi(pe,Me){return Me.length<2?pe:qt(pe,hi(Me,0,-1))}function jo(pe,Me){for(var st=pe.length,Vt=Ds(Me.length,st),pr=Wc(pe);Vt--;){var jr=Me[Vt];pe[Vt]=la(jr,st)?pr[jr]:r}return pe}function Lo(pe,Me){if(!(Me==="constructor"&&typeof pe[Me]=="function")&&Me!="__proto__")return pe[Me]}var Ms=Oo(Qa),go=nh||function(pe,Me){return Dr.setTimeout(pe,Me)},gs=Oo(ri);function to(pe,Me,st){var Vt=Me+"";return gs(pe,_n(Vt,vh(_r(Vt),st)))}function Oo(pe){var Me=0,st=0;return function(){var Vt=Gd(),pr=L-(Vt-st);if(st=Vt,pr>0){if(++Me>=k)return arguments[0]}else Me=0;return pe.apply(r,arguments)}}function tl(pe,Me){var st=-1,Vt=pe.length,pr=Vt-1;for(Me=Me===r?Vt:Me;++st<Me;){var jr=On(st,pr),Sn=pe[jr];pe[jr]=pe[st],pe[st]=Sn}return pe.length=Me,pe}var Wl=ji(function(pe){var Me=[];return pe.charCodeAt(0)===46&&Me.push(""),pe.replace(rt,function(st,Vt,pr,jr){Me.push(pr?jr.replace(Et,"$1"):Vt||st)}),Me});function Kl(pe){if(typeof pe=="string"||_h(pe))return pe;var Me=pe+"";return Me=="0"&&1/pe==-F?"-0":Me}function Kc(pe){if(pe!=null){try{return r1.call(pe)}catch{}try{return pe+""}catch{}}return""}function vh(pe,Me){return ea(Y,function(st){var Vt="_."+st[0];Me&st[1]&&!Wa(pe,Vt)&&pe.push(Vt)}),pe.sort()}function mh(pe){if(pe instanceof vo)return pe.clone();var Me=new al(pe.__wrapped__,pe.__chain__);return Me.__actions__=Wc(pe.__actions__),Me.__index__=pe.__index__,Me.__values__=pe.__values__,Me}function mv(pe,Me,st){(st?ha(pe,Me,st):Me===r)?Me=1:Me=Os(Yo(Me),0);var Vt=pe==null?0:pe.length;if(!Vt||Me<1)return[];for(var pr=0,jr=0,Sn=xa(Uu(Vt/Me));pr<Vt;)Sn[jr++]=hi(pe,pr,pr+=Me);return Sn}function xp(pe){for(var Me=-1,st=pe==null?0:pe.length,Vt=0,pr=[];++Me<st;){var jr=pe[Me];jr&&(pr[Vt++]=jr)}return pr}function ju(){var pe=arguments.length;if(!pe)return[];for(var Me=xa(pe-1),st=arguments[0],Vt=pe;Vt--;)Me[Vt-1]=arguments[Vt];return Uo(Bo(st)?Wc(st):[st],at(Me,1))}var bp=Qn(function(pe,Me){return kc(pe)?mp(pe,at(Me,1,kc,!0)):[]}),vd=Qn(function(pe,Me){var st=Wu(Me);return kc(st)&&(st=r),kc(pe)?mp(pe,at(Me,1,kc,!0),se(st,2)):[]}),Yu=Qn(function(pe,Me){var st=Wu(Me);return kc(st)&&(st=r),kc(pe)?mp(pe,at(Me,1,kc,!0),r,st):[]});function gh(pe,Me,st){var Vt=pe==null?0:pe.length;return Vt?(Me=st||Me===r?1:Yo(Me),hi(pe,Me<0?0:Me,Vt)):[]}function _0(pe,Me,st){var Vt=pe==null?0:pe.length;return Vt?(Me=st||Me===r?1:Yo(Me),Me=Vt-Me,hi(pe,0,Me<0?0:Me)):[]}function yh(pe,Me){return pe&&pe.length?No(pe,se(Me,3),!0,!0):[]}function d_(pe,Me){return pe&&pe.length?No(pe,se(Me,3),!0):[]}function Bm(pe,Me,st,Vt){var pr=pe==null?0:pe.length;return pr?(st&&typeof st!="number"&&ha(pe,Me,st)&&(st=0,Vt=pr),v0(pe,Me,st,Vt)):[]}function fc(pe,Me,st){var Vt=pe==null?0:pe.length;if(!Vt)return-1;var pr=st==null?0:Yo(st);return pr<0&&(pr=Os(Vt+pr,0)),Ao(pe,se(Me,3),pr)}function ny(pe,Me,st){var Vt=pe==null?0:pe.length;if(!Vt)return-1;var pr=Vt-1;return st!==r&&(pr=Yo(st),pr=st<0?Os(Vt+pr,0):Ds(pr,Vt-1)),Ao(pe,se(Me,3),pr,!0)}function zm(pe){var Me=pe==null?0:pe.length;return Me?at(pe,1):[]}function Au(pe){var Me=pe==null?0:pe.length;return Me?at(pe,F):[]}function Um(pe,Me){var st=pe==null?0:pe.length;return st?(Me=Me===r?1:Yo(Me),at(pe,Me)):[]}function f_(pe){for(var Me=-1,st=pe==null?0:pe.length,Vt={};++Me<st;){var pr=pe[Me];Vt[pr[0]]=pr[1]}return Vt}function ay(pe){return pe&&pe.length?pe[0]:r}function h_(pe,Me,st){var Vt=pe==null?0:pe.length;if(!Vt)return-1;var pr=st==null?0:Yo(st);return pr<0&&(pr=Os(Vt+pr,0)),sd(pe,Me,pr)}function $m(pe){var Me=pe==null?0:pe.length;return Me?hi(pe,0,-1):[]}var Hm=Qn(function(pe){var Me=si(pe,Ss);return Me.length&&Me[0]===pe[0]?Cn(Me):[]}),bl=Qn(function(pe){var Me=Wu(pe),st=si(pe,Ss);return Me===Wu(st)?Me=r:st.pop(),st.length&&st[0]===pe[0]?Cn(st,se(Me,2)):[]}),md=Qn(function(pe){var Me=Wu(pe),st=si(pe,Ss);return Me=typeof Me=="function"?Me:r,Me&&st.pop(),st.length&&st[0]===pe[0]?Cn(st,r,Me):[]});function gd(pe,Me){return pe==null?"":Vd.call(pe,Me)}function Wu(pe){var Me=pe==null?0:pe.length;return Me?pe[Me-1]:r}function _4(pe,Me,st){var Vt=pe==null?0:pe.length;if(!Vt)return-1;var pr=Vt;return st!==r&&(pr=Yo(st),pr=pr<0?Os(Vt+pr,0):Ds(pr,Vt-1)),Me===Me?ty(pe,Me,pr):Ao(pe,ml,pr,!0)}function j8(pe,Me){return pe&&pe.length?Vr(pe,Yo(Me)):r}var Y8=Qn(Vm);function Vm(pe,Me){return pe&&pe.length&&Me&&Me.length?nn(pe,Me):pe}function W8(pe,Me,st){return pe&&pe.length&&Me&&Me.length?nn(pe,Me,se(st,2)):pe}function p_(pe,Me,st){return pe&&pe.length&&Me&&Me.length?nn(pe,Me,r,st):pe}var K8=y0(function(pe,Me){var st=pe==null?0:pe.length,Vt=Vu(pe,Me);return gn(pe,si(Me,function(pr){return la(pr,st)?+pr:pr}).sort(Vs)),Vt});function X8(pe,Me){var st=[];if(!(pe&&pe.length))return st;var Vt=-1,pr=[],jr=pe.length;for(Me=se(Me,3);++Vt<jr;){var Sn=pe[Vt];Me(Sn,Vt,pe)&&(st.push(Sn),pr.push(Vt))}return gn(pe,pr),st}function iy(pe){return pe==null?pe:n0.call(pe)}function dEe(pe,Me,st){var Vt=pe==null?0:pe.length;return Vt?(st&&typeof st!="number"&&ha(pe,Me,st)?(Me=0,st=Vt):(Me=Me==null?0:Yo(Me),st=st===r?Vt:Yo(st)),hi(pe,Me,st)):[]}function fEe(pe,Me){return Ro(pe,Me)}function hEe(pe,Me,st){return el(pe,Me,se(st,2))}function pEe(pe,Me){var st=pe==null?0:pe.length;if(st){var Vt=Ro(pe,Me);if(Vt<st&&x0(pe[Vt],Me))return Vt}return-1}function vEe(pe,Me){return Ro(pe,Me,!0)}function mEe(pe,Me,st){return el(pe,Me,se(st,2),!0)}function gEe(pe,Me){var st=pe==null?0:pe.length;if(st){var Vt=Ro(pe,Me,!0)-1;if(x0(pe[Vt],Me))return Vt}return-1}function l6(pe){return pe&&pe.length?Vo(pe):[]}function yEe(pe,Me){return pe&&pe.length?Vo(pe,se(Me,2)):[]}function _Ee(pe){var Me=pe==null?0:pe.length;return Me?hi(pe,1,Me):[]}function xEe(pe,Me,st){return pe&&pe.length?(Me=st||Me===r?1:Yo(Me),hi(pe,0,Me<0?0:Me)):[]}function bEe(pe,Me,st){var Vt=pe==null?0:pe.length;return Vt?(Me=st||Me===r?1:Yo(Me),Me=Vt-Me,hi(pe,Me<0?0:Me,Vt)):[]}function Pse(pe,Me){return pe&&pe.length?No(pe,se(Me,3),!1,!0):[]}function EEe(pe,Me){return pe&&pe.length?No(pe,se(Me,3)):[]}var Fse=Qn(function(pe){return _i(at(pe,1,kc,!0))}),q8=Qn(function(pe){var Me=Wu(pe);return kc(Me)&&(Me=r),_i(at(pe,1,kc,!0),se(Me,2))}),Bse=Qn(function(pe){var Me=Wu(pe);return Me=typeof Me=="function"?Me:r,_i(at(pe,1,kc,!0),r,Me)});function Z8(pe){return pe&&pe.length?_i(pe):[]}function oy(pe,Me){return pe&&pe.length?_i(pe,se(Me,2)):[]}function yd(pe,Me){return Me=typeof Me=="function"?Me:r,pe&&pe.length?_i(pe,r,Me):[]}function Q8(pe){if(!(pe&&pe.length))return[];var Me=0;return pe=ei(pe,function(st){if(kc(st))return Me=Os(st.length,Me),!0}),ul(Me,function(st){return si(pe,xf(st))})}function zse(pe,Me){if(!(pe&&pe.length))return[];var st=Q8(pe);return Me==null?st:si(st,function(Vt){return qn(Me,r,Vt)})}var Use=Qn(function(pe,Me){return kc(pe)?mp(pe,Me):[]}),SEe=Qn(function(pe){return fl(ei(pe,kc))}),wEe=Qn(function(pe){var Me=Wu(pe);return kc(Me)&&(Me=r),fl(ei(pe,kc),se(Me,2))}),TEe=Qn(function(pe){var Me=Wu(pe);return Me=typeof Me=="function"?Me:r,fl(ei(pe,kc),r,Me)}),AEe=Qn(Q8);function CEe(pe,Me){return Nl(pe||[],Me||[],pp)}function kEe(pe,Me){return Nl(pe||[],Me||[],Fa)}var J8=Qn(function(pe){var Me=pe.length,st=Me>1?pe[Me-1]:r;return st=typeof st=="function"?(pe.pop(),st):r,zse(pe,st)});function $se(pe){var Me=Br(pe);return Me.__chain__=!0,Me}function c6(pe,Me){return Me(pe),pe}function x4(pe,Me){return Me(pe)}var Gm=y0(function(pe){var Me=pe.length,st=Me?pe[0]:0,Vt=this.__wrapped__,pr=function(jr){return Vu(jr,pe)};return Me>1||this.__actions__.length||!(Vt instanceof vo)||!la(st)?this.thru(pr):(Vt=Vt.slice(st,+st+(Me?1:0)),Vt.__actions__.push({func:x4,args:[pr],thisArg:r}),new al(Vt,this.__chain__).thru(function(jr){return Me&&!jr.length&&jr.push(r),jr}))});function b4(){return $se(this)}function MEe(){return new al(this.value(),this.__chain__)}function REe(){this.__values__===r&&(this.__values__=ile(this.value()));var pe=this.__index__>=this.__values__.length,Me=pe?r:this.__values__[this.__index__++];return{done:pe,value:Me}}function NEe(){return this}function IEe(pe){for(var Me,st=this;st instanceof Rl;){var Vt=mh(st);Vt.__index__=0,Vt.__values__=r,Me?pr.__wrapped__=Vt:Me=Vt;var pr=Vt;st=st.__wrapped__}return pr.__wrapped__=pe,Me}function LEe(){var pe=this.__wrapped__;if(pe instanceof vo){var Me=pe;return this.__actions__.length&&(Me=new vo(this)),Me=Me.reverse(),Me.__actions__.push({func:x4,args:[iy],thisArg:r}),new al(Me,this.__chain__)}return this.thru(iy)}function OEe(){return yl(this.__wrapped__,this.__actions__)}var DEe=fh(function(pe,Me,st){cs.call(pe,st)?++pe[st]:Su(pe,st,1)});function PEe(pe,Me,st){var Vt=Bo(pe)?ya:uh;return st&&ha(pe,Me,st)&&(Me=r),Vt(pe,se(Me,3))}function FEe(pe,Me){var st=Bo(pe)?ei:dv;return st(pe,se(Me,3))}var BEe=_p(fc),zEe=_p(ny);function eR(pe,Me){return at(h6(pe,Me),1)}function UEe(pe,Me){return at(h6(pe,Me),F)}function v_(pe,Me,st){return st=st===r?1:Yo(st),at(h6(pe,Me),st)}function Hse(pe,Me){var st=Bo(pe)?ea:wu;return st(pe,se(Me,3))}function Ol(pe,Me){var st=Bo(pe)?Ea:f1;return st(pe,se(Me,3))}var u6=fh(function(pe,Me,st){cs.call(pe,st)?pe[st].push(Me):Su(pe,st,[Me])});function Vse(pe,Me,st,Vt){pe=If(pe)?pe:sy(pe),st=st&&!Vt?Yo(st):0;var pr=pe.length;return st<0&&(st=Os(pr+st,0)),g6(pe)?st<=pr&&pe.indexOf(Me,st)>-1:!!pr&&sd(pe,Me,st)>-1}var d6=Qn(function(pe,Me,st){var Vt=-1,pr=typeof Me=="function",jr=If(pe)?xa(pe.length):[];return wu(pe,function(Sn){jr[++Vt]=pr?qn(Me,Sn,st):oa(Sn,Me,st)}),jr}),f6=fh(function(pe,Me,st){Su(pe,st,Me)});function h6(pe,Me){var st=Bo(pe)?si:Bt;return st(pe,se(Me,3))}function E4(pe,Me,st,Vt){return pe==null?[]:(Bo(Me)||(Me=Me==null?[]:[Me]),st=Vt?r:st,Bo(st)||(st=st==null?[]:[st]),Gr(pe,Me,st))}var $Ee=fh(function(pe,Me,st){pe[st?0:1].push(Me)},function(){return[[],[]]});function Gse(pe,Me,st){var Vt=Bo(pe)?Fo:Zs,pr=arguments.length<3;return Vt(pe,se(Me,4),st,pr,wu)}function jse(pe,Me,st){var Vt=Bo(pe)?nu:Zs,pr=arguments.length<3;return Vt(pe,se(Me,4),st,pr,f1)}function S4(pe,Me){var st=Bo(pe)?ei:dv;return st(pe,gv(se(Me,3)))}function tR(pe){var Me=Bo(pe)?uv:$a;return Me(pe)}function rR(pe,Me,st){(st?ha(pe,Me,st):Me===r)?Me=1:Me=Yo(Me);var Vt=Bo(pe)?dc:ti;return Vt(pe,Me)}function HEe(pe){var Me=Bo(pe)?d0:Xi;return Me(pe)}function Yse(pe){if(pe==null)return 0;if(If(pe))return g6(pe)?eh(pe):pe.length;var Me=lr(pe);return Me==he||Me==re?pe.size:ot(pe).length}function w4(pe,Me,st){var Vt=Bo(pe)?cc:Gi;return st&&ha(pe,Me,st)&&(Me=r),Vt(pe,se(Me,3))}var VEe=Qn(function(pe,Me){if(pe==null)return[];var st=Me.length;return st>1&&ha(pe,Me[0],Me[1])?Me=[]:st>2&&ha(Me[0],Me[1],Me[2])&&(Me=[Me[0]]),Gr(pe,at(Me,1),[])}),m_=av||function(){return Dr.Date.now()};function GEe(pe,Me){if(typeof Me!="function")throw new Uc(u);return pe=Yo(pe),function(){if(--pe<1)return Me.apply(this,arguments)}}function p6(pe,Me,st){return Me=st?r:Me,Me=pe&&Me==null?pe.length:Me,ph(pe,C,r,r,r,r,Me)}function v6(pe,Me){var st;if(typeof Me!="function")throw new Uc(u);return pe=Yo(pe),function(){return--pe>0&&(st=Me.apply(this,arguments)),pe<=1&&(Me=r),st}}var nR=Qn(function(pe,Me,st){var Vt=c;if(st.length){var pr=Sf(st,ye(nR));Vt|=x}return ph(pe,Vt,Me,st,pr)}),Ep=Qn(function(pe,Me,st){var Vt=c|s;if(st.length){var pr=Sf(st,ye(Ep));Vt|=x}return ph(Me,Vt,pe,st,pr)});function Wse(pe,Me,st){Me=st?r:Me;var Vt=ph(pe,f,r,r,r,r,r,Me);return Vt.placeholder=Wse.placeholder,Vt}function Kse(pe,Me,st){Me=st?r:Me;var Vt=ph(pe,b,r,r,r,r,r,Me);return Vt.placeholder=Kse.placeholder,Vt}function Xse(pe,Me,st){var Vt,pr,jr,Sn,Dn,Jn,za=0,Pa=!1,Xa=!1,Li=!0;if(typeof pe!="function")throw new Uc(u);Me=wp(Me)||0,Xl(st)&&(Pa=!!st.leading,Xa="maxWait"in st,jr=Xa?Os(wp(st.maxWait)||0,Me):jr,Li="trailing"in st?!!st.trailing:Li);function Ai(Zl){var S0=Vt,xv=pr;return Vt=pr=r,za=Zl,Sn=pe.apply(xv,S0),Sn}function oo(Zl){return za=Zl,Dn=go(ds,Me),Pa?Ai(Zl):Sn}function Ui(Zl){var S0=Zl-Jn,xv=Zl-za,Ym=Me-S0;return Xa?Ds(Ym,jr-xv):Ym}function so(Zl){var S0=Zl-Jn,xv=Zl-za;return Jn===r||S0>=Me||S0<0||Xa&&xv>=jr}function ds(){var Zl=m_();if(so(Zl))return ys(Zl);Dn=go(ds,Ui(Zl))}function ys(Zl){return Dn=r,Li&&Vt?Ai(Zl):(Vt=pr=r,Sn)}function Of(){Dn!==r&&Yc(Dn),za=0,Vt=Jn=pr=Dn=r}function xd(){return Dn===r?Sn:ys(m_())}function bh(){var Zl=m_(),S0=so(Zl);if(Vt=arguments,pr=this,Jn=Zl,S0){if(Dn===r)return oo(Jn);if(Xa)return Yc(Dn),Dn=go(ds,Me),Ai(Jn)}return Dn===r&&(Dn=go(ds,Me)),Sn}return bh.cancel=Of,bh.flush=xd,bh}var jEe=Qn(function(pe,Me){return p0(pe,1,Me)}),YEe=Qn(function(pe,Me,st){return p0(pe,wp(Me)||0,st)});function WEe(pe){return ph(pe,R)}function T4(pe,Me){if(typeof pe!="function"||Me!=null&&typeof Me!="function")throw new Uc(u);var st=function(){var Vt=arguments,pr=Me?Me.apply(this,Vt):Vt[0],jr=st.cache;if(jr.has(pr))return jr.get(pr);var Sn=pe.apply(this,Vt);return st.cache=jr.set(pr,Sn)||jr,Sn};return st.cache=new(T4.Cache||Hc),st}T4.Cache=Hc;function gv(pe){if(typeof pe!="function")throw new Uc(u);return function(){var Me=arguments;switch(Me.length){case 0:return!pe.call(this);case 1:return!pe.call(this,Me[0]);case 2:return!pe.call(this,Me[0],Me[1]);case 3:return!pe.call(this,Me[0],Me[1],Me[2])}return!pe.apply(this,Me)}}function KEe(pe){return v6(2,pe)}var XEe=Ri(function(pe,Me){Me=Me.length==1&&Bo(Me[0])?si(Me[0],bs(se())):si(at(Me,1),bs(se()));var st=Me.length;return Qn(function(Vt){for(var pr=-1,jr=Ds(Vt.length,st);++pr<jr;)Vt[pr]=Me[pr].call(this,Vt[pr]);return qn(pe,this,Vt)})}),aR=Qn(function(pe,Me){var st=Sf(Me,ye(aR));return ph(pe,x,r,Me,st)}),qse=Qn(function(pe,Me){var st=Sf(Me,ye(qse));return ph(pe,y,r,Me,st)}),Zse=y0(function(pe,Me){return ph(pe,w,r,r,r,Me)});function Qse(pe,Me){if(typeof pe!="function")throw new Uc(u);return Me=Me===r?Me:Yo(Me),Qn(pe,Me)}function qEe(pe,Me){if(typeof pe!="function")throw new Uc(u);return Me=Me==null?0:Os(Yo(Me),0),Qn(function(st){var Vt=st[Me],pr=dl(st,0,Me);return Vt&&Uo(pr,Vt),qn(pe,this,pr)})}function ZEe(pe,Me,st){var Vt=!0,pr=!0;if(typeof pe!="function")throw new Uc(u);return Xl(st)&&(Vt="leading"in st?!!st.leading:Vt,pr="trailing"in st?!!st.trailing:pr),Xse(pe,Me,{leading:Vt,maxWait:Me,trailing:pr})}function QEe(pe){return p6(pe,1)}function JEe(pe,Me){return aR(Il(Me),pe)}function eSe(){if(!arguments.length)return[];var pe=arguments[0];return Bo(pe)?pe:[pe]}function tSe(pe){return jc(pe,g)}function rSe(pe,Me){return Me=typeof Me=="function"?Me:r,jc(pe,g,Me)}function nSe(pe){return jc(pe,i|g)}function g_(pe,Me){return Me=typeof Me=="function"?Me:r,jc(pe,i|g,Me)}function aSe(pe,Me){return Me==null||vp(pe,Me,ql(Me))}function x0(pe,Me){return pe===Me||pe!==pe&&Me!==Me}var iR=g0(gr),A4=g0(function(pe,Me){return pe>=Me}),Ku=fa(function(){return arguments}())?fa:function(pe){return hc(pe)&&cs.call(pe,"callee")&&!e0.call(pe,"callee")},Bo=xa.isArray,iSe=zn?bs(zn):La;function If(pe){return pe!=null&&C4(pe.length)&&!yv(pe)}function kc(pe){return hc(pe)&&If(pe)}function oSe(pe){return pe===!0||pe===!1||hc(pe)&&Nr(pe)==G}var Sp=r0||_R,Jse=Ln?bs(Ln):Di;function sSe(pe){return hc(pe)&&pe.nodeType===1&&!k4(pe)}function lSe(pe){if(pe==null)return!0;if(If(pe)&&(Bo(pe)||typeof pe=="string"||typeof pe.splice=="function"||Sp(pe)||y_(pe)||Ku(pe)))return!pe.length;var Me=lr(pe);if(Me==he||Me==re)return!pe.size;if(Ka(pe))return!ot(pe).length;for(var st in pe)if(cs.call(pe,st))return!1;return!0}function cSe(pe,Me){return Ii(pe,Me)}function uSe(pe,Me,st){st=typeof st=="function"?st:r;var Vt=st?st(pe,Me):r;return Vt===r?Ii(pe,Me,r,st):!!Vt}function oR(pe){if(!hc(pe))return!1;var Me=Nr(pe);return Me==Q||Me==X||typeof pe.message=="string"&&typeof pe.name=="string"&&!k4(pe)}function dSe(pe){return typeof pe=="number"&&Eu(pe)}function yv(pe){if(!Xl(pe))return!1;var Me=Nr(pe);return Me==ae||Me==ie||Me==j||Me==te}function ele(pe){return typeof pe=="number"&&pe==Yo(pe)}function C4(pe){return typeof pe=="number"&&pe>-1&&pe%1==0&&pe<=N}function Xl(pe){var Me=typeof pe;return pe!=null&&(Me=="object"||Me=="function")}function hc(pe){return pe!=null&&typeof pe=="object"}var tle=Hr?bs(Hr):Ki;function fSe(pe,Me){return pe===Me||_o(pe,Me,Ge(Me))}function rle(pe,Me,st){return st=typeof st=="function"?st:r,_o(pe,Me,Ge(Me),st)}function nle(pe){return sR(pe)&&pe!=+pe}function Xu(pe){if(Va(pe))throw new eo(m);return rs(pe)}function hSe(pe){return pe===null}function pSe(pe){return pe==null}function sR(pe){return typeof pe=="number"||hc(pe)&&Nr(pe)==J}function k4(pe){if(!hc(pe)||Nr(pe)!=le)return!1;var Me=ip(pe);if(Me===null)return!0;var st=cs.call(Me,"constructor")&&Me.constructor;return typeof st=="function"&&st instanceof st&&r1.call(st)==n1}var m6=mn?bs(mn):il;function vSe(pe){return ele(pe)&&pe>=-N&&pe<=N}var lR=cn?bs(cn):ve;function g6(pe){return typeof pe=="string"||!Bo(pe)&&hc(pe)&&Nr(pe)==ee}function _h(pe){return typeof pe=="symbol"||hc(pe)&&Nr(pe)==de}var y_=bn?bs(bn):De;function mSe(pe){return pe===r}function ale(pe){return hc(pe)&&lr(pe)==fe}function gSe(pe){return hc(pe)&&Nr(pe)==me}var ySe=g0(gt),_Se=g0(function(pe,Me){return pe<=Me});function ile(pe){if(!pe)return[];if(If(pe))return g6(pe)?bu(pe):Wc(pe);if(ts&&pe[ts])return Jg(pe[ts]());var Me=lr(pe),st=Me==he?Qh:Me==re?t1:sy;return st(pe)}function xh(pe){if(!pe)return pe===0?pe:0;if(pe=wp(pe),pe===F||pe===-F){var Me=pe<0?-1:1;return Me*T}return pe===pe?pe:0}function Yo(pe){var Me=xh(pe),st=Me%1;return Me===Me?st?Me-st:Me:0}function Mc(pe){return pe?Gc(Yo(pe),0,O):0}function wp(pe){if(typeof pe=="number")return pe;if(_h(pe))return D;if(Xl(pe)){var Me=typeof pe.valueOf=="function"?pe.valueOf():pe;pe=Xl(Me)?Me+"":Me}if(typeof pe!="string")return pe===0?pe:+pe;pe=kl(pe);var st=It.test(pe);return st||cr.test(pe)?Ua(pe.slice(2),st?2:8):ir.test(pe)?D:+pe}function ole(pe){return dh(pe,Xd(pe))}function y6(pe){return pe?Gc(Yo(pe),-N,N):pe===0?pe:0}function Rs(pe){return pe==null?"":Pi(pe)}var js=hh(function(pe,Me){if(Ka(Me)||If(Me)){dh(Me,ql(Me),pe);return}for(var st in Me)cs.call(Me,st)&&pp(pe,st,Me[st])}),_6=hh(function(pe,Me){dh(Me,Xd(Me),pe)}),M4=hh(function(pe,Me,st,Vt){dh(Me,Xd(Me),pe,Vt)}),xSe=hh(function(pe,Me,st,Vt){dh(Me,ql(Me),pe,Vt)}),sle=y0(Vu);function bSe(pe,Me){var st=sh(pe);return Me==null?st:Cc(st,Me)}var _v=Qn(function(pe,Me){pe=vs(pe);var st=-1,Vt=Me.length,pr=Vt>2?Me[2]:r;for(pr&&ha(Me[0],Me[1],pr)&&(Vt=1);++st<Vt;)for(var jr=Me[st],Sn=Xd(jr),Dn=-1,Jn=Sn.length;++Dn<Jn;){var za=Sn[Dn],Pa=pe[za];(Pa===r||x0(Pa,ws[za])&&!cs.call(pe,za))&&(pe[za]=jr[za])}return pe}),__=Qn(function(pe){return pe.push(r,y4),qn(b6,r,pe)});function ESe(pe,Me){return ev(pe,se(Me,3),kt)}function SSe(pe,Me){return ev(pe,se(Me,3),Yt)}function wSe(pe,Me){return pe==null?pe:ft(pe,se(Me,3),Xd)}function lle(pe,Me){return pe==null?pe:Tt(pe,se(Me,3),Xd)}function TSe(pe,Me){return pe&&kt(pe,se(Me,3))}function ASe(pe,Me){return pe&&Yt(pe,se(Me,3))}function CSe(pe){return pe==null?[]:$t(pe,ql(pe))}function kSe(pe){return pe==null?[]:$t(pe,Xd(pe))}function cR(pe,Me,st){var Vt=pe==null?r:qt(pe,Me);return Vt===r?st:Vt}function MSe(pe,Me){return pe!=null&&Qr(pe,Me,Ur)}function uR(pe,Me){return pe!=null&&Qr(pe,Me,Zr)}var RSe=Dm(function(pe,Me,st){Me!=null&&typeof Me.toString!="function"&&(Me=Yl.call(Me)),pe[Me]=st},S_(lu)),NSe=Dm(function(pe,Me,st){Me!=null&&typeof Me.toString!="function"&&(Me=Yl.call(Me)),cs.call(pe,Me)?pe[Me].push(st):pe[Me]=[st]},se),x6=Qn(oa);function ql(pe){return If(pe)?Om(pe):ot(pe)}function Xd(pe){return If(pe)?Om(pe,!0):dt(pe)}function ISe(pe,Me){var st={};return Me=se(Me,3),kt(pe,function(Vt,pr,jr){Su(st,Me(Vt,pr,jr),Vt)}),st}function LSe(pe,Me){var st={};return Me=se(Me,3),kt(pe,function(Vt,pr,jr){Su(st,pr,Me(Vt,pr,jr))}),st}var OSe=hh(function(pe,Me,st){tr(pe,Me,st)}),b6=hh(function(pe,Me,st,Vt){tr(pe,Me,st,Vt)}),DSe=y0(function(pe,Me){var st={};if(pe==null)return st;var Vt=!1;Me=si(Me,function(jr){return jr=ja(jr,pe),Vt||(Vt=jr.length>1),jr}),dh(pe,xl(pe),st),Vt&&(st=jc(st,i|S|g,i6));for(var pr=Me.length;pr--;)xo(st,Me[pr]);return st});function PSe(pe,Me){return cle(pe,gv(se(Me)))}var FSe=y0(function(pe,Me){return pe==null?{}:En(pe,Me)});function cle(pe,Me){if(pe==null)return{};var st=si(xl(pe),function(Vt){return[Vt]});return Me=se(Me),In(pe,st,function(Vt,pr){return Me(Vt,pr[0])})}function ule(pe,Me,st){Me=ja(Me,pe);var Vt=-1,pr=Me.length;for(pr||(pr=1,pe=r);++Vt<pr;){var jr=pe==null?r:pe[Kl(Me[Vt])];jr===r&&(Vt=pr,jr=st),pe=yv(jr)?jr.call(pe):jr}return pe}function dle(pe,Me,st){return pe==null?pe:Fa(pe,Me,st)}function qd(pe,Me,st,Vt){return Vt=typeof Vt=="function"?Vt:r,pe==null?pe:Fa(pe,Me,st,Vt)}var R4=y1(ql),x_=y1(Xd);function N4(pe,Me,st){var Vt=Bo(pe),pr=Vt||Sp(pe)||y_(pe);if(Me=se(Me,4),st==null){var jr=pe&&pe.constructor;pr?st=Vt?new jr:[]:Xl(pe)?st=yv(jr)?sh(ip(pe)):{}:st={}}return(pr?ea:kt)(pe,function(Sn,Dn,Jn){return Me(st,Sn,Dn,Jn)}),st}function Lf(pe,Me){return pe==null?!0:xo(pe,Me)}function I4(pe,Me,st){return pe==null?pe:Ts(pe,Me,Il(st))}function BSe(pe,Me,st,Vt){return Vt=typeof Vt=="function"?Vt:r,pe==null?pe:Ts(pe,Me,Il(st),Vt)}function sy(pe){return pe==null?[]:Tc(pe,ql(pe))}function fle(pe){return pe==null?[]:Tc(pe,Xd(pe))}function b_(pe,Me,st){return st===r&&(st=Me,Me=r),st!==r&&(st=wp(st),st=st===st?st:0),Me!==r&&(Me=wp(Me),Me=Me===Me?Me:0),Gc(wp(pe),Me,st)}function Cu(pe,Me,st){return Me=xh(Me),st===r?(st=Me,Me=0):st=xh(st),pe=wp(pe),an(pe,Me,st)}function zSe(pe,Me,st){if(st&&typeof st!="boolean"&&ha(pe,Me,st)&&(Me=st=r),st===r&&(typeof Me=="boolean"?(st=Me,Me=r):typeof pe=="boolean"&&(st=pe,pe=r)),pe===r&&Me===r?(pe=0,Me=1):(pe=xh(pe),Me===r?(Me=pe,pe=0):Me=xh(Me)),pe>Me){var Vt=pe;pe=Me,Me=Vt}if(st||pe%1||Me%1){var pr=au();return Ds(pe+pr*(Me-pe+ba("1e-"+((pr+"").length-1))),Me)}return On(pe,Me)}var E6=p1(function(pe,Me,st){return Me=Me.toLowerCase(),pe+(st?b0(Me):Me)});function b0(pe){return S6(Rs(pe).toLowerCase())}function _d(pe){return pe=Rs(pe),pe&&pe.replace(Ct,Ml).replace(_a,"")}function hle(pe,Me,st){pe=Rs(pe),Me=Pi(Me);var Vt=pe.length;st=st===r?Vt:Gc(Yo(st),0,Vt);var pr=st;return st-=Me.length,st>=0&&pe.slice(st,pr)==Me}function USe(pe){return pe=Rs(pe),pe&&_t.test(pe)?pe.replace(pt,rv):pe}function ple(pe){return pe=Rs(pe),pe&&He.test(pe)?pe.replace(qe,"\\$&"):pe}var $Se=p1(function(pe,Me,st){return pe+(st?"-":"")+Me.toLowerCase()}),vle=p1(function(pe,Me,st){return pe+(st?" ":"")+Me.toLowerCase()}),mle=s_("toLowerCase");function dR(pe,Me,st){pe=Rs(pe),Me=Yo(Me);var Vt=Me?eh(pe):0;if(!Me||Vt>=Me)return pe;var pr=(Me-Vt)/2;return Pm(ah(pr),st)+pe+Pm(Uu(pr),st)}function fR(pe,Me,st){pe=Rs(pe),Me=Yo(Me);var Vt=Me?eh(pe):0;return Me&&Vt<Me?pe+Pm(Me-Vt,st):pe}function HSe(pe,Me,st){pe=Rs(pe),Me=Yo(Me);var Vt=Me?eh(pe):0;return Me&&Vt<Me?Pm(Me-Vt,st)+pe:pe}function VSe(pe,Me,st){return st||Me==null?Me=0:Me&&(Me=+Me),$u(Rs(pe).replace(Ce,""),Me||0)}function GSe(pe,Me,st){return(st?ha(pe,Me,st):Me===r)?Me=1:Me=Yo(Me),Tn(Rs(pe),Me)}function jSe(){var pe=arguments,Me=Rs(pe[0]);return pe.length<3?Me:Me.replace(pe[1],pe[2])}var gle=p1(function(pe,Me,st){return pe+(st?"_":"")+Me.toLowerCase()});function E_(pe,Me,st){return st&&typeof st!="number"&&ha(pe,Me,st)&&(Me=st=r),st=st===r?O:st>>>0,st?(pe=Rs(pe),pe&&(typeof Me=="string"||Me!=null&&!m6(Me))&&(Me=Pi(Me),!Me&&Ef(pe))?dl(bu(pe),0,st):pe.split(Me,st)):[]}var E0=p1(function(pe,Me,st){return pe+(st?" ":"")+S6(Me)});function hR(pe,Me,st){return pe=Rs(pe),st=st==null?0:Gc(Yo(st),0,pe.length),Me=Pi(Me),pe.slice(st,st+Me.length)==Me}function yle(pe,Me,st){var Vt=Br.templateSettings;st&&ha(pe,Me,st)&&(Me=r),pe=Rs(pe),Me=M4({},Me,Vt,vv);var pr=M4({},Me.imports,Vt.imports,vv),jr=ql(pr),Sn=Tc(pr,jr),Dn,Jn,za=0,Pa=Me.interpolate||or,Xa="__p += '",Li=ud((Me.escape||or).source+"|"+Pa.source+"|"+(Pa===ct?wt:or).source+"|"+(Me.evaluate||or).source+"|$","g"),Ai="//# sourceURL="+(cs.call(Me,"sourceURL")?(Me.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Fr+"]")+`
`;pe.replace(Li,function(so,ds,ys,Of,xd,bh){return ys||(ys=Of),Xa+=pe.slice(za,bh).replace(ur,bf),ds&&(Dn=!0,Xa+=`' +
__e(`+ds+`) +
'`),xd&&(Jn=!0,Xa+=`';
`+xd+`;
__p += '`),ys&&(Xa+=`' +
((__t = (`+ys+`)) == null ? '' : __t) +
'`),za=bh+so.length,so}),Xa+=`';
`;var oo=cs.call(Me,"variable")&&Me.variable;if(!oo)Xa=`with (obj) {
`+Xa+`
}
`;else if(ut.test(oo))throw new eo(h);Xa=(Jn?Xa.replace(lt,""):Xa).replace(ht,"$1").replace(tt,"$1;"),Xa="function("+(oo||"obj")+`) {
`+(oo?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(Dn?", __e = _.escape":"")+(Jn?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+Xa+`return __p
}`;var Ui=ly(function(){return $o(jr,Ai+"return "+Xa).apply(r,Sn)});if(Ui.source=Xa,oR(Ui))throw Ui;return Ui}function _le(pe){return Rs(pe).toLowerCase()}function YSe(pe){return Rs(pe).toUpperCase()}function xle(pe,Me,st){if(pe=Rs(pe),pe&&(st||Me===r))return kl(pe);if(!pe||!(Me=Pi(Me)))return pe;var Vt=bu(pe),pr=bu(Me),jr=Ac(Vt,pr),Sn=Am(Vt,pr)+1;return dl(Vt,jr,Sn).join("")}function ble(pe,Me,st){if(pe=Rs(pe),pe&&(st||Me===r))return pe.slice(0,wf(pe)+1);if(!pe||!(Me=Pi(Me)))return pe;var Vt=bu(pe),pr=Am(Vt,bu(Me))+1;return dl(Vt,0,pr).join("")}function Ele(pe,Me,st){if(pe=Rs(pe),pe&&(st||Me===r))return pe.replace(Ce,"");if(!pe||!(Me=Pi(Me)))return pe;var Vt=bu(pe),pr=Ac(Vt,bu(Me));return dl(Vt,pr).join("")}function Sle(pe,Me){var st=A,Vt=E;if(Xl(Me)){var pr="separator"in Me?Me.separator:pr;st="length"in Me?Yo(Me.length):st,Vt="omission"in Me?Pi(Me.omission):Vt}pe=Rs(pe);var jr=pe.length;if(Ef(pe)){var Sn=bu(pe);jr=Sn.length}if(st>=jr)return pe;var Dn=st-eh(Vt);if(Dn<1)return Vt;var Jn=Sn?dl(Sn,0,Dn).join(""):pe.slice(0,Dn);if(pr===r)return Jn+Vt;if(Sn&&(Dn+=Jn.length-Dn),m6(pr)){if(pe.slice(Dn).search(pr)){var za,Pa=Jn;for(pr.global||(pr=ud(pr.source,Rs(nr.exec(pr))+"g")),pr.lastIndex=0;za=pr.exec(Pa);)var Xa=za.index;Jn=Jn.slice(0,Xa===r?Dn:Xa)}}else if(pe.indexOf(Pi(pr),Dn)!=Dn){var Li=Jn.lastIndexOf(pr);Li>-1&&(Jn=Jn.slice(0,Li))}return Jn+Vt}function WSe(pe){return pe=Rs(pe),pe&&vt.test(pe)?pe.replace(et,Jh):pe}var KSe=p1(function(pe,Me,st){return pe+(st?" ":"")+Me.toUpperCase()}),S6=s_("toUpperCase");function pR(pe,Me,st){return pe=Rs(pe),Me=st?r:Me,Me===r?Cm(pe)?Mm(pe):J1(pe):pe.match(Me)||[]}var ly=Qn(function(pe,Me){try{return qn(pe,r,Me)}catch(st){return oR(st)?st:new eo(st)}}),wle=y0(function(pe,Me){return ea(Me,function(st){st=Kl(st),Su(pe,st,nR(pe[st],pe))}),pe});function w6(pe){var Me=pe==null?0:pe.length,st=se();return pe=Me?si(pe,function(Vt){if(typeof Vt[1]!="function")throw new Uc(u);return[st(Vt[0]),Vt[1]]}):[],Qn(function(Vt){for(var pr=-1;++pr<Me;){var jr=pe[pr];if(qn(jr[0],this,Vt))return qn(jr[1],this,Vt)}})}function Tle(pe){return h0(jc(pe,i))}function S_(pe){return function(){return pe}}function T6(pe,Me){return pe==null||pe!==pe?Me:pe}var XSe=Gu(),A6=Gu(!0);function lu(pe){return pe}function vR(pe){return Ye(typeof pe=="function"?pe:jc(pe,i))}function qSe(pe){return Lt(jc(pe,i))}function ZSe(pe,Me){return er(pe,jc(Me,i))}var w_=Qn(function(pe,Me){return function(st){return oa(st,pe,Me)}}),QSe=Qn(function(pe,Me){return function(st){return oa(pe,st,Me)}});function mR(pe,Me,st){var Vt=ql(Me),pr=$t(Me,Vt);st==null&&!(Xl(Me)&&(pr.length||!Vt.length))&&(st=Me,Me=pe,pe=this,pr=$t(Me,ql(Me)));var jr=!(Xl(st)&&"chain"in st)||!!st.chain,Sn=yv(pe);return ea(pr,function(Dn){var Jn=Me[Dn];pe[Dn]=Jn,Sn&&(pe.prototype[Dn]=function(){var za=this.__chain__;if(jr||za){var Pa=pe(this.__wrapped__),Xa=Pa.__actions__=Wc(this.__actions__);return Xa.push({func:Jn,args:arguments,thisArg:pe}),Pa.__chain__=za,Pa}return Jn.apply(pe,Uo([this.value()],arguments))})}),pe}function T_(){return Dr._===this&&(Dr._=np),this}function L4(){}function Ale(pe){return pe=Yo(pe),Qn(function(Me){return Vr(Me,pe)})}var JSe=v1(si),gR=v1(ya),e4e=v1(cc);function A_(pe){return Ca(pe)?xf(Kl(pe)):qr(pe)}function jm(pe){return function(Me){return pe==null?r:qt(pe,Me)}}var Cle=Fm(),kle=Fm(!0);function yR(){return[]}function _R(){return!1}function t4e(){return{}}function r4e(){return""}function C6(){return!0}function xR(pe,Me){if(pe=Yo(pe),pe<1||pe>N)return[];var st=O,Vt=Ds(pe,O);Me=se(Me),pe-=O;for(var pr=ul(Vt,Me);++st<pe;)Me(st);return pr}function n4e(pe){return Bo(pe)?si(pe,Kl):_h(pe)?[pe]:Wc(Wl(Rs(pe)))}function C_(pe){var Me=++rp;return Rs(pe)+Me}var O4=pv(function(pe,Me){return pe+Me},0),As=c_("ceil"),a4e=pv(function(pe,Me){return pe/Me},1),i4e=c_("floor");function o4e(pe){return pe&&pe.length?gp(pe,lu,gr):r}function bR(pe,Me){return pe&&pe.length?gp(pe,se(Me,2),gr):r}function k_(pe){return uc(pe,lu)}function s4e(pe,Me){return uc(pe,se(Me,2))}function l4e(pe){return pe&&pe.length?gp(pe,lu,gt):r}function c4e(pe,Me){return pe&&pe.length?gp(pe,se(Me,2),gt):r}var u4e=pv(function(pe,Me){return pe*Me},1),d4e=c_("round"),f4e=pv(function(pe,Me){return pe-Me},0);function h4e(pe){return pe&&pe.length?Qs(pe,lu):0}function p4e(pe,Me){return pe&&pe.length?Qs(pe,se(Me,2)):0}return Br.after=GEe,Br.ary=p6,Br.assign=js,Br.assignIn=_6,Br.assignInWith=M4,Br.assignWith=xSe,Br.at=sle,Br.before=v6,Br.bind=nR,Br.bindAll=wle,Br.bindKey=Ep,Br.castArray=eSe,Br.chain=$se,Br.chunk=mv,Br.compact=xp,Br.concat=ju,Br.cond=w6,Br.conforms=Tle,Br.constant=S_,Br.countBy=DEe,Br.create=bSe,Br.curry=Wse,Br.curryRight=Kse,Br.debounce=Xse,Br.defaults=_v,Br.defaultsDeep=__,Br.defer=jEe,Br.delay=YEe,Br.difference=bp,Br.differenceBy=vd,Br.differenceWith=Yu,Br.drop=gh,Br.dropRight=_0,Br.dropRightWhile=yh,Br.dropWhile=d_,Br.fill=Bm,Br.filter=FEe,Br.flatMap=eR,Br.flatMapDeep=UEe,Br.flatMapDepth=v_,Br.flatten=zm,Br.flattenDeep=Au,Br.flattenDepth=Um,Br.flip=WEe,Br.flow=XSe,Br.flowRight=A6,Br.fromPairs=f_,Br.functions=CSe,Br.functionsIn=kSe,Br.groupBy=u6,Br.initial=$m,Br.intersection=Hm,Br.intersectionBy=bl,Br.intersectionWith=md,Br.invert=RSe,Br.invertBy=NSe,Br.invokeMap=d6,Br.iteratee=vR,Br.keyBy=f6,Br.keys=ql,Br.keysIn=Xd,Br.map=h6,Br.mapKeys=ISe,Br.mapValues=LSe,Br.matches=qSe,Br.matchesProperty=ZSe,Br.memoize=T4,Br.merge=OSe,Br.mergeWith=b6,Br.method=w_,Br.methodOf=QSe,Br.mixin=mR,Br.negate=gv,Br.nthArg=Ale,Br.omit=DSe,Br.omitBy=PSe,Br.once=KEe,Br.orderBy=E4,Br.over=JSe,Br.overArgs=XEe,Br.overEvery=gR,Br.overSome=e4e,Br.partial=aR,Br.partialRight=qse,Br.partition=$Ee,Br.pick=FSe,Br.pickBy=cle,Br.property=A_,Br.propertyOf=jm,Br.pull=Y8,Br.pullAll=Vm,Br.pullAllBy=W8,Br.pullAllWith=p_,Br.pullAt=K8,Br.range=Cle,Br.rangeRight=kle,Br.rearg=Zse,Br.reject=S4,Br.remove=X8,Br.rest=Qse,Br.reverse=iy,Br.sampleSize=rR,Br.set=dle,Br.setWith=qd,Br.shuffle=HEe,Br.slice=dEe,Br.sortBy=VEe,Br.sortedUniq=l6,Br.sortedUniqBy=yEe,Br.split=E_,Br.spread=qEe,Br.tail=_Ee,Br.take=xEe,Br.takeRight=bEe,Br.takeRightWhile=Pse,Br.takeWhile=EEe,Br.tap=c6,Br.throttle=ZEe,Br.thru=x4,Br.toArray=ile,Br.toPairs=R4,Br.toPairsIn=x_,Br.toPath=n4e,Br.toPlainObject=ole,Br.transform=N4,Br.unary=QEe,Br.union=Fse,Br.unionBy=q8,Br.unionWith=Bse,Br.uniq=Z8,Br.uniqBy=oy,Br.uniqWith=yd,Br.unset=Lf,Br.unzip=Q8,Br.unzipWith=zse,Br.update=I4,Br.updateWith=BSe,Br.values=sy,Br.valuesIn=fle,Br.without=Use,Br.words=pR,Br.wrap=JEe,Br.xor=SEe,Br.xorBy=wEe,Br.xorWith=TEe,Br.zip=AEe,Br.zipObject=CEe,Br.zipObjectDeep=kEe,Br.zipWith=J8,Br.entries=R4,Br.entriesIn=x_,Br.extend=_6,Br.extendWith=M4,mR(Br,Br),Br.add=O4,Br.attempt=ly,Br.camelCase=E6,Br.capitalize=b0,Br.ceil=As,Br.clamp=b_,Br.clone=tSe,Br.cloneDeep=nSe,Br.cloneDeepWith=g_,Br.cloneWith=rSe,Br.conformsTo=aSe,Br.deburr=_d,Br.defaultTo=T6,Br.divide=a4e,Br.endsWith=hle,Br.eq=x0,Br.escape=USe,Br.escapeRegExp=ple,Br.every=PEe,Br.find=BEe,Br.findIndex=fc,Br.findKey=ESe,Br.findLast=zEe,Br.findLastIndex=ny,Br.findLastKey=SSe,Br.floor=i4e,Br.forEach=Hse,Br.forEachRight=Ol,Br.forIn=wSe,Br.forInRight=lle,Br.forOwn=TSe,Br.forOwnRight=ASe,Br.get=cR,Br.gt=iR,Br.gte=A4,Br.has=MSe,Br.hasIn=uR,Br.head=ay,Br.identity=lu,Br.includes=Vse,Br.indexOf=h_,Br.inRange=Cu,Br.invoke=x6,Br.isArguments=Ku,Br.isArray=Bo,Br.isArrayBuffer=iSe,Br.isArrayLike=If,Br.isArrayLikeObject=kc,Br.isBoolean=oSe,Br.isBuffer=Sp,Br.isDate=Jse,Br.isElement=sSe,Br.isEmpty=lSe,Br.isEqual=cSe,Br.isEqualWith=uSe,Br.isError=oR,Br.isFinite=dSe,Br.isFunction=yv,Br.isInteger=ele,Br.isLength=C4,Br.isMap=tle,Br.isMatch=fSe,Br.isMatchWith=rle,Br.isNaN=nle,Br.isNative=Xu,Br.isNil=pSe,Br.isNull=hSe,Br.isNumber=sR,Br.isObject=Xl,Br.isObjectLike=hc,Br.isPlainObject=k4,Br.isRegExp=m6,Br.isSafeInteger=vSe,Br.isSet=lR,Br.isString=g6,Br.isSymbol=_h,Br.isTypedArray=y_,Br.isUndefined=mSe,Br.isWeakMap=ale,Br.isWeakSet=gSe,Br.join=gd,Br.kebabCase=$Se,Br.last=Wu,Br.lastIndexOf=_4,Br.lowerCase=vle,Br.lowerFirst=mle,Br.lt=ySe,Br.lte=_Se,Br.max=o4e,Br.maxBy=bR,Br.mean=k_,Br.meanBy=s4e,Br.min=l4e,Br.minBy=c4e,Br.stubArray=yR,Br.stubFalse=_R,Br.stubObject=t4e,Br.stubString=r4e,Br.stubTrue=C6,Br.multiply=u4e,Br.nth=j8,Br.noConflict=T_,Br.noop=L4,Br.now=m_,Br.pad=dR,Br.padEnd=fR,Br.padStart=HSe,Br.parseInt=VSe,Br.random=zSe,Br.reduce=Gse,Br.reduceRight=jse,Br.repeat=GSe,Br.replace=jSe,Br.result=ule,Br.round=d4e,Br.runInContext=Yn,Br.sample=tR,Br.size=Yse,Br.snakeCase=gle,Br.some=w4,Br.sortedIndex=fEe,Br.sortedIndexBy=hEe,Br.sortedIndexOf=pEe,Br.sortedLastIndex=vEe,Br.sortedLastIndexBy=mEe,Br.sortedLastIndexOf=gEe,Br.startCase=E0,Br.startsWith=hR,Br.subtract=f4e,Br.sum=h4e,Br.sumBy=p4e,Br.template=yle,Br.times=xR,Br.toFinite=xh,Br.toInteger=Yo,Br.toLength=Mc,Br.toLower=_le,Br.toNumber=wp,Br.toSafeInteger=y6,Br.toString=Rs,Br.toUpper=YSe,Br.trim=xle,Br.trimEnd=ble,Br.trimStart=Ele,Br.truncate=Sle,Br.unescape=WSe,Br.uniqueId=C_,Br.upperCase=KSe,Br.upperFirst=S6,Br.each=Hse,Br.eachRight=Ol,Br.first=ay,mR(Br,function(){var pe={};return kt(Br,function(Me,st){cs.call(Br.prototype,st)||(pe[st]=Me)}),pe}(),{chain:!1}),Br.VERSION=n,ea(["bind","bindKey","curry","curryRight","partial","partialRight"],function(pe){Br[pe].placeholder=Br}),ea(["drop","take"],function(pe,Me){vo.prototype[pe]=function(st){st=st===r?1:Os(Yo(st),0);var Vt=this.__filtered__&&!Me?new vo(this):this.clone();return Vt.__filtered__?Vt.__takeCount__=Ds(st,Vt.__takeCount__):Vt.__views__.push({size:Ds(st,O),type:pe+(Vt.__dir__<0?"Right":"")}),Vt},vo.prototype[pe+"Right"]=function(st){return this.reverse()[pe](st).reverse()}}),ea(["filter","map","takeWhile"],function(pe,Me){var st=Me+1,Vt=st==I||st==M;vo.prototype[pe]=function(pr){var jr=this.clone();return jr.__iteratees__.push({iteratee:se(pr,3),type:st}),jr.__filtered__=jr.__filtered__||Vt,jr}}),ea(["head","last"],function(pe,Me){var st="take"+(Me?"Right":"");vo.prototype[pe]=function(){return this[st](1).value()[0]}}),ea(["initial","tail"],function(pe,Me){var st="drop"+(Me?"":"Right");vo.prototype[pe]=function(){return this.__filtered__?new vo(this):this[st](1)}}),vo.prototype.compact=function(){return this.filter(lu)},vo.prototype.find=function(pe){return this.filter(pe).head()},vo.prototype.findLast=function(pe){return this.reverse().find(pe)},vo.prototype.invokeMap=Qn(function(pe,Me){return typeof pe=="function"?new vo(this):this.map(function(st){return oa(st,pe,Me)})}),vo.prototype.reject=function(pe){return this.filter(gv(se(pe)))},vo.prototype.slice=function(pe,Me){pe=Yo(pe);var st=this;return st.__filtered__&&(pe>0||Me<0)?new vo(st):(pe<0?st=st.takeRight(-pe):pe&&(st=st.drop(pe)),Me!==r&&(Me=Yo(Me),st=Me<0?st.dropRight(-Me):st.take(Me-pe)),st)},vo.prototype.takeRightWhile=function(pe){return this.reverse().takeWhile(pe).reverse()},vo.prototype.toArray=function(){return this.take(O)},kt(vo.prototype,function(pe,Me){var st=/^(?:filter|find|map|reject)|While$/.test(Me),Vt=/^(?:head|last)$/.test(Me),pr=Br[Vt?"take"+(Me=="last"?"Right":""):Me],jr=Vt||/^find/.test(Me);pr&&(Br.prototype[Me]=function(){var Sn=this.__wrapped__,Dn=Vt?[1]:arguments,Jn=Sn instanceof vo,za=Dn[0],Pa=Jn||Bo(Sn),Xa=function(ds){var ys=pr.apply(Br,Uo([ds],Dn));return Vt&&Li?ys[0]:ys};Pa&&st&&typeof za=="function"&&za.length!=1&&(Jn=Pa=!1);var Li=this.__chain__,Ai=!!this.__actions__.length,oo=jr&&!Li,Ui=Jn&&!Ai;if(!jr&&Pa){Sn=Ui?Sn:new vo(this);var so=pe.apply(Sn,Dn);return so.__actions__.push({func:x4,args:[Xa],thisArg:r}),new al(so,Li)}return oo&&Ui?pe.apply(this,Dn):(so=this.thru(Xa),oo?Vt?so.value()[0]:so.value():so)})}),ea(["pop","push","shift","sort","splice","unshift"],function(pe){var Me=$d[pe],st=/^(?:push|sort|unshift)$/.test(pe)?"tap":"thru",Vt=/^(?:pop|shift)$/.test(pe);Br.prototype[pe]=function(){var pr=arguments;if(Vt&&!this.__chain__){var jr=this.value();return Me.apply(Bo(jr)?jr:[],pr)}return this[st](function(Sn){return Me.apply(Bo(Sn)?Sn:[],pr)})}}),kt(vo.prototype,function(pe,Me){var st=Br[Me];if(st){var Vt=st.name+"";cs.call(Js,Vt)||(Js[Vt]=[]),Js[Vt].push({name:Me,func:st})}}),Js[Rf(r,s).name]=[{name:"wrapper",func:r}],vo.prototype.clone=up,vo.prototype.reverse=l1,vo.prototype.value=lh,Br.prototype.at=Gm,Br.prototype.chain=b4,Br.prototype.commit=MEe,Br.prototype.next=REe,Br.prototype.plant=IEe,Br.prototype.reverse=LEe,Br.prototype.toJSON=Br.prototype.valueOf=Br.prototype.value=OEe,Br.prototype.first=Br.prototype.head,ts&&(Br.prototype[ts]=NEe),Br},ep=Ud();zr?((zr.exports=ep)._=ep,tn._=ep):Dr._=ep}).call(Ns)}(gI,gI.exports);var hu=gI.exports;let yI;const but=new Uint8Array(16);function Eut(){if(!yI&&(yI=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!yI))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return yI(but)}const Ad=[];for(let e=0;e<256;++e)Ad.push((e+256).toString(16).slice(1));function Sut(e,t=0){return(Ad[e[t+0]]+Ad[e[t+1]]+Ad[e[t+2]]+Ad[e[t+3]]+"-"+Ad[e[t+4]]+Ad[e[t+5]]+"-"+Ad[e[t+6]]+Ad[e[t+7]]+"-"+Ad[e[t+8]]+Ad[e[t+9]]+"-"+Ad[e[t+10]]+Ad[e[t+11]]+Ad[e[t+12]]+Ad[e[t+13]]+Ad[e[t+14]]+Ad[e[t+15]]).toLowerCase()}const OAe={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function kde(e,t,r){if(OAe.randomUUID&&!t&&!e)return OAe.randomUUID();e=e||{};const n=e.random||(e.rng||Eut)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,Sut(n)}var DAe={exports:{}},PAe={};/**
* @license React
* use-sync-external-store-shim.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 bw=Ue;function wut(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Tut=typeof Object.is=="function"?Object.is:wut,Aut=bw.useState,Cut=bw.useEffect,kut=bw.useLayoutEffect,Mut=bw.useDebugValue;function Rut(e,t){var r=t(),n=Aut({inst:{value:r,getSnapshot:t}}),o=n[0].inst,m=n[1];return kut(function(){o.value=r,o.getSnapshot=t,Mde(o)&&m({inst:o})},[e,r,t]),Cut(function(){return Mde(o)&&m({inst:o}),e(function(){Mde(o)&&m({inst:o})})},[e]),Mut(r),r}function Mde(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Tut(e,r)}catch{return!0}}function Nut(e,t){return t()}var Iut=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Nut:Rut;PAe.useSyncExternalStore=bw.useSyncExternalStore!==void 0?bw.useSyncExternalStore:Iut,DAe.exports=PAe;var Lut=DAe.exports;const Py=()=>{},Uf=Py(),_I=Object,Ys=e=>e===Uf,kv=e=>typeof e=="function",ag=(e,t)=>({...e,...t}),Out=e=>kv(e.then),xI=new WeakMap;let Dut=0;const BA=e=>{const t=typeof e,r=e&&e.constructor,n=r==Date;let o,m;if(_I(e)===e&&!n&&r!=RegExp){if(o=xI.get(e),o)return o;if(o=++Dut+"~",xI.set(e,o),r==Array){for(o="@",m=0;m<e.length;m++)o+=BA(e[m])+",";xI.set(e,o)}if(r==_I){o="#";const u=_I.keys(e).sort();for(;!Ys(m=u.pop());)Ys(e[m])||(o+=m+":"+BA(e[m])+",");xI.set(e,o)}}else o=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return o},ig=new WeakMap,Rde={},bI={},Nde="undefined",EI=typeof window!=Nde,Ide=typeof document!=Nde,Put=()=>EI&&typeof window.requestAnimationFrame!=Nde,FAe=(e,t)=>{const r=ig.get(e);return[()=>!Ys(t)&&e.get(t)||Rde,n=>{if(!Ys(t)){const o=e.get(t);t in bI||(bI[t]=o),r[5](t,ag(o,n),o||Rde)}},r[6],()=>!Ys(t)&&t in bI?bI[t]:!Ys(t)&&e.get(t)||Rde]};let Lde=!0;const Fut=()=>Lde,[Ode,Dde]=EI&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Py,Py],But=()=>{const e=Ide&&document.visibilityState;return Ys(e)||e!=="hidden"},zut=e=>(Ide&&document.addEventListener("visibilitychange",e),Ode("focus",e),()=>{Ide&&document.removeEventListener("visibilitychange",e),Dde("focus",e)}),Uut=e=>{const t=()=>{Lde=!0,e()},r=()=>{Lde=!1};return Ode("online",t),Ode("offline",r),()=>{Dde("online",t),Dde("offline",r)}},$ut={isOnline:Fut,isVisible:But},Hut={initFocus:zut,initReconnect:Uut},BAe=!wn.useId,zA=!EI||"Deno"in window,Vut=e=>Put()?window.requestAnimationFrame(e):setTimeout(e,1),SI=zA?Ue.useEffect:Ue.useLayoutEffect,Pde=typeof navigator<"u"&&navigator.connection,zAe=!zA&&Pde&&(["slow-2g","2g"].includes(Pde.effectiveType)||Pde.saveData),Fde=e=>{if(kv(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?BA(e):"",[e,t]};let Gut=0;const Bde=()=>++Gut,UAe=0,$Ae=1,HAe=2;var UA={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:UAe,MUTATE_EVENT:HAe,RECONNECT_EVENT:$Ae};async function VAe(...e){const[t,r,n,o]=e,m=ag({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let u=m.populateCache;const h=m.rollbackOnError;let a=m.optimisticData;const l=m.revalidate!==!1,v=g=>typeof h=="function"?h(g):h!==!1,i=m.throwOnError;if(kv(r)){const g=r,p=[],_=t.keys();for(const c of _)!/^\$(inf|sub)\$/.test(c)&&g(t.get(c)._k)&&p.push(c);return Promise.all(p.map(S))}return S(r);async function S(g){const[p]=Fde(g);if(!p)return;const[_,c]=FAe(t,p),[s,d,f,b]=ig.get(t),x=()=>{const I=s[p];return l&&(delete f[p],delete b[p],I&&I[0])?I[0](HAe).then(()=>_().data):_().data};if(e.length<3)return x();let y=n,C;const w=Bde();d[p]=[w,0];const R=!Ys(a),A=_(),E=A.data,k=A._c,L=Ys(k)?E:k;if(R&&(a=kv(a)?a(L,E):a,c({data:a,_c:L})),kv(y))try{y=y(L)}catch(I){C=I}if(y&&Out(y))if(y=await y.catch(I=>{C=I}),w!==d[p][0]){if(C)throw C;return y}else C&&R&&v(C)&&(u=!0,c({data:L,_c:Uf}));if(u&&!C)if(kv(u)){const I=u(y,L);c({data:I,error:Uf,_c:Uf})}else c({data:y,error:Uf,_c:Uf});if(d[p][1]=Bde(),Promise.resolve(x()).then(()=>{c({_c:Uf})}),C){if(i)throw C;return}return y}}const GAe=(e,t)=>{for(const r in e)e[r][0]&&e[r][0](t)},jAe=(e,t)=>{if(!ig.has(e)){const r=ag(Hut,t),n={},o=VAe.bind(Uf,e);let m=Py;const u={},h=(v,i)=>{const S=u[v]||[];return u[v]=S,S.push(i),()=>S.splice(S.indexOf(i),1)},a=(v,i,S)=>{e.set(v,i);const g=u[v];if(g)for(const p of g)p(i,S)},l=()=>{if(!ig.has(e)&&(ig.set(e,[n,{},{},{},o,a,h]),!zA)){const v=r.initFocus(setTimeout.bind(Uf,GAe.bind(Uf,n,UAe))),i=r.initReconnect(setTimeout.bind(Uf,GAe.bind(Uf,n,$Ae)));m=()=>{v&&v(),i&&i(),ig.delete(e)}}};return l(),[e,o,l,m]}return[e,ig.get(e)[4]]},jut=(e,t,r,n,o)=>{const m=r.errorRetryCount,u=o.retryCount,h=~~((Math.random()+.5)*(1<<(u<8?u:8)))*r.errorRetryInterval;!Ys(m)&&u>m||setTimeout(n,h,o)},Yut=(e,t)=>BA(e)==BA(t),[zde,Wut]=jAe(new Map),YAe=ag({onLoadingSlow:Py,onSuccess:Py,onError:Py,onErrorRetry:jut,onDiscarded:Py,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:zAe?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:zAe?5e3:3e3,compare:Yut,isPaused:()=>!1,cache:zde,mutate:Wut,fallback:{}},$ut),WAe=(e,t)=>{const r=ag(e,t);if(t){const{use:n,fallback:o}=e,{use:m,fallback:u}=t;n&&m&&(r.use=n.concat(m)),o&&u&&(r.fallback=ag(o,u))}return r},Ude=Ue.createContext({}),Kut=e=>{const{value:t}=e,r=Ue.useContext(Ude),n=kv(t),o=Ue.useMemo(()=>n?t(r):t,[n,r,t]),m=Ue.useMemo(()=>n?o:WAe(r,o),[n,r,o]),u=o&&o.provider,h=Ue.useRef(Uf);u&&!h.current&&(h.current=jAe(u(m.cache||zde),o));const a=h.current;return a&&(m.cache=a[0],m.mutate=a[1]),SI(()=>{if(a)return a[2]&&a[2](),a[3]},[]),Ue.createElement(Ude.Provider,ag(e,{value:m}))},Xut="$inf$",KAe=EI&&window.__SWR_DEVTOOLS_USE__,qut=KAe?window.__SWR_DEVTOOLS_USE__:[],Zut=()=>{KAe&&(window.__SWR_DEVTOOLS_REACT__=wn)},Qut=e=>kv(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],Jut=()=>ag(YAe,Ue.useContext(Ude)),edt=e=>(t,r,n)=>e(t,r&&((...m)=>{const[u]=Fde(t),[,,,h]=ig.get(zde);if(u.startsWith(Xut))return r(...m);const a=h[u];return Ys(a)?r(...m):(delete h[u],a)}),n),tdt=qut.concat(edt),rdt=e=>function(...r){const n=Jut(),[o,m,u]=Qut(r),h=WAe(n,u);let a=e;const{use:l}=h,v=(l||[]).concat(tdt);for(let i=v.length;i--;)a=v[i](a);return a(o,m||h.fetcher||null,h)},ndt=(e,t,r)=>{const n=t[e]||(t[e]=[]);return n.push(r),()=>{const o=n.indexOf(r);o>=0&&(n[o]=n[n.length-1],n.pop())}};Zut();const XAe=wn.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),$de={dedupe:!0},adt=(e,t,r)=>{const{cache:n,compare:o,suspense:m,fallbackData:u,revalidateOnMount:h,revalidateIfStale:a,refreshInterval:l,refreshWhenHidden:v,refreshWhenOffline:i,keepPreviousData:S}=r,[g,p,_,c]=ig.get(n),[s,d]=Fde(e),f=Ue.useRef(!1),b=Ue.useRef(!1),x=Ue.useRef(s),y=Ue.useRef(t),C=Ue.useRef(r),w=()=>C.current,R=()=>w().isVisible()&&w().isOnline(),[A,E,k,L]=FAe(n,s),I=Ue.useRef({}).current,P=Ys(u)?r.fallback[s]:u,M=(ae,ie)=>{for(const he in I){const J=he;if(J==="data"){if(!o(ae[J],ie[J])&&(!Ys(ae[J])||!o(z,ie[J])))return!1}else if(ie[J]!==ae[J])return!1}return!0},F=Ue.useMemo(()=>{const ae=!s||!t?!1:Ys(h)?w().isPaused()||m?!1:Ys(a)?!0:a:h,ie=te=>{const ce=ag(te);return delete ce._k,ae?{isValidating:!0,isLoading:!0,...ce}:ce},he=A(),J=L(),Z=ie(he),le=he===J?Z:ie(J);let K=Z;return[()=>{const te=ie(A());return M(te,K)?(K.data=te.data,K.isLoading=te.isLoading,K.isValidating=te.isValidating,K.error=te.error,K):(K=te,te)},()=>le]},[n,s]),N=Lut.useSyncExternalStore(Ue.useCallback(ae=>k(s,(ie,he)=>{M(he,ie)||ae()}),[n,s]),F[0],F[1]),T=!f.current,D=g[s]&&g[s].length>0,O=N.data,U=Ys(O)?P:O,B=N.error,Y=Ue.useRef(U),z=S?Ys(O)?Y.current:O:U,V=D&&!Ys(B)?!1:T&&!Ys(h)?h:w().isPaused()?!1:m?Ys(U)?!1:a:Ys(U)||a,j=!!(s&&t&&T&&V),G=Ys(N.isValidating)?j:N.isValidating,W=Ys(N.isLoading)?j:N.isLoading,X=Ue.useCallback(async ae=>{const ie=y.current;if(!s||!ie||b.current||w().isPaused())return!1;let he,J,Z=!0;const le=ae||{},K=!_[s]||!le.dedupe,te=()=>BAe?!b.current&&s===x.current&&f.current:s===x.current,ce={isValidating:!1,isLoading:!1},re=()=>{E(ce)},ee=()=>{const oe=_[s];oe&&oe[1]===J&&delete _[s]},de={isValidating:!0};Ys(A().data)&&(de.isLoading=!0);try{if(K&&(E(de),r.loadingTimeout&&Ys(A().data)&&setTimeout(()=>{Z&&te()&&w().onLoadingSlow(s,r)},r.loadingTimeout),_[s]=[ie(d),Bde()]),[he,J]=_[s],he=await he,K&&setTimeout(ee,r.dedupingInterval),!_[s]||_[s][1]!==J)return K&&te()&&w().onDiscarded(s),!1;ce.error=Uf;const oe=p[s];if(!Ys(oe)&&(J<=oe[0]||J<=oe[1]||oe[1]===0))return re(),K&&te()&&w().onDiscarded(s),!1;const fe=A().data;ce.data=o(fe,he)?fe:he,K&&te()&&w().onSuccess(he,s,r)}catch(oe){ee();const fe=w(),{shouldRetryOnError:me}=fe;fe.isPaused()||(ce.error=oe,K&&te()&&(fe.onError(oe,s,fe),(me===!0||kv(me)&&me(oe))&&R()&&fe.onErrorRetry(oe,s,fe,Te=>{const we=g[s];we&&we[0]&&we[0](UA.ERROR_REVALIDATE_EVENT,Te)},{retryCount:(le.retryCount||0)+1,dedupe:!0})))}return Z=!1,re(),!0},[s,n]),Q=Ue.useCallback((...ae)=>VAe(n,x.current,...ae),[]);if(SI(()=>{y.current=t,C.current=r,Ys(O)||(Y.current=O)}),SI(()=>{if(!s)return;const ae=X.bind(Uf,$de);let ie=0;const J=ndt(s,g,(Z,le={})=>{if(Z==UA.FOCUS_EVENT){const K=Date.now();w().revalidateOnFocus&&K>ie&&R()&&(ie=K+w().focusThrottleInterval,ae())}else if(Z==UA.RECONNECT_EVENT)w().revalidateOnReconnect&&R()&&ae();else{if(Z==UA.MUTATE_EVENT)return X();if(Z==UA.ERROR_REVALIDATE_EVENT)return X(le)}});return b.current=!1,x.current=s,f.current=!0,E({_k:d}),V&&(Ys(U)||zA?ae():Vut(ae)),()=>{b.current=!0,J()}},[s]),SI(()=>{let ae;function ie(){const J=kv(l)?l(A().data):l;J&&ae!==-1&&(ae=setTimeout(he,J))}function he(){!A().error&&(v||w().isVisible())&&(i||w().isOnline())?X($de).then(ie):ie()}return ie(),()=>{ae&&(clearTimeout(ae),ae=-1)}},[l,v,i,s]),Ue.useDebugValue(z),m&&Ys(U)&&s){if(!BAe&&zA)throw new Error("Fallback data is required when using suspense in SSR.");y.current=t,C.current=r,b.current=!1;const ae=c[s];if(!Ys(ae)){const ie=Q(ae);XAe(ie)}if(Ys(B)){const ie=X($de);Ys(z)||(ie.status="fulfilled",ie.value=!0),XAe(ie)}else throw B}return{mutate:Q,get data(){return I.data=!0,z},get error(){return I.error=!0,B},get isValidating(){return I.isValidating=!0,G},get isLoading(){return I.isLoading=!0,W}}},idt=_I.defineProperty(Kut,"defaultValue",{value:YAe}),odt=rdt(adt),Mv=Object.create(null);Mv.open="0",Mv.close="1",Mv.ping="2",Mv.pong="3",Mv.message="4",Mv.upgrade="5",Mv.noop="6";const wI=Object.create(null);Object.keys(Mv).forEach(e=>{wI[Mv[e]]=e});const Hde={type:"error",data:"parser error"},qAe=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",ZAe=typeof ArrayBuffer=="function",QAe=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,Vde=({type:e,data:t},r,n)=>qAe&&t instanceof Blob?r?n(t):JAe(t,n):ZAe&&(t instanceof ArrayBuffer||QAe(t))?r?n(t):JAe(new Blob([t]),n):n(Mv[e]+(t||"")),JAe=(e,t)=>{const r=new FileReader;return r.onload=function(){const n=r.result.split(",")[1];t("b"+(n||""))},r.readAsDataURL(e)};function eCe(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let Gde;function sdt(e,t){if(qAe&&e.data instanceof Blob)return e.data.arrayBuffer().then(eCe).then(t);if(ZAe&&(e.data instanceof ArrayBuffer||QAe(e.data)))return t(eCe(e.data));Vde(e,!1,r=>{Gde||(Gde=new TextEncoder),t(Gde.encode(r))})}const tCe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$A=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<tCe.length;e++)$A[tCe.charCodeAt(e)]=e;const ldt=e=>{let t=e.length*.75,r=e.length,n,o=0,m,u,h,a;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const l=new ArrayBuffer(t),v=new Uint8Array(l);for(n=0;n<r;n+=4)m=$A[e.charCodeAt(n)],u=$A[e.charCodeAt(n+1)],h=$A[e.charCodeAt(n+2)],a=$A[e.charCodeAt(n+3)],v[o++]=m<<2|u>>4,v[o++]=(u&15)<<4|h>>2,v[o++]=(h&3)<<6|a&63;return l},cdt=typeof ArrayBuffer=="function",jde=(e,t)=>{if(typeof e!="string")return{type:"message",data:rCe(e,t)};const r=e.charAt(0);return r==="b"?{type:"message",data:udt(e.substring(1),t)}:wI[r]?e.length>1?{type:wI[r],data:e.substring(1)}:{type:wI[r]}:Hde},udt=(e,t)=>{if(cdt){const r=ldt(e);return rCe(r,t)}else return{base64:!0,data:e}},rCe=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},nCe="",ddt=(e,t)=>{const r=e.length,n=new Array(r);let o=0;e.forEach((m,u)=>{Vde(m,!1,h=>{n[u]=h,++o===r&&t(n.join(nCe))})})},fdt=(e,t)=>{const r=e.split(nCe),n=[];for(let o=0;o<r.length;o++){const m=jde(r[o],t);if(n.push(m),m.type==="error")break}return n};function hdt(){return new TransformStream({transform(e,t){sdt(e,r=>{const n=r.length;let o;if(n<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,n);else if(n<65536){o=new Uint8Array(3);const m=new DataView(o.buffer);m.setUint8(0,126),m.setUint16(1,n)}else{o=new Uint8Array(9);const m=new DataView(o.buffer);m.setUint8(0,127),m.setBigUint64(1,BigInt(n))}e.data&&typeof e.data!="string"&&(o[0]|=128),t.enqueue(o),t.enqueue(r)})}})}let Yde;function TI(e){return e.reduce((t,r)=>t+r.length,0)}function AI(e,t){if(e[0].length===t)return e.shift();const r=new Uint8Array(t);let n=0;for(let o=0;o<t;o++)r[o]=e[0][n++],n===e[0].length&&(e.shift(),n=0);return e.length&&n<e[0].length&&(e[0]=e[0].slice(n)),r}function pdt(e,t){Yde||(Yde=new TextDecoder);const r=[];let n=0,o=-1,m=!1;return new TransformStream({transform(u,h){for(r.push(u);;){if(n===0){if(TI(r)<1)break;const a=AI(r,1);m=(a[0]&128)===128,o=a[0]&127,o<126?n=3:o===126?n=1:n=2}else if(n===1){if(TI(r)<2)break;const a=AI(r,2);o=new DataView(a.buffer,a.byteOffset,a.length).getUint16(0),n=3}else if(n===2){if(TI(r)<8)break;const a=AI(r,8),l=new DataView(a.buffer,a.byteOffset,a.length),v=l.getUint32(0);if(v>Math.pow(2,21)-1){h.enqueue(Hde);break}o=v*Math.pow(2,32)+l.getUint32(4),n=3}else{if(TI(r)<o)break;const a=AI(r,o);h.enqueue(jde(m?a:Yde.decode(a),t)),n=0}if(o===0||o>e){h.enqueue(Hde);break}}}})}const aCe=4;function pu(e){if(e)return vdt(e)}function vdt(e){for(var t in pu.prototype)e[t]=pu.prototype[t];return e}pu.prototype.on=pu.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},pu.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this},pu.prototype.off=pu.prototype.removeListener=pu.prototype.removeAllListeners=pu.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var r=this._callbacks["$"+e];if(!r)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var n,o=0;o<r.length;o++)if(n=r[o],n===t||n.fn===t){r.splice(o,1);break}return r.length===0&&delete this._callbacks["$"+e],this},pu.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(r){r=r.slice(0);for(var n=0,o=r.length;n<o;++n)r[n].apply(this,t)}return this},pu.prototype.emitReserved=pu.prototype.emit,pu.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},pu.prototype.hasListeners=function(e){return!!this.listeners(e).length};const N0=typeof self<"u"?self:typeof window<"u"?window:Function("return this")();function iCe(e,...t){return t.reduce((r,n)=>(e.hasOwnProperty(n)&&(r[n]=e[n]),r),{})}const mdt=N0.setTimeout,gdt=N0.clearTimeout;function CI(e,t){t.useNativeTimers?(e.setTimeoutFn=mdt.bind(N0),e.clearTimeoutFn=gdt.bind(N0)):(e.setTimeoutFn=N0.setTimeout.bind(N0),e.clearTimeoutFn=N0.clearTimeout.bind(N0))}const ydt=1.33;function _dt(e){return typeof e=="string"?xdt(e):Math.ceil((e.byteLength||e.size)*ydt)}function xdt(e){let t=0,r=0;for(let n=0,o=e.length;n<o;n++)t=e.charCodeAt(n),t<128?r+=1:t<2048?r+=2:t<55296||t>=57344?r+=3:(n++,r+=4);return r}function bdt(e){let t="";for(let r in e)e.hasOwnProperty(r)&&(t.length&&(t+="&"),t+=encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t}function Edt(e){let t={},r=e.split("&");for(let n=0,o=r.length;n<o;n++){let m=r[n].split("=");t[decodeURIComponent(m[0])]=decodeURIComponent(m[1])}return t}class Sdt extends Error{constructor(t,r,n){super(t),this.description=r,this.context=n,this.type="TransportError"}}class Wde extends pu{constructor(t){super(),this.writable=!1,CI(this,t),this.opts=t,this.query=t.query,this.socket=t.socket}onError(t,r,n){return super.emitReserved("error",new Sdt(t,r,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const r=jde(t,this.socket.binaryType);this.onPacket(r)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,r={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(r)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const r=bdt(t);return r.length?"?"+r:""}}const oCe="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Kde=64,wdt={};let sCe=0,kI=0,lCe;function cCe(e){let t="";do t=oCe[e%Kde]+t,e=Math.floor(e/Kde);while(e>0);return t}function uCe(){const e=cCe(+new Date);return e!==lCe?(sCe=0,lCe=e):e+"."+cCe(sCe++)}for(;kI<Kde;kI++)wdt[oCe[kI]]=kI;let dCe=!1;try{dCe=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const Tdt=dCe;function fCe(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||Tdt))return new XMLHttpRequest}catch{}if(!t)try{return new N0[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function aor(){}function Adt(){}const Cdt=function(){return new fCe({xdomain:!1}).responseType!=null}();class kdt extends Wde{constructor(t){if(super(t),this.polling=!1,typeof location<"u"){const n=location.protocol==="https:";let o=location.port;o||(o=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||o!==t.port}const r=t&&t.forceBase64;this.supportsBinary=Cdt&&!r,this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(t){this.readyState="pausing";const r=()=>{this.readyState="paused",t()};if(this.polling||!this.writable){let n=0;this.polling&&(n++,this.once("pollComplete",function(){--n||r()})),this.writable||(n++,this.once("drain",function(){--n||r()}))}else r()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const r=n=>{if(this.readyState==="opening"&&n.type==="open"&&this.onOpen(),n.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(n)};fdt(t,this.socket.binaryType).forEach(r),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,ddt(t,r=>{this.doWrite(r,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",r=this.query||{};return this.opts.timestampRequests!==!1&&(r[this.opts.timestampParam]=uCe()),!this.supportsBinary&&!r.sid&&(r.b64=1),this.createUri(t,r)}request(t={}){return Object.assign(t,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new Rv(this.uri(),t)}doWrite(t,r){const n=this.request({method:"POST",data:t});n.on("success",r),n.on("error",(o,m)=>{this.onError("xhr post error",o,m)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(r,n)=>{this.onError("xhr poll error",r,n)}),this.pollXhr=t}}class Rv extends pu{constructor(t,r){super(),CI(this,r),this.opts=r,this.method=r.method||"GET",this.uri=t,this.data=r.data!==void 0?r.data:null,this.create()}create(){var t;const r=iCe(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");r.xdomain=!!this.opts.xd;const n=this.xhr=new fCe(r);try{n.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let o in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(o)&&n.setRequestHeader(o,this.opts.extraHeaders[o])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}(t=this.opts.cookieJar)===null||t===void 0||t.addCookies(n),"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{var o;n.readyState===3&&((o=this.opts.cookieJar)===null||o===void 0||o.parseCookies(n)),n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(o){this.setTimeoutFn(()=>{this.onError(o)},0);return}typeof document<"u"&&(this.index=Rv.requestsCount++,Rv.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=Adt,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Rv.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(Rv.requestsCount=0,Rv.requests={},typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",hCe);else if(typeof addEventListener=="function"){const e="onpagehide"in N0?"pagehide":"unload";addEventListener(e,hCe,!1)}}function hCe(){for(let e in Rv.requests)Rv.requests.hasOwnProperty(e)&&Rv.requests[e].abort()}const Xde=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,r)=>r(t,0),MI=N0.WebSocket||N0.MozWebSocket,pCe=!0,Mdt="arraybuffer",vCe=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Rdt extends Wde{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),r=this.opts.protocols,n=vCe?{}:iCe(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=pCe&&!vCe?r?new MI(t,r):new MI(t):new MI(t,r,n)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let r=0;r<t.length;r++){const n=t[r],o=r===t.length-1;Vde(n,this.supportsBinary,m=>{const u={};try{pCe&&this.ws.send(m)}catch{}o&&Xde(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",r=this.query||{};return this.opts.timestampRequests&&(r[this.opts.timestampParam]=uCe()),this.supportsBinary||(r.b64=1),this.createUri(t,r)}check(){return!!MI}}class Ndt extends Wde{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(t=>{const r=pdt(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=t.readable.pipeThrough(r).getReader(),o=hdt();o.readable.pipeTo(t.writable),this.writer=o.writable.getWriter();const m=()=>{n.read().then(({done:h,value:a})=>{h||(this.onPacket(a),m())}).catch(h=>{})};m();const u={type:"open"};this.query.sid&&(u.data=`{"sid":"${this.query.sid}"}`),this.writer.write(u).then(()=>this.onOpen())})}))}write(t){this.writable=!1;for(let r=0;r<t.length;r++){const n=t[r],o=r===t.length-1;this.writer.write(n).then(()=>{o&&Xde(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this.transport)===null||t===void 0||t.close()}}const Idt={websocket:Rdt,webtransport:Ndt,polling:kdt},Ldt=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Odt=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function qde(e){if(e.length>2e3)throw"URI too long";const t=e,r=e.indexOf("["),n=e.indexOf("]");r!=-1&&n!=-1&&(e=e.substring(0,r)+e.substring(r,n).replace(/:/g,";")+e.substring(n,e.length));let o=Ldt.exec(e||""),m={},u=14;for(;u--;)m[Odt[u]]=o[u]||"";return r!=-1&&n!=-1&&(m.source=t,m.host=m.host.substring(1,m.host.length-1).replace(/;/g,":"),m.authority=m.authority.replace("[","").replace("]","").replace(/;/g,":"),m.ipv6uri=!0),m.pathNames=Ddt(m,m.path),m.queryKey=Pdt(m,m.query),m}function Ddt(e,t){const r=/\/{2,9}/g,n=t.replace(r,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&n.splice(0,1),t.slice(-1)=="/"&&n.splice(n.length-1,1),n}function Pdt(e,t){const r={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(n,o,m){o&&(r[o]=m)}),r}let mCe=class N6 extends pu{constructor(t,r={}){super(),this.binaryType=Mdt,this.writeBuffer=[],t&&typeof t=="object"&&(r=t,t=null),t?(t=qde(t),r.hostname=t.host,r.secure=t.protocol==="https"||t.protocol==="wss",r.port=t.port,t.query&&(r.query=t.query)):r.host&&(r.hostname=qde(r.host).host),CI(this,r),this.secure=r.secure!=null?r.secure:typeof location<"u"&&location.protocol==="https:",r.hostname&&!r.port&&(r.port=this.secure?"443":"80"),this.hostname=r.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=r.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=r.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},r),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Edt(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const r=Object.assign({},this.opts.query);r.EIO=aCe,r.transport=t,this.id&&(r.sid=this.id);const n=Object.assign({},this.opts,{query:r,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new Idt[t](n)}open(){let t;if(this.opts.rememberUpgrade&&N6.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",r=>this.onClose("transport close",r))}probe(t){let r=this.createTransport(t),n=!1;N6.priorWebsocketSuccess=!1;const o=()=>{n||(r.send([{type:"ping",data:"probe"}]),r.once("packet",i=>{if(!n)if(i.type==="pong"&&i.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",r),!r)return;N6.priorWebsocketSuccess=r.name==="websocket",this.transport.pause(()=>{n||this.readyState!=="closed"&&(v(),this.setTransport(r),r.send([{type:"upgrade"}]),this.emitReserved("upgrade",r),r=null,this.upgrading=!1,this.flush())})}else{const S=new Error("probe error");S.transport=r.name,this.emitReserved("upgradeError",S)}}))};function m(){n||(n=!0,v(),r.close(),r=null)}const u=i=>{const S=new Error("probe error: "+i);S.transport=r.name,m(),this.emitReserved("upgradeError",S)};function h(){u("transport closed")}function a(){u("socket closed")}function l(i){r&&i.name!==r.name&&m()}const v=()=>{r.removeListener("open",o),r.removeListener("error",u),r.removeListener("close",h),this.off("close",a),this.off("upgrading",l)};r.once("open",o),r.once("error",u),r.once("close",h),this.once("close",a),this.once("upgrading",l),this.upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{n||r.open()},200):r.open()}onOpen(){if(this.readyState="open",N6.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let t=0;const r=this.upgrades.length;for(;t<r;t++)this.probe(this.upgrades[t])}}onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),this.resetPingTimeout(),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const r=new Error("server error");r.code=t.data,this.onError(r);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let r=1;for(let n=0;n<this.writeBuffer.length;n++){const o=this.writeBuffer[n].data;if(o&&(r+=_dt(o)),n>0&&r>this.maxPayload)return this.writeBuffer.slice(0,n);r+=2}return this.writeBuffer}write(t,r,n){return this.sendPacket("message",t,r,n),this}send(t,r,n){return this.sendPacket("message",t,r,n),this}sendPacket(t,r,n,o){if(typeof r=="function"&&(o=r,r=void 0),typeof n=="function"&&(o=n,n=null),this.readyState==="closing"||this.readyState==="closed")return;n=n||{},n.compress=n.compress!==!1;const m={type:t,data:r,options:n};this.emitReserved("packetCreate",m),this.writeBuffer.push(m),o&&this.once("flush",o),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},r=()=>{this.off("upgrade",r),this.off("upgradeError",r),t()},n=()=>{this.once("upgrade",r),this.once("upgradeError",r)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():t()}):this.upgrading?n():t()),this}onError(t){N6.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,r){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,r),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const r=[];let n=0;const o=t.length;for(;n<o;n++)~this.transports.indexOf(t[n])&&r.push(t[n]);return r}};mCe.protocol=aCe;function Fdt(e,t="",r){let n=e;r=r||typeof location<"u"&&location,e==null&&(e=r.protocol+"//"+r.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=r.protocol+e:e=r.host+e),/^(https?|wss?):\/\//.test(e)||(typeof r<"u"?e=r.protocol+"//"+e:e="https://"+e),n=qde(e)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";const m=n.host.indexOf(":")!==-1?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+m+":"+n.port+t,n.href=n.protocol+"://"+m+(r&&r.port===n.port?"":":"+n.port),n}const Bdt=typeof ArrayBuffer=="function",zdt=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,gCe=Object.prototype.toString,Udt=typeof Blob=="function"||typeof Blob<"u"&&gCe.call(Blob)==="[object BlobConstructor]",$dt=typeof File=="function"||typeof File<"u"&&gCe.call(File)==="[object FileConstructor]";function Zde(e){return Bdt&&(e instanceof ArrayBuffer||zdt(e))||Udt&&e instanceof Blob||$dt&&e instanceof File}function RI(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let r=0,n=e.length;r<n;r++)if(RI(e[r]))return!0;return!1}if(Zde(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return RI(e.toJSON(),!0);for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&RI(e[r]))return!0;return!1}function Hdt(e){const t=[],r=e.data,n=e;return n.data=Qde(r,t),n.attachments=t.length,{packet:n,buffers:t}}function Qde(e,t){if(!e)return e;if(Zde(e)){const r={_placeholder:!0,num:t.length};return t.push(e),r}else if(Array.isArray(e)){const r=new Array(e.length);for(let n=0;n<e.length;n++)r[n]=Qde(e[n],t);return r}else if(typeof e=="object"&&!(e instanceof Date)){const r={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=Qde(e[n],t));return r}return e}function Vdt(e,t){return e.data=Jde(e.data,t),delete e.attachments,e}function Jde(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let r=0;r<e.length;r++)e[r]=Jde(e[r],t);else if(typeof e=="object")for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=Jde(e[r],t));return e}const Gdt=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],jdt=5;var Cs;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(Cs||(Cs={}));class Ydt{constructor(t){this.replacer=t}encode(t){return(t.type===Cs.EVENT||t.type===Cs.ACK)&&RI(t)?this.encodeAsBinary({type:t.type===Cs.EVENT?Cs.BINARY_EVENT:Cs.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let r=""+t.type;return(t.type===Cs.BINARY_EVENT||t.type===Cs.BINARY_ACK)&&(r+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(r+=t.nsp+","),t.id!=null&&(r+=t.id),t.data!=null&&(r+=JSON.stringify(t.data,this.replacer)),r}encodeAsBinary(t){const r=Hdt(t),n=this.encodeAsString(r.packet),o=r.buffers;return o.unshift(n),o}}function yCe(e){return Object.prototype.toString.call(e)==="[object Object]"}class efe extends pu{constructor(t){super(),this.reviver=t}add(t){let r;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");r=this.decodeString(t);const n=r.type===Cs.BINARY_EVENT;n||r.type===Cs.BINARY_ACK?(r.type=n?Cs.EVENT:Cs.ACK,this.reconstructor=new Wdt(r),r.attachments===0&&super.emitReserved("decoded",r)):super.emitReserved("decoded",r)}else if(Zde(t)||t.base64)if(this.reconstructor)r=this.reconstructor.takeBinaryData(t),r&&(this.reconstructor=null,super.emitReserved("decoded",r));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let r=0;const n={type:Number(t.charAt(0))};if(Cs[n.type]===void 0)throw new Error("unknown packet type "+n.type);if(n.type===Cs.BINARY_EVENT||n.type===Cs.BINARY_ACK){const m=r+1;for(;t.charAt(++r)!=="-"&&r!=t.length;);const u=t.substring(m,r);if(u!=Number(u)||t.charAt(r)!=="-")throw new Error("Illegal attachments");n.attachments=Number(u)}if(t.charAt(r+1)==="/"){const m=r+1;for(;++r&&!(t.charAt(r)===","||r===t.length););n.nsp=t.substring(m,r)}else n.nsp="/";const o=t.charAt(r+1);if(o!==""&&Number(o)==o){const m=r+1;for(;++r;){const u=t.charAt(r);if(u==null||Number(u)!=u){--r;break}if(r===t.length)break}n.id=Number(t.substring(m,r+1))}if(t.charAt(++r)){const m=this.tryParse(t.substr(r));if(efe.isPayloadValid(n.type,m))n.data=m;else throw new Error("invalid payload")}return n}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,r){switch(t){case Cs.CONNECT:return yCe(r);case Cs.DISCONNECT:return r===void 0;case Cs.CONNECT_ERROR:return typeof r=="string"||yCe(r);case Cs.EVENT:case Cs.BINARY_EVENT:return Array.isArray(r)&&(typeof r[0]=="number"||typeof r[0]=="string"&&Gdt.indexOf(r[0])===-1);case Cs.ACK:case Cs.BINARY_ACK:return Array.isArray(r)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Wdt{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const r=Vdt(this.reconPack,this.buffers);return this.finishedReconstruction(),r}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Kdt=Object.freeze(Object.defineProperty({__proto__:null,Decoder:efe,Encoder:Ydt,get PacketType(){return Cs},protocol:jdt},Symbol.toStringTag,{value:"Module"}));function k1(e,t,r){return e.on(t,r),function(){e.off(t,r)}}const Xdt=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class tfe extends pu{constructor(t,r,n){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=r,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[k1(t,"open",this.onopen.bind(this)),k1(t,"packet",this.onpacket.bind(this)),k1(t,"error",this.onerror.bind(this)),k1(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...r){if(Xdt.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(r.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(r),this;const n={type:Cs.EVENT,data:r};if(n.options={},n.options.compress=this.flags.compress!==!1,typeof r[r.length-1]=="function"){const u=this.ids++,h=r.pop();this._registerAckCallback(u,h),n.id=u}const o=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!o||!this.connected)||(this.connected?(this.notifyOutgoingListeners(n),this.packet(n)):this.sendBuffer.push(n)),this.flags={},this}_registerAckCallback(t,r){var n;const o=(n=this.flags.timeout)!==null&&n!==void 0?n:this._opts.ackTimeout;if(o===void 0){this.acks[t]=r;return}const m=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let u=0;u<this.sendBuffer.length;u++)this.sendBuffer[u].id===t&&this.sendBuffer.splice(u,1);r.call(this,new Error("operation has timed out"))},o);this.acks[t]=(...u)=>{this.io.clearTimeoutFn(m),r.apply(this,[null,...u])}}emitWithAck(t,...r){const n=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((o,m)=>{r.push((u,h)=>n?u?m(u):o(h):o(u)),this.emit(t,...r)})}_addToQueue(t){let r;typeof t[t.length-1]=="function"&&(r=t.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((o,...m)=>n!==this._queue[0]?void 0:(o!==null?n.tryCount>this._opts.retries&&(this._queue.shift(),r&&r(o)):(this._queue.shift(),r&&r(null,...m)),n.pending=!1,this._drainQueue())),this._queue.push(n),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const r=this._queue[0];r.pending&&!t||(r.pending=!0,r.tryCount++,this.flags=r.flags,this.emit.apply(this,r.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:Cs.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,r){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,r)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case Cs.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Cs.EVENT:case Cs.BINARY_EVENT:this.onevent(t);break;case Cs.ACK:case Cs.BINARY_ACK:this.onack(t);break;case Cs.DISCONNECT:this.ondisconnect();break;case Cs.CONNECT_ERROR:this.destroy();const n=new Error(t.data.message);n.data=t.data.data,this.emitReserved("connect_error",n);break}}onevent(t){const r=t.data||[];t.id!=null&&r.push(this.ack(t.id)),this.connected?this.emitEvent(r):this.receiveBuffer.push(Object.freeze(r))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const r=this._anyListeners.slice();for(const n of r)n.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const r=this;let n=!1;return function(...o){n||(n=!0,r.packet({type:Cs.ACK,id:t,data:o}))}}onack(t){const r=this.acks[t.id];typeof r=="function"&&(r.apply(this,t.data),delete this.acks[t.id])}onconnect(t,r){this.id=t,this.recovered=r&&this._pid===r,this._pid=r,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Cs.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const r=this._anyListeners;for(let n=0;n<r.length;n++)if(t===r[n])return r.splice(n,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const r=this._anyOutgoingListeners;for(let n=0;n<r.length;n++)if(t===r[n])return r.splice(n,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const r=this._anyOutgoingListeners.slice();for(const n of r)n.apply(this,t.data)}}}function Ew(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Ew.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+r:e-r}return Math.min(e,this.max)|0},Ew.prototype.reset=function(){this.attempts=0},Ew.prototype.setMin=function(e){this.ms=e},Ew.prototype.setMax=function(e){this.max=e},Ew.prototype.setJitter=function(e){this.jitter=e};class rfe extends pu{constructor(t,r){var n;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(r=t,t=void 0),r=r||{},r.path=r.path||"/socket.io",this.opts=r,CI(this,r),this.reconnection(r.reconnection!==!1),this.reconnectionAttempts(r.reconnectionAttempts||1/0),this.reconnectionDelay(r.reconnectionDelay||1e3),this.reconnectionDelayMax(r.reconnectionDelayMax||5e3),this.randomizationFactor((n=r.randomizationFactor)!==null&&n!==void 0?n:.5),this.backoff=new Ew({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(r.timeout==null?2e4:r.timeout),this._readyState="closed",this.uri=t;const o=r.parser||Kdt;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=r.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var r;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(r=this.backoff)===null||r===void 0||r.setMin(t),this)}randomizationFactor(t){var r;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(r=this.backoff)===null||r===void 0||r.setJitter(t),this)}reconnectionDelayMax(t){var r;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(r=this.backoff)===null||r===void 0||r.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new mCe(this.uri,this.opts);const r=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const o=k1(r,"open",function(){n.onopen(),t&&t()}),m=h=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",h),t?t(h):this.maybeReconnectOnOpen()},u=k1(r,"error",m);if(this._timeout!==!1){const h=this._timeout,a=this.setTimeoutFn(()=>{o(),m(new Error("timeout")),r.close()},h);this.opts.autoUnref&&a.unref(),this.subs.push(()=>{this.clearTimeoutFn(a)})}return this.subs.push(o),this.subs.push(u),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(k1(t,"ping",this.onping.bind(this)),k1(t,"data",this.ondata.bind(this)),k1(t,"error",this.onerror.bind(this)),k1(t,"close",this.onclose.bind(this)),k1(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(r){this.onclose("parse error",r)}}ondecoded(t){Xde(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,r){let n=this.nsps[t];return n?this._autoConnect&&!n.active&&n.connect():(n=new tfe(this,t,r),this.nsps[t]=n),n}_destroy(t){const r=Object.keys(this.nsps);for(const n of r)if(this.nsps[n].active)return;this._close()}_packet(t){const r=this.encoder.encode(t);for(let n=0;n<r.length;n++)this.engine.write(r[n],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,r){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,r),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const r=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(o=>{o?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",o)):t.onreconnect()}))},r);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const HA={};function NI(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const r=Fdt(e,t.path||"/socket.io"),n=r.source,o=r.id,m=r.path,u=HA[o]&&m in HA[o].nsps,h=t.forceNew||t["force new connection"]||t.multiplex===!1||u;let a;return h?a=new rfe(n,t):(HA[o]||(HA[o]=new rfe(n,t)),a=HA[o]),r.query&&!t.query&&(t.query=r.queryKey),a.socket(r.path,t)}Object.assign(NI,{Manager:rfe,Socket:tfe,io:NI,connect:NI});var qdt=e=>{let t={},r=new Date;return r.setHours(0,0,0,0),[...e].sort((n,o)=>new Date(o.createdAt).getTime()-new Date(n.createdAt).getTime()).forEach(n=>{let o=new Date(n.createdAt);o.setHours(0,0,0,0);let m=Math.floor((r.getTime()-o.getTime())/864e5),u;m===0?u="Today":m===1?u="Yesterday":m<=7?u="Previous 7 days":m<=30?u="Previous 30 days":u=o.toLocaleString("default",{month:"long",year:"numeric"}),t[u]??(t[u]=[]),t[u].push(n)}),t},_Ce=[4186.01,4434.92,4698.63,4978.03,5274.04,5587.65,5919.91,6271.93,6644.88,7040,7458.62,7902.13],Zdt=["C","C#","D","D#","E","F","F#","G","G#","A","A#","B"],Fy=[],nfe=[];for(let e=1;e<=8;e++)for(let t=0;t<_Ce.length;t++){let r=_Ce[t];Fy.push(r/Math.pow(2,8-e)),nfe.push(Zdt[t]+e)}var II=[32,2e3],xCe=Fy.filter((e,t)=>Fy[t]>II[0]&&Fy[t]<II[1]),Qdt=nfe.filter((e,t)=>Fy[t]>II[0]&&Fy[t]<II[1]),afe=class eet{static getFrequencies(t,r,n,o="frequency",m=-100,u=-30){n||(n=new Float32Array(t.frequencyBinCount),t.getFloatFrequencyData(n));let h=r/2,a=1/n.length*h,l,v,i;if(o==="music"||o==="voice"){let g=o==="voice"?xCe:Fy,p=Array(g.length).fill(m);for(let _=0;_<n.length;_++){let c=_*a,s=n[_];for(let d=g.length-1;d>=0;d--)if(c>g[d]){p[d]=Math.max(p[d],s);break}}l=p,v=o==="voice"?xCe:Fy,i=o==="voice"?Qdt:nfe}else l=Array.from(n),v=l.map((g,p)=>a*p),i=v.map(g=>`${g.toFixed(2)} Hz`);let S=l.map(g=>Math.max(0,Math.min((g-m)/(u-m),1)));return{values:new Float32Array(S),frequencies:v,labels:i}}constructor(t,r=null){if(this.fftResults=[],r){let{length:n,sampleRate:o}=r,m=new OfflineAudioContext({length:n,sampleRate:o}),u=m.createBufferSource();u.buffer=r;let h=m.createAnalyser();h.fftSize=8192,h.smoothingTimeConstant=.1,u.connect(h);let a=1/60,l=n/o,v=i=>{let S=a*i;S<l&&m.suspend(S).then(()=>{let g=new Float32Array(h.frequencyBinCount);h.getFloatFrequencyData(g),this.fftResults.push(g),v(i+1)}),i===1?m.startRendering():m.resume()};u.start(0),v(1),this.audio=t,this.context=m,this.analyser=h,this.sampleRate=o,this.audioBuffer=r}else{let n=new AudioContext,o=n.createMediaElementSource(t),m=n.createAnalyser();m.fftSize=8192,m.smoothingTimeConstant=.1,o.connect(m),m.connect(n.destination),this.audio=t,this.context=n,this.analyser=m,this.sampleRate=this.context.sampleRate,this.audioBuffer=null}}getFrequencies(t="frequency",r=-100,n=-30){let o=null;if(this.audioBuffer&&this.fftResults.length){let m=this.audio.currentTime/this.audio.duration,u=Math.min(m*this.fftResults.length|0,this.fftResults.length-1);o=this.fftResults[u]}return eet.getFrequencies(this.analyser,this.sampleRate,o,t,r,n)}async resumeIfSuspended(){return this.context.state==="suspended"&&await this.context.resume(),!0}};globalThis.AudioAnalysis=afe;var Q_=class{static floatTo16BitPCM(t){let r=new ArrayBuffer(t.length*2),n=new DataView(r),o=0;for(let m=0;m<t.length;m++,o+=2){let u=Math.max(-1,Math.min(1,t[m]));n.setInt16(o,u<0?u*32768:u*32767,!0)}return r}static mergeBuffers(t,r){let n=new Uint8Array(t.byteLength+r.byteLength);return n.set(new Uint8Array(t),0),n.set(new Uint8Array(r),t.byteLength),n.buffer}_packData(t,r){return[new Uint8Array([r,r>>8]),new Uint8Array([r,r>>8,r>>16,r>>24])][t]}pack(t,r){if(r!=null&&r.bitsPerSample)if(r!=null&&r.channels){if(!(r!=null&&r.data))throw new Error('Missing "data"')}else throw new Error('Missing "channels"');else throw new Error('Missing "bitsPerSample"');let{bitsPerSample:n,channels:o,data:m}=r,u=["RIFF",this._packData(1,52),"WAVE","fmt ",this._packData(1,16),this._packData(0,1),this._packData(0,o.length),this._packData(1,t),this._packData(1,t*o.length*n/8),this._packData(0,o.length*n/8),this._packData(0,n),"data",this._packData(1,o[0].length*o.length*n/8),m],h=new Blob(u,{type:"audio/mpeg"}),a=URL.createObjectURL(h);return{blob:h,url:a,channelCount:o.length,sampleRate:t,duration:m.byteLength/(o.length*t*2)}}};globalThis.WavPacker=Q_;var Jdt=`
class AudioProcessor extends AudioWorkletProcessor {
constructor() {
super();
this.port.onmessage = this.receive.bind(this);
this.initialize();
}
initialize() {
this.foundAudio = false;
this.recording = false;
this.chunks = [];
}
/**
* Concatenates sampled chunks into channels
* Format is chunk[Left[], Right[]]
*/
readChannelData(chunks, channel = -1, maxChannels = 9) {
let channelLimit;
if (channel !== -1) {
if (chunks[0] && chunks[0].length - 1 < channel) {
throw new Error(
\`Channel \${channel} out of range: max \${chunks[0].length}\`
);
}
channelLimit = channel + 1;
} else {
channel = 0;
channelLimit = Math.min(chunks[0] ? chunks[0].length : 1, maxChannels);
}
const channels = [];
for (let n = channel; n < channelLimit; n++) {
const length = chunks.reduce((sum, chunk) => {
return sum + chunk[n].length;
}, 0);
const buffers = chunks.map((chunk) => chunk[n]);
const result = new Float32Array(length);
let offset = 0;
for (let i = 0; i < buffers.length; i++) {
result.set(buffers[i], offset);
offset += buffers[i].length;
}
channels[n] = result;
}
return channels;
}
/**
* Combines parallel audio data into correct format,
* channels[Left[], Right[]] to float32Array[LRLRLRLR...]
*/
formatAudioData(channels) {
if (channels.length === 1) {
// Simple case is only one channel
const float32Array = channels[0].slice();
const meanValues = channels[0].slice();
return { float32Array, meanValues };
} else {
const float32Array = new Float32Array(
channels[0].length * channels.length
);
const meanValues = new Float32Array(channels[0].length);
for (let i = 0; i < channels[0].length; i++) {
const offset = i * channels.length;
let meanValue = 0;
for (let n = 0; n < channels.length; n++) {
float32Array[offset + n] = channels[n][i];
meanValue += channels[n][i];
}
meanValues[i] = meanValue / channels.length;
}
return { float32Array, meanValues };
}
}
/**
* Converts 32-bit float data to 16-bit integers
*/
floatTo16BitPCM(float32Array) {
const buffer = new ArrayBuffer(float32Array.length * 2);
const view = new DataView(buffer);
let offset = 0;
for (let i = 0; i < float32Array.length; i++, offset += 2) {
let s = Math.max(-1, Math.min(1, float32Array[i]));
view.setInt16(offset, s < 0 ? s * 0x8000 : s * 0x7fff, true);
}
return buffer;
}
/**
* Retrieves the most recent amplitude values from the audio stream
* @param {number} channel
*/
getValues(channel = -1) {
const channels = this.readChannelData(this.chunks, channel);
const { meanValues } = this.formatAudioData(channels);
return { meanValues, channels };
}
/**
* Exports chunks as an audio/wav file
*/
export() {
const channels = this.readChannelData(this.chunks);
const { float32Array, meanValues } = this.formatAudioData(channels);
const audioData = this.floatTo16BitPCM(float32Array);
return {
meanValues: meanValues,
audio: {
bitsPerSample: 16,
channels: channels,
data: audioData,
},
};
}
receive(e) {
const { event, id } = e.data;
let receiptData = {};
switch (event) {
case 'start':
this.recording = true;
break;
case 'stop':
this.recording = false;
break;
case 'clear':
this.initialize();
break;
case 'export':
receiptData = this.export();
break;
case 'read':
receiptData = this.getValues();
break;
default:
break;
}
// Always send back receipt
this.port.postMessage({ event: 'receipt', id, data: receiptData });
}
sendChunk(chunk) {
const channels = this.readChannelData([chunk]);
const { float32Array, meanValues } = this.formatAudioData(channels);
const rawAudioData = this.floatTo16BitPCM(float32Array);
const monoAudioData = this.floatTo16BitPCM(meanValues);
this.port.postMessage({
event: 'chunk',
data: {
mono: monoAudioData,
raw: rawAudioData,
},
});
}
process(inputList, outputList, parameters) {
// Copy input to output (e.g. speakers)
// Note that this creates choppy sounds with Mac products
const sourceLimit = Math.min(inputList.length, outputList.length);
for (let inputNum = 0; inputNum < sourceLimit; inputNum++) {
const input = inputList[inputNum];
const output = outputList[inputNum];
const channelCount = Math.min(input.length, output.length);
for (let channelNum = 0; channelNum < channelCount; channelNum++) {
input[channelNum].forEach((sample, i) => {
output[channelNum][i] = sample;
});
}
}
const inputs = inputList[0];
// There's latency at the beginning of a stream before recording starts
// Make sure we actually receive audio data before we start storing chunks
let sliceIndex = 0;
if (!this.foundAudio) {
for (const channel of inputs) {
sliceIndex = 0; // reset for each channel
if (this.foundAudio) {
break;
}
if (channel) {
for (const value of channel) {
if (value !== 0) {
// find only one non-zero entry in any channel
this.foundAudio = true;
break;
} else {
sliceIndex++;
}
}
}
}
}
if (inputs && inputs[0] && this.foundAudio && this.recording) {
// We need to copy the TypedArray, because the \`process\`
// internals will reuse the same buffer to hold each input
const chunk = inputs.map((input) => input.slice(sliceIndex));
this.chunks.push(chunk);
this.sendChunk(chunk);
}
return true;
}
}
registerProcessor('audio_processor', AudioProcessor);
`,eft=new Blob([Jdt],{type:"application/javascript"}),tft=URL.createObjectURL(eft),rft=tft,bCe=class{constructor({sampleRate:t=24e3,outputToSpeakers:r=!1,debug:n=!1}={}){this.scriptSrc=rft,this.sampleRate=t,this.outputToSpeakers=r,this.debug=!!n,this._deviceChangeCallback=null,this._devices=[],this.stream=null,this.processor=null,this.source=null,this.node=null,this.recording=!1,this._lastEventId=0,this.eventReceipts={},this.eventTimeout=5e3,this._chunkProcessor=()=>{},this._chunkProcessorSize=void 0,this._chunkProcessorBuffer={raw:new ArrayBuffer(0),mono:new ArrayBuffer(0)}}static async decode(t,r=24e3,n=-1){let o=new AudioContext({sampleRate:r}),m,u;if(t instanceof Blob){if(n!==-1)throw new Error('Can not specify "fromSampleRate" when reading from Blob');u=t,m=await u.arrayBuffer()}else if(t instanceof ArrayBuffer){if(n!==-1)throw new Error('Can not specify "fromSampleRate" when reading from ArrayBuffer');m=t,u=new Blob([m],{type:"audio/wav"})}else{let v,i;if(t instanceof Int16Array){i=t,v=new Float32Array(t.length);for(let g=0;g<t.length;g++)v[g]=t[g]/32768}else if(t instanceof Float32Array)v=t;else if(t instanceof Array)v=new Float32Array(t);else throw new Error('"audioData" must be one of: Blob, Float32Arrray, Int16Array, ArrayBuffer, Array<number>');if(n===-1)throw new Error('Must specify "fromSampleRate" when reading from Float32Array, In16Array or Array');if(n<3e3)throw new Error('Minimum "fromSampleRate" is 3000 (3kHz)');i||(i=Q_.floatTo16BitPCM(v));let S={bitsPerSample:16,channels:[v],data:i};u=new Q_().pack(n,S).blob,m=await u.arrayBuffer()}let h=await o.decodeAudioData(m),a=h.getChannelData(0),l=URL.createObjectURL(u);return{blob:u,url:l,values:a,audioBuffer:h}}log(){return this.debug&&this.log(...arguments),!0}getSampleRate(){return this.sampleRate}getStatus(){return this.processor?this.recording?"recording":"paused":"ended"}async _event(t,r={},n=null){if(n=n||this.processor,!n)throw new Error("Can not send events without recording first");let o={event:t,id:this._lastEventId++,data:r};n.port.postMessage(o);let m=new Date().valueOf();for(;!this.eventReceipts[o.id];){if(new Date().valueOf()-m>this.eventTimeout)throw new Error(`Timeout waiting for "${t}" event`);await new Promise(h=>setTimeout(()=>h(!0),1))}let u=this.eventReceipts[o.id];return delete this.eventReceipts[o.id],u}listenForDeviceChange(t){if(t===null&&this._deviceChangeCallback)navigator.mediaDevices.removeEventListener("devicechange",this._deviceChangeCallback),this._deviceChangeCallback=null;else if(t!==null){let r=0,n=[],o=u=>u.map(h=>h.deviceId).sort().join(","),m=async()=>{let u=++r,h=await this.listDevices();u===r&&o(n)!==o(h)&&(n=h,t(h.slice()))};navigator.mediaDevices.addEventListener("devicechange",m),m(),this._deviceChangeCallback=m}return!0}async requestPermission(){let t=await navigator.permissions.query({name:"microphone"});if(t.state==="denied")window.alert("You must grant microphone access to use this feature.");else if(t.state==="prompt")try{(await navigator.mediaDevices.getUserMedia({audio:!0})).getTracks().forEach(r=>r.stop())}catch{window.alert("You must grant microphone access to use this feature.")}return!0}async listDevices(){if(!navigator.mediaDevices||!("enumerateDevices"in navigator.mediaDevices))throw new Error("Could not request user devices");await this.requestPermission();let t=(await navigator.mediaDevices.enumerateDevices()).filter(o=>o.kind==="audioinput"),r=t.findIndex(o=>o.deviceId==="default"),n=[];if(r!==-1){let o=t.splice(r,1)[0],m=t.findIndex(u=>u.groupId===o.groupId);m!==-1&&(o=t.splice(m,1)[0]),o.default=!0,n.push(o)}return n.concat(t)}async begin(t){if(this.processor)throw new Error("Already connected: please call .end() to start a new session");if(!navigator.mediaDevices||!("getUserMedia"in navigator.mediaDevices))throw new Error("Could not request user media");try{let h={audio:!0};t&&(h.audio={deviceId:{exact:t}}),this.stream=await navigator.mediaDevices.getUserMedia(h)}catch{throw new Error("Could not start media stream")}let r=new AudioContext({sampleRate:this.sampleRate}),n=r.createMediaStreamSource(this.stream);try{await r.audioWorklet.addModule(this.scriptSrc)}catch(h){throw console.error(h),new Error(`Could not add audioWorklet module: ${this.scriptSrc}`)}let o=new AudioWorkletNode(r,"audio_processor");o.port.onmessage=h=>{let{event:a,id:l,data:v}=h.data;if(a==="receipt")this.eventReceipts[l]=v;else if(a==="chunk")if(this._chunkProcessorSize){let i=this._chunkProcessorBuffer;this._chunkProcessorBuffer={raw:Q_.mergeBuffers(i.raw,v.raw),mono:Q_.mergeBuffers(i.mono,v.mono)},this._chunkProcessorBuffer.mono.byteLength>=this._chunkProcessorSize&&(this._chunkProcessor(this._chunkProcessorBuffer),this._chunkProcessorBuffer={raw:new ArrayBuffer(0),mono:new ArrayBuffer(0)})}else this._chunkProcessor(v)};let m=n.connect(o),u=r.createAnalyser();return u.fftSize=8192,u.smoothingTimeConstant=.1,m.connect(u),this.outputToSpeakers&&(console.warn(`Warning: Output to speakers may affect sound quality,
especially due to system audio feedback preventative measures.
use only for debugging`),u.connect(r.destination)),this.source=n,this.node=m,this.analyser=u,this.processor=o,!0}getFrequencies(t="frequency",r=-100,n=-30){if(!this.processor)throw new Error("Session ended: please call .begin() first");return afe.getFrequencies(this.analyser,this.sampleRate,null,t,r,n)}async pause(){if(this.processor){if(!this.recording)throw new Error("Already paused: please call .record() first")}else throw new Error("Session ended: please call .begin() first");return this._chunkProcessorBuffer.raw.byteLength&&this._chunkProcessor(this._chunkProcessorBuffer),this.log("Pausing ..."),await this._event("stop"),this.recording=!1,!0}async record(t=()=>{},r=8192){if(this.processor){if(this.recording)throw new Error("Already recording: please call .pause() first");if(typeof t!="function")throw new Error("chunkProcessor must be a function")}else throw new Error("Session ended: please call .begin() first");return this._chunkProcessor=t,this._chunkProcessorSize=r,this._chunkProcessorBuffer={raw:new ArrayBuffer(0),mono:new ArrayBuffer(0)},this.log("Recording ..."),await this._event("start"),this.recording=!0,!0}async clear(){if(!this.processor)throw new Error("Session ended: please call .begin() first");return await this._event("clear"),!0}async read(){if(!this.processor)throw new Error("Session ended: please call .begin() first");return this.log("Reading ..."),await this._event("read")}async save(t=!1){if(!this.processor)throw new Error("Session ended: please call .begin() first");if(!t&&this.recording)throw new Error("Currently recording: please call .pause() first, or call .save(true) to force");this.log("Exporting ...");let r=await this._event("export");return new Q_().pack(this.sampleRate,r.audio)}async end(){if(!this.processor)throw new Error("Session ended: please call .begin() first");let t=this.processor;this.log("Stopping ..."),await this._event("stop"),this.recording=!1,this.stream.getTracks().forEach(n=>n.stop()),this.log("Exporting ...");let r=await this._event("export",{},t);return this.processor.disconnect(),this.source.disconnect(),this.node.disconnect(),this.analyser.disconnect(),this.stream=null,this.processor=null,this.source=null,this.node=null,new Q_().pack(this.sampleRate,r.audio)}async quit(){return this.listenForDeviceChange(null),this.processor&&await this.end(),!0}};globalThis.WavRecorder=bCe;var nft=`
class StreamProcessor extends AudioWorkletProcessor {
constructor() {
super();
this.hasStarted = false;
this.hasInterrupted = false;
this.outputBuffers = [];
this.bufferLength = 128;
this.write = { buffer: new Float32Array(this.bufferLength), trackId: null };
this.writeOffset = 0;
this.trackSampleOffsets = {};
this.port.onmessage = (event) => {
if (event.data) {
const payload = event.data;
if (payload.event === 'write') {
const int16Array = payload.buffer;
const float32Array = new Float32Array(int16Array.length);
for (let i = 0; i < int16Array.length; i++) {
float32Array[i] = int16Array[i] / 0x8000; // Convert Int16 to Float32
}
this.writeData(float32Array, payload.trackId);
} else if (
payload.event === 'offset' ||
payload.event === 'interrupt'
) {
const requestId = payload.requestId;
const trackId = this.write.trackId;
const offset = this.trackSampleOffsets[trackId] || 0;
this.port.postMessage({
event: 'offset',
requestId,
trackId,
offset,
});
if (payload.event === 'interrupt') {
this.hasInterrupted = true;
}
} else {
throw new Error(\`Unhandled event "\${payload.event}"\`);
}
}
};
}
writeData(float32Array, trackId = null) {
let { buffer } = this.write;
let offset = this.writeOffset;
for (let i = 0; i < float32Array.length; i++) {
buffer[offset++] = float32Array[i];
if (offset >= buffer.length) {
this.outputBuffers.push(this.write);
this.write = { buffer: new Float32Array(this.bufferLength), trackId };
buffer = this.write.buffer;
offset = 0;
}
}
this.writeOffset = offset;
return true;
}
process(inputs, outputs, parameters) {
const output = outputs[0];
const outputChannelData = output[0];
const outputBuffers = this.outputBuffers;
if (this.hasInterrupted) {
this.port.postMessage({ event: 'stop' });
return false;
} else if (outputBuffers.length) {
this.hasStarted = true;
const { buffer, trackId } = outputBuffers.shift();
for (let i = 0; i < outputChannelData.length; i++) {
outputChannelData[i] = buffer[i] || 0;
}
if (trackId) {
this.trackSampleOffsets[trackId] =
this.trackSampleOffsets[trackId] || 0;
this.trackSampleOffsets[trackId] += buffer.length;
}
return true;
} else if (this.hasStarted) {
this.port.postMessage({ event: 'stop' });
return false;
} else {
return true;
}
}
}
registerProcessor('stream_processor', StreamProcessor);
`,aft=new Blob([nft],{type:"application/javascript"}),ift=URL.createObjectURL(aft),oft=ift,ECe=class{constructor({sampleRate:t=24e3,onStop:r}={}){this.scriptSrc=oft,this.onStop=r,this.sampleRate=t,this.context=null,this.stream=null,this.analyser=null,this.trackSampleOffsets={},this.interruptedTrackIds={}}async connect(){this.context=new AudioContext({sampleRate:this.sampleRate}),this.context.state==="suspended"&&await this.context.resume();try{await this.context.audioWorklet.addModule(this.scriptSrc)}catch(r){throw console.error(r),new Error(`Could not add audioWorklet module: ${this.scriptSrc}`)}let t=this.context.createAnalyser();return t.fftSize=8192,t.smoothingTimeConstant=.1,this.analyser=t,!0}getFrequencies(t="frequency",r=-100,n=-30){if(!this.analyser)throw new Error("Not connected, please call .connect() first");return afe.getFrequencies(this.analyser,this.sampleRate,null,t,r,n)}_start(){let t=new AudioWorkletNode(this.context,"stream_processor");return t.connect(this.context.destination),t.port.onmessage=r=>{var o;let{event:n}=r.data;if(n==="stop")(o=this.onStop)==null||o.call(this),t.disconnect(),this.stream=null;else if(n==="offset"){let{requestId:m,trackId:u,offset:h}=r.data,a=h/this.sampleRate;this.trackSampleOffsets[m]={trackId:u,offset:h,currentTime:a}}},this.analyser.disconnect(),t.connect(this.analyser),this.stream=t,!0}add16BitPCM(t,r="default"){if(typeof r!="string")throw new Error("trackId must be a string");if(this.interruptedTrackIds[r])return;this.stream||this._start();let n;if(t instanceof Int16Array)n=t;else if(t instanceof ArrayBuffer)n=new Int16Array(t);else throw new Error("argument must be Int16Array or ArrayBuffer");return this.stream.port.postMessage({event:"write",buffer:n,trackId:r}),n}async getTrackSampleOffset(t=!1){if(!this.stream)return null;let r=crypto.randomUUID();this.stream.port.postMessage({event:t?"interrupt":"offset",requestId:r});let n;for(;!n;)n=this.trackSampleOffsets[r],await new Promise(m=>setTimeout(()=>m(),1));let{trackId:o}=n;return t&&o&&(this.interruptedTrackIds[o]=!0),n}async interrupt(){return this.getTrackSampleOffset(!0)}};globalThis.WavStreamPlayer=ECe;var LI=Is({key:"ThreadIdToResume",default:void 0}),SCe=Is({key:"ResumeThreadErrorState",default:void 0}),ife=Is({key:"ChatProfile",default:void 0}),wCe=Is({key:"SessionId",default:kde()}),Nv=Cde({key:"SessionIdSelector",get:({get:e})=>e(wCe),set:({set:e},t)=>e(wCe,t instanceof IAe?kde():t)}),OI=Is({key:"Session",dangerouslyAllowMutability:!0,default:void 0}),DI=Is({key:"Actions",default:[]}),Sw=Is({key:"Messages",dangerouslyAllowMutability:!0,default:[]}),VA=Is({key:"Commands",default:[]}),ofe=Is({key:"Modes",default:[]}),sfe=Is({key:"TokenCount",default:0}),PI=Is({key:"Loading",default:!1}),FI=Is({key:"AskUser",default:void 0}),lfe=Is({key:"WavRecorder",dangerouslyAllowMutability:!0,default:new bCe}),cfe=Is({key:"WavStreamPlayer",dangerouslyAllowMutability:!0,default:new ECe}),ufe=Is({key:"AudioConnection",default:"off"}),dfe=Is({key:"isAiSpeaking",default:!1}),ffe=Is({key:"CallFn",default:void 0}),GA=Is({key:"ChatSettings",default:[]}),hfe=Cde({key:"ChatSettingsValue/Default",get:({get:e})=>{let t=e(GA),r=(n,o)=>(Array.isArray(n)&&n.forEach(m=>{m&&(Array.isArray(m==null?void 0:m.inputs)&&m.inputs.length>0?r(m.inputs,o):(m==null?void 0:m.id)!==void 0&&(o[m.id]=m.initial))}),o);return r(t,{})}}),ww=Is({key:"ChatSettingsValue",default:hfe}),BI=Is({key:"DisplayElements",default:[]}),zI=Is({key:"TasklistElements",default:[]}),jA=Is({key:"FirstUserInteraction",default:void 0}),TCe=Is({key:"User",default:void 0}),ACe=Is({key:"ChainlitConfig",default:void 0}),CCe=Is({key:"AuthConfig",default:void 0}),kCe=Is({key:"ThreadHistory",default:{threads:void 0,currentThreadId:void 0,timeGroupedThreads:void 0,pageInfo:void 0},effects:[({setSelf:e,onSet:t})=>{t((r,n)=>{let o=r==null?void 0:r.timeGroupedThreads;r!=null&&r.threads&&!hu.isEqual(r.threads,n==null?void 0:n.timeGroupedThreads)&&(o=qdt(r.threads)),e({...r,timeGroupedThreads:o})})}]}),YA=Is({key:"SideView",default:void 0}),UI=Is({key:"CurrentThreadId",default:void 0}),sft=e=>({setSelf:t,onSet:r})=>{let n=localStorage.getItem(e);if(n!=null)try{t(JSON.parse(n))}catch(o){console.error(`Error parsing localStorage value for key "${e}":`,o)}r((o,m,u)=>{u?localStorage.removeItem(e):localStorage.setItem(e,JSON.stringify(o))})},Tw=Is({key:"Mcp",default:[],effects:[sft("mcp_storage_key")]}),By=()=>{let e=ms(PI),t=ms(BI),r=ms(zI),n=ms(DI),o=ms(OI),m=ms(FI),u=ms(ffe),h=ms(GA),a=ms(ww),l=ms(hfe),v=(o==null?void 0:o.socket.connected)&&!(o!=null&&o.error),i=!v||e||(m==null?void 0:m.spec.type)==="file"||(m==null?void 0:m.spec.type)==="action"||(m==null?void 0:m.spec.type)==="element";return{actions:n,askUser:m,callFn:u,chatSettingsDefaultValue:l,chatSettingsInputs:h,chatSettingsValue:a,connected:v,disabled:i,elements:t,error:o==null?void 0:o.error,loading:e,tasklists:r}},lft=e=>{let t=[];for(let r of e)t=zy(t,r);return t},cft=(e,t)=>{if(e.length-1===t)return!0;for(let r=t+1;r<e.length;r++)if(!e[r].streaming)return!1;return!0},zy=(e,t)=>vfe(e,t.id)?Aw(e,t.id,t):"parentId"in t&&t.parentId?pfe(e,t.parentId,t):"indent"in t&&t.indent&&t.indent>0?MCe(e,t.indent,t):[...e,t],MCe=(e,t,r,n=0)=>{if(e.length===0)return[r];let o=e.length-1,m=e[o],u=m.steps||[];if(n+1===t){let h={...m,steps:[...u,r]},a=[...e];return a[o]=h,a}else{let h=MCe(u,t,r,n+1);if(h===u)return e;let a=[...e];return a[o]={...m,steps:h},a}},pfe=(e,t,r)=>{let n=!1,o=e.map(m=>{if(hu.isEqual(m.id,t))return n=!0,{...m,steps:m.steps?[...m.steps,r]:[r]};if(vfe(e,t)&&m.steps){let u=pfe(m.steps,t,r);if(u!==m.steps)return n=!0,{...m,steps:u}}return m});return n?o:e},RCe=(e,t)=>{for(let r of e){if(hu.isEqual(r.id,t))return r;if(r.steps&&r.steps.length>0){let n=RCe(r.steps,t);if(n)return n}}},vfe=(e,t)=>RCe(e,t)!==void 0,Aw=(e,t,r)=>{let n=!1,o=e.map(m=>{if(hu.isEqual(m.id,t))return n=!0,{...m,...r};if(m.steps){let u=Aw(m.steps,t,r);if(u!==m.steps)return n=!0,{...m,steps:u}}return m});return n?o:e},mfe=(e,t)=>{let r=!1,n=e.reduce((o,m)=>{if(m.id===t)return r=!0,o;if(m.steps){let u=mfe(m.steps,t);if(u!==m.steps)return r=!0,o.push({...m,steps:u}),o}return o.push(m),o},[]);return r?n:e},gfe=(e,t,r,n,o)=>{let m=!1,u=e.map(h=>{if(hu.isEqual(h.id,t)){m=!0;let a={...h};return"content"in a&&a.content!==void 0?n?a.content=r:a.content+=r:o?"input"in a&&a.input!==void 0&&(n?a.input=r:a.input+=r):"output"in a&&a.output!==void 0&&(n?a.output=r:a.output+=r),a}else if(h.steps){let a=gfe(h.steps,t,r,n,o);if(a!==h.steps)return m=!0,{...h,steps:a}}return h});return m?u:e},$I=()=>{let[e,t]=zf(CCe),[r,n]=zf(TCe),o=ss(kCe);return{authConfig:e,setAuthConfig:t,user:r,setUser:n,setThreadHistory:o}},NCe=async(e,t)=>{var r;return(r=await e.get(t))==null?void 0:r.json()},uft=e=>{let t=new VI("","webapp");return Object.assign(t,e),t};function HI(e,{...t}={}){let r=Ue.useContext(vu),{setUser:n}=$I(),o=Ue.useMemo(()=>([u])=>{t.onErrorRetry||(t.onErrorRetry=(...a)=>{let[l]=a;if(l.status===401){n(null);return}return idt.defaultValue.onErrorRetry(...a)});let h=uft(r);return h.on401=h.onError=void 0,NCe(h,u)},[r]),m=Ue.useMemo(()=>e?[e]:null,[e]);return odt(m,o,t)}var dft=()=>{let{authConfig:e,setAuthConfig:t}=$I(),{data:r,isLoading:n}=HI(e?null:"/auth/config");return Ue.useEffect(()=>{r&&t(r)},[r,t]),{authConfig:e,isLoading:n}},fft=()=>{let e=Ue.useContext(vu),{setUser:t,setThreadHistory:r}=$I();return{logout:async(n=!1)=>{await e.logout(),t(void 0),r(void 0),n&&window.location.reload()}}},hft=()=>{let{user:e,setUser:t}=$I(),{data:r,error:n,mutate:o}=HI("/user");return Ue.useEffect(()=>{r&&t(r)},[r,t]),Ue.useEffect(()=>{n&&t(null)},[n]),{user:e,setUserFromAPI:o}},Cw=()=>{let{authConfig:e}=dft(),{logout:t}=fft(),{user:r,setUserFromAPI:n}=hft(),o=!!e&&(!e.requireLogin||r!==void 0);return e&&!e.requireLogin?{data:e,user:null,isReady:o,isAuthenticated:!0,logout:()=>Promise.resolve(),setUserFromAPI:()=>Promise.resolve()}:{data:e,user:r,isReady:o,isAuthenticated:!!r,logout:t,setUserFromAPI:n}},yfe=class extends Error{constructor(t,r,n){super(t),this.status=r,this.detail=n}toString(){return this.detail?`${this.message}: ${this.detail}`:this.message}},ICe=class{constructor(t,r,n,o,m){this.httpEndpoint=t,this.type=r,this.additionalQueryParams=n,this.on401=o,this.onError=m}buildEndpoint(t){let r=`${this.httpEndpoint}${t}`;this.httpEndpoint.endsWith("/")&&(r=`${this.httpEndpoint.slice(0,-1)}${t}`);let n=new URL(r);if(this.additionalQueryParams){let o=new URLSearchParams(this.additionalQueryParams),m=n.search?"&":"?";n.search=n.search+`${m}${o.toString()}`}return n.toString()}async getDetailFromErrorResponse(t){var r;try{return(r=await t.json())==null?void 0:r.detail}catch(n){console.error("Unable to parse error response",n)}}handleRequestError(t){t instanceof yfe&&(t.status===401&&this.on401&&this.on401(),this.onError&&this.onError(t)),console.error(t)}async fetch(t,r,n,o,m={}){try{let u;n instanceof FormData?u=n:(m["Content-Type"]="application/json",u=n?JSON.stringify(n):null);let h=await fetch(this.buildEndpoint(r),{method:t,credentials:"include",headers:m,signal:o,body:u});if(!h.ok){let a=await this.getDetailFromErrorResponse(h);throw new yfe(h.statusText,h.status,a)}return h}catch(u){throw this.handleRequestError(u),u}}async get(t){return await this.fetch("GET",t)}async post(t,r,n){return await this.fetch("POST",t,r,n)}async put(t,r){return await this.fetch("PUT",t,r)}async patch(t,r){return await this.fetch("PATCH",t,r)}async delete(t,r){return await this.fetch("DELETE",t,r)}},VI=class extends ICe{async headerAuth(){return(await this.post("/auth/header",{})).json()}async jwtAuth(t){return(await this.fetch("POST","/auth/jwt",void 0,void 0,{Authorization:`Bearer ${t}`})).json()}async stickyCookie(t){return(await this.fetch("POST","/set-session-cookie",{session_id:t})).json()}async passwordAuth(t){return(await this.post("/login",t)).json()}async getUser(){return(await this.get("/user")).json()}async logout(){return(await this.post("/logout",{})).json()}async setFeedback(t,r){return(await this.put("/feedback",{feedback:t,sessionId:r})).json()}async deleteFeedback(t){return(await this.delete("/feedback",{feedbackId:t})).json()}async listThreads(t,r){return(await this.post("/project/threads",{pagination:t,filter:r})).json()}async renameThread(t,r){return(await this.put("/project/thread",{threadId:t,name:r})).json()}async deleteThread(t){return(await this.delete("/project/thread",{threadId:t})).json()}uploadFile(t,r,n,o){let m=new XMLHttpRequest;m.withCredentials=!0;let u=new Promise((h,a)=>{let l=new FormData;l.append("file",t);let v=o?`&ask_parent_id=${o}`:"";m.open("POST",this.buildEndpoint(`/project/file?session_id=${n}${v}`),!0),m.upload.onprogress=function(i){if(i.lengthComputable){let S=i.loaded/i.total*100;r(S)}},m.onload=function(){if(m.status===200){let S=JSON.parse(m.responseText);h(S);return}let i=m.getResponseHeader("Content-Type");if(i&&i.includes("application/json")){let S=JSON.parse(m.responseText);a(S.detail)}else a("Upload failed")},m.onerror=function(){a("Upload error")},m.send(l)});return{xhr:m,promise:u}}async callAction(t,r){return(await this.post("/project/action",{sessionId:r,action:t})).json()}async updateElement(t,r){return(await this.put("/project/element",{sessionId:r,element:t})).json()}async deleteElement(t,r){return(await this.delete("/project/element",{sessionId:r,element:t})).json()}async connectStdioMCP(t,r,n){return(await this.post("/mcp",{sessionId:t,name:r,fullCommand:n,clientType:"stdio"})).json()}async connectSseMCP(t,r,n,o){return(await this.post("/mcp",{sessionId:t,name:r,url:n,...o?{headers:o}:{},clientType:"sse"})).json()}async connectStreamableHttpMCP(t,r,n,o){return(await this.post("/mcp",{sessionId:t,name:r,url:n,...o?{headers:o}:{},clientType:"streamable-http"})).json()}async disconnectMcp(t,r){return(await this.delete("/mcp",{sessionId:t,name:r})).json()}getElementUrl(t,r){let n=`?session_id=${r}`;return this.buildEndpoint(`/project/file/${t}${n}`)}getLogoEndpoint(t,r){return r||this.buildEndpoint(`/logo?theme=${t}`)}getOAuthEndpoint(t){return this.buildEndpoint(`/auth/oauth/${t}`)}async shareThread(t,r){return(await this.put("/project/thread/share",{threadId:t,isShared:r})).json()}},pft=void 0,vu=Ue.createContext(new VI("http://localhost:8000","webapp")),Rh=()=>{let e=Ue.useContext(vu),t=ms(OI),r=ms(FI),n=ms(Nv),o=FA(GA),m=FA(Nv),u=FA(ww),h=ss(jA),a=ss(PI),l=ss(Sw),v=ss(BI),i=ss(zI),S=ss(DI),g=ss(sfe),p=ss(LI),_=ss(YA),c=ss(UI),s=Ue.useCallback(()=>{t==null||t.socket.emit("clear_session"),t==null||t.socket.disconnect(),p(void 0),m(),h(void 0),l([]),v([]),i([]),S([]),g(0),o(),u(),_(void 0),c(void 0)},[t]),d=Ue.useCallback((E,k=[])=>{E.id||(E.id=kde()),E.createdAt||(E.createdAt=new Date().toISOString()),l(L=>zy(L,E)),t==null||t.socket.emit("client_message",{message:E,fileReferences:k})},[t==null?void 0:t.socket]),f=Ue.useCallback(E=>{t==null||t.socket.emit("edit_message",{message:E})},[t==null?void 0:t.socket]),b=Ue.useCallback(E=>{t==null||t.socket.emit("window_message",E)},[t==null?void 0:t.socket]),x=Ue.useCallback(()=>{t==null||t.socket.emit("audio_start")},[t==null?void 0:t.socket]),y=Ue.useCallback((E,k,L,I)=>{t==null||t.socket.emit("audio_chunk",{isStart:E,mimeType:k,elapsedTime:L,data:I})},[t==null?void 0:t.socket]),C=Ue.useCallback(()=>{t==null||t.socket.emit("audio_end")},[t==null?void 0:t.socket]),w=Ue.useCallback(E=>{r&&(r.parentId&&(E.parentId=r.parentId),l(k=>zy(k,E)),r.callback(E))},[r]),R=Ue.useCallback(E=>{t==null||t.socket.emit("chat_settings_change",E)},[t==null?void 0:t.socket]),A=Ue.useCallback(()=>{l(E=>E.map(k=>(k.streaming=!1,k))),a(!1),t==null||t.socket.emit("stop")},[t==null?void 0:t.socket]);return{uploadFile:Ue.useCallback((E,k,L)=>e.uploadFile(E,k,n,L),[n]),clear:s,replyMessage:w,sendMessage:d,editMessage:f,windowMessage:b,startAudioStream:x,sendAudioChunk:y,endAudioStream:C,stopTask:A,setIdToResume:p,updateChatSettings:R}},Uy=()=>{let e=ms(Sw),t=ms(jA);return{threadId:ms(UI),messages:e,firstInteraction:t}},kw=()=>{let e=Ue.useContext(vu),t=ms(Nv),[r,n]=zf(OI),o=ss(dfe),m=ss(ufe),u=FA(ww),h=ss(ww),a=ss(jA),l=ss(PI),v=ss(Tw),i=ms(cfe),S=ms(lfe),g=ss(Sw),p=ss(FI),_=ss(ffe),c=ss(VA),s=ss(ofe),d=ss(YA),f=ss(BI),b=ss(zI),x=ss(DI),y=ss(GA),C=ss(sfe),[w,R]=zf(ife),A=ms(LI),E=ss(SCe),[k,L]=zf(UI);Ue.useEffect(()=>{r!=null&&r.socket&&(r.socket.auth.threadId=k||"")},[k]);let I=Ue.useCallback(async({transports:F,userEnv:N})=>{let{protocol:T,host:D,pathname:O}=new URL(e.httpEndpoint),U=`${T}//${D}`,B=O&&O!=="/"?`${O}/ws/socket.io`:"/ws/socket.io";try{await e.stickyCookie(t)}catch(z){console.error(`Failed to set sticky session cookie: ${z}`)}let Y=NI(U,{path:B,withCredentials:!0,transports:F,auth:{clientType:e.type,sessionId:t,threadId:A||"",userEnv:JSON.stringify(N),chatProfile:w?encodeURIComponent(w):""}});n(z=>{var V,j;return(V=z==null?void 0:z.socket)==null||V.removeAllListeners(),(j=z==null?void 0:z.socket)==null||j.close(),{socket:Y}}),Y.on("connect",()=>{Y.emit("connection_successful"),n(z=>({...z,error:!1})),v(z=>z.map(V=>{let j;return V.clientType==="sse"?j=e.connectSseMCP(t,V.name,V.url):V.clientType==="streamable-http"?j=e.connectStreamableHttpMCP(t,V.name,V.url,V.headers||{}):j=e.connectStdioMCP(t,V.name,V.command),j.then(async({success:G,mcp:W})=>{v(X=>X.map(Q=>Q.name===W.name?{...Q,status:G?"connected":"failed",tools:W?W.tools:Q.tools}:Q))}).catch(()=>{v(G=>G.map(W=>W.name===V.name?{...W,status:"failed"}:W))}),{...V,status:"connecting"}}))}),Y.on("connect_error",z=>{n(V=>({...V,error:!0}))}),Y.on("task_start",()=>{l(!0)}),Y.on("task_end",()=>{l(!1)}),Y.on("reload",()=>{Y.emit("clear_session"),window.location.reload()}),Y.on("audio_connection",async z=>{if(z==="on"){let V=!0,j=Date.now(),G="pcm16";await S.begin(),await i.connect(),await S.record(async W=>{let X=Date.now()-j;Y.emit("audio_chunk",{isStart:V,mimeType:G,elapsedTime:X,data:W.mono}),V=!1}),i.onStop=()=>o(!1)}else await S.end(),await i.interrupt();m(z)}),Y.on("audio_chunk",z=>{i.add16BitPCM(z.data,z.track),o(!0)}),Y.on("audio_interrupt",()=>{i.interrupt()}),Y.on("resume_thread",z=>{var W,X,Q,ae,ie;let V=!!((W=z==null?void 0:z.metadata)!=null&&W.viewer_read_only);!V&&A&&z.id!==A&&(window.location.href=`/thread/${z.id}`),!V&&A&&L(z.id);let j=[];for(let he of z.steps)j=zy(j,he);(X=z.metadata)!=null&&X.chat_profile&&R((Q=z.metadata)==null?void 0:Q.chat_profile),(ae=z.metadata)!=null&&ae.chat_settings&&h((ie=z.metadata)==null?void 0:ie.chat_settings),g(j);let G=z.elements||[];b(G.filter(he=>he.type==="tasklist")),f(G.filter(he=>["avatar","tasklist"].indexOf(he.type)===-1))}),Y.on("resume_thread_error",z=>{E(z)}),Y.on("new_message",z=>{g(V=>zy(V,z))}),Y.on("first_interaction",z=>{a(z.interaction),L(z.thread_id)}),Y.on("update_message",z=>{g(V=>Aw(V,z.id,z))}),Y.on("delete_message",z=>{g(V=>mfe(V,z.id))}),Y.on("stream_start",z=>{g(V=>zy(V,z))}),Y.on("stream_token",({id:z,token:V,isSequence:j,isInput:G})=>{g(W=>gfe(W,z,V,j,G))}),Y.on("ask",({msg:z,spec:V},j)=>{p({spec:V,callback:j,parentId:z.parentId}),g(G=>zy(G,z)),l(!1)}),Y.on("ask_timeout",()=>{p(void 0),l(!1)}),Y.on("clear_ask",()=>{p(void 0)}),Y.on("call_fn",({name:z,args:V},j)=>{_({name:z,args:V,callback:j})}),Y.on("clear_call_fn",()=>{_(void 0)}),Y.on("call_fn_timeout",()=>{_(void 0)}),Y.on("chat_settings",z=>{y(z),u()}),Y.on("set_commands",z=>{c(z)}),Y.on("set_modes",z=>{s(z)}),Y.on("set_sidebar_title",z=>{d(V=>(V==null?void 0:V.title)===z?V:{title:z,elements:(V==null?void 0:V.elements)||[]})}),Y.on("set_sidebar_elements",({elements:z,key:V})=>{z.length?(z.forEach(j=>{!j.url&&j.chainlitKey&&(j.url=e.getElementUrl(j.chainlitKey,t))}),d(j=>(j==null?void 0:j.key)===V?j:{title:(j==null?void 0:j.title)||"",elements:z,key:V})):d(void 0)}),Y.on("element",z=>{!z.url&&z.chainlitKey&&(z.url=e.getElementUrl(z.chainlitKey,t)),z.type==="tasklist"?b(V=>{let j=V.findIndex(G=>G.id===z.id);return j===-1?[...V,z]:[...V.slice(0,j),z,...V.slice(j+1)]}):f(V=>{let j=V.findIndex(G=>G.id===z.id);return j===-1?[...V,z]:[...V.slice(0,j),z,...V.slice(j+1)]})}),Y.on("remove_element",z=>{f(V=>V.filter(j=>j.id!==z.id)),b(V=>V.filter(j=>j.id!==z.id))}),Y.on("action",z=>{x(V=>[...V,z])}),Y.on("remove_action",z=>{x(V=>{let j=V.findIndex(G=>G.id===z.id);return j===-1?V:[...V.slice(0,j),...V.slice(j+1)]})}),Y.on("token_usage",z=>{C(V=>V+z)}),Y.on("window_message",z=>{window.parent&&window.parent.postMessage(z,"*")}),Y.on("toast",z=>{if(!z.message){console.warn("No message received for toast.");return}switch(z.type){case"info":Sl.info(z.message);break;case"error":Sl.error(z.message);break;case"success":Sl.success(z.message);break;case"warning":Sl.warning(z.message);break;default:Sl(z.message);break}})},[n,t,A,w]),P=Ue.useCallback(hu.debounce(I,200),[I]),M=Ue.useCallback(()=>{r!=null&&r.socket&&(r.socket.removeAllListeners(),r.socket.close())},[r]);return{connect:P,disconnect:M,session:r,sessionId:t,chatProfile:w,idToResume:A,setChatProfile:R}},GI=()=>{let[e,t]=zf(ufe),r=ms(lfe),n=ms(cfe),o=ms(dfe),{startAudioStream:m,endAudioStream:u}=Rh(),h=Ue.useCallback(async()=>{t("connecting"),await m()},[m]),a=Ue.useCallback(async()=>{t("off"),await r.end(),await n.interrupt(),await u()},[u,r,n]);return{startConversation:h,endConversation:a,audioConnection:e,isAiSpeaking:o,wavRecorder:r,wavStreamPlayer:n}},af=()=>{let[e,t]=zf(ACe),{isAuthenticated:r}=Cw(),n=ms(ife),o=navigator.language||"en-US",m=Ue.useRef(n),u=r?`/project/settings?language=${o}${n?`&chat_profile=${encodeURIComponent(n)}`:""}`:null,h=r&&!e,{data:a,error:l,isLoading:v}=HI(h?u:null);return Ue.useEffect(()=>{a&&t(a)},[a,t]),Ue.useEffect(()=>{m.current!==n&&(t(void 0),m.current=n)},[n,t]),{config:e,error:l,isLoading:v,language:o}},_fe=new WeakMap,vft=(e,t,r=!1,n=!1)=>{let o,m,u;if(n&&(m=t.toString(),u=r.toString(),o=_fe.has(e)?_fe.get(e):{},_fe.set(e,o),o[m]=o[m]||{},o[m][u]))return o[m][u];let h=e.length,a=new Array(t);if(t<=h){a.fill(0);let l=new Array(t).fill(0);for(let v=0;v<h;v++){let i=Math.floor(v*(t/h));r?a[i]=Math.max(a[i],Math.abs(e[v])):a[i]+=Math.abs(e[v]),l[i]++}if(!r)for(let v=0;v<a.length;v++)a[v]=a[v]/l[v]}else for(let l=0;l<t;l++){let v=l*(h-1)/(t-1),i=Math.floor(v),S=Math.ceil(v),g=v-i;S>=h?a[l]=e[h-1]:a[l]=e[i]*(1-g)+e[S]*g}return n&&(o[m][u]=a),a},LCe={drawBars:(e,t,r,n,o,m=0,u=0,h=0,a=!1)=>{m=Math.floor(Math.min(m,(r-h)/(Math.max(u,1)+h))),m||(m=Math.floor((r-h)/(Math.max(u,1)+h))),u||(u=(r-h)/m-h);let l=vft(t,m,!0);for(let v=0;v<m;v++){let i=Math.abs(l[v]),S=Math.max(1,i*n),g=h+v*(u+h),p=a?(n-S)/2:n-S,_=Math.min(u/2,S/2);e.fillStyle=o,e.beginPath(),e.moveTo(g+_,p),e.lineTo(g+u-_,p),e.arcTo(g+u,p,g+u,p+_,_),e.lineTo(g+u,p+S-_),e.arcTo(g+u,p+S,g+u-_,p+S,_),e.lineTo(g+_,p+S),e.arcTo(g,p+S,g,p+S-_,_),e.lineTo(g,p+_),e.arcTo(g,p,g+_,p,_),e.closePath(),e.fill()}}};const mft=Object.freeze(Object.defineProperty({__proto__:null,APIBase:ICe,ChainlitAPI:VI,ChainlitContext:vu,ClientError:yfe,Socket:tfe,WavRenderer:LCe,actionState:DI,addMessage:zy,addMessageToParent:pfe,askUserState:FI,audioConnectionState:ufe,authState:CCe,callFnState:ffe,chatProfileState:ife,chatSettingsDefaultValueSelector:hfe,chatSettingsInputsState:GA,chatSettingsValueState:ww,commandsState:VA,configState:ACe,currentThreadIdState:UI,defaultChainlitContext:pft,deleteMessageById:mfe,elementState:BI,fetcher:NCe,firstUserInteraction:jA,hasMessageById:vfe,isAiSpeakingState:dfe,isLastMessage:cft,loadingState:PI,mcpState:Tw,messagesState:Sw,modesState:ofe,nestMessages:lft,resumeThreadErrorState:SCe,sessionIdState:Nv,sessionState:OI,sideViewState:YA,tasklistState:zI,threadHistoryState:kCe,threadIdToResumeState:LI,tokenCountState:sfe,updateMessageById:Aw,updateMessageContentById:gfe,useApi:HI,useAudio:GI,useAuth:Cw,useChatData:By,useChatInteract:Rh,useChatMessages:Uy,useChatSession:kw,useConfig:af,userState:TCe,wavRecorderState:lfe,wavStreamPlayerState:cfe},Symbol.toStringTag,{value:"Module"}));function gft(e,t){const r=e,n=()=>{Sl.error("Unauthorized")},o=m=>{Sl.error(m.toString())};return new VI(r,"copilot",t,n,o)}const Do=e=>typeof e=="string",WA=()=>{let e,t;const r=new Promise((n,o)=>{e=n,t=o});return r.resolve=e,r.reject=t,r},OCe=e=>e==null?"":""+e,yft=(e,t,r)=>{e.forEach(n=>{t[n]&&(r[n]=t[n])})},_ft=/###/g,DCe=e=>e&&e.indexOf("###")>-1?e.replace(_ft,"."):e,PCe=e=>!e||Do(e),KA=(e,t,r)=>{const n=Do(t)?t.split("."):t;let o=0;for(;o<n.length-1;){if(PCe(e))return{};const m=DCe(n[o]);!e[m]&&r&&(e[m]=new r),Object.prototype.hasOwnProperty.call(e,m)?e=e[m]:e={},++o}return PCe(e)?{}:{obj:e,k:DCe(n[o])}},FCe=(e,t,r)=>{const{obj:n,k:o}=KA(e,t,Object);if(n!==void 0||t.length===1){n[o]=r;return}let m=t[t.length-1],u=t.slice(0,t.length-1),h=KA(e,u,Object);for(;h.obj===void 0&&u.length;)m=`${u[u.length-1]}.${m}`,u=u.slice(0,u.length-1),h=KA(e,u,Object),h&&h.obj&&typeof h.obj[`${h.k}.${m}`]<"u"&&(h.obj=void 0);h.obj[`${h.k}.${m}`]=r},xft=(e,t,r,n)=>{const{obj:o,k:m}=KA(e,t,Object);o[m]=o[m]||[],o[m].push(r)},jI=(e,t)=>{const{obj:r,k:n}=KA(e,t);if(r)return r[n]},bft=(e,t,r)=>{const n=jI(e,r);return n!==void 0?n:jI(t,r)},BCe=(e,t,r)=>{for(const n in t)n!=="__proto__"&&n!=="constructor"&&(n in e?Do(e[n])||e[n]instanceof String||Do(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):BCe(e[n],t[n],r):e[n]=t[n]);return e},Mw=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Eft={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const Sft=e=>Do(e)?e.replace(/[&<>"'\/]/g,t=>Eft[t]):e;class wft{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}const Tft=[" ",",","?","!",";"],Aft=new wft(20),Cft=(e,t,r)=>{t=t||"",r=r||"";const n=Tft.filter(u=>t.indexOf(u)<0&&r.indexOf(u)<0);if(n.length===0)return!0;const o=Aft.getRegExp(`(${n.map(u=>u==="?"?"\\?":u).join("|")})`);let m=!o.test(e);if(!m){const u=e.indexOf(r);u>0&&!o.test(e.substring(0,u))&&(m=!0)}return m},xfe=function(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const n=t.split(r);let o=e;for(let m=0;m<n.length;){if(!o||typeof o!="object")return;let u,h="";for(let a=m;a<n.length;++a)if(a!==m&&(h+=r),h+=n[a],u=o[h],u!==void 0){if(["string","number","boolean"].indexOf(typeof u)>-1&&a<n.length-1)continue;m+=a-m+1;break}o=u}return o},YI=e=>e&&e.replace("_","-"),kft={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class WI{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,r)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||kft,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"log","",!0)}warn(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"warn","",!0)}error(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"error","")}deprecate(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}forward(t,r,n,o){return o&&!this.debug?null:(Do(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new WI(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new WI(this.logger,t)}}var Iv=new WI;class KI{constructor(){this.observers={}}on(t,r){return t.split(" ").forEach(n=>{this.observers[n]||(this.observers[n]=new Map);const o=this.observers[n].get(r)||0;this.observers[n].set(r,o+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(u=>{let[h,a]=u;for(let l=0;l<a;l++)h(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(u=>{let[h,a]=u;for(let l=0;l<a;l++)h.apply(h,[t,...n])})}}class zCe extends KI{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const m=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,u=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let h;t.indexOf(".")>-1?h=t.split("."):(h=[t,r],n&&(Array.isArray(n)?h.push(...n):Do(n)&&m?h.push(...n.split(m)):h.push(n)));const a=jI(this.data,h);return!a&&!r&&!n&&t.indexOf(".")>-1&&(t=h[0],r=h[1],n=h.slice(2).join(".")),a||!u||!Do(n)?a:xfe(this.data&&this.data[t]&&this.data[t][r],n,m)}addResource(t,r,n,o){let m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const u=m.keySeparator!==void 0?m.keySeparator:this.options.keySeparator;let h=[t,r];n&&(h=h.concat(u?n.split(u):n)),t.indexOf(".")>-1&&(h=t.split("."),o=r,r=h[1]),this.addNamespaces(r),FCe(this.data,h,o),m.silent||this.emit("added",t,r,n,o)}addResources(t,r,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const m in n)(Do(n[m])||Array.isArray(n[m]))&&this.addResource(t,r,m,n[m],{silent:!0});o.silent||this.emit("added",t,r,n)}addResourceBundle(t,r,n,o,m){let u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},h=[t,r];t.indexOf(".")>-1&&(h=t.split("."),o=n,n=r,r=h[1]),this.addNamespaces(r);let a=jI(this.data,h)||{};u.skipCopy||(n=JSON.parse(JSON.stringify(n))),o?BCe(a,n,m):a={...a,...n},FCe(this.data,h,a),u.silent||this.emit("added",t,r,n)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,r)}:this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(o=>r[o]&&Object.keys(r[o]).length>0)}toJSON(){return this.data}}var UCe={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,o){return e.forEach(m=>{this.processors[m]&&(t=this.processors[m].process(t,r,n,o))}),t}};const $Ce={};let HCe=class tet extends KI{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),yft(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Iv.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const n=this.resolve(t,r);return n&&n.res!==void 0}extractFromKey(t,r){let n=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const o=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let m=r.ns||this.options.defaultNS||[];const u=n&&t.indexOf(n)>-1,h=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!Cft(t,n,o);if(u&&!h){const a=t.match(this.interpolator.nestingRegexp);if(a&&a.length>0)return{key:t,namespaces:Do(m)?[m]:m};const l=t.split(n);(n!==o||n===o&&this.options.ns.indexOf(l[0])>-1)&&(m=l.shift()),t=l.join(o)}return{key:t,namespaces:Do(m)?[m]:m}}translate(t,r,n){if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof r=="object"&&(r={...r}),r||(r={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const o=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,m=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:u,namespaces:h}=this.extractFromKey(t[t.length-1],r),a=h[h.length-1],l=r.lng||this.language,v=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&l.toLowerCase()==="cimode"){if(v){const b=r.nsSeparator||this.options.nsSeparator;return o?{res:`${a}${b}${u}`,usedKey:u,exactUsedKey:u,usedLng:l,usedNS:a,usedParams:this.getUsedParamsDetails(r)}:`${a}${b}${u}`}return o?{res:u,usedKey:u,exactUsedKey:u,usedLng:l,usedNS:a,usedParams:this.getUsedParamsDetails(r)}:u}const i=this.resolve(t,r);let S=i&&i.res;const g=i&&i.usedKey||u,p=i&&i.exactUsedKey||u,_=Object.prototype.toString.apply(S),c=["[object Number]","[object Function]","[object RegExp]"],s=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,d=!this.i18nFormat||this.i18nFormat.handleAsObject,f=!Do(S)&&typeof S!="boolean"&&typeof S!="number";if(d&&S&&f&&c.indexOf(_)<0&&!(Do(s)&&Array.isArray(S))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const b=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,S,{...r,ns:h}):`key '${u} (${this.language})' returned an object instead of string.`;return o?(i.res=b,i.usedParams=this.getUsedParamsDetails(r),i):b}if(m){const b=Array.isArray(S),x=b?[]:{},y=b?p:g;for(const C in S)if(Object.prototype.hasOwnProperty.call(S,C)){const w=`${y}${m}${C}`;x[C]=this.translate(w,{...r,joinArrays:!1,ns:h}),x[C]===w&&(x[C]=S[C])}S=x}}else if(d&&Do(s)&&Array.isArray(S))S=S.join(s),S&&(S=this.extendTranslation(S,t,r,n));else{let b=!1,x=!1;const y=r.count!==void 0&&!Do(r.count),C=tet.hasDefaultValue(r),w=y?this.pluralResolver.getSuffix(l,r.count,r):"",R=r.ordinal&&y?this.pluralResolver.getSuffix(l,r.count,{ordinal:!1}):"",A=y&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),E=A&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${w}`]||r[`defaultValue${R}`]||r.defaultValue;!this.isValidLookup(S)&&C&&(b=!0,S=E),this.isValidLookup(S)||(x=!0,S=u);const L=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&x?void 0:S,I=C&&E!==S&&this.options.updateMissing;if(x||b||I){if(this.logger.log(I?"updateKey":"missingKey",l,a,u,I?E:S),m){const N=this.resolve(u,{...r,keySeparator:!1});N&&N.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 P=[];const M=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&M&&M[0])for(let N=0;N<M.length;N++)P.push(M[N]);else this.options.saveMissingTo==="all"?P=this.languageUtils.toResolveHierarchy(r.lng||this.language):P.push(r.lng||this.language);const F=(N,T,D)=>{const O=C&&D!==S?D:L;this.options.missingKeyHandler?this.options.missingKeyHandler(N,a,T,O,I,r):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(N,a,T,O,I,r),this.emit("missingKey",N,a,T,S)};this.options.saveMissing&&(this.options.saveMissingPlurals&&y?P.forEach(N=>{const T=this.pluralResolver.getSuffixes(N,r);A&&r[`defaultValue${this.options.pluralSeparator}zero`]&&T.indexOf(`${this.options.pluralSeparator}zero`)<0&&T.push(`${this.options.pluralSeparator}zero`),T.forEach(D=>{F([N],u+D,r[`defaultValue${D}`]||E)})}):F(P,u,E))}S=this.extendTranslation(S,t,r,i,n),x&&S===u&&this.options.appendNamespaceToMissingKey&&(S=`${a}:${u}`),(x||b)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?S=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}:${u}`:u,b?S:void 0):S=this.options.parseMissingKeyHandler(S))}return o?(i.res=S,i.usedParams=this.getUsedParamsDetails(r),i):S}extendTranslation(t,r,n,o,m){var u=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const l=Do(t)&&(n&&n.interpolation&&n.interpolation.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let v;if(l){const S=t.match(this.interpolator.nestingRegexp);v=S&&S.length}let i=n.replace&&!Do(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),t=this.interpolator.interpolate(t,i,n.lng||this.language||o.usedLng,n),l){const S=t.match(this.interpolator.nestingRegexp),g=S&&S.length;v<g&&(n.nest=!1)}!n.lng&&this.options.compatibilityAPI!=="v1"&&o&&o.res&&(n.lng=this.language||o.usedLng),n.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var S=arguments.length,g=new Array(S),p=0;p<S;p++)g[p]=arguments[p];return m&&m[0]===g[0]&&!n.context?(u.logger.warn(`It seems you are nesting recursively key: ${g[0]} in key: ${r[0]}`),null):u.translate(...g,r)},n)),n.interpolation&&this.interpolator.reset()}const h=n.postProcess||this.options.postProcess,a=Do(h)?[h]:h;return t!=null&&a&&a.length&&n.applyPostProcessor!==!1&&(t=UCe.handle(a,t,r,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),t}resolve(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,o,m,u,h;return Do(t)&&(t=[t]),t.forEach(a=>{if(this.isValidLookup(n))return;const l=this.extractFromKey(a,r),v=l.key;o=v;let i=l.namespaces;this.options.fallbackNS&&(i=i.concat(this.options.fallbackNS));const S=r.count!==void 0&&!Do(r.count),g=S&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),p=r.context!==void 0&&(Do(r.context)||typeof r.context=="number")&&r.context!=="",_=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);i.forEach(c=>{this.isValidLookup(n)||(h=c,!$Ce[`${_[0]}-${c}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(h)&&($Ce[`${_[0]}-${c}`]=!0,this.logger.warn(`key "${o}" for languages "${_.join(", ")}" won't get resolved as namespace "${h}" 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!!!")),_.forEach(s=>{if(this.isValidLookup(n))return;u=s;const d=[v];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(d,v,s,c,r);else{let b;S&&(b=this.pluralResolver.getSuffix(s,r.count,r));const x=`${this.options.pluralSeparator}zero`,y=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(S&&(d.push(v+b),r.ordinal&&b.indexOf(y)===0&&d.push(v+b.replace(y,this.options.pluralSeparator)),g&&d.push(v+x)),p){const C=`${v}${this.options.contextSeparator}${r.context}`;d.push(C),S&&(d.push(C+b),r.ordinal&&b.indexOf(y)===0&&d.push(C+b.replace(y,this.options.pluralSeparator)),g&&d.push(C+x))}}let f;for(;f=d.pop();)this.isValidLookup(n)||(m=f,n=this.getResource(s,c,f,r))}))})}),{res:n,usedKey:o,exactUsedKey:m,usedLng:u,usedNS:h}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,r,n,o):this.resourceStore.getResource(t,r,n,o)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&!Do(t.replace);let o=n?t.replace:t;if(n&&typeof t.count<"u"&&(o.count=t.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!n){o={...o};for(const m of r)delete o[m]}return o}static hasDefaultValue(t){const r="defaultValue";for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&r===n.substring(0,r.length)&&t[n]!==void 0)return!0;return!1}};const bfe=e=>e.charAt(0).toUpperCase()+e.slice(1);class VCe{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Iv.create("languageUtils")}getScriptPartFromCode(t){if(t=YI(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=YI(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(Do(t)&&t.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let o=Intl.getCanonicalLocales(t)[0];if(o&&this.options.lowerCaseLng&&(o=o.toLowerCase()),o)return o}catch{}const r=["hans","hant","latn","cyrl","cans","mong","arab"];let n=t.split("-");return this.options.lowerCaseLng?n=n.map(o=>o.toLowerCase()):n.length===2?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),r.indexOf(n[1].toLowerCase())>-1&&(n[1]=bfe(n[1].toLowerCase()))):n.length===3&&(n[0]=n[0].toLowerCase(),n[1].length===2&&(n[1]=n[1].toUpperCase()),n[0]!=="sgn"&&n[2].length===2&&(n[2]=n[2].toUpperCase()),r.indexOf(n[1].toLowerCase())>-1&&(n[1]=bfe(n[1].toLowerCase())),r.indexOf(n[2].toLowerCase())>-1&&(n[2]=bfe(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(n=>{if(r)return;const o=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(o))&&(r=o)}),!r&&this.options.supportedLngs&&t.forEach(n=>{if(r)return;const o=this.getLanguagePartFromCode(n);if(this.isSupportedCode(o))return r=o;r=this.options.supportedLngs.find(m=>{if(m===o)return m;if(!(m.indexOf("-")<0&&o.indexOf("-")<0)&&(m.indexOf("-")>0&&o.indexOf("-")<0&&m.substring(0,m.indexOf("-"))===o||m.indexOf(o)===0&&o.length>1))return m})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),Do(t)&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let n=t[r];return n||(n=t[this.getScriptPartFromCode(r)]),n||(n=t[this.formatLanguageCode(r)]),n||(n=t[this.getLanguagePartFromCode(r)]),n||(n=t.default),n||[]}toResolveHierarchy(t,r){const n=this.getFallbackCodes(r||this.options.fallbackLng||[],t),o=[],m=u=>{u&&(this.isSupportedCode(u)?o.push(u):this.logger.warn(`rejecting language code not found in supportedLngs: ${u}`))};return Do(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&m(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&m(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&m(this.getLanguagePartFromCode(t))):Do(t)&&m(this.formatLanguageCode(t)),n.forEach(u=>{o.indexOf(u)<0&&m(this.formatLanguageCode(u))}),o}}let Mft=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Rft={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const Nft=["v1","v2","v3"],Ift=["v4"],GCe={zero:0,one:1,two:2,few:3,many:4,other:5},Lft=()=>{const e={};return Mft.forEach(t=>{t.lngs.forEach(r=>{e[r]={numbers:t.nr,plurals:Rft[t.fc]}})}),e};class Oft{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=Iv.create("pluralResolver"),(!this.options.compatibilityJSON||Ift.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Lft(),this.pluralRulesCache={}}addRule(t,r){this.rules[t]=r}clearCache(){this.pluralRulesCache={}}getRule(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi()){const n=YI(t==="dev"?"en":t),o=r.ordinal?"ordinal":"cardinal",m=JSON.stringify({cleanedCode:n,type:o});if(m in this.pluralRulesCache)return this.pluralRulesCache[m];let u;try{u=new Intl.PluralRules(n,{type:o})}catch{if(!t.match(/-|_/))return;const a=this.languageUtils.getLanguagePartFromCode(t);u=this.getRule(a,r)}return this.pluralRulesCache[m]=u,u}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=this.getRule(t,r);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,n).map(o=>`${r}${o}`)}getSuffixes(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=this.getRule(t,r);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((o,m)=>GCe[o]-GCe[m]).map(o=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${o}`):n.numbers.map(o=>this.getSuffix(t,o,r)):[]}getSuffix(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const o=this.getRule(t,n);return o?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o.select(r)}`:this.getSuffixRetroCompatible(o,r):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,r){const n=t.noAbs?t.plurals(r):t.plurals(Math.abs(r));let o=t.numbers[n];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(o===2?o="plural":o===1&&(o=""));const m=()=>this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString();return this.options.compatibilityJSON==="v1"?o===1?"":typeof o=="number"?`_plural_${o.toString()}`:m():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?m():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!Nft.includes(this.options.compatibilityJSON)}}const jCe=function(e,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,m=bft(e,t,r);return!m&&o&&Do(r)&&(m=xfe(e,r,n),m===void 0&&(m=xfe(t,r,n))),m},Efe=e=>e.replace(/\$/g,"$$$$");class Dft{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Iv.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(r=>r),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:r,escapeValue:n,useRawValueToEscape:o,prefix:m,prefixEscaped:u,suffix:h,suffixEscaped:a,formatSeparator:l,unescapeSuffix:v,unescapePrefix:i,nestingPrefix:S,nestingPrefixEscaped:g,nestingSuffix:p,nestingSuffixEscaped:_,nestingOptionsSeparator:c,maxReplaces:s,alwaysFormat:d}=t.interpolation;this.escape=r!==void 0?r:Sft,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=o!==void 0?o:!1,this.prefix=m?Mw(m):u||"{{",this.suffix=h?Mw(h):a||"}}",this.formatSeparator=l||",",this.unescapePrefix=v?"":i||"-",this.unescapeSuffix=this.unescapePrefix?"":v||"",this.nestingPrefix=S?Mw(S):g||Mw("$t("),this.nestingSuffix=p?Mw(p):_||Mw(")"),this.nestingOptionsSeparator=c||",",this.maxReplaces=s||1e3,this.alwaysFormat=d!==void 0?d:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,n)=>r&&r.source===n?(r.lastIndex=0,r):new RegExp(n,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,r,n,o){let m,u,h;const a=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=g=>{if(g.indexOf(this.formatSeparator)<0){const s=jCe(r,a,g,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(s,void 0,n,{...o,...r,interpolationkey:g}):s}const p=g.split(this.formatSeparator),_=p.shift().trim(),c=p.join(this.formatSeparator).trim();return this.format(jCe(r,a,_,this.options.keySeparator,this.options.ignoreJSONStructure),c,n,{...o,...r,interpolationkey:_})};this.resetRegExp();const v=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,i=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:g=>Efe(g)},{regex:this.regexp,safeValue:g=>this.escapeValue?Efe(this.escape(g)):Efe(g)}].forEach(g=>{for(h=0;m=g.regex.exec(t);){const p=m[1].trim();if(u=l(p),u===void 0)if(typeof v=="function"){const c=v(t,m,o);u=Do(c)?c:""}else if(o&&Object.prototype.hasOwnProperty.call(o,p))u="";else if(i){u=m[0];continue}else this.logger.warn(`missed to pass in variable ${p} for interpolating ${t}`),u="";else!Do(u)&&!this.useRawValueToEscape&&(u=OCe(u));const _=g.safeValue(u);if(t=t.replace(m[0],_),i?(g.regex.lastIndex+=u.length,g.regex.lastIndex-=m[0].length):g.regex.lastIndex=0,h++,h>=this.maxReplaces)break}}),t}nest(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,m,u;const h=(a,l)=>{const v=this.nestingOptionsSeparator;if(a.indexOf(v)<0)return a;const i=a.split(new RegExp(`${v}[ ]*{`));let S=`{${i[1]}`;a=i[0],S=this.interpolate(S,u);const g=S.match(/'/g),p=S.match(/"/g);(g&&g.length%2===0&&!p||p.length%2!==0)&&(S=S.replace(/'/g,'"'));try{u=JSON.parse(S),l&&(u={...l,...u})}catch(_){return this.logger.warn(`failed parsing options string in nesting for key ${a}`,_),`${a}${v}${S}`}return u.defaultValue&&u.defaultValue.indexOf(this.prefix)>-1&&delete u.defaultValue,a};for(;o=this.nestingRegexp.exec(t);){let a=[];u={...n},u=u.replace&&!Do(u.replace)?u.replace:u,u.applyPostProcessor=!1,delete u.defaultValue;let l=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){const v=o[1].split(this.formatSeparator).map(i=>i.trim());o[1]=v.shift(),a=v,l=!0}if(m=r(h.call(this,o[1].trim(),u),u),m&&o[0]===t&&!Do(m))return m;Do(m)||(m=OCe(m)),m||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${t}`),m=""),l&&(m=a.reduce((v,i)=>this.format(v,i,n.lng,{...n,interpolationkey:o[1].trim()}),m.trim())),t=t.replace(o[0],m),this.regexp.lastIndex=0}return t}}const Pft=e=>{let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const o=n[1].substring(0,n[1].length-1);t==="currency"&&o.indexOf(":")<0?r.currency||(r.currency=o.trim()):t==="relativetime"&&o.indexOf(":")<0?r.range||(r.range=o.trim()):o.split(";").forEach(u=>{if(u){const[h,...a]=u.split(":"),l=a.join(":").trim().replace(/^'+|'+$/g,""),v=h.trim();r[v]||(r[v]=l),l==="false"&&(r[v]=!1),l==="true"&&(r[v]=!0),isNaN(l)||(r[v]=parseInt(l,10))}})}return{formatName:t,formatOptions:r}},Rw=e=>{const t={};return(r,n,o)=>{let m=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(m={...m,[o.interpolationkey]:void 0});const u=n+JSON.stringify(m);let h=t[u];return h||(h=e(YI(n),o),t[u]=h),h(r)}};class Fft{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Iv.create("formatter"),this.options=t,this.formats={number:Rw((r,n)=>{const o=new Intl.NumberFormat(r,{...n});return m=>o.format(m)}),currency:Rw((r,n)=>{const o=new Intl.NumberFormat(r,{...n,style:"currency"});return m=>o.format(m)}),datetime:Rw((r,n)=>{const o=new Intl.DateTimeFormat(r,{...n});return m=>o.format(m)}),relativetime:Rw((r,n)=>{const o=new Intl.RelativeTimeFormat(r,{...n});return m=>o.format(m,n.range||"day")}),list:Rw((r,n)=>{const o=new Intl.ListFormat(r,{...n});return m=>o.format(m)})},this.init(t)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=r.interpolation.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=Rw(r)}format(t,r,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const m=r.split(this.formatSeparator);if(m.length>1&&m[0].indexOf("(")>1&&m[0].indexOf(")")<0&&m.find(h=>h.indexOf(")")>-1)){const h=m.findIndex(a=>a.indexOf(")")>-1);m[0]=[m[0],...m.splice(1,h)].join(this.formatSeparator)}return m.reduce((h,a)=>{const{formatName:l,formatOptions:v}=Pft(a);if(this.formats[l]){let i=h;try{const S=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},g=S.locale||S.lng||o.locale||o.lng||n;i=this.formats[l](h,g,{...v,...o,...S})}catch(S){this.logger.warn(S)}return i}else this.logger.warn(`there was no format function for ${l}`);return h},t)}}const Bft=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class zft extends KI{constructor(t,r,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=n,this.languageUtils=n.languageUtils,this.options=o,this.logger=Iv.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,o.backend,o)}queueLoad(t,r,n,o){const m={},u={},h={},a={};return t.forEach(l=>{let v=!0;r.forEach(i=>{const S=`${l}|${i}`;!n.reload&&this.store.hasResourceBundle(l,i)?this.state[S]=2:this.state[S]<0||(this.state[S]===1?u[S]===void 0&&(u[S]=!0):(this.state[S]=1,v=!1,u[S]===void 0&&(u[S]=!0),m[S]===void 0&&(m[S]=!0),a[i]===void 0&&(a[i]=!0)))}),v||(h[l]=!0)}),(Object.keys(m).length||Object.keys(u).length)&&this.queue.push({pending:u,pendingCount:Object.keys(u).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(m),pending:Object.keys(u),toLoadLanguages:Object.keys(h),toLoadNamespaces:Object.keys(a)}}loaded(t,r,n){const o=t.split("|"),m=o[0],u=o[1];r&&this.emit("failedLoading",m,u,r),!r&&n&&this.store.addResourceBundle(m,u,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2,r&&n&&(this.state[t]=0);const h={};this.queue.forEach(a=>{xft(a.loaded,[m],u),Bft(a,t),r&&a.errors.push(r),a.pendingCount===0&&!a.done&&(Object.keys(a.loaded).forEach(l=>{h[l]||(h[l]={});const v=a.loaded[l];v.length&&v.forEach(i=>{h[l][i]===void 0&&(h[l][i]=!0)})}),a.done=!0,a.errors.length?a.callback(a.errors):a.callback())}),this.emit("loaded",h),this.queue=this.queue.filter(a=>!a.done)}read(t,r,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,u=arguments.length>5?arguments[5]:void 0;if(!t.length)return u(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:n,tried:o,wait:m,callback:u});return}this.readingCalls++;const h=(l,v)=>{if(this.readingCalls--,this.waitingReads.length>0){const i=this.waitingReads.shift();this.read(i.lng,i.ns,i.fcName,i.tried,i.wait,i.callback)}if(l&&v&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,t,r,n,o+1,m*2,u)},m);return}u(l,v)},a=this.backend[n].bind(this.backend);if(a.length===2){try{const l=a(t,r);l&&typeof l.then=="function"?l.then(v=>h(null,v)).catch(h):h(null,l)}catch(l){h(l)}return}return a(t,r,h)}prepareLoading(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();Do(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Do(r)&&(r=[r]);const m=this.queueLoad(t,r,n,o);if(!m.toLoad.length)return m.pending.length||o(),null;m.toLoad.forEach(u=>{this.loadOne(u)})}load(t,r,n){this.prepareLoading(t,r,{},n)}reload(t,r,n){this.prepareLoading(t,r,{reload:!0},n)}loadOne(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const n=t.split("|"),o=n[0],m=n[1];this.read(o,m,"read",void 0,void 0,(u,h)=>{u&&this.logger.warn(`${r}loading namespace ${m} for language ${o} failed`,u),!u&&h&&this.logger.log(`${r}loaded namespace ${m} for language ${o}`,h),this.loaded(t,u,h)})}saveMissing(t,r,n,o,m){let u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},h=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${n}" as the namespace "${r}" 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(!(n==null||n==="")){if(this.backend&&this.backend.create){const a={...u,isUpdate:m},l=this.backend.create.bind(this.backend);if(l.length<6)try{let v;l.length===5?v=l(t,r,n,o,a):v=l(t,r,n,o),v&&typeof v.then=="function"?v.then(i=>h(null,i)).catch(h):h(null,v)}catch(v){h(v)}else l(t,r,n,o,h,a)}!t||!t[0]||this.store.addResource(t[0],r,n,o)}}}const YCe=()=>({debug:!1,initImmediate:!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:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),Do(e[1])&&(t.defaultValue=e[1]),Do(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const r=e[3]||e[2];Object.keys(r).forEach(n=>{t[n]=r[n]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),WCe=e=>(Do(e.ns)&&(e.ns=[e.ns]),Do(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Do(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),XI=()=>{},Uft=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(r=>{typeof e[r]=="function"&&(e[r]=e[r].bind(e))})};class XA extends KI{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=WCe(t),this.services={},this.logger=Iv,this.modules={external:[]},Uft(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(){var t=this;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof r=="function"&&(n=r,r={}),!r.defaultNS&&r.defaultNS!==!1&&r.ns&&(Do(r.ns)?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const o=YCe();this.options={...o,...this.options,...WCe(r)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...o.interpolation,...this.options.interpolation}),r.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=r.keySeparator),r.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=r.nsSeparator);const m=v=>v?typeof v=="function"?new v:v:null;if(!this.options.isClone){this.modules.logger?Iv.init(m(this.modules.logger),this.options):Iv.init(null,this.options);let v;this.modules.formatter?v=this.modules.formatter:typeof Intl<"u"&&(v=Fft);const i=new VCe(this.options);this.store=new zCe(this.options.resources,this.options);const S=this.services;S.logger=Iv,S.resourceStore=this.store,S.languageUtils=i,S.pluralResolver=new Oft(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),v&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(S.formatter=m(v),S.formatter.init(S,this.options),this.options.interpolation.format=S.formatter.format.bind(S.formatter)),S.interpolator=new Dft(this.options),S.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},S.backendConnector=new zft(m(this.modules.backend),S.resourceStore,S,this.options),S.backendConnector.on("*",function(g){for(var p=arguments.length,_=new Array(p>1?p-1:0),c=1;c<p;c++)_[c-1]=arguments[c];t.emit(g,..._)}),this.modules.languageDetector&&(S.languageDetector=m(this.modules.languageDetector),S.languageDetector.init&&S.languageDetector.init(S,this.options.detection,this.options)),this.modules.i18nFormat&&(S.i18nFormat=m(this.modules.i18nFormat),S.i18nFormat.init&&S.i18nFormat.init(this)),this.translator=new HCe(this.services,this.options),this.translator.on("*",function(g){for(var p=arguments.length,_=new Array(p>1?p-1:0),c=1;c<p;c++)_[c-1]=arguments[c];t.emit(g,..._)}),this.modules.external.forEach(g=>{g.init&&g.init(this)})}if(this.format=this.options.interpolation.format,n||(n=XI),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const v=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);v.length>0&&v[0]!=="dev"&&(this.options.lng=v[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(v=>{this[v]=function(){return t.store[v](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(v=>{this[v]=function(){return t.store[v](...arguments),t}});const a=WA(),l=()=>{const v=(i,S)=>{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),a.resolve(S),n(i,S)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return v(null,this.t.bind(this));this.changeLanguage(this.options.lng,v)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),a}loadResources(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:XI;const o=Do(t)?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(o&&o.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const m=[],u=h=>{if(!h||h==="cimode")return;this.services.languageUtils.toResolveHierarchy(h).forEach(l=>{l!=="cimode"&&m.indexOf(l)<0&&m.push(l)})};o?u(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(a=>u(a)),this.options.preload&&this.options.preload.forEach(h=>u(h)),this.services.backendConnector.load(m,this.options.ns,h=>{!h&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(h)})}else n(null)}reloadResources(t,r,n){const o=WA();return typeof t=="function"&&(n=t,t=void 0),typeof r=="function"&&(n=r,r=void 0),t||(t=this.languages),r||(r=this.options.ns),n||(n=XI),this.services.backendConnector.reload(t,r,m=>{o.resolve(),n(m)}),o}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&UCe.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let r=0;r<this.languages.length;r++){const n=this.languages[r];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}changeLanguage(t,r){var n=this;this.isLanguageChangingTo=t;const o=WA();this.emit("languageChanging",t);const m=a=>{this.language=a,this.languages=this.services.languageUtils.toResolveHierarchy(a),this.resolvedLanguage=void 0,this.setResolvedLanguage(a)},u=(a,l)=>{l?(m(l),this.translator.changeLanguage(l),this.isLanguageChangingTo=void 0,this.emit("languageChanged",l),this.logger.log("languageChanged",l)):this.isLanguageChangingTo=void 0,o.resolve(function(){return n.t(...arguments)}),r&&r(a,function(){return n.t(...arguments)})},h=a=>{!t&&!a&&this.services.languageDetector&&(a=[]);const l=Do(a)?a:this.services.languageUtils.getBestMatchFromCodes(a);l&&(this.language||m(l),this.translator.language||this.translator.changeLanguage(l),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(l)),this.loadResources(l,v=>{u(v,l)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?h(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(h):this.services.languageDetector.detect(h):h(t),o}getFixedT(t,r,n){var o=this;const m=function(u,h){let a;if(typeof h!="object"){for(var l=arguments.length,v=new Array(l>2?l-2:0),i=2;i<l;i++)v[i-2]=arguments[i];a=o.options.overloadTranslationOptionHandler([u,h].concat(v))}else a={...h};a.lng=a.lng||m.lng,a.lngs=a.lngs||m.lngs,a.ns=a.ns||m.ns,a.keyPrefix!==""&&(a.keyPrefix=a.keyPrefix||n||m.keyPrefix);const S=o.options.keySeparator||".";let g;return a.keyPrefix&&Array.isArray(u)?g=u.map(p=>`${a.keyPrefix}${S}${p}`):g=a.keyPrefix?`${a.keyPrefix}${S}${u}`:u,o.t(g,a)};return Do(t)?m.lng=t:m.lngs=t,m.ns=r,m.keyPrefix=n,m}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};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 n=r.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,m=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const u=(h,a)=>{const l=this.services.backendConnector.state[`${h}|${a}`];return l===-1||l===0||l===2};if(r.precheck){const h=r.precheck(this,u);if(h!==void 0)return h}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||u(n,t)&&(!o||u(m,t)))}loadNamespaces(t,r){const n=WA();return this.options.ns?(Do(t)&&(t=[t]),t.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{n.resolve(),r&&r(o)}),n):(r&&r(),Promise.resolve())}loadLanguages(t,r){const n=WA();Do(t)&&(t=[t]);const o=this.options.preload||[],m=t.filter(u=>o.indexOf(u)<0&&this.services.languageUtils.isSupportedCode(u));return m.length?(this.options.preload=o.concat(m),this.loadResources(u=>{n.resolve(),r&&r(u)}),n):(r&&r(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const r=["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"],n=this.services&&this.services.languageUtils||new VCe(YCe());return r.indexOf(n.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new XA(t,r)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:XI;const n=t.forkResourceStore;n&&delete t.forkResourceStore;const o={...this.options,...t,isClone:!0},m=new XA(o);return(t.debug!==void 0||t.prefix!==void 0)&&(m.logger=m.logger.clone(t)),["store","services","language"].forEach(h=>{m[h]=this[h]}),m.services={...this.services},m.services.utils={hasLoadedNamespace:m.hasLoadedNamespace.bind(m)},n&&(m.store=new zCe(this.store.data,o),m.services.resourceStore=m.store),m.translator=new HCe(m.services,o),m.translator.on("*",function(h){for(var a=arguments.length,l=new Array(a>1?a-1:0),v=1;v<a;v++)l[v-1]=arguments[v];m.emit(h,...l)}),m.init(o,r),m.translator.options=o,m.translator.backendConnector.services.utils={hasLoadedNamespace:m.hasLoadedNamespace.bind(m)},m}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const of=XA.createInstance();of.createInstance=XA.createInstance,of.createInstance,of.dir,of.init,of.loadResources,of.reloadResources,of.use,of.changeLanguage,of.getFixedT,of.t,of.exists,of.setDefaultNamespace,of.hasLoadedNamespace,of.loadNamespaces,of.loadLanguages;function $ft(){if(console&&console.warn){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];J_(t[0])&&(t[0]=`react-i18next:: ${t[0]}`),console.warn(...t)}}const KCe={};function Sfe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];J_(t[0])&&KCe[t[0]]||(J_(t[0])&&(KCe[t[0]]=new Date),$ft(...t))}const XCe=(e,t)=>()=>{if(e.isInitialized)t();else{const r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},qCe=(e,t,r)=>{e.loadNamespaces(t,XCe(e,r))},ZCe=(e,t,r,n)=>{J_(r)&&(r=[r]),r.forEach(o=>{e.options.ns.indexOf(o)<0&&e.options.ns.push(o)}),e.loadLanguages(t,XCe(e,n))},Hft=function(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n=t.languages[0],o=t.options?t.options.fallbackLng:!1,m=t.languages[t.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const u=(h,a)=>{const l=t.services.backendConnector.state[`${h}|${a}`];return l===-1||l===2};return r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!u(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(n,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||u(n,e)&&(!o||u(m,e)))},Vft=function(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!t.languages||!t.languages.length?(Sfe("i18n.languages were undefined or empty",t.languages),!0):t.options.ignoreJSONStructure!==void 0?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(o,m)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!m(o.isLanguageChangingTo,e))return!1}}):Hft(e,t,r)},J_=e=>typeof e=="string",Gft=e=>typeof e=="object"&&e!==null,jft=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Yft={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},Wft=e=>Yft[e];let wfe={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(jft,Wft)};const Kft=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};wfe={...wfe,...e}},Xft=()=>wfe;let QCe;const qft=e=>{QCe=e},Zft=()=>QCe,Qft={type:"3rdParty",init(e){Kft(e.options.react),qft(e)}},Jft=Ue.createContext();class eht{constructor(){y4e(this,"getUsedNamespaces",()=>Object.keys(this.usedNamespaces));this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(r=>{this.usedNamespaces[r]||(this.usedNamespaces[r]=!0)})}}const tht=(e,t)=>{const r=Ue.useRef();return Ue.useEffect(()=>{r.current=e},[e,t]),r.current},JCe=(e,t,r,n)=>e.getFixedT(t,r,n),rht=(e,t,r,n)=>Ue.useCallback(JCe(e,t,r,n),[e,t,r,n]),Tfe=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:r}=t,{i18n:n,defaultNS:o}=Ue.useContext(Jft)||{},m=r||n||Zft();if(m&&!m.reportNamespaces&&(m.reportNamespaces=new eht),!m){Sfe("You will need to pass in an i18next instance by using initReactI18next");const b=(y,C)=>J_(C)?C:Gft(C)&&J_(C.defaultValue)?C.defaultValue:Array.isArray(y)?y[y.length-1]:y,x=[b,{},!1];return x.t=b,x.i18n={},x.ready=!1,x}m.options.react&&m.options.react.wait!==void 0&&Sfe("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const u={...Xft(),...m.options.react,...t},{useSuspense:h,keyPrefix:a}=u;let l=o||m.options&&m.options.defaultNS;l=J_(l)?[l]:l||["translation"],m.reportNamespaces.addUsedNamespaces&&m.reportNamespaces.addUsedNamespaces(l);const v=(m.isInitialized||m.initializedStoreOnce)&&l.every(b=>Vft(b,m,u)),i=rht(m,t.lng||null,u.nsMode==="fallback"?l:l[0],a),S=()=>i,g=()=>JCe(m,t.lng||null,u.nsMode==="fallback"?l:l[0],a),[p,_]=Ue.useState(S);let c=l.join();t.lng&&(c=`${t.lng}${c}`);const s=tht(c),d=Ue.useRef(!0);Ue.useEffect(()=>{const{bindI18n:b,bindI18nStore:x}=u;d.current=!0,!v&&!h&&(t.lng?ZCe(m,t.lng,l,()=>{d.current&&_(g)}):qCe(m,l,()=>{d.current&&_(g)})),v&&s&&s!==c&&d.current&&_(g);const y=()=>{d.current&&_(g)};return b&&m&&m.on(b,y),x&&m&&m.store.on(x,y),()=>{d.current=!1,b&&m&&b.split(" ").forEach(C=>m.off(C,y)),x&&m&&x.split(" ").forEach(C=>m.store.off(C,y))}},[m,c]),Ue.useEffect(()=>{d.current&&v&&_(S)},[m,a,v]);const f=[p,m,v];if(f.t=p,f.i18n=m,f.ready=v,v||!v&&!h)return f;throw new Promise(b=>{t.lng?ZCe(m,t.lng,l,()=>b()):qCe(m,l,()=>b())})},nht={fallbackLng:"en-US",defaultNS:"translation"};function aht(){of.use(Qft).init(nht).catch(e=>console.error("[i18n] Failed to setup localization.",e))}function eke(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=eke(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function iht(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=eke(e))&&(n&&(n+=" "),n+=t);return n}const Afe="-",oht=e=>{const t=lht(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:u=>{const h=u.split(Afe);return h[0]===""&&h.length!==1&&h.shift(),tke(h,t)||sht(u)},getConflictingClassGroupIds:(u,h)=>{const a=r[u]||[];return h&&n[u]?[...a,...n[u]]:a}}},tke=(e,t)=>{var u;if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?tke(e.slice(1),n):void 0;if(o)return o;if(t.validators.length===0)return;const m=e.join(Afe);return(u=t.validators.find(({validator:h})=>h(m)))==null?void 0:u.classGroupId},rke=/^\[(.+)\]$/,sht=e=>{if(rke.test(e)){const t=rke.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},lht=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return uht(Object.entries(e.classGroups),r).forEach(([m,u])=>{Cfe(u,n,m,t)}),n},Cfe=(e,t,r,n)=>{e.forEach(o=>{if(typeof o=="string"){const m=o===""?t:nke(t,o);m.classGroupId=r;return}if(typeof o=="function"){if(cht(o)){Cfe(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([m,u])=>{Cfe(u,nke(t,m),r,n)})})},nke=(e,t)=>{let r=e;return t.split(Afe).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},cht=e=>e.isThemeGetter,uht=(e,t)=>t?e.map(([r,n])=>{const o=n.map(m=>typeof m=="string"?t+m:typeof m=="object"?Object.fromEntries(Object.entries(m).map(([u,h])=>[t+u,h])):m);return[r,o]}):e,dht=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const o=(m,u)=>{r.set(m,u),t++,t>e&&(t=0,n=r,r=new Map)};return{get(m){let u=r.get(m);if(u!==void 0)return u;if((u=n.get(m))!==void 0)return o(m,u),u},set(m,u){r.has(m)?r.set(m,u):o(m,u)}}},ake="!",fht=e=>{const{separator:t,experimentalParseClassName:r}=e,n=t.length===1,o=t[0],m=t.length,u=h=>{const a=[];let l=0,v=0,i;for(let c=0;c<h.length;c++){let s=h[c];if(l===0){if(s===o&&(n||h.slice(c,c+m)===t)){a.push(h.slice(v,c)),v=c+m;continue}if(s==="/"){i=c;continue}}s==="["?l++:s==="]"&&l--}const S=a.length===0?h:h.substring(v),g=S.startsWith(ake),p=g?S.substring(1):S,_=i&&i>v?i-v:void 0;return{modifiers:a,hasImportantModifier:g,baseClassName:p,maybePostfixModifierPosition:_}};return r?h=>r({className:h,parseClassName:u}):u},hht=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},pht=e=>({cache:dht(e.cacheSize),parseClassName:fht(e),...oht(e)}),vht=/\s+/,mht=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,m=[],u=e.trim().split(vht);let h="";for(let a=u.length-1;a>=0;a-=1){const l=u[a],{modifiers:v,hasImportantModifier:i,baseClassName:S,maybePostfixModifierPosition:g}=r(l);let p=!!g,_=n(p?S.substring(0,g):S);if(!_){if(!p){h=l+(h.length>0?" "+h:h);continue}if(_=n(S),!_){h=l+(h.length>0?" "+h:h);continue}p=!1}const c=hht(v).join(":"),s=i?c+ake:c,d=s+_;if(m.includes(d))continue;m.push(d);const f=o(_,p);for(let b=0;b<f.length;++b){const x=f[b];m.push(s+x)}h=l+(h.length>0?" "+h:h)}return h};function ght(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ike(t))&&(n&&(n+=" "),n+=r);return n}const ike=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=ike(e[n]))&&(r&&(r+=" "),r+=t);return r};function yht(e,...t){let r,n,o,m=u;function u(a){const l=t.reduce((v,i)=>i(v),e());return r=pht(l),n=r.cache.get,o=r.cache.set,m=h,h(a)}function h(a){const l=n(a);if(l)return l;const v=mht(a,r);return o(a,v),v}return function(){return m(ght.apply(null,arguments))}}const zl=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},oke=/^\[(?:([a-z-]+):)?(.+)\]$/i,_ht=/^\d+\/\d+$/,xht=new Set(["px","full","screen"]),bht=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Eht=/\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$/,Sht=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,wht=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Tht=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,og=e=>Nw(e)||xht.has(e)||_ht.test(e),$y=e=>Iw(e,"length",Lht),Nw=e=>!!e&&!Number.isNaN(Number(e)),kfe=e=>Iw(e,"number",Nw),qA=e=>!!e&&Number.isInteger(Number(e)),Aht=e=>e.endsWith("%")&&Nw(e.slice(0,-1)),Zo=e=>oke.test(e),Hy=e=>bht.test(e),Cht=new Set(["length","size","percentage"]),kht=e=>Iw(e,Cht,ske),Mht=e=>Iw(e,"position",ske),Rht=new Set(["image","url"]),Nht=e=>Iw(e,Rht,Dht),Iht=e=>Iw(e,"",Oht),ZA=()=>!0,Iw=(e,t,r)=>{const n=oke.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Lht=e=>Eht.test(e)&&!Sht.test(e),ske=()=>!1,Oht=e=>wht.test(e),Dht=e=>Tht.test(e),Pht=yht(()=>{const e=zl("colors"),t=zl("spacing"),r=zl("blur"),n=zl("brightness"),o=zl("borderColor"),m=zl("borderRadius"),u=zl("borderSpacing"),h=zl("borderWidth"),a=zl("contrast"),l=zl("grayscale"),v=zl("hueRotate"),i=zl("invert"),S=zl("gap"),g=zl("gradientColorStops"),p=zl("gradientColorStopPositions"),_=zl("inset"),c=zl("margin"),s=zl("opacity"),d=zl("padding"),f=zl("saturate"),b=zl("scale"),x=zl("sepia"),y=zl("skew"),C=zl("space"),w=zl("translate"),R=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto",Zo,t],k=()=>[Zo,t],L=()=>["",og,$y],I=()=>["auto",Nw,Zo],P=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],M=()=>["solid","dashed","dotted","double","none"],F=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],T=()=>["","0",Zo],D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>[Nw,Zo];return{cacheSize:500,separator:":",theme:{colors:[ZA],spacing:[og,$y],blur:["none","",Hy,Zo],brightness:O(),borderColor:[e],borderRadius:["none","","full",Hy,Zo],borderSpacing:k(),borderWidth:L(),contrast:O(),grayscale:T(),hueRotate:O(),invert:T(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[Aht,$y],inset:E(),margin:E(),opacity:O(),padding:k(),saturate:O(),scale:O(),sepia:T(),skew:O(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",Zo]}],container:["container"],columns:[{columns:[Hy]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"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:[...P(),Zo]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[_]}],"inset-x":[{"inset-x":[_]}],"inset-y":[{"inset-y":[_]}],start:[{start:[_]}],end:[{end:[_]}],top:[{top:[_]}],right:[{right:[_]}],bottom:[{bottom:[_]}],left:[{left:[_]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",qA,Zo]}],basis:[{basis:E()}],"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:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",qA,Zo]}],"grid-cols":[{"grid-cols":[ZA]}],"col-start-end":[{col:["auto",{span:["full",qA,Zo]},Zo]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[ZA]}],"row-start-end":[{row:["auto",{span:[qA,Zo]},Zo]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"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:[S]}],"gap-x":[{"gap-x":[S]}],"gap-y":[{"gap-y":[S]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[d]}],px:[{px:[d]}],py:[{py:[d]}],ps:[{ps:[d]}],pe:[{pe:[d]}],pt:[{pt:[d]}],pr:[{pr:[d]}],pb:[{pb:[d]}],pl:[{pl:[d]}],m:[{m:[c]}],mx:[{mx:[c]}],my:[{my:[c]}],ms:[{ms:[c]}],me:[{me:[c]}],mt:[{mt:[c]}],mr:[{mr:[c]}],mb:[{mb:[c]}],ml:[{ml:[c]}],"space-x":[{"space-x":[C]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Zo,t]}],"min-w":[{"min-w":[Zo,t,"min","max","fit"]}],"max-w":[{"max-w":[Zo,t,"none","full","min","max","fit","prose",{screen:[Hy]},Hy]}],h:[{h:[Zo,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Zo,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Zo,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Zo,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Hy,$y]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",kfe]}],"font-family":[{font:[ZA]}],"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",Nw,kfe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",og,Zo]}],"list-image":[{"list-image":["none",Zo]}],"list-style-type":[{list:["none","disc","decimal",Zo]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[s]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[s]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...M(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",og,$y]}],"underline-offset":[{"underline-offset":["auto",og,Zo]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"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":[s]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...P(),Mht]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",kht]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Nht]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[p]}],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[m]}],"rounded-s":[{"rounded-s":[m]}],"rounded-e":[{"rounded-e":[m]}],"rounded-t":[{"rounded-t":[m]}],"rounded-r":[{"rounded-r":[m]}],"rounded-b":[{"rounded-b":[m]}],"rounded-l":[{"rounded-l":[m]}],"rounded-ss":[{"rounded-ss":[m]}],"rounded-se":[{"rounded-se":[m]}],"rounded-ee":[{"rounded-ee":[m]}],"rounded-es":[{"rounded-es":[m]}],"rounded-tl":[{"rounded-tl":[m]}],"rounded-tr":[{"rounded-tr":[m]}],"rounded-br":[{"rounded-br":[m]}],"rounded-bl":[{"rounded-bl":[m]}],"border-w":[{border:[h]}],"border-w-x":[{"border-x":[h]}],"border-w-y":[{"border-y":[h]}],"border-w-s":[{"border-s":[h]}],"border-w-e":[{"border-e":[h]}],"border-w-t":[{"border-t":[h]}],"border-w-r":[{"border-r":[h]}],"border-w-b":[{"border-b":[h]}],"border-w-l":[{"border-l":[h]}],"border-opacity":[{"border-opacity":[s]}],"border-style":[{border:[...M(),"hidden"]}],"divide-x":[{"divide-x":[h]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[h]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[s]}],"divide-style":[{divide:M()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...M()]}],"outline-offset":[{"outline-offset":[og,Zo]}],"outline-w":[{outline:[og,$y]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[s]}],"ring-offset-w":[{"ring-offset":[og,$y]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Hy,Iht]}],"shadow-color":[{shadow:[ZA]}],opacity:[{opacity:[s]}],"mix-blend":[{"mix-blend":[...F(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":F()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",Hy,Zo]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[v]}],invert:[{invert:[i]}],saturate:[{saturate:[f]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v]}],"backdrop-invert":[{"backdrop-invert":[i]}],"backdrop-opacity":[{"backdrop-opacity":[s]}],"backdrop-saturate":[{"backdrop-saturate":[f]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[u]}],"border-spacing-x":[{"border-spacing-x":[u]}],"border-spacing-y":[{"border-spacing-y":[u]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Zo]}],duration:[{duration:O()}],ease:[{ease:["linear","in","out","in-out",Zo]}],delay:[{delay:O()}],animate:[{animate:["none","spin","ping","pulse","bounce",Zo]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[qA,Zo]}],"translate-x":[{"translate-x":[w]}],"translate-y":[{"translate-y":[w]}],"skew-x":[{"skew-x":[y]}],"skew-y":[{"skew-y":[y]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Zo]}],accent:[{accent:["auto",e]}],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:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"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:[e,"none"]}],"stroke-w":[{stroke:[og,$y,kfe]}],stroke:[{stroke:[e,"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"]}}});function QA(...e){return Pht(iht(e))}/**
* @license lucide-react v0.468.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fht=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),lke=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim();/**
* @license lucide-react v0.468.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var Bht={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.468.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zht=Ue.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:o="",children:m,iconNode:u,...h},a)=>Ue.createElement("svg",{ref:a,...Bht,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:lke("lucide",o),...h},[...u.map(([l,v])=>Ue.createElement(l,v)),...Array.isArray(m)?m:[m]]));/**
* @license lucide-react v0.468.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qI=(e,t)=>{const r=Ue.forwardRef(({className:n,...o},m)=>Ue.createElement(zht,{ref:m,iconNode:t,className:lke(`lucide-${Fht(e)}`,n),...o}));return r.displayName=`${e}`,r};/**
* @license lucide-react v0.468.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Uht=qI("Maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]);/**
* @license lucide-react v0.468.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $ht=qI("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
* @license lucide-react v0.468.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Hht=qI("Minimize",[["path",{d:"M8 3v3a2 2 0 0 1-2 2H3",key:"hohbtr"}],["path",{d:"M21 8h-3a2 2 0 0 1-2-2V3",key:"5jw1f3"}],["path",{d:"M3 16h3a2 2 0 0 1 2 2v3",key:"198tvr"}],["path",{d:"M16 21v-3a2 2 0 0 1 2-2h3",key:"ph8mxp"}]]);/**
* @license lucide-react v0.468.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vht=qI("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function cke(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=cke(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function uke(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=cke(e))&&(n&&(n+=" "),n+=t);return n}const Mfe="-",Ght=e=>{const t=Yht(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:u=>{const h=u.split(Mfe);return h[0]===""&&h.length!==1&&h.shift(),dke(h,t)||jht(u)},getConflictingClassGroupIds:(u,h)=>{const a=r[u]||[];return h&&n[u]?[...a,...n[u]]:a}}},dke=(e,t)=>{var u;if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?dke(e.slice(1),n):void 0;if(o)return o;if(t.validators.length===0)return;const m=e.join(Mfe);return(u=t.validators.find(({validator:h})=>h(m)))==null?void 0:u.classGroupId},fke=/^\[(.+)\]$/,jht=e=>{if(fke.test(e)){const t=fke.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Yht=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Kht(Object.entries(e.classGroups),r).forEach(([m,u])=>{Rfe(u,n,m,t)}),n},Rfe=(e,t,r,n)=>{e.forEach(o=>{if(typeof o=="string"){const m=o===""?t:hke(t,o);m.classGroupId=r;return}if(typeof o=="function"){if(Wht(o)){Rfe(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([m,u])=>{Rfe(u,hke(t,m),r,n)})})},hke=(e,t)=>{let r=e;return t.split(Mfe).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Wht=e=>e.isThemeGetter,Kht=(e,t)=>t?e.map(([r,n])=>{const o=n.map(m=>typeof m=="string"?t+m:typeof m=="object"?Object.fromEntries(Object.entries(m).map(([u,h])=>[t+u,h])):m);return[r,o]}):e,Xht=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const o=(m,u)=>{r.set(m,u),t++,t>e&&(t=0,n=r,r=new Map)};return{get(m){let u=r.get(m);if(u!==void 0)return u;if((u=n.get(m))!==void 0)return o(m,u),u},set(m,u){r.has(m)?r.set(m,u):o(m,u)}}},pke="!",qht=e=>{const{separator:t,experimentalParseClassName:r}=e,n=t.length===1,o=t[0],m=t.length,u=h=>{const a=[];let l=0,v=0,i;for(let c=0;c<h.length;c++){let s=h[c];if(l===0){if(s===o&&(n||h.slice(c,c+m)===t)){a.push(h.slice(v,c)),v=c+m;continue}if(s==="/"){i=c;continue}}s==="["?l++:s==="]"&&l--}const S=a.length===0?h:h.substring(v),g=S.startsWith(pke),p=g?S.substring(1):S,_=i&&i>v?i-v:void 0;return{modifiers:a,hasImportantModifier:g,baseClassName:p,maybePostfixModifierPosition:_}};return r?h=>r({className:h,parseClassName:u}):u},Zht=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Qht=e=>({cache:Xht(e.cacheSize),parseClassName:qht(e),...Ght(e)}),Jht=/\s+/,ept=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,m=[],u=e.trim().split(Jht);let h="";for(let a=u.length-1;a>=0;a-=1){const l=u[a],{modifiers:v,hasImportantModifier:i,baseClassName:S,maybePostfixModifierPosition:g}=r(l);let p=!!g,_=n(p?S.substring(0,g):S);if(!_){if(!p){h=l+(h.length>0?" "+h:h);continue}if(_=n(S),!_){h=l+(h.length>0?" "+h:h);continue}p=!1}const c=Zht(v).join(":"),s=i?c+pke:c,d=s+_;if(m.includes(d))continue;m.push(d);const f=o(_,p);for(let b=0;b<f.length;++b){const x=f[b];m.push(s+x)}h=l+(h.length>0?" "+h:h)}return h};function tpt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=vke(t))&&(n&&(n+=" "),n+=r);return n}const vke=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=vke(e[n]))&&(r&&(r+=" "),r+=t);return r};function rpt(e,...t){let r,n,o,m=u;function u(a){const l=t.reduce((v,i)=>i(v),e());return r=Qht(l),n=r.cache.get,o=r.cache.set,m=h,h(a)}function h(a){const l=n(a);if(l)return l;const v=ept(a,r);return o(a,v),v}return function(){return m(tpt.apply(null,arguments))}}const Ul=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},mke=/^\[(?:([a-z-]+):)?(.+)\]$/i,npt=/^\d+\/\d+$/,apt=new Set(["px","full","screen"]),ipt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,opt=/\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$/,spt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,lpt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,cpt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,sg=e=>Lw(e)||apt.has(e)||npt.test(e),Vy=e=>Ow(e,"length",gpt),Lw=e=>!!e&&!Number.isNaN(Number(e)),Nfe=e=>Ow(e,"number",Lw),JA=e=>!!e&&Number.isInteger(Number(e)),upt=e=>e.endsWith("%")&&Lw(e.slice(0,-1)),Qo=e=>mke.test(e),Gy=e=>ipt.test(e),dpt=new Set(["length","size","percentage"]),fpt=e=>Ow(e,dpt,gke),hpt=e=>Ow(e,"position",gke),ppt=new Set(["image","url"]),vpt=e=>Ow(e,ppt,_pt),mpt=e=>Ow(e,"",ypt),eC=()=>!0,Ow=(e,t,r)=>{const n=mke.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},gpt=e=>opt.test(e)&&!spt.test(e),gke=()=>!1,ypt=e=>lpt.test(e),_pt=e=>cpt.test(e),xpt=rpt(()=>{const e=Ul("colors"),t=Ul("spacing"),r=Ul("blur"),n=Ul("brightness"),o=Ul("borderColor"),m=Ul("borderRadius"),u=Ul("borderSpacing"),h=Ul("borderWidth"),a=Ul("contrast"),l=Ul("grayscale"),v=Ul("hueRotate"),i=Ul("invert"),S=Ul("gap"),g=Ul("gradientColorStops"),p=Ul("gradientColorStopPositions"),_=Ul("inset"),c=Ul("margin"),s=Ul("opacity"),d=Ul("padding"),f=Ul("saturate"),b=Ul("scale"),x=Ul("sepia"),y=Ul("skew"),C=Ul("space"),w=Ul("translate"),R=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto",Qo,t],k=()=>[Qo,t],L=()=>["",sg,Vy],I=()=>["auto",Lw,Qo],P=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],M=()=>["solid","dashed","dotted","double","none"],F=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],T=()=>["","0",Qo],D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>[Lw,Qo];return{cacheSize:500,separator:":",theme:{colors:[eC],spacing:[sg,Vy],blur:["none","",Gy,Qo],brightness:O(),borderColor:[e],borderRadius:["none","","full",Gy,Qo],borderSpacing:k(),borderWidth:L(),contrast:O(),grayscale:T(),hueRotate:O(),invert:T(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[upt,Vy],inset:E(),margin:E(),opacity:O(),padding:k(),saturate:O(),scale:O(),sepia:T(),skew:O(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",Qo]}],container:["container"],columns:[{columns:[Gy]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"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:[...P(),Qo]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[_]}],"inset-x":[{"inset-x":[_]}],"inset-y":[{"inset-y":[_]}],start:[{start:[_]}],end:[{end:[_]}],top:[{top:[_]}],right:[{right:[_]}],bottom:[{bottom:[_]}],left:[{left:[_]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",JA,Qo]}],basis:[{basis:E()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Qo]}],grow:[{grow:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",JA,Qo]}],"grid-cols":[{"grid-cols":[eC]}],"col-start-end":[{col:["auto",{span:["full",JA,Qo]},Qo]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[eC]}],"row-start-end":[{row:["auto",{span:[JA,Qo]},Qo]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Qo]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Qo]}],gap:[{gap:[S]}],"gap-x":[{"gap-x":[S]}],"gap-y":[{"gap-y":[S]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[d]}],px:[{px:[d]}],py:[{py:[d]}],ps:[{ps:[d]}],pe:[{pe:[d]}],pt:[{pt:[d]}],pr:[{pr:[d]}],pb:[{pb:[d]}],pl:[{pl:[d]}],m:[{m:[c]}],mx:[{mx:[c]}],my:[{my:[c]}],ms:[{ms:[c]}],me:[{me:[c]}],mt:[{mt:[c]}],mr:[{mr:[c]}],mb:[{mb:[c]}],ml:[{ml:[c]}],"space-x":[{"space-x":[C]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Qo,t]}],"min-w":[{"min-w":[Qo,t,"min","max","fit"]}],"max-w":[{"max-w":[Qo,t,"none","full","min","max","fit","prose",{screen:[Gy]},Gy]}],h:[{h:[Qo,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Qo,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Qo,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Qo,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Gy,Vy]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Nfe]}],"font-family":[{font:[eC]}],"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",Qo]}],"line-clamp":[{"line-clamp":["none",Lw,Nfe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",sg,Qo]}],"list-image":[{"list-image":["none",Qo]}],"list-style-type":[{list:["none","disc","decimal",Qo]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[s]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[s]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...M(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",sg,Vy]}],"underline-offset":[{"underline-offset":["auto",sg,Qo]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Qo]}],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",Qo]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[s]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...P(),hpt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",fpt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},vpt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[p]}],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[m]}],"rounded-s":[{"rounded-s":[m]}],"rounded-e":[{"rounded-e":[m]}],"rounded-t":[{"rounded-t":[m]}],"rounded-r":[{"rounded-r":[m]}],"rounded-b":[{"rounded-b":[m]}],"rounded-l":[{"rounded-l":[m]}],"rounded-ss":[{"rounded-ss":[m]}],"rounded-se":[{"rounded-se":[m]}],"rounded-ee":[{"rounded-ee":[m]}],"rounded-es":[{"rounded-es":[m]}],"rounded-tl":[{"rounded-tl":[m]}],"rounded-tr":[{"rounded-tr":[m]}],"rounded-br":[{"rounded-br":[m]}],"rounded-bl":[{"rounded-bl":[m]}],"border-w":[{border:[h]}],"border-w-x":[{"border-x":[h]}],"border-w-y":[{"border-y":[h]}],"border-w-s":[{"border-s":[h]}],"border-w-e":[{"border-e":[h]}],"border-w-t":[{"border-t":[h]}],"border-w-r":[{"border-r":[h]}],"border-w-b":[{"border-b":[h]}],"border-w-l":[{"border-l":[h]}],"border-opacity":[{"border-opacity":[s]}],"border-style":[{border:[...M(),"hidden"]}],"divide-x":[{"divide-x":[h]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[h]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[s]}],"divide-style":[{divide:M()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...M()]}],"outline-offset":[{"outline-offset":[sg,Qo]}],"outline-w":[{outline:[sg,Vy]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[s]}],"ring-offset-w":[{"ring-offset":[sg,Vy]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Gy,mpt]}],"shadow-color":[{shadow:[eC]}],opacity:[{opacity:[s]}],"mix-blend":[{"mix-blend":[...F(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":F()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",Gy,Qo]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[v]}],invert:[{invert:[i]}],saturate:[{saturate:[f]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v]}],"backdrop-invert":[{"backdrop-invert":[i]}],"backdrop-opacity":[{"backdrop-opacity":[s]}],"backdrop-saturate":[{"backdrop-saturate":[f]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[u]}],"border-spacing-x":[{"border-spacing-x":[u]}],"border-spacing-y":[{"border-spacing-y":[u]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Qo]}],duration:[{duration:O()}],ease:[{ease:["linear","in","out","in-out",Qo]}],delay:[{delay:O()}],animate:[{animate:["none","spin","ping","pulse","bounce",Qo]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[JA,Qo]}],"translate-x":[{"translate-x":[w]}],"translate-y":[{"translate-y":[w]}],"skew-x":[{"skew-x":[y]}],"skew-y":[{"skew-y":[y]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Qo]}],accent:[{accent:["auto",e]}],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",Qo]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"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",Qo]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[sg,Vy,Nfe]}],stroke:[{stroke:[e,"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"]}}});function ga(...e){return xpt(uke(e))}const Ife=e=>{const t=["user_message","assistant_message","tool"];return e.some(r=>t.includes(r.type)||Ife(r.steps||[]))};function bpt(e){const t=e.split(" ").map(g=>parseFloat(g.replace("%",""))),r=t[0],n=t[1],o=t[2],m=r/360,u=n/100,h=o/100;function a(g,p,_){return _<0&&(_+=1),_>1&&(_-=1),_<1/6?g+(p-g)*6*_:_<1/2?p:_<2/3?g+(p-g)*(2/3-_)*6:g}let l,v,i;if(u===0)l=v=i=h;else{const g=h<.5?h*(1+u):h+u-h*u,p=2*h-g;l=a(p,g,m+1/3),v=a(p,g,m),i=a(p,g,m-1/3)}const S=g=>{const p=Math.round(g*255).toString(16);return p.length===1?"0"+p:p};return`#${S(l)}${S(v)}${S(i)}`}const Ept={info:{light:{container:"bg-blue-50 border-blue-200 dark:bg-blue-950 dark:border-blue-900",icon:"text-blue-400 dark:text-blue-300",text:"text-blue-700 dark:text-blue-200"},dark:{container:"bg-blue-950 border-blue-900",icon:"text-blue-300",text:"text-blue-200"}},error:{light:{container:"bg-red-50 border-red-200 dark:bg-red-950 dark:border-red-900",icon:"text-red-400 dark:text-red-300",text:"text-red-700 dark:text-red-200"},dark:{container:"bg-red-950 border-red-900",icon:"text-red-300",text:"text-red-200"}}},Spt={info:Oe.jsx("svg",{className:"h-5 w-5",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Oe.jsx("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"})}),error:Oe.jsx("svg",{className:"h-5 w-5",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Oe.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z",clipRule:"evenodd"})})},ex=({variant:e="info",children:t,className:r,id:n})=>{const o=Ept[e].light;return Oe.jsx("div",{id:n,className:ga("border rounded-lg p-4 mb-4 alert",o.container,r),children:Oe.jsxs("div",{className:"flex",children:[Oe.jsx("div",{className:ga("flex-shrink-0",o.icon),children:Spt[e]}),Oe.jsx("div",{className:"ml-3",children:Oe.jsx("p",{className:ga("text-sm",o.text),children:t})})]})})};function yke(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function tC(...e){return t=>{let r=!1;const n=e.map(o=>{const m=yke(o,t);return!r&&typeof m=="function"&&(r=!0),m});if(r)return()=>{for(let o=0;o<n.length;o++){const m=n[o];typeof m=="function"?m():yke(e[o],null)}}}}function co(...e){return Ue.useCallback(tC(...e),e)}var Lv=Ue.forwardRef((e,t)=>{const{children:r,...n}=e,o=Ue.Children.toArray(r),m=o.find(wpt);if(m){const u=m.props.children,h=o.map(a=>a===m?Ue.Children.count(u)>1?Ue.Children.only(null):Ue.isValidElement(u)?u.props.children:null:a);return Oe.jsx(Lfe,{...n,ref:t,children:Ue.isValidElement(u)?Ue.cloneElement(u,void 0,h):null})}return Oe.jsx(Lfe,{...n,ref:t,children:r})});Lv.displayName="Slot";var Lfe=Ue.forwardRef((e,t)=>{const{children:r,...n}=e;if(Ue.isValidElement(r)){const o=Apt(r);return Ue.cloneElement(r,{...Tpt(n,r.props),ref:t?tC(t,o):o})}return Ue.Children.count(r)>1?Ue.Children.only(null):null});Lfe.displayName="SlotClone";var Ofe=({children:e})=>Oe.jsx(Oe.Fragment,{children:e});function wpt(e){return Ue.isValidElement(e)&&e.type===Ofe}function Tpt(e,t){const r={...t};for(const n in t){const o=e[n],m=t[n];/^on[A-Z]/.test(n)?o&&m?r[n]=(...h)=>{m(...h),o(...h)}:o&&(r[n]=o):n==="style"?r[n]={...o,...m}:n==="className"&&(r[n]=[o,m].filter(Boolean).join(" "))}return{...e,...r}}function Apt(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}const _ke=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,xke=uke,ZI=(e,t)=>r=>{var n;if((t==null?void 0:t.variants)==null)return xke(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:o,defaultVariants:m}=t,u=Object.keys(o).map(l=>{const v=r==null?void 0:r[l],i=m==null?void 0:m[l];if(v===null)return null;const S=_ke(v)||_ke(i);return o[l][S]}),h=r&&Object.entries(r).reduce((l,v)=>{let[i,S]=v;return S===void 0||(l[i]=S),l},{}),a=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((l,v)=>{let{class:i,className:S,...g}=v;return Object.entries(g).every(p=>{let[_,c]=p;return Array.isArray(c)?c.includes({...m,...h}[_]):{...m,...h}[_]===c})?[...l,i,S]:l},[]);return xke(e,u,a,r==null?void 0:r.class,r==null?void 0:r.className)},rC=ZI("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 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 hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Ko=Ue.forwardRef(({className:e,variant:t,size:r,asChild:n=!1,...o},m)=>{const u=n?Lv:"button";return Oe.jsx(u,{className:ga(rC({variant:t,size:r,className:e})),ref:m,...o})});Ko.displayName="Button";const Cpt=Object.freeze(Object.defineProperty({__proto__:null,Button:Ko,buttonVariants:rC},Symbol.toStringTag,{value:"Module"}));function qa(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e==null||e(o),r===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function kpt(e,t){const r=Ue.createContext(t),n=m=>{const{children:u,...h}=m,a=Ue.useMemo(()=>h,Object.values(h));return Oe.jsx(r.Provider,{value:a,children:u})};n.displayName=e+"Provider";function o(m){const u=Ue.useContext(r);if(u)return u;if(t!==void 0)return t;throw new Error(`\`${m}\` must be used within \`${e}\``)}return[n,o]}function Lc(e,t=[]){let r=[];function n(m,u){const h=Ue.createContext(u),a=r.length;r=[...r,u];const l=i=>{var s;const{scope:S,children:g,...p}=i,_=((s=S==null?void 0:S[e])==null?void 0:s[a])||h,c=Ue.useMemo(()=>p,Object.values(p));return Oe.jsx(_.Provider,{value:c,children:g})};l.displayName=m+"Provider";function v(i,S){var _;const g=((_=S==null?void 0:S[e])==null?void 0:_[a])||h,p=Ue.useContext(g);if(p)return p;if(u!==void 0)return u;throw new Error(`\`${i}\` must be used within \`${m}\``)}return[l,v]}const o=()=>{const m=r.map(u=>Ue.createContext(u));return function(h){const a=(h==null?void 0:h[e])||m;return Ue.useMemo(()=>({[`__scope${e}`]:{...h,[e]:a}}),[h,a])}};return o.scopeName=e,[n,Mpt(o,...t)]}function Mpt(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(m){const u=n.reduce((h,{useScope:a,scopeName:l})=>{const i=a(m)[`__scope${l}`];return{...h,...i}},{});return Ue.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return r.scopeName=t.scopeName,r}var bke={exports:{}},Ip={},Eke={exports:{}},Ske={};/**
* @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(e){function t(N,T){var D=N.length;N.push(T);e:for(;0<D;){var O=D-1>>>1,U=N[O];if(0<o(U,T))N[O]=T,N[D]=U,D=O;else break e}}function r(N){return N.length===0?null:N[0]}function n(N){if(N.length===0)return null;var T=N[0],D=N.pop();if(D!==T){N[0]=D;e:for(var O=0,U=N.length,B=U>>>1;O<B;){var Y=2*(O+1)-1,z=N[Y],V=Y+1,j=N[V];if(0>o(z,D))V<U&&0>o(j,z)?(N[O]=j,N[V]=D,O=V):(N[O]=z,N[Y]=D,O=Y);else if(V<U&&0>o(j,D))N[O]=j,N[V]=D,O=V;else break e}}return T}function o(N,T){var D=N.sortIndex-T.sortIndex;return D!==0?D:N.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var m=performance;e.unstable_now=function(){return m.now()}}else{var u=Date,h=u.now();e.unstable_now=function(){return u.now()-h}}var a=[],l=[],v=1,i=null,S=3,g=!1,p=!1,_=!1,c=typeof setTimeout=="function"?setTimeout:null,s=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(N){for(var T=r(l);T!==null;){if(T.callback===null)n(l);else if(T.startTime<=N)n(l),T.sortIndex=T.expirationTime,t(a,T);else break;T=r(l)}}function b(N){if(_=!1,f(N),!p)if(r(a)!==null)p=!0,M(x);else{var T=r(l);T!==null&&F(b,T.startTime-N)}}function x(N,T){p=!1,_&&(_=!1,s(w),w=-1),g=!0;var D=S;try{for(f(T),i=r(a);i!==null&&(!(i.expirationTime>T)||N&&!E());){var O=i.callback;if(typeof O=="function"){i.callback=null,S=i.priorityLevel;var U=O(i.expirationTime<=T);T=e.unstable_now(),typeof U=="function"?i.callback=U:i===r(a)&&n(a),f(T)}else n(a);i=r(a)}if(i!==null)var B=!0;else{var Y=r(l);Y!==null&&F(b,Y.startTime-T),B=!1}return B}finally{i=null,S=D,g=!1}}var y=!1,C=null,w=-1,R=5,A=-1;function E(){return!(e.unstable_now()-A<R)}function k(){if(C!==null){var N=e.unstable_now();A=N;var T=!0;try{T=C(!0,N)}finally{T?L():(y=!1,C=null)}}else y=!1}var L;if(typeof d=="function")L=function(){d(k)};else if(typeof MessageChannel<"u"){var I=new MessageChannel,P=I.port2;I.port1.onmessage=k,L=function(){P.postMessage(null)}}else L=function(){c(k,0)};function M(N){C=N,y||(y=!0,L())}function F(N,T){w=c(function(){N(e.unstable_now())},T)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(N){N.callback=null},e.unstable_continueExecution=function(){p||g||(p=!0,M(x))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return S},e.unstable_getFirstCallbackNode=function(){return r(a)},e.unstable_next=function(N){switch(S){case 1:case 2:case 3:var T=3;break;default:T=S}var D=S;S=T;try{return N()}finally{S=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,T){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var D=S;S=N;try{return T()}finally{S=D}},e.unstable_scheduleCallback=function(N,T,D){var O=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?O+D:O):D=O,N){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=D+U,N={id:v++,callback:T,priorityLevel:N,startTime:D,expirationTime:U,sortIndex:-1},D>O?(N.sortIndex=D,t(l,N),r(a)===null&&N===r(l)&&(_?(s(w),w=-1):_=!0,F(b,D-O))):(N.sortIndex=U,t(a,N),p||g||(p=!0,M(x))),N},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(N){var T=S;return function(){var D=S;S=T;try{return N.apply(this,arguments)}finally{S=D}}}})(Ske),Eke.exports=Ske;var Rpt=Eke.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 Npt=Ue,Lp=Rpt;function gi(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var wke=new Set,nC={};function tx(e,t){Dw(e,t),Dw(e+"Capture",t)}function Dw(e,t){for(nC[e]=t,e=0;e<t.length;e++)wke.add(t[e])}var lg=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Dfe=Object.prototype.hasOwnProperty,Ipt=/^[: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]*$/,Tke={},Ake={};function Lpt(e){return Dfe.call(Ake,e)?!0:Dfe.call(Tke,e)?!1:Ipt.test(e)?Ake[e]=!0:(Tke[e]=!0,!1)}function Opt(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Dpt(e,t,r,n){if(t===null||typeof t>"u"||Opt(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function $f(e,t,r,n,o,m,u){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=m,this.removeEmptyString=u}var Cd={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Cd[e]=new $f(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Cd[t]=new $f(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Cd[e]=new $f(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Cd[e]=new $f(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Cd[e]=new $f(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Cd[e]=new $f(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Cd[e]=new $f(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Cd[e]=new $f(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Cd[e]=new $f(e,5,!1,e.toLowerCase(),null,!1,!1)});var Pfe=/[\-:]([a-z])/g;function Ffe(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Pfe,Ffe);Cd[t]=new $f(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Pfe,Ffe);Cd[t]=new $f(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Pfe,Ffe);Cd[t]=new $f(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Cd[e]=new $f(e,1,!1,e.toLowerCase(),null,!1,!1)}),Cd.xlinkHref=new $f("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Cd[e]=new $f(e,1,!1,e.toLowerCase(),null,!0,!0)});function Bfe(e,t,r,n){var o=Cd.hasOwnProperty(t)?Cd[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Dpt(t,r,o,n)&&(r=null),n||o===null?Lpt(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=r===null?o.type===3?!1:"":r:(t=o.attributeName,n=o.attributeNamespace,r===null?e.removeAttribute(t):(o=o.type,r=o===3||o===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var cg=Npt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,QI=Symbol.for("react.element"),Pw=Symbol.for("react.portal"),Fw=Symbol.for("react.fragment"),zfe=Symbol.for("react.strict_mode"),Ufe=Symbol.for("react.profiler"),Cke=Symbol.for("react.provider"),kke=Symbol.for("react.context"),$fe=Symbol.for("react.forward_ref"),Hfe=Symbol.for("react.suspense"),Vfe=Symbol.for("react.suspense_list"),Gfe=Symbol.for("react.memo"),jy=Symbol.for("react.lazy"),Mke=Symbol.for("react.offscreen"),Rke=Symbol.iterator;function aC(e){return e===null||typeof e!="object"?null:(e=Rke&&e[Rke]||e["@@iterator"],typeof e=="function"?e:null)}var gc=Object.assign,jfe;function iC(e){if(jfe===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);jfe=t&&t[1]||""}return`
`+jfe+e}var Yfe=!1;function Wfe(e,t){if(!e||Yfe)return"";Yfe=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var n=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){n=l}e.call(t.prototype)}else{try{throw Error()}catch(l){n=l}e()}}catch(l){if(l&&n&&typeof l.stack=="string"){for(var o=l.stack.split(`
`),m=n.stack.split(`
`),u=o.length-1,h=m.length-1;1<=u&&0<=h&&o[u]!==m[h];)h--;for(;1<=u&&0<=h;u--,h--)if(o[u]!==m[h]){if(u!==1||h!==1)do if(u--,h--,0>h||o[u]!==m[h]){var a=`
`+o[u].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=u&&0<=h);break}}}finally{Yfe=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?iC(e):""}function Ppt(e){switch(e.tag){case 5:return iC(e.type);case 16:return iC("Lazy");case 13:return iC("Suspense");case 19:return iC("SuspenseList");case 0:case 2:case 15:return e=Wfe(e.type,!1),e;case 11:return e=Wfe(e.type.render,!1),e;case 1:return e=Wfe(e.type,!0),e;default:return""}}function Kfe(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Fw:return"Fragment";case Pw:return"Portal";case Ufe:return"Profiler";case zfe:return"StrictMode";case Hfe:return"Suspense";case Vfe:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case kke:return(e.displayName||"Context")+".Consumer";case Cke:return(e._context.displayName||"Context")+".Provider";case $fe:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Gfe:return t=e.displayName||null,t!==null?t:Kfe(e.type)||"Memo";case jy:t=e._payload,e=e._init;try{return Kfe(e(t))}catch{}}return null}function Fpt(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Kfe(t);case 8:return t===zfe?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Yy(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Nke(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Bpt(e){var t=Nke(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,m=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(u){n=""+u,m.call(this,u)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(u){n=""+u},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function JI(e){e._valueTracker||(e._valueTracker=Bpt(e))}function Ike(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Nke(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function e7(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Xfe(e,t){var r=t.checked;return gc({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Lke(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Yy(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Oke(e,t){t=t.checked,t!=null&&Bfe(e,"checked",t,!1)}function qfe(e,t){Oke(e,t);var r=Yy(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Zfe(e,t.type,r):t.hasOwnProperty("defaultValue")&&Zfe(e,t.type,Yy(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Dke(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Zfe(e,t,r){(t!=="number"||e7(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var oC=Array.isArray;function Bw(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+Yy(r),t=null,o=0;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,n&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Qfe(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(gi(91));return gc({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Pke(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(gi(92));if(oC(r)){if(1<r.length)throw Error(gi(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Yy(r)}}function Fke(e,t){var r=Yy(t.value),n=Yy(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function Bke(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function zke(e){switch(e){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 Jfe(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?zke(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var t7,Uke=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,o){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(t7=t7||document.createElement("div"),t7.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=t7.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function sC(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var lC={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},zpt=["Webkit","ms","Moz","O"];Object.keys(lC).forEach(function(e){zpt.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),lC[t]=lC[e]})});function $ke(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||lC.hasOwnProperty(e)&&lC[e]?(""+t).trim():t+"px"}function Hke(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=$ke(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var Upt=gc({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 ehe(e,t){if(t){if(Upt[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(gi(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(gi(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(gi(61))}if(t.style!=null&&typeof t.style!="object")throw Error(gi(62))}}function the(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var rhe=null;function nhe(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ahe=null,zw=null,Uw=null;function Vke(e){if(e=RC(e)){if(typeof ahe!="function")throw Error(gi(280));var t=e.stateNode;t&&(t=w7(t),ahe(e.stateNode,e.type,t))}}function Gke(e){zw?Uw?Uw.push(e):Uw=[e]:zw=e}function jke(){if(zw){var e=zw,t=Uw;if(Uw=zw=null,Vke(e),t)for(e=0;e<t.length;e++)Vke(t[e])}}function Yke(e,t){return e(t)}function Wke(){}var ihe=!1;function Kke(e,t,r){if(ihe)return e(t,r);ihe=!0;try{return Yke(e,t,r)}finally{ihe=!1,(zw!==null||Uw!==null)&&(Wke(),jke())}}function cC(e,t){var r=e.stateNode;if(r===null)return null;var n=w7(r);if(n===null)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(gi(231,t,typeof r));return r}var ohe=!1;if(lg)try{var uC={};Object.defineProperty(uC,"passive",{get:function(){ohe=!0}}),window.addEventListener("test",uC,uC),window.removeEventListener("test",uC,uC)}catch{ohe=!1}function $pt(e,t,r,n,o,m,u,h,a){var l=Array.prototype.slice.call(arguments,3);try{t.apply(r,l)}catch(v){this.onError(v)}}var dC=!1,r7=null,n7=!1,she=null,Hpt={onError:function(e){dC=!0,r7=e}};function Vpt(e,t,r,n,o,m,u,h,a){dC=!1,r7=null,$pt.apply(Hpt,arguments)}function Gpt(e,t,r,n,o,m,u,h,a){if(Vpt.apply(this,arguments),dC){if(dC){var l=r7;dC=!1,r7=null}else throw Error(gi(198));n7||(n7=!0,she=l)}}function rx(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function Xke(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function qke(e){if(rx(e)!==e)throw Error(gi(188))}function jpt(e){var t=e.alternate;if(!t){if(t=rx(e),t===null)throw Error(gi(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(o===null)break;var m=o.alternate;if(m===null){if(n=o.return,n!==null){r=n;continue}break}if(o.child===m.child){for(m=o.child;m;){if(m===r)return qke(o),e;if(m===n)return qke(o),t;m=m.sibling}throw Error(gi(188))}if(r.return!==n.return)r=o,n=m;else{for(var u=!1,h=o.child;h;){if(h===r){u=!0,r=o,n=m;break}if(h===n){u=!0,n=o,r=m;break}h=h.sibling}if(!u){for(h=m.child;h;){if(h===r){u=!0,r=m,n=o;break}if(h===n){u=!0,n=m,r=o;break}h=h.sibling}if(!u)throw Error(gi(189))}}if(r.alternate!==n)throw Error(gi(190))}if(r.tag!==3)throw Error(gi(188));return r.stateNode.current===r?e:t}function Zke(e){return e=jpt(e),e!==null?Qke(e):null}function Qke(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Qke(e);if(t!==null)return t;e=e.sibling}return null}var Jke=Lp.unstable_scheduleCallback,eMe=Lp.unstable_cancelCallback,Ypt=Lp.unstable_shouldYield,Wpt=Lp.unstable_requestPaint,Zc=Lp.unstable_now,Kpt=Lp.unstable_getCurrentPriorityLevel,lhe=Lp.unstable_ImmediatePriority,tMe=Lp.unstable_UserBlockingPriority,a7=Lp.unstable_NormalPriority,Xpt=Lp.unstable_LowPriority,rMe=Lp.unstable_IdlePriority,i7=null,Ov=null;function qpt(e){if(Ov&&typeof Ov.onCommitFiberRoot=="function")try{Ov.onCommitFiberRoot(i7,e,void 0,(e.current.flags&128)===128)}catch{}}var M1=Math.clz32?Math.clz32:Jpt,Zpt=Math.log,Qpt=Math.LN2;function Jpt(e){return e>>>=0,e===0?32:31-(Zpt(e)/Qpt|0)|0}var o7=64,s7=4194304;function fC(e){switch(e&-e){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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function l7(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,m=e.pingedLanes,u=r&268435455;if(u!==0){var h=u&~o;h!==0?n=fC(h):(m&=u,m!==0&&(n=fC(m)))}else u=r&~o,u!==0?n=fC(u):m!==0&&(n=fC(m));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,m=t&-t,o>=m||o===16&&(m&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-M1(t),o=1<<r,n|=e[r],t&=~o;return n}function e0t(e,t){switch(e){case 1:case 2:case 4:return t+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 t+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 t0t(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,m=e.pendingLanes;0<m;){var u=31-M1(m),h=1<<u,a=o[u];a===-1?(!(h&r)||h&n)&&(o[u]=e0t(h,t)):a<=t&&(e.expiredLanes|=h),m&=~h}}function che(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function nMe(){var e=o7;return o7<<=1,!(o7&4194240)&&(o7=64),e}function uhe(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function hC(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-M1(t),e[t]=r}function r0t(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-M1(r),m=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~m}}function dhe(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-M1(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var sl=0;function aMe(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var iMe,fhe,oMe,sMe,lMe,hhe=!1,c7=[],Wy=null,Ky=null,Xy=null,pC=new Map,vC=new Map,qy=[],n0t="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 cMe(e,t){switch(e){case"focusin":case"focusout":Wy=null;break;case"dragenter":case"dragleave":Ky=null;break;case"mouseover":case"mouseout":Xy=null;break;case"pointerover":case"pointerout":pC.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vC.delete(t.pointerId)}}function mC(e,t,r,n,o,m){return e===null||e.nativeEvent!==m?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:m,targetContainers:[o]},t!==null&&(t=RC(t),t!==null&&fhe(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function a0t(e,t,r,n,o){switch(t){case"focusin":return Wy=mC(Wy,e,t,r,n,o),!0;case"dragenter":return Ky=mC(Ky,e,t,r,n,o),!0;case"mouseover":return Xy=mC(Xy,e,t,r,n,o),!0;case"pointerover":var m=o.pointerId;return pC.set(m,mC(pC.get(m)||null,e,t,r,n,o)),!0;case"gotpointercapture":return m=o.pointerId,vC.set(m,mC(vC.get(m)||null,e,t,r,n,o)),!0}return!1}function uMe(e){var t=nx(e.target);if(t!==null){var r=rx(t);if(r!==null){if(t=r.tag,t===13){if(t=Xke(r),t!==null){e.blockedOn=t,lMe(e.priority,function(){oMe(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function u7(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=vhe(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);rhe=n,r.target.dispatchEvent(n),rhe=null}else return t=RC(r),t!==null&&fhe(t),e.blockedOn=r,!1;t.shift()}return!0}function dMe(e,t,r){u7(e)&&r.delete(t)}function i0t(){hhe=!1,Wy!==null&&u7(Wy)&&(Wy=null),Ky!==null&&u7(Ky)&&(Ky=null),Xy!==null&&u7(Xy)&&(Xy=null),pC.forEach(dMe),vC.forEach(dMe)}function gC(e,t){e.blockedOn===t&&(e.blockedOn=null,hhe||(hhe=!0,Lp.unstable_scheduleCallback(Lp.unstable_NormalPriority,i0t)))}function yC(e){function t(o){return gC(o,e)}if(0<c7.length){gC(c7[0],e);for(var r=1;r<c7.length;r++){var n=c7[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Wy!==null&&gC(Wy,e),Ky!==null&&gC(Ky,e),Xy!==null&&gC(Xy,e),pC.forEach(t),vC.forEach(t),r=0;r<qy.length;r++)n=qy[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<qy.length&&(r=qy[0],r.blockedOn===null);)uMe(r),r.blockedOn===null&&qy.shift()}var $w=cg.ReactCurrentBatchConfig,d7=!0;function o0t(e,t,r,n){var o=sl,m=$w.transition;$w.transition=null;try{sl=1,phe(e,t,r,n)}finally{sl=o,$w.transition=m}}function s0t(e,t,r,n){var o=sl,m=$w.transition;$w.transition=null;try{sl=4,phe(e,t,r,n)}finally{sl=o,$w.transition=m}}function phe(e,t,r,n){if(d7){var o=vhe(e,t,r,n);if(o===null)Ihe(e,t,n,f7,r),cMe(e,n);else if(a0t(o,e,t,r,n))n.stopPropagation();else if(cMe(e,n),t&4&&-1<n0t.indexOf(e)){for(;o!==null;){var m=RC(o);if(m!==null&&iMe(m),m=vhe(e,t,r,n),m===null&&Ihe(e,t,n,f7,r),m===o)break;o=m}o!==null&&n.stopPropagation()}else Ihe(e,t,n,null,r)}}var f7=null;function vhe(e,t,r,n){if(f7=null,e=nhe(n),e=nx(e),e!==null)if(t=rx(e),t===null)e=null;else if(r=t.tag,r===13){if(e=Xke(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return f7=e,null}function fMe(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 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(Kpt()){case lhe:return 1;case tMe:return 4;case a7:case Xpt:return 16;case rMe:return 536870912;default:return 16}default:return 16}}var Zy=null,mhe=null,h7=null;function hMe(){if(h7)return h7;var e,t=mhe,r=t.length,n,o="value"in Zy?Zy.value:Zy.textContent,m=o.length;for(e=0;e<r&&t[e]===o[e];e++);var u=r-e;for(n=1;n<=u&&t[r-n]===o[m-n];n++);return h7=o.slice(e,1<n?1-n:void 0)}function p7(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function v7(){return!0}function pMe(){return!1}function Op(e){function t(r,n,o,m,u){this._reactName=r,this._targetInst=o,this.type=n,this.nativeEvent=m,this.target=u,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(r=e[h],this[h]=r?r(m):m[h]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?v7:pMe,this.isPropagationStopped=pMe,this}return gc(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=v7)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=v7)},persist:function(){},isPersistent:v7}),t}var Hw={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ghe=Op(Hw),_C=gc({},Hw,{view:0,detail:0}),l0t=Op(_C),yhe,_he,xC,m7=gc({},_C,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bhe,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==xC&&(xC&&e.type==="mousemove"?(yhe=e.screenX-xC.screenX,_he=e.screenY-xC.screenY):_he=yhe=0,xC=e),yhe)},movementY:function(e){return"movementY"in e?e.movementY:_he}}),vMe=Op(m7),c0t=gc({},m7,{dataTransfer:0}),u0t=Op(c0t),d0t=gc({},_C,{relatedTarget:0}),xhe=Op(d0t),f0t=gc({},Hw,{animationName:0,elapsedTime:0,pseudoElement:0}),h0t=Op(f0t),p0t=gc({},Hw,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),v0t=Op(p0t),m0t=gc({},Hw,{data:0}),mMe=Op(m0t),g0t={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},y0t={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"},_0t={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function x0t(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=_0t[e])?!!t[e]:!1}function bhe(){return x0t}var b0t=gc({},_C,{key:function(e){if(e.key){var t=g0t[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=p7(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?y0t[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bhe,charCode:function(e){return e.type==="keypress"?p7(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?p7(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),E0t=Op(b0t),S0t=gc({},m7,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),gMe=Op(S0t),w0t=gc({},_C,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bhe}),T0t=Op(w0t),A0t=gc({},Hw,{propertyName:0,elapsedTime:0,pseudoElement:0}),C0t=Op(A0t),k0t=gc({},m7,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),M0t=Op(k0t),R0t=[9,13,27,32],Ehe=lg&&"CompositionEvent"in window,bC=null;lg&&"documentMode"in document&&(bC=document.documentMode);var N0t=lg&&"TextEvent"in window&&!bC,yMe=lg&&(!Ehe||bC&&8<bC&&11>=bC),_Me=" ",xMe=!1;function bMe(e,t){switch(e){case"keyup":return R0t.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function EMe(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Vw=!1;function I0t(e,t){switch(e){case"compositionend":return EMe(t);case"keypress":return t.which!==32?null:(xMe=!0,_Me);case"textInput":return e=t.data,e===_Me&&xMe?null:e;default:return null}}function L0t(e,t){if(Vw)return e==="compositionend"||!Ehe&&bMe(e,t)?(e=hMe(),h7=mhe=Zy=null,Vw=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return yMe&&t.locale!=="ko"?null:t.data;default:return null}}var O0t={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 SMe(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!O0t[e.type]:t==="textarea"}function wMe(e,t,r,n){Gke(n),t=b7(t,"onChange"),0<t.length&&(r=new ghe("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var EC=null,SC=null;function D0t(e){HMe(e,0)}function g7(e){var t=Kw(e);if(Ike(t))return e}function P0t(e,t){if(e==="change")return t}var TMe=!1;if(lg){var She;if(lg){var whe="oninput"in document;if(!whe){var AMe=document.createElement("div");AMe.setAttribute("oninput","return;"),whe=typeof AMe.oninput=="function"}She=whe}else She=!1;TMe=She&&(!document.documentMode||9<document.documentMode)}function CMe(){EC&&(EC.detachEvent("onpropertychange",kMe),SC=EC=null)}function kMe(e){if(e.propertyName==="value"&&g7(SC)){var t=[];wMe(t,SC,e,nhe(e)),Kke(D0t,t)}}function F0t(e,t,r){e==="focusin"?(CMe(),EC=t,SC=r,EC.attachEvent("onpropertychange",kMe)):e==="focusout"&&CMe()}function B0t(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return g7(SC)}function z0t(e,t){if(e==="click")return g7(t)}function U0t(e,t){if(e==="input"||e==="change")return g7(t)}function $0t(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var R1=typeof Object.is=="function"?Object.is:$0t;function wC(e,t){if(R1(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var o=r[n];if(!Dfe.call(t,o)||!R1(e[o],t[o]))return!1}return!0}function MMe(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function RMe(e,t){var r=MMe(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=MMe(r)}}function NMe(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?NMe(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function IMe(){for(var e=window,t=e7();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=e7(e.document)}return t}function The(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function H0t(e){var t=IMe(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&NMe(r.ownerDocument.documentElement,r)){if(n!==null&&The(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,m=Math.min(n.start,o);n=n.end===void 0?m:Math.min(n.end,o),!e.extend&&m>n&&(o=n,n=m,m=o),o=RMe(r,m);var u=RMe(r,n);o&&u&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),m>n?(e.addRange(t),e.extend(u.node,u.offset)):(t.setEnd(u.node,u.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var V0t=lg&&"documentMode"in document&&11>=document.documentMode,Gw=null,Ahe=null,TC=null,Che=!1;function LMe(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Che||Gw==null||Gw!==e7(n)||(n=Gw,"selectionStart"in n&&The(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),TC&&wC(TC,n)||(TC=n,n=b7(Ahe,"onSelect"),0<n.length&&(t=new ghe("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=Gw)))}function y7(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var jw={animationend:y7("Animation","AnimationEnd"),animationiteration:y7("Animation","AnimationIteration"),animationstart:y7("Animation","AnimationStart"),transitionend:y7("Transition","TransitionEnd")},khe={},OMe={};lg&&(OMe=document.createElement("div").style,"AnimationEvent"in window||(delete jw.animationend.animation,delete jw.animationiteration.animation,delete jw.animationstart.animation),"TransitionEvent"in window||delete jw.transitionend.transition);function _7(e){if(khe[e])return khe[e];if(!jw[e])return e;var t=jw[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in OMe)return khe[e]=t[r];return e}var DMe=_7("animationend"),PMe=_7("animationiteration"),FMe=_7("animationstart"),BMe=_7("transitionend"),zMe=new Map,UMe="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 Qy(e,t){zMe.set(e,t),tx(t,[e])}for(var Mhe=0;Mhe<UMe.length;Mhe++){var Rhe=UMe[Mhe],G0t=Rhe.toLowerCase(),j0t=Rhe[0].toUpperCase()+Rhe.slice(1);Qy(G0t,"on"+j0t)}Qy(DMe,"onAnimationEnd"),Qy(PMe,"onAnimationIteration"),Qy(FMe,"onAnimationStart"),Qy("dblclick","onDoubleClick"),Qy("focusin","onFocus"),Qy("focusout","onBlur"),Qy(BMe,"onTransitionEnd"),Dw("onMouseEnter",["mouseout","mouseover"]),Dw("onMouseLeave",["mouseout","mouseover"]),Dw("onPointerEnter",["pointerout","pointerover"]),Dw("onPointerLeave",["pointerout","pointerover"]),tx("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),tx("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),tx("onBeforeInput",["compositionend","keypress","textInput","paste"]),tx("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),tx("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),tx("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var AC="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(" "),Y0t=new Set("cancel close invalid load scroll toggle".split(" ").concat(AC));function $Me(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,Gpt(n,t,void 0,e),e.currentTarget=null}function HMe(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var m=void 0;if(t)for(var u=n.length-1;0<=u;u--){var h=n[u],a=h.instance,l=h.currentTarget;if(h=h.listener,a!==m&&o.isPropagationStopped())break e;$Me(o,h,l),m=a}else for(u=0;u<n.length;u++){if(h=n[u],a=h.instance,l=h.currentTarget,h=h.listener,a!==m&&o.isPropagationStopped())break e;$Me(o,h,l),m=a}}}if(n7)throw e=she,n7=!1,she=null,e}function $l(e,t){var r=t[Bhe];r===void 0&&(r=t[Bhe]=new Set);var n=e+"__bubble";r.has(n)||(VMe(t,e,2,!1),r.add(n))}function Nhe(e,t,r){var n=0;t&&(n|=4),VMe(r,e,n,t)}var x7="_reactListening"+Math.random().toString(36).slice(2);function CC(e){if(!e[x7]){e[x7]=!0,wke.forEach(function(r){r!=="selectionchange"&&(Y0t.has(r)||Nhe(r,!1,e),Nhe(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[x7]||(t[x7]=!0,Nhe("selectionchange",!1,t))}}function VMe(e,t,r,n){switch(fMe(t)){case 1:var o=o0t;break;case 4:o=s0t;break;default:o=phe}r=o.bind(null,t,r,e),o=void 0,!ohe||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),n?o!==void 0?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):o!==void 0?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function Ihe(e,t,r,n,o){var m=n;if(!(t&1)&&!(t&2)&&n!==null)e:for(;;){if(n===null)return;var u=n.tag;if(u===3||u===4){var h=n.stateNode.containerInfo;if(h===o||h.nodeType===8&&h.parentNode===o)break;if(u===4)for(u=n.return;u!==null;){var a=u.tag;if((a===3||a===4)&&(a=u.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;u=u.return}for(;h!==null;){if(u=nx(h),u===null)return;if(a=u.tag,a===5||a===6){n=m=u;continue e}h=h.parentNode}}n=n.return}Kke(function(){var l=m,v=nhe(r),i=[];e:{var S=zMe.get(e);if(S!==void 0){var g=ghe,p=e;switch(e){case"keypress":if(p7(r)===0)break e;case"keydown":case"keyup":g=E0t;break;case"focusin":p="focus",g=xhe;break;case"focusout":p="blur",g=xhe;break;case"beforeblur":case"afterblur":g=xhe;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=vMe;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=u0t;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=T0t;break;case DMe:case PMe:case FMe:g=h0t;break;case BMe:g=C0t;break;case"scroll":g=l0t;break;case"wheel":g=M0t;break;case"copy":case"cut":case"paste":g=v0t;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=gMe}var _=(t&4)!==0,c=!_&&e==="scroll",s=_?S!==null?S+"Capture":null:S;_=[];for(var d=l,f;d!==null;){f=d;var b=f.stateNode;if(f.tag===5&&b!==null&&(f=b,s!==null&&(b=cC(d,s),b!=null&&_.push(kC(d,b,f)))),c)break;d=d.return}0<_.length&&(S=new g(S,p,null,r,v),i.push({event:S,listeners:_}))}}if(!(t&7)){e:{if(S=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",S&&r!==rhe&&(p=r.relatedTarget||r.fromElement)&&(nx(p)||p[ug]))break e;if((g||S)&&(S=v.window===v?v:(S=v.ownerDocument)?S.defaultView||S.parentWindow:window,g?(p=r.relatedTarget||r.toElement,g=l,p=p?nx(p):null,p!==null&&(c=rx(p),p!==c||p.tag!==5&&p.tag!==6)&&(p=null)):(g=null,p=l),g!==p)){if(_=vMe,b="onMouseLeave",s="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(_=gMe,b="onPointerLeave",s="onPointerEnter",d="pointer"),c=g==null?S:Kw(g),f=p==null?S:Kw(p),S=new _(b,d+"leave",g,r,v),S.target=c,S.relatedTarget=f,b=null,nx(v)===l&&(_=new _(s,d+"enter",p,r,v),_.target=f,_.relatedTarget=c,b=_),c=b,g&&p)t:{for(_=g,s=p,d=0,f=_;f;f=Yw(f))d++;for(f=0,b=s;b;b=Yw(b))f++;for(;0<d-f;)_=Yw(_),d--;for(;0<f-d;)s=Yw(s),f--;for(;d--;){if(_===s||s!==null&&_===s.alternate)break t;_=Yw(_),s=Yw(s)}_=null}else _=null;g!==null&&GMe(i,S,g,_,!1),p!==null&&c!==null&&GMe(i,c,p,_,!0)}}e:{if(S=l?Kw(l):window,g=S.nodeName&&S.nodeName.toLowerCase(),g==="select"||g==="input"&&S.type==="file")var x=P0t;else if(SMe(S))if(TMe)x=U0t;else{x=B0t;var y=F0t}else(g=S.nodeName)&&g.toLowerCase()==="input"&&(S.type==="checkbox"||S.type==="radio")&&(x=z0t);if(x&&(x=x(e,l))){wMe(i,x,r,v);break e}y&&y(e,S,l),e==="focusout"&&(y=S._wrapperState)&&y.controlled&&S.type==="number"&&Zfe(S,"number",S.value)}switch(y=l?Kw(l):window,e){case"focusin":(SMe(y)||y.contentEditable==="true")&&(Gw=y,Ahe=l,TC=null);break;case"focusout":TC=Ahe=Gw=null;break;case"mousedown":Che=!0;break;case"contextmenu":case"mouseup":case"dragend":Che=!1,LMe(i,r,v);break;case"selectionchange":if(V0t)break;case"keydown":case"keyup":LMe(i,r,v)}var C;if(Ehe)e:{switch(e){case"compositionstart":var w="onCompositionStart";break e;case"compositionend":w="onCompositionEnd";break e;case"compositionupdate":w="onCompositionUpdate";break e}w=void 0}else Vw?bMe(e,r)&&(w="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(w="onCompositionStart");w&&(yMe&&r.locale!=="ko"&&(Vw||w!=="onCompositionStart"?w==="onCompositionEnd"&&Vw&&(C=hMe()):(Zy=v,mhe="value"in Zy?Zy.value:Zy.textContent,Vw=!0)),y=b7(l,w),0<y.length&&(w=new mMe(w,e,null,r,v),i.push({event:w,listeners:y}),C?w.data=C:(C=EMe(r),C!==null&&(w.data=C)))),(C=N0t?I0t(e,r):L0t(e,r))&&(l=b7(l,"onBeforeInput"),0<l.length&&(v=new mMe("onBeforeInput","beforeinput",null,r,v),i.push({event:v,listeners:l}),v.data=C))}HMe(i,t)})}function kC(e,t,r){return{instance:e,listener:t,currentTarget:r}}function b7(e,t){for(var r=t+"Capture",n=[];e!==null;){var o=e,m=o.stateNode;o.tag===5&&m!==null&&(o=m,m=cC(e,r),m!=null&&n.unshift(kC(e,m,o)),m=cC(e,t),m!=null&&n.push(kC(e,m,o))),e=e.return}return n}function Yw(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function GMe(e,t,r,n,o){for(var m=t._reactName,u=[];r!==null&&r!==n;){var h=r,a=h.alternate,l=h.stateNode;if(a!==null&&a===n)break;h.tag===5&&l!==null&&(h=l,o?(a=cC(r,m),a!=null&&u.unshift(kC(r,a,h))):o||(a=cC(r,m),a!=null&&u.push(kC(r,a,h)))),r=r.return}u.length!==0&&e.push({event:t,listeners:u})}var W0t=/\r\n?/g,K0t=/\u0000|\uFFFD/g;function jMe(e){return(typeof e=="string"?e:""+e).replace(W0t,`
`).replace(K0t,"")}function E7(e,t,r){if(t=jMe(t),jMe(e)!==t&&r)throw Error(gi(425))}function S7(){}var Lhe=null,Ohe=null;function Dhe(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Phe=typeof setTimeout=="function"?setTimeout:void 0,X0t=typeof clearTimeout=="function"?clearTimeout:void 0,YMe=typeof Promise=="function"?Promise:void 0,q0t=typeof queueMicrotask=="function"?queueMicrotask:typeof YMe<"u"?function(e){return YMe.resolve(null).then(e).catch(Z0t)}:Phe;function Z0t(e){setTimeout(function(){throw e})}function Fhe(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(n===0){e.removeChild(o),yC(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=o}while(r);yC(t)}function Jy(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function WMe(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Ww=Math.random().toString(36).slice(2),Dv="__reactFiber$"+Ww,MC="__reactProps$"+Ww,ug="__reactContainer$"+Ww,Bhe="__reactEvents$"+Ww,Q0t="__reactListeners$"+Ww,J0t="__reactHandles$"+Ww;function nx(e){var t=e[Dv];if(t)return t;for(var r=e.parentNode;r;){if(t=r[ug]||r[Dv]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=WMe(e);e!==null;){if(r=e[Dv])return r;e=WMe(e)}return t}e=r,r=e.parentNode}return null}function RC(e){return e=e[Dv]||e[ug],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Kw(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(gi(33))}function w7(e){return e[MC]||null}var zhe=[],Xw=-1;function e2(e){return{current:e}}function Hl(e){0>Xw||(e.current=zhe[Xw],zhe[Xw]=null,Xw--)}function wl(e,t){Xw++,zhe[Xw]=e.current,e.current=t}var t2={},sf=e2(t2),Nh=e2(!1),ax=t2;function qw(e,t){var r=e.type.contextTypes;if(!r)return t2;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},m;for(m in r)o[m]=t[m];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ih(e){return e=e.childContextTypes,e!=null}function T7(){Hl(Nh),Hl(sf)}function KMe(e,t,r){if(sf.current!==t2)throw Error(gi(168));wl(sf,t),wl(Nh,r)}function XMe(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(gi(108,Fpt(e)||"Unknown",o));return gc({},r,n)}function A7(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||t2,ax=sf.current,wl(sf,e),wl(Nh,Nh.current),!0}function qMe(e,t,r){var n=e.stateNode;if(!n)throw Error(gi(169));r?(e=XMe(e,t,ax),n.__reactInternalMemoizedMergedChildContext=e,Hl(Nh),Hl(sf),wl(sf,e)):Hl(Nh),wl(Nh,r)}var dg=null,C7=!1,Uhe=!1;function ZMe(e){dg===null?dg=[e]:dg.push(e)}function e1t(e){C7=!0,ZMe(e)}function r2(){if(!Uhe&&dg!==null){Uhe=!0;var e=0,t=sl;try{var r=dg;for(sl=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}dg=null,C7=!1}catch(o){throw dg!==null&&(dg=dg.slice(e+1)),Jke(lhe,r2),o}finally{sl=t,Uhe=!1}}return null}var Zw=[],Qw=0,k7=null,M7=0,I0=[],L0=0,ix=null,fg=1,hg="";function ox(e,t){Zw[Qw++]=M7,Zw[Qw++]=k7,k7=e,M7=t}function QMe(e,t,r){I0[L0++]=fg,I0[L0++]=hg,I0[L0++]=ix,ix=e;var n=fg;e=hg;var o=32-M1(n)-1;n&=~(1<<o),r+=1;var m=32-M1(t)+o;if(30<m){var u=o-o%5;m=(n&(1<<u)-1).toString(32),n>>=u,o-=u,fg=1<<32-M1(t)+o|r<<o|n,hg=m+e}else fg=1<<m|r<<o|n,hg=e}function $he(e){e.return!==null&&(ox(e,1),QMe(e,1,0))}function Hhe(e){for(;e===k7;)k7=Zw[--Qw],Zw[Qw]=null,M7=Zw[--Qw],Zw[Qw]=null;for(;e===ix;)ix=I0[--L0],I0[L0]=null,hg=I0[--L0],I0[L0]=null,fg=I0[--L0],I0[L0]=null}var Dp=null,Pp=null,nc=!1,N1=null;function JMe(e,t){var r=F0(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function e8e(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Dp=e,Pp=Jy(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Dp=e,Pp=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=ix!==null?{id:fg,overflow:hg}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=F0(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Dp=e,Pp=null,!0):!1;default:return!1}}function Vhe(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ghe(e){if(nc){var t=Pp;if(t){var r=t;if(!e8e(e,t)){if(Vhe(e))throw Error(gi(418));t=Jy(r.nextSibling);var n=Dp;t&&e8e(e,t)?JMe(n,r):(e.flags=e.flags&-4097|2,nc=!1,Dp=e)}}else{if(Vhe(e))throw Error(gi(418));e.flags=e.flags&-4097|2,nc=!1,Dp=e}}}function t8e(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Dp=e}function R7(e){if(e!==Dp)return!1;if(!nc)return t8e(e),nc=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Dhe(e.type,e.memoizedProps)),t&&(t=Pp)){if(Vhe(e))throw r8e(),Error(gi(418));for(;t;)JMe(e,t),t=Jy(t.nextSibling)}if(t8e(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(gi(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Pp=Jy(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Pp=null}}else Pp=Dp?Jy(e.stateNode.nextSibling):null;return!0}function r8e(){for(var e=Pp;e;)e=Jy(e.nextSibling)}function Jw(){Pp=Dp=null,nc=!1}function jhe(e){N1===null?N1=[e]:N1.push(e)}var t1t=cg.ReactCurrentBatchConfig;function NC(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(gi(309));var n=r.stateNode}if(!n)throw Error(gi(147,e));var o=n,m=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===m?t.ref:(t=function(u){var h=o.refs;u===null?delete h[m]:h[m]=u},t._stringRef=m,t)}if(typeof e!="string")throw Error(gi(284));if(!r._owner)throw Error(gi(290,e))}return e}function N7(e,t){throw e=Object.prototype.toString.call(t),Error(gi(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function n8e(e){var t=e._init;return t(e._payload)}function a8e(e){function t(s,d){if(e){var f=s.deletions;f===null?(s.deletions=[d],s.flags|=16):f.push(d)}}function r(s,d){if(!e)return null;for(;d!==null;)t(s,d),d=d.sibling;return null}function n(s,d){for(s=new Map;d!==null;)d.key!==null?s.set(d.key,d):s.set(d.index,d),d=d.sibling;return s}function o(s,d){return s=u2(s,d),s.index=0,s.sibling=null,s}function m(s,d,f){return s.index=f,e?(f=s.alternate,f!==null?(f=f.index,f<d?(s.flags|=2,d):f):(s.flags|=2,d)):(s.flags|=1048576,d)}function u(s){return e&&s.alternate===null&&(s.flags|=2),s}function h(s,d,f,b){return d===null||d.tag!==6?(d=Ppe(f,s.mode,b),d.return=s,d):(d=o(d,f),d.return=s,d)}function a(s,d,f,b){var x=f.type;return x===Fw?v(s,d,f.props.children,b,f.key):d!==null&&(d.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===jy&&n8e(x)===d.type)?(b=o(d,f.props),b.ref=NC(s,d,f),b.return=s,b):(b=tL(f.type,f.key,f.props,null,s.mode,b),b.ref=NC(s,d,f),b.return=s,b)}function l(s,d,f,b){return d===null||d.tag!==4||d.stateNode.containerInfo!==f.containerInfo||d.stateNode.implementation!==f.implementation?(d=Fpe(f,s.mode,b),d.return=s,d):(d=o(d,f.children||[]),d.return=s,d)}function v(s,d,f,b,x){return d===null||d.tag!==7?(d=px(f,s.mode,b,x),d.return=s,d):(d=o(d,f),d.return=s,d)}function i(s,d,f){if(typeof d=="string"&&d!==""||typeof d=="number")return d=Ppe(""+d,s.mode,f),d.return=s,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case QI:return f=tL(d.type,d.key,d.props,null,s.mode,f),f.ref=NC(s,null,d),f.return=s,f;case Pw:return d=Fpe(d,s.mode,f),d.return=s,d;case jy:var b=d._init;return i(s,b(d._payload),f)}if(oC(d)||aC(d))return d=px(d,s.mode,f,null),d.return=s,d;N7(s,d)}return null}function S(s,d,f,b){var x=d!==null?d.key:null;if(typeof f=="string"&&f!==""||typeof f=="number")return x!==null?null:h(s,d,""+f,b);if(typeof f=="object"&&f!==null){switch(f.$$typeof){case QI:return f.key===x?a(s,d,f,b):null;case Pw:return f.key===x?l(s,d,f,b):null;case jy:return x=f._init,S(s,d,x(f._payload),b)}if(oC(f)||aC(f))return x!==null?null:v(s,d,f,b,null);N7(s,f)}return null}function g(s,d,f,b,x){if(typeof b=="string"&&b!==""||typeof b=="number")return s=s.get(f)||null,h(d,s,""+b,x);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case QI:return s=s.get(b.key===null?f:b.key)||null,a(d,s,b,x);case Pw:return s=s.get(b.key===null?f:b.key)||null,l(d,s,b,x);case jy:var y=b._init;return g(s,d,f,y(b._payload),x)}if(oC(b)||aC(b))return s=s.get(f)||null,v(d,s,b,x,null);N7(d,b)}return null}function p(s,d,f,b){for(var x=null,y=null,C=d,w=d=0,R=null;C!==null&&w<f.length;w++){C.index>w?(R=C,C=null):R=C.sibling;var A=S(s,C,f[w],b);if(A===null){C===null&&(C=R);break}e&&C&&A.alternate===null&&t(s,C),d=m(A,d,w),y===null?x=A:y.sibling=A,y=A,C=R}if(w===f.length)return r(s,C),nc&&ox(s,w),x;if(C===null){for(;w<f.length;w++)C=i(s,f[w],b),C!==null&&(d=m(C,d,w),y===null?x=C:y.sibling=C,y=C);return nc&&ox(s,w),x}for(C=n(s,C);w<f.length;w++)R=g(C,s,w,f[w],b),R!==null&&(e&&R.alternate!==null&&C.delete(R.key===null?w:R.key),d=m(R,d,w),y===null?x=R:y.sibling=R,y=R);return e&&C.forEach(function(E){return t(s,E)}),nc&&ox(s,w),x}function _(s,d,f,b){var x=aC(f);if(typeof x!="function")throw Error(gi(150));if(f=x.call(f),f==null)throw Error(gi(151));for(var y=x=null,C=d,w=d=0,R=null,A=f.next();C!==null&&!A.done;w++,A=f.next()){C.index>w?(R=C,C=null):R=C.sibling;var E=S(s,C,A.value,b);if(E===null){C===null&&(C=R);break}e&&C&&E.alternate===null&&t(s,C),d=m(E,d,w),y===null?x=E:y.sibling=E,y=E,C=R}if(A.done)return r(s,C),nc&&ox(s,w),x;if(C===null){for(;!A.done;w++,A=f.next())A=i(s,A.value,b),A!==null&&(d=m(A,d,w),y===null?x=A:y.sibling=A,y=A);return nc&&ox(s,w),x}for(C=n(s,C);!A.done;w++,A=f.next())A=g(C,s,w,A.value,b),A!==null&&(e&&A.alternate!==null&&C.delete(A.key===null?w:A.key),d=m(A,d,w),y===null?x=A:y.sibling=A,y=A);return e&&C.forEach(function(k){return t(s,k)}),nc&&ox(s,w),x}function c(s,d,f,b){if(typeof f=="object"&&f!==null&&f.type===Fw&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case QI:e:{for(var x=f.key,y=d;y!==null;){if(y.key===x){if(x=f.type,x===Fw){if(y.tag===7){r(s,y.sibling),d=o(y,f.props.children),d.return=s,s=d;break e}}else if(y.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===jy&&n8e(x)===y.type){r(s,y.sibling),d=o(y,f.props),d.ref=NC(s,y,f),d.return=s,s=d;break e}r(s,y);break}else t(s,y);y=y.sibling}f.type===Fw?(d=px(f.props.children,s.mode,b,f.key),d.return=s,s=d):(b=tL(f.type,f.key,f.props,null,s.mode,b),b.ref=NC(s,d,f),b.return=s,s=b)}return u(s);case Pw:e:{for(y=f.key;d!==null;){if(d.key===y)if(d.tag===4&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){r(s,d.sibling),d=o(d,f.children||[]),d.return=s,s=d;break e}else{r(s,d);break}else t(s,d);d=d.sibling}d=Fpe(f,s.mode,b),d.return=s,s=d}return u(s);case jy:return y=f._init,c(s,d,y(f._payload),b)}if(oC(f))return p(s,d,f,b);if(aC(f))return _(s,d,f,b);N7(s,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,d!==null&&d.tag===6?(r(s,d.sibling),d=o(d,f),d.return=s,s=d):(r(s,d),d=Ppe(f,s.mode,b),d.return=s,s=d),u(s)):r(s,d)}return c}var eT=a8e(!0),i8e=a8e(!1),I7=e2(null),L7=null,tT=null,Yhe=null;function Whe(){Yhe=tT=L7=null}function Khe(e){var t=I7.current;Hl(I7),e._currentValue=t}function Xhe(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function rT(e,t){L7=e,Yhe=tT=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Lh=!0),e.firstContext=null)}function O0(e){var t=e._currentValue;if(Yhe!==e)if(e={context:e,memoizedValue:t,next:null},tT===null){if(L7===null)throw Error(gi(308));tT=e,L7.dependencies={lanes:0,firstContext:e}}else tT=tT.next=e;return t}var sx=null;function qhe(e){sx===null?sx=[e]:sx.push(e)}function o8e(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,qhe(t)):(r.next=o.next,o.next=r),t.interleaved=r,pg(e,n)}function pg(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var n2=!1;function Zhe(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function s8e(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function vg(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function a2(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,Bs&2){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,pg(e,r)}return o=n.interleaved,o===null?(t.next=t,qhe(n)):(t.next=o.next,o.next=t),n.interleaved=t,pg(e,r)}function O7(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,dhe(e,r)}}function l8e(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,m=null;if(r=r.firstBaseUpdate,r!==null){do{var u={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};m===null?o=m=u:m=m.next=u,r=r.next}while(r!==null);m===null?o=m=t:m=m.next=t}else o=m=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:m,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function D7(e,t,r,n){var o=e.updateQueue;n2=!1;var m=o.firstBaseUpdate,u=o.lastBaseUpdate,h=o.shared.pending;if(h!==null){o.shared.pending=null;var a=h,l=a.next;a.next=null,u===null?m=l:u.next=l,u=a;var v=e.alternate;v!==null&&(v=v.updateQueue,h=v.lastBaseUpdate,h!==u&&(h===null?v.firstBaseUpdate=l:h.next=l,v.lastBaseUpdate=a))}if(m!==null){var i=o.baseState;u=0,v=l=a=null,h=m;do{var S=h.lane,g=h.eventTime;if((n&S)===S){v!==null&&(v=v.next={eventTime:g,lane:0,tag:h.tag,payload:h.payload,callback:h.callback,next:null});e:{var p=e,_=h;switch(S=t,g=r,_.tag){case 1:if(p=_.payload,typeof p=="function"){i=p.call(g,i,S);break e}i=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=_.payload,S=typeof p=="function"?p.call(g,i,S):p,S==null)break e;i=gc({},i,S);break e;case 2:n2=!0}}h.callback!==null&&h.lane!==0&&(e.flags|=64,S=o.effects,S===null?o.effects=[h]:S.push(h))}else g={eventTime:g,lane:S,tag:h.tag,payload:h.payload,callback:h.callback,next:null},v===null?(l=v=g,a=i):v=v.next=g,u|=S;if(h=h.next,h===null){if(h=o.shared.pending,h===null)break;S=h,h=S.next,S.next=null,o.lastBaseUpdate=S,o.shared.pending=null}}while(!0);if(v===null&&(a=i),o.baseState=a,o.firstBaseUpdate=l,o.lastBaseUpdate=v,t=o.shared.interleaved,t!==null){o=t;do u|=o.lane,o=o.next;while(o!==t)}else m===null&&(o.shared.lanes=0);ux|=u,e.lanes=u,e.memoizedState=i}}function c8e(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(o!==null){if(n.callback=null,n=r,typeof o!="function")throw Error(gi(191,o));o.call(n)}}}var IC={},Pv=e2(IC),LC=e2(IC),OC=e2(IC);function lx(e){if(e===IC)throw Error(gi(174));return e}function Qhe(e,t){switch(wl(OC,t),wl(LC,e),wl(Pv,IC),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Jfe(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Jfe(t,e)}Hl(Pv),wl(Pv,t)}function nT(){Hl(Pv),Hl(LC),Hl(OC)}function u8e(e){lx(OC.current);var t=lx(Pv.current),r=Jfe(t,e.type);t!==r&&(wl(LC,e),wl(Pv,r))}function Jhe(e){LC.current===e&&(Hl(Pv),Hl(LC))}var yc=e2(0);function P7(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var epe=[];function tpe(){for(var e=0;e<epe.length;e++)epe[e]._workInProgressVersionPrimary=null;epe.length=0}var F7=cg.ReactCurrentDispatcher,rpe=cg.ReactCurrentBatchConfig,cx=0,_c=null,Ru=null,Qu=null,B7=!1,DC=!1,PC=0,r1t=0;function lf(){throw Error(gi(321))}function npe(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!R1(e[r],t[r]))return!1;return!0}function ape(e,t,r,n,o,m){if(cx=m,_c=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,F7.current=e===null||e.memoizedState===null?o1t:s1t,e=r(n,o),DC){m=0;do{if(DC=!1,PC=0,25<=m)throw Error(gi(301));m+=1,Qu=Ru=null,t.updateQueue=null,F7.current=l1t,e=r(n,o)}while(DC)}if(F7.current=$7,t=Ru!==null&&Ru.next!==null,cx=0,Qu=Ru=_c=null,B7=!1,t)throw Error(gi(300));return e}function ipe(){var e=PC!==0;return PC=0,e}function Fv(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Qu===null?_c.memoizedState=Qu=e:Qu=Qu.next=e,Qu}function D0(){if(Ru===null){var e=_c.alternate;e=e!==null?e.memoizedState:null}else e=Ru.next;var t=Qu===null?_c.memoizedState:Qu.next;if(t!==null)Qu=t,Ru=e;else{if(e===null)throw Error(gi(310));Ru=e,e={memoizedState:Ru.memoizedState,baseState:Ru.baseState,baseQueue:Ru.baseQueue,queue:Ru.queue,next:null},Qu===null?_c.memoizedState=Qu=e:Qu=Qu.next=e}return Qu}function FC(e,t){return typeof t=="function"?t(e):t}function ope(e){var t=D0(),r=t.queue;if(r===null)throw Error(gi(311));r.lastRenderedReducer=e;var n=Ru,o=n.baseQueue,m=r.pending;if(m!==null){if(o!==null){var u=o.next;o.next=m.next,m.next=u}n.baseQueue=o=m,r.pending=null}if(o!==null){m=o.next,n=n.baseState;var h=u=null,a=null,l=m;do{var v=l.lane;if((cx&v)===v)a!==null&&(a=a.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),n=l.hasEagerState?l.eagerState:e(n,l.action);else{var i={lane:v,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};a===null?(h=a=i,u=n):a=a.next=i,_c.lanes|=v,ux|=v}l=l.next}while(l!==null&&l!==m);a===null?u=n:a.next=h,R1(n,t.memoizedState)||(Lh=!0),t.memoizedState=n,t.baseState=u,t.baseQueue=a,r.lastRenderedState=n}if(e=r.interleaved,e!==null){o=e;do m=o.lane,_c.lanes|=m,ux|=m,o=o.next;while(o!==e)}else o===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function spe(e){var t=D0(),r=t.queue;if(r===null)throw Error(gi(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,m=t.memoizedState;if(o!==null){r.pending=null;var u=o=o.next;do m=e(m,u.action),u=u.next;while(u!==o);R1(m,t.memoizedState)||(Lh=!0),t.memoizedState=m,t.baseQueue===null&&(t.baseState=m),r.lastRenderedState=m}return[m,n]}function d8e(){}function f8e(e,t){var r=_c,n=D0(),o=t(),m=!R1(n.memoizedState,o);if(m&&(n.memoizedState=o,Lh=!0),n=n.queue,lpe(v8e.bind(null,r,n,e),[e]),n.getSnapshot!==t||m||Qu!==null&&Qu.memoizedState.tag&1){if(r.flags|=2048,BC(9,p8e.bind(null,r,n,o,t),void 0,null),Ju===null)throw Error(gi(349));cx&30||h8e(r,t,o)}return o}function h8e(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=_c.updateQueue,t===null?(t={lastEffect:null,stores:null},_c.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function p8e(e,t,r,n){t.value=r,t.getSnapshot=n,m8e(t)&&g8e(e)}function v8e(e,t,r){return r(function(){m8e(t)&&g8e(e)})}function m8e(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!R1(e,r)}catch{return!0}}function g8e(e){var t=pg(e,1);t!==null&&D1(t,e,1,-1)}function y8e(e){var t=Fv();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:FC,lastRenderedState:e},t.queue=e,e=e.dispatch=i1t.bind(null,_c,e),[t.memoizedState,e]}function BC(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=_c.updateQueue,t===null?(t={lastEffect:null,stores:null},_c.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function _8e(){return D0().memoizedState}function z7(e,t,r,n){var o=Fv();_c.flags|=e,o.memoizedState=BC(1|t,r,void 0,n===void 0?null:n)}function U7(e,t,r,n){var o=D0();n=n===void 0?null:n;var m=void 0;if(Ru!==null){var u=Ru.memoizedState;if(m=u.destroy,n!==null&&npe(n,u.deps)){o.memoizedState=BC(t,r,m,n);return}}_c.flags|=e,o.memoizedState=BC(1|t,r,m,n)}function x8e(e,t){return z7(8390656,8,e,t)}function lpe(e,t){return U7(2048,8,e,t)}function b8e(e,t){return U7(4,2,e,t)}function E8e(e,t){return U7(4,4,e,t)}function S8e(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function w8e(e,t,r){return r=r!=null?r.concat([e]):null,U7(4,4,S8e.bind(null,t,e),r)}function cpe(){}function T8e(e,t){var r=D0();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&npe(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function A8e(e,t){var r=D0();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&npe(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function C8e(e,t,r){return cx&21?(R1(r,t)||(r=nMe(),_c.lanes|=r,ux|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Lh=!0),e.memoizedState=r)}function n1t(e,t){var r=sl;sl=r!==0&&4>r?r:4,e(!0);var n=rpe.transition;rpe.transition={};try{e(!1),t()}finally{sl=r,rpe.transition=n}}function k8e(){return D0().memoizedState}function a1t(e,t,r){var n=l2(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},M8e(e))R8e(t,r);else if(r=o8e(e,t,r,n),r!==null){var o=Vf();D1(r,e,n,o),N8e(r,t,n)}}function i1t(e,t,r){var n=l2(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(M8e(e))R8e(t,o);else{var m=e.alternate;if(e.lanes===0&&(m===null||m.lanes===0)&&(m=t.lastRenderedReducer,m!==null))try{var u=t.lastRenderedState,h=m(u,r);if(o.hasEagerState=!0,o.eagerState=h,R1(h,u)){var a=t.interleaved;a===null?(o.next=o,qhe(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}r=o8e(e,t,o,n),r!==null&&(o=Vf(),D1(r,e,n,o),N8e(r,t,n))}}function M8e(e){var t=e.alternate;return e===_c||t!==null&&t===_c}function R8e(e,t){DC=B7=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function N8e(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,dhe(e,r)}}var $7={readContext:O0,useCallback:lf,useContext:lf,useEffect:lf,useImperativeHandle:lf,useInsertionEffect:lf,useLayoutEffect:lf,useMemo:lf,useReducer:lf,useRef:lf,useState:lf,useDebugValue:lf,useDeferredValue:lf,useTransition:lf,useMutableSource:lf,useSyncExternalStore:lf,useId:lf,unstable_isNewReconciler:!1},o1t={readContext:O0,useCallback:function(e,t){return Fv().memoizedState=[e,t===void 0?null:t],e},useContext:O0,useEffect:x8e,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,z7(4194308,4,S8e.bind(null,t,e),r)},useLayoutEffect:function(e,t){return z7(4194308,4,e,t)},useInsertionEffect:function(e,t){return z7(4,2,e,t)},useMemo:function(e,t){var r=Fv();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Fv();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=a1t.bind(null,_c,e),[n.memoizedState,e]},useRef:function(e){var t=Fv();return e={current:e},t.memoizedState=e},useState:y8e,useDebugValue:cpe,useDeferredValue:function(e){return Fv().memoizedState=e},useTransition:function(){var e=y8e(!1),t=e[0];return e=n1t.bind(null,e[1]),Fv().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=_c,o=Fv();if(nc){if(r===void 0)throw Error(gi(407));r=r()}else{if(r=t(),Ju===null)throw Error(gi(349));cx&30||h8e(n,t,r)}o.memoizedState=r;var m={value:r,getSnapshot:t};return o.queue=m,x8e(v8e.bind(null,n,m,e),[e]),n.flags|=2048,BC(9,p8e.bind(null,n,m,r,t),void 0,null),r},useId:function(){var e=Fv(),t=Ju.identifierPrefix;if(nc){var r=hg,n=fg;r=(n&~(1<<32-M1(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=PC++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=r1t++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},s1t={readContext:O0,useCallback:T8e,useContext:O0,useEffect:lpe,useImperativeHandle:w8e,useInsertionEffect:b8e,useLayoutEffect:E8e,useMemo:A8e,useReducer:ope,useRef:_8e,useState:function(){return ope(FC)},useDebugValue:cpe,useDeferredValue:function(e){var t=D0();return C8e(t,Ru.memoizedState,e)},useTransition:function(){var e=ope(FC)[0],t=D0().memoizedState;return[e,t]},useMutableSource:d8e,useSyncExternalStore:f8e,useId:k8e,unstable_isNewReconciler:!1},l1t={readContext:O0,useCallback:T8e,useContext:O0,useEffect:lpe,useImperativeHandle:w8e,useInsertionEffect:b8e,useLayoutEffect:E8e,useMemo:A8e,useReducer:spe,useRef:_8e,useState:function(){return spe(FC)},useDebugValue:cpe,useDeferredValue:function(e){var t=D0();return Ru===null?t.memoizedState=e:C8e(t,Ru.memoizedState,e)},useTransition:function(){var e=spe(FC)[0],t=D0().memoizedState;return[e,t]},useMutableSource:d8e,useSyncExternalStore:f8e,useId:k8e,unstable_isNewReconciler:!1};function I1(e,t){if(e&&e.defaultProps){t=gc({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function upe(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:gc({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var H7={isMounted:function(e){return(e=e._reactInternals)?rx(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Vf(),o=l2(e),m=vg(n,o);m.payload=t,r!=null&&(m.callback=r),t=a2(e,m,o),t!==null&&(D1(t,e,o,n),O7(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Vf(),o=l2(e),m=vg(n,o);m.tag=1,m.payload=t,r!=null&&(m.callback=r),t=a2(e,m,o),t!==null&&(D1(t,e,o,n),O7(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Vf(),n=l2(e),o=vg(r,n);o.tag=2,t!=null&&(o.callback=t),t=a2(e,o,n),t!==null&&(D1(t,e,n,r),O7(t,e,n))}};function I8e(e,t,r,n,o,m,u){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,m,u):t.prototype&&t.prototype.isPureReactComponent?!wC(r,n)||!wC(o,m):!0}function L8e(e,t,r){var n=!1,o=t2,m=t.contextType;return typeof m=="object"&&m!==null?m=O0(m):(o=Ih(t)?ax:sf.current,n=t.contextTypes,m=(n=n!=null)?qw(e,o):t2),t=new t(r,m),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=H7,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=m),t}function O8e(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&H7.enqueueReplaceState(t,t.state,null)}function dpe(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},Zhe(e);var m=t.contextType;typeof m=="object"&&m!==null?o.context=O0(m):(m=Ih(t)?ax:sf.current,o.context=qw(e,m)),o.state=e.memoizedState,m=t.getDerivedStateFromProps,typeof m=="function"&&(upe(e,t,m,r),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&H7.enqueueReplaceState(o,o.state,null),D7(e,r,o,n),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function aT(e,t){try{var r="",n=t;do r+=Ppt(n),n=n.return;while(n);var o=r}catch(m){o=`
Error generating stack: `+m.message+`
`+m.stack}return{value:e,source:t,stack:o,digest:null}}function fpe(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function hpe(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var c1t=typeof WeakMap=="function"?WeakMap:Map;function D8e(e,t,r){r=vg(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){X7||(X7=!0,kpe=n),hpe(e,t)},r}function P8e(e,t,r){r=vg(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){hpe(e,t)}}var m=e.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(r.callback=function(){hpe(e,t),typeof n!="function"&&(o2===null?o2=new Set([this]):o2.add(this));var u=t.stack;this.componentDidCatch(t.value,{componentStack:u!==null?u:""})}),r}function F8e(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new c1t;var o=new Set;n.set(t,o)}else o=n.get(t),o===void 0&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=S1t.bind(null,e,t,r),t.then(e,e))}function B8e(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function z8e(e,t,r,n,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=vg(-1,1),t.tag=2,a2(r,t,1))),r.lanes|=1),e)}var u1t=cg.ReactCurrentOwner,Lh=!1;function Hf(e,t,r,n){t.child=e===null?i8e(t,null,r,n):eT(t,e.child,r,n)}function U8e(e,t,r,n,o){r=r.render;var m=t.ref;return rT(t,o),n=ape(e,t,r,n,m,o),r=ipe(),e!==null&&!Lh?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,mg(e,t,o)):(nc&&r&&$he(t),t.flags|=1,Hf(e,t,n,o),t.child)}function $8e(e,t,r,n,o){if(e===null){var m=r.type;return typeof m=="function"&&!Dpe(m)&&m.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=m,H8e(e,t,m,n,o)):(e=tL(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(m=e.child,!(e.lanes&o)){var u=m.memoizedProps;if(r=r.compare,r=r!==null?r:wC,r(u,n)&&e.ref===t.ref)return mg(e,t,o)}return t.flags|=1,e=u2(m,n),e.ref=t.ref,e.return=t,t.child=e}function H8e(e,t,r,n,o){if(e!==null){var m=e.memoizedProps;if(wC(m,n)&&e.ref===t.ref)if(Lh=!1,t.pendingProps=n=m,(e.lanes&o)!==0)e.flags&131072&&(Lh=!0);else return t.lanes=e.lanes,mg(e,t,o)}return ppe(e,t,r,n,o)}function V8e(e,t,r){var n=t.pendingProps,o=n.children,m=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},wl(oT,Fp),Fp|=r;else{if(!(r&1073741824))return e=m!==null?m.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,wl(oT,Fp),Fp|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=m!==null?m.baseLanes:r,wl(oT,Fp),Fp|=n}else m!==null?(n=m.baseLanes|r,t.memoizedState=null):n=r,wl(oT,Fp),Fp|=n;return Hf(e,t,o,r),t.child}function G8e(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function ppe(e,t,r,n,o){var m=Ih(r)?ax:sf.current;return m=qw(t,m),rT(t,o),r=ape(e,t,r,n,m,o),n=ipe(),e!==null&&!Lh?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,mg(e,t,o)):(nc&&n&&$he(t),t.flags|=1,Hf(e,t,r,o),t.child)}function j8e(e,t,r,n,o){if(Ih(r)){var m=!0;A7(t)}else m=!1;if(rT(t,o),t.stateNode===null)G7(e,t),L8e(t,r,n),dpe(t,r,n,o),n=!0;else if(e===null){var u=t.stateNode,h=t.memoizedProps;u.props=h;var a=u.context,l=r.contextType;typeof l=="object"&&l!==null?l=O0(l):(l=Ih(r)?ax:sf.current,l=qw(t,l));var v=r.getDerivedStateFromProps,i=typeof v=="function"||typeof u.getSnapshotBeforeUpdate=="function";i||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h!==n||a!==l)&&O8e(t,u,n,l),n2=!1;var S=t.memoizedState;u.state=S,D7(t,n,u,o),a=t.memoizedState,h!==n||S!==a||Nh.current||n2?(typeof v=="function"&&(upe(t,r,v,n),a=t.memoizedState),(h=n2||I8e(t,r,h,n,S,a,l))?(i||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=a),u.props=n,u.state=a,u.context=l,n=h):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{u=t.stateNode,s8e(e,t),h=t.memoizedProps,l=t.type===t.elementType?h:I1(t.type,h),u.props=l,i=t.pendingProps,S=u.context,a=r.contextType,typeof a=="object"&&a!==null?a=O0(a):(a=Ih(r)?ax:sf.current,a=qw(t,a));var g=r.getDerivedStateFromProps;(v=typeof g=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h!==i||S!==a)&&O8e(t,u,n,a),n2=!1,S=t.memoizedState,u.state=S,D7(t,n,u,o);var p=t.memoizedState;h!==i||S!==p||Nh.current||n2?(typeof g=="function"&&(upe(t,r,g,n),p=t.memoizedState),(l=n2||I8e(t,r,l,n,S,p,a)||!1)?(v||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(n,p,a),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(n,p,a)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||h===e.memoizedProps&&S===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&S===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=p),u.props=n,u.state=p,u.context=a,n=l):(typeof u.componentDidUpdate!="function"||h===e.memoizedProps&&S===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&S===e.memoizedState||(t.flags|=1024),n=!1)}return vpe(e,t,r,n,m,o)}function vpe(e,t,r,n,o,m){G8e(e,t);var u=(t.flags&128)!==0;if(!n&&!u)return o&&qMe(t,r,!1),mg(e,t,m);n=t.stateNode,u1t.current=t;var h=u&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&u?(t.child=eT(t,e.child,null,m),t.child=eT(t,null,h,m)):Hf(e,t,h,m),t.memoizedState=n.state,o&&qMe(t,r,!0),t.child}function Y8e(e){var t=e.stateNode;t.pendingContext?KMe(e,t.pendingContext,t.pendingContext!==t.context):t.context&&KMe(e,t.context,!1),Qhe(e,t.containerInfo)}function W8e(e,t,r,n,o){return Jw(),jhe(o),t.flags|=256,Hf(e,t,r,n),t.child}var mpe={dehydrated:null,treeContext:null,retryLane:0};function gpe(e){return{baseLanes:e,cachePool:null,transitions:null}}function K8e(e,t,r){var n=t.pendingProps,o=yc.current,m=!1,u=(t.flags&128)!==0,h;if((h=u)||(h=e!==null&&e.memoizedState===null?!1:(o&2)!==0),h?(m=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),wl(yc,o&1),e===null)return Ghe(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(u=n.children,e=n.fallback,m?(n=t.mode,m=t.child,u={mode:"hidden",children:u},!(n&1)&&m!==null?(m.childLanes=0,m.pendingProps=u):m=rL(u,n,0,null),e=px(e,n,r,null),m.return=t,e.return=t,m.sibling=e,t.child=m,t.child.memoizedState=gpe(r),t.memoizedState=mpe,e):ype(t,u));if(o=e.memoizedState,o!==null&&(h=o.dehydrated,h!==null))return d1t(e,t,u,n,h,o,r);if(m){m=n.fallback,u=t.mode,o=e.child,h=o.sibling;var a={mode:"hidden",children:n.children};return!(u&1)&&t.child!==o?(n=t.child,n.childLanes=0,n.pendingProps=a,t.deletions=null):(n=u2(o,a),n.subtreeFlags=o.subtreeFlags&14680064),h!==null?m=u2(h,m):(m=px(m,u,r,null),m.flags|=2),m.return=t,n.return=t,n.sibling=m,t.child=n,n=m,m=t.child,u=e.child.memoizedState,u=u===null?gpe(r):{baseLanes:u.baseLanes|r,cachePool:null,transitions:u.transitions},m.memoizedState=u,m.childLanes=e.childLanes&~r,t.memoizedState=mpe,n}return m=e.child,e=m.sibling,n=u2(m,{mode:"visible",children:n.children}),!(t.mode&1)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function ype(e,t){return t=rL({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function V7(e,t,r,n){return n!==null&&jhe(n),eT(t,e.child,null,r),e=ype(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function d1t(e,t,r,n,o,m,u){if(r)return t.flags&256?(t.flags&=-257,n=fpe(Error(gi(422))),V7(e,t,u,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(m=n.fallback,o=t.mode,n=rL({mode:"visible",children:n.children},o,0,null),m=px(m,o,u,null),m.flags|=2,n.return=t,m.return=t,n.sibling=m,t.child=n,t.mode&1&&eT(t,e.child,null,u),t.child.memoizedState=gpe(u),t.memoizedState=mpe,m);if(!(t.mode&1))return V7(e,t,u,null);if(o.data==="$!"){if(n=o.nextSibling&&o.nextSibling.dataset,n)var h=n.dgst;return n=h,m=Error(gi(419)),n=fpe(m,n,void 0),V7(e,t,u,n)}if(h=(u&e.childLanes)!==0,Lh||h){if(n=Ju,n!==null){switch(u&-u){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(n.suspendedLanes|u)?0:o,o!==0&&o!==m.retryLane&&(m.retryLane=o,pg(e,o),D1(n,e,o,-1))}return Ope(),n=fpe(Error(gi(421))),V7(e,t,u,n)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=w1t.bind(null,e),o._reactRetry=t,null):(e=m.treeContext,Pp=Jy(o.nextSibling),Dp=t,nc=!0,N1=null,e!==null&&(I0[L0++]=fg,I0[L0++]=hg,I0[L0++]=ix,fg=e.id,hg=e.overflow,ix=t),t=ype(t,n.children),t.flags|=4096,t)}function X8e(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),Xhe(e.return,t,r)}function _pe(e,t,r,n,o){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=n,m.tail=r,m.tailMode=o)}function q8e(e,t,r){var n=t.pendingProps,o=n.revealOrder,m=n.tail;if(Hf(e,t,n.children,r),n=yc.current,n&2)n=n&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&X8e(e,r,t);else if(e.tag===19)X8e(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(wl(yc,n),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;r!==null;)e=r.alternate,e!==null&&P7(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),_pe(t,!1,o,r,m);break;case"backwards":for(r=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&P7(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}_pe(t,!0,r,null,m);break;case"together":_pe(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function G7(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function mg(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),ux|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(gi(153));if(t.child!==null){for(e=t.child,r=u2(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=u2(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function f1t(e,t,r){switch(t.tag){case 3:Y8e(t),Jw();break;case 5:u8e(t);break;case 1:Ih(t.type)&&A7(t);break;case 4:Qhe(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;wl(I7,n._currentValue),n._currentValue=o;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(wl(yc,yc.current&1),t.flags|=128,null):r&t.child.childLanes?K8e(e,t,r):(wl(yc,yc.current&1),e=mg(e,t,r),e!==null?e.sibling:null);wl(yc,yc.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return q8e(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),wl(yc,yc.current),n)break;return null;case 22:case 23:return t.lanes=0,V8e(e,t,r)}return mg(e,t,r)}var Z8e,xpe,Q8e,J8e;Z8e=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},xpe=function(){},Q8e=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,lx(Pv.current);var m=null;switch(r){case"input":o=Xfe(e,o),n=Xfe(e,n),m=[];break;case"select":o=gc({},o,{value:void 0}),n=gc({},n,{value:void 0}),m=[];break;case"textarea":o=Qfe(e,o),n=Qfe(e,n),m=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=S7)}ehe(r,n);var u;r=null;for(l in o)if(!n.hasOwnProperty(l)&&o.hasOwnProperty(l)&&o[l]!=null)if(l==="style"){var h=o[l];for(u in h)h.hasOwnProperty(u)&&(r||(r={}),r[u]="")}else l!=="dangerouslySetInnerHTML"&&l!=="children"&&l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(nC.hasOwnProperty(l)?m||(m=[]):(m=m||[]).push(l,null));for(l in n){var a=n[l];if(h=o!=null?o[l]:void 0,n.hasOwnProperty(l)&&a!==h&&(a!=null||h!=null))if(l==="style")if(h){for(u in h)!h.hasOwnProperty(u)||a&&a.hasOwnProperty(u)||(r||(r={}),r[u]="");for(u in a)a.hasOwnProperty(u)&&h[u]!==a[u]&&(r||(r={}),r[u]=a[u])}else r||(m||(m=[]),m.push(l,r)),r=a;else l==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,h=h?h.__html:void 0,a!=null&&h!==a&&(m=m||[]).push(l,a)):l==="children"?typeof a!="string"&&typeof a!="number"||(m=m||[]).push(l,""+a):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&(nC.hasOwnProperty(l)?(a!=null&&l==="onScroll"&&$l("scroll",e),m||h===a||(m=[])):(m=m||[]).push(l,a))}r&&(m=m||[]).push("style",r);var l=m;(t.updateQueue=l)&&(t.flags|=4)}},J8e=function(e,t,r,n){r!==n&&(t.flags|=4)};function zC(e,t){if(!nc)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function cf(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags&14680064,n|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function h1t(e,t,r){var n=t.pendingProps;switch(Hhe(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return cf(t),null;case 1:return Ih(t.type)&&T7(),cf(t),null;case 3:return n=t.stateNode,nT(),Hl(Nh),Hl(sf),tpe(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(R7(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,N1!==null&&(Npe(N1),N1=null))),xpe(e,t),cf(t),null;case 5:Jhe(t);var o=lx(OC.current);if(r=t.type,e!==null&&t.stateNode!=null)Q8e(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(gi(166));return cf(t),null}if(e=lx(Pv.current),R7(t)){n=t.stateNode,r=t.type;var m=t.memoizedProps;switch(n[Dv]=t,n[MC]=m,e=(t.mode&1)!==0,r){case"dialog":$l("cancel",n),$l("close",n);break;case"iframe":case"object":case"embed":$l("load",n);break;case"video":case"audio":for(o=0;o<AC.length;o++)$l(AC[o],n);break;case"source":$l("error",n);break;case"img":case"image":case"link":$l("error",n),$l("load",n);break;case"details":$l("toggle",n);break;case"input":Lke(n,m),$l("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!m.multiple},$l("invalid",n);break;case"textarea":Pke(n,m),$l("invalid",n)}ehe(r,m),o=null;for(var u in m)if(m.hasOwnProperty(u)){var h=m[u];u==="children"?typeof h=="string"?n.textContent!==h&&(m.suppressHydrationWarning!==!0&&E7(n.textContent,h,e),o=["children",h]):typeof h=="number"&&n.textContent!==""+h&&(m.suppressHydrationWarning!==!0&&E7(n.textContent,h,e),o=["children",""+h]):nC.hasOwnProperty(u)&&h!=null&&u==="onScroll"&&$l("scroll",n)}switch(r){case"input":JI(n),Dke(n,m,!0);break;case"textarea":JI(n),Bke(n);break;case"select":case"option":break;default:typeof m.onClick=="function"&&(n.onclick=S7)}n=o,t.updateQueue=n,n!==null&&(t.flags|=4)}else{u=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=zke(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=u.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=u.createElement(r,{is:n.is}):(e=u.createElement(r),r==="select"&&(u=e,n.multiple?u.multiple=!0:n.size&&(u.size=n.size))):e=u.createElementNS(e,r),e[Dv]=t,e[MC]=n,Z8e(e,t,!1,!1),t.stateNode=e;e:{switch(u=the(r,n),r){case"dialog":$l("cancel",e),$l("close",e),o=n;break;case"iframe":case"object":case"embed":$l("load",e),o=n;break;case"video":case"audio":for(o=0;o<AC.length;o++)$l(AC[o],e);o=n;break;case"source":$l("error",e),o=n;break;case"img":case"image":case"link":$l("error",e),$l("load",e),o=n;break;case"details":$l("toggle",e),o=n;break;case"input":Lke(e,n),o=Xfe(e,n),$l("invalid",e);break;case"option":o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=gc({},n,{value:void 0}),$l("invalid",e);break;case"textarea":Pke(e,n),o=Qfe(e,n),$l("invalid",e);break;default:o=n}ehe(r,o),h=o;for(m in h)if(h.hasOwnProperty(m)){var a=h[m];m==="style"?Hke(e,a):m==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Uke(e,a)):m==="children"?typeof a=="string"?(r!=="textarea"||a!=="")&&sC(e,a):typeof a=="number"&&sC(e,""+a):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(nC.hasOwnProperty(m)?a!=null&&m==="onScroll"&&$l("scroll",e):a!=null&&Bfe(e,m,a,u))}switch(r){case"input":JI(e),Dke(e,n,!1);break;case"textarea":JI(e),Bke(e);break;case"option":n.value!=null&&e.setAttribute("value",""+Yy(n.value));break;case"select":e.multiple=!!n.multiple,m=n.value,m!=null?Bw(e,!!n.multiple,m,!1):n.defaultValue!=null&&Bw(e,!!n.multiple,n.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=S7)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return cf(t),null;case 6:if(e&&t.stateNode!=null)J8e(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(gi(166));if(r=lx(OC.current),lx(Pv.current),R7(t)){if(n=t.stateNode,r=t.memoizedProps,n[Dv]=t,(m=n.nodeValue!==r)&&(e=Dp,e!==null))switch(e.tag){case 3:E7(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&E7(n.nodeValue,r,(e.mode&1)!==0)}m&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Dv]=t,t.stateNode=n}return cf(t),null;case 13:if(Hl(yc),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(nc&&Pp!==null&&t.mode&1&&!(t.flags&128))r8e(),Jw(),t.flags|=98560,m=!1;else if(m=R7(t),n!==null&&n.dehydrated!==null){if(e===null){if(!m)throw Error(gi(318));if(m=t.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(gi(317));m[Dv]=t}else Jw(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;cf(t),m=!1}else N1!==null&&(Npe(N1),N1=null),m=!0;if(!m)return t.flags&65536?t:null}return t.flags&128?(t.lanes=r,t):(n=n!==null,n!==(e!==null&&e.memoizedState!==null)&&n&&(t.child.flags|=8192,t.mode&1&&(e===null||yc.current&1?Nu===0&&(Nu=3):Ope())),t.updateQueue!==null&&(t.flags|=4),cf(t),null);case 4:return nT(),xpe(e,t),e===null&&CC(t.stateNode.containerInfo),cf(t),null;case 10:return Khe(t.type._context),cf(t),null;case 17:return Ih(t.type)&&T7(),cf(t),null;case 19:if(Hl(yc),m=t.memoizedState,m===null)return cf(t),null;if(n=(t.flags&128)!==0,u=m.rendering,u===null)if(n)zC(m,!1);else{if(Nu!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(u=P7(e),u!==null){for(t.flags|=128,zC(m,!1),n=u.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;r!==null;)m=r,e=n,m.flags&=14680066,u=m.alternate,u===null?(m.childLanes=0,m.lanes=e,m.child=null,m.subtreeFlags=0,m.memoizedProps=null,m.memoizedState=null,m.updateQueue=null,m.dependencies=null,m.stateNode=null):(m.childLanes=u.childLanes,m.lanes=u.lanes,m.child=u.child,m.subtreeFlags=0,m.deletions=null,m.memoizedProps=u.memoizedProps,m.memoizedState=u.memoizedState,m.updateQueue=u.updateQueue,m.type=u.type,e=u.dependencies,m.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return wl(yc,yc.current&1|2),t.child}e=e.sibling}m.tail!==null&&Zc()>sT&&(t.flags|=128,n=!0,zC(m,!1),t.lanes=4194304)}else{if(!n)if(e=P7(u),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),zC(m,!0),m.tail===null&&m.tailMode==="hidden"&&!u.alternate&&!nc)return cf(t),null}else 2*Zc()-m.renderingStartTime>sT&&r!==1073741824&&(t.flags|=128,n=!0,zC(m,!1),t.lanes=4194304);m.isBackwards?(u.sibling=t.child,t.child=u):(r=m.last,r!==null?r.sibling=u:t.child=u,m.last=u)}return m.tail!==null?(t=m.tail,m.rendering=t,m.tail=t.sibling,m.renderingStartTime=Zc(),t.sibling=null,r=yc.current,wl(yc,n?r&1|2:r&1),t):(cf(t),null);case 22:case 23:return Lpe(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Fp&1073741824&&(cf(t),t.subtreeFlags&6&&(t.flags|=8192)):cf(t),null;case 24:return null;case 25:return null}throw Error(gi(156,t.tag))}function p1t(e,t){switch(Hhe(t),t.tag){case 1:return Ih(t.type)&&T7(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nT(),Hl(Nh),Hl(sf),tpe(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Jhe(t),null;case 13:if(Hl(yc),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(gi(340));Jw()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Hl(yc),null;case 4:return nT(),null;case 10:return Khe(t.type._context),null;case 22:case 23:return Lpe(),null;case 24:return null;default:return null}}var j7=!1,uf=!1,v1t=typeof WeakSet=="function"?WeakSet:Set,Wi=null;function iT(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Oc(e,t,n)}else r.current=null}function bpe(e,t,r){try{r()}catch(n){Oc(e,t,n)}}var eRe=!1;function m1t(e,t){if(Lhe=d7,e=IMe(),The(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,m=n.focusNode;n=n.focusOffset;try{r.nodeType,m.nodeType}catch{r=null;break e}var u=0,h=-1,a=-1,l=0,v=0,i=e,S=null;t:for(;;){for(var g;i!==r||o!==0&&i.nodeType!==3||(h=u+o),i!==m||n!==0&&i.nodeType!==3||(a=u+n),i.nodeType===3&&(u+=i.nodeValue.length),(g=i.firstChild)!==null;)S=i,i=g;for(;;){if(i===e)break t;if(S===r&&++l===o&&(h=u),S===m&&++v===n&&(a=u),(g=i.nextSibling)!==null)break;i=S,S=i.parentNode}i=g}r=h===-1||a===-1?null:{start:h,end:a}}else r=null}r=r||{start:0,end:0}}else r=null;for(Ohe={focusedElem:e,selectionRange:r},d7=!1,Wi=t;Wi!==null;)if(t=Wi,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Wi=e;else for(;Wi!==null;){t=Wi;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var _=p.memoizedProps,c=p.memoizedState,s=t.stateNode,d=s.getSnapshotBeforeUpdate(t.elementType===t.type?_:I1(t.type,_),c);s.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(gi(163))}}catch(b){Oc(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,Wi=e;break}Wi=t.return}return p=eRe,eRe=!1,p}function UC(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var m=o.destroy;o.destroy=void 0,m!==void 0&&bpe(t,r,m)}o=o.next}while(o!==n)}}function Y7(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Epe(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function tRe(e){var t=e.alternate;t!==null&&(e.alternate=null,tRe(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Dv],delete t[MC],delete t[Bhe],delete t[Q0t],delete t[J0t])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function rRe(e){return e.tag===5||e.tag===3||e.tag===4}function nRe(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||rRe(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Spe(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=S7));else if(n!==4&&(e=e.child,e!==null))for(Spe(e,t,r),e=e.sibling;e!==null;)Spe(e,t,r),e=e.sibling}function wpe(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(wpe(e,t,r),e=e.sibling;e!==null;)wpe(e,t,r),e=e.sibling}var kd=null,L1=!1;function i2(e,t,r){for(r=r.child;r!==null;)aRe(e,t,r),r=r.sibling}function aRe(e,t,r){if(Ov&&typeof Ov.onCommitFiberUnmount=="function")try{Ov.onCommitFiberUnmount(i7,r)}catch{}switch(r.tag){case 5:uf||iT(r,t);case 6:var n=kd,o=L1;kd=null,i2(e,t,r),kd=n,L1=o,kd!==null&&(L1?(e=kd,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):kd.removeChild(r.stateNode));break;case 18:kd!==null&&(L1?(e=kd,r=r.stateNode,e.nodeType===8?Fhe(e.parentNode,r):e.nodeType===1&&Fhe(e,r),yC(e)):Fhe(kd,r.stateNode));break;case 4:n=kd,o=L1,kd=r.stateNode.containerInfo,L1=!0,i2(e,t,r),kd=n,L1=o;break;case 0:case 11:case 14:case 15:if(!uf&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var m=o,u=m.destroy;m=m.tag,u!==void 0&&(m&2||m&4)&&bpe(r,t,u),o=o.next}while(o!==n)}i2(e,t,r);break;case 1:if(!uf&&(iT(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(h){Oc(r,t,h)}i2(e,t,r);break;case 21:i2(e,t,r);break;case 22:r.mode&1?(uf=(n=uf)||r.memoizedState!==null,i2(e,t,r),uf=n):i2(e,t,r);break;default:i2(e,t,r)}}function iRe(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new v1t),t.forEach(function(n){var o=T1t.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function O1(e,t){var r=t.deletions;if(r!==null)for(var n=0;n<r.length;n++){var o=r[n];try{var m=e,u=t,h=u;e:for(;h!==null;){switch(h.tag){case 5:kd=h.stateNode,L1=!1;break e;case 3:kd=h.stateNode.containerInfo,L1=!0;break e;case 4:kd=h.stateNode.containerInfo,L1=!0;break e}h=h.return}if(kd===null)throw Error(gi(160));aRe(m,u,o),kd=null,L1=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(l){Oc(o,t,l)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)oRe(t,e),t=t.sibling}function oRe(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(O1(t,e),Bv(e),n&4){try{UC(3,e,e.return),Y7(3,e)}catch(_){Oc(e,e.return,_)}try{UC(5,e,e.return)}catch(_){Oc(e,e.return,_)}}break;case 1:O1(t,e),Bv(e),n&512&&r!==null&&iT(r,r.return);break;case 5:if(O1(t,e),Bv(e),n&512&&r!==null&&iT(r,r.return),e.flags&32){var o=e.stateNode;try{sC(o,"")}catch(_){Oc(e,e.return,_)}}if(n&4&&(o=e.stateNode,o!=null)){var m=e.memoizedProps,u=r!==null?r.memoizedProps:m,h=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{h==="input"&&m.type==="radio"&&m.name!=null&&Oke(o,m),the(h,u);var l=the(h,m);for(u=0;u<a.length;u+=2){var v=a[u],i=a[u+1];v==="style"?Hke(o,i):v==="dangerouslySetInnerHTML"?Uke(o,i):v==="children"?sC(o,i):Bfe(o,v,i,l)}switch(h){case"input":qfe(o,m);break;case"textarea":Fke(o,m);break;case"select":var S=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!m.multiple;var g=m.value;g!=null?Bw(o,!!m.multiple,g,!1):S!==!!m.multiple&&(m.defaultValue!=null?Bw(o,!!m.multiple,m.defaultValue,!0):Bw(o,!!m.multiple,m.multiple?[]:"",!1))}o[MC]=m}catch(_){Oc(e,e.return,_)}}break;case 6:if(O1(t,e),Bv(e),n&4){if(e.stateNode===null)throw Error(gi(162));o=e.stateNode,m=e.memoizedProps;try{o.nodeValue=m}catch(_){Oc(e,e.return,_)}}break;case 3:if(O1(t,e),Bv(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{yC(t.containerInfo)}catch(_){Oc(e,e.return,_)}break;case 4:O1(t,e),Bv(e);break;case 13:O1(t,e),Bv(e),o=e.child,o.flags&8192&&(m=o.memoizedState!==null,o.stateNode.isHidden=m,!m||o.alternate!==null&&o.alternate.memoizedState!==null||(Cpe=Zc())),n&4&&iRe(e);break;case 22:if(v=r!==null&&r.memoizedState!==null,e.mode&1?(uf=(l=uf)||v,O1(t,e),uf=l):O1(t,e),Bv(e),n&8192){if(l=e.memoizedState!==null,(e.stateNode.isHidden=l)&&!v&&e.mode&1)for(Wi=e,v=e.child;v!==null;){for(i=Wi=v;Wi!==null;){switch(S=Wi,g=S.child,S.tag){case 0:case 11:case 14:case 15:UC(4,S,S.return);break;case 1:iT(S,S.return);var p=S.stateNode;if(typeof p.componentWillUnmount=="function"){n=S,r=S.return;try{t=n,p.props=t.memoizedProps,p.state=t.memoizedState,p.componentWillUnmount()}catch(_){Oc(n,r,_)}}break;case 5:iT(S,S.return);break;case 22:if(S.memoizedState!==null){cRe(i);continue}}g!==null?(g.return=S,Wi=g):cRe(i)}v=v.sibling}e:for(v=null,i=e;;){if(i.tag===5){if(v===null){v=i;try{o=i.stateNode,l?(m=o.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none"):(h=i.stateNode,a=i.memoizedProps.style,u=a!=null&&a.hasOwnProperty("display")?a.display:null,h.style.display=$ke("display",u))}catch(_){Oc(e,e.return,_)}}}else if(i.tag===6){if(v===null)try{i.stateNode.nodeValue=l?"":i.memoizedProps}catch(_){Oc(e,e.return,_)}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===e)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break e;for(;i.sibling===null;){if(i.return===null||i.return===e)break e;v===i&&(v=null),i=i.return}v===i&&(v=null),i.sibling.return=i.return,i=i.sibling}}break;case 19:O1(t,e),Bv(e),n&4&&iRe(e);break;case 21:break;default:O1(t,e),Bv(e)}}function Bv(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(rRe(r)){var n=r;break e}r=r.return}throw Error(gi(160))}switch(n.tag){case 5:var o=n.stateNode;n.flags&32&&(sC(o,""),n.flags&=-33);var m=nRe(e);wpe(e,m,o);break;case 3:case 4:var u=n.stateNode.containerInfo,h=nRe(e);Spe(e,h,u);break;default:throw Error(gi(161))}}catch(a){Oc(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function g1t(e,t,r){Wi=e,sRe(e)}function sRe(e,t,r){for(var n=(e.mode&1)!==0;Wi!==null;){var o=Wi,m=o.child;if(o.tag===22&&n){var u=o.memoizedState!==null||j7;if(!u){var h=o.alternate,a=h!==null&&h.memoizedState!==null||uf;h=j7;var l=uf;if(j7=u,(uf=a)&&!l)for(Wi=o;Wi!==null;)u=Wi,a=u.child,u.tag===22&&u.memoizedState!==null?uRe(o):a!==null?(a.return=u,Wi=a):uRe(o);for(;m!==null;)Wi=m,sRe(m),m=m.sibling;Wi=o,j7=h,uf=l}lRe(e)}else o.subtreeFlags&8772&&m!==null?(m.return=o,Wi=m):lRe(e)}}function lRe(e){for(;Wi!==null;){var t=Wi;if(t.flags&8772){var r=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:uf||Y7(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!uf)if(r===null)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:I1(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var m=t.updateQueue;m!==null&&c8e(t,m,n);break;case 3:var u=t.updateQueue;if(u!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}c8e(t,u,r)}break;case 5:var h=t.stateNode;if(r===null&&t.flags&4){r=h;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&r.focus();break;case"img":a.src&&(r.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var l=t.alternate;if(l!==null){var v=l.memoizedState;if(v!==null){var i=v.dehydrated;i!==null&&yC(i)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(gi(163))}uf||t.flags&512&&Epe(t)}catch(S){Oc(t,t.return,S)}}if(t===e){Wi=null;break}if(r=t.sibling,r!==null){r.return=t.return,Wi=r;break}Wi=t.return}}function cRe(e){for(;Wi!==null;){var t=Wi;if(t===e){Wi=null;break}var r=t.sibling;if(r!==null){r.return=t.return,Wi=r;break}Wi=t.return}}function uRe(e){for(;Wi!==null;){var t=Wi;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{Y7(4,t)}catch(a){Oc(t,r,a)}break;case 1:var n=t.stateNode;if(typeof n.componentDidMount=="function"){var o=t.return;try{n.componentDidMount()}catch(a){Oc(t,o,a)}}var m=t.return;try{Epe(t)}catch(a){Oc(t,m,a)}break;case 5:var u=t.return;try{Epe(t)}catch(a){Oc(t,u,a)}}}catch(a){Oc(t,t.return,a)}if(t===e){Wi=null;break}var h=t.sibling;if(h!==null){h.return=t.return,Wi=h;break}Wi=t.return}}var y1t=Math.ceil,W7=cg.ReactCurrentDispatcher,Tpe=cg.ReactCurrentOwner,P0=cg.ReactCurrentBatchConfig,Bs=0,Ju=null,mu=null,Md=0,Fp=0,oT=e2(0),Nu=0,$C=null,ux=0,K7=0,Ape=0,HC=null,Oh=null,Cpe=0,sT=1/0,gg=null,X7=!1,kpe=null,o2=null,q7=!1,s2=null,Z7=0,VC=0,Mpe=null,Q7=-1,J7=0;function Vf(){return Bs&6?Zc():Q7!==-1?Q7:Q7=Zc()}function l2(e){return e.mode&1?Bs&2&&Md!==0?Md&-Md:t1t.transition!==null?(J7===0&&(J7=nMe()),J7):(e=sl,e!==0||(e=window.event,e=e===void 0?16:fMe(e.type)),e):1}function D1(e,t,r,n){if(50<VC)throw VC=0,Mpe=null,Error(gi(185));hC(e,r,n),(!(Bs&2)||e!==Ju)&&(e===Ju&&(!(Bs&2)&&(K7|=r),Nu===4&&c2(e,Md)),Dh(e,n),r===1&&Bs===0&&!(t.mode&1)&&(sT=Zc()+500,C7&&r2()))}function Dh(e,t){var r=e.callbackNode;t0t(e,t);var n=l7(e,e===Ju?Md:0);if(n===0)r!==null&&eMe(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&eMe(r),t===1)e.tag===0?e1t(fRe.bind(null,e)):ZMe(fRe.bind(null,e)),q0t(function(){!(Bs&6)&&r2()}),r=null;else{switch(aMe(n)){case 1:r=lhe;break;case 4:r=tMe;break;case 16:r=a7;break;case 536870912:r=rMe;break;default:r=a7}r=xRe(r,dRe.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function dRe(e,t){if(Q7=-1,J7=0,Bs&6)throw Error(gi(327));var r=e.callbackNode;if(lT()&&e.callbackNode!==r)return null;var n=l7(e,e===Ju?Md:0);if(n===0)return null;if(n&30||n&e.expiredLanes||t)t=eL(e,n);else{t=n;var o=Bs;Bs|=2;var m=pRe();(Ju!==e||Md!==t)&&(gg=null,sT=Zc()+500,fx(e,t));do try{b1t();break}catch(h){hRe(e,h)}while(!0);Whe(),W7.current=m,Bs=o,mu!==null?t=0:(Ju=null,Md=0,t=Nu)}if(t!==0){if(t===2&&(o=che(e),o!==0&&(n=o,t=Rpe(e,o))),t===1)throw r=$C,fx(e,0),c2(e,n),Dh(e,Zc()),r;if(t===6)c2(e,n);else{if(o=e.current.alternate,!(n&30)&&!_1t(o)&&(t=eL(e,n),t===2&&(m=che(e),m!==0&&(n=m,t=Rpe(e,m))),t===1))throw r=$C,fx(e,0),c2(e,n),Dh(e,Zc()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(gi(345));case 2:hx(e,Oh,gg);break;case 3:if(c2(e,n),(n&130023424)===n&&(t=Cpe+500-Zc(),10<t)){if(l7(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){Vf(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Phe(hx.bind(null,e,Oh,gg),t);break}hx(e,Oh,gg);break;case 4:if(c2(e,n),(n&4194240)===n)break;for(t=e.eventTimes,o=-1;0<n;){var u=31-M1(n);m=1<<u,u=t[u],u>o&&(o=u),n&=~m}if(n=o,n=Zc()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*y1t(n/1960))-n,10<n){e.timeoutHandle=Phe(hx.bind(null,e,Oh,gg),n);break}hx(e,Oh,gg);break;case 5:hx(e,Oh,gg);break;default:throw Error(gi(329))}}}return Dh(e,Zc()),e.callbackNode===r?dRe.bind(null,e):null}function Rpe(e,t){var r=HC;return e.current.memoizedState.isDehydrated&&(fx(e,t).flags|=256),e=eL(e,t),e!==2&&(t=Oh,Oh=r,t!==null&&Npe(t)),e}function Npe(e){Oh===null?Oh=e:Oh.push.apply(Oh,e)}function _1t(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var o=r[n],m=o.getSnapshot;o=o.value;try{if(!R1(m(),o))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function c2(e,t){for(t&=~Ape,t&=~K7,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-M1(t),n=1<<r;e[r]=-1,t&=~n}}function fRe(e){if(Bs&6)throw Error(gi(327));lT();var t=l7(e,0);if(!(t&1))return Dh(e,Zc()),null;var r=eL(e,t);if(e.tag!==0&&r===2){var n=che(e);n!==0&&(t=n,r=Rpe(e,n))}if(r===1)throw r=$C,fx(e,0),c2(e,t),Dh(e,Zc()),r;if(r===6)throw Error(gi(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,hx(e,Oh,gg),Dh(e,Zc()),null}function Ipe(e,t){var r=Bs;Bs|=1;try{return e(t)}finally{Bs=r,Bs===0&&(sT=Zc()+500,C7&&r2())}}function dx(e){s2!==null&&s2.tag===0&&!(Bs&6)&&lT();var t=Bs;Bs|=1;var r=P0.transition,n=sl;try{if(P0.transition=null,sl=1,e)return e()}finally{sl=n,P0.transition=r,Bs=t,!(Bs&6)&&r2()}}function Lpe(){Fp=oT.current,Hl(oT)}function fx(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,X0t(r)),mu!==null)for(r=mu.return;r!==null;){var n=r;switch(Hhe(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&T7();break;case 3:nT(),Hl(Nh),Hl(sf),tpe();break;case 5:Jhe(n);break;case 4:nT();break;case 13:Hl(yc);break;case 19:Hl(yc);break;case 10:Khe(n.type._context);break;case 22:case 23:Lpe()}r=r.return}if(Ju=e,mu=e=u2(e.current,null),Md=Fp=t,Nu=0,$C=null,Ape=K7=ux=0,Oh=HC=null,sx!==null){for(t=0;t<sx.length;t++)if(r=sx[t],n=r.interleaved,n!==null){r.interleaved=null;var o=n.next,m=r.pending;if(m!==null){var u=m.next;m.next=o,n.next=u}r.pending=n}sx=null}return e}function hRe(e,t){do{var r=mu;try{if(Whe(),F7.current=$7,B7){for(var n=_c.memoizedState;n!==null;){var o=n.queue;o!==null&&(o.pending=null),n=n.next}B7=!1}if(cx=0,Qu=Ru=_c=null,DC=!1,PC=0,Tpe.current=null,r===null||r.return===null){Nu=1,$C=t,mu=null;break}e:{var m=e,u=r.return,h=r,a=t;if(t=Md,h.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var l=a,v=h,i=v.tag;if(!(v.mode&1)&&(i===0||i===11||i===15)){var S=v.alternate;S?(v.updateQueue=S.updateQueue,v.memoizedState=S.memoizedState,v.lanes=S.lanes):(v.updateQueue=null,v.memoizedState=null)}var g=B8e(u);if(g!==null){g.flags&=-257,z8e(g,u,h,m,t),g.mode&1&&F8e(m,l,t),t=g,a=l;var p=t.updateQueue;if(p===null){var _=new Set;_.add(a),t.updateQueue=_}else p.add(a);break e}else{if(!(t&1)){F8e(m,l,t),Ope();break e}a=Error(gi(426))}}else if(nc&&h.mode&1){var c=B8e(u);if(c!==null){!(c.flags&65536)&&(c.flags|=256),z8e(c,u,h,m,t),jhe(aT(a,h));break e}}m=a=aT(a,h),Nu!==4&&(Nu=2),HC===null?HC=[m]:HC.push(m),m=u;do{switch(m.tag){case 3:m.flags|=65536,t&=-t,m.lanes|=t;var s=D8e(m,a,t);l8e(m,s);break e;case 1:h=a;var d=m.type,f=m.stateNode;if(!(m.flags&128)&&(typeof d.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(o2===null||!o2.has(f)))){m.flags|=65536,t&=-t,m.lanes|=t;var b=P8e(m,h,t);l8e(m,b);break e}}m=m.return}while(m!==null)}mRe(r)}catch(x){t=x,mu===r&&r!==null&&(mu=r=r.return);continue}break}while(!0)}function pRe(){var e=W7.current;return W7.current=$7,e===null?$7:e}function Ope(){(Nu===0||Nu===3||Nu===2)&&(Nu=4),Ju===null||!(ux&268435455)&&!(K7&268435455)||c2(Ju,Md)}function eL(e,t){var r=Bs;Bs|=2;var n=pRe();(Ju!==e||Md!==t)&&(gg=null,fx(e,t));do try{x1t();break}catch(o){hRe(e,o)}while(!0);if(Whe(),Bs=r,W7.current=n,mu!==null)throw Error(gi(261));return Ju=null,Md=0,Nu}function x1t(){for(;mu!==null;)vRe(mu)}function b1t(){for(;mu!==null&&!Ypt();)vRe(mu)}function vRe(e){var t=_Re(e.alternate,e,Fp);e.memoizedProps=e.pendingProps,t===null?mRe(e):mu=t,Tpe.current=null}function mRe(e){var t=e;do{var r=t.alternate;if(e=t.return,t.flags&32768){if(r=p1t(r,t),r!==null){r.flags&=32767,mu=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Nu=6,mu=null;return}}else if(r=h1t(r,t,Fp),r!==null){mu=r;return}if(t=t.sibling,t!==null){mu=t;return}mu=t=e}while(t!==null);Nu===0&&(Nu=5)}function hx(e,t,r){var n=sl,o=P0.transition;try{P0.transition=null,sl=1,E1t(e,t,r,n)}finally{P0.transition=o,sl=n}return null}function E1t(e,t,r,n){do lT();while(s2!==null);if(Bs&6)throw Error(gi(327));r=e.finishedWork;var o=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(gi(177));e.callbackNode=null,e.callbackPriority=0;var m=r.lanes|r.childLanes;if(r0t(e,m),e===Ju&&(mu=Ju=null,Md=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||q7||(q7=!0,xRe(a7,function(){return lT(),null})),m=(r.flags&15990)!==0,r.subtreeFlags&15990||m){m=P0.transition,P0.transition=null;var u=sl;sl=1;var h=Bs;Bs|=4,Tpe.current=null,m1t(e,r),oRe(r,e),H0t(Ohe),d7=!!Lhe,Ohe=Lhe=null,e.current=r,g1t(r),Wpt(),Bs=h,sl=u,P0.transition=m}else e.current=r;if(q7&&(q7=!1,s2=e,Z7=o),m=e.pendingLanes,m===0&&(o2=null),qpt(r.stateNode),Dh(e,Zc()),t!==null)for(n=e.onRecoverableError,r=0;r<t.length;r++)o=t[r],n(o.value,{componentStack:o.stack,digest:o.digest});if(X7)throw X7=!1,e=kpe,kpe=null,e;return Z7&1&&e.tag!==0&&lT(),m=e.pendingLanes,m&1?e===Mpe?VC++:(VC=0,Mpe=e):VC=0,r2(),null}function lT(){if(s2!==null){var e=aMe(Z7),t=P0.transition,r=sl;try{if(P0.transition=null,sl=16>e?16:e,s2===null)var n=!1;else{if(e=s2,s2=null,Z7=0,Bs&6)throw Error(gi(331));var o=Bs;for(Bs|=4,Wi=e.current;Wi!==null;){var m=Wi,u=m.child;if(Wi.flags&16){var h=m.deletions;if(h!==null){for(var a=0;a<h.length;a++){var l=h[a];for(Wi=l;Wi!==null;){var v=Wi;switch(v.tag){case 0:case 11:case 15:UC(8,v,m)}var i=v.child;if(i!==null)i.return=v,Wi=i;else for(;Wi!==null;){v=Wi;var S=v.sibling,g=v.return;if(tRe(v),v===l){Wi=null;break}if(S!==null){S.return=g,Wi=S;break}Wi=g}}}var p=m.alternate;if(p!==null){var _=p.child;if(_!==null){p.child=null;do{var c=_.sibling;_.sibling=null,_=c}while(_!==null)}}Wi=m}}if(m.subtreeFlags&2064&&u!==null)u.return=m,Wi=u;else e:for(;Wi!==null;){if(m=Wi,m.flags&2048)switch(m.tag){case 0:case 11:case 15:UC(9,m,m.return)}var s=m.sibling;if(s!==null){s.return=m.return,Wi=s;break e}Wi=m.return}}var d=e.current;for(Wi=d;Wi!==null;){u=Wi;var f=u.child;if(u.subtreeFlags&2064&&f!==null)f.return=u,Wi=f;else e:for(u=d;Wi!==null;){if(h=Wi,h.flags&2048)try{switch(h.tag){case 0:case 11:case 15:Y7(9,h)}}catch(x){Oc(h,h.return,x)}if(h===u){Wi=null;break e}var b=h.sibling;if(b!==null){b.return=h.return,Wi=b;break e}Wi=h.return}}if(Bs=o,r2(),Ov&&typeof Ov.onPostCommitFiberRoot=="function")try{Ov.onPostCommitFiberRoot(i7,e)}catch{}n=!0}return n}finally{sl=r,P0.transition=t}}return!1}function gRe(e,t,r){t=aT(r,t),t=D8e(e,t,1),e=a2(e,t,1),t=Vf(),e!==null&&(hC(e,1,t),Dh(e,t))}function Oc(e,t,r){if(e.tag===3)gRe(e,e,r);else for(;t!==null;){if(t.tag===3){gRe(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(o2===null||!o2.has(n))){e=aT(r,e),e=P8e(t,e,1),t=a2(t,e,1),e=Vf(),t!==null&&(hC(t,1,e),Dh(t,e));break}}t=t.return}}function S1t(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=Vf(),e.pingedLanes|=e.suspendedLanes&r,Ju===e&&(Md&r)===r&&(Nu===4||Nu===3&&(Md&130023424)===Md&&500>Zc()-Cpe?fx(e,0):Ape|=r),Dh(e,t)}function yRe(e,t){t===0&&(e.mode&1?(t=s7,s7<<=1,!(s7&130023424)&&(s7=4194304)):t=1);var r=Vf();e=pg(e,t),e!==null&&(hC(e,t,r),Dh(e,r))}function w1t(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),yRe(e,r)}function T1t(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(gi(314))}n!==null&&n.delete(t),yRe(e,r)}var _Re;_Re=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Nh.current)Lh=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Lh=!1,f1t(e,t,r);Lh=!!(e.flags&131072)}else Lh=!1,nc&&t.flags&1048576&&QMe(t,M7,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;G7(e,t),e=t.pendingProps;var o=qw(t,sf.current);rT(t,r),o=ape(null,t,n,e,o,r);var m=ipe();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ih(n)?(m=!0,A7(t)):m=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Zhe(t),o.updater=H7,t.stateNode=o,o._reactInternals=t,dpe(t,n,e,r),t=vpe(null,t,n,!0,m,r)):(t.tag=0,nc&&m&&$he(t),Hf(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(G7(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=C1t(n),e=I1(n,e),o){case 0:t=ppe(null,t,n,e,r);break e;case 1:t=j8e(null,t,n,e,r);break e;case 11:t=U8e(null,t,n,e,r);break e;case 14:t=$8e(null,t,n,I1(n.type,e),r);break e}throw Error(gi(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:I1(n,o),ppe(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:I1(n,o),j8e(e,t,n,o,r);case 3:e:{if(Y8e(t),e===null)throw Error(gi(387));n=t.pendingProps,m=t.memoizedState,o=m.element,s8e(e,t),D7(t,n,null,r);var u=t.memoizedState;if(n=u.element,m.isDehydrated)if(m={element:n,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},t.updateQueue.baseState=m,t.memoizedState=m,t.flags&256){o=aT(Error(gi(423)),t),t=W8e(e,t,n,r,o);break e}else if(n!==o){o=aT(Error(gi(424)),t),t=W8e(e,t,n,r,o);break e}else for(Pp=Jy(t.stateNode.containerInfo.firstChild),Dp=t,nc=!0,N1=null,r=i8e(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Jw(),n===o){t=mg(e,t,r);break e}Hf(e,t,n,r)}t=t.child}return t;case 5:return u8e(t),e===null&&Ghe(t),n=t.type,o=t.pendingProps,m=e!==null?e.memoizedProps:null,u=o.children,Dhe(n,o)?u=null:m!==null&&Dhe(n,m)&&(t.flags|=32),G8e(e,t),Hf(e,t,u,r),t.child;case 6:return e===null&&Ghe(t),null;case 13:return K8e(e,t,r);case 4:return Qhe(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=eT(t,null,n,r):Hf(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:I1(n,o),U8e(e,t,n,o,r);case 7:return Hf(e,t,t.pendingProps,r),t.child;case 8:return Hf(e,t,t.pendingProps.children,r),t.child;case 12:return Hf(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,m=t.memoizedProps,u=o.value,wl(I7,n._currentValue),n._currentValue=u,m!==null)if(R1(m.value,u)){if(m.children===o.children&&!Nh.current){t=mg(e,t,r);break e}}else for(m=t.child,m!==null&&(m.return=t);m!==null;){var h=m.dependencies;if(h!==null){u=m.child;for(var a=h.firstContext;a!==null;){if(a.context===n){if(m.tag===1){a=vg(-1,r&-r),a.tag=2;var l=m.updateQueue;if(l!==null){l=l.shared;var v=l.pending;v===null?a.next=a:(a.next=v.next,v.next=a),l.pending=a}}m.lanes|=r,a=m.alternate,a!==null&&(a.lanes|=r),Xhe(m.return,r,t),h.lanes|=r;break}a=a.next}}else if(m.tag===10)u=m.type===t.type?null:m.child;else if(m.tag===18){if(u=m.return,u===null)throw Error(gi(341));u.lanes|=r,h=u.alternate,h!==null&&(h.lanes|=r),Xhe(u,r,t),u=m.sibling}else u=m.child;if(u!==null)u.return=m;else for(u=m;u!==null;){if(u===t){u=null;break}if(m=u.sibling,m!==null){m.return=u.return,u=m;break}u=u.return}m=u}Hf(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,rT(t,r),o=O0(o),n=n(o),t.flags|=1,Hf(e,t,n,r),t.child;case 14:return n=t.type,o=I1(n,t.pendingProps),o=I1(n.type,o),$8e(e,t,n,o,r);case 15:return H8e(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:I1(n,o),G7(e,t),t.tag=1,Ih(n)?(e=!0,A7(t)):e=!1,rT(t,r),L8e(t,n,o),dpe(t,n,o,r),vpe(null,t,n,!0,e,r);case 19:return q8e(e,t,r);case 22:return V8e(e,t,r)}throw Error(gi(156,t.tag))};function xRe(e,t){return Jke(e,t)}function A1t(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function F0(e,t,r,n){return new A1t(e,t,r,n)}function Dpe(e){return e=e.prototype,!(!e||!e.isReactComponent)}function C1t(e){if(typeof e=="function")return Dpe(e)?1:0;if(e!=null){if(e=e.$$typeof,e===$fe)return 11;if(e===Gfe)return 14}return 2}function u2(e,t){var r=e.alternate;return r===null?(r=F0(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function tL(e,t,r,n,o,m){var u=2;if(n=e,typeof e=="function")Dpe(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Fw:return px(r.children,o,m,t);case zfe:u=8,o|=8;break;case Ufe:return e=F0(12,r,t,o|2),e.elementType=Ufe,e.lanes=m,e;case Hfe:return e=F0(13,r,t,o),e.elementType=Hfe,e.lanes=m,e;case Vfe:return e=F0(19,r,t,o),e.elementType=Vfe,e.lanes=m,e;case Mke:return rL(r,o,m,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Cke:u=10;break e;case kke:u=9;break e;case $fe:u=11;break e;case Gfe:u=14;break e;case jy:u=16,n=null;break e}throw Error(gi(130,e==null?e:typeof e,""))}return t=F0(u,r,t,o),t.elementType=e,t.type=n,t.lanes=m,t}function px(e,t,r,n){return e=F0(7,e,n,t),e.lanes=r,e}function rL(e,t,r,n){return e=F0(22,e,n,t),e.elementType=Mke,e.lanes=r,e.stateNode={isHidden:!1},e}function Ppe(e,t,r){return e=F0(6,e,null,t),e.lanes=r,e}function Fpe(e,t,r){return t=F0(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function k1t(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=uhe(0),this.expirationTimes=uhe(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=uhe(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bpe(e,t,r,n,o,m,u,h,a){return e=new k1t(e,t,r,h,a),t===1?(t=1,m===!0&&(t|=8)):t=0,m=F0(3,null,null,t),e.current=m,m.stateNode=e,m.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zhe(m),e}function M1t(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Pw,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function bRe(e){if(!e)return t2;e=e._reactInternals;e:{if(rx(e)!==e||e.tag!==1)throw Error(gi(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ih(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(gi(171))}if(e.tag===1){var r=e.type;if(Ih(r))return XMe(e,r,t)}return t}function ERe(e,t,r,n,o,m,u,h,a){return e=Bpe(r,n,!0,e,o,m,u,h,a),e.context=bRe(null),r=e.current,n=Vf(),o=l2(r),m=vg(n,o),m.callback=t??null,a2(r,m,o),e.current.lanes=o,hC(e,o,n),Dh(e,n),e}function nL(e,t,r,n){var o=t.current,m=Vf(),u=l2(o);return r=bRe(r),t.context===null?t.context=r:t.pendingContext=r,t=vg(m,u),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=a2(o,t,u),e!==null&&(D1(e,o,u,m),O7(e,o,u)),u}function aL(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function SRe(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function zpe(e,t){SRe(e,t),(e=e.alternate)&&SRe(e,t)}function R1t(){return null}var wRe=typeof reportError=="function"?reportError:function(e){console.error(e)};function Upe(e){this._internalRoot=e}iL.prototype.render=Upe.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(gi(409));nL(e,t,null,null)},iL.prototype.unmount=Upe.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;dx(function(){nL(null,e,null,null)}),t[ug]=null}};function iL(e){this._internalRoot=e}iL.prototype.unstable_scheduleHydration=function(e){if(e){var t=sMe();e={blockedOn:null,target:e,priority:t};for(var r=0;r<qy.length&&t!==0&&t<qy[r].priority;r++);qy.splice(r,0,e),r===0&&uMe(e)}};function $pe(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function oL(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function TRe(){}function N1t(e,t,r,n,o){if(o){if(typeof n=="function"){var m=n;n=function(){var l=aL(u);m.call(l)}}var u=ERe(t,n,e,0,null,!1,!1,"",TRe);return e._reactRootContainer=u,e[ug]=u.current,CC(e.nodeType===8?e.parentNode:e),dx(),u}for(;o=e.lastChild;)e.removeChild(o);if(typeof n=="function"){var h=n;n=function(){var l=aL(a);h.call(l)}}var a=Bpe(e,0,!1,null,null,!1,!1,"",TRe);return e._reactRootContainer=a,e[ug]=a.current,CC(e.nodeType===8?e.parentNode:e),dx(function(){nL(t,a,r,n)}),a}function sL(e,t,r,n,o){var m=r._reactRootContainer;if(m){var u=m;if(typeof o=="function"){var h=o;o=function(){var a=aL(u);h.call(a)}}nL(t,u,e,o)}else u=N1t(r,t,e,o,n);return aL(u)}iMe=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=fC(t.pendingLanes);r!==0&&(dhe(t,r|1),Dh(t,Zc()),!(Bs&6)&&(sT=Zc()+500,r2()))}break;case 13:dx(function(){var n=pg(e,1);if(n!==null){var o=Vf();D1(n,e,1,o)}}),zpe(e,1)}},fhe=function(e){if(e.tag===13){var t=pg(e,134217728);if(t!==null){var r=Vf();D1(t,e,134217728,r)}zpe(e,134217728)}},oMe=function(e){if(e.tag===13){var t=l2(e),r=pg(e,t);if(r!==null){var n=Vf();D1(r,e,t,n)}zpe(e,t)}},sMe=function(){return sl},lMe=function(e,t){var r=sl;try{return sl=e,t()}finally{sl=r}},ahe=function(e,t,r){switch(t){case"input":if(qfe(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=w7(n);if(!o)throw Error(gi(90));Ike(n),qfe(n,o)}}}break;case"textarea":Fke(e,r);break;case"select":t=r.value,t!=null&&Bw(e,!!r.multiple,t,!1)}},Yke=Ipe,Wke=dx;var I1t={usingClientEntryPoint:!1,Events:[RC,Kw,w7,Gke,jke,Ipe]},GC={findFiberByHostInstance:nx,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},L1t={bundleType:GC.bundleType,version:GC.version,rendererPackageName:GC.rendererPackageName,rendererConfig:GC.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:cg.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Zke(e),e===null?null:e.stateNode},findFiberByHostInstance:GC.findFiberByHostInstance||R1t,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 lL=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lL.isDisabled&&lL.supportsFiber)try{i7=lL.inject(L1t),Ov=lL}catch{}}Ip.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I1t,Ip.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!$pe(t))throw Error(gi(200));return M1t(e,t,null,r)},Ip.createRoot=function(e,t){if(!$pe(e))throw Error(gi(299));var r=!1,n="",o=wRe;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Bpe(e,1,!1,null,null,r,!1,n,o),e[ug]=t.current,CC(e.nodeType===8?e.parentNode:e),new Upe(t)},Ip.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(gi(188)):(e=Object.keys(e).join(","),Error(gi(268,e)));return e=Zke(t),e=e===null?null:e.stateNode,e},Ip.flushSync=function(e){return dx(e)},Ip.hydrate=function(e,t,r){if(!oL(t))throw Error(gi(200));return sL(null,e,t,!0,r)},Ip.hydrateRoot=function(e,t,r){if(!$pe(e))throw Error(gi(405));var n=r!=null&&r.hydratedSources||null,o=!1,m="",u=wRe;if(r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(m=r.identifierPrefix),r.onRecoverableError!==void 0&&(u=r.onRecoverableError)),t=ERe(t,null,e,1,r??null,o,!1,m,u),e[ug]=t.current,CC(e),n)for(e=0;e<n.length;e++)r=n[e],o=r._getVersion,o=o(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new iL(t)},Ip.render=function(e,t,r){if(!oL(t))throw Error(gi(200));return sL(null,e,t,!1,r)},Ip.unmountComponentAtNode=function(e){if(!oL(e))throw Error(gi(40));return e._reactRootContainer?(dx(function(){sL(null,null,e,!1,function(){e._reactRootContainer=null,e[ug]=null})}),!0):!1},Ip.unstable_batchedUpdates=Ipe,Ip.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!oL(r))throw Error(gi(200));if(e==null||e._reactInternals===void 0)throw Error(gi(38));return sL(e,t,r,!1,n)},Ip.version="18.3.1-next-f1338f8080-20240426";function ARe(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ARe)}catch(e){console.error(e)}}ARe(),bke.exports=Ip;var vx=bke.exports;const CRe=ec(vx);var O1t=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Zi=O1t.reduce((e,t)=>{const r=Ue.forwardRef((n,o)=>{const{asChild:m,...u}=n,h=m?Lv:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),Oe.jsx(h,{...u,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function kRe(e,t){e&&vx.flushSync(()=>e.dispatchEvent(t))}function Dc(e){const t=Ue.useRef(e);return Ue.useEffect(()=>{t.current=e}),Ue.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}function D1t(e,t=globalThis==null?void 0:globalThis.document){const r=Dc(e);Ue.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var P1t="DismissableLayer",Hpe="dismissableLayer.update",F1t="dismissableLayer.pointerDownOutside",B1t="dismissableLayer.focusOutside",MRe,RRe=Ue.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),mx=Ue.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:m,onInteractOutside:u,onDismiss:h,...a}=e,l=Ue.useContext(RRe),[v,i]=Ue.useState(null),S=(v==null?void 0:v.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=Ue.useState({}),p=co(t,C=>i(C)),_=Array.from(l.layers),[c]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),s=_.indexOf(c),d=v?_.indexOf(v):-1,f=l.layersWithOutsidePointerEventsDisabled.size>0,b=d>=s,x=$1t(C=>{const w=C.target,R=[...l.branches].some(A=>A.contains(w));!b||R||(o==null||o(C),u==null||u(C),C.defaultPrevented||h==null||h())},S),y=H1t(C=>{const w=C.target;[...l.branches].some(A=>A.contains(w))||(m==null||m(C),u==null||u(C),C.defaultPrevented||h==null||h())},S);return D1t(C=>{d===l.layers.size-1&&(n==null||n(C),!C.defaultPrevented&&h&&(C.preventDefault(),h()))},S),Ue.useEffect(()=>{if(v)return r&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(MRe=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(v)),l.layers.add(v),NRe(),()=>{r&&l.layersWithOutsidePointerEventsDisabled.size===1&&(S.body.style.pointerEvents=MRe)}},[v,S,r,l]),Ue.useEffect(()=>()=>{v&&(l.layers.delete(v),l.layersWithOutsidePointerEventsDisabled.delete(v),NRe())},[v,l]),Ue.useEffect(()=>{const C=()=>g({});return document.addEventListener(Hpe,C),()=>document.removeEventListener(Hpe,C)},[]),Oe.jsx(Zi.div,{...a,ref:p,style:{pointerEvents:f?b?"auto":"none":void 0,...e.style},onFocusCapture:qa(e.onFocusCapture,y.onFocusCapture),onBlurCapture:qa(e.onBlurCapture,y.onBlurCapture),onPointerDownCapture:qa(e.onPointerDownCapture,x.onPointerDownCapture)})});mx.displayName=P1t;var z1t="DismissableLayerBranch",U1t=Ue.forwardRef((e,t)=>{const r=Ue.useContext(RRe),n=Ue.useRef(null),o=co(t,n);return Ue.useEffect(()=>{const m=n.current;if(m)return r.branches.add(m),()=>{r.branches.delete(m)}},[r.branches]),Oe.jsx(Zi.div,{...e,ref:o})});U1t.displayName=z1t;function $1t(e,t=globalThis==null?void 0:globalThis.document){const r=Dc(e),n=Ue.useRef(!1),o=Ue.useRef(()=>{});return Ue.useEffect(()=>{const m=h=>{if(h.target&&!n.current){let a=function(){IRe(F1t,r,l,{discrete:!0})};const l={originalEvent:h};h.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);n.current=!1},u=window.setTimeout(()=>{t.addEventListener("pointerdown",m)},0);return()=>{window.clearTimeout(u),t.removeEventListener("pointerdown",m),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function H1t(e,t=globalThis==null?void 0:globalThis.document){const r=Dc(e),n=Ue.useRef(!1);return Ue.useEffect(()=>{const o=m=>{m.target&&!n.current&&IRe(B1t,r,{originalEvent:m},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function NRe(){const e=new CustomEvent(Hpe);document.dispatchEvent(e)}function IRe(e,t,r,{discrete:n}){const o=r.originalEvent.target,m=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?kRe(o,m):o.dispatchEvent(m)}var Vpe=0;function cL(){Ue.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??LRe()),document.body.insertAdjacentElement("beforeend",e[1]??LRe()),Vpe++,()=>{Vpe===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Vpe--}},[])}function LRe(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Gpe="focusScope.autoFocusOnMount",jpe="focusScope.autoFocusOnUnmount",ORe={bubbles:!1,cancelable:!0},V1t="FocusScope",jC=Ue.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:m,...u}=e,[h,a]=Ue.useState(null),l=Dc(o),v=Dc(m),i=Ue.useRef(null),S=co(t,_=>a(_)),g=Ue.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;Ue.useEffect(()=>{if(n){let _=function(f){if(g.paused||!h)return;const b=f.target;h.contains(b)?i.current=b:d2(i.current,{select:!0})},c=function(f){if(g.paused||!h)return;const b=f.relatedTarget;b!==null&&(h.contains(b)||d2(i.current,{select:!0}))},s=function(f){if(document.activeElement===document.body)for(const x of f)x.removedNodes.length>0&&d2(h)};document.addEventListener("focusin",_),document.addEventListener("focusout",c);const d=new MutationObserver(s);return h&&d.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",_),document.removeEventListener("focusout",c),d.disconnect()}}},[n,h,g.paused]),Ue.useEffect(()=>{if(h){FRe.add(g);const _=document.activeElement;if(!h.contains(_)){const s=new CustomEvent(Gpe,ORe);h.addEventListener(Gpe,l),h.dispatchEvent(s),s.defaultPrevented||(G1t(X1t(DRe(h)),{select:!0}),document.activeElement===_&&d2(h))}return()=>{h.removeEventListener(Gpe,l),setTimeout(()=>{const s=new CustomEvent(jpe,ORe);h.addEventListener(jpe,v),h.dispatchEvent(s),s.defaultPrevented||d2(_??document.body,{select:!0}),h.removeEventListener(jpe,v),FRe.remove(g)},0)}}},[h,l,v,g]);const p=Ue.useCallback(_=>{if(!r&&!n||g.paused)return;const c=_.key==="Tab"&&!_.altKey&&!_.ctrlKey&&!_.metaKey,s=document.activeElement;if(c&&s){const d=_.currentTarget,[f,b]=j1t(d);f&&b?!_.shiftKey&&s===b?(_.preventDefault(),r&&d2(f,{select:!0})):_.shiftKey&&s===f&&(_.preventDefault(),r&&d2(b,{select:!0})):s===d&&_.preventDefault()}},[r,n,g.paused]);return Oe.jsx(Zi.div,{tabIndex:-1,...u,ref:S,onKeyDown:p})});jC.displayName=V1t;function G1t(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(d2(n,{select:t}),document.activeElement!==r)return}function j1t(e){const t=DRe(e),r=PRe(t,e),n=PRe(t.reverse(),e);return[r,n]}function DRe(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function PRe(e,t){for(const r of e)if(!Y1t(r,{upTo:t}))return r}function Y1t(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function W1t(e){return e instanceof HTMLInputElement&&"select"in e}function d2(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&W1t(e)&&t&&e.select()}}var FRe=K1t();function K1t(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=BRe(e,t),e.unshift(t)},remove(t){var r;e=BRe(e,t),(r=e[0])==null||r.resume()}}}function BRe(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function X1t(e){return e.filter(t=>t.tagName!=="A")}var Iu=globalThis!=null&&globalThis.document?Ue.useLayoutEffect:()=>{},q1t=kR.useId||(()=>{}),Z1t=0;function Rd(e){const[t,r]=Ue.useState(q1t());return Iu(()=>{r(n=>n??String(Z1t++))},[e]),t?`radix-${t}`:""}const Q1t=["top","right","bottom","left"],f2=Math.min,Bp=Math.max,uL=Math.round,dL=Math.floor,h2=e=>({x:e,y:e}),J1t={left:"right",right:"left",bottom:"top",top:"bottom"},evt={start:"end",end:"start"};function Ype(e,t,r){return Bp(e,f2(t,r))}function yg(e,t){return typeof e=="function"?e(t):e}function _g(e){return e.split("-")[0]}function cT(e){return e.split("-")[1]}function Wpe(e){return e==="x"?"y":"x"}function Kpe(e){return e==="y"?"height":"width"}function uT(e){return["top","bottom"].includes(_g(e))?"y":"x"}function Xpe(e){return Wpe(uT(e))}function tvt(e,t,r){r===void 0&&(r=!1);const n=cT(e),o=Xpe(e),m=Kpe(o);let u=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[m]>t.floating[m]&&(u=fL(u)),[u,fL(u)]}function rvt(e){const t=fL(e);return[qpe(e),t,qpe(t)]}function qpe(e){return e.replace(/start|end/g,t=>evt[t])}function nvt(e,t,r){const n=["left","right"],o=["right","left"],m=["top","bottom"],u=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?m:u;default:return[]}}function avt(e,t,r,n){const o=cT(e);let m=nvt(_g(e),r==="start",n);return o&&(m=m.map(u=>u+"-"+o),t&&(m=m.concat(m.map(qpe)))),m}function fL(e){return e.replace(/left|right|bottom|top/g,t=>J1t[t])}function ivt(e){return{top:0,right:0,bottom:0,left:0,...e}}function zRe(e){return typeof e!="number"?ivt(e):{top:e,right:e,bottom:e,left:e}}function hL(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function URe(e,t,r){let{reference:n,floating:o}=e;const m=uT(t),u=Xpe(t),h=Kpe(u),a=_g(t),l=m==="y",v=n.x+n.width/2-o.width/2,i=n.y+n.height/2-o.height/2,S=n[h]/2-o[h]/2;let g;switch(a){case"top":g={x:v,y:n.y-o.height};break;case"bottom":g={x:v,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:i};break;case"left":g={x:n.x-o.width,y:i};break;default:g={x:n.x,y:n.y}}switch(cT(t)){case"start":g[u]-=S*(r&&l?-1:1);break;case"end":g[u]+=S*(r&&l?-1:1);break}return g}const ovt=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:m=[],platform:u}=r,h=m.filter(Boolean),a=await(u.isRTL==null?void 0:u.isRTL(t));let l=await u.getElementRects({reference:e,floating:t,strategy:o}),{x:v,y:i}=URe(l,n,a),S=n,g={},p=0;for(let _=0;_<h.length;_++){const{name:c,fn:s}=h[_],{x:d,y:f,data:b,reset:x}=await s({x:v,y:i,initialPlacement:n,placement:S,strategy:o,middlewareData:g,rects:l,platform:u,elements:{reference:e,floating:t}});if(v=d??v,i=f??i,g={...g,[c]:{...g[c],...b}},x&&p<=50){p++,typeof x=="object"&&(x.placement&&(S=x.placement),x.rects&&(l=x.rects===!0?await u.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:v,y:i}=URe(l,S,a)),_=-1;continue}}return{x:v,y:i,placement:S,strategy:o,middlewareData:g}};async function YC(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:m,rects:u,elements:h,strategy:a}=e,{boundary:l="clippingAncestors",rootBoundary:v="viewport",elementContext:i="floating",altBoundary:S=!1,padding:g=0}=yg(t,e),p=zRe(g),c=h[S?i==="floating"?"reference":"floating":i],s=hL(await m.getClippingRect({element:(r=await(m.isElement==null?void 0:m.isElement(c)))==null||r?c:c.contextElement||await(m.getDocumentElement==null?void 0:m.getDocumentElement(h.floating)),boundary:l,rootBoundary:v,strategy:a})),d=i==="floating"?{...u.floating,x:n,y:o}:u.reference,f=await(m.getOffsetParent==null?void 0:m.getOffsetParent(h.floating)),b=await(m.isElement==null?void 0:m.isElement(f))?await(m.getScale==null?void 0:m.getScale(f))||{x:1,y:1}:{x:1,y:1},x=hL(m.convertOffsetParentRelativeRectToViewportRelativeRect?await m.convertOffsetParentRelativeRectToViewportRelativeRect({rect:d,offsetParent:f,strategy:a}):d);return{top:(s.top-x.top+p.top)/b.y,bottom:(x.bottom-s.bottom+p.bottom)/b.y,left:(s.left-x.left+p.left)/b.x,right:(x.right-s.right+p.right)/b.x}}const $Re=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:m,platform:u,elements:h,middlewareData:a}=t,{element:l,padding:v=0}=yg(e,t)||{};if(l==null)return{};const i=zRe(v),S={x:r,y:n},g=Xpe(o),p=Kpe(g),_=await u.getDimensions(l),c=g==="y",s=c?"top":"left",d=c?"bottom":"right",f=c?"clientHeight":"clientWidth",b=m.reference[p]+m.reference[g]-S[g]-m.floating[p],x=S[g]-m.reference[g],y=await(u.getOffsetParent==null?void 0:u.getOffsetParent(l));let C=y?y[f]:0;(!C||!await(u.isElement==null?void 0:u.isElement(y)))&&(C=h.floating[f]||m.floating[p]);const w=b/2-x/2,R=C/2-_[p]/2-1,A=f2(i[s],R),E=f2(i[d],R),k=A,L=C-_[p]-E,I=C/2-_[p]/2+w,P=Ype(k,I,L),M=!a.arrow&&cT(o)!=null&&I!=P&&m.reference[p]/2-(I<k?A:E)-_[p]/2<0,F=M?I<k?I-k:I-L:0;return{[g]:S[g]+F,data:{[g]:P,centerOffset:I-P-F,...M&&{alignmentOffset:F}},reset:M}}}),svt=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:m,rects:u,initialPlacement:h,platform:a,elements:l}=t,{mainAxis:v=!0,crossAxis:i=!0,fallbackPlacements:S,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:_=!0,...c}=yg(e,t);if((r=m.arrow)!=null&&r.alignmentOffset)return{};const s=_g(o),d=_g(h)===h,f=await(a.isRTL==null?void 0:a.isRTL(l.floating)),b=S||(d||!_?[fL(h)]:rvt(h));!S&&p!=="none"&&b.push(...avt(h,_,p,f));const x=[h,...b],y=await YC(t,c),C=[];let w=((n=m.flip)==null?void 0:n.overflows)||[];if(v&&C.push(y[s]),i){const k=tvt(o,u,f);C.push(y[k[0]],y[k[1]])}if(w=[...w,{placement:o,overflows:C}],!C.every(k=>k<=0)){var R,A;const k=(((R=m.flip)==null?void 0:R.index)||0)+1,L=x[k];if(L)return{data:{index:k,overflows:w},reset:{placement:L}};let I=(A=w.filter(P=>P.overflows[0]<=0).sort((P,M)=>P.overflows[1]-M.overflows[1])[0])==null?void 0:A.placement;if(!I)switch(g){case"bestFit":{var E;const P=(E=w.map(M=>[M.placement,M.overflows.filter(F=>F>0).reduce((F,N)=>F+N,0)]).sort((M,F)=>M[1]-F[1])[0])==null?void 0:E[0];P&&(I=P);break}case"initialPlacement":I=h;break}if(o!==I)return{reset:{placement:I}}}return{}}}};function HRe(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function VRe(e){return Q1t.some(t=>e[t]>=0)}const lvt=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=yg(e,t);switch(n){case"referenceHidden":{const m=await YC(t,{...o,elementContext:"reference"}),u=HRe(m,r.reference);return{data:{referenceHiddenOffsets:u,referenceHidden:VRe(u)}}}case"escaped":{const m=await YC(t,{...o,altBoundary:!0}),u=HRe(m,r.floating);return{data:{escapedOffsets:u,escaped:VRe(u)}}}default:return{}}}}};async function cvt(e,t){const{placement:r,platform:n,elements:o}=e,m=await(n.isRTL==null?void 0:n.isRTL(o.floating)),u=_g(r),h=cT(r),a=uT(r)==="y",l=["left","top"].includes(u)?-1:1,v=m&&a?-1:1,i=yg(t,e);let{mainAxis:S,crossAxis:g,alignmentAxis:p}=typeof i=="number"?{mainAxis:i,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...i};return h&&typeof p=="number"&&(g=h==="end"?p*-1:p),a?{x:g*v,y:S*l}:{x:S*l,y:g*v}}const uvt=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:m,placement:u,middlewareData:h}=t,a=await cvt(t,e);return u===((r=h.offset)==null?void 0:r.placement)&&(n=h.arrow)!=null&&n.alignmentOffset?{}:{x:o+a.x,y:m+a.y,data:{...a,placement:u}}}}},dvt=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:m=!0,crossAxis:u=!1,limiter:h={fn:c=>{let{x:s,y:d}=c;return{x:s,y:d}}},...a}=yg(e,t),l={x:r,y:n},v=await YC(t,a),i=uT(_g(o)),S=Wpe(i);let g=l[S],p=l[i];if(m){const c=S==="y"?"top":"left",s=S==="y"?"bottom":"right",d=g+v[c],f=g-v[s];g=Ype(d,g,f)}if(u){const c=i==="y"?"top":"left",s=i==="y"?"bottom":"right",d=p+v[c],f=p-v[s];p=Ype(d,p,f)}const _=h.fn({...t,[S]:g,[i]:p});return{..._,data:{x:_.x-r,y:_.y-n}}}}},fvt=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:m,middlewareData:u}=t,{offset:h=0,mainAxis:a=!0,crossAxis:l=!0}=yg(e,t),v={x:r,y:n},i=uT(o),S=Wpe(i);let g=v[S],p=v[i];const _=yg(h,t),c=typeof _=="number"?{mainAxis:_,crossAxis:0}:{mainAxis:0,crossAxis:0,..._};if(a){const f=S==="y"?"height":"width",b=m.reference[S]-m.floating[f]+c.mainAxis,x=m.reference[S]+m.reference[f]-c.mainAxis;g<b?g=b:g>x&&(g=x)}if(l){var s,d;const f=S==="y"?"width":"height",b=["top","left"].includes(_g(o)),x=m.reference[i]-m.floating[f]+(b&&((s=u.offset)==null?void 0:s[i])||0)+(b?0:c.crossAxis),y=m.reference[i]+m.reference[f]+(b?0:((d=u.offset)==null?void 0:d[i])||0)-(b?c.crossAxis:0);p<x?p=x:p>y&&(p=y)}return{[S]:g,[i]:p}}}},hvt=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:m}=t,{apply:u=()=>{},...h}=yg(e,t),a=await YC(t,h),l=_g(r),v=cT(r),i=uT(r)==="y",{width:S,height:g}=n.floating;let p,_;l==="top"||l==="bottom"?(p=l,_=v===(await(o.isRTL==null?void 0:o.isRTL(m.floating))?"start":"end")?"left":"right"):(_=l,p=v==="end"?"top":"bottom");const c=g-a[p],s=S-a[_],d=!t.middlewareData.shift;let f=c,b=s;if(i){const y=S-a.left-a.right;b=v||d?f2(s,y):y}else{const y=g-a.top-a.bottom;f=v||d?f2(c,y):y}if(d&&!v){const y=Bp(a.left,0),C=Bp(a.right,0),w=Bp(a.top,0),R=Bp(a.bottom,0);i?b=S-2*(y!==0||C!==0?y+C:Bp(a.left,a.right)):f=g-2*(w!==0||R!==0?w+R:Bp(a.top,a.bottom))}await u({...t,availableWidth:b,availableHeight:f});const x=await o.getDimensions(m.floating);return S!==x.width||g!==x.height?{reset:{rects:!0}}:{}}}};function p2(e){return GRe(e)?(e.nodeName||"").toLowerCase():"#document"}function zp(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function xg(e){var t;return(t=(GRe(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function GRe(e){return e instanceof Node||e instanceof zp(e).Node}function bg(e){return e instanceof Element||e instanceof zp(e).Element}function zv(e){return e instanceof HTMLElement||e instanceof zp(e).HTMLElement}function jRe(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof zp(e).ShadowRoot}function WC(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=B0(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function pvt(e){return["table","td","th"].includes(p2(e))}function Zpe(e){const t=Qpe(),r=B0(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function vvt(e){let t=dT(e);for(;zv(t)&&!pL(t);){if(Zpe(t))return t;t=dT(t)}return null}function Qpe(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function pL(e){return["html","body","#document"].includes(p2(e))}function B0(e){return zp(e).getComputedStyle(e)}function vL(e){return bg(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function dT(e){if(p2(e)==="html")return e;const t=e.assignedSlot||e.parentNode||jRe(e)&&e.host||xg(e);return jRe(t)?t.host:t}function YRe(e){const t=dT(e);return pL(t)?e.ownerDocument?e.ownerDocument.body:e.body:zv(t)&&WC(t)?t:YRe(t)}function KC(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=YRe(e),m=o===((n=e.ownerDocument)==null?void 0:n.body),u=zp(o);return m?t.concat(u,u.visualViewport||[],WC(o)?o:[],u.frameElement&&r?KC(u.frameElement):[]):t.concat(o,KC(o,[],r))}function WRe(e){const t=B0(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=zv(e),m=o?e.offsetWidth:r,u=o?e.offsetHeight:n,h=uL(r)!==m||uL(n)!==u;return h&&(r=m,n=u),{width:r,height:n,$:h}}function Jpe(e){return bg(e)?e:e.contextElement}function fT(e){const t=Jpe(e);if(!zv(t))return h2(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:m}=WRe(t);let u=(m?uL(r.width):r.width)/n,h=(m?uL(r.height):r.height)/o;return(!u||!Number.isFinite(u))&&(u=1),(!h||!Number.isFinite(h))&&(h=1),{x:u,y:h}}const mvt=h2(0);function KRe(e){const t=zp(e);return!Qpe()||!t.visualViewport?mvt:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function gvt(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==zp(e)?!1:t}function gx(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),m=Jpe(e);let u=h2(1);t&&(n?bg(n)&&(u=fT(n)):u=fT(e));const h=gvt(m,r,n)?KRe(m):h2(0);let a=(o.left+h.x)/u.x,l=(o.top+h.y)/u.y,v=o.width/u.x,i=o.height/u.y;if(m){const S=zp(m),g=n&&bg(n)?zp(n):n;let p=S.frameElement;for(;p&&n&&g!==S;){const _=fT(p),c=p.getBoundingClientRect(),s=B0(p),d=c.left+(p.clientLeft+parseFloat(s.paddingLeft))*_.x,f=c.top+(p.clientTop+parseFloat(s.paddingTop))*_.y;a*=_.x,l*=_.y,v*=_.x,i*=_.y,a+=d,l+=f,p=zp(p).frameElement}}return hL({width:v,height:i,x:a,y:l})}function yvt(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=zv(r),m=xg(r);if(r===m)return t;let u={scrollLeft:0,scrollTop:0},h=h2(1);const a=h2(0);if((o||!o&&n!=="fixed")&&((p2(r)!=="body"||WC(m))&&(u=vL(r)),zv(r))){const l=gx(r);h=fT(r),a.x=l.x+r.clientLeft,a.y=l.y+r.clientTop}return{width:t.width*h.x,height:t.height*h.y,x:t.x*h.x-u.scrollLeft*h.x+a.x,y:t.y*h.y-u.scrollTop*h.y+a.y}}function _vt(e){return Array.from(e.getClientRects())}function XRe(e){return gx(xg(e)).left+vL(e).scrollLeft}function xvt(e){const t=xg(e),r=vL(e),n=e.ownerDocument.body,o=Bp(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),m=Bp(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let u=-r.scrollLeft+XRe(e);const h=-r.scrollTop;return B0(n).direction==="rtl"&&(u+=Bp(t.clientWidth,n.clientWidth)-o),{width:o,height:m,x:u,y:h}}function bvt(e,t){const r=zp(e),n=xg(e),o=r.visualViewport;let m=n.clientWidth,u=n.clientHeight,h=0,a=0;if(o){m=o.width,u=o.height;const l=Qpe();(!l||l&&t==="fixed")&&(h=o.offsetLeft,a=o.offsetTop)}return{width:m,height:u,x:h,y:a}}function Evt(e,t){const r=gx(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,m=zv(e)?fT(e):h2(1),u=e.clientWidth*m.x,h=e.clientHeight*m.y,a=o*m.x,l=n*m.y;return{width:u,height:h,x:a,y:l}}function qRe(e,t,r){let n;if(t==="viewport")n=bvt(e,r);else if(t==="document")n=xvt(xg(e));else if(bg(t))n=Evt(t,r);else{const o=KRe(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return hL(n)}function ZRe(e,t){const r=dT(e);return r===t||!bg(r)||pL(r)?!1:B0(r).position==="fixed"||ZRe(r,t)}function Svt(e,t){const r=t.get(e);if(r)return r;let n=KC(e,[],!1).filter(h=>bg(h)&&p2(h)!=="body"),o=null;const m=B0(e).position==="fixed";let u=m?dT(e):e;for(;bg(u)&&!pL(u);){const h=B0(u),a=Zpe(u);!a&&h.position==="fixed"&&(o=null),(m?!a&&!o:!a&&h.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||WC(u)&&!a&&ZRe(e,u))?n=n.filter(v=>v!==u):o=h,u=dT(u)}return t.set(e,n),n}function wvt(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const u=[...r==="clippingAncestors"?Svt(t,this._c):[].concat(r),n],h=u[0],a=u.reduce((l,v)=>{const i=qRe(t,v,o);return l.top=Bp(i.top,l.top),l.right=f2(i.right,l.right),l.bottom=f2(i.bottom,l.bottom),l.left=Bp(i.left,l.left),l},qRe(t,h,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Tvt(e){return WRe(e)}function Avt(e,t,r){const n=zv(t),o=xg(t),m=r==="fixed",u=gx(e,!0,m,t);let h={scrollLeft:0,scrollTop:0};const a=h2(0);if(n||!n&&!m)if((p2(t)!=="body"||WC(o))&&(h=vL(t)),n){const l=gx(t,!0,m,t);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else o&&(a.x=XRe(o));return{x:u.left+h.scrollLeft-a.x,y:u.top+h.scrollTop-a.y,width:u.width,height:u.height}}function QRe(e,t){return!zv(e)||B0(e).position==="fixed"?null:t?t(e):e.offsetParent}function JRe(e,t){const r=zp(e);if(!zv(e))return r;let n=QRe(e,t);for(;n&&pvt(n)&&B0(n).position==="static";)n=QRe(n,t);return n&&(p2(n)==="html"||p2(n)==="body"&&B0(n).position==="static"&&!Zpe(n))?r:n||vvt(e)||r}const Cvt=async function(e){let{reference:t,floating:r,strategy:n}=e;const o=this.getOffsetParent||JRe,m=this.getDimensions;return{reference:Avt(t,await o(r),n),floating:{x:0,y:0,...await m(r)}}};function kvt(e){return B0(e).direction==="rtl"}const Mvt={convertOffsetParentRelativeRectToViewportRelativeRect:yvt,getDocumentElement:xg,getClippingRect:wvt,getOffsetParent:JRe,getElementRects:Cvt,getClientRects:_vt,getDimensions:Tvt,getScale:fT,isElement:bg,isRTL:kvt};function Rvt(e,t){let r=null,n;const o=xg(e);function m(){clearTimeout(n),r&&r.disconnect(),r=null}function u(h,a){h===void 0&&(h=!1),a===void 0&&(a=1),m();const{left:l,top:v,width:i,height:S}=e.getBoundingClientRect();if(h||t(),!i||!S)return;const g=dL(v),p=dL(o.clientWidth-(l+i)),_=dL(o.clientHeight-(v+S)),c=dL(l),d={rootMargin:-g+"px "+-p+"px "+-_+"px "+-c+"px",threshold:Bp(0,f2(1,a))||1};let f=!0;function b(x){const y=x[0].intersectionRatio;if(y!==a){if(!f)return u();y?u(!1,y):n=setTimeout(()=>{u(!1,1e-7)},100)}f=!1}try{r=new IntersectionObserver(b,{...d,root:o.ownerDocument})}catch{r=new IntersectionObserver(b,d)}r.observe(e)}return u(!0),m}function Nvt(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:m=!0,elementResize:u=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:a=!1}=n,l=Jpe(e),v=o||m?[...l?KC(l):[],...KC(t)]:[];v.forEach(s=>{o&&s.addEventListener("scroll",r,{passive:!0}),m&&s.addEventListener("resize",r)});const i=l&&h?Rvt(l,r):null;let S=-1,g=null;u&&(g=new ResizeObserver(s=>{let[d]=s;d&&d.target===l&&g&&(g.unobserve(t),cancelAnimationFrame(S),S=requestAnimationFrame(()=>{g&&g.observe(t)})),r()}),l&&!a&&g.observe(l),g.observe(t));let p,_=a?gx(e):null;a&&c();function c(){const s=gx(e);_&&(s.x!==_.x||s.y!==_.y||s.width!==_.width||s.height!==_.height)&&r(),_=s,p=requestAnimationFrame(c)}return r(),()=>{v.forEach(s=>{o&&s.removeEventListener("scroll",r),m&&s.removeEventListener("resize",r)}),i&&i(),g&&g.disconnect(),g=null,a&&cancelAnimationFrame(p)}}const Ivt=(e,t,r)=>{const n=new Map,o={platform:Mvt,...r},m={...o.platform,_c:n};return ovt(e,t,{...o,platform:m})},Lvt=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:o}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?$Re({element:n.current,padding:o}).fn(r):{}:n?$Re({element:n,padding:o}).fn(r):{}}}};var mL=typeof document<"u"?Ue.useLayoutEffect:Ue.useEffect;function gL(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!gL(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const m=o[n];if(!(m==="_owner"&&e.$$typeof)&&!gL(e[m],t[m]))return!1}return!0}return e!==e&&t!==t}function eNe(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function tNe(e,t){const r=eNe(e);return Math.round(t*r)/r}function rNe(e){const t=Ue.useRef(e);return mL(()=>{t.current=e}),t}function Ovt(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:m,floating:u}={},transform:h=!0,whileElementsMounted:a,open:l}=e,[v,i]=Ue.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[S,g]=Ue.useState(n);gL(S,n)||g(n);const[p,_]=Ue.useState(null),[c,s]=Ue.useState(null),d=Ue.useCallback(M=>{M!=y.current&&(y.current=M,_(M))},[_]),f=Ue.useCallback(M=>{M!==C.current&&(C.current=M,s(M))},[s]),b=m||p,x=u||c,y=Ue.useRef(null),C=Ue.useRef(null),w=Ue.useRef(v),R=rNe(a),A=rNe(o),E=Ue.useCallback(()=>{if(!y.current||!C.current)return;const M={placement:t,strategy:r,middleware:S};A.current&&(M.platform=A.current),Ivt(y.current,C.current,M).then(F=>{const N={...F,isPositioned:!0};k.current&&!gL(w.current,N)&&(w.current=N,vx.flushSync(()=>{i(N)}))})},[S,t,r,A]);mL(()=>{l===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,i(M=>({...M,isPositioned:!1})))},[l]);const k=Ue.useRef(!1);mL(()=>(k.current=!0,()=>{k.current=!1}),[]),mL(()=>{if(b&&(y.current=b),x&&(C.current=x),b&&x){if(R.current)return R.current(b,x,E);E()}},[b,x,E,R]);const L=Ue.useMemo(()=>({reference:y,floating:C,setReference:d,setFloating:f}),[d,f]),I=Ue.useMemo(()=>({reference:b,floating:x}),[b,x]),P=Ue.useMemo(()=>{const M={position:r,left:0,top:0};if(!I.floating)return M;const F=tNe(I.floating,v.x),N=tNe(I.floating,v.y);return h?{...M,transform:"translate("+F+"px, "+N+"px)",...eNe(I.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:F,top:N}},[r,h,I.floating,v.x,v.y]);return Ue.useMemo(()=>({...v,update:E,refs:L,elements:I,floatingStyles:P}),[v,E,L,I,P])}var Dvt="Arrow",nNe=Ue.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...m}=e;return Oe.jsx(Zi.svg,{...m,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:Oe.jsx("polygon",{points:"0,0 30,0 15,10"})})});nNe.displayName=Dvt;var Pvt=nNe;function yL(e){const[t,r]=Ue.useState(void 0);return Iu(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const m=o[0];let u,h;if("borderBoxSize"in m){const a=m.borderBoxSize,l=Array.isArray(a)?a[0]:a;u=l.inlineSize,h=l.blockSize}else u=e.offsetWidth,h=e.offsetHeight;r({width:u,height:h})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var e0e="Popper",[aNe,Uv]=Lc(e0e),[Fvt,iNe]=aNe(e0e),oNe=e=>{const{__scopePopper:t,children:r}=e,[n,o]=Ue.useState(null);return Oe.jsx(Fvt,{scope:t,anchor:n,onAnchorChange:o,children:r})};oNe.displayName=e0e;var sNe="PopperAnchor",lNe=Ue.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,m=iNe(sNe,r),u=Ue.useRef(null),h=co(t,u);return Ue.useEffect(()=>{m.onAnchorChange((n==null?void 0:n.current)||u.current)}),n?null:Oe.jsx(Zi.div,{...o,ref:h})});lNe.displayName=sNe;var t0e="PopperContent",[Bvt,zvt]=aNe(t0e),cNe=Ue.forwardRef((e,t)=>{var j,G,W,X,Q,ae;const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:m="center",alignOffset:u=0,arrowPadding:h=0,avoidCollisions:a=!0,collisionBoundary:l=[],collisionPadding:v=0,sticky:i="partial",hideWhenDetached:S=!1,updatePositionStrategy:g="optimized",onPlaced:p,..._}=e,c=iNe(t0e,r),[s,d]=Ue.useState(null),f=co(t,ie=>d(ie)),[b,x]=Ue.useState(null),y=yL(b),C=(y==null?void 0:y.width)??0,w=(y==null?void 0:y.height)??0,R=n+(m!=="center"?"-"+m:""),A=typeof v=="number"?v:{top:0,right:0,bottom:0,left:0,...v},E=Array.isArray(l)?l:[l],k=E.length>0,L={padding:A,boundary:E.filter($vt),altBoundary:k},{refs:I,floatingStyles:P,placement:M,isPositioned:F,middlewareData:N}=Ovt({strategy:"fixed",placement:R,whileElementsMounted:(...ie)=>Nvt(...ie,{animationFrame:g==="always"}),elements:{reference:c.anchor},middleware:[uvt({mainAxis:o+w,alignmentAxis:u}),a&&dvt({mainAxis:!0,crossAxis:!1,limiter:i==="partial"?fvt():void 0,...L}),a&&svt({...L}),hvt({...L,apply:({elements:ie,rects:he,availableWidth:J,availableHeight:Z})=>{const{width:le,height:K}=he.reference,te=ie.floating.style;te.setProperty("--radix-popper-available-width",`${J}px`),te.setProperty("--radix-popper-available-height",`${Z}px`),te.setProperty("--radix-popper-anchor-width",`${le}px`),te.setProperty("--radix-popper-anchor-height",`${K}px`)}}),b&&Lvt({element:b,padding:h}),Hvt({arrowWidth:C,arrowHeight:w}),S&&lvt({strategy:"referenceHidden",...L})]}),[T,D]=fNe(M),O=Dc(p);Iu(()=>{F&&(O==null||O())},[F,O]);const U=(j=N.arrow)==null?void 0:j.x,B=(G=N.arrow)==null?void 0:G.y,Y=((W=N.arrow)==null?void 0:W.centerOffset)!==0,[z,V]=Ue.useState();return Iu(()=>{s&&V(window.getComputedStyle(s).zIndex)},[s]),Oe.jsx("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...P,transform:F?P.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:z,"--radix-popper-transform-origin":[(X=N.transformOrigin)==null?void 0:X.x,(Q=N.transformOrigin)==null?void 0:Q.y].join(" "),...((ae=N.hide)==null?void 0:ae.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:Oe.jsx(Bvt,{scope:r,placedSide:T,onArrowChange:x,arrowX:U,arrowY:B,shouldHideArrow:Y,children:Oe.jsx(Zi.div,{"data-side":T,"data-align":D,..._,ref:f,style:{..._.style,animation:F?void 0:"none"}})})})});cNe.displayName=t0e;var uNe="PopperArrow",Uvt={top:"bottom",right:"left",bottom:"top",left:"right"},dNe=Ue.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,m=zvt(uNe,n),u=Uvt[m.placedSide];return Oe.jsx("span",{ref:m.onArrowChange,style:{position:"absolute",left:m.arrowX,top:m.arrowY,[u]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[m.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[m.placedSide],visibility:m.shouldHideArrow?"hidden":void 0},children:Oe.jsx(Pvt,{...o,ref:r,style:{...o.style,display:"block"}})})});dNe.displayName=uNe;function $vt(e){return e!==null}var Hvt=e=>({name:"transformOrigin",options:e,fn(t){var c,s,d;const{placement:r,rects:n,middlewareData:o}=t,u=((c=o.arrow)==null?void 0:c.centerOffset)!==0,h=u?0:e.arrowWidth,a=u?0:e.arrowHeight,[l,v]=fNe(r),i={start:"0%",center:"50%",end:"100%"}[v],S=(((s=o.arrow)==null?void 0:s.x)??0)+h/2,g=(((d=o.arrow)==null?void 0:d.y)??0)+a/2;let p="",_="";return l==="bottom"?(p=u?i:`${S}px`,_=`${-a}px`):l==="top"?(p=u?i:`${S}px`,_=`${n.floating.height+a}px`):l==="right"?(p=`${-a}px`,_=u?i:`${g}px`):l==="left"&&(p=`${n.floating.width+a}px`,_=u?i:`${g}px`),{data:{x:p,y:_}}}});function fNe(e){const[t,r="center"]=e.split("-");return[t,r]}var hT=oNe,pT=lNe,XC=cNe,qC=dNe,Vvt="Portal",ZC=Ue.forwardRef((e,t)=>{var h;const{container:r,...n}=e,[o,m]=Ue.useState(!1);Iu(()=>m(!0),[]);const u=r||o&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return u?CRe.createPortal(Oe.jsx(Zi.div,{...n,ref:t}),u):null});ZC.displayName=Vvt;function Gvt(e,t){return Ue.useReducer((r,n)=>t[r][n]??r,e)}var Lu=e=>{const{present:t,children:r}=e,n=jvt(t),o=typeof r=="function"?r({present:n.isPresent}):Ue.Children.only(r),m=co(n.ref,Yvt(o));return typeof r=="function"||n.isPresent?Ue.cloneElement(o,{ref:m}):null};Lu.displayName="Presence";function jvt(e){const[t,r]=Ue.useState(),n=Ue.useRef({}),o=Ue.useRef(e),m=Ue.useRef("none"),u=e?"mounted":"unmounted",[h,a]=Gvt(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Ue.useEffect(()=>{const l=_L(n.current);m.current=h==="mounted"?l:"none"},[h]),Iu(()=>{const l=n.current,v=o.current;if(v!==e){const S=m.current,g=_L(l);e?a("MOUNT"):g==="none"||(l==null?void 0:l.display)==="none"?a("UNMOUNT"):a(v&&S!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),Iu(()=>{if(t){let l;const v=t.ownerDocument.defaultView??window,i=g=>{const _=_L(n.current).includes(g.animationName);if(g.target===t&&_&&(a("ANIMATION_END"),!o.current)){const c=t.style.animationFillMode;t.style.animationFillMode="forwards",l=v.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=c)})}},S=g=>{g.target===t&&(m.current=_L(n.current))};return t.addEventListener("animationstart",S),t.addEventListener("animationcancel",i),t.addEventListener("animationend",i),()=>{v.clearTimeout(l),t.removeEventListener("animationstart",S),t.removeEventListener("animationcancel",i),t.removeEventListener("animationend",i)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:Ue.useCallback(l=>{l&&(n.current=getComputedStyle(l)),r(l)},[])}}function _L(e){return(e==null?void 0:e.animationName)||"none"}function Yvt(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function Nd({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=Wvt({defaultProp:t,onChange:r}),m=e!==void 0,u=m?e:n,h=Dc(r),a=Ue.useCallback(l=>{if(m){const i=typeof l=="function"?l(e):l;i!==e&&h(i)}else o(l)},[m,e,o,h]);return[u,a]}function Wvt({defaultProp:e,onChange:t}){const r=Ue.useState(e),[n]=r,o=Ue.useRef(n),m=Dc(t);return Ue.useEffect(()=>{o.current!==n&&(m(n),o.current=n)},[n,o,m]),r}var Kvt=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},vT=new WeakMap,xL=new WeakMap,bL={},r0e=0,hNe=function(e){return e&&(e.host||hNe(e.parentNode))},Xvt=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=hNe(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},qvt=function(e,t,r,n){var o=Xvt(t,Array.isArray(e)?e:[e]);bL[r]||(bL[r]=new WeakMap);var m=bL[r],u=[],h=new Set,a=new Set(o),l=function(i){!i||h.has(i)||(h.add(i),l(i.parentNode))};o.forEach(l);var v=function(i){!i||a.has(i)||Array.prototype.forEach.call(i.children,function(S){if(h.has(S))v(S);else try{var g=S.getAttribute(n),p=g!==null&&g!=="false",_=(vT.get(S)||0)+1,c=(m.get(S)||0)+1;vT.set(S,_),m.set(S,c),u.push(S),_===1&&p&&xL.set(S,!0),c===1&&S.setAttribute(r,"true"),p||S.setAttribute(n,"true")}catch(s){console.error("aria-hidden: cannot operate on ",S,s)}})};return v(t),h.clear(),r0e++,function(){u.forEach(function(i){var S=vT.get(i)-1,g=m.get(i)-1;vT.set(i,S),m.set(i,g),S||(xL.has(i)||i.removeAttribute(n),xL.delete(i)),g||i.removeAttribute(r)}),r0e--,r0e||(vT=new WeakMap,vT=new WeakMap,xL=new WeakMap,bL={})}},QC=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=Kvt(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),qvt(n,o,r,"aria-hidden")):function(){return null}},df=function(){return df=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var m in r)Object.prototype.hasOwnProperty.call(r,m)&&(t[m]=r[m])}return t},df.apply(this,arguments)};function n0e(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function mT(e,t,r,n){function o(m){return m instanceof r?m:new r(function(u){u(m)})}return new(r||(r=Promise))(function(m,u){function h(v){try{l(n.next(v))}catch(i){u(i)}}function a(v){try{l(n.throw(v))}catch(i){u(i)}}function l(v){v.done?m(v.value):o(v.value).then(h,a)}l((n=n.apply(e,t||[])).next())})}function gT(e,t){var r={label:0,sent:function(){if(m[0]&1)throw m[1];return m[1]},trys:[],ops:[]},n,o,m,u;return u={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function h(l){return function(v){return a([l,v])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(r=0)),r;)try{if(n=1,o&&(m=l[0]&2?o.return:l[0]?o.throw||((m=o.return)&&m.call(o),0):o.next)&&!(m=m.call(o,l[1])).done)return m;switch(o=0,m&&(l=[l[0]&2,m.value]),l[0]){case 0:case 1:m=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,o=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(m=r.trys,!(m=m.length>0&&m[m.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!m||l[1]>m[0]&&l[1]<m[3])){r.label=l[1];break}if(l[0]===6&&r.label<m[1]){r.label=m[1],m=l;break}if(m&&r.label<m[2]){r.label=m[2],r.ops.push(l);break}m[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(v){l=[6,v],o=0}finally{n=m=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function pNe(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,m=[],u;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)m.push(o.value)}catch(h){u={error:h}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return m}function EL(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,m;n<o;n++)(m||!(n in t))&&(m||(m=Array.prototype.slice.call(t,0,n)),m[n]=t[n]);return e.concat(m||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var JC="right-scroll-bar-position",ek="width-before-scroll-bar",Zvt="with-scroll-bars-hidden",Qvt="--removed-body-scroll-bar-size";function a0e(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Jvt(e,t){var r=Ue.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}var emt=typeof window<"u"?Ue.useLayoutEffect:Ue.useEffect,vNe=new WeakMap;function mNe(e,t){var r=Jvt(null,function(n){return e.forEach(function(o){return a0e(o,n)})});return emt(function(){var n=vNe.get(r);if(n){var o=new Set(n),m=new Set(e),u=r.current;o.forEach(function(h){m.has(h)||a0e(h,null)}),m.forEach(function(h){o.has(h)||a0e(h,u)})}vNe.set(r,e)},[e]),r}function tmt(e){return e}function rmt(e,t){t===void 0&&(t=tmt);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(m){var u=t(m,n);return r.push(u),function(){r=r.filter(function(h){return h!==u})}},assignSyncMedium:function(m){for(n=!0;r.length;){var u=r;r=[],u.forEach(m)}r={push:function(h){return m(h)},filter:function(){return r}}},assignMedium:function(m){n=!0;var u=[];if(r.length){var h=r;r=[],h.forEach(m),u=r}var a=function(){var v=u;u=[],v.forEach(m)},l=function(){return Promise.resolve().then(a)};l(),r={push:function(v){u.push(v),l()},filter:function(v){return u=u.filter(v),r}}}};return o}function gNe(e){e===void 0&&(e={});var t=rmt(null);return t.options=df({async:!0,ssr:!1},e),t}var yNe=function(e){var t=e.sideCar,r=n0e(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return Ue.createElement(n,df({},r))};yNe.isSideCarExport=!0;function _Ne(e,t){return e.useMedium(t),yNe}var xNe=gNe(),i0e=function(){},SL=Ue.forwardRef(function(e,t){var r=Ue.useRef(null),n=Ue.useState({onScrollCapture:i0e,onWheelCapture:i0e,onTouchMoveCapture:i0e}),o=n[0],m=n[1],u=e.forwardProps,h=e.children,a=e.className,l=e.removeScrollBar,v=e.enabled,i=e.shards,S=e.sideCar,g=e.noIsolation,p=e.inert,_=e.allowPinchZoom,c=e.as,s=c===void 0?"div":c,d=e.gapMode,f=n0e(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),b=S,x=mNe([r,t]),y=df(df({},f),o);return Ue.createElement(Ue.Fragment,null,v&&Ue.createElement(b,{sideCar:xNe,removeScrollBar:l,shards:i,noIsolation:g,inert:p,setCallbacks:m,allowPinchZoom:!!_,lockRef:r,gapMode:d}),u?Ue.cloneElement(Ue.Children.only(h),df(df({},y),{ref:x})):Ue.createElement(s,df({},y,{className:a,ref:x}),h))});SL.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},SL.classNames={fullWidth:ek,zeroRight:JC};var nmt=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function amt(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=nmt();return t&&e.setAttribute("nonce",t),e}function imt(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function omt(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var smt=function(){var e=0,t=null;return{add:function(r){e==0&&(t=amt())&&(imt(t,r),omt(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},lmt=function(){var e=smt();return function(t,r){Ue.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},o0e=function(){var e=lmt(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},cmt={left:0,top:0,right:0,gap:0},s0e=function(e){return parseInt(e||"",10)||0},umt=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[s0e(r),s0e(n),s0e(o)]},dmt=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return cmt;var t=umt(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},fmt=o0e(),yT="data-scroll-locked",hmt=function(e,t,r,n){var o=e.left,m=e.top,u=e.right,h=e.gap;return r===void 0&&(r="margin"),`
.`.concat(Zvt,` {
overflow: hidden `).concat(n,`;
padding-right: `).concat(h,"px ").concat(n,`;
}
body[`).concat(yT,`] {
overflow: hidden `).concat(n,`;
overscroll-behavior: contain;
`).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
padding-left: `.concat(o,`px;
padding-top: `).concat(m,`px;
padding-right: `).concat(u,`px;
margin-left:0;
margin-top:0;
margin-right: `).concat(h,"px ").concat(n,`;
`),r==="padding"&&"padding-right: ".concat(h,"px ").concat(n,";")].filter(Boolean).join(""),`
}
.`).concat(JC,` {
right: `).concat(h,"px ").concat(n,`;
}
.`).concat(ek,` {
margin-right: `).concat(h,"px ").concat(n,`;
}
.`).concat(JC," .").concat(JC,` {
right: 0 `).concat(n,`;
}
.`).concat(ek," .").concat(ek,` {
margin-right: 0 `).concat(n,`;
}
body[`).concat(yT,`] {
`).concat(Qvt,": ").concat(h,`px;
}
`)},bNe=function(){var e=parseInt(document.body.getAttribute(yT)||"0",10);return isFinite(e)?e:0},pmt=function(){Ue.useEffect(function(){return document.body.setAttribute(yT,(bNe()+1).toString()),function(){var e=bNe()-1;e<=0?document.body.removeAttribute(yT):document.body.setAttribute(yT,e.toString())}},[])},ENe=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n;pmt();var m=Ue.useMemo(function(){return dmt(o)},[o]);return Ue.createElement(fmt,{styles:hmt(m,!t,o,r?"":"!important")})},l0e=!1;if(typeof window<"u")try{var wL=Object.defineProperty({},"passive",{get:function(){return l0e=!0,!0}});window.addEventListener("test",wL,wL),window.removeEventListener("test",wL,wL)}catch{l0e=!1}var _T=l0e?{passive:!1}:!1,vmt=function(e){return e.tagName==="TEXTAREA"},SNe=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!vmt(e)&&r[t]==="visible")},mmt=function(e){return SNe(e,"overflowY")},gmt=function(e){return SNe(e,"overflowX")},wNe=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=TNe(e,n);if(o){var m=ANe(e,n),u=m[1],h=m[2];if(u>h)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},ymt=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},_mt=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},TNe=function(e,t){return e==="v"?mmt(t):gmt(t)},ANe=function(e,t){return e==="v"?ymt(t):_mt(t)},xmt=function(e,t){return e==="h"&&t==="rtl"?-1:1},bmt=function(e,t,r,n,o){var m=xmt(e,window.getComputedStyle(t).direction),u=m*n,h=r.target,a=t.contains(h),l=!1,v=u>0,i=0,S=0;do{var g=ANe(e,h),p=g[0],_=g[1],c=g[2],s=_-c-m*p;(p||s)&&TNe(e,h)&&(i+=s,S+=p),h instanceof ShadowRoot?h=h.host:h=h.parentNode}while(!a&&h!==document.body||a&&(t.contains(h)||t===h));return(v&&(Math.abs(i)<1||!o)||!v&&(Math.abs(S)<1||!o))&&(l=!0),l},TL=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},CNe=function(e){return[e.deltaX,e.deltaY]},kNe=function(e){return e&&"current"in e?e.current:e},Emt=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Smt=function(e){return`
.block-interactivity-`.concat(e,` {pointer-events: none;}
.allow-interactivity-`).concat(e,` {pointer-events: all;}
`)},wmt=0,xT=[];function Tmt(e){var t=Ue.useRef([]),r=Ue.useRef([0,0]),n=Ue.useRef(),o=Ue.useState(wmt++)[0],m=Ue.useState(o0e)[0],u=Ue.useRef(e);Ue.useEffect(function(){u.current=e},[e]),Ue.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var _=EL([e.lockRef.current],(e.shards||[]).map(kNe),!0).filter(Boolean);return _.forEach(function(c){return c.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),_.forEach(function(c){return c.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var h=Ue.useCallback(function(_,c){if("touches"in _&&_.touches.length===2||_.type==="wheel"&&_.ctrlKey)return!u.current.allowPinchZoom;var s=TL(_),d=r.current,f="deltaX"in _?_.deltaX:d[0]-s[0],b="deltaY"in _?_.deltaY:d[1]-s[1],x,y=_.target,C=Math.abs(f)>Math.abs(b)?"h":"v";if("touches"in _&&C==="h"&&y.type==="range")return!1;var w=wNe(C,y);if(!w)return!0;if(w?x=C:(x=C==="v"?"h":"v",w=wNe(C,y)),!w)return!1;if(!n.current&&"changedTouches"in _&&(f||b)&&(n.current=x),!x)return!0;var R=n.current||x;return bmt(R,c,_,R==="h"?f:b,!0)},[]),a=Ue.useCallback(function(_){var c=_;if(!(!xT.length||xT[xT.length-1]!==m)){var s="deltaY"in c?CNe(c):TL(c),d=t.current.filter(function(x){return x.name===c.type&&(x.target===c.target||c.target===x.shadowParent)&&Emt(x.delta,s)})[0];if(d&&d.should){c.cancelable&&c.preventDefault();return}if(!d){var f=(u.current.shards||[]).map(kNe).filter(Boolean).filter(function(x){return x.contains(c.target)}),b=f.length>0?h(c,f[0]):!u.current.noIsolation;b&&c.cancelable&&c.preventDefault()}}},[]),l=Ue.useCallback(function(_,c,s,d){var f={name:_,delta:c,target:s,should:d,shadowParent:Amt(s)};t.current.push(f),setTimeout(function(){t.current=t.current.filter(function(b){return b!==f})},1)},[]),v=Ue.useCallback(function(_){r.current=TL(_),n.current=void 0},[]),i=Ue.useCallback(function(_){l(_.type,CNe(_),_.target,h(_,e.lockRef.current))},[]),S=Ue.useCallback(function(_){l(_.type,TL(_),_.target,h(_,e.lockRef.current))},[]);Ue.useEffect(function(){return xT.push(m),e.setCallbacks({onScrollCapture:i,onWheelCapture:i,onTouchMoveCapture:S}),document.addEventListener("wheel",a,_T),document.addEventListener("touchmove",a,_T),document.addEventListener("touchstart",v,_T),function(){xT=xT.filter(function(_){return _!==m}),document.removeEventListener("wheel",a,_T),document.removeEventListener("touchmove",a,_T),document.removeEventListener("touchstart",v,_T)}},[]);var g=e.removeScrollBar,p=e.inert;return Ue.createElement(Ue.Fragment,null,p?Ue.createElement(m,{styles:Smt(o)}):null,g?Ue.createElement(ENe,{gapMode:e.gapMode}):null)}function Amt(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Cmt=_Ne(xNe,Tmt);var tk=Ue.forwardRef(function(e,t){return Ue.createElement(SL,df({},e,{ref:t,sideCar:Cmt}))});tk.classNames=SL.classNames;var c0e="Popover",[MNe,lor]=Lc(c0e,[Uv]),rk=Uv(),[kmt,v2]=MNe(c0e),AL=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:m,modal:u=!1}=e,h=rk(t),a=Ue.useRef(null),[l,v]=Ue.useState(!1),[i=!1,S]=Nd({prop:n,defaultProp:o,onChange:m});return Oe.jsx(hT,{...h,children:Oe.jsx(kmt,{scope:t,contentId:Rd(),triggerRef:a,open:i,onOpenChange:S,onOpenToggle:Ue.useCallback(()=>S(g=>!g),[S]),hasCustomAnchor:l,onCustomAnchorAdd:Ue.useCallback(()=>v(!0),[]),onCustomAnchorRemove:Ue.useCallback(()=>v(!1),[]),modal:u,children:r})})};AL.displayName=c0e;var RNe="PopoverAnchor",Mmt=Ue.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=v2(RNe,r),m=rk(r),{onCustomAnchorAdd:u,onCustomAnchorRemove:h}=o;return Ue.useEffect(()=>(u(),()=>h()),[u,h]),Oe.jsx(pT,{...m,...n,ref:t})});Mmt.displayName=RNe;var NNe="PopoverTrigger",CL=Ue.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=v2(NNe,r),m=rk(r),u=co(t,o.triggerRef),h=Oe.jsx(Zi.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":DNe(o.open),...n,ref:u,onClick:qa(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?h:Oe.jsx(pT,{asChild:!0,...m,children:h})});CL.displayName=NNe;var u0e="PopoverPortal",[Rmt,Nmt]=MNe(u0e,{forceMount:void 0}),INe=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,m=v2(u0e,t);return Oe.jsx(Rmt,{scope:t,forceMount:r,children:Oe.jsx(Lu,{present:r||m.open,children:Oe.jsx(ZC,{asChild:!0,container:o,children:n})})})};INe.displayName=u0e;var bT="PopoverContent",kL=Ue.forwardRef((e,t)=>{const r=Nmt(bT,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,m=v2(bT,e.__scopePopover);return Oe.jsx(Lu,{present:n||m.open,children:m.modal?Oe.jsx(Imt,{...o,ref:t}):Oe.jsx(Lmt,{...o,ref:t})})});kL.displayName=bT;var Imt=Ue.forwardRef((e,t)=>{const r=v2(bT,e.__scopePopover),n=Ue.useRef(null),o=co(t,n),m=Ue.useRef(!1);return Ue.useEffect(()=>{const u=n.current;if(u)return QC(u)},[]),Oe.jsx(tk,{as:Lv,allowPinchZoom:!0,children:Oe.jsx(LNe,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:qa(e.onCloseAutoFocus,u=>{var h;u.preventDefault(),m.current||(h=r.triggerRef.current)==null||h.focus()}),onPointerDownOutside:qa(e.onPointerDownOutside,u=>{const h=u.detail.originalEvent,a=h.button===0&&h.ctrlKey===!0,l=h.button===2||a;m.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:qa(e.onFocusOutside,u=>u.preventDefault(),{checkForDefaultPrevented:!1})})})}),Lmt=Ue.forwardRef((e,t)=>{const r=v2(bT,e.__scopePopover),n=Ue.useRef(!1),o=Ue.useRef(!1);return Oe.jsx(LNe,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:m=>{var u,h;(u=e.onCloseAutoFocus)==null||u.call(e,m),m.defaultPrevented||(n.current||(h=r.triggerRef.current)==null||h.focus(),m.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:m=>{var a,l;(a=e.onInteractOutside)==null||a.call(e,m),m.defaultPrevented||(n.current=!0,m.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const u=m.target;((l=r.triggerRef.current)==null?void 0:l.contains(u))&&m.preventDefault(),m.detail.originalEvent.type==="focusin"&&o.current&&m.preventDefault()}})}),LNe=Ue.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:m,disableOutsidePointerEvents:u,onEscapeKeyDown:h,onPointerDownOutside:a,onFocusOutside:l,onInteractOutside:v,...i}=e,S=v2(bT,r),g=rk(r);return cL(),Oe.jsx(jC,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:m,children:Oe.jsx(mx,{asChild:!0,disableOutsidePointerEvents:u,onInteractOutside:v,onEscapeKeyDown:h,onPointerDownOutside:a,onFocusOutside:l,onDismiss:()=>S.onOpenChange(!1),children:Oe.jsx(XC,{"data-state":DNe(S.open),role:"dialog",id:S.contentId,...g,...i,ref:t,style:{...i.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)"}})})})}),ONe="PopoverClose",Omt=Ue.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=v2(ONe,r);return Oe.jsx(Zi.button,{type:"button",...n,ref:t,onClick:qa(e.onClick,()=>o.onOpenChange(!1))})});Omt.displayName=ONe;var Dmt="PopoverArrow",Pmt=Ue.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=rk(r);return Oe.jsx(qC,{...o,...n,ref:t})});Pmt.displayName=Dmt;function DNe(e){return e?"open":"closed"}var Fmt=AL,Bmt=CL,zmt=INe,PNe=kL;const FNe=Fmt,BNe=Bmt,zNe=zmt,d0e=Ue.forwardRef(({className:e,align:t="center",sideOffset:r=4,...n},o)=>Oe.jsx(zNe,{container:window.cl_shadowRootElement,children:Oe.jsx(PNe,{ref:o,align:t,sideOffset:r,className:ga("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out 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",e),...n})}));d0e.displayName=PNe.displayName;const Umt=Object.freeze(Object.defineProperty({__proto__:null,Popover:FNe,PopoverContent:d0e,PopoverPortal:zNe,PopoverTrigger:BNe},Symbol.toStringTag,{value:"Module"})),$mt={theme:"system",setTheme:()=>null},Hmt=Ue.createContext($mt),UNe=()=>{const e=Ue.useContext(Hmt);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");const t=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",r=e.theme==="system"?t:e.theme;return{...e,variant:r}};function $Ne({type:e,height:t,width:r,barCount:n,barSpacing:o}){const{variant:m}=UNe(),{wavRecorder:u,wavStreamPlayer:h,isAiSpeaking:a}=GI(),l=Ue.useRef(null),v=Ue.useMemo(()=>{const i=document.documentElement,S=getComputedStyle(i);return bpt(S.getPropertyValue("--foreground"))},[m]);return r=e==="server"&&!a?t:r,Ue.useEffect(()=>{let i=!0;const S=window.devicePixelRatio||1;let g=1,p=0;const _=()=>e==="server"&&a?h.analyser?h.getFrequencies("voice"):{values:new Float32Array([0])}:u.recording?u.getFrequencies("voice"):{values:new Float32Array([0])},c=()=>{if(!i)return;const s=l.current;let d=null;if(s&&(s.width=r*S,s.height=t*S,s.style.width=`${r}px`,s.style.height=`${t}px`,d=d||s.getContext("2d"),d)){d.scale(S,S),d.clearRect(0,0,r,t);const f=_();if(e==="server"&&!a){const b=Math.min(Math.max(.6,Math.max(...f.values)),1),C=r/2*b*(.6+.2*p),w=r/2,R=t/2;d.fillStyle=v,d.beginPath(),d.arc(w,R,C,0,Math.PI*2),d.fill();const A=p+.01*g;(A>1||A<0)&&(g*=-1),p=Math.max(0,Math.min(A,1))}else LCe.drawBars(d,f.values,r,t,v,n,0,o,!0)}window.requestAnimationFrame(c)};return c(),()=>{i=!1}},[t,r,n,o,v,u,a]),Oe.jsxs("div",{className:"flex items-center gap-1",children:[e==="server"&&!a?Oe.jsx("div",{className:"text-muted-foreground",children:"Listening"}):null,Oe.jsx("canvas",{ref:l})]})}const Vmt=({className:e})=>{var o;const{variant:t}=UNe(),{config:r}=af(),n=Ue.useContext(vu);return Oe.jsx("img",{src:n.getLogoEndpoint(t,(o=r==null?void 0:r.ui)==null?void 0:o.logo_file_url),alt:"logo",className:ga("logo",e)})};function cor(){}function uor(){}function HNe(e){const t=[],r=String(e||"");let n=r.indexOf(","),o=0,m=!1;for(;!m;){n===-1&&(n=r.length,m=!0);const u=r.slice(o,n).trim();(u||!m)&&t.push(u),o=n+1,n=r.indexOf(",",o)}return t}function VNe(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const Gmt=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,jmt=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ymt={};function GNe(e,t){return(Ymt.jsx?jmt:Gmt).test(e)}const Wmt=/[ \t\n\f\r]/g;function Kmt(e){return typeof e=="object"?e.type==="text"?jNe(e.value):!1:jNe(e)}function jNe(e){return e.replace(Wmt,"")===""}class nk{constructor(t,r,n){this.property=t,this.normal=r,n&&(this.space=n)}}nk.prototype.property={},nk.prototype.normal={},nk.prototype.space=null;function YNe(e,t){const r={},n={};let o=-1;for(;++o<e.length;)Object.assign(r,e[o].property),Object.assign(n,e[o].normal);return new nk(r,n,t)}function ak(e){return e.toLowerCase()}let z0=class{constructor(t,r){this.property=t,this.attribute=r}};z0.prototype.space=null,z0.prototype.boolean=!1,z0.prototype.booleanish=!1,z0.prototype.overloadedBoolean=!1,z0.prototype.number=!1,z0.prototype.commaSeparated=!1,z0.prototype.spaceSeparated=!1,z0.prototype.commaOrSpaceSeparated=!1,z0.prototype.mustUseProperty=!1,z0.prototype.defined=!1;let Xmt=0;const Jo=yx(),gu=yx(),WNe=yx(),xi=yx(),Tl=yx(),ET=yx(),Up=yx();function yx(){return 2**++Xmt}const f0e=Object.freeze(Object.defineProperty({__proto__:null,boolean:Jo,booleanish:gu,commaOrSpaceSeparated:Up,commaSeparated:ET,number:xi,overloadedBoolean:WNe,spaceSeparated:Tl},Symbol.toStringTag,{value:"Module"})),h0e=Object.keys(f0e);class p0e extends z0{constructor(t,r,n,o){let m=-1;if(super(t,r),KNe(this,"space",o),typeof n=="number")for(;++m<h0e.length;){const u=h0e[m];KNe(this,h0e[m],(n&f0e[u])===f0e[u])}}}p0e.prototype.defined=!0;function KNe(e,t,r){r&&(e[t]=r)}const qmt={}.hasOwnProperty;function ST(e){const t={},r={};let n;for(n in e.properties)if(qmt.call(e.properties,n)){const o=e.properties[n],m=new p0e(n,e.transform(e.attributes||{},n),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(m.mustUseProperty=!0),t[n]=m,r[ak(n)]=n,r[ak(m.attribute)]=n}return new nk(t,r,e.space)}const XNe=ST({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),qNe=ST({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function ZNe(e,t){return t in e?e[t]:t}function QNe(e,t){return ZNe(e,t.toLowerCase())}const JNe=ST({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:QNe,properties:{xmlns:null,xmlnsXLink:null}}),eIe=ST({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:gu,ariaAutoComplete:null,ariaBusy:gu,ariaChecked:gu,ariaColCount:xi,ariaColIndex:xi,ariaColSpan:xi,ariaControls:Tl,ariaCurrent:null,ariaDescribedBy:Tl,ariaDetails:null,ariaDisabled:gu,ariaDropEffect:Tl,ariaErrorMessage:null,ariaExpanded:gu,ariaFlowTo:Tl,ariaGrabbed:gu,ariaHasPopup:null,ariaHidden:gu,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Tl,ariaLevel:xi,ariaLive:null,ariaModal:gu,ariaMultiLine:gu,ariaMultiSelectable:gu,ariaOrientation:null,ariaOwns:Tl,ariaPlaceholder:null,ariaPosInSet:xi,ariaPressed:gu,ariaReadOnly:gu,ariaRelevant:null,ariaRequired:gu,ariaRoleDescription:Tl,ariaRowCount:xi,ariaRowIndex:xi,ariaRowSpan:xi,ariaSelected:gu,ariaSetSize:xi,ariaSort:null,ariaValueMax:xi,ariaValueMin:xi,ariaValueNow:xi,ariaValueText:null,role:null}}),Zmt=ST({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:QNe,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ET,acceptCharset:Tl,accessKey:Tl,action:null,allow:null,allowFullScreen:Jo,allowPaymentRequest:Jo,allowUserMedia:Jo,alt:null,as:null,async:Jo,autoCapitalize:null,autoComplete:Tl,autoFocus:Jo,autoPlay:Jo,blocking:Tl,capture:null,charSet:null,checked:Jo,cite:null,className:Tl,cols:xi,colSpan:null,content:null,contentEditable:gu,controls:Jo,controlsList:Tl,coords:xi|ET,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Jo,defer:Jo,dir:null,dirName:null,disabled:Jo,download:WNe,draggable:gu,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Jo,formTarget:null,headers:Tl,height:xi,hidden:Jo,high:xi,href:null,hrefLang:null,htmlFor:Tl,httpEquiv:Tl,id:null,imageSizes:null,imageSrcSet:null,inert:Jo,inputMode:null,integrity:null,is:null,isMap:Jo,itemId:null,itemProp:Tl,itemRef:Tl,itemScope:Jo,itemType:Tl,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Jo,low:xi,manifest:null,max:null,maxLength:xi,media:null,method:null,min:null,minLength:xi,multiple:Jo,muted:Jo,name:null,nonce:null,noModule:Jo,noValidate:Jo,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:Jo,optimum:xi,pattern:null,ping:Tl,placeholder:null,playsInline:Jo,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Jo,referrerPolicy:null,rel:Tl,required:Jo,reversed:Jo,rows:xi,rowSpan:xi,sandbox:Tl,scope:null,scoped:Jo,seamless:Jo,selected:Jo,shadowRootDelegatesFocus:Jo,shadowRootMode:null,shape:null,size:xi,sizes:null,slot:null,span:xi,spellCheck:gu,src:null,srcDoc:null,srcLang:null,srcSet:null,start:xi,step:null,style:null,tabIndex:xi,target:null,title:null,translate:null,type:null,typeMustMatch:Jo,useMap:null,value:gu,width:xi,wrap:null,align:null,aLink:null,archive:Tl,axis:null,background:null,bgColor:null,border:xi,borderColor:null,bottomMargin:xi,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Jo,declare:Jo,event:null,face:null,frame:null,frameBorder:null,hSpace:xi,leftMargin:xi,link:null,longDesc:null,lowSrc:null,marginHeight:xi,marginWidth:xi,noResize:Jo,noHref:Jo,noShade:Jo,noWrap:Jo,object:null,profile:null,prompt:null,rev:null,rightMargin:xi,rules:null,scheme:null,scrolling:gu,standby:null,summary:null,text:null,topMargin:xi,valueType:null,version:null,vAlign:null,vLink:null,vSpace:xi,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Jo,disableRemotePlayback:Jo,prefix:null,property:null,results:xi,security:null,unselectable:null}}),Qmt=ST({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:ZNe,properties:{about:Up,accentHeight:xi,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:xi,amplitude:xi,arabicForm:null,ascent:xi,attributeName:null,attributeType:null,azimuth:xi,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:xi,by:null,calcMode:null,capHeight:xi,className:Tl,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:xi,diffuseConstant:xi,direction:null,display:null,dur:null,divisor:xi,dominantBaseline:null,download:Jo,dx:null,dy:null,edgeMode:null,editable:null,elevation:xi,enableBackground:null,end:null,event:null,exponent:xi,externalResourcesRequired:null,fill:null,fillOpacity:xi,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:ET,g2:ET,glyphName:ET,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:xi,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:xi,horizOriginX:xi,horizOriginY:xi,id:null,ideographic:xi,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:xi,k:xi,k1:xi,k2:xi,k3:xi,k4:xi,kernelMatrix:Up,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:xi,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:xi,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:xi,overlineThickness:xi,paintOrder:null,panose1:null,path:null,pathLength:xi,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Tl,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:xi,pointsAtY:xi,pointsAtZ:xi,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Up,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Up,rev:Up,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Up,requiredFeatures:Up,requiredFonts:Up,requiredFormats:Up,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:xi,specularExponent:xi,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:xi,strikethroughThickness:xi,string:null,stroke:null,strokeDashArray:Up,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:xi,strokeOpacity:xi,strokeWidth:null,style:null,surfaceScale:xi,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Up,tabIndex:xi,tableValues:null,target:null,targetX:xi,targetY:xi,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Up,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:xi,underlineThickness:xi,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:xi,values:null,vAlphabetic:xi,vMathematical:xi,vectorEffect:null,vHanging:xi,vIdeographic:xi,version:null,vertAdvY:xi,vertOriginX:xi,vertOriginY:xi,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:xi,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Jmt=/^data[-\w.:]+$/i,tIe=/-[a-z]/g,egt=/[A-Z]/g;function ML(e,t){const r=ak(t);let n=t,o=z0;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Jmt.test(t)){if(t.charAt(4)==="-"){const m=t.slice(5).replace(tIe,rgt);n="data"+m.charAt(0).toUpperCase()+m.slice(1)}else{const m=t.slice(4);if(!tIe.test(m)){let u=m.replace(egt,tgt);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}o=p0e}return new o(n,t)}function tgt(e){return"-"+e.toLowerCase()}function rgt(e){return e.charAt(1).toUpperCase()}const ngt={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},ik=YNe([qNe,XNe,JNe,eIe,Zmt],"html"),m2=YNe([qNe,XNe,JNe,eIe,Qmt],"svg");function rIe(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function nIe(e){return e.join(" ").trim()}var aIe={},iIe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,agt=/\n/g,igt=/^\s*/,ogt=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,sgt=/^:\s*/,lgt=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,cgt=/^[;\s]*/,ugt=/^\s+|\s+$/g,dgt=`
`,oIe="/",sIe="*",_x="",fgt="comment",hgt="declaration",pgt=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,n=1;function o(p){var _=p.match(agt);_&&(r+=_.length);var c=p.lastIndexOf(dgt);n=~c?p.length-c:n+p.length}function m(){var p={line:r,column:n};return function(_){return _.position=new u(p),l(),_}}function u(p){this.start=p,this.end={line:r,column:n},this.source=t.source}u.prototype.content=e;function h(p){var _=new Error(t.source+":"+r+":"+n+": "+p);if(_.reason=p,_.filename=t.source,_.line=r,_.column=n,_.source=e,!t.silent)throw _}function a(p){var _=p.exec(e);if(_){var c=_[0];return o(c),e=e.slice(c.length),_}}function l(){a(igt)}function v(p){var _;for(p=p||[];_=i();)_!==!1&&p.push(_);return p}function i(){var p=m();if(!(oIe!=e.charAt(0)||sIe!=e.charAt(1))){for(var _=2;_x!=e.charAt(_)&&(sIe!=e.charAt(_)||oIe!=e.charAt(_+1));)++_;if(_+=2,_x===e.charAt(_-1))return h("End of comment missing");var c=e.slice(2,_-2);return n+=2,o(c),e=e.slice(_),n+=2,p({type:fgt,comment:c})}}function S(){var p=m(),_=a(ogt);if(_){if(i(),!a(sgt))return h("property missing ':'");var c=a(lgt),s=p({type:hgt,property:lIe(_[0].replace(iIe,_x)),value:c?lIe(c[0].replace(iIe,_x)):_x});return a(cgt),s}}function g(){var p=[];v(p);for(var _;_=S();)_!==!1&&(p.push(_),v(p));return p}return l(),g()};function lIe(e){return e?e.replace(ugt,_x):_x}var vgt=Ns&&Ns.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(aIe,"__esModule",{value:!0});var mgt=vgt(pgt);function ggt(e,t){var r=null;if(!e||typeof e!="string")return r;var n=(0,mgt.default)(e),o=typeof t=="function";return n.forEach(function(m){if(m.type==="declaration"){var u=m.property,h=m.value;o?t(u,h,m):h&&(r=r||{},r[u]=h)}}),r}var cIe=aIe.default=ggt;const ygt=cIe.default||cIe,RL=uIe("end"),$v=uIe("start");function uIe(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function _gt(e){const t=$v(e),r=RL(e);if(t&&r)return{start:t,end:r}}function ok(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?dIe(e.position):"start"in e||"end"in e?dIe(e):"line"in e||"column"in e?v0e(e):""}function v0e(e){return fIe(e&&e.line)+":"+fIe(e&&e.column)}function dIe(e){return v0e(e&&e.start)+"-"+v0e(e&&e.end)}function fIe(e){return e&&typeof e=="number"?e:1}class ff extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let o="",m={},u=!1;if(r&&("line"in r&&"column"in r?m={place:r}:"start"in r&&"end"in r?m={place:r}:"type"in r?m={ancestors:[r],place:r.position}:m={...r}),typeof t=="string"?o=t:!m.cause&&t&&(u=!0,o=t.message,m.cause=t),!m.ruleId&&!m.source&&typeof n=="string"){const a=n.indexOf(":");a===-1?m.ruleId=n:(m.source=n.slice(0,a),m.ruleId=n.slice(a+1))}if(!m.place&&m.ancestors&&m.ancestors){const a=m.ancestors[m.ancestors.length-1];a&&(m.place=a.position)}const h=m.place&&"start"in m.place?m.place.start:m.place;this.ancestors=m.ancestors||void 0,this.cause=m.cause||void 0,this.column=h?h.column:void 0,this.fatal=void 0,this.file,this.message=o,this.line=h?h.line:void 0,this.name=ok(m.place)||"1:1",this.place=m.place||void 0,this.reason=this.message,this.ruleId=m.ruleId||void 0,this.source=m.source||void 0,this.stack=u&&m.cause&&typeof m.cause.stack=="string"?m.cause.stack:"",this.actual,this.expected,this.note,this.url}}ff.prototype.file="",ff.prototype.name="",ff.prototype.reason="",ff.prototype.message="",ff.prototype.stack="",ff.prototype.column=void 0,ff.prototype.line=void 0,ff.prototype.ancestors=void 0,ff.prototype.cause=void 0,ff.prototype.fatal=void 0,ff.prototype.place=void 0,ff.prototype.ruleId=void 0,ff.prototype.source=void 0;const m0e={}.hasOwnProperty,xgt=new Map,bgt=/[A-Z]/g,Egt=/-([a-z])/g,Sgt=new Set(["table","tbody","thead","tfoot","tr"]),wgt=new Set(["td","th"]),hIe="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Tgt(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=Lgt(r,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=Igt(r,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?m2:ik,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},m=pIe(o,e,void 0);return m&&typeof m!="string"?m:o.create(e,o.Fragment,{children:m||void 0},void 0)}function pIe(e,t,r){if(t.type==="element")return Agt(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Cgt(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Mgt(e,t,r);if(t.type==="mdxjsEsm")return kgt(e,t);if(t.type==="root")return Rgt(e,t,r);if(t.type==="text")return Ngt(e,t)}function Agt(e,t,r){const n=e.schema;let o=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(o=m2,e.schema=o),e.ancestors.push(t);const m=mIe(e,t.tagName,!1),u=Ogt(e,t);let h=y0e(e,t);return Sgt.has(t.tagName)&&(h=h.filter(function(a){return typeof a=="string"?!Kmt(a):!0})),vIe(e,u,m,t),g0e(u,h),e.ancestors.pop(),e.schema=n,e.create(t,m,u,r)}function Cgt(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}sk(e,t.position)}function kgt(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);sk(e,t.position)}function Mgt(e,t,r){const n=e.schema;let o=n;t.name==="svg"&&n.space==="html"&&(o=m2,e.schema=o),e.ancestors.push(t);const m=t.name===null?e.Fragment:mIe(e,t.name,!0),u=Dgt(e,t),h=y0e(e,t);return vIe(e,u,m,t),g0e(u,h),e.ancestors.pop(),e.schema=n,e.create(t,m,u,r)}function Rgt(e,t,r){const n={};return g0e(n,y0e(e,t)),e.create(t,e.Fragment,n,r)}function Ngt(e,t){return t.value}function vIe(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function g0e(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function Igt(e,t,r){return n;function n(o,m,u,h){const l=Array.isArray(u.children)?r:t;return h?l(m,u,h):l(m,u)}}function Lgt(e,t){return r;function r(n,o,m,u){const h=Array.isArray(m.children),a=$v(n);return t(o,m,u,h,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}function Ogt(e,t){const r={};let n,o;for(o in t.properties)if(o!=="children"&&m0e.call(t.properties,o)){const m=Pgt(e,o,t.properties[o]);if(m){const[u,h]=m;e.tableCellAlignToStyle&&u==="align"&&typeof h=="string"&&wgt.has(t.tagName)?n=h:r[u]=h}}if(n){const m=r.style||(r.style={});m[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function Dgt(e,t){const r={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const m=n.data.estree.body[0];m.type;const u=m.expression;u.type;const h=u.properties[0];h.type,Object.assign(r,e.evaluater.evaluateExpression(h.argument))}else sk(e,t.position);else{const o=n.name;let m;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const h=n.value.data.estree.body[0];h.type,m=e.evaluater.evaluateExpression(h.expression)}else sk(e,t.position);else m=n.value===null?!0:n.value;r[o]=m}return r}function y0e(e,t){const r=[];let n=-1;const o=e.passKeys?new Map:xgt;for(;++n<t.children.length;){const m=t.children[n];let u;if(e.passKeys){const a=m.type==="element"?m.tagName:m.type==="mdxJsxFlowElement"||m.type==="mdxJsxTextElement"?m.name:void 0;if(a){const l=o.get(a)||0;u=a+"-"+l,o.set(a,l+1)}}const h=pIe(e,m,u);h!==void 0&&r.push(h)}return r}function Pgt(e,t,r){const n=ML(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?VNe(r):nIe(r)),n.property==="style"){let o=typeof r=="object"?r:Fgt(e,String(r));return e.stylePropertyNameCase==="css"&&(o=Bgt(o)),["style",o]}return[e.elementAttributeNameCase==="react"&&n.space?ngt[n.property]||n.property:n.attribute,r]}}function Fgt(e,t){const r={};try{ygt(t,n)}catch(o){if(!e.ignoreInvalidStyle){const m=o,u=new ff("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:m,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw u.file=e.filePath||void 0,u.url=hIe+"#cannot-parse-style-attribute",u}}return r;function n(o,m){let u=o;u.slice(0,2)!=="--"&&(u.slice(0,4)==="-ms-"&&(u="ms-"+u.slice(4)),u=u.replace(Egt,Ugt)),r[u]=m}}function mIe(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){const o=t.split(".");let m=-1,u;for(;++m<o.length;){const h=GNe(o[m])?{type:"Identifier",name:o[m]}:{type:"Literal",value:o[m]};u=u?{type:"MemberExpression",object:u,property:h,computed:!!(m&&h.type==="Literal"),optional:!1}:h}n=u}else n=GNe(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const o=n.value;return m0e.call(e.components,o)?e.components[o]:o}if(e.evaluater)return e.evaluater.evaluateExpression(n);sk(e)}function sk(e,t){const r=new ff("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=hIe+"#cannot-handle-mdx-estrees-without-createevaluater",r}function Bgt(e){const t={};let r;for(r in e)m0e.call(e,r)&&(t[zgt(r)]=e[r]);return t}function zgt(e){let t=e.replace(bgt,$gt);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Ugt(e,t){return t.toUpperCase()}function $gt(e){return"-"+e.toLowerCase()}const _0e={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Hgt={};function x0e(e,t){const r=Hgt,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,o=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return gIe(e,n,o)}function gIe(e,t,r){if(Vgt(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return yIe(e.children,t,r)}return Array.isArray(e)?yIe(e,t,r):""}function yIe(e,t,r){const n=[];let o=-1;for(;++o<e.length;)n[o]=gIe(e[o],t,r);return n.join("")}function Vgt(e){return!!(e&&typeof e=="object")}const _Ie=document.createElement("i");function lk(e){const t="&"+e+";";_Ie.innerHTML=t;const r=_Ie.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function $p(e,t,r,n){const o=e.length;let m=0,u;if(t<0?t=-t>o?0:o+t:t=t>o?o:t,r=r>0?r:0,n.length<1e4)u=Array.from(n),u.unshift(t,r),e.splice(...u);else for(r&&e.splice(t,r);m<n.length;)u=n.slice(m,m+1e4),u.unshift(t,0),e.splice(...u),m+=1e4,t+=1e4}function U0(e,t){return e.length>0?($p(e,e.length,0,t),e):t}const xIe={}.hasOwnProperty;function bIe(e){const t={};let r=-1;for(;++r<e.length;)Ggt(t,e[r]);return t}function Ggt(e,t){let r;for(r in t){const o=(xIe.call(e,r)?e[r]:void 0)||(e[r]={}),m=t[r];let u;if(m)for(u in m){xIe.call(o,u)||(o[u]=[]);const h=m[u];jgt(o[u],Array.isArray(h)?h:h?[h]:[])}}}function jgt(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);$p(e,0,0,n)}function EIe(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"<22>":String.fromCodePoint(r)}function P1(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Id=g2(/[A-Za-z]/),ed=g2(/[\dA-Za-z]/),Ygt=g2(/[#-'*+\--9=?A-Z^-~]/);function NL(e){return e!==null&&(e<32||e===127)}const b0e=g2(/\d/),Wgt=g2(/[\dA-Fa-f]/),Kgt=g2(/[!-/:-@[-`{-~]/);function $i(e){return e!==null&&e<-2}function Ls(e){return e!==null&&(e<0||e===32)}function ls(e){return e===-2||e===-1||e===32}const IL=g2(new RegExp("\\p{P}|\\p{S}","u")),xx=g2(/\s/);function g2(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function wT(e){const t=[];let r=-1,n=0,o=0;for(;++r<e.length;){const m=e.charCodeAt(r);let u="";if(m===37&&ed(e.charCodeAt(r+1))&&ed(e.charCodeAt(r+2)))o=2;else if(m<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(m))||(u=String.fromCharCode(m));else if(m>55295&&m<57344){const h=e.charCodeAt(r+1);m<56320&&h>56319&&h<57344?(u=String.fromCharCode(m,h),o=1):u="<22>"}else u=String.fromCharCode(m);u&&(t.push(e.slice(n,r),encodeURIComponent(u)),n=r+o+1,u=""),o&&(r+=o,o=0)}return t.join("")+e.slice(n)}function Co(e,t,r,n){const o=n?n-1:Number.POSITIVE_INFINITY;let m=0;return u;function u(a){return ls(a)?(e.enter(r),h(a)):t(a)}function h(a){return ls(a)&&m++<o?(e.consume(a),h):(e.exit(r),t(a))}}const Xgt={tokenize:qgt};function qgt(e){const t=e.attempt(this.parser.constructs.contentInitial,n,o);let r;return t;function n(h){if(h===null){e.consume(h);return}return e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),Co(e,t,"linePrefix")}function o(h){return e.enter("paragraph"),m(h)}function m(h){const a=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=a),r=a,u(h)}function u(h){if(h===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(h);return}return $i(h)?(e.consume(h),e.exit("chunkText"),m):(e.consume(h),u)}}const Zgt={tokenize:Qgt},SIe={tokenize:Jgt};function Qgt(e){const t=this,r=[];let n=0,o,m,u;return h;function h(f){if(n<r.length){const b=r[n];return t.containerState=b[1],e.attempt(b[0].continuation,a,l)(f)}return l(f)}function a(f){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,o&&d();const b=t.events.length;let x=b,y;for(;x--;)if(t.events[x][0]==="exit"&&t.events[x][1].type==="chunkFlow"){y=t.events[x][1].end;break}s(n);let C=b;for(;C<t.events.length;)t.events[C][1].end=Object.assign({},y),C++;return $p(t.events,x+1,0,t.events.slice(b)),t.events.length=C,l(f)}return h(f)}function l(f){if(n===r.length){if(!o)return S(f);if(o.currentConstruct&&o.currentConstruct.concrete)return p(f);t.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(SIe,v,i)(f)}function v(f){return o&&d(),s(n),S(f)}function i(f){return t.parser.lazy[t.now().line]=n!==r.length,u=t.now().offset,p(f)}function S(f){return t.containerState={},e.attempt(SIe,g,p)(f)}function g(f){return n++,r.push([t.currentConstruct,t.containerState]),S(f)}function p(f){if(f===null){o&&d(),s(0),e.consume(f);return}return o=o||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:m,_tokenizer:o}),_(f)}function _(f){if(f===null){c(e.exit("chunkFlow"),!0),s(0),e.consume(f);return}return $i(f)?(e.consume(f),c(e.exit("chunkFlow")),n=0,t.interrupt=void 0,h):(e.consume(f),_)}function c(f,b){const x=t.sliceStream(f);if(b&&x.push(null),f.previous=m,m&&(m.next=f),m=f,o.defineSkip(f.start),o.write(x),t.parser.lazy[f.start.line]){let y=o.events.length;for(;y--;)if(o.events[y][1].start.offset<u&&(!o.events[y][1].end||o.events[y][1].end.offset>u))return;const C=t.events.length;let w=C,R,A;for(;w--;)if(t.events[w][0]==="exit"&&t.events[w][1].type==="chunkFlow"){if(R){A=t.events[w][1].end;break}R=!0}for(s(n),y=C;y<t.events.length;)t.events[y][1].end=Object.assign({},A),y++;$p(t.events,w+1,0,t.events.slice(C)),t.events.length=y}}function s(f){let b=r.length;for(;b-- >f;){const x=r[b];t.containerState=x[1],x[0].exit.call(t,e)}r.length=f}function d(){o.write([null]),m=void 0,o=void 0,t.containerState._closeFlow=void 0}}function Jgt(e,t,r){return Co(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function LL(e){if(e===null||Ls(e)||xx(e))return 1;if(IL(e))return 2}function OL(e,t,r){const n=[];let o=-1;for(;++o<e.length;){const m=e[o].resolveAll;m&&!n.includes(m)&&(t=m(t,r),n.push(m))}return t}const E0e={name:"attention",tokenize:tyt,resolveAll:eyt};function eyt(e,t){let r=-1,n,o,m,u,h,a,l,v;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const i=Object.assign({},e[n][1].end),S=Object.assign({},e[r][1].start);wIe(i,-a),wIe(S,a),u={type:a>1?"strongSequence":"emphasisSequence",start:i,end:Object.assign({},e[n][1].end)},h={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[r][1].start),end:S},m={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[r][1].start)},o={type:a>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},h.end)},e[n][1].end=Object.assign({},u.start),e[r][1].start=Object.assign({},h.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=U0(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=U0(l,[["enter",o,t],["enter",u,t],["exit",u,t],["enter",m,t]]),l=U0(l,OL(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),l=U0(l,[["exit",m,t],["enter",h,t],["exit",h,t],["exit",o,t]]),e[r][1].end.offset-e[r][1].start.offset?(v=2,l=U0(l,[["enter",e[r][1],t],["exit",e[r][1],t]])):v=0,$p(e,n-1,r-n+3,l),r=n+l.length-v-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function tyt(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,o=LL(n);let m;return u;function u(a){return m=a,e.enter("attentionSequence"),h(a)}function h(a){if(a===m)return e.consume(a),h;const l=e.exit("attentionSequence"),v=LL(a),i=!v||v===2&&o||r.includes(a),S=!o||o===2&&v||r.includes(n);return l._open=!!(m===42?i:i&&(o||!S)),l._close=!!(m===42?S:S&&(v||!i)),t(a)}}function wIe(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const ryt={name:"autolink",tokenize:nyt};function nyt(e,t,r){let n=0;return o;function o(g){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),m}function m(g){return Id(g)?(e.consume(g),u):l(g)}function u(g){return g===43||g===45||g===46||ed(g)?(n=1,h(g)):l(g)}function h(g){return g===58?(e.consume(g),n=0,a):(g===43||g===45||g===46||ed(g))&&n++<32?(e.consume(g),h):(n=0,l(g))}function a(g){return g===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.exit("autolink"),t):g===null||g===32||g===60||NL(g)?r(g):(e.consume(g),a)}function l(g){return g===64?(e.consume(g),v):Ygt(g)?(e.consume(g),l):r(g)}function v(g){return ed(g)?i(g):r(g)}function i(g){return g===46?(e.consume(g),n=0,v):g===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.exit("autolink"),t):S(g)}function S(g){if((g===45||ed(g))&&n++<63){const p=g===45?S:i;return e.consume(g),p}return r(g)}}const ck={tokenize:ayt,partial:!0};function ayt(e,t,r){return n;function n(m){return ls(m)?Co(e,o,"linePrefix")(m):o(m)}function o(m){return m===null||$i(m)?t(m):r(m)}}const TIe={name:"blockQuote",tokenize:iyt,continuation:{tokenize:oyt},exit:syt};function iyt(e,t,r){const n=this;return o;function o(u){if(u===62){const h=n.containerState;return h.open||(e.enter("blockQuote",{_container:!0}),h.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),m}return r(u)}function m(u){return ls(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(u))}}function oyt(e,t,r){const n=this;return o;function o(u){return ls(u)?Co(e,m,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):m(u)}function m(u){return e.attempt(TIe,t,r)(u)}}function syt(e){e.exit("blockQuote")}const AIe={name:"characterEscape",tokenize:lyt};function lyt(e,t,r){return n;function n(m){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(m),e.exit("escapeMarker"),o}function o(m){return Kgt(m)?(e.enter("characterEscapeValue"),e.consume(m),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(m)}}const CIe={name:"characterReference",tokenize:cyt};function cyt(e,t,r){const n=this;let o=0,m,u;return h;function h(i){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(i),e.exit("characterReferenceMarker"),a}function a(i){return i===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(i),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),m=31,u=ed,v(i))}function l(i){return i===88||i===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(i),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),m=6,u=Wgt,v):(e.enter("characterReferenceValue"),m=7,u=b0e,v(i))}function v(i){if(i===59&&o){const S=e.exit("characterReferenceValue");return u===ed&&!lk(n.sliceSerialize(S))?r(i):(e.enter("characterReferenceMarker"),e.consume(i),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return u(i)&&o++<m?(e.consume(i),v):r(i)}}const kIe={tokenize:dyt,partial:!0},MIe={name:"codeFenced",tokenize:uyt,concrete:!0};function uyt(e,t,r){const n=this,o={tokenize:x,partial:!0};let m=0,u=0,h;return a;function a(y){return l(y)}function l(y){const C=n.events[n.events.length-1];return m=C&&C[1].type==="linePrefix"?C[2].sliceSerialize(C[1],!0).length:0,h=y,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),v(y)}function v(y){return y===h?(u++,e.consume(y),v):u<3?r(y):(e.exit("codeFencedFenceSequence"),ls(y)?Co(e,i,"whitespace")(y):i(y))}function i(y){return y===null||$i(y)?(e.exit("codeFencedFence"),n.interrupt?t(y):e.check(kIe,_,b)(y)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),S(y))}function S(y){return y===null||$i(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),i(y)):ls(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Co(e,g,"whitespace")(y)):y===96&&y===h?r(y):(e.consume(y),S)}function g(y){return y===null||$i(y)?i(y):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(y))}function p(y){return y===null||$i(y)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),i(y)):y===96&&y===h?r(y):(e.consume(y),p)}function _(y){return e.attempt(o,b,c)(y)}function c(y){return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),s}function s(y){return m>0&&ls(y)?Co(e,d,"linePrefix",m+1)(y):d(y)}function d(y){return y===null||$i(y)?e.check(kIe,_,b)(y):(e.enter("codeFlowValue"),f(y))}function f(y){return y===null||$i(y)?(e.exit("codeFlowValue"),d(y)):(e.consume(y),f)}function b(y){return e.exit("codeFenced"),t(y)}function x(y,C,w){let R=0;return A;function A(P){return y.enter("lineEnding"),y.consume(P),y.exit("lineEnding"),E}function E(P){return y.enter("codeFencedFence"),ls(P)?Co(y,k,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):k(P)}function k(P){return P===h?(y.enter("codeFencedFenceSequence"),L(P)):w(P)}function L(P){return P===h?(R++,y.consume(P),L):R>=u?(y.exit("codeFencedFenceSequence"),ls(P)?Co(y,I,"whitespace")(P):I(P)):w(P)}function I(P){return P===null||$i(P)?(y.exit("codeFencedFence"),C(P)):w(P)}}}function dyt(e,t,r){const n=this;return o;function o(u){return u===null?r(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),m)}function m(u){return n.parser.lazy[n.now().line]?r(u):t(u)}}const S0e={name:"codeIndented",tokenize:hyt},fyt={tokenize:pyt,partial:!0};function hyt(e,t,r){const n=this;return o;function o(l){return e.enter("codeIndented"),Co(e,m,"linePrefix",5)(l)}function m(l){const v=n.events[n.events.length-1];return v&&v[1].type==="linePrefix"&&v[2].sliceSerialize(v[1],!0).length>=4?u(l):r(l)}function u(l){return l===null?a(l):$i(l)?e.attempt(fyt,u,a)(l):(e.enter("codeFlowValue"),h(l))}function h(l){return l===null||$i(l)?(e.exit("codeFlowValue"),u(l)):(e.consume(l),h)}function a(l){return e.exit("codeIndented"),t(l)}}function pyt(e,t,r){const n=this;return o;function o(u){return n.parser.lazy[n.now().line]?r(u):$i(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),o):Co(e,m,"linePrefix",5)(u)}function m(u){const h=n.events[n.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?t(u):$i(u)?o(u):r(u)}}const vyt={name:"codeText",tokenize:yyt,resolve:myt,previous:gyt};function myt(e){let t=e.length-4,r=3,n,o;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)o===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(o=n):(n===t||e[n][1].type==="lineEnding")&&(e[o][1].type="codeTextData",n!==o+2&&(e[o][1].end=e[n-1][1].end,e.splice(o+2,n-o-2),t-=n-o-2,n=o+2),o=void 0);return e}function gyt(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function yyt(e,t,r){let n=0,o,m;return u;function u(i){return e.enter("codeText"),e.enter("codeTextSequence"),h(i)}function h(i){return i===96?(e.consume(i),n++,h):(e.exit("codeTextSequence"),a(i))}function a(i){return i===null?r(i):i===32?(e.enter("space"),e.consume(i),e.exit("space"),a):i===96?(m=e.enter("codeTextSequence"),o=0,v(i)):$i(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),a):(e.enter("codeTextData"),l(i))}function l(i){return i===null||i===32||i===96||$i(i)?(e.exit("codeTextData"),a(i)):(e.consume(i),l)}function v(i){return i===96?(e.consume(i),o++,v):o===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(i)):(m.type="codeTextData",l(i))}}function RIe(e){const t={};let r=-1,n,o,m,u,h,a,l;for(;++r<e.length;){for(;r in t;)r=t[r];if(n=e[r],r&&n[1].type==="chunkFlow"&&e[r-1][1].type==="listItemPrefix"&&(a=n[1]._tokenizer.events,m=0,m<a.length&&a[m][1].type==="lineEndingBlank"&&(m+=2),m<a.length&&a[m][1].type==="content"))for(;++m<a.length&&a[m][1].type!=="content";)a[m][1].type==="chunkText"&&(a[m][1]._isInFirstContentOfListItem=!0,m++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,_yt(e,r)),r=t[r],l=!0);else if(n[1]._container){for(m=r,o=void 0;m--&&(u=e[m],u[1].type==="lineEnding"||u[1].type==="lineEndingBlank");)u[0]==="enter"&&(o&&(e[o][1].type="lineEndingBlank"),u[1].type="lineEnding",o=m);o&&(n[1].end=Object.assign({},e[o][1].start),h=e.slice(o,r),h.unshift(n),$p(e,o,r-o+1,h))}}return!l}function _yt(e,t){const r=e[t][1],n=e[t][2];let o=t-1;const m=[],u=r._tokenizer||n.parser[r.contentType](r.start),h=u.events,a=[],l={};let v,i,S=-1,g=r,p=0,_=0;const c=[_];for(;g;){for(;e[++o][1]!==g;);m.push(o),g._tokenizer||(v=n.sliceStream(g),g.next||v.push(null),i&&u.defineSkip(g.start),g._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(v),g._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),i=g,g=g.next}for(g=r;++S<h.length;)h[S][0]==="exit"&&h[S-1][0]==="enter"&&h[S][1].type===h[S-1][1].type&&h[S][1].start.line!==h[S][1].end.line&&(_=S+1,c.push(_),g._tokenizer=void 0,g.previous=void 0,g=g.next);for(u.events=[],g?(g._tokenizer=void 0,g.previous=void 0):c.pop(),S=c.length;S--;){const s=h.slice(c[S],c[S+1]),d=m.pop();a.unshift([d,d+s.length-1]),$p(e,d,2,s)}for(S=-1;++S<a.length;)l[p+a[S][0]]=p+a[S][1],p+=a[S][1]-a[S][0]-1;return l}const xyt={tokenize:Syt,resolve:Eyt},byt={tokenize:wyt,partial:!0};function Eyt(e){return RIe(e),e}function Syt(e,t){let r;return n;function n(h){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),o(h)}function o(h){return h===null?m(h):$i(h)?e.check(byt,u,m)(h):(e.consume(h),o)}function m(h){return e.exit("chunkContent"),e.exit("content"),t(h)}function u(h){return e.consume(h),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,o}}function wyt(e,t,r){const n=this;return o;function o(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),Co(e,m,"linePrefix")}function m(u){if(u===null||$i(u))return r(u);const h=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?t(u):e.interrupt(n.parser.constructs.flow,r,t)(u)}}function NIe(e,t,r,n,o,m,u,h,a){const l=a||Number.POSITIVE_INFINITY;let v=0;return i;function i(s){return s===60?(e.enter(n),e.enter(o),e.enter(m),e.consume(s),e.exit(m),S):s===null||s===32||s===41||NL(s)?r(s):(e.enter(n),e.enter(u),e.enter(h),e.enter("chunkString",{contentType:"string"}),_(s))}function S(s){return s===62?(e.enter(m),e.consume(s),e.exit(m),e.exit(o),e.exit(n),t):(e.enter(h),e.enter("chunkString",{contentType:"string"}),g(s))}function g(s){return s===62?(e.exit("chunkString"),e.exit(h),S(s)):s===null||s===60||$i(s)?r(s):(e.consume(s),s===92?p:g)}function p(s){return s===60||s===62||s===92?(e.consume(s),g):g(s)}function _(s){return!v&&(s===null||s===41||Ls(s))?(e.exit("chunkString"),e.exit(h),e.exit(u),e.exit(n),t(s)):v<l&&s===40?(e.consume(s),v++,_):s===41?(e.consume(s),v--,_):s===null||s===32||s===40||NL(s)?r(s):(e.consume(s),s===92?c:_)}function c(s){return s===40||s===41||s===92?(e.consume(s),_):_(s)}}function IIe(e,t,r,n,o,m){const u=this;let h=0,a;return l;function l(g){return e.enter(n),e.enter(o),e.consume(g),e.exit(o),e.enter(m),v}function v(g){return h>999||g===null||g===91||g===93&&!a||g===94&&!h&&"_hiddenFootnoteSupport"in u.parser.constructs?r(g):g===93?(e.exit(m),e.enter(o),e.consume(g),e.exit(o),e.exit(n),t):$i(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),v):(e.enter("chunkString",{contentType:"string"}),i(g))}function i(g){return g===null||g===91||g===93||$i(g)||h++>999?(e.exit("chunkString"),v(g)):(e.consume(g),a||(a=!ls(g)),g===92?S:i)}function S(g){return g===91||g===92||g===93?(e.consume(g),h++,i):i(g)}}function LIe(e,t,r,n,o,m){let u;return h;function h(S){return S===34||S===39||S===40?(e.enter(n),e.enter(o),e.consume(S),e.exit(o),u=S===40?41:S,a):r(S)}function a(S){return S===u?(e.enter(o),e.consume(S),e.exit(o),e.exit(n),t):(e.enter(m),l(S))}function l(S){return S===u?(e.exit(m),a(u)):S===null?r(S):$i(S)?(e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),Co(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),v(S))}function v(S){return S===u||S===null||$i(S)?(e.exit("chunkString"),l(S)):(e.consume(S),S===92?i:v)}function i(S){return S===u||S===92?(e.consume(S),v):v(S)}}function Eg(e,t){let r;return n;function n(o){return $i(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),r=!0,n):ls(o)?Co(e,n,r?"linePrefix":"lineSuffix")(o):t(o)}}const Tyt={name:"definition",tokenize:Cyt},Ayt={tokenize:kyt,partial:!0};function Cyt(e,t,r){const n=this;let o;return m;function m(g){return e.enter("definition"),u(g)}function u(g){return IIe.call(n,e,h,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(g)}function h(g){return o=P1(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),a):r(g)}function a(g){return Ls(g)?Eg(e,l)(g):l(g)}function l(g){return NIe(e,v,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(g)}function v(g){return e.attempt(Ayt,i,i)(g)}function i(g){return ls(g)?Co(e,S,"whitespace")(g):S(g)}function S(g){return g===null||$i(g)?(e.exit("definition"),n.parser.defined.push(o),t(g)):r(g)}}function kyt(e,t,r){return n;function n(h){return Ls(h)?Eg(e,o)(h):r(h)}function o(h){return LIe(e,m,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(h)}function m(h){return ls(h)?Co(e,u,"whitespace")(h):u(h)}function u(h){return h===null||$i(h)?t(h):r(h)}}const Myt={name:"hardBreakEscape",tokenize:Ryt};function Ryt(e,t,r){return n;function n(m){return e.enter("hardBreakEscape"),e.consume(m),o}function o(m){return $i(m)?(e.exit("hardBreakEscape"),t(m)):r(m)}}const Nyt={name:"headingAtx",tokenize:Lyt,resolve:Iyt};function Iyt(e,t){let r=e.length-2,n=3,o,m;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(o={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},m={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},$p(e,n,r-n+1,[["enter",o,t],["enter",m,t],["exit",m,t],["exit",o,t]])),e}function Lyt(e,t,r){let n=0;return o;function o(v){return e.enter("atxHeading"),m(v)}function m(v){return e.enter("atxHeadingSequence"),u(v)}function u(v){return v===35&&n++<6?(e.consume(v),u):v===null||Ls(v)?(e.exit("atxHeadingSequence"),h(v)):r(v)}function h(v){return v===35?(e.enter("atxHeadingSequence"),a(v)):v===null||$i(v)?(e.exit("atxHeading"),t(v)):ls(v)?Co(e,h,"whitespace")(v):(e.enter("atxHeadingText"),l(v))}function a(v){return v===35?(e.consume(v),a):(e.exit("atxHeadingSequence"),h(v))}function l(v){return v===null||v===35||Ls(v)?(e.exit("atxHeadingText"),h(v)):(e.consume(v),l)}}const Oyt=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],OIe=["pre","script","style","textarea"],Dyt={name:"htmlFlow",tokenize:zyt,resolveTo:Byt,concrete:!0},Pyt={tokenize:$yt,partial:!0},Fyt={tokenize:Uyt,partial:!0};function Byt(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function zyt(e,t,r){const n=this;let o,m,u,h,a;return l;function l(B){return v(B)}function v(B){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(B),i}function i(B){return B===33?(e.consume(B),S):B===47?(e.consume(B),m=!0,_):B===63?(e.consume(B),o=3,n.interrupt?t:D):Id(B)?(e.consume(B),u=String.fromCharCode(B),c):r(B)}function S(B){return B===45?(e.consume(B),o=2,g):B===91?(e.consume(B),o=5,h=0,p):Id(B)?(e.consume(B),o=4,n.interrupt?t:D):r(B)}function g(B){return B===45?(e.consume(B),n.interrupt?t:D):r(B)}function p(B){const Y="CDATA[";return B===Y.charCodeAt(h++)?(e.consume(B),h===Y.length?n.interrupt?t:k:p):r(B)}function _(B){return Id(B)?(e.consume(B),u=String.fromCharCode(B),c):r(B)}function c(B){if(B===null||B===47||B===62||Ls(B)){const Y=B===47,z=u.toLowerCase();return!Y&&!m&&OIe.includes(z)?(o=1,n.interrupt?t(B):k(B)):Oyt.includes(u.toLowerCase())?(o=6,Y?(e.consume(B),s):n.interrupt?t(B):k(B)):(o=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(B):m?d(B):f(B))}return B===45||ed(B)?(e.consume(B),u+=String.fromCharCode(B),c):r(B)}function s(B){return B===62?(e.consume(B),n.interrupt?t:k):r(B)}function d(B){return ls(B)?(e.consume(B),d):A(B)}function f(B){return B===47?(e.consume(B),A):B===58||B===95||Id(B)?(e.consume(B),b):ls(B)?(e.consume(B),f):A(B)}function b(B){return B===45||B===46||B===58||B===95||ed(B)?(e.consume(B),b):x(B)}function x(B){return B===61?(e.consume(B),y):ls(B)?(e.consume(B),x):f(B)}function y(B){return B===null||B===60||B===61||B===62||B===96?r(B):B===34||B===39?(e.consume(B),a=B,C):ls(B)?(e.consume(B),y):w(B)}function C(B){return B===a?(e.consume(B),a=null,R):B===null||$i(B)?r(B):(e.consume(B),C)}function w(B){return B===null||B===34||B===39||B===47||B===60||B===61||B===62||B===96||Ls(B)?x(B):(e.consume(B),w)}function R(B){return B===47||B===62||ls(B)?f(B):r(B)}function A(B){return B===62?(e.consume(B),E):r(B)}function E(B){return B===null||$i(B)?k(B):ls(B)?(e.consume(B),E):r(B)}function k(B){return B===45&&o===2?(e.consume(B),M):B===60&&o===1?(e.consume(B),F):B===62&&o===4?(e.consume(B),O):B===63&&o===3?(e.consume(B),D):B===93&&o===5?(e.consume(B),T):$i(B)&&(o===6||o===7)?(e.exit("htmlFlowData"),e.check(Pyt,U,L)(B)):B===null||$i(B)?(e.exit("htmlFlowData"),L(B)):(e.consume(B),k)}function L(B){return e.check(Fyt,I,U)(B)}function I(B){return e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),P}function P(B){return B===null||$i(B)?L(B):(e.enter("htmlFlowData"),k(B))}function M(B){return B===45?(e.consume(B),D):k(B)}function F(B){return B===47?(e.consume(B),u="",N):k(B)}function N(B){if(B===62){const Y=u.toLowerCase();return OIe.includes(Y)?(e.consume(B),O):k(B)}return Id(B)&&u.length<8?(e.consume(B),u+=String.fromCharCode(B),N):k(B)}function T(B){return B===93?(e.consume(B),D):k(B)}function D(B){return B===62?(e.consume(B),O):B===45&&o===2?(e.consume(B),D):k(B)}function O(B){return B===null||$i(B)?(e.exit("htmlFlowData"),U(B)):(e.consume(B),O)}function U(B){return e.exit("htmlFlow"),t(B)}}function Uyt(e,t,r){const n=this;return o;function o(u){return $i(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),m):r(u)}function m(u){return n.parser.lazy[n.now().line]?r(u):t(u)}}function $yt(e,t,r){return n;function n(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),e.attempt(ck,t,r)}}const Hyt={name:"htmlText",tokenize:Vyt};function Vyt(e,t,r){const n=this;let o,m,u;return h;function h(D){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(D),a}function a(D){return D===33?(e.consume(D),l):D===47?(e.consume(D),x):D===63?(e.consume(D),f):Id(D)?(e.consume(D),w):r(D)}function l(D){return D===45?(e.consume(D),v):D===91?(e.consume(D),m=0,p):Id(D)?(e.consume(D),d):r(D)}function v(D){return D===45?(e.consume(D),g):r(D)}function i(D){return D===null?r(D):D===45?(e.consume(D),S):$i(D)?(u=i,F(D)):(e.consume(D),i)}function S(D){return D===45?(e.consume(D),g):i(D)}function g(D){return D===62?M(D):D===45?S(D):i(D)}function p(D){const O="CDATA[";return D===O.charCodeAt(m++)?(e.consume(D),m===O.length?_:p):r(D)}function _(D){return D===null?r(D):D===93?(e.consume(D),c):$i(D)?(u=_,F(D)):(e.consume(D),_)}function c(D){return D===93?(e.consume(D),s):_(D)}function s(D){return D===62?M(D):D===93?(e.consume(D),s):_(D)}function d(D){return D===null||D===62?M(D):$i(D)?(u=d,F(D)):(e.consume(D),d)}function f(D){return D===null?r(D):D===63?(e.consume(D),b):$i(D)?(u=f,F(D)):(e.consume(D),f)}function b(D){return D===62?M(D):f(D)}function x(D){return Id(D)?(e.consume(D),y):r(D)}function y(D){return D===45||ed(D)?(e.consume(D),y):C(D)}function C(D){return $i(D)?(u=C,F(D)):ls(D)?(e.consume(D),C):M(D)}function w(D){return D===45||ed(D)?(e.consume(D),w):D===47||D===62||Ls(D)?R(D):r(D)}function R(D){return D===47?(e.consume(D),M):D===58||D===95||Id(D)?(e.consume(D),A):$i(D)?(u=R,F(D)):ls(D)?(e.consume(D),R):M(D)}function A(D){return D===45||D===46||D===58||D===95||ed(D)?(e.consume(D),A):E(D)}function E(D){return D===61?(e.consume(D),k):$i(D)?(u=E,F(D)):ls(D)?(e.consume(D),E):R(D)}function k(D){return D===null||D===60||D===61||D===62||D===96?r(D):D===34||D===39?(e.consume(D),o=D,L):$i(D)?(u=k,F(D)):ls(D)?(e.consume(D),k):(e.consume(D),I)}function L(D){return D===o?(e.consume(D),o=void 0,P):D===null?r(D):$i(D)?(u=L,F(D)):(e.consume(D),L)}function I(D){return D===null||D===34||D===39||D===60||D===61||D===96?r(D):D===47||D===62||Ls(D)?R(D):(e.consume(D),I)}function P(D){return D===47||D===62||Ls(D)?R(D):r(D)}function M(D){return D===62?(e.consume(D),e.exit("htmlTextData"),e.exit("htmlText"),t):r(D)}function F(D){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),N}function N(D){return ls(D)?Co(e,T,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):T(D)}function T(D){return e.enter("htmlTextData"),u(D)}}const w0e={name:"labelEnd",tokenize:Xyt,resolveTo:Kyt,resolveAll:Wyt},Gyt={tokenize:qyt},jyt={tokenize:Zyt},Yyt={tokenize:Qyt};function Wyt(e){let t=-1;for(;++t<e.length;){const r=e[t][1];(r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd")&&(e.splice(t+1,r.type==="labelImage"?4:2),r.type="data",t++)}return e}function Kyt(e,t){let r=e.length,n=0,o,m,u,h;for(;r--;)if(o=e[r][1],m){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;e[r][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(u){if(e[r][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(m=r,o.type!=="labelLink")){n=2;break}}else o.type==="labelEnd"&&(u=r);const a={type:e[m][1].type==="labelLink"?"link":"image",start:Object.assign({},e[m][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:"label",start:Object.assign({},e[m][1].start),end:Object.assign({},e[u][1].end)},v={type:"labelText",start:Object.assign({},e[m+n+2][1].end),end:Object.assign({},e[u-2][1].start)};return h=[["enter",a,t],["enter",l,t]],h=U0(h,e.slice(m+1,m+n+3)),h=U0(h,[["enter",v,t]]),h=U0(h,OL(t.parser.constructs.insideSpan.null,e.slice(m+n+4,u-3),t)),h=U0(h,[["exit",v,t],e[u-2],e[u-1],["exit",l,t]]),h=U0(h,e.slice(u+1)),h=U0(h,[["exit",a,t]]),$p(e,m,e.length,h),e}function Xyt(e,t,r){const n=this;let o=n.events.length,m,u;for(;o--;)if((n.events[o][1].type==="labelImage"||n.events[o][1].type==="labelLink")&&!n.events[o][1]._balanced){m=n.events[o][1];break}return h;function h(S){return m?m._inactive?i(S):(u=n.parser.defined.includes(P1(n.sliceSerialize({start:m.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(S),e.exit("labelMarker"),e.exit("labelEnd"),a):r(S)}function a(S){return S===40?e.attempt(Gyt,v,u?v:i)(S):S===91?e.attempt(jyt,v,u?l:i)(S):u?v(S):i(S)}function l(S){return e.attempt(Yyt,v,i)(S)}function v(S){return t(S)}function i(S){return m._balanced=!0,r(S)}}function qyt(e,t,r){return n;function n(i){return e.enter("resource"),e.enter("resourceMarker"),e.consume(i),e.exit("resourceMarker"),o}function o(i){return Ls(i)?Eg(e,m)(i):m(i)}function m(i){return i===41?v(i):NIe(e,u,h,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(i)}function u(i){return Ls(i)?Eg(e,a)(i):v(i)}function h(i){return r(i)}function a(i){return i===34||i===39||i===40?LIe(e,l,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(i):v(i)}function l(i){return Ls(i)?Eg(e,v)(i):v(i)}function v(i){return i===41?(e.enter("resourceMarker"),e.consume(i),e.exit("resourceMarker"),e.exit("resource"),t):r(i)}}function Zyt(e,t,r){const n=this;return o;function o(h){return IIe.call(n,e,m,u,"reference","referenceMarker","referenceString")(h)}function m(h){return n.parser.defined.includes(P1(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(h):r(h)}function u(h){return r(h)}}function Qyt(e,t,r){return n;function n(m){return e.enter("reference"),e.enter("referenceMarker"),e.consume(m),e.exit("referenceMarker"),o}function o(m){return m===93?(e.enter("referenceMarker"),e.consume(m),e.exit("referenceMarker"),e.exit("reference"),t):r(m)}}const Jyt={name:"labelStartImage",tokenize:e2t,resolveAll:w0e.resolveAll};function e2t(e,t,r){const n=this;return o;function o(h){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(h),e.exit("labelImageMarker"),m}function m(h){return h===91?(e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelImage"),u):r(h)}function u(h){return h===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(h):t(h)}}const t2t={name:"labelStartLink",tokenize:r2t,resolveAll:w0e.resolveAll};function r2t(e,t,r){const n=this;return o;function o(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),m}function m(u){return u===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(u):t(u)}}const T0e={name:"lineEnding",tokenize:n2t};function n2t(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Co(e,t,"linePrefix")}}const DL={name:"thematicBreak",tokenize:a2t};function a2t(e,t,r){let n=0,o;return m;function m(l){return e.enter("thematicBreak"),u(l)}function u(l){return o=l,h(l)}function h(l){return l===o?(e.enter("thematicBreakSequence"),a(l)):n>=3&&(l===null||$i(l))?(e.exit("thematicBreak"),t(l)):r(l)}function a(l){return l===o?(e.consume(l),n++,a):(e.exit("thematicBreakSequence"),ls(l)?Co(e,h,"whitespace")(l):h(l))}}const Ph={name:"list",tokenize:s2t,continuation:{tokenize:l2t},exit:u2t},i2t={tokenize:d2t,partial:!0},o2t={tokenize:c2t,partial:!0};function s2t(e,t,r){const n=this,o=n.events[n.events.length-1];let m=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,u=0;return h;function h(g){const p=n.containerState.type||(g===42||g===43||g===45?"listUnordered":"listOrdered");if(p==="listUnordered"?!n.containerState.marker||g===n.containerState.marker:b0e(g)){if(n.containerState.type||(n.containerState.type=p,e.enter(p,{_container:!0})),p==="listUnordered")return e.enter("listItemPrefix"),g===42||g===45?e.check(DL,r,l)(g):l(g);if(!n.interrupt||g===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(g)}return r(g)}function a(g){return b0e(g)&&++u<10?(e.consume(g),a):(!n.interrupt||u<2)&&(n.containerState.marker?g===n.containerState.marker:g===41||g===46)?(e.exit("listItemValue"),l(g)):r(g)}function l(g){return e.enter("listItemMarker"),e.consume(g),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||g,e.check(ck,n.interrupt?r:v,e.attempt(i2t,S,i))}function v(g){return n.containerState.initialBlankLine=!0,m++,S(g)}function i(g){return ls(g)?(e.enter("listItemPrefixWhitespace"),e.consume(g),e.exit("listItemPrefixWhitespace"),S):r(g)}function S(g){return n.containerState.size=m+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(g)}}function l2t(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(ck,o,m);function o(h){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,Co(e,t,"listItemIndent",n.containerState.size+1)(h)}function m(h){return n.containerState.furtherBlankLines||!ls(h)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,u(h)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(o2t,t,u)(h))}function u(h){return n.containerState._closeFlow=!0,n.interrupt=void 0,Co(e,e.attempt(Ph,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h)}}function c2t(e,t,r){const n=this;return Co(e,o,"listItemIndent",n.containerState.size+1);function o(m){const u=n.events[n.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===n.containerState.size?t(m):r(m)}}function u2t(e){e.exit(this.containerState.type)}function d2t(e,t,r){const n=this;return Co(e,o,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(m){const u=n.events[n.events.length-1];return!ls(m)&&u&&u[1].type==="listItemPrefixWhitespace"?t(m):r(m)}}const DIe={name:"setextUnderline",tokenize:h2t,resolveTo:f2t};function f2t(e,t){let r=e.length,n,o,m;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(o=r)}else e[r][1].type==="content"&&e.splice(r,1),!m&&e[r][1].type==="definition"&&(m=r);const u={type:"setextHeading",start:Object.assign({},e[o][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[o][1].type="setextHeadingText",m?(e.splice(o,0,["enter",u,t]),e.splice(m+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[m][1].end)):e[n][1]=u,e.push(["exit",u,t]),e}function h2t(e,t,r){const n=this;let o;return m;function m(l){let v=n.events.length,i;for(;v--;)if(n.events[v][1].type!=="lineEnding"&&n.events[v][1].type!=="linePrefix"&&n.events[v][1].type!=="content"){i=n.events[v][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||i)?(e.enter("setextHeadingLine"),o=l,u(l)):r(l)}function u(l){return e.enter("setextHeadingLineSequence"),h(l)}function h(l){return l===o?(e.consume(l),h):(e.exit("setextHeadingLineSequence"),ls(l)?Co(e,a,"lineSuffix")(l):a(l))}function a(l){return l===null||$i(l)?(e.exit("setextHeadingLine"),t(l)):r(l)}}const p2t={tokenize:v2t};function v2t(e){const t=this,r=e.attempt(ck,n,e.attempt(this.parser.constructs.flowInitial,o,Co(e,e.attempt(this.parser.constructs.flow,o,e.attempt(xyt,o)),"linePrefix")));return r;function n(m){if(m===null){e.consume(m);return}return e.enter("lineEndingBlank"),e.consume(m),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function o(m){if(m===null){e.consume(m);return}return e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const m2t={resolveAll:FIe()},g2t=PIe("string"),y2t=PIe("text");function PIe(e){return{tokenize:t,resolveAll:FIe(e==="text"?_2t:void 0)};function t(r){const n=this,o=this.parser.constructs[e],m=r.attempt(o,u,h);return u;function u(v){return l(v)?m(v):h(v)}function h(v){if(v===null){r.consume(v);return}return r.enter("data"),r.consume(v),a}function a(v){return l(v)?(r.exit("data"),m(v)):(r.consume(v),a)}function l(v){if(v===null)return!0;const i=o[v];let S=-1;if(i)for(;++S<i.length;){const g=i[S];if(!g.previous||g.previous.call(n,n.previous))return!0}return!1}}}function FIe(e){return t;function t(r,n){let o=-1,m;for(;++o<=r.length;)m===void 0?r[o]&&r[o][1].type==="data"&&(m=o,o++):(!r[o]||r[o][1].type!=="data")&&(o!==m+2&&(r[m][1].end=r[o-1][1].end,r.splice(m+2,o-m-2),o=m+2),m=void 0);return e?e(r,n):r}}function _2t(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],o=t.sliceStream(n);let m=o.length,u=-1,h=0,a;for(;m--;){const l=o[m];if(typeof l=="string"){for(u=l.length;l.charCodeAt(u-1)===32;)h++,u--;if(u)break;u=-1}else if(l===-2)a=!0,h++;else if(l!==-1){m++;break}}if(h){const l={type:r===e.length||a||h<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-h,offset:n.end.offset-h,_index:n.start._index+m,_bufferIndex:m?u:n.start._bufferIndex+u},end:Object.assign({},n.end)};n.end=Object.assign({},l.start),n.start.offset===n.end.offset?Object.assign(n,l):(e.splice(r,0,["enter",l,t],["exit",l,t]),r+=2)}r++}return e}function x2t(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},m=[];let u=[],h=[];const a={consume:d,enter:f,exit:b,attempt:C(x),check:C(y),interrupt:C(y,{interrupt:!0})},l={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:g,sliceSerialize:S,now:p,defineSkip:_,write:i};let v=t.tokenize.call(l,a);return t.resolveAll&&m.push(t),l;function i(E){return u=U0(u,E),c(),u[u.length-1]!==null?[]:(w(t,0),l.events=OL(m,l.events,l),l.events)}function S(E,k){return E2t(g(E),k)}function g(E){return b2t(u,E)}function p(){const{line:E,column:k,offset:L,_index:I,_bufferIndex:P}=n;return{line:E,column:k,offset:L,_index:I,_bufferIndex:P}}function _(E){o[E.line]=E.column,A()}function c(){let E;for(;n._index<u.length;){const k=u[n._index];if(typeof k=="string")for(E=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===E&&n._bufferIndex<k.length;)s(k.charCodeAt(n._bufferIndex));else s(k)}}function s(E){v=v(E)}function d(E){$i(E)?(n.line++,n.column=1,n.offset+=E===-3?2:1,A()):E!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===u[n._index].length&&(n._bufferIndex=-1,n._index++)),l.previous=E}function f(E,k){const L=k||{};return L.type=E,L.start=p(),l.events.push(["enter",L,l]),h.push(L),L}function b(E){const k=h.pop();return k.end=p(),l.events.push(["exit",k,l]),k}function x(E,k){w(E,k.from)}function y(E,k){k.restore()}function C(E,k){return L;function L(I,P,M){let F,N,T,D;return Array.isArray(I)?U(I):"tokenize"in I?U([I]):O(I);function O(V){return j;function j(G){const W=G!==null&&V[G],X=G!==null&&V.null,Q=[...Array.isArray(W)?W:W?[W]:[],...Array.isArray(X)?X:X?[X]:[]];return U(Q)(G)}}function U(V){return F=V,N=0,V.length===0?M:B(V[N])}function B(V){return j;function j(G){return D=R(),T=V,V.partial||(l.currentConstruct=V),V.name&&l.parser.constructs.disable.null.includes(V.name)?z():V.tokenize.call(k?Object.assign(Object.create(l),k):l,a,Y,z)(G)}}function Y(V){return E(T,D),P}function z(V){return D.restore(),++N<F.length?B(F[N]):M}}}function w(E,k){E.resolveAll&&!m.includes(E)&&m.push(E),E.resolve&&$p(l.events,k,l.events.length-k,E.resolve(l.events.slice(k),l)),E.resolveTo&&(l.events=E.resolveTo(l.events,l))}function R(){const E=p(),k=l.previous,L=l.currentConstruct,I=l.events.length,P=Array.from(h);return{restore:M,from:I};function M(){n=E,l.previous=k,l.currentConstruct=L,l.events.length=I,h=P,A()}}function A(){n.line in o&&n.column<2&&(n.column=o[n.line],n.offset+=o[n.line]-1)}}function b2t(e,t){const r=t.start._index,n=t.start._bufferIndex,o=t.end._index,m=t.end._bufferIndex;let u;if(r===o)u=[e[r].slice(n,m)];else{if(u=e.slice(r,o),n>-1){const h=u[0];typeof h=="string"?u[0]=h.slice(n):u.shift()}m>0&&u.push(e[o].slice(0,m))}return u}function E2t(e,t){let r=-1;const n=[];let o;for(;++r<e.length;){const m=e[r];let u;if(typeof m=="string")u=m;else switch(m){case-5:{u="\r";break}case-4:{u=`
`;break}case-3:{u=`\r
`;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&o)continue;u=" ";break}default:u=String.fromCharCode(m)}o=m===-2,n.push(u)}return n.join("")}const S2t=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:Tyt},disable:{null:[]},document:{42:Ph,43:Ph,45:Ph,48:Ph,49:Ph,50:Ph,51:Ph,52:Ph,53:Ph,54:Ph,55:Ph,56:Ph,57:Ph,62:TIe},flow:{35:Nyt,42:DL,45:[DIe,DL],60:Dyt,61:DIe,95:DL,96:MIe,126:MIe},flowInitial:{[-2]:S0e,[-1]:S0e,32:S0e},insideSpan:{null:[E0e,m2t]},string:{38:CIe,92:AIe},text:{[-5]:T0e,[-4]:T0e,[-3]:T0e,33:Jyt,38:CIe,42:E0e,60:[ryt,Hyt],91:t2t,92:[Myt,AIe],93:w0e,95:E0e,96:vyt}},Symbol.toStringTag,{value:"Module"}));function w2t(e){const r=bIe([S2t,...(e||{}).extensions||[]]),n={defined:[],lazy:{},constructs:r,content:o(Xgt),document:o(Zgt),flow:o(p2t),string:o(g2t),text:o(y2t)};return n;function o(m){return u;function u(h){return x2t(n,m,h)}}}function T2t(e){for(;!RIe(e););return e}const BIe=/[\0\t\n\r]/g;function A2t(){let e=1,t="",r=!0,n;return o;function o(m,u,h){const a=[];let l,v,i,S,g;for(m=t+(typeof m=="string"?m.toString():new TextDecoder(u||void 0).decode(m)),i=0,t="",r&&(m.charCodeAt(0)===65279&&i++,r=void 0);i<m.length;){if(BIe.lastIndex=i,l=BIe.exec(m),S=l&&l.index!==void 0?l.index:m.length,g=m.charCodeAt(S),!l){t=m.slice(i);break}if(g===10&&i===S&&n)a.push(-3),n=void 0;else switch(n&&(a.push(-5),n=void 0),i<S&&(a.push(m.slice(i,S)),e+=S-i),g){case 0:{a.push(65533),e++;break}case 9:{for(v=Math.ceil(e/4)*4,a.push(-2);e++<v;)a.push(-1);break}case 10:{a.push(-4),e=1;break}default:n=!0,e=1}i=S+1}return h&&(n&&a.push(-5),t&&a.push(t),a.push(null)),a}}const C2t=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function k2t(e){return e.replace(C2t,M2t)}function M2t(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const o=r.charCodeAt(1),m=o===120||o===88;return EIe(r.slice(m?2:1),m?16:10)}return lk(r)||e}const zIe={}.hasOwnProperty;function R2t(e,t,r){return typeof t!="string"&&(r=t,t=void 0),N2t(r)(T2t(w2t(r).document().write(A2t()(e,t,!0))))}function N2t(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:m(K),autolinkProtocol:R,autolinkEmail:R,atxHeading:m(he),blockQuote:m(W),characterEscape:R,characterReference:R,codeFenced:m(X),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:m(X,u),codeText:m(Q,u),codeTextData:R,data:R,codeFlowValue:R,definition:m(ae),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:m(ie),hardBreakEscape:m(J),hardBreakTrailing:m(J),htmlFlow:m(Z,u),htmlFlowData:R,htmlText:m(Z,u),htmlTextData:R,image:m(le),label:u,link:m(K),listItem:m(ce),listItemValue:S,listOrdered:m(te,i),listUnordered:m(te),paragraph:m(re),reference:B,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:m(he),strong:m(ee),thematicBreak:m(oe)},exit:{atxHeading:a(),atxHeadingSequence:x,autolink:a(),autolinkEmail:G,autolinkProtocol:j,blockQuote:a(),characterEscapeValue:A,characterReferenceMarkerHexadecimal:z,characterReferenceMarkerNumeric:z,characterReferenceValue:V,codeFenced:a(c),codeFencedFence:_,codeFencedFenceInfo:g,codeFencedFenceMeta:p,codeFlowValue:A,codeIndented:a(s),codeText:a(P),codeTextData:A,data:A,definition:a(),definitionDestinationString:b,definitionLabelString:d,definitionTitleString:f,emphasis:a(),hardBreakEscape:a(k),hardBreakTrailing:a(k),htmlFlow:a(L),htmlFlowData:A,htmlText:a(I),htmlTextData:A,image:a(F),label:T,labelText:N,lineEnding:E,link:a(M),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:Y,resourceDestinationString:D,resourceTitleString:O,resource:U,setextHeading:a(w),setextHeadingLineSequence:C,setextHeadingText:y,strong:a(),thematicBreak:a()}};UIe(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(fe){let me={type:"root",children:[]};const Te={stack:[me],tokenStack:[],config:t,enter:h,exit:l,buffer:u,resume:v,data:r},we=[];let Be=-1;for(;++Be<fe.length;)if(fe[Be][1].type==="listOrdered"||fe[Be][1].type==="listUnordered")if(fe[Be][0]==="enter")we.push(Be);else{const Ae=we.pop();Be=o(fe,Ae,Be)}for(Be=-1;++Be<fe.length;){const Ae=t[fe[Be][0]];zIe.call(Ae,fe[Be][1].type)&&Ae[fe[Be][1].type].call(Object.assign({sliceSerialize:fe[Be][2].sliceSerialize},Te),fe[Be][1])}if(Te.tokenStack.length>0){const Ae=Te.tokenStack[Te.tokenStack.length-1];(Ae[1]||$Ie).call(Te,void 0,Ae[0])}for(me.position={start:y2(fe.length>0?fe[0][1].start:{line:1,column:1,offset:0}),end:y2(fe.length>0?fe[fe.length-2][1].end:{line:1,column:1,offset:0})},Be=-1;++Be<t.transforms.length;)me=t.transforms[Be](me)||me;return me}function o(fe,me,Te){let we=me-1,Be=-1,Ae=!1,Re,be,Pe,Ke;for(;++we<=Te;){const ze=fe[we];switch(ze[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ze[0]==="enter"?Be++:Be--,Ke=void 0;break}case"lineEndingBlank":{ze[0]==="enter"&&(Re&&!Ke&&!Be&&!Pe&&(Pe=we),Ke=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ke=void 0}if(!Be&&ze[0]==="enter"&&ze[1].type==="listItemPrefix"||Be===-1&&ze[0]==="exit"&&(ze[1].type==="listUnordered"||ze[1].type==="listOrdered")){if(Re){let Fe=we;for(be=void 0;Fe--;){const We=fe[Fe];if(We[1].type==="lineEnding"||We[1].type==="lineEndingBlank"){if(We[0]==="exit")continue;be&&(fe[be][1].type="lineEndingBlank",Ae=!0),We[1].type="lineEnding",be=Fe}else if(!(We[1].type==="linePrefix"||We[1].type==="blockQuotePrefix"||We[1].type==="blockQuotePrefixWhitespace"||We[1].type==="blockQuoteMarker"||We[1].type==="listItemIndent"))break}Pe&&(!be||Pe<be)&&(Re._spread=!0),Re.end=Object.assign({},be?fe[be][1].start:ze[1].end),fe.splice(be||we,0,["exit",Re,ze[2]]),we++,Te++}if(ze[1].type==="listItemPrefix"){const Fe={type:"listItem",_spread:!1,start:Object.assign({},ze[1].start),end:void 0};Re=Fe,fe.splice(we,0,["enter",Fe,ze[2]]),we++,Te++,Pe=void 0,Ke=!0}}}return fe[me][1]._spread=Ae,Te}function m(fe,me){return Te;function Te(we){h.call(this,fe(we),we),me&&me.call(this,we)}}function u(){this.stack.push({type:"fragment",children:[]})}function h(fe,me,Te){this.stack[this.stack.length-1].children.push(fe),this.stack.push(fe),this.tokenStack.push([me,Te]),fe.position={start:y2(me.start),end:void 0}}function a(fe){return me;function me(Te){fe&&fe.call(this,Te),l.call(this,Te)}}function l(fe,me){const Te=this.stack.pop(),we=this.tokenStack.pop();if(we)we[0].type!==fe.type&&(me?me.call(this,fe,we[0]):(we[1]||$Ie).call(this,fe,we[0]));else throw new Error("Cannot close `"+fe.type+"` ("+ok({start:fe.start,end:fe.end})+"): its not open");Te.position.end=y2(fe.end)}function v(){return x0e(this.stack.pop())}function i(){this.data.expectingFirstListItemValue=!0}function S(fe){if(this.data.expectingFirstListItemValue){const me=this.stack[this.stack.length-2];me.start=Number.parseInt(this.sliceSerialize(fe),10),this.data.expectingFirstListItemValue=void 0}}function g(){const fe=this.resume(),me=this.stack[this.stack.length-1];me.lang=fe}function p(){const fe=this.resume(),me=this.stack[this.stack.length-1];me.meta=fe}function _(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function c(){const fe=this.resume(),me=this.stack[this.stack.length-1];me.value=fe.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function s(){const fe=this.resume(),me=this.stack[this.stack.length-1];me.value=fe.replace(/(\r?\n|\r)$/g,"")}function d(fe){const me=this.resume(),Te=this.stack[this.stack.length-1];Te.label=me,Te.identifier=P1(this.sliceSerialize(fe)).toLowerCase()}function f(){const fe=this.resume(),me=this.stack[this.stack.length-1];me.title=fe}function b(){const fe=this.resume(),me=this.stack[this.stack.length-1];me.url=fe}function x(fe){const me=this.stack[this.stack.length-1];if(!me.depth){const Te=this.sliceSerialize(fe).length;me.depth=Te}}function y(){this.data.setextHeadingSlurpLineEnding=!0}function C(fe){const me=this.stack[this.stack.length-1];me.depth=this.sliceSerialize(fe).codePointAt(0)===61?1:2}function w(){this.data.setextHeadingSlurpLineEnding=void 0}function R(fe){const Te=this.stack[this.stack.length-1].children;let we=Te[Te.length-1];(!we||we.type!=="text")&&(we=de(),we.position={start:y2(fe.start),end:void 0},Te.push(we)),this.stack.push(we)}function A(fe){const me=this.stack.pop();me.value+=this.sliceSerialize(fe),me.position.end=y2(fe.end)}function E(fe){const me=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Te=me.children[me.children.length-1];Te.position.end=y2(fe.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(me.type)&&(R.call(this,fe),A.call(this,fe))}function k(){this.data.atHardBreak=!0}function L(){const fe=this.resume(),me=this.stack[this.stack.length-1];me.value=fe}function I(){const fe=this.resume(),me=this.stack[this.stack.length-1];me.value=fe}function P(){const fe=this.resume(),me=this.stack[this.stack.length-1];me.value=fe}function M(){const fe=this.stack[this.stack.length-1];if(this.data.inReference){const me=this.data.referenceType||"shortcut";fe.type+="Reference",fe.referenceType=me,delete fe.url,delete fe.title}else delete fe.identifier,delete fe.label;this.data.referenceType=void 0}function F(){const fe=this.stack[this.stack.length-1];if(this.data.inReference){const me=this.data.referenceType||"shortcut";fe.type+="Reference",fe.referenceType=me,delete fe.url,delete fe.title}else delete fe.identifier,delete fe.label;this.data.referenceType=void 0}function N(fe){const me=this.sliceSerialize(fe),Te=this.stack[this.stack.length-2];Te.label=k2t(me),Te.identifier=P1(me).toLowerCase()}function T(){const fe=this.stack[this.stack.length-1],me=this.resume(),Te=this.stack[this.stack.length-1];if(this.data.inReference=!0,Te.type==="link"){const we=fe.children;Te.children=we}else Te.alt=me}function D(){const fe=this.resume(),me=this.stack[this.stack.length-1];me.url=fe}function O(){const fe=this.resume(),me=this.stack[this.stack.length-1];me.title=fe}function U(){this.data.inReference=void 0}function B(){this.data.referenceType="collapsed"}function Y(fe){const me=this.resume(),Te=this.stack[this.stack.length-1];Te.label=me,Te.identifier=P1(this.sliceSerialize(fe)).toLowerCase(),this.data.referenceType="full"}function z(fe){this.data.characterReferenceType=fe.type}function V(fe){const me=this.sliceSerialize(fe),Te=this.data.characterReferenceType;let we;Te?(we=EIe(me,Te==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):we=lk(me);const Be=this.stack.pop();Be.value+=we,Be.position.end=y2(fe.end)}function j(fe){A.call(this,fe);const me=this.stack[this.stack.length-1];me.url=this.sliceSerialize(fe)}function G(fe){A.call(this,fe);const me=this.stack[this.stack.length-1];me.url="mailto:"+this.sliceSerialize(fe)}function W(){return{type:"blockquote",children:[]}}function X(){return{type:"code",lang:null,meta:null,value:""}}function Q(){return{type:"inlineCode",value:""}}function ae(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ie(){return{type:"emphasis",children:[]}}function he(){return{type:"heading",depth:0,children:[]}}function J(){return{type:"break"}}function Z(){return{type:"html",value:""}}function le(){return{type:"image",title:null,url:"",alt:null}}function K(){return{type:"link",title:null,url:"",children:[]}}function te(fe){return{type:"list",ordered:fe.type==="listOrdered",start:null,spread:fe._spread,children:[]}}function ce(fe){return{type:"listItem",spread:fe._spread,checked:null,children:[]}}function re(){return{type:"paragraph",children:[]}}function ee(){return{type:"strong",children:[]}}function de(){return{type:"text",value:""}}function oe(){return{type:"thematicBreak"}}}function y2(e){return{line:e.line,column:e.column,offset:e.offset}}function UIe(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?UIe(e,n):I2t(e,n)}}function I2t(e,t){let r;for(r in t)if(zIe.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function $Ie(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+ok({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ok({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+ok({start:t.start,end:t.end})+") is still open")}function L2t(e){const t=this;t.parser=r;function r(n){return R2t(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function O2t(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function D2t(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
`}]}function P2t(e,t){const r=t.value?t.value+`
`:"",n={};t.lang&&(n.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function F2t(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function B2t(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function z2t(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),o=wT(n.toLowerCase()),m=e.footnoteOrder.indexOf(n);let u,h=e.footnoteCounts.get(n);h===void 0?(h=0,e.footnoteOrder.push(n),u=e.footnoteOrder.length):u=m+1,h+=1,e.footnoteCounts.set(n,h);const a={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(h>1?"-"+h:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};e.patch(t,a);const l={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,l),e.applyData(t,l)}function U2t(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function $2t(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function HIe(e,t){const r=t.referenceType;let n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+n}];const o=e.all(t),m=o[0];m&&m.type==="text"?m.value="["+m.value:o.unshift({type:"text",value:"["});const u=o[o.length-1];return u&&u.type==="text"?u.value+=n:o.push({type:"text",value:n}),o}function H2t(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return HIe(e,t);const o={src:wT(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(o.title=n.title);const m={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,m),e.applyData(t,m)}function V2t(e,t){const r={src:wT(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)}function G2t(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)}function j2t(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return HIe(e,t);const o={href:wT(n.url||"")};n.title!==null&&n.title!==void 0&&(o.title=n.title);const m={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,m),e.applyData(t,m)}function Y2t(e,t){const r={href:wT(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function W2t(e,t,r){const n=e.all(t),o=r?K2t(r):VIe(t),m={},u=[];if(typeof t.checked=="boolean"){const v=n[0];let i;v&&v.type==="element"&&v.tagName==="p"?i=v:(i={type:"element",tagName:"p",properties:{},children:[]},n.unshift(i)),i.children.length>0&&i.children.unshift({type:"text",value:" "}),i.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),m.className=["task-list-item"]}let h=-1;for(;++h<n.length;){const v=n[h];(o||h!==0||v.type!=="element"||v.tagName!=="p")&&u.push({type:"text",value:`
`}),v.type==="element"&&v.tagName==="p"&&!o?u.push(...v.children):u.push(v)}const a=n[n.length-1];a&&(o||a.type!=="element"||a.tagName!=="p")&&u.push({type:"text",value:`
`});const l={type:"element",tagName:"li",properties:m,children:u};return e.patch(t,l),e.applyData(t,l)}function K2t(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=VIe(r[n])}return t}function VIe(e){const t=e.spread;return t??e.children.length>1}function X2t(e,t){const r={},n=e.all(t);let o=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++o<n.length;){const u=n[o];if(u.type==="element"&&u.tagName==="li"&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const m={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,m),e.applyData(t,m)}function q2t(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Z2t(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function Q2t(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function J2t(e,t){const r=e.all(t),n=r.shift(),o=[];if(n){const u={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],u),o.push(u)}if(r.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},h=$v(t.children[1]),a=RL(t.children[t.children.length-1]);h&&a&&(u.position={start:h,end:a}),o.push(u)}const m={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,m),e.applyData(t,m)}function e_t(e,t,r){const n=r?r.children:void 0,m=(n?n.indexOf(t):1)===0?"th":"td",u=r&&r.type==="table"?r.align:void 0,h=u?u.length:t.children.length;let a=-1;const l=[];for(;++a<h;){const i=t.children[a],S={},g=u?u[a]:void 0;g&&(S.align=g);let p={type:"element",tagName:m,properties:S,children:[]};i&&(p.children=e.all(i),e.patch(i,p),p=e.applyData(i,p)),l.push(p)}const v={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,v),e.applyData(t,v)}function t_t(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const GIe=9,jIe=32;function r_t(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),o=0;const m=[];for(;n;)m.push(YIe(t.slice(o,n.index),o>0,!0),n[0]),o=n.index+n[0].length,n=r.exec(t);return m.push(YIe(t.slice(o),o>0,!1)),m.join("")}function YIe(e,t,r){let n=0,o=e.length;if(t){let m=e.codePointAt(n);for(;m===GIe||m===jIe;)n++,m=e.codePointAt(n)}if(r){let m=e.codePointAt(o-1);for(;m===GIe||m===jIe;)o--,m=e.codePointAt(o-1)}return o>n?e.slice(n,o):""}function n_t(e,t){const r={type:"text",value:r_t(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function a_t(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const i_t={blockquote:O2t,break:D2t,code:P2t,delete:F2t,emphasis:B2t,footnoteReference:z2t,heading:U2t,html:$2t,imageReference:H2t,image:V2t,inlineCode:G2t,linkReference:j2t,link:Y2t,listItem:W2t,list:X2t,paragraph:q2t,root:Z2t,strong:Q2t,table:J2t,tableCell:t_t,tableRow:e_t,text:n_t,thematicBreak:a_t,toml:PL,yaml:PL,definition:PL,footnoteDefinition:PL};function PL(){}const WIe=-1,FL=0,BL=1,zL=2,A0e=3,C0e=4,k0e=5,M0e=6,KIe=7,XIe=8,qIe=typeof self=="object"?self:globalThis,o_t=(e,t)=>{const r=(o,m)=>(e.set(m,o),o),n=o=>{if(e.has(o))return e.get(o);const[m,u]=t[o];switch(m){case FL:case WIe:return r(u,o);case BL:{const h=r([],o);for(const a of u)h.push(n(a));return h}case zL:{const h=r({},o);for(const[a,l]of u)h[n(a)]=n(l);return h}case A0e:return r(new Date(u),o);case C0e:{const{source:h,flags:a}=u;return r(new RegExp(h,a),o)}case k0e:{const h=r(new Map,o);for(const[a,l]of u)h.set(n(a),n(l));return h}case M0e:{const h=r(new Set,o);for(const a of u)h.add(n(a));return h}case KIe:{const{name:h,message:a}=u;return r(new qIe[h](a),o)}case XIe:return r(BigInt(u),o);case"BigInt":return r(Object(BigInt(u)),o)}return r(new qIe[m](u),o)};return n},ZIe=e=>o_t(new Map,e)(0),TT="",{toString:s_t}={},{keys:l_t}=Object,uk=e=>{const t=typeof e;if(t!=="object"||!e)return[FL,t];const r=s_t.call(e).slice(8,-1);switch(r){case"Array":return[BL,TT];case"Object":return[zL,TT];case"Date":return[A0e,TT];case"RegExp":return[C0e,TT];case"Map":return[k0e,TT];case"Set":return[M0e,TT]}return r.includes("Array")?[BL,r]:r.includes("Error")?[KIe,r]:[zL,r]},UL=([e,t])=>e===FL&&(t==="function"||t==="symbol"),c_t=(e,t,r,n)=>{const o=(u,h)=>{const a=n.push(u)-1;return r.set(h,a),a},m=u=>{if(r.has(u))return r.get(u);let[h,a]=uk(u);switch(h){case FL:{let v=u;switch(a){case"bigint":h=XIe,v=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);v=null;break;case"undefined":return o([WIe],u)}return o([h,v],u)}case BL:{if(a)return o([a,[...u]],u);const v=[],i=o([h,v],u);for(const S of u)v.push(m(S));return i}case zL:{if(a)switch(a){case"BigInt":return o([a,u.toString()],u);case"Boolean":case"Number":case"String":return o([a,u.valueOf()],u)}if(t&&"toJSON"in u)return m(u.toJSON());const v=[],i=o([h,v],u);for(const S of l_t(u))(e||!UL(uk(u[S])))&&v.push([m(S),m(u[S])]);return i}case A0e:return o([h,u.toISOString()],u);case C0e:{const{source:v,flags:i}=u;return o([h,{source:v,flags:i}],u)}case k0e:{const v=[],i=o([h,v],u);for(const[S,g]of u)(e||!(UL(uk(S))||UL(uk(g))))&&v.push([m(S),m(g)]);return i}case M0e:{const v=[],i=o([h,v],u);for(const S of u)(e||!UL(uk(S)))&&v.push(m(S));return i}}const{message:l}=u;return o([h,{name:a,message:l}],u)};return m},QIe=(e,{json:t,lossy:r}={})=>{const n=[];return c_t(!(t||r),!!t,new Map,n)(e),n},AT=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?ZIe(QIe(e,t)):structuredClone(e):(e,t)=>ZIe(QIe(e,t));function u_t(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function d_t(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function f_t(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||u_t,n=e.options.footnoteBackLabel||d_t,o=e.options.footnoteLabel||"Footnotes",m=e.options.footnoteLabelTagName||"h2",u=e.options.footnoteLabelProperties||{className:["sr-only"]},h=[];let a=-1;for(;++a<e.footnoteOrder.length;){const l=e.footnoteById.get(e.footnoteOrder[a]);if(!l)continue;const v=e.all(l),i=String(l.identifier).toUpperCase(),S=wT(i.toLowerCase());let g=0;const p=[],_=e.footnoteCounts.get(i);for(;_!==void 0&&++g<=_;){p.length>0&&p.push({type:"text",value:" "});let d=typeof r=="string"?r:r(a,g);typeof d=="string"&&(d={type:"text",value:d}),p.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+S+(g>1?"-"+g:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(a,g),className:["data-footnote-backref"]},children:Array.isArray(d)?d:[d]})}const c=v[v.length-1];if(c&&c.type==="element"&&c.tagName==="p"){const d=c.children[c.children.length-1];d&&d.type==="text"?d.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...p)}else v.push(...p);const s={type:"element",tagName:"li",properties:{id:t+"fn-"+S},children:e.wrap(v,!0)};e.patch(l,s),h.push(s)}if(h.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:m,properties:{...AT(u),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(h,!0)},{type:"text",value:`
`}]}}const dk=function(e){if(e==null)return m_t;if(typeof e=="function")return $L(e);if(typeof e=="object")return Array.isArray(e)?h_t(e):p_t(e);if(typeof e=="string")return v_t(e);throw new Error("Expected function, string, or object as test")};function h_t(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=dk(e[r]);return $L(n);function n(...o){let m=-1;for(;++m<t.length;)if(t[m].apply(this,o))return!0;return!1}}function p_t(e){const t=e;return $L(r);function r(n){const o=n;let m;for(m in e)if(o[m]!==t[m])return!1;return!0}}function v_t(e){return $L(t);function t(r){return r&&r.type===e}}function $L(e){return t;function t(r,n,o){return!!(g_t(r)&&e.call(this,r,typeof n=="number"?n:void 0,o||void 0))}}function m_t(){return!0}function g_t(e){return e!==null&&typeof e=="object"&&"type"in e}function bor(e){return e}const JIe=[],y_t=!0,R0e=!1,e7e="skip";function HL(e,t,r,n){let o;typeof t=="function"&&typeof r!="function"?(n=r,r=t):o=t;const m=dk(o),u=n?-1:1;h(e,void 0,[])();function h(a,l,v){const i=a&&typeof a=="object"?a:{};if(typeof i.type=="string"){const g=typeof i.tagName=="string"?i.tagName:typeof i.name=="string"?i.name:void 0;Object.defineProperty(S,"name",{value:"node ("+(a.type+(g?"<"+g+">":""))+")"})}return S;function S(){let g=JIe,p,_,c;if((!t||m(a,l,v[v.length-1]||void 0))&&(g=__t(r(a,v)),g[0]===R0e))return g;if("children"in a&&a.children){const s=a;if(s.children&&g[0]!==e7e)for(_=(n?s.children.length:-1)+u,c=v.concat(s);_>-1&&_<s.children.length;){const d=s.children[_];if(p=h(d,_,c)(),p[0]===R0e)return p;_=typeof p[1]=="number"?p[1]:_+u}}return g}}}function __t(e){return Array.isArray(e)?e:typeof e=="number"?[y_t,e]:e==null?JIe:[e]}function CT(e,t,r,n){let o,m,u;typeof t=="function"&&typeof r!="function"?(m=void 0,u=t,o=r):(m=t,u=r,o=n),HL(e,m,h,o);function h(a,l){const v=l[l.length-1],i=v?v.children.indexOf(a):void 0;return u(a,i,v)}}const N0e={}.hasOwnProperty,x_t={};function b_t(e,t){const r=t||x_t,n=new Map,o=new Map,m=new Map,u={...i_t,...r.handlers},h={all:l,applyData:S_t,definitionById:n,footnoteById:o,footnoteCounts:m,footnoteOrder:[],handlers:u,one:a,options:r,patch:E_t,wrap:T_t};return CT(e,function(v){if(v.type==="definition"||v.type==="footnoteDefinition"){const i=v.type==="definition"?n:o,S=String(v.identifier).toUpperCase();i.has(S)||i.set(S,v)}}),h;function a(v,i){const S=v.type,g=h.handlers[S];if(N0e.call(h.handlers,S)&&g)return g(h,v,i);if(h.options.passThrough&&h.options.passThrough.includes(S)){if("children"in v){const{children:_,...c}=v,s=AT(c);return s.children=h.all(v),s}return AT(v)}return(h.options.unknownHandler||w_t)(h,v,i)}function l(v){const i=[];if("children"in v){const S=v.children;let g=-1;for(;++g<S.length;){const p=h.one(S[g],v);if(p){if(g&&S[g-1].type==="break"&&(!Array.isArray(p)&&p.type==="text"&&(p.value=t7e(p.value)),!Array.isArray(p)&&p.type==="element")){const _=p.children[0];_&&_.type==="text"&&(_.value=t7e(_.value))}Array.isArray(p)?i.push(...p):i.push(p)}}}return i}}function E_t(e,t){e.position&&(t.position=_gt(e))}function S_t(e,t){let r=t;if(e&&e.data){const n=e.data.hName,o=e.data.hChildren,m=e.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{const u="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:u}}r.type==="element"&&m&&Object.assign(r.properties,AT(m)),"children"in r&&r.children&&o!==null&&o!==void 0&&(r.children=o)}return r}function w_t(e,t){const r=t.data||{},n="value"in t&&!(N0e.call(r,"hProperties")||N0e.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function T_t(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:`
`});++n<e.length;)n&&r.push({type:"text",value:`
`}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:`
`}),r}function t7e(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function r7e(e,t){const r=b_t(e,t),n=r.one(e,void 0),o=f_t(r),m=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return o&&m.children.push({type:"text",value:`
`},o),m}function A_t(e,t){return e&&"run"in e?async function(r,n){const o=r7e(r,{file:n,...t});await e.run(o,n)}:function(r,n){return r7e(r,{file:n,...t||e})}}function n7e(e){if(e)throw e}var VL=Object.prototype.hasOwnProperty,a7e=Object.prototype.toString,i7e=Object.defineProperty,o7e=Object.getOwnPropertyDescriptor,s7e=function(t){return typeof Array.isArray=="function"?Array.isArray(t):a7e.call(t)==="[object Array]"},l7e=function(t){if(!t||a7e.call(t)!=="[object Object]")return!1;var r=VL.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&VL.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;var o;for(o in t);return typeof o>"u"||VL.call(t,o)},c7e=function(t,r){i7e&&r.name==="__proto__"?i7e(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},u7e=function(t,r){if(r==="__proto__")if(VL.call(t,r)){if(o7e)return o7e(t,r).value}else return;return t[r]},C_t=function e(){var t,r,n,o,m,u,h=arguments[0],a=1,l=arguments.length,v=!1;for(typeof h=="boolean"&&(v=h,h=arguments[1]||{},a=2),(h==null||typeof h!="object"&&typeof h!="function")&&(h={});a<l;++a)if(t=arguments[a],t!=null)for(r in t)n=u7e(h,r),o=u7e(t,r),h!==o&&(v&&o&&(l7e(o)||(m=s7e(o)))?(m?(m=!1,u=n&&s7e(n)?n:[]):u=n&&l7e(n)?n:{},c7e(h,{name:r,newValue:e(v,u,o)})):typeof o<"u"&&c7e(h,{name:r,newValue:o}));return h};const I0e=ec(C_t);function L0e(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function k_t(){const e=[],t={run:r,use:n};return t;function r(...o){let m=-1;const u=o.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);h(null,...o);function h(a,...l){const v=e[++m];let i=-1;if(a){u(a);return}for(;++i<o.length;)(l[i]===null||l[i]===void 0)&&(l[i]=o[i]);o=l,v?M_t(v,h)(...l):u(null,...l)}}function n(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return e.push(o),t}}function M_t(e,t){let r;return n;function n(...u){const h=e.length>u.length;let a;h&&u.push(o);try{a=e.apply(this,u)}catch(l){const v=l;if(h&&r)throw v;return o(v)}h||(a&&a.then&&typeof a.then=="function"?a.then(m,o):a instanceof Error?o(a):m(a))}function o(u,...h){r||(r=!0,t(u,...h))}function m(u){o(null,u)}}const Hv={basename:R_t,dirname:N_t,extname:I_t,join:L_t,sep:"/"};function R_t(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');fk(e);let r=0,n=-1,o=e.length,m;if(t===void 0||t.length===0||t.length>e.length){for(;o--;)if(e.codePointAt(o)===47){if(m){r=o+1;break}}else n<0&&(m=!0,n=o+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let u=-1,h=t.length-1;for(;o--;)if(e.codePointAt(o)===47){if(m){r=o+1;break}}else u<0&&(m=!0,u=o+1),h>-1&&(e.codePointAt(o)===t.codePointAt(h--)?h<0&&(n=o):(h=-1,n=u));return r===n?n=u:n<0&&(n=e.length),e.slice(r,n)}function N_t(e){if(fk(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function I_t(e){fk(e);let t=e.length,r=-1,n=0,o=-1,m=0,u;for(;t--;){const h=e.codePointAt(t);if(h===47){if(u){n=t+1;break}continue}r<0&&(u=!0,r=t+1),h===46?o<0?o=t:m!==1&&(m=1):o>-1&&(m=-1)}return o<0||r<0||m===0||m===1&&o===r-1&&o===n+1?"":e.slice(o,r)}function L_t(...e){let t=-1,r;for(;++t<e.length;)fk(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":O_t(r)}function O_t(e){fk(e);const t=e.codePointAt(0)===47;let r=D_t(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function D_t(e,t){let r="",n=0,o=-1,m=0,u=-1,h,a;for(;++u<=e.length;){if(u<e.length)h=e.codePointAt(u);else{if(h===47)break;h=47}if(h===47){if(!(o===u-1||m===1))if(o!==u-1&&m===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(a=r.lastIndexOf("/"),a!==r.length-1){a<0?(r="",n=0):(r=r.slice(0,a),n=r.length-1-r.lastIndexOf("/")),o=u,m=0;continue}}else if(r.length>0){r="",n=0,o=u,m=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(o+1,u):r=e.slice(o+1,u),n=u-o-1;o=u,m=0}else h===46&&m>-1?m++:m=-1}return r}function fk(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const P_t={cwd:F_t};function F_t(){return"/"}function O0e(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function B_t(e){if(typeof e=="string")e=new URL(e);else if(!O0e(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return z_t(e)}function z_t(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const n=t.codePointAt(r+2);if(n===70||n===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(t)}const D0e=["history","path","basename","stem","extname","dirname"];class d7e{constructor(t){let r;t?O0e(t)?r={path:t}:typeof t=="string"||U_t(t)?r={value:t}:r=t:r={},this.cwd=P_t.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<D0e.length;){const m=D0e[n];m in r&&r[m]!==void 0&&r[m]!==null&&(this[m]=m==="history"?[...r[m]]:r[m])}let o;for(o in r)D0e.includes(o)||(this[o]=r[o])}get basename(){return typeof this.path=="string"?Hv.basename(this.path):void 0}set basename(t){F0e(t,"basename"),P0e(t,"basename"),this.path=Hv.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Hv.dirname(this.path):void 0}set dirname(t){f7e(this.basename,"dirname"),this.path=Hv.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Hv.extname(this.path):void 0}set extname(t){if(P0e(t,"extname"),f7e(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Hv.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){O0e(t)&&(t=B_t(t)),F0e(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Hv.basename(this.path,this.extname):void 0}set stem(t){F0e(t,"stem"),P0e(t,"stem"),this.path=Hv.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){const o=this.message(t,r,n);throw o.fatal=!0,o}info(t,r,n){const o=this.message(t,r,n);return o.fatal=void 0,o}message(t,r,n){const o=new ff(t,r,n);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function P0e(e,t){if(e&&e.includes(Hv.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Hv.sep+"`")}function F0e(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function f7e(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function U_t(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const $_t=function(e){const n=this.constructor.prototype,o=n[e],m=function(){return o.apply(m,arguments)};return Object.setPrototypeOf(m,n),m},H_t={}.hasOwnProperty;class B0e extends $_t{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=k_t()}copy(){const t=new B0e;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(I0e(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?($0e("data",this.frozen),this.namespace[t]=r,this):H_t.call(this.namespace,t)&&this.namespace[t]||void 0:t?($0e("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const o=r.call(t,...n);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=GL(t),n=this.parser||this.Parser;return z0e("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),z0e("process",this.parser||this.Parser),U0e("process",this.compiler||this.Compiler),r?o(void 0,r):new Promise(o);function o(m,u){const h=GL(t),a=n.parse(h);n.run(a,h,function(v,i,S){if(v||!i||!S)return l(v);const g=i,p=n.stringify(g,S);j_t(p)?S.value=p:S.result=p,l(v,S)});function l(v,i){v||!i?u(v):m?m(i):r(void 0,i)}}}processSync(t){let r=!1,n;return this.freeze(),z0e("processSync",this.parser||this.Parser),U0e("processSync",this.compiler||this.Compiler),this.process(t,o),p7e("processSync","process",r),n;function o(m,u){r=!0,n7e(m),n=u}}run(t,r,n){h7e(t),this.freeze();const o=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?m(void 0,n):new Promise(m);function m(u,h){const a=GL(r);o.run(t,a,l);function l(v,i,S){const g=i||t;v?h(v):u?u(g):n(void 0,g,S)}}}runSync(t,r){let n=!1,o;return this.run(t,r,m),p7e("runSync","run",n),o;function m(u,h){n7e(u),o=h,n=!0}}stringify(t,r){this.freeze();const n=GL(r),o=this.compiler||this.Compiler;return U0e("stringify",o),h7e(t),o(t,n)}use(t,...r){const n=this.attachers,o=this.namespace;if($0e("use",this.frozen),t!=null)if(typeof t=="function")a(t,r);else if(typeof t=="object")Array.isArray(t)?h(t):u(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function m(l){if(typeof l=="function")a(l,[]);else if(typeof l=="object")if(Array.isArray(l)){const[v,...i]=l;a(v,i)}else u(l);else throw new TypeError("Expected usable value, not `"+l+"`")}function u(l){if(!("plugins"in l)&&!("settings"in l))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");h(l.plugins),l.settings&&(o.settings=I0e(!0,o.settings,l.settings))}function h(l){let v=-1;if(l!=null)if(Array.isArray(l))for(;++v<l.length;){const i=l[v];m(i)}else throw new TypeError("Expected a list of plugins, not `"+l+"`")}function a(l,v){let i=-1,S=-1;for(;++i<n.length;)if(n[i][0]===l){S=i;break}if(S===-1)n.push([l,...v]);else if(v.length>0){let[g,...p]=v;const _=n[S][1];L0e(_)&&L0e(g)&&(g=I0e(!0,_,g)),n[S]=[l,g,...p]}}}}const V_t=new B0e().freeze();function z0e(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function U0e(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function $0e(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function h7e(e){if(!L0e(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function p7e(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function GL(e){return G_t(e)?e:new d7e(e)}function G_t(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function j_t(e){return typeof e=="string"||Y_t(e)}function Y_t(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const W_t="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",v7e=[],m7e={allowDangerousHtml:!0},K_t=/^(https?|ircs?|mailto|xmpp)$/i,X_t=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function q_t(e){const t=e.allowedElements,r=e.allowElement,n=e.children||"",o=e.className,m=e.components,u=e.disallowedElements,h=e.rehypePlugins||v7e,a=e.remarkPlugins||v7e,l=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...m7e}:m7e,v=e.skipHtml,i=e.unwrapDisallowed,S=e.urlTransform||Z_t,g=V_t().use(L2t).use(a).use(A_t,l).use(h),p=new d7e;typeof n=="string"&&(p.value=n);for(const d of X_t)Object.hasOwn(e,d.from)&&(""+d.from+(d.to?"use `"+d.to+"` instead":"remove it")+W_t+d.id,void 0);const _=g.parse(p);let c=g.runSync(_,p);return o&&(c={type:"element",tagName:"div",properties:{className:o},children:c.type==="root"?c.children:[c]}),CT(c,s),Tgt(c,{Fragment:Oe.Fragment,components:m,ignoreInvalidStyle:!0,jsx:Oe.jsx,jsxs:Oe.jsxs,passKeys:!0,passNode:!0});function s(d,f,b){if(d.type==="raw"&&b&&typeof f=="number")return v?b.children.splice(f,1):b.children[f]={type:"text",value:d.value},f;if(d.type==="element"){let x;for(x in _0e)if(Object.hasOwn(_0e,x)&&Object.hasOwn(d.properties,x)){const y=d.properties[x],C=_0e[x];(C===null||C.includes(d.tagName))&&(d.properties[x]=S(String(y||""),x,d))}}if(d.type==="element"){let x=t?!t.includes(d.tagName):u?u.includes(d.tagName):!1;if(!x&&r&&typeof f=="number"&&(x=!r(d,f,b)),x&&b&&typeof f=="number")return i&&d.children?b.children.splice(f,1,...d.children):b.children.splice(f,1),f}}}function Z_t(e){const t=e.indexOf(":"),r=e.indexOf("?"),n=e.indexOf("#"),o=e.indexOf("/");return t<0||o>-1&&t>o||r>-1&&t>r||n>-1&&t>n||K_t.test(e.slice(0,t))?e:""}const g7e=/[#.]/g;function Q_t(e,t){const r=e||"",n={};let o=0,m,u;for(;o<r.length;){g7e.lastIndex=o;const h=g7e.exec(r),a=r.slice(o,h?h.index:r.length);a&&(m?m==="#"?n.id=a:Array.isArray(n.className)?n.className.push(a):n.className=[a]:u=a,o+=a.length),h&&(m=h[0],o++)}return{type:"element",tagName:u||t||"div",properties:n,children:[]}}const J_t=new Set(["button","menu","reset","submit"]),H0e={}.hasOwnProperty;function y7e(e,t,r){const n=r&&nxt(r);function o(m,u,...h){let a=-1,l;if(m==null){l={type:"root",children:[]};const v=u;h.unshift(v)}else if(l=Q_t(m,t),l.tagName=l.tagName.toLowerCase(),n&&H0e.call(n,l.tagName)&&(l.tagName=n[l.tagName]),ext(u,l.tagName)){let v;for(v in u)H0e.call(u,v)&&txt(e,l.properties,v,u[v])}else h.unshift(u);for(;++a<h.length;)V0e(l.children,h[a]);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return o}function ext(e,t){return e==null||typeof e!="object"||Array.isArray(e)?!1:t==="input"||!e.type||typeof e.type!="string"?!0:"children"in e&&Array.isArray(e.children)?!1:t==="button"?J_t.has(e.type.toLowerCase()):!("value"in e)}function txt(e,t,r,n){const o=ML(e,r);let m=-1,u;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;u=n}else typeof n=="boolean"?u=n:typeof n=="string"?o.spaceSeparated?u=rIe(n):o.commaSeparated?u=HNe(n):o.commaOrSpaceSeparated?u=rIe(HNe(n).join(" ")):u=_7e(o,o.property,n):Array.isArray(n)?u=n.concat():u=o.property==="style"?rxt(n):String(n);if(Array.isArray(u)){const h=[];for(;++m<u.length;){const a=_7e(o,o.property,u[m]);h[m]=a}u=h}if(o.property==="className"&&Array.isArray(t.className)){const h=u;u=t.className.concat(h)}t[o.property]=u}}function V0e(e,t){let r=-1;if(t!=null)if(typeof t=="string"||typeof t=="number")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++r<t.length;)V0e(e,t[r]);else if(typeof t=="object"&&"type"in t)t.type==="root"?V0e(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function _7e(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||ak(r)===ak(t)))return!0}return r}function rxt(e){const t=[];let r;for(r in e)H0e.call(e,r)&&t.push([r,e[r]].join(": "));return t.join("; ")}function nxt(e){const t={};let r=-1;for(;++r<e.length;)t[e[r].toLowerCase()]=e[r];return t}const axt=["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"],x7e=y7e(ik,"div"),b7e=y7e(m2,"g",axt),Vv={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ixt(e,t){return E7e(e,{})||{type:"root",children:[]}}function E7e(e,t){const r=oxt(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function oxt(e,t){switch(e.nodeType){case 1:return uxt(e,t);case 3:return lxt(e);case 8:return cxt(e);case 9:return S7e(e,t);case 10:return sxt();case 11:return S7e(e,t);default:return}}function S7e(e,t){return{type:"root",children:w7e(e,t)}}function sxt(){return{type:"doctype"}}function lxt(e){return{type:"text",value:e.nodeValue||""}}function cxt(e){return{type:"comment",value:e.nodeValue||""}}function uxt(e,t){const r=e.namespaceURI,n=r===Vv.svg?b7e:x7e,o=r===Vv.html?e.tagName.toLowerCase():e.tagName,m=r===Vv.html&&o==="template"?e.content:e,u=e.getAttributeNames(),h={};let a=-1;for(;++a<u.length;)h[u[a]]=e.getAttribute(u[a])||"";return n(o,h,w7e(m,t))}function w7e(e,t){const r=e.childNodes,n=[];let o=-1;for(;++o<r.length;){const m=E7e(r[o],t);m!==void 0&&n.push(m)}return n}new DOMParser;function dxt(e,t){const r=fxt(e);return ixt(r)}function fxt(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const T7e=function(e,t,r){const n=dk(r);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]},bx=function(e){if(e==null)return vxt;if(typeof e=="string")return pxt(e);if(typeof e=="object")return hxt(e);if(typeof e=="function")return G0e(e);throw new Error("Expected function, string, or array as `test`")};function hxt(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=bx(e[r]);return G0e(n);function n(...o){let m=-1;for(;++m<t.length;)if(t[m].apply(this,o))return!0;return!1}}function pxt(e){return G0e(t);function t(r){return r.tagName===e}}function G0e(e){return t;function t(r,n,o){return!!(mxt(r)&&e.call(this,r,typeof n=="number"?n:void 0,o||void 0))}}function vxt(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function mxt(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const A7e=/\n/g,C7e=/[\t ]+/g,j0e=bx("br"),k7e=bx(wxt),gxt=bx("p"),M7e=bx("tr"),yxt=bx(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",Sxt,Txt]),R7e=bx(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function _xt(e,t={}){const r="children"in e?e.children:[],n=R7e(e),o=L7e(e,{whitespace:t.whitespace||"normal",breakBefore:!1,breakAfter:!1}),m=[];(e.type==="text"||e.type==="comment")&&m.push(...I7e(e,{whitespace:o,breakBefore:!0,breakAfter:!0}));let u=-1;for(;++u<r.length;)m.push(...N7e(r[u],e,{whitespace:o,breakBefore:u?void 0:n,breakAfter:u<r.length-1?j0e(r[u+1]):n}));const h=[];let a;for(u=-1;++u<m.length;){const l=m[u];typeof l=="number"?a!==void 0&&l>a&&(a=l):l&&(a!==void 0&&a>-1&&h.push(`
`.repeat(a)||" "),a=-1,h.push(l))}return h.join("")}function N7e(e,t,r){return e.type==="element"?xxt(e,t,r):e.type==="text"?r.whitespace==="normal"?I7e(e,r):bxt(e):[]}function xxt(e,t,r){const n=L7e(e,r),o=e.children||[];let m=-1,u=[];if(yxt(e))return u;let h,a;for(j0e(e)||M7e(e)&&T7e(t,e,M7e)?a=`
`:gxt(e)?(h=2,a=2):R7e(e)&&(h=1,a=1);++m<o.length;)u=u.concat(N7e(o[m],e,{whitespace:n,breakBefore:m?void 0:h,breakAfter:m<o.length-1?j0e(o[m+1]):a}));return k7e(e)&&T7e(t,e,k7e)&&u.push(" "),h&&u.unshift(h),a&&u.push(a),u}function I7e(e,t){const r=String(e.value),n=[],o=[];let m=0;for(;m<=r.length;){A7e.lastIndex=m;const a=A7e.exec(r),l=a&&"index"in a?a.index:r.length;n.push(Ext(r.slice(m,l).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),m===0?t.breakBefore:!0,l===r.length?t.breakAfter:!0)),m=l+1}let u=-1,h;for(;++u<n.length;)n[u].charCodeAt(n[u].length-1)===8203||u<n.length-1&&n[u+1].charCodeAt(0)===8203?(o.push(n[u]),h=void 0):n[u]?(typeof h=="number"&&o.push(h),o.push(n[u]),h=0):(u===0||u===n.length-1)&&o.push(0);return o}function bxt(e){return[String(e.value)]}function Ext(e,t,r){const n=[];let o=0,m;for(;o<e.length;){C7e.lastIndex=o;const u=C7e.exec(e);m=u?u.index:e.length,!o&&!m&&u&&!t&&n.push(""),o!==m&&n.push(e.slice(o,m)),o=u?m+u[0].length:m}return o!==m&&!r&&n.push(""),n.join(" ")}function L7e(e,t){if(e.type==="element"){const r=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function Sxt(e){return!!(e.properties||{}).hidden}function wxt(e){return e.tagName==="td"||e.tagName==="th"}function Txt(e){return e.tagName==="dialog"&&!(e.properties||{}).open}class Hp{constructor(t,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new Hp(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}let Gv=class ret{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new ret(r,Hp.range(this,t))}};class yi{constructor(t,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+t,o,m,u=r&&r.loc;if(u&&u.start<=u.end){var h=u.lexer.input;o=u.start,m=u.end,o===h.length?n+=" at end of input: ":n+=" at position "+(o+1)+": ";var a=h.slice(o,m).replace(/[^]/g,"$&̲"),l;o>15?l="…"+h.slice(o-15,o):l=h.slice(0,o);var v;m+15<h.length?v=h.slice(m,m+15)+"…":v=h.slice(m),n+=l+a+v}var i=new Error(n);return i.name="ParseError",i.__proto__=yi.prototype,i.position=o,o!=null&&m!=null&&(i.length=m-o),i.rawMessage=t,i}}yi.prototype.__proto__=Error.prototype;var Axt=function(t,r){return t.indexOf(r)!==-1},Cxt=function(t,r){return t===void 0?r:t},kxt=/([A-Z])/g,Mxt=function(t){return t.replace(kxt,"-$1").toLowerCase()},Rxt={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Nxt=/[&><"']/g;function Ixt(e){return String(e).replace(Nxt,t=>Rxt[t])}var O7e=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},Lxt=function(t){var r=O7e(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},Oxt=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},Dxt=function(t){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},io={contains:Axt,deflt:Cxt,escape:Ixt,hyphenate:Mxt,getBaseElem:O7e,isCharacterBox:Lxt,protocolFromUrl:Dxt},jL={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function Pxt(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}let Y0e=class{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var r in jL)if(jL.hasOwnProperty(r)){var n=jL[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:Pxt(n)}}reportNonstrict(t,r,n){var o=this.strict;if(typeof o=="function"&&(o=o(t,r,n)),!(!o||o==="ignore")){if(o===!0||o==="error")throw new yi("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);o==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+o+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var o=this.strict;if(typeof o=="function")try{o=o(t,r,n)}catch{o="error"}return!o||o==="ignore"?!1:o===!0||o==="error"?!0:o==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+o+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var r=io.protocolFromUrl(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}};class _2{constructor(t,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=n}sup(){return jv[Fxt[this.id]]}sub(){return jv[Bxt[this.id]]}fracNum(){return jv[zxt[this.id]]}fracDen(){return jv[Uxt[this.id]]}cramp(){return jv[$xt[this.id]]}text(){return jv[Hxt[this.id]]}isTight(){return this.size>=2}}var W0e=0,YL=1,kT=2,Sg=3,hk=4,$0=5,MT=6,Gf=7,jv=[new _2(W0e,0,!1),new _2(YL,0,!0),new _2(kT,1,!1),new _2(Sg,1,!0),new _2(hk,2,!1),new _2($0,2,!0),new _2(MT,3,!1),new _2(Gf,3,!0)],Fxt=[hk,$0,hk,$0,MT,Gf,MT,Gf],Bxt=[$0,$0,$0,$0,Gf,Gf,Gf,Gf],zxt=[kT,Sg,hk,$0,MT,Gf,MT,Gf],Uxt=[Sg,Sg,$0,$0,Gf,Gf,Gf,Gf],$xt=[YL,YL,Sg,Sg,$0,$0,Gf,Gf],Hxt=[W0e,YL,kT,Sg,kT,Sg,kT,Sg],uo={DISPLAY:jv[W0e],TEXT:jv[kT],SCRIPT:jv[hk],SCRIPTSCRIPT:jv[MT]},K0e=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Vxt(e){for(var t=0;t<K0e.length;t++)for(var r=K0e[t],n=0;n<r.blocks.length;n++){var o=r.blocks[n];if(e>=o[0]&&e<=o[1])return r.name}return null}var WL=[];K0e.forEach(e=>e.blocks.forEach(t=>WL.push(...t)));function D7e(e){for(var t=0;t<WL.length;t+=2)if(e>=WL[t]&&e<=WL[t+1])return!0;return!1}var RT=80,Gxt=function(t,r){return"M95,"+(622+t+r)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+t/2.075+" -"+t+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+t)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},jxt=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+t/2.084+" -"+t+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+t)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Yxt=function(t,r){return"M983 "+(10+t+r)+`
l`+t/3.13+" -"+t+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Wxt=function(t,r){return"M424,"+(2398+t+r)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+t)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+`
h400000v`+(40+t)+"h-400000z"},Kxt=function(t,r){return"M473,"+(2713+t+r)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},Xxt=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},qxt=function(t,r,n){var o=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
H742v`+o+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},Zxt=function(t,r,n){r=1e3*r;var o="";switch(t){case"sqrtMain":o=Gxt(r,RT);break;case"sqrtSize1":o=jxt(r,RT);break;case"sqrtSize2":o=Yxt(r,RT);break;case"sqrtSize3":o=Wxt(r,RT);break;case"sqrtSize4":o=Kxt(r,RT);break;case"sqrtTall":o=qxt(r,RT,n)}return o},Qxt=function(t,r){switch(t){case"⎜":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"∥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"⎟":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"⎢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"⎥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"⎪":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"⏐":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"‖":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},P7e={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Jxt=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
-36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};let pk=class{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return io.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}};var Yv={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},KL={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},F7e={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function ebt(e,t){Yv[e]=t}function X0e(e,t,r){if(!Yv[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),o=Yv[t][n];if(!o&&e[0]in F7e&&(n=F7e[e[0]].charCodeAt(0),o=Yv[t][n]),!o&&r==="text"&&D7e(n)&&(o=Yv[t][77]),o)return{depth:o[0],height:o[1],italic:o[2],skew:o[3],width:o[4]}}var q0e={};function tbt(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!q0e[t]){var r=q0e[t]={cssEmPerMu:KL.quad[t]/18};for(var n in KL)KL.hasOwnProperty(n)&&(r[n]=KL[n][t])}return q0e[t]}var rbt=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],B7e=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],z7e=function(t,r){return r.size<2?t:rbt[t-1][r.size-1]};let U7e=class P4{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||P4.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=B7e[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new P4(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:z7e(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:B7e[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=z7e(P4.BASESIZE,t);return this.size===r&&this.textSize===P4.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==P4.BASESIZE?["sizing","reset-size"+this.size,"size"+P4.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=tbt(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};U7e.BASESIZE=6;var Z0e={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},nbt={ex:!0,em:!0,mu:!0},$7e=function(t){return typeof t!="string"&&(t=t.unit),t in Z0e||t in nbt||t==="ex"},xc=function(t,r){var n;if(t.unit in Z0e)n=Z0e[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var o;if(r.style.isTight()?o=r.havingStyle(r.style.text()):o=r,t.unit==="ex")n=o.fontMetrics().xHeight;else if(t.unit==="em")n=o.fontMetrics().quad;else throw new yi("Invalid unit: '"+t.unit+"'");o!==r&&(n*=o.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},Ci=function(t){return+t.toFixed(4)+"em"},x2=function(t){return t.filter(r=>r).join(" ")},H7e=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var o=r.getColor();o&&(this.style.color=o)}},V7e=function(t){var r=document.createElement(t);r.className=x2(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var o in this.attributes)this.attributes.hasOwnProperty(o)&&r.setAttribute(o,this.attributes[o]);for(var m=0;m<this.children.length;m++)r.appendChild(this.children[m].toNode());return r},abt=/[\s"'>/=\x00-\x1f]/,G7e=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+io.escape(x2(this.classes))+'"');var n="";for(var o in this.style)this.style.hasOwnProperty(o)&&(n+=io.hyphenate(o)+":"+this.style[o]+";");n&&(r+=' style="'+io.escape(n)+'"');for(var m in this.attributes)if(this.attributes.hasOwnProperty(m)){if(abt.test(m))throw new yi("Invalid attribute name '"+m+"'");r+=" "+m+'="'+io.escape(this.attributes[m])+'"'}r+=">";for(var u=0;u<this.children.length;u++)r+=this.children[u].toMarkup();return r+="</"+t+">",r};class vk{constructor(t,r,n,o){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,H7e.call(this,t,n,o),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return io.contains(this.classes,t)}toNode(){return V7e.call(this,"span")}toMarkup(){return G7e.call(this,"span")}}let Q0e=class{constructor(t,r,n,o){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,H7e.call(this,r,o),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return io.contains(this.classes,t)}toNode(){return V7e.call(this,"a")}toMarkup(){return G7e.call(this,"a")}};class ibt{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return io.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t='<img src="'+io.escape(this.src)+'"'+(' alt="'+io.escape(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=io.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+io.escape(r)+'"'),t+="'/>",t}}var obt={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class H0{constructor(t,r,n,o,m,u,h,a){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=r||0,this.depth=n||0,this.italic=o||0,this.skew=m||0,this.width=u||0,this.classes=h||[],this.style=a||{},this.maxFontSize=0;var l=Vxt(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=obt[this.text])}hasClass(t){return io.contains(this.classes,t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=Ci(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=x2(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=io.escape(x2(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var o in this.style)this.style.hasOwnProperty(o)&&(n+=io.hyphenate(o)+":"+this.style[o]+";");n&&(t=!0,r+=' style="'+io.escape(n)+'"');var m=io.escape(this.text);return t?(r+=">",r+=m,r+="</span>",r):m}}class wg{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var o=0;o<this.children.length;o++)r.appendChild(this.children[o].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+io.escape(this.attributes[r])+'"');t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class b2{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",P7e[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+io.escape(this.alternate)+'"/>':'<path d="'+io.escape(P7e[this.pathName])+'"/>'}}class J0e{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+io.escape(this.attributes[r])+'"');return t+="/>",t}}function j7e(e){if(e instanceof H0)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function sbt(e){if(e instanceof vk)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var lbt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},cbt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Al={math:{},text:{}};function Dt(e,t,r,n,o,m){Al[e][o]={font:t,group:r,replace:n},m&&n&&(Al[e][n]=Al[e][o])}var Qt="math",Ja="text",xr="main",xn="ams",ac="accent-token",Hi="bin",jf="close",NT="inner",fo="mathord",yu="op-token",Vp="open",XL="punct",kn="rel",Tg="spacing",jn="textord";Dt(Qt,xr,kn,"≡","\\equiv",!0),Dt(Qt,xr,kn,"≺","\\prec",!0),Dt(Qt,xr,kn,"≻","\\succ",!0),Dt(Qt,xr,kn,"","\\sim",!0),Dt(Qt,xr,kn,"⊥","\\perp"),Dt(Qt,xr,kn,"⪯","\\preceq",!0),Dt(Qt,xr,kn,"⪰","\\succeq",!0),Dt(Qt,xr,kn,"≃","\\simeq",!0),Dt(Qt,xr,kn,"","\\mid",!0),Dt(Qt,xr,kn,"≪","\\ll",!0),Dt(Qt,xr,kn,"≫","\\gg",!0),Dt(Qt,xr,kn,"≍","\\asymp",!0),Dt(Qt,xr,kn,"∥","\\parallel"),Dt(Qt,xr,kn,"⋈","\\bowtie",!0),Dt(Qt,xr,kn,"⌣","\\smile",!0),Dt(Qt,xr,kn,"⊑","\\sqsubseteq",!0),Dt(Qt,xr,kn,"⊒","\\sqsupseteq",!0),Dt(Qt,xr,kn,"≐","\\doteq",!0),Dt(Qt,xr,kn,"⌢","\\frown",!0),Dt(Qt,xr,kn,"∋","\\ni",!0),Dt(Qt,xr,kn,"∝","\\propto",!0),Dt(Qt,xr,kn,"⊢","\\vdash",!0),Dt(Qt,xr,kn,"⊣","\\dashv",!0),Dt(Qt,xr,kn,"∋","\\owns"),Dt(Qt,xr,XL,".","\\ldotp"),Dt(Qt,xr,XL,"⋅","\\cdotp"),Dt(Qt,xr,jn,"#","\\#"),Dt(Ja,xr,jn,"#","\\#"),Dt(Qt,xr,jn,"&","\\&"),Dt(Ja,xr,jn,"&","\\&"),Dt(Qt,xr,jn,"ℵ","\\aleph",!0),Dt(Qt,xr,jn,"∀","\\forall",!0),Dt(Qt,xr,jn,"ℏ","\\hbar",!0),Dt(Qt,xr,jn,"∃","\\exists",!0),Dt(Qt,xr,jn,"∇","\\nabla",!0),Dt(Qt,xr,jn,"♭","\\flat",!0),Dt(Qt,xr,jn,"","\\ell",!0),Dt(Qt,xr,jn,"♮","\\natural",!0),Dt(Qt,xr,jn,"♣","\\clubsuit",!0),Dt(Qt,xr,jn,"℘","\\wp",!0),Dt(Qt,xr,jn,"♯","\\sharp",!0),Dt(Qt,xr,jn,"♢","\\diamondsuit",!0),Dt(Qt,xr,jn,"","\\Re",!0),Dt(Qt,xr,jn,"♡","\\heartsuit",!0),Dt(Qt,xr,jn,"","\\Im",!0),Dt(Qt,xr,jn,"♠","\\spadesuit",!0),Dt(Qt,xr,jn,"§","\\S",!0),Dt(Ja,xr,jn,"§","\\S"),Dt(Qt,xr,jn,"¶","\\P",!0),Dt(Ja,xr,jn,"¶","\\P"),Dt(Qt,xr,jn,"†","\\dag"),Dt(Ja,xr,jn,"†","\\dag"),Dt(Ja,xr,jn,"†","\\textdagger"),Dt(Qt,xr,jn,"‡","\\ddag"),Dt(Ja,xr,jn,"‡","\\ddag"),Dt(Ja,xr,jn,"‡","\\textdaggerdbl"),Dt(Qt,xr,jf,"⎱","\\rmoustache",!0),Dt(Qt,xr,Vp,"⎰","\\lmoustache",!0),Dt(Qt,xr,jf,"⟯","\\rgroup",!0),Dt(Qt,xr,Vp,"⟮","\\lgroup",!0),Dt(Qt,xr,Hi,"∓","\\mp",!0),Dt(Qt,xr,Hi,"⊖","\\ominus",!0),Dt(Qt,xr,Hi,"⊎","\\uplus",!0),Dt(Qt,xr,Hi,"⊓","\\sqcap",!0),Dt(Qt,xr,Hi,"","\\ast"),Dt(Qt,xr,Hi,"⊔","\\sqcup",!0),Dt(Qt,xr,Hi,"◯","\\bigcirc",!0),Dt(Qt,xr,Hi,"∙","\\bullet",!0),Dt(Qt,xr,Hi,"‡","\\ddagger"),Dt(Qt,xr,Hi,"≀","\\wr",!0),Dt(Qt,xr,Hi,"⨿","\\amalg"),Dt(Qt,xr,Hi,"&","\\And"),Dt(Qt,xr,kn,"⟵","\\longleftarrow",!0),Dt(Qt,xr,kn,"⇐","\\Leftarrow",!0),Dt(Qt,xr,kn,"⟸","\\Longleftarrow",!0),Dt(Qt,xr,kn,"⟶","\\longrightarrow",!0),Dt(Qt,xr,kn,"⇒","\\Rightarrow",!0),Dt(Qt,xr,kn,"⟹","\\Longrightarrow",!0),Dt(Qt,xr,kn,"↔","\\leftrightarrow",!0),Dt(Qt,xr,kn,"⟷","\\longleftrightarrow",!0),Dt(Qt,xr,kn,"⇔","\\Leftrightarrow",!0),Dt(Qt,xr,kn,"⟺","\\Longleftrightarrow",!0),Dt(Qt,xr,kn,"↦","\\mapsto",!0),Dt(Qt,xr,kn,"⟼","\\longmapsto",!0),Dt(Qt,xr,kn,"↗","\\nearrow",!0),Dt(Qt,xr,kn,"↩","\\hookleftarrow",!0),Dt(Qt,xr,kn,"↪","\\hookrightarrow",!0),Dt(Qt,xr,kn,"↘","\\searrow",!0),Dt(Qt,xr,kn,"↼","\\leftharpoonup",!0),Dt(Qt,xr,kn,"⇀","\\rightharpoonup",!0),Dt(Qt,xr,kn,"↙","\\swarrow",!0),Dt(Qt,xr,kn,"↽","\\leftharpoondown",!0),Dt(Qt,xr,kn,"⇁","\\rightharpoondown",!0),Dt(Qt,xr,kn,"↖","\\nwarrow",!0),Dt(Qt,xr,kn,"⇌","\\rightleftharpoons",!0),Dt(Qt,xn,kn,"≮","\\nless",!0),Dt(Qt,xn,kn,"","\\@nleqslant"),Dt(Qt,xn,kn,"","\\@nleqq"),Dt(Qt,xn,kn,"⪇","\\lneq",!0),Dt(Qt,xn,kn,"≨","\\lneqq",!0),Dt(Qt,xn,kn,"","\\@lvertneqq"),Dt(Qt,xn,kn,"⋦","\\lnsim",!0),Dt(Qt,xn,kn,"⪉","\\lnapprox",!0),Dt(Qt,xn,kn,"⊀","\\nprec",!0),Dt(Qt,xn,kn,"⋠","\\npreceq",!0),Dt(Qt,xn,kn,"⋨","\\precnsim",!0),Dt(Qt,xn,kn,"⪹","\\precnapprox",!0),Dt(Qt,xn,kn,"≁","\\nsim",!0),Dt(Qt,xn,kn,"","\\@nshortmid"),Dt(Qt,xn,kn,"∤","\\nmid",!0),Dt(Qt,xn,kn,"⊬","\\nvdash",!0),Dt(Qt,xn,kn,"⊭","\\nvDash",!0),Dt(Qt,xn,kn,"⋪","\\ntriangleleft"),Dt(Qt,xn,kn,"⋬","\\ntrianglelefteq",!0),Dt(Qt,xn,kn,"⊊","\\subsetneq",!0),Dt(Qt,xn,kn,"","\\@varsubsetneq"),Dt(Qt,xn,kn,"⫋","\\subsetneqq",!0),Dt(Qt,xn,kn,"","\\@varsubsetneqq"),Dt(Qt,xn,kn,"≯","\\ngtr",!0),Dt(Qt,xn,kn,"","\\@ngeqslant"),Dt(Qt,xn,kn,"","\\@ngeqq"),Dt(Qt,xn,kn,"⪈","\\gneq",!0),Dt(Qt,xn,kn,"≩","\\gneqq",!0),Dt(Qt,xn,kn,"","\\@gvertneqq"),Dt(Qt,xn,kn,"⋧","\\gnsim",!0),Dt(Qt,xn,kn,"⪊","\\gnapprox",!0),Dt(Qt,xn,kn,"⊁","\\nsucc",!0),Dt(Qt,xn,kn,"⋡","\\nsucceq",!0),Dt(Qt,xn,kn,"⋩","\\succnsim",!0),Dt(Qt,xn,kn,"⪺","\\succnapprox",!0),Dt(Qt,xn,kn,"≆","\\ncong",!0),Dt(Qt,xn,kn,"","\\@nshortparallel"),Dt(Qt,xn,kn,"∦","\\nparallel",!0),Dt(Qt,xn,kn,"⊯","\\nVDash",!0),Dt(Qt,xn,kn,"⋫","\\ntriangleright"),Dt(Qt,xn,kn,"⋭","\\ntrianglerighteq",!0),Dt(Qt,xn,kn,"","\\@nsupseteqq"),Dt(Qt,xn,kn,"⊋","\\supsetneq",!0),Dt(Qt,xn,kn,"","\\@varsupsetneq"),Dt(Qt,xn,kn,"⫌","\\supsetneqq",!0),Dt(Qt,xn,kn,"","\\@varsupsetneqq"),Dt(Qt,xn,kn,"⊮","\\nVdash",!0),Dt(Qt,xn,kn,"⪵","\\precneqq",!0),Dt(Qt,xn,kn,"⪶","\\succneqq",!0),Dt(Qt,xn,kn,"","\\@nsubseteqq"),Dt(Qt,xn,Hi,"⊴","\\unlhd"),Dt(Qt,xn,Hi,"⊵","\\unrhd"),Dt(Qt,xn,kn,"↚","\\nleftarrow",!0),Dt(Qt,xn,kn,"↛","\\nrightarrow",!0),Dt(Qt,xn,kn,"⇍","\\nLeftarrow",!0),Dt(Qt,xn,kn,"⇏","\\nRightarrow",!0),Dt(Qt,xn,kn,"↮","\\nleftrightarrow",!0),Dt(Qt,xn,kn,"⇎","\\nLeftrightarrow",!0),Dt(Qt,xn,kn,"△","\\vartriangle"),Dt(Qt,xn,jn,"ℏ","\\hslash"),Dt(Qt,xn,jn,"▽","\\triangledown"),Dt(Qt,xn,jn,"◊","\\lozenge"),Dt(Qt,xn,jn,"Ⓢ","\\circledS"),Dt(Qt,xn,jn,"®","\\circledR"),Dt(Ja,xn,jn,"®","\\circledR"),Dt(Qt,xn,jn,"∡","\\measuredangle",!0),Dt(Qt,xn,jn,"∄","\\nexists"),Dt(Qt,xn,jn,"℧","\\mho"),Dt(Qt,xn,jn,"Ⅎ","\\Finv",!0),Dt(Qt,xn,jn,"⅁","\\Game",!0),Dt(Qt,xn,jn,"","\\backprime"),Dt(Qt,xn,jn,"▲","\\blacktriangle"),Dt(Qt,xn,jn,"▼","\\blacktriangledown"),Dt(Qt,xn,jn,"■","\\blacksquare"),Dt(Qt,xn,jn,"⧫","\\blacklozenge"),Dt(Qt,xn,jn,"★","\\bigstar"),Dt(Qt,xn,jn,"∢","\\sphericalangle",!0),Dt(Qt,xn,jn,"∁","\\complement",!0),Dt(Qt,xn,jn,"ð","\\eth",!0),Dt(Ja,xr,jn,"ð","ð"),Dt(Qt,xn,jn,"","\\diagup"),Dt(Qt,xn,jn,"╲","\\diagdown"),Dt(Qt,xn,jn,"□","\\square"),Dt(Qt,xn,jn,"□","\\Box"),Dt(Qt,xn,jn,"◊","\\Diamond"),Dt(Qt,xn,jn,"¥","\\yen",!0),Dt(Ja,xn,jn,"¥","\\yen",!0),Dt(Qt,xn,jn,"✓","\\checkmark",!0),Dt(Ja,xn,jn,"✓","\\checkmark"),Dt(Qt,xn,jn,"ℶ","\\beth",!0),Dt(Qt,xn,jn,"ℸ","\\daleth",!0),Dt(Qt,xn,jn,"ℷ","\\gimel",!0),Dt(Qt,xn,jn,"ϝ","\\digamma",!0),Dt(Qt,xn,jn,"ϰ","\\varkappa"),Dt(Qt,xn,Vp,"┌","\\@ulcorner",!0),Dt(Qt,xn,jf,"┐","\\@urcorner",!0),Dt(Qt,xn,Vp,"└","\\@llcorner",!0),Dt(Qt,xn,jf,"┘","\\@lrcorner",!0),Dt(Qt,xn,kn,"≦","\\leqq",!0),Dt(Qt,xn,kn,"⩽","\\leqslant",!0),Dt(Qt,xn,kn,"⪕","\\eqslantless",!0),Dt(Qt,xn,kn,"≲","\\lesssim",!0),Dt(Qt,xn,kn,"⪅","\\lessapprox",!0),Dt(Qt,xn,kn,"≊","\\approxeq",!0),Dt(Qt,xn,Hi,"⋖","\\lessdot"),Dt(Qt,xn,kn,"⋘","\\lll",!0),Dt(Qt,xn,kn,"≶","\\lessgtr",!0),Dt(Qt,xn,kn,"⋚","\\lesseqgtr",!0),Dt(Qt,xn,kn,"⪋","\\lesseqqgtr",!0),Dt(Qt,xn,kn,"≑","\\doteqdot"),Dt(Qt,xn,kn,"≓","\\risingdotseq",!0),Dt(Qt,xn,kn,"≒","\\fallingdotseq",!0),Dt(Qt,xn,kn,"∽","\\backsim",!0),Dt(Qt,xn,kn,"⋍","\\backsimeq",!0),Dt(Qt,xn,kn,"⫅","\\subseteqq",!0),Dt(Qt,xn,kn,"⋐","\\Subset",!0),Dt(Qt,xn,kn,"⊏","\\sqsubset",!0),Dt(Qt,xn,kn,"≼","\\preccurlyeq",!0),Dt(Qt,xn,kn,"⋞","\\curlyeqprec",!0),Dt(Qt,xn,kn,"≾","\\precsim",!0),Dt(Qt,xn,kn,"⪷","\\precapprox",!0),Dt(Qt,xn,kn,"⊲","\\vartriangleleft"),Dt(Qt,xn,kn,"⊴","\\trianglelefteq"),Dt(Qt,xn,kn,"⊨","\\vDash",!0),Dt(Qt,xn,kn,"⊪","\\Vvdash",!0),Dt(Qt,xn,kn,"⌣","\\smallsmile"),Dt(Qt,xn,kn,"⌢","\\smallfrown"),Dt(Qt,xn,kn,"≏","\\bumpeq",!0),Dt(Qt,xn,kn,"≎","\\Bumpeq",!0),Dt(Qt,xn,kn,"≧","\\geqq",!0),Dt(Qt,xn,kn,"⩾","\\geqslant",!0),Dt(Qt,xn,kn,"⪖","\\eqslantgtr",!0),Dt(Qt,xn,kn,"≳","\\gtrsim",!0),Dt(Qt,xn,kn,"⪆","\\gtrapprox",!0),Dt(Qt,xn,Hi,"⋗","\\gtrdot"),Dt(Qt,xn,kn,"⋙","\\ggg",!0),Dt(Qt,xn,kn,"≷","\\gtrless",!0),Dt(Qt,xn,kn,"⋛","\\gtreqless",!0),Dt(Qt,xn,kn,"⪌","\\gtreqqless",!0),Dt(Qt,xn,kn,"≖","\\eqcirc",!0),Dt(Qt,xn,kn,"≗","\\circeq",!0),Dt(Qt,xn,kn,"≜","\\triangleq",!0),Dt(Qt,xn,kn,"","\\thicksim"),Dt(Qt,xn,kn,"≈","\\thickapprox"),Dt(Qt,xn,kn,"⫆","\\supseteqq",!0),Dt(Qt,xn,kn,"⋑","\\Supset",!0),Dt(Qt,xn,kn,"⊐","\\sqsupset",!0),Dt(Qt,xn,kn,"≽","\\succcurlyeq",!0),Dt(Qt,xn,kn,"⋟","\\curlyeqsucc",!0),Dt(Qt,xn,kn,"≿","\\succsim",!0),Dt(Qt,xn,kn,"⪸","\\succapprox",!0),Dt(Qt,xn,kn,"⊳","\\vartriangleright"),Dt(Qt,xn,kn,"⊵","\\trianglerighteq"),Dt(Qt,xn,kn,"⊩","\\Vdash",!0),Dt(Qt,xn,kn,"","\\shortmid"),Dt(Qt,xn,kn,"∥","\\shortparallel"),Dt(Qt,xn,kn,"≬","\\between",!0),Dt(Qt,xn,kn,"⋔","\\pitchfork",!0),Dt(Qt,xn,kn,"∝","\\varpropto"),Dt(Qt,xn,kn,"◀","\\blacktriangleleft"),Dt(Qt,xn,kn,"∴","\\therefore",!0),Dt(Qt,xn,kn,"∍","\\backepsilon"),Dt(Qt,xn,kn,"▶","\\blacktriangleright"),Dt(Qt,xn,kn,"∵","\\because",!0),Dt(Qt,xn,kn,"⋘","\\llless"),Dt(Qt,xn,kn,"⋙","\\gggtr"),Dt(Qt,xn,Hi,"⊲","\\lhd"),Dt(Qt,xn,Hi,"⊳","\\rhd"),Dt(Qt,xn,kn,"≂","\\eqsim",!0),Dt(Qt,xr,kn,"⋈","\\Join"),Dt(Qt,xn,kn,"≑","\\Doteq",!0),Dt(Qt,xn,Hi,"∔","\\dotplus",!0),Dt(Qt,xn,Hi,"","\\smallsetminus"),Dt(Qt,xn,Hi,"⋒","\\Cap",!0),Dt(Qt,xn,Hi,"⋓","\\Cup",!0),Dt(Qt,xn,Hi,"⩞","\\doublebarwedge",!0),Dt(Qt,xn,Hi,"⊟","\\boxminus",!0),Dt(Qt,xn,Hi,"⊞","\\boxplus",!0),Dt(Qt,xn,Hi,"⋇","\\divideontimes",!0),Dt(Qt,xn,Hi,"⋉","\\ltimes",!0),Dt(Qt,xn,Hi,"⋊","\\rtimes",!0),Dt(Qt,xn,Hi,"⋋","\\leftthreetimes",!0),Dt(Qt,xn,Hi,"⋌","\\rightthreetimes",!0),Dt(Qt,xn,Hi,"⋏","\\curlywedge",!0),Dt(Qt,xn,Hi,"⋎","\\curlyvee",!0),Dt(Qt,xn,Hi,"⊝","\\circleddash",!0),Dt(Qt,xn,Hi,"⊛","\\circledast",!0),Dt(Qt,xn,Hi,"⋅","\\centerdot"),Dt(Qt,xn,Hi,"⊺","\\intercal",!0),Dt(Qt,xn,Hi,"⋒","\\doublecap"),Dt(Qt,xn,Hi,"⋓","\\doublecup"),Dt(Qt,xn,Hi,"⊠","\\boxtimes",!0),Dt(Qt,xn,kn,"⇢","\\dashrightarrow",!0),Dt(Qt,xn,kn,"⇠","\\dashleftarrow",!0),Dt(Qt,xn,kn,"⇇","\\leftleftarrows",!0),Dt(Qt,xn,kn,"⇆","\\leftrightarrows",!0),Dt(Qt,xn,kn,"⇚","\\Lleftarrow",!0),Dt(Qt,xn,kn,"↞","\\twoheadleftarrow",!0),Dt(Qt,xn,kn,"↢","\\leftarrowtail",!0),Dt(Qt,xn,kn,"↫","\\looparrowleft",!0),Dt(Qt,xn,kn,"⇋","\\leftrightharpoons",!0),Dt(Qt,xn,kn,"↶","\\curvearrowleft",!0),Dt(Qt,xn,kn,"↺","\\circlearrowleft",!0),Dt(Qt,xn,kn,"↰","\\Lsh",!0),Dt(Qt,xn,kn,"⇈","\\upuparrows",!0),Dt(Qt,xn,kn,"↿","\\upharpoonleft",!0),Dt(Qt,xn,kn,"⇃","\\downharpoonleft",!0),Dt(Qt,xr,kn,"⊶","\\origof",!0),Dt(Qt,xr,kn,"⊷","\\imageof",!0),Dt(Qt,xn,kn,"⊸","\\multimap",!0),Dt(Qt,xn,kn,"↭","\\leftrightsquigarrow",!0),Dt(Qt,xn,kn,"⇉","\\rightrightarrows",!0),Dt(Qt,xn,kn,"⇄","\\rightleftarrows",!0),Dt(Qt,xn,kn,"↠","\\twoheadrightarrow",!0),Dt(Qt,xn,kn,"↣","\\rightarrowtail",!0),Dt(Qt,xn,kn,"↬","\\looparrowright",!0),Dt(Qt,xn,kn,"↷","\\curvearrowright",!0),Dt(Qt,xn,kn,"↻","\\circlearrowright",!0),Dt(Qt,xn,kn,"↱","\\Rsh",!0),Dt(Qt,xn,kn,"⇊","\\downdownarrows",!0),Dt(Qt,xn,kn,"↾","\\upharpoonright",!0),Dt(Qt,xn,kn,"⇂","\\downharpoonright",!0),Dt(Qt,xn,kn,"⇝","\\rightsquigarrow",!0),Dt(Qt,xn,kn,"⇝","\\leadsto"),Dt(Qt,xn,kn,"⇛","\\Rrightarrow",!0),Dt(Qt,xn,kn,"↾","\\restriction"),Dt(Qt,xr,jn,"","`"),Dt(Qt,xr,jn,"$","\\$"),Dt(Ja,xr,jn,"$","\\$"),Dt(Ja,xr,jn,"$","\\textdollar"),Dt(Qt,xr,jn,"%","\\%"),Dt(Ja,xr,jn,"%","\\%"),Dt(Qt,xr,jn,"_","\\_"),Dt(Ja,xr,jn,"_","\\_"),Dt(Ja,xr,jn,"_","\\textunderscore"),Dt(Qt,xr,jn,"∠","\\angle",!0),Dt(Qt,xr,jn,"∞","\\infty",!0),Dt(Qt,xr,jn,"","\\prime"),Dt(Qt,xr,jn,"△","\\triangle"),Dt(Qt,xr,jn,"Γ","\\Gamma",!0),Dt(Qt,xr,jn,"Δ","\\Delta",!0),Dt(Qt,xr,jn,"Θ","\\Theta",!0),Dt(Qt,xr,jn,"Λ","\\Lambda",!0),Dt(Qt,xr,jn,"Ξ","\\Xi",!0),Dt(Qt,xr,jn,"Π","\\Pi",!0),Dt(Qt,xr,jn,"Σ","\\Sigma",!0),Dt(Qt,xr,jn,"Υ","\\Upsilon",!0),Dt(Qt,xr,jn,"Φ","\\Phi",!0),Dt(Qt,xr,jn,"Ψ","\\Psi",!0),Dt(Qt,xr,jn,"Ω","\\Omega",!0),Dt(Qt,xr,jn,"A","Α"),Dt(Qt,xr,jn,"B","Β"),Dt(Qt,xr,jn,"E","Ε"),Dt(Qt,xr,jn,"Z","Ζ"),Dt(Qt,xr,jn,"H","Η"),Dt(Qt,xr,jn,"I","Ι"),Dt(Qt,xr,jn,"K","Κ"),Dt(Qt,xr,jn,"M","Μ"),Dt(Qt,xr,jn,"N","Ν"),Dt(Qt,xr,jn,"O","Ο"),Dt(Qt,xr,jn,"P","Ρ"),Dt(Qt,xr,jn,"T","Τ"),Dt(Qt,xr,jn,"X","Χ"),Dt(Qt,xr,jn,"¬","\\neg",!0),Dt(Qt,xr,jn,"¬","\\lnot"),Dt(Qt,xr,jn,"","\\top"),Dt(Qt,xr,jn,"⊥","\\bot"),Dt(Qt,xr,jn,"∅","\\emptyset"),Dt(Qt,xn,jn,"∅","\\varnothing"),Dt(Qt,xr,fo,"α","\\alpha",!0),Dt(Qt,xr,fo,"β","\\beta",!0),Dt(Qt,xr,fo,"γ","\\gamma",!0),Dt(Qt,xr,fo,"δ","\\delta",!0),Dt(Qt,xr,fo,"ϵ","\\epsilon",!0),Dt(Qt,xr,fo,"ζ","\\zeta",!0),Dt(Qt,xr,fo,"η","\\eta",!0),Dt(Qt,xr,fo,"θ","\\theta",!0),Dt(Qt,xr,fo,"ι","\\iota",!0),Dt(Qt,xr,fo,"κ","\\kappa",!0),Dt(Qt,xr,fo,"λ","\\lambda",!0),Dt(Qt,xr,fo,"μ","\\mu",!0),Dt(Qt,xr,fo,"ν","\\nu",!0),Dt(Qt,xr,fo,"ξ","\\xi",!0),Dt(Qt,xr,fo,"ο","\\omicron",!0),Dt(Qt,xr,fo,"π","\\pi",!0),Dt(Qt,xr,fo,"ρ","\\rho",!0),Dt(Qt,xr,fo,"σ","\\sigma",!0),Dt(Qt,xr,fo,"τ","\\tau",!0),Dt(Qt,xr,fo,"υ","\\upsilon",!0),Dt(Qt,xr,fo,"ϕ","\\phi",!0),Dt(Qt,xr,fo,"χ","\\chi",!0),Dt(Qt,xr,fo,"ψ","\\psi",!0),Dt(Qt,xr,fo,"ω","\\omega",!0),Dt(Qt,xr,fo,"ε","\\varepsilon",!0),Dt(Qt,xr,fo,"ϑ","\\vartheta",!0),Dt(Qt,xr,fo,"ϖ","\\varpi",!0),Dt(Qt,xr,fo,"ϱ","\\varrho",!0),Dt(Qt,xr,fo,"ς","\\varsigma",!0),Dt(Qt,xr,fo,"φ","\\varphi",!0),Dt(Qt,xr,Hi,"","*",!0),Dt(Qt,xr,Hi,"+","+"),Dt(Qt,xr,Hi,"","-",!0),Dt(Qt,xr,Hi,"⋅","\\cdot",!0),Dt(Qt,xr,Hi,"∘","\\circ",!0),Dt(Qt,xr,Hi,"÷","\\div",!0),Dt(Qt,xr,Hi,"±","\\pm",!0),Dt(Qt,xr,Hi,"×","\\times",!0),Dt(Qt,xr,Hi,"∩","\\cap",!0),Dt(Qt,xr,Hi,"","\\cup",!0),Dt(Qt,xr,Hi,"","\\setminus",!0),Dt(Qt,xr,Hi,"∧","\\land"),Dt(Qt,xr,Hi,"","\\lor"),Dt(Qt,xr,Hi,"∧","\\wedge",!0),Dt(Qt,xr,Hi,"","\\vee",!0),Dt(Qt,xr,jn,"√","\\surd"),Dt(Qt,xr,Vp,"⟨","\\langle",!0),Dt(Qt,xr,Vp,"","\\lvert"),Dt(Qt,xr,Vp,"∥","\\lVert"),Dt(Qt,xr,jf,"?","?"),Dt(Qt,xr,jf,"!","!"),Dt(Qt,xr,jf,"⟩","\\rangle",!0),Dt(Qt,xr,jf,"","\\rvert"),Dt(Qt,xr,jf,"∥","\\rVert"),Dt(Qt,xr,kn,"=","="),Dt(Qt,xr,kn,":",":"),Dt(Qt,xr,kn,"≈","\\approx",!0),Dt(Qt,xr,kn,"≅","\\cong",!0),Dt(Qt,xr,kn,"≥","\\ge"),Dt(Qt,xr,kn,"≥","\\geq",!0),Dt(Qt,xr,kn,"←","\\gets"),Dt(Qt,xr,kn,">","\\gt",!0),Dt(Qt,xr,kn,"∈","\\in",!0),Dt(Qt,xr,kn,"","\\@not"),Dt(Qt,xr,kn,"⊂","\\subset",!0),Dt(Qt,xr,kn,"⊃","\\supset",!0),Dt(Qt,xr,kn,"⊆","\\subseteq",!0),Dt(Qt,xr,kn,"⊇","\\supseteq",!0),Dt(Qt,xn,kn,"⊈","\\nsubseteq",!0),Dt(Qt,xn,kn,"⊉","\\nsupseteq",!0),Dt(Qt,xr,kn,"⊨","\\models"),Dt(Qt,xr,kn,"←","\\leftarrow",!0),Dt(Qt,xr,kn,"≤","\\le"),Dt(Qt,xr,kn,"≤","\\leq",!0),Dt(Qt,xr,kn,"<","\\lt",!0),Dt(Qt,xr,kn,"→","\\rightarrow",!0),Dt(Qt,xr,kn,"→","\\to"),Dt(Qt,xn,kn,"≱","\\ngeq",!0),Dt(Qt,xn,kn,"≰","\\nleq",!0),Dt(Qt,xr,Tg," ","\\ "),Dt(Qt,xr,Tg," ","\\space"),Dt(Qt,xr,Tg," ","\\nobreakspace"),Dt(Ja,xr,Tg," ","\\ "),Dt(Ja,xr,Tg," "," "),Dt(Ja,xr,Tg," ","\\space"),Dt(Ja,xr,Tg," ","\\nobreakspace"),Dt(Qt,xr,Tg,null,"\\nobreak"),Dt(Qt,xr,Tg,null,"\\allowbreak"),Dt(Qt,xr,XL,",",","),Dt(Qt,xr,XL,";",";"),Dt(Qt,xn,Hi,"⊼","\\barwedge",!0),Dt(Qt,xn,Hi,"⊻","\\veebar",!0),Dt(Qt,xr,Hi,"⊙","\\odot",!0),Dt(Qt,xr,Hi,"⊕","\\oplus",!0),Dt(Qt,xr,Hi,"⊗","\\otimes",!0),Dt(Qt,xr,jn,"∂","\\partial",!0),Dt(Qt,xr,Hi,"⊘","\\oslash",!0),Dt(Qt,xn,Hi,"⊚","\\circledcirc",!0),Dt(Qt,xn,Hi,"⊡","\\boxdot",!0),Dt(Qt,xr,Hi,"△","\\bigtriangleup"),Dt(Qt,xr,Hi,"▽","\\bigtriangledown"),Dt(Qt,xr,Hi,"†","\\dagger"),Dt(Qt,xr,Hi,"⋄","\\diamond"),Dt(Qt,xr,Hi,"⋆","\\star"),Dt(Qt,xr,Hi,"◃","\\triangleleft"),Dt(Qt,xr,Hi,"▹","\\triangleright"),Dt(Qt,xr,Vp,"{","\\{"),Dt(Ja,xr,jn,"{","\\{"),Dt(Ja,xr,jn,"{","\\textbraceleft"),Dt(Qt,xr,jf,"}","\\}"),Dt(Ja,xr,jn,"}","\\}"),Dt(Ja,xr,jn,"}","\\textbraceright"),Dt(Qt,xr,Vp,"{","\\lbrace"),Dt(Qt,xr,jf,"}","\\rbrace"),Dt(Qt,xr,Vp,"[","\\lbrack",!0),Dt(Ja,xr,jn,"[","\\lbrack",!0),Dt(Qt,xr,jf,"]","\\rbrack",!0),Dt(Ja,xr,jn,"]","\\rbrack",!0),Dt(Qt,xr,Vp,"(","\\lparen",!0),Dt(Qt,xr,jf,")","\\rparen",!0),Dt(Ja,xr,jn,"<","\\textless",!0),Dt(Ja,xr,jn,">","\\textgreater",!0),Dt(Qt,xr,Vp,"⌊","\\lfloor",!0),Dt(Qt,xr,jf,"⌋","\\rfloor",!0),Dt(Qt,xr,Vp,"⌈","\\lceil",!0),Dt(Qt,xr,jf,"⌉","\\rceil",!0),Dt(Qt,xr,jn,"\\","\\backslash"),Dt(Qt,xr,jn,"","|"),Dt(Qt,xr,jn,"","\\vert"),Dt(Ja,xr,jn,"|","\\textbar",!0),Dt(Qt,xr,jn,"∥","\\|"),Dt(Qt,xr,jn,"∥","\\Vert"),Dt(Ja,xr,jn,"∥","\\textbardbl"),Dt(Ja,xr,jn,"~","\\textasciitilde"),Dt(Ja,xr,jn,"\\","\\textbackslash"),Dt(Ja,xr,jn,"^","\\textasciicircum"),Dt(Qt,xr,kn,"↑","\\uparrow",!0),Dt(Qt,xr,kn,"⇑","\\Uparrow",!0),Dt(Qt,xr,kn,"↓","\\downarrow",!0),Dt(Qt,xr,kn,"⇓","\\Downarrow",!0),Dt(Qt,xr,kn,"↕","\\updownarrow",!0),Dt(Qt,xr,kn,"⇕","\\Updownarrow",!0),Dt(Qt,xr,yu,"∐","\\coprod"),Dt(Qt,xr,yu,"","\\bigvee"),Dt(Qt,xr,yu,"⋀","\\bigwedge"),Dt(Qt,xr,yu,"⨄","\\biguplus"),Dt(Qt,xr,yu,"⋂","\\bigcap"),Dt(Qt,xr,yu,"","\\bigcup"),Dt(Qt,xr,yu,"∫","\\int"),Dt(Qt,xr,yu,"∫","\\intop"),Dt(Qt,xr,yu,"∬","\\iint"),Dt(Qt,xr,yu,"∭","\\iiint"),Dt(Qt,xr,yu,"∏","\\prod"),Dt(Qt,xr,yu,"∑","\\sum"),Dt(Qt,xr,yu,"⨂","\\bigotimes"),Dt(Qt,xr,yu,"⨁","\\bigoplus"),Dt(Qt,xr,yu,"⨀","\\bigodot"),Dt(Qt,xr,yu,"∮","\\oint"),Dt(Qt,xr,yu,"∯","\\oiint"),Dt(Qt,xr,yu,"∰","\\oiiint"),Dt(Qt,xr,yu,"⨆","\\bigsqcup"),Dt(Qt,xr,yu,"∫","\\smallint"),Dt(Ja,xr,NT,"…","\\textellipsis"),Dt(Qt,xr,NT,"…","\\mathellipsis"),Dt(Ja,xr,NT,"…","\\ldots",!0),Dt(Qt,xr,NT,"…","\\ldots",!0),Dt(Qt,xr,NT,"⋯","\\@cdots",!0),Dt(Qt,xr,NT,"⋱","\\ddots",!0),Dt(Qt,xr,jn,"⋮","\\varvdots"),Dt(Ja,xr,jn,"⋮","\\varvdots"),Dt(Qt,xr,ac,"ˊ","\\acute"),Dt(Qt,xr,ac,"ˋ","\\grave"),Dt(Qt,xr,ac,"¨","\\ddot"),Dt(Qt,xr,ac,"~","\\tilde"),Dt(Qt,xr,ac,"ˉ","\\bar"),Dt(Qt,xr,ac,"˘","\\breve"),Dt(Qt,xr,ac,"ˇ","\\check"),Dt(Qt,xr,ac,"^","\\hat"),Dt(Qt,xr,ac,"⃗","\\vec"),Dt(Qt,xr,ac,"˙","\\dot"),Dt(Qt,xr,ac,"˚","\\mathring"),Dt(Qt,xr,fo,"","\\@imath"),Dt(Qt,xr,fo,"","\\@jmath"),Dt(Qt,xr,jn,"ı","ı"),Dt(Qt,xr,jn,"ȷ","ȷ"),Dt(Ja,xr,jn,"ı","\\i",!0),Dt(Ja,xr,jn,"ȷ","\\j",!0),Dt(Ja,xr,jn,"ß","\\ss",!0),Dt(Ja,xr,jn,"æ","\\ae",!0),Dt(Ja,xr,jn,"œ","\\oe",!0),Dt(Ja,xr,jn,"ø","\\o",!0),Dt(Ja,xr,jn,"Æ","\\AE",!0),Dt(Ja,xr,jn,"Œ","\\OE",!0),Dt(Ja,xr,jn,"Ø","\\O",!0),Dt(Ja,xr,ac,"ˊ","\\'"),Dt(Ja,xr,ac,"ˋ","\\`"),Dt(Ja,xr,ac,"ˆ","\\^"),Dt(Ja,xr,ac,"˜","\\~"),Dt(Ja,xr,ac,"ˉ","\\="),Dt(Ja,xr,ac,"˘","\\u"),Dt(Ja,xr,ac,"˙","\\."),Dt(Ja,xr,ac,"¸","\\c"),Dt(Ja,xr,ac,"˚","\\r"),Dt(Ja,xr,ac,"ˇ","\\v"),Dt(Ja,xr,ac,"¨",'\\"'),Dt(Ja,xr,ac,"˝","\\H"),Dt(Ja,xr,ac,"◯","\\textcircled");var Y7e={"--":!0,"---":!0,"``":!0,"''":!0};Dt(Ja,xr,jn,"","--",!0),Dt(Ja,xr,jn,"","\\textendash"),Dt(Ja,xr,jn,"—","---",!0),Dt(Ja,xr,jn,"—","\\textemdash"),Dt(Ja,xr,jn,"","`",!0),Dt(Ja,xr,jn,"","\\textquoteleft"),Dt(Ja,xr,jn,"","'",!0),Dt(Ja,xr,jn,"","\\textquoteright"),Dt(Ja,xr,jn,"“","``",!0),Dt(Ja,xr,jn,"“","\\textquotedblleft"),Dt(Ja,xr,jn,"”","''",!0),Dt(Ja,xr,jn,"”","\\textquotedblright"),Dt(Qt,xr,jn,"°","\\degree",!0),Dt(Ja,xr,jn,"°","\\degree"),Dt(Ja,xr,jn,"°","\\textdegree",!0),Dt(Qt,xr,jn,"£","\\pounds"),Dt(Qt,xr,jn,"£","\\mathsterling",!0),Dt(Ja,xr,jn,"£","\\pounds"),Dt(Ja,xr,jn,"£","\\textsterling",!0),Dt(Qt,xn,jn,"✠","\\maltese"),Dt(Ja,xn,jn,"✠","\\maltese");for(var W7e='0123456789/@."',e1e=0;e1e<W7e.length;e1e++){var K7e=W7e.charAt(e1e);Dt(Qt,xr,jn,K7e,K7e)}for(var X7e='0123456789!@*()-=+";:?/.,',t1e=0;t1e<X7e.length;t1e++){var q7e=X7e.charAt(t1e);Dt(Ja,xr,jn,q7e,q7e)}for(var qL="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",r1e=0;r1e<qL.length;r1e++){var ZL=qL.charAt(r1e);Dt(Qt,xr,fo,ZL,ZL),Dt(Ja,xr,jn,ZL,ZL)}Dt(Qt,xn,jn,"C",""),Dt(Ja,xn,jn,"C",""),Dt(Qt,xn,jn,"H",""),Dt(Ja,xn,jn,"H",""),Dt(Qt,xn,jn,"N",""),Dt(Ja,xn,jn,"N",""),Dt(Qt,xn,jn,"P",""),Dt(Ja,xn,jn,"P",""),Dt(Qt,xn,jn,"Q",""),Dt(Ja,xn,jn,"Q",""),Dt(Qt,xn,jn,"R",""),Dt(Ja,xn,jn,"R",""),Dt(Qt,xn,jn,"Z",""),Dt(Ja,xn,jn,"Z",""),Dt(Qt,xr,fo,"h",""),Dt(Ja,xr,fo,"h","");for(var To="",Yf=0;Yf<qL.length;Yf++){var Pc=qL.charAt(Yf);To=String.fromCharCode(55349,56320+Yf),Dt(Qt,xr,fo,Pc,To),Dt(Ja,xr,jn,Pc,To),To=String.fromCharCode(55349,56372+Yf),Dt(Qt,xr,fo,Pc,To),Dt(Ja,xr,jn,Pc,To),To=String.fromCharCode(55349,56424+Yf),Dt(Qt,xr,fo,Pc,To),Dt(Ja,xr,jn,Pc,To),To=String.fromCharCode(55349,56580+Yf),Dt(Qt,xr,fo,Pc,To),Dt(Ja,xr,jn,Pc,To),To=String.fromCharCode(55349,56684+Yf),Dt(Qt,xr,fo,Pc,To),Dt(Ja,xr,jn,Pc,To),To=String.fromCharCode(55349,56736+Yf),Dt(Qt,xr,fo,Pc,To),Dt(Ja,xr,jn,Pc,To),To=String.fromCharCode(55349,56788+Yf),Dt(Qt,xr,fo,Pc,To),Dt(Ja,xr,jn,Pc,To),To=String.fromCharCode(55349,56840+Yf),Dt(Qt,xr,fo,Pc,To),Dt(Ja,xr,jn,Pc,To),To=String.fromCharCode(55349,56944+Yf),Dt(Qt,xr,fo,Pc,To),Dt(Ja,xr,jn,Pc,To),Yf<26&&(To=String.fromCharCode(55349,56632+Yf),Dt(Qt,xr,fo,Pc,To),Dt(Ja,xr,jn,Pc,To),To=String.fromCharCode(55349,56476+Yf),Dt(Qt,xr,fo,Pc,To),Dt(Ja,xr,jn,Pc,To))}To="𝕜",Dt(Qt,xr,fo,"k",To),Dt(Ja,xr,jn,"k",To);for(var Ex=0;Ex<10;Ex++){var E2=Ex.toString();To=String.fromCharCode(55349,57294+Ex),Dt(Qt,xr,fo,E2,To),Dt(Ja,xr,jn,E2,To),To=String.fromCharCode(55349,57314+Ex),Dt(Qt,xr,fo,E2,To),Dt(Ja,xr,jn,E2,To),To=String.fromCharCode(55349,57324+Ex),Dt(Qt,xr,fo,E2,To),Dt(Ja,xr,jn,E2,To),To=String.fromCharCode(55349,57334+Ex),Dt(Qt,xr,fo,E2,To),Dt(Ja,xr,jn,E2,To)}for(var n1e="ÐÞþ",a1e=0;a1e<n1e.length;a1e++){var QL=n1e.charAt(a1e);Dt(Qt,xr,fo,QL,QL),Dt(Ja,xr,jn,QL,QL)}var JL=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Z7e=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],ubt=function(t,r){var n=t.charCodeAt(0),o=t.charCodeAt(1),m=(n-55296)*1024+(o-56320)+65536,u=r==="math"?0:1;if(119808<=m&&m<120484){var h=Math.floor((m-119808)/26);return[JL[h][2],JL[h][u]]}else if(120782<=m&&m<=120831){var a=Math.floor((m-120782)/10);return[Z7e[a][2],Z7e[a][u]]}else{if(m===120485||m===120486)return[JL[0][2],JL[0][u]];if(120486<m&&m<120782)return["",""];throw new yi("Unsupported character: "+t)}},e9=function(t,r,n){return Al[n][t]&&Al[n][t].replace&&(t=Al[n][t].replace),{value:t,metrics:X0e(t,r,n)}},F1=function(t,r,n,o,m){var u=e9(t,r,n),h=u.metrics;t=u.value;var a;if(h){var l=h.italic;(n==="text"||o&&o.font==="mathit")&&(l=0),a=new H0(t,h.height,h.depth,l,h.skew,h.width,m)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),a=new H0(t,0,0,0,0,0,m);if(o){a.maxFontSize=o.sizeMultiplier,o.style.isTight()&&a.classes.push("mtight");var v=o.getColor();v&&(a.style.color=v)}return a},dbt=function(t,r,n,o){return o===void 0&&(o=[]),n.font==="boldsymbol"&&e9(t,"Main-Bold",r).metrics?F1(t,"Main-Bold",r,n,o.concat(["mathbf"])):t==="\\"||Al[r][t].font==="main"?F1(t,"Main-Regular",r,n,o):F1(t,"AMS-Regular",r,n,o.concat(["amsrm"]))},fbt=function(t,r,n,o,m){return m!=="textord"&&e9(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},hbt=function(t,r,n){var o=t.mode,m=t.text,u=["mord"],h=o==="math"||o==="text"&&r.font,a=h?r.font:r.fontFamily,l="",v="";if(m.charCodeAt(0)===55349&&([l,v]=ubt(m,o)),l.length>0)return F1(m,l,o,r,u.concat(v));if(a){var i,S;if(a==="boldsymbol"){var g=fbt(m,o,r,u,n);i=g.fontName,S=[g.fontClass]}else h?(i=eLe[a].fontName,S=[a]):(i=t9(a,r.fontWeight,r.fontShape),S=[a,r.fontWeight,r.fontShape]);if(e9(m,i,o).metrics)return F1(m,i,o,r,u.concat(S));if(Y7e.hasOwnProperty(m)&&i.slice(0,10)==="Typewriter"){for(var p=[],_=0;_<m.length;_++)p.push(F1(m[_],i,o,r,u.concat(S)));return J7e(p)}}if(n==="mathord")return F1(m,"Math-Italic",o,r,u.concat(["mathnormal"]));if(n==="textord"){var c=Al[o][m]&&Al[o][m].font;if(c==="ams"){var s=t9("amsrm",r.fontWeight,r.fontShape);return F1(m,s,o,r,u.concat("amsrm",r.fontWeight,r.fontShape))}else if(c==="main"||!c){var d=t9("textrm",r.fontWeight,r.fontShape);return F1(m,d,o,r,u.concat(r.fontWeight,r.fontShape))}else{var f=t9(c,r.fontWeight,r.fontShape);return F1(m,f,o,r,u.concat(f,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},pbt=(e,t)=>{if(x2(e.classes)!==x2(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var o in t.style)if(t.style.hasOwnProperty(o)&&e.style[o]!==t.style[o])return!1;return!0},vbt=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof H0&&n instanceof H0&&pbt(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},i1e=function(t){for(var r=0,n=0,o=0,m=0;m<t.children.length;m++){var u=t.children[m];u.height>r&&(r=u.height),u.depth>n&&(n=u.depth),u.maxFontSize>o&&(o=u.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=o},Fh=function(t,r,n,o){var m=new vk(t,r,n,o);return i1e(m),m},Q7e=(e,t,r,n)=>new vk(e,t,r,n),mbt=function(t,r,n){var o=Fh([t],[],r);return o.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),o.style.borderBottomWidth=Ci(o.height),o.maxFontSize=1,o},gbt=function(t,r,n,o){var m=new Q0e(t,r,n,o);return i1e(m),m},J7e=function(t){var r=new pk(t);return i1e(r),r},ybt=function(t,r){return t instanceof pk?Fh([],[t],r):t},_bt=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],o=-r[0].shift-r[0].elem.depth,m=o,u=1;u<r.length;u++){var h=-r[u].shift-m-r[u].elem.depth,a=h-(r[u-1].elem.height+r[u-1].elem.depth);m=m+h,n.push({type:"kern",size:a}),n.push(r[u])}return{children:n,depth:o}}var l;if(t.positionType==="top"){for(var v=t.positionData,i=0;i<t.children.length;i++){var S=t.children[i];v-=S.type==="kern"?S.size:S.elem.height+S.elem.depth}l=v}else if(t.positionType==="bottom")l=-t.positionData;else{var g=t.children[0];if(g.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")l=-g.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")l=-g.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:l}},xbt=function(t,r){for(var{children:n,depth:o}=_bt(t),m=0,u=0;u<n.length;u++){var h=n[u];if(h.type==="elem"){var a=h.elem;m=Math.max(m,a.maxFontSize,a.height)}}m+=2;var l=Fh(["pstrut"],[]);l.style.height=Ci(m);for(var v=[],i=o,S=o,g=o,p=0;p<n.length;p++){var _=n[p];if(_.type==="kern")g+=_.size;else{var c=_.elem,s=_.wrapperClasses||[],d=_.wrapperStyle||{},f=Fh(s,[l,c],void 0,d);f.style.top=Ci(-m-g-c.depth),_.marginLeft&&(f.style.marginLeft=_.marginLeft),_.marginRight&&(f.style.marginRight=_.marginRight),v.push(f),g+=c.height+c.depth}i=Math.min(i,g),S=Math.max(S,g)}var b=Fh(["vlist"],v);b.style.height=Ci(S);var x;if(i<0){var y=Fh([],[]),C=Fh(["vlist"],[y]);C.style.height=Ci(-i);var w=Fh(["vlist-s"],[new H0("")]);x=[Fh(["vlist-r"],[b,w]),Fh(["vlist-r"],[C])]}else x=[Fh(["vlist-r"],[b])];var R=Fh(["vlist-t"],x);return x.length===2&&R.classes.push("vlist-t2"),R.height=S,R.depth=-i,R},bbt=(e,t)=>{var r=Fh(["mspace"],[],t),n=xc(e,t);return r.style.marginRight=Ci(n),r},t9=function(t,r,n){var o="";switch(t){case"amsrm":o="AMS";break;case"textrm":o="Main";break;case"textsf":o="SansSerif";break;case"texttt":o="Typewriter";break;default:o=t}var m;return r==="textbf"&&n==="textit"?m="BoldItalic":r==="textbf"?m="Bold":r==="textit"?m="Italic":m="Regular",o+"-"+m},eLe={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},tLe={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ebt=function(t,r){var[n,o,m]=tLe[t],u=new b2(n),h=new wg([u],{width:Ci(o),height:Ci(m),style:"width:"+Ci(o),viewBox:"0 0 "+1e3*o+" "+1e3*m,preserveAspectRatio:"xMinYMin"}),a=Q7e(["overlay"],[h],r);return a.height=m,a.style.height=Ci(m),a.style.width=Ci(o),a},ma={fontMap:eLe,makeSymbol:F1,mathsym:dbt,makeSpan:Fh,makeSvgSpan:Q7e,makeLineSpan:mbt,makeAnchor:gbt,makeFragment:J7e,wrapFragment:ybt,makeVList:xbt,makeOrd:hbt,makeGlue:bbt,staticSvg:Ebt,svgData:tLe,tryCombineChars:vbt},bc={number:3,unit:"mu"},Sx={number:4,unit:"mu"},Ag={number:5,unit:"mu"},Sbt={mord:{mop:bc,mbin:Sx,mrel:Ag,minner:bc},mop:{mord:bc,mop:bc,mrel:Ag,minner:bc},mbin:{mord:Sx,mop:Sx,mopen:Sx,minner:Sx},mrel:{mord:Ag,mop:Ag,mopen:Ag,minner:Ag},mopen:{},mclose:{mop:bc,mbin:Sx,mrel:Ag,minner:bc},mpunct:{mord:bc,mop:bc,mrel:Ag,mopen:bc,mclose:bc,mpunct:bc,minner:bc},minner:{mord:bc,mop:bc,mbin:Sx,mrel:Ag,mopen:bc,mpunct:bc,minner:bc}},wbt={mord:{mop:bc},mop:{mord:bc,mop:bc},mbin:{},mrel:{},mopen:{},mclose:{mop:bc},mpunct:{},minner:{mop:bc}},rLe={},r9={},n9={};function Fi(e){for(var{type:t,names:r,props:n,handler:o,htmlBuilder:m,mathmlBuilder:u}=e,h={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:o},a=0;a<r.length;++a)rLe[r[a]]=h;t&&(m&&(r9[t]=m),u&&(n9[t]=u))}function wx(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;Fi({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var a9=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},Qc=function(t){return t.type==="ordgroup"?t.body:[t]},Cg=ma.makeSpan,Tbt=["leftmost","mbin","mopen","mrel","mop","mpunct"],Abt=["rightmost","mrel","mclose","mpunct"],Cbt={display:uo.DISPLAY,text:uo.TEXT,script:uo.SCRIPT,scriptscript:uo.SCRIPTSCRIPT},kbt={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Ou=function(t,r,n,o){o===void 0&&(o=[null,null]);for(var m=[],u=0;u<t.length;u++){var h=zs(t[u],r);if(h instanceof pk){var a=h.children;m.push(...a)}else m.push(h)}if(ma.tryCombineChars(m),!n)return m;var l=r;if(t.length===1){var v=t[0];v.type==="sizing"?l=r.havingSize(v.size):v.type==="styling"&&(l=r.havingStyle(Cbt[v.style]))}var i=Cg([o[0]||"leftmost"],[],r),S=Cg([o[1]||"rightmost"],[],r),g=n==="root";return nLe(m,(p,_)=>{var c=_.classes[0],s=p.classes[0];c==="mbin"&&io.contains(Abt,s)?_.classes[0]="mord":s==="mbin"&&io.contains(Tbt,c)&&(p.classes[0]="mord")},{node:i},S,g),nLe(m,(p,_)=>{var c=o1e(_),s=o1e(p),d=c&&s?p.hasClass("mtight")?wbt[c][s]:Sbt[c][s]:null;if(d)return ma.makeGlue(d,l)},{node:i},S,g),m},nLe=function e(t,r,n,o,m){o&&t.push(o);for(var u=0;u<t.length;u++){var h=t[u],a=aLe(h);if(a){e(a.children,r,n,null,m);continue}var l=!h.hasClass("mspace");if(l){var v=r(h,n.node);v&&(n.insertAfter?n.insertAfter(v):(t.unshift(v),u++))}l?n.node=h:m&&h.hasClass("newline")&&(n.node=Cg(["leftmost"])),n.insertAfter=(i=>S=>{t.splice(i+1,0,S),u++})(u)}o&&t.pop()},aLe=function(t){return t instanceof pk||t instanceof Q0e||t instanceof vk&&t.hasClass("enclosing")?t:null},Mbt=function e(t,r){var n=aLe(t);if(n){var o=n.children;if(o.length){if(r==="right")return e(o[o.length-1],"right");if(r==="left")return e(o[0],"left")}}return t},o1e=function(t,r){return t?(r&&(t=Mbt(t,r)),kbt[t.classes[0]]||null):null},mk=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return Cg(r.concat(n))},zs=function(t,r,n){if(!t)return Cg();if(r9[t.type]){var o=r9[t.type](t,r);if(n&&r.size!==n.size){o=Cg(r.sizingClasses(n),[o],r);var m=r.sizeMultiplier/n.sizeMultiplier;o.height*=m,o.depth*=m}return o}else throw new yi("Got group of unknown type: '"+t.type+"'")};function i9(e,t){var r=Cg(["base"],e,t),n=Cg(["strut"]);return n.style.height=Ci(r.height+r.depth),r.depth&&(n.style.verticalAlign=Ci(-r.depth)),r.children.unshift(n),r}function s1e(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=Ou(e,t,"root"),o;n.length===2&&n[1].hasClass("tag")&&(o=n.pop());for(var m=[],u=[],h=0;h<n.length;h++)if(u.push(n[h]),n[h].hasClass("mbin")||n[h].hasClass("mrel")||n[h].hasClass("allowbreak")){for(var a=!1;h<n.length-1&&n[h+1].hasClass("mspace")&&!n[h+1].hasClass("newline");)h++,u.push(n[h]),n[h].hasClass("nobreak")&&(a=!0);a||(m.push(i9(u,t)),u=[])}else n[h].hasClass("newline")&&(u.pop(),u.length>0&&(m.push(i9(u,t)),u=[]),m.push(n[h]));u.length>0&&m.push(i9(u,t));var l;r?(l=i9(Ou(r,t,!0)),l.classes=["tag"],m.push(l)):o&&m.push(o);var v=Cg(["katex-html"],m);if(v.setAttribute("aria-hidden","true"),l){var i=l.children[0];i.style.height=Ci(v.height+v.depth),v.depth&&(i.style.verticalAlign=Ci(-v.depth))}return v}function iLe(e){return new pk(e)}class Gp{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=x2(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof Wv&&this.children[n+1]instanceof Wv){for(var o=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof Wv;)o+=this.children[++n].toText();t.appendChild(new Wv(o).toNode())}else t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=io.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+io.escape(x2(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Wv{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return io.escape(this.toText())}toText(){return this.text}}class Rbt{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character="":t>=.1666&&t<=.1667?this.character="":t>=.2222&&t<=.2223?this.character="":t>=.2777&&t<=.2778?this.character="":t>=-.05556&&t<=-.05555?this.character="":t>=-.1667&&t<=-.1666?this.character="":t>=-.2223&&t<=-.2222?this.character="":t>=-.2778&&t<=-.2777?this.character="":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",Ci(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Ci(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var li={MathNode:Gp,TextNode:Wv,SpaceNode:Rbt,newDocumentFragment:iLe},V0=function(t,r,n){return Al[r][t]&&Al[r][t].replace&&t.charCodeAt(0)!==55349&&!(Y7e.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=Al[r][t].replace),new li.TextNode(t)},l1e=function(t){return t.length===1?t[0]:new li.MathNode("mrow",t)},c1e=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var o=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var m=t.text;if(io.contains(["\\imath","\\jmath"],m))return null;Al[o][m]&&Al[o][m].replace&&(m=Al[o][m].replace);var u=ma.fontMap[n].fontName;return X0e(m,u,o)?ma.fontMap[n].variant:null};function u1e(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof Wv&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof Wv&&r.text===","}else return!1}var Bh=function(t,r,n){if(t.length===1){var o=vl(t[0],r);return n&&o instanceof Gp&&o.type==="mo"&&(o.setAttribute("lspace","0em"),o.setAttribute("rspace","0em")),[o]}for(var m=[],u,h=0;h<t.length;h++){var a=vl(t[h],r);if(a instanceof Gp&&u instanceof Gp){if(a.type==="mtext"&&u.type==="mtext"&&a.getAttribute("mathvariant")===u.getAttribute("mathvariant")){u.children.push(...a.children);continue}else if(a.type==="mn"&&u.type==="mn"){u.children.push(...a.children);continue}else if(u1e(a)&&u.type==="mn"){u.children.push(...a.children);continue}else if(a.type==="mn"&&u1e(u))a.children=[...u.children,...a.children],m.pop();else if((a.type==="msup"||a.type==="msub")&&a.children.length>=1&&(u.type==="mn"||u1e(u))){var l=a.children[0];l instanceof Gp&&l.type==="mn"&&(l.children=[...u.children,...l.children],m.pop())}else if(u.type==="mi"&&u.children.length===1){var v=u.children[0];if(v instanceof Wv&&v.text==="̸"&&(a.type==="mo"||a.type==="mi"||a.type==="mn")){var i=a.children[0];i instanceof Wv&&i.text.length>0&&(i.text=i.text.slice(0,1)+"̸"+i.text.slice(1),m.pop())}}}m.push(a),u=a}return m},S2=function(t,r,n){return l1e(Bh(t,r,n))},vl=function(t,r){if(!t)return new li.MathNode("mrow");if(n9[t.type]){var n=n9[t.type](t,r);return n}else throw new yi("Got group of unknown type: '"+t.type+"'")};function oLe(e,t,r,n,o){var m=Bh(e,r),u;m.length===1&&m[0]instanceof Gp&&io.contains(["mrow","mtable"],m[0].type)?u=m[0]:u=new li.MathNode("mrow",m);var h=new li.MathNode("annotation",[new li.TextNode(t)]);h.setAttribute("encoding","application/x-tex");var a=new li.MathNode("semantics",[u,h]),l=new li.MathNode("math",[a]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&l.setAttribute("display","block");var v=o?"katex":"katex-mathml";return ma.makeSpan([v],[l])}var sLe=function(t){return new U7e({style:t.displayMode?uo.DISPLAY:uo.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},lLe=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=ma.makeSpan(n,[t])}return t},Nbt=function(t,r,n){var o=sLe(n),m;if(n.output==="mathml")return oLe(t,r,o,n.displayMode,!0);if(n.output==="html"){var u=s1e(t,o);m=ma.makeSpan(["katex"],[u])}else{var h=oLe(t,r,o,n.displayMode,!1),a=s1e(t,o);m=ma.makeSpan(["katex"],[h,a])}return lLe(m,n)},Ibt=function(t,r,n){var o=sLe(n),m=s1e(t,o),u=ma.makeSpan(["katex"],[m]);return lLe(u,n)},Lbt={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Obt=function(t){var r=new li.MathNode("mo",[new li.TextNode(Lbt[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},Dbt={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Pbt=function(t){return t.type==="ordgroup"?t.body.length:1},Fbt=function(t,r){function n(){var h=4e5,a=t.label.slice(1);if(io.contains(["widehat","widecheck","widetilde","utilde"],a)){var l=t,v=Pbt(l.base),i,S,g;if(v>5)a==="widehat"||a==="widecheck"?(i=420,h=2364,g=.42,S=a+"4"):(i=312,h=2340,g=.34,S="tilde4");else{var p=[1,1,2,2,3,3][v];a==="widehat"||a==="widecheck"?(h=[0,1062,2364,2364,2364][p],i=[0,239,300,360,420][p],g=[0,.24,.3,.3,.36,.42][p],S=a+p):(h=[0,600,1033,2339,2340][p],i=[0,260,286,306,312][p],g=[0,.26,.286,.3,.306,.34][p],S="tilde"+p)}var _=new b2(S),c=new wg([_],{width:"100%",height:Ci(g),viewBox:"0 0 "+h+" "+i,preserveAspectRatio:"none"});return{span:ma.makeSvgSpan([],[c],r),minWidth:0,height:g}}else{var s=[],d=Dbt[a],[f,b,x]=d,y=x/1e3,C=f.length,w,R;if(C===1){var A=d[3];w=["hide-tail"],R=[A]}else if(C===2)w=["halfarrow-left","halfarrow-right"],R=["xMinYMin","xMaxYMin"];else if(C===3)w=["brace-left","brace-center","brace-right"],R=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+C+" children.");for(var E=0;E<C;E++){var k=new b2(f[E]),L=new wg([k],{width:"400em",height:Ci(y),viewBox:"0 0 "+h+" "+x,preserveAspectRatio:R[E]+" slice"}),I=ma.makeSvgSpan([w[E]],[L],r);if(C===1)return{span:I,minWidth:b,height:y};I.style.height=Ci(y),s.push(I)}return{span:ma.makeSpan(["stretchy"],s,r),minWidth:b,height:y}}}var{span:o,minWidth:m,height:u}=n();return o.height=u,o.style.height=Ci(u),m>0&&(o.style.minWidth=Ci(m)),o},Bbt=function(t,r,n,o,m){var u,h=t.height+t.depth+n+o;if(/fbox|color|angl/.test(r)){if(u=ma.makeSpan(["stretchy",r],[],m),r==="fbox"){var a=m.color&&m.getColor();a&&(u.style.borderColor=a)}}else{var l=[];/^[bx]cancel$/.test(r)&&l.push(new J0e({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&l.push(new J0e({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var v=new wg(l,{width:"100%",height:Ci(h)});u=ma.makeSvgSpan([],[v],m)}return u.height=h,u.style.height=Ci(h),u},kg={encloseSpan:Bbt,mathMLnode:Obt,svgSpan:Fbt};function es(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function d1e(e){var t=o9(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function o9(e){return e&&(e.type==="atom"||cbt.hasOwnProperty(e.type))?e:null}var f1e=(e,t)=>{var r,n,o;e&&e.type==="supsub"?(n=es(e.base,"accent"),r=n.base,e.base=r,o=sbt(zs(e,t)),e.base=n):(n=es(e,"accent"),r=n.base);var m=zs(r,t.havingCrampedStyle()),u=n.isShifty&&io.isCharacterBox(r),h=0;if(u){var a=io.getBaseElem(r),l=zs(a,t.havingCrampedStyle());h=j7e(l).skew}var v=n.label==="\\c",i=v?m.height+m.depth:Math.min(m.height,t.fontMetrics().xHeight),S;if(n.isStretchy)S=kg.svgSpan(n,t),S=ma.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:m},{type:"elem",elem:S,wrapperClasses:["svg-align"],wrapperStyle:h>0?{width:"calc(100% - "+Ci(2*h)+")",marginLeft:Ci(2*h)}:void 0}]},t);else{var g,p;n.label==="\\vec"?(g=ma.staticSvg("vec",t),p=ma.svgData.vec[1]):(g=ma.makeOrd({mode:n.mode,text:n.label},t,"textord"),g=j7e(g),g.italic=0,p=g.width,v&&(i+=g.depth)),S=ma.makeSpan(["accent-body"],[g]);var _=n.label==="\\textcircled";_&&(S.classes.push("accent-full"),i=m.height);var c=h;_||(c-=p/2),S.style.left=Ci(c),n.label==="\\textcircled"&&(S.style.top=".2em"),S=ma.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:m},{type:"kern",size:-i},{type:"elem",elem:S}]},t)}var s=ma.makeSpan(["mord","accent"],[S],t);return o?(o.children[0]=s,o.height=Math.max(s.height,o.height),o.classes[0]="mord",o):s},cLe=(e,t)=>{var r=e.isStretchy?kg.mathMLnode(e.label):new li.MathNode("mo",[V0(e.label,e.mode)]),n=new li.MathNode("mover",[vl(e.base,t),r]);return n.setAttribute("accent","true"),n},zbt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Fi({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=a9(t[0]),n=!zbt.test(e.funcName),o=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:o,base:r}},htmlBuilder:f1e,mathmlBuilder:cLe}),Fi({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:f1e,mathmlBuilder:cLe}),Fi({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:o}},htmlBuilder:(e,t)=>{var r=zs(e.base,t),n=kg.svgSpan(e,t),o=e.label==="\\utilde"?.12:0,m=ma.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:r}]},t);return ma.makeSpan(["mord","accentunder"],[m],t)},mathmlBuilder:(e,t)=>{var r=kg.mathMLnode(e.label),n=new li.MathNode("munder",[vl(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var s9=e=>{var t=new li.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Fi({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:o}=e;return{type:"xArrow",mode:n.mode,label:o,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),o=ma.wrapFragment(zs(e.body,n,t),t),m=e.label.slice(0,2)==="\\x"?"x":"cd";o.classes.push(m+"-arrow-pad");var u;e.below&&(n=t.havingStyle(r.sub()),u=ma.wrapFragment(zs(e.below,n,t),t),u.classes.push(m+"-arrow-pad"));var h=kg.svgSpan(e,t),a=-t.fontMetrics().axisHeight+.5*h.height,l=-t.fontMetrics().axisHeight-.5*h.height-.111;(o.depth>.25||e.label==="\\xleftequilibrium")&&(l-=o.depth);var v;if(u){var i=-t.fontMetrics().axisHeight+u.height+.5*h.height+.111;v=ma.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:l},{type:"elem",elem:h,shift:a},{type:"elem",elem:u,shift:i}]},t)}else v=ma.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:l},{type:"elem",elem:h,shift:a}]},t);return v.children[0].children[0].children[1].classes.push("svg-align"),ma.makeSpan(["mrel","x-arrow"],[v],t)},mathmlBuilder(e,t){var r=kg.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var o=s9(vl(e.body,t));if(e.below){var m=s9(vl(e.below,t));n=new li.MathNode("munderover",[r,m,o])}else n=new li.MathNode("mover",[r,o])}else if(e.below){var u=s9(vl(e.below,t));n=new li.MathNode("munder",[r,u])}else n=s9(),n=new li.MathNode("mover",[r,n]);return n}});var Ubt=ma.makeSpan;function uLe(e,t){var r=Ou(e.body,t,!0);return Ubt([e.mclass],r,t)}function dLe(e,t){var r,n=Bh(e.body,t);return e.mclass==="minner"?r=new li.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new li.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new li.MathNode("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}Fi({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,o=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Qc(o),isCharacterBox:io.isCharacterBox(o)}},htmlBuilder:uLe,mathmlBuilder:dLe});var l9=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};Fi({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:l9(t[0]),body:Qc(t[1]),isCharacterBox:io.isCharacterBox(t[1])}}}),Fi({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,o=t[1],m=t[0],u;n!=="\\stackrel"?u=l9(o):u="mrel";var h={type:"op",mode:o.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Qc(o)},a={type:"supsub",mode:m.mode,base:h,sup:n==="\\underset"?null:m,sub:n==="\\underset"?m:null};return{type:"mclass",mode:r.mode,mclass:u,body:[a],isCharacterBox:io.isCharacterBox(a)}},htmlBuilder:uLe,mathmlBuilder:dLe}),Fi({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:l9(t[0]),body:Qc(t[0])}},htmlBuilder(e,t){var r=Ou(e.body,t,!0),n=ma.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=Bh(e.body,t),n=new li.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var $bt={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},fLe=()=>({type:"styling",body:[],mode:"math",style:"display"}),hLe=e=>e.type==="textord"&&e.text==="@",Hbt=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function Vbt(e,t,r){var n=$bt[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var o=r.callFunction("\\\\cdleft",[t[0]],[]),m={type:"atom",text:n,mode:"math",family:"rel"},u=r.callFunction("\\Big",[m],[]),h=r.callFunction("\\\\cdright",[t[1]],[]),a={type:"ordgroup",mode:"math",body:[o,u,h]};return r.callFunction("\\\\cdparent",[a],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var l={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[l],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Gbt(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new yi("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],o=[n],m=0;m<t.length;m++){for(var u=t[m],h=fLe(),a=0;a<u.length;a++)if(!hLe(u[a]))h.body.push(u[a]);else{n.push(h),a+=1;var l=d1e(u[a]).text,v=new Array(2);if(v[0]={type:"ordgroup",mode:"math",body:[]},v[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(l)>-1))if("<>AV".indexOf(l)>-1)for(var i=0;i<2;i++){for(var S=!0,g=a+1;g<u.length;g++){if(Hbt(u[g],l)){S=!1,a=g;break}if(hLe(u[g]))throw new yi("Missing a "+l+" character to complete a CD arrow.",u[g]);v[i].body.push(u[g])}if(S)throw new yi("Missing a "+l+" character to complete a CD arrow.",u[a])}else throw new yi('Expected one of "<>AV=|." after @',u[a]);var p=Vbt(l,v,e),_={type:"styling",body:[p],mode:"math",style:"display"};n.push(_),h=fLe()}m%2===0?n.push(h):n.shift(),n=[],o.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var c=new Array(o[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:o,arraystretch:1,addJot:!0,rowGaps:[null],cols:c,colSeparationType:"CD",hLinesBeforeRow:new Array(o.length+1).fill([])}}Fi({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=ma.wrapFragment(zs(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=Ci(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new li.MathNode("mrow",[vl(e.label,t)]);return r=new li.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new li.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),Fi({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=ma.wrapFragment(zs(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new li.MathNode("mrow",[vl(e.fragment,t)])}}),Fi({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=es(t[0],"ordgroup"),o=n.body,m="",u=0;u<o.length;u++){var h=es(o[u],"textord");m+=h.text}var a=parseInt(m),l;if(isNaN(a))throw new yi("\\@char has non-numeric argument "+m);if(a<0||a>=1114111)throw new yi("\\@char with invalid code point "+m);return a<=65535?l=String.fromCharCode(a):(a-=65536,l=String.fromCharCode((a>>10)+55296,(a&1023)+56320)),{type:"textord",mode:r.mode,text:l}}});var pLe=(e,t)=>{var r=Ou(e.body,t.withColor(e.color),!1);return ma.makeFragment(r)},vLe=(e,t)=>{var r=Bh(e.body,t.withColor(e.color)),n=new li.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};Fi({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=es(t[0],"color-token").color,o=t[1];return{type:"color",mode:r.mode,color:n,body:Qc(o)}},htmlBuilder:pLe,mathmlBuilder:vLe}),Fi({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,o=es(t[0],"color-token").color;r.gullet.macros.set("\\current@color",o);var m=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:o,body:m}},htmlBuilder:pLe,mathmlBuilder:vLe}),Fi({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,o=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,m=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:m,size:o&&es(o,"size").value}},htmlBuilder(e,t){var r=ma.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=Ci(xc(e.size,t)))),r},mathmlBuilder(e,t){var r=new li.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",Ci(xc(e.size,t)))),r}});var h1e={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},mLe=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new yi("Expected a control sequence",e);return t},jbt=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},gLe=(e,t,r,n)=>{var o=e.gullet.macros.get(r.text);o==null&&(r.noexpand=!0,o={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,o,n)};Fi({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(h1e[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=h1e[n.text]),es(t.parseFunction(),"internal");throw new yi("Invalid token after macro prefix",n)}}),Fi({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),o=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new yi("Expected a control sequence",n);for(var m=0,u,h=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){u=t.gullet.future(),h[m].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new yi('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==m+1)throw new yi('Argument number "'+n.text+'" out of order');m++,h.push([])}else{if(n.text==="EOF")throw new yi("Expected a macro definition");h[m].push(n.text)}var{tokens:a}=t.gullet.consumeArg();return u&&a.unshift(u),(r==="\\edef"||r==="\\xdef")&&(a=t.gullet.expandTokens(a),a.reverse()),t.gullet.macros.set(o,{tokens:a,numArgs:m,delimiters:h},r===h1e[r]),{type:"internal",mode:t.mode}}}),Fi({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=mLe(t.gullet.popToken());t.gullet.consumeSpaces();var o=jbt(t);return gLe(t,n,o,r==="\\\\globallet"),{type:"internal",mode:t.mode}}}),Fi({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=mLe(t.gullet.popToken()),o=t.gullet.popToken(),m=t.gullet.popToken();return gLe(t,n,m,r==="\\\\globalfuture"),t.gullet.pushToken(m),t.gullet.pushToken(o),{type:"internal",mode:t.mode}}});var gk=function(t,r,n){var o=Al.math[t]&&Al.math[t].replace,m=X0e(o||t,r,n);if(!m)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return m},p1e=function(t,r,n,o){var m=n.havingBaseStyle(r),u=ma.makeSpan(o.concat(m.sizingClasses(n)),[t],n),h=m.sizeMultiplier/n.sizeMultiplier;return u.height*=h,u.depth*=h,u.maxFontSize=m.sizeMultiplier,u},yLe=function(t,r,n){var o=r.havingBaseStyle(n),m=(1-r.sizeMultiplier/o.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=Ci(m),t.height-=m,t.depth+=m},Ybt=function(t,r,n,o,m,u){var h=ma.makeSymbol(t,"Main-Regular",m,o),a=p1e(h,r,o,u);return n&&yLe(a,o,r),a},Wbt=function(t,r,n,o){return ma.makeSymbol(t,"Size"+r+"-Regular",n,o)},_Le=function(t,r,n,o,m,u){var h=Wbt(t,r,m,o),a=p1e(ma.makeSpan(["delimsizing","size"+r],[h],o),uo.TEXT,o,u);return n&&yLe(a,o,uo.TEXT),a},v1e=function(t,r,n){var o;r==="Size1-Regular"?o="delim-size1":o="delim-size4";var m=ma.makeSpan(["delimsizinginner",o],[ma.makeSpan([],[ma.makeSymbol(t,r,n)])]);return{type:"elem",elem:m}},m1e=function(t,r,n){var o=Yv["Size4-Regular"][t.charCodeAt(0)]?Yv["Size4-Regular"][t.charCodeAt(0)][4]:Yv["Size1-Regular"][t.charCodeAt(0)][4],m=new b2("inner",Qxt(t,Math.round(1e3*r))),u=new wg([m],{width:Ci(o),height:Ci(r),style:"width:"+Ci(o),viewBox:"0 0 "+1e3*o+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),h=ma.makeSvgSpan([],[u],n);return h.height=r,h.style.height=Ci(r),h.style.width=Ci(o),{type:"elem",elem:h}},g1e=.008,c9={type:"kern",size:-1*g1e},Kbt=["|","\\lvert","\\rvert","\\vert"],Xbt=["\\|","\\lVert","\\rVert","\\Vert"],xLe=function(t,r,n,o,m,u){var h,a,l,v,i="",S=0;h=l=v=t,a=null;var g="Size1-Regular";t==="\\uparrow"?l=v="⏐":t==="\\Uparrow"?l=v="‖":t==="\\downarrow"?h=l="⏐":t==="\\Downarrow"?h=l="‖":t==="\\updownarrow"?(h="\\uparrow",l="⏐",v="\\downarrow"):t==="\\Updownarrow"?(h="\\Uparrow",l="‖",v="\\Downarrow"):io.contains(Kbt,t)?(l="",i="vert",S=333):io.contains(Xbt,t)?(l="∥",i="doublevert",S=556):t==="["||t==="\\lbrack"?(h="⎡",l="⎢",v="⎣",g="Size4-Regular",i="lbrack",S=667):t==="]"||t==="\\rbrack"?(h="⎤",l="⎥",v="⎦",g="Size4-Regular",i="rbrack",S=667):t==="\\lfloor"||t==="⌊"?(l=h="⎢",v="⎣",g="Size4-Regular",i="lfloor",S=667):t==="\\lceil"||t==="⌈"?(h="⎡",l=v="⎢",g="Size4-Regular",i="lceil",S=667):t==="\\rfloor"||t==="⌋"?(l=h="⎥",v="⎦",g="Size4-Regular",i="rfloor",S=667):t==="\\rceil"||t==="⌉"?(h="⎤",l=v="⎥",g="Size4-Regular",i="rceil",S=667):t==="("||t==="\\lparen"?(h="⎛",l="⎜",v="⎝",g="Size4-Regular",i="lparen",S=875):t===")"||t==="\\rparen"?(h="⎞",l="⎟",v="⎠",g="Size4-Regular",i="rparen",S=875):t==="\\{"||t==="\\lbrace"?(h="⎧",a="⎨",v="⎩",l="⎪",g="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(h="⎫",a="⎬",v="⎭",l="⎪",g="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(h="⎧",v="⎩",l="⎪",g="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(h="⎫",v="⎭",l="⎪",g="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(h="⎧",v="⎭",l="⎪",g="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(h="⎫",v="⎩",l="⎪",g="Size4-Regular");var p=gk(h,g,m),_=p.height+p.depth,c=gk(l,g,m),s=c.height+c.depth,d=gk(v,g,m),f=d.height+d.depth,b=0,x=1;if(a!==null){var y=gk(a,g,m);b=y.height+y.depth,x=2}var C=_+f+b,w=Math.max(0,Math.ceil((r-C)/(x*s))),R=C+w*x*s,A=o.fontMetrics().axisHeight;n&&(A*=o.sizeMultiplier);var E=R/2-A,k=[];if(i.length>0){var L=R-_-f,I=Math.round(R*1e3),P=Jxt(i,Math.round(L*1e3)),M=new b2(i,P),F=(S/1e3).toFixed(3)+"em",N=(I/1e3).toFixed(3)+"em",T=new wg([M],{width:F,height:N,viewBox:"0 0 "+S+" "+I}),D=ma.makeSvgSpan([],[T],o);D.height=I/1e3,D.style.width=F,D.style.height=N,k.push({type:"elem",elem:D})}else{if(k.push(v1e(v,g,m)),k.push(c9),a===null){var O=R-_-f+2*g1e;k.push(m1e(l,O,o))}else{var U=(R-_-f-b)/2+2*g1e;k.push(m1e(l,U,o)),k.push(c9),k.push(v1e(a,g,m)),k.push(c9),k.push(m1e(l,U,o))}k.push(c9),k.push(v1e(h,g,m))}var B=o.havingBaseStyle(uo.TEXT),Y=ma.makeVList({positionType:"bottom",positionData:E,children:k},B);return p1e(ma.makeSpan(["delimsizing","mult"],[Y],B),uo.TEXT,o,u)},y1e=80,_1e=.08,x1e=function(t,r,n,o,m){var u=Zxt(t,o,n),h=new b2(t,u),a=new wg([h],{width:"400em",height:Ci(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return ma.makeSvgSpan(["hide-tail"],[a],m)},qbt=function(t,r){var n=r.havingBaseSizing(),o=wLe("\\surd",t*n.sizeMultiplier,SLe,n),m=n.sizeMultiplier,u=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),h,a=0,l=0,v=0,i;return o.type==="small"?(v=1e3+1e3*u+y1e,t<1?m=1:t<1.4&&(m=.7),a=(1+u+_1e)/m,l=(1+u)/m,h=x1e("sqrtMain",a,v,u,r),h.style.minWidth="0.853em",i=.833/m):o.type==="large"?(v=(1e3+y1e)*yk[o.size],l=(yk[o.size]+u)/m,a=(yk[o.size]+u+_1e)/m,h=x1e("sqrtSize"+o.size,a,v,u,r),h.style.minWidth="1.02em",i=1/m):(a=t+u+_1e,l=t+u,v=Math.floor(1e3*t+u)+y1e,h=x1e("sqrtTall",a,v,u,r),h.style.minWidth="0.742em",i=1.056),h.height=l,h.style.height=Ci(a),{span:h,advanceWidth:i,ruleWidth:(r.fontMetrics().sqrtRuleThickness+u)*m}},bLe=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Zbt=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],ELe=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],yk=[0,1.2,1.8,2.4,3],Qbt=function(t,r,n,o,m){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),io.contains(bLe,t)||io.contains(ELe,t))return _Le(t,r,!1,n,o,m);if(io.contains(Zbt,t))return xLe(t,yk[r],!1,n,o,m);throw new yi("Illegal delimiter: '"+t+"'")},Jbt=[{type:"small",style:uo.SCRIPTSCRIPT},{type:"small",style:uo.SCRIPT},{type:"small",style:uo.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],e3t=[{type:"small",style:uo.SCRIPTSCRIPT},{type:"small",style:uo.SCRIPT},{type:"small",style:uo.TEXT},{type:"stack"}],SLe=[{type:"small",style:uo.SCRIPTSCRIPT},{type:"small",style:uo.SCRIPT},{type:"small",style:uo.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],t3t=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},wLe=function(t,r,n,o){for(var m=Math.min(2,3-o.style.size),u=m;u<n.length&&n[u].type!=="stack";u++){var h=gk(t,t3t(n[u]),"math"),a=h.height+h.depth;if(n[u].type==="small"){var l=o.havingBaseStyle(n[u].style);a*=l.sizeMultiplier}if(a>r)return n[u]}return n[n.length-1]},TLe=function(t,r,n,o,m,u){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var h;io.contains(ELe,t)?h=Jbt:io.contains(bLe,t)?h=SLe:h=e3t;var a=wLe(t,r,h,o);return a.type==="small"?Ybt(t,a.style,n,o,m,u):a.type==="large"?_Le(t,a.size,n,o,m,u):xLe(t,r,n,o,m,u)},r3t=function(t,r,n,o,m,u){var h=o.fontMetrics().axisHeight*o.sizeMultiplier,a=901,l=5/o.fontMetrics().ptPerEm,v=Math.max(r-h,n+h),i=Math.max(v/500*a,2*v-l);return TLe(t,i,!0,o,m,u)},Mg={sqrtImage:qbt,sizedDelim:Qbt,sizeToMaxHeight:yk,customSizedDelim:TLe,leftRightDelim:r3t},ALe={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},n3t=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function u9(e,t){var r=o9(e);if(r&&io.contains(n3t,r.text))return r;throw r?new yi("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new yi("Invalid delimiter type '"+e.type+"'",e)}Fi({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=u9(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:ALe[e.funcName].size,mclass:ALe[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?ma.makeSpan([e.mclass]):Mg.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(V0(e.delim,e.mode));var r=new li.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=Ci(Mg.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function CLe(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Fi({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new yi("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:u9(t[0],e).text,color:r}}}),Fi({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=u9(t[0],e),n=e.parser;++n.leftrightDepth;var o=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var m=es(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:o,left:r.text,right:m.delim,rightColor:m.color}},htmlBuilder:(e,t)=>{CLe(e);for(var r=Ou(e.body,t,!0,["mopen","mclose"]),n=0,o=0,m=!1,u=0;u<r.length;u++)r[u].isMiddle?m=!0:(n=Math.max(r[u].height,n),o=Math.max(r[u].depth,o));n*=t.sizeMultiplier,o*=t.sizeMultiplier;var h;if(e.left==="."?h=mk(t,["mopen"]):h=Mg.leftRightDelim(e.left,n,o,t,e.mode,["mopen"]),r.unshift(h),m)for(var a=1;a<r.length;a++){var l=r[a],v=l.isMiddle;v&&(r[a]=Mg.leftRightDelim(v.delim,n,o,v.options,e.mode,[]))}var i;if(e.right===".")i=mk(t,["mclose"]);else{var S=e.rightColor?t.withColor(e.rightColor):t;i=Mg.leftRightDelim(e.right,n,o,S,e.mode,["mclose"])}return r.push(i),ma.makeSpan(["minner"],r,t)},mathmlBuilder:(e,t)=>{CLe(e);var r=Bh(e.body,t);if(e.left!=="."){var n=new li.MathNode("mo",[V0(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var o=new li.MathNode("mo",[V0(e.right,e.mode)]);o.setAttribute("fence","true"),e.rightColor&&o.setAttribute("mathcolor",e.rightColor),r.push(o)}return l1e(r)}}),Fi({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=u9(t[0],e);if(!e.parser.leftrightDepth)throw new yi("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=mk(t,[]);else{r=Mg.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?V0("|","text"):V0(e.delim,e.mode),n=new li.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var b1e=(e,t)=>{var r=ma.wrapFragment(zs(e.body,t),t),n=e.label.slice(1),o=t.sizeMultiplier,m,u=0,h=io.isCharacterBox(e.body);if(n==="sout")m=ma.makeSpan(["stretchy","sout"]),m.height=t.fontMetrics().defaultRuleThickness/o,u=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var a=xc({number:.6,unit:"pt"},t),l=xc({number:.35,unit:"ex"},t),v=t.havingBaseSizing();o=o/v.sizeMultiplier;var i=r.height+r.depth+a+l;r.style.paddingLeft=Ci(i/2+a);var S=Math.floor(1e3*i*o),g=Xxt(S),p=new wg([new b2("phase",g)],{width:"400em",height:Ci(S/1e3),viewBox:"0 0 400000 "+S,preserveAspectRatio:"xMinYMin slice"});m=ma.makeSvgSpan(["hide-tail"],[p],t),m.style.height=Ci(i),u=r.depth+a+l}else{/cancel/.test(n)?h||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var _=0,c=0,s=0;/box/.test(n)?(s=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),_=t.fontMetrics().fboxsep+(n==="colorbox"?0:s),c=_):n==="angl"?(s=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),_=4*s,c=Math.max(0,.25-r.depth)):(_=h?.2:0,c=_),m=kg.encloseSpan(r,n,_,c,t),/fbox|boxed|fcolorbox/.test(n)?(m.style.borderStyle="solid",m.style.borderWidth=Ci(s)):n==="angl"&&s!==.049&&(m.style.borderTopWidth=Ci(s),m.style.borderRightWidth=Ci(s)),u=r.depth+c,e.backgroundColor&&(m.style.backgroundColor=e.backgroundColor,e.borderColor&&(m.style.borderColor=e.borderColor))}var d;if(e.backgroundColor)d=ma.makeVList({positionType:"individualShift",children:[{type:"elem",elem:m,shift:u},{type:"elem",elem:r,shift:0}]},t);else{var f=/cancel|phase/.test(n)?["svg-align"]:[];d=ma.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:m,shift:u,wrapperClasses:f}]},t)}return/cancel/.test(n)&&(d.height=r.height,d.depth=r.depth),/cancel/.test(n)&&!h?ma.makeSpan(["mord","cancel-lap"],[d],t):ma.makeSpan(["mord"],[d],t)},E1e=(e,t)=>{var r=0,n=new li.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[vl(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var o=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+o+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};Fi({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:o}=e,m=es(t[0],"color-token").color,u=t[1];return{type:"enclose",mode:n.mode,label:o,backgroundColor:m,body:u}},htmlBuilder:b1e,mathmlBuilder:E1e}),Fi({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:o}=e,m=es(t[0],"color-token").color,u=es(t[1],"color-token").color,h=t[2];return{type:"enclose",mode:n.mode,label:o,backgroundColor:u,borderColor:m,body:h}},htmlBuilder:b1e,mathmlBuilder:E1e}),Fi({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),Fi({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,o=t[0];return{type:"enclose",mode:r.mode,label:n,body:o}},htmlBuilder:b1e,mathmlBuilder:E1e}),Fi({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var kLe={};function Kv(e){for(var{type:t,names:r,props:n,handler:o,htmlBuilder:m,mathmlBuilder:u}=e,h={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:o},a=0;a<r.length;++a)kLe[r[a]]=h;m&&(r9[t]=m),u&&(n9[t]=u)}var MLe={};function $r(e,t){MLe[e]=t}function RLe(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var d9=e=>{var t=e.parser.settings;if(!t.displayMode)throw new yi("{"+e.envName+"} can be used only in display mode.")};function S1e(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function w2(e,t,r){var{hskipBeforeAndAfter:n,addJot:o,cols:m,arraystretch:u,colSeparationType:h,autoTag:a,singleRow:l,emptySingleRow:v,maxNumCols:i,leqno:S}=t;if(e.gullet.beginGroup(),l||e.gullet.macros.set("\\cr","\\\\\\relax"),!u){var g=e.gullet.expandMacroAsText("\\arraystretch");if(g==null)u=1;else if(u=parseFloat(g),!u||u<0)throw new yi("Invalid \\arraystretch: "+g)}e.gullet.beginGroup();var p=[],_=[p],c=[],s=[],d=a!=null?[]:void 0;function f(){a&&e.gullet.macros.set("\\@eqnsw","1",!0)}function b(){d&&(e.gullet.macros.get("\\df@tag")?(d.push(e.subparse([new Gv("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):d.push(!!a&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(f(),s.push(RLe(e));;){var x=e.parseExpression(!1,l?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),x={type:"ordgroup",mode:e.mode,body:x},r&&(x={type:"styling",mode:e.mode,style:r,body:[x]}),p.push(x);var y=e.fetch().text;if(y==="&"){if(i&&p.length===i){if(l||h)throw new yi("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(y==="\\end"){b(),p.length===1&&x.type==="styling"&&x.body[0].body.length===0&&(_.length>1||!v)&&_.pop(),s.length<_.length+1&&s.push([]);break}else if(y==="\\\\"){e.consume();var C=void 0;e.gullet.future().text!==" "&&(C=e.parseSizeGroup(!0)),c.push(C?C.value:null),b(),s.push(RLe(e)),p=[],_.push(p),f()}else throw new yi("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:o,arraystretch:u,body:_,cols:m,rowGaps:c,hskipBeforeAndAfter:n,hLinesBeforeRow:s,colSeparationType:h,tags:d,leqno:S}}function w1e(e){return e.slice(0,1)==="d"?"display":"text"}var Xv=function(t,r){var n,o,m=t.body.length,u=t.hLinesBeforeRow,h=0,a=new Array(m),l=[],v=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),i=1/r.fontMetrics().ptPerEm,S=5*i;if(t.colSeparationType&&t.colSeparationType==="small"){var g=r.havingStyle(uo.SCRIPT).sizeMultiplier;S=.2778*(g/r.sizeMultiplier)}var p=t.colSeparationType==="CD"?xc({number:3,unit:"ex"},r):12*i,_=3*i,c=t.arraystretch*p,s=.7*c,d=.3*c,f=0;function b(K){for(var te=0;te<K.length;++te)te>0&&(f+=.25),l.push({pos:f,isDashed:K[te]})}for(b(u[0]),n=0;n<t.body.length;++n){var x=t.body[n],y=s,C=d;h<x.length&&(h=x.length);var w=new Array(x.length);for(o=0;o<x.length;++o){var R=zs(x[o],r);C<R.depth&&(C=R.depth),y<R.height&&(y=R.height),w[o]=R}var A=t.rowGaps[n],E=0;A&&(E=xc(A,r),E>0&&(E+=d,C<E&&(C=E),E=0)),t.addJot&&(C+=_),w.height=y,w.depth=C,f+=y,w.pos=f,f+=C+E,a[n]=w,b(u[n+1])}var k=f/2+r.fontMetrics().axisHeight,L=t.cols||[],I=[],P,M,F=[];if(t.tags&&t.tags.some(K=>K))for(n=0;n<m;++n){var N=a[n],T=N.pos-k,D=t.tags[n],O=void 0;D===!0?O=ma.makeSpan(["eqn-num"],[],r):D===!1?O=ma.makeSpan([],[],r):O=ma.makeSpan([],Ou(D,r,!0),r),O.depth=N.depth,O.height=N.height,F.push({type:"elem",elem:O,shift:T})}for(o=0,M=0;o<h||M<L.length;++o,++M){for(var U=L[M]||{},B=!0;U.type==="separator";){if(B||(P=ma.makeSpan(["arraycolsep"],[]),P.style.width=Ci(r.fontMetrics().doubleRuleSep),I.push(P)),U.separator==="|"||U.separator===":"){var Y=U.separator==="|"?"solid":"dashed",z=ma.makeSpan(["vertical-separator"],[],r);z.style.height=Ci(f),z.style.borderRightWidth=Ci(v),z.style.borderRightStyle=Y,z.style.margin="0 "+Ci(-v/2);var V=f-k;V&&(z.style.verticalAlign=Ci(-V)),I.push(z)}else throw new yi("Invalid separator type: "+U.separator);M++,U=L[M]||{},B=!1}if(!(o>=h)){var j=void 0;(o>0||t.hskipBeforeAndAfter)&&(j=io.deflt(U.pregap,S),j!==0&&(P=ma.makeSpan(["arraycolsep"],[]),P.style.width=Ci(j),I.push(P)));var G=[];for(n=0;n<m;++n){var W=a[n],X=W[o];if(X){var Q=W.pos-k;X.depth=W.depth,X.height=W.height,G.push({type:"elem",elem:X,shift:Q})}}G=ma.makeVList({positionType:"individualShift",children:G},r),G=ma.makeSpan(["col-align-"+(U.align||"c")],[G]),I.push(G),(o<h-1||t.hskipBeforeAndAfter)&&(j=io.deflt(U.postgap,S),j!==0&&(P=ma.makeSpan(["arraycolsep"],[]),P.style.width=Ci(j),I.push(P)))}}if(a=ma.makeSpan(["mtable"],I),l.length>0){for(var ae=ma.makeLineSpan("hline",r,v),ie=ma.makeLineSpan("hdashline",r,v),he=[{type:"elem",elem:a,shift:0}];l.length>0;){var J=l.pop(),Z=J.pos-k;J.isDashed?he.push({type:"elem",elem:ie,shift:Z}):he.push({type:"elem",elem:ae,shift:Z})}a=ma.makeVList({positionType:"individualShift",children:he},r)}if(F.length===0)return ma.makeSpan(["mord"],[a],r);var le=ma.makeVList({positionType:"individualShift",children:F},r);return le=ma.makeSpan(["tag"],[le],r),ma.makeFragment([a,le])},a3t={c:"center ",l:"left ",r:"right "},qv=function(t,r){for(var n=[],o=new li.MathNode("mtd",[],["mtr-glue"]),m=new li.MathNode("mtd",[],["mml-eqn-num"]),u=0;u<t.body.length;u++){for(var h=t.body[u],a=[],l=0;l<h.length;l++)a.push(new li.MathNode("mtd",[vl(h[l],r)]));t.tags&&t.tags[u]&&(a.unshift(o),a.push(o),t.leqno?a.unshift(m):a.push(m)),n.push(new li.MathNode("mtr",a))}var v=new li.MathNode("mtable",n),i=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);v.setAttribute("rowspacing",Ci(i));var S="",g="";if(t.cols&&t.cols.length>0){var p=t.cols,_="",c=!1,s=0,d=p.length;p[0].type==="separator"&&(S+="top ",s=1),p[p.length-1].type==="separator"&&(S+="bottom ",d-=1);for(var f=s;f<d;f++)p[f].type==="align"?(g+=a3t[p[f].align],c&&(_+="none "),c=!0):p[f].type==="separator"&&c&&(_+=p[f].separator==="|"?"solid ":"dashed ",c=!1);v.setAttribute("columnalign",g.trim()),/[sd]/.test(_)&&v.setAttribute("columnlines",_.trim())}if(t.colSeparationType==="align"){for(var b=t.cols||[],x="",y=1;y<b.length;y++)x+=y%2?"0em ":"1em ";v.setAttribute("columnspacing",x.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?v.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?v.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?v.setAttribute("columnspacing","0.5em"):v.setAttribute("columnspacing","1em");var C="",w=t.hLinesBeforeRow;S+=w[0].length>0?"left ":"",S+=w[w.length-1].length>0?"right ":"";for(var R=1;R<w.length-1;R++)C+=w[R].length===0?"none ":w[R][0]?"dashed ":"solid ";return/[sd]/.test(C)&&v.setAttribute("rowlines",C.trim()),S!==""&&(v=new li.MathNode("menclose",[v]),v.setAttribute("notation",S.trim())),t.arraystretch&&t.arraystretch<1&&(v=new li.MathNode("mstyle",[v]),v.setAttribute("scriptlevel","1")),v},NLe=function(t,r){t.envName.indexOf("ed")===-1&&d9(t);var n=[],o=t.envName.indexOf("at")>-1?"alignat":"align",m=t.envName==="split",u=w2(t.parser,{cols:n,addJot:!0,autoTag:m?void 0:S1e(t.envName),emptySingleRow:!0,colSeparationType:o,maxNumCols:m?2:void 0,leqno:t.parser.settings.leqno},"display"),h,a=0,l={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var v="",i=0;i<r[0].body.length;i++){var S=es(r[0].body[i],"textord");v+=S.text}h=Number(v),a=h*2}var g=!a;u.body.forEach(function(s){for(var d=1;d<s.length;d+=2){var f=es(s[d],"styling"),b=es(f.body[0],"ordgroup");b.body.unshift(l)}if(g)a<s.length&&(a=s.length);else{var x=s.length/2;if(h<x)throw new yi("Too many math in a row: "+("expected "+h+", but got "+x),s[0])}});for(var p=0;p<a;++p){var _="r",c=0;p%2===1?_="l":p>0&&g&&(c=1),n[p]={type:"align",align:_,pregap:c,postgap:0}}return u.colSeparationType=g?"align":"alignat",u};Kv({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=o9(t[0]),n=r?[t[0]]:es(t[0],"ordgroup").body,o=n.map(function(u){var h=d1e(u),a=h.text;if("lcr".indexOf(a)!==-1)return{type:"align",align:a};if(a==="|")return{type:"separator",separator:"|"};if(a===":")return{type:"separator",separator:":"};throw new yi("Unknown column alignment: "+a,u)}),m={cols:o,hskipBeforeAndAfter:!0,maxNumCols:o.length};return w2(e.parser,m,w1e(e.envName))},htmlBuilder:Xv,mathmlBuilder:qv}),Kv({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var o=e.parser;if(o.consumeSpaces(),o.fetch().text==="["){if(o.consume(),o.consumeSpaces(),r=o.fetch().text,"lcr".indexOf(r)===-1)throw new yi("Expected l or c or r",o.nextToken);o.consume(),o.consumeSpaces(),o.expect("]"),o.consume(),n.cols=[{type:"align",align:r}]}}var m=w2(e.parser,n,w1e(e.envName)),u=Math.max(0,...m.body.map(h=>h.length));return m.cols=new Array(u).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[m],left:t[0],right:t[1],rightColor:void 0}:m},htmlBuilder:Xv,mathmlBuilder:qv}),Kv({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=w2(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:Xv,mathmlBuilder:qv}),Kv({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=o9(t[0]),n=r?[t[0]]:es(t[0],"ordgroup").body,o=n.map(function(u){var h=d1e(u),a=h.text;if("lc".indexOf(a)!==-1)return{type:"align",align:a};throw new yi("Unknown column alignment: "+a,u)});if(o.length>1)throw new yi("{subarray} can contain only one column");var m={cols:o,hskipBeforeAndAfter:!1,arraystretch:.5};if(m=w2(e.parser,m,"script"),m.body.length>0&&m.body[0].length>1)throw new yi("{subarray} can contain only one column");return m},htmlBuilder:Xv,mathmlBuilder:qv}),Kv({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=w2(e.parser,t,w1e(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Xv,mathmlBuilder:qv}),Kv({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:NLe,htmlBuilder:Xv,mathmlBuilder:qv}),Kv({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){io.contains(["gather","gather*"],e.envName)&&d9(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:S1e(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return w2(e.parser,t,"display")},htmlBuilder:Xv,mathmlBuilder:qv}),Kv({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:NLe,htmlBuilder:Xv,mathmlBuilder:qv}),Kv({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){d9(e);var t={autoTag:S1e(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return w2(e.parser,t,"display")},htmlBuilder:Xv,mathmlBuilder:qv}),Kv({type:"array",names:["CD"],props:{numArgs:0},handler(e){return d9(e),Gbt(e.parser)},htmlBuilder:Xv,mathmlBuilder:qv}),$r("\\nonumber","\\gdef\\@eqnsw{0}"),$r("\\notag","\\nonumber"),Fi({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new yi(e.funcName+" valid only within array environment")}});var ILe=kLe;Fi({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,o=t[0];if(o.type!=="ordgroup")throw new yi("Invalid environment name",o);for(var m="",u=0;u<o.body.length;++u)m+=es(o.body[u],"textord").text;if(n==="\\begin"){if(!ILe.hasOwnProperty(m))throw new yi("No such environment: "+m,o);var h=ILe[m],{args:a,optArgs:l}=r.parseArguments("\\begin{"+m+"}",h),v={mode:r.mode,envName:m,parser:r},i=h.handler(v,a,l);r.expect("\\end",!1);var S=r.nextToken,g=es(r.parseFunction(),"environment");if(g.name!==m)throw new yi("Mismatch: \\begin{"+m+"} matched by \\end{"+g.name+"}",S);return i}return{type:"environment",mode:r.mode,name:m,nameGroup:o}}});var LLe=(e,t)=>{var r=e.font,n=t.withFont(r);return zs(e.body,n)},OLe=(e,t)=>{var r=e.font,n=t.withFont(r);return vl(e.body,n)},DLe={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Fi({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=a9(t[0]),m=n;return m in DLe&&(m=DLe[m]),{type:"font",mode:r.mode,font:m.slice(1),body:o}},htmlBuilder:LLe,mathmlBuilder:OLe}),Fi({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],o=io.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:l9(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:o}}}),Fi({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:o}=e,{mode:m}=r,u=r.parseExpression(!0,o),h="math"+n.slice(1);return{type:"font",mode:m,font:h,body:{type:"ordgroup",mode:r.mode,body:u}}},htmlBuilder:LLe,mathmlBuilder:OLe});var PLe=(e,t)=>{var r=t;return e==="display"?r=r.id>=uo.SCRIPT.id?r.text():uo.DISPLAY:e==="text"&&r.size===uo.DISPLAY.size?r=uo.TEXT:e==="script"?r=uo.SCRIPT:e==="scriptscript"&&(r=uo.SCRIPTSCRIPT),r},T1e=(e,t)=>{var r=PLe(e.size,t.style),n=r.fracNum(),o=r.fracDen(),m;m=t.havingStyle(n);var u=zs(e.numer,m,t);if(e.continued){var h=8.5/t.fontMetrics().ptPerEm,a=3.5/t.fontMetrics().ptPerEm;u.height=u.height<h?h:u.height,u.depth=u.depth<a?a:u.depth}m=t.havingStyle(o);var l=zs(e.denom,m,t),v,i,S;e.hasBarLine?(e.barSize?(i=xc(e.barSize,t),v=ma.makeLineSpan("frac-line",t,i)):v=ma.makeLineSpan("frac-line",t),i=v.height,S=v.height):(v=null,i=0,S=t.fontMetrics().defaultRuleThickness);var g,p,_;r.size===uo.DISPLAY.size||e.size==="display"?(g=t.fontMetrics().num1,i>0?p=3*S:p=7*S,_=t.fontMetrics().denom1):(i>0?(g=t.fontMetrics().num2,p=S):(g=t.fontMetrics().num3,p=3*S),_=t.fontMetrics().denom2);var c;if(v){var d=t.fontMetrics().axisHeight;g-u.depth-(d+.5*i)<p&&(g+=p-(g-u.depth-(d+.5*i))),d-.5*i-(l.height-_)<p&&(_+=p-(d-.5*i-(l.height-_)));var f=-(d-.5*i);c=ma.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:_},{type:"elem",elem:v,shift:f},{type:"elem",elem:u,shift:-g}]},t)}else{var s=g-u.depth-(l.height-_);s<p&&(g+=.5*(p-s),_+=.5*(p-s)),c=ma.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:_},{type:"elem",elem:u,shift:-g}]},t)}m=t.havingStyle(r),c.height*=m.sizeMultiplier/t.sizeMultiplier,c.depth*=m.sizeMultiplier/t.sizeMultiplier;var b;r.size===uo.DISPLAY.size?b=t.fontMetrics().delim1:r.size===uo.SCRIPTSCRIPT.size?b=t.havingStyle(uo.SCRIPT).fontMetrics().delim2:b=t.fontMetrics().delim2;var x,y;return e.leftDelim==null?x=mk(t,["mopen"]):x=Mg.customSizedDelim(e.leftDelim,b,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?y=ma.makeSpan([]):e.rightDelim==null?y=mk(t,["mclose"]):y=Mg.customSizedDelim(e.rightDelim,b,!0,t.havingStyle(r),e.mode,["mclose"]),ma.makeSpan(["mord"].concat(m.sizingClasses(t)),[x,ma.makeSpan(["mfrac"],[c]),y],t)},A1e=(e,t)=>{var r=new li.MathNode("mfrac",[vl(e.numer,t),vl(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=xc(e.barSize,t);r.setAttribute("linethickness",Ci(n))}var o=PLe(e.size,t.style);if(o.size!==t.style.size){r=new li.MathNode("mstyle",[r]);var m=o.size===uo.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",m),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var u=[];if(e.leftDelim!=null){var h=new li.MathNode("mo",[new li.TextNode(e.leftDelim.replace("\\",""))]);h.setAttribute("fence","true"),u.push(h)}if(u.push(r),e.rightDelim!=null){var a=new li.MathNode("mo",[new li.TextNode(e.rightDelim.replace("\\",""))]);a.setAttribute("fence","true"),u.push(a)}return l1e(u)}return r};Fi({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0],m=t[1],u,h=null,a=null,l="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":u=!0;break;case"\\\\atopfrac":u=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":u=!1,h="(",a=")";break;case"\\\\bracefrac":u=!1,h="\\{",a="\\}";break;case"\\\\brackfrac":u=!1,h="[",a="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":l="display";break;case"\\tfrac":case"\\tbinom":l="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:o,denom:m,hasBarLine:u,leftDelim:h,rightDelim:a,size:l,barSize:null}},htmlBuilder:T1e,mathmlBuilder:A1e}),Fi({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0],m=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:o,denom:m,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Fi({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,o;switch(r){case"\\over":o="\\frac";break;case"\\choose":o="\\binom";break;case"\\atop":o="\\\\atopfrac";break;case"\\brace":o="\\\\bracefrac";break;case"\\brack":o="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:o,token:n}}});var FLe=["display","text","script","scriptscript"],BLe=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};Fi({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],o=t[5],m=a9(t[0]),u=m.type==="atom"&&m.family==="open"?BLe(m.text):null,h=a9(t[1]),a=h.type==="atom"&&h.family==="close"?BLe(h.text):null,l=es(t[2],"size"),v,i=null;l.isBlank?v=!0:(i=l.value,v=i.number>0);var S="auto",g=t[3];if(g.type==="ordgroup"){if(g.body.length>0){var p=es(g.body[0],"textord");S=FLe[Number(p.text)]}}else g=es(g,"textord"),S=FLe[Number(g.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:o,continued:!1,hasBarLine:v,barSize:i,leftDelim:u,rightDelim:a,size:S}},htmlBuilder:T1e,mathmlBuilder:A1e}),Fi({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:o}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:es(t[0],"size").value,token:o}}}),Fi({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0],m=Oxt(es(t[1],"infix").size),u=t[2],h=m.number>0;return{type:"genfrac",mode:r.mode,numer:o,denom:u,continued:!1,hasBarLine:h,barSize:m,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:T1e,mathmlBuilder:A1e});var zLe=(e,t)=>{var r=t.style,n,o;e.type==="supsub"?(n=e.sup?zs(e.sup,t.havingStyle(r.sup()),t):zs(e.sub,t.havingStyle(r.sub()),t),o=es(e.base,"horizBrace")):o=es(e,"horizBrace");var m=zs(o.base,t.havingBaseStyle(uo.DISPLAY)),u=kg.svgSpan(o,t),h;if(o.isOver?(h=ma.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:m},{type:"kern",size:.1},{type:"elem",elem:u}]},t),h.children[0].children[0].children[1].classes.push("svg-align")):(h=ma.makeVList({positionType:"bottom",positionData:m.depth+.1+u.height,children:[{type:"elem",elem:u},{type:"kern",size:.1},{type:"elem",elem:m}]},t),h.children[0].children[0].children[0].classes.push("svg-align")),n){var a=ma.makeSpan(["mord",o.isOver?"mover":"munder"],[h],t);o.isOver?h=ma.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.2},{type:"elem",elem:n}]},t):h=ma.makeVList({positionType:"bottom",positionData:a.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:a}]},t)}return ma.makeSpan(["mord",o.isOver?"mover":"munder"],[h],t)},i3t=(e,t)=>{var r=kg.mathMLnode(e.label);return new li.MathNode(e.isOver?"mover":"munder",[vl(e.base,t),r])};Fi({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:zLe,mathmlBuilder:i3t}),Fi({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],o=es(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:r.mode,href:o,body:Qc(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=Ou(e.body,t,!1);return ma.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=S2(e.body,t);return r instanceof Gp||(r=new Gp("mrow",[r])),r.setAttribute("href",e.href),r}}),Fi({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=es(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var o=[],m=0;m<n.length;m++){var u=n[m];u==="~"&&(u="\\textasciitilde"),o.push({type:"textord",mode:"text",text:u})}var h={type:"text",mode:r.mode,font:"\\texttt",body:o};return{type:"href",mode:r.mode,href:n,body:Qc(h)}}}),Fi({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:Qc(t[0])}},htmlBuilder(e,t){var r=Ou(e.body,t,!1);return ma.makeFragment(r)},mathmlBuilder(e,t){return new li.MathNode("mrow",Bh(e.body,t))}}),Fi({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:o}=e,m=es(t[0],"raw").string,u=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var h,a={};switch(n){case"\\htmlClass":a.class=m,h={command:"\\htmlClass",class:m};break;case"\\htmlId":a.id=m,h={command:"\\htmlId",id:m};break;case"\\htmlStyle":a.style=m,h={command:"\\htmlStyle",style:m};break;case"\\htmlData":{for(var l=m.split(","),v=0;v<l.length;v++){var i=l[v].split("=");if(i.length!==2)throw new yi("Error parsing key-value for \\htmlData");a["data-"+i[0].trim()]=i[1].trim()}h={command:"\\htmlData",attributes:a};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(h)?{type:"html",mode:r.mode,attributes:a,body:Qc(u)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=Ou(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var o=ma.makeSpan(n,r,t);for(var m in e.attributes)m!=="class"&&e.attributes.hasOwnProperty(m)&&o.setAttribute(m,e.attributes[m]);return o},mathmlBuilder:(e,t)=>S2(e.body,t)}),Fi({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:Qc(t[0]),mathml:Qc(t[1])}},htmlBuilder:(e,t)=>{var r=Ou(e.html,t,!1);return ma.makeFragment(r)},mathmlBuilder:(e,t)=>S2(e.mathml,t)});var C1e=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new yi("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!$7e(n))throw new yi("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};Fi({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,o={number:0,unit:"em"},m={number:.9,unit:"em"},u={number:0,unit:"em"},h="";if(r[0])for(var a=es(r[0],"raw").string,l=a.split(","),v=0;v<l.length;v++){var i=l[v].split("=");if(i.length===2){var S=i[1].trim();switch(i[0].trim()){case"alt":h=S;break;case"width":o=C1e(S);break;case"height":m=C1e(S);break;case"totalheight":u=C1e(S);break;default:throw new yi("Invalid key: '"+i[0]+"' in \\includegraphics.")}}}var g=es(t[0],"url").url;return h===""&&(h=g,h=h.replace(/^.*[\\/]/,""),h=h.substring(0,h.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:g})?{type:"includegraphics",mode:n.mode,alt:h,width:o,height:m,totalheight:u,src:g}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=xc(e.height,t),n=0;e.totalheight.number>0&&(n=xc(e.totalheight,t)-r);var o=0;e.width.number>0&&(o=xc(e.width,t));var m={height:Ci(r+n)};o>0&&(m.width=Ci(o)),n>0&&(m.verticalAlign=Ci(-n));var u=new ibt(e.src,e.alt,m);return u.height=r,u.depth=n,u},mathmlBuilder:(e,t)=>{var r=new li.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=xc(e.height,t),o=0;if(e.totalheight.number>0&&(o=xc(e.totalheight,t)-n,r.setAttribute("valign",Ci(-o))),r.setAttribute("height",Ci(n+o)),e.width.number>0){var m=xc(e.width,t);r.setAttribute("width",Ci(m))}return r.setAttribute("src",e.src),r}}),Fi({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,o=es(t[0],"size");if(r.settings.strict){var m=n[1]==="m",u=o.value.unit==="mu";m?(u||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+o.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):u&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:o.value}},htmlBuilder(e,t){return ma.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=xc(e.dimension,t);return new li.SpaceNode(r)}}),Fi({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:o}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=ma.makeSpan([],[zs(e.body,t)]),r=ma.makeSpan(["inner"],[r],t)):r=ma.makeSpan(["inner"],[zs(e.body,t)]);var n=ma.makeSpan(["fix"],[]),o=ma.makeSpan([e.alignment],[r,n],t),m=ma.makeSpan(["strut"]);return m.style.height=Ci(o.height+o.depth),o.depth&&(m.style.verticalAlign=Ci(-o.depth)),o.children.unshift(m),o=ma.makeSpan(["thinbox"],[o],t),ma.makeSpan(["mord","vbox"],[o],t)},mathmlBuilder:(e,t)=>{var r=new li.MathNode("mpadded",[vl(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),Fi({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,o=n.mode;n.switchMode("math");var m=r==="\\("?"\\)":"$",u=n.parseExpression(!1,m);return n.expect(m),n.switchMode(o),{type:"styling",mode:n.mode,style:"text",body:u}}}),Fi({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new yi("Mismatched "+e.funcName)}});var ULe=(e,t)=>{switch(t.style.size){case uo.DISPLAY.size:return e.display;case uo.TEXT.size:return e.text;case uo.SCRIPT.size:return e.script;case uo.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Fi({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:Qc(t[0]),text:Qc(t[1]),script:Qc(t[2]),scriptscript:Qc(t[3])}},htmlBuilder:(e,t)=>{var r=ULe(e,t),n=Ou(r,t,!1);return ma.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=ULe(e,t);return S2(r,t)}});var $Le=(e,t,r,n,o,m,u)=>{e=ma.makeSpan([],[e]);var h=r&&io.isCharacterBox(r),a,l;if(t){var v=zs(t,n.havingStyle(o.sup()),n);l={elem:v,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-v.depth)}}if(r){var i=zs(r,n.havingStyle(o.sub()),n);a={elem:i,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-i.height)}}var S;if(l&&a){var g=n.fontMetrics().bigOpSpacing5+a.elem.height+a.elem.depth+a.kern+e.depth+u;S=ma.makeVList({positionType:"bottom",positionData:g,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:a.elem,marginLeft:Ci(-m)},{type:"kern",size:a.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:Ci(m)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(a){var p=e.height-u;S=ma.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:a.elem,marginLeft:Ci(-m)},{type:"kern",size:a.kern},{type:"elem",elem:e}]},n)}else if(l){var _=e.depth+u;S=ma.makeVList({positionType:"bottom",positionData:_,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:Ci(m)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var c=[S];if(a&&m!==0&&!h){var s=ma.makeSpan(["mspace"],[],n);s.style.marginRight=Ci(m),c.unshift(s)}return ma.makeSpan(["mop","op-limits"],c,n)},HLe=["\\smallint"],IT=(e,t)=>{var r,n,o=!1,m;e.type==="supsub"?(r=e.sup,n=e.sub,m=es(e.base,"op"),o=!0):m=es(e,"op");var u=t.style,h=!1;u.size===uo.DISPLAY.size&&m.symbol&&!io.contains(HLe,m.name)&&(h=!0);var a;if(m.symbol){var l=h?"Size2-Regular":"Size1-Regular",v="";if((m.name==="\\oiint"||m.name==="\\oiiint")&&(v=m.name.slice(1),m.name=v==="oiint"?"\\iint":"\\iiint"),a=ma.makeSymbol(m.name,l,"math",t,["mop","op-symbol",h?"large-op":"small-op"]),v.length>0){var i=a.italic,S=ma.staticSvg(v+"Size"+(h?"2":"1"),t);a=ma.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:S,shift:h?.08:0}]},t),m.name="\\"+v,a.classes.unshift("mop"),a.italic=i}}else if(m.body){var g=Ou(m.body,t,!0);g.length===1&&g[0]instanceof H0?(a=g[0],a.classes[0]="mop"):a=ma.makeSpan(["mop"],g,t)}else{for(var p=[],_=1;_<m.name.length;_++)p.push(ma.mathsym(m.name[_],m.mode,t));a=ma.makeSpan(["mop"],p,t)}var c=0,s=0;return(a instanceof H0||m.name==="\\oiint"||m.name==="\\oiiint")&&!m.suppressBaseShift&&(c=(a.height-a.depth)/2-t.fontMetrics().axisHeight,s=a.italic),o?$Le(a,r,n,t,u,s,c):(c&&(a.style.position="relative",a.style.top=Ci(c)),a)},_k=(e,t)=>{var r;if(e.symbol)r=new Gp("mo",[V0(e.name,e.mode)]),io.contains(HLe,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new Gp("mo",Bh(e.body,t));else{r=new Gp("mi",[new Wv(e.name.slice(1))]);var n=new Gp("mo",[V0("","text")]);e.parentIsSupSub?r=new Gp("mrow",[r,n]):r=iLe([r,n])}return r},o3t={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","":"\\bigvee","⋂":"\\bigcap","":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Fi({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","","⋂","","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=n;return o.length===1&&(o=o3t[o]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:o}},htmlBuilder:IT,mathmlBuilder:_k}),Fi({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Qc(n)}},htmlBuilder:IT,mathmlBuilder:_k});var s3t={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Fi({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:IT,mathmlBuilder:_k}),Fi({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:IT,mathmlBuilder:_k}),Fi({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=s3t[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:IT,mathmlBuilder:_k});var VLe=(e,t)=>{var r,n,o=!1,m;e.type==="supsub"?(r=e.sup,n=e.sub,m=es(e.base,"operatorname"),o=!0):m=es(e,"operatorname");var u;if(m.body.length>0){for(var h=m.body.map(i=>{var S=i.text;return typeof S=="string"?{type:"textord",mode:i.mode,text:S}:i}),a=Ou(h,t.withFont("mathrm"),!0),l=0;l<a.length;l++){var v=a[l];v instanceof H0&&(v.text=v.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}u=ma.makeSpan(["mop"],a,t)}else u=ma.makeSpan(["mop"],[],t);return o?$Le(u,r,n,t,t.style,0,0):u},l3t=(e,t)=>{for(var r=Bh(e.body,t.withFont("mathrm")),n=!0,o=0;o<r.length;o++){var m=r[o];if(!(m instanceof li.SpaceNode))if(m instanceof li.MathNode)switch(m.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var u=m.children[0];m.children.length===1&&u instanceof li.TextNode?u.text=u.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var h=r.map(v=>v.toText()).join("");r=[new li.TextNode(h)]}var a=new li.MathNode("mi",r);a.setAttribute("mathvariant","normal");var l=new li.MathNode("mo",[V0("","text")]);return e.parentIsSupSub?new li.MathNode("mrow",[a,l]):li.newDocumentFragment([a,l])};Fi({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0];return{type:"operatorname",mode:r.mode,body:Qc(o),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:VLe,mathmlBuilder:l3t}),$r("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),wx({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?ma.makeFragment(Ou(e.body,t,!1)):ma.makeSpan(["mord"],Ou(e.body,t,!0),t)},mathmlBuilder(e,t){return S2(e.body,t,!0)}}),Fi({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=zs(e.body,t.havingCrampedStyle()),n=ma.makeLineSpan("overline-line",t),o=t.fontMetrics().defaultRuleThickness,m=ma.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n},{type:"kern",size:o}]},t);return ma.makeSpan(["mord","overline"],[m],t)},mathmlBuilder(e,t){var r=new li.MathNode("mo",[new li.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new li.MathNode("mover",[vl(e.body,t),r]);return n.setAttribute("accent","true"),n}}),Fi({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:Qc(n)}},htmlBuilder:(e,t)=>{var r=Ou(e.body,t.withPhantom(),!1);return ma.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=Bh(e.body,t);return new li.MathNode("mphantom",r)}}),Fi({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=ma.makeSpan([],[zs(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=ma.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),ma.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=Bh(Qc(e.body),t),n=new li.MathNode("mphantom",r),o=new li.MathNode("mpadded",[n]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}}),Fi({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=ma.makeSpan(["inner"],[zs(e.body,t.withPhantom())]),n=ma.makeSpan(["fix"],[]);return ma.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=Bh(Qc(e.body),t),n=new li.MathNode("mphantom",r),o=new li.MathNode("mpadded",[n]);return o.setAttribute("width","0px"),o}}),Fi({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=es(t[0],"size").value,o=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:o}},htmlBuilder(e,t){var r=zs(e.body,t),n=xc(e.dy,t);return ma.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new li.MathNode("mpadded",[vl(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),Fi({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),Fi({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,o=r[0],m=es(t[0],"size"),u=es(t[1],"size");return{type:"rule",mode:n.mode,shift:o&&es(o,"size").value,width:m.value,height:u.value}},htmlBuilder(e,t){var r=ma.makeSpan(["mord","rule"],[],t),n=xc(e.width,t),o=xc(e.height,t),m=e.shift?xc(e.shift,t):0;return r.style.borderRightWidth=Ci(n),r.style.borderTopWidth=Ci(o),r.style.bottom=Ci(m),r.width=n,r.height=o+m,r.depth=-m,r.maxFontSize=o*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=xc(e.width,t),n=xc(e.height,t),o=e.shift?xc(e.shift,t):0,m=t.color&&t.getColor()||"black",u=new li.MathNode("mspace");u.setAttribute("mathbackground",m),u.setAttribute("width",Ci(r)),u.setAttribute("height",Ci(n));var h=new li.MathNode("mpadded",[u]);return o>=0?h.setAttribute("height",Ci(o)):(h.setAttribute("height",Ci(o)),h.setAttribute("depth",Ci(-o))),h.setAttribute("voffset",Ci(o)),h}});function GLe(e,t,r){for(var n=Ou(e,t,!1),o=t.sizeMultiplier/r.sizeMultiplier,m=0;m<n.length;m++){var u=n[m].classes.indexOf("sizing");u<0?Array.prototype.push.apply(n[m].classes,t.sizingClasses(r)):n[m].classes[u+1]==="reset-size"+t.size&&(n[m].classes[u+1]="reset-size"+r.size),n[m].height*=o,n[m].depth*=o}return ma.makeFragment(n)}var jLe=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],c3t=(e,t)=>{var r=t.havingSize(e.size);return GLe(e.body,r,t)};Fi({type:"sizing",names:jLe,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:o}=e,m=o.parseExpression(!1,r);return{type:"sizing",mode:o.mode,size:jLe.indexOf(n)+1,body:m}},htmlBuilder:c3t,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=Bh(e.body,r),o=new li.MathNode("mstyle",n);return o.setAttribute("mathsize",Ci(r.sizeMultiplier)),o}}),Fi({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,o=!1,m=!1,u=r[0]&&es(r[0],"ordgroup");if(u)for(var h="",a=0;a<u.body.length;++a){var l=u.body[a];if(h=l.text,h==="t")o=!0;else if(h==="b")m=!0;else{o=!1,m=!1;break}}else o=!0,m=!0;var v=t[0];return{type:"smash",mode:n.mode,body:v,smashHeight:o,smashDepth:m}},htmlBuilder:(e,t)=>{var r=ma.makeSpan([],[zs(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var o=0;o<r.children.length;o++)r.children[o].depth=0;var m=ma.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return ma.makeSpan(["mord"],[m],t)},mathmlBuilder:(e,t)=>{var r=new li.MathNode("mpadded",[vl(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),Fi({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,o=r[0],m=t[0];return{type:"sqrt",mode:n.mode,body:m,index:o}},htmlBuilder(e,t){var r=zs(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=ma.wrapFragment(r,t);var n=t.fontMetrics(),o=n.defaultRuleThickness,m=o;t.style.id<uo.TEXT.id&&(m=t.fontMetrics().xHeight);var u=o+m/4,h=r.height+r.depth+u+o,{span:a,ruleWidth:l,advanceWidth:v}=Mg.sqrtImage(h,t),i=a.height-l;i>r.height+r.depth+u&&(u=(u+i-r.height-r.depth)/2);var S=a.height-r.height-u-l;r.style.paddingLeft=Ci(v);var g=ma.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+S)},{type:"elem",elem:a},{type:"kern",size:l}]},t);if(e.index){var p=t.havingStyle(uo.SCRIPTSCRIPT),_=zs(e.index,p,t),c=.6*(g.height-g.depth),s=ma.makeVList({positionType:"shift",positionData:-c,children:[{type:"elem",elem:_}]},t),d=ma.makeSpan(["root"],[s]);return ma.makeSpan(["mord","sqrt"],[d,g],t)}else return ma.makeSpan(["mord","sqrt"],[g],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new li.MathNode("mroot",[vl(r,t),vl(n,t)]):new li.MathNode("msqrt",[vl(r,t)])}});var YLe={display:uo.DISPLAY,text:uo.TEXT,script:uo.SCRIPT,scriptscript:uo.SCRIPTSCRIPT};Fi({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:o}=e,m=o.parseExpression(!0,r),u=n.slice(1,n.length-5);return{type:"styling",mode:o.mode,style:u,body:m}},htmlBuilder(e,t){var r=YLe[e.style],n=t.havingStyle(r).withFont("");return GLe(e.body,n,t)},mathmlBuilder(e,t){var r=YLe[e.style],n=t.havingStyle(r),o=Bh(e.body,n),m=new li.MathNode("mstyle",o),u={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},h=u[e.style];return m.setAttribute("scriptlevel",h[0]),m.setAttribute("displaystyle",h[1]),m}});var u3t=function(t,r){var n=t.base;if(n)if(n.type==="op"){var o=n.limits&&(r.style.size===uo.DISPLAY.size||n.alwaysHandleSupSub);return o?IT:null}else if(n.type==="operatorname"){var m=n.alwaysHandleSupSub&&(r.style.size===uo.DISPLAY.size||n.limits);return m?VLe:null}else{if(n.type==="accent")return io.isCharacterBox(n.base)?f1e:null;if(n.type==="horizBrace"){var u=!t.sub;return u===n.isOver?zLe:null}else return null}else return null};wx({type:"supsub",htmlBuilder(e,t){var r=u3t(e,t);if(r)return r(e,t);var{base:n,sup:o,sub:m}=e,u=zs(n,t),h,a,l=t.fontMetrics(),v=0,i=0,S=n&&io.isCharacterBox(n);if(o){var g=t.havingStyle(t.style.sup());h=zs(o,g,t),S||(v=u.height-g.fontMetrics().supDrop*g.sizeMultiplier/t.sizeMultiplier)}if(m){var p=t.havingStyle(t.style.sub());a=zs(m,p,t),S||(i=u.depth+p.fontMetrics().subDrop*p.sizeMultiplier/t.sizeMultiplier)}var _;t.style===uo.DISPLAY?_=l.sup1:t.style.cramped?_=l.sup3:_=l.sup2;var c=t.sizeMultiplier,s=Ci(.5/l.ptPerEm/c),d=null;if(a){var f=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(u instanceof H0||f)&&(d=Ci(-u.italic))}var b;if(h&&a){v=Math.max(v,_,h.depth+.25*l.xHeight),i=Math.max(i,l.sub2);var x=l.defaultRuleThickness,y=4*x;if(v-h.depth-(a.height-i)<y){i=y-(v-h.depth)+a.height;var C=.8*l.xHeight-(v-h.depth);C>0&&(v+=C,i-=C)}var w=[{type:"elem",elem:a,shift:i,marginRight:s,marginLeft:d},{type:"elem",elem:h,shift:-v,marginRight:s}];b=ma.makeVList({positionType:"individualShift",children:w},t)}else if(a){i=Math.max(i,l.sub1,a.height-.8*l.xHeight);var R=[{type:"elem",elem:a,marginLeft:d,marginRight:s}];b=ma.makeVList({positionType:"shift",positionData:i,children:R},t)}else if(h)v=Math.max(v,_,h.depth+.25*l.xHeight),b=ma.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:h,marginRight:s}]},t);else throw new Error("supsub must have either sup or sub.");var A=o1e(u,"right")||"mord";return ma.makeSpan([A],[u,ma.makeSpan(["msupsub"],[b])],t)},mathmlBuilder(e,t){var r=!1,n,o;e.base&&e.base.type==="horizBrace"&&(o=!!e.sup,o===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var m=[vl(e.base,t)];e.sub&&m.push(vl(e.sub,t)),e.sup&&m.push(vl(e.sup,t));var u;if(r)u=n?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;l&&l.type==="op"&&l.limits&&t.style===uo.DISPLAY||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(t.style===uo.DISPLAY||l.limits)?u="munderover":u="msubsup"}else{var a=e.base;a&&a.type==="op"&&a.limits&&(t.style===uo.DISPLAY||a.alwaysHandleSupSub)||a&&a.type==="operatorname"&&a.alwaysHandleSupSub&&(a.limits||t.style===uo.DISPLAY)?u="munder":u="msub"}else{var h=e.base;h&&h.type==="op"&&h.limits&&(t.style===uo.DISPLAY||h.alwaysHandleSupSub)||h&&h.type==="operatorname"&&h.alwaysHandleSupSub&&(h.limits||t.style===uo.DISPLAY)?u="mover":u="msup"}return new li.MathNode(u,m)}}),wx({type:"atom",htmlBuilder(e,t){return ma.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new li.MathNode("mo",[V0(e.text,e.mode)]);if(e.family==="bin"){var n=c1e(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var WLe={mi:"italic",mn:"normal",mtext:"normal"};wx({type:"mathord",htmlBuilder(e,t){return ma.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new li.MathNode("mi",[V0(e.text,e.mode,t)]),n=c1e(e,t)||"italic";return n!==WLe[r.type]&&r.setAttribute("mathvariant",n),r}}),wx({type:"textord",htmlBuilder(e,t){return ma.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=V0(e.text,e.mode,t),n=c1e(e,t)||"normal",o;return e.mode==="text"?o=new li.MathNode("mtext",[r]):/[0-9]/.test(e.text)?o=new li.MathNode("mn",[r]):e.text==="\\prime"?o=new li.MathNode("mo",[r]):o=new li.MathNode("mi",[r]),n!==WLe[o.type]&&o.setAttribute("mathvariant",n),o}});var k1e={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},M1e={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};wx({type:"spacing",htmlBuilder(e,t){if(M1e.hasOwnProperty(e.text)){var r=M1e[e.text].className||"";if(e.mode==="text"){var n=ma.makeOrd(e,t,"textord");return n.classes.push(r),n}else return ma.makeSpan(["mspace",r],[ma.mathsym(e.text,e.mode,t)],t)}else{if(k1e.hasOwnProperty(e.text))return ma.makeSpan(["mspace",k1e[e.text]],[],t);throw new yi('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(M1e.hasOwnProperty(e.text))r=new li.MathNode("mtext",[new li.TextNode(" ")]);else{if(k1e.hasOwnProperty(e.text))return new li.MathNode("mspace");throw new yi('Unknown type of space "'+e.text+'"')}return r}});var KLe=()=>{var e=new li.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};wx({type:"tag",mathmlBuilder(e,t){var r=new li.MathNode("mtable",[new li.MathNode("mtr",[KLe(),new li.MathNode("mtd",[S2(e.body,t)]),KLe(),new li.MathNode("mtd",[S2(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var XLe={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},qLe={"\\textbf":"textbf","\\textmd":"textmd"},d3t={"\\textit":"textit","\\textup":"textup"},ZLe=(e,t)=>{var r=e.font;if(r){if(XLe[r])return t.withTextFontFamily(XLe[r]);if(qLe[r])return t.withTextFontWeight(qLe[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(d3t[r])};Fi({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,o=t[0];return{type:"text",mode:r.mode,body:Qc(o),font:n}},htmlBuilder(e,t){var r=ZLe(e,t),n=Ou(e.body,r,!0);return ma.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=ZLe(e,t);return S2(e.body,r)}}),Fi({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=zs(e.body,t),n=ma.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,m=ma.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:o},{type:"elem",elem:n},{type:"kern",size:3*o},{type:"elem",elem:r}]},t);return ma.makeSpan(["mord","underline"],[m],t)},mathmlBuilder(e,t){var r=new li.MathNode("mo",[new li.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new li.MathNode("munder",[vl(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),Fi({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=zs(e.body,t),n=t.fontMetrics().axisHeight,o=.5*(r.height-n-(r.depth+n));return ma.makeVList({positionType:"shift",positionData:o,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new li.MathNode("mpadded",[vl(e.body,t)],["vcenter"])}}),Fi({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new yi("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=QLe(e),n=[],o=t.havingStyle(t.style.text()),m=0;m<r.length;m++){var u=r[m];u==="~"&&(u="\\textasciitilde"),n.push(ma.makeSymbol(u,"Typewriter-Regular",e.mode,o,["mord","texttt"]))}return ma.makeSpan(["mord","text"].concat(o.sizingClasses(t)),ma.tryCombineChars(n),o)},mathmlBuilder(e,t){var r=new li.TextNode(QLe(e)),n=new li.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var QLe=e=>e.body.replace(/ /g,e.star?"␣":" "),T2=rLe,JLe=`[ \r
]`,f3t="\\\\[a-zA-Z@]+",h3t="\\\\[^\uD800-\uDFFF]",p3t="("+f3t+")"+JLe+"*",v3t=`\\\\(
|[ \r ]+
?)[ \r ]*`,R1e="[̀-ͯ]",m3t=new RegExp(R1e+"+$"),g3t="("+JLe+"+)|"+(v3t+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(R1e+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(R1e+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+p3t)+("|"+h3t+")");class e9e{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(g3t,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new Gv("EOF",new Hp(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new yi("Unexpected character: '"+t[r]+"'",new Gv(t[r],new Hp(this,r,r+1)));var o=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[o]===14){var m=t.indexOf(`
`,this.tokenRegex.lastIndex);return m===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=m+1,this.lex()}return new Gv(o,new Hp(this,r,this.tokenRegex.lastIndex))}}class y3t{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new yi("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var o=0;o<this.undefStack.length;o++)delete this.undefStack[o][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var m=this.undefStack[this.undefStack.length-1];m&&!m.hasOwnProperty(t)&&(m[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var _3t=MLe;$r("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),$r("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),$r("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}}),$r("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}}),$r("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),$r("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),$r("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var t9e={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};$r("\\char",function(e){var t=e.popToken(),r,n="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new yi("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=t9e[t.text],n==null||n>=r)throw new yi("Invalid base-"+r+" digit "+t.text);for(var o;(o=t9e[e.future().text])!=null&&o<r;)n*=r,n+=o,e.popToken()}return"\\@char{"+n+"}"});var N1e=(e,t,r,n)=>{var o=e.consumeArg().tokens;if(o.length!==1)throw new yi("\\newcommand's first argument must be a macro name");var m=o[0].text,u=e.isDefined(m);if(u&&!t)throw new yi("\\newcommand{"+m+"} attempting to redefine "+(m+"; use \\renewcommand"));if(!u&&!r)throw new yi("\\renewcommand{"+m+"} when command "+m+" does not yet exist; use \\newcommand");var h=0;if(o=e.consumeArg().tokens,o.length===1&&o[0].text==="["){for(var a="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)a+=l.text,l=e.expandNextToken();if(!a.match(/^\s*[0-9]+\s*$/))throw new yi("Invalid number of arguments: "+a);h=parseInt(a),o=e.consumeArg().tokens}return u&&n||e.macros.set(m,{tokens:o,numArgs:h}),""};$r("\\newcommand",e=>N1e(e,!1,!0,!1)),$r("\\renewcommand",e=>N1e(e,!0,!1,!1)),$r("\\providecommand",e=>N1e(e,!0,!0,!0)),$r("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""}),$r("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""}),$r("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),T2[r],Al.math[r],Al.text[r]),""}),$r("\\bgroup","{"),$r("\\egroup","}"),$r("~","\\nobreakspace"),$r("\\lq","`"),$r("\\rq","'"),$r("\\aa","\\r a"),$r("\\AA","\\r A"),$r("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),$r("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),$r("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),$r("","\\mathscr{B}"),$r("","\\mathscr{E}"),$r("","\\mathscr{F}"),$r("","\\mathscr{H}"),$r("","\\mathscr{I}"),$r("","\\mathscr{L}"),$r("","\\mathscr{M}"),$r("","\\mathscr{R}"),$r("","\\mathfrak{C}"),$r("","\\mathfrak{H}"),$r("","\\mathfrak{Z}"),$r("\\Bbbk","\\Bbb{k}"),$r("·","\\cdotp"),$r("\\llap","\\mathllap{\\textrm{#1}}"),$r("\\rlap","\\mathrlap{\\textrm{#1}}"),$r("\\clap","\\mathclap{\\textrm{#1}}"),$r("\\mathstrut","\\vphantom{(}"),$r("\\underbar","\\underline{\\text{#1}}"),$r("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),$r("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),$r("\\ne","\\neq"),$r("≠","\\neq"),$r("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),$r("∉","\\notin"),$r("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),$r("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),$r("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),$r("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),$r("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),$r("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),$r("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),$r("⟂","\\perp"),$r("‼","\\mathclose{!\\mkern-0.8mu!}"),$r("∌","\\notni"),$r("⌜","\\ulcorner"),$r("⌝","\\urcorner"),$r("⌞","\\llcorner"),$r("⌟","\\lrcorner"),$r("©","\\copyright"),$r("®","\\textregistered"),$r("","\\textregistered"),$r("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),$r("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),$r("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),$r("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),$r("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),$r("⋮","\\vdots"),$r("\\varGamma","\\mathit{\\Gamma}"),$r("\\varDelta","\\mathit{\\Delta}"),$r("\\varTheta","\\mathit{\\Theta}"),$r("\\varLambda","\\mathit{\\Lambda}"),$r("\\varXi","\\mathit{\\Xi}"),$r("\\varPi","\\mathit{\\Pi}"),$r("\\varSigma","\\mathit{\\Sigma}"),$r("\\varUpsilon","\\mathit{\\Upsilon}"),$r("\\varPhi","\\mathit{\\Phi}"),$r("\\varPsi","\\mathit{\\Psi}"),$r("\\varOmega","\\mathit{\\Omega}"),$r("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),$r("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),$r("\\boxed","\\fbox{$\\displaystyle{#1}$}"),$r("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),$r("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),$r("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),$r("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),$r("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var r9e={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};$r("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in r9e?t=r9e[r]:(r.slice(0,4)==="\\not"||r in Al.math&&io.contains(["bin","rel"],Al.math[r].group))&&(t="\\dotsb"),t});var I1e={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};$r("\\dotso",function(e){var t=e.future().text;return t in I1e?"\\ldots\\,":"\\ldots"}),$r("\\dotsc",function(e){var t=e.future().text;return t in I1e&&t!==","?"\\ldots\\,":"\\ldots"}),$r("\\cdots",function(e){var t=e.future().text;return t in I1e?"\\@cdots\\,":"\\@cdots"}),$r("\\dotsb","\\cdots"),$r("\\dotsm","\\cdots"),$r("\\dotsi","\\!\\cdots"),$r("\\dotsx","\\ldots\\,"),$r("\\DOTSI","\\relax"),$r("\\DOTSB","\\relax"),$r("\\DOTSX","\\relax"),$r("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),$r("\\,","\\tmspace+{3mu}{.1667em}"),$r("\\thinspace","\\,"),$r("\\>","\\mskip{4mu}"),$r("\\:","\\tmspace+{4mu}{.2222em}"),$r("\\medspace","\\:"),$r("\\;","\\tmspace+{5mu}{.2777em}"),$r("\\thickspace","\\;"),$r("\\!","\\tmspace-{3mu}{.1667em}"),$r("\\negthinspace","\\!"),$r("\\negmedspace","\\tmspace-{4mu}{.2222em}"),$r("\\negthickspace","\\tmspace-{5mu}{.277em}"),$r("\\enspace","\\kern.5em "),$r("\\enskip","\\hskip.5em\\relax"),$r("\\quad","\\hskip1em\\relax"),$r("\\qquad","\\hskip2em\\relax"),$r("\\tag","\\@ifstar\\tag@literal\\tag@paren"),$r("\\tag@paren","\\tag@literal{({#1})}"),$r("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new yi("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),$r("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),$r("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),$r("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),$r("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),$r("\\newline","\\\\\\relax"),$r("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var n9e=Ci(Yv["Main-Regular"][84][1]-.7*Yv["Main-Regular"][65][1]);$r("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+n9e+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),$r("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+n9e+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),$r("\\hspace","\\@ifstar\\@hspacer\\@hspace"),$r("\\@hspace","\\hskip #1\\relax"),$r("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),$r("\\ordinarycolon",":"),$r("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),$r("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),$r("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),$r("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),$r("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),$r("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),$r("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),$r("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),$r("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),$r("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),$r("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),$r("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),$r("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),$r("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),$r("∷","\\dblcolon"),$r("∹","\\eqcolon"),$r("≔","\\coloneqq"),$r("≕","\\eqqcolon"),$r("⩴","\\Coloneqq"),$r("\\ratio","\\vcentcolon"),$r("\\coloncolon","\\dblcolon"),$r("\\colonequals","\\coloneqq"),$r("\\coloncolonequals","\\Coloneqq"),$r("\\equalscolon","\\eqqcolon"),$r("\\equalscoloncolon","\\Eqqcolon"),$r("\\colonminus","\\coloneq"),$r("\\coloncolonminus","\\Coloneq"),$r("\\minuscolon","\\eqcolon"),$r("\\minuscoloncolon","\\Eqcolon"),$r("\\coloncolonapprox","\\Colonapprox"),$r("\\coloncolonsim","\\Colonsim"),$r("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),$r("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),$r("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),$r("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),$r("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),$r("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),$r("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),$r("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),$r("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),$r("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),$r("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),$r("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),$r("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),$r("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),$r("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),$r("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),$r("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),$r("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),$r("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),$r("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),$r("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),$r("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),$r("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),$r("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),$r("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),$r("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),$r("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),$r("\\imath","\\html@mathml{\\@imath}{ı}"),$r("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),$r("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),$r("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),$r("⟦","\\llbracket"),$r("⟧","\\rrbracket"),$r("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),$r("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),$r("⦃","\\lBrace"),$r("⦄","\\rBrace"),$r("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),$r("⦵","\\minuso"),$r("\\darr","\\downarrow"),$r("\\dArr","\\Downarrow"),$r("\\Darr","\\Downarrow"),$r("\\lang","\\langle"),$r("\\rang","\\rangle"),$r("\\uarr","\\uparrow"),$r("\\uArr","\\Uparrow"),$r("\\Uarr","\\Uparrow"),$r("\\N","\\mathbb{N}"),$r("\\R","\\mathbb{R}"),$r("\\Z","\\mathbb{Z}"),$r("\\alef","\\aleph"),$r("\\alefsym","\\aleph"),$r("\\Alpha","\\mathrm{A}"),$r("\\Beta","\\mathrm{B}"),$r("\\bull","\\bullet"),$r("\\Chi","\\mathrm{X}"),$r("\\clubs","\\clubsuit"),$r("\\cnums","\\mathbb{C}"),$r("\\Complex","\\mathbb{C}"),$r("\\Dagger","\\ddagger"),$r("\\diamonds","\\diamondsuit"),$r("\\empty","\\emptyset"),$r("\\Epsilon","\\mathrm{E}"),$r("\\Eta","\\mathrm{H}"),$r("\\exist","\\exists"),$r("\\harr","\\leftrightarrow"),$r("\\hArr","\\Leftrightarrow"),$r("\\Harr","\\Leftrightarrow"),$r("\\hearts","\\heartsuit"),$r("\\image","\\Im"),$r("\\infin","\\infty"),$r("\\Iota","\\mathrm{I}"),$r("\\isin","\\in"),$r("\\Kappa","\\mathrm{K}"),$r("\\larr","\\leftarrow"),$r("\\lArr","\\Leftarrow"),$r("\\Larr","\\Leftarrow"),$r("\\lrarr","\\leftrightarrow"),$r("\\lrArr","\\Leftrightarrow"),$r("\\Lrarr","\\Leftrightarrow"),$r("\\Mu","\\mathrm{M}"),$r("\\natnums","\\mathbb{N}"),$r("\\Nu","\\mathrm{N}"),$r("\\Omicron","\\mathrm{O}"),$r("\\plusmn","\\pm"),$r("\\rarr","\\rightarrow"),$r("\\rArr","\\Rightarrow"),$r("\\Rarr","\\Rightarrow"),$r("\\real","\\Re"),$r("\\reals","\\mathbb{R}"),$r("\\Reals","\\mathbb{R}"),$r("\\Rho","\\mathrm{P}"),$r("\\sdot","\\cdot"),$r("\\sect","\\S"),$r("\\spades","\\spadesuit"),$r("\\sub","\\subset"),$r("\\sube","\\subseteq"),$r("\\supe","\\supseteq"),$r("\\Tau","\\mathrm{T}"),$r("\\thetasym","\\vartheta"),$r("\\weierp","\\wp"),$r("\\Zeta","\\mathrm{Z}"),$r("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),$r("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),$r("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),$r("\\bra","\\mathinner{\\langle{#1}|}"),$r("\\ket","\\mathinner{|{#1}\\rangle}"),$r("\\braket","\\mathinner{\\langle{#1}\\rangle}"),$r("\\Bra","\\left\\langle#1\\right|"),$r("\\Ket","\\left|#1\\right\\rangle");var a9e=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,o=t.consumeArg().tokens,m=t.consumeArg().tokens,u=t.macros.get("|"),h=t.macros.get("\\|");t.macros.beginGroup();var a=i=>S=>{e&&(S.macros.set("|",u),o.length&&S.macros.set("\\|",h));var g=i;if(!i&&o.length){var p=S.future();p.text==="|"&&(S.popToken(),g=!0)}return{tokens:g?o:n,numArgs:0}};t.macros.set("|",a(!1)),o.length&&t.macros.set("\\|",a(!0));var l=t.consumeArg().tokens,v=t.expandTokens([...m,...l,...r]);return t.macros.endGroup(),{tokens:v.reverse(),numArgs:0}};$r("\\bra@ket",a9e(!1)),$r("\\bra@set",a9e(!0)),$r("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),$r("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),$r("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),$r("\\angln","{\\angl n}"),$r("\\blue","\\textcolor{##6495ed}{#1}"),$r("\\orange","\\textcolor{##ffa500}{#1}"),$r("\\pink","\\textcolor{##ff00af}{#1}"),$r("\\red","\\textcolor{##df0030}{#1}"),$r("\\green","\\textcolor{##28ae7b}{#1}"),$r("\\gray","\\textcolor{gray}{#1}"),$r("\\purple","\\textcolor{##9d38bd}{#1}"),$r("\\blueA","\\textcolor{##ccfaff}{#1}"),$r("\\blueB","\\textcolor{##80f6ff}{#1}"),$r("\\blueC","\\textcolor{##63d9ea}{#1}"),$r("\\blueD","\\textcolor{##11accd}{#1}"),$r("\\blueE","\\textcolor{##0c7f99}{#1}"),$r("\\tealA","\\textcolor{##94fff5}{#1}"),$r("\\tealB","\\textcolor{##26edd5}{#1}"),$r("\\tealC","\\textcolor{##01d1c1}{#1}"),$r("\\tealD","\\textcolor{##01a995}{#1}"),$r("\\tealE","\\textcolor{##208170}{#1}"),$r("\\greenA","\\textcolor{##b6ffb0}{#1}"),$r("\\greenB","\\textcolor{##8af281}{#1}"),$r("\\greenC","\\textcolor{##74cf70}{#1}"),$r("\\greenD","\\textcolor{##1fab54}{#1}"),$r("\\greenE","\\textcolor{##0d923f}{#1}"),$r("\\goldA","\\textcolor{##ffd0a9}{#1}"),$r("\\goldB","\\textcolor{##ffbb71}{#1}"),$r("\\goldC","\\textcolor{##ff9c39}{#1}"),$r("\\goldD","\\textcolor{##e07d10}{#1}"),$r("\\goldE","\\textcolor{##a75a05}{#1}"),$r("\\redA","\\textcolor{##fca9a9}{#1}"),$r("\\redB","\\textcolor{##ff8482}{#1}"),$r("\\redC","\\textcolor{##f9685d}{#1}"),$r("\\redD","\\textcolor{##e84d39}{#1}"),$r("\\redE","\\textcolor{##bc2612}{#1}"),$r("\\maroonA","\\textcolor{##ffbde0}{#1}"),$r("\\maroonB","\\textcolor{##ff92c6}{#1}"),$r("\\maroonC","\\textcolor{##ed5fa6}{#1}"),$r("\\maroonD","\\textcolor{##ca337c}{#1}"),$r("\\maroonE","\\textcolor{##9e034e}{#1}"),$r("\\purpleA","\\textcolor{##ddd7ff}{#1}"),$r("\\purpleB","\\textcolor{##c6b9fc}{#1}"),$r("\\purpleC","\\textcolor{##aa87ff}{#1}"),$r("\\purpleD","\\textcolor{##7854ab}{#1}"),$r("\\purpleE","\\textcolor{##543b78}{#1}"),$r("\\mintA","\\textcolor{##f5f9e8}{#1}"),$r("\\mintB","\\textcolor{##edf2df}{#1}"),$r("\\mintC","\\textcolor{##e0e5cc}{#1}"),$r("\\grayA","\\textcolor{##f6f7f7}{#1}"),$r("\\grayB","\\textcolor{##f0f1f2}{#1}"),$r("\\grayC","\\textcolor{##e3e5e6}{#1}"),$r("\\grayD","\\textcolor{##d6d8da}{#1}"),$r("\\grayE","\\textcolor{##babec2}{#1}"),$r("\\grayF","\\textcolor{##888d93}{#1}"),$r("\\grayG","\\textcolor{##626569}{#1}"),$r("\\grayH","\\textcolor{##3b3e40}{#1}"),$r("\\grayI","\\textcolor{##21242c}{#1}"),$r("\\kaBlue","\\textcolor{##314453}{#1}"),$r("\\kaGreen","\\textcolor{##71B307}{#1}");var i9e={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class x3t{constructor(t,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new y3t(_3t,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new e9e(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,o;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:o,end:n}=this.consumeArg(["]"])}else({tokens:o,start:r,end:n}=this.consumeArg());return this.pushToken(new Gv("EOF",n.loc)),this.pushTokens(o),r.range(n,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var o=this.future(),m,u=0,h=0;do{if(m=this.popToken(),r.push(m),m.text==="{")++u;else if(m.text==="}"){if(--u,u===-1)throw new yi("Extra }",m)}else if(m.text==="EOF")throw new yi("Unexpected end of input in a macro argument, expected '"+(t&&n?t[h]:"}")+"'",m);if(t&&n)if((u===0||u===1&&t[h]==="{")&&m.text===t[h]){if(++h,h===t.length){r.splice(-h,h);break}}else h=0}while(u!==0||n);return o.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:o,end:m}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new yi("The length of delimiters doesn't match the number of args!");for(var n=r[0],o=0;o<n.length;o++){var m=this.popToken();if(n[o]!==m.text)throw new yi("Use of the macro doesn't match its definition",m)}}for(var u=[],h=0;h<t;h++)u.push(this.consumeArg(r&&r[h+1]).tokens);return u}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new yi("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,o=r.noexpand?null:this._getExpansion(n);if(o==null||t&&o.unexpandable){if(t&&o==null&&n[0]==="\\"&&!this.isDefined(n))throw new yi("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var m=o.tokens,u=this.consumeArgs(o.numArgs,o.delimiters);if(o.numArgs){m=m.slice();for(var h=m.length-1;h>=0;--h){var a=m[h];if(a.text==="#"){if(h===0)throw new yi("Incomplete placeholder at end of macro body",a);if(a=m[--h],a.text==="#")m.splice(h+1,1);else if(/^[1-9]$/.test(a.text))m.splice(h,2,...u[+a.text-1]);else throw new yi("Not a valid argument number",a)}}}return this.pushTokens(m),m.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new Gv(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var o=this.stack.pop();o.treatAsRelax&&(o.noexpand=!1,o.treatAsRelax=!1),r.push(o)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];if(n!=null&&n!==13)return}var o=typeof r=="function"?r(this):r;if(typeof o=="string"){var m=0;if(o.indexOf("#")!==-1)for(var u=o.replace(/##/g,"");u.indexOf("#"+(m+1))!==-1;)++m;for(var h=new e9e(o,this.settings),a=[],l=h.lex();l.text!=="EOF";)a.push(l),l=h.lex();a.reverse();var v={tokens:a,numArgs:m};return v}return o}isDefined(t){return this.macros.has(t)||T2.hasOwnProperty(t)||Al.math.hasOwnProperty(t)||Al.text.hasOwnProperty(t)||i9e.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:T2.hasOwnProperty(t)&&!T2[t].primitive}}var o9e=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,f9=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),L1e={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},s9e={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let l9e=class net{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new x3t(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new yi("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new Gv("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var o=this.fetch();if(net.endOfExpression.indexOf(o.text)!==-1||r&&o.text===r||t&&T2[o.text]&&T2[o.text].infix)break;var m=this.parseAtom(r);if(m){if(m.type==="internal")continue}else break;n.push(m)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,o=0;o<t.length;o++)if(t[o].type==="infix"){if(r!==-1)throw new yi("only one infix operator per group",t[o].token);r=o,n=t[o].replaceWith}if(r!==-1&&n){var m,u,h=t.slice(0,r),a=t.slice(r+1);h.length===1&&h[0].type==="ordgroup"?m=h[0]:m={type:"ordgroup",mode:this.mode,body:h},a.length===1&&a[0].type==="ordgroup"?u=a[0]:u={type:"ordgroup",mode:this.mode,body:a};var l;return n==="\\\\abovefrac"?l=this.callFunction(n,[m,t[r],u],[]):l=this.callFunction(n,[m,u],[]),[l]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var o;do{var m;o=this.parseGroup(t)}while(((m=o)==null?void 0:m.type)==="internal");if(!o)throw new yi("Expected group after '"+n+"'",r);return o}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var o={type:"text",mode:this.mode,body:r},m={type:"color",mode:this.mode,color:this.settings.errorColor,body:[o]};return m}parseAtom(t){var r=this.parseGroup("atom",t);if((r==null?void 0:r.type)==="internal"||this.mode==="text")return r;for(var n,o;;){this.consumeSpaces();var m=this.fetch();if(m.text==="\\limits"||m.text==="\\nolimits"){if(r&&r.type==="op"){var u=m.text==="\\limits";r.limits=u,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=m.text==="\\limits");else throw new yi("Limit controls must follow a math operator",m);this.consume()}else if(m.text==="^"){if(n)throw new yi("Double superscript",m);n=this.handleSupSubscript("superscript")}else if(m.text==="_"){if(o)throw new yi("Double subscript",m);o=this.handleSupSubscript("subscript")}else if(m.text==="'"){if(n)throw new yi("Double superscript",m);var h={type:"textord",mode:this.mode,text:"\\prime"},a=[h];for(this.consume();this.fetch().text==="'";)a.push(h),this.consume();this.fetch().text==="^"&&a.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:a}}else if(f9[m.text]){var l=o9e.test(m.text),v=[];for(v.push(new Gv(f9[m.text])),this.consume();;){var i=this.fetch().text;if(!f9[i]||o9e.test(i)!==l)break;v.unshift(new Gv(f9[i])),this.consume()}var S=this.subparse(v);l?o={type:"ordgroup",mode:"math",body:S}:n={type:"ordgroup",mode:"math",body:S}}else break}return n||o?{type:"supsub",mode:this.mode,base:r,sup:n,sub:o}:r}parseFunction(t,r){var n=this.fetch(),o=n.text,m=T2[o];if(!m)return null;if(this.consume(),r&&r!=="atom"&&!m.allowedInArgument)throw new yi("Got function '"+o+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!m.allowedInText)throw new yi("Can't use function '"+o+"' in text mode",n);if(this.mode==="math"&&m.allowedInMath===!1)throw new yi("Can't use function '"+o+"' in math mode",n);var{args:u,optArgs:h}=this.parseArguments(o,m);return this.callFunction(o,u,h,n,t)}callFunction(t,r,n,o,m){var u={funcName:t,parser:this,token:o,breakOnTokenText:m},h=T2[t];if(h&&h.handler)return h.handler(u,r,n);throw new yi("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var o=[],m=[],u=0;u<n;u++){var h=r.argTypes&&r.argTypes[u],a=u<r.numOptionalArgs;(r.primitive&&h==null||r.type==="sqrt"&&u===1&&m[0]==null)&&(h="primitive");var l=this.parseGroupOfType("argument to '"+t+"'",h,a);if(a)m.push(l);else if(l!=null)o.push(l);else throw new yi("Null argument, please report this as a bug")}return{args:o,optArgs:m}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var o=this.parseArgumentGroup(n,"text");return o!=null?{type:"styling",mode:o.mode,body:[o],style:"text"}:null}case"raw":{var m=this.parseStringGroup("raw",n);return m!=null?{type:"raw",mode:"text",string:m.text}:null}case"primitive":{if(n)throw new yi("A primitive argument cannot be optional");var u=this.parseGroup(t);if(u==null)throw new yi("Expected group as "+t,this.fetch());return u}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new yi("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var o="",m;(m=this.fetch()).text!=="EOF";)o+=m.text,this.consume();return this.consume(),n.text=o,n}parseRegexGroup(t,r){for(var n=this.fetch(),o=n,m="",u;(u=this.fetch()).text!=="EOF"&&t.test(m+u.text);)o=u,m+=o.text,this.consume();if(m==="")throw new yi("Invalid "+r+": '"+n.text+"'",n);return n.range(o,m)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new yi("Invalid color: '"+r.text+"'",r);var o=n[0];return/^[0-9a-f]{6}$/i.test(o)&&(o="#"+o),{type:"color-token",mode:this.mode,color:o}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var o=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!o)throw new yi("Invalid size: '"+r.text+"'",r);var m={number:+(o[1]+o[2]),unit:o[3]};if(!$7e(m))throw new yi("Invalid unit: '"+m.unit+"'",r);return{type:"size",mode:this.mode,value:m,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var o=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var m=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var u={type:"ordgroup",mode:this.mode,loc:n.loc,body:m};return r&&this.switchMode(o),u}parseGroup(t,r){var n=this.fetch(),o=n.text,m;if(o==="{"||o==="\\begingroup"){this.consume();var u=o==="{"?"}":"\\endgroup";this.gullet.beginGroup();var h=this.parseExpression(!1,u),a=this.fetch();this.expect(u),this.gullet.endGroup(),m={type:"ordgroup",mode:this.mode,loc:Hp.range(n,a),body:h,semisimple:o==="\\begingroup"||void 0}}else if(m=this.parseFunction(r,t)||this.parseSymbol(),m==null&&o[0]==="\\"&&!i9e.hasOwnProperty(o)){if(this.settings.throwOnError)throw new yi("Undefined control sequence: "+o,n);m=this.formatUnsupportedCmd(o),this.consume()}return m}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var o=t[n],m=o.text;m==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:Hp.range(o,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:Hp.range(o,t[n+1]),text:"--"}),r-=1)),(m==="'"||m==="`")&&t[n+1].text===m&&(t.splice(n,2,{type:"textord",mode:"text",loc:Hp.range(o,t[n+1]),text:m+m}),r-=1)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),o=n.charAt(0)==="*";if(o&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new yi(`\\verb assertion failed --
please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:o}}s9e.hasOwnProperty(r[0])&&!Al[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=s9e[r[0]]+r.slice(1));var m=m3t.exec(r);m&&(r=r.substring(0,m.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var u;if(Al[this.mode][r]){this.settings.strict&&this.mode==="math"&&n1e.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var h=Al[this.mode][r].group,a=Hp.range(t),l;if(lbt.hasOwnProperty(h)){var v=h;l={type:"atom",mode:this.mode,family:v,loc:a,text:r}}else l={type:h,mode:this.mode,loc:a,text:r};u=l}else if(r.charCodeAt(0)>=128)this.settings.strict&&(D7e(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),u={type:"textord",mode:"text",loc:Hp.range(t),text:r};else return null;if(this.consume(),m)for(var i=0;i<m[0].length;i++){var S=m[0][i];if(!L1e[S])throw new yi("Unknown accent ' "+S+"'",t);var g=L1e[S][this.mode]||L1e[S].text;if(!g)throw new yi("Accent "+S+" unsupported in "+this.mode+" mode",t);u={type:"accent",mode:this.mode,loc:Hp.range(t),label:g,isStretchy:!1,isShifty:!0,base:u}}return u}};l9e.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var O1e=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new l9e(t,r);delete n.gullet.macros.current["\\df@tag"];var o=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new yi("\\tag works only in display equations");o=[{type:"tag",mode:"text",body:o,tag:n.subparse([new Gv("\\df@tag")])}]}return o},c9e=function(t,r,n){r.textContent="";var o=D1e(t,n).toNode();r.appendChild(o)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),c9e=function(){throw new yi("KaTeX doesn't work in quirks mode.")});var b3t=function(t,r){var n=D1e(t,r).toMarkup();return n},E3t=function(t,r){var n=new Y0e(r);return O1e(t,n)},u9e=function(t,r,n){if(n.throwOnError||!(t instanceof yi))throw t;var o=ma.makeSpan(["katex-error"],[new H0(r)]);return o.setAttribute("title",t.toString()),o.setAttribute("style","color:"+n.errorColor),o},D1e=function(t,r){var n=new Y0e(r);try{var o=O1e(t,n);return Nbt(o,t,n)}catch(m){return u9e(m,t,n)}},S3t=function(t,r){var n=new Y0e(r);try{var o=O1e(t,n);return Ibt(o,t,n)}catch(m){return u9e(m,t,n)}},w3t="0.16.22",T3t={Span:vk,Anchor:Q0e,SymbolNode:H0,SvgNode:wg,PathNode:b2,LineNode:J0e},d9e={version:w3t,render:c9e,renderToString:b3t,ParseError:yi,SETTINGS_SCHEMA:jL,__parse:E3t,__renderToDomTree:D1e,__renderToHTMLTree:S3t,__setFontMetrics:ebt,__defineSymbol:Dt,__defineFunction:Fi,__defineMacro:$r,__domTree:T3t};const A3t={},C3t=[];function k3t(e){const t=e||A3t;return function(r,n){HL(r,"element",function(o,m){const u=Array.isArray(o.properties.className)?o.properties.className:C3t,h=u.includes("language-math"),a=u.includes("math-display"),l=u.includes("math-inline");let v=a;if(!h&&!a&&!l)return;let i=m[m.length-1],S=o;if(o.tagName==="code"&&h&&i&&i.type==="element"&&i.tagName==="pre"&&(S=i,i=m[m.length-2],v=!0),!i)return;const g=_xt(S,{whitespace:"pre"});let p;try{p=d9e.renderToString(g,{...t,displayMode:v,throwOnError:!0})}catch(c){const s=c,d=s.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...m,o],cause:s,place:o.position,ruleId:d,source:"rehype-katex"});try{p=d9e.renderToString(g,{...t,displayMode:v,strict:"ignore",throwOnError:!1})}catch{p=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(c)},children:[{type:"text",value:g}]}]}}typeof p=="string"&&(p=dxt(p).children);const _=i.children.indexOf(S);return i.children.splice(_,1,...p),e7e})}}const P1e=/\r?\n|\r/g;function M3t(e){const t=String(e),r=[];for(P1e.lastIndex=0;P1e.test(t);)r.push(P1e.lastIndex);return r.push(t.length+1),{toPoint:n,toOffset:o};function n(m){let u=-1;if(typeof m=="number"&&m>-1&&m<r[r.length-1]){for(;++u<r.length;)if(r[u]>m)return{line:u+1,column:m-(u>0?r[u-1]:0)+1,offset:m}}}function o(m){const u=m&&m.line,h=m&&m.column;if(typeof u=="number"&&typeof h=="number"&&!Number.isNaN(u)&&!Number.isNaN(h)&&u-1 in r){const a=(r[u-2]||0)+h-1||0;if(a>-1&&a<r[r.length-1])return a}}}const f9e={}.hasOwnProperty,R3t=Object.prototype;function N3t(e,t){const r=t||{};return F1e({file:r.file||void 0,location:!1,schema:r.space==="svg"?m2:ik,verbose:r.verbose||!1},e)}function F1e(e,t){let r;switch(t.nodeName){case"#comment":{const n=t;return r={type:"comment",value:n.data},h9(e,n,r),r}case"#document":case"#document-fragment":{const n=t,o="mode"in n?n.mode==="quirks"||n.mode==="limited-quirks":!1;if(r={type:"root",children:h9e(e,t.childNodes),data:{quirksMode:o}},e.file&&e.location){const m=String(e.file),u=M3t(m),h=u.toPoint(0),a=u.toPoint(m.length);r.position={start:h,end:a}}return r}case"#documentType":{const n=t;return r={type:"doctype"},h9(e,n,r),r}case"#text":{const n=t;return r={type:"text",value:n.value},h9(e,n,r),r}default:return r=I3t(e,t),r}}function h9e(e,t){let r=-1;const n=[];for(;++r<t.length;){const o=F1e(e,t[r]);n.push(o)}return n}function I3t(e,t){const r=e.schema;e.schema=t.namespaceURI===Vv.svg?m2:ik;let n=-1;const o={};for(;++n<t.attrs.length;){const h=t.attrs[n],a=(h.prefix?h.prefix+":":"")+h.name;f9e.call(R3t,a)||(o[a]=h.value)}const u=(e.schema.space==="svg"?b7e:x7e)(t.tagName,o,h9e(e,t.childNodes));if(h9(e,t,u),u.tagName==="template"){const h=t,a=h.sourceCodeLocation,l=a&&a.startTag&&LT(a.startTag),v=a&&a.endTag&&LT(a.endTag),i=F1e(e,h.content);l&&v&&e.file&&(i.position={start:l.end,end:v.start}),u.content=i}return e.schema=r,u}function h9(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=L3t(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function L3t(e,t,r){const n=LT(r);if(t.type==="element"){const o=t.children[t.children.length-1];if(n&&!r.endTag&&o&&o.position&&o.position.end&&(n.end=Object.assign({},o.position.end)),e.verbose){const m={};let u;if(r.attrs)for(u in r.attrs)f9e.call(r.attrs,u)&&(m[ML(e.schema,u).property]=LT(r.attrs[u]));r.startTag;const h=LT(r.startTag),a=r.endTag?LT(r.endTag):void 0,l={opening:h};a&&(l.closing=a),l.properties=m,t.data={position:l}}}return n}function LT(e){const t=p9e({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=p9e({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function p9e(e){return e.line&&e.column?e:void 0}const v9e={}.hasOwnProperty;function m9e(e,t){const r=t||{};function n(o,...m){let u=n.invalid;const h=n.handlers;if(o&&v9e.call(o,e)){const a=String(o[e]);u=v9e.call(h,a)?h[a]:n.unknown}if(u)return u.call(this,o,...m)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}const O3t={},D3t={}.hasOwnProperty,g9e=m9e("type",{handlers:{root:F3t,element:H3t,text:U3t,comment:$3t,doctype:z3t}});function P3t(e,t){const n=(t||O3t).space;return g9e(e,n==="svg"?m2:ik)}function F3t(e,t){const r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=B1e(e.children,r,t),OT(e,r),r}function B3t(e,t){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=B1e(e.children,r,t),OT(e,r),r}function z3t(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return OT(e,t),t}function U3t(e){const t={nodeName:"#text",value:e.value,parentNode:null};return OT(e,t),t}function $3t(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return OT(e,t),t}function H3t(e,t){const r=t;let n=r;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(n=m2);const o=[];let m;if(e.properties){for(m in e.properties)if(m!=="children"&&D3t.call(e.properties,m)){const a=V3t(n,m,e.properties[m]);a&&o.push(a)}}const u=n.space,h={nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:Vv[u],childNodes:[],parentNode:null};return h.childNodes=B1e(e.children,h,n),OT(e,h),e.tagName==="template"&&e.content&&(h.content=B3t(e.content,n)),h}function V3t(e,t,r){const n=ML(e,t);if(r===!1||r===null||r===void 0||typeof r=="number"&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?VNe(r):nIe(r));const o={name:n.attribute,value:r===!0?"":String(r)};if(n.space&&n.space!=="html"&&n.space!=="svg"){const m=o.name.indexOf(":");m<0?o.prefix="":(o.name=o.name.slice(m+1),o.prefix=n.attribute.slice(0,m)),o.namespace=Vv[n.space]}return o}function B1e(e,t,r){let n=-1;const o=[];if(e)for(;++n<e.length;){const m=g9e(e[n],r);m.parentNode=t,o.push(m)}return o}function OT(e,t){const r=e.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,t.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}const G3t=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],j3t=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]),ic="<22>";var Yr;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.NUMBER_SIGN=35]="NUMBER_SIGN",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",e[e.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_F=102]="LATIN_SMALL_F",e[e.LATIN_SMALL_X=120]="LATIN_SMALL_X",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",e[e.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER"})(Yr=Yr||(Yr={}));const zh={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function y9e(e){return e>=55296&&e<=57343}function Y3t(e){return e>=56320&&e<=57343}function W3t(e,t){return(e-55296)*1024+9216+t}function _9e(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function x9e(e){return e>=64976&&e<=65007||j3t.has(e)}var Aa;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(Aa=Aa||(Aa={}));const K3t=65536;class X3t{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=K3t,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(t){const{line:r,col:n,offset:o}=this;return{code:t,startLine:r,endLine:r,startCol:n,endCol:n,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const r=this.html.charCodeAt(this.pos+1);if(Y3t(r))return this.pos++,this._addGap(),W3t(t,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Yr.EOF;return this._err(Aa.surrogateInInputStream),t}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(t,r){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,r){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(t,this.pos);for(let n=0;n<t.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==t.charCodeAt(n))return!1;return!0}peek(t){const r=this.pos+t;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Yr.EOF;const n=this.html.charCodeAt(r);return n===Yr.CARRIAGE_RETURN?Yr.LINE_FEED:n}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,Yr.EOF;let t=this.html.charCodeAt(this.pos);return t===Yr.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,Yr.LINE_FEED):t===Yr.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,y9e(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===Yr.LINE_FEED||t===Yr.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){_9e(t)?this._err(Aa.controlCharacterInInputStream):x9e(t)&&this._err(Aa.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var hs;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(hs=hs||(hs={}));function b9e(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}const A2=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ῦῪ \0llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0g;耀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檈Ā;qim;拧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(e=>e.charCodeAt(0))),q3t=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var z1e;const Z3t=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]]),Q3t=(z1e=String.fromCodePoint)!==null&&z1e!==void 0?z1e:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function J3t(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Z3t.get(e))!==null&&t!==void 0?t:e}var td;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(td||(td={}));const eEt=32;var Zv;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Zv||(Zv={}));function U1e(e){return e>=td.ZERO&&e<=td.NINE}function tEt(e){return e>=td.UPPER_A&&e<=td.UPPER_F||e>=td.LOWER_A&&e<=td.LOWER_F}function rEt(e){return e>=td.UPPER_A&&e<=td.UPPER_Z||e>=td.LOWER_A&&e<=td.LOWER_Z||U1e(e)}function nEt(e){return e===td.EQUALS||rEt(e)}var rd;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(rd||(rd={}));var Tx;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Tx||(Tx={}));class aEt{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=rd.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Tx.Strict}startEntity(t){this.decodeMode=t,this.state=rd.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case rd.EntityStart:return t.charCodeAt(r)===td.NUM?(this.state=rd.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=rd.NamedEntity,this.stateNamedEntity(t,r));case rd.NumericStart:return this.stateNumericStart(t,r);case rd.NumericDecimal:return this.stateNumericDecimal(t,r);case rd.NumericHex:return this.stateNumericHex(t,r);case rd.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|eEt)===td.LOWER_X?(this.state=rd.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=rd.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,o){if(r!==n){const m=n-r;this.result=this.result*Math.pow(o,m)+parseInt(t.substr(r,m),o),this.consumed+=m}}stateNumericHex(t,r){const n=r;for(;r<t.length;){const o=t.charCodeAt(r);if(U1e(o)||tEt(o))r+=1;else return this.addToNumericResult(t,n,r,16),this.emitNumericEntity(o,3)}return this.addToNumericResult(t,n,r,16),-1}stateNumericDecimal(t,r){const n=r;for(;r<t.length;){const o=t.charCodeAt(r);if(U1e(o))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(o,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===td.SEMI)this.consumed+=1;else if(this.decodeMode===Tx.Strict)return 0;return this.emitCodePoint(J3t(this.result),this.consumed),this.errors&&(t!==td.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){const{decodeTree:n}=this;let o=n[this.treeIndex],m=(o&Zv.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const u=t.charCodeAt(r);if(this.treeIndex=S9e(n,o,this.treeIndex+Math.max(1,m),u),this.treeIndex<0)return this.result===0||this.decodeMode===Tx.Attribute&&(m===0||nEt(u))?0:this.emitNotTerminatedNamedEntity();if(o=n[this.treeIndex],m=(o&Zv.VALUE_LENGTH)>>14,m!==0){if(u===td.SEMI)return this.emitNamedEntityData(this.treeIndex,m,this.consumed+this.excess);this.decodeMode!==Tx.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:n}=this,o=(n[r]&Zv.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,o,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){const{decodeTree:o}=this;return this.emitCodePoint(r===1?o[t]&~Zv.VALUE_LENGTH:o[t+1],n),r===3&&this.emitCodePoint(o[t+2],n),n}end(){var t;switch(this.state){case rd.NamedEntity:return this.result!==0&&(this.decodeMode!==Tx.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case rd.NumericDecimal:return this.emitNumericEntity(0,2);case rd.NumericHex:return this.emitNumericEntity(0,3);case rd.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case rd.EntityStart:return 0}}}function E9e(e){let t="";const r=new aEt(e,n=>t+=Q3t(n));return function(o,m){let u=0,h=0;for(;(h=o.indexOf("&",h))>=0;){t+=o.slice(u,h),r.startEntity(m);const l=r.write(o,h+1);if(l<0){u=h+r.end();break}u=h+l,h=l===0?u+1:u}const a=t+o.slice(u);return t="",a}}function S9e(e,t,r,n){const o=(t&Zv.BRANCH_LENGTH)>>7,m=t&Zv.JUMP_TABLE;if(o===0)return m!==0&&n===m?r:-1;if(m){const a=n-m;return a<0||a>=o?-1:e[r+a]-1}let u=r,h=u+o-1;for(;u<=h;){const a=u+h>>>1,l=e[a];if(l<n)u=a+1;else if(l>n)h=a-1;else return e[a+o]}return-1}E9e(A2),E9e(q3t);var Da;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(Da=Da||(Da={}));var C2;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(C2=C2||(C2={}));var jp;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(jp=jp||(jp={}));var pa;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(pa=pa||(pa={}));var xt;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"})(xt=xt||(xt={}));const iEt=new Map([[pa.A,xt.A],[pa.ADDRESS,xt.ADDRESS],[pa.ANNOTATION_XML,xt.ANNOTATION_XML],[pa.APPLET,xt.APPLET],[pa.AREA,xt.AREA],[pa.ARTICLE,xt.ARTICLE],[pa.ASIDE,xt.ASIDE],[pa.B,xt.B],[pa.BASE,xt.BASE],[pa.BASEFONT,xt.BASEFONT],[pa.BGSOUND,xt.BGSOUND],[pa.BIG,xt.BIG],[pa.BLOCKQUOTE,xt.BLOCKQUOTE],[pa.BODY,xt.BODY],[pa.BR,xt.BR],[pa.BUTTON,xt.BUTTON],[pa.CAPTION,xt.CAPTION],[pa.CENTER,xt.CENTER],[pa.CODE,xt.CODE],[pa.COL,xt.COL],[pa.COLGROUP,xt.COLGROUP],[pa.DD,xt.DD],[pa.DESC,xt.DESC],[pa.DETAILS,xt.DETAILS],[pa.DIALOG,xt.DIALOG],[pa.DIR,xt.DIR],[pa.DIV,xt.DIV],[pa.DL,xt.DL],[pa.DT,xt.DT],[pa.EM,xt.EM],[pa.EMBED,xt.EMBED],[pa.FIELDSET,xt.FIELDSET],[pa.FIGCAPTION,xt.FIGCAPTION],[pa.FIGURE,xt.FIGURE],[pa.FONT,xt.FONT],[pa.FOOTER,xt.FOOTER],[pa.FOREIGN_OBJECT,xt.FOREIGN_OBJECT],[pa.FORM,xt.FORM],[pa.FRAME,xt.FRAME],[pa.FRAMESET,xt.FRAMESET],[pa.H1,xt.H1],[pa.H2,xt.H2],[pa.H3,xt.H3],[pa.H4,xt.H4],[pa.H5,xt.H5],[pa.H6,xt.H6],[pa.HEAD,xt.HEAD],[pa.HEADER,xt.HEADER],[pa.HGROUP,xt.HGROUP],[pa.HR,xt.HR],[pa.HTML,xt.HTML],[pa.I,xt.I],[pa.IMG,xt.IMG],[pa.IMAGE,xt.IMAGE],[pa.INPUT,xt.INPUT],[pa.IFRAME,xt.IFRAME],[pa.KEYGEN,xt.KEYGEN],[pa.LABEL,xt.LABEL],[pa.LI,xt.LI],[pa.LINK,xt.LINK],[pa.LISTING,xt.LISTING],[pa.MAIN,xt.MAIN],[pa.MALIGNMARK,xt.MALIGNMARK],[pa.MARQUEE,xt.MARQUEE],[pa.MATH,xt.MATH],[pa.MENU,xt.MENU],[pa.META,xt.META],[pa.MGLYPH,xt.MGLYPH],[pa.MI,xt.MI],[pa.MO,xt.MO],[pa.MN,xt.MN],[pa.MS,xt.MS],[pa.MTEXT,xt.MTEXT],[pa.NAV,xt.NAV],[pa.NOBR,xt.NOBR],[pa.NOFRAMES,xt.NOFRAMES],[pa.NOEMBED,xt.NOEMBED],[pa.NOSCRIPT,xt.NOSCRIPT],[pa.OBJECT,xt.OBJECT],[pa.OL,xt.OL],[pa.OPTGROUP,xt.OPTGROUP],[pa.OPTION,xt.OPTION],[pa.P,xt.P],[pa.PARAM,xt.PARAM],[pa.PLAINTEXT,xt.PLAINTEXT],[pa.PRE,xt.PRE],[pa.RB,xt.RB],[pa.RP,xt.RP],[pa.RT,xt.RT],[pa.RTC,xt.RTC],[pa.RUBY,xt.RUBY],[pa.S,xt.S],[pa.SCRIPT,xt.SCRIPT],[pa.SECTION,xt.SECTION],[pa.SELECT,xt.SELECT],[pa.SOURCE,xt.SOURCE],[pa.SMALL,xt.SMALL],[pa.SPAN,xt.SPAN],[pa.STRIKE,xt.STRIKE],[pa.STRONG,xt.STRONG],[pa.STYLE,xt.STYLE],[pa.SUB,xt.SUB],[pa.SUMMARY,xt.SUMMARY],[pa.SUP,xt.SUP],[pa.TABLE,xt.TABLE],[pa.TBODY,xt.TBODY],[pa.TEMPLATE,xt.TEMPLATE],[pa.TEXTAREA,xt.TEXTAREA],[pa.TFOOT,xt.TFOOT],[pa.TD,xt.TD],[pa.TH,xt.TH],[pa.THEAD,xt.THEAD],[pa.TITLE,xt.TITLE],[pa.TR,xt.TR],[pa.TRACK,xt.TRACK],[pa.TT,xt.TT],[pa.U,xt.U],[pa.UL,xt.UL],[pa.SVG,xt.SVG],[pa.VAR,xt.VAR],[pa.WBR,xt.WBR],[pa.XMP,xt.XMP]]);function DT(e){var t;return(t=iEt.get(e))!==null&&t!==void 0?t:xt.UNKNOWN}const ci=xt,oEt={[Da.HTML]:new Set([ci.ADDRESS,ci.APPLET,ci.AREA,ci.ARTICLE,ci.ASIDE,ci.BASE,ci.BASEFONT,ci.BGSOUND,ci.BLOCKQUOTE,ci.BODY,ci.BR,ci.BUTTON,ci.CAPTION,ci.CENTER,ci.COL,ci.COLGROUP,ci.DD,ci.DETAILS,ci.DIR,ci.DIV,ci.DL,ci.DT,ci.EMBED,ci.FIELDSET,ci.FIGCAPTION,ci.FIGURE,ci.FOOTER,ci.FORM,ci.FRAME,ci.FRAMESET,ci.H1,ci.H2,ci.H3,ci.H4,ci.H5,ci.H6,ci.HEAD,ci.HEADER,ci.HGROUP,ci.HR,ci.HTML,ci.IFRAME,ci.IMG,ci.INPUT,ci.LI,ci.LINK,ci.LISTING,ci.MAIN,ci.MARQUEE,ci.MENU,ci.META,ci.NAV,ci.NOEMBED,ci.NOFRAMES,ci.NOSCRIPT,ci.OBJECT,ci.OL,ci.P,ci.PARAM,ci.PLAINTEXT,ci.PRE,ci.SCRIPT,ci.SECTION,ci.SELECT,ci.SOURCE,ci.STYLE,ci.SUMMARY,ci.TABLE,ci.TBODY,ci.TD,ci.TEMPLATE,ci.TEXTAREA,ci.TFOOT,ci.TH,ci.THEAD,ci.TITLE,ci.TR,ci.TRACK,ci.UL,ci.WBR,ci.XMP]),[Da.MATHML]:new Set([ci.MI,ci.MO,ci.MN,ci.MS,ci.MTEXT,ci.ANNOTATION_XML]),[Da.SVG]:new Set([ci.TITLE,ci.FOREIGN_OBJECT,ci.DESC]),[Da.XLINK]:new Set,[Da.XML]:new Set,[Da.XMLNS]:new Set};function w9e(e){return e===ci.H1||e===ci.H2||e===ci.H3||e===ci.H4||e===ci.H5||e===ci.H6}pa.STYLE,pa.SCRIPT,pa.XMP,pa.IFRAME,pa.NOEMBED,pa.NOFRAMES,pa.PLAINTEXT;const sEt=new Map([[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]]);var en;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(en||(en={}));const Jc={DATA:en.DATA,RCDATA:en.RCDATA,RAWTEXT:en.RAWTEXT,SCRIPT_DATA:en.SCRIPT_DATA,PLAINTEXT:en.PLAINTEXT,CDATA_SECTION:en.CDATA_SECTION};function xk(e){return e>=Yr.DIGIT_0&&e<=Yr.DIGIT_9}function bk(e){return e>=Yr.LATIN_CAPITAL_A&&e<=Yr.LATIN_CAPITAL_Z}function lEt(e){return e>=Yr.LATIN_SMALL_A&&e<=Yr.LATIN_SMALL_Z}function k2(e){return lEt(e)||bk(e)}function $1e(e){return k2(e)||xk(e)}function T9e(e){return e>=Yr.LATIN_CAPITAL_A&&e<=Yr.LATIN_CAPITAL_F}function A9e(e){return e>=Yr.LATIN_SMALL_A&&e<=Yr.LATIN_SMALL_F}function cEt(e){return xk(e)||T9e(e)||A9e(e)}function p9(e){return e+32}function C9e(e){return e===Yr.SPACE||e===Yr.LINE_FEED||e===Yr.TABULATION||e===Yr.FORM_FEED}function uEt(e){return e===Yr.EQUALS_SIGN||$1e(e)}function k9e(e){return C9e(e)||e===Yr.SOLIDUS||e===Yr.GREATER_THAN_SIGN}class dEt{constructor(t,r){this.options=t,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=en.DATA,this.returnState=en.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new X3t(r),this.currentLocation=this.getCurrentLocation(-1)}_err(t){var r,n;(n=(r=this.handler).onParseError)===null||n===void 0||n.call(r,this.preprocessor.getError(t))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,r,n){this.active=!0,this.preprocessor.write(t,r),this._runParsingLoop(),this.paused||n==null||n()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(t){this.consumedAfterSnapshot-=t,this.preprocessor.retreat(t)}_reconsumeInState(t,r){this.state=t,this._callState(r)}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let r=0;r<t;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,r){return this.preprocessor.startsWith(t,r)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:hs.START_TAG,tagName:"",tagID:xt.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:hs.END_TAG,tagName:"",tagID:xt.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:hs.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:hs.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,r){this.currentCharacterToken={type:t,chars:r,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,r;const n=this.currentToken;if(b9e(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){const o=(t=(r=n.location).attrs)!==null&&t!==void 0?t:r.attrs=Object.create(null);o[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(Aa.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=DT(t.tagName),t.type===hs.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(Aa.endTagWithAttributes),t.selfClosing&&this._err(Aa.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case hs.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case hs.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case hs.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:hs.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==t)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=r;return}this._createCharacterToken(t,r)}_emitCodePoint(t){const r=C9e(t)?hs.WHITESPACE_CHARACTER:t===Yr.NULL?hs.NULL_CHARACTER:hs.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(hs.CHARACTER,t)}_matchNamedCharacterReference(t){let r=null,n=0,o=!1;for(let m=0,u=A2[0];m>=0&&(m=S9e(A2,u,m+1,t),!(m<0));t=this._consume()){n+=1,u=A2[m];const h=u&Zv.VALUE_LENGTH;if(h){const a=(h>>14)-1;if(t!==Yr.SEMICOLON&&this._isCharacterReferenceInAttribute()&&uEt(this.preprocessor.peek(1))?(r=[Yr.AMPERSAND],m+=a):(r=a===0?[A2[m]&~Zv.VALUE_LENGTH]:a===1?[A2[++m]]:[A2[++m],A2[++m]],n=0,o=t!==Yr.SEMICOLON),a===0){this._consume();break}}}return this._unconsume(n),o&&!this.preprocessor.endOfChunkHit&&this._err(Aa.missingSemicolonAfterCharacterReference),this._unconsume(1),r}_isCharacterReferenceInAttribute(){return this.returnState===en.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===en.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===en.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case en.DATA:{this._stateData(t);break}case en.RCDATA:{this._stateRcdata(t);break}case en.RAWTEXT:{this._stateRawtext(t);break}case en.SCRIPT_DATA:{this._stateScriptData(t);break}case en.PLAINTEXT:{this._statePlaintext(t);break}case en.TAG_OPEN:{this._stateTagOpen(t);break}case en.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case en.TAG_NAME:{this._stateTagName(t);break}case en.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case en.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case en.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case en.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case en.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case en.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case en.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case en.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case en.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case en.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case en.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case en.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case en.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case en.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case en.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case en.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case en.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case en.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case en.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case en.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case en.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case en.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case en.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case en.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case en.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case en.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case en.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case en.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case en.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case en.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case en.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case en.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case en.BOGUS_COMMENT:{this._stateBogusComment(t);break}case en.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case en.COMMENT_START:{this._stateCommentStart(t);break}case en.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case en.COMMENT:{this._stateComment(t);break}case en.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case en.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case en.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case en.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case en.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case en.COMMENT_END:{this._stateCommentEnd(t);break}case en.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case en.DOCTYPE:{this._stateDoctype(t);break}case en.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case en.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case en.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case en.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case en.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case en.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case en.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case en.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case en.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case en.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case en.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case en.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case en.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case en.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case en.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case en.CDATA_SECTION:{this._stateCdataSection(t);break}case en.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case en.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case en.CHARACTER_REFERENCE:{this._stateCharacterReference(t);break}case en.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(t);break}case en.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}case en.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(t);break}case en.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(t);break}case en.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(t);break}case en.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(t);break}case en.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case Yr.LESS_THAN_SIGN:{this.state=en.TAG_OPEN;break}case Yr.AMPERSAND:{this.returnState=en.DATA,this.state=en.CHARACTER_REFERENCE;break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),this._emitCodePoint(t);break}case Yr.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case Yr.AMPERSAND:{this.returnState=en.RCDATA,this.state=en.CHARACTER_REFERENCE;break}case Yr.LESS_THAN_SIGN:{this.state=en.RCDATA_LESS_THAN_SIGN;break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),this._emitChars(ic);break}case Yr.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case Yr.LESS_THAN_SIGN:{this.state=en.RAWTEXT_LESS_THAN_SIGN;break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),this._emitChars(ic);break}case Yr.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case Yr.LESS_THAN_SIGN:{this.state=en.SCRIPT_DATA_LESS_THAN_SIGN;break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),this._emitChars(ic);break}case Yr.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),this._emitChars(ic);break}case Yr.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(k2(t))this._createStartTagToken(),this.state=en.TAG_NAME,this._stateTagName(t);else switch(t){case Yr.EXCLAMATION_MARK:{this.state=en.MARKUP_DECLARATION_OPEN;break}case Yr.SOLIDUS:{this.state=en.END_TAG_OPEN;break}case Yr.QUESTION_MARK:{this._err(Aa.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=en.BOGUS_COMMENT,this._stateBogusComment(t);break}case Yr.EOF:{this._err(Aa.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Aa.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=en.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(k2(t))this._createEndTagToken(),this.state=en.TAG_NAME,this._stateTagName(t);else switch(t){case Yr.GREATER_THAN_SIGN:{this._err(Aa.missingEndTagName),this.state=en.DATA;break}case Yr.EOF:{this._err(Aa.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(Aa.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=en.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const r=this.currentToken;switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:{this.state=en.BEFORE_ATTRIBUTE_NAME;break}case Yr.SOLIDUS:{this.state=en.SELF_CLOSING_START_TAG;break}case Yr.GREATER_THAN_SIGN:{this.state=en.DATA,this.emitCurrentTagToken();break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),r.tagName+=ic;break}case Yr.EOF:{this._err(Aa.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(bk(t)?p9(t):t)}}_stateRcdataLessThanSign(t){t===Yr.SOLIDUS?this.state=en.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=en.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){k2(t)?(this.state=en.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=en.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=en.BEFORE_ATTRIBUTE_NAME,!1;case Yr.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=en.SELF_CLOSING_START_TAG,!1;case Yr.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=en.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=en.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===Yr.SOLIDUS?this.state=en.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=en.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){k2(t)?(this.state=en.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=en.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=en.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case Yr.SOLIDUS:{this.state=en.SCRIPT_DATA_END_TAG_OPEN;break}case Yr.EXCLAMATION_MARK:{this.state=en.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=en.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){k2(t)?(this.state=en.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=en.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=en.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===Yr.HYPHEN_MINUS?(this.state=en.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=en.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===Yr.HYPHEN_MINUS?(this.state=en.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=en.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case Yr.HYPHEN_MINUS:{this.state=en.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case Yr.LESS_THAN_SIGN:{this.state=en.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),this._emitChars(ic);break}case Yr.EOF:{this._err(Aa.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case Yr.HYPHEN_MINUS:{this.state=en.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case Yr.LESS_THAN_SIGN:{this.state=en.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),this.state=en.SCRIPT_DATA_ESCAPED,this._emitChars(ic);break}case Yr.EOF:{this._err(Aa.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=en.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case Yr.HYPHEN_MINUS:{this._emitChars("-");break}case Yr.LESS_THAN_SIGN:{this.state=en.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Yr.GREATER_THAN_SIGN:{this.state=en.SCRIPT_DATA,this._emitChars(">");break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),this.state=en.SCRIPT_DATA_ESCAPED,this._emitChars(ic);break}case Yr.EOF:{this._err(Aa.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=en.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===Yr.SOLIDUS?this.state=en.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:k2(t)?(this._emitChars("<"),this.state=en.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=en.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){k2(t)?(this.state=en.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=en.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=en.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(zh.SCRIPT,!1)&&k9e(this.preprocessor.peek(zh.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<zh.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=en.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=en.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case Yr.HYPHEN_MINUS:{this.state=en.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case Yr.LESS_THAN_SIGN:{this.state=en.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),this._emitChars(ic);break}case Yr.EOF:{this._err(Aa.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case Yr.HYPHEN_MINUS:{this.state=en.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case Yr.LESS_THAN_SIGN:{this.state=en.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),this.state=en.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ic);break}case Yr.EOF:{this._err(Aa.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=en.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case Yr.HYPHEN_MINUS:{this._emitChars("-");break}case Yr.LESS_THAN_SIGN:{this.state=en.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Yr.GREATER_THAN_SIGN:{this.state=en.SCRIPT_DATA,this._emitChars(">");break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),this.state=en.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ic);break}case Yr.EOF:{this._err(Aa.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=en.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===Yr.SOLIDUS?(this.state=en.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=en.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(zh.SCRIPT,!1)&&k9e(this.preprocessor.peek(zh.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<zh.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=en.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=en.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:break;case Yr.SOLIDUS:case Yr.GREATER_THAN_SIGN:case Yr.EOF:{this.state=en.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case Yr.EQUALS_SIGN:{this._err(Aa.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=en.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=en.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:case Yr.SOLIDUS:case Yr.GREATER_THAN_SIGN:case Yr.EOF:{this._leaveAttrName(),this.state=en.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case Yr.EQUALS_SIGN:{this._leaveAttrName(),this.state=en.BEFORE_ATTRIBUTE_VALUE;break}case Yr.QUOTATION_MARK:case Yr.APOSTROPHE:case Yr.LESS_THAN_SIGN:{this._err(Aa.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),this.currentAttr.name+=ic;break}default:this.currentAttr.name+=String.fromCodePoint(bk(t)?p9(t):t)}}_stateAfterAttributeName(t){switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:break;case Yr.SOLIDUS:{this.state=en.SELF_CLOSING_START_TAG;break}case Yr.EQUALS_SIGN:{this.state=en.BEFORE_ATTRIBUTE_VALUE;break}case Yr.GREATER_THAN_SIGN:{this.state=en.DATA,this.emitCurrentTagToken();break}case Yr.EOF:{this._err(Aa.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=en.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:break;case Yr.QUOTATION_MARK:{this.state=en.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case Yr.APOSTROPHE:{this.state=en.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case Yr.GREATER_THAN_SIGN:{this._err(Aa.missingAttributeValue),this.state=en.DATA,this.emitCurrentTagToken();break}default:this.state=en.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case Yr.QUOTATION_MARK:{this.state=en.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Yr.AMPERSAND:{this.returnState=en.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=en.CHARACTER_REFERENCE;break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),this.currentAttr.value+=ic;break}case Yr.EOF:{this._err(Aa.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case Yr.APOSTROPHE:{this.state=en.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Yr.AMPERSAND:{this.returnState=en.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=en.CHARACTER_REFERENCE;break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),this.currentAttr.value+=ic;break}case Yr.EOF:{this._err(Aa.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:{this._leaveAttrValue(),this.state=en.BEFORE_ATTRIBUTE_NAME;break}case Yr.AMPERSAND:{this.returnState=en.ATTRIBUTE_VALUE_UNQUOTED,this.state=en.CHARACTER_REFERENCE;break}case Yr.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=en.DATA,this.emitCurrentTagToken();break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),this.currentAttr.value+=ic;break}case Yr.QUOTATION_MARK:case Yr.APOSTROPHE:case Yr.LESS_THAN_SIGN:case Yr.EQUALS_SIGN:case Yr.GRAVE_ACCENT:{this._err(Aa.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case Yr.EOF:{this._err(Aa.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:{this._leaveAttrValue(),this.state=en.BEFORE_ATTRIBUTE_NAME;break}case Yr.SOLIDUS:{this._leaveAttrValue(),this.state=en.SELF_CLOSING_START_TAG;break}case Yr.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=en.DATA,this.emitCurrentTagToken();break}case Yr.EOF:{this._err(Aa.eofInTag),this._emitEOFToken();break}default:this._err(Aa.missingWhitespaceBetweenAttributes),this.state=en.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case Yr.GREATER_THAN_SIGN:{const r=this.currentToken;r.selfClosing=!0,this.state=en.DATA,this.emitCurrentTagToken();break}case Yr.EOF:{this._err(Aa.eofInTag),this._emitEOFToken();break}default:this._err(Aa.unexpectedSolidusInTag),this.state=en.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const r=this.currentToken;switch(t){case Yr.GREATER_THAN_SIGN:{this.state=en.DATA,this.emitCurrentComment(r);break}case Yr.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),r.data+=ic;break}default:r.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(zh.DASH_DASH,!0)?(this._createCommentToken(zh.DASH_DASH.length+1),this.state=en.COMMENT_START):this._consumeSequenceIfMatch(zh.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(zh.DOCTYPE.length+1),this.state=en.DOCTYPE):this._consumeSequenceIfMatch(zh.CDATA_START,!0)?this.inForeignNode?this.state=en.CDATA_SECTION:(this._err(Aa.cdataInHtmlContent),this._createCommentToken(zh.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=en.BOGUS_COMMENT):this._ensureHibernation()||(this._err(Aa.incorrectlyOpenedComment),this._createCommentToken(2),this.state=en.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case Yr.HYPHEN_MINUS:{this.state=en.COMMENT_START_DASH;break}case Yr.GREATER_THAN_SIGN:{this._err(Aa.abruptClosingOfEmptyComment),this.state=en.DATA;const r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=en.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const r=this.currentToken;switch(t){case Yr.HYPHEN_MINUS:{this.state=en.COMMENT_END;break}case Yr.GREATER_THAN_SIGN:{this._err(Aa.abruptClosingOfEmptyComment),this.state=en.DATA,this.emitCurrentComment(r);break}case Yr.EOF:{this._err(Aa.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=en.COMMENT,this._stateComment(t)}}_stateComment(t){const r=this.currentToken;switch(t){case Yr.HYPHEN_MINUS:{this.state=en.COMMENT_END_DASH;break}case Yr.LESS_THAN_SIGN:{r.data+="<",this.state=en.COMMENT_LESS_THAN_SIGN;break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),r.data+=ic;break}case Yr.EOF:{this._err(Aa.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const r=this.currentToken;switch(t){case Yr.EXCLAMATION_MARK:{r.data+="!",this.state=en.COMMENT_LESS_THAN_SIGN_BANG;break}case Yr.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=en.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===Yr.HYPHEN_MINUS?this.state=en.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=en.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===Yr.HYPHEN_MINUS?this.state=en.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=en.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==Yr.GREATER_THAN_SIGN&&t!==Yr.EOF&&this._err(Aa.nestedComment),this.state=en.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const r=this.currentToken;switch(t){case Yr.HYPHEN_MINUS:{this.state=en.COMMENT_END;break}case Yr.EOF:{this._err(Aa.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=en.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const r=this.currentToken;switch(t){case Yr.GREATER_THAN_SIGN:{this.state=en.DATA,this.emitCurrentComment(r);break}case Yr.EXCLAMATION_MARK:{this.state=en.COMMENT_END_BANG;break}case Yr.HYPHEN_MINUS:{r.data+="-";break}case Yr.EOF:{this._err(Aa.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=en.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const r=this.currentToken;switch(t){case Yr.HYPHEN_MINUS:{r.data+="--!",this.state=en.COMMENT_END_DASH;break}case Yr.GREATER_THAN_SIGN:{this._err(Aa.incorrectlyClosedComment),this.state=en.DATA,this.emitCurrentComment(r);break}case Yr.EOF:{this._err(Aa.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=en.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:{this.state=en.BEFORE_DOCTYPE_NAME;break}case Yr.GREATER_THAN_SIGN:{this.state=en.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case Yr.EOF:{this._err(Aa.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Aa.missingWhitespaceBeforeDoctypeName),this.state=en.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(bk(t))this._createDoctypeToken(String.fromCharCode(p9(t))),this.state=en.DOCTYPE_NAME;else switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:break;case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),this._createDoctypeToken(ic),this.state=en.DOCTYPE_NAME;break}case Yr.GREATER_THAN_SIGN:{this._err(Aa.missingDoctypeName),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=en.DATA;break}case Yr.EOF:{this._err(Aa.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=en.DOCTYPE_NAME}}_stateDoctypeName(t){const r=this.currentToken;switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:{this.state=en.AFTER_DOCTYPE_NAME;break}case Yr.GREATER_THAN_SIGN:{this.state=en.DATA,this.emitCurrentDoctype(r);break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),r.name+=ic;break}case Yr.EOF:{this._err(Aa.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(bk(t)?p9(t):t)}}_stateAfterDoctypeName(t){const r=this.currentToken;switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:break;case Yr.GREATER_THAN_SIGN:{this.state=en.DATA,this.emitCurrentDoctype(r);break}case Yr.EOF:{this._err(Aa.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(zh.PUBLIC,!1)?this.state=en.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(zh.SYSTEM,!1)?this.state=en.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(Aa.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=en.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const r=this.currentToken;switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:{this.state=en.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case Yr.QUOTATION_MARK:{this._err(Aa.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=en.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Yr.APOSTROPHE:{this._err(Aa.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=en.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Yr.GREATER_THAN_SIGN:{this._err(Aa.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=en.DATA,this.emitCurrentDoctype(r);break}case Yr.EOF:{this._err(Aa.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Aa.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=en.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:break;case Yr.QUOTATION_MARK:{r.publicId="",this.state=en.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Yr.APOSTROPHE:{r.publicId="",this.state=en.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Yr.GREATER_THAN_SIGN:{this._err(Aa.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=en.DATA,this.emitCurrentDoctype(r);break}case Yr.EOF:{this._err(Aa.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Aa.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=en.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case Yr.QUOTATION_MARK:{this.state=en.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),r.publicId+=ic;break}case Yr.GREATER_THAN_SIGN:{this._err(Aa.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=en.DATA;break}case Yr.EOF:{this._err(Aa.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case Yr.APOSTROPHE:{this.state=en.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),r.publicId+=ic;break}case Yr.GREATER_THAN_SIGN:{this._err(Aa.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=en.DATA;break}case Yr.EOF:{this._err(Aa.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:{this.state=en.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case Yr.GREATER_THAN_SIGN:{this.state=en.DATA,this.emitCurrentDoctype(r);break}case Yr.QUOTATION_MARK:{this._err(Aa.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=en.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Yr.APOSTROPHE:{this._err(Aa.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=en.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Yr.EOF:{this._err(Aa.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Aa.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=en.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const r=this.currentToken;switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:break;case Yr.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=en.DATA;break}case Yr.QUOTATION_MARK:{r.systemId="",this.state=en.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Yr.APOSTROPHE:{r.systemId="",this.state=en.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Yr.EOF:{this._err(Aa.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Aa.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=en.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const r=this.currentToken;switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:{this.state=en.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case Yr.QUOTATION_MARK:{this._err(Aa.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=en.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Yr.APOSTROPHE:{this._err(Aa.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=en.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Yr.GREATER_THAN_SIGN:{this._err(Aa.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=en.DATA,this.emitCurrentDoctype(r);break}case Yr.EOF:{this._err(Aa.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Aa.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=en.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:break;case Yr.QUOTATION_MARK:{r.systemId="",this.state=en.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Yr.APOSTROPHE:{r.systemId="",this.state=en.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Yr.GREATER_THAN_SIGN:{this._err(Aa.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=en.DATA,this.emitCurrentDoctype(r);break}case Yr.EOF:{this._err(Aa.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Aa.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=en.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case Yr.QUOTATION_MARK:{this.state=en.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),r.systemId+=ic;break}case Yr.GREATER_THAN_SIGN:{this._err(Aa.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=en.DATA;break}case Yr.EOF:{this._err(Aa.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case Yr.APOSTROPHE:{this.state=en.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter),r.systemId+=ic;break}case Yr.GREATER_THAN_SIGN:{this._err(Aa.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=en.DATA;break}case Yr.EOF:{this._err(Aa.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case Yr.SPACE:case Yr.LINE_FEED:case Yr.TABULATION:case Yr.FORM_FEED:break;case Yr.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=en.DATA;break}case Yr.EOF:{this._err(Aa.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Aa.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=en.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const r=this.currentToken;switch(t){case Yr.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=en.DATA;break}case Yr.NULL:{this._err(Aa.unexpectedNullCharacter);break}case Yr.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case Yr.RIGHT_SQUARE_BRACKET:{this.state=en.CDATA_SECTION_BRACKET;break}case Yr.EOF:{this._err(Aa.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===Yr.RIGHT_SQUARE_BRACKET?this.state=en.CDATA_SECTION_END:(this._emitChars("]"),this.state=en.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case Yr.GREATER_THAN_SIGN:{this.state=en.DATA;break}case Yr.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=en.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(t){t===Yr.NUMBER_SIGN?this.state=en.NUMERIC_CHARACTER_REFERENCE:$1e(t)?(this.state=en.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(t)):(this._flushCodePointConsumedAsCharacterReference(Yr.AMPERSAND),this._reconsumeInState(this.returnState,t))}_stateNamedCharacterReference(t){const r=this._matchNamedCharacterReference(t);if(!this._ensureHibernation())if(r){for(let n=0;n<r.length;n++)this._flushCodePointConsumedAsCharacterReference(r[n]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(Yr.AMPERSAND),this.state=en.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(t){$1e(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===Yr.SEMICOLON&&this._err(Aa.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,t))}_stateNumericCharacterReference(t){this.charRefCode=0,t===Yr.LATIN_SMALL_X||t===Yr.LATIN_CAPITAL_X?this.state=en.HEXADEMICAL_CHARACTER_REFERENCE_START:xk(t)?(this.state=en.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(t)):(this._err(Aa.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(Yr.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(Yr.NUMBER_SIGN),this._reconsumeInState(this.returnState,t))}_stateHexademicalCharacterReferenceStart(t){cEt(t)?(this.state=en.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(t)):(this._err(Aa.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(Yr.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(Yr.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(t){T9e(t)?this.charRefCode=this.charRefCode*16+t-55:A9e(t)?this.charRefCode=this.charRefCode*16+t-87:xk(t)?this.charRefCode=this.charRefCode*16+t-48:t===Yr.SEMICOLON?this.state=en.NUMERIC_CHARACTER_REFERENCE_END:(this._err(Aa.missingSemicolonAfterCharacterReference),this.state=en.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateDecimalCharacterReference(t){xk(t)?this.charRefCode=this.charRefCode*10+t-48:t===Yr.SEMICOLON?this.state=en.NUMERIC_CHARACTER_REFERENCE_END:(this._err(Aa.missingSemicolonAfterCharacterReference),this.state=en.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateNumericCharacterReferenceEnd(t){if(this.charRefCode===Yr.NULL)this._err(Aa.nullCharacterReference),this.charRefCode=Yr.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(Aa.characterReferenceOutsideUnicodeRange),this.charRefCode=Yr.REPLACEMENT_CHARACTER;else if(y9e(this.charRefCode))this._err(Aa.surrogateCharacterReference),this.charRefCode=Yr.REPLACEMENT_CHARACTER;else if(x9e(this.charRefCode))this._err(Aa.noncharacterCharacterReference);else if(_9e(this.charRefCode)||this.charRefCode===Yr.CARRIAGE_RETURN){this._err(Aa.controlCharacterReference);const r=sEt.get(this.charRefCode);r!==void 0&&(this.charRefCode=r)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}}const M9e=new Set([xt.DD,xt.DT,xt.LI,xt.OPTGROUP,xt.OPTION,xt.P,xt.RB,xt.RP,xt.RT,xt.RTC]),R9e=new Set([...M9e,xt.CAPTION,xt.COLGROUP,xt.TBODY,xt.TD,xt.TFOOT,xt.TH,xt.THEAD,xt.TR]),v9=new Map([[xt.APPLET,Da.HTML],[xt.CAPTION,Da.HTML],[xt.HTML,Da.HTML],[xt.MARQUEE,Da.HTML],[xt.OBJECT,Da.HTML],[xt.TABLE,Da.HTML],[xt.TD,Da.HTML],[xt.TEMPLATE,Da.HTML],[xt.TH,Da.HTML],[xt.ANNOTATION_XML,Da.MATHML],[xt.MI,Da.MATHML],[xt.MN,Da.MATHML],[xt.MO,Da.MATHML],[xt.MS,Da.MATHML],[xt.MTEXT,Da.MATHML],[xt.DESC,Da.SVG],[xt.FOREIGN_OBJECT,Da.SVG],[xt.TITLE,Da.SVG]]),fEt=[xt.H1,xt.H2,xt.H3,xt.H4,xt.H5,xt.H6],hEt=[xt.TR,xt.TEMPLATE,xt.HTML],pEt=[xt.TBODY,xt.TFOOT,xt.THEAD,xt.TEMPLATE,xt.HTML],vEt=[xt.TABLE,xt.TEMPLATE,xt.HTML],mEt=[xt.TD,xt.TH];class gEt{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,r,n){this.treeAdapter=r,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=xt.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===xt.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Da.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,r){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,r,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,r){const n=this._indexOf(t);this.items[n]=r,n===this.stackTop&&(this.current=r)}insertAfter(t,r,n){const o=this._indexOf(t)+1;this.items.splice(o,0,r),this.tagIDs.splice(o,0,n),this.stackTop++,o===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,o===this.stackTop)}popUntilTagNamePopped(t){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(t,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==Da.HTML);this.shortenToLength(r<0?0:r)}shortenToLength(t){for(;this.stackTop>=t;){const r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<t)}}popUntilElementPopped(t){const r=this._indexOf(t);this.shortenToLength(r<0?0:r)}popUntilPopped(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(n<0?0:n)}popUntilNumberedHeaderPopped(){this.popUntilPopped(fEt,Da.HTML)}popUntilTableCellPopped(){this.popUntilPopped(mEt,Da.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,r){for(let n=this.stackTop;n>=0;n--)if(t.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===r)return n;return-1}clearBackTo(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(vEt,Da.HTML)}clearBackToTableBodyContext(){this.clearBackTo(pEt,Da.HTML)}clearBackToTableRowContext(){this.clearBackTo(hEt,Da.HTML)}remove(t){const r=this._indexOf(t);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===xt.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const r=this._indexOf(t)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===xt.HTML}hasInScope(t){for(let r=this.stackTop;r>=0;r--){const n=this.tagIDs[r],o=this.treeAdapter.getNamespaceURI(this.items[r]);if(n===t&&o===Da.HTML)return!0;if(v9.get(n)===o)return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t],n=this.treeAdapter.getNamespaceURI(this.items[t]);if(w9e(r)&&n===Da.HTML)return!0;if(v9.get(r)===n)return!1}return!0}hasInListItemScope(t){for(let r=this.stackTop;r>=0;r--){const n=this.tagIDs[r],o=this.treeAdapter.getNamespaceURI(this.items[r]);if(n===t&&o===Da.HTML)return!0;if((n===xt.UL||n===xt.OL)&&o===Da.HTML||v9.get(n)===o)return!1}return!0}hasInButtonScope(t){for(let r=this.stackTop;r>=0;r--){const n=this.tagIDs[r],o=this.treeAdapter.getNamespaceURI(this.items[r]);if(n===t&&o===Da.HTML)return!0;if(n===xt.BUTTON&&o===Da.HTML||v9.get(n)===o)return!1}return!0}hasInTableScope(t){for(let r=this.stackTop;r>=0;r--){const n=this.tagIDs[r];if(this.treeAdapter.getNamespaceURI(this.items[r])===Da.HTML){if(n===t)return!0;if(n===xt.TABLE||n===xt.TEMPLATE||n===xt.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===Da.HTML){if(r===xt.TBODY||r===xt.THEAD||r===xt.TFOOT)return!0;if(r===xt.TABLE||r===xt.HTML)return!1}}return!0}hasInSelectScope(t){for(let r=this.stackTop;r>=0;r--){const n=this.tagIDs[r];if(this.treeAdapter.getNamespaceURI(this.items[r])===Da.HTML){if(n===t)return!0;if(n!==xt.OPTION&&n!==xt.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;M9e.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;R9e.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&R9e.has(this.currentTagId);)this.pop()}}const H1e=3;var B1;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(B1=B1||(B1={}));const N9e={type:B1.Marker};class yEt{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,r){const n=[],o=r.length,m=this.treeAdapter.getTagName(t),u=this.treeAdapter.getNamespaceURI(t);for(let h=0;h<this.entries.length;h++){const a=this.entries[h];if(a.type===B1.Marker)break;const{element:l}=a;if(this.treeAdapter.getTagName(l)===m&&this.treeAdapter.getNamespaceURI(l)===u){const v=this.treeAdapter.getAttrList(l);v.length===o&&n.push({idx:h,attrs:v})}}return n}_ensureNoahArkCondition(t){if(this.entries.length<H1e)return;const r=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,r);if(n.length<H1e)return;const o=new Map(r.map(u=>[u.name,u.value]));let m=0;for(let u=0;u<n.length;u++){const h=n[u];h.attrs.every(a=>o.get(a.name)===a.value)&&(m+=1,m>=H1e&&this.entries.splice(h.idx,1))}}insertMarker(){this.entries.unshift(N9e)}pushElement(t,r){this._ensureNoahArkCondition(t),this.entries.unshift({type:B1.Element,element:t,token:r})}insertElementAfterBookmark(t,r){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:B1.Element,element:t,token:r})}removeEntry(t){const r=this.entries.indexOf(t);r>=0&&this.entries.splice(r,1)}clearToLastMarker(){const t=this.entries.indexOf(N9e);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const r=this.entries.find(n=>n.type===B1.Marker||this.treeAdapter.getTagName(n.element)===t);return r&&r.type===B1.Element?r:null}getElementEntry(t){return this.entries.find(r=>r.type===B1.Element&&r.element===t)}}function I9e(e){return{nodeName:"#text",value:e,parentNode:null}}const PT={createDocument(){return{nodeName:"#document",mode:jp.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,r){return{nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){const n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,r,n){const o=e.childNodes.find(m=>m.nodeName==="#documentType");if(o)o.name=t,o.publicId=r,o.systemId=n;else{const m={nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null};PT.appendChild(e,m)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const r=e.childNodes[e.childNodes.length-1];if(PT.isTextNode(r)){r.value+=t;return}}PT.appendChild(e,I9e(t))},insertTextBefore(e,t,r){const n=e.childNodes[e.childNodes.indexOf(r)-1];n&&PT.isTextNode(n)?n.value+=t:PT.insertBefore(e,I9e(t),r)},adoptAttributes(e,t){const r=new Set(e.attrs.map(n=>n.name));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},L9e="html",_Et="about:legacy-compat",xEt="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",O9e=["+//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//"],bEt=[...O9e,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],EEt=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),D9e=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],SEt=[...D9e,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function P9e(e,t){return t.some(r=>e.startsWith(r))}function wEt(e){return e.name===L9e&&e.publicId===null&&(e.systemId===null||e.systemId===_Et)}function TEt(e){if(e.name!==L9e)return jp.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===xEt)return jp.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),EEt.has(r))return jp.QUIRKS;let n=t===null?bEt:O9e;if(P9e(r,n))return jp.QUIRKS;if(n=t===null?D9e:SEt,P9e(r,n))return jp.LIMITED_QUIRKS}return jp.NO_QUIRKS}const F9e={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},AEt="definitionurl",CEt="definitionURL",kEt=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),MEt=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Da.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Da.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Da.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Da.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Da.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Da.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Da.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:Da.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:Da.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Da.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Da.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Da.XMLNS}]]),REt=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),NEt=new Set([xt.B,xt.BIG,xt.BLOCKQUOTE,xt.BODY,xt.BR,xt.CENTER,xt.CODE,xt.DD,xt.DIV,xt.DL,xt.DT,xt.EM,xt.EMBED,xt.H1,xt.H2,xt.H3,xt.H4,xt.H5,xt.H6,xt.HEAD,xt.HR,xt.I,xt.IMG,xt.LI,xt.LISTING,xt.MENU,xt.META,xt.NOBR,xt.OL,xt.P,xt.PRE,xt.RUBY,xt.S,xt.SMALL,xt.SPAN,xt.STRONG,xt.STRIKE,xt.SUB,xt.SUP,xt.TABLE,xt.TT,xt.U,xt.UL,xt.VAR]);function IEt(e){const t=e.tagID;return t===xt.FONT&&e.attrs.some(({name:n})=>n===C2.COLOR||n===C2.SIZE||n===C2.FACE)||NEt.has(t)}function B9e(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===AEt){e.attrs[t].name=CEt;break}}function z9e(e){for(let t=0;t<e.attrs.length;t++){const r=kEt.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function V1e(e){for(let t=0;t<e.attrs.length;t++){const r=MEt.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}function LEt(e){const t=REt.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=DT(e.tagName))}function OEt(e,t){return t===Da.MATHML&&(e===xt.MI||e===xt.MO||e===xt.MN||e===xt.MS||e===xt.MTEXT)}function DEt(e,t,r){if(t===Da.MATHML&&e===xt.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===C2.ENCODING){const o=r[n].value.toLowerCase();return o===F9e.TEXT_HTML||o===F9e.APPLICATION_XML}}return t===Da.SVG&&(e===xt.FOREIGN_OBJECT||e===xt.DESC||e===xt.TITLE)}function PEt(e,t,r,n){return(!n||n===Da.HTML)&&DEt(e,t,r)||(!n||n===Da.MATHML)&&OEt(e,t)}const FEt="hidden",BEt=8,zEt=3;var Rn;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(Rn||(Rn={}));const UEt={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},U9e=new Set([xt.TABLE,xt.TBODY,xt.TFOOT,xt.THEAD,xt.TR]),$9e={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:PT,onParseError:null};class H9e{constructor(t,r,n=null,o=null){this.fragmentContext=n,this.scriptHandler=o,this.currentToken=null,this.stopped=!1,this.insertionMode=Rn.INITIAL,this.originalInsertionMode=Rn.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={...$9e,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=r??this.treeAdapter.createDocument(),this.tokenizer=new dEt(this.options,this),this.activeFormattingElements=new yEt(this.treeAdapter),this.fragmentContextID=n?DT(this.treeAdapter.getTagName(n)):xt.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new gEt(this.document,this.treeAdapter,this)}static parse(t,r){const n=new this(r);return n.tokenizer.write(t,!0),n.document}static getFragmentParser(t,r){const n={...$9e,...r};t??(t=n.treeAdapter.createElement(pa.TEMPLATE,Da.HTML,[]));const o=n.treeAdapter.createElement("documentmock",Da.HTML,[]),m=new this(n,o,t);return m.fragmentContextID===xt.TEMPLATE&&m.tmplInsertionModeStack.unshift(Rn.IN_TEMPLATE),m._initTokenizerForFragmentParsing(),m._insertFakeRootElement(),m._resetInsertionMode(),m._findFormInFragmentContext(),m}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,r),r}_err(t,r,n){var o;if(!this.onParseError)return;const m=(o=t.location)!==null&&o!==void 0?o:UEt,u={code:r,startLine:m.startLine,startCol:m.startCol,startOffset:m.startOffset,endLine:n?m.startLine:m.endLine,endCol:n?m.startCol:m.endCol,endOffset:n?m.startOffset:m.endOffset};this.onParseError(u)}onItemPush(t,r,n){var o,m;(m=(o=this.treeAdapter).onItemPush)===null||m===void 0||m.call(o,t),n&&this.openElements.stackTop>0&&this._setContextModes(t,r)}onItemPop(t,r){var n,o;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(o=(n=this.treeAdapter).onItemPop)===null||o===void 0||o.call(n,t,this.openElements.current),r){let m,u;this.openElements.stackTop===0&&this.fragmentContext?(m=this.fragmentContext,u=this.fragmentContextID):{current:m,currentTagId:u}=this.openElements,this._setContextModes(m,u)}}_setContextModes(t,r){const n=t===this.document||this.treeAdapter.getNamespaceURI(t)===Da.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(r,t)}_switchToTextParsing(t,r){this._insertElement(t,Da.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=Rn.TEXT}switchToPlaintextParsing(){this.insertionMode=Rn.TEXT,this.originalInsertionMode=Rn.IN_BODY,this.tokenizer.state=Jc.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===pa.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Da.HTML))switch(this.fragmentContextID){case xt.TITLE:case xt.TEXTAREA:{this.tokenizer.state=Jc.RCDATA;break}case xt.STYLE:case xt.XMP:case xt.IFRAME:case xt.NOEMBED:case xt.NOFRAMES:case xt.NOSCRIPT:{this.tokenizer.state=Jc.RAWTEXT;break}case xt.SCRIPT:{this.tokenizer.state=Jc.SCRIPT_DATA;break}case xt.PLAINTEXT:{this.tokenizer.state=Jc.PLAINTEXT;break}}}_setDocumentType(t){const r=t.name||"",n=t.publicId||"",o=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,n,o),t.location){const u=this.treeAdapter.getChildNodes(this.document).find(h=>this.treeAdapter.isDocumentTypeNode(h));u&&this.treeAdapter.setNodeSourceCodeLocation(u,t.location)}}_attachElementToTree(t,r){if(this.options.sourceCodeLocationInfo){const n=r&&{...r,startTag:r};this.treeAdapter.setNodeSourceCodeLocation(t,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n,t)}}_appendElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location)}_insertElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID)}_insertFakeElement(t,r){const n=this.treeAdapter.createElement(t,Da.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(t){const r=this.treeAdapter.createElement(t.tagName,Da.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,n),this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(pa.HTML,Da.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,xt.HTML)}_appendCommentNode(t,r){const n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(r,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,t.location)}_insertCharacters(t){let r,n;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(r,t.chars,n):this.treeAdapter.insertText(r,t.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,t.chars)),!t.location)return;const o=this.treeAdapter.getChildNodes(r),m=n?o.lastIndexOf(n):o.length,u=o[m-1];if(this.treeAdapter.getNodeSourceCodeLocation(u)){const{endLine:a,endCol:l,endOffset:v}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(u,{endLine:a,endCol:l,endOffset:v})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(u,t.location)}_adoptNodes(t,r){for(let n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(r,n)}_setEndLocation(t,r){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&r.location){const n=r.location,o=this.treeAdapter.getTagName(t),m=r.type===hs.END_TAG&&o===r.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,m)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let r,n;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,n=this.fragmentContextID):{current:r,currentTagId:n}=this.openElements,t.tagID===xt.SVG&&this.treeAdapter.getTagName(r)===pa.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===Da.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===xt.MGLYPH||t.tagID===xt.MALIGNMARK)&&!this._isIntegrationPoint(n,r,Da.HTML)}_processToken(t){switch(t.type){case hs.CHARACTER:{this.onCharacter(t);break}case hs.NULL_CHARACTER:{this.onNullCharacter(t);break}case hs.COMMENT:{this.onComment(t);break}case hs.DOCTYPE:{this.onDoctype(t);break}case hs.START_TAG:{this._processStartTag(t);break}case hs.END_TAG:{this.onEndTag(t);break}case hs.EOF:{this.onEof(t);break}case hs.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,r,n){const o=this.treeAdapter.getNamespaceURI(r),m=this.treeAdapter.getAttrList(r);return PEt(t,o,m,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const r=this.activeFormattingElements.entries.findIndex(o=>o.type===B1.Marker||this.openElements.contains(o.element)),n=r<0?t-1:r-1;for(let o=n;o>=0;o--){const m=this.activeFormattingElements.entries[o];this._insertElement(m.token,this.treeAdapter.getNamespaceURI(m.element)),m.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Rn.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(xt.P),this.openElements.popUntilTagNamePopped(xt.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case xt.TR:{this.insertionMode=Rn.IN_ROW;return}case xt.TBODY:case xt.THEAD:case xt.TFOOT:{this.insertionMode=Rn.IN_TABLE_BODY;return}case xt.CAPTION:{this.insertionMode=Rn.IN_CAPTION;return}case xt.COLGROUP:{this.insertionMode=Rn.IN_COLUMN_GROUP;return}case xt.TABLE:{this.insertionMode=Rn.IN_TABLE;return}case xt.BODY:{this.insertionMode=Rn.IN_BODY;return}case xt.FRAMESET:{this.insertionMode=Rn.IN_FRAMESET;return}case xt.SELECT:{this._resetInsertionModeForSelect(t);return}case xt.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case xt.HTML:{this.insertionMode=this.headElement?Rn.AFTER_HEAD:Rn.BEFORE_HEAD;return}case xt.TD:case xt.TH:{if(t>0){this.insertionMode=Rn.IN_CELL;return}break}case xt.HEAD:{if(t>0){this.insertionMode=Rn.IN_HEAD;return}break}}this.insertionMode=Rn.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let r=t-1;r>0;r--){const n=this.openElements.tagIDs[r];if(n===xt.TEMPLATE)break;if(n===xt.TABLE){this.insertionMode=Rn.IN_SELECT_IN_TABLE;return}}this.insertionMode=Rn.IN_SELECT}_isElementCausesFosterParenting(t){return U9e.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case xt.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===Da.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case xt.TABLE:{const n=this.treeAdapter.getParentNode(r);return n?{parent:n,beforeElement:r}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,t,r.beforeElement):this.treeAdapter.appendChild(r.parent,t)}_isSpecialElement(t,r){const n=this.treeAdapter.getNamespaceURI(t);return oEt[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){m4t(this,t);return}switch(this.insertionMode){case Rn.INITIAL:{Ek(this,t);break}case Rn.BEFORE_HTML:{Sk(this,t);break}case Rn.BEFORE_HEAD:{wk(this,t);break}case Rn.IN_HEAD:{Tk(this,t);break}case Rn.IN_HEAD_NO_SCRIPT:{Ak(this,t);break}case Rn.AFTER_HEAD:{Ck(this,t);break}case Rn.IN_BODY:case Rn.IN_CAPTION:case Rn.IN_CELL:case Rn.IN_TEMPLATE:{G9e(this,t);break}case Rn.TEXT:case Rn.IN_SELECT:case Rn.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case Rn.IN_TABLE:case Rn.IN_TABLE_BODY:case Rn.IN_ROW:{W1e(this,t);break}case Rn.IN_TABLE_TEXT:{Q9e(this,t);break}case Rn.IN_COLUMN_GROUP:{y9(this,t);break}case Rn.AFTER_BODY:{b9(this,t);break}case Rn.AFTER_AFTER_BODY:{E9(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){v4t(this,t);return}switch(this.insertionMode){case Rn.INITIAL:{Ek(this,t);break}case Rn.BEFORE_HTML:{Sk(this,t);break}case Rn.BEFORE_HEAD:{wk(this,t);break}case Rn.IN_HEAD:{Tk(this,t);break}case Rn.IN_HEAD_NO_SCRIPT:{Ak(this,t);break}case Rn.AFTER_HEAD:{Ck(this,t);break}case Rn.TEXT:{this._insertCharacters(t);break}case Rn.IN_TABLE:case Rn.IN_TABLE_BODY:case Rn.IN_ROW:{W1e(this,t);break}case Rn.IN_COLUMN_GROUP:{y9(this,t);break}case Rn.AFTER_BODY:{b9(this,t);break}case Rn.AFTER_AFTER_BODY:{E9(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){j1e(this,t);return}switch(this.insertionMode){case Rn.INITIAL:case Rn.BEFORE_HTML:case Rn.BEFORE_HEAD:case Rn.IN_HEAD:case Rn.IN_HEAD_NO_SCRIPT:case Rn.AFTER_HEAD:case Rn.IN_BODY:case Rn.IN_TABLE:case Rn.IN_CAPTION:case Rn.IN_COLUMN_GROUP:case Rn.IN_TABLE_BODY:case Rn.IN_ROW:case Rn.IN_CELL:case Rn.IN_SELECT:case Rn.IN_SELECT_IN_TABLE:case Rn.IN_TEMPLATE:case Rn.IN_FRAMESET:case Rn.AFTER_FRAMESET:{j1e(this,t);break}case Rn.IN_TABLE_TEXT:{Rk(this,t);break}case Rn.AFTER_BODY:{WEt(this,t);break}case Rn.AFTER_AFTER_BODY:case Rn.AFTER_AFTER_FRAMESET:{KEt(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case Rn.INITIAL:{XEt(this,t);break}case Rn.BEFORE_HEAD:case Rn.IN_HEAD:case Rn.IN_HEAD_NO_SCRIPT:case Rn.AFTER_HEAD:{this._err(t,Aa.misplacedDoctype);break}case Rn.IN_TABLE_TEXT:{Rk(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,Aa.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?g4t(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case Rn.INITIAL:{Ek(this,t);break}case Rn.BEFORE_HTML:{qEt(this,t);break}case Rn.BEFORE_HEAD:{QEt(this,t);break}case Rn.IN_HEAD:{z1(this,t);break}case Rn.IN_HEAD_NO_SCRIPT:{tSt(this,t);break}case Rn.AFTER_HEAD:{nSt(this,t);break}case Rn.IN_BODY:{hf(this,t);break}case Rn.IN_TABLE:{FT(this,t);break}case Rn.IN_TABLE_TEXT:{Rk(this,t);break}case Rn.IN_CAPTION:{JSt(this,t);break}case Rn.IN_COLUMN_GROUP:{K1e(this,t);break}case Rn.IN_TABLE_BODY:{_9(this,t);break}case Rn.IN_ROW:{x9(this,t);break}case Rn.IN_CELL:{r4t(this,t);break}case Rn.IN_SELECT:{tOe(this,t);break}case Rn.IN_SELECT_IN_TABLE:{a4t(this,t);break}case Rn.IN_TEMPLATE:{o4t(this,t);break}case Rn.AFTER_BODY:{l4t(this,t);break}case Rn.IN_FRAMESET:{c4t(this,t);break}case Rn.AFTER_FRAMESET:{d4t(this,t);break}case Rn.AFTER_AFTER_BODY:{h4t(this,t);break}case Rn.AFTER_AFTER_FRAMESET:{p4t(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?y4t(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case Rn.INITIAL:{Ek(this,t);break}case Rn.BEFORE_HTML:{ZEt(this,t);break}case Rn.BEFORE_HEAD:{JEt(this,t);break}case Rn.IN_HEAD:{eSt(this,t);break}case Rn.IN_HEAD_NO_SCRIPT:{rSt(this,t);break}case Rn.AFTER_HEAD:{aSt(this,t);break}case Rn.IN_BODY:{g9(this,t);break}case Rn.TEXT:{VSt(this,t);break}case Rn.IN_TABLE:{kk(this,t);break}case Rn.IN_TABLE_TEXT:{Rk(this,t);break}case Rn.IN_CAPTION:{e4t(this,t);break}case Rn.IN_COLUMN_GROUP:{t4t(this,t);break}case Rn.IN_TABLE_BODY:{X1e(this,t);break}case Rn.IN_ROW:{eOe(this,t);break}case Rn.IN_CELL:{n4t(this,t);break}case Rn.IN_SELECT:{rOe(this,t);break}case Rn.IN_SELECT_IN_TABLE:{i4t(this,t);break}case Rn.IN_TEMPLATE:{s4t(this,t);break}case Rn.AFTER_BODY:{aOe(this,t);break}case Rn.IN_FRAMESET:{u4t(this,t);break}case Rn.AFTER_FRAMESET:{f4t(this,t);break}case Rn.AFTER_AFTER_BODY:{E9(this,t);break}}}onEof(t){switch(this.insertionMode){case Rn.INITIAL:{Ek(this,t);break}case Rn.BEFORE_HTML:{Sk(this,t);break}case Rn.BEFORE_HEAD:{wk(this,t);break}case Rn.IN_HEAD:{Tk(this,t);break}case Rn.IN_HEAD_NO_SCRIPT:{Ak(this,t);break}case Rn.AFTER_HEAD:{Ck(this,t);break}case Rn.IN_BODY:case Rn.IN_TABLE:case Rn.IN_CAPTION:case Rn.IN_COLUMN_GROUP:case Rn.IN_TABLE_BODY:case Rn.IN_ROW:case Rn.IN_CELL:case Rn.IN_SELECT:case Rn.IN_SELECT_IN_TABLE:{q9e(this,t);break}case Rn.TEXT:{GSt(this,t);break}case Rn.IN_TABLE_TEXT:{Rk(this,t);break}case Rn.IN_TEMPLATE:{nOe(this,t);break}case Rn.AFTER_BODY:case Rn.IN_FRAMESET:case Rn.AFTER_FRAMESET:case Rn.AFTER_AFTER_BODY:case Rn.AFTER_AFTER_FRAMESET:{Y1e(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===Yr.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case Rn.IN_HEAD:case Rn.IN_HEAD_NO_SCRIPT:case Rn.AFTER_HEAD:case Rn.TEXT:case Rn.IN_COLUMN_GROUP:case Rn.IN_SELECT:case Rn.IN_SELECT_IN_TABLE:case Rn.IN_FRAMESET:case Rn.AFTER_FRAMESET:{this._insertCharacters(t);break}case Rn.IN_BODY:case Rn.IN_CAPTION:case Rn.IN_CELL:case Rn.IN_TEMPLATE:case Rn.AFTER_BODY:case Rn.AFTER_AFTER_BODY:case Rn.AFTER_AFTER_FRAMESET:{V9e(this,t);break}case Rn.IN_TABLE:case Rn.IN_TABLE_BODY:case Rn.IN_ROW:{W1e(this,t);break}case Rn.IN_TABLE_TEXT:{Z9e(this,t);break}}}}function $Et(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):X9e(e,t),r}function HEt(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){const o=e.openElements.items[n];if(o===t.element)break;e._isSpecialElement(o,e.openElements.tagIDs[n])&&(r=o)}return r||(e.openElements.shortenToLength(n<0?0:n),e.activeFormattingElements.removeEntry(t)),r}function VEt(e,t,r){let n=t,o=e.openElements.getCommonAncestor(t);for(let m=0,u=o;u!==r;m++,u=o){o=e.openElements.getCommonAncestor(u);const h=e.activeFormattingElements.getElementEntry(u),a=h&&m>=zEt;!h||a?(a&&e.activeFormattingElements.removeEntry(h),e.openElements.remove(u)):(u=GEt(e,h),n===t&&(e.activeFormattingElements.bookmark=h),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(u,n),n=u)}return n}function GEt(e,t){const r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function jEt(e,t,r){const n=e.treeAdapter.getTagName(t),o=DT(n);if(e._isElementCausesFosterParenting(o))e._fosterParentElement(r);else{const m=e.treeAdapter.getNamespaceURI(t);o===xt.TEMPLATE&&m===Da.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function YEt(e,t,r){const n=e.treeAdapter.getNamespaceURI(r.element),{token:o}=r,m=e.treeAdapter.createElement(o.tagName,n,o.attrs);e._adoptNodes(t,m),e.treeAdapter.appendChild(t,m),e.activeFormattingElements.insertElementAfterBookmark(m,o),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,m,o.tagID)}function G1e(e,t){for(let r=0;r<BEt;r++){const n=$Et(e,t);if(!n)break;const o=HEt(e,n);if(!o)break;e.activeFormattingElements.bookmark=n;const m=VEt(e,o,n.element),u=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(m),u&&jEt(e,u,m),YEt(e,o,n)}}function j1e(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function WEt(e,t){e._appendCommentNode(t,e.openElements.items[0])}function KEt(e,t){e._appendCommentNode(t,e.document)}function Y1e(e,t){if(e.stopped=!0,t.location){const r=e.fragmentContext?0:2;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],o=e.treeAdapter.getNodeSourceCodeLocation(n);if(o&&!o.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const m=e.openElements.items[1],u=e.treeAdapter.getNodeSourceCodeLocation(m);u&&!u.endTag&&e._setEndLocation(m,t)}}}}function XEt(e,t){e._setDocumentType(t);const r=t.forceQuirks?jp.QUIRKS:TEt(t);wEt(t)||e._err(t,Aa.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=Rn.BEFORE_HTML}function Ek(e,t){e._err(t,Aa.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,jp.QUIRKS),e.insertionMode=Rn.BEFORE_HTML,e._processToken(t)}function qEt(e,t){t.tagID===xt.HTML?(e._insertElement(t,Da.HTML),e.insertionMode=Rn.BEFORE_HEAD):Sk(e,t)}function ZEt(e,t){const r=t.tagID;(r===xt.HTML||r===xt.HEAD||r===xt.BODY||r===xt.BR)&&Sk(e,t)}function Sk(e,t){e._insertFakeRootElement(),e.insertionMode=Rn.BEFORE_HEAD,e._processToken(t)}function QEt(e,t){switch(t.tagID){case xt.HTML:{hf(e,t);break}case xt.HEAD:{e._insertElement(t,Da.HTML),e.headElement=e.openElements.current,e.insertionMode=Rn.IN_HEAD;break}default:wk(e,t)}}function JEt(e,t){const r=t.tagID;r===xt.HEAD||r===xt.BODY||r===xt.HTML||r===xt.BR?wk(e,t):e._err(t,Aa.endTagWithoutMatchingOpenElement)}function wk(e,t){e._insertFakeElement(pa.HEAD,xt.HEAD),e.headElement=e.openElements.current,e.insertionMode=Rn.IN_HEAD,e._processToken(t)}function z1(e,t){switch(t.tagID){case xt.HTML:{hf(e,t);break}case xt.BASE:case xt.BASEFONT:case xt.BGSOUND:case xt.LINK:case xt.META:{e._appendElement(t,Da.HTML),t.ackSelfClosing=!0;break}case xt.TITLE:{e._switchToTextParsing(t,Jc.RCDATA);break}case xt.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Jc.RAWTEXT):(e._insertElement(t,Da.HTML),e.insertionMode=Rn.IN_HEAD_NO_SCRIPT);break}case xt.NOFRAMES:case xt.STYLE:{e._switchToTextParsing(t,Jc.RAWTEXT);break}case xt.SCRIPT:{e._switchToTextParsing(t,Jc.SCRIPT_DATA);break}case xt.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Rn.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Rn.IN_TEMPLATE);break}case xt.HEAD:{e._err(t,Aa.misplacedStartTagForHeadElement);break}default:Tk(e,t)}}function eSt(e,t){switch(t.tagID){case xt.HEAD:{e.openElements.pop(),e.insertionMode=Rn.AFTER_HEAD;break}case xt.BODY:case xt.BR:case xt.HTML:{Tk(e,t);break}case xt.TEMPLATE:{Ax(e,t);break}default:e._err(t,Aa.endTagWithoutMatchingOpenElement)}}function Ax(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==xt.TEMPLATE&&e._err(t,Aa.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(xt.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,Aa.endTagWithoutMatchingOpenElement)}function Tk(e,t){e.openElements.pop(),e.insertionMode=Rn.AFTER_HEAD,e._processToken(t)}function tSt(e,t){switch(t.tagID){case xt.HTML:{hf(e,t);break}case xt.BASEFONT:case xt.BGSOUND:case xt.HEAD:case xt.LINK:case xt.META:case xt.NOFRAMES:case xt.STYLE:{z1(e,t);break}case xt.NOSCRIPT:{e._err(t,Aa.nestedNoscriptInHead);break}default:Ak(e,t)}}function rSt(e,t){switch(t.tagID){case xt.NOSCRIPT:{e.openElements.pop(),e.insertionMode=Rn.IN_HEAD;break}case xt.BR:{Ak(e,t);break}default:e._err(t,Aa.endTagWithoutMatchingOpenElement)}}function Ak(e,t){const r=t.type===hs.EOF?Aa.openElementsLeftAfterEof:Aa.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=Rn.IN_HEAD,e._processToken(t)}function nSt(e,t){switch(t.tagID){case xt.HTML:{hf(e,t);break}case xt.BODY:{e._insertElement(t,Da.HTML),e.framesetOk=!1,e.insertionMode=Rn.IN_BODY;break}case xt.FRAMESET:{e._insertElement(t,Da.HTML),e.insertionMode=Rn.IN_FRAMESET;break}case xt.BASE:case xt.BASEFONT:case xt.BGSOUND:case xt.LINK:case xt.META:case xt.NOFRAMES:case xt.SCRIPT:case xt.STYLE:case xt.TEMPLATE:case xt.TITLE:{e._err(t,Aa.abandonedHeadElementChild),e.openElements.push(e.headElement,xt.HEAD),z1(e,t),e.openElements.remove(e.headElement);break}case xt.HEAD:{e._err(t,Aa.misplacedStartTagForHeadElement);break}default:Ck(e,t)}}function aSt(e,t){switch(t.tagID){case xt.BODY:case xt.HTML:case xt.BR:{Ck(e,t);break}case xt.TEMPLATE:{Ax(e,t);break}default:e._err(t,Aa.endTagWithoutMatchingOpenElement)}}function Ck(e,t){e._insertFakeElement(pa.BODY,xt.BODY),e.insertionMode=Rn.IN_BODY,m9(e,t)}function m9(e,t){switch(t.type){case hs.CHARACTER:{G9e(e,t);break}case hs.WHITESPACE_CHARACTER:{V9e(e,t);break}case hs.COMMENT:{j1e(e,t);break}case hs.START_TAG:{hf(e,t);break}case hs.END_TAG:{g9(e,t);break}case hs.EOF:{q9e(e,t);break}}}function V9e(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function G9e(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function iSt(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function oSt(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function sSt(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Da.HTML),e.insertionMode=Rn.IN_FRAMESET)}function lSt(e,t){e.openElements.hasInButtonScope(xt.P)&&e._closePElement(),e._insertElement(t,Da.HTML)}function cSt(e,t){e.openElements.hasInButtonScope(xt.P)&&e._closePElement(),w9e(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Da.HTML)}function uSt(e,t){e.openElements.hasInButtonScope(xt.P)&&e._closePElement(),e._insertElement(t,Da.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function dSt(e,t){const r=e.openElements.tmplCount>0;(!e.formElement||r)&&(e.openElements.hasInButtonScope(xt.P)&&e._closePElement(),e._insertElement(t,Da.HTML),r||(e.formElement=e.openElements.current))}function fSt(e,t){e.framesetOk=!1;const r=t.tagID;for(let n=e.openElements.stackTop;n>=0;n--){const o=e.openElements.tagIDs[n];if(r===xt.LI&&o===xt.LI||(r===xt.DD||r===xt.DT)&&(o===xt.DD||o===xt.DT)){e.openElements.generateImpliedEndTagsWithExclusion(o),e.openElements.popUntilTagNamePopped(o);break}if(o!==xt.ADDRESS&&o!==xt.DIV&&o!==xt.P&&e._isSpecialElement(e.openElements.items[n],o))break}e.openElements.hasInButtonScope(xt.P)&&e._closePElement(),e._insertElement(t,Da.HTML)}function hSt(e,t){e.openElements.hasInButtonScope(xt.P)&&e._closePElement(),e._insertElement(t,Da.HTML),e.tokenizer.state=Jc.PLAINTEXT}function pSt(e,t){e.openElements.hasInScope(xt.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(xt.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Da.HTML),e.framesetOk=!1}function vSt(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(pa.A);r&&(G1e(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,Da.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function mSt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Da.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function gSt(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(xt.NOBR)&&(G1e(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Da.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function ySt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Da.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function _St(e,t){e.treeAdapter.getDocumentMode(e.document)!==jp.QUIRKS&&e.openElements.hasInButtonScope(xt.P)&&e._closePElement(),e._insertElement(t,Da.HTML),e.framesetOk=!1,e.insertionMode=Rn.IN_TABLE}function j9e(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Da.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Y9e(e){const t=b9e(e,C2.TYPE);return t!=null&&t.toLowerCase()===FEt}function xSt(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Da.HTML),Y9e(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function bSt(e,t){e._appendElement(t,Da.HTML),t.ackSelfClosing=!0}function ESt(e,t){e.openElements.hasInButtonScope(xt.P)&&e._closePElement(),e._appendElement(t,Da.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function SSt(e,t){t.tagName=pa.IMG,t.tagID=xt.IMG,j9e(e,t)}function wSt(e,t){e._insertElement(t,Da.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Jc.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Rn.TEXT}function TSt(e,t){e.openElements.hasInButtonScope(xt.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Jc.RAWTEXT)}function ASt(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Jc.RAWTEXT)}function W9e(e,t){e._switchToTextParsing(t,Jc.RAWTEXT)}function CSt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Da.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Rn.IN_TABLE||e.insertionMode===Rn.IN_CAPTION||e.insertionMode===Rn.IN_TABLE_BODY||e.insertionMode===Rn.IN_ROW||e.insertionMode===Rn.IN_CELL?Rn.IN_SELECT_IN_TABLE:Rn.IN_SELECT}function kSt(e,t){e.openElements.currentTagId===xt.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Da.HTML)}function MSt(e,t){e.openElements.hasInScope(xt.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Da.HTML)}function RSt(e,t){e.openElements.hasInScope(xt.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(xt.RTC),e._insertElement(t,Da.HTML)}function NSt(e,t){e._reconstructActiveFormattingElements(),B9e(t),V1e(t),t.selfClosing?e._appendElement(t,Da.MATHML):e._insertElement(t,Da.MATHML),t.ackSelfClosing=!0}function ISt(e,t){e._reconstructActiveFormattingElements(),z9e(t),V1e(t),t.selfClosing?e._appendElement(t,Da.SVG):e._insertElement(t,Da.SVG),t.ackSelfClosing=!0}function K9e(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Da.HTML)}function hf(e,t){switch(t.tagID){case xt.I:case xt.S:case xt.B:case xt.U:case xt.EM:case xt.TT:case xt.BIG:case xt.CODE:case xt.FONT:case xt.SMALL:case xt.STRIKE:case xt.STRONG:{mSt(e,t);break}case xt.A:{vSt(e,t);break}case xt.H1:case xt.H2:case xt.H3:case xt.H4:case xt.H5:case xt.H6:{cSt(e,t);break}case xt.P:case xt.DL:case xt.OL:case xt.UL:case xt.DIV:case xt.DIR:case xt.NAV:case xt.MAIN:case xt.MENU:case xt.ASIDE:case xt.CENTER:case xt.FIGURE:case xt.FOOTER:case xt.HEADER:case xt.HGROUP:case xt.DIALOG:case xt.DETAILS:case xt.ADDRESS:case xt.ARTICLE:case xt.SECTION:case xt.SUMMARY:case xt.FIELDSET:case xt.BLOCKQUOTE:case xt.FIGCAPTION:{lSt(e,t);break}case xt.LI:case xt.DD:case xt.DT:{fSt(e,t);break}case xt.BR:case xt.IMG:case xt.WBR:case xt.AREA:case xt.EMBED:case xt.KEYGEN:{j9e(e,t);break}case xt.HR:{ESt(e,t);break}case xt.RB:case xt.RTC:{MSt(e,t);break}case xt.RT:case xt.RP:{RSt(e,t);break}case xt.PRE:case xt.LISTING:{uSt(e,t);break}case xt.XMP:{TSt(e,t);break}case xt.SVG:{ISt(e,t);break}case xt.HTML:{iSt(e,t);break}case xt.BASE:case xt.LINK:case xt.META:case xt.STYLE:case xt.TITLE:case xt.SCRIPT:case xt.BGSOUND:case xt.BASEFONT:case xt.TEMPLATE:{z1(e,t);break}case xt.BODY:{oSt(e,t);break}case xt.FORM:{dSt(e,t);break}case xt.NOBR:{gSt(e,t);break}case xt.MATH:{NSt(e,t);break}case xt.TABLE:{_St(e,t);break}case xt.INPUT:{xSt(e,t);break}case xt.PARAM:case xt.TRACK:case xt.SOURCE:{bSt(e,t);break}case xt.IMAGE:{SSt(e,t);break}case xt.BUTTON:{pSt(e,t);break}case xt.APPLET:case xt.OBJECT:case xt.MARQUEE:{ySt(e,t);break}case xt.IFRAME:{ASt(e,t);break}case xt.SELECT:{CSt(e,t);break}case xt.OPTION:case xt.OPTGROUP:{kSt(e,t);break}case xt.NOEMBED:{W9e(e,t);break}case xt.FRAMESET:{sSt(e,t);break}case xt.TEXTAREA:{wSt(e,t);break}case xt.NOSCRIPT:{e.options.scriptingEnabled?W9e(e,t):K9e(e,t);break}case xt.PLAINTEXT:{hSt(e,t);break}case xt.COL:case xt.TH:case xt.TD:case xt.TR:case xt.HEAD:case xt.FRAME:case xt.TBODY:case xt.TFOOT:case xt.THEAD:case xt.CAPTION:case xt.COLGROUP:break;default:K9e(e,t)}}function LSt(e,t){if(e.openElements.hasInScope(xt.BODY)&&(e.insertionMode=Rn.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function OSt(e,t){e.openElements.hasInScope(xt.BODY)&&(e.insertionMode=Rn.AFTER_BODY,aOe(e,t))}function DSt(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function PSt(e){const t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(xt.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(xt.FORM):r&&e.openElements.remove(r))}function FSt(e){e.openElements.hasInButtonScope(xt.P)||e._insertFakeElement(pa.P,xt.P),e._closePElement()}function BSt(e){e.openElements.hasInListItemScope(xt.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(xt.LI),e.openElements.popUntilTagNamePopped(xt.LI))}function zSt(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function USt(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function $St(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function HSt(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(pa.BR,xt.BR),e.openElements.pop(),e.framesetOk=!1}function X9e(e,t){const r=t.tagName,n=t.tagID;for(let o=e.openElements.stackTop;o>0;o--){const m=e.openElements.items[o],u=e.openElements.tagIDs[o];if(n===u&&(n!==xt.UNKNOWN||e.treeAdapter.getTagName(m)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=o&&e.openElements.shortenToLength(o);break}if(e._isSpecialElement(m,u))break}}function g9(e,t){switch(t.tagID){case xt.A:case xt.B:case xt.I:case xt.S:case xt.U:case xt.EM:case xt.TT:case xt.BIG:case xt.CODE:case xt.FONT:case xt.NOBR:case xt.SMALL:case xt.STRIKE:case xt.STRONG:{G1e(e,t);break}case xt.P:{FSt(e);break}case xt.DL:case xt.UL:case xt.OL:case xt.DIR:case xt.DIV:case xt.NAV:case xt.PRE:case xt.MAIN:case xt.MENU:case xt.ASIDE:case xt.BUTTON:case xt.CENTER:case xt.FIGURE:case xt.FOOTER:case xt.HEADER:case xt.HGROUP:case xt.DIALOG:case xt.ADDRESS:case xt.ARTICLE:case xt.DETAILS:case xt.SECTION:case xt.SUMMARY:case xt.LISTING:case xt.FIELDSET:case xt.BLOCKQUOTE:case xt.FIGCAPTION:{DSt(e,t);break}case xt.LI:{BSt(e);break}case xt.DD:case xt.DT:{zSt(e,t);break}case xt.H1:case xt.H2:case xt.H3:case xt.H4:case xt.H5:case xt.H6:{USt(e);break}case xt.BR:{HSt(e);break}case xt.BODY:{LSt(e,t);break}case xt.HTML:{OSt(e,t);break}case xt.FORM:{PSt(e);break}case xt.APPLET:case xt.OBJECT:case xt.MARQUEE:{$St(e,t);break}case xt.TEMPLATE:{Ax(e,t);break}default:X9e(e,t)}}function q9e(e,t){e.tmplInsertionModeStack.length>0?nOe(e,t):Y1e(e,t)}function VSt(e,t){var r;t.tagID===xt.SCRIPT&&((r=e.scriptHandler)===null||r===void 0||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function GSt(e,t){e._err(t,Aa.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function W1e(e,t){if(U9e.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Rn.IN_TABLE_TEXT,t.type){case hs.CHARACTER:{Q9e(e,t);break}case hs.WHITESPACE_CHARACTER:{Z9e(e,t);break}}else Mk(e,t)}function jSt(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Da.HTML),e.insertionMode=Rn.IN_CAPTION}function YSt(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Da.HTML),e.insertionMode=Rn.IN_COLUMN_GROUP}function WSt(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(pa.COLGROUP,xt.COLGROUP),e.insertionMode=Rn.IN_COLUMN_GROUP,K1e(e,t)}function KSt(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Da.HTML),e.insertionMode=Rn.IN_TABLE_BODY}function XSt(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(pa.TBODY,xt.TBODY),e.insertionMode=Rn.IN_TABLE_BODY,_9(e,t)}function qSt(e,t){e.openElements.hasInTableScope(xt.TABLE)&&(e.openElements.popUntilTagNamePopped(xt.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function ZSt(e,t){Y9e(t)?e._appendElement(t,Da.HTML):Mk(e,t),t.ackSelfClosing=!0}function QSt(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,Da.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function FT(e,t){switch(t.tagID){case xt.TD:case xt.TH:case xt.TR:{XSt(e,t);break}case xt.STYLE:case xt.SCRIPT:case xt.TEMPLATE:{z1(e,t);break}case xt.COL:{WSt(e,t);break}case xt.FORM:{QSt(e,t);break}case xt.TABLE:{qSt(e,t);break}case xt.TBODY:case xt.TFOOT:case xt.THEAD:{KSt(e,t);break}case xt.INPUT:{ZSt(e,t);break}case xt.CAPTION:{jSt(e,t);break}case xt.COLGROUP:{YSt(e,t);break}default:Mk(e,t)}}function kk(e,t){switch(t.tagID){case xt.TABLE:{e.openElements.hasInTableScope(xt.TABLE)&&(e.openElements.popUntilTagNamePopped(xt.TABLE),e._resetInsertionMode());break}case xt.TEMPLATE:{Ax(e,t);break}case xt.BODY:case xt.CAPTION:case xt.COL:case xt.COLGROUP:case xt.HTML:case xt.TBODY:case xt.TD:case xt.TFOOT:case xt.TH:case xt.THEAD:case xt.TR:break;default:Mk(e,t)}}function Mk(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,m9(e,t),e.fosterParentingEnabled=r}function Z9e(e,t){e.pendingCharacterTokens.push(t)}function Q9e(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Rk(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)Mk(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const J9e=new Set([xt.CAPTION,xt.COL,xt.COLGROUP,xt.TBODY,xt.TD,xt.TFOOT,xt.TH,xt.THEAD,xt.TR]);function JSt(e,t){const r=t.tagID;J9e.has(r)?e.openElements.hasInTableScope(xt.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(xt.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Rn.IN_TABLE,FT(e,t)):hf(e,t)}function e4t(e,t){const r=t.tagID;switch(r){case xt.CAPTION:case xt.TABLE:{e.openElements.hasInTableScope(xt.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(xt.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Rn.IN_TABLE,r===xt.TABLE&&kk(e,t));break}case xt.BODY:case xt.COL:case xt.COLGROUP:case xt.HTML:case xt.TBODY:case xt.TD:case xt.TFOOT:case xt.TH:case xt.THEAD:case xt.TR:break;default:g9(e,t)}}function K1e(e,t){switch(t.tagID){case xt.HTML:{hf(e,t);break}case xt.COL:{e._appendElement(t,Da.HTML),t.ackSelfClosing=!0;break}case xt.TEMPLATE:{z1(e,t);break}default:y9(e,t)}}function t4t(e,t){switch(t.tagID){case xt.COLGROUP:{e.openElements.currentTagId===xt.COLGROUP&&(e.openElements.pop(),e.insertionMode=Rn.IN_TABLE);break}case xt.TEMPLATE:{Ax(e,t);break}case xt.COL:break;default:y9(e,t)}}function y9(e,t){e.openElements.currentTagId===xt.COLGROUP&&(e.openElements.pop(),e.insertionMode=Rn.IN_TABLE,e._processToken(t))}function _9(e,t){switch(t.tagID){case xt.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,Da.HTML),e.insertionMode=Rn.IN_ROW;break}case xt.TH:case xt.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(pa.TR,xt.TR),e.insertionMode=Rn.IN_ROW,x9(e,t);break}case xt.CAPTION:case xt.COL:case xt.COLGROUP:case xt.TBODY:case xt.TFOOT:case xt.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Rn.IN_TABLE,FT(e,t));break}default:FT(e,t)}}function X1e(e,t){const r=t.tagID;switch(t.tagID){case xt.TBODY:case xt.TFOOT:case xt.THEAD:{e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Rn.IN_TABLE);break}case xt.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Rn.IN_TABLE,kk(e,t));break}case xt.BODY:case xt.CAPTION:case xt.COL:case xt.COLGROUP:case xt.HTML:case xt.TD:case xt.TH:case xt.TR:break;default:kk(e,t)}}function x9(e,t){switch(t.tagID){case xt.TH:case xt.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,Da.HTML),e.insertionMode=Rn.IN_CELL,e.activeFormattingElements.insertMarker();break}case xt.CAPTION:case xt.COL:case xt.COLGROUP:case xt.TBODY:case xt.TFOOT:case xt.THEAD:case xt.TR:{e.openElements.hasInTableScope(xt.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Rn.IN_TABLE_BODY,_9(e,t));break}default:FT(e,t)}}function eOe(e,t){switch(t.tagID){case xt.TR:{e.openElements.hasInTableScope(xt.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Rn.IN_TABLE_BODY);break}case xt.TABLE:{e.openElements.hasInTableScope(xt.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Rn.IN_TABLE_BODY,X1e(e,t));break}case xt.TBODY:case xt.TFOOT:case xt.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(xt.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Rn.IN_TABLE_BODY,X1e(e,t));break}case xt.BODY:case xt.CAPTION:case xt.COL:case xt.COLGROUP:case xt.HTML:case xt.TD:case xt.TH:break;default:kk(e,t)}}function r4t(e,t){const r=t.tagID;J9e.has(r)?(e.openElements.hasInTableScope(xt.TD)||e.openElements.hasInTableScope(xt.TH))&&(e._closeTableCell(),x9(e,t)):hf(e,t)}function n4t(e,t){const r=t.tagID;switch(r){case xt.TD:case xt.TH:{e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Rn.IN_ROW);break}case xt.TABLE:case xt.TBODY:case xt.TFOOT:case xt.THEAD:case xt.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),eOe(e,t));break}case xt.BODY:case xt.CAPTION:case xt.COL:case xt.COLGROUP:case xt.HTML:break;default:g9(e,t)}}function tOe(e,t){switch(t.tagID){case xt.HTML:{hf(e,t);break}case xt.OPTION:{e.openElements.currentTagId===xt.OPTION&&e.openElements.pop(),e._insertElement(t,Da.HTML);break}case xt.OPTGROUP:{e.openElements.currentTagId===xt.OPTION&&e.openElements.pop(),e.openElements.currentTagId===xt.OPTGROUP&&e.openElements.pop(),e._insertElement(t,Da.HTML);break}case xt.INPUT:case xt.KEYGEN:case xt.TEXTAREA:case xt.SELECT:{e.openElements.hasInSelectScope(xt.SELECT)&&(e.openElements.popUntilTagNamePopped(xt.SELECT),e._resetInsertionMode(),t.tagID!==xt.SELECT&&e._processStartTag(t));break}case xt.SCRIPT:case xt.TEMPLATE:{z1(e,t);break}}}function rOe(e,t){switch(t.tagID){case xt.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===xt.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===xt.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===xt.OPTGROUP&&e.openElements.pop();break}case xt.OPTION:{e.openElements.currentTagId===xt.OPTION&&e.openElements.pop();break}case xt.SELECT:{e.openElements.hasInSelectScope(xt.SELECT)&&(e.openElements.popUntilTagNamePopped(xt.SELECT),e._resetInsertionMode());break}case xt.TEMPLATE:{Ax(e,t);break}}}function a4t(e,t){const r=t.tagID;r===xt.CAPTION||r===xt.TABLE||r===xt.TBODY||r===xt.TFOOT||r===xt.THEAD||r===xt.TR||r===xt.TD||r===xt.TH?(e.openElements.popUntilTagNamePopped(xt.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tOe(e,t)}function i4t(e,t){const r=t.tagID;r===xt.CAPTION||r===xt.TABLE||r===xt.TBODY||r===xt.TFOOT||r===xt.THEAD||r===xt.TR||r===xt.TD||r===xt.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(xt.SELECT),e._resetInsertionMode(),e.onEndTag(t)):rOe(e,t)}function o4t(e,t){switch(t.tagID){case xt.BASE:case xt.BASEFONT:case xt.BGSOUND:case xt.LINK:case xt.META:case xt.NOFRAMES:case xt.SCRIPT:case xt.STYLE:case xt.TEMPLATE:case xt.TITLE:{z1(e,t);break}case xt.CAPTION:case xt.COLGROUP:case xt.TBODY:case xt.TFOOT:case xt.THEAD:{e.tmplInsertionModeStack[0]=Rn.IN_TABLE,e.insertionMode=Rn.IN_TABLE,FT(e,t);break}case xt.COL:{e.tmplInsertionModeStack[0]=Rn.IN_COLUMN_GROUP,e.insertionMode=Rn.IN_COLUMN_GROUP,K1e(e,t);break}case xt.TR:{e.tmplInsertionModeStack[0]=Rn.IN_TABLE_BODY,e.insertionMode=Rn.IN_TABLE_BODY,_9(e,t);break}case xt.TD:case xt.TH:{e.tmplInsertionModeStack[0]=Rn.IN_ROW,e.insertionMode=Rn.IN_ROW,x9(e,t);break}default:e.tmplInsertionModeStack[0]=Rn.IN_BODY,e.insertionMode=Rn.IN_BODY,hf(e,t)}}function s4t(e,t){t.tagID===xt.TEMPLATE&&Ax(e,t)}function nOe(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(xt.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Y1e(e,t)}function l4t(e,t){t.tagID===xt.HTML?hf(e,t):b9(e,t)}function aOe(e,t){var r;if(t.tagID===xt.HTML){if(e.fragmentContext||(e.insertionMode=Rn.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===xt.HTML){e._setEndLocation(e.openElements.items[0],t);const n=e.openElements.items[1];n&&!(!((r=e.treeAdapter.getNodeSourceCodeLocation(n))===null||r===void 0)&&r.endTag)&&e._setEndLocation(n,t)}}else b9(e,t)}function b9(e,t){e.insertionMode=Rn.IN_BODY,m9(e,t)}function c4t(e,t){switch(t.tagID){case xt.HTML:{hf(e,t);break}case xt.FRAMESET:{e._insertElement(t,Da.HTML);break}case xt.FRAME:{e._appendElement(t,Da.HTML),t.ackSelfClosing=!0;break}case xt.NOFRAMES:{z1(e,t);break}}}function u4t(e,t){t.tagID===xt.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==xt.FRAMESET&&(e.insertionMode=Rn.AFTER_FRAMESET))}function d4t(e,t){switch(t.tagID){case xt.HTML:{hf(e,t);break}case xt.NOFRAMES:{z1(e,t);break}}}function f4t(e,t){t.tagID===xt.HTML&&(e.insertionMode=Rn.AFTER_AFTER_FRAMESET)}function h4t(e,t){t.tagID===xt.HTML?hf(e,t):E9(e,t)}function E9(e,t){e.insertionMode=Rn.IN_BODY,m9(e,t)}function p4t(e,t){switch(t.tagID){case xt.HTML:{hf(e,t);break}case xt.NOFRAMES:{z1(e,t);break}}}function v4t(e,t){t.chars=ic,e._insertCharacters(t)}function m4t(e,t){e._insertCharacters(t),e.framesetOk=!1}function iOe(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Da.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function g4t(e,t){if(IEt(t))iOe(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===Da.MATHML?B9e(t):n===Da.SVG&&(LEt(t),z9e(t)),V1e(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function y4t(e,t){if(t.tagID===xt.P||t.tagID===xt.BR){iOe(e),e._endTagOutsideForeignContent(t);return}for(let r=e.openElements.stackTop;r>0;r--){const n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===Da.HTML){e._endTagOutsideForeignContent(t);break}const o=e.treeAdapter.getTagName(n);if(o.toLowerCase()===t.tagName){t.tagName=o,e.openElements.shortenToLength(r);break}}}pa.AREA,pa.BASE,pa.BASEFONT,pa.BGSOUND,pa.BR,pa.COL,pa.EMBED,pa.FRAME,pa.HR,pa.IMG,pa.INPUT,pa.KEYGEN,pa.LINK,pa.META,pa.PARAM,pa.SOURCE,pa.TRACK,pa.WBR;const _4t=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),oOe={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function sOe(e,t){const r=M4t(e),n=m9e("type",{handlers:{root:x4t,element:b4t,text:E4t,comment:cOe,doctype:S4t,raw:T4t},unknown:A4t}),o={parser:r?new H9e(oOe):H9e.getFragmentParser(void 0,oOe),handle(h){n(h,o)},stitches:!1,options:t||{}};n(e,o),BT(o,$v());const m=r?o.parser.document:o.parser.getFragment(),u=N3t(m,{file:o.options.file});return o.stitches&&CT(u,"comment",function(h,a,l){const v=h;if(v.value.stitch&&l&&a!==void 0){const i=l.children;return i[a]=v.value.stitch,a}}),u.type==="root"&&u.children.length===1&&u.children[0].type===e.type?u.children[0]:u}function lOe(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function x4t(e,t){lOe(e.children,t)}function b4t(e,t){C4t(e,t),lOe(e.children,t),k4t(e,t)}function E4t(e,t){const r={type:hs.CHARACTER,chars:e.value,location:Nk(e)};BT(t,$v(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function S4t(e,t){const r={type:hs.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Nk(e)};BT(t,$v(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function w4t(e,t){t.stitches=!0;const r=R4t(e);if("children"in e&&"children"in r){const n=sOe({type:"root",children:e.children},t.options);r.children=n.children}cOe({type:"comment",value:{stitch:r}},t)}function cOe(e,t){const r=e.value,n={type:hs.COMMENT,data:r,location:Nk(e)};BT(t,$v(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function T4t(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,uOe(t,$v(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const r=t.parser.tokenizer._consume();t.parser.tokenizer._callState(r)}}function A4t(e,t){const r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))w4t(r,t);else{let n="";throw _4t.has(r.type)&&(n=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+r.type+"` node"+n)}}function BT(e,t){uOe(e,t);const r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Jc.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function uOe(e,t){if(t&&t.offset!==void 0){const r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=r}}function C4t(e,t){if(t.parser.tokenizer.state===Jc.PLAINTEXT)return;BT(t,$v(e));const r=t.parser.openElements.current;let n="namespaceURI"in r?r.namespaceURI:Vv.html;n===Vv.html&&e.tagName==="svg"&&(n=Vv.svg);const o=P3t({...e,children:[]},{space:n===Vv.svg?"svg":"html"}),m="attrs"in o?o.attrs:[],u={type:hs.START_TAG,tagName:e.tagName,tagID:DT(e.tagName),selfClosing:!1,ackSelfClosing:!1,attrs:m,location:Nk(e)};t.parser.currentToken=u,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=e.tagName}function k4t(e,t){if(!t.parser.tokenizer.inForeignNode&&G3t.includes(e.tagName)||t.parser.tokenizer.state===Jc.PLAINTEXT)return;BT(t,RL(e));const r={type:hs.END_TAG,tagName:e.tagName,tagID:DT(e.tagName),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Nk(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),r.tagName===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Jc.RCDATA||t.parser.tokenizer.state===Jc.RAWTEXT||t.parser.tokenizer.state===Jc.SCRIPT_DATA)&&(t.parser.tokenizer.state=Jc.DATA)}function M4t(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName==="html"))}function Nk(e){const t=$v(e)||{line:void 0,column:void 0,offset:void 0},r=RL(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function R4t(e){return"children"in e?AT({...e,children:[]}):AT(e)}function N4t(e){return function(t,r){return sOe(t,{...e,file:r})}}function S9(e,t){const r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,o=r.indexOf(t);for(;o!==-1;)n++,o=r.indexOf(t,o+t.length);return n}const I4t=["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"],dOe={0:"<22>",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 fOe(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function L4t(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function O4t(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function hOe(e){return O4t(e)||fOe(e)}const zT=String.fromCharCode,D4t=["","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 q1e(e,t={}){const r=typeof t.additional=="string"?t.additional.charCodeAt(0):t.additional,n=[];let o=0,m=-1,u="",h,a;t.position&&("start"in t.position||"indent"in t.position?(a=t.position.indent,h=t.position.start):h=t.position);let l=(h?h.line:0)||1,v=(h?h.column:0)||1,i=g(),S;for(o--;++o<=e.length;)if(S===10&&(v=(a?a[m]:0)||1),S=e.charCodeAt(o),S===38){const c=e.charCodeAt(o+1);if(c===9||c===10||c===12||c===32||c===38||c===60||Number.isNaN(c)||r&&c===r){u+=zT(S),v++;continue}const s=o+1;let d=s,f=s,b;if(c===35){f=++d;const k=e.charCodeAt(f);k===88||k===120?(b="hexadecimal",f=++d):b="decimal"}else b="named";let x="",y="",C="";const w=b==="named"?hOe:b==="decimal"?fOe:L4t;for(f--;++f<=e.length;){const k=e.charCodeAt(f);if(!w(k))break;C+=zT(k),b==="named"&&I4t.includes(C)&&(x=C,y=lk(C))}let R=e.charCodeAt(f)===59;if(R){f++;const k=b==="named"?lk(C):!1;k&&(x=C,y=k)}let A=1+f-s,E="";if(!(!R&&t.nonTerminated===!1))if(!C)b!=="named"&&p(4,A);else if(b==="named"){if(R&&!y)p(5,1);else if(x!==C&&(f=d+x.length,A=1+f-d,R=!1),!R){const k=x?1:3;if(t.attribute){const L=e.charCodeAt(f);L===61?(p(k,A),y=""):hOe(L)?y="":p(k,A)}else p(k,A)}E=y}else{R||p(2,A);let k=Number.parseInt(C,b==="hexadecimal"?16:10);if(P4t(k))p(7,A),E=zT(65533);else if(k in dOe)p(6,A),E=dOe[k];else{let L="";F4t(k)&&p(6,A),k>65535&&(k-=65536,L+=zT(k>>>10|55296),k=56320|k&1023),E=L+zT(k)}}if(E){_(),i=g(),o=f-1,v+=f-s+1,n.push(E);const k=g();k.offset++,t.reference&&t.reference.call(t.referenceContext,E,{start:i,end:k},e.slice(s-1,f)),i=k}else C=e.slice(s-1,f),u+=C,v+=C.length,o=f-1}else S===10&&(l++,m++,v=0),Number.isNaN(S)?_():(u+=zT(S),v++);return n.join("");function g(){return{line:l,column:v,offset:o+((h?h.offset:0)||0)}}function p(c,s){let d;t.warning&&(d=g(),d.column+=s,d.offset+=s,t.warning.call(t.warningContext,D4t[c],d,c))}function _(){u&&(n.push(u),t.text&&t.text.call(t.textContext,u,{start:i,end:g()}),u="")}}function P4t(e){return e>=55296&&e<=57343||e>1114111}function F4t(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}function B4t(e,t){if(e=e.replace(t.subset?z4t(t.subset):/["&'<>`]/g,n),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,r).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function r(o,m,u){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,u.charCodeAt(m+2),t)}function n(o,m,u){return t.format(o.charCodeAt(0),u.charCodeAt(m+1),t)}}function z4t(e){const t=[];let r=-1;for(;++r<e.length;)t.push(e[r].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function U4t(e){return"&#x"+e.toString(16).toUpperCase()+";"}function $4t(e,t){return B4t(e,Object.assign({format:U4t},t))}const H4t={}.hasOwnProperty,V4t={},pOe=/^[^\t\n\r "#'.<=>`}]+$/,G4t=/^[^\t\n\r "'<=>`}]+$/;function j4t(){return{canContainEols:["textDirective"],enter:{directiveContainer:W4t,directiveContainerAttributes:J1e,directiveContainerLabel:q4t,directiveLeaf:K4t,directiveLeafAttributes:J1e,directiveText:X4t,directiveTextAttributes:J1e},exit:{directiveContainer:ive,directiveContainerAttributeClassValue:tve,directiveContainerAttributeIdValue:eve,directiveContainerAttributeName:nve,directiveContainerAttributeValue:rve,directiveContainerAttributes:ave,directiveContainerLabel:Z4t,directiveContainerName:Q1e,directiveLeaf:ive,directiveLeafAttributeClassValue:tve,directiveLeafAttributeIdValue:eve,directiveLeafAttributeName:nve,directiveLeafAttributeValue:rve,directiveLeafAttributes:ave,directiveLeafName:Q1e,directiveText:ive,directiveTextAttributeClassValue:tve,directiveTextAttributeIdValue:eve,directiveTextAttributeName:nve,directiveTextAttributeValue:rve,directiveTextAttributes:ave,directiveTextName:Q1e}}}function Y4t(e){const t=V4t;if(t.quote!=='"'&&t.quote!=="'"&&t.quote!==null&&t.quote!==void 0)throw new Error("Invalid quote `"+t.quote+"`, expected `'` or `\"`");return r.peek=Q4t,{handlers:{containerDirective:r,leafDirective:r,textDirective:r},unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
`,inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}]};function r(m,u,h,a){const l=h.createTracker(a),v=J4t(m),i=h.enter(m.type);let S=l.move(v+(m.name||"")),g;if(m.type==="containerDirective"){const p=(m.children||[])[0];g=vOe(p)?p:void 0}else g=m;if(g&&g.children&&g.children.length>0){const p=h.enter("label"),_=`${m.type}Label`,c=h.enter(_);S+=l.move("["),S+=l.move(h.containerPhrasing(g,{...l.current(),before:S,after:"]"})),S+=l.move("]"),c(),p()}if(S+=l.move(n(m,h)),m.type==="containerDirective"){const p=(m.children||[])[0];let _=m;vOe(p)&&(_=Object.assign({},m,{children:m.children.slice(1)})),_&&_.children&&_.children.length>0&&(S+=l.move(`
`),S+=l.move(h.containerFlow(_,l.current()))),S+=l.move(`
`+v)}return i(),S}function n(m,u){const h=m.attributes||{},a=[];let l,v,i,S;for(S in h)if(H4t.call(h,S)&&h[S]!==void 0&&h[S]!==null){const g=String(h[S]);if(S==="id")i=t.preferShortcut!==!1&&pOe.test(g)?"#"+g:o("id",g,m,u);else if(S==="class"){const p=g.split(/[\t\n\r ]+/g),_=[],c=[];let s=-1;for(;++s<p.length;)(t.preferShortcut!==!1&&pOe.test(p[s])?c:_).push(p[s]);l=_.length>0?o("class",_.join(" "),m,u):"",v=c.length>0?"."+c.join("."):""}else a.push(o(S,g,m,u))}return l&&a.unshift(l),v&&a.unshift(v),i&&a.unshift(i),a.length>0?"{"+a.join(" ")+"}":""}function o(m,u,h,a){if(t.collapseEmptyAttributes!==!1&&!u)return m;if(t.preferUnquoted&&G4t.test(u))return m+"="+u;const l=t.quote||a.options.quote||'"',v=l==='"'?"'":'"',i=t.quoteSmart&&S9(u,l)>S9(u,v)?v:l,S=h.type==="textDirective"?[i]:[i,`
`,"\r"];return m+"="+i+$4t(u,{subset:S})+i}}function W4t(e){Z1e.call(this,"containerDirective",e)}function K4t(e){Z1e.call(this,"leafDirective",e)}function X4t(e){Z1e.call(this,"textDirective",e)}function Z1e(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function Q1e(e){const t=this.stack[this.stack.length-1];t.type==="containerDirective"||t.type==="leafDirective"||t.type,t.name=this.sliceSerialize(e)}function q4t(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)}function Z4t(e){this.exit(e)}function J1e(){this.data.directiveAttributes=[],this.buffer()}function eve(e){this.data.directiveAttributes.push(["id",q1e(this.sliceSerialize(e),{attribute:!0})])}function tve(e){this.data.directiveAttributes.push(["class",q1e(this.sliceSerialize(e),{attribute:!0})])}function rve(e){const t=this.data.directiveAttributes;t[t.length-1][1]=q1e(this.sliceSerialize(e),{attribute:!0})}function nve(e){this.data.directiveAttributes.push([this.sliceSerialize(e),""])}function ave(){const e=this.data.directiveAttributes,t={};let r=-1;for(;++r<e.length;){const o=e[r];o[0]==="class"&&t.class?t.class+=" "+o[1]:t[o[0]]=o[1]}this.data.directiveAttributes=void 0,this.resume();const n=this.stack[this.stack.length-1];n.type==="containerDirective"||n.type==="leafDirective"||n.type,n.attributes=t}function ive(e){this.exit(e)}function Q4t(){return":"}function vOe(e){return!!(e&&e.type==="paragraph"&&e.data&&e.data.directiveLabel)}function J4t(e){let t=0;return e.type==="containerDirective"?(HL(e,function(r,n){if(r.type==="containerDirective"){let o=n.length,m=0;for(;o--;)n[o].type==="containerDirective"&&m++;m>t&&(t=m)}}),t+=3):e.type==="leafDirective"?t=2:t=1,":".repeat(t)}function ove(e,t,r,n,o,m,u,h,a,l,v,i,S,g,p){let _,c;return s;function s(P){return e.enter(n),e.enter(o),e.consume(P),e.exit(o),d}function d(P){return P===35?(_=u,f(P)):P===46?(_=h,f(P)):P===58||P===95||Id(P)?(e.enter(m),e.enter(a),e.consume(P),y):p&&ls(P)?Co(e,d,"whitespace")(P):!p&&Ls(P)?Eg(e,d)(P):I(P)}function f(P){const M=_+"Marker";return e.enter(m),e.enter(_),e.enter(M),e.consume(P),e.exit(M),b}function b(P){if(P===null||P===34||P===35||P===39||P===46||P===60||P===61||P===62||P===96||P===125||Ls(P))return r(P);const M=_+"Value";return e.enter(M),e.consume(P),x}function x(P){if(P===null||P===34||P===39||P===60||P===61||P===62||P===96)return r(P);if(P===35||P===46||P===125||Ls(P)){const M=_+"Value";return e.exit(M),e.exit(_),e.exit(m),d(P)}return e.consume(P),x}function y(P){return P===45||P===46||P===58||P===95||ed(P)?(e.consume(P),y):(e.exit(a),p&&ls(P)?Co(e,C,"whitespace")(P):!p&&Ls(P)?Eg(e,C)(P):C(P))}function C(P){return P===61?(e.enter(l),e.consume(P),e.exit(l),w):(e.exit(m),d(P))}function w(P){return P===null||P===60||P===61||P===62||P===96||P===125||p&&$i(P)?r(P):P===34||P===39?(e.enter(v),e.enter(S),e.consume(P),e.exit(S),c=P,A):p&&ls(P)?Co(e,w,"whitespace")(P):!p&&Ls(P)?Eg(e,w)(P):(e.enter(i),e.enter(g),e.consume(P),c=void 0,R)}function R(P){return P===null||P===34||P===39||P===60||P===61||P===62||P===96?r(P):P===125||Ls(P)?(e.exit(g),e.exit(i),e.exit(m),d(P)):(e.consume(P),R)}function A(P){return P===c?(e.enter(S),e.consume(P),e.exit(S),e.exit(v),e.exit(m),L):(e.enter(i),E(P))}function E(P){return P===c?(e.exit(i),A(P)):P===null?r(P):$i(P)?p?r(P):Eg(e,E)(P):(e.enter(g),e.consume(P),k)}function k(P){return P===c||P===null||$i(P)?(e.exit(g),E(P)):(e.consume(P),k)}function L(P){return P===125||Ls(P)?d(P):I(P)}function I(P){return P===125?(e.enter(o),e.consume(P),e.exit(o),e.exit(n),t):r(P)}}function sve(e,t,r,n,o,m,u){let h=0,a=0,l;return v;function v(c){return e.enter(n),e.enter(o),e.consume(c),e.exit(o),i}function i(c){return c===93?(e.enter(o),e.consume(c),e.exit(o),e.exit(n),t):(e.enter(m),S(c))}function S(c){if(c===93&&!a)return _(c);const s=e.enter("chunkText",{contentType:"text",previous:l});return l&&(l.next=s),l=s,g(c)}function g(c){return c===null||h>999||c===91&&++a>32?r(c):c===93&&!a--?(e.exit("chunkText"),_(c)):$i(c)?u?r(c):(e.consume(c),e.exit("chunkText"),S):(e.consume(c),c===92?p:g)}function p(c){return c===91||c===92||c===93?(e.consume(c),h++,g):g(c)}function _(c){return e.exit(m),e.enter(o),e.consume(c),e.exit(o),e.exit(n),t}}function lve(e,t,r,n){const o=this;return m;function m(h){return Id(h)?(e.enter(n),e.consume(h),u):r(h)}function u(h){return h===45||h===95||ed(h)?(e.consume(h),u):(e.exit(n),o.previous===45||o.previous===95?r(h):t(h))}}const ewt={tokenize:nwt,concrete:!0},twt={tokenize:awt,partial:!0},rwt={tokenize:iwt,partial:!0},w9={tokenize:owt,partial:!0};function nwt(e,t,r){const n=this,o=n.events[n.events.length-1],m=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0;let u=0,h;return a;function a(R){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),l(R)}function l(R){return R===58?(e.consume(R),u++,l):u<3?r(R):(e.exit("directiveContainerSequence"),lve.call(n,e,v,r,"directiveContainerName")(R))}function v(R){return R===91?e.attempt(twt,i,i)(R):i(R)}function i(R){return R===123?e.attempt(rwt,S,S)(R):S(R)}function S(R){return Co(e,g,"whitespace")(R)}function g(R){return e.exit("directiveContainerFence"),R===null?C(R):$i(R)?n.interrupt?t(R):e.attempt(w9,p,C)(R):r(R)}function p(R){return R===null?C(R):$i(R)?e.check(w9,f,C)(R):(e.enter("directiveContainerContent"),_(R))}function _(R){return e.attempt({tokenize:w,partial:!0},y,m?Co(e,c,"linePrefix",m+1):c)(R)}function c(R){return R===null?y(R):$i(R)?e.check(w9,d,y)(R):d(R)}function s(R){if(R===null){const A=e.exit("chunkDocument");return n.parser.lazy[A.start.line]=!1,y(R)}return $i(R)?e.check(w9,b,x)(R):(e.consume(R),s)}function d(R){const A=e.enter("chunkDocument",{contentType:"document",previous:h});return h&&(h.next=A),h=A,s(R)}function f(R){return e.enter("directiveContainerContent"),_(R)}function b(R){e.consume(R);const A=e.exit("chunkDocument");return n.parser.lazy[A.start.line]=!1,_}function x(R){const A=e.exit("chunkDocument");return n.parser.lazy[A.start.line]=!1,y(R)}function y(R){return e.exit("directiveContainerContent"),C(R)}function C(R){return e.exit("directiveContainer"),t(R)}function w(R,A,E){let k=0;return Co(R,L,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function L(M){return R.enter("directiveContainerFence"),R.enter("directiveContainerSequence"),I(M)}function I(M){return M===58?(R.consume(M),k++,I):k<u?E(M):(R.exit("directiveContainerSequence"),Co(R,P,"whitespace")(M))}function P(M){return M===null||$i(M)?(R.exit("directiveContainerFence"),A(M)):E(M)}}}function awt(e,t,r){return sve(e,t,r,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)}function iwt(e,t,r){return ove(e,t,r,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)}function owt(e,t,r){const n=this;return o;function o(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),m}function m(u){return n.parser.lazy[n.now().line]?r(u):t(u)}}const swt={tokenize:uwt},lwt={tokenize:dwt,partial:!0},cwt={tokenize:fwt,partial:!0};function uwt(e,t,r){const n=this;return o;function o(v){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(v),m}function m(v){return v===58?(e.consume(v),e.exit("directiveLeafSequence"),lve.call(n,e,u,r,"directiveLeafName")):r(v)}function u(v){return v===91?e.attempt(lwt,h,h)(v):h(v)}function h(v){return v===123?e.attempt(cwt,a,a)(v):a(v)}function a(v){return Co(e,l,"whitespace")(v)}function l(v){return v===null||$i(v)?(e.exit("directiveLeaf"),t(v)):r(v)}}function dwt(e,t,r){return sve(e,t,r,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)}function fwt(e,t,r){return ove(e,t,r,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)}const hwt={tokenize:gwt,previous:mwt},pwt={tokenize:ywt,partial:!0},vwt={tokenize:_wt,partial:!0};function mwt(e){return e!==58||this.events[this.events.length-1][1].type==="characterEscape"}function gwt(e,t,r){const n=this;return o;function o(a){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(a),e.exit("directiveTextMarker"),lve.call(n,e,m,r,"directiveTextName")}function m(a){return a===58?r(a):a===91?e.attempt(pwt,u,u)(a):u(a)}function u(a){return a===123?e.attempt(vwt,h,h)(a):h(a)}function h(a){return e.exit("directiveText"),t(a)}}function ywt(e,t,r){return sve(e,t,r,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")}function _wt(e,t,r){return ove(e,t,r,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")}function xwt(){return{text:{58:hwt},flow:{58:[ewt,swt]}}}function bwt(){const t=this.data(),r=t.micromarkExtensions||(t.micromarkExtensions=[]),n=t.fromMarkdownExtensions||(t.fromMarkdownExtensions=[]),o=t.toMarkdownExtensions||(t.toMarkdownExtensions=[]);r.push(xwt()),n.push(j4t()),o.push(Y4t())}function Ewt(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Swt(e,t,r){const o=dk((r||{}).ignore||[]),m=wwt(t);let u=-1;for(;++u<m.length;)HL(e,"text",h);function h(l,v){let i=-1,S;for(;++i<v.length;){const g=v[i],p=S?S.children:void 0;if(o(g,p?p.indexOf(g):void 0,S))return;S=g}if(S)return a(l,v)}function a(l,v){const i=v[v.length-1],S=m[u][0],g=m[u][1];let p=0;const c=i.children.indexOf(l);let s=!1,d=[];S.lastIndex=0;let f=S.exec(l.value);for(;f;){const b=f.index,x={index:f.index,input:f.input,stack:[...v,l]};let y=g(...f,x);if(typeof y=="string"&&(y=y.length>0?{type:"text",value:y}:void 0),y===!1?S.lastIndex=b+1:(p!==b&&d.push({type:"text",value:l.value.slice(p,b)}),Array.isArray(y)?d.push(...y):y&&d.push(y),p=b+f[0].length,s=!0),!S.global)break;f=S.exec(l.value)}return s?(p<l.value.length&&d.push({type:"text",value:l.value.slice(p)}),i.children.splice(c,1,...d)):d=[l],c+d.length}}function wwt(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let n=-1;for(;++n<r.length;){const o=r[n];t.push([Twt(o[0]),Awt(o[1])])}return t}function Twt(e){return typeof e=="string"?new RegExp(Ewt(e),"g"):e}function Awt(e){return typeof e=="function"?e:function(){return e}}const cve="phrasing",uve=["autolink","link","image","label"];function Cwt(){return{transforms:[Owt],enter:{literalAutolink:Mwt,literalAutolinkEmail:dve,literalAutolinkHttp:dve,literalAutolinkWww:dve},exit:{literalAutolink:Lwt,literalAutolinkEmail:Iwt,literalAutolinkHttp:Rwt,literalAutolinkWww:Nwt}}}function kwt(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:cve,notInConstruct:uve},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:cve,notInConstruct:uve},{character:":",before:"[ps]",after:"\\/",inConstruct:cve,notInConstruct:uve}]}}function Mwt(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function dve(e){this.config.enter.autolinkProtocol.call(this,e)}function Rwt(e){this.config.exit.autolinkProtocol.call(this,e)}function Nwt(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Iwt(e){this.config.exit.autolinkEmail.call(this,e)}function Lwt(e){this.exit(e)}function Owt(e){Swt(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Dwt],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Pwt]],{ignore:["link","linkReference"]})}function Dwt(e,t,r,n,o){let m="";if(!mOe(o)||(/^w/i.test(t)&&(r=t+r,t="",m="http://"),!Fwt(r)))return!1;const u=Bwt(r+n);if(!u[0])return!1;const h={type:"link",title:null,url:m+t+u[0],children:[{type:"text",value:t+u[0]}]};return u[1]?[h,{type:"text",value:u[1]}]:h}function Pwt(e,t,r,n){return!mOe(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function Fwt(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function Bwt(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const o=S9(e,"(");let m=S9(e,")");for(;n!==-1&&o>m;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),m++;return[e,r]}function mOe(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||xx(r)||IL(r))&&(!t||r!==47)}gOe.peek=Xwt;function zwt(){return{enter:{gfmFootnoteDefinition:$wt,gfmFootnoteDefinitionLabelString:Hwt,gfmFootnoteCall:jwt,gfmFootnoteCallString:Ywt},exit:{gfmFootnoteDefinition:Gwt,gfmFootnoteDefinitionLabelString:Vwt,gfmFootnoteCall:Kwt,gfmFootnoteCallString:Wwt}}}function Uwt(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:qwt,footnoteReference:gOe}}}function $wt(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Hwt(){this.buffer()}function Vwt(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=t,r.identifier=P1(this.sliceSerialize(e)).toLowerCase()}function Gwt(e){this.exit(e)}function jwt(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Ywt(){this.buffer()}function Wwt(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=t,r.identifier=P1(this.sliceSerialize(e)).toLowerCase()}function Kwt(e){this.exit(e)}function gOe(e,t,r,n){const o=r.createTracker(n);let m=o.move("[^");const u=r.enter("footnoteReference"),h=r.enter("reference");return m+=o.move(r.safe(r.associationId(e),{...o.current(),before:m,after:"]"})),h(),u(),m+=o.move("]"),m}function Xwt(){return"["}function qwt(e,t,r,n){const o=r.createTracker(n);let m=o.move("[^");const u=r.enter("footnoteDefinition"),h=r.enter("label");return m+=o.move(r.safe(r.associationId(e),{...o.current(),before:m,after:"]"})),h(),m+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),m+=o.move(r.indentLines(r.containerFlow(e,o.current()),Zwt)),u(),m}function Zwt(e,t,r){return t===0?e:(r?"":" ")+e}const Qwt=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];yOe.peek=nTt;function Jwt(){return{canContainEols:["delete"],enter:{strikethrough:tTt},exit:{strikethrough:rTt}}}function eTt(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Qwt}],handlers:{delete:yOe}}}function tTt(e){this.enter({type:"delete",children:[]},e)}function rTt(e){this.exit(e)}function yOe(e,t,r,n){const o=r.createTracker(n),m=r.enter("strikethrough");let u=o.move("~~");return u+=r.containerPhrasing(e,{...o.current(),before:u,after:"~"}),u+=o.move("~~"),m(),u}function nTt(){return"~"}function aTt(e,t={}){const r=(t.align||[]).concat(),n=t.stringLength||oTt,o=[],m=[],u=[],h=[];let a=0,l=-1;for(;++l<e.length;){const p=[],_=[];let c=-1;for(e[l].length>a&&(a=e[l].length);++c<e[l].length;){const s=iTt(e[l][c]);if(t.alignDelimiters!==!1){const d=n(s);_[c]=d,(h[c]===void 0||d>h[c])&&(h[c]=d)}p.push(s)}m[l]=p,u[l]=_}let v=-1;if(typeof r=="object"&&"length"in r)for(;++v<a;)o[v]=_Oe(r[v]);else{const p=_Oe(r);for(;++v<a;)o[v]=p}v=-1;const i=[],S=[];for(;++v<a;){const p=o[v];let _="",c="";p===99?(_=":",c=":"):p===108?_=":":p===114&&(c=":");let s=t.alignDelimiters===!1?1:Math.max(1,h[v]-_.length-c.length);const d=_+"-".repeat(s)+c;t.alignDelimiters!==!1&&(s=_.length+s+c.length,s>h[v]&&(h[v]=s),S[v]=s),i[v]=d}m.splice(1,0,i),u.splice(1,0,S),l=-1;const g=[];for(;++l<m.length;){const p=m[l],_=u[l];v=-1;const c=[];for(;++v<a;){const s=p[v]||"";let d="",f="";if(t.alignDelimiters!==!1){const b=h[v]-(_[v]||0),x=o[v];x===114?d=" ".repeat(b):x===99?b%2?(d=" ".repeat(b/2+.5),f=" ".repeat(b/2-.5)):(d=" ".repeat(b/2),f=d):f=" ".repeat(b)}t.delimiterStart!==!1&&!v&&c.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&s==="")&&(t.delimiterStart!==!1||v)&&c.push(" "),t.alignDelimiters!==!1&&c.push(d),c.push(s),t.alignDelimiters!==!1&&c.push(f),t.padding!==!1&&c.push(" "),(t.delimiterEnd!==!1||v!==a-1)&&c.push("|")}g.push(t.delimiterEnd===!1?c.join("").replace(/ +$/,""):c.join(""))}return g.join(`
`)}function iTt(e){return e==null?"":String(e)}function oTt(e){return e.length}function _Oe(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function sTt(e,t,r,n){const o=r.enter("blockquote"),m=r.createTracker(n);m.move("> "),m.shift(2);const u=r.indentLines(r.containerFlow(e,m.current()),lTt);return o(),u}function lTt(e,t,r){return">"+(r?"":" ")+e}function cTt(e,t){return xOe(e,t.inConstruct,!0)&&!xOe(e,t.notInConstruct,!1)}function xOe(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function bOe(e,t,r,n){let o=-1;for(;++o<r.unsafe.length;)if(r.unsafe[o].character===`
`&&cTt(r.stack,r.unsafe[o]))return/[ \t]/.test(n.before)?"":" ";return`\\
`}function EOe(e,t){const r=String(e);let n=r.indexOf(t),o=n,m=0,u=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===o?++m>u&&(u=m):m=1,o=n+t.length,n=r.indexOf(t,o);return u}function uTt(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function dTt(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function fTt(e,t,r,n){const o=dTt(r),m=e.value||"",u=o==="`"?"GraveAccent":"Tilde";if(uTt(e,r)){const i=r.enter("codeIndented"),S=r.indentLines(m,hTt);return i(),S}const h=r.createTracker(n),a=o.repeat(Math.max(EOe(m,o)+1,3)),l=r.enter("codeFenced");let v=h.move(a);if(e.lang){const i=r.enter(`codeFencedLang${u}`);v+=h.move(r.safe(e.lang,{before:v,after:" ",encode:["`"],...h.current()})),i()}if(e.lang&&e.meta){const i=r.enter(`codeFencedMeta${u}`);v+=h.move(" "),v+=h.move(r.safe(e.meta,{before:v,after:`
`,encode:["`"],...h.current()})),i()}return v+=h.move(`
`),m&&(v+=h.move(m+`
`)),v+=h.move(a),l(),v}function hTt(e,t,r){return(r?"":" ")+e}function fve(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function pTt(e,t,r,n){const o=fve(r),m=o==='"'?"Quote":"Apostrophe",u=r.enter("definition");let h=r.enter("label");const a=r.createTracker(n);let l=a.move("[");return l+=a.move(r.safe(r.associationId(e),{before:l,after:"]",...a.current()})),l+=a.move("]: "),h(),!e.url||/[\0- \u007F]/.test(e.url)?(h=r.enter("destinationLiteral"),l+=a.move("<"),l+=a.move(r.safe(e.url,{before:l,after:">",...a.current()})),l+=a.move(">")):(h=r.enter("destinationRaw"),l+=a.move(r.safe(e.url,{before:l,after:e.title?" ":`
`,...a.current()}))),h(),e.title&&(h=r.enter(`title${m}`),l+=a.move(" "+o),l+=a.move(r.safe(e.title,{before:l,after:o,...a.current()})),l+=a.move(o),h()),u(),l}function vTt(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}SOe.peek=mTt;function SOe(e,t,r,n){const o=vTt(r),m=r.enter("emphasis"),u=r.createTracker(n);let h=u.move(o);return h+=u.move(r.containerPhrasing(e,{before:h,after:o,...u.current()})),h+=u.move(o),m(),h}function mTt(e,t,r){return r.options.emphasis||"*"}function gTt(e,t){let r=!1;return CT(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,R0e}),!!((!e.depth||e.depth<3)&&x0e(e)&&(t.options.setext||r))}function yTt(e,t,r,n){const o=Math.max(Math.min(6,e.depth||1),1),m=r.createTracker(n);if(gTt(e,r)){const v=r.enter("headingSetext"),i=r.enter("phrasing"),S=r.containerPhrasing(e,{...m.current(),before:`
`,after:`
`});return i(),v(),S+`
`+(o===1?"=":"-").repeat(S.length-(Math.max(S.lastIndexOf("\r"),S.lastIndexOf(`
`))+1))}const u="#".repeat(o),h=r.enter("headingAtx"),a=r.enter("phrasing");m.move(u+" ");let l=r.containerPhrasing(e,{before:"# ",after:`
`,...m.current()});return/^[\t ]/.test(l)&&(l="&#x"+l.charCodeAt(0).toString(16).toUpperCase()+";"+l.slice(1)),l=l?u+" "+l:u,r.options.closeAtx&&(l+=" "+u),a(),h(),l}wOe.peek=_Tt;function wOe(e){return e.value||""}function _Tt(){return"<"}TOe.peek=xTt;function TOe(e,t,r,n){const o=fve(r),m=o==='"'?"Quote":"Apostrophe",u=r.enter("image");let h=r.enter("label");const a=r.createTracker(n);let l=a.move("![");return l+=a.move(r.safe(e.alt,{before:l,after:"]",...a.current()})),l+=a.move("]("),h(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(h=r.enter("destinationLiteral"),l+=a.move("<"),l+=a.move(r.safe(e.url,{before:l,after:">",...a.current()})),l+=a.move(">")):(h=r.enter("destinationRaw"),l+=a.move(r.safe(e.url,{before:l,after:e.title?" ":")",...a.current()}))),h(),e.title&&(h=r.enter(`title${m}`),l+=a.move(" "+o),l+=a.move(r.safe(e.title,{before:l,after:o,...a.current()})),l+=a.move(o),h()),l+=a.move(")"),u(),l}function xTt(){return"!"}AOe.peek=bTt;function AOe(e,t,r,n){const o=e.referenceType,m=r.enter("imageReference");let u=r.enter("label");const h=r.createTracker(n);let a=h.move("![");const l=r.safe(e.alt,{before:a,after:"]",...h.current()});a+=h.move(l+"]["),u();const v=r.stack;r.stack=[],u=r.enter("reference");const i=r.safe(r.associationId(e),{before:a,after:"]",...h.current()});return u(),r.stack=v,m(),o==="full"||!l||l!==i?a+=h.move(i+"]"):o==="shortcut"?a=a.slice(0,-1):a+=h.move("]"),a}function bTt(){return"!"}COe.peek=ETt;function COe(e,t,r){let n=e.value||"",o="`",m=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(n);)o+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++m<r.unsafe.length;){const u=r.unsafe[m],h=r.compilePattern(u);let a;if(u.atBreak)for(;a=h.exec(n);){let l=a.index;n.charCodeAt(l)===10&&n.charCodeAt(l-1)===13&&l--,n=n.slice(0,l)+" "+n.slice(a.index+1)}}return o+n+o}function ETt(){return"`"}function kOe(e,t){const r=x0e(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}MOe.peek=STt;function MOe(e,t,r,n){const o=fve(r),m=o==='"'?"Quote":"Apostrophe",u=r.createTracker(n);let h,a;if(kOe(e,r)){const v=r.stack;r.stack=[],h=r.enter("autolink");let i=u.move("<");return i+=u.move(r.containerPhrasing(e,{before:i,after:">",...u.current()})),i+=u.move(">"),h(),r.stack=v,i}h=r.enter("link"),a=r.enter("label");let l=u.move("[");return l+=u.move(r.containerPhrasing(e,{before:l,after:"](",...u.current()})),l+=u.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=r.enter("destinationLiteral"),l+=u.move("<"),l+=u.move(r.safe(e.url,{before:l,after:">",...u.current()})),l+=u.move(">")):(a=r.enter("destinationRaw"),l+=u.move(r.safe(e.url,{before:l,after:e.title?" ":")",...u.current()}))),a(),e.title&&(a=r.enter(`title${m}`),l+=u.move(" "+o),l+=u.move(r.safe(e.title,{before:l,after:o,...u.current()})),l+=u.move(o),a()),l+=u.move(")"),h(),l}function STt(e,t,r){return kOe(e,r)?"<":"["}ROe.peek=wTt;function ROe(e,t,r,n){const o=e.referenceType,m=r.enter("linkReference");let u=r.enter("label");const h=r.createTracker(n);let a=h.move("[");const l=r.containerPhrasing(e,{before:a,after:"]",...h.current()});a+=h.move(l+"]["),u();const v=r.stack;r.stack=[],u=r.enter("reference");const i=r.safe(r.associationId(e),{before:a,after:"]",...h.current()});return u(),r.stack=v,m(),o==="full"||!l||l!==i?a+=h.move(i+"]"):o==="shortcut"?a=a.slice(0,-1):a+=h.move("]"),a}function wTt(){return"["}function hve(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function TTt(e){const t=hve(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function ATt(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function NOe(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function CTt(e,t,r,n){const o=r.enter("list"),m=r.bulletCurrent;let u=e.ordered?ATt(r):hve(r);const h=e.ordered?u==="."?")":".":TTt(r);let a=t&&r.bulletLastUsed?u===r.bulletLastUsed:!1;if(!e.ordered){const v=e.children?e.children[0]:void 0;if((u==="*"||u==="-")&&v&&(!v.children||!v.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(a=!0),NOe(r)===u&&v){let i=-1;for(;++i<e.children.length;){const S=e.children[i];if(S&&S.type==="listItem"&&S.children&&S.children[0]&&S.children[0].type==="thematicBreak"){a=!0;break}}}}a&&(u=h),r.bulletCurrent=u;const l=r.containerFlow(e,n);return r.bulletLastUsed=u,r.bulletCurrent=m,o(),l}function kTt(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function MTt(e,t,r,n){const o=kTt(r);let m=r.bulletCurrent||hve(r);t&&t.type==="list"&&t.ordered&&(m=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+m);let u=m.length+1;(o==="tab"||o==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(u=Math.ceil(u/4)*4);const h=r.createTracker(n);h.move(m+" ".repeat(u-m.length)),h.shift(u);const a=r.enter("listItem"),l=r.indentLines(r.containerFlow(e,h.current()),v);return a(),l;function v(i,S,g){return S?(g?"":" ".repeat(u))+i:(g?m:m+" ".repeat(u-m.length))+i}}function RTt(e,t,r,n){const o=r.enter("paragraph"),m=r.enter("phrasing"),u=r.containerPhrasing(e,n);return m(),o(),u}const NTt=dk(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function ITt(e,t,r,n){return(e.children.some(function(u){return NTt(u)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function LTt(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}IOe.peek=OTt;function IOe(e,t,r,n){const o=LTt(r),m=r.enter("strong"),u=r.createTracker(n);let h=u.move(o+o);return h+=u.move(r.containerPhrasing(e,{before:h,after:o,...u.current()})),h+=u.move(o+o),m(),h}function OTt(e,t,r){return r.options.strong||"*"}function DTt(e,t,r,n){return r.safe(e.value,n)}function PTt(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function FTt(e,t,r){const n=(NOe(r)+(r.options.ruleSpaces?" ":"")).repeat(PTt(r));return r.options.ruleSpaces?n.slice(0,-1):n}const LOe={blockquote:sTt,break:bOe,code:fTt,definition:pTt,emphasis:SOe,hardBreak:bOe,heading:yTt,html:wOe,image:TOe,imageReference:AOe,inlineCode:COe,link:MOe,linkReference:ROe,list:CTt,listItem:MTt,paragraph:RTt,root:ITt,strong:IOe,text:DTt,thematicBreak:FTt};function BTt(){return{enter:{table:zTt,tableData:OOe,tableHeader:OOe,tableRow:$Tt},exit:{codeText:HTt,table:UTt,tableData:pve,tableHeader:pve,tableRow:pve}}}function zTt(e){const t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function UTt(e){this.exit(e),this.data.inTable=void 0}function $Tt(e){this.enter({type:"tableRow",children:[]},e)}function pve(e){this.exit(e)}function OOe(e){this.enter({type:"tableCell",children:[]},e)}function HTt(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,VTt));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function VTt(e,t){return t==="|"?t:e}function GTt(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,o=t.stringLength,m=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:S,table:u,tableCell:a,tableRow:h}};function u(g,p,_,c){return l(v(g,_,c),g.align)}function h(g,p,_,c){const s=i(g,_,c),d=l([s]);return d.slice(0,d.indexOf(`
`))}function a(g,p,_,c){const s=_.enter("tableCell"),d=_.enter("phrasing"),f=_.containerPhrasing(g,{...c,before:m,after:m});return d(),s(),f}function l(g,p){return aTt(g,{align:p,alignDelimiters:n,padding:r,stringLength:o})}function v(g,p,_){const c=g.children;let s=-1;const d=[],f=p.enter("table");for(;++s<c.length;)d[s]=i(c[s],p,_);return f(),d}function i(g,p,_){const c=g.children;let s=-1;const d=[],f=p.enter("tableRow");for(;++s<c.length;)d[s]=a(c[s],g,p,_);return f(),d}function S(g,p,_){let c=LOe.inlineCode(g,p,_);return _.stack.includes("tableCell")&&(c=c.replace(/\|/g,"\\$&")),c}}function jTt(){return{exit:{taskListCheckValueChecked:DOe,taskListCheckValueUnchecked:DOe,paragraph:WTt}}}function YTt(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:KTt}}}function DOe(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function WTt(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const o=t.children;let m=-1,u;for(;++m<o.length;){const h=o[m];if(h.type==="paragraph"){u=h;break}}u===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function KTt(e,t,r,n){const o=e.children[0],m=typeof e.checked=="boolean"&&o&&o.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",h=r.createTracker(n);m&&h.move(u);let a=LOe.listItem(e,t,r,{...n,...h.current()});return m&&(a=a.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),a;function l(v){return v+u}}function XTt(){return[Cwt(),zwt(),Jwt(),BTt(),jTt()]}function qTt(e){return{extensions:[kwt(),Uwt(),eTt(),GTt(e),YTt()]}}const ZTt={tokenize:n5t,partial:!0},POe={tokenize:a5t,partial:!0},FOe={tokenize:i5t,partial:!0},BOe={tokenize:o5t,partial:!0},QTt={tokenize:s5t,partial:!0},zOe={tokenize:t5t,previous:$Oe},UOe={tokenize:r5t,previous:HOe},Rg={tokenize:e5t,previous:VOe},Qv={};function JTt(){return{text:Qv}}let Cx=48;for(;Cx<123;)Qv[Cx]=Rg,Cx++,Cx===58?Cx=65:Cx===91&&(Cx=97);Qv[43]=Rg,Qv[45]=Rg,Qv[46]=Rg,Qv[95]=Rg,Qv[72]=[Rg,UOe],Qv[104]=[Rg,UOe],Qv[87]=[Rg,zOe],Qv[119]=[Rg,zOe];function e5t(e,t,r){const n=this;let o,m;return u;function u(i){return!vve(i)||!VOe.call(n,n.previous)||mve(n.events)?r(i):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),h(i))}function h(i){return vve(i)?(e.consume(i),h):i===64?(e.consume(i),a):r(i)}function a(i){return i===46?e.check(QTt,v,l)(i):i===45||i===95||ed(i)?(m=!0,e.consume(i),a):v(i)}function l(i){return e.consume(i),o=!0,a}function v(i){return m&&o&&Id(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(i)):r(i)}}function t5t(e,t,r){const n=this;return o;function o(u){return u!==87&&u!==119||!$Oe.call(n,n.previous)||mve(n.events)?r(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(ZTt,e.attempt(POe,e.attempt(FOe,m),r),r)(u))}function m(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(u)}}function r5t(e,t,r){const n=this;let o="",m=!1;return u;function u(i){return(i===72||i===104)&&HOe.call(n,n.previous)&&!mve(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(i),e.consume(i),h):r(i)}function h(i){if(Id(i)&&o.length<5)return o+=String.fromCodePoint(i),e.consume(i),h;if(i===58){const S=o.toLowerCase();if(S==="http"||S==="https")return e.consume(i),a}return r(i)}function a(i){return i===47?(e.consume(i),m?l:(m=!0,a)):r(i)}function l(i){return i===null||NL(i)||Ls(i)||xx(i)||IL(i)?r(i):e.attempt(POe,e.attempt(FOe,v),r)(i)}function v(i){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(i)}}function n5t(e,t,r){let n=0;return o;function o(u){return(u===87||u===119)&&n<3?(n++,e.consume(u),o):u===46&&n===3?(e.consume(u),m):r(u)}function m(u){return u===null?r(u):t(u)}}function a5t(e,t,r){let n,o,m;return u;function u(l){return l===46||l===95?e.check(BOe,a,h)(l):l===null||Ls(l)||xx(l)||l!==45&&IL(l)?a(l):(m=!0,e.consume(l),u)}function h(l){return l===95?n=!0:(o=n,n=void 0),e.consume(l),u}function a(l){return o||n||!m?r(l):t(l)}}function i5t(e,t){let r=0,n=0;return o;function o(u){return u===40?(r++,e.consume(u),o):u===41&&n<r?m(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(BOe,t,m)(u):u===null||Ls(u)||xx(u)?t(u):(e.consume(u),o)}function m(u){return u===41&&n++,e.consume(u),o}}function o5t(e,t,r){return n;function n(h){return h===33||h===34||h===39||h===41||h===42||h===44||h===46||h===58||h===59||h===63||h===95||h===126?(e.consume(h),n):h===38?(e.consume(h),m):h===93?(e.consume(h),o):h===60||h===null||Ls(h)||xx(h)?t(h):r(h)}function o(h){return h===null||h===40||h===91||Ls(h)||xx(h)?t(h):n(h)}function m(h){return Id(h)?u(h):r(h)}function u(h){return h===59?(e.consume(h),n):Id(h)?(e.consume(h),u):r(h)}}function s5t(e,t,r){return n;function n(m){return e.consume(m),o}function o(m){return ed(m)?r(m):t(m)}}function $Oe(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ls(e)}function HOe(e){return!Id(e)}function VOe(e){return!(e===47||vve(e))}function vve(e){return e===43||e===45||e===46||e===95||ed(e)}function mve(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const l5t={tokenize:m5t,partial:!0};function c5t(){return{document:{91:{tokenize:h5t,continuation:{tokenize:p5t},exit:v5t}},text:{91:{tokenize:f5t},93:{add:"after",tokenize:u5t,resolveTo:d5t}}}}function u5t(e,t,r){const n=this;let o=n.events.length;const m=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let u;for(;o--;){const a=n.events[o][1];if(a.type==="labelImage"){u=a;break}if(a.type==="gfmFootnoteCall"||a.type==="labelLink"||a.type==="label"||a.type==="image"||a.type==="link")break}return h;function h(a){if(!u||!u._balanced)return r(a);const l=P1(n.sliceSerialize({start:u.end,end:n.now()}));return l.codePointAt(0)!==94||!m.includes(l.slice(1))?r(a):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a))}}function d5t(e,t){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const m={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},m.start),end:Object.assign({},m.end)},h=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",o,t],["exit",o,t],["enter",m,t],["enter",u,t],["exit",u,t],["exit",m,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...h),e}function f5t(e,t,r){const n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let m=0,u;return h;function h(i){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),a}function a(i){return i!==94?r(i):(e.enter("gfmFootnoteCallMarker"),e.consume(i),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(i){if(m>999||i===93&&!u||i===null||i===91||Ls(i))return r(i);if(i===93){e.exit("chunkString");const S=e.exit("gfmFootnoteCallString");return o.includes(P1(n.sliceSerialize(S)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(i)}return Ls(i)||(u=!0),m++,e.consume(i),i===92?v:l}function v(i){return i===91||i===92||i===93?(e.consume(i),m++,l):l(i)}}function h5t(e,t,r){const n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let m,u=0,h;return a;function a(p){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionLabelMarker"),l}function l(p){return p===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",v):r(p)}function v(p){if(u>999||p===93&&!h||p===null||p===91||Ls(p))return r(p);if(p===93){e.exit("chunkString");const _=e.exit("gfmFootnoteDefinitionLabelString");return m=P1(n.sliceSerialize(_)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),S}return Ls(p)||(h=!0),u++,e.consume(p),p===92?i:v}function i(p){return p===91||p===92||p===93?(e.consume(p),u++,v):v(p)}function S(p){return p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),o.includes(m)||o.push(m),Co(e,g,"gfmFootnoteDefinitionWhitespace")):r(p)}function g(p){return t(p)}}function p5t(e,t,r){return e.check(ck,t,e.attempt(l5t,t,r))}function v5t(e){e.exit("gfmFootnoteDefinition")}function m5t(e,t,r){const n=this;return Co(e,o,"gfmFootnoteDefinitionIndent",5);function o(m){const u=n.events[n.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?t(m):r(m)}}function g5t(e){let r=(e||{}).singleTilde;const n={tokenize:m,resolveAll:o};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function o(u,h){let a=-1;for(;++a<u.length;)if(u[a][0]==="enter"&&u[a][1].type==="strikethroughSequenceTemporary"&&u[a][1]._close){let l=a;for(;l--;)if(u[l][0]==="exit"&&u[l][1].type==="strikethroughSequenceTemporary"&&u[l][1]._open&&u[a][1].end.offset-u[a][1].start.offset===u[l][1].end.offset-u[l][1].start.offset){u[a][1].type="strikethroughSequence",u[l][1].type="strikethroughSequence";const v={type:"strikethrough",start:Object.assign({},u[l][1].start),end:Object.assign({},u[a][1].end)},i={type:"strikethroughText",start:Object.assign({},u[l][1].end),end:Object.assign({},u[a][1].start)},S=[["enter",v,h],["enter",u[l][1],h],["exit",u[l][1],h],["enter",i,h]],g=h.parser.constructs.insideSpan.null;g&&$p(S,S.length,0,OL(g,u.slice(l+1,a),h)),$p(S,S.length,0,[["exit",i,h],["enter",u[a][1],h],["exit",u[a][1],h],["exit",v,h]]),$p(u,l-1,a-l+3,S),a=l+S.length-2;break}}for(a=-1;++a<u.length;)u[a][1].type==="strikethroughSequenceTemporary"&&(u[a][1].type="data");return u}function m(u,h,a){const l=this.previous,v=this.events;let i=0;return S;function S(p){return l===126&&v[v.length-1][1].type!=="characterEscape"?a(p):(u.enter("strikethroughSequenceTemporary"),g(p))}function g(p){const _=LL(l);if(p===126)return i>1?a(p):(u.consume(p),i++,g);if(i<2&&!r)return a(p);const c=u.exit("strikethroughSequenceTemporary"),s=LL(p);return c._open=!s||s===2&&!!_,c._close=!_||_===2&&!!s,h(p)}}}class y5t{constructor(){this.map=[]}add(t,r,n){_5t(this,t,r,n)}consume(t){if(this.map.sort(function(m,u){return m[0]-u[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push([...t]),t.length=0;let o=n.pop();for(;o;)t.push(...o),o=n.pop();this.map.length=0}}function _5t(e,t,r,n){let o=0;if(!(r===0&&n.length===0)){for(;o<e.map.length;){if(e.map[o][0]===t){e.map[o][1]+=r,e.map[o][2].push(...n);return}o+=1}e.map.push([t,r,n])}}function x5t(e,t){let r=!1;const n=[];for(;t<e.length;){const o=e[t];if(r){if(o[0]==="enter")o[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(o[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const m=n.length-1;n[m]=n[m]==="left"?"center":"right"}}else if(o[1].type==="tableDelimiterRow")break}else o[0]==="enter"&&o[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function b5t(){return{flow:{null:{tokenize:E5t,resolveAll:S5t}}}}function E5t(e,t,r){const n=this;let o=0,m=0,u;return h;function h(A){let E=n.events.length-1;for(;E>-1;){const I=n.events[E][1].type;if(I==="lineEnding"||I==="linePrefix")E--;else break}const k=E>-1?n.events[E][1].type:null,L=k==="tableHead"||k==="tableRow"?y:a;return L===y&&n.parser.lazy[n.now().line]?r(A):L(A)}function a(A){return e.enter("tableHead"),e.enter("tableRow"),l(A)}function l(A){return A===124||(u=!0,m+=1),v(A)}function v(A){return A===null?r(A):$i(A)?m>1?(m=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),g):r(A):ls(A)?Co(e,v,"whitespace")(A):(m+=1,u&&(u=!1,o+=1),A===124?(e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),u=!0,v):(e.enter("data"),i(A)))}function i(A){return A===null||A===124||Ls(A)?(e.exit("data"),v(A)):(e.consume(A),A===92?S:i)}function S(A){return A===92||A===124?(e.consume(A),i):i(A)}function g(A){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(A):(e.enter("tableDelimiterRow"),u=!1,ls(A)?Co(e,p,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):p(A))}function p(A){return A===45||A===58?c(A):A===124?(u=!0,e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),_):x(A)}function _(A){return ls(A)?Co(e,c,"whitespace")(A):c(A)}function c(A){return A===58?(m+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(A),e.exit("tableDelimiterMarker"),s):A===45?(m+=1,s(A)):A===null||$i(A)?b(A):x(A)}function s(A){return A===45?(e.enter("tableDelimiterFiller"),d(A)):x(A)}function d(A){return A===45?(e.consume(A),d):A===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(A),e.exit("tableDelimiterMarker"),f):(e.exit("tableDelimiterFiller"),f(A))}function f(A){return ls(A)?Co(e,b,"whitespace")(A):b(A)}function b(A){return A===124?p(A):A===null||$i(A)?!u||o!==m?x(A):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(A)):x(A)}function x(A){return r(A)}function y(A){return e.enter("tableRow"),C(A)}function C(A){return A===124?(e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),C):A===null||$i(A)?(e.exit("tableRow"),t(A)):ls(A)?Co(e,C,"whitespace")(A):(e.enter("data"),w(A))}function w(A){return A===null||A===124||Ls(A)?(e.exit("data"),C(A)):(e.consume(A),A===92?R:w)}function R(A){return A===92||A===124?(e.consume(A),w):w(A)}}function S5t(e,t){let r=-1,n=!0,o=0,m=[0,0,0,0],u=[0,0,0,0],h=!1,a=0,l,v,i;const S=new y5t;for(;++r<e.length;){const g=e[r],p=g[1];g[0]==="enter"?p.type==="tableHead"?(h=!1,a!==0&&(GOe(S,t,a,l,v),v=void 0,a=0),l={type:"table",start:Object.assign({},p.start),end:Object.assign({},p.end)},S.add(r,0,[["enter",l,t]])):p.type==="tableRow"||p.type==="tableDelimiterRow"?(n=!0,i=void 0,m=[0,0,0,0],u=[0,r+1,0,0],h&&(h=!1,v={type:"tableBody",start:Object.assign({},p.start),end:Object.assign({},p.end)},S.add(r,0,[["enter",v,t]])),o=p.type==="tableDelimiterRow"?2:v?3:1):o&&(p.type==="data"||p.type==="tableDelimiterMarker"||p.type==="tableDelimiterFiller")?(n=!1,u[2]===0&&(m[1]!==0&&(u[0]=u[1],i=T9(S,t,m,o,void 0,i),m=[0,0,0,0]),u[2]=r)):p.type==="tableCellDivider"&&(n?n=!1:(m[1]!==0&&(u[0]=u[1],i=T9(S,t,m,o,void 0,i)),m=u,u=[m[1],r,0,0])):p.type==="tableHead"?(h=!0,a=r):p.type==="tableRow"||p.type==="tableDelimiterRow"?(a=r,m[1]!==0?(u[0]=u[1],i=T9(S,t,m,o,r,i)):u[1]!==0&&(i=T9(S,t,u,o,r,i)),o=0):o&&(p.type==="data"||p.type==="tableDelimiterMarker"||p.type==="tableDelimiterFiller")&&(u[3]=r)}for(a!==0&&GOe(S,t,a,l,v),S.consume(t.events),r=-1;++r<t.events.length;){const g=t.events[r];g[0]==="enter"&&g[1].type==="table"&&(g[1]._align=x5t(t.events,r))}return e}function T9(e,t,r,n,o,m){const u=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",h="tableContent";r[0]!==0&&(m.end=Object.assign({},UT(t.events,r[0])),e.add(r[0],0,[["exit",m,t]]));const a=UT(t.events,r[1]);if(m={type:u,start:Object.assign({},a),end:Object.assign({},a)},e.add(r[1],0,[["enter",m,t]]),r[2]!==0){const l=UT(t.events,r[2]),v=UT(t.events,r[3]),i={type:h,start:Object.assign({},l),end:Object.assign({},v)};if(e.add(r[2],0,[["enter",i,t]]),n!==2){const S=t.events[r[2]],g=t.events[r[3]];if(S[1].end=Object.assign({},g[1].end),S[1].type="chunkText",S[1].contentType="text",r[3]>r[2]+1){const p=r[2]+1,_=r[3]-r[2]-1;e.add(p,_,[])}}e.add(r[3]+1,0,[["exit",i,t]])}return o!==void 0&&(m.end=Object.assign({},UT(t.events,o)),e.add(o,0,[["exit",m,t]]),m=void 0),m}function GOe(e,t,r,n,o){const m=[],u=UT(t.events,r);o&&(o.end=Object.assign({},u),m.push(["exit",o,t])),n.end=Object.assign({},u),m.push(["exit",n,t]),e.add(r+1,0,m)}function UT(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const w5t={tokenize:A5t};function T5t(){return{text:{91:w5t}}}function A5t(e,t,r){const n=this;return o;function o(a){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(a):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(a),e.exit("taskListCheckMarker"),m)}function m(a){return Ls(a)?(e.enter("taskListCheckValueUnchecked"),e.consume(a),e.exit("taskListCheckValueUnchecked"),u):a===88||a===120?(e.enter("taskListCheckValueChecked"),e.consume(a),e.exit("taskListCheckValueChecked"),u):r(a)}function u(a){return a===93?(e.enter("taskListCheckMarker"),e.consume(a),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),h):r(a)}function h(a){return $i(a)?t(a):ls(a)?e.check({tokenize:C5t},t,r)(a):r(a)}}function C5t(e,t,r){return Co(e,n,"whitespace");function n(o){return o===null?r(o):t(o)}}function k5t(e){return bIe([JTt(),c5t(),g5t(e),b5t(),T5t()])}const M5t={};function R5t(e){const t=this,r=e||M5t,n=t.data(),o=n.micromarkExtensions||(n.micromarkExtensions=[]),m=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),u=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);o.push(k5t(r)),m.push(XTt()),u.push(qTt(r))}function N5t(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:m},exit:{mathFlow:o,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:h,mathText:u,mathTextData:h}};function e(a){const l={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[l]}},a)}function t(){this.buffer()}function r(){const a=this.resume(),l=this.stack[this.stack.length-1];l.type,l.meta=a}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function o(a){const l=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),v=this.stack[this.stack.length-1];v.type,this.exit(a),v.value=l;const i=v.data.hChildren[0];i.type,i.tagName,i.children.push({type:"text",value:l}),this.data.mathFlowInside=void 0}function m(a){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},a),this.buffer()}function u(a){const l=this.resume(),v=this.stack[this.stack.length-1];v.type,this.exit(a),v.value=l,v.data.hChildren.push({type:"text",value:l})}function h(a){this.config.enter.data.call(this,a),this.config.exit.data.call(this,a)}}function I5t(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=o,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(m,u,h,a){const l=m.value||"",v=h.createTracker(a),i="$".repeat(Math.max(EOe(l,"$")+1,2)),S=h.enter("mathFlow");let g=v.move(i);if(m.meta){const p=h.enter("mathFlowMeta");g+=v.move(h.safe(m.meta,{after:`
`,before:g,encode:["$"],...v.current()})),p()}return g+=v.move(`
`),l&&(g+=v.move(l+`
`)),g+=v.move(i),S(),g}function n(m,u,h){let a=m.value||"",l=1;for(t||l++;new RegExp("(^|[^$])"+"\\$".repeat(l)+"([^$]|$)").test(a);)l++;const v="$".repeat(l);/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^\$|\$$/.test(a))&&(a=" "+a+" ");let i=-1;for(;++i<h.unsafe.length;){const S=h.unsafe[i];if(!S.atBreak)continue;const g=h.compilePattern(S);let p;for(;p=g.exec(a);){let _=p.index;a.codePointAt(_)===10&&a.codePointAt(_-1)===13&&_--,a=a.slice(0,_)+" "+a.slice(p.index+1)}}return v+a+v}function o(){return"$"}}const L5t={tokenize:O5t,concrete:!0,name:"mathFlow"},jOe={tokenize:D5t,partial:!0};function O5t(e,t,r){const n=this,o=n.events[n.events.length-1],m=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0;let u=0;return h;function h(d){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),a(d)}function a(d){return d===36?(e.consume(d),u++,a):u<2?r(d):(e.exit("mathFlowFenceSequence"),Co(e,l,"whitespace")(d))}function l(d){return d===null||$i(d)?i(d):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),v(d))}function v(d){return d===null||$i(d)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),i(d)):d===36?r(d):(e.consume(d),v)}function i(d){return e.exit("mathFlowFence"),n.interrupt?t(d):e.attempt(jOe,S,c)(d)}function S(d){return e.attempt({tokenize:s,partial:!0},c,g)(d)}function g(d){return(m?Co(e,p,"linePrefix",m+1):p)(d)}function p(d){return d===null?c(d):$i(d)?e.attempt(jOe,S,c)(d):(e.enter("mathFlowValue"),_(d))}function _(d){return d===null||$i(d)?(e.exit("mathFlowValue"),p(d)):(e.consume(d),_)}function c(d){return e.exit("mathFlow"),t(d)}function s(d,f,b){let x=0;return Co(d,y,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function y(R){return d.enter("mathFlowFence"),d.enter("mathFlowFenceSequence"),C(R)}function C(R){return R===36?(x++,d.consume(R),C):x<u?b(R):(d.exit("mathFlowFenceSequence"),Co(d,w,"whitespace")(R))}function w(R){return R===null||$i(R)?(d.exit("mathFlowFence"),f(R)):b(R)}}}function D5t(e,t,r){const n=this;return o;function o(u){return u===null?t(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),m)}function m(u){return n.parser.lazy[n.now().line]?r(u):t(u)}}function P5t(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:F5t,previous:B5t,name:"mathText"};function n(o,m,u){let h=0,a,l;return v;function v(_){return o.enter("mathText"),o.enter("mathTextSequence"),i(_)}function i(_){return _===36?(o.consume(_),h++,i):h<2&&!r?u(_):(o.exit("mathTextSequence"),S(_))}function S(_){return _===null?u(_):_===36?(l=o.enter("mathTextSequence"),a=0,p(_)):_===32?(o.enter("space"),o.consume(_),o.exit("space"),S):$i(_)?(o.enter("lineEnding"),o.consume(_),o.exit("lineEnding"),S):(o.enter("mathTextData"),g(_))}function g(_){return _===null||_===32||_===36||$i(_)?(o.exit("mathTextData"),S(_)):(o.consume(_),g)}function p(_){return _===36?(o.consume(_),a++,p):a===h?(o.exit("mathTextSequence"),o.exit("mathText"),m(_)):(l.type="mathTextData",g(_))}}}function F5t(e){let t=e.length-4,r=3,n,o;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)o===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(o=n):(n===t||e[n][1].type==="lineEnding")&&(e[o][1].type="mathTextData",n!==o+2&&(e[o][1].end=e[n-1][1].end,e.splice(o+2,n-o-2),t-=n-o-2,n=o+2),o=void 0);return e}function B5t(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function z5t(e){return{flow:{36:L5t},text:{36:P5t(e)}}}const U5t={};function $5t(e){const t=this,r=e||U5t,n=t.data(),o=n.micromarkExtensions||(n.micromarkExtensions=[]),m=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),u=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);o.push(z5t(r)),m.push(N5t()),u.push(I5t(r))}var H5t="AspectRatio",YOe=Ue.forwardRef((e,t)=>{const{ratio:r=1/1,style:n,...o}=e;return Oe.jsx("div",{style:{position:"relative",width:"100%",paddingBottom:`${100/r}%`},"data-radix-aspect-ratio-wrapper":"",children:Oe.jsx(Zi.div,{...o,ref:t,style:{...n,position:"absolute",top:0,right:0,bottom:0,left:0}})})});YOe.displayName=H5t;var V5t=YOe;const WOe=V5t,G5t=Object.freeze(Object.defineProperty({__proto__:null,AspectRatio:WOe},Symbol.toStringTag,{value:"Module"})),Ng=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("div",{ref:r,className:ga("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));Ng.displayName="Card";const Ik=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("div",{ref:r,className:ga("flex flex-col space-y-1.5 p-6",e),...t}));Ik.displayName="CardHeader";const gve=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("div",{ref:r,className:ga("text-2xl font-semibold leading-none tracking-tight",e),...t}));gve.displayName="CardTitle";const KOe=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("div",{ref:r,className:ga("text-sm text-muted-foreground",e),...t}));KOe.displayName="CardDescription";const $T=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("div",{ref:r,className:ga("p-6 pt-0",e),...t}));$T.displayName="CardContent";const XOe=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("div",{ref:r,className:ga("flex items-center p-6 pt-0",e),...t}));XOe.displayName="CardFooter";const j5t=Object.freeze(Object.defineProperty({__proto__:null,Card:Ng,CardContent:$T,CardDescription:KOe,CardFooter:XOe,CardHeader:Ik,CardTitle:gve},Symbol.toStringTag,{value:"Module"}));var Y5t="Separator",qOe="horizontal",W5t=["horizontal","vertical"],ZOe=Ue.forwardRef((e,t)=>{const{decorative:r,orientation:n=qOe,...o}=e,m=K5t(n)?n:qOe,h=r?{role:"none"}:{"aria-orientation":m==="vertical"?m:void 0,role:"separator"};return Oe.jsx(Zi.div,{"data-orientation":m,...h,...o,ref:t})});ZOe.displayName=Y5t;function K5t(e){return W5t.includes(e)}var QOe=ZOe;const yve=Ue.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...n},o)=>Oe.jsx(QOe,{ref:o,decorative:r,orientation:t,className:ga("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...n}));yve.displayName=QOe.displayName;const X5t=Object.freeze(Object.defineProperty({__proto__:null,Separator:yve},Symbol.toStringTag,{value:"Module"})),A9=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("div",{className:"relative w-full overflow-auto",children:Oe.jsx("table",{ref:r,className:ga("w-full caption-bottom text-sm",e),...t})}));A9.displayName="Table";const C9=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("thead",{ref:r,className:ga("[&_tr]:border-b",e),...t}));C9.displayName="TableHeader";const k9=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("tbody",{ref:r,className:ga("[&_tr:last-child]:border-0",e),...t}));k9.displayName="TableBody";const JOe=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("tfoot",{ref:r,className:ga("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...t}));JOe.displayName="TableFooter";const HT=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("tr",{ref:r,className:ga("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...t}));HT.displayName="TableRow";const M9=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("th",{ref:r,className:ga("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...t}));M9.displayName="TableHead";const Lk=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("td",{ref:r,className:ga("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...t}));Lk.displayName="TableCell";const eDe=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("caption",{ref:r,className:ga("mt-4 text-sm text-muted-foreground",e),...t}));eDe.displayName="TableCaption";const q5t=Object.freeze(Object.defineProperty({__proto__:null,Table:A9,TableBody:k9,TableCaption:eDe,TableCell:Lk,TableFooter:JOe,TableHead:M9,TableHeader:C9,TableRow:HT},Symbol.toStringTag,{value:"Module"})),tDe="";function rDe({whitespace:e}){return Oe.jsx("span",{className:ga("inline-block h-3.5 w-3.5 bg-foreground rounded-full animate-pulse",e&&"ml-2")})}function nDe(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const r=e[t],n=typeof r;(n==="object"||n==="function")&&!Object.isFrozen(r)&&nDe(r)}),e}let aDe=class{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function iDe(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function M2(e,...t){const r=Object.create(null);for(const n in e)r[n]=e[n];return t.forEach(function(n){for(const o in n)r[o]=n[o]}),r}const Z5t="</span>",oDe=e=>!!e.scope,Q5t=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const r=e.split(".");return[`${t}${r.shift()}`,...r.map((n,o)=>`${n}${"_".repeat(o+1)}`)].join(" ")}return`${t}${e}`};class J5t{constructor(t,r){this.buffer="",this.classPrefix=r.classPrefix,t.walk(this)}addText(t){this.buffer+=iDe(t)}openNode(t){if(!oDe(t))return;const r=Q5t(t.scope,{prefix:this.classPrefix});this.span(r)}closeNode(t){oDe(t)&&(this.buffer+=Z5t)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}const sDe=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class _ve{constructor(){this.rootNode=sDe(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const r=sDe({scope:t});this.add(r),this.stack.push(r)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,r){return typeof r=="string"?t.addText(r):r.children&&(t.openNode(r),r.children.forEach(n=>this._walk(t,n)),t.closeNode(r)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(r=>typeof r=="string")?t.children=[t.children.join("")]:t.children.forEach(r=>{_ve._collapse(r)}))}}class e6t extends _ve{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,r){const n=t.root;r&&(n.scope=`language:${r}`),this.add(n)}toHTML(){return new J5t(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Ok(e){return e?typeof e=="string"?e:e.source:null}function lDe(e){return kx("(?=",e,")")}function t6t(e){return kx("(?:",e,")*")}function r6t(e){return kx("(?:",e,")?")}function kx(...e){return e.map(r=>Ok(r)).join("")}function n6t(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function xve(...e){return"("+(n6t(e).capture?"":"?:")+e.map(n=>Ok(n)).join("|")+")"}function cDe(e){return new RegExp(e.toString()+"|").exec("").length-1}function a6t(e,t){const r=e&&e.exec(t);return r&&r.index===0}const i6t=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function bve(e,{joinWith:t}){let r=0;return e.map(n=>{r+=1;const o=r;let m=Ok(n),u="";for(;m.length>0;){const h=i6t.exec(m);if(!h){u+=m;break}u+=m.substring(0,h.index),m=m.substring(h.index+h[0].length),h[0][0]==="\\"&&h[1]?u+="\\"+String(Number(h[1])+o):(u+=h[0],h[0]==="("&&r++)}return u}).map(n=>`(${n})`).join(t)}const o6t=/\b\B/,uDe="[a-zA-Z]\\w*",Eve="[a-zA-Z_]\\w*",dDe="\\b\\d+(\\.\\d+)?",fDe="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",hDe="\\b(0b[01]+)",s6t="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",l6t=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=kx(t,/.*\b/,e.binary,/\b.*/)),M2({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(r,n)=>{r.index!==0&&n.ignoreMatch()}},e)},Dk={begin:"\\\\[\\s\\S]",relevance:0},c6t={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Dk]},u6t={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Dk]},d6t={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},R9=function(e,t,r={}){const n=M2({scope:"comment",begin:e,end:t,contains:[]},r);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const o=xve("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:kx(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},f6t=R9("//","$"),h6t=R9("/\\*","\\*/"),p6t=R9("#","$"),v6t={scope:"number",begin:dDe,relevance:0},m6t={scope:"number",begin:fDe,relevance:0},g6t={scope:"number",begin:hDe,relevance:0},y6t={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Dk,{begin:/\[/,end:/\]/,relevance:0,contains:[Dk]}]},_6t={scope:"title",begin:uDe,relevance:0},x6t={scope:"title",begin:Eve,relevance:0},b6t={begin:"\\.\\s*"+Eve,relevance:0};var N9=Object.freeze({__proto__:null,APOS_STRING_MODE:c6t,BACKSLASH_ESCAPE:Dk,BINARY_NUMBER_MODE:g6t,BINARY_NUMBER_RE:hDe,COMMENT:R9,C_BLOCK_COMMENT_MODE:h6t,C_LINE_COMMENT_MODE:f6t,C_NUMBER_MODE:m6t,C_NUMBER_RE:fDe,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(t,r)=>{r.data._beginMatch=t[1]},"on:end":(t,r)=>{r.data._beginMatch!==t[1]&&r.ignoreMatch()}})},HASH_COMMENT_MODE:p6t,IDENT_RE:uDe,MATCH_NOTHING_RE:o6t,METHOD_GUARD:b6t,NUMBER_MODE:v6t,NUMBER_RE:dDe,PHRASAL_WORDS_MODE:d6t,QUOTE_STRING_MODE:u6t,REGEXP_MODE:y6t,RE_STARTERS_RE:s6t,SHEBANG:l6t,TITLE_MODE:_6t,UNDERSCORE_IDENT_RE:Eve,UNDERSCORE_TITLE_MODE:x6t});function E6t(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function S6t(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function w6t(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=E6t,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function T6t(e,t){Array.isArray(e.illegal)&&(e.illegal=xve(...e.illegal))}function A6t(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function C6t(e,t){e.relevance===void 0&&(e.relevance=1)}const k6t=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const r=Object.assign({},e);Object.keys(e).forEach(n=>{delete e[n]}),e.keywords=r.keywords,e.begin=kx(r.beforeMatch,lDe(r.begin)),e.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},e.relevance=0,delete r.beforeMatch},M6t=["of","and","for","in","not","or","if","then","parent","list","value"],R6t="keyword";function pDe(e,t,r=R6t){const n=Object.create(null);return typeof e=="string"?o(r,e.split(" ")):Array.isArray(e)?o(r,e):Object.keys(e).forEach(function(m){Object.assign(n,pDe(e[m],t,m))}),n;function o(m,u){t&&(u=u.map(h=>h.toLowerCase())),u.forEach(function(h){const a=h.split("|");n[a[0]]=[m,N6t(a[0],a[1])]})}}function N6t(e,t){return t?Number(t):I6t(e)?0:1}function I6t(e){return M6t.includes(e.toLowerCase())}const vDe={},Mx=e=>{console.error(e)},mDe=(e,...t)=>{console.log(`WARN: ${e}`,...t)},VT=(e,t)=>{vDe[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),vDe[`${e}/${t}`]=!0)},I9=new Error;function gDe(e,t,{key:r}){let n=0;const o=e[r],m={},u={};for(let h=1;h<=t.length;h++)u[h+n]=o[h],m[h+n]=!0,n+=cDe(t[h-1]);e[r]=u,e[r]._emit=m,e[r]._multi=!0}function L6t(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Mx("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),I9;if(typeof e.beginScope!="object"||e.beginScope===null)throw Mx("beginScope must be object"),I9;gDe(e,e.begin,{key:"beginScope"}),e.begin=bve(e.begin,{joinWith:""})}}function O6t(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Mx("skip, excludeEnd, returnEnd not compatible with endScope: {}"),I9;if(typeof e.endScope!="object"||e.endScope===null)throw Mx("endScope must be object"),I9;gDe(e,e.end,{key:"endScope"}),e.end=bve(e.end,{joinWith:""})}}function D6t(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function P6t(e){D6t(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),L6t(e),O6t(e)}function F6t(e){function t(u,h){return new RegExp(Ok(u),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(h?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(h,a){a.position=this.position++,this.matchIndexes[this.matchAt]=a,this.regexes.push([a,h]),this.matchAt+=cDe(h)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const h=this.regexes.map(a=>a[1]);this.matcherRe=t(bve(h,{joinWith:"|"}),!0),this.lastIndex=0}exec(h){this.matcherRe.lastIndex=this.lastIndex;const a=this.matcherRe.exec(h);if(!a)return null;const l=a.findIndex((i,S)=>S>0&&i!==void 0),v=this.matchIndexes[l];return a.splice(0,l),Object.assign(a,v)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(h){if(this.multiRegexes[h])return this.multiRegexes[h];const a=new r;return this.rules.slice(h).forEach(([l,v])=>a.addRule(l,v)),a.compile(),this.multiRegexes[h]=a,a}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(h,a){this.rules.push([h,a]),a.type==="begin"&&this.count++}exec(h){const a=this.getMatcher(this.regexIndex);a.lastIndex=this.lastIndex;let l=a.exec(h);if(this.resumingScanAtSamePosition()&&!(l&&l.index===this.lastIndex)){const v=this.getMatcher(0);v.lastIndex=this.lastIndex+1,l=v.exec(h)}return l&&(this.regexIndex+=l.position+1,this.regexIndex===this.count&&this.considerAll()),l}}function o(u){const h=new n;return u.contains.forEach(a=>h.addRule(a.begin,{rule:a,type:"begin"})),u.terminatorEnd&&h.addRule(u.terminatorEnd,{type:"end"}),u.illegal&&h.addRule(u.illegal,{type:"illegal"}),h}function m(u,h){const a=u;if(u.isCompiled)return a;[S6t,A6t,P6t,k6t].forEach(v=>v(u,h)),e.compilerExtensions.forEach(v=>v(u,h)),u.__beforeBegin=null,[w6t,T6t,C6t].forEach(v=>v(u,h)),u.isCompiled=!0;let l=null;return typeof u.keywords=="object"&&u.keywords.$pattern&&(u.keywords=Object.assign({},u.keywords),l=u.keywords.$pattern,delete u.keywords.$pattern),l=l||/\w+/,u.keywords&&(u.keywords=pDe(u.keywords,e.case_insensitive)),a.keywordPatternRe=t(l,!0),h&&(u.begin||(u.begin=/\B|\b/),a.beginRe=t(a.begin),!u.end&&!u.endsWithParent&&(u.end=/\B|\b/),u.end&&(a.endRe=t(a.end)),a.terminatorEnd=Ok(a.end)||"",u.endsWithParent&&h.terminatorEnd&&(a.terminatorEnd+=(u.end?"|":"")+h.terminatorEnd)),u.illegal&&(a.illegalRe=t(u.illegal)),u.contains||(u.contains=[]),u.contains=[].concat(...u.contains.map(function(v){return B6t(v==="self"?u:v)})),u.contains.forEach(function(v){m(v,a)}),u.starts&&m(u.starts,h),a.matcher=o(a),a}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=M2(e.classNameAliases||{}),m(e)}function yDe(e){return e?e.endsWithParent||yDe(e.starts):!1}function B6t(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return M2(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:yDe(e)?M2(e,{starts:e.starts?M2(e.starts):null}):Object.isFrozen(e)?M2(e):e}var z6t="11.11.1";class U6t extends Error{constructor(t,r){super(t),this.name="HTMLInjectionError",this.html=r}}const Sve=iDe,_De=M2,xDe=Symbol("nomatch"),$6t=7,bDe=function(e){const t=Object.create(null),r=Object.create(null),n=[];let o=!0;const m="Could not find the language '{}', did you forget to load/include a language module?",u={disableAutodetect:!0,name:"Plain text",contains:[]};let h={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:e6t};function a(M){return h.noHighlightRe.test(M)}function l(M){let F=M.className+" ";F+=M.parentNode?M.parentNode.className:"";const N=h.languageDetectRe.exec(F);if(N){const T=w(N[1]);return T||(mDe(m.replace("{}",N[1])),mDe("Falling back to no-highlight mode for this block.",M)),T?N[1]:"no-highlight"}return F.split(/\s+/).find(T=>a(T)||w(T))}function v(M,F,N){let T="",D="";typeof F=="object"?(T=M,N=F.ignoreIllegals,D=F.language):(VT("10.7.0","highlight(lang, code, ...args) has been deprecated."),VT("10.7.0",`Please use highlight(code, options) instead.
https://github.com/highlightjs/highlight.js/issues/2277`),D=M,T=F),N===void 0&&(N=!0);const O={code:T,language:D};I("before:highlight",O);const U=O.result?O.result:i(O.language,O.code,N);return U.code=O.code,I("after:highlight",U),U}function i(M,F,N,T){const D=Object.create(null);function O(me,Te){return me.keywords[Te]}function U(){if(!K.keywords){ce.addText(re);return}let me=0;K.keywordPatternRe.lastIndex=0;let Te=K.keywordPatternRe.exec(re),we="";for(;Te;){we+=re.substring(me,Te.index);const Be=J.case_insensitive?Te[0].toLowerCase():Te[0],Ae=O(K,Be);if(Ae){const[Re,be]=Ae;if(ce.addText(we),we="",D[Be]=(D[Be]||0)+1,D[Be]<=$6t&&(ee+=be),Re.startsWith("_"))we+=Te[0];else{const Pe=J.classNameAliases[Re]||Re;z(Te[0],Pe)}}else we+=Te[0];me=K.keywordPatternRe.lastIndex,Te=K.keywordPatternRe.exec(re)}we+=re.substring(me),ce.addText(we)}function B(){if(re==="")return;let me=null;if(typeof K.subLanguage=="string"){if(!t[K.subLanguage]){ce.addText(re);return}me=i(K.subLanguage,re,!0,te[K.subLanguage]),te[K.subLanguage]=me._top}else me=g(re,K.subLanguage.length?K.subLanguage:null);K.relevance>0&&(ee+=me.relevance),ce.__addSublanguage(me._emitter,me.language)}function Y(){K.subLanguage!=null?B():U(),re=""}function z(me,Te){me!==""&&(ce.startScope(Te),ce.addText(me),ce.endScope())}function V(me,Te){let we=1;const Be=Te.length-1;for(;we<=Be;){if(!me._emit[we]){we++;continue}const Ae=J.classNameAliases[me[we]]||me[we],Re=Te[we];Ae?z(Re,Ae):(re=Re,U(),re=""),we++}}function j(me,Te){return me.scope&&typeof me.scope=="string"&&ce.openNode(J.classNameAliases[me.scope]||me.scope),me.beginScope&&(me.beginScope._wrap?(z(re,J.classNameAliases[me.beginScope._wrap]||me.beginScope._wrap),re=""):me.beginScope._multi&&(V(me.beginScope,Te),re="")),K=Object.create(me,{parent:{value:K}}),K}function G(me,Te,we){let Be=a6t(me.endRe,we);if(Be){if(me["on:end"]){const Ae=new aDe(me);me["on:end"](Te,Ae),Ae.isMatchIgnored&&(Be=!1)}if(Be){for(;me.endsParent&&me.parent;)me=me.parent;return me}}if(me.endsWithParent)return G(me.parent,Te,we)}function W(me){return K.matcher.regexIndex===0?(re+=me[0],1):(fe=!0,0)}function X(me){const Te=me[0],we=me.rule,Be=new aDe(we),Ae=[we.__beforeBegin,we["on:begin"]];for(const Re of Ae)if(Re&&(Re(me,Be),Be.isMatchIgnored))return W(Te);return we.skip?re+=Te:(we.excludeBegin&&(re+=Te),Y(),!we.returnBegin&&!we.excludeBegin&&(re=Te)),j(we,me),we.returnBegin?0:Te.length}function Q(me){const Te=me[0],we=F.substring(me.index),Be=G(K,me,we);if(!Be)return xDe;const Ae=K;K.endScope&&K.endScope._wrap?(Y(),z(Te,K.endScope._wrap)):K.endScope&&K.endScope._multi?(Y(),V(K.endScope,me)):Ae.skip?re+=Te:(Ae.returnEnd||Ae.excludeEnd||(re+=Te),Y(),Ae.excludeEnd&&(re=Te));do K.scope&&ce.closeNode(),!K.skip&&!K.subLanguage&&(ee+=K.relevance),K=K.parent;while(K!==Be.parent);return Be.starts&&j(Be.starts,me),Ae.returnEnd?0:Te.length}function ae(){const me=[];for(let Te=K;Te!==J;Te=Te.parent)Te.scope&&me.unshift(Te.scope);me.forEach(Te=>ce.openNode(Te))}let ie={};function he(me,Te){const we=Te&&Te[0];if(re+=me,we==null)return Y(),0;if(ie.type==="begin"&&Te.type==="end"&&ie.index===Te.index&&we===""){if(re+=F.slice(Te.index,Te.index+1),!o){const Be=new Error(`0 width match regex (${M})`);throw Be.languageName=M,Be.badRule=ie.rule,Be}return 1}if(ie=Te,Te.type==="begin")return X(Te);if(Te.type==="illegal"&&!N){const Be=new Error('Illegal lexeme "'+we+'" for mode "'+(K.scope||"<unnamed>")+'"');throw Be.mode=K,Be}else if(Te.type==="end"){const Be=Q(Te);if(Be!==xDe)return Be}if(Te.type==="illegal"&&we==="")return re+=`
`,1;if(oe>1e5&&oe>Te.index*3)throw new Error("potential infinite loop, way more iterations than matches");return re+=we,we.length}const J=w(M);if(!J)throw Mx(m.replace("{}",M)),new Error('Unknown language: "'+M+'"');const Z=F6t(J);let le="",K=T||Z;const te={},ce=new h.__emitter(h);ae();let re="",ee=0,de=0,oe=0,fe=!1;try{if(J.__emitTokens)J.__emitTokens(F,ce);else{for(K.matcher.considerAll();;){oe++,fe?fe=!1:K.matcher.considerAll(),K.matcher.lastIndex=de;const me=K.matcher.exec(F);if(!me)break;const Te=F.substring(de,me.index),we=he(Te,me);de=me.index+we}he(F.substring(de))}return ce.finalize(),le=ce.toHTML(),{language:M,value:le,relevance:ee,illegal:!1,_emitter:ce,_top:K}}catch(me){if(me.message&&me.message.includes("Illegal"))return{language:M,value:Sve(F),illegal:!0,relevance:0,_illegalBy:{message:me.message,index:de,context:F.slice(de-100,de+100),mode:me.mode,resultSoFar:le},_emitter:ce};if(o)return{language:M,value:Sve(F),illegal:!1,relevance:0,errorRaised:me,_emitter:ce,_top:K};throw me}}function S(M){const F={value:Sve(M),illegal:!1,relevance:0,_top:u,_emitter:new h.__emitter(h)};return F._emitter.addText(M),F}function g(M,F){F=F||h.languages||Object.keys(t);const N=S(M),T=F.filter(w).filter(A).map(Y=>i(Y,M,!1));T.unshift(N);const D=T.sort((Y,z)=>{if(Y.relevance!==z.relevance)return z.relevance-Y.relevance;if(Y.language&&z.language){if(w(Y.language).supersetOf===z.language)return 1;if(w(z.language).supersetOf===Y.language)return-1}return 0}),[O,U]=D,B=O;return B.secondBest=U,B}function p(M,F,N){const T=F&&r[F]||N;M.classList.add("hljs"),M.classList.add(`language-${T}`)}function _(M){let F=null;const N=l(M);if(a(N))return;if(I("before:highlightElement",{el:M,language:N}),M.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",M);return}if(M.children.length>0&&(h.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(M)),h.throwUnescapedHTML))throw new U6t("One of your code blocks includes unescaped HTML.",M.innerHTML);F=M;const T=F.textContent,D=N?v(T,{language:N,ignoreIllegals:!0}):g(T);M.innerHTML=D.value,M.dataset.highlighted="yes",p(M,N,D.language),M.result={language:D.language,re:D.relevance,relevance:D.relevance},D.secondBest&&(M.secondBest={language:D.secondBest.language,relevance:D.secondBest.relevance}),I("after:highlightElement",{el:M,result:D,text:T})}function c(M){h=_De(h,M)}const s=()=>{b(),VT("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function d(){b(),VT("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let f=!1;function b(){function M(){b()}if(document.readyState==="loading"){f||window.addEventListener("DOMContentLoaded",M,!1),f=!0;return}document.querySelectorAll(h.cssSelector).forEach(_)}function x(M,F){let N=null;try{N=F(e)}catch(T){if(Mx("Language definition for '{}' could not be registered.".replace("{}",M)),o)Mx(T);else throw T;N=u}N.name||(N.name=M),t[M]=N,N.rawDefinition=F.bind(null,e),N.aliases&&R(N.aliases,{languageName:M})}function y(M){delete t[M];for(const F of Object.keys(r))r[F]===M&&delete r[F]}function C(){return Object.keys(t)}function w(M){return M=(M||"").toLowerCase(),t[M]||t[r[M]]}function R(M,{languageName:F}){typeof M=="string"&&(M=[M]),M.forEach(N=>{r[N.toLowerCase()]=F})}function A(M){const F=w(M);return F&&!F.disableAutodetect}function E(M){M["before:highlightBlock"]&&!M["before:highlightElement"]&&(M["before:highlightElement"]=F=>{M["before:highlightBlock"](Object.assign({block:F.el},F))}),M["after:highlightBlock"]&&!M["after:highlightElement"]&&(M["after:highlightElement"]=F=>{M["after:highlightBlock"](Object.assign({block:F.el},F))})}function k(M){E(M),n.push(M)}function L(M){const F=n.indexOf(M);F!==-1&&n.splice(F,1)}function I(M,F){const N=M;n.forEach(function(T){T[N]&&T[N](F)})}function P(M){return VT("10.7.0","highlightBlock will be removed entirely in v12.0"),VT("10.7.0","Please use highlightElement now."),_(M)}Object.assign(e,{highlight:v,highlightAuto:g,highlightAll:b,highlightElement:_,highlightBlock:P,configure:c,initHighlighting:s,initHighlightingOnLoad:d,registerLanguage:x,unregisterLanguage:y,listLanguages:C,getLanguage:w,registerAliases:R,autoDetection:A,inherit:_De,addPlugin:k,removePlugin:L}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString=z6t,e.regex={concat:kx,lookahead:lDe,either:xve,optional:r6t,anyNumberOfTimes:t6t};for(const M in N9)typeof N9[M]=="object"&&nDe(N9[M]);return Object.assign(e,N9),e},GT=bDe({});GT.newInstance=()=>bDe({});var H6t=GT;GT.HighlightJS=GT,GT.default=GT;var wve,EDe;function V6t(){if(EDe)return wve;EDe=1;function e(t){const r="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",m="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",a="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",g="разделительстраниц разделительстрок символтабуляции "+"ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон "+"acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища "+"wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",D="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля "+"автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы "+"виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента "+"авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных "+"использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц "+"отображениевремениэлементовпланировщика "+"типфайлаформатированногодокумента "+"обходрезультатазапроса типзаписизапроса "+"видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов "+"доступкфайлу режимдиалогавыборафайла режимоткрытияфайла "+"типизмеренияпостроителязапроса "+"видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений "+"wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson "+"видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных "+"важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения "+"режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации "+"расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии "+"кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip "+"звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp "+"направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса "+"httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений "+"важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",B="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",Y="null истина ложь неопределено",z=t.inherit(t.NUMBER_MODE),V={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},j={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},G={match:/[;()+\-:=,]/,className:"punctuation",relevance:0},W=t.inherit(t.C_LINE_COMMENT_MODE),X={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:r,keyword:m+a},contains:[W]},Q={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},ae={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:r,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:r,keyword:"знач",literal:Y},contains:[z,V,j]},W]},t.inherit(t.TITLE_MODE,{begin:r})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:r,keyword:m,built_in:g,class:D,type:B,literal:Y},contains:[X,ae,W,Q,z,V,j,G]}}return wve=e,wve}var Tve,SDe;function G6t(){if(SDe)return Tve;SDe=1;function e(t){const r=t.regex,n=/^[a-zA-Z][a-zA-Z0-9-]*/,o=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],m=t.COMMENT(/;/,/$/),u={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},h={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},a={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},l={scope:"symbol",match:/%[si](?=".*")/},v={scope:"attribute",match:r.concat(n,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:o,contains:[{scope:"operator",match:/=\/?/},v,m,u,h,a,l,t.QUOTE_STRING_MODE,t.NUMBER_MODE]}}return Tve=e,Tve}var Ave,wDe;function j6t(){if(wDe)return Ave;wDe=1;function e(t){const r=t.regex,n=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:r.concat(/"/,r.either(...n)),end:/"/,keywords:n,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return Ave=e,Ave}var Cve,TDe;function Y6t(){if(TDe)return Cve;TDe=1;function e(t){const r=t.regex,n=/[a-zA-Z_$][a-zA-Z0-9_$]*/,o=r.concat(n,r.concat("(\\.",n,")*")),m=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,u={className:"rest_arg",begin:/[.]{3}/,end:n,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,o],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[t.inherit(t.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,u]},{begin:r.concat(/:\s*/,m)}]},t.METHOD_GUARD],illegal:/#/}}return Cve=e,Cve}var kve,ADe;function W6t(){if(ADe)return kve;ADe=1;function e(t){const r="\\d(_|\\d)*",n="[eE][-+]?"+r,o=r+"(\\."+r+")?("+n+")?",m="\\w+",h="\\b("+(r+"#"+m+"(\\."+m+")?#("+n+")?")+"|"+o+")",a="[A-Za-z](_?[A-Za-z0-9.])*",l=`[]\\{\\}%#'"`,v=t.COMMENT("--","$"),i={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:l,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:a,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[v,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:h,relevance:0},{className:"symbol",begin:"'"+a},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:l},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[v,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:l},i,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:l}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:l},i]}}return kve=e,kve}var Mve,CDe;function K6t(){if(CDe)return Mve;CDe=1;function e(t){const r={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},n={className:"symbol",begin:"[a-zA-Z0-9_]+@"},o={className:"keyword",begin:"<",end:">",contains:[r,n]};return r.contains=[o],n.contains=[o],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE],relevance:0},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},r,n,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return Mve=e,Mve}var Rve,kDe;function X6t(){if(kDe)return Rve;kDe=1;function e(t){const r={className:"number",begin:/[$%]\d+/},n={className:"number",begin:/\b\d+/},o={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},m={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[t.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[o,m,t.inherit(t.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{scope:"punctuation",match:/\\\n/},{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",r]},o,n,t.QUOTE_STRING_MODE]}}],illegal:/\S/}}return Rve=e,Rve}var Nve,MDe;function q6t(){if(MDe)return Nve;MDe=1;function e(t){const r=t.regex,n=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),o={className:"params",begin:/\(/,end:/\)/,contains:["self",t.C_NUMBER_MODE,n]},m=t.COMMENT(/--/,/$/),u=t.COMMENT(/\(\*/,/\*\)/,{contains:["self",m]}),h=[m,u,t.HASH_COMMENT_MODE],a=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],l=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[n,t.C_NUMBER_MODE,{className:"built_in",begin:r.concat(/\b/,r.either(...l),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:r.concat(/\b/,r.either(...a),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[t.UNDERSCORE_TITLE_MODE,o]},...h],illegal:/\/\/|->|=>|\[\[/}}return Nve=e,Nve}var Ive,RDe;function Z6t(){if(RDe)return Ive;RDe=1;function e(t){const r=t.regex,n="[A-Za-z_][0-9A-Za-z_]*",o={keyword:["break","case","catch","continue","debugger","do","else","export","for","function","if","import","in","new","of","return","switch","try","var","void","while"],literal:["BackSlash","DoubleQuote","ForwardSlash","Infinity","NaN","NewLine","PI","SingleQuote","Tab","TextFormatting","false","null","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","ChangeTimeZone","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","ConvexHull","Cos","Count","Crosses","Cut","Date|0","DateAdd","DateDiff","DateOnly","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","DistanceToCoordinate","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureInFilter","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipClass","FeatureSetByRelationshipName","Filter","FilterBySubtypeCode","Find","First|0","Floor","FromCharCode","FromCodePoint","FromJSON","Front","GdbVersion","Generalize","Geometry","GetEnvironment","GetFeatureSet","GetFeatureSetInfo","GetUser","GroupBy","Guid","HasKey","HasValue","Hash","Hour","IIf","ISOMonth","ISOWeek","ISOWeekday","ISOYear","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","IsSelfIntersecting","IsSimple","KnowledgeGraphByPortalItem","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","MeasureToCoordinate","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NearestCoordinate","NearestVertex","NextSequenceValue","None","Now","Number","Offset","OrderBy","Overlaps","Point","PointToCoordinate","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","QueryGraph","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","StandardizeFilename","StandardizeGuid","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Time","TimeZone","TimeZoneOffset","Timestamp","ToCharCode","ToCodePoint","ToHex","ToLocal","ToUTC","Today","Top|0","Touches","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When|0","Within","Year|0"]},m=["aggregatedFeatures","analytic","config","datapoint","datastore","editcontext","feature","featureSet","feedfeature","fencefeature","fencenotificationtype","graph","join","layer","locationupdate","map","measure","measure","originalFeature","record","reference","rowindex","sourcedatastore","sourcefeature","sourcelayer","target","targetdatastore","targetfeature","targetlayer","userInput","value","variables","view"],u={className:"symbol",begin:"\\$"+r.either(...m)},h={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:t.C_NUMBER_RE}],relevance:0},a={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},l={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,a]};a.contains=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,l,h,t.REGEXP_MODE];const v=a.contains.concat([t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:o,contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,l,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,u,h,{begin:/[{,]\s*/,relevance:0,contains:[{begin:n+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:n,relevance:0}]}]},{begin:"("+t.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+n+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:v}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{className:"title.function",begin:n}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:v}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return Ive=e,Ive}var Lve,NDe;function Q6t(){if(NDe)return Lve;NDe=1;function e(r){const n=r.regex,o=r.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),m="decltype\\(auto\\)",u="[a-zA-Z_]\\w*::",a="(?!struct)("+m+"|"+n.optional(u)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},i={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[r.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},r.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},S={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},r.inherit(i,{className:"string"}),{className:"string",begin:/<.*?>/},o,r.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:n.optional(u)+r.IDENT_RE,relevance:0},_=n.optional(u)+r.IDENT_RE+"\\s*\\(",c=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],s=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],d=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],f=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],y={type:s,keyword:c,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:d},C={className:"function.dispatch",relevance:0,keywords:{_hint:f},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,r.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},w=[C,g,l,o,r.C_BLOCK_COMMENT_MODE,S,i],R={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:y,contains:w.concat([{begin:/\(/,end:/\)/,keywords:y,contains:w.concat(["self"]),relevance:0}]),relevance:0},A={className:"function",begin:"("+a+"[\\*&\\s]+)+"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:y,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:m,keywords:y,relevance:0},{begin:_,returnBegin:!0,contains:[p],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[i,S]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:[o,r.C_BLOCK_COMMENT_MODE,i,S,l,{begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:["self",o,r.C_BLOCK_COMMENT_MODE,i,S,l]}]},l,o,r.C_BLOCK_COMMENT_MODE,g]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:y,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(R,A,C,w,[g,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:y,contains:["self",l]},{begin:r.IDENT_RE+"::",keywords:y},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function t(r){const n={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},o=e(r),m=o.keywords;return m.type=[...m.type,...n.type],m.literal=[...m.literal,...n.literal],m.built_in=[...m.built_in,...n.built_in],m._hints=n._hints,o.name="Arduino",o.aliases=["ino"],o.supersetOf="cpp",o}return Lve=t,Lve}var Ove,IDe;function J6t(){if(IDe)return Ove;IDe=1;function e(t){const r={variants:[t.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),t.COMMENT("[;@]","$",{relevance:0}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+t.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL 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 FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},r,t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return Ove=e,Ove}var Dve,LDe;function eAt(){if(LDe)return Dve;LDe=1;function e(t){const r=t.regex,n=r.concat(/[\p{L}_]/u,r.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),o=/[\p{L}0-9._:-]+/u,m={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},u={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},h=t.inherit(u,{begin:/\(/,end:/\)/}),a=t.inherit(t.APOS_STRING_MODE,{className:"string"}),l=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),v={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:o,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[m]},{begin:/'/,end:/'/,contains:[m]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[u,l,a,h,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[u,h,l,a]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},m,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[v],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[v],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:r.concat(/</,r.lookahead(r.concat(n,r.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:v}]},{className:"tag",begin:r.concat(/<\//,r.lookahead(r.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return Dve=e,Dve}var Pve,ODe;function tAt(){if(ODe)return Pve;ODe=1;function e(t){const r=t.regex,n={begin:"^'{3,}[ \\t]*$",relevance:10},o=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],m=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:r.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],u=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:r.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],h={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},a={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[t.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),t.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},a,h,...o,...m,...u,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},n,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return Pve=e,Pve}var Fve,DDe;function rAt(){if(DDe)return Fve;DDe=1;function e(t){const r=t.regex,n=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],o=["get","set","args","call"];return{name:"AspectJ",keywords:n,illegal:/<\/|#/,contains:[t.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},t.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:n.concat(o),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:r.concat(t.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[t.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:n,illegal:/["\[\]]/,contains:[{begin:r.concat(t.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:n.concat(o),relevance:0},t.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:n,excludeEnd:!0,contains:[{begin:r.concat(t.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[t.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:n,contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},t.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return Fve=e,Fve}var Bve,PDe;function nAt(){if(PDe)return Bve;PDe=1;function e(t){const r={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[r,t.inherit(t.QUOTE_STRING_MODE,{contains:[r]}),t.COMMENT(";","$",{relevance:0}),t.C_BLOCK_COMMENT_MODE,{className:"number",begin:t.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return Bve=e,Bve}var zve,FDe;function aAt(){if(FDe)return zve;FDe=1;function e(t){const r="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",n=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],o="True False And Null Not Or Default",m="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",u={variants:[t.COMMENT(";","$",{relevance:0}),t.COMMENT("#cs","#ce"),t.COMMENT("#comments-start","#comments-end")]},h={begin:"\\$[A-z0-9_]+"},a={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},l={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},v={className:"meta",begin:"#",end:"$",keywords:{keyword:n},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[a,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},a,u]},i={className:"symbol",begin:"@[A-z0-9_]+"},S={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[h,a,l]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:r,built_in:m,literal:o},contains:[u,h,a,l,v,i,S]}}return zve=e,zve}var Uve,BDe;function iAt(){if(BDe)return Uve;BDe=1;function e(t){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+t.IDENT_RE,keyword:"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 eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[t.C_BLOCK_COMMENT_MODE,t.COMMENT(";","$",{relevance:0}),t.C_NUMBER_MODE,t.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return Uve=e,Uve}var $ve,zDe;function oAt(){if(zDe)return $ve;zDe=1;function e(t){const r={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},n="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",o={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:n},contains:[r,o,t.REGEXP_MODE,t.HASH_COMMENT_MODE,t.NUMBER_MODE]}}return $ve=e,$ve}var Hve,UDe;function sAt(){if(UDe)return Hve;UDe=1;function e(t){const r=t.UNDERSCORE_IDENT_RE,u={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},h={variants:[{match:[/(class|interface)\s+/,r,/\s+(extends|implements)\s+/,r]},{match:[/class\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:u};return{name:"X++",aliases:["x++"],keywords:u,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},h]}}return Hve=e,Hve}var Vve,$De;function lAt(){if($De)return Vve;$De=1;function e(t){const r=t.regex,n={},o={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:r.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},o]});const m={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},u=t.inherit(t.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),h={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,n,m]};m.contains.push(a);const l={match:/\\"/},v={className:"string",begin:/'/,end:/'/},i={match:/\\'/},S={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,n]},g=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=t.SHEBANG({binary:`(${g.join("|")})`,relevance:10}),_={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},c=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],s=["true","false"],d={match:/(\/[a-z._-]+)+/},f=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],b=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],x=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],y=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:c,literal:s,built_in:[...f,...b,"set","shopt",...x,...y]},contains:[p,t.SHEBANG(),_,S,u,h,d,a,l,v,i,n]}}return Vve=e,Vve}var Gve,HDe;function cAt(){if(HDe)return Gve;HDe=1;function e(t){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[{scope:"string",begin:/"/,end:/"|$/,contains:[t.BACKSLASH_ESCAPE]},t.COMMENT("REM","$",{relevance:10}),t.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return Gve=e,Gve}var jve,VDe;function uAt(){if(VDe)return jve;VDe=1;function e(t){return{name:"BackusNaur Form",contains:[{className:"attribute",begin:/</,end:/>/},{begin:/::=/,end:/$/,contains:[{begin:/</,end:/>/},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]}]}}return jve=e,jve}var Yve,GDe;function dAt(){if(GDe)return Yve;GDe=1;function e(t){const r={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[t.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[r]},r]}}return Yve=e,Yve}var Wve,jDe;function fAt(){if(jDe)return Wve;jDe=1;function e(t){const r=t.regex,n=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",m="[a-zA-Z_]\\w*::",h="("+o+"|"+r.optional(m)+"[a-zA-Z_]\\w*"+r.optional("<[^<>]+>")+")",a={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},v={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},i={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},S={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(v,{className:"string"}),{className:"string",begin:/<.*?>/},n,t.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:r.optional(m)+t.IDENT_RE,relevance:0},p=r.optional(m)+t.IDENT_RE+"\\s*\\(",s={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},d=[S,a,n,t.C_BLOCK_COMMENT_MODE,i,v],f={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:s,contains:d.concat([{begin:/\(/,end:/\)/,keywords:s,contains:d.concat(["self"]),relevance:0}]),relevance:0},b={begin:"("+h+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:s,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:s,relevance:0},{begin:p,returnBegin:!0,contains:[t.inherit(g,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:s,relevance:0,contains:[n,t.C_BLOCK_COMMENT_MODE,v,i,a,{begin:/\(/,end:/\)/,keywords:s,relevance:0,contains:["self",n,t.C_BLOCK_COMMENT_MODE,v,i,a]}]},a,n,t.C_BLOCK_COMMENT_MODE,S]};return{name:"C",aliases:["h"],keywords:s,disableAutodetect:!0,illegal:"</",contains:[].concat(f,b,d,[S,{begin:t.IDENT_RE+"::",keywords:s},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{preprocessor:S,strings:v,keywords:s}}}return Wve=e,Wve}var Kve,YDe;function hAt(){if(YDe)return Kve;YDe=1;function e(t){const r=t.regex,n=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],o="false true",m=[t.C_LINE_COMMENT_MODE,t.COMMENT(/\{/,/\}/,{relevance:0}),t.COMMENT(/\(\*/,/\*\)/,{relevance:10})],u={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},h={className:"string",begin:/(#\d+)+/},a={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},l={className:"string",begin:'"',end:'"'},v={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[u,h,t.NUMBER_MODE]},...m]},i=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],S={match:[/OBJECT/,/\s+/,r.either(...i),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:n,literal:o},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},u,h,a,l,t.NUMBER_MODE,S,v]}}return Kve=e,Kve}var Xve,WDe;function pAt(){if(WDe)return Xve;WDe=1;function e(t){const r=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],n=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],o=["true","false"],m={variants:[{match:[/(struct|enum|interface)/,/\s+/,t.IDENT_RE]},{match:[/extends/,/\s*\(/,t.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Capn Proto",aliases:["capnp"],keywords:{keyword:r,type:n,literal:o},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},m]}}return Xve=e,Xve}var qve,KDe;function vAt(){if(KDe)return qve;KDe=1;function e(t){const r=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],n=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],o=["doc","by","license","see","throws","tagged"],m={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:r,relevance:10},u=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[m]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return m.contains=u,{name:"Ceylon",keywords:{keyword:r.concat(n),meta:o},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(u)}}return qve=e,qve}var Zve,XDe;function mAt(){if(XDe)return Zve;XDe=1;function e(t){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return Zve=e,Zve}var Qve,qDe;function gAt(){if(qDe)return Qve;qDe=1;function e(t){const r="a-zA-Z_\\-!.?+*=<>&'",n="[#]?["+r+"]["+r+"0-9/;:$#]*",o="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",m={$pattern:n,built_in:o+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},u={begin:n,relevance:0},h={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},a={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},l={scope:"regex",begin:/#"/,end:/"/,contains:[t.BACKSLASH_ESCAPE]},v=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),i={scope:"punctuation",match:/,/,relevance:0},S=t.COMMENT(";","$",{relevance:0}),g={className:"literal",begin:/\b(true|false|nil)\b/},p={begin:"\\[|(#::?"+n+")?\\{",end:"[\\]\\}]",relevance:0},_={className:"symbol",begin:"[:]{1,2}"+n},c={begin:"\\(",end:"\\)"},s={endsWithParent:!0,relevance:0},d={keywords:m,className:"name",begin:n,relevance:0,starts:s},f=[i,c,a,l,v,S,_,p,h,g,u],b={beginKeywords:o,keywords:{$pattern:n,keyword:o},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:n,relevance:0,excludeEnd:!0,endsParent:!0}].concat(f)};return c.contains=[b,d,s],s.contains=f,p.contains=f,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[i,c,a,l,v,S,_,p,h,g]}}return Qve=e,Qve}var Jve,ZDe;function yAt(){if(ZDe)return Jve;ZDe=1;function e(t){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return Jve=e,Jve}var eme,QDe;function _At(){if(QDe)return eme;QDe=1;function e(t){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while 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 build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group 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 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 build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},t.COMMENT(/#\[\[/,/]]/),t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE]}}return eme=e,eme}var tme,JDe;function xAt(){if(JDe)return tme;JDe=1;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],t=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],n=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],o=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],m=[].concat(o,r,n);function u(h){const a=["npm","print"],l=["yes","no","on","off"],v=["then","unless","until","loop","by","when","and","or","is","isnt","not"],i=["var","const","let","function","static"],S=x=>y=>!x.includes(y),g={keyword:e.concat(v).filter(S(i)),literal:t.concat(l),built_in:m.concat(a)},p="[A-Za-z$_][0-9A-Za-z$_]*",_={className:"subst",begin:/#\{/,end:/\}/,keywords:g},c=[h.BINARY_NUMBER_MODE,h.inherit(h.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[h.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[h.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[h.BACKSLASH_ESCAPE,_]},{begin:/"/,end:/"/,contains:[h.BACKSLASH_ESCAPE,_]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[_,h.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+p},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];_.contains=c;const s=h.inherit(h.TITLE_MODE,{begin:p}),d="(\\(.*\\)\\s*)?\\B[-=]>",f={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:g,contains:["self"].concat(c)}]},b={variants:[{match:[/class\s+/,p,/\s+extends\s+/,p]},{match:[/class\s+/,p]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:g};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:g,illegal:/\/\*/,contains:[...c,h.COMMENT("###","###"),h.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+p+"\\s*=\\s*"+d,end:"[-=]>",returnBegin:!0,contains:[s,f]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:d,end:"[-=]>",returnBegin:!0,contains:[f]}]},b,{begin:p+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return tme=u,tme}var rme,ePe;function bAt(){if(ePe)return rme;ePe=1;function e(t){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[t.QUOTE_STRING_MODE,t.COMMENT("\\(\\*","\\*\\)"),t.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return rme=e,rme}var nme,tPe;function EAt(){if(tPe)return nme;tPe=1;function e(t){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)</,end:/>/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*</,end:/>\s*>/,subLanguage:"xml"}]}}return nme=e,nme}var ame,rPe;function SAt(){if(rPe)return ame;rPe=1;function e(t){const r=t.regex,n=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",m="[a-zA-Z_]\\w*::",h="(?!struct)("+o+"|"+r.optional(m)+"[a-zA-Z_]\\w*"+r.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},v={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},i={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},S={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(v,{className:"string"}),{className:"string",begin:/<.*?>/},n,t.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:r.optional(m)+t.IDENT_RE,relevance:0},p=r.optional(m)+t.IDENT_RE+"\\s*\\(",_=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],c=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],s=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],d=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],x={type:c,keyword:_,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:s},y={className:"function.dispatch",relevance:0,keywords:{_hint:d},begin:r.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,r.lookahead(/(<[^<>]+>|)\s*\(/))},C=[y,S,a,n,t.C_BLOCK_COMMENT_MODE,i,v],w={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:x,contains:C.concat([{begin:/\(/,end:/\)/,keywords:x,contains:C.concat(["self"]),relevance:0}]),relevance:0},R={className:"function",begin:"("+h+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:x,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:x,relevance:0},{begin:p,returnBegin:!0,contains:[g],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[v,i]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:x,relevance:0,contains:[n,t.C_BLOCK_COMMENT_MODE,v,i,a,{begin:/\(/,end:/\)/,keywords:x,relevance:0,contains:["self",n,t.C_BLOCK_COMMENT_MODE,v,i,a]}]},a,n,t.C_BLOCK_COMMENT_MODE,S]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:x,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(w,R,y,C,[S,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:x,contains:["self",a]},{begin:t.IDENT_RE+"::",keywords:x},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return ame=e,ame}var ime,nPe;function wAt(){if(nPe)return ime;nPe=1;function e(t){const r="primitive rsc_template",n="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization"+" "+"read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\"+" "+"number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[t.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:r,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+n.split(" ").join("|")+")\\s+",keywords:n,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},t.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"</?",end:"/?>",relevance:0}]}}return ime=e,ime}var ome,aPe;function TAt(){if(aPe)return ome;aPe=1;function e(t){const r="(_?[ui](8|16|32|64|128))?",n="(_?f(32|64))?",o="[a-zA-Z_]\\w*[!?=]?",m="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",u="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",h={$pattern:o,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},a={className:"subst",begin:/#\{/,end:/\}/,keywords:h},l={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},v={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:h};function i(d,f){const b=[{begin:d,end:f}];return b[0].contains=b,b}const S={className:"string",contains:[t.BACKSLASH_ESCAPE,a],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:i("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:i("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:i(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:i("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},g={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:i("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:i("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:i(/\{/,/\}/)},{begin:"%q<",end:">",contains:i("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},p={begin:"(?!%\\})("+t.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,a],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},_={className:"regexp",contains:[t.BACKSLASH_ESCAPE,a],variants:[{begin:"%r\\(",end:"\\)",contains:i("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:i("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:i(/\{/,/\}/)},{begin:"%r<",end:">",contains:i("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},c={className:"meta",begin:"@\\[",end:"\\]",contains:[t.inherit(t.QUOTE_STRING_MODE,{className:"string"})]},s=[v,S,g,_,p,c,l,t.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:u}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:u})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:u})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:m,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:m,endsParent:!0})],relevance:2},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[S,{begin:m}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+r},{begin:"\\b0o([0-7_]+)"+r},{begin:"\\b0x([A-Fa-f0-9_]+)"+r},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+n+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+r}],relevance:0}];return a.contains=s,v.contains=s.slice(1),{name:"Crystal",aliases:["cr"],keywords:h,contains:s}}return ome=e,ome}var sme,iPe;function AAt(){if(iPe)return sme;iPe=1;function e(t){const r=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],n=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],o=["default","false","null","true"],m=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],u=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],h={keyword:m.concat(u),built_in:r,literal:o},a=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},v={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},i={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},S=t.inherit(i,{illegal:/\n/}),g={className:"subst",begin:/\{/,end:/\}/,keywords:h},p=t.inherit(g,{illegal:/\n/}),_={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,p]},c={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},g]},s=t.inherit(c,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},p]});g.contains=[c,_,i,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,l,t.C_BLOCK_COMMENT_MODE],p.contains=[s,_,S,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,l,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const d={variants:[v,c,_,i,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},f={begin:"<",end:">",contains:[{beginKeywords:"in out"},a]},b=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",x={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:h,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},d,l,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},a,f,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,f,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+b+"\\s+)+"+t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:h,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,f],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,relevance:0,contains:[d,l,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},x]}}return sme=e,sme}var lme,oPe;function CAt(){if(oPe)return lme;oPe=1;function e(t){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return lme=e,lme}var cme,sPe;function kAt(){if(sPe)return cme;sPe=1;const e=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],r=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],n=[...t,...r],o=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),m=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),u=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),h=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function a(l){const v=l.regex,i=e(l),S={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},g="and or not only",p=/@-?\w[\w]*(-\w+)*/,_="[a-zA-Z-][a-zA-Z0-9_-]*",c=[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[i.BLOCK_COMMENT,S,i.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+_,relevance:0},i.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+m.join("|")+")"},{begin:":(:)?("+u.join("|")+")"}]},i.CSS_VARIABLE,{className:"attribute",begin:"\\b("+h.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[i.BLOCK_COMMENT,i.HEXCOLOR,i.IMPORTANT,i.CSS_NUMBER_MODE,...c,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...c,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},i.FUNCTION_DISPATCH]},{begin:v.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:p},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:g,attribute:o.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...c,i.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+n.join("|")+")\\b"}]}}return cme=a,cme}var ume,lPe;function MAt(){if(lPe)return ume;lPe=1;function e(t){const r={$pattern:t.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},n="(0|[1-9][\\d_]*)",o="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",m="0[bB][01_]+",u="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",h="0[xX]"+u,a="([eE][+-]?"+o+")",l="("+o+"(\\.\\d*|"+a+")|\\d+\\."+o+"|\\."+n+a+"?)",v="(0[xX]("+u+"\\."+u+"|\\.?"+u+")[pP][+-]?"+o+")",i="("+n+"|"+m+"|"+h+")",S="("+v+"|"+l+")",g=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,p={className:"number",begin:"\\b"+i+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},_={className:"number",begin:"\\b("+S+"([fF]|L|i|[fF]i|Li)?|"+i+"(i|[fF]i|Li))",relevance:0},c={className:"string",begin:"'("+g+"|.)",end:"'",illegal:"."},d={className:"string",begin:'"',contains:[{begin:g,relevance:0}],end:'"[cwd]?'},f={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},b={className:"string",begin:"`",end:"`[cwd]?"},x={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},y={className:"string",begin:'q"\\{',end:'\\}"'},C={className:"meta",begin:"^#!",end:"$",relevance:5},w={className:"meta",begin:"#(line)",end:"$",relevance:5},R={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},A=t.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:r,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,A,x,d,f,b,y,_,p,c,C,w,R]}}return ume=e,ume}var dme,cPe;function RAt(){if(cPe)return dme;cPe=1;function e(t){const r=t.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},o={begin:"^[-\\*]{3,}",end:"$"},m={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},u={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},h={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},a=/[A-Za-z][A-Za-z0-9+.-]*/,l={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:r.concat(/\[.+?\]\(/,a,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},v={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},i={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},S=t.inherit(v,{contains:[]}),g=t.inherit(i,{contains:[]});v.contains.push(g),i.contains.push(S);let p=[n,l];return[v,i,S,g].forEach(d=>{d.contains=d.contains.concat(p)}),p=p.concat(v,i),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:p},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:p}]}]},n,u,v,i,{className:"quote",begin:"^>\\s+",contains:p,end:"$"},m,o,l,h,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}return dme=e,dme}var fme,uPe;function NAt(){if(uPe)return fme;uPe=1;function e(t){const r={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},n={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},o={className:"number",relevance:0,variants:[{match:/\b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-]?[0-9][0-9_]*)?\b/},{match:/\b0[xX][0-9A-Fa-f][0-9A-Fa-f_]*\b/}]},m={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[t.BACKSLASH_ESCAPE,r,n]},{begin:'"""',end:'"""',contains:[t.BACKSLASH_ESCAPE,r,n]},{begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,r,n]},{begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,r,n]}]};n.contains=[o,m];const u=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],h=u.map(v=>`${v}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:u.concat(h).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[m,t.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),t.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},o,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return fme=e,fme}var hme,dPe;function IAt(){if(dPe)return hme;dPe=1;function e(t){const r=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],n=[t.C_LINE_COMMENT_MODE,t.COMMENT(/\{/,/\}/,{relevance:0}),t.COMMENT(/\(\*/,/\*\)/,{relevance:10})],o={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},m={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},u={className:"number",relevance:0,variants:[{match:/\b\d[\d_]*(\.\d[\d_]*)?/},{match:/\$[\dA-Fa-f_]+/},{match:/\$/,relevance:0},{match:/&[0-7][0-7_]*/},{match:/%[01_]+/},{match:/%/,relevance:0}]},h={className:"string",variants:[{match:/#\d[\d_]*/},{match:/#\$[\dA-Fa-f][\dA-Fa-f_]*/},{match:/#&[0-7][0-7_]*/},{match:/#%[01][01_]*/}]},a={begin:t.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[t.TITLE_MODE]},l={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:r,contains:[m,h,o].concat(n)},o].concat(n)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:r,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[m,h,u,a,l,o].concat(n)}}return hme=e,hme}var pme,fPe;function LAt(){if(fPe)return pme;fPe=1;function e(t){const r=t.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:r.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:r.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return pme=e,pme}var vme,hPe;function OAt(){if(hPe)return vme;hPe=1;function e(t){const r={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[t.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),t.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[r],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[r]}]}}return vme=e,vme}var mme,pPe;function DAt(){if(pPe)return mme;pPe=1;function e(t){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[t.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},t.inherit(t.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return mme=e,mme}var gme,vPe;function PAt(){if(vPe)return gme;vPe=1;function e(t){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[t.HASH_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}return gme=e,gme}var yme,mPe;function FAt(){if(mPe)return yme;mPe=1;function e(t){const r=t.COMMENT(/^\s*@?rem\b/,/$/,{relevance:10});return{name:"Batch file (DOS)",aliases:["bat","cmd"],case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:["if","else","goto","for","in","do","call","exit","not","exist","errorlevel","defined","equ","neq","lss","leq","gtr","geq"],built_in:["prn","nul","lpt3","lpt2","lpt1","con","com4","com3","com2","com1","aux","shift","cd","dir","echo","setlocal","endlocal","set","pause","copy","append","assoc","at","attrib","break","cacls","cd","chcp","chdir","chkdsk","chkntfs","cls","cmd","color","comp","compact","convert","date","dir","diskcomp","diskcopy","doskey","erase","fs","find","findstr","format","ftype","graftabl","help","keyb","label","md","mkdir","mode","more","move","path","pause","print","popd","pushd","promt","rd","recover","rem","rename","replace","restore","rmdir","shift","sort","start","subst","time","title","tree","type","ver","verify","vol","ping","net","ipconfig","taskkill","xcopy","ren","del"]},contains:[{className:"variable",begin:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{className:"function",begin:{className:"symbol",begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",relevance:0}.begin,end:"goto:eof",contains:[t.inherit(t.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),r]},{className:"number",begin:"\\b\\d+",relevance:0},r]}}return yme=e,yme}var _me,gPe;function BAt(){if(gPe)return _me;gPe=1;function e(t){return{keywords:"dsconfig",contains:[{className:"keyword",begin:"^dsconfig",end:/\s/,excludeEnd:!0,relevance:10},{className:"built_in",begin:/(list|create|get|set|delete)-(\w+)/,end:/\s/,excludeEnd:!0,illegal:"!@#$%^&*()",relevance:10},{className:"built_in",begin:/--(\w+)/,end:/\s/,excludeEnd:!0},{className:"string",begin:/"/,end:/"/},{className:"string",begin:/'/,end:/'/},{className:"string",begin:/[\w\-?]+:\w+/,end:/\W/,relevance:0},{className:"string",begin:/\w+(\-\w+)*/,end:/(?=\W)/,relevance:0},t.HASH_COMMENT_MODE]}}return _me=e,_me}var xme,yPe;function zAt(){if(yPe)return xme;yPe=1;function e(t){const r={className:"string",variants:[t.inherit(t.QUOTE_STRING_MODE,{begin:'((u8?|U)|L)?"'}),{begin:'(u8?|U)?R"',end:'"',contains:[t.BACKSLASH_ESCAPE]},{begin:"'\\\\?.",end:"'",illegal:"."}]},n={className:"number",variants:[{begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},{begin:t.C_NUMBER_RE}],relevance:0},o={className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef ifdef ifndef"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[t.inherit(r,{className:"string"}),{className:"string",begin:"<",end:">",illegal:"\\n"}]},r,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},m={className:"variable",begin:/&[a-z\d_]*\b/},u={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},h={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},a={className:"params",relevance:0,begin:"<",end:">",contains:[n,m]},l={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},v={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},i={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},S={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},g={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[v,m,u,h,l,S,i,a,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,n,r,o,g,{begin:t.IDENT_RE+"::",keywords:""}]}}return xme=e,xme}var bme,_Pe;function UAt(){if(_Pe)return bme;_Pe=1;function e(t){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[t.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}return bme=e,bme}var Eme,xPe;function $At(){if(xPe)return Eme;xPe=1;function e(t){const r=t.COMMENT(/\(\*/,/\*\)/),n={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},m={begin:/=/,end:/[.;]/,contains:[r,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[r,n,m]}}return Eme=e,Eme}var Sme,bPe;function HAt(){if(bPe)return Sme;bPe=1;function e(t){const r=t.regex,n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",o="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",h={$pattern:n,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},a={className:"subst",begin:/#\{/,end:/\}/,keywords:h},l={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},i={match:/\\[\s\S]/,scope:"char.escape",relevance:0},S=`[/|([{<"']`,g=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],p=y=>({scope:"char.escape",begin:r.concat(/\\/,y),relevance:0}),_={className:"string",begin:"~[a-z](?="+S+")",contains:g.map(y=>t.inherit(y,{contains:[p(y.end),i,a]}))},c={className:"string",begin:"~[A-Z](?="+S+")",contains:g.map(y=>t.inherit(y,{contains:[p(y.end)]}))},s={className:"regex",variants:[{begin:"~r(?="+S+")",contains:g.map(y=>t.inherit(y,{end:r.concat(y.end,/[uismxfU]{0,7}/),contains:[p(y.end),i,a]}))},{begin:"~R(?="+S+")",contains:g.map(y=>t.inherit(y,{end:r.concat(y.end,/[uismxfU]{0,7}/),contains:[p(y.end)]}))}]},d={className:"string",contains:[t.BACKSLASH_ESCAPE,a],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},f={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:n,endsParent:!0})]},b=t.inherit(f,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),x=[d,s,c,_,t.HASH_COMMENT_MODE,b,f,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[d,{begin:o}],relevance:0},{className:"symbol",begin:n+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},l,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return a.contains=x,{name:"Elixir",aliases:["ex","exs"],keywords:h,contains:x}}return Sme=e,Sme}var wme,EPe;function VAt(){if(EPe)return wme;EPe=1;function e(t){const r={variants:[t.COMMENT("--","$"),t.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},o={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},r]},m={begin:/\{/,end:/\}/,contains:o.contains},u={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[o,r],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[o,r],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[n,o,m,r]},{beginKeywords:"infix infixl infixr",end:"$",contains:[t.C_NUMBER_MODE,r]},{begin:"port",end:"$",keywords:"port",contains:[r]},u,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,n,t.inherit(t.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),r,{begin:"->|<-"}],illegal:/;/}}return wme=e,wme}var Tme,SPe;function GAt(){if(SPe)return Tme;SPe=1;function e(t){const r=t.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",o=r.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),m=r.concat(o,/(::\w+)*/),h={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},a={className:"doctag",begin:"@[A-Za-z]+"},l={begin:"#<",end:">"},v=[t.COMMENT("#","$",{contains:[a]}),t.COMMENT("^=begin","^=end",{contains:[a],relevance:10}),t.COMMENT("^__END__",t.MATCH_NOTHING_RE)],i={className:"subst",begin:/#\{/,end:/\}/,keywords:h},S={className:"string",contains:[t.BACKSLASH_ESCAPE,i],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:r.concat(/<<[-~]?'?/,r.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[t.BACKSLASH_ESCAPE,i]})]}]},g="[1-9](_?[0-9])*|0",p="[0-9](_?[0-9])*",_={className:"number",relevance:0,variants:[{begin:`\\b(${g})(\\.(${p}))?([eE][+-]?(${p})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},c={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:h}]},C=[S,{variants:[{match:[/class\s+/,m,/\s+<\s+/,m]},{match:[/\b(class|module)\s+/,m]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:h},{match:[/(include|extend)\s+/,m],scope:{2:"title.class"},keywords:h},{relevance:0,match:[m,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:o,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[c]},{begin:t.IDENT_RE+"::"},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[S,{begin:n}],relevance:0},_,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:h},{begin:"("+t.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,i],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(l,v),relevance:0}].concat(l,v);i.contains=C,c.contains=C;const E=[{begin:/^\s*=>/,starts:{end:"$",contains:C}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:h,contains:C}}];return v.unshift(l),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:h,illegal:/\/\*/,contains:[t.SHEBANG({binary:"ruby"})].concat(E).concat(v).concat(C)}}return Tme=e,Tme}var Ame,wPe;function jAt(){if(wPe)return Ame;wPe=1;function e(t){return{name:"ERB",subLanguage:"xml",contains:[t.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return Ame=e,Ame}var Cme,TPe;function YAt(){if(TPe)return Cme;TPe=1;function e(t){const r=t.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},t.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:r.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return Cme=e,Cme}var kme,APe;function WAt(){if(APe)return kme;APe=1;function e(t){const r="[a-z'][a-zA-Z0-9_']*",n="("+r+":"+r+"|"+r+")",o={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor maybe else",literal:"false true"},m=t.COMMENT("%","$"),u={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},h={begin:"fun\\s+"+r+"/\\d+"},a={begin:n+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:n,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},l={begin:/\{/,end:/\}/,relevance:0},v={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},i={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},S={begin:"#"+t.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+t.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},g={scope:"string",match:/\$(\\([^0-9]|[0-9]{1,3}|)|.)/},p={scope:"string",match:/"""("*)(?!")[\s\S]*?"""\1/},_={scope:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{match:/~\w?"""("*)(?!")[\s\S]*?"""\1/},{begin:/~\w?\(/,end:/\)/},{begin:/~\w?\[/,end:/\]/},{begin:/~\w?{/,end:/}/},{begin:/~\w?</,end:/>/},{begin:/~\w?\//,end:/\//},{begin:/~\w?\|/,end:/\|/},{begin:/~\w?'/,end:/'/},{begin:/~\w?"/,end:/"/},{begin:/~\w?`/,end:/`/},{begin:/~\w?#/,end:/#/}]},c={beginKeywords:"fun receive if try case maybe",end:"end",keywords:o};c.contains=[m,h,t.inherit(t.APOS_STRING_MODE,{className:""}),c,a,_,p,t.QUOTE_STRING_MODE,u,l,v,i,S,g];const s=[m,h,c,a,_,p,t.QUOTE_STRING_MODE,u,l,v,i,S,g];a.contains[1].contains=s,l.contains=s,S.contains[1].contains=s;const d=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-moduledoc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec","-on_load","-nifs"],f={className:"params",begin:"\\(",end:"\\)",contains:s};return{name:"Erlang",aliases:["erl"],keywords:o,illegal:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",contains:[{className:"function",begin:"^"+r+"\\s*\\(",end:"->",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[f,t.inherit(t.TITLE_MODE,{begin:r})],starts:{end:";|\\.",keywords:o,contains:s}},m,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+t.IDENT_RE,keyword:d.map(b=>`${b}|1.5`).join(" ")},contains:[f,_,p,t.QUOTE_STRING_MODE]},u,_,p,t.QUOTE_STRING_MODE,S,v,i,l,g,{begin:/\.$/}]}}return kme=e,kme}var Mme,CPe;function KAt(){if(CPe)return Mme;CPe=1;function e(t){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ARRAYTOTEXT","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","BYCOL","BYROW","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CHOOSECOLS","CHOOSEROWS","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DROP","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPAND","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE","F.DIST","FDIST","F.DIST.RT","FILTER","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HSTACK","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGE","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISOMITTED","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LAMBDA","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LET","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MAKEARRAY","MAP","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDB","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDARRAY","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REDUCE","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SCAN","SEARCH","SEARCHB","SEC","SECH","SECOND","SEQUENCE","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SORT","SORTBY","SQRT","SQRTPI","SQL.REQUEST","STANDARDIZE","STOCKHISTORY","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TAKE","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTAFTER","TEXTBEFORE","TEXTJOIN","TEXTSPLIT","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TOCOL","TOROW","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UNIQUE","UPPER","VALUE","VALUETOTEXT","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","VSTACK","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","WRAPCOLS","WRAPROWS","XIRR","XLOOKUP","XMATCH","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},t.BACKSLASH_ESCAPE,t.QUOTE_STRING_MODE,{className:"number",begin:t.NUMBER_RE+"(%)?",relevance:0},t.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return Mme=e,Mme}var Rme,kPe;function XAt(){if(kPe)return Rme;kPe=1;function e(t){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return Rme=e,Rme}var Nme,MPe;function qAt(){if(MPe)return Nme;MPe=1;function e(t){const r={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},n={className:"string",variants:[{begin:'"',end:'"'}]},m={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,n,m,t.C_NUMBER_MODE]}}return Nme=e,Nme}var Ime,RPe;function ZAt(){if(RPe)return Ime;RPe=1;function e(t){const r=t.regex,n={className:"params",begin:"\\(",end:"\\)"},o={variants:[t.COMMENT("!","$",{relevance:0}),t.COMMENT("^C[ ]","$",{relevance:0}),t.COMMENT("^C$","$",{relevance:0})]},m=/(_[a-z_\d]+)?/,u=/([de][+-]?\d+)?/,h={className:"number",variants:[{begin:r.concat(/\b\d+/,/\.(\d*)/,u,m)},{begin:r.concat(/\b\d+/,u,m)},{begin:r.concat(/\.\d+/,u,m)}],relevance:0},a={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[t.UNDERSCORE_TITLE_MODE,n]},l={className:"string",relevance:0,variants:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{$pattern:/\b[a-z][a-z0-9_]+\b|\.[a-z][a-z0-9_]+\./,keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[l,a,{begin:/^C\s*=(?!=)/,relevance:0},o,h]}}return Ime=e,Ime}var Lme,NPe;function QAt(){if(NPe)return Lme;NPe=1;function e(h){return new RegExp(h.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function t(h){return h?typeof h=="string"?h:h.source:null}function r(h){return n("(?=",h,")")}function n(...h){return h.map(l=>t(l)).join("")}function o(h){const a=h[h.length-1];return typeof a=="object"&&a.constructor===Object?(h.splice(h.length-1,1),a):{}}function m(...h){return"("+(o(h).capture?"":"?:")+h.map(v=>t(v)).join("|")+")"}function u(h){const a=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],l={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},v=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],i=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],S=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],g=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],_={keyword:a,literal:i,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":S},s={variants:[h.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),h.C_LINE_COMMENT_MODE]},d=/[a-zA-Z_](\w|')*/,f={scope:"variable",begin:/``/,end:/``/},b=/\B('|\^)/,x={scope:"symbol",variants:[{match:n(b,/``.*?``/)},{match:n(b,h.UNDERSCORE_IDENT_RE)}],relevance:0},y=function({includeEqual:z}){let V;z?V="!%&*+-/<=>@^|~?":V="!%&*+-/<>@^|~?";const j=Array.from(V),G=n("[",...j.map(e),"]"),W=m(G,/\./),X=n(W,r(W)),Q=m(n(X,W,"*"),n(G,"+"));return{scope:"operator",match:m(Q,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},C=y({includeEqual:!0}),w=y({includeEqual:!1}),R=function(z,V){return{begin:n(z,r(n(/\s*/,m(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:V,end:r(m(/\n/,/=/)),relevance:0,keywords:h.inherit(_,{type:g}),contains:[s,x,h.inherit(f,{scope:null}),w]}},A=R(/:/,"operator"),E=R(/\bof\b/,"keyword"),k={begin:[/(^|\s+)/,/type/,/\s+/,d],beginScope:{2:"keyword",4:"title.class"},end:r(/\(|=|$/),keywords:_,contains:[s,h.inherit(f,{scope:null}),x,{scope:"operator",match:/<|>/},A]},L={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},I={begin:[/^\s*/,n(/#/,m(...v)),/\b/],beginScope:{2:"meta"},end:r(/\s|$/)},P={variants:[h.BINARY_NUMBER_MODE,h.C_NUMBER_MODE]},M={scope:"string",begin:/"/,end:/"/,contains:[h.BACKSLASH_ESCAPE]},F={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},h.BACKSLASH_ESCAPE]},N={scope:"string",begin:/"""/,end:/"""/,relevance:2},T={scope:"subst",begin:/\{/,end:/\}/,keywords:_},D={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},h.BACKSLASH_ESCAPE,T]},O={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},h.BACKSLASH_ESCAPE,T]},U={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},T],relevance:2},B={scope:"string",match:n(/'/,m(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return T.contains=[O,D,F,M,B,l,s,f,A,L,I,P,x,C],{name:"F#",aliases:["fs","f#"],keywords:_,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[l,{variants:[U,O,D,N,F,M,B]},s,f,k,{scope:"meta",begin:/\[</,end:/>\]/,relevance:2,contains:[f,N,F,M,B,P]},E,A,L,I,P,x,C]}}return Lme=u,Lme}var Ome,IPe;function JAt(){if(IPe)return Ome;IPe=1;function e(t){const r=t.regex,n={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},o={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},m={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},u={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},h={begin:"/",end:"/",keywords:n,contains:[u,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,t.C_NUMBER_MODE]},a=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,l={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[u,h,{className:"comment",begin:r.concat(a,r.anyNumberOfTimes(r.concat(/[ ]+/,a))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:n,contains:[t.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},t.COMMENT("^\\*","$"),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[t.COMMENT("^\\*","$"),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,h,l]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[l]},t.COMMENT("^\\*","$"),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,t.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},o,m]},t.C_NUMBER_MODE,m]}}return Ome=e,Ome}var Dme,LPe;function eCt(){if(LPe)return Dme;LPe=1;function e(t){const r={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},n=t.COMMENT("@","@"),o={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,n]},m={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:t.UNDERSCORE_IDENT_RE,relevance:0}]},u=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,n,m]}],h={className:"title",begin:t.UNDERSCORE_IDENT_RE,relevance:0},a=function(g,p,_){const c=t.inherit({className:"function",beginKeywords:g,end:p,excludeEnd:!0,contains:[].concat(u)},{});return c.contains.push(h),c.contains.push(t.C_NUMBER_MODE),c.contains.push(t.C_BLOCK_COMMENT_MODE),c.contains.push(n),c},l={className:"built_in",begin:"\\b("+r.built_in.split(" ").join("|")+")\\b"},v={className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE],relevance:0},i={begin:t.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:r,relevance:0,contains:[{beginKeywords:r.keyword},l,{className:"built_in",begin:t.UNDERSCORE_IDENT_RE,relevance:0}]},S={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:r.built_in,literal:r.literal},contains:[t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,n,l,i,v,"self"]};return i.contains.push(S),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:r,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,n,v,o,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},a("proc keyword",";"),a("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE,n,S]},{variants:[{begin:t.UNDERSCORE_IDENT_RE+"\\."+t.UNDERSCORE_IDENT_RE},{begin:t.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},i,m]}}return Dme=e,Dme}var Pme,OPe;function tCt(){if(OPe)return Pme;OPe=1;function e(t){const r=t.regex,n={$pattern:/[A-Z]+|%/,keyword:["THEN","ELSE","ENDIF","IF","GOTO","DO","WHILE","WH","END","CALL","SUB","ENDSUB","EQ","NE","LT","GT","LE","GE","AND","OR","XOR","%"],built_in:["ATAN","ABS","ACOS","ASIN","COS","EXP","FIX","FUP","ROUND","LN","SIN","SQRT","TAN","EXISTS"]},o=/\b/;function m(p,_){if(p.index===0)return;const c=p.input[p.index-1];c>="0"&&c<="9"||c!=="_"&&_.ignoreMatch()}const u=/[+-]?((\.\d+)|(\d+)(\.\d*)?)/,h=/[GM]\s*\d+(\.\d+)?/,a=/T\s*\d+/,l=/O\s*\d+/,v=/O<.+>/,i=/[ABCUVWXYZ]\s*/,S=/[FHIJKPQRS]\s*/,g=[t.COMMENT(/\(/,/\)/),t.COMMENT(/;/,/$/),t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{scope:"title.function",variants:[{match:r.concat(o,h)},{begin:h,"on:begin":m},{match:r.concat(o,a)},{begin:a,"on:begin":m}]},{scope:"symbol",variants:[{match:r.concat(o,l)},{begin:l,"on:begin":m},{match:r.concat(o,v)},{begin:v,"on:begin":m},{match:/\*\s*\d+\s*$/}]},{scope:"operator",match:/^N\s*\d+/},{scope:"variable",match:/-?#\s*\d+/},{scope:"property",variants:[{match:r.concat(o,i,u)},{begin:r.concat(i,u),"on:begin":m}]},{scope:"params",variants:[{match:r.concat(o,S,u)},{begin:r.concat(S,u),"on:begin":m}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,disableAutodetect:!0,keywords:n,contains:g}}return Pme=e,Pme}var Fme,DPe;function rCt(){if(DPe)return Fme;DPe=1;function e(t){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},t.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},t.QUOTE_STRING_MODE]}}return Fme=e,Fme}var Bme,PPe;function nCt(){if(PPe)return Bme;PPe=1;function e(t){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return Bme=e,Bme}var zme,FPe;function aCt(){if(FPe)return zme;FPe=1;function e(t){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","new","not","or","repeat","return","static","switch","then","until","var","while","with","xor"],built_in:["abs","alarm_get","alarm_set","angle_difference","animcurve_channel_evaluate","animcurve_channel_new","animcurve_create","animcurve_destroy","animcurve_exists","animcurve_get","animcurve_get_channel","animcurve_get_channel_index","animcurve_point_new","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_all","array_any","array_concat","array_contains","array_contains_ext","array_copy","array_copy_while","array_create","array_create_ext","array_delete","array_equals","array_filter","array_filter_ext","array_find_index","array_first","array_foreach","array_get","array_get_index","array_insert","array_intersection","array_last","array_length","array_map","array_map_ext","array_pop","array_push","array_reduce","array_resize","array_reverse","array_reverse_ext","array_set","array_shuffle","array_shuffle_ext","array_sort","array_union","array_unique","array_unique_ext","asset_add_tags","asset_clear_tags","asset_get_ids","asset_get_index","asset_get_tags","asset_get_type","asset_has_any_tag","asset_has_tags","asset_remove_tags","audio_bus_clear_emitters","audio_bus_create","audio_bus_get_emitters","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_effect_create","audio_emitter_bus","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_bus","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_get_assets","audio_group_get_gain","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_pause_all","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_sound","audio_play_sound_at","audio_play_sound_ext","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_audio_group","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_loop","audio_sound_get_loop_end","audio_sound_get_loop_start","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_is_playable","audio_sound_length","audio_sound_loop","audio_sound_loop_end","audio_sound_loop_start","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_paused","audio_sync_group_is_playing","audio_system_is_available","audio_system_is_initialised","base64_decode","base64_encode","bool","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_compress","buffer_copy","buffer_copy_from_vertex_buffer","buffer_copy_stride","buffer_crc32","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_decompress","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_set_used_size","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","call_cancel","call_later","camera_apply","camera_copy_transforms","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","db_to_lin","dbg_add_font_glyphs","dbg_button","dbg_checkbox","dbg_color","dbg_colour","dbg_drop_down","dbg_same_line","dbg_section","dbg_section_delete","dbg_section_exists","dbg_slider","dbg_slider_int","dbg_sprite","dbg_text","dbg_text_input","dbg_view","dbg_view_delete","dbg_view_exists","dbg_watch","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_frequency","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_drawevent","draw_enable_skeleton_blendmodes","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_enable_skeleton_blendmodes","draw_get_font","draw_get_halign","draw_get_lighting","draw_get_swf_aa_level","draw_get_valign","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_circle_precision","draw_set_color","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_to_mp_grid","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_is_list","ds_list_is_map","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_is_list","ds_map_is_map","ds_map_keys_to_array","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_values_to_array","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","effect_create_depth","effect_create_layer","environment_get_variable","event_inherited","event_perform","event_perform_async","event_perform_object","event_user","exception_unhandled_handler","exp","extension_exists","extension_get_option_count","extension_get_option_names","extension_get_option_value","extension_get_options","extension_get_version","external_call","external_define","external_free","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_cache_glyph","font_delete","font_enable_effects","font_enable_sdf","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_info","font_get_italic","font_get_last","font_get_name","font_get_sdf_enabled","font_get_sdf_spread","font_get_size","font_get_texture","font_get_uvs","font_replace_sprite","font_replace_sprite_ext","font_sdf_spread","font_set_cache_size","frac","fx_create","fx_get_name","fx_get_parameter","fx_get_parameter_names","fx_get_parameters","fx_get_single_layer","fx_set_parameter","fx_set_parameters","fx_set_single_layer","game_change","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_get_guid","gamepad_get_mapping","gamepad_get_option","gamepad_hat_count","gamepad_hat_value","gamepad_is_connected","gamepad_is_supported","gamepad_remove_mapping","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_option","gamepad_set_vibration","gamepad_test_mapping","gc_collect","gc_enable","gc_get_stats","gc_get_target_frame_time","gc_is_enabled","gc_target_frame_time","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gif_add_surface","gif_open","gif_save","gif_save_buffer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_depth","gpu_get_fog","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_depth","gpu_set_fog","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","handle_parse","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_get_request_crossorigin","http_post_string","http_request","http_set_request_crossorigin","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","instanceof","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_callable","is_debug_overlay_open","is_handle","is_infinity","is_instanceof","is_int32","is_int64","is_keyboard_used_debug_overlay","is_method","is_mouse_over_debug_overlay","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","json_decode","json_encode","json_parse","json_stringify","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_clear_fx","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_enable_fx","layer_exists","layer_force_draw_depth","layer_fx_is_enabled","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_fx","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_sequence_angle","layer_sequence_create","layer_sequence_destroy","layer_sequence_exists","layer_sequence_get_angle","layer_sequence_get_headdir","layer_sequence_get_headpos","layer_sequence_get_instance","layer_sequence_get_length","layer_sequence_get_sequence","layer_sequence_get_speedscale","layer_sequence_get_x","layer_sequence_get_xscale","layer_sequence_get_y","layer_sequence_get_yscale","layer_sequence_headdir","layer_sequence_headpos","layer_sequence_is_finished","layer_sequence_is_paused","layer_sequence_pause","layer_sequence_play","layer_sequence_speedscale","layer_sequence_x","layer_sequence_xscale","layer_sequence_y","layer_sequence_yscale","layer_set_fx","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","lin_to_db","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","method","method_call","method_get_index","method_get_self","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_and_collide","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","nameof","network_connect","network_connect_async","network_connect_raw","network_connect_raw_async","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_check_permission","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","os_request_permission","os_set_orientation_lock","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_delay","part_emitter_destroy","part_emitter_destroy_all","part_emitter_enable","part_emitter_exists","part_emitter_interval","part_emitter_region","part_emitter_relative","part_emitter_stream","part_particles_burst","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_angle","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_color","part_system_colour","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_info","part_system_get_layer","part_system_global_space","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_size_x","part_type_size_y","part_type_speed","part_type_sprite","part_type_step","part_type_subimage","particle_exists","particle_get_info","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","ref_create","rollback_chat","rollback_create_game","rollback_define_extra_network_latency","rollback_define_input","rollback_define_input_frame_delay","rollback_define_mock_input","rollback_define_player","rollback_display_events","rollback_get_info","rollback_get_input","rollback_get_player_prefs","rollback_join_game","rollback_leave_game","rollback_set_player_prefs","rollback_start_game","rollback_sync_on_frame","rollback_use_late_join","rollback_use_manual_start","rollback_use_player_prefs","rollback_use_random_input","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_info","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_camera","room_set_height","room_set_persistent","room_set_view_enabled","room_set_viewport","room_set_width","round","scheduler_resolution_get","scheduler_resolution_set","screen_save","screen_save_part","script_execute","script_execute_ext","script_exists","script_get_name","sequence_create","sequence_destroy","sequence_exists","sequence_get","sequence_get_objects","sequence_instance_override_object","sequence_keyframe_new","sequence_keyframedata_new","sequence_track_new","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_f_buffer","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_message_ext","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_event_frames","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_get_position","skeleton_animation_is_finished","skeleton_animation_is_looping","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_animation_set_position","skeleton_attachment_create","skeleton_attachment_create_color","skeleton_attachment_create_colour","skeleton_attachment_destroy","skeleton_attachment_exists","skeleton_attachment_get","skeleton_attachment_replace","skeleton_attachment_replace_color","skeleton_attachment_replace_colour","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_list","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_find_slot","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_create","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_alpha_get","skeleton_slot_color_get","skeleton_slot_color_set","skeleton_slot_colour_get","skeleton_slot_colour_set","skeleton_slot_data","skeleton_slot_data_instance","skeleton_slot_list","sprite_add","sprite_add_ext","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_mode","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_info","sprite_get_name","sprite_get_nineslice","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_nineslice_create","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_bbox","sprite_set_bbox_mode","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_nineslice","sprite_set_offset","sprite_set_speed","sqr","sqrt","static_get","static_set","string","string_byte_at","string_byte_length","string_char_at","string_concat","string_concat_ext","string_copy","string_count","string_delete","string_digits","string_ends_with","string_ext","string_foreach","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_join","string_join_ext","string_last_pos","string_last_pos_ext","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_pos_ext","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_split","string_split_ext","string_starts_with","string_trim","string_trim_end","string_trim_start","string_upper","string_width","string_width_ext","struct_exists","struct_foreach","struct_get","struct_get_from_hash","struct_get_names","struct_names_count","struct_remove","struct_set","struct_set_from_hash","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_format_is_supported","surface_free","surface_get_depth_disable","surface_get_format","surface_get_height","surface_get_target","surface_get_target_ext","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tag_get_asset_ids","tag_get_assets","tan","texture_debug_messages","texture_flush","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_is_ready","texture_prefetch","texture_set_stage","texturegroup_get_fonts","texturegroup_get_names","texturegroup_get_sprites","texturegroup_get_status","texturegroup_get_textures","texturegroup_get_tilesets","texturegroup_load","texturegroup_set_mode","texturegroup_unload","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_height","tilemap_set_mask","tilemap_set_width","tilemap_tileset","tilemap_x","tilemap_y","tileset_get_info","tileset_get_name","tileset_get_texture","tileset_get_uvs","time_bpm_to_seconds","time_seconds_to_bpm","time_source_create","time_source_destroy","time_source_exists","time_source_get_children","time_source_get_parent","time_source_get_period","time_source_get_reps_completed","time_source_get_reps_remaining","time_source_get_state","time_source_get_time_remaining","time_source_get_units","time_source_pause","time_source_reconfigure","time_source_reset","time_source_resume","time_source_start","time_source_stop","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","uwp_device_touchscreen_available","uwp_livetile_badge_clear","uwp_livetile_badge_notification","uwp_livetile_notification_begin","uwp_livetile_notification_end","uwp_livetile_notification_expiry","uwp_livetile_notification_image_add","uwp_livetile_notification_secondary_begin","uwp_livetile_notification_tag","uwp_livetile_notification_template_add","uwp_livetile_notification_text_add","uwp_livetile_queue_enable","uwp_livetile_tile_clear","uwp_secondarytile_badge_clear","uwp_secondarytile_badge_notification","uwp_secondarytile_delete","uwp_secondarytile_pin","uwp_secondarytile_tile_clear","variable_clone","variable_get_hash","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_names_count","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_format_get_info","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_submit_ext","vertex_texcoord","vertex_ubyte4","vertex_update_buffer_from_buffer","vertex_update_buffer_from_vertex","video_close","video_draw","video_enable_loop","video_get_duration","video_get_format","video_get_position","video_get_status","video_get_volume","video_is_looping","video_open","video_pause","video_resume","video_seek_to","video_set_volume","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","wallpaper_set_config","wallpaper_set_subscriptions","weak_ref_alive","weak_ref_any_alive","weak_ref_create","window_center","window_device","window_enable_borderless_fullscreen","window_get_borderless_fullscreen","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_showborder","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_delta_x","window_mouse_get_delta_y","window_mouse_get_locked","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_mouse_set_locked","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_showborder","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_tile_background_color","winphone_tile_background_colour","zip_add_file","zip_create","zip_save","zip_unzip","zip_unzip_async"],symbol:["AudioEffect","AudioEffectType","AudioLFOType","GM_build_date","GM_build_type","GM_is_sandboxed","GM_project_filename","GM_runtime_version","GM_version","NaN","_GMFILE_","_GMFUNCTION_","_GMLINE_","alignmentH","alignmentV","all","animcurvetype_bezier","animcurvetype_catmullrom","animcurvetype_linear","asset_animationcurve","asset_font","asset_object","asset_path","asset_room","asset_script","asset_sequence","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3D","audio_bus_main","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_exponent_distance_scaled","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_inverse_distance_scaled","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_stereo","bboxkind_diamond","bboxkind_ellipse","bboxkind_precise","bboxkind_rectangular","bboxmode_automatic","bboxmode_fullimage","bboxmode_manual","bm_add","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_grow","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","c_aqua","c_black","c_blue","c_dkgray","c_dkgrey","c_fuchsia","c_gray","c_green","c_grey","c_lime","c_ltgray","c_ltgrey","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cache_directory","characterSpacing","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","coreColor","coreColour","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","dropShadowEnabled","dropShadowEnabled","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","effectsEnabled","effectsEnabled","ev_alarm","ev_animation_end","ev_animation_event","ev_animation_update","ev_async_audio_playback","ev_async_audio_playback_ended","ev_async_audio_recording","ev_async_dialog","ev_async_push_notification","ev_async_save_load","ev_async_save_load","ev_async_social","ev_async_system_event","ev_async_web","ev_async_web_cloud","ev_async_web_iap","ev_async_web_image_load","ev_async_web_networking","ev_async_web_steam","ev_audio_playback","ev_audio_playback_ended","ev_audio_recording","ev_boundary","ev_boundary_view0","ev_boundary_view1","ev_boundary_view2","ev_boundary_view3","ev_boundary_view4","ev_boundary_view5","ev_boundary_view6","ev_boundary_view7","ev_broadcast_message","ev_cleanup","ev_collision","ev_create","ev_destroy","ev_dialog_async","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_normal","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_outside_view0","ev_outside_view1","ev_outside_view2","ev_outside_view3","ev_outside_view4","ev_outside_view5","ev_outside_view6","ev_outside_view7","ev_pre_create","ev_push_notification","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_social","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_system_event","ev_trigger","ev_user0","ev_user1","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_web_async","ev_web_cloud","ev_web_iap","ev_web_image_load","ev_web_networking","ev_web_sound_load","ev_web_steam","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_none","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","false","frameSizeX","frameSizeY","gamespeed_fps","gamespeed_microseconds","global","glowColor","glowColour","glowEnabled","glowEnabled","glowEnd","glowStart","gp_axis_acceleration_x","gp_axis_acceleration_y","gp_axis_acceleration_z","gp_axis_angular_velocity_x","gp_axis_angular_velocity_y","gp_axis_angular_velocity_z","gp_axis_orientation_w","gp_axis_orientation_x","gp_axis_orientation_y","gp_axis_orientation_z","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","infinity","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sequence","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","lineSpacing","m_axisx","m_axisx_gui","m_axisy","m_axisy_gui","m_scroll_down","m_scroll_up","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mb_side1","mb_side2","mip_markedonly","mip_off","mip_on","network_config_avoid_time_wait","network_config_connect_timeout","network_config_disable_multicast","network_config_disable_reliable_udp","network_config_enable_multicast","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_config_websocket_protocol","network_connect_active","network_connect_blocking","network_connect_nonblocking","network_connect_none","network_connect_passive","network_send_binary","network_send_text","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_socket_ws","network_socket_wss","network_type_connect","network_type_data","network_type_disconnect","network_type_down","network_type_non_blocking_connect","network_type_up","network_type_up_failed","nineslice_blank","nineslice_bottom","nineslice_center","nineslice_centre","nineslice_hide","nineslice_left","nineslice_mirror","nineslice_repeat","nineslice_right","nineslice_stretch","nineslice_top","noone","of_challenge_lose","of_challenge_tie","of_challenge_win","os_android","os_gdk","os_gxgames","os_ios","os_linux","os_macosx","os_operagx","os_permission_denied","os_permission_denied_dont_request","os_permission_granted","os_ps3","os_ps4","os_ps5","os_psvita","os_switch","os_tvos","os_unknown","os_uwp","os_win8native","os_windows","os_winphone","os_xboxone","os_xboxseriesxs","other","outlineColor","outlineColour","outlineDist","outlineEnabled","outlineEnabled","paragraphSpacing","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pointer_invalid","pointer_null","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_mode_burst","ps_mode_stream","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","rollback_chat_message","rollback_connect_error","rollback_connect_info","rollback_connected_to_peer","rollback_connection_rejected","rollback_disconnected_from_peer","rollback_end_game","rollback_game_full","rollback_game_info","rollback_game_interrupted","rollback_game_resumed","rollback_high_latency","rollback_player_prefs","rollback_protocol_rejected","rollback_synchronized_with_peer","rollback_synchronizing_with_peer","self","seqaudiokey_loop","seqaudiokey_oneshot","seqdir_left","seqdir_right","seqinterpolation_assign","seqinterpolation_lerp","seqplay_loop","seqplay_oneshot","seqplay_pingpong","seqtextkey_bottom","seqtextkey_center","seqtextkey_justify","seqtextkey_left","seqtextkey_middle","seqtextkey_right","seqtextkey_top","seqtracktype_audio","seqtracktype_bool","seqtracktype_clipmask","seqtracktype_clipmask_mask","seqtracktype_clipmask_subject","seqtracktype_color","seqtracktype_colour","seqtracktype_empty","seqtracktype_graphic","seqtracktype_group","seqtracktype_instance","seqtracktype_message","seqtracktype_moment","seqtracktype_particlesystem","seqtracktype_real","seqtracktype_sequence","seqtracktype_spriteframes","seqtracktype_string","seqtracktype_text","shadowColor","shadowColour","shadowOffsetX","shadowOffsetY","shadowSoftness","sprite_add_ext_error_cancelled","sprite_add_ext_error_decompressfailed","sprite_add_ext_error_loadfailed","sprite_add_ext_error_setupfailed","sprite_add_ext_error_spritenotfound","sprite_add_ext_error_unknown","spritespeed_framespergameframe","spritespeed_framespersecond","surface_r16float","surface_r32float","surface_r8unorm","surface_rg8unorm","surface_rgba16float","surface_rgba32float","surface_rgba4unorm","surface_rgba8unorm","texturegroup_status_fetched","texturegroup_status_loaded","texturegroup_status_loading","texturegroup_status_unloaded","tf_anisotropic","tf_linear","tf_point","thickness","tile_flip","tile_index_mask","tile_mirror","tile_rotate","time_source_expire_after","time_source_expire_nearest","time_source_game","time_source_global","time_source_state_active","time_source_state_initial","time_source_state_paused","time_source_state_stopped","time_source_units_frames","time_source_units_seconds","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","tm_systemtiming","true","ty_real","ty_string","undefined","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","video_format_rgba","video_format_yuv","video_status_closed","video_status_paused","video_status_playing","video_status_preparing","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f10","vk_f11","vk_f12","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up","wallpaper_config","wallpaper_subscription_data","wrap"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","colour?ColourTrack","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","drawn_by_sequence","event_action","event_data","event_number","event_object","event_type","font_texture_page_size","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gravity","gravity_direction","health","hspeed","iap_data","id","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","in_collision_tree","in_sequence","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","longMessage","managed","mask_index","message","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","player_avatar_sprite","player_avatar_url","player_id","player_local","player_type","player_user_id","program_directory","rollback_api_server","rollback_confirmed_frame","rollback_current_frame","rollback_event_id","rollback_event_param","rollback_game_running","room","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","script","sequence_instance","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","stacktrace","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_camera","view_current","view_enabled","view_hport","view_surface_id","view_visible","view_wport","view_xport","view_yport","visible","vspeed","webgl_enabled","working_directory","x","xprevious","xstart","y","yprevious","ystart"]},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}return zme=e,zme}var Ume,BPe;function iCt(){if(BPe)return Ume;BPe=1;function e(t){const u={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:u,illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",variants:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:u,illegal:/["']/}]}]}}return Ume=e,Ume}var $me,zPe;function oCt(){if(zPe)return $me;zPe=1;function e(t){return{name:"Golo",keywords:{keyword:["println","readln","print","import","module","function","local","return","let","var","while","for","foreach","times","in","case","when","match","with","break","continue","augment","augmentation","each","find","filter","reduce","if","then","else","otherwise","try","catch","finally","raise","throw","orIfNull","DynamicObject|10","DynamicVariable","struct","Observable","map","set","vector","list","array"],literal:["true","false","null"]},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}return $me=e,$me}var Hme,UPe;function sCt(){if(UPe)return Hme;UPe=1;function e(t){return{name:"Gradle",case_insensitive:!0,keywords:["task","project","allprojects","subprojects","artifacts","buildscript","configurations","dependencies","repositories","sourceSets","description","delete","from","into","include","exclude","source","classpath","destinationDir","includes","options","sourceCompatibility","targetCompatibility","group","flatDir","doLast","doFirst","flatten","todir","fromdir","ant","def","abstract","break","case","catch","continue","default","do","else","extends","final","finally","for","if","implements","instanceof","native","new","private","protected","public","return","static","switch","synchronized","throw","throws","transient","try","volatile","while","strictfp","package","import","false","null","super","this","true","antlrtask","checkstyle","codenarc","copy","boolean","byte","char","class","double","float","int","interface","long","short","void","compile","runTime","file","fileTree","abs","any","append","asList","asWritable","call","collect","compareTo","count","div","dump","each","eachByte","eachFile","eachLine","every","find","findAll","flatten","getAt","getErr","getIn","getOut","getText","grep","immutable","inject","inspect","intersect","invokeMethods","isCase","join","leftShift","minus","multiply","newInputStream","newOutputStream","newPrintWriter","newReader","newWriter","next","plus","pop","power","previous","print","println","push","putAt","read","readBytes","readLines","reverse","reverseEach","round","size","sort","splitEachLine","step","subMap","times","toInteger","toList","tokenize","upto","waitForOrKill","withPrintWriter","withReader","withStream","withWriter","withWriterAppend","write","writeLine"],contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.REGEXP_MODE]}}return Hme=e,Hme}var Vme,$Pe;function lCt(){if($Pe)return Vme;$Pe=1;function e(t){const r=t.regex,n=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:r.concat(n,r.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}return Vme=e,Vme}var Gme,HPe;function cCt(){if(HPe)return Gme;HPe=1;function e(r,n={}){return n.variants=r,n}function t(r){const n=r.regex,o="[A-Za-z0-9_$]+",m=e([r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),u={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[r.BACKSLASH_ESCAPE]},h=e([r.BINARY_NUMBER_MODE,r.C_NUMBER_MODE]),a=e([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE],{className:"string"}),l={match:[/(class|interface|trait|enum|record|extends|implements)/,/\s+/,r.UNDERSCORE_IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"Groovy",keywords:{"variable.language":"this super",literal:"true false null",type:["byte","short","char","int","long","boolean","float","double","void"],keyword:["def","as","in","assert","trait","abstract","static","volatile","transient","public","private","protected","synchronized","final","class","interface","enum","if","else","for","while","switch","case","break","default","continue","throw","throws","try","catch","finally","implements","extends","new","import","package","return","instanceof","var"]},contains:[r.SHEBANG({binary:"groovy",relevance:10}),m,a,u,h,l,{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:o+"[ ]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[m,a,u,h,"self"]},{className:"symbol",begin:"^[ ]*"+n.lookahead(o+":"),excludeBegin:!0,end:o+":",relevance:0}],illegal:/#|<\//}}return Gme=t,Gme}var jme,VPe;function uCt(){if(VPe)return jme;VPe=1;function e(t){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},t.COMMENT("^\\s*(!=#|=#|-#|/).*$",null,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",end:/$/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return jme=e,jme}var Yme,GPe;function dCt(){if(GPe)return Yme;GPe=1;function e(t){const r=t.regex,n={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},o={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},m=/""|"[^"]+"/,u=/''|'[^']+'/,h=/\[\]|\[[^\]]+\]/,a=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,l=/(\.|\/)/,v=r.either(m,u,h,a),i=r.concat(r.optional(/\.|\.\/|\//),v,r.anyNumberOfTimes(r.concat(l,v))),S=r.concat("(",h,"|",a,")(?==)"),g={begin:i},p=t.inherit(g,{keywords:o}),_={begin:/\(/,end:/\)/},c={className:"attr",begin:S,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[t.NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,p,_]}}},s={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},d={contains:[t.NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,s,c,p,_],returnEnd:!0},f=t.inherit(g,{className:"name",keywords:n,starts:t.inherit(d,{end:/\)/})});_.contains=[f];const b=t.inherit(g,{keywords:n,className:"name",starts:t.inherit(d,{end:/\}\}/})}),x=t.inherit(g,{keywords:n,className:"name"}),y=t.inherit(g,{className:"name",keywords:n,starts:t.inherit(d,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},t.COMMENT(/\{\{!--/,/--\}\}/),t.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[b],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[x]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[b]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[x]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[y]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[y]}]}}return Yme=e,Yme}var Wme,jPe;function fCt(){if(jPe)return Wme;jPe=1;function e(t){const r="([0-9]_*)+",n="([0-9a-fA-F]_*)+",o="([01]_*)+",m="([0-7]_*)+",l="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",v={variants:[t.COMMENT("--+","$"),t.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},i={className:"meta",begin:/\{-#/,end:/#-\}/},S={className:"meta",begin:"^#",end:"$"},g={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},p={begin:"\\(",end:"\\)",illegal:'"',contains:[i,S,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t.inherit(t.TITLE_MODE,{begin:"[_a-z][\\w']*"}),v]},_={begin:/\{/,end:/\}/,contains:p.contains},c={className:"number",relevance:0,variants:[{match:`\\b(${r})(\\.(${r}))?([eE][+-]?(${r}))?\\b`},{match:`\\b0[xX]_*(${n})(\\.(${n}))?([pP][+-]?(${r}))?\\b`},{match:`\\b0[oO](${m})\\b`},{match:`\\b0[bB](${o})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[p,v],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[p,v],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[g,p,v]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[i,g,p,_,v]},{beginKeywords:"default",end:"$",contains:[g,p,v]},{beginKeywords:"infix infixl infixr",end:"$",contains:[t.C_NUMBER_MODE,v]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[g,t.QUOTE_STRING_MODE,v]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},i,S,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},t.QUOTE_STRING_MODE,c,g,t.inherit(t.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${l}--+|--+(?!-)${l}`},v,{begin:"->|<-"}]}}return Wme=e,Wme}var Kme,YPe;function hCt(){if(YPe)return Kme;YPe=1;function e(t){const r="[a-zA-Z_$][a-zA-Z0-9_$]*",n=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},t.QUOTE_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"number",begin:n,relevance:0},{className:"variable",begin:"\\$"+r},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",beginKeywords:"new",end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[t.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+t.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},t.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:t.IDENT_RE,relevance:0}]},t.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[t.TITLE_MODE]}],illegal:/<\//}}return Kme=e,Kme}var Xme,WPe;function pCt(){if(WPe)return Xme;WPe=1;function e(t){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[t.BACKSLASH_ESCAPE]},t.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),t.NUMBER_MODE,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},t.NUMBER_MODE,t.C_NUMBER_MODE]}}return Xme=e,Xme}var qme,KPe;function vCt(){if(KPe)return qme;KPe=1;function e(t){const r=t.regex,n="HTTP/([32]|1\\.[01])",o=/[A-Za-z][A-Za-z0-9-]*/,m={className:"attribute",begin:r.concat("^",o,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},u=[m,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+n+" \\d{3})",end:/$/,contains:[{className:"meta",begin:n},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:u}},{begin:"(?=^[A-Z]+ (.*?) "+n+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:n},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:u}},t.inherit(m,{relevance:0})]}}return qme=e,qme}var Zme,XPe;function mCt(){if(XPe)return Zme;XPe=1;function e(t){const r="a-zA-Z_\\-!.?+*=<>&#'",n="["+r+"]["+r+"0-9/;:]*",o={$pattern:n,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},m="[-+]?\\d+(\\.\\d+)?",u={begin:n,relevance:0},h={className:"number",begin:m,relevance:0},a=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),l=t.COMMENT(";","$",{relevance:0}),v={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},i={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},S={className:"comment",begin:"\\^"+n},g=t.COMMENT("\\^\\{","\\}"),p={className:"symbol",begin:"[:]{1,2}"+n},_={begin:"\\(",end:"\\)"},c={endsWithParent:!0,relevance:0},s={className:"name",relevance:0,keywords:o,begin:n,starts:c},d=[_,a,S,g,l,p,i,h,v,u];return _.contains=[t.COMMENT("comment",""),s,c],c.contains=d,i.contains=d,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[t.SHEBANG(),_,a,S,g,l,p,i,h,v]}}return Zme=e,Zme}var Qme,qPe;function gCt(){if(qPe)return Qme;qPe=1;function e(t){const r="\\[",n="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:r,end:n}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:r,end:n,contains:["self"]}]}}return Qme=e,Qme}var Jme,ZPe;function yCt(){if(ZPe)return Jme;ZPe=1;function e(t){const r=t.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:t.NUMBER_RE}]},o=t.COMMENT();o.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const m={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},u={className:"literal",begin:/\bon|off|true|false|yes|no\b/},h={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},a={begin:/\[/,end:/\]/,contains:[o,u,m,h,n,"self"],relevance:0},l=/[A-Za-z0-9_-]+/,v=/"(\\"|[^"])*"/,i=/'[^']*'/,S=r.either(l,v,i),g=r.concat(S,"(\\s*\\.\\s*",S,")*",r.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[o,{className:"section",begin:/\[+/,end:/\]+/},{begin:g,className:"attr",starts:{end:/$/,contains:[o,a,u,m,h,n]}}]}}return Jme=e,Jme}var ege,QPe;function _Ct(){if(QPe)return ege;QPe=1;function e(t){const r=t.regex,n={className:"params",begin:"\\(",end:"\\)"},o=/(_[a-z_\d]+)?/,m=/([de][+-]?\d+)?/,u={className:"number",variants:[{begin:r.concat(/\b\d+/,/\.(\d*)/,m,o)},{begin:r.concat(/\b\d+/,m,o)},{begin:r.concat(/\.\d+/,m,o)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[t.UNDERSCORE_TITLE_MODE,n]},t.COMMENT("!","$",{relevance:0}),t.COMMENT("begin_doc","end_doc",{relevance:10}),u]}}return ege=e,ege}var tge,JPe;function xCt(){if(JPe)return tge;JPe=1;function e(t){const r="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",n="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",o="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",z="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE "+"CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE "+"ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME "+"DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY "+"ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION "+"JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY "+"ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE "+"smHidden smMaximized smMinimized smNormal wmNo wmYes "+"COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND "+"COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE "+"MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY "+"NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY "+"dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT "+"CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM "+"ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME "+"PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE "+"ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE "+"CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT "+"STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER "+"COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE "+"SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID "+"RESULT_VAR_NAME RESULT_VAR_NAME_ENG "+"AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID "+"SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY "+"SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY "+"SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS "+"SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS "+"SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS "+"ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME "+"TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME "+"ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk "+"EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE "+"cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate "+"ISBL_SYNTAX NO_SYNTAX XML_SYNTAX "+"WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY "+"SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",kr="atUser atGroup atRole "+"aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty "+"apBegin apEnd "+"alLeft alRight "+"asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways "+"cirCommon cirRevoked "+"ctSignature ctEncode ctSignatureEncode "+"clbUnchecked clbChecked clbGrayed "+"ceISB ceAlways ceNever "+"ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob "+"cfInternal cfDisplay "+"ciUnspecified ciWrite ciRead "+"ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog "+"ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton "+"cctDate cctInteger cctNumeric cctPick cctReference cctString cctText "+"cltInternal cltPrimary cltGUI "+"dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange "+"dssEdit dssInsert dssBrowse dssInActive "+"dftDate dftShortDate dftDateTime dftTimeStamp "+"dotDays dotHours dotMinutes dotSeconds "+"dtkndLocal dtkndUTC "+"arNone arView arEdit arFull "+"ddaView ddaEdit "+"emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode "+"ecotFile ecotProcess "+"eaGet eaCopy eaCreate eaCreateStandardRoute "+"edltAll edltNothing edltQuery "+"essmText essmCard "+"esvtLast esvtLastActive esvtSpecified "+"edsfExecutive edsfArchive "+"edstSQLServer edstFile "+"edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile "+"vsDefault vsDesign vsActive vsObsolete "+"etNone etCertificate etPassword etCertificatePassword "+"ecException ecWarning ecInformation "+"estAll estApprovingOnly "+"evtLast evtLastActive evtQuery "+"fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger "+"ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch "+"grhAuto grhX1 grhX2 grhX3 "+"hltText hltRTF hltHTML "+"iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG "+"im8bGrayscale im24bRGB im1bMonochrome "+"itBMP itJPEG itWMF itPNG "+"ikhInformation ikhWarning ikhError ikhNoIcon "+"icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler "+"isShow isHide isByUserSettings "+"jkJob jkNotice jkControlJob "+"jtInner jtLeft jtRight jtFull jtCross "+"lbpAbove lbpBelow lbpLeft lbpRight "+"eltPerConnection eltPerUser "+"sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac "+"sfsItalic sfsStrikeout sfsNormal "+"ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents "+"mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom "+"vtEqual vtGreaterOrEqual vtLessOrEqual vtRange "+"rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth "+"rdWindow rdFile rdPrinter "+"rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument "+"reOnChange reOnChangeValues "+"ttGlobal ttLocal ttUser ttSystem "+"ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal "+"smSelect smLike smCard "+"stNone stAuthenticating stApproving "+"sctString sctStream "+"sstAnsiSort sstNaturalSort "+"svtEqual svtContain "+"soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown "+"tarAbortByUser tarAbortByWorkflowException "+"tvtAllWords tvtExactPhrase tvtAnyWord "+"usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp "+"utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected "+"btAnd btDetailAnd btOr btNotOr btOnly "+"vmView vmSelect vmNavigation "+"vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection "+"wfatPrevious wfatNext wfatCancel wfatFinish "+"wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 "+"wfetQueryParameter wfetText wfetDelimiter wfetLabel "+"wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate "+"wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal "+"wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal "+"waAll waPerformers waManual "+"wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause "+"wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection "+"wiLow wiNormal wiHigh "+"wrtSoft wrtHard "+"wsInit wsRunning wsDone wsControlled wsAborted wsContinued "+"wtmFull wtmFromCurrent wtmOnlyCurrent ",Rr="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",Lr="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",Ar="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",ln=z+kr,Kr=Lr,Xr="null true false nil ",Bn={className:"number",begin:t.NUMBER_RE,relevance:0},An={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},ta={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},ra={className:"comment",begin:"//",end:"$",relevance:0,contains:[t.PHRASAL_WORDS_MODE,ta]},Cr={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[t.PHRASAL_WORDS_MODE,ta]},Jr={variants:[ra,Cr]},un={$pattern:r,keyword:o,built_in:ln,class:Kr,literal:Xr},sn={begin:"\\.\\s*"+t.UNDERSCORE_IDENT_RE,keywords:un,relevance:0},Nn={className:"type",begin:":[ \\t]*("+Ar.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},Hn={className:"variable",keywords:un,begin:r,relevance:0,contains:[Nn,sn]},$n=n+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:un,illegal:"\\$|\\?|%|,|;$|~|#|@|</",contains:[{className:"function",begin:$n,end:"\\)$",returnBegin:!0,keywords:un,illegal:"[\\[\\]\\|\\$\\?%,~#@]",contains:[{className:"title",keywords:{$pattern:r,built_in:Rr},begin:$n,end:"\\(",returnBegin:!0,excludeEnd:!0},sn,Hn,An,Bn,Jr]},Nn,sn,Hn,An,Bn,Jr]}}return tge=e,tge}var rge,eFe;function bCt(){if(eFe)return rge;eFe=1;var e="[0-9](_*[0-9])*",t=`\\.(${e})`,r="[0-9a-fA-F](_*[0-9a-fA-F])*",n={className:"number",variants:[{begin:`(\\b(${e})((${t})|\\.)?|(${t}))[eE][+-]?(${e})[fFdD]?\\b`},{begin:`\\b(${e})((${t})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${t})[fFdD]?\\b`},{begin:`\\b(${e})[fFdD]\\b`},{begin:`\\b0[xX]((${r})\\.?|(${r})?\\.(${r}))[pP][+-]?(${e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${r})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function o(u,h,a){return a===-1?"":u.replace(h,l=>o(u,h,a-1))}function m(u){const h=u.regex,a="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",l=a+o("(?:<"+a+"~~~(?:\\s*,\\s*"+a+"~~~)*>)?",/~~~/g,2),p={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},_={className:"meta",begin:"@"+a,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},c={className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[u.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:p,illegal:/<\/|#/,contains:[u.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[u.BACKSLASH_ESCAPE]},u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[h.concat(/(?!else)/,a),/\s+/,a,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,a],className:{1:"keyword",3:"title.class"},contains:[c,u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+l+"\\s+)",u.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:p,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[_,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,n,u.C_BLOCK_COMMENT_MODE]},u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE]},n,_]}}return rge=m,rge}var nge,tFe;function ECt(){if(tFe)return nge;tFe=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],r=["true","false","null","undefined","NaN","Infinity"],n=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],m=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],u=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h=[].concat(m,n,o);function a(l){const v=l.regex,i=(j,{after:G})=>{const W="</"+j[0].slice(1);return j.input.indexOf(W,G)!==-1},S=e,g={begin:"<>",end:"</>"},p=/<[A-Za-z0-9\\._:-]+\s*\/>/,_={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(j,G)=>{const W=j[0].length+j.index,X=j.input[W];if(X==="<"||X===","){G.ignoreMatch();return}X===">"&&(i(j,{after:W})||G.ignoreMatch());let Q;const ae=j.input.substring(W);if(Q=ae.match(/^\s*=/)){G.ignoreMatch();return}if((Q=ae.match(/^\s+extends\s+/))&&Q.index===0){G.ignoreMatch();return}}},c={$pattern:e,keyword:t,literal:r,built_in:h,"variable.language":u},s="[0-9](_?[0-9])*",d=`\\.(${s})`,f="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",b={className:"number",variants:[{begin:`(\\b(${f})((${d})|\\.)?|(${d}))[eE][+-]?(${s})\\b`},{begin:`\\b(${f})\\b((${d})\\b|\\.)?|(${d})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},x={className:"subst",begin:"\\$\\{",end:"\\}",keywords:c,contains:[]},y={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,x],subLanguage:"xml"}},C={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,x],subLanguage:"css"}},w={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,x],subLanguage:"graphql"}},R={className:"string",begin:"`",end:"`",contains:[l.BACKSLASH_ESCAPE,x]},E={className:"comment",variants:[l.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:S+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),l.C_BLOCK_COMMENT_MODE,l.C_LINE_COMMENT_MODE]},k=[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,y,C,w,R,{match:/\$\d+/},b];x.contains=k.concat({begin:/\{/,end:/\}/,keywords:c,contains:["self"].concat(k)});const L=[].concat(E,x.contains),I=L.concat([{begin:/(\s*)\(/,end:/\)/,keywords:c,contains:["self"].concat(L)}]),P={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:I},M={variants:[{match:[/class/,/\s+/,S,/\s+/,/extends/,/\s+/,v.concat(S,"(",v.concat(/\./,S),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,S],scope:{1:"keyword",3:"title.class"}}]},F={relevance:0,match:v.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...n,...o]}},N={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},T={variants:[{match:[/function/,/\s+/,S,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[P],illegal:/%/},D={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function O(j){return v.concat("(?!",j.join("|"),")")}const U={match:v.concat(/\b/,O([...m,"super","import"].map(j=>`${j}\\s*\\(`)),S,v.lookahead(/\s*\(/)),className:"title.function",relevance:0},B={begin:v.concat(/\./,v.lookahead(v.concat(S,/(?![0-9A-Za-z$_(])/))),end:S,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Y={match:[/get|set/,/\s+/,S,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},P]},z="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+l.UNDERSCORE_IDENT_RE+")\\s*=>",V={match:[/const|var|let/,/\s+/,S,/\s*/,/=\s*/,/(async\s*)?/,v.lookahead(z)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[P]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:c,exports:{PARAMS_CONTAINS:I,CLASS_REFERENCE:F},illegal:/#(?![$_A-z])/,contains:[l.SHEBANG({label:"shebang",binary:"node",relevance:5}),N,l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,y,C,w,R,E,{match:/\$\d+/},b,F,{scope:"attr",match:S+v.lookahead(":"),relevance:0},V,{begin:"("+l.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[E,l.REGEXP_MODE,{className:"function",begin:z,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:l.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:I}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:p},{begin:_.begin,"on:begin":_.isTrulyOpeningTag,end:_.end}],subLanguage:"xml",contains:[{begin:_.begin,end:_.end,skip:!0,contains:["self"]}]}]},T,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+l.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[P,l.inherit(l.TITLE_MODE,{begin:S,className:"title.function"})]},{match:/\.\.\./,relevance:0},B,{match:"\\$"+S,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[P]},U,D,M,Y,{match:/\$[(.]/}]}}return nge=a,nge}var age,rFe;function SCt(){if(rFe)return age;rFe=1;function e(t){const n={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},o={className:"function",begin:/:[\w\-.]+/,relevance:0},m={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},u={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,u,o,m,n]}}return age=e,age}var ige,nFe;function wCt(){if(nFe)return ige;nFe=1;function e(t){const r={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},o=["true","false","null"],m={scope:"literal",beginKeywords:o.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:o},contains:[r,n,t.QUOTE_STRING_MODE,m,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return ige=e,ige}var oge,aFe;function TCt(){if(aFe)return oge;aFe=1;function e(t){const r="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",u={$pattern:r,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π",""],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},h={keywords:u,illegal:/<\//},a={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},l={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},v={className:"subst",begin:/\$\(/,end:/\)/,keywords:u},i={className:"variable",begin:"\\$"+r},S={className:"string",contains:[t.BACKSLASH_ESCAPE,v,i],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},g={className:"string",contains:[t.BACKSLASH_ESCAPE,v,i],begin:"`",end:"`"},p={className:"meta",begin:"@"+r},_={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return h.name="Julia",h.contains=[a,l,S,g,p,_,t.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],v.contains=h.contains,h}return oge=e,oge}var sge,iFe;function ACt(){if(iFe)return sge;iFe=1;function e(t){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return sge=e,sge}var lge,oFe;function CCt(){if(oFe)return lge;oFe=1;var e="[0-9](_*[0-9])*",t=`\\.(${e})`,r="[0-9a-fA-F](_*[0-9a-fA-F])*",n={className:"number",variants:[{begin:`(\\b(${e})((${t})|\\.)?|(${t}))[eE][+-]?(${e})[fFdD]?\\b`},{begin:`\\b(${e})((${t})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${t})[fFdD]?\\b`},{begin:`\\b(${e})[fFdD]\\b`},{begin:`\\b0[xX]((${r})\\.?|(${r})?\\.(${r}))[pP][+-]?(${e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${r})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function o(m){const u={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},h={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},a={className:"symbol",begin:m.UNDERSCORE_IDENT_RE+"@"},l={className:"subst",begin:/\$\{/,end:/\}/,contains:[m.C_NUMBER_MODE]},v={className:"variable",begin:"\\$"+m.UNDERSCORE_IDENT_RE},i={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[v,l]},{begin:"'",end:"'",illegal:/\n/,contains:[m.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[m.BACKSLASH_ESCAPE,v,l]}]};l.contains.push(i);const S={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+m.UNDERSCORE_IDENT_RE+")?"},g={className:"meta",begin:"@"+m.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[m.inherit(i,{className:"string"}),"self"]}]},p=n,_=m.COMMENT("/\\*","\\*/",{contains:[m.C_BLOCK_COMMENT_MODE]}),c={variants:[{className:"type",begin:m.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},s=c;return s.variants[1].contains=[c],c.variants[1].contains=[s],{name:"Kotlin",aliases:["kt","kts"],keywords:u,contains:[m.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),m.C_LINE_COMMENT_MODE,_,h,a,S,g,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:u,relevance:5,contains:[{begin:m.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[m.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:u,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[c,m.C_LINE_COMMENT_MODE,_],relevance:0},m.C_LINE_COMMENT_MODE,_,S,g,i,m.C_NUMBER_MODE]},_]},{begin:[/class|interface|trait/,/\s+/,m.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},m.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},S,g]},i,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
`},p]}}return lge=o,lge}var cge,sFe;function kCt(){if(sFe)return cge;sFe=1;function e(t){const r="[a-zA-Z_][\\w.]*",n="<\\?(lasso(script)?|=)",o="\\]|\\?>",m={$pattern:r+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},u=t.COMMENT("<!--","-->",{relevance:0}),h={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[u]}},a={className:"meta",begin:"\\[/noprocess|"+n},l={className:"symbol",begin:"'"+r+"'"},v=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.inherit(t.C_NUMBER_MODE,{begin:t.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+r},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:r,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+r,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[l]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[t.inherit(t.TITLE_MODE,{begin:r+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:m,contains:[{className:"meta",begin:o,relevance:0,starts:{end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[u]}},h,a,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:m,contains:[{className:"meta",begin:o,relevance:0,starts:{end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[u]}},h,a].concat(v)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(v)}}return cge=e,cge}var uge,lFe;function MCt(){if(lFe)return uge;lFe=1;function e(t){const n=t.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(E=>E+"(?![a-zA-Z@:_])")),o=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(E=>E+"(?![a-zA-Z:_])").join("|")),m=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],u=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],h={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:n},{endsParent:!0,begin:o},{endsParent:!0,variants:u},{endsParent:!0,relevance:0,variants:m}]},a={className:"params",relevance:0,begin:/#+\d?/},l={variants:u},v={className:"built_in",relevance:0,begin:/[$&^_]/},i={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},S=t.COMMENT("%","$",{relevance:0}),g=[h,a,l,v,i,S],p={begin:/\{/,end:/\}/,relevance:0,contains:["self",...g]},_=t.inherit(p,{relevance:0,endsParent:!0,contains:[p,...g]}),c={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[p,...g]},s={begin:/\s+/,relevance:0},d=[_],f=[c],b=function(E,k){return{contains:[s],starts:{relevance:0,contains:E,starts:k}}},x=function(E,k){return{begin:"\\\\"+E+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+E},relevance:0,contains:[s],starts:k}},y=function(E,k){return t.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+E+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},b(d,k))},C=(E="string")=>t.END_SAME_AS_BEGIN({className:E,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),w=function(E){return{className:"string",end:"(?=\\\\end\\{"+E+"\\})"}},R=(E="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:E,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),A=[...["verb","lstinline"].map(E=>x(E,{contains:[C()]})),x("mint",b(d,{contains:[C()]})),x("mintinline",b(d,{contains:[R(),C()]})),x("url",{contains:[R("link"),R("link")]}),x("hyperref",{contains:[R("link")]}),x("href",b(f,{contains:[R("link")]})),...[].concat(...["","\\*"].map(E=>[y("verbatim"+E,w("verbatim"+E)),y("filecontents"+E,b(d,w("filecontents"+E))),...["","B","L"].map(k=>y(k+"Verbatim"+E,b(f,w(k+"Verbatim"+E))))])),y("minted",b(f,b(d,w("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...A,...g]}}return uge=e,uge}var dge,cFe;function RCt(){if(cFe)return dge;cFe=1;function e(t){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},t.HASH_COMMENT_MODE]}}return dge=e,dge}var fge,uFe;function NCt(){if(uFe)return fge;uFe=1;function e(t){const r=/([A-Za-z_][A-Za-z_0-9]*)?/,o={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},m={match:[r,/(?=\()/],scope:{1:"keyword"},contains:[o]};return o.contains.unshift(m),{name:"Leaf",contains:[{match:[/#+/,r,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[o]},{match:[/#+/,r,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}return fge=e,fge}var hge,dFe;function ICt(){if(dFe)return hge;dFe=1;const e=v=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:v.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[v.APOS_STRING_MODE,v.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:v.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],r=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],n=[...t,...r],o=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),m=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),u=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),h=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),a=m.concat(u).sort().reverse();function l(v){const i=e(v),S=a,g="and or not only",p="[\\w-]+",_="("+p+"|@\\{"+p+"\\})",c=[],s=[],d=function(L){return{className:"string",begin:"~?"+L+".*?"+L}},f=function(L,I,P){return{className:L,begin:I,relevance:P}},b={$pattern:/[a-z-]+/,keyword:g,attribute:o.join(" ")},x={begin:"\\(",end:"\\)",contains:s,keywords:b,relevance:0};s.push(v.C_LINE_COMMENT_MODE,v.C_BLOCK_COMMENT_MODE,d("'"),d('"'),i.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},i.HEXCOLOR,x,f("variable","@@?"+p,10),f("variable","@\\{"+p+"\\}"),f("built_in","~?`[^`]*?`"),{className:"attribute",begin:p+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},i.IMPORTANT,{beginKeywords:"and not"},i.FUNCTION_DISPATCH);const y=s.concat({begin:/\{/,end:/\}/,contains:c}),C={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(s)},w={begin:_+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},i.CSS_VARIABLE,{className:"attribute",begin:"\\b("+h.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:s}}]},R={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:b,returnEnd:!0,contains:s,relevance:0}},A={className:"variable",variants:[{begin:"@"+p+"\\s*:",relevance:15},{begin:"@"+p}],starts:{end:"[;}]",returnEnd:!0,contains:y}},E={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:_,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[v.C_LINE_COMMENT_MODE,v.C_BLOCK_COMMENT_MODE,C,f("keyword","all\\b"),f("variable","@\\{"+p+"\\}"),{begin:"\\b("+n.join("|")+")\\b",className:"selector-tag"},i.CSS_NUMBER_MODE,f("selector-tag",_,0),f("selector-id","#"+_),f("selector-class","\\."+_,0),f("selector-tag","&",0),i.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+m.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+u.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:y},{begin:"!important"},i.FUNCTION_DISPATCH]},k={begin:p+`:(:)?(${S.join("|")})`,returnBegin:!0,contains:[E]};return c.push(v.C_LINE_COMMENT_MODE,v.C_BLOCK_COMMENT_MODE,R,A,k,w,E,C,i.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:c}}return hge=l,hge}var pge,fFe;function LCt(){if(fFe)return pge;fFe=1;function e(t){const r="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",n="\\|[^]*?\\|",o="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",m={className:"literal",begin:"\\b(t{1}|nil)\\b"},u={className:"number",variants:[{begin:o,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+o+" +"+o,end:"\\)"}]},h=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),a=t.COMMENT(";","$",{relevance:0}),l={begin:"\\*",end:"\\*"},v={className:"symbol",begin:"[:&]"+r},i={begin:r,relevance:0},S={begin:n},p={contains:[u,h,l,v,{begin:"\\(",end:"\\)",contains:["self",m,h,u,i]},i],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+n}]},_={variants:[{begin:"'"+r},{begin:"#'"+r+"(::"+r+")*"}]},c={begin:"\\(\\s*",end:"\\)"},s={endsWithParent:!0,relevance:0};return c.contains=[{className:"name",variants:[{begin:r,relevance:0},{begin:n}]},s],s.contains=[p,_,c,m,u,h,a,l,v,S,i],{name:"Lisp",illegal:/\S/,contains:[u,t.SHEBANG(),m,h,a,p,_,c,i]}}return pge=e,pge}var vge,hFe;function OCt(){if(hFe)return vge;hFe=1;function e(t){const r={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},n=[t.C_BLOCK_COMMENT_MODE,t.HASH_COMMENT_MODE,t.COMMENT("--","$"),t.COMMENT("[^:]//","$")],o=t.inherit(t.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),m=t.inherit(t.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[r,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[r,m,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,o]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[m,o],relevance:0},{beginKeywords:"command on",end:"$",contains:[r,m,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,o]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,o].concat(n),illegal:";$|^\\[|^=|&|\\{"}}return vge=e,vge}var mge,pFe;function DCt(){if(pFe)return mge;pFe=1;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],t=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],n=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],o=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],m=[].concat(o,r,n);function u(h){const a=["npm","print"],l=["yes","no","on","off","it","that","void"],v=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],i={keyword:e.concat(v),literal:t.concat(l),built_in:m.concat(a)},S="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",g=h.inherit(h.TITLE_MODE,{begin:S}),p={className:"subst",begin:/#\{/,end:/\}/,keywords:i},_={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:i},c=[h.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[h.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[h.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[h.BACKSLASH_ESCAPE,p,_]},{begin:/"/,end:/"/,contains:[h.BACKSLASH_ESCAPE,p,_]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[p,h.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+S},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];p.contains=c;const s={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(c)}]},d={begin:"(#=>|=>|\\|>>|-?->|!->)"},f={variants:[{match:[/class\s+/,S,/\s+extends\s+/,S]},{match:[/class\s+/,S]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i};return{name:"LiveScript",aliases:["ls"],keywords:i,illegal:/\/\*/,contains:c.concat([h.COMMENT("\\/\\*","\\*\\/"),h.HASH_COMMENT_MODE,d,{className:"function",contains:[g,s],returnBegin:!0,variants:[{begin:"("+S+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+S+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+S+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},f,{begin:S+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return mge=u,mge}var gge,vFe;function PCt(){if(vFe)return gge;vFe=1;function e(t){const r=t.regex,n=/([-a-zA-Z$._][\w$.-]*)/,o={className:"type",begin:/\bi\d+(?=\s|\b)/},m={className:"operator",relevance:0,begin:/=/},u={className:"punctuation",relevance:0,begin:/,/},h={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},a={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},l={className:"variable",variants:[{begin:r.concat(/%/,n)},{begin:/%\d+/},{begin:/#\d+/}]},v={className:"title",variants:[{begin:r.concat(/@/,n)},{begin:/@\d+/},{begin:r.concat(/!/,n)},{begin:r.concat(/!\d+/,n)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:{keyword:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly",type:"void half bfloat float double fp128 x86_fp80 ppc_fp128 x86_amx x86_mmx ptr label token metadata opaque"},contains:[o,t.COMMENT(/;\s*$/,null,{relevance:0}),t.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},v,u,m,l,a,h]}}return gge=e,gge}var yge,mFe;function FCt(){if(mFe)return yge;mFe=1;function e(t){const n={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},o={className:"number",relevance:0,begin:t.C_NUMBER_RE},m={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},u={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[n,{className:"comment",variants:[t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/")],relevance:0},o,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},u,m,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return yge=e,yge}var _ge,gFe;function BCt(){if(gFe)return _ge;gFe=1;function e(t){const r="\\[=*\\[",n="\\]=*\\]",o={begin:r,end:n,contains:["self"]},m=[t.COMMENT("--(?!"+r+")","$"),t.COMMENT("--"+r,n,{contains:[o],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:t.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:m.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[t.inherit(t.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:m}].concat(m)},t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:r,end:n,contains:[o],relevance:5}])}}return _ge=e,_ge}var xge,yFe;function zCt(){if(yFe)return xge;yFe=1;function e(t){const r={className:"variable",variants:[{begin:"\\$\\("+t.UNDERSCORE_IDENT_RE+"\\)",contains:[t.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,r]},o={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[r,n]},m={begin:"^"+t.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},u={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},h={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[r]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[t.HASH_COMMENT_MODE,r,n,o,m,u,h]}}return xge=e,xge}var bge,_Fe;function UCt(){if(_Fe)return bge;_Fe=1;const e=["AASTriangle","AbelianGroup","Abort","AbortKernels","AbortProtect","AbortScheduledTask","Above","Abs","AbsArg","AbsArgPlot","Absolute","AbsoluteCorrelation","AbsoluteCorrelationFunction","AbsoluteCurrentValue","AbsoluteDashing","AbsoluteFileName","AbsoluteOptions","AbsolutePointSize","AbsoluteThickness","AbsoluteTime","AbsoluteTiming","AcceptanceThreshold","AccountingForm","Accumulate","Accuracy","AccuracyGoal","AcousticAbsorbingValue","AcousticImpedanceValue","AcousticNormalVelocityValue","AcousticPDEComponent","AcousticPressureCondition","AcousticRadiationValue","AcousticSoundHardValue","AcousticSoundSoftCondition","ActionDelay","ActionMenu","ActionMenuBox","ActionMenuBoxOptions","Activate","Active","ActiveClassification","ActiveClassificationObject","ActiveItem","ActivePrediction","ActivePredictionObject","ActiveStyle","AcyclicGraphQ","AddOnHelpPath","AddSides","AddTo","AddToSearchIndex","AddUsers","AdjacencyGraph","AdjacencyList","AdjacencyMatrix","AdjacentMeshCells","Adjugate","AdjustmentBox","AdjustmentBoxOptions","AdjustTimeSeriesForecast","AdministrativeDivisionData","AffineHalfSpace","AffineSpace","AffineStateSpaceModel","AffineTransform","After","AggregatedEntityClass","AggregationLayer","AircraftData","AirportData","AirPressureData","AirSoundAttenuation","AirTemperatureData","AiryAi","AiryAiPrime","AiryAiZero","AiryBi","AiryBiPrime","AiryBiZero","AlgebraicIntegerQ","AlgebraicNumber","AlgebraicNumberDenominator","AlgebraicNumberNorm","AlgebraicNumberPolynomial","AlgebraicNumberTrace","AlgebraicRules","AlgebraicRulesData","Algebraics","AlgebraicUnitQ","Alignment","AlignmentMarker","AlignmentPoint","All","AllowAdultContent","AllowChatServices","AllowedCloudExtraParameters","AllowedCloudParameterExtensions","AllowedDimensions","AllowedFrequencyRange","AllowedHeads","AllowGroupClose","AllowIncomplete","AllowInlineCells","AllowKernelInitialization","AllowLooseGrammar","AllowReverseGroupClose","AllowScriptLevelChange","AllowVersionUpdate","AllTrue","Alphabet","AlphabeticOrder","AlphabeticSort","AlphaChannel","AlternateImage","AlternatingFactorial","AlternatingGroup","AlternativeHypothesis","Alternatives","AltitudeMethod","AmbientLight","AmbiguityFunction","AmbiguityList","Analytic","AnatomyData","AnatomyForm","AnatomyPlot3D","AnatomySkinStyle","AnatomyStyling","AnchoredSearch","And","AndersonDarlingTest","AngerJ","AngleBisector","AngleBracket","AnglePath","AnglePath3D","AngleVector","AngularGauge","Animate","AnimatedImage","AnimationCycleOffset","AnimationCycleRepetitions","AnimationDirection","AnimationDisplayTime","AnimationRate","AnimationRepetitions","AnimationRunning","AnimationRunTime","AnimationTimeIndex","AnimationVideo","Animator","AnimatorBox","AnimatorBoxOptions","AnimatorElements","Annotate","Annotation","AnnotationDelete","AnnotationKeys","AnnotationRules","AnnotationValue","Annuity","AnnuityDue","Annulus","AnomalyDetection","AnomalyDetector","AnomalyDetectorFunction","Anonymous","Antialiasing","Antihermitian","AntihermitianMatrixQ","Antisymmetric","AntisymmetricMatrixQ","Antonyms","AnyOrder","AnySubset","AnyTrue","Apart","ApartSquareFree","APIFunction","Appearance","AppearanceElements","AppearanceRules","AppellF1","Append","AppendCheck","AppendLayer","AppendTo","Application","Apply","ApplyReaction","ApplySides","ApplyTo","ArcCos","ArcCosh","ArcCot","ArcCoth","ArcCsc","ArcCsch","ArcCurvature","ARCHProcess","ArcLength","ArcSec","ArcSech","ArcSin","ArcSinDistribution","ArcSinh","ArcTan","ArcTanh","Area","Arg","ArgMax","ArgMin","ArgumentCountQ","ArgumentsOptions","ARIMAProcess","ArithmeticGeometricMean","ARMAProcess","Around","AroundReplace","ARProcess","Array","ArrayComponents","ArrayDepth","ArrayFilter","ArrayFlatten","ArrayMesh","ArrayPad","ArrayPlot","ArrayPlot3D","ArrayQ","ArrayReduce","ArrayResample","ArrayReshape","ArrayRules","Arrays","Arrow","Arrow3DBox","ArrowBox","Arrowheads","ASATriangle","Ask","AskAppend","AskConfirm","AskDisplay","AskedQ","AskedValue","AskFunction","AskState","AskTemplateDisplay","AspectRatio","AspectRatioFixed","Assert","AssessmentFunction","AssessmentResultObject","AssociateTo","Association","AssociationFormat","AssociationMap","AssociationQ","AssociationThread","AssumeDeterministic","Assuming","Assumptions","AstroAngularSeparation","AstroBackground","AstroCenter","AstroDistance","AstroGraphics","AstroGridLines","AstroGridLinesStyle","AstronomicalData","AstroPosition","AstroProjection","AstroRange","AstroRangePadding","AstroReferenceFrame","AstroStyling","AstroZoomLevel","Asymptotic","AsymptoticDSolveValue","AsymptoticEqual","AsymptoticEquivalent","AsymptoticExpectation","AsymptoticGreater","AsymptoticGreaterEqual","AsymptoticIntegrate","AsymptoticLess","AsymptoticLessEqual","AsymptoticOutputTracker","AsymptoticProbability","AsymptoticProduct","AsymptoticRSolveValue","AsymptoticSolve","AsymptoticSum","Asynchronous","AsynchronousTaskObject","AsynchronousTasks","Atom","AtomCoordinates","AtomCount","AtomDiagramCoordinates","AtomLabels","AtomLabelStyle","AtomList","AtomQ","AttachCell","AttachedCell","AttentionLayer","Attributes","Audio","AudioAmplify","AudioAnnotate","AudioAnnotationLookup","AudioBlockMap","AudioCapture","AudioChannelAssignment","AudioChannelCombine","AudioChannelMix","AudioChannels","AudioChannelSeparate","AudioData","AudioDelay","AudioDelete","AudioDevice","AudioDistance","AudioEncoding","AudioFade","AudioFrequencyShift","AudioGenerator","AudioIdentify","AudioInputDevice","AudioInsert","AudioInstanceQ","AudioIntervals","AudioJoin","AudioLabel","AudioLength","AudioLocalMeasurements","AudioLooping","AudioLoudness","AudioMeasurements","AudioNormalize","AudioOutputDevice","AudioOverlay","AudioPad","AudioPan","AudioPartition","AudioPause","AudioPitchShift","AudioPlay","AudioPlot","AudioQ","AudioRecord","AudioReplace","AudioResample","AudioReverb","AudioReverse","AudioSampleRate","AudioSpectralMap","AudioSpectralTransformation","AudioSplit","AudioStop","AudioStream","AudioStreams","AudioTimeStretch","AudioTrackApply","AudioTrackSelection","AudioTrim","AudioType","AugmentedPolyhedron","AugmentedSymmetricPolynomial","Authenticate","Authentication","AuthenticationDialog","AutoAction","Autocomplete","AutocompletionFunction","AutoCopy","AutocorrelationTest","AutoDelete","AutoEvaluateEvents","AutoGeneratedPackage","AutoIndent","AutoIndentSpacings","AutoItalicWords","AutoloadPath","AutoMatch","Automatic","AutomaticImageSize","AutoMultiplicationSymbol","AutoNumberFormatting","AutoOpenNotebooks","AutoOpenPalettes","AutoOperatorRenderings","AutoQuoteCharacters","AutoRefreshed","AutoRemove","AutorunSequencing","AutoScaling","AutoScroll","AutoSpacing","AutoStyleOptions","AutoStyleWords","AutoSubmitting","Axes","AxesEdge","AxesLabel","AxesOrigin","AxesStyle","AxiomaticTheory","Axis","Axis3DBox","Axis3DBoxOptions","AxisBox","AxisBoxOptions","AxisLabel","AxisObject","AxisStyle","BabyMonsterGroupB","Back","BackFaceColor","BackFaceGlowColor","BackFaceOpacity","BackFaceSpecularColor","BackFaceSpecularExponent","BackFaceSurfaceAppearance","BackFaceTexture","Background","BackgroundAppearance","BackgroundTasksSettings","Backslash","Backsubstitution","Backward","Ball","Band","BandpassFilter","BandstopFilter","BarabasiAlbertGraphDistribution","BarChart","BarChart3D","BarcodeImage","BarcodeRecognize","BaringhausHenzeTest","BarLegend","BarlowProschanImportance","BarnesG","BarOrigin","BarSpacing","BartlettHannWindow","BartlettWindow","BaseDecode","BaseEncode","BaseForm","Baseline","BaselinePosition","BaseStyle","BasicRecurrentLayer","BatchNormalizationLayer","BatchSize","BatesDistribution","BattleLemarieWavelet","BayesianMaximization","BayesianMaximizationObject","BayesianMinimization","BayesianMinimizationObject","Because","BeckmannDistribution","Beep","Before","Begin","BeginDialogPacket","BeginPackage","BellB","BellY","Below","BenfordDistribution","BeniniDistribution","BenktanderGibratDistribution","BenktanderWeibullDistribution","BernoulliB","BernoulliDistribution","BernoulliGraphDistribution","BernoulliProcess","BernsteinBasis","BesagL","BesselFilterModel","BesselI","BesselJ","BesselJZero","BesselK","BesselY","BesselYZero","Beta","BetaBinomialDistribution","BetaDistribution","BetaNegativeBinomialDistribution","BetaPrimeDistribution","BetaRegularized","Between","BetweennessCentrality","Beveled","BeveledPolyhedron","BezierCurve","BezierCurve3DBox","BezierCurve3DBoxOptions","BezierCurveBox","BezierCurveBoxOptions","BezierFunction","BilateralFilter","BilateralLaplaceTransform","BilateralZTransform","Binarize","BinaryDeserialize","BinaryDistance","BinaryFormat","BinaryImageQ","BinaryRead","BinaryReadList","BinarySerialize","BinaryWrite","BinCounts","BinLists","BinnedVariogramList","Binomial","BinomialDistribution","BinomialPointProcess","BinomialProcess","BinormalDistribution","BiorthogonalSplineWavelet","BioSequence","BioSequenceBackTranslateList","BioSequenceComplement","BioSequenceInstances","BioSequenceModify","BioSequencePlot","BioSequenceQ","BioSequenceReverseComplement","BioSequenceTranscribe","BioSequenceTranslate","BipartiteGraphQ","BiquadraticFilterModel","BirnbaumImportance","BirnbaumSaundersDistribution","BitAnd","BitClear","BitGet","BitLength","BitNot","BitOr","BitRate","BitSet","BitShiftLeft","BitShiftRight","BitXor","BiweightLocation","BiweightMidvariance","Black","BlackmanHarrisWindow","BlackmanNuttallWindow","BlackmanWindow","Blank","BlankForm","BlankNullSequence","BlankSequence","Blend","Block","BlockchainAddressData","BlockchainBase","BlockchainBlockData","BlockchainContractValue","BlockchainData","BlockchainGet","BlockchainKeyEncode","BlockchainPut","BlockchainTokenData","BlockchainTransaction","BlockchainTransactionData","BlockchainTransactionSign","BlockchainTransactionSubmit","BlockDiagonalMatrix","BlockLowerTriangularMatrix","BlockMap","BlockRandom","BlockUpperTriangularMatrix","BlomqvistBeta","BlomqvistBetaTest","Blue","Blur","Blurring","BodePlot","BohmanWindow","Bold","Bond","BondCount","BondLabels","BondLabelStyle","BondList","BondQ","Bookmarks","Boole","BooleanConsecutiveFunction","BooleanConvert","BooleanCountingFunction","BooleanFunction","BooleanGraph","BooleanMaxterms","BooleanMinimize","BooleanMinterms","BooleanQ","BooleanRegion","Booleans","BooleanStrings","BooleanTable","BooleanVariables","BorderDimensions","BorelTannerDistribution","Bottom","BottomHatTransform","BoundaryDiscretizeGraphics","BoundaryDiscretizeRegion","BoundaryMesh","BoundaryMeshRegion","BoundaryMeshRegionQ","BoundaryStyle","BoundedRegionQ","BoundingRegion","Bounds","Box","BoxBaselineShift","BoxData","BoxDimensions","Boxed","Boxes","BoxForm","BoxFormFormatTypes","BoxFrame","BoxID","BoxMargins","BoxMatrix","BoxObject","BoxRatios","BoxRotation","BoxRotationPoint","BoxStyle","BoxWhiskerChart","Bra","BracketingBar","BraKet","BrayCurtisDistance","BreadthFirstScan","Break","BridgeData","BrightnessEqualize","BroadcastStationData","Brown","BrownForsytheTest","BrownianBridgeProcess","BrowserCategory","BSplineBasis","BSplineCurve","BSplineCurve3DBox","BSplineCurve3DBoxOptions","BSplineCurveBox","BSplineCurveBoxOptions","BSplineFunction","BSplineSurface","BSplineSurface3DBox","BSplineSurface3DBoxOptions","BubbleChart","BubbleChart3D","BubbleScale","BubbleSizes","BuckyballGraph","BuildCompiledComponent","BuildingData","BulletGauge","BusinessDayQ","ButterflyGraph","ButterworthFilterModel","Button","ButtonBar","ButtonBox","ButtonBoxOptions","ButtonCell","ButtonContents","ButtonData","ButtonEvaluator","ButtonExpandable","ButtonFrame","ButtonFunction","ButtonMargins","ButtonMinHeight","ButtonNote","ButtonNotebook","ButtonSource","ButtonStyle","ButtonStyleMenuListing","Byte","ByteArray","ByteArrayFormat","ByteArrayFormatQ","ByteArrayQ","ByteArrayToString","ByteCount","ByteOrdering","C","CachedValue","CacheGraphics","CachePersistence","CalendarConvert","CalendarData","CalendarType","Callout","CalloutMarker","CalloutStyle","CallPacket","CanberraDistance","Cancel","CancelButton","CandlestickChart","CanonicalGraph","CanonicalizePolygon","CanonicalizePolyhedron","CanonicalizeRegion","CanonicalName","CanonicalWarpingCorrespondence","CanonicalWarpingDistance","CantorMesh","CantorStaircase","Canvas","Cap","CapForm","CapitalDifferentialD","Capitalize","CapsuleShape","CaptureRunning","CaputoD","CardinalBSplineBasis","CarlemanLinearize","CarlsonRC","CarlsonRD","CarlsonRE","CarlsonRF","CarlsonRG","CarlsonRJ","CarlsonRK","CarlsonRM","CarmichaelLambda","CaseOrdering","Cases","CaseSensitive","Cashflow","Casoratian","Cast","Catalan","CatalanNumber","Catch","CategoricalDistribution","Catenate","CatenateLayer","CauchyDistribution","CauchyMatrix","CauchyPointProcess","CauchyWindow","CayleyGraph","CDF","CDFDeploy","CDFInformation","CDFWavelet","Ceiling","CelestialSystem","Cell","CellAutoOverwrite","CellBaseline","CellBoundingBox","CellBracketOptions","CellChangeTimes","CellContents","CellContext","CellDingbat","CellDingbatMargin","CellDynamicExpression","CellEditDuplicate","CellElementsBoundingBox","CellElementSpacings","CellEpilog","CellEvaluationDuplicate","CellEvaluationFunction","CellEvaluationLanguage","CellEventActions","CellFrame","CellFrameColor","CellFrameLabelMargins","CellFrameLabels","CellFrameMargins","CellFrameStyle","CellGroup","CellGroupData","CellGrouping","CellGroupingRules","CellHorizontalScrolling","CellID","CellInsertionPointCell","CellLabel","CellLabelAutoDelete","CellLabelMargins","CellLabelPositioning","CellLabelStyle","CellLabelTemplate","CellMargins","CellObject","CellOpen","CellPrint","CellProlog","Cells","CellSize","CellStyle","CellTags","CellTrayPosition","CellTrayWidgets","CellularAutomaton","CensoredDistribution","Censoring","Center","CenterArray","CenterDot","CenteredInterval","CentralFeature","CentralMoment","CentralMomentGeneratingFunction","Cepstrogram","CepstrogramArray","CepstrumArray","CForm","ChampernowneNumber","ChangeOptions","ChannelBase","ChannelBrokerAction","ChannelDatabin","ChannelHistoryLength","ChannelListen","ChannelListener","ChannelListeners","ChannelListenerWait","ChannelObject","ChannelPreSendFunction","ChannelReceiverFunction","ChannelSend","ChannelSubscribers","ChanVeseBinarize","Character","CharacterCounts","CharacterEncoding","CharacterEncodingsPath","CharacteristicFunction","CharacteristicPolynomial","CharacterName","CharacterNormalize","CharacterRange","Characters","ChartBaseStyle","ChartElementData","ChartElementDataFunction","ChartElementFunction","ChartElements","ChartLabels","ChartLayout","ChartLegends","ChartStyle","Chebyshev1FilterModel","Chebyshev2FilterModel","ChebyshevDistance","ChebyshevT","ChebyshevU","Check","CheckAbort","CheckAll","CheckArguments","Checkbox","CheckboxBar","CheckboxBox","CheckboxBoxOptions","ChemicalConvert","ChemicalData","ChemicalFormula","ChemicalInstance","ChemicalReaction","ChessboardDistance","ChiDistribution","ChineseRemainder","ChiSquareDistribution","ChoiceButtons","ChoiceDialog","CholeskyDecomposition","Chop","ChromaticityPlot","ChromaticityPlot3D","ChromaticPolynomial","Circle","CircleBox","CircleDot","CircleMinus","CirclePlus","CirclePoints","CircleThrough","CircleTimes","CirculantGraph","CircularArcThrough","CircularOrthogonalMatrixDistribution","CircularQuaternionMatrixDistribution","CircularRealMatrixDistribution","CircularSymplecticMatrixDistribution","CircularUnitaryMatrixDistribution","Circumsphere","CityData","ClassifierFunction","ClassifierInformation","ClassifierMeasurements","ClassifierMeasurementsObject","Classify","ClassPriors","Clear","ClearAll","ClearAttributes","ClearCookies","ClearPermissions","ClearSystemCache","ClebschGordan","ClickPane","ClickToCopy","ClickToCopyEnabled","Clip","ClipboardNotebook","ClipFill","ClippingStyle","ClipPlanes","ClipPlanesStyle","ClipRange","Clock","ClockGauge","ClockwiseContourIntegral","Close","Closed","CloseKernels","ClosenessCentrality","Closing","ClosingAutoSave","ClosingEvent","CloudAccountData","CloudBase","CloudConnect","CloudConnections","CloudDeploy","CloudDirectory","CloudDisconnect","CloudEvaluate","CloudExport","CloudExpression","CloudExpressions","CloudFunction","CloudGet","CloudImport","CloudLoggingData","CloudObject","CloudObjectInformation","CloudObjectInformationData","CloudObjectNameFormat","CloudObjects","CloudObjectURLType","CloudPublish","CloudPut","CloudRenderingMethod","CloudSave","CloudShare","CloudSubmit","CloudSymbol","CloudUnshare","CloudUserID","ClusterClassify","ClusterDissimilarityFunction","ClusteringComponents","ClusteringMeasurements","ClusteringTree","CMYKColor","Coarse","CodeAssistOptions","Coefficient","CoefficientArrays","CoefficientDomain","CoefficientList","CoefficientRules","CoifletWavelet","Collect","CollinearPoints","Colon","ColonForm","ColorBalance","ColorCombine","ColorConvert","ColorCoverage","ColorData","ColorDataFunction","ColorDetect","ColorDistance","ColorFunction","ColorFunctionBinning","ColorFunctionScaling","Colorize","ColorNegate","ColorOutput","ColorProfileData","ColorQ","ColorQuantize","ColorReplace","ColorRules","ColorSelectorSettings","ColorSeparate","ColorSetter","ColorSetterBox","ColorSetterBoxOptions","ColorSlider","ColorsNear","ColorSpace","ColorToneMapping","Column","ColumnAlignments","ColumnBackgrounds","ColumnForm","ColumnLines","ColumnsEqual","ColumnSpacings","ColumnWidths","CombinatorB","CombinatorC","CombinatorI","CombinatorK","CombinatorS","CombinatorW","CombinatorY","CombinedEntityClass","CombinerFunction","CometData","CommonDefaultFormatTypes","Commonest","CommonestFilter","CommonName","CommonUnits","CommunityBoundaryStyle","CommunityGraphPlot","CommunityLabels","CommunityRegionStyle","CompanyData","CompatibleUnitQ","CompilationOptions","CompilationTarget","Compile","Compiled","CompiledCodeFunction","CompiledComponent","CompiledExpressionDeclaration","CompiledFunction","CompiledLayer","CompilerCallback","CompilerEnvironment","CompilerEnvironmentAppend","CompilerEnvironmentAppendTo","CompilerEnvironmentObject","CompilerOptions","Complement","ComplementedEntityClass","CompleteGraph","CompleteGraphQ","CompleteIntegral","CompleteKaryTree","CompletionsListPacket","Complex","ComplexArrayPlot","ComplexContourPlot","Complexes","ComplexExpand","ComplexInfinity","ComplexityFunction","ComplexListPlot","ComplexPlot","ComplexPlot3D","ComplexRegionPlot","ComplexStreamPlot","ComplexVectorPlot","ComponentMeasurements","ComponentwiseContextMenu","Compose","ComposeList","ComposeSeries","CompositeQ","Composition","CompoundElement","CompoundExpression","CompoundPoissonDistribution","CompoundPoissonProcess","CompoundRenewalProcess","Compress","CompressedData","CompressionLevel","ComputeUncertainty","ConcaveHullMesh","Condition","ConditionalExpression","Conditioned","Cone","ConeBox","ConfidenceLevel","ConfidenceRange","ConfidenceTransform","ConfigurationPath","Confirm","ConfirmAssert","ConfirmBy","ConfirmMatch","ConfirmQuiet","ConformationMethod","ConformAudio","ConformImages","Congruent","ConicGradientFilling","ConicHullRegion","ConicHullRegion3DBox","ConicHullRegion3DBoxOptions","ConicHullRegionBox","ConicHullRegionBoxOptions","ConicOptimization","Conjugate","ConjugateTranspose","Conjunction","Connect","ConnectedComponents","ConnectedGraphComponents","ConnectedGraphQ","ConnectedMeshComponents","ConnectedMoleculeComponents","ConnectedMoleculeQ","ConnectionSettings","ConnectLibraryCallbackFunction","ConnectSystemModelComponents","ConnectSystemModelController","ConnesWindow","ConoverTest","ConservativeConvectionPDETerm","ConsoleMessage","Constant","ConstantArray","ConstantArrayLayer","ConstantImage","ConstantPlusLayer","ConstantRegionQ","Constants","ConstantTimesLayer","ConstellationData","ConstrainedMax","ConstrainedMin","Construct","Containing","ContainsAll","ContainsAny","ContainsExactly","ContainsNone","ContainsOnly","ContentDetectorFunction","ContentFieldOptions","ContentLocationFunction","ContentObject","ContentPadding","ContentsBoundingBox","ContentSelectable","ContentSize","Context","ContextMenu","Contexts","ContextToFileName","Continuation","Continue","ContinuedFraction","ContinuedFractionK","ContinuousAction","ContinuousMarkovProcess","ContinuousTask","ContinuousTimeModelQ","ContinuousWaveletData","ContinuousWaveletTransform","ContourDetect","ContourGraphics","ContourIntegral","ContourLabels","ContourLines","ContourPlot","ContourPlot3D","Contours","ContourShading","ContourSmoothing","ContourStyle","ContraharmonicMean","ContrastiveLossLayer","Control","ControlActive","ControlAlignment","ControlGroupContentsBox","ControllabilityGramian","ControllabilityMatrix","ControllableDecomposition","ControllableModelQ","ControllerDuration","ControllerInformation","ControllerInformationData","ControllerLinking","ControllerManipulate","ControllerMethod","ControllerPath","ControllerState","ControlPlacement","ControlsRendering","ControlType","ConvectionPDETerm","Convergents","ConversionOptions","ConversionRules","ConvertToPostScript","ConvertToPostScriptPacket","ConvexHullMesh","ConvexHullRegion","ConvexOptimization","ConvexPolygonQ","ConvexPolyhedronQ","ConvexRegionQ","ConvolutionLayer","Convolve","ConwayGroupCo1","ConwayGroupCo2","ConwayGroupCo3","CookieFunction","Cookies","CoordinateBoundingBox","CoordinateBoundingBoxArray","CoordinateBounds","CoordinateBoundsArray","CoordinateChartData","CoordinatesToolOptions","CoordinateTransform","CoordinateTransformData","CoplanarPoints","CoprimeQ","Coproduct","CopulaDistribution","Copyable","CopyDatabin","CopyDirectory","CopyFile","CopyFunction","CopyTag","CopyToClipboard","CoreNilpotentDecomposition","CornerFilter","CornerNeighbors","Correlation","CorrelationDistance","CorrelationFunction","CorrelationTest","Cos","Cosh","CoshIntegral","CosineDistance","CosineWindow","CosIntegral","Cot","Coth","CoulombF","CoulombG","CoulombH1","CoulombH2","Count","CountDistinct","CountDistinctBy","CounterAssignments","CounterBox","CounterBoxOptions","CounterClockwiseContourIntegral","CounterEvaluator","CounterFunction","CounterIncrements","CounterStyle","CounterStyleMenuListing","CountRoots","CountryData","Counts","CountsBy","Covariance","CovarianceEstimatorFunction","CovarianceFunction","CoxianDistribution","CoxIngersollRossProcess","CoxModel","CoxModelFit","CramerVonMisesTest","CreateArchive","CreateCellID","CreateChannel","CreateCloudExpression","CreateCompilerEnvironment","CreateDatabin","CreateDataStructure","CreateDataSystemModel","CreateDialog","CreateDirectory","CreateDocument","CreateFile","CreateIntermediateDirectories","CreateLicenseEntitlement","CreateManagedLibraryExpression","CreateNotebook","CreatePacletArchive","CreatePalette","CreatePermissionsGroup","CreateScheduledTask","CreateSearchIndex","CreateSystemModel","CreateTemporary","CreateTypeInstance","CreateUUID","CreateWindow","CriterionFunction","CriticalityFailureImportance","CriticalitySuccessImportance","CriticalSection","Cross","CrossEntropyLossLayer","CrossingCount","CrossingDetect","CrossingPolygon","CrossMatrix","Csc","Csch","CSGRegion","CSGRegionQ","CSGRegionTree","CTCLossLayer","Cube","CubeRoot","Cubics","Cuboid","CuboidBox","CuboidBoxOptions","Cumulant","CumulantGeneratingFunction","CumulativeFeatureImpactPlot","Cup","CupCap","Curl","CurlyDoubleQuote","CurlyQuote","CurrencyConvert","CurrentDate","CurrentImage","CurrentNotebookImage","CurrentScreenImage","CurrentValue","Curry","CurryApplied","CurvatureFlowFilter","CurveClosed","Cyan","CycleGraph","CycleIndexPolynomial","Cycles","CyclicGroup","Cyclotomic","Cylinder","CylinderBox","CylinderBoxOptions","CylindricalDecomposition","CylindricalDecompositionFunction","D","DagumDistribution","DamData","DamerauLevenshteinDistance","DampingFactor","Darker","Dashed","Dashing","DatabaseConnect","DatabaseDisconnect","DatabaseReference","Databin","DatabinAdd","DatabinRemove","Databins","DatabinSubmit","DatabinUpload","DataCompression","DataDistribution","DataRange","DataReversed","Dataset","DatasetDisplayPanel","DatasetTheme","DataStructure","DataStructureQ","Date","DateBounds","Dated","DateDelimiters","DateDifference","DatedUnit","DateFormat","DateFunction","DateGranularity","DateHistogram","DateInterval","DateList","DateListLogPlot","DateListPlot","DateListStepPlot","DateObject","DateObjectQ","DateOverlapsQ","DatePattern","DatePlus","DateRange","DateReduction","DateScale","DateSelect","DateString","DateTicksFormat","DateValue","DateWithinQ","DaubechiesWavelet","DavisDistribution","DawsonF","DayCount","DayCountConvention","DayHemisphere","DaylightQ","DayMatchQ","DayName","DayNightTerminator","DayPlus","DayRange","DayRound","DeBruijnGraph","DeBruijnSequence","Debug","DebugTag","Decapitalize","Decimal","DecimalForm","DeclareCompiledComponent","DeclareKnownSymbols","DeclarePackage","Decompose","DeconvolutionLayer","Decrement","Decrypt","DecryptFile","DedekindEta","DeepSpaceProbeData","Default","Default2DTool","Default3DTool","DefaultAttachedCellStyle","DefaultAxesStyle","DefaultBaseStyle","DefaultBoxStyle","DefaultButton","DefaultColor","DefaultControlPlacement","DefaultDockedCellStyle","DefaultDuplicateCellStyle","DefaultDuration","DefaultElement","DefaultFaceGridsStyle","DefaultFieldHintStyle","DefaultFont","DefaultFontProperties","DefaultFormatType","DefaultFrameStyle","DefaultFrameTicksStyle","DefaultGridLinesStyle","DefaultInlineFormatType","DefaultInputFormatType","DefaultLabelStyle","DefaultMenuStyle","DefaultNaturalLanguage","DefaultNewCellStyle","DefaultNewInlineCellStyle","DefaultNotebook","DefaultOptions","DefaultOutputFormatType","DefaultPrintPrecision","DefaultStyle","DefaultStyleDefinitions","DefaultTextFormatType","DefaultTextInlineFormatType","DefaultTicksStyle","DefaultTooltipStyle","DefaultValue","DefaultValues","Defer","DefineExternal","DefineInputStreamMethod","DefineOutputStreamMethod","DefineResourceFunction","Definition","Degree","DegreeCentrality","DegreeGraphDistribution","DegreeLexicographic","DegreeReverseLexicographic","DEigensystem","DEigenvalues","Deinitialization","Del","DelaunayMesh","Delayed","Deletable","Delete","DeleteAdjacentDuplicates","DeleteAnomalies","DeleteBorderComponents","DeleteCases","DeleteChannel","DeleteCloudExpression","DeleteContents","DeleteDirectory","DeleteDuplicates","DeleteDuplicatesBy","DeleteElements","DeleteFile","DeleteMissing","DeleteObject","DeletePermissionsKey","DeleteSearchIndex","DeleteSmallComponents","DeleteStopwords","DeleteWithContents","DeletionWarning","DelimitedArray","DelimitedSequence","Delimiter","DelimiterAutoMatching","DelimiterFlashTime","DelimiterMatching","Delimiters","DeliveryFunction","Dendrogram","Denominator","DensityGraphics","DensityHistogram","DensityPlot","DensityPlot3D","DependentVariables","Deploy","Deployed","Depth","DepthFirstScan","Derivative","DerivativeFilter","DerivativePDETerm","DerivedKey","DescriptorStateSpace","DesignMatrix","DestroyAfterEvaluation","Det","DeviceClose","DeviceConfigure","DeviceExecute","DeviceExecuteAsynchronous","DeviceObject","DeviceOpen","DeviceOpenQ","DeviceRead","DeviceReadBuffer","DeviceReadLatest","DeviceReadList","DeviceReadTimeSeries","Devices","DeviceStreams","DeviceWrite","DeviceWriteBuffer","DGaussianWavelet","DiacriticalPositioning","Diagonal","DiagonalizableMatrixQ","DiagonalMatrix","DiagonalMatrixQ","Dialog","DialogIndent","DialogInput","DialogLevel","DialogNotebook","DialogProlog","DialogReturn","DialogSymbols","Diamond","DiamondMatrix","DiceDissimilarity","DictionaryLookup","DictionaryWordQ","DifferenceDelta","DifferenceOrder","DifferenceQuotient","DifferenceRoot","DifferenceRootReduce","Differences","DifferentialD","DifferentialRoot","DifferentialRootReduce","DifferentiatorFilter","DiffusionPDETerm","DiggleGatesPointProcess","DiggleGrattonPointProcess","DigitalSignature","DigitBlock","DigitBlockMinimum","DigitCharacter","DigitCount","DigitQ","DihedralAngle","DihedralGroup","Dilation","DimensionalCombinations","DimensionalMeshComponents","DimensionReduce","DimensionReducerFunction","DimensionReduction","Dimensions","DiracComb","DiracDelta","DirectedEdge","DirectedEdges","DirectedGraph","DirectedGraphQ","DirectedInfinity","Direction","DirectionalLight","Directive","Directory","DirectoryName","DirectoryQ","DirectoryStack","DirichletBeta","DirichletCharacter","DirichletCondition","DirichletConvolve","DirichletDistribution","DirichletEta","DirichletL","DirichletLambda","DirichletTransform","DirichletWindow","DisableConsolePrintPacket","DisableFormatting","DiscreteAsymptotic","DiscreteChirpZTransform","DiscreteConvolve","DiscreteDelta","DiscreteHadamardTransform","DiscreteIndicator","DiscreteInputOutputModel","DiscreteLimit","DiscreteLQEstimatorGains","DiscreteLQRegulatorGains","DiscreteLyapunovSolve","DiscreteMarkovProcess","DiscreteMaxLimit","DiscreteMinLimit","DiscretePlot","DiscretePlot3D","DiscreteRatio","DiscreteRiccatiSolve","DiscreteShift","DiscreteTimeModelQ","DiscreteUniformDistribution","DiscreteVariables","DiscreteWaveletData","DiscreteWaveletPacketTransform","DiscreteWaveletTransform","DiscretizeGraphics","DiscretizeRegion","Discriminant","DisjointQ","Disjunction","Disk","DiskBox","DiskBoxOptions","DiskMatrix","DiskSegment","Dispatch","DispatchQ","DispersionEstimatorFunction","Display","DisplayAllSteps","DisplayEndPacket","DisplayForm","DisplayFunction","DisplayPacket","DisplayRules","DisplayString","DisplayTemporary","DisplayWith","DisplayWithRef","DisplayWithVariable","DistanceFunction","DistanceMatrix","DistanceTransform","Distribute","Distributed","DistributedContexts","DistributeDefinitions","DistributionChart","DistributionDomain","DistributionFitTest","DistributionParameterAssumptions","DistributionParameterQ","Dithering","Div","Divergence","Divide","DivideBy","Dividers","DivideSides","Divisible","Divisors","DivisorSigma","DivisorSum","DMSList","DMSString","Do","DockedCell","DockedCells","DocumentGenerator","DocumentGeneratorInformation","DocumentGeneratorInformationData","DocumentGenerators","DocumentNotebook","DocumentWeightingRules","Dodecahedron","DomainRegistrationInformation","DominantColors","DominatorTreeGraph","DominatorVertexList","DOSTextFormat","Dot","DotDashed","DotEqual","DotLayer","DotPlusLayer","Dotted","DoubleBracketingBar","DoubleContourIntegral","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DoublyInfinite","Down","DownArrow","DownArrowBar","DownArrowUpArrow","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","Downsample","DownTee","DownTeeArrow","DownValues","DownValuesFunction","DragAndDrop","DrawBackFaces","DrawEdges","DrawFrontFaces","DrawHighlighted","DrazinInverse","Drop","DropoutLayer","DropShadowing","DSolve","DSolveChangeVariables","DSolveValue","Dt","DualLinearProgramming","DualPlanarGraph","DualPolyhedron","DualSystemsModel","DumpGet","DumpSave","DuplicateFreeQ","Duration","Dynamic","DynamicBox","DynamicBoxOptions","DynamicEvaluationTimeout","DynamicGeoGraphics","DynamicImage","DynamicLocation","DynamicModule","DynamicModuleBox","DynamicModuleBoxOptions","DynamicModuleParent","DynamicModuleValues","DynamicName","DynamicNamespace","DynamicReference","DynamicSetting","DynamicUpdating","DynamicWrapper","DynamicWrapperBox","DynamicWrapperBoxOptions","E","EarthImpactData","EarthquakeData","EccentricityCentrality","Echo","EchoEvaluation","EchoFunction","EchoLabel","EchoTiming","EclipseType","EdgeAdd","EdgeBetweennessCentrality","EdgeCapacity","EdgeCapForm","EdgeChromaticNumber","EdgeColor","EdgeConnectivity","EdgeContract","EdgeCost","EdgeCount","EdgeCoverQ","EdgeCycleMatrix","EdgeDashing","EdgeDelete","EdgeDetect","EdgeForm","EdgeIndex","EdgeJoinForm","EdgeLabeling","EdgeLabels","EdgeLabelStyle","EdgeList","EdgeOpacity","EdgeQ","EdgeRenderingFunction","EdgeRules","EdgeShapeFunction","EdgeStyle","EdgeTaggedGraph","EdgeTaggedGraphQ","EdgeTags","EdgeThickness","EdgeTransitiveGraphQ","EdgeValueRange","EdgeValueSizes","EdgeWeight","EdgeWeightedGraphQ","Editable","EditButtonSettings","EditCellTagsSettings","EditDistance","EffectiveInterest","Eigensystem","Eigenvalues","EigenvectorCentrality","Eigenvectors","Element","ElementData","ElementwiseLayer","ElidedForms","Eliminate","EliminationOrder","Ellipsoid","EllipticE","EllipticExp","EllipticExpPrime","EllipticF","EllipticFilterModel","EllipticK","EllipticLog","EllipticNomeQ","EllipticPi","EllipticReducedHalfPeriods","EllipticTheta","EllipticThetaPrime","EmbedCode","EmbeddedHTML","EmbeddedService","EmbeddedSQLEntityClass","EmbeddedSQLExpression","EmbeddingLayer","EmbeddingObject","EmitSound","EmphasizeSyntaxErrors","EmpiricalDistribution","Empty","EmptyGraphQ","EmptyRegion","EmptySpaceF","EnableConsolePrintPacket","Enabled","Enclose","Encode","Encrypt","EncryptedObject","EncryptFile","End","EndAdd","EndDialogPacket","EndOfBuffer","EndOfFile","EndOfLine","EndOfString","EndPackage","EngineEnvironment","EngineeringForm","Enter","EnterExpressionPacket","EnterTextPacket","Entity","EntityClass","EntityClassList","EntityCopies","EntityFunction","EntityGroup","EntityInstance","EntityList","EntityPrefetch","EntityProperties","EntityProperty","EntityPropertyClass","EntityRegister","EntityStore","EntityStores","EntityTypeName","EntityUnregister","EntityValue","Entropy","EntropyFilter","Environment","Epilog","EpilogFunction","Equal","EqualColumns","EqualRows","EqualTilde","EqualTo","EquatedTo","Equilibrium","EquirippleFilterKernel","Equivalent","Erf","Erfc","Erfi","ErlangB","ErlangC","ErlangDistribution","Erosion","ErrorBox","ErrorBoxOptions","ErrorNorm","ErrorPacket","ErrorsDialogSettings","EscapeRadius","EstimatedBackground","EstimatedDistribution","EstimatedPointNormals","EstimatedPointProcess","EstimatedProcess","EstimatedVariogramModel","EstimatorGains","EstimatorRegulator","EuclideanDistance","EulerAngles","EulerCharacteristic","EulerE","EulerGamma","EulerianGraphQ","EulerMatrix","EulerPhi","Evaluatable","Evaluate","Evaluated","EvaluatePacket","EvaluateScheduledTask","EvaluationBox","EvaluationCell","EvaluationCompletionAction","EvaluationData","EvaluationElements","EvaluationEnvironment","EvaluationMode","EvaluationMonitor","EvaluationNotebook","EvaluationObject","EvaluationOrder","EvaluationPrivileges","EvaluationRateLimit","Evaluator","EvaluatorNames","EvenQ","EventData","EventEvaluator","EventHandler","EventHandlerTag","EventLabels","EventSeries","ExactBlackmanWindow","ExactNumberQ","ExactRootIsolation","ExampleData","Except","ExcludedContexts","ExcludedForms","ExcludedLines","ExcludedPhysicalQuantities","ExcludePods","Exclusions","ExclusionsStyle","Exists","Exit","ExitDialog","ExoplanetData","Exp","Expand","ExpandAll","ExpandDenominator","ExpandFileName","ExpandNumerator","Expectation","ExpectationE","ExpectedValue","ExpGammaDistribution","ExpIntegralE","ExpIntegralEi","ExpirationDate","Exponent","ExponentFunction","ExponentialDistribution","ExponentialFamily","ExponentialGeneratingFunction","ExponentialMovingAverage","ExponentialPowerDistribution","ExponentPosition","ExponentStep","Export","ExportAutoReplacements","ExportByteArray","ExportForm","ExportPacket","ExportString","Expression","ExpressionCell","ExpressionGraph","ExpressionPacket","ExpressionTree","ExpressionUUID","ExpToTrig","ExtendedEntityClass","ExtendedGCD","Extension","ExtentElementFunction","ExtentMarkers","ExtentSize","ExternalBundle","ExternalCall","ExternalDataCharacterEncoding","ExternalEvaluate","ExternalFunction","ExternalFunctionName","ExternalIdentifier","ExternalObject","ExternalOptions","ExternalSessionObject","ExternalSessions","ExternalStorageBase","ExternalStorageDownload","ExternalStorageGet","ExternalStorageObject","ExternalStoragePut","ExternalStorageUpload","ExternalTypeSignature","ExternalValue","Extract","ExtractArchive","ExtractLayer","ExtractPacletArchive","ExtremeValueDistribution","FaceAlign","FaceForm","FaceGrids","FaceGridsStyle","FaceRecognize","FacialFeatures","Factor","FactorComplete","Factorial","Factorial2","FactorialMoment","FactorialMomentGeneratingFunction","FactorialPower","FactorInteger","FactorList","FactorSquareFree","FactorSquareFreeList","FactorTerms","FactorTermsList","Fail","Failure","FailureAction","FailureDistribution","FailureQ","False","FareySequence","FARIMAProcess","FeatureDistance","FeatureExtract","FeatureExtraction","FeatureExtractor","FeatureExtractorFunction","FeatureImpactPlot","FeatureNames","FeatureNearest","FeatureSpacePlot","FeatureSpacePlot3D","FeatureTypes","FeatureValueDependencyPlot","FeatureValueImpactPlot","FEDisableConsolePrintPacket","FeedbackLinearize","FeedbackSector","FeedbackSectorStyle","FeedbackType","FEEnableConsolePrintPacket","FetalGrowthData","Fibonacci","Fibonorial","FieldCompletionFunction","FieldHint","FieldHintStyle","FieldMasked","FieldSize","File","FileBaseName","FileByteCount","FileConvert","FileDate","FileExistsQ","FileExtension","FileFormat","FileFormatProperties","FileFormatQ","FileHandler","FileHash","FileInformation","FileName","FileNameDepth","FileNameDialogSettings","FileNameDrop","FileNameForms","FileNameJoin","FileNames","FileNameSetter","FileNameSplit","FileNameTake","FileNameToFormatList","FilePrint","FileSize","FileSystemMap","FileSystemScan","FileSystemTree","FileTemplate","FileTemplateApply","FileType","FilledCurve","FilledCurveBox","FilledCurveBoxOptions","FilledTorus","FillForm","Filling","FillingStyle","FillingTransform","FilteredEntityClass","FilterRules","FinancialBond","FinancialData","FinancialDerivative","FinancialIndicator","Find","FindAnomalies","FindArgMax","FindArgMin","FindChannels","FindClique","FindClusters","FindCookies","FindCurvePath","FindCycle","FindDevices","FindDistribution","FindDistributionParameters","FindDivisions","FindEdgeColoring","FindEdgeCover","FindEdgeCut","FindEdgeIndependentPaths","FindEquationalProof","FindEulerianCycle","FindExternalEvaluators","FindFaces","FindFile","FindFit","FindFormula","FindFundamentalCycles","FindGeneratingFunction","FindGeoLocation","FindGeometricConjectures","FindGeometricTransform","FindGraphCommunities","FindGraphIsomorphism","FindGraphPartition","FindHamiltonianCycle","FindHamiltonianPath","FindHiddenMarkovStates","FindImageText","FindIndependentEdgeSet","FindIndependentVertexSet","FindInstance","FindIntegerNullVector","FindIsomers","FindIsomorphicSubgraph","FindKClan","FindKClique","FindKClub","FindKPlex","FindLibrary","FindLinearRecurrence","FindList","FindMatchingColor","FindMaximum","FindMaximumCut","FindMaximumFlow","FindMaxValue","FindMeshDefects","FindMinimum","FindMinimumCostFlow","FindMinimumCut","FindMinValue","FindMoleculeSubstructure","FindPath","FindPeaks","FindPermutation","FindPlanarColoring","FindPointProcessParameters","FindPostmanTour","FindProcessParameters","FindRegionTransform","FindRepeat","FindRoot","FindSequenceFunction","FindSettings","FindShortestPath","FindShortestTour","FindSpanningTree","FindSubgraphIsomorphism","FindSystemModelEquilibrium","FindTextualAnswer","FindThreshold","FindTransientRepeat","FindVertexColoring","FindVertexCover","FindVertexCut","FindVertexIndependentPaths","Fine","FinishDynamic","FiniteAbelianGroupCount","FiniteGroupCount","FiniteGroupData","First","FirstCase","FirstPassageTimeDistribution","FirstPosition","FischerGroupFi22","FischerGroupFi23","FischerGroupFi24Prime","FisherHypergeometricDistribution","FisherRatioTest","FisherZDistribution","Fit","FitAll","FitRegularization","FittedModel","FixedOrder","FixedPoint","FixedPointList","FlashSelection","Flat","FlatShading","Flatten","FlattenAt","FlattenLayer","FlatTopWindow","FlightData","FlipView","Floor","FlowPolynomial","Fold","FoldList","FoldPair","FoldPairList","FoldWhile","FoldWhileList","FollowRedirects","Font","FontColor","FontFamily","FontForm","FontName","FontOpacity","FontPostScriptName","FontProperties","FontReencoding","FontSize","FontSlant","FontSubstitutions","FontTracking","FontVariations","FontWeight","For","ForAll","ForAllType","ForceVersionInstall","Format","FormatRules","FormatType","FormatTypeAutoConvert","FormatValues","FormBox","FormBoxOptions","FormControl","FormFunction","FormLayoutFunction","FormObject","FormPage","FormProtectionMethod","FormTheme","FormulaData","FormulaLookup","FortranForm","Forward","ForwardBackward","ForwardCloudCredentials","Fourier","FourierCoefficient","FourierCosCoefficient","FourierCosSeries","FourierCosTransform","FourierDCT","FourierDCTFilter","FourierDCTMatrix","FourierDST","FourierDSTMatrix","FourierMatrix","FourierParameters","FourierSequenceTransform","FourierSeries","FourierSinCoefficient","FourierSinSeries","FourierSinTransform","FourierTransform","FourierTrigSeries","FoxH","FoxHReduce","FractionalBrownianMotionProcess","FractionalD","FractionalGaussianNoiseProcess","FractionalPart","FractionBox","FractionBoxOptions","FractionLine","Frame","FrameBox","FrameBoxOptions","Framed","FrameInset","FrameLabel","Frameless","FrameListVideo","FrameMargins","FrameRate","FrameStyle","FrameTicks","FrameTicksStyle","FRatioDistribution","FrechetDistribution","FreeQ","FrenetSerretSystem","FrequencySamplingFilterKernel","FresnelC","FresnelF","FresnelG","FresnelS","Friday","FrobeniusNumber","FrobeniusSolve","FromAbsoluteTime","FromCharacterCode","FromCoefficientRules","FromContinuedFraction","FromDate","FromDateString","FromDigits","FromDMS","FromEntity","FromJulianDate","FromLetterNumber","FromPolarCoordinates","FromRawPointer","FromRomanNumeral","FromSphericalCoordinates","FromUnixTime","Front","FrontEndDynamicExpression","FrontEndEventActions","FrontEndExecute","FrontEndObject","FrontEndResource","FrontEndResourceString","FrontEndStackSize","FrontEndToken","FrontEndTokenExecute","FrontEndValueCache","FrontEndVersion","FrontFaceColor","FrontFaceGlowColor","FrontFaceOpacity","FrontFaceSpecularColor","FrontFaceSpecularExponent","FrontFaceSurfaceAppearance","FrontFaceTexture","Full","FullAxes","FullDefinition","FullForm","FullGraphics","FullInformationOutputRegulator","FullOptions","FullRegion","FullSimplify","Function","FunctionAnalytic","FunctionBijective","FunctionCompile","FunctionCompileExport","FunctionCompileExportByteArray","FunctionCompileExportLibrary","FunctionCompileExportString","FunctionContinuous","FunctionConvexity","FunctionDeclaration","FunctionDiscontinuities","FunctionDomain","FunctionExpand","FunctionInjective","FunctionInterpolation","FunctionLayer","FunctionMeromorphic","FunctionMonotonicity","FunctionPeriod","FunctionPoles","FunctionRange","FunctionSign","FunctionSingularities","FunctionSpace","FunctionSurjective","FussellVeselyImportance","GaborFilter","GaborMatrix","GaborWavelet","GainMargins","GainPhaseMargins","GalaxyData","GalleryView","Gamma","GammaDistribution","GammaRegularized","GapPenalty","GARCHProcess","GatedRecurrentLayer","Gather","GatherBy","GaugeFaceElementFunction","GaugeFaceStyle","GaugeFrameElementFunction","GaugeFrameSize","GaugeFrameStyle","GaugeLabels","GaugeMarkers","GaugeStyle","GaussianFilter","GaussianIntegers","GaussianMatrix","GaussianOrthogonalMatrixDistribution","GaussianSymplecticMatrixDistribution","GaussianUnitaryMatrixDistribution","GaussianWindow","GCD","GegenbauerC","General","GeneralizedLinearModelFit","GenerateAsymmetricKeyPair","GenerateConditions","GeneratedAssetFormat","GeneratedAssetLocation","GeneratedCell","GeneratedCellStyles","GeneratedDocumentBinding","GenerateDerivedKey","GenerateDigitalSignature","GenerateDocument","GeneratedParameters","GeneratedQuantityMagnitudes","GenerateFileSignature","GenerateHTTPResponse","GenerateSecuredAuthenticationKey","GenerateSymmetricKey","GeneratingFunction","GeneratorDescription","GeneratorHistoryLength","GeneratorOutputType","Generic","GenericCylindricalDecomposition","GenomeData","GenomeLookup","GeoAntipode","GeoArea","GeoArraySize","GeoBackground","GeoBoundary","GeoBoundingBox","GeoBounds","GeoBoundsRegion","GeoBoundsRegionBoundary","GeoBubbleChart","GeoCenter","GeoCircle","GeoContourPlot","GeoDensityPlot","GeodesicClosing","GeodesicDilation","GeodesicErosion","GeodesicOpening","GeodesicPolyhedron","GeoDestination","GeodesyData","GeoDirection","GeoDisk","GeoDisplacement","GeoDistance","GeoDistanceList","GeoElevationData","GeoEntities","GeoGraphics","GeoGraphPlot","GeoGraphValuePlot","GeogravityModelData","GeoGridDirectionDifference","GeoGridLines","GeoGridLinesStyle","GeoGridPosition","GeoGridRange","GeoGridRangePadding","GeoGridUnitArea","GeoGridUnitDistance","GeoGridVector","GeoGroup","GeoHemisphere","GeoHemisphereBoundary","GeoHistogram","GeoIdentify","GeoImage","GeoLabels","GeoLength","GeoListPlot","GeoLocation","GeologicalPeriodData","GeomagneticModelData","GeoMarker","GeometricAssertion","GeometricBrownianMotionProcess","GeometricDistribution","GeometricMean","GeometricMeanFilter","GeometricOptimization","GeometricScene","GeometricStep","GeometricStylingRules","GeometricTest","GeometricTransformation","GeometricTransformation3DBox","GeometricTransformation3DBoxOptions","GeometricTransformationBox","GeometricTransformationBoxOptions","GeoModel","GeoNearest","GeoOrientationData","GeoPath","GeoPolygon","GeoPosition","GeoPositionENU","GeoPositionXYZ","GeoProjection","GeoProjectionData","GeoRange","GeoRangePadding","GeoRegionValuePlot","GeoResolution","GeoScaleBar","GeoServer","GeoSmoothHistogram","GeoStreamPlot","GeoStyling","GeoStylingImageFunction","GeoVariant","GeoVector","GeoVectorENU","GeoVectorPlot","GeoVectorXYZ","GeoVisibleRegion","GeoVisibleRegionBoundary","GeoWithinQ","GeoZoomLevel","GestureHandler","GestureHandlerTag","Get","GetContext","GetEnvironment","GetFileName","GetLinebreakInformationPacket","GibbsPointProcess","Glaisher","GlobalClusteringCoefficient","GlobalPreferences","GlobalSession","Glow","GoldenAngle","GoldenRatio","GompertzMakehamDistribution","GoochShading","GoodmanKruskalGamma","GoodmanKruskalGammaTest","Goto","GouraudShading","Grad","Gradient","GradientFilter","GradientFittedMesh","GradientOrientationFilter","GrammarApply","GrammarRules","GrammarToken","Graph","Graph3D","GraphAssortativity","GraphAutomorphismGroup","GraphCenter","GraphComplement","GraphData","GraphDensity","GraphDiameter","GraphDifference","GraphDisjointUnion","GraphDistance","GraphDistanceMatrix","GraphEmbedding","GraphHighlight","GraphHighlightStyle","GraphHub","Graphics","Graphics3D","Graphics3DBox","Graphics3DBoxOptions","GraphicsArray","GraphicsBaseline","GraphicsBox","GraphicsBoxOptions","GraphicsColor","GraphicsColumn","GraphicsComplex","GraphicsComplex3DBox","GraphicsComplex3DBoxOptions","GraphicsComplexBox","GraphicsComplexBoxOptions","GraphicsContents","GraphicsData","GraphicsGrid","GraphicsGridBox","GraphicsGroup","GraphicsGroup3DBox","GraphicsGroup3DBoxOptions","GraphicsGroupBox","GraphicsGroupBoxOptions","GraphicsGrouping","GraphicsHighlightColor","GraphicsRow","GraphicsSpacing","GraphicsStyle","GraphIntersection","GraphJoin","GraphLayerLabels","GraphLayers","GraphLayerStyle","GraphLayout","GraphLinkEfficiency","GraphPeriphery","GraphPlot","GraphPlot3D","GraphPower","GraphProduct","GraphPropertyDistribution","GraphQ","GraphRadius","GraphReciprocity","GraphRoot","GraphStyle","GraphSum","GraphTree","GraphUnion","Gray","GrayLevel","Greater","GreaterEqual","GreaterEqualLess","GreaterEqualThan","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterThan","GreaterTilde","GreekStyle","Green","GreenFunction","Grid","GridBaseline","GridBox","GridBoxAlignment","GridBoxBackground","GridBoxDividers","GridBoxFrame","GridBoxItemSize","GridBoxItemStyle","GridBoxOptions","GridBoxSpacings","GridCreationSettings","GridDefaultElement","GridElementStyleOptions","GridFrame","GridFrameMargins","GridGraph","GridLines","GridLinesStyle","GridVideo","GroebnerBasis","GroupActionBase","GroupBy","GroupCentralizer","GroupElementFromWord","GroupElementPosition","GroupElementQ","GroupElements","GroupElementToWord","GroupGenerators","Groupings","GroupMultiplicationTable","GroupOpenerColor","GroupOpenerInsideFrame","GroupOrbits","GroupOrder","GroupPageBreakWithin","GroupSetwiseStabilizer","GroupStabilizer","GroupStabilizerChain","GroupTogetherGrouping","GroupTogetherNestedGrouping","GrowCutComponents","Gudermannian","GuidedFilter","GumbelDistribution","HaarWavelet","HadamardMatrix","HalfLine","HalfNormalDistribution","HalfPlane","HalfSpace","HalftoneShading","HamiltonianGraphQ","HammingDistance","HammingWindow","HandlerFunctions","HandlerFunctionsKeys","HankelH1","HankelH2","HankelMatrix","HankelTransform","HannPoissonWindow","HannWindow","HaradaNortonGroupHN","HararyGraph","HardcorePointProcess","HarmonicMean","HarmonicMeanFilter","HarmonicNumber","Hash","HatchFilling","HatchShading","Haversine","HazardFunction","Head","HeadCompose","HeaderAlignment","HeaderBackground","HeaderDisplayFunction","HeaderLines","Headers","HeaderSize","HeaderStyle","Heads","HeatFluxValue","HeatInsulationValue","HeatOutflowValue","HeatRadiationValue","HeatSymmetryValue","HeatTemperatureCondition","HeatTransferPDEComponent","HeatTransferValue","HeavisideLambda","HeavisidePi","HeavisideTheta","HeldGroupHe","HeldPart","HelmholtzPDEComponent","HelpBrowserLookup","HelpBrowserNotebook","HelpBrowserSettings","HelpViewerSettings","Here","HermiteDecomposition","HermiteH","Hermitian","HermitianMatrixQ","HessenbergDecomposition","Hessian","HeunB","HeunBPrime","HeunC","HeunCPrime","HeunD","HeunDPrime","HeunG","HeunGPrime","HeunT","HeunTPrime","HexadecimalCharacter","Hexahedron","HexahedronBox","HexahedronBoxOptions","HiddenItems","HiddenMarkovProcess","HiddenSurface","Highlighted","HighlightGraph","HighlightImage","HighlightMesh","HighlightString","HighpassFilter","HigmanSimsGroupHS","HilbertCurve","HilbertFilter","HilbertMatrix","Histogram","Histogram3D","HistogramDistribution","HistogramList","HistogramPointDensity","HistogramTransform","HistogramTransformInterpolation","HistoricalPeriodData","HitMissTransform","HITSCentrality","HjorthDistribution","HodgeDual","HoeffdingD","HoeffdingDTest","Hold","HoldAll","HoldAllComplete","HoldComplete","HoldFirst","HoldForm","HoldPattern","HoldRest","HolidayCalendar","HomeDirectory","HomePage","Horizontal","HorizontalForm","HorizontalGauge","HorizontalScrollPosition","HornerForm","HostLookup","HotellingTSquareDistribution","HoytDistribution","HTMLSave","HTTPErrorResponse","HTTPRedirect","HTTPRequest","HTTPRequestData","HTTPResponse","Hue","HumanGrowthData","HumpDownHump","HumpEqual","HurwitzLerchPhi","HurwitzZeta","HyperbolicDistribution","HypercubeGraph","HyperexponentialDistribution","Hyperfactorial","Hypergeometric0F1","Hypergeometric0F1Regularized","Hypergeometric1F1","Hypergeometric1F1Regularized","Hypergeometric2F1","Hypergeometric2F1Regularized","HypergeometricDistribution","HypergeometricPFQ","HypergeometricPFQRegularized","HypergeometricU","Hyperlink","HyperlinkAction","HyperlinkCreationSettings","Hyperplane","Hyphenation","HyphenationOptions","HypoexponentialDistribution","HypothesisTestData","I","IconData","Iconize","IconizedObject","IconRules","Icosahedron","Identity","IdentityMatrix","If","IfCompiled","IgnoreCase","IgnoreDiacritics","IgnoreIsotopes","IgnorePunctuation","IgnoreSpellCheck","IgnoreStereochemistry","IgnoringInactive","Im","Image","Image3D","Image3DProjection","Image3DSlices","ImageAccumulate","ImageAdd","ImageAdjust","ImageAlign","ImageApply","ImageApplyIndexed","ImageAspectRatio","ImageAssemble","ImageAugmentationLayer","ImageBoundingBoxes","ImageCache","ImageCacheValid","ImageCapture","ImageCaptureFunction","ImageCases","ImageChannels","ImageClip","ImageCollage","ImageColorSpace","ImageCompose","ImageContainsQ","ImageContents","ImageConvolve","ImageCooccurrence","ImageCorners","ImageCorrelate","ImageCorrespondingPoints","ImageCrop","ImageData","ImageDeconvolve","ImageDemosaic","ImageDifference","ImageDimensions","ImageDisplacements","ImageDistance","ImageEditMode","ImageEffect","ImageExposureCombine","ImageFeatureTrack","ImageFileApply","ImageFileFilter","ImageFileScan","ImageFilter","ImageFocusCombine","ImageForestingComponents","ImageFormattingWidth","ImageForwardTransformation","ImageGraphics","ImageHistogram","ImageIdentify","ImageInstanceQ","ImageKeypoints","ImageLabels","ImageLegends","ImageLevels","ImageLines","ImageMargins","ImageMarker","ImageMarkers","ImageMeasurements","ImageMesh","ImageMultiply","ImageOffset","ImagePad","ImagePadding","ImagePartition","ImagePeriodogram","ImagePerspectiveTransformation","ImagePosition","ImagePreviewFunction","ImagePyramid","ImagePyramidApply","ImageQ","ImageRangeCache","ImageRecolor","ImageReflect","ImageRegion","ImageResize","ImageResolution","ImageRestyle","ImageRotate","ImageRotated","ImageSaliencyFilter","ImageScaled","ImageScan","ImageSize","ImageSizeAction","ImageSizeCache","ImageSizeMultipliers","ImageSizeRaw","ImageStitch","ImageSubtract","ImageTake","ImageTransformation","ImageTrim","ImageType","ImageValue","ImageValuePositions","ImageVectorscopePlot","ImageWaveformPlot","ImagingDevice","ImplicitD","ImplicitRegion","Implies","Import","ImportAutoReplacements","ImportByteArray","ImportedObject","ImportOptions","ImportString","ImprovementImportance","In","Inactivate","Inactive","InactiveStyle","IncidenceGraph","IncidenceList","IncidenceMatrix","IncludeAromaticBonds","IncludeConstantBasis","IncludedContexts","IncludeDefinitions","IncludeDirectories","IncludeFileExtension","IncludeGeneratorTasks","IncludeHydrogens","IncludeInflections","IncludeMetaInformation","IncludePods","IncludeQuantities","IncludeRelatedTables","IncludeSingularSolutions","IncludeSingularTerm","IncludeWindowTimes","Increment","IndefiniteMatrixQ","Indent","IndentingNewlineSpacings","IndentMaxFraction","IndependenceTest","IndependentEdgeSetQ","IndependentPhysicalQuantity","IndependentUnit","IndependentUnitDimension","IndependentVertexSetQ","Indeterminate","IndeterminateThreshold","IndexCreationOptions","Indexed","IndexEdgeTaggedGraph","IndexGraph","IndexTag","Inequality","InertEvaluate","InertExpression","InexactNumberQ","InexactNumbers","InfiniteFuture","InfiniteLine","InfiniteLineThrough","InfinitePast","InfinitePlane","Infinity","Infix","InflationAdjust","InflationMethod","Information","InformationData","InformationDataGrid","Inherited","InheritScope","InhomogeneousPoissonPointProcess","InhomogeneousPoissonProcess","InitialEvaluationHistory","Initialization","InitializationCell","InitializationCellEvaluation","InitializationCellWarning","InitializationObject","InitializationObjects","InitializationValue","Initialize","InitialSeeding","InlineCounterAssignments","InlineCounterIncrements","InlineRules","Inner","InnerPolygon","InnerPolyhedron","Inpaint","Input","InputAliases","InputAssumptions","InputAutoReplacements","InputField","InputFieldBox","InputFieldBoxOptions","InputForm","InputGrouping","InputNamePacket","InputNotebook","InputPacket","InputPorts","InputSettings","InputStream","InputString","InputStringPacket","InputToBoxFormPacket","Insert","InsertionFunction","InsertionPointObject","InsertLinebreaks","InsertResults","Inset","Inset3DBox","Inset3DBoxOptions","InsetBox","InsetBoxOptions","Insphere","Install","InstallService","InstanceNormalizationLayer","InString","Integer","IntegerDigits","IntegerExponent","IntegerLength","IntegerName","IntegerPart","IntegerPartitions","IntegerQ","IntegerReverse","Integers","IntegerString","Integral","Integrate","IntegrateChangeVariables","Interactive","InteractiveTradingChart","InterfaceSwitched","Interlaced","Interleaving","InternallyBalancedDecomposition","InterpolatingFunction","InterpolatingPolynomial","Interpolation","InterpolationOrder","InterpolationPoints","InterpolationPrecision","Interpretation","InterpretationBox","InterpretationBoxOptions","InterpretationFunction","Interpreter","InterpretTemplate","InterquartileRange","Interrupt","InterruptSettings","IntersectedEntityClass","IntersectingQ","Intersection","Interval","IntervalIntersection","IntervalMarkers","IntervalMarkersStyle","IntervalMemberQ","IntervalSlider","IntervalUnion","Into","Inverse","InverseBetaRegularized","InverseBilateralLaplaceTransform","InverseBilateralZTransform","InverseCDF","InverseChiSquareDistribution","InverseContinuousWaveletTransform","InverseDistanceTransform","InverseEllipticNomeQ","InverseErf","InverseErfc","InverseFourier","InverseFourierCosTransform","InverseFourierSequenceTransform","InverseFourierSinTransform","InverseFourierTransform","InverseFunction","InverseFunctions","InverseGammaDistribution","InverseGammaRegularized","InverseGaussianDistribution","InverseGudermannian","InverseHankelTransform","InverseHaversine","InverseImagePyramid","InverseJacobiCD","InverseJacobiCN","InverseJacobiCS","InverseJacobiDC","InverseJacobiDN","InverseJacobiDS","InverseJacobiNC","InverseJacobiND","InverseJacobiNS","InverseJacobiSC","InverseJacobiSD","InverseJacobiSN","InverseLaplaceTransform","InverseMellinTransform","InversePermutation","InverseRadon","InverseRadonTransform","InverseSeries","InverseShortTimeFourier","InverseSpectrogram","InverseSurvivalFunction","InverseTransformedRegion","InverseWaveletTransform","InverseWeierstrassP","InverseWishartMatrixDistribution","InverseZTransform","Invisible","InvisibleApplication","InvisibleTimes","IPAddress","IrreduciblePolynomialQ","IslandData","IsolatingInterval","IsomorphicGraphQ","IsomorphicSubgraphQ","IsotopeData","Italic","Item","ItemAspectRatio","ItemBox","ItemBoxOptions","ItemDisplayFunction","ItemSize","ItemStyle","ItoProcess","JaccardDissimilarity","JacobiAmplitude","Jacobian","JacobiCD","JacobiCN","JacobiCS","JacobiDC","JacobiDN","JacobiDS","JacobiEpsilon","JacobiNC","JacobiND","JacobiNS","JacobiP","JacobiSC","JacobiSD","JacobiSN","JacobiSymbol","JacobiZeta","JacobiZN","JankoGroupJ1","JankoGroupJ2","JankoGroupJ3","JankoGroupJ4","JarqueBeraALMTest","JohnsonDistribution","Join","JoinAcross","Joined","JoinedCurve","JoinedCurveBox","JoinedCurveBoxOptions","JoinForm","JordanDecomposition","JordanModelDecomposition","JulianDate","JuliaSetBoettcher","JuliaSetIterationCount","JuliaSetPlot","JuliaSetPoints","K","KagiChart","KaiserBesselWindow","KaiserWindow","KalmanEstimator","KalmanFilter","KarhunenLoeveDecomposition","KaryTree","KatzCentrality","KCoreComponents","KDistribution","KEdgeConnectedComponents","KEdgeConnectedGraphQ","KeepExistingVersion","KelvinBei","KelvinBer","KelvinKei","KelvinKer","KendallTau","KendallTauTest","KernelConfiguration","KernelExecute","KernelFunction","KernelMixtureDistribution","KernelObject","Kernels","Ket","Key","KeyCollisionFunction","KeyComplement","KeyDrop","KeyDropFrom","KeyExistsQ","KeyFreeQ","KeyIntersection","KeyMap","KeyMemberQ","KeypointStrength","Keys","KeySelect","KeySort","KeySortBy","KeyTake","KeyUnion","KeyValueMap","KeyValuePattern","Khinchin","KillProcess","KirchhoffGraph","KirchhoffMatrix","KleinInvariantJ","KnapsackSolve","KnightTourGraph","KnotData","KnownUnitQ","KochCurve","KolmogorovSmirnovTest","KroneckerDelta","KroneckerModelDecomposition","KroneckerProduct","KroneckerSymbol","KuiperTest","KumaraswamyDistribution","Kurtosis","KuwaharaFilter","KVertexConnectedComponents","KVertexConnectedGraphQ","LABColor","Label","Labeled","LabeledSlider","LabelingFunction","LabelingSize","LabelStyle","LabelVisibility","LaguerreL","LakeData","LambdaComponents","LambertW","LameC","LameCPrime","LameEigenvalueA","LameEigenvalueB","LameS","LameSPrime","LaminaData","LanczosWindow","LandauDistribution","Language","LanguageCategory","LanguageData","LanguageIdentify","LanguageOptions","LaplaceDistribution","LaplaceTransform","Laplacian","LaplacianFilter","LaplacianGaussianFilter","LaplacianPDETerm","Large","Larger","Last","Latitude","LatitudeLongitude","LatticeData","LatticeReduce","Launch","LaunchKernels","LayeredGraphPlot","LayeredGraphPlot3D","LayerSizeFunction","LayoutInformation","LCHColor","LCM","LeaderSize","LeafCount","LeapVariant","LeapYearQ","LearnDistribution","LearnedDistribution","LearningRate","LearningRateMultipliers","LeastSquares","LeastSquaresFilterKernel","Left","LeftArrow","LeftArrowBar","LeftArrowRightArrow","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftRightArrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","LegendAppearance","Legended","LegendFunction","LegendLabel","LegendLayout","LegendMargins","LegendMarkers","LegendMarkerSize","LegendreP","LegendreQ","LegendreType","Length","LengthWhile","LerchPhi","Less","LessEqual","LessEqualGreater","LessEqualThan","LessFullEqual","LessGreater","LessLess","LessSlantEqual","LessThan","LessTilde","LetterCharacter","LetterCounts","LetterNumber","LetterQ","Level","LeveneTest","LeviCivitaTensor","LevyDistribution","Lexicographic","LexicographicOrder","LexicographicSort","LibraryDataType","LibraryFunction","LibraryFunctionDeclaration","LibraryFunctionError","LibraryFunctionInformation","LibraryFunctionLoad","LibraryFunctionUnload","LibraryLoad","LibraryUnload","LicenseEntitlementObject","LicenseEntitlements","LicenseID","LicensingSettings","LiftingFilterData","LiftingWaveletTransform","LightBlue","LightBrown","LightCyan","Lighter","LightGray","LightGreen","Lighting","LightingAngle","LightMagenta","LightOrange","LightPink","LightPurple","LightRed","LightSources","LightYellow","Likelihood","Limit","LimitsPositioning","LimitsPositioningTokens","LindleyDistribution","Line","Line3DBox","Line3DBoxOptions","LinearFilter","LinearFractionalOptimization","LinearFractionalTransform","LinearGradientFilling","LinearGradientImage","LinearizingTransformationData","LinearLayer","LinearModelFit","LinearOffsetFunction","LinearOptimization","LinearProgramming","LinearRecurrence","LinearSolve","LinearSolveFunction","LineBox","LineBoxOptions","LineBreak","LinebreakAdjustments","LineBreakChart","LinebreakSemicolonWeighting","LineBreakWithin","LineColor","LineGraph","LineIndent","LineIndentMaxFraction","LineIntegralConvolutionPlot","LineIntegralConvolutionScale","LineLegend","LineOpacity","LineSpacing","LineWrapParts","LinkActivate","LinkClose","LinkConnect","LinkConnectedQ","LinkCreate","LinkError","LinkFlush","LinkFunction","LinkHost","LinkInterrupt","LinkLaunch","LinkMode","LinkObject","LinkOpen","LinkOptions","LinkPatterns","LinkProtocol","LinkRankCentrality","LinkRead","LinkReadHeld","LinkReadyQ","Links","LinkService","LinkWrite","LinkWriteHeld","LiouvilleLambda","List","Listable","ListAnimate","ListContourPlot","ListContourPlot3D","ListConvolve","ListCorrelate","ListCurvePathPlot","ListDeconvolve","ListDensityPlot","ListDensityPlot3D","Listen","ListFormat","ListFourierSequenceTransform","ListInterpolation","ListLineIntegralConvolutionPlot","ListLinePlot","ListLinePlot3D","ListLogLinearPlot","ListLogLogPlot","ListLogPlot","ListPicker","ListPickerBox","ListPickerBoxBackground","ListPickerBoxOptions","ListPlay","ListPlot","ListPlot3D","ListPointPlot3D","ListPolarPlot","ListQ","ListSliceContourPlot3D","ListSliceDensityPlot3D","ListSliceVectorPlot3D","ListStepPlot","ListStreamDensityPlot","ListStreamPlot","ListStreamPlot3D","ListSurfacePlot3D","ListVectorDensityPlot","ListVectorDisplacementPlot","ListVectorDisplacementPlot3D","ListVectorPlot","ListVectorPlot3D","ListZTransform","Literal","LiteralSearch","LiteralType","LoadCompiledComponent","LocalAdaptiveBinarize","LocalCache","LocalClusteringCoefficient","LocalEvaluate","LocalizeDefinitions","LocalizeVariables","LocalObject","LocalObjects","LocalResponseNormalizationLayer","LocalSubmit","LocalSymbol","LocalTime","LocalTimeZone","LocationEquivalenceTest","LocationTest","Locator","LocatorAutoCreate","LocatorBox","LocatorBoxOptions","LocatorCentering","LocatorPane","LocatorPaneBox","LocatorPaneBoxOptions","LocatorRegion","Locked","Log","Log10","Log2","LogBarnesG","LogGamma","LogGammaDistribution","LogicalExpand","LogIntegral","LogisticDistribution","LogisticSigmoid","LogitModelFit","LogLikelihood","LogLinearPlot","LogLogisticDistribution","LogLogPlot","LogMultinormalDistribution","LogNormalDistribution","LogPlot","LogRankTest","LogSeriesDistribution","LongEqual","Longest","LongestCommonSequence","LongestCommonSequencePositions","LongestCommonSubsequence","LongestCommonSubsequencePositions","LongestMatch","LongestOrderedSequence","LongForm","Longitude","LongLeftArrow","LongLeftRightArrow","LongRightArrow","LongShortTermMemoryLayer","Lookup","Loopback","LoopFreeGraphQ","Looping","LossFunction","LowerCaseQ","LowerLeftArrow","LowerRightArrow","LowerTriangularize","LowerTriangularMatrix","LowerTriangularMatrixQ","LowpassFilter","LQEstimatorGains","LQGRegulator","LQOutputRegulatorGains","LQRegulatorGains","LUBackSubstitution","LucasL","LuccioSamiComponents","LUDecomposition","LunarEclipse","LUVColor","LyapunovSolve","LyonsGroupLy","MachineID","MachineName","MachineNumberQ","MachinePrecision","MacintoshSystemPageSetup","Magenta","Magnification","Magnify","MailAddressValidation","MailExecute","MailFolder","MailItem","MailReceiverFunction","MailResponseFunction","MailSearch","MailServerConnect","MailServerConnection","MailSettings","MainSolve","MaintainDynamicCaches","Majority","MakeBoxes","MakeExpression","MakeRules","ManagedLibraryExpressionID","ManagedLibraryExpressionQ","MandelbrotSetBoettcher","MandelbrotSetDistance","MandelbrotSetIterationCount","MandelbrotSetMemberQ","MandelbrotSetPlot","MangoldtLambda","ManhattanDistance","Manipulate","Manipulator","MannedSpaceMissionData","MannWhitneyTest","MantissaExponent","Manual","Map","MapAll","MapApply","MapAt","MapIndexed","MAProcess","MapThread","MarchenkoPasturDistribution","MarcumQ","MardiaCombinedTest","MardiaKurtosisTest","MardiaSkewnessTest","MarginalDistribution","MarkovProcessProperties","Masking","MassConcentrationCondition","MassFluxValue","MassImpermeableBoundaryValue","MassOutflowValue","MassSymmetryValue","MassTransferValue","MassTransportPDEComponent","MatchingDissimilarity","MatchLocalNameQ","MatchLocalNames","MatchQ","Material","MaterialShading","MaternPointProcess","MathematicalFunctionData","MathematicaNotation","MathieuC","MathieuCharacteristicA","MathieuCharacteristicB","MathieuCharacteristicExponent","MathieuCPrime","MathieuGroupM11","MathieuGroupM12","MathieuGroupM22","MathieuGroupM23","MathieuGroupM24","MathieuS","MathieuSPrime","MathMLForm","MathMLText","Matrices","MatrixExp","MatrixForm","MatrixFunction","MatrixLog","MatrixNormalDistribution","MatrixPlot","MatrixPower","MatrixPropertyDistribution","MatrixQ","MatrixRank","MatrixTDistribution","Max","MaxBend","MaxCellMeasure","MaxColorDistance","MaxDate","MaxDetect","MaxDisplayedChildren","MaxDuration","MaxExtraBandwidths","MaxExtraConditions","MaxFeatureDisplacement","MaxFeatures","MaxFilter","MaximalBy","Maximize","MaxItems","MaxIterations","MaxLimit","MaxMemoryUsed","MaxMixtureKernels","MaxOverlapFraction","MaxPlotPoints","MaxPoints","MaxRecursion","MaxStableDistribution","MaxStepFraction","MaxSteps","MaxStepSize","MaxTrainingRounds","MaxValue","MaxwellDistribution","MaxWordGap","McLaughlinGroupMcL","Mean","MeanAbsoluteLossLayer","MeanAround","MeanClusteringCoefficient","MeanDegreeConnectivity","MeanDeviation","MeanFilter","MeanGraphDistance","MeanNeighborDegree","MeanPointDensity","MeanShift","MeanShiftFilter","MeanSquaredLossLayer","Median","MedianDeviation","MedianFilter","MedicalTestData","Medium","MeijerG","MeijerGReduce","MeixnerDistribution","MellinConvolve","MellinTransform","MemberQ","MemoryAvailable","MemoryConstrained","MemoryConstraint","MemoryInUse","MengerMesh","Menu","MenuAppearance","MenuCommandKey","MenuEvaluator","MenuItem","MenuList","MenuPacket","MenuSortingValue","MenuStyle","MenuView","Merge","MergeDifferences","MergingFunction","MersennePrimeExponent","MersennePrimeExponentQ","Mesh","MeshCellCentroid","MeshCellCount","MeshCellHighlight","MeshCellIndex","MeshCellLabel","MeshCellMarker","MeshCellMeasure","MeshCellQuality","MeshCells","MeshCellShapeFunction","MeshCellStyle","MeshConnectivityGraph","MeshCoordinates","MeshFunctions","MeshPrimitives","MeshQualityGoal","MeshRange","MeshRefinementFunction","MeshRegion","MeshRegionQ","MeshShading","MeshStyle","Message","MessageDialog","MessageList","MessageName","MessageObject","MessageOptions","MessagePacket","Messages","MessagesNotebook","MetaCharacters","MetaInformation","MeteorShowerData","Method","MethodOptions","MexicanHatWavelet","MeyerWavelet","Midpoint","MIMETypeToFormatList","Min","MinColorDistance","MinDate","MinDetect","MineralData","MinFilter","MinimalBy","MinimalPolynomial","MinimalStateSpaceModel","Minimize","MinimumTimeIncrement","MinIntervalSize","MinkowskiQuestionMark","MinLimit","MinMax","MinorPlanetData","Minors","MinPointSeparation","MinRecursion","MinSize","MinStableDistribution","Minus","MinusPlus","MinValue","Missing","MissingBehavior","MissingDataMethod","MissingDataRules","MissingQ","MissingString","MissingStyle","MissingValuePattern","MissingValueSynthesis","MittagLefflerE","MixedFractionParts","MixedGraphQ","MixedMagnitude","MixedRadix","MixedRadixQuantity","MixedUnit","MixtureDistribution","Mod","Modal","Mode","ModelPredictiveController","Modular","ModularInverse","ModularLambda","Module","Modulus","MoebiusMu","Molecule","MoleculeAlign","MoleculeContainsQ","MoleculeDraw","MoleculeEquivalentQ","MoleculeFreeQ","MoleculeGraph","MoleculeMatchQ","MoleculeMaximumCommonSubstructure","MoleculeModify","MoleculeName","MoleculePattern","MoleculePlot","MoleculePlot3D","MoleculeProperty","MoleculeQ","MoleculeRecognize","MoleculeSubstructureCount","MoleculeValue","Moment","MomentConvert","MomentEvaluate","MomentGeneratingFunction","MomentOfInertia","Monday","Monitor","MonomialList","MonomialOrder","MonsterGroupM","MoonPhase","MoonPosition","MorletWavelet","MorphologicalBinarize","MorphologicalBranchPoints","MorphologicalComponents","MorphologicalEulerNumber","MorphologicalGraph","MorphologicalPerimeter","MorphologicalTransform","MortalityData","Most","MountainData","MouseAnnotation","MouseAppearance","MouseAppearanceTag","MouseButtons","Mouseover","MousePointerNote","MousePosition","MovieData","MovingAverage","MovingMap","MovingMedian","MoyalDistribution","MultiaxisArrangement","Multicolumn","MultiedgeStyle","MultigraphQ","MultilaunchWarning","MultiLetterItalics","MultiLetterStyle","MultilineFunction","Multinomial","MultinomialDistribution","MultinormalDistribution","MultiplicativeOrder","Multiplicity","MultiplySides","MultiscriptBoxOptions","Multiselection","MultivariateHypergeometricDistribution","MultivariatePoissonDistribution","MultivariateTDistribution","N","NakagamiDistribution","NameQ","Names","NamespaceBox","NamespaceBoxOptions","Nand","NArgMax","NArgMin","NBernoulliB","NBodySimulation","NBodySimulationData","NCache","NCaputoD","NDEigensystem","NDEigenvalues","NDSolve","NDSolveValue","Nearest","NearestFunction","NearestMeshCells","NearestNeighborG","NearestNeighborGraph","NearestTo","NebulaData","NeedlemanWunschSimilarity","Needs","Negative","NegativeBinomialDistribution","NegativeDefiniteMatrixQ","NegativeIntegers","NegativelyOrientedPoints","NegativeMultinomialDistribution","NegativeRationals","NegativeReals","NegativeSemidefiniteMatrixQ","NeighborhoodData","NeighborhoodGraph","Nest","NestedGreaterGreater","NestedLessLess","NestedScriptRules","NestGraph","NestList","NestTree","NestWhile","NestWhileList","NetAppend","NetArray","NetArrayLayer","NetBidirectionalOperator","NetChain","NetDecoder","NetDelete","NetDrop","NetEncoder","NetEvaluationMode","NetExternalObject","NetExtract","NetFlatten","NetFoldOperator","NetGANOperator","NetGraph","NetInformation","NetInitialize","NetInsert","NetInsertSharedArrays","NetJoin","NetMapOperator","NetMapThreadOperator","NetMeasurements","NetModel","NetNestOperator","NetPairEmbeddingOperator","NetPort","NetPortGradient","NetPrepend","NetRename","NetReplace","NetReplacePart","NetSharedArray","NetStateObject","NetTake","NetTrain","NetTrainResultsObject","NetUnfold","NetworkPacketCapture","NetworkPacketRecording","NetworkPacketRecordingDuring","NetworkPacketTrace","NeumannValue","NevilleThetaC","NevilleThetaD","NevilleThetaN","NevilleThetaS","NewPrimitiveStyle","NExpectation","Next","NextCell","NextDate","NextPrime","NextScheduledTaskTime","NeymanScottPointProcess","NFractionalD","NHoldAll","NHoldFirst","NHoldRest","NicholsGridLines","NicholsPlot","NightHemisphere","NIntegrate","NMaximize","NMaxValue","NMinimize","NMinValue","NominalScale","NominalVariables","NonAssociative","NoncentralBetaDistribution","NoncentralChiSquareDistribution","NoncentralFRatioDistribution","NoncentralStudentTDistribution","NonCommutativeMultiply","NonConstants","NondimensionalizationTransform","None","NoneTrue","NonlinearModelFit","NonlinearStateSpaceModel","NonlocalMeansFilter","NonNegative","NonNegativeIntegers","NonNegativeRationals","NonNegativeReals","NonPositive","NonPositiveIntegers","NonPositiveRationals","NonPositiveReals","Nor","NorlundB","Norm","Normal","NormalDistribution","NormalGrouping","NormalizationLayer","Normalize","Normalized","NormalizedSquaredEuclideanDistance","NormalMatrixQ","NormalsFunction","NormFunction","Not","NotCongruent","NotCupCap","NotDoubleVerticalBar","Notebook","NotebookApply","NotebookAutoSave","NotebookBrowseDirectory","NotebookClose","NotebookConvertSettings","NotebookCreate","NotebookDefault","NotebookDelete","NotebookDirectory","NotebookDynamicExpression","NotebookEvaluate","NotebookEventActions","NotebookFileName","NotebookFind","NotebookGet","NotebookImport","NotebookInformation","NotebookInterfaceObject","NotebookLocate","NotebookObject","NotebookOpen","NotebookPath","NotebookPrint","NotebookPut","NotebookRead","Notebooks","NotebookSave","NotebookSelection","NotebooksMenu","NotebookTemplate","NotebookWrite","NotElement","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","Nothing","NotHumpDownHump","NotHumpEqual","NotificationFunction","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessFullEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotPrecedesTilde","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","Now","NoWhitespace","NProbability","NProduct","NProductFactors","NRoots","NSolve","NSolveValues","NSum","NSumTerms","NuclearExplosionData","NuclearReactorData","Null","NullRecords","NullSpace","NullWords","Number","NumberCompose","NumberDecompose","NumberDigit","NumberExpand","NumberFieldClassNumber","NumberFieldDiscriminant","NumberFieldFundamentalUnits","NumberFieldIntegralBasis","NumberFieldNormRepresentatives","NumberFieldRegulator","NumberFieldRootsOfUnity","NumberFieldSignature","NumberForm","NumberFormat","NumberLinePlot","NumberMarks","NumberMultiplier","NumberPadding","NumberPoint","NumberQ","NumberSeparator","NumberSigns","NumberString","Numerator","NumeratorDenominator","NumericalOrder","NumericalSort","NumericArray","NumericArrayQ","NumericArrayType","NumericFunction","NumericQ","NuttallWindow","NValues","NyquistGridLines","NyquistPlot","O","ObjectExistsQ","ObservabilityGramian","ObservabilityMatrix","ObservableDecomposition","ObservableModelQ","OceanData","Octahedron","OddQ","Off","Offset","OLEData","On","ONanGroupON","Once","OneIdentity","Opacity","OpacityFunction","OpacityFunctionScaling","Open","OpenAppend","Opener","OpenerBox","OpenerBoxOptions","OpenerView","OpenFunctionInspectorPacket","Opening","OpenRead","OpenSpecialOptions","OpenTemporary","OpenWrite","Operate","OperatingSystem","OperatorApplied","OptimumFlowData","Optional","OptionalElement","OptionInspectorSettings","OptionQ","Options","OptionsPacket","OptionsPattern","OptionValue","OptionValueBox","OptionValueBoxOptions","Or","Orange","Order","OrderDistribution","OrderedQ","Ordering","OrderingBy","OrderingLayer","Orderless","OrderlessPatternSequence","OrdinalScale","OrnsteinUhlenbeckProcess","Orthogonalize","OrthogonalMatrixQ","Out","Outer","OuterPolygon","OuterPolyhedron","OutputAutoOverwrite","OutputControllabilityMatrix","OutputControllableModelQ","OutputForm","OutputFormData","OutputGrouping","OutputMathEditExpression","OutputNamePacket","OutputPorts","OutputResponse","OutputSizeLimit","OutputStream","Over","OverBar","OverDot","Overflow","OverHat","Overlaps","Overlay","OverlayBox","OverlayBoxOptions","OverlayVideo","Overscript","OverscriptBox","OverscriptBoxOptions","OverTilde","OverVector","OverwriteTarget","OwenT","OwnValues","Package","PackingMethod","PackPaclet","PacletDataRebuild","PacletDirectoryAdd","PacletDirectoryLoad","PacletDirectoryRemove","PacletDirectoryUnload","PacletDisable","PacletEnable","PacletFind","PacletFindRemote","PacletInformation","PacletInstall","PacletInstallSubmit","PacletNewerQ","PacletObject","PacletObjectQ","PacletSite","PacletSiteObject","PacletSiteRegister","PacletSites","PacletSiteUnregister","PacletSiteUpdate","PacletSymbol","PacletUninstall","PacletUpdate","PaddedForm","Padding","PaddingLayer","PaddingSize","PadeApproximant","PadLeft","PadRight","PageBreakAbove","PageBreakBelow","PageBreakWithin","PageFooterLines","PageFooters","PageHeaderLines","PageHeaders","PageHeight","PageRankCentrality","PageTheme","PageWidth","Pagination","PairCorrelationG","PairedBarChart","PairedHistogram","PairedSmoothHistogram","PairedTTest","PairedZTest","PaletteNotebook","PalettePath","PalettesMenuSettings","PalindromeQ","Pane","PaneBox","PaneBoxOptions","Panel","PanelBox","PanelBoxOptions","Paneled","PaneSelector","PaneSelectorBox","PaneSelectorBoxOptions","PaperWidth","ParabolicCylinderD","ParagraphIndent","ParagraphSpacing","ParallelArray","ParallelAxisPlot","ParallelCombine","ParallelDo","Parallelepiped","ParallelEvaluate","Parallelization","Parallelize","ParallelKernels","ParallelMap","ParallelNeeds","Parallelogram","ParallelProduct","ParallelSubmit","ParallelSum","ParallelTable","ParallelTry","Parameter","ParameterEstimator","ParameterMixtureDistribution","ParameterVariables","ParametricConvexOptimization","ParametricFunction","ParametricNDSolve","ParametricNDSolveValue","ParametricPlot","ParametricPlot3D","ParametricRampLayer","ParametricRegion","ParentBox","ParentCell","ParentConnect","ParentDirectory","ParentEdgeLabel","ParentEdgeLabelFunction","ParentEdgeLabelStyle","ParentEdgeShapeFunction","ParentEdgeStyle","ParentEdgeStyleFunction","ParentForm","Parenthesize","ParentList","ParentNotebook","ParetoDistribution","ParetoPickandsDistribution","ParkData","Part","PartBehavior","PartialCorrelationFunction","PartialD","ParticleAcceleratorData","ParticleData","Partition","PartitionGranularity","PartitionsP","PartitionsQ","PartLayer","PartOfSpeech","PartProtection","ParzenWindow","PascalDistribution","PassEventsDown","PassEventsUp","Paste","PasteAutoQuoteCharacters","PasteBoxFormInlineCells","PasteButton","Path","PathGraph","PathGraphQ","Pattern","PatternFilling","PatternReaction","PatternSequence","PatternTest","PauliMatrix","PaulWavelet","Pause","PausedTime","PDF","PeakDetect","PeanoCurve","PearsonChiSquareTest","PearsonCorrelationTest","PearsonDistribution","PenttinenPointProcess","PercentForm","PerfectNumber","PerfectNumberQ","PerformanceGoal","Perimeter","PeriodicBoundaryCondition","PeriodicInterpolation","Periodogram","PeriodogramArray","Permanent","Permissions","PermissionsGroup","PermissionsGroupMemberQ","PermissionsGroups","PermissionsKey","PermissionsKeys","PermutationCycles","PermutationCyclesQ","PermutationGroup","PermutationLength","PermutationList","PermutationListQ","PermutationMatrix","PermutationMax","PermutationMin","PermutationOrder","PermutationPower","PermutationProduct","PermutationReplace","Permutations","PermutationSupport","Permute","PeronaMalikFilter","Perpendicular","PerpendicularBisector","PersistenceLocation","PersistenceTime","PersistentObject","PersistentObjects","PersistentSymbol","PersistentValue","PersonData","PERTDistribution","PetersenGraph","PhaseMargins","PhaseRange","PhongShading","PhysicalSystemData","Pi","Pick","PickedElements","PickMode","PIDData","PIDDerivativeFilter","PIDFeedforward","PIDTune","Piecewise","PiecewiseExpand","PieChart","PieChart3D","PillaiTrace","PillaiTraceTest","PingTime","Pink","PitchRecognize","Pivoting","PixelConstrained","PixelValue","PixelValuePositions","Placed","Placeholder","PlaceholderLayer","PlaceholderReplace","Plain","PlanarAngle","PlanarFaceList","PlanarGraph","PlanarGraphQ","PlanckRadiationLaw","PlaneCurveData","PlanetaryMoonData","PlanetData","PlantData","Play","PlaybackSettings","PlayRange","Plot","Plot3D","Plot3Matrix","PlotDivision","PlotJoined","PlotLabel","PlotLabels","PlotLayout","PlotLegends","PlotMarkers","PlotPoints","PlotRange","PlotRangeClipping","PlotRangeClipPlanesStyle","PlotRangePadding","PlotRegion","PlotStyle","PlotTheme","Pluralize","Plus","PlusMinus","Pochhammer","PodStates","PodWidth","Point","Point3DBox","Point3DBoxOptions","PointBox","PointBoxOptions","PointCountDistribution","PointDensity","PointDensityFunction","PointFigureChart","PointLegend","PointLight","PointProcessEstimator","PointProcessFitTest","PointProcessParameterAssumptions","PointProcessParameterQ","PointSize","PointStatisticFunction","PointValuePlot","PoissonConsulDistribution","PoissonDistribution","PoissonPDEComponent","PoissonPointProcess","PoissonProcess","PoissonWindow","PolarAxes","PolarAxesOrigin","PolarGridLines","PolarPlot","PolarTicks","PoleZeroMarkers","PolyaAeppliDistribution","PolyGamma","Polygon","Polygon3DBox","Polygon3DBoxOptions","PolygonalNumber","PolygonAngle","PolygonBox","PolygonBoxOptions","PolygonCoordinates","PolygonDecomposition","PolygonHoleScale","PolygonIntersections","PolygonScale","Polyhedron","PolyhedronAngle","PolyhedronBox","PolyhedronBoxOptions","PolyhedronCoordinates","PolyhedronData","PolyhedronDecomposition","PolyhedronGenus","PolyLog","PolynomialExpressionQ","PolynomialExtendedGCD","PolynomialForm","PolynomialGCD","PolynomialLCM","PolynomialMod","PolynomialQ","PolynomialQuotient","PolynomialQuotientRemainder","PolynomialReduce","PolynomialRemainder","Polynomials","PolynomialSumOfSquaresList","PoolingLayer","PopupMenu","PopupMenuBox","PopupMenuBoxOptions","PopupView","PopupWindow","Position","PositionIndex","PositionLargest","PositionSmallest","Positive","PositiveDefiniteMatrixQ","PositiveIntegers","PositivelyOrientedPoints","PositiveRationals","PositiveReals","PositiveSemidefiniteMatrixQ","PossibleZeroQ","Postfix","PostScript","Power","PowerDistribution","PowerExpand","PowerMod","PowerModList","PowerRange","PowerSpectralDensity","PowersRepresentations","PowerSymmetricPolynomial","Precedence","PrecedenceForm","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","Precision","PrecisionGoal","PreDecrement","Predict","PredictionRoot","PredictorFunction","PredictorInformation","PredictorMeasurements","PredictorMeasurementsObject","PreemptProtect","PreferencesPath","PreferencesSettings","Prefix","PreIncrement","Prepend","PrependLayer","PrependTo","PreprocessingRules","PreserveColor","PreserveImageOptions","Previous","PreviousCell","PreviousDate","PriceGraphDistribution","PrimaryPlaceholder","Prime","PrimeNu","PrimeOmega","PrimePi","PrimePowerQ","PrimeQ","Primes","PrimeZetaP","PrimitivePolynomialQ","PrimitiveRoot","PrimitiveRootList","PrincipalComponents","PrincipalValue","Print","PrintableASCIIQ","PrintAction","PrintForm","PrintingCopies","PrintingOptions","PrintingPageRange","PrintingStartingPageNumber","PrintingStyleEnvironment","Printout3D","Printout3DPreviewer","PrintPrecision","PrintTemporary","Prism","PrismBox","PrismBoxOptions","PrivateCellOptions","PrivateEvaluationOptions","PrivateFontOptions","PrivateFrontEndOptions","PrivateKey","PrivateNotebookOptions","PrivatePaths","Probability","ProbabilityDistribution","ProbabilityPlot","ProbabilityPr","ProbabilityScalePlot","ProbitModelFit","ProcessConnection","ProcessDirectory","ProcessEnvironment","Processes","ProcessEstimator","ProcessInformation","ProcessObject","ProcessParameterAssumptions","ProcessParameterQ","ProcessStateDomain","ProcessStatus","ProcessTimeDomain","Product","ProductDistribution","ProductLog","ProgressIndicator","ProgressIndicatorBox","ProgressIndicatorBoxOptions","ProgressReporting","Projection","Prolog","PromptForm","ProofObject","PropagateAborts","Properties","Property","PropertyList","PropertyValue","Proportion","Proportional","Protect","Protected","ProteinData","Pruning","PseudoInverse","PsychrometricPropertyData","PublicKey","PublisherID","PulsarData","PunctuationCharacter","Purple","Put","PutAppend","Pyramid","PyramidBox","PyramidBoxOptions","QBinomial","QFactorial","QGamma","QHypergeometricPFQ","QnDispersion","QPochhammer","QPolyGamma","QRDecomposition","QuadraticIrrationalQ","QuadraticOptimization","Quantile","QuantilePlot","Quantity","QuantityArray","QuantityDistribution","QuantityForm","QuantityMagnitude","QuantityQ","QuantityUnit","QuantityVariable","QuantityVariableCanonicalUnit","QuantityVariableDimensions","QuantityVariableIdentifier","QuantityVariablePhysicalQuantity","Quartics","QuartileDeviation","Quartiles","QuartileSkewness","Query","QuestionGenerator","QuestionInterface","QuestionObject","QuestionSelector","QueueingNetworkProcess","QueueingProcess","QueueProperties","Quiet","QuietEcho","Quit","Quotient","QuotientRemainder","RadialAxisPlot","RadialGradientFilling","RadialGradientImage","RadialityCentrality","RadicalBox","RadicalBoxOptions","RadioButton","RadioButtonBar","RadioButtonBox","RadioButtonBoxOptions","Radon","RadonTransform","RamanujanTau","RamanujanTauL","RamanujanTauTheta","RamanujanTauZ","Ramp","Random","RandomArrayLayer","RandomChoice","RandomColor","RandomComplex","RandomDate","RandomEntity","RandomFunction","RandomGeneratorState","RandomGeoPosition","RandomGraph","RandomImage","RandomInstance","RandomInteger","RandomPermutation","RandomPoint","RandomPointConfiguration","RandomPolygon","RandomPolyhedron","RandomPrime","RandomReal","RandomSample","RandomSeed","RandomSeeding","RandomTime","RandomTree","RandomVariate","RandomWalkProcess","RandomWord","Range","RangeFilter","RangeSpecification","RankedMax","RankedMin","RarerProbability","Raster","Raster3D","Raster3DBox","Raster3DBoxOptions","RasterArray","RasterBox","RasterBoxOptions","Rasterize","RasterSize","Rational","RationalExpressionQ","RationalFunctions","Rationalize","Rationals","Ratios","RawArray","RawBoxes","RawData","RawMedium","RayleighDistribution","Re","ReactionBalance","ReactionBalancedQ","ReactionPDETerm","Read","ReadByteArray","ReadLine","ReadList","ReadProtected","ReadString","Real","RealAbs","RealBlockDiagonalForm","RealDigits","RealExponent","Reals","RealSign","Reap","RebuildPacletData","RecalibrationFunction","RecognitionPrior","RecognitionThreshold","ReconstructionMesh","Record","RecordLists","RecordSeparators","Rectangle","RectangleBox","RectangleBoxOptions","RectangleChart","RectangleChart3D","RectangularRepeatingElement","RecurrenceFilter","RecurrenceTable","RecurringDigitsForm","Red","Reduce","RefBox","ReferenceLineStyle","ReferenceMarkers","ReferenceMarkerStyle","Refine","ReflectionMatrix","ReflectionTransform","Refresh","RefreshRate","Region","RegionBinarize","RegionBoundary","RegionBoundaryStyle","RegionBounds","RegionCentroid","RegionCongruent","RegionConvert","RegionDifference","RegionDilation","RegionDimension","RegionDisjoint","RegionDistance","RegionDistanceFunction","RegionEmbeddingDimension","RegionEqual","RegionErosion","RegionFillingStyle","RegionFit","RegionFunction","RegionImage","RegionIntersection","RegionMeasure","RegionMember","RegionMemberFunction","RegionMoment","RegionNearest","RegionNearestFunction","RegionPlot","RegionPlot3D","RegionProduct","RegionQ","RegionResize","RegionSimilar","RegionSize","RegionSymmetricDifference","RegionUnion","RegionWithin","RegisterExternalEvaluator","RegularExpression","Regularization","RegularlySampledQ","RegularPolygon","ReIm","ReImLabels","ReImPlot","ReImStyle","Reinstall","RelationalDatabase","RelationGraph","Release","ReleaseHold","ReliabilityDistribution","ReliefImage","ReliefPlot","RemoteAuthorizationCaching","RemoteBatchJobAbort","RemoteBatchJobObject","RemoteBatchJobs","RemoteBatchMapSubmit","RemoteBatchSubmissionEnvironment","RemoteBatchSubmit","RemoteConnect","RemoteConnectionObject","RemoteEvaluate","RemoteFile","RemoteInputFiles","RemoteKernelObject","RemoteProviderSettings","RemoteRun","RemoteRunProcess","RemovalConditions","Remove","RemoveAlphaChannel","RemoveAsynchronousTask","RemoveAudioStream","RemoveBackground","RemoveChannelListener","RemoveChannelSubscribers","Removed","RemoveDiacritics","RemoveInputStreamMethod","RemoveOutputStreamMethod","RemoveProperty","RemoveScheduledTask","RemoveUsers","RemoveVideoStream","RenameDirectory","RenameFile","RenderAll","RenderingOptions","RenewalProcess","RenkoChart","RepairMesh","Repeated","RepeatedNull","RepeatedString","RepeatedTiming","RepeatingElement","Replace","ReplaceAll","ReplaceAt","ReplaceHeldPart","ReplaceImageValue","ReplaceList","ReplacePart","ReplacePixelValue","ReplaceRepeated","ReplicateLayer","RequiredPhysicalQuantities","Resampling","ResamplingAlgorithmData","ResamplingMethod","Rescale","RescalingTransform","ResetDirectory","ResetScheduledTask","ReshapeLayer","Residue","ResidueSum","ResizeLayer","Resolve","ResolveContextAliases","ResourceAcquire","ResourceData","ResourceFunction","ResourceObject","ResourceRegister","ResourceRemove","ResourceSearch","ResourceSubmissionObject","ResourceSubmit","ResourceSystemBase","ResourceSystemPath","ResourceUpdate","ResourceVersion","ResponseForm","Rest","RestartInterval","Restricted","Resultant","ResumePacket","Return","ReturnCreatesNewCell","ReturnEntersInput","ReturnExpressionPacket","ReturnInputFormPacket","ReturnPacket","ReturnReceiptFunction","ReturnTextPacket","Reverse","ReverseApplied","ReverseBiorthogonalSplineWavelet","ReverseElement","ReverseEquilibrium","ReverseGraph","ReverseSort","ReverseSortBy","ReverseUpEquilibrium","RevolutionAxis","RevolutionPlot3D","RGBColor","RiccatiSolve","RiceDistribution","RidgeFilter","RiemannR","RiemannSiegelTheta","RiemannSiegelZ","RiemannXi","Riffle","Right","RightArrow","RightArrowBar","RightArrowLeftArrow","RightComposition","RightCosetRepresentative","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightTee","RightTeeArrow","RightTeeVector","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","RipleyK","RipleyRassonRegion","RiskAchievementImportance","RiskReductionImportance","RobustConvexOptimization","RogersTanimotoDissimilarity","RollPitchYawAngles","RollPitchYawMatrix","RomanNumeral","Root","RootApproximant","RootIntervals","RootLocusPlot","RootMeanSquare","RootOfUnityQ","RootReduce","Roots","RootSum","RootTree","Rotate","RotateLabel","RotateLeft","RotateRight","RotationAction","RotationBox","RotationBoxOptions","RotationMatrix","RotationTransform","Round","RoundImplies","RoundingRadius","Row","RowAlignments","RowBackgrounds","RowBox","RowHeights","RowLines","RowMinHeight","RowReduce","RowsEqual","RowSpacings","RSolve","RSolveValue","RudinShapiro","RudvalisGroupRu","Rule","RuleCondition","RuleDelayed","RuleForm","RulePlot","RulerUnits","RulesTree","Run","RunProcess","RunScheduledTask","RunThrough","RuntimeAttributes","RuntimeOptions","RussellRaoDissimilarity","SameAs","SameQ","SameTest","SameTestProperties","SampledEntityClass","SampleDepth","SampledSoundFunction","SampledSoundList","SampleRate","SamplingPeriod","SARIMAProcess","SARMAProcess","SASTriangle","SatelliteData","SatisfiabilityCount","SatisfiabilityInstances","SatisfiableQ","Saturday","Save","Saveable","SaveAutoDelete","SaveConnection","SaveDefinitions","SavitzkyGolayMatrix","SawtoothWave","Scale","Scaled","ScaleDivisions","ScaledMousePosition","ScaleOrigin","ScalePadding","ScaleRanges","ScaleRangeStyle","ScalingFunctions","ScalingMatrix","ScalingTransform","Scan","ScheduledTask","ScheduledTaskActiveQ","ScheduledTaskInformation","ScheduledTaskInformationData","ScheduledTaskObject","ScheduledTasks","SchurDecomposition","ScientificForm","ScientificNotationThreshold","ScorerGi","ScorerGiPrime","ScorerHi","ScorerHiPrime","ScreenRectangle","ScreenStyleEnvironment","ScriptBaselineShifts","ScriptForm","ScriptLevel","ScriptMinSize","ScriptRules","ScriptSizeMultipliers","Scrollbars","ScrollingOptions","ScrollPosition","SearchAdjustment","SearchIndexObject","SearchIndices","SearchQueryString","SearchResultObject","Sec","Sech","SechDistribution","SecondOrderConeOptimization","SectionGrouping","SectorChart","SectorChart3D","SectorOrigin","SectorSpacing","SecuredAuthenticationKey","SecuredAuthenticationKeys","SecurityCertificate","SeedRandom","Select","Selectable","SelectComponents","SelectedCells","SelectedNotebook","SelectFirst","Selection","SelectionAnimate","SelectionCell","SelectionCellCreateCell","SelectionCellDefaultStyle","SelectionCellParentStyle","SelectionCreateCell","SelectionDebuggerTag","SelectionEvaluate","SelectionEvaluateCreateCell","SelectionMove","SelectionPlaceholder","SelectWithContents","SelfLoops","SelfLoopStyle","SemanticImport","SemanticImportString","SemanticInterpretation","SemialgebraicComponentInstances","SemidefiniteOptimization","SendMail","SendMessage","Sequence","SequenceAlignment","SequenceAttentionLayer","SequenceCases","SequenceCount","SequenceFold","SequenceFoldList","SequenceForm","SequenceHold","SequenceIndicesLayer","SequenceLastLayer","SequenceMostLayer","SequencePosition","SequencePredict","SequencePredictorFunction","SequenceReplace","SequenceRestLayer","SequenceReverseLayer","SequenceSplit","Series","SeriesCoefficient","SeriesData","SeriesTermGoal","ServiceConnect","ServiceDisconnect","ServiceExecute","ServiceObject","ServiceRequest","ServiceResponse","ServiceSubmit","SessionSubmit","SessionTime","Set","SetAccuracy","SetAlphaChannel","SetAttributes","Setbacks","SetCloudDirectory","SetCookies","SetDelayed","SetDirectory","SetEnvironment","SetFileDate","SetFileFormatProperties","SetOptions","SetOptionsPacket","SetPermissions","SetPrecision","SetProperty","SetSecuredAuthenticationKey","SetSelectedNotebook","SetSharedFunction","SetSharedVariable","SetStreamPosition","SetSystemModel","SetSystemOptions","Setter","SetterBar","SetterBox","SetterBoxOptions","Setting","SetUsers","Shading","Shallow","ShannonWavelet","ShapiroWilkTest","Share","SharingList","Sharpen","ShearingMatrix","ShearingTransform","ShellRegion","ShenCastanMatrix","ShiftedGompertzDistribution","ShiftRegisterSequence","Short","ShortDownArrow","Shortest","ShortestMatch","ShortestPathFunction","ShortLeftArrow","ShortRightArrow","ShortTimeFourier","ShortTimeFourierData","ShortUpArrow","Show","ShowAutoConvert","ShowAutoSpellCheck","ShowAutoStyles","ShowCellBracket","ShowCellLabel","ShowCellTags","ShowClosedCellArea","ShowCodeAssist","ShowContents","ShowControls","ShowCursorTracker","ShowGroupOpenCloseIcon","ShowGroupOpener","ShowInvisibleCharacters","ShowPageBreaks","ShowPredictiveInterface","ShowSelection","ShowShortBoxForm","ShowSpecialCharacters","ShowStringCharacters","ShowSyntaxStyles","ShrinkingDelay","ShrinkWrapBoundingBox","SiderealTime","SiegelTheta","SiegelTukeyTest","SierpinskiCurve","SierpinskiMesh","Sign","Signature","SignedRankTest","SignedRegionDistance","SignificanceLevel","SignPadding","SignTest","SimilarityRules","SimpleGraph","SimpleGraphQ","SimplePolygonQ","SimplePolyhedronQ","Simplex","Simplify","Sin","Sinc","SinghMaddalaDistribution","SingleEvaluation","SingleLetterItalics","SingleLetterStyle","SingularValueDecomposition","SingularValueList","SingularValuePlot","SingularValues","Sinh","SinhIntegral","SinIntegral","SixJSymbol","Skeleton","SkeletonTransform","SkellamDistribution","Skewness","SkewNormalDistribution","SkinStyle","Skip","SliceContourPlot3D","SliceDensityPlot3D","SliceDistribution","SliceVectorPlot3D","Slider","Slider2D","Slider2DBox","Slider2DBoxOptions","SliderBox","SliderBoxOptions","SlideShowVideo","SlideView","Slot","SlotSequence","Small","SmallCircle","Smaller","SmithDecomposition","SmithDelayCompensator","SmithWatermanSimilarity","SmoothDensityHistogram","SmoothHistogram","SmoothHistogram3D","SmoothKernelDistribution","SmoothPointDensity","SnDispersion","Snippet","SnippetsVideo","SnubPolyhedron","SocialMediaData","Socket","SocketConnect","SocketListen","SocketListener","SocketObject","SocketOpen","SocketReadMessage","SocketReadyQ","Sockets","SocketWaitAll","SocketWaitNext","SoftmaxLayer","SokalSneathDissimilarity","SolarEclipse","SolarSystemFeatureData","SolarTime","SolidAngle","SolidBoundaryLoadValue","SolidData","SolidDisplacementCondition","SolidFixedCondition","SolidMechanicsPDEComponent","SolidMechanicsStrain","SolidMechanicsStress","SolidRegionQ","Solve","SolveAlways","SolveDelayed","SolveValues","Sort","SortBy","SortedBy","SortedEntityClass","Sound","SoundAndGraphics","SoundNote","SoundVolume","SourceLink","SourcePDETerm","Sow","Space","SpaceCurveData","SpaceForm","Spacer","Spacings","Span","SpanAdjustments","SpanCharacterRounding","SpanFromAbove","SpanFromBoth","SpanFromLeft","SpanLineThickness","SpanMaxSize","SpanMinSize","SpanningCharacters","SpanSymmetric","SparseArray","SparseArrayQ","SpatialBinnedPointData","SpatialBoundaryCorrection","SpatialEstimate","SpatialEstimatorFunction","SpatialGraphDistribution","SpatialJ","SpatialMedian","SpatialNoiseLevel","SpatialObservationRegionQ","SpatialPointData","SpatialPointSelect","SpatialRandomnessTest","SpatialTransformationLayer","SpatialTrendFunction","Speak","SpeakerMatchQ","SpearmanRankTest","SpearmanRho","SpeciesData","SpecificityGoal","SpectralLineData","Spectrogram","SpectrogramArray","Specularity","SpeechCases","SpeechInterpreter","SpeechRecognize","SpeechSynthesize","SpellingCorrection","SpellingCorrectionList","SpellingDictionaries","SpellingDictionariesPath","SpellingOptions","Sphere","SphereBox","SphereBoxOptions","SpherePoints","SphericalBesselJ","SphericalBesselY","SphericalHankelH1","SphericalHankelH2","SphericalHarmonicY","SphericalPlot3D","SphericalRegion","SphericalShell","SpheroidalEigenvalue","SpheroidalJoiningFactor","SpheroidalPS","SpheroidalPSPrime","SpheroidalQS","SpheroidalQSPrime","SpheroidalRadialFactor","SpheroidalS1","SpheroidalS1Prime","SpheroidalS2","SpheroidalS2Prime","Splice","SplicedDistribution","SplineClosed","SplineDegree","SplineKnots","SplineWeights","Split","SplitBy","SpokenString","SpotLight","Sqrt","SqrtBox","SqrtBoxOptions","Square","SquaredEuclideanDistance","SquareFreeQ","SquareIntersection","SquareMatrixQ","SquareRepeatingElement","SquaresR","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","SquareWave","SSSTriangle","StabilityMargins","StabilityMarginsStyle","StableDistribution","Stack","StackBegin","StackComplete","StackedDateListPlot","StackedListPlot","StackInhibit","StadiumShape","StandardAtmosphereData","StandardDeviation","StandardDeviationFilter","StandardForm","Standardize","Standardized","StandardOceanData","StandbyDistribution","Star","StarClusterData","StarData","StarGraph","StartAsynchronousTask","StartExternalSession","StartingStepSize","StartOfLine","StartOfString","StartProcess","StartScheduledTask","StartupSound","StartWebSession","StateDimensions","StateFeedbackGains","StateOutputEstimator","StateResponse","StateSpaceModel","StateSpaceRealization","StateSpaceTransform","StateTransformationLinearize","StationaryDistribution","StationaryWaveletPacketTransform","StationaryWaveletTransform","StatusArea","StatusCentrality","StepMonitor","StereochemistryElements","StieltjesGamma","StippleShading","StirlingS1","StirlingS2","StopAsynchronousTask","StoppingPowerData","StopScheduledTask","StrataVariables","StratonovichProcess","StraussHardcorePointProcess","StraussPointProcess","StreamColorFunction","StreamColorFunctionScaling","StreamDensityPlot","StreamMarkers","StreamPlot","StreamPlot3D","StreamPoints","StreamPosition","Streams","StreamScale","StreamStyle","StrictInequalities","String","StringBreak","StringByteCount","StringCases","StringContainsQ","StringCount","StringDelete","StringDrop","StringEndsQ","StringExpression","StringExtract","StringForm","StringFormat","StringFormatQ","StringFreeQ","StringInsert","StringJoin","StringLength","StringMatchQ","StringPadLeft","StringPadRight","StringPart","StringPartition","StringPosition","StringQ","StringRepeat","StringReplace","StringReplaceList","StringReplacePart","StringReverse","StringRiffle","StringRotateLeft","StringRotateRight","StringSkeleton","StringSplit","StringStartsQ","StringTake","StringTakeDrop","StringTemplate","StringToByteArray","StringToStream","StringTrim","StripBoxes","StripOnInput","StripStyleOnPaste","StripWrapperBoxes","StrokeForm","Struckthrough","StructuralImportance","StructuredArray","StructuredArrayHeadQ","StructuredSelection","StruveH","StruveL","Stub","StudentTDistribution","Style","StyleBox","StyleBoxAutoDelete","StyleData","StyleDefinitions","StyleForm","StyleHints","StyleKeyMapping","StyleMenuListing","StyleNameDialogSettings","StyleNames","StylePrint","StyleSheetPath","Subdivide","Subfactorial","Subgraph","SubMinus","SubPlus","SubresultantPolynomialRemainders","SubresultantPolynomials","Subresultants","Subscript","SubscriptBox","SubscriptBoxOptions","Subscripted","Subsequences","Subset","SubsetCases","SubsetCount","SubsetEqual","SubsetMap","SubsetPosition","SubsetQ","SubsetReplace","Subsets","SubStar","SubstitutionSystem","Subsuperscript","SubsuperscriptBox","SubsuperscriptBoxOptions","SubtitleEncoding","SubtitleTrackSelection","Subtract","SubtractFrom","SubtractSides","SubValues","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","Success","SuchThat","Sum","SumConvergence","SummationLayer","Sunday","SunPosition","Sunrise","Sunset","SuperDagger","SuperMinus","SupernovaData","SuperPlus","Superscript","SuperscriptBox","SuperscriptBoxOptions","Superset","SupersetEqual","SuperStar","Surd","SurdForm","SurfaceAppearance","SurfaceArea","SurfaceColor","SurfaceData","SurfaceGraphics","SurvivalDistribution","SurvivalFunction","SurvivalModel","SurvivalModelFit","SuspendPacket","SuzukiDistribution","SuzukiGroupSuz","SwatchLegend","Switch","Symbol","SymbolName","SymletWavelet","Symmetric","SymmetricDifference","SymmetricGroup","SymmetricKey","SymmetricMatrixQ","SymmetricPolynomial","SymmetricReduction","Symmetrize","SymmetrizedArray","SymmetrizedArrayRules","SymmetrizedDependentComponents","SymmetrizedIndependentComponents","SymmetrizedReplacePart","SynchronousInitialization","SynchronousUpdating","Synonyms","Syntax","SyntaxForm","SyntaxInformation","SyntaxLength","SyntaxPacket","SyntaxQ","SynthesizeMissingValues","SystemCredential","SystemCredentialData","SystemCredentialKey","SystemCredentialKeys","SystemCredentialStoreObject","SystemDialogInput","SystemException","SystemGet","SystemHelpPath","SystemInformation","SystemInformationData","SystemInstall","SystemModel","SystemModeler","SystemModelExamples","SystemModelLinearize","SystemModelMeasurements","SystemModelParametricSimulate","SystemModelPlot","SystemModelProgressReporting","SystemModelReliability","SystemModels","SystemModelSimulate","SystemModelSimulateSensitivity","SystemModelSimulationData","SystemOpen","SystemOptions","SystemProcessData","SystemProcesses","SystemsConnectionsModel","SystemsModelControllerData","SystemsModelDelay","SystemsModelDelayApproximate","SystemsModelDelete","SystemsModelDimensions","SystemsModelExtract","SystemsModelFeedbackConnect","SystemsModelLabels","SystemsModelLinearity","SystemsModelMerge","SystemsModelOrder","SystemsModelParallelConnect","SystemsModelSeriesConnect","SystemsModelStateFeedbackConnect","SystemsModelVectorRelativeOrders","SystemStub","SystemTest","Tab","TabFilling","Table","TableAlignments","TableDepth","TableDirections","TableForm","TableHeadings","TableSpacing","TableView","TableViewBox","TableViewBoxAlignment","TableViewBoxBackground","TableViewBoxHeaders","TableViewBoxItemSize","TableViewBoxItemStyle","TableViewBoxOptions","TabSpacings","TabView","TabViewBox","TabViewBoxOptions","TagBox","TagBoxNote","TagBoxOptions","TaggingRules","TagSet","TagSetDelayed","TagStyle","TagUnset","Take","TakeDrop","TakeLargest","TakeLargestBy","TakeList","TakeSmallest","TakeSmallestBy","TakeWhile","Tally","Tan","Tanh","TargetDevice","TargetFunctions","TargetSystem","TargetUnits","TaskAbort","TaskExecute","TaskObject","TaskRemove","TaskResume","Tasks","TaskSuspend","TaskWait","TautologyQ","TelegraphProcess","TemplateApply","TemplateArgBox","TemplateBox","TemplateBoxOptions","TemplateEvaluate","TemplateExpression","TemplateIf","TemplateObject","TemplateSequence","TemplateSlot","TemplateSlotSequence","TemplateUnevaluated","TemplateVerbatim","TemplateWith","TemporalData","TemporalRegularity","Temporary","TemporaryVariable","TensorContract","TensorDimensions","TensorExpand","TensorProduct","TensorQ","TensorRank","TensorReduce","TensorSymmetry","TensorTranspose","TensorWedge","TerminatedEvaluation","TernaryListPlot","TernaryPlotCorners","TestID","TestReport","TestReportObject","TestResultObject","Tetrahedron","TetrahedronBox","TetrahedronBoxOptions","TeXForm","TeXSave","Text","Text3DBox","Text3DBoxOptions","TextAlignment","TextBand","TextBoundingBox","TextBox","TextCases","TextCell","TextClipboardType","TextContents","TextData","TextElement","TextForm","TextGrid","TextJustification","TextLine","TextPacket","TextParagraph","TextPosition","TextRecognize","TextSearch","TextSearchReport","TextSentences","TextString","TextStructure","TextStyle","TextTranslation","Texture","TextureCoordinateFunction","TextureCoordinateScaling","TextWords","Therefore","ThermodynamicData","ThermometerGauge","Thick","Thickness","Thin","Thinning","ThisLink","ThomasPointProcess","ThompsonGroupTh","Thread","Threaded","ThreadingLayer","ThreeJSymbol","Threshold","Through","Throw","ThueMorse","Thumbnail","Thursday","TickDirection","TickLabelOrientation","TickLabelPositioning","TickLabels","TickLengths","TickPositions","Ticks","TicksStyle","TideData","Tilde","TildeEqual","TildeFullEqual","TildeTilde","TimeConstrained","TimeConstraint","TimeDirection","TimeFormat","TimeGoal","TimelinePlot","TimeObject","TimeObjectQ","TimeRemaining","Times","TimesBy","TimeSeries","TimeSeriesAggregate","TimeSeriesForecast","TimeSeriesInsert","TimeSeriesInvertibility","TimeSeriesMap","TimeSeriesMapThread","TimeSeriesModel","TimeSeriesModelFit","TimeSeriesResample","TimeSeriesRescale","TimeSeriesShift","TimeSeriesThread","TimeSeriesWindow","TimeSystem","TimeSystemConvert","TimeUsed","TimeValue","TimeWarpingCorrespondence","TimeWarpingDistance","TimeZone","TimeZoneConvert","TimeZoneOffset","Timing","Tiny","TitleGrouping","TitsGroupT","ToBoxes","ToCharacterCode","ToColor","ToContinuousTimeModel","ToDate","Today","ToDiscreteTimeModel","ToEntity","ToeplitzMatrix","ToExpression","ToFileName","Together","Toggle","ToggleFalse","Toggler","TogglerBar","TogglerBox","TogglerBoxOptions","ToHeldExpression","ToInvertibleTimeSeries","TokenWords","Tolerance","ToLowerCase","Tomorrow","ToNumberField","TooBig","Tooltip","TooltipBox","TooltipBoxOptions","TooltipDelay","TooltipStyle","ToonShading","Top","TopHatTransform","ToPolarCoordinates","TopologicalSort","ToRadicals","ToRawPointer","ToRules","Torus","TorusGraph","ToSphericalCoordinates","ToString","Total","TotalHeight","TotalLayer","TotalVariationFilter","TotalWidth","TouchPosition","TouchscreenAutoZoom","TouchscreenControlPlacement","ToUpperCase","TourVideo","Tr","Trace","TraceAbove","TraceAction","TraceBackward","TraceDepth","TraceDialog","TraceForward","TraceInternal","TraceLevel","TraceOff","TraceOn","TraceOriginal","TracePrint","TraceScan","TrackCellChangeTimes","TrackedSymbols","TrackingFunction","TracyWidomDistribution","TradingChart","TraditionalForm","TraditionalFunctionNotation","TraditionalNotation","TraditionalOrder","TrainImageContentDetector","TrainingProgressCheckpointing","TrainingProgressFunction","TrainingProgressMeasurements","TrainingProgressReporting","TrainingStoppingCriterion","TrainingUpdateSchedule","TrainTextContentDetector","TransferFunctionCancel","TransferFunctionExpand","TransferFunctionFactor","TransferFunctionModel","TransferFunctionPoles","TransferFunctionTransform","TransferFunctionZeros","TransformationClass","TransformationFunction","TransformationFunctions","TransformationMatrix","TransformedDistribution","TransformedField","TransformedProcess","TransformedRegion","TransitionDirection","TransitionDuration","TransitionEffect","TransitiveClosureGraph","TransitiveReductionGraph","Translate","TranslationOptions","TranslationTransform","Transliterate","Transparent","TransparentColor","Transpose","TransposeLayer","TrapEnterKey","TrapSelection","TravelDirections","TravelDirectionsData","TravelDistance","TravelDistanceList","TravelMethod","TravelTime","Tree","TreeCases","TreeChildren","TreeCount","TreeData","TreeDelete","TreeDepth","TreeElementCoordinates","TreeElementLabel","TreeElementLabelFunction","TreeElementLabelStyle","TreeElementShape","TreeElementShapeFunction","TreeElementSize","TreeElementSizeFunction","TreeElementStyle","TreeElementStyleFunction","TreeExpression","TreeExtract","TreeFold","TreeForm","TreeGraph","TreeGraphQ","TreeInsert","TreeLayout","TreeLeafCount","TreeLeafQ","TreeLeaves","TreeLevel","TreeMap","TreeMapAt","TreeOutline","TreePlot","TreePosition","TreeQ","TreeReplacePart","TreeRules","TreeScan","TreeSelect","TreeSize","TreeTraversalOrder","TrendStyle","Triangle","TriangleCenter","TriangleConstruct","TriangleMeasurement","TriangleWave","TriangularDistribution","TriangulateMesh","Trig","TrigExpand","TrigFactor","TrigFactorList","Trigger","TrigReduce","TrigToExp","TrimmedMean","TrimmedVariance","TropicalStormData","True","TrueQ","TruncatedDistribution","TruncatedPolyhedron","TsallisQExponentialDistribution","TsallisQGaussianDistribution","TTest","Tube","TubeBezierCurveBox","TubeBezierCurveBoxOptions","TubeBox","TubeBoxOptions","TubeBSplineCurveBox","TubeBSplineCurveBoxOptions","Tuesday","TukeyLambdaDistribution","TukeyWindow","TunnelData","Tuples","TuranGraph","TuringMachine","TuttePolynomial","TwoWayRule","Typed","TypeDeclaration","TypeEvaluate","TypeHint","TypeOf","TypeSpecifier","UnateQ","Uncompress","UnconstrainedParameters","Undefined","UnderBar","Underflow","Underlined","Underoverscript","UnderoverscriptBox","UnderoverscriptBoxOptions","Underscript","UnderscriptBox","UnderscriptBoxOptions","UnderseaFeatureData","UndirectedEdge","UndirectedGraph","UndirectedGraphQ","UndoOptions","UndoTrackedVariables","Unequal","UnequalTo","Unevaluated","UniformDistribution","UniformGraphDistribution","UniformPolyhedron","UniformSumDistribution","Uninstall","Union","UnionedEntityClass","UnionPlus","Unique","UniqueElements","UnitaryMatrixQ","UnitBox","UnitConvert","UnitDimensions","Unitize","UnitRootTest","UnitSimplify","UnitStep","UnitSystem","UnitTriangle","UnitVector","UnitVectorLayer","UnityDimensions","UniverseModelData","UniversityData","UnixTime","UnlabeledTree","UnmanageObject","Unprotect","UnregisterExternalEvaluator","UnsameQ","UnsavedVariables","Unset","UnsetShared","Until","UntrackedVariables","Up","UpArrow","UpArrowBar","UpArrowDownArrow","Update","UpdateDynamicObjects","UpdateDynamicObjectsSynchronous","UpdateInterval","UpdatePacletSites","UpdateSearchIndex","UpDownArrow","UpEquilibrium","UpperCaseQ","UpperLeftArrow","UpperRightArrow","UpperTriangularize","UpperTriangularMatrix","UpperTriangularMatrixQ","Upsample","UpSet","UpSetDelayed","UpTee","UpTeeArrow","UpTo","UpValues","URL","URLBuild","URLDecode","URLDispatcher","URLDownload","URLDownloadSubmit","URLEncode","URLExecute","URLExpand","URLFetch","URLFetchAsynchronous","URLParse","URLQueryDecode","URLQueryEncode","URLRead","URLResponseTime","URLSave","URLSaveAsynchronous","URLShorten","URLSubmit","UseEmbeddedLibrary","UseGraphicsRange","UserDefinedWavelet","Using","UsingFrontEnd","UtilityFunction","V2Get","ValenceErrorHandling","ValenceFilling","ValidationLength","ValidationSet","ValueBox","ValueBoxOptions","ValueDimensions","ValueForm","ValuePreprocessingFunction","ValueQ","Values","ValuesData","VandermondeMatrix","Variables","Variance","VarianceEquivalenceTest","VarianceEstimatorFunction","VarianceGammaDistribution","VarianceGammaPointProcess","VarianceTest","VariogramFunction","VariogramModel","VectorAngle","VectorAround","VectorAspectRatio","VectorColorFunction","VectorColorFunctionScaling","VectorDensityPlot","VectorDisplacementPlot","VectorDisplacementPlot3D","VectorGlyphData","VectorGreater","VectorGreaterEqual","VectorLess","VectorLessEqual","VectorMarkers","VectorPlot","VectorPlot3D","VectorPoints","VectorQ","VectorRange","Vectors","VectorScale","VectorScaling","VectorSizes","VectorStyle","Vee","Verbatim","Verbose","VerificationTest","VerifyConvergence","VerifyDerivedKey","VerifyDigitalSignature","VerifyFileSignature","VerifyInterpretation","VerifySecurityCertificates","VerifySolutions","VerifyTestAssumptions","VersionedPreferences","VertexAdd","VertexCapacity","VertexChromaticNumber","VertexColors","VertexComponent","VertexConnectivity","VertexContract","VertexCoordinateRules","VertexCoordinates","VertexCorrelationSimilarity","VertexCosineSimilarity","VertexCount","VertexCoverQ","VertexDataCoordinates","VertexDegree","VertexDelete","VertexDiceSimilarity","VertexEccentricity","VertexInComponent","VertexInComponentGraph","VertexInDegree","VertexIndex","VertexJaccardSimilarity","VertexLabeling","VertexLabels","VertexLabelStyle","VertexList","VertexNormals","VertexOutComponent","VertexOutComponentGraph","VertexOutDegree","VertexQ","VertexRenderingFunction","VertexReplace","VertexShape","VertexShapeFunction","VertexSize","VertexStyle","VertexTextureCoordinates","VertexTransitiveGraphQ","VertexWeight","VertexWeightedGraphQ","Vertical","VerticalBar","VerticalForm","VerticalGauge","VerticalSeparator","VerticalSlider","VerticalTilde","Video","VideoCapture","VideoCombine","VideoDelete","VideoEncoding","VideoExtractFrames","VideoFrameList","VideoFrameMap","VideoGenerator","VideoInsert","VideoIntervals","VideoJoin","VideoMap","VideoMapList","VideoMapTimeSeries","VideoPadding","VideoPause","VideoPlay","VideoQ","VideoRecord","VideoReplace","VideoScreenCapture","VideoSplit","VideoStop","VideoStream","VideoStreams","VideoTimeStretch","VideoTrackSelection","VideoTranscode","VideoTransparency","VideoTrim","ViewAngle","ViewCenter","ViewMatrix","ViewPoint","ViewPointSelectorSettings","ViewPort","ViewProjection","ViewRange","ViewVector","ViewVertical","VirtualGroupData","Visible","VisibleCell","VoiceStyleData","VoigtDistribution","VolcanoData","Volume","VonMisesDistribution","VoronoiMesh","WaitAll","WaitAsynchronousTask","WaitNext","WaitUntil","WakebyDistribution","WalleniusHypergeometricDistribution","WaringYuleDistribution","WarpingCorrespondence","WarpingDistance","WatershedComponents","WatsonUSquareTest","WattsStrogatzGraphDistribution","WaveletBestBasis","WaveletFilterCoefficients","WaveletImagePlot","WaveletListPlot","WaveletMapIndexed","WaveletMatrixPlot","WaveletPhi","WaveletPsi","WaveletScale","WaveletScalogram","WaveletThreshold","WavePDEComponent","WeaklyConnectedComponents","WeaklyConnectedGraphComponents","WeaklyConnectedGraphQ","WeakStationarity","WeatherData","WeatherForecastData","WebAudioSearch","WebColumn","WebElementObject","WeberE","WebExecute","WebImage","WebImageSearch","WebItem","WebPageMetaInformation","WebRow","WebSearch","WebSessionObject","WebSessions","WebWindowObject","Wedge","Wednesday","WeibullDistribution","WeierstrassE1","WeierstrassE2","WeierstrassE3","WeierstrassEta1","WeierstrassEta2","WeierstrassEta3","WeierstrassHalfPeriods","WeierstrassHalfPeriodW1","WeierstrassHalfPeriodW2","WeierstrassHalfPeriodW3","WeierstrassInvariantG2","WeierstrassInvariantG3","WeierstrassInvariants","WeierstrassP","WeierstrassPPrime","WeierstrassSigma","WeierstrassZeta","WeightedAdjacencyGraph","WeightedAdjacencyMatrix","WeightedData","WeightedGraphQ","Weights","WelchWindow","WheelGraph","WhenEvent","Which","While","White","WhiteNoiseProcess","WhitePoint","Whitespace","WhitespaceCharacter","WhittakerM","WhittakerW","WholeCellGroupOpener","WienerFilter","WienerProcess","WignerD","WignerSemicircleDistribution","WikidataData","WikidataSearch","WikipediaData","WikipediaSearch","WilksW","WilksWTest","WindDirectionData","WindingCount","WindingPolygon","WindowClickSelect","WindowElements","WindowFloating","WindowFrame","WindowFrameElements","WindowMargins","WindowMovable","WindowOpacity","WindowPersistentStyles","WindowSelected","WindowSize","WindowStatusArea","WindowTitle","WindowToolbars","WindowWidth","WindSpeedData","WindVectorData","WinsorizedMean","WinsorizedVariance","WishartMatrixDistribution","With","WithCleanup","WithLock","WolframAlpha","WolframAlphaDate","WolframAlphaQuantity","WolframAlphaResult","WolframCloudSettings","WolframLanguageData","Word","WordBoundary","WordCharacter","WordCloud","WordCount","WordCounts","WordData","WordDefinition","WordFrequency","WordFrequencyData","WordList","WordOrientation","WordSearch","WordSelectionFunction","WordSeparators","WordSpacings","WordStem","WordTranslation","WorkingPrecision","WrapAround","Write","WriteLine","WriteString","Wronskian","XMLElement","XMLObject","XMLTemplate","Xnor","Xor","XYZColor","Yellow","Yesterday","YuleDissimilarity","ZernikeR","ZeroSymmetric","ZeroTest","ZeroWidthTimes","Zeta","ZetaZero","ZIPCodeData","ZipfDistribution","ZoomCenter","ZoomFactor","ZTest","ZTransform","$Aborted","$ActivationGroupID","$ActivationKey","$ActivationUserRegistered","$AddOnsDirectory","$AllowDataUpdates","$AllowExternalChannelFunctions","$AllowInternet","$AssertFunction","$Assumptions","$AsynchronousTask","$AudioDecoders","$AudioEncoders","$AudioInputDevices","$AudioOutputDevices","$BaseDirectory","$BasePacletsDirectory","$BatchInput","$BatchOutput","$BlockchainBase","$BoxForms","$ByteOrdering","$CacheBaseDirectory","$Canceled","$ChannelBase","$CharacterEncoding","$CharacterEncodings","$CloudAccountName","$CloudBase","$CloudConnected","$CloudConnection","$CloudCreditsAvailable","$CloudEvaluation","$CloudExpressionBase","$CloudObjectNameFormat","$CloudObjectURLType","$CloudRootDirectory","$CloudSymbolBase","$CloudUserID","$CloudUserUUID","$CloudVersion","$CloudVersionNumber","$CloudWolframEngineVersionNumber","$CommandLine","$CompilationTarget","$CompilerEnvironment","$ConditionHold","$ConfiguredKernels","$Context","$ContextAliases","$ContextPath","$ControlActiveSetting","$Cookies","$CookieStore","$CreationDate","$CryptographicEllipticCurveNames","$CurrentLink","$CurrentTask","$CurrentWebSession","$DataStructures","$DateStringFormat","$DefaultAudioInputDevice","$DefaultAudioOutputDevice","$DefaultFont","$DefaultFrontEnd","$DefaultImagingDevice","$DefaultKernels","$DefaultLocalBase","$DefaultLocalKernel","$DefaultMailbox","$DefaultNetworkInterface","$DefaultPath","$DefaultProxyRules","$DefaultRemoteBatchSubmissionEnvironment","$DefaultRemoteKernel","$DefaultSystemCredentialStore","$Display","$DisplayFunction","$DistributedContexts","$DynamicEvaluation","$Echo","$EmbedCodeEnvironments","$EmbeddableServices","$EntityStores","$Epilog","$EvaluationCloudBase","$EvaluationCloudObject","$EvaluationEnvironment","$ExportFormats","$ExternalIdentifierTypes","$ExternalStorageBase","$Failed","$FinancialDataSource","$FontFamilies","$FormatType","$FrontEnd","$FrontEndSession","$GeneratedAssetLocation","$GeoEntityTypes","$GeoLocation","$GeoLocationCity","$GeoLocationCountry","$GeoLocationPrecision","$GeoLocationSource","$HistoryLength","$HomeDirectory","$HTMLExportRules","$HTTPCookies","$HTTPRequest","$IgnoreEOF","$ImageFormattingWidth","$ImageResolution","$ImagingDevice","$ImagingDevices","$ImportFormats","$IncomingMailSettings","$InitialDirectory","$Initialization","$InitializationContexts","$Input","$InputFileName","$InputStreamMethods","$Inspector","$InstallationDate","$InstallationDirectory","$InterfaceEnvironment","$InterpreterTypes","$IterationLimit","$KernelCount","$KernelID","$Language","$LaunchDirectory","$LibraryPath","$LicenseExpirationDate","$LicenseID","$LicenseProcesses","$LicenseServer","$LicenseSubprocesses","$LicenseType","$Line","$Linked","$LinkSupported","$LoadedFiles","$LocalBase","$LocalSymbolBase","$MachineAddresses","$MachineDomain","$MachineDomains","$MachineEpsilon","$MachineID","$MachineName","$MachinePrecision","$MachineType","$MaxDisplayedChildren","$MaxExtraPrecision","$MaxLicenseProcesses","$MaxLicenseSubprocesses","$MaxMachineNumber","$MaxNumber","$MaxPiecewiseCases","$MaxPrecision","$MaxRootDegree","$MessageGroups","$MessageList","$MessagePrePrint","$Messages","$MinMachineNumber","$MinNumber","$MinorReleaseNumber","$MinPrecision","$MobilePhone","$ModuleNumber","$NetworkConnected","$NetworkInterfaces","$NetworkLicense","$NewMessage","$NewSymbol","$NotebookInlineStorageLimit","$Notebooks","$NoValue","$NumberMarks","$Off","$OperatingSystem","$Output","$OutputForms","$OutputSizeLimit","$OutputStreamMethods","$Packages","$ParentLink","$ParentProcessID","$PasswordFile","$PatchLevelID","$Path","$PathnameSeparator","$PerformanceGoal","$Permissions","$PermissionsGroupBase","$PersistenceBase","$PersistencePath","$PipeSupported","$PlotTheme","$Post","$Pre","$PreferencesDirectory","$PreInitialization","$PrePrint","$PreRead","$PrintForms","$PrintLiteral","$Printout3DPreviewer","$ProcessID","$ProcessorCount","$ProcessorType","$ProductInformation","$ProgramName","$ProgressReporting","$PublisherID","$RandomGeneratorState","$RandomState","$RecursionLimit","$RegisteredDeviceClasses","$RegisteredUserName","$ReleaseNumber","$RequesterAddress","$RequesterCloudUserID","$RequesterCloudUserUUID","$RequesterWolframID","$RequesterWolframUUID","$ResourceSystemBase","$ResourceSystemPath","$RootDirectory","$ScheduledTask","$ScriptCommandLine","$ScriptInputString","$SecuredAuthenticationKeyTokens","$ServiceCreditsAvailable","$Services","$SessionID","$SetParentLink","$SharedFunctions","$SharedVariables","$SoundDisplay","$SoundDisplayFunction","$SourceLink","$SSHAuthentication","$SubtitleDecoders","$SubtitleEncoders","$SummaryBoxDataSizeLimit","$SuppressInputFormHeads","$SynchronousEvaluation","$SyntaxHandler","$System","$SystemCharacterEncoding","$SystemCredentialStore","$SystemID","$SystemMemory","$SystemShell","$SystemTimeZone","$SystemWordLength","$TargetSystems","$TemplatePath","$TemporaryDirectory","$TemporaryPrefix","$TestFileName","$TextStyle","$TimedOut","$TimeUnit","$TimeZone","$TimeZoneEntity","$TopDirectory","$TraceOff","$TraceOn","$TracePattern","$TracePostAction","$TracePreAction","$UnitSystem","$Urgent","$UserAddOnsDirectory","$UserAgentLanguages","$UserAgentMachine","$UserAgentName","$UserAgentOperatingSystem","$UserAgentString","$UserAgentVersion","$UserBaseDirectory","$UserBasePacletsDirectory","$UserDocumentsDirectory","$Username","$UserName","$UserURLBase","$Version","$VersionNumber","$VideoDecoders","$VideoEncoders","$VoiceStyles","$WolframDocumentsDirectory","$WolframID","$WolframUUID"];function t(r){const n=r.regex,o=/([2-9]|[1-2]\d|[3][0-5])\^\^/,m=/(\w*\.\w+|\w+\.\w*|\w+)/,u=/(\d*\.\d+|\d+\.\d*|\d+)/,h=n.either(n.concat(o,m),u),a=/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,l=/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/,v=n.either(a,l),i=/\*\^[+-]?\d+/,g={className:"number",relevance:0,begin:n.concat(h,n.optional(v),n.optional(i))},p=/[a-zA-Z$][a-zA-Z0-9$]*/,_=new Set(e),c={variants:[{className:"builtin-symbol",begin:p,"on:begin":(C,w)=>{_.has(C[0])||w.ignoreMatch()}},{className:"symbol",relevance:0,begin:p}]},s={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},d={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},f={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},b={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},x={className:"brace",relevance:0,begin:/[[\](){}]/},y={className:"message-name",relevance:0,begin:n.concat("::",p)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[r.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),f,b,y,c,s,r.QUOTE_STRING_MODE,g,d,x]}}return bge=t,bge}var Ege,xFe;function $Ct(){if(xFe)return Ege;xFe=1;function e(t){const r="('|\\.')+",n={relevance:0,contains:[{begin:r}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:n},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+r,relevance:0},{className:"number",begin:t.C_NUMBER_RE,relevance:0,starts:n},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:n},t.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),t.COMMENT("%","$")]}}return Ege=e,Ege}var Sge,bFe;function HCt(){if(bFe)return Sge;bFe=1;function e(t){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},t.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return Sge=e,Sge}var wge,EFe;function VCt(){if(EFe)return wge;EFe=1;function e(t){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:"</",contains:[t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},{begin:/[$%@](\^\w\b|#\w+|[^\s\w{]|\{\w+\}|\w+)/},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}}return wge=e,wge}var Tge,SFe;function GCt(){if(SFe)return Tge;SFe=1;function e(t){const r={keyword:"module use_module import_module include_module end_module initialise mutable initialize finalize finalise interface implementation pred mode func type inst solver any_pred any_func is semidet det nondet multi erroneous failure cc_nondet cc_multi typeclass instance where pragma promise external trace atomic or_else require_complete_switch require_det require_semidet require_multi require_nondet require_cc_multi require_cc_nondet require_erroneous require_failure",meta:"inline no_inline type_spec source_file fact_table obsolete memo loop_check minimal_model terminates does_not_terminate check_termination promise_equivalent_clauses foreign_proc foreign_decl foreign_code foreign_type foreign_import_module foreign_export_enum foreign_export foreign_enum may_call_mercury will_not_call_mercury thread_safe not_thread_safe maybe_thread_safe promise_pure promise_semipure tabled_for_io local untrailed trailed attach_to_io_state can_pass_as_mercury_type stable will_not_throw_exception may_modify_trail will_not_modify_trail may_duplicate may_not_duplicate affects_liveness does_not_affect_liveness doesnt_affect_liveness no_sharing unknown_sharing sharing",built_in:"some all not if then else true fail false try catch catch_any semidet_true semidet_false semidet_fail impure_true impure semipure"},n=t.COMMENT("%","$"),o={className:"number",begin:"0'.\\|0[box][0-9a-fA-F]*"},m=t.inherit(t.APOS_STRING_MODE,{relevance:0}),u=t.inherit(t.QUOTE_STRING_MODE,{relevance:0}),h={className:"subst",begin:"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]",relevance:0};return u.contains=u.contains.slice(),u.contains.push(h),{name:"Mercury",aliases:["m","moo"],keywords:r,contains:[{className:"built_in",variants:[{begin:"<=>"},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},n,t.C_BLOCK_COMMENT_MODE,o,t.NUMBER_MODE,m,u,{begin:/:-/},{begin:/\.$/}]}}return Tge=e,Tge}var Age,wFe;function jCt(){if(wFe)return Age;wFe=1;function e(t){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+t.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},t.COMMENT("[;#](?!\\s*$)","$"),t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return Age=e,Age}var Cge,TFe;function YCt(){if(TFe)return Cge;TFe=1;function e(t){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[t.COMMENT("::","$")]}}return Cge=e,Cge}var kge,AFe;function WCt(){if(AFe)return kge;AFe=1;function e(t){const r=t.regex,n=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],o=/[dualxmsipngr]{0,12}/,m={$pattern:/[\w.]+/,keyword:n.join(" ")},u={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:m},h={begin:/->\{/,end:/\}/},a={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},l={scope:"variable",variants:[{begin:/\$\d/},{begin:r.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[a]},v={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},i=[t.BACKSLASH_ESCAPE,u,l],S=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],g=(c,s,d="\\1")=>{const f=d==="\\1"?d:r.concat(d,s);return r.concat(r.concat("(?:",c,")"),s,/(?:\\.|[^\\\/])*?/,f,/(?:\\.|[^\\\/])*?/,d,o)},p=(c,s,d)=>r.concat(r.concat("(?:",c,")"),s,/(?:\\.|[^\\\/])*?/,d,o),_=[l,t.HASH_COMMENT_MODE,t.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),h,{className:"string",contains:i,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},v,{begin:"(\\/\\/|"+t.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[t.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:g("s|tr|y",r.either(...S,{capture:!0}))},{begin:g("s|tr|y","\\(","\\)")},{begin:g("s|tr|y","\\[","\\]")},{begin:g("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p("(?:m|qr)?",/\//,/\//)},{begin:p("m|qr",r.either(...S,{capture:!0}),/\1/)},{begin:p("m|qr",/\(/,/\)/)},{begin:p("m|qr",/\[/,/\]/)},{begin:p("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE,a]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE,a,v]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return u.contains=_,h.contains=_,{name:"Perl",aliases:["pl","pm"],keywords:m,contains:_}}return kge=e,kge}var Mge,CFe;function KCt(){if(CFe)return Mge;CFe=1;function e(t){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return Mge=e,Mge}var Rge,kFe;function XCt(){if(kFe)return Rge;kFe=1;function e(t){const r={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},t.NUMBER_MODE]},n={variants:[{match:[/(function|method)/,/\s+/,t.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},o={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,t.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[t.COMMENT("#rem","#end"),t.COMMENT("'","$",{relevance:0}),n,o,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[t.UNDERSCORE_TITLE_MODE]},t.QUOTE_STRING_MODE,r]}}return Rge=e,Rge}var Nge,MFe;function qCt(){if(MFe)return Nge;MFe=1;function e(t){const r={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},n="[A-Za-z$_][0-9A-Za-z$_]*",o={className:"subst",begin:/#\{/,end:/\}/,keywords:r},m=[t.inherit(t.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[t.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,o]}]},{className:"built_in",begin:"@__"+t.IDENT_RE},{begin:"@"+t.IDENT_RE},{begin:t.IDENT_RE+"\\\\"+t.IDENT_RE}];o.contains=m;const u=t.inherit(t.TITLE_MODE,{begin:n}),h="(\\(.*\\)\\s*)?\\B[-=]>",a={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:r,contains:["self"].concat(m)}]};return{name:"MoonScript",aliases:["moon"],keywords:r,illegal:/\/\*/,contains:m.concat([t.COMMENT("--","$"),{className:"function",begin:"^\\s*"+n+"\\s*=\\s*"+h,end:"[-=]>",returnBegin:!0,contains:[u,a]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:h,end:"[-=]>",returnBegin:!0,contains:[a]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[u]},u]},{className:"name",begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return Nge=e,Nge}var Ige,RFe;function ZCt(){if(RFe)return Ige;RFe=1;function e(t){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE]},t.C_BLOCK_COMMENT_MODE]}}return Ige=e,Ige}var Lge,NFe;function QCt(){if(NFe)return Lge;NFe=1;function e(t){const r={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},n={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},o={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},m={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[t.inherit(t.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),m,o,r,n]}}return Lge=e,Lge}var Oge,IFe;function JCt(){if(IFe)return Oge;IFe=1;function e(t){const r=t.regex,n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:r.concat(/[$@]/,t.UNDERSCORE_IDENT_RE)}]},m={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[t.HASH_COMMENT_MODE,{className:"string",contains:[t.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[t.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[t.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:m.contains,keywords:{section:"upstream location"}},{className:"section",begin:r.concat(t.UNDERSCORE_IDENT_RE+r.lookahead(/\s+\{/)),relevance:0},{begin:r.lookahead(t.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:t.UNDERSCORE_IDENT_RE,starts:m}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return Oge=e,Oge}var Dge,LFe;function ekt(){if(LFe)return Dge;LFe=1;function e(t){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","concept","const","continue","converter","defer","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},t.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},t.HASH_COMMENT_MODE]}}return Dge=e,Dge}var Pge,OFe;function tkt(){if(OFe)return Pge;OFe=1;function e(t){const r=t.regex,n={keyword:["assert","else","if","in","inherit","let","or","rec","then","with"],literal:["true","false","null"],built_in:["abort","baseNameOf","builtins","derivation","derivationStrict","dirOf","fetchGit","fetchMercurial","fetchTarball","fetchTree","fromTOML","import","isNull","map","placeholder","removeAttrs","scopedImport","throw","toString"]},o={scope:"built_in",match:r.either(...["abort","add","addDrvOutputDependencies","addErrorContext","all","any","appendContext","attrNames","attrValues","baseNameOf","bitAnd","bitOr","bitXor","break","builtins","catAttrs","ceil","compareVersions","concatLists","concatMap","concatStringsSep","convertHash","currentSystem","currentTime","deepSeq","derivation","derivationStrict","dirOf","div","elem","elemAt","false","fetchGit","fetchMercurial","fetchTarball","fetchTree","fetchurl","filter","filterSource","findFile","flakeRefToString","floor","foldl'","fromJSON","fromTOML","functionArgs","genList","genericClosure","getAttr","getContext","getEnv","getFlake","groupBy","hasAttr","hasContext","hashFile","hashString","head","import","intersectAttrs","isAttrs","isBool","isFloat","isFunction","isInt","isList","isNull","isPath","isString","langVersion","length","lessThan","listToAttrs","map","mapAttrs","match","mul","nixPath","nixVersion","null","parseDrvName","parseFlakeRef","partition","path","pathExists","placeholder","readDir","readFile","readFileType","removeAttrs","replaceStrings","scopedImport","seq","sort","split","splitVersion","storeDir","storePath","stringLength","sub","substring","tail","throw","toFile","toJSON","toPath","toString","toXML","trace","traceVerbose","true","tryEval","typeOf","unsafeDiscardOutputDependency","unsafeDiscardStringContext","unsafeGetAttrPos","warn","zipAttrsWith"].map(C=>`builtins\\.${C}`)),relevance:10},m="[A-Za-z_][A-Za-z0-9_'-]*",u={scope:"symbol",match:new RegExp(`<${m}(/${m})*>`)},h="[A-Za-z0-9_\\+\\.-]+",a={scope:"symbol",match:new RegExp(`(\\.\\.|\\.|~)?/(${h})?(/${h})*(?=[\\s;])`)},l=r.either("==","=","\\+\\+","\\+","<=","<\\|","<",">=",">","->","//","/","!=","!","\\|\\|","\\|>","\\?","\\*","&&"),v={scope:"operator",match:r.concat(l,/(?!-)/),relevance:0},i={scope:"number",match:new RegExp(`${t.NUMBER_RE}(?!-)`),relevance:0},S={variants:[{scope:"operator",beforeMatch:/\s/,begin:/-(?!>)/},{begin:[new RegExp(`${t.NUMBER_RE}`),/-/,/(?!>)/],beginScope:{1:"number",2:"operator"}},{begin:[l,/-/,/(?!>)/],beginScope:{1:"operator",2:"operator"}}],relevance:0},g={beforeMatch:/(^|\{|;)\s*/,begin:new RegExp(`${m}(\\.${m})*\\s*=(?!=)`),returnBegin:!0,relevance:0,contains:[{scope:"attr",match:new RegExp(`${m}(\\.${m})*(?=\\s*=)`),relevance:.2}]},p={scope:"char.escape",match:/\\\$/},_={scope:"char.escape",match:/''\$/},c={scope:"subst",begin:/\$\{/,end:/\}/,keywords:n},s={scope:"char.escape",match:/'''/},d={scope:"char.escape",match:/\\(?!\$)./},f={scope:"string",variants:[{begin:"''",end:"''",contains:[_,c,s,d]},{begin:'"',end:'"',contains:[p,c,d]}]},b={scope:"params",match:new RegExp(`${m}\\s*:(?=\\s)`)},x=[i,t.HASH_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),o,f,u,a,b,g,S,v];c.contains=x;const y=[{scope:"meta.prompt",match:/^nix-repl>(?=\s)/,relevance:10},{scope:"meta",beforeMatch:/\s+/,begin:/:([a-z]+|\?)/}];return{name:"Nix",aliases:["nixos"],keywords:n,contains:x.concat(y)}}return Pge=e,Pge}var Fge,DFe;function rkt(){if(DFe)return Fge;DFe=1;function e(t){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Fge=e,Fge}var Bge,PFe;function nkt(){if(PFe)return Bge;PFe=1;function e(t){const r=t.regex,n=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],o=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],m=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],u={className:"variable.constant",begin:r.concat(/\$/,r.either(...n))},h={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},a={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},l={className:"variable",begin:/\$+\([\w^.:!-]+\)/},v={className:"params",begin:r.either(...o)},i={className:"keyword",begin:r.concat(/!/,r.either(...m))},S={className:"char.escape",begin:/\$(\\[nrt]|\$)/},g={className:"title.function",begin:/\w+::\w+/},p={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[S,u,h,a,l]},_=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],c=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],s={match:[/Function/,/\s+/,r.concat(/(\.)?/,t.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},f={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:_,literal:c},contains:[t.HASH_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT(";","$",{relevance:0}),f,s,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},p,i,h,a,l,v,g,t.NUMBER_MODE]}}return Bge=e,Bge}var zge,FFe;function akt(){if(FFe)return zge;FFe=1;function e(t){const r={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,a={"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},l={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:a,illegal:"</",contains:[r,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+l.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:l,contains:[t.UNDERSCORE_TITLE_MODE]},{begin:"\\."+t.UNDERSCORE_IDENT_RE,relevance:0}]}}return zge=e,zge}var Uge,BFe;function ikt(){if(BFe)return Uge;BFe=1;function e(t){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},t.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return Uge=e,Uge}var $ge,zFe;function okt(){if(zFe)return $ge;zFe=1;function e(t){const r={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},n={className:"literal",begin:"false|true|PI|undef"},o={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},m=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),u={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},h={className:"params",begin:"\\(",end:"\\)",contains:["self",o,m,r,n]},a={begin:"[*!#%]",relevance:0},l={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[h,t.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,o,u,m,r,a,l]}}return $ge=e,$ge}var Hge,UFe;function skt(){if(UFe)return Hge;UFe=1;function e(t){const r={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},n=t.COMMENT(/\{/,/\}/,{relevance:0}),o=t.COMMENT("\\(\\*","\\*\\)",{relevance:10}),m={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},u={className:"string",begin:"(#\\d+)+"},h={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[t.inherit(t.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:r,contains:[m,u]},n,o]},a={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:r,illegal:'("|\\$[G-Zg-z]|\\/\\*|</|=>|->)',contains:[n,o,t.C_LINE_COMMENT_MODE,m,u,t.NUMBER_MODE,h,a]}}return Hge=e,Hge}var Vge,$Fe;function lkt(){if($Fe)return Vge;$Fe=1;function e(t){const r=t.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[t.COMMENT("^#","$"),t.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[r]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},t.C_NUMBER_MODE]}}return Vge=e,Vge}var Gge,HFe;function ckt(){if(HFe)return Gge;HFe=1;function e(t){const r={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},n={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[t.HASH_COMMENT_MODE,t.NUMBER_MODE,t.QUOTE_STRING_MODE,r,n]}}return Gge=e,Gge}var jge,VFe;function ukt(){if(VFe)return jge;VFe=1;function e(t){const r=t.COMMENT("--","$"),n="[a-zA-Z_][a-zA-Z_0-9$]*",o="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",m="<<\\s*"+n+"\\s*>>",u="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",h="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",a="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",l="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",v=l.trim().split(" ").map(function(c){return c.split("|")[0]}).join("|"),i="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",S="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",g="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",_="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(c){return c.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:u+a+h,built_in:i+S+g},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:t.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+_+")\\s*\\("},{begin:"\\.("+v+")\\b"},{begin:"\\b("+v+")\\s+PATH\\b",keywords:{keyword:"PATH",type:l.replace("PATH ","")}},{className:"type",begin:"\\b("+v+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},t.END_SAME_AS_BEGIN({begin:o,end:o,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,r,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:m,relevance:10}]}}return jge=e,jge}var Yge,GFe;function dkt(){if(GFe)return Yge;GFe=1;function e(t){const r=t.regex,n=/(?![A-Za-z0-9])(?![$])/,o=r.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),m=r.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),u=r.concat(/[A-Z]+/,n),h={scope:"variable",match:"\\$+"+o},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},v=t.inherit(t.APOS_STRING_MODE,{illegal:null}),i=t.inherit(t.QUOTE_STRING_MODE,{illegal:null,contains:t.QUOTE_STRING_MODE.contains.concat(l)}),S={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:t.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(P,M)=>{M.data._beginMatch=P[1]||P[2]},"on:end":(P,M)=>{M.data._beginMatch!==P[1]&&M.ignoreMatch()}},g=t.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[
]`,_={scope:"string",variants:[i,v,S,g]},c={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},s=["false","null","true"],d=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],f=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],x={keyword:d,literal:(P=>{const M=[];return P.forEach(F=>{M.push(F),F.toLowerCase()===F?M.push(F.toUpperCase()):M.push(F.toLowerCase())}),M})(s),built_in:f},y=P=>P.map(M=>M.replace(/\|\d+$/,"")),C={variants:[{match:[/new/,r.concat(p,"+"),r.concat("(?!",y(f).join("\\b|"),"\\b)"),m],scope:{1:"keyword",4:"title.class"}}]},w=r.concat(o,"\\b(?!\\()"),R={variants:[{match:[r.concat(/::/,r.lookahead(/(?!class\b)/)),w],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[m,r.concat(/::/,r.lookahead(/(?!class\b)/)),w],scope:{1:"title.class",3:"variable.constant"}},{match:[m,r.concat("::",r.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[m,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},A={scope:"attr",match:r.concat(o,r.lookahead(":"),r.lookahead(/(?!::)/))},E={relevance:0,begin:/\(/,end:/\)/,keywords:x,contains:[A,h,R,t.C_BLOCK_COMMENT_MODE,_,c,C]},k={relevance:0,match:[/\b/,r.concat("(?!fn\\b|function\\b|",y(d).join("\\b|"),"|",y(f).join("\\b|"),"\\b)"),o,r.concat(p,"*"),r.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[E]};E.contains.push(k);const L=[A,R,t.C_BLOCK_COMMENT_MODE,_,c,C],I={begin:r.concat(/#\[\s*\\?/,r.either(m,u)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:s,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:s,keyword:["new","array"]},contains:["self",...L]},...L,{scope:"meta",variants:[{match:m},{match:u}]}]};return{case_insensitive:!1,keywords:x,contains:[I,t.HASH_COMMENT_MODE,t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:t.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},a,{scope:"variable.language",match:/\$this\b/},h,k,R,{match:[/const/,/\s/,o],scope:{1:"keyword",3:"variable.constant"}},C,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},t.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:x,contains:["self",I,h,R,t.C_BLOCK_COMMENT_MODE,_,c]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},t.UNDERSCORE_TITLE_MODE]},_,c]}}return Yge=e,Yge}var Wge,jFe;function fkt(){if(jFe)return Wge;jFe=1;function e(t){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return Wge=e,Wge}var Kge,YFe;function hkt(){if(YFe)return Kge;YFe=1;function e(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Kge=e,Kge}var Xge,WFe;function pkt(){if(WFe)return Xge;WFe=1;function e(t){const r={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},n={className:"string",begin:'"""',end:'"""',relevance:10},o={className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE]},m={className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE],relevance:0},u={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},h={begin:t.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:r,contains:[u,n,o,m,h,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}}return Xge=e,Xge}var qge,KFe;function vkt(){if(KFe)return qge;KFe=1;function e(t){const r=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],n="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",o="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",m={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},u=/\w[\w\d]*((-)[\w\d]+)*/,h={begin:"`[\\s\\S]",relevance:0},a={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},l={className:"literal",begin:/\$(null|true|false)\b/},v={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[h,a,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},i={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},S={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},g=t.inherit(t.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[S]}),p={className:"built_in",variants:[{begin:"(".concat(n,")+(-)[\\w\\d]+")}]},_={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[t.TITLE_MODE]},c={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:u,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[a]}]},s={begin:/using\s/,end:/$/,returnBegin:!0,contains:[v,i,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},d={variants:[{className:"operator",begin:"(".concat(o,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},f={className:"selector-tag",begin:/@\B/,relevance:0},b={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(m.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},t.inherit(t.TITLE_MODE,{endsParent:!0})]},x=[b,g,h,t.NUMBER_MODE,v,i,p,a,l,f],y={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",x,{begin:"("+r.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return b.contains.unshift(y),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:m,contains:x.concat(_,c,s,d,y)}}return qge=e,qge}var Zge,XFe;function mkt(){if(XFe)return Zge;XFe=1;function e(t){const r=t.regex,n=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],o=t.IDENT_RE,m={variants:[{match:r.concat(r.either(...n),r.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:r.concat(/\b(?!for|if|while)/,o,r.lookahead(/\s*\(/)),className:"title.function"}]},u={match:[/new\s+/,o],className:{1:"keyword",2:"class.title"}},h={relevance:0,match:[/\./,o],className:{2:"property"}},a={variants:[{match:[/class/,/\s+/,o,/\s+/,/extends/,/\s+/,o]},{match:[/class/,/\s+/,o]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},l=["boolean","byte","char","color","double","float","int","long","short"],v=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...n,...v],type:l},contains:[a,u,m,h,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}return Zge=e,Zge}var Qge,qFe;function gkt(){if(qFe)return Qge;qFe=1;function e(t){return{name:"Python profiler",contains:[t.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[t.C_NUMBER_MODE],relevance:10},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return Qge=e,Qge}var Jge,ZFe;function ykt(){if(ZFe)return Jge;ZFe=1;function e(t){const r={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},n={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},o={begin:/\(/,end:/\)/,relevance:0},m={begin:/\[/,end:/\]/},u={className:"comment",begin:/%/,end:/$/,contains:[t.PHRASAL_WORDS_MODE]},h={className:"string",begin:/`/,end:/`/,contains:[t.BACKSLASH_ESCAPE]},a={className:"string",begin:/0'(\\'|.)/},l={className:"string",begin:/0'\\s/},i=[r,n,o,{begin:/:-/},m,u,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,h,a,l,t.C_NUMBER_MODE];return o.contains=i,m.contains=i,{name:"Prolog",contains:i.concat([{begin:/\.$/}])}}return Jge=e,Jge}var eye,QFe;function _kt(){if(QFe)return eye;QFe=1;function e(t){const r="[ \\t\\f]*",n="[ \\t\\f]+",o=r+"[:=]"+r,m=n,u="("+o+"|"+m+")",h="([^\\\\:= \\t\\f\\n]|\\\\.)+",a={end:u,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[t.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:h+o},{begin:h+m}],contains:[{className:"attr",begin:h,endsParent:!0}],starts:a},{className:"attr",begin:h+r+"$"}]}}return eye=e,eye}var tye,JFe;function xkt(){if(JFe)return tye;JFe=1;function e(t){const r=["package","import","option","optional","required","repeated","group","oneof"],n=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],o={match:[/(message|enum|service)\s+/,t.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:r,type:n,literal:["true","false"]},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,o,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return tye=e,tye}var rye,eBe;function bkt(){if(eBe)return rye;eBe=1;function e(t){const r={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},n=t.COMMENT("#","$"),o="([A-Za-z_]|::)(\\w|::)*",m=t.inherit(t.TITLE_MODE,{begin:o}),u={className:"variable",begin:"\\$"+o},h={className:"string",contains:[t.BACKSLASH_ESCAPE,u],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[n,u,h,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[m,n]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:t.IDENT_RE,endsParent:!0}]},{begin:t.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:t.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:r,relevance:0,contains:[h,n,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:t.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},u]}],relevance:0}]}}return rye=e,rye}var nye,tBe;function Ekt(){if(tBe)return nye;tBe=1;function e(t){const r={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},n={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning 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 EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[t.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},t.UNDERSCORE_TITLE_MODE]},r,n]}}return nye=e,nye}var aye,rBe;function Skt(){if(rBe)return aye;rBe=1;function e(t){const r=t.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),o=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],a={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:o,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},l={className:"meta",begin:/^(>>>|\.\.\.) /},v={className:"subst",begin:/\{/,end:/\}/,keywords:a,illegal:/#/},i={begin:/\{\{/,relevance:0},S={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,l,i,v]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,l,i,v]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,i,v]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,i,v]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",p=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,_=`\\b|${o.join("|")}`,c={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${p}))[eE][+-]?(${g})[jJ]?(?=${_})`},{begin:`(${p})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${_})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${_})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${_})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${_})`},{begin:`\\b(${g})[jJ](?=${_})`}]},s={className:"comment",begin:r.lookahead(/# type:/),end:/$/,keywords:a,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},d={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:["self",l,c,S,t.HASH_COMMENT_MODE]}]};return v.contains=[S,c,l],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:a,illegal:/(<\/|\?)|=>/,contains:[l,c,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},S,s,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[d]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[c,d,S]}]}}return aye=e,aye}var iye,nBe;function wkt(){if(nBe)return iye;nBe=1;function e(t){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return iye=e,iye}var oye,aBe;function Tkt(){if(aBe)return oye;aBe=1;function e(t){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[t.C_LINE_COMMENT_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}return oye=e,oye}var sye,iBe;function Akt(){if(iBe)return sye;iBe=1;function e(t){const r=t.regex,n={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},o="[a-zA-Z_][a-zA-Z0-9\\._]*",m={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},u={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},h={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:o,returnEnd:!1}},a={begin:o+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:o,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},l={begin:r.concat(o,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[t.inherit(t.TITLE_MODE,{begin:o})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:n,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:t.C_NUMBER_RE}],relevance:0},{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.REGEXP_MODE,{begin:/</,end:/>\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},u,m,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+t.IDENT_RE,relevance:0},h,a,l],illegal:/#/}}return sye=e,sye}var lye,oBe;function Ckt(){if(oBe)return lye;oBe=1;function e(t){const r=t.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,o=r.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),m=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,u=r.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[t.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:r.lookahead(r.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),t.HASH_COMMENT_MODE,{scope:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[m,o]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,o]},{scope:{1:"punctuation",2:"number"},match:[u,o]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,o]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:m},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:u},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return lye=e,lye}var cye,sBe;function kkt(){if(sBe)return cye;sBe=1;function e(t){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},t.C_LINE_COMMENT_MODE,t.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},t.inherit(t.APOS_STRING_MODE,{scope:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}return cye=e,cye}var uye,lBe;function Mkt(){if(lBe)return uye;lBe=1;function e(t){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"</",contains:[t.HASH_COMMENT_MODE,t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]}}return uye=e,uye}var dye,cBe;function Rkt(){if(cBe)return dye;cBe=1;function e(t){const r="[a-zA-Z-_][^\\n{]+\\{",n={className:"attribute",begin:/[a-zA-Z-_]+/,end:/\s*:/,excludeEnd:!0,starts:{end:";",relevance:0,contains:[{className:"variable",begin:/\.[a-zA-Z-_]+/},{className:"keyword",begin:/\(optional\)/}]}};return{name:"Roboconf",aliases:["graph","instances"],case_insensitive:!0,keywords:"import",contains:[{begin:"^facet "+r,end:/\}/,keywords:"facet",contains:[n,t.HASH_COMMENT_MODE]},{begin:"^\\s*instance of "+r,end:/\}/,keywords:"name count channels instance-data instance-state instance of",illegal:/\S/,contains:["self",n,t.HASH_COMMENT_MODE]},{begin:"^"+r,end:/\}/,contains:[n,t.HASH_COMMENT_MODE]},t.HASH_COMMENT_MODE]}}return dye=e,dye}var fye,uBe;function Nkt(){if(uBe)return fye;uBe=1;function e(t){const r="foreach do while for if from to step else on-error and or not in",n="global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime",o="add remove enable disable set get print export edit find run debug error info warning",m="true false yes no nothing nil null",u="traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw",h={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,h,{className:"variable",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]}]},l={className:"string",begin:/'/,end:/'/};return{name:"MikroTik RouterOS script",aliases:["mikrotik"],case_insensitive:!0,keywords:{$pattern:/:?[\w-]+/,literal:m,keyword:r+" :"+r.split(" ").join(" :")+" :"+n.split(" ").join(" :")},contains:[{variants:[{begin:/\/\*/,end:/\*\//},{begin:/\/\//,end:/$/},{begin:/<\//,end:/>/}],illegal:/./},t.COMMENT("^#","$"),a,l,h,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[a,l,h,{className:"literal",begin:"\\b("+m.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+o.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+u.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return fye=e,fye}var hye,dBe;function Ikt(){if(dBe)return hye;dBe=1;function e(t){const r=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],n=["matrix","float","color","point","normal","vector"],o=["while","for","if","do","return","else","break","extern","continue"],m={match:[/(surface|displacement|light|volume|imager)/,/\s+/,t.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:o,built_in:r,type:n},illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},m,{beginKeywords:"illuminate illuminance gather",end:"\\("}]}}return hye=e,hye}var pye,fBe;function Lkt(){if(fBe)return pye;fBe=1;function e(t){return{name:"Oracle Rules Language",keywords:{keyword:"BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM NUMDAYS READ_DATE STAGING",built_in:"IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"literal",variants:[{begin:"#\\s+",relevance:0},{begin:"#[a-zA-Z .]+"}]}]}}return pye=e,pye}var vye,hBe;function Okt(){if(hBe)return vye;hBe=1;function e(t){const r=t.regex,n=/(r#)?/,o=r.concat(n,t.UNDERSCORE_IDENT_RE),m=r.concat(n,t.IDENT_RE),u={className:"title.function.invoke",relevance:0,begin:r.concat(/\b/,/(?!let|for|while|if|else|match\b)/,m,r.lookahead(/\s*\(/))},h="([ui](8|16|32|64|128|size)|f(32|64))?",a=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],l=["true","false","Some","None","Ok","Err"],v=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],i=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:t.IDENT_RE+"!?",type:i,keyword:a,literal:l,built_in:v},illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),t.inherit(t.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:"number",variants:[{begin:"\\b0b([01_]+)"+h},{begin:"\\b0o([0-7_]+)"+h},{begin:"\\b0x([A-Fa-f0-9_]+)"+h},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+h}],relevance:0},{begin:[/fn/,/\s+/,o],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,o],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,o,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,o],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,o],className:{1:"keyword",3:"title.class"}},{begin:t.IDENT_RE+"::",keywords:{keyword:"Self",built_in:v,type:i}},{className:"punctuation",begin:"->"},u]}}return vye=e,vye}var mye,pBe;function Dkt(){if(pBe)return mye;pBe=1;function e(t){const r=t.regex,n=["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"],o=["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"],m=["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:n},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+r.either(...m)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:r.either(...o)+"(?=\\()"},{className:"string",variants:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},t.COMMENT("\\*",";"),t.C_BLOCK_COMMENT_MODE]}}return mye=e,mye}var gye,vBe;function Pkt(){if(vBe)return gye;vBe=1;function e(t){const r=t.regex,n={className:"meta",begin:"@[A-Za-z]+"},o={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},m={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,o]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[o],relevance:10}]},u={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},h={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},a={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[u,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[u,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},h]},l={className:"function",beginKeywords:"def",end:r.lookahead(/[:={\[(\n;]/),contains:[h]},v={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},i={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},S=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],g={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,m,u,l,a,t.C_NUMBER_MODE,v,i,...S,g,n]}}return gye=e,gye}var yye,mBe;function Fkt(){if(mBe)return yye;mBe=1;function e(t){const r="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",n="(-|\\+)?\\d+([./]\\d+)?",o=n+"[+\\-]"+n+"i",m={$pattern:r,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},u={className:"literal",begin:"(#t|#f|#\\\\"+r+"|#\\\\.)"},h={className:"number",variants:[{begin:n,relevance:0},{begin:o,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},a=t.QUOTE_STRING_MODE,l=[t.COMMENT(";","$",{relevance:0}),t.COMMENT("#\\|","\\|#")],v={begin:r,relevance:0},i={className:"symbol",begin:"'"+r},S={endsWithParent:!0,relevance:0},g={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",u,a,h,v,i]}]},p={className:"name",relevance:0,begin:r,keywords:m},c={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[p,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[v]}]},p,S]};return S.contains=[u,h,a,v,i,g,c].concat(l),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[t.SHEBANG(),h,a,i,g,c].concat(l)}}return yye=e,yye}var _ye,gBe;function Bkt(){if(gBe)return _ye;gBe=1;function e(t){const r=[t.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[t.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:r},t.COMMENT("//","$")].concat(r)}}return _ye=e,_ye}var xye,yBe;function zkt(){if(yBe)return xye;yBe=1;const e=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],r=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],n=[...t,...r],o=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),m=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),u=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),h=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function a(l){const v=e(l),i=u,S=m,g="@[a-z-]+",p="and or not only",c={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,v.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},v.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+n.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+S.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+i.join("|")+")"},c,{begin:/\(/,end:/\)/,contains:[v.CSS_NUMBER_MODE]},v.CSS_VARIABLE,{className:"attribute",begin:"\\b("+h.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[v.BLOCK_COMMENT,c,v.HEXCOLOR,v.CSS_NUMBER_MODE,l.QUOTE_STRING_MODE,l.APOS_STRING_MODE,v.IMPORTANT,v.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:g,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:p,attribute:o.join(" ")},contains:[{begin:g,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},c,l.QUOTE_STRING_MODE,l.APOS_STRING_MODE,v.HEXCOLOR,v.CSS_NUMBER_MODE]},v.FUNCTION_DISPATCH]}}return xye=a,xye}var bye,_Be;function Ukt(){if(_Be)return bye;_Be=1;function e(t){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return bye=e,bye}var Eye,xBe;function $kt(){if(xBe)return Eye;xBe=1;function e(t){const r=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],n=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],o=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},t.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+o.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+r.join("|")+")\\s"},{begin:"\\s("+r.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+n.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;:
]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return Eye=e,Eye}var Sye,bBe;function Hkt(){if(bBe)return Sye;bBe=1;function e(t){const r="[a-z][a-zA-Z0-9_]*",n={className:"string",begin:"\\$.{1}"},o={className:"symbol",begin:"#"+t.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[t.COMMENT('"','"'),t.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:r+":",relevance:0},t.C_NUMBER_MODE,o,n,{begin:"\\|[ ]*"+r+"([ ]+"+r+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+r}]},{begin:"#\\(",end:"\\)",contains:[t.APOS_STRING_MODE,n,t.C_NUMBER_MODE,o]}]}}return Sye=e,Sye}var wye,EBe;function Vkt(){if(EBe)return wye;EBe=1;function e(t){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"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 with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},t.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return wye=e,wye}var Tye,SBe;function Gkt(){if(SBe)return Tye;SBe=1;function e(t){const r={className:"variable",begin:/\b_+[a-zA-Z]\w*/},n={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},o={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},m=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],u=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],h=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","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","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","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","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","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","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","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","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","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","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","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_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","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","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","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","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","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","keys","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","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","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","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","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","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","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","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","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","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","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","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","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","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","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","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],a={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},t.inherit(o,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:m,built_in:h,literal:u},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.NUMBER_MODE,r,n,o,a],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}return Tye=e,Tye}var Aye,wBe;function jkt(){if(wBe)return Aye;wBe=1;function e(t){const r=t.regex,n=t.COMMENT("--","$"),o={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},m={begin:/"/,end:/"/,contains:[{match:/""/}]},u=["true","false","unknown"],h=["double precision","large object","with timezone","without timezone"],a=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],l=["add","asc","collation","desc","final","first","last","view"],v=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],i=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],S=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],g=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],p=i,_=[...v,...l].filter(y=>!i.includes(y)),c={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},s={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},d={match:r.concat(/\b/,r.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function f(y){return r.concat(/\b/,r.either(...y.map(C=>C.replace(/\s+/,"\\s+"))),/\b/)}const b={scope:"keyword",match:f(g),relevance:0};function x(y,{exceptions:C,when:w}={}){const R=w;return C=C||[],y.map(A=>A.match(/\|\d+$/)||C.includes(A)?A:R(A)?`${A}|0`:A)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:x(_,{when:y=>y.length<3}),literal:u,type:a,built_in:S},contains:[{scope:"type",match:f(h)},b,d,c,o,m,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,n,s]}}return Aye=e,Aye}var Cye,TBe;function Ykt(){if(TBe)return Cye;TBe=1;function e(t){const r=t.regex,n=["functions","model","data","parameters","quantities","transformed","generated"],o=["for","in","if","else","while","break","continue","return"],m=["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],u=["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],h=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],a=t.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),l={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},t.C_LINE_COMMENT_MODE]},v=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:t.IDENT_RE,title:n,type:m,keyword:o,built_in:u},contains:[t.C_LINE_COMMENT_MODE,l,t.HASH_COMMENT_MODE,a,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:r.concat(/[<,]\s*/,r.either(...v),/\s*=/),keywords:v},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,r.either(...h),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:h,begin:r.concat(/\w*/,r.either(...h),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,r.concat(r.either(...h),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+r.either(...h)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:r.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}return Cye=e,Cye}var kye,ABe;function Wkt(){if(ABe)return kye;ABe=1;function e(t){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r
]*?"'`},{begin:`"[^\r
"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},t.COMMENT("^[ ]*\\*.*$",!1),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}}return kye=e,kye}var Mye,CBe;function Kkt(){if(CBe)return Mye;CBe=1;function e(t){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT("/\\*\\*!","\\*/"),t.C_NUMBER_MODE,t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}return Mye=e,Mye}var Rye,kBe;function Xkt(){if(kBe)return Rye;kBe=1;const e=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],r=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],n=[...t,...r],o=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),m=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),u=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),h=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function a(l){const v=e(l),i="and or not only",S={className:"variable",begin:"\\$"+l.IDENT_RE},g=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],p="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[l.QUOTE_STRING_MODE,l.APOS_STRING_MODE,l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,v.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+p,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+p,className:"selector-id"},{begin:"\\b("+n.join("|")+")"+p,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+m.join("|")+")"+p},{className:"selector-pseudo",begin:"&?:(:)?("+u.join("|")+")"+p},v.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:o.join(" ")},contains:[v.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+g.join("|")+"))\\b"},S,v.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[v.HEXCOLOR,S,l.APOS_STRING_MODE,v.CSS_NUMBER_MODE,l.QUOTE_STRING_MODE]}]},v.CSS_VARIABLE,{className:"attribute",begin:"\\b("+h.join("|")+")\\b",starts:{end:/;|$/,contains:[v.HEXCOLOR,S,l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,v.CSS_NUMBER_MODE,l.C_BLOCK_COMMENT_MODE,v.IMPORTANT,v.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},v.FUNCTION_DISPATCH]}}return Rye=a,Rye}var Nye,MBe;function qkt(){if(MBe)return Nye;MBe=1;function e(t){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[
(multipart)?`,end:`\\]
`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return Nye=e,Nye}var Iye,RBe;function Zkt(){if(RBe)return Iye;RBe=1;function e(w){return w?typeof w=="string"?w:w.source:null}function t(w){return r("(?=",w,")")}function r(...w){return w.map(A=>e(A)).join("")}function n(w){const R=w[w.length-1];return typeof R=="object"&&R.constructor===Object?(w.splice(w.length-1,1),R):{}}function o(...w){return"("+(n(w).capture?"":"?:")+w.map(E=>e(E)).join("|")+")"}const m=w=>r(/\b/,w,/\w$/.test(w)?/\b/:/\B/),u=["Protocol","Type"].map(m),h=["init","self"].map(m),a=["Any","Self"],l=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],v=["false","nil","true"],i=["assignment","associativity","higherThan","left","lowerThan","none","right"],S=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],g=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],p=o(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),_=o(p,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),c=r(p,_,"*"),s=o(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),d=o(s,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),f=r(s,d,"*"),b=r(/[A-Z]/,d,"*"),x=["attached","autoclosure",r(/convention\(/,o("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",r(/objc\(/,f,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],y=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function C(w){const R={match:/\s+/,relevance:0},A=w.COMMENT("/\\*","\\*/",{contains:["self"]}),E=[w.C_LINE_COMMENT_MODE,A],k={match:[/\./,o(...u,...h)],className:{2:"keyword"}},L={match:r(/\./,o(...l)),relevance:0},I=l.filter(tt=>typeof tt=="string").concat(["_|0"]),P=l.filter(tt=>typeof tt!="string").concat(a).map(m),M={variants:[{className:"keyword",match:o(...P,...h)}]},F={$pattern:o(/\b\w+/,/#\w+/),keyword:I.concat(S),literal:v},N=[k,L,M],T={match:r(/\./,o(...g)),relevance:0},D={className:"built_in",match:r(/\b/,o(...g),/(?=\()/)},O=[T,D],U={match:/->/,relevance:0},B={className:"operator",relevance:0,variants:[{match:c},{match:`\\.(\\.|${_})+`}]},Y=[U,B],z="([0-9]_*)+",V="([0-9a-fA-F]_*)+",j={className:"number",relevance:0,variants:[{match:`\\b(${z})(\\.(${z}))?([eE][+-]?(${z}))?\\b`},{match:`\\b0x(${V})(\\.(${V}))?([pP][+-]?(${z}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},G=(tt="")=>({className:"subst",variants:[{match:r(/\\/,tt,/[0\\tnr"']/)},{match:r(/\\/,tt,/u\{[0-9a-fA-F]{1,8}\}/)}]}),W=(tt="")=>({className:"subst",match:r(/\\/,tt,/[\t ]*(?:[\r\n]|\r\n)/)}),X=(tt="")=>({className:"subst",label:"interpol",begin:r(/\\/,tt,/\(/),end:/\)/}),Q=(tt="")=>({begin:r(tt,/"""/),end:r(/"""/,tt),contains:[G(tt),W(tt),X(tt)]}),ae=(tt="")=>({begin:r(tt,/"/),end:r(/"/,tt),contains:[G(tt),X(tt)]}),ie={className:"string",variants:[Q(),Q("#"),Q("##"),Q("###"),ae(),ae("#"),ae("##"),ae("###")]},he=[w.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[w.BACKSLASH_ESCAPE]}],J={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:he},Z=tt=>{const et=r(tt,/\//),pt=r(/\//,tt);return{begin:et,end:pt,contains:[...he,{scope:"comment",begin:`#(?!.*${pt})`,end:/$/}]}},le={scope:"regexp",variants:[Z("###"),Z("##"),Z("#"),J]},K={match:r(/`/,f,/`/)},te={className:"variable",match:/\$\d+/},ce={className:"variable",match:`\\$${d}+`},re=[K,te,ce],ee={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:y,contains:[...Y,j,ie]}]}},de={scope:"keyword",match:r(/@/,o(...x),t(o(/\(/,/\s+/)))},oe={scope:"meta",match:r(/@/,f)},fe=[ee,de,oe],me={match:t(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:r(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,d,"+")},{className:"type",match:b,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:r(/\s+&\s+/,t(b)),relevance:0}]},Te={begin:/</,end:/>/,keywords:F,contains:[...E,...N,...fe,U,me]};me.contains.push(Te);const we={match:r(f,/\s*:/),keywords:"_|0",relevance:0},Be={begin:/\(/,end:/\)/,relevance:0,keywords:F,contains:["self",we,...E,le,...N,...O,...Y,j,ie,...re,...fe,me]},Ae={begin:/</,end:/>/,keywords:"repeat each",contains:[...E,me]},Re={begin:o(t(r(f,/\s*:/)),t(r(f,/\s+/,f,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:f}]},be={begin:/\(/,end:/\)/,keywords:F,contains:[Re,...E,...N,...Y,j,ie,...fe,me,Be],endsParent:!0,illegal:/["']/},Pe={match:[/(func|macro)/,/\s+/,o(K.match,f,c)],className:{1:"keyword",3:"title.function"},contains:[Ae,be,R],illegal:[/\[/,/%/]},Ke={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Ae,be,R],illegal:/\[|%/},ze={match:[/operator/,/\s+/,c],className:{1:"keyword",3:"title"}},Fe={begin:[/precedencegroup/,/\s+/,b],className:{1:"keyword",3:"title"},contains:[me],keywords:[...i,...v],end:/}/},We={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},lt={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},ht={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,f,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:F,contains:[Ae,...N,{begin:/:/,end:/\{/,keywords:F,contains:[{scope:"title.class.inherited",match:b},...N],relevance:0}]};for(const tt of ie.variants){const et=tt.contains.find(vt=>vt.label==="interpol");et.keywords=F;const pt=[...N,...O,...Y,j,ie,...re];et.contains=[...pt,{begin:/\(/,end:/\)/,contains:["self",...pt]}]}return{name:"Swift",keywords:F,contains:[...E,Pe,Ke,We,lt,ht,ze,Fe,{beginKeywords:"import",end:/$/,contains:[...E],relevance:0},le,...N,...O,...Y,j,ie,...re,...fe,me,Be]}}return Iye=C,Iye}var Lye,NBe;function Qkt(){if(NBe)return Lye;NBe=1;function e(t){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}return Lye=e,Lye}var Oye,IBe;function Jkt(){if(IBe)return Oye;IBe=1;function e(t){const r="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",o={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},m={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},u={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},h={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,m]},a=t.inherit(h,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),g={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:r,relevance:0},_={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},c={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},s=[o,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:r,keywords:{literal:r}},g,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},_,c,u,h],d=[...s];return d.pop(),d.push(a),p.contains=d,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:s}}return Oye=e,Oye}var Dye,LBe;function eMt(){if(LBe)return Dye;LBe=1;function e(t){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[t.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return Dye=e,Dye}var Pye,OBe;function tMt(){if(OBe)return Pye;OBe=1;function e(t){const r=t.regex,n=/[a-zA-Z_][a-zA-Z0-9_]*/,o={className:"number",variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[t.COMMENT(";[ \\t]*#","$"),t.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:r.concat(/\$/,r.optional(/::/),n,"(::",n,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[o]}]},{className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.inherit(t.QUOTE_STRING_MODE,{illegal:null})]},o]}}return Pye=e,Pye}var Fye,DBe;function rMt(){if(DBe)return Fye;DBe=1;function e(t){const r=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:r,literal:"true false"},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...r,"set","list","map"]},end:">",contains:["self"]}]}}return Fye=e,Fye}var Bye,PBe;function nMt(){if(PBe)return Bye;PBe=1;function e(t){const r={className:"number",begin:"[1-9][0-9]*",relevance:0},n={className:"symbol",begin:":[^\\]]+"},o={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",r,n]},m={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",r,t.QUOTE_STRING_MODE,n]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[o,m,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},t.COMMENT("//","[;$]"),t.COMMENT("!","[;$]"),t.COMMENT("--eg:","$"),t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},t.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return Bye=e,Bye}var zye,FBe;function aMt(){if(FBe)return zye;FBe=1;function e(t){const r=t.regex,n=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],o=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let m=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];m=m.concat(m.map(_=>`end${_}`));const u={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},h={scope:"number",match:/\d+/},a={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[u,h]},l={beginKeywords:n.join(" "),keywords:{name:n},relevance:0,contains:[a]},v={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:o}]},i=(_,{relevance:c})=>({beginScope:{1:"template-tag",3:"name"},relevance:c||2,endScope:"template-tag",begin:[/\{%/,/\s*/,r.either(..._)],end:/%\}/,keywords:"in",contains:[v,l,u,h]}),S=/[a-z_]+/,g=i(m,{relevance:2}),p=i([S],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[t.COMMENT(/\{#/,/#\}/),g,p,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",v,l,u,h]}]}}return zye=e,zye}var Uye,BBe;function iMt(){if(BBe)return Uye;BBe=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],r=["true","false","null","undefined","NaN","Infinity"],n=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],m=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],u=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h=[].concat(m,n,o);function a(v){const i=v.regex,S=(G,{after:W})=>{const X="</"+G[0].slice(1);return G.input.indexOf(X,W)!==-1},g=e,p={begin:"<>",end:"</>"},_=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(G,W)=>{const X=G[0].length+G.index,Q=G.input[X];if(Q==="<"||Q===","){W.ignoreMatch();return}Q===">"&&(S(G,{after:X})||W.ignoreMatch());let ae;const ie=G.input.substring(X);if(ae=ie.match(/^\s*=/)){W.ignoreMatch();return}if((ae=ie.match(/^\s+extends\s+/))&&ae.index===0){W.ignoreMatch();return}}},s={$pattern:e,keyword:t,literal:r,built_in:h,"variable.language":u},d="[0-9](_?[0-9])*",f=`\\.(${d})`,b="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",x={className:"number",variants:[{begin:`(\\b(${b})((${f})|\\.)?|(${f}))[eE][+-]?(${d})\\b`},{begin:`\\b(${b})\\b((${f})\\b|\\.)?|(${f})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},y={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},C={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[v.BACKSLASH_ESCAPE,y],subLanguage:"xml"}},w={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[v.BACKSLASH_ESCAPE,y],subLanguage:"css"}},R={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[v.BACKSLASH_ESCAPE,y],subLanguage:"graphql"}},A={className:"string",begin:"`",end:"`",contains:[v.BACKSLASH_ESCAPE,y]},k={className:"comment",variants:[v.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:g+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),v.C_BLOCK_COMMENT_MODE,v.C_LINE_COMMENT_MODE]},L=[v.APOS_STRING_MODE,v.QUOTE_STRING_MODE,C,w,R,A,{match:/\$\d+/},x];y.contains=L.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(L)});const I=[].concat(k,y.contains),P=I.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(I)}]),M={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:P},F={variants:[{match:[/class/,/\s+/,g,/\s+/,/extends/,/\s+/,i.concat(g,"(",i.concat(/\./,g),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,g],scope:{1:"keyword",3:"title.class"}}]},N={relevance:0,match:i.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...n,...o]}},T={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},D={variants:[{match:[/function/,/\s+/,g,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[M],illegal:/%/},O={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function U(G){return i.concat("(?!",G.join("|"),")")}const B={match:i.concat(/\b/,U([...m,"super","import"].map(G=>`${G}\\s*\\(`)),g,i.lookahead(/\s*\(/)),className:"title.function",relevance:0},Y={begin:i.concat(/\./,i.lookahead(i.concat(g,/(?![0-9A-Za-z$_(])/))),end:g,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},z={match:[/get|set/,/\s+/,g,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},M]},V="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+v.UNDERSCORE_IDENT_RE+")\\s*=>",j={match:[/const|var|let/,/\s+/,g,/\s*/,/=\s*/,/(async\s*)?/,i.lookahead(V)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[M]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:P,CLASS_REFERENCE:N},illegal:/#(?![$_A-z])/,contains:[v.SHEBANG({label:"shebang",binary:"node",relevance:5}),T,v.APOS_STRING_MODE,v.QUOTE_STRING_MODE,C,w,R,A,k,{match:/\$\d+/},x,N,{scope:"attr",match:g+i.lookahead(":"),relevance:0},j,{begin:"("+v.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[k,v.REGEXP_MODE,{className:"function",begin:V,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:v.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:P}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:p.begin,end:p.end},{match:_},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},D,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+v.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[M,v.inherit(v.TITLE_MODE,{begin:g,className:"title.function"})]},{match:/\.\.\./,relevance:0},Y,{match:"\\$"+g,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[M]},B,O,F,z,{match:/\$[(.]/}]}}function l(v){const i=v.regex,S=a(v),g=e,p=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],_={begin:[/namespace/,/\s+/,v.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},c={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:p},contains:[S.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},d=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],f={$pattern:e,keyword:t.concat(d),literal:r,built_in:h.concat(p),"variable.language":u},b={className:"meta",begin:"@"+g},x=(R,A,E)=>{const k=R.contains.findIndex(L=>L.label===A);if(k===-1)throw new Error("can not find mode to replace");R.contains.splice(k,1,E)};Object.assign(S.keywords,f),S.exports.PARAMS_CONTAINS.push(b);const y=S.contains.find(R=>R.scope==="attr"),C=Object.assign({},y,{match:i.concat(g,i.lookahead(/\s*\?:/))});S.exports.PARAMS_CONTAINS.push([S.exports.CLASS_REFERENCE,y,C]),S.contains=S.contains.concat([b,_,c,C]),x(S,"shebang",v.SHEBANG()),x(S,"use_strict",s);const w=S.contains.find(R=>R.label==="func.def");return w.relevance=0,Object.assign(S,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),S}return Uye=l,Uye}var $ye,zBe;function oMt(){if(zBe)return $ye;zBe=1;function e(t){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[t.UNDERSCORE_TITLE_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}return $ye=e,$ye}var Hye,UBe;function sMt(){if(UBe)return Hye;UBe=1;function e(t){const r=t.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},o={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},m=/\d{1,2}\/\d{1,2}\/\d{4}/,u=/\d{4}-\d{1,2}-\d{1,2}/,h=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,a=/\d{1,2}(:\d{1,2}){1,2}/,l={className:"literal",variants:[{begin:r.concat(/# */,r.either(u,m),/ *#/)},{begin:r.concat(/# */,a,/ *#/)},{begin:r.concat(/# */,h,/ *#/)},{begin:r.concat(/# */,r.either(u,m),/ +/,r.either(h,a),/ *#/)}]},v={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},i={className:"label",begin:/^\w+:/},S=t.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),g=t.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[n,o,l,v,i,S,g,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[g]}]}}return Hye=e,Hye}var Vye,$Be;function lMt(){if($Be)return Vye;$Be=1;function e(t){const r=t.regex,n=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],o=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],m={begin:r.concat(r.either(...n),"\\s*\\("),relevance:0,keywords:{built_in:n}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:o,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[m,t.inherit(t.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),t.COMMENT(/'/,/$/,{relevance:0}),t.C_NUMBER_MODE]}}return Vye=e,Vye}var Gye,HBe;function cMt(){if(HBe)return Gye;HBe=1;function e(t){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return Gye=e,Gye}var jye,VBe;function uMt(){if(VBe)return jye;VBe=1;function e(t){const r=t.regex,n={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","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","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},o=["__FILE__","__LINE__"],m=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:n,contains:[t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE,t.QUOTE_STRING_MODE,{scope:"number",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:r.concat(/`/,r.either(...o))},{scope:"meta",begin:r.concat(/`/,r.either(...m)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:m}]}}return jye=e,jye}var Yye,GBe;function dMt(){if(GBe)return Yye;GBe=1;function e(t){const r="\\d(_|\\d)*",n="[eE][-+]?"+r,o=r+"(\\."+r+")?("+n+")?",m="\\w+",h="\\b("+(r+"#"+m+"(\\."+m+")?#("+n+")?")+"|"+o+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[t.C_BLOCK_COMMENT_MODE,t.COMMENT("--","$"),t.QUOTE_STRING_MODE,{className:"number",begin:h,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[t.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[t.BACKSLASH_ESCAPE]}]}}return Yye=e,Yye}var Wye,jBe;function fMt(){if(jBe)return Wye;jBe=1;function e(t){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[t.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},t.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,t.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return Wye=e,Wye}var Kye,YBe;function hMt(){if(YBe)return Kye;YBe=1;function e(t){t.regex;const r=t.COMMENT(/\(;/,/;\)/);r.contains.push("self");const n=t.COMMENT(/;;/,/$/),o=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],m={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},u={className:"variable",begin:/\$[\w_]+/},h={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},a={className:"number",relevance:0,match:/[+-]?\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/},l={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},v={className:"keyword",match:/\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|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:o},contains:[n,r,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},u,h,m,t.QUOTE_STRING_MODE,l,v,a]}}return Kye=e,Kye}var Xye,WBe;function pMt(){if(WBe)return Xye;WBe=1;function e(t){const r=t.regex,n=/[a-zA-Z]\w*/,o=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],m=["true","false","null"],u=["this","super"],h=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],a=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],l={relevance:0,match:r.concat(/\b(?!(if|while|for|else|super)\b)/,n,/(?=\s*[({])/),className:"title.function"},v={match:r.concat(r.either(r.concat(/\b(?!(if|while|for|else|super)\b)/,n),r.either(...a)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:n}]}]}},i={variants:[{match:[/class\s+/,n,/\s+is\s+/,n]},{match:[/class\s+/,n]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},S={relevance:0,match:r.either(...a),className:"operator"},g={className:"string",begin:/"""/,end:/"""/},p={className:"property",begin:r.concat(/\./,r.lookahead(n)),end:n,excludeBegin:!0,relevance:0},_={relevance:0,match:r.concat(/\b_/,n),scope:"variable"},c={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:h}},s=t.C_NUMBER_MODE,d={match:[n,/\s*/,/=/,/\s*/,/\(/,n,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},f=t.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),b={scope:"subst",begin:/%\(/,end:/\)/,contains:[s,c,l,_,S]},x={scope:"string",begin:/"/,end:/"/,contains:[b,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};b.contains.push(x);const y=[...o,...u,...m],C={relevance:0,match:r.concat("\\b(?!",y.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:o,"variable.language":u,literal:m},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:m},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},s,x,g,f,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,c,i,d,v,l,S,_,p,C]}}return Xye=e,Xye}var qye,KBe;function vMt(){if(KBe)return qye;KBe=1;function e(t){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+t.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[t.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},t.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return qye=e,qye}var Zye,XBe;function mMt(){if(XBe)return Zye;XBe=1;function e(t){const r=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],n=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],o=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],u={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:r,literal:["true","false","nil"],built_in:n.concat(o)},h={className:"string",begin:'"',end:'"',illegal:"\\n"},a={className:"string",begin:"'",end:"'",illegal:"\\n"},l={className:"string",begin:"<<",end:">>"},v={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},i={beginKeywords:"import",end:"$",keywords:u,contains:[h]},S={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,keywords:u}})]};return{name:"XL",aliases:["tao"],keywords:u,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,h,a,l,S,i,v,t.NUMBER_MODE]}}return Zye=e,Zye}var Qye,qBe;function gMt(){if(qBe)return Qye;qBe=1;function e(t){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^</$:'"-]\b(?:abs|accumulator-(?:after|before)|adjust-(?:date(?:Time)?|time)-to-timezone|analyze-string|apply|available-(?:environment-variables|system-properties)|avg|base-uri|boolean|ceiling|codepoints?-(?:equal|to-string)|collation-key|collection|compare|concat|contains(?:-token)?|copy-of|count|current(?:-)?(?:date(?:Time)?|time|group(?:ing-key)?|output-uri|merge-(?:group|key))?data|dateTime|days?-from-(?:date(?:Time)?|duration)|deep-equal|default-(?:collation|language)|distinct-values|document(?:-uri)?|doc(?:-available)?|element-(?:available|with-id)|empty|encode-for-uri|ends-with|environment-variable|error|escape-html-uri|exactly-one|exists|false|filter|floor|fold-(?:left|right)|for-each(?:-pair)?|format-(?:date(?:Time)?|time|integer|number)|function-(?:arity|available|lookup|name)|generate-id|has-children|head|hours-from-(?:dateTime|duration|time)|id(?:ref)?|implicit-timezone|in-scope-prefixes|index-of|innermost|insert-before|iri-to-uri|json-(?:doc|to-xml)|key|lang|last|load-xquery-module|local-name(?:-from-QName)?|(?:lower|upper)-case|matches|max|minutes-from-(?:dateTime|duration|time)|min|months?-from-(?:date(?:Time)?|duration)|name(?:space-uri-?(?:for-prefix|from-QName)?)?|nilled|node-name|normalize-(?:space|unicode)|not|number|one-or-more|outermost|parse-(?:ietf-date|json)|path|position|(?:prefix-from-)?QName|random-number-generator|regex-group|remove|replace|resolve-(?:QName|uri)|reverse|root|round(?:-half-to-even)?|seconds-from-(?:dateTime|duration|time)|snapshot|sort|starts-with|static-base-uri|stream-available|string-?(?:join|length|to-codepoints)?|subsequence|substring-?(?:after|before)?|sum|system-property|tail|timezone-from-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type-available|unordered|unparsed-(?:entity|text)?-?(?:public-id|uri|available|lines)?|uri-collection|xml-to-json|years?-from-(?:date(?:Time)?|duration)|zero-or-one)\b/},{begin:/\blocal:/,end:/\(/,excludeEnd:!0},{begin:/\bzip:/,end:/(?:zip-file|(?:xml|html|text|binary)-entry| (?:update-)?entries)\b/},{begin:/\b(?:util|db|functx|app|xdmp|xmldb):/,end:/\(/,excludeEnd:!0}]},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:/(\b0[0-7_]+)|(\b0x[0-9a-fA-F_]+)|(\b[1-9][0-9_]*(\.[0-9_]+)?)|[0_]\b/,relevance:0},{className:"comment",begin:/\(:/,end:/:\)/,relevance:10,contains:[{className:"doctag",begin:/@\w+/}]},{className:"meta",begin:/%[\w\-:]+/},{className:"title",begin:/\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/,end:/;/},{beginKeywords:"element attribute comment document processing-instruction",end:/\{/,excludeEnd:!0},{begin:/<([\w._:-]+)(\s+\S*=('|").*('|"))?>/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return Qye=e,Qye}var Jye,ZBe;function yMt(){if(ZBe)return Jye;ZBe=1;function e(t){const r={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null})]},n=t.UNDERSCORE_TITLE_MODE,o={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},m="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:m,contains:[t.C_LINE_COMMENT_MODE,t.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[t.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[n,{className:"params",begin:/\(/,end:/\)/,keywords:m,contains:["self",t.C_BLOCK_COMMENT_MODE,r,o]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},n]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[n]},{beginKeywords:"use",end:/;/,contains:[n]},{begin:/=>/},r,o]}}return Jye=e,Jye}var Gn=H6t;Gn.registerLanguage("1c",V6t()),Gn.registerLanguage("abnf",G6t()),Gn.registerLanguage("accesslog",j6t()),Gn.registerLanguage("actionscript",Y6t()),Gn.registerLanguage("ada",W6t()),Gn.registerLanguage("angelscript",K6t()),Gn.registerLanguage("apache",X6t()),Gn.registerLanguage("applescript",q6t()),Gn.registerLanguage("arcade",Z6t()),Gn.registerLanguage("arduino",Q6t()),Gn.registerLanguage("armasm",J6t()),Gn.registerLanguage("xml",eAt()),Gn.registerLanguage("asciidoc",tAt()),Gn.registerLanguage("aspectj",rAt()),Gn.registerLanguage("autohotkey",nAt()),Gn.registerLanguage("autoit",aAt()),Gn.registerLanguage("avrasm",iAt()),Gn.registerLanguage("awk",oAt()),Gn.registerLanguage("axapta",sAt()),Gn.registerLanguage("bash",lAt()),Gn.registerLanguage("basic",cAt()),Gn.registerLanguage("bnf",uAt()),Gn.registerLanguage("brainfuck",dAt()),Gn.registerLanguage("c",fAt()),Gn.registerLanguage("cal",hAt()),Gn.registerLanguage("capnproto",pAt()),Gn.registerLanguage("ceylon",vAt()),Gn.registerLanguage("clean",mAt()),Gn.registerLanguage("clojure",gAt()),Gn.registerLanguage("clojure-repl",yAt()),Gn.registerLanguage("cmake",_At()),Gn.registerLanguage("coffeescript",xAt()),Gn.registerLanguage("coq",bAt()),Gn.registerLanguage("cos",EAt()),Gn.registerLanguage("cpp",SAt()),Gn.registerLanguage("crmsh",wAt()),Gn.registerLanguage("crystal",TAt()),Gn.registerLanguage("csharp",AAt()),Gn.registerLanguage("csp",CAt()),Gn.registerLanguage("css",kAt()),Gn.registerLanguage("d",MAt()),Gn.registerLanguage("markdown",RAt()),Gn.registerLanguage("dart",NAt()),Gn.registerLanguage("delphi",IAt()),Gn.registerLanguage("diff",LAt()),Gn.registerLanguage("django",OAt()),Gn.registerLanguage("dns",DAt()),Gn.registerLanguage("dockerfile",PAt()),Gn.registerLanguage("dos",FAt()),Gn.registerLanguage("dsconfig",BAt()),Gn.registerLanguage("dts",zAt()),Gn.registerLanguage("dust",UAt()),Gn.registerLanguage("ebnf",$At()),Gn.registerLanguage("elixir",HAt()),Gn.registerLanguage("elm",VAt()),Gn.registerLanguage("ruby",GAt()),Gn.registerLanguage("erb",jAt()),Gn.registerLanguage("erlang-repl",YAt()),Gn.registerLanguage("erlang",WAt()),Gn.registerLanguage("excel",KAt()),Gn.registerLanguage("fix",XAt()),Gn.registerLanguage("flix",qAt()),Gn.registerLanguage("fortran",ZAt()),Gn.registerLanguage("fsharp",QAt()),Gn.registerLanguage("gams",JAt()),Gn.registerLanguage("gauss",eCt()),Gn.registerLanguage("gcode",tCt()),Gn.registerLanguage("gherkin",rCt()),Gn.registerLanguage("glsl",nCt()),Gn.registerLanguage("gml",aCt()),Gn.registerLanguage("go",iCt()),Gn.registerLanguage("golo",oCt()),Gn.registerLanguage("gradle",sCt()),Gn.registerLanguage("graphql",lCt()),Gn.registerLanguage("groovy",cCt()),Gn.registerLanguage("haml",uCt()),Gn.registerLanguage("handlebars",dCt()),Gn.registerLanguage("haskell",fCt()),Gn.registerLanguage("haxe",hCt()),Gn.registerLanguage("hsp",pCt()),Gn.registerLanguage("http",vCt()),Gn.registerLanguage("hy",mCt()),Gn.registerLanguage("inform7",gCt()),Gn.registerLanguage("ini",yCt()),Gn.registerLanguage("irpf90",_Ct()),Gn.registerLanguage("isbl",xCt()),Gn.registerLanguage("java",bCt()),Gn.registerLanguage("javascript",ECt()),Gn.registerLanguage("jboss-cli",SCt()),Gn.registerLanguage("json",wCt()),Gn.registerLanguage("julia",TCt()),Gn.registerLanguage("julia-repl",ACt()),Gn.registerLanguage("kotlin",CCt()),Gn.registerLanguage("lasso",kCt()),Gn.registerLanguage("latex",MCt()),Gn.registerLanguage("ldif",RCt()),Gn.registerLanguage("leaf",NCt()),Gn.registerLanguage("less",ICt()),Gn.registerLanguage("lisp",LCt()),Gn.registerLanguage("livecodeserver",OCt()),Gn.registerLanguage("livescript",DCt()),Gn.registerLanguage("llvm",PCt()),Gn.registerLanguage("lsl",FCt()),Gn.registerLanguage("lua",BCt()),Gn.registerLanguage("makefile",zCt()),Gn.registerLanguage("mathematica",UCt()),Gn.registerLanguage("matlab",$Ct()),Gn.registerLanguage("maxima",HCt()),Gn.registerLanguage("mel",VCt()),Gn.registerLanguage("mercury",GCt()),Gn.registerLanguage("mipsasm",jCt()),Gn.registerLanguage("mizar",YCt()),Gn.registerLanguage("perl",WCt()),Gn.registerLanguage("mojolicious",KCt()),Gn.registerLanguage("monkey",XCt()),Gn.registerLanguage("moonscript",qCt()),Gn.registerLanguage("n1ql",ZCt()),Gn.registerLanguage("nestedtext",QCt()),Gn.registerLanguage("nginx",JCt()),Gn.registerLanguage("nim",ekt()),Gn.registerLanguage("nix",tkt()),Gn.registerLanguage("node-repl",rkt()),Gn.registerLanguage("nsis",nkt()),Gn.registerLanguage("objectivec",akt()),Gn.registerLanguage("ocaml",ikt()),Gn.registerLanguage("openscad",okt()),Gn.registerLanguage("oxygene",skt()),Gn.registerLanguage("parser3",lkt()),Gn.registerLanguage("pf",ckt()),Gn.registerLanguage("pgsql",ukt()),Gn.registerLanguage("php",dkt()),Gn.registerLanguage("php-template",fkt()),Gn.registerLanguage("plaintext",hkt()),Gn.registerLanguage("pony",pkt()),Gn.registerLanguage("powershell",vkt()),Gn.registerLanguage("processing",mkt()),Gn.registerLanguage("profile",gkt()),Gn.registerLanguage("prolog",ykt()),Gn.registerLanguage("properties",_kt()),Gn.registerLanguage("protobuf",xkt()),Gn.registerLanguage("puppet",bkt()),Gn.registerLanguage("purebasic",Ekt()),Gn.registerLanguage("python",Skt()),Gn.registerLanguage("python-repl",wkt()),Gn.registerLanguage("q",Tkt()),Gn.registerLanguage("qml",Akt()),Gn.registerLanguage("r",Ckt()),Gn.registerLanguage("reasonml",kkt()),Gn.registerLanguage("rib",Mkt()),Gn.registerLanguage("roboconf",Rkt()),Gn.registerLanguage("routeros",Nkt()),Gn.registerLanguage("rsl",Ikt()),Gn.registerLanguage("ruleslanguage",Lkt()),Gn.registerLanguage("rust",Okt()),Gn.registerLanguage("sas",Dkt()),Gn.registerLanguage("scala",Pkt()),Gn.registerLanguage("scheme",Fkt()),Gn.registerLanguage("scilab",Bkt()),Gn.registerLanguage("scss",zkt()),Gn.registerLanguage("shell",Ukt()),Gn.registerLanguage("smali",$kt()),Gn.registerLanguage("smalltalk",Hkt()),Gn.registerLanguage("sml",Vkt()),Gn.registerLanguage("sqf",Gkt()),Gn.registerLanguage("sql",jkt()),Gn.registerLanguage("stan",Ykt()),Gn.registerLanguage("stata",Wkt()),Gn.registerLanguage("step21",Kkt()),Gn.registerLanguage("stylus",Xkt()),Gn.registerLanguage("subunit",qkt()),Gn.registerLanguage("swift",Zkt()),Gn.registerLanguage("taggerscript",Qkt()),Gn.registerLanguage("yaml",Jkt()),Gn.registerLanguage("tap",eMt()),Gn.registerLanguage("tcl",tMt()),Gn.registerLanguage("thrift",rMt()),Gn.registerLanguage("tp",nMt()),Gn.registerLanguage("twig",aMt()),Gn.registerLanguage("typescript",iMt()),Gn.registerLanguage("vala",oMt()),Gn.registerLanguage("vbnet",sMt()),Gn.registerLanguage("vbscript",lMt()),Gn.registerLanguage("vbscript-html",cMt()),Gn.registerLanguage("verilog",uMt()),Gn.registerLanguage("vhdl",dMt()),Gn.registerLanguage("vim",fMt()),Gn.registerLanguage("wasm",hMt()),Gn.registerLanguage("wren",pMt()),Gn.registerLanguage("x86asm",vMt()),Gn.registerLanguage("xl",mMt()),Gn.registerLanguage("xquery",gMt()),Gn.registerLanguage("zephir",yMt()),Gn.HighlightJS=Gn,Gn.default=Gn;var _Mt=Gn;const QBe=ec(_Mt);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xMt=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),bMt=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase()),JBe=e=>{const t=bMt(e);return t.charAt(0).toUpperCase()+t.slice(1)},eze=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim(),EMt=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var SMt={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.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tze=Ue.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:o="",children:m,iconNode:u,...h},a)=>Ue.createElement("svg",{ref:a,...SMt,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:eze("lucide",o),...!m&&!EMt(h)&&{"aria-hidden":"true"},...h},[...u.map(([l,v])=>Ue.createElement(l,v)),...Array.isArray(m)?m:[m]]));/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ee=(e,t)=>{const r=Ue.forwardRef(({className:n,...o},m)=>Ue.createElement(tze,{ref:m,iconNode:t,className:eze(`lucide-${xMt(JBe(e))}`,`lucide-${e}`,n),...o}));return r.displayName=JBe(e),r};/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const L9=Ee("a-arrow-down",[["path",{d:"m14 12 4 4 4-4",key:"buelq4"}],["path",{d:"M18 16V7",key:"ty0viw"}],["path",{d:"m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16",key:"d5nyq2"}],["path",{d:"M3.304 13h6.392",key:"1q3zxz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const O9=Ee("a-arrow-up",[["path",{d:"m14 11 4-4 4 4",key:"1pu57t"}],["path",{d:"M18 16V7",key:"ty0viw"}],["path",{d:"m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16",key:"d5nyq2"}],["path",{d:"M3.304 13h6.392",key:"1q3zxz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const D9=Ee("a-large-small",[["path",{d:"m15 16 2.536-7.328a1.02 1.02 1 0 1 1.928 0L22 16",key:"xik6mr"}],["path",{d:"M15.697 14h5.606",key:"1stdlc"}],["path",{d:"m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16",key:"d5nyq2"}],["path",{d:"M3.304 13h6.392",key:"1q3zxz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const P9=Ee("accessibility",[["circle",{cx:"16",cy:"4",r:"1",key:"1grugj"}],["path",{d:"m18 19 1-7-6 1",key:"r0i19z"}],["path",{d:"m5 8 3-3 5.5 3-2.36 3.5",key:"9ptxx2"}],["path",{d:"M4.24 14.5a5 5 0 0 0 6.88 6",key:"10kmtu"}],["path",{d:"M13.76 17.5a5 5 0 0 0-6.88-6",key:"2qq6rc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const F9=Ee("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const B9=Ee("air-vent",[["path",{d:"M18 17.5a2.5 2.5 0 1 1-4 2.03V12",key:"yd12zl"}],["path",{d:"M6 12H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"larmp2"}],["path",{d:"M6 8h12",key:"6g4wlu"}],["path",{d:"M6.6 15.572A2 2 0 1 0 10 17v-5",key:"1x1kqn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const z9=Ee("airplay",[["path",{d:"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1",key:"ns4c3b"}],["path",{d:"m12 15 5 6H7Z",key:"14qnn2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Rx=Ee("alarm-clock-check",[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}],["path",{d:"m9 13 2 2 4-4",key:"6343dt"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Nx=Ee("alarm-clock-minus",[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}],["path",{d:"M9 13h6",key:"1uhe8q"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const U9=Ee("alarm-clock-off",[["path",{d:"M6.87 6.87a8 8 0 1 0 11.26 11.26",key:"3on8tj"}],["path",{d:"M19.9 14.25a8 8 0 0 0-9.15-9.15",key:"15ghsc"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.26 18.67 4 21",key:"yzmioq"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M4 4 2 6",key:"1ycko6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $9=Ee("alarm-clock",[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M12 9v4l2 2",key:"1c63tq"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ix=Ee("alarm-clock-plus",[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const H9=Ee("alarm-smoke",[["path",{d:"M11 21c0-2.5 2-2.5 2-5",key:"1sicvv"}],["path",{d:"M16 21c0-2.5 2-2.5 2-5",key:"1o3eny"}],["path",{d:"m19 8-.8 3a1.25 1.25 0 0 1-1.2 1H7a1.25 1.25 0 0 1-1.2-1L5 8",key:"1bvca4"}],["path",{d:"M21 3a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a1 1 0 0 1 1-1z",key:"x3qr1j"}],["path",{d:"M6 21c0-2.5 2-2.5 2-5",key:"i3w1gp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const V9=Ee("album",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["polyline",{points:"11 3 11 11 14 8 17 11 17 3",key:"1wcwz3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const G9=Ee("align-center-horizontal",[["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M10 16v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4",key:"11f1s0"}],["path",{d:"M10 8V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4",key:"t14dx9"}],["path",{d:"M20 16v1a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-1",key:"1w07xs"}],["path",{d:"M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1",key:"1apec2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const j9=Ee("align-center-vertical",[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4",key:"14d6g8"}],["path",{d:"M16 10h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4",key:"1e2lrw"}],["path",{d:"M8 20H7a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2h1",key:"1fkdwx"}],["path",{d:"M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1",key:"1euafb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Y9=Ee("align-end-horizontal",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const W9=Ee("align-end-vertical",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const K9=Ee("align-horizontal-distribute-center",[["rect",{width:"6",height:"14",x:"4",y:"5",rx:"2",key:"1wwnby"}],["rect",{width:"6",height:"10",x:"14",y:"7",rx:"2",key:"1fe6j6"}],["path",{d:"M17 22v-5",key:"4b6g73"}],["path",{d:"M17 7V2",key:"hnrr36"}],["path",{d:"M7 22v-3",key:"1r4jpn"}],["path",{d:"M7 5V2",key:"liy1u9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const X9=Ee("align-horizontal-distribute-end",[["rect",{width:"6",height:"14",x:"4",y:"5",rx:"2",key:"1wwnby"}],["rect",{width:"6",height:"10",x:"14",y:"7",rx:"2",key:"1fe6j6"}],["path",{d:"M10 2v20",key:"uyc634"}],["path",{d:"M20 2v20",key:"1tx262"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const q9=Ee("align-horizontal-distribute-start",[["rect",{width:"6",height:"14",x:"4",y:"5",rx:"2",key:"1wwnby"}],["rect",{width:"6",height:"10",x:"14",y:"7",rx:"2",key:"1fe6j6"}],["path",{d:"M4 2v20",key:"gtpd5x"}],["path",{d:"M14 2v20",key:"tg6bpw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Z9=Ee("align-horizontal-justify-center",[["rect",{width:"6",height:"14",x:"2",y:"5",rx:"2",key:"dy24zr"}],["rect",{width:"6",height:"10",x:"16",y:"7",rx:"2",key:"13zkjt"}],["path",{d:"M12 2v20",key:"t6zp3m"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Q9=Ee("align-horizontal-justify-end",[["rect",{width:"6",height:"14",x:"2",y:"5",rx:"2",key:"dy24zr"}],["rect",{width:"6",height:"10",x:"12",y:"7",rx:"2",key:"1ht384"}],["path",{d:"M22 2v20",key:"40qfg1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const J9=Ee("align-horizontal-justify-start",[["rect",{width:"6",height:"14",x:"6",y:"5",rx:"2",key:"hsirpf"}],["rect",{width:"6",height:"10",x:"16",y:"7",rx:"2",key:"13zkjt"}],["path",{d:"M2 2v20",key:"1ivd8o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eO=Ee("align-horizontal-space-around",[["rect",{width:"6",height:"10",x:"9",y:"7",rx:"2",key:"yn7j0q"}],["path",{d:"M4 22V2",key:"tsjzd3"}],["path",{d:"M20 22V2",key:"1bnhr8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tO=Ee("align-start-horizontal",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rO=Ee("align-horizontal-space-between",[["rect",{width:"6",height:"14",x:"3",y:"5",rx:"2",key:"j77dae"}],["rect",{width:"6",height:"10",x:"15",y:"7",rx:"2",key:"bq30hj"}],["path",{d:"M3 2v20",key:"1d2pfg"}],["path",{d:"M21 2v20",key:"p059bm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nO=Ee("align-start-vertical",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aO=Ee("align-vertical-distribute-center",[["path",{d:"M22 17h-3",key:"1lwga1"}],["path",{d:"M22 7h-5",key:"o2endc"}],["path",{d:"M5 17H2",key:"1gx9xc"}],["path",{d:"M7 7H2",key:"6bq26l"}],["rect",{x:"5",y:"14",width:"14",height:"6",rx:"2",key:"1qrzuf"}],["rect",{x:"7",y:"4",width:"10",height:"6",rx:"2",key:"we8e9z"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iO=Ee("align-vertical-distribute-end",[["rect",{width:"14",height:"6",x:"5",y:"14",rx:"2",key:"jmoj9s"}],["rect",{width:"10",height:"6",x:"7",y:"4",rx:"2",key:"aza5on"}],["path",{d:"M2 20h20",key:"owomy5"}],["path",{d:"M2 10h20",key:"1ir3d8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oO=Ee("align-vertical-justify-center",[["rect",{width:"14",height:"6",x:"5",y:"16",rx:"2",key:"1i8z2d"}],["rect",{width:"10",height:"6",x:"7",y:"2",rx:"2",key:"ypihtt"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sO=Ee("align-vertical-distribute-start",[["rect",{width:"14",height:"6",x:"5",y:"14",rx:"2",key:"jmoj9s"}],["rect",{width:"10",height:"6",x:"7",y:"4",rx:"2",key:"aza5on"}],["path",{d:"M2 14h20",key:"myj16y"}],["path",{d:"M2 4h20",key:"mda7wb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lO=Ee("align-vertical-justify-end",[["rect",{width:"14",height:"6",x:"5",y:"12",rx:"2",key:"4l4tp2"}],["rect",{width:"10",height:"6",x:"7",y:"2",rx:"2",key:"ypihtt"}],["path",{d:"M2 22h20",key:"272qi7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cO=Ee("align-vertical-justify-start",[["rect",{width:"14",height:"6",x:"5",y:"16",rx:"2",key:"1i8z2d"}],["rect",{width:"10",height:"6",x:"7",y:"6",rx:"2",key:"13squh"}],["path",{d:"M2 2h20",key:"1ennik"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uO=Ee("align-vertical-space-around",[["rect",{width:"10",height:"6",x:"7",y:"9",rx:"2",key:"b1zbii"}],["path",{d:"M22 20H2",key:"1p1f7z"}],["path",{d:"M22 4H2",key:"1b7qnq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dO=Ee("align-vertical-space-between",[["rect",{width:"14",height:"6",x:"5",y:"15",rx:"2",key:"1w91an"}],["rect",{width:"10",height:"6",x:"7",y:"3",rx:"2",key:"17wqzy"}],["path",{d:"M2 21h20",key:"1nyx9w"}],["path",{d:"M2 3h20",key:"91anmk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fO=Ee("ambulance",[["path",{d:"M10 10H6",key:"1bsnug"}],["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.28a1 1 0 0 0-.684-.948l-1.923-.641a1 1 0 0 1-.578-.502l-1.539-3.076A1 1 0 0 0 16.382 8H14",key:"lrkjwd"}],["path",{d:"M8 8v4",key:"1fwk8c"}],["path",{d:"M9 18h6",key:"x1upvd"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hO=Ee("ampersand",[["path",{d:"M16 12h3",key:"4uvgyw"}],["path",{d:"M17.5 12a8 8 0 0 1-8 8A4.5 4.5 0 0 1 5 15.5c0-6 8-4 8-8.5a3 3 0 1 0-6 0c0 3 2.5 8.5 12 13",key:"nfoe1t"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pO=Ee("ampersands",[["path",{d:"M10 17c-5-3-7-7-7-9a2 2 0 0 1 4 0c0 2.5-5 2.5-5 6 0 1.7 1.3 3 3 3 2.8 0 5-2.2 5-5",key:"12lh1k"}],["path",{d:"M22 17c-5-3-7-7-7-9a2 2 0 0 1 4 0c0 2.5-5 2.5-5 6 0 1.7 1.3 3 3 3 2.8 0 5-2.2 5-5",key:"173c68"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vO=Ee("amphora",[["path",{d:"M10 2v5.632c0 .424-.272.795-.653.982A6 6 0 0 0 6 14c.006 4 3 7 5 8",key:"1h8rid"}],["path",{d:"M10 5H8a2 2 0 0 0 0 4h.68",key:"3ezsi6"}],["path",{d:"M14 2v5.632c0 .424.272.795.652.982A6 6 0 0 1 18 14c0 4-3 7-5 8",key:"yt6q09"}],["path",{d:"M14 5h2a2 2 0 0 1 0 4h-.68",key:"8f95yk"}],["path",{d:"M18 22H6",key:"mg6kv4"}],["path",{d:"M9 2h6",key:"1jrp98"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mO=Ee("anchor",[["path",{d:"M12 6v16",key:"nqf5sj"}],["path",{d:"m19 13 2-1a9 9 0 0 1-18 0l2 1",key:"y7qv08"}],["path",{d:"M9 11h6",key:"1fldmi"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gO=Ee("angry",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 16s-1.5-2-4-2-4 2-4 2",key:"epbg0q"}],["path",{d:"M7.5 8 10 9",key:"olxxln"}],["path",{d:"m14 9 2.5-1",key:"1j6cij"}],["path",{d:"M9 10h.01",key:"qbtxuw"}],["path",{d:"M15 10h.01",key:"1qmjsl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yO=Ee("annoyed",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 15h8",key:"45n4r"}],["path",{d:"M8 9h2",key:"1g203m"}],["path",{d:"M14 9h2",key:"116p9w"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _O=Ee("antenna",[["path",{d:"M2 12 7 2",key:"117k30"}],["path",{d:"m7 12 5-10",key:"1tvx22"}],["path",{d:"m12 12 5-10",key:"ev1o1a"}],["path",{d:"m17 12 5-10",key:"1e4ti3"}],["path",{d:"M4.5 7h15",key:"vlsxkz"}],["path",{d:"M12 16v6",key:"c8a4gj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xO=Ee("anvil",[["path",{d:"M7 10H6a4 4 0 0 1-4-4 1 1 0 0 1 1-1h4",key:"1hjpb6"}],["path",{d:"M7 5a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1 7 7 0 0 1-7 7H8a1 1 0 0 1-1-1z",key:"1qn45f"}],["path",{d:"M9 12v5",key:"3anwtq"}],["path",{d:"M15 12v5",key:"5xh3zn"}],["path",{d:"M5 20a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3 1 1 0 0 1-1 1H6a1 1 0 0 1-1-1",key:"1fi4x8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bO=Ee("aperture",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m14.31 8 5.74 9.94",key:"1y6ab4"}],["path",{d:"M9.69 8h11.48",key:"1wxppr"}],["path",{d:"m7.38 12 5.74-9.94",key:"1grp0k"}],["path",{d:"M9.69 16 3.95 6.06",key:"libnyf"}],["path",{d:"M14.31 16H2.83",key:"x5fava"}],["path",{d:"m16.62 12-5.74 9.94",key:"1vwawt"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EO=Ee("app-window-mac",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M14 8h.01",key:"1primd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SO=Ee("app-window",[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wO=Ee("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TO=Ee("archive-restore",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h2",key:"tvwodi"}],["path",{d:"M20 8v11a2 2 0 0 1-2 2h-2",key:"1gkqxj"}],["path",{d:"m9 15 3-3 3 3",key:"1pd0qc"}],["path",{d:"M12 12v9",key:"192myk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AO=Ee("archive-x",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"m9.5 17 5-5",key:"nakeu6"}],["path",{d:"m9.5 12 5 5",key:"1hccrj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CO=Ee("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kO=Ee("armchair",[["path",{d:"M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3",key:"irtipd"}],["path",{d:"M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z",key:"1qyhux"}],["path",{d:"M5 18v2",key:"ppbyun"}],["path",{d:"M19 18v2",key:"gy7782"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MO=Ee("arrow-big-down-dash",[["path",{d:"M15 11a1 1 0 0 0 1 1h2.939a1 1 0 0 1 .75 1.811l-6.835 6.836a1.207 1.207 0 0 1-1.707 0L4.31 13.81a1 1 0 0 1 .75-1.811H8a1 1 0 0 0 1-1V9a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1z",key:"1hy3w3"}],["path",{d:"M9 4h6",key:"10am2s"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RO=Ee("arrow-big-down",[["path",{d:"M15 11a1 1 0 0 0 1 1h2.939a1 1 0 0 1 .75 1.811l-6.835 6.836a1.207 1.207 0 0 1-1.707 0L4.31 13.81a1 1 0 0 1 .75-1.811H8a1 1 0 0 0 1-1V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1z",key:"1eaqc3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NO=Ee("arrow-big-left-dash",[["path",{d:"M13 9a1 1 0 0 1-1-1V5.061a1 1 0 0 0-1.811-.75l-6.835 6.836a1.207 1.207 0 0 0 0 1.707l6.835 6.835a1 1 0 0 0 1.811-.75V16a1 1 0 0 1 1-1h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1z",key:"p8w4w5"}],["path",{d:"M20 9v6",key:"14roy0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IO=Ee("arrow-big-left",[["path",{d:"M13 9a1 1 0 0 1-1-1V5.061a1 1 0 0 0-1.811-.75l-6.835 6.836a1.207 1.207 0 0 0 0 1.707l6.835 6.835a1 1 0 0 0 1.811-.75V16a1 1 0 0 1 1-1h6a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1z",key:"aztept"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LO=Ee("arrow-big-right-dash",[["path",{d:"M11 9a1 1 0 0 0 1-1V5.061a1 1 0 0 1 1.811-.75l6.836 6.836a1.207 1.207 0 0 1 0 1.707l-6.836 6.835a1 1 0 0 1-1.811-.75V16a1 1 0 0 0-1-1H9a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z",key:"67vhrh"}],["path",{d:"M4 9v6",key:"bns7oa"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OO=Ee("arrow-big-right",[["path",{d:"M11 9a1 1 0 0 0 1-1V5.061a1 1 0 0 1 1.811-.75l6.836 6.836a1.207 1.207 0 0 1 0 1.707l-6.836 6.835a1 1 0 0 1-1.811-.75V16a1 1 0 0 0-1-1H5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z",key:"1232du"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DO=Ee("arrow-big-up-dash",[["path",{d:"M9 13a1 1 0 0 0-1-1H5.061a1 1 0 0 1-.75-1.811l6.836-6.835a1.207 1.207 0 0 1 1.707 0l6.835 6.835a1 1 0 0 1-.75 1.811H16a1 1 0 0 0-1 1v2a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1z",key:"pnzqmc"}],["path",{d:"M9 20h6",key:"s66wpe"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PO=Ee("arrow-big-up",[["path",{d:"M9 13a1 1 0 0 0-1-1H5.061a1 1 0 0 1-.75-1.811l6.836-6.835a1.207 1.207 0 0 1 1.707 0l6.835 6.835a1 1 0 0 1-.75 1.811H16a1 1 0 0 0-1 1v6a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1z",key:"lh0v7k"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FO=Ee("arrow-down-0-1",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["rect",{x:"15",y:"4",width:"4",height:"6",ry:"2",key:"1bwicg"}],["path",{d:"M17 20v-6h-2",key:"1qp1so"}],["path",{d:"M15 20h4",key:"1j968p"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BO=Ee("arrow-down-1-0",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M17 10V4h-2",key:"zcsr5x"}],["path",{d:"M15 10h4",key:"id2lce"}],["rect",{x:"15",y:"14",width:"4",height:"6",ry:"2",key:"33xykx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Lx=Ee("arrow-down-a-z",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zO=Ee("arrow-down-from-line",[["path",{d:"M19 3H5",key:"1236rx"}],["path",{d:"M12 21V7",key:"gj6g52"}],["path",{d:"m6 15 6 6 6-6",key:"h15q88"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UO=Ee("arrow-down-left",[["path",{d:"M17 7 7 17",key:"15tmo1"}],["path",{d:"M17 17H7V7",key:"1org7z"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $O=Ee("arrow-down-narrow-wide",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h4",key:"6d7r33"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h10",key:"1438ji"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HO=Ee("arrow-down-right",[["path",{d:"m7 7 10 10",key:"1fmybs"}],["path",{d:"M17 7v10H7",key:"6fjiku"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VO=Ee("arrow-down-to-dot",[["path",{d:"M12 2v14",key:"jyx4ut"}],["path",{d:"m19 9-7 7-7-7",key:"1oe3oy"}],["circle",{cx:"12",cy:"21",r:"1",key:"o0uj5v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GO=Ee("arrow-down-to-line",[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jO=Ee("arrow-down-up",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"m21 8-4-4-4 4",key:"1c9v7m"}],["path",{d:"M17 4v16",key:"7dpous"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ox=Ee("arrow-down-wide-narrow",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h10",key:"1w87gc"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h4",key:"q8tih4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Dx=Ee("arrow-down-z-a",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M15 4h5l-5 6h5",key:"8asdl1"}],["path",{d:"M15 20v-3.5a2.5 2.5 0 0 1 5 0V20",key:"r6l5cz"}],["path",{d:"M20 18h-5",key:"18j1r2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jT=Ee("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YO=Ee("arrow-left-from-line",[["path",{d:"m9 6-6 6 6 6",key:"7v63n9"}],["path",{d:"M3 12h14",key:"13k4hi"}],["path",{d:"M21 19V5",key:"b4bplr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WO=Ee("arrow-left-right",[["path",{d:"M8 3 4 7l4 4",key:"9rb6wj"}],["path",{d:"M4 7h16",key:"6tx8e3"}],["path",{d:"m16 21 4-4-4-4",key:"siv7j2"}],["path",{d:"M20 17H4",key:"h6l3hr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KO=Ee("arrow-left-to-line",[["path",{d:"M3 19V5",key:"rwsyhb"}],["path",{d:"m13 6-6 6 6 6",key:"1yhaz7"}],["path",{d:"M7 12h14",key:"uoisry"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Pk=Ee("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XO=Ee("arrow-right-from-line",[["path",{d:"M3 5v14",key:"1nt18q"}],["path",{d:"M21 12H7",key:"13ipq5"}],["path",{d:"m15 18 6-6-6-6",key:"6tx3qv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qO=Ee("arrow-right-left",[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZO=Ee("arrow-right-to-line",[["path",{d:"M17 12H3",key:"8awo09"}],["path",{d:"m11 18 6-6-6-6",key:"8c2y43"}],["path",{d:"M21 5v14",key:"nzette"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fk=Ee("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QO=Ee("arrow-up-0-1",[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["rect",{x:"15",y:"4",width:"4",height:"6",ry:"2",key:"1bwicg"}],["path",{d:"M17 20v-6h-2",key:"1qp1so"}],["path",{d:"M15 20h4",key:"1j968p"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JO=Ee("arrow-up-1-0",[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M17 10V4h-2",key:"zcsr5x"}],["path",{d:"M15 10h4",key:"id2lce"}],["rect",{x:"15",y:"14",width:"4",height:"6",ry:"2",key:"33xykx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Px=Ee("arrow-up-a-z",[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eD=Ee("arrow-up-down",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tD=Ee("arrow-up-from-dot",[["path",{d:"m5 9 7-7 7 7",key:"1hw5ic"}],["path",{d:"M12 16V2",key:"ywoabb"}],["circle",{cx:"12",cy:"21",r:"1",key:"o0uj5v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rD=Ee("arrow-up-from-line",[["path",{d:"m18 9-6-6-6 6",key:"kcunyi"}],["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 21h14",key:"11awu3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nD=Ee("arrow-up-left",[["path",{d:"M7 17V7h10",key:"11bw93"}],["path",{d:"M17 17 7 7",key:"2786uv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fx=Ee("arrow-up-narrow-wide",[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M11 12h4",key:"q8tih4"}],["path",{d:"M11 16h7",key:"uosisv"}],["path",{d:"M11 20h10",key:"jvxblo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aD=Ee("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iD=Ee("arrow-up-to-line",[["path",{d:"M5 3h14",key:"7usisc"}],["path",{d:"m18 13-6-6-6 6",key:"1kf1n9"}],["path",{d:"M12 7v14",key:"1akyts"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oD=Ee("arrow-up-wide-narrow",[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 16h7",key:"uosisv"}],["path",{d:"M11 20h4",key:"1krc32"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Bx=Ee("arrow-up-z-a",[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M15 4h5l-5 6h5",key:"8asdl1"}],["path",{d:"M15 20v-3.5a2.5 2.5 0 0 1 5 0V20",key:"r6l5cz"}],["path",{d:"M20 18h-5",key:"18j1r2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Bk=Ee("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sD=Ee("asterisk",[["path",{d:"M12 6v12",key:"1vza4d"}],["path",{d:"M17.196 9 6.804 15",key:"1ah31z"}],["path",{d:"m6.804 9 10.392 6",key:"1b6pxd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lD=Ee("arrows-up-from-line",[["path",{d:"m4 6 3-3 3 3",key:"9aidw8"}],["path",{d:"M7 17V3",key:"19qxw1"}],["path",{d:"m14 6 3-3 3 3",key:"6iy689"}],["path",{d:"M17 17V3",key:"o0fmgi"}],["path",{d:"M4 21h16",key:"1h09gz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cD=Ee("at-sign",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8",key:"7n84p3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uD=Ee("atom",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z",key:"1l2ple"}],["path",{d:"M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z",key:"1wam0m"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dD=Ee("audio-lines",[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fD=Ee("audio-waveform",[["path",{d:"M2 13a2 2 0 0 0 2-2V7a2 2 0 0 1 4 0v13a2 2 0 0 0 4 0V4a2 2 0 0 1 4 0v13a2 2 0 0 0 4 0v-4a2 2 0 0 1 2-2",key:"57tc96"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hD=Ee("award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pD=Ee("axe",[["path",{d:"m14 12-8.381 8.38a1 1 0 0 1-3.001-3L11 9",key:"5z9253"}],["path",{d:"M15 15.5a.5.5 0 0 0 .5.5A6.5 6.5 0 0 0 22 9.5a.5.5 0 0 0-.5-.5h-1.672a2 2 0 0 1-1.414-.586l-5.062-5.062a1.205 1.205 0 0 0-1.704 0L9.352 5.648a1.205 1.205 0 0 0 0 1.704l5.062 5.062A2 2 0 0 1 15 13.828z",key:"19zklq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vD=Ee("baby",[["path",{d:"M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5",key:"1u7htd"}],["path",{d:"M15 12h.01",key:"1k8ypt"}],["path",{d:"M19.38 6.813A9 9 0 0 1 20.8 10.2a2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1",key:"11xh7x"}],["path",{d:"M9 12h.01",key:"157uk2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zx=Ee("axis-3d",[["path",{d:"M13.5 10.5 15 9",key:"1nsxvm"}],["path",{d:"M4 4v15a1 1 0 0 0 1 1h15",key:"1w6lkd"}],["path",{d:"M4.293 19.707 6 18",key:"3g1p8c"}],["path",{d:"m9 15 1.5-1.5",key:"1xfbes"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mD=Ee("backpack",[["path",{d:"M4 10a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z",key:"1ol0lm"}],["path",{d:"M8 10h8",key:"c7uz4u"}],["path",{d:"M8 18h8",key:"1no2b1"}],["path",{d:"M8 22v-6a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v6",key:"1fr6do"}],["path",{d:"M9 6V4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2",key:"donm21"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gD=Ee("badge-alert",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yD=Ee("badge-cent",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M12 7v10",key:"jspqdw"}],["path",{d:"M15.4 10a4 4 0 1 0 0 4",key:"2eqtx8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ux=Ee("badge-check",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _D=Ee("badge-dollar-sign",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xD=Ee("badge-euro",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M7 12h5",key:"gblrwe"}],["path",{d:"M15 9.4a4 4 0 1 0 0 5.2",key:"1makmb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bD=Ee("badge-indian-rupee",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M8 8h8",key:"1bis0t"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"m13 17-5-1h1a4 4 0 0 0 0-8",key:"nu2bwa"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ED=Ee("badge-info",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["line",{x1:"12",x2:"12",y1:"16",y2:"12",key:"1y1yb1"}],["line",{x1:"12",x2:"12.01",y1:"8",y2:"8",key:"110wyk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SD=Ee("badge-japanese-yen",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 8 3 3v7",key:"17yadx"}],["path",{d:"m12 11 3-3",key:"p4cfq1"}],["path",{d:"M9 12h6",key:"1c52cq"}],["path",{d:"M9 16h6",key:"8wimt3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wD=Ee("badge-minus",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TD=Ee("badge-percent",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AD=Ee("badge-plus",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["line",{x1:"12",x2:"12",y1:"8",y2:"16",key:"10p56q"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CD=Ee("badge-pound-sterling",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M8 12h4",key:"qz6y1c"}],["path",{d:"M10 16V9.5a2.5 2.5 0 0 1 5 0",key:"3mlbjk"}],["path",{d:"M8 16h7",key:"sbedsn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $x=Ee("badge-question-mark",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["line",{x1:"12",x2:"12.01",y1:"17",y2:"17",key:"io3f8k"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kD=Ee("badge-russian-ruble",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M9 16h5",key:"1syiyw"}],["path",{d:"M9 12h5a2 2 0 1 0 0-4h-3v9",key:"1ge9c1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MD=Ee("badge-swiss-franc",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M11 17V8h4",key:"1bfq6y"}],["path",{d:"M11 12h3",key:"2eqnfz"}],["path",{d:"M9 16h4",key:"1skf3a"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RD=Ee("badge-turkish-lira",[["path",{d:"M11 7v10a5 5 0 0 0 5-5",key:"1ja3ih"}],["path",{d:"m15 8-6 3",key:"4x0uwz"}],["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76",key:"18242g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ND=Ee("badge-x",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["line",{x1:"15",x2:"9",y1:"9",y2:"15",key:"f7djnv"}],["line",{x1:"9",x2:"15",y1:"9",y2:"15",key:"1shsy8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ID=Ee("badge",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LD=Ee("baggage-claim",[["path",{d:"M22 18H6a2 2 0 0 1-2-2V7a2 2 0 0 0-2-2",key:"4irg2o"}],["path",{d:"M17 14V4a2 2 0 0 0-2-2h-1a2 2 0 0 0-2 2v10",key:"14fcyx"}],["rect",{width:"13",height:"8",x:"8",y:"6",rx:"1",key:"o6oiis"}],["circle",{cx:"18",cy:"20",r:"2",key:"t9985n"}],["circle",{cx:"9",cy:"20",r:"2",key:"e5v82j"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OD=Ee("ban",[["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DD=Ee("banana",[["path",{d:"M4 13c3.5-2 8-2 10 2a5.5 5.5 0 0 1 8 5",key:"1cscit"}],["path",{d:"M5.15 17.89c5.52-1.52 8.65-6.89 7-12C11.55 4 11.5 2 13 2c3.22 0 5 5.5 5 8 0 6.5-4.2 12-10.49 12C5.11 22 2 22 2 20c0-1.5 1.14-1.55 3.15-2.11Z",key:"1y1nbv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PD=Ee("bandage",[["path",{d:"M10 10.01h.01",key:"1e9xi7"}],["path",{d:"M10 14.01h.01",key:"ac23bv"}],["path",{d:"M14 10.01h.01",key:"2wfrvf"}],["path",{d:"M14 14.01h.01",key:"8tw8yn"}],["path",{d:"M18 6v11.5",key:"dkbidh"}],["path",{d:"M6 6v12",key:"vkc79e"}],["rect",{x:"2",y:"6",width:"20",height:"12",rx:"2",key:"1wpnh2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FD=Ee("banknote-arrow-down",[["path",{d:"M12 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5",key:"x6cv4u"}],["path",{d:"m16 19 3 3 3-3",key:"1ibux0"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"M19 16v6",key:"tddt3s"}],["path",{d:"M6 12h.01",key:"c2rlol"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BD=Ee("banknote-arrow-up",[["path",{d:"M12 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5",key:"x6cv4u"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"M19 22v-6",key:"qhmiwi"}],["path",{d:"m22 19-3-3-3 3",key:"rn6bg2"}],["path",{d:"M6 12h.01",key:"c2rlol"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zD=Ee("banknote-x",[["path",{d:"M13 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5",key:"16nib6"}],["path",{d:"m17 17 5 5",key:"p7ous7"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"m22 17-5 5",key:"gqnmv0"}],["path",{d:"M6 12h.01",key:"c2rlol"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UD=Ee("barcode",[["path",{d:"M3 5v14",key:"1nt18q"}],["path",{d:"M8 5v14",key:"1ybrkv"}],["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"M17 5v14",key:"ycjyhj"}],["path",{d:"M21 5v14",key:"nzette"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $D=Ee("banknote",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HD=Ee("barrel",[["path",{d:"M10 3a41 41 0 0 0 0 18",key:"1qcnzb"}],["path",{d:"M14 3a41 41 0 0 1 0 18",key:"547vd4"}],["path",{d:"M17 3a2 2 0 0 1 1.68.92 15.25 15.25 0 0 1 0 16.16A2 2 0 0 1 17 21H7a2 2 0 0 1-1.68-.92 15.25 15.25 0 0 1 0-16.16A2 2 0 0 1 7 3z",key:"1wepyy"}],["path",{d:"M3.84 17h16.32",key:"1wh981"}],["path",{d:"M3.84 7h16.32",key:"19jf4x"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VD=Ee("baseline",[["path",{d:"M4 20h16",key:"14thso"}],["path",{d:"m6 16 6-12 6 12",key:"1b4byz"}],["path",{d:"M8 12h8",key:"1wcyev"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GD=Ee("bath",[["path",{d:"M10 4 8 6",key:"1rru8s"}],["path",{d:"M17 19v2",key:"ts1sot"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M7 19v2",key:"12npes"}],["path",{d:"M9 5 7.621 3.621A2.121 2.121 0 0 0 4 5v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5",key:"14ym8i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jD=Ee("battery-full",[["path",{d:"M10 10v4",key:"1mb2ec"}],["path",{d:"M14 10v4",key:"1nt88p"}],["path",{d:"M22 14v-4",key:"14q9d5"}],["path",{d:"M6 10v4",key:"1n77qd"}],["rect",{x:"2",y:"6",width:"16",height:"12",rx:"2",key:"13zb55"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YD=Ee("battery-charging",[["path",{d:"m11 7-3 5h4l-3 5",key:"b4a64w"}],["path",{d:"M14.856 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.935",key:"lre1cr"}],["path",{d:"M22 14v-4",key:"14q9d5"}],["path",{d:"M5.14 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2.936",key:"13q5k0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WD=Ee("battery-low",[["path",{d:"M22 14v-4",key:"14q9d5"}],["path",{d:"M6 14v-4",key:"14a6bd"}],["rect",{x:"2",y:"6",width:"16",height:"12",rx:"2",key:"13zb55"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KD=Ee("battery-medium",[["path",{d:"M10 14v-4",key:"suye4c"}],["path",{d:"M22 14v-4",key:"14q9d5"}],["path",{d:"M6 14v-4",key:"14a6bd"}],["rect",{x:"2",y:"6",width:"16",height:"12",rx:"2",key:"13zb55"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XD=Ee("battery-plus",[["path",{d:"M10 9v6",key:"17i7lo"}],["path",{d:"M12.543 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.605",key:"o09yah"}],["path",{d:"M22 14v-4",key:"14q9d5"}],["path",{d:"M7 12h6",key:"iekk3h"}],["path",{d:"M7.606 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.606",key:"xyqvf1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qD=Ee("battery-warning",[["path",{d:"M10 17h.01",key:"nbq80n"}],["path",{d:"M10 7v6",key:"nne03l"}],["path",{d:"M14 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2",key:"1m83kb"}],["path",{d:"M22 14v-4",key:"14q9d5"}],["path",{d:"M6 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2",key:"h8lgfh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZD=Ee("battery",[["path",{d:"M 22 14 L 22 10",key:"nqc4tb"}],["rect",{x:"2",y:"6",width:"16",height:"12",rx:"2",key:"13zb55"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QD=Ee("beaker",[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JD=Ee("bean-off",[["path",{d:"M9 9c-.64.64-1.521.954-2.402 1.165A6 6 0 0 0 8 22a13.96 13.96 0 0 0 9.9-4.1",key:"bq3udt"}],["path",{d:"M10.75 5.093A6 6 0 0 1 22 8c0 2.411-.61 4.68-1.683 6.66",key:"17ccse"}],["path",{d:"M5.341 10.62a4 4 0 0 0 6.487 1.208M10.62 5.341a4.015 4.015 0 0 1 2.039 2.04",key:"18zqgq"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eP=Ee("bean",[["path",{d:"M10.165 6.598C9.954 7.478 9.64 8.36 9 9c-.64.64-1.521.954-2.402 1.165A6 6 0 0 0 8 22c7.732 0 14-6.268 14-14a6 6 0 0 0-11.835-1.402Z",key:"1tvzk7"}],["path",{d:"M5.341 10.62a4 4 0 1 0 5.279-5.28",key:"2cyri2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tP=Ee("bed-double",[["path",{d:"M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8",key:"1k78r4"}],["path",{d:"M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4",key:"fb3tl2"}],["path",{d:"M12 4v6",key:"1dcgq2"}],["path",{d:"M2 18h20",key:"ajqnye"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rP=Ee("bed-single",[["path",{d:"M3 20v-8a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8",key:"1wm6mi"}],["path",{d:"M5 10V6a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v4",key:"4k93s5"}],["path",{d:"M3 18h18",key:"1h113x"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nP=Ee("bed",[["path",{d:"M2 4v16",key:"vw9hq8"}],["path",{d:"M2 8h18a2 2 0 0 1 2 2v10",key:"1dgv2r"}],["path",{d:"M2 17h20",key:"18nfp3"}],["path",{d:"M6 8v9",key:"1yriud"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aP=Ee("beef",[["path",{d:"M16.4 13.7A6.5 6.5 0 1 0 6.28 6.6c-1.1 3.13-.78 3.9-3.18 6.08A3 3 0 0 0 5 18c4 0 8.4-1.8 11.4-4.3",key:"cisjcv"}],["path",{d:"m18.5 6 2.19 4.5a6.48 6.48 0 0 1-2.29 7.2C15.4 20.2 11 22 7 22a3 3 0 0 1-2.68-1.66L2.4 16.5",key:"5byaag"}],["circle",{cx:"12.5",cy:"8.5",r:"2.5",key:"9738u8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iP=Ee("beer-off",[["path",{d:"M13 13v5",key:"igwfh0"}],["path",{d:"M17 11.47V8",key:"16yw0g"}],["path",{d:"M17 11h1a3 3 0 0 1 2.745 4.211",key:"1xbt65"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-3",key:"c55o3e"}],["path",{d:"M7.536 7.535C6.766 7.649 6.154 8 5.5 8a2.5 2.5 0 0 1-1.768-4.268",key:"1ydug7"}],["path",{d:"M8.727 3.204C9.306 2.767 9.885 2 11 2c1.56 0 2 1.5 3 1.5s1.72-.5 2.5-.5a1 1 0 1 1 0 5c-.78 0-1.5-.5-2.5-.5a3.149 3.149 0 0 0-.842.12",key:"q81o7q"}],["path",{d:"M9 14.6V18",key:"20ek98"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oP=Ee("beer",[["path",{d:"M17 11h1a3 3 0 0 1 0 6h-1",key:"1yp76v"}],["path",{d:"M9 12v6",key:"1u1cab"}],["path",{d:"M13 12v6",key:"1sugkk"}],["path",{d:"M14 7.5c-1 0-1.44.5-3 .5s-2-.5-3-.5-1.72.5-2.5.5a2.5 2.5 0 0 1 0-5c.78 0 1.57.5 2.5.5S9.44 2 11 2s2 1.5 3 1.5 1.72-.5 2.5-.5a2.5 2.5 0 0 1 0 5c-.78 0-1.5-.5-2.5-.5Z",key:"1510fo"}],["path",{d:"M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"19jb7n"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sP=Ee("bell-dot",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M13.916 2.314A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.74 7.327A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673 9 9 0 0 1-.585-.665",key:"1tip0g"}],["circle",{cx:"18",cy:"8",r:"3",key:"1g0gzu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lP=Ee("bell-electric",[["path",{d:"M18.518 17.347A7 7 0 0 1 14 19",key:"1emhpo"}],["path",{d:"M18.8 4A11 11 0 0 1 20 9",key:"127b67"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["circle",{cx:"20",cy:"16",r:"2",key:"1v9bxh"}],["circle",{cx:"9",cy:"9",r:"7",key:"p2h5vp"}],["rect",{x:"4",y:"16",width:"10",height:"6",rx:"2",key:"bfnviv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cP=Ee("bell-minus",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M15 8h6",key:"8ybuxh"}],["path",{d:"M16.243 3.757A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673A9.4 9.4 0 0 1 18.667 12",key:"bdwj86"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uP=Ee("bell-off",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742",key:"178tsu"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05",key:"1hqiys"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dP=Ee("bell-plus",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M15 8h6",key:"8ybuxh"}],["path",{d:"M18 5v6",key:"g5ayrv"}],["path",{d:"M20.002 14.464a9 9 0 0 0 .738.863A1 1 0 0 1 20 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 8.75-5.332",key:"1abcvy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YT=Ee("bell-ring",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M22 8c0-2.3-.8-4.3-2-6",key:"5bb3ad"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}],["path",{d:"M4 2C2.8 3.7 2 5.7 2 8",key:"tap9e0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fP=Ee("bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Hx=Ee("between-horizontal-end",[["rect",{width:"13",height:"7",x:"3",y:"3",rx:"1",key:"11xb64"}],["path",{d:"m22 15-3-3 3-3",key:"26chmm"}],["rect",{width:"13",height:"7",x:"3",y:"14",rx:"1",key:"k6ky7n"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vx=Ee("between-horizontal-start",[["rect",{width:"13",height:"7",x:"8",y:"3",rx:"1",key:"pkso9a"}],["path",{d:"m2 9 3 3-3 3",key:"1agib5"}],["rect",{width:"13",height:"7",x:"8",y:"14",rx:"1",key:"1q5fc1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hP=Ee("between-vertical-end",[["rect",{width:"7",height:"13",x:"3",y:"3",rx:"1",key:"1fdu0f"}],["path",{d:"m9 22 3-3 3 3",key:"17z65a"}],["rect",{width:"7",height:"13",x:"14",y:"3",rx:"1",key:"1squn4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pP=Ee("between-vertical-start",[["rect",{width:"7",height:"13",x:"3",y:"8",rx:"1",key:"1fjrkv"}],["path",{d:"m15 2-3 3-3-3",key:"1uh6eb"}],["rect",{width:"7",height:"13",x:"14",y:"8",rx:"1",key:"w3fjg8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vP=Ee("biceps-flexed",[["path",{d:"M12.409 13.017A5 5 0 0 1 22 15c0 3.866-4 7-9 7-4.077 0-8.153-.82-10.371-2.462-.426-.316-.631-.832-.62-1.362C2.118 12.723 2.627 2 10 2a3 3 0 0 1 3 3 2 2 0 0 1-2 2c-1.105 0-1.64-.444-2-1",key:"1pmlyh"}],["path",{d:"M15 14a5 5 0 0 0-7.584 2",key:"5rb254"}],["path",{d:"M9.964 6.825C8.019 7.977 9.5 13 8 15",key:"kbvsx9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mP=Ee("bike",[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gP=Ee("binary",[["rect",{x:"14",y:"14",width:"4",height:"6",rx:"2",key:"p02svl"}],["rect",{x:"6",y:"4",width:"4",height:"6",rx:"2",key:"xm4xkj"}],["path",{d:"M6 20h4",key:"1i6q5t"}],["path",{d:"M14 10h4",key:"ru81e7"}],["path",{d:"M6 14h2v6",key:"16z9wg"}],["path",{d:"M14 4h2v6",key:"1idq9u"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yP=Ee("binoculars",[["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M19 7V4a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3",key:"3apit1"}],["path",{d:"M20 21a2 2 0 0 0 2-2v-3.851c0-1.39-2-2.962-2-4.829V8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v11a2 2 0 0 0 2 2z",key:"rhpgnw"}],["path",{d:"M 22 16 L 2 16",key:"14lkq7"}],["path",{d:"M4 21a2 2 0 0 1-2-2v-3.851c0-1.39 2-2.962 2-4.829V8a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v11a2 2 0 0 1-2 2z",key:"104b3k"}],["path",{d:"M9 7V4a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v3",key:"14fczp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _P=Ee("biohazard",[["circle",{cx:"12",cy:"11.9",r:"2",key:"e8h31w"}],["path",{d:"M6.7 3.4c-.9 2.5 0 5.2 2.2 6.7C6.5 9 3.7 9.6 2 11.6",key:"17bolr"}],["path",{d:"m8.9 10.1 1.4.8",key:"15ezny"}],["path",{d:"M17.3 3.4c.9 2.5 0 5.2-2.2 6.7 2.4-1.2 5.2-.6 6.9 1.5",key:"wtwa5u"}],["path",{d:"m15.1 10.1-1.4.8",key:"1r0b28"}],["path",{d:"M16.7 20.8c-2.6-.4-4.6-2.6-4.7-5.3-.2 2.6-2.1 4.8-4.7 5.2",key:"m7qszh"}],["path",{d:"M12 13.9v1.6",key:"zfyyim"}],["path",{d:"M13.5 5.4c-1-.2-2-.2-3 0",key:"1bi9q0"}],["path",{d:"M17 16.4c.7-.7 1.2-1.6 1.5-2.5",key:"1rhjqw"}],["path",{d:"M5.5 13.9c.3.9.8 1.8 1.5 2.5",key:"8gsud3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xP=Ee("bird",[["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20",key:"oj1oa8"}],["path",{d:"m20 7 2 .5-2 .5",key:"12nv4d"}],["path",{d:"M10 18v3",key:"1yea0a"}],["path",{d:"M14 17.75V21",key:"1pymcb"}],["path",{d:"M7 18a6 6 0 0 0 3.84-10.61",key:"1npnn0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bP=Ee("birdhouse",[["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m17 18 1.956-11.468",key:"l5n2ro"}],["path",{d:"m3 8 7.82-5.615a2 2 0 0 1 2.36 0L21 8",key:"1sy6n7"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M7 18 5.044 6.532",key:"1uqdf2"}],["circle",{cx:"12",cy:"10",r:"2",key:"1yojzk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EP=Ee("bitcoin",[["path",{d:"M11.767 19.089c4.924.868 6.14-6.025 1.216-6.894m-1.216 6.894L5.86 18.047m5.908 1.042-.347 1.97m1.563-8.864c4.924.869 6.14-6.025 1.215-6.893m-1.215 6.893-3.94-.694m5.155-6.2L8.29 4.26m5.908 1.042.348-1.97M7.48 20.364l3.126-17.727",key:"yr8idg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SP=Ee("blend",[["circle",{cx:"9",cy:"9",r:"7",key:"p2h5vp"}],["circle",{cx:"15",cy:"15",r:"7",key:"19ennj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wP=Ee("blinds",[["path",{d:"M3 3h18",key:"o7r712"}],["path",{d:"M20 7H8",key:"gd2fo2"}],["path",{d:"M20 11H8",key:"1ynp89"}],["path",{d:"M10 19h10",key:"19hjk5"}],["path",{d:"M8 15h12",key:"1yqzne"}],["path",{d:"M4 3v14",key:"fggqzn"}],["circle",{cx:"4",cy:"19",r:"2",key:"p3m9r0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TP=Ee("blocks",[["path",{d:"M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2",key:"1ah6g2"}],["rect",{x:"14",y:"2",width:"8",height:"8",rx:"1",key:"88lufb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AP=Ee("bluetooth-connected",[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}],["line",{x1:"18",x2:"21",y1:"12",y2:"12",key:"1rsjjs"}],["line",{x1:"3",x2:"6",y1:"12",y2:"12",key:"11yl8c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CP=Ee("bluetooth-off",[["path",{d:"m17 17-5 5V12l-5 5",key:"v5aci6"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M14.5 9.5 17 7l-5-5v4.5",key:"1kddfz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kP=Ee("bluetooth-searching",[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}],["path",{d:"M20.83 14.83a4 4 0 0 0 0-5.66",key:"k8tn1j"}],["path",{d:"M18 12h.01",key:"yjnet6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MP=Ee("bluetooth",[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RP=Ee("bold",[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NP=Ee("bolt",[["path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",key:"yt0hxn"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IP=Ee("bomb",[["circle",{cx:"11",cy:"13",r:"9",key:"hd149"}],["path",{d:"M14.35 4.65 16.3 2.7a2.41 2.41 0 0 1 3.4 0l1.6 1.6a2.4 2.4 0 0 1 0 3.4l-1.95 1.95",key:"jp4j1b"}],["path",{d:"m22 2-1.5 1.5",key:"ay92ug"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LP=Ee("bone",[["path",{d:"M17 10c.7-.7 1.69 0 2.5 0a2.5 2.5 0 1 0 0-5 .5.5 0 0 1-.5-.5 2.5 2.5 0 1 0-5 0c0 .81.7 1.8 0 2.5l-7 7c-.7.7-1.69 0-2.5 0a2.5 2.5 0 0 0 0 5c.28 0 .5.22.5.5a2.5 2.5 0 1 0 5 0c0-.81-.7-1.8 0-2.5Z",key:"w610uw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OP=Ee("book-a",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"m8 13 4-7 4 7",key:"4rari8"}],["path",{d:"M9.1 11h5.7",key:"1gkovt"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DP=Ee("book-alert",[["path",{d:"M12 13h.01",key:"y0uutt"}],["path",{d:"M12 6v3",key:"1m4b9j"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PP=Ee("book-audio",[["path",{d:"M12 6v7",key:"1f6ttz"}],["path",{d:"M16 8v3",key:"gejaml"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M8 8v3",key:"1qzp49"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FP=Ee("book-check",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"m9 9.5 2 2 4-4",key:"1dth82"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BP=Ee("book-copy",[["path",{d:"M5 7a2 2 0 0 0-2 2v11",key:"1yhqjt"}],["path",{d:"M5.803 18H5a2 2 0 0 0 0 4h9.5a.5.5 0 0 0 .5-.5V21",key:"edzzo5"}],["path",{d:"M9 15V4a2 2 0 0 1 2-2h9.5a.5.5 0 0 1 .5.5v14a.5.5 0 0 1-.5.5H11a2 2 0 0 1 0-4h10",key:"1nwzrg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zP=Ee("book-down",[["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"m9 10 3 3 3-3",key:"zt5b4y"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Gx=Ee("book-dashed",[["path",{d:"M12 17h1.5",key:"1gkc67"}],["path",{d:"M12 22h1.5",key:"1my7sn"}],["path",{d:"M12 2h1.5",key:"19tvb7"}],["path",{d:"M17.5 22H19a1 1 0 0 0 1-1",key:"10akbh"}],["path",{d:"M17.5 2H19a1 1 0 0 1 1 1v1.5",key:"1vrfjs"}],["path",{d:"M20 14v3h-2.5",key:"1naeju"}],["path",{d:"M20 8.5V10",key:"1ctpfu"}],["path",{d:"M4 10V8.5",key:"1o3zg5"}],["path",{d:"M4 19.5V14",key:"ob81pf"}],["path",{d:"M4 4.5A2.5 2.5 0 0 1 6.5 2H8",key:"s8vcyb"}],["path",{d:"M8 22H6.5a1 1 0 0 1 0-5H8",key:"1cu73q"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UP=Ee("book-headphones",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M8 12v-2a4 4 0 0 1 8 0v2",key:"1vsqkj"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $P=Ee("book-heart",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M8.62 9.8A2.25 2.25 0 1 1 12 6.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z",key:"9v40y5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HP=Ee("book-image",[["path",{d:"m20 13.7-2.1-2.1a2 2 0 0 0-2.8 0L9.7 17",key:"q6ojf0"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["circle",{cx:"10",cy:"8",r:"2",key:"2qkj4p"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VP=Ee("book-key",[["path",{d:"m19 3 1 1",key:"ze14oc"}],["path",{d:"m20 2-4.5 4.5",key:"1sppr8"}],["path",{d:"M20 7.898V21a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"1xzogz"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2h7.844",key:"vtdg6h"}],["circle",{cx:"14",cy:"8",r:"2",key:"u49eql"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GP=Ee("book-lock",[["path",{d:"M18 6V4a2 2 0 1 0-4 0v2",key:"1aquzs"}],["path",{d:"M20 15v6a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"1rkj32"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H10",key:"18wgow"}],["rect",{x:"12",y:"6",width:"8",height:"5",rx:"1",key:"73l30o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jP=Ee("book-marked",[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YP=Ee("book-minus",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M9 10h6",key:"9gxzsh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WP=Ee("book-open-check",[["path",{d:"M12 21V7",key:"gj6g52"}],["path",{d:"m16 12 2 2 4-4",key:"mdajum"}],["path",{d:"M22 6V4a1 1 0 0 0-1-1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4H3a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h6a3 3 0 0 1 3 3 3 3 0 0 1 3-3h6a1 1 0 0 0 1-1v-1.3",key:"8arnkb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WT=Ee("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KP=Ee("book-open-text",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M16 12h2",key:"7q9ll5"}],["path",{d:"M16 8h2",key:"msurwy"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}],["path",{d:"M6 12h2",key:"32wvfc"}],["path",{d:"M6 8h2",key:"30oboj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XP=Ee("book-plus",[["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M9 10h6",key:"9gxzsh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qP=Ee("book-text",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M8 11h8",key:"vwpz6n"}],["path",{d:"M8 7h6",key:"1f0q6e"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZP=Ee("book-type",[["path",{d:"M10 13h4",key:"ytezjc"}],["path",{d:"M12 6v7",key:"1f6ttz"}],["path",{d:"M16 8V6H8v2",key:"x8j6u4"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QP=Ee("book-up-2",[["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M18 2h1a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"161d7n"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2",key:"1lorq7"}],["path",{d:"m9 10 3-3 3 3",key:"11gsxs"}],["path",{d:"m9 5 3-3 3 3",key:"l8vdw6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JP=Ee("book-up",[["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"m9 10 3-3 3 3",key:"11gsxs"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eF=Ee("book-user",[["path",{d:"M15 13a3 3 0 1 0-6 0",key:"10j68g"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tF=Ee("book-x",[["path",{d:"m14.5 7-5 5",key:"dy991v"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"m9.5 7 5 5",key:"s45iea"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rF=Ee("book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nF=Ee("bookmark-check",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2Z",key:"169p4p"}],["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aF=Ee("bookmark-minus",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}],["line",{x1:"15",x2:"9",y1:"10",y2:"10",key:"1gty7f"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iF=Ee("bookmark-plus",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}],["line",{x1:"12",x2:"12",y1:"7",y2:"13",key:"1cppfj"}],["line",{x1:"15",x2:"9",y1:"10",y2:"10",key:"1gty7f"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oF=Ee("bookmark-x",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2Z",key:"169p4p"}],["path",{d:"m14.5 7.5-5 5",key:"3lb6iw"}],["path",{d:"m9.5 7.5 5 5",key:"ko136h"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sF=Ee("bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lF=Ee("boom-box",[["path",{d:"M4 9V5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4",key:"vvzvr1"}],["path",{d:"M8 8v1",key:"xcqmfk"}],["path",{d:"M12 8v1",key:"1rj8u4"}],["path",{d:"M16 8v1",key:"1q12zr"}],["rect",{width:"20",height:"12",x:"2",y:"9",rx:"2",key:"igpb89"}],["circle",{cx:"8",cy:"15",r:"2",key:"fa4a8s"}],["circle",{cx:"16",cy:"15",r:"2",key:"14c3ya"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cF=Ee("bot-message-square",[["path",{d:"M12 6V2H8",key:"1155em"}],["path",{d:"M15 11v2",key:"i11awn"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 16a2 2 0 0 1-2 2H8.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 4 20.286V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2z",key:"11gyqh"}],["path",{d:"M9 11v2",key:"1ueba0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uF=Ee("bot-off",[["path",{d:"M13.67 8H18a2 2 0 0 1 2 2v4.33",key:"7az073"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M22 22 2 2",key:"1r8tn9"}],["path",{d:"M8 8H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 1.414-.586",key:"s09a7a"}],["path",{d:"M9 13v2",key:"rq6x2g"}],["path",{d:"M9.67 4H12v2.33",key:"110xot"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dF=Ee("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fF=Ee("bow-arrow",[["path",{d:"M17 3h4v4",key:"19p9u1"}],["path",{d:"M18.575 11.082a13 13 0 0 1 1.048 9.027 1.17 1.17 0 0 1-1.914.597L14 17",key:"12t3w9"}],["path",{d:"M7 10 3.29 6.29a1.17 1.17 0 0 1 .6-1.91 13 13 0 0 1 9.03 1.05",key:"ogng5l"}],["path",{d:"M7 14a1.7 1.7 0 0 0-1.207.5l-2.646 2.646A.5.5 0 0 0 3.5 18H5a1 1 0 0 1 1 1v1.5a.5.5 0 0 0 .854.354L9.5 18.207A1.7 1.7 0 0 0 10 17v-2a1 1 0 0 0-1-1z",key:"8v3fy2"}],["path",{d:"M9.707 14.293 21 3",key:"ydm3bn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hF=Ee("bottle-wine",[["path",{d:"M10 3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a6 6 0 0 0 1.2 3.6l.6.8A6 6 0 0 1 17 13v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-8a6 6 0 0 1 1.2-3.6l.6-.8A6 6 0 0 0 10 5z",key:"blqgoc"}],["path",{d:"M17 13h-4a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h4",key:"43jbee"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pF=Ee("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vF=Ee("boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jx=Ee("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mF=Ee("brackets",[["path",{d:"M16 3h3a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-3",key:"1kt8lf"}],["path",{d:"M8 21H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h3",key:"gduv9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gF=Ee("brain-circuit",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yF=Ee("brain-cog",[["path",{d:"m10.852 14.772-.383.923",key:"11vil6"}],["path",{d:"m10.852 9.228-.383-.923",key:"1fjppe"}],["path",{d:"m13.148 14.772.382.924",key:"je3va1"}],["path",{d:"m13.531 8.305-.383.923",key:"18epck"}],["path",{d:"m14.772 10.852.923-.383",key:"k9m8cz"}],["path",{d:"m14.772 13.148.923.383",key:"1xvhww"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 0 0-5.63-1.446 3 3 0 0 0-.368 1.571 4 4 0 0 0-2.525 5.771",key:"jcbbz1"}],["path",{d:"M17.998 5.125a4 4 0 0 1 2.525 5.771",key:"1kkn7e"}],["path",{d:"M19.505 10.294a4 4 0 0 1-1.5 7.706",key:"18bmuc"}],["path",{d:"M4.032 17.483A4 4 0 0 0 11.464 20c.18-.311.892-.311 1.072 0a4 4 0 0 0 7.432-2.516",key:"uozx0d"}],["path",{d:"M4.5 10.291A4 4 0 0 0 6 18",key:"whdemb"}],["path",{d:"M6.002 5.125a3 3 0 0 0 .4 1.375",key:"1kqy2g"}],["path",{d:"m9.228 10.852-.923-.383",key:"1wtb30"}],["path",{d:"m9.228 13.148-.923.383",key:"1a830x"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _F=Ee("brick-wall-fire",[["path",{d:"M16 3v2.107",key:"gq8xun"}],["path",{d:"M17 9c1 3 2.5 3.5 3.5 4.5A5 5 0 0 1 22 17a5 5 0 0 1-10 0c0-.3 0-.6.1-.9a2 2 0 1 0 3.3-2C13 11.5 16 9 17 9",key:"1l2pih"}],["path",{d:"M21 8.274V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.938",key:"jrnqjp"}],["path",{d:"M3 15h5.253",key:"xqg7rb"}],["path",{d:"M3 9h8.228",key:"1ppb70"}],["path",{d:"M8 15v6",key:"1stoo3"}],["path",{d:"M8 3v6",key:"vlvjmk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xF=Ee("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bF=Ee("brick-wall-shield",[["path",{d:"M12 9v1.258",key:"iwpddn"}],["path",{d:"M16 3v5.46",key:"d7ew98"}],["path",{d:"M21 9.118V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h5.75",key:"137t5x"}],["path",{d:"M22 17.5c0 2.499-1.75 3.749-3.83 4.474a.5.5 0 0 1-.335-.005c-2.085-.72-3.835-1.97-3.835-4.47V14a.5.5 0 0 1 .5-.499c1 0 2.25-.6 3.12-1.36a.6.6 0 0 1 .76-.001c.875.765 2.12 1.36 3.12 1.36a.5.5 0 0 1 .5.5z",key:"16j3tf"}],["path",{d:"M3 15h7",key:"1qldh6"}],["path",{d:"M3 9h12.142",key:"1yjd6m"}],["path",{d:"M8 15v6",key:"1stoo3"}],["path",{d:"M8 3v6",key:"vlvjmk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EF=Ee("brick-wall",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 9v6",key:"199k2o"}],["path",{d:"M16 15v6",key:"8rj2es"}],["path",{d:"M16 3v6",key:"1j6rpj"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M8 15v6",key:"1stoo3"}],["path",{d:"M8 3v6",key:"vlvjmk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SF=Ee("briefcase-business",[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wF=Ee("briefcase-conveyor-belt",[["path",{d:"M10 20v2",key:"1n8e1g"}],["path",{d:"M14 20v2",key:"1lq872"}],["path",{d:"M18 20v2",key:"10uadw"}],["path",{d:"M21 20H3",key:"kdqkdp"}],["path",{d:"M6 20v2",key:"a9bc87"}],["path",{d:"M8 16V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v12",key:"17n9tx"}],["rect",{x:"4",y:"6",width:"16",height:"10",rx:"2",key:"1097i5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TF=Ee("briefcase-medical",[["path",{d:"M12 11v4",key:"a6ujw6"}],["path",{d:"M14 13h-4",key:"1pl8zg"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M18 6v14",key:"1mu4gy"}],["path",{d:"M6 6v14",key:"1s15cj"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AF=Ee("bring-to-front",[["rect",{x:"8",y:"8",width:"8",height:"8",rx:"2",key:"yj20xf"}],["path",{d:"M4 10a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2",key:"1ltk23"}],["path",{d:"M14 20a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2",key:"1q24h9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CF=Ee("briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kF=Ee("brush-cleaning",[["path",{d:"m16 22-1-4",key:"1ow2iv"}],["path",{d:"M19 13.99a1 1 0 0 0 1-1V12a2 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 2v.99a1 1 0 0 0 1 1",key:"iw8jdu"}],["path",{d:"M5 14h14l1.973 6.767A1 1 0 0 1 20 22H4a1 1 0 0 1-.973-1.233z",key:"1soew8"}],["path",{d:"m8 22 1-4",key:"s3unb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MF=Ee("brush",[["path",{d:"m11 10 3 3",key:"fzmg1i"}],["path",{d:"M6.5 21A3.5 3.5 0 1 0 3 17.5a2.62 2.62 0 0 1-.708 1.792A1 1 0 0 0 3 21z",key:"p4q2r7"}],["path",{d:"M9.969 17.031 21.378 5.624a1 1 0 0 0-3.002-3.002L6.967 14.031",key:"wy6l02"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RF=Ee("bubbles",[["path",{d:"M7.2 14.8a2 2 0 0 1 2 2",key:"1tw9gg"}],["circle",{cx:"18.5",cy:"8.5",r:"3.5",key:"1wadoa"}],["circle",{cx:"7.5",cy:"16.5",r:"5.5",key:"6mdt3g"}],["circle",{cx:"7.5",cy:"4.5",r:"2.5",key:"637s54"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NF=Ee("bug-off",[["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M15 7.13V6a3 3 0 0 0-5.14-2.1L8 2",key:"vl8zik"}],["path",{d:"M18 12.34V11a4 4 0 0 0-4-4h-1.3",key:"sz915m"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-3.34",key:"1y15gv"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M7.7 7.7A4 4 0 0 0 6 11v3a6 6 0 0 0 11.13 3.13",key:"1njkjs"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IF=Ee("bug-play",[["path",{d:"M10 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97",key:"1gnv52"}],["path",{d:"M14 15.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-1.517-.86z",key:"1weqy9"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Yx=Ee("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LF=Ee("building-2",[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OF=Ee("building",[["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3",key:"cabbwy"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DF=Ee("bus-front",[["path",{d:"M4 6 2 7",key:"1mqr15"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"m22 7-2-1",key:"1umjhc"}],["rect",{width:"16",height:"16",x:"4",y:"3",rx:"2",key:"1wxw4b"}],["path",{d:"M4 11h16",key:"mpoxn0"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M16 15h.01",key:"rnfrdf"}],["path",{d:"M6 19v2",key:"1loha6"}],["path",{d:"M18 21v-2",key:"sqyl04"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PF=Ee("bus",[["path",{d:"M8 6v6",key:"18i7km"}],["path",{d:"M15 6v6",key:"1sg6z9"}],["path",{d:"M2 12h19.6",key:"de5uta"}],["path",{d:"M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3",key:"1wwztk"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}],["path",{d:"M9 18h5",key:"lrx6i"}],["circle",{cx:"16",cy:"18",r:"2",key:"1v4tcr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FF=Ee("cable-car",[["path",{d:"M10 3h.01",key:"lbucoy"}],["path",{d:"M14 2h.01",key:"1k8aa1"}],["path",{d:"m2 9 20-5",key:"1kz0j5"}],["path",{d:"M12 12V6.5",key:"1vbrij"}],["rect",{width:"16",height:"10",x:"4",y:"12",rx:"3",key:"if91er"}],["path",{d:"M9 12v5",key:"3anwtq"}],["path",{d:"M15 12v5",key:"5xh3zn"}],["path",{d:"M4 17h16",key:"g4d7ey"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BF=Ee("cable",[["path",{d:"M17 19a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1z",key:"trhst0"}],["path",{d:"M17 21v-2",key:"ds4u3f"}],["path",{d:"M19 14V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V10",key:"1mo9zo"}],["path",{d:"M21 21v-2",key:"eo0ou"}],["path",{d:"M3 5V3",key:"1k5hjh"}],["path",{d:"M4 10a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2z",key:"1dd30t"}],["path",{d:"M7 5V3",key:"1t1388"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zF=Ee("cake-slice",[["path",{d:"M16 13H3",key:"1wpj08"}],["path",{d:"M16 17H3",key:"3lvfcd"}],["path",{d:"m7.2 7.9-3.388 2.5A2 2 0 0 0 3 12.01V20a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-8.654c0-2-2.44-6.026-6.44-8.026a1 1 0 0 0-1.082.057L10.4 5.6",key:"1gmhf7"}],["circle",{cx:"9",cy:"7",r:"2",key:"1305pl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UF=Ee("cake",[["path",{d:"M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8",key:"1w3rig"}],["path",{d:"M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1",key:"n2jgmb"}],["path",{d:"M2 21h20",key:"1nyx9w"}],["path",{d:"M7 8v3",key:"1qtyvj"}],["path",{d:"M12 8v3",key:"hwp4zt"}],["path",{d:"M17 8v3",key:"1i6e5u"}],["path",{d:"M7 4h.01",key:"1bh4kh"}],["path",{d:"M12 4h.01",key:"1ujb9j"}],["path",{d:"M17 4h.01",key:"1upcoc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $F=Ee("calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HF=Ee("calendar-1",[["path",{d:"M11 14h1v4",key:"fy54vd"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}],["rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",key:"12vinp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VF=Ee("calendar-arrow-down",[["path",{d:"m14 18 4 4 4-4",key:"1waygx"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M18 14v8",key:"irew45"}],["path",{d:"M21 11.354V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.343",key:"bse4f3"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GF=Ee("calendar-arrow-up",[["path",{d:"m14 18 4-4 4 4",key:"ftkppy"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M18 22v-8",key:"su0gjh"}],["path",{d:"M21 11.343V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h9",key:"1exg90"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jF=Ee("calendar-check-2",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 14V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8",key:"bce9hv"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m16 20 2 2 4-4",key:"13tcca"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YF=Ee("calendar-check",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WF=Ee("calendar-cog",[["path",{d:"m15.228 16.852-.923-.383",key:"npixar"}],["path",{d:"m15.228 19.148-.923.383",key:"51cr3n"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"m16.47 14.305.382.923",key:"obybxd"}],["path",{d:"m16.852 20.772-.383.924",key:"dpfhf9"}],["path",{d:"m19.148 15.228.383-.923",key:"1reyyz"}],["path",{d:"m19.53 21.696-.382-.924",key:"1goivc"}],["path",{d:"m20.772 16.852.924-.383",key:"htqkph"}],["path",{d:"m20.772 19.148.924.383",key:"9w9pjp"}],["path",{d:"M21 10.592V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6",key:"1pvbig"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KF=Ee("calendar-clock",[["path",{d:"M16 14v2.2l1.6 1",key:"fo4ql5"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M3 10h5",key:"r794hk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XF=Ee("calendar-days",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qF=Ee("calendar-fold",[["path",{d:"M3 20a2 2 0 0 0 2 2h10a2.4 2.4 0 0 0 1.706-.706l3.588-3.588A2.4 2.4 0 0 0 21 16V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z",key:"r586nh"}],["path",{d:"M15 22v-5a1 1 0 0 1 1-1h5",key:"xl3app"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZF=Ee("calendar-heart",[["path",{d:"M12.127 22H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v5.125",key:"vxdnp4"}],["path",{d:"M14.62 18.8A2.25 2.25 0 1 1 18 15.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z",key:"15cy7q"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QF=Ee("calendar-minus-2",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M10 16h4",key:"17e571"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JF=Ee("calendar-minus",[["path",{d:"M16 19h6",key:"xwg31i"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 15V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8.5",key:"1scpom"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eB=Ee("calendar-off",[["path",{d:"M4.2 4.2A2 2 0 0 0 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 1.82-1.18",key:"16swn3"}],["path",{d:"M21 15.5V6a2 2 0 0 0-2-2H9.5",key:"yhw86o"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M3 10h7",key:"1wap6i"}],["path",{d:"M21 10h-5.5",key:"quycpq"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tB=Ee("calendar-plus-2",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M10 16h4",key:"17e571"}],["path",{d:"M12 14v4",key:"1thi36"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rB=Ee("calendar-plus",[["path",{d:"M16 19h6",key:"xwg31i"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M19 16v6",key:"tddt3s"}],["path",{d:"M21 12.598V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8.5",key:"1glfrc"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nB=Ee("calendar-range",[["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M17 14h-6",key:"bkmgh3"}],["path",{d:"M13 18H7",key:"bb0bb7"}],["path",{d:"M7 14h.01",key:"1qa3f1"}],["path",{d:"M17 18h.01",key:"1bdyru"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aB=Ee("calendar-search",[["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 11.75V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.25",key:"1jrsq6"}],["path",{d:"m22 22-1.875-1.875",key:"13zax7"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iB=Ee("calendar-sync",[["path",{d:"M11 10v4h4",key:"172dkj"}],["path",{d:"m11 14 1.535-1.605a5 5 0 0 1 8 1.5",key:"vu0qm5"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"m21 18-1.535 1.605a5 5 0 0 1-8-1.5",key:"1qgeyt"}],["path",{d:"M21 22v-4h-4",key:"hrummi"}],["path",{d:"M21 8.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h4.3",key:"mctw84"}],["path",{d:"M3 10h4",key:"1el30a"}],["path",{d:"M8 2v4",key:"1cmpym"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oB=Ee("calendar-x-2",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 13V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8",key:"3spt84"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m17 22 5-5",key:"1k6ppv"}],["path",{d:"m17 17 5 5",key:"p7ous7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sB=Ee("calendar-x",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m14 14-4 4",key:"rymu2i"}],["path",{d:"m10 14 4 4",key:"3sz06r"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lB=Ee("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cB=Ee("calendars",[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M15.726 21.01A2 2 0 0 1 14 22H4a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2",key:"j6srht"}],["path",{d:"M18 2v2",key:"1kh14s"}],["path",{d:"M2 13h2",key:"13gyu8"}],["path",{d:"M8 8h14",key:"12jxz2"}],["rect",{x:"8",y:"3",width:"14",height:"14",rx:"2",key:"nsru6w"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uB=Ee("camera-off",[["path",{d:"M14.564 14.558a3 3 0 1 1-4.122-4.121",key:"1rnrzw"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M20 20H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 .819-.175",key:"1x3arw"}],["path",{d:"M9.695 4.024A2 2 0 0 1 10.004 4h3.993a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v7.344",key:"1i84u0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dB=Ee("camera",[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fB=Ee("candy-cane",[["path",{d:"M5.7 21a2 2 0 0 1-3.5-2l8.6-14a6 6 0 0 1 10.4 6 2 2 0 1 1-3.464-2 2 2 0 1 0-3.464-2Z",key:"isaq8g"}],["path",{d:"M17.75 7 15 2.1",key:"12x7e8"}],["path",{d:"M10.9 4.8 13 9",key:"100a87"}],["path",{d:"m7.9 9.7 2 4.4",key:"ntfhaj"}],["path",{d:"M4.9 14.7 7 18.9",key:"1x43jy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hB=Ee("candy-off",[["path",{d:"M10 10v7.9",key:"m8g9tt"}],["path",{d:"M11.802 6.145a5 5 0 0 1 6.053 6.053",key:"dn87i3"}],["path",{d:"M14 6.1v2.243",key:"1kzysn"}],["path",{d:"m15.5 15.571-.964.964a5 5 0 0 1-7.071 0 5 5 0 0 1 0-7.07l.964-.965",key:"3sxy18"}],["path",{d:"M16 7V3a1 1 0 0 1 1.707-.707 2.5 2.5 0 0 0 2.152.717 1 1 0 0 1 1.131 1.131 2.5 2.5 0 0 0 .717 2.152A1 1 0 0 1 21 8h-4",key:"gpb6xx"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8 17v4a1 1 0 0 1-1.707.707 2.5 2.5 0 0 0-2.152-.717 1 1 0 0 1-1.131-1.131 2.5 2.5 0 0 0-.717-2.152A1 1 0 0 1 3 16h4",key:"qexcha"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pB=Ee("candy",[["path",{d:"M10 7v10.9",key:"1gynux"}],["path",{d:"M14 6.1V17",key:"116kdf"}],["path",{d:"M16 7V3a1 1 0 0 1 1.707-.707 2.5 2.5 0 0 0 2.152.717 1 1 0 0 1 1.131 1.131 2.5 2.5 0 0 0 .717 2.152A1 1 0 0 1 21 8h-4",key:"gpb6xx"}],["path",{d:"M16.536 7.465a5 5 0 0 0-7.072 0l-2 2a5 5 0 0 0 0 7.07 5 5 0 0 0 7.072 0l2-2a5 5 0 0 0 0-7.07",key:"1tsln4"}],["path",{d:"M8 17v4a1 1 0 0 1-1.707.707 2.5 2.5 0 0 0-2.152-.717 1 1 0 0 1-1.131-1.131 2.5 2.5 0 0 0-.717-2.152A1 1 0 0 1 3 16h4",key:"qexcha"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vB=Ee("cannabis",[["path",{d:"M12 22v-4",key:"1utk9m"}],["path",{d:"M7 12c-1.5 0-4.5 1.5-5 3 3.5 1.5 6 1 6 1-1.5 1.5-2 3.5-2 5 2.5 0 4.5-1.5 6-3 1.5 1.5 3.5 3 6 3 0-1.5-.5-3.5-2-5 0 0 2.5.5 6-1-.5-1.5-3.5-3-5-3 1.5-1 4-4 4-6-2.5 0-5.5 1.5-7 3 0-2.5-.5-5-2-7-1.5 2-2 4.5-2 7-1.5-1.5-4.5-3-7-3 0 2 2.5 5 4 6",key:"1mezod"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mB=Ee("captions-off",[["path",{d:"M10.5 5H19a2 2 0 0 1 2 2v8.5",key:"jqtk4d"}],["path",{d:"M17 11h-.5",key:"1961ue"}],["path",{d:"M19 19H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2",key:"1keqsi"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M7 11h4",key:"1o1z6v"}],["path",{d:"M7 15h2.5",key:"1ina1g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wx=Ee("captions",[["rect",{width:"18",height:"14",x:"3",y:"5",rx:"2",ry:"2",key:"12ruh7"}],["path",{d:"M7 15h4M15 15h2M7 11h2M13 11h4",key:"1ueiar"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gB=Ee("car-front",[["path",{d:"m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8",key:"1imjwt"}],["path",{d:"M7 14h.01",key:"1qa3f1"}],["path",{d:"M17 14h.01",key:"7oqj8z"}],["rect",{width:"18",height:"8",x:"3",y:"10",rx:"2",key:"a7itu8"}],["path",{d:"M5 18v2",key:"ppbyun"}],["path",{d:"M19 18v2",key:"gy7782"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yB=Ee("car-taxi-front",[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8",key:"1imjwt"}],["path",{d:"M7 14h.01",key:"1qa3f1"}],["path",{d:"M17 14h.01",key:"7oqj8z"}],["rect",{width:"18",height:"8",x:"3",y:"10",rx:"2",key:"a7itu8"}],["path",{d:"M5 18v2",key:"ppbyun"}],["path",{d:"M19 18v2",key:"gy7782"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _B=Ee("car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xB=Ee("caravan",[["path",{d:"M18 19V9a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v8a2 2 0 0 0 2 2h2",key:"19jm3t"}],["path",{d:"M2 9h3a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2",key:"13hakp"}],["path",{d:"M22 17v1a1 1 0 0 1-1 1H10v-9a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v9",key:"1crci8"}],["circle",{cx:"8",cy:"19",r:"2",key:"t8fc5s"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bB=Ee("card-sim",[["path",{d:"M12 14v4",key:"1thi36"}],["path",{d:"M14.172 2a2 2 0 0 1 1.414.586l3.828 3.828A2 2 0 0 1 20 7.828V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z",key:"1o66bk"}],["path",{d:"M8 14h8",key:"1fgep2"}],["rect",{x:"8",y:"10",width:"8",height:"8",rx:"1",key:"1aonk6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EB=Ee("carrot",[["path",{d:"M2.27 21.7s9.87-3.5 12.73-6.36a4.5 4.5 0 0 0-6.36-6.37C5.77 11.84 2.27 21.7 2.27 21.7zM8.64 14l-2.05-2.04M15.34 15l-2.46-2.46",key:"rfqxbe"}],["path",{d:"M22 9s-1.33-2-3.5-2C16.86 7 15 9 15 9s1.33 2 3.5 2S22 9 22 9z",key:"6b25w4"}],["path",{d:"M15 2s-2 1.33-2 3.5S15 9 15 9s2-1.84 2-3.5C17 3.33 15 2 15 2z",key:"fn65lo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SB=Ee("case-lower",[["path",{d:"M10 9v7",key:"ylp826"}],["path",{d:"M14 6v10",key:"1jy4vg"}],["circle",{cx:"17.5",cy:"12.5",r:"3.5",key:"1a9481"}],["circle",{cx:"6.5",cy:"12.5",r:"3.5",key:"2jlv1r"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wB=Ee("case-sensitive",[["path",{d:"m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16",key:"d5nyq2"}],["path",{d:"M22 9v7",key:"pvm9v3"}],["path",{d:"M3.304 13h6.392",key:"1q3zxz"}],["circle",{cx:"18.5",cy:"12.5",r:"3.5",key:"z97x68"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TB=Ee("case-upper",[["path",{d:"M15 11h4.5a1 1 0 0 1 0 5h-4a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h3a1 1 0 0 1 0 5",key:"nxs35"}],["path",{d:"m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16",key:"d5nyq2"}],["path",{d:"M3.304 13h6.392",key:"1q3zxz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AB=Ee("cassette-tape",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["circle",{cx:"8",cy:"10",r:"2",key:"1xl4ub"}],["path",{d:"M8 12h8",key:"1wcyev"}],["circle",{cx:"16",cy:"10",r:"2",key:"r14t7q"}],["path",{d:"m6 20 .7-2.9A1.4 1.4 0 0 1 8.1 16h7.8a1.4 1.4 0 0 1 1.4 1l.7 3",key:"l01ucn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CB=Ee("cast",[["path",{d:"M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6",key:"3zrzxg"}],["path",{d:"M2 12a9 9 0 0 1 8 8",key:"g6cvee"}],["path",{d:"M2 16a5 5 0 0 1 4 4",key:"1y1dii"}],["line",{x1:"2",x2:"2.01",y1:"20",y2:"20",key:"xu2jvo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kB=Ee("castle",[["path",{d:"M10 5V3",key:"1y54qe"}],["path",{d:"M14 5V3",key:"m6isi"}],["path",{d:"M15 21v-3a3 3 0 0 0-6 0v3",key:"lbp5hj"}],["path",{d:"M18 3v8",key:"2ollhf"}],["path",{d:"M18 5H6",key:"98imr9"}],["path",{d:"M22 11H2",key:"1lmjae"}],["path",{d:"M22 9v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9",key:"1rly83"}],["path",{d:"M6 3v8",key:"csox7g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MB=Ee("cat",[["path",{d:"M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z",key:"x6xyqk"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M11.25 16.25h1.5L12 17l-.75-.75Z",key:"12kq1m"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RB=Ee("cctv",[["path",{d:"M16.75 12h3.632a1 1 0 0 1 .894 1.447l-2.034 4.069a1 1 0 0 1-1.708.134l-2.124-2.97",key:"ir91b5"}],["path",{d:"M17.106 9.053a1 1 0 0 1 .447 1.341l-3.106 6.211a1 1 0 0 1-1.342.447L3.61 12.3a2.92 2.92 0 0 1-1.3-3.91L3.69 5.6a2.92 2.92 0 0 1 3.92-1.3z",key:"jlp8i1"}],["path",{d:"M2 19h3.76a2 2 0 0 0 1.8-1.1L9 15",key:"19bib8"}],["path",{d:"M2 21v-4",key:"l40lih"}],["path",{d:"M7 9h.01",key:"19b3jx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kx=Ee("chart-area",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 11.207a.5.5 0 0 1 .146-.353l2-2a.5.5 0 0 1 .708 0l3.292 3.292a.5.5 0 0 0 .708 0l4.292-4.292a.5.5 0 0 1 .854.353V16a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1z",key:"q0gr47"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Xx=Ee("chart-bar-big",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"7",y:"13",width:"9",height:"4",rx:"1",key:"1iip1u"}],["rect",{x:"7",y:"5",width:"12",height:"4",rx:"1",key:"1anskk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NB=Ee("chart-bar-decreasing",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 11h8",key:"1feolt"}],["path",{d:"M7 16h3",key:"ur6vzw"}],["path",{d:"M7 6h12",key:"sz5b0d"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IB=Ee("chart-bar-increasing",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 11h8",key:"1feolt"}],["path",{d:"M7 16h12",key:"wsnu98"}],["path",{d:"M7 6h3",key:"w9rmul"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LB=Ee("chart-bar-stacked",[["path",{d:"M11 13v4",key:"vyy2rb"}],["path",{d:"M15 5v4",key:"1gx88a"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"7",y:"13",width:"9",height:"4",rx:"1",key:"1iip1u"}],["rect",{x:"7",y:"5",width:"12",height:"4",rx:"1",key:"1anskk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qx=Ee("chart-bar",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16h8",key:"srdodz"}],["path",{d:"M7 11h12",key:"127s9w"}],["path",{d:"M7 6h3",key:"w9rmul"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zx=Ee("chart-candlestick",[["path",{d:"M9 5v4",key:"14uxtq"}],["rect",{width:"4",height:"6",x:"7",y:"9",rx:"1",key:"f4fvz0"}],["path",{d:"M9 15v2",key:"r5rk32"}],["path",{d:"M17 3v2",key:"1l2re6"}],["rect",{width:"4",height:"8",x:"15",y:"5",rx:"1",key:"z38je5"}],["path",{d:"M17 13v3",key:"5l0wba"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qx=Ee("chart-column-big",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"15",y:"5",width:"4",height:"12",rx:"1",key:"q8uenq"}],["rect",{x:"7",y:"8",width:"4",height:"9",rx:"1",key:"sr5ea"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OB=Ee("chart-column-decreasing",[["path",{d:"M13 17V9",key:"1fwyjl"}],["path",{d:"M18 17v-3",key:"1sqioe"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M8 17V5",key:"1wzmnc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jx=Ee("chart-column-increasing",[["path",{d:"M13 17V9",key:"1fwyjl"}],["path",{d:"M18 17V5",key:"sfb6ij"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DB=Ee("chart-column-stacked",[["path",{d:"M11 13H7",key:"t0o9gq"}],["path",{d:"M19 9h-4",key:"rera1j"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"15",y:"5",width:"4",height:"12",rx:"1",key:"q8uenq"}],["rect",{x:"7",y:"8",width:"4",height:"9",rx:"1",key:"sr5ea"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eb=Ee("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PB=Ee("chart-gantt",[["path",{d:"M10 6h8",key:"zvc2xc"}],["path",{d:"M12 16h6",key:"yi5mkt"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M8 11h7",key:"wz2hg0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tb=Ee("chart-line",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FB=Ee("chart-network",[["path",{d:"m13.11 7.664 1.78 2.672",key:"go2gg9"}],["path",{d:"m14.162 12.788-3.324 1.424",key:"11x848"}],["path",{d:"m20 4-6.06 1.515",key:"1wxxh7"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["circle",{cx:"12",cy:"6",r:"2",key:"1jj5th"}],["circle",{cx:"16",cy:"12",r:"2",key:"4ma0v8"}],["circle",{cx:"9",cy:"15",r:"2",key:"lf2ghp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BB=Ee("chart-no-axes-column-decreasing",[["path",{d:"M5 21V3",key:"clc1r8"}],["path",{d:"M12 21V9",key:"uvy0l4"}],["path",{d:"M19 21v-6",key:"tkawy9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rb=Ee("chart-no-axes-column-increasing",[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V9",key:"uvy0l4"}],["path",{d:"M19 21V3",key:"11j9sm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nb=Ee("chart-no-axes-column",[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ab=Ee("chart-no-axes-gantt",[["path",{d:"M6 5h12",key:"fvfigv"}],["path",{d:"M4 12h10",key:"oujl3d"}],["path",{d:"M12 19h8",key:"baeox8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zB=Ee("chart-no-axes-combined",[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14v7",key:"1g90b9"}],["path",{d:"M20 10v11",key:"1iqoj0"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18v3",key:"1yp0dc"}],["path",{d:"M8 14v7",key:"n3cwzv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ib=Ee("chart-pie",[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ob=Ee("chart-scatter",[["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}],["circle",{cx:"18.5",cy:"5.5",r:".5",fill:"currentColor",key:"lysivs"}],["circle",{cx:"11.5",cy:"11.5",r:".5",fill:"currentColor",key:"byv1b8"}],["circle",{cx:"7.5",cy:"16.5",r:".5",fill:"currentColor",key:"nkw3mc"}],["circle",{cx:"17.5",cy:"14.5",r:".5",fill:"currentColor",key:"1gjh6j"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UB=Ee("chart-spline",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16c.5-2 1.5-7 4-7 2 0 2 3 4 3 2.5 0 4.5-5 5-7",key:"lw07rv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $B=Ee("check-check",[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HB=Ee("check-line",[["path",{d:"M20 4L9 15",key:"1qkx8z"}],["path",{d:"M21 19L3 19",key:"100sma"}],["path",{d:"M9 15L4 10",key:"9zxff7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ig=Ee("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VB=Ee("chef-hat",[["path",{d:"M17 21a1 1 0 0 0 1-1v-5.35c0-.457.316-.844.727-1.041a4 4 0 0 0-2.134-7.589 5 5 0 0 0-9.186 0 4 4 0 0 0-2.134 7.588c.411.198.727.585.727 1.041V20a1 1 0 0 0 1 1Z",key:"1qvrer"}],["path",{d:"M6 17h12",key:"1jwigz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GB=Ee("cherry",[["path",{d:"M2 17a5 5 0 0 0 10 0c0-2.76-2.5-5-5-3-2.5-2-5 .24-5 3Z",key:"cvxqlc"}],["path",{d:"M12 17a5 5 0 0 0 10 0c0-2.76-2.5-5-5-3-2.5-2-5 .24-5 3Z",key:"1ostrc"}],["path",{d:"M7 14c3.22-2.91 4.29-8.75 5-12 1.66 2.38 4.94 9 5 12",key:"hqx58h"}],["path",{d:"M22 9c-4.29 0-7.14-2.33-10-7 5.71 0 10 4.67 10 7Z",key:"eykp1o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jB=Ee("chess-bishop",[["path",{d:"M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z",key:"b89hwq"}],["path",{d:"M15 18c1.5-.615 3-2.461 3-4.923C18 8.769 14.5 4.462 12 2 9.5 4.462 6 8.77 6 13.077 6 15.539 7.5 17.385 9 18",key:"8jdkhx"}],["path",{d:"m16 7-2.5 2.5",key:"1jq90w"}],["path",{d:"M9 2h6",key:"1jrp98"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YB=Ee("chess-king",[["path",{d:"M4 20a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z",key:"mqzwx6"}],["path",{d:"m6.7 18-1-1C4.35 15.682 3 14.09 3 12a5 5 0 0 1 4.95-5c1.584 0 2.7.455 4.05 1.818C13.35 7.455 14.466 7 16.05 7A5 5 0 0 1 21 12c0 2.082-1.359 3.673-2.7 5l-1 1",key:"1gdt1g"}],["path",{d:"M10 4h4",key:"1xpv9s"}],["path",{d:"M12 2v6.818",key:"b17a49"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WB=Ee("chess-pawn",[["path",{d:"M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z",key:"b89hwq"}],["path",{d:"m14.5 10 1.5 8",key:"cim3qy"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"m8 18 1.5-8",key:"ja3yjd"}],["circle",{cx:"12",cy:"6",r:"4",key:"1frrej"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KB=Ee("chess-knight",[["path",{d:"M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z",key:"b89hwq"}],["path",{d:"M16.5 18c1-2 2.5-5 2.5-9a7 7 0 0 0-7-7H6.635a1 1 0 0 0-.768 1.64L7 5l-2.32 5.802a2 2 0 0 0 .95 2.526l2.87 1.456",key:"axbnlq"}],["path",{d:"m15 5 1.425-1.425",key:"15xz8w"}],["path",{d:"m17 8 1.53-1.53",key:"15zhqh"}],["path",{d:"M9.713 12.185 7 18",key:"1ocm0l"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XB=Ee("chess-queen",[["path",{d:"M4 20a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z",key:"mqzwx6"}],["path",{d:"m12.474 5.943 1.567 5.34a1 1 0 0 0 1.75.328l2.616-3.402",key:"1js4gl"}],["path",{d:"m20 9-3 9",key:"r75r3f"}],["path",{d:"m5.594 8.209 2.615 3.403a1 1 0 0 0 1.75-.329l1.567-5.34",key:"1joj19"}],["path",{d:"M7 18 4 9",key:"1mfzj8"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}],["circle",{cx:"20",cy:"7",r:"2",key:"9w7p1x"}],["circle",{cx:"4",cy:"7",r:"2",key:"1d9wy8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qB=Ee("chess-rook",[["path",{d:"M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z",key:"b89hwq"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"m17 18-1-9",key:"10nd7q"}],["path",{d:"M6 2v5a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2",key:"uxf4yx"}],["path",{d:"M6 4h12",key:"1x2ag7"}],["path",{d:"m7 18 1-9",key:"1si9vq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const R2=Ee("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZB=Ee("chevron-first",[["path",{d:"m17 18-6-6 6-6",key:"1yerx2"}],["path",{d:"M7 6v12",key:"1p53r6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QB=Ee("chevron-last",[["path",{d:"m7 18 6-6-6-6",key:"lwmzdw"}],["path",{d:"M17 6v12",key:"1o0aio"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KT=Ee("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zk=Ee("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XT=Ee("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JB=Ee("chevrons-down-up",[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ez=Ee("chevrons-down",[["path",{d:"m7 6 5 5 5-5",key:"1lc07p"}],["path",{d:"m7 13 5 5 5-5",key:"1d48rs"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tz=Ee("chevrons-left-right-ellipsis",[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"m17 7 5 5-5 5",key:"1xlxn0"}],["path",{d:"m7 7-5 5 5 5",key:"19njba"}],["path",{d:"M8 12h.01",key:"czm47f"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rz=Ee("chevrons-left-right",[["path",{d:"m9 7-5 5 5 5",key:"j5w590"}],["path",{d:"m15 7 5 5-5 5",key:"1bl6da"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nz=Ee("chevrons-left",[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const az=Ee("chevrons-right-left",[["path",{d:"m20 17-5-5 5-5",key:"30x0n2"}],["path",{d:"m4 17 5-5-5-5",key:"16spf4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iz=Ee("chevrons-right",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oz=Ee("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sz=Ee("chevrons-up",[["path",{d:"m17 11-5-5-5 5",key:"e8nh98"}],["path",{d:"m17 18-5-5-5 5",key:"2avn1x"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sb=Ee("chromium",[["path",{d:"M10.88 21.94 15.46 14",key:"xkve6t"}],["path",{d:"M21.17 8H12",key:"19dcdn"}],["path",{d:"M3.95 6.06 8.54 14",key:"g8jz9m"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lz=Ee("cigarette-off",[["path",{d:"M12 12H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h13",key:"1gdiyg"}],["path",{d:"M18 8c0-2.5-2-2.5-2-5",key:"1il607"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M21 12a1 1 0 0 1 1 1v2a1 1 0 0 1-.5.866",key:"166zjj"}],["path",{d:"M22 8c0-2.5-2-2.5-2-5",key:"1gah44"}],["path",{d:"M7 12v4",key:"jqww69"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cz=Ee("church",[["path",{d:"M10 9h4",key:"u4k05v"}],["path",{d:"M12 7v5",key:"ma6bk"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"m18 9 3.52 2.147a1 1 0 0 1 .48.854V19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-6.999a1 1 0 0 1 .48-.854L6 9",key:"flvdwo"}],["path",{d:"M6 21V7a1 1 0 0 1 .376-.782l5-3.999a1 1 0 0 1 1.249.001l5 4A1 1 0 0 1 18 7v14",key:"a5i0n2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uz=Ee("cigarette",[["path",{d:"M17 12H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h14",key:"1mb5g1"}],["path",{d:"M18 8c0-2.5-2-2.5-2-5",key:"1il607"}],["path",{d:"M21 16a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"1yl5r7"}],["path",{d:"M22 8c0-2.5-2-2.5-2-5",key:"1gah44"}],["path",{d:"M7 12v4",key:"jqww69"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jv=Ee("circle-alert",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lb=Ee("circle-arrow-down",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8 12 4 4 4-4",key:"k98ssh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cb=Ee("circle-arrow-left",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m12 8-4 4 4 4",key:"15vm53"}],["path",{d:"M16 12H8",key:"1fr5h0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ub=Ee("circle-arrow-out-down-left",[["path",{d:"M2 12a10 10 0 1 1 10 10",key:"1yn6ov"}],["path",{d:"m2 22 10-10",key:"28ilpk"}],["path",{d:"M8 22H2v-6",key:"sulq54"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const db=Ee("circle-arrow-out-down-right",[["path",{d:"M12 22a10 10 0 1 1 10-10",key:"130bv5"}],["path",{d:"M22 22 12 12",key:"131aw7"}],["path",{d:"M22 16v6h-6",key:"1gvm70"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fb=Ee("circle-arrow-out-up-left",[["path",{d:"M2 8V2h6",key:"hiwtdz"}],["path",{d:"m2 2 10 10",key:"1oh8rs"}],["path",{d:"M12 2A10 10 0 1 1 2 12",key:"rrk4fa"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hb=Ee("circle-arrow-out-up-right",[["path",{d:"M22 12A10 10 0 1 1 12 2",key:"1fm58d"}],["path",{d:"M22 2 12 12",key:"yg2myt"}],["path",{d:"M16 2h6v6",key:"zan5cs"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pb=Ee("circle-arrow-right",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m12 16 4-4-4-4",key:"1i9zcv"}],["path",{d:"M8 12h8",key:"1wcyev"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vb=Ee("circle-arrow-up",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const U1=Ee("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mb=Ee("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gb=Ee("circle-chevron-down",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 10-4 4-4-4",key:"894hmk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yb=Ee("circle-chevron-left",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m14 16-4-4 4-4",key:"ojs7w8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _b=Ee("circle-chevron-right",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m10 8 4 4-4 4",key:"1wy4r4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xb=Ee("circle-chevron-up",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m8 14 4-4 4 4",key:"fy2ptz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dz=Ee("circle-dashed",[["path",{d:"M10.1 2.182a10 10 0 0 1 3.8 0",key:"5ilxe3"}],["path",{d:"M13.9 21.818a10 10 0 0 1-3.8 0",key:"11zvb9"}],["path",{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7",key:"1iw5b2"}],["path",{d:"M2.182 13.9a10 10 0 0 1 0-3.8",key:"c0bmvh"}],["path",{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69",key:"1ruxm7"}],["path",{d:"M21.818 10.1a10 10 0 0 1 0 3.8",key:"qkgqxc"}],["path",{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69",key:"1mcia2"}],["path",{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7",key:"1fvljs"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bb=Ee("circle-divide",[["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}],["line",{x1:"12",x2:"12",y1:"16",y2:"16",key:"aqc6ln"}],["line",{x1:"12",x2:"12",y1:"8",y2:"8",key:"1mkcni"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fz=Ee("circle-dollar-sign",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hz=Ee("circle-dot-dashed",[["path",{d:"M10.1 2.18a9.93 9.93 0 0 1 3.8 0",key:"1qdqn0"}],["path",{d:"M17.6 3.71a9.95 9.95 0 0 1 2.69 2.7",key:"1bq7p6"}],["path",{d:"M21.82 10.1a9.93 9.93 0 0 1 0 3.8",key:"1rlaqf"}],["path",{d:"M20.29 17.6a9.95 9.95 0 0 1-2.7 2.69",key:"1xk03u"}],["path",{d:"M13.9 21.82a9.94 9.94 0 0 1-3.8 0",key:"l7re25"}],["path",{d:"M6.4 20.29a9.95 9.95 0 0 1-2.69-2.7",key:"1v18p6"}],["path",{d:"M2.18 13.9a9.93 9.93 0 0 1 0-3.8",key:"xdo6bj"}],["path",{d:"M3.71 6.4a9.95 9.95 0 0 1 2.7-2.69",key:"1jjmaz"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pz=Ee("circle-dot",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vz=Ee("circle-ellipsis",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M7 12h.01",key:"eqddd0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mz=Ee("circle-equal",[["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M7 14h10",key:"1mhdw3"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gz=Ee("circle-fading-arrow-up",[["path",{d:"M12 2a10 10 0 0 1 7.38 16.75",key:"175t95"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}],["path",{d:"M2.5 8.875a10 10 0 0 0-.5 3",key:"1vce0s"}],["path",{d:"M2.83 16a10 10 0 0 0 2.43 3.4",key:"o3fkw4"}],["path",{d:"M4.636 5.235a10 10 0 0 1 .891-.857",key:"1szpfk"}],["path",{d:"M8.644 21.42a10 10 0 0 0 7.631-.38",key:"9yhvd4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yz=Ee("circle-fading-plus",[["path",{d:"M12 2a10 10 0 0 1 7.38 16.75",key:"175t95"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"M16 12H8",key:"1fr5h0"}],["path",{d:"M2.5 8.875a10 10 0 0 0-.5 3",key:"1vce0s"}],["path",{d:"M2.83 16a10 10 0 0 0 2.43 3.4",key:"o3fkw4"}],["path",{d:"M4.636 5.235a10 10 0 0 1 .891-.857",key:"1szpfk"}],["path",{d:"M8.644 21.42a10 10 0 0 0 7.631-.38",key:"9yhvd4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Eb=Ee("circle-gauge",[["path",{d:"M15.6 2.7a10 10 0 1 0 5.7 5.7",key:"1e0p6d"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M13.4 10.6 19 5",key:"1kr7tw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Sb=Ee("circle-minus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _z=Ee("circle-off",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.35 2.69A10 10 0 0 1 21.3 15.65",key:"1pfsoa"}],["path",{d:"M19.08 19.08A10 10 0 1 1 4.92 4.92",key:"1ablyi"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wb=Ee("circle-parking-off",[["path",{d:"M12.656 7H13a3 3 0 0 1 2.984 3.307",key:"1sjx87"}],["path",{d:"M13 13H9",key:"e2beee"}],["path",{d:"M19.071 19.071A1 1 0 0 1 4.93 4.93",key:"1kb595"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.357 2.687a10 10 0 0 1 12.956 12.956",key:"5bsfdx"}],["path",{d:"M9 17V9",key:"ojradj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Tb=Ee("circle-parking",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9 17V7h4a3 3 0 0 1 0 6H9",key:"1dfk2c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ab=Ee("circle-pause",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Cb=Ee("circle-percent",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kb=Ee("circle-play",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Mb=Ee("circle-plus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xz=Ee("circle-pound-sterling",[["path",{d:"M10 16V9.5a1 1 0 0 1 5 0",key:"1i1are"}],["path",{d:"M8 12h4",key:"qz6y1c"}],["path",{d:"M8 16h7",key:"sbedsn"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Rb=Ee("circle-power",[["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M7.998 9.003a5 5 0 1 0 8-.005",key:"1pek45"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const G0=Ee("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Nb=Ee("circle-slash-2",[["path",{d:"M22 2 2 22",key:"y4kqgn"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bz=Ee("circle-slash",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ez=Ee("circle-small",[["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Sz=Ee("circle-star",[["path",{d:"M11.051 7.616a1 1 0 0 1 1.909.024l.737 1.452a1 1 0 0 0 .737.535l1.634.256a1 1 0 0 1 .588 1.806l-1.172 1.168a1 1 0 0 0-.282.866l.259 1.613a1 1 0 0 1-1.541 1.134l-1.465-.75a1 1 0 0 0-.912 0l-1.465.75a1 1 0 0 1-1.539-1.133l.258-1.613a1 1 0 0 0-.282-.867l-1.156-1.152a1 1 0 0 1 .572-1.822l1.633-.256a1 1 0 0 0 .737-.535z",key:"285bvi"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ib=Ee("circle-stop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Lb=Ee("circle-user-round",[["path",{d:"M18 20a6 6 0 0 0-12 0",key:"1qehca"}],["circle",{cx:"12",cy:"10",r:"4",key:"1h16sb"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ob=Ee("circle-user",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Db=Ee("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qT=Ee("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wz=Ee("circuit-board",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M11 9h4a2 2 0 0 0 2-2V3",key:"1ve2rv"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"M7 21v-4a2 2 0 0 1 2-2h4",key:"1fwkro"}],["circle",{cx:"15",cy:"15",r:"2",key:"3i40o0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Tz=Ee("citrus",[["path",{d:"M21.66 17.67a1.08 1.08 0 0 1-.04 1.6A12 12 0 0 1 4.73 2.38a1.1 1.1 0 0 1 1.61-.04z",key:"4ite01"}],["path",{d:"M19.65 15.66A8 8 0 0 1 8.35 4.34",key:"1gxipu"}],["path",{d:"m14 10-5.5 5.5",key:"92pfem"}],["path",{d:"M14 17.85V10H6.15",key:"xqmtsk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Az=Ee("clapperboard",[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Cz=Ee("clipboard-check",[["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"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kz=Ee("clipboard-clock",[["path",{d:"M16 14v2.2l1.6 1",key:"fo4ql5"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v.832",key:"1ujtp2"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h2",key:"qvpao1"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}],["rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",key:"ublpy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Mz=Ee("clipboard-copy",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2",key:"4jdomd"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v4",key:"3hqy98"}],["path",{d:"M21 14H11",key:"1bme5i"}],["path",{d:"m15 10-4 4 4 4",key:"5dvupr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Rz=Ee("clipboard-list",[["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"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Nz=Ee("clipboard-minus",[["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"}],["path",{d:"M9 14h6",key:"159ibu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Iz=Ee("clipboard-paste",[["path",{d:"M11 14h10",key:"1w8e9d"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v1.344",key:"1e62lh"}],["path",{d:"m17 18 4-4-4-4",key:"z2g111"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113",key:"bjbb7m"}],["rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",key:"ublpy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Pb=Ee("clipboard-pen-line",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",key:"1oijnt"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-.5",key:"1but9f"}],["path",{d:"M16 4h2a2 2 0 0 1 1.73 1",key:"1p8n7l"}],["path",{d:"M8 18h1",key:"13wk12"}],["path",{d:"M21.378 12.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"2t3380"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fb=Ee("clipboard-pen",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",key:"1oijnt"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5.5",key:"cereej"}],["path",{d:"M4 13.5V6a2 2 0 0 1 2-2h2",key:"5ua5vh"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Lz=Ee("clipboard-plus",[["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"}],["path",{d:"M9 14h6",key:"159ibu"}],["path",{d:"M12 17v-6",key:"1y8rbf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Oz=Ee("clipboard-type",[["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"}],["path",{d:"M9 12v-1h6v1",key:"iehl6m"}],["path",{d:"M11 17h2",key:"12w5me"}],["path",{d:"M12 11v6",key:"1bwqyc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Dz=Ee("clipboard-x",[["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"}],["path",{d:"m15 11-6 6",key:"1toa9n"}],["path",{d:"m9 11 6 6",key:"wlibny"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Pz=Ee("clipboard",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fz=Ee("clock-1",[["path",{d:"M12 6v6l2-4",key:"miptyd"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Bz=Ee("clock-10",[["path",{d:"M12 6v6l-4-2",key:"cedpoo"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zz=Ee("clock-11",[["path",{d:"M12 6v6l-2-4",key:"ns39ag"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Uz=Ee("clock-12",[["path",{d:"M12 6v6",key:"1ipuwl"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $z=Ee("clock-2",[["path",{d:"M12 6v6l4-2",key:"1r2kuh"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Hz=Ee("clock-3",[["path",{d:"M12 6v6h4",key:"135r8i"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vz=Ee("clock-4",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Gz=Ee("clock-5",[["path",{d:"M12 6v6l2 4",key:"1287s9"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jz=Ee("clock-6",[["path",{d:"M12 6v10",key:"wf7rdh"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Yz=Ee("clock-7",[["path",{d:"M12 6v6l-2 4",key:"1095bu"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wz=Ee("clock-8",[["path",{d:"M12 6v6l-4 2",key:"imc3wl"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kz=Ee("clock-9",[["path",{d:"M12 6v6H8",key:"u39vzm"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Xz=Ee("clock-alert",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["path",{d:"M20 12v5",key:"12wsvk"}],["path",{d:"M20 21h.01",key:"1p6o6n"}],["path",{d:"M21.25 8.2A10 10 0 1 0 16 21.16",key:"17fp9f"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qz=Ee("clock-arrow-down",[["path",{d:"M12 6v6l2 1",key:"19cm8n"}],["path",{d:"M12.337 21.994a10 10 0 1 1 9.588-8.767",key:"28moa"}],["path",{d:"m14 18 4 4 4-4",key:"1waygx"}],["path",{d:"M18 14v8",key:"irew45"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zz=Ee("clock-arrow-up",[["path",{d:"M12 6v6l1.56.78",key:"14ed3g"}],["path",{d:"M13.227 21.925a10 10 0 1 1 8.767-9.588",key:"jwkls1"}],["path",{d:"m14 18 4-4 4 4",key:"ftkppy"}],["path",{d:"M18 22v-8",key:"su0gjh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qz=Ee("clock-check",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["path",{d:"M22 12a10 10 0 1 0-11 9.95",key:"17dhok"}],["path",{d:"m22 16-5.5 5.5L14 19",key:"1eibut"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jz=Ee("clock-fading",[["path",{d:"M12 2a10 10 0 0 1 7.38 16.75",key:"175t95"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["path",{d:"M2.5 8.875a10 10 0 0 0-.5 3",key:"1vce0s"}],["path",{d:"M2.83 16a10 10 0 0 0 2.43 3.4",key:"o3fkw4"}],["path",{d:"M4.636 5.235a10 10 0 0 1 .891-.857",key:"1szpfk"}],["path",{d:"M8.644 21.42a10 10 0 0 0 7.631-.38",key:"9yhvd4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eU=Ee("clock-plus",[["path",{d:"M12 6v6l3.644 1.822",key:"1jmett"}],["path",{d:"M16 19h6",key:"xwg31i"}],["path",{d:"M19 16v6",key:"tddt3s"}],["path",{d:"M21.92 13.267a10 10 0 1 0-8.653 8.653",key:"1u0osk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZT=Ee("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tU=Ee("closed-caption",[["path",{d:"M10 9.17a3 3 0 1 0 0 5.66",key:"h9wayk"}],["path",{d:"M17 9.17a3 3 0 1 0 0 5.66",key:"1v6zke"}],["rect",{x:"2",y:"5",width:"20",height:"14",rx:"2",key:"qneu4z"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rU=Ee("cloud-alert",[["path",{d:"M12 12v4",key:"tww15h"}],["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M17 18h.5a1 1 0 0 0 0-9h-1.79A7 7 0 1 0 7 17.708",key:"xsb5ju"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nU=Ee("cloud-cog",[["path",{d:"m10.852 19.772-.383.924",key:"r7sl7d"}],["path",{d:"m13.148 14.228.383-.923",key:"1d5zpm"}],["path",{d:"M13.148 19.772a3 3 0 1 0-2.296-5.544l-.383-.923",key:"1ydik7"}],["path",{d:"m13.53 20.696-.382-.924a3 3 0 1 1-2.296-5.544",key:"1m1vsf"}],["path",{d:"m14.772 15.852.923-.383",key:"660p6e"}],["path",{d:"m14.772 18.148.923.383",key:"hrcpis"}],["path",{d:"M4.2 15.1a7 7 0 1 1 9.93-9.858A7 7 0 0 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.2",key:"j2q98n"}],["path",{d:"m9.228 15.852-.923-.383",key:"1p9ong"}],["path",{d:"m9.228 18.148-.923.383",key:"6558rz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aU=Ee("cloud-check",[["path",{d:"m17 15-5.5 5.5L9 18",key:"15q87x"}],["path",{d:"M5 17.743A7 7 0 1 1 15.71 10h1.79a4.5 4.5 0 0 1 1.5 8.742",key:"9ho6ki"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Bb=Ee("cloud-download",[["path",{d:"M12 13v8l-4-4",key:"1f5nwf"}],["path",{d:"m12 21 4-4",key:"1lfcce"}],["path",{d:"M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284",key:"ui1hmy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iU=Ee("cloud-drizzle",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M8 19v1",key:"1dk2by"}],["path",{d:"M8 14v1",key:"84yxot"}],["path",{d:"M16 19v1",key:"v220m7"}],["path",{d:"M16 14v1",key:"g12gj6"}],["path",{d:"M12 21v1",key:"q8vafk"}],["path",{d:"M12 16v1",key:"1mx6rx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oU=Ee("cloud-fog",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M16 17H7",key:"pygtm1"}],["path",{d:"M17 21H9",key:"1u2q02"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sU=Ee("cloud-hail",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M16 14v2",key:"a1is7l"}],["path",{d:"M8 14v2",key:"1e9m6t"}],["path",{d:"M16 20h.01",key:"xwek51"}],["path",{d:"M8 20h.01",key:"1vjney"}],["path",{d:"M12 16v2",key:"z66u1j"}],["path",{d:"M12 22h.01",key:"1urd7a"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lU=Ee("cloud-lightning",[["path",{d:"M6 16.326A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 .5 8.973",key:"1cez44"}],["path",{d:"m13 12-3 5h4l-3 5",key:"1t22er"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cU=Ee("cloud-moon-rain",[["path",{d:"M11 20v2",key:"174qtz"}],["path",{d:"M18.376 14.512a6 6 0 0 0 3.461-4.127c.148-.625-.659-.97-1.248-.714a4 4 0 0 1-5.259-5.26c.255-.589-.09-1.395-.716-1.248a6 6 0 0 0-4.594 5.36",key:"zwnc1e"}],["path",{d:"M3 20a5 5 0 1 1 8.9-4H13a3 3 0 0 1 2 5.24",key:"1qmrp3"}],["path",{d:"M7 19v2",key:"12npes"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uU=Ee("cloud-moon",[["path",{d:"M13 16a3 3 0 0 1 0 6H7a5 5 0 1 1 4.9-6z",key:"ie2ih4"}],["path",{d:"M18.376 14.512a6 6 0 0 0 3.461-4.127c.148-.625-.659-.97-1.248-.714a4 4 0 0 1-5.259-5.26c.255-.589-.09-1.395-.716-1.248a6 6 0 0 0-4.594 5.36",key:"zwnc1e"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dU=Ee("cloud-off",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5.782 5.782A7 7 0 0 0 9 19h8.5a4.5 4.5 0 0 0 1.307-.193",key:"yfwify"}],["path",{d:"M21.532 16.5A4.5 4.5 0 0 0 17.5 10h-1.79A7.008 7.008 0 0 0 10 5.07",key:"jlfiyv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fU=Ee("cloud-rain-wind",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m9.2 22 3-7",key:"sb5f6j"}],["path",{d:"m9 13-3 7",key:"500co5"}],["path",{d:"m17 13-3 7",key:"8t2fiy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hU=Ee("cloud-rain",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M16 14v6",key:"1j4efv"}],["path",{d:"M8 14v6",key:"17c4r9"}],["path",{d:"M12 16v6",key:"c8a4gj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pU=Ee("cloud-snow",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M8 19h.01",key:"puxtts"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M12 21h.01",key:"h35vbk"}],["path",{d:"M16 15h.01",key:"rnfrdf"}],["path",{d:"M16 19h.01",key:"1vcnzz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vU=Ee("cloud-sun-rain",[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}],["path",{d:"M15.947 12.65a4 4 0 0 0-5.925-4.128",key:"dpwdj0"}],["path",{d:"M3 20a5 5 0 1 1 8.9-4H13a3 3 0 0 1 2 5.24",key:"1qmrp3"}],["path",{d:"M11 20v2",key:"174qtz"}],["path",{d:"M7 19v2",key:"12npes"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mU=Ee("cloud-sun",[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}],["path",{d:"M15.947 12.65a4 4 0 0 0-5.925-4.128",key:"dpwdj0"}],["path",{d:"M13 22H7a5 5 0 1 1 4.9-6H13a3 3 0 0 1 0 6Z",key:"s09mg5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zb=Ee("cloud-upload",[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gU=Ee("cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yU=Ee("cloudy",[["path",{d:"M17.5 21H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"gqqjvc"}],["path",{d:"M22 10a3 3 0 0 0-3-3h-2.207a5.502 5.502 0 0 0-10.702.5",key:"1p2s76"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _U=Ee("clover",[["path",{d:"M16.17 7.83 2 22",key:"t58vo8"}],["path",{d:"M4.02 12a2.827 2.827 0 1 1 3.81-4.17A2.827 2.827 0 1 1 12 4.02a2.827 2.827 0 1 1 4.17 3.81A2.827 2.827 0 1 1 19.98 12a2.827 2.827 0 1 1-3.81 4.17A2.827 2.827 0 1 1 12 19.98a2.827 2.827 0 1 1-4.17-3.81A1 1 0 1 1 4 12",key:"17k36q"}],["path",{d:"m7.83 7.83 8.34 8.34",key:"1d7sxk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xU=Ee("club",[["path",{d:"M17.28 9.05a5.5 5.5 0 1 0-10.56 0A5.5 5.5 0 1 0 12 17.66a5.5 5.5 0 1 0 5.28-8.6Z",key:"27yuqz"}],["path",{d:"M12 17.66L12 22",key:"ogfahf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ub=Ee("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bU=Ee("code",[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EU=Ee("codepen",[["polygon",{points:"12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2",key:"srzb37"}],["line",{x1:"12",x2:"12",y1:"22",y2:"15.5",key:"1t73f2"}],["polyline",{points:"22 8.5 12 15.5 2 8.5",key:"ajlxae"}],["polyline",{points:"2 15.5 12 8.5 22 15.5",key:"susrui"}],["line",{x1:"12",x2:"12",y1:"2",y2:"8.5",key:"2cldga"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SU=Ee("codesandbox",[["path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",key:"yt0hxn"}],["polyline",{points:"7.5 4.21 12 6.81 16.5 4.21",key:"fabo96"}],["polyline",{points:"7.5 19.79 7.5 14.6 3 12",key:"z377f1"}],["polyline",{points:"21 12 16.5 14.6 16.5 19.79",key:"9nrev1"}],["polyline",{points:"3.27 6.96 12 12.01 20.73 6.96",key:"1180pa"}],["line",{x1:"12",x2:"12",y1:"22.08",y2:"12",key:"3z3uq6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wU=Ee("coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TU=Ee("coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AU=Ee("cog",[["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $b=Ee("columns-2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const em=Ee("columns-3-cog",[["path",{d:"M10.5 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v5.5",key:"1g2yzs"}],["path",{d:"m14.3 19.6 1-.4",key:"11sv9r"}],["path",{d:"M15 3v7.5",key:"7lm50a"}],["path",{d:"m15.2 16.9-.9-.3",key:"1t7mvx"}],["path",{d:"m16.6 21.7.3-.9",key:"1j67ps"}],["path",{d:"m16.8 15.3-.4-1",key:"1ei7r6"}],["path",{d:"m19.1 15.2.3-.9",key:"18r7jp"}],["path",{d:"m19.6 21.7-.4-1",key:"z2vh2"}],["path",{d:"m20.7 16.8 1-.4",key:"19m87a"}],["path",{d:"m21.7 19.4-.9-.3",key:"1qgwi9"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Hb=Ee("columns-3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CU=Ee("columns-4",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7.5 3v18",key:"w0wo6v"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M16.5 3v18",key:"10tjh1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kU=Ee("combine",[["path",{d:"M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"1l7d7l"}],["path",{d:"M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"9955pe"}],["path",{d:"m7 15 3 3",key:"4hkfgk"}],["path",{d:"m7 21 3-3H5a2 2 0 0 1-2-2v-2",key:"1xljwe"}],["rect",{x:"14",y:"14",width:"7",height:"7",rx:"1",key:"1cdgtw"}],["rect",{x:"3",y:"3",width:"7",height:"7",rx:"1",key:"zi3rio"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MU=Ee("command",[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RU=Ee("compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NU=Ee("component",[["path",{d:"M15.536 11.293a1 1 0 0 0 0 1.414l2.376 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z",key:"1uwlt4"}],["path",{d:"M2.297 11.293a1 1 0 0 0 0 1.414l2.377 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414L6.088 8.916a1 1 0 0 0-1.414 0z",key:"10291m"}],["path",{d:"M8.916 17.912a1 1 0 0 0 0 1.415l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.415l-2.377-2.376a1 1 0 0 0-1.414 0z",key:"1tqoq1"}],["path",{d:"M8.916 4.674a1 1 0 0 0 0 1.414l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z",key:"1x6lto"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IU=Ee("computer",[["rect",{width:"14",height:"8",x:"5",y:"2",rx:"2",key:"wc9tft"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6 18h2",key:"rwmk9e"}],["path",{d:"M12 18h6",key:"aqd8w3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LU=Ee("concierge-bell",[["path",{d:"M3 20a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1Z",key:"1pvr1r"}],["path",{d:"M20 16a8 8 0 1 0-16 0",key:"1pa543"}],["path",{d:"M12 4v4",key:"1bq03y"}],["path",{d:"M10 4h4",key:"1xpv9s"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OU=Ee("cone",[["path",{d:"m20.9 18.55-8-15.98a1 1 0 0 0-1.8 0l-8 15.98",key:"53pte7"}],["ellipse",{cx:"12",cy:"19",rx:"9",ry:"3",key:"1ji25f"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DU=Ee("construction",[["rect",{x:"2",y:"6",width:"20",height:"8",rx:"1",key:"1estib"}],["path",{d:"M17 14v7",key:"7m2elx"}],["path",{d:"M7 14v7",key:"1cm7wv"}],["path",{d:"M17 3v3",key:"1v4jwn"}],["path",{d:"M7 3v3",key:"7o6guu"}],["path",{d:"M10 14 2.3 6.3",key:"1023jk"}],["path",{d:"m14 6 7.7 7.7",key:"1s8pl2"}],["path",{d:"m8 6 8 8",key:"hl96qh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vb=Ee("contact-round",[["path",{d:"M16 2v2",key:"scm5qe"}],["path",{d:"M17.915 22a6 6 0 0 0-12 0",key:"suqz9p"}],["path",{d:"M8 2v2",key:"pbkmx"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",key:"12vinp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PU=Ee("contact",[["path",{d:"M16 2v2",key:"scm5qe"}],["path",{d:"M7 22v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2",key:"1waht3"}],["path",{d:"M8 2v2",key:"pbkmx"}],["circle",{cx:"12",cy:"11",r:"3",key:"itu57m"}],["rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",key:"12vinp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FU=Ee("container",[["path",{d:"M22 7.7c0-.6-.4-1.2-.8-1.5l-6.3-3.9a1.72 1.72 0 0 0-1.7 0l-10.3 6c-.5.2-.9.8-.9 1.4v6.6c0 .5.4 1.2.8 1.5l6.3 3.9a1.72 1.72 0 0 0 1.7 0l10.3-6c.5-.3.9-1 .9-1.5Z",key:"1t2lqe"}],["path",{d:"M10 21.9V14L2.1 9.1",key:"o7czzq"}],["path",{d:"m10 14 11.9-6.9",key:"zm5e20"}],["path",{d:"M14 19.8v-8.1",key:"159ecu"}],["path",{d:"M18 17.5V9.4",key:"11uown"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BU=Ee("contrast",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 18a6 6 0 0 0 0-12v12z",key:"j4l70d"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zU=Ee("cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UU=Ee("cooking-pot",[["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M20 12v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8",key:"u0tga0"}],["path",{d:"m4 8 16-4",key:"16g0ng"}],["path",{d:"m8.86 6.78-.45-1.81a2 2 0 0 1 1.45-2.43l1.94-.48a2 2 0 0 1 2.43 1.46l.45 1.8",key:"12cejc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $U=Ee("copy-check",[["path",{d:"m12 15 2 2 4-4",key:"2c609p"}],["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HU=Ee("copy-minus",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VU=Ee("copy-plus",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GU=Ee("copy-slash",[["line",{x1:"12",x2:"18",y1:"18",y2:"12",key:"ebkxgr"}],["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jU=Ee("copy-x",[["line",{x1:"12",x2:"18",y1:"12",y2:"18",key:"1rg63v"}],["line",{x1:"12",x2:"18",y1:"18",y2:"12",key:"ebkxgr"}],["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Uk=Ee("copy",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YU=Ee("copyleft",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.17 14.83a4 4 0 1 0 0-5.66",key:"1sveal"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WU=Ee("copyright",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M14.83 14.83a4 4 0 1 1 0-5.66",key:"1i56pz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KU=Ee("corner-down-left",[["path",{d:"M20 4v7a4 4 0 0 1-4 4H4",key:"6o5b7l"}],["path",{d:"m9 10-5 5 5 5",key:"1kshq7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XU=Ee("corner-down-right",[["path",{d:"m15 10 5 5-5 5",key:"qqa56n"}],["path",{d:"M4 4v7a4 4 0 0 0 4 4h12",key:"z08zvw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qU=Ee("corner-left-down",[["path",{d:"m14 15-5 5-5-5",key:"1eia93"}],["path",{d:"M20 4h-7a4 4 0 0 0-4 4v12",key:"nbpdq2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZU=Ee("corner-left-up",[["path",{d:"M14 9 9 4 4 9",key:"1af5af"}],["path",{d:"M20 20h-7a4 4 0 0 1-4-4V4",key:"1blwi3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QU=Ee("corner-right-down",[["path",{d:"m10 15 5 5 5-5",key:"1hpjnr"}],["path",{d:"M4 4h7a4 4 0 0 1 4 4v12",key:"wcbgct"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JU=Ee("corner-right-up",[["path",{d:"m10 9 5-5 5 5",key:"9ctzwi"}],["path",{d:"M4 20h7a4 4 0 0 0 4-4V4",key:"1plgdj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const e$=Ee("corner-up-left",[["path",{d:"M20 20v-7a4 4 0 0 0-4-4H4",key:"1nkjon"}],["path",{d:"M9 14 4 9l5-5",key:"102s5s"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const t$=Ee("corner-up-right",[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M4 20v-7a4 4 0 0 1 4-4h12",key:"1lu4f8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const r$=Ee("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const n$=Ee("creative-commons",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M10 9.3a2.8 2.8 0 0 0-3.5 1 3.1 3.1 0 0 0 0 3.4 2.7 2.7 0 0 0 3.5 1",key:"1ss3eq"}],["path",{d:"M17 9.3a2.8 2.8 0 0 0-3.5 1 3.1 3.1 0 0 0 0 3.4 2.7 2.7 0 0 0 3.5 1",key:"1od56t"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const a$=Ee("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const i$=Ee("croissant",[["path",{d:"M10.2 18H4.774a1.5 1.5 0 0 1-1.352-.97 11 11 0 0 1 .132-6.487",key:"14kkz9"}],["path",{d:"M18 10.2V4.774a1.5 1.5 0 0 0-.97-1.352 11 11 0 0 0-6.486.132",key:"1g7v07"}],["path",{d:"M18 5a4 3 0 0 1 4 3 2 2 0 0 1-2 2 10 10 0 0 0-5.139 1.42",key:"ratg6b"}],["path",{d:"M5 18a3 4 0 0 0 3 4 2 2 0 0 0 2-2 10 10 0 0 1 1.42-5.14",key:"4454f0"}],["path",{d:"M8.709 2.554a10 10 0 0 0-6.155 6.155 1.5 1.5 0 0 0 .676 1.626l9.807 5.42a2 2 0 0 0 2.718-2.718l-5.42-9.807a1.5 1.5 0 0 0-1.626-.676",key:"qmemie"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const o$=Ee("crop",[["path",{d:"M6 2v14a2 2 0 0 0 2 2h14",key:"ron5a4"}],["path",{d:"M18 22V8a2 2 0 0 0-2-2H2",key:"7s9ehn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const s$=Ee("cross",[["path",{d:"M4 9a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h4a1 1 0 0 1 1 1v4a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-4a1 1 0 0 1 1-1h4a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-4a1 1 0 0 1-1-1V4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4a1 1 0 0 1-1 1z",key:"1xbrqy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const l$=Ee("crosshair",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const c$=Ee("crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const u$=Ee("cuboid",[["path",{d:"m21.12 6.4-6.05-4.06a2 2 0 0 0-2.17-.05L2.95 8.41a2 2 0 0 0-.95 1.7v5.82a2 2 0 0 0 .88 1.66l6.05 4.07a2 2 0 0 0 2.17.05l9.95-6.12a2 2 0 0 0 .95-1.7V8.06a2 2 0 0 0-.88-1.66Z",key:"1u2ovd"}],["path",{d:"M10 22v-8L2.25 9.15",key:"11pn4q"}],["path",{d:"m10 14 11.77-6.87",key:"1kt1wh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const d$=Ee("cup-soda",[["path",{d:"m6 8 1.75 12.28a2 2 0 0 0 2 1.72h4.54a2 2 0 0 0 2-1.72L18 8",key:"8166m8"}],["path",{d:"M5 8h14",key:"pcz4l3"}],["path",{d:"M7 15a6.47 6.47 0 0 1 5 0 6.47 6.47 0 0 0 5 0",key:"yjz344"}],["path",{d:"m12 8 1-6h2",key:"3ybfa4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const f$=Ee("currency",[["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}],["line",{x1:"3",x2:"6",y1:"3",y2:"6",key:"1jkytn"}],["line",{x1:"21",x2:"18",y1:"3",y2:"6",key:"14zfjt"}],["line",{x1:"3",x2:"6",y1:"21",y2:"18",key:"iusuec"}],["line",{x1:"21",x2:"18",y1:"21",y2:"18",key:"yj2dd7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const h$=Ee("cylinder",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5v14a9 3 0 0 0 18 0V5",key:"aqi0yr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const p$=Ee("dam",[["path",{d:"M11 11.31c1.17.56 1.54 1.69 3.5 1.69 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"157kva"}],["path",{d:"M11.75 18c.35.5 1.45 1 2.75 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"d7q6m6"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M7 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1L10 4a1 1 0 0 0-1-1z",key:"pr6s65"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const v$=Ee("database-backup",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 12a9 3 0 0 0 5 2.69",key:"1ui2ym"}],["path",{d:"M21 9.3V5",key:"6k6cib"}],["path",{d:"M3 5v14a9 3 0 0 0 6.47 2.88",key:"i62tjy"}],["path",{d:"M12 12v4h4",key:"1bxaet"}],["path",{d:"M13 20a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L12 16",key:"1f4ei9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const m$=Ee("database-zap",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 15 21.84",key:"14ibmq"}],["path",{d:"M21 5V8",key:"1marbg"}],["path",{d:"M21 12L18 17H22L19 22",key:"zafso"}],["path",{d:"M3 12A9 3 0 0 0 14.59 14.87",key:"1y4wr8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const g$=Ee("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const y$=Ee("decimals-arrow-left",[["path",{d:"m13 21-3-3 3-3",key:"s3o1nf"}],["path",{d:"M20 18H10",key:"14r3mt"}],["path",{d:"M3 11h.01",key:"1eifu7"}],["rect",{x:"6",y:"3",width:"5",height:"8",rx:"2.5",key:"v9paqo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _$=Ee("decimals-arrow-right",[["path",{d:"M10 18h10",key:"1y5s8o"}],["path",{d:"m17 21 3-3-3-3",key:"1ammt0"}],["path",{d:"M3 11h.01",key:"1eifu7"}],["rect",{x:"15",y:"3",width:"5",height:"8",rx:"2.5",key:"76md6a"}],["rect",{x:"6",y:"3",width:"5",height:"8",rx:"2.5",key:"v9paqo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const x$=Ee("delete",[["path",{d:"M10 5a2 2 0 0 0-1.344.519l-6.328 5.74a1 1 0 0 0 0 1.481l6.328 5.741A2 2 0 0 0 10 19h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2z",key:"1yo7s0"}],["path",{d:"m12 9 6 6",key:"anjzzh"}],["path",{d:"m18 9-6 6",key:"1fp51s"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const b$=Ee("dessert",[["path",{d:"M10.162 3.167A10 10 0 0 0 2 13a2 2 0 0 0 4 0v-1a2 2 0 0 1 4 0v4a2 2 0 0 0 4 0v-4a2 2 0 0 1 4 0v1a2 2 0 0 0 4-.006 10 10 0 0 0-8.161-9.826",key:"xi88qy"}],["path",{d:"M20.804 14.869a9 9 0 0 1-17.608 0",key:"1r28rg"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const E$=Ee("diameter",[["circle",{cx:"19",cy:"19",r:"2",key:"17f5cg"}],["circle",{cx:"5",cy:"5",r:"2",key:"1gwv83"}],["path",{d:"M6.48 3.66a10 10 0 0 1 13.86 13.86",key:"xr8kdq"}],["path",{d:"m6.41 6.41 11.18 11.18",key:"uhpjw7"}],["path",{d:"M3.66 6.48a10 10 0 0 0 13.86 13.86",key:"cldpwv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const S$=Ee("diamond-minus",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Gb=Ee("diamond-percent",[["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:"1tpxz2"}],["path",{d:"M9.2 9.2h.01",key:"1b7bvt"}],["path",{d:"m14.5 9.5-5 5",key:"17q4r4"}],["path",{d:"M14.7 14.8h.01",key:"17nsh4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const w$=Ee("diamond-plus",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const T$=Ee("diamond",[["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.41l-7.59-7.59a2.41 2.41 0 0 0-3.41 0Z",key:"1f1r0c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const A$=Ee("dice-1",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M12 12h.01",key:"1mp3jc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const C$=Ee("dice-2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M15 9h.01",key:"x1ddxp"}],["path",{d:"M9 15h.01",key:"fzyn71"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const k$=Ee("dice-3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M16 8h.01",key:"cr5u4v"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const M$=Ee("dice-4",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M16 8h.01",key:"cr5u4v"}],["path",{d:"M8 8h.01",key:"1e4136"}],["path",{d:"M8 16h.01",key:"18s6g9"}],["path",{d:"M16 16h.01",key:"1f9h7w"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const R$=Ee("dice-5",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M16 8h.01",key:"cr5u4v"}],["path",{d:"M8 8h.01",key:"1e4136"}],["path",{d:"M8 16h.01",key:"18s6g9"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M12 12h.01",key:"1mp3jc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const N$=Ee("dice-6",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M16 8h.01",key:"cr5u4v"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M8 8h.01",key:"1e4136"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const I$=Ee("dices",[["rect",{width:"12",height:"12",x:"2",y:"10",rx:"2",ry:"2",key:"6agr2n"}],["path",{d:"m17.92 14 3.5-3.5a2.24 2.24 0 0 0 0-3l-5-4.92a2.24 2.24 0 0 0-3 0L10 6",key:"1o487t"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 14h.01",key:"ssrbsk"}],["path",{d:"M15 6h.01",key:"cblpky"}],["path",{d:"M18 9h.01",key:"2061c0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const L$=Ee("diff",[["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M5 21h14",key:"11awu3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const O$=Ee("disc-2",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 12h.01",key:"1mp3jc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const D$=Ee("disc-3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M6 12c0-1.7.7-3.2 1.8-4.2",key:"oqkarx"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M18 12c0 1.7-.7 3.2-1.8 4.2",key:"1eah9h"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const P$=Ee("disc-album",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["circle",{cx:"12",cy:"12",r:"5",key:"nd82uf"}],["path",{d:"M12 12h.01",key:"1mp3jc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const F$=Ee("disc",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const B$=Ee("divide",[["circle",{cx:"12",cy:"6",r:"1",key:"1bh7o1"}],["line",{x1:"5",x2:"19",y1:"12",y2:"12",key:"13b5wn"}],["circle",{cx:"12",cy:"18",r:"1",key:"lqb9t5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const z$=Ee("dna-off",[["path",{d:"M15 2c-1.35 1.5-2.092 3-2.5 4.5L14 8",key:"1bivrr"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c3.333-3 6.667-3 10-3",key:"nxix30"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M22 9c-1.5 1.35-3 2.092-4.5 2.5l-1-1",key:"18cutr"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.35-1.5 2.092-3 2.5-4.5L10 16",key:"rlvei3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const U$=Ee("dna",[["path",{d:"m10 16 1.5 1.5",key:"11lckj"}],["path",{d:"m14 8-1.5-1.5",key:"1ohn8i"}],["path",{d:"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993",key:"80uv8i"}],["path",{d:"m16.5 10.5 1 1",key:"696xn5"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c6.667-6 13.333 0 20-6",key:"1pyr53"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.798-1.998 2.518-3.995 2.807-5.993",key:"q3hbxp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $$=Ee("dock",[["path",{d:"M2 8h20",key:"d11cs7"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M6 16h12",key:"u522kt"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const H$=Ee("dog",[["path",{d:"M11.25 16.25h1.5L12 17z",key:"w7jh35"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309",key:"u7s9ue"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5",key:"v8hric"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const V$=Ee("dollar-sign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const G$=Ee("donut",[["path",{d:"M20.5 10a2.5 2.5 0 0 1-2.4-3H18a2.95 2.95 0 0 1-2.6-4.4 10 10 0 1 0 6.3 7.1c-.3.2-.8.3-1.2.3",key:"19sr3x"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const j$=Ee("door-closed-locked",[["path",{d:"M10 12h.01",key:"1kxr2c"}],["path",{d:"M18 9V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14",key:"1bnhmg"}],["path",{d:"M2 20h8",key:"10ntw1"}],["path",{d:"M20 17v-2a2 2 0 1 0-4 0v2",key:"pwaxnr"}],["rect",{x:"14",y:"17",width:"8",height:"5",rx:"1",key:"15pjcy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Y$=Ee("door-closed",[["path",{d:"M10 12h.01",key:"1kxr2c"}],["path",{d:"M18 20V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14",key:"36qu9e"}],["path",{d:"M2 20h20",key:"owomy5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const W$=Ee("door-open",[["path",{d:"M11 20H2",key:"nlcfvz"}],["path",{d:"M11 4.562v16.157a1 1 0 0 0 1.242.97L19 20V5.562a2 2 0 0 0-1.515-1.94l-4-1A2 2 0 0 0 11 4.561z",key:"au4z13"}],["path",{d:"M11 4H8a2 2 0 0 0-2 2v14",key:"74r1mk"}],["path",{d:"M14 12h.01",key:"1jfl7z"}],["path",{d:"M22 20h-3",key:"vhrsz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $k=Ee("dot",[["circle",{cx:"12.1",cy:"12.1",r:"1",key:"18d7e5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const K$=Ee("download",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const X$=Ee("drafting-compass",[["path",{d:"m12.99 6.74 1.93 3.44",key:"iwagvd"}],["path",{d:"M19.136 12a10 10 0 0 1-14.271 0",key:"ppmlo4"}],["path",{d:"m21 21-2.16-3.84",key:"vylbct"}],["path",{d:"m3 21 8.02-14.26",key:"1ssaw4"}],["circle",{cx:"12",cy:"5",r:"2",key:"f1ur92"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const q$=Ee("drama",[["path",{d:"M10 11h.01",key:"d2at3l"}],["path",{d:"M14 6h.01",key:"k028ub"}],["path",{d:"M18 6h.01",key:"1v4wsw"}],["path",{d:"M6.5 13.1h.01",key:"1748ia"}],["path",{d:"M22 5c0 9-4 12-6 12s-6-3-6-12c0-2 2-3 6-3s6 1 6 3",key:"172yzv"}],["path",{d:"M17.4 9.9c-.8.8-2 .8-2.8 0",key:"1obv0w"}],["path",{d:"M10.1 7.1C9 7.2 7.7 7.7 6 8.6c-3.5 2-4.7 3.9-3.7 5.6 4.5 7.8 9.5 8.4 11.2 7.4.9-.5 1.9-2.1 1.9-4.7",key:"rqjl8i"}],["path",{d:"M9.1 16.5c.3-1.1 1.4-1.7 2.4-1.4",key:"1mr6wy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Z$=Ee("dribbble",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M19.13 5.09C15.22 9.14 10 10.44 2.25 10.94",key:"hpej1"}],["path",{d:"M21.75 12.84c-6.62-1.41-12.14 1-16.38 6.32",key:"1tr44o"}],["path",{d:"M8.56 2.75c4.37 6 6 9.42 8 17.72",key:"kbh691"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Q$=Ee("drill",[["path",{d:"M10 18a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H5a3 3 0 0 1-3-3 1 1 0 0 1 1-1z",key:"ioqxb1"}],["path",{d:"M13 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1l-.81 3.242a1 1 0 0 1-.97.758H8",key:"1rs59n"}],["path",{d:"M14 4h3a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-3",key:"105ega"}],["path",{d:"M18 6h4",key:"66u95g"}],["path",{d:"m5 10-2 8",key:"xt2lic"}],["path",{d:"m7 18 2-8",key:"1bzku2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const J$=Ee("drone",[["path",{d:"M10 10 7 7",key:"zp14k7"}],["path",{d:"m10 14-3 3",key:"1jrpxk"}],["path",{d:"m14 10 3-3",key:"7tigam"}],["path",{d:"m14 14 3 3",key:"vm23p3"}],["path",{d:"M14.205 4.139a4 4 0 1 1 5.439 5.863",key:"1tm5p2"}],["path",{d:"M19.637 14a4 4 0 1 1-5.432 5.868",key:"16egi2"}],["path",{d:"M4.367 10a4 4 0 1 1 5.438-5.862",key:"1wta6a"}],["path",{d:"M9.795 19.862a4 4 0 1 1-5.429-5.873",key:"q39hpv"}],["rect",{x:"10",y:"8",width:"4",height:"8",rx:"1",key:"phrjt1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eH=Ee("droplet-off",[["path",{d:"M18.715 13.186C18.29 11.858 17.384 10.607 16 9.5c-2-1.6-3.5-4-4-6.5a10.7 10.7 0 0 1-.884 2.586",key:"8suz2t"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.795 8.797A11 11 0 0 1 8 9.5C6 11.1 5 13 5 15a7 7 0 0 0 13.222 3.208",key:"19dw9m"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tH=Ee("droplet",[["path",{d:"M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z",key:"c7niix"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rH=Ee("droplets",[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nH=Ee("drum",[["path",{d:"m2 2 8 8",key:"1v6059"}],["path",{d:"m22 2-8 8",key:"173r8a"}],["ellipse",{cx:"12",cy:"9",rx:"10",ry:"5",key:"liohsx"}],["path",{d:"M7 13.4v7.9",key:"1yi6u9"}],["path",{d:"M12 14v8",key:"1tn2tj"}],["path",{d:"M17 13.4v7.9",key:"eqz2v3"}],["path",{d:"M2 9v8a10 5 0 0 0 20 0V9",key:"1750ul"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aH=Ee("dumbbell",[["path",{d:"M17.596 12.768a2 2 0 1 0 2.829-2.829l-1.768-1.767a2 2 0 0 0 2.828-2.829l-2.828-2.828a2 2 0 0 0-2.829 2.828l-1.767-1.768a2 2 0 1 0-2.829 2.829z",key:"9m4mmf"}],["path",{d:"m2.5 21.5 1.4-1.4",key:"17g3f0"}],["path",{d:"m20.1 3.9 1.4-1.4",key:"1qn309"}],["path",{d:"M5.343 21.485a2 2 0 1 0 2.829-2.828l1.767 1.768a2 2 0 1 0 2.829-2.829l-6.364-6.364a2 2 0 1 0-2.829 2.829l1.768 1.767a2 2 0 0 0-2.828 2.829z",key:"1t2c92"}],["path",{d:"m9.6 14.4 4.8-4.8",key:"6umqxw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iH=Ee("drumstick",[["path",{d:"M15.4 15.63a7.875 6 135 1 1 6.23-6.23 4.5 3.43 135 0 0-6.23 6.23",key:"1dtqwm"}],["path",{d:"m8.29 12.71-2.6 2.6a2.5 2.5 0 1 0-1.65 4.65A2.5 2.5 0 1 0 8.7 18.3l2.59-2.59",key:"1oq1fw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oH=Ee("ear-off",[["path",{d:"M6 18.5a3.5 3.5 0 1 0 7 0c0-1.57.92-2.52 2.04-3.46",key:"1qngmn"}],["path",{d:"M6 8.5c0-.75.13-1.47.36-2.14",key:"b06bma"}],["path",{d:"M8.8 3.15A6.5 6.5 0 0 1 19 8.5c0 1.63-.44 2.81-1.09 3.76",key:"g10hsz"}],["path",{d:"M12.5 6A2.5 2.5 0 0 1 15 8.5M10 13a2 2 0 0 0 1.82-1.18",key:"ygzou7"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sH=Ee("ear",[["path",{d:"M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0",key:"1dfaln"}],["path",{d:"M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4",key:"1qnva7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lH=Ee("earth-lock",[["path",{d:"M7 3.34V5a3 3 0 0 0 3 3",key:"w732o8"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2 2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"f02343"}],["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M12 2a10 10 0 1 0 9.54 13",key:"zjsr6q"}],["path",{d:"M20 6V4a2 2 0 1 0-4 0v2",key:"1of5e8"}],["rect",{width:"8",height:"5",x:"14",y:"6",rx:"1",key:"1fmf51"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jb=Ee("earth",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cH=Ee("egg-fried",[["circle",{cx:"11.5",cy:"12.5",r:"3.5",key:"1cl1mi"}],["path",{d:"M3 8c0-3.5 2.5-6 6.5-6 5 0 4.83 3 7.5 5s5 2 5 6c0 4.5-2.5 6.5-7 6.5-2.5 0-2.5 2.5-6 2.5s-7-2-7-5.5c0-3 1.5-3 1.5-5C3.5 10 3 9 3 8Z",key:"165ef9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uH=Ee("eclipse",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a7 7 0 1 0 10 10",key:"1yuj32"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dH=Ee("egg-off",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M20 14.347V14c0-6-4-12-8-12-1.078 0-2.157.436-3.157 1.19",key:"13g2jy"}],["path",{d:"M6.206 6.21C4.871 8.4 4 11.2 4 14a8 8 0 0 0 14.568 4.568",key:"1581id"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fH=Ee("egg",[["path",{d:"M12 2C8 2 4 8 4 14a8 8 0 0 0 16 0c0-6-4-12-8-12",key:"1le142"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Yb=Ee("ellipsis-vertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const N2=Ee("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hH=Ee("equal-approximately",[["path",{d:"M5 15a6.5 6.5 0 0 1 7 0 6.5 6.5 0 0 0 7 0",key:"yrdkhy"}],["path",{d:"M5 9a6.5 6.5 0 0 1 7 0 6.5 6.5 0 0 0 7 0",key:"gzkvyz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pH=Ee("equal-not",[["line",{x1:"5",x2:"19",y1:"9",y2:"9",key:"1nwqeh"}],["line",{x1:"5",x2:"19",y1:"15",y2:"15",key:"g8yjpy"}],["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vH=Ee("equal",[["line",{x1:"5",x2:"19",y1:"9",y2:"9",key:"1nwqeh"}],["line",{x1:"5",x2:"19",y1:"15",y2:"15",key:"g8yjpy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mH=Ee("eraser",[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gH=Ee("ethernet-port",[["path",{d:"m15 20 3-3h2a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h2l3 3z",key:"rbahqx"}],["path",{d:"M6 8v1",key:"1636ez"}],["path",{d:"M10 8v1",key:"1talb4"}],["path",{d:"M14 8v1",key:"1rsfgr"}],["path",{d:"M18 8v1",key:"gnkwox"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yH=Ee("euro",[["path",{d:"M4 10h12",key:"1y6xl8"}],["path",{d:"M4 14h9",key:"1loblj"}],["path",{d:"M19 6a7.7 7.7 0 0 0-5.2-2A7.9 7.9 0 0 0 6 12c0 4.4 3.5 8 7.8 8 2 0 3.8-.8 5.2-2",key:"1j6lzo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _H=Ee("ev-charger",[["path",{d:"M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 4 0v-6.998a2 2 0 0 0-.59-1.42L18 5",key:"1wtuz0"}],["path",{d:"M14 21V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v16",key:"e09ifn"}],["path",{d:"M2 21h13",key:"1x0fut"}],["path",{d:"M3 7h11",key:"19efrr"}],["path",{d:"m9 11-2 3h3l-2 3",key:"lmzxi1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xH=Ee("external-link",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bH=Ee("expand",[["path",{d:"m15 15 6 6",key:"1s409w"}],["path",{d:"m15 9 6-6",key:"ko1vev"}],["path",{d:"M21 16v5h-5",key:"1ck2sf"}],["path",{d:"M21 8V3h-5",key:"1qoq8a"}],["path",{d:"M3 16v5h5",key:"1t08am"}],["path",{d:"m3 21 6-6",key:"wwnumi"}],["path",{d:"M3 8V3h5",key:"1ln10m"}],["path",{d:"M9 9 3 3",key:"v551iv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EH=Ee("eye-closed",[["path",{d:"m15 18-.722-3.25",key:"1j64jw"}],["path",{d:"M2 8a10.645 10.645 0 0 0 20 0",key:"1e7gxb"}],["path",{d:"m20 15-1.726-2.05",key:"1cnuld"}],["path",{d:"m4 15 1.726-2.05",key:"1dsqqd"}],["path",{d:"m9 18 .722-3.25",key:"ypw2yx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SH=Ee("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wH=Ee("facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TH=Ee("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AH=Ee("factory",[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z",key:"1iv0i2"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CH=Ee("fan",[["path",{d:"M10.827 16.379a6.082 6.082 0 0 1-8.618-7.002l5.412 1.45a6.082 6.082 0 0 1 7.002-8.618l-1.45 5.412a6.082 6.082 0 0 1 8.618 7.002l-5.412-1.45a6.082 6.082 0 0 1-7.002 8.618l1.45-5.412Z",key:"484a7f"}],["path",{d:"M12 12v.01",key:"u5ubse"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kH=Ee("fast-forward",[["path",{d:"M12 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 12 18z",key:"b19h5q"}],["path",{d:"M2 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 2 18z",key:"h7h5ge"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MH=Ee("fence",[["path",{d:"M4 3 2 5v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z",key:"1n2rgs"}],["path",{d:"M6 8h4",key:"utf9t1"}],["path",{d:"M6 18h4",key:"12yh4b"}],["path",{d:"m12 3-2 2v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z",key:"3ha7mj"}],["path",{d:"M14 8h4",key:"1r8wg2"}],["path",{d:"M14 18h4",key:"1t3kbu"}],["path",{d:"m20 3-2 2v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z",key:"dfd4e2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RH=Ee("feather",[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NH=Ee("ferris-wheel",[["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m6.8 15-3.5 2",key:"hjy98k"}],["path",{d:"m20.7 7-3.5 2",key:"f08gto"}],["path",{d:"M6.8 9 3.3 7",key:"1aevh4"}],["path",{d:"m20.7 17-3.5-2",key:"1liqo3"}],["path",{d:"m9 22 3-8 3 8",key:"wees03"}],["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M18 18.7a9 9 0 1 0-12 0",key:"dhzg4g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IH=Ee("figma",[["path",{d:"M5 5.5A3.5 3.5 0 0 1 8.5 2H12v7H8.5A3.5 3.5 0 0 1 5 5.5z",key:"1340ok"}],["path",{d:"M12 2h3.5a3.5 3.5 0 1 1 0 7H12V2z",key:"1hz3m3"}],["path",{d:"M12 12.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 1 1-7 0z",key:"1oz8n2"}],["path",{d:"M5 19.5A3.5 3.5 0 0 1 8.5 16H12v3.5a3.5 3.5 0 1 1-7 0z",key:"1ff65i"}],["path",{d:"M5 12.5A3.5 3.5 0 0 1 8.5 9H12v7H8.5A3.5 3.5 0 0 1 5 12.5z",key:"pdip6e"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LH=Ee("file-archive",[["path",{d:"M13.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v11.5",key:"4pqfef"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M8 12v-1",key:"1ej8lb"}],["path",{d:"M8 18v-2",key:"qcmpov"}],["path",{d:"M8 7V6",key:"1nbb54"}],["circle",{cx:"8",cy:"20",r:"2",key:"ckkr5m"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wb=Ee("file-axis-3d",[["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:"m8 18 4-4",key:"12zab0"}],["path",{d:"M8 10v8h8",key:"tlaukw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kb=Ee("file-badge",[["path",{d:"M13 22h5a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.3",key:"cvl1xm"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m7.69 16.479 1.29 4.88a.5.5 0 0 1-.698.591l-1.843-.849a1 1 0 0 0-.879.001l-1.846.85a.5.5 0 0 1-.692-.593l1.29-4.88",key:"1ff7gj"}],["circle",{cx:"6",cy:"14",r:"3",key:"a1xfv6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OH=Ee("file-box",[["path",{d:"M14.5 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.8",key:"1kchwa"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M11.7 14.2 7 17l-4.7-2.8",key:"1yk8tc"}],["path",{d:"M3 13.1a2 2 0 0 0-.999 1.76v3.24a2 2 0 0 0 .969 1.78L6 21.7a2 2 0 0 0 2.03.01L11 19.9a2 2 0 0 0 1-1.76V14.9a2 2 0 0 0-.97-1.78L8 11.3a2 2 0 0 0-2.03-.01z",key:"19flxy"}],["path",{d:"M7 17v5",key:"1yj1jh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Xb=Ee("file-braces-corner",[["path",{d:"M14 22h4a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v6",key:"14cnrg"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M5 14a1 1 0 0 0-1 1v2a1 1 0 0 1-1 1 1 1 0 0 1 1 1v2a1 1 0 0 0 1 1",key:"sr0ebq"}],["path",{d:"M9 22a1 1 0 0 0 1-1v-2a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-2a1 1 0 0 0-1-1",key:"w793db"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qb=Ee("file-braces",[["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 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zb=Ee("file-chart-column-increasing",[["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:"M8 18v-2",key:"qcmpov"}],["path",{d:"M12 18v-4",key:"q1q25u"}],["path",{d:"M16 18v-6",key:"15y0np"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qb=Ee("file-chart-column",[["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:"M8 18v-1",key:"zg0ygc"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"M16 18v-3",key:"j5jt4h"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jb=Ee("file-chart-line",[["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:"m16 13-3.5 3.5-2-2L8 17",key:"zz7yod"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const e3=Ee("file-chart-pie",[["path",{d:"M15.941 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.704l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.512",key:"13hoie"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M4.017 11.512a6 6 0 1 0 8.466 8.475",key:"s6vs5t"}],["path",{d:"M9 16a1 1 0 0 1-1-1v-4c0-.552.45-1.008.995-.917a6 6 0 0 1 4.922 4.922c.091.544-.365.995-.917.995z",key:"1dl6s6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const t3=Ee("file-check-corner",[["path",{d:"M10.5 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v6",key:"g5mvt7"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m14 20 2 2 4-4",key:"15kota"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DH=Ee("file-check",[["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:"m9 15 2 2 4-4",key:"1grp1n"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const r3=Ee("file-code-corner",[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",key:"1wthlu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 16-3 3 3 3",key:"331omg"}],["path",{d:"m9 22 3-3-3-3",key:"lsp7cz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PH=Ee("file-clock",[["path",{d:"M16 22h2a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v2.85",key:"ryk6xj"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M8 14v2.2l1.6 1",key:"6m4bie"}],["circle",{cx:"8",cy:"16",r:"6",key:"10v15b"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FH=Ee("file-code",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const n3=Ee("file-cog",[["path",{d:"M13.85 22H18a2 2 0 0 0 2-2V8a2 2 0 0 0-.586-1.414l-4-4A2 2 0 0 0 14 2H6a2 2 0 0 0-2 2v6.6",key:"1l4p50"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m3.305 19.53.923-.382",key:"ao1pio"}],["path",{d:"m4.228 16.852-.924-.383",key:"1fv9zy"}],["path",{d:"m5.852 15.228-.383-.923",key:"1a9hc2"}],["path",{d:"m5.852 20.772-.383.924",key:"1sh9ke"}],["path",{d:"m8.148 15.228.383-.923",key:"4yu6lf"}],["path",{d:"m8.53 21.696-.382-.924",key:"18b0s9"}],["path",{d:"m9.773 16.852.922-.383",key:"ti6xop"}],["path",{d:"m9.773 19.148.922.383",key:"rws47d"}],["circle",{cx:"7",cy:"18",r:"3",key:"lvkj7j"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BH=Ee("file-diff",[["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:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zH=Ee("file-digit",[["path",{d:"M4 12V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2",key:"jrl274"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 16h2v6",key:"1bxocy"}],["path",{d:"M10 22h4",key:"ceow96"}],["rect",{x:"2",y:"16",width:"4",height:"6",rx:"2",key:"r45zd0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UH=Ee("file-down",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const a3=Ee("file-exclamation-point",[["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:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tm=Ee("file-headphone",[["path",{d:"M4 6.835V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-.343",key:"1vfytu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M2 19a2 2 0 0 1 4 0v1a2 2 0 0 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 0 1-4 0v-1a2 2 0 0 1 4 0",key:"1etmh7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $H=Ee("file-heart",[["path",{d:"M13 22h5a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v7",key:"oagw2b"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M3.62 18.8A2.25 2.25 0 1 1 7 15.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a1 1 0 0 1-1.507 0z",key:"rg3psg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HH=Ee("file-image",[["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"}],["circle",{cx:"10",cy:"12",r:"2",key:"737tya"}],["path",{d:"m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",key:"wt3hpn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VH=Ee("file-input",[["path",{d:"M4 11V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-1",key:"1q9hii"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M2 15h10",key:"jfw4w8"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const i3=Ee("file-key",[["path",{d:"M10.65 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v10.1",key:"1a2hbp"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m10 15 1 1",key:"1h4vmv"}],["path",{d:"m11 14-4.586 4.586",key:"maylof"}],["circle",{cx:"5",cy:"20",r:"2",key:"860zyv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const o3=Ee("file-lock",[["path",{d:"M4 9.8V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3",key:"1432pc"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M9 17v-2a2 2 0 0 0-4 0v2",key:"168m41"}],["rect",{width:"8",height:"5",x:"3",y:"17",rx:"1",key:"o8vfew"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const s3=Ee("file-minus-corner",[["path",{d:"M20 14V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12",key:"l9p8hp"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GH=Ee("file-minus",[["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:"M9 15h6",key:"cctwl0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jH=Ee("file-music",[["path",{d:"M11.65 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v10.35",key:"5ad7z2"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M8 20v-7l3 1.474",key:"1ggyb9"}],["circle",{cx:"6",cy:"20",r:"2",key:"j7wjp0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YH=Ee("file-output",[["path",{d:"M4.226 20.925A2 2 0 0 0 6 22h12a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.127",key:"wfxp4w"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 11-3 3",key:"1dgrs4"}],["path",{d:"m5 17-3-3h10",key:"1mvvaf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const l3=Ee("file-pen-line",[["path",{d:"m18.226 5.226-2.52-2.52A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-.351",key:"1k2beg"}],["path",{d:"M21.378 12.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"2t3380"}],["path",{d:"M8 18h1",key:"13wk12"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const c3=Ee("file-pen",[["path",{d:"M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34",key:"o6klzx"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z",key:"zhnas1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const u3=Ee("file-play",[["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:"M15.033 13.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56v-4.704a.645.645 0 0 1 .967-.56z",key:"1tzo1f"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const d3=Ee("file-plus-corner",[["path",{d:"M11.35 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5.35",key:"17jvcc"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M14 19h6",key:"bvotb8"}],["path",{d:"M17 16v6",key:"18yu1i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WH=Ee("file-plus",[["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:"M9 15h6",key:"cctwl0"}],["path",{d:"M12 18v-6",key:"17g6i2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const f3=Ee("file-question-mark",[["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:"M12 17h.01",key:"p32p05"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KH=Ee("file-scan",[["path",{d:"M20 10V8a2.4 2.4 0 0 0-.706-1.704l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4.35",key:"1cdjst"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M16 14a2 2 0 0 0-2 2",key:"ceaadl"}],["path",{d:"M16 22a2 2 0 0 1-2-2",key:"1wqh5n"}],["path",{d:"M20 14a2 2 0 0 1 2 2",key:"1ny6zw"}],["path",{d:"M20 22a2 2 0 0 0 2-2",key:"1l9q4k"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const h3=Ee("file-search-corner",[["path",{d:"M11.1 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.589 3.588A2.4 2.4 0 0 1 20 8v3.25",key:"uh4ikj"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m21 22-2.88-2.88",key:"9dd25w"}],["circle",{cx:"16",cy:"17",r:"3",key:"11br10"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XH=Ee("file-search",[["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"}],["circle",{cx:"11.5",cy:"14.5",r:"2.5",key:"1bq0ko"}],["path",{d:"M13.3 16.3 15 18",key:"2quom7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qH=Ee("file-sliders",[["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:"M8 12h8",key:"1wcyev"}],["path",{d:"M10 11v2",key:"1s651w"}],["path",{d:"M8 17h8",key:"wh5c61"}],["path",{d:"M14 16v2",key:"12fp5e"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const p3=Ee("file-signal",[["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:"M8 15h.01",key:"a7atzg"}],["path",{d:"M11.5 13.5a2.5 2.5 0 0 1 0 3",key:"1fccat"}],["path",{d:"M15 12a5 5 0 0 1 0 6",key:"ps46cm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZH=Ee("file-stack",[["path",{d:"M11 21a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1",key:"likhh7"}],["path",{d:"M16 16a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1",key:"17ky3x"}],["path",{d:"M21 6a2 2 0 0 0-.586-1.414l-2-2A2 2 0 0 0 17 2h-3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1z",key:"1hyeo0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QH=Ee("file-spreadsheet",[["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:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JH=Ee("file-symlink",[["path",{d:"M4 11V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7",key:"huwfnr"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m10 18 3-3-3-3",key:"18f6ys"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eV=Ee("file-text",[["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 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tV=Ee("file-terminal",[["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:"m8 16 2-2-2-2",key:"10vzyd"}],["path",{d:"M12 18h4",key:"1wd2n7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const v3=Ee("file-type-corner",[["path",{d:"M12 22h6a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v6",key:"15usau"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M3 16v-1.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5V16",key:"s1gz5"}],["path",{d:"M6 22h2",key:"194x9m"}],["path",{d:"M7 14v8",key:"11ixej"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rV=Ee("file-type",[["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:"M11 18h2",key:"12mj7e"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M9 13v-.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v.5",key:"qbrxap"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nV=Ee("file-up",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aV=Ee("file-user",[["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:"M16 22a4 4 0 0 0-8 0",key:"7a83pg"}],["circle",{cx:"12",cy:"15",r:"3",key:"g36mzq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const m3=Ee("file-video-camera",[["path",{d:"M4 12V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2",key:"jrl274"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m10 17.843 3.033-1.755a.64.64 0 0 1 .967.56v4.704a.65.65 0 0 1-.967.56L10 20.157",key:"17aeo9"}],["rect",{width:"7",height:"6",x:"3",y:"16",rx:"1",key:"s27ndx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iV=Ee("file-volume",[["path",{d:"M4 11.55V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-1.95",key:"44gpjv"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 15a5 5 0 0 1 0 6",key:"oxg87a"}],["path",{d:"M8 14.502a.5.5 0 0 0-.826-.381l-1.893 1.631a1 1 0 0 1-.651.243H3.5a.5.5 0 0 0-.5.501v3.006a.5.5 0 0 0 .5.501h1.129a1 1 0 0 1 .652.243l1.893 1.633a.5.5 0 0 0 .826-.38z",key:"8rtoi1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const g3=Ee("file-x-corner",[["path",{d:"M11 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5",key:"1jo35a"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m15 17 5 5",key:"36xl1x"}],["path",{d:"m20 17-5 5",key:"vdz27y"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oV=Ee("file-x",[["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:"m14.5 12.5-5 5",key:"b62r18"}],["path",{d:"m9.5 12.5 5 5",key:"1rk7el"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sV=Ee("file",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lV=Ee("files",[["path",{d:"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"14sh0y"}],["path",{d:"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706z",key:"1970lx"}],["path",{d:"M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1",key:"l4dndm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cV=Ee("film",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const y3=Ee("fingerprint-pattern",[["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M2 12a10 10 0 0 1 18-6",key:"ydlgp0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}],["path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2",key:"1tidbn"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2",key:"1fr1j5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uV=Ee("fire-extinguisher",[["path",{d:"M15 6.5V3a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3.5",key:"sqyvz"}],["path",{d:"M9 18h8",key:"i7pszb"}],["path",{d:"M18 3h-3",key:"7idoqj"}],["path",{d:"M11 3a6 6 0 0 0-6 6v11",key:"1v5je3"}],["path",{d:"M5 13h4",key:"svpcxo"}],["path",{d:"M17 10a4 4 0 0 0-8 0v10a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2Z",key:"vsjego"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dV=Ee("fish-off",[["path",{d:"M18 12.47v.03m0-.5v.47m-.475 5.056A6.744 6.744 0 0 1 15 18c-3.56 0-7.56-2.53-8.5-6 .348-1.28 1.114-2.433 2.121-3.38m3.444-2.088A8.802 8.802 0 0 1 15 6c3.56 0 6.06 2.54 7 6-.309 1.14-.786 2.177-1.413 3.058",key:"1j1hse"}],["path",{d:"M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33m7.48-4.372A9.77 9.77 0 0 1 16 6.07m0 11.86a9.77 9.77 0 0 1-1.728-3.618",key:"1q46z8"}],["path",{d:"m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98M8.53 3h5.27a2 2 0 0 1 1.98 1.67l.23 1.4M2 2l20 20",key:"1407gh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fV=Ee("fish-symbol",[["path",{d:"M2 16s9-15 20-4C11 23 2 8 2 8",key:"h4oh4o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hV=Ee("fish",[["path",{d:"M6.5 12c.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6Z",key:"15baut"}],["path",{d:"M18 12v.5",key:"18hhni"}],["path",{d:"M16 17.93a9.77 9.77 0 0 1 0-11.86",key:"16dt7o"}],["path",{d:"M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33",key:"l9di03"}],["path",{d:"M10.46 7.26C10.2 5.88 9.17 4.24 8 3h5.8a2 2 0 0 1 1.98 1.67l.23 1.4",key:"1kjonw"}],["path",{d:"m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98",key:"1zlm23"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pV=Ee("flag-off",[["path",{d:"M16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1q158e"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M4 22V4",key:"1plyxx"}],["path",{d:"M7.656 2H8c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10.347",key:"xj1b71"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vV=Ee("flag-triangle-left",[["path",{d:"M18 22V2.8a.8.8 0 0 0-1.17-.71L5.45 7.78a.8.8 0 0 0 0 1.44L18 15.5",key:"rbbtmw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mV=Ee("flag-triangle-right",[["path",{d:"M6 22V2.8a.8.8 0 0 1 1.17-.71l11.38 5.69a.8.8 0 0 1 0 1.44L6 15.5",key:"kfjsu0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gV=Ee("flag",[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yV=Ee("flame-kindling",[["path",{d:"M12 2c1 3 2.5 3.5 3.5 4.5A5 5 0 0 1 17 10a5 5 0 1 1-10 0c0-.3 0-.6.1-.9a2 2 0 1 0 3.3-2C8 4.5 11 2 12 2Z",key:"1ir223"}],["path",{d:"m5 22 14-4",key:"1brv4h"}],["path",{d:"m5 18 14 4",key:"lgyyje"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _V=Ee("flashlight-off",[["path",{d:"M16 16v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V10c0-2-2-2-2-4",key:"1r120k"}],["path",{d:"M7 2h11v4c0 2-2 2-2 4v1",key:"dz1920"}],["line",{x1:"11",x2:"18",y1:"6",y2:"6",key:"bi1vpe"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xV=Ee("flame",[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bV=Ee("flashlight",[["path",{d:"M18 6c0 2-2 2-2 4v10a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V10c0-2-2-2-2-4V2h12z",key:"1orkel"}],["line",{x1:"6",x2:"18",y1:"6",y2:"6",key:"1z11jq"}],["line",{x1:"12",x2:"12",y1:"12",y2:"12",key:"1f4yc1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EV=Ee("flask-conical-off",[["path",{d:"M10 2v2.343",key:"15t272"}],["path",{d:"M14 2v6.343",key:"sxr80q"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M20 20a2 2 0 0 1-2 2H6a2 2 0 0 1-1.755-2.96l5.227-9.563",key:"k0duyd"}],["path",{d:"M6.453 15H15",key:"1f0z33"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SV=Ee("flask-conical",[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wV=Ee("flask-round",[["path",{d:"M10 2v6.292a7 7 0 1 0 4 0V2",key:"1s42pc"}],["path",{d:"M5 15h14",key:"m0yey3"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TV=Ee("flip-horizontal-2",[["path",{d:"m3 7 5 5-5 5V7",key:"couhi7"}],["path",{d:"m21 7-5 5 5 5V7",key:"6ouia7"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 2v2",key:"tus03m"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AV=Ee("flip-horizontal",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3",key:"1i73f7"}],["path",{d:"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3",key:"saxlbk"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 2v2",key:"tus03m"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CV=Ee("flip-vertical-2",[["path",{d:"m17 3-5 5-5-5h10",key:"1ftt6x"}],["path",{d:"m17 21-5-5-5 5h10",key:"1m0wmu"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kV=Ee("flip-vertical",[["path",{d:"M21 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3",key:"14bfxa"}],["path",{d:"M21 16v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3",key:"14rx03"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MV=Ee("flower-2",[["path",{d:"M12 5a3 3 0 1 1 3 3m-3-3a3 3 0 1 0-3 3m3-3v1M9 8a3 3 0 1 0 3 3M9 8h1m5 0a3 3 0 1 1-3 3m3-3h-1m-2 3v-1",key:"3pnvol"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["path",{d:"M12 10v12",key:"6ubwww"}],["path",{d:"M12 22c4.2 0 7-1.667 7-5-4.2 0-7 1.667-7 5Z",key:"9hd38g"}],["path",{d:"M12 22c-4.2 0-7-1.667-7-5 4.2 0 7 1.667 7 5Z",key:"ufn41s"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RV=Ee("flower",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M12 16.5A4.5 4.5 0 1 1 7.5 12 4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 1 1 4.5 4.5 4.5 4.5 0 1 1-4.5 4.5",key:"14wa3c"}],["path",{d:"M12 7.5V9",key:"1oy5b0"}],["path",{d:"M7.5 12H9",key:"eltsq1"}],["path",{d:"M16.5 12H15",key:"vk5kw4"}],["path",{d:"M12 16.5V15",key:"k7eayi"}],["path",{d:"m8 8 1.88 1.88",key:"nxy4qf"}],["path",{d:"M14.12 9.88 16 8",key:"1lst6k"}],["path",{d:"m8 16 1.88-1.88",key:"h2eex1"}],["path",{d:"M14.12 14.12 16 16",key:"uqkrx3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NV=Ee("focus",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IV=Ee("fold-horizontal",[["path",{d:"M2 12h6",key:"1wqiqv"}],["path",{d:"M22 12h-6",key:"1eg9hc"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m19 9-3 3 3 3",key:"12ol22"}],["path",{d:"m5 15 3-3-3-3",key:"1kdhjc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LV=Ee("fold-vertical",[["path",{d:"M12 22v-6",key:"6o8u61"}],["path",{d:"M12 8V2",key:"1wkif3"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}],["path",{d:"m15 19-3-3-3 3",key:"e37ymu"}],["path",{d:"m15 5-3 3-3-3",key:"19d6lf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OV=Ee("folder-archive",[["circle",{cx:"15",cy:"19",r:"2",key:"u2pros"}],["path",{d:"M20.9 19.8A2 2 0 0 0 22 18V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h5.1",key:"1jj40k"}],["path",{d:"M15 11v-1",key:"cntcp"}],["path",{d:"M15 17v-2",key:"1279jj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DV=Ee("folder-check",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"m9 13 2 2 4-4",key:"6343dt"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PV=Ee("folder-clock",[["path",{d:"M16 14v2.2l1.6 1",key:"fo4ql5"}],["path",{d:"M7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2",key:"1urifu"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FV=Ee("folder-code",[["path",{d:"M10 10.5 8 13l2 2.5",key:"m4t9c1"}],["path",{d:"m14 10.5 2 2.5-2 2.5",key:"14w2eb"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z",key:"1u1bxd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BV=Ee("folder-closed",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M2 10h20",key:"1ir3d8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _3=Ee("folder-cog",[["path",{d:"M10.3 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.98a2 2 0 0 1 1.69.9l.66 1.2A2 2 0 0 0 12 6h8a2 2 0 0 1 2 2v3.3",key:"128dxu"}],["path",{d:"m14.305 19.53.923-.382",key:"3m78fa"}],["path",{d:"m15.228 16.852-.923-.383",key:"npixar"}],["path",{d:"m16.852 15.228-.383-.923",key:"5xggr7"}],["path",{d:"m16.852 20.772-.383.924",key:"dpfhf9"}],["path",{d:"m19.148 15.228.383-.923",key:"1reyyz"}],["path",{d:"m19.53 21.696-.382-.924",key:"1goivc"}],["path",{d:"m20.772 16.852.924-.383",key:"htqkph"}],["path",{d:"m20.772 19.148.924.383",key:"9w9pjp"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zV=Ee("folder-dot",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["circle",{cx:"12",cy:"13",r:"1",key:"49l61u"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UV=Ee("folder-down",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"m15 13-3 3-3-3",key:"6j2sf0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $V=Ee("folder-git-2",[["path",{d:"M18 19a5 5 0 0 1-5-5v8",key:"sz5oeg"}],["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",key:"1w6njk"}],["circle",{cx:"13",cy:"12",r:"2",key:"1j92g6"}],["circle",{cx:"20",cy:"19",r:"2",key:"1obnsp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HV=Ee("folder-git",[["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M14 13h3",key:"1dgedf"}],["path",{d:"M7 13h3",key:"1pygq7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VV=Ee("folder-heart",[["path",{d:"M10.638 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v3.417",key:"10r6g4"}],["path",{d:"M14.62 18.8A2.25 2.25 0 1 1 18 15.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z",key:"15cy7q"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GV=Ee("folder-input",[["path",{d:"M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1",key:"fm4g5t"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m9 16 3-3-3-3",key:"6m91ic"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jV=Ee("folder-kanban",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M12 10v2",key:"hh53o1"}],["path",{d:"M16 10v6",key:"1d6xys"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YV=Ee("folder-key",[["circle",{cx:"16",cy:"20",r:"2",key:"1vifvg"}],["path",{d:"M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2",key:"3hgo9p"}],["path",{d:"m22 14-4.5 4.5",key:"1ef6z8"}],["path",{d:"m21 15 1 1",key:"1ejcpy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WV=Ee("folder-lock",[["rect",{width:"8",height:"5",x:"14",y:"17",rx:"1",key:"19aais"}],["path",{d:"M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2.5",key:"1w6v7t"}],["path",{d:"M20 17v-2a2 2 0 1 0-4 0v2",key:"pwaxnr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KV=Ee("folder-minus",[["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XV=Ee("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qV=Ee("folder-open-dot",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZV=Ee("folder-output",[["path",{d:"M2 7.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-1.5",key:"1yk7aj"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m5 10-3 3 3 3",key:"1r8ie0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const x3=Ee("folder-pen",[["path",{d:"M2 11.5V5a2 2 0 0 1 2-2h3.9c.7 0 1.3.3 1.7.9l.8 1.2c.4.6 1 .9 1.7.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-9.5",key:"a8xqs0"}],["path",{d:"M11.378 13.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1saktj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QV=Ee("folder-plus",[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JV=Ee("folder-root",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}],["path",{d:"M12 15v5",key:"11xva1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eG=Ee("folder-search-2",[["circle",{cx:"11.5",cy:"12.5",r:"2.5",key:"1ea5ju"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M13.3 14.3 15 16",key:"1y4v1n"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tG=Ee("folder-search",[["path",{d:"M10.7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v4.1",key:"1bw5m7"}],["path",{d:"m21 21-1.9-1.9",key:"1g2n9r"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rG=Ee("folder-symlink",[["path",{d:"M2 9.35V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7",key:"y8kt7d"}],["path",{d:"m8 16 3-3-3-3",key:"rlqrt1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nG=Ee("folder-sync",[["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v.5",key:"1dkoa9"}],["path",{d:"M12 10v4h4",key:"1czhmt"}],["path",{d:"m12 14 1.535-1.605a5 5 0 0 1 8 1.5",key:"lvuxfi"}],["path",{d:"M22 22v-4h-4",key:"1ewp4q"}],["path",{d:"m22 18-1.535 1.605a5 5 0 0 1-8-1.5",key:"14ync0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aG=Ee("folder-tree",[["path",{d:"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"hod4my"}],["path",{d:"M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"w4yl2u"}],["path",{d:"M3 5a2 2 0 0 0 2 2h3",key:"f2jnh7"}],["path",{d:"M3 3v13a2 2 0 0 0 2 2h3",key:"k8epm1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iG=Ee("folder-up",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"m9 13 3-3 3 3",key:"1pxg3c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oG=Ee("folder-x",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"m9.5 10.5 5 5",key:"ra9qjz"}],["path",{d:"m14.5 10.5-5 5",key:"l2rkpq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sG=Ee("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lG=Ee("folders",[["path",{d:"M20 5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2.5a1.5 1.5 0 0 1 1.2.6l.6.8a1.5 1.5 0 0 0 1.2.6z",key:"a4852j"}],["path",{d:"M3 8.268a2 2 0 0 0-1 1.738V19a2 2 0 0 0 2 2h11a2 2 0 0 0 1.732-1",key:"yxbcw3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cG=Ee("footprints",[["path",{d:"M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z",key:"1dudjm"}],["path",{d:"M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z",key:"l2t8xc"}],["path",{d:"M16 17h4",key:"1dejxt"}],["path",{d:"M4 13h4",key:"1bwh8b"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uG=Ee("forklift",[["path",{d:"M12 12H5a2 2 0 0 0-2 2v5",key:"7zsz91"}],["circle",{cx:"13",cy:"19",r:"2",key:"wjnkru"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}],["path",{d:"M8 19h3m5-17v17h6M6 12V7c0-1.1.9-2 2-2h3l5 5",key:"13bk1p"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dG=Ee("form",[["path",{d:"M4 14h6",key:"77gv2w"}],["path",{d:"M4 2h10",key:"a2b314"}],["rect",{x:"4",y:"18",width:"16",height:"4",rx:"1",key:"sybzq6"}],["rect",{x:"4",y:"6",width:"16",height:"4",rx:"1",key:"1osc9e"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fG=Ee("forward",[["path",{d:"m15 17 5-5-5-5",key:"nf172w"}],["path",{d:"M4 18v-2a4 4 0 0 1 4-4h12",key:"jmiej9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hG=Ee("frame",[["line",{x1:"22",x2:"2",y1:"6",y2:"6",key:"15w7dq"}],["line",{x1:"22",x2:"2",y1:"18",y2:"18",key:"1ip48p"}],["line",{x1:"6",x2:"6",y1:"2",y2:"22",key:"a2lnyx"}],["line",{x1:"18",x2:"18",y1:"2",y2:"22",key:"8vb6jd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pG=Ee("framer",[["path",{d:"M5 16V9h14V2H5l14 14h-7m-7 0 7 7v-7m-7 0h7",key:"1a2nng"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vG=Ee("frown",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 16s-1.5-2-4-2-4 2-4 2",key:"epbg0q"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mG=Ee("fuel",[["path",{d:"M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 4 0v-6.998a2 2 0 0 0-.59-1.42L18 5",key:"1wtuz0"}],["path",{d:"M14 21V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v16",key:"e09ifn"}],["path",{d:"M2 21h13",key:"1x0fut"}],["path",{d:"M3 9h11",key:"1p7c0w"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gG=Ee("fullscreen",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["rect",{width:"10",height:"8",x:"7",y:"8",rx:"1",key:"vys8me"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const b3=Ee("funnel-x",[["path",{d:"M12.531 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14v6a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341l.427-.473",key:"ol2ft2"}],["path",{d:"m16.5 3.5 5 5",key:"15e6fa"}],["path",{d:"m21.5 3.5-5 5",key:"m0lwru"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yG=Ee("funnel-plus",[["path",{d:"M13.354 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14v6a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341l1.218-1.348",key:"8mvsmf"}],["path",{d:"M16 6h6",key:"1dogtp"}],["path",{d:"M19 3v6",key:"1ytpjt"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const E3=Ee("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _G=Ee("gallery-horizontal",[["path",{d:"M2 3v18",key:"pzttux"}],["rect",{width:"12",height:"18",x:"6",y:"3",rx:"2",key:"btr8bg"}],["path",{d:"M22 3v18",key:"6jf3v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xG=Ee("gallery-horizontal-end",[["path",{d:"M2 7v10",key:"a2pl2d"}],["path",{d:"M6 5v14",key:"1kq3d7"}],["rect",{width:"12",height:"18",x:"10",y:"3",rx:"2",key:"13i7bc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bG=Ee("gallery-thumbnails",[["rect",{width:"18",height:"14",x:"3",y:"3",rx:"2",key:"74y24f"}],["path",{d:"M4 21h1",key:"16zlid"}],["path",{d:"M9 21h1",key:"15o7lz"}],["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"M19 21h1",key:"edywat"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EG=Ee("gallery-vertical-end",[["path",{d:"M7 2h10",key:"nczekb"}],["path",{d:"M5 6h14",key:"u2x4p"}],["rect",{width:"18",height:"12",x:"3",y:"10",rx:"2",key:"l0tzu3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SG=Ee("gallery-vertical",[["path",{d:"M3 2h18",key:"15qxfx"}],["rect",{width:"18",height:"12",x:"3",y:"6",rx:"2",key:"1439r6"}],["path",{d:"M3 22h18",key:"8prr45"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wG=Ee("gamepad-2",[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TG=Ee("gamepad-directional",[["path",{d:"M11.146 15.854a1.207 1.207 0 0 1 1.708 0l1.56 1.56A2 2 0 0 1 15 18.828V21a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-2.172a2 2 0 0 1 .586-1.414z",key:"1re2og"}],["path",{d:"M18.828 15a2 2 0 0 1-1.414-.586l-1.56-1.56a1.207 1.207 0 0 1 0-1.708l1.56-1.56A2 2 0 0 1 18.828 9H21a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1z",key:"1pchrj"}],["path",{d:"M6.586 14.414A2 2 0 0 1 5.172 15H3a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h2.172a2 2 0 0 1 1.414.586l1.56 1.56a1.207 1.207 0 0 1 0 1.708z",key:"16mt4c"}],["path",{d:"M9 3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2.172a2 2 0 0 1-.586 1.414l-1.56 1.56a1.207 1.207 0 0 1-1.708 0l-1.56-1.56A2 2 0 0 1 9 5.172z",key:"19ox6c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AG=Ee("gamepad",[["line",{x1:"6",x2:"10",y1:"12",y2:"12",key:"161bw2"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"15",x2:"15.01",y1:"13",y2:"13",key:"dqpgro"}],["line",{x1:"18",x2:"18.01",y1:"11",y2:"11",key:"meh2c"}],["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CG=Ee("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kG=Ee("gavel",[["path",{d:"m14 13-8.381 8.38a1 1 0 0 1-3.001-3l8.384-8.381",key:"pgg06f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m21.5 10.5-8-8",key:"a17d9x"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m8.5 7.5 8 8",key:"1oyaui"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MG=Ee("gem",[["path",{d:"M10.5 3 8 9l4 13 4-13-2.5-6",key:"b3dvk1"}],["path",{d:"M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z",key:"7w4byz"}],["path",{d:"M2 9h20",key:"16fsjt"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RG=Ee("georgian-lari",[["path",{d:"M11.5 21a7.5 7.5 0 1 1 7.35-9",key:"1gyj8k"}],["path",{d:"M13 12V3",key:"18om2a"}],["path",{d:"M4 21h16",key:"1h09gz"}],["path",{d:"M9 12V3",key:"geutu0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NG=Ee("ghost",[["path",{d:"M9 10h.01",key:"qbtxuw"}],["path",{d:"M15 10h.01",key:"1qmjsl"}],["path",{d:"M12 2a8 8 0 0 0-8 8v12l3-3 2.5 2.5L12 19l2.5 2.5L17 19l3 3V10a8 8 0 0 0-8-8z",key:"uwwb07"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IG=Ee("git-branch-minus",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["path",{d:"M21 18h-6",key:"139f0c"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LG=Ee("gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OG=Ee("git-branch-plus",[["path",{d:"M6 3v12",key:"qpgusn"}],["path",{d:"M18 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"1d02ji"}],["path",{d:"M6 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"chk6ph"}],["path",{d:"M15 6a9 9 0 0 0-9 9",key:"or332x"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DG=Ee("git-branch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const S3=Ee("git-commit-horizontal",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PG=Ee("git-commit-vertical",[["path",{d:"M12 3v6",key:"1holv5"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M12 15v6",key:"a9ows0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FG=Ee("git-compare-arrows",[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M12 6h5a2 2 0 0 1 2 2v7",key:"1yj91y"}],["path",{d:"m15 9-3-3 3-3",key:"1lwv8l"}],["circle",{cx:"19",cy:"18",r:"3",key:"1qljk2"}],["path",{d:"M12 18H7a2 2 0 0 1-2-2V9",key:"16sdep"}],["path",{d:"m9 15 3 3-3 3",key:"1m3kbl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BG=Ee("git-compare",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["path",{d:"M11 18H8a2 2 0 0 1-2-2V9",key:"19pyzm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zG=Ee("git-fork",[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UG=Ee("git-graph",[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M5 9v6",key:"158jrl"}],["circle",{cx:"5",cy:"18",r:"3",key:"104gr9"}],["path",{d:"M12 3v18",key:"108xh3"}],["circle",{cx:"19",cy:"6",r:"3",key:"108a5v"}],["path",{d:"M16 15.7A9 9 0 0 0 19 9",key:"1e3vqb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $G=Ee("git-merge",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HG=Ee("git-pull-request-arrow",[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M5 9v12",key:"ih889a"}],["circle",{cx:"19",cy:"18",r:"3",key:"1qljk2"}],["path",{d:"m15 9-3-3 3-3",key:"1lwv8l"}],["path",{d:"M12 6h5a2 2 0 0 1 2 2v7",key:"1yj91y"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VG=Ee("git-pull-request-closed",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 9v12",key:"1sc30k"}],["path",{d:"m21 3-6 6",key:"16nqsk"}],["path",{d:"m21 9-6-6",key:"9j17rh"}],["path",{d:"M18 11.5V15",key:"65xf6f"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GG=Ee("git-pull-request-create",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 9v12",key:"1sc30k"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v3",key:"1jb6z3"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jG=Ee("git-pull-request-create-arrow",[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M5 9v12",key:"ih889a"}],["path",{d:"m15 9-3-3 3-3",key:"1lwv8l"}],["path",{d:"M12 6h5a2 2 0 0 1 2 2v3",key:"1rbwk6"}],["path",{d:"M19 15v6",key:"10aioa"}],["path",{d:"M22 18h-6",key:"1d5gi5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YG=Ee("git-pull-request-draft",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M18 6V5",key:"1oao2s"}],["path",{d:"M18 11v-1",key:"11c8tz"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WG=Ee("git-pull-request",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KG=Ee("gitlab",[["path",{d:"m22 13.29-3.33-10a.42.42 0 0 0-.14-.18.38.38 0 0 0-.22-.11.39.39 0 0 0-.23.07.42.42 0 0 0-.14.18l-2.26 6.67H8.32L6.1 3.26a.42.42 0 0 0-.1-.18.38.38 0 0 0-.26-.08.39.39 0 0 0-.23.07.42.42 0 0 0-.14.18L2 13.29a.74.74 0 0 0 .27.83L12 21l9.69-6.88a.71.71 0 0 0 .31-.83Z",key:"148pdi"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XG=Ee("github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qG=Ee("glasses",[["circle",{cx:"6",cy:"15",r:"4",key:"vux9w4"}],["circle",{cx:"18",cy:"15",r:"4",key:"18o8ve"}],["path",{d:"M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2",key:"1ag4bs"}],["path",{d:"M2.5 13 5 7c.7-1.3 1.4-2 3-2",key:"1hm1gs"}],["path",{d:"M21.5 13 19 7c-.7-1.3-1.5-2-3-2",key:"1r31ai"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZG=Ee("glass-water",[["path",{d:"M5.116 4.104A1 1 0 0 1 6.11 3h11.78a1 1 0 0 1 .994 1.105L17.19 20.21A2 2 0 0 1 15.2 22H8.8a2 2 0 0 1-2-1.79z",key:"p55z4y"}],["path",{d:"M6 12a5 5 0 0 1 6 0 5 5 0 0 0 6 0",key:"mjntcy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QG=Ee("globe-lock",[["path",{d:"M15.686 15A14.5 14.5 0 0 1 12 22a14.5 14.5 0 0 1 0-20 10 10 0 1 0 9.542 13",key:"qkt0x6"}],["path",{d:"M2 12h8.5",key:"ovaggd"}],["path",{d:"M20 6V4a2 2 0 1 0-4 0v2",key:"1of5e8"}],["rect",{width:"8",height:"5",x:"14",y:"6",rx:"1",key:"1fmf51"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JG=Ee("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ej=Ee("goal",[["path",{d:"M12 13V2l8 4-8 4",key:"5wlwwj"}],["path",{d:"M20.561 10.222a9 9 0 1 1-12.55-5.29",key:"1c0wjv"}],["path",{d:"M8.002 9.997a5 5 0 1 0 8.9 2.02",key:"gb1g7m"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tj=Ee("gpu",[["path",{d:"M2 21V3",key:"1bzk4w"}],["path",{d:"M2 5h18a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2.26",key:"1d64pi"}],["path",{d:"M7 17v3a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-3",key:"5hbqbf"}],["circle",{cx:"16",cy:"11",r:"2",key:"qt15rb"}],["circle",{cx:"8",cy:"11",r:"2",key:"ssideg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rj=Ee("graduation-cap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nj=Ee("grape",[["path",{d:"M22 5V2l-5.89 5.89",key:"1eenpo"}],["circle",{cx:"16.6",cy:"15.89",r:"3",key:"xjtalx"}],["circle",{cx:"8.11",cy:"7.4",r:"3",key:"u2fv6i"}],["circle",{cx:"12.35",cy:"11.65",r:"3",key:"i6i8g7"}],["circle",{cx:"13.91",cy:"5.85",r:"3",key:"6ye0dv"}],["circle",{cx:"18.15",cy:"10.09",r:"3",key:"snx9no"}],["circle",{cx:"6.56",cy:"13.2",r:"3",key:"17x4xg"}],["circle",{cx:"10.8",cy:"17.44",r:"3",key:"1hogw9"}],["circle",{cx:"5",cy:"19",r:"3",key:"1sn6vo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const w3=Ee("grid-2x2-check",[["path",{d:"M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3",key:"11za1p"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const T3=Ee("grid-2x2-plus",[["path",{d:"M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3",key:"11za1p"}],["path",{d:"M16 19h6",key:"xwg31i"}],["path",{d:"M19 22v-6",key:"qhmiwi"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const A3=Ee("grid-2x2-x",[["path",{d:"M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3",key:"11za1p"}],["path",{d:"m16 16 5 5",key:"8tpb07"}],["path",{d:"m16 21 5-5",key:"193jll"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const C3=Ee("grid-2x2",[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 12h18",key:"1i2n21"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aj=Ee("grid-3x2",[["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rm=Ee("grid-3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ij=Ee("grip-horizontal",[["circle",{cx:"12",cy:"9",r:"1",key:"124mty"}],["circle",{cx:"19",cy:"9",r:"1",key:"1ruzo2"}],["circle",{cx:"5",cy:"9",r:"1",key:"1a8b28"}],["circle",{cx:"12",cy:"15",r:"1",key:"1e56xg"}],["circle",{cx:"19",cy:"15",r:"1",key:"1a92ep"}],["circle",{cx:"5",cy:"15",r:"1",key:"5r1jwy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oj=Ee("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sj=Ee("grip",[["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"19",cy:"5",r:"1",key:"w8mnmm"}],["circle",{cx:"5",cy:"5",r:"1",key:"lttvr7"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}],["circle",{cx:"19",cy:"19",r:"1",key:"shf9b7"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lj=Ee("group",[["path",{d:"M3 7V5c0-1.1.9-2 2-2h2",key:"adw53z"}],["path",{d:"M17 3h2c1.1 0 2 .9 2 2v2",key:"an4l38"}],["path",{d:"M21 17v2c0 1.1-.9 2-2 2h-2",key:"144t0e"}],["path",{d:"M7 21H5c-1.1 0-2-.9-2-2v-2",key:"rtnfgi"}],["rect",{width:"7",height:"5",x:"7",y:"7",rx:"1",key:"1eyiv7"}],["rect",{width:"7",height:"5",x:"10",y:"12",rx:"1",key:"1qlmkx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cj=Ee("guitar",[["path",{d:"m11.9 12.1 4.514-4.514",key:"109xqo"}],["path",{d:"M20.1 2.3a1 1 0 0 0-1.4 0l-1.114 1.114A2 2 0 0 0 17 4.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 17.828 7h1.344a2 2 0 0 0 1.414-.586L21.7 5.3a1 1 0 0 0 0-1.4z",key:"txyc8t"}],["path",{d:"m6 16 2 2",key:"16qmzd"}],["path",{d:"M8.23 9.85A3 3 0 0 1 11 8a5 5 0 0 1 5 5 3 3 0 0 1-1.85 2.77l-.92.38A2 2 0 0 0 12 18a4 4 0 0 1-4 4 6 6 0 0 1-6-6 4 4 0 0 1 4-4 2 2 0 0 0 1.85-1.23z",key:"1de1vg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uj=Ee("ham",[["path",{d:"M13.144 21.144A7.274 10.445 45 1 0 2.856 10.856",key:"1k1t7q"}],["path",{d:"M13.144 21.144A7.274 4.365 45 0 0 2.856 10.856a7.274 4.365 45 0 0 10.288 10.288",key:"153t1g"}],["path",{d:"M16.565 10.435 18.6 8.4a2.501 2.501 0 1 0 1.65-4.65 2.5 2.5 0 1 0-4.66 1.66l-2.024 2.025",key:"gzrt0n"}],["path",{d:"m8.5 16.5-1-1",key:"otr954"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dj=Ee("hamburger",[["path",{d:"M12 16H4a2 2 0 1 1 0-4h16a2 2 0 1 1 0 4h-4.25",key:"5dloqd"}],["path",{d:"M5 12a2 2 0 0 1-2-2 9 7 0 0 1 18 0 2 2 0 0 1-2 2",key:"1vl3my"}],["path",{d:"M5 16a2 2 0 0 0-2 2 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 2 2 0 0 0-2-2q0 0 0 0",key:"1us75o"}],["path",{d:"m6.67 12 6.13 4.6a2 2 0 0 0 2.8-.4l3.15-4.2",key:"qqzweh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fj=Ee("hammer",[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hj=Ee("hand-fist",[["path",{d:"M12.035 17.012a3 3 0 0 0-3-3l-.311-.002a.72.72 0 0 1-.505-1.229l1.195-1.195A2 2 0 0 1 10.828 11H12a2 2 0 0 0 0-4H9.243a3 3 0 0 0-2.122.879l-2.707 2.707A4.83 4.83 0 0 0 3 14a8 8 0 0 0 8 8h2a8 8 0 0 0 8-8V7a2 2 0 1 0-4 0v2a2 2 0 1 0 4 0",key:"1ff7rl"}],["path",{d:"M13.888 9.662A2 2 0 0 0 17 8V5A2 2 0 1 0 13 5",key:"1xmd21"}],["path",{d:"M9 5A2 2 0 1 0 5 5V10",key:"f3wfjw"}],["path",{d:"M9 7V4A2 2 0 1 1 13 4V7.268",key:"eaoucv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pj=Ee("hand-coins",[["path",{d:"M11 15h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 17",key:"geh8rc"}],["path",{d:"m7 21 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"1fto5m"}],["path",{d:"m2 16 6 6",key:"1pfhp9"}],["circle",{cx:"16",cy:"9",r:"2.9",key:"1n0dlu"}],["circle",{cx:"6",cy:"5",r:"3",key:"151irh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const k3=Ee("hand-grab",[["path",{d:"M18 11.5V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1.4",key:"edstyy"}],["path",{d:"M14 10V8a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"19wdwo"}],["path",{d:"M10 9.9V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v5",key:"1lugqo"}],["path",{d:"M6 14a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1hbeus"}],["path",{d:"M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-4a8 8 0 0 1-8-8 2 2 0 1 1 4 0",key:"1etffm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vj=Ee("hand-heart",[["path",{d:"M11 14h2a2 2 0 0 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16",key:"1v1a37"}],["path",{d:"m14.45 13.39 5.05-4.694C20.196 8 21 6.85 21 5.75a2.75 2.75 0 0 0-4.797-1.837.276.276 0 0 1-.406 0A2.75 2.75 0 0 0 11 5.75c0 1.2.802 2.248 1.5 2.946L16 11.95",key:"fhfbnt"}],["path",{d:"m2 15 6 6",key:"10dquu"}],["path",{d:"m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a1 1 0 0 0-2.75-2.91",key:"1x6kdw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const M3=Ee("hand-helping",[["path",{d:"M11 12h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 14",key:"1j4xps"}],["path",{d:"m7 18 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"uospg8"}],["path",{d:"m2 13 6 6",key:"16e5sb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mj=Ee("hand-platter",[["path",{d:"M12 3V2",key:"ar7q03"}],["path",{d:"m15.4 17.4 3.2-2.8a2 2 0 1 1 2.8 2.9l-3.6 3.3c-.7.8-1.7 1.2-2.8 1.2h-4c-1.1 0-2.1-.4-2.8-1.2l-1.302-1.464A1 1 0 0 0 6.151 19H5",key:"n2g93r"}],["path",{d:"M2 14h12a2 2 0 0 1 0 4h-2",key:"1o2jem"}],["path",{d:"M4 10h16",key:"img6z1"}],["path",{d:"M5 10a7 7 0 0 1 14 0",key:"1ega1o"}],["path",{d:"M5 14v6a1 1 0 0 1-1 1H2",key:"1hescx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gj=Ee("hand",[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yj=Ee("hand-metal",[["path",{d:"M18 12.5V10a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1.4",key:"wc6myp"}],["path",{d:"M14 11V9a2 2 0 1 0-4 0v2",key:"94qvcw"}],["path",{d:"M10 10.5V5a2 2 0 1 0-4 0v9",key:"m1ah89"}],["path",{d:"m7 15-1.76-1.76a2 2 0 0 0-2.83 2.82l3.6 3.6C7.5 21.14 9.2 22 12 22h2a8 8 0 0 0 8-8V7a2 2 0 1 0-4 0v5",key:"t1skq1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _j=Ee("handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xj=Ee("handbag",[["path",{d:"M2.048 18.566A2 2 0 0 0 4 21h16a2 2 0 0 0 1.952-2.434l-2-9A2 2 0 0 0 18 8H6a2 2 0 0 0-1.952 1.566z",key:"1qbui5"}],["path",{d:"M8 11V6a4 4 0 0 1 8 0v5",key:"tcht90"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bj=Ee("hard-drive-download",[["path",{d:"M12 2v8",key:"1q4o3n"}],["path",{d:"m16 6-4 4-4-4",key:"6wukr"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 18h.01",key:"h775k"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ej=Ee("hard-drive-upload",[["path",{d:"m16 6-4-4-4 4",key:"13yo43"}],["path",{d:"M12 2v8",key:"1q4o3n"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 18h.01",key:"h775k"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Sj=Ee("hard-drive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wj=Ee("hard-hat",[["path",{d:"M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5",key:"1p9q5i"}],["path",{d:"M14 6a6 6 0 0 1 6 6v3",key:"1hnv84"}],["path",{d:"M4 15v-3a6 6 0 0 1 6-6",key:"9ciidu"}],["rect",{x:"2",y:"15",width:"20",height:"4",rx:"1",key:"g3x8cw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Tj=Ee("hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Aj=Ee("hat-glasses",[["path",{d:"M14 18a2 2 0 0 0-4 0",key:"1v8fkw"}],["path",{d:"m19 11-2.11-6.657a2 2 0 0 0-2.752-1.148l-1.276.61A2 2 0 0 1 12 4H8.5a2 2 0 0 0-1.925 1.456L5 11",key:"1fkr7p"}],["path",{d:"M2 11h20",key:"3eubbj"}],["circle",{cx:"17",cy:"18",r:"3",key:"82mm0e"}],["circle",{cx:"7",cy:"18",r:"3",key:"lvkj7j"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Cj=Ee("haze",[["path",{d:"m5.2 6.2 1.4 1.4",key:"17imol"}],["path",{d:"M2 13h2",key:"13gyu8"}],["path",{d:"M20 13h2",key:"16rner"}],["path",{d:"m17.4 7.6 1.4-1.4",key:"t4xlah"}],["path",{d:"M22 17H2",key:"1gtaj3"}],["path",{d:"M22 21H2",key:"1gy6en"}],["path",{d:"M16 13a4 4 0 0 0-8 0",key:"1dyczq"}],["path",{d:"M12 5V2.5",key:"1vytko"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kj=Ee("hdmi-port",[["path",{d:"M22 9a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h1l2 2h12l2-2h1a1 1 0 0 0 1-1Z",key:"2128wb"}],["path",{d:"M7.5 12h9",key:"1t0ckc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Mj=Ee("heading-1",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"m17 12 3-2v8",key:"1hhhft"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Rj=Ee("heading-2",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Nj=Ee("heading-4",[["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17 10v3a1 1 0 0 0 1 1h3",key:"tj5zdr"}],["path",{d:"M21 10v8",key:"1kdml4"}],["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ij=Ee("heading-3",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2",key:"68ncm8"}],["path",{d:"M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2",key:"1ejuhz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Lj=Ee("heading-5",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17 13v-3h4",key:"1nvgqp"}],["path",{d:"M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17",key:"2nebdn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Oj=Ee("heading-6",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["circle",{cx:"19",cy:"16",r:"2",key:"15mx69"}],["path",{d:"M20 10c-2 2-3 3.5-3 6",key:"f35dl0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Dj=Ee("heading",[["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M6 20V4",key:"1w1bmo"}],["path",{d:"M18 20V4",key:"o2hl4u"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Pj=Ee("headphone-off",[["path",{d:"M21 14h-1.343",key:"1jdnxi"}],["path",{d:"M9.128 3.47A9 9 0 0 1 21 12v3.343",key:"6kipu2"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M20.414 20.414A2 2 0 0 1 19 21h-1a2 2 0 0 1-2-2v-3",key:"9x50f4"}],["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 2.636-6.364",key:"1bkxnm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fj=Ee("headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Bj=Ee("headset",[["path",{d:"M3 11h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Zm0 0a9 9 0 1 1 18 0m0 0v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3Z",key:"12oyoe"}],["path",{d:"M21 16v2a4 4 0 0 1-4 4h-5",key:"1x7m43"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zj=Ee("heart-crack",[["path",{d:"M12.409 5.824c-.702.792-1.15 1.496-1.415 2.166l2.153 2.156a.5.5 0 0 1 0 .707l-2.293 2.293a.5.5 0 0 0 0 .707L12 15",key:"idzbju"}],["path",{d:"M13.508 20.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.677.6.6 0 0 0 .818.001A5.5 5.5 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5z",key:"1su70f"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Uj=Ee("heart-handshake",[["path",{d:"M19.414 14.414C21 12.828 22 11.5 22 9.5a5.5 5.5 0 0 0-9.591-3.676.6.6 0 0 1-.818.001A5.5 5.5 0 0 0 2 9.5c0 2.3 1.5 4 3 5.5l5.535 5.362a2 2 0 0 0 2.879.052 2.12 2.12 0 0 0-.004-3 2.124 2.124 0 1 0 3-3 2.124 2.124 0 0 0 3.004 0 2 2 0 0 0 0-2.828l-1.881-1.882a2.41 2.41 0 0 0-3.409 0l-1.71 1.71a2 2 0 0 1-2.828 0 2 2 0 0 1 0-2.828l2.823-2.762",key:"17lmqv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $j=Ee("heart-minus",[["path",{d:"m14.876 18.99-1.368 1.323a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.244 1.572",key:"15yztm"}],["path",{d:"M15 15h6",key:"1u4692"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Hj=Ee("heart-off",[["path",{d:"M10.5 4.893a5.5 5.5 0 0 1 1.091.931.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 1.872-1.002 3.356-2.187 4.655",key:"1inpfl"}],["path",{d:"m16.967 16.967-3.459 3.346a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 2.747-4.761",key:"vbc6x7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vj=Ee("heart-plus",[["path",{d:"m14.479 19.374-.971.939a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.219 1.49",key:"wg5jx"}],["path",{d:"M15 15h6",key:"1u4692"}],["path",{d:"M18 12v6",key:"1houu1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Gj=Ee("heart-pulse",[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}],["path",{d:"M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"auskq0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QT=Ee("heart",[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jj=Ee("heater",[["path",{d:"M11 8c2-3-2-3 0-6",key:"1ldv5m"}],["path",{d:"M15.5 8c2-3-2-3 0-6",key:"1otqoz"}],["path",{d:"M6 10h.01",key:"1lbq93"}],["path",{d:"M6 14h.01",key:"zudwn7"}],["path",{d:"M10 16v-4",key:"1c25yv"}],["path",{d:"M14 16v-4",key:"1dkbt8"}],["path",{d:"M18 16v-4",key:"1yg9me"}],["path",{d:"M20 6a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3",key:"1ubg90"}],["path",{d:"M5 20v2",key:"1abpe8"}],["path",{d:"M19 20v2",key:"kqn6ft"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Yj=Ee("helicopter",[["path",{d:"M11 17v4",key:"14wq8k"}],["path",{d:"M14 3v8a2 2 0 0 0 2 2h5.865",key:"12oo5h"}],["path",{d:"M17 17v4",key:"hdt4hh"}],["path",{d:"M18 17a4 4 0 0 0 4-4 8 6 0 0 0-8-6 6 5 0 0 0-6 5v3a2 2 0 0 0 2 2z",key:"yynif"}],["path",{d:"M2 10v5",key:"sa5akn"}],["path",{d:"M6 3h16",key:"27qw71"}],["path",{d:"M7 21h14",key:"1ugz0u"}],["path",{d:"M8 13H2",key:"1thz1o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wj=Ee("hexagon",[["path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",key:"yt0hxn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kj=Ee("highlighter",[["path",{d:"m9 11-6 6v3h9l3-3",key:"1a3l36"}],["path",{d:"m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4",key:"14a9rk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Xj=Ee("history",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qj=Ee("hop-off",[["path",{d:"M10.82 16.12c1.69.6 3.91.79 5.18.85.28.01.53-.09.7-.27",key:"qyzcap"}],["path",{d:"M11.14 20.57c.52.24 2.44 1.12 4.08 1.37.46.06.86-.25.9-.71.12-1.52-.3-3.43-.5-4.28",key:"y078lb"}],["path",{d:"M16.13 21.05c1.65.63 3.68.84 4.87.91a.9.9 0 0 0 .7-.26",key:"1utre3"}],["path",{d:"M17.99 5.52a20.83 20.83 0 0 1 3.15 4.5.8.8 0 0 1-.68 1.13c-1.17.1-2.5.02-3.9-.25",key:"17o9hm"}],["path",{d:"M20.57 11.14c.24.52 1.12 2.44 1.37 4.08.04.3-.08.59-.31.75",key:"1d1n4p"}],["path",{d:"M4.93 4.93a10 10 0 0 0-.67 13.4c.35.43.96.4 1.17-.12.69-1.71 1.07-5.07 1.07-6.71 1.34.45 3.1.9 4.88.62a.85.85 0 0 0 .48-.24",key:"9uv3tt"}],["path",{d:"M5.52 17.99c1.05.95 2.91 2.42 4.5 3.15a.8.8 0 0 0 1.13-.68c.2-2.34-.33-5.3-1.57-8.28",key:"1292wz"}],["path",{d:"M8.35 2.68a10 10 0 0 1 9.98 1.58c.43.35.4.96-.12 1.17-1.5.6-4.3.98-6.07 1.05",key:"7ozu9p"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zj=Ee("hop",[["path",{d:"M10.82 16.12c1.69.6 3.91.79 5.18.85.55.03 1-.42.97-.97-.06-1.27-.26-3.5-.85-5.18",key:"18lxf1"}],["path",{d:"M11.5 6.5c1.64 0 5-.38 6.71-1.07.52-.2.55-.82.12-1.17A10 10 0 0 0 4.26 18.33c.35.43.96.4 1.17-.12.69-1.71 1.07-5.07 1.07-6.71 1.34.45 3.1.9 4.88.62a.88.88 0 0 0 .73-.74c.3-2.14-.15-3.5-.61-4.88",key:"vtfxrw"}],["path",{d:"M15.62 16.95c.2.85.62 2.76.5 4.28a.77.77 0 0 1-.9.7 16.64 16.64 0 0 1-4.08-1.36",key:"13hl71"}],["path",{d:"M16.13 21.05c1.65.63 3.68.84 4.87.91a.9.9 0 0 0 .96-.96 17.68 17.68 0 0 0-.9-4.87",key:"1sl8oj"}],["path",{d:"M16.94 15.62c.86.2 2.77.62 4.29.5a.77.77 0 0 0 .7-.9 16.64 16.64 0 0 0-1.36-4.08",key:"19c6kt"}],["path",{d:"M17.99 5.52a20.82 20.82 0 0 1 3.15 4.5.8.8 0 0 1-.68 1.13c-2.33.2-5.3-.32-8.27-1.57",key:"85ghs3"}],["path",{d:"M4.93 4.93 3 3a.7.7 0 0 1 0-1",key:"x087yj"}],["path",{d:"M9.58 12.18c1.24 2.98 1.77 5.95 1.57 8.28a.8.8 0 0 1-1.13.68 20.82 20.82 0 0 1-4.5-3.15",key:"11xdqo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qj=Ee("hospital",[["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M14 9h-4",key:"1w2s2s"}],["path",{d:"M18 11h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h2",key:"1tthqt"}],["path",{d:"M18 21V5a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16",key:"dw4p4i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jj=Ee("hotel",[["path",{d:"M10 22v-6.57",key:"1wmca3"}],["path",{d:"M12 11h.01",key:"z322tv"}],["path",{d:"M12 7h.01",key:"1ivr5q"}],["path",{d:"M14 15.43V22",key:"1q2vjd"}],["path",{d:"M15 16a5 5 0 0 0-6 0",key:"o9wqvi"}],["path",{d:"M16 11h.01",key:"xkw8gn"}],["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 7h.01",key:"1vti4s"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eY=Ee("hourglass",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tY=Ee("house-heart",[["path",{d:"M8.62 13.8A2.25 2.25 0 1 1 12 10.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z",key:"n9s7kx"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rY=Ee("house-plug",[["path",{d:"M10 12V8.964",key:"1vll13"}],["path",{d:"M14 12V8.964",key:"1x3qvg"}],["path",{d:"M15 12a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-2a1 1 0 0 1 1-1z",key:"ppykja"}],["path",{d:"M8.5 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-2",key:"365xoy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nY=Ee("house-plus",[["path",{d:"M12.35 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .71-1.53l7-6a2 2 0 0 1 2.58 0l7 6A2 2 0 0 1 21 10v2.35",key:"8ek5ge"}],["path",{d:"M14.8 12.4A1 1 0 0 0 14 12h-4a1 1 0 0 0-1 1v8",key:"1rbg29"}],["path",{d:"M15 18h6",key:"3b3c90"}],["path",{d:"M18 15v6",key:"9wciyi"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aY=Ee("house-wifi",[["path",{d:"M9.5 13.866a4 4 0 0 1 5 .01",key:"1wy54i"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}],["path",{d:"M7 10.754a8 8 0 0 1 10 0",key:"exoy2g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const R3=Ee("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const N3=Ee("ice-cream-bowl",[["path",{d:"M12 17c5 0 8-2.69 8-6H4c0 3.31 3 6 8 6m-4 4h8m-4-3v3M5.14 11a3.5 3.5 0 1 1 6.71 0",key:"1uxfcu"}],["path",{d:"M12.14 11a3.5 3.5 0 1 1 6.71 0",key:"4k3m1s"}],["path",{d:"M15.5 6.5a3.5 3.5 0 1 0-7 0",key:"zmuahr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const I3=Ee("ice-cream-cone",[["path",{d:"m7 11 4.08 10.35a1 1 0 0 0 1.84 0L17 11",key:"1v6356"}],["path",{d:"M17 7A5 5 0 0 0 7 7",key:"151p3v"}],["path",{d:"M17 7a2 2 0 0 1 0 4H7a2 2 0 0 1 0-4",key:"1sdaij"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iY=Ee("id-card-lanyard",[["path",{d:"M13.5 8h-3",key:"xvov4w"}],["path",{d:"m15 2-1 2h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h3",key:"16uttc"}],["path",{d:"M16.899 22A5 5 0 0 0 7.1 22",key:"1d0ppr"}],["path",{d:"m9 2 3 6",key:"1o7bd9"}],["circle",{cx:"12",cy:"15",r:"3",key:"g36mzq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oY=Ee("id-card",[["path",{d:"M16 10h2",key:"8sgtl7"}],["path",{d:"M16 14h2",key:"epxaof"}],["path",{d:"M6.17 15a3 3 0 0 1 5.66 0",key:"n6f512"}],["circle",{cx:"9",cy:"11",r:"2",key:"yxgjnd"}],["rect",{x:"2",y:"5",width:"20",height:"14",rx:"2",key:"qneu4z"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sY=Ee("image-down",[["path",{d:"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21",key:"9csbqa"}],["path",{d:"m14 19 3 3v-5.5",key:"9ldu5r"}],["path",{d:"m17 22 3-3",key:"1nkfve"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lY=Ee("image-minus",[["path",{d:"M21 9v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7",key:"m87ecr"}],["line",{x1:"16",x2:"22",y1:"5",y2:"5",key:"ez7e4s"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cY=Ee("image-off",[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["path",{d:"M10.41 10.41a2 2 0 1 1-2.83-2.83",key:"1bzlo9"}],["line",{x1:"13.5",x2:"6",y1:"13.5",y2:"21",key:"1q0aeu"}],["line",{x1:"18",x2:"21",y1:"12",y2:"15",key:"5mozeu"}],["path",{d:"M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59",key:"mmje98"}],["path",{d:"M21 15V5a2 2 0 0 0-2-2H9",key:"43el77"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uY=Ee("image-play",[["path",{d:"M15 15.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-1.517-.86z",key:"nrt1m3"}],["path",{d:"M21 12.17V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6",key:"99hgts"}],["path",{d:"m6 21 5-5",key:"1wyjai"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dY=Ee("image-plus",[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fY=Ee("image-up",[["path",{d:"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21",key:"9csbqa"}],["path",{d:"m14 19.5 3-3 3 3",key:"9vmjn0"}],["path",{d:"M17 22v-5.5",key:"1aa6fl"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hY=Ee("image-upscale",[["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M17 21h2a2 2 0 0 0 2-2",key:"130fy9"}],["path",{d:"M21 12v3",key:"1wzk3p"}],["path",{d:"m21 3-5 5",key:"1g5oa7"}],["path",{d:"M3 7V5a2 2 0 0 1 2-2",key:"kk3yz1"}],["path",{d:"m5 21 4.144-4.144a1.21 1.21 0 0 1 1.712 0L13 19",key:"fyekpt"}],["path",{d:"M9 3h3",key:"d52fa"}],["rect",{x:"3",y:"11",width:"10",height:"10",rx:"1",key:"1wpmix"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pY=Ee("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vY=Ee("images",[["path",{d:"m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16",key:"9kzy35"}],["path",{d:"M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2",key:"1t0f0t"}],["circle",{cx:"13",cy:"7",r:"1",fill:"currentColor",key:"1obus6"}],["rect",{x:"8",y:"2",width:"14",height:"14",rx:"2",key:"1gvhby"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mY=Ee("import",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m8 11 4 4 4-4",key:"1dohi6"}],["path",{d:"M8 5H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-4",key:"1ywtjm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gY=Ee("inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yY=Ee("indian-rupee",[["path",{d:"M6 3h12",key:"ggurg9"}],["path",{d:"M6 8h12",key:"6g4wlu"}],["path",{d:"m6 13 8.5 8",key:"u1kupk"}],["path",{d:"M6 13h3",key:"wdp6ag"}],["path",{d:"M9 13c6.667 0 6.667-10 0-10",key:"1nkvk2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _Y=Ee("infinity",[["path",{d:"M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8",key:"18ogeb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const L3=Ee("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xY=Ee("inspection-panel",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 7h.01",key:"7u93v4"}],["path",{d:"M17 7h.01",key:"14a9sn"}],["path",{d:"M7 17h.01",key:"19xn7k"}],["path",{d:"M17 17h.01",key:"1sd3ek"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bY=Ee("instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EY=Ee("italic",[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SY=Ee("iteration-ccw",[["path",{d:"m16 14 4 4-4 4",key:"hkso8o"}],["path",{d:"M20 10a8 8 0 1 0-8 8h8",key:"1bik7b"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wY=Ee("iteration-cw",[["path",{d:"M4 10a8 8 0 1 1 8 8H4",key:"svv66n"}],["path",{d:"m8 22-4-4 4-4",key:"6g7gki"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TY=Ee("japanese-yen",[["path",{d:"M12 9.5V21m0-11.5L6 3m6 6.5L18 3",key:"2ej80x"}],["path",{d:"M6 15h12",key:"1hwgt5"}],["path",{d:"M6 11h12",key:"wf4gp6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AY=Ee("joystick",[["path",{d:"M21 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-2Z",key:"jg2n2t"}],["path",{d:"M6 15v-2",key:"gd6mvg"}],["path",{d:"M12 15V9",key:"8c7uyn"}],["circle",{cx:"12",cy:"6",r:"3",key:"1gm2ql"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CY=Ee("kanban",[["path",{d:"M5 3v14",key:"9nsxs2"}],["path",{d:"M12 3v8",key:"1h2ygw"}],["path",{d:"M19 3v18",key:"1sk56x"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kY=Ee("kayak",[["path",{d:"M18 17a1 1 0 0 0-1 1v1a2 2 0 1 0 2-2z",key:"skzb1g"}],["path",{d:"M20.97 3.61a.45.45 0 0 0-.58-.58C10.2 6.6 6.6 10.2 3.03 20.39a.45.45 0 0 0 .58.58C13.8 17.4 17.4 13.8 20.97 3.61",key:"cv9jm7"}],["path",{d:"m6.707 6.707 10.586 10.586",key:"d2l993"}],["path",{d:"M7 5a2 2 0 1 0-2 2h1a1 1 0 0 0 1-1z",key:"i0et4n"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MY=Ee("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RY=Ee("key-square",[["path",{d:"M12.4 2.7a2.5 2.5 0 0 1 3.4 0l5.5 5.5a2.5 2.5 0 0 1 0 3.4l-3.7 3.7a2.5 2.5 0 0 1-3.4 0L8.7 9.8a2.5 2.5 0 0 1 0-3.4z",key:"165ttr"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"m9.4 10.6-6.814 6.814A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814",key:"1ubxi2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NY=Ee("key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IY=Ee("keyboard-music",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M6 8h4",key:"utf9t1"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M6 12v4",key:"dy92yo"}],["path",{d:"M10 12v4",key:"1fxnav"}],["path",{d:"M14 12v4",key:"1hft58"}],["path",{d:"M18 12v4",key:"tjjnbz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LY=Ee("keyboard-off",[["path",{d:"M 20 4 A2 2 0 0 1 22 6",key:"1g1fkt"}],["path",{d:"M 22 6 L 22 16.41",key:"1qjg3w"}],["path",{d:"M 7 16 L 16 16",key:"n0yqwb"}],["path",{d:"M 9.69 4 L 20 4",key:"kbpcgx"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M20 20H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2",key:"s23sx2"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M8 12h.01",key:"czm47f"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OY=Ee("keyboard",[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DY=Ee("lamp-ceiling",[["path",{d:"M12 2v5",key:"nd4vlx"}],["path",{d:"M14.829 15.998a3 3 0 1 1-5.658 0",key:"1pybiy"}],["path",{d:"M20.92 14.606A1 1 0 0 1 20 16H4a1 1 0 0 1-.92-1.394l3-7A1 1 0 0 1 7 7h10a1 1 0 0 1 .92.606z",key:"ma1wor"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PY=Ee("lamp-desk",[["path",{d:"M10.293 2.293a1 1 0 0 1 1.414 0l2.5 2.5 5.994 1.227a1 1 0 0 1 .506 1.687l-7 7a1 1 0 0 1-1.687-.506l-1.227-5.994-2.5-2.5a1 1 0 0 1 0-1.414z",key:"sb8slu"}],["path",{d:"m14.207 4.793-3.414 3.414",key:"m2x3oj"}],["path",{d:"M3 20a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z",key:"8b3myj"}],["path",{d:"m9.086 6.5-4.793 4.793a1 1 0 0 0-.18 1.17L7 18",key:"43s6cu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FY=Ee("lamp-floor",[["path",{d:"M12 10v12",key:"6ubwww"}],["path",{d:"M17.929 7.629A1 1 0 0 1 17 9H7a1 1 0 0 1-.928-1.371l2-5A1 1 0 0 1 9 2h6a1 1 0 0 1 .928.629z",key:"1o95gh"}],["path",{d:"M9 22h6",key:"1rlq3v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BY=Ee("lamp-wall-down",[["path",{d:"M19.929 18.629A1 1 0 0 1 19 20H9a1 1 0 0 1-.928-1.371l2-5A1 1 0 0 1 11 13h6a1 1 0 0 1 .928.629z",key:"u4w2d7"}],["path",{d:"M6 3a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z",key:"15356w"}],["path",{d:"M8 6h4a2 2 0 0 1 2 2v5",key:"1m6m7x"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zY=Ee("lamp-wall-up",[["path",{d:"M19.929 9.629A1 1 0 0 1 19 11H9a1 1 0 0 1-.928-1.371l2-5A1 1 0 0 1 11 4h6a1 1 0 0 1 .928.629z",key:"1uvrbf"}],["path",{d:"M6 15a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z",key:"154r2a"}],["path",{d:"M8 18h4a2 2 0 0 0 2-2v-5",key:"z9mbu0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UY=Ee("lamp",[["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M4.077 10.615A1 1 0 0 0 5 12h14a1 1 0 0 0 .923-1.385l-3.077-7.384A2 2 0 0 0 15 2H9a2 2 0 0 0-1.846 1.23Z",key:"1l7kg2"}],["path",{d:"M8 20a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1z",key:"1mmzpi"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $Y=Ee("land-plot",[["path",{d:"m12 8 6-3-6-3v10",key:"mvpnpy"}],["path",{d:"m8 11.99-5.5 3.14a1 1 0 0 0 0 1.74l8.5 4.86a2 2 0 0 0 2 0l8.5-4.86a1 1 0 0 0 0-1.74L16 12",key:"ek95tt"}],["path",{d:"m6.49 12.85 11.02 6.3",key:"1kt42w"}],["path",{d:"M17.51 12.85 6.5 19.15",key:"v55bdg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HY=Ee("landmark",[["path",{d:"M10 18v-7",key:"wt116b"}],["path",{d:"M11.12 2.198a2 2 0 0 1 1.76.006l7.866 3.847c.476.233.31.949-.22.949H3.474c-.53 0-.695-.716-.22-.949z",key:"1m329m"}],["path",{d:"M14 18v-7",key:"vav6t3"}],["path",{d:"M18 18v-7",key:"aexdmj"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M6 18v-7",key:"1ivflk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VY=Ee("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GY=Ee("laptop-minimal-check",[["path",{d:"M2 20h20",key:"owomy5"}],["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}],["rect",{x:"3",y:"4",width:"18",height:"12",rx:"2",key:"8ur36m"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const O3=Ee("laptop-minimal",[["rect",{width:"18",height:"12",x:"3",y:"4",rx:"2",ry:"2",key:"1qhy41"}],["line",{x1:"2",x2:"22",y1:"20",y2:"20",key:"ni3hll"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jY=Ee("laptop",[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YY=Ee("lasso-select",[["path",{d:"M7 22a5 5 0 0 1-2-4",key:"umushi"}],["path",{d:"M7 16.93c.96.43 1.96.74 2.99.91",key:"ybbtv3"}],["path",{d:"M3.34 14A6.8 6.8 0 0 1 2 10c0-4.42 4.48-8 10-8s10 3.58 10 8a7.19 7.19 0 0 1-.33 2",key:"gt5e1w"}],["path",{d:"M5 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z",key:"bq3ynw"}],["path",{d:"M14.33 22h-.09a.35.35 0 0 1-.24-.32v-10a.34.34 0 0 1 .33-.34c.08 0 .15.03.21.08l7.34 6a.33.33 0 0 1-.21.59h-4.49l-2.57 3.85a.35.35 0 0 1-.28.14z",key:"72q637"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WY=Ee("lasso",[["path",{d:"M3.704 14.467A10 8 0 0 1 2 10a10 8 0 0 1 20 0 10 8 0 0 1-10 8 10 8 0 0 1-5.181-1.158",key:"1yant3"}],["path",{d:"M7 22a5 5 0 0 1-2-3.994",key:"1xp6a4"}],["circle",{cx:"5",cy:"16",r:"2",key:"18csp3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KY=Ee("laugh",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M18 13a6 6 0 0 1-6 5 6 6 0 0 1-6-5h12Z",key:"b2q4dd"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XY=Ee("layers-2",[["path",{d:"M13 13.74a2 2 0 0 1-2 0L2.5 8.87a1 1 0 0 1 0-1.74L11 2.26a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74z",key:"15q6uc"}],["path",{d:"m20 14.285 1.5.845a1 1 0 0 1 0 1.74L13 21.74a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l1.5-.845",key:"byia6g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const D3=Ee("layers",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qY=Ee("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZY=Ee("layout-grid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QY=Ee("layout-list",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}],["path",{d:"M14 4h7",key:"3xa0d5"}],["path",{d:"M14 9h7",key:"1icrd9"}],["path",{d:"M14 15h7",key:"1mj8o2"}],["path",{d:"M14 20h7",key:"11slyb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JY=Ee("layout-panel-left",[["rect",{width:"7",height:"18",x:"3",y:"3",rx:"1",key:"2obqm"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eW=Ee("layout-panel-top",[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tW=Ee("layout-template",[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"9",height:"7",x:"3",y:"14",rx:"1",key:"jqznyg"}],["rect",{width:"5",height:"7",x:"16",y:"14",rx:"1",key:"q5h2i8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rW=Ee("leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nW=Ee("leafy-green",[["path",{d:"M2 22c1.25-.987 2.27-1.975 3.9-2.2a5.56 5.56 0 0 1 3.8 1.5 4 4 0 0 0 6.187-2.353 3.5 3.5 0 0 0 3.69-5.116A3.5 3.5 0 0 0 20.95 8 3.5 3.5 0 1 0 16 3.05a3.5 3.5 0 0 0-5.831 1.373 3.5 3.5 0 0 0-5.116 3.69 4 4 0 0 0-2.348 6.155C3.499 15.42 4.409 16.712 4.2 18.1 3.926 19.743 3.014 20.732 2 22",key:"1134nt"}],["path",{d:"M2 22 17 7",key:"1q7jp2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aW=Ee("lectern",[["path",{d:"M16 12h3a2 2 0 0 0 1.902-1.38l1.056-3.333A1 1 0 0 0 21 6H3a1 1 0 0 0-.958 1.287l1.056 3.334A2 2 0 0 0 5 12h3",key:"13jjxg"}],["path",{d:"M18 6V3a1 1 0 0 0-1-1h-3",key:"1550fe"}],["rect",{width:"8",height:"12",x:"8",y:"10",rx:"1",key:"qmu8b6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iW=Ee("library-big",[["rect",{width:"8",height:"18",x:"3",y:"3",rx:"1",key:"oynpb5"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M20.4 18.9c.2.5-.1 1.1-.6 1.3l-1.9.7c-.5.2-1.1-.1-1.3-.6L11.1 5.1c-.2-.5.1-1.1.6-1.3l1.9-.7c.5-.2 1.1.1 1.3.6Z",key:"1qboyk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oW=Ee("library",[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sW=Ee("life-buoy",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lW=Ee("ligature",[["path",{d:"M14 12h2v8",key:"c1fccl"}],["path",{d:"M14 20h4",key:"lzx1xo"}],["path",{d:"M6 12h4",key:"a4o3ry"}],["path",{d:"M6 20h4",key:"1i6q5t"}],["path",{d:"M8 20V8a4 4 0 0 1 7.464-2",key:"wk9t6r"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JT=Ee("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cW=Ee("lightbulb-off",[["path",{d:"M16.8 11.2c.8-.9 1.2-2 1.2-3.2a6 6 0 0 0-9.3-5",key:"1fkcox"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M6.3 6.3a4.67 4.67 0 0 0 1.2 5.2c.7.7 1.3 1.5 1.5 2.5",key:"10m8kw"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uW=Ee("line-squiggle",[["path",{d:"M7 3.5c5-2 7 2.5 3 4C1.5 10 2 15 5 16c5 2 9-10 14-7s.5 13.5-4 12c-5-2.5.5-11 6-2",key:"1lrphd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dW=Ee("link-2-off",[["path",{d:"M9 17H7A5 5 0 0 1 7 7",key:"10o201"}],["path",{d:"M15 7h2a5 5 0 0 1 4 8",key:"1d3206"}],["line",{x1:"8",x2:"12",y1:"12",y2:"12",key:"rvw6j4"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fW=Ee("link-2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const e5=Ee("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hW=Ee("linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pW=Ee("list-checks",[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vW=Ee("list-check",[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M16 12H3",key:"1a2rj7"}],["path",{d:"M11 19H3",key:"zflm78"}],["path",{d:"m15 18 2 2 4-4",key:"1szwhi"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mW=Ee("list-chevrons-up-down",[["path",{d:"M3 5h8",key:"18g2rq"}],["path",{d:"M3 12h8",key:"1xfjp6"}],["path",{d:"M3 19h8",key:"fpbke4"}],["path",{d:"m15 8 3-3 3 3",key:"bc4io6"}],["path",{d:"m15 16 3 3 3-3",key:"9wmg1l"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gW=Ee("list-chevrons-down-up",[["path",{d:"M3 5h8",key:"18g2rq"}],["path",{d:"M3 12h8",key:"1xfjp6"}],["path",{d:"M3 19h8",key:"fpbke4"}],["path",{d:"m15 5 3 3 3-3",key:"1t4thf"}],["path",{d:"m15 19 3-3 3 3",key:"y4ckd2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yW=Ee("list-collapse",[["path",{d:"M10 5h11",key:"1hkqpe"}],["path",{d:"M10 12h11",key:"6m4ad9"}],["path",{d:"M10 19h11",key:"14g2nv"}],["path",{d:"m3 10 3-3-3-3",key:"i7pm08"}],["path",{d:"m3 20 3-3-3-3",key:"20gx1n"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _W=Ee("list-end",[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M16 12H3",key:"1a2rj7"}],["path",{d:"M9 19H3",key:"s61nz1"}],["path",{d:"m16 16-3 3 3 3",key:"117b85"}],["path",{d:"M21 5v12a2 2 0 0 1-2 2h-6",key:"hey24a"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xW=Ee("list-filter-plus",[["path",{d:"M12 5H2",key:"1o22fu"}],["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M9 19h6",key:"456am0"}],["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 8V2",key:"1wcffq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bW=Ee("list-filter",[["path",{d:"M2 5h20",key:"1fs1ex"}],["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M9 19h6",key:"456am0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nm=Ee("list-indent-decrease",[["path",{d:"M21 5H11",key:"us1j55"}],["path",{d:"M21 12H11",key:"wd7e0v"}],["path",{d:"M21 19H11",key:"saa85w"}],["path",{d:"m7 8-4 4 4 4",key:"o5hrat"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const am=Ee("list-indent-increase",[["path",{d:"M21 5H11",key:"us1j55"}],["path",{d:"M21 12H11",key:"wd7e0v"}],["path",{d:"M21 19H11",key:"saa85w"}],["path",{d:"m3 8 4 4-4 4",key:"1a3j6y"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EW=Ee("list-music",[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M11 19H3",key:"zflm78"}],["path",{d:"M21 16V5",key:"yxg4q8"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SW=Ee("list-minus",[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 19H3",key:"zzsher"}],["path",{d:"M21 12h-6",key:"bt1uis"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wW=Ee("list-ordered",[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TW=Ee("list-plus",[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 19H3",key:"zzsher"}],["path",{d:"M18 9v6",key:"1twb98"}],["path",{d:"M21 12h-6",key:"bt1uis"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AW=Ee("list-restart",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M7 12H3",key:"13ou7f"}],["path",{d:"M7 19H3",key:"wbqt3n"}],["path",{d:"M12 18a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L11 14",key:"qth677"}],["path",{d:"M11 10v4h4",key:"172dkj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CW=Ee("list-start",[["path",{d:"M3 5h6",key:"1ltk0q"}],["path",{d:"M3 12h13",key:"ppymz1"}],["path",{d:"M3 19h13",key:"bpdczq"}],["path",{d:"m16 8-3-3 3-3",key:"1pjpp6"}],["path",{d:"M21 19V7a2 2 0 0 0-2-2h-6",key:"4zzq67"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kW=Ee("list-todo",[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["rect",{x:"3",y:"4",width:"6",height:"6",rx:"1",key:"cif1o7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MW=Ee("list-tree",[["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"M3 10a2 2 0 0 0 2 2h3",key:"1npucw"}],["path",{d:"M3 5v12a2 2 0 0 0 2 2h3",key:"x1gjn2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RW=Ee("list-video",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M10 12H3",key:"1ulcyk"}],["path",{d:"M10 19H3",key:"108z41"}],["path",{d:"M15 12.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-1.517-.86z",key:"ms4nik"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NW=Ee("list-x",[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 19H3",key:"zzsher"}],["path",{d:"m15.5 9.5 5 5",key:"ytk86i"}],["path",{d:"m20.5 9.5-5 5",key:"17o44f"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IW=Ee("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const P3=Ee("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LW=Ee("loader-pinwheel",[["path",{d:"M22 12a1 1 0 0 1-10 0 1 1 0 0 0-10 0",key:"1lzz15"}],["path",{d:"M7 20.7a1 1 0 1 1 5-8.7 1 1 0 1 0 5-8.6",key:"1gnrpi"}],["path",{d:"M7 3.3a1 1 0 1 1 5 8.6 1 1 0 1 0 5 8.6",key:"u9yy5q"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Hk=Ee("loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OW=Ee("locate-fixed",[["line",{x1:"2",x2:"5",y1:"12",y2:"12",key:"bvdh0s"}],["line",{x1:"19",x2:"22",y1:"12",y2:"12",key:"1tbv5k"}],["line",{x1:"12",x2:"12",y1:"2",y2:"5",key:"11lu5j"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}],["circle",{cx:"12",cy:"12",r:"7",key:"fim9np"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DW=Ee("locate",[["line",{x1:"2",x2:"5",y1:"12",y2:"12",key:"bvdh0s"}],["line",{x1:"19",x2:"22",y1:"12",y2:"12",key:"1tbv5k"}],["line",{x1:"12",x2:"12",y1:"2",y2:"5",key:"11lu5j"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}],["circle",{cx:"12",cy:"12",r:"7",key:"fim9np"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PW=Ee("locate-off",[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M12 2v3",key:"qbqxhf"}],["path",{d:"M18.89 13.24a7 7 0 0 0-8.13-8.13",key:"1v9jrh"}],["path",{d:"M19 12h3",key:"osuazr"}],["path",{d:"M2 12h3",key:"1wrr53"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M7.05 7.05a7 7 0 0 0 9.9 9.9",key:"rc5l2e"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const F3=Ee("lock-keyhole-open",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{width:"18",height:"12",x:"3",y:"10",rx:"2",key:"l0tzu3"}],["path",{d:"M7 10V7a5 5 0 0 1 9.33-2.5",key:"car5b7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const B3=Ee("lock-open",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FW=Ee("lock-keyhole",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BW=Ee("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zW=Ee("log-in",[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UW=Ee("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $W=Ee("logs",[["path",{d:"M3 5h1",key:"1mv5vm"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M3 19h1",key:"w6f3n9"}],["path",{d:"M8 5h1",key:"1nxr5w"}],["path",{d:"M8 12h1",key:"1con00"}],["path",{d:"M8 19h1",key:"k7p10e"}],["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HW=Ee("lollipop",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}],["path",{d:"M11 11a2 2 0 0 0 4 0 4 4 0 0 0-8 0 6 6 0 0 0 12 0",key:"107gwy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VW=Ee("luggage",[["path",{d:"M6 20a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2",key:"1m57jg"}],["path",{d:"M8 18V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v14",key:"1l99gc"}],["path",{d:"M10 20h4",key:"ni2waw"}],["circle",{cx:"16",cy:"20",r:"2",key:"1vifvg"}],["circle",{cx:"8",cy:"20",r:"2",key:"ckkr5m"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GW=Ee("magnet",[["path",{d:"m12 15 4 4",key:"lnac28"}],["path",{d:"M2.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.029-6.029a1 1 0 1 1 3 3l-6.029 6.029a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.365-6.367A1 1 0 0 0 8.716 4.282z",key:"nlhkjb"}],["path",{d:"m5 8 4 4",key:"j6kj7e"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jW=Ee("mail-check",[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YW=Ee("mail-minus",[["path",{d:"M22 15V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"fuxbkv"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M16 19h6",key:"xwg31i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WW=Ee("mail-open",[["path",{d:"M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z",key:"1jhwl8"}],["path",{d:"m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10",key:"1qfld7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KW=Ee("mail-plus",[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M19 16v6",key:"tddt3s"}],["path",{d:"M16 19h6",key:"xwg31i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const z3=Ee("mail-question-mark",[["path",{d:"M22 10.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12.5",key:"e61zoh"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M18 15.28c.2-.4.5-.8.9-1a2.1 2.1 0 0 1 2.6.4c.3.4.5.8.5 1.3 0 1.3-2 2-2 2",key:"7z9rxb"}],["path",{d:"M20 22v.01",key:"12bgn6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XW=Ee("mail-search",[["path",{d:"M22 12.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h7.5",key:"w80f2v"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M18 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",key:"8lzu5m"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["path",{d:"m22 22-1.5-1.5",key:"1x83k4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qW=Ee("mail-warning",[["path",{d:"M22 10.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12.5",key:"e61zoh"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M20 14v4",key:"1hm744"}],["path",{d:"M20 22v.01",key:"12bgn6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZW=Ee("mail-x",[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h9",key:"1j9vog"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m17 17 4 4",key:"1b3523"}],["path",{d:"m21 17-4 4",key:"uinynz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QW=Ee("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JW=Ee("mailbox",[["path",{d:"M22 17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.5C2 7 4 5 6.5 5H18c2.2 0 4 1.8 4 4v8Z",key:"1lbycx"}],["polyline",{points:"15,9 18,9 18,11",key:"1pm9c0"}],["path",{d:"M6.5 5C9 5 11 7 11 9.5V17a2 2 0 0 1-2 2",key:"15i455"}],["line",{x1:"6",x2:"7",y1:"10",y2:"10",key:"1e2scm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eK=Ee("mails",[["path",{d:"M17 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 1-1.732",key:"1vyzll"}],["path",{d:"m22 5.5-6.419 4.179a2 2 0 0 1-2.162 0L7 5.5",key:"k7ramc"}],["rect",{x:"7",y:"3",width:"15",height:"12",rx:"2",key:"17196g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tK=Ee("map-minus",[["path",{d:"m11 19-1.106-.552a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0l4.212 2.106a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619V14",key:"40pylx"}],["path",{d:"M15 5.764V14",key:"1bab71"}],["path",{d:"M21 18h-6",key:"139f0c"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rK=Ee("map-pin-check-inside",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nK=Ee("map-pin-check",[["path",{d:"M19.43 12.935c.357-.967.57-1.955.57-2.935a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32.197 32.197 0 0 0 .813-.728",key:"1dq61d"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"m16 18 2 2 4-4",key:"1mkfmb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aK=Ee("map-pin-house",[["path",{d:"M15 22a1 1 0 0 1-1-1v-4a1 1 0 0 1 .445-.832l3-2a1 1 0 0 1 1.11 0l3 2A1 1 0 0 1 22 17v4a1 1 0 0 1-1 1z",key:"1p1rcz"}],["path",{d:"M18 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 .601.2",key:"mcbcs9"}],["path",{d:"M18 22v-3",key:"1t1ugv"}],["circle",{cx:"10",cy:"10",r:"3",key:"1ns7v1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iK=Ee("map-pin-minus-inside",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["path",{d:"M9 10h6",key:"9gxzsh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oK=Ee("map-pin-minus",[["path",{d:"M18.977 14C19.6 12.701 20 11.343 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32 32 0 0 0 .824-.738",key:"11uxia"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M16 18h6",key:"987eiv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sK=Ee("map-pin-off",[["path",{d:"M12.75 7.09a3 3 0 0 1 2.16 2.16",key:"1d4wjd"}],["path",{d:"M17.072 17.072c-1.634 2.17-3.527 3.912-4.471 4.727a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 1.432-4.568",key:"12yil7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.475 2.818A8 8 0 0 1 20 10c0 1.183-.31 2.377-.81 3.533",key:"lhrkcz"}],["path",{d:"M9.13 9.13a3 3 0 0 0 3.74 3.74",key:"13wojd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const U3=Ee("map-pin-pen",[["path",{d:"M17.97 9.304A8 8 0 0 0 2 10c0 4.69 4.887 9.562 7.022 11.468",key:"1fahp3"}],["path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1817ys"}],["circle",{cx:"10",cy:"10",r:"3",key:"1ns7v1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lK=Ee("map-pin-plus",[["path",{d:"M19.914 11.105A7.298 7.298 0 0 0 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32 32 0 0 0 .824-.738",key:"fcdtly"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M16 18h6",key:"987eiv"}],["path",{d:"M19 15v6",key:"10aioa"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cK=Ee("map-pin-plus-inside",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M9 10h6",key:"9gxzsh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uK=Ee("map-pin-x-inside",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["path",{d:"m14.5 7.5-5 5",key:"3lb6iw"}],["path",{d:"m9.5 7.5 5 5",key:"ko136h"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dK=Ee("map-pin-x",[["path",{d:"M19.752 11.901A7.78 7.78 0 0 0 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 19 19 0 0 0 .09-.077",key:"y0ewhp"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"m21.5 15.5-5 5",key:"11iqnx"}],["path",{d:"m21.5 20.5-5-5",key:"1bylgx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fK=Ee("map-plus",[["path",{d:"m11 19-1.106-.552a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0l4.212 2.106a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619V12",key:"svfegj"}],["path",{d:"M15 5.764V12",key:"1ocw4k"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hK=Ee("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pK=Ee("map-pinned",[["path",{d:"M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0",key:"11u0oz"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["path",{d:"M8.714 14h-3.71a1 1 0 0 0-.948.683l-2.004 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .948-1.316l-2-6a1 1 0 0 0-.949-.684h-3.712",key:"q8zwxj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vK=Ee("map",[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mK=Ee("mars-stroke",[["path",{d:"m14 6 4 4",key:"1q72g9"}],["path",{d:"M17 3h4v4",key:"19p9u1"}],["path",{d:"m21 3-7.75 7.75",key:"1cjbfd"}],["circle",{cx:"9",cy:"15",r:"6",key:"bx5svt"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gK=Ee("mars",[["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"m21 3-6.75 6.75",key:"pv0uzu"}],["circle",{cx:"10",cy:"14",r:"6",key:"1qwbdc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yK=Ee("martini",[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M12 11v11",key:"ur9y6a"}],["path",{d:"m19 3-7 8-7-8Z",key:"1sgpiw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _K=Ee("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xK=Ee("maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bK=Ee("medal",[["path",{d:"M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15",key:"143lza"}],["path",{d:"M11 12 5.12 2.2",key:"qhuxz6"}],["path",{d:"m13 12 5.88-9.8",key:"hbye0f"}],["path",{d:"M8 7h8",key:"i86dvs"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}],["path",{d:"M12 18v-2h-.5",key:"fawc4q"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EK=Ee("megaphone-off",[["path",{d:"M11.636 6A13 13 0 0 0 19.4 3.2 1 1 0 0 1 21 4v11.344",key:"bycexp"}],["path",{d:"M14.378 14.357A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h1",key:"1t17s6"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14",key:"1853fq"}],["path",{d:"M8 8v6",key:"aieo6v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SK=Ee("megaphone",[["path",{d:"M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z",key:"q8bfy3"}],["path",{d:"M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14",key:"1853fq"}],["path",{d:"M8 6v8",key:"15ugcq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wK=Ee("meh",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"8",x2:"16",y1:"15",y2:"15",key:"1xb1d9"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TK=Ee("memory-stick",[["path",{d:"M6 19v-3",key:"1nvgqn"}],["path",{d:"M10 19v-3",key:"iu8nkm"}],["path",{d:"M14 19v-3",key:"kcehxu"}],["path",{d:"M18 19v-3",key:"1vh91z"}],["path",{d:"M8 11V9",key:"63erz4"}],["path",{d:"M16 11V9",key:"fru6f3"}],["path",{d:"M12 11V9",key:"ha00sb"}],["path",{d:"M2 15h20",key:"16ne18"}],["path",{d:"M2 7a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1.1a2 2 0 0 0 0 3.837V17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-5.1a2 2 0 0 0 0-3.837Z",key:"lhddv3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AK=Ee("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CK=Ee("merge",[["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}],["path",{d:"M12 2v10.3a4 4 0 0 1-1.172 2.872L4 22",key:"1hyw0i"}],["path",{d:"m20 22-5-5",key:"1m27yz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kK=Ee("message-circle-code",[["path",{d:"m10 9-3 3 3 3",key:"1oro0q"}],["path",{d:"m14 15 3-3-3-3",key:"bz13h7"}],["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MK=Ee("message-circle-dashed",[["path",{d:"M10.1 2.182a10 10 0 0 1 3.8 0",key:"5ilxe3"}],["path",{d:"M13.9 21.818a10 10 0 0 1-3.8 0",key:"11zvb9"}],["path",{d:"M17.609 3.72a10 10 0 0 1 2.69 2.7",key:"jiglxs"}],["path",{d:"M2.182 13.9a10 10 0 0 1 0-3.8",key:"c0bmvh"}],["path",{d:"M20.28 17.61a10 10 0 0 1-2.7 2.69",key:"elg7ff"}],["path",{d:"M21.818 10.1a10 10 0 0 1 0 3.8",key:"qkgqxc"}],["path",{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69",key:"1mcia2"}],["path",{d:"m6.163 21.117-2.906.85a1 1 0 0 1-1.236-1.169l.965-2.98",key:"1qsu07"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RK=Ee("message-circle-heart",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M7.828 13.07A3 3 0 0 1 12 8.764a3 3 0 0 1 5.004 2.224 3 3 0 0 1-.832 2.083l-3.447 3.62a1 1 0 0 1-1.45-.001z",key:"hoo97p"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NK=Ee("message-circle-more",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IK=Ee("message-circle-off",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M4.93 4.929a10 10 0 0 0-1.938 11.412 2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 0 0 11.302-1.989",key:"7il5tn"}],["path",{d:"M8.35 2.69A10 10 0 0 1 21.3 15.65",key:"1pfsoa"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LK=Ee("message-circle-plus",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $3=Ee("message-circle-question-mark",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OK=Ee("message-circle-reply",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"m10 15-3-3 3-3",key:"1pgupc"}],["path",{d:"M7 12h8a2 2 0 0 1 2 2v1",key:"89sh1g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DK=Ee("message-circle-warning",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PK=Ee("message-circle-x",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vk=Ee("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FK=Ee("message-square-code",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"m10 8-3 3 3 3",key:"fp6dz7"}],["path",{d:"m14 14 3-3-3-3",key:"1yrceu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BK=Ee("message-square-dashed",[["path",{d:"M12 19h.01",key:"1wutuc"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M16 19h.01",key:"1vcnzz"}],["path",{d:"M16 3h.01",key:"ll0zb8"}],["path",{d:"M2 13h.01",key:"1aptou"}],["path",{d:"M2 17v4.286a.71.71 0 0 0 1.212.502l2.202-2.202A2 2 0 0 1 6.828 19H8",key:"4cp7zq"}],["path",{d:"M2 5a2 2 0 0 1 2-2",key:"1iztiu"}],["path",{d:"M2 9h.01",key:"1nzd1v"}],["path",{d:"M20 3a2 2 0 0 1 2 2",key:"m48m3a"}],["path",{d:"M22 13h.01",key:"ke7esy"}],["path",{d:"M22 17a2 2 0 0 1-2 2",key:"17q5fo"}],["path",{d:"M22 9h.01",key:"npkp49"}],["path",{d:"M8 3h.01",key:"133hau"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zK=Ee("message-square-diff",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M10 15h4",key:"192ueg"}],["path",{d:"M10 9h4",key:"u4k05v"}],["path",{d:"M12 7v4",key:"xawao1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UK=Ee("message-square-dot",[["path",{d:"M12.7 3H4a2 2 0 0 0-2 2v16.286a.71.71 0 0 0 1.212.502l2.202-2.202A2 2 0 0 1 6.828 19H20a2 2 0 0 0 2-2v-4.7",key:"wjb7ig"}],["circle",{cx:"19",cy:"6",r:"3",key:"108a5v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $K=Ee("message-square-heart",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7.5 9.5c0 .687.265 1.383.697 1.844l3.009 3.264a1.14 1.14 0 0 0 .407.314 1 1 0 0 0 .783-.004 1.14 1.14 0 0 0 .398-.31l3.008-3.264A2.77 2.77 0 0 0 16.5 9.5 2.5 2.5 0 0 0 12 8a2.5 2.5 0 0 0-4.5 1.5",key:"1faxuh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HK=Ee("message-square-lock",[["path",{d:"M22 8.5V5a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v16.286a.71.71 0 0 0 1.212.502l2.202-2.202A2 2 0 0 1 6.828 19H10",key:"fu6chl"}],["path",{d:"M20 15v-2a2 2 0 0 0-4 0v2",key:"vl8a78"}],["rect",{x:"14",y:"15",width:"8",height:"5",rx:"1",key:"37aafw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VK=Ee("message-square-more",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 11h.01",key:"z322tv"}],["path",{d:"M16 11h.01",key:"xkw8gn"}],["path",{d:"M8 11h.01",key:"1dfujw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GK=Ee("message-square-off",[["path",{d:"M19 19H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.7.7 0 0 1 2 21.286V5a2 2 0 0 1 1.184-1.826",key:"1wyg69"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.656 3H20a2 2 0 0 1 2 2v11.344",key:"mhl4k6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jK=Ee("message-square-plus",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 8v6",key:"1ib9pf"}],["path",{d:"M9 11h6",key:"1fldmi"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YK=Ee("message-square-quote",[["path",{d:"M14 14a2 2 0 0 0 2-2V8h-2",key:"1r06pg"}],["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M8 14a2 2 0 0 0 2-2V8H8",key:"1jzu5j"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WK=Ee("message-square-reply",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"m10 8-3 3 3 3",key:"fp6dz7"}],["path",{d:"M17 14v-1a2 2 0 0 0-2-2H7",key:"1tkjnz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KK=Ee("message-square-share",[["path",{d:"M12 3H4a2 2 0 0 0-2 2v16.286a.71.71 0 0 0 1.212.502l2.202-2.202A2 2 0 0 1 6.828 19H20a2 2 0 0 0 2-2v-4",key:"11da1y"}],["path",{d:"M16 3h6v6",key:"1bx56c"}],["path",{d:"m16 9 6-6",key:"m4dnic"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XK=Ee("message-square-text",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7 11h10",key:"1twpyw"}],["path",{d:"M7 15h6",key:"d9of3u"}],["path",{d:"M7 7h8",key:"af5zfr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qK=Ee("message-square-warning",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 15h.01",key:"q59x07"}],["path",{d:"M12 7v4",key:"xawao1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZK=Ee("message-square-x",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"m14.5 8.5-5 5",key:"19tnj2"}],["path",{d:"m9.5 8.5 5 5",key:"1oa8ql"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QK=Ee("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JK=Ee("messages-square",[["path",{d:"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z",key:"1n2ejm"}],["path",{d:"M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1",key:"1qfcsi"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eX=Ee("mic-off",[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M15 9.34V5a3 3 0 0 0-5.68-1.33",key:"1gzdoj"}],["path",{d:"M16.95 16.95A7 7 0 0 1 5 12v-2",key:"cqa7eg"}],["path",{d:"M18.89 13.23A7 7 0 0 0 19 12v-2",key:"16hl24"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M9 9v3a3 3 0 0 0 5.12 2.12",key:"r2i35w"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const H3=Ee("mic-vocal",[["path",{d:"m11 7.601-5.994 8.19a1 1 0 0 0 .1 1.298l.817.818a1 1 0 0 0 1.314.087L15.09 12",key:"80a601"}],["path",{d:"M16.5 21.174C15.5 20.5 14.372 20 13 20c-2.058 0-3.928 2.356-6 2-2.072-.356-2.775-3.369-1.5-4.5",key:"j0ngtp"}],["circle",{cx:"16",cy:"7",r:"5",key:"d08jfb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tX=Ee("mic",[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rX=Ee("microchip",[["path",{d:"M18 12h2",key:"quuxs7"}],["path",{d:"M18 16h2",key:"zsn3lv"}],["path",{d:"M18 20h2",key:"9x5y9y"}],["path",{d:"M18 4h2",key:"1luxfb"}],["path",{d:"M18 8h2",key:"nxqzg"}],["path",{d:"M4 12h2",key:"1ltxp0"}],["path",{d:"M4 16h2",key:"8a5zha"}],["path",{d:"M4 20h2",key:"27dk57"}],["path",{d:"M4 4h2",key:"10groj"}],["path",{d:"M4 8h2",key:"18vq6w"}],["path",{d:"M8 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-1.5c-.276 0-.494.227-.562.495a2 2 0 0 1-3.876 0C9.994 2.227 9.776 2 9.5 2z",key:"1681fp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nX=Ee("microscope",[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aX=Ee("microwave",[["rect",{width:"20",height:"15",x:"2",y:"4",rx:"2",key:"2no95f"}],["rect",{width:"8",height:"7",x:"6",y:"8",rx:"1",key:"zh9wx"}],["path",{d:"M18 8v7",key:"o5zi4n"}],["path",{d:"M6 19v2",key:"1loha6"}],["path",{d:"M18 19v2",key:"1dawf0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iX=Ee("milestone",[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M12 3v3",key:"1n5kay"}],["path",{d:"M4 6a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h13a2 2 0 0 0 1.152-.365l3.424-2.317a1 1 0 0 0 0-1.635l-3.424-2.318A2 2 0 0 0 17 6z",key:"1btarq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oX=Ee("milk",[["path",{d:"M8 2h8",key:"1ssgc1"}],["path",{d:"M9 2v2.789a4 4 0 0 1-.672 2.219l-.656.984A4 4 0 0 0 7 10.212V20a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-9.789a4 4 0 0 0-.672-2.219l-.656-.984A4 4 0 0 1 15 4.788V2",key:"qtp12x"}],["path",{d:"M7 15a6.472 6.472 0 0 1 5 0 6.47 6.47 0 0 0 5 0",key:"ygeh44"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sX=Ee("milk-off",[["path",{d:"M8 2h8",key:"1ssgc1"}],["path",{d:"M9 2v1.343M15 2v2.789a4 4 0 0 0 .672 2.219l.656.984a4 4 0 0 1 .672 2.22v1.131M7.8 7.8l-.128.192A4 4 0 0 0 7 10.212V20a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-3",key:"y0ejgx"}],["path",{d:"M7 15a6.47 6.47 0 0 1 5 0 6.472 6.472 0 0 0 3.435.435",key:"iaxqsy"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lX=Ee("minimize-2",[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cX=Ee("minimize",[["path",{d:"M8 3v3a2 2 0 0 1-2 2H3",key:"hohbtr"}],["path",{d:"M21 8h-3a2 2 0 0 1-2-2V3",key:"5jw1f3"}],["path",{d:"M3 16h3a2 2 0 0 1 2 2v3",key:"198tvr"}],["path",{d:"M16 21v-3a2 2 0 0 1 2-2h3",key:"ph8mxp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uX=Ee("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dX=Ee("monitor-check",[["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fX=Ee("monitor-cloud",[["path",{d:"M11 13a3 3 0 1 1 2.83-4H14a2 2 0 0 1 0 4z",key:"1da4q6"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hX=Ee("monitor-cog",[["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m14.305 7.53.923-.382",key:"1mlnsw"}],["path",{d:"m15.228 4.852-.923-.383",key:"82mpwg"}],["path",{d:"m16.852 3.228-.383-.924",key:"ln4sir"}],["path",{d:"m16.852 8.772-.383.923",key:"1dejw0"}],["path",{d:"m19.148 3.228.383-.924",key:"192kgf"}],["path",{d:"m19.53 9.696-.382-.924",key:"fiavlr"}],["path",{d:"m20.772 4.852.924-.383",key:"1j8mgp"}],["path",{d:"m20.772 7.148.924.383",key:"zix9be"}],["path",{d:"M22 13v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7",key:"1tnzv8"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pX=Ee("monitor-dot",[["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M22 12.307V15a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h8.693",key:"1dx6ho"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["circle",{cx:"19",cy:"6",r:"3",key:"108a5v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vX=Ee("monitor-down",[["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"m15 10-3 3-3-3",key:"lzhmyn"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mX=Ee("monitor-off",[["path",{d:"M17 17H4a2 2 0 0 1-2-2V5c0-1.5 1-2 1-2",key:"k0q8oc"}],["path",{d:"M22 15V5a2 2 0 0 0-2-2H9",key:"cp1ac0"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gX=Ee("monitor-play",[["path",{d:"M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z",key:"vbtd3f"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yX=Ee("monitor-pause",[["path",{d:"M10 13V7",key:"1u13u9"}],["path",{d:"M14 13V7",key:"1vj9om"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _X=Ee("monitor-smartphone",[["path",{d:"M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8",key:"10dyio"}],["path",{d:"M10 19v-3.96 3.15",key:"1irgej"}],["path",{d:"M7 19h5",key:"qswx4l"}],["rect",{width:"6",height:"10",x:"16",y:"12",rx:"2",key:"1egngj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xX=Ee("monitor-speaker",[["path",{d:"M5.5 20H8",key:"1k40s5"}],["path",{d:"M17 9h.01",key:"1j24nn"}],["rect",{width:"10",height:"16",x:"12",y:"4",rx:"2",key:"ixliua"}],["path",{d:"M8 6H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h4",key:"1mp6e1"}],["circle",{cx:"17",cy:"15",r:"1",key:"tqvash"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bX=Ee("monitor-stop",[["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}],["rect",{x:"9",y:"7",width:"6",height:"6",rx:"1",key:"5m2oou"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EX=Ee("monitor-up",[["path",{d:"m9 10 3-3 3 3",key:"11gsxs"}],["path",{d:"M12 13V7",key:"h0r20n"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SX=Ee("monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wX=Ee("monitor-x",[["path",{d:"m14.5 12.5-5-5",key:"1jahn5"}],["path",{d:"m9.5 12.5 5-5",key:"1k2t7b"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TX=Ee("moon-star",[["path",{d:"M18 5h4",key:"1lhgn2"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AX=Ee("motorbike",[["path",{d:"m18 14-1-3",key:"bdajw9"}],["path",{d:"m3 9 6 2a2 2 0 0 1 2-2h2a2 2 0 0 1 1.99 1.81",key:"f5fotj"}],["path",{d:"M8 17h3a1 1 0 0 0 1-1 6 6 0 0 1 6-6 1 1 0 0 0 1-1v-.75A5 5 0 0 0 17 5",key:"3i90e2"}],["circle",{cx:"19",cy:"17",r:"3",key:"1otbdv"}],["circle",{cx:"5",cy:"17",r:"3",key:"1d8p0c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CX=Ee("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kX=Ee("mountain-snow",[["path",{d:"m8 3 4 8 5-5 5 15H2L8 3z",key:"otkl63"}],["path",{d:"M4.14 15.08c2.62-1.57 5.24-1.43 7.86.42 2.74 1.94 5.49 2 8.23.19",key:"1pvmmp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MX=Ee("mountain",[["path",{d:"m8 3 4 8 5-5 5 15H2L8 3z",key:"otkl63"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RX=Ee("mouse-off",[["path",{d:"M12 6v.343",key:"1gyhex"}],["path",{d:"M18.218 18.218A7 7 0 0 1 5 15V9a7 7 0 0 1 .782-3.218",key:"ukzz01"}],["path",{d:"M19 13.343V9A7 7 0 0 0 8.56 2.902",key:"104jy9"}],["path",{d:"M22 22 2 2",key:"1r8tn9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NX=Ee("mouse-pointer-2-off",[["path",{d:"m15.55 8.45 5.138 2.087a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063L8.45 15.551",key:"1qoshx"}],["path",{d:"M22 2 2 22",key:"y4kqgn"}],["path",{d:"m6.816 11.528-2.779-6.84a.495.495 0 0 1 .651-.651l6.84 2.779",key:"mymuvk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IX=Ee("mouse-pointer-2",[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LX=Ee("mouse-pointer-ban",[["path",{d:"M2.034 2.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.944L8.204 7.545a1 1 0 0 0-.66.66l-1.066 3.443a.5.5 0 0 1-.944.033z",key:"11pp1i"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}],["path",{d:"m11.8 11.8 8.4 8.4",key:"oogvdj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OX=Ee("mouse-pointer-click",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DX=Ee("mouse-pointer",[["path",{d:"M12.586 12.586 19 19",key:"ea5xo7"}],["path",{d:"M3.688 3.037a.497.497 0 0 0-.651.651l6.5 15.999a.501.501 0 0 0 .947-.062l1.569-6.083a2 2 0 0 1 1.448-1.479l6.124-1.579a.5.5 0 0 0 .063-.947z",key:"277e5u"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PX=Ee("mouse",[["rect",{x:"5",y:"2",width:"14",height:"20",rx:"7",key:"11ol66"}],["path",{d:"M12 6v4",key:"16clxf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const V3=Ee("move-3d",[["path",{d:"M5 3v16h16",key:"1mqmf9"}],["path",{d:"m5 19 6-6",key:"jh6hbb"}],["path",{d:"m2 6 3-3 3 3",key:"tkyvxa"}],["path",{d:"m18 16 3 3-3 3",key:"1d4glt"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FX=Ee("move-diagonal-2",[["path",{d:"M19 13v6h-6",key:"1hxl6d"}],["path",{d:"M5 11V5h6",key:"12e2xe"}],["path",{d:"m5 5 14 14",key:"11anup"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BX=Ee("move-diagonal",[["path",{d:"M11 19H5v-6",key:"8awifj"}],["path",{d:"M13 5h6v6",key:"7voy1q"}],["path",{d:"M19 5 5 19",key:"wwaj1z"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zX=Ee("move-down-left",[["path",{d:"M11 19H5V13",key:"1akmht"}],["path",{d:"M19 5L5 19",key:"72u4yj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UX=Ee("move-down-right",[["path",{d:"M19 13V19H13",key:"10vkzq"}],["path",{d:"M5 5L19 19",key:"5zm2fv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $X=Ee("move-down",[["path",{d:"M8 18L12 22L16 18",key:"cskvfv"}],["path",{d:"M12 2V22",key:"r89rzk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HX=Ee("move-left",[["path",{d:"M6 8L2 12L6 16",key:"kyvwex"}],["path",{d:"M2 12H22",key:"1m8cig"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VX=Ee("move-horizontal",[["path",{d:"m18 8 4 4-4 4",key:"1ak13k"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GX=Ee("move-right",[["path",{d:"M18 8L22 12L18 16",key:"1r0oui"}],["path",{d:"M2 12H22",key:"1m8cig"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jX=Ee("move-up-left",[["path",{d:"M5 11V5H11",key:"3q78g9"}],["path",{d:"M5 5L19 19",key:"5zm2fv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YX=Ee("move-up-right",[["path",{d:"M13 5H19V11",key:"1n1gyv"}],["path",{d:"M19 5L5 19",key:"72u4yj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WX=Ee("move-up",[["path",{d:"M8 6L12 2L16 6",key:"1yvkyx"}],["path",{d:"M12 2V22",key:"r89rzk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KX=Ee("move-vertical",[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"m8 18 4 4 4-4",key:"bh5tu3"}],["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XX=Ee("move",[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"m15 19-3 3-3-3",key:"11eu04"}],["path",{d:"m19 9 3 3-3 3",key:"1mg7y2"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m5 9-3 3 3 3",key:"j64kie"}],["path",{d:"m9 5 3-3 3 3",key:"l8vdw6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qX=Ee("music-2",[["circle",{cx:"8",cy:"18",r:"4",key:"1fc0mg"}],["path",{d:"M12 18V2l7 4",key:"g04rme"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZX=Ee("music-3",[["circle",{cx:"12",cy:"18",r:"4",key:"m3r9ws"}],["path",{d:"M16 18V2",key:"40x2m5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QX=Ee("music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JX=Ee("music-4",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["path",{d:"m9 9 12-2",key:"1e64n2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eq=Ee("navigation-2",[["polygon",{points:"12 2 19 21 12 17 5 21 12 2",key:"x8c0qg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tq=Ee("navigation-2-off",[["path",{d:"M9.31 9.31 5 21l7-4 7 4-1.17-3.17",key:"qoq2o2"}],["path",{d:"M14.53 8.88 12 2l-1.17 3.17",key:"k3sjzy"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rq=Ee("navigation-off",[["path",{d:"M8.43 8.43 3 11l8 2 2 8 2.57-5.43",key:"1vdtb7"}],["path",{d:"M17.39 11.73 22 2l-9.73 4.61",key:"tya3r6"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nq=Ee("navigation",[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aq=Ee("network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iq=Ee("newspaper",[["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2",key:"39pd36"}],["rect",{width:"8",height:"4",x:"10",y:"6",rx:"1",key:"aywv1n"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oq=Ee("nfc",[["path",{d:"M6 8.32a7.43 7.43 0 0 1 0 7.36",key:"9iaqei"}],["path",{d:"M9.46 6.21a11.76 11.76 0 0 1 0 11.58",key:"1yha7l"}],["path",{d:"M12.91 4.1a15.91 15.91 0 0 1 .01 15.8",key:"4iu2gk"}],["path",{d:"M16.37 2a20.16 20.16 0 0 1 0 20",key:"sap9u2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sq=Ee("non-binary",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"m8.5 4 7 4",key:"m1xjk3"}],["path",{d:"m8.5 8 7-4",key:"t0m5j6"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lq=Ee("notebook-pen",[["path",{d:"M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4",key:"re6nr2"}],["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["path",{d:"M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"pqwjuv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cq=Ee("notebook-tabs",[["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["path",{d:"M15 2v20",key:"dcj49h"}],["path",{d:"M15 7h5",key:"1xj5lc"}],["path",{d:"M15 12h5",key:"w5shd9"}],["path",{d:"M15 17h5",key:"1qaofu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uq=Ee("notebook-text",[["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["path",{d:"M9.5 8h5",key:"11mslq"}],["path",{d:"M9.5 12H16",key:"ktog6x"}],["path",{d:"M9.5 16H14",key:"p1seyn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dq=Ee("notebook",[["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["path",{d:"M16 2v20",key:"rotuqe"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fq=Ee("notepad-text-dashed",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v2",key:"j91f56"}],["path",{d:"M20 12v2",key:"w8o0tu"}],["path",{d:"M20 18v2a2 2 0 0 1-2 2h-1",key:"1c9ggx"}],["path",{d:"M13 22h-2",key:"191ugt"}],["path",{d:"M7 22H6a2 2 0 0 1-2-2v-2",key:"1rt9px"}],["path",{d:"M4 14v-2",key:"1v0sqh"}],["path",{d:"M4 8V6a2 2 0 0 1 2-2h2",key:"1mwabg"}],["path",{d:"M8 10h6",key:"3oa6kw"}],["path",{d:"M8 14h8",key:"1fgep2"}],["path",{d:"M8 18h5",key:"17enja"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hq=Ee("notepad-text",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"16",height:"18",x:"4",y:"4",rx:"2",key:"1u9h20"}],["path",{d:"M8 10h6",key:"3oa6kw"}],["path",{d:"M8 14h8",key:"1fgep2"}],["path",{d:"M8 18h5",key:"17enja"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pq=Ee("nut-off",[["path",{d:"M12 4V2",key:"1k5q1u"}],["path",{d:"M5 10v4a7.004 7.004 0 0 0 5.277 6.787c.412.104.802.292 1.102.592L12 22l.621-.621c.3-.3.69-.488 1.102-.592a7.01 7.01 0 0 0 4.125-2.939",key:"1xcvy9"}],["path",{d:"M19 10v3.343",key:"163tfc"}],["path",{d:"M12 12c-1.349-.573-1.905-1.005-2.5-2-.546.902-1.048 1.353-2.5 2-1.018-.644-1.46-1.08-2-2-1.028.71-1.69.918-3 1 1.081-1.048 1.757-2.03 2-3 .194-.776.84-1.551 1.79-2.21m11.654 5.997c.887-.457 1.28-.891 1.556-1.787 1.032.916 1.683 1.157 3 1-1.297-1.036-1.758-2.03-2-3-.5-2-4-4-8-4-.74 0-1.461.068-2.15.192",key:"17914v"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vq=Ee("nut",[["path",{d:"M12 4V2",key:"1k5q1u"}],["path",{d:"M5 10v4a7.004 7.004 0 0 0 5.277 6.787c.412.104.802.292 1.102.592L12 22l.621-.621c.3-.3.69-.488 1.102-.592A7.003 7.003 0 0 0 19 14v-4",key:"1tgyif"}],["path",{d:"M12 4C8 4 4.5 6 4 8c-.243.97-.919 1.952-2 3 1.31-.082 1.972-.29 3-1 .54.92.982 1.356 2 2 1.452-.647 1.954-1.098 2.5-2 .595.995 1.151 1.427 2.5 2 1.31-.621 1.862-1.058 2.5-2 .629.977 1.162 1.423 2.5 2 1.209-.548 1.68-.967 2-2 1.032.916 1.683 1.157 3 1-1.297-1.036-1.758-2.03-2-3-.5-2-4-4-8-4Z",key:"tnsqj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const G3=Ee("octagon-alert",[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M15.312 2a2 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-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z",key:"1fd625"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mq=Ee("octagon-minus",[["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:"M8 12h8",key:"1wcyev"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const j3=Ee("octagon-pause",[["path",{d:"M10 15V9",key:"1lckn7"}],["path",{d:"M14 15V9",key:"1muqhk"}],["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Y3=Ee("octagon-x",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gq=Ee("octagon",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yq=Ee("option",[["path",{d:"M3 3h6l6 18h6",key:"ph9rgk"}],["path",{d:"M14 3h7",key:"16f0ms"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _q=Ee("omega",[["path",{d:"M3 20h4.5a.5.5 0 0 0 .5-.5v-.282a.52.52 0 0 0-.247-.437 8 8 0 1 1 8.494-.001.52.52 0 0 0-.247.438v.282a.5.5 0 0 0 .5.5H21",key:"1x94xo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xq=Ee("orbit",[["path",{d:"M20.341 6.484A10 10 0 0 1 10.266 21.85",key:"1enhxb"}],["path",{d:"M3.659 17.516A10 10 0 0 1 13.74 2.152",key:"1crzgf"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bq=Ee("origami",[["path",{d:"M12 12V4a1 1 0 0 1 1-1h6.297a1 1 0 0 1 .651 1.759l-4.696 4.025",key:"1bx4vc"}],["path",{d:"m12 21-7.414-7.414A2 2 0 0 1 4 12.172V6.415a1.002 1.002 0 0 1 1.707-.707L20 20.009",key:"1h3km6"}],["path",{d:"m12.214 3.381 8.414 14.966a1 1 0 0 1-.167 1.199l-1.168 1.163a1 1 0 0 1-.706.291H6.351a1 1 0 0 1-.625-.219L3.25 18.8a1 1 0 0 1 .631-1.781l4.165.027",key:"1hj4wg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Eq=Ee("package-2",[["path",{d:"M12 3v6",key:"1holv5"}],["path",{d:"M16.76 3a2 2 0 0 1 1.8 1.1l2.23 4.479a2 2 0 0 1 .21.891V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9.472a2 2 0 0 1 .211-.894L5.45 4.1A2 2 0 0 1 7.24 3z",key:"187q7i"}],["path",{d:"M3.054 9.013h17.893",key:"grwhos"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Sq=Ee("package-check",[["path",{d:"m16 16 2 2 4-4",key:"gfu2re"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wq=Ee("package-minus",[["path",{d:"M16 16h6",key:"100bgy"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Tq=Ee("package-open",[["path",{d:"M12 22v-9",key:"x3hkom"}],["path",{d:"M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z",key:"2ntwy6"}],["path",{d:"M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13",key:"1pmm1c"}],["path",{d:"M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z",key:"12ttoo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Aq=Ee("package-plus",[["path",{d:"M16 16h6",key:"100bgy"}],["path",{d:"M19 13v6",key:"85cyf1"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Cq=Ee("package-search",[["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}],["circle",{cx:"18.5",cy:"15.5",r:"2.5",key:"b5zd12"}],["path",{d:"M20.27 17.27 22 19",key:"1l4muz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kq=Ee("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Mq=Ee("package-x",[["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}],["path",{d:"m17 13 5 5m-5 0 5-5",key:"im3w4b"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Rq=Ee("paint-bucket",[["path",{d:"m19 11-8-8-8.6 8.6a2 2 0 0 0 0 2.8l5.2 5.2c.8.8 2 .8 2.8 0L19 11Z",key:"irua1i"}],["path",{d:"m5 2 5 5",key:"1lls2c"}],["path",{d:"M2 13h15",key:"1hkzvu"}],["path",{d:"M22 20a2 2 0 1 1-4 0c0-1.6 1.7-2.4 2-4 .3 1.6 2 2.4 2 4Z",key:"xk76lq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Nq=Ee("paint-roller",[["rect",{width:"16",height:"6",x:"2",y:"2",rx:"2",key:"jcyz7m"}],["path",{d:"M10 16v-2a2 2 0 0 1 2-2h8a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2",key:"1b9h7c"}],["rect",{width:"4",height:"6",x:"8",y:"16",rx:"1",key:"d6e7yl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const W3=Ee("paintbrush-vertical",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v4",key:"qmzblu"}],["path",{d:"M17 2a1 1 0 0 1 1 1v9H6V3a1 1 0 0 1 1-1z",key:"ycvu00"}],["path",{d:"M6 12a1 1 0 0 0-1 1v1a2 2 0 0 0 2 2h2a1 1 0 0 1 1 1v2.9a2 2 0 1 0 4 0V17a1 1 0 0 1 1-1h2a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1",key:"iw4wnp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Iq=Ee("paintbrush",[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Lq=Ee("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Oq=Ee("panda",[["path",{d:"M11.25 17.25h1.5L12 18z",key:"1wmwwj"}],["path",{d:"m15 12 2 2",key:"k60wz4"}],["path",{d:"M18 6.5a.5.5 0 0 0-.5-.5",key:"1ch4h4"}],["path",{d:"M20.69 9.67a4.5 4.5 0 1 0-7.04-5.5 8.35 8.35 0 0 0-3.3 0 4.5 4.5 0 1 0-7.04 5.5C2.49 11.2 2 12.88 2 14.5 2 19.47 6.48 22 12 22s10-2.53 10-7.5c0-1.62-.48-3.3-1.3-4.83",key:"1c660l"}],["path",{d:"M6 6.5a.495.495 0 0 1 .5-.5",key:"eviuep"}],["path",{d:"m9 12-2 2",key:"326nkw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Dq=Ee("panel-bottom-close",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"m15 8-3 3-3-3",key:"1oxy1z"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const K3=Ee("panel-bottom-dashed",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M14 15h1",key:"171nev"}],["path",{d:"M19 15h2",key:"1vnucp"}],["path",{d:"M3 15h2",key:"8bym0q"}],["path",{d:"M9 15h1",key:"1tg3ks"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Pq=Ee("panel-bottom-open",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"m9 10 3-3 3 3",key:"11gsxs"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fq=Ee("panel-bottom",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 15h18",key:"5xshup"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const X3=Ee("panel-left-dashed",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 14v1",key:"askpd8"}],["path",{d:"M9 19v2",key:"16tejx"}],["path",{d:"M9 3v2",key:"1noubl"}],["path",{d:"M9 9v1",key:"19ebxg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const q3=Ee("panel-left-open",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Z3=Ee("panel-left-close",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Bq=Ee("panel-left-right-dashed",[["path",{d:"M15 10V9",key:"4dkmfx"}],["path",{d:"M15 15v-1",key:"6a4afx"}],["path",{d:"M15 21v-2",key:"1qshmc"}],["path",{d:"M15 5V3",key:"1fk0mb"}],["path",{d:"M9 10V9",key:"1lazqi"}],["path",{d:"M9 15v-1",key:"9lx740"}],["path",{d:"M9 21v-2",key:"1fwk0n"}],["path",{d:"M9 5V3",key:"2q8zi6"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Q3=Ee("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const J3=Ee("panel-right-dashed",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 14v1",key:"ilsfch"}],["path",{d:"M15 19v2",key:"1fst2f"}],["path",{d:"M15 3v2",key:"z204g4"}],["path",{d:"M15 9v1",key:"z2a8b1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zq=Ee("panel-right-close",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Uq=Ee("panel-right-open",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $q=Ee("panel-right",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Hq=Ee("panel-top-bottom-dashed",[["path",{d:"M14 15h1",key:"171nev"}],["path",{d:"M14 9h1",key:"l0svgy"}],["path",{d:"M19 15h2",key:"1vnucp"}],["path",{d:"M19 9h2",key:"te2zfg"}],["path",{d:"M3 15h2",key:"8bym0q"}],["path",{d:"M3 9h2",key:"1h4ldw"}],["path",{d:"M9 15h1",key:"1tg3ks"}],["path",{d:"M9 9h1",key:"15jzuz"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vq=Ee("panel-top-close",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m9 16 3-3 3 3",key:"1idcnm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eE=Ee("panel-top-dashed",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M14 9h1",key:"l0svgy"}],["path",{d:"M19 9h2",key:"te2zfg"}],["path",{d:"M3 9h2",key:"1h4ldw"}],["path",{d:"M9 9h1",key:"15jzuz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Gq=Ee("panel-top-open",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m15 14-3 3-3-3",key:"g215vf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jq=Ee("panel-top",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Yq=Ee("panels-left-bottom",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M9 15h12",key:"5ijen5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wq=Ee("panels-right-bottom",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 15h12",key:"1wkqb3"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tE=Ee("panels-top-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kq=Ee("paperclip",[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Xq=Ee("parentheses",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qq=Ee("parking-meter",[["path",{d:"M11 15h2",key:"199qp6"}],["path",{d:"M12 12v3",key:"158kv8"}],["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M15.282 19a1 1 0 0 0 .948-.68l2.37-6.988a7 7 0 1 0-13.2 0l2.37 6.988a1 1 0 0 0 .948.68z",key:"1jofit"}],["path",{d:"M9 9a3 3 0 1 1 6 0",key:"jdoeu8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zq=Ee("party-popper",[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qq=Ee("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jq=Ee("paw-print",[["circle",{cx:"11",cy:"4",r:"2",key:"vol9p0"}],["circle",{cx:"18",cy:"8",r:"2",key:"17gozi"}],["circle",{cx:"20",cy:"16",r:"2",key:"1v9bxh"}],["path",{d:"M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z",key:"1ydw1z"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eZ=Ee("pc-case",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",key:"1uq1d7"}],["path",{d:"M15 14h.01",key:"1kp3bh"}],["path",{d:"M9 6h6",key:"dgm16u"}],["path",{d:"M9 10h6",key:"9gxzsh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rE=Ee("pen-line",[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tZ=Ee("pen-off",[["path",{d:"m10 10-6.157 6.162a2 2 0 0 0-.5.833l-1.322 4.36a.5.5 0 0 0 .622.624l4.358-1.323a2 2 0 0 0 .83-.5L14 13.982",key:"bjo8r8"}],["path",{d:"m12.829 7.172 4.359-4.346a1 1 0 1 1 3.986 3.986l-4.353 4.353",key:"16h5ne"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rZ=Ee("pen-tool",[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nE=Ee("pen",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nZ=Ee("pencil-line",[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aZ=Ee("pencil-off",[["path",{d:"m10 10-6.157 6.162a2 2 0 0 0-.5.833l-1.322 4.36a.5.5 0 0 0 .622.624l4.358-1.323a2 2 0 0 0 .83-.5L14 13.982",key:"bjo8r8"}],["path",{d:"m12.829 7.172 4.359-4.346a1 1 0 1 1 3.986 3.986l-4.353 4.353",key:"16h5ne"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iZ=Ee("pencil-ruler",[["path",{d:"M13 7 8.7 2.7a2.41 2.41 0 0 0-3.4 0L2.7 5.3a2.41 2.41 0 0 0 0 3.4L7 13",key:"orapub"}],["path",{d:"m8 6 2-2",key:"115y1s"}],["path",{d:"m18 16 2-2",key:"ee94s4"}],["path",{d:"m17 11 4.3 4.3c.94.94.94 2.46 0 3.4l-2.6 2.6c-.94.94-2.46.94-3.4 0L11 17",key:"cfq27r"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oZ=Ee("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sZ=Ee("pentagon",[["path",{d:"M10.83 2.38a2 2 0 0 1 2.34 0l8 5.74a2 2 0 0 1 .73 2.25l-3.04 9.26a2 2 0 0 1-1.9 1.37H7.04a2 2 0 0 1-1.9-1.37L2.1 10.37a2 2 0 0 1 .73-2.25z",key:"2hea0t"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lZ=Ee("percent",[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cZ=Ee("person-standing",[["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["path",{d:"m9 20 3-6 3 6",key:"se2kox"}],["path",{d:"m6 8 6 2 6-2",key:"4o3us4"}],["path",{d:"M12 10v4",key:"1kjpxc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uZ=Ee("philippine-peso",[["path",{d:"M20 11H4",key:"6ut86h"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"M7 21V4a1 1 0 0 1 1-1h4a1 1 0 0 1 0 12H7",key:"1ana5r"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dZ=Ee("phone-call",[["path",{d:"M13 2a9 9 0 0 1 9 9",key:"1itnx2"}],["path",{d:"M13 6a5 5 0 0 1 5 5",key:"11nki7"}],["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fZ=Ee("phone-forwarded",[["path",{d:"M14 6h8",key:"yd68k4"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hZ=Ee("phone-incoming",[["path",{d:"M16 2v6h6",key:"1mfrl5"}],["path",{d:"m22 2-6 6",key:"6f0sa0"}],["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pZ=Ee("phone-missed",[["path",{d:"m16 2 6 6",key:"1gw87d"}],["path",{d:"m22 2-6 6",key:"6f0sa0"}],["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vZ=Ee("phone-off",[["path",{d:"M10.1 13.9a14 14 0 0 0 3.732 2.668 1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2 18 18 0 0 1-12.728-5.272",key:"1wngk7"}],["path",{d:"M22 2 2 22",key:"y4kqgn"}],["path",{d:"M4.76 13.582A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 .244.473",key:"10hv5p"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mZ=Ee("phone-outgoing",[["path",{d:"m16 8 6-6",key:"oawc05"}],["path",{d:"M22 8V2h-6",key:"oqy2zc"}],["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gZ=Ee("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yZ=Ee("pi",[["line",{x1:"9",x2:"9",y1:"4",y2:"20",key:"ovs5a5"}],["path",{d:"M4 7c0-1.7 1.3-3 3-3h13",key:"10pag4"}],["path",{d:"M18 20c-1.7 0-3-1.3-3-3V4",key:"1gaosr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _Z=Ee("piano",[["path",{d:"M18.5 8c-1.4 0-2.6-.8-3.2-2A6.87 6.87 0 0 0 2 9v11a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-8.5C22 9.6 20.4 8 18.5 8",key:"lag0yf"}],["path",{d:"M2 14h20",key:"myj16y"}],["path",{d:"M6 14v4",key:"9ng0ue"}],["path",{d:"M10 14v4",key:"1v8uk5"}],["path",{d:"M14 14v4",key:"1tqops"}],["path",{d:"M18 14v4",key:"18uqwm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xZ=Ee("pickaxe",[["path",{d:"m14 13-8.381 8.38a1 1 0 0 1-3.001-3L11 9.999",key:"1lw9ds"}],["path",{d:"M15.973 4.027A13 13 0 0 0 5.902 2.373c-1.398.342-1.092 2.158.277 2.601a19.9 19.9 0 0 1 5.822 3.024",key:"ffj4ej"}],["path",{d:"M16.001 11.999a19.9 19.9 0 0 1 3.024 5.824c.444 1.369 2.26 1.676 2.603.278A13 13 0 0 0 20 8.069",key:"8tj4zw"}],["path",{d:"M18.352 3.352a1.205 1.205 0 0 0-1.704 0l-5.296 5.296a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l5.296-5.296a1.205 1.205 0 0 0 0-1.704z",key:"hh6h97"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bZ=Ee("picture-in-picture-2",[["path",{d:"M21 9V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h4",key:"daa4of"}],["rect",{width:"10",height:"7",x:"12",y:"13",rx:"2",key:"1nb8gs"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EZ=Ee("picture-in-picture",[["path",{d:"M2 10h6V4",key:"zwrco"}],["path",{d:"m2 4 6 6",key:"ug085t"}],["path",{d:"M21 10V7a2 2 0 0 0-2-2h-7",key:"git5jr"}],["path",{d:"M3 14v2a2 2 0 0 0 2 2h3",key:"1f7fh3"}],["rect",{x:"12",y:"14",width:"10",height:"7",rx:"1",key:"1wjs3o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SZ=Ee("piggy-bank",[["path",{d:"M11 17h3v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a3.16 3.16 0 0 0 2-2h1a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-1a5 5 0 0 0-2-4V3a4 4 0 0 0-3.2 1.6l-.3.4H11a6 6 0 0 0-6 6v1a5 5 0 0 0 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1z",key:"1piglc"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M2 8v1a2 2 0 0 0 2 2h1",key:"1env43"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wZ=Ee("pilcrow-left",[["path",{d:"M14 3v11",key:"mlfb7b"}],["path",{d:"M14 9h-3a3 3 0 0 1 0-6h9",key:"1ulc19"}],["path",{d:"M18 3v11",key:"1phi0r"}],["path",{d:"M22 18H2l4-4",key:"yt65j9"}],["path",{d:"m6 22-4-4",key:"6jgyf5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TZ=Ee("pilcrow-right",[["path",{d:"M10 3v11",key:"o3l5kj"}],["path",{d:"M10 9H7a1 1 0 0 1 0-6h8",key:"1wb1nc"}],["path",{d:"M14 3v11",key:"mlfb7b"}],["path",{d:"m18 14 4 4H2",key:"4r8io1"}],["path",{d:"m22 18-4 4",key:"1hjjrd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AZ=Ee("pilcrow",[["path",{d:"M13 4v16",key:"8vvj80"}],["path",{d:"M17 4v16",key:"7dpous"}],["path",{d:"M19 4H9.5a4.5 4.5 0 0 0 0 9H13",key:"sh4n9v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CZ=Ee("pill-bottle",[["path",{d:"M18 11h-4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h4",key:"17ldeb"}],["path",{d:"M6 7v13a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7",key:"nc37y6"}],["rect",{width:"16",height:"5",x:"4",y:"2",rx:"1",key:"3jeezo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kZ=Ee("pill",[["path",{d:"m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z",key:"wa1lgi"}],["path",{d:"m8.5 8.5 7 7",key:"rvfmvr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MZ=Ee("pin-off",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89",key:"znwnzq"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11",key:"c9qhm2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RZ=Ee("pipette",[["path",{d:"m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12",key:"1y3wsu"}],["path",{d:"m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z",key:"110lr1"}],["path",{d:"m2 22 .414-.414",key:"jhxm08"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NZ=Ee("pin",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IZ=Ee("pizza",[["path",{d:"m12 14-1 1",key:"11onhr"}],["path",{d:"m13.75 18.25-1.25 1.42",key:"1yisr3"}],["path",{d:"M17.775 5.654a15.68 15.68 0 0 0-12.121 12.12",key:"1qtqk6"}],["path",{d:"M18.8 9.3a1 1 0 0 0 2.1 7.7",key:"fbbbr2"}],["path",{d:"M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z",key:"1hyfdd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LZ=Ee("plane-landing",[["path",{d:"M2 22h20",key:"272qi7"}],["path",{d:"M3.77 10.77 2 9l2-4.5 1.1.55c.55.28.9.84.9 1.45s.35 1.17.9 1.45L8 8.5l3-6 1.05.53a2 2 0 0 1 1.09 1.52l.72 5.4a2 2 0 0 0 1.09 1.52l4.4 2.2c.42.22.78.55 1.01.96l.6 1.03c.49.88-.06 1.98-1.06 2.1l-1.18.15c-.47.06-.95-.02-1.37-.24L4.29 11.15a2 2 0 0 1-.52-.38Z",key:"1ma21e"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OZ=Ee("plane-takeoff",[["path",{d:"M2 22h20",key:"272qi7"}],["path",{d:"M6.36 17.4 4 17l-2-4 1.1-.55a2 2 0 0 1 1.8 0l.17.1a2 2 0 0 0 1.8 0L8 12 5 6l.9-.45a2 2 0 0 1 2.09.2l4.02 3a2 2 0 0 0 2.1.2l4.19-2.06a2.41 2.41 0 0 1 1.73-.17L21 7a1.4 1.4 0 0 1 .87 1.99l-.38.76c-.23.46-.6.84-1.07 1.08L7.58 17.2a2 2 0 0 1-1.22.18Z",key:"fkigj9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DZ=Ee("plane",[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PZ=Ee("play",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aE=Ee("plug-zap",[["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:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m18 3-4 4h6l-4 4",key:"16psg9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FZ=Ee("plug-2",[["path",{d:"M9 2v6",key:"17ngun"}],["path",{d:"M15 2v6",key:"s7yy2p"}],["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M5 8h14",key:"pcz4l3"}],["path",{d:"M6 11V8h12v3a6 6 0 1 1-12 0Z",key:"wtfw2c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const t5=Ee("plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BZ=Ee("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zZ=Ee("pocket-knife",[["path",{d:"M3 2v1c0 1 2 1 2 2S3 6 3 7s2 1 2 2-2 1-2 2 2 1 2 2",key:"19w3oe"}],["path",{d:"M18 6h.01",key:"1v4wsw"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M20.83 8.83a4 4 0 0 0-5.66-5.66l-12 12a4 4 0 1 0 5.66 5.66Z",key:"6fykxj"}],["path",{d:"M18 11.66V22a4 4 0 0 0 4-4V6",key:"1utzek"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UZ=Ee("pocket",[["path",{d:"M20 3a2 2 0 0 1 2 2v6a1 1 0 0 1-20 0V5a2 2 0 0 1 2-2z",key:"1uodqw"}],["path",{d:"m8 10 4 4 4-4",key:"1mxd5q"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $Z=Ee("podcast",[["path",{d:"M13 17a1 1 0 1 0-2 0l.5 4.5a0.5 0.5 0 0 0 1 0z",fill:"currentColor",key:"x1mxqr"}],["path",{d:"M16.85 18.58a9 9 0 1 0-9.7 0",key:"d71mpg"}],["path",{d:"M8 14a5 5 0 1 1 8 0",key:"fc81rn"}],["circle",{cx:"12",cy:"11",r:"1",fill:"currentColor",key:"vqiwd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HZ=Ee("pointer-off",[["path",{d:"M10 4.5V4a2 2 0 0 0-2.41-1.957",key:"jsi14n"}],["path",{d:"M13.9 8.4a2 2 0 0 0-1.26-1.295",key:"hirc7f"}],["path",{d:"M21.7 16.2A8 8 0 0 0 22 14v-3a2 2 0 1 0-4 0v-1a2 2 0 0 0-3.63-1.158",key:"1jxb2e"}],["path",{d:"m7 15-1.8-1.8a2 2 0 0 0-2.79 2.86L6 19.7a7.74 7.74 0 0 0 6 2.3h2a8 8 0 0 0 5.657-2.343",key:"10r7hm"}],["path",{d:"M6 6v8",key:"tv5xkp"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VZ=Ee("pointer",[["path",{d:"M22 14a8 8 0 0 1-8 8",key:"56vcr3"}],["path",{d:"M18 11v-1a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1agjmk"}],["path",{d:"M14 10V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1",key:"wdbh2u"}],["path",{d:"M10 9.5V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v10",key:"1ibuk9"}],["path",{d:"M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"g6ys72"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GZ=Ee("popcorn",[["path",{d:"M18 8a2 2 0 0 0 0-4 2 2 0 0 0-4 0 2 2 0 0 0-4 0 2 2 0 0 0-4 0 2 2 0 0 0 0 4",key:"10td1f"}],["path",{d:"M10 22 9 8",key:"yjptiv"}],["path",{d:"m14 22 1-14",key:"8jwc8b"}],["path",{d:"M20 8c.5 0 .9.4.8 1l-2.6 12c-.1.5-.7 1-1.2 1H7c-.6 0-1.1-.4-1.2-1L3.2 9c-.1-.6.3-1 .8-1Z",key:"1qo33t"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jZ=Ee("popsicle",[["path",{d:"M18.6 14.4c.8-.8.8-2 0-2.8l-8.1-8.1a4.95 4.95 0 1 0-7.1 7.1l8.1 8.1c.9.7 2.1.7 2.9-.1Z",key:"1o68ps"}],["path",{d:"m22 22-5.5-5.5",key:"17o70y"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YZ=Ee("pound-sterling",[["path",{d:"M18 7c0-5.333-8-5.333-8 0",key:"1prm2n"}],["path",{d:"M10 7v14",key:"18tmcs"}],["path",{d:"M6 21h12",key:"4dkmi1"}],["path",{d:"M6 13h10",key:"ybwr4a"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WZ=Ee("power-off",[["path",{d:"M18.36 6.64A9 9 0 0 1 20.77 15",key:"dxknvb"}],["path",{d:"M6.16 6.16a9 9 0 1 0 12.68 12.68",key:"1x7qb5"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KZ=Ee("power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XZ=Ee("presentation",[["path",{d:"M2 3h20",key:"91anmk"}],["path",{d:"M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3",key:"2k9sn8"}],["path",{d:"m7 21 5-5 5 5",key:"bip4we"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qZ=Ee("printer-check",[["path",{d:"M13.5 22H7a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v.5",key:"qeb09x"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}],["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v2",key:"1md90i"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZZ=Ee("printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QZ=Ee("projector",[["path",{d:"M5 7 3 5",key:"1yys58"}],["path",{d:"M9 6V3",key:"1ptz9u"}],["path",{d:"m13 7 2-2",key:"1w3vmq"}],["circle",{cx:"9",cy:"13",r:"3",key:"1mma13"}],["path",{d:"M11.83 12H20a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h2.17",key:"2frwzc"}],["path",{d:"M16 16h2",key:"dnq2od"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JZ=Ee("proportions",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M12 9v11",key:"1fnkrn"}],["path",{d:"M2 9h13a2 2 0 0 1 2 2v9",key:"11z3ex"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eQ=Ee("puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tQ=Ee("pyramid",[["path",{d:"M2.5 16.88a1 1 0 0 1-.32-1.43l9-13.02a1 1 0 0 1 1.64 0l9 13.01a1 1 0 0 1-.32 1.44l-8.51 4.86a2 2 0 0 1-1.98 0Z",key:"aenxs0"}],["path",{d:"M12 2v20",key:"t6zp3m"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rQ=Ee("qr-code",[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nQ=Ee("quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aQ=Ee("rabbit",[["path",{d:"M13 16a3 3 0 0 1 2.24 5",key:"1epib5"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"M18 21h-8a4 4 0 0 1-4-4 7 7 0 0 1 7-7h.2L9.6 6.4a1 1 0 1 1 2.8-2.8L15.8 7h.2c3.3 0 6 2.7 6 6v1a2 2 0 0 1-2 2h-1a3 3 0 0 0-3 3",key:"ue9ozu"}],["path",{d:"M20 8.54V4a2 2 0 1 0-4 0v3",key:"49iql8"}],["path",{d:"M7.612 12.524a3 3 0 1 0-1.6 4.3",key:"1e33i0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iQ=Ee("radar",[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oQ=Ee("radiation",[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 15.4641a4 4 0 0 1-4 0L7.52786 19.74597 A 1 1 0 0 0 7.99303 21.16211 10 10 0 0 0 16.00697 21.16211 1 1 0 0 0 16.47214 19.74597z",key:"1y4lzb"}],["path",{d:"M16 12a4 4 0 0 0-2-3.464l2.472-4.282a1 1 0 0 1 1.46-.305 10 10 0 0 1 4.006 6.94A1 1 0 0 1 21 12z",key:"163ggk"}],["path",{d:"M8 12a4 4 0 0 1 2-3.464L7.528 4.254a1 1 0 0 0-1.46-.305 10 10 0 0 0-4.006 6.94A1 1 0 0 0 3 12z",key:"1l9i0b"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sQ=Ee("radical",[["path",{d:"M3 12h3.28a1 1 0 0 1 .948.684l2.298 7.934a.5.5 0 0 0 .96-.044L13.82 4.771A1 1 0 0 1 14.792 4H21",key:"1mqj8i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lQ=Ee("radio-receiver",[["path",{d:"M5 16v2",key:"g5qcv5"}],["path",{d:"M19 16v2",key:"1gbaio"}],["rect",{width:"20",height:"8",x:"2",y:"8",rx:"2",key:"vjsjur"}],["path",{d:"M18 12h.01",key:"yjnet6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cQ=Ee("radio-tower",[["path",{d:"M4.9 16.1C1 12.2 1 5.8 4.9 1.9",key:"s0qx1y"}],["path",{d:"M7.8 4.7a6.14 6.14 0 0 0-.8 7.5",key:"1idnkw"}],["circle",{cx:"12",cy:"9",r:"2",key:"1092wv"}],["path",{d:"M16.2 4.8c2 2 2.26 5.11.8 7.47",key:"ojru2q"}],["path",{d:"M19.1 1.9a9.96 9.96 0 0 1 0 14.1",key:"rhi7fg"}],["path",{d:"M9.5 18h5",key:"mfy3pd"}],["path",{d:"m8 22 4-11 4 11",key:"25yftu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uQ=Ee("radio",[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dQ=Ee("radius",[["path",{d:"M20.34 17.52a10 10 0 1 0-2.82 2.82",key:"fydyku"}],["circle",{cx:"19",cy:"19",r:"2",key:"17f5cg"}],["path",{d:"m13.41 13.41 4.18 4.18",key:"1gqbwc"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fQ=Ee("rail-symbol",[["path",{d:"M5 15h14",key:"m0yey3"}],["path",{d:"M5 9h14",key:"7tsvo6"}],["path",{d:"m14 20-5-5 6-6-5-5",key:"1jo42i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hQ=Ee("rainbow",[["path",{d:"M22 17a10 10 0 0 0-20 0",key:"ozegv"}],["path",{d:"M6 17a6 6 0 0 1 12 0",key:"5giftw"}],["path",{d:"M10 17a2 2 0 0 1 4 0",key:"gnsikk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pQ=Ee("rat",[["path",{d:"M13 22H4a2 2 0 0 1 0-4h12",key:"bt3f23"}],["path",{d:"M13.236 18a3 3 0 0 0-2.2-5",key:"1tbvmo"}],["path",{d:"M16 9h.01",key:"1bdo4e"}],["path",{d:"M16.82 3.94a3 3 0 1 1 3.237 4.868l1.815 2.587a1.5 1.5 0 0 1-1.5 2.1l-2.872-.453a3 3 0 0 0-3.5 3",key:"9ch7kn"}],["path",{d:"M17 4.988a3 3 0 1 0-5.2 2.052A7 7 0 0 0 4 14.015 4 4 0 0 0 8 18",key:"3s7e9i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vQ=Ee("ratio",[["rect",{width:"12",height:"20",x:"6",y:"2",rx:"2",key:"1oxtiu"}],["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mQ=Ee("receipt-cent",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M12 6.5v11",key:"ecfhkf"}],["path",{d:"M15 9.4a4 4 0 1 0 0 5.2",key:"1makmb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gQ=Ee("receipt-euro",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M8 12h5",key:"1g6qi8"}],["path",{d:"M16 9.5a4 4 0 1 0 0 5.2",key:"b2px4r"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yQ=Ee("receipt-indian-rupee",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M8 7h8",key:"i86dvs"}],["path",{d:"M12 17.5 8 15h1a4 4 0 0 0 0-8",key:"grpkl4"}],["path",{d:"M8 11h8",key:"vwpz6n"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _Q=Ee("receipt-japanese-yen",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"m12 10 3-3",key:"1mc12w"}],["path",{d:"m9 7 3 3v7.5",key:"39i0xv"}],["path",{d:"M9 11h6",key:"1fldmi"}],["path",{d:"M9 15h6",key:"cctwl0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xQ=Ee("receipt-pound-sterling",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M8 13h5",key:"1k9z8w"}],["path",{d:"M10 17V9.5a2.5 2.5 0 0 1 5 0",key:"1dzgp0"}],["path",{d:"M8 17h7",key:"8mjdqu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bQ=Ee("receipt-russian-ruble",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M8 15h5",key:"vxg57a"}],["path",{d:"M8 11h5a2 2 0 1 0 0-4h-3v10",key:"1usi5u"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EQ=Ee("receipt-swiss-franc",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M10 17V7h5",key:"k7jq18"}],["path",{d:"M10 11h4",key:"1i0mka"}],["path",{d:"M8 15h5",key:"vxg57a"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SQ=Ee("receipt-text",[["path",{d:"M13 16H8",key:"wsln4y"}],["path",{d:"M14 8H8",key:"1l3xfs"}],["path",{d:"M16 12H8",key:"1fr5h0"}],["path",{d:"M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z",key:"ycz6yz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wQ=Ee("receipt-turkish-lira",[["path",{d:"M10 6.5v11a5.5 5.5 0 0 0 5.5-5.5",key:"nw10mp"}],["path",{d:"m14 8-6 3",key:"2tb98i"}],["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1z",key:"io9ry0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TQ=Ee("receipt",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 17.5v-11",key:"1jc1ny"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AQ=Ee("rectangle-circle",[["path",{d:"M14 4v16H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1z",key:"1m5n7q"}],["circle",{cx:"14",cy:"12",r:"8",key:"1pag6k"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iE=Ee("rectangle-ellipsis",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M7 12h.01",key:"eqddd0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CQ=Ee("rectangle-goggles",[["path",{d:"M20 6a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-4a2 2 0 0 1-1.6-.8l-1.6-2.13a1 1 0 0 0-1.6 0L9.6 17.2A2 2 0 0 1 8 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z",key:"d5y1f"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kQ=Ee("rectangle-horizontal",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MQ=Ee("rectangle-vertical",[["rect",{width:"12",height:"20",x:"6",y:"2",rx:"2",key:"1oxtiu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RQ=Ee("recycle",[["path",{d:"M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5",key:"x6z5xu"}],["path",{d:"M11 19h8.203a1.83 1.83 0 0 0 1.556-.89 1.784 1.784 0 0 0 0-1.775l-1.226-2.12",key:"1x4zh5"}],["path",{d:"m14 16-3 3 3 3",key:"f6jyew"}],["path",{d:"M8.293 13.596 7.196 9.5 3.1 10.598",key:"wf1obh"}],["path",{d:"m9.344 5.811 1.093-1.892A1.83 1.83 0 0 1 11.985 3a1.784 1.784 0 0 1 1.546.888l3.943 6.843",key:"9tzpgr"}],["path",{d:"m13.378 9.633 4.096 1.098 1.097-4.096",key:"1oe83g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NQ=Ee("redo-2",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IQ=Ee("redo-dot",[["circle",{cx:"12",cy:"17",r:"1",key:"1ixnty"}],["path",{d:"M21 7v6h-6",key:"3ptur4"}],["path",{d:"M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7",key:"1kgawr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LQ=Ee("redo",[["path",{d:"M21 7v6h-6",key:"3ptur4"}],["path",{d:"M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7",key:"1kgawr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OQ=Ee("refresh-ccw-dot",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DQ=Ee("refresh-ccw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PQ=Ee("refresh-cw-off",[["path",{d:"M21 8L18.74 5.74A9.75 9.75 0 0 0 12 3C11 3 10.03 3.16 9.13 3.47",key:"1krf6h"}],["path",{d:"M8 16H3v5",key:"1cv678"}],["path",{d:"M3 12C3 9.51 4 7.26 5.64 5.64",key:"ruvoct"}],["path",{d:"m3 16 2.26 2.26A9.75 9.75 0 0 0 12 21c2.49 0 4.74-1 6.36-2.64",key:"19q130"}],["path",{d:"M21 12c0 1-.16 1.97-.47 2.87",key:"4w8emr"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M22 22 2 2",key:"1r8tn9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Gk=Ee("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FQ=Ee("refrigerator",[["path",{d:"M5 6a4 4 0 0 1 4-4h6a4 4 0 0 1 4 4v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6Z",key:"fpq118"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M15 7v6",key:"1nx30x"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BQ=Ee("regex",[["path",{d:"M17 3v10",key:"15fgeh"}],["path",{d:"m12.67 5.5 8.66 5",key:"1gpheq"}],["path",{d:"m12.67 10.5 8.66-5",key:"1dkfa6"}],["path",{d:"M9 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2z",key:"swwfx4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zQ=Ee("remove-formatting",[["path",{d:"M4 7V4h16v3",key:"9msm58"}],["path",{d:"M5 20h6",key:"1h6pxn"}],["path",{d:"M13 4 8 20",key:"kqq6aj"}],["path",{d:"m15 15 5 5",key:"me55sn"}],["path",{d:"m20 15-5 5",key:"11p7ol"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UQ=Ee("repeat-1",[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}],["path",{d:"M11 10h1v4",key:"70cz1p"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $Q=Ee("repeat-2",[["path",{d:"m2 9 3-3 3 3",key:"1ltn5i"}],["path",{d:"M13 18H7a2 2 0 0 1-2-2V6",key:"1r6tfw"}],["path",{d:"m22 15-3 3-3-3",key:"4rnwn2"}],["path",{d:"M11 6h6a2 2 0 0 1 2 2v10",key:"2f72bc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HQ=Ee("repeat",[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VQ=Ee("replace-all",[["path",{d:"M14 14a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"zg1ipl"}],["path",{d:"M14 4a1 1 0 0 1 1-1",key:"dhj8ez"}],["path",{d:"M15 10a1 1 0 0 1-1-1",key:"1mnyi5"}],["path",{d:"M19 14a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"txt6k4"}],["path",{d:"M21 4a1 1 0 0 0-1-1",key:"sfs9ap"}],["path",{d:"M21 9a1 1 0 0 1-1 1",key:"mp6qeo"}],["path",{d:"m3 7 3 3 3-3",key:"x25e72"}],["path",{d:"M6 10V5a2 2 0 0 1 2-2h2",key:"15xut4"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GQ=Ee("replace",[["path",{d:"M14 4a1 1 0 0 1 1-1",key:"dhj8ez"}],["path",{d:"M15 10a1 1 0 0 1-1-1",key:"1mnyi5"}],["path",{d:"M21 4a1 1 0 0 0-1-1",key:"sfs9ap"}],["path",{d:"M21 9a1 1 0 0 1-1 1",key:"mp6qeo"}],["path",{d:"m3 7 3 3 3-3",key:"x25e72"}],["path",{d:"M6 10V5a2 2 0 0 1 2-2h2",key:"15xut4"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jQ=Ee("reply-all",[["path",{d:"m12 17-5-5 5-5",key:"1s3y5u"}],["path",{d:"M22 18v-2a4 4 0 0 0-4-4H7",key:"1fcyog"}],["path",{d:"m7 17-5-5 5-5",key:"1ed8i2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YQ=Ee("rewind",[["path",{d:"M12 6a2 2 0 0 0-3.414-1.414l-6 6a2 2 0 0 0 0 2.828l6 6A2 2 0 0 0 12 18z",key:"2a1g8i"}],["path",{d:"M22 6a2 2 0 0 0-3.414-1.414l-6 6a2 2 0 0 0 0 2.828l6 6A2 2 0 0 0 22 18z",key:"rg3s36"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WQ=Ee("reply",[["path",{d:"M20 18v-2a4 4 0 0 0-4-4H4",key:"5vmcpk"}],["path",{d:"m9 17-5-5 5-5",key:"nvlc11"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KQ=Ee("ribbon",[["path",{d:"M12 11.22C11 9.997 10 9 10 8a2 2 0 0 1 4 0c0 1-.998 2.002-2.01 3.22",key:"1rnhq3"}],["path",{d:"m12 18 2.57-3.5",key:"116vt7"}],["path",{d:"M6.243 9.016a7 7 0 0 1 11.507-.009",key:"10dq0b"}],["path",{d:"M9.35 14.53 12 11.22",key:"tdsyp2"}],["path",{d:"M9.35 14.53C7.728 12.246 6 10.221 6 7a6 5 0 0 1 12 0c-.005 3.22-1.778 5.235-3.43 7.5l3.557 4.527a1 1 0 0 1-.203 1.43l-1.894 1.36a1 1 0 0 1-1.384-.215L12 18l-2.679 3.593a1 1 0 0 1-1.39.213l-1.865-1.353a1 1 0 0 1-.203-1.422z",key:"nmifey"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const r5=Ee("rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XQ=Ee("rocking-chair",[["polyline",{points:"3.5 2 6.5 12.5 18 12.5",key:"y3iy52"}],["line",{x1:"9.5",x2:"5.5",y1:"12.5",y2:"20",key:"19vg5i"}],["line",{x1:"15",x2:"18.5",y1:"12.5",y2:"20",key:"1inpmv"}],["path",{d:"M2.75 18a13 13 0 0 0 18.5 0",key:"1nquas"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qQ=Ee("roller-coaster",[["path",{d:"M6 19V5",key:"1r845m"}],["path",{d:"M10 19V6.8",key:"9j2tfs"}],["path",{d:"M14 19v-7.8",key:"10s8qv"}],["path",{d:"M18 5v4",key:"1tajlv"}],["path",{d:"M18 19v-6",key:"ielfq3"}],["path",{d:"M22 19V9",key:"158nzp"}],["path",{d:"M2 19V9a4 4 0 0 1 4-4c2 0 4 1.33 6 4s4 4 6 4a4 4 0 1 0-3-6.65",key:"1930oh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZQ=Ee("rose",[["path",{d:"M17 10h-1a4 4 0 1 1 4-4v.534",key:"7qf5zm"}],["path",{d:"M17 6h1a4 4 0 0 1 1.42 7.74l-2.29.87a6 6 0 0 1-5.339-10.68l2.069-1.31",key:"1et29u"}],["path",{d:"M4.5 17c2.8-.5 4.4 0 5.5.8s1.8 2.2 2.3 3.7c-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2",key:"kiv2lz"}],["path",{d:"M9.77 12C4 15 2 22 2 22",key:"h28rw0"}],["circle",{cx:"17",cy:"8",r:"2",key:"1330xn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oE=Ee("rotate-3d",[["path",{d:"M16.466 7.5C15.643 4.237 13.952 2 12 2 9.239 2 7 6.477 7 12s2.239 10 5 10c.342 0 .677-.069 1-.2",key:"10n0gc"}],["path",{d:"m15.194 13.707 3.814 1.86-1.86 3.814",key:"16shm9"}],["path",{d:"M19 15.57c-1.804.885-4.274 1.43-7 1.43-5.523 0-10-2.239-10-5s4.477-5 10-5c4.838 0 8.873 1.718 9.8 4",key:"1lxi77"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QQ=Ee("rotate-ccw-key",[["path",{d:"m14.5 9.5 1 1",key:"159eiq"}],["path",{d:"m15.5 8.5-4 4",key:"iirg3q"}],["path",{d:"M3 12a9 9 0 1 0 9-9 9.74 9.74 0 0 0-6.74 2.74L3 8",key:"g2jlw"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["circle",{cx:"10",cy:"14",r:"2",key:"1239so"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JQ=Ee("rotate-ccw-square",[["path",{d:"M20 9V7a2 2 0 0 0-2-2h-6",key:"19z8uc"}],["path",{d:"m15 2-3 3 3 3",key:"177bxs"}],["path",{d:"M20 13v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2",key:"d36hnl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eJ=Ee("rotate-ccw",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tJ=Ee("rotate-cw-square",[["path",{d:"M12 5H6a2 2 0 0 0-2 2v3",key:"l96uqu"}],["path",{d:"m9 8 3-3-3-3",key:"1gzgc3"}],["path",{d:"M4 14v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2",key:"1w2k5h"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rJ=Ee("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nJ=Ee("route-off",[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5c.4 0 .9-.1 1.3-.2",key:"1effex"}],["path",{d:"M5.2 5.2A3.5 3.53 0 0 0 6.5 12H12",key:"k9y2ds"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M21 15.3a3.5 3.5 0 0 0-3.3-3.3",key:"11nlu2"}],["path",{d:"M15 5h-4.3",key:"6537je"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aJ=Ee("router",[["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6.01 18H6",key:"19vcac"}],["path",{d:"M10.01 18H10",key:"uamcmx"}],["path",{d:"M15 10v4",key:"qjz1xs"}],["path",{d:"M17.84 7.17a4 4 0 0 0-5.66 0",key:"1rif40"}],["path",{d:"M20.66 4.34a8 8 0 0 0-11.31 0",key:"6a5xfq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sE=Ee("rows-2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 12h18",key:"1i2n21"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iJ=Ee("route",[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lE=Ee("rows-3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oJ=Ee("rows-4",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 7.5H3",key:"1hm9pq"}],["path",{d:"M21 12H3",key:"2avoz0"}],["path",{d:"M21 16.5H3",key:"n7jzkj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sJ=Ee("rss",[["path",{d:"M4 11a9 9 0 0 1 9 9",key:"pv89mb"}],["path",{d:"M4 4a16 16 0 0 1 16 16",key:"k0647b"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lJ=Ee("ruler-dimension-line",[["path",{d:"M10 15v-3",key:"1pjskw"}],["path",{d:"M14 15v-3",key:"1o1mqj"}],["path",{d:"M18 15v-3",key:"cws6he"}],["path",{d:"M2 8V4",key:"3jv1jz"}],["path",{d:"M22 6H2",key:"1iqbfk"}],["path",{d:"M22 8V4",key:"16f4ou"}],["path",{d:"M6 15v-3",key:"1ij1qe"}],["rect",{x:"2",y:"12",width:"20",height:"8",rx:"2",key:"1tqiko"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cJ=Ee("ruler",[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uJ=Ee("russian-ruble",[["path",{d:"M6 11h8a4 4 0 0 0 0-8H9v18",key:"18ai8t"}],["path",{d:"M6 15h8",key:"1y8f6l"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dJ=Ee("sailboat",[["path",{d:"M10 2v15",key:"1qf71f"}],["path",{d:"M7 22a4 4 0 0 1-4-4 1 1 0 0 1 1-1h16a1 1 0 0 1 1 1 4 4 0 0 1-4 4z",key:"1pxcvx"}],["path",{d:"M9.159 2.46a1 1 0 0 1 1.521-.193l9.977 8.98A1 1 0 0 1 20 13H4a1 1 0 0 1-.824-1.567z",key:"5oog16"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fJ=Ee("salad",[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hJ=Ee("sandwich",[["path",{d:"m2.37 11.223 8.372-6.777a2 2 0 0 1 2.516 0l8.371 6.777",key:"f1wd0e"}],["path",{d:"M21 15a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-5.25",key:"1pfu07"}],["path",{d:"M3 15a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h9",key:"1oq9qw"}],["path",{d:"m6.67 15 6.13 4.6a2 2 0 0 0 2.8-.4l3.15-4.2",key:"1fnwu5"}],["rect",{width:"20",height:"4",x:"2",y:"11",rx:"1",key:"itshg"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pJ=Ee("satellite-dish",[["path",{d:"M4 10a7.31 7.31 0 0 0 10 10Z",key:"1fzpp3"}],["path",{d:"m9 15 3-3",key:"88sc13"}],["path",{d:"M17 13a6 6 0 0 0-6-6",key:"15cc6u"}],["path",{d:"M21 13A10 10 0 0 0 11 3",key:"11nf8s"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vJ=Ee("satellite",[["path",{d:"m13.5 6.5-3.148-3.148a1.205 1.205 0 0 0-1.704 0L6.352 5.648a1.205 1.205 0 0 0 0 1.704L9.5 10.5",key:"dzhfyz"}],["path",{d:"M16.5 7.5 19 5",key:"1ltcjm"}],["path",{d:"m17.5 10.5 3.148 3.148a1.205 1.205 0 0 1 0 1.704l-2.296 2.296a1.205 1.205 0 0 1-1.704 0L13.5 14.5",key:"nfoymv"}],["path",{d:"M9 21a6 6 0 0 0-6-6",key:"1iajcf"}],["path",{d:"M9.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l4.296-4.296a1.205 1.205 0 0 0 0-1.704l-2.296-2.296a1.205 1.205 0 0 0-1.704 0z",key:"nv9zqy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mJ=Ee("saudi-riyal",[["path",{d:"m20 19.5-5.5 1.2",key:"1aenhr"}],["path",{d:"M14.5 4v11.22a1 1 0 0 0 1.242.97L20 15.2",key:"2rtezt"}],["path",{d:"m2.978 19.351 5.549-1.363A2 2 0 0 0 10 16V2",key:"1kbm92"}],["path",{d:"M20 10 4 13.5",key:"8nums9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gJ=Ee("save-all",[["path",{d:"M10 2v3a1 1 0 0 0 1 1h5",key:"1xspal"}],["path",{d:"M18 18v-6a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6",key:"1ra60u"}],["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"M8 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9.172a2 2 0 0 1 1.414.586l2.828 2.828A2 2 0 0 1 22 6.828V16a2 2 0 0 1-2.01 2z",key:"1yve0x"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yJ=Ee("save-off",[["path",{d:"M13 13H8a1 1 0 0 0-1 1v7",key:"h8g396"}],["path",{d:"M14 8h1",key:"1lfen6"}],["path",{d:"M17 21v-4",key:"1yknxs"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M20.41 20.41A2 2 0 0 1 19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 .59-1.41",key:"1t4vdl"}],["path",{d:"M29.5 11.5s5 5 4 5",key:"zzn4i6"}],["path",{d:"M9 3h6.2a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V15",key:"24cby9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _J=Ee("save",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cE=Ee("scale-3d",[["path",{d:"M5 7v11a1 1 0 0 0 1 1h11",key:"13dt1j"}],["path",{d:"M5.293 18.707 11 13",key:"ezgbsx"}],["circle",{cx:"19",cy:"19",r:"2",key:"17f5cg"}],["circle",{cx:"5",cy:"5",r:"2",key:"1gwv83"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xJ=Ee("scaling",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M14 15H9v-5",key:"pi4jk9"}],["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M21 3 9 15",key:"15kdhq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bJ=Ee("scale",[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"m19 8 3 8a5 5 0 0 1-6 0zV7",key:"zcdpyk"}],["path",{d:"M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1",key:"1yorad"}],["path",{d:"m5 8 3 8a5 5 0 0 1-6 0zV7",key:"eua70x"}],["path",{d:"M7 21h10",key:"1b0cd5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EJ=Ee("scan-barcode",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M8 7v10",key:"23sfjj"}],["path",{d:"M12 7v10",key:"jspqdw"}],["path",{d:"M17 7v10",key:"578dap"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SJ=Ee("scan-eye",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0",key:"11ak4c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wJ=Ee("scan-face",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 9h.01",key:"x1ddxp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TJ=Ee("scan-heart",[["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7.828 13.07A3 3 0 0 1 12 8.764a3 3 0 0 1 4.172 4.306l-3.447 3.62a1 1 0 0 1-1.449 0z",key:"1ak1ef"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AJ=Ee("scan-line",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 12h10",key:"b7w52i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CJ=Ee("scan-qr-code",[["path",{d:"M17 12v4a1 1 0 0 1-1 1h-4",key:"uk4fdo"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M17 8V7",key:"q2g9wo"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M7 17h.01",key:"19xn7k"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["rect",{x:"7",y:"7",width:"5",height:"5",rx:"1",key:"m9kyts"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kJ=Ee("scan-search",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MJ=Ee("scan-text",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 8h8",key:"1jbsf9"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M7 16h6",key:"1vyc9m"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RJ=Ee("scan",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NJ=Ee("school",[["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M18 5v16",key:"1ethyx"}],["path",{d:"m4 6 7.106-3.79a2 2 0 0 1 1.788 0L20 6",key:"zywc2d"}],["path",{d:"m6 11-3.52 2.147a1 1 0 0 0-.48.854V19a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a1 1 0 0 0-.48-.853L18 11",key:"1d4ql0"}],["path",{d:"M6 5v16",key:"1sn0nx"}],["circle",{cx:"12",cy:"9",r:"2",key:"1092wv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IJ=Ee("scissors-line-dashed",[["path",{d:"M5.42 9.42 8 12",key:"12pkuq"}],["circle",{cx:"4",cy:"8",r:"2",key:"107mxr"}],["path",{d:"m14 6-8.58 8.58",key:"gvzu5l"}],["circle",{cx:"4",cy:"16",r:"2",key:"1ehqvc"}],["path",{d:"M10.8 14.8 14 18",key:"ax7m9r"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LJ=Ee("scissors",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OJ=Ee("screen-share-off",[["path",{d:"M13 3H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3",key:"i8wdob"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m22 3-5 5",key:"12jva0"}],["path",{d:"m17 3 5 5",key:"k36vhe"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DJ=Ee("screen-share",[["path",{d:"M13 3H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3",key:"i8wdob"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m17 8 5-5",key:"fqif7o"}],["path",{d:"M17 3h5v5",key:"1o3tu8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PJ=Ee("scroll-text",[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FJ=Ee("scroll",[["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BJ=Ee("search-check",[["path",{d:"m8 11 2 2 4-4",key:"1sed1v"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zJ=Ee("search-code",[["path",{d:"m13 13.5 2-2.5-2-2.5",key:"1rvxrh"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}],["path",{d:"M9 8.5 7 11l2 2.5",key:"6ffwbx"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UJ=Ee("search-slash",[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $J=Ee("search-x",[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5",key:"a8mexj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jk=Ee("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HJ=Ee("section",[["path",{d:"M16 5a4 3 0 0 0-8 0c0 4 8 3 8 7a4 3 0 0 1-8 0",key:"vqan6v"}],["path",{d:"M8 19a4 3 0 0 0 8 0c0-4-8-3-8-7a4 3 0 0 1 8 0",key:"wdjd8o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uE=Ee("send-horizontal",[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VJ=Ee("send-to-back",[["rect",{x:"14",y:"14",width:"8",height:"8",rx:"2",key:"1b0bso"}],["rect",{x:"2",y:"2",width:"8",height:"8",rx:"2",key:"1x09vl"}],["path",{d:"M7 14v1a2 2 0 0 0 2 2h1",key:"pao6x6"}],["path",{d:"M14 7h1a2 2 0 0 1 2 2v1",key:"19tdru"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GJ=Ee("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jJ=Ee("separator-horizontal",[["path",{d:"m16 16-4 4-4-4",key:"3dv8je"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"m8 8 4-4 4 4",key:"2bscm2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YJ=Ee("separator-vertical",[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"m16 16 4-4-4-4",key:"1js579"}],["path",{d:"m8 8-4 4 4 4",key:"1whems"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WJ=Ee("server-cog",[["path",{d:"m10.852 14.772-.383.923",key:"11vil6"}],["path",{d:"M13.148 14.772a3 3 0 1 0-2.296-5.544l-.383-.923",key:"1v3clb"}],["path",{d:"m13.148 9.228.383-.923",key:"t2zzyc"}],["path",{d:"m13.53 15.696-.382-.924a3 3 0 1 1-2.296-5.544",key:"1bxfiv"}],["path",{d:"m14.772 10.852.923-.383",key:"k9m8cz"}],["path",{d:"m14.772 13.148.923.383",key:"1xvhww"}],["path",{d:"M4.5 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-.5",key:"tn8das"}],["path",{d:"M4.5 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-.5",key:"1g2pve"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M6 6h.01",key:"1utrut"}],["path",{d:"m9.228 10.852-.923-.383",key:"1wtb30"}],["path",{d:"m9.228 13.148-.923.383",key:"1a830x"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KJ=Ee("server-crash",[["path",{d:"M6 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-2",key:"4b9dqc"}],["path",{d:"M6 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2",key:"22nnkd"}],["path",{d:"M6 6h.01",key:"1utrut"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m13 6-4 6h6l-4 6",key:"14hqih"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XJ=Ee("server-off",[["path",{d:"M7 2h13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-5",key:"bt2siv"}],["path",{d:"M10 10 2.5 2.5C2 2 2 2.5 2 5v3a2 2 0 0 0 2 2h6z",key:"1hjrv1"}],["path",{d:"M22 17v-1a2 2 0 0 0-2-2h-1",key:"1iynyr"}],["path",{d:"M4 14a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16.5l1-.5.5.5-8-8H4z",key:"161ggg"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qJ=Ee("server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Yk=Ee("settings-2",[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZJ=Ee("settings",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QJ=Ee("shapes",[["path",{d:"M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z",key:"1bo67w"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}],["circle",{cx:"17.5",cy:"17.5",r:"3.5",key:"w3z12y"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JJ=Ee("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eee=Ee("share",[["path",{d:"M12 2v13",key:"1km8f5"}],["path",{d:"m16 6-4-4-4 4",key:"13yo43"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tee=Ee("sheet",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"3",x2:"21",y1:"9",y2:"9",key:"1vqk6q"}],["line",{x1:"3",x2:"21",y1:"15",y2:"15",key:"o2sbyz"}],["line",{x1:"9",x2:"9",y1:"9",y2:"21",key:"1ib60c"}],["line",{x1:"15",x2:"15",y1:"9",y2:"21",key:"1n26ft"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ree=Ee("shell",[["path",{d:"M14 11a2 2 0 1 1-4 0 4 4 0 0 1 8 0 6 6 0 0 1-12 0 8 8 0 0 1 16 0 10 10 0 1 1-20 0 11.93 11.93 0 0 1 2.42-7.22 2 2 0 1 1 3.16 2.44",key:"1cn552"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nee=Ee("shield-alert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aee=Ee("shield-ban",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m4.243 5.21 14.39 12.472",key:"1c9a7c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iee=Ee("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oee=Ee("shield-ellipsis",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const see=Ee("shield-half",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 22V2",key:"zs6s6o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lee=Ee("shield-minus",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M9 12h6",key:"1c52cq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cee=Ee("shield-off",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71",key:"1jlk70"}],["path",{d:"M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264",key:"18rp1v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uee=Ee("shield-plus",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M9 12h6",key:"1c52cq"}],["path",{d:"M12 9v6",key:"199k2o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dE=Ee("shield-question-mark",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fE=Ee("shield-x",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m14.5 9.5-5 5",key:"17q4r4"}],["path",{d:"m9.5 9.5 5 5",key:"18nt4w"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dee=Ee("shield-user",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M6.376 18.91a6 6 0 0 1 11.249.003",key:"hnjrf2"}],["circle",{cx:"12",cy:"11",r:"4",key:"1gt34v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const n5=Ee("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fee=Ee("ship-wheel",[["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}],["path",{d:"M12 2v7.5",key:"1e5rl5"}],["path",{d:"m19 5-5.23 5.23",key:"1ezxxf"}],["path",{d:"M22 12h-7.5",key:"le1719"}],["path",{d:"m19 19-5.23-5.23",key:"p3fmgn"}],["path",{d:"M12 14.5V22",key:"dgcmos"}],["path",{d:"M10.23 13.77 5 19",key:"qwopd4"}],["path",{d:"M9.5 12H2",key:"r7bup8"}],["path",{d:"M10.23 10.23 5 5",key:"k2y7lj"}],["circle",{cx:"12",cy:"12",r:"2.5",key:"ix0uyj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hee=Ee("ship",[["path",{d:"M12 10.189V14",key:"1p8cqu"}],["path",{d:"M12 2v3",key:"qbqxhf"}],["path",{d:"M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6",key:"qpkstq"}],["path",{d:"M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76",key:"7tigtc"}],["path",{d:"M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"1924j5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pee=Ee("shirt",[["path",{d:"M20.38 3.46 16 2a4 4 0 0 1-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.47a1 1 0 0 0 .99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.47a2 2 0 0 0-1.34-2.23z",key:"1wgbhj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vee=Ee("shopping-bag",[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mee=Ee("shopping-basket",[["path",{d:"m15 11-1 9",key:"5wnq3a"}],["path",{d:"m19 11-4-7",key:"cnml18"}],["path",{d:"M2 11h20",key:"3eubbj"}],["path",{d:"m3.5 11 1.6 7.4a2 2 0 0 0 2 1.6h9.8a2 2 0 0 0 2-1.6l1.7-7.4",key:"yiazzp"}],["path",{d:"M4.5 15.5h15",key:"13mye1"}],["path",{d:"m5 11 4-7",key:"116ra9"}],["path",{d:"m9 11 1 9",key:"1ojof7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gee=Ee("shovel",[["path",{d:"M21.56 4.56a1.5 1.5 0 0 1 0 2.122l-.47.47a3 3 0 0 1-4.212-.03 3 3 0 0 1 0-4.243l.44-.44a1.5 1.5 0 0 1 2.121 0z",key:"1gcedi"}],["path",{d:"M3 22a1 1 0 0 1-1-1v-3.586a1 1 0 0 1 .293-.707l3.355-3.355a1.205 1.205 0 0 1 1.704 0l3.296 3.296a1.205 1.205 0 0 1 0 1.704l-3.355 3.355a1 1 0 0 1-.707.293z",key:"pg9kv3"}],["path",{d:"m9 15 7.879-7.878",key:"1o1zgh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yee=Ee("shopping-cart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _ee=Ee("shower-head",[["path",{d:"m4 4 2.5 2.5",key:"uv2vmf"}],["path",{d:"M13.5 6.5a4.95 4.95 0 0 0-7 7",key:"frdkwv"}],["path",{d:"M15 5 5 15",key:"1ag8rq"}],["path",{d:"M14 17v.01",key:"eokfpp"}],["path",{d:"M10 16v.01",key:"14uyyl"}],["path",{d:"M13 13v.01",key:"1v1k97"}],["path",{d:"M16 10v.01",key:"5169yg"}],["path",{d:"M11 20v.01",key:"cj92p8"}],["path",{d:"M17 14v.01",key:"11cswd"}],["path",{d:"M20 11v.01",key:"19e0od"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xee=Ee("shredder",[["path",{d:"M4 13V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5",key:"1eob4r"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 22v-5",key:"sfixh4"}],["path",{d:"M14 19v-2",key:"pdve8j"}],["path",{d:"M18 20v-3",key:"uox2gk"}],["path",{d:"M2 13h20",key:"5evz65"}],["path",{d:"M6 20v-3",key:"c6pdcb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bee=Ee("shrimp",[["path",{d:"M11 12h.01",key:"1lr4k6"}],["path",{d:"M13 22c.5-.5 1.12-1 2.5-1-1.38 0-2-.5-2.5-1",key:"fatpdi"}],["path",{d:"M14 2a3.28 3.28 0 0 1-3.227 1.798l-6.17-.561A2.387 2.387 0 1 0 4.387 8H15.5a1 1 0 0 1 0 13 1 1 0 0 0 0-5H12a7 7 0 0 1-7-7V8",key:"kehrqe"}],["path",{d:"M14 8a8.5 8.5 0 0 1 0 8",key:"1imjx2"}],["path",{d:"M16 16c2 0 4.5-4 4-6",key:"z0nejz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Eee=Ee("shrink",[["path",{d:"m15 15 6 6m-6-6v4.8m0-4.8h4.8",key:"17vawe"}],["path",{d:"M9 19.8V15m0 0H4.2M9 15l-6 6",key:"chjx8e"}],["path",{d:"M15 4.2V9m0 0h4.8M15 9l6-6",key:"lav6yq"}],["path",{d:"M9 4.2V9m0 0H4.2M9 9 3 3",key:"1pxi2q"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const See=Ee("shrub",[["path",{d:"M12 22v-5.172a2 2 0 0 0-.586-1.414L9.5 13.5",key:"1p17fm"}],["path",{d:"M14.5 14.5 12 17",key:"dy5w4y"}],["path",{d:"M17 8.8A6 6 0 0 1 13.8 20H10A6.5 6.5 0 0 1 7 8a5 5 0 0 1 10 0z",key:"6z7b3o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wee=Ee("shuffle",[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Tee=Ee("sigma",[["path",{d:"M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2",key:"wuwx1p"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Aee=Ee("signal-high",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Cee=Ee("signal-low",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kee=Ee("signal-medium",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Mee=Ee("signal",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}],["path",{d:"M22 4v16",key:"sih9yq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ree=Ee("signature",[["path",{d:"m21 17-2.156-1.868A.5.5 0 0 0 18 15.5v.5a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1c0-2.545-3.991-3.97-8.5-4a1 1 0 0 0 0 5c4.153 0 4.745-11.295 5.708-13.5a2.5 2.5 0 1 1 3.31 3.284",key:"y32ogt"}],["path",{d:"M3 21h18",key:"itz85i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Nee=Ee("signal-zero",[["path",{d:"M2 20h.01",key:"4haj6o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Iee=Ee("signpost-big",[["path",{d:"M10 9H4L2 7l2-2h6",key:"1hq7x2"}],["path",{d:"M14 5h6l2 2-2 2h-6",key:"bv62ej"}],["path",{d:"M10 22V4a2 2 0 1 1 4 0v18",key:"eqpcf2"}],["path",{d:"M8 22h8",key:"rmew8v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Lee=Ee("siren",[["path",{d:"M7 18v-6a5 5 0 1 1 10 0v6",key:"pcx96s"}],["path",{d:"M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z",key:"1b4s83"}],["path",{d:"M21 12h1",key:"jtio3y"}],["path",{d:"M18.5 4.5 18 5",key:"g5sp9y"}],["path",{d:"M2 12h1",key:"1uaihz"}],["path",{d:"M12 2v1",key:"11qlp1"}],["path",{d:"m4.929 4.929.707.707",key:"1i51kw"}],["path",{d:"M12 12v6",key:"3ahymv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Oee=Ee("signpost",[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M12 3v3",key:"1n5kay"}],["path",{d:"M18 6a2 2 0 0 1 1.387.56l2.307 2.22a1 1 0 0 1 0 1.44l-2.307 2.22A2 2 0 0 1 18 13H6a2 2 0 0 1-1.387-.56l-2.306-2.22a1 1 0 0 1 0-1.44l2.306-2.22A2 2 0 0 1 6 6z",key:"gqqp9m"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Dee=Ee("skip-back",[["path",{d:"M17.971 4.285A2 2 0 0 1 21 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z",key:"15892j"}],["path",{d:"M3 20V4",key:"1ptbpl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Pee=Ee("skip-forward",[["path",{d:"M21 4v16",key:"7j8fe9"}],["path",{d:"M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z",key:"zs4d6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fee=Ee("skull",[["path",{d:"m12.5 17-.5-1-.5 1h1z",key:"3me087"}],["path",{d:"M15 22a1 1 0 0 0 1-1v-1a2 2 0 0 0 1.56-3.25 8 8 0 1 0-11.12 0A2 2 0 0 0 8 20v1a1 1 0 0 0 1 1z",key:"1o5pge"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Bee=Ee("slack",[["rect",{width:"3",height:"8",x:"13",y:"2",rx:"1.5",key:"diqz80"}],["path",{d:"M19 8.5V10h1.5A1.5 1.5 0 1 0 19 8.5",key:"183iwg"}],["rect",{width:"3",height:"8",x:"8",y:"14",rx:"1.5",key:"hqg7r1"}],["path",{d:"M5 15.5V14H3.5A1.5 1.5 0 1 0 5 15.5",key:"76g71w"}],["rect",{width:"8",height:"3",x:"14",y:"13",rx:"1.5",key:"1kmz0a"}],["path",{d:"M15.5 19H14v1.5a1.5 1.5 0 1 0 1.5-1.5",key:"jc4sz0"}],["rect",{width:"8",height:"3",x:"2",y:"8",rx:"1.5",key:"1omvl4"}],["path",{d:"M8.5 5H10V3.5A1.5 1.5 0 1 0 8.5 5",key:"16f3cl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zee=Ee("slash",[["path",{d:"M22 2 2 22",key:"y4kqgn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Uee=Ee("slice",[["path",{d:"M11 16.586V19a1 1 0 0 1-1 1H2L18.37 3.63a1 1 0 1 1 3 3l-9.663 9.663a1 1 0 0 1-1.414 0L8 14",key:"1sllp5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $ee=Ee("sliders-horizontal",[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hE=Ee("sliders-vertical",[["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M12 21v-9",key:"17s77i"}],["path",{d:"M12 8V3",key:"13r4qs"}],["path",{d:"M17 16h4",key:"h1uq16"}],["path",{d:"M19 12V3",key:"o1uvq1"}],["path",{d:"M19 21v-5",key:"qua636"}],["path",{d:"M3 14h4",key:"bcjad9"}],["path",{d:"M5 10V3",key:"cb8scm"}],["path",{d:"M5 21v-7",key:"1w1uti"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Hee=Ee("smartphone-charging",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12.667 8 10 12h4l-2.667 4",key:"h9lk2d"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vee=Ee("smartphone-nfc",[["rect",{width:"7",height:"12",x:"2",y:"6",rx:"1",key:"5nje8w"}],["path",{d:"M13 8.32a7.43 7.43 0 0 1 0 7.36",key:"1g306n"}],["path",{d:"M16.46 6.21a11.76 11.76 0 0 1 0 11.58",key:"uqvjvo"}],["path",{d:"M19.91 4.1a15.91 15.91 0 0 1 .01 15.8",key:"ujntz3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Gee=Ee("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jee=Ee("smile-plus",[["path",{d:"M22 11v1a10 10 0 1 1-9-10",key:"ew0xw9"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}],["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Yee=Ee("smile",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wee=Ee("snail",[["path",{d:"M2 13a6 6 0 1 0 12 0 4 4 0 1 0-8 0 2 2 0 0 0 4 0",key:"hneq2s"}],["circle",{cx:"10",cy:"13",r:"8",key:"194lz3"}],["path",{d:"M2 21h12c4.4 0 8-3.6 8-8V7a2 2 0 1 0-4 0v6",key:"ixqyt7"}],["path",{d:"M18 3 19.1 5.2",key:"9tjm43"}],["path",{d:"M22 3 20.9 5.2",key:"j3odrs"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kee=Ee("snowflake",[["path",{d:"m10 20-1.25-2.5L6 18",key:"18frcb"}],["path",{d:"M10 4 8.75 6.5 6 6",key:"7mghy3"}],["path",{d:"m14 20 1.25-2.5L18 18",key:"1chtki"}],["path",{d:"m14 4 1.25 2.5L18 6",key:"1b4wsy"}],["path",{d:"m17 21-3-6h-4",key:"15hhxa"}],["path",{d:"m17 3-3 6 1.5 3",key:"11697g"}],["path",{d:"M2 12h6.5L10 9",key:"kv9z4n"}],["path",{d:"m20 10-1.5 2 1.5 2",key:"1swlpi"}],["path",{d:"M22 12h-6.5L14 15",key:"1mxi28"}],["path",{d:"m4 10 1.5 2L4 14",key:"k9enpj"}],["path",{d:"m7 21 3-6-1.5-3",key:"j8hb9u"}],["path",{d:"m7 3 3 6h4",key:"1otusx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Xee=Ee("soap-dispenser-droplet",[["path",{d:"M10.5 2v4",key:"1xt6in"}],["path",{d:"M14 2H7a2 2 0 0 0-2 2",key:"e6xig3"}],["path",{d:"M19.29 14.76A6.67 6.67 0 0 1 17 11a6.6 6.6 0 0 1-2.29 3.76c-1.15.92-1.71 2.04-1.71 3.19 0 2.22 1.8 4.05 4 4.05s4-1.83 4-4.05c0-1.16-.57-2.26-1.71-3.19",key:"adq7uc"}],["path",{d:"M9.607 21H6a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7V7a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"t9hm96"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qee=Ee("sofa",[["path",{d:"M20 9V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v3",key:"1dgpiv"}],["path",{d:"M2 16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z",key:"xacw8m"}],["path",{d:"M4 18v2",key:"jwo5n2"}],["path",{d:"M20 18v2",key:"1ar1qi"}],["path",{d:"M12 4v9",key:"oqhhn3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zee=Ee("solar-panel",[["path",{d:"M11 2h2",key:"isr7bz"}],["path",{d:"m14.28 14-4.56 8",key:"4anwcf"}],["path",{d:"m21 22-1.558-4H4.558",key:"enk13h"}],["path",{d:"M3 10v2",key:"w8mti9"}],["path",{d:"M6.245 15.04A2 2 0 0 1 8 14h12a1 1 0 0 1 .864 1.505l-3.11 5.457A2 2 0 0 1 16 22H4a1 1 0 0 1-.863-1.506z",key:"pouggg"}],["path",{d:"M7 2a4 4 0 0 1-4 4",key:"78s8of"}],["path",{d:"m8.66 7.66 1.41 1.41",key:"1vaqj8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qee=Ee("soup",[["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M19.5 12 22 6",key:"shfsr5"}],["path",{d:"M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62",key:"rpc6vp"}],["path",{d:"M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62",key:"1lf63m"}],["path",{d:"M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62",key:"97tijn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jee=Ee("space",[["path",{d:"M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1",key:"lt2kga"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ete=Ee("spade",[["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"M2 14.499a5.5 5.5 0 0 0 9.591 3.675.6.6 0 0 1 .818.001A5.5 5.5 0 0 0 22 14.5c0-2.29-1.5-4-3-5.5l-5.492-5.312a2 2 0 0 0-3-.02L5 8.999c-1.5 1.5-3 3.2-3 5.5",key:"1aw2pz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tte=Ee("sparkle",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pE=Ee("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rte=Ee("speaker",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["circle",{cx:"12",cy:"14",r:"4",key:"1jruaj"}],["path",{d:"M12 14h.01",key:"1etili"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nte=Ee("speech",[["path",{d:"M8.8 20v-4.1l1.9.2a2.3 2.3 0 0 0 2.164-2.1V8.3A5.37 5.37 0 0 0 2 8.25c0 2.8.656 3.054 1 4.55a5.77 5.77 0 0 1 .029 2.758L2 20",key:"11atix"}],["path",{d:"M19.8 17.8a7.5 7.5 0 0 0 .003-10.603",key:"yol142"}],["path",{d:"M17 15a3.5 3.5 0 0 0-.025-4.975",key:"ssbmkc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ate=Ee("spell-check-2",[["path",{d:"m6 16 6-12 6 12",key:"1b4byz"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M4 21c1.1 0 1.1-1 2.3-1s1.1 1 2.3 1c1.1 0 1.1-1 2.3-1 1.1 0 1.1 1 2.3 1 1.1 0 1.1-1 2.3-1 1.1 0 1.1 1 2.3 1 1.1 0 1.1-1 2.3-1",key:"8mdmtu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ite=Ee("spell-check",[["path",{d:"m6 16 6-12 6 12",key:"1b4byz"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"m16 20 2 2 4-4",key:"13tcca"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ote=Ee("spline-pointer",[["path",{d:"M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z",key:"xwnzip"}],["path",{d:"M5 17A12 12 0 0 1 17 5",key:"1okkup"}],["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ste=Ee("spline",[["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}],["path",{d:"M5 17A12 12 0 0 1 17 5",key:"1okkup"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lte=Ee("split",[["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M8 3H3v5",key:"15dfkv"}],["path",{d:"M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3",key:"1qrqzj"}],["path",{d:"m15 9 6-6",key:"ko1vev"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cte=Ee("spool",[["path",{d:"M17 13.44 4.442 17.082A2 2 0 0 0 4.982 21H19a2 2 0 0 0 .558-3.921l-1.115-.32A2 2 0 0 1 17 14.837V7.66",key:"13vns8"}],["path",{d:"m7 10.56 12.558-3.642A2 2 0 0 0 19.018 3H5a2 2 0 0 0-.558 3.921l1.115.32A2 2 0 0 1 7 9.163v7.178",key:"s8x3u0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ute=Ee("spotlight",[["path",{d:"M15.295 19.562 16 22",key:"31jsb7"}],["path",{d:"m17 16 3.758 2.098",key:"121ar7"}],["path",{d:"m19 12.5 3.026-.598",key:"19ukd3"}],["path",{d:"M7.61 6.3a3 3 0 0 0-3.92 1.3l-1.38 2.79a3 3 0 0 0 1.3 3.91l6.89 3.597a1 1 0 0 0 1.342-.447l3.106-6.211a1 1 0 0 0-.447-1.341z",key:"lwb9l9"}],["path",{d:"M8 9V2",key:"1xa0v7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dte=Ee("spray-can",[["path",{d:"M3 3h.01",key:"159qn6"}],["path",{d:"M7 5h.01",key:"1hq22a"}],["path",{d:"M11 7h.01",key:"1osv80"}],["path",{d:"M3 7h.01",key:"1xzrh3"}],["path",{d:"M7 9h.01",key:"19b3jx"}],["path",{d:"M3 11h.01",key:"1eifu7"}],["rect",{width:"4",height:"4",x:"15",y:"5",key:"mri9e4"}],["path",{d:"m19 9 2 2v10c0 .6-.4 1-1 1h-6c-.6 0-1-.4-1-1V11l2-2",key:"aib6hk"}],["path",{d:"m13 14 8-2",key:"1d7bmk"}],["path",{d:"m13 19 8-2",key:"1y2vml"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fte=Ee("sprout",[["path",{d:"M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3",key:"139s4v"}],["path",{d:"M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4",key:"1dlkgp"}],["path",{d:"M5 21h14",key:"11awu3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vE=Ee("square-activity",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M17 12h-2l-2 5-2-10-2 5H7",key:"15hlnc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mE=Ee("square-arrow-down-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m16 8-8 8",key:"166keh"}],["path",{d:"M16 16H8V8",key:"1w2ppm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gE=Ee("square-arrow-down-right",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m8 8 8 8",key:"1imecy"}],["path",{d:"M16 8v8H8",key:"1lbpgo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yE=Ee("square-arrow-down",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8 12 4 4 4-4",key:"k98ssh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _E=Ee("square-arrow-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m12 8-4 4 4 4",key:"15vm53"}],["path",{d:"M16 12H8",key:"1fr5h0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xE=Ee("square-arrow-out-down-left",[["path",{d:"M13 21h6a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v6",key:"14qz4y"}],["path",{d:"m3 21 9-9",key:"1jfql5"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bE=Ee("square-arrow-out-down-right",[["path",{d:"M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6",key:"14rsvq"}],["path",{d:"m21 21-9-9",key:"1et2py"}],["path",{d:"M21 15v6h-6",key:"1jko0i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EE=Ee("square-arrow-out-up-left",[["path",{d:"M13 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-6",key:"14mv1t"}],["path",{d:"m3 3 9 9",key:"rks13r"}],["path",{d:"M3 9V3h6",key:"ira0h2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SE=Ee("square-arrow-out-up-right",[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wE=Ee("square-arrow-right",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"m12 16 4-4-4-4",key:"1i9zcv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TE=Ee("square-arrow-up-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 16V8h8",key:"19xb1h"}],["path",{d:"M16 16 8 8",key:"1qdy8n"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AE=Ee("square-arrow-up-right",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 8h8v8",key:"b65dnt"}],["path",{d:"m8 16 8-8",key:"13b9ih"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CE=Ee("square-arrow-up",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kE=Ee("square-asterisk",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8.5 14 7-4",key:"12hpby"}],["path",{d:"m8.5 10 7 4",key:"wwy2dy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const im=Ee("square-chart-gantt",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 8h7",key:"kbo1nt"}],["path",{d:"M8 12h6",key:"ikassy"}],["path",{d:"M11 16h5",key:"oq65wt"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ME=Ee("square-bottom-dashed-scissors",[["path",{d:"M4 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2",key:"1vzg26"}],["path",{d:"M10 22H8",key:"euku7a"}],["path",{d:"M16 22h-2",key:"18d249"}],["circle",{cx:"8",cy:"8",r:"2",key:"14cg06"}],["path",{d:"M9.414 9.414 12 12",key:"qz4lzr"}],["path",{d:"M14.8 14.8 18 18",key:"11flf1"}],["circle",{cx:"8",cy:"16",r:"2",key:"1acxsx"}],["path",{d:"m18 6-8.586 8.586",key:"11kzk1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RE=Ee("square-check",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NE=Ee("square-check-big",[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IE=Ee("square-chevron-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m14 16-4-4 4-4",key:"ojs7w8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LE=Ee("square-chevron-down",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m16 10-4 4-4-4",key:"894hmk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OE=Ee("square-chevron-right",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m10 8 4 4-4 4",key:"1wy4r4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DE=Ee("square-chevron-up",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m8 14 4-4 4 4",key:"fy2ptz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PE=Ee("square-code",[["path",{d:"m10 9-3 3 3 3",key:"1oro0q"}],["path",{d:"m14 15 3-3-3-3",key:"bz13h7"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hte=Ee("square-dashed-bottom-code",[["path",{d:"M10 9.5 8 12l2 2.5",key:"3mjy60"}],["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"m14 9.5 2 2.5-2 2.5",key:"1bir2l"}],["path",{d:"M5 21a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2",key:"as5y1o"}],["path",{d:"M9 21h1",key:"15o7lz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pte=Ee("square-dashed-bottom",[["path",{d:"M5 21a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2",key:"as5y1o"}],["path",{d:"M9 21h1",key:"15o7lz"}],["path",{d:"M14 21h1",key:"v9vybs"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FE=Ee("square-dashed-kanban",[["path",{d:"M8 7v7",key:"1x2jlm"}],["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M16 7v9",key:"1hp2iy"}],["path",{d:"M5 3a2 2 0 0 0-2 2",key:"y57alp"}],["path",{d:"M9 3h1",key:"1yesri"}],["path",{d:"M14 3h1",key:"1ec4yj"}],["path",{d:"M19 3a2 2 0 0 1 2 2",key:"18rm91"}],["path",{d:"M21 9v1",key:"mxsmne"}],["path",{d:"M21 14v1",key:"169vum"}],["path",{d:"M21 19a2 2 0 0 1-2 2",key:"1j7049"}],["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"M9 21h1",key:"15o7lz"}],["path",{d:"M5 21a2 2 0 0 1-2-2",key:"sbafld"}],["path",{d:"M3 14v1",key:"vnatye"}],["path",{d:"M3 9v1",key:"1r0deq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BE=Ee("square-dashed-mouse-pointer",[["path",{d:"M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z",key:"xwnzip"}],["path",{d:"M5 3a2 2 0 0 0-2 2",key:"y57alp"}],["path",{d:"M19 3a2 2 0 0 1 2 2",key:"18rm91"}],["path",{d:"M5 21a2 2 0 0 1-2-2",key:"sbafld"}],["path",{d:"M9 3h1",key:"1yesri"}],["path",{d:"M9 21h2",key:"1qve2z"}],["path",{d:"M14 3h1",key:"1ec4yj"}],["path",{d:"M3 9v1",key:"1r0deq"}],["path",{d:"M21 9v2",key:"p14lih"}],["path",{d:"M3 14v1",key:"vnatye"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vte=Ee("square-dashed-top-solid",[["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"M21 14v1",key:"169vum"}],["path",{d:"M21 19a2 2 0 0 1-2 2",key:"1j7049"}],["path",{d:"M21 9v1",key:"mxsmne"}],["path",{d:"M3 14v1",key:"vnatye"}],["path",{d:"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2",key:"89voep"}],["path",{d:"M3 9v1",key:"1r0deq"}],["path",{d:"M5 21a2 2 0 0 1-2-2",key:"sbafld"}],["path",{d:"M9 21h1",key:"15o7lz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zE=Ee("square-dashed",[["path",{d:"M5 3a2 2 0 0 0-2 2",key:"y57alp"}],["path",{d:"M19 3a2 2 0 0 1 2 2",key:"18rm91"}],["path",{d:"M21 19a2 2 0 0 1-2 2",key:"1j7049"}],["path",{d:"M5 21a2 2 0 0 1-2-2",key:"sbafld"}],["path",{d:"M9 3h1",key:"1yesri"}],["path",{d:"M9 21h1",key:"15o7lz"}],["path",{d:"M14 3h1",key:"1ec4yj"}],["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"M3 9v1",key:"1r0deq"}],["path",{d:"M21 9v1",key:"mxsmne"}],["path",{d:"M3 14v1",key:"vnatye"}],["path",{d:"M21 14v1",key:"169vum"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UE=Ee("square-divide",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}],["line",{x1:"12",x2:"12",y1:"16",y2:"16",key:"aqc6ln"}],["line",{x1:"12",x2:"12",y1:"8",y2:"8",key:"1mkcni"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $E=Ee("square-dot",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HE=Ee("square-equal",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M7 14h10",key:"1mhdw3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VE=Ee("square-function",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M9 17c2 0 2.8-1 2.8-2.8V10c0-2 1-3.3 3.2-3",key:"m1af9g"}],["path",{d:"M9 11.2h5.7",key:"3zgcl2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GE=Ee("square-kanban",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 7v7",key:"1x2jlm"}],["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M16 7v9",key:"1hp2iy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jE=Ee("square-library",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 7v10",key:"d5nglc"}],["path",{d:"M11 7v10",key:"pptsnr"}],["path",{d:"m15 7 2 10",key:"1m7qm5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YE=Ee("square-m",[["path",{d:"M8 16V8.5a.5.5 0 0 1 .9-.3l2.7 3.599a.5.5 0 0 0 .8 0l2.7-3.6a.5.5 0 0 1 .9.3V16",key:"1ywlsj"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WE=Ee("square-menu",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 8h10",key:"1jw688"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M7 16h10",key:"wp8him"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KE=Ee("square-minus",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const XE=Ee("square-mouse-pointer",[["path",{d:"M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z",key:"xwnzip"}],["path",{d:"M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6",key:"14rsvq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qE=Ee("square-parking-off",[["path",{d:"M3.6 3.6A2 2 0 0 1 5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-.59 1.41",key:"9l1ft6"}],["path",{d:"M3 8.7V19a2 2 0 0 0 2 2h10.3",key:"17knke"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M13 13a3 3 0 1 0 0-6H9v2",key:"uoagbd"}],["path",{d:"M9 17v-2.3",key:"1jxgo2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZE=Ee("square-parking",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 17V7h4a3 3 0 0 1 0 6H9",key:"1dfk2c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mte=Ee("square-pause",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Yp=Ee("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QE=Ee("square-percent",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const JE=Ee("square-pi",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 7h10",key:"udp07y"}],["path",{d:"M10 7v10",key:"i1d9ee"}],["path",{d:"M16 17a2 2 0 0 1-2-2V7",key:"ftwdc7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eS=Ee("square-pilcrow",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 12H9.5a2.5 2.5 0 0 1 0-5H17",key:"1l9586"}],["path",{d:"M12 7v10",key:"jspqdw"}],["path",{d:"M16 7v10",key:"lavkr4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tS=Ee("square-plus",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rS=Ee("square-power",[["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M7.998 9.003a5 5 0 1 0 8-.005",key:"1pek45"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nS=Ee("square-play",[["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gte=Ee("square-radical",[["path",{d:"M7 12h2l2 5 2-10h4",key:"1fxv6h"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yte=Ee("square-round-corner",[["path",{d:"M21 11a8 8 0 0 0-8-8",key:"1lxwo5"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1dv2y5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aS=Ee("square-scissors",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"2",key:"1btzen"}],["circle",{cx:"8",cy:"8",r:"2",key:"14cg06"}],["path",{d:"M9.414 9.414 12 12",key:"qz4lzr"}],["path",{d:"M14.8 14.8 18 18",key:"11flf1"}],["circle",{cx:"8",cy:"16",r:"2",key:"1acxsx"}],["path",{d:"m18 6-8.586 8.586",key:"11kzk1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iS=Ee("square-sigma",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M16 8.9V7H8l4 5-4 5h8v-1.9",key:"9nih0i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oS=Ee("square-slash",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sS=Ee("square-split-horizontal",[["path",{d:"M8 19H5c-1 0-2-1-2-2V7c0-1 1-2 2-2h3",key:"lubmu8"}],["path",{d:"M16 5h3c1 0 2 1 2 2v10c0 1-1 2-2 2h-3",key:"1ag34g"}],["line",{x1:"12",x2:"12",y1:"4",y2:"20",key:"1tx1rr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lS=Ee("square-split-vertical",[["path",{d:"M5 8V5c0-1 1-2 2-2h10c1 0 2 1 2 2v3",key:"1pi83i"}],["path",{d:"M19 16v3c0 1-1 2-2 2H7c-1 0-2-1-2-2v-3",key:"ido5k7"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _te=Ee("square-stack",[["path",{d:"M4 10c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2",key:"4i38lg"}],["path",{d:"M10 16c-1.1 0-2-.9-2-2v-4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2",key:"mlte4a"}],["rect",{width:"8",height:"8",x:"14",y:"14",rx:"2",key:"1fa9i4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xte=Ee("square-square",[["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bte=Ee("square-stop",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ete=Ee("square-star",[["path",{d:"M11.035 7.69a1 1 0 0 1 1.909.024l.737 1.452a1 1 0 0 0 .737.535l1.634.256a1 1 0 0 1 .588 1.806l-1.172 1.168a1 1 0 0 0-.282.866l.259 1.613a1 1 0 0 1-1.541 1.134l-1.465-.75a1 1 0 0 0-.912 0l-1.465.75a1 1 0 0 1-1.539-1.133l.258-1.613a1 1 0 0 0-.282-.866l-1.156-1.153a1 1 0 0 1 .572-1.822l1.633-.256a1 1 0 0 0 .737-.535z",key:"13edca"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const I2=Ee("square-terminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cS=Ee("square-user-round",[["path",{d:"M18 21a6 6 0 0 0-12 0",key:"kaz2du"}],["circle",{cx:"12",cy:"11",r:"4",key:"1gt34v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uS=Ee("square-user",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 21v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2",key:"1m6ac2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dS=Ee("square-x",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ste=Ee("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wte=Ee("squares-exclude",[["path",{d:"M16 12v2a2 2 0 0 1-2 2H9a1 1 0 0 0-1 1v3a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2h0",key:"1mcohs"}],["path",{d:"M4 16a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v3a1 1 0 0 1-1 1h-5a2 2 0 0 0-2 2v2",key:"1r1efp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Tte=Ee("squares-intersect",[["path",{d:"M10 22a2 2 0 0 1-2-2",key:"i7yj1i"}],["path",{d:"M14 2a2 2 0 0 1 2 2",key:"170a0m"}],["path",{d:"M16 22h-2",key:"18d249"}],["path",{d:"M2 10V8",key:"7yj4fe"}],["path",{d:"M2 4a2 2 0 0 1 2-2",key:"ddgnws"}],["path",{d:"M20 8a2 2 0 0 1 2 2",key:"1770vt"}],["path",{d:"M22 14v2",key:"iot8ja"}],["path",{d:"M22 20a2 2 0 0 1-2 2",key:"qj8q6g"}],["path",{d:"M4 16a2 2 0 0 1-2-2",key:"1dnafg"}],["path",{d:"M8 10a2 2 0 0 1 2-2h5a1 1 0 0 1 1 1v5a2 2 0 0 1-2 2H9a1 1 0 0 1-1-1z",key:"ci6f0b"}],["path",{d:"M8 2h2",key:"1gmkwm"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ate=Ee("squares-subtract",[["path",{d:"M10 22a2 2 0 0 1-2-2",key:"i7yj1i"}],["path",{d:"M16 22h-2",key:"18d249"}],["path",{d:"M16 4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h3a1 1 0 0 0 1-1v-5a2 2 0 0 1 2-2h5a1 1 0 0 0 1-1z",key:"1njgbb"}],["path",{d:"M20 8a2 2 0 0 1 2 2",key:"1770vt"}],["path",{d:"M22 14v2",key:"iot8ja"}],["path",{d:"M22 20a2 2 0 0 1-2 2",key:"qj8q6g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Cte=Ee("squares-unite",[["path",{d:"M4 16a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v3a1 1 0 0 0 1 1h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2v-3a1 1 0 0 0-1-1z",key:"17jnth"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kte=Ee("squircle-dashed",[["path",{d:"M13.77 3.043a34 34 0 0 0-3.54 0",key:"1oaobr"}],["path",{d:"M13.771 20.956a33 33 0 0 1-3.541.001",key:"95iq0j"}],["path",{d:"M20.18 17.74c-.51 1.15-1.29 1.93-2.439 2.44",key:"1u6qty"}],["path",{d:"M20.18 6.259c-.51-1.148-1.291-1.929-2.44-2.438",key:"1ew6g6"}],["path",{d:"M20.957 10.23a33 33 0 0 1 0 3.54",key:"1l9npr"}],["path",{d:"M3.043 10.23a34 34 0 0 0 .001 3.541",key:"1it6jm"}],["path",{d:"M6.26 20.179c-1.15-.508-1.93-1.29-2.44-2.438",key:"14uchd"}],["path",{d:"M6.26 3.82c-1.149.51-1.93 1.291-2.44 2.44",key:"8k4agb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Mte=Ee("squircle",[["path",{d:"M12 3c7.2 0 9 1.8 9 9s-1.8 9-9 9-9-1.8-9-9 1.8-9 9-9",key:"garfkc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Rte=Ee("squirrel",[["path",{d:"M15.236 22a3 3 0 0 0-2.2-5",key:"21bitc"}],["path",{d:"M16 20a3 3 0 0 1 3-3h1a2 2 0 0 0 2-2v-2a4 4 0 0 0-4-4V4",key:"oh0fg0"}],["path",{d:"M18 13h.01",key:"9veqaj"}],["path",{d:"M18 6a4 4 0 0 0-4 4 7 7 0 0 0-7 7c0-5 4-5 4-10.5a4.5 4.5 0 1 0-9 0 2.5 2.5 0 0 0 5 0C7 10 3 11 3 17c0 2.8 2.2 5 5 5h10",key:"980v8a"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Nte=Ee("stamp",[["path",{d:"M14 13V8.5C14 7 15 7 15 5a3 3 0 0 0-6 0c0 2 1 2 1 3.5V13",key:"i9gjdv"}],["path",{d:"M20 15.5a2.5 2.5 0 0 0-2.5-2.5h-11A2.5 2.5 0 0 0 4 15.5V17a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1z",key:"1vzg3v"}],["path",{d:"M5 22h14",key:"ehvnwv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ite=Ee("star-half",[["path",{d:"M12 18.338a2.1 2.1 0 0 0-.987.244L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16l2.309-4.679A.53.53 0 0 1 12 2",key:"2ksp49"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Lte=Ee("star-off",[["path",{d:"M8.34 8.34 2 9.27l5 4.87L5.82 21 12 17.77 18.18 21l-.59-3.43",key:"16m0ql"}],["path",{d:"M18.42 12.76 22 9.27l-6.91-1L12 2l-1.44 2.91",key:"1vt8nq"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ote=Ee("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Dte=Ee("step-back",[["path",{d:"M13.971 4.285A2 2 0 0 1 17 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z",key:"19qhus"}],["path",{d:"M21 20V4",key:"cb8qj8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Pte=Ee("step-forward",[["path",{d:"M10.029 4.285A2 2 0 0 0 7 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z",key:"1ystz2"}],["path",{d:"M3 4v16",key:"1ph11n"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fte=Ee("stethoscope",[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Bte=Ee("sticker",[["path",{d:"M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",key:"1dfntj"}],["path",{d:"M15 3v5a1 1 0 0 0 1 1h5",key:"6s6qgf"}],["path",{d:"M8 13h.01",key:"1sbv64"}],["path",{d:"M16 13h.01",key:"wip0gl"}],["path",{d:"M10 16s.8 1 2 1c1.3 0 2-1 2-1",key:"1vvgv3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zte=Ee("sticky-note",[["path",{d:"M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",key:"1dfntj"}],["path",{d:"M15 3v5a1 1 0 0 0 1 1h5",key:"6s6qgf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ute=Ee("store",[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $te=Ee("stretch-horizontal",[["rect",{width:"20",height:"6",x:"2",y:"4",rx:"2",key:"qdearl"}],["rect",{width:"20",height:"6",x:"2",y:"14",rx:"2",key:"1xrn6j"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Hte=Ee("stretch-vertical",[["rect",{width:"6",height:"20",x:"4",y:"2",rx:"2",key:"19qu7m"}],["rect",{width:"6",height:"20",x:"14",y:"2",rx:"2",key:"24v0nk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vte=Ee("strikethrough",[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4",key:"43sutm"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6",key:"nlfj13"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Gte=Ee("subscript",[["path",{d:"m4 5 8 8",key:"1eunvl"}],["path",{d:"m12 5-8 8",key:"1ah0jp"}],["path",{d:"M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",key:"e8ta8j"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jte=Ee("sun-dim",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 4h.01",key:"1ujb9j"}],["path",{d:"M20 12h.01",key:"1ykeid"}],["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M4 12h.01",key:"158zrr"}],["path",{d:"M17.657 6.343h.01",key:"31pqzk"}],["path",{d:"M17.657 17.657h.01",key:"jehnf4"}],["path",{d:"M6.343 17.657h.01",key:"gdk6ow"}],["path",{d:"M6.343 6.343h.01",key:"1uurf0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Yte=Ee("sun-medium",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 3v1",key:"1asbbs"}],["path",{d:"M12 20v1",key:"1wcdkc"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M20 12h1",key:"1vloll"}],["path",{d:"m18.364 5.636-.707.707",key:"1hakh0"}],["path",{d:"m6.343 17.657-.707.707",key:"18m9nf"}],["path",{d:"m5.636 5.636.707.707",key:"1xv1c5"}],["path",{d:"m17.657 17.657.707.707",key:"vl76zb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wte=Ee("sun-moon",[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715",key:"xlf6rm"}],["path",{d:"M16 12a4 4 0 0 0-4-4",key:"6vsxu"}],["path",{d:"m19 5-1.256 1.256",key:"1yg6a6"}],["path",{d:"M20 12h2",key:"1q8mjw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kte=Ee("sun-snow",[["path",{d:"M10 21v-1",key:"1u8rkd"}],["path",{d:"M10 4V3",key:"pkzwkn"}],["path",{d:"M10 9a3 3 0 0 0 0 6",key:"gv75dk"}],["path",{d:"m14 20 1.25-2.5L18 18",key:"1chtki"}],["path",{d:"m14 4 1.25 2.5L18 6",key:"1b4wsy"}],["path",{d:"m17 21-3-6 1.5-3H22",key:"o5qa3v"}],["path",{d:"m17 3-3 6 1.5 3",key:"11697g"}],["path",{d:"M2 12h1",key:"1uaihz"}],["path",{d:"m20 10-1.5 2 1.5 2",key:"1swlpi"}],["path",{d:"m3.64 18.36.7-.7",key:"105rm9"}],["path",{d:"m4.34 6.34-.7-.7",key:"d3unjp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Xte=Ee("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qte=Ee("sunrise",[["path",{d:"M12 2v8",key:"1q4o3n"}],["path",{d:"m4.93 10.93 1.41 1.41",key:"2a7f42"}],["path",{d:"M2 18h2",key:"j10viu"}],["path",{d:"M20 18h2",key:"wocana"}],["path",{d:"m19.07 10.93-1.41 1.41",key:"15zs5n"}],["path",{d:"M22 22H2",key:"19qnx5"}],["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}],["path",{d:"M16 18a4 4 0 0 0-8 0",key:"1lzouq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zte=Ee("sunset",[["path",{d:"M12 10V2",key:"16sf7g"}],["path",{d:"m4.93 10.93 1.41 1.41",key:"2a7f42"}],["path",{d:"M2 18h2",key:"j10viu"}],["path",{d:"M20 18h2",key:"wocana"}],["path",{d:"m19.07 10.93-1.41 1.41",key:"15zs5n"}],["path",{d:"M22 22H2",key:"19qnx5"}],["path",{d:"m16 6-4 4-4-4",key:"6wukr"}],["path",{d:"M16 18a4 4 0 0 0-8 0",key:"1lzouq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qte=Ee("superscript",[["path",{d:"m4 19 8-8",key:"hr47gm"}],["path",{d:"m12 19-8-8",key:"1dhhmo"}],["path",{d:"M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06",key:"1dfcux"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jte=Ee("swatch-book",[["path",{d:"M11 17a4 4 0 0 1-8 0V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2Z",key:"1ldrpk"}],["path",{d:"M16.7 13H19a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H7",key:"11i5po"}],["path",{d:"M 7 17h.01",key:"1euzgo"}],["path",{d:"m11 8 2.3-2.3a2.4 2.4 0 0 1 3.404.004L18.6 7.6a2.4 2.4 0 0 1 .026 3.434L9.9 19.8",key:"o2gii7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ere=Ee("swiss-franc",[["path",{d:"M10 21V3h8",key:"br2l0g"}],["path",{d:"M6 16h9",key:"2py0wn"}],["path",{d:"M10 9.5h7",key:"13dmhz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tre=Ee("switch-camera",[["path",{d:"M11 19H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h5",key:"mtk2lu"}],["path",{d:"M13 5h7a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-5",key:"120jsl"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m18 22-3-3 3-3",key:"kgdoj7"}],["path",{d:"m6 2 3 3-3 3",key:"1fnbkv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rre=Ee("sword",[["path",{d:"m11 19-6-6",key:"s7kpr"}],["path",{d:"m5 21-2-2",key:"1kw20b"}],["path",{d:"m8 16-4 4",key:"1oqv8h"}],["path",{d:"M9.5 17.5 21 6V3h-3L6.5 14.5",key:"pkxemp"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nre=Ee("swords",[["polyline",{points:"14.5 17.5 3 6 3 3 6 3 17.5 14.5",key:"1hfsw2"}],["line",{x1:"13",x2:"19",y1:"19",y2:"13",key:"1vrmhu"}],["line",{x1:"16",x2:"20",y1:"16",y2:"20",key:"1bron3"}],["line",{x1:"19",x2:"21",y1:"21",y2:"19",key:"13pww6"}],["polyline",{points:"14.5 6.5 18 3 21 3 21 6 17.5 9.5",key:"hbey2j"}],["line",{x1:"5",x2:"9",y1:"14",y2:"18",key:"1hf58s"}],["line",{x1:"7",x2:"4",y1:"17",y2:"20",key:"pidxm4"}],["line",{x1:"3",x2:"5",y1:"19",y2:"21",key:"1pehsh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const are=Ee("syringe",[["path",{d:"m18 2 4 4",key:"22kx64"}],["path",{d:"m17 7 3-3",key:"1w1zoj"}],["path",{d:"M19 9 8.7 19.3c-1 1-2.5 1-3.4 0l-.6-.6c-1-1-1-2.5 0-3.4L15 5",key:"1exhtz"}],["path",{d:"m9 11 4 4",key:"rovt3i"}],["path",{d:"m5 19-3 3",key:"59f2uf"}],["path",{d:"m14 4 6 6",key:"yqp9t2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ire=Ee("table-cells-merge",[["path",{d:"M12 21v-6",key:"lihzve"}],["path",{d:"M12 9V3",key:"da5inc"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M3 9h18",key:"1pudct"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ore=Ee("table-2",[["path",{d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",key:"gugj83"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sre=Ee("table-cells-split",[["path",{d:"M12 15V9",key:"8c7uyn"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M3 9h18",key:"1pudct"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lre=Ee("table-columns-split",[["path",{d:"M14 14v2",key:"w2a1xv"}],["path",{d:"M14 20v2",key:"1lq872"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M14 8v2",key:"i67w9a"}],["path",{d:"M2 15h8",key:"82wtch"}],["path",{d:"M2 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H2",key:"up0l64"}],["path",{d:"M2 9h8",key:"yelfik"}],["path",{d:"M22 15h-4",key:"1es58f"}],["path",{d:"M22 3h-2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h2",key:"pdjoqf"}],["path",{d:"M22 9h-4",key:"1luja7"}],["path",{d:"M5 3v18",key:"14hmio"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cre=Ee("table-of-contents",[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M16 12H3",key:"1a2rj7"}],["path",{d:"M16 19H3",key:"zzsher"}],["path",{d:"M21 5h.01",key:"wa75ra"}],["path",{d:"M21 12h.01",key:"msek7k"}],["path",{d:"M21 19h.01",key:"qvbq2j"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ure=Ee("table-properties",[["path",{d:"M15 3v18",key:"14nvp0"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dre=Ee("table-rows-split",[["path",{d:"M14 10h2",key:"1lstlu"}],["path",{d:"M15 22v-8",key:"1fwwgm"}],["path",{d:"M15 2v4",key:"1044rn"}],["path",{d:"M2 10h2",key:"1r8dkt"}],["path",{d:"M20 10h2",key:"1ug425"}],["path",{d:"M3 19h18",key:"awlh7x"}],["path",{d:"M3 22v-6a2 2 135 0 1 2-2h14a2 2 45 0 1 2 2v6",key:"ibqhof"}],["path",{d:"M3 2v2a2 2 45 0 0 2 2h14a2 2 135 0 0 2-2V2",key:"1uenja"}],["path",{d:"M8 10h2",key:"66od0"}],["path",{d:"M9 22v-8",key:"fmnu31"}],["path",{d:"M9 2v4",key:"j1yeou"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fre=Ee("table",[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hre=Ee("tablet-smartphone",[["rect",{width:"10",height:"14",x:"3",y:"8",rx:"2",key:"1vrsiq"}],["path",{d:"M5 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-2.4",key:"1j4zmg"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pre=Ee("tablet",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["line",{x1:"12",x2:"12.01",y1:"18",y2:"18",key:"1dp563"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vre=Ee("tablets",[["circle",{cx:"7",cy:"7",r:"5",key:"x29byf"}],["circle",{cx:"17",cy:"17",r:"5",key:"1op1d2"}],["path",{d:"M12 17h10",key:"ls21zv"}],["path",{d:"m3.46 10.54 7.08-7.08",key:"1rehiu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mre=Ee("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gre=Ee("tags",[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yre=Ee("tally-1",[["path",{d:"M4 4v16",key:"6qkkli"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _re=Ee("tally-2",[["path",{d:"M4 4v16",key:"6qkkli"}],["path",{d:"M9 4v16",key:"81ygyz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xre=Ee("tally-3",[["path",{d:"M4 4v16",key:"6qkkli"}],["path",{d:"M9 4v16",key:"81ygyz"}],["path",{d:"M14 4v16",key:"12vmem"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bre=Ee("tally-4",[["path",{d:"M4 4v16",key:"6qkkli"}],["path",{d:"M9 4v16",key:"81ygyz"}],["path",{d:"M14 4v16",key:"12vmem"}],["path",{d:"M19 4v16",key:"8ij5ei"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ere=Ee("tally-5",[["path",{d:"M4 4v16",key:"6qkkli"}],["path",{d:"M9 4v16",key:"81ygyz"}],["path",{d:"M14 4v16",key:"12vmem"}],["path",{d:"M19 4v16",key:"8ij5ei"}],["path",{d:"M22 6 2 18",key:"h9moai"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Sre=Ee("tangent",[["circle",{cx:"17",cy:"4",r:"2",key:"y5j2s2"}],["path",{d:"M15.59 5.41 5.41 15.59",key:"l0vprr"}],["circle",{cx:"4",cy:"17",r:"2",key:"9p4efm"}],["path",{d:"M12 22s-4-9-1.5-11.5S22 12 22 12",key:"1twk4o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wre=Ee("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Tre=Ee("telescope",[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Are=Ee("tent-tree",[["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}],["path",{d:"m14 5 3-3 3 3",key:"1sorif"}],["path",{d:"m14 10 3-3 3 3",key:"1jyi9h"}],["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M17 14H7l-5 8h20Z",key:"13ar7p"}],["path",{d:"M8 14v8",key:"1ghmqk"}],["path",{d:"m9 14 5 8",key:"13pgi6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Cre=Ee("tent",[["path",{d:"M3.5 21 14 3",key:"1szst5"}],["path",{d:"M20.5 21 10 3",key:"1310c3"}],["path",{d:"M15.5 21 12 15l-3.5 6",key:"1ddtfw"}],["path",{d:"M2 21h20",key:"1nyx9w"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fS=Ee("test-tube-diagonal",[["path",{d:"M21 7 6.82 21.18a2.83 2.83 0 0 1-3.99-.01a2.83 2.83 0 0 1 0-4L17 3",key:"1ub6xw"}],["path",{d:"m16 2 6 6",key:"1gw87d"}],["path",{d:"M12 16H4",key:"1cjfip"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kre=Ee("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Mre=Ee("test-tube",[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Rre=Ee("test-tubes",[["path",{d:"M9 2v17.5A2.5 2.5 0 0 1 6.5 22A2.5 2.5 0 0 1 4 19.5V2",key:"1hjrqt"}],["path",{d:"M20 2v17.5a2.5 2.5 0 0 1-2.5 2.5a2.5 2.5 0 0 1-2.5-2.5V2",key:"16lc8n"}],["path",{d:"M3 2h7",key:"7s29d5"}],["path",{d:"M14 2h7",key:"7sicin"}],["path",{d:"M9 16H4",key:"1bfye3"}],["path",{d:"M20 16h-5",key:"ddnjpe"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hS=Ee("text-align-center",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 19H5",key:"vjpgq2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pS=Ee("text-align-end",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 19H7",key:"4cu937"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vS=Ee("text-align-justify",[["path",{d:"M3 5h18",key:"1u36vt"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 19h18",key:"awlh7x"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const om=Ee("text-align-start",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 19H3",key:"z6ezky"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Nre=Ee("text-cursor-input",[["path",{d:"M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6",key:"1528k5"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1",key:"1mj8rg"}],["path",{d:"M9 6v12",key:"velyjx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ire=Ee("text-cursor",[["path",{d:"M17 22h-1a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4h1",key:"uvaxm9"}],["path",{d:"M7 22h1a4 4 0 0 0 4-4v-1",key:"11xy8d"}],["path",{d:"M7 2h1a4 4 0 0 1 4 4v1",key:"1uw06m"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mS=Ee("text-initial",[["path",{d:"M15 5h6",key:"1pr8yx"}],["path",{d:"M15 12h6",key:"upa0zy"}],["path",{d:"M3 19h18",key:"awlh7x"}],["path",{d:"m3 12 3.553-7.724a.5.5 0 0 1 .894 0L11 12",key:"6lvno8"}],["path",{d:"M3.92 10h6.16",key:"1tl8ex"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Lre=Ee("text-quote",[["path",{d:"M17 5H3",key:"1cn7zz"}],["path",{d:"M21 12H8",key:"scolzb"}],["path",{d:"M21 19H8",key:"13qgcb"}],["path",{d:"M3 12v7",key:"1ri8j3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ore=Ee("text-search",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M10 12H3",key:"1ulcyk"}],["path",{d:"M10 19H3",key:"108z41"}],["circle",{cx:"17",cy:"15",r:"3",key:"1upz2a"}],["path",{d:"m21 19-1.9-1.9",key:"dwi7p8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gS=Ee("text-select",[["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"M14 3h1",key:"1ec4yj"}],["path",{d:"M19 3a2 2 0 0 1 2 2",key:"18rm91"}],["path",{d:"M21 14v1",key:"169vum"}],["path",{d:"M21 19a2 2 0 0 1-2 2",key:"1j7049"}],["path",{d:"M21 9v1",key:"mxsmne"}],["path",{d:"M3 14v1",key:"vnatye"}],["path",{d:"M3 9v1",key:"1r0deq"}],["path",{d:"M5 21a2 2 0 0 1-2-2",key:"sbafld"}],["path",{d:"M5 3a2 2 0 0 0-2 2",key:"y57alp"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M7 16h6",key:"1vyc9m"}],["path",{d:"M7 8h8",key:"1jbsf9"}],["path",{d:"M9 21h1",key:"15o7lz"}],["path",{d:"M9 3h1",key:"1yesri"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Dre=Ee("theater",[["path",{d:"M2 10s3-3 3-8",key:"3xiif0"}],["path",{d:"M22 10s-3-3-3-8",key:"ioaa5q"}],["path",{d:"M10 2c0 4.4-3.6 8-8 8",key:"16fkpi"}],["path",{d:"M14 2c0 4.4 3.6 8 8 8",key:"b9eulq"}],["path",{d:"M2 10s2 2 2 5",key:"1au1lb"}],["path",{d:"M22 10s-2 2-2 5",key:"qi2y5e"}],["path",{d:"M8 15h8",key:"45n4r"}],["path",{d:"M2 22v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1",key:"1vsc2m"}],["path",{d:"M14 22v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1",key:"hrha4u"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yS=Ee("text-wrap",[["path",{d:"m16 16-3 3 3 3",key:"117b85"}],["path",{d:"M3 12h14.5a1 1 0 0 1 0 7H13",key:"18xa6z"}],["path",{d:"M3 19h6",key:"1ygdsz"}],["path",{d:"M3 5h18",key:"1u36vt"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Pre=Ee("thermometer-snowflake",[["path",{d:"m10 20-1.25-2.5L6 18",key:"18frcb"}],["path",{d:"M10 4 8.75 6.5 6 6",key:"7mghy3"}],["path",{d:"M10.585 15H10",key:"4nqulp"}],["path",{d:"M2 12h6.5L10 9",key:"kv9z4n"}],["path",{d:"M20 14.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0z",key:"yu0u2z"}],["path",{d:"m4 10 1.5 2L4 14",key:"k9enpj"}],["path",{d:"m7 21 3-6-1.5-3",key:"j8hb9u"}],["path",{d:"m7 3 3 6h2",key:"1bbqgq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fre=Ee("thermometer-sun",[["path",{d:"M12 9a4 4 0 0 0-2 7.5",key:"1jvsq6"}],["path",{d:"M12 3v2",key:"1w22ol"}],["path",{d:"m6.6 18.4-1.4 1.4",key:"w2yidj"}],["path",{d:"M20 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"iof6y5"}],["path",{d:"M4 13H2",key:"118le4"}],["path",{d:"M6.34 7.34 4.93 5.93",key:"1brd51"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Bre=Ee("thermometer",[["path",{d:"M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"17jzev"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const a5=Ee("thumbs-down",[["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const i5=Ee("thumbs-up",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zre=Ee("ticket-minus",[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M9 12h6",key:"1c52cq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ure=Ee("ticket-check",[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $re=Ee("ticket-percent",[["path",{d:"M2 9a3 3 0 1 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 1 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"1l48ns"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Hre=Ee("ticket-plus",[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M9 12h6",key:"1c52cq"}],["path",{d:"M12 9v6",key:"199k2o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vre=Ee("ticket-slash",[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"m9.5 14.5 5-5",key:"qviqfa"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Gre=Ee("ticket-x",[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"m9.5 14.5 5-5",key:"qviqfa"}],["path",{d:"m9.5 9.5 5 5",key:"18nt4w"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jre=Ee("ticket",[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Yre=Ee("tickets",[["path",{d:"m4.5 8 10.58-5.06a1 1 0 0 1 1.342.488L18.5 8",key:"12lg5p"}],["path",{d:"M6 10V8",key:"1y41hn"}],["path",{d:"M6 14v1",key:"cao2tf"}],["path",{d:"M6 19v2",key:"1loha6"}],["rect",{x:"2",y:"8",width:"20",height:"13",rx:"2",key:"p3bz5l"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wre=Ee("tickets-plane",[["path",{d:"M10.5 17h1.227a2 2 0 0 0 1.345-.52L18 12",key:"16muxl"}],["path",{d:"m12 13.5 3.75.5",key:"1i9qhk"}],["path",{d:"m4.5 8 10.58-5.06a1 1 0 0 1 1.342.488L18.5 8",key:"12lg5p"}],["path",{d:"M6 10V8",key:"1y41hn"}],["path",{d:"M6 14v1",key:"cao2tf"}],["path",{d:"M6 19v2",key:"1loha6"}],["rect",{x:"2",y:"8",width:"20",height:"13",rx:"2",key:"p3bz5l"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kre=Ee("timer-off",[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"M4.6 11a8 8 0 0 0 1.7 8.7 8 8 0 0 0 8.7 1.7",key:"10he05"}],["path",{d:"M7.4 7.4a8 8 0 0 1 10.3 1 8 8 0 0 1 .9 10.2",key:"15f7sh"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M12 12v-2",key:"fwoke6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Xre=Ee("timer-reset",[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"M12 14v-4",key:"1evpnu"}],["path",{d:"M4 13a8 8 0 0 1 8-7 8 8 0 1 1-5.3 14L4 17.6",key:"1ts96g"}],["path",{d:"M9 17H4v5",key:"8t5av"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qre=Ee("timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zre=Ee("toggle-left",[["circle",{cx:"9",cy:"12",r:"3",key:"u3jwor"}],["rect",{width:"20",height:"14",x:"2",y:"5",rx:"7",key:"g7kal2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qre=Ee("toggle-right",[["circle",{cx:"15",cy:"12",r:"3",key:"1afu0r"}],["rect",{width:"20",height:"14",x:"2",y:"5",rx:"7",key:"g7kal2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jre=Ee("toilet",[["path",{d:"M7 12h13a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-.598a.5.5 0 0 0-.424.765l1.544 2.47a.5.5 0 0 1-.424.765H5.402a.5.5 0 0 1-.424-.765L7 18",key:"kc4kqr"}],["path",{d:"M8 18a5 5 0 0 1-5-5V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8",key:"1tqs57"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ene=Ee("tool-case",[["path",{d:"M10 15h4",key:"192ueg"}],["path",{d:"m14.817 10.995-.971-1.45 1.034-1.232a2 2 0 0 0-2.025-3.238l-1.82.364L9.91 3.885a2 2 0 0 0-3.625.748L6.141 6.55l-1.725.426a2 2 0 0 0-.19 3.756l.657.27",key:"xbnumr"}],["path",{d:"m18.822 10.995 2.26-5.38a1 1 0 0 0-.557-1.318L16.954 2.9a1 1 0 0 0-1.281.533l-.924 2.122",key:"eaw7gc"}],["path",{d:"M4 12.006A1 1 0 0 1 4.994 11H19a1 1 0 0 1 1 1v7a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z",key:"1vaooh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tne=Ee("tornado",[["path",{d:"M21 4H3",key:"1hwok0"}],["path",{d:"M18 8H6",key:"41n648"}],["path",{d:"M19 12H9",key:"1g4lpz"}],["path",{d:"M16 16h-6",key:"1j5d54"}],["path",{d:"M11 20H9",key:"39obr8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rne=Ee("torus",[["ellipse",{cx:"12",cy:"11",rx:"3",ry:"2",key:"1b2qxu"}],["ellipse",{cx:"12",cy:"12.5",rx:"10",ry:"8.5",key:"h8emeu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nne=Ee("touchpad-off",[["path",{d:"M12 20v-6",key:"1rm09r"}],["path",{d:"M19.656 14H22",key:"170xzr"}],["path",{d:"M2 14h12",key:"d8icqz"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M20 20H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2",key:"s23sx2"}],["path",{d:"M9.656 4H20a2 2 0 0 1 2 2v10.344",key:"ovjcvl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ane=Ee("touchpad",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M2 14h20",key:"myj16y"}],["path",{d:"M12 20v-6",key:"1rm09r"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ine=Ee("tower-control",[["path",{d:"M18.2 12.27 20 6H4l1.8 6.27a1 1 0 0 0 .95.73h10.5a1 1 0 0 0 .96-.73Z",key:"1pledb"}],["path",{d:"M8 13v9",key:"hmv0ci"}],["path",{d:"M16 22v-9",key:"ylnf1u"}],["path",{d:"m9 6 1 7",key:"dpdgam"}],["path",{d:"m15 6-1 7",key:"ls7zgu"}],["path",{d:"M12 6V2",key:"1pj48d"}],["path",{d:"M13 2h-2",key:"mj6ths"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const one=Ee("toy-brick",[["rect",{width:"18",height:"12",x:"3",y:"8",rx:"1",key:"158fvp"}],["path",{d:"M10 8V5c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v3",key:"s0042v"}],["path",{d:"M19 8V5c0-.6-.4-1-1-1h-3a1 1 0 0 0-1 1v3",key:"9wmeh2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sne=Ee("tractor",[["path",{d:"m10 11 11 .9a1 1 0 0 1 .8 1.1l-.665 4.158a1 1 0 0 1-.988.842H20",key:"she1j9"}],["path",{d:"M16 18h-5",key:"bq60fd"}],["path",{d:"M18 5a1 1 0 0 0-1 1v5.573",key:"1kv8ia"}],["path",{d:"M3 4h8.129a1 1 0 0 1 .99.863L13 11.246",key:"1q1ert"}],["path",{d:"M4 11V4",key:"9ft8pt"}],["path",{d:"M7 15h.01",key:"k5ht0j"}],["path",{d:"M8 10.1V4",key:"1jgyzo"}],["circle",{cx:"18",cy:"18",r:"2",key:"1emm8v"}],["circle",{cx:"7",cy:"15",r:"5",key:"ddtuc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lne=Ee("train-front-tunnel",[["path",{d:"M2 22V12a10 10 0 1 1 20 0v10",key:"o0fyp0"}],["path",{d:"M15 6.8v1.4a3 2.8 0 1 1-6 0V6.8",key:"m8q3n9"}],["path",{d:"M10 15h.01",key:"44in9x"}],["path",{d:"M14 15h.01",key:"5mohn5"}],["path",{d:"M10 19a4 4 0 0 1-4-4v-3a6 6 0 1 1 12 0v3a4 4 0 0 1-4 4Z",key:"hckbmu"}],["path",{d:"m9 19-2 3",key:"iij7hm"}],["path",{d:"m15 19 2 3",key:"npx8sa"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cne=Ee("traffic-cone",[["path",{d:"M16.05 10.966a5 2.5 0 0 1-8.1 0",key:"m5jpwb"}],["path",{d:"m16.923 14.049 4.48 2.04a1 1 0 0 1 .001 1.831l-8.574 3.9a2 2 0 0 1-1.66 0l-8.574-3.91a1 1 0 0 1 0-1.83l4.484-2.04",key:"rbg3g8"}],["path",{d:"M16.949 14.14a5 2.5 0 1 1-9.9 0L10.063 3.5a2 2 0 0 1 3.874 0z",key:"vap8c8"}],["path",{d:"M9.194 6.57a5 2.5 0 0 0 5.61 0",key:"15hn5c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const une=Ee("train-front",[["path",{d:"M8 3.1V7a4 4 0 0 0 8 0V3.1",key:"1v71zp"}],["path",{d:"m9 15-1-1",key:"1yrq24"}],["path",{d:"m15 15 1-1",key:"1t0d6s"}],["path",{d:"M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z",key:"1p0hjs"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m16 19 2 3",key:"xo31yx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dne=Ee("train-track",[["path",{d:"M2 17 17 2",key:"18b09t"}],["path",{d:"m2 14 8 8",key:"1gv9hu"}],["path",{d:"m5 11 8 8",key:"189pqp"}],["path",{d:"m8 8 8 8",key:"1imecy"}],["path",{d:"m11 5 8 8",key:"ummqn6"}],["path",{d:"m14 2 8 8",key:"1vk7dn"}],["path",{d:"M7 22 22 7",key:"15mb1i"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fne=Ee("transgender",[["path",{d:"M12 16v6",key:"c8a4gj"}],["path",{d:"M14 20h-4",key:"m8m19d"}],["path",{d:"M18 2h4v4",key:"1341mj"}],["path",{d:"m2 2 7.17 7.17",key:"13q8l2"}],["path",{d:"M2 5.355V2h3.357",key:"18136r"}],["path",{d:"m22 2-7.17 7.17",key:"1epvy4"}],["path",{d:"M8 5 5 8",key:"mgbjhz"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _S=Ee("tram-front",[["rect",{width:"16",height:"16",x:"4",y:"3",rx:"2",key:"1wxw4b"}],["path",{d:"M4 11h16",key:"mpoxn0"}],["path",{d:"M12 3v8",key:"1h2ygw"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m18 22-2-3",key:"1p0ohu"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M16 15h.01",key:"rnfrdf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wk=Ee("trash-2",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hne=Ee("trash",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pne=Ee("tree-deciduous",[["path",{d:"M8 19a4 4 0 0 1-2.24-7.32A3.5 3.5 0 0 1 9 6.03V6a3 3 0 1 1 6 0v.04a3.5 3.5 0 0 1 3.24 5.65A4 4 0 0 1 16 19Z",key:"oadzkq"}],["path",{d:"M12 19v3",key:"npa21l"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vne=Ee("tree-pine",[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xS=Ee("tree-palm",[["path",{d:"M13 8c0-2.76-2.46-5-5.5-5S2 5.24 2 8h2l1-1 1 1h4",key:"foxbe7"}],["path",{d:"M13 7.14A5.82 5.82 0 0 1 16.5 6c3.04 0 5.5 2.24 5.5 5h-3l-1-1-1 1h-3",key:"18arnh"}],["path",{d:"M5.89 9.71c-2.15 2.15-2.3 5.47-.35 7.43l4.24-4.25.7-.7.71-.71 2.12-2.12c-1.95-1.96-5.27-1.8-7.42.35",key:"ywahnh"}],["path",{d:"M11 15.5c.5 2.5-.17 4.5-1 6.5h4c2-5.5-.5-12-1-14",key:"ft0feo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mne=Ee("trees",[["path",{d:"M10 10v.2A3 3 0 0 1 8.9 16H5a3 3 0 0 1-1-5.8V10a3 3 0 0 1 6 0Z",key:"1l6gj6"}],["path",{d:"M7 16v6",key:"1a82de"}],["path",{d:"M13 19v3",key:"13sx9i"}],["path",{d:"M12 19h8.3a1 1 0 0 0 .7-1.7L18 14h.3a1 1 0 0 0 .7-1.7L16 9h.2a1 1 0 0 0 .8-1.7L13 3l-1.4 1.5",key:"1sj9kv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gne=Ee("trending-down",[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yne=Ee("trello",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["rect",{width:"3",height:"9",x:"7",y:"7",key:"14n3xi"}],["rect",{width:"3",height:"5",x:"14",y:"7",key:"s4azjd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _ne=Ee("trending-up-down",[["path",{d:"M14.828 14.828 21 21",key:"ar5fw7"}],["path",{d:"M21 16v5h-5",key:"1ck2sf"}],["path",{d:"m21 3-9 9-4-4-6 6",key:"1h02xo"}],["path",{d:"M21 8V3h-5",key:"1qoq8a"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xne=Ee("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $1=Ee("triangle-alert",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bne=Ee("triangle-dashed",[["path",{d:"M10.17 4.193a2 2 0 0 1 3.666.013",key:"pltmmw"}],["path",{d:"M14 21h2",key:"v4qezv"}],["path",{d:"m15.874 7.743 1 1.732",key:"10m0iw"}],["path",{d:"m18.849 12.952 1 1.732",key:"zadnam"}],["path",{d:"M21.824 18.18a2 2 0 0 1-1.835 2.824",key:"fvwuk4"}],["path",{d:"M4.024 21a2 2 0 0 1-1.839-2.839",key:"1e1kah"}],["path",{d:"m5.136 12.952-1 1.732",key:"1u4ldi"}],["path",{d:"M8 21h2",key:"i9zjee"}],["path",{d:"m8.102 7.743-1 1.732",key:"1zzo4u"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ene=Ee("triangle-right",[["path",{d:"M22 18a2 2 0 0 1-2 2H3c-1.1 0-1.3-.6-.4-1.3L20.4 4.3c.9-.7 1.6-.4 1.6.7Z",key:"183wce"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Sne=Ee("triangle",[["path",{d:"M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"14u9p9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wne=Ee("trophy",[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Tne=Ee("truck-electric",[["path",{d:"M14 19V7a2 2 0 0 0-2-2H9",key:"15peso"}],["path",{d:"M15 19H9",key:"18q6dt"}],["path",{d:"M19 19h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62L18.3 9.38a1 1 0 0 0-.78-.38H14",key:"1dkp3j"}],["path",{d:"M2 13v5a1 1 0 0 0 1 1h2",key:"pkmmzz"}],["path",{d:"M4 3 2.15 5.15a.495.495 0 0 0 .35.86h2.15a.47.47 0 0 1 .35.86L3 9.02",key:"1n26pd"}],["circle",{cx:"17",cy:"19",r:"2",key:"1nxcgd"}],["circle",{cx:"7",cy:"19",r:"2",key:"gzo7y7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ane=Ee("truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Cne=Ee("turkish-lira",[["path",{d:"M15 4 5 9",key:"14bkc9"}],["path",{d:"m15 8.5-10 5",key:"1grtsx"}],["path",{d:"M18 12a9 9 0 0 1-9 9V3",key:"1sst7f"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kne=Ee("turtle",[["path",{d:"m12 10 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a8 8 0 1 0-16 0v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3l2-4h4Z",key:"1lbbv7"}],["path",{d:"M4.82 7.9 8 10",key:"m9wose"}],["path",{d:"M15.18 7.9 12 10",key:"p8dp2u"}],["path",{d:"M16.93 10H20a2 2 0 0 1 0 4H2",key:"12nsm7"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Mne=Ee("turntable",[["path",{d:"M10 12.01h.01",key:"7rp0yl"}],["path",{d:"M18 8v4a8 8 0 0 1-1.07 4",key:"1st48v"}],["circle",{cx:"10",cy:"12",r:"4",key:"19levz"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Rne=Ee("tv-minimal-play",[["path",{d:"M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z",key:"vbtd3f"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bS=Ee("tv-minimal",[["path",{d:"M7 21h10",key:"1b0cd5"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Nne=Ee("tv",[["path",{d:"m17 2-5 5-5-5",key:"16satq"}],["rect",{width:"20",height:"15",x:"2",y:"7",rx:"2",key:"1e6viu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ine=Ee("twitch",[["path",{d:"M21 2H3v16h5v4l4-4h5l4-4V2zm-10 9V7m5 4V7",key:"c0yzno"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Lne=Ee("twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const One=Ee("type-outline",[["path",{d:"M14 16.5a.5.5 0 0 0 .5.5h.5a2 2 0 0 1 0 4H9a2 2 0 0 1 0-4h.5a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5V8a2 2 0 0 1-4 0V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v3a2 2 0 0 1-4 0v-.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5Z",key:"1reda3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Dne=Ee("type",[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Pne=Ee("umbrella-off",[["path",{d:"M12 13v7a2 2 0 0 0 4 0",key:"rpgb42"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M18.656 13h2.336a1 1 0 0 0 .97-1.274 10.284 10.284 0 0 0-12.07-7.51",key:"yawknk"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5.961 5.957a10.28 10.28 0 0 0-3.922 5.769A1 1 0 0 0 3 13h10",key:"5sfalc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fne=Ee("umbrella",[["path",{d:"M12 13v7a2 2 0 0 0 4 0",key:"rpgb42"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M20.992 13a1 1 0 0 0 .97-1.274 10.284 10.284 0 0 0-19.923 0A1 1 0 0 0 3 13z",key:"124nyo"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Bne=Ee("underline",[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zne=Ee("undo-dot",[["path",{d:"M21 17a9 9 0 0 0-15-6.7L3 13",key:"8mp6z9"}],["path",{d:"M3 7v6h6",key:"1v2h90"}],["circle",{cx:"12",cy:"17",r:"1",key:"1ixnty"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Une=Ee("undo",[["path",{d:"M3 7v6h6",key:"1v2h90"}],["path",{d:"M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13",key:"1r6uu6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $ne=Ee("undo-2",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Hne=Ee("unfold-horizontal",[["path",{d:"M16 12h6",key:"15xry1"}],["path",{d:"M8 12H2",key:"1jqql6"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m19 15 3-3-3-3",key:"wjy7rq"}],["path",{d:"m5 9-3 3 3 3",key:"j64kie"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vne=Ee("unfold-vertical",[["path",{d:"M12 22v-6",key:"6o8u61"}],["path",{d:"M12 8V2",key:"1wkif3"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}],["path",{d:"m15 19-3 3-3-3",key:"11eu04"}],["path",{d:"m15 5-3-3-3 3",key:"itvq4r"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Gne=Ee("ungroup",[["rect",{width:"8",height:"6",x:"5",y:"4",rx:"1",key:"nzclkv"}],["rect",{width:"8",height:"6",x:"11",y:"14",rx:"1",key:"4tytwb"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jne=Ee("unlink-2",[["path",{d:"M15 7h2a5 5 0 0 1 0 10h-2m-6 0H7A5 5 0 0 1 7 7h2",key:"1re2ne"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ES=Ee("university",[["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"M18 16h.01",key:"plv8zi"}],["path",{d:"M22 7a1 1 0 0 0-1-1h-2a2 2 0 0 1-1.143-.359L13.143 2.36a2 2 0 0 0-2.286-.001L6.143 5.64A2 2 0 0 1 5 6H3a1 1 0 0 0-1 1v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2z",key:"1ogmi3"}],["path",{d:"M6 12h.01",key:"c2rlol"}],["path",{d:"M6 16h.01",key:"1pmjb7"}],["circle",{cx:"12",cy:"10",r:"2",key:"1yojzk"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Yne=Ee("unlink",[["path",{d:"m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71",key:"yqzxt4"}],["path",{d:"m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71",key:"4qinb0"}],["line",{x1:"8",x2:"8",y1:"2",y2:"5",key:"1041cp"}],["line",{x1:"2",x2:"5",y1:"8",y2:"8",key:"14m1p5"}],["line",{x1:"16",x2:"16",y1:"19",y2:"22",key:"rzdirn"}],["line",{x1:"19",x2:"22",y1:"16",y2:"16",key:"ox905f"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wne=Ee("unplug",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kk=Ee("upload",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kne=Ee("usb",[["circle",{cx:"10",cy:"7",r:"1",key:"dypaad"}],["circle",{cx:"4",cy:"20",r:"1",key:"22iqad"}],["path",{d:"M4.7 19.3 19 5",key:"1enqfc"}],["path",{d:"m21 3-3 1 2 2Z",key:"d3ov82"}],["path",{d:"M9.26 7.68 5 12l2 5",key:"1esawj"}],["path",{d:"m10 14 5 2 3.5-3.5",key:"v8oal5"}],["path",{d:"m18 12 1-1 1 1-1 1Z",key:"1bh22v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Xne=Ee("user-check",[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qne=Ee("user-cog",[["path",{d:"M10 15H6a4 4 0 0 0-4 4v2",key:"1nfge6"}],["path",{d:"m14.305 16.53.923-.382",key:"1itpsq"}],["path",{d:"m15.228 13.852-.923-.383",key:"eplpkm"}],["path",{d:"m16.852 12.228-.383-.923",key:"13v3q0"}],["path",{d:"m16.852 17.772-.383.924",key:"1i8mnm"}],["path",{d:"m19.148 12.228.383-.923",key:"1q8j1v"}],["path",{d:"m19.53 18.696-.382-.924",key:"vk1qj3"}],["path",{d:"m20.772 13.852.924-.383",key:"n880s0"}],["path",{d:"m20.772 16.148.924.383",key:"1g6xey"}],["circle",{cx:"18",cy:"15",r:"3",key:"gjjjvw"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zne=Ee("user-lock",[["circle",{cx:"10",cy:"7",r:"4",key:"e45bow"}],["path",{d:"M10.3 15H7a4 4 0 0 0-4 4v2",key:"3bnktk"}],["path",{d:"M15 15.5V14a2 2 0 0 1 4 0v1.5",key:"12ym5i"}],["rect",{width:"8",height:"5",x:"13",y:"16",rx:".899",key:"4p176n"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qne=Ee("user-minus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jne=Ee("user-pen",[["path",{d:"M11.5 15H7a4 4 0 0 0-4 4v2",key:"15lzij"}],["path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1817ys"}],["circle",{cx:"10",cy:"7",r:"4",key:"e45bow"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eae=Ee("user-plus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SS=Ee("user-round-check",[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wS=Ee("user-round-cog",[["path",{d:"m14.305 19.53.923-.382",key:"3m78fa"}],["path",{d:"m15.228 16.852-.923-.383",key:"npixar"}],["path",{d:"m16.852 15.228-.383-.923",key:"5xggr7"}],["path",{d:"m16.852 20.772-.383.924",key:"dpfhf9"}],["path",{d:"m19.148 15.228.383-.923",key:"1reyyz"}],["path",{d:"m19.53 21.696-.382-.924",key:"1goivc"}],["path",{d:"M2 21a8 8 0 0 1 10.434-7.62",key:"1yezr2"}],["path",{d:"m20.772 16.852.924-.383",key:"htqkph"}],["path",{d:"m20.772 19.148.924.383",key:"9w9pjp"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TS=Ee("user-round-minus",[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 19h-6",key:"vcuq98"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tae=Ee("user-round-pen",[["path",{d:"M2 21a8 8 0 0 1 10.821-7.487",key:"1c8h7z"}],["path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1817ys"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AS=Ee("user-round-plus",[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M19 16v6",key:"tddt3s"}],["path",{d:"M22 19h-6",key:"vcuq98"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CS=Ee("user-round-x",[["path",{d:"M2 21a8 8 0 0 1 11.873-7",key:"74fkxq"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m17 17 5 5",key:"p7ous7"}],["path",{d:"m22 17-5 5",key:"gqnmv0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rae=Ee("user-round-search",[["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M2 21a8 8 0 0 1 10.434-7.62",key:"1yezr2"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["path",{d:"m22 22-1.9-1.9",key:"1e5ubv"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kS=Ee("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nae=Ee("user-search",[["circle",{cx:"10",cy:"7",r:"4",key:"e45bow"}],["path",{d:"M10.3 15H7a4 4 0 0 0-4 4v2",key:"3bnktk"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["path",{d:"m21 21-1.9-1.9",key:"1g2n9r"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aae=Ee("user-star",[["path",{d:"M16.051 12.616a1 1 0 0 1 1.909.024l.737 1.452a1 1 0 0 0 .737.535l1.634.256a1 1 0 0 1 .588 1.806l-1.172 1.168a1 1 0 0 0-.282.866l.259 1.613a1 1 0 0 1-1.541 1.134l-1.465-.75a1 1 0 0 0-.912 0l-1.465.75a1 1 0 0 1-1.539-1.133l.258-1.613a1 1 0 0 0-.282-.866l-1.156-1.153a1 1 0 0 1 .572-1.822l1.633-.256a1 1 0 0 0 .737-.535z",key:"1m8t9f"}],["path",{d:"M8 15H7a4 4 0 0 0-4 4v2",key:"l9tmp8"}],["circle",{cx:"10",cy:"7",r:"4",key:"e45bow"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iae=Ee("user-x",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"17",x2:"22",y1:"8",y2:"13",key:"3nzzx3"}],["line",{x1:"22",x2:"17",y1:"8",y2:"13",key:"1swrse"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oae=Ee("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MS=Ee("users-round",[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RS=Ee("utensils-crossed",[["path",{d:"m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8",key:"n7qcjb"}],["path",{d:"M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7",key:"d0u48b"}],["path",{d:"m2.1 21.8 6.4-6.3",key:"yn04lh"}],["path",{d:"m19 5-7 7",key:"194lzd"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sae=Ee("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NS=Ee("utensils",[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lae=Ee("utility-pole",[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"M2 5h20",key:"1fs1ex"}],["path",{d:"M3 3v2",key:"9imdir"}],["path",{d:"M7 3v2",key:"n0os7"}],["path",{d:"M17 3v2",key:"1l2re6"}],["path",{d:"M21 3v2",key:"1duuac"}],["path",{d:"m19 5-7 7-7-7",key:"133zxf"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cae=Ee("variable",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uae=Ee("vault",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}],["path",{d:"m7.9 7.9 2.7 2.7",key:"hpeyl3"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}],["path",{d:"m13.4 10.6 2.7-2.7",key:"264c1n"}],["circle",{cx:"7.5",cy:"16.5",r:".5",fill:"currentColor",key:"nkw3mc"}],["path",{d:"m7.9 16.1 2.7-2.7",key:"p81g5e"}],["circle",{cx:"16.5",cy:"16.5",r:".5",fill:"currentColor",key:"fubopw"}],["path",{d:"m13.4 13.4 2.7 2.7",key:"abhel3"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dae=Ee("vector-square",[["path",{d:"M19.5 7a24 24 0 0 1 0 10",key:"8n60xe"}],["path",{d:"M4.5 7a24 24 0 0 0 0 10",key:"2lmadr"}],["path",{d:"M7 19.5a24 24 0 0 0 10 0",key:"1q94o2"}],["path",{d:"M7 4.5a24 24 0 0 1 10 0",key:"2z8ypa"}],["rect",{x:"17",y:"17",width:"5",height:"5",rx:"1",key:"1ac74s"}],["rect",{x:"17",y:"2",width:"5",height:"5",rx:"1",key:"1e7h5j"}],["rect",{x:"2",y:"17",width:"5",height:"5",rx:"1",key:"1t4eah"}],["rect",{x:"2",y:"2",width:"5",height:"5",rx:"1",key:"940dhs"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fae=Ee("vegan",[["path",{d:"M16 8q6 0 6-6-6 0-6 6",key:"qsyyc4"}],["path",{d:"M17.41 3.59a10 10 0 1 0 3 3",key:"41m9h7"}],["path",{d:"M2 2a26.6 26.6 0 0 1 10 20c.9-6.82 1.5-9.5 4-14",key:"qiv7li"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hae=Ee("venetian-mask",[["path",{d:"M18 11c-1.5 0-2.5.5-3 2",key:"1fod00"}],["path",{d:"M4 6a2 2 0 0 0-2 2v4a5 5 0 0 0 5 5 8 8 0 0 1 5 2 8 8 0 0 1 5-2 5 5 0 0 0 5-5V8a2 2 0 0 0-2-2h-3a8 8 0 0 0-5 2 8 8 0 0 0-5-2z",key:"d70hit"}],["path",{d:"M6 11c1.5 0 2.5.5 3 2",key:"136fht"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pae=Ee("venus-and-mars",[["path",{d:"M10 20h4",key:"ni2waw"}],["path",{d:"M12 16v6",key:"c8a4gj"}],["path",{d:"M17 2h4v4",key:"vhe59"}],["path",{d:"m21 2-5.46 5.46",key:"19kypf"}],["circle",{cx:"12",cy:"11",r:"5",key:"16gxyc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vae=Ee("venus",[["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M9 19h6",key:"456am0"}],["circle",{cx:"12",cy:"9",r:"6",key:"1nw4tq"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mae=Ee("vibrate-off",[["path",{d:"m2 8 2 2-2 2 2 2-2 2",key:"sv1b1"}],["path",{d:"m22 8-2 2 2 2-2 2 2 2",key:"101i4y"}],["path",{d:"M8 8v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2",key:"1hbad5"}],["path",{d:"M16 10.34V6c0-.55-.45-1-1-1h-4.34",key:"1x5tf0"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gae=Ee("vibrate",[["path",{d:"m2 8 2 2-2 2 2 2-2 2",key:"sv1b1"}],["path",{d:"m22 8-2 2 2 2-2 2 2 2",key:"101i4y"}],["rect",{width:"8",height:"14",x:"8",y:"5",rx:"1",key:"1oyrl4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yae=Ee("video-off",[["path",{d:"M10.66 6H14a2 2 0 0 1 2 2v2.5l5.248-3.062A.5.5 0 0 1 22 7.87v8.196",key:"w8jjjt"}],["path",{d:"M16 16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2",key:"1xawa7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _ae=Ee("video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xae=Ee("videotape",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M2 8h20",key:"d11cs7"}],["circle",{cx:"8",cy:"14",r:"2",key:"1k2qr5"}],["path",{d:"M8 12h8",key:"1wcyev"}],["circle",{cx:"16",cy:"14",r:"2",key:"14k7lr"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bae=Ee("view",[["path",{d:"M21 17v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2",key:"mrq65r"}],["path",{d:"M21 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2",key:"be3xqs"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0",key:"11ak4c"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Eae=Ee("voicemail",[["circle",{cx:"6",cy:"12",r:"4",key:"1ehtga"}],["circle",{cx:"18",cy:"12",r:"4",key:"4vafl8"}],["line",{x1:"6",x2:"18",y1:"16",y2:"16",key:"pmt8us"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Sae=Ee("volleyball",[["path",{d:"M11.1 7.1a16.55 16.55 0 0 1 10.9 4",key:"2880wi"}],["path",{d:"M12 12a12.6 12.6 0 0 1-8.7 5",key:"113sja"}],["path",{d:"M16.8 13.6a16.55 16.55 0 0 1-9 7.5",key:"1qmsgl"}],["path",{d:"M20.7 17a12.8 12.8 0 0 0-8.7-5 13.3 13.3 0 0 1 0-10",key:"1bmeqp"}],["path",{d:"M6.3 3.8a16.55 16.55 0 0 0 1.9 11.5",key:"iekzv9"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wae=Ee("volume-1",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Tae=Ee("volume-2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Aae=Ee("volume-off",[["path",{d:"M16 9a5 5 0 0 1 .95 2.293",key:"1fgyg8"}],["path",{d:"M19.364 5.636a9 9 0 0 1 1.889 9.96",key:"l3zxae"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"m7 7-.587.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298V11",key:"1gbwow"}],["path",{d:"M9.828 4.172A.686.686 0 0 1 11 4.657v.686",key:"s2je0y"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Cae=Ee("volume-x",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kae=Ee("volume",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Mae=Ee("vote",[["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}],["path",{d:"M5 7c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v12H5V7Z",key:"1ezoue"}],["path",{d:"M22 19H2",key:"nuriw5"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Rae=Ee("wallet-cards",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2",key:"4125el"}],["path",{d:"M3 11h3c.8 0 1.6.3 2.1.9l1.1.9c1.6 1.6 4.1 1.6 5.7 0l1.1-.9c.5-.5 1.3-.9 2.1-.9H21",key:"1dpki6"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IS=Ee("wallet-minimal",[["path",{d:"M17 14h.01",key:"7oqj8z"}],["path",{d:"M7 7h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14",key:"u1rqew"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Nae=Ee("wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Iae=Ee("wallpaper",[["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"m9 17 6.1-6.1a2 2 0 0 1 2.81.01L22 15",key:"1sl52q"}],["circle",{cx:"8",cy:"9",r:"2",key:"gjzl9d"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Lae=Ee("wand",[["path",{d:"M15 4V2",key:"z1p9b7"}],["path",{d:"M15 16v-2",key:"px0unx"}],["path",{d:"M8 9h2",key:"1g203m"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M17.8 11.8 19 13",key:"yihg8r"}],["path",{d:"M15 9h.01",key:"x1ddxp"}],["path",{d:"M17.8 6.2 19 5",key:"fd4us0"}],["path",{d:"m3 21 9-9",key:"1jfql5"}],["path",{d:"M12.2 6.2 11 5",key:"i3da3b"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LS=Ee("wand-sparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Oae=Ee("warehouse",[["path",{d:"M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11",key:"pb2vm6"}],["path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8z",key:"doq5xv"}],["path",{d:"M6 13h12",key:"yf64js"}],["path",{d:"M6 17h12",key:"1jwigz"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Dae=Ee("washing-machine",[["path",{d:"M3 6h3",key:"155dbl"}],["path",{d:"M17 6h.01",key:"e2y6kg"}],["rect",{width:"18",height:"20",x:"3",y:"2",rx:"2",key:"od3kk9"}],["circle",{cx:"12",cy:"13",r:"5",key:"nlbqau"}],["path",{d:"M12 18a2.5 2.5 0 0 0 0-5 2.5 2.5 0 0 1 0-5",key:"17lach"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Pae=Ee("watch",[["path",{d:"M12 10v2.2l1.6 1",key:"n3r21l"}],["path",{d:"m16.13 7.66-.81-4.05a2 2 0 0 0-2-1.61h-2.68a2 2 0 0 0-2 1.61l-.78 4.05",key:"18k57s"}],["path",{d:"m7.88 16.36.8 4a2 2 0 0 0 2 1.61h2.72a2 2 0 0 0 2-1.61l.81-4.05",key:"16ny36"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fae=Ee("waves-arrow-down",[["path",{d:"M12 10L12 2",key:"jvb0aw"}],["path",{d:"M16 6L12 10L8 6",key:"9j6vje"}],["path",{d:"M2 15C2.6 15.5 3.2 16 4.5 16C7 16 7 14 9.5 14C12.1 14 11.9 16 14.5 16C17 16 17 14 19.5 14C20.8 14 21.4 14.5 22 15",key:"s2zepw"}],["path",{d:"M2 21C2.6 21.5 3.2 22 4.5 22C7 22 7 20 9.5 20C12.1 20 11.9 22 14.5 22C17 22 17 20 19.5 20C20.8 20 21.4 20.5 22 21",key:"u68omc"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Bae=Ee("waves-arrow-up",[["path",{d:"M12 2v8",key:"1q4o3n"}],["path",{d:"M2 15c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"1p9f19"}],["path",{d:"M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"vbxynw"}],["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zae=Ee("waves-ladder",[["path",{d:"M19 5a2 2 0 0 0-2 2v11",key:"s41o68"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}],["path",{d:"M7 13h10",key:"1rwob1"}],["path",{d:"M7 9h10",key:"12czzb"}],["path",{d:"M9 5a2 2 0 0 0-2 2v11",key:"x0q4gh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Uae=Ee("waves",[["path",{d:"M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"knzxuh"}],["path",{d:"M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"2jd2cc"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $ae=Ee("waypoints",[["circle",{cx:"12",cy:"4.5",r:"2.5",key:"r5ysbb"}],["path",{d:"m10.2 6.3-3.9 3.9",key:"1nzqf6"}],["circle",{cx:"4.5",cy:"12",r:"2.5",key:"jydg6v"}],["path",{d:"M7 12h10",key:"b7w52i"}],["circle",{cx:"19.5",cy:"12",r:"2.5",key:"1piiel"}],["path",{d:"m13.8 17.7 3.9-3.9",key:"1wyg1y"}],["circle",{cx:"12",cy:"19.5",r:"2.5",key:"13o1pw"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Hae=Ee("webcam",[["circle",{cx:"12",cy:"10",r:"8",key:"1gshiw"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 22h10",key:"10w4w3"}],["path",{d:"M12 22v-4",key:"1utk9m"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vae=Ee("webhook-off",[["path",{d:"M17 17h-5c-1.09-.02-1.94.92-2.5 1.9A3 3 0 1 1 2.57 15",key:"1tvl6x"}],["path",{d:"M9 3.4a4 4 0 0 1 6.52.66",key:"q04jfq"}],["path",{d:"m6 17 3.1-5.8a2.5 2.5 0 0 0 .057-2.05",key:"azowf0"}],["path",{d:"M20.3 20.3a4 4 0 0 1-2.3.7",key:"5joiws"}],["path",{d:"M18.6 13a4 4 0 0 1 3.357 3.414",key:"cangb8"}],["path",{d:"m12 6 .6 1",key:"tpjl1n"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Gae=Ee("webhook",[["path",{d:"M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2",key:"q3hayz"}],["path",{d:"m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06",key:"1go1hn"}],["path",{d:"m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8",key:"qlwsc0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jae=Ee("weight",[["circle",{cx:"12",cy:"5",r:"3",key:"rqqgnr"}],["path",{d:"M6.5 8a2 2 0 0 0-1.905 1.46L2.1 18.5A2 2 0 0 0 4 21h16a2 2 0 0 0 1.925-2.54L19.4 9.5A2 2 0 0 0 17.48 8Z",key:"56o5sh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Yae=Ee("wheat-off",[["path",{d:"m2 22 10-10",key:"28ilpk"}],["path",{d:"m16 8-1.17 1.17",key:"1qqm82"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"m8 8-.53.53a3.5 3.5 0 0 0 0 4.94L9 15l1.53-1.53c.55-.55.88-1.25.98-1.97",key:"4wz8re"}],["path",{d:"M10.91 5.26c.15-.26.34-.51.56-.73L13 3l1.53 1.53a3.5 3.5 0 0 1 .28 4.62",key:"rves66"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"m16 16-.53.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.49 3.49 0 0 1 1.97-.98",key:"ak46r"}],["path",{d:"M18.74 13.09c.26-.15.51-.34.73-.56L21 11l-1.53-1.53a3.5 3.5 0 0 0-4.62-.28",key:"1tw520"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wae=Ee("wheat",[["path",{d:"M2 22 16 8",key:"60hf96"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1sdzmb"}],["path",{d:"M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"eoatbi"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"2m8kc5"}],["path",{d:"M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"vex3ng"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kae=Ee("whole-word",[["circle",{cx:"7",cy:"12",r:"3",key:"12clwm"}],["path",{d:"M10 9v6",key:"17i7lo"}],["circle",{cx:"17",cy:"12",r:"3",key:"gl7c2s"}],["path",{d:"M14 7v8",key:"dl84cr"}],["path",{d:"M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1",key:"lt2kga"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Xae=Ee("wifi-cog",[["path",{d:"m14.305 19.53.923-.382",key:"3m78fa"}],["path",{d:"m15.228 16.852-.923-.383",key:"npixar"}],["path",{d:"m16.852 15.228-.383-.923",key:"5xggr7"}],["path",{d:"m16.852 20.772-.383.924",key:"dpfhf9"}],["path",{d:"m19.148 15.228.383-.923",key:"1reyyz"}],["path",{d:"m19.53 21.696-.382-.924",key:"1goivc"}],["path",{d:"M2 7.82a15 15 0 0 1 20 0",key:"1ovjuk"}],["path",{d:"m20.772 16.852.924-.383",key:"htqkph"}],["path",{d:"m20.772 19.148.924.383",key:"9w9pjp"}],["path",{d:"M5 11.858a10 10 0 0 1 11.5-1.785",key:"3sn16i"}],["path",{d:"M8.5 15.429a5 5 0 0 1 2.413-1.31",key:"1pxovh"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qae=Ee("wifi-high",[["path",{d:"M12 20h.01",key:"zekei9"}],["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zae=Ee("wifi-low",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qae=Ee("wifi-off",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jae=Ee("wifi-pen",[["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1817ys"}],["path",{d:"M5 12.859a10 10 0 0 1 10.5-2.222",key:"rpb7oy"}],["path",{d:"M8.5 16.429a5 5 0 0 1 3-1.406",key:"r8bmzl"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eie=Ee("wifi-sync",[["path",{d:"M11.965 10.105v4L13.5 12.5a5 5 0 0 1 8 1.5",key:"1immaq"}],["path",{d:"M11.965 14.105h4",key:"uejny8"}],["path",{d:"M17.965 18.105h4L20.43 19.71a5 5 0 0 1-8-1.5",key:"1i3a7e"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M21.965 22.105v-4",key:"1ku6vx"}],["path",{d:"M5 12.86a10 10 0 0 1 3-2.032",key:"pemdtu"}],["path",{d:"M8.5 16.429h.01",key:"2bm739"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tie=Ee("wifi-zero",[["path",{d:"M12 20h.01",key:"zekei9"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rie=Ee("wind-arrow-down",[["path",{d:"M10 2v8",key:"d4bbey"}],["path",{d:"M12.8 21.6A2 2 0 1 0 14 18H2",key:"19kp1d"}],["path",{d:"M17.5 10a2.5 2.5 0 1 1 2 4H2",key:"19kpjc"}],["path",{d:"m6 6 4 4 4-4",key:"k13n16"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nie=Ee("wifi",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aie=Ee("wind",[["path",{d:"M12.8 19.6A2 2 0 1 0 14 16H2",key:"148xed"}],["path",{d:"M17.5 8a2.5 2.5 0 1 1 2 4H2",key:"1u4tom"}],["path",{d:"M9.8 4.4A2 2 0 1 1 11 8H2",key:"75valh"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iie=Ee("wine",[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z",key:"10ffi3"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oie=Ee("wine-off",[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h3m7 0h-1.343",key:"v48bem"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M7.307 7.307A12.33 12.33 0 0 0 7 10a5 5 0 0 0 7.391 4.391M8.638 2.981C8.75 2.668 8.872 2.34 9 2h6c1.5 4 2 6 2 8 0 .407-.05.809-.145 1.198",key:"1ymjlu"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sie=Ee("workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lie=Ee("worm",[["path",{d:"m19 12-1.5 3",key:"9bcu4o"}],["path",{d:"M19.63 18.81 22 20",key:"121v98"}],["path",{d:"M6.47 8.23a1.68 1.68 0 0 1 2.44 1.93l-.64 2.08a6.76 6.76 0 0 0 10.16 7.67l.42-.27a1 1 0 1 0-2.73-4.21l-.42.27a1.76 1.76 0 0 1-2.63-1.99l.64-2.08A6.66 6.66 0 0 0 3.94 3.9l-.7.4a1 1 0 1 0 2.55 4.34z",key:"1tij6q"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Xk=Ee("wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cie=Ee("youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Uh=Ee("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uie=Ee("zap-off",[["path",{d:"M10.513 4.856 13.12 2.17a.5.5 0 0 1 .86.46l-1.377 4.317",key:"193nxd"}],["path",{d:"M15.656 10H20a1 1 0 0 1 .78 1.63l-1.72 1.773",key:"27a7lr"}],["path",{d:"M16.273 16.273 10.88 21.83a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14H4a1 1 0 0 1-.78-1.63l4.507-4.643",key:"1e0qe9"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const die=Ee("zoom-in",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fie=Ee("zap",[["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"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hie=Ee("zoom-out",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wMt=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:L9,AArrowUp:O9,ALargeSmall:D9,Accessibility:P9,Activity:F9,AirVent:B9,Airplay:z9,AlarmClock:$9,AlarmClockCheck:Rx,AlarmClockMinus:Nx,AlarmClockOff:U9,AlarmClockPlus:Ix,AlarmSmoke:H9,Album:V9,AlignCenterHorizontal:G9,AlignCenterVertical:j9,AlignEndHorizontal:Y9,AlignEndVertical:W9,AlignHorizontalDistributeCenter:K9,AlignHorizontalDistributeEnd:X9,AlignHorizontalDistributeStart:q9,AlignHorizontalJustifyCenter:Z9,AlignHorizontalJustifyEnd:Q9,AlignHorizontalJustifyStart:J9,AlignHorizontalSpaceAround:eO,AlignHorizontalSpaceBetween:rO,AlignStartHorizontal:tO,AlignStartVertical:nO,AlignVerticalDistributeCenter:aO,AlignVerticalDistributeEnd:iO,AlignVerticalDistributeStart:sO,AlignVerticalJustifyCenter:oO,AlignVerticalJustifyEnd:lO,AlignVerticalJustifyStart:cO,AlignVerticalSpaceAround:uO,AlignVerticalSpaceBetween:dO,Ambulance:fO,Ampersand:hO,Ampersands:pO,Amphora:vO,Anchor:mO,Angry:gO,Annoyed:yO,Antenna:_O,Anvil:xO,Aperture:bO,AppWindow:SO,AppWindowMac:EO,Apple:wO,Archive:CO,ArchiveRestore:TO,ArchiveX:AO,Armchair:kO,ArrowBigDown:RO,ArrowBigDownDash:MO,ArrowBigLeft:IO,ArrowBigLeftDash:NO,ArrowBigRight:OO,ArrowBigRightDash:LO,ArrowBigUp:PO,ArrowBigUpDash:DO,ArrowDown:jT,ArrowDown01:FO,ArrowDown10:BO,ArrowDownAZ:Lx,ArrowDownFromLine:zO,ArrowDownLeft:UO,ArrowDownNarrowWide:$O,ArrowDownRight:HO,ArrowDownToDot:VO,ArrowDownToLine:GO,ArrowDownUp:jO,ArrowDownWideNarrow:Ox,ArrowDownZA:Dx,ArrowLeft:Pk,ArrowLeftFromLine:YO,ArrowLeftRight:WO,ArrowLeftToLine:KO,ArrowRight:Fk,ArrowRightFromLine:XO,ArrowRightLeft:qO,ArrowRightToLine:ZO,ArrowUp:Bk,ArrowUp01:QO,ArrowUp10:JO,ArrowUpAZ:Px,ArrowUpDown:eD,ArrowUpFromDot:tD,ArrowUpFromLine:rD,ArrowUpLeft:nD,ArrowUpNarrowWide:Fx,ArrowUpRight:aD,ArrowUpToLine:iD,ArrowUpWideNarrow:oD,ArrowUpZA:Bx,ArrowsUpFromLine:lD,Asterisk:sD,AtSign:cD,Atom:uD,AudioLines:dD,AudioWaveform:fD,Award:hD,Axe:pD,Axis3d:zx,Baby:vD,Backpack:mD,Badge:ID,BadgeAlert:gD,BadgeCent:yD,BadgeCheck:Ux,BadgeDollarSign:_D,BadgeEuro:xD,BadgeIndianRupee:bD,BadgeInfo:ED,BadgeJapaneseYen:SD,BadgeMinus:wD,BadgePercent:TD,BadgePlus:AD,BadgePoundSterling:CD,BadgeQuestionMark:$x,BadgeRussianRuble:kD,BadgeSwissFranc:MD,BadgeTurkishLira:RD,BadgeX:ND,BaggageClaim:LD,Ban:OD,Banana:DD,Bandage:PD,Banknote:$D,BanknoteArrowDown:FD,BanknoteArrowUp:BD,BanknoteX:zD,Barcode:UD,Barrel:HD,Baseline:VD,Bath:GD,Battery:ZD,BatteryCharging:YD,BatteryFull:jD,BatteryLow:WD,BatteryMedium:KD,BatteryPlus:XD,BatteryWarning:qD,Beaker:QD,Bean:eP,BeanOff:JD,Bed:nP,BedDouble:tP,BedSingle:rP,Beef:aP,Beer:oP,BeerOff:iP,Bell:fP,BellDot:sP,BellElectric:lP,BellMinus:cP,BellOff:uP,BellPlus:dP,BellRing:YT,BetweenHorizontalEnd:Hx,BetweenHorizontalStart:Vx,BetweenVerticalEnd:hP,BetweenVerticalStart:pP,BicepsFlexed:vP,Bike:mP,Binary:gP,Binoculars:yP,Biohazard:_P,Bird:xP,Birdhouse:bP,Bitcoin:EP,Blend:SP,Blinds:wP,Blocks:TP,Bluetooth:MP,BluetoothConnected:AP,BluetoothOff:CP,BluetoothSearching:kP,Bold:RP,Bolt:NP,Bomb:IP,Bone:LP,Book:rF,BookA:OP,BookAlert:DP,BookAudio:PP,BookCheck:FP,BookCopy:BP,BookDashed:Gx,BookDown:zP,BookHeadphones:UP,BookHeart:$P,BookImage:HP,BookKey:VP,BookLock:GP,BookMarked:jP,BookMinus:YP,BookOpen:WT,BookOpenCheck:WP,BookOpenText:KP,BookPlus:XP,BookText:qP,BookType:ZP,BookUp:JP,BookUp2:QP,BookUser:eF,BookX:tF,Bookmark:sF,BookmarkCheck:nF,BookmarkMinus:aF,BookmarkPlus:iF,BookmarkX:oF,BoomBox:lF,Bot:dF,BotMessageSquare:cF,BotOff:uF,BottleWine:hF,BowArrow:fF,Box:pF,Boxes:vF,Braces:jx,Brackets:mF,Brain:xF,BrainCircuit:gF,BrainCog:yF,BrickWall:EF,BrickWallFire:_F,BrickWallShield:bF,Briefcase:CF,BriefcaseBusiness:SF,BriefcaseConveyorBelt:wF,BriefcaseMedical:TF,BringToFront:AF,Brush:MF,BrushCleaning:kF,Bubbles:RF,Bug:Yx,BugOff:NF,BugPlay:IF,Building:OF,Building2:LF,Bus:PF,BusFront:DF,Cable:BF,CableCar:FF,Cake:UF,CakeSlice:zF,Calculator:$F,Calendar:lB,Calendar1:HF,CalendarArrowDown:VF,CalendarArrowUp:GF,CalendarCheck:YF,CalendarCheck2:jF,CalendarClock:KF,CalendarCog:WF,CalendarDays:XF,CalendarFold:qF,CalendarHeart:ZF,CalendarMinus:JF,CalendarMinus2:QF,CalendarOff:eB,CalendarPlus:rB,CalendarPlus2:tB,CalendarRange:nB,CalendarSearch:aB,CalendarSync:iB,CalendarX:sB,CalendarX2:oB,Calendars:cB,Camera:dB,CameraOff:uB,Candy:pB,CandyCane:fB,CandyOff:hB,Cannabis:vB,Captions:Wx,CaptionsOff:mB,Car:_B,CarFront:gB,CarTaxiFront:yB,Caravan:xB,CardSim:bB,Carrot:EB,CaseLower:SB,CaseSensitive:wB,CaseUpper:TB,CassetteTape:AB,Cast:CB,Castle:kB,Cat:MB,Cctv:RB,ChartArea:Kx,ChartBar:qx,ChartBarBig:Xx,ChartBarDecreasing:NB,ChartBarIncreasing:IB,ChartBarStacked:LB,ChartCandlestick:Zx,ChartColumn:eb,ChartColumnBig:Qx,ChartColumnDecreasing:OB,ChartColumnIncreasing:Jx,ChartColumnStacked:DB,ChartGantt:PB,ChartLine:tb,ChartNetwork:FB,ChartNoAxesColumn:nb,ChartNoAxesColumnDecreasing:BB,ChartNoAxesColumnIncreasing:rb,ChartNoAxesCombined:zB,ChartNoAxesGantt:ab,ChartPie:ib,ChartScatter:ob,ChartSpline:UB,Check:Ig,CheckCheck:$B,CheckLine:HB,ChefHat:VB,Cherry:GB,ChessBishop:jB,ChessKing:YB,ChessKnight:KB,ChessPawn:WB,ChessQueen:XB,ChessRook:qB,ChevronDown:R2,ChevronFirst:ZB,ChevronLast:QB,ChevronLeft:zk,ChevronRight:KT,ChevronUp:XT,ChevronsDown:ez,ChevronsDownUp:JB,ChevronsLeft:nz,ChevronsLeftRight:rz,ChevronsLeftRightEllipsis:tz,ChevronsRight:iz,ChevronsRightLeft:az,ChevronsUp:sz,ChevronsUpDown:oz,Chromium:sb,Church:cz,Cigarette:uz,CigaretteOff:lz,Circle:qT,CircleAlert:Jv,CircleArrowDown:lb,CircleArrowLeft:cb,CircleArrowOutDownLeft:ub,CircleArrowOutDownRight:db,CircleArrowOutUpLeft:fb,CircleArrowOutUpRight:hb,CircleArrowRight:pb,CircleArrowUp:vb,CircleCheck:mb,CircleCheckBig:U1,CircleChevronDown:gb,CircleChevronLeft:yb,CircleChevronRight:_b,CircleChevronUp:xb,CircleDashed:dz,CircleDivide:bb,CircleDollarSign:fz,CircleDot:pz,CircleDotDashed:hz,CircleEllipsis:vz,CircleEqual:mz,CircleFadingArrowUp:gz,CircleFadingPlus:yz,CircleGauge:Eb,CircleMinus:Sb,CircleOff:_z,CircleParking:Tb,CircleParkingOff:wb,CirclePause:Ab,CirclePercent:Cb,CirclePlay:kb,CirclePlus:Mb,CirclePoundSterling:xz,CirclePower:Rb,CircleQuestionMark:G0,CircleSlash:bz,CircleSlash2:Nb,CircleSmall:Ez,CircleStar:Sz,CircleStop:Ib,CircleUser:Ob,CircleUserRound:Lb,CircleX:Db,CircuitBoard:wz,Citrus:Tz,Clapperboard:Az,Clipboard:Pz,ClipboardCheck:Cz,ClipboardClock:kz,ClipboardCopy:Mz,ClipboardList:Rz,ClipboardMinus:Nz,ClipboardPaste:Iz,ClipboardPen:Fb,ClipboardPenLine:Pb,ClipboardPlus:Lz,ClipboardType:Oz,ClipboardX:Dz,Clock:ZT,Clock1:Fz,Clock10:Bz,Clock11:zz,Clock12:Uz,Clock2:$z,Clock3:Hz,Clock4:Vz,Clock5:Gz,Clock6:jz,Clock7:Yz,Clock8:Wz,Clock9:Kz,ClockAlert:Xz,ClockArrowDown:qz,ClockArrowUp:Zz,ClockCheck:Qz,ClockFading:Jz,ClockPlus:eU,ClosedCaption:tU,Cloud:gU,CloudAlert:rU,CloudCheck:aU,CloudCog:nU,CloudDownload:Bb,CloudDrizzle:iU,CloudFog:oU,CloudHail:sU,CloudLightning:lU,CloudMoon:uU,CloudMoonRain:cU,CloudOff:dU,CloudRain:hU,CloudRainWind:fU,CloudSnow:pU,CloudSun:mU,CloudSunRain:vU,CloudUpload:zb,Cloudy:yU,Clover:_U,Club:xU,Code:bU,CodeXml:Ub,Codepen:EU,Codesandbox:SU,Coffee:wU,Cog:AU,Coins:TU,Columns2:$b,Columns3:Hb,Columns3Cog:em,Columns4:CU,Combine:kU,Command:MU,Compass:RU,Component:NU,Computer:IU,ConciergeBell:LU,Cone:OU,Construction:DU,Contact:PU,ContactRound:Vb,Container:FU,Contrast:BU,Cookie:zU,CookingPot:UU,Copy:Uk,CopyCheck:$U,CopyMinus:HU,CopyPlus:VU,CopySlash:GU,CopyX:jU,Copyleft:YU,Copyright:WU,CornerDownLeft:KU,CornerDownRight:XU,CornerLeftDown:qU,CornerLeftUp:ZU,CornerRightDown:QU,CornerRightUp:JU,CornerUpLeft:e$,CornerUpRight:t$,Cpu:r$,CreativeCommons:n$,CreditCard:a$,Croissant:i$,Crop:o$,Cross:s$,Crosshair:l$,Crown:c$,Cuboid:u$,CupSoda:d$,Currency:f$,Cylinder:h$,Dam:p$,Database:g$,DatabaseBackup:v$,DatabaseZap:m$,DecimalsArrowLeft:y$,DecimalsArrowRight:_$,Delete:x$,Dessert:b$,Diameter:E$,Diamond:T$,DiamondMinus:S$,DiamondPercent:Gb,DiamondPlus:w$,Dice1:A$,Dice2:C$,Dice3:k$,Dice4:M$,Dice5:R$,Dice6:N$,Dices:I$,Diff:L$,Disc:F$,Disc2:O$,Disc3:D$,DiscAlbum:P$,Divide:B$,Dna:U$,DnaOff:z$,Dock:$$,Dog:H$,DollarSign:V$,Donut:G$,DoorClosed:Y$,DoorClosedLocked:j$,DoorOpen:W$,Dot:$k,Download:K$,DraftingCompass:X$,Drama:q$,Dribbble:Z$,Drill:Q$,Drone:J$,Droplet:tH,DropletOff:eH,Droplets:rH,Drum:nH,Drumstick:iH,Dumbbell:aH,Ear:sH,EarOff:oH,Earth:jb,EarthLock:lH,Eclipse:uH,Egg:fH,EggFried:cH,EggOff:dH,Ellipsis:N2,EllipsisVertical:Yb,Equal:vH,EqualApproximately:hH,EqualNot:pH,Eraser:mH,EthernetPort:gH,Euro:yH,EvCharger:_H,Expand:bH,ExternalLink:xH,Eye:TH,EyeClosed:EH,EyeOff:SH,Facebook:wH,Factory:AH,Fan:CH,FastForward:kH,Feather:RH,Fence:MH,FerrisWheel:NH,Figma:IH,File:sV,FileArchive:LH,FileAxis3d:Wb,FileBadge:Kb,FileBox:OH,FileBraces:qb,FileBracesCorner:Xb,FileChartColumn:Qb,FileChartColumnIncreasing:Zb,FileChartLine:Jb,FileChartPie:e3,FileCheck:DH,FileCheckCorner:t3,FileClock:PH,FileCode:FH,FileCodeCorner:r3,FileCog:n3,FileDiff:BH,FileDigit:zH,FileDown:UH,FileExclamationPoint:a3,FileHeadphone:tm,FileHeart:$H,FileImage:HH,FileInput:VH,FileKey:i3,FileLock:o3,FileMinus:GH,FileMinusCorner:s3,FileMusic:jH,FileOutput:YH,FilePen:c3,FilePenLine:l3,FilePlay:u3,FilePlus:WH,FilePlusCorner:d3,FileQuestionMark:f3,FileScan:KH,FileSearch:XH,FileSearchCorner:h3,FileSignal:p3,FileSliders:qH,FileSpreadsheet:QH,FileStack:ZH,FileSymlink:JH,FileTerminal:tV,FileText:eV,FileType:rV,FileTypeCorner:v3,FileUp:nV,FileUser:aV,FileVideoCamera:m3,FileVolume:iV,FileX:oV,FileXCorner:g3,Files:lV,Film:cV,FingerprintPattern:y3,FireExtinguisher:uV,Fish:hV,FishOff:dV,FishSymbol:fV,Flag:gV,FlagOff:pV,FlagTriangleLeft:vV,FlagTriangleRight:mV,Flame:xV,FlameKindling:yV,Flashlight:bV,FlashlightOff:_V,FlaskConical:SV,FlaskConicalOff:EV,FlaskRound:wV,FlipHorizontal:AV,FlipHorizontal2:TV,FlipVertical:kV,FlipVertical2:CV,Flower:RV,Flower2:MV,Focus:NV,FoldHorizontal:IV,FoldVertical:LV,Folder:sG,FolderArchive:OV,FolderCheck:DV,FolderClock:PV,FolderClosed:BV,FolderCode:FV,FolderCog:_3,FolderDot:zV,FolderDown:UV,FolderGit:HV,FolderGit2:$V,FolderHeart:VV,FolderInput:GV,FolderKanban:jV,FolderKey:YV,FolderLock:WV,FolderMinus:KV,FolderOpen:XV,FolderOpenDot:qV,FolderOutput:ZV,FolderPen:x3,FolderPlus:QV,FolderRoot:JV,FolderSearch:tG,FolderSearch2:eG,FolderSymlink:rG,FolderSync:nG,FolderTree:aG,FolderUp:iG,FolderX:oG,Folders:lG,Footprints:cG,Forklift:uG,Form:dG,Forward:fG,Frame:hG,Framer:pG,Frown:vG,Fuel:mG,Fullscreen:gG,Funnel:E3,FunnelPlus:yG,FunnelX:b3,GalleryHorizontal:_G,GalleryHorizontalEnd:xG,GalleryThumbnails:bG,GalleryVertical:SG,GalleryVerticalEnd:EG,Gamepad:AG,Gamepad2:wG,GamepadDirectional:TG,Gauge:CG,Gavel:kG,Gem:MG,GeorgianLari:RG,Ghost:NG,Gift:LG,GitBranch:DG,GitBranchMinus:IG,GitBranchPlus:OG,GitCommitHorizontal:S3,GitCommitVertical:PG,GitCompare:BG,GitCompareArrows:FG,GitFork:zG,GitGraph:UG,GitMerge:$G,GitPullRequest:WG,GitPullRequestArrow:HG,GitPullRequestClosed:VG,GitPullRequestCreate:GG,GitPullRequestCreateArrow:jG,GitPullRequestDraft:YG,Github:XG,Gitlab:KG,GlassWater:ZG,Glasses:qG,Globe:JG,GlobeLock:QG,Goal:ej,Gpu:tj,GraduationCap:rj,Grape:nj,Grid2x2:C3,Grid2x2Check:w3,Grid2x2Plus:T3,Grid2x2X:A3,Grid3x2:aj,Grid3x3:rm,Grip:sj,GripHorizontal:ij,GripVertical:oj,Group:lj,Guitar:cj,Ham:uj,Hamburger:dj,Hammer:fj,Hand:gj,HandCoins:pj,HandFist:hj,HandGrab:k3,HandHeart:vj,HandHelping:M3,HandMetal:yj,HandPlatter:mj,Handbag:xj,Handshake:_j,HardDrive:Sj,HardDriveDownload:bj,HardDriveUpload:Ej,HardHat:wj,Hash:Tj,HatGlasses:Aj,Haze:Cj,HdmiPort:kj,Heading:Dj,Heading1:Mj,Heading2:Rj,Heading3:Ij,Heading4:Nj,Heading5:Lj,Heading6:Oj,HeadphoneOff:Pj,Headphones:Fj,Headset:Bj,Heart:QT,HeartCrack:zj,HeartHandshake:Uj,HeartMinus:$j,HeartOff:Hj,HeartPlus:Vj,HeartPulse:Gj,Heater:jj,Helicopter:Yj,Hexagon:Wj,Highlighter:Kj,History:Xj,Hop:Zj,HopOff:qj,Hospital:Qj,Hotel:Jj,Hourglass:eY,House:R3,HouseHeart:tY,HousePlug:rY,HousePlus:nY,HouseWifi:aY,IceCreamBowl:N3,IceCreamCone:I3,IdCard:oY,IdCardLanyard:iY,Image:pY,ImageDown:sY,ImageMinus:lY,ImageOff:cY,ImagePlay:uY,ImagePlus:dY,ImageUp:fY,ImageUpscale:hY,Images:vY,Import:mY,Inbox:gY,IndianRupee:yY,Infinity:_Y,Info:L3,InspectionPanel:xY,Instagram:bY,Italic:EY,IterationCcw:SY,IterationCw:wY,JapaneseYen:TY,Joystick:AY,Kanban:CY,Kayak:kY,Key:NY,KeyRound:MY,KeySquare:RY,Keyboard:OY,KeyboardMusic:IY,KeyboardOff:LY,Lamp:UY,LampCeiling:DY,LampDesk:PY,LampFloor:FY,LampWallDown:BY,LampWallUp:zY,LandPlot:$Y,Landmark:HY,Languages:VY,Laptop:jY,LaptopMinimal:O3,LaptopMinimalCheck:GY,Lasso:WY,LassoSelect:YY,Laugh:KY,Layers:D3,Layers2:XY,LayoutDashboard:qY,LayoutGrid:ZY,LayoutList:QY,LayoutPanelLeft:JY,LayoutPanelTop:eW,LayoutTemplate:tW,Leaf:rW,LeafyGreen:nW,Lectern:aW,Library:oW,LibraryBig:iW,LifeBuoy:sW,Ligature:lW,Lightbulb:JT,LightbulbOff:cW,LineSquiggle:uW,Link:e5,Link2:fW,Link2Off:dW,Linkedin:hW,List:IW,ListCheck:vW,ListChecks:pW,ListChevronsDownUp:gW,ListChevronsUpDown:mW,ListCollapse:yW,ListEnd:_W,ListFilter:bW,ListFilterPlus:xW,ListIndentDecrease:nm,ListIndentIncrease:am,ListMinus:SW,ListMusic:EW,ListOrdered:wW,ListPlus:TW,ListRestart:AW,ListStart:CW,ListTodo:kW,ListTree:MW,ListVideo:RW,ListX:NW,Loader:Hk,LoaderCircle:P3,LoaderPinwheel:LW,Locate:DW,LocateFixed:OW,LocateOff:PW,Lock:BW,LockKeyhole:FW,LockKeyholeOpen:F3,LockOpen:B3,LogIn:zW,LogOut:UW,Logs:$W,Lollipop:HW,Luggage:VW,Magnet:GW,Mail:QW,MailCheck:jW,MailMinus:YW,MailOpen:WW,MailPlus:KW,MailQuestionMark:z3,MailSearch:XW,MailWarning:qW,MailX:ZW,Mailbox:JW,Mails:eK,Map:vK,MapMinus:tK,MapPin:hK,MapPinCheck:nK,MapPinCheckInside:rK,MapPinHouse:aK,MapPinMinus:oK,MapPinMinusInside:iK,MapPinOff:sK,MapPinPen:U3,MapPinPlus:lK,MapPinPlusInside:cK,MapPinX:dK,MapPinXInside:uK,MapPinned:pK,MapPlus:fK,Mars:gK,MarsStroke:mK,Martini:yK,Maximize:xK,Maximize2:_K,Medal:bK,Megaphone:SK,MegaphoneOff:EK,Meh:wK,MemoryStick:TK,Menu:AK,Merge:CK,MessageCircle:Vk,MessageCircleCode:kK,MessageCircleDashed:MK,MessageCircleHeart:RK,MessageCircleMore:NK,MessageCircleOff:IK,MessageCirclePlus:LK,MessageCircleQuestionMark:$3,MessageCircleReply:OK,MessageCircleWarning:DK,MessageCircleX:PK,MessageSquare:QK,MessageSquareCode:FK,MessageSquareDashed:BK,MessageSquareDiff:zK,MessageSquareDot:UK,MessageSquareHeart:$K,MessageSquareLock:HK,MessageSquareMore:VK,MessageSquareOff:GK,MessageSquarePlus:jK,MessageSquareQuote:YK,MessageSquareReply:WK,MessageSquareShare:KK,MessageSquareText:XK,MessageSquareWarning:qK,MessageSquareX:ZK,MessagesSquare:JK,Mic:tX,MicOff:eX,MicVocal:H3,Microchip:rX,Microscope:nX,Microwave:aX,Milestone:iX,Milk:oX,MilkOff:sX,Minimize:cX,Minimize2:lX,Minus:uX,Monitor:SX,MonitorCheck:dX,MonitorCloud:fX,MonitorCog:hX,MonitorDot:pX,MonitorDown:vX,MonitorOff:mX,MonitorPause:yX,MonitorPlay:gX,MonitorSmartphone:_X,MonitorSpeaker:xX,MonitorStop:bX,MonitorUp:EX,MonitorX:wX,Moon:CX,MoonStar:TX,Motorbike:AX,Mountain:MX,MountainSnow:kX,Mouse:PX,MouseOff:RX,MousePointer:DX,MousePointer2:IX,MousePointer2Off:NX,MousePointerBan:LX,MousePointerClick:OX,Move:XX,Move3d:V3,MoveDiagonal:BX,MoveDiagonal2:FX,MoveDown:$X,MoveDownLeft:zX,MoveDownRight:UX,MoveHorizontal:VX,MoveLeft:HX,MoveRight:GX,MoveUp:WX,MoveUpLeft:jX,MoveUpRight:YX,MoveVertical:KX,Music:QX,Music2:qX,Music3:ZX,Music4:JX,Navigation:nq,Navigation2:eq,Navigation2Off:tq,NavigationOff:rq,Network:aq,Newspaper:iq,Nfc:oq,NonBinary:sq,Notebook:dq,NotebookPen:lq,NotebookTabs:cq,NotebookText:uq,NotepadText:hq,NotepadTextDashed:fq,Nut:vq,NutOff:pq,Octagon:gq,OctagonAlert:G3,OctagonMinus:mq,OctagonPause:j3,OctagonX:Y3,Omega:_q,Option:yq,Orbit:xq,Origami:bq,Package:kq,Package2:Eq,PackageCheck:Sq,PackageMinus:wq,PackageOpen:Tq,PackagePlus:Aq,PackageSearch:Cq,PackageX:Mq,PaintBucket:Rq,PaintRoller:Nq,Paintbrush:Iq,PaintbrushVertical:W3,Palette:Lq,Panda:Oq,PanelBottom:Fq,PanelBottomClose:Dq,PanelBottomDashed:K3,PanelBottomOpen:Pq,PanelLeft:Q3,PanelLeftClose:Z3,PanelLeftDashed:X3,PanelLeftOpen:q3,PanelLeftRightDashed:Bq,PanelRight:$q,PanelRightClose:zq,PanelRightDashed:J3,PanelRightOpen:Uq,PanelTop:jq,PanelTopBottomDashed:Hq,PanelTopClose:Vq,PanelTopDashed:eE,PanelTopOpen:Gq,PanelsLeftBottom:Yq,PanelsRightBottom:Wq,PanelsTopLeft:tE,Paperclip:Kq,Parentheses:Xq,ParkingMeter:qq,PartyPopper:Zq,Pause:Qq,PawPrint:Jq,PcCase:eZ,Pen:nE,PenLine:rE,PenOff:tZ,PenTool:rZ,Pencil:oZ,PencilLine:nZ,PencilOff:aZ,PencilRuler:iZ,Pentagon:sZ,Percent:lZ,PersonStanding:cZ,PhilippinePeso:uZ,Phone:gZ,PhoneCall:dZ,PhoneForwarded:fZ,PhoneIncoming:hZ,PhoneMissed:pZ,PhoneOff:vZ,PhoneOutgoing:mZ,Pi:yZ,Piano:_Z,Pickaxe:xZ,PictureInPicture:EZ,PictureInPicture2:bZ,PiggyBank:SZ,Pilcrow:AZ,PilcrowLeft:wZ,PilcrowRight:TZ,Pill:kZ,PillBottle:CZ,Pin:NZ,PinOff:MZ,Pipette:RZ,Pizza:IZ,Plane:DZ,PlaneLanding:LZ,PlaneTakeoff:OZ,Play:PZ,Plug:t5,Plug2:FZ,PlugZap:aE,Plus:BZ,Pocket:UZ,PocketKnife:zZ,Podcast:$Z,Pointer:VZ,PointerOff:HZ,Popcorn:GZ,Popsicle:jZ,PoundSterling:YZ,Power:KZ,PowerOff:WZ,Presentation:XZ,Printer:ZZ,PrinterCheck:qZ,Projector:QZ,Proportions:JZ,Puzzle:eQ,Pyramid:tQ,QrCode:rQ,Quote:nQ,Rabbit:aQ,Radar:iQ,Radiation:oQ,Radical:sQ,Radio:uQ,RadioReceiver:lQ,RadioTower:cQ,Radius:dQ,RailSymbol:fQ,Rainbow:hQ,Rat:pQ,Ratio:vQ,Receipt:TQ,ReceiptCent:mQ,ReceiptEuro:gQ,ReceiptIndianRupee:yQ,ReceiptJapaneseYen:_Q,ReceiptPoundSterling:xQ,ReceiptRussianRuble:bQ,ReceiptSwissFranc:EQ,ReceiptText:SQ,ReceiptTurkishLira:wQ,RectangleCircle:AQ,RectangleEllipsis:iE,RectangleGoggles:CQ,RectangleHorizontal:kQ,RectangleVertical:MQ,Recycle:RQ,Redo:LQ,Redo2:NQ,RedoDot:IQ,RefreshCcw:DQ,RefreshCcwDot:OQ,RefreshCw:Gk,RefreshCwOff:PQ,Refrigerator:FQ,Regex:BQ,RemoveFormatting:zQ,Repeat:HQ,Repeat1:UQ,Repeat2:$Q,Replace:GQ,ReplaceAll:VQ,Reply:WQ,ReplyAll:jQ,Rewind:YQ,Ribbon:KQ,Rocket:r5,RockingChair:XQ,RollerCoaster:qQ,Rose:ZQ,Rotate3d:oE,RotateCcw:eJ,RotateCcwKey:QQ,RotateCcwSquare:JQ,RotateCw:rJ,RotateCwSquare:tJ,Route:iJ,RouteOff:nJ,Router:aJ,Rows2:sE,Rows3:lE,Rows4:oJ,Rss:sJ,Ruler:cJ,RulerDimensionLine:lJ,RussianRuble:uJ,Sailboat:dJ,Salad:fJ,Sandwich:hJ,Satellite:vJ,SatelliteDish:pJ,SaudiRiyal:mJ,Save:_J,SaveAll:gJ,SaveOff:yJ,Scale:bJ,Scale3d:cE,Scaling:xJ,Scan:RJ,ScanBarcode:EJ,ScanEye:SJ,ScanFace:wJ,ScanHeart:TJ,ScanLine:AJ,ScanQrCode:CJ,ScanSearch:kJ,ScanText:MJ,School:NJ,Scissors:LJ,ScissorsLineDashed:IJ,ScreenShare:DJ,ScreenShareOff:OJ,Scroll:FJ,ScrollText:PJ,Search:jk,SearchCheck:BJ,SearchCode:zJ,SearchSlash:UJ,SearchX:$J,Section:HJ,Send:GJ,SendHorizontal:uE,SendToBack:VJ,SeparatorHorizontal:jJ,SeparatorVertical:YJ,Server:qJ,ServerCog:WJ,ServerCrash:KJ,ServerOff:XJ,Settings:ZJ,Settings2:Yk,Shapes:QJ,Share:eee,Share2:JJ,Sheet:tee,Shell:ree,Shield:n5,ShieldAlert:nee,ShieldBan:aee,ShieldCheck:iee,ShieldEllipsis:oee,ShieldHalf:see,ShieldMinus:lee,ShieldOff:cee,ShieldPlus:uee,ShieldQuestionMark:dE,ShieldUser:dee,ShieldX:fE,Ship:hee,ShipWheel:fee,Shirt:pee,ShoppingBag:vee,ShoppingBasket:mee,ShoppingCart:yee,Shovel:gee,ShowerHead:_ee,Shredder:xee,Shrimp:bee,Shrink:Eee,Shrub:See,Shuffle:wee,Sigma:Tee,Signal:Mee,SignalHigh:Aee,SignalLow:Cee,SignalMedium:kee,SignalZero:Nee,Signature:Ree,Signpost:Oee,SignpostBig:Iee,Siren:Lee,SkipBack:Dee,SkipForward:Pee,Skull:Fee,Slack:Bee,Slash:zee,Slice:Uee,SlidersHorizontal:$ee,SlidersVertical:hE,Smartphone:Gee,SmartphoneCharging:Hee,SmartphoneNfc:Vee,Smile:Yee,SmilePlus:jee,Snail:Wee,Snowflake:Kee,SoapDispenserDroplet:Xee,Sofa:qee,SolarPanel:Zee,Soup:Qee,Space:Jee,Spade:ete,Sparkle:tte,Sparkles:pE,Speaker:rte,Speech:nte,SpellCheck:ite,SpellCheck2:ate,Spline:ste,SplinePointer:ote,Split:lte,Spool:cte,Spotlight:ute,SprayCan:dte,Sprout:fte,Square:Ste,SquareActivity:vE,SquareArrowDown:yE,SquareArrowDownLeft:mE,SquareArrowDownRight:gE,SquareArrowLeft:_E,SquareArrowOutDownLeft:xE,SquareArrowOutDownRight:bE,SquareArrowOutUpLeft:EE,SquareArrowOutUpRight:SE,SquareArrowRight:wE,SquareArrowUp:CE,SquareArrowUpLeft:TE,SquareArrowUpRight:AE,SquareAsterisk:kE,SquareBottomDashedScissors:ME,SquareChartGantt:im,SquareCheck:RE,SquareCheckBig:NE,SquareChevronDown:LE,SquareChevronLeft:IE,SquareChevronRight:OE,SquareChevronUp:DE,SquareCode:PE,SquareDashed:zE,SquareDashedBottom:pte,SquareDashedBottomCode:hte,SquareDashedKanban:FE,SquareDashedMousePointer:BE,SquareDashedTopSolid:vte,SquareDivide:UE,SquareDot:$E,SquareEqual:HE,SquareFunction:VE,SquareKanban:GE,SquareLibrary:jE,SquareM:YE,SquareMenu:WE,SquareMinus:KE,SquareMousePointer:XE,SquareParking:ZE,SquareParkingOff:qE,SquarePause:mte,SquarePen:Yp,SquarePercent:QE,SquarePi:JE,SquarePilcrow:eS,SquarePlay:nS,SquarePlus:tS,SquarePower:rS,SquareRadical:gte,SquareRoundCorner:yte,SquareScissors:aS,SquareSigma:iS,SquareSlash:oS,SquareSplitHorizontal:sS,SquareSplitVertical:lS,SquareSquare:xte,SquareStack:_te,SquareStar:Ete,SquareStop:bte,SquareTerminal:I2,SquareUser:uS,SquareUserRound:cS,SquareX:dS,SquaresExclude:wte,SquaresIntersect:Tte,SquaresSubtract:Ate,SquaresUnite:Cte,Squircle:Mte,SquircleDashed:kte,Squirrel:Rte,Stamp:Nte,Star:Ote,StarHalf:Ite,StarOff:Lte,StepBack:Dte,StepForward:Pte,Stethoscope:Fte,Sticker:Bte,StickyNote:zte,Store:Ute,StretchHorizontal:$te,StretchVertical:Hte,Strikethrough:Vte,Subscript:Gte,Sun:Xte,SunDim:jte,SunMedium:Yte,SunMoon:Wte,SunSnow:Kte,Sunrise:qte,Sunset:Zte,Superscript:Qte,SwatchBook:Jte,SwissFranc:ere,SwitchCamera:tre,Sword:rre,Swords:nre,Syringe:are,Table:fre,Table2:ore,TableCellsMerge:ire,TableCellsSplit:sre,TableColumnsSplit:lre,TableOfContents:cre,TableProperties:ure,TableRowsSplit:dre,Tablet:pre,TabletSmartphone:hre,Tablets:vre,Tag:mre,Tags:gre,Tally1:yre,Tally2:_re,Tally3:xre,Tally4:bre,Tally5:Ere,Tangent:Sre,Target:wre,Telescope:Tre,Tent:Cre,TentTree:Are,Terminal:kre,TestTube:Mre,TestTubeDiagonal:fS,TestTubes:Rre,TextAlignCenter:hS,TextAlignEnd:pS,TextAlignJustify:vS,TextAlignStart:om,TextCursor:Ire,TextCursorInput:Nre,TextInitial:mS,TextQuote:Lre,TextSearch:Ore,TextSelect:gS,TextWrap:yS,Theater:Dre,Thermometer:Bre,ThermometerSnowflake:Pre,ThermometerSun:Fre,ThumbsDown:a5,ThumbsUp:i5,Ticket:jre,TicketCheck:Ure,TicketMinus:zre,TicketPercent:$re,TicketPlus:Hre,TicketSlash:Vre,TicketX:Gre,Tickets:Yre,TicketsPlane:Wre,Timer:qre,TimerOff:Kre,TimerReset:Xre,ToggleLeft:Zre,ToggleRight:Qre,Toilet:Jre,ToolCase:ene,Tornado:tne,Torus:rne,Touchpad:ane,TouchpadOff:nne,TowerControl:ine,ToyBrick:one,Tractor:sne,TrafficCone:cne,TrainFront:une,TrainFrontTunnel:lne,TrainTrack:dne,TramFront:_S,Transgender:fne,Trash:hne,Trash2:Wk,TreeDeciduous:pne,TreePalm:xS,TreePine:vne,Trees:mne,Trello:yne,TrendingDown:gne,TrendingUp:xne,TrendingUpDown:_ne,Triangle:Sne,TriangleAlert:$1,TriangleDashed:bne,TriangleRight:Ene,Trophy:wne,Truck:Ane,TruckElectric:Tne,TurkishLira:Cne,Turntable:Mne,Turtle:kne,Tv:Nne,TvMinimal:bS,TvMinimalPlay:Rne,Twitch:Ine,Twitter:Lne,Type:Dne,TypeOutline:One,Umbrella:Fne,UmbrellaOff:Pne,Underline:Bne,Undo:Une,Undo2:$ne,UndoDot:zne,UnfoldHorizontal:Hne,UnfoldVertical:Vne,Ungroup:Gne,University:ES,Unlink:Yne,Unlink2:jne,Unplug:Wne,Upload:Kk,Usb:Kne,User:oae,UserCheck:Xne,UserCog:qne,UserLock:Zne,UserMinus:Qne,UserPen:Jne,UserPlus:eae,UserRound:kS,UserRoundCheck:SS,UserRoundCog:wS,UserRoundMinus:TS,UserRoundPen:tae,UserRoundPlus:AS,UserRoundSearch:rae,UserRoundX:CS,UserSearch:nae,UserStar:aae,UserX:iae,Users:sae,UsersRound:MS,Utensils:NS,UtensilsCrossed:RS,UtilityPole:lae,Variable:cae,Vault:uae,VectorSquare:dae,Vegan:fae,VenetianMask:hae,Venus:vae,VenusAndMars:pae,Vibrate:gae,VibrateOff:mae,Video:_ae,VideoOff:yae,Videotape:xae,View:bae,Voicemail:Eae,Volleyball:Sae,Volume:kae,Volume1:wae,Volume2:Tae,VolumeOff:Aae,VolumeX:Cae,Vote:Mae,Wallet:Nae,WalletCards:Rae,WalletMinimal:IS,Wallpaper:Iae,Wand:Lae,WandSparkles:LS,Warehouse:Oae,WashingMachine:Dae,Watch:Pae,Waves:Uae,WavesArrowDown:Fae,WavesArrowUp:Bae,WavesLadder:zae,Waypoints:$ae,Webcam:Hae,Webhook:Gae,WebhookOff:Vae,Weight:jae,Wheat:Wae,WheatOff:Yae,WholeWord:Kae,Wifi:nie,WifiCog:Xae,WifiHigh:qae,WifiLow:Zae,WifiOff:Qae,WifiPen:Jae,WifiSync:eie,WifiZero:tie,Wind:aie,WindArrowDown:rie,Wine:iie,WineOff:oie,Workflow:sie,Worm:lie,Wrench:Xk,X:Uh,Youtube:cie,Zap:fie,ZapOff:uie,ZoomIn:die,ZoomOut:hie},Symbol.toStringTag,{value:"Module"}));/**
* @license lucide-react v0.555.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rze=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:L9,AArrowDownIcon:L9,AArrowUp:O9,AArrowUpIcon:O9,ALargeSmall:D9,ALargeSmallIcon:D9,Accessibility:P9,AccessibilityIcon:P9,Activity:F9,ActivityIcon:F9,ActivitySquare:vE,ActivitySquareIcon:vE,AirVent:B9,AirVentIcon:B9,Airplay:z9,AirplayIcon:z9,AlarmCheck:Rx,AlarmCheckIcon:Rx,AlarmClock:$9,AlarmClockCheck:Rx,AlarmClockCheckIcon:Rx,AlarmClockIcon:$9,AlarmClockMinus:Nx,AlarmClockMinusIcon:Nx,AlarmClockOff:U9,AlarmClockOffIcon:U9,AlarmClockPlus:Ix,AlarmClockPlusIcon:Ix,AlarmMinus:Nx,AlarmMinusIcon:Nx,AlarmPlus:Ix,AlarmPlusIcon:Ix,AlarmSmoke:H9,AlarmSmokeIcon:H9,Album:V9,AlbumIcon:V9,AlertCircle:Jv,AlertCircleIcon:Jv,AlertOctagon:G3,AlertOctagonIcon:G3,AlertTriangle:$1,AlertTriangleIcon:$1,AlignCenter:hS,AlignCenterHorizontal:G9,AlignCenterHorizontalIcon:G9,AlignCenterIcon:hS,AlignCenterVertical:j9,AlignCenterVerticalIcon:j9,AlignEndHorizontal:Y9,AlignEndHorizontalIcon:Y9,AlignEndVertical:W9,AlignEndVerticalIcon:W9,AlignHorizontalDistributeCenter:K9,AlignHorizontalDistributeCenterIcon:K9,AlignHorizontalDistributeEnd:X9,AlignHorizontalDistributeEndIcon:X9,AlignHorizontalDistributeStart:q9,AlignHorizontalDistributeStartIcon:q9,AlignHorizontalJustifyCenter:Z9,AlignHorizontalJustifyCenterIcon:Z9,AlignHorizontalJustifyEnd:Q9,AlignHorizontalJustifyEndIcon:Q9,AlignHorizontalJustifyStart:J9,AlignHorizontalJustifyStartIcon:J9,AlignHorizontalSpaceAround:eO,AlignHorizontalSpaceAroundIcon:eO,AlignHorizontalSpaceBetween:rO,AlignHorizontalSpaceBetweenIcon:rO,AlignJustify:vS,AlignJustifyIcon:vS,AlignLeft:om,AlignLeftIcon:om,AlignRight:pS,AlignRightIcon:pS,AlignStartHorizontal:tO,AlignStartHorizontalIcon:tO,AlignStartVertical:nO,AlignStartVerticalIcon:nO,AlignVerticalDistributeCenter:aO,AlignVerticalDistributeCenterIcon:aO,AlignVerticalDistributeEnd:iO,AlignVerticalDistributeEndIcon:iO,AlignVerticalDistributeStart:sO,AlignVerticalDistributeStartIcon:sO,AlignVerticalJustifyCenter:oO,AlignVerticalJustifyCenterIcon:oO,AlignVerticalJustifyEnd:lO,AlignVerticalJustifyEndIcon:lO,AlignVerticalJustifyStart:cO,AlignVerticalJustifyStartIcon:cO,AlignVerticalSpaceAround:uO,AlignVerticalSpaceAroundIcon:uO,AlignVerticalSpaceBetween:dO,AlignVerticalSpaceBetweenIcon:dO,Ambulance:fO,AmbulanceIcon:fO,Ampersand:hO,AmpersandIcon:hO,Ampersands:pO,AmpersandsIcon:pO,Amphora:vO,AmphoraIcon:vO,Anchor:mO,AnchorIcon:mO,Angry:gO,AngryIcon:gO,Annoyed:yO,AnnoyedIcon:yO,Antenna:_O,AntennaIcon:_O,Anvil:xO,AnvilIcon:xO,Aperture:bO,ApertureIcon:bO,AppWindow:SO,AppWindowIcon:SO,AppWindowMac:EO,AppWindowMacIcon:EO,Apple:wO,AppleIcon:wO,Archive:CO,ArchiveIcon:CO,ArchiveRestore:TO,ArchiveRestoreIcon:TO,ArchiveX:AO,ArchiveXIcon:AO,AreaChart:Kx,AreaChartIcon:Kx,Armchair:kO,ArmchairIcon:kO,ArrowBigDown:RO,ArrowBigDownDash:MO,ArrowBigDownDashIcon:MO,ArrowBigDownIcon:RO,ArrowBigLeft:IO,ArrowBigLeftDash:NO,ArrowBigLeftDashIcon:NO,ArrowBigLeftIcon:IO,ArrowBigRight:OO,ArrowBigRightDash:LO,ArrowBigRightDashIcon:LO,ArrowBigRightIcon:OO,ArrowBigUp:PO,ArrowBigUpDash:DO,ArrowBigUpDashIcon:DO,ArrowBigUpIcon:PO,ArrowDown:jT,ArrowDown01:FO,ArrowDown01Icon:FO,ArrowDown10:BO,ArrowDown10Icon:BO,ArrowDownAZ:Lx,ArrowDownAZIcon:Lx,ArrowDownAz:Lx,ArrowDownAzIcon:Lx,ArrowDownCircle:lb,ArrowDownCircleIcon:lb,ArrowDownFromLine:zO,ArrowDownFromLineIcon:zO,ArrowDownIcon:jT,ArrowDownLeft:UO,ArrowDownLeftFromCircle:ub,ArrowDownLeftFromCircleIcon:ub,ArrowDownLeftFromSquare:xE,ArrowDownLeftFromSquareIcon:xE,ArrowDownLeftIcon:UO,ArrowDownLeftSquare:mE,ArrowDownLeftSquareIcon:mE,ArrowDownNarrowWide:$O,ArrowDownNarrowWideIcon:$O,ArrowDownRight:HO,ArrowDownRightFromCircle:db,ArrowDownRightFromCircleIcon:db,ArrowDownRightFromSquare:bE,ArrowDownRightFromSquareIcon:bE,ArrowDownRightIcon:HO,ArrowDownRightSquare:gE,ArrowDownRightSquareIcon:gE,ArrowDownSquare:yE,ArrowDownSquareIcon:yE,ArrowDownToDot:VO,ArrowDownToDotIcon:VO,ArrowDownToLine:GO,ArrowDownToLineIcon:GO,ArrowDownUp:jO,ArrowDownUpIcon:jO,ArrowDownWideNarrow:Ox,ArrowDownWideNarrowIcon:Ox,ArrowDownZA:Dx,ArrowDownZAIcon:Dx,ArrowDownZa:Dx,ArrowDownZaIcon:Dx,ArrowLeft:Pk,ArrowLeftCircle:cb,ArrowLeftCircleIcon:cb,ArrowLeftFromLine:YO,ArrowLeftFromLineIcon:YO,ArrowLeftIcon:Pk,ArrowLeftRight:WO,ArrowLeftRightIcon:WO,ArrowLeftSquare:_E,ArrowLeftSquareIcon:_E,ArrowLeftToLine:KO,ArrowLeftToLineIcon:KO,ArrowRight:Fk,ArrowRightCircle:pb,ArrowRightCircleIcon:pb,ArrowRightFromLine:XO,ArrowRightFromLineIcon:XO,ArrowRightIcon:Fk,ArrowRightLeft:qO,ArrowRightLeftIcon:qO,ArrowRightSquare:wE,ArrowRightSquareIcon:wE,ArrowRightToLine:ZO,ArrowRightToLineIcon:ZO,ArrowUp:Bk,ArrowUp01:QO,ArrowUp01Icon:QO,ArrowUp10:JO,ArrowUp10Icon:JO,ArrowUpAZ:Px,ArrowUpAZIcon:Px,ArrowUpAz:Px,ArrowUpAzIcon:Px,ArrowUpCircle:vb,ArrowUpCircleIcon:vb,ArrowUpDown:eD,ArrowUpDownIcon:eD,ArrowUpFromDot:tD,ArrowUpFromDotIcon:tD,ArrowUpFromLine:rD,ArrowUpFromLineIcon:rD,ArrowUpIcon:Bk,ArrowUpLeft:nD,ArrowUpLeftFromCircle:fb,ArrowUpLeftFromCircleIcon:fb,ArrowUpLeftFromSquare:EE,ArrowUpLeftFromSquareIcon:EE,ArrowUpLeftIcon:nD,ArrowUpLeftSquare:TE,ArrowUpLeftSquareIcon:TE,ArrowUpNarrowWide:Fx,ArrowUpNarrowWideIcon:Fx,ArrowUpRight:aD,ArrowUpRightFromCircle:hb,ArrowUpRightFromCircleIcon:hb,ArrowUpRightFromSquare:SE,ArrowUpRightFromSquareIcon:SE,ArrowUpRightIcon:aD,ArrowUpRightSquare:AE,ArrowUpRightSquareIcon:AE,ArrowUpSquare:CE,ArrowUpSquareIcon:CE,ArrowUpToLine:iD,ArrowUpToLineIcon:iD,ArrowUpWideNarrow:oD,ArrowUpWideNarrowIcon:oD,ArrowUpZA:Bx,ArrowUpZAIcon:Bx,ArrowUpZa:Bx,ArrowUpZaIcon:Bx,ArrowsUpFromLine:lD,ArrowsUpFromLineIcon:lD,Asterisk:sD,AsteriskIcon:sD,AsteriskSquare:kE,AsteriskSquareIcon:kE,AtSign:cD,AtSignIcon:cD,Atom:uD,AtomIcon:uD,AudioLines:dD,AudioLinesIcon:dD,AudioWaveform:fD,AudioWaveformIcon:fD,Award:hD,AwardIcon:hD,Axe:pD,AxeIcon:pD,Axis3D:zx,Axis3DIcon:zx,Axis3d:zx,Axis3dIcon:zx,Baby:vD,BabyIcon:vD,Backpack:mD,BackpackIcon:mD,Badge:ID,BadgeAlert:gD,BadgeAlertIcon:gD,BadgeCent:yD,BadgeCentIcon:yD,BadgeCheck:Ux,BadgeCheckIcon:Ux,BadgeDollarSign:_D,BadgeDollarSignIcon:_D,BadgeEuro:xD,BadgeEuroIcon:xD,BadgeHelp:$x,BadgeHelpIcon:$x,BadgeIcon:ID,BadgeIndianRupee:bD,BadgeIndianRupeeIcon:bD,BadgeInfo:ED,BadgeInfoIcon:ED,BadgeJapaneseYen:SD,BadgeJapaneseYenIcon:SD,BadgeMinus:wD,BadgeMinusIcon:wD,BadgePercent:TD,BadgePercentIcon:TD,BadgePlus:AD,BadgePlusIcon:AD,BadgePoundSterling:CD,BadgePoundSterlingIcon:CD,BadgeQuestionMark:$x,BadgeQuestionMarkIcon:$x,BadgeRussianRuble:kD,BadgeRussianRubleIcon:kD,BadgeSwissFranc:MD,BadgeSwissFrancIcon:MD,BadgeTurkishLira:RD,BadgeTurkishLiraIcon:RD,BadgeX:ND,BadgeXIcon:ND,BaggageClaim:LD,BaggageClaimIcon:LD,Ban:OD,BanIcon:OD,Banana:DD,BananaIcon:DD,Bandage:PD,BandageIcon:PD,Banknote:$D,BanknoteArrowDown:FD,BanknoteArrowDownIcon:FD,BanknoteArrowUp:BD,BanknoteArrowUpIcon:BD,BanknoteIcon:$D,BanknoteX:zD,BanknoteXIcon:zD,BarChart:rb,BarChart2:nb,BarChart2Icon:nb,BarChart3:eb,BarChart3Icon:eb,BarChart4:Jx,BarChart4Icon:Jx,BarChartBig:Qx,BarChartBigIcon:Qx,BarChartHorizontal:qx,BarChartHorizontalBig:Xx,BarChartHorizontalBigIcon:Xx,BarChartHorizontalIcon:qx,BarChartIcon:rb,Barcode:UD,BarcodeIcon:UD,Barrel:HD,BarrelIcon:HD,Baseline:VD,BaselineIcon:VD,Bath:GD,BathIcon:GD,Battery:ZD,BatteryCharging:YD,BatteryChargingIcon:YD,BatteryFull:jD,BatteryFullIcon:jD,BatteryIcon:ZD,BatteryLow:WD,BatteryLowIcon:WD,BatteryMedium:KD,BatteryMediumIcon:KD,BatteryPlus:XD,BatteryPlusIcon:XD,BatteryWarning:qD,BatteryWarningIcon:qD,Beaker:QD,BeakerIcon:QD,Bean:eP,BeanIcon:eP,BeanOff:JD,BeanOffIcon:JD,Bed:nP,BedDouble:tP,BedDoubleIcon:tP,BedIcon:nP,BedSingle:rP,BedSingleIcon:rP,Beef:aP,BeefIcon:aP,Beer:oP,BeerIcon:oP,BeerOff:iP,BeerOffIcon:iP,Bell:fP,BellDot:sP,BellDotIcon:sP,BellElectric:lP,BellElectricIcon:lP,BellIcon:fP,BellMinus:cP,BellMinusIcon:cP,BellOff:uP,BellOffIcon:uP,BellPlus:dP,BellPlusIcon:dP,BellRing:YT,BellRingIcon:YT,BetweenHorizonalEnd:Hx,BetweenHorizonalEndIcon:Hx,BetweenHorizonalStart:Vx,BetweenHorizonalStartIcon:Vx,BetweenHorizontalEnd:Hx,BetweenHorizontalEndIcon:Hx,BetweenHorizontalStart:Vx,BetweenHorizontalStartIcon:Vx,BetweenVerticalEnd:hP,BetweenVerticalEndIcon:hP,BetweenVerticalStart:pP,BetweenVerticalStartIcon:pP,BicepsFlexed:vP,BicepsFlexedIcon:vP,Bike:mP,BikeIcon:mP,Binary:gP,BinaryIcon:gP,Binoculars:yP,BinocularsIcon:yP,Biohazard:_P,BiohazardIcon:_P,Bird:xP,BirdIcon:xP,Birdhouse:bP,BirdhouseIcon:bP,Bitcoin:EP,BitcoinIcon:EP,Blend:SP,BlendIcon:SP,Blinds:wP,BlindsIcon:wP,Blocks:TP,BlocksIcon:TP,Bluetooth:MP,BluetoothConnected:AP,BluetoothConnectedIcon:AP,BluetoothIcon:MP,BluetoothOff:CP,BluetoothOffIcon:CP,BluetoothSearching:kP,BluetoothSearchingIcon:kP,Bold:RP,BoldIcon:RP,Bolt:NP,BoltIcon:NP,Bomb:IP,BombIcon:IP,Bone:LP,BoneIcon:LP,Book:rF,BookA:OP,BookAIcon:OP,BookAlert:DP,BookAlertIcon:DP,BookAudio:PP,BookAudioIcon:PP,BookCheck:FP,BookCheckIcon:FP,BookCopy:BP,BookCopyIcon:BP,BookDashed:Gx,BookDashedIcon:Gx,BookDown:zP,BookDownIcon:zP,BookHeadphones:UP,BookHeadphonesIcon:UP,BookHeart:$P,BookHeartIcon:$P,BookIcon:rF,BookImage:HP,BookImageIcon:HP,BookKey:VP,BookKeyIcon:VP,BookLock:GP,BookLockIcon:GP,BookMarked:jP,BookMarkedIcon:jP,BookMinus:YP,BookMinusIcon:YP,BookOpen:WT,BookOpenCheck:WP,BookOpenCheckIcon:WP,BookOpenIcon:WT,BookOpenText:KP,BookOpenTextIcon:KP,BookPlus:XP,BookPlusIcon:XP,BookTemplate:Gx,BookTemplateIcon:Gx,BookText:qP,BookTextIcon:qP,BookType:ZP,BookTypeIcon:ZP,BookUp:JP,BookUp2:QP,BookUp2Icon:QP,BookUpIcon:JP,BookUser:eF,BookUserIcon:eF,BookX:tF,BookXIcon:tF,Bookmark:sF,BookmarkCheck:nF,BookmarkCheckIcon:nF,BookmarkIcon:sF,BookmarkMinus:aF,BookmarkMinusIcon:aF,BookmarkPlus:iF,BookmarkPlusIcon:iF,BookmarkX:oF,BookmarkXIcon:oF,BoomBox:lF,BoomBoxIcon:lF,Bot:dF,BotIcon:dF,BotMessageSquare:cF,BotMessageSquareIcon:cF,BotOff:uF,BotOffIcon:uF,BottleWine:hF,BottleWineIcon:hF,BowArrow:fF,BowArrowIcon:fF,Box:pF,BoxIcon:pF,BoxSelect:zE,BoxSelectIcon:zE,Boxes:vF,BoxesIcon:vF,Braces:jx,BracesIcon:jx,Brackets:mF,BracketsIcon:mF,Brain:xF,BrainCircuit:gF,BrainCircuitIcon:gF,BrainCog:yF,BrainCogIcon:yF,BrainIcon:xF,BrickWall:EF,BrickWallFire:_F,BrickWallFireIcon:_F,BrickWallIcon:EF,BrickWallShield:bF,BrickWallShieldIcon:bF,Briefcase:CF,BriefcaseBusiness:SF,BriefcaseBusinessIcon:SF,BriefcaseConveyorBelt:wF,BriefcaseConveyorBeltIcon:wF,BriefcaseIcon:CF,BriefcaseMedical:TF,BriefcaseMedicalIcon:TF,BringToFront:AF,BringToFrontIcon:AF,Brush:MF,BrushCleaning:kF,BrushCleaningIcon:kF,BrushIcon:MF,Bubbles:RF,BubblesIcon:RF,Bug:Yx,BugIcon:Yx,BugOff:NF,BugOffIcon:NF,BugPlay:IF,BugPlayIcon:IF,Building:OF,Building2:LF,Building2Icon:LF,BuildingIcon:OF,Bus:PF,BusFront:DF,BusFrontIcon:DF,BusIcon:PF,Cable:BF,CableCar:FF,CableCarIcon:FF,CableIcon:BF,Cake:UF,CakeIcon:UF,CakeSlice:zF,CakeSliceIcon:zF,Calculator:$F,CalculatorIcon:$F,Calendar:lB,Calendar1:HF,Calendar1Icon:HF,CalendarArrowDown:VF,CalendarArrowDownIcon:VF,CalendarArrowUp:GF,CalendarArrowUpIcon:GF,CalendarCheck:YF,CalendarCheck2:jF,CalendarCheck2Icon:jF,CalendarCheckIcon:YF,CalendarClock:KF,CalendarClockIcon:KF,CalendarCog:WF,CalendarCogIcon:WF,CalendarDays:XF,CalendarDaysIcon:XF,CalendarFold:qF,CalendarFoldIcon:qF,CalendarHeart:ZF,CalendarHeartIcon:ZF,CalendarIcon:lB,CalendarMinus:JF,CalendarMinus2:QF,CalendarMinus2Icon:QF,CalendarMinusIcon:JF,CalendarOff:eB,CalendarOffIcon:eB,CalendarPlus:rB,CalendarPlus2:tB,CalendarPlus2Icon:tB,CalendarPlusIcon:rB,CalendarRange:nB,CalendarRangeIcon:nB,CalendarSearch:aB,CalendarSearchIcon:aB,CalendarSync:iB,CalendarSyncIcon:iB,CalendarX:sB,CalendarX2:oB,CalendarX2Icon:oB,CalendarXIcon:sB,Calendars:cB,CalendarsIcon:cB,Camera:dB,CameraIcon:dB,CameraOff:uB,CameraOffIcon:uB,CandlestickChart:Zx,CandlestickChartIcon:Zx,Candy:pB,CandyCane:fB,CandyCaneIcon:fB,CandyIcon:pB,CandyOff:hB,CandyOffIcon:hB,Cannabis:vB,CannabisIcon:vB,Captions:Wx,CaptionsIcon:Wx,CaptionsOff:mB,CaptionsOffIcon:mB,Car:_B,CarFront:gB,CarFrontIcon:gB,CarIcon:_B,CarTaxiFront:yB,CarTaxiFrontIcon:yB,Caravan:xB,CaravanIcon:xB,CardSim:bB,CardSimIcon:bB,Carrot:EB,CarrotIcon:EB,CaseLower:SB,CaseLowerIcon:SB,CaseSensitive:wB,CaseSensitiveIcon:wB,CaseUpper:TB,CaseUpperIcon:TB,CassetteTape:AB,CassetteTapeIcon:AB,Cast:CB,CastIcon:CB,Castle:kB,CastleIcon:kB,Cat:MB,CatIcon:MB,Cctv:RB,CctvIcon:RB,ChartArea:Kx,ChartAreaIcon:Kx,ChartBar:qx,ChartBarBig:Xx,ChartBarBigIcon:Xx,ChartBarDecreasing:NB,ChartBarDecreasingIcon:NB,ChartBarIcon:qx,ChartBarIncreasing:IB,ChartBarIncreasingIcon:IB,ChartBarStacked:LB,ChartBarStackedIcon:LB,ChartCandlestick:Zx,ChartCandlestickIcon:Zx,ChartColumn:eb,ChartColumnBig:Qx,ChartColumnBigIcon:Qx,ChartColumnDecreasing:OB,ChartColumnDecreasingIcon:OB,ChartColumnIcon:eb,ChartColumnIncreasing:Jx,ChartColumnIncreasingIcon:Jx,ChartColumnStacked:DB,ChartColumnStackedIcon:DB,ChartGantt:PB,ChartGanttIcon:PB,ChartLine:tb,ChartLineIcon:tb,ChartNetwork:FB,ChartNetworkIcon:FB,ChartNoAxesColumn:nb,ChartNoAxesColumnDecreasing:BB,ChartNoAxesColumnDecreasingIcon:BB,ChartNoAxesColumnIcon:nb,ChartNoAxesColumnIncreasing:rb,ChartNoAxesColumnIncreasingIcon:rb,ChartNoAxesCombined:zB,ChartNoAxesCombinedIcon:zB,ChartNoAxesGantt:ab,ChartNoAxesGanttIcon:ab,ChartPie:ib,ChartPieIcon:ib,ChartScatter:ob,ChartScatterIcon:ob,ChartSpline:UB,ChartSplineIcon:UB,Check:Ig,CheckCheck:$B,CheckCheckIcon:$B,CheckCircle:U1,CheckCircle2:mb,CheckCircle2Icon:mb,CheckCircleIcon:U1,CheckIcon:Ig,CheckLine:HB,CheckLineIcon:HB,CheckSquare:NE,CheckSquare2:RE,CheckSquare2Icon:RE,CheckSquareIcon:NE,ChefHat:VB,ChefHatIcon:VB,Cherry:GB,CherryIcon:GB,ChessBishop:jB,ChessBishopIcon:jB,ChessKing:YB,ChessKingIcon:YB,ChessKnight:KB,ChessKnightIcon:KB,ChessPawn:WB,ChessPawnIcon:WB,ChessQueen:XB,ChessQueenIcon:XB,ChessRook:qB,ChessRookIcon:qB,ChevronDown:R2,ChevronDownCircle:gb,ChevronDownCircleIcon:gb,ChevronDownIcon:R2,ChevronDownSquare:LE,ChevronDownSquareIcon:LE,ChevronFirst:ZB,ChevronFirstIcon:ZB,ChevronLast:QB,ChevronLastIcon:QB,ChevronLeft:zk,ChevronLeftCircle:yb,ChevronLeftCircleIcon:yb,ChevronLeftIcon:zk,ChevronLeftSquare:IE,ChevronLeftSquareIcon:IE,ChevronRight:KT,ChevronRightCircle:_b,ChevronRightCircleIcon:_b,ChevronRightIcon:KT,ChevronRightSquare:OE,ChevronRightSquareIcon:OE,ChevronUp:XT,ChevronUpCircle:xb,ChevronUpCircleIcon:xb,ChevronUpIcon:XT,ChevronUpSquare:DE,ChevronUpSquareIcon:DE,ChevronsDown:ez,ChevronsDownIcon:ez,ChevronsDownUp:JB,ChevronsDownUpIcon:JB,ChevronsLeft:nz,ChevronsLeftIcon:nz,ChevronsLeftRight:rz,ChevronsLeftRightEllipsis:tz,ChevronsLeftRightEllipsisIcon:tz,ChevronsLeftRightIcon:rz,ChevronsRight:iz,ChevronsRightIcon:iz,ChevronsRightLeft:az,ChevronsRightLeftIcon:az,ChevronsUp:sz,ChevronsUpDown:oz,ChevronsUpDownIcon:oz,ChevronsUpIcon:sz,Chrome:sb,ChromeIcon:sb,Chromium:sb,ChromiumIcon:sb,Church:cz,ChurchIcon:cz,Cigarette:uz,CigaretteIcon:uz,CigaretteOff:lz,CigaretteOffIcon:lz,Circle:qT,CircleAlert:Jv,CircleAlertIcon:Jv,CircleArrowDown:lb,CircleArrowDownIcon:lb,CircleArrowLeft:cb,CircleArrowLeftIcon:cb,CircleArrowOutDownLeft:ub,CircleArrowOutDownLeftIcon:ub,CircleArrowOutDownRight:db,CircleArrowOutDownRightIcon:db,CircleArrowOutUpLeft:fb,CircleArrowOutUpLeftIcon:fb,CircleArrowOutUpRight:hb,CircleArrowOutUpRightIcon:hb,CircleArrowRight:pb,CircleArrowRightIcon:pb,CircleArrowUp:vb,CircleArrowUpIcon:vb,CircleCheck:mb,CircleCheckBig:U1,CircleCheckBigIcon:U1,CircleCheckIcon:mb,CircleChevronDown:gb,CircleChevronDownIcon:gb,CircleChevronLeft:yb,CircleChevronLeftIcon:yb,CircleChevronRight:_b,CircleChevronRightIcon:_b,CircleChevronUp:xb,CircleChevronUpIcon:xb,CircleDashed:dz,CircleDashedIcon:dz,CircleDivide:bb,CircleDivideIcon:bb,CircleDollarSign:fz,CircleDollarSignIcon:fz,CircleDot:pz,CircleDotDashed:hz,CircleDotDashedIcon:hz,CircleDotIcon:pz,CircleEllipsis:vz,CircleEllipsisIcon:vz,CircleEqual:mz,CircleEqualIcon:mz,CircleFadingArrowUp:gz,CircleFadingArrowUpIcon:gz,CircleFadingPlus:yz,CircleFadingPlusIcon:yz,CircleGauge:Eb,CircleGaugeIcon:Eb,CircleHelp:G0,CircleHelpIcon:G0,CircleIcon:qT,CircleMinus:Sb,CircleMinusIcon:Sb,CircleOff:_z,CircleOffIcon:_z,CircleParking:Tb,CircleParkingIcon:Tb,CircleParkingOff:wb,CircleParkingOffIcon:wb,CirclePause:Ab,CirclePauseIcon:Ab,CirclePercent:Cb,CirclePercentIcon:Cb,CirclePlay:kb,CirclePlayIcon:kb,CirclePlus:Mb,CirclePlusIcon:Mb,CirclePoundSterling:xz,CirclePoundSterlingIcon:xz,CirclePower:Rb,CirclePowerIcon:Rb,CircleQuestionMark:G0,CircleQuestionMarkIcon:G0,CircleSlash:bz,CircleSlash2:Nb,CircleSlash2Icon:Nb,CircleSlashIcon:bz,CircleSlashed:Nb,CircleSlashedIcon:Nb,CircleSmall:Ez,CircleSmallIcon:Ez,CircleStar:Sz,CircleStarIcon:Sz,CircleStop:Ib,CircleStopIcon:Ib,CircleUser:Ob,CircleUserIcon:Ob,CircleUserRound:Lb,CircleUserRoundIcon:Lb,CircleX:Db,CircleXIcon:Db,CircuitBoard:wz,CircuitBoardIcon:wz,Citrus:Tz,CitrusIcon:Tz,Clapperboard:Az,ClapperboardIcon:Az,Clipboard:Pz,ClipboardCheck:Cz,ClipboardCheckIcon:Cz,ClipboardClock:kz,ClipboardClockIcon:kz,ClipboardCopy:Mz,ClipboardCopyIcon:Mz,ClipboardEdit:Fb,ClipboardEditIcon:Fb,ClipboardIcon:Pz,ClipboardList:Rz,ClipboardListIcon:Rz,ClipboardMinus:Nz,ClipboardMinusIcon:Nz,ClipboardPaste:Iz,ClipboardPasteIcon:Iz,ClipboardPen:Fb,ClipboardPenIcon:Fb,ClipboardPenLine:Pb,ClipboardPenLineIcon:Pb,ClipboardPlus:Lz,ClipboardPlusIcon:Lz,ClipboardSignature:Pb,ClipboardSignatureIcon:Pb,ClipboardType:Oz,ClipboardTypeIcon:Oz,ClipboardX:Dz,ClipboardXIcon:Dz,Clock:ZT,Clock1:Fz,Clock10:Bz,Clock10Icon:Bz,Clock11:zz,Clock11Icon:zz,Clock12:Uz,Clock12Icon:Uz,Clock1Icon:Fz,Clock2:$z,Clock2Icon:$z,Clock3:Hz,Clock3Icon:Hz,Clock4:Vz,Clock4Icon:Vz,Clock5:Gz,Clock5Icon:Gz,Clock6:jz,Clock6Icon:jz,Clock7:Yz,Clock7Icon:Yz,Clock8:Wz,Clock8Icon:Wz,Clock9:Kz,Clock9Icon:Kz,ClockAlert:Xz,ClockAlertIcon:Xz,ClockArrowDown:qz,ClockArrowDownIcon:qz,ClockArrowUp:Zz,ClockArrowUpIcon:Zz,ClockCheck:Qz,ClockCheckIcon:Qz,ClockFading:Jz,ClockFadingIcon:Jz,ClockIcon:ZT,ClockPlus:eU,ClockPlusIcon:eU,ClosedCaption:tU,ClosedCaptionIcon:tU,Cloud:gU,CloudAlert:rU,CloudAlertIcon:rU,CloudCheck:aU,CloudCheckIcon:aU,CloudCog:nU,CloudCogIcon:nU,CloudDownload:Bb,CloudDownloadIcon:Bb,CloudDrizzle:iU,CloudDrizzleIcon:iU,CloudFog:oU,CloudFogIcon:oU,CloudHail:sU,CloudHailIcon:sU,CloudIcon:gU,CloudLightning:lU,CloudLightningIcon:lU,CloudMoon:uU,CloudMoonIcon:uU,CloudMoonRain:cU,CloudMoonRainIcon:cU,CloudOff:dU,CloudOffIcon:dU,CloudRain:hU,CloudRainIcon:hU,CloudRainWind:fU,CloudRainWindIcon:fU,CloudSnow:pU,CloudSnowIcon:pU,CloudSun:mU,CloudSunIcon:mU,CloudSunRain:vU,CloudSunRainIcon:vU,CloudUpload:zb,CloudUploadIcon:zb,Cloudy:yU,CloudyIcon:yU,Clover:_U,CloverIcon:_U,Club:xU,ClubIcon:xU,Code:bU,Code2:Ub,Code2Icon:Ub,CodeIcon:bU,CodeSquare:PE,CodeSquareIcon:PE,CodeXml:Ub,CodeXmlIcon:Ub,Codepen:EU,CodepenIcon:EU,Codesandbox:SU,CodesandboxIcon:SU,Coffee:wU,CoffeeIcon:wU,Cog:AU,CogIcon:AU,Coins:TU,CoinsIcon:TU,Columns:$b,Columns2:$b,Columns2Icon:$b,Columns3:Hb,Columns3Cog:em,Columns3CogIcon:em,Columns3Icon:Hb,Columns4:CU,Columns4Icon:CU,ColumnsIcon:$b,ColumnsSettings:em,ColumnsSettingsIcon:em,Combine:kU,CombineIcon:kU,Command:MU,CommandIcon:MU,Compass:RU,CompassIcon:RU,Component:NU,ComponentIcon:NU,Computer:IU,ComputerIcon:IU,ConciergeBell:LU,ConciergeBellIcon:LU,Cone:OU,ConeIcon:OU,Construction:DU,ConstructionIcon:DU,Contact:PU,Contact2:Vb,Contact2Icon:Vb,ContactIcon:PU,ContactRound:Vb,ContactRoundIcon:Vb,Container:FU,ContainerIcon:FU,Contrast:BU,ContrastIcon:BU,Cookie:zU,CookieIcon:zU,CookingPot:UU,CookingPotIcon:UU,Copy:Uk,CopyCheck:$U,CopyCheckIcon:$U,CopyIcon:Uk,CopyMinus:HU,CopyMinusIcon:HU,CopyPlus:VU,CopyPlusIcon:VU,CopySlash:GU,CopySlashIcon:GU,CopyX:jU,CopyXIcon:jU,Copyleft:YU,CopyleftIcon:YU,Copyright:WU,CopyrightIcon:WU,CornerDownLeft:KU,CornerDownLeftIcon:KU,CornerDownRight:XU,CornerDownRightIcon:XU,CornerLeftDown:qU,CornerLeftDownIcon:qU,CornerLeftUp:ZU,CornerLeftUpIcon:ZU,CornerRightDown:QU,CornerRightDownIcon:QU,CornerRightUp:JU,CornerRightUpIcon:JU,CornerUpLeft:e$,CornerUpLeftIcon:e$,CornerUpRight:t$,CornerUpRightIcon:t$,Cpu:r$,CpuIcon:r$,CreativeCommons:n$,CreativeCommonsIcon:n$,CreditCard:a$,CreditCardIcon:a$,Croissant:i$,CroissantIcon:i$,Crop:o$,CropIcon:o$,Cross:s$,CrossIcon:s$,Crosshair:l$,CrosshairIcon:l$,Crown:c$,CrownIcon:c$,Cuboid:u$,CuboidIcon:u$,CupSoda:d$,CupSodaIcon:d$,CurlyBraces:jx,CurlyBracesIcon:jx,Currency:f$,CurrencyIcon:f$,Cylinder:h$,CylinderIcon:h$,Dam:p$,DamIcon:p$,Database:g$,DatabaseBackup:v$,DatabaseBackupIcon:v$,DatabaseIcon:g$,DatabaseZap:m$,DatabaseZapIcon:m$,DecimalsArrowLeft:y$,DecimalsArrowLeftIcon:y$,DecimalsArrowRight:_$,DecimalsArrowRightIcon:_$,Delete:x$,DeleteIcon:x$,Dessert:b$,DessertIcon:b$,Diameter:E$,DiameterIcon:E$,Diamond:T$,DiamondIcon:T$,DiamondMinus:S$,DiamondMinusIcon:S$,DiamondPercent:Gb,DiamondPercentIcon:Gb,DiamondPlus:w$,DiamondPlusIcon:w$,Dice1:A$,Dice1Icon:A$,Dice2:C$,Dice2Icon:C$,Dice3:k$,Dice3Icon:k$,Dice4:M$,Dice4Icon:M$,Dice5:R$,Dice5Icon:R$,Dice6:N$,Dice6Icon:N$,Dices:I$,DicesIcon:I$,Diff:L$,DiffIcon:L$,Disc:F$,Disc2:O$,Disc2Icon:O$,Disc3:D$,Disc3Icon:D$,DiscAlbum:P$,DiscAlbumIcon:P$,DiscIcon:F$,Divide:B$,DivideCircle:bb,DivideCircleIcon:bb,DivideIcon:B$,DivideSquare:UE,DivideSquareIcon:UE,Dna:U$,DnaIcon:U$,DnaOff:z$,DnaOffIcon:z$,Dock:$$,DockIcon:$$,Dog:H$,DogIcon:H$,DollarSign:V$,DollarSignIcon:V$,Donut:G$,DonutIcon:G$,DoorClosed:Y$,DoorClosedIcon:Y$,DoorClosedLocked:j$,DoorClosedLockedIcon:j$,DoorOpen:W$,DoorOpenIcon:W$,Dot:$k,DotIcon:$k,DotSquare:$E,DotSquareIcon:$E,Download:K$,DownloadCloud:Bb,DownloadCloudIcon:Bb,DownloadIcon:K$,DraftingCompass:X$,DraftingCompassIcon:X$,Drama:q$,DramaIcon:q$,Dribbble:Z$,DribbbleIcon:Z$,Drill:Q$,DrillIcon:Q$,Drone:J$,DroneIcon:J$,Droplet:tH,DropletIcon:tH,DropletOff:eH,DropletOffIcon:eH,Droplets:rH,DropletsIcon:rH,Drum:nH,DrumIcon:nH,Drumstick:iH,DrumstickIcon:iH,Dumbbell:aH,DumbbellIcon:aH,Ear:sH,EarIcon:sH,EarOff:oH,EarOffIcon:oH,Earth:jb,EarthIcon:jb,EarthLock:lH,EarthLockIcon:lH,Eclipse:uH,EclipseIcon:uH,Edit:Yp,Edit2:nE,Edit2Icon:nE,Edit3:rE,Edit3Icon:rE,EditIcon:Yp,Egg:fH,EggFried:cH,EggFriedIcon:cH,EggIcon:fH,EggOff:dH,EggOffIcon:dH,Ellipsis:N2,EllipsisIcon:N2,EllipsisVertical:Yb,EllipsisVerticalIcon:Yb,Equal:vH,EqualApproximately:hH,EqualApproximatelyIcon:hH,EqualIcon:vH,EqualNot:pH,EqualNotIcon:pH,EqualSquare:HE,EqualSquareIcon:HE,Eraser:mH,EraserIcon:mH,EthernetPort:gH,EthernetPortIcon:gH,Euro:yH,EuroIcon:yH,EvCharger:_H,EvChargerIcon:_H,Expand:bH,ExpandIcon:bH,ExternalLink:xH,ExternalLinkIcon:xH,Eye:TH,EyeClosed:EH,EyeClosedIcon:EH,EyeIcon:TH,EyeOff:SH,EyeOffIcon:SH,Facebook:wH,FacebookIcon:wH,Factory:AH,FactoryIcon:AH,Fan:CH,FanIcon:CH,FastForward:kH,FastForwardIcon:kH,Feather:RH,FeatherIcon:RH,Fence:MH,FenceIcon:MH,FerrisWheel:NH,FerrisWheelIcon:NH,Figma:IH,FigmaIcon:IH,File:sV,FileArchive:LH,FileArchiveIcon:LH,FileAudio:tm,FileAudio2:tm,FileAudio2Icon:tm,FileAudioIcon:tm,FileAxis3D:Wb,FileAxis3DIcon:Wb,FileAxis3d:Wb,FileAxis3dIcon:Wb,FileBadge:Kb,FileBadge2:Kb,FileBadge2Icon:Kb,FileBadgeIcon:Kb,FileBarChart:Zb,FileBarChart2:Qb,FileBarChart2Icon:Qb,FileBarChartIcon:Zb,FileBox:OH,FileBoxIcon:OH,FileBraces:qb,FileBracesCorner:Xb,FileBracesCornerIcon:Xb,FileBracesIcon:qb,FileChartColumn:Qb,FileChartColumnIcon:Qb,FileChartColumnIncreasing:Zb,FileChartColumnIncreasingIcon:Zb,FileChartLine:Jb,FileChartLineIcon:Jb,FileChartPie:e3,FileChartPieIcon:e3,FileCheck:DH,FileCheck2:t3,FileCheck2Icon:t3,FileCheckCorner:t3,FileCheckCornerIcon:t3,FileCheckIcon:DH,FileClock:PH,FileClockIcon:PH,FileCode:FH,FileCode2:r3,FileCode2Icon:r3,FileCodeCorner:r3,FileCodeCornerIcon:r3,FileCodeIcon:FH,FileCog:n3,FileCog2:n3,FileCog2Icon:n3,FileCogIcon:n3,FileDiff:BH,FileDiffIcon:BH,FileDigit:zH,FileDigitIcon:zH,FileDown:UH,FileDownIcon:UH,FileEdit:c3,FileEditIcon:c3,FileExclamationPoint:a3,FileExclamationPointIcon:a3,FileHeadphone:tm,FileHeadphoneIcon:tm,FileHeart:$H,FileHeartIcon:$H,FileIcon:sV,FileImage:HH,FileImageIcon:HH,FileInput:VH,FileInputIcon:VH,FileJson:qb,FileJson2:Xb,FileJson2Icon:Xb,FileJsonIcon:qb,FileKey:i3,FileKey2:i3,FileKey2Icon:i3,FileKeyIcon:i3,FileLineChart:Jb,FileLineChartIcon:Jb,FileLock:o3,FileLock2:o3,FileLock2Icon:o3,FileLockIcon:o3,FileMinus:GH,FileMinus2:s3,FileMinus2Icon:s3,FileMinusCorner:s3,FileMinusCornerIcon:s3,FileMinusIcon:GH,FileMusic:jH,FileMusicIcon:jH,FileOutput:YH,FileOutputIcon:YH,FilePen:c3,FilePenIcon:c3,FilePenLine:l3,FilePenLineIcon:l3,FilePieChart:e3,FilePieChartIcon:e3,FilePlay:u3,FilePlayIcon:u3,FilePlus:WH,FilePlus2:d3,FilePlus2Icon:d3,FilePlusCorner:d3,FilePlusCornerIcon:d3,FilePlusIcon:WH,FileQuestion:f3,FileQuestionIcon:f3,FileQuestionMark:f3,FileQuestionMarkIcon:f3,FileScan:KH,FileScanIcon:KH,FileSearch:XH,FileSearch2:h3,FileSearch2Icon:h3,FileSearchCorner:h3,FileSearchCornerIcon:h3,FileSearchIcon:XH,FileSignal:p3,FileSignalIcon:p3,FileSignature:l3,FileSignatureIcon:l3,FileSliders:qH,FileSlidersIcon:qH,FileSpreadsheet:QH,FileSpreadsheetIcon:QH,FileStack:ZH,FileStackIcon:ZH,FileSymlink:JH,FileSymlinkIcon:JH,FileTerminal:tV,FileTerminalIcon:tV,FileText:eV,FileTextIcon:eV,FileType:rV,FileType2:v3,FileType2Icon:v3,FileTypeCorner:v3,FileTypeCornerIcon:v3,FileTypeIcon:rV,FileUp:nV,FileUpIcon:nV,FileUser:aV,FileUserIcon:aV,FileVideo:u3,FileVideo2:m3,FileVideo2Icon:m3,FileVideoCamera:m3,FileVideoCameraIcon:m3,FileVideoIcon:u3,FileVolume:iV,FileVolume2:p3,FileVolume2Icon:p3,FileVolumeIcon:iV,FileWarning:a3,FileWarningIcon:a3,FileX:oV,FileX2:g3,FileX2Icon:g3,FileXCorner:g3,FileXCornerIcon:g3,FileXIcon:oV,Files:lV,FilesIcon:lV,Film:cV,FilmIcon:cV,Filter:E3,FilterIcon:E3,FilterX:b3,FilterXIcon:b3,Fingerprint:y3,FingerprintIcon:y3,FingerprintPattern:y3,FingerprintPatternIcon:y3,FireExtinguisher:uV,FireExtinguisherIcon:uV,Fish:hV,FishIcon:hV,FishOff:dV,FishOffIcon:dV,FishSymbol:fV,FishSymbolIcon:fV,Flag:gV,FlagIcon:gV,FlagOff:pV,FlagOffIcon:pV,FlagTriangleLeft:vV,FlagTriangleLeftIcon:vV,FlagTriangleRight:mV,FlagTriangleRightIcon:mV,Flame:xV,FlameIcon:xV,FlameKindling:yV,FlameKindlingIcon:yV,Flashlight:bV,FlashlightIcon:bV,FlashlightOff:_V,FlashlightOffIcon:_V,FlaskConical:SV,FlaskConicalIcon:SV,FlaskConicalOff:EV,FlaskConicalOffIcon:EV,FlaskRound:wV,FlaskRoundIcon:wV,FlipHorizontal:AV,FlipHorizontal2:TV,FlipHorizontal2Icon:TV,FlipHorizontalIcon:AV,FlipVertical:kV,FlipVertical2:CV,FlipVertical2Icon:CV,FlipVerticalIcon:kV,Flower:RV,Flower2:MV,Flower2Icon:MV,FlowerIcon:RV,Focus:NV,FocusIcon:NV,FoldHorizontal:IV,FoldHorizontalIcon:IV,FoldVertical:LV,FoldVerticalIcon:LV,Folder:sG,FolderArchive:OV,FolderArchiveIcon:OV,FolderCheck:DV,FolderCheckIcon:DV,FolderClock:PV,FolderClockIcon:PV,FolderClosed:BV,FolderClosedIcon:BV,FolderCode:FV,FolderCodeIcon:FV,FolderCog:_3,FolderCog2:_3,FolderCog2Icon:_3,FolderCogIcon:_3,FolderDot:zV,FolderDotIcon:zV,FolderDown:UV,FolderDownIcon:UV,FolderEdit:x3,FolderEditIcon:x3,FolderGit:HV,FolderGit2:$V,FolderGit2Icon:$V,FolderGitIcon:HV,FolderHeart:VV,FolderHeartIcon:VV,FolderIcon:sG,FolderInput:GV,FolderInputIcon:GV,FolderKanban:jV,FolderKanbanIcon:jV,FolderKey:YV,FolderKeyIcon:YV,FolderLock:WV,FolderLockIcon:WV,FolderMinus:KV,FolderMinusIcon:KV,FolderOpen:XV,FolderOpenDot:qV,FolderOpenDotIcon:qV,FolderOpenIcon:XV,FolderOutput:ZV,FolderOutputIcon:ZV,FolderPen:x3,FolderPenIcon:x3,FolderPlus:QV,FolderPlusIcon:QV,FolderRoot:JV,FolderRootIcon:JV,FolderSearch:tG,FolderSearch2:eG,FolderSearch2Icon:eG,FolderSearchIcon:tG,FolderSymlink:rG,FolderSymlinkIcon:rG,FolderSync:nG,FolderSyncIcon:nG,FolderTree:aG,FolderTreeIcon:aG,FolderUp:iG,FolderUpIcon:iG,FolderX:oG,FolderXIcon:oG,Folders:lG,FoldersIcon:lG,Footprints:cG,FootprintsIcon:cG,ForkKnife:NS,ForkKnifeCrossed:RS,ForkKnifeCrossedIcon:RS,ForkKnifeIcon:NS,Forklift:uG,ForkliftIcon:uG,Form:dG,FormIcon:dG,FormInput:iE,FormInputIcon:iE,Forward:fG,ForwardIcon:fG,Frame:hG,FrameIcon:hG,Framer:pG,FramerIcon:pG,Frown:vG,FrownIcon:vG,Fuel:mG,FuelIcon:mG,Fullscreen:gG,FullscreenIcon:gG,FunctionSquare:VE,FunctionSquareIcon:VE,Funnel:E3,FunnelIcon:E3,FunnelPlus:yG,FunnelPlusIcon:yG,FunnelX:b3,FunnelXIcon:b3,GalleryHorizontal:_G,GalleryHorizontalEnd:xG,GalleryHorizontalEndIcon:xG,GalleryHorizontalIcon:_G,GalleryThumbnails:bG,GalleryThumbnailsIcon:bG,GalleryVertical:SG,GalleryVerticalEnd:EG,GalleryVerticalEndIcon:EG,GalleryVerticalIcon:SG,Gamepad:AG,Gamepad2:wG,Gamepad2Icon:wG,GamepadDirectional:TG,GamepadDirectionalIcon:TG,GamepadIcon:AG,GanttChart:ab,GanttChartIcon:ab,GanttChartSquare:im,GanttChartSquareIcon:im,Gauge:CG,GaugeCircle:Eb,GaugeCircleIcon:Eb,GaugeIcon:CG,Gavel:kG,GavelIcon:kG,Gem:MG,GemIcon:MG,GeorgianLari:RG,GeorgianLariIcon:RG,Ghost:NG,GhostIcon:NG,Gift:LG,GiftIcon:LG,GitBranch:DG,GitBranchIcon:DG,GitBranchMinus:IG,GitBranchMinusIcon:IG,GitBranchPlus:OG,GitBranchPlusIcon:OG,GitCommit:S3,GitCommitHorizontal:S3,GitCommitHorizontalIcon:S3,GitCommitIcon:S3,GitCommitVertical:PG,GitCommitVerticalIcon:PG,GitCompare:BG,GitCompareArrows:FG,GitCompareArrowsIcon:FG,GitCompareIcon:BG,GitFork:zG,GitForkIcon:zG,GitGraph:UG,GitGraphIcon:UG,GitMerge:$G,GitMergeIcon:$G,GitPullRequest:WG,GitPullRequestArrow:HG,GitPullRequestArrowIcon:HG,GitPullRequestClosed:VG,GitPullRequestClosedIcon:VG,GitPullRequestCreate:GG,GitPullRequestCreateArrow:jG,GitPullRequestCreateArrowIcon:jG,GitPullRequestCreateIcon:GG,GitPullRequestDraft:YG,GitPullRequestDraftIcon:YG,GitPullRequestIcon:WG,Github:XG,GithubIcon:XG,Gitlab:KG,GitlabIcon:KG,GlassWater:ZG,GlassWaterIcon:ZG,Glasses:qG,GlassesIcon:qG,Globe:JG,Globe2:jb,Globe2Icon:jb,GlobeIcon:JG,GlobeLock:QG,GlobeLockIcon:QG,Goal:ej,GoalIcon:ej,Gpu:tj,GpuIcon:tj,Grab:k3,GrabIcon:k3,GraduationCap:rj,GraduationCapIcon:rj,Grape:nj,GrapeIcon:nj,Grid:rm,Grid2X2:C3,Grid2X2Check:w3,Grid2X2CheckIcon:w3,Grid2X2Icon:C3,Grid2X2Plus:T3,Grid2X2PlusIcon:T3,Grid2X2X:A3,Grid2X2XIcon:A3,Grid2x2:C3,Grid2x2Check:w3,Grid2x2CheckIcon:w3,Grid2x2Icon:C3,Grid2x2Plus:T3,Grid2x2PlusIcon:T3,Grid2x2X:A3,Grid2x2XIcon:A3,Grid3X3:rm,Grid3X3Icon:rm,Grid3x2:aj,Grid3x2Icon:aj,Grid3x3:rm,Grid3x3Icon:rm,GridIcon:rm,Grip:sj,GripHorizontal:ij,GripHorizontalIcon:ij,GripIcon:sj,GripVertical:oj,GripVerticalIcon:oj,Group:lj,GroupIcon:lj,Guitar:cj,GuitarIcon:cj,Ham:uj,HamIcon:uj,Hamburger:dj,HamburgerIcon:dj,Hammer:fj,HammerIcon:fj,Hand:gj,HandCoins:pj,HandCoinsIcon:pj,HandFist:hj,HandFistIcon:hj,HandGrab:k3,HandGrabIcon:k3,HandHeart:vj,HandHeartIcon:vj,HandHelping:M3,HandHelpingIcon:M3,HandIcon:gj,HandMetal:yj,HandMetalIcon:yj,HandPlatter:mj,HandPlatterIcon:mj,Handbag:xj,HandbagIcon:xj,Handshake:_j,HandshakeIcon:_j,HardDrive:Sj,HardDriveDownload:bj,HardDriveDownloadIcon:bj,HardDriveIcon:Sj,HardDriveUpload:Ej,HardDriveUploadIcon:Ej,HardHat:wj,HardHatIcon:wj,Hash:Tj,HashIcon:Tj,HatGlasses:Aj,HatGlassesIcon:Aj,Haze:Cj,HazeIcon:Cj,HdmiPort:kj,HdmiPortIcon:kj,Heading:Dj,Heading1:Mj,Heading1Icon:Mj,Heading2:Rj,Heading2Icon:Rj,Heading3:Ij,Heading3Icon:Ij,Heading4:Nj,Heading4Icon:Nj,Heading5:Lj,Heading5Icon:Lj,Heading6:Oj,Heading6Icon:Oj,HeadingIcon:Dj,HeadphoneOff:Pj,HeadphoneOffIcon:Pj,Headphones:Fj,HeadphonesIcon:Fj,Headset:Bj,HeadsetIcon:Bj,Heart:QT,HeartCrack:zj,HeartCrackIcon:zj,HeartHandshake:Uj,HeartHandshakeIcon:Uj,HeartIcon:QT,HeartMinus:$j,HeartMinusIcon:$j,HeartOff:Hj,HeartOffIcon:Hj,HeartPlus:Vj,HeartPlusIcon:Vj,HeartPulse:Gj,HeartPulseIcon:Gj,Heater:jj,HeaterIcon:jj,Helicopter:Yj,HelicopterIcon:Yj,HelpCircle:G0,HelpCircleIcon:G0,HelpingHand:M3,HelpingHandIcon:M3,Hexagon:Wj,HexagonIcon:Wj,Highlighter:Kj,HighlighterIcon:Kj,History:Xj,HistoryIcon:Xj,Home:R3,HomeIcon:R3,Hop:Zj,HopIcon:Zj,HopOff:qj,HopOffIcon:qj,Hospital:Qj,HospitalIcon:Qj,Hotel:Jj,HotelIcon:Jj,Hourglass:eY,HourglassIcon:eY,House:R3,HouseHeart:tY,HouseHeartIcon:tY,HouseIcon:R3,HousePlug:rY,HousePlugIcon:rY,HousePlus:nY,HousePlusIcon:nY,HouseWifi:aY,HouseWifiIcon:aY,IceCream:I3,IceCream2:N3,IceCream2Icon:N3,IceCreamBowl:N3,IceCreamBowlIcon:N3,IceCreamCone:I3,IceCreamConeIcon:I3,IceCreamIcon:I3,Icon:tze,IdCard:oY,IdCardIcon:oY,IdCardLanyard:iY,IdCardLanyardIcon:iY,Image:pY,ImageDown:sY,ImageDownIcon:sY,ImageIcon:pY,ImageMinus:lY,ImageMinusIcon:lY,ImageOff:cY,ImageOffIcon:cY,ImagePlay:uY,ImagePlayIcon:uY,ImagePlus:dY,ImagePlusIcon:dY,ImageUp:fY,ImageUpIcon:fY,ImageUpscale:hY,ImageUpscaleIcon:hY,Images:vY,ImagesIcon:vY,Import:mY,ImportIcon:mY,Inbox:gY,InboxIcon:gY,Indent:am,IndentDecrease:nm,IndentDecreaseIcon:nm,IndentIcon:am,IndentIncrease:am,IndentIncreaseIcon:am,IndianRupee:yY,IndianRupeeIcon:yY,Infinity:_Y,InfinityIcon:_Y,Info:L3,InfoIcon:L3,Inspect:XE,InspectIcon:XE,InspectionPanel:xY,InspectionPanelIcon:xY,Instagram:bY,InstagramIcon:bY,Italic:EY,ItalicIcon:EY,IterationCcw:SY,IterationCcwIcon:SY,IterationCw:wY,IterationCwIcon:wY,JapaneseYen:TY,JapaneseYenIcon:TY,Joystick:AY,JoystickIcon:AY,Kanban:CY,KanbanIcon:CY,KanbanSquare:GE,KanbanSquareDashed:FE,KanbanSquareDashedIcon:FE,KanbanSquareIcon:GE,Kayak:kY,KayakIcon:kY,Key:NY,KeyIcon:NY,KeyRound:MY,KeyRoundIcon:MY,KeySquare:RY,KeySquareIcon:RY,Keyboard:OY,KeyboardIcon:OY,KeyboardMusic:IY,KeyboardMusicIcon:IY,KeyboardOff:LY,KeyboardOffIcon:LY,Lamp:UY,LampCeiling:DY,LampCeilingIcon:DY,LampDesk:PY,LampDeskIcon:PY,LampFloor:FY,LampFloorIcon:FY,LampIcon:UY,LampWallDown:BY,LampWallDownIcon:BY,LampWallUp:zY,LampWallUpIcon:zY,LandPlot:$Y,LandPlotIcon:$Y,Landmark:HY,LandmarkIcon:HY,Languages:VY,LanguagesIcon:VY,Laptop:jY,Laptop2:O3,Laptop2Icon:O3,LaptopIcon:jY,LaptopMinimal:O3,LaptopMinimalCheck:GY,LaptopMinimalCheckIcon:GY,LaptopMinimalIcon:O3,Lasso:WY,LassoIcon:WY,LassoSelect:YY,LassoSelectIcon:YY,Laugh:KY,LaughIcon:KY,Layers:D3,Layers2:XY,Layers2Icon:XY,Layers3:D3,Layers3Icon:D3,LayersIcon:D3,Layout:tE,LayoutDashboard:qY,LayoutDashboardIcon:qY,LayoutGrid:ZY,LayoutGridIcon:ZY,LayoutIcon:tE,LayoutList:QY,LayoutListIcon:QY,LayoutPanelLeft:JY,LayoutPanelLeftIcon:JY,LayoutPanelTop:eW,LayoutPanelTopIcon:eW,LayoutTemplate:tW,LayoutTemplateIcon:tW,Leaf:rW,LeafIcon:rW,LeafyGreen:nW,LeafyGreenIcon:nW,Lectern:aW,LecternIcon:aW,LetterText:mS,LetterTextIcon:mS,Library:oW,LibraryBig:iW,LibraryBigIcon:iW,LibraryIcon:oW,LibrarySquare:jE,LibrarySquareIcon:jE,LifeBuoy:sW,LifeBuoyIcon:sW,Ligature:lW,LigatureIcon:lW,Lightbulb:JT,LightbulbIcon:JT,LightbulbOff:cW,LightbulbOffIcon:cW,LineChart:tb,LineChartIcon:tb,LineSquiggle:uW,LineSquiggleIcon:uW,Link:e5,Link2:fW,Link2Icon:fW,Link2Off:dW,Link2OffIcon:dW,LinkIcon:e5,Linkedin:hW,LinkedinIcon:hW,List:IW,ListCheck:vW,ListCheckIcon:vW,ListChecks:pW,ListChecksIcon:pW,ListChevronsDownUp:gW,ListChevronsDownUpIcon:gW,ListChevronsUpDown:mW,ListChevronsUpDownIcon:mW,ListCollapse:yW,ListCollapseIcon:yW,ListEnd:_W,ListEndIcon:_W,ListFilter:bW,ListFilterIcon:bW,ListFilterPlus:xW,ListFilterPlusIcon:xW,ListIcon:IW,ListIndentDecrease:nm,ListIndentDecreaseIcon:nm,ListIndentIncrease:am,ListIndentIncreaseIcon:am,ListMinus:SW,ListMinusIcon:SW,ListMusic:EW,ListMusicIcon:EW,ListOrdered:wW,ListOrderedIcon:wW,ListPlus:TW,ListPlusIcon:TW,ListRestart:AW,ListRestartIcon:AW,ListStart:CW,ListStartIcon:CW,ListTodo:kW,ListTodoIcon:kW,ListTree:MW,ListTreeIcon:MW,ListVideo:RW,ListVideoIcon:RW,ListX:NW,ListXIcon:NW,Loader:Hk,Loader2:P3,Loader2Icon:P3,LoaderCircle:P3,LoaderCircleIcon:P3,LoaderIcon:Hk,LoaderPinwheel:LW,LoaderPinwheelIcon:LW,Locate:DW,LocateFixed:OW,LocateFixedIcon:OW,LocateIcon:DW,LocateOff:PW,LocateOffIcon:PW,LocationEdit:U3,LocationEditIcon:U3,Lock:BW,LockIcon:BW,LockKeyhole:FW,LockKeyholeIcon:FW,LockKeyholeOpen:F3,LockKeyholeOpenIcon:F3,LockOpen:B3,LockOpenIcon:B3,LogIn:zW,LogInIcon:zW,LogOut:UW,LogOutIcon:UW,Logs:$W,LogsIcon:$W,Lollipop:HW,LollipopIcon:HW,LucideAArrowDown:L9,LucideAArrowUp:O9,LucideALargeSmall:D9,LucideAccessibility:P9,LucideActivity:F9,LucideActivitySquare:vE,LucideAirVent:B9,LucideAirplay:z9,LucideAlarmCheck:Rx,LucideAlarmClock:$9,LucideAlarmClockCheck:Rx,LucideAlarmClockMinus:Nx,LucideAlarmClockOff:U9,LucideAlarmClockPlus:Ix,LucideAlarmMinus:Nx,LucideAlarmPlus:Ix,LucideAlarmSmoke:H9,LucideAlbum:V9,LucideAlertCircle:Jv,LucideAlertOctagon:G3,LucideAlertTriangle:$1,LucideAlignCenter:hS,LucideAlignCenterHorizontal:G9,LucideAlignCenterVertical:j9,LucideAlignEndHorizontal:Y9,LucideAlignEndVertical:W9,LucideAlignHorizontalDistributeCenter:K9,LucideAlignHorizontalDistributeEnd:X9,LucideAlignHorizontalDistributeStart:q9,LucideAlignHorizontalJustifyCenter:Z9,LucideAlignHorizontalJustifyEnd:Q9,LucideAlignHorizontalJustifyStart:J9,LucideAlignHorizontalSpaceAround:eO,LucideAlignHorizontalSpaceBetween:rO,LucideAlignJustify:vS,LucideAlignLeft:om,LucideAlignRight:pS,LucideAlignStartHorizontal:tO,LucideAlignStartVertical:nO,LucideAlignVerticalDistributeCenter:aO,LucideAlignVerticalDistributeEnd:iO,LucideAlignVerticalDistributeStart:sO,LucideAlignVerticalJustifyCenter:oO,LucideAlignVerticalJustifyEnd:lO,LucideAlignVerticalJustifyStart:cO,LucideAlignVerticalSpaceAround:uO,LucideAlignVerticalSpaceBetween:dO,LucideAmbulance:fO,LucideAmpersand:hO,LucideAmpersands:pO,LucideAmphora:vO,LucideAnchor:mO,LucideAngry:gO,LucideAnnoyed:yO,LucideAntenna:_O,LucideAnvil:xO,LucideAperture:bO,LucideAppWindow:SO,LucideAppWindowMac:EO,LucideApple:wO,LucideArchive:CO,LucideArchiveRestore:TO,LucideArchiveX:AO,LucideAreaChart:Kx,LucideArmchair:kO,LucideArrowBigDown:RO,LucideArrowBigDownDash:MO,LucideArrowBigLeft:IO,LucideArrowBigLeftDash:NO,LucideArrowBigRight:OO,LucideArrowBigRightDash:LO,LucideArrowBigUp:PO,LucideArrowBigUpDash:DO,LucideArrowDown:jT,LucideArrowDown01:FO,LucideArrowDown10:BO,LucideArrowDownAZ:Lx,LucideArrowDownAz:Lx,LucideArrowDownCircle:lb,LucideArrowDownFromLine:zO,LucideArrowDownLeft:UO,LucideArrowDownLeftFromCircle:ub,LucideArrowDownLeftFromSquare:xE,LucideArrowDownLeftSquare:mE,LucideArrowDownNarrowWide:$O,LucideArrowDownRight:HO,LucideArrowDownRightFromCircle:db,LucideArrowDownRightFromSquare:bE,LucideArrowDownRightSquare:gE,LucideArrowDownSquare:yE,LucideArrowDownToDot:VO,LucideArrowDownToLine:GO,LucideArrowDownUp:jO,LucideArrowDownWideNarrow:Ox,LucideArrowDownZA:Dx,LucideArrowDownZa:Dx,LucideArrowLeft:Pk,LucideArrowLeftCircle:cb,LucideArrowLeftFromLine:YO,LucideArrowLeftRight:WO,LucideArrowLeftSquare:_E,LucideArrowLeftToLine:KO,LucideArrowRight:Fk,LucideArrowRightCircle:pb,LucideArrowRightFromLine:XO,LucideArrowRightLeft:qO,LucideArrowRightSquare:wE,LucideArrowRightToLine:ZO,LucideArrowUp:Bk,LucideArrowUp01:QO,LucideArrowUp10:JO,LucideArrowUpAZ:Px,LucideArrowUpAz:Px,LucideArrowUpCircle:vb,LucideArrowUpDown:eD,LucideArrowUpFromDot:tD,LucideArrowUpFromLine:rD,LucideArrowUpLeft:nD,LucideArrowUpLeftFromCircle:fb,LucideArrowUpLeftFromSquare:EE,LucideArrowUpLeftSquare:TE,LucideArrowUpNarrowWide:Fx,LucideArrowUpRight:aD,LucideArrowUpRightFromCircle:hb,LucideArrowUpRightFromSquare:SE,LucideArrowUpRightSquare:AE,LucideArrowUpSquare:CE,LucideArrowUpToLine:iD,LucideArrowUpWideNarrow:oD,LucideArrowUpZA:Bx,LucideArrowUpZa:Bx,LucideArrowsUpFromLine:lD,LucideAsterisk:sD,LucideAsteriskSquare:kE,LucideAtSign:cD,LucideAtom:uD,LucideAudioLines:dD,LucideAudioWaveform:fD,LucideAward:hD,LucideAxe:pD,LucideAxis3D:zx,LucideAxis3d:zx,LucideBaby:vD,LucideBackpack:mD,LucideBadge:ID,LucideBadgeAlert:gD,LucideBadgeCent:yD,LucideBadgeCheck:Ux,LucideBadgeDollarSign:_D,LucideBadgeEuro:xD,LucideBadgeHelp:$x,LucideBadgeIndianRupee:bD,LucideBadgeInfo:ED,LucideBadgeJapaneseYen:SD,LucideBadgeMinus:wD,LucideBadgePercent:TD,LucideBadgePlus:AD,LucideBadgePoundSterling:CD,LucideBadgeQuestionMark:$x,LucideBadgeRussianRuble:kD,LucideBadgeSwissFranc:MD,LucideBadgeTurkishLira:RD,LucideBadgeX:ND,LucideBaggageClaim:LD,LucideBan:OD,LucideBanana:DD,LucideBandage:PD,LucideBanknote:$D,LucideBanknoteArrowDown:FD,LucideBanknoteArrowUp:BD,LucideBanknoteX:zD,LucideBarChart:rb,LucideBarChart2:nb,LucideBarChart3:eb,LucideBarChart4:Jx,LucideBarChartBig:Qx,LucideBarChartHorizontal:qx,LucideBarChartHorizontalBig:Xx,LucideBarcode:UD,LucideBarrel:HD,LucideBaseline:VD,LucideBath:GD,LucideBattery:ZD,LucideBatteryCharging:YD,LucideBatteryFull:jD,LucideBatteryLow:WD,LucideBatteryMedium:KD,LucideBatteryPlus:XD,LucideBatteryWarning:qD,LucideBeaker:QD,LucideBean:eP,LucideBeanOff:JD,LucideBed:nP,LucideBedDouble:tP,LucideBedSingle:rP,LucideBeef:aP,LucideBeer:oP,LucideBeerOff:iP,LucideBell:fP,LucideBellDot:sP,LucideBellElectric:lP,LucideBellMinus:cP,LucideBellOff:uP,LucideBellPlus:dP,LucideBellRing:YT,LucideBetweenHorizonalEnd:Hx,LucideBetweenHorizonalStart:Vx,LucideBetweenHorizontalEnd:Hx,LucideBetweenHorizontalStart:Vx,LucideBetweenVerticalEnd:hP,LucideBetweenVerticalStart:pP,LucideBicepsFlexed:vP,LucideBike:mP,LucideBinary:gP,LucideBinoculars:yP,LucideBiohazard:_P,LucideBird:xP,LucideBirdhouse:bP,LucideBitcoin:EP,LucideBlend:SP,LucideBlinds:wP,LucideBlocks:TP,LucideBluetooth:MP,LucideBluetoothConnected:AP,LucideBluetoothOff:CP,LucideBluetoothSearching:kP,LucideBold:RP,LucideBolt:NP,LucideBomb:IP,LucideBone:LP,LucideBook:rF,LucideBookA:OP,LucideBookAlert:DP,LucideBookAudio:PP,LucideBookCheck:FP,LucideBookCopy:BP,LucideBookDashed:Gx,LucideBookDown:zP,LucideBookHeadphones:UP,LucideBookHeart:$P,LucideBookImage:HP,LucideBookKey:VP,LucideBookLock:GP,LucideBookMarked:jP,LucideBookMinus:YP,LucideBookOpen:WT,LucideBookOpenCheck:WP,LucideBookOpenText:KP,LucideBookPlus:XP,LucideBookTemplate:Gx,LucideBookText:qP,LucideBookType:ZP,LucideBookUp:JP,LucideBookUp2:QP,LucideBookUser:eF,LucideBookX:tF,LucideBookmark:sF,LucideBookmarkCheck:nF,LucideBookmarkMinus:aF,LucideBookmarkPlus:iF,LucideBookmarkX:oF,LucideBoomBox:lF,LucideBot:dF,LucideBotMessageSquare:cF,LucideBotOff:uF,LucideBottleWine:hF,LucideBowArrow:fF,LucideBox:pF,LucideBoxSelect:zE,LucideBoxes:vF,LucideBraces:jx,LucideBrackets:mF,LucideBrain:xF,LucideBrainCircuit:gF,LucideBrainCog:yF,LucideBrickWall:EF,LucideBrickWallFire:_F,LucideBrickWallShield:bF,LucideBriefcase:CF,LucideBriefcaseBusiness:SF,LucideBriefcaseConveyorBelt:wF,LucideBriefcaseMedical:TF,LucideBringToFront:AF,LucideBrush:MF,LucideBrushCleaning:kF,LucideBubbles:RF,LucideBug:Yx,LucideBugOff:NF,LucideBugPlay:IF,LucideBuilding:OF,LucideBuilding2:LF,LucideBus:PF,LucideBusFront:DF,LucideCable:BF,LucideCableCar:FF,LucideCake:UF,LucideCakeSlice:zF,LucideCalculator:$F,LucideCalendar:lB,LucideCalendar1:HF,LucideCalendarArrowDown:VF,LucideCalendarArrowUp:GF,LucideCalendarCheck:YF,LucideCalendarCheck2:jF,LucideCalendarClock:KF,LucideCalendarCog:WF,LucideCalendarDays:XF,LucideCalendarFold:qF,LucideCalendarHeart:ZF,LucideCalendarMinus:JF,LucideCalendarMinus2:QF,LucideCalendarOff:eB,LucideCalendarPlus:rB,LucideCalendarPlus2:tB,LucideCalendarRange:nB,LucideCalendarSearch:aB,LucideCalendarSync:iB,LucideCalendarX:sB,LucideCalendarX2:oB,LucideCalendars:cB,LucideCamera:dB,LucideCameraOff:uB,LucideCandlestickChart:Zx,LucideCandy:pB,LucideCandyCane:fB,LucideCandyOff:hB,LucideCannabis:vB,LucideCaptions:Wx,LucideCaptionsOff:mB,LucideCar:_B,LucideCarFront:gB,LucideCarTaxiFront:yB,LucideCaravan:xB,LucideCardSim:bB,LucideCarrot:EB,LucideCaseLower:SB,LucideCaseSensitive:wB,LucideCaseUpper:TB,LucideCassetteTape:AB,LucideCast:CB,LucideCastle:kB,LucideCat:MB,LucideCctv:RB,LucideChartArea:Kx,LucideChartBar:qx,LucideChartBarBig:Xx,LucideChartBarDecreasing:NB,LucideChartBarIncreasing:IB,LucideChartBarStacked:LB,LucideChartCandlestick:Zx,LucideChartColumn:eb,LucideChartColumnBig:Qx,LucideChartColumnDecreasing:OB,LucideChartColumnIncreasing:Jx,LucideChartColumnStacked:DB,LucideChartGantt:PB,LucideChartLine:tb,LucideChartNetwork:FB,LucideChartNoAxesColumn:nb,LucideChartNoAxesColumnDecreasing:BB,LucideChartNoAxesColumnIncreasing:rb,LucideChartNoAxesCombined:zB,LucideChartNoAxesGantt:ab,LucideChartPie:ib,LucideChartScatter:ob,LucideChartSpline:UB,LucideCheck:Ig,LucideCheckCheck:$B,LucideCheckCircle:U1,LucideCheckCircle2:mb,LucideCheckLine:HB,LucideCheckSquare:NE,LucideCheckSquare2:RE,LucideChefHat:VB,LucideCherry:GB,LucideChessBishop:jB,LucideChessKing:YB,LucideChessKnight:KB,LucideChessPawn:WB,LucideChessQueen:XB,LucideChessRook:qB,LucideChevronDown:R2,LucideChevronDownCircle:gb,LucideChevronDownSquare:LE,LucideChevronFirst:ZB,LucideChevronLast:QB,LucideChevronLeft:zk,LucideChevronLeftCircle:yb,LucideChevronLeftSquare:IE,LucideChevronRight:KT,LucideChevronRightCircle:_b,LucideChevronRightSquare:OE,LucideChevronUp:XT,LucideChevronUpCircle:xb,LucideChevronUpSquare:DE,LucideChevronsDown:ez,LucideChevronsDownUp:JB,LucideChevronsLeft:nz,LucideChevronsLeftRight:rz,LucideChevronsLeftRightEllipsis:tz,LucideChevronsRight:iz,LucideChevronsRightLeft:az,LucideChevronsUp:sz,LucideChevronsUpDown:oz,LucideChrome:sb,LucideChromium:sb,LucideChurch:cz,LucideCigarette:uz,LucideCigaretteOff:lz,LucideCircle:qT,LucideCircleAlert:Jv,LucideCircleArrowDown:lb,LucideCircleArrowLeft:cb,LucideCircleArrowOutDownLeft:ub,LucideCircleArrowOutDownRight:db,LucideCircleArrowOutUpLeft:fb,LucideCircleArrowOutUpRight:hb,LucideCircleArrowRight:pb,LucideCircleArrowUp:vb,LucideCircleCheck:mb,LucideCircleCheckBig:U1,LucideCircleChevronDown:gb,LucideCircleChevronLeft:yb,LucideCircleChevronRight:_b,LucideCircleChevronUp:xb,LucideCircleDashed:dz,LucideCircleDivide:bb,LucideCircleDollarSign:fz,LucideCircleDot:pz,LucideCircleDotDashed:hz,LucideCircleEllipsis:vz,LucideCircleEqual:mz,LucideCircleFadingArrowUp:gz,LucideCircleFadingPlus:yz,LucideCircleGauge:Eb,LucideCircleHelp:G0,LucideCircleMinus:Sb,LucideCircleOff:_z,LucideCircleParking:Tb,LucideCircleParkingOff:wb,LucideCirclePause:Ab,LucideCirclePercent:Cb,LucideCirclePlay:kb,LucideCirclePlus:Mb,LucideCirclePoundSterling:xz,LucideCirclePower:Rb,LucideCircleQuestionMark:G0,LucideCircleSlash:bz,LucideCircleSlash2:Nb,LucideCircleSlashed:Nb,LucideCircleSmall:Ez,LucideCircleStar:Sz,LucideCircleStop:Ib,LucideCircleUser:Ob,LucideCircleUserRound:Lb,LucideCircleX:Db,LucideCircuitBoard:wz,LucideCitrus:Tz,LucideClapperboard:Az,LucideClipboard:Pz,LucideClipboardCheck:Cz,LucideClipboardClock:kz,LucideClipboardCopy:Mz,LucideClipboardEdit:Fb,LucideClipboardList:Rz,LucideClipboardMinus:Nz,LucideClipboardPaste:Iz,LucideClipboardPen:Fb,LucideClipboardPenLine:Pb,LucideClipboardPlus:Lz,LucideClipboardSignature:Pb,LucideClipboardType:Oz,LucideClipboardX:Dz,LucideClock:ZT,LucideClock1:Fz,LucideClock10:Bz,LucideClock11:zz,LucideClock12:Uz,LucideClock2:$z,LucideClock3:Hz,LucideClock4:Vz,LucideClock5:Gz,LucideClock6:jz,LucideClock7:Yz,LucideClock8:Wz,LucideClock9:Kz,LucideClockAlert:Xz,LucideClockArrowDown:qz,LucideClockArrowUp:Zz,LucideClockCheck:Qz,LucideClockFading:Jz,LucideClockPlus:eU,LucideClosedCaption:tU,LucideCloud:gU,LucideCloudAlert:rU,LucideCloudCheck:aU,LucideCloudCog:nU,LucideCloudDownload:Bb,LucideCloudDrizzle:iU,LucideCloudFog:oU,LucideCloudHail:sU,LucideCloudLightning:lU,LucideCloudMoon:uU,LucideCloudMoonRain:cU,LucideCloudOff:dU,LucideCloudRain:hU,LucideCloudRainWind:fU,LucideCloudSnow:pU,LucideCloudSun:mU,LucideCloudSunRain:vU,LucideCloudUpload:zb,LucideCloudy:yU,LucideClover:_U,LucideClub:xU,LucideCode:bU,LucideCode2:Ub,LucideCodeSquare:PE,LucideCodeXml:Ub,LucideCodepen:EU,LucideCodesandbox:SU,LucideCoffee:wU,LucideCog:AU,LucideCoins:TU,LucideColumns:$b,LucideColumns2:$b,LucideColumns3:Hb,LucideColumns3Cog:em,LucideColumns4:CU,LucideColumnsSettings:em,LucideCombine:kU,LucideCommand:MU,LucideCompass:RU,LucideComponent:NU,LucideComputer:IU,LucideConciergeBell:LU,LucideCone:OU,LucideConstruction:DU,LucideContact:PU,LucideContact2:Vb,LucideContactRound:Vb,LucideContainer:FU,LucideContrast:BU,LucideCookie:zU,LucideCookingPot:UU,LucideCopy:Uk,LucideCopyCheck:$U,LucideCopyMinus:HU,LucideCopyPlus:VU,LucideCopySlash:GU,LucideCopyX:jU,LucideCopyleft:YU,LucideCopyright:WU,LucideCornerDownLeft:KU,LucideCornerDownRight:XU,LucideCornerLeftDown:qU,LucideCornerLeftUp:ZU,LucideCornerRightDown:QU,LucideCornerRightUp:JU,LucideCornerUpLeft:e$,LucideCornerUpRight:t$,LucideCpu:r$,LucideCreativeCommons:n$,LucideCreditCard:a$,LucideCroissant:i$,LucideCrop:o$,LucideCross:s$,LucideCrosshair:l$,LucideCrown:c$,LucideCuboid:u$,LucideCupSoda:d$,LucideCurlyBraces:jx,LucideCurrency:f$,LucideCylinder:h$,LucideDam:p$,LucideDatabase:g$,LucideDatabaseBackup:v$,LucideDatabaseZap:m$,LucideDecimalsArrowLeft:y$,LucideDecimalsArrowRight:_$,LucideDelete:x$,LucideDessert:b$,LucideDiameter:E$,LucideDiamond:T$,LucideDiamondMinus:S$,LucideDiamondPercent:Gb,LucideDiamondPlus:w$,LucideDice1:A$,LucideDice2:C$,LucideDice3:k$,LucideDice4:M$,LucideDice5:R$,LucideDice6:N$,LucideDices:I$,LucideDiff:L$,LucideDisc:F$,LucideDisc2:O$,LucideDisc3:D$,LucideDiscAlbum:P$,LucideDivide:B$,LucideDivideCircle:bb,LucideDivideSquare:UE,LucideDna:U$,LucideDnaOff:z$,LucideDock:$$,LucideDog:H$,LucideDollarSign:V$,LucideDonut:G$,LucideDoorClosed:Y$,LucideDoorClosedLocked:j$,LucideDoorOpen:W$,LucideDot:$k,LucideDotSquare:$E,LucideDownload:K$,LucideDownloadCloud:Bb,LucideDraftingCompass:X$,LucideDrama:q$,LucideDribbble:Z$,LucideDrill:Q$,LucideDrone:J$,LucideDroplet:tH,LucideDropletOff:eH,LucideDroplets:rH,LucideDrum:nH,LucideDrumstick:iH,LucideDumbbell:aH,LucideEar:sH,LucideEarOff:oH,LucideEarth:jb,LucideEarthLock:lH,LucideEclipse:uH,LucideEdit:Yp,LucideEdit2:nE,LucideEdit3:rE,LucideEgg:fH,LucideEggFried:cH,LucideEggOff:dH,LucideEllipsis:N2,LucideEllipsisVertical:Yb,LucideEqual:vH,LucideEqualApproximately:hH,LucideEqualNot:pH,LucideEqualSquare:HE,LucideEraser:mH,LucideEthernetPort:gH,LucideEuro:yH,LucideEvCharger:_H,LucideExpand:bH,LucideExternalLink:xH,LucideEye:TH,LucideEyeClosed:EH,LucideEyeOff:SH,LucideFacebook:wH,LucideFactory:AH,LucideFan:CH,LucideFastForward:kH,LucideFeather:RH,LucideFence:MH,LucideFerrisWheel:NH,LucideFigma:IH,LucideFile:sV,LucideFileArchive:LH,LucideFileAudio:tm,LucideFileAudio2:tm,LucideFileAxis3D:Wb,LucideFileAxis3d:Wb,LucideFileBadge:Kb,LucideFileBadge2:Kb,LucideFileBarChart:Zb,LucideFileBarChart2:Qb,LucideFileBox:OH,LucideFileBraces:qb,LucideFileBracesCorner:Xb,LucideFileChartColumn:Qb,LucideFileChartColumnIncreasing:Zb,LucideFileChartLine:Jb,LucideFileChartPie:e3,LucideFileCheck:DH,LucideFileCheck2:t3,LucideFileCheckCorner:t3,LucideFileClock:PH,LucideFileCode:FH,LucideFileCode2:r3,LucideFileCodeCorner:r3,LucideFileCog:n3,LucideFileCog2:n3,LucideFileDiff:BH,LucideFileDigit:zH,LucideFileDown:UH,LucideFileEdit:c3,LucideFileExclamationPoint:a3,LucideFileHeadphone:tm,LucideFileHeart:$H,LucideFileImage:HH,LucideFileInput:VH,LucideFileJson:qb,LucideFileJson2:Xb,LucideFileKey:i3,LucideFileKey2:i3,LucideFileLineChart:Jb,LucideFileLock:o3,LucideFileLock2:o3,LucideFileMinus:GH,LucideFileMinus2:s3,LucideFileMinusCorner:s3,LucideFileMusic:jH,LucideFileOutput:YH,LucideFilePen:c3,LucideFilePenLine:l3,LucideFilePieChart:e3,LucideFilePlay:u3,LucideFilePlus:WH,LucideFilePlus2:d3,LucideFilePlusCorner:d3,LucideFileQuestion:f3,LucideFileQuestionMark:f3,LucideFileScan:KH,LucideFileSearch:XH,LucideFileSearch2:h3,LucideFileSearchCorner:h3,LucideFileSignal:p3,LucideFileSignature:l3,LucideFileSliders:qH,LucideFileSpreadsheet:QH,LucideFileStack:ZH,LucideFileSymlink:JH,LucideFileTerminal:tV,LucideFileText:eV,LucideFileType:rV,LucideFileType2:v3,LucideFileTypeCorner:v3,LucideFileUp:nV,LucideFileUser:aV,LucideFileVideo:u3,LucideFileVideo2:m3,LucideFileVideoCamera:m3,LucideFileVolume:iV,LucideFileVolume2:p3,LucideFileWarning:a3,LucideFileX:oV,LucideFileX2:g3,LucideFileXCorner:g3,LucideFiles:lV,LucideFilm:cV,LucideFilter:E3,LucideFilterX:b3,LucideFingerprint:y3,LucideFingerprintPattern:y3,LucideFireExtinguisher:uV,LucideFish:hV,LucideFishOff:dV,LucideFishSymbol:fV,LucideFlag:gV,LucideFlagOff:pV,LucideFlagTriangleLeft:vV,LucideFlagTriangleRight:mV,LucideFlame:xV,LucideFlameKindling:yV,LucideFlashlight:bV,LucideFlashlightOff:_V,LucideFlaskConical:SV,LucideFlaskConicalOff:EV,LucideFlaskRound:wV,LucideFlipHorizontal:AV,LucideFlipHorizontal2:TV,LucideFlipVertical:kV,LucideFlipVertical2:CV,LucideFlower:RV,LucideFlower2:MV,LucideFocus:NV,LucideFoldHorizontal:IV,LucideFoldVertical:LV,LucideFolder:sG,LucideFolderArchive:OV,LucideFolderCheck:DV,LucideFolderClock:PV,LucideFolderClosed:BV,LucideFolderCode:FV,LucideFolderCog:_3,LucideFolderCog2:_3,LucideFolderDot:zV,LucideFolderDown:UV,LucideFolderEdit:x3,LucideFolderGit:HV,LucideFolderGit2:$V,LucideFolderHeart:VV,LucideFolderInput:GV,LucideFolderKanban:jV,LucideFolderKey:YV,LucideFolderLock:WV,LucideFolderMinus:KV,LucideFolderOpen:XV,LucideFolderOpenDot:qV,LucideFolderOutput:ZV,LucideFolderPen:x3,LucideFolderPlus:QV,LucideFolderRoot:JV,LucideFolderSearch:tG,LucideFolderSearch2:eG,LucideFolderSymlink:rG,LucideFolderSync:nG,LucideFolderTree:aG,LucideFolderUp:iG,LucideFolderX:oG,LucideFolders:lG,LucideFootprints:cG,LucideForkKnife:NS,LucideForkKnifeCrossed:RS,LucideForklift:uG,LucideForm:dG,LucideFormInput:iE,LucideForward:fG,LucideFrame:hG,LucideFramer:pG,LucideFrown:vG,LucideFuel:mG,LucideFullscreen:gG,LucideFunctionSquare:VE,LucideFunnel:E3,LucideFunnelPlus:yG,LucideFunnelX:b3,LucideGalleryHorizontal:_G,LucideGalleryHorizontalEnd:xG,LucideGalleryThumbnails:bG,LucideGalleryVertical:SG,LucideGalleryVerticalEnd:EG,LucideGamepad:AG,LucideGamepad2:wG,LucideGamepadDirectional:TG,LucideGanttChart:ab,LucideGanttChartSquare:im,LucideGauge:CG,LucideGaugeCircle:Eb,LucideGavel:kG,LucideGem:MG,LucideGeorgianLari:RG,LucideGhost:NG,LucideGift:LG,LucideGitBranch:DG,LucideGitBranchMinus:IG,LucideGitBranchPlus:OG,LucideGitCommit:S3,LucideGitCommitHorizontal:S3,LucideGitCommitVertical:PG,LucideGitCompare:BG,LucideGitCompareArrows:FG,LucideGitFork:zG,LucideGitGraph:UG,LucideGitMerge:$G,LucideGitPullRequest:WG,LucideGitPullRequestArrow:HG,LucideGitPullRequestClosed:VG,LucideGitPullRequestCreate:GG,LucideGitPullRequestCreateArrow:jG,LucideGitPullRequestDraft:YG,LucideGithub:XG,LucideGitlab:KG,LucideGlassWater:ZG,LucideGlasses:qG,LucideGlobe:JG,LucideGlobe2:jb,LucideGlobeLock:QG,LucideGoal:ej,LucideGpu:tj,LucideGrab:k3,LucideGraduationCap:rj,LucideGrape:nj,LucideGrid:rm,LucideGrid2X2:C3,LucideGrid2X2Check:w3,LucideGrid2X2Plus:T3,LucideGrid2X2X:A3,LucideGrid2x2:C3,LucideGrid2x2Check:w3,LucideGrid2x2Plus:T3,LucideGrid2x2X:A3,LucideGrid3X3:rm,LucideGrid3x2:aj,LucideGrid3x3:rm,LucideGrip:sj,LucideGripHorizontal:ij,LucideGripVertical:oj,LucideGroup:lj,LucideGuitar:cj,LucideHam:uj,LucideHamburger:dj,LucideHammer:fj,LucideHand:gj,LucideHandCoins:pj,LucideHandFist:hj,LucideHandGrab:k3,LucideHandHeart:vj,LucideHandHelping:M3,LucideHandMetal:yj,LucideHandPlatter:mj,LucideHandbag:xj,LucideHandshake:_j,LucideHardDrive:Sj,LucideHardDriveDownload:bj,LucideHardDriveUpload:Ej,LucideHardHat:wj,LucideHash:Tj,LucideHatGlasses:Aj,LucideHaze:Cj,LucideHdmiPort:kj,LucideHeading:Dj,LucideHeading1:Mj,LucideHeading2:Rj,LucideHeading3:Ij,LucideHeading4:Nj,LucideHeading5:Lj,LucideHeading6:Oj,LucideHeadphoneOff:Pj,LucideHeadphones:Fj,LucideHeadset:Bj,LucideHeart:QT,LucideHeartCrack:zj,LucideHeartHandshake:Uj,LucideHeartMinus:$j,LucideHeartOff:Hj,LucideHeartPlus:Vj,LucideHeartPulse:Gj,LucideHeater:jj,LucideHelicopter:Yj,LucideHelpCircle:G0,LucideHelpingHand:M3,LucideHexagon:Wj,LucideHighlighter:Kj,LucideHistory:Xj,LucideHome:R3,LucideHop:Zj,LucideHopOff:qj,LucideHospital:Qj,LucideHotel:Jj,LucideHourglass:eY,LucideHouse:R3,LucideHouseHeart:tY,LucideHousePlug:rY,LucideHousePlus:nY,LucideHouseWifi:aY,LucideIceCream:I3,LucideIceCream2:N3,LucideIceCreamBowl:N3,LucideIceCreamCone:I3,LucideIdCard:oY,LucideIdCardLanyard:iY,LucideImage:pY,LucideImageDown:sY,LucideImageMinus:lY,LucideImageOff:cY,LucideImagePlay:uY,LucideImagePlus:dY,LucideImageUp:fY,LucideImageUpscale:hY,LucideImages:vY,LucideImport:mY,LucideInbox:gY,LucideIndent:am,LucideIndentDecrease:nm,LucideIndentIncrease:am,LucideIndianRupee:yY,LucideInfinity:_Y,LucideInfo:L3,LucideInspect:XE,LucideInspectionPanel:xY,LucideInstagram:bY,LucideItalic:EY,LucideIterationCcw:SY,LucideIterationCw:wY,LucideJapaneseYen:TY,LucideJoystick:AY,LucideKanban:CY,LucideKanbanSquare:GE,LucideKanbanSquareDashed:FE,LucideKayak:kY,LucideKey:NY,LucideKeyRound:MY,LucideKeySquare:RY,LucideKeyboard:OY,LucideKeyboardMusic:IY,LucideKeyboardOff:LY,LucideLamp:UY,LucideLampCeiling:DY,LucideLampDesk:PY,LucideLampFloor:FY,LucideLampWallDown:BY,LucideLampWallUp:zY,LucideLandPlot:$Y,LucideLandmark:HY,LucideLanguages:VY,LucideLaptop:jY,LucideLaptop2:O3,LucideLaptopMinimal:O3,LucideLaptopMinimalCheck:GY,LucideLasso:WY,LucideLassoSelect:YY,LucideLaugh:KY,LucideLayers:D3,LucideLayers2:XY,LucideLayers3:D3,LucideLayout:tE,LucideLayoutDashboard:qY,LucideLayoutGrid:ZY,LucideLayoutList:QY,LucideLayoutPanelLeft:JY,LucideLayoutPanelTop:eW,LucideLayoutTemplate:tW,LucideLeaf:rW,LucideLeafyGreen:nW,LucideLectern:aW,LucideLetterText:mS,LucideLibrary:oW,LucideLibraryBig:iW,LucideLibrarySquare:jE,LucideLifeBuoy:sW,LucideLigature:lW,LucideLightbulb:JT,LucideLightbulbOff:cW,LucideLineChart:tb,LucideLineSquiggle:uW,LucideLink:e5,LucideLink2:fW,LucideLink2Off:dW,LucideLinkedin:hW,LucideList:IW,LucideListCheck:vW,LucideListChecks:pW,LucideListChevronsDownUp:gW,LucideListChevronsUpDown:mW,LucideListCollapse:yW,LucideListEnd:_W,LucideListFilter:bW,LucideListFilterPlus:xW,LucideListIndentDecrease:nm,LucideListIndentIncrease:am,LucideListMinus:SW,LucideListMusic:EW,LucideListOrdered:wW,LucideListPlus:TW,LucideListRestart:AW,LucideListStart:CW,LucideListTodo:kW,LucideListTree:MW,LucideListVideo:RW,LucideListX:NW,LucideLoader:Hk,LucideLoader2:P3,LucideLoaderCircle:P3,LucideLoaderPinwheel:LW,LucideLocate:DW,LucideLocateFixed:OW,LucideLocateOff:PW,LucideLocationEdit:U3,LucideLock:BW,LucideLockKeyhole:FW,LucideLockKeyholeOpen:F3,LucideLockOpen:B3,LucideLogIn:zW,LucideLogOut:UW,LucideLogs:$W,LucideLollipop:HW,LucideLuggage:VW,LucideMSquare:YE,LucideMagnet:GW,LucideMail:QW,LucideMailCheck:jW,LucideMailMinus:YW,LucideMailOpen:WW,LucideMailPlus:KW,LucideMailQuestion:z3,LucideMailQuestionMark:z3,LucideMailSearch:XW,LucideMailWarning:qW,LucideMailX:ZW,LucideMailbox:JW,LucideMails:eK,LucideMap:vK,LucideMapMinus:tK,LucideMapPin:hK,LucideMapPinCheck:nK,LucideMapPinCheckInside:rK,LucideMapPinHouse:aK,LucideMapPinMinus:oK,LucideMapPinMinusInside:iK,LucideMapPinOff:sK,LucideMapPinPen:U3,LucideMapPinPlus:lK,LucideMapPinPlusInside:cK,LucideMapPinX:dK,LucideMapPinXInside:uK,LucideMapPinned:pK,LucideMapPlus:fK,LucideMars:gK,LucideMarsStroke:mK,LucideMartini:yK,LucideMaximize:xK,LucideMaximize2:_K,LucideMedal:bK,LucideMegaphone:SK,LucideMegaphoneOff:EK,LucideMeh:wK,LucideMemoryStick:TK,LucideMenu:AK,LucideMenuSquare:WE,LucideMerge:CK,LucideMessageCircle:Vk,LucideMessageCircleCode:kK,LucideMessageCircleDashed:MK,LucideMessageCircleHeart:RK,LucideMessageCircleMore:NK,LucideMessageCircleOff:IK,LucideMessageCirclePlus:LK,LucideMessageCircleQuestion:$3,LucideMessageCircleQuestionMark:$3,LucideMessageCircleReply:OK,LucideMessageCircleWarning:DK,LucideMessageCircleX:PK,LucideMessageSquare:QK,LucideMessageSquareCode:FK,LucideMessageSquareDashed:BK,LucideMessageSquareDiff:zK,LucideMessageSquareDot:UK,LucideMessageSquareHeart:$K,LucideMessageSquareLock:HK,LucideMessageSquareMore:VK,LucideMessageSquareOff:GK,LucideMessageSquarePlus:jK,LucideMessageSquareQuote:YK,LucideMessageSquareReply:WK,LucideMessageSquareShare:KK,LucideMessageSquareText:XK,LucideMessageSquareWarning:qK,LucideMessageSquareX:ZK,LucideMessagesSquare:JK,LucideMic:tX,LucideMic2:H3,LucideMicOff:eX,LucideMicVocal:H3,LucideMicrochip:rX,LucideMicroscope:nX,LucideMicrowave:aX,LucideMilestone:iX,LucideMilk:oX,LucideMilkOff:sX,LucideMinimize:cX,LucideMinimize2:lX,LucideMinus:uX,LucideMinusCircle:Sb,LucideMinusSquare:KE,LucideMonitor:SX,LucideMonitorCheck:dX,LucideMonitorCloud:fX,LucideMonitorCog:hX,LucideMonitorDot:pX,LucideMonitorDown:vX,LucideMonitorOff:mX,LucideMonitorPause:yX,LucideMonitorPlay:gX,LucideMonitorSmartphone:_X,LucideMonitorSpeaker:xX,LucideMonitorStop:bX,LucideMonitorUp:EX,LucideMonitorX:wX,LucideMoon:CX,LucideMoonStar:TX,LucideMoreHorizontal:N2,LucideMoreVertical:Yb,LucideMotorbike:AX,LucideMountain:MX,LucideMountainSnow:kX,LucideMouse:PX,LucideMouseOff:RX,LucideMousePointer:DX,LucideMousePointer2:IX,LucideMousePointer2Off:NX,LucideMousePointerBan:LX,LucideMousePointerClick:OX,LucideMousePointerSquareDashed:BE,LucideMove:XX,LucideMove3D:V3,LucideMove3d:V3,LucideMoveDiagonal:BX,LucideMoveDiagonal2:FX,LucideMoveDown:$X,LucideMoveDownLeft:zX,LucideMoveDownRight:UX,LucideMoveHorizontal:VX,LucideMoveLeft:HX,LucideMoveRight:GX,LucideMoveUp:WX,LucideMoveUpLeft:jX,LucideMoveUpRight:YX,LucideMoveVertical:KX,LucideMusic:QX,LucideMusic2:qX,LucideMusic3:ZX,LucideMusic4:JX,LucideNavigation:nq,LucideNavigation2:eq,LucideNavigation2Off:tq,LucideNavigationOff:rq,LucideNetwork:aq,LucideNewspaper:iq,LucideNfc:oq,LucideNonBinary:sq,LucideNotebook:dq,LucideNotebookPen:lq,LucideNotebookTabs:cq,LucideNotebookText:uq,LucideNotepadText:hq,LucideNotepadTextDashed:fq,LucideNut:vq,LucideNutOff:pq,LucideOctagon:gq,LucideOctagonAlert:G3,LucideOctagonMinus:mq,LucideOctagonPause:j3,LucideOctagonX:Y3,LucideOmega:_q,LucideOption:yq,LucideOrbit:xq,LucideOrigami:bq,LucideOutdent:nm,LucidePackage:kq,LucidePackage2:Eq,LucidePackageCheck:Sq,LucidePackageMinus:wq,LucidePackageOpen:Tq,LucidePackagePlus:Aq,LucidePackageSearch:Cq,LucidePackageX:Mq,LucidePaintBucket:Rq,LucidePaintRoller:Nq,LucidePaintbrush:Iq,LucidePaintbrush2:W3,LucidePaintbrushVertical:W3,LucidePalette:Lq,LucidePalmtree:xS,LucidePanda:Oq,LucidePanelBottom:Fq,LucidePanelBottomClose:Dq,LucidePanelBottomDashed:K3,LucidePanelBottomInactive:K3,LucidePanelBottomOpen:Pq,LucidePanelLeft:Q3,LucidePanelLeftClose:Z3,LucidePanelLeftDashed:X3,LucidePanelLeftInactive:X3,LucidePanelLeftOpen:q3,LucidePanelLeftRightDashed:Bq,LucidePanelRight:$q,LucidePanelRightClose:zq,LucidePanelRightDashed:J3,LucidePanelRightInactive:J3,LucidePanelRightOpen:Uq,LucidePanelTop:jq,LucidePanelTopBottomDashed:Hq,LucidePanelTopClose:Vq,LucidePanelTopDashed:eE,LucidePanelTopInactive:eE,LucidePanelTopOpen:Gq,LucidePanelsLeftBottom:Yq,LucidePanelsLeftRight:Hb,LucidePanelsRightBottom:Wq,LucidePanelsTopBottom:lE,LucidePanelsTopLeft:tE,LucidePaperclip:Kq,LucideParentheses:Xq,LucideParkingCircle:Tb,LucideParkingCircleOff:wb,LucideParkingMeter:qq,LucideParkingSquare:ZE,LucideParkingSquareOff:qE,LucidePartyPopper:Zq,LucidePause:Qq,LucidePauseCircle:Ab,LucidePauseOctagon:j3,LucidePawPrint:Jq,LucidePcCase:eZ,LucidePen:nE,LucidePenBox:Yp,LucidePenLine:rE,LucidePenOff:tZ,LucidePenSquare:Yp,LucidePenTool:rZ,LucidePencil:oZ,LucidePencilLine:nZ,LucidePencilOff:aZ,LucidePencilRuler:iZ,LucidePentagon:sZ,LucidePercent:lZ,LucidePercentCircle:Cb,LucidePercentDiamond:Gb,LucidePercentSquare:QE,LucidePersonStanding:cZ,LucidePhilippinePeso:uZ,LucidePhone:gZ,LucidePhoneCall:dZ,LucidePhoneForwarded:fZ,LucidePhoneIncoming:hZ,LucidePhoneMissed:pZ,LucidePhoneOff:vZ,LucidePhoneOutgoing:mZ,LucidePi:yZ,LucidePiSquare:JE,LucidePiano:_Z,LucidePickaxe:xZ,LucidePictureInPicture:EZ,LucidePictureInPicture2:bZ,LucidePieChart:ib,LucidePiggyBank:SZ,LucidePilcrow:AZ,LucidePilcrowLeft:wZ,LucidePilcrowRight:TZ,LucidePilcrowSquare:eS,LucidePill:kZ,LucidePillBottle:CZ,LucidePin:NZ,LucidePinOff:MZ,LucidePipette:RZ,LucidePizza:IZ,LucidePlane:DZ,LucidePlaneLanding:LZ,LucidePlaneTakeoff:OZ,LucidePlay:PZ,LucidePlayCircle:kb,LucidePlaySquare:nS,LucidePlug:t5,LucidePlug2:FZ,LucidePlugZap:aE,LucidePlugZap2:aE,LucidePlus:BZ,LucidePlusCircle:Mb,LucidePlusSquare:tS,LucidePocket:UZ,LucidePocketKnife:zZ,LucidePodcast:$Z,LucidePointer:VZ,LucidePointerOff:HZ,LucidePopcorn:GZ,LucidePopsicle:jZ,LucidePoundSterling:YZ,LucidePower:KZ,LucidePowerCircle:Rb,LucidePowerOff:WZ,LucidePowerSquare:rS,LucidePresentation:XZ,LucidePrinter:ZZ,LucidePrinterCheck:qZ,LucideProjector:QZ,LucideProportions:JZ,LucidePuzzle:eQ,LucidePyramid:tQ,LucideQrCode:rQ,LucideQuote:nQ,LucideRabbit:aQ,LucideRadar:iQ,LucideRadiation:oQ,LucideRadical:sQ,LucideRadio:uQ,LucideRadioReceiver:lQ,LucideRadioTower:cQ,LucideRadius:dQ,LucideRailSymbol:fQ,LucideRainbow:hQ,LucideRat:pQ,LucideRatio:vQ,LucideReceipt:TQ,LucideReceiptCent:mQ,LucideReceiptEuro:gQ,LucideReceiptIndianRupee:yQ,LucideReceiptJapaneseYen:_Q,LucideReceiptPoundSterling:xQ,LucideReceiptRussianRuble:bQ,LucideReceiptSwissFranc:EQ,LucideReceiptText:SQ,LucideReceiptTurkishLira:wQ,LucideRectangleCircle:AQ,LucideRectangleEllipsis:iE,LucideRectangleGoggles:CQ,LucideRectangleHorizontal:kQ,LucideRectangleVertical:MQ,LucideRecycle:RQ,LucideRedo:LQ,LucideRedo2:NQ,LucideRedoDot:IQ,LucideRefreshCcw:DQ,LucideRefreshCcwDot:OQ,LucideRefreshCw:Gk,LucideRefreshCwOff:PQ,LucideRefrigerator:FQ,LucideRegex:BQ,LucideRemoveFormatting:zQ,LucideRepeat:HQ,LucideRepeat1:UQ,LucideRepeat2:$Q,LucideReplace:GQ,LucideReplaceAll:VQ,LucideReply:WQ,LucideReplyAll:jQ,LucideRewind:YQ,LucideRibbon:KQ,LucideRocket:r5,LucideRockingChair:XQ,LucideRollerCoaster:qQ,LucideRose:ZQ,LucideRotate3D:oE,LucideRotate3d:oE,LucideRotateCcw:eJ,LucideRotateCcwKey:QQ,LucideRotateCcwSquare:JQ,LucideRotateCw:rJ,LucideRotateCwSquare:tJ,LucideRoute:iJ,LucideRouteOff:nJ,LucideRouter:aJ,LucideRows:sE,LucideRows2:sE,LucideRows3:lE,LucideRows4:oJ,LucideRss:sJ,LucideRuler:cJ,LucideRulerDimensionLine:lJ,LucideRussianRuble:uJ,LucideSailboat:dJ,LucideSalad:fJ,LucideSandwich:hJ,LucideSatellite:vJ,LucideSatelliteDish:pJ,LucideSaudiRiyal:mJ,LucideSave:_J,LucideSaveAll:gJ,LucideSaveOff:yJ,LucideScale:bJ,LucideScale3D:cE,LucideScale3d:cE,LucideScaling:xJ,LucideScan:RJ,LucideScanBarcode:EJ,LucideScanEye:SJ,LucideScanFace:wJ,LucideScanHeart:TJ,LucideScanLine:AJ,LucideScanQrCode:CJ,LucideScanSearch:kJ,LucideScanText:MJ,LucideScatterChart:ob,LucideSchool:NJ,LucideSchool2:ES,LucideScissors:LJ,LucideScissorsLineDashed:IJ,LucideScissorsSquare:aS,LucideScissorsSquareDashedBottom:ME,LucideScreenShare:DJ,LucideScreenShareOff:OJ,LucideScroll:FJ,LucideScrollText:PJ,LucideSearch:jk,LucideSearchCheck:BJ,LucideSearchCode:zJ,LucideSearchSlash:UJ,LucideSearchX:$J,LucideSection:HJ,LucideSend:GJ,LucideSendHorizonal:uE,LucideSendHorizontal:uE,LucideSendToBack:VJ,LucideSeparatorHorizontal:jJ,LucideSeparatorVertical:YJ,LucideServer:qJ,LucideServerCog:WJ,LucideServerCrash:KJ,LucideServerOff:XJ,LucideSettings:ZJ,LucideSettings2:Yk,LucideShapes:QJ,LucideShare:eee,LucideShare2:JJ,LucideSheet:tee,LucideShell:ree,LucideShield:n5,LucideShieldAlert:nee,LucideShieldBan:aee,LucideShieldCheck:iee,LucideShieldClose:fE,LucideShieldEllipsis:oee,LucideShieldHalf:see,LucideShieldMinus:lee,LucideShieldOff:cee,LucideShieldPlus:uee,LucideShieldQuestion:dE,LucideShieldQuestionMark:dE,LucideShieldUser:dee,LucideShieldX:fE,LucideShip:hee,LucideShipWheel:fee,LucideShirt:pee,LucideShoppingBag:vee,LucideShoppingBasket:mee,LucideShoppingCart:yee,LucideShovel:gee,LucideShowerHead:_ee,LucideShredder:xee,LucideShrimp:bee,LucideShrink:Eee,LucideShrub:See,LucideShuffle:wee,LucideSidebar:Q3,LucideSidebarClose:Z3,LucideSidebarOpen:q3,LucideSigma:Tee,LucideSigmaSquare:iS,LucideSignal:Mee,LucideSignalHigh:Aee,LucideSignalLow:Cee,LucideSignalMedium:kee,LucideSignalZero:Nee,LucideSignature:Ree,LucideSignpost:Oee,LucideSignpostBig:Iee,LucideSiren:Lee,LucideSkipBack:Dee,LucideSkipForward:Pee,LucideSkull:Fee,LucideSlack:Bee,LucideSlash:zee,LucideSlashSquare:oS,LucideSlice:Uee,LucideSliders:hE,LucideSlidersHorizontal:$ee,LucideSlidersVertical:hE,LucideSmartphone:Gee,LucideSmartphoneCharging:Hee,LucideSmartphoneNfc:Vee,LucideSmile:Yee,LucideSmilePlus:jee,LucideSnail:Wee,LucideSnowflake:Kee,LucideSoapDispenserDroplet:Xee,LucideSofa:qee,LucideSolarPanel:Zee,LucideSortAsc:Fx,LucideSortDesc:Ox,LucideSoup:Qee,LucideSpace:Jee,LucideSpade:ete,LucideSparkle:tte,LucideSparkles:pE,LucideSpeaker:rte,LucideSpeech:nte,LucideSpellCheck:ite,LucideSpellCheck2:ate,LucideSpline:ste,LucideSplinePointer:ote,LucideSplit:lte,LucideSplitSquareHorizontal:sS,LucideSplitSquareVertical:lS,LucideSpool:cte,LucideSpotlight:ute,LucideSprayCan:dte,LucideSprout:fte,LucideSquare:Ste,LucideSquareActivity:vE,LucideSquareArrowDown:yE,LucideSquareArrowDownLeft:mE,LucideSquareArrowDownRight:gE,LucideSquareArrowLeft:_E,LucideSquareArrowOutDownLeft:xE,LucideSquareArrowOutDownRight:bE,LucideSquareArrowOutUpLeft:EE,LucideSquareArrowOutUpRight:SE,LucideSquareArrowRight:wE,LucideSquareArrowUp:CE,LucideSquareArrowUpLeft:TE,LucideSquareArrowUpRight:AE,LucideSquareAsterisk:kE,LucideSquareBottomDashedScissors:ME,LucideSquareChartGantt:im,LucideSquareCheck:RE,LucideSquareCheckBig:NE,LucideSquareChevronDown:LE,LucideSquareChevronLeft:IE,LucideSquareChevronRight:OE,LucideSquareChevronUp:DE,LucideSquareCode:PE,LucideSquareDashed:zE,LucideSquareDashedBottom:pte,LucideSquareDashedBottomCode:hte,LucideSquareDashedKanban:FE,LucideSquareDashedMousePointer:BE,LucideSquareDashedTopSolid:vte,LucideSquareDivide:UE,LucideSquareDot:$E,LucideSquareEqual:HE,LucideSquareFunction:VE,LucideSquareGanttChart:im,LucideSquareKanban:GE,LucideSquareLibrary:jE,LucideSquareM:YE,LucideSquareMenu:WE,LucideSquareMinus:KE,LucideSquareMousePointer:XE,LucideSquareParking:ZE,LucideSquareParkingOff:qE,LucideSquarePause:mte,LucideSquarePen:Yp,LucideSquarePercent:QE,LucideSquarePi:JE,LucideSquarePilcrow:eS,LucideSquarePlay:nS,LucideSquarePlus:tS,LucideSquarePower:rS,LucideSquareRadical:gte,LucideSquareRoundCorner:yte,LucideSquareScissors:aS,LucideSquareSigma:iS,LucideSquareSlash:oS,LucideSquareSplitHorizontal:sS,LucideSquareSplitVertical:lS,LucideSquareSquare:xte,LucideSquareStack:_te,LucideSquareStar:Ete,LucideSquareStop:bte,LucideSquareTerminal:I2,LucideSquareUser:uS,LucideSquareUserRound:cS,LucideSquareX:dS,LucideSquaresExclude:wte,LucideSquaresIntersect:Tte,LucideSquaresSubtract:Ate,LucideSquaresUnite:Cte,LucideSquircle:Mte,LucideSquircleDashed:kte,LucideSquirrel:Rte,LucideStamp:Nte,LucideStar:Ote,LucideStarHalf:Ite,LucideStarOff:Lte,LucideStars:pE,LucideStepBack:Dte,LucideStepForward:Pte,LucideStethoscope:Fte,LucideSticker:Bte,LucideStickyNote:zte,LucideStopCircle:Ib,LucideStore:Ute,LucideStretchHorizontal:$te,LucideStretchVertical:Hte,LucideStrikethrough:Vte,LucideSubscript:Gte,LucideSubtitles:Wx,LucideSun:Xte,LucideSunDim:jte,LucideSunMedium:Yte,LucideSunMoon:Wte,LucideSunSnow:Kte,LucideSunrise:qte,LucideSunset:Zte,LucideSuperscript:Qte,LucideSwatchBook:Jte,LucideSwissFranc:ere,LucideSwitchCamera:tre,LucideSword:rre,LucideSwords:nre,LucideSyringe:are,LucideTable:fre,LucideTable2:ore,LucideTableCellsMerge:ire,LucideTableCellsSplit:sre,LucideTableColumnsSplit:lre,LucideTableConfig:em,LucideTableOfContents:cre,LucideTableProperties:ure,LucideTableRowsSplit:dre,LucideTablet:pre,LucideTabletSmartphone:hre,LucideTablets:vre,LucideTag:mre,LucideTags:gre,LucideTally1:yre,LucideTally2:_re,LucideTally3:xre,LucideTally4:bre,LucideTally5:Ere,LucideTangent:Sre,LucideTarget:wre,LucideTelescope:Tre,LucideTent:Cre,LucideTentTree:Are,LucideTerminal:kre,LucideTerminalSquare:I2,LucideTestTube:Mre,LucideTestTube2:fS,LucideTestTubeDiagonal:fS,LucideTestTubes:Rre,LucideText:om,LucideTextAlignCenter:hS,LucideTextAlignEnd:pS,LucideTextAlignJustify:vS,LucideTextAlignStart:om,LucideTextCursor:Ire,LucideTextCursorInput:Nre,LucideTextInitial:mS,LucideTextQuote:Lre,LucideTextSearch:Ore,LucideTextSelect:gS,LucideTextSelection:gS,LucideTextWrap:yS,LucideTheater:Dre,LucideThermometer:Bre,LucideThermometerSnowflake:Pre,LucideThermometerSun:Fre,LucideThumbsDown:a5,LucideThumbsUp:i5,LucideTicket:jre,LucideTicketCheck:Ure,LucideTicketMinus:zre,LucideTicketPercent:$re,LucideTicketPlus:Hre,LucideTicketSlash:Vre,LucideTicketX:Gre,LucideTickets:Yre,LucideTicketsPlane:Wre,LucideTimer:qre,LucideTimerOff:Kre,LucideTimerReset:Xre,LucideToggleLeft:Zre,LucideToggleRight:Qre,LucideToilet:Jre,LucideToolCase:ene,LucideTornado:tne,LucideTorus:rne,LucideTouchpad:ane,LucideTouchpadOff:nne,LucideTowerControl:ine,LucideToyBrick:one,LucideTractor:sne,LucideTrafficCone:cne,LucideTrain:_S,LucideTrainFront:une,LucideTrainFrontTunnel:lne,LucideTrainTrack:dne,LucideTramFront:_S,LucideTransgender:fne,LucideTrash:hne,LucideTrash2:Wk,LucideTreeDeciduous:pne,LucideTreePalm:xS,LucideTreePine:vne,LucideTrees:mne,LucideTrello:yne,LucideTrendingDown:gne,LucideTrendingUp:xne,LucideTrendingUpDown:_ne,LucideTriangle:Sne,LucideTriangleAlert:$1,LucideTriangleDashed:bne,LucideTriangleRight:Ene,LucideTrophy:wne,LucideTruck:Ane,LucideTruckElectric:Tne,LucideTurkishLira:Cne,LucideTurntable:Mne,LucideTurtle:kne,LucideTv:Nne,LucideTv2:bS,LucideTvMinimal:bS,LucideTvMinimalPlay:Rne,LucideTwitch:Ine,LucideTwitter:Lne,LucideType:Dne,LucideTypeOutline:One,LucideUmbrella:Fne,LucideUmbrellaOff:Pne,LucideUnderline:Bne,LucideUndo:Une,LucideUndo2:$ne,LucideUndoDot:zne,LucideUnfoldHorizontal:Hne,LucideUnfoldVertical:Vne,LucideUngroup:Gne,LucideUniversity:ES,LucideUnlink:Yne,LucideUnlink2:jne,LucideUnlock:B3,LucideUnlockKeyhole:F3,LucideUnplug:Wne,LucideUpload:Kk,LucideUploadCloud:zb,LucideUsb:Kne,LucideUser:oae,LucideUser2:kS,LucideUserCheck:Xne,LucideUserCheck2:SS,LucideUserCircle:Ob,LucideUserCircle2:Lb,LucideUserCog:qne,LucideUserCog2:wS,LucideUserLock:Zne,LucideUserMinus:Qne,LucideUserMinus2:TS,LucideUserPen:Jne,LucideUserPlus:eae,LucideUserPlus2:AS,LucideUserRound:kS,LucideUserRoundCheck:SS,LucideUserRoundCog:wS,LucideUserRoundMinus:TS,LucideUserRoundPen:tae,LucideUserRoundPlus:AS,LucideUserRoundSearch:rae,LucideUserRoundX:CS,LucideUserSearch:nae,LucideUserSquare:uS,LucideUserSquare2:cS,LucideUserStar:aae,LucideUserX:iae,LucideUserX2:CS,LucideUsers:sae,LucideUsers2:MS,LucideUsersRound:MS,LucideUtensils:NS,LucideUtensilsCrossed:RS,LucideUtilityPole:lae,LucideVariable:cae,LucideVault:uae,LucideVectorSquare:dae,LucideVegan:fae,LucideVenetianMask:hae,LucideVenus:vae,LucideVenusAndMars:pae,LucideVerified:Ux,LucideVibrate:gae,LucideVibrateOff:mae,LucideVideo:_ae,LucideVideoOff:yae,LucideVideotape:xae,LucideView:bae,LucideVoicemail:Eae,LucideVolleyball:Sae,LucideVolume:kae,LucideVolume1:wae,LucideVolume2:Tae,LucideVolumeOff:Aae,LucideVolumeX:Cae,LucideVote:Mae,LucideWallet:Nae,LucideWallet2:IS,LucideWalletCards:Rae,LucideWalletMinimal:IS,LucideWallpaper:Iae,LucideWand:Lae,LucideWand2:LS,LucideWandSparkles:LS,LucideWarehouse:Oae,LucideWashingMachine:Dae,LucideWatch:Pae,LucideWaves:Uae,LucideWavesArrowDown:Fae,LucideWavesArrowUp:Bae,LucideWavesLadder:zae,LucideWaypoints:$ae,LucideWebcam:Hae,LucideWebhook:Gae,LucideWebhookOff:Vae,LucideWeight:jae,LucideWheat:Wae,LucideWheatOff:Yae,LucideWholeWord:Kae,LucideWifi:nie,LucideWifiCog:Xae,LucideWifiHigh:qae,LucideWifiLow:Zae,LucideWifiOff:Qae,LucideWifiPen:Jae,LucideWifiSync:eie,LucideWifiZero:tie,LucideWind:aie,LucideWindArrowDown:rie,LucideWine:iie,LucideWineOff:oie,LucideWorkflow:sie,LucideWorm:lie,LucideWrapText:yS,LucideWrench:Xk,LucideX:Uh,LucideXCircle:Db,LucideXOctagon:Y3,LucideXSquare:dS,LucideYoutube:cie,LucideZap:fie,LucideZapOff:uie,LucideZoomIn:die,LucideZoomOut:hie,Luggage:VW,LuggageIcon:VW,MSquare:YE,MSquareIcon:YE,Magnet:GW,MagnetIcon:GW,Mail:QW,MailCheck:jW,MailCheckIcon:jW,MailIcon:QW,MailMinus:YW,MailMinusIcon:YW,MailOpen:WW,MailOpenIcon:WW,MailPlus:KW,MailPlusIcon:KW,MailQuestion:z3,MailQuestionIcon:z3,MailQuestionMark:z3,MailQuestionMarkIcon:z3,MailSearch:XW,MailSearchIcon:XW,MailWarning:qW,MailWarningIcon:qW,MailX:ZW,MailXIcon:ZW,Mailbox:JW,MailboxIcon:JW,Mails:eK,MailsIcon:eK,Map:vK,MapIcon:vK,MapMinus:tK,MapMinusIcon:tK,MapPin:hK,MapPinCheck:nK,MapPinCheckIcon:nK,MapPinCheckInside:rK,MapPinCheckInsideIcon:rK,MapPinHouse:aK,MapPinHouseIcon:aK,MapPinIcon:hK,MapPinMinus:oK,MapPinMinusIcon:oK,MapPinMinusInside:iK,MapPinMinusInsideIcon:iK,MapPinOff:sK,MapPinOffIcon:sK,MapPinPen:U3,MapPinPenIcon:U3,MapPinPlus:lK,MapPinPlusIcon:lK,MapPinPlusInside:cK,MapPinPlusInsideIcon:cK,MapPinX:dK,MapPinXIcon:dK,MapPinXInside:uK,MapPinXInsideIcon:uK,MapPinned:pK,MapPinnedIcon:pK,MapPlus:fK,MapPlusIcon:fK,Mars:gK,MarsIcon:gK,MarsStroke:mK,MarsStrokeIcon:mK,Martini:yK,MartiniIcon:yK,Maximize:xK,Maximize2:_K,Maximize2Icon:_K,MaximizeIcon:xK,Medal:bK,MedalIcon:bK,Megaphone:SK,MegaphoneIcon:SK,MegaphoneOff:EK,MegaphoneOffIcon:EK,Meh:wK,MehIcon:wK,MemoryStick:TK,MemoryStickIcon:TK,Menu:AK,MenuIcon:AK,MenuSquare:WE,MenuSquareIcon:WE,Merge:CK,MergeIcon:CK,MessageCircle:Vk,MessageCircleCode:kK,MessageCircleCodeIcon:kK,MessageCircleDashed:MK,MessageCircleDashedIcon:MK,MessageCircleHeart:RK,MessageCircleHeartIcon:RK,MessageCircleIcon:Vk,MessageCircleMore:NK,MessageCircleMoreIcon:NK,MessageCircleOff:IK,MessageCircleOffIcon:IK,MessageCirclePlus:LK,MessageCirclePlusIcon:LK,MessageCircleQuestion:$3,MessageCircleQuestionIcon:$3,MessageCircleQuestionMark:$3,MessageCircleQuestionMarkIcon:$3,MessageCircleReply:OK,MessageCircleReplyIcon:OK,MessageCircleWarning:DK,MessageCircleWarningIcon:DK,MessageCircleX:PK,MessageCircleXIcon:PK,MessageSquare:QK,MessageSquareCode:FK,MessageSquareCodeIcon:FK,MessageSquareDashed:BK,MessageSquareDashedIcon:BK,MessageSquareDiff:zK,MessageSquareDiffIcon:zK,MessageSquareDot:UK,MessageSquareDotIcon:UK,MessageSquareHeart:$K,MessageSquareHeartIcon:$K,MessageSquareIcon:QK,MessageSquareLock:HK,MessageSquareLockIcon:HK,MessageSquareMore:VK,MessageSquareMoreIcon:VK,MessageSquareOff:GK,MessageSquareOffIcon:GK,MessageSquarePlus:jK,MessageSquarePlusIcon:jK,MessageSquareQuote:YK,MessageSquareQuoteIcon:YK,MessageSquareReply:WK,MessageSquareReplyIcon:WK,MessageSquareShare:KK,MessageSquareShareIcon:KK,MessageSquareText:XK,MessageSquareTextIcon:XK,MessageSquareWarning:qK,MessageSquareWarningIcon:qK,MessageSquareX:ZK,MessageSquareXIcon:ZK,MessagesSquare:JK,MessagesSquareIcon:JK,Mic:tX,Mic2:H3,Mic2Icon:H3,MicIcon:tX,MicOff:eX,MicOffIcon:eX,MicVocal:H3,MicVocalIcon:H3,Microchip:rX,MicrochipIcon:rX,Microscope:nX,MicroscopeIcon:nX,Microwave:aX,MicrowaveIcon:aX,Milestone:iX,MilestoneIcon:iX,Milk:oX,MilkIcon:oX,MilkOff:sX,MilkOffIcon:sX,Minimize:cX,Minimize2:lX,Minimize2Icon:lX,MinimizeIcon:cX,Minus:uX,MinusCircle:Sb,MinusCircleIcon:Sb,MinusIcon:uX,MinusSquare:KE,MinusSquareIcon:KE,Monitor:SX,MonitorCheck:dX,MonitorCheckIcon:dX,MonitorCloud:fX,MonitorCloudIcon:fX,MonitorCog:hX,MonitorCogIcon:hX,MonitorDot:pX,MonitorDotIcon:pX,MonitorDown:vX,MonitorDownIcon:vX,MonitorIcon:SX,MonitorOff:mX,MonitorOffIcon:mX,MonitorPause:yX,MonitorPauseIcon:yX,MonitorPlay:gX,MonitorPlayIcon:gX,MonitorSmartphone:_X,MonitorSmartphoneIcon:_X,MonitorSpeaker:xX,MonitorSpeakerIcon:xX,MonitorStop:bX,MonitorStopIcon:bX,MonitorUp:EX,MonitorUpIcon:EX,MonitorX:wX,MonitorXIcon:wX,Moon:CX,MoonIcon:CX,MoonStar:TX,MoonStarIcon:TX,MoreHorizontal:N2,MoreHorizontalIcon:N2,MoreVertical:Yb,MoreVerticalIcon:Yb,Motorbike:AX,MotorbikeIcon:AX,Mountain:MX,MountainIcon:MX,MountainSnow:kX,MountainSnowIcon:kX,Mouse:PX,MouseIcon:PX,MouseOff:RX,MouseOffIcon:RX,MousePointer:DX,MousePointer2:IX,MousePointer2Icon:IX,MousePointer2Off:NX,MousePointer2OffIcon:NX,MousePointerBan:LX,MousePointerBanIcon:LX,MousePointerClick:OX,MousePointerClickIcon:OX,MousePointerIcon:DX,MousePointerSquareDashed:BE,MousePointerSquareDashedIcon:BE,Move:XX,Move3D:V3,Move3DIcon:V3,Move3d:V3,Move3dIcon:V3,MoveDiagonal:BX,MoveDiagonal2:FX,MoveDiagonal2Icon:FX,MoveDiagonalIcon:BX,MoveDown:$X,MoveDownIcon:$X,MoveDownLeft:zX,MoveDownLeftIcon:zX,MoveDownRight:UX,MoveDownRightIcon:UX,MoveHorizontal:VX,MoveHorizontalIcon:VX,MoveIcon:XX,MoveLeft:HX,MoveLeftIcon:HX,MoveRight:GX,MoveRightIcon:GX,MoveUp:WX,MoveUpIcon:WX,MoveUpLeft:jX,MoveUpLeftIcon:jX,MoveUpRight:YX,MoveUpRightIcon:YX,MoveVertical:KX,MoveVerticalIcon:KX,Music:QX,Music2:qX,Music2Icon:qX,Music3:ZX,Music3Icon:ZX,Music4:JX,Music4Icon:JX,MusicIcon:QX,Navigation:nq,Navigation2:eq,Navigation2Icon:eq,Navigation2Off:tq,Navigation2OffIcon:tq,NavigationIcon:nq,NavigationOff:rq,NavigationOffIcon:rq,Network:aq,NetworkIcon:aq,Newspaper:iq,NewspaperIcon:iq,Nfc:oq,NfcIcon:oq,NonBinary:sq,NonBinaryIcon:sq,Notebook:dq,NotebookIcon:dq,NotebookPen:lq,NotebookPenIcon:lq,NotebookTabs:cq,NotebookTabsIcon:cq,NotebookText:uq,NotebookTextIcon:uq,NotepadText:hq,NotepadTextDashed:fq,NotepadTextDashedIcon:fq,NotepadTextIcon:hq,Nut:vq,NutIcon:vq,NutOff:pq,NutOffIcon:pq,Octagon:gq,OctagonAlert:G3,OctagonAlertIcon:G3,OctagonIcon:gq,OctagonMinus:mq,OctagonMinusIcon:mq,OctagonPause:j3,OctagonPauseIcon:j3,OctagonX:Y3,OctagonXIcon:Y3,Omega:_q,OmegaIcon:_q,Option:yq,OptionIcon:yq,Orbit:xq,OrbitIcon:xq,Origami:bq,OrigamiIcon:bq,Outdent:nm,OutdentIcon:nm,Package:kq,Package2:Eq,Package2Icon:Eq,PackageCheck:Sq,PackageCheckIcon:Sq,PackageIcon:kq,PackageMinus:wq,PackageMinusIcon:wq,PackageOpen:Tq,PackageOpenIcon:Tq,PackagePlus:Aq,PackagePlusIcon:Aq,PackageSearch:Cq,PackageSearchIcon:Cq,PackageX:Mq,PackageXIcon:Mq,PaintBucket:Rq,PaintBucketIcon:Rq,PaintRoller:Nq,PaintRollerIcon:Nq,Paintbrush:Iq,Paintbrush2:W3,Paintbrush2Icon:W3,PaintbrushIcon:Iq,PaintbrushVertical:W3,PaintbrushVerticalIcon:W3,Palette:Lq,PaletteIcon:Lq,Palmtree:xS,PalmtreeIcon:xS,Panda:Oq,PandaIcon:Oq,PanelBottom:Fq,PanelBottomClose:Dq,PanelBottomCloseIcon:Dq,PanelBottomDashed:K3,PanelBottomDashedIcon:K3,PanelBottomIcon:Fq,PanelBottomInactive:K3,PanelBottomInactiveIcon:K3,PanelBottomOpen:Pq,PanelBottomOpenIcon:Pq,PanelLeft:Q3,PanelLeftClose:Z3,PanelLeftCloseIcon:Z3,PanelLeftDashed:X3,PanelLeftDashedIcon:X3,PanelLeftIcon:Q3,PanelLeftInactive:X3,PanelLeftInactiveIcon:X3,PanelLeftOpen:q3,PanelLeftOpenIcon:q3,PanelLeftRightDashed:Bq,PanelLeftRightDashedIcon:Bq,PanelRight:$q,PanelRightClose:zq,PanelRightCloseIcon:zq,PanelRightDashed:J3,PanelRightDashedIcon:J3,PanelRightIcon:$q,PanelRightInactive:J3,PanelRightInactiveIcon:J3,PanelRightOpen:Uq,PanelRightOpenIcon:Uq,PanelTop:jq,PanelTopBottomDashed:Hq,PanelTopBottomDashedIcon:Hq,PanelTopClose:Vq,PanelTopCloseIcon:Vq,PanelTopDashed:eE,PanelTopDashedIcon:eE,PanelTopIcon:jq,PanelTopInactive:eE,PanelTopInactiveIcon:eE,PanelTopOpen:Gq,PanelTopOpenIcon:Gq,PanelsLeftBottom:Yq,PanelsLeftBottomIcon:Yq,PanelsLeftRight:Hb,PanelsLeftRightIcon:Hb,PanelsRightBottom:Wq,PanelsRightBottomIcon:Wq,PanelsTopBottom:lE,PanelsTopBottomIcon:lE,PanelsTopLeft:tE,PanelsTopLeftIcon:tE,Paperclip:Kq,PaperclipIcon:Kq,Parentheses:Xq,ParenthesesIcon:Xq,ParkingCircle:Tb,ParkingCircleIcon:Tb,ParkingCircleOff:wb,ParkingCircleOffIcon:wb,ParkingMeter:qq,ParkingMeterIcon:qq,ParkingSquare:ZE,ParkingSquareIcon:ZE,ParkingSquareOff:qE,ParkingSquareOffIcon:qE,PartyPopper:Zq,PartyPopperIcon:Zq,Pause:Qq,PauseCircle:Ab,PauseCircleIcon:Ab,PauseIcon:Qq,PauseOctagon:j3,PauseOctagonIcon:j3,PawPrint:Jq,PawPrintIcon:Jq,PcCase:eZ,PcCaseIcon:eZ,Pen:nE,PenBox:Yp,PenBoxIcon:Yp,PenIcon:nE,PenLine:rE,PenLineIcon:rE,PenOff:tZ,PenOffIcon:tZ,PenSquare:Yp,PenSquareIcon:Yp,PenTool:rZ,PenToolIcon:rZ,Pencil:oZ,PencilIcon:oZ,PencilLine:nZ,PencilLineIcon:nZ,PencilOff:aZ,PencilOffIcon:aZ,PencilRuler:iZ,PencilRulerIcon:iZ,Pentagon:sZ,PentagonIcon:sZ,Percent:lZ,PercentCircle:Cb,PercentCircleIcon:Cb,PercentDiamond:Gb,PercentDiamondIcon:Gb,PercentIcon:lZ,PercentSquare:QE,PercentSquareIcon:QE,PersonStanding:cZ,PersonStandingIcon:cZ,PhilippinePeso:uZ,PhilippinePesoIcon:uZ,Phone:gZ,PhoneCall:dZ,PhoneCallIcon:dZ,PhoneForwarded:fZ,PhoneForwardedIcon:fZ,PhoneIcon:gZ,PhoneIncoming:hZ,PhoneIncomingIcon:hZ,PhoneMissed:pZ,PhoneMissedIcon:pZ,PhoneOff:vZ,PhoneOffIcon:vZ,PhoneOutgoing:mZ,PhoneOutgoingIcon:mZ,Pi:yZ,PiIcon:yZ,PiSquare:JE,PiSquareIcon:JE,Piano:_Z,PianoIcon:_Z,Pickaxe:xZ,PickaxeIcon:xZ,PictureInPicture:EZ,PictureInPicture2:bZ,PictureInPicture2Icon:bZ,PictureInPictureIcon:EZ,PieChart:ib,PieChartIcon:ib,PiggyBank:SZ,PiggyBankIcon:SZ,Pilcrow:AZ,PilcrowIcon:AZ,PilcrowLeft:wZ,PilcrowLeftIcon:wZ,PilcrowRight:TZ,PilcrowRightIcon:TZ,PilcrowSquare:eS,PilcrowSquareIcon:eS,Pill:kZ,PillBottle:CZ,PillBottleIcon:CZ,PillIcon:kZ,Pin:NZ,PinIcon:NZ,PinOff:MZ,PinOffIcon:MZ,Pipette:RZ,PipetteIcon:RZ,Pizza:IZ,PizzaIcon:IZ,Plane:DZ,PlaneIcon:DZ,PlaneLanding:LZ,PlaneLandingIcon:LZ,PlaneTakeoff:OZ,PlaneTakeoffIcon:OZ,Play:PZ,PlayCircle:kb,PlayCircleIcon:kb,PlayIcon:PZ,PlaySquare:nS,PlaySquareIcon:nS,Plug:t5,Plug2:FZ,Plug2Icon:FZ,PlugIcon:t5,PlugZap:aE,PlugZap2:aE,PlugZap2Icon:aE,PlugZapIcon:aE,Plus:BZ,PlusCircle:Mb,PlusCircleIcon:Mb,PlusIcon:BZ,PlusSquare:tS,PlusSquareIcon:tS,Pocket:UZ,PocketIcon:UZ,PocketKnife:zZ,PocketKnifeIcon:zZ,Podcast:$Z,PodcastIcon:$Z,Pointer:VZ,PointerIcon:VZ,PointerOff:HZ,PointerOffIcon:HZ,Popcorn:GZ,PopcornIcon:GZ,Popsicle:jZ,PopsicleIcon:jZ,PoundSterling:YZ,PoundSterlingIcon:YZ,Power:KZ,PowerCircle:Rb,PowerCircleIcon:Rb,PowerIcon:KZ,PowerOff:WZ,PowerOffIcon:WZ,PowerSquare:rS,PowerSquareIcon:rS,Presentation:XZ,PresentationIcon:XZ,Printer:ZZ,PrinterCheck:qZ,PrinterCheckIcon:qZ,PrinterIcon:ZZ,Projector:QZ,ProjectorIcon:QZ,Proportions:JZ,ProportionsIcon:JZ,Puzzle:eQ,PuzzleIcon:eQ,Pyramid:tQ,PyramidIcon:tQ,QrCode:rQ,QrCodeIcon:rQ,Quote:nQ,QuoteIcon:nQ,Rabbit:aQ,RabbitIcon:aQ,Radar:iQ,RadarIcon:iQ,Radiation:oQ,RadiationIcon:oQ,Radical:sQ,RadicalIcon:sQ,Radio:uQ,RadioIcon:uQ,RadioReceiver:lQ,RadioReceiverIcon:lQ,RadioTower:cQ,RadioTowerIcon:cQ,Radius:dQ,RadiusIcon:dQ,RailSymbol:fQ,RailSymbolIcon:fQ,Rainbow:hQ,RainbowIcon:hQ,Rat:pQ,RatIcon:pQ,Ratio:vQ,RatioIcon:vQ,Receipt:TQ,ReceiptCent:mQ,ReceiptCentIcon:mQ,ReceiptEuro:gQ,ReceiptEuroIcon:gQ,ReceiptIcon:TQ,ReceiptIndianRupee:yQ,ReceiptIndianRupeeIcon:yQ,ReceiptJapaneseYen:_Q,ReceiptJapaneseYenIcon:_Q,ReceiptPoundSterling:xQ,ReceiptPoundSterlingIcon:xQ,ReceiptRussianRuble:bQ,ReceiptRussianRubleIcon:bQ,ReceiptSwissFranc:EQ,ReceiptSwissFrancIcon:EQ,ReceiptText:SQ,ReceiptTextIcon:SQ,ReceiptTurkishLira:wQ,ReceiptTurkishLiraIcon:wQ,RectangleCircle:AQ,RectangleCircleIcon:AQ,RectangleEllipsis:iE,RectangleEllipsisIcon:iE,RectangleGoggles:CQ,RectangleGogglesIcon:CQ,RectangleHorizontal:kQ,RectangleHorizontalIcon:kQ,RectangleVertical:MQ,RectangleVerticalIcon:MQ,Recycle:RQ,RecycleIcon:RQ,Redo:LQ,Redo2:NQ,Redo2Icon:NQ,RedoDot:IQ,RedoDotIcon:IQ,RedoIcon:LQ,RefreshCcw:DQ,RefreshCcwDot:OQ,RefreshCcwDotIcon:OQ,RefreshCcwIcon:DQ,RefreshCw:Gk,RefreshCwIcon:Gk,RefreshCwOff:PQ,RefreshCwOffIcon:PQ,Refrigerator:FQ,RefrigeratorIcon:FQ,Regex:BQ,RegexIcon:BQ,RemoveFormatting:zQ,RemoveFormattingIcon:zQ,Repeat:HQ,Repeat1:UQ,Repeat1Icon:UQ,Repeat2:$Q,Repeat2Icon:$Q,RepeatIcon:HQ,Replace:GQ,ReplaceAll:VQ,ReplaceAllIcon:VQ,ReplaceIcon:GQ,Reply:WQ,ReplyAll:jQ,ReplyAllIcon:jQ,ReplyIcon:WQ,Rewind:YQ,RewindIcon:YQ,Ribbon:KQ,RibbonIcon:KQ,Rocket:r5,RocketIcon:r5,RockingChair:XQ,RockingChairIcon:XQ,RollerCoaster:qQ,RollerCoasterIcon:qQ,Rose:ZQ,RoseIcon:ZQ,Rotate3D:oE,Rotate3DIcon:oE,Rotate3d:oE,Rotate3dIcon:oE,RotateCcw:eJ,RotateCcwIcon:eJ,RotateCcwKey:QQ,RotateCcwKeyIcon:QQ,RotateCcwSquare:JQ,RotateCcwSquareIcon:JQ,RotateCw:rJ,RotateCwIcon:rJ,RotateCwSquare:tJ,RotateCwSquareIcon:tJ,Route:iJ,RouteIcon:iJ,RouteOff:nJ,RouteOffIcon:nJ,Router:aJ,RouterIcon:aJ,Rows:sE,Rows2:sE,Rows2Icon:sE,Rows3:lE,Rows3Icon:lE,Rows4:oJ,Rows4Icon:oJ,RowsIcon:sE,Rss:sJ,RssIcon:sJ,Ruler:cJ,RulerDimensionLine:lJ,RulerDimensionLineIcon:lJ,RulerIcon:cJ,RussianRuble:uJ,RussianRubleIcon:uJ,Sailboat:dJ,SailboatIcon:dJ,Salad:fJ,SaladIcon:fJ,Sandwich:hJ,SandwichIcon:hJ,Satellite:vJ,SatelliteDish:pJ,SatelliteDishIcon:pJ,SatelliteIcon:vJ,SaudiRiyal:mJ,SaudiRiyalIcon:mJ,Save:_J,SaveAll:gJ,SaveAllIcon:gJ,SaveIcon:_J,SaveOff:yJ,SaveOffIcon:yJ,Scale:bJ,Scale3D:cE,Scale3DIcon:cE,Scale3d:cE,Scale3dIcon:cE,ScaleIcon:bJ,Scaling:xJ,ScalingIcon:xJ,Scan:RJ,ScanBarcode:EJ,ScanBarcodeIcon:EJ,ScanEye:SJ,ScanEyeIcon:SJ,ScanFace:wJ,ScanFaceIcon:wJ,ScanHeart:TJ,ScanHeartIcon:TJ,ScanIcon:RJ,ScanLine:AJ,ScanLineIcon:AJ,ScanQrCode:CJ,ScanQrCodeIcon:CJ,ScanSearch:kJ,ScanSearchIcon:kJ,ScanText:MJ,ScanTextIcon:MJ,ScatterChart:ob,ScatterChartIcon:ob,School:NJ,School2:ES,School2Icon:ES,SchoolIcon:NJ,Scissors:LJ,ScissorsIcon:LJ,ScissorsLineDashed:IJ,ScissorsLineDashedIcon:IJ,ScissorsSquare:aS,ScissorsSquareDashedBottom:ME,ScissorsSquareDashedBottomIcon:ME,ScissorsSquareIcon:aS,ScreenShare:DJ,ScreenShareIcon:DJ,ScreenShareOff:OJ,ScreenShareOffIcon:OJ,Scroll:FJ,ScrollIcon:FJ,ScrollText:PJ,ScrollTextIcon:PJ,Search:jk,SearchCheck:BJ,SearchCheckIcon:BJ,SearchCode:zJ,SearchCodeIcon:zJ,SearchIcon:jk,SearchSlash:UJ,SearchSlashIcon:UJ,SearchX:$J,SearchXIcon:$J,Section:HJ,SectionIcon:HJ,Send:GJ,SendHorizonal:uE,SendHorizonalIcon:uE,SendHorizontal:uE,SendHorizontalIcon:uE,SendIcon:GJ,SendToBack:VJ,SendToBackIcon:VJ,SeparatorHorizontal:jJ,SeparatorHorizontalIcon:jJ,SeparatorVertical:YJ,SeparatorVerticalIcon:YJ,Server:qJ,ServerCog:WJ,ServerCogIcon:WJ,ServerCrash:KJ,ServerCrashIcon:KJ,ServerIcon:qJ,ServerOff:XJ,ServerOffIcon:XJ,Settings:ZJ,Settings2:Yk,Settings2Icon:Yk,SettingsIcon:ZJ,Shapes:QJ,ShapesIcon:QJ,Share:eee,Share2:JJ,Share2Icon:JJ,ShareIcon:eee,Sheet:tee,SheetIcon:tee,Shell:ree,ShellIcon:ree,Shield:n5,ShieldAlert:nee,ShieldAlertIcon:nee,ShieldBan:aee,ShieldBanIcon:aee,ShieldCheck:iee,ShieldCheckIcon:iee,ShieldClose:fE,ShieldCloseIcon:fE,ShieldEllipsis:oee,ShieldEllipsisIcon:oee,ShieldHalf:see,ShieldHalfIcon:see,ShieldIcon:n5,ShieldMinus:lee,ShieldMinusIcon:lee,ShieldOff:cee,ShieldOffIcon:cee,ShieldPlus:uee,ShieldPlusIcon:uee,ShieldQuestion:dE,ShieldQuestionIcon:dE,ShieldQuestionMark:dE,ShieldQuestionMarkIcon:dE,ShieldUser:dee,ShieldUserIcon:dee,ShieldX:fE,ShieldXIcon:fE,Ship:hee,ShipIcon:hee,ShipWheel:fee,ShipWheelIcon:fee,Shirt:pee,ShirtIcon:pee,ShoppingBag:vee,ShoppingBagIcon:vee,ShoppingBasket:mee,ShoppingBasketIcon:mee,ShoppingCart:yee,ShoppingCartIcon:yee,Shovel:gee,ShovelIcon:gee,ShowerHead:_ee,ShowerHeadIcon:_ee,Shredder:xee,ShredderIcon:xee,Shrimp:bee,ShrimpIcon:bee,Shrink:Eee,ShrinkIcon:Eee,Shrub:See,ShrubIcon:See,Shuffle:wee,ShuffleIcon:wee,Sidebar:Q3,SidebarClose:Z3,SidebarCloseIcon:Z3,SidebarIcon:Q3,SidebarOpen:q3,SidebarOpenIcon:q3,Sigma:Tee,SigmaIcon:Tee,SigmaSquare:iS,SigmaSquareIcon:iS,Signal:Mee,SignalHigh:Aee,SignalHighIcon:Aee,SignalIcon:Mee,SignalLow:Cee,SignalLowIcon:Cee,SignalMedium:kee,SignalMediumIcon:kee,SignalZero:Nee,SignalZeroIcon:Nee,Signature:Ree,SignatureIcon:Ree,Signpost:Oee,SignpostBig:Iee,SignpostBigIcon:Iee,SignpostIcon:Oee,Siren:Lee,SirenIcon:Lee,SkipBack:Dee,SkipBackIcon:Dee,SkipForward:Pee,SkipForwardIcon:Pee,Skull:Fee,SkullIcon:Fee,Slack:Bee,SlackIcon:Bee,Slash:zee,SlashIcon:zee,SlashSquare:oS,SlashSquareIcon:oS,Slice:Uee,SliceIcon:Uee,Sliders:hE,SlidersHorizontal:$ee,SlidersHorizontalIcon:$ee,SlidersIcon:hE,SlidersVertical:hE,SlidersVerticalIcon:hE,Smartphone:Gee,SmartphoneCharging:Hee,SmartphoneChargingIcon:Hee,SmartphoneIcon:Gee,SmartphoneNfc:Vee,SmartphoneNfcIcon:Vee,Smile:Yee,SmileIcon:Yee,SmilePlus:jee,SmilePlusIcon:jee,Snail:Wee,SnailIcon:Wee,Snowflake:Kee,SnowflakeIcon:Kee,SoapDispenserDroplet:Xee,SoapDispenserDropletIcon:Xee,Sofa:qee,SofaIcon:qee,SolarPanel:Zee,SolarPanelIcon:Zee,SortAsc:Fx,SortAscIcon:Fx,SortDesc:Ox,SortDescIcon:Ox,Soup:Qee,SoupIcon:Qee,Space:Jee,SpaceIcon:Jee,Spade:ete,SpadeIcon:ete,Sparkle:tte,SparkleIcon:tte,Sparkles:pE,SparklesIcon:pE,Speaker:rte,SpeakerIcon:rte,Speech:nte,SpeechIcon:nte,SpellCheck:ite,SpellCheck2:ate,SpellCheck2Icon:ate,SpellCheckIcon:ite,Spline:ste,SplineIcon:ste,SplinePointer:ote,SplinePointerIcon:ote,Split:lte,SplitIcon:lte,SplitSquareHorizontal:sS,SplitSquareHorizontalIcon:sS,SplitSquareVertical:lS,SplitSquareVerticalIcon:lS,Spool:cte,SpoolIcon:cte,Spotlight:ute,SpotlightIcon:ute,SprayCan:dte,SprayCanIcon:dte,Sprout:fte,SproutIcon:fte,Square:Ste,SquareActivity:vE,SquareActivityIcon:vE,SquareArrowDown:yE,SquareArrowDownIcon:yE,SquareArrowDownLeft:mE,SquareArrowDownLeftIcon:mE,SquareArrowDownRight:gE,SquareArrowDownRightIcon:gE,SquareArrowLeft:_E,SquareArrowLeftIcon:_E,SquareArrowOutDownLeft:xE,SquareArrowOutDownLeftIcon:xE,SquareArrowOutDownRight:bE,SquareArrowOutDownRightIcon:bE,SquareArrowOutUpLeft:EE,SquareArrowOutUpLeftIcon:EE,SquareArrowOutUpRight:SE,SquareArrowOutUpRightIcon:SE,SquareArrowRight:wE,SquareArrowRightIcon:wE,SquareArrowUp:CE,SquareArrowUpIcon:CE,SquareArrowUpLeft:TE,SquareArrowUpLeftIcon:TE,SquareArrowUpRight:AE,SquareArrowUpRightIcon:AE,SquareAsterisk:kE,SquareAsteriskIcon:kE,SquareBottomDashedScissors:ME,SquareBottomDashedScissorsIcon:ME,SquareChartGantt:im,SquareChartGanttIcon:im,SquareCheck:RE,SquareCheckBig:NE,SquareCheckBigIcon:NE,SquareCheckIcon:RE,SquareChevronDown:LE,SquareChevronDownIcon:LE,SquareChevronLeft:IE,SquareChevronLeftIcon:IE,SquareChevronRight:OE,SquareChevronRightIcon:OE,SquareChevronUp:DE,SquareChevronUpIcon:DE,SquareCode:PE,SquareCodeIcon:PE,SquareDashed:zE,SquareDashedBottom:pte,SquareDashedBottomCode:hte,SquareDashedBottomCodeIcon:hte,SquareDashedBottomIcon:pte,SquareDashedIcon:zE,SquareDashedKanban:FE,SquareDashedKanbanIcon:FE,SquareDashedMousePointer:BE,SquareDashedMousePointerIcon:BE,SquareDashedTopSolid:vte,SquareDashedTopSolidIcon:vte,SquareDivide:UE,SquareDivideIcon:UE,SquareDot:$E,SquareDotIcon:$E,SquareEqual:HE,SquareEqualIcon:HE,SquareFunction:VE,SquareFunctionIcon:VE,SquareGanttChart:im,SquareGanttChartIcon:im,SquareIcon:Ste,SquareKanban:GE,SquareKanbanIcon:GE,SquareLibrary:jE,SquareLibraryIcon:jE,SquareM:YE,SquareMIcon:YE,SquareMenu:WE,SquareMenuIcon:WE,SquareMinus:KE,SquareMinusIcon:KE,SquareMousePointer:XE,SquareMousePointerIcon:XE,SquareParking:ZE,SquareParkingIcon:ZE,SquareParkingOff:qE,SquareParkingOffIcon:qE,SquarePause:mte,SquarePauseIcon:mte,SquarePen:Yp,SquarePenIcon:Yp,SquarePercent:QE,SquarePercentIcon:QE,SquarePi:JE,SquarePiIcon:JE,SquarePilcrow:eS,SquarePilcrowIcon:eS,SquarePlay:nS,SquarePlayIcon:nS,SquarePlus:tS,SquarePlusIcon:tS,SquarePower:rS,SquarePowerIcon:rS,SquareRadical:gte,SquareRadicalIcon:gte,SquareRoundCorner:yte,SquareRoundCornerIcon:yte,SquareScissors:aS,SquareScissorsIcon:aS,SquareSigma:iS,SquareSigmaIcon:iS,SquareSlash:oS,SquareSlashIcon:oS,SquareSplitHorizontal:sS,SquareSplitHorizontalIcon:sS,SquareSplitVertical:lS,SquareSplitVerticalIcon:lS,SquareSquare:xte,SquareSquareIcon:xte,SquareStack:_te,SquareStackIcon:_te,SquareStar:Ete,SquareStarIcon:Ete,SquareStop:bte,SquareStopIcon:bte,SquareTerminal:I2,SquareTerminalIcon:I2,SquareUser:uS,SquareUserIcon:uS,SquareUserRound:cS,SquareUserRoundIcon:cS,SquareX:dS,SquareXIcon:dS,SquaresExclude:wte,SquaresExcludeIcon:wte,SquaresIntersect:Tte,SquaresIntersectIcon:Tte,SquaresSubtract:Ate,SquaresSubtractIcon:Ate,SquaresUnite:Cte,SquaresUniteIcon:Cte,Squircle:Mte,SquircleDashed:kte,SquircleDashedIcon:kte,SquircleIcon:Mte,Squirrel:Rte,SquirrelIcon:Rte,Stamp:Nte,StampIcon:Nte,Star:Ote,StarHalf:Ite,StarHalfIcon:Ite,StarIcon:Ote,StarOff:Lte,StarOffIcon:Lte,Stars:pE,StarsIcon:pE,StepBack:Dte,StepBackIcon:Dte,StepForward:Pte,StepForwardIcon:Pte,Stethoscope:Fte,StethoscopeIcon:Fte,Sticker:Bte,StickerIcon:Bte,StickyNote:zte,StickyNoteIcon:zte,StopCircle:Ib,StopCircleIcon:Ib,Store:Ute,StoreIcon:Ute,StretchHorizontal:$te,StretchHorizontalIcon:$te,StretchVertical:Hte,StretchVerticalIcon:Hte,Strikethrough:Vte,StrikethroughIcon:Vte,Subscript:Gte,SubscriptIcon:Gte,Subtitles:Wx,SubtitlesIcon:Wx,Sun:Xte,SunDim:jte,SunDimIcon:jte,SunIcon:Xte,SunMedium:Yte,SunMediumIcon:Yte,SunMoon:Wte,SunMoonIcon:Wte,SunSnow:Kte,SunSnowIcon:Kte,Sunrise:qte,SunriseIcon:qte,Sunset:Zte,SunsetIcon:Zte,Superscript:Qte,SuperscriptIcon:Qte,SwatchBook:Jte,SwatchBookIcon:Jte,SwissFranc:ere,SwissFrancIcon:ere,SwitchCamera:tre,SwitchCameraIcon:tre,Sword:rre,SwordIcon:rre,Swords:nre,SwordsIcon:nre,Syringe:are,SyringeIcon:are,Table:fre,Table2:ore,Table2Icon:ore,TableCellsMerge:ire,TableCellsMergeIcon:ire,TableCellsSplit:sre,TableCellsSplitIcon:sre,TableColumnsSplit:lre,TableColumnsSplitIcon:lre,TableConfig:em,TableConfigIcon:em,TableIcon:fre,TableOfContents:cre,TableOfContentsIcon:cre,TableProperties:ure,TablePropertiesIcon:ure,TableRowsSplit:dre,TableRowsSplitIcon:dre,Tablet:pre,TabletIcon:pre,TabletSmartphone:hre,TabletSmartphoneIcon:hre,Tablets:vre,TabletsIcon:vre,Tag:mre,TagIcon:mre,Tags:gre,TagsIcon:gre,Tally1:yre,Tally1Icon:yre,Tally2:_re,Tally2Icon:_re,Tally3:xre,Tally3Icon:xre,Tally4:bre,Tally4Icon:bre,Tally5:Ere,Tally5Icon:Ere,Tangent:Sre,TangentIcon:Sre,Target:wre,TargetIcon:wre,Telescope:Tre,TelescopeIcon:Tre,Tent:Cre,TentIcon:Cre,TentTree:Are,TentTreeIcon:Are,Terminal:kre,TerminalIcon:kre,TerminalSquare:I2,TerminalSquareIcon:I2,TestTube:Mre,TestTube2:fS,TestTube2Icon:fS,TestTubeDiagonal:fS,TestTubeDiagonalIcon:fS,TestTubeIcon:Mre,TestTubes:Rre,TestTubesIcon:Rre,Text:om,TextAlignCenter:hS,TextAlignCenterIcon:hS,TextAlignEnd:pS,TextAlignEndIcon:pS,TextAlignJustify:vS,TextAlignJustifyIcon:vS,TextAlignStart:om,TextAlignStartIcon:om,TextCursor:Ire,TextCursorIcon:Ire,TextCursorInput:Nre,TextCursorInputIcon:Nre,TextIcon:om,TextInitial:mS,TextInitialIcon:mS,TextQuote:Lre,TextQuoteIcon:Lre,TextSearch:Ore,TextSearchIcon:Ore,TextSelect:gS,TextSelectIcon:gS,TextSelection:gS,TextSelectionIcon:gS,TextWrap:yS,TextWrapIcon:yS,Theater:Dre,TheaterIcon:Dre,Thermometer:Bre,ThermometerIcon:Bre,ThermometerSnowflake:Pre,ThermometerSnowflakeIcon:Pre,ThermometerSun:Fre,ThermometerSunIcon:Fre,ThumbsDown:a5,ThumbsDownIcon:a5,ThumbsUp:i5,ThumbsUpIcon:i5,Ticket:jre,TicketCheck:Ure,TicketCheckIcon:Ure,TicketIcon:jre,TicketMinus:zre,TicketMinusIcon:zre,TicketPercent:$re,TicketPercentIcon:$re,TicketPlus:Hre,TicketPlusIcon:Hre,TicketSlash:Vre,TicketSlashIcon:Vre,TicketX:Gre,TicketXIcon:Gre,Tickets:Yre,TicketsIcon:Yre,TicketsPlane:Wre,TicketsPlaneIcon:Wre,Timer:qre,TimerIcon:qre,TimerOff:Kre,TimerOffIcon:Kre,TimerReset:Xre,TimerResetIcon:Xre,ToggleLeft:Zre,ToggleLeftIcon:Zre,ToggleRight:Qre,ToggleRightIcon:Qre,Toilet:Jre,ToiletIcon:Jre,ToolCase:ene,ToolCaseIcon:ene,Tornado:tne,TornadoIcon:tne,Torus:rne,TorusIcon:rne,Touchpad:ane,TouchpadIcon:ane,TouchpadOff:nne,TouchpadOffIcon:nne,TowerControl:ine,TowerControlIcon:ine,ToyBrick:one,ToyBrickIcon:one,Tractor:sne,TractorIcon:sne,TrafficCone:cne,TrafficConeIcon:cne,Train:_S,TrainFront:une,TrainFrontIcon:une,TrainFrontTunnel:lne,TrainFrontTunnelIcon:lne,TrainIcon:_S,TrainTrack:dne,TrainTrackIcon:dne,TramFront:_S,TramFrontIcon:_S,Transgender:fne,TransgenderIcon:fne,Trash:hne,Trash2:Wk,Trash2Icon:Wk,TrashIcon:hne,TreeDeciduous:pne,TreeDeciduousIcon:pne,TreePalm:xS,TreePalmIcon:xS,TreePine:vne,TreePineIcon:vne,Trees:mne,TreesIcon:mne,Trello:yne,TrelloIcon:yne,TrendingDown:gne,TrendingDownIcon:gne,TrendingUp:xne,TrendingUpDown:_ne,TrendingUpDownIcon:_ne,TrendingUpIcon:xne,Triangle:Sne,TriangleAlert:$1,TriangleAlertIcon:$1,TriangleDashed:bne,TriangleDashedIcon:bne,TriangleIcon:Sne,TriangleRight:Ene,TriangleRightIcon:Ene,Trophy:wne,TrophyIcon:wne,Truck:Ane,TruckElectric:Tne,TruckElectricIcon:Tne,TruckIcon:Ane,TurkishLira:Cne,TurkishLiraIcon:Cne,Turntable:Mne,TurntableIcon:Mne,Turtle:kne,TurtleIcon:kne,Tv:Nne,Tv2:bS,Tv2Icon:bS,TvIcon:Nne,TvMinimal:bS,TvMinimalIcon:bS,TvMinimalPlay:Rne,TvMinimalPlayIcon:Rne,Twitch:Ine,TwitchIcon:Ine,Twitter:Lne,TwitterIcon:Lne,Type:Dne,TypeIcon:Dne,TypeOutline:One,TypeOutlineIcon:One,Umbrella:Fne,UmbrellaIcon:Fne,UmbrellaOff:Pne,UmbrellaOffIcon:Pne,Underline:Bne,UnderlineIcon:Bne,Undo:Une,Undo2:$ne,Undo2Icon:$ne,UndoDot:zne,UndoDotIcon:zne,UndoIcon:Une,UnfoldHorizontal:Hne,UnfoldHorizontalIcon:Hne,UnfoldVertical:Vne,UnfoldVerticalIcon:Vne,Ungroup:Gne,UngroupIcon:Gne,University:ES,UniversityIcon:ES,Unlink:Yne,Unlink2:jne,Unlink2Icon:jne,UnlinkIcon:Yne,Unlock:B3,UnlockIcon:B3,UnlockKeyhole:F3,UnlockKeyholeIcon:F3,Unplug:Wne,UnplugIcon:Wne,Upload:Kk,UploadCloud:zb,UploadCloudIcon:zb,UploadIcon:Kk,Usb:Kne,UsbIcon:Kne,User:oae,User2:kS,User2Icon:kS,UserCheck:Xne,UserCheck2:SS,UserCheck2Icon:SS,UserCheckIcon:Xne,UserCircle:Ob,UserCircle2:Lb,UserCircle2Icon:Lb,UserCircleIcon:Ob,UserCog:qne,UserCog2:wS,UserCog2Icon:wS,UserCogIcon:qne,UserIcon:oae,UserLock:Zne,UserLockIcon:Zne,UserMinus:Qne,UserMinus2:TS,UserMinus2Icon:TS,UserMinusIcon:Qne,UserPen:Jne,UserPenIcon:Jne,UserPlus:eae,UserPlus2:AS,UserPlus2Icon:AS,UserPlusIcon:eae,UserRound:kS,UserRoundCheck:SS,UserRoundCheckIcon:SS,UserRoundCog:wS,UserRoundCogIcon:wS,UserRoundIcon:kS,UserRoundMinus:TS,UserRoundMinusIcon:TS,UserRoundPen:tae,UserRoundPenIcon:tae,UserRoundPlus:AS,UserRoundPlusIcon:AS,UserRoundSearch:rae,UserRoundSearchIcon:rae,UserRoundX:CS,UserRoundXIcon:CS,UserSearch:nae,UserSearchIcon:nae,UserSquare:uS,UserSquare2:cS,UserSquare2Icon:cS,UserSquareIcon:uS,UserStar:aae,UserStarIcon:aae,UserX:iae,UserX2:CS,UserX2Icon:CS,UserXIcon:iae,Users:sae,Users2:MS,Users2Icon:MS,UsersIcon:sae,UsersRound:MS,UsersRoundIcon:MS,Utensils:NS,UtensilsCrossed:RS,UtensilsCrossedIcon:RS,UtensilsIcon:NS,UtilityPole:lae,UtilityPoleIcon:lae,Variable:cae,VariableIcon:cae,Vault:uae,VaultIcon:uae,VectorSquare:dae,VectorSquareIcon:dae,Vegan:fae,VeganIcon:fae,VenetianMask:hae,VenetianMaskIcon:hae,Venus:vae,VenusAndMars:pae,VenusAndMarsIcon:pae,VenusIcon:vae,Verified:Ux,VerifiedIcon:Ux,Vibrate:gae,VibrateIcon:gae,VibrateOff:mae,VibrateOffIcon:mae,Video:_ae,VideoIcon:_ae,VideoOff:yae,VideoOffIcon:yae,Videotape:xae,VideotapeIcon:xae,View:bae,ViewIcon:bae,Voicemail:Eae,VoicemailIcon:Eae,Volleyball:Sae,VolleyballIcon:Sae,Volume:kae,Volume1:wae,Volume1Icon:wae,Volume2:Tae,Volume2Icon:Tae,VolumeIcon:kae,VolumeOff:Aae,VolumeOffIcon:Aae,VolumeX:Cae,VolumeXIcon:Cae,Vote:Mae,VoteIcon:Mae,Wallet:Nae,Wallet2:IS,Wallet2Icon:IS,WalletCards:Rae,WalletCardsIcon:Rae,WalletIcon:Nae,WalletMinimal:IS,WalletMinimalIcon:IS,Wallpaper:Iae,WallpaperIcon:Iae,Wand:Lae,Wand2:LS,Wand2Icon:LS,WandIcon:Lae,WandSparkles:LS,WandSparklesIcon:LS,Warehouse:Oae,WarehouseIcon:Oae,WashingMachine:Dae,WashingMachineIcon:Dae,Watch:Pae,WatchIcon:Pae,Waves:Uae,WavesArrowDown:Fae,WavesArrowDownIcon:Fae,WavesArrowUp:Bae,WavesArrowUpIcon:Bae,WavesIcon:Uae,WavesLadder:zae,WavesLadderIcon:zae,Waypoints:$ae,WaypointsIcon:$ae,Webcam:Hae,WebcamIcon:Hae,Webhook:Gae,WebhookIcon:Gae,WebhookOff:Vae,WebhookOffIcon:Vae,Weight:jae,WeightIcon:jae,Wheat:Wae,WheatIcon:Wae,WheatOff:Yae,WheatOffIcon:Yae,WholeWord:Kae,WholeWordIcon:Kae,Wifi:nie,WifiCog:Xae,WifiCogIcon:Xae,WifiHigh:qae,WifiHighIcon:qae,WifiIcon:nie,WifiLow:Zae,WifiLowIcon:Zae,WifiOff:Qae,WifiOffIcon:Qae,WifiPen:Jae,WifiPenIcon:Jae,WifiSync:eie,WifiSyncIcon:eie,WifiZero:tie,WifiZeroIcon:tie,Wind:aie,WindArrowDown:rie,WindArrowDownIcon:rie,WindIcon:aie,Wine:iie,WineIcon:iie,WineOff:oie,WineOffIcon:oie,Workflow:sie,WorkflowIcon:sie,Worm:lie,WormIcon:lie,WrapText:yS,WrapTextIcon:yS,Wrench:Xk,WrenchIcon:Xk,X:Uh,XCircle:Db,XCircleIcon:Db,XIcon:Uh,XOctagon:Y3,XOctagonIcon:Y3,XSquare:dS,XSquareIcon:dS,Youtube:cie,YoutubeIcon:cie,Zap:fie,ZapIcon:fie,ZapOff:uie,ZapOffIcon:uie,ZoomIn:die,ZoomInIcon:die,ZoomOut:hie,ZoomOutIcon:hie,createLucideIcon:Ee,icons:wMt},Symbol.toStringTag,{value:"Module"}));function o5({className:e,...t}){return Oe.jsx("div",{className:ga("animate-pulse rounded-md bg-muted",e),...t})}const TMt=Object.freeze(Object.defineProperty({__proto__:null,Skeleton:o5},Symbol.toStringTag,{value:"Module"})),Us=({path:e,options:t,suffix:r})=>{const{t:n,i18n:o}=Tfe();return o.exists(e,t)?Oe.jsxs("span",{children:[n(e,t),r]}):Oe.jsx(o5,{className:"h-4 w-10"})},sm=()=>{const{t:e,ready:t,i18n:r}=Tfe();return{t:(n,o)=>r.exists(n,o)?e(n,o):"...",ready:t,i18n:r}};var AMt="VisuallyHidden",e2e=Ue.forwardRef((e,t)=>Oe.jsx(Zi.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));e2e.displayName=AMt;var CMt=e2e,[pie,e8r]=Lc("Tooltip",[Uv]),vie=Uv(),nze="TooltipProvider",kMt=700,t2e="tooltip.open",[MMt,r2e]=pie(nze),aze=e=>{const{__scopeTooltip:t,delayDuration:r=kMt,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:m}=e,[u,h]=Ue.useState(!0),a=Ue.useRef(!1),l=Ue.useRef(0);return Ue.useEffect(()=>{const v=l.current;return()=>window.clearTimeout(v)},[]),Oe.jsx(MMt,{scope:t,isOpenDelayed:u,delayDuration:r,onOpen:Ue.useCallback(()=>{window.clearTimeout(l.current),h(!1)},[]),onClose:Ue.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>h(!0),n)},[n]),isPointerInTransitRef:a,onPointerInTransitChange:Ue.useCallback(v=>{a.current=v},[]),disableHoverableContent:o,children:m})};aze.displayName=nze;var mie="Tooltip",[RMt,gie]=pie(mie),ize=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o=!1,onOpenChange:m,disableHoverableContent:u,delayDuration:h}=e,a=r2e(mie,e.__scopeTooltip),l=vie(t),[v,i]=Ue.useState(null),S=Rd(),g=Ue.useRef(0),p=u??a.disableHoverableContent,_=h??a.delayDuration,c=Ue.useRef(!1),[s=!1,d]=Nd({prop:n,defaultProp:o,onChange:C=>{C?(a.onOpen(),document.dispatchEvent(new CustomEvent(t2e))):a.onClose(),m==null||m(C)}}),f=Ue.useMemo(()=>s?c.current?"delayed-open":"instant-open":"closed",[s]),b=Ue.useCallback(()=>{window.clearTimeout(g.current),g.current=0,c.current=!1,d(!0)},[d]),x=Ue.useCallback(()=>{window.clearTimeout(g.current),g.current=0,d(!1)},[d]),y=Ue.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{c.current=!0,d(!0),g.current=0},_)},[_,d]);return Ue.useEffect(()=>()=>{g.current&&(window.clearTimeout(g.current),g.current=0)},[]),Oe.jsx(hT,{...l,children:Oe.jsx(RMt,{scope:t,contentId:S,open:s,stateAttribute:f,trigger:v,onTriggerChange:i,onTriggerEnter:Ue.useCallback(()=>{a.isOpenDelayed?y():b()},[a.isOpenDelayed,y,b]),onTriggerLeave:Ue.useCallback(()=>{p?x():(window.clearTimeout(g.current),g.current=0)},[x,p]),onOpen:b,onClose:x,disableHoverableContent:p,children:r})})};ize.displayName=mie;var n2e="TooltipTrigger",oze=Ue.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=gie(n2e,r),m=r2e(n2e,r),u=vie(r),h=Ue.useRef(null),a=co(t,h,o.onTriggerChange),l=Ue.useRef(!1),v=Ue.useRef(!1),i=Ue.useCallback(()=>l.current=!1,[]);return Ue.useEffect(()=>()=>document.removeEventListener("pointerup",i),[i]),Oe.jsx(pT,{asChild:!0,...u,children:Oe.jsx(Zi.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...n,ref:a,onPointerMove:qa(e.onPointerMove,S=>{S.pointerType!=="touch"&&!v.current&&!m.isPointerInTransitRef.current&&(o.onTriggerEnter(),v.current=!0)}),onPointerLeave:qa(e.onPointerLeave,()=>{o.onTriggerLeave(),v.current=!1}),onPointerDown:qa(e.onPointerDown,()=>{l.current=!0,document.addEventListener("pointerup",i,{once:!0})}),onFocus:qa(e.onFocus,()=>{l.current||o.onOpen()}),onBlur:qa(e.onBlur,o.onClose),onClick:qa(e.onClick,o.onClose)})})});oze.displayName=n2e;var NMt="TooltipPortal",[t8r,IMt]=pie(NMt,{forceMount:void 0}),s5="TooltipContent",sze=Ue.forwardRef((e,t)=>{const r=IMt(s5,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...m}=e,u=gie(s5,e.__scopeTooltip);return Oe.jsx(Lu,{present:n||u.open,children:u.disableHoverableContent?Oe.jsx(lze,{side:o,...m,ref:t}):Oe.jsx(LMt,{side:o,...m,ref:t})})}),LMt=Ue.forwardRef((e,t)=>{const r=gie(s5,e.__scopeTooltip),n=r2e(s5,e.__scopeTooltip),o=Ue.useRef(null),m=co(t,o),[u,h]=Ue.useState(null),{trigger:a,onClose:l}=r,v=o.current,{onPointerInTransitChange:i}=n,S=Ue.useCallback(()=>{h(null),i(!1)},[i]),g=Ue.useCallback((p,_)=>{const c=p.currentTarget,s={x:p.clientX,y:p.clientY},d=FMt(s,c.getBoundingClientRect()),f=BMt(s,d),b=zMt(_.getBoundingClientRect()),x=$Mt([...f,...b]);h(x),i(!0)},[i]);return Ue.useEffect(()=>()=>S(),[S]),Ue.useEffect(()=>{if(a&&v){const p=c=>g(c,v),_=c=>g(c,a);return a.addEventListener("pointerleave",p),v.addEventListener("pointerleave",_),()=>{a.removeEventListener("pointerleave",p),v.removeEventListener("pointerleave",_)}}},[a,v,g,S]),Ue.useEffect(()=>{if(u){const p=_=>{const c=_.target,s={x:_.clientX,y:_.clientY},d=(a==null?void 0:a.contains(c))||(v==null?void 0:v.contains(c)),f=!UMt(s,u);d?S():f&&(S(),l())};return document.addEventListener("pointermove",p),()=>document.removeEventListener("pointermove",p)}},[a,v,u,l,S]),Oe.jsx(lze,{...e,ref:m})}),[OMt,DMt]=pie(mie,{isInside:!1}),lze=Ue.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:m,onPointerDownOutside:u,...h}=e,a=gie(s5,r),l=vie(r),{onClose:v}=a;return Ue.useEffect(()=>(document.addEventListener(t2e,v),()=>document.removeEventListener(t2e,v)),[v]),Ue.useEffect(()=>{if(a.trigger){const i=S=>{const g=S.target;g!=null&&g.contains(a.trigger)&&v()};return window.addEventListener("scroll",i,{capture:!0}),()=>window.removeEventListener("scroll",i,{capture:!0})}},[a.trigger,v]),Oe.jsx(mx,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:m,onPointerDownOutside:u,onFocusOutside:i=>i.preventDefault(),onDismiss:v,children:Oe.jsxs(XC,{"data-state":a.stateAttribute,...l,...h,ref:t,style:{...h.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[Oe.jsx(Ofe,{children:n}),Oe.jsx(OMt,{scope:r,isInside:!0,children:Oe.jsx(CMt,{id:a.contentId,role:"tooltip",children:o||n})})]})})});sze.displayName=s5;var cze="TooltipArrow",PMt=Ue.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=vie(r);return DMt(cze,r).isInside?null:Oe.jsx(qC,{...o,...n,ref:t})});PMt.displayName=cze;function FMt(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),m=Math.abs(t.left-e.x);switch(Math.min(r,n,o,m)){case m:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function BMt(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function zMt(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function UMt(e,t){const{x:r,y:n}=e;let o=!1;for(let m=0,u=t.length-1;m<t.length;u=m++){const h=t[m].x,a=t[m].y,l=t[u].x,v=t[u].y;a>n!=v>n&&r<(l-h)*(n-a)/(v-a)+h&&(o=!o)}return o}function $Mt(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),HMt(t)}function HMt(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const m=t[t.length-1],u=t[t.length-2];if((m.x-u.x)*(o.y-u.y)>=(m.y-u.y)*(o.x-u.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const m=r[r.length-1],u=r[r.length-2];if((m.x-u.x)*(o.y-u.y)>=(m.y-u.y)*(o.x-u.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var VMt=aze,GMt=ize,jMt=oze,uze=sze;const a2e=500,dze=0,Du=({delayDuration:e=a2e,skipDelayDuration:t=dze,...r})=>Oe.jsx(VMt,{delayDuration:e,skipDelayDuration:t,...r}),Fc=GMt,Bc=jMt,Ec=Ue.forwardRef(({className:e,sideOffset:t=4,...r},n)=>Oe.jsx(uze,{ref:n,sideOffset:t,className:ga("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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",e),...r}));Ec.displayName=uze.displayName;const YMt=Object.freeze(Object.defineProperty({__proto__:null,TOOLTIP_DELAY_MS:a2e,TOOLTIP_SKIP_DELAY_MS:dze,Tooltip:Fc,TooltipContent:Ec,TooltipProvider:Du,TooltipTrigger:Bc},Symbol.toStringTag,{value:"Module"})),i2e=({content:e,className:t,contentRef:r})=>{const[n,o]=Ue.useState(!1),{t:m}=sm(),u=async()=>{try{const h=typeof e=="object"?JSON.stringify(e,null,2):String(e),a=[];if(a.push(new ClipboardItem({"text/plain":new Blob([h],{type:"text/plain"})})),r!=null&&r.current){const l=r.current.innerHTML;a.push(new ClipboardItem({"text/html":new Blob([l],{type:"text/html"})}))}navigator.clipboard.write&&a.length>1?await navigator.clipboard.write([new ClipboardItem({"text/plain":new Blob([h],{type:"text/plain"}),...(r==null?void 0:r.current)&&{"text/html":new Blob([r.current.innerHTML],{type:"text/html"})}})]):await navigator.clipboard.writeText(h),o(!0),setTimeout(()=>{o(!1)},2e3)}catch(h){Sl.error("Failed to copy: "+String(h))}};return Oe.jsx(Du,{delayDuration:100,children:Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsx(Ko,{onClick:u,variant:"ghost",size:"icon",className:`text-muted-foreground ${t}`,children:n?Oe.jsx(Ig,{className:"h-4 w-4"}):Oe.jsx(Uk,{className:"h-4 w-4"})})}),Oe.jsx(Ec,{children:Oe.jsx("p",{children:m(n?"chat.messages.actions.copy.success":"chat.messages.actions.copy.button")})})]})})},WMt=({language:e,children:t})=>{const r=Ue.useRef(null);return QBe.getLanguage(e)||(e="txt"),Ue.useEffect(()=>{r.current&&(r.current.getAttribute("data-highlighted")==="yes"||QBe.highlightElement(r.current))},[]),Oe.jsx("pre",{className:"m-0",children:Oe.jsx("code",{ref:r,className:`language-${e} font-mono text-sm rounded-b-md block`,children:t})})};function KMt({...e}){var a,l,v,i,S,g;const t=(l=(a=e.node)==null?void 0:a.children)==null?void 0:l[0],r=(i=(v=t==null?void 0:t.properties)==null?void 0:v.className)==null?void 0:i[0],n=/language-(\w+)/.exec(r||""),o=(g=(S=t==null?void 0:t.children)==null?void 0:S[0])==null?void 0:g.value,m=n&&o,u=m?Oe.jsx(WMt,{language:n[1],children:o}):null,h=m?null:Oe.jsx("div",{className:ga("rounded-b-md overflow-x-auto bg-accent",o&&"p-2"),children:Oe.jsx("code",{className:"whitespace-pre-wrap",children:o})});return Oe.jsxs(Ng,{className:"relative my-2",children:[Oe.jsxs(Ik,{className:"flex flex-row items-center justify-between py-1 px-4",children:[Oe.jsx("span",{className:"text-sm text-muted-foreground",children:(n==null?void 0:n[1])||"Raw code"}),Oe.jsx(i2e,{content:o})]}),Oe.jsxs($T,{className:"p-0",children:[u,h]})]})}const XMt={highlightedMessage:null,loading:!1,editable:!1,onElementRefClick:void 0,onFeedbackUpdated:void 0,showFeedbackButtons:!0,onError:()=>{},uiName:"",cot:"hidden"},H1=Ue.createContext(XMt),qMt=({element:e})=>{const{onElementRefClick:t}=Ue.useContext(H1);return e.display==="inline"?Oe.jsx("span",{className:"font-bold",children:e.name}):Oe.jsx("a",{href:"#",className:"cursor-pointer uppercase -translate-y-px inline-flex items-center rounded-xl bg-muted px-1.5 text-[0.7rem] font-medium text-muted-foreground element-link hover:bg-primary hover:text-primary-foreground",onClick:()=>t==null?void 0:t(e),children:e.name})},ZMt=["info","note","tip","important","warning","caution","debug","example","success","help","idea","pending","security","beta","best-practice"],QMt={info:{container:"bg-blue-50 border-l-4 border-l-blue-400 dark:bg-blue-950 dark:border-l-blue-500",icon:"text-blue-500 dark:text-blue-400",text:"text-blue-700 dark:text-blue-200",Icon:L3},note:{container:"bg-gray-50 border-l-4 border-l-gray-400 dark:bg-gray-900 dark:border-l-gray-500",icon:"text-gray-500 dark:text-gray-400",text:"text-gray-700 dark:text-gray-200",Icon:YT},tip:{container:"bg-green-50 border-l-4 border-l-green-400 dark:bg-green-950 dark:border-l-green-500",icon:"text-green-500 dark:text-green-400",text:"text-green-700 dark:text-green-200",Icon:U1},important:{container:"bg-purple-50 border-l-4 border-l-purple-400 dark:bg-purple-950 dark:border-l-purple-500",icon:"text-purple-500 dark:text-purple-400",text:"text-purple-700 dark:text-purple-200",Icon:Jv},warning:{container:"bg-yellow-50 border-l-4 border-l-yellow-400 dark:bg-yellow-950 dark:border-l-yellow-500",icon:"text-yellow-500 dark:text-yellow-400",text:"text-yellow-700 dark:text-yellow-200",Icon:$1},caution:{container:"bg-red-50 border-l-4 border-l-red-400 dark:bg-red-950 dark:border-l-red-500",icon:"text-red-500 dark:text-red-400",text:"text-red-700 dark:text-red-200",Icon:$1},debug:{container:"bg-gray-50 border-l-4 border-l-gray-400 dark:bg-gray-900 dark:border-l-gray-500",icon:"text-gray-500 dark:text-gray-400",text:"text-gray-700 dark:text-gray-200",Icon:Yx},example:{container:"bg-indigo-50 border-l-4 border-l-indigo-400 dark:bg-indigo-950 dark:border-l-indigo-500",icon:"text-indigo-500 dark:text-indigo-400",text:"text-indigo-700 dark:text-indigo-200",Icon:WT},success:{container:"bg-green-50 border-l-4 border-l-green-400 dark:bg-green-950 dark:border-l-green-500",icon:"text-green-500 dark:text-green-400",text:"text-green-700 dark:text-green-200",Icon:U1},help:{container:"bg-blue-50 border-l-4 border-l-blue-400 dark:bg-blue-950 dark:border-l-blue-500",icon:"text-blue-500 dark:text-blue-400",text:"text-blue-700 dark:text-blue-200",Icon:G0},idea:{container:"bg-yellow-50 border-l-4 border-l-yellow-400 dark:bg-yellow-950 dark:border-l-yellow-500",icon:"text-yellow-500 dark:text-yellow-400",text:"text-yellow-700 dark:text-yellow-200",Icon:JT},pending:{container:"bg-orange-50 border-l-4 border-l-orange-400 dark:bg-orange-950 dark:border-l-orange-500",icon:"text-orange-500 dark:text-orange-400",text:"text-orange-700 dark:text-orange-200",Icon:ZT},security:{container:"bg-slate-50 border-l-4 border-l-slate-400 dark:bg-slate-950 dark:border-l-slate-500",icon:"text-slate-500 dark:text-slate-400",text:"text-slate-700 dark:text-slate-200",Icon:n5},beta:{container:"bg-violet-50 border-l-4 border-l-violet-400 dark:bg-violet-950 dark:border-l-violet-500",icon:"text-violet-500 dark:text-violet-400",text:"text-violet-700 dark:text-violet-200",Icon:r5},"best-practice":{container:"bg-teal-50 border-l-4 border-l-teal-400 dark:bg-teal-950 dark:border-l-teal-500",icon:"text-teal-500 dark:text-teal-400",text:"text-teal-700 dark:text-teal-200",Icon:QT}},JMt={info:{container:"bg-blue-50/80 rounded-2xl border border-blue-200 dark:bg-slate-800/30 dark:border-slate-500/40",icon:"text-blue-500 dark:text-blue-400",text:"text-slate-700 dark:text-slate-200",Icon:L3},note:{container:"bg-gray-50/80 rounded-2xl border border-gray-300 dark:bg-gray-800/30 dark:border-gray-500/40",icon:"text-gray-500 dark:text-gray-400",text:"text-slate-700 dark:text-slate-200",Icon:YT},tip:{container:"bg-green-50/80 rounded-2xl border border-green-200 dark:bg-green-800/30 dark:border-green-600/30",icon:"text-green-500 dark:text-green-400",text:"text-slate-700 dark:text-slate-200",Icon:U1},important:{container:"bg-purple-50/80 rounded-2xl border border-purple-200 dark:bg-purple-800/20 dark:border-purple-600/30",icon:"text-purple-500 dark:text-purple-400",text:"text-slate-700 dark:text-slate-200",Icon:Jv},warning:{container:"bg-yellow-50/80 rounded-2xl border border-yellow-200 dark:bg-yellow-800/30 dark:border-yellow-600/30",icon:"text-yellow-500 dark:text-yellow-400",text:"text-slate-700 dark:text-slate-200",Icon:$1},caution:{container:"bg-red-50/80 rounded-2xl border border-red-200 dark:bg-red-900/30 dark:border-red-600/30",icon:"text-red-500 dark:text-red-400",text:"text-slate-700 dark:text-slate-200",Icon:$1},debug:{container:"bg-gray-50/80 rounded-2xl border border-gray-300 dark:bg-gray-800/30 dark:border-gray-500/40",icon:"text-gray-500 dark:text-gray-400",text:"text-slate-700 dark:text-slate-200",Icon:Yx},example:{container:"bg-indigo-50/80 rounded-2xl border border-indigo-200 dark:bg-indigo-800/30 dark:border-indigo-600/30",icon:"text-indigo-500 dark:text-indigo-400",text:"text-slate-700 dark:text-slate-200",Icon:WT},success:{container:"bg-green-50/80 rounded-2xl border border-green-200 dark:bg-green-800/30 dark:border-green-600/30",icon:"text-green-500 dark:text-green-400",text:"text-slate-700 dark:text-slate-200",Icon:U1},help:{container:"bg-blue-50/80 rounded-2xl border border-blue-200 dark:bg-blue-800/30 dark:border-blue-600/30",icon:"text-blue-500 dark:text-blue-400",text:"text-slate-700 dark:text-slate-200",Icon:G0},idea:{container:"bg-yellow-50/80 rounded-2xl border border-yellow-200 dark:bg-yellow-800/30 dark:border-yellow-600/30",icon:"text-yellow-500 dark:text-yellow-400",text:"text-slate-700 dark:text-slate-200",Icon:JT},pending:{container:"bg-orange-50/80 rounded-2xl border border-orange-200 dark:bg-orange-900/30 dark:border-orange-600/30",icon:"text-orange-500 dark:text-orange-400",text:"text-slate-700 dark:text-slate-200",Icon:ZT},security:{container:"bg-slate-50/80 rounded-2xl border border-slate-300 dark:bg-slate-800/30 dark:border-slate-500/40",icon:"text-slate-500 dark:text-slate-400",text:"text-slate-700 dark:text-slate-200",Icon:n5},beta:{container:"bg-violet-50/80 rounded-2xl border border-violet-200 dark:bg-violet-800/20 dark:border-violet-600/30",icon:"text-violet-500 dark:text-violet-400",text:"text-slate-700 dark:text-slate-200",Icon:r5},"best-practice":{container:"bg-teal-50/80 rounded-2xl border border-teal-200 dark:bg-teal-800/30 dark:border-teal-600/30",icon:"text-teal-500 dark:text-teal-400",text:"text-slate-700 dark:text-slate-200",Icon:QT}},e8t=({variant:e,children:t})=>{var a,l;const{t:r}=sm(),n=af(),u=(((l=(a=n==null?void 0:n.config)==null?void 0:a.ui)==null?void 0:l.alert_style)==="modern"?JMt:QMt)[e],h=u.Icon;return Oe.jsx("div",{className:ga("rounded-lg p-4 mb-4",u.container),children:Oe.jsxs("div",{className:"flex",children:[Oe.jsx("div",{className:ga("flex-shrink-0",u.icon),children:Oe.jsx(h,{className:"w-5 h-5"})}),Oe.jsxs("div",{className:"ml-3",children:[Oe.jsx("div",{className:ga("text-sm font-medium mb-1",u.text),children:r(`alerts.${e}`)}),Oe.jsx("div",{className:ga("text-sm",u.text),children:t})]})]})})},t8t=()=>e=>{CT(e,"text",t=>{const r=/^:::\s*([\w-]+)\n([\s\S]*?)\n:::/i,n=t.value.match(r);if(n){const[,o,m]=n;t.type="element",t.data={hName:"Alert",hProperties:{variant:fze(o)}},t.children=[{type:"text",value:m.trim()}]}})},fze=e=>{if(!e)return"info";const t=e.toLowerCase().replace(/[-_\s]/g,"-");return ZMt.includes(t)?t:(console.warn(`Invalid alert type "${e}", falling back to "info"`),"info")},hze={Alert:e8t},r8t=()=>e=>{CT(e,"text",(t,r,n)=>{var u;const o=/\u200B/g,m=[...((u=t.value)==null?void 0:u.matchAll(o))||[]];if(m.length>0){const h=[];let a=0;m.forEach(l=>{const[v]=l,i=l.index,S=i+v.length;i>a&&h.push({type:"text",value:t.value.slice(a,i)}),h.push({type:"blinkingCursor",data:{hName:"blinkingCursor",hProperties:{text:"Blinking Cursor"}}}),a=S}),a<t.value.length&&h.push({type:"text",value:t.value.slice(a)}),n.children.splice(r,1,...h)}})},OS=({allowHtml:e,latex:t,refElements:r,className:n,children:o})=>{const m=Ue.useContext(vu),u=Ue.useMemo(()=>{let a=[];return e&&(a=[N4t,...a]),t&&(a=[k3t,...a]),a},[e,t]),h=Ue.useMemo(()=>{let a=[r8t,R5t,bwt,t8t];return t&&(a=[...a,$5t]),a},[t]);return Oe.jsx(q_t,{className:ga("prose lg:prose-xl",n),remarkPlugins:h,rehypePlugins:u,components:{...hze,code(a){return Oe.jsx("code",{...hu.omit(a,["node"]),className:"relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold"})},pre({children:a,...l}){return Oe.jsx(KMt,{...l})},a({children:a,...l}){const v=a,i=r==null?void 0:r.find(S=>S.name===v);return i?Oe.jsx(qMt,{element:i}):Oe.jsx("a",{...l,className:"text-primary hover:underline",target:"_blank",children:a})},img:a=>{const l=a.src.startsWith("/public")?m.buildEndpoint(a.src):a.src;return[".mp4",".webm",".mov",".avi",".ogv",".m4v"].some(S=>l.toLowerCase().split(/[?#]/)[0].endsWith(S))?Oe.jsx("div",{className:"sm:max-w-sm md:max-w-md",children:Oe.jsx("video",{src:l,controls:!0,className:"w-full h-auto rounded-md",style:{maxWidth:"100%"},children:"Your browser does not support the video tag."})}):Oe.jsx("div",{className:"sm:max-w-sm md:max-w-md",children:Oe.jsx(WOe,{ratio:16/9,className:"bg-muted rounded-md overflow-hidden",children:Oe.jsx("img",{src:l,alt:a.alt,className:"h-full w-full object-contain"})})})},blockquote(a){return Oe.jsx("blockquote",{...hu.omit(a,["node"]),className:"mt-6 border-l-2 pl-6 italic"})},em(a){return Oe.jsx("span",{...hu.omit(a,["node"]),className:"italic"})},strong(a){return Oe.jsx("span",{...hu.omit(a,["node"]),className:"font-bold"})},hr(){return Oe.jsx(yve,{})},ul(a){return Oe.jsx("ul",{...hu.omit(a,["node"]),className:"my-3 ml-3 list-disc pl-2 [&>li]:mt-1"})},ol(a){return Oe.jsx("ol",{...hu.omit(a,["node"]),className:"my-3 ml-3 list-decimal pl-2 [&>li]:mt-1"})},h1(a){return Oe.jsx("h1",{...hu.omit(a,["node"]),className:"scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl mt-8 first:mt-0"})},h2(a){return Oe.jsx("h2",{...hu.omit(a,["node"]),className:"scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight mt-8 first:mt-0"})},h3(a){return Oe.jsx("h3",{...hu.omit(a,["node"]),className:"scroll-m-20 text-2xl font-semibold tracking-tight mt-6 first:mt-0"})},h4(a){return Oe.jsx("h4",{...hu.omit(a,["node"]),className:"scroll-m-20 text-xl font-semibold tracking-tight mt-6 first:mt-0"})},p(a){return Oe.jsx("div",{...hu.omit(a,["node"]),className:"leading-7 [&:not(:first-child)]:mt-4 whitespace-pre-wrap break-words",role:"article"})},table({children:a,...l}){return Oe.jsx(Ng,{className:"[&:not(:first-child)]:mt-2 [&:not(:last-child)]:mb-2",children:Oe.jsx(A9,{...l,children:a})})},thead({children:a,...l}){return Oe.jsx(C9,{...l,children:a})},tr({children:a,...l}){return Oe.jsx(HT,{...l,children:a})},th({children:a,...l}){return Oe.jsx(M9,{...l,children:a})},td({children:a,...l}){return Oe.jsx(Lk,{...l,children:a})},tbody({children:a,...l}){return Oe.jsx(k9,{...l,children:a})},blinkingCursor:()=>Oe.jsx(rDe,{whitespace:!0}),alert:({type:a,children:l,...v})=>{const i=fze(a||v.variant||"info");return hze.Alert({variant:i,children:l})}},children:o})},n8t=Object.freeze(Object.defineProperty({__proto__:null,Markdown:OS},Symbol.toStringTag,{value:"Module"}));var o2e,s2e="HoverCard",[pze,r8r]=Lc(s2e,[Uv]),yie=Uv(),[a8t,l2e]=pze(s2e),vze=e=>{const{__scopeHoverCard:t,children:r,open:n,defaultOpen:o,onOpenChange:m,openDelay:u=700,closeDelay:h=300}=e,a=yie(t),l=Ue.useRef(0),v=Ue.useRef(0),i=Ue.useRef(!1),S=Ue.useRef(!1),[g=!1,p]=Nd({prop:n,defaultProp:o,onChange:m}),_=Ue.useCallback(()=>{clearTimeout(v.current),l.current=window.setTimeout(()=>p(!0),u)},[u,p]),c=Ue.useCallback(()=>{clearTimeout(l.current),!i.current&&!S.current&&(v.current=window.setTimeout(()=>p(!1),h))},[h,p]),s=Ue.useCallback(()=>p(!1),[p]);return Ue.useEffect(()=>()=>{clearTimeout(l.current),clearTimeout(v.current)},[]),Oe.jsx(a8t,{scope:t,open:g,onOpenChange:p,onOpen:_,onClose:c,onDismiss:s,hasSelectionRef:i,isPointerDownOnContentRef:S,children:Oe.jsx(hT,{...a,children:r})})};vze.displayName=s2e;var mze="HoverCardTrigger",gze=Ue.forwardRef((e,t)=>{const{__scopeHoverCard:r,...n}=e,o=l2e(mze,r),m=yie(r);return Oe.jsx(pT,{asChild:!0,...m,children:Oe.jsx(Zi.a,{"data-state":o.open?"open":"closed",...n,ref:t,onPointerEnter:qa(e.onPointerEnter,xie(o.onOpen)),onPointerLeave:qa(e.onPointerLeave,xie(o.onClose)),onFocus:qa(e.onFocus,o.onOpen),onBlur:qa(e.onBlur,o.onClose),onTouchStart:qa(e.onTouchStart,u=>u.preventDefault())})})});gze.displayName=mze;var i8t="HoverCardPortal",[n8r,o8t]=pze(i8t,{forceMount:void 0}),_ie="HoverCardContent",yze=Ue.forwardRef((e,t)=>{const r=o8t(_ie,e.__scopeHoverCard),{forceMount:n=r.forceMount,...o}=e,m=l2e(_ie,e.__scopeHoverCard);return Oe.jsx(Lu,{present:n||m.open,children:Oe.jsx(s8t,{"data-state":m.open?"open":"closed",...o,onPointerEnter:qa(e.onPointerEnter,xie(m.onOpen)),onPointerLeave:qa(e.onPointerLeave,xie(m.onClose)),ref:t})})});yze.displayName=_ie;var s8t=Ue.forwardRef((e,t)=>{const{__scopeHoverCard:r,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:m,onInteractOutside:u,...h}=e,a=l2e(_ie,r),l=yie(r),v=Ue.useRef(null),i=co(t,v),[S,g]=Ue.useState(!1);return Ue.useEffect(()=>{if(S){const p=document.body;return o2e=p.style.userSelect||p.style.webkitUserSelect,p.style.userSelect="none",p.style.webkitUserSelect="none",()=>{p.style.userSelect=o2e,p.style.webkitUserSelect=o2e}}},[S]),Ue.useEffect(()=>{if(v.current){const p=()=>{g(!1),a.isPointerDownOnContentRef.current=!1,setTimeout(()=>{var c;((c=document.getSelection())==null?void 0:c.toString())!==""&&(a.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",p),()=>{document.removeEventListener("pointerup",p),a.hasSelectionRef.current=!1,a.isPointerDownOnContentRef.current=!1}}},[a.isPointerDownOnContentRef,a.hasSelectionRef]),Ue.useEffect(()=>{v.current&&u8t(v.current).forEach(_=>_.setAttribute("tabindex","-1"))}),Oe.jsx(mx,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:u,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:qa(m,p=>{p.preventDefault()}),onDismiss:a.onDismiss,children:Oe.jsx(XC,{...l,...h,onPointerDown:qa(h.onPointerDown,p=>{p.currentTarget.contains(p.target)&&g(!0),a.hasSelectionRef.current=!1,a.isPointerDownOnContentRef.current=!0}),ref:i,style:{...h.style,userSelect:S?"text":void 0,WebkitUserSelect:S?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})}),l8t="HoverCardArrow",c8t=Ue.forwardRef((e,t)=>{const{__scopeHoverCard:r,...n}=e,o=yie(r);return Oe.jsx(qC,{...o,...n,ref:t})});c8t.displayName=l8t;function xie(e){return t=>t.pointerType==="touch"?void 0:e()}function u8t(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;r.nextNode();)t.push(r.currentNode);return t}var d8t=vze,f8t=gze,_ze=yze;const xze=d8t,bze=f8t,c2e=Ue.forwardRef(({className:e,align:t="center",sideOffset:r=4,...n},o)=>Oe.jsx(_ze,{ref:o,align:t,sideOffset:r,className:ga("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out 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",e),...n}));c2e.displayName=_ze.displayName;const h8t=Object.freeze(Object.defineProperty({__proto__:null,HoverCard:xze,HoverCardContent:c2e,HoverCardTrigger:bze},Symbol.toStringTag,{value:"Module"}));function qk(e,[t,r]){return Math.min(r,Math.max(t,e))}function Zk(e){const t=e+"CollectionProvider",[r,n]=Lc(t),[o,m]=r(t,{collectionRef:{current:null},itemMap:new Map}),u=g=>{const{scope:p,children:_}=g,c=wn.useRef(null),s=wn.useRef(new Map).current;return Oe.jsx(o,{scope:p,itemMap:s,collectionRef:c,children:_})};u.displayName=t;const h=e+"CollectionSlot",a=wn.forwardRef((g,p)=>{const{scope:_,children:c}=g,s=m(h,_),d=co(p,s.collectionRef);return Oe.jsx(Lv,{ref:d,children:c})});a.displayName=h;const l=e+"CollectionItemSlot",v="data-radix-collection-item",i=wn.forwardRef((g,p)=>{const{scope:_,children:c,...s}=g,d=wn.useRef(null),f=co(p,d),b=m(l,_);return wn.useEffect(()=>(b.itemMap.set(d,{ref:d,...s}),()=>void b.itemMap.delete(d))),Oe.jsx(Lv,{[v]:"",ref:f,children:c})});i.displayName=l;function S(g){const p=m(e+"CollectionConsumer",g);return wn.useCallback(()=>{const c=p.collectionRef.current;if(!c)return[];const s=Array.from(c.querySelectorAll(`[${v}]`));return Array.from(p.itemMap.values()).sort((b,x)=>s.indexOf(b.ref.current)-s.indexOf(x.ref.current))},[p.collectionRef,p.itemMap])}return[{Provider:u,Slot:a,ItemSlot:i},S,n]}var p8t=Ue.createContext(void 0);function L2(e){const t=Ue.useContext(p8t);return e||t||"ltr"}function bie(e){const t=Ue.useRef({value:e,previous:e});return Ue.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var v8t=[" ","Enter","ArrowUp","ArrowDown"],m8t=[" ","Enter"],Qk="Select",[Eie,Sie,g8t]=Zk(Qk),[l5,a8r]=Lc(Qk,[g8t,Uv]),wie=Uv(),[y8t,O2]=l5(Qk),[_8t,x8t]=l5(Qk),Eze=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:m,value:u,defaultValue:h,onValueChange:a,dir:l,name:v,autoComplete:i,disabled:S,required:g,form:p}=e,_=wie(t),[c,s]=Ue.useState(null),[d,f]=Ue.useState(null),[b,x]=Ue.useState(!1),y=L2(l),[C=!1,w]=Nd({prop:n,defaultProp:o,onChange:m}),[R,A]=Nd({prop:u,defaultProp:h,onChange:a}),E=Ue.useRef(null),k=c?p||!!c.closest("form"):!0,[L,I]=Ue.useState(new Set),P=Array.from(L).map(M=>M.props.value).join(";");return Oe.jsx(hT,{..._,children:Oe.jsxs(y8t,{required:g,scope:t,trigger:c,onTriggerChange:s,valueNode:d,onValueNodeChange:f,valueNodeHasChildren:b,onValueNodeHasChildrenChange:x,contentId:Rd(),value:R,onValueChange:A,open:C,onOpenChange:w,dir:y,triggerPointerDownPosRef:E,disabled:S,children:[Oe.jsx(Eie.Provider,{scope:t,children:Oe.jsx(_8t,{scope:e.__scopeSelect,onNativeOptionAdd:Ue.useCallback(M=>{I(F=>new Set(F).add(M))},[]),onNativeOptionRemove:Ue.useCallback(M=>{I(F=>{const N=new Set(F);return N.delete(M),N})},[]),children:r})}),k?Oe.jsxs(Kze,{"aria-hidden":!0,required:g,tabIndex:-1,name:v,autoComplete:i,value:R,onChange:M=>A(M.target.value),disabled:S,form:p,children:[R===void 0?Oe.jsx("option",{value:""}):null,Array.from(L)]},P):null]})})};Eze.displayName=Qk;var Sze="SelectTrigger",wze=Ue.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,m=wie(r),u=O2(Sze,r),h=u.disabled||n,a=co(t,u.onTriggerChange),l=Sie(r),v=Ue.useRef("touch"),[i,S,g]=Xze(_=>{const c=l().filter(f=>!f.disabled),s=c.find(f=>f.value===u.value),d=qze(c,_,s);d!==void 0&&u.onValueChange(d.value)}),p=_=>{h||(u.onOpenChange(!0),g()),_&&(u.triggerPointerDownPosRef.current={x:Math.round(_.pageX),y:Math.round(_.pageY)})};return Oe.jsx(pT,{asChild:!0,...m,children:Oe.jsx(Zi.button,{type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:h,"data-disabled":h?"":void 0,"data-placeholder":Wze(u.value)?"":void 0,...o,ref:a,onClick:qa(o.onClick,_=>{_.currentTarget.focus(),v.current!=="mouse"&&p(_)}),onPointerDown:qa(o.onPointerDown,_=>{v.current=_.pointerType;const c=_.target;c.hasPointerCapture(_.pointerId)&&c.releasePointerCapture(_.pointerId),_.button===0&&_.ctrlKey===!1&&_.pointerType==="mouse"&&(p(_),_.preventDefault())}),onKeyDown:qa(o.onKeyDown,_=>{const c=i.current!=="";!(_.ctrlKey||_.altKey||_.metaKey)&&_.key.length===1&&S(_.key),!(c&&_.key===" ")&&v8t.includes(_.key)&&(p(),_.preventDefault())})})})});wze.displayName=Sze;var Tze="SelectValue",Aze=Ue.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:m,placeholder:u="",...h}=e,a=O2(Tze,r),{onValueNodeHasChildrenChange:l}=a,v=m!==void 0,i=co(t,a.onValueNodeChange);return Iu(()=>{l(v)},[l,v]),Oe.jsx(Zi.span,{...h,ref:i,style:{pointerEvents:"none"},children:Wze(a.value)?Oe.jsx(Oe.Fragment,{children:u}):m})});Aze.displayName=Tze;var b8t="SelectIcon",Cze=Ue.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return Oe.jsx(Zi.span,{"aria-hidden":!0,...o,ref:t,children:n||"▼"})});Cze.displayName=b8t;var E8t="SelectPortal",kze=e=>Oe.jsx(ZC,{asChild:!0,...e});kze.displayName=E8t;var DS="SelectContent",Mze=Ue.forwardRef((e,t)=>{const r=O2(DS,e.__scopeSelect),[n,o]=Ue.useState();if(Iu(()=>{o(new DocumentFragment)},[]),!r.open){const m=n;return m?vx.createPortal(Oe.jsx(Rze,{scope:e.__scopeSelect,children:Oe.jsx(Eie.Slot,{scope:e.__scopeSelect,children:Oe.jsx("div",{children:e.children})})}),m):null}return Oe.jsx(Nze,{...e,ref:t})});Mze.displayName=DS;var V1=10,[Rze,D2]=l5(DS),S8t="SelectContentImpl",Nze=Ue.forwardRef((e,t)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:m,onPointerDownOutside:u,side:h,sideOffset:a,align:l,alignOffset:v,arrowPadding:i,collisionBoundary:S,collisionPadding:g,sticky:p,hideWhenDetached:_,avoidCollisions:c,...s}=e,d=O2(DS,r),[f,b]=Ue.useState(null),[x,y]=Ue.useState(null),C=co(t,j=>b(j)),[w,R]=Ue.useState(null),[A,E]=Ue.useState(null),k=Sie(r),[L,I]=Ue.useState(!1),P=Ue.useRef(!1);Ue.useEffect(()=>{if(f)return QC(f)},[f]),cL();const M=Ue.useCallback(j=>{const[G,...W]=k().map(ae=>ae.ref.current),[X]=W.slice(-1),Q=document.activeElement;for(const ae of j)if(ae===Q||(ae==null||ae.scrollIntoView({block:"nearest"}),ae===G&&x&&(x.scrollTop=0),ae===X&&x&&(x.scrollTop=x.scrollHeight),ae==null||ae.focus(),document.activeElement!==Q))return},[k,x]),F=Ue.useCallback(()=>M([w,f]),[M,w,f]);Ue.useEffect(()=>{L&&F()},[L,F]);const{onOpenChange:N,triggerPointerDownPosRef:T}=d;Ue.useEffect(()=>{if(f){let j={x:0,y:0};const G=X=>{var Q,ae;j={x:Math.abs(Math.round(X.pageX)-(((Q=T.current)==null?void 0:Q.x)??0)),y:Math.abs(Math.round(X.pageY)-(((ae=T.current)==null?void 0:ae.y)??0))}},W=X=>{j.x<=10&&j.y<=10?X.preventDefault():f.contains(X.target)||N(!1),document.removeEventListener("pointermove",G),T.current=null};return T.current!==null&&(document.addEventListener("pointermove",G),document.addEventListener("pointerup",W,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",G),document.removeEventListener("pointerup",W,{capture:!0})}}},[f,N,T]),Ue.useEffect(()=>{const j=()=>N(!1);return window.addEventListener("blur",j),window.addEventListener("resize",j),()=>{window.removeEventListener("blur",j),window.removeEventListener("resize",j)}},[N]);const[D,O]=Xze(j=>{const G=k().filter(Q=>!Q.disabled),W=G.find(Q=>Q.ref.current===document.activeElement),X=qze(G,j,W);X&&setTimeout(()=>X.ref.current.focus())}),U=Ue.useCallback((j,G,W)=>{const X=!P.current&&!W;(d.value!==void 0&&d.value===G||X)&&(R(j),X&&(P.current=!0))},[d.value]),B=Ue.useCallback(()=>f==null?void 0:f.focus(),[f]),Y=Ue.useCallback((j,G,W)=>{const X=!P.current&&!W;(d.value!==void 0&&d.value===G||X)&&E(j)},[d.value]),z=n==="popper"?u2e:Ize,V=z===u2e?{side:h,sideOffset:a,align:l,alignOffset:v,arrowPadding:i,collisionBoundary:S,collisionPadding:g,sticky:p,hideWhenDetached:_,avoidCollisions:c}:{};return Oe.jsx(Rze,{scope:r,content:f,viewport:x,onViewportChange:y,itemRefCallback:U,selectedItem:w,onItemLeave:B,itemTextRefCallback:Y,focusSelectedItem:F,selectedItemText:A,position:n,isPositioned:L,searchRef:D,children:Oe.jsx(tk,{as:Lv,allowPinchZoom:!0,children:Oe.jsx(jC,{asChild:!0,trapped:d.open,onMountAutoFocus:j=>{j.preventDefault()},onUnmountAutoFocus:qa(o,j=>{var G;(G=d.trigger)==null||G.focus({preventScroll:!0}),j.preventDefault()}),children:Oe.jsx(mx,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:m,onPointerDownOutside:u,onFocusOutside:j=>j.preventDefault(),onDismiss:()=>d.onOpenChange(!1),children:Oe.jsx(z,{role:"listbox",id:d.contentId,"data-state":d.open?"open":"closed",dir:d.dir,onContextMenu:j=>j.preventDefault(),...s,...V,onPlaced:()=>I(!0),ref:C,style:{display:"flex",flexDirection:"column",outline:"none",...s.style},onKeyDown:qa(s.onKeyDown,j=>{const G=j.ctrlKey||j.altKey||j.metaKey;if(j.key==="Tab"&&j.preventDefault(),!G&&j.key.length===1&&O(j.key),["ArrowUp","ArrowDown","Home","End"].includes(j.key)){let X=k().filter(Q=>!Q.disabled).map(Q=>Q.ref.current);if(["ArrowUp","End"].includes(j.key)&&(X=X.slice().reverse()),["ArrowUp","ArrowDown"].includes(j.key)){const Q=j.target,ae=X.indexOf(Q);X=X.slice(ae+1)}setTimeout(()=>M(X)),j.preventDefault()}})})})})})})});Nze.displayName=S8t;var w8t="SelectItemAlignedPosition",Ize=Ue.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...o}=e,m=O2(DS,r),u=D2(DS,r),[h,a]=Ue.useState(null),[l,v]=Ue.useState(null),i=co(t,C=>v(C)),S=Sie(r),g=Ue.useRef(!1),p=Ue.useRef(!0),{viewport:_,selectedItem:c,selectedItemText:s,focusSelectedItem:d}=u,f=Ue.useCallback(()=>{if(m.trigger&&m.valueNode&&h&&l&&_&&c&&s){const C=m.trigger.getBoundingClientRect(),w=l.getBoundingClientRect(),R=m.valueNode.getBoundingClientRect(),A=s.getBoundingClientRect();if(m.dir!=="rtl"){const Q=A.left-w.left,ae=R.left-Q,ie=C.left-ae,he=C.width+ie,J=Math.max(he,w.width),Z=window.innerWidth-V1,le=qk(ae,[V1,Math.max(V1,Z-J)]);h.style.minWidth=he+"px",h.style.left=le+"px"}else{const Q=w.right-A.right,ae=window.innerWidth-R.right-Q,ie=window.innerWidth-C.right-ae,he=C.width+ie,J=Math.max(he,w.width),Z=window.innerWidth-V1,le=qk(ae,[V1,Math.max(V1,Z-J)]);h.style.minWidth=he+"px",h.style.right=le+"px"}const E=S(),k=window.innerHeight-V1*2,L=_.scrollHeight,I=window.getComputedStyle(l),P=parseInt(I.borderTopWidth,10),M=parseInt(I.paddingTop,10),F=parseInt(I.borderBottomWidth,10),N=parseInt(I.paddingBottom,10),T=P+M+L+N+F,D=Math.min(c.offsetHeight*5,T),O=window.getComputedStyle(_),U=parseInt(O.paddingTop,10),B=parseInt(O.paddingBottom,10),Y=C.top+C.height/2-V1,z=k-Y,V=c.offsetHeight/2,j=c.offsetTop+V,G=P+M+j,W=T-G;if(G<=Y){const Q=E.length>0&&c===E[E.length-1].ref.current;h.style.bottom="0px";const ae=l.clientHeight-_.offsetTop-_.offsetHeight,ie=Math.max(z,V+(Q?B:0)+ae+F),he=G+ie;h.style.height=he+"px"}else{const Q=E.length>0&&c===E[0].ref.current;h.style.top="0px";const ie=Math.max(Y,P+_.offsetTop+(Q?U:0)+V)+W;h.style.height=ie+"px",_.scrollTop=G-Y+_.offsetTop}h.style.margin=`${V1}px 0`,h.style.minHeight=D+"px",h.style.maxHeight=k+"px",n==null||n(),requestAnimationFrame(()=>g.current=!0)}},[S,m.trigger,m.valueNode,h,l,_,c,s,m.dir,n]);Iu(()=>f(),[f]);const[b,x]=Ue.useState();Iu(()=>{l&&x(window.getComputedStyle(l).zIndex)},[l]);const y=Ue.useCallback(C=>{C&&p.current===!0&&(f(),d==null||d(),p.current=!1)},[f,d]);return Oe.jsx(A8t,{scope:r,contentWrapper:h,shouldExpandOnScrollRef:g,onScrollButtonChange:y,children:Oe.jsx("div",{ref:a,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:b},children:Oe.jsx(Zi.div,{...o,ref:i,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});Ize.displayName=w8t;var T8t="SelectPopperPosition",u2e=Ue.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=V1,...m}=e,u=wie(r);return Oe.jsx(XC,{...u,...m,ref:t,align:n,collisionPadding:o,style:{boxSizing:"border-box",...m.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)"}})});u2e.displayName=T8t;var[A8t,d2e]=l5(DS,{}),f2e="SelectViewport",Lze=Ue.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:n,...o}=e,m=D2(f2e,r),u=d2e(f2e,r),h=co(t,m.onViewportChange),a=Ue.useRef(0);return Oe.jsxs(Oe.Fragment,{children:[Oe.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:n}),Oe.jsx(Eie.Slot,{scope:r,children:Oe.jsx(Zi.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:h,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:qa(o.onScroll,l=>{const v=l.currentTarget,{contentWrapper:i,shouldExpandOnScrollRef:S}=u;if(S!=null&&S.current&&i){const g=Math.abs(a.current-v.scrollTop);if(g>0){const p=window.innerHeight-V1*2,_=parseFloat(i.style.minHeight),c=parseFloat(i.style.height),s=Math.max(_,c);if(s<p){const d=s+g,f=Math.min(p,d),b=d-f;i.style.height=f+"px",i.style.bottom==="0px"&&(v.scrollTop=b>0?b:0,i.style.justifyContent="flex-end")}}}a.current=v.scrollTop})})})]})});Lze.displayName=f2e;var Oze="SelectGroup",[C8t,k8t]=l5(Oze),Dze=Ue.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Rd();return Oe.jsx(C8t,{scope:r,id:o,children:Oe.jsx(Zi.div,{role:"group","aria-labelledby":o,...n,ref:t})})});Dze.displayName=Oze;var Pze="SelectLabel",Fze=Ue.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=k8t(Pze,r);return Oe.jsx(Zi.div,{id:o.id,...n,ref:t})});Fze.displayName=Pze;var Tie="SelectItem",[M8t,Bze]=l5(Tie),zze=Ue.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:m,...u}=e,h=O2(Tie,r),a=D2(Tie,r),l=h.value===n,[v,i]=Ue.useState(m??""),[S,g]=Ue.useState(!1),p=co(t,d=>{var f;return(f=a.itemRefCallback)==null?void 0:f.call(a,d,n,o)}),_=Rd(),c=Ue.useRef("touch"),s=()=>{o||(h.onValueChange(n),h.onOpenChange(!1))};if(n==="")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 Oe.jsx(M8t,{scope:r,value:n,disabled:o,textId:_,isSelected:l,onItemTextChange:Ue.useCallback(d=>{i(f=>f||((d==null?void 0:d.textContent)??"").trim())},[]),children:Oe.jsx(Eie.ItemSlot,{scope:r,value:n,disabled:o,textValue:v,children:Oe.jsx(Zi.div,{role:"option","aria-labelledby":_,"data-highlighted":S?"":void 0,"aria-selected":l&&S,"data-state":l?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...u,ref:p,onFocus:qa(u.onFocus,()=>g(!0)),onBlur:qa(u.onBlur,()=>g(!1)),onClick:qa(u.onClick,()=>{c.current!=="mouse"&&s()}),onPointerUp:qa(u.onPointerUp,()=>{c.current==="mouse"&&s()}),onPointerDown:qa(u.onPointerDown,d=>{c.current=d.pointerType}),onPointerMove:qa(u.onPointerMove,d=>{var f;c.current=d.pointerType,o?(f=a.onItemLeave)==null||f.call(a):c.current==="mouse"&&d.currentTarget.focus({preventScroll:!0})}),onPointerLeave:qa(u.onPointerLeave,d=>{var f;d.currentTarget===document.activeElement&&((f=a.onItemLeave)==null||f.call(a))}),onKeyDown:qa(u.onKeyDown,d=>{var b;((b=a.searchRef)==null?void 0:b.current)!==""&&d.key===" "||(m8t.includes(d.key)&&s(),d.key===" "&&d.preventDefault())})})})})});zze.displayName=Tie;var Jk="SelectItemText",Uze=Ue.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...m}=e,u=O2(Jk,r),h=D2(Jk,r),a=Bze(Jk,r),l=x8t(Jk,r),[v,i]=Ue.useState(null),S=co(t,s=>i(s),a.onItemTextChange,s=>{var d;return(d=h.itemTextRefCallback)==null?void 0:d.call(h,s,a.value,a.disabled)}),g=v==null?void 0:v.textContent,p=Ue.useMemo(()=>Oe.jsx("option",{value:a.value,disabled:a.disabled,children:g},a.value),[a.disabled,a.value,g]),{onNativeOptionAdd:_,onNativeOptionRemove:c}=l;return Iu(()=>(_(p),()=>c(p)),[_,c,p]),Oe.jsxs(Oe.Fragment,{children:[Oe.jsx(Zi.span,{id:a.textId,...m,ref:S}),a.isSelected&&u.valueNode&&!u.valueNodeHasChildren?vx.createPortal(m.children,u.valueNode):null]})});Uze.displayName=Jk;var $ze="SelectItemIndicator",Hze=Ue.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return Bze($ze,r).isSelected?Oe.jsx(Zi.span,{"aria-hidden":!0,...n,ref:t}):null});Hze.displayName=$ze;var h2e="SelectScrollUpButton",Vze=Ue.forwardRef((e,t)=>{const r=D2(h2e,e.__scopeSelect),n=d2e(h2e,e.__scopeSelect),[o,m]=Ue.useState(!1),u=co(t,n.onScrollButtonChange);return Iu(()=>{if(r.viewport&&r.isPositioned){let h=function(){const l=a.scrollTop>0;m(l)};const a=r.viewport;return h(),a.addEventListener("scroll",h),()=>a.removeEventListener("scroll",h)}},[r.viewport,r.isPositioned]),o?Oe.jsx(jze,{...e,ref:u,onAutoScroll:()=>{const{viewport:h,selectedItem:a}=r;h&&a&&(h.scrollTop=h.scrollTop-a.offsetHeight)}}):null});Vze.displayName=h2e;var p2e="SelectScrollDownButton",Gze=Ue.forwardRef((e,t)=>{const r=D2(p2e,e.__scopeSelect),n=d2e(p2e,e.__scopeSelect),[o,m]=Ue.useState(!1),u=co(t,n.onScrollButtonChange);return Iu(()=>{if(r.viewport&&r.isPositioned){let h=function(){const l=a.scrollHeight-a.clientHeight,v=Math.ceil(a.scrollTop)<l;m(v)};const a=r.viewport;return h(),a.addEventListener("scroll",h),()=>a.removeEventListener("scroll",h)}},[r.viewport,r.isPositioned]),o?Oe.jsx(jze,{...e,ref:u,onAutoScroll:()=>{const{viewport:h,selectedItem:a}=r;h&&a&&(h.scrollTop=h.scrollTop+a.offsetHeight)}}):null});Gze.displayName=p2e;var jze=Ue.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,m=D2("SelectScrollButton",r),u=Ue.useRef(null),h=Sie(r),a=Ue.useCallback(()=>{u.current!==null&&(window.clearInterval(u.current),u.current=null)},[]);return Ue.useEffect(()=>()=>a(),[a]),Iu(()=>{var v;const l=h().find(i=>i.ref.current===document.activeElement);(v=l==null?void 0:l.ref.current)==null||v.scrollIntoView({block:"nearest"})},[h]),Oe.jsx(Zi.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:qa(o.onPointerDown,()=>{u.current===null&&(u.current=window.setInterval(n,50))}),onPointerMove:qa(o.onPointerMove,()=>{var l;(l=m.onItemLeave)==null||l.call(m),u.current===null&&(u.current=window.setInterval(n,50))}),onPointerLeave:qa(o.onPointerLeave,()=>{a()})})}),R8t="SelectSeparator",Yze=Ue.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return Oe.jsx(Zi.div,{"aria-hidden":!0,...n,ref:t})});Yze.displayName=R8t;var v2e="SelectArrow",N8t=Ue.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=wie(r),m=O2(v2e,r),u=D2(v2e,r);return m.open&&u.position==="popper"?Oe.jsx(qC,{...o,...n,ref:t}):null});N8t.displayName=v2e;function Wze(e){return e===""||e===void 0}var Kze=Ue.forwardRef((e,t)=>{const{value:r,...n}=e,o=Ue.useRef(null),m=co(t,o),u=bie(r);return Ue.useEffect(()=>{const h=o.current,a=window.HTMLSelectElement.prototype,v=Object.getOwnPropertyDescriptor(a,"value").set;if(u!==r&&v){const i=new Event("change",{bubbles:!0});v.call(h,r),h.dispatchEvent(i)}},[u,r]),Oe.jsx(e2e,{asChild:!0,children:Oe.jsx("select",{...n,ref:m,defaultValue:r})})});Kze.displayName="BubbleSelect";function Xze(e){const t=Dc(e),r=Ue.useRef(""),n=Ue.useRef(0),o=Ue.useCallback(u=>{const h=r.current+u;t(h),function a(l){r.current=l,window.clearTimeout(n.current),l!==""&&(n.current=window.setTimeout(()=>a(""),1e3))}(h)},[t]),m=Ue.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return Ue.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,m]}function qze(e,t,r){const o=t.length>1&&Array.from(t).every(l=>l===t[0])?t[0]:t,m=r?e.indexOf(r):-1;let u=I8t(e,Math.max(m,0));o.length===1&&(u=u.filter(l=>l!==r));const a=u.find(l=>l.textValue.toLowerCase().startsWith(o.toLowerCase()));return a!==r?a:void 0}function I8t(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var L8t=Eze,Zze=wze,O8t=Aze,D8t=Cze,P8t=kze,Qze=Mze,F8t=Lze,B8t=Dze,Jze=Fze,eUe=zze,z8t=Uze,U8t=Hze,tUe=Vze,rUe=Gze,nUe=Yze;const Aie=L8t,$8t=B8t,Cie=O8t,aUe=P8t,eM=Ue.forwardRef(({className:e,children:t,...r},n)=>Oe.jsxs(Zze,{ref:n,className:ga("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...r,children:[t,Oe.jsx(D8t,{asChild:!0,children:Oe.jsx(R2,{className:"ml-1 !size-5"})})]}));eM.displayName=Zze.displayName;const m2e=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(tUe,{ref:r,className:ga("flex cursor-default items-center justify-center py-1",e),...t,children:Oe.jsx(XT,{className:"h-4 w-4"})}));m2e.displayName=tUe.displayName;const g2e=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(rUe,{ref:r,className:ga("flex cursor-default items-center justify-center py-1",e),...t,children:Oe.jsx(R2,{className:"h-4 w-4"})}));g2e.displayName=rUe.displayName;const tM=Ue.forwardRef(({className:e,children:t,position:r="popper",...n},o)=>Oe.jsx(aUe,{container:window.cl_shadowRootElement,children:Oe.jsxs(Qze,{ref:o,className:ga("relative z-50 max-h-96 min-w-[8rem] rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out 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",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,...n,children:[Oe.jsx(m2e,{}),Oe.jsx(F8t,{className:ga("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),Oe.jsx(g2e,{})]})}));tM.displayName=Qze.displayName;const iUe=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(Jze,{ref:r,className:ga("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));iUe.displayName=Jze.displayName;const PS=Ue.forwardRef(({className:e,children:t,...r},n)=>Oe.jsxs(eUe,{ref:n,className:ga("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r,children:[Oe.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:Oe.jsx(U8t,{children:Oe.jsx(Ig,{className:"h-4 w-4"})})}),Oe.jsx(z8t,{children:t})]}));PS.displayName=eUe.displayName;const oUe=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(nUe,{ref:r,className:ga("-mx-1 my-1 h-px bg-muted",e),...t}));oUe.displayName=nUe.displayName;const H8t=Object.freeze(Object.defineProperty({__proto__:null,Select:Aie,SelectContent:tM,SelectGroup:$8t,SelectItem:PS,SelectLabel:iUe,SelectPortal:aUe,SelectScrollDownButton:g2e,SelectScrollUpButton:m2e,SelectSeparator:oUe,SelectTrigger:eM,SelectValue:Cie},Symbol.toStringTag,{value:"Module"}));var y2e="Dialog",[sUe,lUe]=Lc(y2e),[V8t,G1]=sUe(y2e),cUe=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:m,modal:u=!0}=e,h=Ue.useRef(null),a=Ue.useRef(null),[l=!1,v]=Nd({prop:n,defaultProp:o,onChange:m});return Oe.jsx(V8t,{scope:t,triggerRef:h,contentRef:a,contentId:Rd(),titleId:Rd(),descriptionId:Rd(),open:l,onOpenChange:v,onOpenToggle:Ue.useCallback(()=>v(i=>!i),[v]),modal:u,children:r})};cUe.displayName=y2e;var uUe="DialogTrigger",dUe=Ue.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=G1(uUe,r),m=co(t,o.triggerRef);return Oe.jsx(Zi.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":b2e(o.open),...n,ref:m,onClick:qa(e.onClick,o.onOpenToggle)})});dUe.displayName=uUe;var _2e="DialogPortal",[G8t,fUe]=sUe(_2e,{forceMount:void 0}),hUe=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,m=G1(_2e,t);return Oe.jsx(G8t,{scope:t,forceMount:r,children:Ue.Children.map(n,u=>Oe.jsx(Lu,{present:r||m.open,children:Oe.jsx(ZC,{asChild:!0,container:o,children:u})}))})};hUe.displayName=_2e;var kie="DialogOverlay",pUe=Ue.forwardRef((e,t)=>{const r=fUe(kie,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,m=G1(kie,e.__scopeDialog);return m.modal?Oe.jsx(Lu,{present:n||m.open,children:Oe.jsx(j8t,{...o,ref:t})}):null});pUe.displayName=kie;var j8t=Ue.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=G1(kie,r);return Oe.jsx(tk,{as:Lv,allowPinchZoom:!0,shards:[o.contentRef],children:Oe.jsx(Zi.div,{"data-state":b2e(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),FS="DialogContent",vUe=Ue.forwardRef((e,t)=>{const r=fUe(FS,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,m=G1(FS,e.__scopeDialog);return Oe.jsx(Lu,{present:n||m.open,children:m.modal?Oe.jsx(Y8t,{...o,ref:t}):Oe.jsx(W8t,{...o,ref:t})})});vUe.displayName=FS;var Y8t=Ue.forwardRef((e,t)=>{const r=G1(FS,e.__scopeDialog),n=Ue.useRef(null),o=co(t,r.contentRef,n);return Ue.useEffect(()=>{const m=n.current;if(m)return QC(m)},[]),Oe.jsx(mUe,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:qa(e.onCloseAutoFocus,m=>{var u;m.preventDefault(),(u=r.triggerRef.current)==null||u.focus()}),onPointerDownOutside:qa(e.onPointerDownOutside,m=>{const u=m.detail.originalEvent,h=u.button===0&&u.ctrlKey===!0;(u.button===2||h)&&m.preventDefault()}),onFocusOutside:qa(e.onFocusOutside,m=>m.preventDefault())})}),W8t=Ue.forwardRef((e,t)=>{const r=G1(FS,e.__scopeDialog),n=Ue.useRef(!1),o=Ue.useRef(!1);return Oe.jsx(mUe,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:m=>{var u,h;(u=e.onCloseAutoFocus)==null||u.call(e,m),m.defaultPrevented||(n.current||(h=r.triggerRef.current)==null||h.focus(),m.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:m=>{var a,l;(a=e.onInteractOutside)==null||a.call(e,m),m.defaultPrevented||(n.current=!0,m.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const u=m.target;((l=r.triggerRef.current)==null?void 0:l.contains(u))&&m.preventDefault(),m.detail.originalEvent.type==="focusin"&&o.current&&m.preventDefault()}})}),mUe=Ue.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:m,...u}=e,h=G1(FS,r),a=Ue.useRef(null),l=co(t,a);return cL(),Oe.jsxs(Oe.Fragment,{children:[Oe.jsx(jC,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:m,children:Oe.jsx(mx,{role:"dialog",id:h.contentId,"aria-describedby":h.descriptionId,"aria-labelledby":h.titleId,"data-state":b2e(h.open),...u,ref:l,onDismiss:()=>h.onOpenChange(!1)})}),Oe.jsxs(Oe.Fragment,{children:[Oe.jsx(X8t,{titleId:h.titleId}),Oe.jsx(Z8t,{contentRef:a,descriptionId:h.descriptionId})]})]})}),x2e="DialogTitle",gUe=Ue.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=G1(x2e,r);return Oe.jsx(Zi.h2,{id:o.titleId,...n,ref:t})});gUe.displayName=x2e;var yUe="DialogDescription",_Ue=Ue.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=G1(yUe,r);return Oe.jsx(Zi.p,{id:o.descriptionId,...n,ref:t})});_Ue.displayName=yUe;var xUe="DialogClose",bUe=Ue.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=G1(xUe,r);return Oe.jsx(Zi.button,{type:"button",...n,ref:t,onClick:qa(e.onClick,()=>o.onOpenChange(!1))})});bUe.displayName=xUe;function b2e(e){return e?"open":"closed"}var EUe="DialogTitleWarning",[K8t,SUe]=kpt(EUe,{contentName:FS,titleName:x2e,docsSlug:"dialog"}),X8t=({titleId:e})=>{const t=SUe(EUe),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return Ue.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},q8t="DialogDescriptionWarning",Z8t=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${SUe(q8t).contentName}}.`;return Ue.useEffect(()=>{var m;const o=(m=e.current)==null?void 0:m.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},E2e=cUe,S2e=dUe,w2e=hUe,rM=pUe,nM=vUe,aM=gUe,iM=_Ue,c5=bUe;const P2=E2e,wUe=S2e,T2e=w2e,Q8t=c5,Mie=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(rM,{ref:r,className:ga("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Mie.displayName=rM.displayName;const Lg=Ue.forwardRef(({className:e,children:t,...r},n)=>Oe.jsxs(T2e,{container:window.cl_shadowRootElement,children:[Oe.jsx(Mie,{}),Oe.jsxs(nM,{ref:n,className:ga("fixed left-[50%] top-[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=open]:animate-in data-[state=closed]:animate-out 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%] sm:rounded-lg",e),...r,children:[t,Oe.jsxs(c5,{className:"absolute right-4 top-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:[Oe.jsx(Uh,{className:"h-4 w-4"}),Oe.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Lg.displayName=nM.displayName;const BS=({className:e,...t})=>Oe.jsx("div",{className:ga("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});BS.displayName="DialogHeader";const oM=({className:e,...t})=>Oe.jsx("div",{className:ga("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});oM.displayName="DialogFooter";const zS=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(aM,{ref:r,className:ga("text-lg font-semibold leading-none tracking-tight",e),...t}));zS.displayName=aM.displayName;const Rie=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(iM,{ref:r,className:ga("text-sm text-muted-foreground",e),...t}));Rie.displayName=iM.displayName;const J8t=Object.freeze(Object.defineProperty({__proto__:null,Dialog:P2,DialogClose:Q8t,DialogContent:Lg,DialogDescription:Rie,DialogFooter:oM,DialogHeader:BS,DialogOverlay:Mie,DialogPortal:T2e,DialogTitle:zS,DialogTrigger:wUe},Symbol.toStringTag,{value:"Module"})),eRt=({className:e})=>Oe.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:e,children:Oe.jsx("path",{d:"M15.6729 3.91287C16.8918 2.69392 18.8682 2.69392 20.0871 3.91287C21.3061 5.13182 21.3061 7.10813 20.0871 8.32708L14.1499 14.2643C13.3849 15.0293 12.3925 15.5255 11.3215 15.6785L9.14142 15.9899C8.82983 16.0344 8.51546 15.9297 8.29289 15.7071C8.07033 15.4845 7.96554 15.1701 8.01005 14.8586L8.32149 12.6785C8.47449 11.6075 8.97072 10.615 9.7357 9.85006L15.6729 3.91287ZM18.6729 5.32708C18.235 4.88918 17.525 4.88918 17.0871 5.32708L11.1499 11.2643C10.6909 11.7233 10.3932 12.3187 10.3014 12.9613L10.1785 13.8215L11.0386 13.6986C11.6812 13.6068 12.2767 13.3091 12.7357 12.8501L18.6729 6.91287C19.1108 6.47497 19.1108 5.76499 18.6729 5.32708ZM11 3.99929C11.0004 4.55157 10.5531 4.99963 10.0008 5.00007C9.00227 5.00084 8.29769 5.00827 7.74651 5.06064C7.20685 5.11191 6.88488 5.20117 6.63803 5.32695C6.07354 5.61457 5.6146 6.07351 5.32698 6.63799C5.19279 6.90135 5.10062 7.24904 5.05118 7.8542C5.00078 8.47105 5 9.26336 5 10.4V13.6C5 14.7366 5.00078 15.5289 5.05118 16.1457C5.10062 16.7509 5.19279 17.0986 5.32698 17.3619C5.6146 17.9264 6.07354 18.3854 6.63803 18.673C6.90138 18.8072 7.24907 18.8993 7.85424 18.9488C8.47108 18.9992 9.26339 19 10.4 19H13.6C14.7366 19 15.5289 18.9992 16.1458 18.9488C16.7509 18.8993 17.0986 18.8072 17.362 18.673C17.9265 18.3854 18.3854 17.9264 18.673 17.3619C18.7988 17.1151 18.8881 16.7931 18.9393 16.2535C18.9917 15.7023 18.9991 14.9977 18.9999 13.9992C19.0003 13.4469 19.4484 12.9995 20.0007 13C20.553 13.0004 21.0003 13.4485 20.9999 14.0007C20.9991 14.9789 20.9932 15.7808 20.9304 16.4426C20.8664 17.116 20.7385 17.7136 20.455 18.2699C19.9757 19.2107 19.2108 19.9756 18.27 20.455C17.6777 20.7568 17.0375 20.8826 16.3086 20.9421C15.6008 21 14.7266 21 13.6428 21H10.3572C9.27339 21 8.39925 21 7.69138 20.9421C6.96253 20.8826 6.32234 20.7568 5.73005 20.455C4.78924 19.9756 4.02433 19.2107 3.54497 18.2699C3.24318 17.6776 3.11737 17.0374 3.05782 16.3086C2.99998 15.6007 2.99999 14.7266 3 13.6428V10.3572C2.99999 9.27337 2.99998 8.39922 3.05782 7.69134C3.11737 6.96249 3.24318 6.3223 3.54497 5.73001C4.02433 4.7892 4.78924 4.0243 5.73005 3.54493C6.28633 3.26149 6.88399 3.13358 7.55735 3.06961C8.21919 3.00673 9.02103 3.00083 9.99922 3.00007C10.5515 2.99964 10.9996 3.447 11 3.99929Z",fill:"currentColor"})}),TUe=({open:e,handleClose:t,handleConfirm:r})=>{const n=o=>{o.preventDefault(),o.key==="Enter"&&r()};return Oe.jsx(P2,{open:e,onOpenChange:t,children:Oe.jsxs(Lg,{id:"new-chat-dialog",className:"sm:max-w-md",onKeyDown:n,children:[Oe.jsxs(BS,{children:[Oe.jsx(zS,{children:Oe.jsx(Us,{path:"navigation.newChat.dialog.title"})}),Oe.jsx(Rie,{children:Oe.jsx(Us,{path:"navigation.newChat.dialog.description"})})]}),Oe.jsxs(oM,{className:"gap-2 sm:gap-0",children:[Oe.jsx(Ko,{variant:"outline",onClick:t,children:Oe.jsx(Us,{path:"common.actions.cancel"})}),Oe.jsx(Ko,{variant:"default",onClick:r,id:"confirm",children:Oe.jsx(Us,{path:"common.actions.confirm"})})]})]})})},tRt=({navigate:e,onConfirm:t,...r})=>{const[n,o]=Ue.useState(!1),{clear:m}=Rh(),u=()=>{o(!0)},h=()=>{o(!1)},a=()=>{t?t():(m(),e==null||e("/")),h()};return Oe.jsxs("div",{children:[Oe.jsx(Du,{children:Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsx(Ko,{variant:"ghost",size:"icon",id:"new-chat-button",className:"text-muted-foreground hover:text-muted-foreground",onClick:u,...r,children:Oe.jsx(eRt,{className:"!size-6"})})}),Oe.jsx(Ec,{children:Oe.jsx(Us,{path:"navigation.newChat.dialog.tooltip"})})]})}),Oe.jsx(TUe,{open:n,handleClose:h,handleConfirm:a})]})};function rRt({navigate:e}){var _,c,s;const t=Ue.useContext(vu),{config:r}=af(),{chatProfile:n,setChatProfile:o}=kw(),{firstInteraction:m}=Uy(),{clear:u}=Rh(),[h,a]=Ue.useState(null),[l,v]=Ue.useState(!1);if(!((_=r==null?void 0:r.chatProfiles)!=null&&_.length)||r.chatProfiles.length<=1)return null;Ue.useEffect(()=>{n||o(r.chatProfiles[0].name)},[n,r.chatProfiles,o]),Ue.useEffect(()=>{n&&(r.chatProfiles.some(f=>f.name===n)||o(r.chatProfiles[0].name))},[n,r.chatProfiles,o]);const i=()=>{v(!1),a(null),e==null||e("/")},S=d=>{o(d),a(null),u(),i()},g=(c=r==null?void 0:r.features)==null?void 0:c.unsafe_allow_html,p=(s=r==null?void 0:r.features)==null?void 0:s.latex;return Oe.jsxs("div",{className:"relative",children:[Oe.jsxs(Aie,{value:n||"",onValueChange:d=>{a(d),m?v(!0):S(d)},children:[Oe.jsx(eM,{id:"chat-profiles",className:"w-fit border-none bg-transparent text-muted-foreground font-semibold text-lg hover:bg-accent",children:Oe.jsx(Cie,{placeholder:"Select profile"})}),Oe.jsx(tM,{children:r.chatProfiles.map(d=>{var b;const f=(b=d.icon)!=null&&b.includes("/public")?t.buildEndpoint(d.icon):d.icon;return Oe.jsxs(xze,{openDelay:0,closeDelay:0,children:[Oe.jsx(bze,{asChild:!0,children:Oe.jsx(PS,{"data-test":`select-item:${d.name}`,value:d.name,className:"cursor-pointer",children:Oe.jsxs("div",{className:"flex items-center gap-2",children:[f&&Oe.jsx("img",{src:f,alt:d.display_name||d.name,className:"w-6 h-6 rounded-md object-cover"}),Oe.jsx("span",{children:d.display_name||d.name})]})})}),Oe.jsx(c2e,{side:"right",id:"chat-profile-description",align:"start",className:"w-80 overflow-visible",sideOffset:10,children:Oe.jsx(OS,{allowHtml:g,latex:p,children:d.markdown_description})})]},d.name)})})]}),Oe.jsx(TUe,{open:l,handleClose:i,handleConfirm:()=>h&&S(h)})]})}let Nie;const nRt=new Uint8Array(16);function aRt(){if(!Nie&&(Nie=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Nie))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Nie(nRt)}const Ld=[];for(let e=0;e<256;++e)Ld.push((e+256).toString(16).slice(1));function iRt(e,t=0){return(Ld[e[t+0]]+Ld[e[t+1]]+Ld[e[t+2]]+Ld[e[t+3]]+"-"+Ld[e[t+4]]+Ld[e[t+5]]+"-"+Ld[e[t+6]]+Ld[e[t+7]]+"-"+Ld[e[t+8]]+Ld[e[t+9]]+"-"+Ld[e[t+10]]+Ld[e[t+11]]+Ld[e[t+12]]+Ld[e[t+13]]+Ld[e[t+14]]+Ld[e[t+15]]).toLowerCase()}const AUe={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Iie(e,t,r){if(AUe.randomUUID&&!t&&!e)return AUe.randomUUID();e=e||{};const n=e.random||(e.rng||aRt)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,iRt(n)}const u5="chainlit-copilot-thread-id",A2e="chainlit-copilot-thread-changed",CUe=Is({key:"CopilotThreadId",default:"",effects:[({setSelf:e,onSet:t})=>{const r=localStorage.getItem(u5);if(r!=null)try{const n=JSON.parse(r);e(n)}catch{const o=Iie();localStorage.setItem(u5,JSON.stringify(o)),e(o)}else{const n=Iie();localStorage.setItem(u5,JSON.stringify(n)),e(n)}t((n,o,m)=>{m?localStorage.removeItem(u5):localStorage.setItem(u5,JSON.stringify(n))})}]}),kUe=()=>{const e=localStorage.getItem(u5);return e?JSON.parse(e):null},MUe=e=>{window.dispatchEvent(new CustomEvent(A2e,{detail:{newThreadId:e}}))},RUe=()=>{const e=Rh(),t=ss(CUe),r=Ue.useCallback(n=>{e.clear(),t(n||Iie())},[e,t]);return{...e,clear:r,startNewChat:r}},oRt=({expanded:e,setExpanded:t,projectConfig:r})=>{const{config:n}=r,{audioConnection:o}=GI(),{startNewChat:m}=RUe(),u=!!(n!=null&&n.chatProfiles.length);return Oe.jsxs("div",{className:"flex align-center justify-between p-4 pb-0",children:[Oe.jsx("div",{className:"flex items-center gap-1",children:u?Oe.jsx(rRt,{}):Oe.jsx(Vmt,{className:"w-[100px]"})}),Oe.jsxs("div",{className:"flex items-center",children:[o==="on"?Oe.jsx($Ne,{type:"server",height:20,width:40,barCount:4,barSpacing:2}):null,Oe.jsx(tRt,{className:"text-muted-foreground mt-[1.5px]",onConfirm:m}),Oe.jsx(Ko,{size:"icon",variant:"ghost",onClick:()=>t(!e),children:e?Oe.jsx(Hht,{className:"!size-5 text-muted-foreground"}):Oe.jsx(Uht,{className:"!size-5 text-muted-foreground"})})]})]})};var sRt=typeof Ns=="object"&&Ns&&Ns.Object===Object&&Ns,NUe=sRt,lRt=NUe,cRt=typeof self=="object"&&self&&self.Object===Object&&self,uRt=lRt||cRt||Function("return this")(),Og=uRt,dRt=Og,fRt=dRt.Symbol,Lie=fRt,IUe=Lie,LUe=Object.prototype,hRt=LUe.hasOwnProperty,pRt=LUe.toString,sM=IUe?IUe.toStringTag:void 0;function vRt(e){var t=hRt.call(e,sM),r=e[sM];try{e[sM]=void 0;var n=!0}catch{}var o=pRt.call(e);return n&&(t?e[sM]=r:delete e[sM]),o}var mRt=vRt,gRt=Object.prototype,yRt=gRt.toString;function _Rt(e){return yRt.call(e)}var xRt=_Rt,OUe=Lie,bRt=mRt,ERt=xRt,SRt="[object Null]",wRt="[object Undefined]",DUe=OUe?OUe.toStringTag:void 0;function TRt(e){return e==null?e===void 0?wRt:SRt:DUe&&DUe in Object(e)?bRt(e):ERt(e)}var lM=TRt;function ARt(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var C2e=ARt,CRt=lM,kRt=C2e,MRt="[object AsyncFunction]",RRt="[object Function]",NRt="[object GeneratorFunction]",IRt="[object Proxy]";function LRt(e){if(!kRt(e))return!1;var t=CRt(e);return t==RRt||t==NRt||t==MRt||t==IRt}var PUe=LRt,ORt=Og,DRt=ORt["__core-js_shared__"],PRt=DRt,k2e=PRt,FUe=function(){var e=/[^.]+$/.exec(k2e&&k2e.keys&&k2e.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function FRt(e){return!!FUe&&FUe in e}var BRt=FRt,zRt=Function.prototype,URt=zRt.toString;function $Rt(e){if(e!=null){try{return URt.call(e)}catch{}try{return e+""}catch{}}return""}var BUe=$Rt,HRt=PUe,VRt=BRt,GRt=C2e,jRt=BUe,YRt=/[\\^$.*+?()[\]{}|]/g,WRt=/^\[object .+?Constructor\]$/,KRt=Function.prototype,XRt=Object.prototype,qRt=KRt.toString,ZRt=XRt.hasOwnProperty,QRt=RegExp("^"+qRt.call(ZRt).replace(YRt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function JRt(e){if(!GRt(e)||VRt(e))return!1;var t=HRt(e)?QRt:WRt;return t.test(jRt(e))}var eNt=JRt;function tNt(e,t){return e==null?void 0:e[t]}var rNt=tNt,nNt=eNt,aNt=rNt;function iNt(e,t){var r=aNt(e,t);return nNt(r)?r:void 0}var US=iNt,oNt=US,sNt=function(){try{var e=oNt(Object,"defineProperty");return e({},"",{}),e}catch{}}(),lNt=sNt,zUe=lNt;function cNt(e,t,r){t=="__proto__"&&zUe?zUe(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var uNt=cNt;function dNt(e){return function(t,r,n){for(var o=-1,m=Object(t),u=n(t),h=u.length;h--;){var a=u[e?h:++o];if(r(m[a],a,m)===!1)break}return t}}var fNt=dNt,hNt=fNt,pNt=hNt(),vNt=pNt;function mNt(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var gNt=mNt;function yNt(e){return e!=null&&typeof e=="object"}var cM=yNt,_Nt=lM,xNt=cM,bNt="[object Arguments]";function ENt(e){return xNt(e)&&_Nt(e)==bNt}var SNt=ENt,UUe=SNt,wNt=cM,$Ue=Object.prototype,TNt=$Ue.hasOwnProperty,ANt=$Ue.propertyIsEnumerable,CNt=UUe(function(){return arguments}())?UUe:function(e){return wNt(e)&&TNt.call(e,"callee")&&!ANt.call(e,"callee")},HUe=CNt,kNt=Array.isArray,F2=kNt,Oie={exports:{}};function MNt(){return!1}var RNt=MNt;Oie.exports,function(e,t){var r=Og,n=RNt,o=t&&!t.nodeType&&t,m=o&&!0&&e&&!e.nodeType&&e,u=m&&m.exports===o,h=u?r.Buffer:void 0,a=h?h.isBuffer:void 0,l=a||n;e.exports=l}(Oie,Oie.exports);var VUe=Oie.exports,NNt=9007199254740991,INt=/^(?:0|[1-9]\d*)$/;function LNt(e,t){var r=typeof e;return t=t??NNt,!!t&&(r=="number"||r!="symbol"&&INt.test(e))&&e>-1&&e%1==0&&e<t}var GUe=LNt,ONt=9007199254740991;function DNt(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ONt}var M2e=DNt,PNt=lM,FNt=M2e,BNt=cM,zNt="[object Arguments]",UNt="[object Array]",$Nt="[object Boolean]",HNt="[object Date]",VNt="[object Error]",GNt="[object Function]",jNt="[object Map]",YNt="[object Number]",WNt="[object Object]",KNt="[object RegExp]",XNt="[object Set]",qNt="[object String]",ZNt="[object WeakMap]",QNt="[object ArrayBuffer]",JNt="[object DataView]",eIt="[object Float32Array]",tIt="[object Float64Array]",rIt="[object Int8Array]",nIt="[object Int16Array]",aIt="[object Int32Array]",iIt="[object Uint8Array]",oIt="[object Uint8ClampedArray]",sIt="[object Uint16Array]",lIt="[object Uint32Array]",Vl={};Vl[eIt]=Vl[tIt]=Vl[rIt]=Vl[nIt]=Vl[aIt]=Vl[iIt]=Vl[oIt]=Vl[sIt]=Vl[lIt]=!0,Vl[zNt]=Vl[UNt]=Vl[QNt]=Vl[$Nt]=Vl[JNt]=Vl[HNt]=Vl[VNt]=Vl[GNt]=Vl[jNt]=Vl[YNt]=Vl[WNt]=Vl[KNt]=Vl[XNt]=Vl[qNt]=Vl[ZNt]=!1;function cIt(e){return BNt(e)&&FNt(e.length)&&!!Vl[PNt(e)]}var uIt=cIt;function dIt(e){return function(t){return e(t)}}var fIt=dIt,Die={exports:{}};Die.exports,function(e,t){var r=NUe,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,m=o&&o.exports===n,u=m&&r.process,h=function(){try{var a=o&&o.require&&o.require("util").types;return a||u&&u.binding&&u.binding("util")}catch{}}();e.exports=h}(Die,Die.exports);var hIt=Die.exports,pIt=uIt,vIt=fIt,jUe=hIt,YUe=jUe&&jUe.isTypedArray,mIt=YUe?vIt(YUe):pIt,WUe=mIt,gIt=gNt,yIt=HUe,_It=F2,xIt=VUe,bIt=GUe,EIt=WUe,SIt=Object.prototype,wIt=SIt.hasOwnProperty;function TIt(e,t){var r=_It(e),n=!r&&yIt(e),o=!r&&!n&&xIt(e),m=!r&&!n&&!o&&EIt(e),u=r||n||o||m,h=u?gIt(e.length,String):[],a=h.length;for(var l in e)(t||wIt.call(e,l))&&!(u&&(l=="length"||o&&(l=="offset"||l=="parent")||m&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||bIt(l,a)))&&h.push(l);return h}var AIt=TIt,CIt=Object.prototype;function kIt(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||CIt;return e===r}var MIt=kIt;function RIt(e,t){return function(r){return e(t(r))}}var NIt=RIt,IIt=NIt,LIt=IIt(Object.keys,Object),OIt=LIt,DIt=MIt,PIt=OIt,FIt=Object.prototype,BIt=FIt.hasOwnProperty;function zIt(e){if(!DIt(e))return PIt(e);var t=[];for(var r in Object(e))BIt.call(e,r)&&r!="constructor"&&t.push(r);return t}var UIt=zIt,$It=PUe,HIt=M2e;function VIt(e){return e!=null&&HIt(e.length)&&!$It(e)}var GIt=VIt,jIt=AIt,YIt=UIt,WIt=GIt;function KIt(e){return WIt(e)?jIt(e):YIt(e)}var R2e=KIt,XIt=vNt,qIt=R2e;function ZIt(e,t){return e&&XIt(e,t,qIt)}var QIt=ZIt;function JIt(){this.__data__=[],this.size=0}var e7t=JIt;function t7t(e,t){return e===t||e!==e&&t!==t}var KUe=t7t,r7t=KUe;function n7t(e,t){for(var r=e.length;r--;)if(r7t(e[r][0],t))return r;return-1}var Pie=n7t,a7t=Pie,i7t=Array.prototype,o7t=i7t.splice;function s7t(e){var t=this.__data__,r=a7t(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():o7t.call(t,r,1),--this.size,!0}var l7t=s7t,c7t=Pie;function u7t(e){var t=this.__data__,r=c7t(t,e);return r<0?void 0:t[r][1]}var d7t=u7t,f7t=Pie;function h7t(e){return f7t(this.__data__,e)>-1}var p7t=h7t,v7t=Pie;function m7t(e,t){var r=this.__data__,n=v7t(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var g7t=m7t,y7t=e7t,_7t=l7t,x7t=d7t,b7t=p7t,E7t=g7t;function d5(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}d5.prototype.clear=y7t,d5.prototype.delete=_7t,d5.prototype.get=x7t,d5.prototype.has=b7t,d5.prototype.set=E7t;var Fie=d5,S7t=Fie;function w7t(){this.__data__=new S7t,this.size=0}var T7t=w7t;function A7t(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var C7t=A7t;function k7t(e){return this.__data__.get(e)}var M7t=k7t;function R7t(e){return this.__data__.has(e)}var N7t=R7t,I7t=US,L7t=Og,O7t=I7t(L7t,"Map"),N2e=O7t,D7t=US,P7t=D7t(Object,"create"),Bie=P7t,XUe=Bie;function F7t(){this.__data__=XUe?XUe(null):{},this.size=0}var B7t=F7t;function z7t(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var U7t=z7t,$7t=Bie,H7t="__lodash_hash_undefined__",V7t=Object.prototype,G7t=V7t.hasOwnProperty;function j7t(e){var t=this.__data__;if($7t){var r=t[e];return r===H7t?void 0:r}return G7t.call(t,e)?t[e]:void 0}var Y7t=j7t,W7t=Bie,K7t=Object.prototype,X7t=K7t.hasOwnProperty;function q7t(e){var t=this.__data__;return W7t?t[e]!==void 0:X7t.call(t,e)}var Z7t=q7t,Q7t=Bie,J7t="__lodash_hash_undefined__";function eLt(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Q7t&&t===void 0?J7t:t,this}var tLt=eLt,rLt=B7t,nLt=U7t,aLt=Y7t,iLt=Z7t,oLt=tLt;function f5(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}f5.prototype.clear=rLt,f5.prototype.delete=nLt,f5.prototype.get=aLt,f5.prototype.has=iLt,f5.prototype.set=oLt;var sLt=f5,qUe=sLt,lLt=Fie,cLt=N2e;function uLt(){this.size=0,this.__data__={hash:new qUe,map:new(cLt||lLt),string:new qUe}}var dLt=uLt;function fLt(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var hLt=fLt,pLt=hLt;function vLt(e,t){var r=e.__data__;return pLt(t)?r[typeof t=="string"?"string":"hash"]:r.map}var zie=vLt,mLt=zie;function gLt(e){var t=mLt(this,e).delete(e);return this.size-=t?1:0,t}var yLt=gLt,_Lt=zie;function xLt(e){return _Lt(this,e).get(e)}var bLt=xLt,ELt=zie;function SLt(e){return ELt(this,e).has(e)}var wLt=SLt,TLt=zie;function ALt(e,t){var r=TLt(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var CLt=ALt,kLt=dLt,MLt=yLt,RLt=bLt,NLt=wLt,ILt=CLt;function h5(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}h5.prototype.clear=kLt,h5.prototype.delete=MLt,h5.prototype.get=RLt,h5.prototype.has=NLt,h5.prototype.set=ILt;var I2e=h5,LLt=Fie,OLt=N2e,DLt=I2e,PLt=200;function FLt(e,t){var r=this.__data__;if(r instanceof LLt){var n=r.__data__;if(!OLt||n.length<PLt-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new DLt(n)}return r.set(e,t),this.size=r.size,this}var BLt=FLt,zLt=Fie,ULt=T7t,$Lt=C7t,HLt=M7t,VLt=N7t,GLt=BLt;function p5(e){var t=this.__data__=new zLt(e);this.size=t.size}p5.prototype.clear=ULt,p5.prototype.delete=$Lt,p5.prototype.get=HLt,p5.prototype.has=VLt,p5.prototype.set=GLt;var ZUe=p5,jLt="__lodash_hash_undefined__";function YLt(e){return this.__data__.set(e,jLt),this}var WLt=YLt;function KLt(e){return this.__data__.has(e)}var XLt=KLt,qLt=I2e,ZLt=WLt,QLt=XLt;function Uie(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new qLt;++t<r;)this.add(e[t])}Uie.prototype.add=Uie.prototype.push=ZLt,Uie.prototype.has=QLt;var JLt=Uie;function e9t(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var t9t=e9t;function r9t(e,t){return e.has(t)}var n9t=r9t,a9t=JLt,i9t=t9t,o9t=n9t,s9t=1,l9t=2;function c9t(e,t,r,n,o,m){var u=r&s9t,h=e.length,a=t.length;if(h!=a&&!(u&&a>h))return!1;var l=m.get(e),v=m.get(t);if(l&&v)return l==t&&v==e;var i=-1,S=!0,g=r&l9t?new a9t:void 0;for(m.set(e,t),m.set(t,e);++i<h;){var p=e[i],_=t[i];if(n)var c=u?n(_,p,i,t,e,m):n(p,_,i,e,t,m);if(c!==void 0){if(c)continue;S=!1;break}if(g){if(!i9t(t,function(s,d){if(!o9t(g,d)&&(p===s||o(p,s,r,n,m)))return g.push(d)})){S=!1;break}}else if(!(p===_||o(p,_,r,n,m))){S=!1;break}}return m.delete(e),m.delete(t),S}var QUe=c9t,u9t=Og,d9t=u9t.Uint8Array,f9t=d9t;function h9t(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}var p9t=h9t;function v9t(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var m9t=v9t,JUe=Lie,e$e=f9t,g9t=KUe,y9t=QUe,_9t=p9t,x9t=m9t,b9t=1,E9t=2,S9t="[object Boolean]",w9t="[object Date]",T9t="[object Error]",A9t="[object Map]",C9t="[object Number]",k9t="[object RegExp]",M9t="[object Set]",R9t="[object String]",N9t="[object Symbol]",I9t="[object ArrayBuffer]",L9t="[object DataView]",t$e=JUe?JUe.prototype:void 0,L2e=t$e?t$e.valueOf:void 0;function O9t(e,t,r,n,o,m,u){switch(r){case L9t:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case I9t:return!(e.byteLength!=t.byteLength||!m(new e$e(e),new e$e(t)));case S9t:case w9t:case C9t:return g9t(+e,+t);case T9t:return e.name==t.name&&e.message==t.message;case k9t:case R9t:return e==t+"";case A9t:var h=_9t;case M9t:var a=n&b9t;if(h||(h=x9t),e.size!=t.size&&!a)return!1;var l=u.get(e);if(l)return l==t;n|=E9t,u.set(e,t);var v=y9t(h(e),h(t),n,o,m,u);return u.delete(e),v;case N9t:if(L2e)return L2e.call(e)==L2e.call(t)}return!1}var D9t=O9t;function P9t(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var F9t=P9t,B9t=F9t,z9t=F2;function U9t(e,t,r){var n=t(e);return z9t(e)?n:B9t(n,r(e))}var $9t=U9t;function H9t(e,t){for(var r=-1,n=e==null?0:e.length,o=0,m=[];++r<n;){var u=e[r];t(u,r,e)&&(m[o++]=u)}return m}var V9t=H9t;function G9t(){return[]}var j9t=G9t,Y9t=V9t,W9t=j9t,K9t=Object.prototype,X9t=K9t.propertyIsEnumerable,r$e=Object.getOwnPropertySymbols,q9t=r$e?function(e){return e==null?[]:(e=Object(e),Y9t(r$e(e),function(t){return X9t.call(e,t)}))}:W9t,Z9t=q9t,Q9t=$9t,J9t=Z9t,eOt=R2e;function tOt(e){return Q9t(e,eOt,J9t)}var rOt=tOt,n$e=rOt,nOt=1,aOt=Object.prototype,iOt=aOt.hasOwnProperty;function oOt(e,t,r,n,o,m){var u=r&nOt,h=n$e(e),a=h.length,l=n$e(t),v=l.length;if(a!=v&&!u)return!1;for(var i=a;i--;){var S=h[i];if(!(u?S in t:iOt.call(t,S)))return!1}var g=m.get(e),p=m.get(t);if(g&&p)return g==t&&p==e;var _=!0;m.set(e,t),m.set(t,e);for(var c=u;++i<a;){S=h[i];var s=e[S],d=t[S];if(n)var f=u?n(d,s,S,t,e,m):n(s,d,S,e,t,m);if(!(f===void 0?s===d||o(s,d,r,n,m):f)){_=!1;break}c||(c=S=="constructor")}if(_&&!c){var b=e.constructor,x=t.constructor;b!=x&&"constructor"in e&&"constructor"in t&&!(typeof b=="function"&&b instanceof b&&typeof x=="function"&&x instanceof x)&&(_=!1)}return m.delete(e),m.delete(t),_}var sOt=oOt,lOt=US,cOt=Og,uOt=lOt(cOt,"DataView"),dOt=uOt,fOt=US,hOt=Og,pOt=fOt(hOt,"Promise"),vOt=pOt,mOt=US,gOt=Og,yOt=mOt(gOt,"Set"),_Ot=yOt,xOt=US,bOt=Og,EOt=xOt(bOt,"WeakMap"),SOt=EOt,O2e=dOt,D2e=N2e,P2e=vOt,F2e=_Ot,B2e=SOt,a$e=lM,v5=BUe,i$e="[object Map]",wOt="[object Object]",o$e="[object Promise]",s$e="[object Set]",l$e="[object WeakMap]",c$e="[object DataView]",TOt=v5(O2e),AOt=v5(D2e),COt=v5(P2e),kOt=v5(F2e),MOt=v5(B2e),$S=a$e;(O2e&&$S(new O2e(new ArrayBuffer(1)))!=c$e||D2e&&$S(new D2e)!=i$e||P2e&&$S(P2e.resolve())!=o$e||F2e&&$S(new F2e)!=s$e||B2e&&$S(new B2e)!=l$e)&&($S=function(e){var t=a$e(e),r=t==wOt?e.constructor:void 0,n=r?v5(r):"";if(n)switch(n){case TOt:return c$e;case AOt:return i$e;case COt:return o$e;case kOt:return s$e;case MOt:return l$e}return t});var ROt=$S,z2e=ZUe,NOt=QUe,IOt=D9t,LOt=sOt,u$e=ROt,d$e=F2,f$e=VUe,OOt=WUe,DOt=1,h$e="[object Arguments]",p$e="[object Array]",$ie="[object Object]",POt=Object.prototype,v$e=POt.hasOwnProperty;function FOt(e,t,r,n,o,m){var u=d$e(e),h=d$e(t),a=u?p$e:u$e(e),l=h?p$e:u$e(t);a=a==h$e?$ie:a,l=l==h$e?$ie:l;var v=a==$ie,i=l==$ie,S=a==l;if(S&&f$e(e)){if(!f$e(t))return!1;u=!0,v=!1}if(S&&!v)return m||(m=new z2e),u||OOt(e)?NOt(e,t,r,n,o,m):IOt(e,t,a,r,n,o,m);if(!(r&DOt)){var g=v&&v$e.call(e,"__wrapped__"),p=i&&v$e.call(t,"__wrapped__");if(g||p){var _=g?e.value():e,c=p?t.value():t;return m||(m=new z2e),o(_,c,r,n,m)}}return S?(m||(m=new z2e),LOt(e,t,r,n,o,m)):!1}var BOt=FOt,zOt=BOt,m$e=cM;function g$e(e,t,r,n,o){return e===t?!0:e==null||t==null||!m$e(e)&&!m$e(t)?e!==e&&t!==t:zOt(e,t,r,n,g$e,o)}var y$e=g$e,UOt=ZUe,$Ot=y$e,HOt=1,VOt=2;function GOt(e,t,r,n){var o=r.length,m=o,u=!n;if(e==null)return!m;for(e=Object(e);o--;){var h=r[o];if(u&&h[2]?h[1]!==e[h[0]]:!(h[0]in e))return!1}for(;++o<m;){h=r[o];var a=h[0],l=e[a],v=h[1];if(u&&h[2]){if(l===void 0&&!(a in e))return!1}else{var i=new UOt;if(n)var S=n(l,v,a,e,t,i);if(!(S===void 0?$Ot(v,l,HOt|VOt,n,i):S))return!1}}return!0}var jOt=GOt,YOt=C2e;function WOt(e){return e===e&&!YOt(e)}var _$e=WOt,KOt=_$e,XOt=R2e;function qOt(e){for(var t=XOt(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,KOt(o)]}return t}var ZOt=qOt;function QOt(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}var x$e=QOt,JOt=jOt,eDt=ZOt,tDt=x$e;function rDt(e){var t=eDt(e);return t.length==1&&t[0][2]?tDt(t[0][0],t[0][1]):function(r){return r===e||JOt(r,e,t)}}var nDt=rDt,aDt=lM,iDt=cM,oDt="[object Symbol]";function sDt(e){return typeof e=="symbol"||iDt(e)&&aDt(e)==oDt}var U2e=sDt,lDt=F2,cDt=U2e,uDt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,dDt=/^\w*$/;function fDt(e,t){if(lDt(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||cDt(e)?!0:dDt.test(e)||!uDt.test(e)||t!=null&&e in Object(t)}var $2e=fDt,b$e=I2e,hDt="Expected a function";function H2e(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(hDt);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],m=r.cache;if(m.has(o))return m.get(o);var u=e.apply(this,n);return r.cache=m.set(o,u)||m,u};return r.cache=new(H2e.Cache||b$e),r}H2e.Cache=b$e;var pDt=H2e,vDt=pDt,mDt=500;function gDt(e){var t=vDt(e,function(n){return r.size===mDt&&r.clear(),n}),r=t.cache;return t}var yDt=gDt,_Dt=yDt,xDt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bDt=/\\(\\)?/g,EDt=_Dt(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(xDt,function(r,n,o,m){t.push(o?m.replace(bDt,"$1"):n||r)}),t}),SDt=EDt;function wDt(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}var TDt=wDt,E$e=Lie,ADt=TDt,CDt=F2,kDt=U2e,MDt=1/0,S$e=E$e?E$e.prototype:void 0,w$e=S$e?S$e.toString:void 0;function T$e(e){if(typeof e=="string")return e;if(CDt(e))return ADt(e,T$e)+"";if(kDt(e))return w$e?w$e.call(e):"";var t=e+"";return t=="0"&&1/e==-MDt?"-0":t}var RDt=T$e,NDt=RDt;function IDt(e){return e==null?"":NDt(e)}var LDt=IDt,ODt=F2,DDt=$2e,PDt=SDt,FDt=LDt;function BDt(e,t){return ODt(e)?e:DDt(e,t)?[e]:PDt(FDt(e))}var A$e=BDt,zDt=U2e,UDt=1/0;function $Dt(e){if(typeof e=="string"||zDt(e))return e;var t=e+"";return t=="0"&&1/e==-UDt?"-0":t}var Hie=$Dt,HDt=A$e,VDt=Hie;function GDt(e,t){t=HDt(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[VDt(t[r++])];return r&&r==n?e:void 0}var C$e=GDt,jDt=C$e;function YDt(e,t,r){var n=e==null?void 0:jDt(e,t);return n===void 0?r:n}var WDt=YDt;function KDt(e,t){return e!=null&&t in Object(e)}var XDt=KDt,qDt=A$e,ZDt=HUe,QDt=F2,JDt=GUe,ePt=M2e,tPt=Hie;function rPt(e,t,r){t=qDt(t,e);for(var n=-1,o=t.length,m=!1;++n<o;){var u=tPt(t[n]);if(!(m=e!=null&&r(e,u)))break;e=e[u]}return m||++n!=o?m:(o=e==null?0:e.length,!!o&&ePt(o)&&JDt(u,o)&&(QDt(e)||ZDt(e)))}var nPt=rPt,aPt=XDt,iPt=nPt;function oPt(e,t){return e!=null&&iPt(e,t,aPt)}var sPt=oPt,lPt=y$e,cPt=WDt,uPt=sPt,dPt=$2e,fPt=_$e,hPt=x$e,pPt=Hie,vPt=1,mPt=2;function gPt(e,t){return dPt(e)&&fPt(t)?hPt(pPt(e),t):function(r){var n=cPt(r,e);return n===void 0&&n===t?uPt(r,e):lPt(t,n,vPt|mPt)}}var yPt=gPt;function _Pt(e){return e}var xPt=_Pt;function bPt(e){return function(t){return t==null?void 0:t[e]}}var EPt=bPt,SPt=C$e;function wPt(e){return function(t){return SPt(t,e)}}var TPt=wPt,APt=EPt,CPt=TPt,kPt=$2e,MPt=Hie;function RPt(e){return kPt(e)?APt(MPt(e)):CPt(e)}var NPt=RPt,IPt=nDt,LPt=yPt,OPt=xPt,DPt=F2,PPt=NPt;function FPt(e){return typeof e=="function"?e:e==null?OPt:typeof e=="object"?DPt(e)?LPt(e[0],e[1]):IPt(e):PPt(e)}var BPt=FPt,zPt=uNt,UPt=QIt,$Pt=BPt;function HPt(e,t){var r={};return t=$Pt(t),UPt(e,function(n,o,m){zPt(r,o,t(n,o,m))}),r}var VPt=HPt;const GPt=ec(VPt);var uM=e=>e.type==="checkbox",HS=e=>e instanceof Date,Wf=e=>e==null;const V2e=e=>typeof e=="object";var eu=e=>!Wf(e)&&!Array.isArray(e)&&V2e(e)&&!HS(e),k$e=e=>eu(e)&&e.target?uM(e.target)?e.target.checked:e.target.value:e,jPt=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,M$e=(e,t)=>e.has(jPt(t)),YPt=e=>{const t=e.constructor&&e.constructor.prototype;return eu(t)&&t.hasOwnProperty("isPrototypeOf")},G2e=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Pu(e){let t;const r=Array.isArray(e),n=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(G2e&&(e instanceof Blob||n))&&(r||eu(e)))if(t=r?[]:{},!r&&!YPt(e))t=e;else for(const o in e)e.hasOwnProperty(o)&&(t[o]=Pu(e[o]));else return e;return t}var dM=e=>Array.isArray(e)?e.filter(Boolean):[],Gl=e=>e===void 0,ki=(e,t,r)=>{if(!t||!eu(e))return r;const n=dM(t.split(/[,[\].]+?/)).reduce((o,m)=>Wf(o)?o:o[m],e);return Gl(n)||n===e?Gl(e[t])?r:e[t]:n},j0=e=>typeof e=="boolean",j2e=e=>/^\w*$/.test(e),R$e=e=>dM(e.replace(/["|']|\]/g,"").split(/\.|\[/)),nl=(e,t,r)=>{let n=-1;const o=j2e(t)?[t]:R$e(t),m=o.length,u=m-1;for(;++n<m;){const h=o[n];let a=r;if(n!==u){const l=e[h];a=eu(l)||Array.isArray(l)?l:isNaN(+o[n+1])?{}:[]}if(h==="__proto__"||h==="constructor"||h==="prototype")return;e[h]=a,e=e[h]}return e};const Vie={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Y0={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Dg={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},N$e=wn.createContext(null),VS=()=>wn.useContext(N$e),I$e=e=>{const{children:t,...r}=e;return wn.createElement(N$e.Provider,{value:r},t)};var L$e=(e,t,r,n=!0)=>{const o={defaultValues:t._defaultValues};for(const m in e)Object.defineProperty(o,m,{get:()=>{const u=m;return t._proxyFormState[u]!==Y0.all&&(t._proxyFormState[u]=!n||Y0.all),r&&(r[u]=!0),e[u]}});return o},Kf=e=>eu(e)&&!Object.keys(e).length,O$e=(e,t,r,n)=>{r(e);const{name:o,...m}=e;return Kf(m)||Object.keys(m).length>=Object.keys(t).length||Object.keys(m).find(u=>t[u]===(!n||Y0.all))},$h=e=>Array.isArray(e)?e:[e],D$e=(e,t,r)=>!e||!t||e===t||$h(e).some(n=>n&&(r?n===t:n.startsWith(t)||t.startsWith(n)));function Gie(e){const t=wn.useRef(e);t.current=e,wn.useEffect(()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}function P$e(e){const t=VS(),{control:r=t.control,disabled:n,name:o,exact:m}=e||{},[u,h]=wn.useState(r._formState),a=wn.useRef(!0),l=wn.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),v=wn.useRef(o);return v.current=o,Gie({disabled:n,next:i=>a.current&&D$e(v.current,i.name,m)&&O$e(i,l.current,r._updateFormState)&&h({...r._formState,...i}),subject:r._subjects.state}),wn.useEffect(()=>(a.current=!0,l.current.isValid&&r._updateValid(!0),()=>{a.current=!1}),[r]),wn.useMemo(()=>L$e(u,r,l.current,!1),[u,r])}var lm=e=>typeof e=="string",F$e=(e,t,r,n,o)=>lm(e)?(n&&t.watch.add(e),ki(r,e,o)):Array.isArray(e)?e.map(m=>(n&&t.watch.add(m),ki(r,m))):(n&&(t.watchAll=!0),r);function B$e(e){const t=VS(),{control:r=t.control,name:n,defaultValue:o,disabled:m,exact:u}=e||{},h=wn.useRef(n);h.current=n,Gie({disabled:m,subject:r._subjects.values,next:v=>{D$e(h.current,v.name,u)&&l(Pu(F$e(h.current,r._names,v.values||r._formValues,!1,o)))}});const[a,l]=wn.useState(r._getWatch(n,o));return wn.useEffect(()=>r._removeUnmounted()),a}function z$e(e){const t=VS(),{name:r,disabled:n,control:o=t.control,shouldUnregister:m}=e,u=M$e(o._names.array,r),h=B$e({control:o,name:r,defaultValue:ki(o._formValues,r,ki(o._defaultValues,r,e.defaultValue)),exact:!0}),a=P$e({control:o,name:r,exact:!0}),l=wn.useRef(o.register(r,{...e.rules,value:h,...j0(e.disabled)?{disabled:e.disabled}:{}})),v=wn.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!ki(a.errors,r)},isDirty:{enumerable:!0,get:()=>!!ki(a.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!ki(a.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!ki(a.validatingFields,r)},error:{enumerable:!0,get:()=>ki(a.errors,r)}}),[a,r]),i=wn.useMemo(()=>({name:r,value:h,...j0(n)||a.disabled?{disabled:a.disabled||n}:{},onChange:S=>l.current.onChange({target:{value:k$e(S),name:r},type:Vie.CHANGE}),onBlur:()=>l.current.onBlur({target:{value:ki(o._formValues,r),name:r},type:Vie.BLUR}),ref:S=>{const g=ki(o._fields,r);g&&S&&(g._f.ref={focus:()=>S.focus(),select:()=>S.select(),setCustomValidity:p=>S.setCustomValidity(p),reportValidity:()=>S.reportValidity()})}}),[r,o._formValues,n,a.disabled,h,o._fields]);return wn.useEffect(()=>{const S=o._options.shouldUnregister||m,g=(p,_)=>{const c=ki(o._fields,p);c&&c._f&&(c._f.mount=_)};if(g(r,!0),S){const p=Pu(ki(o._options.defaultValues,r));nl(o._defaultValues,r,p),Gl(ki(o._formValues,r))&&nl(o._formValues,r,p)}return!u&&o.register(r),()=>{(u?S&&!o._state.action:S)?o.unregister(r):g(r,!1)}},[r,o,u,m]),wn.useEffect(()=>{o._updateDisabledField({disabled:n,fields:o._fields,name:r})},[n,r,o]),wn.useMemo(()=>({field:i,formState:a,fieldState:v}),[i,a,v])}const U$e=e=>e.render(z$e(e)),$$e=e=>{const t={};for(const r of Object.keys(e))if(V2e(e[r])&&e[r]!==null){const n=$$e(e[r]);for(const o of Object.keys(n))t[`${r}.${o}`]=n[o]}else t[r]=e[r];return t},WPt="post";function KPt(e){const t=VS(),[r,n]=wn.useState(!1),{control:o=t.control,onSubmit:m,children:u,action:h,method:a=WPt,headers:l,encType:v,onError:i,render:S,onSuccess:g,validateStatus:p,..._}=e,c=async s=>{let d=!1,f="";await o.handleSubmit(async b=>{const x=new FormData;let y="";try{y=JSON.stringify(b)}catch{}const C=$$e(o._formValues);for(const w in C)x.append(w,C[w]);if(m&&await m({data:b,event:s,method:a,formData:x,formDataJson:y}),h)try{const w=[l&&l["Content-Type"],v].some(A=>A&&A.includes("json")),R=await fetch(String(h),{method:a,headers:{...l,...v?{"Content-Type":v}:{}},body:w?y:x});R&&(p?!p(R.status):R.status<200||R.status>=300)?(d=!0,i&&i({response:R}),f=String(R.status)):g&&g({response:R})}catch(w){d=!0,i&&i({error:w})}})(s),d&&e.control&&(e.control._subjects.state.next({isSubmitSuccessful:!1}),e.control.setError("root.server",{type:f}))};return wn.useEffect(()=>{n(!0)},[]),S?wn.createElement(wn.Fragment,null,S({submit:c})):wn.createElement("form",{noValidate:r,action:h,method:a,encType:v,onSubmit:c,..._},u)}var H$e=(e,t,r,n,o)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:o||!0}}:{},B2=()=>{const e=typeof performance>"u"?Date.now():performance.now()*1e3;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const r=(Math.random()*16+e)%16|0;return(t=="x"?r:r&3|8).toString(16)})},Y2e=(e,t,r={})=>r.shouldFocus||Gl(r.shouldFocus)?r.focusName||`${e}.${Gl(r.focusIndex)?t:r.focusIndex}.`:"",fM=e=>({isOnSubmit:!e||e===Y0.onSubmit,isOnBlur:e===Y0.onBlur,isOnChange:e===Y0.onChange,isOnAll:e===Y0.all,isOnTouch:e===Y0.onTouched}),W2e=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(n=>e.startsWith(n)&&/^\.\w+/.test(e.slice(n.length))));const m5=(e,t,r,n)=>{for(const o of r||Object.keys(e)){const m=ki(e,o);if(m){const{_f:u,...h}=m;if(u){if(u.refs&&u.refs[0]&&t(u.refs[0],o)&&!n)return!0;if(u.ref&&t(u.ref,u.name)&&!n)return!0;if(m5(h,t))break}else if(eu(h)&&m5(h,t))break}}};var V$e=(e,t,r)=>{const n=$h(ki(e,r));return nl(n,"root",t[r]),nl(e,r,n),e},K2e=e=>e.type==="file",cm=e=>typeof e=="function",jie=e=>{if(!G2e)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Yie=e=>lm(e),X2e=e=>e.type==="radio",Wie=e=>e instanceof RegExp;const G$e={value:!1,isValid:!1},j$e={value:!0,isValid:!0};var Y$e=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Gl(e[0].attributes.value)?Gl(e[0].value)||e[0].value===""?j$e:{value:e[0].value,isValid:!0}:j$e:G$e}return G$e};const W$e={isValid:!1,value:null};var K$e=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,W$e):W$e;function X$e(e,t,r="validate"){if(Yie(e)||Array.isArray(e)&&e.every(Yie)||j0(e)&&!e)return{type:r,message:Yie(e)?e:"",ref:t}}var g5=e=>eu(e)&&!Wie(e)?e:{value:e,message:""},q2e=async(e,t,r,n,o,m)=>{const{ref:u,refs:h,required:a,maxLength:l,minLength:v,min:i,max:S,pattern:g,validate:p,name:_,valueAsNumber:c,mount:s}=e._f,d=ki(r,_);if(!s||t.has(_))return{};const f=h?h[0]:u,b=k=>{o&&f.reportValidity&&(f.setCustomValidity(j0(k)?"":k||""),f.reportValidity())},x={},y=X2e(u),C=uM(u),w=y||C,R=(c||K2e(u))&&Gl(u.value)&&Gl(d)||jie(u)&&u.value===""||d===""||Array.isArray(d)&&!d.length,A=H$e.bind(null,_,n,x),E=(k,L,I,P=Dg.maxLength,M=Dg.minLength)=>{const F=k?L:I;x[_]={type:k?P:M,message:F,ref:u,...A(k?P:M,F)}};if(m?!Array.isArray(d)||!d.length:a&&(!w&&(R||Wf(d))||j0(d)&&!d||C&&!Y$e(h).isValid||y&&!K$e(h).isValid)){const{value:k,message:L}=Yie(a)?{value:!!a,message:a}:g5(a);if(k&&(x[_]={type:Dg.required,message:L,ref:f,...A(Dg.required,L)},!n))return b(L),x}if(!R&&(!Wf(i)||!Wf(S))){let k,L;const I=g5(S),P=g5(i);if(!Wf(d)&&!isNaN(d)){const M=u.valueAsNumber||d&&+d;Wf(I.value)||(k=M>I.value),Wf(P.value)||(L=M<P.value)}else{const M=u.valueAsDate||new Date(d),F=D=>new Date(new Date().toDateString()+" "+D),N=u.type=="time",T=u.type=="week";lm(I.value)&&d&&(k=N?F(d)>F(I.value):T?d>I.value:M>new Date(I.value)),lm(P.value)&&d&&(L=N?F(d)<F(P.value):T?d<P.value:M<new Date(P.value))}if((k||L)&&(E(!!k,I.message,P.message,Dg.max,Dg.min),!n))return b(x[_].message),x}if((l||v)&&!R&&(lm(d)||m&&Array.isArray(d))){const k=g5(l),L=g5(v),I=!Wf(k.value)&&d.length>+k.value,P=!Wf(L.value)&&d.length<+L.value;if((I||P)&&(E(I,k.message,L.message),!n))return b(x[_].message),x}if(g&&!R&&lm(d)){const{value:k,message:L}=g5(g);if(Wie(k)&&!d.match(k)&&(x[_]={type:Dg.pattern,message:L,ref:u,...A(Dg.pattern,L)},!n))return b(L),x}if(p){if(cm(p)){const k=await p(d,r),L=X$e(k,f);if(L&&(x[_]={...L,...A(Dg.validate,L.message)},!n))return b(L.message),x}else if(eu(p)){let k={};for(const L in p){if(!Kf(k)&&!n)break;const I=X$e(await p[L](d,r),f,L);I&&(k={...I,...A(L,I.message)},b(I.message),n&&(x[_]=k))}if(!Kf(k)&&(x[_]={ref:f,...k},!n))return x}}return b(!0),x},Z2e=(e,t)=>[...e,...$h(t)],Q2e=e=>Array.isArray(e)?e.map(()=>{}):void 0;function J2e(e,t,r){return[...e.slice(0,t),...$h(r),...e.slice(t)]}var e_e=(e,t,r)=>Array.isArray(e)?(Gl(e[r])&&(e[r]=void 0),e.splice(r,0,e.splice(t,1)[0]),e):[],t_e=(e,t)=>[...$h(t),...$h(e)];function XPt(e,t){let r=0;const n=[...e];for(const o of t)n.splice(o-r,1),r++;return dM(n).length?n:[]}var r_e=(e,t)=>Gl(t)?[]:XPt(e,$h(t).sort((r,n)=>r-n)),n_e=(e,t,r)=>{[e[t],e[r]]=[e[r],e[t]]};function qPt(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=Gl(e)?n++:e[t[n++]];return e}function ZPt(e){for(const t in e)if(e.hasOwnProperty(t)&&!Gl(e[t]))return!1;return!0}function _u(e,t){const r=Array.isArray(t)?t:j2e(t)?[t]:R$e(t),n=r.length===1?e:qPt(e,r),o=r.length-1,m=r[o];return n&&delete n[m],o!==0&&(eu(n)&&Kf(n)||Array.isArray(n)&&ZPt(n))&&_u(e,r.slice(0,-1)),e}var q$e=(e,t,r)=>(e[t]=r,e);function QPt(e){const t=VS(),{control:r=t.control,name:n,keyName:o="id",shouldUnregister:m,rules:u}=e,[h,a]=wn.useState(r._getFieldArray(n)),l=wn.useRef(r._getFieldArray(n).map(B2)),v=wn.useRef(h),i=wn.useRef(n),S=wn.useRef(!1);i.current=n,v.current=h,r._names.array.add(n),u&&r.register(n,u),Gie({next:({values:y,name:C})=>{if(C===i.current||!C){const w=ki(y,i.current);Array.isArray(w)&&(a(w),l.current=w.map(B2))}},subject:r._subjects.array});const g=wn.useCallback(y=>{S.current=!0,r._updateFieldArray(n,y)},[r,n]),p=(y,C)=>{const w=$h(Pu(y)),R=Z2e(r._getFieldArray(n),w);r._names.focus=Y2e(n,R.length-1,C),l.current=Z2e(l.current,w.map(B2)),g(R),a(R),r._updateFieldArray(n,R,Z2e,{argA:Q2e(y)})},_=(y,C)=>{const w=$h(Pu(y)),R=t_e(r._getFieldArray(n),w);r._names.focus=Y2e(n,0,C),l.current=t_e(l.current,w.map(B2)),g(R),a(R),r._updateFieldArray(n,R,t_e,{argA:Q2e(y)})},c=y=>{const C=r_e(r._getFieldArray(n),y);l.current=r_e(l.current,y),g(C),a(C),!Array.isArray(ki(r._fields,n))&&nl(r._fields,n,void 0),r._updateFieldArray(n,C,r_e,{argA:y})},s=(y,C,w)=>{const R=$h(Pu(C)),A=J2e(r._getFieldArray(n),y,R);r._names.focus=Y2e(n,y,w),l.current=J2e(l.current,y,R.map(B2)),g(A),a(A),r._updateFieldArray(n,A,J2e,{argA:y,argB:Q2e(C)})},d=(y,C)=>{const w=r._getFieldArray(n);n_e(w,y,C),n_e(l.current,y,C),g(w),a(w),r._updateFieldArray(n,w,n_e,{argA:y,argB:C},!1)},f=(y,C)=>{const w=r._getFieldArray(n);e_e(w,y,C),e_e(l.current,y,C),g(w),a(w),r._updateFieldArray(n,w,e_e,{argA:y,argB:C},!1)},b=(y,C)=>{const w=Pu(C),R=q$e(r._getFieldArray(n),y,w);l.current=[...R].map((A,E)=>!A||E===y?B2():l.current[E]),g(R),a([...R]),r._updateFieldArray(n,R,q$e,{argA:y,argB:w},!0,!1)},x=y=>{const C=$h(Pu(y));l.current=C.map(B2),g([...C]),a([...C]),r._updateFieldArray(n,[...C],w=>w,{},!0,!1)};return wn.useEffect(()=>{if(r._state.action=!1,W2e(n,r._names)&&r._subjects.state.next({...r._formState}),S.current&&(!fM(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then(y=>{const C=ki(y.errors,n),w=ki(r._formState.errors,n);(w?!C&&w.type||C&&(w.type!==C.type||w.message!==C.message):C&&C.type)&&(C?nl(r._formState.errors,n,C):_u(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))});else{const y=ki(r._fields,n);y&&y._f&&!(fM(r._options.reValidateMode).isOnSubmit&&fM(r._options.mode).isOnSubmit)&&q2e(y,r._names.disabled,r._formValues,r._options.criteriaMode===Y0.all,r._options.shouldUseNativeValidation,!0).then(C=>!Kf(C)&&r._subjects.state.next({errors:V$e(r._formState.errors,C,n)}))}r._subjects.values.next({name:n,values:{...r._formValues}}),r._names.focus&&m5(r._fields,(y,C)=>{if(r._names.focus&&C.startsWith(r._names.focus)&&y.focus)return y.focus(),1}),r._names.focus="",r._updateValid(),S.current=!1},[h,n,r]),wn.useEffect(()=>(!ki(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||m)&&r.unregister(n)}),[n,r,o,m]),{swap:wn.useCallback(d,[g,n,r]),move:wn.useCallback(f,[g,n,r]),prepend:wn.useCallback(_,[g,n,r]),append:wn.useCallback(p,[g,n,r]),remove:wn.useCallback(c,[g,n,r]),insert:wn.useCallback(s,[g,n,r]),update:wn.useCallback(b,[g,n,r]),replace:wn.useCallback(x,[g,n,r]),fields:wn.useMemo(()=>h.map((y,C)=>({...y,[o]:l.current[C]||B2()})),[h,o])}}var a_e=()=>{let e=[];return{get observers(){return e},next:o=>{for(const m of e)m.next&&m.next(o)},subscribe:o=>(e.push(o),{unsubscribe:()=>{e=e.filter(m=>m!==o)}}),unsubscribe:()=>{e=[]}}},i_e=e=>Wf(e)||!V2e(e);function z2(e,t){if(i_e(e)||i_e(t))return e===t;if(HS(e)&&HS(t))return e.getTime()===t.getTime();const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const o of r){const m=e[o];if(!n.includes(o))return!1;if(o!=="ref"){const u=t[o];if(HS(m)&&HS(u)||eu(m)&&eu(u)||Array.isArray(m)&&Array.isArray(u)?!z2(m,u):m!==u)return!1}}return!0}var Z$e=e=>e.type==="select-multiple",JPt=e=>X2e(e)||uM(e),o_e=e=>jie(e)&&e.isConnected,Q$e=e=>{for(const t in e)if(cm(e[t]))return!0;return!1};function Kie(e,t={}){const r=Array.isArray(e);if(eu(e)||r)for(const n in e)Array.isArray(e[n])||eu(e[n])&&!Q$e(e[n])?(t[n]=Array.isArray(e[n])?[]:{},Kie(e[n],t[n])):Wf(e[n])||(t[n]=!0);return t}function J$e(e,t,r){const n=Array.isArray(e);if(eu(e)||n)for(const o in e)Array.isArray(e[o])||eu(e[o])&&!Q$e(e[o])?Gl(t)||i_e(r[o])?r[o]=Array.isArray(e[o])?Kie(e[o],[]):{...Kie(e[o])}:J$e(e[o],Wf(t)?{}:t[o],r[o]):r[o]=!z2(e[o],t[o]);return r}var hM=(e,t)=>J$e(e,t,Kie(t)),eHe=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>Gl(e)?e:t?e===""?NaN:e&&+e:r&&lm(e)?new Date(e):n?n(e):e;function s_e(e){const t=e.ref;return K2e(t)?t.files:X2e(t)?K$e(e.refs).value:Z$e(t)?[...t.selectedOptions].map(({value:r})=>r):uM(t)?Y$e(e.refs).value:eHe(Gl(t.value)?e.ref.value:t.value,e)}var eFt=(e,t,r,n)=>{const o={};for(const m of e){const u=ki(t,m);u&&nl(o,m,u._f)}return{criteriaMode:r,names:[...e],fields:o,shouldUseNativeValidation:n}},pM=e=>Gl(e)?e:Wie(e)?e.source:eu(e)?Wie(e.value)?e.value.source:e.value:e;const tHe="AsyncFunction";var tFt=e=>!!e&&!!e.validate&&!!(cm(e.validate)&&e.validate.constructor.name===tHe||eu(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===tHe)),rFt=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function rHe(e,t,r){const n=ki(e,r);if(n||j2e(r))return{error:n,name:r};const o=r.split(".");for(;o.length;){const m=o.join("."),u=ki(t,m),h=ki(e,m);if(u&&!Array.isArray(u)&&r!==m)return{name:r};if(h&&h.type)return{name:m,error:h};o.pop()}return{name:r}}var nFt=(e,t,r,n,o)=>o.isOnAll?!1:!r&&o.isOnTouch?!(t||e):(r?n.isOnBlur:o.isOnBlur)?!e:(r?n.isOnChange:o.isOnChange)?e:!0,aFt=(e,t)=>!dM(ki(e,t)).length&&_u(e,t);const iFt={mode:Y0.onSubmit,reValidateMode:Y0.onChange,shouldFocusError:!0};function oFt(e={}){let t={...iFt,...e},r={submitCount:0,isDirty:!1,isLoading:cm(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},n={},o=eu(t.defaultValues)||eu(t.values)?Pu(t.defaultValues||t.values)||{}:{},m=t.shouldUnregister?{}:Pu(o),u={action:!1,mount:!1,watch:!1},h={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},a,l=0;const v={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},i={values:a_e(),array:a_e(),state:a_e()},S=fM(t.mode),g=fM(t.reValidateMode),p=t.criteriaMode===Y0.all,_=K=>te=>{clearTimeout(l),l=setTimeout(K,te)},c=async K=>{if(!t.disabled&&(v.isValid||K)){const te=t.resolver?Kf((await w()).errors):await A(n,!0);te!==r.isValid&&i.state.next({isValid:te})}},s=(K,te)=>{!t.disabled&&(v.isValidating||v.validatingFields)&&((K||Array.from(h.mount)).forEach(ce=>{ce&&(te?nl(r.validatingFields,ce,te):_u(r.validatingFields,ce))}),i.state.next({validatingFields:r.validatingFields,isValidating:!Kf(r.validatingFields)}))},d=(K,te=[],ce,re,ee=!0,de=!0)=>{if(re&&ce&&!t.disabled){if(u.action=!0,de&&Array.isArray(ki(n,K))){const oe=ce(ki(n,K),re.argA,re.argB);ee&&nl(n,K,oe)}if(de&&Array.isArray(ki(r.errors,K))){const oe=ce(ki(r.errors,K),re.argA,re.argB);ee&&nl(r.errors,K,oe),aFt(r.errors,K)}if(v.touchedFields&&de&&Array.isArray(ki(r.touchedFields,K))){const oe=ce(ki(r.touchedFields,K),re.argA,re.argB);ee&&nl(r.touchedFields,K,oe)}v.dirtyFields&&(r.dirtyFields=hM(o,m)),i.state.next({name:K,isDirty:k(K,te),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else nl(m,K,te)},f=(K,te)=>{nl(r.errors,K,te),i.state.next({errors:r.errors})},b=K=>{r.errors=K,i.state.next({errors:r.errors,isValid:!1})},x=(K,te,ce,re)=>{const ee=ki(n,K);if(ee){const de=ki(m,K,Gl(ce)?ki(o,K):ce);Gl(de)||re&&re.defaultChecked||te?nl(m,K,te?de:s_e(ee._f)):P(K,de),u.mount&&c()}},y=(K,te,ce,re,ee)=>{let de=!1,oe=!1;const fe={name:K};if(!t.disabled){const me=!!(ki(n,K)&&ki(n,K)._f&&ki(n,K)._f.disabled);if(!ce||re){v.isDirty&&(oe=r.isDirty,r.isDirty=fe.isDirty=k(),de=oe!==fe.isDirty);const Te=me||z2(ki(o,K),te);oe=!!(!me&&ki(r.dirtyFields,K)),Te||me?_u(r.dirtyFields,K):nl(r.dirtyFields,K,!0),fe.dirtyFields=r.dirtyFields,de=de||v.dirtyFields&&oe!==!Te}if(ce){const Te=ki(r.touchedFields,K);Te||(nl(r.touchedFields,K,ce),fe.touchedFields=r.touchedFields,de=de||v.touchedFields&&Te!==ce)}de&&ee&&i.state.next(fe)}return de?fe:{}},C=(K,te,ce,re)=>{const ee=ki(r.errors,K),de=v.isValid&&j0(te)&&r.isValid!==te;if(t.delayError&&ce?(a=_(()=>f(K,ce)),a(t.delayError)):(clearTimeout(l),a=null,ce?nl(r.errors,K,ce):_u(r.errors,K)),(ce?!z2(ee,ce):ee)||!Kf(re)||de){const oe={...re,...de&&j0(te)?{isValid:te}:{},errors:r.errors,name:K};r={...r,...oe},i.state.next(oe)}},w=async K=>{s(K,!0);const te=await t.resolver(m,t.context,eFt(K||h.mount,n,t.criteriaMode,t.shouldUseNativeValidation));return s(K),te},R=async K=>{const{errors:te}=await w(K);if(K)for(const ce of K){const re=ki(te,ce);re?nl(r.errors,ce,re):_u(r.errors,ce)}else r.errors=te;return te},A=async(K,te,ce={valid:!0})=>{for(const re in K){const ee=K[re];if(ee){const{_f:de,...oe}=ee;if(de){const fe=h.array.has(de.name),me=ee._f&&tFt(ee._f);me&&v.validatingFields&&s([re],!0);const Te=await q2e(ee,h.disabled,m,p,t.shouldUseNativeValidation&&!te,fe);if(me&&v.validatingFields&&s([re]),Te[de.name]&&(ce.valid=!1,te))break;!te&&(ki(Te,de.name)?fe?V$e(r.errors,Te,de.name):nl(r.errors,de.name,Te[de.name]):_u(r.errors,de.name))}!Kf(oe)&&await A(oe,te,ce)}}return ce.valid},E=()=>{for(const K of h.unMount){const te=ki(n,K);te&&(te._f.refs?te._f.refs.every(ce=>!o_e(ce)):!o_e(te._f.ref))&&V(K)}h.unMount=new Set},k=(K,te)=>!t.disabled&&(K&&te&&nl(m,K,te),!z2(O(),o)),L=(K,te,ce)=>F$e(K,h,{...u.mount?m:Gl(te)?o:lm(K)?{[K]:te}:te},ce,te),I=K=>dM(ki(u.mount?m:o,K,t.shouldUnregister?ki(o,K,[]):[])),P=(K,te,ce={})=>{const re=ki(n,K);let ee=te;if(re){const de=re._f;de&&(!de.disabled&&nl(m,K,eHe(te,de)),ee=jie(de.ref)&&Wf(te)?"":te,Z$e(de.ref)?[...de.ref.options].forEach(oe=>oe.selected=ee.includes(oe.value)):de.refs?uM(de.ref)?de.refs.length>1?de.refs.forEach(oe=>(!oe.defaultChecked||!oe.disabled)&&(oe.checked=Array.isArray(ee)?!!ee.find(fe=>fe===oe.value):ee===oe.value)):de.refs[0]&&(de.refs[0].checked=!!ee):de.refs.forEach(oe=>oe.checked=oe.value===ee):K2e(de.ref)?de.ref.value="":(de.ref.value=ee,de.ref.type||i.values.next({name:K,values:{...m}})))}(ce.shouldDirty||ce.shouldTouch)&&y(K,ee,ce.shouldTouch,ce.shouldDirty,!0),ce.shouldValidate&&D(K)},M=(K,te,ce)=>{for(const re in te){const ee=te[re],de=`${K}.${re}`,oe=ki(n,de);(h.array.has(K)||eu(ee)||oe&&!oe._f)&&!HS(ee)?M(de,ee,ce):P(de,ee,ce)}},F=(K,te,ce={})=>{const re=ki(n,K),ee=h.array.has(K),de=Pu(te);nl(m,K,de),ee?(i.array.next({name:K,values:{...m}}),(v.isDirty||v.dirtyFields)&&ce.shouldDirty&&i.state.next({name:K,dirtyFields:hM(o,m),isDirty:k(K,de)})):re&&!re._f&&!Wf(de)?M(K,de,ce):P(K,de,ce),W2e(K,h)&&i.state.next({...r}),i.values.next({name:u.mount?K:void 0,values:{...m}})},N=async K=>{u.mount=!0;const te=K.target;let ce=te.name,re=!0;const ee=ki(n,ce),de=()=>te.type?s_e(ee._f):k$e(K),oe=fe=>{re=Number.isNaN(fe)||HS(fe)&&isNaN(fe.getTime())||z2(fe,ki(m,ce,fe))};if(ee){let fe,me;const Te=de(),we=K.type===Vie.BLUR||K.type===Vie.FOCUS_OUT,Be=!rFt(ee._f)&&!t.resolver&&!ki(r.errors,ce)&&!ee._f.deps||nFt(we,ki(r.touchedFields,ce),r.isSubmitted,g,S),Ae=W2e(ce,h,we);nl(m,ce,Te),we?(ee._f.onBlur&&ee._f.onBlur(K),a&&a(0)):ee._f.onChange&&ee._f.onChange(K);const Re=y(ce,Te,we,!1),be=!Kf(Re)||Ae;if(!we&&i.values.next({name:ce,type:K.type,values:{...m}}),Be)return v.isValid&&(t.mode==="onBlur"&&we?c():we||c()),be&&i.state.next({name:ce,...Ae?{}:Re});if(!we&&Ae&&i.state.next({...r}),t.resolver){const{errors:Pe}=await w([ce]);if(oe(Te),re){const Ke=rHe(r.errors,n,ce),ze=rHe(Pe,n,Ke.name||ce);fe=ze.error,ce=ze.name,me=Kf(Pe)}}else s([ce],!0),fe=(await q2e(ee,h.disabled,m,p,t.shouldUseNativeValidation))[ce],s([ce]),oe(Te),re&&(fe?me=!1:v.isValid&&(me=await A(n,!0)));re&&(ee._f.deps&&D(ee._f.deps),C(ce,me,fe,Re))}},T=(K,te)=>{if(ki(r.errors,te)&&K.focus)return K.focus(),1},D=async(K,te={})=>{let ce,re;const ee=$h(K);if(t.resolver){const de=await R(Gl(K)?K:ee);ce=Kf(de),re=K?!ee.some(oe=>ki(de,oe)):ce}else K?(re=(await Promise.all(ee.map(async de=>{const oe=ki(n,de);return await A(oe&&oe._f?{[de]:oe}:oe)}))).every(Boolean),!(!re&&!r.isValid)&&c()):re=ce=await A(n);return i.state.next({...!lm(K)||v.isValid&&ce!==r.isValid?{}:{name:K},...t.resolver||!K?{isValid:ce}:{},errors:r.errors}),te.shouldFocus&&!re&&m5(n,T,K?ee:h.mount),re},O=K=>{const te={...u.mount?m:o};return Gl(K)?te:lm(K)?ki(te,K):K.map(ce=>ki(te,ce))},U=(K,te)=>({invalid:!!ki((te||r).errors,K),isDirty:!!ki((te||r).dirtyFields,K),error:ki((te||r).errors,K),isValidating:!!ki(r.validatingFields,K),isTouched:!!ki((te||r).touchedFields,K)}),B=K=>{K&&$h(K).forEach(te=>_u(r.errors,te)),i.state.next({errors:K?r.errors:{}})},Y=(K,te,ce)=>{const re=(ki(n,K,{_f:{}})._f||{}).ref,ee=ki(r.errors,K)||{},{ref:de,message:oe,type:fe,...me}=ee;nl(r.errors,K,{...me,...te,ref:re}),i.state.next({name:K,errors:r.errors,isValid:!1}),ce&&ce.shouldFocus&&re&&re.focus&&re.focus()},z=(K,te)=>cm(K)?i.values.subscribe({next:ce=>K(L(void 0,te),ce)}):L(K,te,!0),V=(K,te={})=>{for(const ce of K?$h(K):h.mount)h.mount.delete(ce),h.array.delete(ce),te.keepValue||(_u(n,ce),_u(m,ce)),!te.keepError&&_u(r.errors,ce),!te.keepDirty&&_u(r.dirtyFields,ce),!te.keepTouched&&_u(r.touchedFields,ce),!te.keepIsValidating&&_u(r.validatingFields,ce),!t.shouldUnregister&&!te.keepDefaultValue&&_u(o,ce);i.values.next({values:{...m}}),i.state.next({...r,...te.keepDirty?{isDirty:k()}:{}}),!te.keepIsValid&&c()},j=({disabled:K,name:te,field:ce,fields:re})=>{(j0(K)&&u.mount||K||h.disabled.has(te))&&(K?h.disabled.add(te):h.disabled.delete(te),y(te,s_e(ce?ce._f:ki(re,te)._f),!1,!1,!0))},G=(K,te={})=>{let ce=ki(n,K);const re=j0(te.disabled)||j0(t.disabled);return nl(n,K,{...ce||{},_f:{...ce&&ce._f?ce._f:{ref:{name:K}},name:K,mount:!0,...te}}),h.mount.add(K),ce?j({field:ce,disabled:j0(te.disabled)?te.disabled:t.disabled,name:K}):x(K,!0,te.value),{...re?{disabled:te.disabled||t.disabled}:{},...t.progressive?{required:!!te.required,min:pM(te.min),max:pM(te.max),minLength:pM(te.minLength),maxLength:pM(te.maxLength),pattern:pM(te.pattern)}:{},name:K,onChange:N,onBlur:N,ref:ee=>{if(ee){G(K,te),ce=ki(n,K);const de=Gl(ee.value)&&ee.querySelectorAll&&ee.querySelectorAll("input,select,textarea")[0]||ee,oe=JPt(de),fe=ce._f.refs||[];if(oe?fe.find(me=>me===de):de===ce._f.ref)return;nl(n,K,{_f:{...ce._f,...oe?{refs:[...fe.filter(o_e),de,...Array.isArray(ki(o,K))?[{}]:[]],ref:{type:de.type,name:K}}:{ref:de}}}),x(K,!1,void 0,de)}else ce=ki(n,K,{}),ce._f&&(ce._f.mount=!1),(t.shouldUnregister||te.shouldUnregister)&&!(M$e(h.array,K)&&u.action)&&h.unMount.add(K)}}},W=()=>t.shouldFocusError&&m5(n,T,h.mount),X=K=>{j0(K)&&(i.state.next({disabled:K}),m5(n,(te,ce)=>{const re=ki(n,ce);re&&(te.disabled=re._f.disabled||K,Array.isArray(re._f.refs)&&re._f.refs.forEach(ee=>{ee.disabled=re._f.disabled||K}))},0,!1))},Q=(K,te)=>async ce=>{let re;ce&&(ce.preventDefault&&ce.preventDefault(),ce.persist&&ce.persist());let ee=Pu(m);if(h.disabled.size)for(const de of h.disabled)nl(ee,de,void 0);if(i.state.next({isSubmitting:!0}),t.resolver){const{errors:de,values:oe}=await w();r.errors=de,ee=oe}else await A(n);if(_u(r.errors,"root"),Kf(r.errors)){i.state.next({errors:{}});try{await K(ee,ce)}catch(de){re=de}}else te&&await te({...r.errors},ce),W(),setTimeout(W);if(i.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Kf(r.errors)&&!re,submitCount:r.submitCount+1,errors:r.errors}),re)throw re},ae=(K,te={})=>{ki(n,K)&&(Gl(te.defaultValue)?F(K,Pu(ki(o,K))):(F(K,te.defaultValue),nl(o,K,Pu(te.defaultValue))),te.keepTouched||_u(r.touchedFields,K),te.keepDirty||(_u(r.dirtyFields,K),r.isDirty=te.defaultValue?k(K,Pu(ki(o,K))):k()),te.keepError||(_u(r.errors,K),v.isValid&&c()),i.state.next({...r}))},ie=(K,te={})=>{const ce=K?Pu(K):o,re=Pu(ce),ee=Kf(K),de=ee?o:re;if(te.keepDefaultValues||(o=ce),!te.keepValues){if(te.keepDirtyValues){const oe=new Set([...h.mount,...Object.keys(hM(o,m))]);for(const fe of Array.from(oe))ki(r.dirtyFields,fe)?nl(de,fe,ki(m,fe)):F(fe,ki(de,fe))}else{if(G2e&&Gl(K))for(const oe of h.mount){const fe=ki(n,oe);if(fe&&fe._f){const me=Array.isArray(fe._f.refs)?fe._f.refs[0]:fe._f.ref;if(jie(me)){const Te=me.closest("form");if(Te){Te.reset();break}}}}n={}}m=t.shouldUnregister?te.keepDefaultValues?Pu(o):{}:Pu(de),i.array.next({values:{...de}}),i.values.next({values:{...de}})}h={mount:te.keepDirtyValues?h.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},u.mount=!v.isValid||!!te.keepIsValid||!!te.keepDirtyValues,u.watch=!!t.shouldUnregister,i.state.next({submitCount:te.keepSubmitCount?r.submitCount:0,isDirty:ee?!1:te.keepDirty?r.isDirty:!!(te.keepDefaultValues&&!z2(K,o)),isSubmitted:te.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:ee?{}:te.keepDirtyValues?te.keepDefaultValues&&m?hM(o,m):r.dirtyFields:te.keepDefaultValues&&K?hM(o,K):te.keepDirty?r.dirtyFields:{},touchedFields:te.keepTouched?r.touchedFields:{},errors:te.keepErrors?r.errors:{},isSubmitSuccessful:te.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1})},he=(K,te)=>ie(cm(K)?K(m):K,te);return{control:{register:G,unregister:V,getFieldState:U,handleSubmit:Q,setError:Y,_executeSchema:w,_getWatch:L,_getDirty:k,_updateValid:c,_removeUnmounted:E,_updateFieldArray:d,_updateDisabledField:j,_getFieldArray:I,_reset:ie,_resetDefaultValues:()=>cm(t.defaultValues)&&t.defaultValues().then(K=>{he(K,t.resetOptions),i.state.next({isLoading:!1})}),_updateFormState:K=>{r={...r,...K}},_disableForm:X,_subjects:i,_proxyFormState:v,_setErrors:b,get _fields(){return n},get _formValues(){return m},get _state(){return u},set _state(K){u=K},get _defaultValues(){return o},get _names(){return h},set _names(K){h=K},get _formState(){return r},set _formState(K){r=K},get _options(){return t},set _options(K){t={...t,...K}}},trigger:D,register:G,handleSubmit:Q,watch:z,setValue:F,getValues:O,reset:he,resetField:ae,clearErrors:B,unregister:V,setError:Y,setFocus:(K,te={})=>{const ce=ki(n,K),re=ce&&ce._f;if(re){const ee=re.refs?re.refs[0]:re.ref;ee.focus&&(ee.focus(),te.shouldSelect&&cm(ee.select)&&ee.select())}},getFieldState:U}}function nHe(e={}){const t=wn.useRef(void 0),r=wn.useRef(void 0),[n,o]=wn.useState({isDirty:!1,isValidating:!1,isLoading:cm(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:cm(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...oFt(e),formState:n});const m=t.current.control;return m._options=e,Gie({subject:m._subjects.state,next:u=>{O$e(u,m._proxyFormState,m._updateFormState,!0)&&o({...m._formState})}}),wn.useEffect(()=>m._disableForm(e.disabled),[m,e.disabled]),wn.useEffect(()=>{if(m._proxyFormState.isDirty){const u=m._getDirty();u!==n.isDirty&&m._subjects.state.next({isDirty:u})}},[m,n.isDirty]),wn.useEffect(()=>{e.values&&!z2(e.values,r.current)?(m._reset(e.values,m._options.resetOptions),r.current=e.values,o(u=>({...u}))):m._resetDefaultValues()},[e.values,m]),wn.useEffect(()=>{e.errors&&m._setErrors(e.errors)},[e.errors,m]),wn.useEffect(()=>{m._state.mount||(m._updateValid(),m._state.mount=!0),m._state.watch&&(m._state.watch=!1,m._subjects.state.next({...m._formState})),m._removeUnmounted()}),wn.useEffect(()=>{e.shouldUnregister&&m._subjects.values.next({values:m._getWatch()})},[e.shouldUnregister,m]),t.current.formState=L$e(n,m),t.current}const sFt=Object.freeze(Object.defineProperty({__proto__:null,Controller:U$e,Form:KPt,FormProvider:I$e,appendErrors:H$e,get:ki,set:nl,useController:z$e,useFieldArray:QPt,useForm:nHe,useFormContext:VS,useFormState:P$e,useWatch:B$e},Symbol.toStringTag,{value:"Module"}));var Xie=Ue.forwardRef((e,t)=>{const{children:r,...n}=e,o=Ue.Children.toArray(r),m=o.find(cFt);if(m){const u=m.props.children,h=o.map(a=>a===m?Ue.Children.count(u)>1?Ue.Children.only(null):Ue.isValidElement(u)?u.props.children:null:a);return Oe.jsx(l_e,{...n,ref:t,children:Ue.isValidElement(u)?Ue.cloneElement(u,void 0,h):null})}return Oe.jsx(l_e,{...n,ref:t,children:r})});Xie.displayName="Slot";var l_e=Ue.forwardRef((e,t)=>{const{children:r,...n}=e;if(Ue.isValidElement(r)){const o=dFt(r),m=uFt(n,r.props);return r.type!==Ue.Fragment&&(m.ref=t?tC(t,o):o),Ue.cloneElement(r,m)}return Ue.Children.count(r)>1?Ue.Children.only(null):null});l_e.displayName="SlotClone";var lFt=({children:e})=>Oe.jsx(Oe.Fragment,{children:e});function cFt(e){return Ue.isValidElement(e)&&e.type===lFt}function uFt(e,t){const r={...t};for(const n in t){const o=e[n],m=t[n];/^on[A-Z]/.test(n)?o&&m?r[n]=(...h)=>{m(...h),o(...h)}:o&&(r[n]=o):n==="style"?r[n]={...o,...m}:n==="className"&&(r[n]=[o,m].filter(Boolean).join(" "))}return{...e,...r}}function dFt(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function fFt(e){const t=e+"CollectionProvider",[r,n]=Lc(t),[o,m]=r(t,{collectionRef:{current:null},itemMap:new Map}),u=g=>{const{scope:p,children:_}=g,c=wn.useRef(null),s=wn.useRef(new Map).current;return Oe.jsx(o,{scope:p,itemMap:s,collectionRef:c,children:_})};u.displayName=t;const h=e+"CollectionSlot",a=wn.forwardRef((g,p)=>{const{scope:_,children:c}=g,s=m(h,_),d=co(p,s.collectionRef);return Oe.jsx(Xie,{ref:d,children:c})});a.displayName=h;const l=e+"CollectionItemSlot",v="data-radix-collection-item",i=wn.forwardRef((g,p)=>{const{scope:_,children:c,...s}=g,d=wn.useRef(null),f=co(p,d),b=m(l,_);return wn.useEffect(()=>(b.itemMap.set(d,{ref:d,...s}),()=>void b.itemMap.delete(d))),Oe.jsx(Xie,{[v]:"",ref:f,children:c})});i.displayName=l;function S(g){const p=m(e+"CollectionConsumer",g);return wn.useCallback(()=>{const c=p.collectionRef.current;if(!c)return[];const s=Array.from(c.querySelectorAll(`[${v}]`));return Array.from(p.itemMap.values()).sort((b,x)=>s.indexOf(b.ref.current)-s.indexOf(x.ref.current))},[p.collectionRef,p.itemMap])}return[{Provider:u,Slot:a,ItemSlot:i},S,n]}var hFt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],y5=hFt.reduce((e,t)=>{const r=Ue.forwardRef((n,o)=>{const{asChild:m,...u}=n,h=m?Xie:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),Oe.jsx(h,{...u,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),c_e="rovingFocusGroup.onEntryFocus",pFt={bubbles:!1,cancelable:!0},qie="RovingFocusGroup",[u_e,aHe,vFt]=fFt(qie),[mFt,iHe]=Lc(qie,[vFt]),[gFt,yFt]=mFt(qie),oHe=Ue.forwardRef((e,t)=>Oe.jsx(u_e.Provider,{scope:e.__scopeRovingFocusGroup,children:Oe.jsx(u_e.Slot,{scope:e.__scopeRovingFocusGroup,children:Oe.jsx(_Ft,{...e,ref:t})})}));oHe.displayName=qie;var _Ft=Ue.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:m,currentTabStopId:u,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:a,onEntryFocus:l,preventScrollOnEntryFocus:v=!1,...i}=e,S=Ue.useRef(null),g=co(t,S),p=L2(m),[_=null,c]=Nd({prop:u,defaultProp:h,onChange:a}),[s,d]=Ue.useState(!1),f=Dc(l),b=aHe(r),x=Ue.useRef(!1),[y,C]=Ue.useState(0);return Ue.useEffect(()=>{const w=S.current;if(w)return w.addEventListener(c_e,f),()=>w.removeEventListener(c_e,f)},[f]),Oe.jsx(gFt,{scope:r,orientation:n,dir:p,loop:o,currentTabStopId:_,onItemFocus:Ue.useCallback(w=>c(w),[c]),onItemShiftTab:Ue.useCallback(()=>d(!0),[]),onFocusableItemAdd:Ue.useCallback(()=>C(w=>w+1),[]),onFocusableItemRemove:Ue.useCallback(()=>C(w=>w-1),[]),children:Oe.jsx(y5.div,{tabIndex:s||y===0?-1:0,"data-orientation":n,...i,ref:g,style:{outline:"none",...e.style},onMouseDown:qa(e.onMouseDown,()=>{x.current=!0}),onFocus:qa(e.onFocus,w=>{const R=!x.current;if(w.target===w.currentTarget&&R&&!s){const A=new CustomEvent(c_e,pFt);if(w.currentTarget.dispatchEvent(A),!A.defaultPrevented){const E=b().filter(M=>M.focusable),k=E.find(M=>M.active),L=E.find(M=>M.id===_),P=[k,L,...E].filter(Boolean).map(M=>M.ref.current);cHe(P,v)}}x.current=!1}),onBlur:qa(e.onBlur,()=>d(!1))})})}),sHe="RovingFocusGroupItem",lHe=Ue.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:m,...u}=e,h=Rd(),a=m||h,l=yFt(sHe,r),v=l.currentTabStopId===a,i=aHe(r),{onFocusableItemAdd:S,onFocusableItemRemove:g}=l;return Ue.useEffect(()=>{if(n)return S(),()=>g()},[n,S,g]),Oe.jsx(u_e.ItemSlot,{scope:r,id:a,focusable:n,active:o,children:Oe.jsx(y5.span,{tabIndex:v?0:-1,"data-orientation":l.orientation,...u,ref:t,onMouseDown:qa(e.onMouseDown,p=>{n?l.onItemFocus(a):p.preventDefault()}),onFocus:qa(e.onFocus,()=>l.onItemFocus(a)),onKeyDown:qa(e.onKeyDown,p=>{if(p.key==="Tab"&&p.shiftKey){l.onItemShiftTab();return}if(p.target!==p.currentTarget)return;const _=EFt(p,l.orientation,l.dir);if(_!==void 0){if(p.metaKey||p.ctrlKey||p.altKey||p.shiftKey)return;p.preventDefault();let s=i().filter(d=>d.focusable).map(d=>d.ref.current);if(_==="last")s.reverse();else if(_==="prev"||_==="next"){_==="prev"&&s.reverse();const d=s.indexOf(p.currentTarget);s=l.loop?SFt(s,d+1):s.slice(d+1)}setTimeout(()=>cHe(s))}})})})});lHe.displayName=sHe;var xFt={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function bFt(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function EFt(e,t,r){const n=bFt(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return xFt[n]}function cHe(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function SFt(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var wFt=oHe,TFt=lHe,d_e="Tabs",[AFt,o8r]=Lc(d_e,[iHe]),uHe=iHe(),[CFt,f_e]=AFt(d_e),dHe=Ue.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:m,orientation:u="horizontal",dir:h,activationMode:a="automatic",...l}=e,v=L2(h),[i,S]=Nd({prop:n,onChange:o,defaultProp:m});return Oe.jsx(CFt,{scope:r,baseId:Rd(),value:i,onValueChange:S,orientation:u,dir:v,activationMode:a,children:Oe.jsx(y5.div,{dir:v,"data-orientation":u,...l,ref:t})})});dHe.displayName=d_e;var fHe="TabsList",hHe=Ue.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,m=f_e(fHe,r),u=uHe(r);return Oe.jsx(wFt,{asChild:!0,...u,orientation:m.orientation,dir:m.dir,loop:n,children:Oe.jsx(y5.div,{role:"tablist","aria-orientation":m.orientation,...o,ref:t})})});hHe.displayName=fHe;var pHe="TabsTrigger",vHe=Ue.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...m}=e,u=f_e(pHe,r),h=uHe(r),a=yHe(u.baseId,n),l=_He(u.baseId,n),v=n===u.value;return Oe.jsx(TFt,{asChild:!0,...h,focusable:!o,active:v,children:Oe.jsx(y5.button,{type:"button",role:"tab","aria-selected":v,"aria-controls":l,"data-state":v?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:a,...m,ref:t,onMouseDown:qa(e.onMouseDown,i=>{!o&&i.button===0&&i.ctrlKey===!1?u.onValueChange(n):i.preventDefault()}),onKeyDown:qa(e.onKeyDown,i=>{[" ","Enter"].includes(i.key)&&u.onValueChange(n)}),onFocus:qa(e.onFocus,()=>{const i=u.activationMode!=="manual";!v&&!o&&i&&u.onValueChange(n)})})})});vHe.displayName=pHe;var mHe="TabsContent",gHe=Ue.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:m,...u}=e,h=f_e(mHe,r),a=yHe(h.baseId,n),l=_He(h.baseId,n),v=n===h.value,i=Ue.useRef(v);return Ue.useEffect(()=>{const S=requestAnimationFrame(()=>i.current=!1);return()=>cancelAnimationFrame(S)},[]),Oe.jsx(Lu,{present:o||v,children:({present:S})=>Oe.jsx(y5.div,{"data-state":v?"active":"inactive","data-orientation":h.orientation,role:"tabpanel","aria-labelledby":a,hidden:!S,id:l,tabIndex:0,...u,ref:t,style:{...e.style,animationDuration:i.current?"0s":void 0},children:S&&m})})});gHe.displayName=mHe;function yHe(e,t){return`${e}-trigger-${t}`}function _He(e,t){return`${e}-content-${t}`}var kFt=dHe,xHe=hHe,bHe=vHe,EHe=gHe;const h_e=kFt,Zie=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(xHe,{ref:r,className:ga("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));Zie.displayName=xHe.displayName;const vM=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(bHe,{ref:r,className:ga("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium 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-sm",e),...t}));vM.displayName=bHe.displayName;const mM=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(EHe,{ref:r,className:ga("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));mM.displayName=EHe.displayName;const MFt=Object.freeze(Object.defineProperty({__proto__:null,Tabs:h_e,TabsContent:mM,TabsList:Zie,TabsTrigger:vM},Symbol.toStringTag,{value:"Module"})),SHe=Is({key:"chatSettingsOpen",default:!1});var p_e="Checkbox",[RFt,s8r]=Lc(p_e),[NFt,IFt]=RFt(p_e),wHe=Ue.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:m,required:u,disabled:h,value:a="on",onCheckedChange:l,form:v,...i}=e,[S,g]=Ue.useState(null),p=co(t,b=>g(b)),_=Ue.useRef(!1),c=S?v||!!S.closest("form"):!0,[s=!1,d]=Nd({prop:o,defaultProp:m,onChange:l}),f=Ue.useRef(s);return Ue.useEffect(()=>{const b=S==null?void 0:S.form;if(b){const x=()=>d(f.current);return b.addEventListener("reset",x),()=>b.removeEventListener("reset",x)}},[S,d]),Oe.jsxs(NFt,{scope:r,state:s,disabled:h,children:[Oe.jsx(Zi.button,{type:"button",role:"checkbox","aria-checked":U2(s)?"mixed":s,"aria-required":u,"data-state":CHe(s),"data-disabled":h?"":void 0,disabled:h,value:a,...i,ref:p,onKeyDown:qa(e.onKeyDown,b=>{b.key==="Enter"&&b.preventDefault()}),onClick:qa(e.onClick,b=>{d(x=>U2(x)?!0:!x),c&&(_.current=b.isPropagationStopped(),_.current||b.stopPropagation())})}),c&&Oe.jsx(LFt,{control:S,bubbles:!_.current,name:n,value:a,checked:s,required:u,disabled:h,form:v,style:{transform:"translateX(-100%)"},defaultChecked:U2(m)?!1:m})]})});wHe.displayName=p_e;var THe="CheckboxIndicator",AHe=Ue.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,m=IFt(THe,r);return Oe.jsx(Lu,{present:n||U2(m.state)||m.state===!0,children:Oe.jsx(Zi.span,{"data-state":CHe(m.state),"data-disabled":m.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});AHe.displayName=THe;var LFt=e=>{const{control:t,checked:r,bubbles:n=!0,defaultChecked:o,...m}=e,u=Ue.useRef(null),h=bie(r),a=yL(t);Ue.useEffect(()=>{const v=u.current,i=window.HTMLInputElement.prototype,g=Object.getOwnPropertyDescriptor(i,"checked").set;if(h!==r&&g){const p=new Event("click",{bubbles:n});v.indeterminate=U2(r),g.call(v,U2(r)?!1:r),v.dispatchEvent(p)}},[h,r,n]);const l=Ue.useRef(U2(r)?!1:r);return Oe.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:o??l.current,...m,tabIndex:-1,ref:u,style:{...e.style,...a,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function U2(e){return e==="indeterminate"}function CHe(e){return U2(e)?"indeterminate":e?"checked":"unchecked"}var kHe=wHe,OFt=AHe;const v_e=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(kHe,{ref:r,className:ga("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...t,children:Oe.jsx(OFt,{className:ga("flex items-center justify-center text-current"),children:Oe.jsx(Ig,{className:"h-4 w-4"})})}));v_e.displayName=kHe.displayName;const DFt=Object.freeze(Object.defineProperty({__proto__:null,Checkbox:v_e},Symbol.toStringTag,{value:"Module"})),MHe=ZI("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold 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 hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function GS({className:e,variant:t,...r}){return Oe.jsx("div",{className:ga(MHe({variant:t}),e),...r})}const PFt=Object.freeze(Object.defineProperty({__proto__:null,Badge:GS,badgeVariants:MHe},Symbol.toStringTag,{value:"Module"})),$2=({children:e,description:t,id:r,label:n,notificationsProps:o,tooltip:m,className:u})=>Oe.jsxs("div",{className:ga("space-y-2",u),children:[n&&Oe.jsxs("label",{htmlFor:r,className:"flex items-center gap-2 text-sm font-medium",children:[n,m&&Oe.jsx(Du,{children:Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{type:"button",children:Oe.jsx(L3,{className:"text-muted-foreground !size-4"})}),Oe.jsx(Ec,{children:m})]})}),o!=null&&o.showBadge&&typeof o.count=="number"?Oe.jsx(GS,{variant:"outline",className:"ml-auto",children:o.count}):null]}),Oe.jsxs("div",{className:"flex flex-col gap-2",children:[e,t&&Oe.jsx("div",{className:"text-sm text-muted-foreground",children:t})]})]}),FFt=({id:e,hasError:t,description:r,label:n,tooltip:o,checked:m,disabled:u,onChange:h,setField:a})=>Oe.jsx($2,{id:e,hasError:t,description:r,tooltip:o,children:Oe.jsxs("div",{className:"flex items-center gap-2",children:[Oe.jsx(v_e,{id:e,checked:m,disabled:u,onCheckedChange:l=>{h(!!l),a==null||a(e,!!l)}}),Oe.jsx(Du,{children:Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsx("label",{htmlFor:e,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:n})}),Oe.jsx(Ec,{children:o})]})})]})});var RHe=1,BFt=.9,zFt=.8,UFt=.17,m_e=.1,g_e=.999,$Ft=.9999,HFt=.99,VFt=/[\\\/_+.#"@\[\(\{&]/,GFt=/[\\\/_+.#"@\[\(\{&]/g,jFt=/[\s-]/,NHe=/[\s-]/g;function y_e(e,t,r,n,o,m,u){if(m===t.length)return o===e.length?RHe:HFt;var h=`${o},${m}`;if(u[h]!==void 0)return u[h];for(var a=n.charAt(m),l=r.indexOf(a,o),v=0,i,S,g,p;l>=0;)i=y_e(e,t,r,n,l+1,m+1,u),i>v&&(l===o?i*=RHe:VFt.test(e.charAt(l-1))?(i*=zFt,g=e.slice(o,l-1).match(GFt),g&&o>0&&(i*=Math.pow(g_e,g.length))):jFt.test(e.charAt(l-1))?(i*=BFt,p=e.slice(o,l-1).match(NHe),p&&o>0&&(i*=Math.pow(g_e,p.length))):(i*=UFt,o>0&&(i*=Math.pow(g_e,l-o))),e.charAt(l)!==t.charAt(m)&&(i*=$Ft)),(i<m_e&&r.charAt(l-1)===n.charAt(m+1)||n.charAt(m+1)===n.charAt(m)&&r.charAt(l-1)!==n.charAt(m))&&(S=y_e(e,t,r,n,l+1,m+2,u),S*m_e>i&&(i=S*m_e)),i>v&&(v=i),l=r.indexOf(a,l+1);return u[h]=v,v}function IHe(e){return e.toLowerCase().replace(NHe," ")}function YFt(e,t,r){return e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,y_e(e,t,IHe(e),IHe(t),0,0,{})}function nd(){return nd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nd.apply(null,arguments)}function jS(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e==null||e(o),r===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function WFt(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function LHe(...e){return t=>e.forEach(r=>WFt(r,t))}function gM(...e){return Ue.useCallback(LHe(...e),e)}function KFt(e,t=[]){let r=[];function n(m,u){const h=Ue.createContext(u),a=r.length;r=[...r,u];function l(i){const{scope:S,children:g,...p}=i,_=(S==null?void 0:S[e][a])||h,c=Ue.useMemo(()=>p,Object.values(p));return Ue.createElement(_.Provider,{value:c},g)}function v(i,S){const g=(S==null?void 0:S[e][a])||h,p=Ue.useContext(g);if(p)return p;if(u!==void 0)return u;throw new Error(`\`${i}\` must be used within \`${m}\``)}return l.displayName=m+"Provider",[l,v]}const o=()=>{const m=r.map(u=>Ue.createContext(u));return function(h){const a=(h==null?void 0:h[e])||m;return Ue.useMemo(()=>({[`__scope${e}`]:{...h,[e]:a}}),[h,a])}};return o.scopeName=e,[n,XFt(o,...t)]}function XFt(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(m){const u=n.reduce((h,{useScope:a,scopeName:l})=>{const i=a(m)[`__scope${l}`];return{...h,...i}},{});return Ue.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return r.scopeName=t.scopeName,r}const __e=globalThis!=null&&globalThis.document?Ue.useLayoutEffect:()=>{},qFt=kR.useId||(()=>{});let ZFt=0;function x_e(e){const[t,r]=Ue.useState(qFt());return __e(()=>{e||r(n=>n??String(ZFt++))},[e]),e||(t?`radix-${t}`:"")}function YS(e){const t=Ue.useRef(e);return Ue.useEffect(()=>{t.current=e}),Ue.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function QFt({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=JFt({defaultProp:t,onChange:r}),m=e!==void 0,u=m?e:n,h=YS(r),a=Ue.useCallback(l=>{if(m){const i=typeof l=="function"?l(e):l;i!==e&&h(i)}else o(l)},[m,e,o,h]);return[u,a]}function JFt({defaultProp:e,onChange:t}){const r=Ue.useState(e),[n]=r,o=Ue.useRef(n),m=YS(t);return Ue.useEffect(()=>{o.current!==n&&(m(n),o.current=n)},[n,o,m]),r}const b_e=Ue.forwardRef((e,t)=>{const{children:r,...n}=e,o=Ue.Children.toArray(r),m=o.find(tBt);if(m){const u=m.props.children,h=o.map(a=>a===m?Ue.Children.count(u)>1?Ue.Children.only(null):Ue.isValidElement(u)?u.props.children:null:a);return Ue.createElement(E_e,nd({},n,{ref:t}),Ue.isValidElement(u)?Ue.cloneElement(u,void 0,h):null)}return Ue.createElement(E_e,nd({},n,{ref:t}),r)});b_e.displayName="Slot";const E_e=Ue.forwardRef((e,t)=>{const{children:r,...n}=e;return Ue.isValidElement(r)?Ue.cloneElement(r,{...rBt(n,r.props),ref:t?LHe(t,r.ref):r.ref}):Ue.Children.count(r)>1?Ue.Children.only(null):null});E_e.displayName="SlotClone";const eBt=({children:e})=>Ue.createElement(Ue.Fragment,null,e);function tBt(e){return Ue.isValidElement(e)&&e.type===eBt}function rBt(e,t){const r={...t};for(const n in t){const o=e[n],m=t[n];/^on[A-Z]/.test(n)?o&&m?r[n]=(...h)=>{m(...h),o(...h)}:o&&(r[n]=o):n==="style"?r[n]={...o,...m}:n==="className"&&(r[n]=[o,m].filter(Boolean).join(" "))}return{...e,...r}}const Xf=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=Ue.forwardRef((n,o)=>{const{asChild:m,...u}=n,h=m?b_e:t;return Ue.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),Ue.createElement(h,nd({},u,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function nBt(e,t){e&&vx.flushSync(()=>e.dispatchEvent(t))}function aBt(e,t=globalThis==null?void 0:globalThis.document){const r=YS(e);Ue.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const S_e="dismissableLayer.update",iBt="dismissableLayer.pointerDownOutside",oBt="dismissableLayer.focusOutside";let OHe;const sBt=Ue.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),lBt=Ue.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:m,onFocusOutside:u,onInteractOutside:h,onDismiss:a,...l}=e,v=Ue.useContext(sBt),[i,S]=Ue.useState(null),g=(r=i==null?void 0:i.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,p]=Ue.useState({}),_=gM(t,w=>S(w)),c=Array.from(v.layers),[s]=[...v.layersWithOutsidePointerEventsDisabled].slice(-1),d=c.indexOf(s),f=i?c.indexOf(i):-1,b=v.layersWithOutsidePointerEventsDisabled.size>0,x=f>=d,y=cBt(w=>{const R=w.target,A=[...v.branches].some(E=>E.contains(R));!x||A||(m==null||m(w),h==null||h(w),w.defaultPrevented||a==null||a())},g),C=uBt(w=>{const R=w.target;[...v.branches].some(E=>E.contains(R))||(u==null||u(w),h==null||h(w),w.defaultPrevented||a==null||a())},g);return aBt(w=>{f===v.layers.size-1&&(o==null||o(w),!w.defaultPrevented&&a&&(w.preventDefault(),a()))},g),Ue.useEffect(()=>{if(i)return n&&(v.layersWithOutsidePointerEventsDisabled.size===0&&(OHe=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),v.layersWithOutsidePointerEventsDisabled.add(i)),v.layers.add(i),DHe(),()=>{n&&v.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=OHe)}},[i,g,n,v]),Ue.useEffect(()=>()=>{i&&(v.layers.delete(i),v.layersWithOutsidePointerEventsDisabled.delete(i),DHe())},[i,v]),Ue.useEffect(()=>{const w=()=>p({});return document.addEventListener(S_e,w),()=>document.removeEventListener(S_e,w)},[]),Ue.createElement(Xf.div,nd({},l,{ref:_,style:{pointerEvents:b?x?"auto":"none":void 0,...e.style},onFocusCapture:jS(e.onFocusCapture,C.onFocusCapture),onBlurCapture:jS(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:jS(e.onPointerDownCapture,y.onPointerDownCapture)}))});function cBt(e,t=globalThis==null?void 0:globalThis.document){const r=YS(e),n=Ue.useRef(!1),o=Ue.useRef(()=>{});return Ue.useEffect(()=>{const m=h=>{if(h.target&&!n.current){let l=function(){PHe(iBt,r,a,{discrete:!0})};const a={originalEvent:h};h.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);n.current=!1},u=window.setTimeout(()=>{t.addEventListener("pointerdown",m)},0);return()=>{window.clearTimeout(u),t.removeEventListener("pointerdown",m),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function uBt(e,t=globalThis==null?void 0:globalThis.document){const r=YS(e),n=Ue.useRef(!1);return Ue.useEffect(()=>{const o=m=>{m.target&&!n.current&&PHe(oBt,r,{originalEvent:m},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function DHe(){const e=new CustomEvent(S_e);document.dispatchEvent(e)}function PHe(e,t,r,{discrete:n}){const o=r.originalEvent.target,m=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?nBt(o,m):o.dispatchEvent(m)}const w_e="focusScope.autoFocusOnMount",T_e="focusScope.autoFocusOnUnmount",FHe={bubbles:!1,cancelable:!0},dBt=Ue.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:m,...u}=e,[h,a]=Ue.useState(null),l=YS(o),v=YS(m),i=Ue.useRef(null),S=gM(t,_=>a(_)),g=Ue.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;Ue.useEffect(()=>{if(n){let _=function(f){if(g.paused||!h)return;const b=f.target;h.contains(b)?i.current=b:H2(i.current,{select:!0})},c=function(f){if(g.paused||!h)return;const b=f.relatedTarget;b!==null&&(h.contains(b)||H2(i.current,{select:!0}))},s=function(f){if(document.activeElement===document.body)for(const x of f)x.removedNodes.length>0&&H2(h)};document.addEventListener("focusin",_),document.addEventListener("focusout",c);const d=new MutationObserver(s);return h&&d.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",_),document.removeEventListener("focusout",c),d.disconnect()}}},[n,h,g.paused]),Ue.useEffect(()=>{if(h){UHe.add(g);const _=document.activeElement;if(!h.contains(_)){const s=new CustomEvent(w_e,FHe);h.addEventListener(w_e,l),h.dispatchEvent(s),s.defaultPrevented||(fBt(gBt(BHe(h)),{select:!0}),document.activeElement===_&&H2(h))}return()=>{h.removeEventListener(w_e,l),setTimeout(()=>{const s=new CustomEvent(T_e,FHe);h.addEventListener(T_e,v),h.dispatchEvent(s),s.defaultPrevented||H2(_??document.body,{select:!0}),h.removeEventListener(T_e,v),UHe.remove(g)},0)}}},[h,l,v,g]);const p=Ue.useCallback(_=>{if(!r&&!n||g.paused)return;const c=_.key==="Tab"&&!_.altKey&&!_.ctrlKey&&!_.metaKey,s=document.activeElement;if(c&&s){const d=_.currentTarget,[f,b]=hBt(d);f&&b?!_.shiftKey&&s===b?(_.preventDefault(),r&&H2(f,{select:!0})):_.shiftKey&&s===f&&(_.preventDefault(),r&&H2(b,{select:!0})):s===d&&_.preventDefault()}},[r,n,g.paused]);return Ue.createElement(Xf.div,nd({tabIndex:-1},u,{ref:S,onKeyDown:p}))});function fBt(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(H2(n,{select:t}),document.activeElement!==r)return}function hBt(e){const t=BHe(e),r=zHe(t,e),n=zHe(t.reverse(),e);return[r,n]}function BHe(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function zHe(e,t){for(const r of e)if(!pBt(r,{upTo:t}))return r}function pBt(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function vBt(e){return e instanceof HTMLInputElement&&"select"in e}function H2(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&vBt(e)&&t&&e.select()}}const UHe=mBt();function mBt(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=$He(e,t),e.unshift(t)},remove(t){var r;e=$He(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function $He(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function gBt(e){return e.filter(t=>t.tagName!=="A")}const yBt=Ue.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?CRe.createPortal(Ue.createElement(Xf.div,nd({},o,{ref:t})),n):null});function _Bt(e,t){return Ue.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const Qie=e=>{const{present:t,children:r}=e,n=xBt(t),o=typeof r=="function"?r({present:n.isPresent}):Ue.Children.only(r),m=gM(n.ref,o.ref);return typeof r=="function"||n.isPresent?Ue.cloneElement(o,{ref:m}):null};Qie.displayName="Presence";function xBt(e){const[t,r]=Ue.useState(),n=Ue.useRef({}),o=Ue.useRef(e),m=Ue.useRef("none"),u=e?"mounted":"unmounted",[h,a]=_Bt(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Ue.useEffect(()=>{const l=Jie(n.current);m.current=h==="mounted"?l:"none"},[h]),__e(()=>{const l=n.current,v=o.current;if(v!==e){const S=m.current,g=Jie(l);e?a("MOUNT"):g==="none"||(l==null?void 0:l.display)==="none"?a("UNMOUNT"):a(v&&S!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),__e(()=>{if(t){const l=i=>{const g=Jie(n.current).includes(i.animationName);i.target===t&&g&&vx.flushSync(()=>a("ANIMATION_END"))},v=i=>{i.target===t&&(m.current=Jie(n.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",l),t.addEventListener("animationend",l),()=>{t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",l),t.removeEventListener("animationend",l)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:Ue.useCallback(l=>{l&&(n.current=getComputedStyle(l)),r(l)},[])}}function Jie(e){return(e==null?void 0:e.animationName)||"none"}let A_e=0;function bBt(){Ue.useEffect(()=>{var e,t;const r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:HHe()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:HHe()),A_e++,()=>{A_e===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),A_e--}},[])}function HHe(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var VHe=gNe(),C_e=function(){},eoe=Ue.forwardRef(function(e,t){var r=Ue.useRef(null),n=Ue.useState({onScrollCapture:C_e,onWheelCapture:C_e,onTouchMoveCapture:C_e}),o=n[0],m=n[1],u=e.forwardProps,h=e.children,a=e.className,l=e.removeScrollBar,v=e.enabled,i=e.shards,S=e.sideCar,g=e.noIsolation,p=e.inert,_=e.allowPinchZoom,c=e.as,s=c===void 0?"div":c,d=n0e(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),f=S,b=mNe([r,t]),x=df(df({},d),o);return Ue.createElement(Ue.Fragment,null,v&&Ue.createElement(f,{sideCar:VHe,removeScrollBar:l,shards:i,noIsolation:g,inert:p,setCallbacks:m,allowPinchZoom:!!_,lockRef:r}),u?Ue.cloneElement(Ue.Children.only(h),df(df({},x),{ref:b})):Ue.createElement(s,df({},x,{className:a,ref:b}),h))});eoe.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},eoe.classNames={fullWidth:ek,zeroRight:JC};var k_e=!1;if(typeof window<"u")try{var toe=Object.defineProperty({},"passive",{get:function(){return k_e=!0,!0}});window.addEventListener("test",toe,toe),window.removeEventListener("test",toe,toe)}catch{k_e=!1}var _5=k_e?{passive:!1}:!1,EBt=function(e){return e.tagName==="TEXTAREA"},GHe=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!EBt(e)&&r[t]==="visible")},SBt=function(e){return GHe(e,"overflowY")},wBt=function(e){return GHe(e,"overflowX")},jHe=function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=YHe(e,r);if(n){var o=WHe(e,r),m=o[1],u=o[2];if(m>u)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},TBt=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},ABt=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},YHe=function(e,t){return e==="v"?SBt(t):wBt(t)},WHe=function(e,t){return e==="v"?TBt(t):ABt(t)},CBt=function(e,t){return e==="h"&&t==="rtl"?-1:1},kBt=function(e,t,r,n,o){var m=CBt(e,window.getComputedStyle(t).direction),u=m*n,h=r.target,a=t.contains(h),l=!1,v=u>0,i=0,S=0;do{var g=WHe(e,h),p=g[0],_=g[1],c=g[2],s=_-c-m*p;(p||s)&&YHe(e,h)&&(i+=s,S+=p),h=h.parentNode}while(!a&&h!==document.body||a&&(t.contains(h)||t===h));return(v&&(i===0||!o)||!v&&(S===0||!o))&&(l=!0),l},roe=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},KHe=function(e){return[e.deltaX,e.deltaY]},XHe=function(e){return e&&"current"in e?e.current:e},MBt=function(e,t){return e[0]===t[0]&&e[1]===t[1]},RBt=function(e){return`
.block-interactivity-`.concat(e,` {pointer-events: none;}
.allow-interactivity-`).concat(e,` {pointer-events: all;}
`)},NBt=0,x5=[];function IBt(e){var t=Ue.useRef([]),r=Ue.useRef([0,0]),n=Ue.useRef(),o=Ue.useState(NBt++)[0],m=Ue.useState(function(){return o0e()})[0],u=Ue.useRef(e);Ue.useEffect(function(){u.current=e},[e]),Ue.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var _=EL([e.lockRef.current],(e.shards||[]).map(XHe),!0).filter(Boolean);return _.forEach(function(c){return c.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),_.forEach(function(c){return c.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var h=Ue.useCallback(function(_,c){if("touches"in _&&_.touches.length===2)return!u.current.allowPinchZoom;var s=roe(_),d=r.current,f="deltaX"in _?_.deltaX:d[0]-s[0],b="deltaY"in _?_.deltaY:d[1]-s[1],x,y=_.target,C=Math.abs(f)>Math.abs(b)?"h":"v";if("touches"in _&&C==="h"&&y.type==="range")return!1;var w=jHe(C,y);if(!w)return!0;if(w?x=C:(x=C==="v"?"h":"v",w=jHe(C,y)),!w)return!1;if(!n.current&&"changedTouches"in _&&(f||b)&&(n.current=x),!x)return!0;var R=n.current||x;return kBt(R,c,_,R==="h"?f:b,!0)},[]),a=Ue.useCallback(function(_){var c=_;if(!(!x5.length||x5[x5.length-1]!==m)){var s="deltaY"in c?KHe(c):roe(c),d=t.current.filter(function(x){return x.name===c.type&&x.target===c.target&&MBt(x.delta,s)})[0];if(d&&d.should){c.cancelable&&c.preventDefault();return}if(!d){var f=(u.current.shards||[]).map(XHe).filter(Boolean).filter(function(x){return x.contains(c.target)}),b=f.length>0?h(c,f[0]):!u.current.noIsolation;b&&c.cancelable&&c.preventDefault()}}},[]),l=Ue.useCallback(function(_,c,s,d){var f={name:_,delta:c,target:s,should:d};t.current.push(f),setTimeout(function(){t.current=t.current.filter(function(b){return b!==f})},1)},[]),v=Ue.useCallback(function(_){r.current=roe(_),n.current=void 0},[]),i=Ue.useCallback(function(_){l(_.type,KHe(_),_.target,h(_,e.lockRef.current))},[]),S=Ue.useCallback(function(_){l(_.type,roe(_),_.target,h(_,e.lockRef.current))},[]);Ue.useEffect(function(){return x5.push(m),e.setCallbacks({onScrollCapture:i,onWheelCapture:i,onTouchMoveCapture:S}),document.addEventListener("wheel",a,_5),document.addEventListener("touchmove",a,_5),document.addEventListener("touchstart",v,_5),function(){x5=x5.filter(function(_){return _!==m}),document.removeEventListener("wheel",a,_5),document.removeEventListener("touchmove",a,_5),document.removeEventListener("touchstart",v,_5)}},[]);var g=e.removeScrollBar,p=e.inert;return Ue.createElement(Ue.Fragment,null,p?Ue.createElement(m,{styles:RBt(o)}):null,g?Ue.createElement(ENe,{gapMode:"margin"}):null)}const LBt=_Ne(VHe,IBt);var qHe=Ue.forwardRef(function(e,t){return Ue.createElement(eoe,df({},e,{ref:t,sideCar:LBt}))});qHe.classNames=eoe.classNames;const ZHe="Dialog",[QHe,c8r]=KFt(ZHe),[OBt,um]=QHe(ZHe),DBt=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:m,modal:u=!0}=e,h=Ue.useRef(null),a=Ue.useRef(null),[l=!1,v]=QFt({prop:n,defaultProp:o,onChange:m});return Ue.createElement(OBt,{scope:t,triggerRef:h,contentRef:a,contentId:x_e(),titleId:x_e(),descriptionId:x_e(),open:l,onOpenChange:v,onOpenToggle:Ue.useCallback(()=>v(i=>!i),[v]),modal:u},r)},JHe="DialogPortal",[PBt,eVe]=QHe(JHe,{forceMount:void 0}),FBt=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,m=um(JHe,t);return Ue.createElement(PBt,{scope:t,forceMount:r},Ue.Children.map(n,u=>Ue.createElement(Qie,{present:r||m.open},Ue.createElement(yBt,{asChild:!0,container:o},u))))},M_e="DialogOverlay",BBt=Ue.forwardRef((e,t)=>{const r=eVe(M_e,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,m=um(M_e,e.__scopeDialog);return m.modal?Ue.createElement(Qie,{present:n||m.open},Ue.createElement(zBt,nd({},o,{ref:t}))):null}),zBt=Ue.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=um(M_e,r);return Ue.createElement(qHe,{as:b_e,allowPinchZoom:!0,shards:[o.contentRef]},Ue.createElement(Xf.div,nd({"data-state":oVe(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),b5="DialogContent",tVe=Ue.forwardRef((e,t)=>{const r=eVe(b5,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,m=um(b5,e.__scopeDialog);return Ue.createElement(Qie,{present:n||m.open},m.modal?Ue.createElement(UBt,nd({},o,{ref:t})):Ue.createElement($Bt,nd({},o,{ref:t})))}),UBt=Ue.forwardRef((e,t)=>{const r=um(b5,e.__scopeDialog),n=Ue.useRef(null),o=gM(t,r.contentRef,n);return Ue.useEffect(()=>{const m=n.current;if(m)return QC(m)},[]),Ue.createElement(rVe,nd({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:jS(e.onCloseAutoFocus,m=>{var u;m.preventDefault(),(u=r.triggerRef.current)===null||u===void 0||u.focus()}),onPointerDownOutside:jS(e.onPointerDownOutside,m=>{const u=m.detail.originalEvent,h=u.button===0&&u.ctrlKey===!0;(u.button===2||h)&&m.preventDefault()}),onFocusOutside:jS(e.onFocusOutside,m=>m.preventDefault())}))}),$Bt=Ue.forwardRef((e,t)=>{const r=um(b5,e.__scopeDialog),n=Ue.useRef(!1),o=Ue.useRef(!1);return Ue.createElement(rVe,nd({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:m=>{var u;if((u=e.onCloseAutoFocus)===null||u===void 0||u.call(e,m),!m.defaultPrevented){var h;n.current||(h=r.triggerRef.current)===null||h===void 0||h.focus(),m.preventDefault()}n.current=!1,o.current=!1},onInteractOutside:m=>{var u,h;(u=e.onInteractOutside)===null||u===void 0||u.call(e,m),m.defaultPrevented||(n.current=!0,m.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=m.target;((h=r.triggerRef.current)===null||h===void 0?void 0:h.contains(a))&&m.preventDefault(),m.detail.originalEvent.type==="focusin"&&o.current&&m.preventDefault()}}))}),rVe=Ue.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:m,...u}=e,h=um(b5,r),a=Ue.useRef(null),l=gM(t,a);return bBt(),Ue.createElement(Ue.Fragment,null,Ue.createElement(dBt,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:m},Ue.createElement(lBt,nd({role:"dialog",id:h.contentId,"aria-describedby":h.descriptionId,"aria-labelledby":h.titleId,"data-state":oVe(h.open)},u,{ref:l,onDismiss:()=>h.onOpenChange(!1)}))),!1)}),nVe="DialogTitle",HBt=Ue.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=um(nVe,r);return Ue.createElement(Xf.h2,nd({id:o.titleId},n,{ref:t}))}),aVe="DialogDescription",VBt=Ue.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=um(aVe,r);return Ue.createElement(Xf.p,nd({id:o.descriptionId},n,{ref:t}))}),iVe="DialogClose",GBt=Ue.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=um(iVe,r);return Ue.createElement(Xf.button,nd({type:"button"},n,{ref:t,onClick:jS(e.onClick,()=>o.onOpenChange(!1))}))});function oVe(e){return e?"open":"closed"}const jBt=DBt,YBt=FBt,WBt=BBt,KBt=tVe;var yM='[cmdk-group=""]',R_e='[cmdk-group-items=""]',XBt='[cmdk-group-heading=""]',N_e='[cmdk-item=""]',sVe=`${N_e}:not([aria-disabled="true"])`,I_e="cmdk-item-select",WS="data-value",qBt=(e,t,r)=>YFt(e,t,r),lVe=Ue.createContext(void 0),_M=()=>Ue.useContext(lVe),cVe=Ue.createContext(void 0),L_e=()=>Ue.useContext(cVe),uVe=Ue.createContext(void 0),dVe=Ue.forwardRef((e,t)=>{let r=E5(()=>{var U,B;return{search:"",value:(B=(U=e.value)!=null?U:e.defaultValue)!=null?B:"",filtered:{count:0,items:new Map,groups:new Set}}}),n=E5(()=>new Set),o=E5(()=>new Map),m=E5(()=>new Map),u=E5(()=>new Set),h=fVe(e),{label:a,children:l,value:v,onValueChange:i,filter:S,shouldFilter:g,loop:p,disablePointerSelection:_=!1,vimBindings:c=!0,...s}=e,d=Ue.useId(),f=Ue.useId(),b=Ue.useId(),x=Ue.useRef(null),y=szt();KS(()=>{if(v!==void 0){let U=v.trim();r.current.value=U,C.emit()}},[v]),KS(()=>{y(6,L)},[]);let C=Ue.useMemo(()=>({subscribe:U=>(u.current.add(U),()=>u.current.delete(U)),snapshot:()=>r.current,setState:(U,B,Y)=>{var z,V,j;if(!Object.is(r.current[U],B)){if(r.current[U]=B,U==="search")k(),A(),y(1,E);else if(U==="value"&&(Y||y(5,L),((z=h.current)==null?void 0:z.value)!==void 0)){let G=B??"";(j=(V=h.current).onValueChange)==null||j.call(V,G);return}C.emit()}},emit:()=>{u.current.forEach(U=>U())}}),[]),w=Ue.useMemo(()=>({value:(U,B,Y)=>{var z;B!==((z=m.current.get(U))==null?void 0:z.value)&&(m.current.set(U,{value:B,keywords:Y}),r.current.filtered.items.set(U,R(B,Y)),y(2,()=>{A(),C.emit()}))},item:(U,B)=>(n.current.add(U),B&&(o.current.has(B)?o.current.get(B).add(U):o.current.set(B,new Set([U]))),y(3,()=>{k(),A(),r.current.value||E(),C.emit()}),()=>{m.current.delete(U),n.current.delete(U),r.current.filtered.items.delete(U);let Y=I();y(4,()=>{k(),(Y==null?void 0:Y.getAttribute("id"))===U&&E(),C.emit()})}),group:U=>(o.current.has(U)||o.current.set(U,new Set),()=>{m.current.delete(U),o.current.delete(U)}),filter:()=>h.current.shouldFilter,label:a||e["aria-label"],disablePointerSelection:_,listId:d,inputId:b,labelId:f,listInnerRef:x}),[]);function R(U,B){var Y,z;let V=(z=(Y=h.current)==null?void 0:Y.filter)!=null?z:qBt;return U?V(U,r.current.search,B):0}function A(){if(!r.current.search||h.current.shouldFilter===!1)return;let U=r.current.filtered.items,B=[];r.current.filtered.groups.forEach(z=>{let V=o.current.get(z),j=0;V.forEach(G=>{let W=U.get(G);j=Math.max(W,j)}),B.push([z,j])});let Y=x.current;P().sort((z,V)=>{var j,G;let W=z.getAttribute("id"),X=V.getAttribute("id");return((j=U.get(X))!=null?j:0)-((G=U.get(W))!=null?G:0)}).forEach(z=>{let V=z.closest(R_e);V?V.appendChild(z.parentElement===V?z:z.closest(`${R_e} > *`)):Y.appendChild(z.parentElement===Y?z:z.closest(`${R_e} > *`))}),B.sort((z,V)=>V[1]-z[1]).forEach(z=>{let V=x.current.querySelector(`${yM}[${WS}="${encodeURIComponent(z[0])}"]`);V==null||V.parentElement.appendChild(V)})}function E(){let U=P().find(Y=>Y.getAttribute("aria-disabled")!=="true"),B=U==null?void 0:U.getAttribute(WS);C.setState("value",B||void 0)}function k(){var U,B,Y,z;if(!r.current.search||h.current.shouldFilter===!1){r.current.filtered.count=n.current.size;return}r.current.filtered.groups=new Set;let V=0;for(let j of n.current){let G=(B=(U=m.current.get(j))==null?void 0:U.value)!=null?B:"",W=(z=(Y=m.current.get(j))==null?void 0:Y.keywords)!=null?z:[],X=R(G,W);r.current.filtered.items.set(j,X),X>0&&V++}for(let[j,G]of o.current)for(let W of G)if(r.current.filtered.items.get(W)>0){r.current.filtered.groups.add(j);break}r.current.filtered.count=V}function L(){var U,B,Y;let z=I();z&&(((U=z.parentElement)==null?void 0:U.firstChild)===z&&((Y=(B=z.closest(yM))==null?void 0:B.querySelector(XBt))==null||Y.scrollIntoView({block:"nearest"})),z.scrollIntoView({block:"nearest"}))}function I(){var U;return(U=x.current)==null?void 0:U.querySelector(`${N_e}[aria-selected="true"]`)}function P(){var U;return Array.from((U=x.current)==null?void 0:U.querySelectorAll(sVe))}function M(U){let B=P()[U];B&&C.setState("value",B.getAttribute(WS))}function F(U){var B;let Y=I(),z=P(),V=z.findIndex(G=>G===Y),j=z[V+U];(B=h.current)!=null&&B.loop&&(j=V+U<0?z[z.length-1]:V+U===z.length?z[0]:z[V+U]),j&&C.setState("value",j.getAttribute(WS))}function N(U){let B=I(),Y=B==null?void 0:B.closest(yM),z;for(;Y&&!z;)Y=U>0?izt(Y,yM):ozt(Y,yM),z=Y==null?void 0:Y.querySelector(sVe);z?C.setState("value",z.getAttribute(WS)):F(U)}let T=()=>M(P().length-1),D=U=>{U.preventDefault(),U.metaKey?T():U.altKey?N(1):F(1)},O=U=>{U.preventDefault(),U.metaKey?M(0):U.altKey?N(-1):F(-1)};return Ue.createElement(Xf.div,{ref:t,tabIndex:-1,...s,"cmdk-root":"",onKeyDown:U=>{var B;if((B=s.onKeyDown)==null||B.call(s,U),!U.defaultPrevented)switch(U.key){case"n":case"j":{c&&U.ctrlKey&&D(U);break}case"ArrowDown":{D(U);break}case"p":case"k":{c&&U.ctrlKey&&O(U);break}case"ArrowUp":{O(U);break}case"Home":{U.preventDefault(),M(0);break}case"End":{U.preventDefault(),T();break}case"Enter":if(!U.nativeEvent.isComposing&&U.keyCode!==229){U.preventDefault();let Y=I();if(Y){let z=new Event(I_e);Y.dispatchEvent(z)}}}}},Ue.createElement("label",{"cmdk-label":"",htmlFor:w.inputId,id:w.labelId,style:czt},a),noe(e,U=>Ue.createElement(cVe.Provider,{value:C},Ue.createElement(lVe.Provider,{value:w},U))))}),ZBt=Ue.forwardRef((e,t)=>{var r,n;let o=Ue.useId(),m=Ue.useRef(null),u=Ue.useContext(uVe),h=_M(),a=fVe(e),l=(n=(r=a.current)==null?void 0:r.forceMount)!=null?n:u==null?void 0:u.forceMount;KS(()=>{if(!l)return h.item(o,u==null?void 0:u.id)},[l]);let v=hVe(o,m,[e.value,e.children,m],e.keywords),i=L_e(),S=XS(y=>y.value&&y.value===v.current),g=XS(y=>l||h.filter()===!1?!0:y.search?y.filtered.items.get(o)>0:!0);Ue.useEffect(()=>{let y=m.current;if(!(!y||e.disabled))return y.addEventListener(I_e,p),()=>y.removeEventListener(I_e,p)},[g,e.onSelect,e.disabled]);function p(){var y,C;_(),(C=(y=a.current).onSelect)==null||C.call(y,v.current)}function _(){i.setState("value",v.current,!0)}if(!g)return null;let{disabled:c,value:s,onSelect:d,forceMount:f,keywords:b,...x}=e;return Ue.createElement(Xf.div,{ref:xM([m,t]),...x,id:o,"cmdk-item":"",role:"option","aria-disabled":!!c,"aria-selected":!!S,"data-disabled":!!c,"data-selected":!!S,onPointerMove:c||h.disablePointerSelection?void 0:_,onClick:c?void 0:p},e.children)}),QBt=Ue.forwardRef((e,t)=>{let{heading:r,children:n,forceMount:o,...m}=e,u=Ue.useId(),h=Ue.useRef(null),a=Ue.useRef(null),l=Ue.useId(),v=_M(),i=XS(g=>o||v.filter()===!1?!0:g.search?g.filtered.groups.has(u):!0);KS(()=>v.group(u),[]),hVe(u,h,[e.value,e.heading,a]);let S=Ue.useMemo(()=>({id:u,forceMount:o}),[o]);return Ue.createElement(Xf.div,{ref:xM([h,t]),...m,"cmdk-group":"",role:"presentation",hidden:i?void 0:!0},r&&Ue.createElement("div",{ref:a,"cmdk-group-heading":"","aria-hidden":!0,id:l},r),noe(e,g=>Ue.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?l:void 0},Ue.createElement(uVe.Provider,{value:S},g))))}),JBt=Ue.forwardRef((e,t)=>{let{alwaysRender:r,...n}=e,o=Ue.useRef(null),m=XS(u=>!u.search);return!r&&!m?null:Ue.createElement(Xf.div,{ref:xM([o,t]),...n,"cmdk-separator":"",role:"separator"})}),ezt=Ue.forwardRef((e,t)=>{let{onValueChange:r,...n}=e,o=e.value!=null,m=L_e(),u=XS(v=>v.search),h=XS(v=>v.value),a=_M(),l=Ue.useMemo(()=>{var v;let i=(v=a.listInnerRef.current)==null?void 0:v.querySelector(`${N_e}[${WS}="${encodeURIComponent(h)}"]`);return i==null?void 0:i.getAttribute("id")},[]);return Ue.useEffect(()=>{e.value!=null&&m.setState("search",e.value)},[e.value]),Ue.createElement(Xf.input,{ref:t,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":a.listId,"aria-labelledby":a.labelId,"aria-activedescendant":l,id:a.inputId,type:"text",value:o?e.value:u,onChange:v=>{o||m.setState("search",v.target.value),r==null||r(v.target.value)}})}),tzt=Ue.forwardRef((e,t)=>{let{children:r,label:n="Suggestions",...o}=e,m=Ue.useRef(null),u=Ue.useRef(null),h=_M();return Ue.useEffect(()=>{if(u.current&&m.current){let a=u.current,l=m.current,v,i=new ResizeObserver(()=>{v=requestAnimationFrame(()=>{let S=a.offsetHeight;l.style.setProperty("--cmdk-list-height",S.toFixed(1)+"px")})});return i.observe(a),()=>{cancelAnimationFrame(v),i.unobserve(a)}}},[]),Ue.createElement(Xf.div,{ref:xM([m,t]),...o,"cmdk-list":"",role:"listbox","aria-label":n,id:h.listId},noe(e,a=>Ue.createElement("div",{ref:xM([u,h.listInnerRef]),"cmdk-list-sizer":""},a)))}),rzt=Ue.forwardRef((e,t)=>{let{open:r,onOpenChange:n,overlayClassName:o,contentClassName:m,container:u,...h}=e;return Ue.createElement(jBt,{open:r,onOpenChange:n},Ue.createElement(YBt,{container:u},Ue.createElement(WBt,{"cmdk-overlay":"",className:o}),Ue.createElement(KBt,{"aria-label":e.label,"cmdk-dialog":"",className:m},Ue.createElement(dVe,{ref:t,...h}))))}),nzt=Ue.forwardRef((e,t)=>XS(r=>r.filtered.count===0)?Ue.createElement(Xf.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),azt=Ue.forwardRef((e,t)=>{let{progress:r,children:n,label:o="Loading...",...m}=e;return Ue.createElement(Xf.div,{ref:t,...m,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":o},noe(e,u=>Ue.createElement("div",{"aria-hidden":!0},u)))}),Od=Object.assign(dVe,{List:tzt,Item:ZBt,Input:ezt,Group:QBt,Separator:JBt,Dialog:rzt,Empty:nzt,Loading:azt});function izt(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}function ozt(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}function fVe(e){let t=Ue.useRef(e);return KS(()=>{t.current=e}),t}var KS=typeof window>"u"?Ue.useEffect:Ue.useLayoutEffect;function E5(e){let t=Ue.useRef();return t.current===void 0&&(t.current=e()),t}function xM(e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}function XS(e){let t=L_e(),r=()=>e(t.snapshot());return Ue.useSyncExternalStore(t.subscribe,r,r)}function hVe(e,t,r,n=[]){let o=Ue.useRef(),m=_M();return KS(()=>{var u;let h=(()=>{var l;for(let v of r){if(typeof v=="string")return v.trim();if(typeof v=="object"&&"current"in v)return v.current?(l=v.current.textContent)==null?void 0:l.trim():o.current}})(),a=n.map(l=>l.trim());m.value(e,h,a),(u=t.current)==null||u.setAttribute(WS,h),o.current=h}),o}var szt=()=>{let[e,t]=Ue.useState(),r=E5(()=>new Map);return KS(()=>{r.current.forEach(n=>n()),r.current=new Map},[e]),(n,o)=>{r.current.set(n,o),t({})}};function lzt(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function noe({asChild:e,children:t},r){return e&&Ue.isValidElement(t)?Ue.cloneElement(lzt(t),{ref:t.ref},r(t.props.children)):r(t)}var czt={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const qS=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(Od,{ref:r,className:ga("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));qS.displayName=Od.displayName;const uzt=({children:e,...t})=>Oe.jsx(P2,{...t,children:Oe.jsx(Lg,{className:"overflow-hidden p-0 shadow-lg",children:Oe.jsx(qS,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),pVe=Ue.forwardRef(({className:e,...t},r)=>Oe.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[Oe.jsx(jk,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),Oe.jsx(Od.Input,{ref:r,className:ga("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));pVe.displayName=Od.Input.displayName;const O_e=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(Od.List,{ref:r,className:ga("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));O_e.displayName=Od.List.displayName;const bM=Ue.forwardRef(({className:e,children:t,...r},n)=>Oe.jsx(Od.List,{ref:n,className:ga("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...r,children:t}));bM.displayName="CommandListScrollable";const vVe=Ue.forwardRef((e,t)=>Oe.jsx(Od.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));vVe.displayName=Od.Empty.displayName;const S5=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(Od.Group,{ref:r,className:ga("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));S5.displayName=Od.Group.displayName;const mVe=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(Od.Separator,{ref:r,className:ga("-mx-1 h-px bg-border",e),...t}));mVe.displayName=Od.Separator.displayName;const D_e=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(Od.Item,{ref:r,className:ga("relative flex cursor-default gap-2 select-none items-center 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",e),...t}));D_e.displayName=Od.Item.displayName;const EM=Ue.forwardRef(({className:e,isSelected:t,index:r,...n},o)=>Oe.jsx(Od.Item,{ref:o,"data-index":r,className:ga("relative flex cursor-pointer gap-2 select-none items-center rounded-md px-2 py-2 text-sm outline-none","transition-all duration-150","hover:scale-[1.02]","data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50","[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"bg-accent text-accent-foreground scale-[1.02]",e),...n}));EM.displayName="CommandItemAnimated";const gVe=({className:e,...t})=>Oe.jsx("span",{className:ga("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});gVe.displayName="CommandShortcut";const dzt=Object.freeze(Object.defineProperty({__proto__:null,Command:qS,CommandDialog:uzt,CommandEmpty:vVe,CommandGroup:S5,CommandInput:pVe,CommandItem:D_e,CommandItemAnimated:EM,CommandList:O_e,CommandListScrollable:bM,CommandSeparator:mVe,CommandShortcut:gVe},Symbol.toStringTag,{value:"Module"})),fzt=({id:e,hasError:t,description:r,label:n,tooltip:o,disabled:m=!1,items:u=[],value:h=[],onChange:a,setField:l,placeholder:v})=>{const{t:i}=Tfe(),S=Ue.useRef(null),[g,p]=Ue.useState(!1),[_,c]=Ue.useState(""),s=b=>{const x=h.includes(b)?h.filter(y=>y!==b):[...h,b];a(x),l==null||l(e,x)},d=b=>{const x=S.current;if(x){if((b.key==="Delete"||b.key==="Backspace")&&x.value===""&&h.length>0){const y=[...h];y.pop(),a(y),l==null||l(e,y)}b.key==="Escape"&&x.blur()}},f=u.filter(b=>!h.includes(b.value));return Oe.jsx($2,{id:e,hasError:t,description:r,label:n,tooltip:o,children:Oe.jsxs(qS,{onKeyDown:d,className:"overflow-visible bg-transparent",children:[Oe.jsx("div",{className:"group rounded-md border border-input px-3 py-2 text-sm ring-offset-background focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2",children:Oe.jsxs("div",{className:"flex flex-wrap gap-1",children:[h.map(b=>{const x=u.find(y=>y.value===b);return Oe.jsxs(GS,{variant:"secondary",children:[x==null?void 0:x.label,Oe.jsx("button",{className:"ml-1 rounded-full outline-none ring-offset-background focus:ring-2 focus:ring-ring focus:ring-offset-2",onKeyDown:y=>{y.key==="Enter"&&s(b)},onMouseDown:y=>{y.preventDefault(),y.stopPropagation()},onClick:()=>s(b),children:Oe.jsx(Uh,{className:"h-3 w-3 text-muted-foreground hover:text-foreground"})})]},b)}),Oe.jsx(Od.Input,{ref:S,value:_,onValueChange:c,onBlur:()=>p(!1),onFocus:()=>p(!0),placeholder:h.length>0?"":v||i("components.MultiSelectInput.placeholder","Select..."),className:"ml-2 flex-1 bg-transparent outline-none placeholder:text-muted-foreground",disabled:m})]})}),Oe.jsx("div",{className:"relative mt-2",children:g&&f.length>0?Oe.jsx("div",{className:"absolute top-0 z-10 w-full rounded-md border bg-popover text-popover-foreground shadow-md outline-none animate-in",children:Oe.jsx(O_e,{children:Oe.jsx(S5,{children:f.map(b=>Oe.jsx(D_e,{onMouseDown:x=>{x.preventDefault(),x.stopPropagation()},onSelect:()=>{s(b.value),c("")},className:"cursor-pointer",children:b.label},b.value))})})}):null})]})})};var hzt="Label",yVe=Ue.forwardRef((e,t)=>Oe.jsx(Zi.label,{...e,ref:t,onMouseDown:r=>{var o;r.target.closest("button, input, select, textarea")||((o=e.onMouseDown)==null||o.call(e,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));yVe.displayName=hzt;var _Ve=yVe;const pzt=ZI("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),dm=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(_Ve,{ref:r,className:ga(pzt(),e),...t}));dm.displayName=_Ve.displayName;const vzt=Object.freeze(Object.defineProperty({__proto__:null,Label:dm},Symbol.toStringTag,{value:"Module"}));function Pg(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e==null||e(o),r===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function xVe(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function bVe(...e){return t=>{let r=!1;const n=e.map(o=>{const m=xVe(o,t);return!r&&typeof m=="function"&&(r=!0),m});if(r)return()=>{for(let o=0;o<n.length;o++){const m=n[o];typeof m=="function"?m():xVe(e[o],null)}}}}function ZS(...e){return Ue.useCallback(bVe(...e),e)}function aoe(e,t=[]){let r=[];function n(m,u){const h=Ue.createContext(u),a=r.length;r=[...r,u];const l=i=>{var s;const{scope:S,children:g,...p}=i,_=((s=S==null?void 0:S[e])==null?void 0:s[a])||h,c=Ue.useMemo(()=>p,Object.values(p));return Oe.jsx(_.Provider,{value:c,children:g})};l.displayName=m+"Provider";function v(i,S){var _;const g=((_=S==null?void 0:S[e])==null?void 0:_[a])||h,p=Ue.useContext(g);if(p)return p;if(u!==void 0)return u;throw new Error(`\`${i}\` must be used within \`${m}\``)}return[l,v]}const o=()=>{const m=r.map(u=>Ue.createContext(u));return function(h){const a=(h==null?void 0:h[e])||m;return Ue.useMemo(()=>({[`__scope${e}`]:{...h,[e]:a}}),[h,a])}};return o.scopeName=e,[n,mzt(o,...t)]}function mzt(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(m){const u=n.reduce((h,{useScope:a,scopeName:l})=>{const i=a(m)[`__scope${l}`];return{...h,...i}},{});return Ue.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return r.scopeName=t.scopeName,r}function P_e(e){const t=gzt(e),r=Ue.forwardRef((n,o)=>{const{children:m,...u}=n,h=Ue.Children.toArray(m),a=h.find(_zt);if(a){const l=a.props.children,v=h.map(i=>i===a?Ue.Children.count(l)>1?Ue.Children.only(null):Ue.isValidElement(l)?l.props.children:null:i);return Oe.jsx(t,{...u,ref:o,children:Ue.isValidElement(l)?Ue.cloneElement(l,void 0,v):null})}return Oe.jsx(t,{...u,ref:o,children:m})});return r.displayName=`${e}.Slot`,r}function gzt(e){const t=Ue.forwardRef((r,n)=>{const{children:o,...m}=r;if(Ue.isValidElement(o)){const u=bzt(o),h=xzt(m,o.props);return o.type!==Ue.Fragment&&(h.ref=n?bVe(n,u):u),Ue.cloneElement(o,h)}return Ue.Children.count(o)>1?Ue.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var yzt=Symbol("radix.slottable");function _zt(e){return Ue.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===yzt}function xzt(e,t){const r={...t};for(const n in t){const o=e[n],m=t[n];/^on[A-Z]/.test(n)?o&&m?r[n]=(...h)=>{const a=m(...h);return o(...h),a}:o&&(r[n]=o):n==="style"?r[n]={...o,...m}:n==="className"&&(r[n]=[o,m].filter(Boolean).join(" "))}return{...e,...r}}function bzt(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Ezt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],w5=Ezt.reduce((e,t)=>{const r=P_e(`Primitive.${t}`),n=Ue.forwardRef((o,m)=>{const{asChild:u,...h}=o,a=u?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),Oe.jsx(a,{...h,ref:m})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Szt(e){const t=e+"CollectionProvider",[r,n]=aoe(t),[o,m]=r(t,{collectionRef:{current:null},itemMap:new Map}),u=_=>{const{scope:c,children:s}=_,d=wn.useRef(null),f=wn.useRef(new Map).current;return Oe.jsx(o,{scope:c,itemMap:f,collectionRef:d,children:s})};u.displayName=t;const h=e+"CollectionSlot",a=P_e(h),l=wn.forwardRef((_,c)=>{const{scope:s,children:d}=_,f=m(h,s),b=ZS(c,f.collectionRef);return Oe.jsx(a,{ref:b,children:d})});l.displayName=h;const v=e+"CollectionItemSlot",i="data-radix-collection-item",S=P_e(v),g=wn.forwardRef((_,c)=>{const{scope:s,children:d,...f}=_,b=wn.useRef(null),x=ZS(c,b),y=m(v,s);return wn.useEffect(()=>(y.itemMap.set(b,{ref:b,...f}),()=>void y.itemMap.delete(b))),Oe.jsx(S,{[i]:"",ref:x,children:d})});g.displayName=v;function p(_){const c=m(e+"CollectionConsumer",_);return wn.useCallback(()=>{const d=c.collectionRef.current;if(!d)return[];const f=Array.from(d.querySelectorAll(`[${i}]`));return Array.from(c.itemMap.values()).sort((y,C)=>f.indexOf(y.ref.current)-f.indexOf(C.ref.current))},[c.collectionRef,c.itemMap])}return[{Provider:u,Slot:l,ItemSlot:g},p,n]}var SM=globalThis!=null&&globalThis.document?Ue.useLayoutEffect:()=>{},wzt=kR[" useId ".trim().toString()]||(()=>{}),Tzt=0;function Azt(e){const[t,r]=Ue.useState(wzt());return SM(()=>{r(n=>n??String(Tzt++))},[e]),t?`radix-${t}`:""}function Czt(e){const t=Ue.useRef(e);return Ue.useEffect(()=>{t.current=e}),Ue.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}var kzt=kR[" useInsertionEffect ".trim().toString()]||SM;function EVe({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[o,m,u]=Mzt({defaultProp:t,onChange:r}),h=e!==void 0,a=h?e:o;{const v=Ue.useRef(e!==void 0);Ue.useEffect(()=>{const i=v.current;i!==h&&console.warn(`${n} is changing from ${i?"controlled":"uncontrolled"} to ${h?"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.`),v.current=h},[h,n])}const l=Ue.useCallback(v=>{var i;if(h){const S=Rzt(v)?v(e):v;S!==e&&((i=u.current)==null||i.call(u,S))}else m(v)},[h,e,m,u]);return[a,l]}function Mzt({defaultProp:e,onChange:t}){const[r,n]=Ue.useState(e),o=Ue.useRef(r),m=Ue.useRef(t);return kzt(()=>{m.current=t},[t]),Ue.useEffect(()=>{var u;o.current!==r&&((u=m.current)==null||u.call(m,r),o.current=r)},[r,o]),[r,n,m]}function Rzt(e){return typeof e=="function"}var Nzt=Ue.createContext(void 0);function SVe(e){const t=Ue.useContext(Nzt);return e||t||"ltr"}var F_e="rovingFocusGroup.onEntryFocus",Izt={bubbles:!1,cancelable:!0},wM="RovingFocusGroup",[B_e,wVe,Lzt]=Szt(wM),[Ozt,TVe]=aoe(wM,[Lzt]),[Dzt,Pzt]=Ozt(wM),AVe=Ue.forwardRef((e,t)=>Oe.jsx(B_e.Provider,{scope:e.__scopeRovingFocusGroup,children:Oe.jsx(B_e.Slot,{scope:e.__scopeRovingFocusGroup,children:Oe.jsx(Fzt,{...e,ref:t})})}));AVe.displayName=wM;var Fzt=Ue.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:m,currentTabStopId:u,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:a,onEntryFocus:l,preventScrollOnEntryFocus:v=!1,...i}=e,S=Ue.useRef(null),g=ZS(t,S),p=SVe(m),[_,c]=EVe({prop:u,defaultProp:h??null,onChange:a,caller:wM}),[s,d]=Ue.useState(!1),f=Czt(l),b=wVe(r),x=Ue.useRef(!1),[y,C]=Ue.useState(0);return Ue.useEffect(()=>{const w=S.current;if(w)return w.addEventListener(F_e,f),()=>w.removeEventListener(F_e,f)},[f]),Oe.jsx(Dzt,{scope:r,orientation:n,dir:p,loop:o,currentTabStopId:_,onItemFocus:Ue.useCallback(w=>c(w),[c]),onItemShiftTab:Ue.useCallback(()=>d(!0),[]),onFocusableItemAdd:Ue.useCallback(()=>C(w=>w+1),[]),onFocusableItemRemove:Ue.useCallback(()=>C(w=>w-1),[]),children:Oe.jsx(w5.div,{tabIndex:s||y===0?-1:0,"data-orientation":n,...i,ref:g,style:{outline:"none",...e.style},onMouseDown:Pg(e.onMouseDown,()=>{x.current=!0}),onFocus:Pg(e.onFocus,w=>{const R=!x.current;if(w.target===w.currentTarget&&R&&!s){const A=new CustomEvent(F_e,Izt);if(w.currentTarget.dispatchEvent(A),!A.defaultPrevented){const E=b().filter(M=>M.focusable),k=E.find(M=>M.active),L=E.find(M=>M.id===_),P=[k,L,...E].filter(Boolean).map(M=>M.ref.current);MVe(P,v)}}x.current=!1}),onBlur:Pg(e.onBlur,()=>d(!1))})})}),CVe="RovingFocusGroupItem",kVe=Ue.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:m,children:u,...h}=e,a=Azt(),l=m||a,v=Pzt(CVe,r),i=v.currentTabStopId===l,S=wVe(r),{onFocusableItemAdd:g,onFocusableItemRemove:p,currentTabStopId:_}=v;return Ue.useEffect(()=>{if(n)return g(),()=>p()},[n,g,p]),Oe.jsx(B_e.ItemSlot,{scope:r,id:l,focusable:n,active:o,children:Oe.jsx(w5.span,{tabIndex:i?0:-1,"data-orientation":v.orientation,...h,ref:t,onMouseDown:Pg(e.onMouseDown,c=>{n?v.onItemFocus(l):c.preventDefault()}),onFocus:Pg(e.onFocus,()=>v.onItemFocus(l)),onKeyDown:Pg(e.onKeyDown,c=>{if(c.key==="Tab"&&c.shiftKey){v.onItemShiftTab();return}if(c.target!==c.currentTarget)return;const s=Uzt(c,v.orientation,v.dir);if(s!==void 0){if(c.metaKey||c.ctrlKey||c.altKey||c.shiftKey)return;c.preventDefault();let f=S().filter(b=>b.focusable).map(b=>b.ref.current);if(s==="last")f.reverse();else if(s==="prev"||s==="next"){s==="prev"&&f.reverse();const b=f.indexOf(c.currentTarget);f=v.loop?$zt(f,b+1):f.slice(b+1)}setTimeout(()=>MVe(f))}}),children:typeof u=="function"?u({isCurrentTabStop:i,hasTabStop:_!=null}):u})})});kVe.displayName=CVe;var Bzt={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function zzt(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Uzt(e,t,r){const n=zzt(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Bzt[n]}function MVe(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function $zt(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var Hzt=AVe,Vzt=kVe;function Gzt(e){const[t,r]=Ue.useState(void 0);return SM(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const m=o[0];let u,h;if("borderBoxSize"in m){const a=m.borderBoxSize,l=Array.isArray(a)?a[0]:a;u=l.inlineSize,h=l.blockSize}else u=e.offsetWidth,h=e.offsetHeight;r({width:u,height:h})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}function jzt(e){const t=Ue.useRef({value:e,previous:e});return Ue.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function Yzt(e,t){return Ue.useReducer((r,n)=>t[r][n]??r,e)}var RVe=e=>{const{present:t,children:r}=e,n=Wzt(t),o=typeof r=="function"?r({present:n.isPresent}):Ue.Children.only(r),m=ZS(n.ref,Kzt(o));return typeof r=="function"||n.isPresent?Ue.cloneElement(o,{ref:m}):null};RVe.displayName="Presence";function Wzt(e){const[t,r]=Ue.useState(),n=Ue.useRef(null),o=Ue.useRef(e),m=Ue.useRef("none"),u=e?"mounted":"unmounted",[h,a]=Yzt(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Ue.useEffect(()=>{const l=ioe(n.current);m.current=h==="mounted"?l:"none"},[h]),SM(()=>{const l=n.current,v=o.current;if(v!==e){const S=m.current,g=ioe(l);e?a("MOUNT"):g==="none"||(l==null?void 0:l.display)==="none"?a("UNMOUNT"):a(v&&S!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),SM(()=>{if(t){let l;const v=t.ownerDocument.defaultView??window,i=g=>{const _=ioe(n.current).includes(CSS.escape(g.animationName));if(g.target===t&&_&&(a("ANIMATION_END"),!o.current)){const c=t.style.animationFillMode;t.style.animationFillMode="forwards",l=v.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=c)})}},S=g=>{g.target===t&&(m.current=ioe(n.current))};return t.addEventListener("animationstart",S),t.addEventListener("animationcancel",i),t.addEventListener("animationend",i),()=>{v.clearTimeout(l),t.removeEventListener("animationstart",S),t.removeEventListener("animationcancel",i),t.removeEventListener("animationend",i)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:Ue.useCallback(l=>{n.current=l?getComputedStyle(l):null,r(l)},[])}}function ioe(e){return(e==null?void 0:e.animationName)||"none"}function Kzt(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var z_e="Radio",[Xzt,NVe]=aoe(z_e),[qzt,Zzt]=Xzt(z_e),IVe=Ue.forwardRef((e,t)=>{const{__scopeRadio:r,name:n,checked:o=!1,required:m,disabled:u,value:h="on",onCheck:a,form:l,...v}=e,[i,S]=Ue.useState(null),g=ZS(t,c=>S(c)),p=Ue.useRef(!1),_=i?l||!!i.closest("form"):!0;return Oe.jsxs(qzt,{scope:r,checked:o,disabled:u,children:[Oe.jsx(w5.button,{type:"button",role:"radio","aria-checked":o,"data-state":PVe(o),"data-disabled":u?"":void 0,disabled:u,value:h,...v,ref:g,onClick:Pg(e.onClick,c=>{o||a==null||a(),_&&(p.current=c.isPropagationStopped(),p.current||c.stopPropagation())})}),_&&Oe.jsx(DVe,{control:i,bubbles:!p.current,name:n,value:h,checked:o,required:m,disabled:u,form:l,style:{transform:"translateX(-100%)"}})]})});IVe.displayName=z_e;var LVe="RadioIndicator",OVe=Ue.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,m=Zzt(LVe,r);return Oe.jsx(RVe,{present:n||m.checked,children:Oe.jsx(w5.span,{"data-state":PVe(m.checked),"data-disabled":m.disabled?"":void 0,...o,ref:t})})});OVe.displayName=LVe;var Qzt="RadioBubbleInput",DVe=Ue.forwardRef(({__scopeRadio:e,control:t,checked:r,bubbles:n=!0,...o},m)=>{const u=Ue.useRef(null),h=ZS(u,m),a=jzt(r),l=Gzt(t);return Ue.useEffect(()=>{const v=u.current;if(!v)return;const i=window.HTMLInputElement.prototype,g=Object.getOwnPropertyDescriptor(i,"checked").set;if(a!==r&&g){const p=new Event("click",{bubbles:n});g.call(v,r),v.dispatchEvent(p)}},[a,r,n]),Oe.jsx(w5.input,{type:"radio","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:h,style:{...o.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});DVe.displayName=Qzt;function PVe(e){return e?"checked":"unchecked"}var Jzt=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],ooe="RadioGroup",[eUt,u8r]=aoe(ooe,[TVe,NVe]),FVe=TVe(),BVe=NVe(),[tUt,rUt]=eUt(ooe),zVe=Ue.forwardRef((e,t)=>{const{__scopeRadioGroup:r,name:n,defaultValue:o,value:m,required:u=!1,disabled:h=!1,orientation:a,dir:l,loop:v=!0,onValueChange:i,...S}=e,g=FVe(r),p=SVe(l),[_,c]=EVe({prop:m,defaultProp:o??null,onChange:i,caller:ooe});return Oe.jsx(tUt,{scope:r,name:n,required:u,disabled:h,value:_,onValueChange:c,children:Oe.jsx(Hzt,{asChild:!0,...g,orientation:a,dir:p,loop:v,children:Oe.jsx(w5.div,{role:"radiogroup","aria-required":u,"aria-orientation":a,"data-disabled":h?"":void 0,dir:p,...S,ref:t})})})});zVe.displayName=ooe;var UVe="RadioGroupItem",$Ve=Ue.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,m=rUt(UVe,r),u=m.disabled||n,h=FVe(r),a=BVe(r),l=Ue.useRef(null),v=ZS(t,l),i=m.value===o.value,S=Ue.useRef(!1);return Ue.useEffect(()=>{const g=_=>{Jzt.includes(_.key)&&(S.current=!0)},p=()=>S.current=!1;return document.addEventListener("keydown",g),document.addEventListener("keyup",p),()=>{document.removeEventListener("keydown",g),document.removeEventListener("keyup",p)}},[]),Oe.jsx(Vzt,{asChild:!0,...h,focusable:!u,active:i,children:Oe.jsx(IVe,{disabled:u,required:m.required,checked:i,...a,...o,name:m.name,ref:v,onCheck:()=>m.onValueChange(o.value),onKeyDown:Pg(g=>{g.key==="Enter"&&g.preventDefault()}),onFocus:Pg(o.onFocus,()=>{var g;S.current&&((g=l.current)==null||g.click())})})})});$Ve.displayName=UVe;var nUt="RadioGroupIndicator",HVe=Ue.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=BVe(r);return Oe.jsx(OVe,{...o,...n,ref:t})});HVe.displayName=nUt;var aUt=zVe,iUt=$Ve,oUt=HVe;function sUt({className:e,...t}){return Oe.jsx(aUt,{"data-slot":"radio-group",className:ga("grid gap-3",e),...t})}function lUt({className:e,...t}){return Oe.jsx(iUt,{"data-slot":"radio-group-item",className:ga("border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:Oe.jsx(oUt,{"data-slot":"radio-group-indicator",className:"relative flex items-center justify-center",children:Oe.jsx(qT,{className:"fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2"})})})}const cUt=({id:e,hasError:t,description:r,label:n,tooltip:o,items:m=[],value:u,onChange:h,setField:a})=>Oe.jsx($2,{id:e,hasError:t,description:r,label:n,tooltip:o,children:Oe.jsx(sUt,{value:u,onValueChange:l=>{h(l),a==null||a(e,l)},children:m.map(l=>Oe.jsxs("div",{className:"flex items-center space-x-2",children:[Oe.jsx(lUt,{value:l.value,id:l.value}),Oe.jsx(dm,{htmlFor:l.value,children:l.label})]},l.value))})}),uUt=({id:e,hasError:t,description:r,label:n,tooltip:o,disabled:m=!1,items:u=[],value:h,onChange:a,setField:l,placeholder:v="Select",className:i})=>Oe.jsx($2,{id:e,hasError:t,description:r,label:n,tooltip:o,children:Oe.jsxs(Aie,{disabled:m,value:h==null?void 0:h.toString(),onValueChange:S=>{a(S),l==null||l(e,S)},children:[Oe.jsx(eM,{id:e,className:i,children:Oe.jsx(Cie,{placeholder:v})}),Oe.jsx(tM,{children:u.map(S=>Oe.jsx(PS,{value:S.value.toString(),children:Oe.jsxs("div",{className:"flex items-center gap-2",children:[S.icon,Oe.jsx("span",{children:S.label}),S.notificationCount&&Oe.jsx("span",{className:"ml-auto bg-muted rounded-full px-2 py-0.5 text-xs",children:S.notificationCount})]})},S.value))})]})});var VVe=["PageUp","PageDown"],GVe=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],jVe={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},T5="Slider",[U_e,dUt,fUt]=Zk(T5),[YVe,d8r]=Lc(T5,[fUt]),[hUt,soe]=YVe(T5),WVe=Ue.forwardRef((e,t)=>{const{name:r,min:n=0,max:o=100,step:m=1,orientation:u="horizontal",disabled:h=!1,minStepsBetweenThumbs:a=0,defaultValue:l=[n],value:v,onValueChange:i=()=>{},onValueCommit:S=()=>{},inverted:g=!1,form:p,..._}=e,c=Ue.useRef(new Set),s=Ue.useRef(0),f=u==="horizontal"?pUt:vUt,[b=[],x]=Nd({prop:v,defaultProp:l,onChange:E=>{var L;(L=[...c.current][s.current])==null||L.focus(),i(E)}}),y=Ue.useRef(b);function C(E){const k=xUt(b,E);A(E,k)}function w(E){A(E,s.current)}function R(){const E=y.current[s.current];b[s.current]!==E&&S(b)}function A(E,k,{commit:L}={commit:!1}){const I=wUt(m),P=TUt(Math.round((E-n)/m)*m+n,I),M=qk(P,[n,o]);x((F=[])=>{const N=yUt(F,M,k);if(SUt(N,a*m)){s.current=N.indexOf(M);const T=String(N)!==String(F);return T&&L&&S(N),T?N:F}else return F})}return Oe.jsx(hUt,{scope:e.__scopeSlider,name:r,disabled:h,min:n,max:o,valueIndexToChangeRef:s,thumbs:c.current,values:b,orientation:u,form:p,children:Oe.jsx(U_e.Provider,{scope:e.__scopeSlider,children:Oe.jsx(U_e.Slot,{scope:e.__scopeSlider,children:Oe.jsx(f,{"aria-disabled":h,"data-disabled":h?"":void 0,..._,ref:t,onPointerDown:qa(_.onPointerDown,()=>{h||(y.current=b)}),min:n,max:o,inverted:g,onSlideStart:h?void 0:C,onSlideMove:h?void 0:w,onSlideEnd:h?void 0:R,onHomeKeyDown:()=>!h&&A(n,0,{commit:!0}),onEndKeyDown:()=>!h&&A(o,b.length-1,{commit:!0}),onStepKeyDown:({event:E,direction:k})=>{if(!h){const P=VVe.includes(E.key)||E.shiftKey&&GVe.includes(E.key)?10:1,M=s.current,F=b[M],N=m*P*k;A(F+N,M,{commit:!0})}}})})})})});WVe.displayName=T5;var[KVe,XVe]=YVe(T5,{startEdge:"left",endEdge:"right",size:"width",direction:1}),pUt=Ue.forwardRef((e,t)=>{const{min:r,max:n,dir:o,inverted:m,onSlideStart:u,onSlideMove:h,onSlideEnd:a,onStepKeyDown:l,...v}=e,[i,S]=Ue.useState(null),g=co(t,f=>S(f)),p=Ue.useRef(void 0),_=L2(o),c=_==="ltr",s=c&&!m||!c&&m;function d(f){const b=p.current||i.getBoundingClientRect(),x=[0,b.width],C=V_e(x,s?[r,n]:[n,r]);return p.current=b,C(f-b.left)}return Oe.jsx(KVe,{scope:e.__scopeSlider,startEdge:s?"left":"right",endEdge:s?"right":"left",direction:s?1:-1,size:"width",children:Oe.jsx(qVe,{dir:_,"data-orientation":"horizontal",...v,ref:g,style:{...v.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:f=>{const b=d(f.clientX);u==null||u(b)},onSlideMove:f=>{const b=d(f.clientX);h==null||h(b)},onSlideEnd:()=>{p.current=void 0,a==null||a()},onStepKeyDown:f=>{const x=jVe[s?"from-left":"from-right"].includes(f.key);l==null||l({event:f,direction:x?-1:1})}})})}),vUt=Ue.forwardRef((e,t)=>{const{min:r,max:n,inverted:o,onSlideStart:m,onSlideMove:u,onSlideEnd:h,onStepKeyDown:a,...l}=e,v=Ue.useRef(null),i=co(t,v),S=Ue.useRef(void 0),g=!o;function p(_){const c=S.current||v.current.getBoundingClientRect(),s=[0,c.height],f=V_e(s,g?[n,r]:[r,n]);return S.current=c,f(_-c.top)}return Oe.jsx(KVe,{scope:e.__scopeSlider,startEdge:g?"bottom":"top",endEdge:g?"top":"bottom",size:"height",direction:g?1:-1,children:Oe.jsx(qVe,{"data-orientation":"vertical",...l,ref:i,style:{...l.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:_=>{const c=p(_.clientY);m==null||m(c)},onSlideMove:_=>{const c=p(_.clientY);u==null||u(c)},onSlideEnd:()=>{S.current=void 0,h==null||h()},onStepKeyDown:_=>{const s=jVe[g?"from-bottom":"from-top"].includes(_.key);a==null||a({event:_,direction:s?-1:1})}})})}),qVe=Ue.forwardRef((e,t)=>{const{__scopeSlider:r,onSlideStart:n,onSlideMove:o,onSlideEnd:m,onHomeKeyDown:u,onEndKeyDown:h,onStepKeyDown:a,...l}=e,v=soe(T5,r);return Oe.jsx(Zi.span,{...l,ref:t,onKeyDown:qa(e.onKeyDown,i=>{i.key==="Home"?(u(i),i.preventDefault()):i.key==="End"?(h(i),i.preventDefault()):VVe.concat(GVe).includes(i.key)&&(a(i),i.preventDefault())}),onPointerDown:qa(e.onPointerDown,i=>{const S=i.target;S.setPointerCapture(i.pointerId),i.preventDefault(),v.thumbs.has(S)?S.focus():n(i)}),onPointerMove:qa(e.onPointerMove,i=>{i.target.hasPointerCapture(i.pointerId)&&o(i)}),onPointerUp:qa(e.onPointerUp,i=>{const S=i.target;S.hasPointerCapture(i.pointerId)&&(S.releasePointerCapture(i.pointerId),m(i))})})}),ZVe="SliderTrack",QVe=Ue.forwardRef((e,t)=>{const{__scopeSlider:r,...n}=e,o=soe(ZVe,r);return Oe.jsx(Zi.span,{"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation,...n,ref:t})});QVe.displayName=ZVe;var $_e="SliderRange",JVe=Ue.forwardRef((e,t)=>{const{__scopeSlider:r,...n}=e,o=soe($_e,r),m=XVe($_e,r),u=Ue.useRef(null),h=co(t,u),a=o.values.length,l=o.values.map(S=>tGe(S,o.min,o.max)),v=a>1?Math.min(...l):0,i=100-Math.max(...l);return Oe.jsx(Zi.span,{"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0,...n,ref:h,style:{...e.style,[m.startEdge]:v+"%",[m.endEdge]:i+"%"}})});JVe.displayName=$_e;var H_e="SliderThumb",eGe=Ue.forwardRef((e,t)=>{const r=dUt(e.__scopeSlider),[n,o]=Ue.useState(null),m=co(t,h=>o(h)),u=Ue.useMemo(()=>n?r().findIndex(h=>h.ref.current===n):-1,[r,n]);return Oe.jsx(mUt,{...e,ref:m,index:u})}),mUt=Ue.forwardRef((e,t)=>{const{__scopeSlider:r,index:n,name:o,...m}=e,u=soe(H_e,r),h=XVe(H_e,r),[a,l]=Ue.useState(null),v=co(t,d=>l(d)),i=a?u.form||!!a.closest("form"):!0,S=yL(a),g=u.values[n],p=g===void 0?0:tGe(g,u.min,u.max),_=_Ut(n,u.values.length),c=S==null?void 0:S[h.size],s=c?bUt(c,p,h.direction):0;return Ue.useEffect(()=>{if(a)return u.thumbs.add(a),()=>{u.thumbs.delete(a)}},[a,u.thumbs]),Oe.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[h.startEdge]:`calc(${p}% + ${s}px)`},children:[Oe.jsx(U_e.ItemSlot,{scope:e.__scopeSlider,children:Oe.jsx(Zi.span,{role:"slider","aria-label":e["aria-label"]||_,"aria-valuemin":u.min,"aria-valuenow":g,"aria-valuemax":u.max,"aria-orientation":u.orientation,"data-orientation":u.orientation,"data-disabled":u.disabled?"":void 0,tabIndex:u.disabled?void 0:0,...m,ref:v,style:g===void 0?{display:"none"}:e.style,onFocus:qa(e.onFocus,()=>{u.valueIndexToChangeRef.current=n})})}),i&&Oe.jsx(gUt,{name:o??(u.name?u.name+(u.values.length>1?"[]":""):void 0),form:u.form,value:g},n)]})});eGe.displayName=H_e;var gUt=e=>{const{value:t,...r}=e,n=Ue.useRef(null),o=bie(t);return Ue.useEffect(()=>{const m=n.current,u=window.HTMLInputElement.prototype,a=Object.getOwnPropertyDescriptor(u,"value").set;if(o!==t&&a){const l=new Event("input",{bubbles:!0});a.call(m,t),m.dispatchEvent(l)}},[o,t]),Oe.jsx("input",{style:{display:"none"},...r,ref:n,defaultValue:t})};function yUt(e=[],t,r){const n=[...e];return n[r]=t,n.sort((o,m)=>o-m)}function tGe(e,t,r){const m=100/(r-t)*(e-t);return qk(m,[0,100])}function _Ut(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function xUt(e,t){if(e.length===1)return 0;const r=e.map(o=>Math.abs(o-t)),n=Math.min(...r);return r.indexOf(n)}function bUt(e,t,r){const n=e/2,m=V_e([0,50],[0,n]);return(n-m(t)*r)*r}function EUt(e){return e.slice(0,-1).map((t,r)=>e[r+1]-t)}function SUt(e,t){if(t>0){const r=EUt(e);return Math.min(...r)>=t}return!0}function V_e(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function wUt(e){return(String(e).split(".")[1]||"").length}function TUt(e,t){const r=Math.pow(10,t);return Math.round(e*r)/r}var rGe=WVe,AUt=QVe,CUt=JVe,kUt=eGe;const nGe=Ue.forwardRef(({className:e,...t},r)=>Oe.jsxs(rGe,{ref:r,className:ga("relative flex w-full touch-none select-none items-center data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",e),...t,children:[Oe.jsx(AUt,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:Oe.jsx(CUt,{className:"absolute h-full bg-primary"})}),Oe.jsx(kUt,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]}));nGe.displayName=rGe.displayName;const MUt=({description:e,hasError:t,id:r,label:n,tooltip:o,value:m,min:u=0,max:h=100,step:a=1,defaultValue:l=[0],disabled:v,onValueChange:i,setField:S,className:g,...p})=>{const _=c=>{const s=c[0];h&&s>h?S==null||S(r,h):u&&s<u?S==null||S(r,u):(i==null||i(c),S==null||S(r,s))};return Oe.jsx($2,{description:e,hasError:t,id:r,label:n,tooltip:o,notificationsProps:{showBadge:!0,count:m||0},children:Oe.jsx(nGe,{id:r,name:r,max:h,min:u,step:a,disabled:v,value:m!==void 0?[m]:l,onValueChange:_,className:ga("w-full",g),...p})})};var G_e="Switch",[RUt,f8r]=Lc(G_e),[NUt,IUt]=RUt(G_e),aGe=Ue.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:m,required:u,disabled:h,value:a="on",onCheckedChange:l,form:v,...i}=e,[S,g]=Ue.useState(null),p=co(t,f=>g(f)),_=Ue.useRef(!1),c=S?v||!!S.closest("form"):!0,[s=!1,d]=Nd({prop:o,defaultProp:m,onChange:l});return Oe.jsxs(NUt,{scope:r,checked:s,disabled:h,children:[Oe.jsx(Zi.button,{type:"button",role:"switch","aria-checked":s,"aria-required":u,"data-state":sGe(s),"data-disabled":h?"":void 0,disabled:h,value:a,...i,ref:p,onClick:qa(e.onClick,f=>{d(b=>!b),c&&(_.current=f.isPropagationStopped(),_.current||f.stopPropagation())})}),c&&Oe.jsx(LUt,{control:S,bubbles:!_.current,name:n,value:a,checked:s,required:u,disabled:h,form:v,style:{transform:"translateX(-100%)"}})]})});aGe.displayName=G_e;var iGe="SwitchThumb",oGe=Ue.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=IUt(iGe,r);return Oe.jsx(Zi.span,{"data-state":sGe(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})});oGe.displayName=iGe;var LUt=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,m=Ue.useRef(null),u=bie(r),h=yL(t);return Ue.useEffect(()=>{const a=m.current,l=window.HTMLInputElement.prototype,i=Object.getOwnPropertyDescriptor(l,"checked").set;if(u!==r&&i){const S=new Event("click",{bubbles:n});i.call(a,r),a.dispatchEvent(S)}},[u,r,n]),Oe.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:m,style:{...e.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function sGe(e){return e?"checked":"unchecked"}var lGe=aGe,OUt=oGe;const j_e=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(lGe,{className:ga("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent 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",e),...t,ref:r,children:Oe.jsx(OUt,{className:ga("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));j_e.displayName=lGe.displayName;const DUt=Object.freeze(Object.defineProperty({__proto__:null,Switch:j_e},Symbol.toStringTag,{value:"Module"})),PUt=({checked:e,description:t,disabled:r,hasError:n,id:o,label:m,setField:u,tooltip:h})=>Oe.jsx($2,{description:t,hasError:n,id:o,label:m,tooltip:h,children:Oe.jsx(j_e,{id:o,checked:e,disabled:r,onCheckedChange:a=>{u==null||u(o,a)},className:ga("data-[state=checked]:bg-primary",n&&"border-destructive")})}),Fg=Ue.forwardRef(({className:e,type:t,...r},n)=>Oe.jsx("input",{type:t,className:ga("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:n,...r}));Fg.displayName="Input";const FUt=Object.freeze(Object.defineProperty({__proto__:null,Input:Fg},Symbol.toStringTag,{value:"Module"})),BUt=({description:e,disabled:t,hasError:r,id:n,label:o,tooltip:m,value:u=[],setField:h,placeholder:a,...l})=>{const[v,i]=wn.useState(""),S=p=>{if(p.key==="Enter"&&v.trim()){if(p.preventDefault(),!u.includes(v.trim())){const _=[...u,v.trim()];h==null||h(n,_,!1)}i("")}},g=p=>{const _=u.filter(c=>c!==p);h==null||h(n,_,!1)};return Oe.jsx($2,{description:e,hasError:r,id:n,label:o,tooltip:m,children:Oe.jsxs("div",{className:"space-y-2",children:[Oe.jsx("div",{className:"flex flex-wrap gap-2",children:u.map(p=>Oe.jsxs(GS,{variant:"secondary",className:"flex items-center gap-1",children:[p,Oe.jsx(Uh,{className:"h-3 w-3 cursor-pointer",onClick:()=>!t&&g(p)})]},p))}),Oe.jsx(Fg,{...l,id:n,name:n,disabled:t,value:v,onChange:p=>i(p.target.value),onKeyDown:S,placeholder:a,className:"mt-1"})]})})},TM=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("textarea",{className:ga("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...t}));TM.displayName="Textarea";const zUt=Object.freeze(Object.defineProperty({__proto__:null,Textarea:TM},Symbol.toStringTag,{value:"Module"})),cGe=({description:e,disabled:t,hasError:r,id:n,label:o,tooltip:m,multiline:u,className:h,setField:a,...l})=>{const v=u?TM:Fg;return Oe.jsx($2,{description:e,hasError:r,id:n,label:o,tooltip:m,children:Oe.jsx(v,{disabled:t,id:n,name:n,...l,onChange:i=>a==null?void 0:a(n,i.target.value),className:`text-sm font-normal my-0.5 ${h??""}`})})},uGe=({element:e})=>{var t;switch(e==null?void 0:e.type){case"select":return Oe.jsx(uUt,{...e,value:e.value??""});case"slider":return Oe.jsx(MUt,{...e,value:e.value??0});case"tags":return Oe.jsx(BUt,{...e,value:e.value??[]});case"switch":return Oe.jsx(PUt,{...e,checked:!!e.value});case"textinput":return Oe.jsx(cGe,{...e,value:e.value??""});case"numberinput":return Oe.jsx(cGe,{...e,type:"number",value:((t=e.value)==null?void 0:t.toString())??"0"});case"multiselect":return Oe.jsx(fzt,{...e,value:e.value??[]});case"checkbox":return Oe.jsx(FFt,{...e,checked:!!e.value});case"radio":return Oe.jsx(cUt,{...e,value:e.value??""});default:return Oe.jsx(Oe.Fragment,{})}};function UUt(){var x;const{chatSettingsValue:e,chatSettingsInputs:t,chatSettingsDefaultValue:r}=By(),{updateChatSettings:n}=Rh(),[o,m]=zf(SHe),{handleSubmit:u,setValue:h,reset:a,watch:l}=nHe({defaultValues:e}),v=ss(ww);Ue.useEffect(()=>{a(e)},[e,a]);const i=y=>{y||(a(e),m(!1))},S=u(y=>{const C=GPt(y,w=>w!==""?w:null);n(C),v(C),m(!1)}),g=()=>{a(r)},p=()=>{},_=(y,C)=>{h(y,C)},c=l(),s=t.filter(y=>Array.isArray(y==null?void 0:y.inputs)&&y.inputs.length>0),d=t.filter(y=>!Array.isArray(y==null?void 0:y.inputs)||y.inputs.length===0),f=s.length>0,b=(x=s[0])==null?void 0:x.id;return Oe.jsx(P2,{open:o,onOpenChange:i,children:Oe.jsxs(Lg,{id:"chat-settings",className:`flex flex-col gap-6 p-6 ${f?"min-w-[25vw] h-[85vh]":"min-w-[20vw] max-h-[85vh]"}`,children:[Oe.jsxs(BS,{children:[Oe.jsx(zS,{children:Oe.jsx(Us,{path:"chat.settings.title"})}),Oe.jsx(Rie,{className:"sr-only",children:Oe.jsx(Us,{path:"chat.settings.customize"})})]}),f?Oe.jsxs(h_e,{defaultValue:b,className:"flex flex-col flex-grow min-h-0",children:[Oe.jsx(Zie,{className:"w-full flex justify-start",children:s.map(y=>Oe.jsx(vM,{value:y.id,children:y.label??y.id},y.id))}),s.map(y=>{var C;return Oe.jsx(mM,{value:y.id,className:"data-[state=active]:flex flex-col flex-grow overflow-y-auto gap-6 p-1 mt-4",children:(C=y.inputs)==null?void 0:C.map(w=>Oe.jsx(uGe,{element:{...w,value:c[w.id],onChange:p,setField:_}},w.id))},y.id)})]}):Oe.jsx("div",{className:"flex flex-col flex-grow overflow-y-auto gap-6 p-1",children:d.map(y=>Oe.jsx(uGe,{element:{...y,value:c[y.id],onChange:p,setField:_}},y.id))}),Oe.jsxs(oM,{children:[Oe.jsx(Ko,{variant:"outline",onClick:g,children:Oe.jsx(Us,{path:"common.actions.reset"})}),Oe.jsx("div",{className:"flex-1"}),Oe.jsx(Ko,{variant:"ghost",onClick:()=>i(!1),children:Oe.jsx(Us,{path:"common.actions.cancel"})}),Oe.jsx(Ko,{onClick:S,id:"confirm",autoFocus:!0,children:Oe.jsx(Us,{path:"common.actions.confirm"})})]})]})})}class dGe extends Ue.Component{constructor(){super(...arguments);y4e(this,"state",{hasError:!1,error:void 0})}static getDerivedStateFromError(r){return{hasError:!0,error:r.message}}componentDidCatch(r,n){console.error("Uncaught error:",r,n)}render(){if(this.state.hasError){const r=this.props.prefix?`${this.props.prefix}: ${this.state.error}`:this.state.error;return Oe.jsx("div",{className:"flex-grow",children:Oe.jsx(ex,{variant:"error",children:r})})}return this.props.children}}var fGe={exports:{}},hGe={};/**
* @license React
* use-sync-external-store-shim.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 A5=Ue;function $Ut(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var HUt=typeof Object.is=="function"?Object.is:$Ut,VUt=A5.useState,GUt=A5.useEffect,jUt=A5.useLayoutEffect,YUt=A5.useDebugValue;function WUt(e,t){var r=t(),n=VUt({inst:{value:r,getSnapshot:t}}),o=n[0].inst,m=n[1];return jUt(function(){o.value=r,o.getSnapshot=t,Y_e(o)&&m({inst:o})},[e,r,t]),GUt(function(){return Y_e(o)&&m({inst:o}),e(function(){Y_e(o)&&m({inst:o})})},[e]),YUt(r),r}function Y_e(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!HUt(e,r)}catch{return!0}}function KUt(e,t){return t()}var XUt=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?KUt:WUt;hGe.useSyncExternalStore=A5.useSyncExternalStore!==void 0?A5.useSyncExternalStore:XUt,fGe.exports=hGe;var qUt=fGe.exports;const V2=()=>{},Hh=V2(),W_e=Object,Ws=e=>e===Hh,fm=e=>typeof e=="function",G2=(e,t)=>({...e,...t}),ZUt=e=>fm(e.then),loe=new WeakMap;let QUt=0;const AM=e=>{const t=typeof e,r=e&&e.constructor,n=r==Date;let o,m;if(W_e(e)===e&&!n&&r!=RegExp){if(o=loe.get(e),o)return o;if(o=++QUt+"~",loe.set(e,o),r==Array){for(o="@",m=0;m<e.length;m++)o+=AM(e[m])+",";loe.set(e,o)}if(r==W_e){o="#";const u=W_e.keys(e).sort();for(;!Ws(m=u.pop());)Ws(e[m])||(o+=m+":"+AM(e[m])+",");loe.set(e,o)}}else o=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return o},Bg=new WeakMap,K_e={},coe={},X_e="undefined",uoe=typeof window!=X_e,q_e=typeof document!=X_e,JUt=()=>uoe&&typeof window.requestAnimationFrame!=X_e,pGe=(e,t)=>{const r=Bg.get(e);return[()=>!Ws(t)&&e.get(t)||K_e,n=>{if(!Ws(t)){const o=e.get(t);t in coe||(coe[t]=o),r[5](t,G2(o,n),o||K_e)}},r[6],()=>!Ws(t)&&t in coe?coe[t]:!Ws(t)&&e.get(t)||K_e]};let Z_e=!0;const e$t=()=>Z_e,[Q_e,J_e]=uoe&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[V2,V2],t$t=()=>{const e=q_e&&document.visibilityState;return Ws(e)||e!=="hidden"},r$t=e=>(q_e&&document.addEventListener("visibilitychange",e),Q_e("focus",e),()=>{q_e&&document.removeEventListener("visibilitychange",e),J_e("focus",e)}),n$t=e=>{const t=()=>{Z_e=!0,e()},r=()=>{Z_e=!1};return Q_e("online",t),Q_e("offline",r),()=>{J_e("online",t),J_e("offline",r)}},a$t={isOnline:e$t,isVisible:t$t},i$t={initFocus:r$t,initReconnect:n$t},vGe=!wn.useId,CM=!uoe||"Deno"in window,o$t=e=>JUt()?window.requestAnimationFrame(e):setTimeout(e,1),exe=CM?Ue.useEffect:Ue.useLayoutEffect,txe=typeof navigator<"u"&&navigator.connection,mGe=!CM&&txe&&(["slow-2g","2g"].includes(txe.effectiveType)||txe.saveData),rxe=e=>{if(fm(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?AM(e):"",[e,t]};let s$t=0;const nxe=()=>++s$t,gGe=0,yGe=1,_Ge=2;var kM={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:gGe,MUTATE_EVENT:_Ge,RECONNECT_EVENT:yGe};async function xGe(...e){const[t,r,n,o]=e,m=G2({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let u=m.populateCache;const h=m.rollbackOnError;let a=m.optimisticData;const l=S=>typeof h=="function"?h(S):h!==!1,v=m.throwOnError;if(fm(r)){const S=r,g=[],p=t.keys();for(const _ of p)!/^\$(inf|sub)\$/.test(_)&&S(t.get(_)._k)&&g.push(_);return Promise.all(g.map(i))}return i(r);async function i(S){const[g]=rxe(S);if(!g)return;const[p,_]=pGe(t,g),[c,s,d,f]=Bg.get(t),b=()=>{const L=c[g];return(fm(m.revalidate)?m.revalidate(p().data,S):m.revalidate!==!1)&&(delete d[g],delete f[g],L&&L[0])?L[0](_Ge).then(()=>p().data):p().data};if(e.length<3)return b();let x=n,y;const C=nxe();s[g]=[C,0];const w=!Ws(a),R=p(),A=R.data,E=R._c,k=Ws(E)?A:E;if(w&&(a=fm(a)?a(k,A):a,_({data:a,_c:k})),fm(x))try{x=x(k)}catch(L){y=L}if(x&&ZUt(x))if(x=await x.catch(L=>{y=L}),C!==s[g][0]){if(y)throw y;return x}else y&&w&&l(y)&&(u=!0,_({data:k,_c:Hh}));if(u&&!y)if(fm(u)){const L=u(x,k);_({data:L,error:Hh,_c:Hh})}else _({data:x,error:Hh,_c:Hh});if(s[g][1]=nxe(),Promise.resolve(b()).then(()=>{_({_c:Hh})}),y){if(v)throw y;return}return x}}const bGe=(e,t)=>{for(const r in e)e[r][0]&&e[r][0](t)},l$t=(e,t)=>{if(!Bg.has(e)){const r=G2(i$t,t),n={},o=xGe.bind(Hh,e);let m=V2;const u={},h=(v,i)=>{const S=u[v]||[];return u[v]=S,S.push(i),()=>S.splice(S.indexOf(i),1)},a=(v,i,S)=>{e.set(v,i);const g=u[v];if(g)for(const p of g)p(i,S)},l=()=>{if(!Bg.has(e)&&(Bg.set(e,[n,{},{},{},o,a,h]),!CM)){const v=r.initFocus(setTimeout.bind(Hh,bGe.bind(Hh,n,gGe))),i=r.initReconnect(setTimeout.bind(Hh,bGe.bind(Hh,n,yGe)));m=()=>{v&&v(),i&&i(),Bg.delete(e)}}};return l(),[e,o,l,m]}return[e,Bg.get(e)[4]]},c$t=(e,t,r,n,o)=>{const m=r.errorRetryCount,u=o.retryCount,h=~~((Math.random()+.5)*(1<<(u<8?u:8)))*r.errorRetryInterval;!Ws(m)&&u>m||setTimeout(n,h,o)},u$t=(e,t)=>AM(e)==AM(t),[EGe,d$t]=l$t(new Map),f$t=G2({onLoadingSlow:V2,onSuccess:V2,onError:V2,onErrorRetry:c$t,onDiscarded:V2,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:mGe?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:mGe?5e3:3e3,compare:u$t,isPaused:()=>!1,cache:EGe,mutate:d$t,fallback:{}},a$t),h$t=(e,t)=>{const r=G2(e,t);if(t){const{use:n,fallback:o}=e,{use:m,fallback:u}=t;n&&m&&(r.use=n.concat(m)),o&&u&&(r.fallback=G2(o,u))}return r},p$t=Ue.createContext({}),v$t="$inf$",SGe=uoe&&window.__SWR_DEVTOOLS_USE__,m$t=SGe?window.__SWR_DEVTOOLS_USE__:[],g$t=()=>{SGe&&(window.__SWR_DEVTOOLS_REACT__=wn)},y$t=e=>fm(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],_$t=()=>G2(f$t,Ue.useContext(p$t)),x$t=e=>(t,r,n)=>e(t,r&&((...m)=>{const[u]=rxe(t),[,,,h]=Bg.get(EGe);if(u.startsWith(v$t))return r(...m);const a=h[u];return Ws(a)?r(...m):(delete h[u],a)}),n),b$t=m$t.concat(x$t),E$t=e=>function(...r){const n=_$t(),[o,m,u]=y$t(r),h=h$t(n,u);let a=e;const{use:l}=h,v=(l||[]).concat(b$t);for(let i=v.length;i--;)a=v[i](a);return a(o,m||h.fetcher||null,h)},S$t=(e,t,r)=>{const n=t[e]||(t[e]=[]);return n.push(r),()=>{const o=n.indexOf(r);o>=0&&(n[o]=n[n.length-1],n.pop())}};g$t();const wGe=wn.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),axe={dedupe:!0},TGe=E$t((e,t,r)=>{const{cache:n,compare:o,suspense:m,fallbackData:u,revalidateOnMount:h,revalidateIfStale:a,refreshInterval:l,refreshWhenHidden:v,refreshWhenOffline:i,keepPreviousData:S}=r,[g,p,_,c]=Bg.get(n),[s,d]=rxe(e),f=Ue.useRef(!1),b=Ue.useRef(!1),x=Ue.useRef(s),y=Ue.useRef(t),C=Ue.useRef(r),w=()=>C.current,R=()=>w().isVisible()&&w().isOnline(),[A,E,k,L]=pGe(n,s),I=Ue.useRef({}).current,P=Ws(u)?r.fallback[s]:u,M=(ae,ie)=>{for(const he in I){const J=he;if(J==="data"){if(!o(ae[J],ie[J])&&(!Ws(ae[J])||!o(z,ie[J])))return!1}else if(ie[J]!==ae[J])return!1}return!0},F=Ue.useMemo(()=>{const ae=!s||!t?!1:Ws(h)?w().isPaused()||m?!1:Ws(a)?!0:a:h,ie=te=>{const ce=G2(te);return delete ce._k,ae?{isValidating:!0,isLoading:!0,...ce}:ce},he=A(),J=L(),Z=ie(he),le=he===J?Z:ie(J);let K=Z;return[()=>{const te=ie(A());return M(te,K)?(K.data=te.data,K.isLoading=te.isLoading,K.isValidating=te.isValidating,K.error=te.error,K):(K=te,te)},()=>le]},[n,s]),N=qUt.useSyncExternalStore(Ue.useCallback(ae=>k(s,(ie,he)=>{M(he,ie)||ae()}),[n,s]),F[0],F[1]),T=!f.current,D=g[s]&&g[s].length>0,O=N.data,U=Ws(O)?P:O,B=N.error,Y=Ue.useRef(U),z=S?Ws(O)?Y.current:O:U,V=D&&!Ws(B)?!1:T&&!Ws(h)?h:w().isPaused()?!1:m?Ws(U)?!1:a:Ws(U)||a,j=!!(s&&t&&T&&V),G=Ws(N.isValidating)?j:N.isValidating,W=Ws(N.isLoading)?j:N.isLoading,X=Ue.useCallback(async ae=>{const ie=y.current;if(!s||!ie||b.current||w().isPaused())return!1;let he,J,Z=!0;const le=ae||{},K=!_[s]||!le.dedupe,te=()=>vGe?!b.current&&s===x.current&&f.current:s===x.current,ce={isValidating:!1,isLoading:!1},re=()=>{E(ce)},ee=()=>{const oe=_[s];oe&&oe[1]===J&&delete _[s]},de={isValidating:!0};Ws(A().data)&&(de.isLoading=!0);try{if(K&&(E(de),r.loadingTimeout&&Ws(A().data)&&setTimeout(()=>{Z&&te()&&w().onLoadingSlow(s,r)},r.loadingTimeout),_[s]=[ie(d),nxe()]),[he,J]=_[s],he=await he,K&&setTimeout(ee,r.dedupingInterval),!_[s]||_[s][1]!==J)return K&&te()&&w().onDiscarded(s),!1;ce.error=Hh;const oe=p[s];if(!Ws(oe)&&(J<=oe[0]||J<=oe[1]||oe[1]===0))return re(),K&&te()&&w().onDiscarded(s),!1;const fe=A().data;ce.data=o(fe,he)?fe:he,K&&te()&&w().onSuccess(he,s,r)}catch(oe){ee();const fe=w(),{shouldRetryOnError:me}=fe;fe.isPaused()||(ce.error=oe,K&&te()&&(fe.onError(oe,s,fe),(me===!0||fm(me)&&me(oe))&&(!w().revalidateOnFocus||!w().revalidateOnReconnect||R())&&fe.onErrorRetry(oe,s,fe,Te=>{const we=g[s];we&&we[0]&&we[0](kM.ERROR_REVALIDATE_EVENT,Te)},{retryCount:(le.retryCount||0)+1,dedupe:!0})))}return Z=!1,re(),!0},[s,n]),Q=Ue.useCallback((...ae)=>xGe(n,x.current,...ae),[]);if(exe(()=>{y.current=t,C.current=r,Ws(O)||(Y.current=O)}),exe(()=>{if(!s)return;const ae=X.bind(Hh,axe);let ie=0;const J=S$t(s,g,(Z,le={})=>{if(Z==kM.FOCUS_EVENT){const K=Date.now();w().revalidateOnFocus&&K>ie&&R()&&(ie=K+w().focusThrottleInterval,ae())}else if(Z==kM.RECONNECT_EVENT)w().revalidateOnReconnect&&R()&&ae();else{if(Z==kM.MUTATE_EVENT)return X();if(Z==kM.ERROR_REVALIDATE_EVENT)return X(le)}});return b.current=!1,x.current=s,f.current=!0,E({_k:d}),V&&(Ws(U)||CM?ae():o$t(ae)),()=>{b.current=!0,J()}},[s]),exe(()=>{let ae;function ie(){const J=fm(l)?l(A().data):l;J&&ae!==-1&&(ae=setTimeout(he,J))}function he(){!A().error&&(v||w().isVisible())&&(i||w().isOnline())?X(axe).then(ie):ie()}return ie(),()=>{ae&&(clearTimeout(ae),ae=-1)}},[l,v,i,s]),Ue.useDebugValue(z),m&&Ws(U)&&s){if(!vGe&&CM)throw new Error("Fallback data is required when using suspense in SSR.");y.current=t,C.current=r,b.current=!1;const ae=c[s];if(!Ws(ae)){const ie=Q(ae);wGe(ie)}if(Ws(B)){const ie=X(axe);Ws(z)||(ie.status="fulfilled",ie.value=!0),wGe(ie)}else throw B}return{mutate:Q,get data(){return I.data=!0,z},get error(){return I.error=!0,B},get isValidating(){return I.isValidating=!0,G},get isLoading(){return I.isLoading=!0,W}}}),doe=({className:e})=>Oe.jsx(Hk,{className:ga("h-4 w-4 animate-spin text-primary",e)}),w$t=({status:e})=>e==="running"?Oe.jsx(doe,{className:"!size-5"}):Oe.jsxs(Oe.Fragment,{children:[e==="done"&&Oe.jsx(Ig,{className:"!size-4 text-green-500 mt-[1px]"}),e==="ready"&&Oe.jsx($k,{className:"!size-4 mt-[1px]"}),e==="failed"&&Oe.jsx(Uh,{className:"!size-4 text-red-500 mt-[1px]"})]}),AGe=({index:e,task:t,allowHtml:r,latex:n})=>{const o={ready:"",running:"font-semibold",done:"text-muted-foreground",failed:"text-muted-foreground"},m=()=>{if(t.forId){const u=document.getElementById(`step-${t.forId}`);if(u){const h=u.querySelector("div");h&&(h.classList.add("bg-card","rounded"),u.scrollIntoView({behavior:"smooth",block:"start",inline:"start"}),setTimeout(()=>{h.classList.remove("bg-card","rounded")},600))}}};return Oe.jsx("div",{className:`task task-status-${t.status}`,children:Oe.jsxs("div",{className:`w-full grid grid-cols-[auto_auto_1fr] items-start gap-1.5 font-medium py-0.5 px-1 text-sm leading-tight ${o[t.status]} ${t.forId?"cursor-pointer":"cursor-default"}`,onClick:m,children:[Oe.jsx("div",{className:"text-xs text-muted-foreground text-right pr-1 pt-[1px]",children:e}),Oe.jsx("div",{className:"flex items-start pt-[1px]",children:Oe.jsx(w$t,{status:t.status})}),Oe.jsx("div",{className:"min-w-0",children:Oe.jsx(OS,{allowHtml:r,latex:n,className:"max-w-none prose-sm text-left break-words [&_p]:m-0 [&_p]:leading-snug [&_div]:leading-snug [&_div]:mt-0 [&_strong]:font-semibold",children:t.title})})]})})},T$t=e=>fetch(e,{credentials:"include"}).then(t=>t.json()),CGe=({status:e})=>Oe.jsxs(Ik,{className:"flex flex-row items-center justify-between gap-2 p-3",children:[Oe.jsx("div",{className:"font-semibold",children:"Tasks"}),Oe.jsx(GS,{variant:"secondary",children:e||"?"})]}),A$t=({isMobile:e,isCopilot:t})=>{var S,g;const{tasklists:r}=By(),n=r[r.length-1],{config:o}=af(),m=(S=o==null?void 0:o.features)==null?void 0:S.unsafe_allow_html,u=(g=o==null?void 0:o.features)==null?void 0:g.latex,{error:h,data:a,isLoading:l}=TGe(n==null?void 0:n.url,T$t,{keepPreviousData:!0});if(!(n!=null&&n.url)||l&&!a||h)return null;const v=a;if(!v)return null;const i=v.tasks;if(e){let p=i.length-1;for(let c=0;c<i.length;c++)if(i[c].status==="running"||i[c].status==="ready"){p=c;break}const _=i==null?void 0:i[p];return Oe.jsx("aside",{className:ga("w-full tasklist-mobile",!t&&"md:hidden"),children:Oe.jsxs(Ng,{children:[Oe.jsx(CGe,{status:v.status}),_&&Oe.jsx($T,{className:"p-2.5",children:Oe.jsx(AGe,{index:p+1,task:_,allowHtml:m,latex:u})})]})})}return Oe.jsx("aside",{className:"hidden tasklist max-w-[21rem] flex-grow md:block overflow-y-auto mr-3 mb-3",children:Oe.jsxs(Ng,{className:"overflow-y-auto h-full",children:[Oe.jsx(CGe,{status:v==null?void 0:v.status}),Oe.jsx($T,{className:"flex flex-col gap-1 p-2.5",children:i==null?void 0:i.map((p,_)=>Oe.jsx(AGe,{index:_+1,task:p,allowHtml:m,latex:u},_))})]})})};function C$t(){const{t:e}=sm();return Oe.jsx("div",{className:"watermark",style:{display:"flex",alignItems:"center",textDecoration:"none"},children:Oe.jsx(OS,{className:"[&_p]:m-0 [&_p]:leading-snug [&_div]:leading-snug [&_div]:mt-0 [&_strong]:font-semibold text-xs text-muted-foreground",children:e("chat.watermark")})})}let foe;const k$t=new Uint8Array(16);function M$t(){if(!foe&&(foe=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!foe))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return foe(k$t)}const Dd=[];for(let e=0;e<256;++e)Dd.push((e+256).toString(16).slice(1));function R$t(e,t=0){return(Dd[e[t+0]]+Dd[e[t+1]]+Dd[e[t+2]]+Dd[e[t+3]]+"-"+Dd[e[t+4]]+Dd[e[t+5]]+"-"+Dd[e[t+6]]+Dd[e[t+7]]+"-"+Dd[e[t+8]]+Dd[e[t+9]]+"-"+Dd[e[t+10]]+Dd[e[t+11]]+Dd[e[t+12]]+Dd[e[t+13]]+Dd[e[t+14]]+Dd[e[t+15]]).toLowerCase()}const kGe={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function hoe(e,t,r){if(kGe.randomUUID&&!t&&!e)return kGe.randomUUID();e=e||{};const n=e.random||(e.rng||M$t)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,R$t(n)}const N$t=({className:e})=>Oe.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",className:e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Oe.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5677 3.5C11.2129 3.5 10.8847 3.68789 10.7051 3.99377L9.89391 5.37524C9.3595 6.28538 8.38603 6.84786 7.3304 6.85645L5.73417 6.86945C5.3794 6.87233 5.0527 7.06288 4.87559 7.3702L4.43693 8.13135C4.2603 8.43784 4.25877 8.81481 4.43291 9.12273L5.22512 10.5235C5.74326 11.4397 5.74326 12.5603 5.22512 13.4765L4.43291 14.8773C4.25877 15.1852 4.2603 15.5622 4.43693 15.8687L4.87559 16.6298C5.0527 16.9371 5.3794 17.1277 5.73417 17.1306L7.33042 17.1436C8.38605 17.1522 9.35952 17.7146 9.89393 18.6248L10.7051 20.0062C10.8847 20.3121 11.2129 20.5 11.5677 20.5H12.4378C12.7926 20.5 13.1208 20.3121 13.3004 20.0062L14.1116 18.6248C14.646 17.7146 15.6195 17.1522 16.6751 17.1436L18.2714 17.1306C18.6262 17.1277 18.9529 16.9371 19.13 16.6298L19.5687 15.8687C19.7453 15.5622 19.7468 15.1852 19.5727 14.8773L18.7805 13.4765C18.2623 12.5603 18.2623 11.4397 18.7805 10.5235L19.5727 9.12273C19.7468 8.81481 19.7453 8.43784 19.5687 8.13135L19.13 7.3702C18.9529 7.06288 18.6262 6.87233 18.2714 6.86945L16.6751 6.85645C15.6195 6.84786 14.646 6.28538 14.1116 5.37524L13.3004 3.99377C13.1208 3.68788 12.7926 3.5 12.4378 3.5H11.5677ZM8.97978 2.98131C9.5186 2.06365 10.5033 1.5 11.5677 1.5H12.4378C13.5022 1.5 14.4869 2.06365 15.0257 2.98131L15.8369 4.36278C16.015 4.66616 16.3395 4.85365 16.6914 4.85652L18.2877 4.86951C19.352 4.87818 20.3321 5.4498 20.8635 6.37177L21.3021 7.13292C21.832 8.05239 21.8366 9.18331 21.3142 10.1071L20.522 11.5078C20.3493 11.8132 20.3493 12.1868 20.522 12.4922L21.3142 13.893C21.8366 14.8167 21.832 15.9476 21.3021 16.8671L20.8635 17.6282C20.3321 18.5502 19.352 19.1218 18.2877 19.1305L16.6914 19.1435C16.3395 19.1464 16.015 19.3339 15.8369 19.6372L15.0257 21.0187C14.4869 21.9363 13.5022 22.5 12.4378 22.5H11.5677C10.5033 22.5 9.5186 21.9363 8.97978 21.0187L8.16863 19.6372C7.99049 19.3339 7.666 19.1464 7.31413 19.1435L5.71789 19.1305C4.65357 19.1218 3.67347 18.5502 3.14213 17.6282L2.70347 16.8671C2.17358 15.9476 2.16899 14.8167 2.6914 13.893L3.48361 12.4922C3.65632 12.1868 3.65632 11.8132 3.48361 11.5078L2.6914 10.1071C2.16899 9.18331 2.17358 8.05239 2.70347 7.13292L3.14213 6.37177C3.67347 5.4498 4.65357 4.87818 5.71789 4.86951L7.31411 4.85652C7.66599 4.85366 7.99048 4.66616 8.16862 4.36278L8.97978 2.98131Z",fill:"currentColor"}),Oe.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0028 10.5C11.1741 10.5 10.5024 11.1716 10.5024 12C10.5024 12.8284 11.1741 13.5 12.0028 13.5C12.8315 13.5 13.5032 12.8284 13.5032 12C13.5032 11.1716 12.8315 10.5 12.0028 10.5ZM8.50178 12C8.50178 10.067 10.0692 8.5 12.0028 8.5C13.9364 8.5 15.5038 10.067 15.5038 12C15.5038 13.933 13.9364 15.5 12.0028 15.5C10.0692 15.5 8.50178 13.933 8.50178 12Z",fill:"currentColor"})]});/**
* @remix-run/router v1.8.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/var MGe;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(MGe||(MGe={}));function I$t(e,t){throw new Error(t)}var RGe;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(RGe||(RGe={}));const NGe=["post","put","patch","delete"];new Set(NGe);const L$t=["get",...NGe];new Set(L$t);/**
* React Router v6.15.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/const IGe=Ue.createContext(null);function O$t(){return Ue.useContext(IGe)!=null}function D$t(){return O$t()||I$t(),Ue.useContext(IGe).location}new Promise(()=>{});function P$t(){const{search:e}=D$t();return Ue.useMemo(()=>new URLSearchParams(e),[e])}const ixe=768;function F$t(){const[e,t]=Ue.useState(void 0);return Ue.useEffect(()=>{const r=window.matchMedia(`(max-width: ${ixe-1}px)`),n=()=>{t(window.innerWidth<ixe)};return r.addEventListener("change",n),t(window.innerWidth<ixe),()=>r.removeEventListener("change",n)},[]),!!e}const oxe=Is({key:"Attachments",default:[]}),LGe=Is({key:"PersistentCommand",default:void 0});var OGe={exports:{}},B$t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",z$t=B$t,U$t=z$t;function DGe(){}function PGe(){}PGe.resetWarningCache=DGe;var $$t=function(){function e(n,o,m,u,h,a){if(a!==U$t){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:PGe,resetWarningCache:DGe};return r.PropTypes=r,r};OGe.exports=$$t();var sxe=OGe.exports;const ps=ec(sxe);var H$t={grad:.9,turn:360,rad:360/(2*Math.PI)},zg=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},ad=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},W0=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},FGe=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},BGe=function(e){return{r:W0(e.r,0,255),g:W0(e.g,0,255),b:W0(e.b,0,255),a:W0(e.a)}},lxe=function(e){return{r:ad(e.r),g:ad(e.g),b:ad(e.b),a:ad(e.a,3)}},V$t=/^#([0-9a-f]{3,8})$/i,poe=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},zGe=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,m=Math.max(t,r,n),u=m-Math.min(t,r,n),h=u?m===t?(r-n)/u:m===r?2+(n-t)/u:4+(t-r)/u:0;return{h:60*(h<0?h+6:h),s:m?u/m*100:0,v:m/255*100,a:o}},UGe=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var m=Math.floor(t),u=n*(1-r),h=n*(1-(t-m)*r),a=n*(1-(1-t+m)*r),l=m%6;return{r:255*[n,h,u,u,a,n][l],g:255*[a,n,n,h,u,u][l],b:255*[u,u,a,n,n,h][l],a:o}},$Ge=function(e){return{h:FGe(e.h),s:W0(e.s,0,100),l:W0(e.l,0,100),a:W0(e.a)}},HGe=function(e){return{h:ad(e.h),s:ad(e.s),l:ad(e.l),a:ad(e.a,3)}},VGe=function(e){return UGe((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},MM=function(e){return{h:(t=zGe(e)).h,s:(o=(200-(r=t.s))*(n=t.v)/100)>0&&o<200?r*n/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,r,n,o},G$t=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,j$t=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Y$t=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,W$t=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,cxe={string:[[function(e){var t=V$t.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?ad(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?ad(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=Y$t.exec(e)||W$t.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:BGe({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=G$t.exec(e)||j$t.exec(e);if(!t)return null;var r,n,o=$Ge({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(H$t[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return VGe(o)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,o=e.a,m=o===void 0?1:o;return zg(t)&&zg(r)&&zg(n)?BGe({r:Number(t),g:Number(r),b:Number(n),a:Number(m)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,o=e.a,m=o===void 0?1:o;if(!zg(t)||!zg(r)||!zg(n))return null;var u=$Ge({h:Number(t),s:Number(r),l:Number(n),a:Number(m)});return VGe(u)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,o=e.a,m=o===void 0?1:o;if(!zg(t)||!zg(r)||!zg(n))return null;var u=function(h){return{h:FGe(h.h),s:W0(h.s,0,100),v:W0(h.v,0,100),a:W0(h.a)}}({h:Number(t),s:Number(r),v:Number(n),a:Number(m)});return UGe(u)},"hsv"]]},GGe=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},K$t=function(e){return typeof e=="string"?GGe(e.trim(),cxe.string):typeof e=="object"&&e!==null?GGe(e,cxe.object):[null,void 0]},uxe=function(e,t){var r=MM(e);return{h:r.h,s:W0(r.s+100*t,0,100),l:r.l,a:r.a}},dxe=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},jGe=function(e,t){var r=MM(e);return{h:r.h,s:r.s,l:W0(r.l+100*t,0,100),a:r.a}},fxe=function(){function e(t){this.parsed=K$t(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return ad(dxe(this.rgba),2)},e.prototype.isDark=function(){return dxe(this.rgba)<.5},e.prototype.isLight=function(){return dxe(this.rgba)>=.5},e.prototype.toHex=function(){return t=lxe(this.rgba),r=t.r,n=t.g,o=t.b,u=(m=t.a)<1?poe(ad(255*m)):"","#"+poe(r)+poe(n)+poe(o)+u;var t,r,n,o,m,u},e.prototype.toRgb=function(){return lxe(this.rgba)},e.prototype.toRgbString=function(){return t=lxe(this.rgba),r=t.r,n=t.g,o=t.b,(m=t.a)<1?"rgba("+r+", "+n+", "+o+", "+m+")":"rgb("+r+", "+n+", "+o+")";var t,r,n,o,m},e.prototype.toHsl=function(){return HGe(MM(this.rgba))},e.prototype.toHslString=function(){return t=HGe(MM(this.rgba)),r=t.h,n=t.s,o=t.l,(m=t.a)<1?"hsla("+r+", "+n+"%, "+o+"%, "+m+")":"hsl("+r+", "+n+"%, "+o+"%)";var t,r,n,o,m},e.prototype.toHsv=function(){return t=zGe(this.rgba),{h:ad(t.h),s:ad(t.s),v:ad(t.v),a:ad(t.a,3)};var t},e.prototype.invert=function(){return K0({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),K0(uxe(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),K0(uxe(this.rgba,-t))},e.prototype.grayscale=function(){return K0(uxe(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),K0(jGe(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),K0(jGe(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?K0({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):ad(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=MM(this.rgba);return typeof t=="number"?K0({h:t,s:r.s,l:r.l,a:r.a}):ad(r.h)},e.prototype.isEqual=function(t){return this.toHex()===K0(t).toHex()},e}(),K0=function(e){return e instanceof fxe?e:new fxe(e)},YGe=[],X$t=function(e){e.forEach(function(t){YGe.indexOf(t)<0&&(t(fxe,cxe),YGe.push(t))})};function q$t(e,t){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},n={};for(var o in r)n[r[o]]=o;var m={};e.prototype.toName=function(u){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var h,a,l=n[this.toHex()];if(l)return l;if(u!=null&&u.closest){var v=this.toRgb(),i=1/0,S="black";if(!m.length)for(var g in r)m[g]=new e(r[g]).toRgb();for(var p in r){var _=(h=v,a=m[p],Math.pow(h.r-a.r,2)+Math.pow(h.g-a.g,2)+Math.pow(h.b-a.b,2));_<i&&(i=_,S=p)}return S}},t.string.push([function(u){var h=u.toLowerCase(),a=h==="transparent"?"#0000":r[h];return a?new e(a).toRgb():null},"name"])}var Z$t=1/0,Q$t="[object Symbol]",J$t=typeof Ns=="object"&&Ns&&Ns.Object===Object&&Ns,eHt=typeof self=="object"&&self&&self.Object===Object&&self,tHt=J$t||eHt||Function("return this")(),rHt=Object.prototype,nHt=0,aHt=rHt.toString,WGe=tHt.Symbol,KGe=WGe?WGe.prototype:void 0,XGe=KGe?KGe.toString:void 0;function iHt(e){if(typeof e=="string")return e;if(sHt(e))return XGe?XGe.call(e):"";var t=e+"";return t=="0"&&1/e==-Z$t?"-0":t}function oHt(e){return!!e&&typeof e=="object"}function sHt(e){return typeof e=="symbol"||oHt(e)&&aHt.call(e)==Q$t}function lHt(e){return e==null?"":iHt(e)}function cHt(e){var t=++nHt;return lHt(e)+t}var uHt=cHt;const dHt=ec(uHt);var fHt={"3d":wn.createElement("path",{d:"M18 14.625V3.375L9 0 0 3.375v11.25L9 18l9-3.375zM9 2.136l5.918 2.22-5.98 2.242-5.919-2.22L9 2.137zM2 13.239V5.065l6.438 2.414v8.174L2 13.24zM9.438 15.7L16 13.239V5.018l-6.563 2.46V15.7z",transform:"translate(15 10)",fillRule:"evenodd"}),acrobat:wn.createElement("path",{d:"M10.15 1.095C9.938.33 9.42-.051 8.984.005c-.528.068-1.09.382-1.314.876-.63 1.416.685 5.582.887 6.279-1.28 3.863-5.66 11.5-7.806 12.017-.045-.505.225-1.965 3.055-3.785.146-.157.315-.348.393-.472-2.392 1.168-5.492 3.044-3.628 4.448.102.079.259.146.439.213 1.426.528 3.425-1.201 5.435-5.121 2.213-.73 3.999-1.28 6.526-1.662 2.762 1.875 4.616 2.257 5.874 1.774.348-.135.898-.573 1.055-1.145-1.022 1.258-3.414.382-5.323-.82 1.763-.191 3.582-.303 4.369-.056 1 .314.965.808.954.876.079-.27.191-.708-.022-1.056-.842-1.37-4.706-.573-6.11-.427-2.212-1.336-3.74-3.717-4.358-5.436.573-2.212 1.19-3.818.742-5.413zm-.954 4.638C8.826 4.42 8.309 1.5 9.14.556c1.628.932.618 3.144.056 5.177zm3.044 6.514c-2.134.393-3.583.944-5.66 1.764.617-1.202 1.785-4.268 2.346-6.29.787 1.573 1.741 3.111 3.314 4.526z",transform:"translate(14 9)",fillRule:"evenodd"}),android:wn.createElement("path",{d:"M17.6,9.48l1.84-3.18c0.16-0.31,0.04-0.69-0.26-0.85c-0.29-0.15-0.65-0.06-0.83,0.22l-1.88,3.24 c-2.86-1.21-6.08-1.21-8.94,0L5.65,5.67c-0.19-0.29-0.58-0.38-0.87-0.2C4.5,5.65,4.41,6.01,4.56,6.3L6.4,9.48 C3.3,11.25,1.28,14.44,1,18h22C22.72,14.44,20.7,11.25,17.6,9.48z M7,15.25c-0.69,0-1.25-0.56-1.25-1.25 c0-0.69,0.56-1.25,1.25-1.25S8.25,13.31,8.25,14C8.25,14.69,7.69,15.25,7,15.25z M17,15.25c-0.69,0-1.25-0.56-1.25-1.25 c0-0.69,0.56-1.25,1.25-1.25s1.25,0.56,1.25,1.25C18.25,14.69,17.69,15.25,17,15.25z",transform:"translate(12 8)"}),audio:wn.createElement("path",{d:"M.25 4.75v4.5h3L7 13V1L3.25 4.75h-3zM10.375 7A3.375 3.375 0 0 0 8.5 3.977v6.037A3.355 3.355 0 0 0 10.375 7zM8.5.421v1.545A5.254 5.254 0 0 1 12.25 7a5.254 5.254 0 0 1-3.75 5.032v1.545A6.747 6.747 0 0 0 13.75 7 6.747 6.747 0 0 0 8.5.421z",transform:"translate(17 12)",fillRule:"evenodd"}),binary:wn.createElement("path",{d:"M2.338 6.112c1.192 0 1.928-1.072 1.928-2.68 0-1.56-.576-2.504-1.8-2.504C1.274.928.538 2 .538 3.608c0 1.56.576 2.504 1.8 2.504zM1.61 3.408c0-1.008.24-1.568.776-1.568.376 0 .616.336.728.888l-1.504.776v-.096zM2.418 5.2c-.368 0-.608-.32-.72-.856l1.496-.768v.056c0 1.008-.24 1.568-.776 1.568zm7.03.8l.088-.944H8.36V.896L7.272.984v.592l-1.184.112.024.824h1.16v2.544h-1.32V6zm5.199 0l.088-.944h-1.176V.896L12.47.984v.592l-1.184.112.024.824h1.16v2.544h-1.32V6zM4.25 14l.088-.944H3.162v-4.16l-1.088.088v.592L.89 9.688l.024.824h1.16v2.544H.754V14zm5.198 0l.088-.944H8.36v-4.16l-1.088.088v.592l-1.184.112.024.824h1.16v2.544h-1.32V14zm3.287.112c1.192 0 1.928-1.072 1.928-2.68 0-1.56-.576-2.504-1.8-2.504-1.192 0-1.928 1.072-1.928 2.68 0 1.56.576 2.504 1.8 2.504zm-.728-2.704c0-1.008.24-1.568.776-1.568.376 0 .616.336.728.888l-1.504.776v-.096zm.808 1.792c-.368 0-.608-.32-.72-.856l1.496-.768v.056c0 1.008-.24 1.568-.776 1.568z",transform:"translate(16 11)",fillRule:"evenodd"}),code:wn.createElement("path",{d:"M4.078 13.67c-1.875-.527-2.812-1.738-2.812-3.634V9.49C1.266 8.437.844 7.911 0 7.911V6.138c.844 0 1.266-.529 1.266-1.586v-.64c.015-.938.257-1.696.726-2.274C2.466 1.06 3.162.64 4.078.38l.492 1.375c-.656.25-.997.95-1.023 2.102v.695c0 1.167-.482 1.99-1.445 2.469.963.479 1.445 1.304 1.445 2.476v.688c.026 1.15.367 1.851 1.023 2.101l-.492 1.383zm7.844 0c1.875-.527 2.812-1.738 2.812-3.634V9.49c0-1.052.422-1.578 1.266-1.578V6.138c-.844 0-1.266-.529-1.266-1.586v-.64c-.015-.938-.257-1.696-.726-2.274-.474-.578-1.17-.998-2.086-1.258l-.492 1.375c.656.25.997.95 1.023 2.102v.695c0 1.167.482 1.99 1.445 2.469-.963.479-1.445 1.304-1.445 2.476v.688c-.026 1.15-.367 1.851-1.023 2.101l.492 1.383z",transform:"translate(16 13)",fillRule:"evenodd"}),code2:wn.createElement("path",{d:"M7.4 10.6L2.8 6l4.6-4.6L6 0 0 6l6 6 1.4-1.4zm5.2 0L17.2 6l-4.6-4.6L14 0l6 6-6 6-1.4-1.4z",transform:"translate(14 14)",fillRule:"evenodd"}),compressed:wn.createElement("path",{d:"M.25 0A.25.25 0 0 0 0 .25v1.5c0 .138.112.25.25.25h1.5A.25.25 0 0 0 2 1.75V.25A.25.25 0 0 0 1.75 0H.25zM1 17a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1H1zm0 4v3h2v-3H1zM2 2.25A.25.25 0 0 1 2.25 2h1.5a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25h-1.5A.25.25 0 0 1 2 3.75v-1.5zM.25 4a.25.25 0 0 0-.25.25v1.5c0 .138.112.25.25.25h1.5A.25.25 0 0 0 2 5.75v-1.5A.25.25 0 0 0 1.75 4H.25zM2 6.25A.25.25 0 0 1 2.25 6h1.5a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25h-1.5A.25.25 0 0 1 2 7.75v-1.5zM.25 8a.25.25 0 0 0-.25.25v1.5c0 .138.112.25.25.25h1.5A.25.25 0 0 0 2 9.75v-1.5A.25.25 0 0 0 1.75 8H.25zM2 10.25a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5zM.25 12a.25.25 0 0 0-.25.25v1.5c0 .138.112.25.25.25h1.5a.25.25 0 0 0 .25-.25v-1.5a.25.25 0 0 0-.25-.25H.25zM2 14.25a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5z",transform:"translate(15 1)",fillRule:"evenodd"}),document:wn.createElement("path",{d:"M12 4H0v2h12V4zM0 10h18V8H0v2zM0 0v2h18V0H0z",transform:"translate(15 15)",fillRule:"evenodd"}),drive:wn.createElement("path",{d:"M2.199.289A.5.5 0 0 1 2.652 0h8.696a.5.5 0 0 1 .453.289l1.867 4a.5.5 0 0 1-.453.711H.785a.5.5 0 0 1-.453-.711l1.867-4zM13 6H1a.752.752 0 0 0-.75.75v4.5c0 .412.338.75.75.75h12c.412 0 .75-.338.75-.75v-4.5A.752.752 0 0 0 13 6zm-9.75 4.5c-.825 0-1.5-.675-1.5-1.5s.675-1.5 1.5-1.5 1.5.675 1.5 1.5-.675 1.5-1.5 1.5z",transform:"translate(17 13)",fillRule:"evenodd"}),font:wn.createElement("path",{d:"M3.722 8.702l-.686 1.89c-.053.14-.094.28-.123.421-.03.135-.044.252-.044.352 0 .304.097.527.29.668.2.14.501.21.905.21h.414V13H.083v-.756h.343c.176 0 .325-.018.448-.053a.81.81 0 0 0 .334-.22c.1-.105.193-.249.281-.43.094-.182.197-.416.308-.704L5.787.15h1.406l4.07 11.136c.07.187.14.343.21.466.077.123.165.222.264.298.1.07.214.12.343.15.129.03.281.044.457.044h.237V13H7.826v-.756h.413c.72 0 1.081-.287 1.081-.862 0-.1-.014-.202-.044-.307a3.274 3.274 0 0 0-.105-.36l-.72-2.013H3.72zM7.009 4.65c-.188-.533-.36-1.031-.519-1.494a15.92 15.92 0 0 1-.378-1.354 7.12 7.12 0 0 1-.15.633 16.95 16.95 0 0 1-.395 1.283c-.082.229-.175.484-.28.765L4.063 7.796h4.061L7.009 4.65zm8.411 5.74c0 .562.117.984.351 1.265.24.275.61.413 1.108.413.363 0 .691-.059.984-.176.3-.117.551-.284.756-.5.211-.218.372-.481.483-.792.112-.31.168-.656.168-1.037V8.104l-1.152.053c-.51.023-.937.088-1.283.193-.34.1-.615.243-.826.43a1.546 1.546 0 0 0-.457.678c-.088.27-.132.58-.132.931zm2.18-6.32c-.346 0-.627.05-.844.15a1.182 1.182 0 0 0-.501.404 1.594 1.594 0 0 0-.237.624c-.041.24-.062.5-.062.782-.498 0-.879-.085-1.143-.255-.257-.17-.386-.463-.386-.879 0-.31.085-.574.255-.79.17-.218.401-.393.694-.528.299-.14.644-.243 1.037-.308a7.76 7.76 0 0 1 1.257-.097c.55 0 1.031.056 1.441.167.41.106.753.282 1.029.528.275.246.48.568.615.967.14.392.21.876.21 1.45v4.667c0 .252.021.46.062.624a.928.928 0 0 0 .194.395c.088.1.202.17.343.211.146.041.319.062.518.062h.053V13H19.7l-.281-1.547h-.15c-.187.252-.369.483-.544.694-.176.211-.37.393-.58.545-.211.152-.452.27-.721.352a3.053 3.053 0 0 1-.958.131c-.399 0-.77-.058-1.116-.175a2.369 2.369 0 0 1-.888-.519 2.516 2.516 0 0 1-.58-.896c-.14-.364-.211-.791-.211-1.284 0-.955.34-1.664 1.02-2.127.68-.462 1.707-.714 3.084-.755l1.495-.053V6.285a6.93 6.93 0 0 0-.053-.888 1.778 1.778 0 0 0-.229-.703 1.14 1.14 0 0 0-.51-.457c-.216-.111-.51-.167-.878-.167z",transform:"translate(13 12)",fillRule:"evenodd"}),image:wn.createElement("path",{d:"M13 0L9.25 5l2.85 3.8-1.6 1.2C8.81 7.75 6 4 6 4l-6 8h22L13 0z",transform:"translate(13 14)",fillRule:"evenodd"}),presentation:wn.createElement("path",{d:"M2 4H0v10c0 1.1.9 2 2 2h14v-2H2V4zm16-4H6C4.9 0 4 .9 4 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 10H6V2h12v8z",transform:"matrix(-1 0 0 1 34 12)",fillRule:"evenodd"}),settings:wn.createElement("path",{d:"M13.572 8.735c.03-.24.053-.48.053-.735s-.023-.495-.053-.735l1.583-1.237a.378.378 0 0 0 .09-.48l-1.5-2.595a.377.377 0 0 0-.457-.165l-1.868.75a5.48 5.48 0 0 0-1.268-.735L9.868.815A.366.366 0 0 0 9.5.5h-3a.366.366 0 0 0-.367.315l-.285 1.988a5.762 5.762 0 0 0-1.268.735l-1.868-.75a.366.366 0 0 0-.457.165l-1.5 2.595a.37.37 0 0 0 .09.48l1.583 1.237c-.03.24-.053.488-.053.735 0 .248.022.495.053.735L.845 9.973a.378.378 0 0 0-.09.48l1.5 2.595c.09.165.292.225.458.165l1.867-.75c.39.3.81.547 1.268.735l.285 1.987c.022.18.18.315.367.315h3a.366.366 0 0 0 .367-.315l.285-1.988a5.762 5.762 0 0 0 1.268-.734l1.867.75c.173.067.368 0 .458-.165l1.5-2.595a.378.378 0 0 0-.09-.48l-1.582-1.238zM8 10.625A2.628 2.628 0 0 1 5.375 8 2.628 2.628 0 0 1 8 5.375 2.628 2.628 0 0 1 10.625 8 2.628 2.628 0 0 1 8 10.625z",transform:"translate(16 11)",fillRule:"evenodd"}),spreadsheet:wn.createElement("path",{d:"M0 8h6V5H0v3zm0 5h6v-3H0v3zM0 3h6V0H0v3zm8 5h12V5H8v3zm0 5h12v-3H8v3zM8 0v3h12V0H8z",transform:"translate(14 14)",fillRule:"evenodd"}),vector:wn.createElement("path",{d:"M14.5 2V1a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v1H3.937a2 2 0 1 0 0 1h3.936A9 9 0 0 0 3 11v1h2v-1a7.003 7.003 0 0 1 4.594-6.576A1 1 0 0 0 10.5 5h3a1 1 0 0 0 .906-.576A7.003 7.003 0 0 1 19 11v1h2v-1a9 9 0 0 0-4.873-8h3.936a2 2 0 1 0 0-1H14.5zm-1-1h-3v3h3V1zM2 1.5a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm19 1a1 1 0 1 0 2 0 1 1 0 0 0-2 0z",transform:"translate(12 14)",fillRule:"evenodd"}),video:wn.createElement("path",{d:"M10.75 3.875V1.25A.752.752 0 0 0 10 .5H1a.752.752 0 0 0-.75.75v7.5c0 .412.338.75.75.75h9c.412 0 .75-.338.75-.75V6.125l3 3V.875l-3 3z",transform:"translate(17 14)"})};X$t([q$t]);var hHt={color:ps.string,extension:ps.string,fold:ps.bool,foldColor:ps.string,glyphColor:ps.string,gradientColor:ps.string,gradientOpacity:ps.number,labelColor:ps.string,labelTextColor:ps.string,labelUppercase:ps.bool,radius:ps.number,type:ps.oneOf(["3d","acrobat","android","audio","binary","code","code2","compressed","document","drive","font","image","presentation","settings","spreadsheet","vector","video"])},voe={WIDTH:40,HEIGHT:48},ll={WIDTH:voe.WIDTH,HEIGHT:voe.HEIGHT,X_OFFSET:0},Ug={HEIGHT:12},qGe=14,ZGe=function(t){var r=t.color,n=r===void 0?"whitesmoke":r,o=t.extension,m=t.fold,u=m===void 0?!0:m,h=t.foldColor,a=t.glyphColor,l=t.gradientColor,v=l===void 0?"white":l,i=t.gradientOpacity,S=i===void 0?.25:i,g=t.labelColor,p=t.labelTextColor,_=p===void 0?"white":p,c=t.labelUppercase,s=c===void 0?!1:c,d=t.radius,f=d===void 0?4:d,b=t.type,x=dHt();return wn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 "+voe.WIDTH+" "+voe.HEIGHT,width:"100%",style:{maxWidth:"100%"}},wn.createElement("defs",null,wn.createElement("clipPath",{id:"pageRadius"+x},wn.createElement("rect",{x:ll.X_OFFSET,y:"0",rx:f,ry:f,width:ll.WIDTH,height:ll.HEIGHT})),wn.createElement("clipPath",{id:"foldCrop"+x},wn.createElement("rect",{width:ll.WIDTH,height:Ug.HEIGHT,transform:"rotate(-45 0 "+Ug.HEIGHT+")"})),wn.createElement("linearGradient",{x1:"100%",y1:"0%",y2:"100%",id:"pageGradient"+x},wn.createElement("stop",{stopColor:v,stopOpacity:S,offset:"0%"}),wn.createElement("stop",{stopColor:v,stopOpacity:"0",offset:"66.67%"}))),wn.createElement("g",{id:"file",clipPath:"url(#pageRadius"+x+")"},u?wn.createElement(wn.Fragment,null,wn.createElement("path",{d:"M"+ll.X_OFFSET+" 0 h "+(ll.WIDTH-Ug.HEIGHT)+" L "+(ll.WIDTH+ll.X_OFFSET)+" "+Ug.HEIGHT+" v "+(ll.HEIGHT-Ug.HEIGHT)+" H "+ll.X_OFFSET+" Z",fill:n}),wn.createElement("path",{d:"M"+ll.X_OFFSET+" 0 h "+(ll.WIDTH-Ug.HEIGHT)+" L "+(ll.WIDTH+ll.X_OFFSET)+" "+Ug.HEIGHT+" v "+(ll.HEIGHT-Ug.HEIGHT)+" H "+ll.X_OFFSET+" Z",fill:"url(#pageGradient"+x+")"})):wn.createElement(wn.Fragment,null,wn.createElement("rect",{x:ll.X_OFFSET,y:"0",width:ll.WIDTH,height:ll.HEIGHT,fill:n}),wn.createElement("rect",{x:ll.X_OFFSET,y:"0",width:ll.WIDTH,height:ll.HEIGHT,fill:"url(#pageGradient"+x+")"}))),u&&wn.createElement("g",{transform:"translate(28 "+Ug.HEIGHT+") rotate(-90)"},wn.createElement("rect",{width:ll.WIDTH,height:ll.HEIGHT,fill:h||K0(n).darken(.1).toHex(),rx:f,ry:f,clipPath:"url(#foldCrop"+x+")"})),o&&wn.createElement(wn.Fragment,null,wn.createElement("g",{id:"label"+x},wn.createElement("rect",{fill:g||K0(n).darken(.3).toHex(),x:ll.X_OFFSET,y:ll.HEIGHT-qGe,width:ll.WIDTH,height:qGe,clipPath:"url(#pageRadius"+x+")"})),wn.createElement("g",{id:"labelText"+x,transform:"translate("+ll.X_OFFSET+" 34)"},wn.createElement("text",{x:ll.WIDTH/2,y:"10",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif",fontSize:"9",fill:_,textAnchor:"middle",style:{fontWeight:"bold",textAlign:"center",pointerEvents:"none",textTransform:s?"uppercase":"none",userSelect:"none"}},o))),b&&wn.createElement("g",{transform:"translate(-4 "+(o?0:6)+")",fill:a||K0(n).darken(.15).toHex()},fHt[b]))};ZGe.propTypes=hHt;var pHt={"3dm":{labelColor:"#8D1A11",type:"3d"},"3ds":{labelColor:"#5FB9AD",type:"3d"},"3g2":{type:"video"},"3gp":{type:"video"},"7zip":{type:"compressed"},aab:{type:"android",labelColor:"#3DDC84"},aac:{type:"audio"},aep:{type:"video"},ai:{color:"#423325",gradientOpacity:0,labelColor:"#423325",labelTextColor:"#FF7F18",labelUppercase:!0,foldColor:"#FF7F18",radius:2},aif:{type:"audio"},aiff:{type:"audio"},apk:{type:"android",labelColor:"#3DDC84"},apkm:{type:"android",labelColor:"#3DDC84"},apks:{type:"android",labelColor:"#3DDC84"},asf:{type:"video"},asp:{type:"code"},aspx:{type:"code"},avi:{type:"video"},bin:{type:"binary"},bmp:{type:"image"},c:{type:"code"},cpp:{type:"code"},cs:{type:"code"},css:{type:"code"},csv:{type:"spreadsheet"},cue:{type:"document"},dll:{type:"settings"},dmg:{type:"drive"},doc:{color:"#2C5898",foldColor:"#254A80",glyphColor:"rgba(255,255,255,0.4)",labelColor:"#2C5898",labelUppercase:!0,type:"document"},docx:{color:"#2C5898",foldColor:"#254A80",glyphColor:"rgba(255,255,255,0.4)",labelColor:"#2C5898",labelUppercase:!0,type:"document"},dwg:{type:"vector"},dxf:{type:"vector"},eot:{type:"font"},eps:{type:"vector"},exe:{type:"settings"},flac:{type:"audio"},flv:{type:"video"},fnt:{type:"font"},fodp:{type:"presentation"},fods:{type:"spreadsheet"},fodt:{type:"document"},fon:{type:"font"},gif:{type:"image"},gz:{type:"compressed"},htm:{type:"code"},html:{type:"code"},indd:{color:"#4B2B36",gradientOpacity:0,labelColor:"#4B2B36",labelTextColor:"#FF408C",labelUppercase:!0,foldColor:"#FF408C",radius:2},ini:{type:"settings"},java:{type:"code"},jpeg:{type:"image"},jpg:{type:"image"},js:{labelColor:"#F7DF1E",type:"code"},json:{type:"code"},jsx:{labelColor:"#00D8FF",type:"code"},m4a:{type:"audio"},m4v:{type:"video"},max:{labelColor:"#5FB9AD",type:"3d"},md:{type:"document"},mid:{type:"audio"},mkv:{type:"video"},mov:{type:"video"},mp3:{type:"audio"},mp4:{type:"video"},mpeg:{type:"video"},mpg:{type:"video"},obj:{type:"3d"},odp:{type:"presentation"},ods:{type:"spreadsheet"},odt:{type:"document"},ogg:{type:"audio"},ogv:{type:"video"},otf:{type:"font"},pdf:{labelColor:"#D93831",type:"acrobat"},php:{labelColor:"#8892BE",type:"code"},pkg:{type:"3d"},plist:{type:"settings"},png:{type:"image"},ppt:{color:"#D14423",foldColor:"#AB381D",glyphColor:"rgba(255,255,255,0.4)",labelColor:"#D14423",labelUppercase:!0,type:"presentation"},pptx:{color:"#D14423",foldColor:"#AB381D",glyphColor:"rgba(255,255,255,0.4)",labelColor:"#D14423",labelUppercase:!0,type:"presentation"},pr:{type:"video"},ps:{type:"vector"},psd:{color:"#34364E",gradientOpacity:0,labelColor:"#34364E",labelTextColor:"#31C5F0",labelUppercase:!0,foldColor:"#31C5F0",radius:2},py:{labelColor:"#FFDE57",type:"code"},rar:{type:"compressed"},rb:{labelColor:"#BB271A",type:"code"},rm:{type:"video"},rtf:{type:"document"},scss:{labelColor:"#C16A98",type:"code"},sitx:{type:"compressed"},skp:{type:"3d"},svg:{type:"vector"},swf:{type:"video"},sys:{type:"settings"},tar:{type:"compressed"},tex:{type:"document"},tif:{type:"image"},tiff:{type:"image"},ts:{labelColor:"#3478C7",type:"code"},ttf:{type:"font"},txt:{type:"document"},wav:{type:"audio"},webm:{type:"video"},wmv:{type:"video"},woff:{type:"font"},wpd:{type:"document"},wps:{type:"document"},xapk:{type:"android",labelColor:"#3DDC84"},xlr:{type:"spreadsheet"},xls:{color:"#1A754C",foldColor:"#16613F",glyphColor:"rgba(255,255,255,0.4)",labelColor:"#1A754C",labelUppercase:!0,type:"spreadsheet"},xlsx:{color:"#1A754C",foldColor:"#16613F",glyphColor:"rgba(255,255,255,0.4)",labelColor:"#1A754C",labelUppercase:!0,type:"spreadsheet"},yml:{type:"code"},zip:{type:"compressed"},zipx:{type:"compressed"}};const QGe=({name:e,mime:t,children:r})=>{let n;return e.includes(".")?n=e.split(".").pop().toLowerCase():n=t&&t.split("/").pop()||"txt",Oe.jsx(Du,{delayDuration:100,children:Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsxs("div",{className:"relative h-[58px]",children:[r,Oe.jsxs(Ng,{className:"h-full p-2 flex flex-row items-center gap-3 rounded-lg w-full max-w-[200px] border",children:[Oe.jsx("div",{className:"w-10",children:Oe.jsx(ZGe,{...pHt[n],extension:n})}),Oe.jsx("span",{className:"truncate w-[80%] font-medium text-sm font-medium",children:e})]})]})}),Oe.jsx(Ec,{children:Oe.jsx("p",{children:e})})]})})},vHt=({progress:e,onClick:t,children:r})=>{const u=2*Math.PI*11,h=u-e/100*u;return Oe.jsxs("div",{className:"relative inline-flex items-center justify-center",children:[Oe.jsxs("svg",{className:"absolute",width:24,height:24,viewBox:"0 0 24 24",children:[Oe.jsx("circle",{className:"text-muted-foreground/20",cx:24/2,cy:24/2,r:11,fill:"none",strokeWidth:2,stroke:"currentColor"}),Oe.jsx("circle",{className:"text-primary transition-all duration-300 ease-in-out",cx:24/2,cy:24/2,r:11,fill:"none",strokeWidth:2,stroke:"currentColor",strokeLinecap:"round",strokeDasharray:u,strokeDashoffset:h,transform:`rotate(-90 ${24/2} ${24/2})`})]}),Oe.jsx(Ko,{size:"icon",className:"w-6 h-6 rounded-full bg-card hover:bg-card text-foreground",onClick:t,children:r})]})},mHt=()=>{const{t:e}=sm(),t=ms(oxe);return t.length===0?null:Oe.jsx("div",{id:"attachments",className:"flex flex-row flex-wrap gap-4 w-fit",children:t.map(r=>{const n=!r.uploaded&&r.cancel,o=n?Oe.jsx(Du,{children:Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsx("div",{className:"absolute -right-2 -top-2",children:Oe.jsx(vHt,{progress:r.uploadProgress||0,onClick:()=>{var u;return(u=r.cancel)==null?void 0:u.call(r)},children:Oe.jsx(Uh,{className:"!size-3"})})})}),Oe.jsx(Ec,{children:e("chat.fileUpload.actions.cancelUpload")})]})}):null,m=!n&&r.remove?Oe.jsx(Du,{children:Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsx("div",{className:"absolute -right-2 -top-2",children:Oe.jsx(Ko,{size:"icon",className:"w-6 h-6 shadow-sm rounded-full border-4 bg-card hover:bg-card text-foreground light:border-muted",onClick:r.remove,children:Oe.jsx(Uh,{className:"!size-3"})})})}),Oe.jsx(Ec,{children:e("chat.fileUpload.actions.removeAttachment")})]})}):null;return Oe.jsxs(QGe,{name:r.name,mime:r.type,children:[o,m]},r.id)})})},C5=({name:e,...t})=>{const n=(m=>m.includes("-")?m.split("-").map(u=>u.charAt(0).toUpperCase()+u.slice(1).toLowerCase()).join(""):m===m.toUpperCase()?m.charAt(0).toUpperCase()+m.slice(1).toLowerCase():m.charAt(0).toUpperCase()+m.slice(1))(e),o=rze[n];return o?Oe.jsx(o,{...t}):(console.warn(`Icon "${e}" not found in Lucide icons`),null)},JGe=({command:e,isSelected:t,disabled:r,onCommandSelect:n,index:o})=>{const[m,u]=Ue.useState(!1),[h,a]=Ue.useState(!1),l=Ue.useRef(null);Ue.useEffect(()=>{const i=setTimeout(()=>a(!0),100);return()=>clearTimeout(i)},[]);const v=()=>{u(!0),n(t?void 0:e),setTimeout(()=>u(!1),300)};return Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsx(Ko,{ref:l,id:`command-${e.id}`,variant:"ghost",disabled:r,className:ga("command-button relative p-2 h-9 text-[13px] font-medium rounded-full","transition-all duration-300 ease-out","transform-gpu overflow-hidden","hover:bg-muted",t&&"text-command hover:text-command",m&&"animate-bounce-subtle",!h&&"opacity-0",h&&"opacity-100",t&&'after:content-[""] after:absolute after:bottom-[-2px] after:left-1/2 after:-translate-x-1/2 after:w-[30%] after:h-[2px] after:bg-command after:rounded-[1px] after:animate-expand-width'),onClick:v,style:{animationDelay:h?"0ms":`${o*50}ms`},children:Oe.jsxs("div",{className:"flex items-center",children:[Oe.jsx(C5,{name:e.icon,className:ga("!h-5 !w-5 transition-colors duration-200",t&&"text-command")}),Oe.jsx("span",{className:ga("ml-1.5 transition-all duration-300",t?"max-w-[200px] overflow-visible":"max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap max-sm:hidden"),children:e.id}),Oe.jsx("div",{className:ga("ml-1 transition-all duration-300 flex items-center",t?"w-4 opacity-60":"w-0 opacity-0"),children:Oe.jsx(Uh,{className:"!size-4 text-command"})})]})})}),Oe.jsx(Ec,{children:Oe.jsx("p",{children:e.description})})]})},gHt=({disabled:e=!1,selectedCommandId:t,onCommandSelect:r})=>{const n=ms(VA),o=n.filter(u=>!!u.button),m=n.find(u=>u.id===t&&!u.button);return!o.length&&!m?null:Oe.jsx("div",{className:"flex gap-1 ml-1 flex-wrap command-buttons-container",children:Oe.jsxs(Du,{children:[m&&Oe.jsx(JGe,{command:m,isSelected:!0,disabled:e,onCommandSelect:r,index:0},m.id),o.map((u,h)=>Oe.jsx(JGe,{command:u,isSelected:t===u.id,disabled:e,onCommandSelect:r,index:m?h+1:h},u.id))]})})},eje=({items:e,isOpen:t,onSelect:r,onClose:n})=>{const[o,m]=Ue.useState(0),[u,h]=Ue.useState(0);Ue.useEffect(()=>{t&&(m(0),h(0))},[t,e.length]);const a=Ue.useCallback(i=>{const S=Date.now();S-u>50&&(m(i),h(S))},[u]),l=Ue.useCallback(()=>{h(Date.now())},[]),v=Ue.useCallback(i=>{if(!t||e.length===0)return;const g=Date.now()-u>100;switch(i.key){case"ArrowDown":i.preventDefault(),i.stopPropagation(),g&&m(p=>p<e.length-1?p+1:0);break;case"ArrowUp":i.preventDefault(),i.stopPropagation(),g&&m(p=>p>0?p-1:e.length-1);break;case"Enter":{i.preventDefault(),i.stopPropagation();const p=e[o];p&&r(p);break}case"Tab":{i.preventDefault(),i.stopPropagation();const p=e[o];p&&r(p);break}case"Escape":i.preventDefault(),i.stopPropagation(),n&&n();break}},[t,e,o,u,r,n]);return{selectedIndex:o,handleMouseMove:a,handleMouseLeave:l,handleKeyDown:v}},yHt=({disabled:e=!1,selectedCommandId:t,onCommandSelect:r})=>{const{t:n}=sm(),o=ms(VA),[m,u]=Ue.useState(!1),[h,a]=Ue.useState(!1),[l,v]=Ue.useState(!1),i=Ue.useRef(null),S=Ue.useRef(null),g=hu.every(o.map(C=>!!C.button)),p=o.some(C=>C.id===t&&!C.button),_=o.filter(C=>!C.button),c=C=>{r(C),u(!1),y()},{selectedIndex:s,handleMouseMove:d,handleMouseLeave:f,handleKeyDown:b}=eje({items:_,isOpen:m,onSelect:c,onClose:()=>{var C;u(!1),y(),(C=S.current)==null||C.focus()}});Ue.useEffect(()=>{if(p){a(!0);const C=setTimeout(()=>a(!1),300);return()=>clearTimeout(C)}},[p]),Ue.useEffect(()=>()=>{i.current&&(clearTimeout(i.current),i.current=null)},[]),Ue.useEffect(()=>{m&&(i.current&&(clearTimeout(i.current),i.current=null),v(!1))},[m]);const x=()=>{e||(i.current&&clearTimeout(i.current),i.current=window.setTimeout(()=>{v(!0)},a2e))},y=()=>{i.current&&(clearTimeout(i.current),i.current=null),v(!1)};return!o.length||g?null:Oe.jsx("div",{className:ga("command-popover-wrapper","transition-all duration-300 ease-out",h&&"animate-command-shift"),children:Oe.jsxs(AL,{open:m,onOpenChange:C=>{u(C),C&&y()},children:[Oe.jsx(Du,{children:Oe.jsxs(Fc,{open:!m&&l,children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsx(CL,{asChild:!0,children:Oe.jsxs(Ko,{ref:S,id:"command-button",variant:"ghost",size:"sm","aria-haspopup":"menu","aria-expanded":m,"aria-controls":"command-popover",className:ga("flex items-center h-9 rounded-full font-medium text-[13px]","hover:bg-muted hover:dark:bg-muted transition-all duration-200 transition-width-padding","focus:outline-none focus-visible:ring-0 focus-visible:ring-offset-0",m&&"bg-muted/50",p?"min-w-[36px] px-0 gap-0":"px-3 gap-1.5"),disabled:e,onMouseEnter:x,onMouseLeave:y,children:[Oe.jsx(Yk,{className:ga("!size-5 transition-transform duration-200",m&&"rotate-45")}),!p&&Oe.jsx("span",{className:"overflow-hidden transition-all duration-300 opacity-100 w-auto max-w-[100px]",children:n("chat.commands.button")})]})})}),Oe.jsx(Ec,{children:Oe.jsx("p",{children:n(p?"chat.commands.changeTool":"chat.commands.availableTools")})})]})}),Oe.jsx(kL,{id:"command-popover",align:"start",sideOffset:12,"data-popover-content":!0,tabIndex:0,className:ga("p-2 rounded-lg border shadow-md bg-background","animate-in fade-in-0 zoom-in-95 duration-200","focus:outline-none"),onKeyDown:b,onMouseLeave:f,children:Oe.jsx(qS,{className:"overflow-hidden bg-transparent",children:Oe.jsx(bM,{maxItems:5,className:"custom-scrollbar",children:Oe.jsx(S5,{className:"p-0",children:_.map((C,w)=>Oe.jsxs(EM,{index:w,isSelected:w===s,onMouseMove:()=>d(w),onSelect:()=>c(C),className:"space-x-2",children:[Oe.jsx(C5,{name:C.icon,className:ga("!size-5 text-muted-foreground transition-transform duration-150",w===s&&"scale-110")}),Oe.jsxs("div",{className:"flex-1",children:[Oe.jsx("div",{className:"font-medium",children:C.id}),Oe.jsx("div",{className:"text-sm text-muted-foreground",children:C.description})]})]},C.id))})})})})]})})},tje=({maxHeight:e,onPaste:t,onEnter:r,placeholder:n,className:o,onKeyDown:m,onCompositionStart:u,onCompositionEnd:h,...a})=>{const l=Ue.useRef(null),[v,i]=Ue.useState(!1);Ue.useEffect(()=>{const _=l.current;if(!(!_||!t))return _.addEventListener("paste",t),()=>{_.removeEventListener("paste",t)}},[t]),Ue.useEffect(()=>{const _=l.current;if(!_||!e)return;_.style.height="40px";const c=Math.min(_.scrollHeight,e);_.style.height=`${c}px`},[a.value,e]);const S=_=>{m&&m(_),!_.defaultPrevented&&_.key==="Enter"&&!_.shiftKey&&r&&!v&&(_.preventDefault(),r(_))},g=_=>{i(!0),u&&u(_)},p=_=>{i(!1),h&&h(_)};return Oe.jsx(TM,{ref:l,...a,onKeyDown:S,onCompositionStart:g,onCompositionEnd:p,className:ga("p-0 min-h-[40px] h-[40px] rounded-none resize-none border-none overflow-y-auto shadow-none focus:ring-0 focus:ring-offset-0 focus-visible:ring-0 focus-visible:ring-offset-0",o),placeholder:n,style:{maxHeight:e}})},_Ht=Ue.forwardRef(({placeholder:e,id:t,className:r,autoFocus:n,selectedCommand:o,setSelectedCommand:m,onChange:u,onEnter:h,onPaste:a},l)=>{const v=ms(VA),[i,S]=Ue.useState(!1),[g,p]=Ue.useState(!1),[_,c]=Ue.useState(""),[s,d]=Ue.useState(""),f=Ue.useRef(null),b=_.toLowerCase().slice(1),x=v.filter(I=>I.id.toLowerCase().includes(b)).sort((I,P)=>{const M=I.id.toLowerCase().indexOf(b),F=P.id.toLowerCase().indexOf(b);return M-F}),{selectedIndex:y,handleMouseMove:C,handleMouseLeave:w,handleKeyDown:R}=eje({items:x,isOpen:g,onSelect:I=>{k(I)},onClose:()=>{p(!1),c("")}}),A=()=>{d(""),o!=null&&o.persistent||m(void 0),c(""),p(!1),u("")};Ue.useImperativeHandle(l,()=>({reset:A,setValueExtern:I=>{d(I),u(I)}})),Ue.useEffect(()=>{f.current&&n&&f.current.focus()},[n]);const E=I=>{const P=I.target.value;d(P),u(P);const M=P.split(" ");M.length===1&&M[0].startsWith("/")?(p(!0),c(M[0])):(p(!1),c(""))},k=I=>{p(!1),m(I);const P=s.replace(_,"").trimStart();d(P),u(P),c(""),setTimeout(()=>{var M;(M=f.current)==null||M.focus()},0)},L=I=>{g&&x.length>0&&(R(I),I.defaultPrevented)||I.key==="Enter"&&!I.shiftKey&&h&&!i&&!g&&(I.preventDefault(),h())};return Oe.jsxs("div",{className:"relative w-full",children:[Oe.jsx(tje,{ref:f,id:t,autoFocus:n,value:s,onChange:E,onKeyDown:L,onPaste:a,onCompositionStart:()=>S(!0),onCompositionEnd:()=>S(!1),placeholder:e,className:ga("w-full resize-none bg-transparent placeholder:text-muted-foreground focus:outline-none",r),maxHeight:250}),g&&x.length>0&&Oe.jsx("div",{className:"absolute z-50 left-0 bottom-full mb-3 animate-slide-up",onMouseLeave:w,children:Oe.jsx(qS,{className:"rounded-lg border shadow-md bg-background",children:Oe.jsx(bM,{maxItems:5,className:"custom-scrollbar",children:Oe.jsx(S5,{className:"p-2",children:x.map((I,P)=>Oe.jsxs(EM,{index:P,isSelected:P===y,onMouseMove:()=>C(P),onSelect:()=>k(I),className:"command-item space-x-2",children:[Oe.jsx(C5,{name:I.icon,className:ga("!size-5 text-muted-foreground transition-transform duration-150",P===y&&"scale-110")}),Oe.jsxs("div",{className:"flex-1",children:[Oe.jsx("div",{className:"font-medium",children:I.id}),Oe.jsx("div",{className:"text-sm text-muted-foreground",children:I.description})]})]},I.id))})})})})]})}),xHt=({onSuccess:e,onCancel:t,allowStdio:r,allowSse:n,allowHttp:o})=>{const m=Ue.useContext(vu),u=ms(Nv),h=ss(Tw),[a,l]=Ue.useState(""),v=r?"stdio":n?"sse":o?"streamable-http":"stdio",[i,S]=Ue.useState(v),[g,p]=Ue.useState(""),[_,c]=Ue.useState(""),[s,d]=Ue.useState(""),[f,b]=Ue.useState(""),[x,y]=Ue.useState(!1),C=()=>a.trim()?i==="stdio"?!!s.trim():i==="sse"?!!g.trim():i==="streamable-http"?!!_.trim():!1:!1,w=()=>{l(""),S(v),p(""),d(""),c(""),b("")},R=()=>{y(!0);let A;if(f.trim())try{A=JSON.parse(f.trim())}catch{Sl.error("Headers must be valid JSON"),y(!1);return}i==="stdio"?Sl.promise(m.connectStdioMCP(u,a,s).then(async E=>{const{success:k,mcp:L}=E;k&&L&&h(I=>[...I,{...L,status:"connected"}]),w(),e()}).finally(()=>y(!1)),{loading:"Adding MCP...",success:()=>"MCP added!",error:E=>Oe.jsx("span",{children:E.message})}):i==="sse"?Sl.promise(m.connectSseMCP(u,a,g,A).then(async E=>{const{success:k,mcp:L}=E;k&&L&&h(I=>[...I,{...L,status:"connected"}]),w(),e()}).finally(()=>y(!1)),{loading:"Adding MCP...",success:()=>"MCP added!",error:E=>Oe.jsx("span",{children:E.message})}):i==="streamable-http"&&Sl.promise(m.connectStreamableHttpMCP(u,a,_,A).then(async E=>{const{success:k,mcp:L}=E;k&&L&&h(I=>[...I,{...L,status:"connected"}]),w(),e()}).finally(()=>y(!1)),{loading:"Adding MCP...",success:()=>"MCP added!",error:E=>Oe.jsx("span",{children:E.message})})};return Oe.jsxs(Oe.Fragment,{children:[Oe.jsxs("div",{className:"flex flex-col gap-4",children:[Oe.jsxs("div",{className:"flex gap-2 w-full",children:[Oe.jsxs("div",{className:"flex flex-col flex-grow gap-2",children:[Oe.jsx(dm,{htmlFor:"server-name",className:"text-foreground/70 text-sm",children:"Name *"}),Oe.jsx(Fg,{id:"server-name",placeholder:"Example: Stripe",className:"w-full bg-background text-foreground border-input",value:a,onChange:A=>l(A.target.value),required:!0,disabled:x})]}),Oe.jsxs("div",{className:"flex flex-col gap-2",children:[Oe.jsx(dm,{htmlFor:"server-type",className:"text-foreground/70 text-sm",children:"Type *"}),Oe.jsxs(Aie,{value:i,onValueChange:S,disabled:x,children:[Oe.jsx(eM,{id:"server-type",className:"w-full bg-background text-foreground border-input",children:Oe.jsx(Cie,{placeholder:"Type"})}),Oe.jsxs(tM,{children:[n?Oe.jsx(PS,{value:"sse",children:"sse"}):null,r?Oe.jsx(PS,{value:"stdio",children:"stdio"}):null,o?Oe.jsx(PS,{value:"streamable-http",children:"streamable-http"}):null]})]})]})]}),Oe.jsxs("div",{className:"flex flex-col gap-2",children:[i==="stdio"&&Oe.jsxs(Oe.Fragment,{children:[Oe.jsx(dm,{htmlFor:"server-command",className:"text-foreground/70 text-sm",children:"Command *"}),Oe.jsx(Fg,{id:"server-command",placeholder:"Example: npx -y @stripe/mcp --tools=all --api-key=YOUR_STRIPE_SECRET_KEY",className:"w-full bg-background text-foreground border-input",value:s,onChange:A=>d(A.target.value),required:!0,disabled:x})]}),i==="sse"&&Oe.jsxs(Oe.Fragment,{children:[Oe.jsx(dm,{htmlFor:"server-url",className:"text-foreground/70 text-sm",children:"Server URL *"}),Oe.jsx(Fg,{id:"server-url",placeholder:"Example: http://localhost:5000",className:"w-full bg-background text-foreground border-input",value:g,onChange:A=>p(A.target.value),required:!0,disabled:x})]}),i==="streamable-http"&&Oe.jsxs(Oe.Fragment,{children:[Oe.jsx(dm,{htmlFor:"http-url",className:"text-foreground/70 text-sm",children:"HTTP URL *"}),Oe.jsx(Fg,{id:"http-url",placeholder:"Example: http://localhost:8000/mcp",className:"w-full bg-background text-foreground border-input",value:_,onChange:A=>c(A.target.value),required:!0,disabled:x})]}),(i==="sse"||i==="streamable-http")&&Oe.jsxs(Oe.Fragment,{children:[Oe.jsx(dm,{htmlFor:"headers",className:"text-foreground/70 text-sm",children:"Headers (JSON, optional)"}),Oe.jsx(Fg,{id:"headers",placeholder:'Example: {"Authorization": "Bearer TOKEN"}',className:"w-full bg-background text-foreground border-input font-mono",value:f,onChange:A=>b(A.target.value),disabled:x})]})]})]}),Oe.jsxs("div",{className:"flex justify-end items-center gap-2 mt-auto",children:[Oe.jsx(Ko,{variant:"outline",onClick:t,disabled:x,children:Oe.jsx(Us,{path:"common.actions.cancel"})}),Oe.jsx(Ko,{variant:"default",onClick:R,disabled:!C()||x,children:Oe.jsx(Us,{path:"common.actions.confirm"})})]})]})},bHt=({duration:e=1500,strokeWidth:t=2,className:r=""})=>{const n=Ue.useRef(null);return Ue.useEffect(()=>{n.current&&n.current.querySelectorAll("path").forEach(m=>{const u=m.getTotalLength();m.style.strokeDasharray=`${u}`,m.style.strokeDashoffset=`${u}`,m.animate([{strokeDashoffset:u},{strokeDashoffset:0}],{duration:e,easing:"ease-in-out",iterations:1/0,direction:"alternate"})})},[e]),Oe.jsx("div",{ref:n,children:Oe.jsx(t5,{className:r,strokeWidth:t})})};var rje="AlertDialog",[EHt,m8r]=Lc(rje,[lUe]),$g=lUe(),nje=e=>{const{__scopeAlertDialog:t,...r}=e,n=$g(t);return Oe.jsx(E2e,{...n,...r,modal:!0})};nje.displayName=rje;var SHt="AlertDialogTrigger",aje=Ue.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=$g(r);return Oe.jsx(S2e,{...o,...n,ref:t})});aje.displayName=SHt;var wHt="AlertDialogPortal",ije=e=>{const{__scopeAlertDialog:t,...r}=e,n=$g(t);return Oe.jsx(w2e,{...n,...r})};ije.displayName=wHt;var THt="AlertDialogOverlay",oje=Ue.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=$g(r);return Oe.jsx(rM,{...o,...n,ref:t})});oje.displayName=THt;var k5="AlertDialogContent",[AHt,CHt]=EHt(k5),sje=Ue.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...o}=e,m=$g(r),u=Ue.useRef(null),h=co(t,u),a=Ue.useRef(null);return Oe.jsx(K8t,{contentName:k5,titleName:lje,docsSlug:"alert-dialog",children:Oe.jsx(AHt,{scope:r,cancelRef:a,children:Oe.jsxs(nM,{role:"alertdialog",...m,...o,ref:h,onOpenAutoFocus:qa(o.onOpenAutoFocus,l=>{var v;l.preventDefault(),(v=a.current)==null||v.focus({preventScroll:!0})}),onPointerDownOutside:l=>l.preventDefault(),onInteractOutside:l=>l.preventDefault(),children:[Oe.jsx(Ofe,{children:n}),Oe.jsx(MHt,{contentRef:u})]})})})});sje.displayName=k5;var lje="AlertDialogTitle",cje=Ue.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=$g(r);return Oe.jsx(aM,{...o,...n,ref:t})});cje.displayName=lje;var uje="AlertDialogDescription",dje=Ue.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=$g(r);return Oe.jsx(iM,{...o,...n,ref:t})});dje.displayName=uje;var kHt="AlertDialogAction",fje=Ue.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=$g(r);return Oe.jsx(c5,{...o,...n,ref:t})});fje.displayName=kHt;var hje="AlertDialogCancel",pje=Ue.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=CHt(hje,r),m=$g(r),u=co(t,o);return Oe.jsx(c5,{...m,...n,ref:u})});pje.displayName=hje;var MHt=({contentRef:e})=>{const t=`\`${k5}\` requires a description for the component to be accessible for screen reader users.
You can add a description to the \`${k5}\` by passing a \`${uje}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${k5}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return Ue.useEffect(()=>{var n;document.getElementById((n=e.current)==null?void 0:n.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},RHt=nje,NHt=aje,IHt=ije,vje=oje,mje=sje,gje=fje,yje=pje,_je=cje,xje=dje;const LHt=RHt,OHt=NHt,DHt=IHt,bje=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(vje,{className:ga("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:r}));bje.displayName=vje.displayName;const Eje=Ue.forwardRef(({className:e,...t},r)=>Oe.jsxs(DHt,{container:window.cl_shadowRootElement,children:[Oe.jsx(bje,{}),Oe.jsx(mje,{ref:r,className:ga("fixed left-[50%] top-[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=open]:animate-in data-[state=closed]:animate-out 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%] sm:rounded-lg",e),...t})]}));Eje.displayName=mje.displayName;const Sje=({className:e,...t})=>Oe.jsx("div",{className:ga("flex flex-col space-y-2 text-center sm:text-left",e),...t});Sje.displayName="AlertDialogHeader";const wje=({className:e,...t})=>Oe.jsx("div",{className:ga("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});wje.displayName="AlertDialogFooter";const Tje=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(_je,{ref:r,className:ga("text-lg font-semibold",e),...t}));Tje.displayName=_je.displayName;const Aje=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(xje,{ref:r,className:ga("text-sm text-muted-foreground",e),...t}));Aje.displayName=xje.displayName;const Cje=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(gje,{ref:r,className:ga(rC(),e),...t}));Cje.displayName=gje.displayName;const kje=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(yje,{ref:r,className:ga(rC({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));kje.displayName=yje.displayName;const PHt=({onAddNewClick:e})=>{const t=Ue.useContext(vu),r=ms(Nv),[n,o]=zf(Tw),[m,u]=Ue.useState(!1),h=a=>{a.status==="connected"&&(u(!0),Sl.promise(t.disconnectMcp(r,a.name).then(()=>{}).finally(()=>u(!1)),{loading:"Removing MCP...",success:()=>"MCP removed!",error:l=>Oe.jsx("span",{children:l.message})})),o(l=>l.filter(v=>v.name!==a.name))};return!n||n.length===0?Oe.jsxs("div",{className:"text-center py-8 text-muted-foreground",children:[Oe.jsx("p",{children:"No MCP servers connected"}),Oe.jsx(Ko,{variant:"outline",className:"mt-4",onClick:e,children:"Add your first MCP server"})]}):Oe.jsx(Oe.Fragment,{children:n.map((a,l)=>Oe.jsx(FHt,{mcp:a,onDelete:h,isLoading:m},l))})},FHt=({mcp:e,onDelete:t,isLoading:r})=>Oe.jsxs("div",{className:"border rounded-lg p-4 flex flex-col gap-3",children:[Oe.jsxs("div",{className:"flex justify-between items-center",children:[Oe.jsxs("div",{className:"flex items-center gap-2",children:[Oe.jsx("div",{className:ga("h-2 w-2 rounded-full",e.status==="connected"&&"bg-green-500",e.status==="connecting"&&"bg-yellow-500",e.status==="failed"&&"bg-red-500")}),Oe.jsx("h3",{className:"font-medium",children:e.name}),Oe.jsx(GS,{variant:"outline",children:e.clientType})]}),Oe.jsxs("div",{className:"flex items-center",children:[Oe.jsx(zHt,{mcp:e}),Oe.jsx(BHt,{mcp:e,onDelete:t,disabled:r})]})]}),Oe.jsxs("div",{className:"flex gap-2 flex-wrap",children:[Oe.jsxs("div",{className:"font-medium text-sm text-muted-foreground flex items-center",children:[e.clientType==="stdio"?Oe.jsx(I2,{className:"h-4 w-4 mr-2"}):e.clientType==="streamable-http"?Oe.jsx(e5,{className:"h-4 w-4 mr-2 text-blue-500"}):Oe.jsx(e5,{className:"h-4 w-4 mr-2"}),e.clientType==="stdio"?"Command":e.clientType==="streamable-http"?"HTTP URL":"URL"]}),Oe.jsxs("div",{className:"flex items-center w-full bg-accent px-3 py-1 rounded gap-2",children:[Oe.jsx("pre",{className:"text-sm font-mono flex-grow truncate",children:e.command||e.url||"N/A"}),Oe.jsx(i2e,{content:e.command||e.url})]})]}),Oe.jsxs("div",{className:"font-medium text-sm text-muted-foreground flex items-center",children:[Oe.jsx(Xk,{className:"h-4 w-4 mr-2"}),"Tools"]}),Oe.jsx("div",{className:"flex flex-wrap gap-2",children:e.tools&&e.tools.map((n,o)=>Oe.jsx(GS,{variant:"secondary",children:n.name},o))})]}),BHt=({mcp:e,onDelete:t,disabled:r})=>Oe.jsxs(LHt,{children:[Oe.jsx(OHt,{asChild:!0,children:Oe.jsx(Ko,{variant:"ghost",size:"icon",className:"text-destructive",disabled:r,children:Oe.jsx(Wk,{className:"h-4 w-4"})})}),Oe.jsxs(Eje,{children:[Oe.jsxs(Sje,{children:[Oe.jsx(Tje,{children:"Are you sure?"}),Oe.jsxs(Aje,{children:['This will disconnect the MCP server "',e.name,'". This action cannot be undone.']})]}),Oe.jsxs(wje,{children:[Oe.jsx(kje,{children:Oe.jsx(Us,{path:"common.actions.cancel"})}),Oe.jsx(Cje,{className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",onClick:()=>t(e),children:Oe.jsx(Us,{path:"common.actions.confirm"})})]})]})]}),zHt=({mcp:e})=>{const t=Ue.useContext(vu),r=ss(Tw),n=ms(Nv),[o,m]=Ue.useState(!1),u=()=>{m(!0),r(a=>a.map(l=>l.name===e.name?{...l,status:"connecting"}:l));const h=(a,l)=>{r(v=>v.map(i=>i.name===e.name?{...i,status:a?"connected":"failed",tools:l?l.tools:i.tools}:i))};e.clientType==="stdio"?Sl.promise(t.connectStdioMCP(n,e.name,e.command).then(async a=>{const{success:l,mcp:v}=a;h(l,v)}).catch(()=>{h(!1)}).finally(()=>m(!1)),{loading:"Reconnecting MCP...",success:()=>"MCP reconnected!",error:a=>Oe.jsx("span",{children:a.message})}):e.clientType==="streamable-http"?Sl.promise(t.connectStreamableHttpMCP(n,e.name,e.url,e.headers).then(async a=>{const{success:l,mcp:v}=a;h(l,v)}).catch(()=>{h(!1)}).finally(()=>m(!1)),{loading:"Reconnecting MCP...",success:()=>"MCP reconnected!",error:a=>Oe.jsx("span",{children:a.message})}):Sl.promise(t.connectSseMCP(n,e.name,e.url,e.headers).then(async a=>{const{success:l,mcp:v}=a;h(l,v)}).catch(()=>{h(!1)}).finally(()=>m(!1)),{loading:"Reconnecting MCP...",success:()=>"MCP reconnected!",error:a=>Oe.jsx("span",{children:a.message})})};return Oe.jsx(Ko,{variant:"ghost",size:"icon",disabled:o,onClick:u,children:Oe.jsx(Gk,{className:"h-4 w-4"})})},UHt=({disabled:e})=>{var g,p,_,c,s,d,f;const{config:t}=af(),[r]=zf(Tw),[n,o]=Ue.useState(!1),[m,u]=Ue.useState("add"),h=!!((p=(g=t==null?void 0:t.features.mcp)==null?void 0:g.sse)!=null&&p.enabled),a=!!((c=(_=t==null?void 0:t.features.mcp)==null?void 0:_.stdio)!=null&&c.enabled),l=!!((d=(s=t==null?void 0:t.features.mcp)==null?void 0:s.streamable_http)!=null&&d.enabled);if(!!!((f=t==null?void 0:t.features.mcp)!=null&&f.enabled)||!h&&!a&&!l)return null;const i=r.filter(b=>b.status==="connected"),S=r.find(b=>b.status==="connecting");return Oe.jsxs(P2,{open:n,onOpenChange:o,children:[Oe.jsx(wUe,{children:Oe.jsx(Du,{children:Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsxs(Ko,{disabled:e,variant:"ghost",size:"icon",className:"hover:bg-muted relative",children:[S?Oe.jsx(bHt,{className:"!size-5"}):Oe.jsx(t5,{className:"!size-5"}),i.length>0&&Oe.jsx("span",{className:"absolute top-0.5 right-0.5 bg-primary text-primary-foreground text-[8px] font-medium rounded-full w-3 h-3 flex items-center justify-center",children:i.length})]})}),Oe.jsx(Ec,{children:Oe.jsx("p",{children:"MCP Servers"})})]})})}),Oe.jsxs(Lg,{id:"mcp-servers",className:"min-w-[50vw] max-h-[85vh] flex flex-col gap-6 bg-background overflow-y-auto",children:[Oe.jsx(BS,{children:Oe.jsx(zS,{children:"MCP Servers"})}),Oe.jsxs(h_e,{value:m,onValueChange:u,className:"w-full",children:[Oe.jsxs(Zie,{className:"grid grid-cols-2 mb-4",children:[Oe.jsx(vM,{value:"add",children:"Connect an MCP"}),Oe.jsx(vM,{value:"list",children:"My MCPs"})]}),Oe.jsx(mM,{value:"add",className:"flex flex-col flex-grow gap-6 p-1",children:Oe.jsx(xHt,{allowSse:h,allowStdio:a,allowHttp:l,onSuccess:()=>u("list"),onCancel:()=>o(!1)})}),Oe.jsx(mM,{value:"list",className:"flex flex-col gap-4",children:Oe.jsx(PHt,{onAddNewClick:()=>u("add")})})]})]})]})},$Ht=({mode:e,disabled:t=!1,selectedOptionId:r,onOptionSelect:n})=>{const o=Ue.useContext(vu),[m,u]=Ue.useState(!1),[h,a]=Ue.useState(0),l=Ue.useRef(null),v=e.options,i=v.find(d=>d.id===r)||v[0],S=d=>{n(e.id,d.id),u(!1)},g=d=>{if(!m){(d.key==="Enter"||d.key===" "||d.key==="ArrowDown")&&(d.preventDefault(),u(!0));return}switch(d.key){case"ArrowDown":d.preventDefault(),a(f=>(f+1)%v.length);break;case"ArrowUp":d.preventDefault(),a(f=>(f-1+v.length)%v.length);break;case"Enter":d.preventDefault(),v[h]&&S(v[h]);break;case"Escape":d.preventDefault(),u(!1);break}},p=d=>{a(d)},_=()=>{},c=(d,f)=>d?d.startsWith("/public")?Oe.jsx("img",{className:ga("rounded-md",f),src:o.buildEndpoint(d),alt:"Mode option icon"}):d.startsWith("http://")||d.startsWith("https://")?Oe.jsx("img",{className:ga("rounded-md",f),src:d,alt:"Mode option icon"}):Oe.jsx(C5,{name:d,className:f}):null;if(!v.length)return null;const s=m?XT:R2;return Oe.jsx("div",{className:"mode-picker-wrapper inline-flex items-center",ref:l,children:Oe.jsxs(AL,{open:m,onOpenChange:u,children:[Oe.jsx(CL,{asChild:!0,children:Oe.jsxs(Ko,{id:`mode-picker-trigger-${e.id}`,variant:"ghost",size:"sm",disabled:t,className:ga("inline-flex items-center gap-1.5 h-7 px-2 rounded-md","text-xs font-medium","hover:bg-muted transition-colors","focus:outline-none focus-visible:ring-1 focus-visible:ring-ring",m&&"bg-muted"),onKeyDown:g,children:[c(i==null?void 0:i.icon,"!size-4"),Oe.jsx("span",{className:"max-w-[120px] truncate",children:(i==null?void 0:i.name)||e.name}),Oe.jsx(s,{className:"!size-3.5 text-muted-foreground"})]})}),Oe.jsx(kL,{id:`mode-picker-popover-${e.id}`,align:"start",side:"top",sideOffset:4,className:ga("p-1 rounded-md border shadow-lg bg-popover","animate-in fade-in-0 zoom-in-95 duration-150","w-[280px]"),onKeyDown:g,onMouseLeave:_,children:Oe.jsx(qS,{className:"overflow-hidden bg-transparent",children:Oe.jsx(bM,{maxItems:6,className:"custom-scrollbar",children:Oe.jsx(S5,{className:"p-0",children:v.map((d,f)=>Oe.jsxs(EM,{index:f,isSelected:f===h,onMouseMove:()=>p(f),onSelect:()=>S(d),className:ga("flex items-start gap-2 px-2 py-2 cursor-pointer",r===d.id&&"bg-accent"),children:[c(d.icon,ga("!size-5 mt-0.5 text-muted-foreground flex-shrink-0",f===h&&"text-foreground")),Oe.jsxs("div",{className:"flex-1 min-w-0",children:[Oe.jsx("div",{className:"font-medium text-sm leading-tight",children:d.name}),d.description&&Oe.jsx("div",{className:"text-xs text-muted-foreground mt-0.5 leading-tight",children:d.description})]})]},d.id))})})})})]})})},HHt=({className:e})=>Oe.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",className:e,xmlns:"http://www.w3.org/2000/svg",children:Oe.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.1918 8.90615C15.6381 8.45983 16.3618 8.45983 16.8081 8.90615L21.9509 14.049C22.3972 14.4953 22.3972 15.2189 21.9509 15.6652C21.5046 16.1116 20.781 16.1116 20.3347 15.6652L17.1428 12.4734V22.2857C17.1428 22.9169 16.6311 23.4286 15.9999 23.4286C15.3688 23.4286 14.8571 22.9169 14.8571 22.2857V12.4734L11.6652 15.6652C11.2189 16.1116 10.4953 16.1116 10.049 15.6652C9.60265 15.2189 9.60265 14.4953 10.049 14.049L15.1918 8.90615Z",fill:"currentColor"})}),VHt=({className:e})=>Oe.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:e,xmlns:"http://www.w3.org/2000/svg",children:Oe.jsx("rect",{x:"7",y:"7",width:"10",height:"10",rx:"1.25",fill:"currentColor"})});function GHt({disabled:e,onSubmit:t}){const{loading:r}=By(),{firstInteraction:n}=Uy(),{stopTask:o}=Rh();return Oe.jsx(Du,{children:r&&n?Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsx(Ko,{id:"stop-button",onClick:o,size:"icon",className:"rounded-full h-8 w-8",children:Oe.jsx(VHt,{className:"!size-6"})})}),Oe.jsx(Ec,{children:Oe.jsx("p",{children:Oe.jsx(Us,{path:"chat.input.actions.stop"})})})]}):Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsx(Ko,{id:"chat-submit",disabled:e,onClick:t,size:"icon",className:"rounded-full h-8 w-8",children:Oe.jsx(HHt,{className:"!size-6"})})}),Oe.jsx(Ec,{children:Oe.jsx("p",{children:Oe.jsx(Us,{path:"chat.input.actions.send"})})})]})})}const jHt=({className:e})=>Oe.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",className:e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Oe.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 7C9 4.23858 11.2386 2 14 2C16.7614 2 19 4.23858 19 7V15C19 18.866 15.866 22 12 22C8.13401 22 5 18.866 5 15V9C5 8.44772 5.44772 8 6 8C6.55228 8 7 8.44772 7 9V15C7 17.7614 9.23858 20 12 20C14.7614 20 17 17.7614 17 15V7C17 5.34315 15.6569 4 14 4C12.3431 4 11 5.34315 11 7V15C11 15.5523 11.4477 16 12 16C12.5523 16 13 15.5523 13 15V9C13 8.44772 13.4477 8 14 8C14.5523 8 15 8.44772 15 9V15C15 16.6569 13.6569 18 12 18C10.3431 18 9 16.6569 9 15V7Z",fill:"currentColor"})});var YHt=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function RM(e,t){var r=WHt(e);if(typeof r.path!="string"){var n=e.webkitRelativePath;Object.defineProperty(r,"path",{value:typeof t=="string"?t:typeof n=="string"&&n.length>0?n:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}function WHt(e){var t=e.name,r=t&&t.lastIndexOf(".")!==-1;if(r&&!e.type){var n=t.split(".").pop().toLowerCase(),o=YHt.get(n);o&&Object.defineProperty(e,"type",{value:o,writable:!1,configurable:!1,enumerable:!0})}return e}var KHt=[".DS_Store","Thumbs.db"];function XHt(e){return mT(this,void 0,void 0,function(){return gT(this,function(t){return moe(e)&&qHt(e.dataTransfer)?[2,eVt(e.dataTransfer,e.type)]:ZHt(e)?[2,QHt(e)]:Array.isArray(e)&&e.every(function(r){return"getFile"in r&&typeof r.getFile=="function"})?[2,JHt(e)]:[2,[]]})})}function qHt(e){return moe(e)}function ZHt(e){return moe(e)&&moe(e.target)}function moe(e){return typeof e=="object"&&e!==null}function QHt(e){return hxe(e.target.files).map(function(t){return RM(t)})}function JHt(e){return mT(this,void 0,void 0,function(){var t;return gT(this,function(r){switch(r.label){case 0:return[4,Promise.all(e.map(function(n){return n.getFile()}))];case 1:return t=r.sent(),[2,t.map(function(n){return RM(n)})]}})})}function eVt(e,t){return mT(this,void 0,void 0,function(){var r,n;return gT(this,function(o){switch(o.label){case 0:return e.items?(r=hxe(e.items).filter(function(m){return m.kind==="file"}),t!=="drop"?[2,r]:[4,Promise.all(r.map(tVt))]):[3,2];case 1:return n=o.sent(),[2,Mje(Rje(n))];case 2:return[2,Mje(hxe(e.files).map(function(m){return RM(m)}))]}})})}function Mje(e){return e.filter(function(t){return KHt.indexOf(t.name)===-1})}function hxe(e){if(e===null)return[];for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(n)}return t}function tVt(e){if(typeof e.webkitGetAsEntry!="function")return Nje(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?Ije(t):Nje(e)}function Rje(e){return e.reduce(function(t,r){return EL(EL([],pNe(t),!1),pNe(Array.isArray(r)?Rje(r):[r]),!1)},[])}function Nje(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var r=RM(t);return Promise.resolve(r)}function rVt(e){return mT(this,void 0,void 0,function(){return gT(this,function(t){return[2,e.isDirectory?Ije(e):nVt(e)]})})}function Ije(e){var t=e.createReader();return new Promise(function(r,n){var o=[];function m(){var u=this;t.readEntries(function(h){return mT(u,void 0,void 0,function(){var a,l,v;return gT(this,function(i){switch(i.label){case 0:if(h.length)return[3,5];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,Promise.all(o)];case 2:return a=i.sent(),r(a),[3,4];case 3:return l=i.sent(),n(l),[3,4];case 4:return[3,6];case 5:v=Promise.all(h.map(rVt)),o.push(v),m(),i.label=6;case 6:return[2]}})})},function(h){n(h)})}m()})}function nVt(e){return mT(this,void 0,void 0,function(){return gT(this,function(t){return[2,new Promise(function(r,n){e.file(function(o){var m=RM(o,e.fullPath);r(m)},function(o){n(o)})})]})})}var aVt=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",o=(e.type||"").toLowerCase(),m=o.replace(/\/.*$/,"");return r.some(function(u){var h=u.trim().toLowerCase();return h.charAt(0)==="."?n.toLowerCase().endsWith(h):h.endsWith("/*")?m===h.replace(/\/.*$/,""):o===h})}return!0};function Lje(e){return sVt(e)||oVt(e)||Fje(e)||iVt()}function iVt(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oVt(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function sVt(e){if(Array.isArray(e))return pxe(e)}function Oje(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Dje(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Oje(Object(r),!0).forEach(function(n){Pje(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oje(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Pje(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function NM(e,t){return uVt(e)||cVt(e,t)||Fje(e,t)||lVt()}function lVt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fje(e,t){if(e){if(typeof e=="string")return pxe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pxe(e,t)}}function pxe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function cVt(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,m=!1,u,h;try{for(r=r.call(e);!(o=(u=r.next()).done)&&(n.push(u.value),!(t&&n.length===t));o=!0);}catch(a){m=!0,h=a}finally{try{!o&&r.return!=null&&r.return()}finally{if(m)throw h}}return n}}function uVt(e){if(Array.isArray(e))return e}var dVt="file-invalid-type",fVt="file-too-large",hVt="file-too-small",pVt="too-many-files",vVt=function(t){t=Array.isArray(t)&&t.length===1?t[0]:t;var r=Array.isArray(t)?"one of ".concat(t.join(", ")):t;return{code:dVt,message:"File type must be ".concat(r)}},Bje=function(t){return{code:fVt,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},zje=function(t){return{code:hVt,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},mVt={code:pVt,message:"Too many files"};function Uje(e,t){var r=e.type==="application/x-moz-file"||aVt(e,t);return[r,r?null:vVt(t)]}function $je(e,t,r){if(QS(e.size))if(QS(t)&&QS(r)){if(e.size>r)return[!1,Bje(r)];if(e.size<t)return[!1,zje(t)]}else{if(QS(t)&&e.size<t)return[!1,zje(t)];if(QS(r)&&e.size>r)return[!1,Bje(r)]}return[!0,null]}function QS(e){return e!=null}function gVt(e){var t=e.files,r=e.accept,n=e.minSize,o=e.maxSize,m=e.multiple,u=e.maxFiles,h=e.validator;return!m&&t.length>1||m&&u>=1&&t.length>u?!1:t.every(function(a){var l=Uje(a,r),v=NM(l,1),i=v[0],S=$je(a,n,o),g=NM(S,1),p=g[0],_=h?h(a):null;return i&&p&&!_})}function goe(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function yoe(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function Hje(e){e.preventDefault()}function yVt(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function _Vt(e){return e.indexOf("Edge/")!==-1}function xVt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return yVt(e)||_Vt(e)}function hm(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){for(var o=arguments.length,m=new Array(o>1?o-1:0),u=1;u<o;u++)m[u-1]=arguments[u];return t.some(function(h){return!goe(n)&&h&&h.apply(void 0,[n].concat(m)),goe(n)})}}function bVt(){return"showOpenFilePicker"in window}function EVt(e){if(QS(e)){var t=Object.entries(e).filter(function(r){var n=NM(r,2),o=n[0],m=n[1],u=!0;return Vje(o)||(console.warn('Skipped "'.concat(o,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),u=!1),(!Array.isArray(m)||!m.every(Gje))&&(console.warn('Skipped "'.concat(o,'" because an invalid file extension was provided.')),u=!1),u}).reduce(function(r,n){var o=NM(n,2),m=o[0],u=o[1];return Dje(Dje({},r),{},Pje({},m,u))},{});return[{description:"Files",accept:t}]}return e}function SVt(e){if(QS(e))return Object.entries(e).reduce(function(t,r){var n=NM(r,2),o=n[0],m=n[1];return[].concat(Lje(t),[o],Lje(m))},[]).filter(function(t){return Vje(t)||Gje(t)}).join(",")}function wVt(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function TVt(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function Vje(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||/\w+\/[-+.\w]+/g.test(e)}function Gje(e){return/^.*\.[\w]+$/.test(e)}var AVt=["children"],CVt=["open"],kVt=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],MVt=["refKey","onChange","onClick"];function RVt(e){return LVt(e)||IVt(e)||jje(e)||NVt()}function NVt(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function IVt(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function LVt(e){if(Array.isArray(e))return mxe(e)}function vxe(e,t){return PVt(e)||DVt(e,t)||jje(e,t)||OVt()}function OVt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jje(e,t){if(e){if(typeof e=="string")return mxe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return mxe(e,t)}}function mxe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function DVt(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,m=!1,u,h;try{for(r=r.call(e);!(o=(u=r.next()).done)&&(n.push(u.value),!(t&&n.length===t));o=!0);}catch(a){m=!0,h=a}finally{try{!o&&r.return!=null&&r.return()}finally{if(m)throw h}}return n}}function PVt(e){if(Array.isArray(e))return e}function Yje(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Sc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Yje(Object(r),!0).forEach(function(n){gxe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yje(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function gxe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _oe(e,t){if(e==null)return{};var r=FVt(e,t),n,o;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(e);for(o=0;o<m.length;o++)n=m[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function FVt(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,m;for(m=0;m<n.length;m++)o=n[m],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}var yxe=Ue.forwardRef(function(e,t){var r=e.children,n=_oe(e,AVt),o=Kje(n),m=o.open,u=_oe(o,CVt);return Ue.useImperativeHandle(t,function(){return{open:m}},[m]),wn.createElement(Ue.Fragment,null,r(Sc(Sc({},u),{},{open:m})))});yxe.displayName="Dropzone";var Wje={disabled:!1,getFilesFromEvent:XHt,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};yxe.defaultProps=Wje,yxe.propTypes={children:ps.func,accept:ps.objectOf(ps.arrayOf(ps.string)),multiple:ps.bool,preventDropOnDocument:ps.bool,noClick:ps.bool,noKeyboard:ps.bool,noDrag:ps.bool,noDragEventsBubbling:ps.bool,minSize:ps.number,maxSize:ps.number,maxFiles:ps.number,disabled:ps.bool,getFilesFromEvent:ps.func,onFileDialogCancel:ps.func,onFileDialogOpen:ps.func,useFsAccessApi:ps.bool,autoFocus:ps.bool,onDragEnter:ps.func,onDragLeave:ps.func,onDragOver:ps.func,onDrop:ps.func,onDropAccepted:ps.func,onDropRejected:ps.func,onError:ps.func,validator:ps.func};var _xe={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function Kje(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Sc(Sc({},Wje),e),r=t.accept,n=t.disabled,o=t.getFilesFromEvent,m=t.maxSize,u=t.minSize,h=t.multiple,a=t.maxFiles,l=t.onDragEnter,v=t.onDragLeave,i=t.onDragOver,S=t.onDrop,g=t.onDropAccepted,p=t.onDropRejected,_=t.onFileDialogCancel,c=t.onFileDialogOpen,s=t.useFsAccessApi,d=t.autoFocus,f=t.preventDropOnDocument,b=t.noClick,x=t.noKeyboard,y=t.noDrag,C=t.noDragEventsBubbling,w=t.onError,R=t.validator,A=Ue.useMemo(function(){return SVt(r)},[r]),E=Ue.useMemo(function(){return EVt(r)},[r]),k=Ue.useMemo(function(){return typeof c=="function"?c:Xje},[c]),L=Ue.useMemo(function(){return typeof _=="function"?_:Xje},[_]),I=Ue.useRef(null),P=Ue.useRef(null),M=Ue.useReducer(BVt,_xe),F=vxe(M,2),N=F[0],T=F[1],D=N.isFocused,O=N.isFileDialogActive,U=Ue.useRef(typeof window<"u"&&window.isSecureContext&&s&&bVt()),B=function(){!U.current&&O&&setTimeout(function(){if(P.current){var fe=P.current.files;fe.length||(T({type:"closeDialog"}),L())}},300)};Ue.useEffect(function(){return window.addEventListener("focus",B,!1),function(){window.removeEventListener("focus",B,!1)}},[P,O,L,U]);var Y=Ue.useRef([]),z=function(fe){I.current&&I.current.contains(fe.target)||(fe.preventDefault(),Y.current=[])};Ue.useEffect(function(){return f&&(document.addEventListener("dragover",Hje,!1),document.addEventListener("drop",z,!1)),function(){f&&(document.removeEventListener("dragover",Hje),document.removeEventListener("drop",z))}},[I,f]),Ue.useEffect(function(){return!n&&d&&I.current&&I.current.focus(),function(){}},[I,d,n]);var V=Ue.useCallback(function(oe){w?w(oe):console.error(oe)},[w]),j=Ue.useCallback(function(oe){oe.preventDefault(),oe.persist(),ce(oe),Y.current=[].concat(RVt(Y.current),[oe.target]),yoe(oe)&&Promise.resolve(o(oe)).then(function(fe){if(!(goe(oe)&&!C)){var me=fe.length,Te=me>0&&gVt({files:fe,accept:A,minSize:u,maxSize:m,multiple:h,maxFiles:a,validator:R}),we=me>0&&!Te;T({isDragAccept:Te,isDragReject:we,isDragActive:!0,type:"setDraggedFiles"}),l&&l(oe)}}).catch(function(fe){return V(fe)})},[o,l,V,C,A,u,m,h,a,R]),G=Ue.useCallback(function(oe){oe.preventDefault(),oe.persist(),ce(oe);var fe=yoe(oe);if(fe&&oe.dataTransfer)try{oe.dataTransfer.dropEffect="copy"}catch{}return fe&&i&&i(oe),!1},[i,C]),W=Ue.useCallback(function(oe){oe.preventDefault(),oe.persist(),ce(oe);var fe=Y.current.filter(function(Te){return I.current&&I.current.contains(Te)}),me=fe.indexOf(oe.target);me!==-1&&fe.splice(me,1),Y.current=fe,!(fe.length>0)&&(T({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),yoe(oe)&&v&&v(oe))},[I,v,C]),X=Ue.useCallback(function(oe,fe){var me=[],Te=[];oe.forEach(function(we){var Be=Uje(we,A),Ae=vxe(Be,2),Re=Ae[0],be=Ae[1],Pe=$je(we,u,m),Ke=vxe(Pe,2),ze=Ke[0],Fe=Ke[1],We=R?R(we):null;if(Re&&ze&&!We)me.push(we);else{var lt=[be,Fe];We&&(lt=lt.concat(We)),Te.push({file:we,errors:lt.filter(function(ht){return ht})})}}),(!h&&me.length>1||h&&a>=1&&me.length>a)&&(me.forEach(function(we){Te.push({file:we,errors:[mVt]})}),me.splice(0)),T({acceptedFiles:me,fileRejections:Te,type:"setFiles"}),S&&S(me,Te,fe),Te.length>0&&p&&p(Te,fe),me.length>0&&g&&g(me,fe)},[T,h,A,u,m,a,S,g,p,R]),Q=Ue.useCallback(function(oe){oe.preventDefault(),oe.persist(),ce(oe),Y.current=[],yoe(oe)&&Promise.resolve(o(oe)).then(function(fe){goe(oe)&&!C||X(fe,oe)}).catch(function(fe){return V(fe)}),T({type:"reset"})},[o,X,V,C]),ae=Ue.useCallback(function(){if(U.current){T({type:"openDialog"}),k();var oe={multiple:h,types:E};window.showOpenFilePicker(oe).then(function(fe){return o(fe)}).then(function(fe){X(fe,null),T({type:"closeDialog"})}).catch(function(fe){wVt(fe)?(L(fe),T({type:"closeDialog"})):TVt(fe)?(U.current=!1,P.current?(P.current.value=null,P.current.click()):V(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):V(fe)});return}P.current&&(T({type:"openDialog"}),k(),P.current.value=null,P.current.click())},[T,k,L,s,X,V,E,h]),ie=Ue.useCallback(function(oe){!I.current||!I.current.isEqualNode(oe.target)||(oe.key===" "||oe.key==="Enter"||oe.keyCode===32||oe.keyCode===13)&&(oe.preventDefault(),ae())},[I,ae]),he=Ue.useCallback(function(){T({type:"focus"})},[]),J=Ue.useCallback(function(){T({type:"blur"})},[]),Z=Ue.useCallback(function(){b||(xVt()?setTimeout(ae,0):ae())},[b,ae]),le=function(fe){return n?null:fe},K=function(fe){return x?null:le(fe)},te=function(fe){return y?null:le(fe)},ce=function(fe){C&&fe.stopPropagation()},re=Ue.useMemo(function(){return function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},fe=oe.refKey,me=fe===void 0?"ref":fe,Te=oe.role,we=oe.onKeyDown,Be=oe.onFocus,Ae=oe.onBlur,Re=oe.onClick,be=oe.onDragEnter,Pe=oe.onDragOver,Ke=oe.onDragLeave,ze=oe.onDrop,Fe=_oe(oe,kVt);return Sc(Sc(gxe({onKeyDown:K(hm(we,ie)),onFocus:K(hm(Be,he)),onBlur:K(hm(Ae,J)),onClick:le(hm(Re,Z)),onDragEnter:te(hm(be,j)),onDragOver:te(hm(Pe,G)),onDragLeave:te(hm(Ke,W)),onDrop:te(hm(ze,Q)),role:typeof Te=="string"&&Te!==""?Te:"presentation"},me,I),!n&&!x?{tabIndex:0}:{}),Fe)}},[I,ie,he,J,Z,j,G,W,Q,x,y,n]),ee=Ue.useCallback(function(oe){oe.stopPropagation()},[]),de=Ue.useMemo(function(){return function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},fe=oe.refKey,me=fe===void 0?"ref":fe,Te=oe.onChange,we=oe.onClick,Be=_oe(oe,MVt),Ae=gxe({accept:A,multiple:h,type:"file",style:{display:"none"},onChange:le(hm(Te,Q)),onClick:le(hm(we,ee)),tabIndex:-1},me,P);return Sc(Sc({},Ae),Be)}},[P,r,h,Q,n]);return Sc(Sc({},N),{},{isFocused:D&&!n,getRootProps:re,getInputProps:de,rootRef:I,inputRef:P,open:le(ae)})}function BVt(e,t){switch(t.type){case"focus":return Sc(Sc({},e),{},{isFocused:!0});case"blur":return Sc(Sc({},e),{},{isFocused:!1});case"openDialog":return Sc(Sc({},_xe),{},{isFileDialogActive:!0});case"closeDialog":return Sc(Sc({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Sc(Sc({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Sc(Sc({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return Sc({},_xe);default:return e}}function Xje(){}const xxe=({onError:e,onResolved:t,options:r,spec:n})=>{const o=Ue.useCallback((v,i)=>{if(i.length>0&&(i[0].errors[0].code==="file-too-large"?e==null||e(`File is larger than ${n.max_size_mb} MB`):e==null||e(i[0].errors[0].message)),!!v.length)return t(v)},[n]);let m={};const u=n.accept;Array.isArray(u)?u.forEach(v=>{typeof v=="string"&&(m[v]=[])}):typeof u=="object"&&(m=u);const{getRootProps:h,getInputProps:a,isDragActive:l}=Kje({onDrop:o,maxFiles:n.max_files||void 0,accept:m,maxSize:(n.max_size_mb||2)*1e6,...r});return{getInputProps:a,getRootProps:h,isDragActive:l}},zVt=({disabled:e=!1,fileSpec:t,onFileUpload:r,onFileUploadError:n})=>{var a;const{config:o}=af(),m=xxe({spec:t,onResolved:l=>r(l),onError:n,options:{noDrag:!0}});if(!m)return null;const{getRootProps:u,getInputProps:h}=m;return(a=o==null?void 0:o.features.spontaneous_file_upload)!=null&&a.enabled?Oe.jsx(Du,{children:Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsxs("span",{className:"inline-block",children:[Oe.jsx("input",{id:"upload-button-input",className:"hidden",...h()}),Oe.jsx(Ko,{id:e?"upload-button-loading":"upload-button",variant:"ghost",size:"icon",className:"hover:bg-muted",disabled:e,...u(),children:Oe.jsx(jHt,{className:"!size-6"})})]})}),Oe.jsx(Ec,{children:Oe.jsx("p",{children:Oe.jsx(Us,{path:"chat.input.actions.attachFiles"})})})]})}):null};function bxe(){return bxe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bxe.apply(this,arguments)}var qje=["shift","alt","meta","mod","ctrl"],UVt={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","`":"backquote","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function j2(e){return(UVt[e]||e).trim().toLowerCase().replace(/key|digit|numpad|arrow/,"")}function $Vt(e){return qje.includes(e)}function Exe(e,t){return t===void 0&&(t=","),e.split(t)}function Sxe(e,t,r){t===void 0&&(t="+");var n=e.toLocaleLowerCase().split(t).map(function(u){return j2(u)}),o={alt:n.includes("alt"),ctrl:n.includes("ctrl")||n.includes("control"),shift:n.includes("shift"),meta:n.includes("meta"),mod:n.includes("mod")},m=n.filter(function(u){return!qje.includes(u)});return bxe({},o,{keys:m,description:r})}(function(){typeof document<"u"&&(document.addEventListener("keydown",function(e){e.key!==void 0&&Zje([j2(e.key),j2(e.code)])}),document.addEventListener("keyup",function(e){e.key!==void 0&&Qje([j2(e.key),j2(e.code)])})),typeof window<"u"&&window.addEventListener("blur",function(){Y2.clear()})})();var Y2=new Set;function wxe(e){return Array.isArray(e)}function HVt(e,t){t===void 0&&(t=",");var r=wxe(e)?e:e.split(t);return r.every(function(n){return Y2.has(n.trim().toLowerCase())})}function Zje(e){var t=Array.isArray(e)?e:[e];Y2.has("meta")&&Y2.forEach(function(r){return!$Vt(r)&&Y2.delete(r.toLowerCase())}),t.forEach(function(r){return Y2.add(r.toLowerCase())})}function Qje(e){var t=Array.isArray(e)?e:[e];e==="meta"?Y2.clear():t.forEach(function(r){return Y2.delete(r.toLowerCase())})}function VVt(e,t,r){(typeof r=="function"&&r(e,t)||r===!0)&&e.preventDefault()}function GVt(e,t,r){return typeof r=="function"?r(e,t):r===!0||r===void 0}function jVt(e){return Jje(e,["input","textarea","select"])}function Jje(e,t){var r=e.target;t===void 0&&(t=!1);var n=r&&r.tagName;return wxe(t)?!!(n&&t&&t.some(function(o){return o.toLowerCase()===n.toLowerCase()})):!!(n&&t&&t===!0)}function YVt(e,t){return e.length===0&&t?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),!0):t?e.some(function(r){return t.includes(r)})||e.includes("*"):!0}var WVt=function(t,r,n){n===void 0&&(n=!1);var o=r.alt,m=r.meta,u=r.mod,h=r.shift,a=r.ctrl,l=r.keys,v=t.key,i=t.code,S=t.ctrlKey,g=t.metaKey,p=t.shiftKey,_=t.altKey,c=j2(i),s=v.toLowerCase();if(!n){if(o===!_&&s!=="alt"||h===!p&&s!=="shift")return!1;if(u){if(!g&&!S)return!1}else if(m===!g&&s!=="meta"&&s!=="os"||a===!S&&s!=="ctrl"&&s!=="control")return!1}return l&&l.length===1&&(l.includes(s)||l.includes(c))?!0:l?HVt(l):!l},KVt=Ue.createContext(void 0),XVt=function(){return Ue.useContext(KVt)};function eYe(e,t){return e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).reduce(function(r,n){return r&&eYe(e[n],t[n])},!0):e===t}var qVt=Ue.createContext({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),ZVt=function(){return Ue.useContext(qVt)};function QVt(e){var t=Ue.useRef(void 0);return eYe(t.current,e)||(t.current=e),t.current}var tYe=function(t){t.stopPropagation(),t.preventDefault(),t.stopImmediatePropagation()},JVt=typeof window<"u"?Ue.useLayoutEffect:Ue.useEffect;function eGt(e,t,r,n){var o=Ue.useRef(null),m=Ue.useRef(!1),u=r instanceof Array?n instanceof Array?void 0:n:r,h=wxe(e)?e.join(u==null?void 0:u.splitKey):e,a=r instanceof Array?r:n instanceof Array?n:void 0,l=Ue.useCallback(t,a??[]),v=Ue.useRef(l);a?v.current=l:v.current=t;var i=QVt(u),S=ZVt(),g=S.enabledScopes,p=XVt();return JVt(function(){if(!((i==null?void 0:i.enabled)===!1||!YVt(g,i==null?void 0:i.scopes))){var _=function(b,x){var y;if(x===void 0&&(x=!1),!(jVt(b)&&!Jje(b,i==null?void 0:i.enableOnFormTags))&&!(i!=null&&i.ignoreEventWhen!=null&&i.ignoreEventWhen(b))){if(o.current!==null&&document.activeElement!==o.current&&!o.current.contains(document.activeElement)){tYe(b);return}(y=b.target)!=null&&y.isContentEditable&&!(i!=null&&i.enableOnContentEditable)||Exe(h,i==null?void 0:i.splitKey).forEach(function(C){var w,R=Sxe(C,i==null?void 0:i.combinationKey);if(WVt(b,R,i==null?void 0:i.ignoreModifiers)||(w=R.keys)!=null&&w.includes("*")){if(x&&m.current)return;if(VVt(b,R,i==null?void 0:i.preventDefault),!GVt(b,R,i==null?void 0:i.enabled)){tYe(b);return}v.current(b,R),x||(m.current=!0)}})}},c=function(b){b.key!==void 0&&(Zje(j2(b.code)),((i==null?void 0:i.keydown)===void 0&&(i==null?void 0:i.keyup)!==!0||i!=null&&i.keydown)&&_(b))},s=function(b){b.key!==void 0&&(Qje(j2(b.code)),m.current=!1,i!=null&&i.keyup&&_(b,!0))},d=o.current||(u==null?void 0:u.document)||document;return d.addEventListener("keyup",s),d.addEventListener("keydown",c),p&&Exe(h,i==null?void 0:i.splitKey).forEach(function(f){return p.addHotkey(Sxe(f,i==null?void 0:i.combinationKey,i==null?void 0:i.description))}),function(){d.removeEventListener("keyup",s),d.removeEventListener("keydown",c),p&&Exe(h,i==null?void 0:i.splitKey).forEach(function(f){return p.removeHotkey(Sxe(f,i==null?void 0:i.combinationKey,i==null?void 0:i.description))})}}},[h,i,g]),o}const tGt=({className:e})=>Oe.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:e,xmlns:"http://www.w3.org/2000/svg",children:[Oe.jsx("path",{d:"M9.5 4C8.67157 4 8 4.67157 8 5.5V18.5C8 19.3284 8.67157 20 9.5 20C10.3284 20 11 19.3284 11 18.5V5.5C11 4.67157 10.3284 4 9.5 4Z",fill:"currentColor"}),Oe.jsx("path",{d:"M13 8.5C13 7.67157 13.6716 7 14.5 7C15.3284 7 16 7.67157 16 8.5V15.5C16 16.3284 15.3284 17 14.5 17C13.6716 17 13 16.3284 13 15.5V8.5Z",fill:"currentColor"}),Oe.jsx("path",{d:"M4.5 9C3.67157 9 3 9.67157 3 10.5V13.5C3 14.3284 3.67157 15 4.5 15C5.32843 15 6 14.3284 6 13.5V10.5C6 9.67157 5.32843 9 4.5 9Z",fill:"currentColor"}),Oe.jsx("path",{d:"M19.5 9C18.6716 9 18 9.67157 18 10.5V13.5C18 14.3284 18.6716 15 19.5 15C20.3284 15 21 14.3284 21 13.5V10.5C21 9.67157 20.3284 9 19.5 9Z",fill:"currentColor"})]}),rGt=({disabled:e})=>{const{config:t}=af(),{startConversation:r,endConversation:n,audioConnection:o}=GI(),m=!!(t!=null&&t.features.audio.enabled);return eGt("p",()=>{if(!m)return;const h=(()=>{let a=document.activeElement;for(;a&&a.shadowRoot&&a.shadowRoot.activeElement;)a=a.shadowRoot.activeElement;return a})();if(h){const a=h.tagName.toLowerCase(),l=["input","textarea","select"].includes(a),v=h.getAttribute("contenteditable")==="true";if(l||v)return}return o==="on"?n():r()},{enableOnFormTags:!1,preventDefault:!1},[m,o,r,n]),m?Oe.jsxs("div",{className:"flex items-center gap-1",children:[o==="on"?Oe.jsx($Ne,{type:"client",height:18,width:36,barCount:4,barSpacing:2}):null,Oe.jsx(Du,{children:Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsxs(Ko,{disabled:e,variant:"ghost",size:"icon",className:"hover:bg-muted",onClick:o==="on"?n:o==="off"?r:void 0,children:[o==="on"?Oe.jsx(Uh,{className:"!size-5"}):null,o==="off"?Oe.jsx(tGt,{className:"!size-6"}):null,o==="connecting"?Oe.jsx(doe,{className:"!size-5"}):null]})}),Oe.jsx(Ec,{children:Oe.jsx("p",{children:Oe.jsx(Us,{path:o==="on"?"chat.speech.stop":o==="off"?"chat.speech.start":"chat.speech.connecting",suffix:" (P)"})})})]})})]}):null};function nGt({fileSpec:e,onFileUpload:t,onFileUploadError:r,autoScrollRef:n}){const o=Ue.useRef(null),[m,u]=Ue.useState(""),[h,a]=zf(LGe),l=ss(SHe),[v,i]=zf(oxe),{t:S}=sm(),{user:g}=Cw(),{sendMessage:p,replyMessage:_}=Rh(),{askUser:c,chatSettingsInputs:s,disabled:d}=By(),f=d||!!v.find(M=>!M.uploaded),b=F$t(),[x,y]=zf(ofe),C=Ue.useCallback((M,F)=>{y(N=>N.map(T=>T.id!==M?T:{...T,options:T.options.map(D=>({...D,default:D.id===F}))}))},[y]),w=Ue.useCallback(M=>{var N;const F=M.options.find(T=>T.default);return(F==null?void 0:F.id)||((N=M.options[0])==null?void 0:N.id)},[]);let R="";try{R=P$t().get("prompt")||""}catch{console.warn("Could not parse query parameters")}const[A,E]=Ue.useState(!1),k=Ue.useCallback(M=>{M.clipboardData&&M.clipboardData.items&&Array.from(M.clipboardData.items).forEach(N=>{if(N.kind==="file"){const T=N.getAsFile();T&&t([T])}})},[t]),L=Ue.useCallback(async(M,F,N)=>{const T={};x.forEach(U=>{const B=w(U);B&&(T[U.id]=B)});const D={threadId:"",command:N,modes:Object.keys(T).length>0?T:void 0,id:hoe(),name:(g==null?void 0:g.identifier)||"User",type:"user_message",output:M,createdAt:new Date().toISOString(),metadata:{location:window.location.href}},O=F==null?void 0:F.filter(U=>!!U.serverId).map(U=>({id:U.serverId}));n&&(n.current=!0),p(D,O)},[g,p,n,x,w]),I=Ue.useCallback(async M=>{const F={threadId:"",id:hoe(),name:(g==null?void 0:g.identifier)||"User",type:"user_message",output:M,createdAt:new Date().toISOString(),metadata:{location:window.location.href}};_(F),n&&(n.current=!0)},[g,_,n]),P=Ue.useCallback(()=>{var M;f||m.trim()===""&&v.length===0&&!h||(c?I(m):L(m,v,h==null?void 0:h.id),i([]),u(""),(M=o.current)==null||M.reset())},[m,f,c,v,h,i,L,I]);return Ue.useEffect(()=>{var M,F;if(o.current&&R&&!A){const N=R;N&&(N.length>1e3?(M=o.current)==null||M.setValueExtern(N.slice(0,1e3)):(F=o.current)==null||F.setValueExtern(N),E(!0))}},[R,A]),Oe.jsxs("div",{id:"message-composer",className:"bg-accent dark:bg-card rounded-3xl p-3 px-4 w-full min-h-24 flex flex-col",children:[v.length>0?Oe.jsx("div",{className:"mb-1",children:Oe.jsx(mHt,{})}):null,Oe.jsx(_Ht,{ref:o,id:"chat-input",autoFocus:!b,selectedCommand:h,setSelectedCommand:a,onChange:u,onPaste:k,onEnter:P,placeholder:S("chat.input.placeholder")}),Oe.jsxs("div",{className:"flex items-center justify-between",children:[Oe.jsxs("div",{className:"flex items-center -ml-1.5",children:[Oe.jsx(rGt,{disabled:f}),Oe.jsx(zVt,{disabled:f,fileSpec:e,onFileUploadError:r,onFileUpload:t}),s.length>0&&Oe.jsx(Ko,{id:"chat-settings-open-modal",disabled:f,onClick:()=>l(!0),className:"hover:bg-muted rounded-full",variant:"ghost",size:"icon",children:Oe.jsx(N$t,{className:"!size-6"})}),Oe.jsx(UHt,{disabled:f}),x.map(M=>Oe.jsx($Ht,{mode:M,disabled:f,selectedOptionId:w(M),onOptionSelect:C},M.id)),Oe.jsx(yHt,{disabled:f,selectedCommandId:h==null?void 0:h.id,onCommandSelect:a}),Oe.jsx(gHt,{disabled:f,selectedCommandId:h==null?void 0:h.id,onCommandSelect:a})]}),Oe.jsx("div",{className:"flex items-center gap-1",children:Oe.jsx(GHt,{onSubmit:P,disabled:f||!m.trim()&&!h&&v.length===0})})]})]})}function aGt({showIfEmptyThread:e,...t}){const{messages:r}=Uy();return!Ife(r)&&!e?null:Oe.jsxs("div",{className:ga("relative flex flex-col items-center gap-2 w-full"),children:[Oe.jsx(nGt,{...t}),Oe.jsx(C$t,{})]})}const rYe=()=>{const{config:e}=af();return(e==null?void 0:e.ui.layout)==="wide"?"min(60rem, 100vw)":"min(48rem, 100vw)"},iGt=({action:e})=>{const{loading:t,askUser:r}=Ue.useContext(H1),n=Ue.useMemo(()=>e.icon||e.label?e.label:e.name,[e]),o=Ue.useMemo(()=>e.icon?Oe.jsx(C5,{name:e.icon}):null,[e]),m=Oe.jsxs(Ko,{className:"break-words h-auto min-h-10 whitespace-normal",id:e.id,onClick:()=>{r==null||r.callback(e)},variant:"outline",disabled:t,children:[o,n]});return e.tooltip?Oe.jsx(Du,{delayDuration:100,children:Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:m}),Oe.jsx(Ec,{children:Oe.jsx("p",{children:e.tooltip})})]})}):m},oGt=({messageId:e,actions:t})=>{const{askUser:r}=Ue.useContext(H1),n=(r==null?void 0:r.spec.step_id)===e,o=(r==null?void 0:r.spec.type)==="action",m=t.filter(u=>{var h;return u.forId===e&&((h=r==null?void 0:r.spec.keys)==null?void 0:h.includes(u.id))});return!n||!o||!t.length?null:Oe.jsx("div",{className:"flex items-center gap-1 flex-wrap",children:m.map(u=>Oe.jsx(iGt,{action:u},u.id))})},sGt=({value:e})=>{const o=2*Math.PI*11,m=o-e/100*o;return Oe.jsx("div",{className:"relative inline-flex items-center justify-center",children:Oe.jsxs("svg",{className:"absolute",width:24,height:24,viewBox:"0 0 24 24",children:[Oe.jsx("circle",{className:"text-muted-foreground/20",cx:24/2,cy:24/2,r:11,fill:"none",strokeWidth:2,stroke:"currentColor"}),Oe.jsx("circle",{className:"text-primary transition-all duration-300 ease-in-out",cx:24/2,cy:24/2,r:11,fill:"none",strokeWidth:2,stroke:"currentColor",strokeLinecap:"round",strokeDasharray:o,strokeDashoffset:m,transform:`rotate(-90 ${24/2} ${24/2})`})]})})},lGt=({askUser:e,uploadFile:t,onError:r})=>{const{t:n}=sm(),[o,m]=Ue.useState([]),u=o.some(S=>!S.uploaded),h=o.reduce((S,g)=>S+g.progress/o.length,0),a=S=>{if(u)return;const g=[],p=S.map((_,c)=>{const{xhr:s,promise:d}=t(_,f=>{m(b=>b.map((x,y)=>y===c?{...x,progress:f}:x))},e==null?void 0:e.parentId);return g.push(d),{progress:0,uploaded:!1,cancel:()=>s.abort()}});Promise.all(g).then(_=>e.callback(_)).catch(_=>{r(`${n("chat.fileUpload.errors.failed")}: ${typeof _=="object"&&_!==null?_.message??_:_}`),m(c=>(c.forEach(s=>s.cancel()),[]))}),m(p)},l=xxe({spec:e.spec,onResolved:a,onError:S=>r(S)});if(!l)return null;const{getRootProps:v,getInputProps:i}=l;return Oe.jsx(Ng,{className:"w-full mt-2",children:Oe.jsxs("div",{...v({className:"dropzone"}),className:"flex items-center p-4",children:[Oe.jsx("input",{id:"ask-button-input",...i()}),Oe.jsxs("div",{className:"flex flex-col",children:[Oe.jsx("p",{className:"text-sm font-medium",children:Oe.jsx(Us,{path:"chat.fileUpload.dragDrop"})}),Oe.jsxs("p",{className:"text-sm text-muted-foreground",children:[Oe.jsx(Us,{path:"chat.fileUpload.sizeLimit"})," ",e.spec.max_size_mb,"mb"]})]}),Oe.jsx(Ko,{id:u?"ask-upload-button-loading":"ask-upload-button",disabled:u,className:"ml-auto",variant:u?"ghost":"default",children:u?Oe.jsx(sGt,{value:h}):Oe.jsxs(Oe.Fragment,{children:[Oe.jsx(Kk,{className:"w-4 h-4 mr-2"}),Oe.jsx(Us,{path:"chat.fileUpload.browse"})]})})]})})},cGt=({messageId:e,onError:t})=>{var m,u;const r=Ue.useContext(H1),n=((m=r.askUser)==null?void 0:m.spec.step_id)===e,o=((u=r.askUser)==null?void 0:u.spec.type)==="file";return!n||!o||!(r!=null&&r.uploadFile)?null:Oe.jsx(lGt,{onError:t,uploadFile:r.uploadFile,askUser:r.askUser})};var Txe="Avatar",[uGt,g8r]=Lc(Txe),[dGt,nYe]=uGt(Txe),aYe=Ue.forwardRef((e,t)=>{const{__scopeAvatar:r,...n}=e,[o,m]=Ue.useState("idle");return Oe.jsx(dGt,{scope:r,imageLoadingStatus:o,onImageLoadingStatusChange:m,children:Oe.jsx(Zi.span,{...n,ref:t})})});aYe.displayName=Txe;var iYe="AvatarImage",oYe=Ue.forwardRef((e,t)=>{const{__scopeAvatar:r,src:n,onLoadingStatusChange:o=()=>{},...m}=e,u=nYe(iYe,r),h=fGt(n,m.referrerPolicy),a=Dc(l=>{o(l),u.onImageLoadingStatusChange(l)});return Iu(()=>{h!=="idle"&&a(h)},[h,a]),h==="loaded"?Oe.jsx(Zi.img,{...m,ref:t,src:n}):null});oYe.displayName=iYe;var sYe="AvatarFallback",lYe=Ue.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:n,...o}=e,m=nYe(sYe,r),[u,h]=Ue.useState(n===void 0);return Ue.useEffect(()=>{if(n!==void 0){const a=window.setTimeout(()=>h(!0),n);return()=>window.clearTimeout(a)}},[n]),u&&m.imageLoadingStatus!=="loaded"?Oe.jsx(Zi.span,{...o,ref:t}):null});lYe.displayName=sYe;function fGt(e,t){const[r,n]=Ue.useState("idle");return Iu(()=>{if(!e){n("error");return}let o=!0;const m=new window.Image,u=h=>()=>{o&&n(h)};return n("loading"),m.onload=u("loaded"),m.onerror=u("error"),m.src=e,t&&(m.referrerPolicy=t),()=>{o=!1}},[e,t]),r}var cYe=aYe,uYe=oYe,dYe=lYe;const Axe=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(cYe,{ref:r,className:ga("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Axe.displayName=cYe.displayName;const Cxe=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(uYe,{ref:r,className:ga("aspect-square h-full w-full",e),...t}));Cxe.displayName=uYe.displayName;const kxe=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(dYe,{ref:r,className:ga("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));kxe.displayName=dYe.displayName;const hGt=Object.freeze(Object.defineProperty({__proto__:null,Avatar:Axe,AvatarFallback:kxe,AvatarImage:Cxe},Symbol.toStringTag,{value:"Module"})),pGt=({author:e,hide:t,isError:r})=>{const n=Ue.useContext(vu),{chatProfile:o}=kw(),{config:m}=af(),u=Ue.useMemo(()=>m==null?void 0:m.chatProfiles.find(a=>a.name===o),[m,o]),h=Ue.useMemo(()=>{var l,v;return(l=m==null?void 0:m.ui)!=null&&l.default_avatar_file_url?(v=m==null?void 0:m.ui)==null?void 0:v.default_avatar_file_url:(!e||e===(m==null?void 0:m.ui.name))&&(u!=null&&u.icon)?u.icon:n==null?void 0:n.buildEndpoint(`/avatars/${e||"default"}`)},[n,u,m,e]);return r?Oe.jsx("span",{className:ga("inline-block",t&&"invisible"),children:Oe.jsx(Jv,{className:"h-5 w-5 fill-destructive mt-[5px] text-destructive-foreground"})}):Oe.jsx("span",{className:ga("inline-block",t&&"invisible"),children:Oe.jsx(Du,{children:Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsxs(Axe,{className:"h-5 w-5 mt-[3px]",children:[Oe.jsx(Cxe,{src:h,alt:`Avatar for ${e||"default"}`,className:"bg-transparent"}),Oe.jsx(kxe,{className:"bg-transparent",children:Oe.jsx(o5,{className:"h-full w-full rounded-full"})})]})}),Oe.jsx(Ec,{children:Oe.jsx("p",{children:e})})]})})})},vGt=({action:e})=>{var g;const{loading:t,askUser:r}=Ue.useContext(H1),n=Ue.useContext(vu),o=ms(Nv),[m,u]=Ue.useState(!1),h=Ue.useMemo(()=>e.icon||e.label?e.label:e.name,[e]),a=Ue.useMemo(()=>m?Oe.jsx(doe,{}):e.icon?Oe.jsx(C5,{name:e.icon}):null,[e,m]),l=Ue.useCallback(async()=>{try{u(!0),await n.callAction(e,o)}catch(p){Sl.error(String(p))}finally{u(!1)}},[e,o,n]);if((r==null?void 0:r.spec.type)==="action"&&((g=r==null?void 0:r.spec.keys)==null?void 0:g.includes(e.id)))return null;const S=Oe.jsxs(Ko,{id:e.id,onClick:l,size:"sm",variant:"ghost",className:"text-muted-foreground",disabled:t||m,children:[a,h]});return e.tooltip?Oe.jsx(Du,{delayDuration:100,children:Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:S}),Oe.jsx(Ec,{children:Oe.jsx("p",{children:e.tooltip})})]})}):S};function mGt({actions:e}){return Oe.jsx(Oe.Fragment,{children:e.map(t=>Oe.jsx(vGt,{action:t},t.id))})}const gGt=({step:e,debugUrl:t})=>{let r=e.id;r.startsWith("wrap_")&&(r=r.replace("wrap_",""));const n=t.replace("[thread_id]",e.threadId??"").replace("[step_id]",r);return Oe.jsx(Du,{children:Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsx(Ko,{variant:"ghost",size:"icon",className:"h-9 w-9 p-0",asChild:!0,children:Oe.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",children:Oe.jsx(Yx,{})})})}),Oe.jsx(Ec,{children:Oe.jsx("p",{children:"Debug in Literal AI"})})]})})};function yGt({message:e}){var d,f;const{onFeedbackUpdated:t,onFeedbackDeleted:r,showFeedbackButtons:n}=Ue.useContext(H1),{t:o}=sm(),[m,u]=Ue.useState((d=e.feedback)==null?void 0:d.value),[h,a]=Ue.useState((f=e.feedback)==null?void 0:f.comment),[l,v]=Ue.useState(),[i,S]=Ue.useState(),g=ms(jA),{idToResume:p}=kw();if(!n)return null;const _=Ue.useCallback((b,x)=>{var y;b===void 0?r&&((y=e.feedback)!=null&&y.id)&&r(e,()=>{u(void 0),a(void 0)},e.feedback.id):t&&t(e,()=>{u(b),a(x)},{...e.feedback||{},forId:e.id,threadId:e.threadId,value:b,comment:x})},[e,r,t]),c=Ue.useCallback(b=>{m===b?_(void 0):v(b)},[m,_]),s=e.streaming||!(g||p);return Oe.jsxs("div",{className:"flex items-center",children:[Oe.jsxs(Du,{children:[Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsx(Ko,{variant:"ghost",size:"icon",disabled:s,onClick:()=>c(1),className:m===1?"text-green-600 positive-feedback-on":"text-muted-foreground positive-feedback-off",children:Oe.jsx(i5,{className:"h-4 w-4"})})}),Oe.jsx(Ec,{children:Oe.jsx(Us,{path:"chat.messages.feedback.positive"})})]}),Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsx(Ko,{variant:"ghost",size:"icon",disabled:s,onClick:()=>c(0),className:m===0?"text-red-600 negative-feedback-on":"text-muted-foreground negative-feedback-off",children:Oe.jsx(a5,{})})}),Oe.jsx(Ec,{children:Oe.jsx(Us,{path:"chat.messages.feedback.negative"})})]}),h&&Oe.jsxs(Fc,{children:[Oe.jsx(Bc,{asChild:!0,children:Oe.jsx(Ko,{variant:"ghost",size:"icon",disabled:s,onClick:()=>{v(m),S(h)},children:Oe.jsx(Vk,{})})}),Oe.jsx(Ec,{children:Oe.jsx(Us,{path:"chat.messages.feedback.edit"})})]})]}),Oe.jsx(P2,{open:l!==void 0,onOpenChange:()=>v(void 0),children:Oe.jsxs(Lg,{children:[Oe.jsx(BS,{children:Oe.jsxs(zS,{className:"flex items-center gap-2",children:[l===0?Oe.jsx(a5,{}):Oe.jsx(i5,{}),Oe.jsx(Us,{path:"chat.messages.feedback.dialog.title"})]})}),Oe.jsx(TM,{value:i,onChange:b=>S(b.target.value||void 0),placeholder:o("chat.messages.feedback.dialog.yourFeedback"),className:"min-h-[100px]"}),Oe.jsx(oM,{children:Oe.jsx(Ko,{id:"submit-feedback",onClick:()=>{l!==void 0&&_(l,i),v(void 0),S(void 0)},children:Oe.jsx(Us,{path:"chat.messages.feedback.dialog.submit"})})})]})})]})}const fYe=({message:e,actions:t,run:r,contentRef:n})=>{const{config:o}=af(),{firstInteraction:m}=Uy(),u=e.type==="user_message",h=e.waitForAnswer,a=!!e.output,l=!!r&&a&&!u&&!h,v=t.filter(g=>g.forId===e.id),i=!!(o!=null&&o.debugUrl)&&!!e.threadId&&!!m&&!!r;return!(l||i||(v==null?void 0:v.length))||e.streaming?null:Oe.jsxs("div",{className:"-ml-1.5 flex items-center flex-wrap",children:[l?Oe.jsx(i2e,{content:e.output,contentRef:n}):null,r?Oe.jsx(yGt,{message:r}):null,v.length?Oe.jsx(mGt,{actions:v}):null,i?Oe.jsx(gGt,{debugUrl:o.debugUrl,step:e}):null]})},_Gt=e=>encodeURIComponent(e.replace(/\s+/g,"_")).replace(/\(/g,"%28").replace(/\)/g,"%29"),hYe=(e,t)=>!t||!e?!1:t===e.toString(),xGt=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),pYe=({elements:e,content:t,id:r,language:n})=>{const o=e.map(l=>xGt(l.name));o.sort((l,v)=>v.length-l.length);const m=o.length?new RegExp(`(${o.join("|")})`,"g"):void 0;let u=t?t.trim():"";const h=e.filter(l=>hYe(r,l==null?void 0:l.forId)&&l.display==="inline"),a=[];if(m&&(u=u.replaceAll(m,l=>{const v=e.find(g=>{const p=g.name===l,_=hYe(r,g==null?void 0:g.forId);return p&&_}),i=!!v,S=(v==null?void 0:v.display)==="inline";return i?S?(h.indexOf(v)===-1&&h.push(v),l):(a.push(v),`[${l}](${_Gt(l)})`):l})),n&&u){const l=`\`\`\`${n}`;u.startsWith("```")||(u=`${l}
${u}
\`\`\``)}return{preparedContent:u,inlinedElements:h,refElements:a}};var yn;(function(e){e[e.NONE=0]="NONE";const r=1;e[e._abstract=r]="_abstract";const n=r+1;e[e._accessor=n]="_accessor";const o=n+1;e[e._as=o]="_as";const m=o+1;e[e._assert=m]="_assert";const u=m+1;e[e._asserts=u]="_asserts";const h=u+1;e[e._async=h]="_async";const a=h+1;e[e._await=a]="_await";const l=a+1;e[e._checks=l]="_checks";const v=l+1;e[e._constructor=v]="_constructor";const i=v+1;e[e._declare=i]="_declare";const S=i+1;e[e._enum=S]="_enum";const g=S+1;e[e._exports=g]="_exports";const p=g+1;e[e._from=p]="_from";const _=p+1;e[e._get=_]="_get";const c=_+1;e[e._global=c]="_global";const s=c+1;e[e._implements=s]="_implements";const d=s+1;e[e._infer=d]="_infer";const f=d+1;e[e._interface=f]="_interface";const b=f+1;e[e._is=b]="_is";const x=b+1;e[e._keyof=x]="_keyof";const y=x+1;e[e._mixins=y]="_mixins";const C=y+1;e[e._module=C]="_module";const w=C+1;e[e._namespace=w]="_namespace";const R=w+1;e[e._of=R]="_of";const A=R+1;e[e._opaque=A]="_opaque";const E=A+1;e[e._out=E]="_out";const k=E+1;e[e._override=k]="_override";const L=k+1;e[e._private=L]="_private";const I=L+1;e[e._protected=I]="_protected";const P=I+1;e[e._proto=P]="_proto";const M=P+1;e[e._public=M]="_public";const F=M+1;e[e._readonly=F]="_readonly";const N=F+1;e[e._require=N]="_require";const T=N+1;e[e._satisfies=T]="_satisfies";const D=T+1;e[e._set=D]="_set";const O=D+1;e[e._static=O]="_static";const U=O+1;e[e._symbol=U]="_symbol";const B=U+1;e[e._type=B]="_type";const Y=B+1;e[e._unique=Y]="_unique";const z=Y+1;e[e._using=z]="_using"})(yn||(yn={}));var ke;(function(e){e[e.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";const r=16;e[e.IS_KEYWORD=r]="IS_KEYWORD";const n=32;e[e.IS_ASSIGN=n]="IS_ASSIGN";const o=64;e[e.IS_RIGHT_ASSOCIATIVE=o]="IS_RIGHT_ASSOCIATIVE";const m=128;e[e.IS_PREFIX=m]="IS_PREFIX";const u=256;e[e.IS_POSTFIX=u]="IS_POSTFIX";const h=512;e[e.IS_EXPRESSION_START=h]="IS_EXPRESSION_START";const a=512;e[e.num=a]="num";const l=1536;e[e.bigint=l]="bigint";const v=2560;e[e.decimal=v]="decimal";const i=3584;e[e.regexp=i]="regexp";const S=4608;e[e.string=S]="string";const g=5632;e[e.name=g]="name";const p=6144;e[e.eof=p]="eof";const _=7680;e[e.bracketL=_]="bracketL";const c=8192;e[e.bracketR=c]="bracketR";const s=9728;e[e.braceL=s]="braceL";const d=10752;e[e.braceBarL=d]="braceBarL";const f=11264;e[e.braceR=f]="braceR";const b=12288;e[e.braceBarR=b]="braceBarR";const x=13824;e[e.parenL=x]="parenL";const y=14336;e[e.parenR=y]="parenR";const C=15360;e[e.comma=C]="comma";const w=16384;e[e.semi=w]="semi";const R=17408;e[e.colon=R]="colon";const A=18432;e[e.doubleColon=A]="doubleColon";const E=19456;e[e.dot=E]="dot";const k=20480;e[e.question=k]="question";const L=21504;e[e.questionDot=L]="questionDot";const I=22528;e[e.arrow=I]="arrow";const P=23552;e[e.template=P]="template";const M=24576;e[e.ellipsis=M]="ellipsis";const F=25600;e[e.backQuote=F]="backQuote";const N=27136;e[e.dollarBraceL=N]="dollarBraceL";const T=27648;e[e.at=T]="at";const D=29184;e[e.hash=D]="hash";const O=29728;e[e.eq=O]="eq";const U=30752;e[e.assign=U]="assign";const B=32640;e[e.preIncDec=B]="preIncDec";const Y=33664;e[e.postIncDec=Y]="postIncDec";const z=34432;e[e.bang=z]="bang";const V=35456;e[e.tilde=V]="tilde";const j=35841;e[e.pipeline=j]="pipeline";const G=36866;e[e.nullishCoalescing=G]="nullishCoalescing";const W=37890;e[e.logicalOR=W]="logicalOR";const X=38915;e[e.logicalAND=X]="logicalAND";const Q=39940;e[e.bitwiseOR=Q]="bitwiseOR";const ae=40965;e[e.bitwiseXOR=ae]="bitwiseXOR";const ie=41990;e[e.bitwiseAND=ie]="bitwiseAND";const he=43015;e[e.equality=he]="equality";const J=44040;e[e.lessThan=J]="lessThan";const Z=45064;e[e.greaterThan=Z]="greaterThan";const le=46088;e[e.relationalOrEqual=le]="relationalOrEqual";const K=47113;e[e.bitShiftL=K]="bitShiftL";const te=48137;e[e.bitShiftR=te]="bitShiftR";const ce=49802;e[e.plus=ce]="plus";const re=50826;e[e.minus=re]="minus";const ee=51723;e[e.modulo=ee]="modulo";const de=52235;e[e.star=de]="star";const oe=53259;e[e.slash=oe]="slash";const fe=54348;e[e.exponent=fe]="exponent";const me=55296;e[e.jsxName=me]="jsxName";const Te=56320;e[e.jsxText=Te]="jsxText";const we=57344;e[e.jsxEmptyText=we]="jsxEmptyText";const Be=58880;e[e.jsxTagStart=Be]="jsxTagStart";const Ae=59392;e[e.jsxTagEnd=Ae]="jsxTagEnd";const Re=60928;e[e.typeParameterStart=Re]="typeParameterStart";const be=61440;e[e.nonNullAssertion=be]="nonNullAssertion";const Pe=62480;e[e._break=Pe]="_break";const Ke=63504;e[e._case=Ke]="_case";const ze=64528;e[e._catch=ze]="_catch";const Fe=65552;e[e._continue=Fe]="_continue";const We=66576;e[e._debugger=We]="_debugger";const lt=67600;e[e._default=lt]="_default";const ht=68624;e[e._do=ht]="_do";const tt=69648;e[e._else=tt]="_else";const et=70672;e[e._finally=et]="_finally";const pt=71696;e[e._for=pt]="_for";const vt=73232;e[e._function=vt]="_function";const _t=73744;e[e._if=_t]="_if";const bt=74768;e[e._return=bt]="_return";const Rt=75792;e[e._switch=Rt]="_switch";const ct=77456;e[e._throw=ct]="_throw";const Ve=77840;e[e._try=Ve]="_try";const Qe=78864;e[e._var=Qe]="_var";const rt=79888;e[e._let=rt]="_let";const qe=80912;e[e._const=qe]="_const";const He=81936;e[e._while=He]="_while";const Ce=82960;e[e._with=Ce]="_with";const Se=84496;e[e._new=Se]="_new";const Le=85520;e[e._this=Le]="_this";const Ne=86544;e[e._super=Ne]="_super";const je=87568;e[e._class=je]="_class";const Je=88080;e[e._extends=Je]="_extends";const ut=89104;e[e._export=ut]="_export";const Et=90640;e[e._import=Et]="_import";const wt=91664;e[e._yield=wt]="_yield";const nr=92688;e[e._null=nr]="_null";const ir=93712;e[e._true=ir]="_true";const It=94736;e[e._false=It]="_false";const Gt=95256;e[e._in=Gt]="_in";const cr=96280;e[e._instanceof=cr]="_instanceof";const Pr=97936;e[e._typeof=Pr]="_typeof";const Ct=98960;e[e._void=Ct]="_void";const or=99984;e[e._delete=or]="_delete";const ur=100880;e[e._async=ur]="_async";const Ir=101904;e[e._get=Ir]="_get";const yr=102928;e[e._set=yr]="_set";const At=103952;e[e._declare=At]="_declare";const mt=104976;e[e._readonly=mt]="_readonly";const Mt=106e3;e[e._abstract=Mt]="_abstract";const Pt=107024;e[e._static=Pt]="_static";const Ht=107536;e[e._public=Ht]="_public";const Ut=108560;e[e._private=Ut]="_private";const Zt=109584;e[e._protected=Zt]="_protected";const Xt=110608;e[e._override=Xt]="_override";const sr=112144;e[e._as=sr]="_as";const Sr=113168;e[e._enum=Sr]="_enum";const wr=114192;e[e._type=wr]="_type";const Tr=115216;e[e._implements=Tr]="_implements"})(ke||(ke={}));function bGt(e){switch(e){case ke.num:return"num";case ke.bigint:return"bigint";case ke.decimal:return"decimal";case ke.regexp:return"regexp";case ke.string:return"string";case ke.name:return"name";case ke.eof:return"eof";case ke.bracketL:return"[";case ke.bracketR:return"]";case ke.braceL:return"{";case ke.braceBarL:return"{|";case ke.braceR:return"}";case ke.braceBarR:return"|}";case ke.parenL:return"(";case ke.parenR:return")";case ke.comma:return",";case ke.semi:return";";case ke.colon:return":";case ke.doubleColon:return"::";case ke.dot:return".";case ke.question:return"?";case ke.questionDot:return"?.";case ke.arrow:return"=>";case ke.template:return"template";case ke.ellipsis:return"...";case ke.backQuote:return"`";case ke.dollarBraceL:return"${";case ke.at:return"@";case ke.hash:return"#";case ke.eq:return"=";case ke.assign:return"_=";case ke.preIncDec:return"++/--";case ke.postIncDec:return"++/--";case ke.bang:return"!";case ke.tilde:return"~";case ke.pipeline:return"|>";case ke.nullishCoalescing:return"??";case ke.logicalOR:return"||";case ke.logicalAND:return"&&";case ke.bitwiseOR:return"|";case ke.bitwiseXOR:return"^";case ke.bitwiseAND:return"&";case ke.equality:return"==/!=";case ke.lessThan:return"<";case ke.greaterThan:return">";case ke.relationalOrEqual:return"<=/>=";case ke.bitShiftL:return"<<";case ke.bitShiftR:return">>/>>>";case ke.plus:return"+";case ke.minus:return"-";case ke.modulo:return"%";case ke.star:return"*";case ke.slash:return"/";case ke.exponent:return"**";case ke.jsxName:return"jsxName";case ke.jsxText:return"jsxText";case ke.jsxEmptyText:return"jsxEmptyText";case ke.jsxTagStart:return"jsxTagStart";case ke.jsxTagEnd:return"jsxTagEnd";case ke.typeParameterStart:return"typeParameterStart";case ke.nonNullAssertion:return"nonNullAssertion";case ke._break:return"break";case ke._case:return"case";case ke._catch:return"catch";case ke._continue:return"continue";case ke._debugger:return"debugger";case ke._default:return"default";case ke._do:return"do";case ke._else:return"else";case ke._finally:return"finally";case ke._for:return"for";case ke._function:return"function";case ke._if:return"if";case ke._return:return"return";case ke._switch:return"switch";case ke._throw:return"throw";case ke._try:return"try";case ke._var:return"var";case ke._let:return"let";case ke._const:return"const";case ke._while:return"while";case ke._with:return"with";case ke._new:return"new";case ke._this:return"this";case ke._super:return"super";case ke._class:return"class";case ke._extends:return"extends";case ke._export:return"export";case ke._import:return"import";case ke._yield:return"yield";case ke._null:return"null";case ke._true:return"true";case ke._false:return"false";case ke._in:return"in";case ke._instanceof:return"instanceof";case ke._typeof:return"typeof";case ke._void:return"void";case ke._delete:return"delete";case ke._async:return"async";case ke._get:return"get";case ke._set:return"set";case ke._declare:return"declare";case ke._readonly:return"readonly";case ke._abstract:return"abstract";case ke._static:return"static";case ke._public:return"public";case ke._private:return"private";case ke._protected:return"protected";case ke._override:return"override";case ke._as:return"as";case ke._enum:return"enum";case ke._type:return"type";case ke._implements:return"implements";default:return""}}class pm{constructor(t,r,n){this.startTokenIndex=t,this.endTokenIndex=r,this.isFunctionScope=n}}class EGt{constructor(t,r,n,o,m,u,h,a,l,v,i,S,g){this.potentialArrowAt=t,this.noAnonFunctionType=r,this.inDisallowConditionalTypesContext=n,this.tokensLength=o,this.scopesLength=m,this.pos=u,this.type=h,this.contextualKeyword=a,this.start=l,this.end=v,this.isType=i,this.scopeDepth=S,this.error=g}}class qf{constructor(){qf.prototype.__init.call(this),qf.prototype.__init2.call(this),qf.prototype.__init3.call(this),qf.prototype.__init4.call(this),qf.prototype.__init5.call(this),qf.prototype.__init6.call(this),qf.prototype.__init7.call(this),qf.prototype.__init8.call(this),qf.prototype.__init9.call(this),qf.prototype.__init10.call(this),qf.prototype.__init11.call(this),qf.prototype.__init12.call(this),qf.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=ke.eof}__init8(){this.contextualKeyword=yn.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new EGt(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(t){this.potentialArrowAt=t.potentialArrowAt,this.noAnonFunctionType=t.noAnonFunctionType,this.inDisallowConditionalTypesContext=t.inDisallowConditionalTypesContext,this.tokens.length=t.tokensLength,this.scopes.length=t.scopesLength,this.pos=t.pos,this.type=t.type,this.contextualKeyword=t.contextualKeyword,this.start=t.start,this.end=t.end,this.isType=t.isType,this.scopeDepth=t.scopeDepth,this.error=t.error}}var Kn;(function(e){e[e.backSpace=8]="backSpace";const r=10;e[e.lineFeed=r]="lineFeed";const n=9;e[e.tab=n]="tab";const o=13;e[e.carriageReturn=o]="carriageReturn";const m=14;e[e.shiftOut=m]="shiftOut";const u=32;e[e.space=u]="space";const h=33;e[e.exclamationMark=h]="exclamationMark";const a=34;e[e.quotationMark=a]="quotationMark";const l=35;e[e.numberSign=l]="numberSign";const v=36;e[e.dollarSign=v]="dollarSign";const i=37;e[e.percentSign=i]="percentSign";const S=38;e[e.ampersand=S]="ampersand";const g=39;e[e.apostrophe=g]="apostrophe";const p=40;e[e.leftParenthesis=p]="leftParenthesis";const _=41;e[e.rightParenthesis=_]="rightParenthesis";const c=42;e[e.asterisk=c]="asterisk";const s=43;e[e.plusSign=s]="plusSign";const d=44;e[e.comma=d]="comma";const f=45;e[e.dash=f]="dash";const b=46;e[e.dot=b]="dot";const x=47;e[e.slash=x]="slash";const y=48;e[e.digit0=y]="digit0";const C=49;e[e.digit1=C]="digit1";const w=50;e[e.digit2=w]="digit2";const R=51;e[e.digit3=R]="digit3";const A=52;e[e.digit4=A]="digit4";const E=53;e[e.digit5=E]="digit5";const k=54;e[e.digit6=k]="digit6";const L=55;e[e.digit7=L]="digit7";const I=56;e[e.digit8=I]="digit8";const P=57;e[e.digit9=P]="digit9";const M=58;e[e.colon=M]="colon";const F=59;e[e.semicolon=F]="semicolon";const N=60;e[e.lessThan=N]="lessThan";const T=61;e[e.equalsTo=T]="equalsTo";const D=62;e[e.greaterThan=D]="greaterThan";const O=63;e[e.questionMark=O]="questionMark";const U=64;e[e.atSign=U]="atSign";const B=65;e[e.uppercaseA=B]="uppercaseA";const Y=66;e[e.uppercaseB=Y]="uppercaseB";const z=67;e[e.uppercaseC=z]="uppercaseC";const V=68;e[e.uppercaseD=V]="uppercaseD";const j=69;e[e.uppercaseE=j]="uppercaseE";const G=70;e[e.uppercaseF=G]="uppercaseF";const W=71;e[e.uppercaseG=W]="uppercaseG";const X=72;e[e.uppercaseH=X]="uppercaseH";const Q=73;e[e.uppercaseI=Q]="uppercaseI";const ae=74;e[e.uppercaseJ=ae]="uppercaseJ";const ie=75;e[e.uppercaseK=ie]="uppercaseK";const he=76;e[e.uppercaseL=he]="uppercaseL";const J=77;e[e.uppercaseM=J]="uppercaseM";const Z=78;e[e.uppercaseN=Z]="uppercaseN";const le=79;e[e.uppercaseO=le]="uppercaseO";const K=80;e[e.uppercaseP=K]="uppercaseP";const te=81;e[e.uppercaseQ=te]="uppercaseQ";const ce=82;e[e.uppercaseR=ce]="uppercaseR";const re=83;e[e.uppercaseS=re]="uppercaseS";const ee=84;e[e.uppercaseT=ee]="uppercaseT";const de=85;e[e.uppercaseU=de]="uppercaseU";const oe=86;e[e.uppercaseV=oe]="uppercaseV";const fe=87;e[e.uppercaseW=fe]="uppercaseW";const me=88;e[e.uppercaseX=me]="uppercaseX";const Te=89;e[e.uppercaseY=Te]="uppercaseY";const we=90;e[e.uppercaseZ=we]="uppercaseZ";const Be=91;e[e.leftSquareBracket=Be]="leftSquareBracket";const Ae=92;e[e.backslash=Ae]="backslash";const Re=93;e[e.rightSquareBracket=Re]="rightSquareBracket";const be=94;e[e.caret=be]="caret";const Pe=95;e[e.underscore=Pe]="underscore";const Ke=96;e[e.graveAccent=Ke]="graveAccent";const ze=97;e[e.lowercaseA=ze]="lowercaseA";const Fe=98;e[e.lowercaseB=Fe]="lowercaseB";const We=99;e[e.lowercaseC=We]="lowercaseC";const lt=100;e[e.lowercaseD=lt]="lowercaseD";const ht=101;e[e.lowercaseE=ht]="lowercaseE";const tt=102;e[e.lowercaseF=tt]="lowercaseF";const et=103;e[e.lowercaseG=et]="lowercaseG";const pt=104;e[e.lowercaseH=pt]="lowercaseH";const vt=105;e[e.lowercaseI=vt]="lowercaseI";const _t=106;e[e.lowercaseJ=_t]="lowercaseJ";const bt=107;e[e.lowercaseK=bt]="lowercaseK";const Rt=108;e[e.lowercaseL=Rt]="lowercaseL";const ct=109;e[e.lowercaseM=ct]="lowercaseM";const Ve=110;e[e.lowercaseN=Ve]="lowercaseN";const Qe=111;e[e.lowercaseO=Qe]="lowercaseO";const rt=112;e[e.lowercaseP=rt]="lowercaseP";const qe=113;e[e.lowercaseQ=qe]="lowercaseQ";const He=114;e[e.lowercaseR=He]="lowercaseR";const Ce=115;e[e.lowercaseS=Ce]="lowercaseS";const Se=116;e[e.lowercaseT=Se]="lowercaseT";const Le=117;e[e.lowercaseU=Le]="lowercaseU";const Ne=118;e[e.lowercaseV=Ne]="lowercaseV";const je=119;e[e.lowercaseW=je]="lowercaseW";const Je=120;e[e.lowercaseX=Je]="lowercaseX";const ut=121;e[e.lowercaseY=ut]="lowercaseY";const Et=122;e[e.lowercaseZ=Et]="lowercaseZ";const wt=123;e[e.leftCurlyBrace=wt]="leftCurlyBrace";const nr=124;e[e.verticalBar=nr]="verticalBar";const ir=125;e[e.rightCurlyBrace=ir]="rightCurlyBrace";const It=126;e[e.tilde=It]="tilde";const Gt=160;e[e.nonBreakingSpace=Gt]="nonBreakingSpace";const cr=5760;e[e.oghamSpaceMark=cr]="oghamSpaceMark";const Pr=8232;e[e.lineSeparator=Pr]="lineSeparator";const Ct=8233;e[e.paragraphSeparator=Ct]="paragraphSeparator"})(Kn||(Kn={}));let xoe,xs,$s,Nt,Ei,vYe;function IM(){return vYe++}function SGt(e){if("pos"in e){const t=TGt(e.pos);e.message+=` (${t.line}:${t.column})`,e.loc=t}return e}class wGt{constructor(t,r){this.line=t,this.column=r}}function TGt(e){let t=1,r=1;for(let n=0;n<e;n++)Ei.charCodeAt(n)===Kn.lineFeed?(t++,r=1):r++;return new wGt(t,r)}function AGt(e,t,r,n){Ei=e,Nt=new qf,vYe=1,xoe=t,xs=r,$s=n}function Ji(e){return Nt.contextualKeyword===e}function Mxe(e){const t=OM();return t.type===ke.name&&t.contextualKeyword===e}function xu(e){return Nt.contextualKeyword===e&&wa(ke.name)}function zc(e){xu(e)||ko()}function Wp(){return Wr(ke.eof)||Wr(ke.braceR)||Zf()}function Zf(){const e=Nt.tokens[Nt.tokens.length-1],t=e?e.end:0;for(let r=t;r<Nt.start;r++){const n=Ei.charCodeAt(r);if(n===Kn.lineFeed||n===Kn.carriageReturn||n===8232||n===8233)return!0}return!1}function mYe(){const e=Rxe();for(let t=Nt.end;t<e;t++){const r=Ei.charCodeAt(t);if(r===Kn.lineFeed||r===Kn.carriageReturn||r===8232||r===8233)return!0}return!1}function vm(){return wa(ke.semi)||Wp()}function Cl(){vm()||ko('Unexpected token, expected ";"')}function Ra(e){wa(e)||ko(`Unexpected token, expected "${bGt(e)}"`)}function ko(e="Unexpected token",t=Nt.start){if(Nt.error)return;const r=new SyntaxError(e);r.pos=t,Nt.error=r,Nt.pos=Ei.length,Mo(ke.eof)}const gYe=[9,11,12,Kn.space,Kn.nonBreakingSpace,Kn.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],yYe=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,_Ye=new Uint8Array(65536);for(const e of gYe)_Ye[e]=1;function CGt(e){if(e<48)return e===36;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}const j1=new Uint8Array(65536);for(let e=0;e<128;e++)j1[e]=CGt(e)?1:0;for(let e=128;e<65536;e++)j1[e]=1;for(const e of gYe)j1[e]=0;j1[8232]=0,j1[8233]=0;const LM=j1.slice();for(let e=Kn.digit0;e<=Kn.digit9;e++)LM[e]=0;const xYe=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,yn._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,yn._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,yn._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,yn._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,yn._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,yn._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(ke._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(ke._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,yn._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(ke._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(ke._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(ke._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,yn._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(ke._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(ke._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(ke._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,yn._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(ke._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,yn._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(ke._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,yn._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(ke._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,yn._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(ke._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,yn._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,yn._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,yn._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,yn._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,yn._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(ke._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(ke._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(ke._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,yn._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(ke._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(ke._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);function kGt(){let e=0,t=0,r=Nt.pos;for(;r<Ei.length&&(t=Ei.charCodeAt(r),!(t<Kn.lowercaseA||t>Kn.lowercaseZ));){const o=xYe[e+(t-Kn.lowercaseA)+1];if(o===-1)break;e=o,r++}const n=xYe[e];if(n>-1&&!j1[t]){Nt.pos=r,n&1?Mo(n>>>1):Mo(ke.name,n>>>1);return}for(;r<Ei.length;){const o=Ei.charCodeAt(r);if(j1[o])r++;else if(o===Kn.backslash){if(r+=2,Ei.charCodeAt(r)===Kn.leftCurlyBrace){for(;r<Ei.length&&Ei.charCodeAt(r)!==Kn.rightCurlyBrace;)r++;r++}}else if(o===Kn.atSign&&Ei.charCodeAt(r+1)===Kn.atSign)r+=2;else break}Nt.pos=r,Mo(ke.name)}var ao;(function(e){e[e.Access=0]="Access";const r=1;e[e.ExportAccess=r]="ExportAccess";const n=r+1;e[e.TopLevelDeclaration=n]="TopLevelDeclaration";const o=n+1;e[e.FunctionScopedDeclaration=o]="FunctionScopedDeclaration";const m=o+1;e[e.BlockScopedDeclaration=m]="BlockScopedDeclaration";const u=m+1;e[e.ObjectShorthandTopLevelDeclaration=u]="ObjectShorthandTopLevelDeclaration";const h=u+1;e[e.ObjectShorthandFunctionScopedDeclaration=h]="ObjectShorthandFunctionScopedDeclaration";const a=h+1;e[e.ObjectShorthandBlockScopedDeclaration=a]="ObjectShorthandBlockScopedDeclaration";const l=a+1;e[e.ObjectShorthand=l]="ObjectShorthand";const v=l+1;e[e.ImportDeclaration=v]="ImportDeclaration";const i=v+1;e[e.ObjectKey=i]="ObjectKey";const S=i+1;e[e.ImportAccess=S]="ImportAccess"})(ao||(ao={}));var Y1;(function(e){e[e.NoChildren=0]="NoChildren";const r=1;e[e.OneChild=r]="OneChild";const n=r+1;e[e.StaticChildren=n]="StaticChildren";const o=n+1;e[e.KeyAfterPropSpread=o]="KeyAfterPropSpread"})(Y1||(Y1={}));function bYe(e){const t=e.identifierRole;return t===ao.TopLevelDeclaration||t===ao.FunctionScopedDeclaration||t===ao.BlockScopedDeclaration||t===ao.ObjectShorthandTopLevelDeclaration||t===ao.ObjectShorthandFunctionScopedDeclaration||t===ao.ObjectShorthandBlockScopedDeclaration}function MGt(e){const t=e.identifierRole;return t===ao.FunctionScopedDeclaration||t===ao.BlockScopedDeclaration||t===ao.ObjectShorthandFunctionScopedDeclaration||t===ao.ObjectShorthandBlockScopedDeclaration}function EYe(e){const t=e.identifierRole;return t===ao.TopLevelDeclaration||t===ao.ObjectShorthandTopLevelDeclaration||t===ao.ImportDeclaration}function RGt(e){const t=e.identifierRole;return t===ao.TopLevelDeclaration||t===ao.BlockScopedDeclaration||t===ao.ObjectShorthandTopLevelDeclaration||t===ao.ObjectShorthandBlockScopedDeclaration}function NGt(e){const t=e.identifierRole;return t===ao.FunctionScopedDeclaration||t===ao.ObjectShorthandFunctionScopedDeclaration}function IGt(e){return e.identifierRole===ao.ObjectShorthandTopLevelDeclaration||e.identifierRole===ao.ObjectShorthandBlockScopedDeclaration||e.identifierRole===ao.ObjectShorthandFunctionScopedDeclaration}class boe{constructor(){this.type=Nt.type,this.contextualKeyword=Nt.contextualKeyword,this.start=Nt.start,this.end=Nt.end,this.scopeDepth=Nt.scopeDepth,this.isType=Nt.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}}function Na(){Nt.tokens.push(new boe),AYe()}function W2(){Nt.tokens.push(new boe),Nt.start=Nt.pos,XGt()}function LGt(){Nt.type===ke.assign&&--Nt.pos,YGt()}function zo(e){for(let r=Nt.tokens.length-e;r<Nt.tokens.length;r++)Nt.tokens[r].isType=!0;const t=Nt.isType;return Nt.isType=!0,t}function Po(e){Nt.isType=e}function wa(e){return Wr(e)?(Na(),!0):!1}function SYe(e){const t=Nt.isType;Nt.isType=!0,wa(e),Nt.isType=t}function Wr(e){return Nt.type===e}function oc(){const e=Nt.snapshot();Na();const t=Nt.type;return Nt.restoreFromSnapshot(e),t}class OGt{constructor(t,r){this.type=t,this.contextualKeyword=r}}function OM(){const e=Nt.snapshot();Na();const t=Nt.type,r=Nt.contextualKeyword;return Nt.restoreFromSnapshot(e),new OGt(t,r)}function Rxe(){return wYe(Nt.pos)}function wYe(e){yYe.lastIndex=e;const t=yYe.exec(Ei);return e+t[0].length}function TYe(){return Ei.charCodeAt(Rxe())}function AYe(){if(kYe(),Nt.start=Nt.pos,Nt.pos>=Ei.length){const e=Nt.tokens;e.length>=2&&e[e.length-1].start>=Ei.length&&e[e.length-2].start>=Ei.length&&ko("Unexpectedly reached the end of input."),Mo(ke.eof);return}DGt(Ei.charCodeAt(Nt.pos))}function DGt(e){LM[e]||e===Kn.backslash||e===Kn.atSign&&Ei.charCodeAt(Nt.pos+1)===Kn.atSign?kGt():NYe(e)}function PGt(){for(;Ei.charCodeAt(Nt.pos)!==Kn.asterisk||Ei.charCodeAt(Nt.pos+1)!==Kn.slash;)if(Nt.pos++,Nt.pos>Ei.length){ko("Unterminated comment",Nt.pos-2);return}Nt.pos+=2}function CYe(e){let t=Ei.charCodeAt(Nt.pos+=e);if(Nt.pos<Ei.length)for(;t!==Kn.lineFeed&&t!==Kn.carriageReturn&&t!==Kn.lineSeparator&&t!==Kn.paragraphSeparator&&++Nt.pos<Ei.length;)t=Ei.charCodeAt(Nt.pos)}function kYe(){for(;Nt.pos<Ei.length;){const e=Ei.charCodeAt(Nt.pos);switch(e){case Kn.carriageReturn:Ei.charCodeAt(Nt.pos+1)===Kn.lineFeed&&++Nt.pos;case Kn.lineFeed:case Kn.lineSeparator:case Kn.paragraphSeparator:++Nt.pos;break;case Kn.slash:switch(Ei.charCodeAt(Nt.pos+1)){case Kn.asterisk:Nt.pos+=2,PGt();break;case Kn.slash:CYe(2);break;default:return}break;default:if(_Ye[e])++Nt.pos;else return}}}function Mo(e,t=yn.NONE){Nt.end=Nt.pos,Nt.type=e,Nt.contextualKeyword=t}function FGt(){const e=Ei.charCodeAt(Nt.pos+1);if(e>=Kn.digit0&&e<=Kn.digit9){IYe(!0);return}e===Kn.dot&&Ei.charCodeAt(Nt.pos+2)===Kn.dot?(Nt.pos+=3,Mo(ke.ellipsis)):(++Nt.pos,Mo(ke.dot))}function BGt(){Ei.charCodeAt(Nt.pos+1)===Kn.equalsTo?Ks(ke.assign,2):Ks(ke.slash,1)}function zGt(e){let t=e===Kn.asterisk?ke.star:ke.modulo,r=1,n=Ei.charCodeAt(Nt.pos+1);e===Kn.asterisk&&n===Kn.asterisk&&(r++,n=Ei.charCodeAt(Nt.pos+2),t=ke.exponent),n===Kn.equalsTo&&Ei.charCodeAt(Nt.pos+2)!==Kn.greaterThan&&(r++,t=ke.assign),Ks(t,r)}function UGt(e){const t=Ei.charCodeAt(Nt.pos+1);if(t===e){Ei.charCodeAt(Nt.pos+2)===Kn.equalsTo?Ks(ke.assign,3):Ks(e===Kn.verticalBar?ke.logicalOR:ke.logicalAND,2);return}if(e===Kn.verticalBar){if(t===Kn.greaterThan){Ks(ke.pipeline,2);return}else if(t===Kn.rightCurlyBrace&&$s){Ks(ke.braceBarR,2);return}}if(t===Kn.equalsTo){Ks(ke.assign,2);return}Ks(e===Kn.verticalBar?ke.bitwiseOR:ke.bitwiseAND,1)}function $Gt(){Ei.charCodeAt(Nt.pos+1)===Kn.equalsTo?Ks(ke.assign,2):Ks(ke.bitwiseXOR,1)}function HGt(e){const t=Ei.charCodeAt(Nt.pos+1);if(t===e){Ks(ke.preIncDec,2);return}t===Kn.equalsTo?Ks(ke.assign,2):e===Kn.plusSign?Ks(ke.plus,1):Ks(ke.minus,1)}function VGt(){const e=Ei.charCodeAt(Nt.pos+1);if(e===Kn.lessThan){if(Ei.charCodeAt(Nt.pos+2)===Kn.equalsTo){Ks(ke.assign,3);return}Nt.isType?Ks(ke.lessThan,1):Ks(ke.bitShiftL,2);return}e===Kn.equalsTo?Ks(ke.relationalOrEqual,2):Ks(ke.lessThan,1)}function MYe(){if(Nt.isType){Ks(ke.greaterThan,1);return}const e=Ei.charCodeAt(Nt.pos+1);if(e===Kn.greaterThan){const t=Ei.charCodeAt(Nt.pos+2)===Kn.greaterThan?3:2;if(Ei.charCodeAt(Nt.pos+t)===Kn.equalsTo){Ks(ke.assign,t+1);return}Ks(ke.bitShiftR,t);return}e===Kn.equalsTo?Ks(ke.relationalOrEqual,2):Ks(ke.greaterThan,1)}function RYe(){Nt.type===ke.greaterThan&&(Nt.pos-=1,MYe())}function GGt(e){const t=Ei.charCodeAt(Nt.pos+1);if(t===Kn.equalsTo){Ks(ke.equality,Ei.charCodeAt(Nt.pos+2)===Kn.equalsTo?3:2);return}if(e===Kn.equalsTo&&t===Kn.greaterThan){Nt.pos+=2,Mo(ke.arrow);return}Ks(e===Kn.equalsTo?ke.eq:ke.bang,1)}function jGt(){const e=Ei.charCodeAt(Nt.pos+1),t=Ei.charCodeAt(Nt.pos+2);e===Kn.questionMark&&!($s&&Nt.isType)?t===Kn.equalsTo?Ks(ke.assign,3):Ks(ke.nullishCoalescing,2):e===Kn.dot&&!(t>=Kn.digit0&&t<=Kn.digit9)?(Nt.pos+=2,Mo(ke.questionDot)):(++Nt.pos,Mo(ke.question))}function NYe(e){switch(e){case Kn.numberSign:++Nt.pos,Mo(ke.hash);return;case Kn.dot:FGt();return;case Kn.leftParenthesis:++Nt.pos,Mo(ke.parenL);return;case Kn.rightParenthesis:++Nt.pos,Mo(ke.parenR);return;case Kn.semicolon:++Nt.pos,Mo(ke.semi);return;case Kn.comma:++Nt.pos,Mo(ke.comma);return;case Kn.leftSquareBracket:++Nt.pos,Mo(ke.bracketL);return;case Kn.rightSquareBracket:++Nt.pos,Mo(ke.bracketR);return;case Kn.leftCurlyBrace:$s&&Ei.charCodeAt(Nt.pos+1)===Kn.verticalBar?Ks(ke.braceBarL,2):(++Nt.pos,Mo(ke.braceL));return;case Kn.rightCurlyBrace:++Nt.pos,Mo(ke.braceR);return;case Kn.colon:Ei.charCodeAt(Nt.pos+1)===Kn.colon?Ks(ke.doubleColon,2):(++Nt.pos,Mo(ke.colon));return;case Kn.questionMark:jGt();return;case Kn.atSign:++Nt.pos,Mo(ke.at);return;case Kn.graveAccent:++Nt.pos,Mo(ke.backQuote);return;case Kn.digit0:{const t=Ei.charCodeAt(Nt.pos+1);if(t===Kn.lowercaseX||t===Kn.uppercaseX||t===Kn.lowercaseO||t===Kn.uppercaseO||t===Kn.lowercaseB||t===Kn.uppercaseB){WGt();return}}case Kn.digit1:case Kn.digit2:case Kn.digit3:case Kn.digit4:case Kn.digit5:case Kn.digit6:case Kn.digit7:case Kn.digit8:case Kn.digit9:IYe(!1);return;case Kn.quotationMark:case Kn.apostrophe:KGt(e);return;case Kn.slash:BGt();return;case Kn.percentSign:case Kn.asterisk:zGt(e);return;case Kn.verticalBar:case Kn.ampersand:UGt(e);return;case Kn.caret:$Gt();return;case Kn.plusSign:case Kn.dash:HGt(e);return;case Kn.lessThan:VGt();return;case Kn.greaterThan:MYe();return;case Kn.equalsTo:case Kn.exclamationMark:GGt(e);return;case Kn.tilde:Ks(ke.tilde,1);return}ko(`Unexpected character '${String.fromCharCode(e)}'`,Nt.pos)}function Ks(e,t){Nt.pos+=t,Mo(e)}function YGt(){const e=Nt.pos;let t=!1,r=!1;for(;;){if(Nt.pos>=Ei.length){ko("Unterminated regular expression",e);return}const n=Ei.charCodeAt(Nt.pos);if(t)t=!1;else{if(n===Kn.leftSquareBracket)r=!0;else if(n===Kn.rightSquareBracket&&r)r=!1;else if(n===Kn.slash&&!r)break;t=n===Kn.backslash}++Nt.pos}++Nt.pos,qGt(),Mo(ke.regexp)}function Nxe(){for(;;){const e=Ei.charCodeAt(Nt.pos);if(e>=Kn.digit0&&e<=Kn.digit9||e===Kn.underscore)Nt.pos++;else break}}function WGt(){for(Nt.pos+=2;;){const t=Ei.charCodeAt(Nt.pos);if(t>=Kn.digit0&&t<=Kn.digit9||t>=Kn.lowercaseA&&t<=Kn.lowercaseF||t>=Kn.uppercaseA&&t<=Kn.uppercaseF||t===Kn.underscore)Nt.pos++;else break}Ei.charCodeAt(Nt.pos)===Kn.lowercaseN?(++Nt.pos,Mo(ke.bigint)):Mo(ke.num)}function IYe(e){let t=!1,r=!1;e||Nxe();let n=Ei.charCodeAt(Nt.pos);if(n===Kn.dot&&(++Nt.pos,Nxe(),n=Ei.charCodeAt(Nt.pos)),(n===Kn.uppercaseE||n===Kn.lowercaseE)&&(n=Ei.charCodeAt(++Nt.pos),(n===Kn.plusSign||n===Kn.dash)&&++Nt.pos,Nxe(),n=Ei.charCodeAt(Nt.pos)),n===Kn.lowercaseN?(++Nt.pos,t=!0):n===Kn.lowercaseM&&(++Nt.pos,r=!0),t){Mo(ke.bigint);return}if(r){Mo(ke.decimal);return}Mo(ke.num)}function KGt(e){for(Nt.pos++;;){if(Nt.pos>=Ei.length){ko("Unterminated string constant");return}const t=Ei.charCodeAt(Nt.pos);if(t===Kn.backslash)Nt.pos++;else if(t===e)break;Nt.pos++}Nt.pos++,Mo(ke.string)}function XGt(){for(;;){if(Nt.pos>=Ei.length){ko("Unterminated template");return}const e=Ei.charCodeAt(Nt.pos);if(e===Kn.graveAccent||e===Kn.dollarSign&&Ei.charCodeAt(Nt.pos+1)===Kn.leftCurlyBrace){if(Nt.pos===Nt.start&&Wr(ke.template))if(e===Kn.dollarSign){Nt.pos+=2,Mo(ke.dollarBraceL);return}else{++Nt.pos,Mo(ke.backQuote);return}Mo(ke.template);return}e===Kn.backslash&&Nt.pos++,Nt.pos++}}function qGt(){for(;Nt.pos<Ei.length;){const e=Ei.charCodeAt(Nt.pos);if(j1[e])Nt.pos++;else if(e===Kn.backslash){if(Nt.pos+=2,Ei.charCodeAt(Nt.pos)===Kn.leftCurlyBrace){for(;Nt.pos<Ei.length&&Ei.charCodeAt(Nt.pos)!==Kn.rightCurlyBrace;)Nt.pos++;Nt.pos++}}else break}}function DM(e,t=e.currentIndex()){let r=t+1;if(Eoe(e,r)){const n=e.identifierNameAtIndex(t);return{isType:!1,leftName:n,rightName:n,endIndex:r}}if(r++,Eoe(e,r))return{isType:!0,leftName:null,rightName:null,endIndex:r};if(r++,Eoe(e,r))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:r};if(r++,Eoe(e,r))return{isType:!0,leftName:null,rightName:null,endIndex:r};throw new Error(`Unexpected import/export specifier at ${t}`)}function Eoe(e,t){const r=e.tokens[t];return r.type===ke.braceR||r.type===ke.comma}const ZGt=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["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","ÿ"],["OElig","Œ"],["oelig","œ"],["Scaron","Š"],["scaron","š"],["Yuml","Ÿ"],["fnof","ƒ"],["circ","ˆ"],["tilde","˜"],["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","ϖ"],["ensp",""],["emsp",""],["thinsp",""],["zwnj",""],["zwj",""],["lrm",""],["rlm",""],["ndash",""],["mdash","—"],["lsquo",""],["rsquo",""],["sbquo",""],["ldquo","“"],["rdquo","”"],["bdquo","„"],["dagger","†"],["Dagger","‡"],["bull","•"],["hellip","…"],["permil","‰"],["prime",""],["Prime","″"],["lsaquo",""],["rsaquo",""],["oline","‾"],["frasl",""],["euro","€"],["image",""],["weierp","℘"],["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","♦"]]);function LYe(e){const[t,r]=OYe(e.jsxPragma||"React.createElement"),[n,o]=OYe(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:r,fragmentBase:n,fragmentSuffix:o}}function OYe(e){let t=e.indexOf(".");return t===-1&&(t=e.length),[e.slice(0,t),e.slice(t)]}class W1{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class JS extends W1{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(t,r,n,o,m){super(),this.rootTransformer=t,this.tokens=r,this.importProcessor=n,this.nameManager=o,this.options=m,JS.prototype.__init.call(this),JS.prototype.__init2.call(this),JS.prototype.__init3.call(this),JS.prototype.__init4.call(this),JS.prototype.__init5.call(this),this.jsxPragmaInfo=LYe(m),this.isAutomaticRuntime=m.jsxRuntime==="automatic",this.jsxImportSource=m.jsxImportSource||"react"}process(){return this.tokens.matches1(ke.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let t="";if(this.filenameVarName&&(t+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(const[r,n]of Object.entries(this.cjsAutomaticModuleNameResolutions))t+=`var ${n} = require("${r}");`;else{const{createElement:r,...n}=this.esmAutomaticImportNameResolutions;r&&(t+=`import {createElement as ${r}} from "${this.jsxImportSource}";`);const o=Object.entries(n).map(([m,u])=>`${m} as ${u}`).join(", ");if(o){const m=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");t+=`import {${o}} from "${m}";`}}return t}processJSXTag(){const{jsxRole:t,start:r}=this.tokens.currentToken(),n=this.options.production?null:this.getElementLocationCode(r);this.isAutomaticRuntime&&t!==Y1.KeyAfterPropSpread?this.transformTagToJSXFunc(n,t):this.transformTagToCreateElement(n)}getElementLocationCode(t){return`lineNumber: ${this.getLineNumberForIndex(t)}`}getLineNumberForIndex(t){const r=this.tokens.code;for(;this.lastIndex<t&&this.lastIndex<r.length;)r[this.lastIndex]===`
`&&this.lastLineNumber++,this.lastIndex++;return this.lastLineNumber}transformTagToJSXFunc(t,r){const n=r===Y1.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(n));let o=null;if(this.tokens.matches1(ke.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(r);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),o=this.processProps(!0),this.tokens.matches2(ke.slash,ke.jsxTagEnd))this.tokens.appendCode("}");else if(this.tokens.matches1(ke.jsxTagEnd))this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(r);else throw new Error("Expected either /> or > at the end of the tag.");o&&this.tokens.appendCode(`, ${o}`)}for(this.options.production||(o===null&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${n}, ${this.getDevSource(t)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(ke.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(t){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(ke.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(t),!this.tokens.matches2(ke.slash,ke.jsxTagEnd))if(this.tokens.matches1(ke.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw new Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(ke.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(t){return this.options.production?t?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{const{jsxPragmaInfo:t}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.base)||t.base}${t.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{const{jsxPragmaInfo:t}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.fragmentBase)||t.fragmentBase)+t.fragmentSuffix}}claimAutoImportedFuncInvocation(t,r){const n=this.claimAutoImportedName(t,r);return this.importProcessor?`${n}.call(void 0, `:`${n}(`}claimAutoImportedName(t,r){if(this.importProcessor){const n=this.jsxImportSource+r;return this.cjsAutomaticModuleNameResolutions[n]||(this.cjsAutomaticModuleNameResolutions[n]=this.importProcessor.getFreeIdentifierForPath(n)),`${this.cjsAutomaticModuleNameResolutions[n]}.${t}`}else return this.esmAutomaticImportNameResolutions[t]||(this.esmAutomaticImportNameResolutions[t]=this.nameManager.claimFreeName(`_${t}`)),this.esmAutomaticImportNameResolutions[t]}processTagIntro(){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType||!this.tokens.matches2AtIndex(t-1,ke.jsxName,ke.jsxName)&&!this.tokens.matches2AtIndex(t-1,ke.greaterThan,ke.jsxName)&&!this.tokens.matches1AtIndex(t,ke.braceL)&&!this.tokens.matches1AtIndex(t,ke.jsxTagEnd)&&!this.tokens.matches2AtIndex(t,ke.slash,ke.jsxTagEnd);)t++;if(t===this.tokens.currentIndex()+1){const r=this.tokens.identifierName();DYe(r)&&this.tokens.replaceToken(`'${r}'`)}for(;this.tokens.currentIndex()<t;)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(t){const r=this.options.production?"":`__self: this, __source: ${this.getDevSource(t)}`;if(!this.tokens.matches1(ke.jsxName)&&!this.tokens.matches1(ke.braceL)){r?this.tokens.appendCode(`, {${r}}`):this.tokens.appendCode(", null");return}this.tokens.appendCode(", {"),this.processProps(!1),r?this.tokens.appendCode(` ${r}}`):this.tokens.appendCode("}")}processProps(t){let r=null;for(;;){if(this.tokens.matches2(ke.jsxName,ke.eq)){const n=this.tokens.identifierName();if(t&&n==="key"){r!==null&&this.tokens.appendCode(r.replace(/[^\n]/g,"")),this.tokens.removeToken(),this.tokens.removeToken();const o=this.tokens.snapshot();this.processPropValue(),r=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(o);continue}else this.processPropName(n),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(ke.jsxName)){const n=this.tokens.identifierName();this.processPropName(n),this.tokens.appendCode(": true")}else if(this.tokens.matches1(ke.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else break;this.tokens.appendCode(",")}return r}processPropName(t){t.includes("-")?this.tokens.replaceToken(`'${t}'`):this.tokens.copyToken()}processPropValue(){this.tokens.matches1(ke.braceL)?(this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("")):this.tokens.matches1(ke.jsxTagStart)?this.processJSXTag():this.processStringPropValue()}processStringPropValue(){const t=this.tokens.currentToken(),r=this.tokens.code.slice(t.start+1,t.end-1),n=PYe(r),o=JGt(r);this.tokens.replaceToken(o+n)}processAutomaticChildrenAndEndProps(t){t===Y1.StaticChildren?(this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}")):(t===Y1.OneChild&&this.tokens.appendCode(" children: "),this.processChildren(!1),this.tokens.appendCode("}"))}processChildren(t){let r=t;for(;;){if(this.tokens.matches2(ke.jsxTagStart,ke.slash))return;let n=!1;if(this.tokens.matches1(ke.braceL))this.tokens.matches2(ke.braceL,ke.braceR)?(this.tokens.replaceToken(""),this.tokens.replaceToken("")):(this.tokens.replaceToken(r?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),n=!0);else if(this.tokens.matches1(ke.jsxTagStart))this.tokens.appendCode(r?", ":""),this.processJSXTag(),n=!0;else if(this.tokens.matches1(ke.jsxText)||this.tokens.matches1(ke.jsxEmptyText))n=this.processChildTextElement(r);else throw new Error("Unexpected token when processing JSX children.");n&&(r=!0)}}processChildTextElement(t){const r=this.tokens.currentToken(),n=this.tokens.code.slice(r.start,r.end),o=PYe(n),m=QGt(n);return m==='""'?(this.tokens.replaceToken(o),!1):(this.tokens.replaceToken(`${t?", ":""}${m}${o}`),!0)}getDevSource(t){return`{fileName: ${this.getFilenameVarName()}, ${t}}`}getFilenameVarName(){return this.filenameVarName||(this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName")),this.filenameVarName}}function DYe(e){const t=e.charCodeAt(0);return t>=Kn.lowercaseA&&t<=Kn.lowercaseZ}function QGt(e){let t="",r="",n=!1,o=!1;for(let m=0;m<e.length;m++){const u=e[m];if(u===" "||u===" "||u==="\r")n||(r+=u);else if(u===`
`)r="",n=!0;else{if(o&&n&&(t+=" "),t+=r,r="",u==="&"){const{entity:h,newI:a}=FYe(e,m+1);m=a-1,t+=h}else t+=u;o=!0,n=!1}}return n||(t+=r),JSON.stringify(t)}function PYe(e){let t=0,r=0;for(const n of e)n===`
`?(t++,r=0):n===" "&&r++;return`
`.repeat(t)+" ".repeat(r)}function JGt(e){let t="";for(let r=0;r<e.length;r++){const n=e[r];if(n===`
`)if(/\s/.test(e[r+1]))for(t+=" ";r<e.length&&/\s/.test(e[r+1]);)r++;else t+=`
`;else if(n==="&"){const{entity:o,newI:m}=FYe(e,r+1);t+=o,r=m-1}else t+=n}return JSON.stringify(t)}function FYe(e,t){let r="",n=0,o,m=t;if(e[m]==="#"){let u=10;m++;let h;if(e[m]==="x")for(u=16,m++,h=m;m<e.length&&tjt(e.charCodeAt(m));)m++;else for(h=m;m<e.length&&ejt(e.charCodeAt(m));)m++;if(e[m]===";"){const a=e.slice(h,m);a&&(m++,o=String.fromCodePoint(parseInt(a,u)))}}else for(;m<e.length&&n++<10;){const u=e[m];if(m++,u===";"){o=ZGt.get(r);break}r+=u}return o?{entity:o,newI:m}:{entity:"&",newI:t}}function ejt(e){return e>=Kn.digit0&&e<=Kn.digit9}function tjt(e){return e>=Kn.digit0&&e<=Kn.digit9||e>=Kn.lowercaseA&&e<=Kn.lowercaseF||e>=Kn.uppercaseA&&e<=Kn.uppercaseF}function BYe(e,t){const r=LYe(t),n=new Set;for(let o=0;o<e.tokens.length;o++){const m=e.tokens[o];if(m.type===ke.name&&!m.isType&&(m.identifierRole===ao.Access||m.identifierRole===ao.ObjectShorthand||m.identifierRole===ao.ExportAccess)&&!m.shadowsGlobal&&n.add(e.identifierNameForToken(m)),m.type===ke.jsxTagStart&&n.add(r.base),m.type===ke.jsxTagStart&&o+1<e.tokens.length&&e.tokens[o+1].type===ke.jsxTagEnd&&(n.add(r.base),n.add(r.fragmentBase)),m.type===ke.jsxName&&m.identifierRole===ao.Access){const u=e.identifierNameForToken(m);(!DYe(u)||e.tokens[o+1].type===ke.dot)&&n.add(e.identifierNameForToken(m))}}return n}class e4{__init(){this.nonTypeIdentifiers=new Set}__init2(){this.importInfoByPath=new Map}__init3(){this.importsToReplace=new Map}__init4(){this.identifierReplacements=new Map}__init5(){this.exportBindingsByLocalName=new Map}constructor(t,r,n,o,m,u,h){this.nameManager=t,this.tokens=r,this.enableLegacyTypeScriptModuleInterop=n,this.options=o,this.isTypeScriptTransformEnabled=m,this.keepUnusedImports=u,this.helperManager=h,e4.prototype.__init.call(this),e4.prototype.__init2.call(this),e4.prototype.__init3.call(this),e4.prototype.__init4.call(this),e4.prototype.__init5.call(this)}preprocessTokens(){for(let t=0;t<this.tokens.tokens.length;t++)this.tokens.matches1AtIndex(t,ke._import)&&!this.tokens.matches3AtIndex(t,ke._import,ke.name,ke.eq)&&this.preprocessImportAtIndex(t),this.tokens.matches1AtIndex(t,ke._export)&&!this.tokens.matches2AtIndex(t,ke._export,ke.eq)&&this.preprocessExportAtIndex(t);this.generateImportReplacements()}pruneTypeOnlyImports(){this.nonTypeIdentifiers=BYe(this.tokens,this.options);for(const[t,r]of this.importInfoByPath.entries()){if(r.hasBareImport||r.hasStarExport||r.exportStarNames.length>0||r.namedExports.length>0)continue;[...r.defaultNames,...r.wildcardNames,...r.namedImports.map(({localName:o})=>o)].every(o=>this.shouldAutomaticallyElideImportedName(o))&&this.importsToReplace.set(t,"")}}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}generateImportReplacements(){for(const[t,r]of this.importInfoByPath.entries()){const{defaultNames:n,wildcardNames:o,namedImports:m,namedExports:u,exportStarNames:h,hasStarExport:a}=r;if(n.length===0&&o.length===0&&m.length===0&&u.length===0&&h.length===0&&!a){this.importsToReplace.set(t,`require('${t}');`);continue}const l=this.getFreeIdentifierForPath(t);let v;this.enableLegacyTypeScriptModuleInterop?v=l:v=o.length>0?o[0]:this.getFreeIdentifierForPath(t);let i=`var ${l} = require('${t}');`;if(o.length>0)for(const S of o){const g=this.enableLegacyTypeScriptModuleInterop?l:`${this.helperManager.getHelperName("interopRequireWildcard")}(${l})`;i+=` var ${S} = ${g};`}else h.length>0&&v!==l?i+=` var ${v} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${l});`:n.length>0&&v!==l&&(i+=` var ${v} = ${this.helperManager.getHelperName("interopRequireDefault")}(${l});`);for(const{importedName:S,localName:g}of u)i+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${l}, '${g}', '${S}');`;for(const S of h)i+=` exports.${S} = ${v};`;a&&(i+=` ${this.helperManager.getHelperName("createStarExport")}(${l});`),this.importsToReplace.set(t,i);for(const S of n)this.identifierReplacements.set(S,`${v}.default`);for(const{importedName:S,localName:g}of m)this.identifierReplacements.set(g,`${l}.${S}`)}}getFreeIdentifierForPath(t){const r=t.split("/"),o=r[r.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${o}`)}preprocessImportAtIndex(t){const r=[],n=[],o=[];if(t++,(this.tokens.matchesContextualAtIndex(t,yn._type)||this.tokens.matches1AtIndex(t,ke._typeof))&&!this.tokens.matches1AtIndex(t+1,ke.comma)&&!this.tokens.matchesContextualAtIndex(t+1,yn._from)||this.tokens.matches1AtIndex(t,ke.parenL))return;if(this.tokens.matches1AtIndex(t,ke.name)&&(r.push(this.tokens.identifierNameAtIndex(t)),t++,this.tokens.matches1AtIndex(t,ke.comma)&&t++),this.tokens.matches1AtIndex(t,ke.star)&&(t+=2,n.push(this.tokens.identifierNameAtIndex(t)),t++),this.tokens.matches1AtIndex(t,ke.braceL)){const h=this.getNamedImports(t+1);t=h.newIndex;for(const a of h.namedImports)a.importedName==="default"?r.push(a.localName):o.push(a)}if(this.tokens.matchesContextualAtIndex(t,yn._from)&&t++,!this.tokens.matches1AtIndex(t,ke.string))throw new Error("Expected string token at the end of import statement.");const m=this.tokens.stringValueAtIndex(t),u=this.getImportInfo(m);u.defaultNames.push(...r),u.wildcardNames.push(...n),u.namedImports.push(...o),r.length===0&&n.length===0&&o.length===0&&(u.hasBareImport=!0)}preprocessExportAtIndex(t){if(this.tokens.matches2AtIndex(t,ke._export,ke._var)||this.tokens.matches2AtIndex(t,ke._export,ke._let)||this.tokens.matches2AtIndex(t,ke._export,ke._const))this.preprocessVarExportAtIndex(t);else if(this.tokens.matches2AtIndex(t,ke._export,ke._function)||this.tokens.matches2AtIndex(t,ke._export,ke._class)){const r=this.tokens.identifierNameAtIndex(t+2);this.addExportBinding(r,r)}else if(this.tokens.matches3AtIndex(t,ke._export,ke.name,ke._function)){const r=this.tokens.identifierNameAtIndex(t+3);this.addExportBinding(r,r)}else this.tokens.matches2AtIndex(t,ke._export,ke.braceL)?this.preprocessNamedExportAtIndex(t):this.tokens.matches2AtIndex(t,ke._export,ke.star)&&this.preprocessExportStarAtIndex(t)}preprocessVarExportAtIndex(t){let r=0;for(let n=t+2;;n++)if(this.tokens.matches1AtIndex(n,ke.braceL)||this.tokens.matches1AtIndex(n,ke.dollarBraceL)||this.tokens.matches1AtIndex(n,ke.bracketL))r++;else if(this.tokens.matches1AtIndex(n,ke.braceR)||this.tokens.matches1AtIndex(n,ke.bracketR))r--;else{if(r===0&&!this.tokens.matches1AtIndex(n,ke.name))break;if(this.tokens.matches1AtIndex(1,ke.eq)){const o=this.tokens.currentToken().rhsEndIndex;if(o==null)throw new Error("Expected = token with an end index.");n=o-1}else{const o=this.tokens.tokens[n];if(bYe(o)){const m=this.tokens.identifierNameAtIndex(n);this.identifierReplacements.set(m,`exports.${m}`)}}}}preprocessNamedExportAtIndex(t){t+=2;const{newIndex:r,namedImports:n}=this.getNamedImports(t);if(t=r,this.tokens.matchesContextualAtIndex(t,yn._from))t++;else{for(const{importedName:u,localName:h}of n)this.addExportBinding(u,h);return}if(!this.tokens.matches1AtIndex(t,ke.string))throw new Error("Expected string token at the end of import statement.");const o=this.tokens.stringValueAtIndex(t);this.getImportInfo(o).namedExports.push(...n)}preprocessExportStarAtIndex(t){let r=null;if(this.tokens.matches3AtIndex(t,ke._export,ke.star,ke._as)?(t+=3,r=this.tokens.identifierNameAtIndex(t),t+=2):t+=3,!this.tokens.matches1AtIndex(t,ke.string))throw new Error("Expected string token at the end of star export statement.");const n=this.tokens.stringValueAtIndex(t),o=this.getImportInfo(n);r!==null?o.exportStarNames.push(r):o.hasStarExport=!0}getNamedImports(t){const r=[];for(;;){if(this.tokens.matches1AtIndex(t,ke.braceR)){t++;break}const n=DM(this.tokens,t);if(t=n.endIndex,n.isType||r.push({importedName:n.leftName,localName:n.rightName}),this.tokens.matches2AtIndex(t,ke.comma,ke.braceR)){t+=2;break}else if(this.tokens.matches1AtIndex(t,ke.braceR)){t++;break}else if(this.tokens.matches1AtIndex(t,ke.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[t])}`)}return{newIndex:t,namedImports:r}}getImportInfo(t){const r=this.importInfoByPath.get(t);if(r)return r;const n={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(t,n),n}addExportBinding(t,r){this.exportBindingsByLocalName.has(t)||this.exportBindingsByLocalName.set(t,[]),this.exportBindingsByLocalName.get(t).push(r)}claimImportCode(t){const r=this.importsToReplace.get(t);return this.importsToReplace.set(t,""),r||""}getIdentifierReplacement(t){return this.identifierReplacements.get(t)||null}resolveExportBinding(t){const r=this.exportBindingsByLocalName.get(t);return!r||r.length===0?null:r.map(n=>`exports.${n}`).join(" = ")}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}}var Ixe={exports:{}},Soe={exports:{}},zYe;function rjt(){return zYe||(zYe=1,function(e,t){(function(r,n){n(t)})(Ns,function(r){r.get=void 0,r.put=void 0,r.pop=void 0;class n{constructor(){this._indexes={__proto__:null},this.array=[]}}r.get=(o,m)=>o._indexes[m],r.put=(o,m)=>{const u=r.get(o,m);if(u!==void 0)return u;const{array:h,_indexes:a}=o;return a[m]=h.push(m)-1},r.pop=o=>{const{array:m,_indexes:u}=o;if(m.length===0)return;const h=m.pop();u[h]=void 0},r.SetArray=n,Object.defineProperty(r,"__esModule",{value:!0})})}(Soe,Soe.exports)),Soe.exports}var woe={exports:{}},UYe;function $Ye(){return UYe||(UYe=1,function(e,t){(function(r,n){n(t)})(Ns,function(r){const m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=new Uint8Array(64),h=new Uint8Array(128);for(let s=0;s<m.length;s++){const d=m.charCodeAt(s);u[s]=d,h[d]=s}const a=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(s){return Buffer.from(s.buffer,s.byteOffset,s.byteLength).toString()}}:{decode(s){let d="";for(let f=0;f<s.length;f++)d+=String.fromCharCode(s[f]);return d}};function l(s){const d=new Int32Array(5),f=[];let b=0;do{const x=v(s,b),y=[];let C=!0,w=0;d[0]=0;for(let R=b;R<x;R++){let A;R=i(s,R,d,0);const E=d[0];E<w&&(C=!1),w=E,S(s,R,x)?(R=i(s,R,d,1),R=i(s,R,d,2),R=i(s,R,d,3),S(s,R,x)?(R=i(s,R,d,4),A=[E,d[1],d[2],d[3],d[4]]):A=[E,d[1],d[2],d[3]]):A=[E],y.push(A)}C||g(y),f.push(y),b=x+1}while(b<=s.length);return f}function v(s,d){const f=s.indexOf(";",d);return f===-1?s.length:f}function i(s,d,f,b){let x=0,y=0,C=0;do{const R=s.charCodeAt(d++);C=h[R],x|=(C&31)<<y,y+=5}while(C&32);const w=x&1;return x>>>=1,w&&(x=-2147483648|-x),f[b]+=x,d}function S(s,d,f){return d>=f?!1:s.charCodeAt(d)!==44}function g(s){s.sort(p)}function p(s,d){return s[0]-d[0]}function _(s){const d=new Int32Array(5),f=1024*16,b=f-36,x=new Uint8Array(f),y=x.subarray(0,b);let C=0,w="";for(let R=0;R<s.length;R++){const A=s[R];if(R>0&&(C===f&&(w+=a.decode(x),C=0),x[C++]=59),A.length!==0){d[0]=0;for(let E=0;E<A.length;E++){const k=A[E];C>b&&(w+=a.decode(y),x.copyWithin(0,b,C),C-=b),E>0&&(x[C++]=44),C=c(x,C,d,k,0),k.length!==1&&(C=c(x,C,d,k,1),C=c(x,C,d,k,2),C=c(x,C,d,k,3),k.length!==4&&(C=c(x,C,d,k,4)))}}}return w+a.decode(x.subarray(0,C))}function c(s,d,f,b,x){const y=b[x];let C=y-f[x];f[x]=y,C=C<0?-C<<1|1:C<<1;do{let w=C&31;C>>>=5,C>0&&(w|=32),s[d++]=u[w]}while(C>0);return d}r.decode=l,r.encode=_,Object.defineProperty(r,"__esModule",{value:!0})})}(woe,woe.exports)),woe.exports}var Toe={exports:{}},Lxe={exports:{}},HYe;function njt(){return HYe||(HYe=1,function(e,t){(function(r,n){e.exports=n()})(Ns,function(){const r=/^[\w+.-]+:\/\//,n=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,o=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var m;(function(f){f[f.Empty=1]="Empty",f[f.Hash=2]="Hash",f[f.Query=3]="Query",f[f.RelativePath=4]="RelativePath",f[f.AbsolutePath=5]="AbsolutePath",f[f.SchemeRelative=6]="SchemeRelative",f[f.Absolute=7]="Absolute"})(m||(m={}));function u(f){return r.test(f)}function h(f){return f.startsWith("//")}function a(f){return f.startsWith("/")}function l(f){return f.startsWith("file:")}function v(f){return/^[.?#]/.test(f)}function i(f){const b=n.exec(f);return g(b[1],b[2]||"",b[3],b[4]||"",b[5]||"/",b[6]||"",b[7]||"")}function S(f){const b=o.exec(f),x=b[2];return g("file:","",b[1]||"","",a(x)?x:"/"+x,b[3]||"",b[4]||"")}function g(f,b,x,y,C,w,R){return{scheme:f,user:b,host:x,port:y,path:C,query:w,hash:R,type:m.Absolute}}function p(f){if(h(f)){const x=i("http:"+f);return x.scheme="",x.type=m.SchemeRelative,x}if(a(f)){const x=i("http://foo.com"+f);return x.scheme="",x.host="",x.type=m.AbsolutePath,x}if(l(f))return S(f);if(u(f))return i(f);const b=i("http://foo.com/"+f);return b.scheme="",b.host="",b.type=f?f.startsWith("?")?m.Query:f.startsWith("#")?m.Hash:m.RelativePath:m.Empty,b}function _(f){if(f.endsWith("/.."))return f;const b=f.lastIndexOf("/");return f.slice(0,b+1)}function c(f,b){s(b,b.type),f.path==="/"?f.path=b.path:f.path=_(b.path)+f.path}function s(f,b){const x=b<=m.RelativePath,y=f.path.split("/");let C=1,w=0,R=!1;for(let E=1;E<y.length;E++){const k=y[E];if(!k){R=!0;continue}if(R=!1,k!=="."){if(k===".."){w?(R=!0,w--,C--):x&&(y[C++]=k);continue}y[C++]=k,w++}}let A="";for(let E=1;E<C;E++)A+="/"+y[E];(!A||R&&!A.endsWith("/.."))&&(A+="/"),f.path=A}function d(f,b){if(!f&&!b)return"";const x=p(f);let y=x.type;if(b&&y!==m.Absolute){const w=p(b),R=w.type;switch(y){case m.Empty:x.hash=w.hash;case m.Hash:x.query=w.query;case m.Query:case m.RelativePath:c(x,w);case m.AbsolutePath:x.user=w.user,x.host=w.host,x.port=w.port;case m.SchemeRelative:x.scheme=w.scheme}R>y&&(y=R)}s(x,y);const C=x.query+x.hash;switch(y){case m.Hash:case m.Query:return C;case m.RelativePath:{const w=x.path.slice(1);return w?v(b||f)&&!v(w)?"./"+w+C:w+C:C||"."}case m.AbsolutePath:return x.path+C;default:return x.scheme+"//"+x.user+x.host+x.port+x.path+C}}return d})}(Lxe)),Lxe.exports}var VYe;function ajt(){return VYe||(VYe=1,function(e,t){(function(r,n){n(t,$Ye(),njt())})(Ns,function(r,n,o){function m(j,G){return G&&!G.endsWith("/")&&(G+="/"),o(j,G)}function u(j){if(!j)return"";const G=j.lastIndexOf("/");return j.slice(0,G+1)}const h=0,a=1,l=2,v=3,i=4,S=1,g=2;function p(j,G){const W=_(j,0);if(W===j.length)return j;G||(j=j.slice());for(let X=W;X<j.length;X=_(j,X+1))j[X]=s(j[X],G);return j}function _(j,G){for(let W=G;W<j.length;W++)if(!c(j[W]))return W;return j.length}function c(j){for(let G=1;G<j.length;G++)if(j[G][h]<j[G-1][h])return!1;return!0}function s(j,G){return G||(j=j.slice()),j.sort(d)}function d(j,G){return j[h]-G[h]}let f=!1;function b(j,G,W,X){for(;W<=X;){const Q=W+(X-W>>1),ae=j[Q][h]-G;if(ae===0)return f=!0,Q;ae<0?W=Q+1:X=Q-1}return f=!1,W-1}function x(j,G,W){for(let X=W+1;X<j.length&&j[X][h]===G;W=X++);return W}function y(j,G,W){for(let X=W-1;X>=0&&j[X][h]===G;W=X--);return W}function C(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function w(j,G,W,X){const{lastKey:Q,lastNeedle:ae,lastIndex:ie}=W;let he=0,J=j.length-1;if(X===Q){if(G===ae)return f=ie!==-1&&j[ie][h]===G,ie;G>=ae?he=ie===-1?0:ie:J=ie}return W.lastKey=X,W.lastNeedle=G,W.lastIndex=b(j,G,he,J)}function R(j,G){const W=G.map(E);for(let X=0;X<j.length;X++){const Q=j[X];for(let ae=0;ae<Q.length;ae++){const ie=Q[ae];if(ie.length===1)continue;const he=ie[a],J=ie[l],Z=ie[v],le=W[he],K=le[J]||(le[J]=[]),te=G[he],ce=x(K,Z,w(K,Z,te,J));A(K,te.lastIndex=ce+1,[Z,X,ie[h]])}}return W}function A(j,G,W){for(let X=j.length;X>G;X--)j[X]=j[X-1];j[G]=W}function E(){return{__proto__:null}}const k=function(j,G){const W=typeof j=="string"?JSON.parse(j):j;if(!("sections"in W))return new O(W,G);const X=[],Q=[],ae=[],ie=[];L(W,G,X,Q,ae,ie,0,0,1/0,1/0);const he={version:3,file:W.file,names:ie,sources:Q,sourcesContent:ae,mappings:X};return r.presortedDecodedMap(he)};function L(j,G,W,X,Q,ae,ie,he,J,Z){const{sections:le}=j;for(let K=0;K<le.length;K++){const{map:te,offset:ce}=le[K];let re=J,ee=Z;if(K+1<le.length){const de=le[K+1].offset;re=Math.min(J,ie+de.line),re===J?ee=Math.min(Z,he+de.column):re<J&&(ee=he+de.column)}I(te,G,W,X,Q,ae,ie+ce.line,he+ce.column,re,ee)}}function I(j,G,W,X,Q,ae,ie,he,J,Z){if("sections"in j)return L(...arguments);const le=new O(j,G),K=X.length,te=ae.length,ce=r.decodedMappings(le),{resolvedSources:re,sourcesContent:ee}=le;if(P(X,re),P(ae,le.names),ee)P(Q,ee);else for(let de=0;de<re.length;de++)Q.push(null);for(let de=0;de<ce.length;de++){const oe=ie+de;if(oe>J)return;const fe=M(W,oe),me=de===0?he:0,Te=ce[de];for(let we=0;we<Te.length;we++){const Be=Te[we],Ae=me+Be[h];if(oe===J&&Ae>=Z)return;if(Be.length===1){fe.push([Ae]);continue}const Re=K+Be[a],be=Be[l],Pe=Be[v];fe.push(Be.length===4?[Ae,Re,be,Pe]:[Ae,Re,be,Pe,te+Be[i]])}}}function P(j,G){for(let W=0;W<G.length;W++)j.push(G[W])}function M(j,G){for(let W=j.length;W<=G;W++)j[W]=[];return j[G]}const F="`line` must be greater than 0 (lines start at line 1)",N="`column` must be greater than or equal to 0 (columns start at column 0)",T=-1,D=1;r.encodedMappings=void 0,r.decodedMappings=void 0,r.traceSegment=void 0,r.originalPositionFor=void 0,r.generatedPositionFor=void 0,r.allGeneratedPositionsFor=void 0,r.eachMapping=void 0,r.sourceContentFor=void 0,r.presortedDecodedMap=void 0,r.decodedMap=void 0,r.encodedMap=void 0;class O{constructor(G,W){const X=typeof G=="string";if(!X&&G._decodedMemo)return G;const Q=X?JSON.parse(G):G,{version:ae,file:ie,names:he,sourceRoot:J,sources:Z,sourcesContent:le}=Q;this.version=ae,this.file=ie,this.names=he||[],this.sourceRoot=J,this.sources=Z,this.sourcesContent=le;const K=m(J||"",u(W));this.resolvedSources=Z.map(ce=>m(ce||"",K));const{mappings:te}=Q;typeof te=="string"?(this._encoded=te,this._decoded=void 0):(this._encoded=void 0,this._decoded=p(te,X)),this._decodedMemo=C(),this._bySources=void 0,this._bySourceMemos=void 0}}(()=>{r.encodedMappings=G=>{var W;return(W=G._encoded)!==null&&W!==void 0?W:G._encoded=n.encode(G._decoded)},r.decodedMappings=G=>G._decoded||(G._decoded=n.decode(G._encoded)),r.traceSegment=(G,W,X)=>{const Q=r.decodedMappings(G);if(W>=Q.length)return null;const ae=Q[W],ie=z(ae,G._decodedMemo,W,X,D);return ie===-1?null:ae[ie]},r.originalPositionFor=(G,{line:W,column:X,bias:Q})=>{if(W--,W<0)throw new Error(F);if(X<0)throw new Error(N);const ae=r.decodedMappings(G);if(W>=ae.length)return B(null,null,null,null);const ie=ae[W],he=z(ie,G._decodedMemo,W,X,Q||D);if(he===-1)return B(null,null,null,null);const J=ie[he];if(J.length===1)return B(null,null,null,null);const{names:Z,resolvedSources:le}=G;return B(le[J[a]],J[l]+1,J[v],J.length===5?Z[J[i]]:null)},r.allGeneratedPositionsFor=(G,{source:W,line:X,column:Q,bias:ae})=>j(G,W,X,Q,ae||T,!0),r.generatedPositionFor=(G,{source:W,line:X,column:Q,bias:ae})=>j(G,W,X,Q,ae||D,!1),r.eachMapping=(G,W)=>{const X=r.decodedMappings(G),{names:Q,resolvedSources:ae}=G;for(let ie=0;ie<X.length;ie++){const he=X[ie];for(let J=0;J<he.length;J++){const Z=he[J],le=ie+1,K=Z[0];let te=null,ce=null,re=null,ee=null;Z.length!==1&&(te=ae[Z[1]],ce=Z[2]+1,re=Z[3]),Z.length===5&&(ee=Q[Z[4]]),W({generatedLine:le,generatedColumn:K,source:te,originalLine:ce,originalColumn:re,name:ee})}}},r.sourceContentFor=(G,W)=>{const{sources:X,resolvedSources:Q,sourcesContent:ae}=G;if(ae==null)return null;let ie=X.indexOf(W);return ie===-1&&(ie=Q.indexOf(W)),ie===-1?null:ae[ie]},r.presortedDecodedMap=(G,W)=>{const X=new O(U(G,[]),W);return X._decoded=G.mappings,X},r.decodedMap=G=>U(G,r.decodedMappings(G)),r.encodedMap=G=>U(G,r.encodedMappings(G));function j(G,W,X,Q,ae,ie){if(X--,X<0)throw new Error(F);if(Q<0)throw new Error(N);const{sources:he,resolvedSources:J}=G;let Z=he.indexOf(W);if(Z===-1&&(Z=J.indexOf(W)),Z===-1)return ie?[]:Y(null,null);const K=(G._bySources||(G._bySources=R(r.decodedMappings(G),G._bySourceMemos=he.map(C))))[Z][X];if(K==null)return ie?[]:Y(null,null);const te=G._bySourceMemos[Z];if(ie)return V(K,te,X,Q,ae);const ce=z(K,te,X,Q,ae);if(ce===-1)return Y(null,null);const re=K[ce];return Y(re[S]+1,re[g])}})();function U(j,G){return{version:j.version,file:j.file,names:j.names,sourceRoot:j.sourceRoot,sources:j.sources,sourcesContent:j.sourcesContent,mappings:G}}function B(j,G,W,X){return{source:j,line:G,column:W,name:X}}function Y(j,G){return{line:j,column:G}}function z(j,G,W,X,Q){let ae=w(j,X,G,W);return f?ae=(Q===T?x:y)(j,X,ae):Q===T&&ae++,ae===-1||ae===j.length?-1:ae}function V(j,G,W,X,Q){let ae=z(j,G,W,X,D);if(!f&&Q===T&&ae++,ae===-1||ae===j.length)return[];const ie=f?X:j[ae][h];f||(ae=y(j,ie,ae));const he=x(j,ie,ae),J=[];for(;ae<=he;ae++){const Z=j[ae];J.push(Y(Z[S]+1,Z[g]))}return J}r.AnyMap=k,r.GREATEST_LOWER_BOUND=D,r.LEAST_UPPER_BOUND=T,r.TraceMap=O})}(Toe,Toe.exports)),Toe.exports}(function(e,t){(function(r,n){n(t,rjt(),$Ye(),ajt())})(Ns,function(r,n,o,m){r.addSegment=void 0,r.addMapping=void 0,r.maybeAddSegment=void 0,r.maybeAddMapping=void 0,r.setSourceContent=void 0,r.toDecodedMap=void 0,r.toEncodedMap=void 0,r.fromMap=void 0,r.allMappings=void 0;let S;class g{constructor({file:C,sourceRoot:w}={}){this._names=new n.SetArray,this._sources=new n.SetArray,this._sourcesContent=[],this._mappings=[],this.file=C,this.sourceRoot=w}}r.addSegment=(y,C,w,R,A,E,k,L)=>S(!1,y,C,w,R,A,E,k,L),r.maybeAddSegment=(y,C,w,R,A,E,k,L)=>S(!0,y,C,w,R,A,E,k,L),r.addMapping=(y,C)=>x(!1,y,C),r.maybeAddMapping=(y,C)=>x(!0,y,C),r.setSourceContent=(y,C,w)=>{const{_sources:R,_sourcesContent:A}=y;A[n.put(R,C)]=w},r.toDecodedMap=y=>{const{file:C,sourceRoot:w,_mappings:R,_sources:A,_sourcesContent:E,_names:k}=y;return s(R),{version:3,file:C||void 0,names:k.array,sourceRoot:w||void 0,sources:A.array,sourcesContent:E,mappings:R}},r.toEncodedMap=y=>{const C=r.toDecodedMap(y);return Object.assign(Object.assign({},C),{mappings:o.encode(C.mappings)})},r.allMappings=y=>{const C=[],{_mappings:w,_sources:R,_names:A}=y;for(let E=0;E<w.length;E++){const k=w[E];for(let L=0;L<k.length;L++){const I=k[L],P={line:E+1,column:I[0]};let M,F,N;I.length!==1&&(M=R.array[I[1]],F={line:I[2]+1,column:I[3]},I.length===5&&(N=A.array[I[4]])),C.push({generated:P,source:M,original:F,name:N})}}return C},r.fromMap=y=>{const C=new m.TraceMap(y),w=new g({file:C.file,sourceRoot:C.sourceRoot});return d(w._names,C.names),d(w._sources,C.sources),w._sourcesContent=C.sourcesContent||C.sources.map(()=>null),w._mappings=m.decodedMappings(C),w},S=(y,C,w,R,A,E,k,L,I)=>{const{_mappings:P,_sources:M,_sourcesContent:F,_names:N}=C,T=p(P,w),D=_(T,R);if(!A)return y&&f(T,D)?void 0:c(T,D,[R]);const O=n.put(M,A),U=L?n.put(N,L):-1;if(O===F.length&&(F[O]=I??null),!(y&&b(T,D,O,E,k,U)))return c(T,D,L?[R,O,E,k,U]:[R,O,E,k])};function p(y,C){for(let w=y.length;w<=C;w++)y[w]=[];return y[C]}function _(y,C){let w=y.length;for(let R=w-1;R>=0;w=R--){const A=y[R];if(C>=A[0])break}return w}function c(y,C,w){for(let R=y.length;R>C;R--)y[R]=y[R-1];y[C]=w}function s(y){const{length:C}=y;let w=C;for(let R=w-1;R>=0&&!(y[R].length>0);w=R,R--);w<C&&(y.length=w)}function d(y,C){for(let w=0;w<C.length;w++)n.put(y,C[w])}function f(y,C){return C===0?!0:y[C-1].length===1}function b(y,C,w,R,A,E){if(C===0)return!1;const k=y[C-1];return k.length===1?!1:w===k[1]&&R===k[2]&&A===k[3]&&E===(k.length===5?k[4]:-1)}function x(y,C,w){const{generated:R,source:A,original:E,name:k,content:L}=w;if(!A)return S(y,C,R.line-1,R.column,null,null,null,null,null);const I=A;return S(y,C,R.line-1,R.column,I,E.line-1,E.column,k,L)}r.GenMapping=g,Object.defineProperty(r,"__esModule",{value:!0})})})(Ixe,Ixe.exports);var PM=Ixe.exports;function ijt({code:e,mappings:t},r,n,o,m){const u=ojt(o,m),h=new PM.GenMapping({file:n.compiledFilename});let a=0,l=t[0];for(;l===void 0&&a<t.length-1;)a++,l=t[a];let v=0,i=0;l!==i&&PM.maybeAddSegment(h,v,0,r,v,0);for(let _=0;_<e.length;_++){if(_===l){const c=l-i,s=u[a];for(PM.maybeAddSegment(h,v,c,r,v,s);(l===_||l===void 0)&&a<t.length-1;)a++,l=t[a]}e.charCodeAt(_)===Kn.lineFeed&&(v++,i=_+1,l!==i&&PM.maybeAddSegment(h,v,0,r,v,0))}const{sourceRoot:S,sourcesContent:g,...p}=PM.toEncodedMap(h);return p}function ojt(e,t){const r=new Array(t.length);let n=0,o=t[n].start,m=0;for(let u=0;u<e.length;u++)u===o&&(r[n]=o-m,n++,o=t[n].start),e.charCodeAt(u)===Kn.lineFeed&&(m=u+1);return r}const sjt={require:`
import {createRequire as CREATE_REQUIRE_NAME} from "module";
const require = CREATE_REQUIRE_NAME(import.meta.url);
`,interopRequireWildcard:`
function interopRequireWildcard(obj) {
if (obj && obj.__esModule) {
return obj;
} else {
var newObj = {};
if (obj != null) {
for (var key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key)) {
newObj[key] = obj[key];
}
}
}
newObj.default = obj;
return newObj;
}
}
`,interopRequireDefault:`
function interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}
`,createNamedExportFrom:`
function createNamedExportFrom(obj, localName, importedName) {
Object.defineProperty(exports, localName, {enumerable: true, configurable: true, get: () => obj[importedName]});
}
`,createStarExport:`
function createStarExport(obj) {
Object.keys(obj)
.filter((key) => key !== "default" && key !== "__esModule")
.forEach((key) => {
if (exports.hasOwnProperty(key)) {
return;
}
Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]});
});
}
`,nullishCoalesce:`
function nullishCoalesce(lhs, rhsFn) {
if (lhs != null) {
return lhs;
} else {
return rhsFn();
}
}
`,asyncNullishCoalesce:`
async function asyncNullishCoalesce(lhs, rhsFn) {
if (lhs != null) {
return lhs;
} else {
return await rhsFn();
}
}
`,optionalChain:`
function optionalChain(ops) {
let lastAccessLHS = undefined;
let value = ops[0];
let i = 1;
while (i < ops.length) {
const op = ops[i];
const fn = ops[i + 1];
i += 2;
if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
return undefined;
}
if (op === 'access' || op === 'optionalAccess') {
lastAccessLHS = value;
value = fn(value);
} else if (op === 'call' || op === 'optionalCall') {
value = fn((...args) => value.call(lastAccessLHS, ...args));
lastAccessLHS = undefined;
}
}
return value;
}
`,asyncOptionalChain:`
async function asyncOptionalChain(ops) {
let lastAccessLHS = undefined;
let value = ops[0];
let i = 1;
while (i < ops.length) {
const op = ops[i];
const fn = ops[i + 1];
i += 2;
if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
return undefined;
}
if (op === 'access' || op === 'optionalAccess') {
lastAccessLHS = value;
value = await fn(value);
} else if (op === 'call' || op === 'optionalCall') {
value = await fn((...args) => value.call(lastAccessLHS, ...args));
lastAccessLHS = undefined;
}
}
return value;
}
`,optionalChainDelete:`
function optionalChainDelete(ops) {
const result = OPTIONAL_CHAIN_NAME(ops);
return result == null ? true : result;
}
`,asyncOptionalChainDelete:`
async function asyncOptionalChainDelete(ops) {
const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops);
return result == null ? true : result;
}
`};class Aoe{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(t){this.nameManager=t,Aoe.prototype.__init.call(this),Aoe.prototype.__init2.call(this)}getHelperName(t){let r=this.helperNames[t];return r||(r=this.nameManager.claimFreeName(`_${t}`),this.helperNames[t]=r,r)}emitHelpers(){let t="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(const[r,n]of Object.entries(sjt)){const o=this.helperNames[r];let m=n;r==="optionalChainDelete"?m=m.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):r==="asyncOptionalChainDelete"?m=m.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):r==="require"&&(this.createRequireName===null&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),m=m.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),o&&(t+=" ",t+=m.replace(r,o).replace(/\s+/g," ").trim())}return t}}function GYe(e,t,r){ljt(e,r)&&cjt(e,t,r)}function ljt(e,t){for(const r of e.tokens)if(r.type===ke.name&&!r.isType&&MGt(r)&&t.has(e.identifierNameForToken(r)))return!0;return!1}function cjt(e,t,r){const n=[];let o=t.length-1;for(let m=e.tokens.length-1;;m--){for(;n.length>0&&n[n.length-1].startTokenIndex===m+1;)n.pop();for(;o>=0&&t[o].endTokenIndex===m+1;)n.push(t[o]),o--;if(m<0)break;const u=e.tokens[m],h=e.identifierNameForToken(u);if(n.length>1&&!u.isType&&u.type===ke.name&&r.has(h)){if(RGt(u))jYe(n[n.length-1],e,h);else if(NGt(u)){let a=n.length-1;for(;a>0&&!n[a].isFunctionScope;)a--;if(a<0)throw new Error("Did not find parent function scope.");jYe(n[a],e,h)}}}if(n.length>0)throw new Error("Expected empty scope stack after processing file.")}function jYe(e,t,r){for(let n=e.startTokenIndex;n<e.endTokenIndex;n++){const o=t.tokens[n];(o.type===ke.name||o.type===ke.jsxName)&&t.identifierNameForToken(o)===r&&(o.shadowsGlobal=!0)}}function ujt(e,t){const r=[];for(const n of t)n.type===ke.name&&r.push(e.slice(n.start,n.end));return r}class Oxe{__init(){this.usedNames=new Set}constructor(t,r){Oxe.prototype.__init.call(this),this.usedNames=new Set(ujt(t,r))}claimFreeName(t){const r=this.findFreeName(t);return this.usedNames.add(r),r}findFreeName(t){if(!this.usedNames.has(t))return t;let r=2;for(;this.usedNames.has(t+String(r));)r++;return t+String(r)}}var cl={},Dxe={},mm={},djt=Ns&&Ns.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var m in o)o.hasOwnProperty(m)&&(n[m]=o[m])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(mm,"__esModule",{value:!0}),mm.DetailContext=mm.NoopContext=mm.VError=void 0;var YYe=function(e){djt(t,e);function t(r,n){var o=e.call(this,n)||this;return o.path=r,Object.setPrototypeOf(o,t.prototype),o}return t}(Error);mm.VError=YYe;var fjt=function(){function e(){}return e.prototype.fail=function(t,r,n){return!1},e.prototype.unionResolver=function(){return this},e.prototype.createContext=function(){return this},e.prototype.resolveUnion=function(t){},e}();mm.NoopContext=fjt;var WYe=function(){function e(){this._propNames=[""],this._messages=[null],this._score=0}return e.prototype.fail=function(t,r,n){return this._propNames.push(t),this._messages.push(r),this._score+=n,!1},e.prototype.unionResolver=function(){return new hjt},e.prototype.resolveUnion=function(t){for(var r,n,o=t,m=null,u=0,h=o.contexts;u<h.length;u++){var a=h[u];(!m||a._score>=m._score)&&(m=a)}m&&m._score>0&&((r=this._propNames).push.apply(r,m._propNames),(n=this._messages).push.apply(n,m._messages))},e.prototype.getError=function(t){for(var r=[],n=this._propNames.length-1;n>=0;n--){var o=this._propNames[n];t+=typeof o=="number"?"["+o+"]":o?"."+o:"";var m=this._messages[n];m&&r.push(t+" "+m)}return new YYe(t,r.join("; "))},e.prototype.getErrorDetail=function(t){for(var r=[],n=this._propNames.length-1;n>=0;n--){var o=this._propNames[n];t+=typeof o=="number"?"["+o+"]":o?"."+o:"";var m=this._messages[n];m&&r.push({path:t,message:m})}for(var u=null,n=r.length-1;n>=0;n--)u&&(r[n].nested=[u]),u=r[n];return u},e}();mm.DetailContext=WYe;var hjt=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var t=new WYe;return this.contexts.push(t),t},e}();(function(e){var t=Ns&&Ns.__extends||function(){var z=function(V,j){return z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(G,W){G.__proto__=W}||function(G,W){for(var X in W)W.hasOwnProperty(X)&&(G[X]=W[X])},z(V,j)};return function(V,j){z(V,j);function G(){this.constructor=V}V.prototype=j===null?Object.create(j):(G.prototype=j.prototype,new G)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.basicTypes=e.BasicType=e.TParamList=e.TParam=e.param=e.TFunc=e.func=e.TProp=e.TOptional=e.opt=e.TIface=e.iface=e.TEnumLiteral=e.enumlit=e.TEnumType=e.enumtype=e.TIntersection=e.intersection=e.TUnion=e.union=e.TTuple=e.tuple=e.TArray=e.array=e.TLiteral=e.lit=e.TName=e.name=e.TType=void 0;var r=mm,n=function(){function z(){}return z}();e.TType=n;function o(z){return typeof z=="string"?u(z):z}function m(z,V){var j=z[V];if(!j)throw new Error("Unknown type "+V);return j}function u(z){return new h(z)}e.name=u;var h=function(z){t(V,z);function V(j){var G=z.call(this)||this;return G.name=j,G._failMsg="is not a "+j,G}return V.prototype.getChecker=function(j,G,W){var X=this,Q=m(j,this.name),ae=Q.getChecker(j,G,W);return Q instanceof N||Q instanceof V?ae:function(ie,he){return ae(ie,he)?!0:he.fail(null,X._failMsg,0)}},V}(n);e.TName=h;function a(z){return new l(z)}e.lit=a;var l=function(z){t(V,z);function V(j){var G=z.call(this)||this;return G.value=j,G.name=JSON.stringify(j),G._failMsg="is not "+G.name,G}return V.prototype.getChecker=function(j,G){var W=this;return function(X,Q){return X===W.value?!0:Q.fail(null,W._failMsg,-1)}},V}(n);e.TLiteral=l;function v(z){return new i(o(z))}e.array=v;var i=function(z){t(V,z);function V(j){var G=z.call(this)||this;return G.ttype=j,G}return V.prototype.getChecker=function(j,G){var W=this.ttype.getChecker(j,G);return function(X,Q){if(!Array.isArray(X))return Q.fail(null,"is not an array",0);for(var ae=0;ae<X.length;ae++){var ie=W(X[ae],Q);if(!ie)return Q.fail(ae,null,1)}return!0}},V}(n);e.TArray=i;function S(){for(var z=[],V=0;V<arguments.length;V++)z[V]=arguments[V];return new g(z.map(function(j){return o(j)}))}e.tuple=S;var g=function(z){t(V,z);function V(j){var G=z.call(this)||this;return G.ttypes=j,G}return V.prototype.getChecker=function(j,G){var W=this.ttypes.map(function(Q){return Q.getChecker(j,G)}),X=function(Q,ae){if(!Array.isArray(Q))return ae.fail(null,"is not an array",0);for(var ie=0;ie<W.length;ie++){var he=W[ie](Q[ie],ae);if(!he)return ae.fail(ie,null,1)}return!0};return G?function(Q,ae){return X(Q,ae)?Q.length<=W.length?!0:ae.fail(W.length,"is extraneous",2):!1}:X},V}(n);e.TTuple=g;function p(){for(var z=[],V=0;V<arguments.length;V++)z[V]=arguments[V];return new _(z.map(function(j){return o(j)}))}e.union=p;var _=function(z){t(V,z);function V(j){var G=z.call(this)||this;G.ttypes=j;var W=j.map(function(Q){return Q instanceof h||Q instanceof l?Q.name:null}).filter(function(Q){return Q}),X=j.length-W.length;return W.length?(X>0&&W.push(X+" more"),G._failMsg="is none of "+W.join(", ")):G._failMsg="is none of "+X+" types",G}return V.prototype.getChecker=function(j,G){var W=this,X=this.ttypes.map(function(Q){return Q.getChecker(j,G)});return function(Q,ae){for(var ie=ae.unionResolver(),he=0;he<X.length;he++){var J=X[he](Q,ie.createContext());if(J)return!0}return ae.resolveUnion(ie),ae.fail(null,W._failMsg,0)}},V}(n);e.TUnion=_;function c(){for(var z=[],V=0;V<arguments.length;V++)z[V]=arguments[V];return new s(z.map(function(j){return o(j)}))}e.intersection=c;var s=function(z){t(V,z);function V(j){var G=z.call(this)||this;return G.ttypes=j,G}return V.prototype.getChecker=function(j,G){var W=new Set,X=this.ttypes.map(function(Q){return Q.getChecker(j,G,W)});return function(Q,ae){var ie=X.every(function(he){return he(Q,ae)});return ie?!0:ae.fail(null,null,0)}},V}(n);e.TIntersection=s;function d(z){return new f(z)}e.enumtype=d;var f=function(z){t(V,z);function V(j){var G=z.call(this)||this;return G.members=j,G.validValues=new Set,G._failMsg="is not a valid enum value",G.validValues=new Set(Object.keys(j).map(function(W){return j[W]})),G}return V.prototype.getChecker=function(j,G){var W=this;return function(X,Q){return W.validValues.has(X)?!0:Q.fail(null,W._failMsg,0)}},V}(n);e.TEnumType=f;function b(z,V){return new x(z,V)}e.enumlit=b;var x=function(z){t(V,z);function V(j,G){var W=z.call(this)||this;return W.enumName=j,W.prop=G,W._failMsg="is not "+j+"."+G,W}return V.prototype.getChecker=function(j,G){var W=this,X=m(j,this.enumName);if(!(X instanceof f))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var Q=X.members[this.prop];if(!X.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(ae,ie){return ae===Q?!0:ie.fail(null,W._failMsg,-1)}},V}(n);e.TEnumLiteral=x;function y(z){return Object.keys(z).map(function(V){return C(V,z[V])})}function C(z,V){return V instanceof E?new k(z,V.ttype,!0):new k(z,o(V),!1)}function w(z,V){return new R(z,y(V))}e.iface=w;var R=function(z){t(V,z);function V(j,G){var W=z.call(this)||this;return W.bases=j,W.props=G,W.propSet=new Set(G.map(function(X){return X.name})),W}return V.prototype.getChecker=function(j,G,W){var X=this,Q=this.bases.map(function(le){return m(j,le).getChecker(j,G)}),ae=this.props.map(function(le){return le.ttype.getChecker(j,G)}),ie=new r.NoopContext,he=this.props.map(function(le,K){return!le.isOpt&&!ae[K](void 0,ie)}),J=function(le,K){if(typeof le!="object"||le===null)return K.fail(null,"is not an object",0);for(var te=0;te<Q.length;te++)if(!Q[te](le,K))return!1;for(var te=0;te<ae.length;te++){var ce=X.props[te].name,re=le[ce];if(re===void 0){if(he[te])return K.fail(ce,"is missing",1)}else{var ee=ae[te](re,K);if(!ee)return K.fail(ce,null,1)}}return!0};if(!G)return J;var Z=this.propSet;return W&&(this.propSet.forEach(function(le){return W.add(le)}),Z=W),function(le,K){if(!J(le,K))return!1;for(var te in le)if(!Z.has(te))return K.fail(te,"is extraneous",2);return!0}},V}(n);e.TIface=R;function A(z){return new E(o(z))}e.opt=A;var E=function(z){t(V,z);function V(j){var G=z.call(this)||this;return G.ttype=j,G}return V.prototype.getChecker=function(j,G){var W=this.ttype.getChecker(j,G);return function(X,Q){return X===void 0||W(X,Q)}},V}(n);e.TOptional=E;var k=function(){function z(V,j,G){this.name=V,this.ttype=j,this.isOpt=G}return z}();e.TProp=k;function L(z){for(var V=[],j=1;j<arguments.length;j++)V[j-1]=arguments[j];return new I(new F(V),o(z))}e.func=L;var I=function(z){t(V,z);function V(j,G){var W=z.call(this)||this;return W.paramList=j,W.result=G,W}return V.prototype.getChecker=function(j,G){return function(W,X){return typeof W=="function"?!0:X.fail(null,"is not a function",0)}},V}(n);e.TFunc=I;function P(z,V,j){return new M(z,o(V),!!j)}e.param=P;var M=function(){function z(V,j,G){this.name=V,this.ttype=j,this.isOpt=G}return z}();e.TParam=M;var F=function(z){t(V,z);function V(j){var G=z.call(this)||this;return G.params=j,G}return V.prototype.getChecker=function(j,G){var W=this,X=this.params.map(function(he){return he.ttype.getChecker(j,G)}),Q=new r.NoopContext,ae=this.params.map(function(he,J){return!he.isOpt&&!X[J](void 0,Q)}),ie=function(he,J){if(!Array.isArray(he))return J.fail(null,"is not an array",0);for(var Z=0;Z<X.length;Z++){var le=W.params[Z];if(he[Z]===void 0){if(ae[Z])return J.fail(le.name,"is missing",1)}else{var K=X[Z](he[Z],J);if(!K)return J.fail(le.name,null,1)}}return!0};return G?function(he,J){return ie(he,J)?he.length<=X.length?!0:J.fail(X.length,"is extraneous",2):!1}:ie},V}(n);e.TParamList=F;var N=function(z){t(V,z);function V(j,G){var W=z.call(this)||this;return W.validator=j,W.message=G,W}return V.prototype.getChecker=function(j,G){var W=this;return function(X,Q){return W.validator(X)?!0:Q.fail(null,W.message,0)}},V}(n);e.BasicType=N,e.basicTypes={any:new N(function(z){return!0},"is invalid"),number:new N(function(z){return typeof z=="number"},"is not a number"),object:new N(function(z){return typeof z=="object"&&z},"is not an object"),boolean:new N(function(z){return typeof z=="boolean"},"is not a boolean"),string:new N(function(z){return typeof z=="string"},"is not a string"),symbol:new N(function(z){return typeof z=="symbol"},"is not a symbol"),void:new N(function(z){return z==null},"is not void"),undefined:new N(function(z){return z===void 0},"is not undefined"),null:new N(function(z){return z===null},"is not null"),never:new N(function(z){return!1},"is unexpected"),Date:new N(D("[object Date]"),"is not a Date"),RegExp:new N(D("[object RegExp]"),"is not a RegExp")};var T=Object.prototype.toString;function D(z){return function(V){return typeof V=="object"&&V&&T.call(V)===z}}typeof Buffer<"u"&&(e.basicTypes.Buffer=new N(function(z){return Buffer.isBuffer(z)},"is not a Buffer"));for(var O=function(z){e.basicTypes[z.name]=new N(function(V){return V instanceof z},"is not a "+z.name)},U=0,B=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];U<B.length;U++){var Y=B[U];O(Y)}})(Dxe),function(e){var t=Ns&&Ns.__spreadArrays||function(){for(var a=0,l=0,v=arguments.length;l<v;l++)a+=arguments[l].length;for(var i=Array(a),S=0,l=0;l<v;l++)for(var g=arguments[l],p=0,_=g.length;p<_;p++,S++)i[S]=g[p];return i};Object.defineProperty(e,"__esModule",{value:!0}),e.Checker=e.createCheckers=void 0;var r=Dxe,n=mm,o=Dxe;Object.defineProperty(e,"TArray",{enumerable:!0,get:function(){return o.TArray}}),Object.defineProperty(e,"TEnumType",{enumerable:!0,get:function(){return o.TEnumType}}),Object.defineProperty(e,"TEnumLiteral",{enumerable:!0,get:function(){return o.TEnumLiteral}}),Object.defineProperty(e,"TFunc",{enumerable:!0,get:function(){return o.TFunc}}),Object.defineProperty(e,"TIface",{enumerable:!0,get:function(){return o.TIface}}),Object.defineProperty(e,"TLiteral",{enumerable:!0,get:function(){return o.TLiteral}}),Object.defineProperty(e,"TName",{enumerable:!0,get:function(){return o.TName}}),Object.defineProperty(e,"TOptional",{enumerable:!0,get:function(){return o.TOptional}}),Object.defineProperty(e,"TParam",{enumerable:!0,get:function(){return o.TParam}}),Object.defineProperty(e,"TParamList",{enumerable:!0,get:function(){return o.TParamList}}),Object.defineProperty(e,"TProp",{enumerable:!0,get:function(){return o.TProp}}),Object.defineProperty(e,"TTuple",{enumerable:!0,get:function(){return o.TTuple}}),Object.defineProperty(e,"TType",{enumerable:!0,get:function(){return o.TType}}),Object.defineProperty(e,"TUnion",{enumerable:!0,get:function(){return o.TUnion}}),Object.defineProperty(e,"TIntersection",{enumerable:!0,get:function(){return o.TIntersection}}),Object.defineProperty(e,"array",{enumerable:!0,get:function(){return o.array}}),Object.defineProperty(e,"enumlit",{enumerable:!0,get:function(){return o.enumlit}}),Object.defineProperty(e,"enumtype",{enumerable:!0,get:function(){return o.enumtype}}),Object.defineProperty(e,"func",{enumerable:!0,get:function(){return o.func}}),Object.defineProperty(e,"iface",{enumerable:!0,get:function(){return o.iface}}),Object.defineProperty(e,"lit",{enumerable:!0,get:function(){return o.lit}}),Object.defineProperty(e,"name",{enumerable:!0,get:function(){return o.name}}),Object.defineProperty(e,"opt",{enumerable:!0,get:function(){return o.opt}}),Object.defineProperty(e,"param",{enumerable:!0,get:function(){return o.param}}),Object.defineProperty(e,"tuple",{enumerable:!0,get:function(){return o.tuple}}),Object.defineProperty(e,"union",{enumerable:!0,get:function(){return o.union}}),Object.defineProperty(e,"intersection",{enumerable:!0,get:function(){return o.intersection}}),Object.defineProperty(e,"BasicType",{enumerable:!0,get:function(){return o.BasicType}});var m=mm;Object.defineProperty(e,"VError",{enumerable:!0,get:function(){return m.VError}});function u(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];for(var v=Object.assign.apply(Object,t([{},r.basicTypes],a)),i={},S=0,g=a;S<g.length;S++)for(var p=g[S],_=0,c=Object.keys(p);_<c.length;_++){var s=c[_];i[s]=new h(v,p[s])}return i}e.createCheckers=u;var h=function(){function a(l,v,i){if(i===void 0&&(i="value"),this.suite=l,this.ttype=v,this._path=i,this.props=new Map,v instanceof r.TIface)for(var S=0,g=v.props;S<g.length;S++){var p=g[S];this.props.set(p.name,p.ttype)}this.checkerPlain=this.ttype.getChecker(l,!1),this.checkerStrict=this.ttype.getChecker(l,!0)}return a.prototype.setReportedPath=function(l){this._path=l},a.prototype.check=function(l){return this._doCheck(this.checkerPlain,l)},a.prototype.test=function(l){return this.checkerPlain(l,new n.NoopContext)},a.prototype.validate=function(l){return this._doValidate(this.checkerPlain,l)},a.prototype.strictCheck=function(l){return this._doCheck(this.checkerStrict,l)},a.prototype.strictTest=function(l){return this.checkerStrict(l,new n.NoopContext)},a.prototype.strictValidate=function(l){return this._doValidate(this.checkerStrict,l)},a.prototype.getProp=function(l){var v=this.props.get(l);if(!v)throw new Error("Type has no property "+l);return new a(this.suite,v,this._path+"."+l)},a.prototype.methodArgs=function(l){var v=this._getMethod(l);return new a(this.suite,v.paramList)},a.prototype.methodResult=function(l){var v=this._getMethod(l);return new a(this.suite,v.result)},a.prototype.getArgs=function(){if(!(this.ttype instanceof r.TFunc))throw new Error("getArgs() applied to non-function");return new a(this.suite,this.ttype.paramList)},a.prototype.getResult=function(){if(!(this.ttype instanceof r.TFunc))throw new Error("getResult() applied to non-function");return new a(this.suite,this.ttype.result)},a.prototype.getType=function(){return this.ttype},a.prototype._doCheck=function(l,v){var i=new n.NoopContext;if(!l(v,i)){var S=new n.DetailContext;throw l(v,S),S.getError(this._path)}},a.prototype._doValidate=function(l,v){var i=new n.NoopContext;if(l(v,i))return null;var S=new n.DetailContext;return l(v,S),S.getErrorDetail(this._path)},a.prototype._getMethod=function(l){var v=this.props.get(l);if(!v)throw new Error("Type has no property "+l);if(!(v instanceof r.TFunc))throw new Error("Property "+l+" is not a method");return v},a}();e.Checker=h}(cl);const pjt=cl.union(cl.lit("jsx"),cl.lit("typescript"),cl.lit("flow"),cl.lit("imports"),cl.lit("react-hot-loader"),cl.lit("jest")),vjt=cl.iface([],{compiledFilename:"string"}),mjt=cl.iface([],{transforms:cl.array("Transform"),disableESTransforms:cl.opt("boolean"),jsxRuntime:cl.opt(cl.union(cl.lit("classic"),cl.lit("automatic"),cl.lit("preserve"))),production:cl.opt("boolean"),jsxImportSource:cl.opt("string"),jsxPragma:cl.opt("string"),jsxFragmentPragma:cl.opt("string"),keepUnusedImports:cl.opt("boolean"),preserveDynamicImport:cl.opt("boolean"),injectCreateRequireForImportRequire:cl.opt("boolean"),enableLegacyTypeScriptModuleInterop:cl.opt("boolean"),enableLegacyBabel5ModuleInterop:cl.opt("boolean"),sourceMapOptions:cl.opt("SourceMapOptions"),filePath:cl.opt("string")}),gjt={Transform:pjt,SourceMapOptions:vjt,Options:mjt},{Options:yjt}=cl.createCheckers(gjt);function _jt(e){yjt.strictCheck(e)}function KYe(){Na(),od(!1)}function XYe(e){Na(),koe(e)}function K2(e){ho(),Pxe(e)}function Coe(){ho(),Nt.tokens[Nt.tokens.length-1].identifierRole=ao.ImportDeclaration}function Pxe(e){let t;Nt.scopeDepth===0?t=ao.TopLevelDeclaration:e?t=ao.BlockScopedDeclaration:t=ao.FunctionScopedDeclaration,Nt.tokens[Nt.tokens.length-1].identifierRole=t}function koe(e){switch(Nt.type){case ke._this:{const t=zo(0);Na(),Po(t);return}case ke._yield:case ke.name:{Nt.type=ke.name,K2(e);return}case ke.bracketL:{Na(),Fxe(ke.bracketR,e,!0);return}case ke.braceL:tbe(!0,e);return;default:ko()}}function Fxe(e,t,r=!1,n=!1,o=0){let m=!0,u=!1;const h=Nt.tokens.length;for(;!wa(e)&&!Nt.error;)if(m?m=!1:(Ra(ke.comma),Nt.tokens[Nt.tokens.length-1].contextId=o,!u&&Nt.tokens[h].isType&&(Nt.tokens[Nt.tokens.length-1].isType=!0,u=!0)),!(r&&Wr(ke.comma))){if(wa(e))break;if(Wr(ke.ellipsis)){XYe(t),qYe(),wa(ke.comma),Ra(e);break}else xjt(n,t)}}function xjt(e,t){e&&zxe([yn._public,yn._protected,yn._private,yn._readonly,yn._override]),Moe(t),qYe(),Moe(t,!0)}function qYe(){$s?BWt():xs&&kYt()}function Moe(e,t=!1){if(t||koe(e),!wa(ke.eq))return;const r=Nt.tokens.length-1;od(),Nt.tokens[r].rhsEndIndex=Nt.tokens.length}function Bxe(){return Wr(ke.name)}function bjt(){return Wr(ke.name)||!!(Nt.type&ke.IS_KEYWORD)||Wr(ke.string)||Wr(ke.num)||Wr(ke.bigint)||Wr(ke.decimal)}function ZYe(){const e=Nt.snapshot();return Na(),(Wr(ke.bracketL)||Wr(ke.braceL)||Wr(ke.star)||Wr(ke.ellipsis)||Wr(ke.hash)||bjt())&&!Zf()?!0:(Nt.restoreFromSnapshot(e),!1)}function zxe(e){for(;QYe(e)!==null;);}function QYe(e){if(!Wr(ke.name))return null;const t=Nt.contextualKeyword;if(e.indexOf(t)!==-1&&ZYe()){switch(t){case yn._readonly:Nt.tokens[Nt.tokens.length-1].type=ke._readonly;break;case yn._abstract:Nt.tokens[Nt.tokens.length-1].type=ke._abstract;break;case yn._static:Nt.tokens[Nt.tokens.length-1].type=ke._static;break;case yn._public:Nt.tokens[Nt.tokens.length-1].type=ke._public;break;case yn._private:Nt.tokens[Nt.tokens.length-1].type=ke._private;break;case yn._protected:Nt.tokens[Nt.tokens.length-1].type=ke._protected;break;case yn._override:Nt.tokens[Nt.tokens.length-1].type=ke._override;break;case yn._declare:Nt.tokens[Nt.tokens.length-1].type=ke._declare;break}return t}return null}function FM(){for(ho();wa(ke.dot);)ho()}function Ejt(){FM(),!Zf()&&Wr(ke.lessThan)&&N5()}function Sjt(){Na(),zM()}function wjt(){Na()}function Tjt(){Ra(ke._typeof),Wr(ke._import)?JYe():FM(),!Zf()&&Wr(ke.lessThan)&&N5()}function JYe(){Ra(ke._import),Ra(ke.parenL),Ra(ke.string),Ra(ke.parenR),wa(ke.dot)&&FM(),Wr(ke.lessThan)&&N5()}function Ajt(){wa(ke._const);const e=wa(ke._in),t=xu(yn._out);wa(ke._const),(e||t)&&!Wr(ke.name)?Nt.tokens[Nt.tokens.length-1].type=ke.name:ho(),wa(ke._extends)&&sc(),wa(ke.eq)&&sc()}function t4(){Wr(ke.lessThan)&&Roe()}function Roe(){const e=zo(0);for(Wr(ke.lessThan)||Wr(ke.typeParameterStart)?Na():ko();!wa(ke.greaterThan)&&!Nt.error;)Ajt(),wa(ke.comma);Po(e)}function Uxe(e){const t=e===ke.arrow;t4(),Ra(ke.parenL),Nt.scopeDepth++,Cjt(!1),Nt.scopeDepth--,(t||Wr(e))&&BM(e)}function Cjt(e){Fxe(ke.parenR,e)}function Noe(){wa(ke.comma)||Cl()}function eWe(){Uxe(ke.colon),Noe()}function kjt(){const e=Nt.snapshot();Na();const t=wa(ke.name)&&Wr(ke.colon);return Nt.restoreFromSnapshot(e),t}function tWe(){if(!(Wr(ke.bracketL)&&kjt()))return!1;const e=zo(0);return Ra(ke.bracketL),ho(),zM(),Ra(ke.bracketR),M5(),Noe(),Po(e),!0}function rWe(e){wa(ke.question),!e&&(Wr(ke.parenL)||Wr(ke.lessThan))?(Uxe(ke.colon),Noe()):(M5(),Noe())}function Mjt(){if(Wr(ke.parenL)||Wr(ke.lessThan)){eWe();return}if(Wr(ke._new)){Na(),Wr(ke.parenL)||Wr(ke.lessThan)?eWe():rWe(!1);return}const e=!!QYe([yn._readonly]);tWe()||((Ji(yn._get)||Ji(yn._set))&&ZYe(),$M(-1),rWe(e))}function Rjt(){nWe()}function nWe(){for(Ra(ke.braceL);!wa(ke.braceR)&&!Nt.error;)Mjt()}function Njt(){const e=Nt.snapshot(),t=Ijt();return Nt.restoreFromSnapshot(e),t}function Ijt(){return Na(),wa(ke.plus)||wa(ke.minus)?Ji(yn._readonly):(Ji(yn._readonly)&&Na(),!Wr(ke.bracketL)||(Na(),!Bxe())?!1:(Na(),Wr(ke._in)))}function Ljt(){ho(),Ra(ke._in),sc()}function Ojt(){Ra(ke.braceL),Wr(ke.plus)||Wr(ke.minus)?(Na(),zc(yn._readonly)):xu(yn._readonly),Ra(ke.bracketL),Ljt(),xu(yn._as)&&sc(),Ra(ke.bracketR),Wr(ke.plus)||Wr(ke.minus)?(Na(),Ra(ke.question)):wa(ke.question),Kjt(),Cl(),Ra(ke.braceR)}function Djt(){for(Ra(ke.bracketL);!wa(ke.bracketR)&&!Nt.error;)Pjt(),wa(ke.comma)}function Pjt(){wa(ke.ellipsis)?sc():(sc(),wa(ke.question)),wa(ke.colon)&&sc()}function Fjt(){Ra(ke.parenL),sc(),Ra(ke.parenR)}function Bjt(){for(W2(),W2();!Wr(ke.backQuote)&&!Nt.error;)Ra(ke.dollarBraceL),sc(),W2(),W2();Na()}var X2;(function(e){e[e.TSFunctionType=0]="TSFunctionType";const r=1;e[e.TSConstructorType=r]="TSConstructorType";const n=r+1;e[e.TSAbstractConstructorType=n]="TSAbstractConstructorType"})(X2||(X2={}));function $xe(e){e===X2.TSAbstractConstructorType&&zc(yn._abstract),(e===X2.TSConstructorType||e===X2.TSAbstractConstructorType)&&Ra(ke._new);const t=Nt.inDisallowConditionalTypesContext;Nt.inDisallowConditionalTypesContext=!1,Uxe(ke.arrow),Nt.inDisallowConditionalTypesContext=t}function zjt(){switch(Nt.type){case ke.name:Ejt();return;case ke._void:case ke._null:Na();return;case ke.string:case ke.num:case ke.bigint:case ke.decimal:case ke._true:case ke._false:L5();return;case ke.minus:Na(),L5();return;case ke._this:{wjt(),Ji(yn._is)&&!Zf()&&Sjt();return}case ke._typeof:Tjt();return;case ke._import:JYe();return;case ke.braceL:Njt()?Ojt():Rjt();return;case ke.bracketL:Djt();return;case ke.parenL:Fjt();return;case ke.backQuote:Bjt();return;default:if(Nt.type&ke.IS_KEYWORD){Na(),Nt.tokens[Nt.tokens.length-1].type=ke.name;return}break}ko()}function Ujt(){for(zjt();!Zf()&&wa(ke.bracketL);)wa(ke.bracketR)||(sc(),Ra(ke.bracketR))}function $jt(){if(zc(yn._infer),ho(),Wr(ke._extends)){const e=Nt.snapshot();Ra(ke._extends);const t=Nt.inDisallowConditionalTypesContext;Nt.inDisallowConditionalTypesContext=!0,sc(),Nt.inDisallowConditionalTypesContext=t,(Nt.error||!Nt.inDisallowConditionalTypesContext&&Wr(ke.question))&&Nt.restoreFromSnapshot(e)}}function Hxe(){if(Ji(yn._keyof)||Ji(yn._unique)||Ji(yn._readonly))Na(),Hxe();else if(Ji(yn._infer))$jt();else{const e=Nt.inDisallowConditionalTypesContext;Nt.inDisallowConditionalTypesContext=!1,Ujt(),Nt.inDisallowConditionalTypesContext=e}}function aWe(){if(wa(ke.bitwiseAND),Hxe(),Wr(ke.bitwiseAND))for(;wa(ke.bitwiseAND);)Hxe()}function Hjt(){if(wa(ke.bitwiseOR),aWe(),Wr(ke.bitwiseOR))for(;wa(ke.bitwiseOR);)aWe()}function Vjt(){return Wr(ke.lessThan)?!0:Wr(ke.parenL)&&jjt()}function Gjt(){if(Wr(ke.name)||Wr(ke._this))return Na(),!0;if(Wr(ke.braceL)||Wr(ke.bracketL)){let e=1;for(Na();e>0&&!Nt.error;)Wr(ke.braceL)||Wr(ke.bracketL)?e++:(Wr(ke.braceR)||Wr(ke.bracketR))&&e--,Na();return!0}return!1}function jjt(){const e=Nt.snapshot(),t=Yjt();return Nt.restoreFromSnapshot(e),t}function Yjt(){return Na(),!!(Wr(ke.parenR)||Wr(ke.ellipsis)||Gjt()&&(Wr(ke.colon)||Wr(ke.comma)||Wr(ke.question)||Wr(ke.eq)||Wr(ke.parenR)&&(Na(),Wr(ke.arrow))))}function BM(e){const t=zo(0);Ra(e),Xjt()||sc(),Po(t)}function Wjt(){Wr(ke.colon)&&BM(ke.colon)}function M5(){Wr(ke.colon)&&zM()}function Kjt(){wa(ke.colon)&&sc()}function Xjt(){const e=Nt.snapshot();return Ji(yn._asserts)?(Na(),xu(yn._is)?(sc(),!0):Bxe()||Wr(ke._this)?(Na(),xu(yn._is)&&sc(),!0):(Nt.restoreFromSnapshot(e),!1)):Bxe()||Wr(ke._this)?(Na(),Ji(yn._is)&&!Zf()?(Na(),sc(),!0):(Nt.restoreFromSnapshot(e),!1)):!1}function zM(){const e=zo(0);Ra(ke.colon),sc(),Po(e)}function sc(){if(iWe(),Nt.inDisallowConditionalTypesContext||Zf()||!wa(ke._extends))return;const e=Nt.inDisallowConditionalTypesContext;Nt.inDisallowConditionalTypesContext=!0,iWe(),Nt.inDisallowConditionalTypesContext=e,Ra(ke.question),sc(),Ra(ke.colon),sc()}function qjt(){return Ji(yn._abstract)&&oc()===ke._new}function iWe(){if(Vjt()){$xe(X2.TSFunctionType);return}if(Wr(ke._new)){$xe(X2.TSConstructorType);return}else if(qjt()){$xe(X2.TSAbstractConstructorType);return}Hjt()}function Zjt(){const e=zo(1);sc(),Ra(ke.greaterThan),Po(e),UM()}function Qjt(){if(wa(ke.jsxTagStart)){Nt.tokens[Nt.tokens.length-1].type=ke.typeParameterStart;const e=zo(1);for(;!Wr(ke.greaterThan)&&!Nt.error;)sc(),wa(ke.comma);X0(),Po(e)}}function oWe(){for(;!Wr(ke.braceL)&&!Nt.error;)Jjt(),wa(ke.comma)}function Jjt(){FM(),Wr(ke.lessThan)&&N5()}function eYt(){K2(!1),t4(),wa(ke._extends)&&oWe(),nWe()}function tYt(){K2(!1),t4(),Ra(ke.eq),sc(),Cl()}function rYt(){if(Wr(ke.string)?L5():ho(),wa(ke.eq)){const e=Nt.tokens.length-1;od(),Nt.tokens[e].rhsEndIndex=Nt.tokens.length}}function Vxe(){for(K2(!1),Ra(ke.braceL);!wa(ke.braceR)&&!Nt.error;)rYt(),wa(ke.comma)}function Gxe(){Ra(ke.braceL),$oe(ke.braceR)}function jxe(){K2(!1),wa(ke.dot)?jxe():Gxe()}function sWe(){Ji(yn._global)?ho():Wr(ke.string)?Hg():ko(),Wr(ke.braceL)?Gxe():Cl()}function Yxe(){Coe(),Ra(ke.eq),aYt(),Cl()}function nYt(){return Ji(yn._require)&&oc()===ke.parenL}function aYt(){nYt()?iYt():FM()}function iYt(){zc(yn._require),Ra(ke.parenL),Wr(ke.string)||ko(),L5(),Ra(ke.parenR)}function oYt(){if(vm())return!1;switch(Nt.type){case ke._function:{const e=zo(1);Na();const t=Nt.start;return a4(t,!0),Po(e),!0}case ke._class:{const e=zo(1);return i4(!0,!1),Po(e),!0}case ke._const:if(Wr(ke._const)&&Mxe(yn._enum)){const e=zo(1);return Ra(ke._const),zc(yn._enum),Nt.tokens[Nt.tokens.length-1].type=ke._enum,Vxe(),Po(e),!0}case ke._var:case ke._let:{const e=zo(1);return Uoe(Nt.type!==ke._var),Po(e),!0}case ke.name:{const e=zo(1),t=Nt.contextualKeyword;let r=!1;return t===yn._global?(sWe(),r=!0):r=Ioe(t,!0),Po(e),r}default:return!1}}function lWe(){return Ioe(Nt.contextualKeyword,!0)}function sYt(e){switch(e){case yn._declare:{const t=Nt.tokens.length-1;if(oYt())return Nt.tokens[t].type=ke._declare,!0;break}case yn._global:if(Wr(ke.braceL))return Gxe(),!0;break;default:return Ioe(e,!1)}return!1}function Ioe(e,t){switch(e){case yn._abstract:if(R5(t)&&Wr(ke._class))return Nt.tokens[Nt.tokens.length-1].type=ke._abstract,i4(!0,!1),!0;break;case yn._enum:if(R5(t)&&Wr(ke.name))return Nt.tokens[Nt.tokens.length-1].type=ke._enum,Vxe(),!0;break;case yn._interface:if(R5(t)&&Wr(ke.name)){const r=zo(t?2:1);return eYt(),Po(r),!0}break;case yn._module:if(R5(t)){if(Wr(ke.string)){const r=zo(t?2:1);return sWe(),Po(r),!0}else if(Wr(ke.name)){const r=zo(t?2:1);return jxe(),Po(r),!0}}break;case yn._namespace:if(R5(t)&&Wr(ke.name)){const r=zo(t?2:1);return jxe(),Po(r),!0}break;case yn._type:if(R5(t)&&Wr(ke.name)){const r=zo(t?2:1);return tYt(),Po(r),!0}break}return!1}function R5(e){return e?(Na(),!0):!vm()}function lYt(){const e=Nt.snapshot();return Roe(),O5(),Wjt(),Ra(ke.arrow),Nt.error?(Nt.restoreFromSnapshot(e),!1):(VM(!0),!0)}function Wxe(){Nt.type===ke.bitShiftL&&(Nt.pos-=1,Mo(ke.lessThan)),N5()}function N5(){const e=zo(0);for(Ra(ke.lessThan);!Wr(ke.greaterThan)&&!Nt.error;)sc(),wa(ke.comma);e?(Ra(ke.greaterThan),Po(e)):(Po(e),RYe(),Ra(ke.greaterThan),Nt.tokens[Nt.tokens.length-1].isType=!0)}function cWe(){if(Wr(ke.name))switch(Nt.contextualKeyword){case yn._abstract:case yn._declare:case yn._enum:case yn._interface:case yn._module:case yn._namespace:case yn._type:return!0}return!1}function cYt(e,t){if(Wr(ke.colon)&&BM(ke.colon),!Wr(ke.braceL)&&vm()){let r=Nt.tokens.length-1;for(;r>=0&&(Nt.tokens[r].start>=e||Nt.tokens[r].type===ke._default||Nt.tokens[r].type===ke._export);)Nt.tokens[r].isType=!0,r--;return}VM(!1,t)}function uYt(e,t,r){if(!Zf()&&wa(ke.bang)){Nt.tokens[Nt.tokens.length-1].type=ke.nonNullAssertion;return}if(Wr(ke.lessThan)||Wr(ke.bitShiftL)){const n=Nt.snapshot();if(!t&&gWe()&&lYt())return;if(Wxe(),!t&&wa(ke.parenL)?(Nt.tokens[Nt.tokens.length-1].subscriptStartIndex=e,q2()):Wr(ke.backQuote)?ebe():(Nt.type===ke.greaterThan||Nt.type!==ke.parenL&&Nt.type&ke.IS_EXPRESSION_START&&!Zf())&&ko(),Nt.error)Nt.restoreFromSnapshot(n);else return}else!t&&Wr(ke.questionDot)&&oc()===ke.lessThan&&(Na(),Nt.tokens[e].isOptionalChainStart=!0,Nt.tokens[Nt.tokens.length-1].subscriptStartIndex=e,N5(),Ra(ke.parenL),q2());qxe(e,t,r)}function dYt(){if(wa(ke._import))return Ji(yn._type)&&oc()!==ke.eq&&zc(yn._type),Yxe(),!0;if(wa(ke.eq))return id(),Cl(),!0;if(xu(yn._as))return zc(yn._namespace),ho(),Cl(),!0;if(Ji(yn._type)){const e=oc();(e===ke.braceL||e===ke.star)&&Na()}return!1}function fYt(){if(ho(),Wr(ke.comma)||Wr(ke.braceR)){Nt.tokens[Nt.tokens.length-1].identifierRole=ao.ImportDeclaration;return}if(ho(),Wr(ke.comma)||Wr(ke.braceR)){Nt.tokens[Nt.tokens.length-1].identifierRole=ao.ImportDeclaration,Nt.tokens[Nt.tokens.length-2].isType=!0,Nt.tokens[Nt.tokens.length-1].isType=!0;return}if(ho(),Wr(ke.comma)||Wr(ke.braceR)){Nt.tokens[Nt.tokens.length-3].identifierRole=ao.ImportAccess,Nt.tokens[Nt.tokens.length-1].identifierRole=ao.ImportDeclaration;return}ho(),Nt.tokens[Nt.tokens.length-3].identifierRole=ao.ImportAccess,Nt.tokens[Nt.tokens.length-1].identifierRole=ao.ImportDeclaration,Nt.tokens[Nt.tokens.length-4].isType=!0,Nt.tokens[Nt.tokens.length-3].isType=!0,Nt.tokens[Nt.tokens.length-2].isType=!0,Nt.tokens[Nt.tokens.length-1].isType=!0}function hYt(){if(ho(),Wr(ke.comma)||Wr(ke.braceR)){Nt.tokens[Nt.tokens.length-1].identifierRole=ao.ExportAccess;return}if(ho(),Wr(ke.comma)||Wr(ke.braceR)){Nt.tokens[Nt.tokens.length-1].identifierRole=ao.ExportAccess,Nt.tokens[Nt.tokens.length-2].isType=!0,Nt.tokens[Nt.tokens.length-1].isType=!0;return}if(ho(),Wr(ke.comma)||Wr(ke.braceR)){Nt.tokens[Nt.tokens.length-3].identifierRole=ao.ExportAccess;return}ho(),Nt.tokens[Nt.tokens.length-3].identifierRole=ao.ExportAccess,Nt.tokens[Nt.tokens.length-4].isType=!0,Nt.tokens[Nt.tokens.length-3].isType=!0,Nt.tokens[Nt.tokens.length-2].isType=!0,Nt.tokens[Nt.tokens.length-1].isType=!0}function pYt(){if(Ji(yn._abstract)&&oc()===ke._class)return Nt.type=ke._abstract,Na(),i4(!0,!0),!0;if(Ji(yn._interface)){const e=zo(2);return Ioe(yn._interface,!0),Po(e),!0}return!1}function vYt(){if(Nt.type===ke._const){const e=OM();if(e.type===ke.name&&e.contextualKeyword===yn._enum)return Ra(ke._const),zc(yn._enum),Nt.tokens[Nt.tokens.length-1].type=ke._enum,Vxe(),!0}return!1}function mYt(e){const t=Nt.tokens.length;zxe([yn._abstract,yn._readonly,yn._declare,yn._static,yn._override]);const r=Nt.tokens.length;if(tWe()){const o=e?t-1:t;for(let m=o;m<r;m++)Nt.tokens[m].isType=!0;return!0}return!1}function gYt(e){sYt(e)||Cl()}function yYt(){const e=xu(yn._declare);e&&(Nt.tokens[Nt.tokens.length-1].type=ke._declare);let t=!1;if(Wr(ke.name))if(e){const r=zo(2);t=lWe(),Po(r)}else t=lWe();if(!t)if(e){const r=zo(2);Kp(!0),Po(r)}else Kp(!0)}function _Yt(e){if(e&&(Wr(ke.lessThan)||Wr(ke.bitShiftL))&&Wxe(),xu(yn._implements)){Nt.tokens[Nt.tokens.length-1].type=ke._implements;const t=zo(1);oWe(),Po(t)}}function xYt(){t4()}function bYt(){t4()}function EYt(){const e=zo(0);Zf()||wa(ke.bang),M5(),Po(e)}function SYt(){Wr(ke.colon)&&zM()}function wYt(e,t){return xoe?TYt(e,t):AYt(e,t)}function TYt(e,t){if(!Wr(ke.lessThan))return gm(e,t);const r=Nt.snapshot();let n=gm(e,t);if(Nt.error)Nt.restoreFromSnapshot(r);else return n;return Nt.type=ke.typeParameterStart,Roe(),n=gm(e,t),n||ko(),n}function AYt(e,t){if(!Wr(ke.lessThan))return gm(e,t);const r=Nt.snapshot();Roe();const n=gm(e,t);if(n||ko(),Nt.error)Nt.restoreFromSnapshot(r);else return n;return gm(e,t)}function CYt(){if(Wr(ke.colon)){const e=Nt.snapshot();BM(ke.colon),Wp()&&ko(),Wr(ke.arrow)||ko(),Nt.error&&Nt.restoreFromSnapshot(e)}return wa(ke.arrow)}function kYt(){const e=zo(0);wa(ke.question),M5(),Po(e)}function MYt(){(Wr(ke.lessThan)||Wr(ke.bitShiftL))&&Wxe(),IWe()}function RYt(){let e=!1,t=!1;for(;;){if(Nt.pos>=Ei.length){ko("Unterminated JSX contents");return}const r=Ei.charCodeAt(Nt.pos);if(r===Kn.lessThan||r===Kn.leftCurlyBrace){if(Nt.pos===Nt.start){if(r===Kn.lessThan){Nt.pos++,Mo(ke.jsxTagStart);return}NYe(r);return}Mo(e&&!t?ke.jsxEmptyText:ke.jsxText);return}r===Kn.lineFeed?e=!0:r!==Kn.space&&r!==Kn.carriageReturn&&r!==Kn.tab&&(t=!0),Nt.pos++}}function NYt(e){for(Nt.pos++;;){if(Nt.pos>=Ei.length){ko("Unterminated string constant");return}if(Ei.charCodeAt(Nt.pos)===e){Nt.pos++;break}Nt.pos++}Mo(ke.string)}function IYt(){let e;do{if(Nt.pos>Ei.length){ko("Unexpectedly reached the end of input.");return}e=Ei.charCodeAt(++Nt.pos)}while(j1[e]||e===Kn.dash);Mo(ke.jsxName)}function Kxe(){X0()}function uWe(e){if(Kxe(),!wa(ke.colon)){Nt.tokens[Nt.tokens.length-1].identifierRole=e;return}Kxe()}function dWe(){const e=Nt.tokens.length;uWe(ao.Access);let t=!1;for(;Wr(ke.dot);)t=!0,X0(),Kxe();if(!t){const r=Nt.tokens[e],n=Ei.charCodeAt(r.start);n>=Kn.lowercaseA&&n<=Kn.lowercaseZ&&(r.identifierRole=null)}}function LYt(){switch(Nt.type){case ke.braceL:Na(),id(),X0();return;case ke.jsxTagStart:hWe(),X0();return;case ke.string:X0();return;default:ko("JSX value should be either an expression or a quoted JSX text")}}function OYt(){Ra(ke.ellipsis),id()}function DYt(e){if(Wr(ke.jsxTagEnd))return!1;dWe(),xs&&Qjt();let t=!1;for(;!Wr(ke.slash)&&!Wr(ke.jsxTagEnd)&&!Nt.error;){if(wa(ke.braceL)){t=!0,Ra(ke.ellipsis),od(),X0();continue}t&&Nt.end-Nt.start===3&&Ei.charCodeAt(Nt.start)===Kn.lowercaseK&&Ei.charCodeAt(Nt.start+1)===Kn.lowercaseE&&Ei.charCodeAt(Nt.start+2)===Kn.lowercaseY&&(Nt.tokens[e].jsxRole=Y1.KeyAfterPropSpread),uWe(ao.ObjectKey),Wr(ke.eq)&&(X0(),LYt())}const r=Wr(ke.slash);return r&&X0(),r}function PYt(){Wr(ke.jsxTagEnd)||dWe()}function fWe(){const e=Nt.tokens.length-1;Nt.tokens[e].jsxRole=Y1.NoChildren;let t=0;if(!DYt(e))for(I5();;)switch(Nt.type){case ke.jsxTagStart:if(X0(),Wr(ke.slash)){X0(),PYt(),Nt.tokens[e].jsxRole!==Y1.KeyAfterPropSpread&&(t===1?Nt.tokens[e].jsxRole=Y1.OneChild:t>1&&(Nt.tokens[e].jsxRole=Y1.StaticChildren));return}t++,fWe(),I5();break;case ke.jsxText:t++,I5();break;case ke.jsxEmptyText:I5();break;case ke.braceL:Na(),Wr(ke.ellipsis)?(OYt(),I5(),t+=2):(Wr(ke.braceR)||(t++,id()),I5());break;default:ko();return}}function hWe(){X0(),fWe()}function X0(){Nt.tokens.push(new boe),kYe(),Nt.start=Nt.pos;const e=Ei.charCodeAt(Nt.pos);if(LM[e])IYt();else if(e===Kn.quotationMark||e===Kn.apostrophe)NYt(e);else switch(++Nt.pos,e){case Kn.greaterThan:Mo(ke.jsxTagEnd);break;case Kn.lessThan:Mo(ke.jsxTagStart);break;case Kn.slash:Mo(ke.slash);break;case Kn.equalsTo:Mo(ke.eq);break;case Kn.leftCurlyBrace:Mo(ke.braceL);break;case Kn.dot:Mo(ke.dot);break;case Kn.colon:Mo(ke.colon);break;default:ko()}}function I5(){Nt.tokens.push(new boe),Nt.start=Nt.pos,RYt()}function FYt(e){if(Wr(ke.question)){const t=oc();if(t===ke.colon||t===ke.comma||t===ke.parenR)return}pWe(e)}function BYt(){SYe(ke.question),Wr(ke.colon)&&(xs?zM():$s&&n4())}class zYt{constructor(t){this.stop=t}}function id(e=!1){if(od(e),Wr(ke.comma))for(;wa(ke.comma);)od(e)}function od(e=!1,t=!1){return xs?wYt(e,t):$s?GWt(e,t):gm(e,t)}function gm(e,t){if(Wr(ke._yield))return tWt(),!1;(Wr(ke.parenL)||Wr(ke.name)||Wr(ke._yield))&&(Nt.potentialArrowAt=Nt.start);const r=UYt(e);return t&&Jxe(),Nt.type&ke.IS_ASSIGN?(Na(),od(e),!1):r}function UYt(e){return HYt(e)?!0:($Yt(e),!1)}function $Yt(e){xs||$s?FYt(e):pWe(e)}function pWe(e){wa(ke.question)&&(od(),Ra(ke.colon),od(e))}function HYt(e){const t=Nt.tokens.length;return UM()?!0:(Loe(t,-1,e),!1)}function Loe(e,t,r){if(xs&&(ke._in&ke.PRECEDENCE_MASK)>t&&!Zf()&&(xu(yn._as)||xu(yn._satisfies))){const o=zo(1);sc(),Po(o),RYe(),Loe(e,t,r);return}const n=Nt.type&ke.PRECEDENCE_MASK;if(n>0&&(!r||!Wr(ke._in))&&n>t){const o=Nt.type;Na(),o===ke.nullishCoalescing&&(Nt.tokens[Nt.tokens.length-1].nullishStartIndex=e);const m=Nt.tokens.length;UM(),Loe(m,o&ke.IS_RIGHT_ASSOCIATIVE?n-1:n,r),o===ke.nullishCoalescing&&(Nt.tokens[e].numNullishCoalesceStarts++,Nt.tokens[Nt.tokens.length-1].numNullishCoalesceEnds++),Loe(e,t,r)}}function UM(){if(xs&&!xoe&&wa(ke.lessThan))return Zjt(),!1;if(Ji(yn._module)&&TYe()===Kn.leftCurlyBrace&&!mYe())return rWt(),!1;if(Nt.type&ke.IS_PREFIX)return Na(),UM(),!1;if(vWe())return!0;for(;Nt.type&ke.IS_POSTFIX&&!Wp();)Nt.type===ke.preIncDec&&(Nt.type=ke.postIncDec),Na();return!1}function vWe(){const e=Nt.tokens.length;return Hg()?!0:(Xxe(e),Nt.tokens.length>e&&Nt.tokens[e].isOptionalChainStart&&(Nt.tokens[Nt.tokens.length-1].isOptionalChainEnd=!0),!1)}function Xxe(e,t=!1){$s?YWt(e,t):mWe(e,t)}function mWe(e,t=!1){const r=new zYt(!1);do VYt(e,t,r);while(!r.stop&&!Nt.error)}function VYt(e,t,r){xs?uYt(e,t,r):$s?AWt(e,t,r):qxe(e,t,r)}function qxe(e,t,r){if(!t&&wa(ke.doubleColon))Zxe(),r.stop=!0,Xxe(e,t);else if(Wr(ke.questionDot)){if(Nt.tokens[e].isOptionalChainStart=!0,t&&oc()===ke.parenL){r.stop=!0;return}Na(),Nt.tokens[Nt.tokens.length-1].subscriptStartIndex=e,wa(ke.bracketL)?(id(),Ra(ke.bracketR)):wa(ke.parenL)?q2():Ooe()}else if(wa(ke.dot))Nt.tokens[Nt.tokens.length-1].subscriptStartIndex=e,Ooe();else if(wa(ke.bracketL))Nt.tokens[Nt.tokens.length-1].subscriptStartIndex=e,id(),Ra(ke.bracketR);else if(!t&&Wr(ke.parenL))if(gWe()){const n=Nt.snapshot(),o=Nt.tokens.length;Na(),Nt.tokens[Nt.tokens.length-1].subscriptStartIndex=e;const m=IM();Nt.tokens[Nt.tokens.length-1].contextId=m,q2(),Nt.tokens[Nt.tokens.length-1].contextId=m,GYt()&&(Nt.restoreFromSnapshot(n),r.stop=!0,Nt.scopeDepth++,O5(),jYt(o))}else{Na(),Nt.tokens[Nt.tokens.length-1].subscriptStartIndex=e;const n=IM();Nt.tokens[Nt.tokens.length-1].contextId=n,q2(),Nt.tokens[Nt.tokens.length-1].contextId=n}else Wr(ke.backQuote)?ebe():r.stop=!0}function gWe(){return Nt.tokens[Nt.tokens.length-1].contextualKeyword===yn._async&&!Wp()}function q2(){let e=!0;for(;!wa(ke.parenR)&&!Nt.error;){if(e)e=!1;else if(Ra(ke.comma),wa(ke.parenR))break;bWe(!1)}}function GYt(){return Wr(ke.colon)||Wr(ke.arrow)}function jYt(e){xs?SYt():$s&&VWt(),Ra(ke.arrow),HM(e)}function Zxe(){const e=Nt.tokens.length;Hg(),Xxe(e,!0)}function Hg(){if(wa(ke.modulo))return ho(),!1;if(Wr(ke.jsxText)||Wr(ke.jsxEmptyText))return L5(),!1;if(Wr(ke.lessThan)&&xoe)return Nt.type=ke.jsxTagStart,hWe(),Na(),!1;const e=Nt.potentialArrowAt===Nt.start;switch(Nt.type){case ke.slash:case ke.assign:LGt();case ke._super:case ke._this:case ke.regexp:case ke.num:case ke.bigint:case ke.decimal:case ke.string:case ke._null:case ke._true:case ke._false:return Na(),!1;case ke._import:return Na(),Wr(ke.dot)&&(Nt.tokens[Nt.tokens.length-1].type=ke.name,Na(),ho()),!1;case ke.name:{const t=Nt.tokens.length,r=Nt.start,n=Nt.contextualKeyword;return ho(),n===yn._await?(eWt(),!1):n===yn._async&&Wr(ke._function)&&!Wp()?(Na(),a4(r,!1),!1):e&&n===yn._async&&!Wp()&&Wr(ke.name)?(Nt.scopeDepth++,K2(!1),Ra(ke.arrow),HM(t),!0):Wr(ke._do)&&!Wp()?(Na(),Z2(),!1):e&&!Wp()&&Wr(ke.arrow)?(Nt.scopeDepth++,Pxe(!1),Ra(ke.arrow),HM(t),!0):(Nt.tokens[Nt.tokens.length-1].identifierRole=ao.Access,!1)}case ke._do:return Na(),Z2(),!1;case ke.parenL:return yWe(e);case ke.bracketL:return Na(),xWe(ke.bracketR,!0),!1;case ke.braceL:return tbe(!1,!1),!1;case ke._function:return YYt(),!1;case ke.at:hbe();case ke._class:return i4(!1),!1;case ke._new:return KYt(),!1;case ke.backQuote:return ebe(),!1;case ke.doubleColon:return Na(),Zxe(),!1;case ke.hash:{const t=TYe();return LM[t]||t===Kn.backslash?Ooe():Na(),!1}default:return ko(),!1}}function Ooe(){wa(ke.hash),ho()}function YYt(){const e=Nt.start;ho(),wa(ke.dot)&&ho(),a4(e,!1)}function L5(){Na()}function Doe(){Ra(ke.parenL),id(),Ra(ke.parenR)}function yWe(e){const t=Nt.snapshot(),r=Nt.tokens.length;Ra(ke.parenL);let n=!0;for(;!Wr(ke.parenR)&&!Nt.error;){if(n)n=!1;else if(Ra(ke.comma),Wr(ke.parenR))break;if(Wr(ke.ellipsis)){XYe(!1),Jxe();break}else od(!1,!0)}return Ra(ke.parenR),e&&WYt()&&Qxe()?(Nt.restoreFromSnapshot(t),Nt.scopeDepth++,O5(),Qxe(),HM(r),Nt.error?(Nt.restoreFromSnapshot(t),yWe(!1),!1):!0):!1}function WYt(){return Wr(ke.colon)||!Wp()}function Qxe(){return xs?CYt():$s?jWt():wa(ke.arrow)}function Jxe(){(xs||$s)&&BYt()}function KYt(){if(Ra(ke._new),wa(ke.dot)){ho();return}XYt(),$s&&CWt(),wa(ke.parenL)&&xWe(ke.parenR)}function XYt(){Zxe(),wa(ke.questionDot)}function ebe(){for(W2(),W2();!Wr(ke.backQuote)&&!Nt.error;)Ra(ke.dollarBraceL),id(),W2(),W2();Na()}function tbe(e,t){const r=IM();let n=!0;for(Na(),Nt.tokens[Nt.tokens.length-1].contextId=r;!wa(ke.braceR)&&!Nt.error;){if(n)n=!1;else if(Ra(ke.comma),wa(ke.braceR))break;let o=!1;if(Wr(ke.ellipsis)){const m=Nt.tokens.length;if(KYe(),e&&(Nt.tokens.length===m+2&&Pxe(t),wa(ke.braceR)))break;continue}e||(o=wa(ke.star)),!e&&Ji(yn._async)?(o&&ko(),ho(),Wr(ke.colon)||Wr(ke.parenL)||Wr(ke.braceR)||Wr(ke.eq)||Wr(ke.comma)||(Wr(ke.star)&&(Na(),o=!0),$M(r))):$M(r),JYt(e,t,r)}Nt.tokens[Nt.tokens.length-1].contextId=r}function qYt(e){return!e&&(Wr(ke.string)||Wr(ke.num)||Wr(ke.bracketL)||Wr(ke.name)||!!(Nt.type&ke.IS_KEYWORD))}function ZYt(e,t){const r=Nt.start;return Wr(ke.parenL)?(e&&ko(),rbe(r,!1),!0):qYt(e)?($M(t),rbe(r,!1),!0):!1}function QYt(e,t){if(wa(ke.colon)){e?Moe(t):od(!1);return}let r;e?Nt.scopeDepth===0?r=ao.ObjectShorthandTopLevelDeclaration:t?r=ao.ObjectShorthandBlockScopedDeclaration:r=ao.ObjectShorthandFunctionScopedDeclaration:r=ao.ObjectShorthand,Nt.tokens[Nt.tokens.length-1].identifierRole=r,Moe(t,!0)}function JYt(e,t,r){xs?xYt():$s&&FWt(),ZYt(e,r)||QYt(e,t)}function $M(e){$s&&fbe(),wa(ke.bracketL)?(Nt.tokens[Nt.tokens.length-1].contextId=e,od(),Ra(ke.bracketR),Nt.tokens[Nt.tokens.length-1].contextId=e):(Wr(ke.num)||Wr(ke.string)||Wr(ke.bigint)||Wr(ke.decimal)?Hg():Ooe(),Nt.tokens[Nt.tokens.length-1].identifierRole=ao.ObjectKey,Nt.tokens[Nt.tokens.length-1].contextId=e)}function rbe(e,t){const r=IM();Nt.scopeDepth++;const n=Nt.tokens.length;O5(t,r),_We(e,r);const m=Nt.tokens.length;Nt.scopes.push(new pm(n,m,!0)),Nt.scopeDepth--}function HM(e){VM(!0);const t=Nt.tokens.length;Nt.scopes.push(new pm(e,t,!0)),Nt.scopeDepth--}function _We(e,t=0){xs?cYt(e,t):$s?TWt(t):VM(!1,t)}function VM(e,t=0){e&&!Wr(ke.braceL)?od():Z2(!0,t)}function xWe(e,t=!1){let r=!0;for(;!wa(e)&&!Nt.error;){if(r)r=!1;else if(Ra(ke.comma),wa(e))break;bWe(t)}}function bWe(e){e&&Wr(ke.comma)||(Wr(ke.ellipsis)?(KYe(),Jxe()):Wr(ke.question)?Na():od(!1,!0))}function ho(){Na(),Nt.tokens[Nt.tokens.length-1].type=ke.name}function eWt(){UM()}function tWt(){Na(),!Wr(ke.semi)&&!Wp()&&(wa(ke.star),od())}function rWt(){zc(yn._module),Ra(ke.braceL),$oe(ke.braceR)}function nWt(e){return(e.type===ke.name||!!(e.type&ke.IS_KEYWORD))&&e.contextualKeyword!==yn._from}function ym(e){const t=zo(0);Ra(e||ke.colon),Vh(),Po(t)}function EWe(){Ra(ke.modulo),zc(yn._checks),wa(ke.parenL)&&(id(),Ra(ke.parenR))}function nbe(){const e=zo(0);Ra(ke.colon),Wr(ke.modulo)?EWe():(Vh(),Wr(ke.modulo)&&EWe()),Po(e)}function aWt(){Na(),ibe(!0)}function iWt(){Na(),ho(),Wr(ke.lessThan)&&K1(),Ra(ke.parenL),dbe(),Ra(ke.parenR),nbe(),Cl()}function abe(){Wr(ke._class)?aWt():Wr(ke._function)?iWt():Wr(ke._var)?oWt():xu(yn._module)?wa(ke.dot)?cWt():sWt():Ji(yn._type)?uWt():Ji(yn._opaque)?dWt():Ji(yn._interface)?fWt():Wr(ke._export)?lWt():ko()}function oWt(){Na(),kWe(),Cl()}function sWt(){for(Wr(ke.string)?Hg():ho(),Ra(ke.braceL);!Wr(ke.braceR)&&!Nt.error;)Wr(ke._import)?(Na(),UWe()):ko();Ra(ke.braceR)}function lWt(){Ra(ke._export),wa(ke._default)?Wr(ke._function)||Wr(ke._class)?abe():(Vh(),Cl()):Wr(ke._var)||Wr(ke._function)||Wr(ke._class)||Ji(yn._opaque)?abe():Wr(ke.star)||Wr(ke.braceL)||Ji(yn._interface)||Ji(yn._type)||Ji(yn._opaque)?BWe():ko()}function cWt(){zc(yn._exports),n4(),Cl()}function uWt(){Na(),sbe()}function dWt(){Na(),lbe(!0)}function fWt(){Na(),ibe()}function ibe(e=!1){if(Foe(),Wr(ke.lessThan)&&K1(),wa(ke._extends))do Poe();while(!e&&wa(ke.comma));if(Ji(yn._mixins)){Na();do Poe();while(wa(ke.comma))}if(Ji(yn._implements)){Na();do Poe();while(wa(ke.comma))}Boe(e,!1,e)}function Poe(){SWe(!1),Wr(ke.lessThan)&&r4()}function obe(){ibe()}function Foe(){ho()}function sbe(){Foe(),Wr(ke.lessThan)&&K1(),ym(ke.eq),Cl()}function lbe(e){zc(yn._type),Foe(),Wr(ke.lessThan)&&K1(),Wr(ke.colon)&&ym(ke.colon),e||ym(ke.eq),Cl()}function hWt(){fbe(),kWe(),wa(ke.eq)&&Vh()}function K1(){const e=zo(0);Wr(ke.lessThan)||Wr(ke.typeParameterStart)?Na():ko();do hWt(),Wr(ke.greaterThan)||Ra(ke.comma);while(!Wr(ke.greaterThan)&&!Nt.error);Ra(ke.greaterThan),Po(e)}function r4(){const e=zo(0);for(Ra(ke.lessThan);!Wr(ke.greaterThan)&&!Nt.error;)Vh(),Wr(ke.greaterThan)||Ra(ke.comma);Ra(ke.greaterThan),Po(e)}function pWt(){if(zc(yn._interface),wa(ke._extends))do Poe();while(wa(ke.comma));Boe(!1,!1,!1)}function cbe(){Wr(ke.num)||Wr(ke.string)?Hg():ho()}function vWt(){oc()===ke.colon?(cbe(),ym()):Vh(),Ra(ke.bracketR),ym()}function mWt(){cbe(),Ra(ke.bracketR),Ra(ke.bracketR),Wr(ke.lessThan)||Wr(ke.parenL)?ube():(wa(ke.question),ym())}function ube(){for(Wr(ke.lessThan)&&K1(),Ra(ke.parenL);!Wr(ke.parenR)&&!Wr(ke.ellipsis)&&!Nt.error;)zoe(),Wr(ke.parenR)||Ra(ke.comma);wa(ke.ellipsis)&&zoe(),Ra(ke.parenR),ym()}function gWt(){ube()}function Boe(e,t,r){let n;for(t&&Wr(ke.braceBarL)?(Ra(ke.braceBarL),n=ke.braceBarR):(Ra(ke.braceL),n=ke.braceR);!Wr(n)&&!Nt.error;){if(r&&Ji(yn._proto)){const o=oc();o!==ke.colon&&o!==ke.question&&(Na(),e=!1)}if(e&&Ji(yn._static)){const o=oc();o!==ke.colon&&o!==ke.question&&Na()}if(fbe(),wa(ke.bracketL))wa(ke.bracketL)?mWt():vWt();else if(Wr(ke.parenL)||Wr(ke.lessThan))gWt();else{if(Ji(yn._get)||Ji(yn._set)){const o=oc();(o===ke.name||o===ke.string||o===ke.num)&&Na()}yWt()}_Wt()}Ra(n)}function yWt(){if(Wr(ke.ellipsis)){if(Ra(ke.ellipsis),wa(ke.comma)||wa(ke.semi),Wr(ke.braceR))return;Vh()}else cbe(),Wr(ke.lessThan)||Wr(ke.parenL)?ube():(wa(ke.question),ym())}function _Wt(){!wa(ke.semi)&&!wa(ke.comma)&&!Wr(ke.braceR)&&!Wr(ke.braceBarR)&&ko()}function SWe(e){for(e||ho();wa(ke.dot);)ho()}function xWt(){SWe(!0),Wr(ke.lessThan)&&r4()}function bWt(){Ra(ke._typeof),wWe()}function EWt(){for(Ra(ke.bracketL);Nt.pos<Ei.length&&!Wr(ke.bracketR)&&(Vh(),!Wr(ke.bracketR));)Ra(ke.comma);Ra(ke.bracketR)}function zoe(){const e=oc();e===ke.colon||e===ke.question?(ho(),wa(ke.question),ym()):Vh()}function dbe(){for(;!Wr(ke.parenR)&&!Wr(ke.ellipsis)&&!Nt.error;)zoe(),Wr(ke.parenR)||Ra(ke.comma);wa(ke.ellipsis)&&zoe()}function wWe(){let e=!1;const t=Nt.noAnonFunctionType;switch(Nt.type){case ke.name:{if(Ji(yn._interface)){pWt();return}ho(),xWt();return}case ke.braceL:Boe(!1,!1,!1);return;case ke.braceBarL:Boe(!1,!0,!1);return;case ke.bracketL:EWt();return;case ke.lessThan:K1(),Ra(ke.parenL),dbe(),Ra(ke.parenR),Ra(ke.arrow),Vh();return;case ke.parenL:if(Na(),!Wr(ke.parenR)&&!Wr(ke.ellipsis))if(Wr(ke.name)){const r=oc();e=r!==ke.question&&r!==ke.colon}else e=!0;if(e)if(Nt.noAnonFunctionType=!1,Vh(),Nt.noAnonFunctionType=t,Nt.noAnonFunctionType||!(Wr(ke.comma)||Wr(ke.parenR)&&oc()===ke.arrow)){Ra(ke.parenR);return}else wa(ke.comma);dbe(),Ra(ke.parenR),Ra(ke.arrow),Vh();return;case ke.minus:Na(),L5();return;case ke.string:case ke.num:case ke._true:case ke._false:case ke._null:case ke._this:case ke._void:case ke.star:Na();return;default:if(Nt.type===ke._typeof){bWt();return}else if(Nt.type&ke.IS_KEYWORD){Na(),Nt.tokens[Nt.tokens.length-1].type=ke.name;return}}ko()}function SWt(){for(wWe();!Wp()&&(Wr(ke.bracketL)||Wr(ke.questionDot));)wa(ke.questionDot),Ra(ke.bracketL),wa(ke.bracketR)||(Vh(),Ra(ke.bracketR))}function TWe(){wa(ke.question)?TWe():SWt()}function AWe(){TWe(),!Nt.noAnonFunctionType&&wa(ke.arrow)&&Vh()}function CWe(){for(wa(ke.bitwiseAND),AWe();wa(ke.bitwiseAND);)AWe()}function wWt(){for(wa(ke.bitwiseOR),CWe();wa(ke.bitwiseOR);)CWe()}function Vh(){wWt()}function n4(){ym()}function kWe(){ho(),Wr(ke.colon)&&n4()}function fbe(){(Wr(ke.plus)||Wr(ke.minus))&&(Na(),Nt.tokens[Nt.tokens.length-1].isType=!0)}function TWt(e){Wr(ke.colon)&&nbe(),VM(!1,e)}function AWt(e,t,r){if(Wr(ke.questionDot)&&oc()===ke.lessThan){if(t){r.stop=!0;return}Na(),r4(),Ra(ke.parenL),q2();return}else if(!t&&Wr(ke.lessThan)){const n=Nt.snapshot();if(r4(),Ra(ke.parenL),q2(),Nt.error)Nt.restoreFromSnapshot(n);else return}qxe(e,t,r)}function CWt(){if(Wr(ke.lessThan)){const e=Nt.snapshot();r4(),Nt.error&&Nt.restoreFromSnapshot(e)}}function kWt(){if(Wr(ke.name)&&Nt.contextualKeyword===yn._interface){const e=zo(0);return Na(),obe(),Po(e),!0}else if(Ji(yn._enum))return MWe(),!0;return!1}function MWt(){return Ji(yn._enum)?(MWe(),!0):!1}function RWt(e){if(e===yn._declare){if(Wr(ke._class)||Wr(ke.name)||Wr(ke._function)||Wr(ke._var)||Wr(ke._export)){const t=zo(1);abe(),Po(t)}}else if(Wr(ke.name)){if(e===yn._interface){const t=zo(1);obe(),Po(t)}else if(e===yn._type){const t=zo(1);sbe(),Po(t)}else if(e===yn._opaque){const t=zo(1);lbe(!1),Po(t)}}Cl()}function NWt(){return Ji(yn._type)||Ji(yn._interface)||Ji(yn._opaque)||Ji(yn._enum)}function IWt(){return Wr(ke.name)&&(Nt.contextualKeyword===yn._type||Nt.contextualKeyword===yn._interface||Nt.contextualKeyword===yn._opaque||Nt.contextualKeyword===yn._enum)}function LWt(){if(Ji(yn._type)){const e=zo(1);Na(),Wr(ke.braceL)?(mbe(),YM()):sbe(),Po(e)}else if(Ji(yn._opaque)){const e=zo(1);Na(),lbe(!1),Po(e)}else if(Ji(yn._interface)){const e=zo(1);Na(),obe(),Po(e)}else Kp(!0)}function OWt(){return Wr(ke.star)||Ji(yn._type)&&oc()===ke.star}function DWt(){if(xu(yn._type)){const e=zo(2);vbe(),Po(e)}else vbe()}function PWt(e){if(e&&Wr(ke.lessThan)&&r4(),Ji(yn._implements)){const t=zo(0);Na(),Nt.tokens[Nt.tokens.length-1].type=ke._implements;do Foe(),Wr(ke.lessThan)&&r4();while(wa(ke.comma));Po(t)}}function FWt(){Wr(ke.lessThan)&&(K1(),Wr(ke.parenL)||ko())}function BWt(){const e=zo(0);wa(ke.question),Wr(ke.colon)&&n4(),Po(e)}function zWt(){if(Wr(ke._typeof)||Ji(yn._type)){const e=OM();(nWt(e)||e.type===ke.braceL||e.type===ke.star)&&Na()}}function UWt(){const e=Nt.contextualKeyword===yn._type||Nt.type===ke._typeof;e?Na():ho(),Ji(yn._as)&&!Mxe(yn._as)?(ho(),e&&!Wr(ke.name)&&!(Nt.type&ke.IS_KEYWORD)||ho()):(e&&(Wr(ke.name)||Nt.type&ke.IS_KEYWORD)&&ho(),xu(yn._as)&&ho())}function $Wt(){if(Wr(ke.lessThan)){const e=zo(0);K1(),Po(e)}}function HWt(){Wr(ke.colon)&&n4()}function VWt(){if(Wr(ke.colon)){const e=Nt.noAnonFunctionType;Nt.noAnonFunctionType=!0,n4(),Nt.noAnonFunctionType=e}}function GWt(e,t){if(Wr(ke.lessThan)){const r=Nt.snapshot();let n=gm(e,t);if(Nt.error)Nt.restoreFromSnapshot(r),Nt.type=ke.typeParameterStart;else return n;const o=zo(0);if(K1(),Po(o),n=gm(e,t),n)return!0;ko()}return gm(e,t)}function jWt(){if(Wr(ke.colon)){const e=zo(0),t=Nt.snapshot(),r=Nt.noAnonFunctionType;Nt.noAnonFunctionType=!0,nbe(),Nt.noAnonFunctionType=r,Wp()&&ko(),Wr(ke.arrow)||ko(),Nt.error&&Nt.restoreFromSnapshot(t),Po(e)}return wa(ke.arrow)}function YWt(e,t=!1){if(Nt.tokens[Nt.tokens.length-1].contextualKeyword===yn._async&&Wr(ke.lessThan)){const r=Nt.snapshot();if(WWt()&&!Nt.error)return;Nt.restoreFromSnapshot(r)}mWe(e,t)}function WWt(){Nt.scopeDepth++;const e=Nt.tokens.length;return O5(),Qxe()?(HM(e),!0):!1}function MWe(){zc(yn._enum),Nt.tokens[Nt.tokens.length-1].type=ke._enum,ho(),KWt()}function KWt(){xu(yn._of)&&Na(),Ra(ke.braceL),XWt(),Ra(ke.braceR)}function XWt(){for(;!Wr(ke.braceR)&&!Nt.error&&!wa(ke.ellipsis);)qWt(),Wr(ke.braceR)||Ra(ke.comma)}function qWt(){ho(),wa(ke.eq)&&Na()}function ZWt(){if($oe(ke.eof),Nt.scopes.push(new pm(0,Nt.tokens.length,!0)),Nt.scopeDepth!==0)throw new Error(`Invalid scope depth at end of file: ${Nt.scopeDepth}`);return new FKt(Nt.tokens,Nt.scopes)}function Kp(e){$s&&kWt()||(Wr(ke.at)&&hbe(),QWt(e))}function QWt(e){if(xs&&vYt())return;const t=Nt.type;switch(t){case ke._break:case ke._continue:eKt();return;case ke._debugger:tKt();return;case ke._do:rKt();return;case ke._for:nKt();return;case ke._function:if(oc()===ke.dot)break;e||ko(),oKt();return;case ke._class:e||ko(),i4(!0);return;case ke._if:sKt();return;case ke._return:lKt();return;case ke._switch:cKt();return;case ke._throw:uKt();return;case ke._try:fKt();return;case ke._let:case ke._const:e||ko();case ke._var:Uoe(t!==ke._var);return;case ke._while:hKt();return;case ke.braceL:Z2();return;case ke.semi:pKt();return;case ke._export:case ke._import:{const o=oc();if(o===ke.parenL||o===ke.dot)break;Na(),t===ke._import?UWe():BWe();return}case ke.name:if(Nt.contextualKeyword===yn._async){const o=Nt.start,m=Nt.snapshot();if(Na(),Wr(ke._function)&&!Wp()){Ra(ke._function),a4(o,!0);return}else Nt.restoreFromSnapshot(m)}else if(Nt.contextualKeyword===yn._using&&!mYe()&&oc()===ke.name){Uoe(!0);return}else if(RWe()){zc(yn._await),Uoe(!0);return}}const r=Nt.tokens.length;id();let n=null;if(Nt.tokens.length===r+1){const o=Nt.tokens[Nt.tokens.length-1];o.type===ke.name&&(n=o.contextualKeyword)}if(n==null){Cl();return}wa(ke.colon)?vKt():mKt(n)}function RWe(){if(!Ji(yn._await))return!1;const e=Nt.snapshot();return Na(),!Ji(yn._using)||Zf()||(Na(),!Wr(ke.name)||Zf())?(Nt.restoreFromSnapshot(e),!1):(Nt.restoreFromSnapshot(e),!0)}function hbe(){for(;Wr(ke.at);)NWe()}function NWe(){if(Na(),wa(ke.parenL))id(),Ra(ke.parenR);else{for(ho();wa(ke.dot);)ho();JWt()}}function JWt(){xs?MYt():IWe()}function IWe(){wa(ke.parenL)&&q2()}function eKt(){Na(),vm()||(ho(),Cl())}function tKt(){Na(),Cl()}function rKt(){Na(),Kp(!1),Ra(ke._while),Doe(),wa(ke.semi)}function nKt(){Nt.scopeDepth++;const e=Nt.tokens.length;iKt();const t=Nt.tokens.length;Nt.scopes.push(new pm(e,t,!1)),Nt.scopeDepth--}function aKt(){return!(!Ji(yn._using)||Mxe(yn._of))}function iKt(){Na();let e=!1;if(Ji(yn._await)&&(e=!0,Na()),Ra(ke.parenL),Wr(ke.semi)){e&&ko(),pbe();return}const t=RWe();if(t||Wr(ke._var)||Wr(ke._let)||Wr(ke._const)||aKt()){if(t&&zc(yn._await),Na(),OWe(!0,Nt.type!==ke._var),Wr(ke._in)||Ji(yn._of)){LWe(e);return}pbe();return}if(id(!0),Wr(ke._in)||Ji(yn._of)){LWe(e);return}e&&ko(),pbe()}function oKt(){const e=Nt.start;Na(),a4(e,!0)}function sKt(){Na(),Doe(),Kp(!1),wa(ke._else)&&Kp(!1)}function lKt(){Na(),vm()||(id(),Cl())}function cKt(){Na(),Doe(),Nt.scopeDepth++;const e=Nt.tokens.length;for(Ra(ke.braceL);!Wr(ke.braceR)&&!Nt.error;)if(Wr(ke._case)||Wr(ke._default)){const r=Wr(ke._case);Na(),r&&id(),Ra(ke.colon)}else Kp(!0);Na();const t=Nt.tokens.length;Nt.scopes.push(new pm(e,t,!1)),Nt.scopeDepth--}function uKt(){Na(),id(),Cl()}function dKt(){koe(!0),xs&&M5()}function fKt(){if(Na(),Z2(),Wr(ke._catch)){Na();let e=null;if(Wr(ke.parenL)&&(Nt.scopeDepth++,e=Nt.tokens.length,Ra(ke.parenL),dKt(),Ra(ke.parenR)),Z2(),e!=null){const t=Nt.tokens.length;Nt.scopes.push(new pm(e,t,!1)),Nt.scopeDepth--}}wa(ke._finally)&&Z2()}function Uoe(e){Na(),OWe(!1,e),Cl()}function hKt(){Na(),Doe(),Kp(!1)}function pKt(){Na()}function vKt(){Kp(!0)}function mKt(e){xs?gYt(e):$s?RWt(e):Cl()}function Z2(e=!1,t=0){const r=Nt.tokens.length;Nt.scopeDepth++,Ra(ke.braceL),t&&(Nt.tokens[Nt.tokens.length-1].contextId=t),$oe(ke.braceR),t&&(Nt.tokens[Nt.tokens.length-1].contextId=t);const n=Nt.tokens.length;Nt.scopes.push(new pm(r,n,e)),Nt.scopeDepth--}function $oe(e){for(;!wa(e)&&!Nt.error;)Kp(!0)}function pbe(){Ra(ke.semi),Wr(ke.semi)||id(),Ra(ke.semi),Wr(ke.parenR)||id(),Ra(ke.parenR),Kp(!1)}function LWe(e){e?xu(yn._of):Na(),id(),Ra(ke.parenR),Kp(!1)}function OWe(e,t){for(;;){if(gKt(t),wa(ke.eq)){const r=Nt.tokens.length-1;od(e),Nt.tokens[r].rhsEndIndex=Nt.tokens.length}if(!wa(ke.comma))break}}function gKt(e){koe(e),xs?EYt():$s&&HWt()}function a4(e,t,r=!1){Wr(ke.star)&&Na(),t&&!r&&!Wr(ke.name)&&!Wr(ke._yield)&&ko();let n=null;Wr(ke.name)&&(t||(n=Nt.tokens.length,Nt.scopeDepth++),K2(!1));const o=Nt.tokens.length;Nt.scopeDepth++,O5(),_We(e);const m=Nt.tokens.length;Nt.scopes.push(new pm(o,m,!0)),Nt.scopeDepth--,n!==null&&(Nt.scopes.push(new pm(n,m,!0)),Nt.scopeDepth--)}function O5(e=!1,t=0){xs?bYt():$s&&$Wt(),Ra(ke.parenL),t&&(Nt.tokens[Nt.tokens.length-1].contextId=t),Fxe(ke.parenR,!1,!1,e,t),t&&(Nt.tokens[Nt.tokens.length-1].contextId=t)}function i4(e,t=!1){const r=IM();Na(),Nt.tokens[Nt.tokens.length-1].contextId=r,Nt.tokens[Nt.tokens.length-1].isExpression=!e;let n=null;e||(n=Nt.tokens.length,Nt.scopeDepth++),bKt(e,t),EKt();const o=Nt.tokens.length;if(yKt(r),!Nt.error&&(Nt.tokens[o].contextId=r,Nt.tokens[Nt.tokens.length-1].contextId=r,n!==null)){const m=Nt.tokens.length;Nt.scopes.push(new pm(n,m,!1)),Nt.scopeDepth--}}function DWe(){return Wr(ke.eq)||Wr(ke.semi)||Wr(ke.braceR)||Wr(ke.bang)||Wr(ke.colon)}function PWe(){return Wr(ke.parenL)||Wr(ke.lessThan)}function yKt(e){for(Ra(ke.braceL);!wa(ke.braceR)&&!Nt.error;){if(wa(ke.semi))continue;if(Wr(ke.at)){NWe();continue}const t=Nt.start;_Kt(t,e)}}function _Kt(e,t){xs&&zxe([yn._declare,yn._public,yn._protected,yn._private,yn._override]);let r=!1;if(Wr(ke.name)&&Nt.contextualKeyword===yn._static){if(ho(),PWe()){GM(e,!1);return}else if(DWe()){Hoe();return}if(Nt.tokens[Nt.tokens.length-1].type=ke._static,r=!0,Wr(ke.braceL)){Nt.tokens[Nt.tokens.length-1].contextId=t,Z2();return}}xKt(e,r,t)}function xKt(e,t,r){if(xs&&mYt(t))return;if(wa(ke.star)){jM(r),GM(e,!1);return}jM(r);let n=!1;const o=Nt.tokens[Nt.tokens.length-1];o.contextualKeyword===yn._constructor&&(n=!0),FWe(),PWe()?GM(e,n):DWe()?Hoe():o.contextualKeyword===yn._async&&!vm()?(Nt.tokens[Nt.tokens.length-1].type=ke._async,Wr(ke.star)&&Na(),jM(r),FWe(),GM(e,!1)):(o.contextualKeyword===yn._get||o.contextualKeyword===yn._set)&&!(vm()&&Wr(ke.star))?(o.contextualKeyword===yn._get?Nt.tokens[Nt.tokens.length-1].type=ke._get:Nt.tokens[Nt.tokens.length-1].type=ke._set,jM(r),GM(e,!1)):o.contextualKeyword===yn._accessor&&!vm()?(jM(r),Hoe()):vm()?Hoe():ko()}function GM(e,t){xs?t4():$s&&Wr(ke.lessThan)&&K1(),rbe(e,t)}function jM(e){$M(e)}function FWe(){if(xs){const e=zo(0);wa(ke.question),Po(e)}}function Hoe(){if(xs?(SYe(ke.bang),M5()):$s&&Wr(ke.colon)&&n4(),Wr(ke.eq)){const e=Nt.tokens.length;Na(),od(),Nt.tokens[e].rhsEndIndex=Nt.tokens.length}Cl()}function bKt(e,t=!1){xs&&(!e||t)&&Ji(yn._implements)||(Wr(ke.name)&&K2(!0),xs?t4():$s&&Wr(ke.lessThan)&&K1())}function EKt(){let e=!1;wa(ke._extends)?(vWe(),e=!0):e=!1,xs?_Yt(e):$s&&PWt(e)}function BWe(){const e=Nt.tokens.length-1;xs&&dYt()||(AKt()?CKt():TKt()?(ho(),Wr(ke.comma)&&oc()===ke.star?(Ra(ke.comma),Ra(ke.star),zc(yn._as),ho()):zWe(),YM()):wa(ke._default)?SKt():MKt()?wKt():(mbe(),YM()),Nt.tokens[e].rhsEndIndex=Nt.tokens.length)}function SKt(){if(xs&&pYt()||$s&&MWt())return;const e=Nt.start;wa(ke._function)?a4(e,!0,!0):Ji(yn._async)&&oc()===ke._function?(xu(yn._async),wa(ke._function),a4(e,!0,!0)):Wr(ke._class)?i4(!0,!0):Wr(ke.at)?(hbe(),i4(!0,!0)):(od(),Cl())}function wKt(){xs?yYt():$s?LWt():Kp(!0)}function TKt(){if(xs&&cWe())return!1;if($s&&IWt())return!1;if(Wr(ke.name))return Nt.contextualKeyword!==yn._async;if(!Wr(ke._default))return!1;const e=Rxe(),t=OM(),r=t.type===ke.name&&t.contextualKeyword===yn._from;if(t.type===ke.comma)return!0;if(r){const n=Ei.charCodeAt(wYe(e+4));return n===Kn.quotationMark||n===Kn.apostrophe}return!1}function zWe(){wa(ke.comma)&&mbe()}function YM(){xu(yn._from)&&(Hg(),HWe()),Cl()}function AKt(){return $s?OWt():Wr(ke.star)}function CKt(){$s?DWt():vbe()}function vbe(){Ra(ke.star),Ji(yn._as)?kKt():YM()}function kKt(){Na(),Nt.tokens[Nt.tokens.length-1].type=ke._as,ho(),zWe(),YM()}function MKt(){return xs&&cWe()||$s&&NWt()||Nt.type===ke._var||Nt.type===ke._const||Nt.type===ke._let||Nt.type===ke._function||Nt.type===ke._class||Ji(yn._async)||Wr(ke.at)}function mbe(){let e=!0;for(Ra(ke.braceL);!wa(ke.braceR)&&!Nt.error;){if(e)e=!1;else if(Ra(ke.comma),wa(ke.braceR))break;RKt()}}function RKt(){if(xs){hYt();return}ho(),Nt.tokens[Nt.tokens.length-1].identifierRole=ao.ExportAccess,xu(yn._as)&&ho()}function NKt(){const e=Nt.snapshot();return zc(yn._module),xu(yn._from)?Ji(yn._from)?(Nt.restoreFromSnapshot(e),!0):(Nt.restoreFromSnapshot(e),!1):Wr(ke.comma)?(Nt.restoreFromSnapshot(e),!1):(Nt.restoreFromSnapshot(e),!0)}function IKt(){Ji(yn._module)&&NKt()&&Na()}function UWe(){if(xs&&Wr(ke.name)&&oc()===ke.eq){Yxe();return}if(xs&&Ji(yn._type)){const e=OM();if(e.type===ke.name&&e.contextualKeyword!==yn._from){if(zc(yn._type),oc()===ke.eq){Yxe();return}}else(e.type===ke.star||e.type===ke.braceL)&&zc(yn._type)}Wr(ke.string)||(IKt(),OKt(),zc(yn._from)),Hg(),HWe(),Cl()}function LKt(){return Wr(ke.name)}function $We(){Coe()}function OKt(){$s&&zWt();let e=!0;if(!(LKt()&&($We(),!wa(ke.comma)))){if(Wr(ke.star)){Na(),zc(yn._as),$We();return}for(Ra(ke.braceL);!wa(ke.braceR)&&!Nt.error;){if(e)e=!1;else if(wa(ke.colon)&&ko("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),Ra(ke.comma),wa(ke.braceR))break;DKt()}}}function DKt(){if(xs){fYt();return}if($s){UWt();return}Coe(),Ji(yn._as)&&(Nt.tokens[Nt.tokens.length-1].identifierRole=ao.ImportAccess,Na(),Coe())}function HWe(){(Wr(ke._with)||Ji(yn._assert)&&!Zf())&&(Na(),tbe(!1,!1))}function PKt(){return Nt.pos===0&&Ei.charCodeAt(0)===Kn.numberSign&&Ei.charCodeAt(1)===Kn.exclamationMark&&CYe(2),AYe(),ZWt()}let FKt=class{constructor(t,r){this.tokens=t,this.scopes=r}};function BKt(e,t,r,n){if(n&&r)throw new Error("Cannot combine flow and typescript plugins.");AGt(e,t,r,n);const o=PKt();if(Nt.error)throw SGt(Nt.error);return o}function zKt(e){let t=e.currentIndex(),r=0;const n=e.currentToken();do{const o=e.tokens[t];if(o.isOptionalChainStart&&r++,o.isOptionalChainEnd&&r--,r+=o.numNullishCoalesceStarts,r-=o.numNullishCoalesceEnds,o.contextualKeyword===yn._await&&o.identifierRole==null&&o.scopeDepth===n.scopeDepth)return!0;t+=1}while(r>0&&t<e.tokens.length);return!1}class WM{__init(){this.resultCode=""}__init2(){this.resultMappings=new Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(t,r,n,o,m){this.code=t,this.tokens=r,this.isFlowEnabled=n,this.disableESTransforms=o,this.helperManager=m,WM.prototype.__init.call(this),WM.prototype.__init2.call(this),WM.prototype.__init3.call(this)}snapshot(){return{resultCode:this.resultCode,tokenIndex:this.tokenIndex}}restoreToSnapshot(t){this.resultCode=t.resultCode,this.tokenIndex=t.tokenIndex}dangerouslyGetAndRemoveCodeSinceSnapshot(t){const r=this.resultCode.slice(t.resultCode.length);return this.resultCode=t.resultCode,r}reset(){this.resultCode="",this.resultMappings=new Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(t,r){return this.matches1AtIndex(t,ke.name)&&this.tokens[t].contextualKeyword===r}identifierNameAtIndex(t){return this.identifierNameForToken(this.tokens[t])}identifierNameAtRelativeIndex(t){return this.identifierNameForToken(this.tokenAtRelativeIndex(t))}identifierName(){return this.identifierNameForToken(this.currentToken())}identifierNameForToken(t){return this.code.slice(t.start,t.end)}rawCodeForToken(t){return this.code.slice(t.start,t.end)}stringValueAtIndex(t){return this.stringValueForToken(this.tokens[t])}stringValue(){return this.stringValueForToken(this.currentToken())}stringValueForToken(t){return this.code.slice(t.start+1,t.end-1)}matches1AtIndex(t,r){return this.tokens[t].type===r}matches2AtIndex(t,r,n){return this.tokens[t].type===r&&this.tokens[t+1].type===n}matches3AtIndex(t,r,n,o){return this.tokens[t].type===r&&this.tokens[t+1].type===n&&this.tokens[t+2].type===o}matches1(t){return this.tokens[this.tokenIndex].type===t}matches2(t,r){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===r}matches3(t,r,n){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===r&&this.tokens[this.tokenIndex+2].type===n}matches4(t,r,n,o){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===r&&this.tokens[this.tokenIndex+2].type===n&&this.tokens[this.tokenIndex+3].type===o}matches5(t,r,n,o,m){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===r&&this.tokens[this.tokenIndex+2].type===n&&this.tokens[this.tokenIndex+3].type===o&&this.tokens[this.tokenIndex+4].type===m}matchesContextual(t){return this.matchesContextualAtIndex(this.tokenIndex,t)}matchesContextIdAndLabel(t,r){return this.matches1(t)&&this.currentToken().contextId===r}previousWhitespaceAndComments(){let t=this.code.slice(this.tokenIndex>0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex].start:this.code.length);return this.isFlowEnabled&&(t=t.replace(/@flow/g,"")),t}replaceToken(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}replaceTokenTrimmingLeftWhitespace(t){this.resultCode+=this.previousWhitespaceAndComments().replace(/[^\r\n]/g,""),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}removeInitialToken(){this.replaceToken("")}removeToken(){this.replaceTokenTrimmingLeftWhitespace("")}removeBalancedCode(){let t=0;for(;!this.isAtEnd();){if(this.matches1(ke.braceL))t++;else if(this.matches1(ke.braceR)){if(t===0)return;t--}this.removeToken()}}copyExpectedToken(t){if(this.tokens[this.tokenIndex].type!==t)throw new Error(`Expected token ${t}`);this.copyToken()}copyToken(){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}copyTokenWithPrefix(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultCode+=t,this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}appendTokenPrefix(){const t=this.currentToken();if((t.numNullishCoalesceStarts||t.isOptionalChainStart)&&(t.isAsyncOperation=zKt(this)),!this.disableESTransforms){if(t.numNullishCoalesceStarts)for(let r=0;r<t.numNullishCoalesceStarts;r++)t.isAsyncOperation?(this.resultCode+="await ",this.resultCode+=this.helperManager.getHelperName("asyncNullishCoalesce")):this.resultCode+=this.helperManager.getHelperName("nullishCoalesce"),this.resultCode+="(";t.isOptionalChainStart&&(t.isAsyncOperation&&(this.resultCode+="await "),this.tokenIndex>0&&this.tokenAtRelativeIndex(-1).type===ke._delete?t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){const t=this.currentToken();if(t.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),t.numNullishCoalesceEnds&&!this.disableESTransforms)for(let r=0;r<t.numNullishCoalesceEnds;r++)this.resultCode+="))"}appendCode(t){this.resultCode+=t}currentToken(){return this.tokens[this.tokenIndex]}currentTokenCode(){const t=this.currentToken();return this.code.slice(t.start,t.end)}tokenAtRelativeIndex(t){return this.tokens[this.tokenIndex+t]}currentIndex(){return this.tokenIndex}nextToken(){if(this.tokenIndex===this.tokens.length)throw new Error("Unexpectedly reached end of input.");this.tokenIndex++}previousToken(){this.tokenIndex--}finish(){if(this.tokenIndex!==this.tokens.length)throw new Error("Tried to finish processing tokens before reaching the end.");return this.resultCode+=this.previousWhitespaceAndComments(),{code:this.resultCode,mappings:this.resultMappings}}isAtEnd(){return this.tokenIndex===this.tokens.length}}function UKt(e,t,r,n){const o=t.snapshot(),m=$Kt(t);let u=[];const h=[],a=[];let l=null;const v=[],i=[],S=t.currentToken().contextId;if(S==null)throw new Error("Expected non-null class context ID on class open-brace.");for(t.nextToken();!t.matchesContextIdAndLabel(ke.braceR,S);)if(t.matchesContextual(yn._constructor)&&!t.currentToken().isType)({constructorInitializerStatements:u,constructorInsertPos:l}=VWe(t));else if(t.matches1(ke.semi))n||i.push({start:t.currentIndex(),end:t.currentIndex()+1}),t.nextToken();else if(t.currentToken().isType)t.nextToken();else{const g=t.currentIndex();let p=!1,_=!1,c=!1;for(;Voe(t.currentToken());)t.matches1(ke._static)&&(p=!0),t.matches1(ke.hash)&&(_=!0),(t.matches1(ke._declare)||t.matches1(ke._abstract))&&(c=!0),t.nextToken();if(p&&t.matches1(ke.braceL)){gbe(t,S);continue}if(_){gbe(t,S);continue}if(t.matchesContextual(yn._constructor)&&!t.currentToken().isType){({constructorInitializerStatements:u,constructorInsertPos:l}=VWe(t));continue}const s=t.currentIndex();if(HKt(t),t.matches1(ke.lessThan)||t.matches1(ke.parenL)){gbe(t,S);continue}for(;t.currentToken().isType;)t.nextToken();if(t.matches1(ke.eq)){const d=t.currentIndex(),f=t.currentToken().rhsEndIndex;if(f==null)throw new Error("Expected rhsEndIndex on class field assignment.");for(t.nextToken();t.currentIndex()<f;)e.processToken();let b;p?(b=r.claimFreeName("__initStatic"),a.push(b)):(b=r.claimFreeName("__init"),h.push(b)),v.push({initializerName:b,equalsIndex:d,start:s,end:t.currentIndex()})}else(!n||c)&&i.push({start:g,end:t.currentIndex()})}return t.restoreToSnapshot(o),n?{headerInfo:m,constructorInitializerStatements:u,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:l,fields:[],rangesToRemove:i}:{headerInfo:m,constructorInitializerStatements:u,instanceInitializerNames:h,staticInitializerNames:a,constructorInsertPos:l,fields:v,rangesToRemove:i}}function gbe(e,t){for(e.nextToken();e.currentToken().contextId!==t;)e.nextToken();for(;Voe(e.tokenAtRelativeIndex(-1));)e.previousToken()}function $Kt(e){const t=e.currentToken(),r=t.contextId;if(r==null)throw new Error("Expected context ID on class token.");const n=t.isExpression;if(n==null)throw new Error("Expected isExpression on class token.");let o=null,m=!1;for(e.nextToken(),e.matches1(ke.name)&&(o=e.identifierName());!e.matchesContextIdAndLabel(ke.braceL,r);)e.matches1(ke._extends)&&!e.currentToken().isType&&(m=!0),e.nextToken();return{isExpression:n,className:o,hasSuperclass:m}}function VWe(e){const t=[];e.nextToken();const r=e.currentToken().contextId;if(r==null)throw new Error("Expected context ID on open-paren starting constructor params.");for(;!e.matchesContextIdAndLabel(ke.parenR,r);)if(e.currentToken().contextId===r){if(e.nextToken(),Voe(e.currentToken())){for(e.nextToken();Voe(e.currentToken());)e.nextToken();const m=e.currentToken();if(m.type!==ke.name)throw new Error("Expected identifier after access modifiers in constructor arg.");const u=e.identifierNameForToken(m);t.push(`this.${u} = ${u}`)}}else e.nextToken();for(e.nextToken();e.currentToken().isType;)e.nextToken();let n=e.currentIndex(),o=!1;for(;!e.matchesContextIdAndLabel(ke.braceR,r);){if(!o&&e.matches2(ke._super,ke.parenL)){e.nextToken();const m=e.currentToken().contextId;if(m==null)throw new Error("Expected a context ID on the super call");for(;!e.matchesContextIdAndLabel(ke.parenR,m);)e.nextToken();n=e.currentIndex(),o=!0}e.nextToken()}return e.nextToken(),{constructorInitializerStatements:t,constructorInsertPos:n}}function Voe(e){return[ke._async,ke._get,ke._set,ke.plus,ke.minus,ke._readonly,ke._static,ke._public,ke._private,ke._protected,ke._override,ke._abstract,ke.star,ke._declare,ke.hash].includes(e.type)}function HKt(e){if(e.matches1(ke.bracketL)){const r=e.currentToken().contextId;if(r==null)throw new Error("Expected class context ID on computed name open bracket.");for(;!e.matchesContextIdAndLabel(ke.bracketR,r);)e.nextToken();e.nextToken()}else e.nextToken()}function GWe(e){if(e.removeInitialToken(),e.removeToken(),e.removeToken(),e.removeToken(),e.matches1(ke.parenL))e.removeToken(),e.removeToken(),e.removeToken();else for(;e.matches1(ke.dot);)e.removeToken(),e.removeToken()}const jWe={typeDeclarations:new Set,valueDeclarations:new Set};function YWe(e){const t=new Set,r=new Set;for(let n=0;n<e.tokens.length;n++){const o=e.tokens[n];o.type===ke.name&&EYe(o)&&(o.isType?t.add(e.identifierNameForToken(o)):r.add(e.identifierNameForToken(o)))}return{typeDeclarations:t,valueDeclarations:r}}function WWe(e){let t=e.currentIndex();for(;!e.matches1AtIndex(t,ke.braceR);)t++;return e.matchesContextualAtIndex(t+1,yn._from)&&e.matches1AtIndex(t+2,ke.string)}function o4(e){(e.matches2(ke._with,ke.braceL)||e.matches2(ke.name,ke.braceL)&&e.matchesContextual(yn._assert))&&(e.removeToken(),e.removeToken(),e.removeBalancedCode(),e.removeToken())}function KWe(e,t,r,n){if(!e||t)return!1;const o=r.currentToken();if(o.rhsEndIndex==null)throw new Error("Expected non-null rhsEndIndex on export token.");const m=o.rhsEndIndex-r.currentIndex();if(m!==3&&!(m===4&&r.matches1AtIndex(o.rhsEndIndex-1,ke.semi)))return!1;const u=r.tokenAtRelativeIndex(2);if(u.type!==ke.name)return!1;const h=r.identifierNameForToken(u);return n.typeDeclarations.has(h)&&!n.valueDeclarations.has(h)}class KM extends W1{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(t,r,n,o,m,u,h,a,l,v,i,S){super(),this.rootTransformer=t,this.tokens=r,this.importProcessor=n,this.nameManager=o,this.helperManager=m,this.reactHotLoaderTransformer=u,this.enableLegacyBabel5ModuleInterop=h,this.enableLegacyTypeScriptModuleInterop=a,this.isTypeScriptTransformEnabled=l,this.isFlowTransformEnabled=v,this.preserveDynamicImport=i,this.keepUnusedImports=S,KM.prototype.__init.call(this),KM.prototype.__init2.call(this),KM.prototype.__init3.call(this),this.declarationInfo=l?YWe(r):jWe}getPrefixCode(){let t="";return this.hadExport&&(t+='Object.defineProperty(exports, "__esModule", {value: true});'),t}getSuffixCode(){return this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport?`
module.exports = exports.default;
`:""}process(){return this.tokens.matches3(ke._import,ke.name,ke.eq)?this.processImportEquals():this.tokens.matches1(ke._import)?(this.processImport(),!0):this.tokens.matches2(ke._export,ke.eq)?(this.tokens.replaceToken("module.exports"),!0):this.tokens.matches1(ke._export)&&!this.tokens.currentToken().isType?(this.hadExport=!0,this.processExport()):this.tokens.matches2(ke.name,ke.postIncDec)&&this.processPostIncDec()?!0:this.tokens.matches1(ke.name)||this.tokens.matches1(ke.jsxName)?this.processIdentifier():this.tokens.matches1(ke.eq)?this.processAssignment():this.tokens.matches1(ke.assign)?this.processComplexAssignment():this.tokens.matches1(ke.preIncDec)?this.processPreIncDec():!1}processImportEquals(){const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.importProcessor.shouldAutomaticallyElideImportedName(t)?GWe(this.tokens):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(ke._import,ke.parenL)){if(this.preserveDynamicImport){this.tokens.copyToken();return}const r=this.enableLegacyTypeScriptModuleInterop?"":`${this.helperManager.getHelperName("interopRequireWildcard")}(`;this.tokens.replaceToken(`Promise.resolve().then(() => ${r}require`);const n=this.tokens.currentToken().contextId;if(n==null)throw new Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(ke.parenR,n);)this.rootTransformer.processToken();this.tokens.replaceToken(r?")))":"))");return}if(this.removeImportAndDetectIfShouldElide())this.tokens.removeToken();else{const r=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(r)),this.tokens.appendCode(this.importProcessor.claimImportCode(r))}o4(this.tokens),this.tokens.matches1(ke.semi)&&this.tokens.removeToken()}removeImportAndDetectIfShouldElide(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(yn._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,ke.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,yn._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(ke.name)||this.tokens.matches1(ke.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(ke.string))return!1;let t=!1,r=!1;for(;!this.tokens.matches1(ke.string);)(!t&&this.tokens.matches1(ke.braceL)||this.tokens.matches1(ke.comma))&&(this.tokens.removeToken(),this.tokens.matches1(ke.braceR)||(r=!0),(this.tokens.matches2(ke.name,ke.comma)||this.tokens.matches2(ke.name,ke.braceR)||this.tokens.matches4(ke.name,ke.name,ke.name,ke.comma)||this.tokens.matches4(ke.name,ke.name,ke.name,ke.braceR))&&(t=!0)),this.tokens.removeToken();return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!t:this.isFlowTransformEnabled?r&&!t:!1}removeRemainingImport(){for(;!this.tokens.matches1(ke.string);)this.tokens.removeToken()}processIdentifier(){const t=this.tokens.currentToken();if(t.shadowsGlobal)return!1;if(t.identifierRole===ao.ObjectShorthand)return this.processObjectShorthand();if(t.identifierRole!==ao.Access)return!1;const r=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(t));if(!r)return!1;let n=this.tokens.currentIndex()+1;for(;n<this.tokens.tokens.length&&this.tokens.tokens[n].type===ke.parenR;)n++;return this.tokens.tokens[n].type===ke.parenL?this.tokens.tokenAtRelativeIndex(1).type===ke.parenL&&this.tokens.tokenAtRelativeIndex(-1).type!==ke._new?(this.tokens.replaceToken(`${r}.call(void 0, `),this.tokens.removeToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(ke.parenR)):this.tokens.replaceToken(`(0, ${r})`):this.tokens.replaceToken(r),!0}processObjectShorthand(){const t=this.tokens.identifierName(),r=this.importProcessor.getIdentifierReplacement(t);return r?(this.tokens.replaceToken(`${t}: ${r}`),!0):!1}processExport(){if(this.tokens.matches2(ke._export,ke._enum)||this.tokens.matches3(ke._export,ke._const,ke._enum))return this.hadNamedExport=!0,!1;if(this.tokens.matches2(ke._export,ke._default))return this.tokens.matches3(ke._export,ke._default,ke._enum)?(this.hadDefaultExport=!0,!1):(this.processExportDefault(),!0);if(this.tokens.matches2(ke._export,ke.braceL))return this.processExportBindings(),!0;if(this.tokens.matches2(ke._export,ke.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,yn._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(ke.braceL)){for(;!this.tokens.matches1(ke.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(ke._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(yn._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,ke.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),o4(this.tokens)),!0}if(this.hadNamedExport=!0,this.tokens.matches2(ke._export,ke._var)||this.tokens.matches2(ke._export,ke._let)||this.tokens.matches2(ke._export,ke._const))return this.processExportVar(),!0;if(this.tokens.matches2(ke._export,ke._function)||this.tokens.matches3(ke._export,ke.name,ke._function))return this.processExportFunction(),!0;if(this.tokens.matches2(ke._export,ke._class)||this.tokens.matches3(ke._export,ke._abstract,ke._class)||this.tokens.matches2(ke._export,ke.at))return this.processExportClass(),!0;if(this.tokens.matches2(ke._export,ke.star))return this.processExportStar(),!0;throw new Error("Unrecognized export syntax.")}processAssignment(){const t=this.tokens.currentIndex(),r=this.tokens.tokens[t-1];if(r.isType||r.type!==ke.name||r.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,ke.dot)||t>=2&&[ke._var,ke._let,ke._const].includes(this.tokens.tokens[t-2].type))return!1;const n=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(r));return n?(this.tokens.copyToken(),this.tokens.appendCode(` ${n} =`),!0):!1}processComplexAssignment(){const t=this.tokens.currentIndex(),r=this.tokens.tokens[t-1];if(r.type!==ke.name||r.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,ke.dot))return!1;const n=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(r));return n?(this.tokens.appendCode(` = ${n}`),this.tokens.copyToken(),!0):!1}processPreIncDec(){const t=this.tokens.currentIndex(),r=this.tokens.tokens[t+1];if(r.type!==ke.name||r.shadowsGlobal||t+2<this.tokens.tokens.length&&(this.tokens.matches1AtIndex(t+2,ke.dot)||this.tokens.matches1AtIndex(t+2,ke.bracketL)||this.tokens.matches1AtIndex(t+2,ke.parenL)))return!1;const n=this.tokens.identifierNameForToken(r),o=this.importProcessor.resolveExportBinding(n);return o?(this.tokens.appendCode(`${o} = `),this.tokens.copyToken(),!0):!1}processPostIncDec(){const t=this.tokens.currentIndex(),r=this.tokens.tokens[t],n=this.tokens.tokens[t+1];if(r.type!==ke.name||r.shadowsGlobal||t>=1&&this.tokens.matches1AtIndex(t-1,ke.dot))return!1;const o=this.tokens.identifierNameForToken(r),m=this.importProcessor.resolveExportBinding(o);if(!m)return!1;const u=this.tokens.rawCodeForToken(n),h=this.importProcessor.getIdentifierReplacement(o)||o;if(u==="++")this.tokens.replaceToken(`(${h} = ${m} = ${h} + 1, ${h} - 1)`);else if(u==="--")this.tokens.replaceToken(`(${h} = ${m} = ${h} - 1, ${h} + 1)`);else throw new Error(`Unexpected operator: ${u}`);return this.tokens.removeToken(),!0}processExportDefault(){let t=!0;if(this.tokens.matches4(ke._export,ke._default,ke._function,ke.name)||this.tokens.matches5(ke._export,ke._default,ke.name,ke._function,ke.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,yn._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();const r=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${r};`)}else if(this.tokens.matches4(ke._export,ke._default,ke._class,ke.name)||this.tokens.matches5(ke._export,ke._default,ke._abstract,ke._class,ke.name)||this.tokens.matches3(ke._export,ke._default,ke.at)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(ke._abstract)&&this.tokens.removeToken();const r=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${r};`)}else if(KWe(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))t=!1,this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){const r=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${r}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${r} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(r)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =");t&&(this.hadDefaultExport=!0)}copyDecorators(){for(;this.tokens.matches1(ke.at);)if(this.tokens.copyToken(),this.tokens.matches1(ke.parenL))this.tokens.copyExpectedToken(ke.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(ke.parenR);else{for(this.tokens.copyExpectedToken(ke.name);this.tokens.matches1(ke.dot);)this.tokens.copyExpectedToken(ke.dot),this.tokens.copyExpectedToken(ke.name);this.tokens.matches1(ke.parenL)&&(this.tokens.copyExpectedToken(ke.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(ke.parenR))}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let t=this.tokens.currentIndex();if(t++,t++,!this.tokens.matches1AtIndex(t,ke.name))return!1;for(t++;t<this.tokens.tokens.length&&this.tokens.tokens[t].isType;)t++;return!!this.tokens.matches1AtIndex(t,ke.eq)}processSimpleExportVar(){this.tokens.removeInitialToken(),this.tokens.copyToken();const t=this.tokens.identifierName();for(;!this.tokens.matches1(ke.eq);)this.rootTransformer.processToken();const r=this.tokens.currentToken().rhsEndIndex;if(r==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<r;)this.rootTransformer.processToken();this.tokens.appendCode(`; exports.${t} = ${t}`)}processComplexExportVar(){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=this.tokens.matches1(ke.braceL);t&&this.tokens.appendCode("(");let r=0;for(;;)if(this.tokens.matches1(ke.braceL)||this.tokens.matches1(ke.dollarBraceL)||this.tokens.matches1(ke.bracketL))r++,this.tokens.copyToken();else if(this.tokens.matches1(ke.braceR)||this.tokens.matches1(ke.bracketR))r--,this.tokens.copyToken();else{if(r===0&&!this.tokens.matches1(ke.name)&&!this.tokens.currentToken().isType)break;if(this.tokens.matches1(ke.eq)){const n=this.tokens.currentToken().rhsEndIndex;if(n==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<n;)this.rootTransformer.processToken()}else{const n=this.tokens.currentToken();if(bYe(n)){const o=this.tokens.identifierName();let m=this.importProcessor.getIdentifierReplacement(o);if(m===null)throw new Error(`Expected a replacement for ${o} in \`export var\` syntax.`);IGt(n)&&(m=`${o}: ${m}`),this.tokens.replaceToken(m)}else this.rootTransformer.processToken()}}if(t){const n=this.tokens.currentToken().rhsEndIndex;if(n==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<n;)this.rootTransformer.processToken();this.tokens.appendCode(")")}}processExportFunction(){this.tokens.replaceToken("");const t=this.processNamedFunction();this.tokens.appendCode(` exports.${t} = ${t};`)}processNamedFunction(){if(this.tokens.matches1(ke._function))this.tokens.copyToken();else if(this.tokens.matches2(ke.name,ke._function)){if(!this.tokens.matchesContextual(yn._async))throw new Error("Expected async keyword in function export.");this.tokens.copyToken(),this.tokens.copyToken()}if(this.tokens.matches1(ke.star)&&this.tokens.copyToken(),!this.tokens.matches1(ke.name))throw new Error("Expected identifier for exported function name.");const t=this.tokens.identifierName();if(this.tokens.copyToken(),this.tokens.currentToken().isType)for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return this.tokens.copyExpectedToken(ke.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(ke.parenR),this.rootTransformer.processPossibleTypeRange(),this.tokens.copyExpectedToken(ke.braceL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(ke.braceR),t}processExportClass(){this.tokens.removeInitialToken(),this.copyDecorators(),this.tokens.matches1(ke._abstract)&&this.tokens.removeToken();const t=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.${t} = ${t};`)}processExportBindings(){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=WWe(this.tokens),r=[];for(;;){if(this.tokens.matches1(ke.braceR)){this.tokens.removeToken();break}const n=DM(this.tokens);for(;this.tokens.currentIndex()<n.endIndex;)this.tokens.removeToken();if(!(n.isType||!t&&this.shouldElideExportedIdentifier(n.leftName))){const m=n.rightName;m==="default"?this.hadDefaultExport=!0:this.hadNamedExport=!0;const u=n.leftName,h=this.importProcessor.getIdentifierReplacement(u);r.push(`exports.${m} = ${h||u};`)}if(this.tokens.matches1(ke.braceR)){this.tokens.removeToken();break}if(this.tokens.matches2(ke.comma,ke.braceR)){this.tokens.removeToken(),this.tokens.removeToken();break}else if(this.tokens.matches1(ke.comma))this.tokens.removeToken();else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.currentToken())}`)}if(this.tokens.matchesContextual(yn._from)){this.tokens.removeToken();const n=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(n)),o4(this.tokens)}else this.tokens.appendCode(r.join(" "));this.tokens.matches1(ke.semi)&&this.tokens.removeToken()}processExportStar(){for(this.tokens.removeInitialToken();!this.tokens.matches1(ke.string);)this.tokens.removeToken();const t=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(t)),o4(this.tokens),this.tokens.matches1(ke.semi)&&this.tokens.removeToken()}shouldElideExportedIdentifier(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.declarationInfo.valueDeclarations.has(t)}}class VKt extends W1{constructor(t,r,n,o,m,u,h,a){super(),this.tokens=t,this.nameManager=r,this.helperManager=n,this.reactHotLoaderTransformer=o,this.isTypeScriptTransformEnabled=m,this.isFlowTransformEnabled=u,this.keepUnusedImports=h,this.nonTypeIdentifiers=m&&!h?BYe(t,a):new Set,this.declarationInfo=m&&!h?YWe(t):jWe,this.injectCreateRequireForImportRequire=!!a.injectCreateRequireForImportRequire}process(){if(this.tokens.matches3(ke._import,ke.name,ke.eq))return this.processImportEquals();if(this.tokens.matches4(ke._import,ke.name,ke.name,ke.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,yn._type)){this.tokens.removeInitialToken();for(let t=0;t<7;t++)this.tokens.removeToken();return!0}if(this.tokens.matches2(ke._export,ke.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches5(ke._export,ke._import,ke.name,ke.name,ke.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,yn._type)){this.tokens.removeInitialToken();for(let t=0;t<8;t++)this.tokens.removeToken();return!0}if(this.tokens.matches1(ke._import))return this.processImport();if(this.tokens.matches2(ke._export,ke._default))return this.processExportDefault();if(this.tokens.matches2(ke._export,ke.braceL))return this.processNamedExports();if(this.tokens.matches2(ke._export,ke.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,yn._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(ke.braceL)){for(;!this.tokens.matches1(ke.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(ke._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(yn._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,ke.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),o4(this.tokens)),!0}return!1}processImportEquals(){const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.shouldAutomaticallyElideImportedName(t)?GWe(this.tokens):this.injectCreateRequireForImportRequire?(this.tokens.replaceToken("const"),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.replaceToken(this.helperManager.getHelperName("require"))):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(ke._import,ke.parenL))return!1;const t=this.tokens.snapshot();if(this.removeImportTypeBindings()){for(this.tokens.restoreToSnapshot(t);!this.tokens.matches1(ke.string);)this.tokens.removeToken();this.tokens.removeToken(),o4(this.tokens),this.tokens.matches1(ke.semi)&&this.tokens.removeToken()}return!0}removeImportTypeBindings(){if(this.tokens.copyExpectedToken(ke._import),this.tokens.matchesContextual(yn._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,ke.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,yn._from))return!0;if(this.tokens.matches1(ke.string))return this.tokens.copyToken(),!1;this.tokens.matchesContextual(yn._module)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,yn._from)&&this.tokens.copyToken();let t=!1,r=!1,n=!1;if(this.tokens.matches1(ke.name)&&(this.shouldAutomaticallyElideImportedName(this.tokens.identifierName())?(this.tokens.removeToken(),this.tokens.matches1(ke.comma)&&this.tokens.removeToken()):(t=!0,this.tokens.copyToken(),this.tokens.matches1(ke.comma)&&(n=!0,this.tokens.removeToken()))),this.tokens.matches1(ke.star))this.shouldAutomaticallyElideImportedName(this.tokens.identifierNameAtRelativeIndex(2))?(this.tokens.removeToken(),this.tokens.removeToken(),this.tokens.removeToken()):(n&&this.tokens.appendCode(","),t=!0,this.tokens.copyExpectedToken(ke.star),this.tokens.copyExpectedToken(ke.name),this.tokens.copyExpectedToken(ke.name));else if(this.tokens.matches1(ke.braceL)){for(n&&this.tokens.appendCode(","),this.tokens.copyToken();!this.tokens.matches1(ke.braceR);){r=!0;const o=DM(this.tokens);if(o.isType||this.shouldAutomaticallyElideImportedName(o.rightName)){for(;this.tokens.currentIndex()<o.endIndex;)this.tokens.removeToken();this.tokens.matches1(ke.comma)&&this.tokens.removeToken()}else{for(t=!0;this.tokens.currentIndex()<o.endIndex;)this.tokens.copyToken();this.tokens.matches1(ke.comma)&&this.tokens.copyToken()}}this.tokens.copyExpectedToken(ke.braceR)}return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!t:this.isFlowTransformEnabled?r&&!t:!1}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}processExportDefault(){if(KWe(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))return this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken(),!0;if(!(this.tokens.matches4(ke._export,ke._default,ke._function,ke.name)||this.tokens.matches5(ke._export,ke._default,ke.name,ke._function,ke.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,yn._async)||this.tokens.matches4(ke._export,ke._default,ke._class,ke.name)||this.tokens.matches5(ke._export,ke._default,ke._abstract,ke._class,ke.name))&&this.reactHotLoaderTransformer){const r=this.nameManager.claimFreeName("_default");return this.tokens.replaceToken(`let ${r}; export`),this.tokens.copyToken(),this.tokens.appendCode(` ${r} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(r),!0}return!1}processNamedExports(){if(!this.isTypeScriptTransformEnabled)return!1;this.tokens.copyExpectedToken(ke._export),this.tokens.copyExpectedToken(ke.braceL);const t=WWe(this.tokens);let r=!1;for(;!this.tokens.matches1(ke.braceR);){const n=DM(this.tokens);if(n.isType||!t&&this.shouldElideExportedName(n.leftName)){for(;this.tokens.currentIndex()<n.endIndex;)this.tokens.removeToken();this.tokens.matches1(ke.comma)&&this.tokens.removeToken()}else{for(r=!0;this.tokens.currentIndex()<n.endIndex;)this.tokens.copyToken();this.tokens.matches1(ke.comma)&&this.tokens.copyToken()}}return this.tokens.copyExpectedToken(ke.braceR),!this.keepUnusedImports&&t&&!r&&(this.tokens.removeToken(),this.tokens.removeToken(),o4(this.tokens)),!0}shouldElideExportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&this.declarationInfo.typeDeclarations.has(t)&&!this.declarationInfo.valueDeclarations.has(t)}}class GKt extends W1{constructor(t,r,n){super(),this.rootTransformer=t,this.tokens=r,this.isImportsTransformEnabled=n}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(ke._enum)?(this.processEnum(),!0):this.tokens.matches2(ke._export,ke._enum)?(this.processNamedExportEnum(),!0):this.tokens.matches3(ke._export,ke._default,ke._enum)?(this.processDefaultExportEnum(),!0):!1}processNamedExportEnum(){if(this.isImportsTransformEnabled){this.tokens.removeInitialToken();const t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.tokens.appendCode(` exports.${t} = ${t};`)}else this.tokens.copyToken(),this.processEnum()}processDefaultExportEnum(){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.isImportsTransformEnabled?this.tokens.appendCode(` exports.default = ${t};`):this.tokens.appendCode(` export default ${t};`)}processEnum(){this.tokens.replaceToken("const"),this.tokens.copyExpectedToken(ke.name);let t=!1;this.tokens.matchesContextual(yn._of)&&(this.tokens.removeToken(),t=this.tokens.matchesContextual(yn._symbol),this.tokens.removeToken());const r=this.tokens.matches3(ke.braceL,ke.name,ke.eq);this.tokens.appendCode(' = require("flow-enums-runtime")');const n=!t&&!r;for(this.tokens.replaceTokenTrimmingLeftWhitespace(n?".Mirrored([":"({");!this.tokens.matches1(ke.braceR);){if(this.tokens.matches1(ke.ellipsis)){this.tokens.removeToken();break}this.processEnumElement(t,r),this.tokens.matches1(ke.comma)&&this.tokens.copyToken()}this.tokens.replaceToken(n?"]);":"});")}processEnumElement(t,r){if(t){const n=this.tokens.identifierName();this.tokens.copyToken(),this.tokens.appendCode(`: Symbol("${n}")`)}else r?(this.tokens.copyToken(),this.tokens.replaceTokenTrimmingLeftWhitespace(":"),this.tokens.copyToken()):this.tokens.replaceToken(`"${this.tokens.identifierName()}"`)}}function jKt(e){let t,r=e[0],n=1;for(;n<e.length;){const o=e[n],m=e[n+1];if(n+=2,(o==="optionalAccess"||o==="optionalCall")&&r==null)return;o==="access"||o==="optionalAccess"?(t=r,r=m(r)):(o==="call"||o==="optionalCall")&&(r=m((...u)=>r.call(t,...u)),t=void 0)}return r}const Goe="jest",YKt=["mock","unmock","enableAutomock","disableAutomock"];class ybe extends W1{__init(){this.hoistedFunctionNames=[]}constructor(t,r,n,o){super(),this.rootTransformer=t,this.tokens=r,this.nameManager=n,this.importProcessor=o,ybe.prototype.__init.call(this)}process(){return this.tokens.currentToken().scopeDepth===0&&this.tokens.matches4(ke.name,ke.dot,ke.name,ke.parenL)&&this.tokens.identifierName()===Goe?jKt([this,"access",t=>t.importProcessor,"optionalAccess",t=>t.getGlobalNames,"call",t=>t(),"optionalAccess",t=>t.has,"call",t=>t(Goe)])?!1:this.extractHoistedCalls():!1}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map(t=>`${t}();`).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let t=!1;for(;this.tokens.matches3(ke.dot,ke.name,ke.parenL);){const r=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(YKt.includes(r)){const o=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(o),this.tokens.replaceToken(`function ${o}(){${Goe}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(ke.parenR),this.tokens.appendCode(";}"),t=!1}else t?this.tokens.copyToken():this.tokens.replaceToken(`${Goe}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(ke.parenR),t=!0}return!0}}class WKt extends W1{constructor(t){super(),this.tokens=t}process(){if(this.tokens.matches1(ke.num)){const t=this.tokens.currentTokenCode();if(t.includes("_"))return this.tokens.replaceToken(t.replace(/_/g,"")),!0}return!1}}class KKt extends W1{constructor(t,r){super(),this.tokens=t,this.nameManager=r}process(){return this.tokens.matches2(ke._catch,ke.braceL)?(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0):!1}}class XKt extends W1{constructor(t,r){super(),this.tokens=t,this.nameManager=r}process(){if(this.tokens.matches1(ke.nullishCoalescing)){const n=this.tokens.currentToken();return this.tokens.tokens[n.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1(ke._delete)&&this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0;const r=this.tokens.currentToken().subscriptStartIndex;if(r!=null&&this.tokens.tokens[r].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==ke._super){const n=this.nameManager.claimFreeName("_");let o;if(r>0&&this.tokens.matches1AtIndex(r-1,ke._delete)&&this.isLastSubscriptInChain()?o=`${n} => delete ${n}`:o=`${n} => ${n}`,this.tokens.tokens[r].isAsyncOperation&&(o=`async ${o}`),this.tokens.matches2(ke.questionDot,ke.parenL)||this.tokens.matches2(ke.questionDot,ke.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${o}`);else if(this.tokens.matches2(ke.questionDot,ke.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${o}`);else if(this.tokens.matches1(ke.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${o}.`);else if(this.tokens.matches1(ke.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${o}.`);else if(this.tokens.matches1(ke.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${o}[`);else if(this.tokens.matches1(ke.parenL))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${o}(`);else throw new Error("Unexpected subscript operator in optional chain.");return!0}return!1}isLastSubscriptInChain(){let t=0;for(let r=this.tokens.currentIndex()+1;;r++){if(r>=this.tokens.tokens.length)throw new Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[r].isOptionalChainStart?t++:this.tokens.tokens[r].isOptionalChainEnd&&t--,t<0)return!0;if(t===0&&this.tokens.tokens[r].subscriptStartIndex!=null)return!1}}justSkippedSuper(){let t=0,r=this.tokens.currentIndex()-1;for(;;){if(r<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[r].isOptionalChainStart?t--:this.tokens.tokens[r].isOptionalChainEnd&&t++,t<0)return!1;if(t===0&&this.tokens.tokens[r].subscriptStartIndex!=null)return this.tokens.tokens[r-1].type===ke._super;r--}}}class qKt extends W1{constructor(t,r,n,o){super(),this.rootTransformer=t,this.tokens=r,this.importProcessor=n,this.options=o}process(){const t=this.tokens.currentIndex();if(this.tokens.identifierName()==="createReactClass"){const r=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return r?this.tokens.replaceToken(`(0, ${r})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(t),!0}if(this.tokens.matches3(ke.name,ke.dot,ke.name)&&this.tokens.identifierName()==="React"&&this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)==="createClass"){const r=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return r?(this.tokens.replaceToken(r),this.tokens.copyToken(),this.tokens.copyToken()):(this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken()),this.tryProcessCreateClassCall(t),!0}return!1}tryProcessCreateClassCall(t){const r=this.findDisplayName(t);r&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(ke.parenL),this.tokens.copyExpectedToken(ke.braceL),this.tokens.appendCode(`displayName: '${r}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(ke.braceR),this.tokens.copyExpectedToken(ke.parenR))}findDisplayName(t){return t<2?null:this.tokens.matches2AtIndex(t-2,ke.name,ke.eq)?this.tokens.identifierNameAtIndex(t-2):t>=2&&this.tokens.tokens[t-2].identifierRole===ao.ObjectKey?this.tokens.identifierNameAtIndex(t-2):this.tokens.matches2AtIndex(t-2,ke._export,ke._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){const r=(this.options.filePath||"unknown").split("/"),n=r[r.length-1],o=n.lastIndexOf("."),m=o===-1?n:n.slice(0,o);return m==="index"&&r[r.length-2]?r[r.length-2]:m}classNeedsDisplayName(){let t=this.tokens.currentIndex();if(!this.tokens.matches2(ke.parenL,ke.braceL))return!1;const r=t+1,n=this.tokens.tokens[r].contextId;if(n==null)throw new Error("Expected non-null context ID on object open-brace.");for(;t<this.tokens.tokens.length;t++){const o=this.tokens.tokens[t];if(o.type===ke.braceR&&o.contextId===n){t++;break}if(this.tokens.identifierNameAtIndex(t)==="displayName"&&this.tokens.tokens[t].identifierRole===ao.ObjectKey&&o.contextId===n)return!1}if(t===this.tokens.tokens.length)throw new Error("Unexpected end of input when processing React class.");return this.tokens.matches1AtIndex(t,ke.parenR)||this.tokens.matches2AtIndex(t,ke.comma,ke.parenR)}}class _be extends W1{__init(){this.extractedDefaultExportName=null}constructor(t,r){super(),this.tokens=t,this.filePath=r,_be.prototype.__init.call(this)}setExtractedDefaultExportName(t){this.extractedDefaultExportName=t}getPrefixCode(){return`
(function () {
var enterModule = require('react-hot-loader').enterModule;
enterModule && enterModule(module);
})();`.replace(/\s+/g," ").trim()}getSuffixCode(){const t=new Set;for(const n of this.tokens.tokens)!n.isType&&EYe(n)&&n.identifierRole!==ao.ImportDeclaration&&t.add(this.tokens.identifierNameForToken(n));const r=Array.from(t).map(n=>({variableName:n,uniqueLocalName:n}));return this.extractedDefaultExportName&&r.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),`
;(function () {
var reactHotLoader = require('react-hot-loader').default;
var leaveModule = require('react-hot-loader').leaveModule;
if (!reactHotLoader) {
return;
}
${r.map(({variableName:n,uniqueLocalName:o})=>` reactHotLoader.register(${n}, "${o}", ${JSON.stringify(this.filePath||"")});`).join(`
`)}
leaveModule(module);
})();`}process(){return!1}}const ZKt=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","enum","implements","interface","let","package","private","protected","public","static","await","false","null","true"]);function XWe(e){if(e.length===0||!LM[e.charCodeAt(0)])return!1;for(let t=1;t<e.length;t++)if(!j1[e.charCodeAt(t)])return!1;return!ZKt.has(e)}class QKt extends W1{constructor(t,r,n){super(),this.rootTransformer=t,this.tokens=r,this.isImportsTransformEnabled=n}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(ke._public)||this.tokens.matches1(ke._protected)||this.tokens.matches1(ke._private)||this.tokens.matches1(ke._abstract)||this.tokens.matches1(ke._readonly)||this.tokens.matches1(ke._override)||this.tokens.matches1(ke.nonNullAssertion)?(this.tokens.removeInitialToken(),!0):this.tokens.matches1(ke._enum)||this.tokens.matches2(ke._const,ke._enum)?(this.processEnum(),!0):this.tokens.matches2(ke._export,ke._enum)||this.tokens.matches3(ke._export,ke._const,ke._enum)?(this.processEnum(!0),!0):!1}processEnum(t=!1){for(this.tokens.removeInitialToken();this.tokens.matches1(ke._const)||this.tokens.matches1(ke._enum);)this.tokens.removeToken();const r=this.tokens.identifierName();this.tokens.removeToken(),t&&!this.isImportsTransformEnabled&&this.tokens.appendCode("export "),this.tokens.appendCode(`var ${r}; (function (${r})`),this.tokens.copyExpectedToken(ke.braceL),this.processEnumBody(r),this.tokens.copyExpectedToken(ke.braceR),t&&this.isImportsTransformEnabled?this.tokens.appendCode(`)(${r} || (exports.${r} = ${r} = {}));`):this.tokens.appendCode(`)(${r} || (${r} = {}));`)}processEnumBody(t){let r=null;for(;!this.tokens.matches1(ke.braceR);){const{nameStringCode:n,variableName:o}=this.extractEnumKeyInfo(this.tokens.currentToken());this.tokens.removeInitialToken(),this.tokens.matches3(ke.eq,ke.string,ke.comma)||this.tokens.matches3(ke.eq,ke.string,ke.braceR)?this.processStringLiteralEnumMember(t,n,o):this.tokens.matches1(ke.eq)?this.processExplicitValueEnumMember(t,n,o):this.processImplicitValueEnumMember(t,n,o,r),this.tokens.matches1(ke.comma)&&this.tokens.removeToken(),o!=null?r=o:r=`${t}[${n}]`}}extractEnumKeyInfo(t){if(t.type===ke.name){const r=this.tokens.identifierNameForToken(t);return{nameStringCode:`"${r}"`,variableName:XWe(r)?r:null}}else if(t.type===ke.string){const r=this.tokens.stringValueForToken(t);return{nameStringCode:this.tokens.code.slice(t.start,t.end),variableName:XWe(r)?r:null}}else throw new Error("Expected name or string at beginning of enum element.")}processStringLiteralEnumMember(t,r,n){n!=null?(this.tokens.appendCode(`const ${n}`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(`; ${t}[${r}] = ${n};`)):(this.tokens.appendCode(`${t}[${r}]`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(";"))}processExplicitValueEnumMember(t,r,n){const o=this.tokens.currentToken().rhsEndIndex;if(o==null)throw new Error("Expected rhsEndIndex on enum assign.");if(n!=null){for(this.tokens.appendCode(`const ${n}`),this.tokens.copyToken();this.tokens.currentIndex()<o;)this.rootTransformer.processToken();this.tokens.appendCode(`; ${t}[${t}[${r}] = ${n}] = ${r};`)}else{for(this.tokens.appendCode(`${t}[${t}[${r}]`),this.tokens.copyToken();this.tokens.currentIndex()<o;)this.rootTransformer.processToken();this.tokens.appendCode(`] = ${r};`)}}processImplicitValueEnumMember(t,r,n,o){let m=o!=null?`${o} + 1`:"0";n!=null&&(this.tokens.appendCode(`const ${n} = ${m}; `),m=n),this.tokens.appendCode(`${t}[${t}[${r}] = ${m}] = ${r};`)}}class joe{__init(){this.transformers=[]}__init2(){this.generatedVariables=[]}constructor(t,r,n,o){joe.prototype.__init.call(this),joe.prototype.__init2.call(this),this.nameManager=t.nameManager,this.helperManager=t.helperManager;const{tokenProcessor:m,importProcessor:u}=t;this.tokens=m,this.isImportsTransformEnabled=r.includes("imports"),this.isReactHotLoaderTransformEnabled=r.includes("react-hot-loader"),this.disableESTransforms=!!o.disableESTransforms,o.disableESTransforms||(this.transformers.push(new XKt(m,this.nameManager)),this.transformers.push(new WKt(m)),this.transformers.push(new KKt(m,this.nameManager))),r.includes("jsx")&&(o.jsxRuntime!=="preserve"&&this.transformers.push(new JS(this,m,u,this.nameManager,o)),this.transformers.push(new qKt(this,m,u,o)));let h=null;if(r.includes("react-hot-loader")){if(!o.filePath)throw new Error("filePath is required when using the react-hot-loader transform.");h=new _be(m,o.filePath),this.transformers.push(h)}if(r.includes("imports")){if(u===null)throw new Error("Expected non-null importProcessor with imports transform enabled.");this.transformers.push(new KM(this,m,u,this.nameManager,this.helperManager,h,n,!!o.enableLegacyTypeScriptModuleInterop,r.includes("typescript"),r.includes("flow"),!!o.preserveDynamicImport,!!o.keepUnusedImports))}else this.transformers.push(new VKt(m,this.nameManager,this.helperManager,h,r.includes("typescript"),r.includes("flow"),!!o.keepUnusedImports,o));r.includes("flow")&&this.transformers.push(new GKt(this,m,r.includes("imports"))),r.includes("typescript")&&this.transformers.push(new QKt(this,m,r.includes("imports"))),r.includes("jest")&&this.transformers.push(new ybe(this,m,this.nameManager,u))}transform(){this.tokens.reset(),this.processBalancedCode();let r=this.isImportsTransformEnabled?'"use strict";':"";for(const u of this.transformers)r+=u.getPrefixCode();r+=this.helperManager.emitHelpers(),r+=this.generatedVariables.map(u=>` var ${u};`).join("");for(const u of this.transformers)r+=u.getHoistedCode();let n="";for(const u of this.transformers)n+=u.getSuffixCode();const o=this.tokens.finish();let{code:m}=o;if(m.startsWith("#!")){let u=m.indexOf(`
`);return u===-1&&(u=m.length,m+=`
`),{code:m.slice(0,u+1)+r+m.slice(u+1)+n,mappings:this.shiftMappings(o.mappings,r.length)}}else return{code:r+m+n,mappings:this.shiftMappings(o.mappings,r.length)}}processBalancedCode(){let t=0,r=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(ke.braceL)||this.tokens.matches1(ke.dollarBraceL))t++;else if(this.tokens.matches1(ke.braceR)){if(t===0)return;t--}if(this.tokens.matches1(ke.parenL))r++;else if(this.tokens.matches1(ke.parenR)){if(r===0)return;r--}this.processToken()}}processToken(){if(this.tokens.matches1(ke._class)){this.processClass();return}for(const t of this.transformers)if(t.process())return;this.tokens.copyToken()}processNamedClass(){if(!this.tokens.matches2(ke._class,ke.name))throw new Error("Expected identifier for exported class name.");const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),t}processClass(){const t=UKt(this,this.tokens,this.nameManager,this.disableESTransforms),r=(t.headerInfo.isExpression||!t.headerInfo.className)&&t.staticInitializerNames.length+t.instanceInitializerNames.length>0;let n=t.headerInfo.className;r&&(n=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(n),this.tokens.appendCode(` (${n} =`));const m=this.tokens.currentToken().contextId;if(m==null)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(ke._class);!this.tokens.matchesContextIdAndLabel(ke.braceL,m);)this.processToken();this.processClassBody(t,n);const u=t.staticInitializerNames.map(h=>`${n}.${h}()`);r?this.tokens.appendCode(`, ${u.map(h=>`${h}, `).join("")}${n})`):t.staticInitializerNames.length>0&&this.tokens.appendCode(` ${u.map(h=>`${h};`).join(" ")}`)}processClassBody(t,r){const{headerInfo:n,constructorInsertPos:o,constructorInitializerStatements:m,fields:u,instanceInitializerNames:h,rangesToRemove:a}=t;let l=0,v=0;const i=this.tokens.currentToken().contextId;if(i==null)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(ke.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");const S=m.length+h.length>0;if(o===null&&S){const g=this.makeConstructorInitCode(m,h,r);if(n.hasSuperclass){const p=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${p}) { super(...${p}); ${g}; }`)}else this.tokens.appendCode(`constructor() { ${g}; }`)}for(;!this.tokens.matchesContextIdAndLabel(ke.braceR,i);)if(l<u.length&&this.tokens.currentIndex()===u[l].start){let g=!1;for(this.tokens.matches1(ke.bracketL)?this.tokens.copyTokenWithPrefix(`${u[l].initializerName}() {this`):this.tokens.matches1(ke.string)||this.tokens.matches1(ke.num)?(this.tokens.copyTokenWithPrefix(`${u[l].initializerName}() {this[`),g=!0):this.tokens.copyTokenWithPrefix(`${u[l].initializerName}() {this.`);this.tokens.currentIndex()<u[l].end;)g&&this.tokens.currentIndex()===u[l].equalsIndex&&this.tokens.appendCode("]"),this.processToken();this.tokens.appendCode("}"),l++}else if(v<a.length&&this.tokens.currentIndex()>=a[v].start){for(this.tokens.currentIndex()<a[v].end&&this.tokens.removeInitialToken();this.tokens.currentIndex()<a[v].end;)this.tokens.removeToken();v++}else this.tokens.currentIndex()===o?(this.tokens.copyToken(),S&&this.tokens.appendCode(`;${this.makeConstructorInitCode(m,h,r)};`),this.processToken()):this.processToken();this.tokens.copyExpectedToken(ke.braceR)}makeConstructorInitCode(t,r,n){return[...t,...r.map(o=>`${n}.prototype.${o}.call(this)`)].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(ke.parenR,ke.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType;)t++;if(this.tokens.matches1AtIndex(t,ke.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()<t;)this.tokens.removeToken();return this.tokens.replaceTokenTrimmingLeftWhitespace(") =>"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(yn._async)&&!this.tokens.matches1(ke._async))return!1;const t=this.tokens.tokenAtRelativeIndex(1);if(t.type!==ke.lessThan||!t.isType)return!1;let r=this.tokens.currentIndex()+1;for(;this.tokens.tokens[r].isType;)r++;if(this.tokens.matches1AtIndex(r,ke.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()<r;)this.tokens.removeToken();return this.tokens.removeToken(),this.processBalancedCode(),this.processToken(),!0}return!1}processPossibleTypeRange(){if(this.tokens.currentToken().isType){for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return!0}return!1}shiftMappings(t,r){for(let n=0;n<t.length;n++){const o=t[n];o!==void 0&&(t[n]=o+r)}return t}}var JKt={};(function(e){e.__esModule=!0,e.LinesAndColumns=void 0;var t=`
`,r="\r",n=function(){function o(m){this.string=m;for(var u=[0],h=0;h<m.length;)switch(m[h]){case t:h+=t.length,u.push(h);break;case r:h+=r.length,m[h]===t&&(h+=t.length),u.push(h);break;default:h++;break}this.offsets=u}return o.prototype.locationForIndex=function(m){if(m<0||m>this.string.length)return null;for(var u=0,h=this.offsets;h[u+1]<=m;)u++;var a=m-h[u];return{line:u,column:a}},o.prototype.indexForLocation=function(m){var u=m.line,h=m.column;return u<0||u>=this.offsets.length||h<0||h>this.lengthOfLine(u)?null:this.offsets[u]+h},o.prototype.lengthOfLine=function(m){var u=this.offsets[m],h=m===this.offsets.length-1?this.string.length:this.offsets[m+1];return h-u},o}();e.LinesAndColumns=n,e.default=n})(JKt);function eXt(e){const t=new Set;for(let r=0;r<e.tokens.length;r++)e.matches1AtIndex(r,ke._import)&&!e.matches3AtIndex(r,ke._import,ke.name,ke.eq)&&tXt(e,r,t);return t}function tXt(e,t,r){t++,!e.matches1AtIndex(t,ke.parenL)&&(e.matches1AtIndex(t,ke.name)&&(r.add(e.identifierNameAtIndex(t)),t++,e.matches1AtIndex(t,ke.comma)&&t++),e.matches1AtIndex(t,ke.star)&&(t+=2,r.add(e.identifierNameAtIndex(t)),t++),e.matches1AtIndex(t,ke.braceL)&&(t++,rXt(e,t,r)))}function rXt(e,t,r){for(;;){if(e.matches1AtIndex(t,ke.braceR))return;const n=DM(e,t);if(t=n.endIndex,n.isType||r.add(n.rightName),e.matches2AtIndex(t,ke.comma,ke.braceR))return;if(e.matches1AtIndex(t,ke.braceR))return;if(e.matches1AtIndex(t,ke.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(e.tokens[t])}`)}}function nXt(e,t){_jt(t);try{const r=aXt(e,t),o=new joe(r,t.transforms,!!t.enableLegacyBabel5ModuleInterop,t).transform();let m={code:o.code};if(t.sourceMapOptions){if(!t.filePath)throw new Error("filePath must be specified when generating a source map.");m={...m,sourceMap:ijt(o,t.filePath,t.sourceMapOptions,e,r.tokenProcessor.tokens)}}return m}catch(r){throw t.filePath&&(r.message=`Error transforming ${t.filePath}: ${r.message}`),r}}function aXt(e,t){const r=t.transforms.includes("jsx"),n=t.transforms.includes("typescript"),o=t.transforms.includes("flow"),m=t.disableESTransforms===!0,u=BKt(e,r,n,o),h=u.tokens,a=u.scopes,l=new Oxe(e,h),v=new Aoe(l),i=new WM(e,h,o,m,v),S=!!t.enableLegacyTypeScriptModuleInterop;let g=null;return t.transforms.includes("imports")?(g=new e4(l,i,S,t,t.transforms.includes("typescript"),!!t.keepUnusedImports,v),g.preprocessTokens(),GYe(i,a,g.getGlobalNames()),t.transforms.includes("typescript")&&!t.keepUnusedImports&&g.pruneTypeOnlyImports()):t.transforms.includes("typescript")&&!t.keepUnusedImports&&GYe(i,a,eXt(i)),{tokenProcessor:i,scopes:a,nameManager:l,importProcessor:g,helperManager:v}}function Yoe(){return Yoe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Yoe.apply(this,arguments)}const iXt=e=>nXt(e,{transforms:["jsx","typescript","imports"],production:!0}).code.substring(13),oXt=/^(\s*)(<[^>]*>|function[(\s]|\(\)[\s=]|class\s)(.*)/,sXt=["default","import"],lXt=(e,t)=>{const{import:r}=t,n=function(h,a){if(h==null)return{};var l,v,i={},S=Object.keys(h);for(v=0;v<S.length;v++)a.indexOf(l=S[v])>=0||(i[l]=h[l]);return i}(t,sXt),o=Yoe({React:wn,require:uXt(r)},n),m=Object.keys(o),u=m.map(h=>o[h]);return new Function(...m,e)(...u)},cXt=e=>{const{code:t,scope:r}=e;if(!t.trim())return null;const n={};lXt(iXt((m=>m.replace(oXt,"$1export default $2$3"))(t)),Yoe({render:m=>{n.default=m}},r,{exports:n}));const o=n.default;return o?Ue.isValidElement(o)?o:typeof o=="function"?Ue.createElement(o):typeof o=="string"?o:null:null},uXt=(e={})=>t=>{if(!e.hasOwnProperty(t))throw new Error(`Module not found: '${t}'`);return e[t]};class qWe extends Ue.Component{constructor(...t){super(...t),this.state={element:null,error:null,prevCode:null,prevScope:void 0}}static getDerivedStateFromProps(t,r){if(r.prevCode===t.code&&r.prevScope===t.scope)return null;try{return{element:cXt(t),error:null,prevCode:t.code,prevScope:t.scope}}catch(n){return{element:null,error:n,prevCode:t.code,prevScope:t.scope}}}static getDerivedStateFromError(t){return{error:t}}componentDidMount(){var t,r;(t=(r=this.props).onRendered)==null||t.call(r,this.state.error||void 0)}shouldComponentUpdate(t,r){return t.code!==this.props.code||t.scope!==this.props.scope||r.error!==this.state.error}componentDidUpdate(){var t,r;(t=(r=this.props).onRendered)==null||t.call(r,this.state.error||void 0)}render(){return this.state.error?null:this.state.element}}var ks;(function(e){e.assertEqual=o=>o;function t(o){}e.assertIs=t;function r(o){throw new Error}e.assertNever=r,e.arrayToEnum=o=>{const m={};for(const u of o)m[u]=u;return m},e.getValidEnumValues=o=>{const m=e.objectKeys(o).filter(h=>typeof o[o[h]]!="number"),u={};for(const h of m)u[h]=o[h];return e.objectValues(u)},e.objectValues=o=>e.objectKeys(o).map(function(m){return o[m]}),e.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const m=[];for(const u in o)Object.prototype.hasOwnProperty.call(o,u)&&m.push(u);return m},e.find=(o,m)=>{for(const u of o)if(m(u))return u},e.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function n(o,m=" | "){return o.map(u=>typeof u=="string"?`'${u}'`:u).join(m)}e.joinValues=n,e.jsonStringifyReplacer=(o,m)=>typeof m=="bigint"?m.toString():m})(ks||(ks={}));var Woe;(function(e){e.mergeShapes=(t,r)=>({...t,...r})})(Woe||(Woe={}));const zi=ks.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),_m=e=>{switch(typeof e){case"undefined":return zi.undefined;case"string":return zi.string;case"number":return isNaN(e)?zi.nan:zi.number;case"boolean":return zi.boolean;case"function":return zi.function;case"bigint":return zi.bigint;case"symbol":return zi.symbol;case"object":return Array.isArray(e)?zi.array:e===null?zi.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?zi.promise:typeof Map<"u"&&e instanceof Map?zi.map:typeof Set<"u"&&e instanceof Set?zi.set:typeof Date<"u"&&e instanceof Date?zi.date:zi.object;default:return zi.unknown}},ui=ks.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),ZWe=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class Gh extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=t}format(t){const r=t||function(m){return m.message},n={_errors:[]},o=m=>{for(const u of m.issues)if(u.code==="invalid_union")u.unionErrors.map(o);else if(u.code==="invalid_return_type")o(u.returnTypeError);else if(u.code==="invalid_arguments")o(u.argumentsError);else if(u.path.length===0)n._errors.push(r(u));else{let h=n,a=0;for(;a<u.path.length;){const l=u.path[a];a===u.path.length-1?(h[l]=h[l]||{_errors:[]},h[l]._errors.push(r(u))):h[l]=h[l]||{_errors:[]},h=h[l],a++}}};return o(this),n}static assert(t){if(!(t instanceof Gh))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,ks.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=r=>r.message){const r={},n=[];for(const o of this.issues)o.path.length>0?(r[o.path[0]]=r[o.path[0]]||[],r[o.path[0]].push(t(o))):n.push(t(o));return{formErrors:n,fieldErrors:r}}get formErrors(){return this.flatten()}}Gh.create=e=>new Gh(e);const s4=(e,t)=>{let r;switch(e.code){case ui.invalid_type:e.received===zi.undefined?r="Required":r=`Expected ${e.expected}, received ${e.received}`;break;case ui.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,ks.jsonStringifyReplacer)}`;break;case ui.unrecognized_keys:r=`Unrecognized key(s) in object: ${ks.joinValues(e.keys,", ")}`;break;case ui.invalid_union:r="Invalid input";break;case ui.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${ks.joinValues(e.options)}`;break;case ui.invalid_enum_value:r=`Invalid enum value. Expected ${ks.joinValues(e.options)}, received '${e.received}'`;break;case ui.invalid_arguments:r="Invalid function arguments";break;case ui.invalid_return_type:r="Invalid function return type";break;case ui.invalid_date:r="Invalid date";break;case ui.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:ks.assertNever(e.validation):e.validation!=="regex"?r=`Invalid ${e.validation}`:r="Invalid";break;case ui.too_small:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:r="Invalid input";break;case ui.too_big:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?r=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:r="Invalid input";break;case ui.custom:r="Invalid input";break;case ui.invalid_intersection_types:r="Intersection results could not be merged";break;case ui.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case ui.not_finite:r="Number must be finite";break;default:r=t.defaultError,ks.assertNever(e)}return{message:r}};let QWe=s4;function JWe(e){QWe=e}function XM(){return QWe}const qM=e=>{const{data:t,path:r,errorMaps:n,issueData:o}=e,m=[...r,...o.path||[]],u={...o,path:m};if(o.message!==void 0)return{...o,path:m,message:o.message};let h="";const a=n.filter(l=>!!l).slice().reverse();for(const l of a)h=l(u,{data:t,defaultError:h}).message;return{...o,path:m,message:h}},eKe=[];function Oi(e,t){const r=XM(),n=qM({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===s4?void 0:s4].filter(o=>!!o)});e.common.issues.push(n)}class Pd{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,r){const n=[];for(const o of r){if(o.status==="aborted")return bo;o.status==="dirty"&&t.dirty(),n.push(o.value)}return{status:t.value,value:n}}static async mergeObjectAsync(t,r){const n=[];for(const o of r){const m=await o.key,u=await o.value;n.push({key:m,value:u})}return Pd.mergeObjectSync(t,n)}static mergeObjectSync(t,r){const n={};for(const o of r){const{key:m,value:u}=o;if(m.status==="aborted"||u.status==="aborted")return bo;m.status==="dirty"&&t.dirty(),u.status==="dirty"&&t.dirty(),m.value!=="__proto__"&&(typeof u.value<"u"||o.alwaysSet)&&(n[m.value]=u.value)}return{status:t.value,value:n}}}const bo=Object.freeze({status:"aborted"}),l4=e=>({status:"dirty",value:e}),pf=e=>({status:"valid",value:e}),Koe=e=>e.status==="aborted",Xoe=e=>e.status==="dirty",Q2=e=>e.status==="valid",D5=e=>typeof Promise<"u"&&e instanceof Promise;function qoe(e,t,r,n){if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function tKe(e,t,r,n,o){if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,r),r}typeof SuppressedError=="function"&&SuppressedError;var no;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(no||(no={}));var ZM,QM;class xm{constructor(t,r,n,o){this._cachedPath=[],this.parent=t,this.data=r,this._path=n,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const rKe=(e,t)=>{if(Q2(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const r=new Gh(e.common.issues);return this._error=r,this._error}}};function Xo(e){if(!e)return{};const{errorMap:t,invalid_type_error:r,required_error:n,description:o}=e;if(t&&(r||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:o}:{errorMap:(u,h)=>{var a,l;const{message:v}=e;return u.code==="invalid_enum_value"?{message:v??h.defaultError}:typeof h.data>"u"?{message:(a=v??n)!==null&&a!==void 0?a:h.defaultError}:u.code!=="invalid_type"?{message:h.defaultError}:{message:(l=v??r)!==null&&l!==void 0?l:h.defaultError}},description:o}}class Ho{get description(){return this._def.description}_getType(t){return _m(t.data)}_getOrReturnCtx(t,r){return r||{common:t.parent.common,data:t.data,parsedType:_m(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Pd,ctx:{common:t.parent.common,data:t.data,parsedType:_m(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const r=this._parse(t);if(D5(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(t){const r=this._parse(t);return Promise.resolve(r)}parse(t,r){const n=this.safeParse(t,r);if(n.success)return n.data;throw n.error}safeParse(t,r){var n;const o={common:{issues:[],async:(n=r==null?void 0:r.async)!==null&&n!==void 0?n:!1,contextualErrorMap:r==null?void 0:r.errorMap},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:_m(t)},m=this._parseSync({data:t,path:o.path,parent:o});return rKe(o,m)}"~validate"(t){var r,n;const o={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:_m(t)};if(!this["~standard"].async)try{const m=this._parseSync({data:t,path:[],parent:o});return Q2(m)?{value:m.value}:{issues:o.common.issues}}catch(m){!((n=(r=m==null?void 0:m.message)===null||r===void 0?void 0:r.toLowerCase())===null||n===void 0)&&n.includes("encountered")&&(this["~standard"].async=!0),o.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:o}).then(m=>Q2(m)?{value:m.value}:{issues:o.common.issues})}async parseAsync(t,r){const n=await this.safeParseAsync(t,r);if(n.success)return n.data;throw n.error}async safeParseAsync(t,r){const n={common:{issues:[],contextualErrorMap:r==null?void 0:r.errorMap,async:!0},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:_m(t)},o=this._parse({data:t,path:n.path,parent:n}),m=await(D5(o)?o:Promise.resolve(o));return rKe(n,m)}refine(t,r){const n=o=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(o):r;return this._refinement((o,m)=>{const u=t(o),h=()=>m.addIssue({code:ui.custom,...n(o)});return typeof Promise<"u"&&u instanceof Promise?u.then(a=>a?!0:(h(),!1)):u?!0:(h(),!1)})}refinement(t,r){return this._refinement((n,o)=>t(n)?!0:(o.addIssue(typeof r=="function"?r(n,o):r),!1))}_refinement(t){return new Xp({schema:this,typeName:yo.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:r=>this["~validate"](r)}}optional(){return q1.create(this,this._def)}nullable(){return Wg.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Z0.create(this)}promise(){return d4.create(this,this._def)}or(t){return U5.create([this,t],this._def)}and(t){return $5.create(this,t,this._def)}transform(t){return new Xp({...Xo(this._def),schema:this,typeName:yo.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const r=typeof t=="function"?t:()=>t;return new Y5({...Xo(this._def),innerType:this,defaultValue:r,typeName:yo.ZodDefault})}brand(){return new Zoe({typeName:yo.ZodBranded,type:this,...Xo(this._def)})}catch(t){const r=typeof t=="function"?t:()=>t;return new W5({...Xo(this._def),innerType:this,catchValue:r,typeName:yo.ZodCatch})}describe(t){const r=this.constructor;return new r({...this._def,description:t})}pipe(t){return K5.create(this,t)}readonly(){return X5.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const dXt=/^c[^\s-]{8,}$/i,fXt=/^[0-9a-z]+$/,hXt=/^[0-9A-HJKMNP-TV-Z]{26}$/i,pXt=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,vXt=/^[a-z0-9_-]{21}$/i,mXt=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,gXt=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,yXt=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,_Xt="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let xbe;const xXt=/^(?:(?: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])$/,bXt=/^(?:(?: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])\/(3[0-2]|[12]?[0-9])$/,EXt=/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,SXt=/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,wXt=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,TXt=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nKe="((\\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])))",AXt=new RegExp(`^${nKe}$`);function aKe(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function CXt(e){return new RegExp(`^${aKe(e)}$`)}function bbe(e){let t=`${nKe}T${aKe(e)}`;const r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,new RegExp(`^${t}$`)}function kXt(e,t){return!!((t==="v4"||!t)&&xXt.test(e)||(t==="v6"||!t)&&EXt.test(e))}function MXt(e,t){if(!mXt.test(e))return!1;try{const[r]=e.split("."),n=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),o=JSON.parse(atob(n));return!(typeof o!="object"||o===null||!o.typ||!o.alg||t&&o.alg!==t)}catch{return!1}}function RXt(e,t){return!!((t==="v4"||!t)&&bXt.test(e)||(t==="v6"||!t)&&SXt.test(e))}class q0 extends Ho{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==zi.string){const m=this._getOrReturnCtx(t);return Oi(m,{code:ui.invalid_type,expected:zi.string,received:m.parsedType}),bo}const n=new Pd;let o;for(const m of this._def.checks)if(m.kind==="min")t.data.length<m.value&&(o=this._getOrReturnCtx(t,o),Oi(o,{code:ui.too_small,minimum:m.value,type:"string",inclusive:!0,exact:!1,message:m.message}),n.dirty());else if(m.kind==="max")t.data.length>m.value&&(o=this._getOrReturnCtx(t,o),Oi(o,{code:ui.too_big,maximum:m.value,type:"string",inclusive:!0,exact:!1,message:m.message}),n.dirty());else if(m.kind==="length"){const u=t.data.length>m.value,h=t.data.length<m.value;(u||h)&&(o=this._getOrReturnCtx(t,o),u?Oi(o,{code:ui.too_big,maximum:m.value,type:"string",inclusive:!0,exact:!0,message:m.message}):h&&Oi(o,{code:ui.too_small,minimum:m.value,type:"string",inclusive:!0,exact:!0,message:m.message}),n.dirty())}else if(m.kind==="email")yXt.test(t.data)||(o=this._getOrReturnCtx(t,o),Oi(o,{validation:"email",code:ui.invalid_string,message:m.message}),n.dirty());else if(m.kind==="emoji")xbe||(xbe=new RegExp(_Xt,"u")),xbe.test(t.data)||(o=this._getOrReturnCtx(t,o),Oi(o,{validation:"emoji",code:ui.invalid_string,message:m.message}),n.dirty());else if(m.kind==="uuid")pXt.test(t.data)||(o=this._getOrReturnCtx(t,o),Oi(o,{validation:"uuid",code:ui.invalid_string,message:m.message}),n.dirty());else if(m.kind==="nanoid")vXt.test(t.data)||(o=this._getOrReturnCtx(t,o),Oi(o,{validation:"nanoid",code:ui.invalid_string,message:m.message}),n.dirty());else if(m.kind==="cuid")dXt.test(t.data)||(o=this._getOrReturnCtx(t,o),Oi(o,{validation:"cuid",code:ui.invalid_string,message:m.message}),n.dirty());else if(m.kind==="cuid2")fXt.test(t.data)||(o=this._getOrReturnCtx(t,o),Oi(o,{validation:"cuid2",code:ui.invalid_string,message:m.message}),n.dirty());else if(m.kind==="ulid")hXt.test(t.data)||(o=this._getOrReturnCtx(t,o),Oi(o,{validation:"ulid",code:ui.invalid_string,message:m.message}),n.dirty());else if(m.kind==="url")try{new URL(t.data)}catch{o=this._getOrReturnCtx(t,o),Oi(o,{validation:"url",code:ui.invalid_string,message:m.message}),n.dirty()}else m.kind==="regex"?(m.regex.lastIndex=0,m.regex.test(t.data)||(o=this._getOrReturnCtx(t,o),Oi(o,{validation:"regex",code:ui.invalid_string,message:m.message}),n.dirty())):m.kind==="trim"?t.data=t.data.trim():m.kind==="includes"?t.data.includes(m.value,m.position)||(o=this._getOrReturnCtx(t,o),Oi(o,{code:ui.invalid_string,validation:{includes:m.value,position:m.position},message:m.message}),n.dirty()):m.kind==="toLowerCase"?t.data=t.data.toLowerCase():m.kind==="toUpperCase"?t.data=t.data.toUpperCase():m.kind==="startsWith"?t.data.startsWith(m.value)||(o=this._getOrReturnCtx(t,o),Oi(o,{code:ui.invalid_string,validation:{startsWith:m.value},message:m.message}),n.dirty()):m.kind==="endsWith"?t.data.endsWith(m.value)||(o=this._getOrReturnCtx(t,o),Oi(o,{code:ui.invalid_string,validation:{endsWith:m.value},message:m.message}),n.dirty()):m.kind==="datetime"?bbe(m).test(t.data)||(o=this._getOrReturnCtx(t,o),Oi(o,{code:ui.invalid_string,validation:"datetime",message:m.message}),n.dirty()):m.kind==="date"?AXt.test(t.data)||(o=this._getOrReturnCtx(t,o),Oi(o,{code:ui.invalid_string,validation:"date",message:m.message}),n.dirty()):m.kind==="time"?CXt(m).test(t.data)||(o=this._getOrReturnCtx(t,o),Oi(o,{code:ui.invalid_string,validation:"time",message:m.message}),n.dirty()):m.kind==="duration"?gXt.test(t.data)||(o=this._getOrReturnCtx(t,o),Oi(o,{validation:"duration",code:ui.invalid_string,message:m.message}),n.dirty()):m.kind==="ip"?kXt(t.data,m.version)||(o=this._getOrReturnCtx(t,o),Oi(o,{validation:"ip",code:ui.invalid_string,message:m.message}),n.dirty()):m.kind==="jwt"?MXt(t.data,m.alg)||(o=this._getOrReturnCtx(t,o),Oi(o,{validation:"jwt",code:ui.invalid_string,message:m.message}),n.dirty()):m.kind==="cidr"?RXt(t.data,m.version)||(o=this._getOrReturnCtx(t,o),Oi(o,{validation:"cidr",code:ui.invalid_string,message:m.message}),n.dirty()):m.kind==="base64"?wXt.test(t.data)||(o=this._getOrReturnCtx(t,o),Oi(o,{validation:"base64",code:ui.invalid_string,message:m.message}),n.dirty()):m.kind==="base64url"?TXt.test(t.data)||(o=this._getOrReturnCtx(t,o),Oi(o,{validation:"base64url",code:ui.invalid_string,message:m.message}),n.dirty()):ks.assertNever(m);return{status:n.value,value:t.data}}_regex(t,r,n){return this.refinement(o=>t.test(o),{validation:r,code:ui.invalid_string,...no.errToObj(n)})}_addCheck(t){return new q0({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...no.errToObj(t)})}url(t){return this._addCheck({kind:"url",...no.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...no.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...no.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...no.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...no.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...no.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...no.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...no.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...no.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...no.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...no.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...no.errToObj(t)})}datetime(t){var r,n;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(r=t==null?void 0:t.offset)!==null&&r!==void 0?r:!1,local:(n=t==null?void 0:t.local)!==null&&n!==void 0?n:!1,...no.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...no.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...no.errToObj(t)})}regex(t,r){return this._addCheck({kind:"regex",regex:t,...no.errToObj(r)})}includes(t,r){return this._addCheck({kind:"includes",value:t,position:r==null?void 0:r.position,...no.errToObj(r==null?void 0:r.message)})}startsWith(t,r){return this._addCheck({kind:"startsWith",value:t,...no.errToObj(r)})}endsWith(t,r){return this._addCheck({kind:"endsWith",value:t,...no.errToObj(r)})}min(t,r){return this._addCheck({kind:"min",value:t,...no.errToObj(r)})}max(t,r){return this._addCheck({kind:"max",value:t,...no.errToObj(r)})}length(t,r){return this._addCheck({kind:"length",value:t,...no.errToObj(r)})}nonempty(t){return this.min(1,no.errToObj(t))}trim(){return new q0({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new q0({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new q0({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxLength(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}q0.create=e=>{var t;return new q0({checks:[],typeName:yo.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...Xo(e)})};function NXt(e,t){const r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,o=r>n?r:n,m=parseInt(e.toFixed(o).replace(".","")),u=parseInt(t.toFixed(o).replace(".",""));return m%u/Math.pow(10,o)}class Vg extends Ho{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==zi.number){const m=this._getOrReturnCtx(t);return Oi(m,{code:ui.invalid_type,expected:zi.number,received:m.parsedType}),bo}let n;const o=new Pd;for(const m of this._def.checks)m.kind==="int"?ks.isInteger(t.data)||(n=this._getOrReturnCtx(t,n),Oi(n,{code:ui.invalid_type,expected:"integer",received:"float",message:m.message}),o.dirty()):m.kind==="min"?(m.inclusive?t.data<m.value:t.data<=m.value)&&(n=this._getOrReturnCtx(t,n),Oi(n,{code:ui.too_small,minimum:m.value,type:"number",inclusive:m.inclusive,exact:!1,message:m.message}),o.dirty()):m.kind==="max"?(m.inclusive?t.data>m.value:t.data>=m.value)&&(n=this._getOrReturnCtx(t,n),Oi(n,{code:ui.too_big,maximum:m.value,type:"number",inclusive:m.inclusive,exact:!1,message:m.message}),o.dirty()):m.kind==="multipleOf"?NXt(t.data,m.value)!==0&&(n=this._getOrReturnCtx(t,n),Oi(n,{code:ui.not_multiple_of,multipleOf:m.value,message:m.message}),o.dirty()):m.kind==="finite"?Number.isFinite(t.data)||(n=this._getOrReturnCtx(t,n),Oi(n,{code:ui.not_finite,message:m.message}),o.dirty()):ks.assertNever(m);return{status:o.value,value:t.data}}gte(t,r){return this.setLimit("min",t,!0,no.toString(r))}gt(t,r){return this.setLimit("min",t,!1,no.toString(r))}lte(t,r){return this.setLimit("max",t,!0,no.toString(r))}lt(t,r){return this.setLimit("max",t,!1,no.toString(r))}setLimit(t,r,n,o){return new Vg({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:no.toString(o)}]})}_addCheck(t){return new Vg({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:no.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:no.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:no.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:no.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:no.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:no.toString(r)})}finite(t){return this._addCheck({kind:"finite",message:no.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:no.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:no.toString(t)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&ks.isInteger(t.value))}get isFinite(){let t=null,r=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(r===null||n.value>r)&&(r=n.value):n.kind==="max"&&(t===null||n.value<t)&&(t=n.value)}return Number.isFinite(r)&&Number.isFinite(t)}}Vg.create=e=>new Vg({checks:[],typeName:yo.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...Xo(e)});class Gg extends Ho{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==zi.bigint)return this._getInvalidInput(t);let n;const o=new Pd;for(const m of this._def.checks)m.kind==="min"?(m.inclusive?t.data<m.value:t.data<=m.value)&&(n=this._getOrReturnCtx(t,n),Oi(n,{code:ui.too_small,type:"bigint",minimum:m.value,inclusive:m.inclusive,message:m.message}),o.dirty()):m.kind==="max"?(m.inclusive?t.data>m.value:t.data>=m.value)&&(n=this._getOrReturnCtx(t,n),Oi(n,{code:ui.too_big,type:"bigint",maximum:m.value,inclusive:m.inclusive,message:m.message}),o.dirty()):m.kind==="multipleOf"?t.data%m.value!==BigInt(0)&&(n=this._getOrReturnCtx(t,n),Oi(n,{code:ui.not_multiple_of,multipleOf:m.value,message:m.message}),o.dirty()):ks.assertNever(m);return{status:o.value,value:t.data}}_getInvalidInput(t){const r=this._getOrReturnCtx(t);return Oi(r,{code:ui.invalid_type,expected:zi.bigint,received:r.parsedType}),bo}gte(t,r){return this.setLimit("min",t,!0,no.toString(r))}gt(t,r){return this.setLimit("min",t,!1,no.toString(r))}lte(t,r){return this.setLimit("max",t,!0,no.toString(r))}lt(t,r){return this.setLimit("max",t,!1,no.toString(r))}setLimit(t,r,n,o){return new Gg({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:no.toString(o)}]})}_addCheck(t){return new Gg({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:no.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:no.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:no.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:no.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:no.toString(r)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}Gg.create=e=>{var t;return new Gg({checks:[],typeName:yo.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...Xo(e)})};class P5 extends Ho{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==zi.boolean){const n=this._getOrReturnCtx(t);return Oi(n,{code:ui.invalid_type,expected:zi.boolean,received:n.parsedType}),bo}return pf(t.data)}}P5.create=e=>new P5({typeName:yo.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...Xo(e)});class J2 extends Ho{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==zi.date){const m=this._getOrReturnCtx(t);return Oi(m,{code:ui.invalid_type,expected:zi.date,received:m.parsedType}),bo}if(isNaN(t.data.getTime())){const m=this._getOrReturnCtx(t);return Oi(m,{code:ui.invalid_date}),bo}const n=new Pd;let o;for(const m of this._def.checks)m.kind==="min"?t.data.getTime()<m.value&&(o=this._getOrReturnCtx(t,o),Oi(o,{code:ui.too_small,message:m.message,inclusive:!0,exact:!1,minimum:m.value,type:"date"}),n.dirty()):m.kind==="max"?t.data.getTime()>m.value&&(o=this._getOrReturnCtx(t,o),Oi(o,{code:ui.too_big,message:m.message,inclusive:!0,exact:!1,maximum:m.value,type:"date"}),n.dirty()):ks.assertNever(m);return{status:n.value,value:new Date(t.data.getTime())}}_addCheck(t){return new J2({...this._def,checks:[...this._def.checks,t]})}min(t,r){return this._addCheck({kind:"min",value:t.getTime(),message:no.toString(r)})}max(t,r){return this._addCheck({kind:"max",value:t.getTime(),message:no.toString(r)})}get minDate(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t!=null?new Date(t):null}}J2.create=e=>new J2({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:yo.ZodDate,...Xo(e)});class JM extends Ho{_parse(t){if(this._getType(t)!==zi.symbol){const n=this._getOrReturnCtx(t);return Oi(n,{code:ui.invalid_type,expected:zi.symbol,received:n.parsedType}),bo}return pf(t.data)}}JM.create=e=>new JM({typeName:yo.ZodSymbol,...Xo(e)});class F5 extends Ho{_parse(t){if(this._getType(t)!==zi.undefined){const n=this._getOrReturnCtx(t);return Oi(n,{code:ui.invalid_type,expected:zi.undefined,received:n.parsedType}),bo}return pf(t.data)}}F5.create=e=>new F5({typeName:yo.ZodUndefined,...Xo(e)});class B5 extends Ho{_parse(t){if(this._getType(t)!==zi.null){const n=this._getOrReturnCtx(t);return Oi(n,{code:ui.invalid_type,expected:zi.null,received:n.parsedType}),bo}return pf(t.data)}}B5.create=e=>new B5({typeName:yo.ZodNull,...Xo(e)});class c4 extends Ho{constructor(){super(...arguments),this._any=!0}_parse(t){return pf(t.data)}}c4.create=e=>new c4({typeName:yo.ZodAny,...Xo(e)});class e_ extends Ho{constructor(){super(...arguments),this._unknown=!0}_parse(t){return pf(t.data)}}e_.create=e=>new e_({typeName:yo.ZodUnknown,...Xo(e)});class bm extends Ho{_parse(t){const r=this._getOrReturnCtx(t);return Oi(r,{code:ui.invalid_type,expected:zi.never,received:r.parsedType}),bo}}bm.create=e=>new bm({typeName:yo.ZodNever,...Xo(e)});class e8 extends Ho{_parse(t){if(this._getType(t)!==zi.undefined){const n=this._getOrReturnCtx(t);return Oi(n,{code:ui.invalid_type,expected:zi.void,received:n.parsedType}),bo}return pf(t.data)}}e8.create=e=>new e8({typeName:yo.ZodVoid,...Xo(e)});class Z0 extends Ho{_parse(t){const{ctx:r,status:n}=this._processInputParams(t),o=this._def;if(r.parsedType!==zi.array)return Oi(r,{code:ui.invalid_type,expected:zi.array,received:r.parsedType}),bo;if(o.exactLength!==null){const u=r.data.length>o.exactLength.value,h=r.data.length<o.exactLength.value;(u||h)&&(Oi(r,{code:u?ui.too_big:ui.too_small,minimum:h?o.exactLength.value:void 0,maximum:u?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),n.dirty())}if(o.minLength!==null&&r.data.length<o.minLength.value&&(Oi(r,{code:ui.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),n.dirty()),o.maxLength!==null&&r.data.length>o.maxLength.value&&(Oi(r,{code:ui.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),n.dirty()),r.common.async)return Promise.all([...r.data].map((u,h)=>o.type._parseAsync(new xm(r,u,r.path,h)))).then(u=>Pd.mergeArray(n,u));const m=[...r.data].map((u,h)=>o.type._parseSync(new xm(r,u,r.path,h)));return Pd.mergeArray(n,m)}get element(){return this._def.type}min(t,r){return new Z0({...this._def,minLength:{value:t,message:no.toString(r)}})}max(t,r){return new Z0({...this._def,maxLength:{value:t,message:no.toString(r)}})}length(t,r){return new Z0({...this._def,exactLength:{value:t,message:no.toString(r)}})}nonempty(t){return this.min(1,t)}}Z0.create=(e,t)=>new Z0({type:e,minLength:null,maxLength:null,exactLength:null,typeName:yo.ZodArray,...Xo(t)});function z5(e){if(e instanceof lc){const t={};for(const r in e.shape){const n=e.shape[r];t[r]=q1.create(z5(n))}return new lc({...e._def,shape:()=>t})}else return e instanceof Z0?new Z0({...e._def,type:z5(e.element)}):e instanceof q1?q1.create(z5(e.unwrap())):e instanceof Wg?Wg.create(z5(e.unwrap())):e instanceof X1?X1.create(e.items.map(t=>z5(t))):e}class lc extends Ho{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),r=ks.objectKeys(t);return this._cached={shape:t,keys:r}}_parse(t){if(this._getType(t)!==zi.object){const l=this._getOrReturnCtx(t);return Oi(l,{code:ui.invalid_type,expected:zi.object,received:l.parsedType}),bo}const{status:n,ctx:o}=this._processInputParams(t),{shape:m,keys:u}=this._getCached(),h=[];if(!(this._def.catchall instanceof bm&&this._def.unknownKeys==="strip"))for(const l in o.data)u.includes(l)||h.push(l);const a=[];for(const l of u){const v=m[l],i=o.data[l];a.push({key:{status:"valid",value:l},value:v._parse(new xm(o,i,o.path,l)),alwaysSet:l in o.data})}if(this._def.catchall instanceof bm){const l=this._def.unknownKeys;if(l==="passthrough")for(const v of h)a.push({key:{status:"valid",value:v},value:{status:"valid",value:o.data[v]}});else if(l==="strict")h.length>0&&(Oi(o,{code:ui.unrecognized_keys,keys:h}),n.dirty());else if(l!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const l=this._def.catchall;for(const v of h){const i=o.data[v];a.push({key:{status:"valid",value:v},value:l._parse(new xm(o,i,o.path,v)),alwaysSet:v in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const l=[];for(const v of a){const i=await v.key,S=await v.value;l.push({key:i,value:S,alwaysSet:v.alwaysSet})}return l}).then(l=>Pd.mergeObjectSync(n,l)):Pd.mergeObjectSync(n,a)}get shape(){return this._def.shape()}strict(t){return no.errToObj,new lc({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(r,n)=>{var o,m,u,h;const a=(u=(m=(o=this._def).errorMap)===null||m===void 0?void 0:m.call(o,r,n).message)!==null&&u!==void 0?u:n.defaultError;return r.code==="unrecognized_keys"?{message:(h=no.errToObj(t).message)!==null&&h!==void 0?h:a}:{message:a}}}:{}})}strip(){return new lc({...this._def,unknownKeys:"strip"})}passthrough(){return new lc({...this._def,unknownKeys:"passthrough"})}extend(t){return new lc({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new lc({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:yo.ZodObject})}setKey(t,r){return this.augment({[t]:r})}catchall(t){return new lc({...this._def,catchall:t})}pick(t){const r={};return ks.objectKeys(t).forEach(n=>{t[n]&&this.shape[n]&&(r[n]=this.shape[n])}),new lc({...this._def,shape:()=>r})}omit(t){const r={};return ks.objectKeys(this.shape).forEach(n=>{t[n]||(r[n]=this.shape[n])}),new lc({...this._def,shape:()=>r})}deepPartial(){return z5(this)}partial(t){const r={};return ks.objectKeys(this.shape).forEach(n=>{const o=this.shape[n];t&&!t[n]?r[n]=o:r[n]=o.optional()}),new lc({...this._def,shape:()=>r})}required(t){const r={};return ks.objectKeys(this.shape).forEach(n=>{if(t&&!t[n])r[n]=this.shape[n];else{let m=this.shape[n];for(;m instanceof q1;)m=m._def.innerType;r[n]=m}}),new lc({...this._def,shape:()=>r})}keyof(){return iKe(ks.objectKeys(this.shape))}}lc.create=(e,t)=>new lc({shape:()=>e,unknownKeys:"strip",catchall:bm.create(),typeName:yo.ZodObject,...Xo(t)}),lc.strictCreate=(e,t)=>new lc({shape:()=>e,unknownKeys:"strict",catchall:bm.create(),typeName:yo.ZodObject,...Xo(t)}),lc.lazycreate=(e,t)=>new lc({shape:e,unknownKeys:"strip",catchall:bm.create(),typeName:yo.ZodObject,...Xo(t)});class U5 extends Ho{_parse(t){const{ctx:r}=this._processInputParams(t),n=this._def.options;function o(m){for(const h of m)if(h.result.status==="valid")return h.result;for(const h of m)if(h.result.status==="dirty")return r.common.issues.push(...h.ctx.common.issues),h.result;const u=m.map(h=>new Gh(h.ctx.common.issues));return Oi(r,{code:ui.invalid_union,unionErrors:u}),bo}if(r.common.async)return Promise.all(n.map(async m=>{const u={...r,common:{...r.common,issues:[]},parent:null};return{result:await m._parseAsync({data:r.data,path:r.path,parent:u}),ctx:u}})).then(o);{let m;const u=[];for(const a of n){const l={...r,common:{...r.common,issues:[]},parent:null},v=a._parseSync({data:r.data,path:r.path,parent:l});if(v.status==="valid")return v;v.status==="dirty"&&!m&&(m={result:v,ctx:l}),l.common.issues.length&&u.push(l.common.issues)}if(m)return r.common.issues.push(...m.ctx.common.issues),m.result;const h=u.map(a=>new Gh(a));return Oi(r,{code:ui.invalid_union,unionErrors:h}),bo}}get options(){return this._def.options}}U5.create=(e,t)=>new U5({options:e,typeName:yo.ZodUnion,...Xo(t)});const jg=e=>e instanceof V5?jg(e.schema):e instanceof Xp?jg(e.innerType()):e instanceof G5?[e.value]:e instanceof Yg?e.options:e instanceof j5?ks.objectValues(e.enum):e instanceof Y5?jg(e._def.innerType):e instanceof F5?[void 0]:e instanceof B5?[null]:e instanceof q1?[void 0,...jg(e.unwrap())]:e instanceof Wg?[null,...jg(e.unwrap())]:e instanceof Zoe||e instanceof X5?jg(e.unwrap()):e instanceof W5?jg(e._def.innerType):[];class t8 extends Ho{_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==zi.object)return Oi(r,{code:ui.invalid_type,expected:zi.object,received:r.parsedType}),bo;const n=this.discriminator,o=r.data[n],m=this.optionsMap.get(o);return m?r.common.async?m._parseAsync({data:r.data,path:r.path,parent:r}):m._parseSync({data:r.data,path:r.path,parent:r}):(Oi(r,{code:ui.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),bo)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,r,n){const o=new Map;for(const m of r){const u=jg(m.shape[t]);if(!u.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const h of u){if(o.has(h))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(h)}`);o.set(h,m)}}return new t8({typeName:yo.ZodDiscriminatedUnion,discriminator:t,options:r,optionsMap:o,...Xo(n)})}}function Ebe(e,t){const r=_m(e),n=_m(t);if(e===t)return{valid:!0,data:e};if(r===zi.object&&n===zi.object){const o=ks.objectKeys(t),m=ks.objectKeys(e).filter(h=>o.indexOf(h)!==-1),u={...e,...t};for(const h of m){const a=Ebe(e[h],t[h]);if(!a.valid)return{valid:!1};u[h]=a.data}return{valid:!0,data:u}}else if(r===zi.array&&n===zi.array){if(e.length!==t.length)return{valid:!1};const o=[];for(let m=0;m<e.length;m++){const u=e[m],h=t[m],a=Ebe(u,h);if(!a.valid)return{valid:!1};o.push(a.data)}return{valid:!0,data:o}}else return r===zi.date&&n===zi.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class $5 extends Ho{_parse(t){const{status:r,ctx:n}=this._processInputParams(t),o=(m,u)=>{if(Koe(m)||Koe(u))return bo;const h=Ebe(m.value,u.value);return h.valid?((Xoe(m)||Xoe(u))&&r.dirty(),{status:r.value,value:h.data}):(Oi(n,{code:ui.invalid_intersection_types}),bo)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([m,u])=>o(m,u)):o(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}$5.create=(e,t,r)=>new $5({left:e,right:t,typeName:yo.ZodIntersection,...Xo(r)});class X1 extends Ho{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==zi.array)return Oi(n,{code:ui.invalid_type,expected:zi.array,received:n.parsedType}),bo;if(n.data.length<this._def.items.length)return Oi(n,{code:ui.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),bo;!this._def.rest&&n.data.length>this._def.items.length&&(Oi(n,{code:ui.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());const m=[...n.data].map((u,h)=>{const a=this._def.items[h]||this._def.rest;return a?a._parse(new xm(n,u,n.path,h)):null}).filter(u=>!!u);return n.common.async?Promise.all(m).then(u=>Pd.mergeArray(r,u)):Pd.mergeArray(r,m)}get items(){return this._def.items}rest(t){return new X1({...this._def,rest:t})}}X1.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new X1({items:e,typeName:yo.ZodTuple,rest:null,...Xo(t)})};class H5 extends Ho{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==zi.object)return Oi(n,{code:ui.invalid_type,expected:zi.object,received:n.parsedType}),bo;const o=[],m=this._def.keyType,u=this._def.valueType;for(const h in n.data)o.push({key:m._parse(new xm(n,h,n.path,h)),value:u._parse(new xm(n,n.data[h],n.path,h)),alwaysSet:h in n.data});return n.common.async?Pd.mergeObjectAsync(r,o):Pd.mergeObjectSync(r,o)}get element(){return this._def.valueType}static create(t,r,n){return r instanceof Ho?new H5({keyType:t,valueType:r,typeName:yo.ZodRecord,...Xo(n)}):new H5({keyType:q0.create(),valueType:t,typeName:yo.ZodRecord,...Xo(r)})}}class r8 extends Ho{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==zi.map)return Oi(n,{code:ui.invalid_type,expected:zi.map,received:n.parsedType}),bo;const o=this._def.keyType,m=this._def.valueType,u=[...n.data.entries()].map(([h,a],l)=>({key:o._parse(new xm(n,h,n.path,[l,"key"])),value:m._parse(new xm(n,a,n.path,[l,"value"]))}));if(n.common.async){const h=new Map;return Promise.resolve().then(async()=>{for(const a of u){const l=await a.key,v=await a.value;if(l.status==="aborted"||v.status==="aborted")return bo;(l.status==="dirty"||v.status==="dirty")&&r.dirty(),h.set(l.value,v.value)}return{status:r.value,value:h}})}else{const h=new Map;for(const a of u){const l=a.key,v=a.value;if(l.status==="aborted"||v.status==="aborted")return bo;(l.status==="dirty"||v.status==="dirty")&&r.dirty(),h.set(l.value,v.value)}return{status:r.value,value:h}}}}r8.create=(e,t,r)=>new r8({valueType:t,keyType:e,typeName:yo.ZodMap,...Xo(r)});class t_ extends Ho{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==zi.set)return Oi(n,{code:ui.invalid_type,expected:zi.set,received:n.parsedType}),bo;const o=this._def;o.minSize!==null&&n.data.size<o.minSize.value&&(Oi(n,{code:ui.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),r.dirty()),o.maxSize!==null&&n.data.size>o.maxSize.value&&(Oi(n,{code:ui.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),r.dirty());const m=this._def.valueType;function u(a){const l=new Set;for(const v of a){if(v.status==="aborted")return bo;v.status==="dirty"&&r.dirty(),l.add(v.value)}return{status:r.value,value:l}}const h=[...n.data.values()].map((a,l)=>m._parse(new xm(n,a,n.path,l)));return n.common.async?Promise.all(h).then(a=>u(a)):u(h)}min(t,r){return new t_({...this._def,minSize:{value:t,message:no.toString(r)}})}max(t,r){return new t_({...this._def,maxSize:{value:t,message:no.toString(r)}})}size(t,r){return this.min(t,r).max(t,r)}nonempty(t){return this.min(1,t)}}t_.create=(e,t)=>new t_({valueType:e,minSize:null,maxSize:null,typeName:yo.ZodSet,...Xo(t)});class u4 extends Ho{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==zi.function)return Oi(r,{code:ui.invalid_type,expected:zi.function,received:r.parsedType}),bo;function n(h,a){return qM({data:h,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,XM(),s4].filter(l=>!!l),issueData:{code:ui.invalid_arguments,argumentsError:a}})}function o(h,a){return qM({data:h,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,XM(),s4].filter(l=>!!l),issueData:{code:ui.invalid_return_type,returnTypeError:a}})}const m={errorMap:r.common.contextualErrorMap},u=r.data;if(this._def.returns instanceof d4){const h=this;return pf(async function(...a){const l=new Gh([]),v=await h._def.args.parseAsync(a,m).catch(g=>{throw l.addIssue(n(a,g)),l}),i=await Reflect.apply(u,this,v);return await h._def.returns._def.type.parseAsync(i,m).catch(g=>{throw l.addIssue(o(i,g)),l})})}else{const h=this;return pf(function(...a){const l=h._def.args.safeParse(a,m);if(!l.success)throw new Gh([n(a,l.error)]);const v=Reflect.apply(u,this,l.data),i=h._def.returns.safeParse(v,m);if(!i.success)throw new Gh([o(v,i.error)]);return i.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new u4({...this._def,args:X1.create(t).rest(e_.create())})}returns(t){return new u4({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,r,n){return new u4({args:t||X1.create([]).rest(e_.create()),returns:r||e_.create(),typeName:yo.ZodFunction,...Xo(n)})}}class V5 extends Ho{get schema(){return this._def.getter()}_parse(t){const{ctx:r}=this._processInputParams(t);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}}V5.create=(e,t)=>new V5({getter:e,typeName:yo.ZodLazy,...Xo(t)});class G5 extends Ho{_parse(t){if(t.data!==this._def.value){const r=this._getOrReturnCtx(t);return Oi(r,{received:r.data,code:ui.invalid_literal,expected:this._def.value}),bo}return{status:"valid",value:t.data}}get value(){return this._def.value}}G5.create=(e,t)=>new G5({value:e,typeName:yo.ZodLiteral,...Xo(t)});function iKe(e,t){return new Yg({values:e,typeName:yo.ZodEnum,...Xo(t)})}class Yg extends Ho{constructor(){super(...arguments),ZM.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const r=this._getOrReturnCtx(t),n=this._def.values;return Oi(r,{expected:ks.joinValues(n),received:r.parsedType,code:ui.invalid_type}),bo}if(qoe(this,ZM)||tKe(this,ZM,new Set(this._def.values)),!qoe(this,ZM).has(t.data)){const r=this._getOrReturnCtx(t),n=this._def.values;return Oi(r,{received:r.data,code:ui.invalid_enum_value,options:n}),bo}return pf(t.data)}get options(){return this._def.values}get enum(){const t={};for(const r of this._def.values)t[r]=r;return t}get Values(){const t={};for(const r of this._def.values)t[r]=r;return t}get Enum(){const t={};for(const r of this._def.values)t[r]=r;return t}extract(t,r=this._def){return Yg.create(t,{...this._def,...r})}exclude(t,r=this._def){return Yg.create(this.options.filter(n=>!t.includes(n)),{...this._def,...r})}}ZM=new WeakMap,Yg.create=iKe;class j5 extends Ho{constructor(){super(...arguments),QM.set(this,void 0)}_parse(t){const r=ks.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(t);if(n.parsedType!==zi.string&&n.parsedType!==zi.number){const o=ks.objectValues(r);return Oi(n,{expected:ks.joinValues(o),received:n.parsedType,code:ui.invalid_type}),bo}if(qoe(this,QM)||tKe(this,QM,new Set(ks.getValidEnumValues(this._def.values))),!qoe(this,QM).has(t.data)){const o=ks.objectValues(r);return Oi(n,{received:n.data,code:ui.invalid_enum_value,options:o}),bo}return pf(t.data)}get enum(){return this._def.values}}QM=new WeakMap,j5.create=(e,t)=>new j5({values:e,typeName:yo.ZodNativeEnum,...Xo(t)});class d4 extends Ho{unwrap(){return this._def.type}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==zi.promise&&r.common.async===!1)return Oi(r,{code:ui.invalid_type,expected:zi.promise,received:r.parsedType}),bo;const n=r.parsedType===zi.promise?r.data:Promise.resolve(r.data);return pf(n.then(o=>this._def.type.parseAsync(o,{path:r.path,errorMap:r.common.contextualErrorMap})))}}d4.create=(e,t)=>new d4({type:e,typeName:yo.ZodPromise,...Xo(t)});class Xp extends Ho{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===yo.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:r,ctx:n}=this._processInputParams(t),o=this._def.effect||null,m={addIssue:u=>{Oi(n,u),u.fatal?r.abort():r.dirty()},get path(){return n.path}};if(m.addIssue=m.addIssue.bind(m),o.type==="preprocess"){const u=o.transform(n.data,m);if(n.common.async)return Promise.resolve(u).then(async h=>{if(r.value==="aborted")return bo;const a=await this._def.schema._parseAsync({data:h,path:n.path,parent:n});return a.status==="aborted"?bo:a.status==="dirty"||r.value==="dirty"?l4(a.value):a});{if(r.value==="aborted")return bo;const h=this._def.schema._parseSync({data:u,path:n.path,parent:n});return h.status==="aborted"?bo:h.status==="dirty"||r.value==="dirty"?l4(h.value):h}}if(o.type==="refinement"){const u=h=>{const a=o.refinement(h,m);if(n.common.async)return Promise.resolve(a);if(a instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return h};if(n.common.async===!1){const h=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return h.status==="aborted"?bo:(h.status==="dirty"&&r.dirty(),u(h.value),{status:r.value,value:h.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(h=>h.status==="aborted"?bo:(h.status==="dirty"&&r.dirty(),u(h.value).then(()=>({status:r.value,value:h.value}))))}if(o.type==="transform")if(n.common.async===!1){const u=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!Q2(u))return u;const h=o.transform(u.value,m);if(h instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:h}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(u=>Q2(u)?Promise.resolve(o.transform(u.value,m)).then(h=>({status:r.value,value:h})):u);ks.assertNever(o)}}Xp.create=(e,t,r)=>new Xp({schema:e,typeName:yo.ZodEffects,effect:t,...Xo(r)}),Xp.createWithPreprocess=(e,t,r)=>new Xp({schema:t,effect:{type:"preprocess",transform:e},typeName:yo.ZodEffects,...Xo(r)});class q1 extends Ho{_parse(t){return this._getType(t)===zi.undefined?pf(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}q1.create=(e,t)=>new q1({innerType:e,typeName:yo.ZodOptional,...Xo(t)});class Wg extends Ho{_parse(t){return this._getType(t)===zi.null?pf(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Wg.create=(e,t)=>new Wg({innerType:e,typeName:yo.ZodNullable,...Xo(t)});class Y5 extends Ho{_parse(t){const{ctx:r}=this._processInputParams(t);let n=r.data;return r.parsedType===zi.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:r.path,parent:r})}removeDefault(){return this._def.innerType}}Y5.create=(e,t)=>new Y5({innerType:e,typeName:yo.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...Xo(t)});class W5 extends Ho{_parse(t){const{ctx:r}=this._processInputParams(t),n={...r,common:{...r.common,issues:[]}},o=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return D5(o)?o.then(m=>({status:"valid",value:m.status==="valid"?m.value:this._def.catchValue({get error(){return new Gh(n.common.issues)},input:n.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new Gh(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}W5.create=(e,t)=>new W5({innerType:e,typeName:yo.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...Xo(t)});class n8 extends Ho{_parse(t){if(this._getType(t)!==zi.nan){const n=this._getOrReturnCtx(t);return Oi(n,{code:ui.invalid_type,expected:zi.nan,received:n.parsedType}),bo}return{status:"valid",value:t.data}}}n8.create=e=>new n8({typeName:yo.ZodNaN,...Xo(e)});const oKe=Symbol("zod_brand");class Zoe extends Ho{_parse(t){const{ctx:r}=this._processInputParams(t),n=r.data;return this._def.type._parse({data:n,path:r.path,parent:r})}unwrap(){return this._def.type}}class K5 extends Ho{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.common.async)return(async()=>{const m=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return m.status==="aborted"?bo:m.status==="dirty"?(r.dirty(),l4(m.value)):this._def.out._parseAsync({data:m.value,path:n.path,parent:n})})();{const o=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return o.status==="aborted"?bo:o.status==="dirty"?(r.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:n.path,parent:n})}}static create(t,r){return new K5({in:t,out:r,typeName:yo.ZodPipeline})}}class X5 extends Ho{_parse(t){const r=this._def.innerType._parse(t),n=o=>(Q2(o)&&(o.value=Object.freeze(o.value)),o);return D5(r)?r.then(o=>n(o)):n(r)}unwrap(){return this._def.innerType}}X5.create=(e,t)=>new X5({innerType:e,typeName:yo.ZodReadonly,...Xo(t)});function Sbe(e,t={},r){return e?c4.create().superRefine((n,o)=>{var m,u;if(!e(n)){const h=typeof t=="function"?t(n):typeof t=="string"?{message:t}:t,a=(u=(m=h.fatal)!==null&&m!==void 0?m:r)!==null&&u!==void 0?u:!0,l=typeof h=="string"?{message:h}:h;o.addIssue({code:"custom",...l,fatal:a})}}):c4.create()}const sKe={object:lc.lazycreate};var yo;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(yo||(yo={}));const lKe=(e,t={message:`Input not instance of ${e.name}`})=>Sbe(r=>r instanceof e,t),wbe=q0.create,Tbe=Vg.create,cKe=n8.create,uKe=Gg.create,Abe=P5.create,dKe=J2.create,fKe=JM.create,hKe=F5.create,pKe=B5.create,vKe=c4.create,mKe=e_.create,gKe=bm.create,yKe=e8.create,_Ke=Z0.create,xKe=lc.create,bKe=lc.strictCreate,EKe=U5.create,SKe=t8.create,wKe=$5.create,TKe=X1.create,AKe=H5.create,CKe=r8.create,kKe=t_.create,MKe=u4.create,RKe=V5.create,NKe=G5.create,IKe=Yg.create,LKe=j5.create,OKe=d4.create,Qoe=Xp.create,DKe=q1.create,PKe=Wg.create,FKe=Xp.createWithPreprocess,BKe=K5.create,zKe=()=>wbe().optional(),UKe=()=>Tbe().optional(),$Ke=()=>Abe().optional(),HKe={string:e=>q0.create({...e,coerce:!0}),number:e=>Vg.create({...e,coerce:!0}),boolean:e=>P5.create({...e,coerce:!0}),bigint:e=>Gg.create({...e,coerce:!0}),date:e=>J2.create({...e,coerce:!0})},VKe=bo;var GKe=Object.freeze({__proto__:null,defaultErrorMap:s4,setErrorMap:JWe,getErrorMap:XM,makeIssue:qM,EMPTY_PATH:eKe,addIssueToContext:Oi,ParseStatus:Pd,INVALID:bo,DIRTY:l4,OK:pf,isAborted:Koe,isDirty:Xoe,isValid:Q2,isAsync:D5,get util(){return ks},get objectUtil(){return Woe},ZodParsedType:zi,getParsedType:_m,ZodType:Ho,datetimeRegex:bbe,ZodString:q0,ZodNumber:Vg,ZodBigInt:Gg,ZodBoolean:P5,ZodDate:J2,ZodSymbol:JM,ZodUndefined:F5,ZodNull:B5,ZodAny:c4,ZodUnknown:e_,ZodNever:bm,ZodVoid:e8,ZodArray:Z0,ZodObject:lc,ZodUnion:U5,ZodDiscriminatedUnion:t8,ZodIntersection:$5,ZodTuple:X1,ZodRecord:H5,ZodMap:r8,ZodSet:t_,ZodFunction:u4,ZodLazy:V5,ZodLiteral:G5,ZodEnum:Yg,ZodNativeEnum:j5,ZodPromise:d4,ZodEffects:Xp,ZodTransformer:Xp,ZodOptional:q1,ZodNullable:Wg,ZodDefault:Y5,ZodCatch:W5,ZodNaN:n8,BRAND:oKe,ZodBranded:Zoe,ZodPipeline:K5,ZodReadonly:X5,custom:Sbe,Schema:Ho,ZodSchema:Ho,late:sKe,get ZodFirstPartyTypeKind(){return yo},coerce:HKe,any:vKe,array:_Ke,bigint:uKe,boolean:Abe,date:dKe,discriminatedUnion:SKe,effect:Qoe,enum:IKe,function:MKe,instanceof:lKe,intersection:wKe,lazy:RKe,literal:NKe,map:CKe,nan:cKe,nativeEnum:LKe,never:gKe,null:pKe,nullable:PKe,number:Tbe,object:xKe,oboolean:$Ke,onumber:UKe,optional:DKe,ostring:zKe,pipeline:BKe,preprocess:FKe,promise:OKe,record:AKe,set:kKe,strictObject:bKe,string:wbe,symbol:fKe,transformer:Qoe,tuple:TKe,undefined:hKe,union:EKe,unknown:mKe,void:yKe,NEVER:VKe,ZodIssueCode:ui,quotelessJson:ZWe,ZodError:Gh});const IXt=Object.freeze(Object.defineProperty({__proto__:null,BRAND:oKe,DIRTY:l4,EMPTY_PATH:eKe,INVALID:bo,NEVER:VKe,OK:pf,ParseStatus:Pd,Schema:Ho,ZodAny:c4,ZodArray:Z0,ZodBigInt:Gg,ZodBoolean:P5,ZodBranded:Zoe,ZodCatch:W5,ZodDate:J2,ZodDefault:Y5,ZodDiscriminatedUnion:t8,ZodEffects:Xp,ZodEnum:Yg,ZodError:Gh,get ZodFirstPartyTypeKind(){return yo},ZodFunction:u4,ZodIntersection:$5,ZodIssueCode:ui,ZodLazy:V5,ZodLiteral:G5,ZodMap:r8,ZodNaN:n8,ZodNativeEnum:j5,ZodNever:bm,ZodNull:B5,ZodNullable:Wg,ZodNumber:Vg,ZodObject:lc,ZodOptional:q1,ZodParsedType:zi,ZodPipeline:K5,ZodPromise:d4,ZodReadonly:X5,ZodRecord:H5,ZodSchema:Ho,ZodSet:t_,ZodString:q0,ZodSymbol:JM,ZodTransformer:Xp,ZodTuple:X1,ZodType:Ho,ZodUndefined:F5,ZodUnion:U5,ZodUnknown:e_,ZodVoid:e8,addIssueToContext:Oi,any:vKe,array:_Ke,bigint:uKe,boolean:Abe,coerce:HKe,custom:Sbe,date:dKe,datetimeRegex:bbe,default:GKe,defaultErrorMap:s4,discriminatedUnion:SKe,effect:Qoe,enum:IKe,function:MKe,getErrorMap:XM,getParsedType:_m,instanceof:lKe,intersection:wKe,isAborted:Koe,isAsync:D5,isDirty:Xoe,isValid:Q2,late:sKe,lazy:RKe,literal:NKe,makeIssue:qM,map:CKe,nan:cKe,nativeEnum:LKe,never:gKe,null:pKe,nullable:PKe,number:Tbe,object:xKe,get objectUtil(){return Woe},oboolean:$Ke,onumber:UKe,optional:DKe,ostring:zKe,pipeline:BKe,preprocess:FKe,promise:OKe,quotelessJson:ZWe,record:AKe,set:kKe,setErrorMap:JWe,strictObject:bKe,string:wbe,symbol:fKe,transformer:Qoe,tuple:TKe,undefined:hKe,union:EKe,unknown:mKe,get util(){return ks},void:yKe,z:GKe},Symbol.toStringTag,{value:"Module"}));var Cbe="Collapsible",[LXt,jKe]=Lc(Cbe),[OXt,kbe]=LXt(Cbe),YKe=Ue.forwardRef((e,t)=>{const{__scopeCollapsible:r,open:n,defaultOpen:o,disabled:m,onOpenChange:u,...h}=e,[a=!1,l]=Nd({prop:n,defaultProp:o,onChange:u});return Oe.jsx(OXt,{scope:r,disabled:m,contentId:Rd(),open:a,onOpenToggle:Ue.useCallback(()=>l(v=>!v),[l]),children:Oe.jsx(Zi.div,{"data-state":Rbe(a),"data-disabled":m?"":void 0,...h,ref:t})})});YKe.displayName=Cbe;var WKe="CollapsibleTrigger",KKe=Ue.forwardRef((e,t)=>{const{__scopeCollapsible:r,...n}=e,o=kbe(WKe,r);return Oe.jsx(Zi.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Rbe(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...n,ref:t,onClick:qa(e.onClick,o.onOpenToggle)})});KKe.displayName=WKe;var Mbe="CollapsibleContent",XKe=Ue.forwardRef((e,t)=>{const{forceMount:r,...n}=e,o=kbe(Mbe,e.__scopeCollapsible);return Oe.jsx(Lu,{present:r||o.open,children:({present:m})=>Oe.jsx(DXt,{...n,ref:t,present:m})})});XKe.displayName=Mbe;var DXt=Ue.forwardRef((e,t)=>{const{__scopeCollapsible:r,present:n,children:o,...m}=e,u=kbe(Mbe,r),[h,a]=Ue.useState(n),l=Ue.useRef(null),v=co(t,l),i=Ue.useRef(0),S=i.current,g=Ue.useRef(0),p=g.current,_=u.open||h,c=Ue.useRef(_),s=Ue.useRef(void 0);return Ue.useEffect(()=>{const d=requestAnimationFrame(()=>c.current=!1);return()=>cancelAnimationFrame(d)},[]),Iu(()=>{const d=l.current;if(d){s.current=s.current||{transitionDuration:d.style.transitionDuration,animationName:d.style.animationName},d.style.transitionDuration="0s",d.style.animationName="none";const f=d.getBoundingClientRect();i.current=f.height,g.current=f.width,c.current||(d.style.transitionDuration=s.current.transitionDuration,d.style.animationName=s.current.animationName),a(n)}},[u.open,n]),Oe.jsx(Zi.div,{"data-state":Rbe(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!_,...m,ref:v,style:{"--radix-collapsible-content-height":S?`${S}px`:void 0,"--radix-collapsible-content-width":p?`${p}px`:void 0,...e.style},children:_&&o})});function Rbe(e){return e?"open":"closed"}var PXt=YKe,FXt=KKe,BXt=XKe,Kg="Accordion",zXt=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Nbe,UXt,$Xt]=Zk(Kg),[Joe,y8r]=Lc(Kg,[$Xt,jKe]),Ibe=jKe(),qKe=wn.forwardRef((e,t)=>{const{type:r,...n}=e,o=n,m=n;return Oe.jsx(Nbe.Provider,{scope:e.__scopeAccordion,children:r==="multiple"?Oe.jsx(jXt,{...m,ref:t}):Oe.jsx(GXt,{...o,ref:t})})});qKe.displayName=Kg;var[ZKe,HXt]=Joe(Kg),[QKe,VXt]=Joe(Kg,{collapsible:!1}),GXt=wn.forwardRef((e,t)=>{const{value:r,defaultValue:n,onValueChange:o=()=>{},collapsible:m=!1,...u}=e,[h,a]=Nd({prop:r,defaultProp:n,onChange:o});return Oe.jsx(ZKe,{scope:e.__scopeAccordion,value:h?[h]:[],onItemOpen:a,onItemClose:wn.useCallback(()=>m&&a(""),[m,a]),children:Oe.jsx(QKe,{scope:e.__scopeAccordion,collapsible:m,children:Oe.jsx(JKe,{...u,ref:t})})})}),jXt=wn.forwardRef((e,t)=>{const{value:r,defaultValue:n,onValueChange:o=()=>{},...m}=e,[u=[],h]=Nd({prop:r,defaultProp:n,onChange:o}),a=wn.useCallback(v=>h((i=[])=>[...i,v]),[h]),l=wn.useCallback(v=>h((i=[])=>i.filter(S=>S!==v)),[h]);return Oe.jsx(ZKe,{scope:e.__scopeAccordion,value:u,onItemOpen:a,onItemClose:l,children:Oe.jsx(QKe,{scope:e.__scopeAccordion,collapsible:!0,children:Oe.jsx(JKe,{...m,ref:t})})})}),[YXt,ese]=Joe(Kg),JKe=wn.forwardRef((e,t)=>{const{__scopeAccordion:r,disabled:n,dir:o,orientation:m="vertical",...u}=e,h=wn.useRef(null),a=co(h,t),l=UXt(r),i=L2(o)==="ltr",S=qa(e.onKeyDown,g=>{var w;if(!zXt.includes(g.key))return;const p=g.target,_=l().filter(R=>{var A;return!((A=R.ref.current)!=null&&A.disabled)}),c=_.findIndex(R=>R.ref.current===p),s=_.length;if(c===-1)return;g.preventDefault();let d=c;const f=0,b=s-1,x=()=>{d=c+1,d>b&&(d=f)},y=()=>{d=c-1,d<f&&(d=b)};switch(g.key){case"Home":d=f;break;case"End":d=b;break;case"ArrowRight":m==="horizontal"&&(i?x():y());break;case"ArrowDown":m==="vertical"&&x();break;case"ArrowLeft":m==="horizontal"&&(i?y():x());break;case"ArrowUp":m==="vertical"&&y();break}const C=d%s;(w=_[C].ref.current)==null||w.focus()});return Oe.jsx(YXt,{scope:r,disabled:n,direction:o,orientation:m,children:Oe.jsx(Nbe.Slot,{scope:r,children:Oe.jsx(Zi.div,{...u,"data-orientation":m,ref:a,onKeyDown:n?void 0:S})})})}),tse="AccordionItem",[WXt,Lbe]=Joe(tse),eXe=wn.forwardRef((e,t)=>{const{__scopeAccordion:r,value:n,...o}=e,m=ese(tse,r),u=HXt(tse,r),h=Ibe(r),a=Rd(),l=n&&u.value.includes(n)||!1,v=m.disabled||e.disabled;return Oe.jsx(WXt,{scope:r,open:l,disabled:v,triggerId:a,children:Oe.jsx(PXt,{"data-orientation":m.orientation,"data-state":oXe(l),...h,...o,ref:t,disabled:v,open:l,onOpenChange:i=>{i?u.onItemOpen(n):u.onItemClose(n)}})})});eXe.displayName=tse;var tXe="AccordionHeader",rXe=wn.forwardRef((e,t)=>{const{__scopeAccordion:r,...n}=e,o=ese(Kg,r),m=Lbe(tXe,r);return Oe.jsx(Zi.h3,{"data-orientation":o.orientation,"data-state":oXe(m.open),"data-disabled":m.disabled?"":void 0,...n,ref:t})});rXe.displayName=tXe;var Obe="AccordionTrigger",nXe=wn.forwardRef((e,t)=>{const{__scopeAccordion:r,...n}=e,o=ese(Kg,r),m=Lbe(Obe,r),u=VXt(Obe,r),h=Ibe(r);return Oe.jsx(Nbe.ItemSlot,{scope:r,children:Oe.jsx(FXt,{"aria-disabled":m.open&&!u.collapsible||void 0,"data-orientation":o.orientation,id:m.triggerId,...h,...n,ref:t})})});nXe.displayName=Obe;var aXe="AccordionContent",iXe=wn.forwardRef((e,t)=>{const{__scopeAccordion:r,...n}=e,o=ese(Kg,r),m=Lbe(aXe,r),u=Ibe(r);return Oe.jsx(BXt,{role:"region","aria-labelledby":m.triggerId,"data-orientation":o.orientation,...u,...n,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});iXe.displayName=aXe;function oXe(e){return e?"open":"closed"}var KXt=qKe,XXt=eXe,qXt=rXe,sXe=nXe,lXe=iXe;const cXe=KXt,Dbe=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(XXt,{ref:r,className:ga("border-b",e),...t}));Dbe.displayName="AccordionItem";const Pbe=Ue.forwardRef(({className:e,children:t,...r},n)=>Oe.jsx(qXt,{className:"flex",children:Oe.jsxs(sXe,{ref:n,className:ga("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...r,children:[t,Oe.jsx(R2,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));Pbe.displayName=sXe.displayName;const Fbe=Ue.forwardRef(({className:e,children:t,...r},n)=>Oe.jsx(lXe,{ref:n,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...r,children:Oe.jsx("div",{className:ga("pb-4 pt-0",e),children:t})}));Fbe.displayName=lXe.displayName;const ZXt=Object.freeze(Object.defineProperty({__proto__:null,Accordion:cXe,AccordionContent:Fbe,AccordionItem:Dbe,AccordionTrigger:Pbe},Symbol.toStringTag,{value:"Module"}));function QXt(e){return Object.prototype.toString.call(e)==="[object Object]"}function uXe(e){return QXt(e)||Array.isArray(e)}function JXt(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Bbe(e,t){const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;const o=JSON.stringify(Object.keys(e.breakpoints||{})),m=JSON.stringify(Object.keys(t.breakpoints||{}));return o!==m?!1:r.every(u=>{const h=e[u],a=t[u];return typeof h=="function"?`${h}`==`${a}`:!uXe(h)||!uXe(a)?h===a:Bbe(h,a)})}function dXe(e){return e.concat().sort((t,r)=>t.name>r.name?1:-1).map(t=>t.options)}function eqt(e,t){if(e.length!==t.length)return!1;const r=dXe(e),n=dXe(t);return r.every((o,m)=>{const u=n[m];return Bbe(o,u)})}function zbe(e){return typeof e=="number"}function Ube(e){return typeof e=="string"}function rse(e){return typeof e=="boolean"}function fXe(e){return Object.prototype.toString.call(e)==="[object Object]"}function wc(e){return Math.abs(e)}function $be(e){return Math.sign(e)}function a8(e,t){return wc(e-t)}function tqt(e,t){if(e===0||t===0||wc(e)<=wc(t))return 0;const r=a8(wc(e),wc(t));return wc(r/e)}function rqt(e){return Math.round(e*100)/100}function i8(e){return s8(e).map(Number)}function Z1(e){return e[o8(e)]}function o8(e){return Math.max(0,e.length-1)}function Hbe(e,t){return t===o8(e)}function hXe(e,t=0){return Array.from(Array(e),(r,n)=>t+n)}function s8(e){return Object.keys(e)}function pXe(e,t){return[e,t].reduce((r,n)=>(s8(n).forEach(o=>{const m=r[o],u=n[o],h=fXe(m)&&fXe(u);r[o]=h?pXe(m,u):u}),r),{})}function Vbe(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function nqt(e,t){const r={start:n,center:o,end:m};function n(){return 0}function o(a){return m(a)/2}function m(a){return t-a}function u(a,l){return Ube(e)?r[e](a):e(t,a,l)}return{measure:u}}function l8(){let e=[];function t(o,m,u,h={passive:!0}){let a;if("addEventListener"in o)o.addEventListener(m,u,h),a=()=>o.removeEventListener(m,u,h);else{const l=o;l.addListener(u),a=()=>l.removeListener(u)}return e.push(a),n}function r(){e=e.filter(o=>o())}const n={add:t,clear:r};return n}function aqt(e,t,r,n){const o=l8(),m=1e3/60;let u=null,h=0,a=0;function l(){o.add(e,"visibilitychange",()=>{e.hidden&&p()})}function v(){g(),o.clear()}function i(c){if(!a)return;u||(u=c);const s=c-u;for(u=c,h+=s;h>=m;)r(),h-=m;const d=h/m;n(d),a&&(a=t.requestAnimationFrame(i))}function S(){a||(a=t.requestAnimationFrame(i))}function g(){t.cancelAnimationFrame(a),u=null,h=0,a=0}function p(){u=null,h=0}return{init:l,destroy:v,start:S,stop:g,update:r,render:n}}function iqt(e,t){const r=t==="rtl",n=e==="y",o=n?"y":"x",m=n?"x":"y",u=!n&&r?-1:1,h=v(),a=i();function l(p){const{height:_,width:c}=p;return n?_:c}function v(){return n?"top":r?"right":"left"}function i(){return n?"bottom":r?"left":"right"}function S(p){return p*u}return{scroll:o,cross:m,startEdge:h,endEdge:a,measureSize:l,direction:S}}function f4(e=0,t=0){const r=wc(e-t);function n(l){return l<e}function o(l){return l>t}function m(l){return n(l)||o(l)}function u(l){return m(l)?n(l)?e:t:l}function h(l){return r?l-r*Math.ceil((l-t)/r):l}return{length:r,max:t,min:e,constrain:u,reachedAny:m,reachedMax:o,reachedMin:n,removeOffset:h}}function vXe(e,t,r){const{constrain:n}=f4(0,e),o=e+1;let m=u(t);function u(S){return r?wc((o+S)%o):n(S)}function h(){return m}function a(S){return m=u(S),i}function l(S){return v().set(h()+S)}function v(){return vXe(e,h(),r)}const i={get:h,set:a,add:l,clone:v};return i}function oqt(e,t,r,n,o,m,u,h,a,l,v,i,S,g,p,_,c,s,d){const{cross:f,direction:b}=e,x=["INPUT","SELECT","TEXTAREA"],y={passive:!1},C=l8(),w=l8(),R=f4(50,225).constrain(g.measure(20)),A={mouse:300,touch:400},E={mouse:500,touch:600},k=p?43:25;let L=!1,I=0,P=0,M=!1,F=!1,N=!1,T=!1;function D(ae){if(!d)return;function ie(J){(rse(d)||d(ae,J))&&V(J)}const he=t;C.add(he,"dragstart",J=>J.preventDefault(),y).add(he,"touchmove",()=>{},y).add(he,"touchend",()=>{}).add(he,"touchstart",ie).add(he,"mousedown",ie).add(he,"touchcancel",G).add(he,"contextmenu",G).add(he,"click",W,!0)}function O(){C.clear(),w.clear()}function U(){const ae=T?r:t;w.add(ae,"touchmove",j,y).add(ae,"touchend",G).add(ae,"mousemove",j,y).add(ae,"mouseup",G)}function B(ae){const ie=ae.nodeName||"";return x.includes(ie)}function Y(){return(p?E:A)[T?"mouse":"touch"]}function z(ae,ie){const he=i.add($be(ae)*-1),J=v.byDistance(ae,!p).distance;return p||wc(ae)<R?J:c&&ie?J*.5:v.byIndex(he.get(),0).distance}function V(ae){const ie=Vbe(ae,n);T=ie,N=p&&ie&&!ae.buttons&&L,L=a8(o.get(),u.get())>=2,!(ie&&ae.button!==0)&&(B(ae.target)||(M=!0,m.pointerDown(ae),l.useFriction(0).useDuration(0),o.set(u),U(),I=m.readPoint(ae),P=m.readPoint(ae,f),S.emit("pointerDown")))}function j(ae){if(!Vbe(ae,n)&&ae.touches.length>=2)return G(ae);const he=m.readPoint(ae),J=m.readPoint(ae,f),Z=a8(he,I),le=a8(J,P);if(!F&&!T&&(!ae.cancelable||(F=Z>le,!F)))return G(ae);const K=m.pointerMove(ae);Z>_&&(N=!0),l.useFriction(.3).useDuration(.75),h.start(),o.add(b(K)),ae.preventDefault()}function G(ae){const he=v.byDistance(0,!1).index!==i.get(),J=m.pointerUp(ae)*Y(),Z=z(b(J),he),le=tqt(J,Z),K=k-10*le,te=s+le/50;F=!1,M=!1,w.clear(),l.useDuration(K).useFriction(te),a.distance(Z,!p),T=!1,S.emit("pointerUp")}function W(ae){N&&(ae.stopPropagation(),ae.preventDefault(),N=!1)}function X(){return M}return{init:D,destroy:O,pointerDown:X}}function sqt(e,t){let n,o;function m(i){return i.timeStamp}function u(i,S){const p=`client${(S||e.scroll)==="x"?"X":"Y"}`;return(Vbe(i,t)?i:i.touches[0])[p]}function h(i){return n=i,o=i,u(i)}function a(i){const S=u(i)-u(o),g=m(i)-m(n)>170;return o=i,g&&(n=i),S}function l(i){if(!n||!o)return 0;const S=u(o)-u(n),g=m(i)-m(n),p=m(i)-m(o)>170,_=S/g;return g&&!p&&wc(_)>.1?_:0}return{pointerDown:h,pointerMove:a,pointerUp:l,readPoint:u}}function lqt(){function e(r){const{offsetTop:n,offsetLeft:o,offsetWidth:m,offsetHeight:u}=r;return{top:n,right:o+m,bottom:n+u,left:o,width:m,height:u}}return{measure:e}}function cqt(e){function t(n){return e*(n/100)}return{measure:t}}function uqt(e,t,r,n,o,m,u){const h=[e].concat(n);let a,l,v=[],i=!1;function S(c){return o.measureSize(u.measure(c))}function g(c){if(!m)return;l=S(e),v=n.map(S);function s(d){for(const f of d){if(i)return;const b=f.target===e,x=n.indexOf(f.target),y=b?l:v[x],C=S(b?e:n[x]);if(wc(C-y)>=.5){c.reInit(),t.emit("resize");break}}}a=new ResizeObserver(d=>{(rse(m)||m(c,d))&&s(d)}),r.requestAnimationFrame(()=>{h.forEach(d=>a.observe(d))})}function p(){i=!0,a&&a.disconnect()}return{init:g,destroy:p}}function dqt(e,t,r,n,o,m){let u=0,h=0,a=o,l=m,v=e.get(),i=0;function S(){const y=n.get()-e.get(),C=!a;let w=0;return C?(u=0,r.set(n),e.set(n),w=y):(r.set(e),u+=y/a,u*=l,v+=u,e.add(u),w=v-i),h=$be(w),i=v,x}function g(){const y=n.get()-t.get();return wc(y)<.001}function p(){return a}function _(){return h}function c(){return u}function s(){return f(o)}function d(){return b(m)}function f(y){return a=y,x}function b(y){return l=y,x}const x={direction:_,duration:p,velocity:c,seek:S,settled:g,useBaseFriction:d,useBaseDuration:s,useFriction:b,useDuration:f};return x}function fqt(e,t,r,n,o){const m=o.measure(10),u=o.measure(50),h=f4(.1,.99);let a=!1;function l(){return!(a||!e.reachedAny(r.get())||!e.reachedAny(t.get()))}function v(g){if(!l())return;const p=e.reachedMin(t.get())?"min":"max",_=wc(e[p]-t.get()),c=r.get()-t.get(),s=h.constrain(_/u);r.subtract(c*s),!g&&wc(c)<m&&(r.set(e.constrain(r.get())),n.useDuration(25).useBaseFriction())}function i(g){a=!g}return{shouldConstrain:l,constrain:v,toggleActive:i}}function hqt(e,t,r,n,o){const m=f4(-t+e,0),u=i(),h=v(),a=S();function l(p,_){return a8(p,_)<1}function v(){const p=u[0],_=Z1(u),c=u.lastIndexOf(p),s=u.indexOf(_)+1;return f4(c,s)}function i(){return r.map((p,_)=>{const{min:c,max:s}=m,d=m.constrain(p),f=!_,b=Hbe(r,_);return f?s:b||l(c,d)?c:l(s,d)?s:d}).map(p=>parseFloat(p.toFixed(3)))}function S(){if(t<=e+o)return[m.max];if(n==="keepSnaps")return u;const{min:p,max:_}=h;return u.slice(p,_)}return{snapsContained:a,scrollContainLimit:h}}function pqt(e,t,r){const n=t[0],o=r?n-e:Z1(t);return{limit:f4(o,n)}}function vqt(e,t,r,n){const m=t.min+.1,u=t.max+.1,{reachedMin:h,reachedMax:a}=f4(m,u);function l(S){return S===1?a(r.get()):S===-1?h(r.get()):!1}function v(S){if(!l(S))return;const g=e*(S*-1);n.forEach(p=>p.add(g))}return{loop:v}}function mqt(e){const{max:t,length:r}=e;function n(m){const u=m-t;return r?u/-r:0}return{get:n}}function gqt(e,t,r,n,o){const{startEdge:m,endEdge:u}=e,{groupSlides:h}=o,a=i().map(t.measure),l=S(),v=g();function i(){return h(n).map(_=>Z1(_)[u]-_[0][m]).map(wc)}function S(){return n.map(_=>r[m]-_[m]).map(_=>-wc(_))}function g(){return h(l).map(_=>_[0]).map((_,c)=>_+a[c])}return{snaps:l,snapsAligned:v}}function yqt(e,t,r,n,o,m){const{groupSlides:u}=o,{min:h,max:a}=n,l=v();function v(){const S=u(m),g=!e||t==="keepSnaps";return r.length===1?[m]:g?S:S.slice(h,a).map((p,_,c)=>{const s=!_,d=Hbe(c,_);if(s){const f=Z1(c[0])+1;return hXe(f)}if(d){const f=o8(m)-Z1(c)[0]+1;return hXe(f,Z1(c)[0])}return p})}return{slideRegistry:l}}function _qt(e,t,r,n,o){const{reachedAny:m,removeOffset:u,constrain:h}=n;function a(p){return p.concat().sort((_,c)=>wc(_)-wc(c))[0]}function l(p){const _=e?u(p):h(p),c=t.map((d,f)=>({diff:v(d-_,0),index:f})).sort((d,f)=>wc(d.diff)-wc(f.diff)),{index:s}=c[0];return{index:s,distance:_}}function v(p,_){const c=[p,p+r,p-r];if(!e)return p;if(!_)return a(c);const s=c.filter(d=>$be(d)===_);return s.length?a(s):Z1(c)-r}function i(p,_){const c=t[p]-o.get(),s=v(c,_);return{index:p,distance:s}}function S(p,_){const c=o.get()+p,{index:s,distance:d}=l(c),f=!e&&m(c);if(!_||f)return{index:s,distance:p};const b=t[s]-d,x=p+v(b,0);return{index:s,distance:x}}return{byDistance:S,byIndex:i,shortcut:v}}function xqt(e,t,r,n,o,m,u){function h(i){const S=i.distance,g=i.index!==t.get();m.add(S),S&&(n.duration()?e.start():(e.update(),e.render(1),e.update())),g&&(r.set(t.get()),t.set(i.index),u.emit("select"))}function a(i,S){const g=o.byDistance(i,S);h(g)}function l(i,S){const g=t.clone().set(i),p=o.byIndex(g.get(),S);h(p)}return{distance:a,index:l}}function bqt(e,t,r,n,o,m,u,h){const a={passive:!0,capture:!0};let l=0;function v(g){if(!h)return;function p(_){if(new Date().getTime()-l>10)return;u.emit("slideFocusStart"),e.scrollLeft=0;const d=r.findIndex(f=>f.includes(_));zbe(d)&&(o.useDuration(0),n.index(d,0),u.emit("slideFocus"))}m.add(document,"keydown",i,!1),t.forEach((_,c)=>{m.add(_,"focus",s=>{(rse(h)||h(g,s))&&p(c)},a)})}function i(g){g.code==="Tab"&&(l=new Date().getTime())}return{init:v}}function c8(e){let t=e;function r(){return t}function n(a){t=u(a)}function o(a){t+=u(a)}function m(a){t-=u(a)}function u(a){return zbe(a)?a:a.get()}return{get:r,set:n,add:o,subtract:m}}function mXe(e,t){const r=e.scroll==="x"?u:h,n=t.style;let o=null,m=!1;function u(S){return`translate3d(${S}px,0px,0px)`}function h(S){return`translate3d(0px,${S}px,0px)`}function a(S){if(m)return;const g=rqt(e.direction(S));g!==o&&(n.transform=r(g),o=g)}function l(S){m=!S}function v(){m||(n.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:v,to:a,toggleActive:l}}function Eqt(e,t,r,n,o,m,u,h,a){const v=i8(o),i=i8(o).reverse(),S=s().concat(d());function g(C,w){return C.reduce((R,A)=>R-o[A],w)}function p(C,w){return C.reduce((R,A)=>g(R,w)>0?R.concat([A]):R,[])}function _(C){return m.map((w,R)=>({start:w-n[R]+.5+C,end:w+t-.5+C}))}function c(C,w,R){const A=_(w);return C.map(E=>{const k=R?0:-r,L=R?r:0,I=R?"end":"start",P=A[E][I];return{index:E,loopPoint:P,slideLocation:c8(-1),translate:mXe(e,a[E]),target:()=>h.get()>P?k:L}})}function s(){const C=u[0],w=p(i,C);return c(w,r,!1)}function d(){const C=t-u[0]-1,w=p(v,C);return c(w,-r,!0)}function f(){return S.every(({index:C})=>{const w=v.filter(R=>R!==C);return g(w,t)<=.1})}function b(){S.forEach(C=>{const{target:w,translate:R,slideLocation:A}=C,E=w();E!==A.get()&&(R.to(E),A.set(E))})}function x(){S.forEach(C=>C.translate.clear())}return{canLoop:f,clear:x,loop:b,loopPoints:S}}function Sqt(e,t,r){let n,o=!1;function m(a){if(!r)return;function l(v){for(const i of v)if(i.type==="childList"){a.reInit(),t.emit("slidesChanged");break}}n=new MutationObserver(v=>{o||(rse(r)||r(a,v))&&l(v)}),n.observe(e,{childList:!0})}function u(){n&&n.disconnect(),o=!0}return{init:m,destroy:u}}function wqt(e,t,r,n){const o={};let m=null,u=null,h,a=!1;function l(){h=new IntersectionObserver(p=>{a||(p.forEach(_=>{const c=t.indexOf(_.target);o[c]=_}),m=null,u=null,r.emit("slidesInView"))},{root:e.parentElement,threshold:n}),t.forEach(p=>h.observe(p))}function v(){h&&h.disconnect(),a=!0}function i(p){return s8(o).reduce((_,c)=>{const s=parseInt(c),{isIntersecting:d}=o[s];return(p&&d||!p&&!d)&&_.push(s),_},[])}function S(p=!0){if(p&&m)return m;if(!p&&u)return u;const _=i(p);return p&&(m=_),p||(u=_),_}return{init:l,destroy:v,get:S}}function Tqt(e,t,r,n,o,m){const{measureSize:u,startEdge:h,endEdge:a}=e,l=r[0]&&o,v=p(),i=_(),S=r.map(u),g=c();function p(){if(!l)return 0;const d=r[0];return wc(t[h]-d[h])}function _(){if(!l)return 0;const d=m.getComputedStyle(Z1(n));return parseFloat(d.getPropertyValue(`margin-${a}`))}function c(){return r.map((d,f,b)=>{const x=!f,y=Hbe(b,f);return x?S[f]+v:y?S[f]+i:b[f+1][h]-d[h]}).map(wc)}return{slideSizes:S,slideSizesWithGaps:g,startGap:v,endGap:i}}function Aqt(e,t,r,n,o,m,u,h,a){const{startEdge:l,endEdge:v,direction:i}=e,S=zbe(r);function g(s,d){return i8(s).filter(f=>f%d===0).map(f=>s.slice(f,f+d))}function p(s){return s.length?i8(s).reduce((d,f,b)=>{const x=Z1(d)||0,y=x===0,C=f===o8(s),w=o[l]-m[x][l],R=o[l]-m[f][v],A=!n&&y?i(u):0,E=!n&&C?i(h):0,k=wc(R-E-(w+A));return b&&k>t+a&&d.push(f),C&&d.push(s.length),d},[]).map((d,f,b)=>{const x=Math.max(b[f-1]||0);return s.slice(x,d)}):[]}function _(s){return S?g(s,r):p(s)}return{groupSlides:_}}function Cqt(e,t,r,n,o,m,u){const{align:h,axis:a,direction:l,startIndex:v,loop:i,duration:S,dragFree:g,dragThreshold:p,inViewThreshold:_,slidesToScroll:c,skipSnaps:s,containScroll:d,watchResize:f,watchSlides:b,watchDrag:x,watchFocus:y}=m,C=2,w=lqt(),R=w.measure(t),A=r.map(w.measure),E=iqt(a,l),k=E.measureSize(R),L=cqt(k),I=nqt(h,k),P=!i&&!!d,M=i||!!d,{slideSizes:F,slideSizesWithGaps:N,startGap:T,endGap:D}=Tqt(E,R,A,r,M,o),O=Aqt(E,k,c,i,R,A,T,D,C),{snaps:U,snapsAligned:B}=gqt(E,I,R,A,O),Y=-Z1(U)+Z1(N),{snapsContained:z,scrollContainLimit:V}=hqt(k,Y,B,d,C),j=P?z:B,{limit:G}=pqt(Y,j,i),W=vXe(o8(j),v,i),X=W.clone(),Q=i8(r),ae=({dragHandler:Ae,scrollBody:Re,scrollBounds:be,options:{loop:Pe}})=>{Pe||be.constrain(Ae.pointerDown()),Re.seek()},ie=({scrollBody:Ae,translate:Re,location:be,offsetLocation:Pe,previousLocation:Ke,scrollLooper:ze,slideLooper:Fe,dragHandler:We,animation:lt,eventHandler:ht,scrollBounds:tt,options:{loop:et}},pt)=>{const vt=Ae.settled(),_t=!tt.shouldConstrain(),bt=et?vt:vt&&_t;bt&&!We.pointerDown()&&(lt.stop(),ht.emit("settle")),bt||ht.emit("scroll");const Rt=be.get()*pt+Ke.get()*(1-pt);Pe.set(Rt),et&&(ze.loop(Ae.direction()),Fe.loop()),Re.to(Pe.get())},he=aqt(n,o,()=>ae(Be),Ae=>ie(Be,Ae)),J=.68,Z=j[W.get()],le=c8(Z),K=c8(Z),te=c8(Z),ce=c8(Z),re=dqt(le,te,K,ce,S,J),ee=_qt(i,j,Y,G,ce),de=xqt(he,W,X,re,ee,ce,u),oe=mqt(G),fe=l8(),me=wqt(t,r,u,_),{slideRegistry:Te}=yqt(P,d,j,V,O,Q),we=bqt(e,r,Te,de,re,fe,u,y),Be={ownerDocument:n,ownerWindow:o,eventHandler:u,containerRect:R,slideRects:A,animation:he,axis:E,dragHandler:oqt(E,e,n,o,ce,sqt(E,o),le,he,de,re,ee,W,u,L,g,p,s,J,x),eventStore:fe,percentOfView:L,index:W,indexPrevious:X,limit:G,location:le,offsetLocation:te,previousLocation:K,options:m,resizeHandler:uqt(t,u,o,r,E,f,w),scrollBody:re,scrollBounds:fqt(G,te,ce,re,L),scrollLooper:vqt(Y,G,te,[le,te,K,ce]),scrollProgress:oe,scrollSnapList:j.map(oe.get),scrollSnaps:j,scrollTarget:ee,scrollTo:de,slideLooper:Eqt(E,k,Y,F,N,U,j,te,r),slideFocus:we,slidesHandler:Sqt(t,u,b),slidesInView:me,slideIndexes:Q,slideRegistry:Te,slidesToScroll:O,target:ce,translate:mXe(E,t)};return Be}function kqt(){let e={},t;function r(l){t=l}function n(l){return e[l]||[]}function o(l){return n(l).forEach(v=>v(t,l)),a}function m(l,v){return e[l]=n(l).concat([v]),a}function u(l,v){return e[l]=n(l).filter(i=>i!==v),a}function h(){e={}}const a={init:r,emit:o,off:u,on:m,clear:h};return a}const Mqt={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function Rqt(e){function t(m,u){return pXe(m,u||{})}function r(m){const u=m.breakpoints||{},h=s8(u).filter(a=>e.matchMedia(a).matches).map(a=>u[a]).reduce((a,l)=>t(a,l),{});return t(m,h)}function n(m){return m.map(u=>s8(u.breakpoints||{})).reduce((u,h)=>u.concat(h),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:r,optionsMediaQueries:n}}function Nqt(e){let t=[];function r(m,u){return t=u.filter(({options:h})=>e.optionsAtMedia(h).active!==!1),t.forEach(h=>h.init(m,e)),u.reduce((h,a)=>Object.assign(h,{[a.name]:a}),{})}function n(){t=t.filter(m=>m.destroy())}return{init:r,destroy:n}}function nse(e,t,r){const n=e.ownerDocument,o=n.defaultView,m=Rqt(o),u=Nqt(m),h=l8(),a=kqt(),{mergeOptions:l,optionsAtMedia:v,optionsMediaQueries:i}=m,{on:S,off:g,emit:p}=a,_=E;let c=!1,s,d=l(Mqt,nse.globalOptions),f=l(d),b=[],x,y,C;function w(){const{container:Q,slides:ae}=f;y=(Ube(Q)?e.querySelector(Q):Q)||e.children[0];const he=Ube(ae)?y.querySelectorAll(ae):ae;C=[].slice.call(he||y.children)}function R(Q){const ae=Cqt(e,y,C,n,o,Q,a);if(Q.loop&&!ae.slideLooper.canLoop()){const ie=Object.assign({},Q,{loop:!1});return R(ie)}return ae}function A(Q,ae){c||(d=l(d,Q),f=v(d),b=ae||b,w(),s=R(f),i([d,...b.map(({options:ie})=>ie)]).forEach(ie=>h.add(ie,"change",E)),f.active&&(s.translate.to(s.location.get()),s.animation.init(),s.slidesInView.init(),s.slideFocus.init(X),s.eventHandler.init(X),s.resizeHandler.init(X),s.slidesHandler.init(X),s.options.loop&&s.slideLooper.loop(),y.offsetParent&&C.length&&s.dragHandler.init(X),x=u.init(X,b)))}function E(Q,ae){const ie=O();k(),A(l({startIndex:ie},Q),ae),a.emit("reInit")}function k(){s.dragHandler.destroy(),s.eventStore.clear(),s.translate.clear(),s.slideLooper.clear(),s.resizeHandler.destroy(),s.slidesHandler.destroy(),s.slidesInView.destroy(),s.animation.destroy(),u.destroy(),h.clear()}function L(){c||(c=!0,h.clear(),k(),a.emit("destroy"),a.clear())}function I(Q,ae,ie){!f.active||c||(s.scrollBody.useBaseFriction().useDuration(ae===!0?0:f.duration),s.scrollTo.index(Q,ie||0))}function P(Q){const ae=s.index.add(1).get();I(ae,Q,-1)}function M(Q){const ae=s.index.add(-1).get();I(ae,Q,1)}function F(){return s.index.add(1).get()!==O()}function N(){return s.index.add(-1).get()!==O()}function T(){return s.scrollSnapList}function D(){return s.scrollProgress.get(s.location.get())}function O(){return s.index.get()}function U(){return s.indexPrevious.get()}function B(){return s.slidesInView.get()}function Y(){return s.slidesInView.get(!1)}function z(){return x}function V(){return s}function j(){return e}function G(){return y}function W(){return C}const X={canScrollNext:F,canScrollPrev:N,containerNode:G,internalEngine:V,destroy:L,off:g,on:S,emit:p,plugins:z,previousScrollSnap:U,reInit:_,rootNode:j,scrollNext:P,scrollPrev:M,scrollProgress:D,scrollSnapList:T,scrollTo:I,selectedScrollSnap:O,slideNodes:W,slidesInView:B,slidesNotInView:Y};return A(t,r),setTimeout(()=>a.emit("init"),0),X}nse.globalOptions=void 0;function Gbe(e={},t=[]){const r=Ue.useRef(e),n=Ue.useRef(t),[o,m]=Ue.useState(),[u,h]=Ue.useState(),a=Ue.useCallback(()=>{o&&o.reInit(r.current,n.current)},[o]);return Ue.useEffect(()=>{Bbe(r.current,e)||(r.current=e,a())},[e,a]),Ue.useEffect(()=>{eqt(n.current,t)||(n.current=t,a())},[t,a]),Ue.useEffect(()=>{if(JXt()&&u){nse.globalOptions=Gbe.globalOptions;const l=nse(u,r.current,n.current);return m(l),()=>l.destroy()}else m(void 0)},[u,m]),[h,o]}Gbe.globalOptions=void 0;const gXe=Ue.createContext(null);function ase(){const e=Ue.useContext(gXe);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const yXe=Ue.forwardRef(({orientation:e="horizontal",opts:t,setApi:r,plugins:n,className:o,children:m,...u},h)=>{const[a,l]=Gbe({...t,axis:e==="horizontal"?"x":"y"},n),[v,i]=Ue.useState(!1),[S,g]=Ue.useState(!1),p=Ue.useCallback(d=>{d&&(i(d.canScrollPrev()),g(d.canScrollNext()))},[]),_=Ue.useCallback(()=>{l==null||l.scrollPrev()},[l]),c=Ue.useCallback(()=>{l==null||l.scrollNext()},[l]),s=Ue.useCallback(d=>{d.key==="ArrowLeft"?(d.preventDefault(),_()):d.key==="ArrowRight"&&(d.preventDefault(),c())},[_,c]);return Ue.useEffect(()=>{!l||!r||r(l)},[l,r]),Ue.useEffect(()=>{if(l)return p(l),l.on("reInit",p),l.on("select",p),()=>{l==null||l.off("select",p)}},[l,p]),Oe.jsx(gXe.Provider,{value:{carouselRef:a,api:l,opts:t,orientation:e||((t==null?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:_,scrollNext:c,canScrollPrev:v,canScrollNext:S},children:Oe.jsx("div",{ref:h,onKeyDownCapture:s,className:ga("relative",o),role:"region","aria-roledescription":"carousel",...u,children:m})})});yXe.displayName="Carousel";const _Xe=Ue.forwardRef(({className:e,...t},r)=>{const{carouselRef:n,orientation:o}=ase();return Oe.jsx("div",{ref:n,className:"overflow-hidden",children:Oe.jsx("div",{ref:r,className:ga("flex",o==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});_Xe.displayName="CarouselContent";const xXe=Ue.forwardRef(({className:e,...t},r)=>{const{orientation:n}=ase();return Oe.jsx("div",{ref:r,role:"group","aria-roledescription":"slide",className:ga("min-w-0 shrink-0 grow-0 basis-full",n==="horizontal"?"pl-4":"pt-4",e),...t})});xXe.displayName="CarouselItem";const bXe=Ue.forwardRef(({className:e,variant:t="outline",size:r="icon",...n},o)=>{const{orientation:m,scrollPrev:u,canScrollPrev:h}=ase();return Oe.jsxs(Ko,{ref:o,variant:t,size:r,className:ga("absolute h-8 w-8 rounded-full",m==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!h,onClick:u,...n,children:[Oe.jsx(Pk,{className:"h-4 w-4"}),Oe.jsx("span",{className:"sr-only",children:"Previous slide"})]})});bXe.displayName="CarouselPrevious";const EXe=Ue.forwardRef(({className:e,variant:t="outline",size:r="icon",...n},o)=>{const{orientation:m,scrollNext:u,canScrollNext:h}=ase();return Oe.jsxs(Ko,{ref:o,variant:t,size:r,className:ga("absolute h-8 w-8 rounded-full",m==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!h,onClick:u,...n,children:[Oe.jsx(Fk,{className:"h-4 w-4"}),Oe.jsx("span",{className:"sr-only",children:"Next slide"})]})});EXe.displayName="CarouselNext";const Iqt=Object.freeze(Object.defineProperty({__proto__:null,Carousel:yXe,CarouselContent:_Xe,CarouselItem:xXe,CarouselNext:EXe,CarouselPrevious:bXe},Symbol.toStringTag,{value:"Module"}));var jbe="rovingFocusGroup.onEntryFocus",Lqt={bubbles:!1,cancelable:!0},ise="RovingFocusGroup",[Ybe,SXe,Oqt]=Zk(ise),[Dqt,wXe]=Lc(ise,[Oqt]),[Pqt,Fqt]=Dqt(ise),TXe=Ue.forwardRef((e,t)=>Oe.jsx(Ybe.Provider,{scope:e.__scopeRovingFocusGroup,children:Oe.jsx(Ybe.Slot,{scope:e.__scopeRovingFocusGroup,children:Oe.jsx(Bqt,{...e,ref:t})})}));TXe.displayName=ise;var Bqt=Ue.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:m,currentTabStopId:u,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:a,onEntryFocus:l,preventScrollOnEntryFocus:v=!1,...i}=e,S=Ue.useRef(null),g=co(t,S),p=L2(m),[_=null,c]=Nd({prop:u,defaultProp:h,onChange:a}),[s,d]=Ue.useState(!1),f=Dc(l),b=SXe(r),x=Ue.useRef(!1),[y,C]=Ue.useState(0);return Ue.useEffect(()=>{const w=S.current;if(w)return w.addEventListener(jbe,f),()=>w.removeEventListener(jbe,f)},[f]),Oe.jsx(Pqt,{scope:r,orientation:n,dir:p,loop:o,currentTabStopId:_,onItemFocus:Ue.useCallback(w=>c(w),[c]),onItemShiftTab:Ue.useCallback(()=>d(!0),[]),onFocusableItemAdd:Ue.useCallback(()=>C(w=>w+1),[]),onFocusableItemRemove:Ue.useCallback(()=>C(w=>w-1),[]),children:Oe.jsx(Zi.div,{tabIndex:s||y===0?-1:0,"data-orientation":n,...i,ref:g,style:{outline:"none",...e.style},onMouseDown:qa(e.onMouseDown,()=>{x.current=!0}),onFocus:qa(e.onFocus,w=>{const R=!x.current;if(w.target===w.currentTarget&&R&&!s){const A=new CustomEvent(jbe,Lqt);if(w.currentTarget.dispatchEvent(A),!A.defaultPrevented){const E=b().filter(M=>M.focusable),k=E.find(M=>M.active),L=E.find(M=>M.id===_),P=[k,L,...E].filter(Boolean).map(M=>M.ref.current);kXe(P,v)}}x.current=!1}),onBlur:qa(e.onBlur,()=>d(!1))})})}),AXe="RovingFocusGroupItem",CXe=Ue.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:m,...u}=e,h=Rd(),a=m||h,l=Fqt(AXe,r),v=l.currentTabStopId===a,i=SXe(r),{onFocusableItemAdd:S,onFocusableItemRemove:g}=l;return Ue.useEffect(()=>{if(n)return S(),()=>g()},[n,S,g]),Oe.jsx(Ybe.ItemSlot,{scope:r,id:a,focusable:n,active:o,children:Oe.jsx(Zi.span,{tabIndex:v?0:-1,"data-orientation":l.orientation,...u,ref:t,onMouseDown:qa(e.onMouseDown,p=>{n?l.onItemFocus(a):p.preventDefault()}),onFocus:qa(e.onFocus,()=>l.onItemFocus(a)),onKeyDown:qa(e.onKeyDown,p=>{if(p.key==="Tab"&&p.shiftKey){l.onItemShiftTab();return}if(p.target!==p.currentTarget)return;const _=$qt(p,l.orientation,l.dir);if(_!==void 0){if(p.metaKey||p.ctrlKey||p.altKey||p.shiftKey)return;p.preventDefault();let s=i().filter(d=>d.focusable).map(d=>d.ref.current);if(_==="last")s.reverse();else if(_==="prev"||_==="next"){_==="prev"&&s.reverse();const d=s.indexOf(p.currentTarget);s=l.loop?Hqt(s,d+1):s.slice(d+1)}setTimeout(()=>kXe(s))}})})})});CXe.displayName=AXe;var zqt={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Uqt(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function $qt(e,t,r){const n=Uqt(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return zqt[n]}function kXe(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function Hqt(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var Vqt=TXe,Gqt=CXe,Wbe=["Enter"," "],jqt=["ArrowDown","PageUp","Home"],MXe=["ArrowUp","PageDown","End"],Yqt=[...jqt,...MXe],Wqt={ltr:[...Wbe,"ArrowRight"],rtl:[...Wbe,"ArrowLeft"]},Kqt={ltr:["ArrowLeft"],rtl:["ArrowRight"]},u8="Menu",[d8,Xqt,qqt]=Zk(u8),[h4,RXe]=Lc(u8,[qqt,Uv,wXe]),f8=Uv(),NXe=wXe(),[IXe,r_]=h4(u8),[Zqt,h8]=h4(u8),LXe=e=>{const{__scopeMenu:t,open:r=!1,children:n,dir:o,onOpenChange:m,modal:u=!0}=e,h=f8(t),[a,l]=Ue.useState(null),v=Ue.useRef(!1),i=Dc(m),S=L2(o);return Ue.useEffect(()=>{const g=()=>{v.current=!0,document.addEventListener("pointerdown",p,{capture:!0,once:!0}),document.addEventListener("pointermove",p,{capture:!0,once:!0})},p=()=>v.current=!1;return document.addEventListener("keydown",g,{capture:!0}),()=>{document.removeEventListener("keydown",g,{capture:!0}),document.removeEventListener("pointerdown",p,{capture:!0}),document.removeEventListener("pointermove",p,{capture:!0})}},[]),Oe.jsx(hT,{...h,children:Oe.jsx(IXe,{scope:t,open:r,onOpenChange:i,content:a,onContentChange:l,children:Oe.jsx(Zqt,{scope:t,onClose:Ue.useCallback(()=>i(!1),[i]),isUsingKeyboardRef:v,dir:S,modal:u,children:n})})})};LXe.displayName=u8;var Qqt="MenuAnchor",Kbe=Ue.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e,o=f8(r);return Oe.jsx(pT,{...o,...n,ref:t})});Kbe.displayName=Qqt;var Xbe="MenuPortal",[Jqt,OXe]=h4(Xbe,{forceMount:void 0}),DXe=e=>{const{__scopeMenu:t,forceMount:r,children:n,container:o}=e,m=r_(Xbe,t);return Oe.jsx(Jqt,{scope:t,forceMount:r,children:Oe.jsx(Lu,{present:r||m.open,children:Oe.jsx(ZC,{asChild:!0,container:o,children:n})})})};DXe.displayName=Xbe;var Q0="MenuContent",[eZt,qbe]=h4(Q0),PXe=Ue.forwardRef((e,t)=>{const r=OXe(Q0,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,m=r_(Q0,e.__scopeMenu),u=h8(Q0,e.__scopeMenu);return Oe.jsx(d8.Provider,{scope:e.__scopeMenu,children:Oe.jsx(Lu,{present:n||m.open,children:Oe.jsx(d8.Slot,{scope:e.__scopeMenu,children:u.modal?Oe.jsx(tZt,{...o,ref:t}):Oe.jsx(rZt,{...o,ref:t})})})})}),tZt=Ue.forwardRef((e,t)=>{const r=r_(Q0,e.__scopeMenu),n=Ue.useRef(null),o=co(t,n);return Ue.useEffect(()=>{const m=n.current;if(m)return QC(m)},[]),Oe.jsx(Zbe,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:qa(e.onFocusOutside,m=>m.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),rZt=Ue.forwardRef((e,t)=>{const r=r_(Q0,e.__scopeMenu);return Oe.jsx(Zbe,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),Zbe=Ue.forwardRef((e,t)=>{const{__scopeMenu:r,loop:n=!1,trapFocus:o,onOpenAutoFocus:m,onCloseAutoFocus:u,disableOutsidePointerEvents:h,onEntryFocus:a,onEscapeKeyDown:l,onPointerDownOutside:v,onFocusOutside:i,onInteractOutside:S,onDismiss:g,disableOutsideScroll:p,..._}=e,c=r_(Q0,r),s=h8(Q0,r),d=f8(r),f=NXe(r),b=Xqt(r),[x,y]=Ue.useState(null),C=Ue.useRef(null),w=co(t,C,c.onContentChange),R=Ue.useRef(0),A=Ue.useRef(""),E=Ue.useRef(0),k=Ue.useRef(null),L=Ue.useRef("right"),I=Ue.useRef(0),P=p?tk:Ue.Fragment,M=p?{as:Lv,allowPinchZoom:!0}:void 0,F=T=>{var j,G;const D=A.current+T,O=b().filter(W=>!W.disabled),U=document.activeElement,B=(j=O.find(W=>W.ref.current===U))==null?void 0:j.textValue,Y=O.map(W=>W.textValue),z=pZt(Y,D,B),V=(G=O.find(W=>W.textValue===z))==null?void 0:G.ref.current;(function W(X){A.current=X,window.clearTimeout(R.current),X!==""&&(R.current=window.setTimeout(()=>W(""),1e3))})(D),V&&setTimeout(()=>V.focus())};Ue.useEffect(()=>()=>window.clearTimeout(R.current),[]),cL();const N=Ue.useCallback(T=>{var O,U;return L.current===((O=k.current)==null?void 0:O.side)&&mZt(T,(U=k.current)==null?void 0:U.area)},[]);return Oe.jsx(eZt,{scope:r,searchRef:A,onItemEnter:Ue.useCallback(T=>{N(T)&&T.preventDefault()},[N]),onItemLeave:Ue.useCallback(T=>{var D;N(T)||((D=C.current)==null||D.focus(),y(null))},[N]),onTriggerLeave:Ue.useCallback(T=>{N(T)&&T.preventDefault()},[N]),pointerGraceTimerRef:E,onPointerGraceIntentChange:Ue.useCallback(T=>{k.current=T},[]),children:Oe.jsx(P,{...M,children:Oe.jsx(jC,{asChild:!0,trapped:o,onMountAutoFocus:qa(m,T=>{var D;T.preventDefault(),(D=C.current)==null||D.focus({preventScroll:!0})}),onUnmountAutoFocus:u,children:Oe.jsx(mx,{asChild:!0,disableOutsidePointerEvents:h,onEscapeKeyDown:l,onPointerDownOutside:v,onFocusOutside:i,onInteractOutside:S,onDismiss:g,children:Oe.jsx(Vqt,{asChild:!0,...f,dir:s.dir,orientation:"vertical",loop:n,currentTabStopId:x,onCurrentTabStopIdChange:y,onEntryFocus:qa(a,T=>{s.isUsingKeyboardRef.current||T.preventDefault()}),preventScrollOnEntryFocus:!0,children:Oe.jsx(XC,{role:"menu","aria-orientation":"vertical","data-state":eqe(c.open),"data-radix-menu-content":"",dir:s.dir,...d,..._,ref:w,style:{outline:"none",..._.style},onKeyDown:qa(_.onKeyDown,T=>{const O=T.target.closest("[data-radix-menu-content]")===T.currentTarget,U=T.ctrlKey||T.altKey||T.metaKey,B=T.key.length===1;O&&(T.key==="Tab"&&T.preventDefault(),!U&&B&&F(T.key));const Y=C.current;if(T.target!==Y||!Yqt.includes(T.key))return;T.preventDefault();const V=b().filter(j=>!j.disabled).map(j=>j.ref.current);MXe.includes(T.key)&&V.reverse(),fZt(V)}),onBlur:qa(e.onBlur,T=>{T.currentTarget.contains(T.target)||(window.clearTimeout(R.current),A.current="")}),onPointerMove:qa(e.onPointerMove,v8(T=>{const D=T.target,O=I.current!==T.clientX;if(T.currentTarget.contains(D)&&O){const U=T.clientX>I.current?"right":"left";L.current=U,I.current=T.clientX}}))})})})})})})});PXe.displayName=Q0;var nZt="MenuGroup",Qbe=Ue.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return Oe.jsx(Zi.div,{role:"group",...n,ref:t})});Qbe.displayName=nZt;var aZt="MenuLabel",FXe=Ue.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return Oe.jsx(Zi.div,{...n,ref:t})});FXe.displayName=aZt;var ose="MenuItem",BXe="menu.itemSelect",sse=Ue.forwardRef((e,t)=>{const{disabled:r=!1,onSelect:n,...o}=e,m=Ue.useRef(null),u=h8(ose,e.__scopeMenu),h=qbe(ose,e.__scopeMenu),a=co(t,m),l=Ue.useRef(!1),v=()=>{const i=m.current;if(!r&&i){const S=new CustomEvent(BXe,{bubbles:!0,cancelable:!0});i.addEventListener(BXe,g=>n==null?void 0:n(g),{once:!0}),kRe(i,S),S.defaultPrevented?l.current=!1:u.onClose()}};return Oe.jsx(zXe,{...o,ref:a,disabled:r,onClick:qa(e.onClick,v),onPointerDown:i=>{var S;(S=e.onPointerDown)==null||S.call(e,i),l.current=!0},onPointerUp:qa(e.onPointerUp,i=>{var S;l.current||(S=i.currentTarget)==null||S.click()}),onKeyDown:qa(e.onKeyDown,i=>{const S=h.searchRef.current!=="";r||S&&i.key===" "||Wbe.includes(i.key)&&(i.currentTarget.click(),i.preventDefault())})})});sse.displayName=ose;var zXe=Ue.forwardRef((e,t)=>{const{__scopeMenu:r,disabled:n=!1,textValue:o,...m}=e,u=qbe(ose,r),h=NXe(r),a=Ue.useRef(null),l=co(t,a),[v,i]=Ue.useState(!1),[S,g]=Ue.useState("");return Ue.useEffect(()=>{const p=a.current;p&&g((p.textContent??"").trim())},[m.children]),Oe.jsx(d8.ItemSlot,{scope:r,disabled:n,textValue:o??S,children:Oe.jsx(Gqt,{asChild:!0,...h,focusable:!n,children:Oe.jsx(Zi.div,{role:"menuitem","data-highlighted":v?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0,...m,ref:l,onPointerMove:qa(e.onPointerMove,v8(p=>{n?u.onItemLeave(p):(u.onItemEnter(p),p.defaultPrevented||p.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:qa(e.onPointerLeave,v8(p=>u.onItemLeave(p))),onFocus:qa(e.onFocus,()=>i(!0)),onBlur:qa(e.onBlur,()=>i(!1))})})})}),iZt="MenuCheckboxItem",UXe=Ue.forwardRef((e,t)=>{const{checked:r=!1,onCheckedChange:n,...o}=e;return Oe.jsx(jXe,{scope:e.__scopeMenu,checked:r,children:Oe.jsx(sse,{role:"menuitemcheckbox","aria-checked":lse(r)?"mixed":r,...o,ref:t,"data-state":t3e(r),onSelect:qa(o.onSelect,()=>n==null?void 0:n(lse(r)?!0:!r),{checkForDefaultPrevented:!1})})})});UXe.displayName=iZt;var $Xe="MenuRadioGroup",[oZt,sZt]=h4($Xe,{value:void 0,onValueChange:()=>{}}),HXe=Ue.forwardRef((e,t)=>{const{value:r,onValueChange:n,...o}=e,m=Dc(n);return Oe.jsx(oZt,{scope:e.__scopeMenu,value:r,onValueChange:m,children:Oe.jsx(Qbe,{...o,ref:t})})});HXe.displayName=$Xe;var VXe="MenuRadioItem",GXe=Ue.forwardRef((e,t)=>{const{value:r,...n}=e,o=sZt(VXe,e.__scopeMenu),m=r===o.value;return Oe.jsx(jXe,{scope:e.__scopeMenu,checked:m,children:Oe.jsx(sse,{role:"menuitemradio","aria-checked":m,...n,ref:t,"data-state":t3e(m),onSelect:qa(n.onSelect,()=>{var u;return(u=o.onValueChange)==null?void 0:u.call(o,r)},{checkForDefaultPrevented:!1})})})});GXe.displayName=VXe;var Jbe="MenuItemIndicator",[jXe,lZt]=h4(Jbe,{checked:!1}),YXe=Ue.forwardRef((e,t)=>{const{__scopeMenu:r,forceMount:n,...o}=e,m=lZt(Jbe,r);return Oe.jsx(Lu,{present:n||lse(m.checked)||m.checked===!0,children:Oe.jsx(Zi.span,{...o,ref:t,"data-state":t3e(m.checked)})})});YXe.displayName=Jbe;var cZt="MenuSeparator",WXe=Ue.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return Oe.jsx(Zi.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});WXe.displayName=cZt;var uZt="MenuArrow",KXe=Ue.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e,o=f8(r);return Oe.jsx(qC,{...o,...n,ref:t})});KXe.displayName=uZt;var e3e="MenuSub",[dZt,XXe]=h4(e3e),qXe=e=>{const{__scopeMenu:t,children:r,open:n=!1,onOpenChange:o}=e,m=r_(e3e,t),u=f8(t),[h,a]=Ue.useState(null),[l,v]=Ue.useState(null),i=Dc(o);return Ue.useEffect(()=>(m.open===!1&&i(!1),()=>i(!1)),[m.open,i]),Oe.jsx(hT,{...u,children:Oe.jsx(IXe,{scope:t,open:n,onOpenChange:i,content:l,onContentChange:v,children:Oe.jsx(dZt,{scope:t,contentId:Rd(),triggerId:Rd(),trigger:h,onTriggerChange:a,children:r})})})};qXe.displayName=e3e;var p8="MenuSubTrigger",ZXe=Ue.forwardRef((e,t)=>{const r=r_(p8,e.__scopeMenu),n=h8(p8,e.__scopeMenu),o=XXe(p8,e.__scopeMenu),m=qbe(p8,e.__scopeMenu),u=Ue.useRef(null),{pointerGraceTimerRef:h,onPointerGraceIntentChange:a}=m,l={__scopeMenu:e.__scopeMenu},v=Ue.useCallback(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return Ue.useEffect(()=>v,[v]),Ue.useEffect(()=>{const i=h.current;return()=>{window.clearTimeout(i),a(null)}},[h,a]),Oe.jsx(Kbe,{asChild:!0,...l,children:Oe.jsx(zXe,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":o.contentId,"data-state":eqe(r.open),...e,ref:tC(t,o.onTriggerChange),onClick:i=>{var S;(S=e.onClick)==null||S.call(e,i),!(e.disabled||i.defaultPrevented)&&(i.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:qa(e.onPointerMove,v8(i=>{m.onItemEnter(i),!i.defaultPrevented&&!e.disabled&&!r.open&&!u.current&&(m.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{r.onOpenChange(!0),v()},100))})),onPointerLeave:qa(e.onPointerLeave,v8(i=>{var g,p;v();const S=(g=r.content)==null?void 0:g.getBoundingClientRect();if(S){const _=(p=r.content)==null?void 0:p.dataset.side,c=_==="right",s=c?-5:5,d=S[c?"left":"right"],f=S[c?"right":"left"];m.onPointerGraceIntentChange({area:[{x:i.clientX+s,y:i.clientY},{x:d,y:S.top},{x:f,y:S.top},{x:f,y:S.bottom},{x:d,y:S.bottom}],side:_}),window.clearTimeout(h.current),h.current=window.setTimeout(()=>m.onPointerGraceIntentChange(null),300)}else{if(m.onTriggerLeave(i),i.defaultPrevented)return;m.onPointerGraceIntentChange(null)}})),onKeyDown:qa(e.onKeyDown,i=>{var g;const S=m.searchRef.current!=="";e.disabled||S&&i.key===" "||Wqt[n.dir].includes(i.key)&&(r.onOpenChange(!0),(g=r.content)==null||g.focus(),i.preventDefault())})})})});ZXe.displayName=p8;var QXe="MenuSubContent",JXe=Ue.forwardRef((e,t)=>{const r=OXe(Q0,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,m=r_(Q0,e.__scopeMenu),u=h8(Q0,e.__scopeMenu),h=XXe(QXe,e.__scopeMenu),a=Ue.useRef(null),l=co(t,a);return Oe.jsx(d8.Provider,{scope:e.__scopeMenu,children:Oe.jsx(Lu,{present:n||m.open,children:Oe.jsx(d8.Slot,{scope:e.__scopeMenu,children:Oe.jsx(Zbe,{id:h.contentId,"aria-labelledby":h.triggerId,...o,ref:l,align:"start",side:u.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:v=>{var i;u.isUsingKeyboardRef.current&&((i=a.current)==null||i.focus()),v.preventDefault()},onCloseAutoFocus:v=>v.preventDefault(),onFocusOutside:qa(e.onFocusOutside,v=>{v.target!==h.trigger&&m.onOpenChange(!1)}),onEscapeKeyDown:qa(e.onEscapeKeyDown,v=>{u.onClose(),v.preventDefault()}),onKeyDown:qa(e.onKeyDown,v=>{var g;const i=v.currentTarget.contains(v.target),S=Kqt[u.dir].includes(v.key);i&&S&&(m.onOpenChange(!1),(g=h.trigger)==null||g.focus(),v.preventDefault())})})})})})});JXe.displayName=QXe;function eqe(e){return e?"open":"closed"}function lse(e){return e==="indeterminate"}function t3e(e){return lse(e)?"indeterminate":e?"checked":"unchecked"}function fZt(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function hZt(e,t){return e.map((r,n)=>e[(t+n)%e.length])}function pZt(e,t,r){const o=t.length>1&&Array.from(t).every(l=>l===t[0])?t[0]:t,m=r?e.indexOf(r):-1;let u=hZt(e,Math.max(m,0));o.length===1&&(u=u.filter(l=>l!==r));const a=u.find(l=>l.toLowerCase().startsWith(o.toLowerCase()));return a!==r?a:void 0}function vZt(e,t){const{x:r,y:n}=e;let o=!1;for(let m=0,u=t.length-1;m<t.length;u=m++){const h=t[m].x,a=t[m].y,l=t[u].x,v=t[u].y;a>n!=v>n&&r<(l-h)*(n-a)/(v-a)+h&&(o=!o)}return o}function mZt(e,t){if(!t)return!1;const r={x:e.clientX,y:e.clientY};return vZt(r,t)}function v8(e){return t=>t.pointerType==="mouse"?e(t):void 0}var gZt=LXe,yZt=Kbe,_Zt=DXe,xZt=PXe,bZt=Qbe,EZt=FXe,SZt=sse,wZt=UXe,TZt=HXe,AZt=GXe,CZt=YXe,kZt=WXe,MZt=KXe,RZt=qXe,NZt=ZXe,IZt=JXe,r3e="DropdownMenu",[LZt,_8r]=Lc(r3e,[RXe]),vf=RXe(),[OZt,tqe]=LZt(r3e),rqe=e=>{const{__scopeDropdownMenu:t,children:r,dir:n,open:o,defaultOpen:m,onOpenChange:u,modal:h=!0}=e,a=vf(t),l=Ue.useRef(null),[v=!1,i]=Nd({prop:o,defaultProp:m,onChange:u});return Oe.jsx(OZt,{scope:t,triggerId:Rd(),triggerRef:l,contentId:Rd(),open:v,onOpenChange:i,onOpenToggle:Ue.useCallback(()=>i(S=>!S),[i]),modal:h,children:Oe.jsx(gZt,{...a,open:v,onOpenChange:i,dir:n,modal:h,children:r})})};rqe.displayName=r3e;var nqe="DropdownMenuTrigger",aqe=Ue.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,disabled:n=!1,...o}=e,m=tqe(nqe,r),u=vf(r);return Oe.jsx(yZt,{asChild:!0,...u,children:Oe.jsx(Zi.button,{type:"button",id:m.triggerId,"aria-haspopup":"menu","aria-expanded":m.open,"aria-controls":m.open?m.contentId:void 0,"data-state":m.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...o,ref:tC(t,m.triggerRef),onPointerDown:qa(e.onPointerDown,h=>{!n&&h.button===0&&h.ctrlKey===!1&&(m.onOpenToggle(),m.open||h.preventDefault())}),onKeyDown:qa(e.onKeyDown,h=>{n||(["Enter"," "].includes(h.key)&&m.onOpenToggle(),h.key==="ArrowDown"&&m.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(h.key)&&h.preventDefault())})})})});aqe.displayName=nqe;var DZt="DropdownMenuPortal",iqe=e=>{const{__scopeDropdownMenu:t,...r}=e,n=vf(t);return Oe.jsx(_Zt,{...n,...r})};iqe.displayName=DZt;var oqe="DropdownMenuContent",sqe=Ue.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=tqe(oqe,r),m=vf(r),u=Ue.useRef(!1);return Oe.jsx(xZt,{id:o.contentId,"aria-labelledby":o.triggerId,...m,...n,ref:t,onCloseAutoFocus:qa(e.onCloseAutoFocus,h=>{var a;u.current||(a=o.triggerRef.current)==null||a.focus(),u.current=!1,h.preventDefault()}),onInteractOutside:qa(e.onInteractOutside,h=>{const a=h.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0,v=a.button===2||l;(!o.modal||v)&&(u.current=!0)}),style:{...e.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)"}})});sqe.displayName=oqe;var PZt="DropdownMenuGroup",lqe=Ue.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=vf(r);return Oe.jsx(bZt,{...o,...n,ref:t})});lqe.displayName=PZt;var FZt="DropdownMenuLabel",cqe=Ue.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=vf(r);return Oe.jsx(EZt,{...o,...n,ref:t})});cqe.displayName=FZt;var BZt="DropdownMenuItem",uqe=Ue.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=vf(r);return Oe.jsx(SZt,{...o,...n,ref:t})});uqe.displayName=BZt;var zZt="DropdownMenuCheckboxItem",dqe=Ue.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=vf(r);return Oe.jsx(wZt,{...o,...n,ref:t})});dqe.displayName=zZt;var UZt="DropdownMenuRadioGroup",fqe=Ue.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=vf(r);return Oe.jsx(TZt,{...o,...n,ref:t})});fqe.displayName=UZt;var $Zt="DropdownMenuRadioItem",hqe=Ue.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=vf(r);return Oe.jsx(AZt,{...o,...n,ref:t})});hqe.displayName=$Zt;var HZt="DropdownMenuItemIndicator",pqe=Ue.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=vf(r);return Oe.jsx(CZt,{...o,...n,ref:t})});pqe.displayName=HZt;var VZt="DropdownMenuSeparator",vqe=Ue.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=vf(r);return Oe.jsx(kZt,{...o,...n,ref:t})});vqe.displayName=VZt;var GZt="DropdownMenuArrow",jZt=Ue.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=vf(r);return Oe.jsx(MZt,{...o,...n,ref:t})});jZt.displayName=GZt;var YZt=e=>{const{__scopeDropdownMenu:t,children:r,open:n,onOpenChange:o,defaultOpen:m}=e,u=vf(t),[h=!1,a]=Nd({prop:n,defaultProp:m,onChange:o});return Oe.jsx(RZt,{...u,open:h,onOpenChange:a,children:r})},WZt="DropdownMenuSubTrigger",mqe=Ue.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=vf(r);return Oe.jsx(NZt,{...o,...n,ref:t})});mqe.displayName=WZt;var KZt="DropdownMenuSubContent",gqe=Ue.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=vf(r);return Oe.jsx(IZt,{...o,...n,ref:t,style:{...e.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)"}})});gqe.displayName=KZt;var XZt=rqe,qZt=aqe,ZZt=iqe,yqe=sqe,QZt=lqe,_qe=cqe,xqe=uqe,bqe=dqe,JZt=fqe,Eqe=hqe,Sqe=pqe,wqe=vqe,eQt=YZt,Tqe=mqe,Aqe=gqe;const tQt=XZt,rQt=qZt,nQt=QZt,Cqe=ZZt,aQt=eQt,iQt=JZt,kqe=Ue.forwardRef(({className:e,inset:t,children:r,...n},o)=>Oe.jsxs(Tqe,{ref:o,className:ga("flex cursor-default gap-2 select-none items-center 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",t&&"pl-8",e),...n,children:[r,Oe.jsx(KT,{className:"ml-auto"})]}));kqe.displayName=Tqe.displayName;const Mqe=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(Aqe,{ref:r,className:ga("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out 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",e),...t}));Mqe.displayName=Aqe.displayName;const Rqe=Ue.forwardRef(({className:e,sideOffset:t=4,...r},n)=>Oe.jsx(Cqe,{container:window.cl_shadowRootElement,children:Oe.jsx(yqe,{ref:n,sideOffset:t,className:ga("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out 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",e),...r})}));Rqe.displayName=yqe.displayName;const Nqe=Ue.forwardRef(({className:e,inset:t,...r},n)=>Oe.jsx(xqe,{ref:n,className:ga("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-2.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...r}));Nqe.displayName=xqe.displayName;const Iqe=Ue.forwardRef(({className:e,children:t,checked:r,...n},o)=>Oe.jsxs(bqe,{ref:o,className:ga("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:r,...n,children:[Oe.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:Oe.jsx(Sqe,{children:Oe.jsx(Ig,{className:"h-4 w-4"})})}),t]}));Iqe.displayName=bqe.displayName;const Lqe=Ue.forwardRef(({className:e,children:t,...r},n)=>Oe.jsxs(Eqe,{ref:n,className:ga("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r,children:[Oe.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:Oe.jsx(Sqe,{children:Oe.jsx(qT,{className:"h-2 w-2 fill-current"})})}),t]}));Lqe.displayName=Eqe.displayName;const Oqe=Ue.forwardRef(({className:e,inset:t,...r},n)=>Oe.jsx(_qe,{ref:n,className:ga("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...r}));Oqe.displayName=_qe.displayName;const Dqe=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(wqe,{ref:r,className:ga("-mx-1 my-1 h-px bg-muted",e),...t}));Dqe.displayName=wqe.displayName;const Pqe=({className:e,...t})=>Oe.jsx("span",{className:ga("ml-auto text-xs tracking-widest opacity-60",e),...t});Pqe.displayName="DropdownMenuShortcut";const oQt=Object.freeze(Object.defineProperty({__proto__:null,DropdownMenu:tQt,DropdownMenuCheckboxItem:Iqe,DropdownMenuContent:Rqe,DropdownMenuGroup:nQt,DropdownMenuItem:Nqe,DropdownMenuLabel:Oqe,DropdownMenuPortal:Cqe,DropdownMenuRadioGroup:iQt,DropdownMenuRadioItem:Lqe,DropdownMenuSeparator:Dqe,DropdownMenuShortcut:Pqe,DropdownMenuSub:aQt,DropdownMenuSubContent:Mqe,DropdownMenuSubTrigger:kqe,DropdownMenuTrigger:rQt},Symbol.toStringTag,{value:"Module"})),sQt=I$e,Fqe=Ue.createContext({}),lQt=({...e})=>Oe.jsx(Fqe.Provider,{value:{name:e.name},children:Oe.jsx(U$e,{...e})}),m8=()=>{const e=Ue.useContext(Fqe),t=Ue.useContext(Bqe),{getFieldState:r,formState:n}=VS(),o=r(e.name,n);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:m}=t;return{id:m,name:e.name,formItemId:`${m}-form-item`,formDescriptionId:`${m}-form-item-description`,formMessageId:`${m}-form-item-message`,...o}},Bqe=Ue.createContext({}),zqe=Ue.forwardRef(({className:e,...t},r)=>{const n=Ue.useId();return Oe.jsx(Bqe.Provider,{value:{id:n},children:Oe.jsx("div",{ref:r,className:ga("space-y-2",e),...t})})});zqe.displayName="FormItem";const Uqe=Ue.forwardRef(({className:e,...t},r)=>{const{error:n,formItemId:o}=m8();return Oe.jsx(dm,{ref:r,className:ga(n&&"text-destructive",e),htmlFor:o,...t})});Uqe.displayName="FormLabel";const $qe=Ue.forwardRef(({...e},t)=>{const{error:r,formItemId:n,formDescriptionId:o,formMessageId:m}=m8();return Oe.jsx(Lv,{ref:t,id:n,"aria-describedby":r?`${o} ${m}`:`${o}`,"aria-invalid":!!r,...e})});$qe.displayName="FormControl";const Hqe=Ue.forwardRef(({className:e,...t},r)=>{const{formDescriptionId:n}=m8();return Oe.jsx("p",{ref:r,id:n,className:ga("text-sm text-muted-foreground",e),...t})});Hqe.displayName="FormDescription";const Vqe=Ue.forwardRef(({className:e,children:t,...r},n)=>{const{error:o,formMessageId:m}=m8(),u=o?String(o==null?void 0:o.message):t;return u?Oe.jsx("p",{ref:n,id:m,className:ga("text-sm font-medium text-destructive",e),...r,children:u}):null});Vqe.displayName="FormMessage";const cQt=Object.freeze(Object.defineProperty({__proto__:null,Form:sQt,FormControl:$qe,FormDescription:Hqe,FormField:lQt,FormItem:zqe,FormLabel:Uqe,FormMessage:Vqe,useFormField:m8},Symbol.toStringTag,{value:"Module"})),n3e=({className:e,...t})=>Oe.jsx("nav",{role:"navigation","aria-label":"pagination",className:ga("mx-auto flex w-full justify-center",e),...t});n3e.displayName="Pagination";const a3e=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("ul",{ref:r,className:ga("flex flex-row items-center gap-1",e),...t}));a3e.displayName="PaginationContent";const g8=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx("li",{ref:r,className:ga("",e),...t}));g8.displayName="PaginationItem";const y8=({className:e,isActive:t,size:r="icon",...n})=>Oe.jsx("a",{"aria-current":t?"page":void 0,className:ga(rC({variant:t?"outline":"ghost",size:r}),e),...n});y8.displayName="PaginationLink";const i3e=({className:e,...t})=>Oe.jsxs(y8,{"aria-label":"Go to previous page",size:"default",className:ga("gap-1 pl-2.5",e),...t,children:[Oe.jsx(zk,{className:"h-4 w-4"}),Oe.jsx("span",{children:"Previous"})]});i3e.displayName="PaginationPrevious";const o3e=({className:e,...t})=>Oe.jsxs(y8,{"aria-label":"Go to next page",size:"default",className:ga("gap-1 pr-2.5",e),...t,children:[Oe.jsx("span",{children:"Next"}),Oe.jsx(KT,{className:"h-4 w-4"})]});o3e.displayName="PaginationNext";const Gqe=({className:e,...t})=>Oe.jsxs("span",{"aria-hidden":!0,className:ga("flex h-9 w-9 items-center justify-center",e),...t,children:[Oe.jsx(N2,{className:"h-4 w-4"}),Oe.jsx("span",{className:"sr-only",children:"More pages"})]});Gqe.displayName="PaginationEllipsis";const uQt=Object.freeze(Object.defineProperty({__proto__:null,Pagination:n3e,PaginationContent:a3e,PaginationEllipsis:Gqe,PaginationItem:g8,PaginationLink:y8,PaginationNext:o3e,PaginationPrevious:i3e},Symbol.toStringTag,{value:"Module"}));var s3e="Progress",l3e=100,[dQt,x8r]=Lc(s3e),[fQt,hQt]=dQt(s3e),jqe=Ue.forwardRef((e,t)=>{const{__scopeProgress:r,value:n=null,max:o,getValueLabel:m=pQt,...u}=e;(o||o===0)&&!Xqe(o)&&console.error(vQt(`${o}`,"Progress"));const h=Xqe(o)?o:l3e;n!==null&&!qqe(n,h)&&console.error(mQt(`${n}`,"Progress"));const a=qqe(n,h)?n:null,l=cse(a)?m(a,h):void 0;return Oe.jsx(fQt,{scope:r,value:a,max:h,children:Oe.jsx(Zi.div,{"aria-valuemax":h,"aria-valuemin":0,"aria-valuenow":cse(a)?a:void 0,"aria-valuetext":l,role:"progressbar","data-state":Kqe(a,h),"data-value":a??void 0,"data-max":h,...u,ref:t})})});jqe.displayName=s3e;var Yqe="ProgressIndicator",Wqe=Ue.forwardRef((e,t)=>{const{__scopeProgress:r,...n}=e,o=hQt(Yqe,r);return Oe.jsx(Zi.div,{"data-state":Kqe(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...n,ref:t})});Wqe.displayName=Yqe;function pQt(e,t){return`${Math.round(e/t*100)}%`}function Kqe(e,t){return e==null?"indeterminate":e===t?"complete":"loading"}function cse(e){return typeof e=="number"}function Xqe(e){return cse(e)&&!isNaN(e)&&e>0}function qqe(e,t){return cse(e)&&!isNaN(e)&&e<=t&&e>=0}function vQt(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${l3e}\`.`}function mQt(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
- a positive number
- less than the value passed to \`max\` (or ${l3e} if no \`max\` prop is set)
- \`null\` or \`undefined\` if the progress is indeterminate.
Defaulting to \`null\`.`}var Zqe=jqe,gQt=Wqe;const Qqe=Ue.forwardRef(({className:e,value:t,...r},n)=>Oe.jsx(Zqe,{ref:n,className:ga("relative h-4 w-full overflow-hidden rounded-full bg-secondary",e),...r,children:Oe.jsx(gQt,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));Qqe.displayName=Zqe.displayName;const yQt=Object.freeze(Object.defineProperty({__proto__:null,Progress:Qqe},Symbol.toStringTag,{value:"Module"}));function _Qt(e,t){return Ue.useReducer((r,n)=>t[r][n]??r,e)}var c3e="ScrollArea",[Jqe,b8r]=Lc(c3e),[xQt,J0]=Jqe(c3e),eZe=Ue.forwardRef((e,t)=>{const{__scopeScrollArea:r,type:n="hover",dir:o,scrollHideDelay:m=600,...u}=e,[h,a]=Ue.useState(null),[l,v]=Ue.useState(null),[i,S]=Ue.useState(null),[g,p]=Ue.useState(null),[_,c]=Ue.useState(null),[s,d]=Ue.useState(0),[f,b]=Ue.useState(0),[x,y]=Ue.useState(!1),[C,w]=Ue.useState(!1),R=co(t,E=>a(E)),A=L2(o);return Oe.jsx(xQt,{scope:r,type:n,dir:A,scrollHideDelay:m,scrollArea:h,viewport:l,onViewportChange:v,content:i,onContentChange:S,scrollbarX:g,onScrollbarXChange:p,scrollbarXEnabled:x,onScrollbarXEnabledChange:y,scrollbarY:_,onScrollbarYChange:c,scrollbarYEnabled:C,onScrollbarYEnabledChange:w,onCornerWidthChange:d,onCornerHeightChange:b,children:Oe.jsx(Zi.div,{dir:A,...u,ref:R,style:{position:"relative","--radix-scroll-area-corner-width":s+"px","--radix-scroll-area-corner-height":f+"px",...e.style}})})});eZe.displayName=c3e;var tZe="ScrollAreaViewport",rZe=Ue.forwardRef((e,t)=>{const{__scopeScrollArea:r,children:n,nonce:o,...m}=e,u=J0(tZe,r),h=Ue.useRef(null),a=co(t,h,u.onViewportChange);return Oe.jsxs(Oe.Fragment,{children:[Oe.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),Oe.jsx(Zi.div,{"data-radix-scroll-area-viewport":"",...m,ref:a,style:{overflowX:u.scrollbarXEnabled?"scroll":"hidden",overflowY:u.scrollbarYEnabled?"scroll":"hidden",...e.style},children:Oe.jsx("div",{ref:u.onContentChange,style:{minWidth:"100%",display:"table"},children:n})})]})});rZe.displayName=tZe;var Em="ScrollAreaScrollbar",u3e=Ue.forwardRef((e,t)=>{const{forceMount:r,...n}=e,o=J0(Em,e.__scopeScrollArea),{onScrollbarXEnabledChange:m,onScrollbarYEnabledChange:u}=o,h=e.orientation==="horizontal";return Ue.useEffect(()=>(h?m(!0):u(!0),()=>{h?m(!1):u(!1)}),[h,m,u]),o.type==="hover"?Oe.jsx(bQt,{...n,ref:t,forceMount:r}):o.type==="scroll"?Oe.jsx(EQt,{...n,ref:t,forceMount:r}):o.type==="auto"?Oe.jsx(nZe,{...n,ref:t,forceMount:r}):o.type==="always"?Oe.jsx(d3e,{...n,ref:t}):null});u3e.displayName=Em;var bQt=Ue.forwardRef((e,t)=>{const{forceMount:r,...n}=e,o=J0(Em,e.__scopeScrollArea),[m,u]=Ue.useState(!1);return Ue.useEffect(()=>{const h=o.scrollArea;let a=0;if(h){const l=()=>{window.clearTimeout(a),u(!0)},v=()=>{a=window.setTimeout(()=>u(!1),o.scrollHideDelay)};return h.addEventListener("pointerenter",l),h.addEventListener("pointerleave",v),()=>{window.clearTimeout(a),h.removeEventListener("pointerenter",l),h.removeEventListener("pointerleave",v)}}},[o.scrollArea,o.scrollHideDelay]),Oe.jsx(Lu,{present:r||m,children:Oe.jsx(nZe,{"data-state":m?"visible":"hidden",...n,ref:t})})}),EQt=Ue.forwardRef((e,t)=>{const{forceMount:r,...n}=e,o=J0(Em,e.__scopeScrollArea),m=e.orientation==="horizontal",u=hse(()=>a("SCROLL_END"),100),[h,a]=_Qt("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return Ue.useEffect(()=>{if(h==="idle"){const l=window.setTimeout(()=>a("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(l)}},[h,o.scrollHideDelay,a]),Ue.useEffect(()=>{const l=o.viewport,v=m?"scrollLeft":"scrollTop";if(l){let i=l[v];const S=()=>{const g=l[v];i!==g&&(a("SCROLL"),u()),i=g};return l.addEventListener("scroll",S),()=>l.removeEventListener("scroll",S)}},[o.viewport,m,a,u]),Oe.jsx(Lu,{present:r||h!=="hidden",children:Oe.jsx(d3e,{"data-state":h==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:qa(e.onPointerEnter,()=>a("POINTER_ENTER")),onPointerLeave:qa(e.onPointerLeave,()=>a("POINTER_LEAVE"))})})}),nZe=Ue.forwardRef((e,t)=>{const r=J0(Em,e.__scopeScrollArea),{forceMount:n,...o}=e,[m,u]=Ue.useState(!1),h=e.orientation==="horizontal",a=hse(()=>{if(r.viewport){const l=r.viewport.offsetWidth<r.viewport.scrollWidth,v=r.viewport.offsetHeight<r.viewport.scrollHeight;u(h?l:v)}},10);return q5(r.viewport,a),q5(r.content,a),Oe.jsx(Lu,{present:n||m,children:Oe.jsx(d3e,{"data-state":m?"visible":"hidden",...o,ref:t})})}),d3e=Ue.forwardRef((e,t)=>{const{orientation:r="vertical",...n}=e,o=J0(Em,e.__scopeScrollArea),m=Ue.useRef(null),u=Ue.useRef(0),[h,a]=Ue.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),l=lZe(h.viewport,h.content),v={...n,sizes:h,onSizesChange:a,hasThumb:l>0&&l<1,onThumbChange:S=>m.current=S,onThumbPointerUp:()=>u.current=0,onThumbPointerDown:S=>u.current=S};function i(S,g){return kQt(S,u.current,h,g)}return r==="horizontal"?Oe.jsx(SQt,{...v,ref:t,onThumbPositionChange:()=>{if(o.viewport&&m.current){const S=o.viewport.scrollLeft,g=cZe(S,h,o.dir);m.current.style.transform=`translate3d(${g}px, 0, 0)`}},onWheelScroll:S=>{o.viewport&&(o.viewport.scrollLeft=S)},onDragScroll:S=>{o.viewport&&(o.viewport.scrollLeft=i(S,o.dir))}}):r==="vertical"?Oe.jsx(wQt,{...v,ref:t,onThumbPositionChange:()=>{if(o.viewport&&m.current){const S=o.viewport.scrollTop,g=cZe(S,h);m.current.style.transform=`translate3d(0, ${g}px, 0)`}},onWheelScroll:S=>{o.viewport&&(o.viewport.scrollTop=S)},onDragScroll:S=>{o.viewport&&(o.viewport.scrollTop=i(S))}}):null}),SQt=Ue.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...o}=e,m=J0(Em,e.__scopeScrollArea),[u,h]=Ue.useState(),a=Ue.useRef(null),l=co(t,a,m.onScrollbarXChange);return Ue.useEffect(()=>{a.current&&h(getComputedStyle(a.current))},[a]),Oe.jsx(iZe,{"data-orientation":"horizontal",...o,ref:l,sizes:r,style:{bottom:0,left:m.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:m.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":fse(r)+"px",...e.style},onThumbPointerDown:v=>e.onThumbPointerDown(v.x),onDragScroll:v=>e.onDragScroll(v.x),onWheelScroll:(v,i)=>{if(m.viewport){const S=m.viewport.scrollLeft+v.deltaX;e.onWheelScroll(S),dZe(S,i)&&v.preventDefault()}},onResize:()=>{a.current&&m.viewport&&u&&n({content:m.viewport.scrollWidth,viewport:m.viewport.offsetWidth,scrollbar:{size:a.current.clientWidth,paddingStart:dse(u.paddingLeft),paddingEnd:dse(u.paddingRight)}})}})}),wQt=Ue.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...o}=e,m=J0(Em,e.__scopeScrollArea),[u,h]=Ue.useState(),a=Ue.useRef(null),l=co(t,a,m.onScrollbarYChange);return Ue.useEffect(()=>{a.current&&h(getComputedStyle(a.current))},[a]),Oe.jsx(iZe,{"data-orientation":"vertical",...o,ref:l,sizes:r,style:{top:0,right:m.dir==="ltr"?0:void 0,left:m.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":fse(r)+"px",...e.style},onThumbPointerDown:v=>e.onThumbPointerDown(v.y),onDragScroll:v=>e.onDragScroll(v.y),onWheelScroll:(v,i)=>{if(m.viewport){const S=m.viewport.scrollTop+v.deltaY;e.onWheelScroll(S),dZe(S,i)&&v.preventDefault()}},onResize:()=>{a.current&&m.viewport&&u&&n({content:m.viewport.scrollHeight,viewport:m.viewport.offsetHeight,scrollbar:{size:a.current.clientHeight,paddingStart:dse(u.paddingTop),paddingEnd:dse(u.paddingBottom)}})}})}),[TQt,aZe]=Jqe(Em),iZe=Ue.forwardRef((e,t)=>{const{__scopeScrollArea:r,sizes:n,hasThumb:o,onThumbChange:m,onThumbPointerUp:u,onThumbPointerDown:h,onThumbPositionChange:a,onDragScroll:l,onWheelScroll:v,onResize:i,...S}=e,g=J0(Em,r),[p,_]=Ue.useState(null),c=co(t,R=>_(R)),s=Ue.useRef(null),d=Ue.useRef(""),f=g.viewport,b=n.content-n.viewport,x=Dc(v),y=Dc(a),C=hse(i,10);function w(R){if(s.current){const A=R.clientX-s.current.left,E=R.clientY-s.current.top;l({x:A,y:E})}}return Ue.useEffect(()=>{const R=A=>{const E=A.target;(p==null?void 0:p.contains(E))&&x(A,b)};return document.addEventListener("wheel",R,{passive:!1}),()=>document.removeEventListener("wheel",R,{passive:!1})},[f,p,b,x]),Ue.useEffect(y,[n,y]),q5(p,C),q5(g.content,C),Oe.jsx(TQt,{scope:r,scrollbar:p,hasThumb:o,onThumbChange:Dc(m),onThumbPointerUp:Dc(u),onThumbPositionChange:y,onThumbPointerDown:Dc(h),children:Oe.jsx(Zi.div,{...S,ref:c,style:{position:"absolute",...S.style},onPointerDown:qa(e.onPointerDown,R=>{R.button===0&&(R.target.setPointerCapture(R.pointerId),s.current=p.getBoundingClientRect(),d.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",g.viewport&&(g.viewport.style.scrollBehavior="auto"),w(R))}),onPointerMove:qa(e.onPointerMove,w),onPointerUp:qa(e.onPointerUp,R=>{const A=R.target;A.hasPointerCapture(R.pointerId)&&A.releasePointerCapture(R.pointerId),document.body.style.webkitUserSelect=d.current,g.viewport&&(g.viewport.style.scrollBehavior=""),s.current=null})})})}),use="ScrollAreaThumb",oZe=Ue.forwardRef((e,t)=>{const{forceMount:r,...n}=e,o=aZe(use,e.__scopeScrollArea);return Oe.jsx(Lu,{present:r||o.hasThumb,children:Oe.jsx(AQt,{ref:t,...n})})}),AQt=Ue.forwardRef((e,t)=>{const{__scopeScrollArea:r,style:n,...o}=e,m=J0(use,r),u=aZe(use,r),{onThumbPositionChange:h}=u,a=co(t,i=>u.onThumbChange(i)),l=Ue.useRef(void 0),v=hse(()=>{l.current&&(l.current(),l.current=void 0)},100);return Ue.useEffect(()=>{const i=m.viewport;if(i){const S=()=>{if(v(),!l.current){const g=MQt(i,h);l.current=g,h()}};return h(),i.addEventListener("scroll",S),()=>i.removeEventListener("scroll",S)}},[m.viewport,v,h]),Oe.jsx(Zi.div,{"data-state":u.hasThumb?"visible":"hidden",...o,ref:a,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:qa(e.onPointerDownCapture,i=>{const g=i.target.getBoundingClientRect(),p=i.clientX-g.left,_=i.clientY-g.top;u.onThumbPointerDown({x:p,y:_})}),onPointerUp:qa(e.onPointerUp,u.onThumbPointerUp)})});oZe.displayName=use;var f3e="ScrollAreaCorner",sZe=Ue.forwardRef((e,t)=>{const r=J0(f3e,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?Oe.jsx(CQt,{...e,ref:t}):null});sZe.displayName=f3e;var CQt=Ue.forwardRef((e,t)=>{const{__scopeScrollArea:r,...n}=e,o=J0(f3e,r),[m,u]=Ue.useState(0),[h,a]=Ue.useState(0),l=!!(m&&h);return q5(o.scrollbarX,()=>{var i;const v=((i=o.scrollbarX)==null?void 0:i.offsetHeight)||0;o.onCornerHeightChange(v),a(v)}),q5(o.scrollbarY,()=>{var i;const v=((i=o.scrollbarY)==null?void 0:i.offsetWidth)||0;o.onCornerWidthChange(v),u(v)}),l?Oe.jsx(Zi.div,{...n,ref:t,style:{width:m,height:h,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function dse(e){return e?parseInt(e,10):0}function lZe(e,t){const r=e/t;return isNaN(r)?0:r}function fse(e){const t=lZe(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function kQt(e,t,r,n="ltr"){const o=fse(r),m=o/2,u=t||m,h=o-u,a=r.scrollbar.paddingStart+u,l=r.scrollbar.size-r.scrollbar.paddingEnd-h,v=r.content-r.viewport,i=n==="ltr"?[0,v]:[v*-1,0];return uZe([a,l],i)(e)}function cZe(e,t,r="ltr"){const n=fse(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,m=t.scrollbar.size-o,u=t.content-t.viewport,h=m-n,a=r==="ltr"?[0,u]:[u*-1,0],l=qk(e,a);return uZe([0,u],[0,h])(l)}function uZe(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function dZe(e,t){return e>0&&e<t}var MQt=(e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return function o(){const m={left:e.scrollLeft,top:e.scrollTop},u=r.left!==m.left,h=r.top!==m.top;(u||h)&&t(),r=m,n=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(n)};function hse(e,t){const r=Dc(e),n=Ue.useRef(0);return Ue.useEffect(()=>()=>window.clearTimeout(n.current),[]),Ue.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function q5(e,t){const r=Dc(t);Iu(()=>{let n=0;if(e){const o=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return o.observe(e),()=>{window.cancelAnimationFrame(n),o.unobserve(e)}}},[e,r])}var fZe=eZe,RQt=rZe,NQt=sZe;const hZe=Ue.forwardRef(({className:e,children:t,...r},n)=>Oe.jsxs(fZe,{ref:n,className:ga("relative overflow-hidden",e),...r,children:[Oe.jsx(RQt,{className:"h-full w-full rounded-[inherit]",children:t}),Oe.jsx(h3e,{}),Oe.jsx(NQt,{})]}));hZe.displayName=fZe.displayName;const h3e=Ue.forwardRef(({className:e,orientation:t="vertical",...r},n)=>Oe.jsx(u3e,{ref:n,orientation:t,className:ga("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...r,children:Oe.jsx(oZe,{className:"relative flex-1 rounded-full bg-border"})}));h3e.displayName=u3e.displayName;const IQt=Object.freeze(Object.defineProperty({__proto__:null,ScrollArea:hZe,ScrollBar:h3e},Symbol.toStringTag,{value:"Module"})),LQt=E2e,OQt=S2e,DQt=c5,pZe=w2e,p3e=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(rM,{className:ga("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:r}));p3e.displayName=rM.displayName;const PQt=ZI("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),vZe=Ue.forwardRef(({side:e="right",className:t,children:r,...n},o)=>Oe.jsxs(pZe,{container:window.cl_shadowRootElement,children:[Oe.jsx(p3e,{}),Oe.jsxs(nM,{ref:o,className:ga(PQt({side:e}),t),...n,children:[r,Oe.jsxs(c5,{className:"absolute right-4 top-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-secondary",children:[Oe.jsx(Uh,{className:"h-4 w-4"}),Oe.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));vZe.displayName=nM.displayName;const mZe=({className:e,...t})=>Oe.jsx("div",{className:ga("flex flex-col space-y-2 text-center sm:text-left",e),...t});mZe.displayName="SheetHeader";const gZe=({className:e,...t})=>Oe.jsx("div",{className:ga("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});gZe.displayName="SheetFooter";const yZe=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(aM,{ref:r,className:ga("text-lg font-semibold text-foreground",e),...t}));yZe.displayName=aM.displayName;const _Ze=Ue.forwardRef(({className:e,...t},r)=>Oe.jsx(iM,{ref:r,className:ga("text-sm text-muted-foreground",e),...t}));_Ze.displayName=iM.displayName;const xZe={react:wn,sonner:int,zod:IXt,recoil:xut,"@chainlit/react-client":mft,"@/components/markdown":n8t,"react-hook-form":sFt,"lucide-react":rze,"@/components/ui/tabs":MFt,"@/components/ui/accordion":ZXt,"@/components/ui/aspect-ratio":G5t,"@/components/ui/avatar":hGt,"@/components/ui/badge":PFt,"@/components/ui/button":Cpt,"@/components/ui/card":j5t,"@/components/ui/carousel":Iqt,"@/components/ui/checkbox":DFt,"@/components/ui/command":dzt,"@/components/ui/dialog":J8t,"@/components/ui/dropdown-menu":oQt,"@/components/ui/form":cQt,"@/components/ui/hover-card":h8t,"@/components/ui/input":FUt,"@/components/ui/label":vzt,"@/components/ui/pagination":uQt,"@/components/ui/popover":Umt,"@/components/ui/progress":yQt,"@/components/ui/scroll-area":IQt,"@/components/ui/separator":X5t,"@/components/ui/select":H8t,"@/components/ui/sheet":Object.freeze(Object.defineProperty({__proto__:null,Sheet:LQt,SheetClose:DQt,SheetContent:vZe,SheetDescription:_Ze,SheetFooter:gZe,SheetHeader:mZe,SheetOverlay:p3e,SheetPortal:pZe,SheetTitle:yZe,SheetTrigger:OQt},Symbol.toStringTag,{value:"Module"})),"@/components/ui/skeleton":TMt,"@/components/ui/switch":DUt,"@/components/ui/table":q5t,"@/components/ui/textarea":zUt,"@/components/ui/tooltip":YMt},FQt=()=>({updateElement:async e=>(console.log("updateElement called with:",e),{success:!0}),deleteElement:async()=>(console.log("deleteElement called"),{success:!0}),callAction:async e=>(console.log("callAction called with:",e),{success:!0}),sendUserMessage:(e,t)=>{console.log("sendUserMessage called with:",e,t)}}),BQt=Ue.memo(function({sourceCode:e,props:t}){const[r,n]=Ue.useState();if(r)return Oe.jsx(ex,{variant:"error",children:r});if(!e)return null;const o=FQt();return Oe.jsx(qWe,{code:e,scope:{import:xZe,props:t,...o},onRendered:m=>n(m==null?void 0:m.message)})}),zQt=Object.freeze(Object.defineProperty({__proto__:null,Renderer:BQt},Symbol.toStringTag,{value:"Module"})),bZe=Ue.memo(function({element:e}){const t=Ue.useContext(vu),r=ms(Nv),{sendMessage:n}=Rh(),{user:o}=Cw(),{askUser:m}=Ue.useContext(H1),[u,h]=Ue.useState(),[a,l]=Ue.useState();Ue.useEffect(()=>{t.get(`/public/elements/${e.name}.jsx`).then(async s=>h(await s.text())).catch(s=>l(String(s)))},[e.name,t]);const v=Ue.useCallback(s=>{if(!r)return;const d={...e,props:s};return t.updateElement(d,r)},[e,r,t]),i=Ue.useCallback(()=>{if(r)return t.deleteElement(e,r)},[e,r,t]),S=Ue.useCallback(s=>{if(r)return t.callAction(s,r)},[r,t]),g=Ue.useCallback((s,d)=>n({threadId:"",id:hoe(),name:(o==null?void 0:o.identifier)||"User",type:"user_message",output:s,createdAt:new Date().toISOString(),metadata:{location:window.location.href},command:d}),[n,o]),p=Ue.useCallback(s=>{(m==null?void 0:m.spec.type)==="element"&&m.spec.step_id===e.forId&&m.callback({...s,submitted:!0})},[m,e.forId]),_=Ue.useCallback(()=>{(m==null?void 0:m.spec.type)==="element"&&m.spec.step_id===e.forId&&m.callback({submitted:!1})},[m,e.forId]),c=Ue.useMemo(()=>JSON.parse(JSON.stringify(e.props)),[e.props]);return a?Oe.jsx(ex,{variant:"error",children:a}):u?Oe.jsx("div",{className:`${e.display}-custom flex flex-col flex-grow`,children:Oe.jsx(qWe,{code:u,scope:{import:{...xZe,"@/components/renderer":zQt},props:c,apiClient:t,updateElement:v,deleteElement:i,callAction:S,sendUserMessage:g,submitElement:p,cancelElement:_},onRendered:s=>l(s==null?void 0:s.message)})}):null}),UQt=({items:e})=>Oe.jsx("div",{className:"flex flex-col gap-2",children:e.map(t=>Oe.jsx(bZe,{element:t},t.id))}),EZe=({element:e})=>e.url?Oe.jsxs("div",{className:ga("space-y-2",`${e.display}-audio`),children:[Oe.jsx("p",{className:"text-sm leading-7 text-muted-foreground",children:e.name}),Oe.jsx("audio",{controls:!0,src:e.url,autoPlay:e.autoPlay})]}):null,$Qt=({items:e})=>Oe.jsx("div",{className:"flex flex-col space-y-4",children:e.map((t,r)=>Oe.jsx("div",{className:"pt-2",children:Oe.jsx(EZe,{element:t})},r))}),S8r="modulepreload",w8r=function(e){return"/"+e},T8r={},Fd=function(t,r,n){let o=Promise.resolve();function m(u){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=u,window.dispatchEvent(h),!h.defaultPrevented)throw u}return o.then(u=>{for(const h of u||[])h.status==="rejected"&&m(h.reason);return t().catch(m)})},HQt=Ue.lazy(()=>Fd(()=>Promise.resolve().then(()=>grr),void 0)),SZe=({element:e})=>Oe.jsx(Ue.Suspense,{fallback:Oe.jsx(o5,{className:"h-full rounded-md"}),children:Oe.jsx(HQt,{element:e})}),VQt=({items:e})=>Oe.jsx("div",{className:"flex gap-1",children:e.map((t,r)=>Oe.jsx("div",{className:"max-h-[450px] w-full",children:Oe.jsx(SZe,{element:t})},r))}),wZe=({element:e})=>e.url?Oe.jsx("a",{className:`${e.display}-file no-underline`,download:e.name,href:e.url,target:"_blank",children:Oe.jsx(QGe,{name:e.name,mime:e.mime})}):null,GQt=({items:e})=>Oe.jsx("div",{className:"flex items-center gap-2",children:e.map((t,r)=>Oe.jsx("div",{children:Oe.jsx(wZe,{element:t})},r))}),TZe=({element:e})=>{const[t,r]=Ue.useState(!1);if(!e.url)return null;const n=()=>{r(!0)};return Oe.jsxs(Oe.Fragment,{children:[Oe.jsx("div",{className:"rounded-sm bg-accent overflow-hidden",children:Oe.jsx("img",{className:ga("mx-auto block max-w-full h-auto",e.display==="inline"&&"cursor-pointer",`${e.display}-image`),src:e.url,alt:e.name,loading:"lazy",onClick:n})}),Oe.jsx(P2,{open:t,onOpenChange:r,children:Oe.jsxs(T2e,{children:[Oe.jsx(Mie,{className:"bg-black/80"}),Oe.jsx(Lg,{className:"border-none bg-transparent shadow-none max-w-none p-0 max-h-screen overflow-auto [&>button]:hidden",children:Oe.jsxs("div",{className:"relative w-full h-full flex items-center justify-center",children:[Oe.jsx("button",{onClick:()=>r(!1),className:"absolute top-4 right-4 p-2 rounded-full bg-black/50 text-white hover:bg-black/70 focus:outline-none focus:ring-2 focus:ring-white","aria-label":"Close lightbox",children:Oe.jsx(Uh,{className:"h-6 w-6"})}),Oe.jsx("img",{src:e.url,alt:e.name,className:"max-w-[90vw] max-h-[90vh] object-contain",onClick:o=>o.stopPropagation()})]})})]})})]})},v3e=e=>{switch(e.size){case"small":return 1;case"medium":return 2;case"large":return 4;default:return 2}},jQt=({elements:e,renderElement:t,className:r})=>{if(e.length===1){const n=e[0],o=v3e(n);return Oe.jsx("div",{className:ga("w-full",o===1?"max-w-[150px]":o===2?"max-w-[300px]":"max-w-[600px]",r),children:Oe.jsx(t,{element:n})})}return Oe.jsx("div",{className:ga("grid grid-cols-4 gap-2 w-full max-w-[600px]","transform-gpu",r),children:e.map((n,o)=>{const m=v3e(n),u=v3e(n);return Oe.jsx("div",{className:ga("relative",m===1?"col-span-1":m===2?"col-span-2":"col-span-4",u===1?"row-span-1":u===2?"row-span-2":"row-span-4"),children:Oe.jsx(t,{element:n})},o)})})},YQt=({items:e})=>Oe.jsx(jQt,{elements:e,renderElement:t=>Oe.jsx(TZe,{element:t.element})}),AZe=({element:e})=>{if(!e.url)return null;const t=e.page?`${e.url}#page=${e.page}`:e.url;return Oe.jsx("iframe",{className:`${e.display}-pdf h-full w-full border-none`,src:t})},WQt=({items:e})=>Oe.jsx("div",{className:"flex flex-col gap-2",children:e.map((t,r)=>Oe.jsx("div",{className:"h-[400px]",children:Oe.jsx(AZe,{element:t})},r))}),KQt=e=>async t=>{const r={...e&&{credentials:"include"}},n=await fetch(t,r);if(!n.ok)throw new Error("Network response was not ok");const o=n.headers.get("content-type");return o!=null&&o.includes("application/json")?n.json():n.text()},m3e=e=>{const t=Ue.useContext(vu),r=e==null?void 0:e.startsWith(t.httpEndpoint);return TGe(e,KQt(!!r))},XQt=Ue.lazy(()=>Fd(()=>Promise.resolve().then(()=>_rr),void 0)),qQt=({element:e})=>{const{data:t,error:r,isLoading:n}=m3e(e.url||null);if(n)return Oe.jsx("div",{children:"Loading..."});if(r)return Oe.jsx("div",{children:"An error occurred"});let o;if(t)o=t;else return null;return Oe.jsx(Ue.Suspense,{fallback:Oe.jsx(o5,{className:"h-full rounded-md"}),children:Oe.jsx(XQt,{className:`${e.display}-plotly`,data:o.data,layout:o.layout,frames:o.frames,config:o.config,style:{width:"100%",height:"100%",borderRadius:"1rem",overflow:"hidden"},useResizeHandler:!0})})},CZe=e=>Oe.jsx(dGe,{prefix:"Failed to load chart.",children:Oe.jsx(qQt,{...e})}),ZQt=({items:e})=>Oe.jsx("div",{className:"flex flex-col gap-2",children:e.map((t,r)=>Oe.jsx("div",{className:"max-w-[600px] h-[400px]",style:{maxWidth:"fit-content",height:"400px"},children:Oe.jsx(CZe,{element:t})},r))}),kZe=({element:e})=>{var a,l;const{data:t,error:r,isLoading:n}=m3e(e.url||null),{config:o}=af(),m=(a=o==null?void 0:o.features)==null?void 0:a.unsafe_allow_html,u=(l=o==null?void 0:o.features)==null?void 0:l.latex;let h="";return n?Oe.jsx(o5,{className:"h-4 w-full"}):r?Oe.jsx(ex,{variant:"error",children:"An error occurred while loading the content"}):(t&&(h=t),e.language&&(h=`\`\`\`${e.language}
${h}
\`\`\``),Oe.jsx(OS,{allowHtml:m,latex:u,className:`${e.display}-text`,children:h}))},QQt=({items:e})=>Oe.jsx("div",{className:"flex flex-col gap-2",children:e.map(t=>Oe.jsxs(Ng,{children:[Oe.jsx(Ik,{children:Oe.jsx(gve,{children:t.name})}),Oe.jsx($T,{children:Oe.jsx(kZe,{element:t})})]},t.id))});var JQt=function(t,r,n){var o=document.head||document.getElementsByTagName("head")[0],m=document.createElement("script");typeof r=="function"&&(n=r,r={}),r=r||{},n=n||function(){},m.type=r.type||"text/javascript",m.charset=r.charset||"utf8",m.async="async"in r?!!r.async:!0,m.src=t,r.attrs&&eJt(m,r.attrs),r.text&&(m.text=""+r.text);var u="onload"in m?MZe:tJt;u(m,n),m.onload||MZe(m,n),o.appendChild(m)};function eJt(e,t){for(var r in t)e.setAttribute(r,t[r])}function MZe(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function tJt(e,t){e.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,t(null,e))}}var rJt=function(t){return nJt(t)&&!aJt(t)};function nJt(e){return!!e&&typeof e=="object"}function aJt(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||sJt(e)}var iJt=typeof Symbol=="function"&&Symbol.for,oJt=iJt?Symbol.for("react.element"):60103;function sJt(e){return e.$$typeof===oJt}function lJt(e){return Array.isArray(e)?[]:{}}function _8(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Z5(lJt(e),e,t):e}function cJt(e,t,r){return e.concat(t).map(function(n){return _8(n,r)})}function uJt(e,t){if(!t.customMerge)return Z5;var r=t.customMerge(e);return typeof r=="function"?r:Z5}function dJt(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function RZe(e){return Object.keys(e).concat(dJt(e))}function NZe(e,t){try{return t in e}catch{return!1}}function fJt(e,t){return NZe(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function hJt(e,t,r){var n={};return r.isMergeableObject(e)&&RZe(e).forEach(function(o){n[o]=_8(e[o],r)}),RZe(t).forEach(function(o){fJt(e,o)||(NZe(e,o)&&r.isMergeableObject(t[o])?n[o]=uJt(o,r)(e[o],t[o],r):n[o]=_8(t[o],r))}),n}function Z5(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||cJt,r.isMergeableObject=r.isMergeableObject||rJt,r.cloneUnlessOtherwiseSpecified=_8;var n=Array.isArray(t),o=Array.isArray(e),m=n===o;return m?n?r.arrayMerge(e,t,r):hJt(e,t,r):_8(t,r)}Z5.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return Z5(n,o,r)},{})};var pJt=Z5,IZe=pJt,vJt=Object.create,pse=Object.defineProperty,mJt=Object.getOwnPropertyDescriptor,gJt=Object.getOwnPropertyNames,yJt=Object.getPrototypeOf,_Jt=Object.prototype.hasOwnProperty,xJt=(e,t)=>{for(var r in t)pse(e,r,{get:t[r],enumerable:!0})},LZe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of gJt(t))!_Jt.call(e,o)&&o!==r&&pse(e,o,{get:()=>t[o],enumerable:!(n=mJt(t,o))||n.enumerable});return e},g3e=(e,t,r)=>(r=e!=null?vJt(yJt(e)):{},LZe(!e||!e.__esModule?pse(r,"default",{value:e,enumerable:!0}):r,e)),bJt=e=>LZe(pse({},"__esModule",{value:!0}),e),OZe={};xJt(OZe,{callPlayer:()=>FJt,getConfig:()=>DJt,getSDK:()=>OJt,isBlobUrl:()=>zJt,isMediaStream:()=>BJt,lazy:()=>TJt,omit:()=>PJt,parseEndTime:()=>NJt,parseStartTime:()=>RJt,queryString:()=>LJt,randomString:()=>IJt,supportsWebKitPresentationMode:()=>UJt});var mf=bJt(OZe),EJt=g3e(Ue),SJt=g3e(JQt),wJt=g3e(IZe);const TJt=e=>EJt.default.lazy(async()=>{const t=await e();return typeof t.default=="function"?t:t.default}),AJt=/[?&#](?:start|t)=([0-9hms]+)/,CJt=/[?&#]end=([0-9hms]+)/,y3e=/(\d+)(h|m|s)/g,kJt=/^\d+$/;function DZe(e,t){if(e instanceof Array)return;const r=e.match(t);if(r){const n=r[1];if(n.match(y3e))return MJt(n);if(kJt.test(n))return parseInt(n)}}function MJt(e){let t=0,r=y3e.exec(e);for(;r!==null;){const[,n,o]=r;o==="h"&&(t+=parseInt(n,10)*60*60),o==="m"&&(t+=parseInt(n,10)*60),o==="s"&&(t+=parseInt(n,10)),r=y3e.exec(e)}return t}function RJt(e){return DZe(e,AJt)}function NJt(e){return DZe(e,CJt)}function IJt(){return Math.random().toString(36).substr(2,5)}function LJt(e){return Object.keys(e).map(t=>`${t}=${e[t]}`).join("&")}function _3e(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}const Q5={},OJt=function(t,r,n=null,o=()=>!0,m=SJt.default){const u=_3e(r);return u&&o(u)?Promise.resolve(u):new Promise((h,a)=>{if(Q5[t]){Q5[t].push({resolve:h,reject:a});return}Q5[t]=[{resolve:h,reject:a}];const l=v=>{Q5[t].forEach(i=>i.resolve(v))};if(n){const v=window[n];window[n]=function(){v&&v(),l(_3e(r))}}m(t,v=>{v?(Q5[t].forEach(i=>i.reject(v)),Q5[t]=null):n||l(_3e(r))})})};function DJt(e,t){return(0,wJt.default)(t.config,e.config)}function PJt(e,...t){const r=[].concat(...t),n={},o=Object.keys(e);for(const m of o)r.indexOf(m)===-1&&(n[m]=e[m]);return n}function FJt(e,...t){if(!this.player||!this.player[e]){let r=`ReactPlayer: ${this.constructor.displayName} player could not call %c${e}%c `;return this.player?this.player[e]||(r+="The method was not available"):r+="The player was not available",console.warn(r,"font-weight: bold",""),null}return this.player[e](...t)}function BJt(e){return typeof window<"u"&&typeof window.MediaStream<"u"&&e instanceof window.MediaStream}function zJt(e){return/^blob:/.test(e)}function UJt(e=document.createElement("video")){const t=/iPhone|iPod/.test(navigator.userAgent)===!1;return e.webkitSupportsPresentationMode&&typeof e.webkitSetPresentationMode=="function"&&t}function A8r(e){return e}var x3e=Object.defineProperty,$Jt=Object.getOwnPropertyDescriptor,HJt=Object.getOwnPropertyNames,VJt=Object.prototype.hasOwnProperty,GJt=(e,t)=>{for(var r in t)x3e(e,r,{get:t[r],enumerable:!0})},jJt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of HJt(t))!VJt.call(e,o)&&o!==r&&x3e(e,o,{get:()=>t[o],enumerable:!(n=$Jt(t,o))||n.enumerable});return e},YJt=e=>jJt(x3e({},"__esModule",{value:!0}),e),PZe={};GJt(PZe,{AUDIO_EXTENSIONS:()=>E3e,DASH_EXTENSIONS:()=>ZZe,FLV_EXTENSIONS:()=>QZe,HLS_EXTENSIONS:()=>w3e,MATCH_URL_DAILYMOTION:()=>WZe,MATCH_URL_FACEBOOK:()=>$Ze,MATCH_URL_FACEBOOK_WATCH:()=>HZe,MATCH_URL_KALTURA:()=>qZe,MATCH_URL_MIXCLOUD:()=>KZe,MATCH_URL_MUX:()=>UZe,MATCH_URL_SOUNDCLOUD:()=>BZe,MATCH_URL_STREAMABLE:()=>VZe,MATCH_URL_TWITCH_CHANNEL:()=>YZe,MATCH_URL_TWITCH_VIDEO:()=>jZe,MATCH_URL_VIDYARD:()=>XZe,MATCH_URL_VIMEO:()=>zZe,MATCH_URL_WISTIA:()=>GZe,MATCH_URL_YOUTUBE:()=>b3e,VIDEO_EXTENSIONS:()=>S3e,canPlay:()=>WJt});var jh=YJt(PZe),FZe=mf;const b3e=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,BZe=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/,zZe=/vimeo\.com\/(?!progressive_redirect).+/,UZe=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,$Ze=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/,HZe=/^https?:\/\/fb\.watch\/.+$/,VZe=/streamable\.com\/([a-z0-9]+)$/,GZe=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,jZe=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/,YZe=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,WZe=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/,KZe=/mixcloud\.com\/([^/]+\/[^/]+)/,XZe=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/,qZe=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/,E3e=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,S3e=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,w3e=/\.(m3u8)($|\?)/i,ZZe=/\.(mpd)($|\?)/i,QZe=/\.(flv)($|\?)/i,T3e=e=>{if(e instanceof Array){for(const t of e)if(typeof t=="string"&&T3e(t)||T3e(t.src))return!0;return!1}return(0,FZe.isMediaStream)(e)||(0,FZe.isBlobUrl)(e)?!0:E3e.test(e)||S3e.test(e)||w3e.test(e)||ZZe.test(e)||QZe.test(e)},WJt={youtube:e=>e instanceof Array?e.every(t=>b3e.test(t)):b3e.test(e),soundcloud:e=>BZe.test(e)&&!E3e.test(e),vimeo:e=>zZe.test(e)&&!S3e.test(e)&&!w3e.test(e),mux:e=>UZe.test(e),facebook:e=>$Ze.test(e)||HZe.test(e),streamable:e=>VZe.test(e),wistia:e=>GZe.test(e),twitch:e=>jZe.test(e)||YZe.test(e),dailymotion:e=>WZe.test(e),mixcloud:e=>KZe.test(e),vidyard:e=>XZe.test(e),kaltura:e=>qZe.test(e),file:T3e};var A3e=Object.defineProperty,KJt=Object.getOwnPropertyDescriptor,XJt=Object.getOwnPropertyNames,qJt=Object.prototype.hasOwnProperty,ZJt=(e,t)=>{for(var r in t)A3e(e,r,{get:t[r],enumerable:!0})},QJt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of XJt(t))!qJt.call(e,o)&&o!==r&&A3e(e,o,{get:()=>t[o],enumerable:!(n=KJt(t,o))||n.enumerable});return e},JJt=e=>QJt(A3e({},"__esModule",{value:!0}),e),JZe={};ZJt(JZe,{default:()=>ter});var eer=JJt(JZe),Yh=mf,Qf=jh,ter=[{key:"youtube",name:"YouTube",canPlay:Qf.canPlay.youtube,lazyPlayer:(0,Yh.lazy)(()=>Fd(()=>Promise.resolve().then(()=>Lrr),void 0))},{key:"soundcloud",name:"SoundCloud",canPlay:Qf.canPlay.soundcloud,lazyPlayer:(0,Yh.lazy)(()=>Fd(()=>Promise.resolve().then(()=>Yrr),void 0))},{key:"vimeo",name:"Vimeo",canPlay:Qf.canPlay.vimeo,lazyPlayer:(0,Yh.lazy)(()=>Fd(()=>Promise.resolve().then(()=>onr),void 0))},{key:"mux",name:"Mux",canPlay:Qf.canPlay.mux,lazyPlayer:(0,Yh.lazy)(()=>Fd(()=>Promise.resolve().then(()=>gnr),void 0))},{key:"facebook",name:"Facebook",canPlay:Qf.canPlay.facebook,lazyPlayer:(0,Yh.lazy)(()=>Fd(()=>Promise.resolve().then(()=>Mnr),void 0))},{key:"streamable",name:"Streamable",canPlay:Qf.canPlay.streamable,lazyPlayer:(0,Yh.lazy)(()=>Fd(()=>Promise.resolve().then(()=>$nr),void 0))},{key:"wistia",name:"Wistia",canPlay:Qf.canPlay.wistia,lazyPlayer:(0,Yh.lazy)(()=>Fd(()=>Promise.resolve().then(()=>ear),void 0))},{key:"twitch",name:"Twitch",canPlay:Qf.canPlay.twitch,lazyPlayer:(0,Yh.lazy)(()=>Fd(()=>Promise.resolve().then(()=>har),void 0))},{key:"dailymotion",name:"DailyMotion",canPlay:Qf.canPlay.dailymotion,lazyPlayer:(0,Yh.lazy)(()=>Fd(()=>Promise.resolve().then(()=>Car),void 0))},{key:"mixcloud",name:"Mixcloud",canPlay:Qf.canPlay.mixcloud,lazyPlayer:(0,Yh.lazy)(()=>Fd(()=>Promise.resolve().then(()=>zar),void 0))},{key:"vidyard",name:"Vidyard",canPlay:Qf.canPlay.vidyard,lazyPlayer:(0,Yh.lazy)(()=>Fd(()=>Promise.resolve().then(()=>Qar),void 0))},{key:"kaltura",name:"Kaltura",canPlay:Qf.canPlay.kaltura,lazyPlayer:(0,Yh.lazy)(()=>Fd(()=>Promise.resolve().then(()=>dir),void 0))},{key:"file",name:"FilePlayer",canPlay:Qf.canPlay.file,canEnablePIP:e=>Qf.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,Yh.supportsWebKitPresentationMode)())&&!Qf.AUDIO_EXTENSIONS.test(e),lazyPlayer:(0,Yh.lazy)(()=>Fd(()=>Promise.resolve().then(()=>Nir),void 0))}],eQe=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function rer(e,t){return!!(e===t||eQe(e)&&eQe(t))}function ner(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!rer(e[r],t[r]))return!1;return!0}function aer(e,t){t===void 0&&(t=ner);var r,n=[],o,m=!1;function u(){for(var h=[],a=0;a<arguments.length;a++)h[a]=arguments[a];return m&&r===this&&t(h,n)||(o=e.apply(this,h),m=!0,r=this,n=h),o}return u}const ier=aet(Object.freeze(Object.defineProperty({__proto__:null,default:aer},Symbol.toStringTag,{value:"Module"})));var oer=typeof Element<"u",ser=typeof Map=="function",ler=typeof Set=="function",cer=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function vse(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,o;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!vse(e[n],t[n]))return!1;return!0}var m;if(ser&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(m=e.entries();!(n=m.next()).done;)if(!t.has(n.value[0]))return!1;for(m=e.entries();!(n=m.next()).done;)if(!vse(n.value[1],t.get(n.value[0])))return!1;return!0}if(ler&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(m=e.entries();!(n=m.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(cer&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;if(oer&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((o[n]==="_owner"||o[n]==="__v"||o[n]==="__o")&&e.$$typeof)&&!vse(e[o[n]],t[o[n]]))return!1;return!0}return e!==e&&t!==t}var tQe=function(t,r){try{return vse(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}},uer=Object.create,mse=Object.defineProperty,der=Object.getOwnPropertyDescriptor,fer=Object.getOwnPropertyNames,her=Object.getPrototypeOf,per=Object.prototype.hasOwnProperty,ver=(e,t)=>{for(var r in t)mse(e,r,{get:t[r],enumerable:!0})},rQe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of fer(t))!per.call(e,o)&&o!==r&&mse(e,o,{get:()=>t[o],enumerable:!(n=der(t,o))||n.enumerable});return e},mer=(e,t,r)=>(r=e!=null?uer(her(e)):{},rQe(!e||!e.__esModule?mse(r,"default",{value:e,enumerable:!0}):r,e)),ger=e=>rQe(mse({},"__esModule",{value:!0}),e),nQe={};ver(nQe,{defaultProps:()=>xer,propTypes:()=>_er});var aQe=ger(nQe),yer=mer(sxe);const{string:Bd,bool:Jf,number:J5,array:C3e,oneOfType:x8,shape:qp,object:gf,func:Fu,node:iQe}=yer.default,_er={url:x8([Bd,C3e,gf]),playing:Jf,loop:Jf,controls:Jf,volume:J5,muted:Jf,playbackRate:J5,width:x8([Bd,J5]),height:x8([Bd,J5]),style:gf,progressInterval:J5,playsinline:Jf,pip:Jf,stopOnUnmount:Jf,light:x8([Jf,Bd,gf]),playIcon:iQe,previewTabIndex:J5,previewAriaLabel:Bd,fallback:iQe,oEmbedUrl:Bd,wrapper:x8([Bd,Fu,qp({render:Fu.isRequired})]),config:qp({soundcloud:qp({options:gf}),youtube:qp({playerVars:gf,embedOptions:gf,onUnstarted:Fu}),facebook:qp({appId:Bd,version:Bd,playerId:Bd,attributes:gf}),dailymotion:qp({params:gf}),vimeo:qp({playerOptions:gf,title:Bd}),mux:qp({attributes:gf,version:Bd}),file:qp({attributes:gf,tracks:C3e,forceVideo:Jf,forceAudio:Jf,forceHLS:Jf,forceSafariHLS:Jf,forceDisableHls:Jf,forceDASH:Jf,forceFLV:Jf,hlsOptions:gf,hlsVersion:Bd,dashVersion:Bd,flvVersion:Bd}),wistia:qp({options:gf,playerId:Bd,customControls:C3e}),mixcloud:qp({options:gf}),twitch:qp({options:gf,playerId:Bd}),vidyard:qp({options:gf})}),onReady:Fu,onStart:Fu,onPlay:Fu,onPause:Fu,onBuffer:Fu,onBufferEnd:Fu,onEnded:Fu,onError:Fu,onDuration:Fu,onSeek:Fu,onPlaybackRateChange:Fu,onPlaybackQualityChange:Fu,onProgress:Fu,onClickPreview:Fu,onEnablePIP:Fu,onDisablePIP:Fu},zd=()=>{},xer={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:zd},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},mux:{attributes:{},version:"2"},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0",forceDisableHls:!1},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:zd,onStart:zd,onPlay:zd,onPause:zd,onBuffer:zd,onBufferEnd:zd,onEnded:zd,onError:zd,onDuration:zd,onSeek:zd,onPlaybackRateChange:zd,onPlaybackQualityChange:zd,onProgress:zd,onClickPreview:zd,onEnablePIP:zd,onDisablePIP:zd};var ber=Object.create,b8=Object.defineProperty,Eer=Object.getOwnPropertyDescriptor,Ser=Object.getOwnPropertyNames,wer=Object.getPrototypeOf,Ter=Object.prototype.hasOwnProperty,Aer=(e,t,r)=>t in e?b8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Cer=(e,t)=>{for(var r in t)b8(e,r,{get:t[r],enumerable:!0})},oQe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Ser(t))!Ter.call(e,o)&&o!==r&&b8(e,o,{get:()=>t[o],enumerable:!(n=Eer(t,o))||n.enumerable});return e},sQe=(e,t,r)=>(r=e!=null?ber(wer(e)):{},oQe(!e||!e.__esModule?b8(r,"default",{value:e,enumerable:!0}):r,e)),ker=e=>oQe(b8({},"__esModule",{value:!0}),e),tu=(e,t,r)=>(Aer(e,typeof t!="symbol"?t+"":t,r),r),lQe={};Cer(lQe,{default:()=>gse});var Mer=ker(lQe),cQe=sQe(Ue),Rer=sQe(tQe),uQe=aQe,Ner=mf;const Ier=5e3;class gse extends cQe.Component{constructor(){super(...arguments),tu(this,"mounted",!1),tu(this,"isReady",!1),tu(this,"isPlaying",!1),tu(this,"isLoading",!0),tu(this,"loadOnReady",null),tu(this,"startOnPlay",!0),tu(this,"seekOnPlay",null),tu(this,"onDurationCalled",!1),tu(this,"handlePlayerMount",t=>{if(this.player){this.progress();return}this.player=t,this.player.load(this.props.url),this.progress()}),tu(this,"getInternalPlayer",t=>this.player?this.player[t]:null),tu(this,"progress",()=>{if(this.props.url&&this.player&&this.isReady){const t=this.getCurrentTime()||0,r=this.getSecondsLoaded(),n=this.getDuration();if(n){const o={playedSeconds:t,played:t/n};r!==null&&(o.loadedSeconds=r,o.loaded=r/n),(o.playedSeconds!==this.prevPlayed||o.loadedSeconds!==this.prevLoaded)&&this.props.onProgress(o),this.prevPlayed=o.playedSeconds,this.prevLoaded=o.loadedSeconds}}this.progressTimeout=setTimeout(this.progress,this.props.progressFrequency||this.props.progressInterval)}),tu(this,"handleReady",()=>{if(!this.mounted)return;this.isReady=!0,this.isLoading=!1;const{onReady:t,playing:r,volume:n,muted:o}=this.props;t(),!o&&n!==null&&this.player.setVolume(n),this.loadOnReady?(this.player.load(this.loadOnReady,!0),this.loadOnReady=null):r&&this.player.play(),this.handleDurationCheck()}),tu(this,"handlePlay",()=>{this.isPlaying=!0,this.isLoading=!1;const{onStart:t,onPlay:r,playbackRate:n}=this.props;this.startOnPlay&&(this.player.setPlaybackRate&&n!==1&&this.player.setPlaybackRate(n),t(),this.startOnPlay=!1),r(),this.seekOnPlay&&(this.seekTo(this.seekOnPlay),this.seekOnPlay=null),this.handleDurationCheck()}),tu(this,"handlePause",t=>{this.isPlaying=!1,this.isLoading||this.props.onPause(t)}),tu(this,"handleEnded",()=>{const{activePlayer:t,loop:r,onEnded:n}=this.props;t.loopOnEnded&&r&&this.seekTo(0),r||(this.isPlaying=!1,n())}),tu(this,"handleError",(...t)=>{this.isLoading=!1,this.props.onError(...t)}),tu(this,"handleDurationCheck",()=>{clearTimeout(this.durationCheckTimeout);const t=this.getDuration();t?this.onDurationCalled||(this.props.onDuration(t),this.onDurationCalled=!0):this.durationCheckTimeout=setTimeout(this.handleDurationCheck,100)}),tu(this,"handleLoaded",()=>{this.isLoading=!1})}componentDidMount(){this.mounted=!0}componentWillUnmount(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP()),this.mounted=!1}componentDidUpdate(t){if(!this.player)return;const{url:r,playing:n,volume:o,muted:m,playbackRate:u,pip:h,loop:a,activePlayer:l,disableDeferredLoading:v}=this.props;if(!(0,Rer.default)(t.url,r)){if(this.isLoading&&!l.forceLoad&&!v&&!(0,Ner.isMediaStream)(r)){console.warn(`ReactPlayer: the attempt to load ${r} is being deferred until the player has loaded`),this.loadOnReady=r;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(r,this.isReady)}!t.playing&&n&&!this.isPlaying&&this.player.play(),t.playing&&!n&&this.isPlaying&&this.player.pause(),!t.pip&&h&&this.player.enablePIP&&this.player.enablePIP(),t.pip&&!h&&this.player.disablePIP&&this.player.disablePIP(),t.volume!==o&&o!==null&&this.player.setVolume(o),t.muted!==m&&(m?this.player.mute():(this.player.unmute(),o!==null&&setTimeout(()=>this.player.setVolume(o)))),t.playbackRate!==u&&this.player.setPlaybackRate&&this.player.setPlaybackRate(u),t.loop!==a&&this.player.setLoop&&this.player.setLoop(a)}getDuration(){return this.isReady?this.player.getDuration():null}getCurrentTime(){return this.isReady?this.player.getCurrentTime():null}getSecondsLoaded(){return this.isReady?this.player.getSecondsLoaded():null}seekTo(t,r,n){if(!this.isReady){t!==0&&(this.seekOnPlay=t,setTimeout(()=>{this.seekOnPlay=null},Ier));return}if(r?r==="fraction":t>0&&t<1){const m=this.player.getDuration();if(!m){console.warn("ReactPlayer: could not seek using fraction  duration not yet available");return}this.player.seekTo(m*t,n);return}this.player.seekTo(t,n)}render(){const t=this.props.activePlayer;return t?cQe.default.createElement(t,{...this.props,onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError}):null}}tu(gse,"displayName","Player"),tu(gse,"propTypes",uQe.propTypes),tu(gse,"defaultProps",uQe.defaultProps);var Ler=Object.create,E8=Object.defineProperty,Oer=Object.getOwnPropertyDescriptor,Der=Object.getOwnPropertyNames,Per=Object.getPrototypeOf,Fer=Object.prototype.hasOwnProperty,Ber=(e,t,r)=>t in e?E8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,zer=(e,t)=>{for(var r in t)E8(e,r,{get:t[r],enumerable:!0})},dQe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Der(t))!Fer.call(e,o)&&o!==r&&E8(e,o,{get:()=>t[o],enumerable:!(n=Oer(t,o))||n.enumerable});return e},S8=(e,t,r)=>(r=e!=null?Ler(Per(e)):{},dQe(!e||!e.__esModule?E8(r,"default",{value:e,enumerable:!0}):r,e)),Uer=e=>dQe(E8({},"__esModule",{value:!0}),e),ru=(e,t,r)=>(Ber(e,typeof t!="symbol"?t+"":t,r),r),fQe={};zer(fQe,{createReactPlayer:()=>Xer});var $er=Uer(fQe),e6=S8(Ue),Her=S8(IZe),k3e=S8(ier),hQe=S8(tQe),w8=aQe,pQe=mf,Ver=S8(Mer);const Ger=(0,pQe.lazy)(()=>Fd(()=>Promise.resolve().then(()=>Hir),void 0)),jer=typeof window<"u"&&window.document&&typeof document<"u",Yer=typeof Ns<"u"&&Ns.window&&Ns.window.document,Wer=Object.keys(w8.propTypes),Ker=jer||Yer?e6.Suspense:()=>null,T8=[],Xer=(e,t)=>{var r;return r=class extends e6.Component{constructor(){super(...arguments),ru(this,"state",{showPreview:!!this.props.light}),ru(this,"references",{wrapper:n=>{this.wrapper=n},player:n=>{this.player=n}}),ru(this,"handleClickPreview",n=>{this.setState({showPreview:!1}),this.props.onClickPreview(n)}),ru(this,"showPreview",()=>{this.setState({showPreview:!0})}),ru(this,"getDuration",()=>this.player?this.player.getDuration():null),ru(this,"getCurrentTime",()=>this.player?this.player.getCurrentTime():null),ru(this,"getSecondsLoaded",()=>this.player?this.player.getSecondsLoaded():null),ru(this,"getInternalPlayer",(n="player")=>this.player?this.player.getInternalPlayer(n):null),ru(this,"seekTo",(n,o,m)=>{if(!this.player)return null;this.player.seekTo(n,o,m)}),ru(this,"handleReady",()=>{this.props.onReady(this)}),ru(this,"getActivePlayer",(0,k3e.default)(n=>{for(const o of[...T8,...e])if(o.canPlay(n))return o;return t||null})),ru(this,"getConfig",(0,k3e.default)((n,o)=>{const{config:m}=this.props;return Her.default.all([w8.defaultProps.config,w8.defaultProps.config[o]||{},m,m[o]||{}])})),ru(this,"getAttributes",(0,k3e.default)(n=>(0,pQe.omit)(this.props,Wer))),ru(this,"renderActivePlayer",n=>{if(!n)return null;const o=this.getActivePlayer(n);if(!o)return null;const m=this.getConfig(n,o.key);return e6.default.createElement(Ver.default,{...this.props,key:o.key,ref:this.references.player,config:m,activePlayer:o.lazyPlayer||o,onReady:this.handleReady})})}shouldComponentUpdate(n,o){return!(0,hQe.default)(this.props,n)||!(0,hQe.default)(this.state,o)}componentDidUpdate(n){const{light:o}=this.props;!n.light&&o&&this.setState({showPreview:!0}),n.light&&!o&&this.setState({showPreview:!1})}renderPreview(n){if(!n)return null;const{light:o,playIcon:m,previewTabIndex:u,oEmbedUrl:h,previewAriaLabel:a}=this.props;return e6.default.createElement(Ger,{url:n,light:o,playIcon:m,previewTabIndex:u,previewAriaLabel:a,oEmbedUrl:h,onClick:this.handleClickPreview})}render(){const{url:n,style:o,width:m,height:u,fallback:h,wrapper:a}=this.props,{showPreview:l}=this.state,v=this.getAttributes(n),i=typeof a=="string"?this.references.wrapper:void 0;return e6.default.createElement(a,{ref:i,style:{...o,width:m,height:u},...v},e6.default.createElement(Ker,{fallback:h},l?this.renderPreview(n):this.renderActivePlayer(n)))}},ru(r,"displayName","ReactPlayer"),ru(r,"propTypes",w8.propTypes),ru(r,"defaultProps",w8.defaultProps),ru(r,"addCustomPlayer",n=>{T8.push(n)}),ru(r,"removeCustomPlayers",()=>{T8.length=0}),ru(r,"canPlay",n=>{for(const o of[...T8,...e])if(o.canPlay(n))return!0;return!1}),ru(r,"canEnablePIP",n=>{for(const o of[...T8,...e])if(o.canEnablePIP&&o.canEnablePIP(n))return!0;return!1}),r};var qer=Object.create,yse=Object.defineProperty,Zer=Object.getOwnPropertyDescriptor,Qer=Object.getOwnPropertyNames,Jer=Object.getPrototypeOf,etr=Object.prototype.hasOwnProperty,ttr=(e,t)=>{for(var r in t)yse(e,r,{get:t[r],enumerable:!0})},vQe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Qer(t))!etr.call(e,o)&&o!==r&&yse(e,o,{get:()=>t[o],enumerable:!(n=Zer(t,o))||n.enumerable});return e},rtr=(e,t,r)=>(r=e!=null?qer(Jer(e)):{},vQe(!e||!e.__esModule?yse(r,"default",{value:e,enumerable:!0}):r,e)),ntr=e=>vQe(yse({},"__esModule",{value:!0}),e),mQe={};ttr(mQe,{default:()=>str});var atr=ntr(mQe),M3e=rtr(eer),itr=$er;const otr=M3e.default[M3e.default.length-1];var str=(0,itr.createReactPlayer)(M3e.default,otr);const ltr=ec(atr),gQe=({element:e})=>e.url?Oe.jsx(ltr,{className:`${e.display}-video`,width:"100%",controls:!0,url:e.url,config:e.playerConfig||{}}):null,ctr=({items:e})=>Oe.jsx("div",{className:"flex flex-col gap-2",children:e.map(t=>Oe.jsx(gQe,{element:t},t.id))}),yQe=({elements:e,className:t})=>{var n,o,m,u,h,a,l,v,i;if(!e.length)return null;const r=e.reduce((S,g)=>(S[g.type]||(S[g.type]=[]),S[g.type].push(g),S),{});return Oe.jsxs("div",{className:ga("flex flex-col gap-4",t),children:[(n=r.custom)!=null&&n.length?Oe.jsx(UQt,{items:r.custom}):null,(o=r.image)!=null&&o.length?Oe.jsx(YQt,{items:r.image}):null,(m=r.text)!=null&&m.length?Oe.jsx(QQt,{items:r.text}):null,(u=r.pdf)!=null&&u.length?Oe.jsx(WQt,{items:r.pdf}):null,(h=r.audio)!=null&&h.length?Oe.jsx($Qt,{items:r.audio}):null,(a=r.video)!=null&&a.length?Oe.jsx(ctr,{items:r.video}):null,(l=r.file)!=null&&l.length?Oe.jsx(GQt,{items:r.file}):null,(v=r.plotly)!=null&&v.length?Oe.jsx(ZQt,{items:r.plotly}):null,(i=r.dataframe)!=null&&i.length?Oe.jsx(VQt,{items:r.dataframe}):null]})},_Qe=e=>({id:e.id,output:e.output,input:e.input,language:e.language,streaming:e.streaming,showInput:e.showInput,type:e.type}),_se=Ue.memo(Ue.forwardRef(({message:e,elements:t,allowHtml:r,latex:n,sections:o},m)=>{const u=e.streaming&&e.output?e.output+tDe:e.output,{preparedContent:h,inlinedElements:a,refElements:l}=pYe({elements:t,id:e.id,content:u,language:e.language}),v=o??["input","output"],i=Ue.useMemo(()=>new Set(v),[v]),S=i.has("input")&&e.input&&e.showInput,g=i.has("output"),p=e.type.includes("message"),_=g?Oe.jsxs(Oe.Fragment,{children:[!p&&S&&e.output?Oe.jsx("div",{className:"font-medium",children:"Output"}):null,Oe.jsx(OS,{allowHtml:r,latex:n,refElements:l,children:h})]}):null;let c;if(S){const d=e.streaming&&e.input?e.input+tDe:e.input,{preparedContent:f,refElements:b}=pYe({elements:t,id:e.id,content:d,language:typeof e.showInput=="string"?e.showInput:void 0});c=Oe.jsx(Oe.Fragment,{children:Oe.jsx(OS,{allowHtml:r,latex:n,refElements:b,children:f})})}const s=Oe.jsxs("div",{className:"flex flex-col gap-4",children:[c,_]});return Oe.jsxs("div",{ref:m,className:"message-content w-full flex flex-col gap-2",children:[S||g&&h?s:null,g?Oe.jsx(yQe,{elements:a}):null]})}),(e,t)=>e.allowHtml===t.allowHtml&&e.latex===t.latex&&e.elements===t.elements&&hu.isEqual(e.sections??["input","output"],t.sections??["input","output"])&&hu.isEqual(_Qe(e.message),_Qe(t.message)));function utr({step:e,children:t,isRunning:r}){var h;const n=Ue.useMemo(()=>r&&e.start&&!e.end&&!e.isError,[e,r]),o=e.input||e.output||((h=e.steps)==null?void 0:h.length),m=e.isError,u=e.name;return o?Oe.jsx("div",{className:"flex flex-col flex-grow w-0",children:Oe.jsx(cXe,{type:"single",collapsible:!0,defaultValue:e.defaultOpen?e.id:void 0,className:"w-full",children:Oe.jsxs(Dbe,{value:e.id,className:"border-none",children:[Oe.jsx(Pbe,{className:ga("flex items-center gap-1 justify-start transition-none p-0 hover:no-underline",m&&"text-red-500",!n&&"text-muted-foreground hover:text-foreground",n&&"loading-shimmer"),id:`step-${u}`,children:n?Oe.jsxs(Oe.Fragment,{children:[Oe.jsx(Us,{path:"chat.messages.status.using"})," ",u]}):Oe.jsxs(Oe.Fragment,{children:[Oe.jsx(Us,{path:"chat.messages.status.used"})," ",u]})}),Oe.jsx(Fbe,{children:Oe.jsx("div",{className:"flex-grow mt-4 ml-1 pl-4 border-l-2 border-primary",children:t})})]})})}):Oe.jsx("div",{className:"flex flex-col flex-grow w-0",children:Oe.jsx("p",{className:ga("flex items-center gap-1 font-medium",m&&"text-red-500",!n&&"text-muted-foreground",n&&"loading-shimmer"),id:`step-${u}`,children:n?Oe.jsxs(Oe.Fragment,{children:[Oe.jsx(Us,{path:"chat.messages.status.using"})," ",u]}):Oe.jsxs(Oe.Fragment,{children:[Oe.jsx(Us,{path:"chat.messages.status.used"})," ",u]})})})}const dtr=({className:e})=>Oe.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:Oe.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2929 4.29291C15.0641 2.52167 17.9359 2.52167 19.7071 4.2929C21.4784 6.06414 21.4784 8.93588 19.7071 10.7071L18.7073 11.7069L11.6135 18.8007C10.8766 19.5376 9.92793 20.0258 8.89999 20.1971L4.16441 20.9864C3.84585 21.0395 3.52127 20.9355 3.29291 20.7071C3.06454 20.4788 2.96053 20.1542 3.01362 19.8356L3.80288 15.1C3.9742 14.0721 4.46243 13.1234 5.19932 12.3865L13.2929 4.29291ZM13 7.41422L6.61353 13.8007C6.1714 14.2428 5.87846 14.8121 5.77567 15.4288L5.21656 18.7835L8.57119 18.2244C9.18795 18.1216 9.75719 17.8286 10.1993 17.3865L16.5858 11L13 7.41422ZM18 9.5858L14.4142 6.00001L14.7071 5.70712C15.6973 4.71693 17.3027 4.71693 18.2929 5.70712C19.2831 6.69731 19.2831 8.30272 18.2929 9.29291L18 9.5858Z",fill:"currentColor"})}),ftr=Ue.memo(function({message:t,elements:r,children:n}){const{askUser:o,loading:m,editable:u}=Ue.useContext(H1),{editMessage:h}=Rh(),a=ss(Sw),l=m||!!o,[v,i]=Ue.useState(!1),[S,g]=Ue.useState(""),p=Ue.useMemo(()=>r.filter(c=>c.forId===t.id&&c.display==="inline"),[t.id,r]),_=()=>{S&&(a(c=>{const s=c.findIndex(f=>f.id===t.id);if(s===-1)return c;const d=c.slice(0,s+1);return d[s].steps=[],d}),i(!1),h({...t,output:S}))};return Oe.jsxs("div",{className:"flex flex-col w-full gap-1",children:[Oe.jsx(yQe,{elements:p,className:"items-end"}),Oe.jsxs("div",{className:"flex flex-row items-center gap-1 w-full group",children:[!v&&u&&Oe.jsx(Ko,{variant:"ghost",size:"icon",className:"edit-message ml-auto invisible group-hover:visible",onClick:()=>{g(t.output),i(!0)},disabled:l,children:Oe.jsx(dtr,{})}),Oe.jsx("div",{className:ga("px-5 py-2.5 relative bg-accent rounded-3xl",p.length?"rounded-tr-lg":"",v?"w-full flex-grow":"max-w-[70%] flex-grow-0",u?"":"ml-auto"),children:v?Oe.jsxs("div",{className:"bg-accent flex flex-col",children:[Oe.jsx(tje,{id:"edit-chat-input",autoFocus:!0,value:S,onChange:c=>g(c.target.value),className:"mt-1 bg-transparent placeholder:text-base placeholder:font-medium text-base",maxHeight:250}),Oe.jsxs("div",{className:"flex justify-end gap-4",children:[Oe.jsx(Ko,{variant:"ghost",onClick:()=>i(!1),children:Oe.jsx(Us,{path:"common.actions.cancel"})}),Oe.jsx(Ko,{className:"confirm-edit",disabled:l,onClick:_,children:Oe.jsx(Us,{path:"common.actions.confirm"})})]})]}):Oe.jsxs("div",{className:"flex flex-col",children:[t.command?Oe.jsx("div",{className:"font-bold text-[#08f] command-span",children:t.command}):null,n]})})]})]})}),htr=[],ptr=Ue.memo(({message:e,elements:t,actions:r,isRunning:n,indent:o,isScorable:m,scorableRun:u})=>{var x;const{allowHtml:h,cot:a,latex:l,onError:v}=Ue.useContext(H1),i=rYe(),S=Ue.useRef(null),g=e.type==="user_message",p=!e.type.includes("message"),s=p&&a==="tool_call"&&e.type!=="tool"||p&&a==="hidden",d=!!(e.input&&e.showInput),f=!d||!!e.output,b=Ue.useMemo(()=>Oe.jsx(_se,{elements:htr,message:e,allowHtml:h,latex:l}),[e,h,l]);return s?e.steps?Oe.jsx(t6,{messages:e.steps,elements:t,actions:r,indent:o,isRunning:n,scorableRun:u}):null:Oe.jsxs(Oe.Fragment,{children:[Oe.jsx("div",{"data-step-type":e.type,className:"step py-2",children:Oe.jsx("div",{className:"flex flex-col",style:{maxWidth:o?"100%":i},children:Oe.jsx("div",{className:ga("flex flex-grow pb-2"),id:`step-${e.id}`,children:g?Oe.jsx("div",{className:"flex flex-col flex-grow max-w-full",children:Oe.jsx(ftr,{message:e,elements:t,children:b})}):Oe.jsxs("div",{className:"ai-message flex gap-4 w-full",children:[!p||!o?Oe.jsx(pGt,{author:((x=e.metadata)==null?void 0:x.avatarName)||e.name,isError:e.isError}):null,p?Oe.jsxs(utr,{step:e,isRunning:n,children:[d?Oe.jsx(_se,{elements:t,message:e,allowHtml:h,latex:l,sections:["input"]}):null,e.steps?Oe.jsx(t6,{messages:e.steps.filter(y=>!y.type.includes("message")),elements:t,actions:r,indent:o+1,isRunning:n}):null,f?Oe.jsx(_se,{ref:S,elements:t,message:e,allowHtml:h,latex:l,sections:d?["output"]:void 0}):null,Oe.jsx(fYe,{message:e,actions:r,contentRef:S})]}):Oe.jsxs("div",{className:"flex flex-col items-start min-w-[150px] flex-grow gap-2",children:[Oe.jsx(_se,{ref:S,elements:t,message:e,allowHtml:h,latex:l}),Oe.jsx(cGt,{messageId:e.id,onError:v}),Oe.jsx(oGt,{actions:r,messageId:e.id}),Oe.jsx(fYe,{message:e,actions:r,run:u&&m?u:void 0,contentRef:S})]})]})})})}),e.steps&&p?Oe.jsx(t6,{messages:e.steps.filter(y=>y.type.includes("message")),elements:t,actions:r,indent:0,isRunning:n,scorableRun:u}):null,e.steps&&!p?Oe.jsx(t6,{messages:e.steps,elements:t,actions:r,indent:o,isRunning:n}):null]})}),vtr=["on_chat_start","on_message","on_audio_end"],xQe=e=>{var t;return((t=e.steps)==null?void 0:t.some(r=>r.type==="tool"&&r.start&&!r.end&&!r.isError||r.type.includes("message")||xQe(r)))||!1},bQe=e=>{var t;return((t=e.steps)==null?void 0:t.some(r=>r.type==="assistant_message"||bQe(r)))||!1},t6=Ue.memo(({messages:e,elements:t,actions:r,indent:n,isRunning:o,scorableRun:m})=>{const u=Ue.useContext(H1),h=Ue.useMemo(()=>e.findLast(l=>l.type==="assistant_message"),[e]),a=Ue.useMemo(()=>{var l;return(l=m==null?void 0:m.steps)==null?void 0:l.findLast(v=>v.type==="assistant_message")},[m]);return Oe.jsx(Oe.Fragment,{children:e.map(l=>{var v;if(vtr.includes(l.name)){const i=!l.end&&!l.isError&&u.loading,S=u.cot==="tool_call"||u.cot==="full",g=u.cot==="hidden",p=S?i&&!xQe(l):!1,_=g?i&&!bQe(l):!1,c=!i&&l.name!=="on_chat_start"?l:void 0;return Oe.jsxs(wn.Fragment,{children:[(v=l.steps)!=null&&v.length?Oe.jsx(t6,{messages:l.steps,elements:t,actions:r,indent:n,isRunning:i,scorableRun:c}):null,(p||_)&&l.name!=="on_chat_start"?Oe.jsx(rDe,{}):null]},l.id)}else{const i=l.type==="run"?l:m,p=(l.type==="run"?!1:l===a)||l===h;return Oe.jsx(ptr,{message:l,elements:t,actions:r,indent:n,isRunning:o,scorableRun:i,isScorable:p},l.id)}})})}),mtr=({navigate:e})=>{var b,x,y;const t=Ue.useContext(vu),{config:r}=af(),{elements:n,askUser:o,loading:m,actions:u}=By(),{messages:h}=Uy(),{uploadFile:a}=Rh(),l=ss(Sw),v=ss(YA),i=ms(Nv),{t:S}=sm(),g=Ue.useCallback((C,w,R)=>a(C,w,R),[a]),p=Ue.useCallback(async(C,w,R)=>{Sl.promise(t.setFeedback(R,i),{loading:S("chat.messages.feedback.status.updating"),success:A=>(l(E=>Aw(E,C.id,{...C,feedback:{...R,id:A.feedbackId}})),w(),S("chat.messages.feedback.status.updated")),error:A=>Oe.jsx("span",{children:A.message})})},[]),_=Ue.useCallback(async(C,w,R)=>{Sl.promise(t.deleteFeedback(R),{loading:S("chat.messages.feedback.status.updating"),success:()=>(l(A=>Aw(A,C.id,{...C,feedback:void 0})),w(),S("chat.messages.feedback.status.updated")),error:A=>Oe.jsx("span",{children:A.message})})},[]),c=Ue.useCallback(C=>{if(C.display==="side"||C.display==="page"&&!e){v({title:C.name,elements:[C]});return}let w=`/element/${C.id}`;return C.threadId&&(w+=`?thread=${C.threadId}`),e==null?void 0:e(C.display==="page"?w:"#")},[v,e]),s=Ue.useCallback(C=>Sl.error(C),[Sl]),d=!!(r!=null&&r.dataPersistence),f=Ue.useMemo(()=>{var C,w,R,A;return{uploadFile:g,askUser:o,allowHtml:(C=r==null?void 0:r.features)==null?void 0:C.unsafe_allow_html,latex:(w=r==null?void 0:r.features)==null?void 0:w.latex,editable:!!(r!=null&&r.features.edit_message),loading:m,showFeedbackButtons:d,uiName:((R=r==null?void 0:r.ui)==null?void 0:R.name)||"",cot:((A=r==null?void 0:r.ui)==null?void 0:A.cot)||"hidden",onElementRefClick:c,onError:s,onFeedbackUpdated:p,onFeedbackDeleted:_}},[o,d,m,(b=r==null?void 0:r.ui)==null?void 0:b.name,(x=r==null?void 0:r.ui)==null?void 0:x.cot,(y=r==null?void 0:r.features)==null?void 0:y.unsafe_allow_html,c,s,p]);return Oe.jsx(H1.Provider,{value:f,children:Oe.jsx(t6,{indent:0,isRunning:m,messages:h,elements:n,actions:u})})};function gtr({autoScrollRef:e,autoScrollUserMessage:t,autoScrollAssistantMessage:r,children:n,className:o}){const m=Ue.useRef(null),u=Ue.useRef(null),h=Ue.useRef(null),{messages:a}=Uy(),[l,v]=Ue.useState(!1),[i,S]=Ue.useState(!1),g=Ue.useCallback(()=>{if(m.current)if(t&&h.current){const d=m.current.clientHeight,f=h.current.offsetHeight;let b=0,x=h.current.nextElementSibling;for(;x&&x!==u.current;)b+=x.offsetHeight,x=x.nextElementSibling;const y=d-f-b-32;u.current&&(u.current.style.height=`${Math.max(0,y)}px`),b===0?c():r&&(e!=null&&e.current)&&(m.current.scrollTop=m.current.scrollHeight)}else r&&(e!=null&&e.current)&&(m.current.scrollTop=m.current.scrollHeight)},[t,r,e]);Ue.useEffect(()=>{if(!m.current)return;if(a.length===0&&u.current){u.current.style.height="0px";return}const d=m.current.querySelectorAll('[data-step-type="user_message"]');if(d.length>0){const f=d[d.length-1];h.current=f,g()}},[a,g]),Ue.useEffect(()=>{if(!t)return;const d=()=>{g()};return window.addEventListener("resize",d),g(),()=>{window.removeEventListener("resize",d)}},[t,g]),Ue.useEffect(()=>{m.current&&setTimeout(()=>{if(!m.current)return;const{scrollTop:d,scrollHeight:f,clientHeight:b}=m.current,x=d+b>=f-10;v(!x)},500)},[]);const p=()=>{if(!m.current)return;const d=m.current.scrollTop;setTimeout(()=>{if(!m.current)return;if(m.current.scrollTop===d){S(!1);const{scrollTop:b,scrollHeight:x,clientHeight:y}=m.current,C=b+y>=x-10;v(!C)}else p()},100)},_=()=>{m.current&&(S(!0),m.current.scrollTo({top:m.current.scrollHeight,behavior:"smooth"}),e&&(e.current=!0),v(!1),p())},c=()=>{if(!m.current||!h.current)return;S(!0);const d=h.current.offsetTop-20;m.current.scrollTo({top:d,behavior:"smooth"}),v(!1),p()},s=()=>{if(!m.current||i)return;const{scrollTop:d,scrollHeight:f,clientHeight:b}=m.current,x=d+b>=f-10;e&&(e.current=x),v(!x)};return Oe.jsxs("div",{className:"relative flex flex-col flex-grow overflow-y-auto",children:[Oe.jsxs("div",{ref:m,className:ga("flex flex-col flex-grow overflow-y-auto",o),onScroll:s,children:[n,Oe.jsx("div",{ref:u,className:"flex-shrink-0"})]}),l?Oe.jsx("div",{className:"absolute bottom-4 left-0 right-0 flex justify-center",children:Oe.jsx(Ko,{size:"icon",variant:"outline",className:"rounded-full",onClick:_,children:Oe.jsx(jT,{className:"size-4"})})}):null]})}function ytr({starter:e}){var l;const t=Ue.useContext(vu),r=ms(LGe),{sendMessage:n}=Rh(),{loading:o,connected:m}=By(),{user:u}=Cw(),h=o||!m,a=Ue.useCallback(async()=>{const v={threadId:"",id:hoe(),command:e.command??(r==null?void 0:r.id),name:(u==null?void 0:u.identifier)||"User",type:"user_message",output:e.message,createdAt:new Date().toISOString(),metadata:{location:window.location.href}};n(v,[])},[u,r,n,e]);return Oe.jsx(Ko,{id:`starter-${e.label.trim().toLowerCase().replaceAll(" ","-")}`,variant:"outline",className:"w-fit justify-start rounded-3xl",disabled:h,onClick:a,children:Oe.jsxs("div",{className:"flex gap-2",children:[e.icon?Oe.jsx("img",{className:"h-5 w-5 rounded-md",src:(l=e.icon)!=null&&l.startsWith("/public")?t.buildEndpoint(e.icon):e.icon,alt:e.label}):null,Oe.jsx("p",{className:"text-sm text-muted-foreground truncate",children:e.label})]})})}function _tr({className:e}){const{chatProfile:t}=kw(),{config:r}=af(),n=Ue.useMemo(()=>{if(t){const o=r==null?void 0:r.chatProfiles.find(m=>m.name===t);if(o!=null&&o.starters)return o.starters}return r==null?void 0:r.starters},[r,t]);return n!=null&&n.length?Oe.jsx("div",{id:"starters",className:ga("flex gap-2 justify-center flex-wrap",e),children:n==null?void 0:n.map((o,m)=>Oe.jsx(ytr,{starter:o},m))}):null}function xtr(){const{messages:e}=Uy(),[t,r]=Ue.useState(!1);return Ue.useEffect(()=>{r(!0)},[]),Ife(e)?null:Oe.jsx("div",{className:ga("flex flex-col pb-4 flex-grow welcome-screen transition-opacity duration-500 opacity-0 delay-100",t&&"opacity-100"),children:Oe.jsx(_tr,{className:"items-end mt-auto"})})}const btr=({element:e})=>{switch(e==null?void 0:e.type){case"file":return Oe.jsx(wZe,{element:e});case"image":return Oe.jsx(TZe,{element:e});case"text":return Oe.jsx(kZe,{element:e});case"pdf":return Oe.jsx(AZe,{element:e});case"audio":return Oe.jsx(EZe,{element:e});case"video":return Oe.jsx(gQe,{element:e});case"plotly":return Oe.jsx(CZe,{element:e});case"dataframe":return Oe.jsx(SZe,{element:e});case"custom":return Oe.jsx(bZe,{element:e});default:return null}};function Etr(){const[e,t]=zf(YA);return!e||e.title==="canvas"?null:Oe.jsx(P2,{open:!0,onOpenChange:r=>!r&&t(void 0),children:Oe.jsxs(Lg,{className:"max-w-[80%]",children:[Oe.jsx(BS,{children:Oe.jsx(zS,{children:e.title})}),Oe.jsx("div",{className:"mt-4 overflow-y-auto overscroll-contain min-h-[50vh] max-h-[80vh] flex flex-col gap-4",onWheel:r=>r.stopPropagation(),children:e.elements.map(r=>Oe.jsx(btr,{element:r},r.id))})]})})}const Str=()=>{var p,_,c,s;const{config:e}=af(),t=rYe(),r=ss(oxe),n=Ue.useRef(!0),{error:o,disabled:m,callFn:u}=By(),{uploadFile:h}=Rh(),a=Ue.useRef(h),l=Ue.useMemo(()=>{var d,f,b,x,y,C;return{max_size_mb:((f=(d=e==null?void 0:e.features)==null?void 0:d.spontaneous_file_upload)==null?void 0:f.max_size_mb)||500,max_files:((x=(b=e==null?void 0:e.features)==null?void 0:b.spontaneous_file_upload)==null?void 0:x.max_files)||20,accept:((C=(y=e==null?void 0:e.features)==null?void 0:y.spontaneous_file_upload)==null?void 0:C.accept)||["*/*"]}},[e]);Ue.useEffect(()=>{if(u){const d=new CustomEvent("chainlit-call-fn",{detail:u});window.dispatchEvent(d)}},[u]),Ue.useEffect(()=>{a.current=h},[h]);const v=Ue.useCallback(d=>{const f=d.map(b=>{const x=Iie(),{xhr:y,promise:C}=a.current(b,w=>{r(R=>R.map(A=>A.id===x?{...A,uploadProgress:w}:A))});return C.then(w=>{r(R=>R.map(A=>A.id===x?{...A,serverId:w.id,uploaded:!0,uploadProgress:100,cancel:void 0}:A))}).catch(w=>{Sl.error(`Failed to upload ${b.name}: ${w.message}`),r(R=>R.filter(A=>A.id!==x))}),{id:x,type:b.type,name:b.name,size:b.size,uploadProgress:0,cancel:()=>{Sl.info(`Cancelled upload of ${b.name}`),y.abort(),r(w=>w.filter(R=>R.id!==x))},remove:()=>{r(w=>w.filter(R=>R.id!==x))}}});r(b=>b.concat(f))},[h]),i=Ue.useCallback(d=>Sl.error(d),[Sl]),S=xxe({spec:l,onResolved:v,onError:i,options:{noClick:!0}}),g=!m&&((_=(p=e==null?void 0:e.features)==null?void 0:p.spontaneous_file_upload)==null?void 0:_.enabled);return Oe.jsxs("div",{...g?S==null?void 0:S.getRootProps({className:"dropzone"}):{},onBlur:void 0,onFocus:void 0,className:"flex w-full h-full flex-col overflow-y-auto",children:[S?Oe.jsx("input",{id:"#upload-drop-input",...S.getInputProps()}):null,Oe.jsxs("div",{className:"flex-grow flex flex-col overflow-y-auto",children:[o?Oe.jsx("div",{className:"w-full mx-auto my-2",children:Oe.jsx(ex,{className:"mx-2",id:"session-error",variant:"error",children:Oe.jsx(Us,{path:"common.status.error.serverConnection"})})}):null,Oe.jsx(UUt,{}),Oe.jsxs(dGe,{children:[Oe.jsx(gtr,{autoScrollUserMessage:(c=e==null?void 0:e.features)==null?void 0:c.user_message_autoscroll,autoScrollAssistantMessage:(s=e==null?void 0:e.features)==null?void 0:s.assistant_message_autoscroll,autoScrollRef:n,children:Oe.jsxs("div",{className:"flex flex-col mx-auto w-full flex-grow px-4 pt-4",style:{maxWidth:t},children:[Oe.jsx(A$t,{isMobile:!0,isCopilot:!0}),Oe.jsx(xtr,{}),Oe.jsx(mtr,{})]})}),Oe.jsx("div",{className:"flex flex-col mx-auto w-full px-4 pb-4",style:{maxWidth:t},children:Oe.jsx(aGt,{showIfEmptyThread:!0,fileSpec:l,onFileUpload:v,onFileUploadError:i,autoScrollRef:n})})]})]}),Oe.jsx(Etr,{})]})};function wtr(){const{connect:e,session:t,idToResume:r}=kw(),{sendMessage:n}=Rh(),o=ms(CUe),m=ss(LI),u=Ue.useRef(!1),h=Ue.useRef(null);return Ue.useEffect(()=>{o&&m(o)},[o,m]),Ue.useEffect(()=>{var a;o&&h.current&&o!==h.current&&u.current&&((a=t==null?void 0:t.socket)!=null&&a.connected&&t.socket.disconnect(),u.current=!1,h.current=null)},[o]),Ue.useEffect(()=>{!o||!r||o!==r||u.current||(u.current=!0,h.current=o,e({transports:window.transports,userEnv:{}}))},[o,r,e]),Ue.useEffect(()=>{window.sendChainlitMessage=n},[n]),Oe.jsx(Str,{})}const Ttr=({config:e,error:t})=>{var a,l;const[r,n]=Ue.useState((e==null?void 0:e.expanded)||!1),[o,m]=Ue.useState((e==null?void 0:e.opened)||!1),u=af();Ue.useEffect(()=>(window.toggleChainlitCopilot=()=>m(v=>!v),window.getChainlitCopilotThreadId=kUe,window.clearChainlitCopilotThreadId=MUe,()=>{window.toggleChainlitCopilot=()=>console.error("Widget not mounted."),window.getChainlitCopilotThreadId=()=>null,window.clearChainlitCopilotThreadId=()=>console.error("Widget not mounted.")}),[]);const h=((a=e==null?void 0:e.button)==null?void 0:a.className)||"";return Oe.jsxs(FNe,{open:o,onOpenChange:m,children:[Oe.jsx(BNe,{asChild:!0,children:Oe.jsx(Ko,{id:"chainlit-copilot-button",className:QA("fixed h-16 w-16 rounded-full bottom-8 right-8 z-[20]","transition-transform duration-300 ease-in-out",h),children:Oe.jsxs("div",{className:"relative w-full h-full flex items-center justify-center",children:[(l=e==null?void 0:e.button)!=null&&l.imageUrl?Oe.jsx("img",{width:"100%",src:e.button.imageUrl,alt:"Chat bubble icon",className:QA("transition-opacity",o?"opacity-0":"opacity-100")}):Oe.jsx($ht,{className:QA("!size-7 transition-opacity",o?"opacity-0":"opacity-100")}),Oe.jsx(Vht,{className:QA("absolute !size-7 transition-all",o?"rotate-0 scale-100":"rotate-90 scale-0")})]})})}),Oe.jsx(d0e,{onInteractOutside:v=>{v.preventDefault()},side:"top",align:"end",sideOffset:12,className:QA("flex flex-col p-0","transition-all duration-300 ease-in-out bg-background",r?"w-[80vw]":"w-[min(400px,80vw)]","h-[min(730px,calc(100vh-150px))]","overflow-hidden rounded-xl","shadow-lg","z-50","animate-in fade-in-0 zoom-in-95","data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",r?"copilot-container-expanded":"copilot-container-collapsed"),children:Oe.jsx("div",{id:"chainlit-copilot-chat",className:"flex flex-col h-full w-full",children:t?Oe.jsx(ex,{variant:"error",children:t}):Oe.jsxs(Oe.Fragment,{children:[Oe.jsx(oRt,{expanded:r,setExpanded:n,projectConfig:u}),Oe.jsx("div",{className:"flex flex-grow overflow-y-auto",children:Oe.jsx(wtr,{})})]})})})]})},Atr={theme:"system",setTheme:()=>null},Ctr=Ue.createContext(Atr);function R3e(e){if(!window.theme)return;const t=window.theme[e];if(!t)return;const r=window.cl_shadowRootElement;r&&Object.entries(t).forEach(([n,o])=>{r.style.setProperty(n,o)})}function ktr({children:e,defaultTheme:t="system",storageKey:r="vite-ui-theme",...n}){const[o,m]=Ue.useState(()=>localStorage.getItem(r)||t);Ue.useEffect(()=>{const h=window.cl_shadowRootElement;if(h){if(h.classList.remove("light","dark"),o==="system"){const a=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";h.classList.add(a),R3e(a);return}h.classList.add(o),R3e(o)}},[o]),Ue.useEffect(()=>{if(o!=="system")return;const h=window.matchMedia("(prefers-color-scheme: dark)"),a=()=>{const l=window.cl_shadowRootElement;if(!l)return;const v=h.matches?"dark":"light";l.classList.remove("light","dark"),l.classList.add(v),R3e(v)};return h.addEventListener("change",a),()=>h.removeEventListener("change",a)},[o]);const u={theme:o,setTheme:h=>{localStorage.setItem(r,h),m(h)}};return Oe.jsx(Ctr.Provider,{...n,value:u,children:e})}function Mtr({widgetConfig:e}){const{isAuthenticated:t,data:r}=Cw(),n=Ue.useContext(vu),{i18n:o}=sm(),{startNewChat:m}=RUe(),u=e.language||navigator.language||"en-US",[h,a]=Ue.useState(),[l,v]=Ue.useState();Ue.useEffect(()=>{n.get(`/project/translations?language=${u}`).then(S=>S.json()).then(S=>{o.addResourceBundle(u,"translation",S.translation),o.changeLanguage(u)}).catch(S=>{v(String(S))})},[]);const i=e.theme||(r==null?void 0:r.default_theme);return Ue.useEffect(()=>{l||(t?a(void 0):e.accessToken?n.jwtAuth(e.accessToken).catch(S=>a(String(S))):a("No authentication token provided."))},[t,n,l,a]),Ue.useEffect(()=>{const S=g=>{var _;const p=g;m((_=p==null?void 0:p.detail)==null?void 0:_.newThreadId)};return window.addEventListener(A2e,S),()=>{window.removeEventListener(A2e,S)}},[]),Oe.jsxs(ktr,{storageKey:"vite-ui-theme",defaultTheme:i,children:[Oe.jsx(G5e,{className:"toast",position:"bottom-center"}),Oe.jsx(Ttr,{config:e,error:l||h})]})}aht();function Rtr({widgetConfig:e}){const t=e==null?void 0:e.additionalQueryParamsForAPI,r=gft(e.chainlitServer,t||{}),[n,o]=Ue.useState(!1);function m(){if(e.customCssUrl){const u=document.createElement("link");u.rel="stylesheet",u.href=e.customCssUrl,window.cl_shadowRootElement.getRootNode().appendChild(u)}o(!0)}return Ue.useEffect(()=>{let u=!1;r.get("/public/theme.json").then(async h=>{var a;try{const l=await h.json();(a=l.custom_fonts)!=null&&a.length&&(u=!0,l.custom_fonts.forEach(v=>{const i=document.createElement("link");i.rel="stylesheet",i.href=v,window.cl_shadowRootElement.getRootNode().appendChild(i)})),l.variables&&(window.theme=l.variables)}finally{if(!u){const l=document.createElement("link");l.rel="stylesheet",l.href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap",window.cl_shadowRootElement.getRootNode().appendChild(l)}m()}}).catch(()=>m())},[]),n?Oe.jsx(vu.Provider,{value:r,children:Oe.jsx(LAe,{children:Oe.jsx(Mtr,{widgetConfig:e})})}):null}const Ntr="chainlit-copilot";let A8=null;window.mountChainlitWidget=e=>{const t=document.createElement("div");t.id=Ntr,document.body.appendChild(t);const r=t.attachShadow({mode:"open"}),n=document.createElement("div");n.id="cl-shadow-root",r.appendChild(n),window.cl_shadowRootElement=n,A8=zle.createRoot(n),A8.render(Oe.jsxs(wn.StrictMode,{children:[Oe.jsx("style",{type:"text/css",children:Lrt.toString()}),Oe.jsx("style",{type:"text/css",children:Irt.toString()}),Oe.jsx("style",{type:"text/css",children:Ort.toString()}),Oe.jsx(Rtr,{widgetConfig:e})]}))},window.unmountChainlitWidget=()=>{A8==null||A8.unmount()},window.sendChainlitMessage=()=>{console.info("Copilot is not active. Please check if the widget is mounted.")},window.getChainlitCopilotThreadId=kUe,window.clearChainlitCopilotThreadId=MUe;/**
* table-core
*
* Copyright (c) TanStack
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function n_(e,t){return typeof e=="function"?e(t):e}function Zp(e,t){return r=>{t.setState(n=>({...n,[e]:n_(r,n[e])}))}}function xse(e){return e instanceof Function}function Itr(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function Ltr(e,t){const r=[],n=o=>{o.forEach(m=>{r.push(m);const u=t(m);u!=null&&u.length&&n(u)})};return n(e),r}function Eo(e,t,r){let n=[],o;return m=>{let u;r.key&&r.debug&&(u=Date.now());const h=e(m);if(!(h.length!==n.length||h.some((v,i)=>n[i]!==v)))return o;n=h;let l;if(r.key&&r.debug&&(l=Date.now()),o=t(...h),r==null||r.onChange==null||r.onChange(o),r.key&&r.debug&&r!=null&&r.debug()){const v=Math.round((Date.now()-u)*100)/100,i=Math.round((Date.now()-l)*100)/100,S=i/16,g=(p,_)=>{for(p=String(p);p.length<_;)p=" "+p;return p};console.info(`%c⏱ ${g(i,5)} /${g(v,5)} ms`,`
font-size: .6rem;
font-weight: bold;
color: hsl(${Math.max(0,Math.min(120-120*S,120))}deg 100% 31%);`,r==null?void 0:r.key)}return o}}function So(e,t,r,n){return{debug:()=>{var o;return(o=e==null?void 0:e.debugAll)!=null?o:e[t]},key:!1,onChange:n}}function Otr(e,t,r,n){const o=()=>{var u;return(u=m.getValue())!=null?u:e.options.renderFallbackValue},m={id:`${t.id}_${r.id}`,row:t,column:r,getValue:()=>t.getValue(n),renderValue:o,getContext:Eo(()=>[e,r,t,m],(u,h,a,l)=>({table:u,column:h,row:a,cell:l,getValue:l.getValue,renderValue:l.renderValue}),So(e.options,"debugCells"))};return e._features.forEach(u=>{u.createCell==null||u.createCell(m,r,t,e)},{}),m}function Dtr(e,t,r,n){var o,m;const h={...e._getDefaultColumnDef(),...t},a=h.accessorKey;let l=(o=(m=h.id)!=null?m:a?typeof String.prototype.replaceAll=="function"?a.replaceAll(".","_"):a.replace(/\./g,"_"):void 0)!=null?o:typeof h.header=="string"?h.header:void 0,v;if(h.accessorFn?v=h.accessorFn:a&&(a.includes(".")?v=S=>{let g=S;for(const _ of a.split(".")){var p;g=(p=g)==null?void 0:p[_]}return g}:v=S=>S[h.accessorKey]),!l)throw new Error;let i={id:`${String(l)}`,accessorFn:v,parent:n,depth:r,columnDef:h,columns:[],getFlatColumns:Eo(()=>[!0],()=>{var S;return[i,...(S=i.columns)==null?void 0:S.flatMap(g=>g.getFlatColumns())]},So(e.options,"debugColumns")),getLeafColumns:Eo(()=>[e._getOrderColumnsFn()],S=>{var g;if((g=i.columns)!=null&&g.length){let p=i.columns.flatMap(_=>_.getLeafColumns());return S(p)}return[i]},So(e.options,"debugColumns"))};for(const S of e._features)S.createColumn==null||S.createColumn(i,e);return i}const yf="debugHeaders";function EQe(e,t,r){var n;let m={id:(n=r.id)!=null?n:t.id,column:t,index:r.index,isPlaceholder:!!r.isPlaceholder,placeholderId:r.placeholderId,depth:r.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const u=[],h=a=>{a.subHeaders&&a.subHeaders.length&&a.subHeaders.map(h),u.push(a)};return h(m),u},getContext:()=>({table:e,header:m,column:t})};return e._features.forEach(u=>{u.createHeader==null||u.createHeader(m,e)}),m}const Ptr={createTable:e=>{e.getHeaderGroups=Eo(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,r,n,o)=>{var m,u;const h=(m=n==null?void 0:n.map(i=>r.find(S=>S.id===i)).filter(Boolean))!=null?m:[],a=(u=o==null?void 0:o.map(i=>r.find(S=>S.id===i)).filter(Boolean))!=null?u:[],l=r.filter(i=>!(n!=null&&n.includes(i.id))&&!(o!=null&&o.includes(i.id)));return bse(t,[...h,...l,...a],e)},So(e.options,yf)),e.getCenterHeaderGroups=Eo(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,r,n,o)=>(r=r.filter(m=>!(n!=null&&n.includes(m.id))&&!(o!=null&&o.includes(m.id))),bse(t,r,e,"center")),So(e.options,yf)),e.getLeftHeaderGroups=Eo(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,r,n)=>{var o;const m=(o=n==null?void 0:n.map(u=>r.find(h=>h.id===u)).filter(Boolean))!=null?o:[];return bse(t,m,e,"left")},So(e.options,yf)),e.getRightHeaderGroups=Eo(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,r,n)=>{var o;const m=(o=n==null?void 0:n.map(u=>r.find(h=>h.id===u)).filter(Boolean))!=null?o:[];return bse(t,m,e,"right")},So(e.options,yf)),e.getFooterGroups=Eo(()=>[e.getHeaderGroups()],t=>[...t].reverse(),So(e.options,yf)),e.getLeftFooterGroups=Eo(()=>[e.getLeftHeaderGroups()],t=>[...t].reverse(),So(e.options,yf)),e.getCenterFooterGroups=Eo(()=>[e.getCenterHeaderGroups()],t=>[...t].reverse(),So(e.options,yf)),e.getRightFooterGroups=Eo(()=>[e.getRightHeaderGroups()],t=>[...t].reverse(),So(e.options,yf)),e.getFlatHeaders=Eo(()=>[e.getHeaderGroups()],t=>t.map(r=>r.headers).flat(),So(e.options,yf)),e.getLeftFlatHeaders=Eo(()=>[e.getLeftHeaderGroups()],t=>t.map(r=>r.headers).flat(),So(e.options,yf)),e.getCenterFlatHeaders=Eo(()=>[e.getCenterHeaderGroups()],t=>t.map(r=>r.headers).flat(),So(e.options,yf)),e.getRightFlatHeaders=Eo(()=>[e.getRightHeaderGroups()],t=>t.map(r=>r.headers).flat(),So(e.options,yf)),e.getCenterLeafHeaders=Eo(()=>[e.getCenterFlatHeaders()],t=>t.filter(r=>{var n;return!((n=r.subHeaders)!=null&&n.length)}),So(e.options,yf)),e.getLeftLeafHeaders=Eo(()=>[e.getLeftFlatHeaders()],t=>t.filter(r=>{var n;return!((n=r.subHeaders)!=null&&n.length)}),So(e.options,yf)),e.getRightLeafHeaders=Eo(()=>[e.getRightFlatHeaders()],t=>t.filter(r=>{var n;return!((n=r.subHeaders)!=null&&n.length)}),So(e.options,yf)),e.getLeafHeaders=Eo(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(t,r,n)=>{var o,m,u,h,a,l;return[...(o=(m=t[0])==null?void 0:m.headers)!=null?o:[],...(u=(h=r[0])==null?void 0:h.headers)!=null?u:[],...(a=(l=n[0])==null?void 0:l.headers)!=null?a:[]].map(v=>v.getLeafHeaders()).flat()},So(e.options,yf))}};function bse(e,t,r,n){var o,m;let u=0;const h=function(S,g){g===void 0&&(g=1),u=Math.max(u,g),S.filter(p=>p.getIsVisible()).forEach(p=>{var _;(_=p.columns)!=null&&_.length&&h(p.columns,g+1)},0)};h(e);let a=[];const l=(S,g)=>{const p={depth:g,id:[n,`${g}`].filter(Boolean).join("_"),headers:[]},_=[];S.forEach(c=>{const s=[..._].reverse()[0],d=c.column.depth===p.depth;let f,b=!1;if(d&&c.column.parent?f=c.column.parent:(f=c.column,b=!0),s&&(s==null?void 0:s.column)===f)s.subHeaders.push(c);else{const x=EQe(r,f,{id:[n,g,f.id,c==null?void 0:c.id].filter(Boolean).join("_"),isPlaceholder:b,placeholderId:b?`${_.filter(y=>y.column===f).length}`:void 0,depth:g,index:_.length});x.subHeaders.push(c),_.push(x)}p.headers.push(c),c.headerGroup=p}),a.push(p),g>0&&l(_,g-1)},v=t.map((S,g)=>EQe(r,S,{depth:u,index:g}));l(v,u-1),a.reverse();const i=S=>S.filter(p=>p.column.getIsVisible()).map(p=>{let _=0,c=0,s=[0];p.subHeaders&&p.subHeaders.length?(s=[],i(p.subHeaders).forEach(f=>{let{colSpan:b,rowSpan:x}=f;_+=b,s.push(x)})):_=1;const d=Math.min(...s);return c=c+d,p.colSpan=_,p.rowSpan=c,{colSpan:_,rowSpan:c}});return i((o=(m=a[0])==null?void 0:m.headers)!=null?o:[]),a}const Ftr=(e,t,r,n,o,m,u)=>{let h={id:t,index:n,original:r,depth:o,parentId:u,_valuesCache:{},_uniqueValuesCache:{},getValue:a=>{if(h._valuesCache.hasOwnProperty(a))return h._valuesCache[a];const l=e.getColumn(a);if(l!=null&&l.accessorFn)return h._valuesCache[a]=l.accessorFn(h.original,n),h._valuesCache[a]},getUniqueValues:a=>{if(h._uniqueValuesCache.hasOwnProperty(a))return h._uniqueValuesCache[a];const l=e.getColumn(a);if(l!=null&&l.accessorFn)return l.columnDef.getUniqueValues?(h._uniqueValuesCache[a]=l.columnDef.getUniqueValues(h.original,n),h._uniqueValuesCache[a]):(h._uniqueValuesCache[a]=[h.getValue(a)],h._uniqueValuesCache[a])},renderValue:a=>{var l;return(l=h.getValue(a))!=null?l:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>Ltr(h.subRows,a=>a.subRows),getParentRow:()=>h.parentId?e.getRow(h.parentId,!0):void 0,getParentRows:()=>{let a=[],l=h;for(;;){const v=l.getParentRow();if(!v)break;a.push(v),l=v}return a.reverse()},getAllCells:Eo(()=>[e.getAllLeafColumns()],a=>a.map(l=>Otr(e,h,l,l.id)),So(e.options,"debugRows")),_getAllCellsByColumnId:Eo(()=>[h.getAllCells()],a=>a.reduce((l,v)=>(l[v.column.id]=v,l),{}),So(e.options,"debugRows"))};for(let a=0;a<e._features.length;a++){const l=e._features[a];l==null||l.createRow==null||l.createRow(h,e)}return h},Btr={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},SQe=(e,t,r)=>{var n,o;const m=r==null||(n=r.toString())==null?void 0:n.toLowerCase();return!!(!((o=e.getValue(t))==null||(o=o.toString())==null||(o=o.toLowerCase())==null)&&o.includes(m))};SQe.autoRemove=e=>Q1(e);const wQe=(e,t,r)=>{var n;return!!(!((n=e.getValue(t))==null||(n=n.toString())==null)&&n.includes(r))};wQe.autoRemove=e=>Q1(e);const TQe=(e,t,r)=>{var n;return((n=e.getValue(t))==null||(n=n.toString())==null?void 0:n.toLowerCase())===(r==null?void 0:r.toLowerCase())};TQe.autoRemove=e=>Q1(e);const AQe=(e,t,r)=>{var n;return(n=e.getValue(t))==null?void 0:n.includes(r)};AQe.autoRemove=e=>Q1(e)||!(e!=null&&e.length);const CQe=(e,t,r)=>!r.some(n=>{var o;return!((o=e.getValue(t))!=null&&o.includes(n))});CQe.autoRemove=e=>Q1(e)||!(e!=null&&e.length);const kQe=(e,t,r)=>r.some(n=>{var o;return(o=e.getValue(t))==null?void 0:o.includes(n)});kQe.autoRemove=e=>Q1(e)||!(e!=null&&e.length);const MQe=(e,t,r)=>e.getValue(t)===r;MQe.autoRemove=e=>Q1(e);const RQe=(e,t,r)=>e.getValue(t)==r;RQe.autoRemove=e=>Q1(e);const N3e=(e,t,r)=>{let[n,o]=r;const m=e.getValue(t);return m>=n&&m<=o};N3e.resolveFilterValue=e=>{let[t,r]=e,n=typeof t!="number"?parseFloat(t):t,o=typeof r!="number"?parseFloat(r):r,m=t===null||Number.isNaN(n)?-1/0:n,u=r===null||Number.isNaN(o)?1/0:o;if(m>u){const h=m;m=u,u=h}return[m,u]},N3e.autoRemove=e=>Q1(e)||Q1(e[0])&&Q1(e[1]);const Xg={includesString:SQe,includesStringSensitive:wQe,equalsString:TQe,arrIncludes:AQe,arrIncludesAll:CQe,arrIncludesSome:kQe,equals:MQe,weakEquals:RQe,inNumberRange:N3e};function Q1(e){return e==null||e===""}const ztr={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:Zp("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const r=t.getCoreRowModel().flatRows[0],n=r==null?void 0:r.getValue(e.id);return typeof n=="string"?Xg.includesString:typeof n=="number"?Xg.inNumberRange:typeof n=="boolean"||n!==null&&typeof n=="object"?Xg.equals:Array.isArray(n)?Xg.arrIncludes:Xg.weakEquals},e.getFilterFn=()=>{var r,n;return xse(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(r=(n=t.options.filterFns)==null?void 0:n[e.columnDef.filterFn])!=null?r:Xg[e.columnDef.filterFn]},e.getCanFilter=()=>{var r,n,o;return((r=e.columnDef.enableColumnFilter)!=null?r:!0)&&((n=t.options.enableColumnFilters)!=null?n:!0)&&((o=t.options.enableFilters)!=null?o:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var r;return(r=t.getState().columnFilters)==null||(r=r.find(n=>n.id===e.id))==null?void 0:r.value},e.getFilterIndex=()=>{var r,n;return(r=(n=t.getState().columnFilters)==null?void 0:n.findIndex(o=>o.id===e.id))!=null?r:-1},e.setFilterValue=r=>{t.setColumnFilters(n=>{const o=e.getFilterFn(),m=n==null?void 0:n.find(v=>v.id===e.id),u=n_(r,m?m.value:void 0);if(NQe(o,u,e)){var h;return(h=n==null?void 0:n.filter(v=>v.id!==e.id))!=null?h:[]}const a={id:e.id,value:u};if(m){var l;return(l=n==null?void 0:n.map(v=>v.id===e.id?a:v))!=null?l:[]}return n!=null&&n.length?[...n,a]:[a]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const r=e.getAllLeafColumns(),n=o=>{var m;return(m=n_(t,o))==null?void 0:m.filter(u=>{const h=r.find(a=>a.id===u.id);if(h){const a=h.getFilterFn();if(NQe(a,u.value,h))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(n)},e.resetColumnFilters=t=>{var r,n;e.setColumnFilters(t?[]:(r=(n=e.initialState)==null?void 0:n.columnFilters)!=null?r:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function NQe(e,t,r){return(e&&e.autoRemove?e.autoRemove(t,r):!1)||typeof t>"u"||typeof t=="string"&&!t}const I3e={sum:(e,t,r)=>r.reduce((n,o)=>{const m=o.getValue(e);return n+(typeof m=="number"?m:0)},0),min:(e,t,r)=>{let n;return r.forEach(o=>{const m=o.getValue(e);m!=null&&(n>m||n===void 0&&m>=m)&&(n=m)}),n},max:(e,t,r)=>{let n;return r.forEach(o=>{const m=o.getValue(e);m!=null&&(n<m||n===void 0&&m>=m)&&(n=m)}),n},extent:(e,t,r)=>{let n,o;return r.forEach(m=>{const u=m.getValue(e);u!=null&&(n===void 0?u>=u&&(n=o=u):(n>u&&(n=u),o<u&&(o=u)))}),[n,o]},mean:(e,t)=>{let r=0,n=0;if(t.forEach(o=>{let m=o.getValue(e);m!=null&&(m=+m)>=m&&(++r,n+=m)}),r)return n/r},median:(e,t)=>{if(!t.length)return;const r=t.map(m=>m.getValue(e));if(!Itr(r))return;if(r.length===1)return r[0];const n=Math.floor(r.length/2),o=r.sort((m,u)=>m-u);return r.length%2!==0?o[n]:(o[n-1]+o[n])/2},unique:(e,t)=>Array.from(new Set(t.map(r=>r.getValue(e))).values()),uniqueCount:(e,t)=>new Set(t.map(r=>r.getValue(e))).size,count:(e,t)=>t.length},Utr={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,r;return(t=(r=e.getValue())==null||r.toString==null?void 0:r.toString())!=null?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:Zp("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(r=>r!=null&&r.includes(e.id)?r.filter(n=>n!==e.id):[...r??[],e.id])},e.getCanGroup=()=>{var r,n;return((r=e.columnDef.enableGrouping)!=null?r:!0)&&((n=t.options.enableGrouping)!=null?n:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var r;return(r=t.getState().grouping)==null?void 0:r.includes(e.id)},e.getGroupedIndex=()=>{var r;return(r=t.getState().grouping)==null?void 0:r.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const r=e.getCanGroup();return()=>{r&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const r=t.getCoreRowModel().flatRows[0],n=r==null?void 0:r.getValue(e.id);if(typeof n=="number")return I3e.sum;if(Object.prototype.toString.call(n)==="[object Date]")return I3e.extent},e.getAggregationFn=()=>{var r,n;if(!e)throw new Error;return xse(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(r=(n=t.options.aggregationFns)==null?void 0:n[e.columnDef.aggregationFn])!=null?r:I3e[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var r,n;e.setGrouping(t?[]:(r=(n=e.initialState)==null?void 0:n.grouping)!=null?r:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=r=>{if(e._groupingValuesCache.hasOwnProperty(r))return e._groupingValuesCache[r];const n=t.getColumn(r);return n!=null&&n.columnDef.getGroupingValue?(e._groupingValuesCache[r]=n.columnDef.getGroupingValue(e.original),e._groupingValuesCache[r]):e.getValue(r)},e._groupingValuesCache={}},createCell:(e,t,r,n)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===r.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var o;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((o=r.subRows)!=null&&o.length)}}};function $tr(e,t,r){if(!(t!=null&&t.length)||!r)return e;const n=e.filter(m=>!t.includes(m.id));return r==="remove"?n:[...t.map(m=>e.find(u=>u.id===m)).filter(Boolean),...n]}const Htr={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Zp("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=Eo(r=>[C8(t,r)],r=>r.findIndex(n=>n.id===e.id),So(t.options,"debugColumns")),e.getIsFirstColumn=r=>{var n;return((n=C8(t,r)[0])==null?void 0:n.id)===e.id},e.getIsLastColumn=r=>{var n;const o=C8(t,r);return((n=o[o.length-1])==null?void 0:n.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var r;e.setColumnOrder(t?[]:(r=e.initialState.columnOrder)!=null?r:[])},e._getOrderColumnsFn=Eo(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(t,r,n)=>o=>{let m=[];if(!(t!=null&&t.length))m=o;else{const u=[...t],h=[...o];for(;h.length&&u.length;){const a=u.shift(),l=h.findIndex(v=>v.id===a);l>-1&&m.push(h.splice(l,1)[0])}m=[...m,...h]}return $tr(m,r,n)},So(e.options,"debugTable"))}},L3e=()=>({left:[],right:[]}),Vtr={getInitialState:e=>({columnPinning:L3e(),...e}),getDefaultOptions:e=>({onColumnPinningChange:Zp("columnPinning",e)}),createColumn:(e,t)=>{e.pin=r=>{const n=e.getLeafColumns().map(o=>o.id).filter(Boolean);t.setColumnPinning(o=>{var m,u;if(r==="right"){var h,a;return{left:((h=o==null?void 0:o.left)!=null?h:[]).filter(i=>!(n!=null&&n.includes(i))),right:[...((a=o==null?void 0:o.right)!=null?a:[]).filter(i=>!(n!=null&&n.includes(i))),...n]}}if(r==="left"){var l,v;return{left:[...((l=o==null?void 0:o.left)!=null?l:[]).filter(i=>!(n!=null&&n.includes(i))),...n],right:((v=o==null?void 0:o.right)!=null?v:[]).filter(i=>!(n!=null&&n.includes(i)))}}return{left:((m=o==null?void 0:o.left)!=null?m:[]).filter(i=>!(n!=null&&n.includes(i))),right:((u=o==null?void 0:o.right)!=null?u:[]).filter(i=>!(n!=null&&n.includes(i)))}})},e.getCanPin=()=>e.getLeafColumns().some(n=>{var o,m,u;return((o=n.columnDef.enablePinning)!=null?o:!0)&&((m=(u=t.options.enableColumnPinning)!=null?u:t.options.enablePinning)!=null?m:!0)}),e.getIsPinned=()=>{const r=e.getLeafColumns().map(h=>h.id),{left:n,right:o}=t.getState().columnPinning,m=r.some(h=>n==null?void 0:n.includes(h)),u=r.some(h=>o==null?void 0:o.includes(h));return m?"left":u?"right":!1},e.getPinnedIndex=()=>{var r,n;const o=e.getIsPinned();return o?(r=(n=t.getState().columnPinning)==null||(n=n[o])==null?void 0:n.indexOf(e.id))!=null?r:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=Eo(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(r,n,o)=>{const m=[...n??[],...o??[]];return r.filter(u=>!m.includes(u.column.id))},So(t.options,"debugRows")),e.getLeftVisibleCells=Eo(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(r,n)=>(n??[]).map(m=>r.find(u=>u.column.id===m)).filter(Boolean).map(m=>({...m,position:"left"})),So(t.options,"debugRows")),e.getRightVisibleCells=Eo(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(r,n)=>(n??[]).map(m=>r.find(u=>u.column.id===m)).filter(Boolean).map(m=>({...m,position:"right"})),So(t.options,"debugRows"))},createTable:e=>{e.setColumnPinning=t=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var r,n;return e.setColumnPinning(t?L3e():(r=(n=e.initialState)==null?void 0:n.columnPinning)!=null?r:L3e())},e.getIsSomeColumnsPinned=t=>{var r;const n=e.getState().columnPinning;if(!t){var o,m;return!!((o=n.left)!=null&&o.length||(m=n.right)!=null&&m.length)}return!!((r=n[t])!=null&&r.length)},e.getLeftLeafColumns=Eo(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(t,r)=>(r??[]).map(n=>t.find(o=>o.id===n)).filter(Boolean),So(e.options,"debugColumns")),e.getRightLeafColumns=Eo(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(t,r)=>(r??[]).map(n=>t.find(o=>o.id===n)).filter(Boolean),So(e.options,"debugColumns")),e.getCenterLeafColumns=Eo(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,r,n)=>{const o=[...r??[],...n??[]];return t.filter(m=>!o.includes(m.id))},So(e.options,"debugColumns"))}},Ese={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},O3e=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),Gtr={getDefaultColumnDef:()=>Ese,getInitialState:e=>({columnSizing:{},columnSizingInfo:O3e(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:Zp("columnSizing",e),onColumnSizingInfoChange:Zp("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var r,n,o;const m=t.getState().columnSizing[e.id];return Math.min(Math.max((r=e.columnDef.minSize)!=null?r:Ese.minSize,(n=m??e.columnDef.size)!=null?n:Ese.size),(o=e.columnDef.maxSize)!=null?o:Ese.maxSize)},e.getStart=Eo(r=>[r,C8(t,r),t.getState().columnSizing],(r,n)=>n.slice(0,e.getIndex(r)).reduce((o,m)=>o+m.getSize(),0),So(t.options,"debugColumns")),e.getAfter=Eo(r=>[r,C8(t,r),t.getState().columnSizing],(r,n)=>n.slice(e.getIndex(r)+1).reduce((o,m)=>o+m.getSize(),0),So(t.options,"debugColumns")),e.resetSize=()=>{t.setColumnSizing(r=>{let{[e.id]:n,...o}=r;return o})},e.getCanResize=()=>{var r,n;return((r=e.columnDef.enableResizing)!=null?r:!0)&&((n=t.options.enableColumnResizing)!=null?n:!0)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let r=0;const n=o=>{if(o.subHeaders.length)o.subHeaders.forEach(n);else{var m;r+=(m=o.column.getSize())!=null?m:0}};return n(e),r},e.getStart=()=>{if(e.index>0){const r=e.headerGroup.headers[e.index-1];return r.getStart()+r.getSize()}return 0},e.getResizeHandler=r=>{const n=t.getColumn(e.column.id),o=n==null?void 0:n.getCanResize();return m=>{if(!n||!o||(m.persist==null||m.persist(),D3e(m)&&m.touches&&m.touches.length>1))return;const u=e.getSize(),h=e?e.getLeafHeaders().map(s=>[s.column.id,s.column.getSize()]):[[n.id,n.getSize()]],a=D3e(m)?Math.round(m.touches[0].clientX):m.clientX,l={},v=(s,d)=>{typeof d=="number"&&(t.setColumnSizingInfo(f=>{var b,x;const y=t.options.columnResizeDirection==="rtl"?-1:1,C=(d-((b=f==null?void 0:f.startOffset)!=null?b:0))*y,w=Math.max(C/((x=f==null?void 0:f.startSize)!=null?x:0),-.999999);return f.columnSizingStart.forEach(R=>{let[A,E]=R;l[A]=Math.round(Math.max(E+E*w,0)*100)/100}),{...f,deltaOffset:C,deltaPercentage:w}}),(t.options.columnResizeMode==="onChange"||s==="end")&&t.setColumnSizing(f=>({...f,...l})))},i=s=>v("move",s),S=s=>{v("end",s),t.setColumnSizingInfo(d=>({...d,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},g=r||typeof document<"u"?document:null,p={moveHandler:s=>i(s.clientX),upHandler:s=>{g==null||g.removeEventListener("mousemove",p.moveHandler),g==null||g.removeEventListener("mouseup",p.upHandler),S(s.clientX)}},_={moveHandler:s=>(s.cancelable&&(s.preventDefault(),s.stopPropagation()),i(s.touches[0].clientX),!1),upHandler:s=>{var d;g==null||g.removeEventListener("touchmove",_.moveHandler),g==null||g.removeEventListener("touchend",_.upHandler),s.cancelable&&(s.preventDefault(),s.stopPropagation()),S((d=s.touches[0])==null?void 0:d.clientX)}},c=jtr()?{passive:!1}:!1;D3e(m)?(g==null||g.addEventListener("touchmove",_.moveHandler,c),g==null||g.addEventListener("touchend",_.upHandler,c)):(g==null||g.addEventListener("mousemove",p.moveHandler,c),g==null||g.addEventListener("mouseup",p.upHandler,c)),t.setColumnSizingInfo(s=>({...s,startOffset:a,startSize:u,deltaOffset:0,deltaPercentage:0,columnSizingStart:h,isResizingColumn:n.id}))}}},createTable:e=>{e.setColumnSizing=t=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var r;e.setColumnSizing(t?{}:(r=e.initialState.columnSizing)!=null?r:{})},e.resetHeaderSizeInfo=t=>{var r;e.setColumnSizingInfo(t?O3e():(r=e.initialState.columnSizingInfo)!=null?r:O3e())},e.getTotalSize=()=>{var t,r;return(t=(r=e.getHeaderGroups()[0])==null?void 0:r.headers.reduce((n,o)=>n+o.getSize(),0))!=null?t:0},e.getLeftTotalSize=()=>{var t,r;return(t=(r=e.getLeftHeaderGroups()[0])==null?void 0:r.headers.reduce((n,o)=>n+o.getSize(),0))!=null?t:0},e.getCenterTotalSize=()=>{var t,r;return(t=(r=e.getCenterHeaderGroups()[0])==null?void 0:r.headers.reduce((n,o)=>n+o.getSize(),0))!=null?t:0},e.getRightTotalSize=()=>{var t,r;return(t=(r=e.getRightHeaderGroups()[0])==null?void 0:r.headers.reduce((n,o)=>n+o.getSize(),0))!=null?t:0}}};let Sse=null;function jtr(){if(typeof Sse=="boolean")return Sse;let e=!1;try{const t={get passive(){return e=!0,!1}},r=()=>{};window.addEventListener("test",r,t),window.removeEventListener("test",r)}catch{e=!1}return Sse=e,Sse}function D3e(e){return e.type==="touchstart"}const Ytr={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Zp("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=r=>{e.getCanHide()&&t.setColumnVisibility(n=>({...n,[e.id]:r??!e.getIsVisible()}))},e.getIsVisible=()=>{var r,n;const o=e.columns;return(r=o.length?o.some(m=>m.getIsVisible()):(n=t.getState().columnVisibility)==null?void 0:n[e.id])!=null?r:!0},e.getCanHide=()=>{var r,n;return((r=e.columnDef.enableHiding)!=null?r:!0)&&((n=t.options.enableHiding)!=null?n:!0)},e.getToggleVisibilityHandler=()=>r=>{e.toggleVisibility==null||e.toggleVisibility(r.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=Eo(()=>[e.getAllCells(),t.getState().columnVisibility],r=>r.filter(n=>n.column.getIsVisible()),So(t.options,"debugRows")),e.getVisibleCells=Eo(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(r,n,o)=>[...r,...n,...o],So(t.options,"debugRows"))},createTable:e=>{const t=(r,n)=>Eo(()=>[n(),n().filter(o=>o.getIsVisible()).map(o=>o.id).join("_")],o=>o.filter(m=>m.getIsVisible==null?void 0:m.getIsVisible()),So(e.options,"debugColumns"));e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=r=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(r),e.resetColumnVisibility=r=>{var n;e.setColumnVisibility(r?{}:(n=e.initialState.columnVisibility)!=null?n:{})},e.toggleAllColumnsVisible=r=>{var n;r=(n=r)!=null?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((o,m)=>({...o,[m.id]:r||!(m.getCanHide!=null&&m.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(r=>!(r.getIsVisible!=null&&r.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(r=>r.getIsVisible==null?void 0:r.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>r=>{var n;e.toggleAllColumnsVisible((n=r.target)==null?void 0:n.checked)}}};function C8(e,t){return t?t==="center"?e.getCenterVisibleLeafColumns():t==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const Wtr={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},Ktr={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:Zp("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var r;const n=(r=e.getCoreRowModel().flatRows[0])==null||(r=r._getAllCellsByColumnId()[t.id])==null?void 0:r.getValue();return typeof n=="string"||typeof n=="number"}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var r,n,o,m;return((r=e.columnDef.enableGlobalFilter)!=null?r:!0)&&((n=t.options.enableGlobalFilter)!=null?n:!0)&&((o=t.options.enableFilters)!=null?o:!0)&&((m=t.options.getColumnCanGlobalFilter==null?void 0:t.options.getColumnCanGlobalFilter(e))!=null?m:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>Xg.includesString,e.getGlobalFilterFn=()=>{var t,r;const{globalFilterFn:n}=e.options;return xse(n)?n:n==="auto"?e.getGlobalAutoFilterFn():(t=(r=e.options.filterFns)==null?void 0:r[n])!=null?t:Xg[n]},e.setGlobalFilter=t=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},Xtr={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Zp("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,r=!1;e._autoResetExpanded=()=>{var n,o;if(!t){e._queue(()=>{t=!0});return}if((n=(o=e.options.autoResetAll)!=null?o:e.options.autoResetExpanded)!=null?n:!e.options.manualExpanding){if(r)return;r=!0,e._queue(()=>{e.resetExpanded(),r=!1})}},e.setExpanded=n=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(n),e.toggleAllRowsExpanded=n=>{n??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=n=>{var o,m;e.setExpanded(n?{}:(o=(m=e.initialState)==null?void 0:m.expanded)!=null?o:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(n=>n.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>n=>{n.persist==null||n.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const n=e.getState().expanded;return n===!0||Object.values(n).some(Boolean)},e.getIsAllRowsExpanded=()=>{const n=e.getState().expanded;return typeof n=="boolean"?n===!0:!(!Object.keys(n).length||e.getRowModel().flatRows.some(o=>!o.getIsExpanded()))},e.getExpandedDepth=()=>{let n=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(m=>{const u=m.split(".");n=Math.max(n,u.length)}),n},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=r=>{t.setExpanded(n=>{var o;const m=n===!0?!0:!!(n!=null&&n[e.id]);let u={};if(n===!0?Object.keys(t.getRowModel().rowsById).forEach(h=>{u[h]=!0}):u=n,r=(o=r)!=null?o:!m,!m&&r)return{...u,[e.id]:!0};if(m&&!r){const{[e.id]:h,...a}=u;return a}return n})},e.getIsExpanded=()=>{var r;const n=t.getState().expanded;return!!((r=t.options.getIsRowExpanded==null?void 0:t.options.getIsRowExpanded(e))!=null?r:n===!0||n!=null&&n[e.id])},e.getCanExpand=()=>{var r,n,o;return(r=t.options.getRowCanExpand==null?void 0:t.options.getRowCanExpand(e))!=null?r:((n=t.options.enableExpanding)!=null?n:!0)&&!!((o=e.subRows)!=null&&o.length)},e.getIsAllParentsExpanded=()=>{let r=!0,n=e;for(;r&&n.parentId;)n=t.getRow(n.parentId,!0),r=n.getIsExpanded();return r},e.getToggleExpandedHandler=()=>{const r=e.getCanExpand();return()=>{r&&e.toggleExpanded()}}}},P3e=0,F3e=10,B3e=()=>({pageIndex:P3e,pageSize:F3e}),qtr={getInitialState:e=>({...e,pagination:{...B3e(),...e==null?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:Zp("pagination",e)}),createTable:e=>{let t=!1,r=!1;e._autoResetPageIndex=()=>{var n,o;if(!t){e._queue(()=>{t=!0});return}if((n=(o=e.options.autoResetAll)!=null?o:e.options.autoResetPageIndex)!=null?n:!e.options.manualPagination){if(r)return;r=!0,e._queue(()=>{e.resetPageIndex(),r=!1})}},e.setPagination=n=>{const o=m=>n_(n,m);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(o)},e.resetPagination=n=>{var o;e.setPagination(n?B3e():(o=e.initialState.pagination)!=null?o:B3e())},e.setPageIndex=n=>{e.setPagination(o=>{let m=n_(n,o.pageIndex);const u=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return m=Math.max(0,Math.min(m,u)),{...o,pageIndex:m}})},e.resetPageIndex=n=>{var o,m;e.setPageIndex(n?P3e:(o=(m=e.initialState)==null||(m=m.pagination)==null?void 0:m.pageIndex)!=null?o:P3e)},e.resetPageSize=n=>{var o,m;e.setPageSize(n?F3e:(o=(m=e.initialState)==null||(m=m.pagination)==null?void 0:m.pageSize)!=null?o:F3e)},e.setPageSize=n=>{e.setPagination(o=>{const m=Math.max(1,n_(n,o.pageSize)),u=o.pageSize*o.pageIndex,h=Math.floor(u/m);return{...o,pageIndex:h,pageSize:m}})},e.setPageCount=n=>e.setPagination(o=>{var m;let u=n_(n,(m=e.options.pageCount)!=null?m:-1);return typeof u=="number"&&(u=Math.max(-1,u)),{...o,pageCount:u}}),e.getPageOptions=Eo(()=>[e.getPageCount()],n=>{let o=[];return n&&n>0&&(o=[...new Array(n)].fill(null).map((m,u)=>u)),o},So(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:n}=e.getState().pagination,o=e.getPageCount();return o===-1?!0:o===0?!1:n<o-1},e.previousPage=()=>e.setPageIndex(n=>n-1),e.nextPage=()=>e.setPageIndex(n=>n+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var n;return(n=e.options.pageCount)!=null?n:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var n;return(n=e.options.rowCount)!=null?n:e.getPrePaginationRowModel().rows.length}}},z3e=()=>({top:[],bottom:[]}),Ztr={getInitialState:e=>({rowPinning:z3e(),...e}),getDefaultOptions:e=>({onRowPinningChange:Zp("rowPinning",e)}),createRow:(e,t)=>{e.pin=(r,n,o)=>{const m=n?e.getLeafRows().map(a=>{let{id:l}=a;return l}):[],u=o?e.getParentRows().map(a=>{let{id:l}=a;return l}):[],h=new Set([...u,e.id,...m]);t.setRowPinning(a=>{var l,v;if(r==="bottom"){var i,S;return{top:((i=a==null?void 0:a.top)!=null?i:[]).filter(_=>!(h!=null&&h.has(_))),bottom:[...((S=a==null?void 0:a.bottom)!=null?S:[]).filter(_=>!(h!=null&&h.has(_))),...Array.from(h)]}}if(r==="top"){var g,p;return{top:[...((g=a==null?void 0:a.top)!=null?g:[]).filter(_=>!(h!=null&&h.has(_))),...Array.from(h)],bottom:((p=a==null?void 0:a.bottom)!=null?p:[]).filter(_=>!(h!=null&&h.has(_)))}}return{top:((l=a==null?void 0:a.top)!=null?l:[]).filter(_=>!(h!=null&&h.has(_))),bottom:((v=a==null?void 0:a.bottom)!=null?v:[]).filter(_=>!(h!=null&&h.has(_)))}})},e.getCanPin=()=>{var r;const{enableRowPinning:n,enablePinning:o}=t.options;return typeof n=="function"?n(e):(r=n??o)!=null?r:!0},e.getIsPinned=()=>{const r=[e.id],{top:n,bottom:o}=t.getState().rowPinning,m=r.some(h=>n==null?void 0:n.includes(h)),u=r.some(h=>o==null?void 0:o.includes(h));return m?"top":u?"bottom":!1},e.getPinnedIndex=()=>{var r,n;const o=e.getIsPinned();if(!o)return-1;const m=(r=o==="top"?t.getTopRows():t.getBottomRows())==null?void 0:r.map(u=>{let{id:h}=u;return h});return(n=m==null?void 0:m.indexOf(e.id))!=null?n:-1}},createTable:e=>{e.setRowPinning=t=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var r,n;return e.setRowPinning(t?z3e():(r=(n=e.initialState)==null?void 0:n.rowPinning)!=null?r:z3e())},e.getIsSomeRowsPinned=t=>{var r;const n=e.getState().rowPinning;if(!t){var o,m;return!!((o=n.top)!=null&&o.length||(m=n.bottom)!=null&&m.length)}return!!((r=n[t])!=null&&r.length)},e._getPinnedRows=(t,r,n)=>{var o;return((o=e.options.keepPinnedRows)==null||o?(r??[]).map(u=>{const h=e.getRow(u,!0);return h.getIsAllParentsExpanded()?h:null}):(r??[]).map(u=>t.find(h=>h.id===u))).filter(Boolean).map(u=>({...u,position:n}))},e.getTopRows=Eo(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,r)=>e._getPinnedRows(t,r,"top"),So(e.options,"debugRows")),e.getBottomRows=Eo(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,r)=>e._getPinnedRows(t,r,"bottom"),So(e.options,"debugRows")),e.getCenterRows=Eo(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(t,r,n)=>{const o=new Set([...r??[],...n??[]]);return t.filter(m=>!o.has(m.id))},So(e.options,"debugRows"))}},Qtr={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Zp("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var r;return e.setRowSelection(t?{}:(r=e.initialState.rowSelection)!=null?r:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(r=>{t=typeof t<"u"?t:!e.getIsAllRowsSelected();const n={...r},o=e.getPreGroupedRowModel().flatRows;return t?o.forEach(m=>{m.getCanSelect()&&(n[m.id]=!0)}):o.forEach(m=>{delete n[m.id]}),n})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(r=>{const n=typeof t<"u"?t:!e.getIsAllPageRowsSelected(),o={...r};return e.getRowModel().rows.forEach(m=>{U3e(o,m.id,n,!0,e)}),o}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=Eo(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,r)=>Object.keys(t).length?$3e(e,r):{rows:[],flatRows:[],rowsById:{}},So(e.options,"debugTable")),e.getFilteredSelectedRowModel=Eo(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,r)=>Object.keys(t).length?$3e(e,r):{rows:[],flatRows:[],rowsById:{}},So(e.options,"debugTable")),e.getGroupedSelectedRowModel=Eo(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,r)=>Object.keys(t).length?$3e(e,r):{rows:[],flatRows:[],rowsById:{}},So(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:r}=e.getState();let n=!!(t.length&&Object.keys(r).length);return n&&t.some(o=>o.getCanSelect()&&!r[o.id])&&(n=!1),n},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter(o=>o.getCanSelect()),{rowSelection:r}=e.getState();let n=!!t.length;return n&&t.some(o=>!r[o.id])&&(n=!1),n},e.getIsSomeRowsSelected=()=>{var t;const r=Object.keys((t=e.getState().rowSelection)!=null?t:{}).length;return r>0&&r<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:t.filter(r=>r.getCanSelect()).some(r=>r.getIsSelected()||r.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(r,n)=>{const o=e.getIsSelected();t.setRowSelection(m=>{var u;if(r=typeof r<"u"?r:!o,e.getCanSelect()&&o===r)return m;const h={...m};return U3e(h,e.id,r,(u=n==null?void 0:n.selectChildren)!=null?u:!0,t),h})},e.getIsSelected=()=>{const{rowSelection:r}=t.getState();return H3e(e,r)},e.getIsSomeSelected=()=>{const{rowSelection:r}=t.getState();return V3e(e,r)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:r}=t.getState();return V3e(e,r)==="all"},e.getCanSelect=()=>{var r;return typeof t.options.enableRowSelection=="function"?t.options.enableRowSelection(e):(r=t.options.enableRowSelection)!=null?r:!0},e.getCanSelectSubRows=()=>{var r;return typeof t.options.enableSubRowSelection=="function"?t.options.enableSubRowSelection(e):(r=t.options.enableSubRowSelection)!=null?r:!0},e.getCanMultiSelect=()=>{var r;return typeof t.options.enableMultiRowSelection=="function"?t.options.enableMultiRowSelection(e):(r=t.options.enableMultiRowSelection)!=null?r:!0},e.getToggleSelectedHandler=()=>{const r=e.getCanSelect();return n=>{var o;r&&e.toggleSelected((o=n.target)==null?void 0:o.checked)}}}},U3e=(e,t,r,n,o)=>{var m;const u=o.getRow(t,!0);r?(u.getCanMultiSelect()||Object.keys(e).forEach(h=>delete e[h]),u.getCanSelect()&&(e[t]=!0)):delete e[t],n&&(m=u.subRows)!=null&&m.length&&u.getCanSelectSubRows()&&u.subRows.forEach(h=>U3e(e,h.id,r,n,o))};function $3e(e,t){const r=e.getState().rowSelection,n=[],o={},m=function(u,h){return u.map(a=>{var l;const v=H3e(a,r);if(v&&(n.push(a),o[a.id]=a),(l=a.subRows)!=null&&l.length&&(a={...a,subRows:m(a.subRows)}),v)return a}).filter(Boolean)};return{rows:m(t.rows),flatRows:n,rowsById:o}}function H3e(e,t){var r;return(r=t[e.id])!=null?r:!1}function V3e(e,t,r){var n;if(!((n=e.subRows)!=null&&n.length))return!1;let o=!0,m=!1;return e.subRows.forEach(u=>{if(!(m&&!o)&&(u.getCanSelect()&&(H3e(u,t)?m=!0:o=!1),u.subRows&&u.subRows.length)){const h=V3e(u,t);h==="all"?m=!0:(h==="some"&&(m=!0),o=!1)}}),o?"all":m?"some":!1}const G3e=/([0-9]+)/gm,Jtr=(e,t,r)=>IQe(a_(e.getValue(r)).toLowerCase(),a_(t.getValue(r)).toLowerCase()),err=(e,t,r)=>IQe(a_(e.getValue(r)),a_(t.getValue(r))),trr=(e,t,r)=>j3e(a_(e.getValue(r)).toLowerCase(),a_(t.getValue(r)).toLowerCase()),rrr=(e,t,r)=>j3e(a_(e.getValue(r)),a_(t.getValue(r))),nrr=(e,t,r)=>{const n=e.getValue(r),o=t.getValue(r);return n>o?1:n<o?-1:0},arr=(e,t,r)=>j3e(e.getValue(r),t.getValue(r));function j3e(e,t){return e===t?0:e>t?1:-1}function a_(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function IQe(e,t){const r=e.split(G3e).filter(Boolean),n=t.split(G3e).filter(Boolean);for(;r.length&&n.length;){const o=r.shift(),m=n.shift(),u=parseInt(o,10),h=parseInt(m,10),a=[u,h].sort();if(isNaN(a[0])){if(o>m)return 1;if(m>o)return-1;continue}if(isNaN(a[1]))return isNaN(u)?-1:1;if(u>h)return 1;if(h>u)return-1}return r.length-n.length}const k8={alphanumeric:Jtr,alphanumericCaseSensitive:err,text:trr,textCaseSensitive:rrr,datetime:nrr,basic:arr},irr=[Ptr,Ytr,Htr,Vtr,Btr,ztr,Wtr,Ktr,{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Zp("sorting",e),isMultiSortEvent:t=>t.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const r=t.getFilteredRowModel().flatRows.slice(10);let n=!1;for(const o of r){const m=o==null?void 0:o.getValue(e.id);if(Object.prototype.toString.call(m)==="[object Date]")return k8.datetime;if(typeof m=="string"&&(n=!0,m.split(G3e).length>1))return k8.alphanumeric}return n?k8.text:k8.basic},e.getAutoSortDir=()=>{const r=t.getFilteredRowModel().flatRows[0];return typeof(r==null?void 0:r.getValue(e.id))=="string"?"asc":"desc"},e.getSortingFn=()=>{var r,n;if(!e)throw new Error;return xse(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(r=(n=t.options.sortingFns)==null?void 0:n[e.columnDef.sortingFn])!=null?r:k8[e.columnDef.sortingFn]},e.toggleSorting=(r,n)=>{const o=e.getNextSortingOrder(),m=typeof r<"u"&&r!==null;t.setSorting(u=>{const h=u==null?void 0:u.find(g=>g.id===e.id),a=u==null?void 0:u.findIndex(g=>g.id===e.id);let l=[],v,i=m?r:o==="desc";if(u!=null&&u.length&&e.getCanMultiSort()&&n?h?v="toggle":v="add":u!=null&&u.length&&a!==u.length-1?v="replace":h?v="toggle":v="replace",v==="toggle"&&(m||o||(v="remove")),v==="add"){var S;l=[...u,{id:e.id,desc:i}],l.splice(0,l.length-((S=t.options.maxMultiSortColCount)!=null?S:Number.MAX_SAFE_INTEGER))}else v==="toggle"?l=u.map(g=>g.id===e.id?{...g,desc:i}:g):v==="remove"?l=u.filter(g=>g.id!==e.id):l=[{id:e.id,desc:i}];return l})},e.getFirstSortDir=()=>{var r,n;return((r=(n=e.columnDef.sortDescFirst)!=null?n:t.options.sortDescFirst)!=null?r:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=r=>{var n,o;const m=e.getFirstSortDir(),u=e.getIsSorted();return u?u!==m&&((n=t.options.enableSortingRemoval)==null||n)&&(!(r&&(o=t.options.enableMultiRemove)!=null)||o)?!1:u==="desc"?"asc":"desc":m},e.getCanSort=()=>{var r,n;return((r=e.columnDef.enableSorting)!=null?r:!0)&&((n=t.options.enableSorting)!=null?n:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var r,n;return(r=(n=e.columnDef.enableMultiSort)!=null?n:t.options.enableMultiSort)!=null?r:!!e.accessorFn},e.getIsSorted=()=>{var r;const n=(r=t.getState().sorting)==null?void 0:r.find(o=>o.id===e.id);return n?n.desc?"desc":"asc":!1},e.getSortIndex=()=>{var r,n;return(r=(n=t.getState().sorting)==null?void 0:n.findIndex(o=>o.id===e.id))!=null?r:-1},e.clearSorting=()=>{t.setSorting(r=>r!=null&&r.length?r.filter(n=>n.id!==e.id):[])},e.getToggleSortingHandler=()=>{const r=e.getCanSort();return n=>{r&&(n.persist==null||n.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?t.options.isMultiSortEvent==null?void 0:t.options.isMultiSortEvent(n):!1))}}},createTable:e=>{e.setSorting=t=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var r,n;e.setSorting(t?[]:(r=(n=e.initialState)==null?void 0:n.sorting)!=null?r:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},Utr,Xtr,qtr,Ztr,Qtr,Gtr];function orr(e){var t,r;const n=[...irr,...(t=e._features)!=null?t:[]];let o={_features:n};const m=o._features.reduce((S,g)=>Object.assign(S,g.getDefaultOptions==null?void 0:g.getDefaultOptions(o)),{}),u=S=>o.options.mergeOptions?o.options.mergeOptions(m,S):{...m,...S};let a={...{},...(r=e.initialState)!=null?r:{}};o._features.forEach(S=>{var g;a=(g=S.getInitialState==null?void 0:S.getInitialState(a))!=null?g:a});const l=[];let v=!1;const i={_features:n,options:{...m,...e},initialState:a,_queue:S=>{l.push(S),v||(v=!0,Promise.resolve().then(()=>{for(;l.length;)l.shift()();v=!1}).catch(g=>setTimeout(()=>{throw g})))},reset:()=>{o.setState(o.initialState)},setOptions:S=>{const g=n_(S,o.options);o.options=u(g)},getState:()=>o.options.state,setState:S=>{o.options.onStateChange==null||o.options.onStateChange(S)},_getRowId:(S,g,p)=>{var _;return(_=o.options.getRowId==null?void 0:o.options.getRowId(S,g,p))!=null?_:`${p?[p.id,g].join("."):g}`},getCoreRowModel:()=>(o._getCoreRowModel||(o._getCoreRowModel=o.options.getCoreRowModel(o)),o._getCoreRowModel()),getRowModel:()=>o.getPaginationRowModel(),getRow:(S,g)=>{let p=(g?o.getPrePaginationRowModel():o.getRowModel()).rowsById[S];if(!p&&(p=o.getCoreRowModel().rowsById[S],!p))throw new Error;return p},_getDefaultColumnDef:Eo(()=>[o.options.defaultColumn],S=>{var g;return S=(g=S)!=null?g:{},{header:p=>{const _=p.header.column.columnDef;return _.accessorKey?_.accessorKey:_.accessorFn?_.id:null},cell:p=>{var _,c;return(_=(c=p.renderValue())==null||c.toString==null?void 0:c.toString())!=null?_:null},...o._features.reduce((p,_)=>Object.assign(p,_.getDefaultColumnDef==null?void 0:_.getDefaultColumnDef()),{}),...S}},So(e,"debugColumns")),_getColumnDefs:()=>o.options.columns,getAllColumns:Eo(()=>[o._getColumnDefs()],S=>{const g=function(p,_,c){return c===void 0&&(c=0),p.map(s=>{const d=Dtr(o,s,c,_),f=s;return d.columns=f.columns?g(f.columns,d,c+1):[],d})};return g(S)},So(e,"debugColumns")),getAllFlatColumns:Eo(()=>[o.getAllColumns()],S=>S.flatMap(g=>g.getFlatColumns()),So(e,"debugColumns")),_getAllFlatColumnsById:Eo(()=>[o.getAllFlatColumns()],S=>S.reduce((g,p)=>(g[p.id]=p,g),{}),So(e,"debugColumns")),getAllLeafColumns:Eo(()=>[o.getAllColumns(),o._getOrderColumnsFn()],(S,g)=>{let p=S.flatMap(_=>_.getLeafColumns());return g(p)},So(e,"debugColumns")),getColumn:S=>o._getAllFlatColumnsById()[S]};Object.assign(o,i);for(let S=0;S<o._features.length;S++){const g=o._features[S];g==null||g.createTable==null||g.createTable(o)}return o}function srr(){return e=>Eo(()=>[e.options.data],t=>{const r={rows:[],flatRows:[],rowsById:{}},n=function(o,m,u){m===void 0&&(m=0);const h=[];for(let l=0;l<o.length;l++){const v=Ftr(e,e._getRowId(o[l],l,u),o[l],l,m,void 0,u==null?void 0:u.id);if(r.flatRows.push(v),r.rowsById[v.id]=v,h.push(v),e.options.getSubRows){var a;v.originalSubRows=e.options.getSubRows(o[l],l),(a=v.originalSubRows)!=null&&a.length&&(v.subRows=n(v.originalSubRows,m+1,v))}}return h};return r.rows=n(t),r},So(e.options,"debugTable","getRowModel",()=>e._autoResetPageIndex()))}function lrr(e){const t=[],r=n=>{var o;t.push(n),(o=n.subRows)!=null&&o.length&&n.getIsExpanded()&&n.subRows.forEach(r)};return e.rows.forEach(r),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function crr(e){return t=>Eo(()=>[t.getState().pagination,t.getPrePaginationRowModel(),t.options.paginateExpandedRows?void 0:t.getState().expanded],(r,n)=>{if(!n.rows.length)return n;const{pageSize:o,pageIndex:m}=r;let{rows:u,flatRows:h,rowsById:a}=n;const l=o*m,v=l+o;u=u.slice(l,v);let i;t.options.paginateExpandedRows?i={rows:u,flatRows:h,rowsById:a}:i=lrr({rows:u,flatRows:h,rowsById:a}),i.flatRows=[];const S=g=>{i.flatRows.push(g),g.subRows.length&&g.subRows.forEach(S)};return i.rows.forEach(S),i},So(t.options,"debugTable"))}function urr(){return e=>Eo(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,r)=>{if(!r.rows.length||!(t!=null&&t.length))return r;const n=e.getState().sorting,o=[],m=n.filter(a=>{var l;return(l=e.getColumn(a.id))==null?void 0:l.getCanSort()}),u={};m.forEach(a=>{const l=e.getColumn(a.id);l&&(u[a.id]={sortUndefined:l.columnDef.sortUndefined,invertSorting:l.columnDef.invertSorting,sortingFn:l.getSortingFn()})});const h=a=>{const l=a.map(v=>({...v}));return l.sort((v,i)=>{for(let g=0;g<m.length;g+=1){var S;const p=m[g],_=u[p.id],c=_.sortUndefined,s=(S=p==null?void 0:p.desc)!=null?S:!1;let d=0;if(c){const f=v.getValue(p.id),b=i.getValue(p.id),x=f===void 0,y=b===void 0;if(x||y){if(c==="first")return x?-1:1;if(c==="last")return x?1:-1;d=x&&y?0:x?c:-c}}if(d===0&&(d=_.sortingFn(v,i,p.id)),d!==0)return s&&(d*=-1),_.invertSorting&&(d*=-1),d}return v.index-i.index}),l.forEach(v=>{var i;o.push(v),(i=v.subRows)!=null&&i.length&&(v.subRows=h(v.subRows))}),l};return{rows:h(r.rows),flatRows:o,rowsById:r.rowsById}},So(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}/**
* react-table
*
* Copyright (c) TanStack
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function LQe(e,t){return e?drr(e)?Ue.createElement(e,t):e:null}function drr(e){return frr(e)||typeof e=="function"||hrr(e)}function frr(e){return typeof e=="function"&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function hrr(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function prr(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[r]=Ue.useState(()=>({current:orr(t)})),[n,o]=Ue.useState(()=>r.current.initialState);return r.current.setOptions(m=>({...m,...e,state:{...n,...e.state},onStateChange:u=>{o(u),e.onStateChange==null||e.onStateChange(u)}})),r.current}const vrr=({data:e})=>{var a;const{index:t,columns:r,data:n}=e,o=Ue.useMemo(()=>r.map(l=>({accessorKey:l,header:({column:v})=>{const i=v.getIsSorted();return Oe.jsxs("div",{className:"flex items-center cursor-pointer",onClick:()=>v.toggleSorting(),children:[l,i==="asc"&&Oe.jsx(Bk,{className:"ml-2 !size-3"}),i==="desc"&&Oe.jsx(jT,{className:"ml-2 !size-3"})]})}})),[r]),m=Ue.useMemo(()=>n.map((l,v)=>{const i={id:t[v]};return r.forEach((S,g)=>{i[S]=l[g]}),i}),[n,r,t]),u=prr({data:m,columns:o,getCoreRowModel:srr(),getPaginationRowModel:crr(),getSortedRowModel:urr(),initialState:{pagination:{pageSize:10}}}),h=Ue.useCallback(()=>Array.from({length:u.getPageCount()},(l,v)=>Oe.jsx(g8,{children:Oe.jsx(y8,{onClick:()=>u.setPageIndex(v),isActive:u.getState().pagination.pageIndex===v,children:v+1})},v)),[u.getPageCount(),u.getState().pagination.pageIndex]);return Oe.jsxs("div",{className:"flex flex-col gap-2 h-full overflow-y-auto dataframe",children:[Oe.jsx("div",{className:"rounded-md border overflow-y-auto",children:Oe.jsxs(A9,{children:[Oe.jsx(C9,{children:u.getHeaderGroups().map(l=>Oe.jsx(HT,{children:l.headers.map(v=>Oe.jsx(M9,{children:v.isPlaceholder?null:LQe(v.column.columnDef.header,v.getContext())},v.id))},l.id))}),Oe.jsx(k9,{children:(a=u.getRowModel().rows)!=null&&a.length?u.getRowModel().rows.map(l=>Oe.jsx(HT,{children:l.getVisibleCells().map(v=>Oe.jsx(Lk,{children:LQe(v.column.columnDef.cell,v.getContext())},v.id))},l.id)):Oe.jsx(HT,{children:Oe.jsx(Lk,{colSpan:r.length,className:"h-24 text-center",children:"No results."})})})]})}),Oe.jsx(n3e,{children:Oe.jsxs(a3e,{className:"ml-auto",children:[Oe.jsx(g8,{children:Oe.jsx(i3e,{onClick:()=>u.previousPage(),className:u.getCanPreviousPage()?"cursor-pointer":"pointer-events-none opacity-50"})}),h(),Oe.jsx(g8,{children:Oe.jsx(o3e,{onClick:()=>u.nextPage(),className:u.getCanNextPage()?"cursor-pointer":"pointer-events-none opacity-50"})})]})})]})};function mrr({element:e}){const{data:t,isLoading:r,error:n}=m3e(e.url||null),o=Ue.useMemo(()=>{if(t)return JSON.parse(t)},[t]);return r?Oe.jsx("div",{className:"flex items-center justify-center h-full w-full bg-muted",children:Oe.jsx(doe,{})}):n?Oe.jsx(ex,{variant:"error",children:n.message}):Oe.jsx(vrr,{data:o})}const grr=Object.freeze(Object.defineProperty({__proto__:null,default:mrr},Symbol.toStringTag,{value:"Module"}));var Y3e={},OQe={};(function(e){function t(x){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},t(x)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=b;var r=u(Ue),n=o(sxe);function o(x){return x&&x.__esModule?x:{default:x}}function m(x){if(typeof WeakMap!="function")return null;var y=new WeakMap,C=new WeakMap;return(m=function(R){return R?C:y})(x)}function u(x,y){if(x&&x.__esModule)return x;if(x===null||t(x)!=="object"&&typeof x!="function")return{default:x};var C=m(y);if(C&&C.has(x))return C.get(x);var w={},R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in x)if(A!=="default"&&Object.prototype.hasOwnProperty.call(x,A)){var E=R?Object.getOwnPropertyDescriptor(x,A):null;E&&(E.get||E.set)?Object.defineProperty(w,A,E):w[A]=x[A]}return w.default=x,C&&C.set(x,w),w}function h(x,y){if(!(x instanceof y))throw new TypeError("Cannot call a class as a function")}function a(x,y){for(var C=0;C<y.length;C++){var w=y[C];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(x,w.key,w)}}function l(x,y,C){return y&&a(x.prototype,y),Object.defineProperty(x,"prototype",{writable:!1}),x}function v(x,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");x.prototype=Object.create(y&&y.prototype,{constructor:{value:x,writable:!0,configurable:!0}}),Object.defineProperty(x,"prototype",{writable:!1}),y&&i(x,y)}function i(x,y){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,R){return w.__proto__=R,w},i(x,y)}function S(x){var y=_();return function(){var w=c(x),R;if(y){var A=c(this).constructor;R=Reflect.construct(w,arguments,A)}else R=w.apply(this,arguments);return g(this,R)}}function g(x,y){if(y&&(t(y)==="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return p(x)}function p(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}function _(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function c(x){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(C){return C.__proto__||Object.getPrototypeOf(C)},c(x)}var s=["AfterExport","AfterPlot","Animated","AnimatingFrame","AnimationInterrupted","AutoSize","BeforeExport","BeforeHover","ButtonClicked","Click","ClickAnnotation","Deselect","DoubleClick","Framework","Hover","LegendClick","LegendDoubleClick","Relayout","Relayouting","Restyle","Redraw","Selected","Selecting","SliderChange","SliderEnd","SliderStart","SunburstClick","Transitioning","TransitionInterrupted","Unhover","WebGlContextLost"],d=["plotly_restyle","plotly_redraw","plotly_relayout","plotly_relayouting","plotly_doubleclick","plotly_animated","plotly_sunburstclick"],f=typeof window<"u";function b(x){var y=function(C){v(R,C);var w=S(R);function R(A){var E;return h(this,R),E=w.call(this,A),E.p=Promise.resolve(),E.resizeHandler=null,E.handlers={},E.syncWindowResize=E.syncWindowResize.bind(p(E)),E.syncEventHandlers=E.syncEventHandlers.bind(p(E)),E.attachUpdateEvents=E.attachUpdateEvents.bind(p(E)),E.getRef=E.getRef.bind(p(E)),E.handleUpdate=E.handleUpdate.bind(p(E)),E.figureCallback=E.figureCallback.bind(p(E)),E.updatePlotly=E.updatePlotly.bind(p(E)),E}return l(R,[{key:"updatePlotly",value:function(E,k,L){var I=this;this.p=this.p.then(function(){if(!I.unmounting){if(!I.el)throw new Error("Missing element reference");return x.react(I.el,{data:I.props.data,layout:I.props.layout,config:I.props.config,frames:I.props.frames})}}).then(function(){I.unmounting||(I.syncWindowResize(E),I.syncEventHandlers(),I.figureCallback(k),L&&I.attachUpdateEvents())}).catch(function(P){I.props.onError&&I.props.onError(P)})}},{key:"componentDidMount",value:function(){this.unmounting=!1,this.updatePlotly(!0,this.props.onInitialized,!0)}},{key:"componentDidUpdate",value:function(E){this.unmounting=!1;var k=E.frames&&E.frames.length?E.frames.length:0,L=this.props.frames&&this.props.frames.length?this.props.frames.length:0,I=!(E.layout===this.props.layout&&E.data===this.props.data&&E.config===this.props.config&&L===k),P=E.revision!==void 0,M=E.revision!==this.props.revision;!I&&(!P||P&&!M)||this.updatePlotly(!1,this.props.onUpdate,!1)}},{key:"componentWillUnmount",value:function(){this.unmounting=!0,this.figureCallback(this.props.onPurge),this.resizeHandler&&f&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null),this.removeUpdateEvents(),x.purge(this.el)}},{key:"attachUpdateEvents",value:function(){var E=this;!this.el||!this.el.removeListener||d.forEach(function(k){E.el.on(k,E.handleUpdate)})}},{key:"removeUpdateEvents",value:function(){var E=this;!this.el||!this.el.removeListener||d.forEach(function(k){E.el.removeListener(k,E.handleUpdate)})}},{key:"handleUpdate",value:function(){this.figureCallback(this.props.onUpdate)}},{key:"figureCallback",value:function(E){if(typeof E=="function"){var k=this.el,L=k.data,I=k.layout,P=this.el._transitionData?this.el._transitionData._frames:null,M={data:L,layout:I,frames:P};E(M,this.el)}}},{key:"syncWindowResize",value:function(E){var k=this;f&&(this.props.useResizeHandler&&!this.resizeHandler?(this.resizeHandler=function(){return x.Plots.resize(k.el)},window.addEventListener("resize",this.resizeHandler),E&&this.resizeHandler()):!this.props.useResizeHandler&&this.resizeHandler&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null))}},{key:"getRef",value:function(E){this.el=E,this.props.debug&&f&&(window.gd=this.el)}},{key:"syncEventHandlers",value:function(){var E=this;s.forEach(function(k){var L=E.props["on"+k],I=E.handlers[k],P=!!I;L&&!P?E.addEventHandler(k,L):!L&&P?E.removeEventHandler(k):L&&P&&L!==I&&(E.removeEventHandler(k),E.addEventHandler(k,L))})}},{key:"addEventHandler",value:function(E,k){this.handlers[E]=k,this.el.on(this.getPlotlyEventName(E),this.handlers[E])}},{key:"removeEventHandler",value:function(E){this.el.removeListener(this.getPlotlyEventName(E),this.handlers[E]),delete this.handlers[E]}},{key:"getPlotlyEventName",value:function(E){return"plotly_"+E.toLowerCase()}},{key:"render",value:function(){return r.default.createElement("div",{id:this.props.divId,style:this.props.style,ref:this.getRef,className:this.props.className})}}]),R}(r.Component);return y.propTypes={data:n.default.arrayOf(n.default.object),config:n.default.object,layout:n.default.object,frames:n.default.arrayOf(n.default.object),revision:n.default.number,onInitialized:n.default.func,onPurge:n.default.func,onError:n.default.func,onUpdate:n.default.func,debug:n.default.bool,style:n.default.object,className:n.default.string,useResizeHandler:n.default.bool,divId:n.default.string},s.forEach(function(C){y.propTypes["on"+C]=n.default.func}),y.defaultProps={debug:!1,useResizeHandler:!1,data:[],style:{position:"relative",display:"inline-block"}},y}})(OQe);var DQe={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(self,function(){return function(){var r={79288:function(u,h,a){var l=a(3400),v={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var i in v){var S=i.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");l.addStyleRule(S,v[i])}},86712:function(u,h,a){u.exports=a(84224)},37240:function(u,h,a){u.exports=a(51132)},29744:function(u,h,a){u.exports=a(94456)},29352:function(u,h,a){u.exports=a(67244)},96144:function(u,h,a){u.exports=a(97776)},53219:function(u,h,a){u.exports=a(61712)},4624:function(u,h,a){u.exports=a(95856)},54543:function(u,h,a){u.exports=a(54272)},45e3:function(u,h,a){u.exports=a(85404)},62300:function(u,h,a){u.exports=a(26048)},6920:function(u,h,a){u.exports=a(66240)},10264:function(u,h,a){u.exports=a(40448)},32016:function(u,h,a){u.exports=a(64884)},27528:function(u,h,a){u.exports=a(15088)},75556:function(u,h,a){u.exports=a(76744)},39204:function(u,h,a){u.exports=a(94704)},73996:function(u,h,a){u.exports=a(62396)},16489:function(u,h,a){u.exports=a(32028)},5e3:function(u,h,a){u.exports=a(81932)},77280:function(u,h,a){u.exports=a(45536)},33992:function(u,h,a){u.exports=a(42600)},17600:function(u,h,a){u.exports=a(21536)},49116:function(u,h,a){u.exports=a(65664)},46808:function(u,h,a){u.exports=a(29044)},36168:function(u,h,a){u.exports=a(48928)},13792:function(u,h,a){var l=a(32016);l.register([a(37240),a(29352),a(5e3),a(33992),a(17600),a(49116),a(6920),a(67484),a(79440),a(39204),a(83096),a(36168),a(20260),a(63560),a(65832),a(46808),a(73996),a(48824),a(89904),a(25120),a(13752),a(4340),a(62300),a(29800),a(8363),a(54543),a(86636),a(42192),a(32140),a(77280),a(89296),a(56816),a(70192),a(45e3),a(27528),a(84764),a(3920),a(50248),a(4624),a(69967),a(10264),a(86152),a(53219),a(81604),a(63796),a(29744),a(89336),a(86712),a(75556),a(16489),a(97312),a(96144)]),u.exports=l},3920:function(u,h,a){u.exports=a(43480)},25120:function(u,h,a){u.exports=a(6296)},4340:function(u,h,a){u.exports=a(7404)},86152:function(u,h,a){u.exports=a(65456)},56816:function(u,h,a){u.exports=a(22020)},89296:function(u,h,a){u.exports=a(29928)},20260:function(u,h,a){u.exports=a(75792)},32140:function(u,h,a){u.exports=a(156)},84764:function(u,h,a){u.exports=a(45499)},48824:function(u,h,a){u.exports=a(3296)},69967:function(u,h,a){u.exports=a(4184)},8363:function(u,h,a){u.exports=a(36952)},86636:function(u,h,a){u.exports=a(38983)},70192:function(u,h,a){u.exports=a(11572)},81604:function(u,h,a){u.exports=a(76924)},63796:function(u,h,a){u.exports=a(62944)},89336:function(u,h,a){u.exports=a(95443)},67484:function(u,h,a){u.exports=a(34864)},97312:function(u,h,a){u.exports=a(76272)},42192:function(u,h,a){u.exports=a(97924)},29800:function(u,h,a){u.exports=a(15436)},63560:function(u,h,a){u.exports=a(5621)},89904:function(u,h,a){u.exports=a(91304)},50248:function(u,h,a){u.exports=a(41724)},65832:function(u,h,a){u.exports=a(31991)},79440:function(u,h,a){u.exports=a(22869)},13752:function(u,h,a){u.exports=a(67776)},83096:function(u,h,a){u.exports=a(95952)},72196:function(u){u.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},13916:function(u,h,a){var l=a(72196),v=a(25376),i=a(33816),S=a(31780).templatedArray;a(36208),u.exports=S("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:v({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:l.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:l.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",i.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",i.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:v({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},90272:function(u,h,a){var l=a(3400),v=a(54460),i=a(23816).draw;u.exports=function(_){var c=_._fullLayout,s=l.filterVisible(c.annotations);if(s.length&&_._fullData.length)return l.syncOrAsync([i,S],_)};function S(p){var _=p._fullLayout;l.filterVisible(_.annotations).forEach(function(c){var s=v.getFromId(p,c.xref),d=v.getFromId(p,c.yref),f=v.getRefType(c.xref),b=v.getRefType(c.yref);c._extremes={},f==="range"&&g(c,s),b==="range"&&g(c,d)})}function g(p,_){var c=_._id,s=c.charAt(0),d=p[s],f=p["a"+s],b=p[s+"ref"],x=p["a"+s+"ref"],y=p["_"+s+"padplus"],C=p["_"+s+"padminus"],w={x:1,y:-1}[s]*p[s+"shift"],R=3*p.arrowsize*p.arrowwidth||0,A=R+w,E=R-w,k=3*p.startarrowsize*p.arrowwidth||0,L=k+w,I=k-w,P;if(x===b){var M=v.findExtremes(_,[_.r2c(d)],{ppadplus:A,ppadminus:E}),F=v.findExtremes(_,[_.r2c(f)],{ppadplus:Math.max(y,L),ppadminus:Math.max(C,I)});P={min:[M.min[0],F.min[0]],max:[M.max[0],F.max[0]]}}else L=f?L+f:L,I=f?I-f:I,P=v.findExtremes(_,[_.r2c(d)],{ppadplus:Math.max(y,A,L),ppadminus:Math.max(C,E,I)});p._extremes[c]=P}},42300:function(u,h,a){var l=a(3400),v=a(24040),i=a(31780).arrayEditor;u.exports={hasClickToShow:S,onClick:g};function S(c,s){var d=p(c,s);return d.on.length>0||d.explicitOff.length>0}function g(c,s){var d=p(c,s),f=d.on,b=d.off.concat(d.explicitOff),x={},y=c._fullLayout.annotations,C,w;if(f.length||b.length){for(C=0;C<f.length;C++)w=i(c.layout,"annotations",y[f[C]]),w.modifyItem("visible",!0),l.extendFlat(x,w.getUpdateObj());for(C=0;C<b.length;C++)w=i(c.layout,"annotations",y[b[C]]),w.modifyItem("visible",!1),l.extendFlat(x,w.getUpdateObj());return v.call("update",c,{},x)}}function p(c,s){var d=c._fullLayout.annotations,f=[],b=[],x=[],y=(s||[]).length,C,w,R,A,E,k,L,I;for(C=0;C<d.length;C++)if(R=d[C],A=R.clicktoshow,A){for(w=0;w<y;w++)if(E=s[w],k=E.xaxis,L=E.yaxis,k._id===R.xref&&L._id===R.yref&&k.d2r(E.x)===_(R._xclick,k)&&L.d2r(E.y)===_(R._yclick,L)){R.visible?A==="onout"?I=b:I=x:I=f,I.push(C);break}w===y&&R.visible&&A==="onout"&&b.push(C)}return{on:f,off:b,explicitOff:x}}function _(c,s){return s.type==="log"?s.l2r(c):s.d2r(c)}},87192:function(u,h,a){var l=a(3400),v=a(76308);u.exports=function(S,g,p,_){_("opacity");var c=_("bgcolor"),s=_("bordercolor"),d=v.opacity(s);_("borderpad");var f=_("borderwidth"),b=_("showarrow");_("text",b?" ":p._dfltTitle.annotation),_("textangle"),l.coerceFont(_,"font",p.font),_("width"),_("align");var x=_("height");if(x&&_("valign"),b){var y=_("arrowside"),C,w;y.indexOf("end")!==-1&&(C=_("arrowhead"),w=_("arrowsize")),y.indexOf("start")!==-1&&(_("startarrowhead",C),_("startarrowsize",w)),_("arrowcolor",d?g.bordercolor:v.defaultLine),_("arrowwidth",(d&&f||1)*2),_("standoff"),_("startstandoff")}var R=_("hovertext"),A=p.hoverlabel||{};if(R){var E=_("hoverlabel.bgcolor",A.bgcolor||(v.opacity(c)?v.rgb(c):v.defaultLine)),k=_("hoverlabel.bordercolor",A.bordercolor||v.contrast(E));l.coerceFont(_,"hoverlabel.font",{family:A.font.family,size:A.font.size,color:A.font.color||k})}_("captureevents",!!R)}},26828:function(u,h,a){var l=a(38248),v=a(36896);u.exports=function(S,g,p,_){g=g||{};var c=p==="log"&&g.type==="linear",s=p==="linear"&&g.type==="log";if(!(c||s))return;var d=S._fullLayout.annotations,f=g._id.charAt(0),b,x;function y(w){var R=b[w],A=null;c?A=v(R,g.range):A=Math.pow(10,R),l(A)||(A=null),_(x+w,A)}for(var C=0;C<d.length;C++)b=d[C],x="annotations["+C+"].",b[f+"ref"]===g._id&&y(f),b["a"+f+"ref"]===g._id&&y("a"+f)}},45216:function(u,h,a){var l=a(3400),v=a(54460),i=a(51272),S=a(87192),g=a(13916);u.exports=function(c,s){i(c,s,{name:"annotations",handleItemDefaults:p})};function p(_,c,s){function d(N,T){return l.coerce(_,c,g,N,T)}var f=d("visible"),b=d("clicktoshow");if(f||b){S(_,c,s,d);for(var x=c.showarrow,y=["x","y"],C=[-10,-30],w={_fullLayout:s},R=0;R<2;R++){var A=y[R],E=v.coerceRef(_,c,w,A,"","paper");if(E!=="paper"){var k=v.getFromId(w,E);k._annIndices.push(c._index)}if(v.coercePosition(c,w,d,E,A,.5),x){var L="a"+A,I=v.coerceRef(_,c,w,L,"pixel",["pixel","paper"]);I!=="pixel"&&I!==E&&(I=c[L]="pixel");var P=I==="pixel"?C[R]:.4;v.coercePosition(c,w,d,I,L,P)}d(A+"anchor"),d(A+"shift")}if(l.noneOrAll(_,c,["x","y"]),x&&l.noneOrAll(_,c,["ax","ay"]),b){var M=d("xclick"),F=d("yclick");c._xclick=M===void 0?c.x:v.cleanPosition(M,w,c.xref),c._yclick=F===void 0?c.y:v.cleanPosition(F,w,c.yref)}}}},23816:function(u,h,a){var l=a(33428),v=a(24040),i=a(7316),S=a(3400),g=S.strTranslate,p=a(54460),_=a(76308),c=a(43616),s=a(93024),d=a(72736),f=a(93972),b=a(86476),x=a(31780).arrayEditor,y=a(33652);u.exports={draw:C,drawOne:w,drawRaw:A};function C(E){var k=E._fullLayout;k._infolayer.selectAll(".annotation").remove();for(var L=0;L<k.annotations.length;L++)k.annotations[L].visible&&w(E,L);return i.previousPromises(E)}function w(E,k){var L=E._fullLayout,I=L.annotations[k]||{},P=p.getFromId(E,I.xref),M=p.getFromId(E,I.yref);P&&P.setScale(),M&&M.setScale(),A(E,I,k,!1,P,M)}function R(E,k,L,I,P){var M=P[L],F=P[L+"ref"],N=L.indexOf("y")!==-1,T=p.getRefType(F)==="domain",D=N?I.h:I.w;return E?T?M+(N?-k:k)/E._length:E.p2r(E.r2p(M)+k):M+(N?-k:k)/D}function A(E,k,L,I,P,M){var F=E._fullLayout,N=E._fullLayout._size,T=E._context.edits,D,O;I?(D="annotation-"+I,O=I+".annotations"):(D="annotation",O="annotations");var U=x(E.layout,O,k),B=U.modifyBase,Y=U.modifyItem,z=U.getUpdateObj;F._infolayer.selectAll("."+D+'[data-index="'+L+'"]').remove();var V="clip"+F._uid+"_ann"+L;if(!k._input||k.visible===!1){l.selectAll("#"+V).remove();return}var j={x:{},y:{}},G=+k.textangle||0,W=F._infolayer.append("g").classed(D,!0).attr("data-index",String(L)).style("opacity",k.opacity),X=W.append("g").classed("annotation-text-g",!0),Q=T[k.showarrow?"annotationTail":"annotationPosition"],ae=k.captureevents||T.annotationText||Q;function ie(me){var Te={index:L,annotation:k._input,fullAnnotation:k,event:me};return I&&(Te.subplotId=I),Te}var he=X.append("g").style("pointer-events",ae?"all":null).call(f,"pointer").on("click",function(){E._dragging=!1,E.emit("plotly_clickannotation",ie(l.event))});k.hovertext&&he.on("mouseover",function(){var me=k.hoverlabel,Te=me.font,we=this.getBoundingClientRect(),Be=E.getBoundingClientRect();s.loneHover({x0:we.left-Be.left,x1:we.right-Be.left,y:(we.top+we.bottom)/2-Be.top,text:k.hovertext,color:me.bgcolor,borderColor:me.bordercolor,fontFamily:Te.family,fontSize:Te.size,fontColor:Te.color},{container:F._hoverlayer.node(),outerContainer:F._paper.node(),gd:E})}).on("mouseout",function(){s.loneUnhover(F._hoverlayer.node())});var J=k.borderwidth,Z=k.borderpad,le=J+Z,K=he.append("rect").attr("class","bg").style("stroke-width",J+"px").call(_.stroke,k.bordercolor).call(_.fill,k.bgcolor),te=k.width||k.height,ce=F._topclips.selectAll("#"+V).data(te?[0]:[]);ce.enter().append("clipPath").classed("annclip",!0).attr("id",V).append("rect"),ce.exit().remove();var re=k.font,ee=F._meta?S.templateString(k.text,F._meta):k.text,de=he.append("text").classed("annotation-text",!0).text(ee);function oe(me){return me.call(c.font,re).attr({"text-anchor":{left:"start",right:"end"}[k.align]||"middle"}),d.convertToTspans(me,E,fe),me}function fe(){var me=de.selectAll("a");if(me.size()===1&&me.text()===de.text()){var Te=he.insert("a",":first-child").attr({"xlink:xlink:href":me.attr("xlink:href"),"xlink:xlink:show":me.attr("xlink:show")}).style({cursor:"pointer"});Te.node().appendChild(K.node())}var we=he.select(".annotation-text-math-group"),Be=!we.empty(),Ae=c.bBox((Be?we:de).node()),Re=Ae.width,be=Ae.height,Pe=k.width||Re,Ke=k.height||be,ze=Math.round(Pe+2*le),Fe=Math.round(Ke+2*le);function We(Ir,yr){return yr==="auto"&&(Ir<.3333333333333333?yr="left":Ir>.6666666666666666?yr="right":yr="center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[yr]}for(var lt=!1,ht=["x","y"],tt=0;tt<ht.length;tt++){var et=ht[tt],pt=k[et+"ref"]||et,vt=k["a"+et+"ref"],_t={x:P,y:M}[et],bt=(G+(et==="x"?0:-90))*Math.PI/180,Rt=ze*Math.cos(bt),ct=Fe*Math.sin(bt),Ve=Math.abs(Rt)+Math.abs(ct),Qe=k[et+"anchor"],rt=k[et+"shift"]*(et==="x"?1:-1),qe=j[et],He,Ce,Se,Le,Ne,je=p.getRefType(pt);if(_t&&je!=="domain"){var Je=_t.r2fraction(k[et]);(Je<0||Je>1)&&(vt===pt?(Je=_t.r2fraction(k["a"+et]),(Je<0||Je>1)&&(lt=!0)):lt=!0),He=_t._offset+_t.r2p(k[et]),Le=.5}else{var ut=je==="domain";et==="x"?(Se=k[et],He=ut?_t._offset+_t._length*Se:He=N.l+N.w*Se):(Se=1-k[et],He=ut?_t._offset+_t._length*Se:He=N.t+N.h*Se),Le=k.showarrow?.5:Se}if(k.showarrow){qe.head=He;var Et=k["a"+et];if(Ne=Rt*We(.5,k.xanchor)-ct*We(.5,k.yanchor),vt===pt){var wt=p.getRefType(vt);wt==="domain"?(et==="y"&&(Et=1-Et),qe.tail=_t._offset+_t._length*Et):wt==="paper"?et==="y"?(Et=1-Et,qe.tail=N.t+N.h*Et):qe.tail=N.l+N.w*Et:qe.tail=_t._offset+_t.r2p(Et),Ce=Ne}else qe.tail=He+Et,Ce=Ne+Et;qe.text=qe.tail+Ne;var nr=F[et==="x"?"width":"height"];if(pt==="paper"&&(qe.head=S.constrain(qe.head,1,nr-1)),vt==="pixel"){var ir=-Math.max(qe.tail-3,qe.text),It=Math.min(qe.tail+3,qe.text)-nr;ir>0?(qe.tail+=ir,qe.text+=ir):It>0&&(qe.tail-=It,qe.text-=It)}qe.tail+=rt,qe.head+=rt}else Ne=Ve*We(Le,Qe),Ce=Ne,qe.text=He+Ne;qe.text+=rt,Ne+=rt,Ce+=rt,k["_"+et+"padplus"]=Ve/2+Ce,k["_"+et+"padminus"]=Ve/2-Ce,k["_"+et+"size"]=Ve,k["_"+et+"shift"]=Ne}if(lt){he.remove();return}var Gt=0,cr=0;if(k.align!=="left"&&(Gt=(Pe-Re)*(k.align==="center"?.5:1)),k.valign!=="top"&&(cr=(Ke-be)*(k.valign==="middle"?.5:1)),Be)we.select("svg").attr({x:le+Gt-1,y:le+cr}).call(c.setClipUrl,te?V:null,E);else{var Pr=le+cr-Ae.top,Ct=le+Gt-Ae.left;de.call(d.positionText,Ct,Pr).call(c.setClipUrl,te?V:null,E)}ce.select("rect").call(c.setRect,le,le,Pe,Ke),K.call(c.setRect,J/2,J/2,ze-J,Fe-J),he.call(c.setTranslate,Math.round(j.x.text-ze/2),Math.round(j.y.text-Fe/2)),X.attr({transform:"rotate("+G+","+j.x.text+","+j.y.text+")"});var or=function(Ir,yr){W.selectAll(".annotation-arrow-g").remove();var At=j.x.head,mt=j.y.head,Mt=j.x.tail+Ir,Pt=j.y.tail+yr,Ht=j.x.text+Ir,Ut=j.y.text+yr,Zt=S.rotationXYMatrix(G,Ht,Ut),Xt=S.apply2DTransform(Zt),sr=S.apply2DTransform2(Zt),Sr=+K.attr("width"),wr=+K.attr("height"),Tr=Ht-.5*Sr,Ze=Tr+Sr,Xe=Ut-.5*wr,Wt=Xe+wr,jt=[[Tr,Xe,Tr,Wt],[Tr,Wt,Ze,Wt],[Ze,Wt,Ze,Xe],[Ze,Xe,Tr,Xe]].map(sr);if(!jt.reduce(function(Xr,Bn){return Xr^!!S.segmentsIntersect(At,mt,At+1e6,mt+1e6,Bn[0],Bn[1],Bn[2],Bn[3])},!1)){jt.forEach(function(Xr){var Bn=S.segmentsIntersect(Mt,Pt,At,mt,Xr[0],Xr[1],Xr[2],Xr[3]);Bn&&(Mt=Bn.x,Pt=Bn.y)});var ar=k.arrowwidth,mr=k.arrowcolor,br=k.arrowside,fr=W.append("g").style({opacity:_.opacity(mr)}).classed("annotation-arrow-g",!0),Kt=fr.append("path").attr("d","M"+Mt+","+Pt+"L"+At+","+mt).style("stroke-width",ar+"px").call(_.stroke,_.rgb(mr));if(y(Kt,br,k),T.annotationPosition&&Kt.node().parentNode&&!I){var kr=At,Rr=mt;if(k.standoff){var Lr=Math.sqrt(Math.pow(At-Mt,2)+Math.pow(mt-Pt,2));kr+=k.standoff*(Mt-At)/Lr,Rr+=k.standoff*(Pt-mt)/Lr}var Ar=fr.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Mt-kr)+","+(Pt-Rr),transform:g(kr,Rr)}).style("stroke-width",ar+6+"px").call(_.stroke,"rgba(0,0,0,0)").call(_.fill,"rgba(0,0,0,0)"),ln,Kr;b.init({element:Ar.node(),gd:E,prepFn:function(){var Xr=c.getTranslate(he);ln=Xr.x,Kr=Xr.y,P&&P.autorange&&B(P._name+".autorange",!0),M&&M.autorange&&B(M._name+".autorange",!0)},moveFn:function(Xr,Bn){var An=Xt(ln,Kr),ta=An[0]+Xr,ra=An[1]+Bn;he.call(c.setTranslate,ta,ra),Y("x",R(P,Xr,"x",N,k)),Y("y",R(M,Bn,"y",N,k)),k.axref===k.xref&&Y("ax",R(P,Xr,"ax",N,k)),k.ayref===k.yref&&Y("ay",R(M,Bn,"ay",N,k)),fr.attr("transform",g(Xr,Bn)),X.attr({transform:"rotate("+G+","+ta+","+ra+")"})},doneFn:function(){v.call("_guiRelayout",E,z());var Xr=document.querySelector(".js-notes-box-panel");Xr&&Xr.redraw(Xr.selectedObj)}})}}};if(k.showarrow&&or(0,0),Q){var ur;b.init({element:he.node(),gd:E,prepFn:function(){ur=X.attr("transform")},moveFn:function(Ir,yr){var At="pointer";if(k.showarrow)k.axref===k.xref?Y("ax",R(P,Ir,"ax",N,k)):Y("ax",k.ax+Ir),k.ayref===k.yref?Y("ay",R(M,yr,"ay",N.w,k)):Y("ay",k.ay+yr),or(Ir,yr);else{if(I)return;var mt,Mt;if(P)mt=R(P,Ir,"x",N,k);else{var Pt=k._xsize/N.w,Ht=k.x+(k._xshift-k.xshift)/N.w-Pt/2;mt=b.align(Ht+Ir/N.w,Pt,0,1,k.xanchor)}if(M)Mt=R(M,yr,"y",N,k);else{var Ut=k._ysize/N.h,Zt=k.y-(k._yshift+k.yshift)/N.h-Ut/2;Mt=b.align(Zt-yr/N.h,Ut,0,1,k.yanchor)}Y("x",mt),Y("y",Mt),(!P||!M)&&(At=b.getCursor(P?.5:mt,M?.5:Mt,k.xanchor,k.yanchor))}X.attr({transform:g(Ir,yr)+ur}),f(he,At)},clickFn:function(Ir,yr){k.captureevents&&E.emit("plotly_clickannotation",ie(yr))},doneFn:function(){f(he),v.call("_guiRelayout",E,z());var Ir=document.querySelector(".js-notes-box-panel");Ir&&Ir.redraw(Ir.selectedObj)}})}}T.annotationText?de.call(d.makeEditable,{delegate:he,gd:E}).call(oe).on("edit",function(me){k.text=me,this.call(oe),Y("text",me),P&&P.autorange&&B(P._name+".autorange",!0),M&&M.autorange&&B(M._name+".autorange",!0),v.call("_guiRelayout",E,z())}):de.call(oe)}},33652:function(u,h,a){var l=a(33428),v=a(76308),i=a(72196),S=a(3400),g=S.strScale,p=S.strRotate,_=S.strTranslate;u.exports=function(s,d,f){var b=s.node(),x=i[f.arrowhead||0],y=i[f.startarrowhead||0],C=(f.arrowwidth||1)*(f.arrowsize||1),w=(f.arrowwidth||1)*(f.startarrowsize||1),R=d.indexOf("start")>=0,A=d.indexOf("end")>=0,E=x.backoff*C+f.standoff,k=y.backoff*w+f.startstandoff,L,I,P,M;if(b.nodeName==="line"){L={x:+s.attr("x1"),y:+s.attr("y1")},I={x:+s.attr("x2"),y:+s.attr("y2")};var F=L.x-I.x,N=L.y-I.y;if(P=Math.atan2(N,F),M=P+Math.PI,E&&k&&E+k>Math.sqrt(F*F+N*N)){X();return}if(E){if(E*E>F*F+N*N){X();return}var T=E*Math.cos(P),D=E*Math.sin(P);I.x+=T,I.y+=D,s.attr({x2:I.x,y2:I.y})}if(k){if(k*k>F*F+N*N){X();return}var O=k*Math.cos(P),U=k*Math.sin(P);L.x-=O,L.y-=U,s.attr({x1:L.x,y1:L.y})}}else if(b.nodeName==="path"){var B=b.getTotalLength(),Y="";if(B<E+k){X();return}var z=b.getPointAtLength(0),V=b.getPointAtLength(.1);P=Math.atan2(z.y-V.y,z.x-V.x),L=b.getPointAtLength(Math.min(k,B)),Y="0px,"+k+"px,";var j=b.getPointAtLength(B),G=b.getPointAtLength(B-.1);M=Math.atan2(j.y-G.y,j.x-G.x),I=b.getPointAtLength(Math.max(0,B-E));var W=Y?k+E:E;Y+=B-W+"px,"+B+"px",s.style("stroke-dasharray",Y)}function X(){s.style("stroke-dasharray","0px,100px")}function Q(ae,ie,he,J){ae.path&&(ae.noRotate&&(he=0),l.select(b.parentNode).append("path").attr({class:s.attr("class"),d:ae.path,transform:_(ie.x,ie.y)+p(he*180/Math.PI)+g(J)}).style({fill:v.rgb(f.arrowcolor),"stroke-width":0}))}R&&Q(y,L,P,w),A&&Q(x,I,M,C)}},79180:function(u,h,a){var l=a(23816),v=a(42300);u.exports={moduleType:"component",name:"annotations",layoutAttributes:a(13916),supplyLayoutDefaults:a(45216),includeBasePlot:a(36632)("annotations"),calcAutorange:a(90272),draw:l.draw,drawOne:l.drawOne,drawRaw:l.drawRaw,hasClickToShow:v.hasClickToShow,onClick:v.onClick,convertCoords:a(26828)}},45899:function(u,h,a){var l=a(13916),v=a(67824).overrideAll,i=a(31780).templatedArray;u.exports=v(i("annotation",{visible:l.visible,x:{valType:"any"},y:{valType:"any"},z:{valType:"any"},ax:{valType:"number"},ay:{valType:"number"},xanchor:l.xanchor,xshift:l.xshift,yanchor:l.yanchor,yshift:l.yshift,text:l.text,textangle:l.textangle,font:l.font,width:l.width,height:l.height,opacity:l.opacity,align:l.align,valign:l.valign,bgcolor:l.bgcolor,bordercolor:l.bordercolor,borderpad:l.borderpad,borderwidth:l.borderwidth,showarrow:l.showarrow,arrowcolor:l.arrowcolor,arrowhead:l.arrowhead,startarrowhead:l.startarrowhead,arrowside:l.arrowside,arrowsize:l.arrowsize,startarrowsize:l.startarrowsize,arrowwidth:l.arrowwidth,standoff:l.standoff,startstandoff:l.startstandoff,hovertext:l.hovertext,hoverlabel:l.hoverlabel,captureevents:l.captureevents}),"calc","from-root")},42456:function(u,h,a){var l=a(3400),v=a(54460);u.exports=function(g){for(var p=g.fullSceneLayout,_=p.annotations,c=0;c<_.length;c++)i(_[c],g);g.fullLayout._infolayer.selectAll(".annotation-"+g.id).remove()};function i(S,g){var p=g.fullSceneLayout,_=p.domain,c=g.fullLayout._size,s={pdata:null,type:"linear",autorange:!1,range:[-1/0,1/0]};S._xa={},l.extendFlat(S._xa,s),v.setConvert(S._xa),S._xa._offset=c.l+_.x[0]*c.w,S._xa.l2p=function(){return .5*(1+S._pdata[0]/S._pdata[3])*c.w*(_.x[1]-_.x[0])},S._ya={},l.extendFlat(S._ya,s),v.setConvert(S._ya),S._ya._offset=c.t+(1-_.y[1])*c.h,S._ya.l2p=function(){return .5*(1-S._pdata[1]/S._pdata[3])*c.h*(_.y[1]-_.y[0])}}},52808:function(u,h,a){var l=a(3400),v=a(54460),i=a(51272),S=a(87192),g=a(45899);u.exports=function(c,s,d){i(c,s,{name:"annotations",handleItemDefaults:p,fullLayout:d.fullLayout})};function p(_,c,s,d){function f(y,C){return l.coerce(_,c,g,y,C)}function b(y){var C=y+"axis",w={_fullLayout:{}};return w._fullLayout[C]=s[C],v.coercePosition(c,w,f,y,y,.5)}var x=f("visible");x&&(S(_,c,d.fullLayout,f),b("x"),b("y"),b("z"),l.noneOrAll(_,c,["x","y","z"]),c.xref="x",c.yref="y",c.zref="z",f("xanchor"),f("yanchor"),f("xshift"),f("yshift"),c.showarrow&&(c.axref="pixel",c.ayref="pixel",f("ax",-10),f("ay",-30),l.noneOrAll(_,c,["ax","ay"])))}},71836:function(u,h,a){var l=a(23816).drawRaw,v=a(94424),i=["x","y","z"];u.exports=function(g){for(var p=g.fullSceneLayout,_=g.dataScale,c=p.annotations,s=0;s<c.length;s++){for(var d=c[s],f=!1,b=0;b<3;b++){var x=i[b],y=d[x],C=p[x+"axis"],w=C.r2fraction(y);if(w<0||w>1){f=!0;break}}f?g.fullLayout._infolayer.select(".annotation-"+g.id+'[data-index="'+s+'"]').remove():(d._pdata=v(g.glplot.cameraParams,[p.xaxis.r2l(d.x)*_[0],p.yaxis.r2l(d.y)*_[1],p.zaxis.r2l(d.z)*_[2]]),l(g.graphDiv,d,s,g.id,d._xa,d._ya))}}},56864:function(u,h,a){var l=a(24040),v=a(3400);u.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:a(45899)}}},layoutAttributes:a(45899),handleDefaults:a(52808),includeBasePlot:i,convert:a(42456),draw:a(71836)};function i(S,g){var p=l.subplotsRegistry.gl3d;if(p)for(var _=p.attrRegex,c=Object.keys(S),s=0;s<c.length;s++){var d=c[s];_.test(d)&&(S[d].annotations||[]).length&&(v.pushUnique(g._basePlotModules,p),v.pushUnique(g._subplots.gl3d,d))}}},54976:function(u,h,a){u.exports=a(38700),a(15168),a(67020),a(89792),a(55668),a(65168),a(2084),a(26368),a(24747),a(65616),a(30632),a(73040),a(1104),a(51456),a(4592),a(45348)},97776:function(u,h,a){var l=a(54976),v=a(3400),i=a(39032),S=i.EPOCHJD,g=i.ONEDAY,p={valType:"enumerated",values:v.sortObjectKeys(l.calendars),editType:"calc",dflt:"gregorian"},_=function(P,M,F,N){var T={};return T[F]=p,v.coerce(P,M,T,F,N)},c=function(P,M,F,N){for(var T=0;T<F.length;T++)_(P,M,F[T]+"calendar",N.calendar)},s={chinese:"2000-01-01",coptic:"2000-01-01",discworld:"2000-01-01",ethiopian:"2000-01-01",hebrew:"5000-01-01",islamic:"1000-01-01",julian:"2000-01-01",mayan:"5000-01-01",nanakshahi:"1000-01-01",nepali:"2000-01-01",persian:"1000-01-01",jalali:"1000-01-01",taiwan:"1000-01-01",thai:"2000-01-01",ummalqura:"1400-01-01"},d={chinese:"2000-01-02",coptic:"2000-01-03",discworld:"2000-01-03",ethiopian:"2000-01-05",hebrew:"5000-01-01",islamic:"1000-01-02",julian:"2000-01-03",mayan:"5000-01-01",nanakshahi:"1000-01-05",nepali:"2000-01-05",persian:"1000-01-01",jalali:"1000-01-01",taiwan:"1000-01-04",thai:"2000-01-04",ummalqura:"1400-01-06"},f={chinese:["2000-01-01","2001-01-01"],coptic:["1700-01-01","1701-01-01"],discworld:["1800-01-01","1801-01-01"],ethiopian:["2000-01-01","2001-01-01"],hebrew:["5700-01-01","5701-01-01"],islamic:["1400-01-01","1401-01-01"],julian:["2000-01-01","2001-01-01"],mayan:["5200-01-01","5201-01-01"],nanakshahi:["0500-01-01","0501-01-01"],nepali:["2000-01-01","2001-01-01"],persian:["1400-01-01","1401-01-01"],jalali:["1400-01-01","1401-01-01"],taiwan:["0100-01-01","0101-01-01"],thai:["2500-01-01","2501-01-01"],ummalqura:["1400-01-01","1401-01-01"]},b="##",x={d:{0:"dd","-":"d"},e:{0:"d","-":"d"},a:{0:"D","-":"D"},A:{0:"DD","-":"DD"},j:{0:"oo","-":"o"},W:{0:"ww","-":"w"},m:{0:"mm","-":"m"},b:{0:"M","-":"M"},B:{0:"MM","-":"MM"},y:{0:"yy","-":"yy"},Y:{0:"yyyy","-":"yyyy"},U:b,w:b,c:{0:"D M d %X yyyy","-":"D M d %X yyyy"},x:{0:"mm/dd/yyyy","-":"mm/dd/yyyy"}};function y(P,M,F){for(var N=Math.floor((M+.05)/g)+S,T=w(F).fromJD(N),D=0,O,U,B,Y,z;(D=P.indexOf("%",D))!==-1;)O=P.charAt(D+1),O==="0"||O==="-"||O==="_"?(B=3,U=P.charAt(D+2),O==="_"&&(O="-")):(U=O,O="0",B=2),Y=x[U],Y?(Y===b?z=b:z=T.formatDate(Y[O]),P=P.substr(0,D)+z+P.substr(D+B),D+=z.length):D+=B;return P}var C={};function w(P){var M=C[P];return M||(M=C[P]=l.instance(P),M)}function R(P){return v.extendFlat({},p,{description:P})}function A(P){return"Sets the calendar system to use with `"+P+"` date data."}var E={xcalendar:R(A("x"))},k=v.extendFlat({},E,{ycalendar:R(A("y"))}),L=v.extendFlat({},k,{zcalendar:R(A("z"))}),I=R(["Sets the calendar system to use for `range` and `tick0`","if this is a date axis. This does not set the calendar for","interpreting data on this axis, that's specified in the trace","or via the global `layout.calendar`"].join(" "));u.exports={moduleType:"component",name:"calendars",schema:{traces:{scatter:k,bar:k,box:k,heatmap:k,contour:k,histogram:k,histogram2d:k,histogram2dcontour:k,scatter3d:L,surface:L,mesh3d:L,scattergl:k,ohlc:E,candlestick:E},layout:{calendar:R(["Sets the default calendar system to use for interpreting and","displaying dates throughout the plot."].join(" "))},subplots:{xaxis:{calendar:I},yaxis:{calendar:I},scene:{xaxis:{calendar:I},yaxis:{calendar:I},zaxis:{calendar:I}},polar:{radialaxis:{calendar:I}}},transforms:{filter:{valuecalendar:R(["WARNING: All transforms are deprecated and may be removed from the API in next major version.","Sets the calendar system to use for `value`, if it is a date."].join(" ")),targetcalendar:R(["WARNING: All transforms are deprecated and may be removed from the API in next major version.","Sets the calendar system to use for `target`, if it is an","array of dates. If `target` is a string (eg *x*) we use the","corresponding trace attribute (eg `xcalendar`) if it exists,","even if `targetcalendar` is provided."].join(" "))}}},layoutAttributes:p,handleDefaults:_,handleTraceDefaults:c,CANONICAL_SUNDAY:d,CANONICAL_TICK:s,DFLTRANGE:f,getCal:w,worldCalFmt:y}},22548:function(u,h){h.defaults=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],h.defaultLine="#444",h.lightLine="#eee",h.background="#fff",h.borderLine="#BEC8D9",h.lightFraction=90.9090909090909},76308:function(u,h,a){var l=a(49760),v=a(38248),i=a(38116).isTypedArray,S=u.exports={},g=a(22548);S.defaults=g.defaults;var p=S.defaultLine=g.defaultLine;S.lightLine=g.lightLine;var _=S.background=g.background;S.tinyRGB=function(s){var d=s.toRgb();return"rgb("+Math.round(d.r)+", "+Math.round(d.g)+", "+Math.round(d.b)+")"},S.rgb=function(s){return S.tinyRGB(l(s))},S.opacity=function(s){return s?l(s).getAlpha():0},S.addOpacity=function(s,d){var f=l(s).toRgb();return"rgba("+Math.round(f.r)+", "+Math.round(f.g)+", "+Math.round(f.b)+", "+d+")"},S.combine=function(s,d){var f=l(s).toRgb();if(f.a===1)return l(s).toRgbString();var b=l(d||_).toRgb(),x=b.a===1?b:{r:255*(1-b.a)+b.r*b.a,g:255*(1-b.a)+b.g*b.a,b:255*(1-b.a)+b.b*b.a},y={r:x.r*(1-f.a)+f.r*f.a,g:x.g*(1-f.a)+f.g*f.a,b:x.b*(1-f.a)+f.b*f.a};return l(y).toRgbString()},S.interpolate=function(s,d,f){var b=l(s).toRgb(),x=l(d).toRgb(),y={r:f*b.r+(1-f)*x.r,g:f*b.g+(1-f)*x.g,b:f*b.b+(1-f)*x.b};return l(y).toRgbString()},S.contrast=function(s,d,f){var b=l(s);b.getAlpha()!==1&&(b=l(S.combine(s,_)));var x=b.isDark()?d?b.lighten(d):_:f?b.darken(f):p;return x.toString()},S.stroke=function(s,d){var f=l(d);s.style({stroke:S.tinyRGB(f),"stroke-opacity":f.getAlpha()})},S.fill=function(s,d){var f=l(d);s.style({fill:S.tinyRGB(f),"fill-opacity":f.getAlpha()})},S.clean=function(s){if(!(!s||typeof s!="object")){var d=Object.keys(s),f,b,x,y;for(f=0;f<d.length;f++)if(x=d[f],y=s[x],x.substr(x.length-5)==="color")if(Array.isArray(y))for(b=0;b<y.length;b++)y[b]=c(y[b]);else s[x]=c(y);else if(x.substr(x.length-10)==="colorscale"&&Array.isArray(y))for(b=0;b<y.length;b++)Array.isArray(y[b])&&(y[b][1]=c(y[b][1]));else if(Array.isArray(y)){var C=y[0];if(!Array.isArray(C)&&C&&typeof C=="object")for(b=0;b<y.length;b++)S.clean(y[b])}else y&&typeof y=="object"&&!i(y)&&S.clean(y)}};function c(s){if(v(s)||typeof s!="string")return s;var d=s.trim();if(d.substr(0,3)!=="rgb")return s;var f=d.match(/^rgba?\s*\(([^()]*)\)$/);if(!f)return s;var b=f[1].trim().split(/\s*[\s,]\s*/),x=d.charAt(3)==="a"&&b.length===4;if(!x&&b.length!==3)return s;for(var y=0;y<b.length;y++){if(!b[y].length||(b[y]=Number(b[y]),!(b[y]>=0)))return s;if(y===3)b[y]>1&&(b[y]=1);else if(b[y]>=1)return s}var C=Math.round(b[0]*255)+", "+Math.round(b[1]*255)+", "+Math.round(b[2]*255);return x?"rgba("+C+", "+b[3]+")":"rgb("+C+")"}},42996:function(u,h,a){var l=a(94724),v=a(25376),i=a(92880).extendFlat,S=a(67824).overrideAll;u.exports=S({orientation:{valType:"enumerated",values:["h","v"],dflt:"v"},thicknessmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"pixels"},thickness:{valType:"number",min:0,dflt:30},lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number"},xref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},xanchor:{valType:"enumerated",values:["left","center","right"]},xpad:{valType:"number",min:0,dflt:10},y:{valType:"number"},yref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},yanchor:{valType:"enumerated",values:["top","middle","bottom"]},ypad:{valType:"number",min:0,dflt:10},outlinecolor:l.linecolor,outlinewidth:l.linewidth,bordercolor:l.linecolor,borderwidth:{valType:"number",min:0,dflt:0},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)"},tickmode:l.minor.tickmode,nticks:l.nticks,tick0:l.tick0,dtick:l.dtick,tickvals:l.tickvals,ticktext:l.ticktext,ticks:i({},l.ticks,{dflt:""}),ticklabeloverflow:i({},l.ticklabeloverflow,{}),ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside"},ticklen:l.ticklen,tickwidth:l.tickwidth,tickcolor:l.tickcolor,ticklabelstep:l.ticklabelstep,showticklabels:l.showticklabels,labelalias:l.labelalias,tickfont:v({}),tickangle:l.tickangle,tickformat:l.tickformat,tickformatstops:l.tickformatstops,tickprefix:l.tickprefix,showtickprefix:l.showtickprefix,ticksuffix:l.ticksuffix,showticksuffix:l.showticksuffix,separatethousands:l.separatethousands,exponentformat:l.exponentformat,minexponent:l.minexponent,showexponent:l.showexponent,title:{text:{valType:"string"},font:v({}),side:{valType:"enumerated",values:["right","top","bottom"]}},_deprecated:{title:{valType:"string"},titlefont:v({}),titleside:{valType:"enumerated",values:["right","top","bottom"],dflt:"top"}}},"colorbars","from-root")},63964:function(u){u.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}},64013:function(u,h,a){var l=a(3400),v=a(31780),i=a(26332),S=a(25404),g=a(95936),p=a(42568),_=a(42996);u.exports=function(s,d,f){var b=v.newContainer(d,"colorbar"),x=s.colorbar||{};function y(j,G){return l.coerce(x,b,_,j,G)}var C=f.margin||{t:0,b:0,l:0,r:0},w=f.width-C.l-C.r,R=f.height-C.t-C.b,A=y("orientation"),E=A==="v",k=y("thicknessmode");y("thickness",k==="fraction"?30/(E?w:R):30);var L=y("lenmode");y("len",L==="fraction"?1:E?R:w);var I=y("yref"),P=y("xref"),M=I==="paper",F=P==="paper",N,T,D,O="left";E?(D="middle",O=F?"left":"right",N=F?1.02:1,T=.5):(D=M?"bottom":"top",O="center",N=.5,T=M?1.02:1),l.coerce(x,b,{x:{valType:"number",min:F?-2:0,max:F?3:1,dflt:N}},"x"),l.coerce(x,b,{y:{valType:"number",min:M?-2:0,max:M?3:1,dflt:T}},"y"),y("xanchor",O),y("xpad"),y("yanchor",D),y("ypad"),l.noneOrAll(x,b,["x","y"]),y("outlinecolor"),y("outlinewidth"),y("bordercolor"),y("borderwidth"),y("bgcolor");var U=l.coerce(x,b,{ticklabelposition:{valType:"enumerated",dflt:"outside",values:E?["outside","inside","outside top","inside top","outside bottom","inside bottom"]:["outside","inside","outside left","inside left","outside right","inside right"]}},"ticklabelposition");y("ticklabeloverflow",U.indexOf("inside")!==-1?"hide past domain":"hide past div"),i(x,b,y,"linear");var B=f.font,Y={noAutotickangles:!0,outerTicks:!1,font:B};U.indexOf("inside")!==-1&&(Y.bgColor="black"),p(x,b,y,"linear",Y),g(x,b,y,"linear",Y),S(x,b,y,"linear",Y),y("title.text",f._dfltTitle.colorbar);var z=b.showticklabels?b.tickfont:B,V=l.extendFlat({},z,{color:B.color,size:l.bigFont(z.size)});l.coerceFont(y,"title.font",V),y("title.side",E?"top":"right")}},37848:function(u,h,a){var l=a(33428),v=a(49760),i=a(7316),S=a(24040),g=a(54460),p=a(86476),_=a(3400),c=_.strTranslate,s=a(92880).extendFlat,d=a(93972),f=a(43616),b=a(76308),x=a(81668),y=a(72736),C=a(94288).flipScale,w=a(28336),R=a(37668),A=a(94724),E=a(84284),k=E.LINE_SPACING,L=E.FROM_TL,I=E.FROM_BR,P=a(63964).cn;function M(U){var B=U._fullLayout,Y=B._infolayer.selectAll("g."+P.colorbar).data(F(U),function(z){return z._id});Y.enter().append("g").attr("class",function(z){return z._id}).classed(P.colorbar,!0),Y.each(function(z){var V=l.select(this);_.ensureSingle(V,"rect",P.cbbg),_.ensureSingle(V,"g",P.cbfills),_.ensureSingle(V,"g",P.cblines),_.ensureSingle(V,"g",P.cbaxis,function(G){G.classed(P.crisp,!0)}),_.ensureSingle(V,"g",P.cbtitleunshift,function(G){G.append("g").classed(P.cbtitle,!0)}),_.ensureSingle(V,"rect",P.cboutline);var j=N(V,z,U);j&&j.then&&(U._promises||[]).push(j),U._context.edits.colorbarPosition&&T(V,z,U)}),Y.exit().each(function(z){i.autoMargin(U,z._id)}).remove(),Y.order()}function F(U){var B=U._fullLayout,Y=U.calcdata,z=[],V,j,G,W;function X(re){return s(re,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function Q(){typeof W.calc=="function"?W.calc(U,G,V):(V._fillgradient=j.reversescale?C(j.colorscale):j.colorscale,V._zrange=[j[W.min],j[W.max]])}for(var ae=0;ae<Y.length;ae++){var ie=Y[ae];if(G=ie[0].trace,!!G._module){var he=G._module.colorbar;if(G.visible===!0&&he)for(var J=Array.isArray(he),Z=J?he:[he],le=0;le<Z.length;le++){W=Z[le];var K=W.container;j=K?G[K]:G,j&&j.showscale&&(V=X(j.colorbar),V._id="cb"+G.uid+(J&&K?"-"+K:""),V._traceIndex=G.index,V._propPrefix=(K?K+".":"")+"colorbar.",V._meta=G._meta,Q(),z.push(V))}}}for(var te in B._colorAxes)if(j=B[te],j.showscale){var ce=B._colorAxes[te];V=X(j.colorbar),V._id="cb"+te,V._propPrefix=te+".colorbar.",V._meta=B._meta,W={min:"cmin",max:"cmax"},ce[0]!=="heatmap"&&(G=ce[1],W.calc=G._module.colorbar.calc),Q(),z.push(V)}return z}function N(U,B,Y){var z=B.orientation==="v",V=B.len,j=B.lenmode,G=B.thickness,W=B.thicknessmode,X=B.outlinewidth,Q=B.borderwidth,ae=B.bgcolor,ie=B.xanchor,he=B.yanchor,J=B.xpad,Z=B.ypad,le=B.x,K=z?B.y:1-B.y,te=B.yref==="paper",ce=B.xref==="paper",re=Y._fullLayout,ee=re._size,de=B._fillcolor,oe=B._line,fe=B.title,me=fe.side,Te=B._zrange||l.extent((typeof de=="function"?de:oe.color).domain()),we=typeof oe.color=="function"?oe.color:function(){return oe.color},Be=typeof de=="function"?de:function(){return de},Ae=B._levels,Re=D(Y,B,Te),be=Re.fill,Pe=Re.line,Ke=Math.round(G*(W==="fraction"?z?ee.w:ee.h:1)),ze=Ke/(z?ee.w:ee.h),Fe=Math.round(V*(j==="fraction"?z?ee.h:ee.w:1)),We=Fe/(z?ee.h:ee.w),lt=ce?ee.w:Y._fullLayout.width,ht=te?ee.h:Y._fullLayout.height,tt=Math.round(z?le*lt+J:K*ht+Z),et={center:.5,right:1}[ie]||0,pt={top:1,middle:.5}[he]||0,vt=z?le-et*ze:K-pt*ze,_t=z?K-pt*We:le-et*We,bt=Math.round(z?ht*(1-_t):lt*_t);B._lenFrac=We,B._thickFrac=ze,B._uFrac=vt,B._vFrac=_t;var Rt=B._axis=O(Y,B,Te);Rt.position=ze+(z?le+J/ee.w:K+Z/ee.h);var ct=["top","bottom"].indexOf(me)!==-1;if(z&&ct&&(Rt.title.side=me,Rt.titlex=le+J/ee.w,Rt.titley=_t+(fe.side==="top"?We-Z/ee.h:Z/ee.h)),!z&&!ct&&(Rt.title.side=me,Rt.titley=K+Z/ee.h,Rt.titlex=_t+J/ee.w),oe.color&&B.tickmode==="auto"){Rt.tickmode="linear",Rt.tick0=Ae.start;var Ve=Ae.size,Qe=_.constrain(Fe/50,4,15)+1,rt=(Te[1]-Te[0])/((B.nticks||Qe)*Ve);if(rt>1){var qe=Math.pow(10,Math.floor(Math.log(rt)/Math.LN10));Ve*=qe*_.roundUp(rt/qe,[2,5,10]),(Math.abs(Ae.start)/Ae.size+1e-6)%1<2e-6&&(Rt.tick0=0)}Rt.dtick=Ve}Rt.domain=z?[_t+Z/ee.h,_t+We-Z/ee.h]:[_t+J/ee.w,_t+We-J/ee.w],Rt.setScale(),U.attr("transform",c(Math.round(ee.l),Math.round(ee.t)));var He=U.select("."+P.cbtitleunshift).attr("transform",c(-Math.round(ee.l),-Math.round(ee.t))),Ce=Rt.ticklabelposition,Se=Rt.title.font.size,Le=U.select("."+P.cbaxis),Ne,je=0,Je=0;function ut(It,Gt){var cr={propContainer:Rt,propName:B._propPrefix+"title",traceIndex:B._traceIndex,_meta:B._meta,placeholder:re._dfltTitle.colorbar,containerGroup:U.select("."+P.cbtitle)},Pr=It.charAt(0)==="h"?It.substr(1):"h"+It;U.selectAll("."+Pr+",."+Pr+"-math-group").remove(),x.draw(Y,It,s(cr,Gt||{}))}function Et(){if(z&&ct||!z&&!ct){var It,Gt;me==="top"&&(It=J+ee.l+lt*le,Gt=Z+ee.t+ht*(1-_t-We)+3+Se*.75),me==="bottom"&&(It=J+ee.l+lt*le,Gt=Z+ee.t+ht*(1-_t)-3-Se*.25),me==="right"&&(Gt=Z+ee.t+ht*K+3+Se*.75,It=J+ee.l+lt*_t),ut(Rt._id+"title",{attributes:{x:It,y:Gt,"text-anchor":z?"start":"middle"}})}}function wt(){if(z&&!ct||!z&&ct){var It=Rt.position||0,Gt=Rt._offset+Rt._length/2,cr,Pr;if(me==="right")Pr=Gt,cr=ee.l+lt*It+10+Se*(Rt.showticklabels?1:.5);else if(cr=Gt,me==="bottom"&&(Pr=ee.t+ht*It+10+(Ce.indexOf("inside")===-1?Rt.tickfont.size:0)+(Rt.ticks!=="intside"&&B.ticklen||0)),me==="top"){var Ct=fe.text.split("<br>").length;Pr=ee.t+ht*It+10-Ke-k*Se*Ct}ut((z?"h":"v")+Rt._id+"title",{avoid:{selection:l.select(Y).selectAll("g."+Rt._id+"tick"),side:me,offsetTop:z?0:ee.t,offsetLeft:z?ee.l:0,maxShift:z?re.width:re.height},attributes:{x:cr,y:Pr,"text-anchor":"middle"},transform:{rotate:z?-90:0,offset:0}})}}function nr(){if(!z&&!ct||z&&ct){var It=U.select("."+P.cbtitle),Gt=It.select("text"),cr=[-X/2,X/2],Pr=It.select(".h"+Rt._id+"title-math-group").node(),Ct=15.6;Gt.node()&&(Ct=parseInt(Gt.node().style.fontSize,10)*k);var or;if(Pr?(or=f.bBox(Pr),Je=or.width,je=or.height,je>Ct&&(cr[1]-=(je-Ct)/2)):Gt.node()&&!Gt.classed(P.jsPlaceholder)&&(or=f.bBox(Gt.node()),Je=or.width,je=or.height),z){if(je){if(je+=5,me==="top")Rt.domain[1]-=je/ee.h,cr[1]*=-1;else{Rt.domain[0]+=je/ee.h;var ur=y.lineCount(Gt);cr[1]+=(1-ur)*Ct}It.attr("transform",c(cr[0],cr[1])),Rt.setScale()}}else Je&&(me==="right"&&(Rt.domain[0]+=(Je+Se/2)/ee.w),It.attr("transform",c(cr[0],cr[1])),Rt.setScale())}U.selectAll("."+P.cbfills+",."+P.cblines).attr("transform",z?c(0,Math.round(ee.h*(1-Rt.domain[1]))):c(Math.round(ee.w*Rt.domain[0]),0)),Le.attr("transform",z?c(0,Math.round(-ee.t)):c(Math.round(-ee.l),0));var Ir=U.select("."+P.cbfills).selectAll("rect."+P.cbfill).attr("style","").data(be);Ir.enter().append("rect").classed(P.cbfill,!0).attr("style",""),Ir.exit().remove();var yr=Te.map(Rt.c2p).map(Math.round).sort(function(Ht,Ut){return Ht-Ut});Ir.each(function(Ht,Ut){var Zt=[Ut===0?Te[0]:(be[Ut]+be[Ut-1])/2,Ut===be.length-1?Te[1]:(be[Ut]+be[Ut+1])/2].map(Rt.c2p).map(Math.round);z&&(Zt[1]=_.constrain(Zt[1]+(Zt[1]>Zt[0])?1:-1,yr[0],yr[1]));var Xt=l.select(this).attr(z?"x":"y",tt).attr(z?"y":"x",l.min(Zt)).attr(z?"width":"height",Math.max(Ke,2)).attr(z?"height":"width",Math.max(l.max(Zt)-l.min(Zt),2));if(B._fillgradient)f.gradient(Xt,Y,B._id,z?"vertical":"horizontalreversed",B._fillgradient,"fill");else{var sr=Be(Ht).replace("e-","");Xt.attr("fill",v(sr).toHexString())}});var At=U.select("."+P.cblines).selectAll("path."+P.cbline).data(oe.color&&oe.width?Pe:[]);At.enter().append("path").classed(P.cbline,!0),At.exit().remove(),At.each(function(Ht){var Ut=tt,Zt=Math.round(Rt.c2p(Ht))+oe.width/2%1;l.select(this).attr("d","M"+(z?Ut+","+Zt:Zt+","+Ut)+(z?"h":"v")+Ke).call(f.lineGroupStyle,oe.width,we(Ht),oe.dash)}),Le.selectAll("g."+Rt._id+"tick,path").remove();var mt=tt+Ke+(X||0)/2-(B.ticks==="outside"?1:0),Mt=g.calcTicks(Rt),Pt=g.getTickSigns(Rt)[2];return g.drawTicks(Y,Rt,{vals:Rt.ticks==="inside"?g.clipEnds(Rt,Mt):Mt,layer:Le,path:g.makeTickPath(Rt,mt,Pt),transFn:g.makeTransTickFn(Rt)}),g.drawLabels(Y,Rt,{vals:Mt,layer:Le,transFn:g.makeTransTickLabelFn(Rt),labelFns:g.makeLabelFns(Rt,mt)})}function ir(){var It,Gt=Ke+X/2;Ce.indexOf("inside")===-1&&(It=f.bBox(Le.node()),Gt+=z?It.width:It.height),Ne=He.select("text");var cr=0,Pr=z&&me==="top",Ct=!z&&me==="right",or=0;if(Ne.node()&&!Ne.classed(P.jsPlaceholder)){var ur,Ir=He.select(".h"+Rt._id+"title-math-group").node();Ir&&(z&&ct||!z&&!ct)?(It=f.bBox(Ir),cr=It.width,ur=It.height):(It=f.bBox(He.node()),cr=It.right-ee.l-(z?tt:bt),ur=It.bottom-ee.t-(z?bt:tt),!z&&me==="top"&&(Gt+=It.height,or=It.height)),Ct&&(Ne.attr("transform",c(cr/2+Se/2,0)),cr*=2),Gt=Math.max(Gt,z?cr:ur)}var yr=(z?J:Z)*2+Gt+Q+X/2,At=0;!z&&fe.text&&he==="bottom"&&K<=0&&(At=yr/2,yr+=At,or+=At),re._hColorbarMoveTitle=At,re._hColorbarMoveCBTitle=or;var mt=Q+X,Mt=(z?tt:bt)-mt/2-(z?J:0),Pt=(z?bt:tt)-(z?Fe:Z+or-At);U.select("."+P.cbbg).attr("x",Mt).attr("y",Pt).attr(z?"width":"height",Math.max(yr-At,2)).attr(z?"height":"width",Math.max(Fe+mt,2)).call(b.fill,ae).call(b.stroke,B.bordercolor).style("stroke-width",Q);var Ht=Ct?Math.max(cr-10,0):0;U.selectAll("."+P.cboutline).attr("x",(z?tt:bt+J)+Ht).attr("y",(z?bt+Z-Fe:tt)+(Pr?je:0)).attr(z?"width":"height",Math.max(Ke,2)).attr(z?"height":"width",Math.max(Fe-(z?2*Z+je:2*J+Ht),2)).call(b.stroke,B.outlinecolor).style({fill:"none","stroke-width":X});var Ut=z?et*yr:0,Zt=z?0:(1-pt)*yr-or;if(Ut=ce?ee.l-Ut:-Ut,Zt=te?ee.t-Zt:-Zt,U.attr("transform",c(Ut,Zt)),!z&&(Q||v(ae).getAlpha()&&!v.equals(re.paper_bgcolor,ae))){var Xt=Le.selectAll("text"),sr=Xt[0].length,Sr=U.select("."+P.cbbg).node(),wr=f.bBox(Sr),Tr=f.getTranslate(U),Ze=2;Xt.each(function(Rr,Lr){var Ar=0,ln=sr-1;if(Lr===Ar||Lr===ln){var Kr=f.bBox(this),Xr=f.getTranslate(this),Bn;if(Lr===ln){var An=Kr.right+Xr.x,ta=wr.right+Tr.x+bt-Q-Ze+le;Bn=ta-An,Bn>0&&(Bn=0)}else if(Lr===Ar){var ra=Kr.left+Xr.x,Cr=wr.left+Tr.x+bt+Q+Ze;Bn=Cr-ra,Bn<0&&(Bn=0)}Bn&&(sr<3?this.setAttribute("transform","translate("+Bn+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var Xe={},Wt=L[ie],jt=I[ie],ar=L[he],mr=I[he],br=yr-Ke;z?(j==="pixels"?(Xe.y=K,Xe.t=Fe*ar,Xe.b=Fe*mr):(Xe.t=Xe.b=0,Xe.yt=K+V*ar,Xe.yb=K-V*mr),W==="pixels"?(Xe.x=le,Xe.l=yr*Wt,Xe.r=yr*jt):(Xe.l=br*Wt,Xe.r=br*jt,Xe.xl=le-G*Wt,Xe.xr=le+G*jt)):(j==="pixels"?(Xe.x=le,Xe.l=Fe*Wt,Xe.r=Fe*jt):(Xe.l=Xe.r=0,Xe.xl=le+V*Wt,Xe.xr=le-V*jt),W==="pixels"?(Xe.y=1-K,Xe.t=yr*ar,Xe.b=yr*mr):(Xe.t=br*ar,Xe.b=br*mr,Xe.yt=K-G*ar,Xe.yb=K+G*mr));var fr=B.y<.5?"b":"t",Kt=B.x<.5?"l":"r";Y._fullLayout._reservedMargin[B._id]={};var kr={r:re.width-Mt-Ut,l:Mt+Xe.r,b:re.height-Pt-Zt,t:Pt+Xe.b};ce&&te?i.autoMargin(Y,B._id,Xe):ce?Y._fullLayout._reservedMargin[B._id][fr]=kr[fr]:te||z?Y._fullLayout._reservedMargin[B._id][Kt]=kr[Kt]:Y._fullLayout._reservedMargin[B._id][fr]=kr[fr]}return _.syncOrAsync([i.previousPromises,Et,nr,wt,i.previousPromises,ir],Y)}function T(U,B,Y){var z=B.orientation==="v",V=Y._fullLayout,j=V._size,G,W,X;p.init({element:U.node(),gd:Y,prepFn:function(){G=U.attr("transform"),d(U)},moveFn:function(Q,ae){U.attr("transform",G+c(Q,ae)),W=p.align((z?B._uFrac:B._vFrac)+Q/j.w,z?B._thickFrac:B._lenFrac,0,1,B.xanchor),X=p.align((z?B._vFrac:1-B._uFrac)-ae/j.h,z?B._lenFrac:B._thickFrac,0,1,B.yanchor);var ie=p.getCursor(W,X,B.xanchor,B.yanchor);d(U,ie)},doneFn:function(){if(d(U),W!==void 0&&X!==void 0){var Q={};Q[B._propPrefix+"x"]=W,Q[B._propPrefix+"y"]=X,B._traceIndex!==void 0?S.call("_guiRestyle",Y,Q,B._traceIndex):S.call("_guiRelayout",Y,Q)}}})}function D(U,B,Y){var z=B._levels,V=[],j=[],G,W,X=z.end+z.size/100,Q=z.size,ae=1.001*Y[0]-.001*Y[1],ie=1.001*Y[1]-.001*Y[0];for(W=0;W<1e5&&(G=z.start+W*Q,!(Q>0?G>=X:G<=X));W++)G>ae&&G<ie&&V.push(G);if(B._fillgradient)j=[0];else if(typeof B._fillcolor=="function"){var he=B._filllevels;if(he)for(X=he.end+he.size/100,Q=he.size,W=0;W<1e5&&(G=he.start+W*Q,!(Q>0?G>=X:G<=X));W++)G>Y[0]&&G<Y[1]&&j.push(G);else j=V.map(function(J){return J-z.size/2}),j.push(j[j.length-1]+z.size)}else B._fillcolor&&typeof B._fillcolor=="string"&&(j=[0]);return z.size<0&&(V.reverse(),j.reverse()),{line:V,fill:j}}function O(U,B,Y){var z=U._fullLayout,V=B.orientation==="v",j={type:"linear",range:Y,tickmode:B.tickmode,nticks:B.nticks,tick0:B.tick0,dtick:B.dtick,tickvals:B.tickvals,ticktext:B.ticktext,ticks:B.ticks,ticklen:B.ticklen,tickwidth:B.tickwidth,tickcolor:B.tickcolor,showticklabels:B.showticklabels,labelalias:B.labelalias,ticklabelposition:B.ticklabelposition,ticklabeloverflow:B.ticklabeloverflow,ticklabelstep:B.ticklabelstep,tickfont:B.tickfont,tickangle:B.tickangle,tickformat:B.tickformat,exponentformat:B.exponentformat,minexponent:B.minexponent,separatethousands:B.separatethousands,showexponent:B.showexponent,showtickprefix:B.showtickprefix,tickprefix:B.tickprefix,showticksuffix:B.showticksuffix,ticksuffix:B.ticksuffix,title:B.title,showline:!0,anchor:"free",side:V?"right":"bottom",position:1},G=V?"y":"x",W={type:"linear",_id:G+B._id},X={letter:G,font:z.font,noAutotickangles:G==="y",noHover:!0,noTickson:!0,noTicklabelmode:!0,noInsideRange:!0,calendar:z.calendar};function Q(ae,ie){return _.coerce(j,W,A,ae,ie)}return w(j,W,Q,X,z),R(j,W,Q,X),W}u.exports={draw:M}},90553:function(u,h,a){var l=a(3400);u.exports=function(i){return l.isPlainObject(i.colorbar)}},55080:function(u,h,a){u.exports={moduleType:"component",name:"colorbar",attributes:a(42996),supplyDefaults:a(64013),draw:a(37848).draw,hasColorbar:a(90553)}},49084:function(u,h,a){var l=a(42996),v=a(53756).counter,i=a(95376),S=a(88304).scales;i(S),u.exports=function(p,_){p=p||"",_=_||{};var c=_.cLetter||"c";"onlyIfNumerical"in _&&_.onlyIfNumerical;var s="noScale"in _?_.noScale:p==="marker.line",d="showScaleDflt"in _?_.showScaleDflt:c==="z",f=typeof _.colorscaleDflt=="string"?S[_.colorscaleDflt]:null,b=_.editTypeOverride||"",x;"colorAttr"in _?(x=_.colorAttr,_.colorAttr):x={z:"z",c:"color"}[c];var y=c+"auto",C=c+"min",w=c+"max",R=c+"mid",A={};A[C]=A[w]=void 0;var E={};E[y]=!1;var k={};return x==="color"&&(k.color={valType:"color",arrayOk:!0,editType:b||"style"},_.anim&&(k.color.anim=!0)),k[y]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:A},k[C]={valType:"number",dflt:null,editType:b||"plot",impliedEdits:E},k[w]={valType:"number",dflt:null,editType:b||"plot",impliedEdits:E},k[R]={valType:"number",dflt:null,editType:"calc",impliedEdits:A},k.colorscale={valType:"colorscale",editType:"calc",dflt:f,impliedEdits:{autocolorscale:!1}},k.autocolorscale={valType:"boolean",dflt:_.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},k.reversescale={valType:"boolean",dflt:!1,editType:"plot"},s||(k.showscale={valType:"boolean",dflt:d,editType:"calc"},k.colorbar=l),_.noColorAxis||(k.coloraxis={valType:"subplotid",regex:v("coloraxis"),dflt:null,editType:"calc"}),k}},47128:function(u,h,a){var l=a(38248),v=a(3400),i=a(94288).extractOpts;u.exports=function(g,p,_){var c=g._fullLayout,s=_.vals,d=_.containerStr,f=d?v.nestedProperty(p,d).get():p,b=i(f),x=b.auto!==!1,y=b.min,C=b.max,w=b.mid,R=function(){return v.aggNums(Math.min,null,s)},A=function(){return v.aggNums(Math.max,null,s)};if(y===void 0?y=R():x&&(f._colorAx&&l(y)?y=Math.min(y,R()):y=R()),C===void 0?C=A():x&&(f._colorAx&&l(C)?C=Math.max(C,A()):C=A()),x&&w!==void 0&&(C-w>w-y?y=w-(C-w):C-w<w-y&&(C=w+(w-y))),y===C&&(y-=.5,C+=.5),b._sync("min",y),b._sync("max",C),b.autocolorscale){var E;y*C<0?E=c.colorscale.diverging:y>=0?E=c.colorscale.sequential:E=c.colorscale.sequentialminus,b._sync("colorscale",E)}}},95504:function(u,h,a){var l=a(3400),v=a(94288).hasColorscale,i=a(94288).extractOpts;u.exports=function(g,p){function _(y,C){var w=y["_"+C];w!==void 0&&(y[C]=w)}function c(y,C){var w=C.container?l.nestedProperty(y,C.container).get():y;if(w)if(w.coloraxis)w._colorAx=p[w.coloraxis];else{var R=i(w),A=R.auto;(A||R.min===void 0)&&_(w,C.min),(A||R.max===void 0)&&_(w,C.max),R.autocolorscale&&_(w,"colorscale")}}for(var s=0;s<g.length;s++){var d=g[s],f=d._module.colorbar;if(f)if(Array.isArray(f))for(var b=0;b<f.length;b++)c(d,f[b]);else c(d,f);v(d,"marker.line")&&c(d,{container:"marker.line",min:"cmin",max:"cmax"})}for(var x in p._colorAxes)c(p[x],{min:"cmin",max:"cmax"})}},27260:function(u,h,a){var l=a(38248),v=a(3400),i=a(90553),S=a(64013),g=a(88304).isValid,p=a(24040).traceIs;function _(c,s){var d=s.slice(0,s.length-1);return s?v.nestedProperty(c,d).get()||{}:c}u.exports=function c(s,d,f,b,x){var y=x.prefix,C=x.cLetter,w="_module"in d,R=_(s,y),A=_(d,y),E=_(d._template||{},y)||{},k=function(){return delete s.coloraxis,delete d.coloraxis,c(s,d,f,b,x)};if(w){var L=f._colorAxes||{},I=b(y+"coloraxis");if(I){var P=p(d,"contour")&&v.nestedProperty(d,"contours.coloring").get()||"heatmap",M=L[I];M?(M[2].push(k),M[0]!==P&&(M[0]=!1,v.warn(["Ignoring coloraxis:",I,"setting","as it is linked to incompatible colorscales."].join(" ")))):L[I]=[P,d,[k]];return}}var F=R[C+"min"],N=R[C+"max"],T=l(F)&&l(N)&&F<N,D=b(y+C+"auto",!T);D?b(y+C+"mid"):(b(y+C+"min"),b(y+C+"max"));var O=R.colorscale,U=E.colorscale,B;if(O!==void 0&&(B=!g(O)),U!==void 0&&(B=!g(U)),b(y+"autocolorscale",B),b(y+"colorscale"),b(y+"reversescale"),y!=="marker.line."){var Y;y&&w&&(Y=i(R));var z=b(y+"showscale",Y);z&&(y&&E&&(A._template=E),S(R,A,f))}}},94288:function(u,h,a){var l=a(33428),v=a(49760),i=a(38248),S=a(3400),g=a(76308),p=a(88304).isValid;function _(w,R,A){var E=R?S.nestedProperty(w,R).get()||{}:w,k=E[A||"color"];k&&k._inputArray&&(k=k._inputArray);var L=!1;if(S.isArrayOrTypedArray(k)){for(var I=0;I<k.length;I++)if(i(k[I])){L=!0;break}}return S.isPlainObject(E)&&(L||E.showscale===!0||i(E.cmin)&&i(E.cmax)||p(E.colorscale)||S.isPlainObject(E.colorbar))}var c=["showscale","autocolorscale","colorscale","reversescale","colorbar"],s=["min","max","mid","auto"];function d(w){var R=w._colorAx,A=R||w,E={},k,L,I;for(L=0;L<c.length;L++)I=c[L],E[I]=A[I];if(R)for(k="c",L=0;L<s.length;L++)I=s[L],E[I]=A["c"+I];else{var P;for(L=0;L<s.length;L++){if(I=s[L],P="c"+I,P in A){E[I]=A[P];continue}P="z"+I,P in A&&(E[I]=A[P])}k=P.charAt(0)}return E._sync=function(M,F){var N=s.indexOf(M)!==-1?k+M:M;A[N]=A["_"+N]=F},E}function f(w){for(var R=d(w),A=R.min,E=R.max,k=R.reversescale?b(R.colorscale):R.colorscale,L=k.length,I=new Array(L),P=new Array(L),M=0;M<L;M++){var F=k[M];I[M]=A+F[0]*(E-A),P[M]=F[1]}return{domain:I,range:P}}function b(w){for(var R=w.length,A=new Array(R),E=R-1,k=0;E>=0;E--,k++){var L=w[E];A[k]=[1-L[0],L[1]]}return A}function x(w,R){R=R||{};for(var A=w.domain,E=w.range,k=E.length,L=new Array(k),I=0;I<k;I++){var P=v(E[I]).toRgb();L[I]=[P.r,P.g,P.b,P.a]}var M=l.scale.linear().domain(A).range(L).clamp(!0),F=R.noNumericCheck,N=R.returnArray,T;return F&&N?T=M:F?T=function(D){return C(M(D))}:N?T=function(D){return i(D)?M(D):v(D).isValid()?D:g.defaultLine}:T=function(D){return i(D)?C(M(D)):v(D).isValid()?D:g.defaultLine},T.domain=M.domain,T.range=function(){return E},T}function y(w,R){return x(f(w),R)}function C(w){var R={r:w[0],g:w[1],b:w[2],a:w[3]};return v(R).toRgbString()}u.exports={hasColorscale:_,extractOpts:d,extractScale:f,flipScale:b,makeColorScaleFunc:x,makeColorScaleFuncFromTrace:y}},8932:function(u,h,a){var l=a(88304),v=a(94288);u.exports={moduleType:"component",name:"colorscale",attributes:a(49084),layoutAttributes:a(92332),supplyLayoutDefaults:a(51608),handleDefaults:a(27260),crossTraceDefaults:a(95504),calc:a(47128),scales:l.scales,defaultScale:l.defaultScale,getScale:l.get,isValidScale:l.isValid,hasColorscale:v.hasColorscale,extractOpts:v.extractOpts,extractScale:v.extractScale,flipScale:v.flipScale,makeColorScaleFunc:v.makeColorScaleFunc,makeColorScaleFuncFromTrace:v.makeColorScaleFuncFromTrace}},92332:function(u,h,a){var l=a(92880).extendFlat,v=a(49084),i=a(88304).scales;u.exports={editType:"calc",colorscale:{editType:"calc",sequential:{valType:"colorscale",dflt:i.Reds,editType:"calc"},sequentialminus:{valType:"colorscale",dflt:i.Blues,editType:"calc"},diverging:{valType:"colorscale",dflt:i.RdBu,editType:"calc"}},coloraxis:l({_isSubplotObj:!0,editType:"calc"},v("",{colorAttr:"corresponding trace color array(s)",noColorAxis:!0,showScaleDflt:!0}))}},51608:function(u,h,a){var l=a(3400),v=a(31780),i=a(92332),S=a(27260);u.exports=function(p,_){function c(w,R){return l.coerce(p,_,i,w,R)}c("colorscale.sequential"),c("colorscale.sequentialminus"),c("colorscale.diverging");var s=_._colorAxes,d,f;function b(w,R){return l.coerce(d,f,i.coloraxis,w,R)}for(var x in s){var y=s[x];if(y[0])d=p[x]||{},f=v.newContainer(_,x,"coloraxis"),f._name=x,S(d,f,_,b,{prefix:"",cLetter:"c"});else{for(var C=0;C<y[2].length;C++)y[2][C]();delete _._colorAxes[x]}}}},88304:function(u,h,a){var l=a(49760),v={Greys:[[0,"rgb(0,0,0)"],[1,"rgb(255,255,255)"]],YlGnBu:[[0,"rgb(8,29,88)"],[.125,"rgb(37,52,148)"],[.25,"rgb(34,94,168)"],[.375,"rgb(29,145,192)"],[.5,"rgb(65,182,196)"],[.625,"rgb(127,205,187)"],[.75,"rgb(199,233,180)"],[.875,"rgb(237,248,217)"],[1,"rgb(255,255,217)"]],Greens:[[0,"rgb(0,68,27)"],[.125,"rgb(0,109,44)"],[.25,"rgb(35,139,69)"],[.375,"rgb(65,171,93)"],[.5,"rgb(116,196,118)"],[.625,"rgb(161,217,155)"],[.75,"rgb(199,233,192)"],[.875,"rgb(229,245,224)"],[1,"rgb(247,252,245)"]],YlOrRd:[[0,"rgb(128,0,38)"],[.125,"rgb(189,0,38)"],[.25,"rgb(227,26,28)"],[.375,"rgb(252,78,42)"],[.5,"rgb(253,141,60)"],[.625,"rgb(254,178,76)"],[.75,"rgb(254,217,118)"],[.875,"rgb(255,237,160)"],[1,"rgb(255,255,204)"]],Bluered:[[0,"rgb(0,0,255)"],[1,"rgb(255,0,0)"]],RdBu:[[0,"rgb(5,10,172)"],[.35,"rgb(106,137,247)"],[.5,"rgb(190,190,190)"],[.6,"rgb(220,170,132)"],[.7,"rgb(230,145,90)"],[1,"rgb(178,10,28)"]],Reds:[[0,"rgb(220,220,220)"],[.2,"rgb(245,195,157)"],[.4,"rgb(245,160,105)"],[1,"rgb(178,10,28)"]],Blues:[[0,"rgb(5,10,172)"],[.35,"rgb(40,60,190)"],[.5,"rgb(70,100,245)"],[.6,"rgb(90,120,245)"],[.7,"rgb(106,137,247)"],[1,"rgb(220,220,220)"]],Picnic:[[0,"rgb(0,0,255)"],[.1,"rgb(51,153,255)"],[.2,"rgb(102,204,255)"],[.3,"rgb(153,204,255)"],[.4,"rgb(204,204,255)"],[.5,"rgb(255,255,255)"],[.6,"rgb(255,204,255)"],[.7,"rgb(255,153,255)"],[.8,"rgb(255,102,204)"],[.9,"rgb(255,102,102)"],[1,"rgb(255,0,0)"]],Rainbow:[[0,"rgb(150,0,90)"],[.125,"rgb(0,0,200)"],[.25,"rgb(0,25,255)"],[.375,"rgb(0,152,255)"],[.5,"rgb(44,255,150)"],[.625,"rgb(151,255,0)"],[.75,"rgb(255,234,0)"],[.875,"rgb(255,111,0)"],[1,"rgb(255,0,0)"]],Portland:[[0,"rgb(12,51,131)"],[.25,"rgb(10,136,186)"],[.5,"rgb(242,211,56)"],[.75,"rgb(242,143,56)"],[1,"rgb(217,30,30)"]],Jet:[[0,"rgb(0,0,131)"],[.125,"rgb(0,60,170)"],[.375,"rgb(5,255,255)"],[.625,"rgb(255,255,0)"],[.875,"rgb(250,0,0)"],[1,"rgb(128,0,0)"]],Hot:[[0,"rgb(0,0,0)"],[.3,"rgb(230,0,0)"],[.6,"rgb(255,210,0)"],[1,"rgb(255,255,255)"]],Blackbody:[[0,"rgb(0,0,0)"],[.2,"rgb(230,0,0)"],[.4,"rgb(230,210,0)"],[.7,"rgb(255,255,255)"],[1,"rgb(160,200,255)"]],Earth:[[0,"rgb(0,0,130)"],[.1,"rgb(0,180,180)"],[.2,"rgb(40,210,40)"],[.4,"rgb(230,230,50)"],[.6,"rgb(120,70,20)"],[1,"rgb(255,255,255)"]],Electric:[[0,"rgb(0,0,0)"],[.15,"rgb(30,0,100)"],[.4,"rgb(120,0,100)"],[.6,"rgb(160,90,0)"],[.8,"rgb(230,200,0)"],[1,"rgb(255,250,220)"]],Viridis:[[0,"#440154"],[.06274509803921569,"#48186a"],[.12549019607843137,"#472d7b"],[.18823529411764706,"#424086"],[.25098039215686274,"#3b528b"],[.3137254901960784,"#33638d"],[.3764705882352941,"#2c728e"],[.4392156862745098,"#26828e"],[.5019607843137255,"#21918c"],[.5647058823529412,"#1fa088"],[.6274509803921569,"#28ae80"],[.6901960784313725,"#3fbc73"],[.7529411764705882,"#5ec962"],[.8156862745098039,"#84d44b"],[.8784313725490196,"#addc30"],[.9411764705882353,"#d8e219"],[1,"#fde725"]],Cividis:[[0,"rgb(0,32,76)"],[.058824,"rgb(0,42,102)"],[.117647,"rgb(0,52,110)"],[.176471,"rgb(39,63,108)"],[.235294,"rgb(60,74,107)"],[.294118,"rgb(76,85,107)"],[.352941,"rgb(91,95,109)"],[.411765,"rgb(104,106,112)"],[.470588,"rgb(117,117,117)"],[.529412,"rgb(131,129,120)"],[.588235,"rgb(146,140,120)"],[.647059,"rgb(161,152,118)"],[.705882,"rgb(176,165,114)"],[.764706,"rgb(192,177,109)"],[.823529,"rgb(209,191,102)"],[.882353,"rgb(225,204,92)"],[.941176,"rgb(243,219,79)"],[1,"rgb(255,233,69)"]]},i=v.RdBu;function S(_,c){if(c||(c=i),!_)return c;function s(){try{_=v[_]||JSON.parse(_)}catch{_=c}}return typeof _=="string"&&(s(),typeof _=="string"&&s()),g(_)?_:c}function g(_){var c=0;if(!Array.isArray(_)||_.length<2||!_[0]||!_[_.length-1]||+_[0][0]!=0||+_[_.length-1][0]!=1)return!1;for(var s=0;s<_.length;s++){var d=_[s];if(d.length!==2||+d[0]<c||!l(d[1]).isValid())return!1;c=+d[0]}return!0}function p(_){return v[_]!==void 0?!0:g(_)}u.exports={scales:v,defaultScale:i,get:S,isValid:p}},78316:function(u){u.exports=function(a,l,v,i,S){var g=(a-v)/(i-v),p=g+l/(i-v),_=(g+p)/2;return S==="left"||S==="bottom"?g:S==="center"||S==="middle"?_:S==="right"||S==="top"?p:g<.6666666666666666-_?g:p>1.3333333333333333-_?p:_}},67416:function(u,h,a){var l=a(3400),v=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];u.exports=function(S,g,p,_){return p==="left"?S=0:p==="center"?S=1:p==="right"?S=2:S=l.constrain(Math.floor(S*3),0,2),_==="bottom"?g=0:_==="middle"?g=1:_==="top"?g=2:g=l.constrain(Math.floor(g*3),0,2),v[g][S]}},72760:function(u,h){h.selectMode=function(a){return a==="lasso"||a==="select"},h.drawMode=function(a){return a==="drawclosedpath"||a==="drawopenpath"||a==="drawline"||a==="drawrect"||a==="drawcircle"},h.openMode=function(a){return a==="drawline"||a==="drawopenpath"},h.rectMode=function(a){return a==="select"||a==="drawline"||a==="drawrect"||a==="drawcircle"},h.freeMode=function(a){return a==="lasso"||a==="drawclosedpath"||a==="drawopenpath"},h.selectingOrDrawing=function(a){return h.freeMode(a)||h.rectMode(a)}},86476:function(u,h,a){var l=a(29128),v=a(52264),i=a(89184),S=a(3400).removeElement,g=a(33816),p=u.exports={};p.align=a(78316),p.getCursor=a(67416);var _=a(2616);p.unhover=_.wrapped,p.unhoverRaw=_.raw,p.init=function(f){var b=f.gd,x=1,y=b._context.doubleClickDelay,C=f.element,w,R,A,E,k,L,I,P;b._mouseDownTime||(b._mouseDownTime=0),C.style.pointerEvents="all",C.onmousedown=N,i?(C._ontouchstart&&C.removeEventListener("touchstart",C._ontouchstart),C._ontouchstart=N,C.addEventListener("touchstart",N,{passive:!1})):C.ontouchstart=N;function M(O,U,B){return Math.abs(O)<B&&(O=0),Math.abs(U)<B&&(U=0),[O,U]}var F=f.clampFn||M;function N(O){b._dragged=!1,b._dragging=!0;var U=s(O);w=U[0],R=U[1],I=O.target,L=O,P=O.buttons===2||O.ctrlKey,typeof O.clientX>"u"&&typeof O.clientY>"u"&&(O.clientX=w,O.clientY=R),A=new Date().getTime(),A-b._mouseDownTime<y?x+=1:(x=1,b._mouseDownTime=A),f.prepFn&&f.prepFn(O,w,R),v&&!P?(k=c(),k.style.cursor=window.getComputedStyle(C).cursor):v||(k=document,E=window.getComputedStyle(document.documentElement).cursor,document.documentElement.style.cursor=window.getComputedStyle(C).cursor),document.addEventListener("mouseup",D),document.addEventListener("touchend",D),f.dragmode!==!1&&(O.preventDefault(),document.addEventListener("mousemove",T),document.addEventListener("touchmove",T,{passive:!1}))}function T(O){O.preventDefault();var U=s(O),B=f.minDrag||g.MINDRAG,Y=F(U[0]-w,U[1]-R,B),z=Y[0],V=Y[1];(z||V)&&(b._dragged=!0,p.unhover(b,O)),b._dragged&&f.moveFn&&!P&&(b._dragdata={element:C,dx:z,dy:V},f.moveFn(z,V))}function D(O){if(delete b._dragdata,f.dragmode!==!1&&(O.preventDefault(),document.removeEventListener("mousemove",T),document.removeEventListener("touchmove",T)),document.removeEventListener("mouseup",D),document.removeEventListener("touchend",D),v?S(k):E&&(k.documentElement.style.cursor=E,E=null),!b._dragging){b._dragged=!1;return}if(b._dragging=!1,new Date().getTime()-b._mouseDownTime>y&&(x=Math.max(x-1,1)),b._dragged)f.doneFn&&f.doneFn();else if(f.clickFn&&f.clickFn(x,L),!P){var U;try{U=new MouseEvent("click",O)}catch{var B=s(O);U=document.createEvent("MouseEvents"),U.initMouseEvent("click",O.bubbles,O.cancelable,O.view,O.detail,O.screenX,O.screenY,B[0],B[1],O.ctrlKey,O.altKey,O.shiftKey,O.metaKey,O.button,O.relatedTarget)}I.dispatchEvent(U)}b._dragging=!1,b._dragged=!1}};function c(){var d=document.createElement("div");d.className="dragcover";var f=d.style;return f.position="fixed",f.left=0,f.right=0,f.top=0,f.bottom=0,f.zIndex=999999999,f.background="none",document.body.appendChild(d),d}p.coverSlip=c;function s(d){return l(d.changedTouches?d.changedTouches[0]:d,document.body)}},2616:function(u,h,a){var l=a(95924),v=a(91200),i=a(52200).getGraphDiv,S=a(92456),g=u.exports={};g.wrapped=function(p,_,c){p=i(p),p._fullLayout&&v.clear(p._fullLayout._uid+S.HOVERID),g.raw(p,_,c)},g.raw=function(_,c){var s=_._fullLayout,d=_._hoverdata;c||(c={}),!(c.target&&!_._dragged&&l.triggerHandler(_,"plotly_beforehover",c)===!1)&&(s._hoverlayer.selectAll("g").remove(),s._hoverlayer.selectAll("line").remove(),s._hoverlayer.selectAll("circle").remove(),_._hoverdata=void 0,c.target&&d&&_.emit("plotly_unhover",{event:c,points:d}))}},98192:function(u,h){h.u={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},h.c={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},43616:function(u,h,a){var l=a(33428),v=a(3400),i=v.numberFormat,S=a(38248),g=a(49760),p=a(24040),_=a(76308),c=a(8932),s=v.strTranslate,d=a(72736),f=a(9616),b=a(84284),x=b.LINE_SPACING,y=a(13448).DESELECTDIM,C=a(43028),w=a(7152),R=a(10624).appendArrayPointValue,A=u.exports={};A.font=function(Ae,Re,be,Pe){v.isPlainObject(Re)&&(Pe=Re.color,be=Re.size,Re=Re.family),Re&&Ae.style("font-family",Re),be+1&&Ae.style("font-size",be+"px"),Pe&&Ae.call(_.fill,Pe)},A.setPosition=function(Ae,Re,be){Ae.attr("x",Re).attr("y",be)},A.setSize=function(Ae,Re,be){Ae.attr("width",Re).attr("height",be)},A.setRect=function(Ae,Re,be,Pe,Ke){Ae.call(A.setPosition,Re,be).call(A.setSize,Pe,Ke)},A.translatePoint=function(Ae,Re,be,Pe){var Ke=be.c2p(Ae.x),ze=Pe.c2p(Ae.y);if(S(Ke)&&S(ze)&&Re.node())Re.node().nodeName==="text"?Re.attr("x",Ke).attr("y",ze):Re.attr("transform",s(Ke,ze));else return!1;return!0},A.translatePoints=function(Ae,Re,be){Ae.each(function(Pe){var Ke=l.select(this);A.translatePoint(Pe,Ke,Re,be)})},A.hideOutsideRangePoint=function(Ae,Re,be,Pe,Ke,ze){Re.attr("display",be.isPtWithinRange(Ae,Ke)&&Pe.isPtWithinRange(Ae,ze)?null:"none")},A.hideOutsideRangePoints=function(Ae,Re){if(Re._hasClipOnAxisFalse){var be=Re.xaxis,Pe=Re.yaxis;Ae.each(function(Ke){var ze=Ke[0].trace,Fe=ze.xcalendar,We=ze.ycalendar,lt=p.traceIs(ze,"bar-like")?".bartext":".point,.textpoint";Ae.selectAll(lt).each(function(ht){A.hideOutsideRangePoint(ht,l.select(this),be,Pe,Fe,We)})})}},A.crispRound=function(Ae,Re,be){return!Re||!S(Re)?be||0:Ae._context.staticPlot?Re:Re<1?1:Math.round(Re)},A.singleLineStyle=function(Ae,Re,be,Pe,Ke){Re.style("fill","none");var ze=(((Ae||[])[0]||{}).trace||{}).line||{},Fe=be||ze.width||0,We=Ke||ze.dash||"";_.stroke(Re,Pe||ze.color),A.dashLine(Re,We,Fe)},A.lineGroupStyle=function(Ae,Re,be,Pe){Ae.style("fill","none").each(function(Ke){var ze=(((Ke||[])[0]||{}).trace||{}).line||{},Fe=Re||ze.width||0,We=Pe||ze.dash||"";l.select(this).call(_.stroke,be||ze.color).call(A.dashLine,We,Fe)})},A.dashLine=function(Ae,Re,be){be=+be||0,Re=A.dashStyle(Re,be),Ae.style({"stroke-dasharray":Re,"stroke-width":be+"px"})},A.dashStyle=function(Ae,Re){Re=+Re||1;var be=Math.max(Re,3);return Ae==="solid"?Ae="":Ae==="dot"?Ae=be+"px,"+be+"px":Ae==="dash"?Ae=3*be+"px,"+3*be+"px":Ae==="longdash"?Ae=5*be+"px,"+5*be+"px":Ae==="dashdot"?Ae=3*be+"px,"+be+"px,"+be+"px,"+be+"px":Ae==="longdashdot"&&(Ae=5*be+"px,"+2*be+"px,"+be+"px,"+2*be+"px"),Ae};function E(Ae,Re,be,Pe){var Ke=Re.fillpattern,ze=Re.fillgradient,Fe=Ke&&A.getPatternAttr(Ke.shape,0,"");if(Fe){var We=A.getPatternAttr(Ke.bgcolor,0,null),lt=A.getPatternAttr(Ke.fgcolor,0,null),ht=Ke.fgopacity,tt=A.getPatternAttr(Ke.size,0,8),et=A.getPatternAttr(Ke.solidity,0,.3),pt=Re.uid;A.pattern(Ae,"point",be,pt,Fe,tt,et,void 0,Ke.fillmode,We,lt,ht)}else if(ze&&ze.type!=="none"){var vt=ze.type,_t="scatterfill-"+Re.uid;if(Pe&&(_t="legendfill-"+Re.uid),!Pe&&(ze.start!==void 0||ze.stop!==void 0)){var bt,Rt;vt==="horizontal"?(bt={x:ze.start,y:0},Rt={x:ze.stop,y:0}):vt==="vertical"&&(bt={x:0,y:ze.start},Rt={x:0,y:ze.stop}),bt.x=Re._xA.c2p(bt.x===void 0?Re._extremes.x.min[0].val:bt.x,!0),bt.y=Re._yA.c2p(bt.y===void 0?Re._extremes.y.min[0].val:bt.y,!0),Rt.x=Re._xA.c2p(Rt.x===void 0?Re._extremes.x.max[0].val:Rt.x,!0),Rt.y=Re._yA.c2p(Rt.y===void 0?Re._extremes.y.max[0].val:Rt.y,!0),Ae.call(N,be,_t,"linear",ze.colorscale,"fill",bt,Rt,!0,!1)}else vt==="horizontal"&&(vt=vt+"reversed"),Ae.call(A.gradient,be,_t,vt,ze.colorscale,"fill")}else Re.fillcolor&&Ae.call(_.fill,Re.fillcolor)}A.singleFillStyle=function(Ae,Re){var be=l.select(Ae.node()),Pe=be.data(),Ke=((Pe[0]||[])[0]||{}).trace||{};E(Ae,Ke,Re,!1)},A.fillGroupStyle=function(Ae,Re,be){Ae.style("stroke-width",0).each(function(Pe){var Ke=l.select(this);Pe[0].trace&&E(Ke,Pe[0].trace,Re,be)})};var k=a(71984);A.symbolNames=[],A.symbolFuncs=[],A.symbolBackOffs=[],A.symbolNeedLines={},A.symbolNoDot={},A.symbolNoFill={},A.symbolList=[],Object.keys(k).forEach(function(Ae){var Re=k[Ae],be=Re.n;A.symbolList.push(be,String(be),Ae,be+100,String(be+100),Ae+"-open"),A.symbolNames[be]=Ae,A.symbolFuncs[be]=Re.f,A.symbolBackOffs[be]=Re.backoff||0,Re.needLine&&(A.symbolNeedLines[be]=!0),Re.noDot?A.symbolNoDot[be]=!0:A.symbolList.push(be+200,String(be+200),Ae+"-dot",be+300,String(be+300),Ae+"-open-dot"),Re.noFill&&(A.symbolNoFill[be]=!0)});var L=A.symbolNames.length,I="M0,0.5L0.5,0L0,-0.5L-0.5,0Z";A.symbolNumber=function(Ae){if(S(Ae))Ae=+Ae;else if(typeof Ae=="string"){var Re=0;Ae.indexOf("-open")>0&&(Re=100,Ae=Ae.replace("-open","")),Ae.indexOf("-dot")>0&&(Re+=200,Ae=Ae.replace("-dot","")),Ae=A.symbolNames.indexOf(Ae),Ae>=0&&(Ae+=Re)}return Ae%100>=L||Ae>=400?0:Math.floor(Math.max(Ae,0))};function P(Ae,Re,be,Pe){var Ke=Ae%100;return A.symbolFuncs[Ke](Re,be,Pe)+(Ae>=200?I:"")}var M=i("~f"),F={radial:{type:"radial"},radialreversed:{type:"radial",reversed:!0},horizontal:{type:"linear",start:{x:1,y:0},stop:{x:0,y:0}},horizontalreversed:{type:"linear",start:{x:1,y:0},stop:{x:0,y:0},reversed:!0},vertical:{type:"linear",start:{x:0,y:1},stop:{x:0,y:0}},verticalreversed:{type:"linear",start:{x:0,y:1},stop:{x:0,y:0},reversed:!0}};A.gradient=function(Ae,Re,be,Pe,Ke,ze){var Fe=F[Pe];return N(Ae,Re,be,Fe.type,Ke,ze,Fe.start,Fe.stop,!1,Fe.reversed)};function N(Ae,Re,be,Pe,Ke,ze,Fe,We,lt,ht){var tt=Ke.length,et;Pe==="linear"?et={node:"linearGradient",attrs:{x1:Fe.x,y1:Fe.y,x2:We.x,y2:We.y,gradientUnits:lt?"userSpaceOnUse":"objectBoundingBox"},reversed:ht}:Pe==="radial"&&(et={node:"radialGradient",reversed:ht});for(var pt=new Array(tt),vt=0;vt<tt;vt++)et.reversed?pt[tt-1-vt]=[M((1-Ke[vt][0])*100),Ke[vt][1]]:pt[vt]=[M(Ke[vt][0]*100),Ke[vt][1]];var _t=Re._fullLayout,bt="g"+_t._uid+"-"+be,Rt=_t._defs.select(".gradients").selectAll("#"+bt).data([Pe+pt.join(";")],v.identity);Rt.exit().remove(),Rt.enter().append(et.node).each(function(){var ct=l.select(this);et.attrs&&ct.attr(et.attrs),ct.attr("id",bt);var Ve=ct.selectAll("stop").data(pt);Ve.exit().remove(),Ve.enter().append("stop"),Ve.each(function(Qe){var rt=g(Qe[1]);l.select(this).attr({offset:Qe[0]+"%","stop-color":_.tinyRGB(rt),"stop-opacity":rt.getAlpha()})})}),Ae.style(ze,J(bt,Re)).style(ze+"-opacity",null),Ae.classed("gradient_filled",!0)}A.pattern=function(Ae,Re,be,Pe,Ke,ze,Fe,We,lt,ht,tt,et){var pt=Re==="legend";We&&(lt==="overlay"?(ht=We,tt=_.contrast(ht)):(ht=void 0,tt=We));var vt=be._fullLayout,_t="p"+vt._uid+"-"+Pe,bt,Rt,ct=function(ut,Et,wt,nr,ir){return nr+(ir-nr)*(ut-Et)/(wt-Et)},Ve,Qe,rt,qe,He={},Ce=g(tt),Se=_.tinyRGB(Ce),Le=Ce.getAlpha(),Ne=et*Le;switch(Ke){case"/":bt=ze*Math.sqrt(2),Rt=ze*Math.sqrt(2),Ve="M-"+bt/4+","+Rt/4+"l"+bt/2+",-"+Rt/2+"M0,"+Rt+"L"+bt+",0M"+bt/4*3+","+Rt/4*5+"l"+bt/2+",-"+Rt/2,Qe=Fe*ze,qe="path",He={d:Ve,opacity:Ne,stroke:Se,"stroke-width":Qe+"px"};break;case"\\":bt=ze*Math.sqrt(2),Rt=ze*Math.sqrt(2),Ve="M"+bt/4*3+",-"+Rt/4+"l"+bt/2+","+Rt/2+"M0,0L"+bt+","+Rt+"M-"+bt/4+","+Rt/4*3+"l"+bt/2+","+Rt/2,Qe=Fe*ze,qe="path",He={d:Ve,opacity:Ne,stroke:Se,"stroke-width":Qe+"px"};break;case"x":bt=ze*Math.sqrt(2),Rt=ze*Math.sqrt(2),Ve="M-"+bt/4+","+Rt/4+"l"+bt/2+",-"+Rt/2+"M0,"+Rt+"L"+bt+",0M"+bt/4*3+","+Rt/4*5+"l"+bt/2+",-"+Rt/2+"M"+bt/4*3+",-"+Rt/4+"l"+bt/2+","+Rt/2+"M0,0L"+bt+","+Rt+"M-"+bt/4+","+Rt/4*3+"l"+bt/2+","+Rt/2,Qe=ze-ze*Math.sqrt(1-Fe),qe="path",He={d:Ve,opacity:Ne,stroke:Se,"stroke-width":Qe+"px"};break;case"|":bt=ze,Rt=ze,qe="path",Ve="M"+bt/2+",0L"+bt/2+","+Rt,Qe=Fe*ze,qe="path",He={d:Ve,opacity:Ne,stroke:Se,"stroke-width":Qe+"px"};break;case"-":bt=ze,Rt=ze,qe="path",Ve="M0,"+Rt/2+"L"+bt+","+Rt/2,Qe=Fe*ze,qe="path",He={d:Ve,opacity:Ne,stroke:Se,"stroke-width":Qe+"px"};break;case"+":bt=ze,Rt=ze,qe="path",Ve="M"+bt/2+",0L"+bt/2+","+Rt+"M0,"+Rt/2+"L"+bt+","+Rt/2,Qe=ze-ze*Math.sqrt(1-Fe),qe="path",He={d:Ve,opacity:Ne,stroke:Se,"stroke-width":Qe+"px"};break;case".":bt=ze,Rt=ze,Fe<Math.PI/4?rt=Math.sqrt(Fe*ze*ze/Math.PI):rt=ct(Fe,Math.PI/4,1,ze/2,ze/Math.sqrt(2)),qe="circle",He={cx:bt/2,cy:Rt/2,r:rt,opacity:Ne,fill:Se};break}var je=[Ke||"noSh",ht||"noBg",tt||"noFg",ze,Fe].join(";"),Je=vt._defs.select(".patterns").selectAll("#"+_t).data([je],v.identity);Je.exit().remove(),Je.enter().append("pattern").each(function(){var ut=l.select(this);if(ut.attr({id:_t,width:bt+"px",height:Rt+"px",patternUnits:"userSpaceOnUse",patternTransform:pt?"scale(0.8)":""}),ht){var Et=g(ht),wt=_.tinyRGB(Et),nr=Et.getAlpha(),ir=ut.selectAll("rect").data([0]);ir.exit().remove(),ir.enter().append("rect").attr({width:bt+"px",height:Rt+"px",fill:wt,"fill-opacity":nr})}var It=ut.selectAll(qe).data([0]);It.exit().remove(),It.enter().append(qe).attr(He)}),Ae.style("fill",J(_t,be)).style("fill-opacity",null),Ae.classed("pattern_filled",!0)},A.initGradients=function(Ae){var Re=Ae._fullLayout,be=v.ensureSingle(Re._defs,"g","gradients");be.selectAll("linearGradient,radialGradient").remove(),l.select(Ae).selectAll(".gradient_filled").classed("gradient_filled",!1)},A.initPatterns=function(Ae){var Re=Ae._fullLayout,be=v.ensureSingle(Re._defs,"g","patterns");be.selectAll("pattern").remove(),l.select(Ae).selectAll(".pattern_filled").classed("pattern_filled",!1)},A.getPatternAttr=function(Ae,Re,be){return Ae&&v.isArrayOrTypedArray(Ae)?Re<Ae.length?Ae[Re]:be:Ae},A.pointStyle=function(Ae,Re,be,Pe){if(Ae.size()){var Ke=A.makePointStyleFns(Re);Ae.each(function(ze){A.singlePointStyle(ze,l.select(this),Re,Ke,be,Pe)})}},A.singlePointStyle=function(Ae,Re,be,Pe,Ke,ze){var Fe=be.marker,We=Fe.line;if(ze&&ze.i>=0&&Ae.i===void 0&&(Ae.i=ze.i),Re.style("opacity",Pe.selectedOpacityFn?Pe.selectedOpacityFn(Ae):Ae.mo===void 0?Fe.opacity:Ae.mo),Pe.ms2mrc){var lt;Ae.ms==="various"||Fe.size==="various"?lt=3:lt=Pe.ms2mrc(Ae.ms),Ae.mrc=lt,Pe.selectedSizeFn&&(lt=Ae.mrc=Pe.selectedSizeFn(Ae));var ht=A.symbolNumber(Ae.mx||Fe.symbol)||0;Ae.om=ht%200>=100;var tt=Be(Ae,be),et=K(Ae,be);Re.attr("d",P(ht,lt,tt,et))}var pt=!1,vt,_t,bt;if(Ae.so)bt=We.outlierwidth,_t=We.outliercolor,vt=Fe.outliercolor;else{var Rt=(We||{}).width;bt=(Ae.mlw+1||Rt+1||(Ae.trace?(Ae.trace.marker.line||{}).width:0)+1)-1||0,"mlc"in Ae?_t=Ae.mlcc=Pe.lineScale(Ae.mlc):v.isArrayOrTypedArray(We.color)?_t=_.defaultLine:_t=We.color,v.isArrayOrTypedArray(Fe.color)&&(vt=_.defaultLine,pt=!0),"mc"in Ae?vt=Ae.mcc=Pe.markerScale(Ae.mc):vt=Fe.color||Fe.colors||"rgba(0,0,0,0)",Pe.selectedColorFn&&(vt=Pe.selectedColorFn(Ae))}if(Ae.om)Re.call(_.stroke,vt).style({"stroke-width":(bt||1)+"px",fill:"none"});else{Re.style("stroke-width",(Ae.isBlank?0:bt)+"px");var ct=Fe.gradient,Ve=Ae.mgt;Ve?pt=!0:Ve=ct&&ct.type,v.isArrayOrTypedArray(Ve)&&(Ve=Ve[0],F[Ve]||(Ve=0));var Qe=Fe.pattern,rt=Qe&&A.getPatternAttr(Qe.shape,Ae.i,"");if(Ve&&Ve!=="none"){var qe=Ae.mgc;qe?pt=!0:qe=ct.color;var He=be.uid;pt&&(He+="-"+Ae.i),A.gradient(Re,Ke,He,Ve,[[0,qe],[1,vt]],"fill")}else if(rt){var Ce=!1,Se=Qe.fgcolor;!Se&&ze&&ze.color&&(Se=ze.color,Ce=!0);var Le=A.getPatternAttr(Se,Ae.i,ze&&ze.color||null),Ne=A.getPatternAttr(Qe.bgcolor,Ae.i,null),je=Qe.fgopacity,Je=A.getPatternAttr(Qe.size,Ae.i,8),ut=A.getPatternAttr(Qe.solidity,Ae.i,.3);Ce=Ce||Ae.mcc||v.isArrayOrTypedArray(Qe.shape)||v.isArrayOrTypedArray(Qe.bgcolor)||v.isArrayOrTypedArray(Qe.fgcolor)||v.isArrayOrTypedArray(Qe.size)||v.isArrayOrTypedArray(Qe.solidity);var Et=be.uid;Ce&&(Et+="-"+Ae.i),A.pattern(Re,"point",Ke,Et,rt,Je,ut,Ae.mcc,Qe.fillmode,Ne,Le,je)}else v.isArrayOrTypedArray(vt)?_.fill(Re,vt[Ae.i]):_.fill(Re,vt);bt&&_.stroke(Re,_t)}},A.makePointStyleFns=function(Ae){var Re={},be=Ae.marker;return Re.markerScale=A.tryColorscale(be,""),Re.lineScale=A.tryColorscale(be,"line"),p.traceIs(Ae,"symbols")&&(Re.ms2mrc=C.isBubble(Ae)?w(Ae):function(){return(be.size||6)/2}),Ae.selectedpoints&&v.extendFlat(Re,A.makeSelectedPointStyleFns(Ae)),Re},A.makeSelectedPointStyleFns=function(Ae){var Re={},be=Ae.selected||{},Pe=Ae.unselected||{},Ke=Ae.marker||{},ze=be.marker||{},Fe=Pe.marker||{},We=Ke.opacity,lt=ze.opacity,ht=Fe.opacity,tt=lt!==void 0,et=ht!==void 0;(v.isArrayOrTypedArray(We)||tt||et)&&(Re.selectedOpacityFn=function(rt){var qe=rt.mo===void 0?Ke.opacity:rt.mo;return rt.selected?tt?lt:qe:et?ht:y*qe});var pt=Ke.color,vt=ze.color,_t=Fe.color;(vt||_t)&&(Re.selectedColorFn=function(rt){var qe=rt.mcc||pt;return rt.selected?vt||qe:_t||qe});var bt=Ke.size,Rt=ze.size,ct=Fe.size,Ve=Rt!==void 0,Qe=ct!==void 0;return p.traceIs(Ae,"symbols")&&(Ve||Qe)&&(Re.selectedSizeFn=function(rt){var qe=rt.mrc||bt/2;return rt.selected?Ve?Rt/2:qe:Qe?ct/2:qe}),Re},A.makeSelectedTextStyleFns=function(Ae){var Re={},be=Ae.selected||{},Pe=Ae.unselected||{},Ke=Ae.textfont||{},ze=be.textfont||{},Fe=Pe.textfont||{},We=Ke.color,lt=ze.color,ht=Fe.color;return Re.selectedTextColorFn=function(tt){var et=tt.tc||We;return tt.selected?lt||et:ht||(lt?et:_.addOpacity(et,y))},Re},A.selectedPointStyle=function(Ae,Re){if(!(!Ae.size()||!Re.selectedpoints)){var be=A.makeSelectedPointStyleFns(Re),Pe=Re.marker||{},Ke=[];be.selectedOpacityFn&&Ke.push(function(ze,Fe){ze.style("opacity",be.selectedOpacityFn(Fe))}),be.selectedColorFn&&Ke.push(function(ze,Fe){_.fill(ze,be.selectedColorFn(Fe))}),be.selectedSizeFn&&Ke.push(function(ze,Fe){var We=Fe.mx||Pe.symbol||0,lt=be.selectedSizeFn(Fe);ze.attr("d",P(A.symbolNumber(We),lt,Be(Fe,Re),K(Fe,Re))),Fe.mrc2=lt}),Ke.length&&Ae.each(function(ze){for(var Fe=l.select(this),We=0;We<Ke.length;We++)Ke[We](Fe,ze)})}},A.tryColorscale=function(Ae,Re){var be=Re?v.nestedProperty(Ae,Re).get():Ae;if(be){var Pe=be.color;if((be.colorscale||be._colorAx)&&v.isArrayOrTypedArray(Pe))return c.makeColorScaleFuncFromTrace(be)}return v.identity};var T={start:1,end:-1,middle:0,bottom:1,top:-1};function D(Ae,Re,be,Pe,Ke){var ze=l.select(Ae.node().parentNode),Fe=Re.indexOf("top")!==-1?"top":Re.indexOf("bottom")!==-1?"bottom":"middle",We=Re.indexOf("left")!==-1?"end":Re.indexOf("right")!==-1?"start":"middle",lt=Pe?Pe/.8+1:0,ht=(d.lineCount(Ae)-1)*x+1,tt=T[We]*lt,et=be*.75+T[Fe]*lt+(T[Fe]-1)*ht*be/2;Ae.attr("text-anchor",We),Ke||ze.attr("transform",s(tt,et))}function O(Ae,Re){var be=Ae.ts||Re.textfont.size;return S(be)&&be>0?be:0}A.textPointStyle=function(Ae,Re,be){if(Ae.size()){var Pe;if(Re.selectedpoints){var Ke=A.makeSelectedTextStyleFns(Re);Pe=Ke.selectedTextColorFn}var ze=Re.texttemplate,Fe=be._fullLayout;Ae.each(function(We){var lt=l.select(this),ht=ze?v.extractOption(We,Re,"txt","texttemplate"):v.extractOption(We,Re,"tx","text");if(!ht&&ht!==0){lt.remove();return}if(ze){var tt=Re._module.formatLabels,et=tt?tt(We,Re,Fe):{},pt={};R(pt,Re,We.i);var vt=Re._meta||{};ht=v.texttemplateString(ht,et,Fe._d3locale,pt,We,vt)}var _t=We.tp||Re.textposition,bt=O(We,Re),Rt=Pe?Pe(We):We.tc||Re.textfont.color;lt.call(A.font,We.tf||Re.textfont.family,bt,Rt).text(ht).call(d.convertToTspans,be).call(D,_t,bt,We.mrc)})}},A.selectedTextStyle=function(Ae,Re){if(!(!Ae.size()||!Re.selectedpoints)){var be=A.makeSelectedTextStyleFns(Re);Ae.each(function(Pe){var Ke=l.select(this),ze=be.selectedTextColorFn(Pe),Fe=Pe.tp||Re.textposition,We=O(Pe,Re);_.fill(Ke,ze);var lt=p.traceIs(Re,"bar-like");D(Ke,Fe,We,Pe.mrc2||Pe.mrc,lt)})}};var U=.5;A.smoothopen=function(Ae,Re){if(Ae.length<3)return"M"+Ae.join("L");var be="M"+Ae[0],Pe=[],Ke;for(Ke=1;Ke<Ae.length-1;Ke++)Pe.push(G(Ae[Ke-1],Ae[Ke],Ae[Ke+1],Re));for(be+="Q"+Pe[0][0]+" "+Ae[1],Ke=2;Ke<Ae.length-1;Ke++)be+="C"+Pe[Ke-2][1]+" "+Pe[Ke-1][0]+" "+Ae[Ke];return be+="Q"+Pe[Ae.length-3][1]+" "+Ae[Ae.length-1],be},A.smoothclosed=function(Ae,Re){if(Ae.length<3)return"M"+Ae.join("L")+"Z";var be="M"+Ae[0],Pe=Ae.length-1,Ke=[G(Ae[Pe],Ae[0],Ae[1],Re)],ze;for(ze=1;ze<Pe;ze++)Ke.push(G(Ae[ze-1],Ae[ze],Ae[ze+1],Re));for(Ke.push(G(Ae[Pe-1],Ae[Pe],Ae[0],Re)),ze=1;ze<=Pe;ze++)be+="C"+Ke[ze-1][1]+" "+Ke[ze][0]+" "+Ae[ze];return be+="C"+Ke[Pe][1]+" "+Ke[0][0]+" "+Ae[0]+"Z",be};var B,Y;function z(Ae,Re,be){return be&&(Ae=Q(Ae)),Re?j(Ae[1]):V(Ae[0])}function V(Ae){var Re=l.round(Ae,2);return B=Re,Re}function j(Ae){var Re=l.round(Ae,2);return Y=Re,Re}function G(Ae,Re,be,Pe){var Ke=Ae[0]-Re[0],ze=Ae[1]-Re[1],Fe=be[0]-Re[0],We=be[1]-Re[1],lt=Math.pow(Ke*Ke+ze*ze,U/2),ht=Math.pow(Fe*Fe+We*We,U/2),tt=(ht*ht*Ke-lt*lt*Fe)*Pe,et=(ht*ht*ze-lt*lt*We)*Pe,pt=3*ht*(lt+ht),vt=3*lt*(lt+ht);return[[V(Re[0]+(pt&&tt/pt)),j(Re[1]+(pt&&et/pt))],[V(Re[0]-(vt&&tt/vt)),j(Re[1]-(vt&&et/vt))]]}var W={hv:function(Ae,Re,be){return"H"+V(Re[0])+"V"+z(Re,1,be)},vh:function(Ae,Re,be){return"V"+j(Re[1])+"H"+z(Re,0,be)},hvh:function(Ae,Re,be){return"H"+V((Ae[0]+Re[0])/2)+"V"+j(Re[1])+"H"+z(Re,0,be)},vhv:function(Ae,Re,be){return"V"+j((Ae[1]+Re[1])/2)+"H"+V(Re[0])+"V"+z(Re,1,be)}},X=function(Ae,Re,be){return"L"+z(Re,0,be)+","+z(Re,1,be)};A.steps=function(Ae){var Re=W[Ae]||X;return function(be){for(var Pe="M"+V(be[0][0])+","+j(be[0][1]),Ke=be.length,ze=1;ze<Ke;ze++)Pe+=Re(be[ze-1],be[ze],ze===Ke-1);return Pe}};function Q(Ae,Re){var be=Ae.backoff,Pe=Ae.trace,Ke=Ae.d,ze=Ae.i;if(be&&Pe&&Pe.marker&&Pe.marker.angle%360===0&&Pe.line&&Pe.line.shape!=="spline"){var Fe=v.isArrayOrTypedArray(be),We=Ae,lt=Re?Re[0]:B||0,ht=Re?Re[1]:Y||0,tt=We[0],et=We[1],pt=tt-lt,vt=et-ht,_t=Math.atan2(vt,pt),bt=Fe?be[ze]:be;if(bt==="auto"){var Rt=We.i;Pe.type==="scatter"&&Rt--;var ct=We.marker,Ve=ct.symbol;v.isArrayOrTypedArray(Ve)&&(Ve=Ve[Rt]);var Qe=ct.size;v.isArrayOrTypedArray(Qe)&&(Qe=Qe[Rt]),bt=ct?A.symbolBackOffs[A.symbolNumber(Ve)]*Qe:0,bt+=A.getMarkerStandoff(Ke[Rt],Pe)||0}var rt=tt-bt*Math.cos(_t),qe=et-bt*Math.sin(_t);(rt<=tt&&rt>=lt||rt>=tt&&rt<=lt)&&(qe<=et&&qe>=ht||qe>=et&&qe<=ht)&&(Ae=[rt,qe])}return Ae}A.applyBackoff=Q,A.makeTester=function(){var Ae=v.ensureSingleById(l.select("body"),"svg","js-plotly-tester",function(be){be.attr(f.svgAttrs).style({position:"absolute",left:"-10000px",top:"-10000px",width:"9000px",height:"9000px","z-index":"1"})}),Re=v.ensureSingle(Ae,"path","js-reference-point",function(be){be.attr("d","M0,0H1V1H0Z").style({"stroke-width":0,fill:"black"})});A.tester=Ae,A.testref=Re},A.savedBBoxes={};var ae=0,ie=1e4;A.bBox=function(Ae,Re,be){be||(be=he(Ae));var Pe;if(be){if(Pe=A.savedBBoxes[be],Pe)return v.extendFlat({},Pe)}else if(Ae.childNodes.length===1){var Ke=Ae.childNodes[0];if(be=he(Ke),be){var ze=+Ke.getAttribute("x")||0,Fe=+Ke.getAttribute("y")||0,We=Ke.getAttribute("transform");if(!We){var lt=A.bBox(Ke,!1,be);return ze&&(lt.left+=ze,lt.right+=ze),Fe&&(lt.top+=Fe,lt.bottom+=Fe),lt}if(be+="~"+ze+"~"+Fe+"~"+We,Pe=A.savedBBoxes[be],Pe)return v.extendFlat({},Pe)}}var ht,tt;Re?ht=Ae:(tt=A.tester.node(),ht=Ae.cloneNode(!0),tt.appendChild(ht)),l.select(ht).attr("transform",null).call(d.positionText,0,0);var et=ht.getBoundingClientRect(),pt=A.testref.node().getBoundingClientRect();Re||tt.removeChild(ht);var vt={height:et.height,width:et.width,left:et.left-pt.left,top:et.top-pt.top,right:et.right-pt.left,bottom:et.bottom-pt.top};return ae>=ie&&(A.savedBBoxes={},ae=0),be&&(A.savedBBoxes[be]=vt),ae++,v.extendFlat({},vt)};function he(Ae){var Re=Ae.getAttribute("data-unformatted");if(Re!==null)return Re+Ae.getAttribute("data-math")+Ae.getAttribute("text-anchor")+Ae.getAttribute("style")}A.setClipUrl=function(Ae,Re,be){Ae.attr("clip-path",J(Re,be))};function J(Ae,Re){if(!Ae)return null;var be=Re._context,Pe=be._exportedPlot?"":be._baseUrl||"";return Pe?"url('"+Pe+"#"+Ae+"')":"url(#"+Ae+")"}A.getTranslate=function(Ae){var Re=/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,be=Ae.attr?"attr":"getAttribute",Pe=Ae[be]("transform")||"",Ke=Pe.replace(Re,function(ze,Fe,We){return[Fe,We].join(" ")}).split(" ");return{x:+Ke[0]||0,y:+Ke[1]||0}},A.setTranslate=function(Ae,Re,be){var Pe=/(\btranslate\(.*?\);?)/,Ke=Ae.attr?"attr":"getAttribute",ze=Ae.attr?"attr":"setAttribute",Fe=Ae[Ke]("transform")||"";return Re=Re||0,be=be||0,Fe=Fe.replace(Pe,"").trim(),Fe+=s(Re,be),Fe=Fe.trim(),Ae[ze]("transform",Fe),Fe},A.getScale=function(Ae){var Re=/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,be=Ae.attr?"attr":"getAttribute",Pe=Ae[be]("transform")||"",Ke=Pe.replace(Re,function(ze,Fe,We){return[Fe,We].join(" ")}).split(" ");return{x:+Ke[0]||1,y:+Ke[1]||1}},A.setScale=function(Ae,Re,be){var Pe=/(\bscale\(.*?\);?)/,Ke=Ae.attr?"attr":"getAttribute",ze=Ae.attr?"attr":"setAttribute",Fe=Ae[Ke]("transform")||"";return Re=Re||1,be=be||1,Fe=Fe.replace(Pe,"").trim(),Fe+="scale("+Re+","+be+")",Fe=Fe.trim(),Ae[ze]("transform",Fe),Fe};var Z=/\s*sc.*/;A.setPointGroupScale=function(Ae,Re,be){if(Re=Re||1,be=be||1,!!Ae){var Pe=Re===1&&be===1?"":"scale("+Re+","+be+")";Ae.each(function(){var Ke=(this.getAttribute("transform")||"").replace(Z,"");Ke+=Pe,Ke=Ke.trim(),this.setAttribute("transform",Ke)})}};var le=/translate\([^)]*\)\s*$/;A.setTextPointsScale=function(Ae,Re,be){Ae&&Ae.each(function(){var Pe,Ke=l.select(this),ze=Ke.select("text");if(ze.node()){var Fe=parseFloat(ze.attr("x")||0),We=parseFloat(ze.attr("y")||0),lt=(Ke.attr("transform")||"").match(le);Re===1&&be===1?Pe=[]:Pe=[s(Fe,We),"scale("+Re+","+be+")",s(-Fe,-We)],lt&&Pe.push(lt),Ke.attr("transform",Pe.join(""))}})};function K(Ae,Re){var be;return Ae&&(be=Ae.mf),be===void 0&&(be=Re.marker&&Re.marker.standoff||0),!Re._geo&&!Re._xA?-be:be}A.getMarkerStandoff=K;var te=Math.atan2,ce=Math.cos,re=Math.sin;function ee(Ae,Re){var be=Re[0],Pe=Re[1];return[be*ce(Ae)-Pe*re(Ae),be*re(Ae)+Pe*ce(Ae)]}var de,oe,fe,me,Te,we;function Be(Ae,Re){var be=Ae.ma;be===void 0&&(be=Re.marker.angle,(!be||v.isArrayOrTypedArray(be))&&(be=0));var Pe,Ke,ze=Re.marker.angleref;if(ze==="previous"||ze==="north"){if(Re._geo){var Fe=Re._geo.project(Ae.lonlat);Pe=Fe[0],Ke=Fe[1]}else{var We=Re._xA,lt=Re._yA;if(We&&lt)Pe=We.c2p(Ae.x),Ke=lt.c2p(Ae.y);else return 90}if(Re._geo){var ht=Ae.lonlat[0],tt=Ae.lonlat[1],et=Re._geo.project([ht,tt+1e-5]),pt=Re._geo.project([ht+1e-5,tt]),vt=te(pt[1]-Ke,pt[0]-Pe),_t=te(et[1]-Ke,et[0]-Pe),bt;if(ze==="north")bt=be/180*Math.PI;else if(ze==="previous"){var Rt=ht/180*Math.PI,ct=tt/180*Math.PI,Ve=de/180*Math.PI,Qe=oe/180*Math.PI,rt=Ve-Rt,qe=ce(Qe)*re(rt),He=re(Qe)*ce(ct)-ce(Qe)*re(ct)*ce(rt);bt=-te(qe,He)-Math.PI,de=ht,oe=tt}var Ce=ee(vt,[ce(bt),0]),Se=ee(_t,[re(bt),0]);be=te(Ce[1]+Se[1],Ce[0]+Se[0])/Math.PI*180,ze==="previous"&&!(we===Re.uid&&Ae.i===Te+1)&&(be=null)}if(ze==="previous"&&!Re._geo)if(we===Re.uid&&Ae.i===Te+1&&S(Pe)&&S(Ke)){var Le=Pe-fe,Ne=Ke-me,je=Re.line&&Re.line.shape||"",Je=je.slice(je.length-1);Je==="h"&&(Ne=0),Je==="v"&&(Le=0),be+=te(Ne,Le)/Math.PI*180+90}else be=null}return fe=Pe,me=Ke,Te=Ae.i,we=Re.uid,be}A.getMarkerAngle=Be},71984:function(u,h,a){var l=a(21984),v=a(33428).round,i="M0,0Z",S=Math.sqrt(2),g=Math.sqrt(3),p=Math.PI,_=Math.cos,c=Math.sin;u.exports={circle:{n:0,f:function(C,w,R){if(s(w))return i;var A=v(C,2),E="M"+A+",0A"+A+","+A+" 0 1,1 0,-"+A+"A"+A+","+A+" 0 0,1 "+A+",0Z";return R?y(w,R,E):E}},square:{n:1,f:function(C,w,R){if(s(w))return i;var A=v(C,2);return y(w,R,"M"+A+","+A+"H-"+A+"V-"+A+"H"+A+"Z")}},diamond:{n:2,f:function(C,w,R){if(s(w))return i;var A=v(C*1.3,2);return y(w,R,"M"+A+",0L0,"+A+"L-"+A+",0L0,-"+A+"Z")}},cross:{n:3,f:function(C,w,R){if(s(w))return i;var A=v(C*.4,2),E=v(C*1.2,2);return y(w,R,"M"+E+","+A+"H"+A+"V"+E+"H-"+A+"V"+A+"H-"+E+"V-"+A+"H-"+A+"V-"+E+"H"+A+"V-"+A+"H"+E+"Z")}},x:{n:4,f:function(C,w,R){if(s(w))return i;var A=v(C*.8/S,2),E="l"+A+","+A,k="l"+A+",-"+A,L="l-"+A+",-"+A,I="l-"+A+","+A;return y(w,R,"M0,"+A+E+k+L+k+L+I+L+I+E+I+E+"Z")}},"triangle-up":{n:5,f:function(C,w,R){if(s(w))return i;var A=v(C*2/g,2),E=v(C/2,2),k=v(C,2);return y(w,R,"M-"+A+","+E+"H"+A+"L0,-"+k+"Z")}},"triangle-down":{n:6,f:function(C,w,R){if(s(w))return i;var A=v(C*2/g,2),E=v(C/2,2),k=v(C,2);return y(w,R,"M-"+A+",-"+E+"H"+A+"L0,"+k+"Z")}},"triangle-left":{n:7,f:function(C,w,R){if(s(w))return i;var A=v(C*2/g,2),E=v(C/2,2),k=v(C,2);return y(w,R,"M"+E+",-"+A+"V"+A+"L-"+k+",0Z")}},"triangle-right":{n:8,f:function(C,w,R){if(s(w))return i;var A=v(C*2/g,2),E=v(C/2,2),k=v(C,2);return y(w,R,"M-"+E+",-"+A+"V"+A+"L"+k+",0Z")}},"triangle-ne":{n:9,f:function(C,w,R){if(s(w))return i;var A=v(C*.6,2),E=v(C*1.2,2);return y(w,R,"M-"+E+",-"+A+"H"+A+"V"+E+"Z")}},"triangle-se":{n:10,f:function(C,w,R){if(s(w))return i;var A=v(C*.6,2),E=v(C*1.2,2);return y(w,R,"M"+A+",-"+E+"V"+A+"H-"+E+"Z")}},"triangle-sw":{n:11,f:function(C,w,R){if(s(w))return i;var A=v(C*.6,2),E=v(C*1.2,2);return y(w,R,"M"+E+","+A+"H-"+A+"V-"+E+"Z")}},"triangle-nw":{n:12,f:function(C,w,R){if(s(w))return i;var A=v(C*.6,2),E=v(C*1.2,2);return y(w,R,"M-"+A+","+E+"V-"+A+"H"+E+"Z")}},pentagon:{n:13,f:function(C,w,R){if(s(w))return i;var A=v(C*.951,2),E=v(C*.588,2),k=v(-C,2),L=v(C*-.309,2),I=v(C*.809,2);return y(w,R,"M"+A+","+L+"L"+E+","+I+"H-"+E+"L-"+A+","+L+"L0,"+k+"Z")}},hexagon:{n:14,f:function(C,w,R){if(s(w))return i;var A=v(C,2),E=v(C/2,2),k=v(C*g/2,2);return y(w,R,"M"+k+",-"+E+"V"+E+"L0,"+A+"L-"+k+","+E+"V-"+E+"L0,-"+A+"Z")}},hexagon2:{n:15,f:function(C,w,R){if(s(w))return i;var A=v(C,2),E=v(C/2,2),k=v(C*g/2,2);return y(w,R,"M-"+E+","+k+"H"+E+"L"+A+",0L"+E+",-"+k+"H-"+E+"L-"+A+",0Z")}},octagon:{n:16,f:function(C,w,R){if(s(w))return i;var A=v(C*.924,2),E=v(C*.383,2);return y(w,R,"M-"+E+",-"+A+"H"+E+"L"+A+",-"+E+"V"+E+"L"+E+","+A+"H-"+E+"L-"+A+","+E+"V-"+E+"Z")}},star:{n:17,f:function(C,w,R){if(s(w))return i;var A=C*1.4,E=v(A*.225,2),k=v(A*.951,2),L=v(A*.363,2),I=v(A*.588,2),P=v(-A,2),M=v(A*-.309,2),F=v(A*.118,2),N=v(A*.809,2),T=v(A*.382,2);return y(w,R,"M"+E+","+M+"H"+k+"L"+L+","+F+"L"+I+","+N+"L0,"+T+"L-"+I+","+N+"L-"+L+","+F+"L-"+k+","+M+"H-"+E+"L0,"+P+"Z")}},hexagram:{n:18,f:function(C,w,R){if(s(w))return i;var A=v(C*.66,2),E=v(C*.38,2),k=v(C*.76,2);return y(w,R,"M-"+k+",0l-"+E+",-"+A+"h"+k+"l"+E+",-"+A+"l"+E+","+A+"h"+k+"l-"+E+","+A+"l"+E+","+A+"h-"+k+"l-"+E+","+A+"l-"+E+",-"+A+"h-"+k+"Z")}},"star-triangle-up":{n:19,f:function(C,w,R){if(s(w))return i;var A=v(C*g*.8,2),E=v(C*.8,2),k=v(C*1.6,2),L=v(C*4,2),I="A "+L+","+L+" 0 0 1 ";return y(w,R,"M-"+A+","+E+I+A+","+E+I+"0,-"+k+I+"-"+A+","+E+"Z")}},"star-triangle-down":{n:20,f:function(C,w,R){if(s(w))return i;var A=v(C*g*.8,2),E=v(C*.8,2),k=v(C*1.6,2),L=v(C*4,2),I="A "+L+","+L+" 0 0 1 ";return y(w,R,"M"+A+",-"+E+I+"-"+A+",-"+E+I+"0,"+k+I+A+",-"+E+"Z")}},"star-square":{n:21,f:function(C,w,R){if(s(w))return i;var A=v(C*1.1,2),E=v(C*2,2),k="A "+E+","+E+" 0 0 1 ";return y(w,R,"M-"+A+",-"+A+k+"-"+A+","+A+k+A+","+A+k+A+",-"+A+k+"-"+A+",-"+A+"Z")}},"star-diamond":{n:22,f:function(C,w,R){if(s(w))return i;var A=v(C*1.4,2),E=v(C*1.9,2),k="A "+E+","+E+" 0 0 1 ";return y(w,R,"M-"+A+",0"+k+"0,"+A+k+A+",0"+k+"0,-"+A+k+"-"+A+",0Z")}},"diamond-tall":{n:23,f:function(C,w,R){if(s(w))return i;var A=v(C*.7,2),E=v(C*1.4,2);return y(w,R,"M0,"+E+"L"+A+",0L0,-"+E+"L-"+A+",0Z")}},"diamond-wide":{n:24,f:function(C,w,R){if(s(w))return i;var A=v(C*1.4,2),E=v(C*.7,2);return y(w,R,"M0,"+E+"L"+A+",0L0,-"+E+"L-"+A+",0Z")}},hourglass:{n:25,f:function(C,w,R){if(s(w))return i;var A=v(C,2);return y(w,R,"M"+A+","+A+"H-"+A+"L"+A+",-"+A+"H-"+A+"Z")},noDot:!0},bowtie:{n:26,f:function(C,w,R){if(s(w))return i;var A=v(C,2);return y(w,R,"M"+A+","+A+"V-"+A+"L-"+A+","+A+"V-"+A+"Z")},noDot:!0},"circle-cross":{n:27,f:function(C,w,R){if(s(w))return i;var A=v(C,2);return y(w,R,"M0,"+A+"V-"+A+"M"+A+",0H-"+A+"M"+A+",0A"+A+","+A+" 0 1,1 0,-"+A+"A"+A+","+A+" 0 0,1 "+A+",0Z")},needLine:!0,noDot:!0},"circle-x":{n:28,f:function(C,w,R){if(s(w))return i;var A=v(C,2),E=v(C/S,2);return y(w,R,"M"+E+","+E+"L-"+E+",-"+E+"M"+E+",-"+E+"L-"+E+","+E+"M"+A+",0A"+A+","+A+" 0 1,1 0,-"+A+"A"+A+","+A+" 0 0,1 "+A+",0Z")},needLine:!0,noDot:!0},"square-cross":{n:29,f:function(C,w,R){if(s(w))return i;var A=v(C,2);return y(w,R,"M0,"+A+"V-"+A+"M"+A+",0H-"+A+"M"+A+","+A+"H-"+A+"V-"+A+"H"+A+"Z")},needLine:!0,noDot:!0},"square-x":{n:30,f:function(C,w,R){if(s(w))return i;var A=v(C,2);return y(w,R,"M"+A+","+A+"L-"+A+",-"+A+"M"+A+",-"+A+"L-"+A+","+A+"M"+A+","+A+"H-"+A+"V-"+A+"H"+A+"Z")},needLine:!0,noDot:!0},"diamond-cross":{n:31,f:function(C,w,R){if(s(w))return i;var A=v(C*1.3,2);return y(w,R,"M"+A+",0L0,"+A+"L-"+A+",0L0,-"+A+"ZM0,-"+A+"V"+A+"M-"+A+",0H"+A)},needLine:!0,noDot:!0},"diamond-x":{n:32,f:function(C,w,R){if(s(w))return i;var A=v(C*1.3,2),E=v(C*.65,2);return y(w,R,"M"+A+",0L0,"+A+"L-"+A+",0L0,-"+A+"ZM-"+E+",-"+E+"L"+E+","+E+"M-"+E+","+E+"L"+E+",-"+E)},needLine:!0,noDot:!0},"cross-thin":{n:33,f:function(C,w,R){if(s(w))return i;var A=v(C*1.4,2);return y(w,R,"M0,"+A+"V-"+A+"M"+A+",0H-"+A)},needLine:!0,noDot:!0,noFill:!0},"x-thin":{n:34,f:function(C,w,R){if(s(w))return i;var A=v(C,2);return y(w,R,"M"+A+","+A+"L-"+A+",-"+A+"M"+A+",-"+A+"L-"+A+","+A)},needLine:!0,noDot:!0,noFill:!0},asterisk:{n:35,f:function(C,w,R){if(s(w))return i;var A=v(C*1.2,2),E=v(C*.85,2);return y(w,R,"M0,"+A+"V-"+A+"M"+A+",0H-"+A+"M"+E+","+E+"L-"+E+",-"+E+"M"+E+",-"+E+"L-"+E+","+E)},needLine:!0,noDot:!0,noFill:!0},hash:{n:36,f:function(C,w,R){if(s(w))return i;var A=v(C/2,2),E=v(C,2);return y(w,R,"M"+A+","+E+"V-"+E+"M"+(A-E)+",-"+E+"V"+E+"M"+E+","+A+"H-"+E+"M-"+E+","+(A-E)+"H"+E)},needLine:!0,noFill:!0},"y-up":{n:37,f:function(C,w,R){if(s(w))return i;var A=v(C*1.2,2),E=v(C*1.6,2),k=v(C*.8,2);return y(w,R,"M-"+A+","+k+"L0,0M"+A+","+k+"L0,0M0,-"+E+"L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-down":{n:38,f:function(C,w,R){if(s(w))return i;var A=v(C*1.2,2),E=v(C*1.6,2),k=v(C*.8,2);return y(w,R,"M-"+A+",-"+k+"L0,0M"+A+",-"+k+"L0,0M0,"+E+"L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-left":{n:39,f:function(C,w,R){if(s(w))return i;var A=v(C*1.2,2),E=v(C*1.6,2),k=v(C*.8,2);return y(w,R,"M"+k+","+A+"L0,0M"+k+",-"+A+"L0,0M-"+E+",0L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-right":{n:40,f:function(C,w,R){if(s(w))return i;var A=v(C*1.2,2),E=v(C*1.6,2),k=v(C*.8,2);return y(w,R,"M-"+k+","+A+"L0,0M-"+k+",-"+A+"L0,0M"+E+",0L0,0")},needLine:!0,noDot:!0,noFill:!0},"line-ew":{n:41,f:function(C,w,R){if(s(w))return i;var A=v(C*1.4,2);return y(w,R,"M"+A+",0H-"+A)},needLine:!0,noDot:!0,noFill:!0},"line-ns":{n:42,f:function(C,w,R){if(s(w))return i;var A=v(C*1.4,2);return y(w,R,"M0,"+A+"V-"+A)},needLine:!0,noDot:!0,noFill:!0},"line-ne":{n:43,f:function(C,w,R){if(s(w))return i;var A=v(C,2);return y(w,R,"M"+A+",-"+A+"L-"+A+","+A)},needLine:!0,noDot:!0,noFill:!0},"line-nw":{n:44,f:function(C,w,R){if(s(w))return i;var A=v(C,2);return y(w,R,"M"+A+","+A+"L-"+A+",-"+A)},needLine:!0,noDot:!0,noFill:!0},"arrow-up":{n:45,f:function(C,w,R){if(s(w))return i;var A=v(C,2),E=v(C*2,2);return y(w,R,"M0,0L-"+A+","+E+"H"+A+"Z")},backoff:1,noDot:!0},"arrow-down":{n:46,f:function(C,w,R){if(s(w))return i;var A=v(C,2),E=v(C*2,2);return y(w,R,"M0,0L-"+A+",-"+E+"H"+A+"Z")},noDot:!0},"arrow-left":{n:47,f:function(C,w,R){if(s(w))return i;var A=v(C*2,2),E=v(C,2);return y(w,R,"M0,0L"+A+",-"+E+"V"+E+"Z")},noDot:!0},"arrow-right":{n:48,f:function(C,w,R){if(s(w))return i;var A=v(C*2,2),E=v(C,2);return y(w,R,"M0,0L-"+A+",-"+E+"V"+E+"Z")},noDot:!0},"arrow-bar-up":{n:49,f:function(C,w,R){if(s(w))return i;var A=v(C,2),E=v(C*2,2);return y(w,R,"M-"+A+",0H"+A+"M0,0L-"+A+","+E+"H"+A+"Z")},backoff:1,needLine:!0,noDot:!0},"arrow-bar-down":{n:50,f:function(C,w,R){if(s(w))return i;var A=v(C,2),E=v(C*2,2);return y(w,R,"M-"+A+",0H"+A+"M0,0L-"+A+",-"+E+"H"+A+"Z")},needLine:!0,noDot:!0},"arrow-bar-left":{n:51,f:function(C,w,R){if(s(w))return i;var A=v(C*2,2),E=v(C,2);return y(w,R,"M0,-"+E+"V"+E+"M0,0L"+A+",-"+E+"V"+E+"Z")},needLine:!0,noDot:!0},"arrow-bar-right":{n:52,f:function(C,w,R){if(s(w))return i;var A=v(C*2,2),E=v(C,2);return y(w,R,"M0,-"+E+"V"+E+"M0,0L-"+A+",-"+E+"V"+E+"Z")},needLine:!0,noDot:!0},arrow:{n:53,f:function(C,w,R){if(s(w))return i;var A=p/2.5,E=2*C*_(A),k=2*C*c(A);return y(w,R,"M0,0L"+-E+","+k+"L"+E+","+k+"Z")},backoff:.9,noDot:!0},"arrow-wide":{n:54,f:function(C,w,R){if(s(w))return i;var A=p/4,E=2*C*_(A),k=2*C*c(A);return y(w,R,"M0,0L"+-E+","+k+"A "+2*C+","+2*C+" 0 0 1 "+E+","+k+"Z")},backoff:.4,noDot:!0}};function s(C){return C===null}var d,f,b,x;function y(C,w,R){if((!C||C%360===0)&&!w)return R;if(b===C&&x===w&&d===R)return f;b=C,x=w,d=R;function A(B,Y){var z=_(B),V=c(B),j=Y[0],G=Y[1]+(w||0);return[j*z-G*V,j*V+G*z]}for(var E=C/180*p,k=0,L=0,I=l(R),P="",M=0;M<I.length;M++){var F=I[M],N=F[0],T=k,D=L;if(N==="M"||N==="L")k=+F[1],L=+F[2];else if(N==="m"||N==="l")k+=+F[1],L+=+F[2];else if(N==="H")k=+F[1];else if(N==="h")k+=+F[1];else if(N==="V")L=+F[1];else if(N==="v")L+=+F[1];else if(N==="A"){k=+F[1],L=+F[2];var O=A(E,[+F[6],+F[7]]);F[6]=O[0],F[7]=O[1],F[3]=+F[3]+C}(N==="H"||N==="V")&&(N="L"),(N==="h"||N==="v")&&(N="l"),(N==="m"||N==="l")&&(k-=T,L-=D);var U=A(E,[k,L]);(N==="H"||N==="V")&&(N="L"),(N==="M"||N==="L"||N==="m"||N==="l")&&(F[1]=U[0],F[2]=U[1]),F[0]=N,P+=F[0]+F.slice(1).join(",")}return f=P,P}},97644:function(u){u.exports={visible:{valType:"boolean",editType:"calc"},type:{valType:"enumerated",values:["percent","constant","sqrt","data"],editType:"calc"},symmetric:{valType:"boolean",editType:"calc"},array:{valType:"data_array",editType:"calc"},arrayminus:{valType:"data_array",editType:"calc"},value:{valType:"number",min:0,dflt:10,editType:"calc"},valueminus:{valType:"number",min:0,dflt:10,editType:"calc"},traceref:{valType:"integer",min:0,dflt:0,editType:"style"},tracerefminus:{valType:"integer",min:0,dflt:0,editType:"style"},copy_ystyle:{valType:"boolean",editType:"plot"},copy_zstyle:{valType:"boolean",editType:"style"},color:{valType:"color",editType:"style"},thickness:{valType:"number",min:0,dflt:2,editType:"style"},width:{valType:"number",min:0,editType:"plot"},editType:"calc",_deprecated:{opacity:{valType:"number",editType:"style"}}}},14880:function(u,h,a){var l=a(38248),v=a(24040),i=a(54460),S=a(3400),g=a(93792);u.exports=function(c){for(var s=c.calcdata,d=0;d<s.length;d++){var f=s[d],b=f[0].trace;if(b.visible===!0&&v.traceIs(b,"errorBarsOK")){var x=i.getFromId(c,b.xaxis),y=i.getFromId(c,b.yaxis);p(f,b,x,"x"),p(f,b,y,"y")}}};function p(_,c,s,d){var f=c["error_"+d]||{},b=f.visible&&["linear","log"].indexOf(s.type)!==-1,x=[];if(b){for(var y=g(f),C=0;C<_.length;C++){var w=_[C],R=w.i;if(R===void 0)R=C;else if(R===null)continue;var A=w[d];if(l(s.c2l(A))){var E=y(A,R);if(l(E[0])&&l(E[1])){var k=w[d+"s"]=A-E[0],L=w[d+"h"]=A+E[1];x.push(k,L)}}}var I=s._id,P=c._extremes[I],M=i.findExtremes(s,x,S.extendFlat({tozero:P.opts.tozero},{padded:!0}));P.min=P.min.concat(M.min),P.max=P.max.concat(M.max)}}},93792:function(u){u.exports=function(l){var v=l.type,i=l.symmetric;if(v==="data"){var S=l.array||[];if(i)return function(s,d){var f=+S[d];return[f,f]};var g=l.arrayminus||[];return function(s,d){var f=+S[d],b=+g[d];return!isNaN(f)||!isNaN(b)?[b||0,f||0]:[NaN,NaN]}}else{var p=h(v,l.value),_=h(v,l.valueminus);return i||l.valueminus===void 0?function(s){var d=p(s);return[d,d]}:function(s){return[_(s),p(s)]}}};function h(a,l){if(a==="percent")return function(v){return Math.abs(v*l/100)};if(a==="constant")return function(){return Math.abs(l)};if(a==="sqrt")return function(v){return Math.sqrt(Math.abs(v))}}},65200:function(u,h,a){var l=a(38248),v=a(24040),i=a(3400),S=a(31780),g=a(97644);u.exports=function(p,_,c,s){var d="error_"+s.axis,f=S.newContainer(_,d),b=p[d]||{};function x(k,L){return i.coerce(b,f,g,k,L)}var y=b.array!==void 0||b.value!==void 0||b.type==="sqrt",C=x("visible",y);if(C!==!1){var w=x("type","array"in b?"data":"percent"),R=!0;w!=="sqrt"&&(R=x("symmetric",!((w==="data"?"arrayminus":"valueminus")in b))),w==="data"?(x("array"),x("traceref"),R||(x("arrayminus"),x("tracerefminus"))):(w==="percent"||w==="constant")&&(x("value"),R||x("valueminus"));var A="copy_"+s.inherit+"style";if(s.inherit){var E=_["error_"+s.inherit];(E||{}).visible&&x(A,!(b.color||l(b.thickness)||l(b.width)))}(!s.inherit||!f[A])&&(x("color",c),x("thickness"),x("width",v.traceIs(_,"gl3d")?0:4))}}},64968:function(u,h,a){var l=a(3400),v=a(67824).overrideAll,i=a(97644),S={error_x:l.extendFlat({},i),error_y:l.extendFlat({},i)};delete S.error_x.copy_zstyle,delete S.error_y.copy_zstyle,delete S.error_y.copy_ystyle;var g={error_x:l.extendFlat({},i),error_y:l.extendFlat({},i),error_z:l.extendFlat({},i)};delete g.error_x.copy_ystyle,delete g.error_y.copy_ystyle,delete g.error_z.copy_ystyle,delete g.error_z.copy_zstyle,u.exports={moduleType:"component",name:"errorbars",schema:{traces:{scatter:S,bar:S,histogram:S,scatter3d:v(g,"calc","nested"),scattergl:v(S,"calc","nested")}},supplyDefaults:a(65200),calc:a(14880),makeComputeError:a(93792),plot:a(78512),style:a(92036),hoverInfo:p};function p(_,c,s){(c.error_y||{}).visible&&(s.yerr=_.yh-_.y,c.error_y.symmetric||(s.yerrneg=_.y-_.ys)),(c.error_x||{}).visible&&(s.xerr=_.xh-_.x,c.error_x.symmetric||(s.xerrneg=_.x-_.xs))}},78512:function(u,h,a){var l=a(33428),v=a(38248),i=a(43616),S=a(43028);u.exports=function(_,c,s,d){var f,b=s.xaxis,x=s.yaxis,y=d&&d.duration>0,C=_._context.staticPlot;c.each(function(w){var R=w[0].trace,A=R.error_x||{},E=R.error_y||{},k;R.ids&&(k=function(M){return M.id});var L=S.hasMarkers(R)&&R.marker.maxdisplayed>0;!E.visible&&!A.visible&&(w=[]);var I=l.select(this).selectAll("g.errorbar").data(w,k);if(I.exit().remove(),!!w.length){A.visible||I.selectAll("path.xerror").remove(),E.visible||I.selectAll("path.yerror").remove(),I.style("opacity",1);var P=I.enter().append("g").classed("errorbar",!0);y&&P.style("opacity",0).transition().duration(d.duration).style("opacity",1),i.setClipUrl(I,s.layerClipId,_),I.each(function(M){var F=l.select(this),N=g(M,b,x);if(!(L&&!M.vis)){var T,D=F.select("path.yerror");if(E.visible&&v(N.x)&&v(N.yh)&&v(N.ys)){var O=E.width;T="M"+(N.x-O)+","+N.yh+"h"+2*O+"m-"+O+",0V"+N.ys,N.noYS||(T+="m-"+O+",0h"+2*O),f=!D.size(),f?D=F.append("path").style("vector-effect",C?"none":"non-scaling-stroke").classed("yerror",!0):y&&(D=D.transition().duration(d.duration).ease(d.easing)),D.attr("d",T)}else D.remove();var U=F.select("path.xerror");if(A.visible&&v(N.y)&&v(N.xh)&&v(N.xs)){var B=(A.copy_ystyle?E:A).width;T="M"+N.xh+","+(N.y-B)+"v"+2*B+"m0,-"+B+"H"+N.xs,N.noXS||(T+="m0,-"+B+"v"+2*B),f=!U.size(),f?U=F.append("path").style("vector-effect",C?"none":"non-scaling-stroke").classed("xerror",!0):y&&(U=U.transition().duration(d.duration).ease(d.easing)),U.attr("d",T)}else U.remove()}})}})};function g(p,_,c){var s={x:_.c2p(p.x),y:c.c2p(p.y)};return p.yh!==void 0&&(s.yh=c.c2p(p.yh),s.ys=c.c2p(p.ys),v(s.ys)||(s.noYS=!0,s.ys=c.c2p(p.ys,!0))),p.xh!==void 0&&(s.xh=_.c2p(p.xh),s.xs=_.c2p(p.xs),v(s.xs)||(s.noXS=!0,s.xs=_.c2p(p.xs,!0))),s}},92036:function(u,h,a){var l=a(33428),v=a(76308);u.exports=function(S){S.each(function(g){var p=g[0].trace,_=p.error_y||{},c=p.error_x||{},s=l.select(this);s.selectAll("path.yerror").style("stroke-width",_.thickness+"px").call(v.stroke,_.color),c.copy_ystyle&&(c=_),s.selectAll("path.xerror").style("stroke-width",c.thickness+"px").call(v.stroke,c.color)})}},55756:function(u,h,a){var l=a(25376),v=a(65460).hoverlabel,i=a(92880).extendFlat;u.exports={hoverlabel:{bgcolor:i({},v.bgcolor,{arrayOk:!0}),bordercolor:i({},v.bordercolor,{arrayOk:!0}),font:l({arrayOk:!0,editType:"none"}),align:i({},v.align,{arrayOk:!0}),namelength:i({},v.namelength,{arrayOk:!0}),editType:"none"}}},55056:function(u,h,a){var l=a(3400),v=a(24040);u.exports=function(g){var p=g.calcdata,_=g._fullLayout;function c(x){return function(y){return l.coerceHoverinfo({hoverinfo:y},{_module:x._module},_)}}for(var s=0;s<p.length;s++){var d=p[s],f=d[0].trace;if(!v.traceIs(f,"pie-like")){var b=v.traceIs(f,"2dMap")?i:l.fillArray;b(f.hoverinfo,d,"hi",c(f)),f.hovertemplate&&b(f.hovertemplate,d,"ht"),f.hoverlabel&&(b(f.hoverlabel.bgcolor,d,"hbg"),b(f.hoverlabel.bordercolor,d,"hbc"),b(f.hoverlabel.font.size,d,"hts"),b(f.hoverlabel.font.color,d,"htc"),b(f.hoverlabel.font.family,d,"htf"),b(f.hoverlabel.namelength,d,"hnl"),b(f.hoverlabel.align,d,"hta"))}}};function i(S,g,p,_){_=_||l.identity,Array.isArray(S)&&(g[0][p]=_(S))}},62376:function(u,h,a){var l=a(24040),v=a(83292).hover;u.exports=function(S,g,p){var _=l.getComponentMethod("annotations","onClick")(S,S._hoverdata);p!==void 0&&v(S,g,p,!0);function c(){S.emit("plotly_click",{points:S._hoverdata,event:g})}S._hoverdata&&g&&g.target&&(_&&_.then?_.then(c):c(),g.stopImmediatePropagation&&g.stopImmediatePropagation())}},92456:function(u){u.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}},95448:function(u,h,a){var l=a(3400),v=a(55756),i=a(16132);u.exports=function(g,p,_,c){function s(f,b){return l.coerce(g,p,v,f,b)}var d=l.extendFlat({},c.hoverlabel);p.hovertemplate&&(d.namelength=-1),i(g,p,s,d)}},10624:function(u,h,a){var l=a(3400);h.getSubplot=function(_){return _.subplot||_.xaxis+_.yaxis||_.geo},h.isTraceInSubplots=function(_,c){if(_.type==="splom"){for(var s=_.xaxes||[],d=_.yaxes||[],f=0;f<s.length;f++)for(var b=0;b<d.length;b++)if(c.indexOf(s[f]+d[b])!==-1)return!0;return!1}return c.indexOf(h.getSubplot(_))!==-1},h.flat=function(_,c){for(var s=new Array(_.length),d=0;d<_.length;d++)s[d]=c;return s},h.p2c=function(_,c){for(var s=new Array(_.length),d=0;d<_.length;d++)s[d]=_[d].p2c(c);return s},h.getDistanceFunction=function(_,c,s,d){return _==="closest"?d||h.quadrature(c,s):_.charAt(0)==="x"?c:s},h.getClosest=function(_,c,s){if(s.index!==!1)s.index>=0&&s.index<_.length?s.distance=0:s.index=!1;else for(var d=0;d<_.length;d++){var f=c(_[d]);f<=s.distance&&(s.index=d,s.distance=f)}return s},h.inbox=function(_,c,s){return _*c<0||_===0?s:1/0},h.quadrature=function(_,c){return function(s){var d=_(s),f=c(s);return Math.sqrt(d*d+f*f)}},h.makeEventData=function(_,c,s){var d="index"in _?_.index:_.pointNumber,f={data:c._input,fullData:c,curveNumber:c.index,pointNumber:d};if(c._indexToPoints){var b=c._indexToPoints[d];b.length===1?f.pointIndex=b[0]:f.pointIndices=b}else f.pointIndex=d;return c._module.eventData?f=c._module.eventData(f,_,c,s,d):("xVal"in _?f.x=_.xVal:"x"in _&&(f.x=_.x),"yVal"in _?f.y=_.yVal:"y"in _&&(f.y=_.y),_.xa&&(f.xaxis=_.xa),_.ya&&(f.yaxis=_.ya),_.zLabelVal!==void 0&&(f.z=_.zLabelVal)),h.appendArrayPointValue(f,c,d),f},h.appendArrayPointValue=function(_,c,s){var d=c._arrayAttrs;if(d)for(var f=0;f<d.length;f++){var b=d[f],x=i(b);if(_[x]===void 0){var y=l.nestedProperty(c,b).get(),C=S(y,s);C!==void 0&&(_[x]=C)}}},h.appendArrayMultiPointValues=function(_,c,s){var d=c._arrayAttrs;if(d)for(var f=0;f<d.length;f++){var b=d[f],x=i(b);if(_[x]===void 0){for(var y=l.nestedProperty(c,b).get(),C=new Array(s.length),w=0;w<s.length;w++)C[w]=S(y,s[w]);_[x]=C}}};var v={ids:"id",locations:"location",labels:"label",values:"value","marker.colors":"color",parents:"parent"};function i(_){return v[_]||_}function S(_,c){if(Array.isArray(c)){if(Array.isArray(_)&&Array.isArray(_[c[0]]))return _[c[0]][c[1]]}else return _[c]}var g={x:!0,y:!0},p={"x unified":!0,"y unified":!0};h.isUnifiedHover=function(_){return typeof _!="string"?!1:!!p[_]},h.isXYhover=function(_){return typeof _!="string"?!1:!!g[_]}},83292:function(u,h,a){var l=a(33428),v=a(38248),i=a(49760),S=a(3400),g=S.strTranslate,p=S.strRotate,_=a(95924),c=a(72736),s=a(72213),d=a(43616),f=a(76308),b=a(86476),x=a(54460),y=a(24040),C=a(10624),w=a(92456),R=a(77864),A=a(31140),E=w.YANGLE,k=Math.PI*E/180,L=1/Math.sin(k),I=Math.cos(k),P=Math.sin(k),M=w.HOVERARROWSIZE,F=w.HOVERTEXTPAD,N={box:!0,ohlc:!0,violin:!0,candlestick:!0},T={scatter:!0,scattergl:!0,splom:!0};h.hover=function(ce,re,ee,de){ce=S.getGraphDiv(ce);var oe=re.target;S.throttle(ce._fullLayout._uid+w.HOVERID,w.HOVERMINTIME,function(){D(ce,re,ee,de,oe)})},h.loneHover=function(ce,re){var ee=!0;Array.isArray(ce)||(ee=!1,ce=[ce]);var de=re.gd,oe=Z(de),fe=le(de),me=ce.map(function(ze){var Fe=ze._x0||ze.x0||ze.x||0,We=ze._x1||ze.x1||ze.x||0,lt=ze._y0||ze.y0||ze.y||0,ht=ze._y1||ze.y1||ze.y||0,tt=ze.eventData;if(tt){var et=Math.min(Fe,We),pt=Math.max(Fe,We),vt=Math.min(lt,ht),_t=Math.max(lt,ht),bt=ze.trace;if(y.traceIs(bt,"gl3d")){var Rt=de._fullLayout[bt.scene]._scene.container,ct=Rt.offsetLeft,Ve=Rt.offsetTop;et+=ct,pt+=ct,vt+=Ve,_t+=Ve}tt.bbox={x0:et+fe,x1:pt+fe,y0:vt+oe,y1:_t+oe},re.inOut_bbox&&re.inOut_bbox.push(tt.bbox)}else tt=!1;return{color:ze.color||f.defaultLine,x0:ze.x0||ze.x||0,x1:ze.x1||ze.x||0,y0:ze.y0||ze.y||0,y1:ze.y1||ze.y||0,xLabel:ze.xLabel,yLabel:ze.yLabel,zLabel:ze.zLabel,text:ze.text,name:ze.name,idealAlign:ze.idealAlign,borderColor:ze.borderColor,fontFamily:ze.fontFamily,fontSize:ze.fontSize,fontColor:ze.fontColor,nameLength:ze.nameLength,textAlign:ze.textAlign,trace:ze.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:ze.hovertemplate||!1,hovertemplateLabels:ze.hovertemplateLabels||!1,eventData:tt}}),Te=!1,we=B(me,{gd:de,hovermode:"closest",rotateLabels:Te,bgColor:re.bgColor||f.background,container:l.select(re.container),outerContainer:re.outerContainer||re.container}),Be=we.hoverLabels,Ae=5,Re=0,be=0;Be.sort(function(ze,Fe){return ze.y0-Fe.y0}).each(function(ze,Fe){var We=ze.y0-ze.by/2;We-Ae<Re?ze.offset=Re-We+Ae:ze.offset=0,Re=We+ze.by+ze.offset,Fe===re.anchorIndex&&(be=ze.offset)}).each(function(ze){ze.offset-=be});var Pe=de._fullLayout._invScaleX,Ke=de._fullLayout._invScaleY;return G(Be,Te,Pe,Ke),ee?Be:Be.node()};function D(te,ce,re,ee,de){re||(re="xy");var oe=Array.isArray(re)?re:[re],fe=te._fullLayout,me=fe._plots||[],Te=me[re],we=fe._has("cartesian");if(Te){var Be=Te.overlays.map(function(Cr){return Cr.id});oe=oe.concat(Be)}for(var Ae=oe.length,Re=new Array(Ae),be=new Array(Ae),Pe=!1,Ke=0;Ke<Ae;Ke++){var ze=oe[Ke];if(me[ze])Pe=!0,Re[Ke]=me[ze].xaxis,be[Ke]=me[ze].yaxis;else if(fe[ze]&&fe[ze]._subplot){var Fe=fe[ze]._subplot;Re[Ke]=Fe.xaxis,be[Ke]=Fe.yaxis}else{S.warn("Unrecognized subplot: "+ze);return}}var We=ce.hovermode||fe.hovermode;if(We&&!Pe&&(We="closest"),["x","y","closest","x unified","y unified"].indexOf(We)===-1||!te.calcdata||te.querySelector(".zoombox")||te._dragging)return b.unhoverRaw(te,ce);var lt=fe.hoverdistance;lt===-1&&(lt=1/0);var ht=fe.spikedistance;ht===-1&&(ht=1/0);var tt=[],et=[],pt,vt,_t,bt,Rt,ct,Ve,Qe,rt,qe,He,Ce,Se,Le={hLinePoint:null,vLinePoint:null},Ne=!1;if(Array.isArray(ce))for(We="array",_t=0;_t<ce.length;_t++)Rt=te.calcdata[ce[_t].curveNumber||0],Rt&&(ct=Rt[0].trace,Rt[0].trace.hoverinfo!=="skip"&&(et.push(Rt),ct.orientation==="h"&&(Ne=!0)));else{for(bt=0;bt<te.calcdata.length;bt++)Rt=te.calcdata[bt],ct=Rt[0].trace,ct.hoverinfo!=="skip"&&C.isTraceInSubplots(ct,oe)&&(et.push(Rt),ct.orientation==="h"&&(Ne=!0));var je=!de,Je,ut;if(je)"xpx"in ce?Je=ce.xpx:Je=Re[0]._length/2,"ypx"in ce?ut=ce.ypx:ut=be[0]._length/2;else{if(_.triggerHandler(te,"plotly_beforehover",ce)===!1)return;var Et=de.getBoundingClientRect();Je=ce.clientX-Et.left,ut=ce.clientY-Et.top,fe._calcInverseTransform(te);var wt=S.apply3DTransform(fe._invTransform)(Je,ut);if(Je=wt[0],ut=wt[1],Je<0||Je>Re[0]._length||ut<0||ut>be[0]._length)return b.unhoverRaw(te,ce)}if(ce.pointerX=Je+Re[0]._offset,ce.pointerY=ut+be[0]._offset,"xval"in ce?pt=C.flat(oe,ce.xval):pt=C.p2c(Re,Je),"yval"in ce?vt=C.flat(oe,ce.yval):vt=C.p2c(be,ut),!v(pt[0])||!v(vt[0]))return S.warn("Fx.hover failed",ce,te),b.unhoverRaw(te,ce)}var nr=1/0;function ir(Cr,Jr){for(bt=0;bt<et.length;bt++)if(Rt=et[bt],!(!Rt||!Rt[0]||!Rt[0].trace)&&(ct=Rt[0].trace,!(ct.visible!==!0||ct._length===0)&&["carpet","contourcarpet"].indexOf(ct._module.name)===-1)){if(ct.type==="splom"?(Qe=0,Ve=oe[Qe]):(Ve=C.getSubplot(ct),Qe=oe.indexOf(Ve)),rt=We,C.isUnifiedHover(rt)&&(rt=rt.charAt(0)),Ce={cd:Rt,trace:ct,xa:Re[Qe],ya:be[Qe],maxHoverDistance:lt,maxSpikeDistance:ht,index:!1,distance:Math.min(nr,lt),spikeDistance:1/0,xSpike:void 0,ySpike:void 0,color:f.defaultLine,name:ct.name,x0:void 0,x1:void 0,y0:void 0,y1:void 0,xLabelVal:void 0,yLabelVal:void 0,zLabelVal:void 0,text:void 0},fe[Ve]&&(Ce.subplot=fe[Ve]._subplot),fe._splomScenes&&fe._splomScenes[ct.uid]&&(Ce.scene=fe._splomScenes[ct.uid]),Se=tt.length,rt==="array"){var un=ce[bt];"pointNumber"in un?(Ce.index=un.pointNumber,rt="closest"):(rt="","xval"in un&&(qe=un.xval,rt="x"),"yval"in un&&(He=un.yval,rt=rt?"closest":"y"))}else Cr!==void 0&&Jr!==void 0?(qe=Cr,He=Jr):(qe=pt[Qe],He=vt[Qe]);if(lt!==0)if(ct._module&&ct._module.hoverPoints){var sn=ct._module.hoverPoints(Ce,qe,He,rt,{finiteRange:!0,hoverLayer:fe._hoverlayer});if(sn)for(var Nn,Hn=0;Hn<sn.length;Hn++)Nn=sn[Hn],v(Nn.x0)&&v(Nn.y0)&&tt.push(W(Nn,We))}else S.log("Unrecognized trace type in hover:",ct);if(We==="closest"&&tt.length>Se&&(tt.splice(0,Se),nr=tt[0].distance),we&&ht!==0&&tt.length===0){Ce.distance=ht,Ce.index=!1;var $n=ct._module.hoverPoints(Ce,qe,He,"closest",{hoverLayer:fe._hoverlayer});if($n&&($n=$n.filter(function(Za){return Za.spikeDistance<=ht})),$n&&$n.length){var da,_a=$n.filter(function(Za){return Za.xa.showspikes&&Za.xa.spikesnap!=="hovered data"});if(_a.length){var Ya=_a[0];v(Ya.x0)&&v(Ya.y0)&&(da=Gt(Ya),(!Le.vLinePoint||Le.vLinePoint.spikeDistance>da.spikeDistance)&&(Le.vLinePoint=da))}var di=$n.filter(function(Za){return Za.ya.showspikes&&Za.ya.spikesnap!=="hovered data"});if(di.length){var ii=di[0];v(ii.x0)&&v(ii.y0)&&(da=Gt(ii),(!Le.hLinePoint||Le.hLinePoint.spikeDistance>da.spikeDistance)&&(Le.hLinePoint=da))}}}}}ir();function It(Cr,Jr,un){for(var sn=null,Nn=1/0,Hn,$n=0;$n<Cr.length;$n++)Hn=Cr[$n].spikeDistance,un&&$n===0&&(Hn=-1/0),Hn<=Nn&&Hn<=Jr&&(sn=Cr[$n],Nn=Hn);return sn}function Gt(Cr){return Cr?{xa:Cr.xa,ya:Cr.ya,x:Cr.xSpike!==void 0?Cr.xSpike:(Cr.x0+Cr.x1)/2,y:Cr.ySpike!==void 0?Cr.ySpike:(Cr.y0+Cr.y1)/2,distance:Cr.distance,spikeDistance:Cr.spikeDistance,curveNumber:Cr.trace.index,color:Cr.color,pointNumber:Cr.index}:null}var cr={fullLayout:fe,container:fe._hoverlayer,event:ce};te._spikepoints;var Pr={vLinePoint:Le.vLinePoint,hLinePoint:Le.hLinePoint};te._spikepoints=Pr;var Ct=function(){tt.sort(function(Cr,Jr){return Cr.distance-Jr.distance}),tt=he(tt,We)};Ct();var or=We.charAt(0),ur=(or==="x"||or==="y")&&tt[0]&&T[tt[0].trace.type];if(we&&ht!==0&&tt.length!==0){var Ir=tt.filter(function(Cr){return Cr.ya.showspikes}),yr=It(Ir,ht,ur);Le.hLinePoint=Gt(yr);var At=tt.filter(function(Cr){return Cr.xa.showspikes}),mt=It(At,ht,ur);Le.vLinePoint=Gt(mt)}if(tt.length===0){var Mt=b.unhoverRaw(te,ce);return we&&(Le.hLinePoint!==null||Le.vLinePoint!==null)&&ae()&&X(te,Le,cr),Mt}if(we&&ae()&&X(te,Le,cr),C.isXYhover(rt)&&tt[0].length!==0&&tt[0].trace.type!=="splom"){var Pt=tt[0];N[Pt.trace.type]?tt=tt.filter(function(Cr){return Cr.trace.index===Pt.trace.index}):tt=[Pt];var Ht=tt.length,Ut=J("x",Pt,fe),Zt=J("y",Pt,fe);ir(Ut,Zt);var Xt=[],sr={},Sr=0,wr=function(Cr){var Jr=N[Cr.trace.type]?O(Cr):Cr.trace.index;if(!sr[Jr])Sr++,sr[Jr]=Sr,Xt.push(Cr);else{var un=sr[Jr]-1,sn=Xt[un];un>0&&Math.abs(Cr.distance)<Math.abs(sn.distance)&&(Xt[un]=Cr)}},Tr;for(Tr=0;Tr<Ht;Tr++)wr(tt[Tr]);for(Tr=tt.length-1;Tr>Ht-1;Tr--)wr(tt[Tr]);tt=Xt,Ct()}var Ze=te._hoverdata,Xe=[],Wt=Z(te),jt=le(te);for(_t=0;_t<tt.length;_t++){var ar=tt[_t],mr=C.makeEventData(ar,ar.trace,ar.cd);if(ar.hovertemplate!==!1){var br=!1;ar.cd[ar.index]&&ar.cd[ar.index].ht&&(br=ar.cd[ar.index].ht),ar.hovertemplate=br||ar.trace.hovertemplate||!1}if(ar.xa&&ar.ya){var fr=ar.x0+ar.xa._offset,Kt=ar.x1+ar.xa._offset,kr=ar.y0+ar.ya._offset,Rr=ar.y1+ar.ya._offset,Lr=Math.min(fr,Kt),Ar=Math.max(fr,Kt),ln=Math.min(kr,Rr),Kr=Math.max(kr,Rr);mr.bbox={x0:Lr+jt,x1:Ar+jt,y0:ln+Wt,y1:Kr+Wt}}ar.eventData=[mr],Xe.push(mr)}te._hoverdata=Xe;var Xr=We==="y"&&(et.length>1||tt.length>1)||We==="closest"&&Ne&&tt.length>1,Bn=f.combine(fe.plot_bgcolor||f.background,fe.paper_bgcolor),An=B(tt,{gd:te,hovermode:We,rotateLabels:Xr,bgColor:Bn,container:fe._hoverlayer,outerContainer:fe._paper.node(),commonLabelOpts:fe.hoverlabel,hoverdistance:fe.hoverdistance}),ta=An.hoverLabels;if(C.isUnifiedHover(We)||(z(ta,Xr,fe,An.commonLabelBoundingBox),G(ta,Xr,fe._invScaleX,fe._invScaleY)),de&&de.tagName){var ra=y.getComponentMethod("annotations","hasClickToShow")(te,Xe);s(l.select(de),ra?"pointer":"")}!de||ee||!Q(te,ce,Ze)||(Ze&&te.emit("plotly_unhover",{event:ce,points:Ze}),te.emit("plotly_hover",{event:ce,points:te._hoverdata,xaxes:Re,yaxes:be,xvals:pt,yvals:vt}))}function O(te){return[te.trace.index,te.index,te.x0,te.y0,te.name,te.attr,te.xa?te.xa._id:"",te.ya?te.ya._id:""].join(",")}var U=/<extra>([\s\S]*)<\/extra>/;function B(te,ce){var re=ce.gd,ee=re._fullLayout,de=ce.hovermode,oe=ce.rotateLabels,fe=ce.bgColor,me=ce.container,Te=ce.outerContainer,we=ce.commonLabelOpts||{};if(te.length===0)return[[]];var Be=ce.fontFamily||w.HOVERFONT,Ae=ce.fontSize||w.HOVERFONTSIZE,Re=te[0],be=Re.xa,Pe=Re.ya,Ke=de.charAt(0),ze=Ke+"Label",Fe=Re[ze];if(Fe===void 0&&be.type==="multicategory")for(var We=0;We<te.length&&(Fe=te[We][ze],Fe===void 0);We++);var lt=K(re,Te),ht=lt.top,tt=lt.width,et=lt.height,pt=Fe!==void 0&&Re.distance<=ce.hoverdistance&&(de==="x"||de==="y");if(pt){var vt=!0,_t,bt;for(_t=0;_t<te.length;_t++)if(vt&&te[_t].zLabel===void 0&&(vt=!1),bt=te[_t].hoverinfo||te[_t].trace.hoverinfo,bt){var Rt=Array.isArray(bt)?bt:bt.split("+");if(Rt.indexOf("all")===-1&&Rt.indexOf(de)===-1){pt=!1;break}}vt&&(pt=!1)}var ct=me.selectAll("g.axistext").data(pt?[0]:[]);ct.enter().append("g").classed("axistext",!0),ct.exit().remove();var Ve={minX:0,maxX:0,minY:0,maxY:0};if(ct.each(function(){var Ut=l.select(this),Zt=S.ensureSingle(Ut,"path","",function(Xr){Xr.style({"stroke-width":"1px"})}),Xt=S.ensureSingle(Ut,"text","",function(Xr){Xr.attr("data-notex",1)}),sr=we.bgcolor||f.defaultLine,Sr=we.bordercolor||f.contrast(sr),wr=f.contrast(sr),Tr={family:we.font.family||Be,size:we.font.size||Ae,color:we.font.color||wr};Zt.style({fill:sr,stroke:Sr}),Xt.text(Fe).call(d.font,Tr).call(c.positionText,0,0).call(c.convertToTspans,re),Ut.attr("transform","");var Ze=K(re,Xt.node()),Xe,Wt;if(de==="x"){var jt=be.side==="top"?"-":"";Xt.attr("text-anchor","middle").call(c.positionText,0,be.side==="top"?ht-Ze.bottom-M-F:ht-Ze.top+M+F),Xe=be._offset+(Re.x0+Re.x1)/2,Wt=Pe._offset+(be.side==="top"?0:Pe._length);var ar=Ze.width/2+F,mr=Xe;Xe<ar?mr=ar:Xe>ee.width-ar&&(mr=ee.width-ar),Zt.attr("d","M"+(Xe-mr)+",0L"+(Xe-mr+M)+","+jt+M+"H"+ar+"v"+jt+(F*2+Ze.height)+"H"+-ar+"V"+jt+M+"H"+(Xe-mr-M)+"Z"),Xe=mr,Ve.minX=Xe-ar,Ve.maxX=Xe+ar,be.side==="top"?(Ve.minY=Wt-(F*2+Ze.height),Ve.maxY=Wt-F):(Ve.minY=Wt+F,Ve.maxY=Wt+(F*2+Ze.height))}else{var br,fr,Kt;Pe.side==="right"?(br="start",fr=1,Kt="",Xe=be._offset+be._length):(br="end",fr=-1,Kt="-",Xe=be._offset),Wt=Pe._offset+(Re.y0+Re.y1)/2,Xt.attr("text-anchor",br),Zt.attr("d","M0,0L"+Kt+M+","+M+"V"+(F+Ze.height/2)+"h"+Kt+(F*2+Ze.width)+"V-"+(F+Ze.height/2)+"H"+Kt+M+"V-"+M+"Z"),Ve.minY=Wt-(F+Ze.height/2),Ve.maxY=Wt+(F+Ze.height/2),Pe.side==="right"?(Ve.minX=Xe+M,Ve.maxX=Xe+M+(F*2+Ze.width)):(Ve.minX=Xe-M-(F*2+Ze.width),Ve.maxX=Xe-M);var kr=Ze.height/2,Rr=ht-Ze.top-kr,Lr="clip"+ee._uid+"commonlabel"+Pe._id,Ar;if(Xe<Ze.width+2*F+M){Ar="M-"+(M+F)+"-"+kr+"h-"+(Ze.width-F)+"V"+kr+"h"+(Ze.width-F)+"Z";var ln=Ze.width-Xe+F;c.positionText(Xt,ln,Rr),br==="end"&&Xt.selectAll("tspan").each(function(){var Xr=l.select(this),Bn=d.tester.append("text").text(Xr.text()).call(d.font,Tr),An=K(re,Bn.node());Math.round(An.width)<Math.round(Ze.width)&&Xr.attr("x",ln-An.width),Bn.remove()})}else c.positionText(Xt,fr*(F+M),Rr),Ar=null;var Kr=ee._topclips.selectAll("#"+Lr).data(Ar?[0]:[]);Kr.enter().append("clipPath").attr("id",Lr).append("path"),Kr.exit().remove(),Kr.select("path").attr("d",Ar),d.setClipUrl(Xt,Ar?Lr:null,re)}Ut.attr("transform",g(Xe,Wt))}),C.isUnifiedHover(de)){me.selectAll("g.hovertext").remove();var Qe=te.filter(function(Ut){return Ut.hoverinfo!=="none"});if(Qe.length===0)return[];var rt=ee.hoverlabel,qe=rt.font,He={showlegend:!0,legend:{title:{text:Fe,font:qe},font:qe,bgcolor:rt.bgcolor,bordercolor:rt.bordercolor,borderwidth:1,tracegroupgap:7,traceorder:ee.legend?ee.legend.traceorder:void 0,orientation:"v"}},Ce={font:qe};R(He,Ce,re._fullData);var Se=Ce.legend;Se.entries=[];for(var Le=0;Le<Qe.length;Le++){var Ne=Qe[Le];if(Ne.hoverinfo!=="none"){var je=Y(Ne,!0,de,ee,Fe),Je=je[0],ut=je[1];Ne.name=ut,ut!==""?Ne.text=ut+" : "+Je:Ne.text=Je;var Et=Ne.cd[Ne.index];Et&&(Et.mc&&(Ne.mc=Et.mc),Et.mcc&&(Ne.mc=Et.mcc),Et.mlc&&(Ne.mlc=Et.mlc),Et.mlcc&&(Ne.mlc=Et.mlcc),Et.mlw&&(Ne.mlw=Et.mlw),Et.mrc&&(Ne.mrc=Et.mrc),Et.dir&&(Ne.dir=Et.dir)),Ne._distinct=!0,Se.entries.push([Ne])}}Se.entries.sort(function(Ut,Zt){return Ut[0].trace.index-Zt[0].trace.index}),Se.layer=me,Se._inHover=!0,Se._groupTitleFont=rt.grouptitlefont,A(re,Se);var wt=me.select("g.legend"),nr=K(re,wt.node()),ir=nr.width+2*F,It=nr.height+2*F,Gt=Qe[0],cr=(Gt.x0+Gt.x1)/2,Pr=(Gt.y0+Gt.y1)/2,Ct=!(y.traceIs(Gt.trace,"bar-like")||y.traceIs(Gt.trace,"box-violin")),or,ur;Ke==="y"?Ct?(ur=Pr-F,or=Pr+F):(ur=Math.min.apply(null,Qe.map(function(Ut){return Math.min(Ut.y0,Ut.y1)})),or=Math.max.apply(null,Qe.map(function(Ut){return Math.max(Ut.y0,Ut.y1)}))):ur=or=S.mean(Qe.map(function(Ut){return(Ut.y0+Ut.y1)/2}))-It/2;var Ir,yr;Ke==="x"?Ct?(Ir=cr+F,yr=cr-F):(Ir=Math.max.apply(null,Qe.map(function(Ut){return Math.max(Ut.x0,Ut.x1)})),yr=Math.min.apply(null,Qe.map(function(Ut){return Math.min(Ut.x0,Ut.x1)}))):Ir=yr=S.mean(Qe.map(function(Ut){return(Ut.x0+Ut.x1)/2}))-ir/2;var At=be._offset,mt=Pe._offset;or+=mt,Ir+=At,yr+=At-ir,ur+=mt-It;var Mt,Pt;return Ir+ir<tt&&Ir>=0?Mt=Ir:yr+ir<tt&&yr>=0?Mt=yr:At+ir<tt?Mt=At:Ir-cr<cr-yr+ir?Mt=tt-ir:Mt=0,Mt+=F,or+It<et&&or>=0?Pt=or:ur+It<et&&ur>=0?Pt=ur:mt+It<et?Pt=mt:or-Pr<Pr-ur+It?Pt=et-It:Pt=0,Pt+=F,wt.attr("transform",g(Mt-1,Pt-1)),wt}var Ht=me.selectAll("g.hovertext").data(te,function(Ut){return O(Ut)});return Ht.enter().append("g").classed("hovertext",!0).each(function(){var Ut=l.select(this);Ut.append("rect").call(f.fill,f.addOpacity(fe,.8)),Ut.append("text").classed("name",!0),Ut.append("path").style("stroke-width","1px"),Ut.append("text").classed("nums",!0).call(d.font,Be,Ae)}),Ht.exit().remove(),Ht.each(function(Ut){var Zt=l.select(this).attr("transform",""),Xt=Ut.color;Array.isArray(Xt)&&(Xt=Xt[Ut.eventData[0].pointNumber]);var sr=Ut.bgcolor||Xt,Sr=f.combine(f.opacity(sr)?sr:f.defaultLine,fe),wr=f.combine(f.opacity(Xt)?Xt:f.defaultLine,fe),Tr=Ut.borderColor||f.contrast(Sr),Ze=Y(Ut,pt,de,ee,Fe,Zt),Xe=Ze[0],Wt=Ze[1],jt=Zt.select("text.nums").call(d.font,Ut.fontFamily||Be,Ut.fontSize||Ae,Ut.fontColor||Tr).text(Xe).attr("data-notex",1).call(c.positionText,0,0).call(c.convertToTspans,re),ar=Zt.select("text.name"),mr=0,br=0;if(Wt&&Wt!==Xe){ar.call(d.font,Ut.fontFamily||Be,Ut.fontSize||Ae,wr).text(Wt).attr("data-notex",1).call(c.positionText,0,0).call(c.convertToTspans,re);var fr=K(re,ar.node());mr=fr.width+2*F,br=fr.height+2*F}else ar.remove(),Zt.select("rect").remove();Zt.select("path").style({fill:Sr,stroke:Tr});var Kt=Ut.xa._offset+(Ut.x0+Ut.x1)/2,kr=Ut.ya._offset+(Ut.y0+Ut.y1)/2,Rr=Math.abs(Ut.x1-Ut.x0),Lr=Math.abs(Ut.y1-Ut.y0),Ar=K(re,jt.node()),ln=Ar.width/ee._invScaleX,Kr=Ar.height/ee._invScaleY;Ut.ty0=(ht-Ar.top)/ee._invScaleY,Ut.bx=ln+2*F,Ut.by=Math.max(Kr+2*F,br),Ut.anchor="start",Ut.txwidth=ln,Ut.tx2width=mr,Ut.offset=0;var Xr=(ln+M+F+mr)*ee._invScaleX,Bn,An;if(oe)Ut.pos=Kt,Bn=kr+Lr/2+Xr<=et,An=kr-Lr/2-Xr>=0,(Ut.idealAlign==="top"||!Bn)&&An?(kr-=Lr/2,Ut.anchor="end"):Bn?(kr+=Lr/2,Ut.anchor="start"):Ut.anchor="middle",Ut.crossPos=kr;else{if(Ut.pos=kr,Bn=Kt+Rr/2+Xr<=tt,An=Kt-Rr/2-Xr>=0,(Ut.idealAlign==="left"||!Bn)&&An)Kt-=Rr/2,Ut.anchor="end";else if(Bn)Kt+=Rr/2,Ut.anchor="start";else{Ut.anchor="middle";var ta=Xr/2,ra=Kt+ta-tt,Cr=Kt-ta;ra>0&&(Kt-=ra),Cr<0&&(Kt+=-Cr)}Ut.crossPos=Kt}jt.attr("text-anchor",Ut.anchor),mr&&ar.attr("text-anchor",Ut.anchor),Zt.attr("transform",g(Kt,kr)+(oe?p(E):""))}),{hoverLabels:Ht,commonLabelBoundingBox:Ve}}function Y(te,ce,re,ee,de,oe){var fe="",me="";te.nameOverride!==void 0&&(te.name=te.nameOverride),te.name&&(te.trace._meta&&(te.name=S.templateString(te.name,te.trace._meta)),fe=ie(te.name,te.nameLength));var Te=re.charAt(0),we=Te==="x"?"y":"x";te.zLabel!==void 0?(te.xLabel!==void 0&&(me+="x: "+te.xLabel+"<br>"),te.yLabel!==void 0&&(me+="y: "+te.yLabel+"<br>"),te.trace.type!=="choropleth"&&te.trace.type!=="choroplethmapbox"&&(me+=(me?"z: ":"")+te.zLabel)):ce&&te[Te+"Label"]===de?me=te[we+"Label"]||"":te.xLabel===void 0?te.yLabel!==void 0&&te.trace.type!=="scattercarpet"&&(me=te.yLabel):te.yLabel===void 0?me=te.xLabel:me="("+te.xLabel+", "+te.yLabel+")",(te.text||te.text===0)&&!Array.isArray(te.text)&&(me+=(me?"<br>":"")+te.text),te.extraText!==void 0&&(me+=(me?"<br>":"")+te.extraText),oe&&me===""&&!te.hovertemplate&&(fe===""&&oe.remove(),me=fe);var Be=te.hovertemplate||!1;if(Be){var Ae=te.hovertemplateLabels||te;te[Te+"Label"]!==de&&(Ae[Te+"other"]=Ae[Te+"Val"],Ae[Te+"otherLabel"]=Ae[Te+"Label"]),me=S.hovertemplateString(Be,Ae,ee._d3locale,te.eventData[0]||{},te.trace._meta),me=me.replace(U,function(Re,be){return fe=ie(be,te.nameLength),""})}return[me,fe]}function z(te,ce,re,ee){var de=ce?"xa":"ya",oe=ce?"ya":"xa",fe=0,me=1,Te=te.size(),we=new Array(Te),Be=0,Ae=ee.minX,Re=ee.maxX,be=ee.minY,Pe=ee.maxY,Ke=function(qe){return qe*re._invScaleX},ze=function(qe){return qe*re._invScaleY};te.each(function(qe){var He=qe[de],Ce=qe[oe],Se=He._id.charAt(0)==="x",Le=He.range;Be===0&&Le&&Le[0]>Le[1]!==Se&&(me=-1);var Ne=0,je=Se?re.width:re.height;if(re.hovermode==="x"||re.hovermode==="y"){var Je=V(qe,ce),ut=qe.anchor,Et=ut==="end"?-1:1,wt,nr;if(ut==="middle")wt=qe.crossPos+(Se?ze(Je.y-qe.by/2):Ke(qe.bx/2+qe.tx2width/2)),nr=wt+(Se?ze(qe.by):Ke(qe.bx));else if(Se)wt=qe.crossPos+ze(M+Je.y)-ze(qe.by/2-M),nr=wt+ze(qe.by);else{var ir=Ke(Et*M+Je.x),It=ir+Ke(Et*qe.bx);wt=qe.crossPos+Math.min(ir,It),nr=qe.crossPos+Math.max(ir,It)}Se?be!==void 0&&Pe!==void 0&&Math.min(nr,Pe)-Math.max(wt,be)>1&&(Ce.side==="left"?(Ne=Ce._mainLinePosition,je=re.width):je=Ce._mainLinePosition):Ae!==void 0&&Re!==void 0&&Math.min(nr,Re)-Math.max(wt,Ae)>1&&(Ce.side==="top"?(Ne=Ce._mainLinePosition,je=re.height):je=Ce._mainLinePosition)}we[Be++]=[{datum:qe,traceIndex:qe.trace.index,dp:0,pos:qe.pos,posref:qe.posref,size:qe.by*(Se?L:1)/2,pmin:Ne,pmax:je}]}),we.sort(function(qe,He){return qe[0].posref-He[0].posref||me*(He[0].traceIndex-qe[0].traceIndex)});var Fe,We,lt,ht,tt,et,pt;function vt(qe){var He=qe[0],Ce=qe[qe.length-1];if(We=He.pmin-He.pos-He.dp+He.size,lt=Ce.pos+Ce.dp+Ce.size-He.pmax,We>.01){for(tt=qe.length-1;tt>=0;tt--)qe[tt].dp+=We;Fe=!1}if(!(lt<.01)){if(We<-.01){for(tt=qe.length-1;tt>=0;tt--)qe[tt].dp-=lt;Fe=!1}if(Fe){var Se=0;for(ht=0;ht<qe.length;ht++)et=qe[ht],et.pos+et.dp+et.size>He.pmax&&Se++;for(ht=qe.length-1;ht>=0&&!(Se<=0);ht--)et=qe[ht],et.pos>He.pmax-1&&(et.del=!0,Se--);for(ht=0;ht<qe.length&&!(Se<=0);ht++)if(et=qe[ht],et.pos<He.pmin+1)for(et.del=!0,Se--,lt=et.size*2,tt=qe.length-1;tt>=0;tt--)qe[tt].dp-=lt;for(ht=qe.length-1;ht>=0&&!(Se<=0);ht--)et=qe[ht],et.pos+et.dp+et.size>He.pmax&&(et.del=!0,Se--)}}}for(;!Fe&&fe<=Te;){for(fe++,Fe=!0,ht=0;ht<we.length-1;){var _t=we[ht],bt=we[ht+1],Rt=_t[_t.length-1],ct=bt[0];if(We=Rt.pos+Rt.dp+Rt.size-ct.pos-ct.dp+ct.size,We>.01&&Rt.pmin===ct.pmin&&Rt.pmax===ct.pmax){for(tt=bt.length-1;tt>=0;tt--)bt[tt].dp+=We;for(_t.push.apply(_t,bt),we.splice(ht+1,1),pt=0,tt=_t.length-1;tt>=0;tt--)pt+=_t[tt].dp;for(lt=pt/_t.length,tt=_t.length-1;tt>=0;tt--)_t[tt].dp-=lt;Fe=!1}else ht++}we.forEach(vt)}for(ht=we.length-1;ht>=0;ht--){var Ve=we[ht];for(tt=Ve.length-1;tt>=0;tt--){var Qe=Ve[tt],rt=Qe.datum;rt.offset=Qe.dp,rt.del=Qe.del}}}function V(te,ce){var re=0,ee=te.offset;return ce&&(ee*=-P,re=te.offset*I),{x:re,y:ee}}function j(te){var ce={start:1,end:-1,middle:0}[te.anchor],re=ce*(M+F),ee=re+ce*(te.txwidth+F),de=te.anchor==="middle";return de&&(re-=te.tx2width/2,ee+=te.txwidth/2+F),{alignShift:ce,textShiftX:re,text2ShiftX:ee}}function G(te,ce,re,ee){var de=function(fe){return fe*re},oe=function(fe){return fe*ee};te.each(function(fe){var me=l.select(this);if(fe.del)return me.remove();var Te=me.select("text.nums"),we=fe.anchor,Be=we==="end"?-1:1,Ae=j(fe),Re=V(fe,ce),be=Re.x,Pe=Re.y,Ke=we==="middle";me.select("path").attr("d",Ke?"M-"+de(fe.bx/2+fe.tx2width/2)+","+oe(Pe-fe.by/2)+"h"+de(fe.bx)+"v"+oe(fe.by)+"h-"+de(fe.bx)+"Z":"M0,0L"+de(Be*M+be)+","+oe(M+Pe)+"v"+oe(fe.by/2-M)+"h"+de(Be*fe.bx)+"v-"+oe(fe.by)+"H"+de(Be*M+be)+"V"+oe(Pe-M)+"Z");var ze=be+Ae.textShiftX,Fe=Pe+fe.ty0-fe.by/2+F,We=fe.textAlign||"auto";We!=="auto"&&(We==="left"&&we!=="start"?(Te.attr("text-anchor","start"),ze=Ke?-fe.bx/2-fe.tx2width/2+F:-fe.bx-F):We==="right"&&we!=="end"&&(Te.attr("text-anchor","end"),ze=Ke?fe.bx/2-fe.tx2width/2-F:fe.bx+F)),Te.call(c.positionText,de(ze),oe(Fe)),fe.tx2width&&(me.select("text.name").call(c.positionText,de(Ae.text2ShiftX+Ae.alignShift*F+be),oe(Pe+fe.ty0-fe.by/2+F)),me.select("rect").call(d.setRect,de(Ae.text2ShiftX+(Ae.alignShift-1)*fe.tx2width/2+be),oe(Pe-fe.by/2-1),de(fe.tx2width),oe(fe.by+2)))})}function W(te,ce){var re=te.index,ee=te.trace||{},de=te.cd[0],oe=te.cd[re]||{};function fe(Re){return Re||v(Re)&&Re===0}var me=Array.isArray(re)?function(Re,be){var Pe=S.castOption(de,re,Re);return fe(Pe)?Pe:S.extractOption({},ee,"",be)}:function(Re,be){return S.extractOption(oe,ee,Re,be)};function Te(Re,be,Pe){var Ke=me(be,Pe);fe(Ke)&&(te[Re]=Ke)}if(Te("hoverinfo","hi","hoverinfo"),Te("bgcolor","hbg","hoverlabel.bgcolor"),Te("borderColor","hbc","hoverlabel.bordercolor"),Te("fontFamily","htf","hoverlabel.font.family"),Te("fontSize","hts","hoverlabel.font.size"),Te("fontColor","htc","hoverlabel.font.color"),Te("nameLength","hnl","hoverlabel.namelength"),Te("textAlign","hta","hoverlabel.align"),te.posref=ce==="y"||ce==="closest"&&ee.orientation==="h"?te.xa._offset+(te.x0+te.x1)/2:te.ya._offset+(te.y0+te.y1)/2,te.x0=S.constrain(te.x0,0,te.xa._length),te.x1=S.constrain(te.x1,0,te.xa._length),te.y0=S.constrain(te.y0,0,te.ya._length),te.y1=S.constrain(te.y1,0,te.ya._length),te.xLabelVal!==void 0&&(te.xLabel="xLabel"in te?te.xLabel:x.hoverLabelText(te.xa,te.xLabelVal,ee.xhoverformat),te.xVal=te.xa.c2d(te.xLabelVal)),te.yLabelVal!==void 0&&(te.yLabel="yLabel"in te?te.yLabel:x.hoverLabelText(te.ya,te.yLabelVal,ee.yhoverformat),te.yVal=te.ya.c2d(te.yLabelVal)),te.zLabelVal!==void 0&&te.zLabel===void 0&&(te.zLabel=String(te.zLabelVal)),!isNaN(te.xerr)&&!(te.xa.type==="log"&&te.xerr<=0)){var we=x.tickText(te.xa,te.xa.c2l(te.xerr),"hover").text;te.xerrneg!==void 0?te.xLabel+=" +"+we+" / -"+x.tickText(te.xa,te.xa.c2l(te.xerrneg),"hover").text:te.xLabel+=" ± "+we,ce==="x"&&(te.distance+=1)}if(!isNaN(te.yerr)&&!(te.ya.type==="log"&&te.yerr<=0)){var Be=x.tickText(te.ya,te.ya.c2l(te.yerr),"hover").text;te.yerrneg!==void 0?te.yLabel+=" +"+Be+" / -"+x.tickText(te.ya,te.ya.c2l(te.yerrneg),"hover").text:te.yLabel+=" ± "+Be,ce==="y"&&(te.distance+=1)}var Ae=te.hoverinfo||te.trace.hoverinfo;return Ae&&Ae!=="all"&&(Ae=Array.isArray(Ae)?Ae:Ae.split("+"),Ae.indexOf("x")===-1&&(te.xLabel=void 0),Ae.indexOf("y")===-1&&(te.yLabel=void 0),Ae.indexOf("z")===-1&&(te.zLabel=void 0),Ae.indexOf("text")===-1&&(te.text=void 0),Ae.indexOf("name")===-1&&(te.name=void 0)),te}function X(te,ce,re){var ee=re.container,de=re.fullLayout,oe=de._size,fe=re.event,me=!!ce.hLinePoint,Te=!!ce.vLinePoint,we,Be;if(ee.selectAll(".spikeline").remove(),!!(Te||me)){var Ae=f.combine(de.plot_bgcolor,de.paper_bgcolor);if(me){var Re=ce.hLinePoint,be,Pe;we=Re&&Re.xa,Be=Re&&Re.ya;var Ke=Be.spikesnap;Ke==="cursor"?(be=fe.pointerX,Pe=fe.pointerY):(be=we._offset+Re.x,Pe=Be._offset+Re.y);var ze=i.readability(Re.color,Ae)<1.5?f.contrast(Ae):Re.color,Fe=Be.spikemode,We=Be.spikethickness,lt=Be.spikecolor||ze,ht=x.getPxPosition(te,Be),tt,et;if(Fe.indexOf("toaxis")!==-1||Fe.indexOf("across")!==-1){if(Fe.indexOf("toaxis")!==-1&&(tt=ht,et=be),Fe.indexOf("across")!==-1){var pt=Be._counterDomainMin,vt=Be._counterDomainMax;Be.anchor==="free"&&(pt=Math.min(pt,Be.position),vt=Math.max(vt,Be.position)),tt=oe.l+pt*oe.w,et=oe.l+vt*oe.w}ee.insert("line",":first-child").attr({x1:tt,x2:et,y1:Pe,y2:Pe,"stroke-width":We,stroke:lt,"stroke-dasharray":d.dashStyle(Be.spikedash,We)}).classed("spikeline",!0).classed("crisp",!0),ee.insert("line",":first-child").attr({x1:tt,x2:et,y1:Pe,y2:Pe,"stroke-width":We+2,stroke:Ae}).classed("spikeline",!0).classed("crisp",!0)}Fe.indexOf("marker")!==-1&&ee.insert("circle",":first-child").attr({cx:ht+(Be.side!=="right"?We:-We),cy:Pe,r:We,fill:lt}).classed("spikeline",!0)}if(Te){var _t=ce.vLinePoint,bt,Rt;we=_t&&_t.xa,Be=_t&&_t.ya;var ct=we.spikesnap;ct==="cursor"?(bt=fe.pointerX,Rt=fe.pointerY):(bt=we._offset+_t.x,Rt=Be._offset+_t.y);var Ve=i.readability(_t.color,Ae)<1.5?f.contrast(Ae):_t.color,Qe=we.spikemode,rt=we.spikethickness,qe=we.spikecolor||Ve,He=x.getPxPosition(te,we),Ce,Se;if(Qe.indexOf("toaxis")!==-1||Qe.indexOf("across")!==-1){if(Qe.indexOf("toaxis")!==-1&&(Ce=He,Se=Rt),Qe.indexOf("across")!==-1){var Le=we._counterDomainMin,Ne=we._counterDomainMax;we.anchor==="free"&&(Le=Math.min(Le,we.position),Ne=Math.max(Ne,we.position)),Ce=oe.t+(1-Ne)*oe.h,Se=oe.t+(1-Le)*oe.h}ee.insert("line",":first-child").attr({x1:bt,x2:bt,y1:Ce,y2:Se,"stroke-width":rt,stroke:qe,"stroke-dasharray":d.dashStyle(we.spikedash,rt)}).classed("spikeline",!0).classed("crisp",!0),ee.insert("line",":first-child").attr({x1:bt,x2:bt,y1:Ce,y2:Se,"stroke-width":rt+2,stroke:Ae}).classed("spikeline",!0).classed("crisp",!0)}Qe.indexOf("marker")!==-1&&ee.insert("circle",":first-child").attr({cx:bt,cy:He-(we.side!=="top"?rt:-rt),r:rt,fill:qe}).classed("spikeline",!0)}}}function Q(te,ce,re){if(!re||re.length!==te._hoverdata.length)return!0;for(var ee=re.length-1;ee>=0;ee--){var de=re[ee],oe=te._hoverdata[ee];if(de.curveNumber!==oe.curveNumber||String(de.pointNumber)!==String(oe.pointNumber)||String(de.pointNumbers)!==String(oe.pointNumbers))return!0}return!1}function ae(te,ce){return!0}function ie(te,ce){return c.plainText(te||"",{len:ce,allowedTags:["br","sub","sup","b","i","em"]})}function he(te,ce){for(var re=ce.charAt(0),ee=[],de=[],oe=[],fe=0;fe<te.length;fe++){var me=te[fe];y.traceIs(me.trace,"bar-like")||y.traceIs(me.trace,"box-violin")?oe.push(me):me.trace[re+"period"]?de.push(me):ee.push(me)}return ee.concat(de).concat(oe)}function J(te,ce,re){var ee=ce[te+"a"],de=ce[te+"Val"],oe=ce.cd[0];if(ee.type==="category"||ee.type==="multicategory")de=ee._categoriesMap[de];else if(ee.type==="date"){var fe=ce.trace[te+"periodalignment"];if(fe){var me=ce.cd[ce.index],Te=me[te+"Start"];Te===void 0&&(Te=me[te]);var we=me[te+"End"];we===void 0&&(we=me[te]);var Be=we-Te;fe==="end"?de+=Be:fe==="middle"&&(de+=Be/2)}de=ee.d2c(de)}return oe&&oe.t&&oe.t.posLetter===ee._id&&(re.boxmode==="group"||re.violinmode==="group")&&(de+=oe.t.dPos),de}function Z(te){return te.offsetTop+te.clientTop}function le(te){return te.offsetLeft+te.clientLeft}function K(te,ce){var re=te._fullLayout,ee=ce.getBoundingClientRect(),de=ee.left,oe=ee.top,fe=de+ee.width,me=oe+ee.height,Te=S.apply3DTransform(re._invTransform)(de,oe),we=S.apply3DTransform(re._invTransform)(fe,me),Be=Te[0],Ae=Te[1],Re=we[0],be=we[1];return{x:Be,y:Ae,width:Re-Be,height:be-Ae,top:Math.min(Ae,be),left:Math.min(Be,Re),right:Math.max(Be,Re),bottom:Math.max(Ae,be)}}},16132:function(u,h,a){var l=a(3400),v=a(76308),i=a(10624).isUnifiedHover;u.exports=function(g,p,_,c){c=c||{};var s=p.legend;function d(f){c.font[f]||(c.font[f]=s?p.legend.font[f]:p.font[f])}p&&i(p.hovermode)&&(c.font||(c.font={}),d("size"),d("family"),d("color"),s?(c.bgcolor||(c.bgcolor=v.combine(p.legend.bgcolor,p.paper_bgcolor)),c.bordercolor||(c.bordercolor=p.legend.bordercolor)):c.bgcolor||(c.bgcolor=p.paper_bgcolor)),_("hoverlabel.bgcolor",c.bgcolor),_("hoverlabel.bordercolor",c.bordercolor),_("hoverlabel.namelength",c.namelength),l.coerceFont(_,"hoverlabel.font",c.font),_("hoverlabel.align",c.align)}},41008:function(u,h,a){var l=a(3400),v=a(65460);u.exports=function(S,g){function p(_,c){return g[_]!==void 0?g[_]:l.coerce(S,g,v,_,c)}return p("clickmode"),p("hovermode")}},93024:function(u,h,a){var l=a(33428),v=a(3400),i=a(86476),S=a(10624),g=a(65460),p=a(83292);u.exports={moduleType:"component",name:"fx",constants:a(92456),schema:{layout:g},attributes:a(55756),layoutAttributes:g,supplyLayoutGlobalDefaults:a(81976),supplyDefaults:a(95448),supplyLayoutDefaults:a(88336),calc:a(55056),getDistanceFunction:S.getDistanceFunction,getClosest:S.getClosest,inbox:S.inbox,quadrature:S.quadrature,appendArrayPointValue:S.appendArrayPointValue,castHoverOption:c,castHoverinfo:s,hover:p.hover,unhover:i.unhover,loneHover:p.loneHover,loneUnhover:_,click:a(62376)};function _(d){var f=v.isD3Selection(d)?d:l.select(d);f.selectAll("g.hovertext").remove(),f.selectAll(".spikeline").remove()}function c(d,f,b){return v.castOption(d,f,"hoverlabel."+b)}function s(d,f,b){function x(y){return v.coerceHoverinfo({hoverinfo:y},{_module:d._module},f)}return v.castOption(d,b,"hoverinfo",x)}},65460:function(u,h,a){var l=a(92456),v=a(25376),i=v({editType:"none"});i.family.dflt=l.HOVERFONT,i.size.dflt=l.HOVERFONTSIZE,u.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:i,grouptitlefont:v({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}},88336:function(u,h,a){var l=a(3400),v=a(65460),i=a(41008),S=a(16132);u.exports=function(p,_){function c(y,C){return l.coerce(p,_,v,y,C)}var s=i(p,_);s&&(c("hoverdistance"),c("spikedistance"));var d=c("dragmode");d==="select"&&c("selectdirection");var f=_._has("mapbox"),b=_._has("geo"),x=_._basePlotModules.length;_.dragmode==="zoom"&&((f||b)&&x===1||f&&b&&x===2)&&(_.dragmode="pan"),S(p,_,c),l.coerceFont(c,"hoverlabel.grouptitlefont",_.hoverlabel.font)}},81976:function(u,h,a){var l=a(3400),v=a(16132),i=a(65460);u.exports=function(g,p){function _(c,s){return l.coerce(g,p,i,c,s)}v(g,p,_)}},12704:function(u,h,a){var l=a(3400),v=a(53756).counter,i=a(86968).u,S=a(33816).idRegex,g=a(31780),p={rows:{valType:"integer",min:1,editType:"plot"},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot"},columns:{valType:"integer",min:1,editType:"plot"},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[v("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[S.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[S.y.toString(),""],editType:"plot"},editType:"plot"},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot"},xgap:{valType:"number",min:0,max:1,editType:"plot"},ygap:{valType:"number",min:0,max:1,editType:"plot"},domain:i({name:"grid",editType:"plot",noGridCell:!0},{}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot"},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot"},editType:"plot"};function _(b,x,y){var C=x[y+"axes"],w=Object.keys((b._splomAxes||{})[y]||{});if(Array.isArray(C))return C;if(w.length)return w}function c(b,x){var y=b.grid||{},C=_(x,y,"x"),w=_(x,y,"y");if(!b.grid&&!C&&!w)return;var R=Array.isArray(y.subplots)&&Array.isArray(y.subplots[0]),A=Array.isArray(C),E=Array.isArray(w),k=A&&C!==y.xaxes&&E&&w!==y.yaxes,L,I;R?(L=y.subplots.length,I=y.subplots[0].length):(E&&(L=w.length),A&&(I=C.length));var P=g.newContainer(x,"grid");function M(V,j){return l.coerce(y,P,p,V,j)}var F=M("rows",L),N=M("columns",I);if(!(F*N>1)){delete x.grid;return}if(!R&&!A&&!E){var T=M("pattern")==="independent";T&&(R=!0)}P._hasSubplotGrid=R;var D=M("roworder"),O=D==="top to bottom",U=R?.2:.1,B=R?.3:.1,Y,z;k&&x._splomGridDflt&&(Y=x._splomGridDflt.xside,z=x._splomGridDflt.yside),P._domains={x:s("x",M,U,Y,N),y:s("y",M,B,z,F,O)}}function s(b,x,y,C,w,R){var A=x(b+"gap",y),E=x("domain."+b);x(b+"side",C);for(var k=new Array(w),L=E[0],I=(E[1]-L)/(w-A),P=I*(1-A),M=0;M<w;M++){var F=L+I*M;k[R?w-1-M:M]=[F,F+P]}return k}function d(b,x){var y=x.grid;if(!(!y||!y._domains)){var C=b.grid||{},w=x._subplots,R=y._hasSubplotGrid,A=y.rows,E=y.columns,k=y.pattern==="independent",L,I,P,M,F,N,T,D=y._axisMap={};if(R){var O=C.subplots||[];N=y.subplots=new Array(A);var U=1;for(L=0;L<A;L++){var B=N[L]=new Array(E),Y=O[L]||[];for(I=0;I<E;I++)if(k?(F=U===1?"xy":"x"+U+"y"+U,U++):F=Y[I],B[I]="",w.cartesian.indexOf(F)!==-1){if(T=F.indexOf("y"),P=F.slice(0,T),M=F.slice(T),D[P]!==void 0&&D[P]!==I||D[M]!==void 0&&D[M]!==L)continue;B[I]=F,D[P]=I,D[M]=L}}}else{var z=_(x,C,"x"),V=_(x,C,"y");y.xaxes=f(z,w.xaxis,E,D,"x"),y.yaxes=f(V,w.yaxis,A,D,"y")}var j=y._anchors={},G=y.roworder==="top to bottom";for(var W in D){var X=W.charAt(0),Q=y[X+"side"],ae,ie,he;if(Q.length<8)j[W]="free";else if(X==="x"){if(Q.charAt(0)==="t"===G?(ae=0,ie=1,he=A):(ae=A-1,ie=-1,he=-1),R){var J=D[W];for(L=ae;L!==he;L+=ie)if(F=N[L][J],!!F&&(T=F.indexOf("y"),F.slice(0,T)===W)){j[W]=F.slice(T);break}}else for(L=ae;L!==he;L+=ie)if(M=y.yaxes[L],w.cartesian.indexOf(W+M)!==-1){j[W]=M;break}}else if(Q.charAt(0)==="l"?(ae=0,ie=1,he=E):(ae=E-1,ie=-1,he=-1),R){var Z=D[W];for(L=ae;L!==he;L+=ie)if(F=N[Z][L],!!F&&(T=F.indexOf("y"),F.slice(T)===W)){j[W]=F.slice(0,T);break}}else for(L=ae;L!==he;L+=ie)if(P=y.xaxes[L],w.cartesian.indexOf(P+W)!==-1){j[W]=P;break}}}}function f(b,x,y,C,w){var R=new Array(y),A;function E(k,L){x.indexOf(L)!==-1&&C[L]===void 0?(R[k]=L,C[L]=k):R[k]=""}if(Array.isArray(b))for(A=0;A<y;A++)E(A,b[A]);else for(E(0,w),A=1;A<y;A++)E(A,w+(A+1));return R}u.exports={moduleType:"component",name:"grid",schema:{layout:{grid:p}},layoutAttributes:p,sizeDefaults:c,contentDefaults:d}},65760:function(u,h,a){var l=a(33816),v=a(31780).templatedArray;a(36208),u.exports=v("image",{visible:{valType:"boolean",dflt:!0,editType:"arraydraw"},source:{valType:"string",editType:"arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},sizex:{valType:"number",dflt:0,editType:"arraydraw"},sizey:{valType:"number",dflt:0,editType:"arraydraw"},sizing:{valType:"enumerated",values:["fill","contain","stretch"],dflt:"contain",editType:"arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},x:{valType:"any",dflt:0,editType:"arraydraw"},y:{valType:"any",dflt:0,editType:"arraydraw"},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",editType:"arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],dflt:"top",editType:"arraydraw"},xref:{valType:"enumerated",values:["paper",l.idRegex.x.toString()],dflt:"paper",editType:"arraydraw"},yref:{valType:"enumerated",values:["paper",l.idRegex.y.toString()],dflt:"paper",editType:"arraydraw"},editType:"arraydraw"})},63556:function(u,h,a){var l=a(38248),v=a(36896);u.exports=function(S,g,p,_){g=g||{};var c=p==="log"&&g.type==="linear",s=p==="linear"&&g.type==="log";if(c||s){for(var d=S._fullLayout.images,f=g._id.charAt(0),b,x,y=0;y<d.length;y++)if(b=d[y],x="images["+y+"].",b[f+"ref"]===g._id){var C=b[f],w=b["size"+f],R=null,A=null;if(c){R=v(C,g.range);var E=w/Math.pow(10,R)/2;A=2*Math.log(E+Math.sqrt(1+E*E))/Math.LN10}else R=Math.pow(10,C),A=R*(Math.pow(10,w/2)-Math.pow(10,-w/2));l(R)?l(A)||(A=null):(R=null,A=null),_(x+f,R),_(x+"size"+f,A)}}}},25024:function(u,h,a){var l=a(3400),v=a(54460),i=a(51272),S=a(65760),g="images";u.exports=function(c,s){var d={name:g,handleItemDefaults:p};i(c,s,d)};function p(_,c,s){function d(E,k){return l.coerce(_,c,S,E,k)}var f=d("source"),b=d("visible",!!f);if(!b)return c;d("layer"),d("xanchor"),d("yanchor"),d("sizex"),d("sizey"),d("sizing"),d("opacity");for(var x={_fullLayout:s},y=["x","y"],C=0;C<2;C++){var w=y[C],R=v.coerceRef(_,c,x,w,"paper",void 0);if(R!=="paper"){var A=v.getFromId(x,R);A._imgIndices.push(c._index)}v.coercePosition(c,x,d,R,w,0)}return c}},60963:function(u,h,a){var l=a(33428),v=a(43616),i=a(54460),S=a(79811),g=a(9616);u.exports=function(_){var c=_._fullLayout,s=[],d={},f=[],b,x;for(x=0;x<c.images.length;x++){var y=c.images[x];if(y.visible)if(y.layer==="below"&&y.xref!=="paper"&&y.yref!=="paper"){b=S.ref2id(y.xref)+S.ref2id(y.yref);var C=c._plots[b];if(!C){f.push(y);continue}C.mainplot&&(b=C.mainplot.id),d[b]||(d[b]=[]),d[b].push(y)}else y.layer==="above"?s.push(y):f.push(y)}var w={x:{left:{sizing:"xMin",offset:0},center:{sizing:"xMid",offset:-1/2},right:{sizing:"xMax",offset:-1}},y:{top:{sizing:"YMin",offset:0},middle:{sizing:"YMid",offset:-1/2},bottom:{sizing:"YMax",offset:-1}}};function R(M){var F=l.select(this);if(this._imgSrc!==M.source)if(F.attr("xmlns",g.svg),M.source&&M.source.slice(0,5)==="data:")F.attr("xlink:href",M.source),this._imgSrc=M.source;else{var N=new Promise((function(T){var D=new Image;this.img=D,D.setAttribute("crossOrigin","anonymous"),D.onerror=O,D.onload=function(){var U=document.createElement("canvas");U.width=this.width,U.height=this.height;var B=U.getContext("2d",{willReadFrequently:!0});B.drawImage(this,0,0);var Y=U.toDataURL("image/png");F.attr("xlink:href",Y),T()},F.on("error",O),D.src=M.source,this._imgSrc=M.source;function O(){F.remove(),T()}}).bind(this));_._promises.push(N)}}function A(M){var F=l.select(this),N=i.getFromId(_,M.xref),T=i.getFromId(_,M.yref),D=i.getRefType(M.xref)==="domain",O=i.getRefType(M.yref)==="domain",U=c._size,B,Y;N!==void 0?B=typeof M.xref=="string"&&D?N._length*M.sizex:Math.abs(N.l2p(M.sizex)-N.l2p(0)):B=M.sizex*U.w,T!==void 0?Y=typeof M.yref=="string"&&O?T._length*M.sizey:Math.abs(T.l2p(M.sizey)-T.l2p(0)):Y=M.sizey*U.h;var z=B*w.x[M.xanchor].offset,V=Y*w.y[M.yanchor].offset,j=w.x[M.xanchor].sizing+w.y[M.yanchor].sizing,G,W;switch(N!==void 0?G=typeof M.xref=="string"&&D?N._length*M.x+N._offset:N.r2p(M.x)+N._offset:G=M.x*U.w+U.l,G+=z,T!==void 0?W=typeof M.yref=="string"&&O?T._length*(1-M.y)+T._offset:T.r2p(M.y)+T._offset:W=U.h-M.y*U.h+U.t,W+=V,M.sizing){case"fill":j+=" slice";break;case"stretch":j="none";break}F.attr({x:G,y:W,width:B,height:Y,preserveAspectRatio:j,opacity:M.opacity});var X=N&&i.getRefType(M.xref)!=="domain"?N._id:"",Q=T&&i.getRefType(M.yref)!=="domain"?T._id:"",ae=X+Q;v.setClipUrl(F,ae?"clip"+c._uid+ae:null,_)}var E=c._imageLowerLayer.selectAll("image").data(f),k=c._imageUpperLayer.selectAll("image").data(s);E.enter().append("image"),k.enter().append("image"),E.exit().remove(),k.exit().remove(),E.each(function(M){R.bind(this)(M),A.bind(this)(M)}),k.each(function(M){R.bind(this)(M),A.bind(this)(M)});var L=Object.keys(c._plots);for(x=0;x<L.length;x++){b=L[x];var I=c._plots[b];if(I.imagelayer){var P=I.imagelayer.selectAll("image").data(d[b]||[]);P.enter().append("image"),P.exit().remove(),P.each(function(M){R.bind(this)(M),A.bind(this)(M)})}}}},7402:function(u,h,a){u.exports={moduleType:"component",name:"images",layoutAttributes:a(65760),supplyLayoutDefaults:a(25024),includeBasePlot:a(36632)("images"),draw:a(60963),convertCoords:a(63556)}},3800:function(u,h,a){var l=a(25376),v=a(22548);u.exports={_isSubplotObj:!0,visible:{valType:"boolean",dflt:!0,editType:"legend"},bgcolor:{valType:"color",editType:"legend"},bordercolor:{valType:"color",dflt:v.defaultLine,editType:"legend"},borderwidth:{valType:"number",min:0,dflt:0,editType:"legend"},font:l({editType:"legend"}),grouptitlefont:l({editType:"legend"}),orientation:{valType:"enumerated",values:["v","h"],dflt:"v",editType:"legend"},traceorder:{valType:"flaglist",flags:["reversed","grouped"],extras:["normal"],editType:"legend"},tracegroupgap:{valType:"number",min:0,dflt:10,editType:"legend"},entrywidth:{valType:"number",min:0,editType:"legend"},entrywidthmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"pixels",editType:"legend"},indentation:{valType:"number",min:-15,dflt:0,editType:"legend"},itemsizing:{valType:"enumerated",values:["trace","constant"],dflt:"trace",editType:"legend"},itemwidth:{valType:"number",min:30,dflt:30,editType:"legend"},itemclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggle",editType:"legend"},itemdoubleclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggleothers",editType:"legend"},groupclick:{valType:"enumerated",values:["toggleitem","togglegroup"],dflt:"togglegroup",editType:"legend"},x:{valType:"number",editType:"legend"},xref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",editType:"legend"},y:{valType:"number",editType:"legend"},yref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],editType:"legend"},uirevision:{valType:"any",editType:"none"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"legend"},title:{text:{valType:"string",dflt:"",editType:"legend"},font:l({editType:"legend"}),side:{valType:"enumerated",values:["top","left","top left","top center","top right"],editType:"legend"},editType:"legend"},editType:"legend"}},65196:function(u){u.exports={scrollBarWidth:6,scrollBarMinHeight:20,scrollBarColor:"#808BA4",scrollBarMargin:4,scrollBarEnterAttrs:{rx:20,ry:3,width:0,height:0},titlePad:2,itemGap:5}},77864:function(u,h,a){var l=a(24040),v=a(3400),i=a(31780),S=a(45464),g=a(3800),p=a(64859),_=a(42451);function c(s,d,f,b){var x=d[s]||{},y=i.newContainer(f,s);function C(he,J){return v.coerce(x,y,g,he,J)}var w=v.coerceFont(C,"font",f.font);C("bgcolor",f.paper_bgcolor),C("bordercolor");var R=C("visible");if(R){for(var A,E=function(he,J){var Z=A._input,le=A;return v.coerce(Z,le,S,he,J)},k=f.font||{},L=v.coerceFont(C,"grouptitlefont",v.extendFlat({},k,{size:Math.round(k.size*1.1)})),I=0,P=!1,M="normal",F=(f.shapes||[]).filter(function(he){return he.showlegend}),N=b.concat(F).filter(function(he){return s===(he.legend||"legend")}),T=0;T<N.length;T++)if(A=N[T],!!A.visible){var D=A._isShape;(A.showlegend||A._dfltShowLegend&&!(A._module&&A._module.attributes&&A._module.attributes.showlegend&&A._module.attributes.showlegend.dflt===!1))&&(I++,A.showlegend&&(P=!0,(!D&&l.traceIs(A,"pie-like")||A._input.showlegend===!0)&&I++),v.coerceFont(E,"legendgrouptitle.font",L)),(!D&&l.traceIs(A,"bar")&&f.barmode==="stack"||["tonextx","tonexty"].indexOf(A.fill)!==-1)&&(M=_.isGrouped({traceorder:M})?"grouped+reversed":"reversed"),A.legendgroup!==void 0&&A.legendgroup!==""&&(M=_.isReversed({traceorder:M})?"reversed+grouped":"grouped")}var O=v.coerce(d,f,p,"showlegend",P&&I>(s==="legend"?1:0));if(O===!1&&(f[s]=void 0),!(O===!1&&!x.uirevision)&&(C("uirevision",f.uirevision),O!==!1)){C("borderwidth");var U=C("orientation"),B=C("yref"),Y=C("xref"),z=U==="h",V=B==="paper",j=Y==="paper",G,W,X,Q="left";z?(G=0,l.getComponentMethod("rangeslider","isVisible")(d.xaxis)?V?(W=1.1,X="bottom"):(W=1,X="top"):V?(W=-.1,X="top"):(W=0,X="bottom")):(W=1,X="auto",j?G=1.02:(G=1,Q="right")),v.coerce(x,y,{x:{valType:"number",editType:"legend",min:j?-2:0,max:j?3:1,dflt:G}},"x"),v.coerce(x,y,{y:{valType:"number",editType:"legend",min:V?-2:0,max:V?3:1,dflt:W}},"y"),C("traceorder",M),_.isGrouped(f[s])&&C("tracegroupgap"),C("entrywidth"),C("entrywidthmode"),C("indentation"),C("itemsizing"),C("itemwidth"),C("itemclick"),C("itemdoubleclick"),C("groupclick"),C("xanchor",Q),C("yanchor",X),C("valign"),v.noneOrAll(x,y,["x","y"]);var ae=C("title.text");if(ae){C("title.side",z?"left":"top");var ie=v.extendFlat({},w,{size:v.bigFont(w.size)});v.coerceFont(C,"title.font",ie)}}}}u.exports=function(d,f,b){var x,y=b.slice(),C=f.shapes;if(C)for(x=0;x<C.length;x++){var w=C[x];if(w.showlegend){var R={_input:w._input,visible:w.visible,showlegend:w.showlegend,legend:w.legend};y.push(R)}}var A=["legend"];for(x=0;x<y.length;x++)v.pushUnique(A,y[x].legend);for(f._legends=[],x=0;x<A.length;x++){var E=A[x];c(E,d,f,y),f[E]&&f[E].visible&&(f[E]._id=E),f._legends.push(E)}}},31140:function(u,h,a){var l=a(33428),v=a(3400),i=a(7316),S=a(24040),g=a(95924),p=a(86476),_=a(43616),c=a(76308),s=a(72736),d=a(33048),f=a(65196),b=a(84284),x=b.LINE_SPACING,y=b.FROM_TL,C=b.FROM_BR,w=a(35456),R=a(2012),A=a(42451),E=1,k=/^legend[0-9]*$/;u.exports=function(W,X){if(X)I(W,X);else{var Q=W._fullLayout,ae=Q._legends,ie=Q._infolayer.selectAll('[class^="legend"]');ie.each(function(){var le=l.select(this),K=le.attr("class"),te=K.split(" ")[0];te.match(k)&&ae.indexOf(te)===-1&&le.remove()});for(var he=0;he<ae.length;he++){var J=ae[he],Z=W._fullLayout[J];I(W,Z)}}};function L(G,W,X){if(!(W.title.side!=="top center"&&W.title.side!=="top right")){var Q=W.title.font,ae=Q.size*x,ie=0,he=G.node(),J=_.bBox(he).width;W.title.side==="top center"?ie=.5*(W._width-2*X-2*f.titlePad-J):W.title.side==="top right"&&(ie=W._width-2*X-2*f.titlePad-J),s.positionText(G,X+f.titlePad+ie,X+ae)}}function I(G,W){var X=W||{},Q=G._fullLayout,ae=j(X),ie,he,J=X._inHover;if(J?(he=X.layer,ie="hover"):(he=Q._infolayer,ie=ae),!!he){ie+=Q._uid,G._legendMouseDownTime||(G._legendMouseDownTime=0);var Z;if(J){if(!X.entries)return;Z=w(X.entries,X)}else{for(var le=(G.calcdata||[]).slice(),K=Q.shapes,te=0;te<K.length;te++){var ce=K[te];if(ce.showlegend){var re={_isShape:!0,_fullInput:ce,index:ce._index,name:ce.name||ce.label.text||"shape "+ce._index,legend:ce.legend,legendgroup:ce.legendgroup,legendgrouptitle:ce.legendgrouptitle,legendrank:ce.legendrank,legendwidth:ce.legendwidth,showlegend:ce.showlegend,visible:ce.visible,opacity:ce.opacity,mode:ce.type==="line"?"lines":"markers",line:ce.line,marker:{line:ce.line,color:ce.fillcolor,size:12,symbol:ce.type==="rect"?"square":ce.type==="circle"?"circle":"hexagon2"}};le.push([{trace:re}])}}Z=Q.showlegend&&w(le,X,Q._legends.length>1)}var ee=Q.hiddenlabels||[];if(!J&&(!Q.showlegend||!Z.length))return he.selectAll("."+ae).remove(),Q._topdefs.select("#"+ie).remove(),i.autoMargin(G,ae);var de=v.ensureSingle(he,"g",ae,function(be){J||be.attr("pointer-events","all")}),oe=v.ensureSingleById(Q._topdefs,"clipPath",ie,function(be){be.append("rect")}),fe=v.ensureSingle(de,"rect","bg",function(be){be.attr("shape-rendering","crispEdges")});fe.call(c.stroke,X.bordercolor).call(c.fill,X.bgcolor).style("stroke-width",X.borderwidth+"px");var me=v.ensureSingle(de,"g","scrollbox"),Te=X.title;X._titleWidth=0,X._titleHeight=0;var we;Te.text?(we=v.ensureSingle(me,"text",ae+"titletext"),we.attr("text-anchor","start").call(_.font,Te.font).text(Te.text),D(we,me,G,X,E)):me.selectAll("."+ae+"titletext").remove();var Be=v.ensureSingle(de,"rect","scrollbar",function(be){be.attr(f.scrollBarEnterAttrs).call(c.fill,f.scrollBarColor)}),Ae=me.selectAll("g.groups").data(Z);Ae.enter().append("g").attr("class","groups"),Ae.exit().remove();var Re=Ae.selectAll("g.traces").data(v.identity);Re.enter().append("g").attr("class","traces"),Re.exit().remove(),Re.style("opacity",function(be){var Pe=be[0].trace;return S.traceIs(Pe,"pie-like")?ee.indexOf(be[0].label)!==-1?.5:1:Pe.visible==="legendonly"?.5:1}).each(function(){l.select(this).call(F,G,X)}).call(R,G,X).each(function(){J||l.select(this).call(T,G,ae)}),v.syncOrAsync([i.previousPromises,function(){return B(G,Ae,Re,X)},function(){var be=Q._size,Pe=X.borderwidth,Ke=X.xref==="paper",ze=X.yref==="paper";if(Te.text&&L(we,X,Pe),!J){var Fe,We;Ke?Fe=be.l+be.w*X.x-y[z(X)]*X._width:Fe=Q.width*X.x-y[z(X)]*X._width,ze?We=be.t+be.h*(1-X.y)-y[V(X)]*X._effHeight:We=Q.height*(1-X.y)-y[V(X)]*X._effHeight;var lt=Y(G,ae,Fe,We);if(lt)return;if(Q.margin.autoexpand){var ht=Fe,tt=We;Fe=Ke?v.constrain(Fe,0,Q.width-X._width):ht,We=ze?v.constrain(We,0,Q.height-X._effHeight):tt,Fe!==ht&&v.log("Constrain "+ae+".x to make legend fit inside graph"),We!==tt&&v.log("Constrain "+ae+".y to make legend fit inside graph")}_.setTranslate(de,Fe,We)}if(Be.on(".drag",null),de.on("wheel",null),J||X._height<=X._maxHeight||G._context.staticPlot){var et=X._effHeight;J&&(et=X._height),fe.attr({width:X._width-Pe,height:et-Pe,x:Pe/2,y:Pe/2}),_.setTranslate(me,0,0),oe.select("rect").attr({width:X._width-2*Pe,height:et-2*Pe,x:Pe,y:Pe}),_.setClipUrl(me,ie,G),_.setRect(Be,0,0,0,0),delete X._scrollY}else{var pt=Math.max(f.scrollBarMinHeight,X._effHeight*X._effHeight/X._height),vt=X._effHeight-pt-2*f.scrollBarMargin,_t=X._height-X._effHeight,bt=vt/_t,Rt=Math.min(X._scrollY||0,_t);fe.attr({width:X._width-2*Pe+f.scrollBarWidth+f.scrollBarMargin,height:X._effHeight-Pe,x:Pe/2,y:Pe/2}),oe.select("rect").attr({width:X._width-2*Pe+f.scrollBarWidth+f.scrollBarMargin,height:X._effHeight-2*Pe,x:Pe,y:Pe+Rt}),_.setClipUrl(me,ie,G),Se(Rt,pt,bt),de.on("wheel",function(){Rt=v.constrain(X._scrollY+l.event.deltaY/vt*_t,0,_t),Se(Rt,pt,bt),Rt!==0&&Rt!==_t&&l.event.preventDefault()});var ct,Ve,Qe,rt=function(ut,Et,wt){var nr=(wt-Et)/bt+ut;return v.constrain(nr,0,_t)},qe=function(ut,Et,wt){var nr=(Et-wt)/bt+ut;return v.constrain(nr,0,_t)},He=l.behavior.drag().on("dragstart",function(){var ut=l.event.sourceEvent;ut.type==="touchstart"?ct=ut.changedTouches[0].clientY:ct=ut.clientY,Qe=Rt}).on("drag",function(){var ut=l.event.sourceEvent;ut.buttons===2||ut.ctrlKey||(ut.type==="touchmove"?Ve=ut.changedTouches[0].clientY:Ve=ut.clientY,Rt=rt(Qe,ct,Ve),Se(Rt,pt,bt))});Be.call(He);var Ce=l.behavior.drag().on("dragstart",function(){var ut=l.event.sourceEvent;ut.type==="touchstart"&&(ct=ut.changedTouches[0].clientY,Qe=Rt)}).on("drag",function(){var ut=l.event.sourceEvent;ut.type==="touchmove"&&(Ve=ut.changedTouches[0].clientY,Rt=qe(Qe,ct,Ve),Se(Rt,pt,bt))});me.call(Ce)}function Se(ut,Et,wt){X._scrollY=G._fullLayout[ae]._scrollY=ut,_.setTranslate(me,0,-ut),_.setRect(Be,X._width,f.scrollBarMargin+ut*wt,f.scrollBarWidth,Et),oe.select("rect").attr("y",Pe+ut)}if(G._context.edits.legendPosition){var Le,Ne,je,Je;de.classed("cursor-move",!0),p.init({element:de.node(),gd:G,prepFn:function(){var ut=_.getTranslate(de);je=ut.x,Je=ut.y},moveFn:function(ut,Et){var wt=je+ut,nr=Je+Et;_.setTranslate(de,wt,nr),Le=p.align(wt,X._width,be.l,be.l+be.w,X.xanchor),Ne=p.align(nr+X._height,-X._height,be.t+be.h,be.t,X.yanchor)},doneFn:function(){if(Le!==void 0&&Ne!==void 0){var ut={};ut[ae+".x"]=Le,ut[ae+".y"]=Ne,S.call("_guiRelayout",G,ut)}},clickFn:function(ut,Et){var wt=he.selectAll("g.traces").filter(function(){var nr=this.getBoundingClientRect();return Et.clientX>=nr.left&&Et.clientX<=nr.right&&Et.clientY>=nr.top&&Et.clientY<=nr.bottom});wt.size()>0&&M(G,de,wt,ut,Et)}})}}],G)}}function P(G,W,X){var Q=G[0],ae=Q.width,ie=W.entrywidthmode,he=Q.trace.legendwidth||W.entrywidth;return ie==="fraction"?W._maxWidth*he:X+(he||ae)}function M(G,W,X,Q,ae){var ie=X.data()[0][0].trace,he={event:ae,node:X.node(),curveNumber:ie.index,expandedIndex:ie._expandedIndex,data:G.data,layout:G.layout,frames:G._transitionData._frames,config:G._context,fullData:G._fullData,fullLayout:G._fullLayout};ie._group&&(he.group=ie._group),S.traceIs(ie,"pie-like")&&(he.label=X.datum()[0].label);var J=g.triggerHandler(G,"plotly_legendclick",he);if(Q===1){if(J===!1)return;W._clickTimeout=setTimeout(function(){G._fullLayout&&d(X,G,Q)},G._context.doubleClickDelay)}else if(Q===2){W._clickTimeout&&clearTimeout(W._clickTimeout),G._legendMouseDownTime=0;var Z=g.triggerHandler(G,"plotly_legenddoubleclick",he);Z!==!1&&J!==!1&&d(X,G,Q)}}function F(G,W,X){var Q=j(X),ae=G.data()[0][0],ie=ae.trace,he=S.traceIs(ie,"pie-like"),J=!X._inHover&&W._context.edits.legendText&&!he,Z=X._maxNameLength,le,K;ae.groupTitle?(le=ae.groupTitle.text,K=ae.groupTitle.font):(K=X.font,X.entries?le=ae.text:(le=he?ae.label:ie.name,ie._meta&&(le=v.templateString(le,ie._meta))));var te=v.ensureSingle(G,"text",Q+"text");te.attr("text-anchor","start").call(_.font,K).text(J?N(le,Z):le);var ce=X.indentation+X.itemwidth+f.itemGap*2;s.positionText(te,ce,0),J?te.call(s.makeEditable,{gd:W,text:le}).call(D,G,W,X).on("edit",function(re){this.text(N(re,Z)).call(D,G,W,X);var ee=ae.trace._fullInput||{},de={};if(S.hasTransform(ee,"groupby")){var oe=S.getTransformIndices(ee,"groupby"),fe=oe[oe.length-1],me=v.keyedContainer(ee,"transforms["+fe+"].styles","target","value.name");me.set(ae.trace._group,re),de=me.constructUpdate()}else de.name=re;return ee._isShape?S.call("_guiRelayout",W,"shapes["+ie.index+"].name",de.name):S.call("_guiRestyle",W,de,ie.index)}):D(te,G,W,X)}function N(G,W){var X=Math.max(4,W);if(G&&G.trim().length>=X/2)return G;G=G||"";for(var Q=X-G.length;Q>0;Q--)G+=" ";return G}function T(G,W,X){var Q=W._context.doubleClickDelay,ae,ie=1,he=v.ensureSingle(G,"rect",X+"toggle",function(J){W._context.staticPlot||J.style("cursor","pointer").attr("pointer-events","all"),J.call(c.fill,"rgba(0,0,0,0)")});W._context.staticPlot||(he.on("mousedown",function(){ae=new Date().getTime(),ae-W._legendMouseDownTime<Q?ie+=1:(ie=1,W._legendMouseDownTime=ae)}),he.on("mouseup",function(){if(!(W._dragged||W._editing)){var J=W._fullLayout[X];new Date().getTime()-W._legendMouseDownTime>Q&&(ie=Math.max(ie-1,1)),M(W,J,G,ie,l.event)}}))}function D(G,W,X,Q,ae){Q._inHover&&G.attr("data-notex",!0),s.convertToTspans(G,X,function(){O(W,X,Q,ae)})}function O(G,W,X,Q){var ae=G.data()[0][0];if(!X._inHover&&ae&&!ae.trace.showlegend){G.remove();return}var ie=G.select("g[class*=math-group]"),he=ie.node(),J=j(X);X||(X=W._fullLayout[J]);var Z=X.borderwidth,le;Q===E?le=X.title.font:ae.groupTitle?le=ae.groupTitle.font:le=X.font;var K=le.size*x,te,ce;if(he){var re=_.bBox(he);te=re.height,ce=re.width,Q===E?_.setTranslate(ie,Z,Z+te*.75):_.setTranslate(ie,0,te*.25)}else{var ee="."+J+(Q===E?"title":"")+"text",de=G.select(ee),oe=s.lineCount(de),fe=de.node();if(te=K*oe,ce=fe?_.bBox(fe).width:0,Q===E)X.title.side==="left"&&(ce+=f.itemGap*2),s.positionText(de,Z+f.titlePad,Z+K);else{var me=f.itemGap*2+X.indentation+X.itemwidth;ae.groupTitle&&(me=f.itemGap,ce-=X.indentation+X.itemwidth),s.positionText(de,me,-K*((oe-1)/2-.3))}}Q===E?(X._titleWidth=ce,X._titleHeight=te):(ae.lineHeight=K,ae.height=Math.max(te,16)+3,ae.width=ce)}function U(G){var W=0,X=0,Q=G.title.side;return Q&&(Q.indexOf("left")!==-1&&(W=G._titleWidth),Q.indexOf("top")!==-1&&(X=G._titleHeight)),[W,X]}function B(G,W,X,Q){var ae=G._fullLayout,ie=j(Q);Q||(Q=ae[ie]);var he=ae._size,J=A.isVertical(Q),Z=A.isGrouped(Q),le=Q.entrywidthmode==="fraction",K=Q.borderwidth,te=2*K,ce=f.itemGap,re=Q.indentation+Q.itemwidth+ce*2,ee=2*(K+ce),de=V(Q),oe=Q.y<0||Q.y===0&&de==="top",fe=Q.y>1||Q.y===1&&de==="bottom",me=Q.tracegroupgap,Te={};Q._maxHeight=Math.max(oe||fe?ae.height/2:he.h,30);var we=0;Q._width=0,Q._height=0;var Be=U(Q);if(J)X.each(function(Qe){var rt=Qe[0].height;_.setTranslate(this,K+Be[0],K+Be[1]+Q._height+rt/2+ce),Q._height+=rt,Q._width=Math.max(Q._width,Qe[0].width)}),we=re+Q._width,Q._width+=ce+re+te,Q._height+=ee,Z&&(W.each(function(Qe,rt){_.setTranslate(this,0,rt*Q.tracegroupgap)}),Q._height+=(Q._lgroupsLength-1)*Q.tracegroupgap);else{var Ae=z(Q),Re=Q.x<0||Q.x===0&&Ae==="right",be=Q.x>1||Q.x===1&&Ae==="left",Pe=fe||oe,Ke=ae.width/2;Q._maxWidth=Math.max(Re?Pe&&Ae==="left"?he.l+he.w:Ke:be?Pe&&Ae==="right"?he.r+he.w:Ke:he.w,2*re);var ze=0,Fe=0;X.each(function(Qe){var rt=P(Qe,Q,re);ze=Math.max(ze,rt),Fe+=rt}),we=null;var We=0;if(Z){var lt=0,ht=0,tt=0;W.each(function(){var Qe=0,rt=0;l.select(this).selectAll("g.traces").each(function(He){var Ce=P(He,Q,re),Se=He[0].height;_.setTranslate(this,Be[0],Be[1]+K+ce+Se/2+rt),rt+=Se,Qe=Math.max(Qe,Ce),Te[He[0].trace.legendgroup]=Qe});var qe=Qe+ce;ht>0&&qe+K+ht>Q._maxWidth?(We=Math.max(We,ht),ht=0,tt+=lt+me,lt=rt):lt=Math.max(lt,rt),_.setTranslate(this,ht,tt),ht+=qe}),Q._width=Math.max(We,ht)+K,Q._height=tt+lt+ee}else{var et=X.size(),pt=Fe+te+(et-1)*ce<Q._maxWidth,vt=0,_t=0,bt=0,Rt=0;X.each(function(Qe){var rt=Qe[0].height,qe=P(Qe,Q,re),He=pt?qe:ze;le||(He+=ce),He+K+_t-ce>=Q._maxWidth&&(We=Math.max(We,Rt),_t=0,bt+=vt,Q._height+=vt,vt=0),_.setTranslate(this,Be[0]+K+_t,Be[1]+K+bt+rt/2+ce),Rt=_t+qe+ce,_t+=He,vt=Math.max(vt,rt)}),pt?(Q._width=_t+te,Q._height=vt+ee):(Q._width=Math.max(We,Rt)+te,Q._height+=vt+ee)}}Q._width=Math.ceil(Math.max(Q._width+Be[0],Q._titleWidth+2*(K+f.titlePad))),Q._height=Math.ceil(Math.max(Q._height+Be[1],Q._titleHeight+2*(K+f.itemGap))),Q._effHeight=Math.min(Q._height,Q._maxHeight);var ct=G._context.edits,Ve=ct.legendText||ct.legendPosition;X.each(function(Qe){var rt=l.select(this).select("."+ie+"toggle"),qe=Qe[0].height,He=Qe[0].trace.legendgroup,Ce=P(Qe,Q,re);Z&&He!==""&&(Ce=Te[He]);var Se=Ve?re:we||Ce;!J&&!le&&(Se+=ce/2),_.setRect(rt,0,-qe/2,Se,qe)})}function Y(G,W,X,Q){var ae=G._fullLayout,ie=ae[W],he=z(ie),J=V(ie),Z=ie.xref==="paper",le=ie.yref==="paper";G._fullLayout._reservedMargin[W]={};var K=ie.y<.5?"b":"t",te=ie.x<.5?"l":"r",ce={r:ae.width-X,l:X+ie._width,b:ae.height-Q,t:Q+ie._effHeight};if(Z&&le)return i.autoMargin(G,W,{x:ie.x,y:ie.y,l:ie._width*y[he],r:ie._width*C[he],b:ie._effHeight*C[J],t:ie._effHeight*y[J]});Z?G._fullLayout._reservedMargin[W][K]=ce[K]:le||ie.orientation==="v"?G._fullLayout._reservedMargin[W][te]=ce[te]:G._fullLayout._reservedMargin[W][K]=ce[K]}function z(G){return v.isRightAnchor(G)?"right":v.isCenterAnchor(G)?"center":"left"}function V(G){return v.isBottomAnchor(G)?"bottom":v.isMiddleAnchor(G)?"middle":"top"}function j(G){return G._id||"legend"}},35456:function(u,h,a){var l=a(24040),v=a(42451);u.exports=function(S,g,p){var _=g._inHover,c=v.isGrouped(g),s=v.isReversed(g),d={},f=[],b=!1,x={},y=0,C=0,w,R;function A(G,W,X){if(g.visible!==!1&&!(p&&G!==g._id))if(W===""||!v.isGrouped(g)){var Q="~~i"+y;f.push(Q),d[Q]=[X],y++}else f.indexOf(W)===-1?(f.push(W),b=!0,d[W]=[X]):d[W].push(X)}for(w=0;w<S.length;w++){var E=S[w],k=E[0],L=k.trace,I=L.legend,P=L.legendgroup;if(!(!_&&(!L.visible||!L.showlegend)))if(l.traceIs(L,"pie-like"))for(x[P]||(x[P]={}),R=0;R<E.length;R++){var M=E[R].label;x[P][M]||(A(I,P,{label:M,color:E[R].color,i:E[R].i,trace:L,pts:E[R].pts}),x[P][M]=!0,C=Math.max(C,(M||"").length))}else A(I,P,k),C=Math.max(C,(L.name||"").length)}if(!f.length)return[];var F=!b||!c,N=[];for(w=0;w<f.length;w++){var T=d[f[w]];F?N.push(T[0]):N.push(T)}for(F&&(N=[N]),w=0;w<N.length;w++){var D=1/0;for(R=0;R<N[w].length;R++){var O=N[w][R].trace.legendrank;D>O&&(D=O)}N[w][0]._groupMinRank=D,N[w][0]._preGroupSort=w}var U=function(G,W){return G[0]._groupMinRank-W[0]._groupMinRank||G[0]._preGroupSort-W[0]._preGroupSort},B=function(G,W){return G.trace.legendrank-W.trace.legendrank||G._preSort-W._preSort};for(N.forEach(function(G,W){G[0]._preGroupSort=W}),N.sort(U),w=0;w<N.length;w++){N[w].forEach(function(G,W){G._preSort=W}),N[w].sort(B);var Y=N[w][0].trace,z=null;for(R=0;R<N[w].length;R++){var V=N[w][R].trace.legendgrouptitle;if(V&&V.text){z=V,_&&(V.font=g._groupTitleFont);break}}if(s&&N[w].reverse(),z){var j=!1;for(R=0;R<N[w].length;R++)if(l.traceIs(N[w][R].trace,"pie-like")){j=!0;break}N[w].unshift({i:-1,groupTitle:z,noClick:j,trace:{showlegend:Y.showlegend,legendgroup:Y.legendgroup,visible:g.groupclick==="toggleitem"?!0:Y.visible}})}for(R=0;R<N[w].length;R++)N[w][R]=[N[w][R]]}return g._lgroupsLength=N.length,g._maxNameLength=C,N}},33048:function(u,h,a){var l=a(24040),v=a(3400),i=v.pushUnique,S=!0;u.exports=function(p,_,c){var s=_._fullLayout;if(_._dragged||_._editing)return;var d=s.legend.itemclick,f=s.legend.itemdoubleclick,b=s.legend.groupclick;c===1&&d==="toggle"&&f==="toggleothers"&&S&&_.data&&_._context.showTips&&v.notifier(v._(_,"Double-click on legend to isolate one trace"),"long"),S=!1;var x;if(c===1?x=d:c===2&&(x=f),!x)return;var y=b==="togglegroup",C=s.hiddenlabels?s.hiddenlabels.slice():[],w=p.data()[0][0];if(w.groupTitle&&w.noClick)return;var R=_._fullData,A=(s.shapes||[]).filter(function(Ke){return Ke.showlegend}),E=R.concat(A),k=w.trace;k._isShape&&(k=k._fullInput);var L=k.legendgroup,I,P,M,F,N,T,D={},O=[],U=[],B=[];function Y(Ke,ze){var Fe=O.indexOf(Ke),We=D.visible;return We||(We=D.visible=[]),O.indexOf(Ke)===-1&&(O.push(Ke),Fe=O.length-1),We[Fe]=ze,Fe}var z=(s.shapes||[]).map(function(Ke){return Ke._input}),V=!1;function j(Ke,ze){z[Ke].visible=ze,V=!0}function G(Ke,ze){if(!(w.groupTitle&&!y)){var Fe=Ke._fullInput||Ke,We=Fe._isShape,lt=Fe.index;if(lt===void 0&&(lt=Fe._index),l.hasTransform(Fe,"groupby")){var ht=U[lt];if(!ht){var tt=l.getTransformIndices(Fe,"groupby"),et=tt[tt.length-1];ht=v.keyedContainer(Fe,"transforms["+et+"].styles","target","value.visible"),U[lt]=ht}var pt=ht.get(Ke._group);pt===void 0&&(pt=!0),pt!==!1&&ht.set(Ke._group,ze),B[lt]=Y(lt,Fe.visible!==!1)}else{var vt=Fe.visible===!1?!1:ze;We?j(lt,vt):Y(lt,vt)}}}var W=k.legend,X=k._fullInput,Q=X&&X._isShape;if(!Q&&l.traceIs(k,"pie-like")){var ae=w.label,ie=C.indexOf(ae);if(x==="toggle")ie===-1?C.push(ae):C.splice(ie,1);else if(x==="toggleothers"){var he=ie!==-1,J=[];for(I=0;I<_.calcdata.length;I++){var Z=_.calcdata[I];for(P=0;P<Z.length;P++){var le=Z[P],K=le.label;W===Z[0].trace.legend&&ae!==K&&(C.indexOf(K)===-1&&(he=!0),i(C,K),J.push(K))}}if(!he)for(var te=0;te<J.length;te++){var ce=C.indexOf(J[te]);ce!==-1&&C.splice(ce,1)}}l.call("_guiRelayout",_,"hiddenlabels",C)}else{var re=L&&L.length,ee=[],de;if(re)for(I=0;I<E.length;I++)de=E[I],de.visible&&de.legendgroup===L&&ee.push(I);if(x==="toggle"){var oe;switch(k.visible){case!0:oe="legendonly";break;case!1:oe=!1;break;case"legendonly":oe=!0;break}if(re)if(y)for(I=0;I<E.length;I++){var fe=E[I];fe.visible!==!1&&fe.legendgroup===L&&G(fe,oe)}else G(k,oe);else G(k,oe)}else if(x==="toggleothers"){var me,Te,we,Be,Ae,Re=!0;for(I=0;I<E.length;I++)if(Ae=E[I],me=Ae===k,we=Ae.showlegend!==!0,!(me||we)&&(Te=re&&Ae.legendgroup===L,!Te&&Ae.legend===W&&Ae.visible===!0&&!l.traceIs(Ae,"notLegendIsolatable"))){Re=!1;break}for(I=0;I<E.length;I++)if(Ae=E[I],!(Ae.visible===!1||Ae.legend!==W)&&!l.traceIs(Ae,"notLegendIsolatable"))switch(k.visible){case"legendonly":G(Ae,!0);break;case!0:Be=Re?!0:"legendonly",me=Ae===k,we=Ae.showlegend!==!0&&!Ae.legendgroup,Te=me||re&&Ae.legendgroup===L,G(Ae,Te||we?!0:Be);break}}for(I=0;I<U.length;I++)if(M=U[I],!!M){var be=M.constructUpdate(),Pe=Object.keys(be);for(P=0;P<Pe.length;P++)F=Pe[P],T=D[F]=D[F]||[],T[B[I]]=be[F]}for(N=Object.keys(D),I=0;I<N.length;I++)for(F=N[I],P=0;P<O.length;P++)D[F].hasOwnProperty(P)||(D[F][P]=void 0);V?l.call("_guiUpdate",_,D,{shapes:z},O):l.call("_guiRestyle",_,D,O)}}},42451:function(u,h){h.isGrouped=function(l){return(l.traceorder||"").indexOf("grouped")!==-1},h.isVertical=function(l){return l.orientation!=="h"},h.isReversed=function(l){return(l.traceorder||"").indexOf("reversed")!==-1}},2780:function(u,h,a){u.exports={moduleType:"component",name:"legend",layoutAttributes:a(3800),supplyLayoutDefaults:a(77864),draw:a(31140),style:a(2012)}},2012:function(u,h,a){var l=a(33428),v=a(24040),i=a(3400),S=i.strTranslate,g=a(43616),p=a(76308),_=a(94288).extractOpts,c=a(43028),s=a(10528),d=a(69656).castOption,f=a(65196),b=12,x=5,y=2,C=10,w=5;u.exports=function(L,I,P){var M=I._fullLayout;P||(P=M.legend);var F=P.itemsizing==="constant",N=P.itemwidth,T=(N+f.itemGap*2)/2,D=S(T,0),O=function(J,Z,le,K){var te;if(J+1)te=J;else if(Z&&Z.width>0)te=Z.width;else return 0;return F?K:Math.min(te,le)};L.each(function(J){var Z=l.select(this),le=i.ensureSingle(Z,"g","layers");le.style("opacity",J[0].trace.opacity);var K=P.indentation,te=P.valign,ce=J[0].lineHeight,re=J[0].height;if(te==="middle"&&K===0||!ce||!re)le.attr("transform",null);else{var ee={top:1,bottom:-1}[te],de=ee*(.5*(ce-re+3))||0,oe=P.indentation;le.attr("transform",S(oe,de))}var fe=le.selectAll("g.legendfill").data([J]);fe.enter().append("g").classed("legendfill",!0);var me=le.selectAll("g.legendlines").data([J]);me.enter().append("g").classed("legendlines",!0);var Te=le.selectAll("g.legendsymbols").data([J]);Te.enter().append("g").classed("legendsymbols",!0),Te.selectAll("g.legendpoints").data([J]).enter().append("g").classed("legendpoints",!0)}).each(he).each(Y).each(V).each(z).each(G).each(ae).each(Q).each(U).each(B).each(W).each(X);function U(J){var Z=A(J),le=Z.showFill,K=Z.showLine,te=Z.showGradientLine,ce=Z.showGradientFill,re=Z.anyFill,ee=Z.anyLine,de=J[0],oe=de.trace,fe,me,Te=_(oe),we=Te.colorscale,Be=Te.reversescale,Ae=function(We){if(We.size())if(le)g.fillGroupStyle(We,I,!0);else{var lt="legendfill-"+oe.uid;g.gradient(We,I,lt,R(Be),we,"fill")}},Re=function(We){if(We.size()){var lt="legendline-"+oe.uid;g.lineGroupStyle(We),g.gradient(We,I,lt,R(Be),we,"stroke")}},be=c.hasMarkers(oe)||!re?"M5,0":ee?"M5,-2":"M5,-3",Pe=l.select(this),Ke=Pe.select(".legendfill").selectAll("path").data(le||ce?[J]:[]);if(Ke.enter().append("path").classed("js-fill",!0),Ke.exit().remove(),Ke.attr("d",be+"h"+N+"v6h-"+N+"z").call(Ae),K||te){var ze=O(void 0,oe.line,C,x);me=i.minExtend(oe,{line:{width:ze}}),fe=[i.minExtend(de,{trace:me})]}var Fe=Pe.select(".legendlines").selectAll("path").data(K||te?[fe]:[]);Fe.enter().append("path").classed("js-line",!0),Fe.exit().remove(),Fe.attr("d",be+(te?"l"+N+",0.0001":"h"+N)).call(K?g.lineGroupStyle:Re)}function B(J){var Z=A(J),le=Z.anyFill,K=Z.anyLine,te=Z.showLine,ce=Z.showMarker,re=J[0],ee=re.trace,de=!ce&&!K&&!le&&c.hasText(ee),oe,fe;function me(Ke,ze,Fe,We){var lt=i.nestedProperty(ee,Ke).get(),ht=i.isArrayOrTypedArray(lt)&&ze?ze(lt):lt;if(F&&ht&&We!==void 0&&(ht=We),Fe){if(ht<Fe[0])return Fe[0];if(ht>Fe[1])return Fe[1]}return ht}function Te(Ke){return re._distinct&&re.index&&Ke[re.index]?Ke[re.index]:Ke[0]}if(ce||de||te){var we={},Be={};if(ce){we.mc=me("marker.color",Te),we.mx=me("marker.symbol",Te),we.mo=me("marker.opacity",i.mean,[.2,1]),we.mlc=me("marker.line.color",Te),we.mlw=me("marker.line.width",i.mean,[0,5],y),Be.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Ae=me("marker.size",i.mean,[2,16],b);we.ms=Ae,Be.marker.size=Ae}te&&(Be.line={width:me("line.width",Te,[0,10],x)}),de&&(we.tx="Aa",we.tp=me("textposition",Te),we.ts=10,we.tc=me("textfont.color",Te),we.tf=me("textfont.family",Te)),oe=[i.minExtend(re,we)],fe=i.minExtend(ee,Be),fe.selectedpoints=null,fe.texttemplate=null}var Re=l.select(this).select("g.legendpoints"),be=Re.selectAll("path.scatterpts").data(ce?oe:[]);be.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",D),be.exit().remove(),be.call(g.pointStyle,fe,I),ce&&(oe[0].mrc=3);var Pe=Re.selectAll("g.pointtext").data(de?oe:[]);Pe.enter().append("g").classed("pointtext",!0).append("text").attr("transform",D),Pe.exit().remove(),Pe.selectAll("text").call(g.textPointStyle,fe,I)}function Y(J){var Z=J[0].trace,le=Z.type==="waterfall";if(J[0]._distinct&&le){var K=J[0].trace[J[0].dir].marker;return J[0].mc=K.color,J[0].mlw=K.line.width,J[0].mlc=K.line.color,j(J,this,"waterfall")}var te=[];Z.visible&&le&&(te=J[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var ce=l.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(te);ce.enter().append("path").classed("legendwaterfall",!0).attr("transform",D).style("stroke-miterlimit",1),ce.exit().remove(),ce.each(function(re){var ee=l.select(this),de=Z[re[0]].marker,oe=O(void 0,de.line,w,y);ee.attr("d",re[1]).style("stroke-width",oe+"px").call(p.fill,de.color),oe&&ee.call(p.stroke,de.line.color)})}function z(J){j(J,this)}function V(J){j(J,this,"funnel")}function j(J,Z,le){var K=J[0].trace,te=K.marker||{},ce=te.line||{},re=te.cornerradius?"M6,3a3,3,0,0,1-3,3H-3a3,3,0,0,1-3-3V-3a3,3,0,0,1,3-3H3a3,3,0,0,1,3,3Z":"M6,6H-6V-6H6Z",ee=le?K.visible&&K.type===le:v.traceIs(K,"bar"),de=l.select(Z).select("g.legendpoints").selectAll("path.legend"+le).data(ee?[J]:[]);de.enter().append("path").classed("legend"+le,!0).attr("d",re).attr("transform",D),de.exit().remove(),de.each(function(oe){var fe=l.select(this),me=oe[0],Te=O(me.mlw,te.line,w,y);fe.style("stroke-width",Te+"px");var we=me.mcc;if(!P._inHover&&"mc"in me){var Be=_(te),Ae=Be.mid;Ae===void 0&&(Ae=(Be.max+Be.min)/2),we=g.tryColorscale(te,"")(Ae)}var Re=we||me.mc||te.color,be=te.pattern,Pe=be&&g.getPatternAttr(be.shape,0,"");if(Pe){var Ke=g.getPatternAttr(be.bgcolor,0,null),ze=g.getPatternAttr(be.fgcolor,0,null),Fe=be.fgopacity,We=E(be.size,8,10),lt=E(be.solidity,.5,1),ht="legend-"+K.uid;fe.call(g.pattern,"legend",I,ht,Pe,We,lt,we,be.fillmode,Ke,ze,Fe)}else fe.call(p.fill,Re);Te&&p.stroke(fe,me.mlc||ce.color)})}function G(J){var Z=J[0].trace,le=l.select(this).select("g.legendpoints").selectAll("path.legendbox").data(Z.visible&&v.traceIs(Z,"box-violin")?[J]:[]);le.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",D),le.exit().remove(),le.each(function(){var K=l.select(this);if((Z.boxpoints==="all"||Z.points==="all")&&p.opacity(Z.fillcolor)===0&&p.opacity((Z.line||{}).color)===0){var te=i.minExtend(Z,{marker:{size:F?b:i.constrain(Z.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});le.call(g.pointStyle,te,I)}else{var ce=O(void 0,Z.line,w,y);K.style("stroke-width",ce+"px").call(p.fill,Z.fillcolor),ce&&p.stroke(K,Z.line.color)}})}function W(J){var Z=J[0].trace,le=l.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(Z.visible&&Z.type==="candlestick"?[J,J]:[]);le.enter().append("path").classed("legendcandle",!0).attr("d",function(K,te){return te?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",D).style("stroke-miterlimit",1),le.exit().remove(),le.each(function(K,te){var ce=l.select(this),re=Z[te?"increasing":"decreasing"],ee=O(void 0,re.line,w,y);ce.style("stroke-width",ee+"px").call(p.fill,re.fillcolor),ee&&p.stroke(ce,re.line.color)})}function X(J){var Z=J[0].trace,le=l.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(Z.visible&&Z.type==="ohlc"?[J,J]:[]);le.enter().append("path").classed("legendohlc",!0).attr("d",function(K,te){return te?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",D).style("stroke-miterlimit",1),le.exit().remove(),le.each(function(K,te){var ce=l.select(this),re=Z[te?"increasing":"decreasing"],ee=O(void 0,re.line,w,y);ce.style("fill","none").call(g.dashLine,re.line.dash,ee),ee&&p.stroke(ce,re.line.color)})}function Q(J){ie(J,this,"pie")}function ae(J){ie(J,this,"funnelarea")}function ie(J,Z,le){var K=J[0],te=K.trace,ce=le?te.visible&&te.type===le:v.traceIs(te,le),re=l.select(Z).select("g.legendpoints").selectAll("path.legend"+le).data(ce?[J]:[]);if(re.enter().append("path").classed("legend"+le,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",D),re.exit().remove(),re.size()){var ee=te.marker||{},de=O(d(ee.line.width,K.pts),ee.line,w,y),oe="pieLike",fe=i.minExtend(te,{marker:{line:{width:de}}},oe),me=i.minExtend(K,{trace:fe},oe);s(re,me,fe,I)}}function he(J){var Z=J[0].trace,le,K=[];if(Z.visible)switch(Z.type){case"histogram2d":case"heatmap":K=[["M-15,-2V4H15V-2Z"]],le=!0;break;case"choropleth":case"choroplethmapbox":K=[["M-6,-6V6H6V-6Z"]],le=!0;break;case"densitymapbox":K=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],le="radial";break;case"cone":K=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],le=!1;break;case"streamtube":K=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],le=!1;break;case"surface":K=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],le=!0;break;case"mesh3d":K=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],le=!1;break;case"volume":K=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],le=!0;break;case"isosurface":K=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],le=!1;break}var te=l.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(K);te.enter().append("path").classed("legend3dandfriends",!0).attr("transform",D).style("stroke-miterlimit",1),te.exit().remove(),te.each(function(ce,re){var ee=l.select(this),de=_(Z),oe=de.colorscale,fe=de.reversescale,me=function(Ae){if(Ae.size()){var Re="legendfill-"+Z.uid;g.gradient(Ae,I,Re,R(fe,le==="radial"),oe,"fill")}},Te;if(oe){if(!le){var Be=oe.length;Te=re===0?oe[fe?Be-1:0][1]:re===1?oe[fe?0:Be-1][1]:oe[Math.floor((Be-1)/2)][1]}}else{var we=Z.vertexcolor||Z.facecolor||Z.color;Te=i.isArrayOrTypedArray(we)?we[re]||we[0]:we}ee.attr("d",ce[0]),Te?ee.call(p.fill,Te):ee.call(me)})}};function R(k,L){var I=L?"radial":"horizontal";return I+(k?"":"reversed")}function A(k){var L=k[0].trace,I=L.contours,P=c.hasLines(L),M=c.hasMarkers(L),F=L.visible&&L.fill&&L.fill!=="none",N=!1,T=!1;if(I){var D=I.coloring;D==="lines"?N=!0:P=D==="none"||D==="heatmap"||I.showlines,I.type==="constraint"?F=I._operation!=="=":(D==="fill"||D==="heatmap")&&(T=!0)}return{showMarker:M,showLine:P,showFill:F,showGradientLine:N,showGradientFill:T,anyLine:P||N,anyFill:F||T}}function E(k,L,I){return k&&i.isArrayOrTypedArray(k)?L:k>I?I:k}},66540:function(u,h,a){a(76052),u.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},44248:function(u,h,a){var l=a(24040),v=a(7316),i=a(79811),S=a(9224),g=a(4016).eraseActiveShape,p=a(3400),_=p._,c=u.exports={};c.toImage={name:"toImage",title:function(k){var L=k._context.toImageButtonOptions||{},I=L.format||"png";return I==="png"?_(k,"Download plot as a png"):_(k,"Download plot")},icon:S.camera,click:function(k){var L=k._context.toImageButtonOptions,I={format:L.format||"png"};p.notifier(_(k,"Taking snapshot - this may take a few seconds"),"long"),I.format!=="svg"&&p.isIE()&&(p.notifier(_(k,"IE only supports svg. Changing format to svg."),"long"),I.format="svg"),["filename","width","height","scale"].forEach(function(P){P in L&&(I[P]=L[P])}),l.call("downloadImage",k,I).then(function(P){p.notifier(_(k,"Snapshot succeeded")+" - "+P,"long")}).catch(function(){p.notifier(_(k,"Sorry, there was a problem downloading your snapshot!"),"long")})}},c.sendDataToCloud={name:"sendDataToCloud",title:function(k){return _(k,"Edit in Chart Studio")},icon:S.disk,click:function(k){v.sendDataToCloud(k)}},c.editInChartStudio={name:"editInChartStudio",title:function(k){return _(k,"Edit in Chart Studio")},icon:S.pencil,click:function(k){v.sendDataToCloud(k)}},c.zoom2d={name:"zoom2d",_cat:"zoom",title:function(k){return _(k,"Zoom")},attr:"dragmode",val:"zoom",icon:S.zoombox,click:s},c.pan2d={name:"pan2d",_cat:"pan",title:function(k){return _(k,"Pan")},attr:"dragmode",val:"pan",icon:S.pan,click:s},c.select2d={name:"select2d",_cat:"select",title:function(k){return _(k,"Box Select")},attr:"dragmode",val:"select",icon:S.selectbox,click:s},c.lasso2d={name:"lasso2d",_cat:"lasso",title:function(k){return _(k,"Lasso Select")},attr:"dragmode",val:"lasso",icon:S.lasso,click:s},c.drawclosedpath={name:"drawclosedpath",title:function(k){return _(k,"Draw closed freeform")},attr:"dragmode",val:"drawclosedpath",icon:S.drawclosedpath,click:s},c.drawopenpath={name:"drawopenpath",title:function(k){return _(k,"Draw open freeform")},attr:"dragmode",val:"drawopenpath",icon:S.drawopenpath,click:s},c.drawline={name:"drawline",title:function(k){return _(k,"Draw line")},attr:"dragmode",val:"drawline",icon:S.drawline,click:s},c.drawrect={name:"drawrect",title:function(k){return _(k,"Draw rectangle")},attr:"dragmode",val:"drawrect",icon:S.drawrect,click:s},c.drawcircle={name:"drawcircle",title:function(k){return _(k,"Draw circle")},attr:"dragmode",val:"drawcircle",icon:S.drawcircle,click:s},c.eraseshape={name:"eraseshape",title:function(k){return _(k,"Erase active shape")},icon:S.eraseshape,click:g},c.zoomIn2d={name:"zoomIn2d",_cat:"zoomin",title:function(k){return _(k,"Zoom in")},attr:"zoom",val:"in",icon:S.zoom_plus,click:s},c.zoomOut2d={name:"zoomOut2d",_cat:"zoomout",title:function(k){return _(k,"Zoom out")},attr:"zoom",val:"out",icon:S.zoom_minus,click:s},c.autoScale2d={name:"autoScale2d",_cat:"autoscale",title:function(k){return _(k,"Autoscale")},attr:"zoom",val:"auto",icon:S.autoscale,click:s},c.resetScale2d={name:"resetScale2d",_cat:"resetscale",title:function(k){return _(k,"Reset axes")},attr:"zoom",val:"reset",icon:S.home,click:s},c.hoverClosestCartesian={name:"hoverClosestCartesian",_cat:"hoverclosest",title:function(k){return _(k,"Show closest data on hover")},attr:"hovermode",val:"closest",icon:S.tooltip_basic,gravity:"ne",click:s},c.hoverCompareCartesian={name:"hoverCompareCartesian",_cat:"hoverCompare",title:function(k){return _(k,"Compare data on hover")},attr:"hovermode",val:function(k){return k._fullLayout._isHoriz?"y":"x"},icon:S.tooltip_compare,gravity:"ne",click:s};function s(k,L){var I=L.currentTarget,P=I.getAttribute("data-attr"),M=I.getAttribute("data-val")||!0,F=k._fullLayout,N={},T=i.list(k,null,!0),D=F._cartesianSpikesEnabled,O,U;if(P==="zoom"){var B=M==="in"?.5:2,Y=(1+B)/2,z=(1-B)/2,V;for(U=0;U<T.length;U++)if(O=T[U],!O.fixedrange)if(V=O._name,M==="auto")N[V+".autorange"]=!0;else if(M==="reset")O._rangeInitial0===void 0&&O._rangeInitial1===void 0?N[V+".autorange"]=!0:O._rangeInitial0===void 0?(N[V+".autorange"]=O._autorangeInitial,N[V+".range"]=[null,O._rangeInitial1]):O._rangeInitial1===void 0?(N[V+".range"]=[O._rangeInitial0,null],N[V+".autorange"]=O._autorangeInitial):N[V+".range"]=[O._rangeInitial0,O._rangeInitial1],O._showSpikeInitial!==void 0&&(N[V+".showspikes"]=O._showSpikeInitial,D==="on"&&!O._showSpikeInitial&&(D="off"));else{var j=[O.r2l(O.range[0]),O.r2l(O.range[1])],G=[Y*j[0]+z*j[1],Y*j[1]+z*j[0]];N[V+".range[0]"]=O.l2r(G[0]),N[V+".range[1]"]=O.l2r(G[1])}}else P==="hovermode"&&(M==="x"||M==="y")&&(M=F._isHoriz?"y":"x",I.setAttribute("data-val",M)),N[P]=M;F._cartesianSpikesEnabled=D,l.call("_guiRelayout",k,N)}c.zoom3d={name:"zoom3d",_cat:"zoom",title:function(k){return _(k,"Zoom")},attr:"scene.dragmode",val:"zoom",icon:S.zoombox,click:d},c.pan3d={name:"pan3d",_cat:"pan",title:function(k){return _(k,"Pan")},attr:"scene.dragmode",val:"pan",icon:S.pan,click:d},c.orbitRotation={name:"orbitRotation",title:function(k){return _(k,"Orbital rotation")},attr:"scene.dragmode",val:"orbit",icon:S["3d_rotate"],click:d},c.tableRotation={name:"tableRotation",title:function(k){return _(k,"Turntable rotation")},attr:"scene.dragmode",val:"turntable",icon:S["z-axis"],click:d};function d(k,L){for(var I=L.currentTarget,P=I.getAttribute("data-attr"),M=I.getAttribute("data-val")||!0,F=k._fullLayout._subplots.gl3d||[],N={},T=P.split("."),D=0;D<F.length;D++)N[F[D]+"."+T[1]]=M;var O=M==="pan"?M:"zoom";N.dragmode=O,l.call("_guiRelayout",k,N)}c.resetCameraDefault3d={name:"resetCameraDefault3d",_cat:"resetCameraDefault",title:function(k){return _(k,"Reset camera to default")},attr:"resetDefault",icon:S.home,click:f},c.resetCameraLastSave3d={name:"resetCameraLastSave3d",_cat:"resetCameraLastSave",title:function(k){return _(k,"Reset camera to last save")},attr:"resetLastSave",icon:S.movie,click:f};function f(k,L){for(var I=L.currentTarget,P=I.getAttribute("data-attr"),M=P==="resetLastSave",F=P==="resetDefault",N=k._fullLayout,T=N._subplots.gl3d||[],D={},O=0;O<T.length;O++){var U=T[O],B=U+".camera",Y=U+".aspectratio",z=U+".aspectmode",V=N[U]._scene,j;M?(D[B+".up"]=V.viewInitial.up,D[B+".eye"]=V.viewInitial.eye,D[B+".center"]=V.viewInitial.center,j=!0):F&&(D[B+".up"]=null,D[B+".eye"]=null,D[B+".center"]=null,j=!0),j&&(D[Y+".x"]=V.viewInitial.aspectratio.x,D[Y+".y"]=V.viewInitial.aspectratio.y,D[Y+".z"]=V.viewInitial.aspectratio.z,D[z]=V.viewInitial.aspectmode)}l.call("_guiRelayout",k,D)}c.hoverClosest3d={name:"hoverClosest3d",_cat:"hoverclosest",title:function(k){return _(k,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:S.tooltip_basic,gravity:"ne",click:x};function b(k,L){var I=L.currentTarget,P=I._previousVal,M=k._fullLayout,F=M._subplots.gl3d||[],N=["xaxis","yaxis","zaxis"],T={},D={};if(P)D=P,I._previousVal=null;else{for(var O=0;O<F.length;O++){var U=F[O],B=M[U],Y=U+".hovermode";T[Y]=B.hovermode,D[Y]=!1;for(var z=0;z<3;z++){var V=N[z],j=U+"."+V+".showspikes";D[j]=!1,T[j]=B[V].showspikes}}I._previousVal=T}return D}function x(k,L){var I=b(k,L);l.call("_guiRelayout",k,I)}c.zoomInGeo={name:"zoomInGeo",_cat:"zoomin",title:function(k){return _(k,"Zoom in")},attr:"zoom",val:"in",icon:S.zoom_plus,click:y},c.zoomOutGeo={name:"zoomOutGeo",_cat:"zoomout",title:function(k){return _(k,"Zoom out")},attr:"zoom",val:"out",icon:S.zoom_minus,click:y},c.resetGeo={name:"resetGeo",_cat:"reset",title:function(k){return _(k,"Reset")},attr:"reset",val:null,icon:S.autoscale,click:y},c.hoverClosestGeo={name:"hoverClosestGeo",_cat:"hoverclosest",title:function(k){return _(k,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:S.tooltip_basic,gravity:"ne",click:w};function y(k,L){for(var I=L.currentTarget,P=I.getAttribute("data-attr"),M=I.getAttribute("data-val")||!0,F=k._fullLayout,N=F._subplots.geo||[],T=0;T<N.length;T++){var D=N[T],O=F[D];if(P==="zoom"){var U=O.projection.scale,B=M==="in"?2*U:.5*U;l.call("_guiRelayout",k,D+".projection.scale",B)}}P==="reset"&&E(k,"geo")}c.hoverClosestGl2d={name:"hoverClosestGl2d",_cat:"hoverclosest",title:function(k){return _(k,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:S.tooltip_basic,gravity:"ne",click:w},c.hoverClosestPie={name:"hoverClosestPie",_cat:"hoverclosest",title:function(k){return _(k,"Toggle show closest data on hover")},attr:"hovermode",val:"closest",icon:S.tooltip_basic,gravity:"ne",click:w};function C(k){var L=k._fullLayout;return L.hovermode?!1:L._has("cartesian")?L._isHoriz?"y":"x":"closest"}function w(k){var L=C(k);l.call("_guiRelayout",k,"hovermode",L)}c.resetViewSankey={name:"resetSankeyGroup",title:function(k){return _(k,"Reset view")},icon:S.home,click:function(k){for(var L={"node.groups":[],"node.x":[],"node.y":[]},I=0;I<k._fullData.length;I++){var P=k._fullData[I]._viewInitial;L["node.groups"].push(P.node.groups.slice()),L["node.x"].push(P.node.x.slice()),L["node.y"].push(P.node.y.slice())}l.call("restyle",k,L)}},c.toggleHover={name:"toggleHover",title:function(k){return _(k,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:S.tooltip_basic,gravity:"ne",click:function(k,L){var I=b(k,L);I.hovermode=C(k),l.call("_guiRelayout",k,I)}},c.resetViews={name:"resetViews",title:function(k){return _(k,"Reset views")},icon:S.home,click:function(k,L){var I=L.currentTarget;I.setAttribute("data-attr","zoom"),I.setAttribute("data-val","reset"),s(k,L),I.setAttribute("data-attr","resetLastSave"),f(k,L),E(k,"geo"),E(k,"mapbox")}},c.toggleSpikelines={name:"toggleSpikelines",title:function(k){return _(k,"Toggle Spike Lines")},icon:S.spikeline,attr:"_cartesianSpikesEnabled",val:"on",click:function(k){var L=k._fullLayout,I=L._cartesianSpikesEnabled;L._cartesianSpikesEnabled=I==="on"?"off":"on",l.call("_guiRelayout",k,R(k))}};function R(k){for(var L=k._fullLayout,I=L._cartesianSpikesEnabled==="on",P=i.list(k,null,!0),M={},F=0;F<P.length;F++){var N=P[F];M[N._name+".showspikes"]=I?!0:N._showSpikeInitial}return M}c.resetViewMapbox={name:"resetViewMapbox",_cat:"resetView",title:function(k){return _(k,"Reset view")},attr:"reset",icon:S.home,click:function(k){E(k,"mapbox")}},c.zoomInMapbox={name:"zoomInMapbox",_cat:"zoomin",title:function(k){return _(k,"Zoom in")},attr:"zoom",val:"in",icon:S.zoom_plus,click:A},c.zoomOutMapbox={name:"zoomOutMapbox",_cat:"zoomout",title:function(k){return _(k,"Zoom out")},attr:"zoom",val:"out",icon:S.zoom_minus,click:A};function A(k,L){for(var I=L.currentTarget,P=I.getAttribute("data-val"),M=k._fullLayout,F=M._subplots.mapbox||[],N=1.05,T={},D=0;D<F.length;D++){var O=F[D],U=M[O].zoom,B=P==="in"?N*U:U/N;T[O+".zoom"]=B}l.call("_guiRelayout",k,T)}function E(k,L){for(var I=k._fullLayout,P=I._subplots[L]||[],M={},F=0;F<P.length;F++)for(var N=P[F],T=I[N]._subplot,D=T.viewInitial,O=Object.keys(D),U=0;U<O.length;U++){var B=O[U];M[N+"."+B]=D[B]}l.call("_guiRelayout",k,M)}},76052:function(u,h,a){var l=a(44248),v=Object.keys(l),i=["drawline","drawopenpath","drawclosedpath","drawcircle","drawrect","eraseshape"],S=["v1hovermode","hoverclosest","hovercompare","togglehover","togglespikelines"].concat(i),g=[],p=function(_){if(S.indexOf(_._cat||_.name)===-1){var c=_.name,s=(_._cat||_.name).toLowerCase();g.indexOf(c)===-1&&g.push(c),g.indexOf(s)===-1&&g.push(s)}};v.forEach(function(_){p(l[_])}),g.sort(),u.exports={DRAW_MODES:i,backButtons:S,foreButtons:g}},90824:function(u,h,a){var l=a(3400),v=a(76308),i=a(31780),S=a(66540);u.exports=function(p,_){var c=p.modebar||{},s=i.newContainer(_,"modebar");function d(b,x){return l.coerce(c,s,S,b,x)}d("orientation"),d("bgcolor",v.addOpacity(_.paper_bgcolor,.5));var f=v.contrast(v.rgb(_.modebar.bgcolor));d("color",v.addOpacity(f,.3)),d("activecolor",v.addOpacity(f,.7)),d("uirevision",_.uirevision),d("add"),d("remove")}},45460:function(u,h,a){u.exports={moduleType:"component",name:"modebar",layoutAttributes:a(66540),supplyLayoutDefaults:a(90824),manage:a(18816)}},18816:function(u,h,a){var l=a(79811),v=a(43028),i=a(24040),S=a(10624).isUnifiedHover,g=a(66400),p=a(44248),_=a(76052).DRAW_MODES,c=a(3400).extendDeep;u.exports=function(w){var R=w._fullLayout,A=w._context,E=R._modeBar;if(!A.displayModeBar&&!A.watermark){E&&(E.destroy(),delete R._modeBar);return}if(!Array.isArray(A.modeBarButtonsToRemove))throw new Error(["*modeBarButtonsToRemove* configuration options","must be an array."].join(" "));if(!Array.isArray(A.modeBarButtonsToAdd))throw new Error(["*modeBarButtonsToAdd* configuration options","must be an array."].join(" "));var k=A.modeBarButtons,L;Array.isArray(k)&&k.length?L=y(k):!A.displayModeBar&&A.watermark?L=[]:L=s(w),E?E.update(w,L):R._modeBar=g(w,L)};function s(C){var w=C._fullLayout,R=C._fullData,A=C._context;function E(re,ee){if(typeof ee=="string"){if(ee.toLowerCase()===re.toLowerCase())return!0}else{var de=ee.name,oe=ee._cat||ee.name;if(de===re||oe===re.toLowerCase())return!0}return!1}var k=w.modebar.add;typeof k=="string"&&(k=[k]);var L=w.modebar.remove;typeof L=="string"&&(L=[L]);var I=A.modeBarButtonsToAdd.concat(k.filter(function(re){for(var ee=0;ee<A.modeBarButtonsToRemove.length;ee++)if(E(re,A.modeBarButtonsToRemove[ee]))return!1;return!0})),P=A.modeBarButtonsToRemove.concat(L.filter(function(re){for(var ee=0;ee<A.modeBarButtonsToAdd.length;ee++)if(E(re,A.modeBarButtonsToAdd[ee]))return!1;return!0})),M=w._has("cartesian"),F=w._has("gl3d"),N=w._has("geo"),T=w._has("pie"),D=w._has("funnelarea"),O=w._has("gl2d"),U=w._has("ternary"),B=w._has("mapbox"),Y=w._has("polar"),z=w._has("smith"),V=w._has("sankey"),j=d(w),G=S(w.hovermode),W=[];function X(re){if(re.length){for(var ee=[],de=0;de<re.length;de++){for(var oe=re[de],fe=p[oe],me=fe.name.toLowerCase(),Te=(fe._cat||fe.name).toLowerCase(),we=!1,Be=0;Be<P.length;Be++){var Ae=P[Be].toLowerCase();if(Ae===me||Ae===Te){we=!0;break}}we||ee.push(p[oe])}W.push(ee)}}var Q=["toImage"];A.showEditInChartStudio?Q.push("editInChartStudio"):A.showSendToCloud&&Q.push("sendDataToCloud"),X(Q);var ae=[],ie=[],he=[],J=[];(M||O||T||D||U)+N+F+B+Y+z>1?(ie=["toggleHover"],he=["resetViews"]):N?(ae=["zoomInGeo","zoomOutGeo"],ie=["hoverClosestGeo"],he=["resetGeo"]):F?(ie=["hoverClosest3d"],he=["resetCameraDefault3d","resetCameraLastSave3d"]):B?(ae=["zoomInMapbox","zoomOutMapbox"],ie=["toggleHover"],he=["resetViewMapbox"]):O?ie=["hoverClosestGl2d"]:T?ie=["hoverClosestPie"]:V?(ie=["hoverClosestCartesian","hoverCompareCartesian"],he=["resetViewSankey"]):ie=["toggleHover"],M&&(ie=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(b(R)||G)&&(ie=[]),(M||O)&&!j&&(ae=["zoomIn2d","zoomOut2d","autoScale2d"],he[0]!=="resetViews"&&(he=["resetScale2d"])),F?J=["zoom3d","pan3d","orbitRotation","tableRotation"]:(M||O)&&!j||U?J=["zoom2d","pan2d"]:B||N?J=["pan2d"]:Y&&(J=["zoom2d"]),f(R)&&J.push("select2d","lasso2d");var Z=[],le=function(re){Z.indexOf(re)===-1&&ie.indexOf(re)!==-1&&Z.push(re)};if(Array.isArray(I)){for(var K=[],te=0;te<I.length;te++){var ce=I[te];typeof ce=="string"?(ce=ce.toLowerCase(),_.indexOf(ce)!==-1?(w._has("mapbox")||w._has("cartesian"))&&J.push(ce):ce==="togglespikelines"?le("toggleSpikelines"):ce==="togglehover"?le("toggleHover"):ce==="hovercompare"?le("hoverCompareCartesian"):ce==="hoverclosest"?(le("hoverClosestCartesian"),le("hoverClosestGeo"),le("hoverClosest3d"),le("hoverClosestGl2d"),le("hoverClosestPie")):ce==="v1hovermode"&&(le("toggleHover"),le("hoverClosestCartesian"),le("hoverCompareCartesian"),le("hoverClosestGeo"),le("hoverClosest3d"),le("hoverClosestGl2d"),le("hoverClosestPie"))):K.push(ce)}I=K}return X(J),X(ae.concat(he)),X(Z),x(W,I)}function d(C){for(var w=l.list({_fullLayout:C},null,!0),R=0;R<w.length;R++)if(!w[R].fixedrange)return!1;return!0}function f(C){for(var w=!1,R=0;R<C.length&&!w;R++){var A=C[R];!A._module||!A._module.selectPoints||(i.traceIs(A,"scatter-like")?(v.hasMarkers(A)||v.hasText(A))&&(w=!0):i.traceIs(A,"box-violin")?(A.boxpoints==="all"||A.points==="all")&&(w=!0):w=!0)}return w}function b(C){for(var w=0;w<C.length;w++)if(!i.traceIs(C[w],"noHover"))return!1;return!0}function x(C,w){if(w.length)if(Array.isArray(w[0]))for(var R=0;R<w.length;R++)C.push(w[R]);else C.push(w);return C}function y(C){for(var w=c([],C),R=0;R<w.length;R++)for(var A=w[R],E=0;E<A.length;E++){var k=A[E];if(typeof k=="string")if(p[k]!==void 0)w[R][E]=p[k];else throw new Error(["*modeBarButtons* configuration options","invalid button name"].join(" "))}return w}},66400:function(u,h,a){var l=a(33428),v=a(38248),i=a(3400),S=a(9224),g=a(25788).version,p=new DOMParser;function _(f){this.container=f.container,this.element=document.createElement("div"),this.update(f.graphInfo,f.buttons),this.container.appendChild(this.element)}var c=_.prototype;c.update=function(f,b){this.graphInfo=f;var x=this.graphInfo._context,y=this.graphInfo._fullLayout,C="modebar-"+y._uid;this.element.setAttribute("id",C),this._uid=C,this.element.className="modebar",x.displayModeBar==="hover"&&(this.element.className+=" modebar--hover ease-bg"),y.modebar.orientation==="v"&&(this.element.className+=" vertical",b=b.reverse());var w=y.modebar,R=x.displayModeBar==="hover"?".js-plotly-plot .plotly:hover ":"";i.deleteRelatedStyleRule(C),i.addRelatedStyleRule(C,R+"#"+C+" .modebar-group","background-color: "+w.bgcolor),i.addRelatedStyleRule(C,"#"+C+" .modebar-btn .icon path","fill: "+w.color),i.addRelatedStyleRule(C,"#"+C+" .modebar-btn:hover .icon path","fill: "+w.activecolor),i.addRelatedStyleRule(C,"#"+C+" .modebar-btn.active .icon path","fill: "+w.activecolor);var A=!this.hasButtons(b),E=this.hasLogo!==x.displaylogo,k=this.locale!==x.locale;if(this.locale=x.locale,(A||E||k)&&(this.removeAllButtons(),this.updateButtons(b),x.watermark||x.displaylogo)){var L=this.getLogo();x.watermark&&(L.className=L.className+" watermark"),y.modebar.orientation==="v"?this.element.insertBefore(L,this.element.childNodes[0]):this.element.appendChild(L),this.hasLogo=!0}this.updateActiveButton()},c.updateButtons=function(f){var b=this;this.buttons=f,this.buttonElements=[],this.buttonsNames=[],this.buttons.forEach(function(x){var y=b.createGroup();x.forEach(function(C){var w=C.name;if(!w)throw new Error("must provide button 'name' in button config");if(b.buttonsNames.indexOf(w)!==-1)throw new Error("button name '"+w+"' is taken");b.buttonsNames.push(w);var R=b.createButton(C);b.buttonElements.push(R),y.appendChild(R)}),b.element.appendChild(y)})},c.createGroup=function(){var f=document.createElement("div");return f.className="modebar-group",f},c.createButton=function(f){var b=this,x=document.createElement("a");x.setAttribute("rel","tooltip"),x.className="modebar-btn";var y=f.title;y===void 0?y=f.name:typeof y=="function"&&(y=y(this.graphInfo)),(y||y===0)&&x.setAttribute("data-title",y),f.attr!==void 0&&x.setAttribute("data-attr",f.attr);var C=f.val;C!==void 0&&(typeof C=="function"&&(C=C(this.graphInfo)),x.setAttribute("data-val",C));var w=f.click;if(typeof w!="function")throw new Error("must provide button 'click' function in button config");x.addEventListener("click",function(A){f.click(b.graphInfo,A),b.updateActiveButton(A.currentTarget)}),x.setAttribute("data-toggle",f.toggle||!1),f.toggle&&l.select(x).classed("active",!0);var R=f.icon;return typeof R=="function"?x.appendChild(R()):x.appendChild(this.createIcon(R||S.question)),x.setAttribute("data-gravity",f.gravity||"n"),x},c.createIcon=function(f){var b=v(f.height)?Number(f.height):f.ascent-f.descent,x="http://www.w3.org/2000/svg",y;if(f.path){y=document.createElementNS(x,"svg"),y.setAttribute("viewBox",[0,0,f.width,b].join(" ")),y.setAttribute("class","icon");var C=document.createElementNS(x,"path");C.setAttribute("d",f.path),f.transform?C.setAttribute("transform",f.transform):f.ascent!==void 0&&C.setAttribute("transform","matrix(1 0 0 -1 0 "+f.ascent+")"),y.appendChild(C)}if(f.svg){var w=p.parseFromString(f.svg,"application/xml");y=w.childNodes[0]}return y.setAttribute("height","1em"),y.setAttribute("width","1em"),y},c.updateActiveButton=function(f){var b=this.graphInfo._fullLayout,x=f!==void 0?f.getAttribute("data-attr"):null;this.buttonElements.forEach(function(y){var C=y.getAttribute("data-val")||!0,w=y.getAttribute("data-attr"),R=y.getAttribute("data-toggle")==="true",A=l.select(y);if(R)w===x&&A.classed("active",!A.classed("active"));else{var E=w===null?w:i.nestedProperty(b,w).get();A.classed("active",E===C)}})},c.hasButtons=function(f){var b=this.buttons;if(!b||f.length!==b.length)return!1;for(var x=0;x<f.length;++x){if(f[x].length!==b[x].length)return!1;for(var y=0;y<f[x].length;y++)if(f[x][y].name!==b[x][y].name)return!1}return!0};function s(f){return f+" (v"+g+")"}c.getLogo=function(){var f=this.createGroup(),b=document.createElement("a");return b.href="https://plotly.com/",b.target="_blank",b.setAttribute("data-title",s(i._(this.graphInfo,"Produced with Plotly.js"))),b.className="modebar-btn plotlyjsicon modebar-btn--logo",b.appendChild(this.createIcon(S.newplotlylogo)),f.appendChild(b),f},c.removeAllButtons=function(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.hasLogo=!1},c.destroy=function(){i.removeElement(this.container.querySelector(".modebar")),i.deleteRelatedStyleRule(this._uid)};function d(f,b){var x=f._fullLayout,y=new _({graphInfo:f,container:x._modebardiv.node(),buttons:b});return x._privateplot&&l.select(y.element).append("span").classed("badge-private float--left",!0).text("PRIVATE"),y}u.exports=d},26680:function(u,h,a){var l=a(25376),v=a(22548),i=a(31780).templatedArray,S=i("button",{visible:{valType:"boolean",dflt:!0,editType:"plot"},step:{valType:"enumerated",values:["month","year","day","hour","minute","second","all"],dflt:"month",editType:"plot"},stepmode:{valType:"enumerated",values:["backward","todate"],dflt:"backward",editType:"plot"},count:{valType:"number",min:0,dflt:1,editType:"plot"},label:{valType:"string",editType:"plot"},editType:"plot"});u.exports={visible:{valType:"boolean",editType:"plot"},buttons:S,x:{valType:"number",min:-2,max:3,editType:"plot"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",editType:"plot"},y:{valType:"number",min:-2,max:3,editType:"plot"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"bottom",editType:"plot"},font:l({editType:"plot"}),bgcolor:{valType:"color",dflt:v.lightLine,editType:"plot"},activecolor:{valType:"color",editType:"plot"},bordercolor:{valType:"color",dflt:v.defaultLine,editType:"plot"},borderwidth:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"plot"}},85984:function(u){u.exports={yPad:.02,minButtonWidth:30,rx:3,ry:3,lightAmount:25,darkAmount:10}},22148:function(u,h,a){var l=a(3400),v=a(76308),i=a(31780),S=a(51272),g=a(26680),p=a(85984);u.exports=function(d,f,b,x,y){var C=d.rangeselector||{},w=i.newContainer(f,"rangeselector");function R(I,P){return l.coerce(C,w,g,I,P)}var A=S(C,w,{name:"buttons",handleItemDefaults:_,calendar:y}),E=R("visible",A.length>0);if(E){var k=c(f,b,x);R("x",k[0]),R("y",k[1]),l.noneOrAll(d,f,["x","y"]),R("xanchor"),R("yanchor"),l.coerceFont(R,"font",b.font);var L=R("bgcolor");R("activecolor",v.contrast(L,p.lightAmount,p.darkAmount)),R("bordercolor"),R("borderwidth")}};function _(s,d,f,b){var x=b.calendar;function y(R,A){return l.coerce(s,d,g.buttons,R,A)}var C=y("visible");if(C){var w=y("step");w!=="all"&&(x&&x!=="gregorian"&&(w==="month"||w==="year")?d.stepmode="backward":y("stepmode"),y("count")),y("label")}}function c(s,d,f){for(var b=f.filter(function(w){return d[w].anchor===s._id}),x=0,y=0;y<b.length;y++){var C=d[b[y]].domain;C&&(x=Math.max(C[1],x))}return[s.domain[0],x+p.yPad]}},50216:function(u,h,a){var l=a(33428),v=a(24040),i=a(7316),S=a(76308),g=a(43616),p=a(3400),_=p.strTranslate,c=a(72736),s=a(79811),d=a(84284),f=d.LINE_SPACING,b=d.FROM_TL,x=d.FROM_BR,y=a(85984),C=a(48040);u.exports=function(F){var N=F._fullLayout,T=N._infolayer.selectAll(".rangeselector").data(w(F),R);T.enter().append("g").classed("rangeselector",!0),T.exit().remove(),T.style({cursor:"pointer","pointer-events":"all"}),T.each(function(D){var O=l.select(this),U=D,B=U.rangeselector,Y=O.selectAll("g.button").data(p.filterVisible(B.buttons));Y.enter().append("g").classed("button",!0),Y.exit().remove(),Y.each(function(z){var V=l.select(this),j=C(U,z);z._isActive=A(U,z,j),V.call(E,B,z),V.call(L,B,z,F),V.on("click",function(){F._dragged||v.call("_guiRelayout",F,j)}),V.on("mouseover",function(){z._isHovered=!0,V.call(E,B,z)}),V.on("mouseout",function(){z._isHovered=!1,V.call(E,B,z)})}),P(F,Y,B,U._name,O)})};function w(M){for(var F=s.list(M,"x",!0),N=[],T=0;T<F.length;T++){var D=F[T];D.rangeselector&&D.rangeselector.visible&&N.push(D)}return N}function R(M){return M._id}function A(M,F,N){if(F.step==="all")return M.autorange===!0;var T=Object.keys(N);return M.range[0]===N[T[0]]&&M.range[1]===N[T[1]]}function E(M,F,N){var T=p.ensureSingle(M,"rect","selector-rect",function(D){D.attr("shape-rendering","crispEdges")});T.attr({rx:y.rx,ry:y.ry}),T.call(S.stroke,F.bordercolor).call(S.fill,k(F,N)).style("stroke-width",F.borderwidth+"px")}function k(M,F){return F._isActive||F._isHovered?M.activecolor:M.bgcolor}function L(M,F,N,T){function D(U){c.convertToTspans(U,T)}var O=p.ensureSingle(M,"text","selector-text",function(U){U.attr("text-anchor","middle")});O.call(g.font,F.font).text(I(N,T._fullLayout._meta)).call(D)}function I(M,F){return M.label?F?p.templateString(M.label,F):M.label:M.step==="all"?"all":M.count+M.step.charAt(0)}function P(M,F,N,T,D){var O=0,U=0,B=N.borderwidth;F.each(function(){var W=l.select(this),X=W.select(".selector-text"),Q=N.font.size*f,ae=Math.max(Q*c.lineCount(X),16)+3;U=Math.max(U,ae)}),F.each(function(){var W=l.select(this),X=W.select(".selector-rect"),Q=W.select(".selector-text"),ae=Q.node()&&g.bBox(Q.node()).width,ie=N.font.size*f,he=c.lineCount(Q),J=Math.max(ae+10,y.minButtonWidth);W.attr("transform",_(B+O,B)),X.attr({x:0,y:0,width:J,height:U}),c.positionText(Q,J/2,U/2-(he-1)*ie/2+3),O+=J+5});var Y=M._fullLayout._size,z=Y.l+Y.w*N.x,V=Y.t+Y.h*(1-N.y),j="left";p.isRightAnchor(N)&&(z-=O,j="right"),p.isCenterAnchor(N)&&(z-=O/2,j="center");var G="top";p.isBottomAnchor(N)&&(V-=U,G="bottom"),p.isMiddleAnchor(N)&&(V-=U/2,G="middle"),O=Math.ceil(O),U=Math.ceil(U),z=Math.round(z),V=Math.round(V),i.autoMargin(M,T+"-range-selector",{x:N.x,y:N.y,l:O*b[j],r:O*x[j],b:U*x[G],t:U*b[G]}),D.attr("transform",_(z,V))}},48040:function(u,h,a){var l=a(73220),v=a(3400).titleCase;u.exports=function(g,p){var _=g._name,c={};if(p.step==="all")c[_+".autorange"]=!0;else{var s=i(g,p);c[_+".range[0]"]=s[0],c[_+".range[1]"]=s[1]}return c};function i(S,g){var p=S.range,_=new Date(S.r2l(p[1])),c=g.step,s=l["utc"+v(c)],d=g.count,f;switch(g.stepmode){case"backward":f=S.l2r(+s.offset(_,-d));break;case"todate":var b=s.offset(_,-d);f=S.l2r(+s.ceil(b));break}var x=p[1];return[f,x]}},41152:function(u,h,a){u.exports={moduleType:"component",name:"rangeselector",schema:{subplots:{xaxis:{rangeselector:a(26680)}}},layoutAttributes:a(26680),handleDefaults:a(22148),draw:a(50216)}},11200:function(u,h,a){var l=a(22548);u.exports={bgcolor:{valType:"color",dflt:l.background,editType:"plot"},bordercolor:{valType:"color",dflt:l.defaultLine,editType:"plot"},borderwidth:{valType:"integer",dflt:0,min:0,editType:"plot"},autorange:{valType:"boolean",dflt:!0,editType:"calc",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},range:{valType:"info_array",items:[{valType:"any",editType:"calc",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"calc",impliedEdits:{"^autorange":!1}}],editType:"calc",impliedEdits:{autorange:!1}},thickness:{valType:"number",dflt:.15,min:0,max:1,editType:"plot"},visible:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"}},26652:function(u,h,a){var l=a(79811).list,v=a(19280).getAutoRange,i=a(74636);u.exports=function(g){for(var p=l(g,"x",!0),_=0;_<p.length;_++){var c=p[_],s=c[i.name];s&&s.visible&&s.autorange&&(s._input.autorange=!0,s._input.range=s.range=v(g,c))}}},74636:function(u){u.exports={name:"rangeslider",containerClassName:"rangeslider-container",bgClassName:"rangeslider-bg",rangePlotClassName:"rangeslider-rangeplot",maskMinClassName:"rangeslider-mask-min",maskMaxClassName:"rangeslider-mask-max",slideBoxClassName:"rangeslider-slidebox",grabberMinClassName:"rangeslider-grabber-min",grabAreaMinClassName:"rangeslider-grabarea-min",handleMinClassName:"rangeslider-handle-min",grabberMaxClassName:"rangeslider-grabber-max",grabAreaMaxClassName:"rangeslider-grabarea-max",handleMaxClassName:"rangeslider-handle-max",maskMinOppAxisClassName:"rangeslider-mask-min-opp-axis",maskMaxOppAxisClassName:"rangeslider-mask-max-opp-axis",maskColor:"rgba(0,0,0,0.4)",maskOppAxisColor:"rgba(0,0,0,0.2)",slideBoxFill:"transparent",slideBoxCursor:"ew-resize",grabAreaFill:"transparent",grabAreaCursor:"col-resize",grabAreaWidth:10,handleWidth:4,handleRadius:1,handleStrokeWidth:1,extraPad:15}},94040:function(u,h,a){var l=a(3400),v=a(31780),i=a(79811),S=a(11200),g=a(10936);u.exports=function(_,c,s){var d=_[s],f=c[s];if(!(d.rangeslider||c._requestRangeslider[f._id]))return;l.isPlainObject(d.rangeslider)||(d.rangeslider={});var b=d.rangeslider,x=v.newContainer(f,"rangeslider");function y(T,D){return l.coerce(b,x,S,T,D)}var C,w;function R(T,D){return l.coerce(C,w,g,T,D)}var A=y("visible");if(A){y("bgcolor",c.plot_bgcolor),y("bordercolor"),y("borderwidth"),y("thickness"),y("autorange",!f.isValidRange(b.range)),y("range");var E=c._subplots;if(E)for(var k=E.cartesian.filter(function(T){return T.substr(0,T.indexOf("y"))===i.name2id(s)}).map(function(T){return T.substr(T.indexOf("y"),T.length)}),L=l.simpleMap(k,i.id2name),I=0;I<L.length;I++){var P=L[I];C=b[P]||{},w=v.newContainer(x,P,"yaxis");var M=c[P],F;C.range&&M.isValidRange(C.range)&&(F="fixed");var N=R("rangemode",F);N!=="match"&&R("range",M.range.slice())}x._input=b}}},20060:function(u,h,a){var l=a(33428),v=a(24040),i=a(7316),S=a(3400),g=S.strTranslate,p=a(43616),_=a(76308),c=a(81668),s=a(57952),d=a(79811),f=a(86476),b=a(93972),x=a(74636);u.exports=function(F){for(var N=F._fullLayout,T=N._rangeSliderData,D=0;D<T.length;D++){var O=T[D][x.name];O._clipId=O._id+"-"+N._uid}function U(Y){return Y._name}var B=N._infolayer.selectAll("g."+x.containerClassName).data(T,U);B.exit().each(function(Y){var z=Y[x.name];N._topdefs.select("#"+z._clipId).remove()}).remove(),T.length!==0&&(B.enter().append("g").classed(x.containerClassName,!0).attr("pointer-events","all"),B.each(function(Y){var z=l.select(this),V=Y[x.name],j=N[d.id2name(Y.anchor)],G=V[d.id2name(Y.anchor)];if(V.range){var W=S.simpleMap(V.range,Y.r2l),X=S.simpleMap(Y.range,Y.r2l),Q;X[0]<X[1]?Q=[Math.min(W[0],X[0]),Math.max(W[1],X[1])]:Q=[Math.max(W[0],X[0]),Math.min(W[1],X[1])],V.range=V._input.range=S.simpleMap(Q,Y.l2r)}Y.cleanRange("rangeslider.range");var ae=N._size,ie=Y.domain;V._width=ae.w*(ie[1]-ie[0]);var he=Math.round(ae.l+ae.w*ie[0]),J=Math.round(ae.t+ae.h*(1-Y._counterDomainMin)+(Y.side==="bottom"?Y._depth:0)+V._offsetShift+x.extraPad);z.attr("transform",g(he,J)),V._rl=S.simpleMap(V.range,Y.r2l);var Z=V._rl[0],le=V._rl[1],K=le-Z;if(V.p2d=function(we){return we/V._width*K+Z},V.d2p=function(we){return(we-Z)/K*V._width},Y.rangebreaks){var te=Y.locateBreaks(Z,le);if(te.length){var ce,re,ee=0;for(ce=0;ce<te.length;ce++)re=te[ce],ee+=re.max-re.min;var de=V._width/(le-Z-ee),oe=[-de*Z];for(ce=0;ce<te.length;ce++)re=te[ce],oe.push(oe[oe.length-1]-de*(re.max-re.min));for(V.d2p=function(we){for(var Be=oe[0],Ae=0;Ae<te.length;Ae++){var Re=te[Ae];if(we>=Re.max)Be=oe[Ae+1];else if(we<Re.min)break}return Be+de*we},ce=0;ce<te.length;ce++)re=te[ce],re.pmin=V.d2p(re.min),re.pmax=V.d2p(re.max);V.p2d=function(we){for(var Be=oe[0],Ae=0;Ae<te.length;Ae++){var Re=te[Ae];if(we>=Re.pmax)Be=oe[Ae+1];else if(we<Re.pmin)break}return(we-Be)/de}}}if(G.rangemode!=="match"){var fe=j.r2l(G.range[0]),me=j.r2l(G.range[1]),Te=me-fe;V.d2pOppAxis=function(we){return(we-fe)/Te*V._height}}z.call(A,F,Y,V).call(E,F,Y,V).call(k,F,Y,V).call(I,F,Y,V,G).call(P,F,Y,V).call(M,F,Y,V),C(z,F,Y,V),R(z,F,Y,V,j,G),Y.side==="bottom"&&c.draw(F,Y._id+"title",{propContainer:Y,propName:Y._name+".title",placeholder:N._dfltTitle.x,attributes:{x:Y._offset+Y._length/2,y:J+V._height+V._offsetShift+10+1.5*Y.title.font.size,"text-anchor":"middle"}})}))};function y(F){return typeof F.clientX=="number"?F.clientX:F.touches&&F.touches.length>0?F.touches[0].clientX:0}function C(F,N,T,D){if(N._context.staticPlot)return;var O=F.select("rect."+x.slideBoxClassName).node(),U=F.select("rect."+x.grabAreaMinClassName).node(),B=F.select("rect."+x.grabAreaMaxClassName).node();function Y(){var z=l.event,V=z.target,j=y(z),G=j-F.node().getBoundingClientRect().left,W=D.d2p(T._rl[0]),X=D.d2p(T._rl[1]),Q=f.coverSlip();this.addEventListener("touchmove",ae),this.addEventListener("touchend",ie),Q.addEventListener("mousemove",ae),Q.addEventListener("mouseup",ie);function ae(he){var J=y(he),Z=+J-j,le,K,te;switch(V){case O:if(te="ew-resize",W+Z>T._length||X+Z<0)return;le=W+Z,K=X+Z;break;case U:if(te="col-resize",W+Z>T._length)return;le=W+Z,K=X;break;case B:if(te="col-resize",X+Z<0)return;le=W,K=X+Z;break;default:te="ew-resize",le=G,K=G+Z;break}if(K<le){var ce=K;K=le,le=ce}D._pixelMin=le,D._pixelMax=K,b(l.select(Q),te),w(F,N,T,D)}function ie(){Q.removeEventListener("mousemove",ae),Q.removeEventListener("mouseup",ie),this.removeEventListener("touchmove",ae),this.removeEventListener("touchend",ie),S.removeElement(Q)}}F.on("mousedown",Y),F.on("touchstart",Y)}function w(F,N,T,D){function O(Y){return T.l2r(S.constrain(Y,D._rl[0],D._rl[1]))}var U=O(D.p2d(D._pixelMin)),B=O(D.p2d(D._pixelMax));window.requestAnimationFrame(function(){v.call("_guiRelayout",N,T._name+".range",[U,B])})}function R(F,N,T,D,O,U){var B=x.handleWidth/2;function Y(he){return S.constrain(he,0,D._width)}function z(he){return S.constrain(he,0,D._height)}function V(he){return S.constrain(he,-B,D._width+B)}var j=Y(D.d2p(T._rl[0])),G=Y(D.d2p(T._rl[1]));if(F.select("rect."+x.slideBoxClassName).attr("x",j).attr("width",G-j),F.select("rect."+x.maskMinClassName).attr("width",j),F.select("rect."+x.maskMaxClassName).attr("x",G).attr("width",D._width-G),U.rangemode!=="match"){var W=D._height-z(D.d2pOppAxis(O._rl[1])),X=D._height-z(D.d2pOppAxis(O._rl[0]));F.select("rect."+x.maskMinOppAxisClassName).attr("x",j).attr("height",W).attr("width",G-j),F.select("rect."+x.maskMaxOppAxisClassName).attr("x",j).attr("y",X).attr("height",D._height-X).attr("width",G-j),F.select("rect."+x.slideBoxClassName).attr("y",W).attr("height",X-W)}var Q=.5,ae=Math.round(V(j-B))-Q,ie=Math.round(V(G-B))+Q;F.select("g."+x.grabberMinClassName).attr("transform",g(ae,Q)),F.select("g."+x.grabberMaxClassName).attr("transform",g(ie,Q))}function A(F,N,T,D){var O=S.ensureSingle(F,"rect",x.bgClassName,function(z){z.attr({x:0,y:0,"shape-rendering":"crispEdges"})}),U=D.borderwidth%2===0?D.borderwidth:D.borderwidth-1,B=-D._offsetShift,Y=p.crispRound(N,D.borderwidth);O.attr({width:D._width+U,height:D._height+U,transform:g(B,B),"stroke-width":Y}).call(_.stroke,D.bordercolor).call(_.fill,D.bgcolor)}function E(F,N,T,D){var O=N._fullLayout,U=S.ensureSingleById(O._topdefs,"clipPath",D._clipId,function(B){B.append("rect").attr({x:0,y:0})});U.select("rect").attr({width:D._width,height:D._height})}function k(F,N,T,D){var O=N.calcdata,U=F.selectAll("g."+x.rangePlotClassName).data(T._subplotsWith,S.identity);U.enter().append("g").attr("class",function(Y){return x.rangePlotClassName+" "+Y}).call(p.setClipUrl,D._clipId,N),U.order(),U.exit().remove();var B;U.each(function(Y,z){var V=l.select(this),j=z===0,G=d.getFromId(N,Y,"y"),W=G._name,X=D[W],Q={data:[],layout:{xaxis:{type:T.type,domain:[0,1],range:D.range.slice(),calendar:T.calendar},width:D._width,height:D._height,margin:{t:0,b:0,l:0,r:0}},_context:N._context};T.rangebreaks&&(Q.layout.xaxis.rangebreaks=T.rangebreaks),Q.layout[W]={type:G.type,domain:[0,1],range:X.rangemode!=="match"?X.range.slice():G.range.slice(),calendar:G.calendar},G.rangebreaks&&(Q.layout[W].rangebreaks=G.rangebreaks),i.supplyDefaults(Q);var ae=Q._fullLayout.xaxis,ie=Q._fullLayout[W];ae.clearCalc(),ae.setScale(),ie.clearCalc(),ie.setScale();var he={id:Y,plotgroup:V,xaxis:ae,yaxis:ie,isRangePlot:!0};j?B=he:(he.mainplot="xy",he.mainplotinfo=B),s.rangePlot(N,he,L(O,Y))})}function L(F,N){for(var T=[],D=0;D<F.length;D++){var O=F[D],U=O[0].trace;U.xaxis+U.yaxis===N&&T.push(O)}return T}function I(F,N,T,D,O){var U=S.ensureSingle(F,"rect",x.maskMinClassName,function(V){V.attr({x:0,y:0,"shape-rendering":"crispEdges"})});U.attr("height",D._height).call(_.fill,x.maskColor);var B=S.ensureSingle(F,"rect",x.maskMaxClassName,function(V){V.attr({y:0,"shape-rendering":"crispEdges"})});if(B.attr("height",D._height).call(_.fill,x.maskColor),O.rangemode!=="match"){var Y=S.ensureSingle(F,"rect",x.maskMinOppAxisClassName,function(V){V.attr({y:0,"shape-rendering":"crispEdges"})});Y.attr("width",D._width).call(_.fill,x.maskOppAxisColor);var z=S.ensureSingle(F,"rect",x.maskMaxOppAxisClassName,function(V){V.attr({y:0,"shape-rendering":"crispEdges"})});z.attr("width",D._width).style("border-top",x.maskOppBorder).call(_.fill,x.maskOppAxisColor)}}function P(F,N,T,D){if(!N._context.staticPlot){var O=S.ensureSingle(F,"rect",x.slideBoxClassName,function(U){U.attr({y:0,cursor:x.slideBoxCursor,"shape-rendering":"crispEdges"})});O.attr({height:D._height,fill:x.slideBoxFill})}}function M(F,N,T,D){var O=S.ensureSingle(F,"g",x.grabberMinClassName),U=S.ensureSingle(F,"g",x.grabberMaxClassName),B={x:0,width:x.handleWidth,rx:x.handleRadius,fill:_.background,stroke:_.defaultLine,"stroke-width":x.handleStrokeWidth,"shape-rendering":"crispEdges"},Y={y:Math.round(D._height/4),height:Math.round(D._height/2)},z=S.ensureSingle(O,"rect",x.handleMinClassName,function(X){X.attr(B)});z.attr(Y);var V=S.ensureSingle(U,"rect",x.handleMaxClassName,function(X){X.attr(B)});V.attr(Y);var j={width:x.grabAreaWidth,x:0,y:0,fill:x.grabAreaFill,cursor:N._context.staticPlot?void 0:x.grabAreaCursor},G=S.ensureSingle(O,"rect",x.grabAreaMinClassName,function(X){X.attr(j)});G.attr("height",D._height);var W=S.ensureSingle(U,"rect",x.grabAreaMaxClassName,function(X){X.attr(j)});W.attr("height",D._height)}},97944:function(u,h,a){var l=a(79811),v=a(72736),i=a(74636),S=a(84284).LINE_SPACING,g=i.name;function p(_){var c=_&&_[g];return c&&c.visible}h.isVisible=p,h.makeData=function(_){var c=l.list({_fullLayout:_},"x",!0),s=_.margin,d=[];if(!_._has("gl2d"))for(var f=0;f<c.length;f++){var b=c[f];if(p(b)){d.push(b);var x=b[g];x._id=g+b._id,x._height=(_.height-s.b-s.t)*x.thickness,x._offsetShift=Math.floor(x.borderwidth/2)}}_._rangeSliderData=d},h.autoMarginOpts=function(_,c){var s=_._fullLayout,d=c[g],f=c._id.charAt(0),b=0,x=0;if(c.side==="bottom"&&(b=c._depth,c.title.text!==s._dfltTitle[f])){x=1.5*c.title.font.size+10+d._offsetShift;var y=(c.title.text.match(v.BR_TAG_ALL)||[]).length;x+=y*c.title.font.size*S}return{x:0,y:c._counterDomainMin,l:0,r:0,t:0,b:d._height+b+Math.max(s.margin.b,x),pad:i.extraPad+d._offsetShift*2}}},49692:function(u,h,a){var l=a(3400),v=a(11200),i=a(10936),S=a(97944);u.exports={moduleType:"component",name:"rangeslider",schema:{subplots:{xaxis:{rangeslider:l.extendFlat({},v,{yaxis:i})}}},layoutAttributes:a(11200),handleDefaults:a(94040),calcAutorange:a(26652),draw:a(20060),isVisible:S.isVisible,makeData:S.makeData,autoMarginOpts:S.autoMarginOpts}},10936:function(u){u.exports={_isSubplotObj:!0,rangemode:{valType:"enumerated",values:["auto","fixed","match"],dflt:"match",editType:"calc"},range:{valType:"info_array",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},editType:"calc"}},93956:function(u,h,a){var l=a(13916),v=a(52904).line,i=a(98192).u,S=a(92880).extendFlat,g=a(67824).overrideAll,p=a(31780).templatedArray;a(36208),u.exports=g(p("selection",{type:{valType:"enumerated",values:["rect","path"]},xref:S({},l.xref,{}),yref:S({},l.yref,{}),x0:{valType:"any"},x1:{valType:"any"},y0:{valType:"any"},y1:{valType:"any"},path:{valType:"string",editType:"arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:.7,editType:"arraydraw"},line:{color:v.color,width:S({},v.width,{min:1,dflt:1}),dash:S({},i,{dflt:"dot"})}}),"arraydraw","from-root")},83280:function(u){u.exports={BENDPX:1.5,MINSELECT:12,SELECTDELAY:100,SELECTID:"-select"}},74224:function(u,h,a){var l=a(3400),v=a(54460),i=a(51272),S=a(93956),g=a(65152);u.exports=function(c,s){i(c,s,{name:"selections",handleItemDefaults:p});for(var d=s.selections,f=0;f<d.length;f++){var b=d[f];b&&b.path===void 0&&(b.x0===void 0||b.x1===void 0||b.y0===void 0||b.y1===void 0)&&(s.selections[f]=null)}};function p(_,c,s){function d(O,U){return l.coerce(_,c,S,O,U)}var f=d("path"),b=f?"path":"rect",x=d("type",b),y=x!=="path";y&&delete c.path,d("opacity"),d("line.color"),d("line.width"),d("line.dash");for(var C=["x","y"],w=0;w<2;w++){var R=C[w],A={_fullLayout:s},E,k,L,I=v.coerceRef(_,c,A,R);if(E=v.getFromId(A,I),E._selectionIndices.push(c._index),L=g.rangeToShapePosition(E),k=g.shapePositionToRange(E),y){var P=R+"0",M=R+"1",F=_[P],N=_[M];_[P]=k(_[P],!0),_[M]=k(_[M],!0),v.coercePosition(c,A,d,I,P),v.coercePosition(c,A,d,I,M);var T=c[P],D=c[M];T!==void 0&&D!==void 0&&(c[P]=L(T),c[M]=L(D),_[P]=F,_[M]=N)}}y&&l.noneOrAll(_,c,["x0","x1","y0","y1"])}},23640:function(u,h,a){var l=a(9856).readPaths,v=a(55496),i=a(1936).clearOutlineControllers,S=a(76308),g=a(43616),p=a(31780).arrayEditor,_=a(65152),c=_.getPathString;u.exports={draw:s,drawOne:f,activateLastSelection:y};function s(w){var R=w._fullLayout;i(w),R._selectionLayer.selectAll("path").remove();for(var A in R._plots){var E=R._plots[A].selectionLayer;E&&E.selectAll("path").remove()}for(var k=0;k<R.selections.length;k++)f(w,k)}function d(w){return w._context.editSelection}function f(w,R){w._fullLayout._paperdiv.selectAll('.selectionlayer [data-index="'+R+'"]').remove();var A=_.makeSelectionsOptionsAndPlotinfo(w,R),E=A.options,k=A.plotinfo;if(!E._input)return;L(w._fullLayout._selectionLayer);function L(I){var P=c(w,E),M={"data-index":R,"fill-rule":"evenodd",d:P},F=E.opacity,N="rgba(0,0,0,0)",T=E.line.color||S.contrast(w._fullLayout.plot_bgcolor),D=E.line.width,O=E.line.dash;D||(D=5,O="solid");var U=d(w)&&w._fullLayout._activeSelectionIndex===R;U&&(N=w._fullLayout.activeselection.fillcolor,F=w._fullLayout.activeselection.opacity);for(var B=[],Y=1;Y>=0;Y--){var z=I.append("path").attr(M).style("opacity",Y?.1:F).call(S.stroke,T).call(S.fill,N).call(g.dashLine,Y?"solid":O,Y?4+D:D);if(b(z,w,E),U){var V=p(w.layout,"selections",E);z.style({cursor:"move"});var j={element:z.node(),plotinfo:k,gd:w,editHelpers:V,isActiveSelection:!0},G=l(P,w);v(G,z,j)}else z.style("pointer-events",Y?"all":"none");B[Y]=z}var W=B[0],X=B[1];X.node().addEventListener("click",function(){return x(w,W)})}}function b(w,R,A){var E=A.xref+A.yref;g.setClipUrl(w,"clip"+R._fullLayout._uid+E,R)}function x(w,R){if(d(w)){var A=R.node(),E=+A.getAttribute("data-index");if(E>=0){if(E===w._fullLayout._activeSelectionIndex){C(w);return}w._fullLayout._activeSelectionIndex=E,w._fullLayout._deactivateSelection=C,s(w)}}}function y(w){if(d(w)){var R=w._fullLayout.selections.length-1;w._fullLayout._activeSelectionIndex=R,w._fullLayout._deactivateSelection=C,s(w)}}function C(w){if(d(w)){var R=w._fullLayout._activeSelectionIndex;R>=0&&(i(w),delete w._fullLayout._activeSelectionIndex,s(w))}}},34200:function(u,h,a){var l=a(98192).u,v=a(92880).extendFlat;u.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:v({},l,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},81004:function(u){u.exports=function(a,l,v){v("newselection.mode");var i=v("newselection.line.width");i&&(v("newselection.line.color"),v("newselection.line.dash")),v("activeselection.fillcolor"),v("activeselection.opacity")}},5968:function(u,h,a){var l=a(72760),v=l.selectMode,i=a(1936),S=i.clearOutline,g=a(9856),p=g.readPaths,_=g.writePaths,c=g.fixDatesForPaths;u.exports=function(d,f){if(d.length){var b=d[0][0];if(b){var x=b.getAttribute("d"),y=f.gd,C=y._fullLayout.newselection,w=f.plotinfo,R=w.xaxis,A=w.yaxis,E=f.isActiveSelection,k=f.dragmode,L=(y.layout||{}).selections||[];if(!v(k)&&E!==void 0){var I=y._fullLayout._activeSelectionIndex;if(I<L.length)switch(y._fullLayout.selections[I].type){case"rect":k="select";break;case"path":k="lasso";break}}var P=p(x,y,w,E),M={xref:R._id,yref:A._id,opacity:C.opacity,line:{color:C.line.color,width:C.line.width,dash:C.line.dash}},F;P.length===1&&(F=P[0]),F&&F.length===5&&k==="select"?(M.type="rect",M.x0=F[0][1],M.y0=F[0][2],M.x1=F[2][1],M.y1=F[2][2]):(M.type="path",R&&A&&c(P,R,A),M.path=_(P),F=null),S(y);for(var N=f.editHelpers,T=(N||{}).modifyItem,D=[],O=0;O<L.length;O++){var U=y._fullLayout.selections[O];if(!U){D[O]=U;continue}if(D[O]=U._input,E!==void 0&&O===y._fullLayout._activeSelectionIndex){var B=M;switch(U.type){case"rect":T("x0",B.x0),T("x1",B.x1),T("y0",B.y0),T("y1",B.y1);break;case"path":T("path",B.path);break}}}return E===void 0?(D.push(M),D):N?N.getUpdateObj():{}}}}},5840:function(u,h,a){var l=a(3400).strTranslate;function v(p,_){switch(p.type){case"log":return p.p2d(_);case"date":return p.p2r(_,0,p.calendar);default:return p.p2r(_)}}function i(p,_){switch(p.type){case"log":return p.d2p(_);case"date":return p.r2p(_,0,p.calendar);default:return p.r2p(_)}}function S(p){var _=p._id.charAt(0)==="y"?1:0;return function(c){return v(p,c[_])}}function g(p){return l(p.xaxis._offset,p.yaxis._offset)}u.exports={p2r:v,r2p:i,axValue:S,getTransform:g}},22676:function(u,h,a){var l=a(23640),v=a(43156);u.exports={moduleType:"component",name:"selections",layoutAttributes:a(93956),supplyLayoutDefaults:a(74224),supplyDrawNewSelectionDefaults:a(81004),includeBasePlot:a(36632)("selections"),draw:l.draw,drawOne:l.drawOne,reselect:v.reselect,prepSelect:v.prepSelect,clearOutline:v.clearOutline,clearSelectionsCache:v.clearSelectionsCache,selectOnClick:v.selectOnClick}},43156:function(u,h,a){var l=a(14756),v=a(61456),i=a(24040),S=a(43616).dashStyle,g=a(76308),p=a(93024),_=a(10624).makeEventData,c=a(72760),s=c.freeMode,d=c.rectMode,f=c.drawMode,b=c.openMode,x=c.selectMode,y=a(65152),C=a(85448),w=a(55496),R=a(1936).clearOutline,A=a(9856),E=A.handleEllipse,k=A.readPaths,L=a(93940).newShapes,I=a(5968),P=a(23640).activateLastSelection,M=a(3400),F=M.sorterAsc,N=a(92065),T=a(91200),D=a(79811).getFromId,O=a(73696),U=a(39172).redrawReglTraces,B=a(83280),Y=B.MINSELECT,z=N.filter,V=N.tester,j=a(5840),G=j.p2r,W=j.axValue,X=j.getTransform;function Q(qe){return qe.subplot!==void 0}function ae(qe,He,Ce,Se,Le){var Ne=!Q(Se),je=s(Le),Je=d(Le),ut=b(Le),Et=f(Le),wt=x(Le),nr=Le==="drawline",ir=Le==="drawcircle",It=nr||ir,Gt=Se.gd,cr=Gt._fullLayout,Pr=wt&&cr.newselection.mode==="immediate"&&Ne,Ct=cr._zoomlayer,or=Se.element.getBoundingClientRect(),ur=Se.plotinfo,Ir=X(ur),yr=He-or.left,At=Ce-or.top;cr._calcInverseTransform(Gt);var mt=M.apply3DTransform(cr._invTransform)(yr,At);yr=mt[0],At=mt[1];var Mt=cr._invScaleX,Pt=cr._invScaleY,Ht=yr,Ut=At,Zt="M"+yr+","+At,Xt=Se.xaxes[0],sr=Se.yaxes[0],Sr=Xt._length,wr=sr._length,Tr=qe.altKey&&!(f(Le)&&ut),Ze,Xe,Wt,jt,ar,mr,br;K(qe,Gt,Se),je&&(Ze=z([[yr,At]],B.BENDPX));var fr=Ct.selectAll("path.select-outline-"+ur.id).data([1]),Kt=Et?cr.newshape:cr.newselection;Et&&(Se.hasText=Kt.label.text||Kt.label.texttemplate);var kr=Et&&!ut?Kt.fillcolor:"rgba(0,0,0,0)",Rr=Kt.line.color||(Ne?g.contrast(Gt._fullLayout.plot_bgcolor):"#7f7f7f");fr.enter().append("path").attr("class","select-outline select-outline-"+ur.id).style({opacity:Et?Kt.opacity/2:1,"stroke-dasharray":S(Kt.line.dash,Kt.line.width),"stroke-width":Kt.line.width+"px","shape-rendering":"crispEdges"}).call(g.stroke,Rr).call(g.fill,kr).attr("fill-rule","evenodd").classed("cursor-move",!!Et).attr("transform",Ir).attr("d",Zt+"Z");var Lr=Ct.append("path").attr("class","zoombox-corners").style({fill:g.background,stroke:g.defaultLine,"stroke-width":1}).attr("transform",Ir).attr("d","M0,0Z");if(Et&&Se.hasText){var Ar=Ct.select(".label-temp");Ar.empty()&&(Ar=Ct.append("g").classed("label-temp",!0).classed("select-outline",!0).style({opacity:.8}))}var ln=cr._uid+B.SELECTID,Kr=[],Xr=de(Gt,Se.xaxes,Se.yaxes,Se.subplot);Pr&&!qe.shiftKey&&(Se._clearSubplotSelections=function(){if(Ne){var An=Xt._id,ta=sr._id;ht(Gt,An,ta,Xr);for(var ra=(Gt.layout||{}).selections||[],Cr=[],Jr=!1,un=0;un<ra.length;un++){var sn=cr.selections[un];sn.xref!==An||sn.yref!==ta?Cr.push(ra[un]):Jr=!0}Jr&&(Gt._fullLayout._noEmitSelectedAtStart=!0,i.call("_guiRelayout",Gt,{selections:Cr}))}});var Bn=ct(Se);Se.moveFn=function(An,ta){Se._clearSubplotSelections&&(Se._clearSubplotSelections(),Se._clearSubplotSelections=void 0),Ht=Math.max(0,Math.min(Sr,Mt*An+yr)),Ut=Math.max(0,Math.min(wr,Pt*ta+At));var ra=Math.abs(Ht-yr),Cr=Math.abs(Ut-At);if(Je){var Jr,un,sn;if(wt){var Nn=cr.selectdirection;switch(Nn==="any"?Cr<Math.min(ra*.6,Y)?Jr="h":ra<Math.min(Cr*.6,Y)?Jr="v":Jr="d":Jr=Nn,Jr){case"h":un=ir?wr/2:0,sn=wr;break;case"v":un=ir?Sr/2:0,sn=Sr;break}}if(Et)switch(cr.newshape.drawdirection){case"vertical":Jr="h",un=ir?wr/2:0,sn=wr;break;case"horizontal":Jr="v",un=ir?Sr/2:0,sn=Sr;break;case"ortho":ra<Cr?(Jr="h",un=At,sn=Ut):(Jr="v",un=yr,sn=Ht);break;default:Jr="d"}Jr==="h"?(jt=It?E(ir,[Ht,un],[Ht,sn]):[[yr,un],[yr,sn],[Ht,sn],[Ht,un]],jt.xmin=It?Ht:Math.min(yr,Ht),jt.xmax=It?Ht:Math.max(yr,Ht),jt.ymin=Math.min(un,sn),jt.ymax=Math.max(un,sn),Lr.attr("d","M"+jt.xmin+","+(At-Y)+"h-4v"+2*Y+"h4ZM"+(jt.xmax-1)+","+(At-Y)+"h4v"+2*Y+"h-4Z")):Jr==="v"?(jt=It?E(ir,[un,Ut],[sn,Ut]):[[un,At],[un,Ut],[sn,Ut],[sn,At]],jt.xmin=Math.min(un,sn),jt.xmax=Math.max(un,sn),jt.ymin=It?Ut:Math.min(At,Ut),jt.ymax=It?Ut:Math.max(At,Ut),Lr.attr("d","M"+(yr-Y)+","+jt.ymin+"v-4h"+2*Y+"v4ZM"+(yr-Y)+","+(jt.ymax-1)+"v4h"+2*Y+"v-4Z")):Jr==="d"&&(jt=It?E(ir,[yr,At],[Ht,Ut]):[[yr,At],[yr,Ut],[Ht,Ut],[Ht,At]],jt.xmin=Math.min(yr,Ht),jt.xmax=Math.max(yr,Ht),jt.ymin=Math.min(At,Ut),jt.ymax=Math.max(At,Ut),Lr.attr("d","M0,0Z"))}else je&&(Ze.addPt([Ht,Ut]),jt=Ze.filtered);if(Se.selectionDefs&&Se.selectionDefs.length?(Wt=be(Se.mergedPolygons,jt,Tr),jt.subtract=Tr,Xe=le(Se.selectionDefs.concat([jt]))):(Wt=[jt],Xe=V(jt)),w(Ke(Wt,ut),fr,Se),wt){var Hn=Fe(Gt,!1),$n=Hn.eventData?Hn.eventData.points.slice():[];Hn=Fe(Gt,!1,Xe,Xr,Se),Xe=Hn.selectionTesters,br=Hn.eventData;var da;Ze?da=Ze.filtered:da=_t(Wt),T.throttle(ln,B.SELECTDELAY,function(){Kr=ze(Xe,Xr);for(var _a=Kr.slice(),Ya=0;Ya<$n.length;Ya++){for(var di=$n[Ya],ii=!1,Za=0;Za<_a.length;Za++)if(_a[Za].curveNumber===di.curveNumber&&_a[Za].pointNumber===di.pointNumber){ii=!0;break}ii||_a.push(di)}_a.length&&(br||(br={}),br.points=_a),Bn(br,da),Ve(Gt,br)})}},Se.clickFn=function(An,ta){if(Lr.remove(),Gt._fullLayout._activeShapeIndex>=0){Gt._fullLayout._deactivateShape(Gt);return}if(!Et){var ra=cr.clickmode;T.done(ln).then(function(){if(T.clear(ln),An===2){for(fr.remove(),ar=0;ar<Xr.length;ar++)mr=Xr[ar],mr._module.selectPoints(mr,!1);if(Ae(Gt,Xr),re(Se),rt(Gt),Xr.length){var Cr=Xr[0].xaxis,Jr=Xr[0].yaxis;if(Cr&&Jr){for(var un=[],sn=Gt._fullLayout.selections,Nn=0;Nn<sn.length;Nn++){var Hn=sn[Nn];Hn&&(Hn.xref!==Cr._id||Hn.yref!==Jr._id)&&un.push(Hn)}un.length<sn.length&&(Gt._fullLayout._noEmitSelectedAtStart=!0,i.call("_guiRelayout",Gt,{selections:un}))}}}else ra.indexOf("select")>-1&&ie(ta,Gt,Se.xaxes,Se.yaxes,Se.subplot,Se,fr),ra==="event"&&Qe(Gt,void 0);p.click(Gt,ta,ur.id)}).catch(M.error)}},Se.doneFn=function(){Lr.remove(),T.done(ln).then(function(){T.clear(ln),!Pr&&jt&&Se.selectionDefs&&(jt.subtract=Tr,Se.selectionDefs.push(jt),Se.mergedPolygons.length=0,[].push.apply(Se.mergedPolygons,Wt)),(Pr||Et)&&re(Se,Pr),Se.doneFnCompleted&&Se.doneFnCompleted(Kr),wt&&Qe(Gt,br)}).catch(M.error)}}function ie(qe,He,Ce,Se,Le,Ne,je){var Je=He._hoverdata,ut=He._fullLayout,Et=ut.clickmode,wt=Et.indexOf("event")>-1,nr=[],ir,It,Gt,cr,Pr,Ct,or,ur,Ir,yr;if(fe(Je)){K(qe,He,Ne),ir=de(He,Ce,Se,Le);var At=me(Je,ir),mt=At.pointNumbers.length>0;if(mt?we(ir,At):Be(ir)&&(or=Te(At))){for(je&&je.remove(),yr=0;yr<ir.length;yr++)It=ir[yr],It._module.selectPoints(It,!1);Ae(He,ir),re(Ne),wt&&rt(He)}else{ur=qe.shiftKey&&(or!==void 0?or:Te(At)),Gt=he(At.pointNumber,At.searchInfo,ur);var Mt=Ne.selectionDefs.concat([Gt]);for(cr=le(Mt),yr=0;yr<ir.length;yr++)if(Pr=ir[yr]._module.selectPoints(ir[yr],cr),Ct=Pe(Pr,ir[yr]),nr.length)for(var Pt=0;Pt<Ct.length;Pt++)nr.push(Ct[Pt]);else nr=Ct;if(Ir={points:nr},Ae(He,ir,Ir),Gt&&Ne&&Ne.selectionDefs.push(Gt),je){var Ht=Ne.mergedPolygons,Ut=b(Ne.dragmode);w(Ke(Ht,Ut),je,Ne)}wt&&Qe(He,Ir)}}}function he(qe,He,Ce){return{pointNumber:qe,searchInfo:He,subtract:!!Ce}}function J(qe){return"pointNumber"in qe&&"searchInfo"in qe}function Z(qe){return{xmin:0,xmax:0,ymin:0,ymax:0,pts:[],contains:function(He,Ce,Se,Le){var Ne=qe.searchInfo.cd[0].trace._expandedIndex,je=Le.cd[0].trace._expandedIndex;return je===Ne&&Se===qe.pointNumber},isRect:!1,degenerate:!1,subtract:!!qe.subtract}}function le(qe){if(!qe.length)return;for(var He=[],Ce=J(qe[0])?0:qe[0][0][0],Se=Ce,Le=J(qe[0])?0:qe[0][0][1],Ne=Le,je=0;je<qe.length;je++)if(J(qe[je]))He.push(Z(qe[je]));else{var Je=V(qe[je]);Je.subtract=!!qe[je].subtract,He.push(Je),Ce=Math.min(Ce,Je.xmin),Se=Math.max(Se,Je.xmax),Le=Math.min(Le,Je.ymin),Ne=Math.max(Ne,Je.ymax)}function ut(Et,wt,nr,ir){for(var It=!1,Gt=0;Gt<He.length;Gt++)He[Gt].contains(Et,wt,nr,ir)&&(It=!He[Gt].subtract);return It}return{xmin:Ce,xmax:Se,ymin:Le,ymax:Ne,pts:[],contains:ut,isRect:!1,degenerate:!1}}function K(qe,He,Ce){var Se=He._fullLayout,Le=Ce.plotinfo,Ne=Ce.dragmode,je=Se._lastSelectedSubplot&&Se._lastSelectedSubplot===Le.id,Je=(qe.shiftKey||qe.altKey)&&!(f(Ne)&&b(Ne));je&&Je&&Le.selection&&Le.selection.selectionDefs&&!Ce.selectionDefs?(Ce.selectionDefs=Le.selection.selectionDefs,Ce.mergedPolygons=Le.selection.mergedPolygons):(!Je||!Le.selection)&&re(Ce),je||(R(He),Se._lastSelectedSubplot=Le.id)}function te(qe){return qe._fullLayout._activeShapeIndex>=0}function ce(qe){return qe._fullLayout._activeSelectionIndex>=0}function re(qe,He){var Ce=qe.dragmode,Se=qe.plotinfo,Le=qe.gd;te(Le)&&Le._fullLayout._deactivateShape(Le),ce(Le)&&Le._fullLayout._deactivateSelection(Le);var Ne=Le._fullLayout,je=Ne._zoomlayer,Je=f(Ce),ut=x(Ce);if(Je||ut){var Et=je.selectAll(".select-outline-"+Se.id);if(Et&&Le._fullLayout._outlining){var wt;Je&&(wt=L(Et,qe)),wt&&i.call("_guiRelayout",Le,{shapes:wt});var nr;ut&&!Q(qe)&&(nr=I(Et,qe)),nr&&(Le._fullLayout._noEmitSelectedAtStart=!0,i.call("_guiRelayout",Le,{selections:nr}).then(function(){He&&P(Le)})),Le._fullLayout._outlining=!1}}Se.selection={},Se.selection.selectionDefs=qe.selectionDefs=[],Se.selection.mergedPolygons=qe.mergedPolygons=[]}function ee(qe){return qe._id}function de(qe,He,Ce,Se){if(!qe.calcdata)return[];var Le=[],Ne=He.map(ee),je=Ce.map(ee),Je,ut,Et;for(Et=0;Et<qe.calcdata.length;Et++)if(Je=qe.calcdata[Et],ut=Je[0].trace,!(ut.visible!==!0||!ut._module||!ut._module.selectPoints))if(Q({subplot:Se})&&(ut.subplot===Se||ut.geo===Se))Le.push(oe(ut._module,Je,He[0],Ce[0]));else if(ut.type==="splom"){if(ut._xaxes[Ne[0]]&&ut._yaxes[je[0]]){var wt=oe(ut._module,Je,He[0],Ce[0]);wt.scene=qe._fullLayout._splomScenes[ut.uid],Le.push(wt)}}else if(ut.type==="sankey"){var nr=oe(ut._module,Je,He[0],Ce[0]);Le.push(nr)}else{if(Ne.indexOf(ut.xaxis)===-1&&(!ut._xA||!ut._xA.overlaying)||je.indexOf(ut.yaxis)===-1&&(!ut._yA||!ut._yA.overlaying))continue;Le.push(oe(ut._module,Je,D(qe,ut.xaxis),D(qe,ut.yaxis)))}return Le}function oe(qe,He,Ce,Se){return{_module:qe,cd:He,xaxis:Ce,yaxis:Se}}function fe(qe){return qe&&Array.isArray(qe)&&qe[0].hoverOnBox!==!0}function me(qe,He){var Ce=qe[0],Se=-1,Le=[],Ne,je;for(je=0;je<He.length;je++)if(Ne=He[je],Ce.fullData._expandedIndex===Ne.cd[0].trace._expandedIndex){if(Ce.hoverOnBox===!0)break;Ce.pointNumber!==void 0?Se=Ce.pointNumber:Ce.binNumber!==void 0&&(Se=Ce.binNumber,Le=Ce.pointNumbers);break}return{pointNumber:Se,pointNumbers:Le,searchInfo:Ne}}function Te(qe){var He=qe.searchInfo.cd[0].trace,Ce=qe.pointNumber,Se=qe.pointNumbers,Le=Se.length>0,Ne=Le?Se[0]:Ce;return He.selectedpoints?He.selectedpoints.indexOf(Ne)>-1:!1}function we(qe,He){var Ce=[],Se,Le,Ne,je;for(je=0;je<qe.length;je++)Se=qe[je],Se.cd[0].trace.selectedpoints&&Se.cd[0].trace.selectedpoints.length>0&&Ce.push(Se);if(Ce.length===1&&(Ne=Ce[0]===He.searchInfo,Ne&&(Le=He.searchInfo.cd[0].trace,Le.selectedpoints.length===He.pointNumbers.length))){for(je=0;je<He.pointNumbers.length;je++)if(Le.selectedpoints.indexOf(He.pointNumbers[je])<0)return!1;return!0}return!1}function Be(qe){var He=0,Ce,Se,Le;for(Le=0;Le<qe.length;Le++)if(Ce=qe[Le],Se=Ce.cd[0].trace,Se.selectedpoints&&(Se.selectedpoints.length>1||(He+=Se.selectedpoints.length,He>1)))return!1;return He===1}function Ae(qe,He,Ce){var Se;for(Se=0;Se<He.length;Se++){var Le=He[Se].cd[0].trace._fullInput,Ne=qe._fullLayout._tracePreGUI[Le.uid]||{};Ne.selectedpoints===void 0&&(Ne.selectedpoints=Le._input.selectedpoints||null)}var je;if(Ce){var Je=Ce.points||[];for(Se=0;Se<He.length;Se++)je=He[Se].cd[0].trace,je._input.selectedpoints=je._fullInput.selectedpoints=[],je._fullInput!==je&&(je.selectedpoints=[]);for(var ut=0;ut<Je.length;ut++){var Et=Je[ut],wt=Et.data,nr=Et.fullData,ir=Et.pointIndex,It=Et.pointIndices;It?([].push.apply(wt.selectedpoints,It),je._fullInput!==je&&[].push.apply(nr.selectedpoints,It)):(wt.selectedpoints.push(ir),je._fullInput!==je&&nr.selectedpoints.push(ir))}}else for(Se=0;Se<He.length;Se++)je=He[Se].cd[0].trace,delete je.selectedpoints,delete je._input.selectedpoints,je._fullInput!==je&&delete je._fullInput.selectedpoints;Re(qe,He)}function Re(qe,He){for(var Ce=!1,Se=0;Se<He.length;Se++){var Le=He[Se],Ne=Le.cd;i.traceIs(Ne[0].trace,"regl")&&(Ce=!0);var je=Le._module,Je=je.styleOnSelect||je.style;Je&&(Je(qe,Ne,Ne[0].node3),Ne[0].nodeRangePlot3&&Je(qe,Ne,Ne[0].nodeRangePlot3))}Ce&&(O(qe),U(qe))}function be(qe,He,Ce){for(var Se=Ce?l.difference:l.union,Le=Se({regions:qe},{regions:[He]}),Ne=Le.regions.reverse(),je=0;je<Ne.length;je++){var Je=Ne[je];Je.subtract=pt(Je,Ne.slice(0,je))}return Ne}function Pe(qe,He){if(Array.isArray(qe))for(var Ce=He.cd,Se=He.cd[0].trace,Le=0;Le<qe.length;Le++)qe[Le]=_(qe[Le],Se,Ce);return qe}function Ke(qe,He){for(var Ce=[],Se=0;Se<qe.length;Se++){Ce[Se]=[];for(var Le=0;Le<qe[Se].length;Le++){Ce[Se][Le]=[],Ce[Se][Le][0]=Le?"L":"M";for(var Ne=0;Ne<qe[Se][Le].length;Ne++)Ce[Se][Le].push(qe[Se][Le][Ne])}He||Ce[Se].push(["Z",Ce[Se][0][1],Ce[Se][0][2]])}return Ce}function ze(qe,He){for(var Ce=[],Se,Le,Ne=0;Ne<He.length;Ne++){var je=He[Ne];Le=je._module.selectPoints(je,qe),Se=Pe(Le,je),Ce=Ce.concat(Se)}return Ce}function Fe(qe,He,Ce,Se,Le){var Ne=!!Se,je,Je,ut;Le&&(je=Le.plotinfo,Je=Le.xaxes[0]._id,ut=Le.yaxes[0]._id);var Et=[],wt=[],nr=et(qe),ir=qe._fullLayout;if(je){var It=ir._zoomlayer,Gt=ir.dragmode,cr=f(Gt),Pr=x(Gt);if(cr||Pr){var Ct=D(qe,Je,"x"),or=D(qe,ut,"y");if(Ct&&or){var ur=It.selectAll(".select-outline-"+je.id);if(ur&&qe._fullLayout._outlining&&ur.length){for(var Ir=ur[0][0],yr=Ir.getAttribute("d"),At=k(yr,qe,je),mt=[],Mt=0;Mt<At.length;Mt++){for(var Pt=At[Mt],Ht=[],Ut=0;Ut<Pt.length;Ut++)Ht.push([vt(Ct,Pt[Ut][1]),vt(or,Pt[Ut][2])]);Ht.xref=Je,Ht.yref=ut,Ht.subtract=pt(Ht,mt),mt.push(Ht)}nr=nr.concat(mt)}}}}var Zt=Je&&ut?[Je+ut]:ir._subplots.cartesian;We(qe);for(var Xt={},sr=0;sr<Zt.length;sr++){var Sr=Zt[sr],wr=Sr.indexOf("y"),Tr=Sr.slice(0,wr),Ze=Sr.slice(wr),Xe=Je&&ut?Ce:void 0;if(Xe=tt(nr,Tr,Ze,Xe),Xe){var Wt=Se;if(!Ne){var jt=D(qe,Tr,"x"),ar=D(qe,Ze,"y");Wt=de(qe,[jt],[ar],Sr);for(var mr=0;mr<Wt.length;mr++){var br=Wt[mr],fr=br.cd[0],Kt=fr.trace;if(br._module.name==="scattergl"&&!fr.t.xpx){var kr=Kt.x,Rr=Kt.y,Lr=Kt._length;fr.t.xpx=[],fr.t.ypx=[];for(var Ar=0;Ar<Lr;Ar++)fr.t.xpx[Ar]=jt.c2p(kr[Ar]),fr.t.ypx[Ar]=ar.c2p(Rr[Ar])}br._module.name==="splom"&&(Xt[Kt.uid]||(Xt[Kt.uid]=!0))}}var ln=ze(Xe,Wt);Et=Et.concat(ln),wt=wt.concat(Wt)}}var Kr={points:Et};Ae(qe,wt,Kr);var Xr=ir.clickmode,Bn=Xr.indexOf("event")>-1&&He;if(!je&&He){var An=et(qe,!0);if(An.length){var ta=An[0].xref,ra=An[0].yref;if(ta&&ra){var Cr=_t(An),Jr=Rt([D(qe,ta,"x"),D(qe,ra,"y")]);Jr(Kr,Cr)}}qe._fullLayout._noEmitSelectedAtStart?qe._fullLayout._noEmitSelectedAtStart=!1:Bn&&Qe(qe,Kr),ir._reselect=!1}if(!je&&ir._deselect){var un=ir._deselect;Je=un.xref,ut=un.yref,lt(Je,ut,wt)||ht(qe,Je,ut,Se),Bn&&(Kr.points.length?Qe(qe,Kr):rt(qe)),ir._deselect=!1}return{eventData:Kr,selectionTesters:Ce}}function We(qe){var He=qe.calcdata;if(He)for(var Ce=0;Ce<He.length;Ce++){var Se=He[Ce][0],Le=Se.trace,Ne=qe._fullLayout._splomScenes;if(Ne){var je=Ne[Le.uid];je&&(je.selectBatch=[])}}}function lt(qe,He,Ce){for(var Se=0;Se<Ce.length;Se++){var Le=Ce[Se];if(Le.xaxis&&Le.xaxis._id===qe&&Le.yaxis&&Le.yaxis._id===He)return!0}return!1}function ht(qe,He,Ce,Se){Se=de(qe,[D(qe,He,"x")],[D(qe,Ce,"y")],He+Ce);for(var Le=0;Le<Se.length;Le++){var Ne=Se[Le];Ne._module.selectPoints(Ne,!1)}Ae(qe,Se)}function tt(qe,He,Ce,Se){for(var Le,Ne=0;Ne<qe.length;Ne++){var je=qe[Ne];if(!(He!==je.xref||Ce!==je.yref))if(Le){var Je=!!je.subtract;Le=be(Le,je,Je),Se=le(Le)}else Le=[je],Se=V(je)}return Se}function et(qe,He){for(var Ce=[],Se=qe._fullLayout,Le=Se.selections,Ne=Le.length,je=0;je<Ne;je++)if(!(He&&je!==Se._activeSelectionIndex)){var Je=Le[je];if(Je){var ut=Je.xref,Et=Je.yref,wt=D(qe,ut,"x"),nr=D(qe,Et,"y"),ir,It,Gt,cr,Pr;if(Je.type==="rect"){Pr=[];var Ct=vt(wt,Je.x0),or=vt(wt,Je.x1),ur=vt(nr,Je.y0),Ir=vt(nr,Je.y1);Pr=[[Ct,ur],[Ct,Ir],[or,Ir],[or,ur]],ir=Math.min(Ct,or),It=Math.max(Ct,or),Gt=Math.min(ur,Ir),cr=Math.max(ur,Ir),Pr.xmin=ir,Pr.xmax=It,Pr.ymin=Gt,Pr.ymax=cr,Pr.xref=ut,Pr.yref=Et,Pr.subtract=!1,Pr.isRect=!0,Ce.push(Pr)}else if(Je.type==="path")for(var yr=Je.path.split("Z"),At=[],mt=0;mt<yr.length;mt++){var Mt=yr[mt];if(Mt){Mt+="Z";var Pt=y.extractPathCoords(Mt,C.paramIsX,"raw"),Ht=y.extractPathCoords(Mt,C.paramIsY,"raw");ir=1/0,It=-1/0,Gt=1/0,cr=-1/0,Pr=[];for(var Ut=0;Ut<Pt.length;Ut++){var Zt=vt(wt,Pt[Ut]),Xt=vt(nr,Ht[Ut]);Pr.push([Zt,Xt]),ir=Math.min(Zt,ir),It=Math.max(Zt,It),Gt=Math.min(Xt,Gt),cr=Math.max(Xt,cr)}Pr.xmin=ir,Pr.xmax=It,Pr.ymin=Gt,Pr.ymax=cr,Pr.xref=ut,Pr.yref=Et,Pr.subtract=pt(Pr,At),At.push(Pr),Ce.push(Pr)}}}}return Ce}function pt(qe,He){for(var Ce=!1,Se=0;Se<He.length;Se++)for(var Le=He[Se],Ne=0;Ne<qe.length;Ne++)if(v(qe[Ne],Le)){Ce=!Ce;break}return Ce}function vt(qe,He){return qe.type==="date"&&(He=He.replace("_"," ")),qe.type==="log"?qe.c2p(He):qe.r2p(He,null,qe.calendar)}function _t(qe){for(var He=qe.length,Ce=[],Se=0;Se<He;Se++){var Le=qe[Se];Ce=Ce.concat(Le),Ce=Ce.concat([Le[0]])}return bt(Ce)}function bt(qe){return qe.isRect=qe.length===5&&qe[0][0]===qe[4][0]&&qe[0][1]===qe[4][1]&&qe[0][0]===qe[1][0]&&qe[2][0]===qe[3][0]&&qe[0][1]===qe[3][1]&&qe[1][1]===qe[2][1]||qe[0][1]===qe[1][1]&&qe[2][1]===qe[3][1]&&qe[0][0]===qe[3][0]&&qe[1][0]===qe[2][0],qe.isRect&&(qe.xmin=Math.min(qe[0][0],qe[2][0]),qe.xmax=Math.max(qe[0][0],qe[2][0]),qe.ymin=Math.min(qe[0][1],qe[2][1]),qe.ymax=Math.max(qe[0][1],qe[2][1])),qe}function Rt(qe){return function(He,Ce){for(var Se,Le,Ne=0;Ne<qe.length;Ne++){var je=qe[Ne],Je=je._id,ut=Je.charAt(0);if(Ce.isRect){Se||(Se={});var Et=Ce[ut+"min"],wt=Ce[ut+"max"];Et!==void 0&&wt!==void 0&&(Se[Je]=[G(je,Et),G(je,wt)].sort(F))}else Le||(Le={}),Le[Je]=Ce.map(W(je))}Se&&(He.range=Se),Le&&(He.lassoPoints=Le)}}function ct(qe){var He=qe.plotinfo;return He.fillRangeItems||Rt(qe.xaxes.concat(qe.yaxes))}function Ve(qe,He){qe.emit("plotly_selecting",He)}function Qe(qe,He){He&&(He.selections=(qe.layout||{}).selections||[]),qe.emit("plotly_selected",He)}function rt(qe){qe.emit("plotly_deselect",null)}u.exports={reselect:Fe,prepSelect:ae,clearOutline:R,clearSelectionsCache:re,selectOnClick:ie}},46056:function(u,h,a){var l=a(13916),v=a(25376),i=a(52904).line,S=a(98192).u,g=a(92880).extendFlat,p=a(31780).templatedArray;a(36208);var _=a(45464),c=a(21776).ye,s=a(97728);u.exports=p("shape",{visible:g({},_.visible,{editType:"calc+arraydraw"}),showlegend:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},legend:g({},_.legend,{editType:"calc+arraydraw"}),legendgroup:g({},_.legendgroup,{editType:"calc+arraydraw"}),legendgrouptitle:{text:g({},_.legendgrouptitle.text,{editType:"calc+arraydraw"}),font:v({editType:"calc+arraydraw"}),editType:"calc+arraydraw"},legendrank:g({},_.legendrank,{editType:"calc+arraydraw"}),legendwidth:g({},_.legendwidth,{editType:"calc+arraydraw"}),type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},xref:g({},l.xref,{}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},xanchor:{valType:"any",editType:"calc+arraydraw"},x0:{valType:"any",editType:"calc+arraydraw"},x1:{valType:"any",editType:"calc+arraydraw"},yref:g({},l.yref,{}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},yanchor:{valType:"any",editType:"calc+arraydraw"},y0:{valType:"any",editType:"calc+arraydraw"},y1:{valType:"any",editType:"calc+arraydraw"},path:{valType:"string",editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},line:{color:g({},i.color,{editType:"arraydraw"}),width:g({},i.width,{editType:"calc+arraydraw"}),dash:g({},S,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw"},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},label:{text:{valType:"string",dflt:"",editType:"arraydraw"},texttemplate:c({},{keys:Object.keys(s)}),font:v({editType:"calc+arraydraw",colorEditType:"arraydraw"}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],editType:"arraydraw"},textangle:{valType:"angle",dflt:"auto",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],editType:"calc+arraydraw"},padding:{valType:"number",dflt:3,min:0,editType:"arraydraw"},editType:"arraydraw"},editType:"arraydraw"})},96084:function(u,h,a){var l=a(3400),v=a(54460),i=a(85448),S=a(65152);u.exports=function(d){var f=d._fullLayout,b=l.filterVisible(f.shapes);if(!(!b.length||!d._fullData.length))for(var x=0;x<b.length;x++){var y=b[x];y._extremes={};var C,w,R=v.getRefType(y.xref),A=v.getRefType(y.yref);if(y.xref!=="paper"&&R!=="domain"){var E=y.xsizemode==="pixel"?y.xanchor:y.x0,k=y.xsizemode==="pixel"?y.xanchor:y.x1;C=v.getFromId(d,y.xref),w=c(C,E,k,y.path,i.paramIsX),w&&(y._extremes[C._id]=v.findExtremes(C,w,g(y)))}if(y.yref!=="paper"&&A!=="domain"){var L=y.ysizemode==="pixel"?y.yanchor:y.y0,I=y.ysizemode==="pixel"?y.yanchor:y.y1;C=v.getFromId(d,y.yref),w=c(C,L,I,y.path,i.paramIsY),w&&(y._extremes[C._id]=v.findExtremes(C,w,p(y)))}}};function g(s){return _(s.line.width,s.xsizemode,s.x0,s.x1,s.path,!1)}function p(s){return _(s.line.width,s.ysizemode,s.y0,s.y1,s.path,!0)}function _(s,d,f,b,x,y){var C=s/2,w=y;if(d==="pixel"){var R=x?S.extractPathCoords(x,y?i.paramIsY:i.paramIsX):[f,b],A=l.aggNums(Math.max,null,R),E=l.aggNums(Math.min,null,R),k=E<0?Math.abs(E)+C:C,L=A>0?A+C:C;return{ppad:C,ppadplus:w?k:L,ppadminus:w?L:k}}else return{ppad:C}}function c(s,d,f,b,x){var y=s.type==="category"||s.type==="multicategory"?s.r2c:s.d2c;if(d!==void 0)return[y(d),y(f)];if(b){var C=1/0,w=-1/0,R=b.match(i.segmentRE),A,E,k,L,I;for(s.type==="date"&&(y=S.decodeDate(y)),A=0;A<R.length;A++)E=R[A],k=x[E.charAt(0)].drawn,k!==void 0&&(L=R[A].substr(1).match(i.paramRE),!(!L||L.length<k)&&(I=y(L[k]),I<C&&(C=I),I>w&&(w=I)));if(w>=C)return[C,w]}}},85448:function(u){u.exports={segmentRE:/[MLHVQCTSZ][^MLHVQCTSZ]*/g,paramRE:/[^\s,]+/g,paramIsX:{M:{0:!0,drawn:0},L:{0:!0,drawn:0},H:{0:!0,drawn:0},V:{},Q:{0:!0,2:!0,drawn:2},C:{0:!0,2:!0,4:!0,drawn:4},T:{0:!0,drawn:0},S:{0:!0,2:!0,drawn:2},Z:{}},paramIsY:{M:{1:!0,drawn:1},L:{1:!0,drawn:1},H:{},V:{0:!0,drawn:0},Q:{1:!0,3:!0,drawn:3},C:{1:!0,3:!0,5:!0,drawn:5},T:{1:!0,drawn:1},S:{1:!0,3:!0,drawn:5},Z:{}},numParams:{M:2,L:2,H:1,V:1,Q:4,C:6,T:2,S:4,Z:0}}},43712:function(u,h,a){var l=a(3400),v=a(54460),i=a(51272),S=a(46056),g=a(65152);u.exports=function(s,d){i(s,d,{name:"shapes",handleItemDefaults:_})};function p(c,s){return c?"bottom":s.indexOf("top")!==-1?"top":s.indexOf("bottom")!==-1?"bottom":"middle"}function _(c,s,d){function f(J,Z){return l.coerce(c,s,S,J,Z)}s._isShape=!0;var b=f("visible");if(b){var x=f("showlegend");x&&(f("legend"),f("legendwidth"),f("legendgroup"),f("legendgrouptitle.text"),l.coerceFont(f,"legendgrouptitle.font"),f("legendrank"));var y=f("path"),C=y?"path":"rect",w=f("type",C),R=w!=="path";R&&delete s.path,f("editable"),f("layer"),f("opacity"),f("fillcolor"),f("fillrule");var A=f("line.width");A&&(f("line.color"),f("line.dash"));for(var E=f("xsizemode"),k=f("ysizemode"),L=["x","y"],I=0;I<2;I++){var P=L[I],M=P+"anchor",F=P==="x"?E:k,N={_fullLayout:d},T,D,O,U=v.coerceRef(c,s,N,P,void 0,"paper"),B=v.getRefType(U);if(B==="range"?(T=v.getFromId(N,U),T._shapeIndices.push(s._index),O=g.rangeToShapePosition(T),D=g.shapePositionToRange(T)):D=O=l.identity,R){var Y=.25,z=.75,V=P+"0",j=P+"1",G=c[V],W=c[j];c[V]=D(c[V],!0),c[j]=D(c[j],!0),F==="pixel"?(f(V,0),f(j,10)):(v.coercePosition(s,N,f,U,V,Y),v.coercePosition(s,N,f,U,j,z)),s[V]=O(s[V]),s[j]=O(s[j]),c[V]=G,c[j]=W}if(F==="pixel"){var X=c[M];c[M]=D(c[M],!0),v.coercePosition(s,N,f,U,M,.25),s[M]=O(s[M]),c[M]=X}}R&&l.noneOrAll(c,s,["x0","x1","y0","y1"]);var Q=w==="line",ae,ie;if(R&&(ae=f("label.texttemplate")),ae||(ie=f("label.text")),ie||ae){f("label.textangle");var he=f("label.textposition",Q?"middle":"middle center");f("label.xanchor"),f("label.yanchor",p(Q,he)),f("label.padding"),l.coerceFont(f,"label.font",d.font)}}}},60728:function(u,h,a){var l=a(3400),v=a(54460),i=a(72736),S=a(43616),g=a(9856).readPaths,p=a(65152),_=p.getPathString,c=a(97728),s=a(84284).FROM_TL;u.exports=function(x,y,C,w){if(w.selectAll(".shape-label").remove(),!!(C.label.text||C.label.texttemplate)){var R;if(C.label.texttemplate){var A={};if(C.type!=="path"){var E=v.getFromId(x,C.xref),k=v.getFromId(x,C.yref);for(var L in c){var I=c[L](C,E,k);I!==void 0&&(A[L]=I)}}R=l.texttemplateStringForShapes(C.label.texttemplate,{},x._fullLayout._d3locale,A)}else R=C.label.text;var P={"data-index":y},M=C.label.font,F={"data-notex":1},N=w.append("g").attr(P).classed("shape-label",!0),T=N.append("text").attr(F).classed("shape-label-text",!0).text(R),D,O,U,B;if(C.path){var Y=_(x,C),z=g(Y,x);D=1/0,U=1/0,O=-1/0,B=-1/0;for(var V=0;V<z.length;V++)for(var j=0;j<z[V].length;j++)for(var G=z[V][j],W=1;W<G.length;W+=2){var X=G[W],Q=G[W+1];D=Math.min(D,X),O=Math.max(O,X),U=Math.min(U,Q),B=Math.max(B,Q)}}else{var ae=v.getFromId(x,C.xref),ie=v.getRefType(C.xref),he=v.getFromId(x,C.yref),J=v.getRefType(C.yref),Z=p.getDataToPixel(x,ae,!1,ie),le=p.getDataToPixel(x,he,!0,J);D=Z(C.x0),O=Z(C.x1),U=le(C.y0),B=le(C.y1)}var K=C.label.textangle;K==="auto"&&(C.type==="line"?K=d(D,U,O,B):K=0),T.call(function(oe){return oe.call(S.font,M).attr({}),i.convertToTspans(oe,x),oe});var te=S.bBox(T.node()),ce=f(D,U,O,B,C,K,te),re=ce.textx,ee=ce.texty,de=ce.xanchor;T.attr({"text-anchor":{left:"start",center:"middle",right:"end"}[de],y:ee,x:re,transform:"rotate("+K+","+re+","+ee+")"}).call(i.positionText,re,ee)}};function d(b,x,y,C){var w,R;return R=Math.abs(y-b),y>=b?w=x-C:w=C-x,-180/Math.PI*Math.atan2(w,R)}function f(b,x,y,C,w,R,A){var E=w.label.textposition,k=w.label.textangle,L=w.label.padding,I=w.type,P=Math.PI/180*R,M=Math.sin(P),F=Math.cos(P),N=w.label.xanchor,T=w.label.yanchor,D,O,U,B;if(I==="line"){E==="start"?(D=b,O=x):E==="end"?(D=y,O=C):(D=(b+y)/2,O=(x+C)/2),N==="auto"&&(E==="start"?k==="auto"?y>b?N="left":y<b?N="right":N="center":y>b?N="right":y<b?N="left":N="center":E==="end"?k==="auto"?y>b?N="right":y<b?N="left":N="center":y>b?N="left":y<b?N="right":N="center":N="center");var Y={left:1,center:0,right:-1},z={bottom:-1,middle:0,top:1};if(k==="auto"){var V=z[T];U=-L*M*V,B=L*F*V}else{var j=Y[N],G=z[T];U=L*j,B=L*G}D=D+U,O=O+B}else U=L+3,E.indexOf("right")!==-1?(D=Math.max(b,y)-U,N==="auto"&&(N="right")):E.indexOf("left")!==-1?(D=Math.min(b,y)+U,N==="auto"&&(N="left")):(D=(b+y)/2,N==="auto"&&(N="center")),E.indexOf("top")!==-1?O=Math.min(x,C):E.indexOf("bottom")!==-1?O=Math.max(x,C):O=(x+C)/2,B=L,T==="bottom"?O=O-B:T==="top"&&(O=O+B);var W=s[T],X=w.label.font.size,Q=A.height,ae=(Q*W-X)*M,ie=-(Q*W-X)*F;return{textx:D+ae,texty:O+ie,xanchor:N}}},55496:function(u,h,a){var l=a(3400),v=l.strTranslate,i=a(86476),S=a(72760),g=S.drawMode,p=S.selectMode,_=a(24040),c=a(76308),s=a(7e3),d=s.i000,f=s.i090,b=s.i180,x=s.i270,y=a(1936),C=y.clearOutlineControllers,w=a(9856),R=w.pointsOnRectangle,A=w.pointsOnEllipse,E=w.writePaths,k=a(93940).newShapes,L=a(93940).createShapeObj,I=a(5968),P=a(60728);u.exports=function T(D,O,U,B){B||(B=0);var Y=U.gd;function z(){T(D,O,U,B++),(A(D[0])||U.hasText)&&V({redrawing:!0})}function V(be){var Pe={};U.isActiveShape!==void 0&&(U.isActiveShape=!1,Pe=k(O,U)),U.isActiveSelection!==void 0&&(U.isActiveSelection=!1,Pe=I(O,U),Y._fullLayout._reselect=!0),Object.keys(Pe).length&&_.call((be||{}).redrawing?"relayout":"_guiRelayout",Y,Pe)}var j=Y._fullLayout,G=j._zoomlayer,W=U.dragmode,X=g(W),Q=p(W);(X||Q)&&(Y._fullLayout._outlining=!0),C(Y),O.attr("d",E(D));var ae,ie,he,J,Z;if(!B&&(U.isActiveShape||U.isActiveSelection)){Z=M([],D);var le=G.append("g").attr("class","outline-controllers");fe(le),Re()}if(X&&U.hasText){var K=G.select(".label-temp"),te=L(O,U,U.dragmode);P(Y,"label-temp",te,K)}function ce(be){he=+be.srcElement.getAttribute("data-i"),J=+be.srcElement.getAttribute("data-j"),ae[he][J].moveFn=re}function re(be,Pe){if(D.length){var Ke=Z[he][J][1],ze=Z[he][J][2],Fe=D[he],We=Fe.length;if(R(Fe)){var lt=be,ht=Pe;if(U.isActiveSelection){var tt=F(Fe,J);tt[1]===Fe[J][1]?ht=0:lt=0}for(var et=0;et<We;et++)if(et!==J){var pt=Fe[et];pt[1]===Fe[J][1]&&(pt[1]=Ke+lt),pt[2]===Fe[J][2]&&(pt[2]=ze+ht)}if(Fe[J][1]=Ke+lt,Fe[J][2]=ze+ht,!R(Fe))for(var vt=0;vt<We;vt++)for(var _t=0;_t<Fe[vt].length;_t++)Fe[vt][_t]=Z[he][vt][_t]}else Fe[J][1]=Ke+be,Fe[J][2]=ze+Pe;z()}}function ee(){V()}function de(){if(D.length&&D[he]&&D[he].length){for(var be=[],Pe=0;Pe<D[he].length;Pe++)Pe!==J&&be.push(D[he][Pe]);be.length>1&&!(be.length===2&&be[1][0]==="Z")&&(J===0&&(be[0][0]="M"),D[he]=be,z(),V())}}function oe(be,Pe){if(be===2){he=+Pe.srcElement.getAttribute("data-i"),J=+Pe.srcElement.getAttribute("data-j");var Ke=D[he];!R(Ke)&&!A(Ke)&&de()}}function fe(be){ae=[];for(var Pe=0;Pe<D.length;Pe++){var Ke=D[Pe],ze=R(Ke),Fe=!ze&&A(Ke);ae[Pe]=[];for(var We=Ke.length,lt=0;lt<We;lt++)if(Ke[lt][0]!=="Z"&&!(Fe&&lt!==d&&lt!==f&&lt!==b&&lt!==x)){var ht=ze&&U.isActiveSelection,tt;ht&&(tt=F(Ke,lt));var et=Ke[lt][1],pt=Ke[lt][2],vt=be.append(ht?"rect":"circle").attr("data-i",Pe).attr("data-j",lt).style({fill:c.background,stroke:c.defaultLine,"stroke-width":1,"shape-rendering":"crispEdges"});if(ht){var _t=tt[1]-et,bt=tt[2]-pt,Rt=bt?5:Math.max(Math.min(25,Math.abs(_t)-5),5),ct=_t?5:Math.max(Math.min(25,Math.abs(bt)-5),5);vt.classed(bt?"cursor-ew-resize":"cursor-ns-resize",!0).attr("width",Rt).attr("height",ct).attr("x",et-Rt/2).attr("y",pt-ct/2).attr("transform",v(_t/2,bt/2))}else vt.classed("cursor-grab",!0).attr("r",5).attr("cx",et).attr("cy",pt);ae[Pe][lt]={element:vt.node(),gd:Y,prepFn:ce,doneFn:ee,clickFn:oe},i.init(ae[Pe][lt])}}}function me(be,Pe){if(D.length)for(var Ke=0;Ke<D.length;Ke++)for(var ze=0;ze<D[Ke].length;ze++)for(var Fe=0;Fe+2<D[Ke][ze].length;Fe+=2)D[Ke][ze][Fe+1]=Z[Ke][ze][Fe+1]+be,D[Ke][ze][Fe+2]=Z[Ke][ze][Fe+2]+Pe}function Te(be,Pe){me(be,Pe),z()}function we(be){he=+be.srcElement.getAttribute("data-i"),he||(he=0),ie[he].moveFn=Te}function Be(){V()}function Ae(be){be===2&&N(Y)}function Re(){if(ie=[],!!D.length){var be=0;ie[be]={element:O[0][0],gd:Y,prepFn:we,doneFn:Be,clickFn:Ae},i.init(ie[be])}}};function M(T,D){for(var O=0;O<D.length;O++){var U=D[O];T[O]=[];for(var B=0;B<U.length;B++){T[O][B]=[];for(var Y=0;Y<U[B].length;Y++)T[O][B][Y]=U[B][Y]}}return T}function F(T,D){var O=T[D][1],U=T[D][2],B=T.length,Y,z,V;return Y=(D+1)%B,z=T[Y][1],V=T[Y][2],z===O&&V===U&&(Y=(D+2)%B,z=T[Y][1],V=T[Y][2]),[Y,z,V]}function N(T){if(p(T._fullLayout.dragmode)){C(T);var D=T._fullLayout._activeSelectionIndex,O=(T.layout||{}).selections||[];if(D<O.length){for(var U=[],B=0;B<O.length;B++)B!==D&&U.push(O[B]);delete T._fullLayout._activeSelectionIndex;var Y=T._fullLayout.selections[D];T._fullLayout._deselect={xref:Y.xref,yref:Y.yref},_.call("_guiRelayout",T,{selections:U})}}}},4016:function(u,h,a){var l=a(33428),v=a(24040),i=a(3400),S=a(54460),g=a(9856).readPaths,p=a(55496),_=a(60728),c=a(1936).clearOutlineControllers,s=a(76308),d=a(43616),f=a(31780).arrayEditor,b=a(86476),x=a(93972),y=a(85448),C=a(65152),w=C.getPathString;u.exports={draw:R,drawOne:k,eraseActiveShape:N,drawLabel:_};function R(T){var D=T._fullLayout;D._shapeUpperLayer.selectAll("path").remove(),D._shapeLowerLayer.selectAll("path").remove(),D._shapeUpperLayer.selectAll("text").remove(),D._shapeLowerLayer.selectAll("text").remove();for(var O in D._plots){var U=D._plots[O].shapelayer;U&&(U.selectAll("path").remove(),U.selectAll("text").remove())}for(var B=0;B<D.shapes.length;B++)D.shapes[B].visible===!0&&k(T,B)}function A(T){return!!T._fullLayout._outlining}function E(T){return!T._context.edits.shapePosition}function k(T,D){T._fullLayout._paperdiv.selectAll('.shapelayer [data-index="'+D+'"]').remove();var O=C.makeShapesOptionsAndPlotinfo(T,D),U=O.options,B=O.plotinfo;if(!U._input||U.visible!==!0)return;if(U.layer!=="below")z(T._fullLayout._shapeUpperLayer);else if(U.xref==="paper"||U.yref==="paper")z(T._fullLayout._shapeLowerLayer);else if(B._hadPlotinfo){var Y=B.mainplotinfo||B;z(Y.shapelayer)}else z(T._fullLayout._shapeLowerLayer);function z(V){var j=w(T,U),G={"data-index":D,"fill-rule":U.fillrule,d:j},W=U.opacity,X=U.fillcolor,Q=U.line.width?U.line.color:"rgba(0,0,0,0)",ae=U.line.width,ie=U.line.dash;!ae&&U.editable===!0&&(ae=5,ie="solid");var he=j[j.length-1]!=="Z",J=E(T)&&U.editable&&T._fullLayout._activeShapeIndex===D;J&&(X=he?"rgba(0,0,0,0)":T._fullLayout.activeshape.fillcolor,W=T._fullLayout.activeshape.opacity);var Z=V.append("g").classed("shape-group",!0).attr({"data-index":D}),le=Z.append("path").attr(G).style("opacity",W).call(s.stroke,Q).call(s.fill,X).call(d.dashLine,ie,ae);L(Z,T,U),_(T,D,U,Z);var K;if((J||T._context.edits.shapePosition)&&(K=f(T.layout,"shapes",U)),J){le.style({cursor:"move"});var te={element:le.node(),plotinfo:B,gd:T,editHelpers:K,hasText:U.label.text||U.label.texttemplate,isActiveShape:!0},ce=g(j,T);p(ce,le,te)}else T._context.edits.shapePosition?I(T,le,U,D,V,K):U.editable===!0&&le.style("pointer-events",he||s.opacity(X)*W<=.5?"stroke":"all");le.node().addEventListener("click",function(){return M(T,le)})}}function L(T,D,O){var U=(O.xref+O.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");d.setClipUrl(T,U?"clip"+D._fullLayout._uid+U:null,D)}function I(T,D,O,U,B,Y){var z=10,V=10,j=O.xsizemode==="pixel",G=O.ysizemode==="pixel",W=O.type==="line",X=O.type==="path",Q=Y.modifyItem,ae,ie,he,J,Z,le,K,te,ce,re,ee,de,oe,fe,me,Te=l.select(D.node().parentNode),we=S.getFromId(T,O.xref),Be=S.getRefType(O.xref),Ae=S.getFromId(T,O.yref),Re=S.getRefType(O.yref),be=C.getDataToPixel(T,we,!1,Be),Pe=C.getDataToPixel(T,Ae,!0,Re),Ke=C.getPixelToData(T,we,!1,Be),ze=C.getPixelToData(T,Ae,!0,Re),Fe=ht(),We={element:Fe.node(),gd:T,prepFn:pt,doneFn:vt,clickFn:_t},lt;b.init(We),Fe.node().onmousemove=et;function ht(){return W?tt():D}function tt(){var rt=10,qe=Math.max(O.line.width,rt),He=B.append("g").attr("data-index",U).attr("drag-helper",!0);He.append("path").attr("d",D.attr("d")).style({cursor:"move","stroke-width":qe,"stroke-opacity":"0"});var Ce={"fill-opacity":"0"},Se=Math.max(qe/2,rt);return He.append("circle").attr({"data-line-point":"start-point",cx:j?be(O.xanchor)+O.x0:be(O.x0),cy:G?Pe(O.yanchor)-O.y0:Pe(O.y0),r:Se}).style(Ce).classed("cursor-grab",!0),He.append("circle").attr({"data-line-point":"end-point",cx:j?be(O.xanchor)+O.x1:be(O.x1),cy:G?Pe(O.yanchor)-O.y1:Pe(O.y1),r:Se}).style(Ce).classed("cursor-grab",!0),He}function et(rt){if(A(T)){lt=null;return}if(W)rt.target.tagName==="path"?lt="move":lt=rt.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var qe=We.element.getBoundingClientRect(),He=qe.right-qe.left,Ce=qe.bottom-qe.top,Se=rt.clientX-qe.left,Le=rt.clientY-qe.top,Ne=!X&&He>z&&Ce>V&&!rt.shiftKey?b.getCursor(Se/He,1-Le/Ce):"move";x(D,Ne),lt=Ne.split("-")[0]}}function pt(rt){A(T)||(j&&(Z=be(O.xanchor)),G&&(le=Pe(O.yanchor)),O.type==="path"?me=O.path:(ae=j?O.x0:be(O.x0),ie=G?O.y0:Pe(O.y0),he=j?O.x1:be(O.x1),J=G?O.y1:Pe(O.y1)),ae<he?(ce=ae,oe="x0",re=he,fe="x1"):(ce=he,oe="x1",re=ae,fe="x0"),!G&&ie<J||G&&ie>J?(K=ie,ee="y0",te=J,de="y1"):(K=J,ee="y1",te=ie,de="y0"),et(rt),ct(B,O),Qe(D,O,T),We.moveFn=lt==="move"?bt:Rt,We.altKey=rt.altKey)}function vt(){A(T)||(x(D),Ve(B),L(D,T,O),v.call("_guiRelayout",T,Y.getUpdateObj()))}function _t(){A(T)||Ve(B)}function bt(rt,qe){if(O.type==="path"){var He=function(Le){return Le},Ce=He,Se=He;j?Q("xanchor",O.xanchor=Ke(Z+rt)):(Ce=function(Ne){return Ke(be(Ne)+rt)},we&&we.type==="date"&&(Ce=C.encodeDate(Ce))),G?Q("yanchor",O.yanchor=ze(le+qe)):(Se=function(Ne){return ze(Pe(Ne)+qe)},Ae&&Ae.type==="date"&&(Se=C.encodeDate(Se))),Q("path",O.path=P(me,Ce,Se))}else j?Q("xanchor",O.xanchor=Ke(Z+rt)):(Q("x0",O.x0=Ke(ae+rt)),Q("x1",O.x1=Ke(he+rt))),G?Q("yanchor",O.yanchor=ze(le+qe)):(Q("y0",O.y0=ze(ie+qe)),Q("y1",O.y1=ze(J+qe)));D.attr("d",w(T,O)),ct(B,O),_(T,U,O,Te)}function Rt(rt,qe){if(X){var He=function(Ct){return Ct},Ce=He,Se=He;j?Q("xanchor",O.xanchor=Ke(Z+rt)):(Ce=function(or){return Ke(be(or)+rt)},we&&we.type==="date"&&(Ce=C.encodeDate(Ce))),G?Q("yanchor",O.yanchor=ze(le+qe)):(Se=function(or){return ze(Pe(or)+qe)},Ae&&Ae.type==="date"&&(Se=C.encodeDate(Se))),Q("path",O.path=P(me,Ce,Se))}else if(W){if(lt==="resize-over-start-point"){var Le=ae+rt,Ne=G?ie-qe:ie+qe;Q("x0",O.x0=j?Le:Ke(Le)),Q("y0",O.y0=G?Ne:ze(Ne))}else if(lt==="resize-over-end-point"){var je=he+rt,Je=G?J-qe:J+qe;Q("x1",O.x1=j?je:Ke(je)),Q("y1",O.y1=G?Je:ze(Je))}}else{var ut=function(Ct){return lt.indexOf(Ct)!==-1},Et=ut("n"),wt=ut("s"),nr=ut("w"),ir=ut("e"),It=Et?K+qe:K,Gt=wt?te+qe:te,cr=nr?ce+rt:ce,Pr=ir?re+rt:re;G&&(Et&&(It=K-qe),wt&&(Gt=te-qe)),(!G&&Gt-It>V||G&&It-Gt>V)&&(Q(ee,O[ee]=G?It:ze(It)),Q(de,O[de]=G?Gt:ze(Gt))),Pr-cr>z&&(Q(oe,O[oe]=j?cr:Ke(cr)),Q(fe,O[fe]=j?Pr:Ke(Pr)))}D.attr("d",w(T,O)),ct(B,O),_(T,U,O,Te)}function ct(rt,qe){(j||G)&&He();function He(){var Ce=qe.type!=="path",Se=rt.selectAll(".visual-cue").data([0]),Le=1;Se.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":Le}).classed("visual-cue",!0);var Ne=be(j?qe.xanchor:i.midRange(Ce?[qe.x0,qe.x1]:C.extractPathCoords(qe.path,y.paramIsX))),je=Pe(G?qe.yanchor:i.midRange(Ce?[qe.y0,qe.y1]:C.extractPathCoords(qe.path,y.paramIsY)));if(Ne=C.roundPositionForSharpStrokeRendering(Ne,Le),je=C.roundPositionForSharpStrokeRendering(je,Le),j&&G){var Je="M"+(Ne-1-Le)+","+(je-1-Le)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";Se.attr("d",Je)}else if(j){var ut="M"+(Ne-1-Le)+","+(je-9-Le)+"v18 h2 v-18 Z";Se.attr("d",ut)}else{var Et="M"+(Ne-9-Le)+","+(je-1-Le)+"h18 v2 h-18 Z";Se.attr("d",Et)}}}function Ve(rt){rt.selectAll(".visual-cue").remove()}function Qe(rt,qe,He){var Ce=qe.xref,Se=qe.yref,Le=S.getFromId(He,Ce),Ne=S.getFromId(He,Se),je="";Ce!=="paper"&&!Le.autorange&&(je+=Ce),Se!=="paper"&&!Ne.autorange&&(je+=Se),d.setClipUrl(rt,je?"clip"+He._fullLayout._uid+je:null,He)}}function P(T,D,O){return T.replace(y.segmentRE,function(U){var B=0,Y=U.charAt(0),z=y.paramIsX[Y],V=y.paramIsY[Y],j=y.numParams[Y],G=U.substr(1).replace(y.paramRE,function(W){return B>=j||(z[B]?W=D(W):V[B]&&(W=O(W)),B++),W});return Y+G})}function M(T,D){if(E(T)){var O=D.node(),U=+O.getAttribute("data-index");if(U>=0){if(U===T._fullLayout._activeShapeIndex){F(T);return}T._fullLayout._activeShapeIndex=U,T._fullLayout._deactivateShape=F,R(T)}}}function F(T){if(E(T)){var D=T._fullLayout._activeShapeIndex;D>=0&&(c(T),delete T._fullLayout._activeShapeIndex,R(T))}}function N(T){if(E(T)){c(T);var D=T._fullLayout._activeShapeIndex,O=(T.layout||{}).shapes||[];if(D<O.length){for(var U=[],B=0;B<O.length;B++)B!==D&&U.push(O[B]);return delete T._fullLayout._activeShapeIndex,v.call("_guiRelayout",T,{shapes:U})}}}},92872:function(u,h,a){var l=a(67824).overrideAll,v=a(45464),i=a(25376),S=a(98192).u,g=a(92880).extendFlat,p=a(21776).ye,_=a(97728);u.exports=l({newshape:{visible:g({},v.visible,{}),showlegend:{valType:"boolean",dflt:!1},legend:g({},v.legend,{}),legendgroup:g({},v.legendgroup,{}),legendgrouptitle:{text:g({},v.legendgrouptitle.text,{}),font:i({})},legendrank:g({},v.legendrank,{}),legendwidth:g({},v.legendwidth,{}),line:{color:{valType:"color"},width:{valType:"number",min:0,dflt:4},dash:g({},S,{dflt:"solid"})},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd"},opacity:{valType:"number",min:0,max:1,dflt:1},layer:{valType:"enumerated",values:["below","above"],dflt:"above"},drawdirection:{valType:"enumerated",values:["ortho","horizontal","vertical","diagonal"],dflt:"diagonal"},name:g({},v.name,{}),label:{text:{valType:"string",dflt:""},texttemplate:p({newshape:!0},{keys:Object.keys(_)}),font:i({}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"]},textangle:{valType:"angle",dflt:"auto"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto"},yanchor:{valType:"enumerated",values:["top","middle","bottom"]},padding:{valType:"number",dflt:3,min:0}}},activeshape:{fillcolor:{valType:"color",dflt:"rgb(255,0,255)"},opacity:{valType:"number",min:0,max:1,dflt:.5}}},"none","from-root")},7e3:function(u){var h=32;u.exports={CIRCLE_SIDES:h,i000:0,i090:h/4,i180:h/2,i270:h/4*3,cos45:Math.cos(Math.PI/4),sin45:Math.sin(Math.PI/4),SQRT2:Math.sqrt(2)}},65144:function(u,h,a){var l=a(76308),v=a(3400);function i(S,g){return S?"bottom":g.indexOf("top")!==-1?"top":g.indexOf("bottom")!==-1?"bottom":"middle"}u.exports=function(g,p,_){_("newshape.visible"),_("newshape.name"),_("newshape.showlegend"),_("newshape.legend"),_("newshape.legendwidth"),_("newshape.legendgroup"),_("newshape.legendgrouptitle.text"),v.coerceFont(_,"newshape.legendgrouptitle.font"),_("newshape.legendrank"),_("newshape.drawdirection"),_("newshape.layer"),_("newshape.fillcolor"),_("newshape.fillrule"),_("newshape.opacity");var c=_("newshape.line.width");if(c){var s=(g||{}).plot_bgcolor||"#FFF";_("newshape.line.color",l.contrast(s)),_("newshape.line.dash")}var d=g.dragmode==="drawline",f=_("newshape.label.text"),b=_("newshape.label.texttemplate");if(f||b){_("newshape.label.textangle");var x=_("newshape.label.textposition",d?"middle":"middle center");_("newshape.label.xanchor"),_("newshape.label.yanchor",i(d,x)),_("newshape.label.padding"),v.coerceFont(_,"newshape.label.font",p.font)}_("activeshape.fillcolor"),_("activeshape.opacity")}},9856:function(u,h,a){var l=a(21984),v=a(7e3),i=v.CIRCLE_SIDES,S=v.SQRT2,g=a(5840),p=g.p2r,_=g.r2p,c=[0,3,4,5,6,1,2],s=[0,3,4,1,2];h.writePaths=function(b){var x=b.length;if(!x)return"M0,0Z";for(var y="",C=0;C<x;C++)for(var w=b[C].length,R=0;R<w;R++){var A=b[C][R][0];if(A==="Z")y+="Z";else for(var E=b[C][R].length,k=0;k<E;k++){var L=k;A==="Q"||A==="S"?L=s[k]:A==="C"&&(L=c[k]),y+=b[C][R][L],k>0&&k<E-1&&(y+=",")}}return y},h.readPaths=function(b,x,y,C){var w=l(b),R=[],A=-1,E=function(){A++,R[A]=[]},k,L=0,I=0,P,M,F=function(){P=L,M=I};F();for(var N=0;N<w.length;N++){var T=[],D,O,U,B,Y=w[N][0],z=Y;switch(Y){case"M":E(),L=+w[N][1],I=+w[N][2],T.push([z,L,I]),F();break;case"Q":case"S":D=+w[N][1],U=+w[N][2],L=+w[N][3],I=+w[N][4],T.push([z,L,I,D,U]);break;case"C":D=+w[N][1],U=+w[N][2],O=+w[N][3],B=+w[N][4],L=+w[N][5],I=+w[N][6],T.push([z,L,I,D,U,O,B]);break;case"T":case"L":L=+w[N][1],I=+w[N][2],T.push([z,L,I]);break;case"H":z="L",L=+w[N][1],T.push([z,L,I]);break;case"V":z="L",I=+w[N][1],T.push([z,L,I]);break;case"A":z="L";var V=+w[N][1],j=+w[N][2];+w[N][4]||(V=-V,j=-j);var G=L-V,W=I;for(k=1;k<=i/2;k++){var X=2*Math.PI*k/i;T.push([z,G+V*Math.cos(X),W+j*Math.sin(X)])}break;case"Z":(L!==P||I!==M)&&(L=P,I=M,T.push([z,L,I]));break}for(var Q=(y||{}).domain,ae=x._fullLayout._size,ie=y&&y.xsizemode==="pixel",he=y&&y.ysizemode==="pixel",J=C===!1,Z=0;Z<T.length;Z++){for(k=0;k+2<7;k+=2){var le=T[Z][k+1],K=T[Z][k+2];le===void 0||K===void 0||(L=le,I=K,y&&(y.xaxis&&y.xaxis.p2r?(J&&(le-=y.xaxis._offset),ie?le=_(y.xaxis,y.xanchor)+le:le=p(y.xaxis,le)):(J&&(le-=ae.l),Q?le=Q.x[0]+le/ae.w:le=le/ae.w),y.yaxis&&y.yaxis.p2r?(J&&(K-=y.yaxis._offset),he?K=_(y.yaxis,y.yanchor)-K:K=p(y.yaxis,K)):(J&&(K-=ae.t),Q?K=Q.y[1]-K/ae.h:K=1-K/ae.h)),T[Z][k+1]=le,T[Z][k+2]=K)}R[A].push(T[Z].slice())}}return R};function d(b,x){return Math.abs(b-x)<=1e-6}function f(b,x){var y=x[1]-b[1],C=x[2]-b[2];return Math.sqrt(y*y+C*C)}h.pointsOnRectangle=function(b){var x=b.length;if(x!==5)return!1;for(var y=1;y<3;y++){var C=b[0][y]-b[1][y],w=b[3][y]-b[2][y];if(!d(C,w))return!1;var R=b[0][y]-b[3][y],A=b[1][y]-b[2][y];if(!d(R,A))return!1}return!d(b[0][1],b[1][1])&&!d(b[0][1],b[3][1])?!1:!!(f(b[0],b[1])*f(b[0],b[3]))},h.pointsOnEllipse=function(b){var x=b.length;if(x!==i+1)return!1;x=i;for(var y=0;y<x;y++){var C=(x*2-y)%x,w=(x/2+C)%x,R=(x/2+y)%x;if(!d(f(b[y],b[R]),f(b[C],b[w])))return!1}return!0},h.handleEllipse=function(b,x,y){if(!b)return[x,y];var C=h.ellipseOver({x0:x[0],y0:x[1],x1:y[0],y1:y[1]}),w=(C.x1+C.x0)/2,R=(C.y1+C.y0)/2,A=(C.x1-C.x0)/2,E=(C.y1-C.y0)/2;A||(A=E=E/S),E||(E=A=A/S);for(var k=[],L=0;L<i;L++){var I=L*2*Math.PI/i;k.push([w+A*Math.cos(I),R+E*Math.sin(I)])}return k},h.ellipseOver=function(b){var x=b.x0,y=b.y0,C=b.x1,w=b.y1,R=C-x,A=w-y;x-=R,y-=A;var E=(x+C)/2,k=(y+w)/2,L=S;return R*=L,A*=L,{x0:E-R,y0:k-A,x1:E+R,y1:k+A}},h.fixDatesForPaths=function(b,x,y){var C=x.type==="date",w=y.type==="date";if(!C&&!w)return b;for(var R=0;R<b.length;R++)for(var A=0;A<b[R].length;A++)for(var E=0;E+2<b[R][A].length;E+=2)C&&(b[R][A][E+1]=b[R][A][E+1].replace(" ","_")),w&&(b[R][A][E+2]=b[R][A][E+2].replace(" ","_"));return b}},93940:function(u,h,a){var l=a(72760),v=l.drawMode,i=l.openMode,S=a(7e3),g=S.i000,p=S.i090,_=S.i180,c=S.i270,s=S.cos45,d=S.sin45,f=a(5840),b=f.p2r,x=f.r2p,y=a(1936),C=y.clearOutline,w=a(9856),R=w.readPaths,A=w.writePaths,E=w.ellipseOver,k=w.fixDatesForPaths;function L(P,M){if(P.length){var F=P[0][0];if(F){var N=M.gd,T=M.isActiveShape,D=M.dragmode,O=(N.layout||{}).shapes||[];if(!v(D)&&T!==void 0){var U=N._fullLayout._activeShapeIndex;if(U<O.length)switch(N._fullLayout.shapes[U].type){case"rect":D="drawrect";break;case"circle":D="drawcircle";break;case"line":D="drawline";break;case"path":var B=O[U].path||"";B[B.length-1]==="Z"?D="drawclosedpath":D="drawopenpath";break}}var Y=I(P,M,D);C(N);for(var z=M.editHelpers,V=(z||{}).modifyItem,j=[],G=0;G<O.length;G++){var W=N._fullLayout.shapes[G];if(j[G]=W._input,T!==void 0&&G===N._fullLayout._activeShapeIndex){var X=Y;switch(W.type){case"line":case"rect":case"circle":V("x0",X.x0),V("x1",X.x1),V("y0",X.y0),V("y1",X.y1);break;case"path":V("path",X.path);break}}}return T===void 0?(j.push(Y),j):z?z.getUpdateObj():{}}}}function I(P,M,F){var N=P[0][0],T=M.gd,D=N.getAttribute("d"),O=T._fullLayout.newshape,U=M.plotinfo,B=M.isActiveShape,Y=U.xaxis,z=U.yaxis,V=!!U.domain||!U.xaxis,j=!!U.domain||!U.yaxis,G=i(F),W=R(D,T,U,B),X={editable:!0,visible:O.visible,name:O.name,showlegend:O.showlegend,legend:O.legend,legendwidth:O.legendwidth,legendgroup:O.legendgroup,legendgrouptitle:{text:O.legendgrouptitle.text,font:O.legendgrouptitle.font},legendrank:O.legendrank,label:O.label,xref:V?"paper":Y._id,yref:j?"paper":z._id,layer:O.layer,opacity:O.opacity,line:{color:O.line.color,width:O.line.width,dash:O.line.dash}};G||(X.fillcolor=O.fillcolor,X.fillrule=O.fillrule);var Q;if(W.length===1&&(Q=W[0]),Q&&Q.length===5&&F==="drawrect")X.type="rect",X.x0=Q[0][1],X.y0=Q[0][2],X.x1=Q[2][1],X.y1=Q[2][2];else if(Q&&F==="drawline")X.type="line",X.x0=Q[0][1],X.y0=Q[0][2],X.x1=Q[1][1],X.y1=Q[1][2];else if(Q&&F==="drawcircle"){X.type="circle";var ae=Q[g][1],ie=Q[p][1],he=Q[_][1],J=Q[c][1],Z=Q[g][2],le=Q[p][2],K=Q[_][2],te=Q[c][2],ce=U.xaxis&&(U.xaxis.type==="date"||U.xaxis.type==="log"),re=U.yaxis&&(U.yaxis.type==="date"||U.yaxis.type==="log");ce&&(ae=x(U.xaxis,ae),ie=x(U.xaxis,ie),he=x(U.xaxis,he),J=x(U.xaxis,J)),re&&(Z=x(U.yaxis,Z),le=x(U.yaxis,le),K=x(U.yaxis,K),te=x(U.yaxis,te));var ee=(ie+J)/2,de=(Z+K)/2,oe=(J-ie+he-ae)/2,fe=(te-le+K-Z)/2,me=E({x0:ee,y0:de,x1:ee+oe*s,y1:de+fe*d});ce&&(me.x0=b(U.xaxis,me.x0),me.x1=b(U.xaxis,me.x1)),re&&(me.y0=b(U.yaxis,me.y0),me.y1=b(U.yaxis,me.y1)),X.x0=me.x0,X.y0=me.y0,X.x1=me.x1,X.y1=me.y1}else X.type="path",Y&&z&&k(W,Y,z),X.path=A(W),Q=null;return X}u.exports={newShapes:L,createShapeObj:I}},1936:function(u){function h(l){var v=l._fullLayout._zoomlayer;v&&v.selectAll(".outline-controllers").remove()}function a(l){var v=l._fullLayout._zoomlayer;v&&v.selectAll(".select-outline").remove(),l._fullLayout._outlining=!1}u.exports={clearOutlineControllers:h,clearOutline:a}},65152:function(u,h,a){var l=a(85448),v=a(3400),i=a(54460);h.rangeToShapePosition=function(g){return g.type==="log"?g.r2d:function(p){return p}},h.shapePositionToRange=function(g){return g.type==="log"?g.d2r:function(p){return p}},h.decodeDate=function(g){return function(p){return p.replace&&(p=p.replace("_"," ")),g(p)}},h.encodeDate=function(g){return function(p){return g(p).replace(" ","_")}},h.extractPathCoords=function(g,p,_){var c=[],s=g.match(l.segmentRE);return s.forEach(function(d){var f=p[d.charAt(0)].drawn;if(f!==void 0){var b=d.substr(1).match(l.paramRE);if(!(!b||b.length<f)){var x=b[f],y=_?x:v.cleanNumber(x);c.push(y)}}}),c},h.getDataToPixel=function(g,p,_,c){var s=g._fullLayout._size,d;if(p)if(c==="domain")d=function(b){return p._length*(_?1-b:b)+p._offset};else{var f=h.shapePositionToRange(p);d=function(b){return p._offset+p.r2p(f(b,!0))},p.type==="date"&&(d=h.decodeDate(d))}else _?d=function(b){return s.t+s.h*(1-b)}:d=function(b){return s.l+s.w*b};return d},h.getPixelToData=function(g,p,_,c){var s=g._fullLayout._size,d;if(p)if(c==="domain")d=function(b){var x=(b-p._offset)/p._length;return _?1-x:x};else{var f=h.rangeToShapePosition(p);d=function(b){return f(p.p2r(b-p._offset))}}else _?d=function(b){return 1-(b-s.t)/s.h}:d=function(b){return(b-s.l)/s.w};return d},h.roundPositionForSharpStrokeRendering=function(g,p){var _=Math.round(p%2)===1,c=Math.round(g);return _?c+.5:c},h.makeShapesOptionsAndPlotinfo=function(g,p){var _=g._fullLayout.shapes[p]||{},c=g._fullLayout._plots[_.xref+_.yref],s=!!c;return s?c._hadPlotinfo=!0:(c={},_.xref&&_.xref!=="paper"&&(c.xaxis=g._fullLayout[_.xref+"axis"]),_.yref&&_.yref!=="paper"&&(c.yaxis=g._fullLayout[_.yref+"axis"])),c.xsizemode=_.xsizemode,c.ysizemode=_.ysizemode,c.xanchor=_.xanchor,c.yanchor=_.yanchor,{options:_,plotinfo:c}},h.makeSelectionsOptionsAndPlotinfo=function(g,p){var _=g._fullLayout.selections[p]||{},c=g._fullLayout._plots[_.xref+_.yref],s=!!c;return s?c._hadPlotinfo=!0:(c={},_.xref&&(c.xaxis=g._fullLayout[_.xref+"axis"]),_.yref&&(c.yaxis=g._fullLayout[_.yref+"axis"])),{options:_,plotinfo:c}},h.getPathString=function(g,p){var _=p.type,c=i.getRefType(p.xref),s=i.getRefType(p.yref),d=i.getFromId(g,p.xref),f=i.getFromId(g,p.yref),b=g._fullLayout._size,x,y,C,w,R,A,E,k;if(d?c==="domain"?y=function(U){return d._offset+d._length*U}:(x=h.shapePositionToRange(d),y=function(U){return d._offset+d.r2p(x(U,!0))}):y=function(U){return b.l+b.w*U},f?s==="domain"?w=function(U){return f._offset+f._length*(1-U)}:(C=h.shapePositionToRange(f),w=function(U){return f._offset+f.r2p(C(U,!0))}):w=function(U){return b.t+b.h*(1-U)},_==="path")return d&&d.type==="date"&&(y=h.decodeDate(y)),f&&f.type==="date"&&(w=h.decodeDate(w)),S(p,y,w);if(p.xsizemode==="pixel"){var L=y(p.xanchor);R=L+p.x0,A=L+p.x1}else R=y(p.x0),A=y(p.x1);if(p.ysizemode==="pixel"){var I=w(p.yanchor);E=I-p.y0,k=I-p.y1}else E=w(p.y0),k=w(p.y1);if(_==="line")return"M"+R+","+E+"L"+A+","+k;if(_==="rect")return"M"+R+","+E+"H"+A+"V"+k+"H"+R+"Z";var P=(R+A)/2,M=(E+k)/2,F=Math.abs(P-R),N=Math.abs(M-E),T="A"+F+","+N,D=P+F+","+M,O=P+","+(M-N);return"M"+D+T+" 0 1,1 "+O+T+" 0 0,1 "+D+"Z"};function S(g,p,_){var c=g.path,s=g.xsizemode,d=g.ysizemode,f=g.xanchor,b=g.yanchor;return c.replace(l.segmentRE,function(x){var y=0,C=x.charAt(0),w=l.paramIsX[C],R=l.paramIsY[C],A=l.numParams[C],E=x.substr(1).replace(l.paramRE,function(k){return w[y]?s==="pixel"?k=p(f)+Number(k):k=p(k):R[y]&&(d==="pixel"?k=_(b)-Number(k):k=_(k)),y++,y>A&&(k="X"),k});return y>A&&(E=E.replace(/[\s,]*X.*/,""),v.log("Ignoring extra params in segment "+x)),C+E})}},41592:function(u,h,a){var l=a(4016);u.exports={moduleType:"component",name:"shapes",layoutAttributes:a(46056),supplyLayoutDefaults:a(43712),supplyDrawNewShapeDefaults:a(65144),includeBasePlot:a(36632)("shapes"),calcAutorange:a(96084),draw:l.draw,drawOne:l.drawOne}},97728:function(u){function h(x,y){return y?y.d2l(x):x}function a(x,y){return y?y.l2d(x):x}function l(x){return x.x0}function v(x){return x.x1}function i(x){return x.y0}function S(x){return x.y1}function g(x,y){return h(x.x1,y)-h(x.x0,y)}function p(x,y,C){return h(x.y1,C)-h(x.y0,C)}function _(x,y){return Math.abs(g(x,y))}function c(x,y,C){return Math.abs(p(x,y,C))}function s(x,y,C){return x.type!=="line"?void 0:Math.sqrt(Math.pow(g(x,y),2)+Math.pow(p(x,y,C),2))}function d(x,y){return a((h(x.x1,y)+h(x.x0,y))/2,y)}function f(x,y,C){return a((h(x.y1,C)+h(x.y0,C))/2,C)}function b(x,y,C){return x.type!=="line"?void 0:p(x,y,C)/g(x,y)}u.exports={x0:l,x1:v,y0:i,y1:S,slope:b,dx:g,dy:p,width:_,height:c,length:s,xcenter:d,ycenter:f}},89861:function(u,h,a){var l=a(25376),v=a(66741),i=a(92880).extendDeepAll,S=a(67824).overrideAll,g=a(85656),p=a(31780).templatedArray,_=a(60876),c=p("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});u.exports=S(p("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:c,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:i(v({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:g.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:l({})},font:l({}),activebgcolor:{valType:"color",dflt:_.gripBgActiveColor},bgcolor:{valType:"color",dflt:_.railBgColor},bordercolor:{valType:"color",dflt:_.railBorderColor},borderwidth:{valType:"number",min:0,dflt:_.railBorderWidth},ticklen:{valType:"number",min:0,dflt:_.tickLength},tickcolor:{valType:"color",dflt:_.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:_.minorTickLength}}),"arraydraw","from-root")},60876:function(u){u.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},8132:function(u,h,a){var l=a(3400),v=a(51272),i=a(89861),S=a(60876),g=S.name,p=i.steps;u.exports=function(d,f){v(d,f,{name:g,handleItemDefaults:_})};function _(s,d,f){function b(k,L){return l.coerce(s,d,i,k,L)}for(var x=v(s,d,{name:"steps",handleItemDefaults:c}),y=0,C=0;C<x.length;C++)x[C].visible&&y++;var w;if(y<2?w=d.visible=!1:w=b("visible"),!!w){d._stepCount=y;var R=d._visibleSteps=l.filterVisible(x),A=b("active");(x[A]||{}).visible||(d.active=R[0]._index),b("x"),b("y"),l.noneOrAll(s,d,["x","y"]),b("xanchor"),b("yanchor"),b("len"),b("lenmode"),b("pad.t"),b("pad.r"),b("pad.b"),b("pad.l"),l.coerceFont(b,"font",f.font);var E=b("currentvalue.visible");E&&(b("currentvalue.xanchor"),b("currentvalue.prefix"),b("currentvalue.suffix"),b("currentvalue.offset"),l.coerceFont(b,"currentvalue.font",d.font)),b("transition.duration"),b("transition.easing"),b("bgcolor"),b("activebgcolor"),b("bordercolor"),b("borderwidth"),b("ticklen"),b("tickwidth"),b("tickcolor"),b("minorticklen")}}function c(s,d){function f(y,C){return l.coerce(s,d,p,y,C)}var b;if(s.method!=="skip"&&!Array.isArray(s.args)?b=d.visible=!1:b=f("visible"),b){f("method"),f("args");var x=f("label","step-"+d._index);f("value",x),f("execute")}}},79664:function(u,h,a){var l=a(33428),v=a(7316),i=a(76308),S=a(43616),g=a(3400),p=g.strTranslate,_=a(72736),c=a(31780).arrayEditor,s=a(60876),d=a(84284),f=d.LINE_SPACING,b=d.FROM_TL,x=d.FROM_BR;u.exports=function(V){var j=V._context.staticPlot,G=V._fullLayout,W=C(G,V),X=G._infolayer.selectAll("g."+s.containerClassName).data(W.length>0?[0]:[]);X.enter().append("g").classed(s.containerClassName,!0).style("cursor",j?null:"ew-resize");function Q(J){J._commandObserver&&(J._commandObserver.remove(),delete J._commandObserver),v.autoMargin(V,y(J))}if(X.exit().each(function(){l.select(this).selectAll("g."+s.groupClassName).each(Q)}).remove(),W.length!==0){var ae=X.selectAll("g."+s.groupClassName).data(W,w);ae.enter().append("g").classed(s.groupClassName,!0),ae.exit().each(Q).remove();for(var ie=0;ie<W.length;ie++){var he=W[ie];R(V,he)}ae.each(function(J){var Z=l.select(this);T(J),v.manageCommandObserver(V,J,J._visibleSteps,function(le){var K=Z.data()[0];K.active!==le.index&&(K._dragging||M(V,Z,K,le.index,!1,!0))}),A(V,l.select(this),J)})}};function y(z){return s.autoMarginIdRoot+z._index}function C(z,V){for(var j=z[s.name],G=[],W=0;W<j.length;W++){var X=j[W];X.visible&&(X._gd=V,G.push(X))}return G}function w(z){return z._index}function R(z,V){var j=S.tester.selectAll("g."+s.labelGroupClass).data(V._visibleSteps);j.enter().append("g").classed(s.labelGroupClass,!0);var G=0,W=0;j.each(function(te){var ce=l.select(this),re=L(ce,{step:te},V),ee=re.node();if(ee){var de=S.bBox(ee);W=Math.max(W,de.height),G=Math.max(G,de.width)}}),j.remove();var X=V._dims={};X.inputAreaWidth=Math.max(s.railWidth,s.gripHeight);var Q=z._fullLayout._size;X.lx=Q.l+Q.w*V.x,X.ly=Q.t+Q.h*(1-V.y),V.lenmode==="fraction"?X.outerLength=Math.round(Q.w*V.len):X.outerLength=V.len,X.inputAreaStart=0,X.inputAreaLength=Math.round(X.outerLength-V.pad.l-V.pad.r);var ae=X.inputAreaLength-2*s.stepInset,ie=ae/(V._stepCount-1),he=G+s.labelPadding;if(X.labelStride=Math.max(1,Math.ceil(he/ie)),X.labelHeight=W,X.currentValueMaxWidth=0,X.currentValueHeight=0,X.currentValueTotalHeight=0,X.currentValueMaxLines=1,V.currentvalue.visible){var J=S.tester.append("g");j.each(function(te){var ce=E(J,V,te.label),re=ce.node()&&S.bBox(ce.node())||{width:0,height:0},ee=_.lineCount(ce);X.currentValueMaxWidth=Math.max(X.currentValueMaxWidth,Math.ceil(re.width)),X.currentValueHeight=Math.max(X.currentValueHeight,Math.ceil(re.height)),X.currentValueMaxLines=Math.max(X.currentValueMaxLines,ee)}),X.currentValueTotalHeight=X.currentValueHeight+V.currentvalue.offset,J.remove()}X.height=X.currentValueTotalHeight+s.tickOffset+V.ticklen+s.labelOffset+X.labelHeight+V.pad.t+V.pad.b;var Z="left";g.isRightAnchor(V)&&(X.lx-=X.outerLength,Z="right"),g.isCenterAnchor(V)&&(X.lx-=X.outerLength/2,Z="center");var le="top";g.isBottomAnchor(V)&&(X.ly-=X.height,le="bottom"),g.isMiddleAnchor(V)&&(X.ly-=X.height/2,le="middle"),X.outerLength=Math.ceil(X.outerLength),X.height=Math.ceil(X.height),X.lx=Math.round(X.lx),X.ly=Math.round(X.ly);var K={y:V.y,b:X.height*x[le],t:X.height*b[le]};V.lenmode==="fraction"?(K.l=0,K.xl=V.x-V.len*b[Z],K.r=0,K.xr=V.x+V.len*x[Z]):(K.x=V.x,K.l=X.outerLength*b[Z],K.r=X.outerLength*x[Z]),v.autoMargin(z,y(V),K)}function A(z,V,j){(j.steps[j.active]||{}).visible||(j.active=j._visibleSteps[0]._index),V.call(E,j).call(Y,j).call(I,j).call(N,j).call(B,z,j).call(k,z,j);var G=j._dims;S.setTranslate(V,G.lx+j.pad.l,G.ly+j.pad.t),V.call(D,j,!1),V.call(E,j)}function E(z,V,j){if(V.currentvalue.visible){var G=V._dims,W,X;switch(V.currentvalue.xanchor){case"right":W=G.inputAreaLength-s.currentValueInset-G.currentValueMaxWidth,X="left";break;case"center":W=G.inputAreaLength*.5,X="middle";break;default:W=s.currentValueInset,X="left"}var Q=g.ensureSingle(z,"text",s.labelClass,function(le){le.attr({"text-anchor":X,"data-notex":1})}),ae=V.currentvalue.prefix?V.currentvalue.prefix:"";if(typeof j=="string")ae+=j;else{var ie=V.steps[V.active].label,he=V._gd._fullLayout._meta;he&&(ie=g.templateString(ie,he)),ae+=ie}V.currentvalue.suffix&&(ae+=V.currentvalue.suffix),Q.call(S.font,V.currentvalue.font).text(ae).call(_.convertToTspans,V._gd);var J=_.lineCount(Q),Z=(G.currentValueMaxLines+1-J)*V.currentvalue.font.size*f;return _.positionText(Q,W,Z),Q}}function k(z,V,j){var G=g.ensureSingle(z,"rect",s.gripRectClass,function(W){W.call(F,V,z,j).style("pointer-events","all")});G.attr({width:s.gripWidth,height:s.gripHeight,rx:s.gripRadius,ry:s.gripRadius}).call(i.stroke,j.bordercolor).call(i.fill,j.bgcolor).style("stroke-width",j.borderwidth+"px")}function L(z,V,j){var G=g.ensureSingle(z,"text",s.labelClass,function(Q){Q.attr({"text-anchor":"middle","data-notex":1})}),W=V.step.label,X=j._gd._fullLayout._meta;return X&&(W=g.templateString(W,X)),G.call(S.font,j.font).text(W).call(_.convertToTspans,j._gd),G}function I(z,V){var j=g.ensureSingle(z,"g",s.labelsClass),G=V._dims,W=j.selectAll("g."+s.labelGroupClass).data(G.labelSteps);W.enter().append("g").classed(s.labelGroupClass,!0),W.exit().remove(),W.each(function(X){var Q=l.select(this);Q.call(L,X,V),S.setTranslate(Q,O(V,X.fraction),s.tickOffset+V.ticklen+V.font.size*f+s.labelOffset+G.currentValueTotalHeight)})}function P(z,V,j,G,W){var X=Math.round(G*(j._stepCount-1)),Q=j._visibleSteps[X]._index;Q!==j.active&&M(z,V,j,Q,!0,W)}function M(z,V,j,G,W,X){var Q=j.active;j.active=G,c(z.layout,s.name,j).applyUpdate("active",G);var ae=j.steps[j.active];V.call(D,j,X),V.call(E,j),z.emit("plotly_sliderchange",{slider:j,step:j.steps[j.active],interaction:W,previousActive:Q}),ae&&ae.method&&W&&(V._nextMethod?(V._nextMethod.step=ae,V._nextMethod.doCallback=W,V._nextMethod.doTransition=X):(V._nextMethod={step:ae,doCallback:W,doTransition:X},V._nextMethodRaf=window.requestAnimationFrame(function(){var ie=V._nextMethod.step;ie.method&&(ie.execute&&v.executeAPICommand(z,ie.method,ie.args),V._nextMethod=null,V._nextMethodRaf=null)})))}function F(z,V,j){if(V._context.staticPlot)return;var G=j.node(),W=l.select(V);function X(){return j.data()[0]}function Q(){var ae=X();V.emit("plotly_sliderstart",{slider:ae});var ie=j.select("."+s.gripRectClass);l.event.stopPropagation(),l.event.preventDefault(),ie.call(i.fill,ae.activebgcolor);var he=U(ae,l.mouse(G)[0]);P(V,j,ae,he,!0),ae._dragging=!0;function J(){var le=X(),K=U(le,l.mouse(G)[0]);P(V,j,le,K,!1)}W.on("mousemove",J),W.on("touchmove",J);function Z(){var le=X();le._dragging=!1,ie.call(i.fill,le.bgcolor),W.on("mouseup",null),W.on("mousemove",null),W.on("touchend",null),W.on("touchmove",null),V.emit("plotly_sliderend",{slider:le,step:le.steps[le.active]})}W.on("mouseup",Z),W.on("touchend",Z)}z.on("mousedown",Q),z.on("touchstart",Q)}function N(z,V){var j=z.selectAll("rect."+s.tickRectClass).data(V._visibleSteps),G=V._dims;j.enter().append("rect").classed(s.tickRectClass,!0),j.exit().remove(),j.attr({width:V.tickwidth+"px","shape-rendering":"crispEdges"}),j.each(function(W,X){var Q=X%G.labelStride===0,ae=l.select(this);ae.attr({height:Q?V.ticklen:V.minorticklen}).call(i.fill,V.tickcolor),S.setTranslate(ae,O(V,X/(V._stepCount-1))-.5*V.tickwidth,(Q?s.tickOffset:s.minorTickOffset)+G.currentValueTotalHeight)})}function T(z){var V=z._dims;V.labelSteps=[];for(var j=z._stepCount,G=0;G<j;G+=V.labelStride)V.labelSteps.push({fraction:G/(j-1),step:z._visibleSteps[G]})}function D(z,V,j){for(var G=z.select("rect."+s.gripRectClass),W=0,X=0;X<V._stepCount;X++)if(V._visibleSteps[X]._index===V.active){W=X;break}var Q=O(V,W/(V._stepCount-1));if(!V._invokingCommand){var ae=G;j&&V.transition.duration>0&&(ae=ae.transition().duration(V.transition.duration).ease(V.transition.easing)),ae.attr("transform",p(Q-s.gripWidth*.5,V._dims.currentValueTotalHeight))}}function O(z,V){var j=z._dims;return j.inputAreaStart+s.stepInset+(j.inputAreaLength-2*s.stepInset)*Math.min(1,Math.max(0,V))}function U(z,V){var j=z._dims;return Math.min(1,Math.max(0,(V-s.stepInset-j.inputAreaStart)/(j.inputAreaLength-2*s.stepInset-2*j.inputAreaStart)))}function B(z,V,j){var G=j._dims,W=g.ensureSingle(z,"rect",s.railTouchRectClass,function(X){X.call(F,V,z,j).style("pointer-events","all")});W.attr({width:G.inputAreaLength,height:Math.max(G.inputAreaWidth,s.tickOffset+j.ticklen+G.labelHeight)}).call(i.fill,j.bgcolor).attr("opacity",0),S.setTranslate(W,0,G.currentValueTotalHeight)}function Y(z,V){var j=V._dims,G=j.inputAreaLength-s.railInset*2,W=g.ensureSingle(z,"rect",s.railRectClass);W.attr({width:G,height:s.railWidth,rx:s.railRadius,ry:s.railRadius,"shape-rendering":"crispEdges"}).call(i.stroke,V.bordercolor).call(i.fill,V.bgcolor).style("stroke-width",V.borderwidth+"px"),S.setTranslate(W,s.railInset,(j.inputAreaWidth-s.railWidth)*.5+j.currentValueTotalHeight)}},97544:function(u,h,a){var l=a(60876);u.exports={moduleType:"component",name:l.name,layoutAttributes:a(89861),supplyLayoutDefaults:a(8132),draw:a(79664)}},81668:function(u,h,a){var l=a(33428),v=a(38248),i=a(7316),S=a(24040),g=a(3400),p=g.strTranslate,_=a(43616),c=a(76308),s=a(72736),d=a(13448),f=a(84284).OPPOSITE_SIDE,b=/ [XY][0-9]* /;function x(y,C,w){var R=w.propContainer,A=w.propName,E=w.placeholder,k=w.traceIndex,L=w.avoid||{},I=w.attributes,P=w.transform,M=w.containerGroup,F=y._fullLayout,N=1,T=!1,D=R.title,O=(D&&D.text?D.text:"").trim(),U=D&&D.font?D.font:{},B=U.family,Y=U.size,z=U.color,V;A==="title.text"?V="titleText":A.indexOf("axis")!==-1?V="axisTitleText":A.indexOf("colorbar"!==-1)&&(V="colorbarTitleText");var j=y._context.edits[V];O===""?N=0:O.replace(b," % ")===E.replace(b," % ")&&(N=.2,T=!0,j||(O="")),w._meta?O=g.templateString(O,w._meta):F._meta&&(O=g.templateString(O,F._meta));var G=O||j,W;M||(M=g.ensureSingle(F._infolayer,"g","g-"+C),W=F._hColorbarMoveTitle);var X=M.selectAll("text").data(G?[0]:[]);if(X.enter().append("text"),X.text(O).attr("class",C),X.exit().remove(),!G)return M;function Q(J){g.syncOrAsync([ae,ie],J)}function ae(J){var Z;return!P&&W&&(P={}),P?(Z="",P.rotate&&(Z+="rotate("+[P.rotate,I.x,I.y]+")"),(P.offset||W)&&(Z+=p(0,(P.offset||0)-(W||0)))):Z=null,J.attr("transform",Z),J.style({"font-family":B,"font-size":l.round(Y,2)+"px",fill:c.rgb(z),opacity:N*c.opacity(z),"font-weight":i.fontWeight}).attr(I).call(s.convertToTspans,y),i.previousPromises(y)}function ie(J){var Z=l.select(J.node().parentNode);if(L&&L.selection&&L.side&&O){Z.attr("transform",null);var le=f[L.side],K=L.side==="left"||L.side==="top"?-1:1,te=v(L.pad)?L.pad:2,ce=_.bBox(Z.node()),re={t:0,b:0,l:0,r:0},ee=y._fullLayout._reservedMargin;for(var de in ee)for(var oe in ee[de]){var fe=ee[de][oe];re[oe]=Math.max(re[oe],fe)}var me={left:re.l,top:re.t,right:F.width-re.r,bottom:F.height-re.b},Te=L.maxShift||K*(me[L.side]-ce[L.side]),we=0;if(Te<0)we=Te;else{var Be=L.offsetLeft||0,Ae=L.offsetTop||0;ce.left-=Be,ce.right-=Be,ce.top-=Ae,ce.bottom-=Ae,L.selection.each(function(){var be=_.bBox(this);g.bBoxIntersect(ce,be,te)&&(we=Math.max(we,K*(be[L.side]-ce[le])+te))}),we=Math.min(Te,we),R._titleScoot=Math.abs(we)}if(we>0||Te<0){var Re={left:[-we,0],right:[we,0],top:[0,-we],bottom:[0,we]}[L.side];Z.attr("transform",p(Re[0],Re[1]))}}}X.call(Q);function he(){N=0,T=!0,X.text(E).on("mouseover.opacity",function(){l.select(this).transition().duration(d.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){l.select(this).transition().duration(d.HIDE_PLACEHOLDER).style("opacity",0)})}return j&&(O?X.on(".opacity",null):he(),X.call(s.makeEditable,{gd:y}).on("edit",function(J){k!==void 0?S.call("_guiRestyle",y,A,J,k):S.call("_guiRelayout",y,A,J)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(Q)}).on("input",function(J){this.text(J||" ").call(s.positionText,I.x,I.y)})),X.classed("js-placeholder",T),M}u.exports={draw:x}},88444:function(u,h,a){var l=a(25376),v=a(22548),i=a(92880).extendFlat,S=a(67824).overrideAll,g=a(66741),p=a(31780).templatedArray,_=p("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});u.exports=S(p("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:_,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:i(g({editType:"arraydraw"}),{}),font:l({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:v.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},73712:function(u){u.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"◄",right:"►",up:"▲",down:"▼"}}},91384:function(u,h,a){var l=a(3400),v=a(51272),i=a(88444),S=a(73712),g=S.name,p=i.buttons;u.exports=function(d,f){var b={name:g,handleItemDefaults:_};v(d,f,b)};function _(s,d,f){function b(C,w){return l.coerce(s,d,i,C,w)}var x=v(s,d,{name:"buttons",handleItemDefaults:c}),y=b("visible",x.length>0);y&&(b("active"),b("direction"),b("type"),b("showactive"),b("x"),b("y"),l.noneOrAll(s,d,["x","y"]),b("xanchor"),b("yanchor"),b("pad.t"),b("pad.r"),b("pad.b"),b("pad.l"),l.coerceFont(b,"font",f.font),b("bgcolor",f.paper_bgcolor),b("bordercolor"),b("borderwidth"))}function c(s,d){function f(x,y){return l.coerce(s,d,p,x,y)}var b=f("visible",s.method==="skip"||Array.isArray(s.args));b&&(f("method"),f("args"),f("args2"),f("label"),f("execute"))}},14420:function(u,h,a){var l=a(33428),v=a(7316),i=a(76308),S=a(43616),g=a(3400),p=a(72736),_=a(31780).arrayEditor,c=a(84284).LINE_SPACING,s=a(73712),d=a(37400);u.exports=function(U){var B=U._fullLayout,Y=g.filterVisible(B[s.name]);function z(ie){v.autoMargin(U,N(ie))}var V=B._menulayer.selectAll("g."+s.containerClassName).data(Y.length>0?[0]:[]);if(V.enter().append("g").classed(s.containerClassName,!0).style("cursor","pointer"),V.exit().each(function(){l.select(this).selectAll("g."+s.headerGroupClassName).each(z)}).remove(),Y.length!==0){var j=V.selectAll("g."+s.headerGroupClassName).data(Y,f);j.enter().append("g").classed(s.headerGroupClassName,!0);for(var G=g.ensureSingle(V,"g",s.dropdownButtonGroupClassName,function(ie){ie.style("pointer-events","all")}),W=0;W<Y.length;W++){var X=Y[W];F(U,X)}var Q="updatemenus"+B._uid,ae=new d(U,G,Q);j.enter().size()&&(G.node().parentNode.appendChild(G.node()),G.call(D)),j.exit().each(function(ie){G.call(D),z(ie)}).remove(),j.each(function(ie){var he=l.select(this),J=ie.type==="dropdown"?G:null;v.manageCommandObserver(U,ie,ie.buttons,function(Z){y(U,ie,ie.buttons[Z.index],he,J,ae,Z.index,!0)}),ie.type==="dropdown"?(C(U,he,G,ae,ie),x(G,ie)&&w(U,he,G,ae,ie)):w(U,he,null,null,ie)})}};function f(O){return O._index}function b(O){return+O.attr(s.menuIndexAttrName)==-1}function x(O,U){return+O.attr(s.menuIndexAttrName)===U._index}function y(O,U,B,Y,z,V,j,G){U.active=j,_(O.layout,s.name,U).applyUpdate("active",j),U.type==="buttons"?w(O,Y,null,null,U):U.type==="dropdown"&&(z.attr(s.menuIndexAttrName,"-1"),C(O,Y,z,V,U),G||w(O,Y,z,V,U))}function C(O,U,B,Y,z){var V=g.ensureSingle(U,"g",s.headerClassName,function(ie){ie.style("pointer-events","all")}),j=z._dims,G=z.active,W=z.buttons[G]||s.blankHeaderOpts,X={y:z.pad.t,yPad:0,x:z.pad.l,xPad:0,index:0},Q={width:j.headerWidth,height:j.headerHeight};V.call(E,z,W,O).call(T,z,X,Q);var ae=g.ensureSingle(U,"text",s.headerArrowClassName,function(ie){ie.attr("text-anchor","end").call(S.font,z.font).text(s.arrowSymbol[z.direction])});ae.attr({x:j.headerWidth-s.arrowOffsetX+z.pad.l,y:j.headerHeight/2+s.textOffsetY+z.pad.t}),V.on("click",function(){B.call(D,String(x(B,z)?-1:z._index)),w(O,U,B,Y,z)}),V.on("mouseover",function(){V.call(P)}),V.on("mouseout",function(){V.call(M,z)}),S.setTranslate(U,j.lx,j.ly)}function w(O,U,B,Y,z){B||(B=U,B.attr("pointer-events","all"));var V=!b(B)||z.type==="buttons"?z.buttons:[],j=z.type==="dropdown"?s.dropdownButtonClassName:s.buttonClassName,G=B.selectAll("g."+j).data(g.filterVisible(V)),W=G.enter().append("g").classed(j,!0),X=G.exit();z.type==="dropdown"?(W.attr("opacity","0").transition().attr("opacity","1"),X.transition().attr("opacity","0").remove()):X.remove();var Q=0,ae=0,ie=z._dims,he=["up","down"].indexOf(z.direction)!==-1;z.type==="dropdown"&&(he?ae=ie.headerHeight+s.gapButtonHeader:Q=ie.headerWidth+s.gapButtonHeader),z.type==="dropdown"&&z.direction==="up"&&(ae=-s.gapButtonHeader+s.gapButton-ie.openHeight),z.type==="dropdown"&&z.direction==="left"&&(Q=-s.gapButtonHeader+s.gapButton-ie.openWidth);var J={x:ie.lx+Q+z.pad.l,y:ie.ly+ae+z.pad.t,yPad:s.gapButton,xPad:s.gapButton,index:0},Z={l:J.x+z.borderwidth,t:J.y+z.borderwidth};G.each(function(le,K){var te=l.select(this);te.call(E,z,le,O).call(T,z,J),te.on("click",function(){l.event.defaultPrevented||(le.execute&&(le.args2&&z.active===K?(y(O,z,le,U,B,Y,-1),v.executeAPICommand(O,le.method,le.args2)):(y(O,z,le,U,B,Y,K),v.executeAPICommand(O,le.method,le.args))),O.emit("plotly_buttonclicked",{menu:z,button:le,active:z.active}))}),te.on("mouseover",function(){te.call(P)}),te.on("mouseout",function(){te.call(M,z),G.call(I,z)})}),G.call(I,z),he?(Z.w=Math.max(ie.openWidth,ie.headerWidth),Z.h=J.y-Z.t):(Z.w=J.x-Z.l,Z.h=Math.max(ie.openHeight,ie.headerHeight)),Z.direction=z.direction,Y&&(G.size()?R(O,U,B,Y,z,Z):A(Y))}function R(O,U,B,Y,z,V){var j=z.direction,G=j==="up"||j==="down",W=z._dims,X=z.active,Q,ae,ie;if(G)for(ae=0,ie=0;ie<X;ie++)ae+=W.heights[ie]+s.gapButton;else for(Q=0,ie=0;ie<X;ie++)Q+=W.widths[ie]+s.gapButton;Y.enable(V,Q,ae),Y.hbar&&Y.hbar.attr("opacity","0").transition().attr("opacity","1"),Y.vbar&&Y.vbar.attr("opacity","0").transition().attr("opacity","1")}function A(O){var U=!!O.hbar,B=!!O.vbar;U&&O.hbar.transition().attr("opacity","0").each("end",function(){U=!1,B||O.disable()}),B&&O.vbar.transition().attr("opacity","0").each("end",function(){B=!1,U||O.disable()})}function E(O,U,B,Y){O.call(k,U).call(L,U,B,Y)}function k(O,U){var B=g.ensureSingle(O,"rect",s.itemRectClassName,function(Y){Y.attr({rx:s.rx,ry:s.ry,"shape-rendering":"crispEdges"})});B.call(i.stroke,U.bordercolor).call(i.fill,U.bgcolor).style("stroke-width",U.borderwidth+"px")}function L(O,U,B,Y){var z=g.ensureSingle(O,"text",s.itemTextClassName,function(G){G.attr({"text-anchor":"start","data-notex":1})}),V=B.label,j=Y._fullLayout._meta;j&&(V=g.templateString(V,j)),z.call(S.font,U.font).text(V).call(p.convertToTspans,Y)}function I(O,U){var B=U.active;O.each(function(Y,z){var V=l.select(this);z===B&&U.showactive&&V.select("rect."+s.itemRectClassName).call(i.fill,s.activeColor)})}function P(O){O.select("rect."+s.itemRectClassName).call(i.fill,s.hoverColor)}function M(O,U){O.select("rect."+s.itemRectClassName).call(i.fill,U.bgcolor)}function F(O,U){var B=U._dims={width1:0,height1:0,heights:[],widths:[],totalWidth:0,totalHeight:0,openWidth:0,openHeight:0,lx:0,ly:0},Y=S.tester.selectAll("g."+s.dropdownButtonClassName).data(g.filterVisible(U.buttons));Y.enter().append("g").classed(s.dropdownButtonClassName,!0);var z=["up","down"].indexOf(U.direction)!==-1;Y.each(function(Q,ae){var ie=l.select(this);ie.call(E,U,Q,O);var he=ie.select("."+s.itemTextClassName),J=he.node()&&S.bBox(he.node()).width,Z=Math.max(J+s.textPadX,s.minWidth),le=U.font.size*c,K=p.lineCount(he),te=Math.max(le*K,s.minHeight)+s.textOffsetY;te=Math.ceil(te),Z=Math.ceil(Z),B.widths[ae]=Z,B.heights[ae]=te,B.height1=Math.max(B.height1,te),B.width1=Math.max(B.width1,Z),z?(B.totalWidth=Math.max(B.totalWidth,Z),B.openWidth=B.totalWidth,B.totalHeight+=te+s.gapButton,B.openHeight+=te+s.gapButton):(B.totalWidth+=Z+s.gapButton,B.openWidth+=Z+s.gapButton,B.totalHeight=Math.max(B.totalHeight,te),B.openHeight=B.totalHeight)}),z?B.totalHeight-=s.gapButton:B.totalWidth-=s.gapButton,B.headerWidth=B.width1+s.arrowPadX,B.headerHeight=B.height1,U.type==="dropdown"&&(z?(B.width1+=s.arrowPadX,B.totalHeight=B.height1):B.totalWidth=B.width1,B.totalWidth+=s.arrowPadX),Y.remove();var V=B.totalWidth+U.pad.l+U.pad.r,j=B.totalHeight+U.pad.t+U.pad.b,G=O._fullLayout._size;B.lx=G.l+G.w*U.x,B.ly=G.t+G.h*(1-U.y);var W="left";g.isRightAnchor(U)&&(B.lx-=V,W="right"),g.isCenterAnchor(U)&&(B.lx-=V/2,W="center");var X="top";g.isBottomAnchor(U)&&(B.ly-=j,X="bottom"),g.isMiddleAnchor(U)&&(B.ly-=j/2,X="middle"),B.totalWidth=Math.ceil(B.totalWidth),B.totalHeight=Math.ceil(B.totalHeight),B.lx=Math.round(B.lx),B.ly=Math.round(B.ly),v.autoMargin(O,N(U),{x:U.x,y:U.y,l:V*({right:1,center:.5}[W]||0),r:V*({left:1,center:.5}[W]||0),b:j*({top:1,middle:.5}[X]||0),t:j*({bottom:1,middle:.5}[X]||0)})}function N(O){return s.autoMarginIdRoot+O._index}function T(O,U,B,Y){Y=Y||{};var z=O.select("."+s.itemRectClassName),V=O.select("."+s.itemTextClassName),j=U.borderwidth,G=B.index,W=U._dims;S.setTranslate(O,j+B.x,j+B.y);var X=["up","down"].indexOf(U.direction)!==-1,Q=Y.height||(X?W.heights[G]:W.height1);z.attr({x:0,y:0,width:Y.width||(X?W.width1:W.widths[G]),height:Q});var ae=U.font.size*c,ie=p.lineCount(V),he=(ie-1)*ae/2;p.positionText(V,s.textOffsetX,Q/2-he+s.textOffsetY),X?B.y+=W.heights[G]+B.yPad:B.x+=W.widths[G]+B.xPad,B.index++}function D(O,U){O.attr(s.menuIndexAttrName,U||"-1").selectAll("g."+s.dropdownButtonClassName).remove()}},76908:function(u,h,a){var l=a(73712);u.exports={moduleType:"component",name:l.name,layoutAttributes:a(88444),supplyLayoutDefaults:a(91384),draw:a(14420)}},37400:function(u,h,a){u.exports=g;var l=a(33428),v=a(76308),i=a(43616),S=a(3400);function g(p,_,c){this.gd=p,this.container=_,this.id=c,this.position=null,this.translateX=null,this.translateY=null,this.hbar=null,this.vbar=null,this.bg=this.container.selectAll("rect.scrollbox-bg").data([0]),this.bg.exit().on(".drag",null).on("wheel",null).remove(),this.bg.enter().append("rect").classed("scrollbox-bg",!0).style("pointer-events","all").attr({opacity:0,x:0,y:0,width:0,height:0})}g.barWidth=2,g.barLength=20,g.barRadius=2,g.barPad=1,g.barColor="#808BA4",g.prototype.enable=function(_,c,s){var d=this.gd._fullLayout,f=d.width,b=d.height;this.position=_;var x=this.position.l,y=this.position.w,C=this.position.t,w=this.position.h,R=this.position.direction,A=R==="down",E=R==="left",k=R==="right",L=R==="up",I=y,P=w,M,F,N,T;!A&&!E&&!k&&!L&&(this.position.direction="down",A=!0);var D=A||L;D?(M=x,F=M+I,A?(N=C,T=Math.min(N+P,b),P=T-N):(T=C+P,N=Math.max(T-P,0),P=T-N)):(N=C,T=N+P,E?(F=x+I,M=Math.max(F-I,0),I=F-M):(M=x,F=Math.min(M+I,f),I=F-M)),this._box={l:M,t:N,w:I,h:P};var O=y>I,U=g.barLength+2*g.barPad,B=g.barWidth+2*g.barPad,Y=x,z=C+w;z+B>b&&(z=b-B);var V=this.container.selectAll("rect.scrollbar-horizontal").data(O?[0]:[]);V.exit().on(".drag",null).remove(),V.enter().append("rect").classed("scrollbar-horizontal",!0).call(v.fill,g.barColor),O?(this.hbar=V.attr({rx:g.barRadius,ry:g.barRadius,x:Y,y:z,width:U,height:B}),this._hbarXMin=Y+U/2,this._hbarTranslateMax=I-U):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var j=w>P,G=g.barWidth+2*g.barPad,W=g.barLength+2*g.barPad,X=x+y,Q=C;X+G>f&&(X=f-G);var ae=this.container.selectAll("rect.scrollbar-vertical").data(j?[0]:[]);ae.exit().on(".drag",null).remove(),ae.enter().append("rect").classed("scrollbar-vertical",!0).call(v.fill,g.barColor),j?(this.vbar=ae.attr({rx:g.barRadius,ry:g.barRadius,x:X,y:Q,width:G,height:W}),this._vbarYMin=Q+W/2,this._vbarTranslateMax=P-W):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var ie=this.id,he=M-.5,J=j?F+G+.5:F+.5,Z=N-.5,le=O?T+B+.5:T+.5,K=d._topdefs.selectAll("#"+ie).data(O||j?[0]:[]);if(K.exit().remove(),K.enter().append("clipPath").attr("id",ie).append("rect"),O||j?(this._clipRect=K.select("rect").attr({x:Math.floor(he),y:Math.floor(Z),width:Math.ceil(J)-Math.floor(he),height:Math.ceil(le)-Math.floor(Z)}),this.container.call(i.setClipUrl,ie,this.gd),this.bg.attr({x,y:C,width:y,height:w})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),O||j){var te=l.behavior.drag().on("dragstart",function(){l.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(te);var ce=l.behavior.drag().on("dragstart",function(){l.event.sourceEvent.preventDefault(),l.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));O&&this.hbar.on(".drag",null).call(ce),j&&this.vbar.on(".drag",null).call(ce)}this.setTranslate(c,s)},g.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},g.prototype._onBoxDrag=function(){var _=this.translateX,c=this.translateY;this.hbar&&(_-=l.event.dx),this.vbar&&(c-=l.event.dy),this.setTranslate(_,c)},g.prototype._onBoxWheel=function(){var _=this.translateX,c=this.translateY;this.hbar&&(_+=l.event.deltaY),this.vbar&&(c+=l.event.deltaY),this.setTranslate(_,c)},g.prototype._onBarDrag=function(){var _=this.translateX,c=this.translateY;if(this.hbar){var s=_+this._hbarXMin,d=s+this._hbarTranslateMax,f=S.constrain(l.event.x,s,d),b=(f-s)/(d-s),x=this.position.w-this._box.w;_=b*x}if(this.vbar){var y=c+this._vbarYMin,C=y+this._vbarTranslateMax,w=S.constrain(l.event.y,y,C),R=(w-y)/(C-y),A=this.position.h-this._box.h;c=R*A}this.setTranslate(_,c)},g.prototype.setTranslate=function(_,c){var s=this.position.w-this._box.w,d=this.position.h-this._box.h;if(_=S.constrain(_||0,0,s),c=S.constrain(c||0,0,d),this.translateX=_,this.translateY=c,this.container.call(i.setTranslate,this._box.l-this.position.l-_,this._box.t-this.position.t-c),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+_-.5),y:Math.floor(this.position.t+c-.5)}),this.hbar){var f=_/s;this.hbar.call(i.setTranslate,_+f*this._hbarTranslateMax,c)}if(this.vbar){var b=c/d;this.vbar.call(i.setTranslate,_,c+b*this._vbarTranslateMax)}}},84284:function(u){u.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},36208:function(u){u.exports={axisRefDescription:function(h,a,l){return["If set to a",h,"axis id (e.g. *"+h+"* or","*"+h+"2*), the `"+h+"` position refers to a",h,"coordinate. If set to *paper*, the `"+h+"`","position refers to the distance from the",a,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",a,"("+l+"). If set to a",h,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",a,"of the domain of that axis: e.g.,","*"+h+"2 domain* refers to the domain of the second",h," axis and a",h,"position of 0.5 refers to the","point between the",a,"and the",l,"of the domain of the","second",h,"axis."].join(" ")}}},48164:function(u){u.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},26880:function(u){u.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},69104:function(u){u.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},99168:function(u){u.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87792:function(u){u.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},13448:function(u){u.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},39032:function(u){u.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE*1e-4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:""}},2264:function(u,h){h.CSS_DECLARATIONS=[["image-rendering","optimizeSpeed"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-crisp-edges"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","optimize-contrast"],["image-rendering","crisp-edges"],["image-rendering","pixelated"]],h.STYLE=h.CSS_DECLARATIONS.map(function(a){return a.join(": ")+"; "}).join("")},9616:function(u,h){h.xmlns="http://www.w3.org/2000/xmlns/",h.svg="http://www.w3.org/2000/svg",h.xlink="http://www.w3.org/1999/xlink",h.svgAttrs={xmlns:h.svg,"xmlns:xlink":h.xlink}},64884:function(u,h,a){h.version=a(25788).version,a(88324),a(79288);for(var l=a(24040),v=h.register=l.register,i=a(22448),S=Object.keys(i),g=0;g<S.length;g++){var p=S[g];p.charAt(0)!=="_"&&(h[p]=i[p]),v({moduleType:"apiMethod",name:p,fn:i[p]})}v(a(65875)),v([a(79180),a(56864),a(22676),a(41592),a(7402),a(76908),a(97544),a(49692),a(41152),a(12704),a(64968),a(8932),a(55080),a(2780),a(93024),a(45460)]),v([a(6580),a(11680)]),window.PlotlyLocales&&Array.isArray(window.PlotlyLocales)&&(v(window.PlotlyLocales),delete window.PlotlyLocales),h.Icons=a(9224);var _=a(93024),c=a(7316);h.Plots={resize:c.resize,graphJson:c.graphJson,sendDataToCloud:c.sendDataToCloud},h.Fx={hover:_.hover,unhover:_.unhover,loneHover:_.loneHover,loneUnhover:_.loneUnhover},h.Snapshot=a(78904),h.PlotSchema=a(73060)},9224:function(u){u.exports={undo:{width:857.1,height:1e3,path:"m857 350q0-87-34-166t-91-137-137-92-166-34q-96 0-183 41t-147 114q-4 6-4 13t5 11l76 77q6 5 14 5 9-1 13-7 41-53 100-82t126-29q58 0 110 23t92 61 61 91 22 111-22 111-61 91-92 61-110 23q-55 0-105-20t-90-57l77-77q17-16 8-38-10-23-33-23h-250q-15 0-25 11t-11 25v250q0 24 22 33 22 10 39-8l72-72q60 57 137 88t159 31q87 0 166-34t137-92 91-137 34-166z",transform:"matrix(1 0 0 -1 0 850)"},home:{width:928.6,height:1e3,path:"m786 296v-267q0-15-11-26t-25-10h-214v214h-143v-214h-214q-15 0-25 10t-11 26v267q0 1 0 2t0 2l321 264 321-264q1-1 1-4z m124 39l-34-41q-5-5-12-6h-2q-7 0-12 3l-386 322-386-322q-7-4-13-4-7 2-12 7l-35 41q-4 5-3 13t6 12l401 334q18 15 42 15t43-15l136-114v109q0 8 5 13t13 5h107q8 0 13-5t5-13v-227l122-102q5-5 6-12t-4-13z",transform:"matrix(1 0 0 -1 0 850)"},"camera-retro":{width:1e3,height:1e3,path:"m518 386q0 8-5 13t-13 5q-37 0-63-27t-26-63q0-8 5-13t13-5 12 5 5 13q0 23 16 38t38 16q8 0 13 5t5 13z m125-73q0-59-42-101t-101-42-101 42-42 101 42 101 101 42 101-42 42-101z m-572-320h858v71h-858v-71z m643 320q0 89-62 152t-152 62-151-62-63-152 63-151 151-63 152 63 62 151z m-571 358h214v72h-214v-72z m-72-107h858v143h-462l-36-71h-360v-72z m929 143v-714q0-30-21-51t-50-21h-858q-29 0-50 21t-21 51v714q0 30 21 51t50 21h858q29 0 50-21t21-51z",transform:"matrix(1 0 0 -1 0 850)"},zoombox:{width:1e3,height:1e3,path:"m1000-25l-250 251c40 63 63 138 63 218 0 224-182 406-407 406-224 0-406-182-406-406s183-406 407-406c80 0 155 22 218 62l250-250 125 125z m-812 250l0 438 437 0 0-438-437 0z m62 375l313 0 0-312-313 0 0 312z",transform:"matrix(1 0 0 -1 0 850)"},pan:{width:1e3,height:1e3,path:"m1000 350l-187 188 0-125-250 0 0 250 125 0-188 187-187-187 125 0 0-250-250 0 0 125-188-188 186-187 0 125 252 0 0-250-125 0 187-188 188 188-125 0 0 250 250 0 0-126 187 188z",transform:"matrix(1 0 0 -1 0 850)"},zoom_plus:{width:875,height:1e3,path:"m1 787l0-875 875 0 0 875-875 0z m687-500l-187 0 0-187-125 0 0 187-188 0 0 125 188 0 0 187 125 0 0-187 187 0 0-125z",transform:"matrix(1 0 0 -1 0 850)"},zoom_minus:{width:875,height:1e3,path:"m0 788l0-876 875 0 0 876-875 0z m688-500l-500 0 0 125 500 0 0-125z",transform:"matrix(1 0 0 -1 0 850)"},autoscale:{width:1e3,height:1e3,path:"m250 850l-187 0-63 0 0-62 0-188 63 0 0 188 187 0 0 62z m688 0l-188 0 0-62 188 0 0-188 62 0 0 188 0 62-62 0z m-875-938l0 188-63 0 0-188 0-62 63 0 187 0 0 62-187 0z m875 188l0-188-188 0 0-62 188 0 62 0 0 62 0 188-62 0z m-125 188l-1 0-93-94-156 156 156 156 92-93 2 0 0 250-250 0 0-2 93-92-156-156-156 156 94 92 0 2-250 0 0-250 0 0 93 93 157-156-157-156-93 94 0 0 0-250 250 0 0 0-94 93 156 157 156-157-93-93 0 0 250 0 0 250z",transform:"matrix(1 0 0 -1 0 850)"},tooltip_basic:{width:1500,height:1e3,path:"m375 725l0 0-375-375 375-374 0-1 1125 0 0 750-1125 0z",transform:"matrix(1 0 0 -1 0 850)"},tooltip_compare:{width:1125,height:1e3,path:"m187 786l0 2-187-188 188-187 0 0 937 0 0 373-938 0z m0-499l0 1-187-188 188-188 0 0 937 0 0 376-938-1z",transform:"matrix(1 0 0 -1 0 850)"},plotlylogo:{width:1542,height:1e3,path:"m0-10h182v-140h-182v140z m228 146h183v-286h-183v286z m225 714h182v-1000h-182v1000z m225-285h182v-715h-182v715z m225 142h183v-857h-183v857z m231-428h182v-429h-182v429z m225-291h183v-138h-183v138z",transform:"matrix(1 0 0 -1 0 850)"},"z-axis":{width:1e3,height:1e3,path:"m833 5l-17 108v41l-130-65 130-66c0 0 0 38 0 39 0-1 36-14 39-25 4-15-6-22-16-30-15-12-39-16-56-20-90-22-187-23-279-23-261 0-341 34-353 59 3 60 228 110 228 110-140-8-351-35-351-116 0-120 293-142 474-142 155 0 477 22 477 142 0 50-74 79-163 96z m-374 94c-58-5-99-21-99-40 0-24 65-43 144-43 79 0 143 19 143 43 0 19-42 34-98 40v216h87l-132 135-133-135h88v-216z m167 515h-136v1c16 16 31 34 46 52l84 109v54h-230v-71h124v-1c-16-17-28-32-44-51l-89-114v-51h245v72z",transform:"matrix(1 0 0 -1 0 850)"},"3d_rotate":{width:1e3,height:1e3,path:"m922 660c-5 4-9 7-14 11-359 263-580-31-580-31l-102 28 58-400c0 1 1 1 2 2 118 108 351 249 351 249s-62 27-100 42c88 83 222 183 347 122 16-8 30-17 44-27-2 1-4 2-6 4z m36-329c0 0 64 229-88 296-62 27-124 14-175-11 157-78 225-208 249-266 8-19 11-31 11-31 2 5 6 15 11 32-5-13-8-20-8-20z m-775-239c70-31 117-50 198-32-121 80-199 346-199 346l-96-15-58-12c0 0 55-226 155-287z m603 133l-317-139c0 0 4-4 19-14 7-5 24-15 24-15s-177-147-389 4c235-287 536-112 536-112l31-22 100 299-4-1z m-298-153c6-4 14-9 24-15 0 0-17 10-24 15z",transform:"matrix(1 0 0 -1 0 850)"},camera:{width:1e3,height:1e3,path:"m500 450c-83 0-150-67-150-150 0-83 67-150 150-150 83 0 150 67 150 150 0 83-67 150-150 150z m400 150h-120c-16 0-34 13-39 29l-31 93c-6 15-23 28-40 28h-340c-16 0-34-13-39-28l-31-94c-6-15-23-28-40-28h-120c-55 0-100-45-100-100v-450c0-55 45-100 100-100h800c55 0 100 45 100 100v450c0 55-45 100-100 100z m-400-550c-138 0-250 112-250 250 0 138 112 250 250 250 138 0 250-112 250-250 0-138-112-250-250-250z m365 380c-19 0-35 16-35 35 0 19 16 35 35 35 19 0 35-16 35-35 0-19-16-35-35-35z",transform:"matrix(1 0 0 -1 0 850)"},movie:{width:1e3,height:1e3,path:"m938 413l-188-125c0 37-17 71-44 94 64 38 107 107 107 187 0 121-98 219-219 219-121 0-219-98-219-219 0-61 25-117 66-156h-115c30 33 49 76 49 125 0 103-84 187-187 187s-188-84-188-187c0-57 26-107 65-141-38-22-65-62-65-109v-250c0-70 56-126 125-126h500c69 0 125 56 125 126l188-126c34 0 62 28 62 63v375c0 35-28 63-62 63z m-750 0c-69 0-125 56-125 125s56 125 125 125 125-56 125-125-56-125-125-125z m406-1c-87 0-157 70-157 157 0 86 70 156 157 156s156-70 156-156-70-157-156-157z",transform:"matrix(1 0 0 -1 0 850)"},question:{width:857.1,height:1e3,path:"m500 82v107q0 8-5 13t-13 5h-107q-8 0-13-5t-5-13v-107q0-8 5-13t13-5h107q8 0 13 5t5 13z m143 375q0 49-31 91t-77 65-95 23q-136 0-207-119-9-14 4-24l74-55q4-4 10-4 9 0 14 7 30 38 48 51 19 14 48 14 27 0 48-15t21-33q0-21-11-34t-38-25q-35-16-65-48t-29-70v-20q0-8 5-13t13-5h107q8 0 13 5t5 13q0 10 12 27t30 28q18 10 28 16t25 19 25 27 16 34 7 45z m214-107q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z",transform:"matrix(1 0 0 -1 0 850)"},disk:{width:857.1,height:1e3,path:"m214-7h429v214h-429v-214z m500 0h72v500q0 8-6 21t-11 20l-157 156q-5 6-19 12t-22 5v-232q0-22-15-38t-38-16h-322q-22 0-37 16t-16 38v232h-72v-714h72v232q0 22 16 38t37 16h465q22 0 38-16t15-38v-232z m-214 518v178q0 8-5 13t-13 5h-107q-7 0-13-5t-5-13v-178q0-8 5-13t13-5h107q7 0 13 5t5 13z m357-18v-518q0-22-15-38t-38-16h-750q-23 0-38 16t-16 38v750q0 22 16 38t38 16h517q23 0 50-12t42-26l156-157q16-15 27-42t11-49z",transform:"matrix(1 0 0 -1 0 850)"},drawopenpath:{width:70,height:70,path:"M33.21,85.65a7.31,7.31,0,0,1-2.59-.48c-8.16-3.11-9.27-19.8-9.88-41.3-.1-3.58-.19-6.68-.35-9-.15-2.1-.67-3.48-1.43-3.79-2.13-.88-7.91,2.32-12,5.86L3,32.38c1.87-1.64,11.55-9.66,18.27-6.9,2.13.87,4.75,3.14,5.17,9,.17,2.43.26,5.59.36,9.25a224.17,224.17,0,0,0,1.5,23.4c1.54,10.76,4,12.22,4.48,12.4.84.32,2.79-.46,5.76-3.59L43,80.07C41.53,81.57,37.68,85.64,33.21,85.65ZM74.81,69a11.34,11.34,0,0,0,6.09-6.72L87.26,44.5,74.72,32,56.9,38.35c-2.37.86-5.57,3.42-6.61,6L38.65,72.14l8.42,8.43ZM55,46.27a7.91,7.91,0,0,1,3.64-3.17l14.8-5.3,8,8L76.11,60.6l-.06.19a6.37,6.37,0,0,1-3,3.43L48.25,74.59,44.62,71Zm16.57,7.82A6.9,6.9,0,1,0,64.64,61,6.91,6.91,0,0,0,71.54,54.09Zm-4.05,0a2.85,2.85,0,1,1-2.85-2.85A2.86,2.86,0,0,1,67.49,54.09Zm-4.13,5.22L60.5,56.45,44.26,72.7l2.86,2.86ZM97.83,35.67,84.14,22l-8.57,8.57L89.26,44.24Zm-13.69-8,8,8-2.85,2.85-8-8Z",transform:"matrix(1 0 0 1 -15 -15)"},drawclosedpath:{width:90,height:90,path:"M88.41,21.12a26.56,26.56,0,0,0-36.18,0l-2.07,2-2.07-2a26.57,26.57,0,0,0-36.18,0,23.74,23.74,0,0,0,0,34.8L48,90.12a3.22,3.22,0,0,0,4.42,0l36-34.21a23.73,23.73,0,0,0,0-34.79ZM84,51.24,50.16,83.35,16.35,51.25a17.28,17.28,0,0,1,0-25.47,20,20,0,0,1,27.3,0l4.29,4.07a3.23,3.23,0,0,0,4.44,0l4.29-4.07a20,20,0,0,1,27.3,0,17.27,17.27,0,0,1,0,25.46ZM66.76,47.68h-33v6.91h33ZM53.35,35H46.44V68h6.91Z",transform:"matrix(1 0 0 1 -5 -5)"},lasso:{width:1031,height:1e3,path:"m1018 538c-36 207-290 336-568 286-277-48-473-256-436-463 10-57 36-108 76-151-13-66 11-137 68-183 34-28 75-41 114-42l-55-70 0 0c-2-1-3-2-4-3-10-14-8-34 5-45 14-11 34-8 45 4 1 1 2 3 2 5l0 0 113 140c16 11 31 24 45 40 4 3 6 7 8 11 48-3 100 0 151 9 278 48 473 255 436 462z m-624-379c-80 14-149 48-197 96 42 42 109 47 156 9 33-26 47-66 41-105z m-187-74c-19 16-33 37-39 60 50-32 109-55 174-68-42-25-95-24-135 8z m360 75c-34-7-69-9-102-8 8 62-16 128-68 170-73 59-175 54-244-5-9 20-16 40-20 61-28 159 121 317 333 354s407-60 434-217c28-159-121-318-333-355z",transform:"matrix(1 0 0 -1 0 850)"},selectbox:{width:1e3,height:1e3,path:"m0 850l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-285l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z",transform:"matrix(1 0 0 -1 0 850)"},drawline:{width:70,height:70,path:"M60.64,62.3a11.29,11.29,0,0,0,6.09-6.72l6.35-17.72L60.54,25.31l-17.82,6.4c-2.36.86-5.57,3.41-6.6,6L24.48,65.5l8.42,8.42ZM40.79,39.63a7.89,7.89,0,0,1,3.65-3.17l14.79-5.31,8,8L61.94,54l-.06.19a6.44,6.44,0,0,1-3,3.43L34.07,68l-3.62-3.63Zm16.57,7.81a6.9,6.9,0,1,0-6.89,6.9A6.9,6.9,0,0,0,57.36,47.44Zm-4,0a2.86,2.86,0,1,1-2.85-2.85A2.86,2.86,0,0,1,53.32,47.44Zm-4.13,5.22L46.33,49.8,30.08,66.05l2.86,2.86ZM83.65,29,70,15.34,61.4,23.9,75.09,37.59ZM70,21.06l8,8-2.84,2.85-8-8ZM87,80.49H10.67V87H87Z",transform:"matrix(1 0 0 1 -15 -15)"},drawrect:{width:80,height:80,path:"M78,22V79H21V22H78m9-9H12V88H87V13ZM68,46.22H31V54H68ZM53,32H45.22V69H53Z",transform:"matrix(1 0 0 1 -10 -10)"},drawcircle:{width:80,height:80,path:"M50,84.72C26.84,84.72,8,69.28,8,50.3S26.84,15.87,50,15.87,92,31.31,92,50.3,73.16,84.72,50,84.72Zm0-60.59c-18.6,0-33.74,11.74-33.74,26.17S31.4,76.46,50,76.46,83.74,64.72,83.74,50.3,68.6,24.13,50,24.13Zm17.15,22h-34v7.11h34Zm-13.8-13H46.24v34h7.11Z",transform:"matrix(1 0 0 1 -10 -10)"},eraseshape:{width:80,height:80,path:"M82.77,78H31.85L6,49.57,31.85,21.14H82.77a8.72,8.72,0,0,1,8.65,8.77V69.24A8.72,8.72,0,0,1,82.77,78ZM35.46,69.84H82.77a.57.57,0,0,0,.49-.6V29.91a.57.57,0,0,0-.49-.61H35.46L17,49.57Zm32.68-34.7-24,24,5,5,24-24Zm-19,.53-5,5,24,24,5-5Z",transform:"matrix(1 0 0 1 -10 -10)"},spikeline:{width:1e3,height:1e3,path:"M512 409c0-57-46-104-103-104-57 0-104 47-104 104 0 57 47 103 104 103 57 0 103-46 103-103z m-327-39l92 0 0 92-92 0z m-185 0l92 0 0 92-92 0z m370-186l92 0 0 93-92 0z m0-184l92 0 0 92-92 0z",transform:"matrix(1.5 0 0 -1.5 0 850)"},pencil:{width:1792,height:1792,path:"M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z",transform:"matrix(1 0 0 1 0 1)"},newplotlylogo:{name:"newplotlylogo",svg:["<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 132'>","<defs>"," <style>"," .cls-0{fill:#000;}"," .cls-1{fill:#FFF;}"," .cls-2{fill:#F26;}"," .cls-3{fill:#D69;}"," .cls-4{fill:#BAC;}"," .cls-5{fill:#9EF;}"," </style>","</defs>"," <title>plotly-logomark</title>"," <g id='symbol'>"," <rect class='cls-0' x='0' y='0' width='132' height='132' rx='18' ry='18'/>"," <circle class='cls-5' cx='102' cy='30' r='6'/>"," <circle class='cls-4' cx='78' cy='30' r='6'/>"," <circle class='cls-4' cx='78' cy='54' r='6'/>"," <circle class='cls-3' cx='54' cy='30' r='6'/>"," <circle class='cls-2' cx='30' cy='30' r='6'/>"," <circle class='cls-2' cx='30' cy='54' r='6'/>"," <path class='cls-1' d='M30,72a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V78A6,6,0,0,0,30,72Z'/>"," <path class='cls-1' d='M78,72a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V78A6,6,0,0,0,78,72Z'/>"," <path class='cls-1' d='M54,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,54,48Z'/>"," <path class='cls-1' d='M102,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,102,48Z'/>"," </g>","</svg>"].join("")}}},98308:function(u,h){h.isLeftAnchor=function(l){return l.xanchor==="left"||l.xanchor==="auto"&&l.x<=.3333333333333333},h.isCenterAnchor=function(l){return l.xanchor==="center"||l.xanchor==="auto"&&l.x>.3333333333333333&&l.x<.6666666666666666},h.isRightAnchor=function(l){return l.xanchor==="right"||l.xanchor==="auto"&&l.x>=.6666666666666666},h.isTopAnchor=function(l){return l.yanchor==="top"||l.yanchor==="auto"&&l.y>=.6666666666666666},h.isMiddleAnchor=function(l){return l.yanchor==="middle"||l.yanchor==="auto"&&l.y>.3333333333333333&&l.y<.6666666666666666},h.isBottomAnchor=function(l){return l.yanchor==="bottom"||l.yanchor==="auto"&&l.y<=.3333333333333333}},11864:function(u,h,a){var l=a(20435),v=l.mod,i=l.modHalf,S=Math.PI,g=2*S;function p(R){return R/180*S}function _(R){return R/S*180}function c(R){return Math.abs(R[1]-R[0])>g-1e-14}function s(R,A){return i(A-R,g)}function d(R,A){return Math.abs(s(R,A))}function f(R,A){if(c(A))return!0;var E,k;A[0]<A[1]?(E=A[0],k=A[1]):(E=A[1],k=A[0]),E=v(E,g),k=v(k,g),E>k&&(k+=g);var L=v(R,g),I=L+g;return L>=E&&L<=k||I>=E&&I<=k}function b(R,A,E,k){if(!f(A,k))return!1;var L,I;return E[0]<E[1]?(L=E[0],I=E[1]):(L=E[1],I=E[0]),R>=L&&R<=I}function x(R,A,E,k,L,I,P){L=L||0,I=I||0;var M=c([E,k]),F,N,T,D,O;M?(F=0,N=S,T=g):E<k?(F=E,T=k):(F=k,T=E),R<A?(D=R,O=A):(D=A,O=R);function U(V,j){return[V*Math.cos(j)+L,I-V*Math.sin(j)]}var B=Math.abs(T-F)<=S?0:1;function Y(V,j,G){return"A"+[V,V]+" "+[0,B,G]+" "+U(V,j)}var z;return M?D===null?z="M"+U(O,F)+Y(O,N,0)+Y(O,T,0)+"Z":z="M"+U(D,F)+Y(D,N,0)+Y(D,T,0)+"ZM"+U(O,F)+Y(O,N,1)+Y(O,T,1)+"Z":D===null?(z="M"+U(O,F)+Y(O,T,0),P&&(z+="L0,0Z")):z="M"+U(D,F)+"L"+U(O,F)+Y(O,T,0)+"L"+U(D,T)+Y(D,F,1)+"Z",z}function y(R,A,E,k,L){return x(null,R,A,E,k,L,0)}function C(R,A,E,k,L){return x(null,R,A,E,k,L,1)}function w(R,A,E,k,L,I){return x(R,A,E,k,L,I,1)}u.exports={deg2rad:p,rad2deg:_,angleDelta:s,angleDist:d,isFullCircle:c,isAngleInsideSector:f,isPtInsideSector:b,pathArc:y,pathSector:C,pathAnnulus:w}},38116:function(u,h,a){var l=a(83160).decode,v=a(63620),i=Array.isArray,S=ArrayBuffer,g=DataView;function p(x){return S.isView(x)&&!(x instanceof g)}h.isTypedArray=p;function _(x){return i(x)||p(x)}h.isArrayOrTypedArray=_;function c(x){return!_(x[0])}h.isArray1D=c,h.ensureArray=function(x,y){return i(x)||(x=[]),x.length=y,x};var s={u1c:typeof Uint8ClampedArray>"u"?void 0:Uint8ClampedArray,i1:typeof Int8Array>"u"?void 0:Int8Array,u1:typeof Uint8Array>"u"?void 0:Uint8Array,i2:typeof Int16Array>"u"?void 0:Int16Array,u2:typeof Uint16Array>"u"?void 0:Uint16Array,i4:typeof Int32Array>"u"?void 0:Int32Array,u4:typeof Uint32Array>"u"?void 0:Uint32Array,f4:typeof Float32Array>"u"?void 0:Float32Array,f8:typeof Float64Array>"u"?void 0:Float64Array};s.uint8c=s.u1c,s.uint8=s.u1,s.int8=s.i1,s.uint16=s.u2,s.int16=s.i2,s.uint32=s.u4,s.int32=s.i4,s.float32=s.f4,s.float64=s.f8;function d(x){return x.constructor===ArrayBuffer}h.isArrayBuffer=d,h.decodeTypedArraySpec=function(x){var y=[],C=f(x),w=C.dtype,R=s[w];if(!R)throw new Error('Error in dtype: "'+w+'"');var A=R.BYTES_PER_ELEMENT,E=C.bdata;d(E)||(E=l(E));var k=C.shape===void 0?[E.byteLength/A]:(""+C.shape).split(",");k.reverse();var L=k.length,I,P,M=+k[0],F=A*M,N=0;if(L===1)y=new R(E);else if(L===2)for(I=+k[1],P=0;P<I;P++)y[P]=new R(E,N,M),N+=F;else if(L===3){I=+k[1];for(var T=+k[2],D=0;D<T;D++)for(y[D]=[],P=0;P<I;P++)y[D][P]=new R(E,N,M),N+=F}else throw new Error("ndim: "+L+'is not supported with the shape:"'+C.shape+'"');return y.bdata=C.bdata,y.dtype=C.dtype,y.shape=k.reverse().join(","),x._inputArray=y,y},h.isTypedArraySpec=function(x){return v(x)&&x.hasOwnProperty("dtype")&&typeof x.dtype=="string"&&x.hasOwnProperty("bdata")&&(typeof x.bdata=="string"||d(x.bdata))&&(x.shape===void 0||x.hasOwnProperty("shape")&&(typeof x.shape=="string"||typeof x.shape=="number"))};function f(x){return{bdata:x.bdata,dtype:x.dtype,shape:x.shape}}h.concat=function(){var x=[],y=!0,C=0,w,R,A,E,k,L,I,P;for(A=0;A<arguments.length;A++)E=arguments[A],L=E.length,L&&(R?x.push(E):(R=E,k=L),i(E)?w=!1:(y=!1,C?w!==E.constructor&&(w=!1):w=E.constructor),C+=L);if(!C)return[];if(!x.length)return R;if(y)return R.concat.apply(R,x);if(w){for(I=new w(C),I.set(R),A=0;A<x.length;A++)E=x[A],I.set(E,k),k+=E.length;return I}for(I=new Array(C),P=0;P<R.length;P++)I[P]=R[P];for(A=0;A<x.length;A++){for(E=x[A],P=0;P<E.length;P++)I[k+P]=E[P];k+=P}return I},h.maxRowLength=function(x){return b(x,Math.max,0)},h.minRowLength=function(x){return b(x,Math.min,1/0)};function b(x,y,C){if(_(x))if(_(x[0])){for(var w=C,R=0;R<x.length;R++)w=y(w,x[R].length);return w}else return x.length;return 0}},54037:function(u,h,a){var l=a(38248),v=a(39032).BADNUM,i=/^['"%,$#\s']+|[, ]|['"%,$#\s']+$/g;u.exports=function(g){return typeof g=="string"&&(g=g.replace(i,"")),l(g)?Number(g):v}},73696:function(u){u.exports=function(a){var l=a._fullLayout;l._glcanvas&&l._glcanvas.size()&&l._glcanvas.each(function(v){v.regl&&v.regl.clear({color:!0,depth:!0})})}},75352:function(u){u.exports=function(a){a._responsiveChartHandler&&(window.removeEventListener("resize",a._responsiveChartHandler),delete a._responsiveChartHandler)}},63064:function(u,h,a){var l=a(38248),v=a(49760),i=a(45464),S=a(88304),g=a(76308),p=a(13448).DESELECTDIM,_=a(22296),c=a(53756).counter,s=a(20435).modHalf,d=a(38116).isArrayOrTypedArray,f=a(38116).isTypedArraySpec,b=a(38116).decodeTypedArraySpec;h.valObjectMeta={data_array:{coerceFunction:function(y,C,w){C.set(d(y)?y:f(y)?b(y):w)}},enumerated:{coerceFunction:function(y,C,w,R){R.coerceNumber&&(y=+y),R.values.indexOf(y)===-1?C.set(w):C.set(y)},validateFunction:function(y,C){C.coerceNumber&&(y=+y);for(var w=C.values,R=0;R<w.length;R++){var A=String(w[R]);if(A.charAt(0)==="/"&&A.charAt(A.length-1)==="/"){var E=new RegExp(A.substr(1,A.length-2));if(E.test(y))return!0}else if(y===w[R])return!0}return!1}},boolean:{coerceFunction:function(y,C,w){y===!0||y===!1?C.set(y):C.set(w)}},number:{coerceFunction:function(y,C,w,R){!l(y)||R.min!==void 0&&y<R.min||R.max!==void 0&&y>R.max?C.set(w):C.set(+y)}},integer:{coerceFunction:function(y,C,w,R){y%1||!l(y)||R.min!==void 0&&y<R.min||R.max!==void 0&&y>R.max?C.set(w):C.set(+y)}},string:{coerceFunction:function(y,C,w,R){if(typeof y!="string"){var A=typeof y=="number";R.strict===!0||!A?C.set(w):C.set(String(y))}else R.noBlank&&!y?C.set(w):C.set(y)}},color:{coerceFunction:function(y,C,w){v(y).isValid()?C.set(y):C.set(w)}},colorlist:{coerceFunction:function(y,C,w){function R(A){return v(A).isValid()}!Array.isArray(y)||!y.length?C.set(w):y.every(R)?C.set(y):C.set(w)}},colorscale:{coerceFunction:function(y,C,w){C.set(S.get(y,w))}},angle:{coerceFunction:function(y,C,w){y==="auto"?C.set("auto"):l(y)?C.set(s(+y,360)):C.set(w)}},subplotid:{coerceFunction:function(y,C,w,R){var A=R.regex||c(w);if(typeof y=="string"&&A.test(y)){C.set(y);return}C.set(w)},validateFunction:function(y,C){var w=C.dflt;return y===w?!0:typeof y!="string"?!1:!!c(w).test(y)}},flaglist:{coerceFunction:function(y,C,w,R){if((R.extras||[]).indexOf(y)!==-1){C.set(y);return}if(typeof y!="string"){C.set(w);return}for(var A=y.split("+"),E=0;E<A.length;){var k=A[E];R.flags.indexOf(k)===-1||A.indexOf(k)<E?A.splice(E,1):E++}A.length?C.set(A.join("+")):C.set(w)}},any:{coerceFunction:function(y,C,w){y===void 0?C.set(w):C.set(f(y)?b(y):y)}},info_array:{coerceFunction:function(y,C,w,R){function A(Y,z,V){var j,G={set:function(W){j=W}};return V===void 0&&(V=z.dflt),h.valObjectMeta[z.valType].coerceFunction(Y,G,V,z),j}if(f(y)&&(y=b(y)),!d(y)){C.set(w);return}var E=R.dimensions===2||R.dimensions==="1-2"&&Array.isArray(y)&&d(y[0]),k=R.items,L=[],I=Array.isArray(k),P=I&&E&&d(k[0]),M=E&&I&&!P,F=I&&!M?k.length:y.length,N,T,D,O,U,B;if(w=Array.isArray(w)?w:[],E)for(N=0;N<F;N++)for(L[N]=[],D=d(y[N])?y[N]:[],M?U=k.length:I?U=k[N].length:U=D.length,T=0;T<U;T++)M?O=k[T]:I?O=k[N][T]:O=k,B=A(D[T],O,(w[N]||[])[T]),B!==void 0&&(L[N][T]=B);else for(N=0;N<F;N++)B=A(y[N],I?k[N]:k,w[N]),B!==void 0&&(L[N]=B);C.set(L)},validateFunction:function(y,C){if(!d(y))return!1;var w=C.items,R=Array.isArray(w),A=C.dimensions===2;if(!C.freeLength&&y.length!==w.length)return!1;for(var E=0;E<y.length;E++)if(A){if(!d(y[E])||!C.freeLength&&y[E].length!==w[E].length)return!1;for(var k=0;k<y[E].length;k++)if(!x(y[E][k],R?w[E][k]:w))return!1}else if(!x(y[E],R?w[E]:w))return!1;return!0}}},h.coerce=function(y,C,w,R,A){var E=_(w,R).get(),k=_(y,R),L=_(C,R),I=k.get(),P=C._template;if(I===void 0&&P&&(I=_(P,R).get(),P=0),A===void 0&&(A=E.dflt),E.arrayOk){if(d(I))return L.set(I),I;if(f(I))return I=b(I),L.set(I),I}var M=h.valObjectMeta[E.valType].coerceFunction;M(I,L,A,E);var F=L.get();return P&&F===A&&!x(I,E)&&(I=_(P,R).get(),M(I,L,A,E),F=L.get()),F},h.coerce2=function(y,C,w,R,A){var E=_(y,R),k=h.coerce(y,C,w,R,A),L=E.get();return L!=null?k:!1},h.coerceFont=function(y,C,w){var R={};return w=w||{},R.family=y(C+".family",w.family),R.size=y(C+".size",w.size),R.color=y(C+".color",w.color),R},h.coercePattern=function(y,C,w,R){var A=y(C+".shape");if(A){y(C+".solidity"),y(C+".size");var E=y(C+".fillmode"),k=E==="overlay";if(!R){var L=y(C+".bgcolor",k?w:void 0);y(C+".fgcolor",k?g.contrast(L):w)}y(C+".fgopacity",k?.5:1)}},h.coerceHoverinfo=function(y,C,w){var R=C._module.attributes,A=R.hoverinfo?R:i,E=A.hoverinfo,k;if(w._dataLength===1){var L=E.dflt==="all"?E.flags.slice():E.dflt.split("+");L.splice(L.indexOf("name"),1),k=L.join("+")}return h.coerce(y,C,A,"hoverinfo",k)},h.coerceSelectionMarkerOpacity=function(y,C){if(y.marker){var w=y.marker.opacity;if(w!==void 0){var R,A;!d(w)&&!y.selected&&!y.unselected&&(R=w,A=p*w),C("selected.marker.opacity",R),C("unselected.marker.opacity",A)}}};function x(y,C){var w=h.valObjectMeta[C.valType];if(C.arrayOk&&d(y))return!0;if(w.validateFunction)return w.validateFunction(y,C);var R={},A=R,E={set:function(k){A=k}};return w.coerceFunction(y,E,R,C),A!==R}h.validate=x},67555:function(u,h,a){var l=a(94336).Yn,v=a(38248),i=a(24248),S=a(20435).mod,g=a(39032),p=g.BADNUM,_=g.ONEDAY,c=g.ONEHOUR,s=g.ONEMIN,d=g.ONESEC,f=g.EPOCHJD,b=a(24040),x=a(94336).E9,y=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,C=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\di?)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,w=new Date().getFullYear()-70;function R(z){return z&&b.componentsRegistry.calendars&&typeof z=="string"&&z!=="gregorian"}h.dateTick0=function(z,V){var j=A(z,!!V);if(V<2)return j;var G=h.dateTime2ms(j,z);return G+=_*(V-1),h.ms2DateTime(G,0,z)};function A(z,V){return R(z)?V?b.getComponentMethod("calendars","CANONICAL_SUNDAY")[z]:b.getComponentMethod("calendars","CANONICAL_TICK")[z]:V?"2000-01-02":"2000-01-01"}h.dfltRange=function(z){return R(z)?b.getComponentMethod("calendars","DFLTRANGE")[z]:["2000-01-01","2001-01-01"]},h.isJSDate=function(z){return typeof z=="object"&&z!==null&&typeof z.getTime=="function"};var E,k;h.dateTime2ms=function(z,V){if(h.isJSDate(z)){var j=z.getTimezoneOffset()*s,G=(z.getUTCMinutes()-z.getMinutes())*s+(z.getUTCSeconds()-z.getSeconds())*d+(z.getUTCMilliseconds()-z.getMilliseconds());if(G){var W=3*s;j=j-W/2+S(G-j+W/2,W)}return z=Number(z)-j,z>=E&&z<=k?z:p}if(typeof z!="string"&&typeof z!="number")return p;z=String(z);var X=R(V),Q=z.charAt(0);X&&(Q==="G"||Q==="g")&&(z=z.substr(1),V="");var ae=X&&V.substr(0,7)==="chinese",ie=z.match(ae?C:y);if(!ie)return p;var he=ie[1],J=ie[3]||"1",Z=Number(ie[5]||1),le=Number(ie[7]||0),K=Number(ie[9]||0),te=Number(ie[11]||0);if(X){if(he.length===2)return p;he=Number(he);var ce;try{var re=b.getComponentMethod("calendars","getCal")(V);if(ae){var ee=J.charAt(J.length-1)==="i";J=parseInt(J,10),ce=re.newDate(he,re.toMonthIndex(he,J,ee),Z)}else ce=re.newDate(he,Number(J),Z)}catch{return p}return ce?(ce.toJD()-f)*_+le*c+K*s+te*d:p}he.length===2?he=(Number(he)+2e3-w)%100+w:he=Number(he),J-=1;var de=new Date(Date.UTC(2e3,J,Z,le,K));return de.setUTCFullYear(he),de.getUTCMonth()!==J||de.getUTCDate()!==Z?p:de.getTime()+te*d},E=h.MIN_MS=h.dateTime2ms("-9999"),k=h.MAX_MS=h.dateTime2ms("9999-12-31 23:59:59.9999"),h.isDateTime=function(z,V){return h.dateTime2ms(z,V)!==p};function L(z,V){return String(z+Math.pow(10,V)).substr(1)}var I=90*_,P=3*c,M=5*s;h.ms2DateTime=function(z,V,j){if(typeof z!="number"||!(z>=E&&z<=k))return p;V||(V=0);var G=Math.floor(S(z+.05,1)*10),W=Math.round(z-G/10),X,Q,ae,ie,he,J;if(R(j)){var Z=Math.floor(W/_)+f,le=Math.floor(S(z,_));try{X=b.getComponentMethod("calendars","getCal")(j).fromJD(Z).formatDate("yyyy-mm-dd")}catch{X=x("G%Y-%m-%d")(new Date(W))}if(X.charAt(0)==="-")for(;X.length<11;)X="-0"+X.substr(1);else for(;X.length<10;)X="0"+X;Q=V<I?Math.floor(le/c):0,ae=V<I?Math.floor(le%c/s):0,ie=V<P?Math.floor(le%s/d):0,he=V<M?le%d*10+G:0}else J=new Date(W),X=x("%Y-%m-%d")(J),Q=V<I?J.getUTCHours():0,ae=V<I?J.getUTCMinutes():0,ie=V<P?J.getUTCSeconds():0,he=V<M?J.getUTCMilliseconds()*10+G:0;return F(X,Q,ae,ie,he)},h.ms2DateTimeLocal=function(z){if(!(z>=E+_&&z<=k-_))return p;var V=Math.floor(S(z+.05,1)*10),j=new Date(Math.round(z-V/10)),G=l("%Y-%m-%d")(j),W=j.getHours(),X=j.getMinutes(),Q=j.getSeconds(),ae=j.getUTCMilliseconds()*10+V;return F(G,W,X,Q,ae)};function F(z,V,j,G,W){if((V||j||G||W)&&(z+=" "+L(V,2)+":"+L(j,2),(G||W)&&(z+=":"+L(G,2),W))){for(var X=4;W%10===0;)X-=1,W/=10;z+="."+L(W,X)}return z}h.cleanDate=function(z,V,j){if(z===p)return V;if(h.isJSDate(z)||typeof z=="number"&&isFinite(z)){if(R(j))return i.error("JS Dates and milliseconds are incompatible with world calendars",z),V;if(z=h.ms2DateTimeLocal(+z),!z&&V!==void 0)return V}else if(!h.isDateTime(z,j))return i.error("unrecognized date",z),V;return z};var N=/%\d?f/g,T=/%h/g,D={1:"1",2:"1",3:"2",4:"2"};function O(z,V,j,G){z=z.replace(N,function(X){var Q=Math.min(+X.charAt(1)||6,6),ae=(V/1e3%1+2).toFixed(Q).substr(2).replace(/0+$/,"")||"0";return ae});var W=new Date(Math.floor(V+.05));if(z=z.replace(T,function(){return D[j("%q")(W)]}),R(G))try{z=b.getComponentMethod("calendars","worldCalFmt")(z,V,G)}catch{return"Invalid"}return j(z)(W)}var U=[59,59.9,59.99,59.999,59.9999];function B(z,V){var j=S(z+.05,_),G=L(Math.floor(j/c),2)+":"+L(S(Math.floor(j/s),60),2);if(V!=="M"){v(V)||(V=0);var W=Math.min(S(z/d,60),U[V]),X=(100+W).toFixed(V).substr(1);V>0&&(X=X.replace(/0+$/,"").replace(/[\.]$/,"")),G+=":"+X}return G}h.formatDate=function(z,V,j,G,W,X){if(W=R(W)&&W,!V)if(j==="y")V=X.year;else if(j==="m")V=X.month;else if(j==="d")V=X.dayMonth+`
`+X.year;else return B(z,j)+`
`+O(X.dayMonthYear,z,G,W);return O(V,z,G,W)};var Y=3*_;h.incrementMonth=function(z,V,j){j=R(j)&&j;var G=S(z,_);if(z=Math.round(z-G),j)try{var W=Math.round(z/_)+f,X=b.getComponentMethod("calendars","getCal")(j),Q=X.fromJD(W);return V%12?X.add(Q,V,"m"):X.add(Q,V/12,"y"),(Q.toJD()-f)*_+G}catch{i.error("invalid ms "+z+" in calendar "+j)}var ae=new Date(z+Y);return ae.setUTCMonth(ae.getUTCMonth()+V)+G-Y},h.findExactDates=function(z,V){for(var j=0,G=0,W=0,X=0,Q,ae,ie=R(V)&&b.getComponentMethod("calendars","getCal")(V),he=0;he<z.length;he++){if(ae=z[he],!v(ae)){X++;continue}if(!(ae%_))if(ie)try{Q=ie.fromJD(ae/_+f),Q.day()===1?Q.month()===1?j++:G++:W++}catch{}else Q=new Date(ae),Q.getUTCDate()===1?Q.getUTCMonth()===0?j++:G++:W++}G+=j,W+=G;var J=z.length-X;return{exactYears:j/J,exactMonths:G/J,exactDays:W/J}}},52200:function(u,h,a){var l=a(33428),v=a(24248),i=a(52248),S=a(36524);function g(w){var R;if(typeof w=="string"){if(R=document.getElementById(w),R===null)throw new Error("No DOM element with id '"+w+"' exists on the page.");return R}else if(w==null)throw new Error("DOM element provided is null or undefined");return w}function p(w){var R=l.select(w);return R.node()instanceof HTMLElement&&R.size()&&R.classed("js-plotly-plot")}function _(w){var R=w&&w.parentNode;R&&R.removeChild(w)}function c(w,R){s("global",w,R)}function s(w,R,A){var E="plotly.js-style-"+w,k=document.getElementById(E);k||(k=document.createElement("style"),k.setAttribute("id",E),k.appendChild(document.createTextNode("")),document.head.appendChild(k));var L=k.sheet;L.insertRule?L.insertRule(R+"{"+A+"}",0):L.addRule?L.addRule(R,A,0):v.warn("addStyleRule failed")}function d(w){var R="plotly.js-style-"+w,A=document.getElementById(R);A&&_(A)}function f(w){var R=x(w),A=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return R.forEach(function(E){var k=b(E);if(k){var L=i.convertCssMatrix(k);A=S.multiply(A,A,L)}}),A}function b(w){var R=window.getComputedStyle(w,null),A=R.getPropertyValue("-webkit-transform")||R.getPropertyValue("-moz-transform")||R.getPropertyValue("-ms-transform")||R.getPropertyValue("-o-transform")||R.getPropertyValue("transform");return A==="none"?null:A.replace("matrix","").replace("3d","").slice(1,-1).split(",").map(function(E){return+E})}function x(w){for(var R=[];y(w);)R.push(w),w=w.parentNode;return R}function y(w){return w&&(w instanceof Element||w instanceof HTMLElement)}function C(w,R){return w&&R&&w.top===R.top&&w.left===R.left&&w.right===R.right&&w.bottom===R.bottom}u.exports={getGraphDiv:g,isPlotDiv:p,removeElement:_,addStyleRule:c,addRelatedStyleRule:s,deleteRelatedStyleRule:d,getFullTransformMatrix:f,getElementTransformMatrix:b,getElementAndAncestors:x,equalDomRects:C}},95924:function(u,h,a){var l=a(61252).EventEmitter,v={init:function(i){if(i._ev instanceof l)return i;var S=new l,g=new l;return i._ev=S,i._internalEv=g,i.on=S.on.bind(S),i.once=S.once.bind(S),i.removeListener=S.removeListener.bind(S),i.removeAllListeners=S.removeAllListeners.bind(S),i._internalOn=g.on.bind(g),i._internalOnce=g.once.bind(g),i._removeInternalListener=g.removeListener.bind(g),i._removeAllInternalListeners=g.removeAllListeners.bind(g),i.emit=function(p,_){typeof jQuery<"u"&&jQuery(i).trigger(p,_),S.emit(p,_),g.emit(p,_)},i},triggerHandler:function(i,S,g){var p,_;typeof jQuery<"u"&&(p=jQuery(i).triggerHandler(S,g));var c=i._ev;if(!c)return p;var s=c._events[S];if(!s)return p;function d(b){if(b.listener){if(c.removeListener(S,b.listener),!b.fired)return b.fired=!0,b.listener.apply(c,[g])}else return b.apply(c,[g])}s=Array.isArray(s)?s:[s];var f;for(f=0;f<s.length-1;f++)d(s[f]);return _=d(s[f]),p!==void 0?p:_},purge:function(i){return delete i._ev,delete i.on,delete i.once,delete i.removeListener,delete i.removeAllListeners,delete i.emit,delete i._ev,delete i._internalEv,delete i._internalOn,delete i._internalOnce,delete i._removeInternalListener,delete i._removeAllInternalListeners,i}};u.exports=v},92880:function(u,h,a){var l=a(63620),v=Array.isArray;function i(g,p){var _,c;for(_=0;_<g.length;_++){if(c=g[_],c!==null&&typeof c=="object")return!1;c!==void 0&&(p[_]=c)}return!0}h.extendFlat=function(){return S(arguments,!1,!1,!1)},h.extendDeep=function(){return S(arguments,!0,!1,!1)},h.extendDeepAll=function(){return S(arguments,!0,!0,!1)},h.extendDeepNoArrays=function(){return S(arguments,!0,!1,!0)};function S(g,p,_,c){var s=g[0],d=g.length,f,b,x,y,C,w,R;if(d===2&&v(s)&&v(g[1])&&s.length===0){if(R=i(g[1],s),R)return s;s.splice(0,s.length)}for(var A=1;A<d;A++){f=g[A];for(b in f)x=s[b],y=f[b],c&&v(y)?s[b]=y:p&&y&&(l(y)||(C=v(y)))?(C?(C=!1,w=x&&v(x)?x:[]):w=x&&l(x)?x:{},s[b]=S([w,y],p,_,c)):(typeof y<"u"||_)&&(s[b]=y)}return s}},68944:function(u){u.exports=function(a){for(var l={},v=[],i=0,S=0;S<a.length;S++){var g=a[S];l[g]!==1&&(l[g]=1,v[i++]=g)}return v}},43880:function(u){u.exports=function(i){for(var S=l(i)?a:h,g=[],p=0;p<i.length;p++){var _=i[p];S(_)&&g.push(_)}return g};function h(v){return v.visible===!0}function a(v){var i=v[0].trace;return i.visible===!0&&i._length!==0}function l(v){return Array.isArray(v)&&Array.isArray(v[0])&&v[0][0]&&v[0][0].trace}},27144:function(u,h,a){var l=a(33428),v=a(36116),i=a(40440),S=a(77844),g=a(42428),p=a(35536),_=a(24248),c=a(63620),s=a(22296),d=a(92065),f=Object.keys(v),b={"ISO-3":p,"USA-states":p,"country names":x};function x(L){for(var I=0;I<f.length;I++){var P=f[I],M=new RegExp(v[P]);if(M.test(L.trim().toLowerCase()))return P}return _.log("Unrecognized country name: "+L+"."),!1}function y(L,I,P){if(!I||typeof I!="string")return!1;var M=b[L](I),F,N,T;if(M){if(L==="USA-states")for(F=[],T=0;T<P.length;T++)N=P[T],N.properties&&N.properties.gu&&N.properties.gu==="USA"&&F.push(N);else F=P;for(T=0;T<F.length;T++)if(N=F[T],N.id===M)return N;_.log(["Location with id",M,"does not have a matching topojson feature at this resolution."].join(" "))}return!1}function C(L){var I=L.geometry,P=I.coordinates,M=L.id,F=[],N,T,D,O;function U(B){for(var Y=0;Y<B.length-1;Y++)if(B[Y][0]>0&&B[Y+1][0]<0)return Y;return null}switch(M==="RUS"||M==="FJI"?N=function(B){var Y;if(U(B)===null)Y=B;else for(Y=new Array(B.length),O=0;O<B.length;O++)Y[O]=[B[O][0]<0?B[O][0]+360:B[O][0],B[O][1]];F.push(d.tester(Y))}:M==="ATA"?N=function(B){var Y=U(B);if(Y===null)return F.push(d.tester(B));var z=new Array(B.length+1),V=0;for(O=0;O<B.length;O++)O>Y?z[V++]=[B[O][0]+360,B[O][1]]:O===Y?(z[V++]=B[O],z[V++]=[B[O][0],-90]):z[V++]=B[O];var j=d.tester(z);j.pts.pop(),F.push(j)}:N=function(B){F.push(d.tester(B))},I.type){case"MultiPolygon":for(T=0;T<P.length;T++)for(D=0;D<P[T].length;D++)N(P[T][D]);break;case"Polygon":for(T=0;T<P.length;T++)N(P[T]);break}return F}function w(L){var I=L.geojson,P=window.PlotlyGeoAssets||{},M=typeof I=="string"?P[I]:I;return c(M)?M:(_.error("Oops ... something went wrong when fetching "+I),!1)}function R(L){var I=L[0].trace,P=w(I);if(!P)return!1;var M={},F=[],N;for(N=0;N<I._length;N++){var T=L[N];(T.loc||T.loc===0)&&(M[T.loc]=T)}function D(B){var Y=s(B,I.featureidkey||"id").get(),z=M[Y];if(z){var V=B.geometry;if(V.type==="Polygon"||V.type==="MultiPolygon"){var j={type:"Feature",id:Y,geometry:V,properties:{}};j.properties.ct=A(j),z.fIn=B,z.fOut=j,F.push(j)}else _.log(["Location",z.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete M[Y]}switch(P.type){case"FeatureCollection":var O=P.features;for(N=0;N<O.length;N++)D(O[N]);break;case"Feature":D(P);break;default:return _.warn(["Invalid GeoJSON type",(P.type||"none")+".","Traces with locationmode *geojson-id* only support","*FeatureCollection* and *Feature* types."].join(" ")),!1}for(var U in M)_.log(["Location *"+U+"*","does not have a matching feature with id-key","*"+I.featureidkey+"*."].join(" "));return F}function A(L){var I=L.geometry,P;if(I.type==="MultiPolygon")for(var M=I.coordinates,F=0,N=0;N<M.length;N++){var T={type:"Polygon",coordinates:M[N]},D=i.default(T);D>F&&(F=D,P=T)}else P=I;return S.default(P).geometry.coordinates}function E(L){var I=window.PlotlyGeoAssets||{},P=[];function M(O){return new Promise(function(U,B){l.json(O,function(Y,z){if(Y){delete I[O];var V=Y.status===404?'GeoJSON at URL "'+O+'" does not exist.':"Unexpected error while fetching from "+O;return B(new Error(V))}return I[O]=z,U(z)})})}function F(O){return new Promise(function(U,B){var Y=0,z=setInterval(function(){if(I[O]&&I[O]!=="pending")return clearInterval(z),U(I[O]);if(Y>100)return clearInterval(z),B("Unexpected error while fetching from "+O);Y++},50)})}for(var N=0;N<L.length;N++){var T=L[N][0].trace,D=T.geojson;typeof D=="string"&&(I[D]?I[D]==="pending"&&P.push(F(D)):(I[D]="pending",P.push(M(D))))}return P}function k(L){return g.default(L)}u.exports={locationToFeature:y,feature2polygons:C,getTraceGeojson:w,extractTraceFeature:R,fetchTraceGeoData:E,computeBbox:k}},44808:function(u,h,a){var l=a(39032).BADNUM;h.calcTraceToLineCoords=function(v){for(var i=v[0].trace,S=i.connectgaps,g=[],p=[],_=0;_<v.length;_++){var c=v[_],s=c.lonlat;s[0]!==l?p.push(s):!S&&p.length>0&&(g.push(p),p=[])}return p.length>0&&g.push(p),g},h.makeLine=function(v){return v.length===1?{type:"LineString",coordinates:v[0]}:{type:"MultiLineString",coordinates:v}},h.makePolygon=function(v){if(v.length===1)return{type:"Polygon",coordinates:v};for(var i=new Array(v.length),S=0;S<v.length;S++)i[S]=[v[S]];return{type:"MultiPolygon",coordinates:i}},h.makeBlank=function(){return{type:"Point",coordinates:[]}}},92348:function(u,h,a){var l=a(20435).mod;h.segmentsIntersect=v;function v(_,c,s,d,f,b,x,y){var C=s-_,w=f-_,R=x-f,A=d-c,E=b-c,k=y-b,L=C*k-R*A;if(L===0)return null;var I=(w*k-R*E)/L,P=(w*A-C*E)/L;return P<0||P>1||I<0||I>1?null:{x:_+C*I,y:c+A*I}}h.segmentDistance=function(c,s,d,f,b,x,y,C){if(v(c,s,d,f,b,x,y,C))return 0;var w=d-c,R=f-s,A=y-b,E=C-x,k=w*w+R*R,L=A*A+E*E,I=Math.min(i(w,R,k,b-c,x-s),i(w,R,k,y-c,C-s),i(A,E,L,c-b,s-x),i(A,E,L,d-b,f-x));return Math.sqrt(I)};function i(_,c,s,d,f){var b=d*_+f*c;if(b<0)return d*d+f*f;if(b>s){var x=d-_,y=f-c;return x*x+y*y}else{var C=d*c-f*_;return C*C/s}}var S,g,p;h.getTextLocation=function(c,s,d,f){if((c!==g||f!==p)&&(S={},g=c,p=f),S[d])return S[d];var b=c.getPointAtLength(l(d-f/2,s)),x=c.getPointAtLength(l(d+f/2,s)),y=Math.atan((x.y-b.y)/(x.x-b.x)),C=c.getPointAtLength(l(d,s)),w=(C.x*4+b.x+x.x)/6,R=(C.y*4+b.y+x.y)/6,A={x:w,y:R,theta:y};return S[d]=A,A},h.clearLocationCache=function(){g=null},h.getVisibleSegment=function(c,s,d){var f=s.left,b=s.right,x=s.top,y=s.bottom,C=0,w=c.getTotalLength(),R=w,A,E;function k(I){var P=c.getPointAtLength(I);I===0?A=P:I===w&&(E=P);var M=P.x<f?f-P.x:P.x>b?P.x-b:0,F=P.y<x?x-P.y:P.y>y?P.y-y:0;return Math.sqrt(M*M+F*F)}for(var L=k(C);L;){if(C+=L+d,C>R)return;L=k(C)}for(L=k(R);L;){if(R-=L+d,C>R)return;L=k(R)}return{min:C,max:R,len:R-C,total:w,isClosed:C===0&&R===w&&Math.abs(A.x-E.x)<.1&&Math.abs(A.y-E.y)<.1}},h.findPointOnPath=function(c,s,d,f){f=f||{};for(var b=f.pathLength||c.getTotalLength(),x=f.tolerance||.001,y=f.iterationLimit||30,C=c.getPointAtLength(0)[d]>c.getPointAtLength(b)[d]?-1:1,w=0,R=0,A=b,E,k,L;w<y;){if(E=(R+A)/2,k=c.getPointAtLength(E),L=k[d]-s,Math.abs(L)<x)return k;C*L>0?A=E:R=E,w++}return k}},33040:function(u,h,a){var l=a(38248),v=a(49760),i=a(72160),S=a(8932),g=a(22548).defaultLine,p=a(38116).isArrayOrTypedArray,_=i(g),c=1;function s(y,C){var w=y;return w[3]*=C,w}function d(y){if(l(y))return _;var C=i(y);return C.length?C:_}function f(y){return l(y)?y:c}function b(y,C,w){var R=y.color;R&&R._inputArray&&(R=R._inputArray);var A=p(R),E=p(C),k=S.extractOpts(y),L=[],I,P,M,F,N;if(k.colorscale!==void 0?I=S.makeColorScaleFuncFromTrace(y):I=d,A?P=function(D,O){return D[O]===void 0?_:i(I(D[O]))}:P=d,E?M=function(D,O){return D[O]===void 0?c:f(D[O])}:M=f,A||E)for(var T=0;T<w;T++)F=P(R,T),N=M(C,T),L[T]=s(F,N);else L=s(i(R),C);return L}function x(y){var C=S.extractOpts(y),w=C.colorscale;return C.reversescale&&(w=S.flipScale(C.colorscale)),w.map(function(R){var A=R[0],E=v(R[1]),k=E.toRgb();return{index:A,rgb:[k.r,k.g,k.b,k.a]}})}u.exports={formatColor:b,parseColorScale:x}},71688:function(u,h,a){var l=a(35536);function v(i){return[i]}u.exports={keyFun:function(i){return i.key},repeat:v,descend:l,wrap:v,unwrap:function(i){return i[0]}}},35536:function(u){u.exports=function(a){return a}},1396:function(u){u.exports=function(a,l){if(!l)return a;var v=1/Math.abs(l),i=v>1?(v*a+v*l)/v:a+l,S=String(i).length;if(S>16){var g=String(l).length,p=String(a).length;if(S>=p+g){var _=parseFloat(i).toPrecision(12);_.indexOf("e+")===-1&&(i=+_)}}return i}},3400:function(u,h,a){var l=a(33428),v=a(94336).E9,i=a(57624).E9,S=a(38248),g=a(39032),p=g.FP_SAFE,_=-p,c=g.BADNUM,s=u.exports={};s.adjustFormat=function(ce){return!ce||/^\d[.]\df/.test(ce)||/[.]\d%/.test(ce)?ce:ce==="0.f"?"~f":/^\d%/.test(ce)?"~%":/^\ds/.test(ce)?"~s":!/^[~,.0$]/.test(ce)&&/[&fps]/.test(ce)?"~"+ce:ce};var d={};s.warnBadFormat=function(te){var ce=String(te);d[ce]||(d[ce]=1,s.warn('encountered bad format: "'+ce+'"'))},s.noFormat=function(te){return String(te)},s.numberFormat=function(te){var ce;try{ce=i(s.adjustFormat(te))}catch{return s.warnBadFormat(te),s.noFormat}return ce},s.nestedProperty=a(22296),s.keyedContainer=a(37804),s.relativeAttr=a(23193),s.isPlainObject=a(63620),s.toLogRange=a(36896),s.relinkPrivateKeys=a(51528);var f=a(38116);s.isArrayBuffer=f.isArrayBuffer,s.isTypedArray=f.isTypedArray,s.isArrayOrTypedArray=f.isArrayOrTypedArray,s.isArray1D=f.isArray1D,s.ensureArray=f.ensureArray,s.concat=f.concat,s.maxRowLength=f.maxRowLength,s.minRowLength=f.minRowLength;var b=a(20435);s.mod=b.mod,s.modHalf=b.modHalf;var x=a(63064);s.valObjectMeta=x.valObjectMeta,s.coerce=x.coerce,s.coerce2=x.coerce2,s.coerceFont=x.coerceFont,s.coercePattern=x.coercePattern,s.coerceHoverinfo=x.coerceHoverinfo,s.coerceSelectionMarkerOpacity=x.coerceSelectionMarkerOpacity,s.validate=x.validate;var y=a(67555);s.dateTime2ms=y.dateTime2ms,s.isDateTime=y.isDateTime,s.ms2DateTime=y.ms2DateTime,s.ms2DateTimeLocal=y.ms2DateTimeLocal,s.cleanDate=y.cleanDate,s.isJSDate=y.isJSDate,s.formatDate=y.formatDate,s.incrementMonth=y.incrementMonth,s.dateTick0=y.dateTick0,s.dfltRange=y.dfltRange,s.findExactDates=y.findExactDates,s.MIN_MS=y.MIN_MS,s.MAX_MS=y.MAX_MS;var C=a(14952);s.findBin=C.findBin,s.sorterAsc=C.sorterAsc,s.sorterDes=C.sorterDes,s.distinctVals=C.distinctVals,s.roundUp=C.roundUp,s.sort=C.sort,s.findIndexOfMin=C.findIndexOfMin,s.sortObjectKeys=a(95376);var w=a(63084);s.aggNums=w.aggNums,s.len=w.len,s.mean=w.mean,s.median=w.median,s.midRange=w.midRange,s.variance=w.variance,s.stdev=w.stdev,s.interp=w.interp;var R=a(52248);s.init2dArray=R.init2dArray,s.transposeRagged=R.transposeRagged,s.dot=R.dot,s.translationMatrix=R.translationMatrix,s.rotationMatrix=R.rotationMatrix,s.rotationXYMatrix=R.rotationXYMatrix,s.apply3DTransform=R.apply3DTransform,s.apply2DTransform=R.apply2DTransform,s.apply2DTransform2=R.apply2DTransform2,s.convertCssMatrix=R.convertCssMatrix,s.inverseTransformMatrix=R.inverseTransformMatrix;var A=a(11864);s.deg2rad=A.deg2rad,s.rad2deg=A.rad2deg,s.angleDelta=A.angleDelta,s.angleDist=A.angleDist,s.isFullCircle=A.isFullCircle,s.isAngleInsideSector=A.isAngleInsideSector,s.isPtInsideSector=A.isPtInsideSector,s.pathArc=A.pathArc,s.pathSector=A.pathSector,s.pathAnnulus=A.pathAnnulus;var E=a(98308);s.isLeftAnchor=E.isLeftAnchor,s.isCenterAnchor=E.isCenterAnchor,s.isRightAnchor=E.isRightAnchor,s.isTopAnchor=E.isTopAnchor,s.isMiddleAnchor=E.isMiddleAnchor,s.isBottomAnchor=E.isBottomAnchor;var k=a(92348);s.segmentsIntersect=k.segmentsIntersect,s.segmentDistance=k.segmentDistance,s.getTextLocation=k.getTextLocation,s.clearLocationCache=k.clearLocationCache,s.getVisibleSegment=k.getVisibleSegment,s.findPointOnPath=k.findPointOnPath;var L=a(92880);s.extendFlat=L.extendFlat,s.extendDeep=L.extendDeep,s.extendDeepAll=L.extendDeepAll,s.extendDeepNoArrays=L.extendDeepNoArrays;var I=a(24248);s.log=I.log,s.warn=I.warn,s.error=I.error;var P=a(53756);s.counterRegex=P.counter;var M=a(91200);s.throttle=M.throttle,s.throttleDone=M.done,s.clearThrottle=M.clear;var F=a(52200);s.getGraphDiv=F.getGraphDiv,s.isPlotDiv=F.isPlotDiv,s.removeElement=F.removeElement,s.addStyleRule=F.addStyleRule,s.addRelatedStyleRule=F.addRelatedStyleRule,s.deleteRelatedStyleRule=F.deleteRelatedStyleRule,s.getFullTransformMatrix=F.getFullTransformMatrix,s.getElementTransformMatrix=F.getElementTransformMatrix,s.getElementAndAncestors=F.getElementAndAncestors,s.equalDomRects=F.equalDomRects,s.clearResponsive=a(75352),s.preserveDrawingBuffer=a(34296),s.makeTraceGroups=a(30988),s._=a(98356),s.notifier=a(41792),s.filterUnique=a(68944),s.filterVisible=a(43880),s.pushUnique=a(52416),s.increment=a(1396),s.cleanNumber=a(54037),s.ensureNumber=function(ce){return S(ce)?(ce=Number(ce),ce>p||ce<_?c:ce):c},s.isIndex=function(te,ce){return ce!==void 0&&te>=ce?!1:S(te)&&te>=0&&te%1===0},s.noop=a(16628),s.identity=a(35536),s.repeat=function(te,ce){for(var re=new Array(ce),ee=0;ee<ce;ee++)re[ee]=te;return re},s.swapAttrs=function(te,ce,re,ee){re||(re="x"),ee||(ee="y");for(var de=0;de<ce.length;de++){var oe=ce[de],fe=s.nestedProperty(te,oe.replace("?",re)),me=s.nestedProperty(te,oe.replace("?",ee)),Te=fe.get();fe.set(me.get()),me.set(Te)}},s.raiseToTop=function(ce){ce.parentNode.appendChild(ce)},s.cancelTransition=function(te){return te.transition().duration(0)},s.constrain=function(te,ce,re){return ce>re?Math.max(re,Math.min(ce,te)):Math.max(ce,Math.min(re,te))},s.bBoxIntersect=function(te,ce,re){return re=re||0,te.left<=ce.right+re&&ce.left<=te.right+re&&te.top<=ce.bottom+re&&ce.top<=te.bottom+re},s.simpleMap=function(te,ce,re,ee,de){for(var oe=te.length,fe=new Array(oe),me=0;me<oe;me++)fe[me]=ce(te[me],re,ee,de);return fe},s.randstr=function te(ce,re,ee,de){if(ee||(ee=16),re===void 0&&(re=24),re<=0)return"0";var oe=Math.log(Math.pow(2,re))/Math.log(ee),fe="",me,Te,we;for(me=2;oe===1/0;me*=2)oe=Math.log(Math.pow(2,re/me))/Math.log(ee)*me;var Be=oe-Math.floor(oe);for(me=0;me<Math.floor(oe);me++)we=Math.floor(Math.random()*ee).toString(ee),fe=we+fe;Be&&(Te=Math.pow(ee,Be),we=Math.floor(Math.random()*Te).toString(ee),fe=we+fe);var Ae=parseInt(fe,ee);return ce&&ce[fe]||Ae!==1/0&&Ae>=Math.pow(2,re)?de>10?(s.warn("randstr failed uniqueness"),fe):te(ce,re,ee,(de||0)+1):fe},s.OptionControl=function(te,ce){te||(te={}),ce||(ce="opt");var re={};return re.optionList=[],re._newoption=function(ee){ee[ce]=te,re[ee.name]=ee,re.optionList.push(ee)},re["_"+ce]=te,re},s.smooth=function(te,ce){if(ce=Math.round(ce)||0,ce<2)return te;var re=te.length,ee=2*re,de=2*ce-1,oe=new Array(de),fe=new Array(re),me,Te,we,Be;for(me=0;me<de;me++)oe[me]=(1-Math.cos(Math.PI*(me+1)/ce))/(2*ce);for(me=0;me<re;me++){for(Be=0,Te=0;Te<de;Te++)we=me+Te+1-ce,we<-re?we-=ee*Math.round(we/ee):we>=ee&&(we-=ee*Math.floor(we/ee)),we<0?we=-1-we:we>=re&&(we=ee-1-we),Be+=te[we]*oe[Te];fe[me]=Be}return fe},s.syncOrAsync=function(te,ce,re){var ee,de;function oe(){return s.syncOrAsync(te,ce,re)}for(;te.length;)if(de=te.splice(0,1)[0],ee=de(ce),ee&&ee.then)return ee.then(oe);return re&&re(ce)},s.stripTrailingSlash=function(te){return te.substr(-1)==="/"?te.substr(0,te.length-1):te},s.noneOrAll=function(te,ce,re){if(te){var ee=!1,de=!0,oe,fe;for(oe=0;oe<re.length;oe++)fe=te[re[oe]],fe!=null?ee=!0:de=!1;if(ee&&!de)for(oe=0;oe<re.length;oe++)te[re[oe]]=ce[re[oe]]}},s.mergeArray=function(te,ce,re,ee){var de=typeof ee=="function";if(s.isArrayOrTypedArray(te))for(var oe=Math.min(te.length,ce.length),fe=0;fe<oe;fe++){var me=te[fe];ce[fe][re]=de?ee(me):me}},s.mergeArrayCastPositive=function(te,ce,re){return s.mergeArray(te,ce,re,function(ee){var de=+ee;return isFinite(de)&&de>0?de:0})},s.fillArray=function(te,ce,re,ee){if(ee=ee||s.identity,s.isArrayOrTypedArray(te))for(var de=0;de<ce.length;de++)ce[de][re]=ee(te[de])},s.castOption=function(te,ce,re,ee){ee=ee||s.identity;var de=s.nestedProperty(te,re).get();return s.isArrayOrTypedArray(de)?Array.isArray(ce)&&s.isArrayOrTypedArray(de[ce[0]])?ee(de[ce[0]][ce[1]]):ee(de[ce]):de},s.extractOption=function(te,ce,re,ee){if(re in te)return te[re];var de=s.nestedProperty(ce,ee).get();if(!Array.isArray(de))return de};function N(te){var ce={};for(var re in te)for(var ee=te[re],de=0;de<ee.length;de++)ce[ee[de]]=+re;return ce}s.tagSelected=function(te,ce,re){var ee=ce.selectedpoints,de=ce._indexToPoints,oe;de&&(oe=N(de));function fe(Ae){return Ae!==void 0&&Ae<te.length}for(var me=0;me<ee.length;me++){var Te=ee[me];if(s.isIndex(Te)||s.isArrayOrTypedArray(Te)&&s.isIndex(Te[0])&&s.isIndex(Te[1])){var we=oe?oe[Te]:Te,Be=re?re[we]:we;fe(Be)&&(te[Be].selected=1)}}},s.selIndices2selPoints=function(te){var ce=te.selectedpoints,re=te._indexToPoints;if(re){for(var ee=N(re),de=[],oe=0;oe<ce.length;oe++){var fe=ce[oe];if(s.isIndex(fe)){var me=ee[fe];s.isIndex(me)&&de.push(me)}}return de}else return ce},s.getTargetArray=function(te,ce){var re=ce.target;if(typeof re=="string"&&re){var ee=s.nestedProperty(te,re).get();return s.isArrayOrTypedArray(ee)?ee:!1}else if(s.isArrayOrTypedArray(re))return re;return!1};function T(te,ce,re){var ee={};typeof ce!="object"&&(ce={});var de=re==="pieLike"?-1:3,oe=Object.keys(te),fe,me,Te;for(fe=0;fe<oe.length;fe++)me=oe[fe],Te=te[me],!(me.charAt(0)==="_"||typeof Te=="function")&&(me==="module"?ee[me]=Te:Array.isArray(Te)?me==="colorscale"||de===-1?ee[me]=Te.slice():ee[me]=Te.slice(0,de):s.isTypedArray(Te)?de===-1?ee[me]=Te.subarray():ee[me]=Te.subarray(0,de):Te&&typeof Te=="object"?ee[me]=T(te[me],ce[me],re):ee[me]=Te);for(oe=Object.keys(ce),fe=0;fe<oe.length;fe++)me=oe[fe],Te=ce[me],(typeof Te!="object"||!(me in ee)||typeof ee[me]!="object")&&(ee[me]=Te);return ee}s.minExtend=T,s.titleCase=function(te){return te.charAt(0).toUpperCase()+te.substr(1)},s.containsAny=function(te,ce){for(var re=0;re<ce.length;re++)if(te.indexOf(ce[re])!==-1)return!0;return!1},s.isIE=function(){return typeof window.navigator.msSaveBlob<"u"};var D=/Version\/[\d\.]+.*Safari/;s.isSafari=function(){return D.test(window.navigator.userAgent)};var O=/iPad|iPhone|iPod/;s.isIOS=function(){return O.test(window.navigator.userAgent)};var U=/Firefox\/(\d+)\.\d+/;s.getFirefoxVersion=function(){var te=U.exec(window.navigator.userAgent);if(te&&te.length===2){var ce=parseInt(te[1]);if(!isNaN(ce))return ce}return null},s.isD3Selection=function(te){return te instanceof l.selection},s.ensureSingle=function(te,ce,re,ee){var de=te.select(ce+(re?"."+re:""));if(de.size())return de;var oe=te.append(ce);return re&&oe.classed(re,!0),ee&&oe.call(ee),oe},s.ensureSingleById=function(te,ce,re,ee){var de=te.select(ce+"#"+re);if(de.size())return de;var oe=te.append(ce).attr("id",re);return ee&&oe.call(ee),oe},s.objectFromPath=function(te,ce){for(var re=te.split("."),ee,de=ee={},oe=0;oe<re.length;oe++){var fe=re[oe],me=null,Te=re[oe].match(/(.*)\[([0-9]+)\]/);Te?(fe=Te[1],me=Te[2],ee=ee[fe]=[],oe===re.length-1?ee[me]=ce:ee[me]={},ee=ee[me]):(oe===re.length-1?ee[fe]=ce:ee[fe]={},ee=ee[fe])}return de};var B=/^([^\[\.]+)\.(.+)?/,Y=/^([^\.]+)\[([0-9]+)\](\.)?(.+)?/;function z(te){return te.slice(0,2)==="__"}s.expandObjectPaths=function(te){var ce,re,ee,de,oe,fe,me;if(typeof te=="object"&&!Array.isArray(te)){for(re in te)if(te.hasOwnProperty(re))if(ce=re.match(B)){if(de=te[re],ee=ce[1],z(ee))continue;delete te[re],te[ee]=s.extendDeepNoArrays(te[ee]||{},s.objectFromPath(re,s.expandObjectPaths(de))[ee])}else if(ce=re.match(Y)){if(de=te[re],ee=ce[1],z(ee))continue;if(oe=parseInt(ce[2]),delete te[re],te[ee]=te[ee]||[],ce[3]===".")me=ce[4],fe=te[ee][oe]=te[ee][oe]||{},s.extendDeepNoArrays(fe,s.objectFromPath(me,s.expandObjectPaths(de)));else{if(z(ee))continue;te[ee][oe]=s.expandObjectPaths(de)}}else{if(z(re))continue;te[re]=s.expandObjectPaths(te[re])}}return te},s.numSeparate=function(te,ce,re){if(re||(re=!1),typeof ce!="string"||ce.length===0)throw new Error("Separator string required for formatting!");typeof te=="number"&&(te=String(te));var ee=/(\d+)(\d{3})/,de=ce.charAt(0),oe=ce.charAt(1),fe=te.split("."),me=fe[0],Te=fe.length>1?de+fe[1]:"";if(oe&&(fe.length>1||me.length>4||re))for(;ee.test(me);)me=me.replace(ee,"$1"+oe+"$2");return me+Te},s.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var V=/^\w*$/;s.templateString=function(te,ce){var re={};return te.replace(s.TEMPLATE_STRING_REGEX,function(ee,de){var oe;return V.test(de)?oe=ce[de]:(re[de]=re[de]||s.nestedProperty(ce,de).get,oe=re[de]()),s.isValidTextValue(oe)?oe:""})};var j={max:10,count:0,name:"hovertemplate"};s.hovertemplateString=function(){return ie.apply(j,arguments)};var G={max:10,count:0,name:"texttemplate"};s.texttemplateString=function(){return ie.apply(G,arguments)};var W=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function X(te){var ce=te.match(W);return ce?{key:ce[1],op:ce[2],number:Number(ce[3])}:{key:te,op:null,number:null}}var Q={max:10,count:0,name:"texttemplate",parseMultDiv:!0};s.texttemplateStringForShapes=function(){return ie.apply(Q,arguments)};var ae=/^[:|\|]/;function ie(te,ce,re){var ee=this,de=arguments;ce||(ce={});var oe={};return te.replace(s.TEMPLATE_STRING_REGEX,function(fe,me,Te){var we=me==="xother"||me==="yother",Be=me==="_xother"||me==="_yother",Ae=me==="_xother_"||me==="_yother_",Re=me==="xother_"||me==="yother_",be=we||Be||Re||Ae,Pe=me;(Be||Ae)&&(Pe=Pe.substring(1)),(Re||Ae)&&(Pe=Pe.substring(0,Pe.length-1));var Ke=null,ze=null;if(ee.parseMultDiv){var Fe=X(Pe);Pe=Fe.key,Ke=Fe.op,ze=Fe.number}var We;if(be){if(We=ce[Pe],We===void 0)return""}else{var lt,ht;for(ht=3;ht<de.length;ht++)if(lt=de[ht],!!lt){if(lt.hasOwnProperty(Pe)){We=lt[Pe];break}if(V.test(Pe)||(We=s.nestedProperty(lt,Pe).get(),We=oe[Pe]||s.nestedProperty(lt,Pe).get(),We&&(oe[Pe]=We)),We!==void 0)break}}if(We!==void 0&&(Ke==="*"&&(We*=ze),Ke==="/"&&(We/=ze)),We===void 0&&ee)return ee.count<ee.max&&(s.warn("Variable '"+Pe+"' in "+ee.name+" could not be found!"),We=fe),ee.count===ee.max&&s.warn("Too many "+ee.name+" warnings - additional warnings will be suppressed"),ee.count++,fe;if(Te){var tt;if(Te[0]===":"&&(tt=re?re.numberFormat:s.numberFormat,We!==""&&(We=tt(Te.replace(ae,""))(We))),Te[0]==="|"){tt=re?re.timeFormat:v;var et=s.dateTime2ms(We);We=s.formatDate(et,Te.replace(ae,""),!1,tt)}}else{var pt=Pe+"Label";ce.hasOwnProperty(pt)&&(We=ce[pt])}return be&&(We="("+We+")",(Be||Ae)&&(We=" "+We),(Re||Ae)&&(We=We+" ")),We})}var he=48,J=57;s.subplotSort=function(te,ce){for(var re=Math.min(te.length,ce.length)+1,ee=0,de=0,oe=0;oe<re;oe++){var fe=te.charCodeAt(oe)||0,me=ce.charCodeAt(oe)||0,Te=fe>=he&&fe<=J,we=me>=he&&me<=J;if(Te&&(ee=10*ee+fe-he),we&&(de=10*de+me-he),!Te||!we){if(ee!==de)return ee-de;if(fe!==me)return fe-me}}return de-ee};var Z=2e9;s.seedPseudoRandom=function(){Z=2e9},s.pseudoRandom=function(){var te=Z;return Z=(69069*Z+1)%4294967296,Math.abs(Z-te)<429496729?s.pseudoRandom():Z/4294967296},s.fillText=function(te,ce,re){var ee=Array.isArray(re)?function(fe){re.push(fe)}:function(fe){re.text=fe},de=s.extractOption(te,ce,"htx","hovertext");if(s.isValidTextValue(de))return ee(de);var oe=s.extractOption(te,ce,"tx","text");if(s.isValidTextValue(oe))return ee(oe)},s.isValidTextValue=function(te){return te||te===0},s.formatPercent=function(te,ce){ce=ce||0;for(var re=(Math.round(100*te*Math.pow(10,ce))*Math.pow(.1,ce)).toFixed(ce)+"%",ee=0;ee<ce;ee++)re.indexOf(".")!==-1&&(re=re.replace("0%","%"),re=re.replace(".%","%"));return re},s.isHidden=function(te){var ce=window.getComputedStyle(te).display;return!ce||ce==="none"},s.strTranslate=function(te,ce){return te||ce?"translate("+te+","+ce+")":""},s.strRotate=function(te){return te?"rotate("+te+")":""},s.strScale=function(te){return te!==1?"scale("+te+")":""},s.getTextTransform=function(te){var ce=te.noCenter,re=te.textX,ee=te.textY,de=te.targetX,oe=te.targetY,fe=te.anchorX||0,me=te.anchorY||0,Te=te.rotate,we=te.scale;return we?we>1&&(we=1):we=0,s.strTranslate(de-we*(re+fe),oe-we*(ee+me))+s.strScale(we)+(Te?"rotate("+Te+(ce?"":" "+re+" "+ee)+")":"")},s.setTransormAndDisplay=function(te,ce){te.attr("transform",s.getTextTransform(ce)),te.style("display",ce.scale?null:"none")},s.ensureUniformFontSize=function(te,ce){var re=s.extendFlat({},ce);return re.size=Math.max(ce.size,te._fullLayout.uniformtext.minsize||0),re},s.join2=function(te,ce,re){var ee=te.length;return ee>1?te.slice(0,-1).join(ce)+re+te[ee-1]:te.join(ce)},s.bigFont=function(te){return Math.round(1.2*te)};var le=s.getFirefoxVersion(),K=le!==null&&le<86;s.getPositionFromD3Event=function(){return K?[l.event.layerX,l.event.layerY]:[l.event.offsetX,l.event.offsetY]}},63620:function(u){u.exports=function(a){return window&&window.process&&window.process.versions?Object.prototype.toString.call(a)==="[object Object]":Object.prototype.toString.call(a)==="[object Object]"&&Object.getPrototypeOf(a).hasOwnProperty("hasOwnProperty")}},37804:function(u,h,a){var l=a(22296),v=/^\w*$/,i=0,S=1,g=2,p=3,_=4;u.exports=function(s,d,f,b){f=f||"name",b=b||"value";var x,y,C,w={};d&&d.length?(C=l(s,d),y=C.get()):y=s,d=d||"";var R={};if(y)for(x=0;x<y.length;x++)R[y[x][f]]=x;var A=v.test(b),E={set:function(k,L){var I=L===null?_:i;if(!y){if(!C||I===_)return;y=[],C.set(y)}var P=R[k];if(P===void 0){if(I===_)return;I=I|p,P=y.length,R[k]=P}else L!==(A?y[P][b]:l(y[P],b).get())&&(I=I|g);var M=y[P]=y[P]||{};return M[f]=k,A?M[b]=L:l(M,b).set(L),L!==null&&(I=I&~_),w[P]=w[P]|I,E},get:function(k){if(y){var L=R[k];if(L!==void 0)return A?y[L][b]:l(y[L],b).get()}},rename:function(k,L){var I=R[k];return I===void 0||(w[I]=w[I]|S,R[L]=I,delete R[k],y[I][f]=L),E},remove:function(k){var L=R[k];if(L===void 0)return E;var I=y[L];if(Object.keys(I).length>2)return w[L]=w[L]|g,E.set(k,null);if(A){for(x=L;x<y.length;x++)w[x]=w[x]|p;for(x=L;x<y.length;x++)R[y[x][f]]--;y.splice(L,1),delete R[k]}else l(I,b).set(null),w[L]=w[L]|g|_;return E},constructUpdate:function(){for(var k,L,I={},P=Object.keys(w),M=0;M<P.length;M++)L=P[M],k=d+"["+L+"]",y[L]?(w[L]&S&&(I[k+"."+f]=y[L][f]),w[L]&g&&(A?I[k+"."+b]=w[L]&_?null:y[L][b]:I[k+"."+b]=w[L]&_?null:l(y[L],b).get())):I[k]=null;return I}};return E}},98356:function(u,h,a){var l=a(24040);u.exports=function(i,S){for(var g=i._context.locale,p=0;p<2;p++){for(var _=i._context.locales,c=0;c<2;c++){var s=(_[g]||{}).dictionary;if(s){var d=s[S];if(d)return d}_=l.localeRegistry}var f=g.split("-")[0];if(f===g)break;g=f}return S}},24248:function(u,h,a){var l=a(20556).dfltConfig,v=a(41792),i=u.exports={};i.log=function(){var S;if(l.logging>1){var g=["LOG:"];for(S=0;S<arguments.length;S++)g.push(arguments[S]);console.trace.apply(console,g)}if(l.notifyOnLogging>1){var p=[];for(S=0;S<arguments.length;S++)p.push(arguments[S]);v(p.join("<br>"),"long")}},i.warn=function(){var S;if(l.logging>0){var g=["WARN:"];for(S=0;S<arguments.length;S++)g.push(arguments[S]);console.trace.apply(console,g)}if(l.notifyOnLogging>0){var p=[];for(S=0;S<arguments.length;S++)p.push(arguments[S]);v(p.join("<br>"),"stick")}},i.error=function(){var S;if(l.logging>0){var g=["ERROR:"];for(S=0;S<arguments.length;S++)g.push(arguments[S]);console.error.apply(console,g)}if(l.notifyOnLogging>0){var p=[];for(S=0;S<arguments.length;S++)p.push(arguments[S]);v(p.join("<br>"),"stick")}}},30988:function(u,h,a){var l=a(33428);u.exports=function(i,S,g){var p=i.selectAll("g."+g.replace(/\s/g,".")).data(S,function(c){return c[0].trace.uid});p.exit().remove(),p.enter().append("g").attr("class",g),p.order();var _=i.classed("rangeplot")?"nodeRangePlot3":"node3";return p.each(function(c){c[0][_]=l.select(this)}),p}},52248:function(u,h,a){var l=a(36524);h.init2dArray=function(v,i){for(var S=new Array(v),g=0;g<v;g++)S[g]=new Array(i);return S},h.transposeRagged=function(v){var i=0,S=v.length,g,p;for(g=0;g<S;g++)i=Math.max(i,v[g].length);var _=new Array(i);for(g=0;g<i;g++)for(_[g]=new Array(S),p=0;p<S;p++)_[g][p]=v[p][g];return _},h.dot=function(v,i){if(!(v.length&&i.length)||v.length!==i.length)return null;var S=v.length,g,p;if(v[0].length)for(g=new Array(S),p=0;p<S;p++)g[p]=h.dot(v[p],i);else if(i[0].length){var _=h.transposeRagged(i);for(g=new Array(_.length),p=0;p<_.length;p++)g[p]=h.dot(v,_[p])}else for(g=0,p=0;p<S;p++)g+=v[p]*i[p];return g},h.translationMatrix=function(v,i){return[[1,0,v],[0,1,i],[0,0,1]]},h.rotationMatrix=function(v){var i=v*Math.PI/180;return[[Math.cos(i),-Math.sin(i),0],[Math.sin(i),Math.cos(i),0],[0,0,1]]},h.rotationXYMatrix=function(v,i,S){return h.dot(h.dot(h.translationMatrix(i,S),h.rotationMatrix(v)),h.translationMatrix(-i,-S))},h.apply3DTransform=function(v){return function(){var i=arguments,S=arguments.length===1?i[0]:[i[0],i[1],i[2]||0];return h.dot(v,[S[0],S[1],S[2],1]).slice(0,3)}},h.apply2DTransform=function(v){return function(){var i=arguments;i.length===3&&(i=i[0]);var S=arguments.length===1?i[0]:[i[0],i[1]];return h.dot(v,[S[0],S[1],1]).slice(0,2)}},h.apply2DTransform2=function(v){var i=h.apply2DTransform(v);return function(S){return i(S.slice(0,2)).concat(i(S.slice(2,4)))}},h.convertCssMatrix=function(v){if(v){var i=v.length;if(i===16)return v;if(i===6)return[v[0],v[1],0,0,v[2],v[3],0,0,0,0,1,0,v[4],v[5],0,1]}return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},h.inverseTransformMatrix=function(v){var i=[];return l.invert(i,v),[[i[0],i[1],i[2],i[3]],[i[4],i[5],i[6],i[7]],[i[8],i[9],i[10],i[11]],[i[12],i[13],i[14],i[15]]]}},20435:function(u){function h(l,v){var i=l%v;return i<0?i+v:i}function a(l,v){return Math.abs(l)>v/2?l-Math.round(l/v)*v:l}u.exports={mod:h,modHalf:a}},22296:function(u,h,a){var l=a(38248),v=a(38116).isArrayOrTypedArray;u.exports=function(b,x){if(l(x))x=String(x);else if(typeof x!="string"||x.substr(x.length-4)==="[-1]")throw"bad property string";var y=x.split("."),C,w,R,A;for(A=0;A<y.length;A++)if(String(y[A]).slice(0,2)==="__")throw"bad property string";for(A=0;A<y.length;){if(C=String(y[A]).match(/^([^\[\]]*)((\[\-?[0-9]*\])+)$/),C){if(C[1])y[A]=C[1];else if(A===0)y.splice(0,1);else throw"bad property string";for(w=C[2].substr(1,C[2].length-2).split("]["),R=0;R<w.length;R++)A++,y.splice(A,0,Number(w[R]))}A++}return typeof b!="object"?d(b,x,y):{set:p(b,y,x),get:i(b,y),astr:x,parts:y,obj:b}};function i(f,b){return function(){var x=f,y,C,w,R,A;for(R=0;R<b.length-1;R++){if(y=b[R],y===-1){for(C=!0,w=[],A=0;A<x.length;A++)w[A]=i(x[A],b.slice(R+1))(),w[A]!==w[0]&&(C=!1);return C?w[0]:w}if(typeof y=="number"&&!v(x)||(x=x[y],typeof x!="object"||x===null))return}if(!(typeof x!="object"||x===null)&&(w=x[b[R]],w!==null))return w}}var S=/(^|\.)args\[/;function g(f,b){return f===void 0||f===null&&!b.match(S)}function p(f,b,x){return function(y){var C=f,w="",R=g(y,x),A,E;for(E=0;E<b.length-1;E++){if(A=b[E],typeof A=="number"&&!v(C))throw"array index but container is not an array";if(A===-1){if(R=!c(C,b.slice(E+1),y,x),R)break;return}if(!s(C,A,b[E+1],R))break;if(C=C[A],typeof C!="object"||C===null)throw"container is not an object";w=_(w,A)}if(R){if(E===b.length-1&&(delete C[b[E]],Array.isArray(C)&&+b[E]===C.length-1))for(;C.length&&C[C.length-1]===void 0;)C.pop()}else C[b[E]]=y}}function _(f,b){var x=b;return l(b)?x="["+b+"]":f&&(x="."+b),f+x}function c(f,b,x,y){var C=v(x),w=!0,R=x,A=y.replace("-1",0),E=C?!1:g(x,A),k=b[0],L;for(L=0;L<f.length;L++)A=y.replace("-1",L),C&&(R=x[L%x.length],E=g(R,A)),E&&(w=!1),s(f,L,k,E)&&p(f[L],b,y.replace("-1",L))(R);return w}function s(f,b,x,y){if(f[b]===void 0){if(y)return!1;typeof x=="number"?f[b]=[]:f[b]={}}return!0}function d(f,b,x){return{set:function(){throw"bad container"},get:function(){},astr:b,parts:x,obj:f}}},16628:function(u){u.exports=function(){}},41792:function(u,h,a){var l=a(33428),v=a(38248),i=[];u.exports=function(S,g){if(i.indexOf(S)!==-1)return;i.push(S);var p=1e3;v(g)?p=g:g==="long"&&(p=3e3);var _=l.select("body").selectAll(".plotly-notifier").data([0]);_.enter().append("div").classed("plotly-notifier",!0);var c=_.selectAll(".notifier-note").data(i);function s(d){d.duration(700).style("opacity",0).each("end",function(f){var b=i.indexOf(f);b!==-1&&i.splice(b,1),l.select(this).remove()})}c.enter().append("div").classed("notifier-note",!0).style("opacity",0).each(function(d){var f=l.select(this);f.append("button").classed("notifier-close",!0).html("&times;").on("click",function(){f.transition().call(s)});for(var b=f.append("p"),x=d.split(/<br\s*\/?>/g),y=0;y<x.length;y++)y&&b.append("br"),b.append("span").text(x[y]);g==="stick"?f.transition().duration(350).style("opacity",1):f.transition().duration(700).style("opacity",1).transition().delay(p).call(s)})}},72213:function(u,h,a){var l=a(93972),v="data-savedcursor",i="!!";u.exports=function(g,p){var _=g.attr(v);if(p){if(!_){for(var c=(g.attr("class")||"").split(" "),s=0;s<c.length;s++){var d=c[s];d.indexOf("cursor-")===0&&g.attr(v,d.substr(7)).classed(d,!1)}g.attr(v)||g.attr(v,i)}l(g,p)}else _&&(g.attr(v,null),_===i?l(g):l(g,_))}},92065:function(u,h,a){var l=a(52248).dot,v=a(39032).BADNUM,i=u.exports={};i.tester=function(g){var p=g.slice(),_=p[0][0],c=_,s=p[0][1],d=s,f;for((p[p.length-1][0]!==p[0][0]||p[p.length-1][1]!==p[0][1])&&p.push(p[0]),f=1;f<p.length;f++)_=Math.min(_,p[f][0]),c=Math.max(c,p[f][0]),s=Math.min(s,p[f][1]),d=Math.max(d,p[f][1]);var b=!1,x;p.length===5&&(p[0][0]===p[1][0]?p[2][0]===p[3][0]&&p[0][1]===p[3][1]&&p[1][1]===p[2][1]&&(b=!0,x=function(A){return A[0]===p[0][0]}):p[0][1]===p[1][1]&&p[2][1]===p[3][1]&&p[0][0]===p[3][0]&&p[1][0]===p[2][0]&&(b=!0,x=function(A){return A[1]===p[0][1]}));function y(A,E){var k=A[0],L=A[1];return!(k===v||k<_||k>c||L===v||L<s||L>d||E&&x(A))}function C(A,E){var k=A[0],L=A[1];if(k===v||k<_||k>c||L===v||L<s||L>d)return!1;var I=p.length,P=p[0][0],M=p[0][1],F=0,N,T,D,O,U;for(N=1;N<I;N++)if(T=P,D=M,P=p[N][0],M=p[N][1],O=Math.min(T,P),!(k<O||k>Math.max(T,P)||L>Math.max(D,M)))if(L<Math.min(D,M))k!==O&&F++;else{if(P===T?U=L:U=D+(k-T)*(M-D)/(P-T),L===U)return!(N===1&&E);L<=U&&k!==O&&F++}return F%2===1}var w=!0,R=p[0];for(f=1;f<p.length;f++)if(R[0]!==p[f][0]||R[1]!==p[f][1]){w=!1;break}return{xmin:_,xmax:c,ymin:s,ymax:d,pts:p,contains:b?y:C,isRect:b,degenerate:w}},i.isSegmentBent=function(g,p,_,c){var s=g[p],d=[g[_][0]-s[0],g[_][1]-s[1]],f=l(d,d),b=Math.sqrt(f),x=[-d[1]/b,d[0]/b],y,C,w;for(y=p+1;y<_;y++)if(C=[g[y][0]-s[0],g[y][1]-s[1]],w=l(C,d),w<0||w>f||Math.abs(l(C,x))>c)return!0;return!1},i.filter=function(g,p){var _=[g[0]],c=0,s=0;function d(b){g.push(b);var x=_.length,y=c;_.splice(s+1);for(var C=y+1;C<g.length;C++)(C===g.length-1||i.isSegmentBent(g,y,C+1,p))&&(_.push(g[C]),_.length<x-2&&(c=C,s=_.length-1),y=C)}if(g.length>1){var f=g.pop();d(f)}return{addPt:d,raw:g,filtered:_}}},5048:function(u,h,a){var l=a(16576),v=a(28624);u.exports=function(S,g,p){var _=S._fullLayout,c=!0;return _._glcanvas.each(function(s){if(s.regl){s.regl.preloadCachedCode(p);return}if(!(s.pick&&!_._has("parcoords"))){try{s.regl=v({canvas:this,attributes:{antialias:!s.pick,preserveDrawingBuffer:!0},pixelRatio:S._context.plotGlPixelRatio||a.g.devicePixelRatio,extensions:g||[],cachedCode:p||{}})}catch{c=!1}s.regl||(c=!1),c&&this.addEventListener("webglcontextlost",function(d){S&&S.emit&&S.emit("plotly_webglcontextlost",{event:d,layer:s.key})},!1)}}),c||l({container:_._glcontainer.node()}),c}},34296:function(u,h,a){var l=a(38248),v=a(25928);u.exports=function(g){var p;if(g&&g.hasOwnProperty("userAgent")?p=g.userAgent:p=i(),typeof p!="string")return!0;var _=v({ua:{headers:{"user-agent":p}},tablet:!0,featureDetect:!1});if(!_)for(var c=p.split(" "),s=1;s<c.length;s++){var d=c[s];if(d.indexOf("Safari")!==-1)for(var f=s-1;f>-1;f--){var b=c[f];if(b.substr(0,8)==="Version/"){var x=b.substr(8).split(".")[0];if(l(x)&&(x=+x),x>=13)return!0}}}return _};function i(){var S;return typeof navigator<"u"&&(S=navigator.userAgent),S&&S.headers&&typeof S.headers["user-agent"]=="string"&&(S=S.headers["user-agent"]),S}},52416:function(u){u.exports=function(a,l){if(l instanceof RegExp){for(var v=l.toString(),i=0;i<a.length;i++)if(a[i]instanceof RegExp&&a[i].toString()===v)return a;a.push(l)}else(l||l===0)&&a.indexOf(l)===-1&&a.push(l);return a}},94552:function(u,h,a){var l=a(3400),v=a(20556).dfltConfig;function i(g,p){for(var _=[],c,s=0;s<p.length;s++)c=p[s],c===g?_[s]=c:typeof c=="object"?_[s]=Array.isArray(c)?l.extendDeep([],c):l.extendDeepAll({},c):_[s]=c;return _}var S={};S.add=function(g,p,_,c,s){var d,f;if(g.undoQueue=g.undoQueue||{index:0,queue:[],sequence:!1},f=g.undoQueue.index,g.autoplay){g.undoQueue.inSequence||(g.autoplay=!1);return}!g.undoQueue.sequence||g.undoQueue.beginSequence?(d={undo:{calls:[],args:[]},redo:{calls:[],args:[]}},g.undoQueue.queue.splice(f,g.undoQueue.queue.length-f,d),g.undoQueue.index+=1):d=g.undoQueue.queue[f-1],g.undoQueue.beginSequence=!1,d&&(d.undo.calls.unshift(p),d.undo.args.unshift(_),d.redo.calls.push(c),d.redo.args.push(s)),g.undoQueue.queue.length>v.queueLength&&(g.undoQueue.queue.shift(),g.undoQueue.index--)},S.startSequence=function(g){g.undoQueue=g.undoQueue||{index:0,queue:[],sequence:!1},g.undoQueue.sequence=!0,g.undoQueue.beginSequence=!0},S.stopSequence=function(g){g.undoQueue=g.undoQueue||{index:0,queue:[],sequence:!1},g.undoQueue.sequence=!1,g.undoQueue.beginSequence=!1},S.undo=function(p){var _,c;if(!(p.undoQueue===void 0||isNaN(p.undoQueue.index)||p.undoQueue.index<=0)){for(p.undoQueue.index--,_=p.undoQueue.queue[p.undoQueue.index],p.undoQueue.inSequence=!0,c=0;c<_.undo.calls.length;c++)S.plotDo(p,_.undo.calls[c],_.undo.args[c]);p.undoQueue.inSequence=!1,p.autoplay=!1}},S.redo=function(p){var _,c;if(!(p.undoQueue===void 0||isNaN(p.undoQueue.index)||p.undoQueue.index>=p.undoQueue.queue.length)){for(_=p.undoQueue.queue[p.undoQueue.index],p.undoQueue.inSequence=!0,c=0;c<_.redo.calls.length;c++)S.plotDo(p,_.redo.calls[c],_.redo.args[c]);p.undoQueue.inSequence=!1,p.autoplay=!1,p.undoQueue.index++}},S.plotDo=function(g,p,_){g.autoplay=!0,_=i(g,_),p.apply(null,_)},u.exports=S},53756:function(u,h){h.counter=function(a,l,v,i){var S=(l||"")+(v?"":"$"),g=i===!1?"":"^";return a==="xy"?new RegExp(g+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+S):new RegExp(g+a+"([2-9]|[1-9][0-9]+)?"+S)}},23193:function(u){var h=/^(.*)(\.[^\.\[\]]+|\[\d\])$/,a=/^[^\.\[\]]+$/;u.exports=function(l,v){for(;v;){var i=l.match(h);if(i)l=i[1];else if(l.match(a))l="";else throw new Error("bad relativeAttr call:"+[l,v]);if(v.charAt(0)==="^")v=v.slice(1);else break}return l&&v.charAt(0)!=="["?l+"."+v:l+v}},51528:function(u,h,a){var l=a(38116).isArrayOrTypedArray,v=a(63620);u.exports=function i(S,g){for(var p in g){var _=g[p],c=S[p];if(c!==_)if(p.charAt(0)==="_"||typeof _=="function"){if(p in S)continue;S[p]=_}else if(l(_)&&l(c)&&v(_[0])){if(p==="customdata"||p==="ids")continue;for(var s=Math.min(_.length,c.length),d=0;d<s;d++)c[d]!==_[d]&&v(_[d])&&v(c[d])&&i(c[d],_[d])}else v(_)&&v(c)&&(i(c,_),Object.keys(c).length||delete S[p])}}},14952:function(u,h,a){var l=a(38248),v=a(24248),i=a(35536),S=a(39032).BADNUM,g=1e-9;h.findBin=function(d,f,b){if(l(f.start))return b?Math.ceil((d-f.start)/f.size-g)-1:Math.floor((d-f.start)/f.size+g);var x=0,y=f.length,C=0,w=y>1?(f[y-1]-f[0])/(y-1):1,R,A;for(w>=0?A=b?p:_:A=b?s:c,d+=w*g*(b?-1:1)*(w>=0?1:-1);x<y&&C++<100;)R=Math.floor((x+y)/2),A(f[R],d)?x=R+1:y=R;return C>90&&v.log("Long binary search..."),x-1};function p(d,f){return d<f}function _(d,f){return d<=f}function c(d,f){return d>f}function s(d,f){return d>=f}h.sorterAsc=function(d,f){return d-f},h.sorterDes=function(d,f){return f-d},h.distinctVals=function(d){var f=d.slice();f.sort(h.sorterAsc);var b;for(b=f.length-1;b>-1&&f[b]===S;b--);for(var x=f[b]-f[0]||1,y=x/(b||1)/1e4,C=[],w,R=0;R<=b;R++){var A=f[R],E=A-w;w===void 0?(C.push(A),w=A):E>y&&(x=Math.min(x,E),C.push(A),w=A)}return{vals:C,minDiff:x}},h.roundUp=function(d,f,b){for(var x=0,y=f.length-1,C,w=0,R=b?0:1,A=b?1:0,E=b?Math.ceil:Math.floor;x<y&&w++<100;)C=E((x+y)/2),f[C]<=d?x=C+R:y=C-A;return f[x]},h.sort=function(d,f){for(var b=0,x=0,y=1;y<d.length;y++){var C=f(d[y],d[y-1]);if(C<0?b=1:C>0&&(x=1),b&&x)return d.sort(f)}return x?d:d.reverse()},h.findIndexOfMin=function(d,f){f=f||i;for(var b=1/0,x,y=0;y<d.length;y++){var C=f(d[y]);C<b&&(b=C,x=y)}return x}},93972:function(u){u.exports=function(a,l){(a.attr("class")||"").split(" ").forEach(function(v){v.indexOf("cursor-")===0&&a.classed(v,!1)}),l&&a.classed("cursor-"+l,!0)}},16576:function(u,h,a){var l=a(76308),v=function(){};u.exports=function(S){for(var g in S)typeof S[g]=="function"&&(S[g]=v);S.destroy=function(){S.container.parentNode.removeChild(S.container)};var p=document.createElement("div");p.className="no-webgl",p.style.cursor="pointer",p.style.fontSize="24px",p.style.color=l.defaults[0],p.style.position="absolute",p.style.left=p.style.top="0px",p.style.width=p.style.height="100%",p.style["background-color"]=l.lightLine,p.style["z-index"]=30;var _=document.createElement("p");return _.textContent="WebGL is not supported by your browser - visit https://get.webgl.org for more info",_.style.position="relative",_.style.top="50%",_.style.left="50%",_.style.height="30%",_.style.width="50%",_.style.margin="-15% 0 0 -25%",p.appendChild(_),S.container.appendChild(p),S.container.style.background="#FFFFFF",S.container.onclick=function(){window.open("https://get.webgl.org")},!1}},95376:function(u){u.exports=function(a){return Object.keys(a).sort()}},63084:function(u,h,a){var l=a(38248),v=a(38116).isArrayOrTypedArray;h.aggNums=function(i,S,g,p){var _,c;if((!p||p>g.length)&&(p=g.length),l(S)||(S=!1),v(g[0])){for(c=new Array(p),_=0;_<p;_++)c[_]=h.aggNums(i,S,g[_]);g=c}for(_=0;_<p;_++)l(S)?l(g[_])&&(S=i(+S,+g[_])):S=g[_];return S},h.len=function(i){return h.aggNums(function(S){return S+1},0,i)},h.mean=function(i,S){return S||(S=h.len(i)),h.aggNums(function(g,p){return g+p},0,i)/S},h.midRange=function(i){if(!(i===void 0||i.length===0))return(h.aggNums(Math.max,null,i)+h.aggNums(Math.min,null,i))/2},h.variance=function(i,S,g){return S||(S=h.len(i)),l(g)||(g=h.mean(i,S)),h.aggNums(function(p,_){return p+Math.pow(_-g,2)},0,i)/S},h.stdev=function(i,S,g){return Math.sqrt(h.variance(i,S,g))},h.median=function(i){var S=i.slice().sort();return h.interp(S,.5)},h.interp=function(i,S){if(!l(S))throw"n should be a finite number";if(S=S*i.length-.5,S<0)return i[0];if(S>i.length-1)return i[i.length-1];var g=S%1;return g*i[Math.ceil(S)]+(1-g)*i[Math.floor(S)]}},43080:function(u,h,a){var l=a(72160);function v(i){return i?l(i):[0,0,0,1]}u.exports=v},9188:function(u,h,a){var l=a(2264),v=a(43616),i=a(3400),S=null;function g(){if(S!==null)return S;S=!1;var p=i.isIE()||i.isSafari()||i.isIOS();if(window.navigator.userAgent&&!p){var _=Array.from(l.CSS_DECLARATIONS).reverse(),c=window.CSS&&window.CSS.supports||window.supportsCSS;if(typeof c=="function")S=_.some(function(b){return c.apply(null,b)});else{var s=v.tester.append("image").attr("style",l.STYLE),d=window.getComputedStyle(s.node()),f=d.imageRendering;S=_.some(function(b){var x=b[1];return f===x||f===x.toLowerCase()}),s.remove()}}return S}u.exports=g},72736:function(u,h,a){var l=a(33428),v=a(3400),i=v.strTranslate,S=a(9616),g=a(84284).LINE_SPACING,p=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;h.convertToTspans=function(j,G,W){var X=j.text(),Q=!j.attr("data-notex")&&G&&G._context.typesetMath&&typeof MathJax<"u"&&X.match(p),ae=l.select(j.node().parentNode);if(ae.empty())return;var ie=j.attr("class")?j.attr("class").split(" ")[0]:"text";ie+="-math",ae.selectAll("svg."+ie).remove(),ae.selectAll("g."+ie+"-group").remove(),j.style("display",null).attr({"data-unformatted":X,"data-math":"N"});function he(){ae.empty()||(ie=j.attr("class")+"-math",ae.select("svg."+ie).remove()),j.text("").style("white-space","pre");var J=B(j.node(),X);J&&j.style("pointer-events","all"),h.positionText(j),W&&W.call(j)}return Q?(G&&G._promises||[]).push(new Promise(function(J){j.style("display","none");var Z=parseInt(j.node().style.fontSize,10),le={fontSize:Z};f(Q[2],le,function(K,te,ce){ae.selectAll("svg."+ie).remove(),ae.selectAll("g."+ie+"-group").remove();var re=K&&K.select("svg");if(!re||!re.node()){he(),J();return}var ee=ae.append("g").classed(ie+"-group",!0).attr({"pointer-events":"none","data-unformatted":X,"data-math":"Y"});ee.node().appendChild(re.node()),te&&te.node()&&re.node().insertBefore(te.node().cloneNode(!0),re.node().firstChild);var de=ce.width,oe=ce.height;re.attr({class:ie,height:oe,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var fe=j.node().style.fill||"black",me=re.select("g");me.attr({fill:fe,stroke:fe});var Te=me.node().getBoundingClientRect(),we=Te.width,Be=Te.height;(we>de||Be>oe)&&(re.style("overflow","hidden"),Te=re.node().getBoundingClientRect(),we=Te.width,Be=Te.height);var Ae=+j.attr("x"),Re=+j.attr("y"),be=Z||j.node().getBoundingClientRect().height,Pe=-be/4;if(ie[0]==="y")ee.attr({transform:"rotate("+[-90,Ae,Re]+")"+i(-we/2,Pe-Be/2)});else if(ie[0]==="l")Re=Pe-Be/2;else if(ie[0]==="a"&&ie.indexOf("atitle")!==0)Ae=0,Re=Pe;else{var Ke=j.attr("text-anchor");Ae=Ae-we*(Ke==="middle"?.5:Ke==="end"?1:0),Re=Re+Pe-Be/2}re.attr({x:Ae,y:Re}),W&&W.call(j,ee),J(ee)})})):he(),j};var _=/(<|&lt;|&#60;)/g,c=/(>|&gt;|&#62;)/g;function s(j){return j.replace(_,"\\lt ").replace(c,"\\gt ")}var d=[["$","$"],["\\(","\\)"]];function f(j,G,W){var X=parseInt((MathJax.version||"").split(".")[0]);if(X!==2&&X!==3){v.warn("No MathJax version:",MathJax.version);return}var Q,ae,ie,he,J=function(){return ae=v.extendDeepAll({},MathJax.Hub.config),ie=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:d},displayAlign:"left"})},Z=function(){ae=v.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=d},le=function(){if(Q=MathJax.Hub.config.menuSettings.renderer,Q!=="SVG")return MathJax.Hub.setRenderer("SVG")},K=function(){Q=MathJax.config.startup.output,Q!=="svg"&&(MathJax.config.startup.output="svg")},te=function(){var fe="math-output-"+v.randstr({},64);he=l.select("body").append("div").attr({id:fe}).style({visibility:"hidden",position:"absolute","font-size":G.fontSize+"px"}).text(s(j));var me=he.node();return X===2?MathJax.Hub.Typeset(me):MathJax.typeset([me])},ce=function(){var fe=he.select(X===2?".MathJax_SVG":".MathJax"),me=!fe.empty()&&he.select("svg").node();if(!me)v.log("There was an error in the tex syntax.",j),W();else{var Te=me.getBoundingClientRect(),we;X===2?we=l.select("body").select("#MathJax_SVG_glyphs"):we=fe.select("defs"),W(fe,we,Te)}he.remove()},re=function(){if(Q!=="SVG")return MathJax.Hub.setRenderer(Q)},ee=function(){Q!=="svg"&&(MathJax.config.startup.output=Q)},de=function(){return ie!==void 0&&(MathJax.Hub.processSectionDelay=ie),MathJax.Hub.Config(ae)},oe=function(){MathJax.config=ae};X===2?MathJax.Hub.Queue(J,le,te,ce,re,de):X===3&&(Z(),K(),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){te(),ce(),ee(),oe()}))}var b={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},x={sub:"0.3em",sup:"-0.6em"},y={sub:"-0.21em",sup:"0.42em"},C="",w=["http:","https:","mailto:","",void 0,":"],R=h.NEWLINES=/(\r\n?|\n)/g,A=/(<[^<>]*>)/,E=/<(\/?)([^ >]*)(\s+(.*))?>/i,k=/<br(\s+.*)?>/i;h.BR_TAG_ALL=/<br(\s+.*)?>/gi;var L=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,I=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,P=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,M=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function F(j,G){if(!j)return null;var W=j.match(G),X=W&&(W[3]||W[4]);return X&&O(X)}var N=/(^|;)\s*color:/;h.plainText=function(j,G){G=G||{};for(var W=G.len!==void 0&&G.len!==-1?G.len:1/0,X=G.allowedTags!==void 0?G.allowedTags:["br"],Q="...",ae=Q.length,ie=j.split(A),he=[],J="",Z=0,le=0;le<ie.length;le++){var K=ie[le],te=K.match(E),ce=te&&te[2].toLowerCase();if(ce)X.indexOf(ce)!==-1&&(he.push(K),J=ce);else{var re=K.length;if(Z+re<W)he.push(K),Z+=re;else if(Z<W){var ee=W-Z;J&&(J!=="br"||ee<=ae||re<=ae)&&he.pop(),W>ae?he.push(K.substr(0,ee-ae)+Q):he.push(K.substr(0,ee));break}J=""}}return he.join("")};var T={mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},D=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function O(j){return j.replace(D,function(G,W){var X;return W.charAt(0)==="#"?X=U(W.charAt(1)==="x"?parseInt(W.substr(2),16):parseInt(W.substr(1),10)):X=T[W],X||G})}h.convertEntities=O;function U(j){if(!(j>1114111)){var G=String.fromCodePoint;if(G)return G(j);var W=String.fromCharCode;return j<=65535?W(j):W((j>>10)+55232,j%1024+56320)}}function B(j,G){G=G.replace(R," ");var W=!1,X=[],Q,ae=-1;function ie(){ae++;var Be=document.createElementNS(S.svg,"tspan");l.select(Be).attr({class:"line",dy:ae*g+"em"}),j.appendChild(Be),Q=Be;var Ae=X;if(X=[{node:Be}],Ae.length>1)for(var Re=1;Re<Ae.length;Re++)he(Ae[Re])}function he(Be){var Ae=Be.type,Re={},be;if(Ae==="a"){be="a";var Pe=Be.target,Ke=Be.href,ze=Be.popup;Ke&&(Re={"xlink:xlink:show":Pe==="_blank"||Pe.charAt(0)!=="_"?"new":"replace",target:Pe,"xlink:xlink:href":Ke},ze&&(Re.onclick='window.open(this.href.baseVal,this.target.baseVal,"'+ze+'");return false;'))}else be="tspan";Be.style&&(Re.style=Be.style);var Fe=document.createElementNS(S.svg,be);if(Ae==="sup"||Ae==="sub"){J(Q,C),Q.appendChild(Fe);var We=document.createElementNS(S.svg,"tspan");J(We,C),l.select(We).attr("dy",y[Ae]),Re.dy=x[Ae],Q.appendChild(Fe),Q.appendChild(We)}else Q.appendChild(Fe);l.select(Fe).attr(Re),Q=Be.node=Fe,X.push(Be)}function J(Be,Ae){Be.appendChild(document.createTextNode(Ae))}function Z(Be){if(X.length===1){v.log("Ignoring unexpected end tag </"+Be+">.",G);return}var Ae=X.pop();Be!==Ae.type&&v.log("Start tag <"+Ae.type+"> doesnt match end tag <"+Be+">. Pretending it did match.",G),Q=X[X.length-1].node}var le=k.test(G);le?ie():(Q=j,X=[{node:j}]);for(var K=G.split(A),te=0;te<K.length;te++){var ce=K[te],re=ce.match(E),ee=re&&re[2].toLowerCase(),de=b[ee];if(ee==="br")ie();else if(de===void 0)J(Q,O(ce));else if(re[1])Z(ee);else{var oe=re[4],fe={type:ee},me=F(oe,L);if(me?(me=me.replace(N,"$1 fill:"),de&&(me+=";"+de)):de&&(me=de),me&&(fe.style=me),ee==="a"){W=!0;var Te=F(oe,I);if(Te){var we=Y(Te);we&&(fe.href=we,fe.target=F(oe,P)||"_blank",fe.popup=F(oe,M))}}he(fe)}}return W}function Y(j){var G=encodeURI(decodeURI(j)),W=document.createElement("a"),X=document.createElement("a");W.href=j,X.href=G;var Q=W.protocol,ae=X.protocol;return w.indexOf(Q)!==-1&&w.indexOf(ae)!==-1?G:""}h.sanitizeHTML=function(G){G=G.replace(R," ");for(var W=document.createElement("p"),X=W,Q=[],ae=G.split(A),ie=0;ie<ae.length;ie++){var he=ae[ie],J=he.match(E),Z=J&&J[2].toLowerCase();if(Z in b)if(J[1])Q.length&&(X=Q.pop());else{var le=J[4],K=F(le,L),te=K?{style:K}:{};if(Z==="a"){var ce=F(le,I);if(ce){var re=Y(ce);if(re){te.href=re;var ee=F(le,P);ee&&(te.target=ee)}}}var de=document.createElement(Z);X.appendChild(de),l.select(de).attr(te),X=de,Q.push(de)}else X.appendChild(document.createTextNode(O(he)))}var oe="innerHTML";return W[oe]},h.lineCount=function(G){return G.selectAll("tspan.line").size()||1},h.positionText=function(G,W,X){return G.each(function(){var Q=l.select(this);function ae(J,Z){return Z===void 0?(Z=Q.attr(J),Z===null&&(Q.attr(J,0),Z=0)):Q.attr(J,Z),Z}var ie=ae("x",W),he=ae("y",X);this.nodeName==="text"&&Q.selectAll("tspan.line").attr({x:ie,y:he})})};function z(j,G,W){var X=W.horizontalAlign,Q=W.verticalAlign||"top",ae=j.node().getBoundingClientRect(),ie=G.node().getBoundingClientRect(),he,J,Z;return Q==="bottom"?J=function(){return ae.bottom-he.height}:Q==="middle"?J=function(){return ae.top+(ae.height-he.height)/2}:J=function(){return ae.top},X==="right"?Z=function(){return ae.right-he.width}:X==="center"?Z=function(){return ae.left+(ae.width-he.width)/2}:Z=function(){return ae.left},function(){he=this.node().getBoundingClientRect();var le=Z()-ie.left,K=J()-ie.top,te=W.gd||{};if(W.gd){te._fullLayout._calcInverseTransform(te);var ce=v.apply3DTransform(te._fullLayout._invTransform)(le,K);le=ce[0],K=ce[1]}return this.style({top:K+"px",left:le+"px","z-index":1e3}),this}}var V="1px ";h.makeTextShadow=function(j){var G=V,W=V,X=V;return G+W+X+j+", -"+G+"-"+W+X+j+", "+G+"-"+W+X+j+", -"+G+W+X+j},h.makeEditable=function(j,G){var W=G.gd,X=G.delegate,Q=l.dispatch("edit","input","cancel"),ae=X||j;if(j.style({"pointer-events":X?"none":"all"}),j.size()!==1)throw new Error("boo");function ie(){J(),j.style({opacity:0});var Z=ae.attr("class"),le;Z?le="."+Z.split(" ")[0]+"-math-group":le="[class*=-math-group]",le&&l.select(j.node().parentNode).select(le).style({opacity:0})}function he(Z){var le=Z.node(),K=document.createRange();K.selectNodeContents(le);var te=window.getSelection();te.removeAllRanges(),te.addRange(K),le.focus()}function J(){var Z=l.select(W),le=Z.select(".svg-container"),K=le.append("div"),te=j.node().style,ce=parseFloat(te.fontSize||12),re=G.text;re===void 0&&(re=j.attr("data-unformatted")),K.classed("plugin-editable editable",!0).style({position:"absolute","font-family":te.fontFamily||"Arial","font-size":ce,color:G.fill||te.fill||"black",opacity:1,"background-color":G.background||"transparent",outline:"#ffffff33 1px solid",margin:[-ce/8+1,0,0,-1].join("px ")+"px",padding:"0","box-sizing":"border-box"}).attr({contenteditable:!0}).text(re).call(z(j,le,G)).on("blur",function(){W._editing=!1,j.text(this.textContent).style({opacity:1});var ee=l.select(this).attr("class"),de;ee?de="."+ee.split(" ")[0]+"-math-group":de="[class*=-math-group]",de&&l.select(j.node().parentNode).select(de).style({opacity:0});var oe=this.textContent;l.select(this).transition().duration(0).remove(),l.select(document).on("mouseup",null),Q.edit.call(j,oe)}).on("focus",function(){var ee=this;W._editing=!0,l.select(document).on("mouseup",function(){if(l.event.target===ee)return!1;document.activeElement===K.node()&&K.node().blur()})}).on("keyup",function(){l.event.which===27?(W._editing=!1,j.style({opacity:1}),l.select(this).style({opacity:0}).on("blur",function(){return!1}).transition().remove(),Q.cancel.call(j,this.textContent)):(Q.input.call(j,this.textContent),l.select(this).call(z(j,le,G)))}).on("keydown",function(){l.event.which===13&&this.blur()}).call(he)}return G.immediate?ie():ae.on("click",ie),l.rebind(j,Q,"on")}},91200:function(u,h){var a={};h.throttle=function(i,S,g){var p=a[i],_=Date.now();if(!p){for(var c in a)a[c].ts<_-6e4&&delete a[c];p=a[i]={ts:0,timer:null}}l(p);function s(){g(),p.ts=Date.now(),p.onDone&&(p.onDone(),p.onDone=null)}if(_>p.ts+S){s();return}p.timer=setTimeout(function(){s(),p.timer=null},S)},h.done=function(v){var i=a[v];return!i||!i.timer?Promise.resolve():new Promise(function(S){var g=i.onDone;i.onDone=function(){g&&g(),S(),i.onDone=null}})},h.clear=function(v){if(v)l(a[v]),delete a[v];else for(var i in a)h.clear(i)};function l(v){v&&v.timer!==null&&(clearTimeout(v.timer),v.timer=null)}},36896:function(u,h,a){var l=a(38248);u.exports=function(i,S){if(i>0)return Math.log(i)/Math.LN10;var g=Math.log(Math.min(S[0],S[1]))/Math.LN10;return l(g)||(g=Math.log(Math.max(S[0],S[1]))/Math.LN10-6),g}},59972:function(u,h,a){var l=u.exports={},v=a(79552).locationmodeToLayer,i=a(55712).NO;l.getTopojsonName=function(S){return[S.scope.replace(/ /g,"-"),"_",S.resolution.toString(),"m"].join("")},l.getTopojsonPath=function(S,g){return S+g+".json"},l.getTopojsonFeatures=function(S,g){var p=v[S.locationmode],_=g.objects[p];return i(g,_).features}},11680:function(u){u.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},6580:function(u){u.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},69820:function(u,h,a){var l=a(24040);u.exports=function(i){for(var S=l.layoutArrayContainers,g=l.layoutArrayRegexes,p=i.split("[")[0],_,c,s=0;s<g.length;s++)if(c=i.match(g[s]),c&&c.index===0){_=c[0];break}if(_||(_=S[S.indexOf(p)]),!_)return!1;var d=i.substr(_.length);return d?(c=d.match(/^\[(0|[1-9][0-9]*)\](\.(.+))?$/),c?{array:_,index:Number(c[1]),property:c[3]||""}:!1):{array:_,index:"",property:""}}},67824:function(u,h,a){var l=a(92880).extendFlat,v=a(63620),i={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"]},S={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"]},g=i.flags.slice().concat(["fullReplot"]),p=S.flags.slice().concat("layoutReplot");u.exports={traces:i,layout:S,traceFlags:function(){return _(g)},layoutFlags:function(){return _(p)},update:function(d,f){var b=f.editType;if(b&&b!=="none")for(var x=b.split("+"),y=0;y<x.length;y++)d[x[y]]=!0},overrideAll:c};function _(d){for(var f={},b=0;b<d.length;b++)f[d[b]]=!1;return f}function c(d,f,b){var x=l({},d);for(var y in x){var C=x[y];v(C)&&(x[y]=s(C,f,b,y))}return b==="from-root"&&(x.editType=f),x}function s(d,f,b,x){if(d.valType){var y=l({},d);if(y.editType=f,Array.isArray(d.items)){y.items=new Array(d.items.length);for(var C=0;C<d.items.length;C++)y.items[C]=s(d.items[C],f)}return y}else return c(d,f,x.charAt(0)==="_"?"nested":"from-root")}},93404:function(u,h,a){var l=a(38248),v=a(61784),i=a(24040),S=a(3400),g=a(7316),p=a(79811),_=a(76308),c=p.cleanId,s=p.getFromTrace,d=i.traceIs;h.clearPromiseQueue=function(k){Array.isArray(k._promises)&&k._promises.length>0&&S.log("Clearing previous rejected promises from queue."),k._promises=[]},h.cleanLayout=function(k){var L,I;k||(k={}),k.xaxis1&&(k.xaxis||(k.xaxis=k.xaxis1),delete k.xaxis1),k.yaxis1&&(k.yaxis||(k.yaxis=k.yaxis1),delete k.yaxis1),k.scene1&&(k.scene||(k.scene=k.scene1),delete k.scene1);var P=(g.subplotsRegistry.cartesian||{}).attrRegex,M=(g.subplotsRegistry.polar||{}).attrRegex,F=(g.subplotsRegistry.ternary||{}).attrRegex,N=(g.subplotsRegistry.gl3d||{}).attrRegex,T=Object.keys(k);for(L=0;L<T.length;L++){var D=T[L];if(P&&P.test(D)){var O=k[D];O.anchor&&O.anchor!=="free"&&(O.anchor=c(O.anchor)),O.overlaying&&(O.overlaying=c(O.overlaying)),O.type||(O.isdate?O.type="date":O.islog?O.type="log":O.isdate===!1&&O.islog===!1&&(O.type="linear")),(O.autorange==="withzero"||O.autorange==="tozero")&&(O.autorange=!0,O.rangemode="tozero"),O.insiderange&&delete O.range,delete O.islog,delete O.isdate,delete O.categories,w(O,"domain")&&delete O.domain,O.autotick!==void 0&&(O.tickmode===void 0&&(O.tickmode=O.autotick?"auto":"linear"),delete O.autotick),b(O)}else if(M&&M.test(D)){var U=k[D];b(U.radialaxis)}else if(F&&F.test(D)){var B=k[D];b(B.aaxis),b(B.baxis),b(B.caxis)}else if(N&&N.test(D)){var Y=k[D],z=Y.cameraposition;if(Array.isArray(z)&&z[0].length===4){var V=z[0],j=z[1],G=z[2],W=v([],V),X=[];for(I=0;I<3;++I)X[I]=j[I]+G*W[2+4*I];Y.camera={eye:{x:X[0],y:X[1],z:X[2]},center:{x:j[0],y:j[1],z:j[2]},up:{x:0,y:0,z:1}},delete Y.cameraposition}b(Y.xaxis),b(Y.yaxis),b(Y.zaxis)}}var Q=Array.isArray(k.annotations)?k.annotations.length:0;for(L=0;L<Q;L++){var ae=k.annotations[L];S.isPlainObject(ae)&&(ae.ref&&(ae.ref==="paper"?(ae.xref="paper",ae.yref="paper"):ae.ref==="data"&&(ae.xref="x",ae.yref="y"),delete ae.ref),f(ae,"xref"),f(ae,"yref"))}var ie=Array.isArray(k.shapes)?k.shapes.length:0;for(L=0;L<ie;L++){var he=k.shapes[L];S.isPlainObject(he)&&(f(he,"xref"),f(he,"yref"))}var J=Array.isArray(k.images)?k.images.length:0;for(L=0;L<J;L++){var Z=k.images[L];S.isPlainObject(Z)&&(f(Z,"xref"),f(Z,"yref"))}var le=k.legend;return le&&(le.x>3?(le.x=1.02,le.xanchor="left"):le.x<-2&&(le.x=-.02,le.xanchor="right"),le.y>3?(le.y=1.02,le.yanchor="bottom"):le.y<-2&&(le.y=-.02,le.yanchor="top")),b(k),k.dragmode==="rotate"&&(k.dragmode="orbit"),_.clean(k),k.template&&k.template.layout&&h.cleanLayout(k.template.layout),k};function f(k,L){var I=k[L],P=L.charAt(0);I&&I!=="paper"&&(k[L]=c(I,P,!0))}function b(k){k&&((typeof k.title=="string"||typeof k.title=="number")&&(k.title={text:k.title}),L("titlefont","font"),L("titleposition","position"),L("titleside","side"),L("titleoffset","offset"));function L(I,P){var M=k[I],F=k.title&&k.title[P];M&&!F&&(k.title||(k.title={}),k.title[P]=k[I],delete k[I])}}h.cleanData=function(k){for(var L=0;L<k.length;L++){var I=k[L],P;if(I.type==="histogramy"&&"xbins"in I&&!("ybins"in I)&&(I.ybins=I.xbins,delete I.xbins),I.error_y&&"opacity"in I.error_y){var M=_.defaults,F=I.error_y.color||(d(I,"bar")?_.defaultLine:M[L%M.length]);I.error_y.color=_.addOpacity(_.rgb(F),_.opacity(F)*I.error_y.opacity),delete I.error_y.opacity}if("bardir"in I&&(I.bardir==="h"&&(d(I,"bar")||I.type.substr(0,9)==="histogram")&&(I.orientation="h",h.swapXYData(I)),delete I.bardir),I.type==="histogramy"&&h.swapXYData(I),(I.type==="histogramx"||I.type==="histogramy")&&(I.type="histogram"),"scl"in I&&!("colorscale"in I)&&(I.colorscale=I.scl,delete I.scl),"reversescl"in I&&!("reversescale"in I)&&(I.reversescale=I.reversescl,delete I.reversescl),I.xaxis&&(I.xaxis=c(I.xaxis,"x")),I.yaxis&&(I.yaxis=c(I.yaxis,"y")),d(I,"gl3d")&&I.scene&&(I.scene=g.subplotsRegistry.gl3d.cleanId(I.scene)),!d(I,"pie-like")&&!d(I,"bar-like"))if(Array.isArray(I.textposition))for(P=0;P<I.textposition.length;P++)I.textposition[P]=C(I.textposition[P]);else I.textposition&&(I.textposition=C(I.textposition));var N=i.getModule(I);if(N&&N.colorbar){var T=N.colorbar.container,D=T?I[T]:I;D&&D.colorscale&&(D.colorscale==="YIGnBu"&&(D.colorscale="YlGnBu"),D.colorscale==="YIOrRd"&&(D.colorscale="YlOrRd"))}if(I.type==="surface"&&S.isPlainObject(I.contours)){var O=["x","y","z"];for(P=0;P<O.length;P++){var U=I.contours[O[P]];S.isPlainObject(U)&&(U.highlightColor&&(U.highlightcolor=U.highlightColor,delete U.highlightColor),U.highlightWidth&&(U.highlightwidth=U.highlightWidth,delete U.highlightWidth))}}if(I.type==="candlestick"||I.type==="ohlc"){var B=(I.increasing||{}).showlegend!==!1,Y=(I.decreasing||{}).showlegend!==!1,z=x(I.increasing),V=x(I.decreasing);if(z!==!1&&V!==!1){var j=y(z,V,B,Y);j&&(I.name=j)}else(z||V)&&!I.name&&(I.name=z||V)}if(Array.isArray(I.transforms)){var G=I.transforms;for(P=0;P<G.length;P++){var W=G[P];if(S.isPlainObject(W))switch(W.type){case"filter":W.filtersrc&&(W.target=W.filtersrc,delete W.filtersrc),W.calendar&&(W.valuecalendar||(W.valuecalendar=W.calendar),delete W.calendar);break;case"groupby":if(W.styles=W.styles||W.style,W.styles&&!Array.isArray(W.styles)){var X=W.styles,Q=Object.keys(X);W.styles=[];for(var ae=0;ae<Q.length;ae++)W.styles.push({target:Q[ae],value:X[Q[ae]]})}break}}}w(I,"line")&&delete I.line,"marker"in I&&(w(I.marker,"line")&&delete I.marker.line,w(I,"marker")&&delete I.marker),_.clean(I),I.autobinx&&(delete I.autobinx,delete I.xbins),I.autobiny&&(delete I.autobiny,delete I.ybins),b(I),I.colorbar&&b(I.colorbar),I.marker&&I.marker.colorbar&&b(I.marker.colorbar),I.line&&I.line.colorbar&&b(I.line.colorbar),I.aaxis&&b(I.aaxis),I.baxis&&b(I.baxis)}};function x(k){if(!S.isPlainObject(k))return!1;var L=k.name;return delete k.name,delete k.showlegend,(typeof L=="string"||typeof L=="number")&&String(L)}function y(k,L,I,P){if(I&&!P)return k;if(P&&!I||!k.trim())return L;if(!L.trim())return k;var M=Math.min(k.length,L.length),F;for(F=0;F<M&&k.charAt(F)===L.charAt(F);F++);var N=k.substr(0,F);return N.trim()}function C(k){var L="middle",I="center";return typeof k=="string"&&(k.indexOf("top")!==-1?L="top":k.indexOf("bottom")!==-1&&(L="bottom"),k.indexOf("left")!==-1?I="left":k.indexOf("right")!==-1&&(I="right")),L+" "+I}function w(k,L){return L in k&&typeof k[L]=="object"&&Object.keys(k[L]).length===0}h.swapXYData=function(k){var L;if(S.swapAttrs(k,["?","?0","d?","?bins","nbins?","autobin?","?src","error_?"]),Array.isArray(k.z)&&Array.isArray(k.z[0])&&(k.transpose?delete k.transpose:k.transpose=!0),k.error_x&&k.error_y){var I=k.error_y,P="copy_ystyle"in I?I.copy_ystyle:!(I.color||I.thickness||I.width);S.swapAttrs(k,["error_?.copy_ystyle"]),P&&S.swapAttrs(k,["error_?.color","error_?.thickness","error_?.width"])}if(typeof k.hoverinfo=="string"){var M=k.hoverinfo.split("+");for(L=0;L<M.length;L++)M[L]==="x"?M[L]="y":M[L]==="y"&&(M[L]="x");k.hoverinfo=M.join("+")}},h.coerceTraceIndices=function(k,L){if(l(L))return[L];if(!Array.isArray(L)||!L.length)return k.data.map(function(M,F){return F});if(Array.isArray(L)){for(var I=[],P=0;P<L.length;P++)S.isIndex(L[P],k.data.length)?I.push(L[P]):S.warn("trace index (",L[P],") is not a number or is out of bounds");return I}return L},h.manageArrayContainers=function(k,L,I){var P=k.obj,M=k.parts,F=M.length,N=M[F-1],T=l(N);if(T&&L===null){var D=M.slice(0,F-1).join("."),O=S.nestedProperty(P,D).get();O.splice(N,1)}else T&&k.get()===void 0&&k.get()===void 0&&(I[k.astr]=null),k.set(L)};var R=/(\.[^\[\]\.]+|\[[^\[\]\.]+\])$/;function A(k){var L=k.search(R);if(L>0)return k.substr(0,L)}h.hasParent=function(k,L){for(var I=A(L);I;){if(I in k)return!0;I=A(I)}return!1};var E=["x","y","z"];h.clearAxisTypes=function(k,L,I){for(var P=0;P<L.length;P++)for(var M=k._fullData[P],F=0;F<3;F++){var N=s(k,M,E[F]);if(N&&N.type!=="log"){var T=N._name,D=N._id.substr(1);if(D.substr(0,5)==="scene"){if(I[D]!==void 0)continue;T=D+"."+T}var O=T+".type";I[T]===void 0&&I[O]===void 0&&S.nestedProperty(k.layout,O).set(null)}}}},22448:function(u,h,a){var l=a(36424);h._doPlot=l._doPlot,h.newPlot=l.newPlot,h.restyle=l.restyle,h.relayout=l.relayout,h.redraw=l.redraw,h.update=l.update,h._guiRestyle=l._guiRestyle,h._guiRelayout=l._guiRelayout,h._guiUpdate=l._guiUpdate,h._storeDirectGUIEdit=l._storeDirectGUIEdit,h.react=l.react,h.extendTraces=l.extendTraces,h.prependTraces=l.prependTraces,h.addTraces=l.addTraces,h.deleteTraces=l.deleteTraces,h.moveTraces=l.moveTraces,h.purge=l.purge,h.addFrames=l.addFrames,h.deleteFrames=l.deleteFrames,h.animate=l.animate,h.setPlotConfig=l.setPlotConfig;var v=a(52200).getGraphDiv,i=a(4016).eraseActiveShape;h.deleteActiveShape=function(g){return i(v(g))},h.toImage=a(67024),h.validate=a(21480),h.downloadImage=a(39792);var S=a(94828);h.makeTemplate=S.makeTemplate,h.validateTemplate=S.validateTemplate},17680:function(u,h,a){var l=a(63620),v=a(16628),i=a(24248),S=a(14952).sorterAsc,g=a(24040);h.containerArrayMatch=a(69820);var p=h.isAddVal=function(s){return s==="add"||l(s)},_=h.isRemoveVal=function(s){return s===null||s==="remove"};h.applyContainerArrayChanges=function(s,d,f,b,x){var y=d.astr,C=g.getComponentMethod(y,"supplyLayoutDefaults"),w=g.getComponentMethod(y,"draw"),R=g.getComponentMethod(y,"drawOne"),A=b.replot||b.recalc||C===v||w===v,E=s.layout,k=s._fullLayout;if(f[""]){Object.keys(f).length>1&&i.warn("Full array edits are incompatible with other edits",y);var L=f[""][""];if(_(L))d.set(null);else if(Array.isArray(L))d.set(L);else return i.warn("Unrecognized full array edit value",y,L),!0;return A?!1:(C(E,k),w(s),!0)}var I=Object.keys(f).map(Number).sort(S),P=d.get(),M=P||[],F=x(k,y).get(),N=[],T=-1,D=M.length,O,U,B,Y,z,V,j,G;for(O=0;O<I.length;O++){if(B=I[O],Y=f[B],z=Object.keys(Y),V=Y[""],j=p(V),B<0||B>M.length-(j?0:1)){i.warn("index out of range",y,B);continue}if(V!==void 0)z.length>1&&i.warn("Insertion & removal are incompatible with edits to the same index.",y,B),_(V)?N.push(B):j?(V==="add"&&(V={}),M.splice(B,0,V),F&&F.splice(B,0,{})):i.warn("Unrecognized full object edit value",y,B,V),T===-1&&(T=B);else for(U=0;U<z.length;U++)G=y+"["+B+"].",x(M[B],z[U],G).set(Y[z[U]])}for(O=N.length-1;O>=0;O--)M.splice(N[O],1),F&&F.splice(N[O],1);if(M.length?P||d.set(M):d.set(null),A)return!1;if(C(E,k),R!==v){var W;if(T===-1)W=I;else{for(D=Math.max(M.length,D),W=[],O=0;O<I.length&&(B=I[O],!(B>=T));O++)W.push(B);for(O=T;O<D;O++)W.push(O)}for(O=0;O<W.length;O++)R(s,W[O])}else w(s);return!0}},36424:function(u,h,a){var l=a(33428),v=a(38248),i=a(52264),S=a(3400),g=S.nestedProperty,p=a(95924),_=a(94552),c=a(24040),s=a(73060),d=a(7316),f=a(54460),b=a(96312),x=a(94724),y=a(43616),C=a(76308),w=a(42464).initInteractions,R=a(9616),A=a(22676).clearOutline,E=a(20556).dfltConfig,k=a(17680),L=a(93404),I=a(39172),P=a(67824),M=a(33816).AX_NAME_PATTERN,F=0,N=5;function T(Ne,je,Je,ut){var Et;if(Ne=S.getGraphDiv(Ne),p.init(Ne),S.isPlainObject(je)){var wt=je;je=wt.data,Je=wt.layout,ut=wt.config,Et=wt.frames}var nr=p.triggerHandler(Ne,"plotly_beforeplot",[je,Je,ut]);if(nr===!1)return Promise.reject();!je&&!Je&&!S.isPlotDiv(Ne)&&S.warn("Calling _doPlot as if redrawing but this container doesn't yet have a plot.",Ne);function ir(){if(Et)return h.addFrames(Ne,Et)}Y(Ne,ut),Je||(Je={}),l.select(Ne).classed("js-plotly-plot",!0),y.makeTester(),Array.isArray(Ne._promises)||(Ne._promises=[]);var It=(Ne.data||[]).length===0&&Array.isArray(je);Array.isArray(je)&&(L.cleanData(je),It?Ne.data=je:Ne.data.push.apply(Ne.data,je),Ne.empty=!1),(!Ne.layout||It)&&(Ne.layout=L.cleanLayout(Je)),d.supplyDefaults(Ne);var Gt=Ne._fullLayout,cr=Gt._has("cartesian");Gt._replotting=!0,(It||Gt._shouldCreateBgLayer)&&(Le(Ne),Gt._shouldCreateBgLayer&&delete Gt._shouldCreateBgLayer),y.initGradients(Ne),y.initPatterns(Ne),It&&f.saveShowSpikeInitial(Ne);var Pr=!Ne.calcdata||Ne.calcdata.length!==(Ne._fullData||[]).length;Pr&&d.doCalcdata(Ne);for(var Ct=0;Ct<Ne.calcdata.length;Ct++)Ne.calcdata[Ct][0].trace=Ne._fullData[Ct];Ne._context.responsive?Ne._responsiveChartHandler||(Ne._responsiveChartHandler=function(){S.isHidden(Ne)||d.resize(Ne)},window.addEventListener("resize",Ne._responsiveChartHandler)):S.clearResponsive(Ne);var or=S.extendFlat({},Gt._size),ur=0;function Ir(){for(var Zt=Gt._basePlotModules,Xt=0;Xt<Zt.length;Xt++)Zt[Xt].drawFramework&&Zt[Xt].drawFramework(Ne);!Gt._glcanvas&&Gt._has("gl")&&(Gt._glcanvas=Gt._glcontainer.selectAll(".gl-canvas").data([{key:"contextLayer",context:!0,pick:!1},{key:"focusLayer",context:!1,pick:!1},{key:"pickLayer",context:!1,pick:!0}],function(Tr){return Tr.key}),Gt._glcanvas.enter().append("canvas").attr("class",function(Tr){return"gl-canvas gl-canvas-"+Tr.key.replace("Layer","")}).style({position:"absolute",top:0,left:0,overflow:"visible","pointer-events":"none"}));var sr=Ne._context.plotGlPixelRatio;if(Gt._glcanvas){Gt._glcanvas.attr("width",Gt.width*sr).attr("height",Gt.height*sr).style("width",Gt.width+"px").style("height",Gt.height+"px");var Sr=Gt._glcanvas.data()[0].regl;if(Sr&&(Math.floor(Gt.width*sr)!==Sr._gl.drawingBufferWidth||Math.floor(Gt.height*sr)!==Sr._gl.drawingBufferHeight)){var wr="WebGL context buffer and canvas dimensions do not match due to browser/WebGL bug.";if(ur)S.error(wr);else return S.log(wr+" Clearing graph and plotting again."),d.cleanPlot([],{},Ne._fullData,Gt),d.supplyDefaults(Ne),Gt=Ne._fullLayout,d.doCalcdata(Ne),ur++,Ir()}}return Gt.modebar.orientation==="h"?Gt._modebardiv.style("height",null).style("width","100%"):Gt._modebardiv.style("width",null).style("height",Gt.height+"px"),d.previousPromises(Ne)}function yr(){if(d.clearAutoMarginIds(Ne),I.drawMarginPushers(Ne),f.allowAutoMargin(Ne),Ne._fullLayout.title.text&&Ne._fullLayout.title.automargin&&d.allowAutoMargin(Ne,"title.automargin"),Gt._has("pie"))for(var Zt=Ne._fullData,Xt=0;Xt<Zt.length;Xt++){var sr=Zt[Xt];sr.type==="pie"&&sr.automargin&&d.allowAutoMargin(Ne,"pie."+sr.uid+".automargin")}return d.doAutoMargin(Ne),d.previousPromises(Ne)}function At(){if(d.didMarginChange(or,Gt._size))return S.syncOrAsync([yr,I.layoutStyles],Ne)}function mt(){if(!Pr){Mt();return}return S.syncOrAsync([c.getComponentMethod("shapes","calcAutorange"),c.getComponentMethod("annotations","calcAutorange"),Mt],Ne)}function Mt(){Ne._transitioning||(I.doAutoRangeAndConstraints(Ne),It&&f.saveRangeInitial(Ne),c.getComponentMethod("rangeslider","calcAutorange")(Ne))}function Pt(){return f.draw(Ne,It?"":"redraw")}var Ht=[d.previousPromises,ir,Ir,yr,At];cr&&Ht.push(mt),Ht.push(I.layoutStyles),cr&&Ht.push(Pt,function(Xt){var sr=Xt._fullLayout._insideTickLabelsUpdaterange;if(sr)return Xt._fullLayout._insideTickLabelsUpdaterange=void 0,Te(Xt,sr).then(function(){f.saveRangeInitial(Xt,!0)})}),Ht.push(I.drawData,I.finalDraw,w,d.addLinks,d.rehover,d.redrag,d.reselect,d.doAutoMargin,d.previousPromises);var Ut=S.syncOrAsync(Ht,Ne);return(!Ut||!Ut.then)&&(Ut=Promise.resolve()),Ut.then(function(){return D(Ne),Ne})}function D(Ne){var je=Ne._fullLayout;je._redrawFromAutoMarginCount?je._redrawFromAutoMarginCount--:Ne.emit("plotly_afterplot")}function O(Ne){return S.extendFlat(E,Ne)}function U(Ne,je){try{Ne._fullLayout._paper.style("background",je)}catch(Je){S.error(Je)}}function B(Ne,je){var Je=C.combine(je,"white");U(Ne,Je)}function Y(Ne,je){if(!Ne._context){Ne._context=S.extendDeep({},E);var Je=l.select("base");Ne._context._baseUrl=Je.size()&&Je.attr("href")?window.location.href.split("#")[0]:""}var ut=Ne._context,Et,wt,nr;if(je){for(wt=Object.keys(je),Et=0;Et<wt.length;Et++)nr=wt[Et],!(nr==="editable"||nr==="edits")&&nr in ut&&(nr==="setBackground"&&je[nr]==="opaque"?ut[nr]=B:ut[nr]=je[nr]);je.plot3dPixelRatio&&!ut.plotGlPixelRatio&&(ut.plotGlPixelRatio=ut.plot3dPixelRatio);var ir=je.editable;if(ir!==void 0)for(ut.editable=ir,wt=Object.keys(ut.edits),Et=0;Et<wt.length;Et++)ut.edits[wt[Et]]=ir;if(je.edits)for(wt=Object.keys(je.edits),Et=0;Et<wt.length;Et++)nr=wt[Et],nr in ut.edits&&(ut.edits[nr]=je.edits[nr]);ut._exportedPlot=je._exportedPlot}ut.staticPlot&&(ut.editable=!1,ut.edits={},ut.autosizable=!1,ut.scrollZoom=!1,ut.doubleClick=!1,ut.showTips=!1,ut.showLink=!1,ut.displayModeBar=!1),ut.displayModeBar==="hover"&&!i&&(ut.displayModeBar=!0),(ut.setBackground==="transparent"||typeof ut.setBackground!="function")&&(ut.setBackground=U),ut._hasZeroHeight=ut._hasZeroHeight||Ne.clientHeight===0,ut._hasZeroWidth=ut._hasZeroWidth||Ne.clientWidth===0;var It=ut.scrollZoom,Gt=ut._scrollZoom={};if(It===!0)Gt.cartesian=1,Gt.gl3d=1,Gt.geo=1,Gt.mapbox=1;else if(typeof It=="string"){var cr=It.split("+");for(Et=0;Et<cr.length;Et++)Gt[cr[Et]]=1}else It!==!1&&(Gt.gl3d=1,Gt.geo=1,Gt.mapbox=1)}function z(Ne){if(Ne=S.getGraphDiv(Ne),!S.isPlotDiv(Ne))throw new Error("This element is not a Plotly plot: "+Ne);return L.cleanData(Ne.data),L.cleanLayout(Ne.layout),Ne.calcdata=void 0,h._doPlot(Ne).then(function(){return Ne.emit("plotly_redraw"),Ne})}function V(Ne,je,Je,ut){return Ne=S.getGraphDiv(Ne),d.cleanPlot([],{},Ne._fullData||[],Ne._fullLayout||{}),d.purge(Ne),h._doPlot(Ne,je,Je,ut)}function j(Ne,je){var Je=je+1,ut=[],Et,wt;for(Et=0;Et<Ne.length;Et++)wt=Ne[Et],wt<0?ut.push(Je+wt):ut.push(wt);return ut}function G(Ne,je,Je){var ut,Et;for(ut=0;ut<je.length;ut++){if(Et=je[ut],Et!==parseInt(Et,10))throw new Error("all values in "+Je+" must be integers");if(Et>=Ne.data.length||Et<-Ne.data.length)throw new Error(Je+" must be valid indices for gd.data.");if(je.indexOf(Et,ut+1)>-1||Et>=0&&je.indexOf(-Ne.data.length+Et)>-1||Et<0&&je.indexOf(Ne.data.length+Et)>-1)throw new Error("each index in "+Je+" must be unique.")}}function W(Ne,je,Je){if(!Array.isArray(Ne.data))throw new Error("gd.data must be an array.");if(typeof je>"u")throw new Error("currentIndices is a required argument.");if(Array.isArray(je)||(je=[je]),G(Ne,je,"currentIndices"),typeof Je<"u"&&!Array.isArray(Je)&&(Je=[Je]),typeof Je<"u"&&G(Ne,Je,"newIndices"),typeof Je<"u"&&je.length!==Je.length)throw new Error("current and new indices must be of equal length.")}function X(Ne,je,Je){var ut,Et;if(!Array.isArray(Ne.data))throw new Error("gd.data must be an array.");if(typeof je>"u")throw new Error("traces must be defined.");for(Array.isArray(je)||(je=[je]),ut=0;ut<je.length;ut++)if(Et=je[ut],typeof Et!="object"||Array.isArray(Et)||Et===null)throw new Error("all values in traces array must be non-array objects");if(typeof Je<"u"&&!Array.isArray(Je)&&(Je=[Je]),typeof Je<"u"&&Je.length!==je.length)throw new Error("if indices is specified, traces.length must equal indices.length")}function Q(Ne,je,Je,ut){var Et=S.isPlainObject(ut);if(!Array.isArray(Ne.data))throw new Error("gd.data must be an array");if(!S.isPlainObject(je))throw new Error("update must be a key:value object");if(typeof Je>"u")throw new Error("indices must be an integer or array of integers");G(Ne,Je,"indices");for(var wt in je){if(!Array.isArray(je[wt])||je[wt].length!==Je.length)throw new Error("attribute "+wt+" must be an array of length equal to indices array length");if(Et&&(!(wt in ut)||!Array.isArray(ut[wt])||ut[wt].length!==je[wt].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}function ae(Ne,je,Je,ut){var Et=S.isPlainObject(ut),wt=[],nr,ir,It,Gt,cr;Array.isArray(Je)||(Je=[Je]),Je=j(Je,Ne.data.length-1);for(var Pr in je)for(var Ct=0;Ct<Je.length;Ct++){if(nr=Ne.data[Je[Ct]],It=g(nr,Pr),ir=It.get(),Gt=je[Pr][Ct],!S.isArrayOrTypedArray(Gt))throw new Error("attribute: "+Pr+" index: "+Ct+" must be an array");if(!S.isArrayOrTypedArray(ir))throw new Error("cannot extend missing or non-array attribute: "+Pr);if(ir.constructor!==Gt.constructor)throw new Error("cannot extend array with an array of a different type: "+Pr);cr=Et?ut[Pr][Ct]:ut,v(cr)||(cr=-1),wt.push({prop:It,target:ir,insert:Gt,maxp:Math.floor(cr)})}return wt}function ie(Ne,je,Je,ut,Et){Q(Ne,je,Je,ut);for(var wt=ae(Ne,je,Je,ut),nr={},ir={},It=0;It<wt.length;It++){var Gt=wt[It].prop,cr=wt[It].maxp,Pr=Et(wt[It].target,wt[It].insert,cr);Gt.set(Pr[0]),Array.isArray(nr[Gt.astr])||(nr[Gt.astr]=[]),nr[Gt.astr].push(Pr[1]),Array.isArray(ir[Gt.astr])||(ir[Gt.astr]=[]),ir[Gt.astr].push(wt[It].target.length)}return{update:nr,maxPoints:ir}}function he(Ne,je){var Je=new Ne.constructor(Ne.length+je.length);return Je.set(Ne),Je.set(je,Ne.length),Je}function J(Ne,je,Je,ut){Ne=S.getGraphDiv(Ne);function Et(It,Gt,cr){var Pr,Ct;if(S.isTypedArray(It))if(cr<0){var or=new It.constructor(0),ur=he(It,Gt);cr<0?(Pr=ur,Ct=or):(Pr=or,Ct=ur)}else if(Pr=new It.constructor(cr),Ct=new It.constructor(It.length+Gt.length-cr),cr===Gt.length)Pr.set(Gt),Ct.set(It);else if(cr<Gt.length){var Ir=Gt.length-cr;Pr.set(Gt.subarray(Ir)),Ct.set(It),Ct.set(Gt.subarray(0,Ir),It.length)}else{var yr=cr-Gt.length,At=It.length-yr;Pr.set(It.subarray(At)),Pr.set(Gt,yr),Ct.set(It.subarray(0,At))}else Pr=It.concat(Gt),Ct=cr>=0&&cr<Pr.length?Pr.splice(0,Pr.length-cr):[];return[Pr,Ct]}var wt=ie(Ne,je,Je,ut,Et),nr=h.redraw(Ne),ir=[Ne,wt.update,Je,wt.maxPoints];return _.add(Ne,h.prependTraces,ir,J,arguments),nr}function Z(Ne,je,Je,ut){Ne=S.getGraphDiv(Ne);function Et(It,Gt,cr){var Pr,Ct;if(S.isTypedArray(It))if(cr<=0){var or=new It.constructor(0),ur=he(Gt,It);cr<0?(Pr=ur,Ct=or):(Pr=or,Ct=ur)}else if(Pr=new It.constructor(cr),Ct=new It.constructor(It.length+Gt.length-cr),cr===Gt.length)Pr.set(Gt),Ct.set(It);else if(cr<Gt.length){var Ir=Gt.length-cr;Pr.set(Gt.subarray(0,Ir)),Ct.set(Gt.subarray(Ir)),Ct.set(It,Ir)}else{var yr=cr-Gt.length;Pr.set(Gt),Pr.set(It.subarray(0,yr),Gt.length),Ct.set(It.subarray(yr))}else Pr=Gt.concat(It),Ct=cr>=0&&cr<Pr.length?Pr.splice(cr,Pr.length):[];return[Pr,Ct]}var wt=ie(Ne,je,Je,ut,Et),nr=h.redraw(Ne),ir=[Ne,wt.update,Je,wt.maxPoints];return _.add(Ne,h.extendTraces,ir,Z,arguments),nr}function le(Ne,je,Je){Ne=S.getGraphDiv(Ne);var ut=[],Et=h.deleteTraces,wt=le,nr=[Ne,ut],ir=[Ne,je],It,Gt;for(X(Ne,je,Je),Array.isArray(je)||(je=[je]),je=je.map(function(cr){return S.extendFlat({},cr)}),L.cleanData(je),It=0;It<je.length;It++)Ne.data.push(je[It]);for(It=0;It<je.length;It++)ut.push(-je.length+It);if(typeof Je>"u")return Gt=h.redraw(Ne),_.add(Ne,Et,nr,wt,ir),Gt;Array.isArray(Je)||(Je=[Je]);try{W(Ne,ut,Je)}catch(cr){throw Ne.data.splice(Ne.data.length-je.length,je.length),cr}return _.startSequence(Ne),_.add(Ne,Et,nr,wt,ir),Gt=h.moveTraces(Ne,ut,Je),_.stopSequence(Ne),Gt}function K(Ne,je){Ne=S.getGraphDiv(Ne);var Je=[],ut=h.addTraces,Et=K,wt=[Ne,Je,je],nr=[Ne,je],ir,It;if(typeof je>"u")throw new Error("indices must be an integer or array of integers.");for(Array.isArray(je)||(je=[je]),G(Ne,je,"indices"),je=j(je,Ne.data.length-1),je.sort(S.sorterDes),ir=0;ir<je.length;ir+=1)It=Ne.data.splice(je[ir],1)[0],Je.push(It);var Gt=h.redraw(Ne);return _.add(Ne,ut,wt,Et,nr),Gt}function te(Ne,je,Je){Ne=S.getGraphDiv(Ne);var ut=[],Et=[],wt=te,nr=te,ir=[Ne,Je,je],It=[Ne,je,Je],Gt;if(W(Ne,je,Je),je=Array.isArray(je)?je:[je],typeof Je>"u")for(Je=[],Gt=0;Gt<je.length;Gt++)Je.push(-je.length+Gt);for(Je=Array.isArray(Je)?Je:[Je],je=j(je,Ne.data.length-1),Je=j(Je,Ne.data.length-1),Gt=0;Gt<Ne.data.length;Gt++)je.indexOf(Gt)===-1&&ut.push(Ne.data[Gt]);for(Gt=0;Gt<je.length;Gt++)Et.push({newIndex:Je[Gt],trace:Ne.data[je[Gt]]});for(Et.sort(function(Pr,Ct){return Pr.newIndex-Ct.newIndex}),Gt=0;Gt<Et.length;Gt+=1)ut.splice(Et[Gt].newIndex,0,Et[Gt].trace);Ne.data=ut;var cr=h.redraw(Ne);return _.add(Ne,wt,ir,nr,It),cr}function ce(Ne,je,Je,ut){Ne=S.getGraphDiv(Ne),L.clearPromiseQueue(Ne);var Et={};if(typeof je=="string")Et[je]=Je;else if(S.isPlainObject(je))Et=S.extendFlat({},je),ut===void 0&&(ut=Je);else return S.warn("Restyle fail.",je,Je,ut),Promise.reject();Object.keys(Et).length&&(Ne.changed=!0);var wt=L.coerceTraceIndices(Ne,ut),nr=fe(Ne,Et,wt),ir=nr.flags;ir.calc&&(Ne.calcdata=void 0),ir.clearAxisTypes&&L.clearAxisTypes(Ne,wt,{});var It=[];ir.fullReplot?It.push(h._doPlot):(It.push(d.previousPromises),d.supplyDefaults(Ne),ir.markerSize&&(d.doCalcdata(Ne),Be(It)),ir.style&&It.push(I.doTraceStyle),ir.colorbars&&It.push(I.doColorBars),It.push(D)),It.push(d.rehover,d.redrag,d.reselect),_.add(Ne,ce,[Ne,nr.undoit,nr.traces],ce,[Ne,nr.redoit,nr.traces]);var Gt=S.syncOrAsync(It,Ne);return(!Gt||!Gt.then)&&(Gt=Promise.resolve()),Gt.then(function(){return Ne.emit("plotly_restyle",nr.eventData),Ne})}function re(Ne){return Ne===void 0?null:Ne}function ee(Ne,je){return je?function(Je,ut,Et){var wt=g(Je,ut),nr=wt.set;return wt.set=function(ir){var It=(Et||"")+ut;de(It,wt.get(),ir,Ne),nr(ir)},wt}:g}function de(Ne,je,Je,ut){if(Array.isArray(je)||Array.isArray(Je))for(var Et=Array.isArray(je)?je:[],wt=Array.isArray(Je)?Je:[],nr=Math.max(Et.length,wt.length),ir=0;ir<nr;ir++)de(Ne+"["+ir+"]",Et[ir],wt[ir],ut);else if(S.isPlainObject(je)||S.isPlainObject(Je)){var It=S.isPlainObject(je)?je:{},Gt=S.isPlainObject(Je)?Je:{},cr=S.extendFlat({},It,Gt);for(var Pr in cr)de(Ne+"."+Pr,It[Pr],Gt[Pr],ut)}else ut[Ne]===void 0&&(ut[Ne]=re(je))}function oe(Ne,je,Je){for(var ut in Je){var Et=g(Ne,ut);de(ut,Et.get(),Je[ut],je)}}function fe(Ne,je,Je){var ut=Ne._fullLayout,Et=Ne._fullData,wt=Ne.data,nr=ut._guiEditing,ir=ee(ut._preGUI,nr),It=S.extendDeepAll({},je),Gt;me(je);var cr=P.traceFlags(),Pr={},Ct={},or;function ur(){return Je.map(function(){})}function Ir(ra){var Cr=f.id2name(ra);or.indexOf(Cr)===-1&&or.push(Cr)}function yr(ra){return"LAYOUT"+ra+".autorange"}function At(ra){return"LAYOUT"+ra+".range"}function mt(ra){for(var Cr=ra;Cr<Et.length;Cr++)if(Et[Cr]._input===wt[ra])return Et[Cr]}function Mt(ra,Cr,Jr){if(Array.isArray(ra)){ra.forEach(function(Hn){Mt(Hn,Cr,Jr)});return}if(!(ra in je||L.hasParent(je,ra))){var un;if(ra.substr(0,6)==="LAYOUT")un=ir(Ne.layout,ra.replace("LAYOUT",""));else{var sn=Je[Jr],Nn=ut._tracePreGUI[mt(sn)._fullInput.uid];un=ee(Nn,nr)(wt[sn],ra)}ra in Ct||(Ct[ra]=ur()),Ct[ra][Jr]===void 0&&(Ct[ra][Jr]=re(un.get())),Cr!==void 0&&un.set(Cr)}}function Pt(ra){return function(Cr){return Et[Cr][ra]}}function Ht(ra){return function(Cr,Jr){return Cr===!1?Et[Je[Jr]][ra]:null}}for(var Ut in je){if(L.hasParent(je,Ut))throw new Error("cannot set "+Ut+" and a parent attribute simultaneously");var Zt=je[Ut],Xt,sr,Sr,wr,Tr,Ze;if((Ut==="autobinx"||Ut==="autobiny")&&(Ut=Ut.charAt(Ut.length-1)+"bins",Array.isArray(Zt)?Zt=Zt.map(Ht(Ut)):Zt===!1?Zt=Je.map(Pt(Ut)):Zt=null),Pr[Ut]=Zt,Ut.substr(0,6)==="LAYOUT"){Sr=ir(Ne.layout,Ut.replace("LAYOUT","")),Ct[Ut]=[re(Sr.get())],Sr.set(Array.isArray(Zt)?Zt[0]:Zt),cr.calc=!0;continue}for(Ct[Ut]=ur(),Gt=0;Gt<Je.length;Gt++){Xt=wt[Je[Gt]],sr=mt(Je[Gt]);var Xe=ut._tracePreGUI[sr._fullInput.uid];if(Sr=ee(Xe,nr)(Xt,Ut),wr=Sr.get(),Tr=Array.isArray(Zt)?Zt[Gt%Zt.length]:Zt,Tr!==void 0){var Wt=Sr.parts[Sr.parts.length-1],jt=Ut.substr(0,Ut.length-Wt.length-1),ar=jt?jt+".":"",mr=jt?g(sr,jt).get():sr;if(Ze=s.getTraceValObject(sr,Sr.parts),Ze&&Ze.impliedEdits&&Tr!==null)for(var br in Ze.impliedEdits)Mt(S.relativeAttr(Ut,br),Ze.impliedEdits[br],Gt);else if((Wt==="thicknessmode"||Wt==="lenmode")&&wr!==Tr&&(Tr==="fraction"||Tr==="pixels")&&mr){var fr=ut._size,Kt=mr.orient,kr=Kt==="top"||Kt==="bottom";if(Wt==="thicknessmode"){var Rr=kr?fr.h:fr.w;Mt(ar+"thickness",mr.thickness*(Tr==="fraction"?1/Rr:Rr),Gt)}else{var Lr=kr?fr.w:fr.h;Mt(ar+"len",mr.len*(Tr==="fraction"?1/Lr:Lr),Gt)}}else if(Ut==="type"&&(Tr==="pie"!=(wr==="pie")||Tr==="funnelarea"!=(wr==="funnelarea"))){var Ar="x",ln="y";(Tr==="bar"||wr==="bar")&&Xt.orientation==="h"&&(Ar="y",ln="x"),S.swapAttrs(Xt,["?","?src"],"labels",Ar),S.swapAttrs(Xt,["d?","?0"],"label",Ar),S.swapAttrs(Xt,["?","?src"],"values",ln),wr==="pie"||wr==="funnelarea"?(g(Xt,"marker.color").set(g(Xt,"marker.colors").get()),ut._pielayer.selectAll("g.trace").remove()):c.traceIs(Xt,"cartesian")&&g(Xt,"marker.colors").set(g(Xt,"marker.color").get())}Ct[Ut][Gt]=re(wr);var Kr=["swapxy","swapxyaxes","orientation","orientationaxes"];if(Kr.indexOf(Ut)!==-1){if(Ut==="orientation"){Sr.set(Tr);var Xr=Xt.x&&!Xt.y?"h":"v";if((Sr.get()||Xr)===sr.orientation)continue}else Ut==="orientationaxes"&&(Xt.orientation={v:"h",h:"v"}[sr.orientation]);L.swapXYData(Xt),cr.calc=cr.clearAxisTypes=!0}else d.dataArrayContainers.indexOf(Sr.parts[0])!==-1?(L.manageArrayContainers(Sr,Tr,Ct),cr.calc=!0):(Ze?Ze.arrayOk&&!c.traceIs(sr,"regl")&&(S.isArrayOrTypedArray(Tr)||S.isArrayOrTypedArray(wr))?cr.calc=!0:P.update(cr,Ze):cr.calc=!0,Sr.set(Tr))}}if(["swapxyaxes","orientationaxes"].indexOf(Ut)!==-1&&f.swap(Ne,Je),Ut==="orientationaxes"){var Bn=g(Ne.layout,"hovermode"),An=Bn.get();An==="x"?Bn.set("y"):An==="y"?Bn.set("x"):An==="x unified"?Bn.set("y unified"):An==="y unified"&&Bn.set("x unified")}if(["orientation","type"].indexOf(Ut)!==-1){for(or=[],Gt=0;Gt<Je.length;Gt++){var ta=wt[Je[Gt]];c.traceIs(ta,"cartesian")&&(Ir(ta.xaxis||"x"),Ir(ta.yaxis||"y"))}Mt(or.map(yr),!0,0),Mt(or.map(At),[0,1],0)}}return(cr.calc||cr.plot)&&(cr.fullReplot=!0),{flags:cr,undoit:Ct,redoit:Pr,traces:Je,eventData:S.extendDeepNoArrays([],[It,Je])}}function me(Ne){var je=S.counterRegex("axis",".title",!1,!1),Je=/colorbar\.title$/,ut=Object.keys(Ne),Et,wt,nr;for(Et=0;Et<ut.length;Et++)wt=ut[Et],nr=Ne[wt],(wt==="title"||je.test(wt)||Je.test(wt))&&(typeof nr=="string"||typeof nr=="number")?ir(wt,wt.replace("title","title.text")):wt.indexOf("titlefont")>-1&&wt.indexOf("grouptitlefont")===-1?ir(wt,wt.replace("titlefont","title.font")):wt.indexOf("titleposition")>-1?ir(wt,wt.replace("titleposition","title.position")):wt.indexOf("titleside")>-1?ir(wt,wt.replace("titleside","title.side")):wt.indexOf("titleoffset")>-1&&ir(wt,wt.replace("titleoffset","title.offset"));function ir(It,Gt){Ne[Gt]=Ne[It],delete Ne[It]}}function Te(Ne,je,Je){Ne=S.getGraphDiv(Ne),L.clearPromiseQueue(Ne);var ut={};if(typeof je=="string")ut[je]=Je;else if(S.isPlainObject(je))ut=S.extendFlat({},je);else return S.warn("Relayout fail.",je,Je),Promise.reject();Object.keys(ut).length&&(Ne.changed=!0);var Et=Pe(Ne,ut),wt=Et.flags;wt.calc&&(Ne.calcdata=void 0);var nr=[d.previousPromises];wt.layoutReplot?nr.push(I.layoutReplot):Object.keys(ut).length&&(we(Ne,wt,Et)||d.supplyDefaults(Ne),wt.legend&&nr.push(I.doLegend),wt.layoutstyle&&nr.push(I.layoutStyles),wt.axrange&&Be(nr,Et.rangesAltered),wt.ticks&&nr.push(I.doTicksRelayout),wt.modebar&&nr.push(I.doModeBar),wt.camera&&nr.push(I.doCamera),wt.colorbars&&nr.push(I.doColorBars),nr.push(D)),nr.push(d.rehover,d.redrag,d.reselect),_.add(Ne,Te,[Ne,Et.undoit],Te,[Ne,Et.redoit]);var ir=S.syncOrAsync(nr,Ne);return(!ir||!ir.then)&&(ir=Promise.resolve(Ne)),ir.then(function(){return Ne.emit("plotly_relayout",Et.eventData),Ne})}function we(Ne,je,Je){var ut=Ne._fullLayout;if(!je.axrange)return!1;for(var Et in je)if(Et!=="axrange"&&je[Et])return!1;var wt,nr,ir=function(or,ur){return S.coerce(wt,nr,x,or,ur)},It={};for(var Gt in Je.rangesAltered){var cr=f.id2name(Gt);if(wt=Ne.layout[cr],nr=ut[cr],b(wt,nr,ir,It),nr._matchGroup){for(var Pr in nr._matchGroup)if(Pr!==Gt){var Ct=ut[f.id2name(Pr)];Ct.autorange=nr.autorange,Ct.range=nr.range.slice(),Ct._input.range=nr.range.slice()}}}return!0}function Be(Ne,je){var Je=je?function(ut){var Et=[],wt=!0;for(var nr in je){var ir=f.getFromId(ut,nr);if(Et.push(nr),(ir.ticklabelposition||"").indexOf("inside")!==-1&&ir._anchorAxis&&Et.push(ir._anchorAxis._id),ir._matchGroup)for(var It in ir._matchGroup)je[It]||Et.push(It)}return f.draw(ut,Et,{skipTitle:wt})}:function(ut){return f.draw(ut,"redraw")};Ne.push(A,I.doAutoRangeAndConstraints,Je,I.drawData,I.finalDraw)}var Ae=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,Re=/^[xyz]axis[0-9]*\.autorange$/,be=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function Pe(Ne,je){var Je=Ne.layout,ut=Ne._fullLayout,Et=ut._guiEditing,wt=ee(ut._preGUI,Et),nr=Object.keys(je),ir=f.list(Ne),It=S.extendDeepAll({},je),Gt={},cr,Pr,Ct;for(me(je),nr=Object.keys(je),Pr=0;Pr<nr.length;Pr++)if(nr[Pr].indexOf("allaxes")===0){for(Ct=0;Ct<ir.length;Ct++){var or=ir[Ct]._id.substr(1),ur=or.indexOf("scene")!==-1?or+".":"",Ir=nr[Pr].replace("allaxes",ur+ir[Ct]._name);je[Ir]||(je[Ir]=je[nr[Pr]])}delete je[nr[Pr]]}var yr=P.layoutFlags(),At={},mt={};function Mt(Nn,Hn){if(Array.isArray(Nn)){Nn.forEach(function(da){Mt(da,Hn)});return}if(!(Nn in je||L.hasParent(je,Nn))){var $n=wt(Je,Nn);Nn in mt||(mt[Nn]=re($n.get())),Hn!==void 0&&$n.set(Hn)}}var Pt={},Ht;function Ut(Nn){var Hn=f.name2id(Nn.split(".")[0]);return Pt[Hn]=1,Hn}for(var Zt in je){if(L.hasParent(je,Zt))throw new Error("cannot set "+Zt+" and a parent attribute simultaneously");for(var Xt=wt(Je,Zt),sr=je[Zt],Sr=Xt.parts.length,wr=Sr-1;wr>0&&typeof Xt.parts[wr]!="string";)wr--;var Tr=Xt.parts[wr],Ze=Xt.parts[wr-1]+"."+Tr,Xe=Xt.parts.slice(0,wr).join("."),Wt=g(Ne.layout,Xe).get(),jt=g(ut,Xe).get(),ar=Xt.get();if(sr!==void 0){At[Zt]=sr,mt[Zt]=Tr==="reverse"?sr:re(ar);var mr=s.getLayoutValObject(ut,Xt.parts);if(mr&&mr.impliedEdits&&sr!==null)for(var br in mr.impliedEdits)Mt(S.relativeAttr(Zt,br),mr.impliedEdits[br]);if(["width","height"].indexOf(Zt)!==-1)if(sr){Mt("autosize",null);var fr=Zt==="height"?"width":"height";Mt(fr,ut[fr])}else ut[Zt]=Ne._initialAutoSize[Zt];else if(Zt==="autosize")Mt("width",sr?null:ut.width),Mt("height",sr?null:ut.height);else if(Ze.match(Ae))Ut(Ze),g(ut,Xe+"._inputRange").set(null);else if(Ze.match(Re)){Ut(Ze),g(ut,Xe+"._inputRange").set(null);var Kt=g(ut,Xe).get();Kt._inputDomain&&(Kt._input.domain=Kt._inputDomain.slice())}else Ze.match(be)&&g(ut,Xe+"._inputDomain").set(null);if(Tr==="type"){Ht=Wt;var kr=jt.type==="linear"&&sr==="log",Rr=jt.type==="log"&&sr==="linear";if(kr||Rr){if(!Ht||!Ht.range)Mt(Xe+".autorange",!0);else if(jt.autorange)kr&&(Ht.range=Ht.range[1]>Ht.range[0]?[1,2]:[2,1]);else{var Lr=Ht.range[0],Ar=Ht.range[1];kr?(Lr<=0&&Ar<=0&&Mt(Xe+".autorange",!0),Lr<=0?Lr=Ar/1e6:Ar<=0&&(Ar=Lr/1e6),Mt(Xe+".range[0]",Math.log(Lr)/Math.LN10),Mt(Xe+".range[1]",Math.log(Ar)/Math.LN10)):(Mt(Xe+".range[0]",Math.pow(10,Lr)),Mt(Xe+".range[1]",Math.pow(10,Ar)))}Array.isArray(ut._subplots.polar)&&ut._subplots.polar.length&&ut[Xt.parts[0]]&&Xt.parts[1]==="radialaxis"&&delete ut[Xt.parts[0]]._subplot.viewInitial["radialaxis.range"],c.getComponentMethod("annotations","convertCoords")(Ne,jt,sr,Mt),c.getComponentMethod("images","convertCoords")(Ne,jt,sr,Mt)}else Mt(Xe+".autorange",!0),Mt(Xe+".range",null);g(ut,Xe+"._inputRange").set(null)}else if(Tr.match(M)){var ln=g(ut,Zt).get(),Kr=(sr||{}).type;(!Kr||Kr==="-")&&(Kr="linear"),c.getComponentMethod("annotations","convertCoords")(Ne,ln,Kr,Mt),c.getComponentMethod("images","convertCoords")(Ne,ln,Kr,Mt)}var Xr=k.containerArrayMatch(Zt);if(Xr){cr=Xr.array,Pr=Xr.index;var Bn=Xr.property,An=mr||{editType:"calc"};Pr!==""&&Bn===""&&(k.isAddVal(sr)?mt[Zt]=null:k.isRemoveVal(sr)?mt[Zt]=(g(Je,cr).get()||[])[Pr]:S.warn("unrecognized full object value",je)),P.update(yr,An),Gt[cr]||(Gt[cr]={});var ta=Gt[cr][Pr];ta||(ta=Gt[cr][Pr]={}),ta[Bn]=sr,delete je[Zt]}else Tr==="reverse"?(Wt.range?Wt.range.reverse():(Mt(Xe+".autorange",!0),Wt.range=[1,0]),jt.autorange?yr.calc=!0:yr.plot=!0):(Zt==="dragmode"&&(sr===!1&&ar!==!1||sr!==!1&&ar===!1)||ut._has("scatter-like")&&ut._has("regl")&&Zt==="dragmode"&&(sr==="lasso"||sr==="select")&&!(ar==="lasso"||ar==="select")||ut._has("gl2d")?yr.plot=!0:mr?P.update(yr,mr):yr.calc=!0,Xt.set(sr))}}for(cr in Gt){var ra=k.applyContainerArrayChanges(Ne,wt(Je,cr),Gt[cr],yr,wt);ra||(yr.plot=!0)}for(var Cr in Pt){Ht=f.getFromId(Ne,Cr);var Jr=Ht&&Ht._constraintGroup;if(Jr){yr.calc=!0;for(var un in Jr)Pt[un]||(f.getFromId(Ne,un)._constraintShrinkable=!0)}}(Ke(Ne)||je.height||je.width)&&(yr.plot=!0);var sn=ut.shapes;for(Pr=0;Pr<sn.length;Pr++)if(sn[Pr].showlegend){yr.calc=!0;break}return(yr.plot||yr.calc)&&(yr.layoutReplot=!0),{flags:yr,rangesAltered:Pt,undoit:mt,redoit:At,eventData:It}}function Ke(Ne){var je=Ne._fullLayout,Je=je.width,ut=je.height;return Ne.layout.autosize&&d.plotAutoSize(Ne,Ne.layout,je),je.width!==Je||je.height!==ut}function ze(Ne,je,Je,ut){Ne=S.getGraphDiv(Ne),L.clearPromiseQueue(Ne),S.isPlainObject(je)||(je={}),S.isPlainObject(Je)||(Je={}),Object.keys(je).length&&(Ne.changed=!0),Object.keys(Je).length&&(Ne.changed=!0);var Et=L.coerceTraceIndices(Ne,ut),wt=fe(Ne,S.extendFlat({},je),Et),nr=wt.flags,ir=Pe(Ne,S.extendFlat({},Je)),It=ir.flags;(nr.calc||It.calc)&&(Ne.calcdata=void 0),nr.clearAxisTypes&&L.clearAxisTypes(Ne,Et,Je);var Gt=[];It.layoutReplot?Gt.push(I.layoutReplot):nr.fullReplot?Gt.push(h._doPlot):(Gt.push(d.previousPromises),we(Ne,It,ir)||d.supplyDefaults(Ne),nr.style&&Gt.push(I.doTraceStyle),(nr.colorbars||It.colorbars)&&Gt.push(I.doColorBars),It.legend&&Gt.push(I.doLegend),It.layoutstyle&&Gt.push(I.layoutStyles),It.axrange&&Be(Gt,ir.rangesAltered),It.ticks&&Gt.push(I.doTicksRelayout),It.modebar&&Gt.push(I.doModeBar),It.camera&&Gt.push(I.doCamera),Gt.push(D)),Gt.push(d.rehover,d.redrag,d.reselect),_.add(Ne,ze,[Ne,wt.undoit,ir.undoit,wt.traces],ze,[Ne,wt.redoit,ir.redoit,wt.traces]);var cr=S.syncOrAsync(Gt,Ne);return(!cr||!cr.then)&&(cr=Promise.resolve(Ne)),cr.then(function(){return Ne.emit("plotly_update",{data:wt.eventData,layout:ir.eventData}),Ne})}function Fe(Ne){return function(Je){Je._fullLayout._guiEditing=!0;var ut=Ne.apply(null,arguments);return Je._fullLayout._guiEditing=!1,ut}}var We=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],lt=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function ht(Ne,je){for(var Je=0;Je<je.length;Je++){var ut=je[Je],Et=Ne.match(ut.pattern);if(Et){var wt=Et[1]||"";return{head:wt,tail:Ne.substr(wt.length+1),attr:ut.attr}}}}function tt(Ne,je){var Je=g(je,Ne).get();if(Je!==void 0)return Je;var ut=Ne.split(".");for(ut.pop();ut.length>1;)if(ut.pop(),Je=g(je,ut.join(".")+".uirevision").get(),Je!==void 0)return Je;return je.uirevision}function et(Ne,je){for(var Je=0;Je<je.length;Je++)if(je[Je]._fullInput.uid===Ne)return Je;return-1}function pt(Ne,je,Je){for(var ut=0;ut<je.length;ut++)if(je[ut].uid===Ne)return ut;return!je[Je]||je[Je].uid?-1:Je}function vt(Ne,je){var Je=S.isPlainObject(Ne),ut=Array.isArray(Ne);return Je||ut?(Je&&S.isPlainObject(je)||ut&&Array.isArray(je))&&JSON.stringify(Ne)===JSON.stringify(je):Ne===je}function _t(Ne,je,Je,ut){var Et=ut._preGUI,wt,nr,ir,It,Gt,cr,Pr,Ct,or,ur,Ir=[],yr={},At={};for(wt in Et){if(Gt=ht(wt,We),Gt){if(or=Gt.head,ur=Gt.tail,nr=Gt.attr||or+".uirevision",ir=g(ut,nr).get(),It=ir&&tt(nr,je),It&&It===ir){if(cr=Et[wt],cr===null&&(cr=void 0),Pr=g(je,wt),Ct=Pr.get(),vt(Ct,cr)){Ct===void 0&&ur==="autorange"&&Ir.push(or),Pr.set(re(g(ut,wt).get()));continue}else if(ur==="autorange"||ur.substr(0,6)==="range["){var mt=Et[or+".range[0]"],Mt=Et[or+".range[1]"],Pt=Et[or+".autorange"];if(Pt||Pt===null&&mt===null&&Mt===null){if(!(or in yr)){var Ht=g(je,or).get();yr[or]=Ht&&(Ht.autorange||Ht.autorange!==!1&&(!Ht.range||Ht.range.length!==2))}if(yr[or]){Pr.set(re(g(ut,wt).get()));continue}}}}}else S.warn("unrecognized GUI edit: "+wt);delete Et[wt],Gt&&Gt.tail.substr(0,6)==="range["&&(At[Gt.head]=1)}for(var Ut=0;Ut<Ir.length;Ut++){var Zt=Ir[Ut];if(At[Zt]){var Xt=g(je,Zt).get();Xt&&delete Xt.autorange}}var sr=ut._tracePreGUI;for(var Sr in sr){var wr=sr[Sr],Tr=null,Ze;for(wt in wr){if(!Tr){var Xe=et(Sr,Je);if(Xe<0){delete sr[Sr];break}var Wt=Je[Xe];Ze=Wt._fullInput;var jt=pt(Sr,Ne,Ze.index);if(jt<0){delete sr[Sr];break}Tr=Ne[jt]}if(Gt=ht(wt,lt),Gt){if(Gt.attr?(ir=g(ut,Gt.attr).get(),It=ir&&tt(Gt.attr,je)):(ir=Ze.uirevision,It=Tr.uirevision,It===void 0&&(It=je.uirevision)),It&&It===ir&&(cr=wr[wt],cr===null&&(cr=void 0),Pr=g(Tr,wt),Ct=Pr.get(),vt(Ct,cr))){Pr.set(re(g(Ze,wt).get()));continue}}else S.warn("unrecognized GUI edit: "+wt+" in trace uid "+Sr);delete wr[wt]}}}function bt(Ne,je,Je,ut){var Et,wt;function nr(){return h.addFrames(Ne,Et)}Ne=S.getGraphDiv(Ne),L.clearPromiseQueue(Ne);var ir=Ne._fullData,It=Ne._fullLayout;if(!S.isPlotDiv(Ne)||!ir||!It)wt=h.newPlot(Ne,je,Je,ut);else{if(S.isPlainObject(je)){var Gt=je;je=Gt.data,Je=Gt.layout,ut=Gt.config,Et=Gt.frames}var cr=!1;if(ut){var Pr=S.extendDeep({},Ne._context);Ne._context=void 0,Y(Ne,ut),cr=Qe(Pr,Ne._context)}Ne.data=je||[],L.cleanData(Ne.data),Ne.layout=Je||{},L.cleanLayout(Ne.layout),_t(Ne.data,Ne.layout,ir,It),d.supplyDefaults(Ne,{skipUpdateCalc:!0});var Ct=Ne._fullData,or=Ne._fullLayout,ur=or.datarevision===void 0,Ir=or.transition,yr=ct(Ne,It,or,ur,Ir),At=yr.newDataRevision,mt=Rt(Ne,ir,Ct,ur,Ir,At);if(Ke(Ne)&&(yr.layoutReplot=!0),mt.calc||yr.calc){Ne.calcdata=void 0;for(var Mt=Object.getOwnPropertyNames(or),Pt=0;Pt<Mt.length;Pt++){var Ht=Mt[Pt],Ut=Ht.substring(0,5);if(Ut==="xaxis"||Ut==="yaxis"){var Zt=or[Ht]._emptyCategories;Zt&&Zt()}}}else d.supplyDefaultsUpdateCalc(Ne.calcdata,Ct);var Xt=[];if(Et&&(Ne._transitionData={},d.createTransitionData(Ne),Xt.push(nr)),or.transition&&!cr&&(mt.anim||yr.anim))yr.ticks&&Xt.push(I.doTicksRelayout),d.doCalcdata(Ne),I.doAutoRangeAndConstraints(Ne),Xt.push(function(){return d.transitionFromReact(Ne,mt,yr,It)});else if(mt.fullReplot||yr.layoutReplot||cr)Ne._fullLayout._skipDefaults=!0,Xt.push(h._doPlot);else{for(var sr in yr.arrays){var Sr=yr.arrays[sr];if(Sr.length){var wr=c.getComponentMethod(sr,"drawOne");if(wr!==S.noop)for(var Tr=0;Tr<Sr.length;Tr++)wr(Ne,Sr[Tr]);else{var Ze=c.getComponentMethod(sr,"draw");if(Ze===S.noop)throw new Error("cannot draw components: "+sr);Ze(Ne)}}}Xt.push(d.previousPromises),mt.style&&Xt.push(I.doTraceStyle),(mt.colorbars||yr.colorbars)&&Xt.push(I.doColorBars),yr.legend&&Xt.push(I.doLegend),yr.layoutstyle&&Xt.push(I.layoutStyles),yr.axrange&&Be(Xt),yr.ticks&&Xt.push(I.doTicksRelayout),yr.modebar&&Xt.push(I.doModeBar),yr.camera&&Xt.push(I.doCamera),Xt.push(D)}Xt.push(d.rehover,d.redrag,d.reselect),wt=S.syncOrAsync(Xt,Ne),(!wt||!wt.then)&&(wt=Promise.resolve(Ne))}return wt.then(function(){return Ne.emit("plotly_react",{data:je,layout:Je}),Ne})}function Rt(Ne,je,Je,ut,Et,wt){var nr=je.length===Je.length;if(!Et&&!nr)return{fullReplot:!0,calc:!0};var ir=P.traceFlags();ir.arrays={},ir.nChanges=0,ir.nChangesAnim=0;var It,Gt;function cr(or){var ur=s.getTraceValObject(Gt,or);return!Gt._module.animatable&&ur.anim&&(ur.anim=!1),ur}var Pr={getValObject:cr,flags:ir,immutable:ut,transition:Et,newDataRevision:wt,gd:Ne},Ct={};for(It=0;It<je.length;It++)if(Je[It]){if(Gt=Je[It]._fullInput,d.hasMakesDataTransform(Gt)&&(Gt=Je[It]),Ct[Gt.uid])continue;Ct[Gt.uid]=1,Ve(je[It]._fullInput,Gt,[],Pr)}return(ir.calc||ir.plot)&&(ir.fullReplot=!0),Et&&ir.nChanges&&ir.nChangesAnim&&(ir.anim=ir.nChanges===ir.nChangesAnim&&nr?"all":"some"),ir}function ct(Ne,je,Je,ut,Et){var wt=P.layoutFlags();wt.arrays={},wt.rangesAltered={},wt.nChanges=0,wt.nChangesAnim=0;function nr(It){return s.getLayoutValObject(Je,It)}var ir={getValObject:nr,flags:wt,immutable:ut,transition:Et,gd:Ne};return Ve(je,Je,[],ir),(wt.plot||wt.calc)&&(wt.layoutReplot=!0),Et&&wt.nChanges&&wt.nChangesAnim&&(wt.anim=wt.nChanges===wt.nChangesAnim?"all":"some"),wt}function Ve(Ne,je,Je,ut){var Et,wt,nr,ir=ut.getValObject,It=ut.flags,Gt=ut.immutable,cr=ut.inArray,Pr=ut.arrayIndex;function Ct(){var Xe=Et.editType;if(cr&&Xe.indexOf("arraydraw")!==-1){S.pushUnique(It.arrays[cr],Pr);return}P.update(It,Et),Xe!=="none"&&It.nChanges++,ut.transition&&Et.anim&&It.nChangesAnim++,(Ae.test(nr)||Re.test(nr))&&(It.rangesAltered[Je[0]]=1),be.test(nr)&&g(je,"_inputDomain").set(null),wt==="datarevision"&&(It.newDataRevision=1)}function or(Xe){return Xe.valType==="data_array"||Xe.arrayOk}for(wt in Ne){if(It.calc&&!ut.transition)return;var ur=Ne[wt],Ir=je[wt],yr=Je.concat(wt);if(nr=yr.join("."),!(wt.charAt(0)==="_"||typeof ur=="function"||ur===Ir)){if((wt==="tick0"||wt==="dtick")&&Je[0]!=="geo"){var At=je.tickmode;if(At==="auto"||At==="array"||!At)continue}if(!(wt==="range"&&je.autorange)&&!((wt==="zmin"||wt==="zmax")&&je.type==="contourcarpet")&&(Et=ir(yr),!!Et&&!(Et._compareAsJSON&&JSON.stringify(ur)===JSON.stringify(Ir)))){var mt=Et.valType,Mt,Pt=or(Et),Ht=Array.isArray(ur),Ut=Array.isArray(Ir);if(Ht&&Ut){var Zt="_input_"+wt,Xt=Ne[Zt],sr=je[Zt];if(Array.isArray(Xt)&&Xt===sr)continue}if(Ir===void 0)Pt&&Ht?It.calc=!0:Ct();else if(Et._isLinkedToArray){var Sr=[],wr=!1;cr||(It.arrays[wt]=Sr);var Tr=Math.min(ur.length,Ir.length),Ze=Math.max(ur.length,Ir.length);if(Tr!==Ze)if(Et.editType==="arraydraw")wr=!0;else{Ct();continue}for(Mt=0;Mt<Tr;Mt++)Ve(ur[Mt],Ir[Mt],yr.concat(Mt),S.extendFlat({inArray:wt,arrayIndex:Mt},ut));if(wr)for(Mt=Tr;Mt<Ze;Mt++)Sr.push(Mt)}else!mt&&S.isPlainObject(ur)?Ve(ur,Ir,yr,ut):Pt?Ht&&Ut?(Gt&&(It.calc=!0),(Gt||ut.newDataRevision)&&Ct()):Ht!==Ut?It.calc=!0:Ct():Ht&&Ut?(ur.length!==Ir.length||String(ur)!==String(Ir))&&Ct():Ct()}}}for(wt in je)if(!(wt in Ne||wt.charAt(0)==="_"||typeof je[wt]=="function"))if(Et=ir(Je.concat(wt)),or(Et)&&Array.isArray(je[wt])){It.calc=!0;return}else Ct()}function Qe(Ne,je){var Je;for(Je in Ne)if(Je.charAt(0)!=="_"){var ut=Ne[Je],Et=je[Je];if(ut!==Et)if(S.isPlainObject(ut)&&S.isPlainObject(Et)){if(Qe(ut,Et))return!0}else if(Array.isArray(ut)&&Array.isArray(Et)){if(ut.length!==Et.length)return!0;for(var wt=0;wt<ut.length;wt++)if(ut[wt]!==Et[wt])if(S.isPlainObject(ut[wt])&&S.isPlainObject(Et[wt])){if(Qe(ut[wt],Et[wt]))return!0}else return!0}else return!0}}function rt(Ne,je,Je){if(Ne=S.getGraphDiv(Ne),!S.isPlotDiv(Ne))throw new Error("This element is not a Plotly plot: "+Ne+". It's likely that you've failed to create a plot before animating it. For more details, see https://plotly.com/javascript/animations/");var ut=Ne._transitionData;ut._frameQueue||(ut._frameQueue=[]),Je=d.supplyAnimationDefaults(Je);var Et=Je.transition,wt=Je.frame;ut._frameWaitingCnt===void 0&&(ut._frameWaitingCnt=0);function nr(Gt){return Array.isArray(Et)?Gt>=Et.length?Et[0]:Et[Gt]:Et}function ir(Gt){return Array.isArray(wt)?Gt>=wt.length?wt[0]:wt[Gt]:wt}function It(Gt,cr){var Pr=0;return function(){if(Gt&&++Pr===cr)return Gt()}}return new Promise(function(Gt,cr){function Pr(){if(ut._frameQueue.length!==0){for(;ut._frameQueue.length;){var Tr=ut._frameQueue.pop();Tr.onInterrupt&&Tr.onInterrupt()}Ne.emit("plotly_animationinterrupted",[])}}function Ct(Tr){if(Tr.length!==0){for(var Ze=0;Ze<Tr.length;Ze++){var Xe;Tr[Ze].type==="byname"?Xe=d.computeFrame(Ne,Tr[Ze].name):Xe=Tr[Ze].data;var Wt=ir(Ze),jt=nr(Ze);jt.duration=Math.min(jt.duration,Wt.duration);var ar={frame:Xe,name:Tr[Ze].name,frameOpts:Wt,transitionOpts:jt};Ze===Tr.length-1&&(ar.onComplete=It(Gt,2),ar.onInterrupt=cr),ut._frameQueue.push(ar)}Je.mode==="immediate"&&(ut._lastFrameAt=-1/0),ut._animationRaf||Ir()}}function or(){Ne.emit("plotly_animated"),window.cancelAnimationFrame(ut._animationRaf),ut._animationRaf=null}function ur(){ut._currentFrame&&ut._currentFrame.onComplete&&ut._currentFrame.onComplete();var Tr=ut._currentFrame=ut._frameQueue.shift();if(Tr){var Ze=Tr.name?Tr.name.toString():null;Ne._fullLayout._currentFrame=Ze,ut._lastFrameAt=Date.now(),ut._timeToNext=Tr.frameOpts.duration,d.transition(Ne,Tr.frame.data,Tr.frame.layout,L.coerceTraceIndices(Ne,Tr.frame.traces),Tr.frameOpts,Tr.transitionOpts).then(function(){Tr.onComplete&&Tr.onComplete()}),Ne.emit("plotly_animatingframe",{name:Ze,frame:Tr.frame,animation:{frame:Tr.frameOpts,transition:Tr.transitionOpts}})}else or()}function Ir(){Ne.emit("plotly_animating"),ut._lastFrameAt=-1/0,ut._timeToNext=0,ut._runningTransitions=0,ut._currentFrame=null;var Tr=function(){ut._animationRaf=window.requestAnimationFrame(Tr),Date.now()-ut._lastFrameAt>ut._timeToNext&&ur()};Tr()}var yr=0;function At(Tr){return Array.isArray(Et)?yr>=Et.length?Tr.transitionOpts=Et[yr]:Tr.transitionOpts=Et[0]:Tr.transitionOpts=Et,yr++,Tr}var mt,Mt,Pt=[],Ht=je==null,Ut=Array.isArray(je),Zt=!Ht&&!Ut&&S.isPlainObject(je);if(Zt)Pt.push({type:"object",data:At(S.extendFlat({},je))});else if(Ht||["string","number"].indexOf(typeof je)!==-1)for(mt=0;mt<ut._frames.length;mt++)Mt=ut._frames[mt],Mt&&(Ht||String(Mt.group)===String(je))&&Pt.push({type:"byname",name:String(Mt.name),data:At({name:Mt.name})});else if(Ut)for(mt=0;mt<je.length;mt++){var Xt=je[mt];["number","string"].indexOf(typeof Xt)!==-1?(Xt=String(Xt),Pt.push({type:"byname",name:Xt,data:At({name:Xt})})):S.isPlainObject(Xt)&&Pt.push({type:"object",data:At(S.extendFlat({},Xt))})}for(mt=0;mt<Pt.length;mt++)if(Mt=Pt[mt],Mt.type==="byname"&&!ut._frameHash[Mt.data.name]){S.warn('animate failure: frame not found: "'+Mt.data.name+'"'),cr();return}["next","immediate"].indexOf(Je.mode)!==-1&&Pr(),Je.direction==="reverse"&&Pt.reverse();var sr=Ne._fullLayout._currentFrame;if(sr&&Je.fromcurrent){var Sr=-1;for(mt=0;mt<Pt.length;mt++)if(Mt=Pt[mt],Mt.type==="byname"&&Mt.name===sr){Sr=mt;break}if(Sr>0&&Sr<Pt.length-1){var wr=[];for(mt=0;mt<Pt.length;mt++)Mt=Pt[mt],(Pt[mt].type!=="byname"||mt>Sr)&&wr.push(Mt);Pt=wr}}Pt.length>0?Ct(Pt):(Ne.emit("plotly_animated"),Gt())})}function qe(Ne,je,Je){if(Ne=S.getGraphDiv(Ne),je==null)return Promise.resolve();if(!S.isPlotDiv(Ne))throw new Error("This element is not a Plotly plot: "+Ne+". It's likely that you've failed to create a plot before adding frames. For more details, see https://plotly.com/javascript/animations/");var ut,Et,wt,nr,ir=Ne._transitionData._frames,It=Ne._transitionData._frameHash;if(!Array.isArray(je))throw new Error("addFrames failure: frameList must be an Array of frame definitions"+je);var Gt=ir.length+je.length*2,cr=[],Pr={};for(ut=je.length-1;ut>=0;ut--)if(S.isPlainObject(je[ut])){var Ct=je[ut].name,or=(It[Ct]||Pr[Ct]||{}).name,ur=je[ut].name,Ir=It[or]||Pr[or];or&&ur&&typeof ur=="number"&&Ir&&F<N&&(F++,S.warn('addFrames: overwriting frame "'+(It[or]||Pr[or]).name+'" with a frame whose name of type "number" also equates to "'+or+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),F===N&&S.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),Pr[Ct]={name:Ct},cr.push({frame:d.supplyFrameDefaults(je[ut]),index:Je&&Je[ut]!==void 0&&Je[ut]!==null?Je[ut]:Gt+ut})}cr.sort(function(Zt,Xt){return Zt.index>Xt.index?-1:Zt.index<Xt.index?1:0});var yr=[],At=[],mt=ir.length;for(ut=cr.length-1;ut>=0;ut--){if(Et=cr[ut].frame,typeof Et.name=="number"&&S.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!Et.name)for(;It[Et.name="frame "+Ne._transitionData._counter++];);if(It[Et.name]){for(wt=0;wt<ir.length&&(ir[wt]||{}).name!==Et.name;wt++);yr.push({type:"replace",index:wt,value:Et}),At.unshift({type:"replace",index:wt,value:ir[wt]})}else nr=Math.max(0,Math.min(cr[ut].index,mt)),yr.push({type:"insert",index:nr,value:Et}),At.unshift({type:"delete",index:nr}),mt++}var Mt=d.modifyFrames,Pt=d.modifyFrames,Ht=[Ne,At],Ut=[Ne,yr];return _&&_.add(Ne,Mt,Ht,Pt,Ut),d.modifyFrames(Ne,yr)}function He(Ne,je){if(Ne=S.getGraphDiv(Ne),!S.isPlotDiv(Ne))throw new Error("This element is not a Plotly plot: "+Ne);var Je,ut,Et=Ne._transitionData._frames,wt=[],nr=[];if(!je)for(je=[],Je=0;Je<Et.length;Je++)je.push(Je);for(je=je.slice(),je.sort(),Je=je.length-1;Je>=0;Je--)ut=je[Je],wt.push({type:"delete",index:ut}),nr.unshift({type:"insert",index:ut,value:Et[ut]});var ir=d.modifyFrames,It=d.modifyFrames,Gt=[Ne,nr],cr=[Ne,wt];return _&&_.add(Ne,ir,Gt,It,cr),d.modifyFrames(Ne,wt)}function Ce(Ne){Ne=S.getGraphDiv(Ne);var je=Ne._fullLayout||{},Je=Ne._fullData||[];return d.cleanPlot([],{},Je,je),d.purge(Ne),p.purge(Ne),je._container&&je._container.remove(),delete Ne._context,Ne}function Se(Ne){var je=Ne._fullLayout,Je=Ne.getBoundingClientRect();if(!S.equalDomRects(Je,je._lastBBox)){var ut=je._invTransform=S.inverseTransformMatrix(S.getFullTransformMatrix(Ne));je._invScaleX=Math.sqrt(ut[0][0]*ut[0][0]+ut[0][1]*ut[0][1]+ut[0][2]*ut[0][2]),je._invScaleY=Math.sqrt(ut[1][0]*ut[1][0]+ut[1][1]*ut[1][1]+ut[1][2]*ut[1][2]),je._lastBBox=Je}}function Le(Ne){var je=l.select(Ne),Je=Ne._fullLayout;if(Je._calcInverseTransform=Se,Je._calcInverseTransform(Ne),Je._container=je.selectAll(".plot-container").data([0]),Je._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),Je._paperdiv=Je._container.selectAll(".svg-container").data([0]),Je._paperdiv.enter().append("div").classed("user-select-none",!0).classed("svg-container",!0).style("position","relative"),Je._glcontainer=Je._paperdiv.selectAll(".gl-container").data([{}]),Je._glcontainer.enter().append("div").classed("gl-container",!0),Je._paperdiv.selectAll(".main-svg").remove(),Je._paperdiv.select(".modebar-container").remove(),Je._paper=Je._paperdiv.insert("svg",":first-child").classed("main-svg",!0),Je._toppaper=Je._paperdiv.append("svg").classed("main-svg",!0),Je._modebardiv=Je._paperdiv.append("div"),delete Je._modeBar,Je._hoverpaper=Je._paperdiv.append("svg").classed("main-svg",!0),!Je._uid){var ut={};l.selectAll("defs").each(function(){this.id&&(ut[this.id.split("-")[1]]=1)}),Je._uid=S.randstr(ut)}Je._paperdiv.selectAll(".main-svg").attr(R.svgAttrs),Je._defs=Je._paper.append("defs").attr("id","defs-"+Je._uid),Je._clips=Je._defs.append("g").classed("clips",!0),Je._topdefs=Je._toppaper.append("defs").attr("id","topdefs-"+Je._uid),Je._topclips=Je._topdefs.append("g").classed("clips",!0),Je._bgLayer=Je._paper.append("g").classed("bglayer",!0),Je._draggers=Je._paper.append("g").classed("draglayer",!0);var Et=Je._paper.append("g").classed("layer-below",!0);Je._imageLowerLayer=Et.append("g").classed("imagelayer",!0),Je._shapeLowerLayer=Et.append("g").classed("shapelayer",!0),Je._cartesianlayer=Je._paper.append("g").classed("cartesianlayer",!0),Je._polarlayer=Je._paper.append("g").classed("polarlayer",!0),Je._smithlayer=Je._paper.append("g").classed("smithlayer",!0),Je._ternarylayer=Je._paper.append("g").classed("ternarylayer",!0),Je._geolayer=Je._paper.append("g").classed("geolayer",!0),Je._funnelarealayer=Je._paper.append("g").classed("funnelarealayer",!0),Je._pielayer=Je._paper.append("g").classed("pielayer",!0),Je._iciclelayer=Je._paper.append("g").classed("iciclelayer",!0),Je._treemaplayer=Je._paper.append("g").classed("treemaplayer",!0),Je._sunburstlayer=Je._paper.append("g").classed("sunburstlayer",!0),Je._indicatorlayer=Je._toppaper.append("g").classed("indicatorlayer",!0),Je._glimages=Je._paper.append("g").classed("glimages",!0);var wt=Je._toppaper.append("g").classed("layer-above",!0);Je._imageUpperLayer=wt.append("g").classed("imagelayer",!0),Je._shapeUpperLayer=wt.append("g").classed("shapelayer",!0),Je._selectionLayer=Je._toppaper.append("g").classed("selectionlayer",!0),Je._infolayer=Je._toppaper.append("g").classed("infolayer",!0),Je._menulayer=Je._toppaper.append("g").classed("menulayer",!0),Je._zoomlayer=Je._toppaper.append("g").classed("zoomlayer",!0),Je._hoverlayer=Je._hoverpaper.append("g").classed("hoverlayer",!0),Je._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),Ne.emit("plotly_framework")}h.animate=rt,h.addFrames=qe,h.deleteFrames=He,h.addTraces=le,h.deleteTraces=K,h.extendTraces=J,h.moveTraces=te,h.prependTraces=Z,h.newPlot=V,h._doPlot=T,h.purge=Ce,h.react=bt,h.redraw=z,h.relayout=Te,h.restyle=ce,h.setPlotConfig=O,h.update=ze,h._guiRelayout=Fe(Te),h._guiRestyle=Fe(ce),h._guiUpdate=Fe(ze),h._storeDirectGUIEdit=oe},20556:function(u){var h={staticPlot:{valType:"boolean",dflt:!1},typesetMath:{valType:"boolean",dflt:!0},plotlyServerURL:{valType:"string",dflt:""},editable:{valType:"boolean",dflt:!1},edits:{annotationPosition:{valType:"boolean",dflt:!1},annotationTail:{valType:"boolean",dflt:!1},annotationText:{valType:"boolean",dflt:!1},axisTitleText:{valType:"boolean",dflt:!1},colorbarPosition:{valType:"boolean",dflt:!1},colorbarTitleText:{valType:"boolean",dflt:!1},legendPosition:{valType:"boolean",dflt:!1},legendText:{valType:"boolean",dflt:!1},shapePosition:{valType:"boolean",dflt:!1},titleText:{valType:"boolean",dflt:!1}},editSelection:{valType:"boolean",dflt:!0},autosizable:{valType:"boolean",dflt:!1},responsive:{valType:"boolean",dflt:!1},fillFrame:{valType:"boolean",dflt:!1},frameMargins:{valType:"number",dflt:0,min:0,max:.5},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox"],extras:[!0,!1],dflt:"gl3d+geo+mapbox"},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize"},doubleClickDelay:{valType:"number",dflt:300,min:0},showAxisDragHandles:{valType:"boolean",dflt:!0},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0},showTips:{valType:"boolean",dflt:!0},showLink:{valType:"boolean",dflt:!1},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0},sendData:{valType:"boolean",dflt:!0},showSources:{valType:"any",dflt:!1},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover"},showSendToCloud:{valType:"boolean",dflt:!1},showEditInChartStudio:{valType:"boolean",dflt:!1},modeBarButtonsToRemove:{valType:"any",dflt:[]},modeBarButtonsToAdd:{valType:"any",dflt:[]},modeBarButtons:{valType:"any",dflt:!1},toImageButtonOptions:{valType:"any",dflt:{}},displaylogo:{valType:"boolean",dflt:!0},watermark:{valType:"boolean",dflt:!1},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4},setBackground:{valType:"any",dflt:"transparent"},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/"},mapboxAccessToken:{valType:"string",dflt:null},logging:{valType:"integer",min:0,max:2,dflt:1},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0},queueLength:{valType:"integer",min:0,dflt:0},globalTransforms:{valType:"any",dflt:[]},locale:{valType:"string",dflt:"en-US"},locales:{valType:"any",dflt:{}}},a={};function l(v,i){for(var S in v){var g=v[S];g.valType?i[S]=g.dflt:(i[S]||(i[S]={}),l(g,i[S]))}}l(h,a),u.exports={configAttributes:h,dfltConfig:a}},73060:function(u,h,a){var l=a(24040),v=a(3400),i=a(45464),S=a(64859),g=a(16672),p=a(85656),_=a(20556).configAttributes,c=a(67824),s=v.extendDeepAll,d=v.isPlainObject,f=v.isArrayOrTypedArray,b=v.nestedProperty,x=v.valObjectMeta,y="_isSubplotObj",C="_isLinkedToArray",w="_arrayAttrRegexps",R="_deprecated",A=[y,C,w,R];h.IS_SUBPLOT_OBJ=y,h.IS_LINKED_TO_ARRAY=C,h.DEPRECATED=R,h.UNDERSCORE_ATTRS=A,h.get=function(){var Y={};l.allTypes.forEach(function(V){Y[V]=I(V)});var z={};return Object.keys(l.transformsRegistry).forEach(function(V){z[V]=M(V)}),{defs:{valObjects:x,metaKeys:A.concat(["description","role","editType","impliedEdits"]),editType:{traces:c.traces,layout:c.layout},impliedEdits:{}},traces:Y,layout:P(),transforms:z,frames:F(),animation:N(p),config:N(_)}},h.crawl=function(Y,z,V,j){var G=V||0;j=j||"",Object.keys(Y).forEach(function(W){var X=Y[W];if(A.indexOf(W)===-1){var Q=(j?j+".":"")+W;z(X,W,Y,G,Q),!h.isValObject(X)&&d(X)&&W!=="impliedEdits"&&h.crawl(X,z,G+1,Q)}})},h.isValObject=function(Y){return Y&&Y.valType!==void 0},h.findArrayAttributes=function(Y){var z=[],V=[],j=[],G,W;function X(Z,le,K,te){V=V.slice(0,te).concat([le]),j=j.slice(0,te).concat([Z&&Z._isLinkedToArray]);var ce=Z&&(Z.valType==="data_array"||Z.arrayOk===!0)&&!(V[te-1]==="colorbar"&&(le==="ticktext"||le==="tickvals"));ce&&Q(G,0,"")}function Q(Z,le,K){var te=Z[V[le]],ce=K+V[le];if(le===V.length-1)f(te)&&z.push(W+ce);else if(j[le]){if(Array.isArray(te))for(var re=0;re<te.length;re++)d(te[re])&&Q(te[re],le+1,ce+"["+re+"].")}else d(te)&&Q(te,le+1,ce+".")}G=Y,W="",h.crawl(i,X),Y._module&&Y._module.attributes&&h.crawl(Y._module.attributes,X);var ae=Y.transforms;if(ae)for(var ie=0;ie<ae.length;ie++){var he=ae[ie],J=he._module;J&&(W="transforms["+ie+"].",G=he,h.crawl(J.attributes,X))}return z},h.getTraceValObject=function(Y,z){var V=z[0],j=1,G,W;if(V==="transforms"){if(z.length===1)return i.transforms;var X=Y.transforms;if(!Array.isArray(X)||!X.length)return!1;var Q=z[1];if(!L(Q)||Q>=X.length)return!1;G=(l.transformsRegistry[X[Q].type]||{}).attributes,W=G&&G[z[2]],j=3}else{var ae=Y._module;if(ae||(ae=(l.modules[Y.type||i.type.dflt]||{})._module),!ae)return!1;if(G=ae.attributes,W=G&&G[V],!W){var ie=ae.basePlotModule;ie&&ie.attributes&&(W=ie.attributes[V])}W||(W=i[V])}return k(W,z,j)},h.getLayoutValObject=function(Y,z){var V=E(Y,z[0]);return k(V,z,1)};function E(Y,z){var V,j,G,W,X=Y._basePlotModules;if(X){var Q;for(V=0;V<X.length;V++){if(G=X[V],G.attrRegex&&G.attrRegex.test(z)){if(G.layoutAttrOverrides)return G.layoutAttrOverrides;!Q&&G.layoutAttributes&&(Q=G.layoutAttributes)}var ae=G.baseLayoutAttrOverrides;if(ae&&z in ae)return ae[z]}if(Q)return Q}var ie=Y._modules;if(ie){for(V=0;V<ie.length;V++)if(W=ie[V].layoutAttributes,W&&z in W)return W[z]}for(j in l.componentsRegistry){if(G=l.componentsRegistry[j],G.name==="colorscale"&&z.indexOf("coloraxis")===0)return G.layoutAttributes[z];if(!G.schema&&z===G.name)return G.layoutAttributes}return z in S?S[z]:!1}function k(Y,z,V){if(!Y)return!1;if(Y._isLinkedToArray){if(L(z[V]))V++;else if(V<z.length)return!1}for(;V<z.length;V++){var j=Y[z[V]];if(d(j))Y=j;else break;if(V===z.length-1)break;if(Y._isLinkedToArray){if(V++,!L(z[V]))return!1}else if(Y.valType==="info_array"){V++;var G=z[V];if(!L(G))return!1;var W=Y.items;if(Array.isArray(W)){if(G>=W.length)return!1;if(Y.dimensions===2){if(V++,z.length===V)return Y;var X=z[V];if(!L(X))return!1;Y=W[G][X]}else Y=W[G]}else Y=W}}return Y}function L(Y){return Y===Math.round(Y)&&Y>=0}function I(Y){var z,V;z=l.modules[Y]._module,V=z.basePlotModule;var j={};j.type=null;var G=s({},i),W=s({},z.attributes);h.crawl(W,function(ae,ie,he,J,Z){b(G,Z).set(void 0),ae===void 0&&b(W,Z).set(void 0)}),s(j,G),l.traceIs(Y,"noOpacity")&&delete j.opacity,l.traceIs(Y,"showLegend")||(delete j.showlegend,delete j.legendgroup),l.traceIs(Y,"noHover")&&(delete j.hoverinfo,delete j.hoverlabel),z.selectPoints||delete j.selectedpoints,s(j,W),V.attributes&&s(j,V.attributes),j.type=Y;var X={meta:z.meta||{},categories:z.categories||{},animatable:!!z.animatable,type:Y,attributes:N(j)};if(z.layoutAttributes){var Q={};s(Q,z.layoutAttributes),X.layoutAttributes=N(Q)}return z.animatable||h.crawl(X,function(ae){h.isValObject(ae)&&"anim"in ae&&delete ae.anim}),X}function P(){var Y={},z,V;s(Y,S);for(z in l.subplotsRegistry)if(V=l.subplotsRegistry[z],!!V.layoutAttributes)if(Array.isArray(V.attr))for(var j=0;j<V.attr.length;j++)U(Y,V,V.attr[j]);else{var G=V.attr==="subplot"?V.name:V.attr;U(Y,V,G)}for(z in l.componentsRegistry){V=l.componentsRegistry[z];var W=V.schema;if(W&&(W.subplots||W.layout)){var X=W.subplots;if(X&&X.xaxis&&!X.yaxis)for(var Q in X.xaxis)delete Y.yaxis[Q];delete Y.xaxis.shift,delete Y.xaxis.autoshift}else V.name==="colorscale"?s(Y,V.layoutAttributes):V.layoutAttributes&&B(Y,V.layoutAttributes,V.name)}return{layoutAttributes:N(Y)}}function M(Y){var z=l.transformsRegistry[Y],V=s({},z.attributes);return Object.keys(l.componentsRegistry).forEach(function(j){var G=l.componentsRegistry[j];G.schema&&G.schema.transforms&&G.schema.transforms[Y]&&Object.keys(G.schema.transforms[Y]).forEach(function(W){B(V,G.schema.transforms[Y][W],W)})}),{attributes:N(V)}}function F(){var Y={frames:s({},g)};return N(Y),Y.frames}function N(Y){return T(Y),D(Y),O(Y),Y}function T(Y){function z(j){return{valType:"string",editType:"none"}}function V(j,G,W){h.isValObject(j)?(j.arrayOk===!0||j.valType==="data_array")&&(W[G+"src"]=z()):d(j)&&(j.role="object")}h.crawl(Y,V)}function D(Y){function z(V,j,G){if(V){var W=V[C];W&&(delete V[C],G[j]={items:{}},G[j].items[W]=V,G[j].role="object")}}h.crawl(Y,z)}function O(Y){function z(V){for(var j in V)if(d(V[j]))z(V[j]);else if(Array.isArray(V[j]))for(var G=0;G<V[j].length;G++)z(V[j][G]);else V[j]instanceof RegExp&&(V[j]=V[j].toString())}z(Y)}function U(Y,z,V){var j=b(Y,V),G=s({},z.layoutAttributes);G[y]=!0,j.set(G)}function B(Y,z,V){var j=b(Y,V);j.set(s(j.get()||{},z))}},31780:function(u,h,a){var l=a(3400),v=a(45464),i="templateitemname",S={name:{valType:"string",editType:"none"}};S[i]={valType:"string",editType:"calc"},h.templatedArray=function(_,c){return c._isLinkedToArray=_,c.name=S.name,c[i]=S[i],c},h.traceTemplater=function(_){var c={},s,d;for(s in _)d=_[s],Array.isArray(d)&&d.length&&(c[s]=0);function f(b){s=l.coerce(b,{},v,"type");var x={type:s,_template:null};if(s in c){d=_[s];var y=c[s]%d.length;c[s]++,x._template=d[y]}return x}return{newTrace:f}},h.newContainer=function(_,c,s){var d=_._template,f=d&&(d[c]||s&&d[s]);l.isPlainObject(f)||(f=null);var b=_[c]={_template:f};return b},h.arrayTemplater=function(_,c,s){var d=_._template,f=d&&d[p(c)],b=d&&d[c];(!Array.isArray(b)||!b.length)&&(b=[]);var x={};function y(w){var R={name:w.name,_input:w},A=R[i]=w[i];if(!g(A))return R._template=f,R;for(var E=0;E<b.length;E++){var k=b[E];if(k.name===A)return x[A]=1,R._template=k,R}return R[s]=w[s]||!1,R._template=!1,R}function C(){for(var w=[],R=0;R<b.length;R++){var A=b[R],E=A.name;if(g(E)&&!x[E]){var k={_template:A,name:E,_input:{_templateitemname:E}};k[i]=A[i],w.push(k),x[E]=1}}return w}return{newItem:y,defaultItems:C}};function g(_){return _&&typeof _=="string"}function p(_){var c=_.length-1;return _.charAt(c)!=="s"&&l.warn("bad argument to arrayDefaultKey: "+_),_.substr(0,_.length-1)+"defaults"}h.arrayDefaultKey=p,h.arrayEditor=function(_,c,s){var d=(l.nestedProperty(_,c).get()||[]).length,f=s._index,b=f>=d&&(s._input||{})._templateitemname;b&&(f=d);var x=c+"["+f+"]",y;function C(){y={},b&&(y[x]={},y[x][i]=b)}C();function w(k,L){y[k]=L}function R(k,L){b?l.nestedProperty(y[x],k).set(L):y[x+"."+k]=L}function A(){var k=y;return C(),k}function E(k,L){k&&R(k,L);var I=A();for(var P in I)l.nestedProperty(_,P).set(I[P])}return{modifyBase:w,modifyItem:R,getUpdateObj:A,applyUpdate:E}}},39172:function(u,h,a){var l=a(33428),v=a(24040),i=a(7316),S=a(3400),g=a(72736),p=a(73696),_=a(76308),c=a(43616),s=a(81668),d=a(45460),f=a(54460),b=a(84284),x=a(71888),y=x.enforce,C=x.clean,w=a(19280).doAutoRange,R="start",A="middle",E="end";h.layoutStyles=function(V){return S.syncOrAsync([i.doAutoMargin,L],V)};function k(V,j,G){for(var W=0;W<G.length;W++){var X=G[W][0],Q=G[W][1];if(!(X[0]>=V[1]||X[1]<=V[0])&&Q[0]<j[1]&&Q[1]>j[0])return!0}return!1}function L(V){var j=V._fullLayout,G=j._size,W=G.p,X=f.list(V,"",!0),Q,ae,ie,he,J,Z;if(j._paperdiv.style({width:V._context.responsive&&j.autosize&&!V._context._hasZeroWidth&&!V.layout.width?"100%":j.width+"px",height:V._context.responsive&&j.autosize&&!V._context._hasZeroHeight&&!V.layout.height?"100%":j.height+"px"}).selectAll(".main-svg").call(c.setSize,j.width,j.height),V._context.setBackground(V,j.paper_bgcolor),h.drawMainTitle(V),d.manage(V),!j._has("cartesian"))return i.previousPromises(V);function le(Ce,Se,Le){var Ne=Ce._lw/2;if(Ce._id.charAt(0)==="x"){if(Se){if(Le==="top")return Se._offset-W-Ne}else return G.t+G.h*(1-(Ce.position||0))+Ne%1;return Se._offset+Se._length+W+Ne}if(Se){if(Le==="right")return Se._offset+Se._length+W+Ne}else return G.l+G.w*(Ce.position||0)+Ne%1;return Se._offset-W-Ne}for(Q=0;Q<X.length;Q++){he=X[Q];var K=he._anchorAxis;he._linepositions={},he._lw=c.crispRound(V,he.linewidth,1),he._mainLinePosition=le(he,K,he.side),he._mainMirrorPosition=he.mirror&&K?le(he,K,b.OPPOSITE_SIDE[he.side]):null}var te=[],ce=[],re=[],ee=_.opacity(j.paper_bgcolor)===1&&_.opacity(j.plot_bgcolor)===1&&j.paper_bgcolor===j.plot_bgcolor;for(ae in j._plots)if(ie=j._plots[ae],ie.mainplot)ie.bg&&ie.bg.remove(),ie.bg=void 0;else{var de=ie.xaxis.domain,oe=ie.yaxis.domain,fe=ie.plotgroup;if(k(de,oe,re)){var me=fe.node(),Te=ie.bg=S.ensureSingle(fe,"rect","bg");me.insertBefore(Te.node(),me.childNodes[0]),ce.push(ae)}else fe.select("rect.bg").remove(),re.push([de,oe]),ee||(te.push(ae),ce.push(ae))}var we=j._bgLayer.selectAll(".bg").data(te);for(we.enter().append("rect").classed("bg",!0),we.exit().remove(),we.each(function(Ce){j._plots[Ce].bg=l.select(this)}),Q=0;Q<ce.length;Q++)ie=j._plots[ce[Q]],J=ie.xaxis,Z=ie.yaxis,ie.bg&&J._offset!==void 0&&Z._offset!==void 0&&ie.bg.call(c.setRect,J._offset-W,Z._offset-W,J._length+2*W,Z._length+2*W).call(_.fill,j.plot_bgcolor).style("stroke-width",0);if(!j._hasOnlyLargeSploms)for(ae in j._plots){ie=j._plots[ae],J=ie.xaxis,Z=ie.yaxis;var Be=ie.clipId="clip"+j._uid+ae+"plot",Ae=S.ensureSingleById(j._clips,"clipPath",Be,function(Ce){Ce.classed("plotclip",!0).append("rect")});ie.clipRect=Ae.select("rect").attr({width:J._length,height:Z._length}),c.setTranslate(ie.plot,J._offset,Z._offset);var Re,be;ie._hasClipOnAxisFalse?(Re=null,be=Be):(Re=Be,be=null),c.setClipUrl(ie.plot,Re,V),ie.layerClipId=be}var Pe,Ke,ze,Fe,We,lt,ht,tt,et,pt,vt,_t,bt;function Rt(Ce){return"M"+Pe+","+Ce+"H"+Ke}function ct(Ce){return"M"+J._offset+","+Ce+"h"+J._length}function Ve(Ce){return"M"+Ce+","+tt+"V"+ht}function Qe(Ce){return Z._shift!==void 0&&(Ce+=Z._shift),"M"+Ce+","+Z._offset+"v"+Z._length}function rt(Ce,Se,Le){if(!Ce.showline||ae!==Ce._mainSubplot)return"";if(!Ce._anchorAxis)return Le(Ce._mainLinePosition);var Ne=Se(Ce._mainLinePosition);return Ce.mirror&&(Ne+=Se(Ce._mainMirrorPosition)),Ne}for(ae in j._plots){ie=j._plots[ae],J=ie.xaxis,Z=ie.yaxis;var qe="M0,0";I(J,ae)&&(We=M(J,"left",Z,X),Pe=J._offset-(We?W+We:0),lt=M(J,"right",Z,X),Ke=J._offset+J._length+(lt?W+lt:0),ze=le(J,Z,"bottom"),Fe=le(J,Z,"top"),bt=!J._anchorAxis||ae!==J._mainSubplot,bt&&(J.mirror==="allticks"||J.mirror==="all")&&(J._linepositions[ae]=[ze,Fe]),qe=rt(J,Rt,ct),bt&&J.showline&&(J.mirror==="all"||J.mirror==="allticks")&&(qe+=Rt(ze)+Rt(Fe)),ie.xlines.style("stroke-width",J._lw+"px").call(_.stroke,J.showline?J.linecolor:"rgba(0,0,0,0)")),ie.xlines.attr("d",qe);var He="M0,0";I(Z,ae)&&(vt=M(Z,"bottom",J,X),ht=Z._offset+Z._length+(vt?W:0),_t=M(Z,"top",J,X),tt=Z._offset-(_t?W:0),et=le(Z,J,"left"),pt=le(Z,J,"right"),bt=!Z._anchorAxis||ae!==Z._mainSubplot,bt&&(Z.mirror==="allticks"||Z.mirror==="all")&&(Z._linepositions[ae]=[et,pt]),He=rt(Z,Ve,Qe),bt&&Z.showline&&(Z.mirror==="all"||Z.mirror==="allticks")&&(He+=Ve(et)+Ve(pt)),ie.ylines.style("stroke-width",Z._lw+"px").call(_.stroke,Z.showline?Z.linecolor:"rgba(0,0,0,0)")),ie.ylines.attr("d",He)}return f.makeClipPaths(V),i.previousPromises(V)}function I(V,j){return(V.ticks||V.showline)&&(j===V._mainSubplot||V.mirror==="all"||V.mirror==="allticks")}function P(V,j,G){if(!G.showline||!G._lw)return!1;if(G.mirror==="all"||G.mirror==="allticks")return!0;var W=G._anchorAxis;if(!W)return!1;var X=b.FROM_BL[j];return G.side===j?W.domain[X]===V.domain[X]:G.mirror&&W.domain[1-X]===V.domain[1-X]}function M(V,j,G,W){if(P(V,j,G))return G._lw;for(var X=0;X<W.length;X++){var Q=W[X];if(Q._mainAxis===G._mainAxis&&P(V,j,Q))return Q._lw}return 0}h.drawMainTitle=function(V){var j=V._fullLayout.title,G=V._fullLayout,W=Y(G),X=z(G),Q=U(G,X),ae=O(G,W);if(s.draw(V,"gtitle",{propContainer:G,propName:"title.text",placeholder:G._dfltTitle.plot,attributes:{x:ae,y:Q,"text-anchor":W,dy:X}}),j.text&&j.automargin){var ie=l.selectAll(".gtitle"),he=c.bBox(ie.node()).height,J=T(V,j,he);if(J>0){D(V,Q,J,he),ie.attr({x:ae,y:Q,"text-anchor":W,dy:B(j.yanchor)}).call(g.positionText,ae,Q);var Z=(j.text.match(g.BR_TAG_ALL)||[]).length;if(Z){var le=b.LINE_SPACING*Z+b.MID_SHIFT;j.y===0&&(le=-le),ie.selectAll(".line").each(function(){var K=+this.getAttribute("dy").slice(0,-2)-le+"em";this.setAttribute("dy",K)})}}}};function F(V,j,G,W,X){var Q=j.yref==="paper"?V._fullLayout._size.h:V._fullLayout.height,ae=S.isTopAnchor(j)?W:W-X,ie=G==="b"?Q-ae:ae;return S.isTopAnchor(j)&&G==="t"||S.isBottomAnchor(j)&&G==="b"?!1:ie<X}function N(V,j,G,W,X){var Q=0;return G==="middle"&&(Q+=X/2),V==="t"?(G==="top"&&(Q+=X),Q+=W-j*W):(G==="bottom"&&(Q+=X),Q+=j*W),Q}function T(V,j,G){var W=j.y,X=j.yanchor,Q=W>.5?"t":"b",ae=V._fullLayout.margin[Q],ie=0;return j.yref==="paper"?ie=G+j.pad.t+j.pad.b:j.yref==="container"&&(ie=N(Q,W,X,V._fullLayout.height,G)+j.pad.t+j.pad.b),ie>ae?ie:0}function D(V,j,G,W){var X="title.automargin",Q=V._fullLayout.title,ae=Q.y>.5?"t":"b",ie={x:Q.x,y:Q.y,t:0,b:0},he={};Q.yref==="paper"&&F(V,Q,ae,j,W)?ie[ae]=G:Q.yref==="container"&&(he[ae]=G,V._fullLayout._reservedMargin[X]=he),i.allowAutoMargin(V,X),i.autoMargin(V,X,ie)}function O(V,j){var G=V.title,W=V._size,X=0;switch(j===R?X=G.pad.l:j===E&&(X=-G.pad.r),G.xref){case"paper":return W.l+W.w*G.x+X;case"container":default:return V.width*G.x+X}}function U(V,j){var G=V.title,W=V._size,X=0;if(j==="0em"||!j?X=-G.pad.b:j===b.CAP_SHIFT+"em"&&(X=G.pad.t),G.y==="auto")return W.t/2;switch(G.yref){case"paper":return W.t+W.h-W.h*G.y+X;case"container":default:return V.height-V.height*G.y+X}}function B(V){return V==="top"?b.CAP_SHIFT+.3+"em":V==="bottom"?"-0.3em":b.MID_SHIFT+"em"}function Y(V){var j=V.title,G=A;return S.isRightAnchor(j)?G=E:S.isLeftAnchor(j)&&(G=R),G}function z(V){var j=V.title,G="0em";return S.isTopAnchor(j)?G=b.CAP_SHIFT+"em":S.isMiddleAnchor(j)&&(G=b.MID_SHIFT+"em"),G}h.doTraceStyle=function(V){var j=V.calcdata,G=[],W;for(W=0;W<j.length;W++){var X=j[W],Q=X[0]||{},ae=Q.trace||{},ie=ae._module||{},he=ie.arraysToCalcdata;he&&he(X,ae);var J=ie.editStyle;J&&G.push({fn:J,cd0:Q})}if(G.length){for(W=0;W<G.length;W++){var Z=G[W];Z.fn(V,Z.cd0)}p(V),h.redrawReglTraces(V)}return i.style(V),v.getComponentMethod("legend","draw")(V),i.previousPromises(V)},h.doColorBars=function(V){return v.getComponentMethod("colorbar","draw")(V),i.previousPromises(V)},h.layoutReplot=function(V){var j=V.layout;return V.layout=void 0,v.call("_doPlot",V,"",j)},h.doLegend=function(V){return v.getComponentMethod("legend","draw")(V),i.previousPromises(V)},h.doTicksRelayout=function(V){return f.draw(V,"redraw"),V._fullLayout._hasOnlyLargeSploms&&(v.subplotsRegistry.splom.updateGrid(V),p(V),h.redrawReglTraces(V)),h.drawMainTitle(V),i.previousPromises(V)},h.doModeBar=function(V){var j=V._fullLayout;d.manage(V);for(var G=0;G<j._basePlotModules.length;G++){var W=j._basePlotModules[G].updateFx;W&&W(V)}return i.previousPromises(V)},h.doCamera=function(V){for(var j=V._fullLayout,G=j._subplots.gl3d,W=0;W<G.length;W++){var X=j[G[W]],Q=X._scene;Q.setViewport(X)}},h.drawData=function(V){var j=V._fullLayout;p(V);for(var G=j._basePlotModules,W=0;W<G.length;W++)G[W].plot(V);return h.redrawReglTraces(V),i.style(V),v.getComponentMethod("selections","draw")(V),v.getComponentMethod("shapes","draw")(V),v.getComponentMethod("annotations","draw")(V),v.getComponentMethod("images","draw")(V),j._replotting=!1,i.previousPromises(V)},h.redrawReglTraces=function(V){var j=V._fullLayout;if(j._has("regl")){var G=V._fullData,W=[],X=[],Q,ae;for(j._hasOnlyLargeSploms&&j._splomGrid.draw(),Q=0;Q<G.length;Q++){var ie=G[Q];ie.visible===!0&&ie._length!==0&&(ie.type==="splom"?j._splomScenes[ie.uid].draw():ie.type==="scattergl"?S.pushUnique(W,ie.xaxis+ie.yaxis):ie.type==="scatterpolargl"&&S.pushUnique(X,ie.subplot))}for(Q=0;Q<W.length;Q++)ae=j._plots[W[Q]],ae._scene&&ae._scene.draw();for(Q=0;Q<X.length;Q++)ae=j[X[Q]]._subplot,ae._scene&&ae._scene.draw()}},h.doAutoRangeAndConstraints=function(V){for(var j=f.list(V,"",!0),G,W={},X=0;X<j.length;X++)if(G=j[X],!W[G._id]){W[G._id]=1,C(V,G),w(V,G);var Q=G._matchGroup;if(Q)for(var ae in Q){var ie=f.getFromId(V,ae);w(V,ie,G.range),W[ae]=1}}y(V)},h.finalDraw=function(V){v.getComponentMethod("rangeslider","draw")(V),v.getComponentMethod("rangeselector","draw")(V)},h.drawMarginPushers=function(V){v.getComponentMethod("legend","draw")(V),v.getComponentMethod("rangeselector","draw")(V),v.getComponentMethod("sliders","draw")(V),v.getComponentMethod("updatemenus","draw")(V),v.getComponentMethod("colorbar","draw")(V)}},94828:function(u,h,a){var l=a(3400),v=l.isPlainObject,i=a(73060),S=a(7316),g=a(45464),p=a(31780),_=a(20556).dfltConfig;h.makeTemplate=function(w){w=l.isPlainObject(w)?w:l.getGraphDiv(w),w=l.extendDeep({_context:_},{data:w.data,layout:w.layout}),S.supplyDefaults(w);var R=w.data||[],A=w.layout||{};A._basePlotModules=w._fullLayout._basePlotModules,A._modules=w._fullLayout._modules;var E={data:{},layout:{}};R.forEach(function(O){var U={};d(O,U,b.bind(null,O));var B=l.coerce(O,{},g,"type"),Y=E.data[B];Y||(Y=E.data[B]=[]),Y.push(U)}),d(A,E.layout,f.bind(null,A)),delete E.layout.template;var k=A.template;if(v(k)){var L=k.layout,I,P,M,F,N,T;v(L)&&c(L,E.layout);var D=k.data;if(v(D)){for(P in E.data)if(M=D[P],Array.isArray(M)){for(N=E.data[P],T=N.length,F=M.length,I=0;I<T;I++)c(M[I%F],N[I]);for(I=T;I<F;I++)N.push(l.extendDeep({},M[I]))}for(P in D)P in E.data||(E.data[P]=l.extendDeep([],D[P]))}}return E};function c(w,R){w=l.extendDeep({},w);var A=Object.keys(w).sort(),E,k;function L(N,T,D){if(v(T)&&v(N))c(N,T);else if(Array.isArray(T)&&Array.isArray(N)){var O=p.arrayTemplater({_template:w},D);for(k=0;k<T.length;k++){var U=T[k],B=O.newItem(U)._template;B&&c(B,U)}var Y=O.defaultItems();for(k=0;k<Y.length;k++)T.push(Y[k]._template);for(k=0;k<T.length;k++)delete T[k].templateitemname}}for(E=0;E<A.length;E++){var I=A[E],P=w[I];if(I in R?L(P,R[I],I):R[I]=P,s(I)===I)for(var M in R){var F=s(M);M!==F&&F===I&&!(M in w)&&L(P,R[M],I)}}}function s(w){return w.replace(/[0-9]+$/,"")}function d(w,R,A,E,k){var L=k&&A(k);for(var I in w){var P=w[I],M=x(w,I,E),F=x(w,I,k),N=A(F);if(!N){var T=s(I);T!==I&&(F=x(w,T,k),N=A(F))}if(!(L&&L===N)&&!(!N||N._noTemplating||N.valType==="data_array"||N.arrayOk&&Array.isArray(P)))if(!N.valType&&v(P))d(P,R,A,M,F);else if(N._isLinkedToArray&&Array.isArray(P))for(var D=!1,O=0,U={},B=0;B<P.length;B++){var Y=P[B];if(v(Y)){var z=Y.name;if(z)U[z]||(d(Y,R,A,x(P,O,M),x(P,O,F)),O++,U[z]=1);else if(!D){var V=p.arrayDefaultKey(I),j=x(w,V,E),G=x(P,O,M);d(Y,R,A,G,x(P,O,F));var W=l.nestedProperty(R,G),X=l.nestedProperty(R,j);X.set(W.get()),W.set(null),D=!0}}}else{var Q=l.nestedProperty(R,M);Q.set(P)}}}function f(w,R){return i.getLayoutValObject(w,l.nestedProperty({},R).parts)}function b(w,R){return i.getTraceValObject(w,l.nestedProperty({},R).parts)}function x(w,R,A){var E;return A?Array.isArray(w)?E=A+"["+R+"]":E=A+"."+R:E=R,E}h.validateTemplate=function(w,R){var A=l.extendDeep({},{_context:_,data:w.data,layout:w.layout}),E=A.layout||{};v(R)||(R=E.template||{});var k=R.layout,L=R.data,I=[];A.layout=E,A.layout.template=R,S.supplyDefaults(A);var P=A._fullLayout,M=A._fullData,F={};function N(j,G){for(var W in j)if(W.charAt(0)!=="_"&&v(j[W])){var X=s(W),Q=[],ae;for(ae=0;ae<G.length;ae++)Q.push(x(j,W,G[ae])),X!==W&&Q.push(x(j,X,G[ae]));for(ae=0;ae<Q.length;ae++)F[Q[ae]]=1;N(j[W],Q)}}function T(j,G){for(var W in j)if(W.indexOf("defaults")===-1&&v(j[W])){var X=x(j,W,G);F[X]?T(j[W],X):I.push({code:"unused",path:X})}}if(v(k)?(N(P,["layout"]),T(k,"layout")):I.push({code:"layout"}),!v(L))I.push({code:"data"});else{for(var D={},O,U=0;U<M.length;U++){var B=M[U];O=B.type,D[O]=(D[O]||0)+1,B._fullInput._template||I.push({code:"missing",index:B._fullInput.index,traceType:O})}for(O in L){var Y=L[O].length,z=D[O]||0;Y>z?I.push({code:"unused",traceType:O,templateCount:Y,dataCount:z}):z>Y&&I.push({code:"reused",traceType:O,templateCount:Y,dataCount:z})}}function V(j,G){for(var W in j)if(W.charAt(0)!=="_"){var X=j[W],Q=x(j,W,G);v(X)?(Array.isArray(j)&&X._template===!1&&X.templateitemname&&I.push({code:"missing",path:Q,templateitemname:X.templateitemname}),V(X,Q)):Array.isArray(X)&&y(X)&&V(X,Q)}}if(V({data:M,layout:P},""),I.length)return I.map(C)};function y(w){for(var R=0;R<w.length;R++)if(v(w[R]))return!0}function C(w){var R;switch(w.code){case"data":R="The template has no key data.";break;case"layout":R="The template has no key layout.";break;case"missing":w.path?R="There are no templates for item "+w.path+" with name "+w.templateitemname:R="There are no templates for trace "+w.index+", of type "+w.traceType+".";break;case"unused":w.path?R="The template item at "+w.path+" was not used in constructing the plot.":w.dataCount?R="Some of the templates of type "+w.traceType+" were not used. The template has "+w.templateCount+" traces, the data only has "+w.dataCount+" of this type.":R="The template has "+w.templateCount+" traces of type "+w.traceType+" but there are none in the data.";break;case"reused":R="Some of the templates of type "+w.traceType+" were used more than once. The template has "+w.templateCount+" traces, the data has "+w.dataCount+" of this type.";break}return w.msg=R,w}},67024:function(u,h,a){var l=a(38248),v=a(36424),i=a(7316),S=a(3400),g=a(81792),p=a(37164),_=a(63268),c=a(25788).version,s={format:{valType:"enumerated",values:["png","jpeg","webp","svg","full-json"],dflt:"png"},width:{valType:"number",min:1},height:{valType:"number",min:1},scale:{valType:"number",min:0,dflt:1},setBackground:{valType:"any",dflt:!1},imageDataOnly:{valType:"boolean",dflt:!1}};function d(f,b){b=b||{};var x,y,C,w;S.isPlainObject(f)?(x=f.data||[],y=f.layout||{},C=f.config||{},w={}):(f=S.getGraphDiv(f),x=S.extendDeep([],f.data),y=S.extendDeep({},f.layout),C=f._context,w=f._fullLayout||{});function R(z){return!(z in b)||S.validate(b[z],s[z])}if(!R("width")&&b.width!==null||!R("height")&&b.height!==null)throw new Error("Height and width should be pixel values.");if(!R("format"))throw new Error("Export format is not "+S.join2(s.format.values,", "," or ")+".");var A={};function E(z,V){return S.coerce(b,A,s,z,V)}var k=E("format"),L=E("width"),I=E("height"),P=E("scale"),M=E("setBackground"),F=E("imageDataOnly"),N=document.createElement("div");N.style.position="absolute",N.style.left="-5000px",document.body.appendChild(N);var T=S.extendFlat({},y);L?T.width=L:b.width===null&&l(w.width)&&(T.width=w.width),I?T.height=I:b.height===null&&l(w.height)&&(T.height=w.height);var D=S.extendFlat({},C,{_exportedPlot:!0,staticPlot:!0,setBackground:M}),O=g.getRedrawFunc(N);function U(){return new Promise(function(z){setTimeout(z,g.getDelay(N._fullLayout))})}function B(){return new Promise(function(z,V){var j=p(N,k,P),G=N._fullLayout.width,W=N._fullLayout.height;function X(){v.purge(N),document.body.removeChild(N)}if(k==="full-json"){var Q=i.graphJson(N,!1,"keepdata","object",!0,!0);return Q.version=c,Q=JSON.stringify(Q),X(),z(F?Q:g.encodeJSON(Q))}if(X(),k==="svg")return z(F?j:g.encodeSVG(j));var ae=document.createElement("canvas");ae.id=S.randstr(),_({format:k,width:G,height:W,scale:P,canvas:ae,svg:j,promise:!0}).then(z).catch(V)})}function Y(z){return F?z.replace(g.IMAGE_URL_PREFIX,""):z}return new Promise(function(z,V){v.newPlot(N,x,T,D).then(O).then(U).then(B).then(function(j){z(Y(j))}).catch(function(j){V(j)})})}u.exports=d},21480:function(u,h,a){var l=a(3400),v=a(7316),i=a(73060),S=a(20556).dfltConfig,g=l.isPlainObject,p=Array.isArray,_=l.isArrayOrTypedArray;u.exports=function(E,k){E===void 0&&(E=[]),k===void 0&&(k={});var L=i.get(),I=[],P={_context:l.extendFlat({},S)},M,F;p(E)?(P.data=l.extendDeep([],E),M=E):(P.data=[],M=[],I.push(b("array","data"))),g(k)?(P.layout=l.extendDeep({},k),F=k):(P.layout={},F={},arguments.length>1&&I.push(b("object","layout"))),v.supplyDefaults(P);for(var N=P._fullData,T=M.length,D=0;D<T;D++){var O=M[D],U=["data",D];if(!g(O)){I.push(b("object",U));continue}var B=N[D],Y=B.type,z=L.traces[Y].attributes;z.type={valType:"enumerated",values:[Y]},B.visible===!1&&O.visible!==!1&&I.push(b("invisible",U)),c(O,B,z,I,U);var V=O.transforms,j=B.transforms;if(V){p(V)||I.push(b("array",U,["transforms"])),U.push("transforms");for(var G=0;G<V.length;G++){var W=["transforms",G],X=V[G].type;if(!g(V[G])){I.push(b("object",U,W));continue}var Q=L.transforms[X]?L.transforms[X].attributes:{};Q.type={valType:"enumerated",values:Object.keys(L.transforms)},c(V[G],j[G],Q,I,U,W)}}}var ae=P._fullLayout,ie=s(L,N);return c(F,ae,ie,I,"layout"),I.length===0?void 0:I};function c(A,E,k,L,I,P){P=P||[];for(var M=Object.keys(A),F=0;F<M.length;F++){var N=M[F];if(N!=="transforms"){var T=P.slice();T.push(N);var D=A[N],O=E[N],U=y(k,N),B=(U||{}).valType,Y=B==="info_array",z=B==="colorscale",V=(U||{}).items;if(!x(k,N))L.push(b("schema",I,T));else if(g(D)&&g(O)&&B!=="any")c(D,O,U,L,I,T);else if(Y&&p(D)){D.length>O.length&&L.push(b("unused",I,T.concat(O.length)));var j=O.length,G=Array.isArray(V);G&&(j=Math.min(j,V.length));var W,X,Q,ae,ie;if(U.dimensions===2)for(X=0;X<j;X++)if(p(D[X])){D[X].length>O[X].length&&L.push(b("unused",I,T.concat(X,O[X].length)));var he=O[X].length;for(W=0;W<(G?Math.min(he,V[X].length):he);W++)Q=G?V[X][W]:V,ae=D[X][W],ie=O[X][W],l.validate(ae,Q)?ie!==ae&&ie!==+ae&&L.push(b("dynamic",I,T.concat(X,W),ae,ie)):L.push(b("value",I,T.concat(X,W),ae))}else L.push(b("array",I,T.concat(X),D[X]));else for(X=0;X<j;X++)Q=G?V[X]:V,ae=D[X],ie=O[X],l.validate(ae,Q)?ie!==ae&&ie!==+ae&&L.push(b("dynamic",I,T.concat(X),ae,ie)):L.push(b("value",I,T.concat(X),ae))}else if(U.items&&!Y&&p(D)){var J=V[Object.keys(V)[0]],Z=[],le,K;for(le=0;le<O.length;le++){var te=O[le]._index||le;if(K=T.slice(),K.push(te),g(D[te])&&g(O[le])){Z.push(te);var ce=D[te],re=O[le];g(ce)&&ce.visible!==!1&&re.visible===!1?L.push(b("invisible",I,K)):c(ce,re,J,L,I,K)}}for(le=0;le<D.length;le++)K=T.slice(),K.push(le),g(D[le])?Z.indexOf(le)===-1&&L.push(b("unused",I,K)):L.push(b("object",I,K,D[le]))}else!g(D)&&g(O)?L.push(b("object",I,T,D)):!_(D)&&_(O)&&!Y&&!z?L.push(b("array",I,T,D)):N in E?l.validate(D,U)?U.valType==="enumerated"&&(U.coerceNumber&&D!==+O||D!==O)&&L.push(b("dynamic",I,T,D,O)):L.push(b("value",I,T,D)):L.push(b("unused",I,T,D))}}return L}function s(A,E){for(var k=A.layout.layoutAttributes,L=0;L<E.length;L++){var I=E[L],P=A.traces[I.type],M=P.layoutAttributes;M&&(I.subplot?l.extendFlat(k[P.attributes.subplot.dflt],M):l.extendFlat(k,M))}return k}var d={object:function(A,E){var k;return A==="layout"&&E===""?k="The layout argument":A[0]==="data"&&E===""?k="Trace "+A[1]+" in the data argument":k=f(A)+"key "+E,k+" must be linked to an object container"},array:function(A,E){var k;return A==="data"?k="The data argument":k=f(A)+"key "+E,k+" must be linked to an array container"},schema:function(A,E){return f(A)+"key "+E+" is not part of the schema"},unused:function(A,E,k){var L=g(k)?"container":"key";return f(A)+L+" "+E+" did not get coerced"},dynamic:function(A,E,k,L){return[f(A)+"key",E,"(set to '"+k+"')","got reset to","'"+L+"'","during defaults."].join(" ")},invisible:function(A,E){return(E?f(A)+"item "+E:"Trace "+A[1])+" got defaulted to be not visible"},value:function(A,E,k){return[f(A)+"key "+E,"is set to an invalid value ("+k+")"].join(" ")}};function f(A){return p(A)?"In data trace "+A[1]+", ":"In "+A+", "}function b(A,E,k,L,I){k=k||"";var P,M;p(E)?(P=E[0],M=E[1]):(P=E,M=null);var F=R(k),N=d[A](E,F,L,I);return l.log(N),{code:A,container:P,trace:M,path:k,astr:F,msg:N}}function x(A,E){var k=w(E),L=k.keyMinusId,I=k.id;return L in A&&A[L]._isSubplotObj&&I?!0:E in A}function y(A,E){if(E in A)return A[E];var k=w(E);return A[k.keyMinusId]}var C=l.counterRegex("([a-z]+)");function w(A){var E=A.match(C);return{keyMinusId:E&&E[1],id:E&&E[2]}}function R(A){if(!p(A))return String(A);for(var E="",k=0;k<A.length;k++){var L=A[k];typeof L=="number"?E=E.substr(0,E.length-1)+"["+L+"]":E+=L,k<A.length-1&&(E+=".")}return E}},85656:function(u){u.exports={mode:{valType:"enumerated",dflt:"afterall",values:["immediate","next","afterall"]},direction:{valType:"enumerated",values:["forward","reverse"],dflt:"forward"},fromcurrent:{valType:"boolean",dflt:!1},frame:{duration:{valType:"number",min:0,dflt:500},redraw:{valType:"boolean",dflt:!0}},transition:{duration:{valType:"number",min:0,dflt:500,editType:"none"},easing:{valType:"enumerated",dflt:"cubic-in-out",values:["linear","quad","cubic","sin","exp","circle","elastic","back","bounce","linear-in","quad-in","cubic-in","sin-in","exp-in","circle-in","elastic-in","back-in","bounce-in","linear-out","quad-out","cubic-out","sin-out","exp-out","circle-out","elastic-out","back-out","bounce-out","linear-in-out","quad-in-out","cubic-in-out","sin-in-out","exp-in-out","circle-in-out","elastic-in-out","back-in-out","bounce-in-out"],editType:"none"},ordering:{valType:"enumerated",values:["layout first","traces first"],dflt:"layout first",editType:"none"}}}},51272:function(u,h,a){var l=a(3400),v=a(31780);u.exports=function(S,g,p){var _=p.name,c=p.inclusionAttr||"visible",s=g[_],d=l.isArrayOrTypedArray(S[_])?S[_]:[],f=g[_]=[],b=v.arrayTemplater(g,_,c),x,y;for(x=0;x<d.length;x++){var C=d[x];l.isPlainObject(C)?y=b.newItem(C):(y=b.newItem({}),y[c]=!1),y._index=x,y[c]!==!1&&p.handleItemDefaults(C,y,g,p),f.push(y)}var w=b.defaultItems();for(x=0;x<w.length;x++)y=w[x],y._index=f.length,p.handleItemDefaults({},y,g,p,{}),f.push(y);if(l.isArrayOrTypedArray(s)){var R=Math.min(s.length,f.length);for(x=0;x<R;x++)l.relinkPrivateKeys(f[x],s[x])}return f}},45464:function(u,h,a){var l=a(25376),v=a(55756);u.exports={type:{valType:"enumerated",values:[],dflt:"scatter",editType:"calc+clearAxisTypes",_noTemplating:!0},visible:{valType:"enumerated",values:[!0,!1,"legendonly"],dflt:!0,editType:"calc"},showlegend:{valType:"boolean",dflt:!0,editType:"style"},legend:{valType:"subplotid",dflt:"legend",editType:"style"},legendgroup:{valType:"string",dflt:"",editType:"style"},legendgrouptitle:{text:{valType:"string",dflt:"",editType:"style"},font:l({editType:"style"}),editType:"style"},legendrank:{valType:"number",dflt:1e3,editType:"style"},legendwidth:{valType:"number",min:0,editType:"style"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"style"},name:{valType:"string",editType:"style"},uid:{valType:"string",editType:"plot",anim:!0},ids:{valType:"data_array",editType:"calc",anim:!0},customdata:{valType:"data_array",editType:"calc"},meta:{valType:"any",arrayOk:!0,editType:"plot"},selectedpoints:{valType:"any",editType:"calc"},hoverinfo:{valType:"flaglist",flags:["x","y","z","text","name"],extras:["all","none","skip"],arrayOk:!0,dflt:"all",editType:"none"},hoverlabel:v.hoverlabel,stream:{token:{valType:"string",noBlank:!0,strict:!0,editType:"calc"},maxpoints:{valType:"number",min:0,max:1e4,dflt:500,editType:"calc"},editType:"calc"},transforms:{_isLinkedToArray:"transform",editType:"calc"},uirevision:{valType:"any",editType:"none"}}},1220:function(u,h,a){var l=a(38248),v=a(3400),i=v.dateTime2ms,S=v.incrementMonth,g=a(39032),p=g.ONEAVGMONTH;u.exports=function(c,s,d,f){if(s.type!=="date")return{vals:f};var b=c[d+"periodalignment"];if(!b)return{vals:f};var x=c[d+"period"],y;if(l(x)){if(x=+x,x<=0)return{vals:f}}else if(typeof x=="string"&&x.charAt(0)==="M"){var C=+x.substring(1);if(C>0&&Math.round(C)===C)y=C;else return{vals:f}}for(var w=s.calendar,R=b==="start",A=b==="end",E=c[d+"period0"],k=i(E,w)||0,L=[],I=[],P=[],M=f.length,F=0;F<M;F++){var N=f[F],T,D,O;if(y){for(T=Math.round((N-k)/(y*p)),O=S(k,y*T,w);O>N;)O=S(O,-y,w);for(;O<=N;)O=S(O,y,w);D=S(O,-y,w)}else{for(T=Math.round((N-k)/x),O=k+T*x;O>N;)O-=x;for(;O<=N;)O+=x;D=O-x}L[F]=R?D:A?O:(D+O)/2,I[F]=D,P[F]=O}return{vals:L,starts:I,ends:P}}},26720:function(u){u.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},19280:function(u,h,a){var l=a(33428),v=a(38248),i=a(3400),S=a(39032).FP_SAFE,g=a(24040),p=a(43616),_=a(79811),c=_.getFromId,s=_.isLinked;u.exports={applyAutorangeOptions:T,getAutoRange:d,makePadFn:b,doAutoRange:w,findExtremes:R,concatExtremes:C};function d(D,O){var U,B,Y=[],z=D._fullLayout,V=b(z,O,0),j=b(z,O,1),G=C(D,O),W=G.min,X=G.max;if(W.length===0||X.length===0)return i.simpleMap(O.range,O.r2l);var Q=W[0].val,ae=X[0].val;for(U=1;U<W.length&&Q===ae;U++)Q=Math.min(Q,W[U].val);for(U=1;U<X.length&&Q===ae;U++)ae=Math.max(ae,X[U].val);var ie=O.autorange,he=ie==="reversed"||ie==="min reversed"||ie==="max reversed";if(!he&&O.range){var J=i.simpleMap(O.range,O.r2l);he=J[1]<J[0]}O.autorange==="reversed"&&(O.autorange=!0);var Z=O.rangemode,le=Z==="tozero",K=Z==="nonnegative",te=O._length,ce=te/10,re=0,ee,de,oe,fe,me,Te;for(U=0;U<W.length;U++)for(ee=W[U],B=0;B<X.length;B++)de=X[B],Te=de.val-ee.val-f(O,ee.val,de.val),Te>0&&(me=te-V(ee)-j(de),me>ce?Te/me>re&&(oe=ee,fe=de,re=Te/me):Te/te>re&&(oe={val:ee.val,nopad:1},fe={val:de.val,nopad:1},re=Te/te));function we(Pe,Ke){return Math.max(Pe,j(Ke))}if(Q===ae){var Be=Q-1,Ae=Q+1;if(le)if(Q===0)Y=[0,1];else{var Re=(Q>0?X:W).reduce(we,0),be=Q/(1-Math.min(.5,Re/te));Y=Q>0?[0,be]:[be,0]}else K?Y=[Math.max(0,Be),Math.max(1,Ae)]:Y=[Be,Ae]}else le?(oe.val>=0&&(oe={val:0,nopad:1}),fe.val<=0&&(fe={val:0,nopad:1})):K&&(oe.val-re*V(oe)<0&&(oe={val:0,nopad:1}),fe.val<=0&&(fe={val:1,nopad:1})),re=(fe.val-oe.val-f(O,ee.val,de.val))/(te-V(oe)-j(fe)),Y=[oe.val-re*V(oe),fe.val+re*j(fe)];return Y=T(Y,O),O.limitRange&&O.limitRange(),he&&Y.reverse(),i.simpleMap(Y,O.l2r||Number)}function f(D,O,U){var B=0;if(D.rangebreaks)for(var Y=D.locateBreaks(O,U),z=0;z<Y.length;z++){var V=Y[z];B+=V.max-V.min}return B}function b(D,O,U){var B=.05*O._length,Y=O._anchorAxis||{};if((O.ticklabelposition||"").indexOf("inside")!==-1||(Y.ticklabelposition||"").indexOf("inside")!==-1){var z=O.isReversed();if(!z){var V=i.simpleMap(O.range,O.r2l);z=V[1]<V[0]}z&&(U=!U)}var j=0;return s(D,O._id)||(j=y(D,O,U)),B=Math.max(j,B),O.constrain==="domain"&&O._inputDomain&&(B*=(O._inputDomain[1]-O._inputDomain[0])/(O.domain[1]-O.domain[0])),function(W){return W.nopad?0:W.pad+(W.extrapad?B:j)}}var x=3;function y(D,O,U){var B=0,Y=O._id.charAt(0)==="x";for(var z in D._plots){var V=D._plots[z];if(!(O._id!==V.xaxis._id&&O._id!==V.yaxis._id)){var j=(Y?V.yaxis:V.xaxis)||{};if((j.ticklabelposition||"").indexOf("inside")!==-1&&(!U&&(j.side==="left"||j.side==="bottom")||U&&(j.side==="top"||j.side==="right"))){if(j._vals){var G=i.deg2rad(j._tickAngles[j._id+"tick"]||0),W=Math.abs(Math.cos(G)),X=Math.abs(Math.sin(G));if(!j._vals[0].bb){var Q=j._id+"tick",ae=j._selections[Q];ae.each(function(K){var te=l.select(this),ce=te.select(".text-math-group");ce.empty()&&(K.bb=p.bBox(te.node()))})}for(var ie=0;ie<j._vals.length;ie++){var he=j._vals[ie],J=he.bb;if(J){var Z=2*x+J.width,le=2*x+J.height;B=Math.max(B,Y?Math.max(Z*W,le*X):Math.max(le*W,Z*X))}}}j.ticks==="inside"&&j.ticklabelposition==="inside"&&(B+=j.ticklen||0)}}}return B}function C(D,O,U){var B=O._id,Y=D._fullData,z=D._fullLayout,V=[],j=[],G,W,X;function Q(Z,le){for(G=0;G<le.length;G++){var K=Z[le[G]],te=(K._extremes||{})[B];if(K.visible===!0&&te){for(W=0;W<te.min.length;W++)X=te.min[W],A(V,X.val,X.pad,{extrapad:X.extrapad});for(W=0;W<te.max.length;W++)X=te.max[W],E(j,X.val,X.pad,{extrapad:X.extrapad})}}}if(Q(Y,O._traceIndices),Q(z.annotations||[],O._annIndices||[]),Q(z.shapes||[],O._shapeIndices||[]),O._matchGroup&&!U){for(var ae in O._matchGroup)if(ae!==O._id){var ie=c(D,ae),he=C(D,ie,!0),J=O._length/ie._length;for(W=0;W<he.min.length;W++)X=he.min[W],A(V,X.val,X.pad*J,{extrapad:X.extrapad});for(W=0;W<he.max.length;W++)X=he.max[W],E(j,X.val,X.pad*J,{extrapad:X.extrapad})}}return{min:V,max:j}}function w(D,O,U){if(O.setScale(),O.autorange){O.range=U?U.slice():d(D,O),O._r=O.range.slice(),O._rl=i.simpleMap(O._r,O.r2l);var B=O._input,Y={};Y[O._attr+".range"]=O.range,Y[O._attr+".autorange"]=O.autorange,g.call("_storeDirectGUIEdit",D.layout,D._fullLayout._preGUI,Y),B.range=O.range.slice(),B.autorange=O.autorange}var z=O._anchorAxis;if(z&&z.rangeslider){var V=z.rangeslider[O._name];V&&V.rangemode==="auto"&&(V.range=d(D,O)),z._input.rangeslider[O._name]=i.extendFlat({},V)}}function R(D,O,U){U||(U={}),D._m||D.setScale();var B=[],Y=[],z=O.length,V=U.padded||!1,j=U.tozero&&(D.type==="linear"||D.type==="-"),G=D.type==="log",W=!1,X=U.vpadLinearized||!1,Q,ae,ie,he,J,Z,le,K,te;function ce(we){if(Array.isArray(we))return W=!0,function(Ae){return Math.max(Number(we[Ae]||0),0)};var Be=Math.max(Number(we||0),0);return function(){return Be}}var re=ce((D._m>0?U.ppadplus:U.ppadminus)||U.ppad||0),ee=ce((D._m>0?U.ppadminus:U.ppadplus)||U.ppad||0),de=ce(U.vpadplus||U.vpad),oe=ce(U.vpadminus||U.vpad);if(!W){if(K=1/0,te=-1/0,G)for(Q=0;Q<z;Q++)ae=O[Q],ae<K&&ae>0&&(K=ae),ae>te&&ae<S&&(te=ae);else for(Q=0;Q<z;Q++)ae=O[Q],ae<K&&ae>-S&&(K=ae),ae>te&&ae<S&&(te=ae);O=[K,te],z=2}var fe={tozero:j,extrapad:V};function me(we){ie=O[we],v(ie)&&(Z=re(we),le=ee(we),X?(he=D.c2l(ie)-oe(we),J=D.c2l(ie)+de(we)):(K=ie-oe(we),te=ie+de(we),G&&K<te/10&&(K=te/10),he=D.c2l(K),J=D.c2l(te)),j&&(he=Math.min(0,he),J=Math.max(0,J)),L(he)&&A(B,he,le,fe),L(J)&&E(Y,J,Z,fe))}var Te=Math.min(6,z);for(Q=0;Q<Te;Q++)me(Q);for(Q=z-1;Q>=Te;Q--)me(Q);return{min:B,max:Y,opts:U}}function A(D,O,U,B){k(D,O,U,B,I)}function E(D,O,U,B){k(D,O,U,B,P)}function k(D,O,U,B,Y){for(var z=B.tozero,V=B.extrapad,j=!0,G=0;G<D.length&&j;G++){var W=D[G];if(Y(W.val,O)&&W.pad>=U&&(W.extrapad||!V)){j=!1;break}else Y(O,W.val)&&W.pad<=U&&(V||!W.extrapad)&&(D.splice(G,1),G--)}if(j){var X=z&&O===0;D.push({val:O,pad:X?0:U,extrapad:X?!1:V})}}function L(D){return v(D)&&Math.abs(D)<S}function I(D,O){return D<=O}function P(D,O){return D>=O}function M(D,O){var U=O.autorangeoptions;return U&&U.minallowed!==void 0&&N(O,U.minallowed,U.maxallowed)?U.minallowed:U&&U.clipmin!==void 0&&N(O,U.clipmin,U.clipmax)?Math.max(D,O.d2l(U.clipmin)):D}function F(D,O){var U=O.autorangeoptions;return U&&U.maxallowed!==void 0&&N(O,U.minallowed,U.maxallowed)?U.maxallowed:U&&U.clipmax!==void 0&&N(O,U.clipmin,U.clipmax)?Math.min(D,O.d2l(U.clipmax)):D}function N(D,O,U){return O!==void 0&&U!==void 0?(O=D.d2l(O),U=D.d2l(U),O<U):!0}function T(D,O){if(!O||!O.autorangeoptions)return D;var U=D[0],B=D[1],Y=O.autorangeoptions.include;if(Y!==void 0){var z=O.d2l(U),V=O.d2l(B);i.isArrayOrTypedArray(Y)||(Y=[Y]);for(var j=0;j<Y.length;j++){var G=O.d2l(Y[j]);z>=G&&(z=G,U=G),V<=G&&(V=G,B=G)}}return U=M(U,O),B=F(B,O),[U,B]}},76808:function(u){u.exports=function(a,l,v){var i,S;if(v){var g=l==="reversed"||l==="min reversed"||l==="max reversed";i=v[g?1:0],S=v[g?0:1]}var p=a("autorangeoptions.minallowed",S===null?i:void 0),_=a("autorangeoptions.maxallowed",i===null?S:void 0);p===void 0&&a("autorangeoptions.clipmin"),_===void 0&&a("autorangeoptions.clipmax"),a("autorangeoptions.include")}},54460:function(u,h,a){var l=a(33428),v=a(38248),i=a(7316),S=a(24040),g=a(3400),p=g.strTranslate,_=a(72736),c=a(81668),s=a(76308),d=a(43616),f=a(94724),b=a(98728),x=a(39032),y=x.ONEMAXYEAR,C=x.ONEAVGYEAR,w=x.ONEMINYEAR,R=x.ONEMAXQUARTER,A=x.ONEAVGQUARTER,E=x.ONEMINQUARTER,k=x.ONEMAXMONTH,L=x.ONEAVGMONTH,I=x.ONEMINMONTH,P=x.ONEWEEK,M=x.ONEDAY,F=M/2,N=x.ONEHOUR,T=x.ONEMIN,D=x.ONESEC,O=x.MINUS_SIGN,U=x.BADNUM,B={K:"zeroline"},Y={K:"gridline",L:"path"},z={K:"minor-gridline",L:"path"},V={K:"tick",L:"path"},j={K:"tick",L:"text"},G={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},W=a(84284),X=W.MID_SHIFT,Q=W.CAP_SHIFT,ae=W.LINE_SPACING,ie=W.OPPOSITE_SIDE,he=3,J=u.exports={};J.setConvert=a(78344);var Z=a(52976),le=a(79811),K=le.idSort,te=le.isLinked;J.id2name=le.id2name,J.name2id=le.name2id,J.cleanId=le.cleanId,J.list=le.list,J.listIds=le.listIds,J.getFromId=le.getFromId,J.getFromTrace=le.getFromTrace;var ce=a(19280);J.getAutoRange=ce.getAutoRange,J.findExtremes=ce.findExtremes;var re=1e-4;function ee(Ze){var Xe=(Ze[1]-Ze[0])*re;return[Ze[0]-Xe,Ze[1]+Xe]}J.coerceRef=function(Ze,Xe,Wt,jt,ar,mr){var br=jt.charAt(jt.length-1),fr=Wt._fullLayout._subplots[br+"axis"],Kt=jt+"ref",kr={};return ar||(ar=fr[0]||(typeof mr=="string"?mr:mr[0])),mr||(mr=ar),fr=fr.concat(fr.map(function(Rr){return Rr+" domain"})),kr[Kt]={valType:"enumerated",values:fr.concat(mr?typeof mr=="string"?[mr]:mr:[]),dflt:ar},g.coerce(Ze,Xe,kr,Kt)},J.getRefType=function(Ze){return Ze===void 0?Ze:Ze==="paper"?"paper":Ze==="pixel"?"pixel":/( domain)$/.test(Ze)?"domain":"range"},J.coercePosition=function(Ze,Xe,Wt,jt,ar,mr){var br,fr,Kt=J.getRefType(jt);if(Kt!=="range")br=g.ensureNumber,fr=Wt(ar,mr);else{var kr=J.getFromId(Xe,jt);mr=kr.fraction2r(mr),fr=Wt(ar,mr),br=kr.cleanPos}Ze[ar]=br(fr)},J.cleanPosition=function(Ze,Xe,Wt){var jt=Wt==="paper"||Wt==="pixel"?g.ensureNumber:J.getFromId(Xe,Wt).cleanPos;return jt(Ze)},J.redrawComponents=function(Ze,Xe){Xe=Xe||J.listIds(Ze);var Wt=Ze._fullLayout;function jt(ar,mr,br,fr){for(var Kt=S.getComponentMethod(ar,mr),kr={},Rr=0;Rr<Xe.length;Rr++)for(var Lr=Wt[J.id2name(Xe[Rr])],Ar=Lr[br],ln=0;ln<Ar.length;ln++){var Kr=Ar[ln];if(!kr[Kr]&&(Kt(Ze,Kr),kr[Kr]=1,fr))return}}jt("annotations","drawOne","_annIndices"),jt("shapes","drawOne","_shapeIndices"),jt("images","draw","_imgIndices",!0),jt("selections","drawOne","_selectionIndices")};var de=J.getDataConversions=function(Ze,Xe,Wt,jt){var ar,mr=Wt==="x"||Wt==="y"||Wt==="z"?Wt:jt;if(g.isArrayOrTypedArray(mr)){if(ar={type:Z(jt,void 0,{autotypenumbers:Ze._fullLayout.autotypenumbers}),_categories:[]},J.setConvert(ar),ar.type==="category")for(var br=0;br<jt.length;br++)ar.d2c(jt[br])}else ar=J.getFromTrace(Ze,Xe,mr);return ar?{d2c:ar.d2c,c2d:ar.c2d}:mr==="ids"?{d2c:fe,c2d:fe}:{d2c:oe,c2d:oe}};function oe(Ze){return+Ze}function fe(Ze){return String(Ze)}J.getDataToCoordFunc=function(Ze,Xe,Wt,jt){return de(Ze,Xe,Wt,jt).d2c},J.counterLetter=function(Ze){var Xe=Ze.charAt(0);if(Xe==="x")return"y";if(Xe==="y")return"x"},J.minDtick=function(Ze,Xe,Wt,jt){["log","category","multicategory"].indexOf(Ze.type)!==-1||!jt?Ze._minDtick=0:Ze._minDtick===void 0?(Ze._minDtick=Xe,Ze._forceTick0=Wt):Ze._minDtick&&((Ze._minDtick/Xe+1e-6)%1<2e-6&&((Wt-Ze._forceTick0)/Xe%1+1.000001)%1<2e-6?(Ze._minDtick=Xe,Ze._forceTick0=Wt):((Xe/Ze._minDtick+1e-6)%1>2e-6||((Wt-Ze._forceTick0)/Ze._minDtick%1+1.000001)%1>2e-6)&&(Ze._minDtick=0))},J.saveRangeInitial=function(Ze,Xe){for(var Wt=J.list(Ze,"",!0),jt=!1,ar=0;ar<Wt.length;ar++){var mr=Wt[ar],br=mr._rangeInitial0===void 0&&mr._rangeInitial1===void 0,fr=br||mr.range[0]!==mr._rangeInitial0||mr.range[1]!==mr._rangeInitial1,Kt=mr.autorange;(br&&Kt!==!0||Xe&&fr)&&(mr._rangeInitial0=Kt==="min"||Kt==="max reversed"?void 0:mr.range[0],mr._rangeInitial1=Kt==="max"||Kt==="min reversed"?void 0:mr.range[1],mr._autorangeInitial=Kt,jt=!0)}return jt},J.saveShowSpikeInitial=function(Ze,Xe){for(var Wt=J.list(Ze,"",!0),jt=!1,ar="on",mr=0;mr<Wt.length;mr++){var br=Wt[mr],fr=br._showSpikeInitial===void 0,Kt=fr||br.showspikes!==br._showspikes;(fr||Xe&&Kt)&&(br._showSpikeInitial=br.showspikes,jt=!0),ar==="on"&&!br.showspikes&&(ar="off")}return Ze._fullLayout._cartesianSpikesEnabled=ar,jt},J.autoBin=function(Ze,Xe,Wt,jt,ar,mr){var br=g.aggNums(Math.min,null,Ze),fr=g.aggNums(Math.max,null,Ze);if(Xe.type==="category"||Xe.type==="multicategory")return{start:br-.5,end:fr+.5,size:Math.max(1,Math.round(mr)||1),_dataSpan:fr-br};ar||(ar=Xe.calendar);var Kt;if(Xe.type==="log"?Kt={type:"linear",range:[br,fr]}:Kt={type:Xe.type,range:g.simpleMap([br,fr],Xe.c2r,0,ar),calendar:ar},J.setConvert(Kt),mr=mr&&b.dtick(mr,Kt.type),mr)Kt.dtick=mr,Kt.tick0=b.tick0(void 0,Kt.type,ar);else{var kr;if(Wt)kr=(fr-br)/Wt;else{var Rr=g.distinctVals(Ze),Lr=Math.pow(10,Math.floor(Math.log(Rr.minDiff)/Math.LN10)),Ar=Lr*g.roundUp(Rr.minDiff/Lr,[.9,1.9,4.9,9.9],!0);kr=Math.max(Ar,2*g.stdev(Ze)/Math.pow(Ze.length,jt?.25:.4)),v(kr)||(kr=1)}J.autoTicks(Kt,kr)}var ln=Kt.dtick,Kr=J.tickIncrement(J.tickFirst(Kt),ln,"reverse",ar),Xr,Bn;if(typeof ln=="number")Kr=me(Kr,Ze,Kt,br,fr),Bn=1+Math.floor((fr-Kr)/ln),Xr=Kr+Bn*ln;else for(Kt.dtick.charAt(0)==="M"&&(Kr=Te(Kr,Ze,ln,br,ar)),Xr=Kr,Bn=0;Xr<=fr;)Xr=J.tickIncrement(Xr,ln,!1,ar),Bn++;return{start:Xe.c2r(Kr,0,ar),end:Xe.c2r(Xr,0,ar),size:ln,_dataSpan:fr-br}};function me(Ze,Xe,Wt,jt,ar){var mr=0,br=0,fr=0,Kt=0;function kr(ln){return(1+(ln-Ze)*100/Wt.dtick)%100<2}for(var Rr=0;Rr<Xe.length;Rr++)Xe[Rr]%1===0?fr++:v(Xe[Rr])||Kt++,kr(Xe[Rr])&&mr++,kr(Xe[Rr]+Wt.dtick/2)&&br++;var Lr=Xe.length-Kt;if(fr===Lr&&Wt.type!=="date")Wt.dtick<1?Ze=jt-.5*Wt.dtick:(Ze-=.5,Ze+Wt.dtick<jt&&(Ze+=Wt.dtick));else if(br<Lr*.1&&(mr>Lr*.3||kr(jt)||kr(ar))){var Ar=Wt.dtick/2;Ze+=Ze+Ar<jt?Ar:-Ar}return Ze}function Te(Ze,Xe,Wt,jt,ar){var mr=g.findExactDates(Xe,ar),br=.8;if(mr.exactDays>br){var fr=Number(Wt.substr(1));mr.exactYears>br&&fr%12===0?Ze=J.tickIncrement(Ze,"M6","reverse")+M*1.5:mr.exactMonths>br?Ze=J.tickIncrement(Ze,"M1","reverse")+M*15.5:Ze-=F;var Kt=J.tickIncrement(Ze,Wt);if(Kt<=jt)return Kt}return Ze}J.prepMinorTicks=function(Ze,Xe,Wt){if(!Xe.minor.dtick){delete Ze.dtick;var jt=Xe.dtick&&v(Xe._tmin),ar;if(jt){var mr=J.tickIncrement(Xe._tmin,Xe.dtick,!0);ar=[Xe._tmin,mr*.99+Xe._tmin*.01]}else{var br=g.simpleMap(Xe.range,Xe.r2l);ar=[br[0],.8*br[0]+.2*br[1]]}if(Ze.range=g.simpleMap(ar,Xe.l2r),Ze._isMinor=!0,J.prepTicks(Ze,Wt),jt){var fr=v(Xe.dtick),Kt=v(Ze.dtick),kr=fr?Xe.dtick:+Xe.dtick.substring(1),Rr=Kt?Ze.dtick:+Ze.dtick.substring(1);fr&&Kt?we(kr,Rr)?kr===2*P&&Rr===2*M&&(Ze.dtick=P):kr===2*P&&Rr===3*M?Ze.dtick=P:kr===P&&!(Xe._input.minor||{}).nticks?Ze.dtick=M:Be(kr/Rr,2.5)?Ze.dtick=kr/2:Ze.dtick=kr:String(Xe.dtick).charAt(0)==="M"?Kt?Ze.dtick="M1":we(kr,Rr)?kr>=12&&Rr===2&&(Ze.dtick="M3"):Ze.dtick=Xe.dtick:String(Ze.dtick).charAt(0)==="L"?String(Xe.dtick).charAt(0)==="L"?we(kr,Rr)||(Ze.dtick=Be(kr/Rr,2.5)?Xe.dtick/2:Xe.dtick):Ze.dtick="D1":Ze.dtick==="D2"&&+Xe.dtick>1&&(Ze.dtick=1)}Ze.range=Xe.range}Xe.minor._tick0Init===void 0&&(Ze.tick0=Xe.tick0)};function we(Ze,Xe){return Math.abs((Ze/Xe+.5)%1-.5)<.001}function Be(Ze,Xe){return Math.abs(Ze/Xe-1)<.001}J.prepTicks=function(Ze,Xe){var Wt=g.simpleMap(Ze.range,Ze.r2l,void 0,void 0,Xe);if(Ze.tickmode==="auto"||!Ze.dtick){var jt=Ze.nticks,ar;jt||(Ze.type==="category"||Ze.type==="multicategory"?(ar=Ze.tickfont?g.bigFont(Ze.tickfont.size||12):15,jt=Ze._length/ar):(ar=Ze._id.charAt(0)==="y"?40:80,jt=g.constrain(Ze._length/ar,4,9)+1),Ze._name==="radialaxis"&&(jt*=2)),Ze.minor&&Ze.minor.tickmode!=="array"||Ze.tickmode==="array"&&(jt*=100),Ze._roughDTick=Math.abs(Wt[1]-Wt[0])/jt,J.autoTicks(Ze,Ze._roughDTick),Ze._minDtick>0&&Ze.dtick<Ze._minDtick*2&&(Ze.dtick=Ze._minDtick,Ze.tick0=Ze.l2r(Ze._forceTick0))}Ze.ticklabelmode==="period"&&Re(Ze),Ze.tick0||(Ze.tick0=Ze.type==="date"?"2000-01-01":0),Ze.type==="date"&&Ze.dtick<.1&&(Ze.dtick=.1),_t(Ze)};function Ae(Ze){return+Ze.substring(1)}function Re(Ze){var Xe;function Wt(){return!(v(Ze.dtick)||Ze.dtick.charAt(0)!=="M")}var jt=Wt(),ar=J.getTickFormat(Ze);if(ar){var mr=Ze._dtickInit!==Ze.dtick;/%[fLQsSMX]/.test(ar)||(/%[HI]/.test(ar)?(Xe=N,mr&&!jt&&Ze.dtick<N&&(Ze.dtick=N)):/%p/.test(ar)?(Xe=F,mr&&!jt&&Ze.dtick<F&&(Ze.dtick=F)):/%[Aadejuwx]/.test(ar)?(Xe=M,mr&&!jt&&Ze.dtick<M&&(Ze.dtick=M)):/%[UVW]/.test(ar)?(Xe=P,mr&&!jt&&Ze.dtick<P&&(Ze.dtick=P)):/%[Bbm]/.test(ar)?(Xe=L,mr&&(jt?Ae(Ze.dtick)<1:Ze.dtick<I)&&(Ze.dtick="M1")):/%[q]/.test(ar)?(Xe=A,mr&&(jt?Ae(Ze.dtick)<3:Ze.dtick<E)&&(Ze.dtick="M3")):/%[Yy]/.test(ar)&&(Xe=C,mr&&(jt?Ae(Ze.dtick)<12:Ze.dtick<w)&&(Ze.dtick="M12")))}jt=Wt(),jt&&Ze.tick0===Ze._dowTick0&&(Ze.tick0=Ze._rawTick0),Ze._definedDelta=Xe}function be(Ze,Xe,Wt){for(var jt=0;jt<Ze.length;jt++){var ar=Ze[jt].value,mr=jt,br=jt+1;jt<Ze.length-1?(mr=jt,br=jt+1):jt>0?(mr=jt-1,br=jt):(mr=jt,br=jt);var fr=Ze[mr].value,Kt=Ze[br].value,kr=Math.abs(Kt-fr),Rr=Wt||kr,Lr=0;Rr>=w?kr>=w&&kr<=y?Lr=kr:Lr=C:Wt===A&&Rr>=E?kr>=E&&kr<=R?Lr=kr:Lr=A:Rr>=I?kr>=I&&kr<=k?Lr=kr:Lr=L:Wt===P&&Rr>=P?Lr=P:Rr>=M?Lr=M:Wt===F&&Rr>=F?Lr=F:Wt===N&&Rr>=N&&(Lr=N);var Ar;Lr>=kr&&(Lr=kr,Ar=!0);var ln=ar+Lr;if(Xe.rangebreaks&&Lr>0){for(var Kr=84,Xr=0,Bn=0;Bn<Kr;Bn++){var An=(Bn+.5)/Kr;Xe.maskBreaks(ar*(1-An)+An*ln)!==U&&Xr++}Lr*=Xr/Kr,Lr||(Ze[jt].drop=!0),Ar&&kr>P&&(Lr=kr)}(Lr>0||jt===0)&&(Ze[jt].periodX=ar+Lr/2)}}J.calcTicks=function(Xe,Wt){for(var jt=Xe.type,ar=Xe.calendar,mr=Xe.ticklabelstep,br=Xe.ticklabelmode==="period",fr=g.simpleMap(Xe.range,Xe.r2l,void 0,void 0,Wt),Kt=fr[1]<fr[0],kr=Math.min(fr[0],fr[1]),Rr=Math.max(fr[0],fr[1]),Lr=Math.max(1e3,Xe._length||0),Ar=[],ln=[],Kr=[],Xr=[],Bn=Xe.minor&&(Xe.minor.ticks||Xe.minor.showgrid),An=1;An>=(Bn?0:1);An--){var ta=!An;An?(Xe._dtickInit=Xe.dtick,Xe._tick0Init=Xe.tick0):(Xe.minor._dtickInit=Xe.minor.dtick,Xe.minor._tick0Init=Xe.minor.tick0);var ra=An?Xe:g.extendFlat({},Xe,Xe.minor);if(ta?J.prepMinorTicks(ra,Xe,Wt):J.prepTicks(ra,Wt),ra.tickmode==="array"){An?(Kr=[],Ar=ze(Xe,!ta)):(Xr=[],ln=ze(Xe,!ta));continue}if(ra.tickmode==="sync"){Kr=[],Ar=Ke(Xe);continue}var Cr=ee(fr),Jr=Cr[0],un=Cr[1],sn=v(ra.dtick),Nn=jt==="log"&&!(sn||ra.dtick.charAt(0)==="L"),Hn=J.tickFirst(ra,Wt);if(An){if(Xe._tmin=Hn,Hn<Jr!==Kt)break;(jt==="category"||jt==="multicategory")&&(un=Kt?Math.max(-.5,un):Math.min(Xe._categories.length-.5,un))}var $n=null,da=Hn,_a;if(An){var Ya;sn?Ya=Xe.dtick:jt==="date"?typeof Xe.dtick=="string"&&Xe.dtick.charAt(0)==="M"&&(Ya=L*Xe.dtick.substring(1)):Ya=Xe._roughDTick,_a=Math.round((Xe.r2l(da)-Xe.r2l(Xe.tick0))/Ya)-1}var di=ra.dtick;for(ra.rangebreaks&&ra._tick0Init!==ra.tick0&&(da=Xt(da,Xe),Kt||(da=J.tickIncrement(da,di,!Kt,ar))),An&&br&&(da=J.tickIncrement(da,di,!Kt,ar),_a--);Kt?da>=un:da<=un;da=J.tickIncrement(da,di,Kt,ar)){if(An&&_a++,ra.rangebreaks&&!Kt){if(da<Jr)continue;if(ra.maskBreaks(da)===U&&Xt(da,ra)>=Rr)break}if(Kr.length>Lr||da===$n)break;$n=da;var ii={value:da};An?(Nn&&da!==(da|0)&&(ii.simpleLabel=!0),mr>1&&_a%mr&&(ii.skipLabel=!0),Kr.push(ii)):(ii.minor=!0,Xr.push(ii))}}if(Bn){var Za=Xe.minor.ticks==="inside"&&Xe.ticks==="outside"||Xe.minor.ticks==="outside"&&Xe.ticks==="inside";if(!Za){for(var oi=Kr.map(function(zn){return zn.value}),Fr=[],vn=0;vn<Xr.length;vn++){var fn=Xr[vn],Vn=fn.value;if(oi.indexOf(Vn)===-1){for(var Sa=!1,na=0;!Sa&&na<Kr.length;na++)1e7+Kr[na].value===1e7+Vn&&(Sa=!0);Sa||Fr.push(fn)}}Xr=Fr}}br&&be(Kr,Xe,Xe._definedDelta);var aa;if(Xe.rangebreaks){var ba=Xe._id.charAt(0)==="y",Ua=1;Xe.tickmode==="auto"&&(Ua=Xe.tickfont?Xe.tickfont.size:12);var fi=NaN;for(aa=Kr.length-1;aa>-1;aa--){if(Kr[aa].drop){Kr.splice(aa,1);continue}Kr[aa].value=Xt(Kr[aa].value,Xe);var Vi=Xe.c2p(Kr[aa].value);(ba?fi>Vi-Ua:fi<Vi+Ua)?Kr.splice(Kt?aa+1:aa,1):fi=Vi}}Zt(Xe)&&Math.abs(fr[1]-fr[0])===360&&Kr.pop(),Xe._tmax=(Kr[Kr.length-1]||{}).value,Xe._prevDateHead="",Xe._inCalcTicks=!0;var Dr,tn=function(zn){zn.text="",Xe._prevDateHead=Dr};Kr=Kr.concat(Xr);var zr,rn;for(aa=0;aa<Kr.length;aa++){var Xn=Kr[aa].minor,ia=Kr[aa].value;Xn?ln.push({x:ia,minor:!0}):(Dr=Xe._prevDateHead,zr=J.tickText(Xe,ia,!1,Kr[aa].simpleLabel),rn=Kr[aa].periodX,rn!==void 0&&(zr.periodX=rn,(rn>Rr||rn<kr)&&(rn>Rr&&(zr.periodX=Rr),rn<kr&&(zr.periodX=kr),tn(zr))),Kr[aa].skipLabel&&tn(zr),Ar.push(zr))}return Ar=Ar.concat(ln),Xe._inCalcTicks=!1,br&&Ar.length&&(Ar[0].noTick=!0),Ar};function Pe(Ze,Xe){return Ze.rangebreaks&&(Xe=Xe.filter(function(Wt){return Ze.maskBreaks(Wt.x)!==U})),Xe}function Ke(Ze){var Xe=Ze._mainAxis,Wt=[];if(Xe._vals){for(var jt=0;jt<Xe._vals.length;jt++)if(!Xe._vals[jt].noTick){var ar=Xe.l2p(Xe._vals[jt].x),mr=Ze.p2l(ar),br=J.tickText(Ze,mr);Xe._vals[jt].minor&&(br.minor=!0,br.text=""),Wt.push(br)}}return Wt=Pe(Ze,Wt),Wt}function ze(Ze,Xe){var Wt=g.simpleMap(Ze.range,Ze.r2l),jt=ee(Wt),ar=Math.min(jt[0],jt[1]),mr=Math.max(jt[0],jt[1]),br=Ze.type==="category"?Ze.d2l_noadd:Ze.d2l;Ze.type==="log"&&String(Ze.dtick).charAt(0)!=="L"&&(Ze.dtick="L"+Math.pow(10,Math.floor(Math.min(Ze.range[0],Ze.range[1]))-1));for(var fr=[],Kt=0;Kt<=1;Kt++)if(!(Xe!==void 0&&(Xe&&Kt||Xe===!1&&!Kt))&&!(Kt&&!Ze.minor)){var kr=Kt?Ze.minor.tickvals:Ze.tickvals,Rr=Kt?[]:Ze.ticktext;if(kr){g.isArrayOrTypedArray(Rr)||(Rr=[]);for(var Lr=0;Lr<kr.length;Lr++){var Ar=br(kr[Lr]);if(Ar>ar&&Ar<mr){var ln=J.tickText(Ze,Ar,!1,String(Rr[Lr]));Kt&&(ln.minor=!0,ln.text=""),fr.push(ln)}}}}return fr=Pe(Ze,fr),fr}var Fe=[2,5,10],We=[1,2,3,6,12],lt=[1,2,5,10,15,30],ht=[1,2,3,7,14],tt=[-.046,0,.301,.477,.602,.699,.778,.845,.903,.954,1],et=[-.301,0,.301,.699,1],pt=[15,30,45,90,180];function vt(Ze,Xe,Wt){return Xe*g.roundUp(Ze/Xe,Wt)}J.autoTicks=function(Ze,Xe,Wt){var jt;function ar(Lr){return Math.pow(Lr,Math.floor(Math.log(Xe)/Math.LN10))}if(Ze.type==="date"){Ze.tick0=g.dateTick0(Ze.calendar,0);var mr=2*Xe;if(mr>C)Xe/=C,jt=ar(10),Ze.dtick="M"+12*vt(Xe,jt,Fe);else if(mr>L)Xe/=L,Ze.dtick="M"+vt(Xe,1,We);else if(mr>M){if(Ze.dtick=vt(Xe,M,Ze._hasDayOfWeekBreaks?[1,2,7,14]:ht),!Wt){var br=J.getTickFormat(Ze),fr=Ze.ticklabelmode==="period";fr&&(Ze._rawTick0=Ze.tick0),/%[uVW]/.test(br)?Ze.tick0=g.dateTick0(Ze.calendar,2):Ze.tick0=g.dateTick0(Ze.calendar,1),fr&&(Ze._dowTick0=Ze.tick0)}}else mr>N?Ze.dtick=vt(Xe,N,We):mr>T?Ze.dtick=vt(Xe,T,lt):mr>D?Ze.dtick=vt(Xe,D,lt):(jt=ar(10),Ze.dtick=vt(Xe,jt,Fe))}else if(Ze.type==="log"){Ze.tick0=0;var Kt=g.simpleMap(Ze.range,Ze.r2l);if(Ze._isMinor&&(Xe*=1.5),Xe>.7)Ze.dtick=Math.ceil(Xe);else if(Math.abs(Kt[1]-Kt[0])<1){var kr=1.5*Math.abs((Kt[1]-Kt[0])/Xe);Xe=Math.abs(Math.pow(10,Kt[1])-Math.pow(10,Kt[0]))/kr,jt=ar(10),Ze.dtick="L"+vt(Xe,jt,Fe)}else Ze.dtick=Xe>.3?"D2":"D1"}else Ze.type==="category"||Ze.type==="multicategory"?(Ze.tick0=0,Ze.dtick=Math.ceil(Math.max(Xe,1))):Zt(Ze)?(Ze.tick0=0,jt=1,Ze.dtick=vt(Xe,jt,pt)):(Ze.tick0=0,jt=ar(10),Ze.dtick=vt(Xe,jt,Fe));if(Ze.dtick===0&&(Ze.dtick=1),!v(Ze.dtick)&&typeof Ze.dtick!="string"){var Rr=Ze.dtick;throw Ze.dtick=1,"ax.dtick error: "+String(Rr)}};function _t(Ze){var Xe=Ze.dtick;if(Ze._tickexponent=0,!v(Xe)&&typeof Xe!="string"&&(Xe=1),(Ze.type==="category"||Ze.type==="multicategory")&&(Ze._tickround=null),Ze.type==="date"){var Wt=Ze.r2l(Ze.tick0),jt=Ze.l2r(Wt).replace(/(^-|i)/g,""),ar=jt.length;if(String(Xe).charAt(0)==="M")ar>10||jt.substr(5)!=="01-01"?Ze._tickround="d":Ze._tickround=+Xe.substr(1)%12===0?"y":"m";else if(Xe>=M&&ar<=10||Xe>=M*15)Ze._tickround="d";else if(Xe>=T&&ar<=16||Xe>=N)Ze._tickround="M";else if(Xe>=D&&ar<=19||Xe>=T)Ze._tickround="S";else{var mr=Ze.l2r(Wt+Xe).replace(/^-/,"").length;Ze._tickround=Math.max(ar,mr)-20,Ze._tickround<0&&(Ze._tickround=4)}}else if(v(Xe)||Xe.charAt(0)==="L"){var br=Ze.range.map(Ze.r2d||Number);v(Xe)||(Xe=Number(Xe.substr(1))),Ze._tickround=2-Math.floor(Math.log(Xe)/Math.LN10+.01);var fr=Math.max(Math.abs(br[0]),Math.abs(br[1])),Kt=Math.floor(Math.log(fr)/Math.LN10+.01),kr=Ze.minexponent===void 0?3:Ze.minexponent;Math.abs(Kt)>kr&&(Se(Ze.exponentformat)&&!Le(Kt)?Ze._tickexponent=3*Math.round((Kt-1)/3):Ze._tickexponent=Kt)}else Ze._tickround=null}J.tickIncrement=function(Ze,Xe,Wt,jt){var ar=Wt?-1:1;if(v(Xe))return g.increment(Ze,ar*Xe);var mr=Xe.charAt(0),br=ar*Number(Xe.substr(1));if(mr==="M")return g.incrementMonth(Ze,br,jt);if(mr==="L")return Math.log(Math.pow(10,Ze)+br)/Math.LN10;if(mr==="D"){var fr=Xe==="D2"?et:tt,Kt=Ze+ar*.01,kr=g.roundUp(g.mod(Kt,1),fr,Wt);return Math.floor(Kt)+Math.log(l.round(Math.pow(10,kr),1))/Math.LN10}throw"unrecognized dtick "+String(Xe)},J.tickFirst=function(Ze,Xe){var Wt=Ze.r2l||Number,jt=g.simpleMap(Ze.range,Wt,void 0,void 0,Xe),ar=jt[1]<jt[0],mr=ar?Math.floor:Math.ceil,br=ee(jt)[0],fr=Ze.dtick,Kt=Wt(Ze.tick0);if(v(fr)){var kr=mr((br-Kt)/fr)*fr+Kt;return(Ze.type==="category"||Ze.type==="multicategory")&&(kr=g.constrain(kr,0,Ze._categories.length-1)),kr}var Rr=fr.charAt(0),Lr=Number(fr.substr(1));if(Rr==="M"){for(var Ar=0,ln=Kt,Kr,Xr,Bn;Ar<10;){if(Kr=J.tickIncrement(ln,fr,ar,Ze.calendar),(Kr-br)*(ln-br)<=0)return ar?Math.min(ln,Kr):Math.max(ln,Kr);Xr=(br-(ln+Kr)/2)/(Kr-ln),Bn=Rr+(Math.abs(Math.round(Xr))||1)*Lr,ln=J.tickIncrement(ln,Bn,Xr<0?!ar:ar,Ze.calendar),Ar++}return g.error("tickFirst did not converge",Ze),ln}else{if(Rr==="L")return Math.log(mr((Math.pow(10,br)-Kt)/Lr)*Lr+Kt)/Math.LN10;if(Rr==="D"){var An=fr==="D2"?et:tt,ta=g.roundUp(g.mod(br,1),An,ar);return Math.floor(br)+Math.log(l.round(Math.pow(10,ta),1))/Math.LN10}else throw"unrecognized dtick "+String(fr)}},J.tickText=function(Ze,Xe,Wt,jt){var ar=bt(Ze,Xe),mr=Ze.tickmode==="array",br=Wt||mr,fr=Ze.type,Kt=fr==="category"?Ze.d2l_noadd:Ze.d2l,kr,Rr=function(Bn){var An=Ze.l2p(Bn);return An>=0&&An<=Ze._length?Bn:null};if(mr&&g.isArrayOrTypedArray(Ze.ticktext)){var Lr=g.simpleMap(Ze.range,Ze.r2l),Ar=(Math.abs(Lr[1]-Lr[0])-(Ze._lBreaks||0))/1e4;for(kr=0;kr<Ze.ticktext.length&&!(Math.abs(Xe-Kt(Ze.tickvals[kr]))<Ar);kr++);if(kr<Ze.ticktext.length)return ar.text=String(Ze.ticktext[kr]),ar.xbnd=[Rr(ar.x-.5),Rr(ar.x+Ze.dtick-.5)],ar}function ln(Bn){if(Bn===void 0)return!0;if(Wt)return Bn==="none";var An={first:Ze._tmin,last:Ze._tmax}[Bn];return Bn!=="all"&&Xe!==An}var Kr=Wt?"never":Ze.exponentformat!=="none"&&ln(Ze.showexponent)?"hide":"";if(fr==="date"?Rt(Ze,ar,Wt,br):fr==="log"?ct(Ze,ar,Wt,br,Kr):fr==="category"?Ve(Ze,ar):fr==="multicategory"?Qe(Ze,ar,Wt):Zt(Ze)?qe(Ze,ar,Wt,br,Kr):rt(Ze,ar,Wt,br,Kr),jt||(Ze.tickprefix&&!ln(Ze.showtickprefix)&&(ar.text=Ze.tickprefix+ar.text),Ze.ticksuffix&&!ln(Ze.showticksuffix)&&(ar.text+=Ze.ticksuffix)),Ze.labelalias&&Ze.labelalias.hasOwnProperty(ar.text)){var Xr=Ze.labelalias[ar.text];typeof Xr=="string"&&(ar.text=Xr)}return(Ze.tickson==="boundaries"||Ze.showdividers)&&(ar.xbnd=[Rr(ar.x-.5),Rr(ar.x+Ze.dtick-.5)]),ar},J.hoverLabelText=function(Ze,Xe,Wt){Wt&&(Ze=g.extendFlat({},Ze,{hoverformat:Wt}));var jt=g.isArrayOrTypedArray(Xe)?Xe[0]:Xe,ar=g.isArrayOrTypedArray(Xe)?Xe[1]:void 0;if(ar!==void 0&&ar!==jt)return J.hoverLabelText(Ze,jt,Wt)+" - "+J.hoverLabelText(Ze,ar,Wt);var mr=Ze.type==="log"&&jt<=0,br=J.tickText(Ze,Ze.c2l(mr?-jt:jt),"hover").text;return mr?jt===0?"0":O+br:br};function bt(Ze,Xe,Wt){var jt=Ze.tickfont||{};return{x:Xe,dx:0,dy:0,text:Wt||"",fontSize:jt.size,font:jt.family,fontColor:jt.color}}function Rt(Ze,Xe,Wt,jt){var ar=Ze._tickround,mr=Wt&&Ze.hoverformat||J.getTickFormat(Ze);jt=!mr&&jt,jt&&(v(ar)?ar=4:ar={y:"m",m:"d",d:"M",M:"S",S:4}[ar]);var br=g.formatDate(Xe.x,mr,ar,Ze._dateFormat,Ze.calendar,Ze._extraFormat),fr,Kt=br.indexOf(`
`);if(Kt!==-1&&(fr=br.substr(Kt+1),br=br.substr(0,Kt)),jt&&(fr!==void 0&&(br==="00:00:00"||br==="00:00")?(br=fr,fr=""):br.length===8&&(br=br.replace(/:00$/,""))),fr)if(Wt)ar==="d"?br+=", "+fr:br=fr+(br?", "+br:"");else if(!Ze._inCalcTicks||Ze._prevDateHead!==fr)Ze._prevDateHead=fr,br+="<br>"+fr;else{var kr=sr(Ze),Rr=Ze._trueSide||Ze.side;(!kr&&Rr==="top"||kr&&Rr==="bottom")&&(br+="<br> ")}Xe.text=br}function ct(Ze,Xe,Wt,jt,ar){var mr=Ze.dtick,br=Xe.x,fr=Ze.tickformat,Kt=typeof mr=="string"&&mr.charAt(0);if(ar==="never"&&(ar=""),jt&&Kt!=="L"&&(mr="L3",Kt="L"),fr||Kt==="L")Xe.text=Ne(Math.pow(10,br),Ze,ar,jt);else if(v(mr)||Kt==="D"&&g.mod(br+.01,1)<.1){var kr=Math.round(br),Rr=Math.abs(kr),Lr=Ze.exponentformat;Lr==="power"||Se(Lr)&&Le(kr)?(kr===0?Xe.text=1:kr===1?Xe.text="10":Xe.text="10<sup>"+(kr>1?"":O)+Rr+"</sup>",Xe.fontSize*=1.25):(Lr==="e"||Lr==="E")&&Rr>2?Xe.text="1"+Lr+(kr>0?"+":O)+Rr:(Xe.text=Ne(Math.pow(10,br),Ze,"","fakehover"),mr==="D1"&&Ze._id.charAt(0)==="y"&&(Xe.dy-=Xe.fontSize/6))}else if(Kt==="D")Xe.text=String(Math.round(Math.pow(10,g.mod(br,1)))),Xe.fontSize*=.75;else throw"unrecognized dtick "+String(mr);if(Ze.dtick==="D1"){var Ar=String(Xe.text).charAt(0);(Ar==="0"||Ar==="1")&&(Ze._id.charAt(0)==="y"?Xe.dx-=Xe.fontSize/4:(Xe.dy+=Xe.fontSize/2,Xe.dx+=(Ze.range[1]>Ze.range[0]?1:-1)*Xe.fontSize*(br<0?.5:.25)))}}function Ve(Ze,Xe){var Wt=Ze._categories[Math.round(Xe.x)];Wt===void 0&&(Wt=""),Xe.text=String(Wt)}function Qe(Ze,Xe,Wt){var jt=Math.round(Xe.x),ar=Ze._categories[jt]||[],mr=ar[1]===void 0?"":String(ar[1]),br=ar[0]===void 0?"":String(ar[0]);Wt?Xe.text=br+" - "+mr:(Xe.text=mr,Xe.text2=br)}function rt(Ze,Xe,Wt,jt,ar){ar==="never"?ar="":Ze.showexponent==="all"&&Math.abs(Xe.x/Ze.dtick)<1e-6&&(ar="hide"),Xe.text=Ne(Xe.x,Ze,ar,jt)}function qe(Ze,Xe,Wt,jt,ar){if(Ze.thetaunit==="radians"&&!Wt){var mr=Xe.x/180;if(mr===0)Xe.text="0";else{var br=He(mr);if(br[1]>=100)Xe.text=Ne(g.deg2rad(Xe.x),Ze,ar,jt);else{var fr=Xe.x<0;br[1]===1?br[0]===1?Xe.text="π":Xe.text=br[0]+"π":Xe.text=["<sup>",br[0],"</sup>","","<sub>",br[1],"</sub>","π"].join(""),fr&&(Xe.text=O+Xe.text)}}}else Xe.text=Ne(Xe.x,Ze,ar,jt)}function He(Ze){function Xe(fr,Kt){return Math.abs(fr-Kt)<=1e-6}function Wt(fr,Kt){return Xe(Kt,0)?fr:Wt(Kt,fr%Kt)}function jt(fr){for(var Kt=1;!Xe(Math.round(fr*Kt)/Kt,fr);)Kt*=10;return Kt}var ar=jt(Ze),mr=Ze*ar,br=Math.abs(Wt(mr,ar));return[Math.round(mr/br),Math.round(ar/br)]}var Ce=["f","p","n","μ","m","","k","M","G","T"];function Se(Ze){return Ze==="SI"||Ze==="B"}function Le(Ze){return Ze>14||Ze<-15}function Ne(Ze,Xe,Wt,jt){var ar=Ze<0,mr=Xe._tickround,br=Wt||Xe.exponentformat||"B",fr=Xe._tickexponent,Kt=J.getTickFormat(Xe),kr=Xe.separatethousands;if(jt){var Rr={exponentformat:br,minexponent:Xe.minexponent,dtick:Xe.showexponent==="none"?Xe.dtick:v(Ze)&&Math.abs(Ze)||1,range:Xe.showexponent==="none"?Xe.range.map(Xe.r2d):[0,Ze||1]};_t(Rr),mr=(Number(Rr._tickround)||0)+4,fr=Rr._tickexponent,Xe.hoverformat&&(Kt=Xe.hoverformat)}if(Kt)return Xe._numFormat(Kt)(Ze).replace(/-/g,O);var Lr=Math.pow(10,-mr)/2;if(br==="none"&&(fr=0),Ze=Math.abs(Ze),Ze<Lr)Ze="0",ar=!1;else{if(Ze+=Lr,fr&&(Ze*=Math.pow(10,-fr),mr+=fr),mr===0)Ze=String(Math.floor(Ze));else if(mr<0){Ze=String(Math.round(Ze)),Ze=Ze.substr(0,Ze.length+mr);for(var Ar=mr;Ar<0;Ar++)Ze+="0"}else{Ze=String(Ze);var ln=Ze.indexOf(".")+1;ln&&(Ze=Ze.substr(0,ln+mr).replace(/\.?0+$/,""))}Ze=g.numSeparate(Ze,Xe._separators,kr)}if(fr&&br!=="hide"){Se(br)&&Le(fr)&&(br="power");var Kr;fr<0?Kr=O+-fr:br!=="power"?Kr="+"+fr:Kr=String(fr),br==="e"||br==="E"?Ze+=br+Kr:br==="power"?Ze+="×10<sup>"+Kr+"</sup>":br==="B"&&fr===9?Ze+="B":Se(br)&&(Ze+=Ce[fr/3+5])}return ar?O+Ze:Ze}J.getTickFormat=function(Ze){var Xe;function Wt(Kt){return typeof Kt!="string"?Kt:Number(Kt.replace("M",""))*L}function jt(Kt,kr){var Rr=["L","D"];if(typeof Kt==typeof kr){if(typeof Kt=="number")return Kt-kr;var Lr=Rr.indexOf(Kt.charAt(0)),Ar=Rr.indexOf(kr.charAt(0));return Lr===Ar?Number(Kt.replace(/(L|D)/g,""))-Number(kr.replace(/(L|D)/g,"")):Lr-Ar}else return typeof Kt=="number"?1:-1}function ar(Kt,kr,Rr){var Lr=Rr||function(Kr){return Kr},Ar=kr[0],ln=kr[1];return(!Ar&&typeof Ar!="number"||Lr(Ar)<=Lr(Kt))&&(!ln&&typeof ln!="number"||Lr(ln)>=Lr(Kt))}function mr(Kt,kr){var Rr=kr[0]===null,Lr=kr[1]===null,Ar=jt(Kt,kr[0])>=0,ln=jt(Kt,kr[1])<=0;return(Rr||Ar)&&(Lr||ln)}var br,fr;if(Ze.tickformatstops&&Ze.tickformatstops.length>0)switch(Ze.type){case"date":case"linear":{for(Xe=0;Xe<Ze.tickformatstops.length;Xe++)if(fr=Ze.tickformatstops[Xe],fr.enabled&&ar(Ze.dtick,fr.dtickrange,Wt)){br=fr;break}break}case"log":{for(Xe=0;Xe<Ze.tickformatstops.length;Xe++)if(fr=Ze.tickformatstops[Xe],fr.enabled&&mr(Ze.dtick,fr.dtickrange)){br=fr;break}break}}return br?br.value:Ze.tickformat},J.getSubplots=function(Ze,Xe){var Wt=Ze._fullLayout._subplots,jt=Wt.cartesian.concat(Wt.gl2d||[]),ar=Xe?J.findSubplotsWithAxis(jt,Xe):jt;return ar.sort(function(mr,br){var fr=mr.substr(1).split("y"),Kt=br.substr(1).split("y");return fr[0]===Kt[0]?+fr[1]-+Kt[1]:+fr[0]-+Kt[0]}),ar},J.findSubplotsWithAxis=function(Ze,Xe){for(var Wt=new RegExp(Xe._id.charAt(0)==="x"?"^"+Xe._id+"y":Xe._id+"$"),jt=[],ar=0;ar<Ze.length;ar++){var mr=Ze[ar];Wt.test(mr)&&jt.push(mr)}return jt},J.makeClipPaths=function(Ze){var Xe=Ze._fullLayout;if(!Xe._hasOnlyLargeSploms){var Wt={_offset:0,_length:Xe.width,_id:""},jt={_offset:0,_length:Xe.height,_id:""},ar=J.list(Ze,"x",!0),mr=J.list(Ze,"y",!0),br=[],fr,Kt;for(fr=0;fr<ar.length;fr++)for(br.push({x:ar[fr],y:jt}),Kt=0;Kt<mr.length;Kt++)fr===0&&br.push({x:Wt,y:mr[Kt]}),br.push({x:ar[fr],y:mr[Kt]});var kr=Xe._clips.selectAll(".axesclip").data(br,function(Rr){return Rr.x._id+Rr.y._id});kr.enter().append("clipPath").classed("axesclip",!0).attr("id",function(Rr){return"clip"+Xe._uid+Rr.x._id+Rr.y._id}).append("rect"),kr.exit().remove(),kr.each(function(Rr){l.select(this).select("rect").attr({x:Rr.x._offset||0,y:Rr.y._offset||0,width:Rr.x._length||1,height:Rr.y._length||1})})}},J.draw=function(Ze,Xe,Wt){var jt=Ze._fullLayout;Xe==="redraw"&&jt._paper.selectAll("g.subplot").each(function(Kt){var kr=Kt[0],Rr=jt._plots[kr];if(Rr){var Lr=Rr.xaxis,Ar=Rr.yaxis;Rr.xaxislayer.selectAll("."+Lr._id+"tick").remove(),Rr.yaxislayer.selectAll("."+Ar._id+"tick").remove(),Rr.xaxislayer.selectAll("."+Lr._id+"tick2").remove(),Rr.yaxislayer.selectAll("."+Ar._id+"tick2").remove(),Rr.xaxislayer.selectAll("."+Lr._id+"divider").remove(),Rr.yaxislayer.selectAll("."+Ar._id+"divider").remove(),Rr.minorGridlayer&&Rr.minorGridlayer.selectAll("path").remove(),Rr.gridlayer&&Rr.gridlayer.selectAll("path").remove(),Rr.zerolinelayer&&Rr.zerolinelayer.selectAll("path").remove(),jt._infolayer.select(".g-"+Lr._id+"title").remove(),jt._infolayer.select(".g-"+Ar._id+"title").remove()}});var ar=!Xe||Xe==="redraw"?J.listIds(Ze):Xe,mr=J.list(Ze),br=mr.filter(function(Kt){return Kt.autoshift}).map(function(Kt){return Kt.overlaying});ar.map(function(Kt){var kr=J.getFromId(Ze,Kt);if(kr.tickmode==="sync"&&kr.overlaying){var Rr=ar.findIndex(function(Lr){return Lr===kr.overlaying});Rr>=0&&ar.unshift(ar.splice(Rr,1).shift())}});var fr={false:{left:0,right:0}};return g.syncOrAsync(ar.map(function(Kt){return function(){if(Kt){var kr=J.getFromId(Ze,Kt);Wt||(Wt={}),Wt.axShifts=fr,Wt.overlayingShiftedAx=br;var Rr=J.drawOne(Ze,kr,Wt);return kr._shiftPusher&&wr(kr,kr._fullDepth||0,fr,!0),kr._r=kr.range.slice(),kr._rl=g.simpleMap(kr._r,kr.r2l),Rr}}}))},J.drawOne=function(Ze,Xe,Wt){Wt=Wt||{};var jt=Wt.axShifts||{},ar=Wt.overlayingShiftedAx||[],mr,br,fr;Xe.setScale();var Kt=Ze._fullLayout,kr=Xe._id,Rr=kr.charAt(0),Lr=J.counterLetter(kr),Ar=Kt._plots[Xe._mainSubplot];if(!Ar)return;if(Xe._shiftPusher=Xe.autoshift||ar.indexOf(Xe._id)!==-1||ar.indexOf(Xe.overlaying)!==-1,Xe._shiftPusher&Xe.anchor==="free"){var ln=Xe.linewidth/2||0;Xe.ticks==="inside"&&(ln+=Xe.ticklen),wr(Xe,ln,jt,!0),wr(Xe,Xe.shift||0,jt,!1)}(Wt.skipTitle!==!0||Xe._shift===void 0)&&(Xe._shift=Tr(Xe,jt));var Kr=Ar[Rr+"axislayer"],Xr=Xe._mainLinePosition,Bn=Xr+=Xe._shift,An=Xe._mainMirrorPosition,ta=Xe._vals=J.calcTicks(Xe),ra=[Xe.mirror,Bn,An].join("_");for(mr=0;mr<ta.length;mr++)ta[mr].axInfo=ra;Xe._selections={},Xe._tickAngles&&(Xe._prevTickAngles=Xe._tickAngles),Xe._tickAngles={},Xe._depth=null;var Cr={};function Jr(cn){var bn=kr+(cn||"tick");return Cr[bn]||(Cr[bn]=wt(Xe,bn,Bn)),Cr[bn]}if(Xe.visible){var un=J.makeTransTickFn(Xe),sn=J.makeTransTickLabelFn(Xe),Nn,Hn,$n=Xe.ticks==="inside",da=Xe.ticks==="outside";if(Xe.tickson==="boundaries"){var _a=Je(Xe,ta);Hn=J.clipEnds(Xe,_a),Nn=$n?Hn:_a}else Hn=J.clipEnds(Xe,ta),Nn=$n&&Xe.ticklabelmode!=="period"?Hn:ta;var Ya=Xe._gridVals=Hn,di=Et(Xe,ta);if(!Kt._hasOnlyLargeSploms){var ii=Xe._subplotsWith,Za={};for(mr=0;mr<ii.length;mr++){br=ii[mr],fr=Kt._plots[br];var oi=fr[Lr+"axis"],Fr=oi._mainAxis._id;if(!Za[Fr]){Za[Fr]=1;var vn=Rr==="x"?"M0,"+oi._offset+"v"+oi._length:"M"+oi._offset+",0h"+oi._length;J.drawGrid(Ze,Xe,{vals:Ya,counterAxis:oi,layer:fr.gridlayer.select("."+kr),minorLayer:fr.minorGridlayer.select("."+kr),path:vn,transFn:un}),J.drawZeroLine(Ze,Xe,{counterAxis:oi,layer:fr.zerolinelayer,path:vn,transFn:un})}}}var fn,Vn=J.getTickSigns(Xe),Sa=J.getTickSigns(Xe,"minor");if(Xe.ticks||Xe.minor&&Xe.minor.ticks){var na=J.makeTickPath(Xe,Bn,Vn[2]),aa=J.makeTickPath(Xe,Bn,Sa[2],{minor:!0}),ba,Ua,fi,Vi;if(Xe._anchorAxis&&Xe.mirror&&Xe.mirror!==!0?(ba=J.makeTickPath(Xe,An,Vn[3]),Ua=J.makeTickPath(Xe,An,Sa[3],{minor:!0}),fi=na+ba,Vi=aa+Ua):(ba="",Ua="",fi=na,Vi=aa),Xe.showdividers&&da&&Xe.tickson==="boundaries"){var Dr={};for(mr=0;mr<di.length;mr++)Dr[di[mr].x]=1;fn=function(cn){return Dr[cn.x]?ba:fi}}else fn=function(cn){return cn.minor?Vi:fi}}if(J.drawTicks(Ze,Xe,{vals:Nn,layer:Kr,path:fn,transFn:un}),Xe.mirror==="allticks"){var tn=Object.keys(Xe._linepositions||{});for(mr=0;mr<tn.length;mr++){br=tn[mr],fr=Kt._plots[br];var zr=Xe._linepositions[br]||[],rn=zr[0],Xn=zr[1],ia=zr[2],zn=J.makeTickPath(Xe,rn,ia?Vn[0]:Sa[0],{minor:ia})+J.makeTickPath(Xe,Xn,ia?Vn[1]:Sa[1],{minor:ia});J.drawTicks(Ze,Xe,{vals:Nn,layer:fr[Rr+"axislayer"],path:zn,transFn:un})}}var Ln=[];if(Ln.push(function(){return J.drawLabels(Ze,Xe,{vals:ta,layer:Kr,plotinfo:fr,transFn:sn,labelFns:J.makeLabelFns(Xe,Bn)})}),Xe.type==="multicategory"){var Hr={x:2,y:10}[Rr];Ln.push(function(){var cn={x:"height",y:"width"}[Rr],bn=Jr()[cn]+Hr+(Xe._tickAngles[kr+"tick"]?Xe.tickfont.size*ae:0);return J.drawLabels(Ze,Xe,{vals:ut(Xe,ta),layer:Kr,cls:kr+"tick2",repositionOnUpdate:!0,secondary:!0,transFn:un,labelFns:J.makeLabelFns(Xe,Bn+bn*Vn[4])})}),Ln.push(function(){return Xe._depth=Vn[4]*(Jr("tick2")[Xe.side]-Bn),Gt(Ze,Xe,{vals:di,layer:Kr,path:J.makeTickPath(Xe,Bn,Vn[4],{len:Xe._depth}),transFn:un})})}else Xe.title.hasOwnProperty("standoff")&&Ln.push(function(){Xe._depth=Vn[4]*(Jr()[Xe.side]-Bn)});var mn=S.getComponentMethod("rangeslider","isVisible")(Xe);return!Wt.skipTitle&&!(mn&&Xe.side==="bottom")&&Ln.push(function(){return Pr(Ze,Xe)}),Ln.push(function(){var cn=Xe.side.charAt(0),bn=ie[Xe.side].charAt(0),qn=J.getPxPosition(Ze,Xe),ua=da?Xe.ticklen:0,ea,Ea,ya,ei;(Xe.automargin||mn||Xe._shiftPusher)&&(Xe.type==="multicategory"?ea=Jr("tick2"):(ea=Jr(),Rr==="x"&&cn==="b"&&(Xe._depth=Math.max(ea.width>0?ea.bottom-qn:0,ua))));var Wa=0,ni=0;if(Xe._shiftPusher&&(Wa=Math.max(ua,ea.height>0?cn==="l"?qn-ea.left:ea.right-qn:0),Xe.title.text!==Kt._dfltTitle[Rr]&&(ni=(Xe._titleStandoff||0)+(Xe._titleScoot||0),cn==="l"&&(ni+=cr(Xe))),Xe._fullDepth=Math.max(Wa,ni)),Xe.automargin){Ea={x:0,y:0,r:0,l:0,t:0,b:0};var si=[0,1],Uo=typeof Xe._shift=="number"?Xe._shift:0;if(Rr==="x"){if(cn==="b"?Ea[cn]=Xe._depth:(Ea[cn]=Xe._depth=Math.max(ea.width>0?qn-ea.top:0,ua),si.reverse()),ea.width>0){var Fo=ea.right-(Xe._offset+Xe._length);Fo>0&&(Ea.xr=1,Ea.r=Fo);var nu=Xe._offset-ea.left;nu>0&&(Ea.xl=0,Ea.l=nu)}}else if(cn==="l"?(Xe._depth=Math.max(ea.height>0?qn-ea.left:0,ua),Ea[cn]=Xe._depth-Uo):(Xe._depth=Math.max(ea.height>0?ea.right-qn:0,ua),Ea[cn]=Xe._depth+Uo,si.reverse()),ea.height>0){var cc=ea.bottom-(Xe._offset+Xe._length);cc>0&&(Ea.yb=0,Ea.b=cc);var jl=Xe._offset-ea.top;jl>0&&(Ea.yt=1,Ea.t=jl)}Ea[Lr]=Xe.anchor==="free"?Xe.position:Xe._anchorAxis.domain[si[0]],Xe.title.text!==Kt._dfltTitle[Rr]&&(Ea[cn]+=cr(Xe)+(Xe.title.standoff||0)),Xe.mirror&&Xe.anchor!=="free"&&(ya={x:0,y:0,r:0,l:0,t:0,b:0},ya[bn]=Xe.linewidth,Xe.mirror&&Xe.mirror!==!0&&(ya[bn]+=ua),Xe.mirror===!0||Xe.mirror==="ticks"?ya[Lr]=Xe._anchorAxis.domain[si[1]]:(Xe.mirror==="all"||Xe.mirror==="allticks")&&(ya[Lr]=[Xe._counterDomainMin,Xe._counterDomainMax][si[1]]))}mn&&(ei=S.getComponentMethod("rangeslider","autoMarginOpts")(Ze,Xe)),typeof Xe.automargin=="string"&&(je(Ea,Xe.automargin),je(ya,Xe.automargin)),i.autoMargin(Ze,yr(Xe),Ea),i.autoMargin(Ze,At(Xe),ya),i.autoMargin(Ze,mt(Xe),ei)}),g.syncOrAsync(Ln)}};function je(Ze,Xe){if(Ze){var Wt=Object.keys(G).reduce(function(jt,ar){return Xe.indexOf(ar)!==-1&&G[ar].forEach(function(mr){jt[mr]=1}),jt},{});Object.keys(Ze).forEach(function(jt){Wt[jt]||(jt.length===1?Ze[jt]=0:delete Ze[jt])})}}function Je(Ze,Xe){var Wt=[],jt,ar=function(mr,br){var fr=mr.xbnd[br];fr!==null&&Wt.push(g.extendFlat({},mr,{x:fr}))};if(Xe.length){for(jt=0;jt<Xe.length;jt++)ar(Xe[jt],0);ar(Xe[jt-1],1)}return Wt}function ut(Ze,Xe){for(var Wt=[],jt={},ar=0;ar<Xe.length;ar++){var mr=Xe[ar];jt[mr.text2]?jt[mr.text2].push(mr.x):jt[mr.text2]=[mr.x]}for(var br in jt)Wt.push(bt(Ze,g.interp(jt[br],.5),br));return Wt}function Et(Ze,Xe){var Wt=[],jt,ar,mr=Xe.length&&Xe[Xe.length-1].x<Xe[0].x,br=function(Kt,kr){var Rr=Kt.xbnd[kr];Rr!==null&&Wt.push(g.extendFlat({},Kt,{x:Rr}))};if(Ze.showdividers&&Xe.length){for(jt=0;jt<Xe.length;jt++){var fr=Xe[jt];fr.text2!==ar&&br(fr,mr?1:0),ar=fr.text2}br(Xe[jt-1],mr?0:1)}return Wt}function wt(Ze,Xe,Wt){var jt,ar,mr,br;if(Ze._selections[Xe].size())jt=1/0,ar=-1/0,mr=1/0,br=-1/0,Ze._selections[Xe].each(function(){var Kt=Ir(this),kr=d.bBox(Kt.node().parentNode);jt=Math.min(jt,kr.top),ar=Math.max(ar,kr.bottom),mr=Math.min(mr,kr.left),br=Math.max(br,kr.right)});else{var fr=J.makeLabelFns(Ze,Wt);jt=ar=fr.yFn({dx:0,dy:0,fontSize:0}),mr=br=fr.xFn({dx:0,dy:0,fontSize:0})}return{top:jt,bottom:ar,left:mr,right:br,height:ar-jt,width:br-mr}}J.getTickSigns=function(Ze,Xe){var Wt=Ze._id.charAt(0),jt={x:"top",y:"right"}[Wt],ar=Ze.side===jt?1:-1,mr=[-1,1,ar,-ar],br=Xe?(Ze.minor||{}).ticks:Ze.ticks;return br!=="inside"==(Wt==="x")&&(mr=mr.map(function(fr){return-fr})),Ze.side&&mr.push({l:-1,t:-1,r:1,b:1}[Ze.side.charAt(0)]),mr},J.makeTransTickFn=function(Ze){return Ze._id.charAt(0)==="x"?function(Xe){return p(Ze._offset+Ze.l2p(Xe.x),0)}:function(Xe){return p(0,Ze._offset+Ze.l2p(Xe.x))}},J.makeTransTickLabelFn=function(Ze){var Xe=ir(Ze),Wt=Xe[0],jt=Xe[1];return Ze._id.charAt(0)==="x"?function(ar){return p(Wt+Ze._offset+Ze.l2p(nr(ar)),jt)}:function(ar){return p(jt,Wt+Ze._offset+Ze.l2p(nr(ar)))}};function nr(Ze){return Ze.periodX!==void 0?Ze.periodX:Ze.x}function ir(Ze){var Xe=Ze.ticklabelposition||"",Wt=function(ln){return Xe.indexOf(ln)!==-1},jt=Wt("top"),ar=Wt("left"),mr=Wt("right"),br=Wt("bottom"),fr=Wt("inside"),Kt=br||ar||jt||mr;if(!Kt&&!fr)return[0,0];var kr=Ze.side,Rr=Kt?(Ze.tickwidth||0)/2:0,Lr=he,Ar=Ze.tickfont?Ze.tickfont.size:12;return(br||jt)&&(Rr+=Ar*Q,Lr+=(Ze.linewidth||0)/2),(ar||mr)&&(Rr+=(Ze.linewidth||0)/2,Lr+=he),fr&&kr==="top"&&(Lr-=Ar*(1-Q)),(ar||jt)&&(Rr=-Rr),(kr==="bottom"||kr==="right")&&(Lr=-Lr),[Kt?Rr:0,fr?Lr:0]}J.makeTickPath=function(Ze,Xe,Wt,jt){jt||(jt={});var ar=jt.minor;if(ar&&!Ze.minor)return"";var mr=jt.len!==void 0?jt.len:ar?Ze.minor.ticklen:Ze.ticklen,br=Ze._id.charAt(0),fr=(Ze.linewidth||1)/2;return br==="x"?"M0,"+(Xe+fr*Wt)+"v"+mr*Wt:"M"+(Xe+fr*Wt)+",0h"+mr*Wt},J.makeLabelFns=function(Ze,Xe,Wt){var jt=Ze.ticklabelposition||"",ar=function(_a){return jt.indexOf(_a)!==-1},mr=ar("top"),br=ar("left"),fr=ar("right"),Kt=ar("bottom"),kr=Kt||br||mr||fr,Rr=ar("inside"),Lr=jt==="inside"&&Ze.ticks==="inside"||!Rr&&Ze.ticks==="outside"&&Ze.tickson!=="boundaries",Ar=0,ln=0,Kr=Lr?Ze.ticklen:0;if(Rr?Kr*=-1:kr&&(Kr=0),Lr&&(Ar+=Kr,Wt)){var Xr=g.deg2rad(Wt);Ar=Kr*Math.cos(Xr)+1,ln=Kr*Math.sin(Xr)}Ze.showticklabels&&(Lr||Ze.showline)&&(Ar+=.2*Ze.tickfont.size),Ar+=(Ze.linewidth||1)/2*(Rr?-1:1);var Bn={labelStandoff:Ar,labelShift:ln},An,ta,ra,Cr,Jr=0,un=Ze.side,sn=Ze._id.charAt(0),Nn=Ze.tickangle,Hn;if(sn==="x")Hn=!Rr&&un==="bottom"||Rr&&un==="top",Cr=Hn?1:-1,Rr&&(Cr*=-1),An=ln*Cr,ta=Xe+Ar*Cr,ra=Hn?1:-.2,Math.abs(Nn)===90&&(Rr?ra+=X:Nn===-90&&un==="bottom"?ra=Q:Nn===90&&un==="top"?ra=X:ra=.5,Jr=X/2*(Nn/90)),Bn.xFn=function(_a){return _a.dx+An+Jr*_a.fontSize},Bn.yFn=function(_a){return _a.dy+ta+_a.fontSize*ra},Bn.anchorFn=function(_a,Ya){if(kr){if(br)return"end";if(fr)return"start"}return!v(Ya)||Ya===0||Ya===180?"middle":Ya*Cr<0!==Rr?"end":"start"},Bn.heightFn=function(_a,Ya,di){return Ya<-60||Ya>60?-.5*di:Ze.side==="top"!==Rr?-di:0};else if(sn==="y"){if(Hn=!Rr&&un==="left"||Rr&&un==="right",Cr=Hn?1:-1,Rr&&(Cr*=-1),An=Ar,ta=ln*Cr,ra=0,!Rr&&Math.abs(Nn)===90&&(Nn===-90&&un==="left"||Nn===90&&un==="right"?ra=Q:ra=.5),Rr){var $n=v(Nn)?+Nn:0;if($n!==0){var da=g.deg2rad($n);Jr=Math.abs(Math.sin(da))*Q*Cr,ra=0}}Bn.xFn=function(_a){return _a.dx+Xe-(An+_a.fontSize*ra)*Cr+Jr*_a.fontSize},Bn.yFn=function(_a){return _a.dy+ta+_a.fontSize*X},Bn.anchorFn=function(_a,Ya){return v(Ya)&&Math.abs(Ya)===90?"middle":Hn?"end":"start"},Bn.heightFn=function(_a,Ya,di){return Ze.side==="right"&&(Ya*=-1),Ya<-30?-di:Ya<30?-.5*di:0}}return Bn};function It(Ze){return[Ze.text,Ze.x,Ze.axInfo,Ze.font,Ze.fontSize,Ze.fontColor].join("_")}J.drawTicks=function(Ze,Xe,Wt){Wt=Wt||{};var jt=Xe._id+"tick",ar=[].concat(Xe.minor&&Xe.minor.ticks?Wt.vals.filter(function(br){return br.minor&&!br.noTick}):[]).concat(Xe.ticks?Wt.vals.filter(function(br){return!br.minor&&!br.noTick}):[]),mr=Wt.layer.selectAll("path."+jt).data(ar,It);mr.exit().remove(),mr.enter().append("path").classed(jt,1).classed("ticks",1).classed("crisp",Wt.crisp!==!1).each(function(br){return s.stroke(l.select(this),br.minor?Xe.minor.tickcolor:Xe.tickcolor)}).style("stroke-width",function(br){return d.crispRound(Ze,br.minor?Xe.minor.tickwidth:Xe.tickwidth,1)+"px"}).attr("d",Wt.path).style("display",null),Sr(Xe,[V]),mr.attr("transform",Wt.transFn)},J.drawGrid=function(Ze,Xe,Wt){if(Wt=Wt||{},Xe.tickmode!=="sync"){var jt=Xe._id+"grid",ar=Xe.minor&&Xe.minor.showgrid,mr=ar?Wt.vals.filter(function(An){return An.minor}):[],br=Xe.showgrid?Wt.vals.filter(function(An){return!An.minor}):[],fr=Wt.counterAxis;if(fr&&J.shouldShowZeroLine(Ze,Xe,fr))for(var Kt=Xe.tickmode==="array",kr=0;kr<br.length;kr++){var Rr=br[kr].x;if(Kt?!Rr:Math.abs(Rr)<Xe.dtick/100)if(br=br.slice(0,kr).concat(br.slice(kr+1)),Kt)kr--;else break}Xe._gw=d.crispRound(Ze,Xe.gridwidth,1);for(var Lr=ar?d.crispRound(Ze,Xe.minor.gridwidth,1):0,Ar=Wt.layer,ln=Wt.minorLayer,Kr=1;Kr>=0;Kr--){var Xr=Kr?Ar:ln;if(Xr){var Bn=Xr.selectAll("path."+jt).data(Kr?br:mr,It);Bn.exit().remove(),Bn.enter().append("path").classed(jt,1).classed("crisp",Wt.crisp!==!1),Bn.attr("transform",Wt.transFn).attr("d",Wt.path).each(function(An){return s.stroke(l.select(this),An.minor?Xe.minor.gridcolor:Xe.gridcolor||"#ddd")}).style("stroke-dasharray",function(An){return d.dashStyle(An.minor?Xe.minor.griddash:Xe.griddash,An.minor?Xe.minor.gridwidth:Xe.gridwidth)}).style("stroke-width",function(An){return(An.minor?Lr:Xe._gw)+"px"}).style("display",null),typeof Wt.path=="function"&&Bn.attr("d",Wt.path)}}Sr(Xe,[Y,z])}},J.drawZeroLine=function(Ze,Xe,Wt){Wt=Wt||Wt;var jt=Xe._id+"zl",ar=J.shouldShowZeroLine(Ze,Xe,Wt.counterAxis),mr=Wt.layer.selectAll("path."+jt).data(ar?[{x:0,id:Xe._id}]:[]);mr.exit().remove(),mr.enter().append("path").classed(jt,1).classed("zl",1).classed("crisp",Wt.crisp!==!1).each(function(){Wt.layer.selectAll("path").sort(function(br,fr){return K(br.id,fr.id)})}),mr.attr("transform",Wt.transFn).attr("d",Wt.path).call(s.stroke,Xe.zerolinecolor||s.defaultLine).style("stroke-width",d.crispRound(Ze,Xe.zerolinewidth,Xe._gw||1)+"px").style("display",null),Sr(Xe,[B])},J.drawLabels=function(Ze,Xe,Wt){Wt=Wt||{};var jt=Ze._fullLayout,ar=Xe._id,mr=Wt.cls||ar+"tick",br=Wt.vals.filter(function(Fr){return Fr.text}),fr=Wt.labelFns,Kt=Wt.secondary?0:Xe.tickangle,kr=(Xe._prevTickAngles||{})[mr],Rr=Wt.layer.selectAll("g."+mr).data(Xe.showticklabels?br:[],It),Lr=[];Rr.enter().append("g").classed(mr,1).append("text").attr("text-anchor","middle").each(function(Fr){var vn=l.select(this),fn=Ze._promises.length;vn.call(_.positionText,fr.xFn(Fr),fr.yFn(Fr)).call(d.font,Fr.font,Fr.fontSize,Fr.fontColor).text(Fr.text).call(_.convertToTspans,Ze),Ze._promises[fn]?Lr.push(Ze._promises.pop().then(function(){Ar(vn,Kt)})):Ar(vn,Kt)}),Sr(Xe,[j]),Rr.exit().remove(),Wt.repositionOnUpdate&&Rr.each(function(Fr){l.select(this).select("text").call(_.positionText,fr.xFn(Fr),fr.yFn(Fr))});function Ar(Fr,vn){Fr.each(function(fn){var Vn=l.select(this),Sa=Vn.select(".text-math-group"),na=fr.anchorFn(fn,vn),aa=Wt.transFn.call(Vn.node(),fn)+(v(vn)&&+vn!=0?" rotate("+vn+","+fr.xFn(fn)+","+(fr.yFn(fn)-fn.fontSize/2)+")":""),ba=_.lineCount(Vn),Ua=ae*fn.fontSize,fi=fr.heightFn(fn,v(vn)?+vn:0,(ba-1)*Ua);if(fi&&(aa+=p(0,fi)),Sa.empty()){var Vi=Vn.select("text");Vi.attr({transform:aa,"text-anchor":na}),Vi.style("opacity",1),Xe._adjustTickLabelsOverflow&&Xe._adjustTickLabelsOverflow()}else{var Dr=d.bBox(Sa.node()).width,tn=Dr*{end:-.5,start:.5}[na];Sa.attr("transform",aa+p(tn,0))}})}Xe._adjustTickLabelsOverflow=function(){var Fr=Xe.ticklabeloverflow;if(!(!Fr||Fr==="allow")){var vn=Fr.indexOf("hide")!==-1,fn=Xe._id.charAt(0)==="x",Vn=0,Sa=fn?Ze._fullLayout.width:Ze._fullLayout.height;if(Fr.indexOf("domain")!==-1){var na=g.simpleMap(Xe.range,Xe.r2l);Vn=Xe.l2p(na[0])+Xe._offset,Sa=Xe.l2p(na[1])+Xe._offset}var aa=Math.min(Vn,Sa),ba=Math.max(Vn,Sa),Ua=Xe.side,fi=1/0,Vi=-1/0;Rr.each(function(rn){var Xn=l.select(this),ia=Xn.select(".text-math-group");if(ia.empty()){var zn=d.bBox(Xn.node()),Ln=0;fn?(zn.right>ba||zn.left<aa)&&(Ln=1):(zn.bottom>ba||zn.top+(Xe.tickangle?0:rn.fontSize/4)<aa)&&(Ln=1);var Hr=Xn.select("text");Ln?vn&&Hr.style("opacity",0):(Hr.style("opacity",1),Ua==="bottom"||Ua==="right"?fi=Math.min(fi,fn?zn.top:zn.left):fi=-1/0,Ua==="top"||Ua==="left"?Vi=Math.max(Vi,fn?zn.bottom:zn.right):Vi=1/0)}});for(var Dr in jt._plots){var tn=jt._plots[Dr];if(!(Xe._id!==tn.xaxis._id&&Xe._id!==tn.yaxis._id)){var zr=fn?tn.yaxis:tn.xaxis;zr&&(zr["_visibleLabelMin_"+Xe._id]=fi,zr["_visibleLabelMax_"+Xe._id]=Vi)}}}},Xe._hideCounterAxisInsideTickLabels=function(Fr){var vn=Xe._id.charAt(0)==="x",fn=[];for(var Vn in jt._plots){var Sa=jt._plots[Vn];Xe._id!==Sa.xaxis._id&&Xe._id!==Sa.yaxis._id||fn.push(vn?Sa.yaxis:Sa.xaxis)}fn.forEach(function(na,aa){na&&sr(na)&&(Fr||[B,z,Y,V,j]).forEach(function(ba){var Ua=ba.K==="tick"&&ba.L==="text"&&Xe.ticklabelmode==="period",fi=jt._plots[Xe._mainSubplot],Vi;ba.K===B.K?Vi=fi.zerolinelayer.selectAll("."+Xe._id+"zl"):ba.K===z.K?Vi=fi.minorGridlayer.selectAll("."+Xe._id):ba.K===Y.K?Vi=fi.gridlayer.selectAll("."+Xe._id):Vi=fi[Xe._id.charAt(0)+"axislayer"],Vi.each(function(){var Dr=l.select(this);ba.L&&(Dr=Dr.selectAll(ba.L)),Dr.each(function(tn){var zr=Xe.l2p(Ua?nr(tn):tn.x)+Xe._offset,rn=l.select(this);zr<Xe["_visibleLabelMax_"+na._id]&&zr>Xe["_visibleLabelMin_"+na._id]?rn.style("display","none"):ba.K==="tick"&&!aa&&rn.style("display",null)})})})})},Ar(Rr,kr+1?kr:Kt);function ln(){return Lr.length&&Promise.all(Lr)}var Kr=null;function Xr(){if(Ar(Rr,Kt),br.length&&Xe.autotickangles&&(Xe.type!=="log"||String(Xe.dtick).charAt(0)!=="D")){Kr=Xe.autotickangles[0];var Fr=0,vn=[],fn,Vn=1;if(Rr.each(function(ua){Fr=Math.max(Fr,ua.fontSize);var ea=Xe.l2p(ua.x),Ea=Ir(this),ya=d.bBox(Ea.node());Vn=Math.max(Vn,_.lineCount(Ea)),vn.push({top:0,bottom:10,height:10,left:ea-ya.width/2,right:ea+ya.width/2+2,width:ya.width+2})}),(Xe.tickson==="boundaries"||Xe.showdividers)&&!Wt.secondary){var Sa=2;for(Xe.ticks&&(Sa+=Xe.tickwidth/2),fn=0;fn<vn.length;fn++){var na=br[fn].xbnd,aa=vn[fn];if(na[0]!==null&&aa.left-Xe.l2p(na[0])<Sa||na[1]!==null&&Xe.l2p(na[1])-aa.right<Sa){Kr=90;break}}}else{var ba=br.length,Ua=Math.abs((br[ba-1].x-br[0].x)*Xe._m)/(ba-1),fi=Xe.ticklabelposition||"",Vi=function(ua){return fi.indexOf(ua)!==-1},Dr=Vi("top"),tn=Vi("left"),zr=Vi("right"),rn=Vi("bottom"),Xn=rn||tn||Dr||zr,ia=Xn?(Xe.tickwidth||0)+2*he:0,zn=Ua,Ln=Fr*1.25*Vn,Hr=Math.sqrt(Math.pow(zn,2)+Math.pow(Ln,2)),mn=zn/Hr,cn=Xe.autotickangles.map(function(ua){return ua*Math.PI/180}),bn=cn.find(function(ua){return Math.abs(Math.cos(ua))<=mn});bn===void 0&&(bn=cn.reduce(function(ua,ea){return Math.abs(Math.cos(ua))<Math.abs(Math.cos(ea))?ua:ea},cn[0]));var qn=bn*(180/Math.PI);for(fn=0;fn<vn.length-1;fn++)if(g.bBoxIntersect(vn[fn],vn[fn+1],ia)){Kr=qn;break}}Kr&&Ar(Rr,Kr)}}Xe._selections&&(Xe._selections[mr]=Rr);var Bn=[ln];Xe.automargin&&jt._redrawFromAutoMarginCount&&kr===90?(Kr=kr,Bn.push(function(){Ar(Rr,kr)})):Bn.push(Xr),Xe._tickAngles&&Bn.push(function(){Xe._tickAngles[mr]=Kr===null?v(Kt)?Kt:0:Kr});var An=function(){var Fr=0,vn=0;return Rr.each(function(fn,Vn){var Sa=Ir(this),na=Sa.select(".text-math-group");if(na.empty()){var aa;Xe._vals[Vn]&&(aa=Xe._vals[Vn].bb||d.bBox(Sa.node()),Xe._vals[Vn].bb=aa),Fr=Math.max(Fr,aa.width),vn=Math.max(vn,aa.height)}}),{labelsMaxW:Fr,labelsMaxH:vn}},ta=Xe._anchorAxis;if(ta&&(ta.autorange||ta.insiderange)&&sr(Xe)&&!te(jt,Xe._id)&&(jt._insideTickLabelsUpdaterange||(jt._insideTickLabelsUpdaterange={}),ta.autorange&&(jt._insideTickLabelsUpdaterange[ta._name+".autorange"]=ta.autorange,Bn.push(An)),ta.insiderange)){var ra=An(),Cr=Xe._id.charAt(0)==="y"?ra.labelsMaxW:ra.labelsMaxH;Cr+=2*he,Xe.ticklabelposition==="inside"&&(Cr+=Xe.ticklen||0);var Jr=Xe.side==="right"||Xe.side==="top"?1:-1,un=Jr===1?1:0,sn=Jr===1?0:1,Nn=[];Nn[sn]=ta.range[sn];var Hn=ta.range,$n=ta.r2p(Hn[un]),da=ta.r2p(Hn[sn]),_a=jt._insideTickLabelsUpdaterange[ta._name+".range"];if(_a){var Ya=ta.r2p(_a[un]),di=ta.r2p(_a[sn]),ii=Jr*(Xe._id.charAt(0)==="y"?1:-1);ii*$n<ii*Ya&&($n=Ya,Nn[un]=Hn[un]=_a[un]),ii*da>ii*di&&(da=di,Nn[sn]=Hn[sn]=_a[sn])}var Za=Math.abs(da-$n);Za-Cr>0?(Za-=Cr,Cr*=1+Cr/Za):Cr=0,Xe._id.charAt(0)!=="y"&&(Cr=-Cr),Nn[un]=ta.p2r(ta.r2p(Hn[un])+Jr*Cr),ta.autorange==="min"||ta.autorange==="max reversed"?(Nn[0]=null,ta._rangeInitial0=void 0,ta._rangeInitial1=void 0):(ta.autorange==="max"||ta.autorange==="min reversed")&&(Nn[1]=null,ta._rangeInitial0=void 0,ta._rangeInitial1=void 0),jt._insideTickLabelsUpdaterange[ta._name+".range"]=Nn}var oi=g.syncOrAsync(Bn);return oi&&oi.then&&Ze._promises.push(oi),oi};function Gt(Ze,Xe,Wt){var jt=Xe._id+"divider",ar=Wt.vals,mr=Wt.layer.selectAll("path."+jt).data(ar,It);mr.exit().remove(),mr.enter().insert("path",":first-child").classed(jt,1).classed("crisp",1).call(s.stroke,Xe.dividercolor).style("stroke-width",d.crispRound(Ze,Xe.dividerwidth,1)+"px"),mr.attr("transform",Wt.transFn).attr("d",Wt.path)}J.getPxPosition=function(Ze,Xe){var Wt=Ze._fullLayout._size,jt=Xe._id.charAt(0),ar=Xe.side,mr;if(Xe.anchor!=="free"?mr=Xe._anchorAxis:jt==="x"?mr={_offset:Wt.t+(1-(Xe.position||0))*Wt.h,_length:0}:jt==="y"&&(mr={_offset:Wt.l+(Xe.position||0)*Wt.w+Xe._shift,_length:0}),ar==="top"||ar==="left")return mr._offset;if(ar==="bottom"||ar==="right")return mr._offset+mr._length};function cr(Ze){var Xe=Ze.title.font.size,Wt=(Ze.title.text.match(_.BR_TAG_ALL)||[]).length;return Ze.title.hasOwnProperty("standoff")?Wt?Xe*(Q+Wt*ae):Xe*Q:Wt?Xe*(Wt+1)*ae:Xe}function Pr(Ze,Xe){var Wt=Ze._fullLayout,jt=Xe._id,ar=jt.charAt(0),mr=Xe.title.font.size,br;if(Xe.title.hasOwnProperty("standoff"))br=Xe._depth+Xe.title.standoff+cr(Xe);else{var fr=sr(Xe);if(Xe.type==="multicategory")br=Xe._depth;else{var Kt=1.5*mr;fr&&(Kt=.5*mr,Xe.ticks==="outside"&&(Kt+=Xe.ticklen)),br=10+Kt+(Xe.linewidth?Xe.linewidth-1:0)}fr||(ar==="x"?br+=Xe.side==="top"?mr*(Xe.showticklabels?1:0):mr*(Xe.showticklabels?1.5:.5):br+=Xe.side==="right"?mr*(Xe.showticklabels?1:.5):mr*(Xe.showticklabels?.5:0))}var kr=J.getPxPosition(Ze,Xe),Rr,Lr,Ar;ar==="x"?(Lr=Xe._offset+Xe._length/2,Ar=Xe.side==="top"?kr-br:kr+br):(Ar=Xe._offset+Xe._length/2,Lr=Xe.side==="right"?kr+br:kr-br,Rr={rotate:"-90",offset:0});var ln;if(Xe.type!=="multicategory"){var Kr=Xe._selections[Xe._id+"tick"];if(ln={selection:Kr,side:Xe.side},Kr&&Kr.node()&&Kr.node().parentNode){var Xr=d.getTranslate(Kr.node().parentNode);ln.offsetLeft=Xr.x,ln.offsetTop=Xr.y}Xe.title.hasOwnProperty("standoff")&&(ln.pad=0)}return Xe._titleStandoff=br,c.draw(Ze,jt+"title",{propContainer:Xe,propName:Xe._name+".title.text",placeholder:Wt._dfltTitle[ar],avoid:ln,transform:Rr,attributes:{x:Lr,y:Ar,"text-anchor":"middle"}})}J.shouldShowZeroLine=function(Ze,Xe,Wt){var jt=g.simpleMap(Xe.range,Xe.r2l);return jt[0]*jt[1]<=0&&Xe.zeroline&&(Xe.type==="linear"||Xe.type==="-")&&!(Xe.rangebreaks&&Xe.maskBreaks(0)===U)&&(Ct(Xe,0)||!or(Ze,Xe,Wt,jt)||ur(Ze,Xe))},J.clipEnds=function(Ze,Xe){return Xe.filter(function(Wt){return Ct(Ze,Wt.x)})};function Ct(Ze,Xe){var Wt=Ze.l2p(Xe);return Wt>1&&Wt<Ze._length-1}function or(Ze,Xe,Wt,jt){var ar=Wt._mainAxis;if(!ar)return;var mr=Ze._fullLayout,br=Xe._id.charAt(0),fr=J.counterLetter(Xe._id),Kt=Xe._offset+(Math.abs(jt[0])<Math.abs(jt[1])==(br==="x")?0:Xe._length);function kr(Kr){if(!Kr.showline||!Kr.linewidth)return!1;var Xr=Math.max((Kr.linewidth+Xe.zerolinewidth)/2,1);function Bn(ra){return typeof ra=="number"&&Math.abs(ra-Kt)<Xr}if(Bn(Kr._mainLinePosition)||Bn(Kr._mainMirrorPosition))return!0;var An=Kr._linepositions||{};for(var ta in An)if(Bn(An[ta][0])||Bn(An[ta][1]))return!0}var Rr=mr._plots[Wt._mainSubplot];if(!(Rr.mainplotinfo||Rr).overlays.length)return kr(Wt);for(var Lr=J.list(Ze,fr),Ar=0;Ar<Lr.length;Ar++){var ln=Lr[Ar];if(ln._mainAxis===ar&&kr(ln))return!0}}function ur(Ze,Xe){for(var Wt=Ze._fullData,jt=Xe._mainSubplot,ar=Xe._id.charAt(0),mr=0;mr<Wt.length;mr++){var br=Wt[mr];if(br.visible===!0&&br.xaxis+br.yaxis===jt&&(S.traceIs(br,"bar-like")&&br.orientation==={x:"h",y:"v"}[ar]||br.fill&&br.fill.charAt(br.fill.length-1)===ar))return!0}return!1}function Ir(Ze){var Xe=l.select(Ze),Wt=Xe.select(".text-math-group");return Wt.empty()?Xe.select("text"):Wt}J.allowAutoMargin=function(Ze){for(var Xe=J.list(Ze,"",!0),Wt=0;Wt<Xe.length;Wt++){var jt=Xe[Wt];jt.automargin&&(i.allowAutoMargin(Ze,yr(jt)),jt.mirror&&i.allowAutoMargin(Ze,At(jt))),S.getComponentMethod("rangeslider","isVisible")(jt)&&i.allowAutoMargin(Ze,mt(jt))}};function yr(Ze){return Ze._id+".automargin"}function At(Ze){return yr(Ze)+".mirror"}function mt(Ze){return Ze._id+".rangeslider"}J.swap=function(Ze,Xe){for(var Wt=Mt(Ze,Xe),jt=0;jt<Wt.length;jt++)Ht(Ze,Wt[jt].x,Wt[jt].y)};function Mt(Ze,Xe){var Wt=[],jt,ar;for(jt=0;jt<Xe.length;jt++){var mr=[],br=Ze._fullData[Xe[jt]].xaxis,fr=Ze._fullData[Xe[jt]].yaxis;if(!(!br||!fr)){for(ar=0;ar<Wt.length;ar++)(Wt[ar].x.indexOf(br)!==-1||Wt[ar].y.indexOf(fr)!==-1)&&mr.push(ar);if(!mr.length){Wt.push({x:[br],y:[fr]});continue}var Kt=Wt[mr[0]],kr;if(mr.length>1)for(ar=1;ar<mr.length;ar++)kr=Wt[mr[ar]],Pt(Kt.x,kr.x),Pt(Kt.y,kr.y);Pt(Kt.x,[br]),Pt(Kt.y,[fr])}}return Wt}function Pt(Ze,Xe){for(var Wt=0;Wt<Xe.length;Wt++)Ze.indexOf(Xe[Wt])===-1&&Ze.push(Xe[Wt])}function Ht(Ze,Xe,Wt){var jt=[],ar=[],mr=Ze.layout,br,fr;for(br=0;br<Xe.length;br++)jt.push(J.getFromId(Ze,Xe[br]));for(br=0;br<Wt.length;br++)ar.push(J.getFromId(Ze,Wt[br]));var Kt=Object.keys(f),kr=["anchor","domain","overlaying","position","side","tickangle","editType"],Rr=["linear","log"];for(br=0;br<Kt.length;br++){var Lr=Kt[br],Ar=jt[0][Lr],ln=ar[0][Lr],Kr=!0,Xr=!1,Bn=!1;if(!(Lr.charAt(0)==="_"||typeof Ar=="function"||kr.indexOf(Lr)!==-1)){for(fr=1;fr<jt.length&&Kr;fr++){var An=jt[fr][Lr];Lr==="type"&&Rr.indexOf(Ar)!==-1&&Rr.indexOf(An)!==-1&&Ar!==An?Xr=!0:An!==Ar&&(Kr=!1)}for(fr=1;fr<ar.length&&Kr;fr++){var ta=ar[fr][Lr];Lr==="type"&&Rr.indexOf(ln)!==-1&&Rr.indexOf(ta)!==-1&&ln!==ta?Bn=!0:ar[fr][Lr]!==ln&&(Kr=!1)}Kr&&(Xr&&(mr[jt[0]._name].type="linear"),Bn&&(mr[ar[0]._name].type="linear"),Ut(mr,Lr,jt,ar,Ze._fullLayout._dfltTitle))}}for(br=0;br<Ze._fullLayout.annotations.length;br++){var ra=Ze._fullLayout.annotations[br];Xe.indexOf(ra.xref)!==-1&&Wt.indexOf(ra.yref)!==-1&&g.swapAttrs(mr.annotations[br],["?"])}}function Ut(Ze,Xe,Wt,jt,ar){var mr=g.nestedProperty,br=mr(Ze[Wt[0]._name],Xe).get(),fr=mr(Ze[jt[0]._name],Xe).get(),Kt;for(Xe==="title"&&(br&&br.text===ar.x&&(br.text=ar.y),fr&&fr.text===ar.y&&(fr.text=ar.x)),Kt=0;Kt<Wt.length;Kt++)mr(Ze,Wt[Kt]._name+"."+Xe).set(fr);for(Kt=0;Kt<jt.length;Kt++)mr(Ze,jt[Kt]._name+"."+Xe).set(br)}function Zt(Ze){return Ze._id==="angularaxis"}function Xt(Ze,Xe){for(var Wt=Xe._rangebreaks.length,jt=0;jt<Wt;jt++){var ar=Xe._rangebreaks[jt];if(Ze>=ar.min&&Ze<ar.max)return ar.max}return Ze}function sr(Ze){return(Ze.ticklabelposition||"").indexOf("inside")!==-1}function Sr(Ze,Xe){sr(Ze._anchorAxis||{})&&Ze._hideCounterAxisInsideTickLabels&&Ze._hideCounterAxisInsideTickLabels(Xe)}function wr(Ze,Xe,Wt,jt){var ar=Ze.anchor!=="free"&&(Ze.overlaying===void 0||Ze.overlaying===!1)?Ze._id:Ze.overlaying,mr;jt?mr=Ze.side==="right"?Xe:-Xe:mr=Xe,ar in Wt||(Wt[ar]={}),Ze.side in Wt[ar]||(Wt[ar][Ze.side]=0),Wt[ar][Ze.side]+=mr}function Tr(Ze,Xe){return Ze.autoshift?Xe[Ze.overlaying][Ze.side]:Ze.shift||0}},52976:function(u,h,a){var l=a(38248),v=a(3400),i=a(39032).BADNUM,S=v.isArrayOrTypedArray,g=v.isDateTime,p=v.cleanNumber,_=Math.round;u.exports=function(C,w,R){var A=C,E=R.noMultiCategory;if(S(A)&&!A.length)return"-";if(!E&&x(A))return"multicategory";if(E&&Array.isArray(A[0])){for(var k=[],L=0;L<A.length;L++)if(S(A[L]))for(var I=0;I<A[L].length;I++)k.push(A[L][I]);A=k}if(d(A,w))return"date";var P=R.autotypenumbers!=="strict";return b(A,P)?"category":s(A,P)?"linear":"-"};function c(y,C){return C?l(y):typeof y=="number"}function s(y,C){for(var w=y.length,R=0;R<w;R++)if(c(y[R],C))return!0;return!1}function d(y,C){for(var w=y.length,R=f(w),A=0,E=0,k={},L=0;L<w;L+=R){var I=_(L),P=y[I],M=String(P);k[M]||(k[M]=1,g(P,C)&&A++,l(P)&&E++)}return A>E*2}function f(y){return Math.max(1,(y-1)/1e3)}function b(y,C){for(var w=y.length,R=f(w),A=0,E=0,k={},L=0;L<w;L+=R){var I=_(L),P=y[I],M=String(P);if(!k[M]){k[M]=1;var F=typeof P;F==="boolean"?E++:(C?p(P)!==i:F==="number")?A++:F==="string"&&E++}}return E>A*2}function x(y){return S(y[0])&&S(y[1])}},28336:function(u,h,a){var l=a(38248),v=a(24040),i=a(3400),S=a(31780),g=a(51272),p=a(94724),_=a(26332),c=a(25404),s=a(95936),d=a(42568),f=a(22416),b=a(42136),x=a(96312),y=a(78344),C=a(33816).WEEKDAY_PATTERN,w=a(33816).HOUR_PATTERN;u.exports=function(L,I,P,M,F){var N=M.letter,T=M.font||{},D=M.splomStash||{},O=P("visible",!M.visibleDflt),U=I._template||{},B=I.type||U.type||"-",Y;if(B==="date"){var z=v.getComponentMethod("calendars","handleDefaults");z(L,I,"calendar",M.calendar),M.noTicklabelmode||(Y=P("ticklabelmode"))}var V="";(!M.noTicklabelposition||B==="multicategory")&&(V=i.coerce(L,I,{ticklabelposition:{valType:"enumerated",dflt:"outside",values:Y==="period"?["outside","inside"]:N==="x"?["outside","inside","outside left","inside left","outside right","inside right"]:["outside","inside","outside top","inside top","outside bottom","inside bottom"]}},"ticklabelposition")),M.noTicklabeloverflow||P("ticklabeloverflow",V.indexOf("inside")!==-1?"hide past domain":B==="category"||B==="multicategory"?"allow":"hide past div"),y(I,F),x(L,I,P,M),f(L,I,P,M),B!=="category"&&!M.noHover&&P("hoverformat");var j=P("color"),G=j!==p.color.dflt?j:T.color,W=D.label||F._dfltTitle[N];if(d(L,I,P,B,M),!O)return I;P("title.text",W),i.coerceFont(P,"title.font",{family:T.family,size:i.bigFont(T.size),color:G}),_(L,I,P,B);var X=M.hasMinor;if(X&&(S.newContainer(I,"minor"),_(L,I,P,B,{isMinor:!0})),s(L,I,P,B,M),c(L,I,P,M),X){var Q=M.isMinor;M.isMinor=!0,c(L,I,P,M),M.isMinor=Q}b(L,I,P,{dfltColor:j,bgColor:M.bgColor,showGrid:M.showGrid,hasMinor:X,attributes:p}),X&&!I.minor.ticks&&!I.minor.showgrid&&delete I.minor,(I.showline||I.ticks)&&P("mirror");var ae=B==="multicategory";if(!M.noTickson&&(B==="category"||ae)&&(I.ticks||I.showgrid)){var ie;ae&&(ie="boundaries");var he=P("tickson",ie);he==="boundaries"&&delete I.ticklabelposition}if(ae){var J=P("showdividers");J&&(P("dividercolor"),P("dividerwidth"))}if(B==="date")if(g(L,I,{name:"rangebreaks",inclusionAttr:"enabled",handleItemDefaults:R}),!I.rangebreaks.length)delete I.rangebreaks;else{for(var Z=0;Z<I.rangebreaks.length;Z++)if(I.rangebreaks[Z].pattern===C){I._hasDayOfWeekBreaks=!0;break}if(y(I,F),F._has("scattergl")||F._has("splom"))for(var le=0;le<M.data.length;le++){var K=M.data[le];(K.type==="scattergl"||K.type==="splom")&&(K.visible=!1,i.warn(K.type+" traces do not work on axes with rangebreaks. Setting trace "+K.index+" to `visible: false`."))}}return I};function R(k,L,I){function P(Y,z){return i.coerce(k,L,p.rangebreaks,Y,z)}var M=P("enabled");if(M){var F=P("bounds");if(F&&F.length>=2){var N="",T,D;if(F.length===2){for(T=0;T<2;T++)if(D=E(F[T]),D){N=C;break}}var O=P("pattern",N);if(O===C)for(T=0;T<2;T++)D=E(F[T]),D&&(L.bounds[T]=F[T]=D-1);if(O)for(T=0;T<2;T++)switch(D=F[T],O){case C:if(!l(D)){L.enabled=!1;return}if(D=+D,D!==Math.floor(D)||D<0||D>=7){L.enabled=!1;return}L.bounds[T]=F[T]=D;break;case w:if(!l(D)){L.enabled=!1;return}if(D=+D,D<0||D>24){L.enabled=!1;return}L.bounds[T]=F[T]=D;break}if(I.autorange===!1){var U=I.range;if(U[0]<U[1]){if(F[0]<U[0]&&F[1]>U[1]){L.enabled=!1;return}}else if(F[0]>U[0]&&F[1]<U[1]){L.enabled=!1;return}}}else{var B=P("values");if(B&&B.length)P("dvalue");else{L.enabled=!1;return}}}}var A={sun:1,mon:2,tue:3,wed:4,thu:5,fri:6,sat:7};function E(k){if(typeof k=="string")return A[k.substr(0,3).toLowerCase()]}},29736:function(u,h,a){var l=a(26880),v=l.FORMAT_LINK,i=l.DATE_FORMAT_LINK;function S(_,c){return{valType:"string",dflt:"",editType:"none",description:(c?g:p)("hover text",_)+["By default the values are formatted using "+(c?"generic number format":"`"+_+"axis.hoverformat`")+"."].join(" ")}}function g(_,c){return["Sets the "+_+" formatting rule"+(c?"for `"+c+"` ":""),"using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see: "+v+"."].join(" ")}function p(_,c){return g(_,c)+[" And for dates see: "+i+".","We add two items to d3's date formatter:","*%h* for half of the year as a decimal number as well as","*%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")}u.exports={axisHoverFormat:S,descriptionOnlyNumbers:g,descriptionWithDates:p}},79811:function(u,h,a){var l=a(24040),v=a(33816);h.id2name=function(g){if(!(typeof g!="string"||!g.match(v.AX_ID_PATTERN))){var p=g.split(" ")[0].substr(1);return p==="1"&&(p=""),g.charAt(0)+"axis"+p}},h.name2id=function(g){if(g.match(v.AX_NAME_PATTERN)){var p=g.substr(5);return p==="1"&&(p=""),g.charAt(0)+p}},h.cleanId=function(g,p,_){var c=/( domain)$/.test(g);if(!(typeof g!="string"||!g.match(v.AX_ID_PATTERN))&&!(p&&g.charAt(0)!==p)&&!(c&&!_)){var s=g.split(" ")[0].substr(1).replace(/^0+/,"");return s==="1"&&(s=""),g.charAt(0)+s+(c&&_?" domain":"")}},h.list=function(S,g,p){var _=S._fullLayout;if(!_)return[];var c=h.listIds(S,g),s=new Array(c.length),d;for(d=0;d<c.length;d++){var f=c[d];s[d]=_[f.charAt(0)+"axis"+f.substr(1)]}if(!p){var b=_._subplots.gl3d||[];for(d=0;d<b.length;d++){var x=_[b[d]];g?s.push(x[g+"axis"]):s.push(x.xaxis,x.yaxis,x.zaxis)}}return s},h.listIds=function(S,g){var p=S._fullLayout;if(!p)return[];var _=p._subplots;return g?_[g+"axis"]:_.xaxis.concat(_.yaxis)},h.getFromId=function(S,g,p){var _=S._fullLayout;return g=g===void 0||typeof g!="string"?g:g.replace(" domain",""),p==="x"?g=g.replace(/y[0-9]*/,""):p==="y"&&(g=g.replace(/x[0-9]*/,"")),_[h.id2name(g)]},h.getFromTrace=function(S,g,p){var _=S._fullLayout,c=null;if(l.traceIs(g,"gl3d")){var s=g.scene;s.substr(0,5)==="scene"&&(c=_[s][p+"axis"])}else c=h.getFromId(S,g[p+"axis"]||p);return c},h.idSort=function(S,g){var p=S.charAt(0),_=g.charAt(0);return p!==_?p>_?1:-1:+(S.substr(1)||1)-+(g.substr(1)||1)},h.ref2id=function(S){return/^[xyz]/.test(S)?S.split(" ")[0]:!1};function i(S,g){if(g&&g.length){for(var p=0;p<g.length;p++)if(g[p][S])return!0}return!1}h.isLinked=function(S,g){return i(g,S._axisMatchGroups)||i(g,S._axisConstraintGroups)}},22416:function(u,h,a){var l=a(38116).isTypedArraySpec;function v(i,S){var g=S.dataAttr||i._id.charAt(0),p={},_,c,s;if(S.axData)_=S.axData;else for(_=[],c=0;c<S.data.length;c++){var d=S.data[c];d[g+"axis"]===i._id&&_.push(d)}for(c=0;c<_.length;c++){var f=_[c][g];for(s=0;s<f.length;s++){var b=f[s];b!=null&&(p[b]=1)}}return Object.keys(p)}u.exports=function(S,g,p,_){if(g.type==="category"){var c=S.categoryarray,s=Array.isArray(c)&&c.length>0||l(c),d;s&&(d="array");var f=p("categoryorder",d),b;f==="array"&&(b=p("categoryarray")),!s&&f==="array"&&(f=g.categoryorder="trace"),f==="trace"?g._initialCategories=[]:f==="array"?g._initialCategories=b.slice():(b=v(g,_).sort(),f==="category ascending"?g._initialCategories=b:f==="category descending"&&(g._initialCategories=b.reverse()))}}},98728:function(u,h,a){var l=a(38248),v=a(3400),i=a(39032),S=i.ONEDAY,g=i.ONEWEEK;h.dtick=function(p,_){var c=_==="log",s=_==="date",d=_==="category",f=s?S:1;if(!p)return f;if(l(p))return p=Number(p),p<=0?f:d?Math.max(1,Math.round(p)):s?Math.max(.1,p):p;if(typeof p!="string"||!(s||c))return f;var b=p.charAt(0),x=p.substr(1);return x=l(x)?Number(x):0,x<=0||!(s&&b==="M"&&x===Math.round(x)||c&&b==="L"||c&&b==="D"&&(x===1||x===2))?f:p},h.tick0=function(p,_,c,s){if(_==="date")return v.cleanDate(p,v.dateTick0(c,s%g===0?1:0));if(!(s==="D1"||s==="D2"))return l(p)?Number(p):0}},33816:function(u,h,a){var l=a(53756).counter;u.exports={idRegex:{x:l("x","( domain)?"),y:l("y","( domain)?")},attrRegex:l("[xy]axis"),xAxisMatch:l("xaxis"),yAxisMatch:l("yaxis"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:"hour",WEEKDAY_PATTERN:"day of week",MINDRAG:8,MINZOOM:20,DRAGGERSIZE:20,REDRAWDELAY:50,DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:["imagelayer","heatmaplayer","contourcarpetlayer","contourlayer","funnellayer","waterfalllayer","barlayer","carpetlayer","violinlayer","boxlayer","ohlclayer","scattercarpetlayer","scatterlayer"],clipOnAxisFalseQuery:[".scatterlayer",".barlayer",".funnellayer",".waterfalllayer"],layerValue2layerClass:{"above traces":"above","below traces":"below"}}},71888:function(u,h,a){var l=a(3400),v=a(19280),i=a(79811).id2name,S=a(94724),g=a(21160),p=a(78344),_=a(39032).ALMOST_EQUAL,c=a(84284).FROM_BL;h.handleDefaults=function(w,R,A){var E=A.axIds,k=A.axHasImage,L=R._axisConstraintGroups=[],I=R._axisMatchGroups=[],P,M,F,N,T,D,O,U;for(P=0;P<E.length;P++)N=i(E[P]),T=w[N],D=R[N],s(T,D,{axIds:E,layoutOut:R,hasImage:k[N]});function B(ae,ie){for(P=0;P<ae.length;P++){M=ae[P];for(F in M)R[i(F)][ie]=M}}for(B(I,"_matchGroup"),P=0;P<L.length;P++){M=L[P];for(F in M)if(D=R[i(F)],D.fixedrange){for(var Y in M){var z=i(Y);(w[z]||{}).fixedrange===!1&&l.warn("fixedrange was specified as false for axis "+z+" but was overridden because another axis in its constraint group has fixedrange true"),R[z].fixedrange=!0}break}}for(P=0;P<L.length;){M=L[P];for(F in M){D=R[i(F)],D._matchGroup&&Object.keys(D._matchGroup).length===Object.keys(M).length&&(L.splice(P,1),P--);break}P++}B(L,"_constraintGroup");var V=["constrain","range","autorange","rangemode","rangebreaks","categoryorder","categoryarray"],j=!1,G=!1;function W(){U=D[O],O==="rangebreaks"&&(G=D._hasDayOfWeekBreaks)}for(P=0;P<I.length;P++){M=I[P];for(var X=0;X<V.length;X++){O=V[X],U=null;var Q;for(F in M)if(N=i(F),T=w[N],D=R[N],O in D){if(!D.matches&&(Q=D,O in T)){W();break}U===null&&O in T&&W()}if(O==="range"&&U&&T.range&&T.range.length===2&&T.range[0]!==null&&T.range[1]!==null&&(j=!0),O==="autorange"&&U===null&&j&&(U=!1),U===null&&O in Q&&(U=Q[O]),U!==null)for(F in M)D=R[i(F)],D[O]=O==="range"?U.slice():U,O==="rangebreaks"&&(D._hasDayOfWeekBreaks=G,p(D,R))}}};function s(w,R,A){var E=A.axIds,k=A.layoutOut,L=A.hasImage,I=k._axisConstraintGroups,P=k._axisMatchGroups,M=R._id,F=M.charAt(0),N=((k._splomAxes||{})[F]||{})[M]||{},T=R._id,D=T.charAt(0)==="x";R._matchGroup=null,R._constraintGroup=null;function O(Z,le){return l.coerce(w,R,S,Z,le)}O("constrain",L?"domain":"range"),l.coerce(w,R,{constraintoward:{valType:"enumerated",values:D?["left","center","right"]:["bottom","middle","top"],dflt:D?"center":"middle"}},"constraintoward");var U=R.type,B,Y,z=[];for(B=0;B<E.length;B++)if(Y=E[B],Y!==T){var V=k[i(Y)];V.type===U&&z.push(Y)}var j=f(I,T);if(j){var G=[];for(B=0;B<z.length;B++)Y=z[B],j[Y]||G.push(Y);z=G}var W=z.length,X,Q;W&&(w.matches||N.matches)&&(X=l.coerce(w,R,{matches:{valType:"enumerated",values:z,dflt:z.indexOf(N.matches)!==-1?N.matches:void 0}},"matches"));var ae=L&&!D?R.anchor:void 0;if(W&&!X&&(w.scaleanchor||ae)&&(Q=l.coerce(w,R,{scaleanchor:{valType:"enumerated",values:z.concat([!1])}},"scaleanchor",ae)),X){R._matchGroup=b(P,T,X,1);var ie=k[i(X)],he=d(k,R)/d(k,ie);D!==(X.charAt(0)==="x")&&(he=(D?"x":"y")+he),b(I,T,X,he)}else w.matches&&E.indexOf(w.matches)!==-1&&l.warn("ignored "+R._name+'.matches: "'+w.matches+'" to avoid an infinite loop');if(Q){var J=O("scaleratio");J||(J=R.scaleratio=1),b(I,T,Q,J)}else w.scaleanchor&&E.indexOf(w.scaleanchor)!==-1&&l.warn("ignored "+R._name+'.scaleanchor: "'+w.scaleanchor+'" to avoid either an infinite loop and possibly inconsistent scaleratios, or because this axis declares a *matches* constraint.')}function d(w,R){var A=R.domain;return A||(A=w[i(R.overlaying)].domain),A[1]-A[0]}function f(w,R){for(var A=0;A<w.length;A++)if(w[A][R])return w[A];return null}function b(w,R,A,E){var k,L,I,P,M,F=f(w,R);F===null?(F={},F[R]=1,M=w.length,w.push(F)):M=w.indexOf(F);var N=Object.keys(F);for(k=0;k<w.length;k++)if(I=w[k],k!==M&&I[A]){var T=I[A];for(L=0;L<N.length;L++)P=N[L],I[P]=x(T,x(E,F[P]));w.splice(M,1);return}if(E!==1)for(L=0;L<N.length;L++){var D=N[L];F[D]=x(E,F[D])}F[A]=1}function x(w,R){var A="",E="",k,L;typeof w=="string"&&(A=w.match(/^[xy]*/)[0],k=A.length,w=+w.substr(k)),typeof R=="string"&&(E=R.match(/^[xy]*/)[0],L=E.length,R=+R.substr(L));var I=w*R;return!k&&!L?I:!k||!L||A.charAt(0)===E.charAt(0)?A+E+w*R:k===L?I:(k>L?A.substr(L):E.substr(k))+I}function y(w,R){for(var A=R._size,E=A.h/A.w,k={},L=Object.keys(w),I=0;I<L.length;I++){var P=L[I],M=w[P];if(typeof M=="string"){var F=M.match(/^[xy]*/)[0],N=F.length;M=+M.substr(N);for(var T=F.charAt(0)==="y"?E:1/E,D=0;D<N;D++)M*=T}k[P]=M}return k}h.enforce=function(R){var A=R._fullLayout,E=A._axisConstraintGroups||[],k,L,I,P,M,F,N,T;for(k=0;k<E.length;k++){I=y(E[k],A);var D=Object.keys(I),O=1/0,U=0,B=1/0,Y={},z={},V=!1;for(L=0;L<D.length;L++)P=D[L],z[P]=M=A[i(P)],M._inputDomain?M.domain=M._inputDomain.slice():M._inputDomain=M.domain.slice(),M._inputRange||(M._inputRange=M.range.slice()),M.setScale(),Y[P]=F=Math.abs(M._m)/I[P],O=Math.min(O,F),(M.constrain==="domain"||!M._constraintShrinkable)&&(B=Math.min(B,F)),delete M._constraintShrinkable,U=Math.max(U,F),M.constrain==="domain"&&(V=!0);if(!(O>_*U&&!V)){for(L=0;L<D.length;L++)if(P=D[L],F=Y[P],M=z[P],N=M.constrain,F!==B||N==="domain")if(T=F/B,N==="range")g(M,T);else{var j=M._inputDomain,G=(M.domain[1]-M.domain[0])/(j[1]-j[0]),W=(M.r2l(M.range[1])-M.r2l(M.range[0]))/(M.r2l(M._inputRange[1])-M.r2l(M._inputRange[0]));if(T/=G,T*W<1){M.domain=M._input.domain=j.slice(),g(M,T);continue}if(W<1&&(M.range=M._input.range=M._inputRange.slice(),T*=W),M.autorange){var X=M.r2l(M.range[0]),Q=M.r2l(M.range[1]),ae=(X+Q)/2,ie=ae,he=ae,J=Math.abs(Q-ae),Z=ae-J*T*1.0001,le=ae+J*T*1.0001,K=v.makePadFn(A,M,0),te=v.makePadFn(A,M,1);C(M,T);var ce=Math.abs(M._m),re=v.concatExtremes(R,M),ee=re.min,de=re.max,oe,fe;for(fe=0;fe<ee.length;fe++)oe=ee[fe].val-K(ee[fe])/ce,oe>Z&&oe<ie&&(ie=oe);for(fe=0;fe<de.length;fe++)oe=de[fe].val+te(de[fe])/ce,oe<le&&oe>he&&(he=oe);var me=(he-ie)/(2*J);T/=me,ie=M.l2r(ie),he=M.l2r(he),M.range=M._input.range=X<Q?[ie,he]:[he,ie]}C(M,T)}}}},h.getAxisGroup=function(R,A){for(var E=R._axisMatchGroups,k=0;k<E.length;k++){var L=E[k];if(L[A])return"g"+k}return A},h.clean=function(R,A){if(A._inputDomain){for(var E=!1,k=A._id,L=R._fullLayout._axisConstraintGroups,I=0;I<L.length;I++)if(L[I][k]){E=!0;break}(!E||A.constrain!=="domain")&&(A._input.domain=A.domain=A._inputDomain,delete A._inputDomain)}};function C(w,R){var A=w._inputDomain,E=c[w.constraintoward],k=A[0]+(A[1]-A[0])*E;w.domain=w._input.domain=[k+(A[0]-k)/R,k+(A[1]-k)/R],w.setScale()}},51184:function(u,h,a){var l=a(33428),v=a(3400),i=v.numberFormat,S=a(49760),g=a(89184),p=a(24040),_=v.strTranslate,c=a(72736),s=a(76308),d=a(43616),f=a(93024),b=a(54460),x=a(93972),y=a(86476),C=a(72760),w=C.selectingOrDrawing,R=C.freeMode,A=a(84284).FROM_TL,E=a(73696),k=a(39172).redrawReglTraces,L=a(7316),I=a(79811).getFromId,P=a(22676).prepSelect,M=a(22676).clearOutline,F=a(22676).selectOnClick,N=a(21160),T=a(33816),D=T.MINDRAG,O=T.MINZOOM,U=!0;function B(oe,fe,me,Te,we,Be,Ae,Re){var be=oe._fullLayout._zoomlayer,Pe=Ae+Re==="nsew",Ke=(Ae+Re).length===1,ze,Fe,We,lt,ht,tt,et,pt,vt,_t,bt,Rt,ct,Ve,Qe,rt,qe,He,Ce,Se,Le,Ne,je;me+=fe.yaxis._shift;function Je(){if(ze=fe.xaxis,Fe=fe.yaxis,vt=ze._length,_t=Fe._length,et=ze._offset,pt=Fe._offset,We={},We[ze._id]=ze,lt={},lt[Fe._id]=Fe,Ae&&Re)for(var fr=fe.overlays,Kt=0;Kt<fr.length;Kt++){var kr=fr[Kt].xaxis;We[kr._id]=kr;var Rr=fr[Kt].yaxis;lt[Rr._id]=Rr}ht=de(We),tt=de(lt),ct=V(ht,Re),Ve=V(tt,Ae),Qe=!Ve&&!ct,Rt=re(oe,oe._fullLayout._axisMatchGroups,We,lt),bt=re(oe,oe._fullLayout._axisConstraintGroups,We,lt,Rt);var Lr=bt.isSubplotConstrained||Rt.isSubplotConstrained;rt=Re||Lr,qe=Ae||Lr;var Ar=oe._fullLayout;He=Ar._has("scattergl"),Ce=Ar._has("splom"),Se=Ar._has("svg")}Je();var ut=Q(Ve+ct,oe._fullLayout.dragmode,Pe),Et=z(fe,Ae+Re+"drag",ut,me,Te,we,Be);if(Qe&&!Pe)return Et.onmousedown=null,Et.style.pointerEvents="none",Et;var wt={element:Et,gd:oe,plotinfo:fe};wt.prepFn=function(fr,Kt,kr){var Rr=wt.dragmode,Lr=oe._fullLayout.dragmode;Lr!==Rr&&(wt.dragmode=Lr),Je(),Ne=oe._fullLayout._invScaleX,je=oe._fullLayout._invScaleY,Qe||(Pe?fr.shiftKey?Lr==="pan"?Lr="zoom":w(Lr)||(Lr="pan"):fr.ctrlKey&&(Lr="pan"):Lr="pan"),R(Lr)?wt.minDrag=1:wt.minDrag=void 0,w(Lr)?(wt.xaxes=ht,wt.yaxes=tt,P(fr,Kt,kr,wt,Lr)):(wt.clickFn=ir,w(Rr)&&nr(),Qe||(Lr==="zoom"?(wt.moveFn=Mt,wt.doneFn=Ht,wt.minDrag=1,mt(fr,Kt,kr)):Lr==="pan"&&(wt.moveFn=wr,wt.doneFn=Wt))),oe._fullLayout._redrag=function(){var Ar=oe._dragdata;if(Ar&&Ar.element===Et){var ln=oe._fullLayout.dragmode;w(ln)||(Je(),jt([0,0,vt,_t]),wt.moveFn(Ar.dx,Ar.dy))}}};function nr(){wt.plotinfo.selection=!1,M(oe)}function ir(fr,Kt){var kr=wt.gd;if(kr._fullLayout._activeShapeIndex>=0){kr._fullLayout._deactivateShape(kr);return}var Rr=kr._fullLayout.clickmode;if(Z(kr),fr===2&&!Ke&&Xe(),Pe)Rr.indexOf("select")>-1&&F(Kt,kr,ht,tt,fe.id,wt),Rr.indexOf("event")>-1&&f.click(kr,Kt,fe.id);else if(fr===1&&Ke){var Lr=Ae?Fe:ze,Ar=Ae==="s"||Re==="w"?0:1,ln=Lr._name+".range["+Ar+"]",Kr=j(Lr,Ar),Xr="left",Bn="middle";if(Lr.fixedrange)return;Ae?(Bn=Ae==="n"?"top":"bottom",Lr.side==="right"&&(Xr="right")):Re==="e"&&(Xr="right"),kr._context.showAxisRangeEntryBoxes&&l.select(Et).call(c.makeEditable,{gd:kr,immediate:!0,background:kr._fullLayout.paper_bgcolor,text:String(Kr),fill:Lr.tickfont?Lr.tickfont.color:"#444",horizontalAlign:Xr,verticalAlign:Bn}).on("edit",function(An){var ta=Lr.d2r(An);ta!==void 0&&p.call("_guiRelayout",kr,ln,ta)})}}y.init(wt);var It,Gt,cr,Pr,Ct,or,ur,Ir,yr,At;function mt(fr,Kt,kr){var Rr=Et.getBoundingClientRect();It=Kt-Rr.left,Gt=kr-Rr.top,oe._fullLayout._calcInverseTransform(oe);var Lr=v.apply3DTransform(oe._fullLayout._invTransform)(It,Gt);It=Lr[0],Gt=Lr[1],cr={l:It,r:It,w:0,t:Gt,b:Gt,h:0},Pr=oe._hmpixcount?oe._hmlumcount/oe._hmpixcount:S(oe._fullLayout.plot_bgcolor).getLuminance(),Ct="M0,0H"+vt+"V"+_t+"H0V0",or=!1,ur="xy",At=!1,Ir=ae(be,Pr,et,pt,Ct),yr=ie(be,et,pt)}function Mt(fr,Kt){if(oe._transitioningWithDuration)return!1;var kr=Math.max(0,Math.min(vt,Ne*fr+It)),Rr=Math.max(0,Math.min(_t,je*Kt+Gt)),Lr=Math.abs(kr-It),Ar=Math.abs(Rr-Gt);cr.l=Math.min(It,kr),cr.r=Math.max(It,kr),cr.t=Math.min(Gt,Rr),cr.b=Math.max(Gt,Rr);function ln(){ur="",cr.r=cr.l,cr.t=cr.b,yr.attr("d","M0,0Z")}if(bt.isSubplotConstrained)Lr>O||Ar>O?(ur="xy",Lr/vt>Ar/_t?(Ar=Lr*_t/vt,Gt>Rr?cr.t=Gt-Ar:cr.b=Gt+Ar):(Lr=Ar*vt/_t,It>kr?cr.l=It-Lr:cr.r=It+Lr),yr.attr("d",ce(cr))):ln();else if(Rt.isSubplotConstrained)if(Lr>O||Ar>O){ur="xy";var Kr=Math.min(cr.l/vt,(_t-cr.b)/_t),Xr=Math.max(cr.r/vt,(_t-cr.t)/_t);cr.l=Kr*vt,cr.r=Xr*vt,cr.b=(1-Kr)*_t,cr.t=(1-Xr)*_t,yr.attr("d",ce(cr))}else ln();else!Ve||Ar<Math.min(Math.max(Lr*.6,D),O)?Lr<D||!ct?ln():(cr.t=0,cr.b=_t,ur="x",yr.attr("d",K(cr,Gt))):!ct||Lr<Math.min(Ar*.6,O)?(cr.l=0,cr.r=vt,ur="y",yr.attr("d",te(cr,It))):(ur="xy",yr.attr("d",ce(cr)));cr.w=cr.r-cr.l,cr.h=cr.b-cr.t,ur&&(At=!0),oe._dragged=At,he(Ir,yr,cr,Ct,or,Pr),Pt(),oe.emit("plotly_relayouting",Le),or=!0}function Pt(){Le={},(ur==="xy"||ur==="x")&&(G(ht,cr.l/vt,cr.r/vt,Le,bt.xaxes),Tr("x",Le)),(ur==="xy"||ur==="y")&&(G(tt,(_t-cr.b)/_t,(_t-cr.t)/_t,Le,bt.yaxes),Tr("y",Le))}function Ht(){Pt(),Z(oe),Wt(),le(oe)}var Ut=[0,0,vt,_t],Zt=null,Xt=T.REDRAWDELAY,sr=fe.mainplot?oe._fullLayout._plots[fe.mainplot]:fe;function Sr(fr){if(!oe._context._scrollZoom.cartesian&&!oe._fullLayout._enablescrollzoom)return;if(nr(),oe._transitioningWithDuration){fr.preventDefault(),fr.stopPropagation();return}Je(),clearTimeout(Zt);var Kt=-fr.deltaY;if(isFinite(Kt)||(Kt=fr.wheelDelta/10),!isFinite(Kt)){v.log("Did not find wheel motion attributes: ",fr);return}var kr=Math.exp(-Math.min(Math.max(Kt,-20),20)/200),Rr=sr.draglayer.select(".nsewdrag").node().getBoundingClientRect(),Lr=(fr.clientX-Rr.left)/Rr.width,Ar=(Rr.bottom-fr.clientY)/Rr.height,ln;function Kr(Xr,Bn,An){if(Xr.fixedrange)return;var ta=v.simpleMap(Xr.range,Xr.r2l),ra=ta[0]+(ta[1]-ta[0])*Bn;function Cr(Jr){return Xr.l2r(ra+(Jr-ra)*An)}Xr.range=ta.map(Cr)}if(rt){for(Re||(Lr=.5),ln=0;ln<ht.length;ln++)Kr(ht[ln],Lr,kr);Tr("x"),Ut[2]*=kr,Ut[0]+=Ut[2]*Lr*(1/kr-1)}if(qe){for(Ae||(Ar=.5),ln=0;ln<tt.length;ln++)Kr(tt[ln],Ar,kr);Tr("y"),Ut[3]*=kr,Ut[1]+=Ut[3]*(1-Ar)*(1/kr-1)}jt(Ut),Ze(),oe.emit("plotly_relayouting",Le),Zt=setTimeout(function(){oe._fullLayout&&(Ut=[0,0,vt,_t],Wt())},Xt),fr.preventDefault()}Ae.length*Re.length!==1&&ee(Et,Sr);function wr(fr,Kt){if(fr=fr*Ne,Kt=Kt*je,oe._transitioningWithDuration)return;if(oe._fullLayout._replotting=!0,ct==="ew"||Ve==="ns"){var kr=ct?-fr:0,Rr=Ve?-Kt:0;if(Rt.isSubplotConstrained){if(ct&&Ve){var Lr=(fr/vt-Kt/_t)/2;fr=Lr*vt,Kt=-Lr*_t,kr=-fr,Rr=-Kt}Ve?kr=-Rr*vt/_t:Rr=-kr*_t/vt}ct&&(W(ht,fr),Tr("x")),Ve&&(W(tt,Kt),Tr("y")),jt([kr,Rr,vt,_t]),Ze(),oe.emit("plotly_relayouting",Le);return}function Ar(Cr,Jr,un){for(var sn=1-Jr,Nn,Hn,$n=0;$n<Cr.length;$n++){var da=Cr[$n];if(!da.fixedrange){Nn=da,Hn=da._rl[sn]+(da._rl[Jr]-da._rl[sn])/X(un/da._length);var _a=da.l2r(Hn);_a!==!1&&_a!==void 0&&(da.range[Jr]=_a)}}return Nn._length*(Nn._rl[Jr]-Hn)/(Nn._rl[Jr]-Nn._rl[sn])}var ln=ct==="w"==(Ve==="n")?1:-1;if(ct&&Ve&&(bt.isSubplotConstrained||Rt.isSubplotConstrained)){var Kr=(fr/vt+ln*Kt/_t)/2;fr=Kr*vt,Kt=ln*Kr*_t}var Xr,Bn;if(ct==="w"?fr=Ar(ht,0,fr):ct==="e"?fr=Ar(ht,1,-fr):ct||(fr=0),Ve==="n"?Kt=Ar(tt,1,Kt):Ve==="s"?Kt=Ar(tt,0,-Kt):Ve||(Kt=0),Xr=ct==="w"?fr:0,Bn=Ve==="n"?Kt:0,bt.isSubplotConstrained&&!Rt.isSubplotConstrained||Rt.isSubplotConstrained&&ct&&Ve&&ln>0){var An;if(Rt.isSubplotConstrained||!ct&&Ve.length===1){for(An=0;An<ht.length;An++)ht[An].range=ht[An]._r.slice(),N(ht[An],1-Kt/_t);fr=Kt*vt/_t,Xr=fr/2}if(Rt.isSubplotConstrained||!Ve&&ct.length===1){for(An=0;An<tt.length;An++)tt[An].range=tt[An]._r.slice(),N(tt[An],1-fr/vt);Kt=fr*_t/vt,Bn=Kt/2}}(!Rt.isSubplotConstrained||!Ve)&&Tr("x"),(!Rt.isSubplotConstrained||!ct)&&Tr("y");var ta=vt-fr,ra=_t-Kt;Rt.isSubplotConstrained&&!(ct&&Ve)&&(ct?(Bn=Xr?0:fr*_t/vt,ra=ta*_t/vt):(Xr=Bn?0:Kt*vt/_t,ta=ra*vt/_t)),jt([Xr,Bn,ta,ra]),Ze(),oe.emit("plotly_relayouting",Le)}function Tr(fr,Kt){for(var kr=Rt.isSubplotConstrained?{x:tt,y:ht}[fr]:Rt[fr+"axes"],Rr=Rt.isSubplotConstrained?{x:ht,y:tt}[fr]:[],Lr=0;Lr<kr.length;Lr++){var Ar=kr[Lr],ln=Ar._id,Kr=Rt.xLinks[ln]||Rt.yLinks[ln],Xr=Rr[0]||We[Kr]||lt[Kr];Xr&&(Kt?(Kt[Ar._name+".range[0]"]=Kt[Xr._name+".range[0]"],Kt[Ar._name+".range[1]"]=Kt[Xr._name+".range[1]"]):Ar.range=Xr.range.slice())}}function Ze(){var fr=[],Kt;function kr(ln){for(Kt=0;Kt<ln.length;Kt++)ln[Kt].fixedrange||fr.push(ln[Kt]._id)}function Rr(ln,Kr){for(Kt=0;Kt<ln.length;Kt++){var Xr=ln[Kt],Bn=Xr[Kr];!Xr.fixedrange&&Bn.tickmode==="sync"&&fr.push(Bn._id)}}for(rt&&(kr(ht),kr(bt.xaxes),kr(Rt.xaxes),Rr(fe.overlays,"xaxis")),qe&&(kr(tt),kr(bt.yaxes),kr(Rt.yaxes),Rr(fe.overlays,"yaxis")),Le={},Kt=0;Kt<fr.length;Kt++){var Lr=fr[Kt],Ar=I(oe,Lr);b.drawOne(oe,Ar,{skipTitle:!0}),Le[Ar._name+".range[0]"]=Ar.range[0],Le[Ar._name+".range[1]"]=Ar.range[1]}b.redrawComponents(oe,fr)}function Xe(){if(!oe._transitioningWithDuration){var fr=oe._context.doubleClick,Kt=[];ct&&(Kt=Kt.concat(ht)),Ve&&(Kt=Kt.concat(tt)),Rt.xaxes&&(Kt=Kt.concat(Rt.xaxes)),Rt.yaxes&&(Kt=Kt.concat(Rt.yaxes));var kr={},Rr,Lr;if(fr==="reset+autosize")for(fr="autosize",Lr=0;Lr<Kt.length;Lr++){Rr=Kt[Lr];var Ar=Rr._rangeInitial0,ln=Rr._rangeInitial1,Kr=Ar!==void 0||ln!==void 0;if(Kr&&(Ar!==void 0&&Ar!==Rr.range[0]||ln!==void 0&&ln!==Rr.range[1])||!Kr&&Rr.autorange!==!0){fr="reset";break}}if(fr==="autosize")for(Lr=0;Lr<Kt.length;Lr++)Rr=Kt[Lr],Rr.fixedrange||(kr[Rr._name+".autorange"]=!0);else if(fr==="reset"){for((ct||bt.isSubplotConstrained)&&(Kt=Kt.concat(bt.xaxes)),Ve&&!bt.isSubplotConstrained&&(Kt=Kt.concat(bt.yaxes)),bt.isSubplotConstrained&&(ct?Ve||(Kt=Kt.concat(tt)):Kt=Kt.concat(ht)),Lr=0;Lr<Kt.length;Lr++)if(Rr=Kt[Lr],!Rr.fixedrange){var Xr=Rr._name,Bn=Rr._autorangeInitial;Rr._rangeInitial0===void 0&&Rr._rangeInitial1===void 0?kr[Xr+".autorange"]=!0:Rr._rangeInitial0===void 0?(kr[Xr+".autorange"]=Bn,kr[Xr+".range"]=[null,Rr._rangeInitial1]):Rr._rangeInitial1===void 0?(kr[Xr+".range"]=[Rr._rangeInitial0,null],kr[Xr+".autorange"]=Bn):kr[Xr+".range"]=[Rr._rangeInitial0,Rr._rangeInitial1]}}oe.emit("plotly_doubleclick",null),p.call("_guiRelayout",oe,kr)}}function Wt(){jt([0,0,vt,_t]),v.syncOrAsync([L.previousPromises,function(){oe._fullLayout._replotting=!1,p.call("_guiRelayout",oe,Le)}],oe)}function jt(fr){var Kt=oe._fullLayout,kr=Kt._plots,Rr=Kt._subplots.cartesian,Lr,Ar,ln,Kr;if(Ce&&p.subplotsRegistry.splom.drag(oe),He){for(Lr=0;Lr<Rr.length;Lr++)if(Ar=kr[Rr[Lr]],ln=Ar.xaxis,Kr=Ar.yaxis,Ar._scene){var Xr=v.simpleMap(ln.range,ln.r2l),Bn=v.simpleMap(Kr.range,Kr.r2l);ln.limitRange&&ln.limitRange(),Kr.limitRange&&Kr.limitRange(),Xr=ln.range,Bn=Kr.range,Ar._scene.update({range:[Xr[0],Bn[0],Xr[1],Bn[1]]})}}if((Ce||He)&&(E(oe),k(oe)),Se){var An=fr[2]/ze._length,ta=fr[3]/Fe._length;for(Lr=0;Lr<Rr.length;Lr++){Ar=kr[Rr[Lr]],ln=Ar.xaxis,Kr=Ar.yaxis;var ra=(rt||Rt.isSubplotConstrained)&&!ln.fixedrange&&We[ln._id],Cr=(qe||Rt.isSubplotConstrained)&&!Kr.fixedrange&&lt[Kr._id],Jr,un,sn,Nn;if(ra?(Jr=An,sn=Re||Rt.isSubplotConstrained?fr[0]:br(ln,Jr)):Rt.xaHash[ln._id]?(Jr=An,sn=fr[0]*ln._length/ze._length):Rt.yaHash[ln._id]?(Jr=ta,sn=Ve==="ns"?-fr[1]*ln._length/Fe._length:br(ln,Jr,{n:"top",s:"bottom"}[Ve])):(Jr=ar(ln,An,ta),sn=mr(ln,Jr)),Jr>1&&(ln.maxallowed!==void 0&&rt===(ln.range[0]<ln.range[1]?"e":"w")||ln.minallowed!==void 0&&rt===(ln.range[0]<ln.range[1]?"w":"e"))&&(Jr=1,sn=0),Cr?(un=ta,Nn=Ae||Rt.isSubplotConstrained?fr[1]:br(Kr,un)):Rt.yaHash[Kr._id]?(un=ta,Nn=fr[1]*Kr._length/Fe._length):Rt.xaHash[Kr._id]?(un=An,Nn=ct==="ew"?-fr[0]*Kr._length/ze._length:br(Kr,un,{e:"right",w:"left"}[ct])):(un=ar(Kr,An,ta),Nn=mr(Kr,un)),un>1&&(Kr.maxallowed!==void 0&&qe===(Kr.range[0]<Kr.range[1]?"n":"s")||Kr.minallowed!==void 0&&qe===(Kr.range[0]<Kr.range[1]?"s":"n"))&&(un=1,Nn=0),!(!Jr&&!un)){Jr||(Jr=1),un||(un=1);var Hn=ln._offset-sn/Jr,$n=Kr._offset-Nn/un;Ar.clipRect.call(d.setTranslate,sn,Nn).call(d.setScale,Jr,un),Ar.plot.call(d.setTranslate,Hn,$n).call(d.setScale,1/Jr,1/un),(Jr!==Ar.xScaleFactor||un!==Ar.yScaleFactor)&&(d.setPointGroupScale(Ar.zoomScalePts,Jr,un),d.setTextPointsScale(Ar.zoomScaleTxt,Jr,un)),d.hideOutsideRangePoints(Ar.clipOnAxisFalseTraces,Ar),Ar.xScaleFactor=Jr,Ar.yScaleFactor=un}}}}function ar(fr,Kt,kr){return fr.fixedrange?0:rt&&bt.xaHash[fr._id]?Kt:qe&&(bt.isSubplotConstrained?bt.xaHash:bt.yaHash)[fr._id]?kr:0}function mr(fr,Kt){return Kt?(fr.range=fr._r.slice(),N(fr,Kt),br(fr,Kt)):0}function br(fr,Kt,kr){return fr._length*(1-Kt)*A[kr||fr.constraintoward||"middle"]}return Et}function Y(oe,fe,me,Te){var we=v.ensureSingle(oe.draglayer,fe,me,function(Be){Be.classed("drag",!0).style({fill:"transparent","stroke-width":0}).attr("data-subplot",oe.id)});return we.call(x,Te),we.node()}function z(oe,fe,me,Te,we,Be,Ae){var Re=Y(oe,"rect",fe,me);return l.select(Re).call(d.setRect,Te,we,Be,Ae),Re}function V(oe,fe){for(var me=0;me<oe.length;me++)if(!oe[me].fixedrange)return fe;return""}function j(oe,fe){var me=oe.range[fe],Te=Math.abs(me-oe.range[1-fe]),we;return oe.type==="date"?me:oe.type==="log"?(we=Math.ceil(Math.max(0,-Math.log(Te)/Math.LN10))+3,i("."+we+"g")(Math.pow(10,me))):(we=Math.floor(Math.log(Math.abs(me))/Math.LN10)-Math.floor(Math.log(Te)/Math.LN10)+4,i("."+String(we)+"g")(me))}function G(oe,fe,me,Te,we){for(var Be=0;Be<oe.length;Be++){var Ae=oe[Be];if(!Ae.fixedrange)if(Ae.rangebreaks){var Re=Ae._id.charAt(0)==="y",be=Re?1-fe:fe,Pe=Re?1-me:me;Te[Ae._name+".range[0]"]=Ae.l2r(Ae.p2l(be*Ae._length)),Te[Ae._name+".range[1]"]=Ae.l2r(Ae.p2l(Pe*Ae._length))}else{var Ke=Ae._rl[0],ze=Ae._rl[1]-Ke;Te[Ae._name+".range[0]"]=Ae.l2r(Ke+ze*fe),Te[Ae._name+".range[1]"]=Ae.l2r(Ke+ze*me)}}if(we&&we.length){var Fe=(fe+(1-me))/2;G(we,Fe,1-Fe,Te,[])}}function W(oe,fe){for(var me=0;me<oe.length;me++){var Te=oe[me];if(!Te.fixedrange){if(Te.rangebreaks){var we=0,Be=Te._length,Ae=Te.p2l(we+fe)-Te.p2l(we),Re=Te.p2l(Be+fe)-Te.p2l(Be),be=(Ae+Re)/2;Te.range=[Te.l2r(Te._rl[0]-be),Te.l2r(Te._rl[1]-be)]}else Te.range=[Te.l2r(Te._rl[0]-fe/Te._m),Te.l2r(Te._rl[1]-fe/Te._m)];Te.limitRange&&Te.limitRange()}}}function X(oe){return 1-(oe>=0?Math.min(oe,.9):1/(1/Math.max(oe,-.3)+3.222))}function Q(oe,fe,me){return oe?oe==="nsew"?me?"":fe==="pan"?"move":"crosshair":oe.toLowerCase()+"-resize":"pointer"}function ae(oe,fe,me,Te,we){return oe.append("path").attr("class","zoombox").style({fill:fe>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",_(me,Te)).attr("d",we+"Z")}function ie(oe,fe,me){return oe.append("path").attr("class","zoombox-corners").style({fill:s.background,stroke:s.defaultLine,"stroke-width":1,opacity:0}).attr("transform",_(fe,me)).attr("d","M0,0Z")}function he(oe,fe,me,Te,we,Be){oe.attr("d",Te+"M"+me.l+","+me.t+"v"+me.h+"h"+me.w+"v-"+me.h+"h-"+me.w+"Z"),J(oe,fe,we,Be)}function J(oe,fe,me,Te){me||(oe.transition().style("fill",Te>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),fe.transition().style("opacity",1).duration(200))}function Z(oe){l.select(oe).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function le(oe){U&&oe.data&&oe._context.showTips&&(v.notifier(v._(oe,"Double-click to zoom back out"),"long"),U=!1)}function K(oe,fe){return"M"+(oe.l-.5)+","+(fe-O-.5)+"h-3v"+(2*O+1)+"h3ZM"+(oe.r+.5)+","+(fe-O-.5)+"h3v"+(2*O+1)+"h-3Z"}function te(oe,fe){return"M"+(fe-O-.5)+","+(oe.t-.5)+"v-3h"+(2*O+1)+"v3ZM"+(fe-O-.5)+","+(oe.b+.5)+"v3h"+(2*O+1)+"v-3Z"}function ce(oe){var fe=Math.floor(Math.min(oe.b-oe.t,oe.r-oe.l,O)/2);return"M"+(oe.l-3.5)+","+(oe.t-.5+fe)+"h3v"+-fe+"h"+fe+"v-3h-"+(fe+3)+"ZM"+(oe.r+3.5)+","+(oe.t-.5+fe)+"h-3v"+-fe+"h"+-fe+"v-3h"+(fe+3)+"ZM"+(oe.r+3.5)+","+(oe.b+.5-fe)+"h-3v"+fe+"h"+-fe+"v3h"+(fe+3)+"ZM"+(oe.l-3.5)+","+(oe.b+.5-fe)+"h3v"+fe+"h"+fe+"v3h-"+(fe+3)+"Z"}function re(oe,fe,me,Te,we){for(var Be=!1,Ae={},Re={},be,Pe,Ke,ze,Fe=(we||{}).xaHash,We=(we||{}).yaHash,lt=0;lt<fe.length;lt++){var ht=fe[lt];for(be in me)if(ht[be]){for(Ke in ht)!(we&&(Fe[Ke]||We[Ke]))&&!(Ke.charAt(0)==="x"?me:Te)[Ke]&&(Ae[Ke]=be);for(Pe in Te)!(we&&(Fe[Pe]||We[Pe]))&&ht[Pe]&&(Be=!0)}for(Pe in Te)if(ht[Pe])for(ze in ht)!(we&&(Fe[ze]||We[ze]))&&!(ze.charAt(0)==="x"?me:Te)[ze]&&(Re[ze]=Pe)}Be&&(v.extendFlat(Ae,Re),Re={});var tt={},et=[];for(Ke in Ae){var pt=I(oe,Ke);et.push(pt),tt[pt._id]=pt}var vt={},_t=[];for(ze in Re){var bt=I(oe,ze);_t.push(bt),vt[bt._id]=bt}return{xaHash:tt,yaHash:vt,xaxes:et,yaxes:_t,xLinks:Ae,yLinks:Re,isSubplotConstrained:Be}}function ee(oe,fe){if(!g)oe.onwheel!==void 0?oe.onwheel=fe:oe.onmousewheel!==void 0?oe.onmousewheel=fe:oe.isAddedWheelEvent||(oe.isAddedWheelEvent=!0,oe.addEventListener("wheel",fe,{passive:!1}));else{var me=oe.onwheel!==void 0?"wheel":"mousewheel";oe._onwheel&&oe.removeEventListener(me,oe._onwheel),oe._onwheel=fe,oe.addEventListener(me,fe,{passive:!1})}}function de(oe){var fe=[];for(var me in oe)fe.push(oe[me]);return fe}u.exports={makeDragBox:B,makeDragger:Y,makeRectDragger:z,makeZoombox:ae,makeCorners:ie,updateZoombox:he,xyCorners:ce,transitionZoombox:J,removeZoombox:Z,showDoubleClickNotifier:le,attachWheelEventHandler:ee}},42464:function(u,h,a){var l=a(33428),v=a(93024),i=a(86476),S=a(93972),g=a(51184).makeDragBox,p=a(33816).DRAGGERSIZE;h.initInteractions=function(c){var s=c._fullLayout;if(c._context.staticPlot){l.select(c).selectAll(".drag").remove();return}if(!(!s._has("cartesian")&&!s._has("splom"))){var d=Object.keys(s._plots||{}).sort(function(b,x){if((s._plots[b].mainplot&&!0)===(s._plots[x].mainplot&&!0)){var y=b.split("y"),C=x.split("y");return y[0]===C[0]?Number(y[1]||1)-Number(C[1]||1):Number(y[0]||1)-Number(C[0]||1)}return s._plots[b].mainplot?1:-1});d.forEach(function(b){var x=s._plots[b],y=x.xaxis,C=x.yaxis;if(!x.mainplot){var w=g(c,x,y._offset,C._offset,y._length,C._length,"ns","ew");w.onmousemove=function(E){c._fullLayout._rehover=function(){c._fullLayout._hoversubplot===b&&c._fullLayout._plots[b]&&v.hover(c,E,b)},v.hover(c,E,b),c._fullLayout._lasthover=w,c._fullLayout._hoversubplot=b},w.onmouseout=function(E){c._dragging||(c._fullLayout._hoversubplot=null,i.unhover(c,E))},c._context.showAxisDragHandles&&(g(c,x,y._offset-p,C._offset-p,p,p,"n","w"),g(c,x,y._offset+y._length,C._offset-p,p,p,"n","e"),g(c,x,y._offset-p,C._offset+C._length,p,p,"s","w"),g(c,x,y._offset+y._length,C._offset+C._length,p,p,"s","e"))}if(c._context.showAxisDragHandles){if(b===y._mainSubplot){var R=y._mainLinePosition;y.side==="top"&&(R-=p),g(c,x,y._offset+y._length*.1,R,y._length*.8,p,"","ew"),g(c,x,y._offset,R,y._length*.1,p,"","w"),g(c,x,y._offset+y._length*.9,R,y._length*.1,p,"","e")}if(b===C._mainSubplot){var A=C._mainLinePosition;C.side!=="right"&&(A-=p),g(c,x,A,C._offset+C._length*.1,p,C._length*.8,"ns",""),g(c,x,A,C._offset+C._length*.9,p,C._length*.1,"s",""),g(c,x,A,C._offset,p,C._length*.1,"n","")}}});var f=s._hoverlayer.node();f.onmousemove=function(b){b.target=c._fullLayout._lasthover,v.hover(c,b,s._hoversubplot)},f.onclick=function(b){b.target=c._fullLayout._lasthover,v.click(c,b)},f.onmousedown=function(b){c._fullLayout._lasthover.onmousedown(b)},h.updateFx(c)}},h.updateFx=function(_){var c=_._fullLayout,s=c.dragmode==="pan"?"move":"crosshair";S(c._draggers,s)}},36632:function(u,h,a){var l=a(24040),v=a(3400),i=a(79811);u.exports=function(g){return function(_,c){var s=_[g];if(Array.isArray(s))for(var d=l.subplotsRegistry.cartesian,f=d.idRegex,b=c._subplots,x=b.xaxis,y=b.yaxis,C=b.cartesian,w=c._has("cartesian")||c._has("gl2d"),R=0;R<s.length;R++){var A=s[R];if(v.isPlainObject(A)){var E=i.cleanId(A.xref,"x",!1),k=i.cleanId(A.yref,"y",!1),L=f.x.test(E),I=f.y.test(k);if(L||I){w||v.pushUnique(c._basePlotModules,d);var P=!1;L&&x.indexOf(E)===-1&&(x.push(E),P=!0),I&&y.indexOf(k)===-1&&(y.push(k),P=!0),P&&L&&I&&C.push(E+k)}}}}}},57952:function(u,h,a){var l=a(33428),v=a(24040),i=a(3400),S=a(7316),g=a(43616),p=a(84888)._M,_=a(79811),c=a(33816),s=a(9616),d=i.ensureSingle;function f(R,A,E){return i.ensureSingle(R,A,E,function(k){k.datum(E)})}h.name="cartesian",h.attr=["xaxis","yaxis"],h.idRoot=["x","y"],h.idRegex=c.idRegex,h.attrRegex=c.attrRegex,h.attributes=a(26720),h.layoutAttributes=a(94724),h.supplyLayoutDefaults=a(67352),h.transitionAxes=a(73736),h.finalizeSubplots=function(R,A){var E=A._subplots,k=E.xaxis,L=E.yaxis,I=E.cartesian,P=I.concat(E.gl2d||[]),M={},F={},N,T,D;for(N=0;N<P.length;N++){var O=P[N].split("y");M[O[0]]=1,F["y"+O[1]]=1}for(N=0;N<k.length;N++)T=k[N],M[T]||(D=(R[_.id2name(T)]||{}).anchor,c.idRegex.y.test(D)||(D="y"),I.push(T+D),P.push(T+D),F[D]||(F[D]=1,i.pushUnique(L,D)));for(N=0;N<L.length;N++)D=L[N],F[D]||(T=(R[_.id2name(D)]||{}).anchor,c.idRegex.x.test(T)||(T="x"),I.push(T+D),P.push(T+D),M[T]||(M[T]=1,i.pushUnique(k,T)));if(!P.length){T="",D="";for(var U in R)if(c.attrRegex.test(U)){var B=U.charAt(0);B==="x"?(!T||+U.substr(5)<+T.substr(5))&&(T=U):(!D||+U.substr(5)<+D.substr(5))&&(D=U)}T=T?_.name2id(T):"x",D=D?_.name2id(D):"y",k.push(T),L.push(D),I.push(T+D)}},h.plot=function(R,A,E,k){var L=R._fullLayout,I=L._subplots.cartesian,P=R.calcdata,M;if(!Array.isArray(A))for(A=[],M=0;M<P.length;M++)A.push(M);for(M=0;M<I.length;M++){for(var F=I[M],N=L._plots[F],T=[],D,O=0;O<P.length;O++){var U=P[O],B=U[0].trace;B.xaxis+B.yaxis===F&&((A.indexOf(B.index)!==-1||B.carpet)&&(D&&D[0].trace.xaxis+D[0].trace.yaxis===F&&["tonextx","tonexty","tonext"].indexOf(B.fill)!==-1&&T.indexOf(D)===-1&&T.push(D),T.push(U)),D=U)}b(R,N,T,E,k)}};function b(R,A,E,k,L){for(var I=c.traceLayerClasses,P=R._fullLayout,M=P._modules,F,N,T,D=[],O=[],U=0;U<M.length;U++){F=M[U];var B=F.name,Y=v.modules[B].categories;if(Y.svg){var z=F.layerName||B+"layer",V=F.plot;N=p(E,V),T=N[0],E=N[1],T.length&&D.push({i:I.indexOf(z),className:z,plotMethod:V,cdModule:T}),Y.zoomScale&&O.push("."+z)}}D.sort(function(W,X){return W.i-X.i});var j=A.plot.selectAll("g.mlayer").data(D,function(W){return W.className});if(j.enter().append("g").attr("class",function(W){return W.className}).classed("mlayer",!0).classed("rangeplot",A.isRangePlot),j.exit().remove(),j.order(),j.each(function(W){var X=l.select(this),Q=W.className;W.plotMethod(R,A,W.cdModule,X,k,L),c.clipOnAxisFalseQuery.indexOf("."+Q)===-1&&g.setClipUrl(X,A.layerClipId,R)}),P._has("scattergl")&&(F=v.getModule("scattergl"),T=p(E,F)[0],F.plot(R,A,T)),!R._context.staticPlot&&(A._hasClipOnAxisFalse&&(A.clipOnAxisFalseTraces=A.plot.selectAll(c.clipOnAxisFalseQuery.join(",")).selectAll(".trace")),O.length)){var G=A.plot.selectAll(O.join(",")).selectAll(".trace");A.zoomScalePts=G.selectAll("path.point"),A.zoomScaleTxt=G.selectAll(".textpoint")}}h.clean=function(R,A,E,k){var L=k._plots||{},I=A._plots||{},P=k._subplots||{},M,F,N;if(k._hasOnlyLargeSploms&&!A._hasOnlyLargeSploms)for(N in L)M=L[N],M.plotgroup&&M.plotgroup.remove();var T=k._has&&k._has("gl"),D=A._has&&A._has("gl");if(T&&!D)for(N in L)M=L[N],M._scene&&M._scene.destroy();if(P.xaxis&&P.yaxis){var O=_.listIds({_fullLayout:k});for(F=0;F<O.length;F++){var U=O[F];A[_.id2name(U)]||k._infolayer.selectAll(".g-"+U+"title").remove()}}var B=k._has&&k._has("cartesian"),Y=A._has&&A._has("cartesian");if(B&&!Y)C(k._cartesianlayer.selectAll(".subplot"),k),k._defs.selectAll(".axesclip").remove(),delete k._axisConstraintGroups,delete k._axisMatchGroups;else if(P.cartesian)for(F=0;F<P.cartesian.length;F++){var z=P.cartesian[F];if(!I[z]){var V="."+z+",."+z+"-x,."+z+"-y";k._cartesianlayer.selectAll(V).remove(),w(z,k)}}},h.drawFramework=function(R){var A=R._fullLayout,E=x(R),k=A._cartesianlayer.selectAll(".subplot").data(E,String);k.enter().append("g").attr("class",function(L){return"subplot "+L[0]}),k.order(),k.exit().call(C,A),k.each(function(L){var I=L[0],P=A._plots[I];P.plotgroup=l.select(this),y(R,P),P.draglayer=d(A._draggers,"g",I)})},h.rangePlot=function(R,A,E){y(R,A),b(R,A,E),S.style(R)};function x(R){var A=R._fullLayout,E=A._subplots.cartesian,k=E.length,L,I,P,M,F,N,T=[],D=[];for(L=0;L<k;L++){P=E[L],M=A._plots[P],F=M.xaxis,N=M.yaxis;var O=F._mainAxis,U=N._mainAxis,B=O._id+U._id,Y=A._plots[B];M.overlays=[],B!==P&&Y?(M.mainplot=B,M.mainplotinfo=Y,D.push(P)):(M.mainplot=void 0,M.mainplotinfo=void 0,T.push(P))}for(L=0;L<D.length;L++)P=D[L],M=A._plots[P],M.mainplotinfo.overlays.push(M);var z=T.concat(D),V=new Array(k);for(L=0;L<k;L++){P=z[L],M=A._plots[P],F=M.xaxis,N=M.yaxis;var j=[P,F.layer,N.layer,F.overlaying||"",N.overlaying||""];for(I=0;I<M.overlays.length;I++)j.push(M.overlays[I].id);V[L]=j}return V}function y(R,A){var E=A.plotgroup,k=A.id,L=c.layerValue2layerClass[A.xaxis.layer],I=c.layerValue2layerClass[A.yaxis.layer],P=R._fullLayout._hasOnlyLargeSploms;if(A.mainplot){var F=A.mainplotinfo,N=F.plotgroup,T=k+"-x",D=k+"-y";A.minorGridlayer=F.minorGridlayer,A.gridlayer=F.gridlayer,A.zerolinelayer=F.zerolinelayer,d(F.overlinesBelow,"path",T),d(F.overlinesBelow,"path",D),d(F.overaxesBelow,"g",T),d(F.overaxesBelow,"g",D),A.plot=d(F.overplot,"g",k),d(F.overlinesAbove,"path",T),d(F.overlinesAbove,"path",D),d(F.overaxesAbove,"g",T),d(F.overaxesAbove,"g",D),A.xlines=N.select(".overlines-"+L).select("."+T),A.ylines=N.select(".overlines-"+I).select("."+D),A.xaxislayer=N.select(".overaxes-"+L).select("."+T),A.yaxislayer=N.select(".overaxes-"+I).select("."+D)}else if(P)A.xlines=d(E,"path","xlines-above"),A.ylines=d(E,"path","ylines-above"),A.xaxislayer=d(E,"g","xaxislayer-above"),A.yaxislayer=d(E,"g","yaxislayer-above");else{var M=d(E,"g","layer-subplot");A.shapelayer=d(M,"g","shapelayer"),A.imagelayer=d(M,"g","imagelayer"),A.minorGridlayer=d(E,"g","minor-gridlayer"),A.gridlayer=d(E,"g","gridlayer"),A.zerolinelayer=d(E,"g","zerolinelayer"),d(E,"path","xlines-below"),d(E,"path","ylines-below"),A.overlinesBelow=d(E,"g","overlines-below"),d(E,"g","xaxislayer-below"),d(E,"g","yaxislayer-below"),A.overaxesBelow=d(E,"g","overaxes-below"),A.plot=d(E,"g","plot"),A.overplot=d(E,"g","overplot"),A.xlines=d(E,"path","xlines-above"),A.ylines=d(E,"path","ylines-above"),A.overlinesAbove=d(E,"g","overlines-above"),d(E,"g","xaxislayer-above"),d(E,"g","yaxislayer-above"),A.overaxesAbove=d(E,"g","overaxes-above"),A.xlines=E.select(".xlines-"+L),A.ylines=E.select(".ylines-"+I),A.xaxislayer=E.select(".xaxislayer-"+L),A.yaxislayer=E.select(".yaxislayer-"+I)}P||(f(A.minorGridlayer,"g",A.xaxis._id),f(A.minorGridlayer,"g",A.yaxis._id),A.minorGridlayer.selectAll("g").map(function(O){return O[0]}).sort(_.idSort),f(A.gridlayer,"g",A.xaxis._id),f(A.gridlayer,"g",A.yaxis._id),A.gridlayer.selectAll("g").map(function(O){return O[0]}).sort(_.idSort)),A.xlines.style("fill","none").classed("crisp",!0),A.ylines.style("fill","none").classed("crisp",!0)}function C(R,A){if(R){var E={};R.each(function(F){var N=F[0],T=l.select(this);T.remove(),w(N,A),E[N]=!0});for(var k in A._plots)for(var L=A._plots[k],I=L.overlays||[],P=0;P<I.length;P++){var M=I[P];E[M.id]&&M.plot.selectAll(".trace").remove()}}}function w(R,A){A._draggers.selectAll("g."+R).remove(),A._defs.select("#clip"+A._uid+R+"plot").remove()}h.toSVG=function(R){var A=R._fullLayout._glimages,E=l.select(R).selectAll(".svg-container"),k=E.filter(function(I,P){return P===E.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus");function L(){var I=this,P=I.toDataURL("image/png"),M=A.append("svg:image");M.attr({xmlns:s.svg,"xlink:href":P,preserveAspectRatio:"none",x:0,y:0,width:I.style.width,height:I.style.height})}k.each(L)},h.updateFx=a(42464).updateFx},94724:function(u,h,a){var l=a(25376),v=a(22548),i=a(98192).u,S=a(92880).extendFlat,g=a(31780).templatedArray,p=a(29736).descriptionWithDates,_=a(39032).ONEDAY,c=a(33816),s=c.HOUR_PATTERN,d=c.WEEKDAY_PATTERN,f={valType:"enumerated",values:["auto","linear","array"],editType:"ticks",impliedEdits:{tick0:void 0,dtick:void 0}},b=S({},f,{values:f.values.slice().concat(["sync"])});function x(F){return{valType:"integer",min:0,dflt:F?5:0,editType:"ticks"}}var y={valType:"any",editType:"ticks",impliedEdits:{tickmode:"linear"}},C={valType:"any",editType:"ticks",impliedEdits:{tickmode:"linear"}},w={valType:"data_array",editType:"ticks"},R={valType:"enumerated",values:["outside","inside",""],editType:"ticks"};function A(F){var N={valType:"number",min:0,editType:"ticks"};return F||(N.dflt=5),N}function E(F){var N={valType:"number",min:0,editType:"ticks"};return F||(N.dflt=1),N}var k={valType:"color",dflt:v.defaultLine,editType:"ticks"},L={valType:"color",dflt:v.lightLine,editType:"ticks"};function I(F){var N={valType:"number",min:0,editType:"ticks"};return F||(N.dflt=1),N}var P=S({},i,{editType:"ticks"}),M={valType:"boolean",editType:"ticks"};u.exports={visible:{valType:"boolean",editType:"plot"},color:{valType:"color",dflt:v.defaultLine,editType:"ticks"},title:{text:{valType:"string",editType:"ticks"},font:l({editType:"ticks"}),standoff:{valType:"number",min:0,editType:"ticks"},editType:"ticks"},type:{valType:"enumerated",values:["-","linear","log","date","category","multicategory"],dflt:"-",editType:"calc",_noTemplating:!0},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",editType:"calc"},autorange:{valType:"enumerated",values:[!0,!1,"reversed","min reversed","max reversed","min","max"],dflt:!0,editType:"axrange",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},autorangeoptions:{minallowed:{valType:"any",editType:"plot",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},maxallowed:{valType:"any",editType:"plot",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},clipmin:{valType:"any",editType:"plot",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},clipmax:{valType:"any",editType:"plot",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},include:{valType:"any",arrayOk:!0,editType:"plot",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},editType:"plot"},rangemode:{valType:"enumerated",values:["normal","tozero","nonnegative"],dflt:"normal",editType:"plot"},range:{valType:"info_array",items:[{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0},{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0}],editType:"axrange",impliedEdits:{autorange:!1},anim:!0},minallowed:{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}},maxallowed:{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}},fixedrange:{valType:"boolean",dflt:!1,editType:"calc"},insiderange:{valType:"info_array",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},scaleanchor:{valType:"enumerated",values:[c.idRegex.x.toString(),c.idRegex.y.toString(),!1],editType:"plot"},scaleratio:{valType:"number",min:0,dflt:1,editType:"plot"},constrain:{valType:"enumerated",values:["range","domain"],editType:"plot"},constraintoward:{valType:"enumerated",values:["left","center","right","top","middle","bottom"],editType:"plot"},matches:{valType:"enumerated",values:[c.idRegex.x.toString(),c.idRegex.y.toString()],editType:"calc"},rangebreaks:g("rangebreak",{enabled:{valType:"boolean",dflt:!0,editType:"calc"},bounds:{valType:"info_array",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}],editType:"calc"},pattern:{valType:"enumerated",values:[d,s,""],editType:"calc"},values:{valType:"info_array",freeLength:!0,editType:"calc",items:{valType:"any",editType:"calc"}},dvalue:{valType:"number",editType:"calc",min:0,dflt:_},editType:"calc"}),tickmode:b,nticks:x(),tick0:y,dtick:C,ticklabelstep:{valType:"integer",min:1,dflt:1,editType:"ticks"},tickvals:w,ticktext:{valType:"data_array",editType:"ticks"},ticks:R,tickson:{valType:"enumerated",values:["labels","boundaries"],dflt:"labels",editType:"ticks"},ticklabelmode:{valType:"enumerated",values:["instant","period"],dflt:"instant",editType:"ticks"},ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside",editType:"calc"},ticklabeloverflow:{valType:"enumerated",values:["allow","hide past div","hide past domain"],editType:"calc"},mirror:{valType:"enumerated",values:[!0,"ticks",!1,"all","allticks"],dflt:!1,editType:"ticks+layoutstyle"},ticklen:A(),tickwidth:E(),tickcolor:k,showticklabels:{valType:"boolean",dflt:!0,editType:"ticks"},labelalias:{valType:"any",dflt:!1,editType:"ticks"},automargin:{valType:"flaglist",flags:["height","width","left","right","top","bottom"],extras:[!0,!1],dflt:!1,editType:"ticks"},showspikes:{valType:"boolean",dflt:!1,editType:"modebar"},spikecolor:{valType:"color",dflt:null,editType:"none"},spikethickness:{valType:"number",dflt:3,editType:"none"},spikedash:S({},i,{dflt:"dash",editType:"none"}),spikemode:{valType:"flaglist",flags:["toaxis","across","marker"],dflt:"toaxis",editType:"none"},spikesnap:{valType:"enumerated",values:["data","cursor","hovered data"],dflt:"hovered data",editType:"none"},tickfont:l({editType:"ticks"}),tickangle:{valType:"angle",dflt:"auto",editType:"ticks"},autotickangles:{valType:"info_array",freeLength:!0,items:{valType:"angle"},dflt:[0,30,90],editType:"ticks"},tickprefix:{valType:"string",dflt:"",editType:"ticks"},showtickprefix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"ticks"},ticksuffix:{valType:"string",dflt:"",editType:"ticks"},showticksuffix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"ticks"},showexponent:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"ticks"},exponentformat:{valType:"enumerated",values:["none","e","E","power","SI","B"],dflt:"B",editType:"ticks"},minexponent:{valType:"number",dflt:3,min:0,editType:"ticks"},separatethousands:{valType:"boolean",dflt:!1,editType:"ticks"},tickformat:{valType:"string",dflt:"",editType:"ticks",description:p("tick label")},tickformatstops:g("tickformatstop",{enabled:{valType:"boolean",dflt:!0,editType:"ticks"},dtickrange:{valType:"info_array",items:[{valType:"any",editType:"ticks"},{valType:"any",editType:"ticks"}],editType:"ticks"},value:{valType:"string",dflt:"",editType:"ticks"},editType:"ticks"}),hoverformat:{valType:"string",dflt:"",editType:"none",description:p("hover text")},showline:{valType:"boolean",dflt:!1,editType:"ticks+layoutstyle"},linecolor:{valType:"color",dflt:v.defaultLine,editType:"layoutstyle"},linewidth:{valType:"number",min:0,dflt:1,editType:"ticks+layoutstyle"},showgrid:M,gridcolor:L,gridwidth:I(),griddash:P,zeroline:{valType:"boolean",editType:"ticks"},zerolinecolor:{valType:"color",dflt:v.defaultLine,editType:"ticks"},zerolinewidth:{valType:"number",dflt:1,editType:"ticks"},showdividers:{valType:"boolean",dflt:!0,editType:"ticks"},dividercolor:{valType:"color",dflt:v.defaultLine,editType:"ticks"},dividerwidth:{valType:"number",dflt:1,editType:"ticks"},anchor:{valType:"enumerated",values:["free",c.idRegex.x.toString(),c.idRegex.y.toString()],editType:"plot"},side:{valType:"enumerated",values:["top","bottom","left","right"],editType:"plot"},overlaying:{valType:"enumerated",values:["free",c.idRegex.x.toString(),c.idRegex.y.toString()],editType:"plot"},minor:{tickmode:f,nticks:x("minor"),tick0:y,dtick:C,tickvals:w,ticks:R,ticklen:A("minor"),tickwidth:E("minor"),tickcolor:k,gridcolor:L,gridwidth:I("minor"),griddash:P,showgrid:M,editType:"ticks"},layer:{valType:"enumerated",values:["above traces","below traces"],dflt:"above traces",editType:"plot"},domain:{valType:"info_array",items:[{valType:"number",min:0,max:1,editType:"plot"},{valType:"number",min:0,max:1,editType:"plot"}],dflt:[0,1],editType:"plot"},position:{valType:"number",min:0,max:1,dflt:0,editType:"plot"},autoshift:{valType:"boolean",dflt:!1,editType:"plot"},shift:{valType:"number",editType:"plot"},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array","total ascending","total descending","min ascending","min descending","max ascending","max descending","sum ascending","sum descending","mean ascending","mean descending","median ascending","median descending"],dflt:"trace",editType:"calc"},categoryarray:{valType:"data_array",editType:"calc"},uirevision:{valType:"any",editType:"none"},editType:"calc",_deprecated:{autotick:{valType:"boolean",editType:"ticks"},title:{valType:"string",editType:"ticks"},titlefont:l({editType:"ticks"})}}},67352:function(u,h,a){var l=a(3400),v=a(76308),i=a(10624).isUnifiedHover,S=a(41008),g=a(31780),p=a(64859),_=a(94724),c=a(14944),s=a(28336),d=a(71888),f=a(37668),b=a(79811),x=b.id2name,y=b.name2id,C=a(33816).AX_ID_PATTERN,w=a(24040),R=w.traceIs,A=w.getComponentMethod;function E(k,L,I){Array.isArray(k[L])?k[L].push(I):k[L]=[I]}u.exports=function(L,I,P){var M=I.autotypenumbers,F={},N={},T={},D={},O={},U={},B={},Y={},z={},V={},j,G;for(j=0;j<P.length;j++){var W=P[j];if(!(!R(W,"cartesian")&&!R(W,"gl2d"))){var X;if(W.xaxis)X=x(W.xaxis),E(F,X,W);else if(W.xaxes)for(G=0;G<W.xaxes.length;G++)E(F,x(W.xaxes[G]),W);var Q;if(W.yaxis)Q=x(W.yaxis),E(F,Q,W);else if(W.yaxes)for(G=0;G<W.yaxes.length;G++)E(F,x(W.yaxes[G]),W);if(W.type==="funnel"?W.orientation==="h"?(X&&(N[X]=!0),Q&&(B[Q]=!0)):Q&&(T[Q]=!0):W.type==="image"?(Q&&(Y[Q]=!0),X&&(Y[X]=!0)):(Q&&(O[Q]=!0,U[Q]=!0),(!R(W,"carpet")||W.type==="carpet"&&!W._cheater)&&X&&(D[X]=!0)),W.type==="carpet"&&W._cheater&&X&&(N[X]=!0),R(W,"2dMap")&&(z[X]=!0,z[Q]=!0),R(W,"oriented")){var ae=W.orientation==="h"?Q:X;V[ae]=!0}}}var ie=I._subplots,he=ie.xaxis,J=ie.yaxis,Z=l.simpleMap(he,x),le=l.simpleMap(J,x),K=Z.concat(le),te=v.background;he.length&&J.length&&(te=l.coerce(L,I,p,"plot_bgcolor"));var ce=v.combine(te,I.paper_bgcolor),re,ee,de,oe,fe;function me(){var Ne=F[re]||[];fe._traceIndices=Ne.map(function(je){return je._expandedIndex}),fe._annIndices=[],fe._shapeIndices=[],fe._selectionIndices=[],fe._imgIndices=[],fe._subplotsWith=[],fe._counterAxes=[],fe._name=fe._attr=re,fe._id=ee}function Te(Ne,je){return l.coerce(oe,fe,_,Ne,je)}function we(Ne,je){return l.coerce2(oe,fe,_,Ne,je)}function Be(Ne){return Ne==="x"?J:he}function Ae(Ne,je){for(var Je=Ne==="x"?Z:le,ut=[],Et=0;Et<Je.length;Et++){var wt=Je[Et];wt!==je&&!(L[wt]||{}).overlaying&&ut.push(y(wt))}return ut}var Re={x:Be("x"),y:Be("y")},be=Re.x.concat(Re.y),Pe={},Ke=[];function ze(){var Ne=oe.matches;C.test(Ne)&&be.indexOf(Ne)===-1&&(Pe[Ne]=oe.type,Ke=Object.keys(Pe))}var Fe=S(L,I),We=i(Fe);for(j=0;j<K.length;j++){re=K[j],ee=y(re),de=re.charAt(0),l.isPlainObject(L[re])||(L[re]={}),oe=L[re],fe=g.newContainer(I,re,de+"axis"),me();var lt=de==="x"&&!D[re]&&N[re]||de==="y"&&!O[re]&&T[re],ht=de==="y"&&(!U[re]&&B[re]||Y[re]),tt={hasMinor:!0,letter:de,font:I.font,outerTicks:z[re],showGrid:!V[re],data:F[re]||[],bgColor:ce,calendar:I.calendar,automargin:!0,visibleDflt:lt,reverseDflt:ht,autotypenumbersDflt:M,splomStash:((I._splomAxes||{})[de]||{})[ee],noAutotickangles:de==="y"};Te("uirevision",I.uirevision),c(oe,fe,Te,tt),s(oe,fe,Te,tt,I);var et=We&&de===Fe.charAt(0),pt=we("spikecolor",We?fe.color:void 0),vt=we("spikethickness",We?1.5:void 0),_t=we("spikedash",We?"dot":void 0),bt=we("spikemode",We?"across":void 0),Rt=we("spikesnap"),ct=Te("showspikes",!!et||!!pt||!!vt||!!_t||!!bt||!!Rt);ct||(delete fe.spikecolor,delete fe.spikethickness,delete fe.spikedash,delete fe.spikemode,delete fe.spikesnap);var Ve=x(oe.overlaying),Qe=[0,1];if(I[Ve]!==void 0){var rt=x(I[Ve].anchor);I[rt]!==void 0&&(Qe=I[rt].domain)}f(oe,fe,Te,{letter:de,counterAxes:Re[de],overlayableAxes:Ae(de,re),grid:I.grid,overlayingDomain:Qe}),Te("title.standoff"),ze(),fe._input=oe}for(j=0;j<Ke.length;){ee=Ke[j++],re=x(ee),de=re.charAt(0),l.isPlainObject(L[re])||(L[re]={}),oe=L[re],fe=g.newContainer(I,re,de+"axis"),me();var qe={letter:de,font:I.font,outerTicks:z[re],showGrid:!V[re],data:[],bgColor:ce,calendar:I.calendar,automargin:!0,visibleDflt:!1,reverseDflt:!1,autotypenumbersDflt:M,splomStash:((I._splomAxes||{})[de]||{})[ee]};Te("uirevision",I.uirevision),fe.type=Pe[ee]||"linear",s(oe,fe,Te,qe,I),f(oe,fe,Te,{letter:de,counterAxes:Re[de],overlayableAxes:Ae(de,re),grid:I.grid}),Te("fixedrange"),ze(),fe._input=oe}var He=A("rangeslider","handleDefaults"),Ce=A("rangeselector","handleDefaults");for(j=0;j<Z.length;j++)re=Z[j],oe=L[re],fe=I[re],He(L,I,re),fe.type==="date"&&Ce(oe,fe,I,le,fe.calendar),Te("fixedrange");for(j=0;j<le.length;j++){re=le[j],oe=L[re],fe=I[re];var Se=I[x(fe.anchor)],Le=A("rangeslider","isVisible")(Se);Te("fixedrange",Le)}d.handleDefaults(L,I,{axIds:be.concat(Ke).sort(b.idSort),axHasImage:Y})}},42136:function(u,h,a){var l=a(49760).mix,v=a(22548),i=a(3400);u.exports=function(g,p,_,c){c=c||{};var s=c.dfltColor;function d(T,D){return i.coerce2(g,p,c.attributes,T,D)}var f=d("linecolor",s),b=d("linewidth"),x=_("showline",c.showLine||!!f||!!b);x||(delete p.linecolor,delete p.linewidth);var y=l(s,c.bgColor,c.blend||v.lightFraction).toRgbString(),C=d("gridcolor",y),w=d("gridwidth"),R=d("griddash"),A=_("showgrid",c.showGrid||!!C||!!w||!!R);if(A||(delete p.gridcolor,delete p.gridwidth,delete p.griddash),c.hasMinor){var E=l(p.gridcolor,c.bgColor,67).toRgbString(),k=d("minor.gridcolor",E),L=d("minor.gridwidth",p.gridwidth||1),I=d("minor.griddash",p.griddash||"solid"),P=_("minor.showgrid",!!k||!!L||!!I);P||(delete p.minor.gridcolor,delete p.minor.gridwidth,delete p.minor.griddash)}if(!c.noZeroLine){var M=d("zerolinecolor",s),F=d("zerolinewidth"),N=_("zeroline",c.showGrid||!!M||!!F);N||(delete p.zerolinecolor,delete p.zerolinewidth)}}},37668:function(u,h,a){var l=a(38248),v=a(3400);u.exports=function(S,g,p,_){var c=_.counterAxes||[],s=_.overlayableAxes||[],d=_.letter,f=_.grid,b=_.overlayingDomain,x,y,C,w,R,A;f&&(y=f._domains[d][f._axisMap[g._id]],x=f._anchors[g._id],y&&(C=f[d+"side"].split(" ")[0],w=f.domain[d][C==="right"||C==="top"?1:0])),y=y||[0,1],x=x||(l(S.position)?"free":c[0]||"free"),C=C||(d==="x"?"bottom":"left"),w=w||0,R=0,A=!1;var E=v.coerce(S,g,{anchor:{valType:"enumerated",values:["free"].concat(c),dflt:x}},"anchor"),k=v.coerce(S,g,{side:{valType:"enumerated",values:d==="x"?["bottom","top"]:["left","right"],dflt:C}},"side");if(E==="free"){if(d==="y"){var L=p("autoshift");L&&(w=k==="left"?b[0]:b[1],A=g.automargin?g.automargin:!0,R=k==="left"?-3:3),p("shift",R)}p("position",w)}p("automargin",A);var I=!1;if(s.length&&(I=v.coerce(S,g,{overlaying:{valType:"enumerated",values:[!1].concat(s),dflt:!1}},"overlaying")),!I){var P=p("domain",y);P[0]>P[1]-.000244140625&&(g.domain=y),v.noneOrAll(S.domain,g.domain,y),g.tickmode==="sync"&&(g.tickmode="auto")}return p("layer"),g}},42568:function(u,h,a){var l=a(85024);u.exports=function(i,S,g,p,_){_||(_={});var c=_.tickSuffixDflt,s=l(i),d=g("tickprefix");d&&g("showtickprefix",s);var f=g("ticksuffix",c);f&&g("showticksuffix",s)}},96312:function(u,h,a){var l=a(76808);u.exports=function(i,S,g,p){var _=S._template||{},c=S.type||_.type||"-";g("minallowed"),g("maxallowed");var s=g("range");if(!s){var d;!p.noInsiderange&&c!=="log"&&(d=g("insiderange"),d&&(d[0]===null||d[1]===null)&&(S.insiderange=!1,d=void 0),d&&(s=g("range",d)))}var f=S.getAutorangeDflt(s,p),b=g("autorange",f),x;s&&(s[0]===null&&s[1]===null||(s[0]===null||s[1]===null)&&(b==="reversed"||b===!0)||s[0]!==null&&(b==="min"||b==="max reversed")||s[1]!==null&&(b==="max"||b==="min reversed"))&&(s=void 0,delete S.range,S.autorange=!0,x=!0),x||(f=S.getAutorangeDflt(s,p),b=g("autorange",f)),b&&(l(g,b,s),(c==="linear"||c==="-")&&g("rangemode")),S.cleanRange()}},21160:function(u,h,a){var l=a(84284).FROM_BL;u.exports=function(i,S,g){g===void 0&&(g=l[i.constraintoward||"center"]);var p=[i.r2l(i.range[0]),i.r2l(i.range[1])],_=p[0]+(p[1]-p[0])*g;i.range=i._input.range=[i.l2r(_+(p[0]-_)*S),i.l2r(_+(p[1]-_)*S)],i.setScale()}},78344:function(u,h,a){var l=a(33428),v=a(94336).E9,i=a(3400),S=i.numberFormat,g=a(38248),p=i.cleanNumber,_=i.ms2DateTime,c=i.dateTime2ms,s=i.ensureNumber,d=i.isArrayOrTypedArray,f=a(39032),b=f.FP_SAFE,x=f.BADNUM,y=f.LOG_CLIP,C=f.ONEWEEK,w=f.ONEDAY,R=f.ONEHOUR,A=f.ONEMIN,E=f.ONESEC,k=a(79811),L=a(33816),I=L.HOUR_PATTERN,P=L.WEEKDAY_PATTERN;function M(N){return Math.pow(10,N)}function F(N){return N!=null}u.exports=function(T,D){D=D||{};var O=T._id||"x",U=O.charAt(0);function B(K,te){if(K>0)return Math.log(K)/Math.LN10;if(K<=0&&te&&T.range&&T.range.length===2){var ce=T.range[0],re=T.range[1];return .5*(ce+re-2*y*Math.abs(ce-re))}else return x}function Y(K,te,ce,re){if((re||{}).msUTC&&g(K))return+K;var ee=c(K,ce||T.calendar);if(ee===x)if(g(K)){K=+K;var de=Math.floor(i.mod(K+.05,1)*10),oe=Math.round(K-de/10);ee=c(new Date(oe))+de/10}else return x;return ee}function z(K,te,ce){return _(K,te,ce||T.calendar)}function V(K){return T._categories[Math.round(K)]}function j(K){if(F(K)){if(T._categoriesMap===void 0&&(T._categoriesMap={}),T._categoriesMap[K]!==void 0)return T._categoriesMap[K];T._categories.push(typeof K=="number"?String(K):K);var te=T._categories.length-1;return T._categoriesMap[K]=te,te}return x}function G(K,te){for(var ce=new Array(te),re=0;re<te;re++){var ee=(K[0]||[])[re],de=(K[1]||[])[re];ce[re]=W([ee,de])}return ce}function W(K){if(T._categoriesMap)return T._categoriesMap[K]}function X(K){var te=W(K);if(te!==void 0)return te;if(g(K))return+K}function Q(K){return g(K)?+K:W(K)}function ae(K,te,ce){return l.round(ce+te*K,2)}function ie(K,te,ce){return(K-ce)/te}var he=function(te){return g(te)?ae(te,T._m,T._b):x},J=function(K){return ie(K,T._m,T._b)};if(T.rangebreaks){var Z=U==="y";he=function(K){if(!g(K))return x;var te=T._rangebreaks.length;if(!te)return ae(K,T._m,T._b);var ce=Z;T.range[0]>T.range[1]&&(ce=!ce);for(var re=ce?-1:1,ee=re*K,de=0,oe=0;oe<te;oe++){var fe=re*T._rangebreaks[oe].min,me=re*T._rangebreaks[oe].max;if(ee<fe)break;if(ee>me)de=oe+1;else{de=ee<(fe+me)/2?oe:oe+1;break}}var Te=T._B[de]||0;return isFinite(Te)?ae(K,T._m2,Te):0},J=function(K){var te=T._rangebreaks.length;if(!te)return ie(K,T._m,T._b);for(var ce=0,re=0;re<te&&!(K<T._rangebreaks[re].pmin);re++)K>T._rangebreaks[re].pmax&&(ce=re+1);return ie(K,T._m2,T._B[ce])}}T.c2l=T.type==="log"?B:s,T.l2c=T.type==="log"?M:s,T.l2p=he,T.p2l=J,T.c2p=T.type==="log"?function(K,te){return he(B(K,te))}:he,T.p2c=T.type==="log"?function(K){return M(J(K))}:J,["linear","-"].indexOf(T.type)!==-1?(T.d2r=T.r2d=T.d2c=T.r2c=T.d2l=T.r2l=p,T.c2d=T.c2r=T.l2d=T.l2r=s,T.d2p=T.r2p=function(K){return T.l2p(p(K))},T.p2d=T.p2r=J,T.cleanPos=s):T.type==="log"?(T.d2r=T.d2l=function(K,te){return B(p(K),te)},T.r2d=T.r2c=function(K){return M(p(K))},T.d2c=T.r2l=p,T.c2d=T.l2r=s,T.c2r=B,T.l2d=M,T.d2p=function(K,te){return T.l2p(T.d2r(K,te))},T.p2d=function(K){return M(J(K))},T.r2p=function(K){return T.l2p(p(K))},T.p2r=J,T.cleanPos=s):T.type==="date"?(T.d2r=T.r2d=i.identity,T.d2c=T.r2c=T.d2l=T.r2l=Y,T.c2d=T.c2r=T.l2d=T.l2r=z,T.d2p=T.r2p=function(K,te,ce){return T.l2p(Y(K,0,ce))},T.p2d=T.p2r=function(K,te,ce){return z(J(K),te,ce)},T.cleanPos=function(K){return i.cleanDate(K,x,T.calendar)}):T.type==="category"?(T.d2c=T.d2l=j,T.r2d=T.c2d=T.l2d=V,T.d2r=T.d2l_noadd=X,T.r2c=function(K){var te=Q(K);return te!==void 0?te:T.fraction2r(.5)},T.l2r=T.c2r=s,T.r2l=Q,T.d2p=function(K){return T.l2p(T.r2c(K))},T.p2d=function(K){return V(J(K))},T.r2p=T.d2p,T.p2r=J,T.cleanPos=function(K){return typeof K=="string"&&K!==""?K:s(K)}):T.type==="multicategory"&&(T.r2d=T.c2d=T.l2d=V,T.d2r=T.d2l_noadd=X,T.r2c=function(K){var te=X(K);return te!==void 0?te:T.fraction2r(.5)},T.r2c_just_indices=W,T.l2r=T.c2r=s,T.r2l=X,T.d2p=function(K){return T.l2p(T.r2c(K))},T.p2d=function(K){return V(J(K))},T.r2p=T.d2p,T.p2r=J,T.cleanPos=function(K){return Array.isArray(K)||typeof K=="string"&&K!==""?K:s(K)},T.setupMultiCategory=function(K){var te=T._traceIndices,ce,re,ee=T._matchGroup;if(ee&&T._categories.length===0){for(var de in ee)if(de!==O){var oe=D[k.id2name(de)];te=te.concat(oe._traceIndices)}}var fe=[[0,{}],[0,{}]],me=[];for(ce=0;ce<te.length;ce++){var Te=K[te[ce]];if(U in Te){var we=Te[U],Be=Te._length||i.minRowLength(we);if(d(we[0])&&d(we[1]))for(re=0;re<Be;re++){var Ae=we[0][re],Re=we[1][re];F(Ae)&&F(Re)&&(me.push([Ae,Re]),Ae in fe[0][1]||(fe[0][1][Ae]=fe[0][0]++),Re in fe[1][1]||(fe[1][1][Re]=fe[1][0]++))}}}for(me.sort(function(be,Pe){var Ke=fe[0][1],ze=Ke[be[0]]-Ke[Pe[0]];if(ze)return ze;var Fe=fe[1][1];return Fe[be[1]]-Fe[Pe[1]]}),ce=0;ce<me.length;ce++)j(me[ce])}),T.fraction2r=function(K){var te=T.r2l(T.range[0]),ce=T.r2l(T.range[1]);return T.l2r(te+K*(ce-te))},T.r2fraction=function(K){var te=T.r2l(T.range[0]),ce=T.r2l(T.range[1]);return(T.r2l(K)-te)/(ce-te)},T.limitRange=function(K){var te=T.minallowed,ce=T.maxallowed;if(!(te===void 0&&ce===void 0)){K||(K="range");var re=i.nestedProperty(T,K).get(),ee=i.simpleMap(re,T.r2l),de=ee[1]<ee[0];de&&ee.reverse();var oe=i.simpleMap([te,ce],T.r2l);if(te!==void 0&&ee[0]<oe[0]&&(re[de?1:0]=te),ce!==void 0&&ee[1]>oe[1]&&(re[de?0:1]=ce),re[0]===re[1]){var fe=T.l2r(te),me=T.l2r(ce);if(te!==void 0){var Te=fe+1;ce!==void 0&&(Te=Math.min(Te,me)),re[de?1:0]=Te}if(ce!==void 0){var we=me+1;te!==void 0&&(we=Math.max(we,fe)),re[de?0:1]=we}}}},T.cleanRange=function(K,te){T._cleanRange(K,te),T.limitRange(K)},T._cleanRange=function(K,te){te||(te={}),K||(K="range");var ce=i.nestedProperty(T,K).get(),re,ee;if(T.type==="date"?ee=i.dfltRange(T.calendar):U==="y"?ee=L.DFLTRANGEY:T._name==="realaxis"?ee=[0,1]:ee=te.dfltRange||L.DFLTRANGEX,ee=ee.slice(),(T.rangemode==="tozero"||T.rangemode==="nonnegative")&&(ee[0]=0),!ce||ce.length!==2){i.nestedProperty(T,K).set(ee);return}var de=ce[0]===null,oe=ce[1]===null;for(T.type==="date"&&!T.autorange&&(ce[0]=i.cleanDate(ce[0],x,T.calendar),ce[1]=i.cleanDate(ce[1],x,T.calendar)),re=0;re<2;re++)if(T.type==="date"){if(!i.isDateTime(ce[re],T.calendar)){T[K]=ee;break}if(T.r2l(ce[0])===T.r2l(ce[1])){var fe=i.constrain(T.r2l(ce[0]),i.MIN_MS+1e3,i.MAX_MS-1e3);ce[0]=T.l2r(fe-1e3),ce[1]=T.l2r(fe+1e3);break}}else{if(!g(ce[re]))if(!(de||oe)&&g(ce[1-re]))ce[re]=ce[1-re]*(re?10:.1);else{T[K]=ee;break}if(ce[re]<-b?ce[re]=-b:ce[re]>b&&(ce[re]=b),ce[0]===ce[1]){var me=Math.max(1,Math.abs(ce[0]*1e-6));ce[0]-=me,ce[1]+=me}}},T.setScale=function(K){var te=D._size;if(T.overlaying){var ce=k.getFromId({_fullLayout:D},T.overlaying);T.domain=ce.domain}var re=K&&T._r?"_r":"range",ee=T.calendar;T.cleanRange(re);var de=T.r2l(T[re][0],ee),oe=T.r2l(T[re][1],ee),fe=U==="y";if(fe?(T._offset=te.t+(1-T.domain[1])*te.h,T._length=te.h*(T.domain[1]-T.domain[0]),T._m=T._length/(de-oe),T._b=-T._m*oe):(T._offset=te.l+T.domain[0]*te.w,T._length=te.w*(T.domain[1]-T.domain[0]),T._m=T._length/(oe-de),T._b=-T._m*de),T._rangebreaks=[],T._lBreaks=0,T._m2=0,T._B=[],T.rangebreaks){var me,Te;if(T._rangebreaks=T.locateBreaks(Math.min(de,oe),Math.max(de,oe)),T._rangebreaks.length){for(me=0;me<T._rangebreaks.length;me++)Te=T._rangebreaks[me],T._lBreaks+=Math.abs(Te.max-Te.min);var we=fe;de>oe&&(we=!we),we&&T._rangebreaks.reverse();var Be=we?-1:1;for(T._m2=Be*T._length/(Math.abs(oe-de)-T._lBreaks),T._B.push(-T._m2*(fe?oe:de)),me=0;me<T._rangebreaks.length;me++)Te=T._rangebreaks[me],T._B.push(T._B[T._B.length-1]-Be*T._m2*(Te.max-Te.min));for(me=0;me<T._rangebreaks.length;me++)Te=T._rangebreaks[me],Te.pmin=he(Te.min),Te.pmax=he(Te.max)}}if(!isFinite(T._m)||!isFinite(T._b)||T._length<0)throw D._replotting=!1,new Error("Something went wrong with axis scaling")},T.maskBreaks=function(K){var te=T.rangebreaks||[],ce,re,ee,de,oe;te._cachedPatterns||(te._cachedPatterns=te.map(function(Ke){return Ke.enabled&&Ke.bounds?i.simpleMap(Ke.bounds,Ke.pattern?p:T.d2c):null})),te._cachedValues||(te._cachedValues=te.map(function(Ke){return Ke.enabled&&Ke.values?i.simpleMap(Ke.values,T.d2c).sort(i.sorterAsc):null}));for(var fe=0;fe<te.length;fe++){var me=te[fe];if(me.enabled){if(me.bounds){var Te=me.pattern;switch(ce=te._cachedPatterns[fe],re=ce[0],ee=ce[1],Te){case P:oe=new Date(K),de=oe.getUTCDay(),re>ee&&(ee+=7,de<re&&(de+=7));break;case I:oe=new Date(K);var we=oe.getUTCHours(),Be=oe.getUTCMinutes(),Ae=oe.getUTCSeconds(),Re=oe.getUTCMilliseconds();de=we+(Be/60+Ae/3600+Re/36e5),re>ee&&(ee+=24,de<re&&(de+=24));break;case"":de=K;break}if(de>=re&&de<ee)return x}else for(var be=te._cachedValues[fe],Pe=0;Pe<be.length;Pe++)if(re=be[Pe],ee=re+me.dvalue,K>=re&&K<ee)return x}}return K},T.locateBreaks=function(K,te){var ce,re,ee,de,oe=[];if(!T.rangebreaks)return oe;var fe=T.rangebreaks.slice().sort(function(Fe,We){return Fe.pattern===P&&We.pattern===I?-1:We.pattern===P&&Fe.pattern===I?1:0}),me=function(Fe,We){if(Fe=i.constrain(Fe,K,te),We=i.constrain(We,K,te),Fe!==We){for(var lt=!0,ht=0;ht<oe.length;ht++){var tt=oe[ht];Fe<tt.max&&We>=tt.min&&(Fe<tt.min&&(tt.min=Fe),We>tt.max&&(tt.max=We),lt=!1)}lt&&oe.push({min:Fe,max:We})}};for(ce=0;ce<fe.length;ce++){var Te=fe[ce];if(Te.enabled)if(Te.bounds){var we=K,Be=te;Te.pattern&&(we=Math.floor(we)),re=i.simpleMap(Te.bounds,Te.pattern?p:T.r2l),ee=re[0],de=re[1];var Ae=new Date(we),Re,be;switch(Te.pattern){case P:be=C,Re=((de<ee?7:0)+(de-ee))*w,we+=ee*w-(Ae.getUTCDay()*w+Ae.getUTCHours()*R+Ae.getUTCMinutes()*A+Ae.getUTCSeconds()*E+Ae.getUTCMilliseconds());break;case I:be=w,Re=((de<ee?24:0)+(de-ee))*R,we+=ee*R-(Ae.getUTCHours()*R+Ae.getUTCMinutes()*A+Ae.getUTCSeconds()*E+Ae.getUTCMilliseconds());break;default:we=Math.min(re[0],re[1]),Be=Math.max(re[0],re[1]),be=Be-we,Re=be}for(var Pe=we;Pe<Be;Pe+=be)me(Pe,Pe+Re)}else for(var Ke=i.simpleMap(Te.values,T.d2c),ze=0;ze<Ke.length;ze++)ee=Ke[ze],de=ee+Te.dvalue,me(ee,de)}return oe.sort(function(Fe,We){return Fe.min-We.min}),oe},T.makeCalcdata=function(K,te,ce){var re,ee,de,oe,fe=T.type,me=fe==="date"&&K[te+"calendar"];if(te in K){if(re=K[te],oe=K._length||i.minRowLength(re),i.isTypedArray(re)&&(fe==="linear"||fe==="log")){if(oe===re.length)return re;if(re.subarray)return re.subarray(0,oe)}if(fe==="multicategory")return G(re,oe);for(ee=new Array(oe),de=0;de<oe;de++)ee[de]=T.d2c(re[de],0,me,ce)}else{var Te=te+"0"in K?T.d2c(K[te+"0"],0,me):0,we=K["d"+te]?Number(K["d"+te]):1;for(re=K[{x:"y",y:"x"}[te]],oe=K._length||re.length,ee=new Array(oe),de=0;de<oe;de++)ee[de]=Te+de*we}if(T.rangebreaks)for(de=0;de<oe;de++)ee[de]=T.maskBreaks(ee[de]);return ee},T.isValidRange=function(K,te){return Array.isArray(K)&&K.length===2&&(te&&K[0]===null||g(T.r2l(K[0])))&&(te&&K[1]===null||g(T.r2l(K[1])))},T.getAutorangeDflt=function(K,te){var ce=!T.isValidRange(K,"nullOk");return ce&&te&&te.reverseDflt?ce="reversed":K&&(K[0]===null&&K[1]===null?ce=!0:K[0]===null&&K[1]!==null?ce="min":K[0]!==null&&K[1]===null&&(ce="max")),ce},T.isReversed=function(){var K=T.autorange;return K==="reversed"||K==="min reversed"||K==="max reversed"},T.isPtWithinRange=function(K,te){var ce=T.c2l(K[U],null,te),re=T.r2l(T.range[0]),ee=T.r2l(T.range[1]);return re<ee?re<=ce&&ce<=ee:ee<=ce&&ce<=re},T._emptyCategories=function(){T._categories=[],T._categoriesMap={}},T.clearCalc=function(){var K=T._matchGroup;if(K){var te=null,ce=null;for(var re in K){var ee=D[k.id2name(re)];if(ee._categories){te=ee._categories,ce=ee._categoriesMap;break}}te&&ce?(T._categories=te,T._categoriesMap=ce):T._emptyCategories()}else T._emptyCategories();if(T._initialCategories)for(var de=0;de<T._initialCategories.length;de++)j(T._initialCategories[de])},T.sortByInitialCategories=function(){var K=[];if(T._emptyCategories(),T._initialCategories)for(var te=0;te<T._initialCategories.length;te++)j(T._initialCategories[te]);K=K.concat(T._traceIndices);var ce=T._matchGroup;for(var re in ce)if(O!==re){var ee=D[k.id2name(re)];ee._categories=T._categories,ee._categoriesMap=T._categoriesMap,K=K.concat(ee._traceIndices)}return K};var le=D._d3locale;T.type==="date"&&(T._dateFormat=le?le.timeFormat:v,T._extraFormat=D._extraFormat),T._separators=D.separators,T._numFormat=le?le.numberFormat:S,delete T._minDtick,delete T._forceTick0}},85024:function(u){u.exports=function(a){var l=["showexponent","showtickprefix","showticksuffix"],v=l.filter(function(S){return a[S]!==void 0}),i=function(S){return a[S]===a[v[0]]};if(v.every(i)||v.length===1)return a[v[0]]}},95936:function(u,h,a){var l=a(3400),v=a(76308).contrast,i=a(94724),S=a(85024),g=a(51272);u.exports=function(c,s,d,f,b){b||(b={});var x=d("labelalias");l.isPlainObject(x)||delete s.labelalias;var y=S(c),C=d("showticklabels");if(C){var w=b.font||{},R=s.color,A=s.ticklabelposition||"",E=A.indexOf("inside")!==-1?v(b.bgColor):R&&R!==i.color.dflt?R:w.color;if(l.coerceFont(d,"tickfont",{family:w.family,size:w.size,color:E}),!b.noTicklabelstep&&f!=="multicategory"&&f!=="log"&&d("ticklabelstep"),!b.noAng){var k=d("tickangle");!b.noAutotickangles&&k==="auto"&&d("autotickangles")}if(f!=="category"){var L=d("tickformat");g(c,s,{name:"tickformatstops",inclusionAttr:"enabled",handleItemDefaults:p}),s.tickformatstops.length||delete s.tickformatstops,!b.noExp&&!L&&f!=="date"&&(d("showexponent",y),d("exponentformat"),d("minexponent"),d("separatethousands"))}}};function p(_,c){function s(f,b){return l.coerce(_,c,i.tickformatstops,f,b)}var d=s("enabled");d&&(s("dtickrange"),s("value"))}},25404:function(u,h,a){var l=a(3400),v=a(94724);u.exports=function(S,g,p,_){var c=_.isMinor,s=c?S.minor||{}:S,d=c?g.minor:g,f=c?v.minor:v,b=c?"minor.":"",x=l.coerce2(s,d,f,"ticklen",c?(g.ticklen||5)*.6:void 0),y=l.coerce2(s,d,f,"tickwidth",c?g.tickwidth||1:void 0),C=l.coerce2(s,d,f,"tickcolor",(c?g.tickcolor:void 0)||d.color),w=p(b+"ticks",!c&&_.outerTicks||x||y||C?"outside":"");w||(delete d.ticklen,delete d.tickwidth,delete d.tickcolor)}},26332:function(u,h,a){var l=a(98728),v=a(3400).isArrayOrTypedArray,i=a(38116).isTypedArraySpec,S=a(38116).decodeTypedArraySpec;u.exports=function(p,_,c,s,d){d||(d={});var f=d.isMinor,b=f?p.minor||{}:p,x=f?_.minor:_,y=f?"minor.":"";function C(P){var M=b[P];return i(M)&&(M=S(M)),M!==void 0?M:(x._template||{})[P]}var w=C("tick0"),R=C("dtick"),A=C("tickvals"),E=v(A)?"array":R?"linear":"auto",k=c(y+"tickmode",E);if(k==="auto"||k==="sync")c(y+"nticks");else if(k==="linear"){var L=x.dtick=l.dtick(R,s);x.tick0=l.tick0(w,s,_.calendar,L)}else if(s!=="multicategory"){var I=c(y+"tickvals");I===void 0?x.tickmode="auto":f||c("ticktext")}}},73736:function(u,h,a){var l=a(33428),v=a(24040),i=a(3400),S=a(43616),g=a(54460);u.exports=function(_,c,s,d){var f=_._fullLayout;if(c.length===0){g.redrawComponents(_);return}function b(I){var P=I.xaxis,M=I.yaxis;f._defs.select("#"+I.clipId+"> rect").call(S.setTranslate,0,0).call(S.setScale,1,1),I.plot.call(S.setTranslate,P._offset,M._offset).call(S.setScale,1,1);var F=I.plot.selectAll(".scatterlayer .trace");F.selectAll(".point").call(S.setPointGroupScale,1,1),F.selectAll(".textpoint").call(S.setTextPointsScale,1,1),F.call(S.hideOutsideRangePoints,I)}function x(I,P){var M=I.plotinfo,F=M.xaxis,N=M.yaxis,T=F._length,D=N._length,O=!!I.xr1,U=!!I.yr1,B=[];if(O){var Y=i.simpleMap(I.xr0,F.r2l),z=i.simpleMap(I.xr1,F.r2l),V=Y[1]-Y[0],j=z[1]-z[0];B[0]=(Y[0]*(1-P)+P*z[0]-Y[0])/(Y[1]-Y[0])*T,B[2]=T*(1-P+P*j/V),F.range[0]=F.l2r(Y[0]*(1-P)+P*z[0]),F.range[1]=F.l2r(Y[1]*(1-P)+P*z[1])}else B[0]=0,B[2]=T;if(U){var G=i.simpleMap(I.yr0,N.r2l),W=i.simpleMap(I.yr1,N.r2l),X=G[1]-G[0],Q=W[1]-W[0];B[1]=(G[1]*(1-P)+P*W[1]-G[1])/(G[0]-G[1])*D,B[3]=D*(1-P+P*Q/X),N.range[0]=F.l2r(G[0]*(1-P)+P*W[0]),N.range[1]=N.l2r(G[1]*(1-P)+P*W[1])}else B[1]=0,B[3]=D;g.drawOne(_,F,{skipTitle:!0}),g.drawOne(_,N,{skipTitle:!0}),g.redrawComponents(_,[F._id,N._id]);var ae=O?T/B[2]:1,ie=U?D/B[3]:1,he=O?B[0]:0,J=U?B[1]:0,Z=O?B[0]/B[2]*T:0,le=U?B[1]/B[3]*D:0,K=F._offset-Z,te=N._offset-le;M.clipRect.call(S.setTranslate,he,J).call(S.setScale,1/ae,1/ie),M.plot.call(S.setTranslate,K,te).call(S.setScale,ae,ie),S.setPointGroupScale(M.zoomScalePts,1/ae,1/ie),S.setTextPointsScale(M.zoomScaleTxt,1/ae,1/ie)}var y;d&&(y=d());function C(){for(var I={},P=0;P<c.length;P++){var M=c[P],F=M.plotinfo.xaxis,N=M.plotinfo.yaxis;M.xr1&&(I[F._name+".range"]=M.xr1.slice()),M.yr1&&(I[N._name+".range"]=M.yr1.slice())}return y&&y(),v.call("relayout",_,I).then(function(){for(var T=0;T<c.length;T++)b(c[T].plotinfo)})}function w(){for(var I={},P=0;P<c.length;P++){var M=c[P],F=M.plotinfo.xaxis,N=M.plotinfo.yaxis;M.xr0&&(I[F._name+".range"]=M.xr0.slice()),M.yr0&&(I[N._name+".range"]=M.yr0.slice())}return v.call("relayout",_,I).then(function(){for(var T=0;T<c.length;T++)b(c[T].plotinfo)})}var R,A,E,k=l.ease(s.easing);_._transitionData._interruptCallbacks.push(function(){return window.cancelAnimationFrame(E),E=null,w()});function L(){A=Date.now();for(var I=Math.min(1,(A-R)/s.duration),P=k(I),M=0;M<c.length;M++)x(c[M],P);A-R>s.duration?(C(),E=window.cancelAnimationFrame(L)):E=window.requestAnimationFrame(L)}return R=Date.now(),E=window.requestAnimationFrame(L),Promise.resolve()}},14944:function(u,h,a){var l=a(24040).traceIs,v=a(52976);u.exports=function(c,s,d,f){d("autotypenumbers",f.autotypenumbersDflt);var b=d("type",(f.splomStash||{}).type);b==="-"&&(i(s,f.data),s.type==="-"?s.type="linear":c.type=s.type)};function i(_,c){if(_.type==="-"){var s=_._id,d=s.charAt(0),f;s.indexOf("scene")!==-1&&(s=d);var b=S(c,s,d);if(b){if(b.type==="histogram"&&d==={v:"y",h:"x"}[b.orientation||"v"]){_.type="linear";return}var x=d+"calendar",y=b[x],C={noMultiCategory:!l(b,"cartesian")||l(b,"noMultiCategory")};if(b.type==="box"&&b._hasPreCompStats&&d==={h:"x",v:"y"}[b.orientation||"v"]&&(C.noMultiCategory=!0),C.autotypenumbers=_.autotypenumbers,p(b,d)){var w=g(b),R=[];for(f=0;f<c.length;f++){var A=c[f];!l(A,"box-violin")||(A[d+"axis"]||d)!==s||(A[w]!==void 0?R.push(A[w][0]):A.name!==void 0?R.push(A.name):R.push("text"),A[x]!==y&&(y=void 0))}_.type=v(R,y,C)}else if(b.type==="splom"){var E=b.dimensions,k=E[b._axesDim[s]];k.visible&&(_.type=v(k.values,y,C))}else _.type=v(b[d]||[b[d+"0"]],y,C)}}}function S(_,c,s){for(var d=0;d<_.length;d++){var f=_[d];if(f.type==="splom"&&f._length>0&&(f["_"+s+"axes"]||{})[c])return f;if((f[s+"axis"]||s)===c){if(p(f,s))return f;if((f[s]||[]).length||f[s+"0"])return f}}}function g(_){return{v:"x",h:"y"}[_.orientation||"v"]}function p(_,c){var s=g(_),d=l(_,"box-violin"),f=l(_._fullInput||{},"candlestick");return d&&!f&&c===s&&_[s]===void 0&&_[s+"0"]===void 0}},62460:function(u,h,a){var l=a(24040),v=a(3400);h.manageCommandObserver=function(c,s,d,f){var b={},x=!0;s&&s._commandObserver&&(b=s._commandObserver),b.cache||(b.cache={}),b.lookupTable={};var y=h.hasSimpleAPICommandBindings(c,d,b.lookupTable);if(s&&s._commandObserver){if(y)return b;if(s._commandObserver.remove)return s._commandObserver.remove(),s._commandObserver=null,b}if(y){i(c,y,b.cache),b.check=function(){if(x){var A=i(c,y,b.cache);return A.changed&&f&&b.lookupTable[A.value]!==void 0&&(b.disable(),Promise.resolve(f({value:A.value,type:y.type,prop:y.prop,traces:y.traces,index:b.lookupTable[A.value]})).then(b.enable,b.enable)),A.changed}};for(var C=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],w=0;w<C.length;w++)c._internalOn(C[w],b.check);b.remove=function(){for(var R=0;R<C.length;R++)c._removeInternalListener(C[R],b.check)}}else v.log("Unable to automatically bind plot updates to API command"),b.lookupTable={},b.remove=function(){};return b.disable=function(){x=!1},b.enable=function(){x=!0},s&&(s._commandObserver=b),b},h.hasSimpleAPICommandBindings=function(c,s,d){var f,b=s.length,x;for(f=0;f<b;f++){var y,C=s[f],w=C.method,R=C.args;if(Array.isArray(R)||(R=[]),!w)return!1;var A=h.computeAPICommandBindings(c,w,R);if(A.length!==1)return!1;if(!x)x=A[0],Array.isArray(x.traces)&&x.traces.sort();else{if(y=A[0],y.type!==x.type||y.prop!==x.prop)return!1;if(Array.isArray(x.traces))if(Array.isArray(y.traces)){y.traces.sort();for(var E=0;E<x.traces.length;E++)if(x.traces[E]!==y.traces[E])return!1}else return!1;else if(y.prop!==x.prop)return!1}y=A[0];var k=y.value;if(Array.isArray(k))if(k.length===1)k=k[0];else return!1;d&&(d[k]=f)}return x};function i(c,s,d){var f,b,x,y=!1;if(s.type==="data")f=c._fullData[s.traces!==null?s.traces[0]:0];else if(s.type==="layout")f=c._fullLayout;else return!1;return b=v.nestedProperty(f,s.prop).get(),x=d[s.type]=d[s.type]||{},x.hasOwnProperty(s.prop)&&x[s.prop]!==b&&(y=!0),x[s.prop]=b,{changed:y,value:b}}h.executeAPICommand=function(c,s,d){if(s==="skip")return Promise.resolve();var f=l.apiMethodRegistry[s],b=[c];Array.isArray(d)||(d=[]);for(var x=0;x<d.length;x++)b.push(d[x]);return f.apply(null,b).catch(function(y){return v.warn("API call to Plotly."+s+" rejected.",y),Promise.reject(y)})},h.computeAPICommandBindings=function(c,s,d){var f;switch(Array.isArray(d)||(d=[]),s){case"restyle":f=p(c,d);break;case"relayout":f=g(c,d);break;case"update":f=p(c,[d[0],d[2]]).concat(g(c,[d[1]]));break;case"animate":f=S(c,d);break;default:f=[]}return f};function S(c,s){return Array.isArray(s[0])&&s[0].length===1&&["string","number"].indexOf(typeof s[0][0])!==-1?[{type:"layout",prop:"_currentFrame",value:s[0][0].toString()}]:[]}function g(c,s){var d=[],f=s[0],b={};if(typeof f=="string")b[f]=s[1];else if(v.isPlainObject(f))b=f;else return d;return _(b,function(x,y,C){d.push({type:"layout",prop:x,value:C})},"",0),d}function p(c,s){var d,f,b,x,y=[];if(f=s[0],b=s[1],d=s[2],x={},typeof f=="string")x[f]=b;else if(v.isPlainObject(f))x=f,d===void 0&&(d=b);else return y;return d===void 0&&(d=null),_(x,function(C,w,R){var A,E;if(Array.isArray(R)){E=R.slice();var k=Math.min(E.length,c.data.length);d&&(k=Math.min(k,d.length)),A=[];for(var L=0;L<k;L++)A[L]=d?d[L]:L}else E=R,A=d?d.slice():null;if(A===null)Array.isArray(E)&&(E=E[0]);else if(Array.isArray(A)){if(!Array.isArray(E)){var I=E;E=[];for(var P=0;P<A.length;P++)E[P]=I}E.length=Math.min(A.length,E.length)}y.push({type:"data",prop:C,traces:A,value:E})},"",0),y}function _(c,s,d,f){Object.keys(c).forEach(function(b){var x=c[b];if(b[0]!=="_"){var y=d+(f>0?".":"")+b;v.isPlainObject(x)?_(x,s,y,f+1):s(y,b,x)}})}},86968:function(u,h,a){var l=a(92880).extendFlat;h.u=function(v,i){v=v||{},i=i||{};var S={valType:"info_array",editType:v.editType,items:[{valType:"number",min:0,max:1,editType:v.editType},{valType:"number",min:0,max:1,editType:v.editType}],dflt:[0,1]};v.name&&v.name+"",v.trace,i.description&&""+i.description;var g={x:l({},S,{}),y:l({},S,{}),editType:v.editType};return v.noGridCell||(g.row={valType:"integer",min:0,dflt:0,editType:v.editType},g.column={valType:"integer",min:0,dflt:0,editType:v.editType}),g},h.Q=function(v,i,S,g){var p=g&&g.x||[0,1],_=g&&g.y||[0,1],c=i.grid;if(c){var s=S("domain.column");s!==void 0&&(s<c.columns?p=c._domains.x[s]:delete v.domain.column);var d=S("domain.row");d!==void 0&&(d<c.rows?_=c._domains.y[d]:delete v.domain.row)}var f=S("domain.x",p),b=S("domain.y",_);f[0]<f[1]||(v.domain.x=p.slice()),b[0]<b[1]||(v.domain.y=_.slice())}},25376:function(u){u.exports=function(h){var a=h.editType,l=h.colorEditType;l===void 0&&(l=a);var v={family:{valType:"string",noBlank:!0,strict:!0,editType:a},size:{valType:"number",min:1,editType:a},color:{valType:"color",editType:l},editType:a};return h.autoSize&&(v.size.dflt="auto"),h.autoColor&&(v.color.dflt="auto"),h.arrayOk&&(v.family.arrayOk=!0,v.size.arrayOk=!0,v.color.arrayOk=!0),v}},16672:function(u){u.exports={_isLinkedToArray:"frames_entry",group:{valType:"string"},name:{valType:"string"},traces:{valType:"any"},baseframe:{valType:"string"},data:{valType:"any"},layout:{valType:"any"}}},79552:function(u,h){h.projNames={airy:"airy",aitoff:"aitoff","albers usa":"albersUsa",albers:"albers",august:"august","azimuthal equal area":"azimuthalEqualArea","azimuthal equidistant":"azimuthalEquidistant",baker:"baker",bertin1953:"bertin1953",boggs:"boggs",bonne:"bonne",bottomley:"bottomley",bromley:"bromley",collignon:"collignon","conic conformal":"conicConformal","conic equal area":"conicEqualArea","conic equidistant":"conicEquidistant",craig:"craig",craster:"craster","cylindrical equal area":"cylindricalEqualArea","cylindrical stereographic":"cylindricalStereographic",eckert1:"eckert1",eckert2:"eckert2",eckert3:"eckert3",eckert4:"eckert4",eckert5:"eckert5",eckert6:"eckert6",eisenlohr:"eisenlohr","equal earth":"equalEarth",equirectangular:"equirectangular",fahey:"fahey","foucaut sinusoidal":"foucautSinusoidal",foucaut:"foucaut",ginzburg4:"ginzburg4",ginzburg5:"ginzburg5",ginzburg6:"ginzburg6",ginzburg8:"ginzburg8",ginzburg9:"ginzburg9",gnomonic:"gnomonic","gringorten quincuncial":"gringortenQuincuncial",gringorten:"gringorten",guyou:"guyou",hammer:"hammer",hill:"hill",homolosine:"homolosine",hufnagel:"hufnagel",hyperelliptical:"hyperelliptical",kavrayskiy7:"kavrayskiy7",lagrange:"lagrange",larrivee:"larrivee",laskowski:"laskowski",loximuthal:"loximuthal",mercator:"mercator",miller:"miller",mollweide:"mollweide","mt flat polar parabolic":"mtFlatPolarParabolic","mt flat polar quartic":"mtFlatPolarQuartic","mt flat polar sinusoidal":"mtFlatPolarSinusoidal","natural earth":"naturalEarth","natural earth1":"naturalEarth1","natural earth2":"naturalEarth2","nell hammer":"nellHammer",nicolosi:"nicolosi",orthographic:"orthographic",patterson:"patterson","peirce quincuncial":"peirceQuincuncial",polyconic:"polyconic","rectangular polyconic":"rectangularPolyconic",robinson:"robinson",satellite:"satellite","sinu mollweide":"sinuMollweide",sinusoidal:"sinusoidal",stereographic:"stereographic",times:"times","transverse mercator":"transverseMercator","van der grinten":"vanDerGrinten","van der grinten2":"vanDerGrinten2","van der grinten3":"vanDerGrinten3","van der grinten4":"vanDerGrinten4",wagner4:"wagner4",wagner6:"wagner6",wiechel:"wiechel","winkel tripel":"winkel3",winkel3:"winkel3"},h.axesNames=["lonaxis","lataxis"],h.lonaxisSpan={orthographic:180,"azimuthal equal area":360,"azimuthal equidistant":360,"conic conformal":180,gnomonic:160,stereographic:180,"transverse mercator":180,"*":360},h.lataxisSpan={"conic conformal":150,stereographic:179.5,"*":180},h.scopeDefaults={world:{lonaxisRange:[-180,180],lataxisRange:[-90,90],projType:"equirectangular",projRotate:[0,0,0]},usa:{lonaxisRange:[-180,-50],lataxisRange:[15,80],projType:"albers usa"},europe:{lonaxisRange:[-30,60],lataxisRange:[30,85],projType:"conic conformal",projRotate:[15,0,0],projParallels:[0,60]},asia:{lonaxisRange:[22,160],lataxisRange:[-15,55],projType:"mercator",projRotate:[0,0,0]},africa:{lonaxisRange:[-30,60],lataxisRange:[-40,40],projType:"mercator",projRotate:[0,0,0]},"north america":{lonaxisRange:[-180,-45],lataxisRange:[5,85],projType:"conic conformal",projRotate:[-100,0,0],projParallels:[29.5,45.5]},"south america":{lonaxisRange:[-100,-30],lataxisRange:[-60,15],projType:"mercator",projRotate:[0,0,0]}},h.clipPad=.001,h.precision=.1,h.landColor="#F0DC82",h.waterColor="#3399FF",h.locationmodeToLayer={"ISO-3":"countries","USA-states":"subunits","country names":"countries"},h.sphereSVG={type:"Sphere"},h.fillLayers={ocean:1,land:1,lakes:1},h.lineLayers={subunits:1,countries:1,coastlines:1,rivers:1,frame:1},h.layers=["bg","ocean","land","lakes","subunits","countries","coastlines","rivers","lataxis","lonaxis","frame","backplot","frontplot"],h.layersForChoropleth=["bg","ocean","land","subunits","countries","coastlines","lataxis","lonaxis","frame","backplot","rivers","lakes","frontplot"],h.layerNameToAdjective={ocean:"ocean",land:"land",lakes:"lake",subunits:"subunit",countries:"country",coastlines:"coastline",rivers:"river",frame:"frame"}},43520:function(u,h,a){var l=a(33428),v=a(83356),i=v.geoPath,S=v.geoDistance,g=a(87108),p=a(24040),_=a(3400),c=_.strTranslate,s=a(76308),d=a(43616),f=a(93024),b=a(7316),x=a(54460),y=a(19280).getAutoRange,C=a(86476),w=a(22676).prepSelect,R=a(22676).clearOutline,A=a(22676).selectOnClick,E=a(79248),k=a(79552),L=a(27144),I=a(59972),P=a(55712).NO;function M(O){this.id=O.id,this.graphDiv=O.graphDiv,this.container=O.container,this.topojsonURL=O.topojsonURL,this.isStatic=O.staticPlot,this.topojsonName=null,this.topojson=null,this.projection=null,this.scope=null,this.viewInitial=null,this.fitScale=null,this.bounds=null,this.midPt=null,this.hasChoropleth=!1,this.traceHash={},this.layers={},this.basePaths={},this.dataPaths={},this.dataPoints={},this.clipDef=null,this.clipRect=null,this.bgRect=null,this.makeFramework()}var F=M.prototype;u.exports=function(U){return new M(U)},F.plot=function(O,U,B,Y){var z=this;if(Y)return z.update(O,U,!0);z._geoCalcData=O,z._fullLayout=U;var V=U[this.id],j=[],G=!1;for(var W in k.layerNameToAdjective)if(W!=="frame"&&V["show"+W]){G=!0;break}for(var X=!1,Q=0;Q<O.length;Q++){var ae=O[0][0].trace;ae._geo=z,ae.locationmode&&(G=!0);var ie=ae.marker;if(ie){var he=ie.angle,J=ie.angleref;(he||J==="north"||J==="previous")&&(X=!0)}}if(this._hasMarkerAngles=X,G){var Z=I.getTopojsonName(V);(z.topojson===null||Z!==z.topojsonName)&&(z.topojsonName=Z,PlotlyGeoAssets.topojson[z.topojsonName]===void 0&&j.push(z.fetchTopojson()))}j=j.concat(L.fetchTraceGeoData(O)),B.push(new Promise(function(le,K){Promise.all(j).then(function(){z.topojson=PlotlyGeoAssets.topojson[z.topojsonName],z.update(O,U),le()}).catch(K)}))},F.fetchTopojson=function(){var O=this,U=I.getTopojsonPath(O.topojsonURL,O.topojsonName);return new Promise(function(B,Y){l.json(U,function(z,V){if(z)return z.status===404?Y(new Error(["plotly.js could not find topojson file at",U+".","Make sure the *topojsonURL* plot config option","is set properly."].join(" "))):Y(new Error(["unexpected error while fetching topojson file at",U].join(" ")));PlotlyGeoAssets.topojson[O.topojsonName]=V,B()})})},F.update=function(O,U,B){var Y=U[this.id];this.hasChoropleth=!1;for(var z=0;z<O.length;z++){var V=O[z],j=V[0].trace;j.type==="choropleth"&&(this.hasChoropleth=!0),j.visible===!0&&j._length>0&&j._module.calcGeoJSON(V,U)}if(!B){var G=this.updateProjection(O,U);if(G)return;(!this.viewInitial||this.scope!==Y.scope)&&this.saveViewInitial(Y)}this.scope=Y.scope,this.updateBaseLayers(U,Y),this.updateDims(U,Y),this.updateFx(U,Y),b.generalUpdatePerTraceModule(this.graphDiv,this,O,Y);var W=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=W.selectAll(".point"),this.dataPoints.text=W.selectAll("text"),this.dataPaths.line=W.selectAll(".js-line");var X=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=X.selectAll("path"),this._render()},F.updateProjection=function(O,U){var B=this.graphDiv,Y=U[this.id],z=U._size,V=Y.domain,j=Y.projection,G=Y.lonaxis,W=Y.lataxis,X=G._ax,Q=W._ax,ae=this.projection=N(Y),ie=[[z.l+z.w*V.x[0],z.t+z.h*(1-V.y[1])],[z.l+z.w*V.x[1],z.t+z.h*(1-V.y[0])]],he=Y.center||{},J=j.rotation||{},Z=G.range||[],le=W.range||[];if(Y.fitbounds){X._length=ie[1][0]-ie[0][0],Q._length=ie[1][1]-ie[0][1],X.range=y(B,X),Q.range=y(B,Q);var K=(X.range[0]+X.range[1])/2,te=(Q.range[0]+Q.range[1])/2;if(Y._isScoped)he={lon:K,lat:te};else if(Y._isClipped){he={lon:K,lat:te},J={lon:K,lat:te,roll:J.roll};var ce=j.type,re=k.lonaxisSpan[ce]/2||180,ee=k.lataxisSpan[ce]/2||90;Z=[K-re,K+re],le=[te-ee,te+ee]}else he={lon:K,lat:te},J={lon:K,lat:J.lat,roll:J.roll}}ae.center([he.lon-J.lon,he.lat-J.lat]).rotate([-J.lon,-J.lat,J.roll]).parallels(j.parallels);var de=D(Z,le);ae.fitExtent(ie,de);var oe=this.bounds=ae.getBounds(de),fe=this.fitScale=ae.scale(),me=ae.translate();if(Y.fitbounds){var Te=ae.getBounds(D(X.range,Q.range)),we=Math.min((oe[1][0]-oe[0][0])/(Te[1][0]-Te[0][0]),(oe[1][1]-oe[0][1])/(Te[1][1]-Te[0][1]));isFinite(we)?ae.scale(we*fe):_.warn("Something went wrong during"+this.id+"fitbounds computations.")}else ae.scale(j.scale*fe);var Be=this.midPt=[(oe[0][0]+oe[1][0])/2,(oe[0][1]+oe[1][1])/2];if(ae.translate([me[0]+(Be[0]-me[0]),me[1]+(Be[1]-me[1])]).clipExtent(oe),Y._isAlbersUsa){var Ae=ae([he.lon,he.lat]),Re=ae.translate();ae.translate([Re[0]-(Ae[0]-Re[0]),Re[1]-(Ae[1]-Re[1])])}},F.updateBaseLayers=function(O,U){var B=this,Y=B.topojson,z=B.layers,V=B.basePaths;function j(ie){return ie==="lonaxis"||ie==="lataxis"}function G(ie){return!!k.lineLayers[ie]}function W(ie){return!!k.fillLayers[ie]}var X=this.hasChoropleth?k.layersForChoropleth:k.layers,Q=X.filter(function(ie){return G(ie)||W(ie)?U["show"+ie]:j(ie)?U[ie].showgrid:!0}),ae=B.framework.selectAll(".layer").data(Q,String);ae.exit().each(function(ie){delete z[ie],delete V[ie],l.select(this).remove()}),ae.enter().append("g").attr("class",function(ie){return"layer "+ie}).each(function(ie){var he=z[ie]=l.select(this);ie==="bg"?B.bgRect=he.append("rect").style("pointer-events","all"):j(ie)?V[ie]=he.append("path").style("fill","none"):ie==="backplot"?he.append("g").classed("choroplethlayer",!0):ie==="frontplot"?he.append("g").classed("scatterlayer",!0):G(ie)?V[ie]=he.append("path").style("fill","none").style("stroke-miterlimit",2):W(ie)&&(V[ie]=he.append("path").style("stroke","none"))}),ae.order(),ae.each(function(ie){var he=V[ie],J=k.layerNameToAdjective[ie];ie==="frame"?he.datum(k.sphereSVG):G(ie)||W(ie)?he.datum(P(Y,Y.objects[ie])):j(ie)&&he.datum(T(ie,U,O)).call(s.stroke,U[ie].gridcolor).call(d.dashLine,U[ie].griddash,U[ie].gridwidth),G(ie)?he.call(s.stroke,U[J+"color"]).call(d.dashLine,"",U[J+"width"]):W(ie)&&he.call(s.fill,U[J+"color"])})},F.updateDims=function(O,U){var B=this.bounds,Y=(U.framewidth||0)/2,z=B[0][0]-Y,V=B[0][1]-Y,j=B[1][0]-z+Y,G=B[1][1]-V+Y;d.setRect(this.clipRect,z,V,j,G),this.bgRect.call(d.setRect,z,V,j,G).call(s.fill,U.bgcolor),this.xaxis._offset=z,this.xaxis._length=j,this.yaxis._offset=V,this.yaxis._length=G},F.updateFx=function(O,U){var B=this,Y=B.graphDiv,z=B.bgRect,V=O.dragmode,j=O.clickmode;if(B.isStatic)return;function G(){var ae=B.viewInitial,ie={};for(var he in ae)ie[B.id+"."+he]=ae[he];p.call("_guiRelayout",Y,ie),Y.emit("plotly_doubleclick",null)}function W(ae){return B.projection.invert([ae[0]+B.xaxis._offset,ae[1]+B.yaxis._offset])}var X=function(ae,ie){if(ie.isRect){var he=ae.range={};he[B.id]=[W([ie.xmin,ie.ymin]),W([ie.xmax,ie.ymax])]}else{var J=ae.lassoPoints={};J[B.id]=ie.map(W)}},Q={element:B.bgRect.node(),gd:Y,plotinfo:{id:B.id,xaxis:B.xaxis,yaxis:B.yaxis,fillRangeItems:X},xaxes:[B.xaxis],yaxes:[B.yaxis],subplot:B.id,clickFn:function(ae){ae===2&&R(Y)}};V==="pan"?(z.node().onmousedown=null,z.call(E(B,U)),z.on("dblclick.zoom",G),Y._context._scrollZoom.geo||z.on("wheel.zoom",null)):(V==="select"||V==="lasso")&&(z.on(".zoom",null),Q.prepFn=function(ae,ie,he){w(ae,ie,he,Q,V)},C.init(Q)),z.on("mousemove",function(){var ae=B.projection.invert(_.getPositionFromD3Event());if(!ae)return C.unhover(Y,l.event);B.xaxis.p2c=function(){return ae[0]},B.yaxis.p2c=function(){return ae[1]},f.hover(Y,l.event,B.id)}),z.on("mouseout",function(){Y._dragging||C.unhover(Y,l.event)}),z.on("click",function(){V!=="select"&&V!=="lasso"&&(j.indexOf("select")>-1&&A(l.event,Y,[B.xaxis],[B.yaxis],B.id,Q),j.indexOf("event")>-1&&f.click(Y,l.event))})},F.makeFramework=function(){var O=this,U=O.graphDiv,B=U._fullLayout,Y="clip"+B._uid+O.id;O.clipDef=B._clips.append("clipPath").attr("id",Y),O.clipRect=O.clipDef.append("rect"),O.framework=l.select(O.container).append("g").attr("class","geo "+O.id).call(d.setClipUrl,Y,U),O.project=function(z){var V=O.projection(z);return V?[V[0]-O.xaxis._offset,V[1]-O.yaxis._offset]:[null,null]},O.xaxis={_id:"x",c2p:function(z){return O.project(z)[0]}},O.yaxis={_id:"y",c2p:function(z){return O.project(z)[1]}},O.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},x.setConvert(O.mockAxis,B)},F.saveViewInitial=function(O){var U=O.center||{},B=O.projection,Y=B.rotation||{};this.viewInitial={fitbounds:O.fitbounds,"projection.scale":B.scale};var z;O._isScoped?z={"center.lon":U.lon,"center.lat":U.lat}:O._isClipped?z={"projection.rotation.lon":Y.lon,"projection.rotation.lat":Y.lat}:z={"center.lon":U.lon,"center.lat":U.lat,"projection.rotation.lon":Y.lon},_.extendFlat(this.viewInitial,z)},F.render=function(O){this._hasMarkerAngles&&O?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},F._render=function(){var O=this.projection,U=O.getPath(),B;function Y(V){var j=O(V.lonlat);return j?c(j[0],j[1]):null}function z(V){return O.isLonLatOverEdges(V.lonlat)?"none":null}for(B in this.basePaths)this.basePaths[B].attr("d",U);for(B in this.dataPaths)this.dataPaths[B].attr("d",function(V){return U(V.geojson)});for(B in this.dataPoints)this.dataPoints[B].attr("display",z).attr("transform",Y)};function N(O){var U=O.projection,B=U.type,Y=k.projNames[B];Y="geo"+_.titleCase(Y);for(var z=v[Y]||g[Y],V=z(),j=O._isSatellite?Math.acos(1/U.distance)*180/Math.PI:O._isClipped?k.lonaxisSpan[B]/2:null,G=["center","rotate","parallels","clipExtent"],W=function(ae){return ae?V:[]},X=0;X<G.length;X++){var Q=G[X];typeof V[Q]!="function"&&(V[Q]=W)}return V.isLonLatOverEdges=function(ae){if(V(ae)===null)return!0;if(j){var ie=V.rotate(),he=S(ae,[-ie[0],-ie[1]]),J=j*Math.PI/180;return he>J}else return!1},V.getPath=function(){return i().projection(V)},V.getBounds=function(ae){return V.getPath().bounds(ae)},V.precision(k.precision),O._isSatellite&&V.tilt(U.tilt).distance(U.distance),j&&V.clipAngle(j-k.clipPad),V}function T(O,U,B){var Y=1e-6,z=2.5,V=U[O],j=k.scopeDefaults[U.scope],G,W,X;O==="lonaxis"?(G=j.lonaxisRange,W=j.lataxisRange,X=function(te,ce){return[te,ce]}):O==="lataxis"&&(G=j.lataxisRange,W=j.lonaxisRange,X=function(te,ce){return[ce,te]});var Q={type:"linear",range:[G[0],G[1]-Y],tick0:V.tick0,dtick:V.dtick};x.setConvert(Q,B);var ae=x.calcTicks(Q);!U.isScoped&&O==="lonaxis"&&ae.pop();for(var ie=ae.length,he=new Array(ie),J=0;J<ie;J++)for(var Z=ae[J].x,le=he[J]=[],K=W[0];K<W[1]+z;K+=z)le.push(X(Z,K));return{type:"MultiLineString",coordinates:he}}function D(O,U){var B=k.clipPad,Y=O[0]+B,z=O[1]-B,V=U[0]+B,j=U[1]-B;Y>0&&z<0&&(z+=360);var G=(z-Y)/4;return{type:"Polygon",coordinates:[[[Y,V],[Y,j],[Y+G,j],[Y+2*G,j],[Y+3*G,j],[z,j],[z,V],[z-G,V],[z-2*G,V],[z-3*G,V],[Y,V]]]}}},10816:function(u,h,a){var l=a(84888).KY,v=a(3400).counterRegex,i=a(43520),S="geo",g=v(S),p={};p[S]={valType:"subplotid",dflt:S,editType:"calc"};function _(d){for(var f=d._fullLayout,b=d.calcdata,x=f._subplots[S],y=0;y<x.length;y++){var C=x[y],w=l(b,S,C),R=f[C],A=R._subplot;A||(A=i({id:C,graphDiv:d,container:f._geolayer.node(),topojsonURL:d._context.topojsonURL,staticPlot:d._context.staticPlot}),f[C]._subplot=A),A.plot(w,f,d._promises)}}function c(d,f,b,x){for(var y=x._subplots[S]||[],C=0;C<y.length;C++){var w=y[C],R=x[w]._subplot;!f[w]&&R&&(R.framework.remove(),R.clipDef.remove())}}function s(d){for(var f=d._fullLayout,b=f._subplots[S],x=0;x<b.length;x++){var y=f[b[x]],C=y._subplot;C.updateFx(f,y)}}u.exports={attr:S,name:S,idRoot:S,idRegex:g,attrRegex:g,attributes:p,layoutAttributes:a(40384),supplyLayoutDefaults:a(86920),plot:_,updateFx:s,clean:c}},40384:function(u,h,a){var l=a(22548),v=a(86968).u,i=a(98192).u,S=a(79552),g=a(67824).overrideAll,p=a(95376),_={range:{valType:"info_array",items:[{valType:"number"},{valType:"number"}]},showgrid:{valType:"boolean",dflt:!1},tick0:{valType:"number",dflt:0},dtick:{valType:"number"},gridcolor:{valType:"color",dflt:l.lightLine},gridwidth:{valType:"number",min:0,dflt:1},griddash:i},c=u.exports=g({domain:v({name:"geo"},{}),fitbounds:{valType:"enumerated",values:[!1,"locations","geojson"],dflt:!1,editType:"plot"},resolution:{valType:"enumerated",values:[110,50],dflt:110,coerceNumber:!0},scope:{valType:"enumerated",values:p(S.scopeDefaults),dflt:"world"},projection:{type:{valType:"enumerated",values:p(S.projNames)},rotation:{lon:{valType:"number"},lat:{valType:"number"},roll:{valType:"number"}},tilt:{valType:"number",dflt:0},distance:{valType:"number",min:1.001,dflt:2},parallels:{valType:"info_array",items:[{valType:"number"},{valType:"number"}]},scale:{valType:"number",min:0,dflt:1}},center:{lon:{valType:"number"},lat:{valType:"number"}},visible:{valType:"boolean",dflt:!0},showcoastlines:{valType:"boolean"},coastlinecolor:{valType:"color",dflt:l.defaultLine},coastlinewidth:{valType:"number",min:0,dflt:1},showland:{valType:"boolean",dflt:!1},landcolor:{valType:"color",dflt:S.landColor},showocean:{valType:"boolean",dflt:!1},oceancolor:{valType:"color",dflt:S.waterColor},showlakes:{valType:"boolean",dflt:!1},lakecolor:{valType:"color",dflt:S.waterColor},showrivers:{valType:"boolean",dflt:!1},rivercolor:{valType:"color",dflt:S.waterColor},riverwidth:{valType:"number",min:0,dflt:1},showcountries:{valType:"boolean"},countrycolor:{valType:"color",dflt:l.defaultLine},countrywidth:{valType:"number",min:0,dflt:1},showsubunits:{valType:"boolean"},subunitcolor:{valType:"color",dflt:l.defaultLine},subunitwidth:{valType:"number",min:0,dflt:1},showframe:{valType:"boolean"},framecolor:{valType:"color",dflt:l.defaultLine},framewidth:{valType:"number",min:0,dflt:1},bgcolor:{valType:"color",dflt:l.background},lonaxis:_,lataxis:_},"plot","from-root");c.uirevision={valType:"any",editType:"none"}},86920:function(u,h,a){var l=a(3400),v=a(168),i=a(84888).op,S=a(79552),g=a(40384),p=S.axesNames;u.exports=function(s,d,f){v(s,d,f,{type:"geo",attributes:g,handleDefaults:_,fullData:f,partition:"y"})};function _(c,s,d,f){var b=i(f.fullData,"geo",f.id),x=b.map(function(le){return le._expandedIndex}),y=d("resolution"),C=d("scope"),w=S.scopeDefaults[C],R=d("projection.type",w.projType),A=s._isAlbersUsa=R==="albers usa";A&&(C=s.scope="usa");var E=s._isScoped=C!=="world",k=s._isSatellite=R==="satellite",L=s._isConic=R.indexOf("conic")!==-1||R==="albers",I=s._isClipped=!!S.lonaxisSpan[R];if(c.visible===!1){var P=l.extendDeep({},s._template);P.showcoastlines=!1,P.showcountries=!1,P.showframe=!1,P.showlakes=!1,P.showland=!1,P.showocean=!1,P.showrivers=!1,P.showsubunits=!1,P.lonaxis&&(P.lonaxis.showgrid=!1),P.lataxis&&(P.lataxis.showgrid=!1),s._template=P}for(var M=d("visible"),F,N=0;N<p.length;N++){var T=p[N],D=[30,10][N],O;if(E)O=w[T+"Range"];else{var U=S[T+"Span"],B=(U[R]||U["*"])/2,Y=d("projection.rotation."+T.substr(0,3),w.projRotate[N]);O=[Y-B,Y+B]}var z=d(T+".range",O);d(T+".tick0"),d(T+".dtick",D),F=d(T+".showgrid",M?void 0:!1),F&&(d(T+".gridcolor"),d(T+".gridwidth"),d(T+".griddash")),s[T]._ax={type:"linear",_id:T.slice(0,3),_traceIndices:x,setScale:l.identity,c2l:l.identity,r2l:l.identity,autorange:!0,range:z.slice(),_m:1,_input:{}}}var V=s.lonaxis.range,j=s.lataxis.range,G=V[0],W=V[1];G>0&&W<0&&(W+=360);var X=(G+W)/2,Q;if(!A){var ae=E?w.projRotate:[X,0,0];Q=d("projection.rotation.lon",ae[0]),d("projection.rotation.lat",ae[1]),d("projection.rotation.roll",ae[2]),F=d("showcoastlines",!E&&M),F&&(d("coastlinecolor"),d("coastlinewidth")),F=d("showocean",M?void 0:!1),F&&d("oceancolor")}var ie,he;if(A?(ie=-96.6,he=38.7):(ie=E?X:Q,he=(j[0]+j[1])/2),d("center.lon",ie),d("center.lat",he),k&&(d("projection.tilt"),d("projection.distance")),L){var J=w.projParallels||[0,60];d("projection.parallels",J)}d("projection.scale"),F=d("showland",M?void 0:!1),F&&d("landcolor"),F=d("showlakes",M?void 0:!1),F&&d("lakecolor"),F=d("showrivers",M?void 0:!1),F&&(d("rivercolor"),d("riverwidth")),F=d("showcountries",E&&C!=="usa"&&M),F&&(d("countrycolor"),d("countrywidth")),(C==="usa"||C==="north america"&&y===50)&&(d("showsubunits",M),d("subunitcolor"),d("subunitwidth")),E||(F=d("showframe",M),F&&(d("framecolor"),d("framewidth"))),d("bgcolor");var Z=d("fitbounds");Z&&(delete s.projection.scale,E?(delete s.center.lon,delete s.center.lat):I?(delete s.center.lon,delete s.center.lat,delete s.projection.rotation.lon,delete s.projection.rotation.lat,delete s.lonaxis.range,delete s.lataxis.range):(delete s.center.lon,delete s.center.lat,delete s.projection.rotation.lon))}},79248:function(u,h,a){var l=a(33428),v=a(3400),i=a(24040),S=Math.PI/180,g=180/Math.PI,p={cursor:"pointer"},_={cursor:"auto"};function c(T,D){var O=T.projection,U;return D._isScoped?U=f:D._isClipped?U=x:U=b,U(T,O)}u.exports=c;function s(T,D){return l.behavior.zoom().translate(D.translate()).scale(D.scale())}function d(T,D,O){var U=T.id,B=T.graphDiv,Y=B.layout,z=Y[U],V=B._fullLayout,j=V[U],G={},W={};function X(Q,ae){G[U+"."+Q]=v.nestedProperty(z,Q).get(),i.call("_storeDirectGUIEdit",Y,V._preGUI,G);var ie=v.nestedProperty(j,Q);ie.get()!==ae&&(ie.set(ae),v.nestedProperty(z,Q).set(ae),W[U+"."+Q]=ae)}O(X),X("projection.scale",D.scale()/T.fitScale),X("fitbounds",!1),B.emit("plotly_relayout",W)}function f(T,D){var O=s(T,D);function U(){l.select(this).style(p)}function B(){D.scale(l.event.scale).translate(l.event.translate),T.render(!0);var V=D.invert(T.midPt);T.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":D.scale()/T.fitScale,"geo.center.lon":V[0],"geo.center.lat":V[1]})}function Y(V){var j=D.invert(T.midPt);V("center.lon",j[0]),V("center.lat",j[1])}function z(){l.select(this).style(_),d(T,D,Y)}return O.on("zoomstart",U).on("zoom",B).on("zoomend",z),O}function b(T,D){var O=s(T,D),U=2,B,Y,z,V,j,G,W,X,Q;function ae(K){return D.invert(K)}function ie(K){var te=ae(K);if(!te)return!0;var ce=D(te);return Math.abs(ce[0]-K[0])>U||Math.abs(ce[1]-K[1])>U}function he(){l.select(this).style(p),B=l.mouse(this),Y=D.rotate(),z=D.translate(),V=Y,j=ae(B)}function J(){if(G=l.mouse(this),ie(B)){O.scale(D.scale()),O.translate(D.translate());return}D.scale(l.event.scale),D.translate([z[0],l.event.translate[1]]),j?ae(G)&&(X=ae(G),W=[V[0]+(X[0]-j[0]),Y[1],Y[2]],D.rotate(W),V=W):(B=G,j=ae(B)),Q=!0,T.render(!0);var K=D.rotate(),te=D.invert(T.midPt);T.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":D.scale()/T.fitScale,"geo.center.lon":te[0],"geo.center.lat":te[1],"geo.projection.rotation.lon":-K[0]})}function Z(){l.select(this).style(_),Q&&d(T,D,le)}function le(K){var te=D.rotate(),ce=D.invert(T.midPt);K("projection.rotation.lon",-te[0]),K("center.lon",ce[0]),K("center.lat",ce[1])}return O.on("zoomstart",he).on("zoom",J).on("zoomend",Z),O}function x(T,D){D.rotate(),D.scale();var O=s(T,D),U=N(O,"zoomstart","zoom","zoomend"),B=0,Y=O.on,z;O.on("zoomstart",function(){l.select(this).style(p);var X=l.mouse(this),Q=D.rotate(),ae=Q,ie=D.translate(),he=C(Q);z=y(D,X),Y.call(O,"zoom",function(){var J=l.mouse(this);if(D.scale(l.event.scale),!z)X=J,z=y(D,X);else if(y(D,J)){D.rotate(Q).translate(ie);var Z=y(D,J),le=R(z,Z),K=I(w(he,le)),te=A(K,z,ae);(!isFinite(te[0])||!isFinite(te[1])||!isFinite(te[2]))&&(te=ae),D.rotate(te),ae=te}j(U.of(this,arguments))}),V(U.of(this,arguments))}).on("zoomend",function(){l.select(this).style(_),Y.call(O,"zoom",null),G(U.of(this,arguments)),d(T,D,W)}).on("zoom.redraw",function(){T.render(!0);var X=D.rotate();T.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":D.scale()/T.fitScale,"geo.projection.rotation.lon":-X[0],"geo.projection.rotation.lat":-X[1]})});function V(X){B++||X({type:"zoomstart"})}function j(X){X({type:"zoom"})}function G(X){--B||X({type:"zoomend"})}function W(X){var Q=D.rotate();X("projection.rotation.lon",-Q[0]),X("projection.rotation.lat",-Q[1])}return l.rebind(O,U,"on")}function y(T,D){var O=T.invert(D);return O&&isFinite(O[0])&&isFinite(O[1])&&P(O)}function C(T){var D=.5*T[0]*S,O=.5*T[1]*S,U=.5*T[2]*S,B=Math.sin(D),Y=Math.cos(D),z=Math.sin(O),V=Math.cos(O),j=Math.sin(U),G=Math.cos(U);return[Y*V*G+B*z*j,B*V*G-Y*z*j,Y*z*G+B*V*j,Y*V*j-B*z*G]}function w(T,D){var O=T[0],U=T[1],B=T[2],Y=T[3],z=D[0],V=D[1],j=D[2],G=D[3];return[O*z-U*V-B*j-Y*G,O*V+U*z+B*G-Y*j,O*j-U*G+B*z+Y*V,O*G+U*j-B*V+Y*z]}function R(T,D){if(!(!T||!D)){var O=F(T,D),U=Math.sqrt(M(O,O)),B=.5*Math.acos(Math.max(-1,Math.min(1,M(T,D)))),Y=Math.sin(B)/U;return U&&[Math.cos(B),O[2]*Y,-O[1]*Y,O[0]*Y]}}function A(T,D,O){var U=L(D,2,T[0]);U=L(U,1,T[1]),U=L(U,0,T[2]-O[2]);var B=D[0],Y=D[1],z=D[2],V=U[0],j=U[1],G=U[2],W=Math.atan2(Y,B)*g,X=Math.sqrt(B*B+Y*Y),Q,ae;Math.abs(j)>X?(ae=(j>0?90:-90)-W,Q=0):(ae=Math.asin(j/X)*g-W,Q=Math.sqrt(X*X-j*j));var ie=180-ae-2*W,he=(Math.atan2(G,V)-Math.atan2(z,Q))*g,J=(Math.atan2(G,V)-Math.atan2(z,-Q))*g,Z=E(O[0],O[1],ae,he),le=E(O[0],O[1],ie,J);return Z<=le?[ae,he,O[2]]:[ie,J,O[2]]}function E(T,D,O,U){var B=k(O-T),Y=k(U-D);return Math.sqrt(B*B+Y*Y)}function k(T){return(T%360+540)%360-180}function L(T,D,O){var U=O*S,B=T.slice(),Y=D===0?1:0,z=D===2?1:2,V=Math.cos(U),j=Math.sin(U);return B[Y]=T[Y]*V-T[z]*j,B[z]=T[z]*V+T[Y]*j,B}function I(T){return[Math.atan2(2*(T[0]*T[1]+T[2]*T[3]),1-2*(T[1]*T[1]+T[2]*T[2]))*g,Math.asin(Math.max(-1,Math.min(1,2*(T[0]*T[2]-T[3]*T[1]))))*g,Math.atan2(2*(T[0]*T[3]+T[1]*T[2]),1-2*(T[2]*T[2]+T[3]*T[3]))*g]}function P(T){var D=T[0]*S,O=T[1]*S,U=Math.cos(O);return[U*Math.cos(D),U*Math.sin(D),Math.sin(O)]}function M(T,D){for(var O=0,U=0,B=T.length;U<B;++U)O+=T[U]*D[U];return O}function F(T,D){return[T[1]*D[2]-T[2]*D[1],T[2]*D[0]-T[0]*D[2],T[0]*D[1]-T[1]*D[0]]}function N(T){for(var D=0,O=arguments.length,U=[];++D<O;)U.push(arguments[D]);var B=l.dispatch.apply(null,U);return B.of=function(Y,z){return function(V){var j;try{j=V.sourceEvent=l.event,V.target=T,l.event=V,B[V.type].apply(Y,z)}finally{l.event=j}}},B}},84888:function(u,h,a){var l=a(24040),v=a(33816).SUBPLOT_PATTERN;h.KY=function(i,S,g){var p=l.subplotsRegistry[S];if(!p)return[];for(var _=p.attr,c=[],s=0;s<i.length;s++){var d=i[s],f=d[0].trace;f[_]===g&&c.push(d)}return c},h._M=function(i,S){var g=[],p=[],_;if(typeof S=="string"?_=l.getModule(S).plot:typeof S=="function"?_=S:_=S.plot,!_)return[g,i];for(var c=0;c<i.length;c++){var s=i[c],d=s[0].trace;d.visible!==!0||d._length===0||(d._module&&d._module.plot===_?g.push(s):p.push(s))}return[g,p]},h.op=function(S,g,p){if(!l.subplotsRegistry[g])return[];var _=l.subplotsRegistry[g].attr,c=[],s,d,f;if(g==="gl2d"){var b=p.match(v);d="x"+b[1],f="y"+b[2]}for(var x=0;x<S.length;x++)s=S[x],g==="gl2d"&&l.traceIs(s,"gl2d")?s[_[0]]===d&&s[_[1]]===f&&c.push(s):s[_]===p&&c.push(s);return c}},2428:function(u,h,a){var l=a(62644),v=a(97264),i=a(29128),S=a(33816),g=a(89184);u.exports=_;function p(c,s){this.element=c,this.plot=s,this.mouseListener=null,this.wheelListener=null,this.lastInputTime=Date.now(),this.lastPos=[0,0],this.boxEnabled=!1,this.boxInited=!1,this.boxStart=[0,0],this.boxEnd=[0,0],this.dragStart=[0,0]}function _(c){var s=c.mouseContainer,d=c.glplot,f=new p(s,d);function b(){c.xaxis.autorange=!1,c.yaxis.autorange=!1}function x(){for(var C=c.graphDiv._fullLayout._axisConstraintGroups,w=c.xaxis._id,R=c.yaxis._id,A=0;A<C.length;A++)if(C[A][w]!==-1){if(C[A][R]!==-1)return!0;break}return!1}f.mouseListener=l(s,y),s.addEventListener("touchstart",function(C){var w=i(C.changedTouches[0],s);y(0,w[0],w[1]),y(1,w[0],w[1]),C.preventDefault()},g?{passive:!1}:!1),s.addEventListener("touchmove",function(C){C.preventDefault();var w=i(C.changedTouches[0],s);y(1,w[0],w[1]),C.preventDefault()},g?{passive:!1}:!1),s.addEventListener("touchend",function(C){y(0,f.lastPos[0],f.lastPos[1]),C.preventDefault()},g?{passive:!1}:!1);function y(C,w,R){var A=c.calcDataBox(),E=d.viewBox,k=f.lastPos[0],L=f.lastPos[1],I=S.MINDRAG*d.pixelRatio,P=S.MINZOOM*d.pixelRatio,M,F;w*=d.pixelRatio,R*=d.pixelRatio,R=E[3]-E[1]-R;function N(Y,z,V){var j=Math.min(z,V),G=Math.max(z,V);j!==G?(A[Y]=j,A[Y+2]=G,f.dataBox=A,c.setRanges(A)):(c.selectBox.selectBox=[0,0,1,1],c.glplot.setDirty())}switch(c.fullLayout.dragmode){case"zoom":if(C){var T=w/(E[2]-E[0])*(A[2]-A[0])+A[0],D=R/(E[3]-E[1])*(A[3]-A[1])+A[1];f.boxInited||(f.boxStart[0]=T,f.boxStart[1]=D,f.dragStart[0]=w,f.dragStart[1]=R),f.boxEnd[0]=T,f.boxEnd[1]=D,f.boxInited=!0,!f.boxEnabled&&(f.boxStart[0]!==f.boxEnd[0]||f.boxStart[1]!==f.boxEnd[1])&&(f.boxEnabled=!0);var O=Math.abs(f.dragStart[0]-w)<P,U=Math.abs(f.dragStart[1]-R)<P;if(x()&&!(O&&U)){M=f.boxEnd[0]-f.boxStart[0],F=f.boxEnd[1]-f.boxStart[1];var B=(A[3]-A[1])/(A[2]-A[0]);Math.abs(M*B)>Math.abs(F)?(f.boxEnd[1]=f.boxStart[1]+Math.abs(M)*B*(F>=0?1:-1),f.boxEnd[1]<A[1]?(f.boxEnd[1]=A[1],f.boxEnd[0]=f.boxStart[0]+(A[1]-f.boxStart[1])/Math.abs(B)):f.boxEnd[1]>A[3]&&(f.boxEnd[1]=A[3],f.boxEnd[0]=f.boxStart[0]+(A[3]-f.boxStart[1])/Math.abs(B))):(f.boxEnd[0]=f.boxStart[0]+Math.abs(F)/B*(M>=0?1:-1),f.boxEnd[0]<A[0]?(f.boxEnd[0]=A[0],f.boxEnd[1]=f.boxStart[1]+(A[0]-f.boxStart[0])*Math.abs(B)):f.boxEnd[0]>A[2]&&(f.boxEnd[0]=A[2],f.boxEnd[1]=f.boxStart[1]+(A[2]-f.boxStart[0])*Math.abs(B)))}else O&&(f.boxEnd[0]=f.boxStart[0]),U&&(f.boxEnd[1]=f.boxStart[1])}else f.boxEnabled?(M=f.boxStart[0]!==f.boxEnd[0],F=f.boxStart[1]!==f.boxEnd[1],M||F?(M&&(N(0,f.boxStart[0],f.boxEnd[0]),c.xaxis.autorange=!1),F&&(N(1,f.boxStart[1],f.boxEnd[1]),c.yaxis.autorange=!1),c.relayoutCallback()):c.glplot.setDirty(),f.boxEnabled=!1,f.boxInited=!1):f.boxInited&&(f.boxInited=!1);break;case"pan":f.boxEnabled=!1,f.boxInited=!1,C?(f.panning||(f.dragStart[0]=w,f.dragStart[1]=R),Math.abs(f.dragStart[0]-w)<I&&(w=f.dragStart[0]),Math.abs(f.dragStart[1]-R)<I&&(R=f.dragStart[1]),M=(k-w)*(A[2]-A[0])/(d.viewBox[2]-d.viewBox[0]),F=(L-R)*(A[3]-A[1])/(d.viewBox[3]-d.viewBox[1]),A[0]+=M,A[2]+=M,A[1]+=F,A[3]+=F,c.setRanges(A),f.panning=!0,f.lastInputTime=Date.now(),b(),c.cameraChanged(),c.handleAnnotations()):f.panning&&(f.panning=!1,c.relayoutCallback());break}f.lastPos[0]=w,f.lastPos[1]=R}return f.wheelListener=v(s,function(C,w){if(!c.scrollZoom)return!1;var R=c.calcDataBox(),A=d.viewBox,E=f.lastPos[0],k=f.lastPos[1],L=Math.exp(5*w/(A[3]-A[1])),I=E/(A[2]-A[0])*(R[2]-R[0])+R[0],P=k/(A[3]-A[1])*(R[3]-R[1])+R[1];return R[0]=(R[0]-I)*L+I,R[2]=(R[2]-I)*L+I,R[1]=(R[1]-P)*L+P,R[3]=(R[3]-P)*L+P,c.setRanges(R),f.lastInputTime=Date.now(),b(),c.cameraChanged(),c.handleAnnotations(),c.relayoutCallback(),!0},!0),f}},92568:function(u,h,a){var l=a(54460),v=a(43080);function i(_){this.scene=_,this.gl=_.gl,this.pixelRatio=_.pixelRatio,this.screenBox=[0,0,1,1],this.viewBox=[0,0,1,1],this.dataBox=[-1,-1,1,1],this.borderLineEnable=[!1,!1,!1,!1],this.borderLineWidth=[1,1,1,1],this.borderLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.ticks=[[],[]],this.tickEnable=[!0,!0,!1,!1],this.tickPad=[15,15,15,15],this.tickAngle=[0,0,0,0],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickMarkLength=[0,0,0,0],this.tickMarkWidth=[0,0,0,0],this.tickMarkColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labels=["x","y"],this.labelEnable=[!0,!0,!1,!1],this.labelAngle=[0,Math.PI/2,0,3*Math.PI/2],this.labelPad=[15,15,15,15],this.labelSize=[12,12],this.labelFont=["sans-serif","sans-serif"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.title="",this.titleEnable=!0,this.titleCenter=[0,0,0,0],this.titleAngle=0,this.titleColor=[0,0,0,1],this.titleFont="sans-serif",this.titleSize=18,this.gridLineEnable=[!0,!0],this.gridLineColor=[[0,0,0,.5],[0,0,0,.5]],this.gridLineWidth=[1,1],this.zeroLineEnable=[!0,!0],this.zeroLineWidth=[1,1],this.zeroLineColor=[[0,0,0,1],[0,0,0,1]],this.borderColor=[0,0,0,0],this.backgroundColor=[0,0,0,0],this.static=this.scene.staticPlot}var S=i.prototype,g=["xaxis","yaxis"];S.merge=function(_){this.titleEnable=!1,this.backgroundColor=v(_.plot_bgcolor);var c,s,d,f,b,x,y,C,w,R,A;for(R=0;R<2;++R){c=g[R];var E=c.charAt(0);for(s=_[this.scene[c]._name],d=s.title.text===this.scene.fullLayout._dfltTitle[E]?"":s.title.text,A=0;A<=2;A+=2)this.labelEnable[R+A]=!1,this.labels[R+A]=d,this.labelColor[R+A]=v(s.title.font.color),this.labelFont[R+A]=s.title.font.family,this.labelSize[R+A]=s.title.font.size,this.labelPad[R+A]=this.getLabelPad(c,s),this.tickEnable[R+A]=!1,this.tickColor[R+A]=v((s.tickfont||{}).color),this.tickAngle[R+A]=s.tickangle==="auto"?0:Math.PI*-s.tickangle/180,this.tickPad[R+A]=this.getTickPad(s),this.tickMarkLength[R+A]=0,this.tickMarkWidth[R+A]=s.tickwidth||0,this.tickMarkColor[R+A]=v(s.tickcolor),this.borderLineEnable[R+A]=!1,this.borderLineColor[R+A]=v(s.linecolor),this.borderLineWidth[R+A]=s.linewidth||0;y=this.hasSharedAxis(s),b=this.hasAxisInDfltPos(c,s)&&!y,x=this.hasAxisInAltrPos(c,s)&&!y,f=s.mirror||!1,C=y?String(f).indexOf("all")!==-1:!!f,w=y?f==="allticks":String(f).indexOf("ticks")!==-1,b?this.labelEnable[R]=!0:x&&(this.labelEnable[R+2]=!0),b?this.tickEnable[R]=s.showticklabels:x&&(this.tickEnable[R+2]=s.showticklabels),(b||C)&&(this.borderLineEnable[R]=s.showline),(x||C)&&(this.borderLineEnable[R+2]=s.showline),(b||w)&&(this.tickMarkLength[R]=this.getTickMarkLength(s)),(x||w)&&(this.tickMarkLength[R+2]=this.getTickMarkLength(s)),this.gridLineEnable[R]=s.showgrid,this.gridLineColor[R]=v(s.gridcolor),this.gridLineWidth[R]=s.gridwidth,this.zeroLineEnable[R]=s.zeroline,this.zeroLineColor[R]=v(s.zerolinecolor),this.zeroLineWidth[R]=s.zerolinewidth}},S.hasSharedAxis=function(_){var c=this.scene,s=c.fullLayout._subplots.gl2d,d=l.findSubplotsWithAxis(s,_);return d.indexOf(c.id)!==0},S.hasAxisInDfltPos=function(_,c){var s=c.side;if(_==="xaxis")return s==="bottom";if(_==="yaxis")return s==="left"},S.hasAxisInAltrPos=function(_,c){var s=c.side;if(_==="xaxis")return s==="top";if(_==="yaxis")return s==="right"},S.getLabelPad=function(_,c){var s=1.5,d=c.title.font.size,f=c.showticklabels;if(_==="xaxis")return c.side==="top"?-10+d*(s+(f?1:0)):-10+d*(s+(f?.5:0));if(_==="yaxis")return c.side==="right"?10+d*(s+(f?1:.5)):10+d*(s+(f?.5:0))},S.getTickPad=function(_){return _.ticks==="outside"?10+_.ticklen:15},S.getTickMarkLength=function(_){if(!_.ticks)return 0;var c=_.ticklen;return _.ticks==="inside"?-c:c};function p(_){return new i(_)}u.exports=p},39952:function(u,h,a){var l=a(67824).overrideAll,v=a(17188),i=a(64859),S=a(9616),g=a(33816),p=a(57952),_=a(65460),c=a(84888).op;h.name="gl2d",h.attr=["xaxis","yaxis"],h.idRoot=["x","y"],h.idRegex=g.idRegex,h.attrRegex=g.attrRegex,h.attributes=a(26720),h.supplyLayoutDefaults=function(s,d,f){d._has("cartesian")||p.supplyLayoutDefaults(s,d,f)},h.layoutAttrOverrides=l(p.layoutAttributes,"plot","from-root"),h.baseLayoutAttrOverrides=l({plot_bgcolor:i.plot_bgcolor,hoverlabel:_.hoverlabel},"plot","nested"),h.plot=function(d){for(var f=d._fullLayout,b=d._fullData,x=f._subplots.gl2d,y=0;y<x.length;y++){var C=x[y],w=f._plots[C],R=c(b,"gl2d",C),A=w._scene2d;A===void 0&&(A=new v({id:C,graphDiv:d,container:d.querySelector(".gl-container"),staticPlot:d._context.staticPlot,plotGlPixelRatio:d._context.plotGlPixelRatio},f),w._scene2d=A),A.plot(R,d.calcdata,f,d.layout)}},h.clean=function(s,d,f,b){for(var x=b._subplots.gl2d||[],y=0;y<x.length;y++){var C=x[y],w=b._plots[C];if(w._scene2d){var R=c(s,"gl2d",C);R.length===0&&(w._scene2d.destroy(),delete b._plots[C])}}p.clean.apply(this,arguments)},h.drawFramework=function(s){s._context.staticPlot||p.drawFramework(s)},h.toSVG=function(s){for(var d=s._fullLayout,f=d._subplots.gl2d,b=0;b<f.length;b++){var x=d._plots[f[b]],y=x._scene2d,C=y.toImage("png"),w=d._glimages.append("svg:image");w.attr({xmlns:S.svg,"xlink:href":C,x:0,y:0,width:"100%",height:"100%",preserveAspectRatio:"none"}),y.destroy()}},h.updateFx=function(s){for(var d=s._fullLayout,f=d._subplots.gl2d,b=0;b<f.length;b++){var x=d._plots[f[b]]._scene2d;x.updateFx(d.dragmode)}}},17188:function(u,h,a){var l=a(24040),v=a(54460),i=a(93024),S=a(67792).gl_plot2d,g=a(67792).gl_spikes2d,p=a(67792).gl_select_box,_=a(5408),c=a(92568),s=a(2428),d=a(16576),f=a(71888),b=f.enforce,x=f.clean,y=a(19280).doAutoRange,C=a(72760),w=C.drawMode,R=C.selectMode,A=["xaxis","yaxis"],E,k,L=a(33816).SUBPLOT_PATTERN;function I(F,N){this.container=F.container,this.graphDiv=F.graphDiv,this.pixelRatio=F.plotGlPixelRatio||window.devicePixelRatio,this.id=F.id,this.staticPlot=!!F.staticPlot,this.scrollZoom=this.graphDiv._context._scrollZoom.cartesian,this.fullData=null,this.updateRefs(N),this.makeFramework(),!this.stopped&&(this.glplotOptions=c(this),this.glplotOptions.merge(N),this.glplot=S(this.glplotOptions),this.camera=s(this),this.traces={},this.spikes=g(this.glplot),this.selectBox=p(this.glplot,{innerFill:!1,outerFill:!0}),this.lastButtonState=0,this.pickResult=null,this.isMouseOver=!0,this.stopped=!1,this.redraw=this.draw.bind(this),this.redraw())}u.exports=I;var P=I.prototype;P.makeFramework=function(){if(this.staticPlot){if(!k&&(E=document.createElement("canvas"),k=_({canvas:E,preserveDrawingBuffer:!1,premultipliedAlpha:!0,antialias:!0}),!k))throw new Error("Error creating static canvas/context for image server");this.canvas=E,this.gl=k}else{var F=this.container.querySelector(".gl-canvas-focus"),N=_({canvas:F,preserveDrawingBuffer:!0,premultipliedAlpha:!0});if(!N){d(this),this.stopped=!0;return}this.canvas=F,this.gl=N}var T=this.canvas;T.style.width="100%",T.style.height="100%",T.style.position="absolute",T.style.top="0px",T.style.left="0px",T.style["pointer-events"]="none",this.updateSize(T);var D=this.svgContainer=document.createElementNS("http://www.w3.org/2000/svg","svg");D.style.position="absolute",D.style.top=D.style.left="0px",D.style.width=D.style.height="100%",D.style["z-index"]=20,D.style["pointer-events"]="none";var O=this.mouseContainer=document.createElement("div");O.style.position="absolute",O.style["pointer-events"]="auto",this.pickCanvas=this.container.querySelector(".gl-canvas-pick");var U=this.container;U.appendChild(D),U.appendChild(O);var B=this;O.addEventListener("mouseout",function(){B.isMouseOver=!1,B.unhover()}),O.addEventListener("mouseover",function(){B.isMouseOver=!0})},P.toImage=function(F){F||(F="png"),this.stopped=!0,this.staticPlot&&this.container.appendChild(E),this.updateSize(this.canvas);var N=this.glplot.gl,T=N.drawingBufferWidth,D=N.drawingBufferHeight;N.clearColor(1,1,1,0),N.clear(N.COLOR_BUFFER_BIT|N.DEPTH_BUFFER_BIT),this.glplot.setDirty(),this.glplot.draw(),N.bindFramebuffer(N.FRAMEBUFFER,null);var O=new Uint8Array(T*D*4);N.readPixels(0,0,T,D,N.RGBA,N.UNSIGNED_BYTE,O);for(var U=0,B=D-1;U<B;++U,--B)for(var Y=0;Y<T;++Y)for(var z=0;z<4;++z){var V=O[4*(T*U+Y)+z];O[4*(T*U+Y)+z]=O[4*(T*B+Y)+z],O[4*(T*B+Y)+z]=V}var j=document.createElement("canvas");j.width=T,j.height=D;var G=j.getContext("2d",{willReadFrequently:!0}),W=G.createImageData(T,D);W.data.set(O),G.putImageData(W,0,0);var X;switch(F){case"jpeg":X=j.toDataURL("image/jpeg");break;case"webp":X=j.toDataURL("image/webp");break;default:X=j.toDataURL("image/png")}return this.staticPlot&&this.container.removeChild(E),X},P.updateSize=function(F){F||(F=this.canvas);var N=this.pixelRatio,T=this.fullLayout,D=T.width,O=T.height,U=Math.ceil(N*D)|0,B=Math.ceil(N*O)|0;return(F.width!==U||F.height!==B)&&(F.width=U,F.height=B),F},P.computeTickMarks=function(){this.xaxis.setScale(),this.yaxis.setScale();for(var F=[v.calcTicks(this.xaxis),v.calcTicks(this.yaxis)],N=0;N<2;++N)for(var T=0;T<F[N].length;++T)F[N][T].text=F[N][T].text+"";return F};function M(F,N){for(var T=0;T<2;++T){var D=F[T],O=N[T];if(D.length!==O.length)return!0;for(var U=0;U<D.length;++U)if(D[U].x!==O[U].x)return!0}return!1}P.updateRefs=function(F){this.fullLayout=F;var N=this.id.match(L),T="xaxis"+N[1],D="yaxis"+N[2];this.xaxis=this.fullLayout[T],this.yaxis=this.fullLayout[D]},P.relayoutCallback=function(){var F=this.graphDiv,N=this.xaxis,T=this.yaxis,D=F.layout,O={},U=O[N._name+".range"]=N.range.slice(),B=O[T._name+".range"]=T.range.slice();O[N._name+".autorange"]=N.autorange,O[T._name+".autorange"]=T.autorange,l.call("_storeDirectGUIEdit",F.layout,F._fullLayout._preGUI,O);var Y=D[N._name];Y.range=U,Y.autorange=N.autorange;var z=D[T._name];z.range=B,z.autorange=T.autorange,O.lastInputTime=this.camera.lastInputTime,F.emit("plotly_relayout",O)},P.cameraChanged=function(){var F=this.camera;this.glplot.setDataBox(this.calcDataBox());var N=this.computeTickMarks(),T=this.glplotOptions.ticks;M(N,T)&&(this.glplotOptions.ticks=N,this.glplotOptions.dataBox=F.dataBox,this.glplot.update(this.glplotOptions),this.handleAnnotations())},P.handleAnnotations=function(){for(var F=this.graphDiv,N=this.fullLayout.annotations,T=0;T<N.length;T++){var D=N[T];D.xref===this.xaxis._id&&D.yref===this.yaxis._id&&l.getComponentMethod("annotations","drawOne")(F,T)}},P.destroy=function(){if(this.glplot){var F=this.traces;F&&Object.keys(F).map(function(N){F[N].dispose(),delete F[N]}),this.glplot.dispose(),this.container.removeChild(this.svgContainer),this.container.removeChild(this.mouseContainer),this.fullData=null,this.glplot=null,this.stopped=!0,this.camera.mouseListener.enabled=!1,this.mouseContainer.removeEventListener("wheel",this.camera.wheelListener),this.camera=null}},P.plot=function(F,N,T){var D=this.glplot;this.updateRefs(T),this.xaxis.clearCalc(),this.yaxis.clearCalc(),this.updateTraces(F,N),this.updateFx(T.dragmode);var O=T.width,U=T.height;this.updateSize(this.canvas);var B=this.glplotOptions;B.merge(T),B.screenBox=[0,0,O,U];var Y={_fullLayout:{_axisConstraintGroups:T._axisConstraintGroups,xaxis:this.xaxis,yaxis:this.yaxis,_size:T._size}};x(Y,this.xaxis),x(Y,this.yaxis);var z=T._size,V=this.xaxis.domain,j=this.yaxis.domain;B.viewBox=[z.l+V[0]*z.w,z.b+j[0]*z.h,O-z.r-(1-V[1])*z.w,U-z.t-(1-j[1])*z.h],this.mouseContainer.style.width=z.w*(V[1]-V[0])+"px",this.mouseContainer.style.height=z.h*(j[1]-j[0])+"px",this.mouseContainer.height=z.h*(j[1]-j[0]),this.mouseContainer.style.left=z.l+V[0]*z.w+"px",this.mouseContainer.style.top=z.t+(1-j[1])*z.h+"px";var G,W;for(W=0;W<2;++W)G=this[A[W]],G._length=B.viewBox[W+2]-B.viewBox[W],y(this.graphDiv,G),G.setScale();b(Y),B.ticks=this.computeTickMarks(),B.dataBox=this.calcDataBox(),B.merge(T),D.update(B),this.glplot.draw()},P.calcDataBox=function(){var F=this.xaxis,N=this.yaxis,T=F.range,D=N.range,O=F.r2l,U=N.r2l;return[O(T[0]),U(D[0]),O(T[1]),U(D[1])]},P.setRanges=function(F){var N=this.xaxis,T=this.yaxis,D=N.l2r,O=T.l2r;N.range=[D(F[0]),D(F[2])],T.range=[O(F[1]),O(F[3])]},P.updateTraces=function(F,N){var T=Object.keys(this.traces),D,O,U;this.fullData=F;e:for(D=0;D<T.length;D++){var B=T[D],Y=this.traces[B];for(O=0;O<F.length;O++)if(U=F[O],U.uid===B&&U.type===Y.type)continue e;Y.dispose(),delete this.traces[B]}for(D=0;D<F.length;D++){U=F[D];var z=N[D],V=this.traces[U.uid];V?V.update(U,z):(V=U._module.plot(this,U,z),this.traces[U.uid]=V)}this.glplot.objects.sort(function(j,G){return j._trace.index-G._trace.index})},P.updateFx=function(F){R(F)||w(F)?(this.pickCanvas.style["pointer-events"]="none",this.mouseContainer.style["pointer-events"]="none"):(this.pickCanvas.style["pointer-events"]="auto",this.mouseContainer.style["pointer-events"]="auto"),F==="pan"?this.mouseContainer.style.cursor="move":F==="zoom"?this.mouseContainer.style.cursor="crosshair":this.mouseContainer.style.cursor=null},P.emitPointAction=function(F,N){for(var T=F.trace.uid,D=F.pointIndex,O,U=0;U<this.fullData.length;U++)this.fullData[U].uid===T&&(O=this.fullData[U]);var B={x:F.traceCoord[0],y:F.traceCoord[1],curveNumber:O.index,pointNumber:D,data:O._input,fullData:this.fullData,xaxis:this.xaxis,yaxis:this.yaxis};i.appendArrayPointValue(B,O,D),this.graphDiv.emit(N,{points:[B]})},P.draw=function(){if(!this.stopped){requestAnimationFrame(this.redraw);var F=this.glplot,N=this.camera,T=N.mouseListener,D=this.lastButtonState===1&&T.buttons===0,O=this.fullLayout;this.lastButtonState=T.buttons,this.cameraChanged();var U=T.x*F.pixelRatio,B=this.canvas.height-F.pixelRatio*T.y,Y;if(N.boxEnabled&&O.dragmode==="zoom"){this.selectBox.enabled=!0;for(var z=this.selectBox.selectBox=[Math.min(N.boxStart[0],N.boxEnd[0]),Math.min(N.boxStart[1],N.boxEnd[1]),Math.max(N.boxStart[0],N.boxEnd[0]),Math.max(N.boxStart[1],N.boxEnd[1])],V=0;V<2;V++)N.boxStart[V]===N.boxEnd[V]&&(z[V]=F.dataBox[V],z[V+2]=F.dataBox[V+2]);F.setDirty()}else if(!N.panning&&this.isMouseOver){this.selectBox.enabled=!1;var j=O._size,G=this.xaxis.domain,W=this.yaxis.domain;Y=F.pick(U/F.pixelRatio+j.l+G[0]*j.w,B/F.pixelRatio-(j.t+(1-W[1])*j.h));var X=Y&&Y.object._trace.handlePick(Y);if(X&&D&&this.emitPointAction(X,"plotly_click"),Y&&Y.object._trace.hoverinfo!=="skip"&&O.hovermode&&X&&(!this.lastPickResult||this.lastPickResult.traceUid!==X.trace.uid||this.lastPickResult.dataCoord[0]!==X.dataCoord[0]||this.lastPickResult.dataCoord[1]!==X.dataCoord[1])){var Q=X;this.lastPickResult={traceUid:X.trace?X.trace.uid:null,dataCoord:X.dataCoord.slice()},this.spikes.update({center:Y.dataCoord}),Q.screenCoord=[((F.viewBox[2]-F.viewBox[0])*(Y.dataCoord[0]-F.dataBox[0])/(F.dataBox[2]-F.dataBox[0])+F.viewBox[0])/F.pixelRatio,(this.canvas.height-(F.viewBox[3]-F.viewBox[1])*(Y.dataCoord[1]-F.dataBox[1])/(F.dataBox[3]-F.dataBox[1])-F.viewBox[1])/F.pixelRatio],this.emitPointAction(X,"plotly_hover");var ae=this.fullData[Q.trace.index]||{},ie=Q.pointIndex,he=i.castHoverinfo(ae,O,ie);if(he&&he!=="all"){var J=he.split("+");J.indexOf("x")===-1&&(Q.traceCoord[0]=void 0),J.indexOf("y")===-1&&(Q.traceCoord[1]=void 0),J.indexOf("z")===-1&&(Q.traceCoord[2]=void 0),J.indexOf("text")===-1&&(Q.textLabel=void 0),J.indexOf("name")===-1&&(Q.name=void 0)}i.loneHover({x:Q.screenCoord[0],y:Q.screenCoord[1],xLabel:this.hoverFormatter("xaxis",Q.traceCoord[0]),yLabel:this.hoverFormatter("yaxis",Q.traceCoord[1]),zLabel:Q.traceCoord[2],text:Q.textLabel,name:Q.name,color:i.castHoverOption(ae,ie,"bgcolor")||Q.color,borderColor:i.castHoverOption(ae,ie,"bordercolor"),fontFamily:i.castHoverOption(ae,ie,"font.family"),fontSize:i.castHoverOption(ae,ie,"font.size"),fontColor:i.castHoverOption(ae,ie,"font.color"),nameLength:i.castHoverOption(ae,ie,"namelength"),textAlign:i.castHoverOption(ae,ie,"align")},{container:this.svgContainer,gd:this.graphDiv})}}Y||this.unhover(),F.draw()}},P.unhover=function(){this.lastPickResult&&(this.spikes.update({}),this.lastPickResult=null,this.graphDiv.emit("plotly_unhover"),i.loneUnhover(this.svgContainer))},P.hoverFormatter=function(F,N){if(N!==void 0){var T=this[F];return v.tickText(T,T.c2l(N),"hover").text}}},12536:function(u,h,a){var l=a(67824).overrideAll,v=a(65460),i=a(98432),S=a(84888).op,g=a(3400),p=a(9616),_="gl3d",c="scene";h.name=_,h.attr=c,h.idRoot=c,h.idRegex=h.attrRegex=g.counterRegex("scene"),h.attributes=a(6636),h.layoutAttributes=a(346),h.baseLayoutAttrOverrides=l({hoverlabel:v.hoverlabel},"plot","nested"),h.supplyLayoutDefaults=a(5208),h.plot=function(d){for(var f=d._fullLayout,b=d._fullData,x=f._subplots[_],y=0;y<x.length;y++){var C=x[y],w=S(b,_,C),R=f[C],A=R.camera,E=R._scene;E||(E=new i({id:C,graphDiv:d,container:d.querySelector(".gl-container"),staticPlot:d._context.staticPlot,plotGlPixelRatio:d._context.plotGlPixelRatio,camera:A},f),R._scene=E),E.viewInitial||(E.viewInitial={up:{x:A.up.x,y:A.up.y,z:A.up.z},eye:{x:A.eye.x,y:A.eye.y,z:A.eye.z},center:{x:A.center.x,y:A.center.y,z:A.center.z}}),E.plot(w,f,d.layout)}},h.clean=function(s,d,f,b){for(var x=b._subplots[_]||[],y=0;y<x.length;y++){var C=x[y];!d[C]&&b[C]._scene&&(b[C]._scene.destroy(),b._infolayer&&b._infolayer.selectAll(".annotation-"+C).remove())}},h.toSVG=function(s){for(var d=s._fullLayout,f=d._subplots[_],b=d._size,x=0;x<f.length;x++){var y=d[f[x]],C=y.domain,w=y._scene,R=w.toImage("png"),A=d._glimages.append("svg:image");A.attr({xmlns:p.svg,"xlink:href":R,x:b.l+b.w*C.x[0],y:b.t+b.h*(1-C.y[1]),width:b.w*(C.x[1]-C.x[0]),height:b.h*(C.y[1]-C.y[0]),preserveAspectRatio:"none"}),w.destroy()}},h.cleanId=function(d){if(d.match(/^scene[0-9]*$/)){var f=d.substr(5);return f==="1"&&(f=""),c+f}},h.updateFx=function(s){for(var d=s._fullLayout,f=d._subplots[_],b=0;b<f.length;b++){var x=d[f[b]]._scene;x.updateFx(d.dragmode,d.hovermode)}}},6636:function(u){u.exports={scene:{valType:"subplotid",dflt:"scene",editType:"calc+clearAxisTypes"}}},86140:function(u,h,a){var l=a(76308),v=a(94724),i=a(92880).extendFlat,S=a(67824).overrideAll;u.exports=S({visible:v.visible,showspikes:{valType:"boolean",dflt:!0},spikesides:{valType:"boolean",dflt:!0},spikethickness:{valType:"number",min:0,dflt:2},spikecolor:{valType:"color",dflt:l.defaultLine},showbackground:{valType:"boolean",dflt:!1},backgroundcolor:{valType:"color",dflt:"rgba(204, 204, 204, 0.5)"},showaxeslabels:{valType:"boolean",dflt:!0},color:v.color,categoryorder:v.categoryorder,categoryarray:v.categoryarray,title:{text:v.title.text,font:v.title.font},type:i({},v.type,{values:["-","linear","log","date","category"]}),autotypenumbers:v.autotypenumbers,autorange:v.autorange,autorangeoptions:{minallowed:v.autorangeoptions.minallowed,maxallowed:v.autorangeoptions.maxallowed,clipmin:v.autorangeoptions.clipmin,clipmax:v.autorangeoptions.clipmax,include:v.autorangeoptions.include,editType:"plot"},rangemode:v.rangemode,minallowed:v.minallowed,maxallowed:v.maxallowed,range:i({},v.range,{items:[{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}}],anim:!1}),tickmode:v.minor.tickmode,nticks:v.nticks,tick0:v.tick0,dtick:v.dtick,tickvals:v.tickvals,ticktext:v.ticktext,ticks:v.ticks,mirror:v.mirror,ticklen:v.ticklen,tickwidth:v.tickwidth,tickcolor:v.tickcolor,showticklabels:v.showticklabels,labelalias:v.labelalias,tickfont:v.tickfont,tickangle:v.tickangle,tickprefix:v.tickprefix,showtickprefix:v.showtickprefix,ticksuffix:v.ticksuffix,showticksuffix:v.showticksuffix,showexponent:v.showexponent,exponentformat:v.exponentformat,minexponent:v.minexponent,separatethousands:v.separatethousands,tickformat:v.tickformat,tickformatstops:v.tickformatstops,hoverformat:v.hoverformat,showline:v.showline,linecolor:v.linecolor,linewidth:v.linewidth,showgrid:v.showgrid,gridcolor:i({},v.gridcolor,{dflt:"rgb(204, 204, 204)"}),gridwidth:v.gridwidth,zeroline:v.zeroline,zerolinecolor:v.zerolinecolor,zerolinewidth:v.zerolinewidth,_deprecated:{title:v._deprecated.title,titlefont:v._deprecated.titlefont}},"plot","from-root")},64380:function(u,h,a){var l=a(49760).mix,v=a(3400),i=a(31780),S=a(86140),g=a(14944),p=a(28336),_=["xaxis","yaxis","zaxis"],c=100*136/187;u.exports=function(d,f,b){var x,y;function C(A,E){return v.coerce(x,y,S,A,E)}for(var w=0;w<_.length;w++){var R=_[w];x=d[R]||{},y=i.newContainer(f,R),y._id=R[0]+b.scene,y._name=R,g(x,y,C,b),p(x,y,C,{font:b.font,letter:R[0],data:b.data,showGrid:!0,noAutotickangles:!0,noTickson:!0,noTicklabelmode:!0,noTicklabelstep:!0,noTicklabelposition:!0,noTicklabeloverflow:!0,noInsiderange:!0,bgColor:b.bgColor,calendar:b.calendar},b.fullLayout),C("gridcolor",l(y.color,b.bgColor,c).toRgbString()),C("title.text",R[0]),y.setScale=v.noop,C("showspikes")&&(C("spikesides"),C("spikethickness"),C("spikecolor",y.color)),C("showaxeslabels"),C("showbackground")&&C("backgroundcolor")}}},44728:function(u,h,a){var l=a(43080),v=a(3400),i=["xaxis","yaxis","zaxis"];function S(){this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[18,18,18],this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont=["Open Sans","Open Sans","Open Sans"],this.labelSize=[20,20,20],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[30,30,30],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[10,10,10],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!0,!0,!0],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._defaultTickPad=this.tickPad.slice(),this._defaultLabelPad=this.labelPad.slice(),this._defaultLineTickLength=this.lineTickLength.slice()}var g=S.prototype;g.merge=function(_,c){for(var s=this,d=0;d<3;++d){var f=c[i[d]];if(!f.visible){s.tickEnable[d]=!1,s.labelEnable[d]=!1,s.lineEnable[d]=!1,s.lineTickEnable[d]=!1,s.gridEnable[d]=!1,s.zeroEnable[d]=!1,s.backgroundEnable[d]=!1;continue}s.labels[d]=_._meta?v.templateString(f.title.text,_._meta):f.title.text,"font"in f.title&&(f.title.font.color&&(s.labelColor[d]=l(f.title.font.color)),f.title.font.family&&(s.labelFont[d]=f.title.font.family),f.title.font.size&&(s.labelSize[d]=f.title.font.size)),"showline"in f&&(s.lineEnable[d]=f.showline),"linecolor"in f&&(s.lineColor[d]=l(f.linecolor)),"linewidth"in f&&(s.lineWidth[d]=f.linewidth),"showgrid"in f&&(s.gridEnable[d]=f.showgrid),"gridcolor"in f&&(s.gridColor[d]=l(f.gridcolor)),"gridwidth"in f&&(s.gridWidth[d]=f.gridwidth),f.type==="log"?s.zeroEnable[d]=!1:"zeroline"in f&&(s.zeroEnable[d]=f.zeroline),"zerolinecolor"in f&&(s.zeroLineColor[d]=l(f.zerolinecolor)),"zerolinewidth"in f&&(s.zeroLineWidth[d]=f.zerolinewidth),"ticks"in f&&f.ticks?s.lineTickEnable[d]=!0:s.lineTickEnable[d]=!1,"ticklen"in f&&(s.lineTickLength[d]=s._defaultLineTickLength[d]=f.ticklen),"tickcolor"in f&&(s.lineTickColor[d]=l(f.tickcolor)),"tickwidth"in f&&(s.lineTickWidth[d]=f.tickwidth),"tickangle"in f&&(s.tickAngle[d]=f.tickangle==="auto"?-3600:Math.PI*-f.tickangle/180),"showticklabels"in f&&(s.tickEnable[d]=f.showticklabels),"tickfont"in f&&(f.tickfont.color&&(s.tickColor[d]=l(f.tickfont.color)),f.tickfont.family&&(s.tickFont[d]=f.tickfont.family),f.tickfont.size&&(s.tickSize[d]=f.tickfont.size)),"mirror"in f?["ticks","all","allticks"].indexOf(f.mirror)!==-1?(s.lineTickMirror[d]=!0,s.lineMirror[d]=!0):f.mirror===!0?(s.lineTickMirror[d]=!1,s.lineMirror[d]=!0):(s.lineTickMirror[d]=!1,s.lineMirror[d]=!1):s.lineMirror[d]=!1,"showbackground"in f&&f.showbackground!==!1?(s.backgroundEnable[d]=!0,s.backgroundColor[d]=l(f.backgroundcolor)):s.backgroundEnable[d]=!1}};function p(_,c){var s=new S;return s.merge(_,c),s}u.exports=p},5208:function(u,h,a){var l=a(3400),v=a(76308),i=a(24040),S=a(168),g=a(64380),p=a(346),_=a(84888).op,c="gl3d";u.exports=function(f,b,x){var y=b._basePlotModules.length>1;function C(w){if(!y){var R=l.validate(f[w],p[w]);if(R)return f[w]}}S(f,b,x,{type:c,attributes:p,handleDefaults:s,fullLayout:b,font:b.font,fullData:x,getDfltFromLayout:C,autotypenumbersDflt:b.autotypenumbers,paper_bgcolor:b.paper_bgcolor,calendar:b.calendar})};function s(d,f,b,x){for(var y=b("bgcolor"),C=v.combine(y,x.paper_bgcolor),w=["up","center","eye"],R=0;R<w.length;R++)b("camera."+w[R]+".x"),b("camera."+w[R]+".y"),b("camera."+w[R]+".z");b("camera.projection.type");var A=!!b("aspectratio.x")&&!!b("aspectratio.y")&&!!b("aspectratio.z"),E=A?"manual":"auto",k=b("aspectmode",E);A||(d.aspectratio=f.aspectratio={x:1,y:1,z:1},k==="manual"&&(f.aspectmode="auto"),d.aspectmode=f.aspectmode);var L=_(x.fullData,c,x.id);g(d,f,{font:x.font,scene:x.id,data:L,bgColor:C,calendar:x.calendar,autotypenumbersDflt:x.autotypenumbersDflt,fullLayout:x.fullLayout}),i.getComponentMethod("annotations3d","handleDefaults")(d,f,x);var I=x.getDfltFromLayout("dragmode");if(I!==!1&&!I)if(I="orbit",d.camera&&d.camera.up){var P=d.camera.up.x,M=d.camera.up.y,F=d.camera.up.z;F!==0&&(!P||!M||!F||F/Math.sqrt(P*P+M*M+F*F)>.999)&&(I="turntable")}else I="turntable";b("dragmode",I),b("hovermode",x.getDfltFromLayout("hovermode"))}},346:function(u,h,a){var l=a(86140),v=a(86968).u,i=a(92880).extendFlat,S=a(3400).counterRegex;function g(p,_,c){return{x:{valType:"number",dflt:p,editType:"camera"},y:{valType:"number",dflt:_,editType:"camera"},z:{valType:"number",dflt:c,editType:"camera"},editType:"camera"}}u.exports={_arrayAttrRegexps:[S("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:i(g(0,0,1),{}),center:i(g(0,0,0),{}),eye:i(g(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:v({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:l,yaxis:l,zaxis:l,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot",_deprecated:{cameraposition:{valType:"info_array",editType:"camera"}}}},9020:function(u,h,a){var l=a(43080),v=["xaxis","yaxis","zaxis"];function i(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}var S=i.prototype;S.merge=function(p){for(var _=0;_<3;++_){var c=p[v[_]];if(!c.visible){this.enabled[_]=!1,this.drawSides[_]=!1;continue}this.enabled[_]=c.showspikes,this.colors[_]=l(c.spikecolor),this.drawSides[_]=c.spikesides,this.lineWidth[_]=c.spikethickness}};function g(p){var _=new i;return _.merge(p),_}u.exports=g},87152:function(u,h,a){u.exports=g;var l=a(54460),v=a(3400),i=["xaxis","yaxis","zaxis"];function S(p){for(var _=new Array(3),c=0;c<3;++c){for(var s=p[c],d=new Array(s.length),f=0;f<s.length;++f)d[f]=s[f].x;_[c]=d}return _}function g(p){for(var _=p.axesOptions,c=p.glplot.axesPixels,s=p.fullSceneLayout,d=[[],[],[]],f=0;f<3;++f){var b=s[i[f]];if(b._length=(c[f].hi-c[f].lo)*c[f].pixelsPerDataUnit/p.dataScale[f],Math.abs(b._length)===1/0||isNaN(b._length))d[f]=[];else{b._input_range=b.range.slice(),b.range[0]=c[f].lo/p.dataScale[f],b.range[1]=c[f].hi/p.dataScale[f],b._m=1/(p.dataScale[f]*c[f].pixelsPerDataUnit),b.range[0]===b.range[1]&&(b.range[0]-=1,b.range[1]+=1);var x=b.tickmode;if(b.tickmode==="auto"){b.tickmode="linear";var y=b.nticks||v.constrain(b._length/40,4,9);l.autoTicks(b,Math.abs(b.range[1]-b.range[0])/y)}for(var C=l.calcTicks(b,{msUTC:!0}),w=0;w<C.length;++w)C[w].x=C[w].x*p.dataScale[f],b.type==="date"&&(C[w].text=C[w].text.replace(/\<br\>/g," "));d[f]=C,b.tickmode=x}}_.ticks=d;for(var f=0;f<3;++f){.5*(p.glplot.bounds[0][f]+p.glplot.bounds[1][f]);for(var w=0;w<2;++w)_.bounds[w][f]=p.glplot.bounds[w][f]}p.contourLevels=S(d)}},94424:function(u){function h(l,v){var i=[0,0,0,0],S,g;for(S=0;S<4;++S)for(g=0;g<4;++g)i[g]+=l[4*S+g]*v[S];return i}function a(l,v){var i=h(l.projection,h(l.view,h(l.model,[v[0],v[1],v[2],1])));return i}u.exports=a},98432:function(u,h,a){var l=a(67792).gl_plot3d,v=l.createCamera,i=l.createScene,S=a(5408),g=a(89184),p=a(24040),_=a(3400),c=_.preserveDrawingBuffer(),s=a(54460),d=a(93024),f=a(43080),b=a(16576),x=a(94424),y=a(44728),C=a(9020),w=a(87152),R=a(19280).applyAutorangeOptions,A,E,k=!1;function L(B,Y){var z=document.createElement("div"),V=B.container;this.graphDiv=B.graphDiv;var j=document.createElementNS("http://www.w3.org/2000/svg","svg");j.style.position="absolute",j.style.top=j.style.left="0px",j.style.width=j.style.height="100%",j.style["z-index"]=20,j.style["pointer-events"]="none",z.appendChild(j),this.svgContainer=j,z.id=B.id,z.style.position="absolute",z.style.top=z.style.left="0px",z.style.width=z.style.height="100%",V.appendChild(z),this.fullLayout=Y,this.id=B.id||"scene",this.fullSceneLayout=Y[this.id],this.plotArgs=[[],{},{}],this.axesOptions=y(Y,Y[this.id]),this.spikeOptions=C(Y[this.id]),this.container=z,this.staticMode=!!B.staticPlot,this.pixelRatio=this.pixelRatio||B.plotGlPixelRatio||2,this.dataScale=[1,1,1],this.contourLevels=[[],[],[]],this.convertAnnotations=p.getComponentMethod("annotations3d","convert"),this.drawAnnotations=p.getComponentMethod("annotations3d","draw"),this.initializeGLPlot()}var I=L.prototype;I.prepareOptions=function(){var B=this,Y={canvas:B.canvas,gl:B.gl,glOptions:{preserveDrawingBuffer:c,premultipliedAlpha:!0,antialias:!0},container:B.container,axes:B.axesOptions,spikes:B.spikeOptions,pickRadius:10,snapToData:!0,autoScale:!0,autoBounds:!1,cameraObject:B.camera,pixelRatio:B.pixelRatio};if(B.staticMode){if(!E&&(A=document.createElement("canvas"),E=S({canvas:A,preserveDrawingBuffer:!0,premultipliedAlpha:!0,antialias:!0}),!E))throw new Error("error creating static canvas/context for image server");Y.gl=E,Y.canvas=A}return Y};var P=!0;I.tryCreatePlot=function(){var B=this,Y=B.prepareOptions(),z=!0;try{B.glplot=i(Y)}catch{if(B.staticMode||!P||c)z=!1;else{_.warn(["webgl setup failed possibly due to","false preserveDrawingBuffer config.","The mobile/tablet device may not be detected by is-mobile module.","Enabling preserveDrawingBuffer in second attempt to create webgl scene..."].join(" "));try{c=Y.glOptions.preserveDrawingBuffer=!0,B.glplot=i(Y)}catch{c=Y.glOptions.preserveDrawingBuffer=!1,z=!1}}}return P=!1,z},I.initializeGLCamera=function(){var B=this,Y=B.fullSceneLayout.camera,z=Y.projection.type==="orthographic";B.camera=v(B.container,{center:[Y.center.x,Y.center.y,Y.center.z],eye:[Y.eye.x,Y.eye.y,Y.eye.z],up:[Y.up.x,Y.up.y,Y.up.z],_ortho:z,zoomMin:.01,zoomMax:100,mode:"orbit"})},I.initializeGLPlot=function(){var B=this;B.initializeGLCamera();var Y=B.tryCreatePlot();if(!Y)return b(B);B.traces={},B.make4thDimension();var z=B.graphDiv,V=z.layout,j=function(){var W={};return B.isCameraChanged(V)&&(W[B.id+".camera"]=B.getCamera()),B.isAspectChanged(V)&&(W[B.id+".aspectratio"]=B.glplot.getAspectratio(),V[B.id].aspectmode!=="manual"&&(B.fullSceneLayout.aspectmode=V[B.id].aspectmode=W[B.id+".aspectmode"]="manual")),W},G=function(W){if(W.fullSceneLayout.dragmode!==!1){var X=j();W.saveLayout(V),W.graphDiv.emit("plotly_relayout",X)}};return B.glplot.canvas&&(B.glplot.canvas.addEventListener("mouseup",function(){G(B)}),B.glplot.canvas.addEventListener("touchstart",function(){k=!0}),B.glplot.canvas.addEventListener("wheel",function(W){if(z._context._scrollZoom.gl3d){if(B.camera._ortho){var X=W.deltaX>W.deltaY?1.1:.9090909090909091,Q=B.glplot.getAspectratio();B.glplot.setAspectratio({x:X*Q.x,y:X*Q.y,z:X*Q.z})}G(B)}},g?{passive:!1}:!1),B.glplot.canvas.addEventListener("mousemove",function(){if(B.fullSceneLayout.dragmode!==!1&&B.camera.mouseListener.buttons!==0){var W=j();B.graphDiv.emit("plotly_relayouting",W)}}),B.staticMode||B.glplot.canvas.addEventListener("webglcontextlost",function(W){z&&z.emit&&z.emit("plotly_webglcontextlost",{event:W,layer:B.id})},!1)),B.glplot.oncontextloss=function(){B.recoverContext()},B.glplot.onrender=function(){B.render()},!0},I.render=function(){var B=this,Y=B.graphDiv,z,V=B.svgContainer,j=B.container.getBoundingClientRect();Y._fullLayout._calcInverseTransform(Y);var G=Y._fullLayout._invScaleX,W=Y._fullLayout._invScaleY,X=j.width*G,Q=j.height*W;V.setAttributeNS(null,"viewBox","0 0 "+X+" "+Q),V.setAttributeNS(null,"width",X),V.setAttributeNS(null,"height",Q),w(B),B.glplot.axes.update(B.axesOptions);for(var ae=Object.keys(B.traces),ie=null,he=B.glplot.selection,J=0;J<ae.length;++J)z=B.traces[ae[J]],z.data.hoverinfo!=="skip"&&z.handlePick(he)&&(ie=z),z.setContourLevels&&z.setContourLevels();function Z(Be,Ae,Re){var be=B.fullSceneLayout[Be+"axis"];return be.type!=="log"&&(Ae=be.d2l(Ae)),s.hoverLabelText(be,Ae,Re)}if(ie!==null){var le=x(B.glplot.cameraParams,he.dataCoordinate);z=ie.data;var K=Y._fullData[z.index],te=he.index,ce={xLabel:Z("x",he.traceCoordinate[0],z.xhoverformat),yLabel:Z("y",he.traceCoordinate[1],z.yhoverformat),zLabel:Z("z",he.traceCoordinate[2],z.zhoverformat)},re=d.castHoverinfo(K,B.fullLayout,te),ee=(re||"").split("+"),de=re&&re==="all";!K.hovertemplate&&!de&&(ee.indexOf("x")===-1&&(ce.xLabel=void 0),ee.indexOf("y")===-1&&(ce.yLabel=void 0),ee.indexOf("z")===-1&&(ce.zLabel=void 0),ee.indexOf("text")===-1&&(he.textLabel=void 0),ee.indexOf("name")===-1&&(ie.name=void 0));var oe,fe=[];z.type==="cone"||z.type==="streamtube"?(ce.uLabel=Z("x",he.traceCoordinate[3],z.uhoverformat),(de||ee.indexOf("u")!==-1)&&fe.push("u: "+ce.uLabel),ce.vLabel=Z("y",he.traceCoordinate[4],z.vhoverformat),(de||ee.indexOf("v")!==-1)&&fe.push("v: "+ce.vLabel),ce.wLabel=Z("z",he.traceCoordinate[5],z.whoverformat),(de||ee.indexOf("w")!==-1)&&fe.push("w: "+ce.wLabel),ce.normLabel=he.traceCoordinate[6].toPrecision(3),(de||ee.indexOf("norm")!==-1)&&fe.push("norm: "+ce.normLabel),z.type==="streamtube"&&(ce.divergenceLabel=he.traceCoordinate[7].toPrecision(3),(de||ee.indexOf("divergence")!==-1)&&fe.push("divergence: "+ce.divergenceLabel)),he.textLabel&&fe.push(he.textLabel),oe=fe.join("<br>")):z.type==="isosurface"||z.type==="volume"?(ce.valueLabel=s.hoverLabelText(B._mockAxis,B._mockAxis.d2l(he.traceCoordinate[3]),z.valuehoverformat),fe.push("value: "+ce.valueLabel),he.textLabel&&fe.push(he.textLabel),oe=fe.join("<br>")):oe=he.textLabel;var me={x:he.traceCoordinate[0],y:he.traceCoordinate[1],z:he.traceCoordinate[2],data:K._input,fullData:K,curveNumber:K.index,pointNumber:te};d.appendArrayPointValue(me,K,te),z._module.eventData&&(me=K._module.eventData(me,he,K,{},te));var Te={points:[me]};if(B.fullSceneLayout.hovermode){var we=[];d.loneHover({trace:K,x:(.5+.5*le[0]/le[3])*X,y:(.5-.5*le[1]/le[3])*Q,xLabel:ce.xLabel,yLabel:ce.yLabel,zLabel:ce.zLabel,text:oe,name:ie.name,color:d.castHoverOption(K,te,"bgcolor")||ie.color,borderColor:d.castHoverOption(K,te,"bordercolor"),fontFamily:d.castHoverOption(K,te,"font.family"),fontSize:d.castHoverOption(K,te,"font.size"),fontColor:d.castHoverOption(K,te,"font.color"),nameLength:d.castHoverOption(K,te,"namelength"),textAlign:d.castHoverOption(K,te,"align"),hovertemplate:_.castOption(K,te,"hovertemplate"),hovertemplateLabels:_.extendFlat({},me,ce),eventData:[me]},{container:V,gd:Y,inOut_bbox:we}),me.bbox=we[0]}he.distance<5&&(he.buttons||k)?Y.emit("plotly_click",Te):Y.emit("plotly_hover",Te),this.oldEventData=Te}else d.loneUnhover(V),this.oldEventData&&Y.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;B.drawAnnotations(B)},I.recoverContext=function(){var B=this;B.glplot.dispose();var Y=function(){if(B.glplot.gl.isContextLost()){requestAnimationFrame(Y);return}if(!B.initializeGLPlot()){_.error("Catastrophic and unrecoverable WebGL error. Context lost.");return}B.plot.apply(B,B.plotArgs)};requestAnimationFrame(Y)};var M=["xaxis","yaxis","zaxis"];function F(B,Y,z){for(var V=B.fullSceneLayout,j=0;j<3;j++){var G=M[j],W=G.charAt(0),X=V[G],Q=Y[W],ae=Y[W+"calendar"],ie=Y["_"+W+"length"];if(!_.isArrayOrTypedArray(Q))z[0][j]=Math.min(z[0][j],0),z[1][j]=Math.max(z[1][j],ie-1);else for(var he,J=0;J<(ie||Q.length);J++)if(_.isArrayOrTypedArray(Q[J]))for(var Z=0;Z<Q[J].length;++Z)he=X.d2l(Q[J][Z],0,ae),!isNaN(he)&&isFinite(he)&&(z[0][j]=Math.min(z[0][j],he),z[1][j]=Math.max(z[1][j],he));else he=X.d2l(Q[J],0,ae),!isNaN(he)&&isFinite(he)&&(z[0][j]=Math.min(z[0][j],he),z[1][j]=Math.max(z[1][j],he))}}function N(B,Y){for(var z=B.fullSceneLayout,V=z.annotations||[],j=0;j<3;j++)for(var G=M[j],W=G.charAt(0),X=z[G],Q=0;Q<V.length;Q++){var ae=V[Q];if(ae.visible){var ie=X.r2l(ae[W]);!isNaN(ie)&&isFinite(ie)&&(Y[0][j]=Math.min(Y[0][j],ie),Y[1][j]=Math.max(Y[1][j],ie))}}}I.plot=function(B,Y,z){var V=this;if(V.plotArgs=[B,Y,z],!V.glplot.contextLost){var j,G,W,X,Q,ae,ie=Y[V.id],he=z[V.id];V.fullLayout=Y,V.fullSceneLayout=ie,V.axesOptions.merge(Y,ie),V.spikeOptions.merge(ie),V.setViewport(ie),V.updateFx(ie.dragmode,ie.hovermode),V.camera.enableWheel=V.graphDiv._context._scrollZoom.gl3d,V.glplot.setClearColor(f(ie.bgcolor)),V.setConvert(Q),B?Array.isArray(B)||(B=[B]):B=[];var J=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]];for(W=0;W<B.length;++W)j=B[W],!(j.visible!==!0||j._length===0)&&F(this,j,J);N(this,J);var Z=[1,1,1];for(X=0;X<3;++X)J[1][X]===J[0][X]?Z[X]=1:Z[X]=1/(J[1][X]-J[0][X]);for(V.dataScale=Z,V.convertAnnotations(this),W=0;W<B.length;++W)j=B[W],!(j.visible!==!0||j._length===0)&&(G=V.traces[j.uid],G?G.data.type===j.type?G.update(j):(G.dispose(),G=j._module.plot(this,j),V.traces[j.uid]=G):(G=j._module.plot(this,j),V.traces[j.uid]=G),G.name=j.name);var le=Object.keys(V.traces);e:for(W=0;W<le.length;++W){for(X=0;X<B.length;++X)if(B[X].uid===le[W]&&B[X].visible===!0&&B[X]._length!==0)continue e;G=V.traces[le[W]],G.dispose(),delete V.traces[le[W]]}V.glplot.objects.sort(function(ht,tt){return ht._trace.data.index-tt._trace.data.index});var K=[[0,0,0],[0,0,0]],te={};for(W=0;W<3;++W){Q=ie[M[W]],ae=Q.type,ae in te?(te[ae].acc*=Z[W],te[ae].count+=1):te[ae]={acc:Z[W],count:1};var ce;if(Q.autorange){K[0][W]=1/0,K[1][W]=-1/0;var re=V.glplot.objects,ee=V.fullSceneLayout.annotations||[],de=Q._name.charAt(0);for(X=0;X<re.length;X++){var oe=re[X],fe=oe.bounds,me=oe._trace.data._pad||0;oe.constructor.name==="ErrorBars"&&Q._lowerLogErrorBound?K[0][W]=Math.min(K[0][W],Q._lowerLogErrorBound):K[0][W]=Math.min(K[0][W],fe[0][W]/Z[W]-me),K[1][W]=Math.max(K[1][W],fe[1][W]/Z[W]+me)}for(X=0;X<ee.length;X++){var Te=ee[X];if(Te.visible){var we=Q.r2l(Te[de]);K[0][W]=Math.min(K[0][W],we),K[1][W]=Math.max(K[1][W],we)}}if("rangemode"in Q&&Q.rangemode==="tozero"&&(K[0][W]=Math.min(K[0][W],0),K[1][W]=Math.max(K[1][W],0)),K[0][W]>K[1][W])K[0][W]=-1,K[1][W]=1;else{var Be=K[1][W]-K[0][W];K[0][W]-=Be/32,K[1][W]+=Be/32}if(ce=[K[0][W],K[1][W]],ce=R(ce,Q),K[0][W]=ce[0],K[1][W]=ce[1],Q.isReversed()){var Ae=K[0][W];K[0][W]=K[1][W],K[1][W]=Ae}}else ce=Q.range,K[0][W]=Q.r2l(ce[0]),K[1][W]=Q.r2l(ce[1]);K[0][W]===K[1][W]&&(K[0][W]-=1,K[1][W]+=1),Q.range=[K[0][W],K[1][W]],Q.limitRange(),V.glplot.setBounds(W,{min:Q.range[0]*Z[W],max:Q.range[1]*Z[W]})}var Re,be=ie.aspectmode;if(be==="cube")Re=[1,1,1];else if(be==="manual"){var Pe=ie.aspectratio;Re=[Pe.x,Pe.y,Pe.z]}else if(be==="auto"||be==="data"){var Ke=[1,1,1];for(W=0;W<3;++W){Q=ie[M[W]],ae=Q.type;var ze=te[ae];Ke[W]=Math.pow(ze.acc,1/ze.count)/Z[W]}be==="data"||Math.max.apply(null,Ke)/Math.min.apply(null,Ke)<=4?Re=Ke:Re=[1,1,1]}else throw new Error("scene.js aspectRatio was not one of the enumerated types");ie.aspectratio.x=he.aspectratio.x=Re[0],ie.aspectratio.y=he.aspectratio.y=Re[1],ie.aspectratio.z=he.aspectratio.z=Re[2],V.glplot.setAspectratio(ie.aspectratio),V.viewInitial.aspectratio||(V.viewInitial.aspectratio={x:ie.aspectratio.x,y:ie.aspectratio.y,z:ie.aspectratio.z}),V.viewInitial.aspectmode||(V.viewInitial.aspectmode=ie.aspectmode);var Fe=ie.domain||null,We=Y._size||null;if(Fe&&We){var lt=V.container.style;lt.position="absolute",lt.left=We.l+Fe.x[0]*We.w+"px",lt.top=We.t+(1-Fe.y[1])*We.h+"px",lt.width=We.w*(Fe.x[1]-Fe.x[0])+"px",lt.height=We.h*(Fe.y[1]-Fe.y[0])+"px"}V.glplot.redraw()}},I.destroy=function(){var B=this;B.glplot&&(B.camera.mouseListener.enabled=!1,B.container.removeEventListener("wheel",B.camera.wheelListener),B.camera=null,B.glplot.dispose(),B.container.parentNode.removeChild(B.container),B.glplot=null)};function T(B){return[[B.eye.x,B.eye.y,B.eye.z],[B.center.x,B.center.y,B.center.z],[B.up.x,B.up.y,B.up.z]]}function D(B){return{up:{x:B.up[0],y:B.up[1],z:B.up[2]},center:{x:B.center[0],y:B.center[1],z:B.center[2]},eye:{x:B.eye[0],y:B.eye[1],z:B.eye[2]},projection:{type:B._ortho===!0?"orthographic":"perspective"}}}I.getCamera=function(){var B=this;return B.camera.view.recalcMatrix(B.camera.view.lastT()),D(B.camera)},I.setViewport=function(B){var Y=this,z=B.camera;Y.camera.lookAt.apply(this,T(z)),Y.glplot.setAspectratio(B.aspectratio);var V=z.projection.type==="orthographic",j=Y.camera._ortho;V!==j&&(Y.glplot.redraw(),Y.glplot.clearRGBA(),Y.glplot.dispose(),Y.initializeGLPlot())},I.isCameraChanged=function(B){var Y=this,z=Y.getCamera(),V=_.nestedProperty(B,Y.id+".camera"),j=V.get();function G(ae,ie,he,J){var Z=["up","center","eye"],le=["x","y","z"];return ie[Z[he]]&&ae[Z[he]][le[J]]===ie[Z[he]][le[J]]}var W=!1;if(j===void 0)W=!0;else{for(var X=0;X<3;X++)for(var Q=0;Q<3;Q++)if(!G(z,j,X,Q)){W=!0;break}(!j.projection||z.projection&&z.projection.type!==j.projection.type)&&(W=!0)}return W},I.isAspectChanged=function(B){var Y=this,z=Y.glplot.getAspectratio(),V=_.nestedProperty(B,Y.id+".aspectratio"),j=V.get();return j===void 0||j.x!==z.x||j.y!==z.y||j.z!==z.z},I.saveLayout=function(B){var Y=this,z=Y.fullLayout,V,j,G,W,X,Q,ae=Y.isCameraChanged(B),ie=Y.isAspectChanged(B),he=ae||ie;if(he){var J={};if(ae&&(V=Y.getCamera(),j=_.nestedProperty(B,Y.id+".camera"),G=j.get(),J[Y.id+".camera"]=G),ie&&(W=Y.glplot.getAspectratio(),X=_.nestedProperty(B,Y.id+".aspectratio"),Q=X.get(),J[Y.id+".aspectratio"]=Q),p.call("_storeDirectGUIEdit",B,z._preGUI,J),ae){j.set(V);var Z=_.nestedProperty(z,Y.id+".camera");Z.set(V)}if(ie){X.set(W);var le=_.nestedProperty(z,Y.id+".aspectratio");le.set(W),Y.glplot.redraw()}}return he},I.updateFx=function(B,Y){var z=this,V=z.camera;if(V)if(B==="orbit")V.mode="orbit",V.keyBindingMode="rotate";else if(B==="turntable"){V.up=[0,0,1],V.mode="turntable",V.keyBindingMode="rotate";var j=z.graphDiv,G=j._fullLayout,W=z.fullSceneLayout.camera,X=W.up.x,Q=W.up.y,ae=W.up.z;if(ae/Math.sqrt(X*X+Q*Q+ae*ae)<.999){var ie=z.id+".camera.up",he={x:0,y:0,z:1},J={};J[ie]=he;var Z=j.layout;p.call("_storeDirectGUIEdit",Z,G._preGUI,J),W.up=he,_.nestedProperty(Z,ie).set(he)}}else V.keyBindingMode=B;z.fullSceneLayout.hovermode=Y};function O(B,Y,z){for(var V=0,j=z-1;V<j;++V,--j)for(var G=0;G<Y;++G)for(var W=0;W<4;++W){var X=4*(Y*V+G)+W,Q=4*(Y*j+G)+W,ae=B[X];B[X]=B[Q],B[Q]=ae}}function U(B,Y,z){for(var V=0;V<z;++V)for(var j=0;j<Y;++j){var G=4*(Y*V+j),W=B[G+3];if(W>0)for(var X=255/W,Q=0;Q<3;++Q)B[G+Q]=Math.min(X*B[G+Q],255)}}I.toImage=function(B){var Y=this;B||(B="png"),Y.staticMode&&Y.container.appendChild(A),Y.glplot.redraw();var z=Y.glplot.gl,V=z.drawingBufferWidth,j=z.drawingBufferHeight;z.bindFramebuffer(z.FRAMEBUFFER,null);var G=new Uint8Array(V*j*4);z.readPixels(0,0,V,j,z.RGBA,z.UNSIGNED_BYTE,G),O(G,V,j),U(G,V,j);var W=document.createElement("canvas");W.width=V,W.height=j;var X=W.getContext("2d",{willReadFrequently:!0}),Q=X.createImageData(V,j);Q.data.set(G),X.putImageData(Q,0,0);var ae;switch(B){case"jpeg":ae=W.toDataURL("image/jpeg");break;case"webp":ae=W.toDataURL("image/webp");break;default:ae=W.toDataURL("image/png")}return Y.staticMode&&Y.container.removeChild(A),ae},I.setConvert=function(){for(var B=this,Y=0;Y<3;Y++){var z=B.fullSceneLayout[M[Y]];s.setConvert(z,B.fullLayout),z.setScale=_.noop}},I.make4thDimension=function(){var B=this,Y=B.graphDiv,z=Y._fullLayout;B._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},s.setConvert(B._mockAxis,z)},u.exports=L},52094:function(u){u.exports=function(a,l,v,i){i=i||a.length;for(var S=new Array(i),g=0;g<i;g++)S[g]=[a[g],l[g],v[g]];return S}},64859:function(u,h,a){var l=a(25376),v=a(85656),i=a(22548),S=a(92872),g=a(34200),p=a(66741),_=a(92880).extendFlat,c=l({editType:"calc"});c.family.dflt='"Open Sans", verdana, arial, sans-serif',c.size.dflt=12,c.color.dflt=i.defaultLine,u.exports={font:c,title:{text:{valType:"string",editType:"layoutstyle"},font:l({editType:"layoutstyle"}),xref:{valType:"enumerated",dflt:"container",values:["container","paper"],editType:"layoutstyle"},yref:{valType:"enumerated",dflt:"container",values:["container","paper"],editType:"layoutstyle"},x:{valType:"number",min:0,max:1,dflt:.5,editType:"layoutstyle"},y:{valType:"number",min:0,max:1,dflt:"auto",editType:"layoutstyle"},xanchor:{valType:"enumerated",dflt:"auto",values:["auto","left","center","right"],editType:"layoutstyle"},yanchor:{valType:"enumerated",dflt:"auto",values:["auto","top","middle","bottom"],editType:"layoutstyle"},pad:_(p({editType:"layoutstyle"}),{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},editType:"layoutstyle"},uniformtext:{mode:{valType:"enumerated",values:[!1,"hide","show"],dflt:!1,editType:"plot"},minsize:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"plot"},autosize:{valType:"boolean",dflt:!1,editType:"none"},width:{valType:"number",min:10,dflt:700,editType:"plot"},height:{valType:"number",min:10,dflt:450,editType:"plot"},minreducedwidth:{valType:"number",min:2,dflt:64,editType:"plot"},minreducedheight:{valType:"number",min:2,dflt:64,editType:"plot"},margin:{l:{valType:"number",min:0,dflt:80,editType:"plot"},r:{valType:"number",min:0,dflt:80,editType:"plot"},t:{valType:"number",min:0,dflt:100,editType:"plot"},b:{valType:"number",min:0,dflt:80,editType:"plot"},pad:{valType:"number",min:0,dflt:0,editType:"plot"},autoexpand:{valType:"boolean",dflt:!0,editType:"plot"},editType:"plot"},computed:{valType:"any",editType:"none"},paper_bgcolor:{valType:"color",dflt:i.background,editType:"plot"},plot_bgcolor:{valType:"color",dflt:i.background,editType:"layoutstyle"},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",editType:"calc"},separators:{valType:"string",editType:"plot"},hidesources:{valType:"boolean",dflt:!1,editType:"plot"},showlegend:{valType:"boolean",editType:"legend"},colorway:{valType:"colorlist",dflt:i.defaults,editType:"calc"},datarevision:{valType:"any",editType:"calc"},uirevision:{valType:"any",editType:"none"},editrevision:{valType:"any",editType:"none"},selectionrevision:{valType:"any",editType:"none"},template:{valType:"any",editType:"calc"},newshape:S.newshape,activeshape:S.activeshape,newselection:g.newselection,activeselection:g.activeselection,meta:{valType:"any",arrayOk:!0,editType:"plot"},transition:_({},v.transition,{editType:"none"}),_deprecated:{title:{valType:"string",editType:"layoutstyle"},titlefont:l({editType:"layoutstyle"})}}},47552:function(u,h,a){var l=a(95376),v="1.13.4",i='© <a target="_blank" href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',S=['© <a target="_blank" href="https://carto.com/">Carto</a>',i].join(" "),g=['Map tiles by <a target="_blank" href="https://stamen.com">Stamen Design</a>','under <a target="_blank" href="https://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>',"|",'Data by <a target="_blank" href="https://openstreetmap.org">OpenStreetMap</a> contributors','under <a target="_blank" href="https://www.openstreetmap.org/copyright">ODbL</a>'].join(" "),p=['Map tiles by <a target="_blank" href="https://stamen.com">Stamen Design</a>','under <a target="_blank" href="https://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>',"|",'Data by <a target="_blank" href="https://openstreetmap.org">OpenStreetMap</a> contributors','under <a target="_blank" href="https://creativecommons.org/licenses/by-sa/3.0">CC BY SA</a>'].join(" "),_={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:i,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:S,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:S,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:g,tiles:["https://tiles.stadiamaps.com/tiles/stamen_terrain/{z}/{x}/{y}.png?api_key="],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:g,tiles:["https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}.png?api_key="],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:p,tiles:["https://tiles.stadiamaps.com/tiles/stamen_watercolor/{z}/{x}/{y}.jpg?api_key="],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"}},c=l(_);u.exports={requiredVersion:v,styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:_,styleValuesNonMapbox:c,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install @plotly/mapbox-gl@"+v+"."].join(`
`),noAccessTokenErrorMsg:["Missing Mapbox access token.","Mapbox trace type require a Mapbox access token to be registered.","For example:"," Plotly.newPlot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });","More info here: https://www.mapbox.com/help/define-access-token/"].join(`
`),missingStyleErrorMsg:["No valid mapbox style found, please set `mapbox.style` to one of:",c.join(", "),"or register a Mapbox access token to use a Mapbox-served style."].join(`
`),multipleTokensErrorMsg:["Set multiple mapbox access token across different mapbox subplot,","using first token found as mapbox-gl does not allow multipleaccess tokens on the same page."].join(`
`),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":`content: ""; cursor: pointer; position: absolute; background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;`,"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":`display:block; width: 21px; height: 21px; background-image: url('data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E')`}}},89032:function(u,h,a){var l=a(3400);u.exports=function(i,S){var g=i.split(" "),p=g[0],_=g[1],c=l.isArrayOrTypedArray(S)?l.mean(S):S,s=.5+c/100,d=1.5+c/100,f=["",""],b=[0,0];switch(p){case"top":f[0]="top",b[1]=-d;break;case"bottom":f[0]="bottom",b[1]=d;break}switch(_){case"left":f[1]="right",b[0]=-s;break;case"right":f[1]="left",b[0]=s;break}var x;return f[0]&&f[1]?x=f.join("-"):f[0]?x=f[0]:f[1]?x=f[1]:x="center",{anchor:x,offset:b}}},33688:function(u,h,a){var l=a(3480),v=a(3400),i=v.strTranslate,S=v.strScale,g=a(84888).KY,p=a(9616),_=a(33428),c=a(43616),s=a(72736),d=a(14440),f="mapbox",b=h.constants=a(47552);h.name=f,h.attr="subplot",h.idRoot=f,h.idRegex=h.attrRegex=v.counterRegex(f),h.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc"}},h.layoutAttributes=a(5232),h.supplyLayoutDefaults=a(5976),h.plot=function(w){var R=w._fullLayout,A=w.calcdata,E=R._subplots[f];if(l.version!==b.requiredVersion)throw new Error(b.wrongVersionErrorMsg);var k=x(w,E);l.accessToken=k;for(var L=0;L<E.length;L++){var I=E[L],P=g(A,f,I),M=R[I],F=M._subplot;F||(F=new d(w,I),R[I]._subplot=F),F.viewInitial||(F.viewInitial={center:v.extendFlat({},M.center),zoom:M.zoom,bearing:M.bearing,pitch:M.pitch}),F.plot(P,R,w._promises)}},h.clean=function(C,w,R,A){for(var E=A._subplots[f]||[],k=0;k<E.length;k++){var L=E[k];!w[L]&&A[L]._subplot&&A[L]._subplot.destroy()}},h.toSVG=function(C){for(var w=C._fullLayout,R=w._subplots[f],A=w._size,E=0;E<R.length;E++){var k=w[R[E]],L=k.domain,I=k._subplot,P=I.toImage("png"),M=w._glimages.append("svg:image");M.attr({xmlns:p.svg,"xlink:href":P,x:A.l+A.w*L.x[0],y:A.t+A.h*(1-L.y[1]),width:A.w*(L.x[1]-L.x[0]),height:A.h*(L.y[1]-L.y[0]),preserveAspectRatio:"none"});var F=_.select(k._subplot.div),N=F.select(".mapboxgl-ctrl-logo").node().offsetParent===null;if(!N){var T=w._glimages.append("g");T.attr("transform",i(A.l+A.w*L.x[0]+10,A.t+A.h*(1-L.y[0])-31)),T.append("path").attr("d",b.mapboxLogo.path0).style({opacity:.9,fill:"#ffffff","enable-background":"new"}),T.append("path").attr("d",b.mapboxLogo.path1).style("opacity",.35).style("enable-background","new"),T.append("path").attr("d",b.mapboxLogo.path2).style("opacity",.35).style("enable-background","new"),T.append("polygon").attr("points",b.mapboxLogo.polygon).style({opacity:.9,fill:"#ffffff","enable-background":"new"})}var D=F.select(".mapboxgl-ctrl-attrib").text().replace("Improve this map",""),O=w._glimages.append("g"),U=O.append("text");U.text(D).classed("static-attribution",!0).attr({"font-size":12,"font-family":"Arial",color:"rgba(0, 0, 0, 0.75)","text-anchor":"end","data-unformatted":D});var B=c.bBox(U.node()),Y=A.w*(L.x[1]-L.x[0]);if(B.width>Y/2){var z=D.split("|").join("<br>");U.text(z).attr("data-unformatted",z).call(s.convertToTspans,C),B=c.bBox(U.node())}U.attr("transform",i(-3,-B.height+8)),O.insert("rect",".static-attribution").attr({x:-B.width-6,y:-B.height-3,width:B.width+6,height:B.height+3,fill:"rgba(255, 255, 255, 0.75)"});var V=1;B.width+6>Y&&(V=Y/(B.width+6));var j=[A.l+A.w*L.x[1],A.t+A.h*(1-L.y[0])];O.attr("transform",i(j[0],j[1])+S(V))}};function x(C,w){var R=C._fullLayout,A=C._context;if(A.mapboxAccessToken==="")return"";for(var E=[],k=[],L=!1,I=!1,P=0;P<w.length;P++){var M=R[w[P]],F=M.accesstoken;y(M.style)&&(F?v.pushUnique(E,F):(y(M._input.style)&&(v.error("Uses Mapbox map style, but did not set an access token."),L=!0),I=!0)),F&&v.pushUnique(k,F)}if(I){var N=L?b.noAccessTokenErrorMsg:b.missingStyleErrorMsg;throw v.error(N),new Error(N)}return E.length?(E.length>1&&v.warn(b.multipleTokensErrorMsg),E[0]):(k.length&&v.log(["Listed mapbox access token(s)",k.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}function y(C){return typeof C=="string"&&(b.styleValuesMapbox.indexOf(C)!==-1||C.indexOf("mapbox://")===0||C.indexOf("stamen")===0)}h.updateFx=function(C){for(var w=C._fullLayout,R=w._subplots[f],A=0;A<R.length;A++){var E=w[R[A]]._subplot;E.updateFx(w)}}},22360:function(u,h,a){var l=a(3400),v=a(72736).sanitizeHTML,i=a(89032),S=a(47552);function g(d,f){this.subplot=d,this.uid=d.uid+"-"+f,this.index=f,this.idSource="source-"+this.uid,this.idLayer=S.layoutLayerPrefix+this.uid,this.sourceType=null,this.source=null,this.layerType=null,this.below=null,this.visible=!1}var p=g.prototype;p.update=function(f){this.visible?this.needsNewImage(f)?this.updateImage(f):this.needsNewSource(f)?(this.removeLayer(),this.updateSource(f),this.updateLayer(f)):this.needsNewLayer(f)?this.updateLayer(f):this.updateStyle(f):(this.updateSource(f),this.updateLayer(f)),this.visible=_(f)},p.needsNewImage=function(d){var f=this.subplot.map;return f.getSource(this.idSource)&&this.sourceType==="image"&&d.sourcetype==="image"&&(this.source!==d.source||JSON.stringify(this.coordinates)!==JSON.stringify(d.coordinates))},p.needsNewSource=function(d){return this.sourceType!==d.sourcetype||JSON.stringify(this.source)!==JSON.stringify(d.source)||this.layerType!==d.type},p.needsNewLayer=function(d){return this.layerType!==d.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},p.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},p.updateImage=function(d){var f=this.subplot.map;f.getSource(this.idSource).updateImage({url:d.source,coordinates:d.coordinates});var b=this.findFollowingMapboxLayerId(this.lookupBelow());b!==null&&this.subplot.map.moveLayer(this.idLayer,b)},p.updateSource=function(d){var f=this.subplot.map;if(f.getSource(this.idSource)&&f.removeSource(this.idSource),this.sourceType=d.sourcetype,this.source=d.source,!!_(d)){var b=s(d);f.addSource(this.idSource,b)}},p.findFollowingMapboxLayerId=function(d){if(d==="traces")for(var f=this.subplot.getMapLayers(),b=0;b<f.length;b++){var x=f[b].id;if(typeof x=="string"&&x.indexOf(S.traceLayerPrefix)===0){d=x;break}}return d},p.updateLayer=function(d){var f=this.subplot,b=c(d),x=this.lookupBelow(),y=this.findFollowingMapboxLayerId(x);this.removeLayer(),_(d)&&f.addLayer({id:this.idLayer,source:this.idSource,"source-layer":d.sourcelayer||"",type:d.type,minzoom:d.minzoom,maxzoom:d.maxzoom,layout:b.layout,paint:b.paint},y),this.layerType=d.type,this.below=x},p.updateStyle=function(d){if(_(d)){var f=c(d);this.subplot.setOptions(this.idLayer,"setLayoutProperty",f.layout),this.subplot.setOptions(this.idLayer,"setPaintProperty",f.paint)}},p.removeLayer=function(){var d=this.subplot.map;d.getLayer(this.idLayer)&&d.removeLayer(this.idLayer)},p.dispose=function(){var d=this.subplot.map;d.getLayer(this.idLayer)&&d.removeLayer(this.idLayer),d.getSource(this.idSource)&&d.removeSource(this.idSource)};function _(d){if(!d.visible)return!1;var f=d.source;if(Array.isArray(f)&&f.length>0){for(var b=0;b<f.length;b++)if(typeof f[b]!="string"||f[b].length===0)return!1;return!0}return l.isPlainObject(f)||typeof f=="string"&&f.length>0}function c(d){var f={},b={};switch(d.type){case"circle":l.extendFlat(b,{"circle-radius":d.circle.radius,"circle-color":d.color,"circle-opacity":d.opacity});break;case"line":l.extendFlat(b,{"line-width":d.line.width,"line-color":d.color,"line-opacity":d.opacity,"line-dasharray":d.line.dash});break;case"fill":l.extendFlat(b,{"fill-color":d.color,"fill-outline-color":d.fill.outlinecolor,"fill-opacity":d.opacity});break;case"symbol":var x=d.symbol,y=i(x.textposition,x.iconsize);l.extendFlat(f,{"icon-image":x.icon+"-15","icon-size":x.iconsize/10,"text-field":x.text,"text-size":x.textfont.size,"text-anchor":y.anchor,"text-offset":y.offset,"symbol-placement":x.placement}),l.extendFlat(b,{"icon-color":d.color,"text-color":x.textfont.color,"text-opacity":d.opacity});break;case"raster":l.extendFlat(b,{"raster-fade-duration":0,"raster-opacity":d.opacity});break}return{layout:f,paint:b}}function s(d){var f=d.sourcetype,b=d.source,x={type:f},y;return f==="geojson"?y="data":f==="vector"?y=typeof b=="string"?"url":"tiles":f==="raster"?(y="tiles",x.tileSize=256):f==="image"&&(y="url",x.coordinates=d.coordinates),x[y]=b,d.sourceattribution&&(x.attribution=v(d.sourceattribution)),x}u.exports=function(f,b,x){var y=new g(f,b);return y.update(x),y}},5232:function(u,h,a){var l=a(3400),v=a(76308).defaultLine,i=a(86968).u,S=a(25376),g=a(52904).textposition,p=a(67824).overrideAll,_=a(31780).templatedArray,c=a(47552),s=S({});s.family.dflt="Open Sans Regular, Arial Unicode MS Regular";var d=u.exports=p({_arrayAttrRegexps:[l.counterRegex("mapbox",".layers",!0)],domain:i({name:"mapbox"}),accesstoken:{valType:"string",noBlank:!0,strict:!0},style:{valType:"any",values:c.styleValuesMapbox.concat(c.styleValuesNonMapbox),dflt:c.styleValueDflt},center:{lon:{valType:"number",dflt:0},lat:{valType:"number",dflt:0}},zoom:{valType:"number",dflt:1},bearing:{valType:"number",dflt:0},pitch:{valType:"number",dflt:0},bounds:{west:{valType:"number"},east:{valType:"number"},south:{valType:"number"},north:{valType:"number"}},layers:_("layer",{visible:{valType:"boolean",dflt:!0},sourcetype:{valType:"enumerated",values:["geojson","vector","raster","image"],dflt:"geojson"},source:{valType:"any"},sourcelayer:{valType:"string",dflt:""},sourceattribution:{valType:"string"},type:{valType:"enumerated",values:["circle","line","fill","symbol","raster"],dflt:"circle"},coordinates:{valType:"any"},below:{valType:"string"},color:{valType:"color",dflt:v},opacity:{valType:"number",min:0,max:1,dflt:1},minzoom:{valType:"number",min:0,max:24,dflt:0},maxzoom:{valType:"number",min:0,max:24,dflt:24},circle:{radius:{valType:"number",dflt:15}},line:{width:{valType:"number",dflt:2},dash:{valType:"data_array"}},fill:{outlinecolor:{valType:"color",dflt:v}},symbol:{icon:{valType:"string",dflt:"marker"},iconsize:{valType:"number",dflt:10},text:{valType:"string",dflt:""},placement:{valType:"enumerated",values:["point","line","line-center"],dflt:"point"},textfont:s,textposition:l.extendFlat({},g,{arrayOk:!1})}})},"plot","from-root");d.uirevision={valType:"any",editType:"none"}},5976:function(u,h,a){var l=a(3400),v=a(168),i=a(51272),S=a(5232);u.exports=function(c,s,d){v(c,s,d,{type:"mapbox",attributes:S,handleDefaults:g,partition:"y",accessToken:s._mapboxAccessToken})};function g(_,c,s,d){s("accesstoken",d.accessToken),s("style"),s("center.lon"),s("center.lat"),s("zoom"),s("bearing"),s("pitch");var f=s("bounds.west"),b=s("bounds.east"),x=s("bounds.south"),y=s("bounds.north");(f===void 0||b===void 0||x===void 0||y===void 0)&&delete c.bounds,i(_,c,{name:"layers",handleItemDefaults:p}),c._input=_}function p(_,c){function s(C,w){return l.coerce(_,c,S.layers,C,w)}var d=s("visible");if(d){var f=s("sourcetype"),b=f==="raster"||f==="image";s("source"),s("sourceattribution"),f==="vector"&&s("sourcelayer"),f==="image"&&s("coordinates");var x;b&&(x="raster");var y=s("type",x);b&&y!=="raster"&&(y=c.type="raster",l.log("Source types *raster* and *image* must drawn *raster* layer type.")),s("below"),s("color"),s("opacity"),s("minzoom"),s("maxzoom"),y==="circle"&&s("circle.radius"),y==="line"&&(s("line.width"),s("line.dash")),y==="fill"&&s("fill.outlinecolor"),y==="symbol"&&(s("symbol.icon"),s("symbol.iconsize"),s("symbol.text"),l.coerceFont(s,"symbol.textfont"),s("symbol.textposition"),s("symbol.placement"))}}},14440:function(u,h,a){var l=a(3480),v=a(3400),i=a(27144),S=a(24040),g=a(54460),p=a(86476),_=a(93024),c=a(72760),s=c.drawMode,d=c.selectMode,f=a(22676).prepSelect,b=a(22676).clearOutline,x=a(22676).clearSelectionsCache,y=a(22676).selectOnClick,C=a(47552),w=a(22360);function R(P,M){this.id=M,this.gd=P;var F=P._fullLayout,N=P._context;this.container=F._glcontainer.node(),this.isStatic=N.staticPlot,this.uid=F._uid+"-"+this.id,this.div=null,this.xaxis=null,this.yaxis=null,this.createFramework(F),this.map=null,this.accessToken=null,this.styleObj=null,this.traceHash={},this.layerList=[],this.belowLookup={},this.dragging=!1,this.wheeling=!1}var A=R.prototype;A.plot=function(P,M,F){var N=this,T=M[N.id];N.map&&T.accesstoken!==N.accessToken&&(N.map.remove(),N.map=null,N.styleObj=null,N.traceHash={},N.layerList=[]);var D;N.map?D=new Promise(function(O,U){N.updateMap(P,M,O,U)}):D=new Promise(function(O,U){N.createMap(P,M,O,U)}),F.push(D)},A.createMap=function(P,M,F,N){var T=this,D=M[T.id],O=T.styleObj=k(D.style,M);T.accessToken=D.accesstoken;var U=D.bounds,B=U?[[U.west,U.south],[U.east,U.north]]:null,Y=T.map=new l.Map({container:T.div,style:O.style,center:I(D.center),zoom:D.zoom,bearing:D.bearing,pitch:D.pitch,maxBounds:B,interactive:!T.isStatic,preserveDrawingBuffer:T.isStatic,doubleClickZoom:!1,boxZoom:!1,attributionControl:!1}).addControl(new l.AttributionControl({compact:!0}));Y._canvas.style.left="0px",Y._canvas.style.top="0px",T.rejectOnError(N),T.isStatic||T.initFx(P,M);var z=[];z.push(new Promise(function(V){Y.once("load",V)})),z=z.concat(i.fetchTraceGeoData(P)),Promise.all(z).then(function(){T.fillBelowLookup(P,M),T.updateData(P),T.updateLayout(M),T.resolveOnRender(F)}).catch(N)},A.updateMap=function(P,M,F,N){var T=this,D=T.map,O=M[this.id];T.rejectOnError(N);var U=[],B=k(O.style,M);JSON.stringify(T.styleObj)!==JSON.stringify(B)&&(T.styleObj=B,D.setStyle(B.style),T.traceHash={},U.push(new Promise(function(Y){D.once("styledata",Y)}))),U=U.concat(i.fetchTraceGeoData(P)),Promise.all(U).then(function(){T.fillBelowLookup(P,M),T.updateData(P),T.updateLayout(M),T.resolveOnRender(F)}).catch(N)},A.fillBelowLookup=function(P,M){var F=M[this.id],N=F.layers,T,D,O=this.belowLookup={},U=!1;for(T=0;T<P.length;T++){var B=P[T][0].trace,Y=B._module;typeof B.below=="string"?D=B.below:Y.getBelow&&(D=Y.getBelow(B,this)),D===""&&(U=!0),O["trace-"+B.uid]=D||""}for(T=0;T<N.length;T++){var z=N[T];typeof z.below=="string"?D=z.below:U?D="traces":D="",O["layout-"+T]=D}var V={},j,G;for(j in O)D=O[j],V[D]?V[D].push(j):V[D]=[j];for(D in V){var W=V[D];if(W.length>1)for(T=0;T<W.length;T++)j=W[T],j.indexOf("trace-")===0?(G=j.split("trace-")[1],this.traceHash[G]&&(this.traceHash[G].below=null)):j.indexOf("layout-")===0&&(G=j.split("layout-")[1],this.layerList[G]&&(this.layerList[G].below=null))}};var E={choroplethmapbox:0,densitymapbox:1,scattermapbox:2};A.updateData=function(P){var M=this.traceHash,F,N,T,D,O=P.slice().sort(function(V,j){return E[V[0].trace.type]-E[j[0].trace.type]});for(T=0;T<O.length;T++){var U=O[T];N=U[0].trace,F=M[N.uid];var B=!1;F&&(F.type===N.type?(F.update(U),B=!0):F.dispose()),!B&&N._module&&(M[N.uid]=N._module.plot(this,U))}var Y=Object.keys(M);e:for(T=0;T<Y.length;T++){var z=Y[T];for(D=0;D<P.length;D++)if(N=P[D][0].trace,z===N.uid)continue e;F=M[z],F.dispose(),delete M[z]}},A.updateLayout=function(P){var M=this.map,F=P[this.id];!this.dragging&&!this.wheeling&&(M.setCenter(I(F.center)),M.setZoom(F.zoom),M.setBearing(F.bearing),M.setPitch(F.pitch)),this.updateLayers(P),this.updateFramework(P),this.updateFx(P),this.map.resize(),this.gd._context._scrollZoom.mapbox?M.scrollZoom.enable():M.scrollZoom.disable()},A.resolveOnRender=function(P){var M=this.map;M.on("render",function F(){M.loaded()&&(M.off("render",F),setTimeout(P,10))})},A.rejectOnError=function(P){var M=this.map;function F(){P(new Error(C.mapOnErrorMsg))}M.once("error",F),M.once("style.error",F),M.once("source.error",F),M.once("tile.error",F),M.once("layer.error",F)},A.createFramework=function(P){var M=this,F=M.div=document.createElement("div");F.id=M.uid,F.style.position="absolute",M.container.appendChild(F),M.xaxis={_id:"x",c2p:function(N){return M.project(N).x}},M.yaxis={_id:"y",c2p:function(N){return M.project(N).y}},M.updateFramework(P),M.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},g.setConvert(M.mockAxis,P)},A.initFx=function(P,M){var F=this,N=F.gd,T=F.map;T.on("moveend",function(U){if(F.map){var B=N._fullLayout;if(U.originalEvent||F.wheeling){var Y=B[F.id];S.call("_storeDirectGUIEdit",N.layout,B._preGUI,F.getViewEdits(Y));var z=F.getView();Y._input.center=Y.center=z.center,Y._input.zoom=Y.zoom=z.zoom,Y._input.bearing=Y.bearing=z.bearing,Y._input.pitch=Y.pitch=z.pitch,N.emit("plotly_relayout",F.getViewEditsWithDerived(z))}U.originalEvent&&U.originalEvent.type==="mouseup"?F.dragging=!1:F.wheeling&&(F.wheeling=!1),B._rehover&&B._rehover()}}),T.on("wheel",function(){F.wheeling=!0}),T.on("mousemove",function(U){var B=F.div.getBoundingClientRect(),Y=[U.originalEvent.offsetX,U.originalEvent.offsetY];U.target.getBoundingClientRect=function(){return B},F.xaxis.p2c=function(){return T.unproject(Y).lng},F.yaxis.p2c=function(){return T.unproject(Y).lat},N._fullLayout._rehover=function(){N._fullLayout._hoversubplot===F.id&&N._fullLayout[F.id]&&_.hover(N,U,F.id)},_.hover(N,U,F.id),N._fullLayout._hoversubplot=F.id});function D(){_.loneUnhover(M._hoverlayer)}T.on("dragstart",function(){F.dragging=!0,D()}),T.on("zoomstart",D),T.on("mouseout",function(){N._fullLayout._hoversubplot=null});function O(){var U=F.getView();N.emit("plotly_relayouting",F.getViewEditsWithDerived(U))}T.on("drag",O),T.on("zoom",O),T.on("dblclick",function(){var U=N._fullLayout[F.id];S.call("_storeDirectGUIEdit",N.layout,N._fullLayout._preGUI,F.getViewEdits(U));var B=F.viewInitial;T.setCenter(I(B.center)),T.setZoom(B.zoom),T.setBearing(B.bearing),T.setPitch(B.pitch);var Y=F.getView();U._input.center=U.center=Y.center,U._input.zoom=U.zoom=Y.zoom,U._input.bearing=U.bearing=Y.bearing,U._input.pitch=U.pitch=Y.pitch,N.emit("plotly_doubleclick",null),N.emit("plotly_relayout",F.getViewEditsWithDerived(Y))}),F.clearOutline=function(){x(F.dragOptions),b(F.dragOptions.gd)},F.onClickInPanFn=function(U){return function(B){var Y=N._fullLayout.clickmode;Y.indexOf("select")>-1&&y(B.originalEvent,N,[F.xaxis],[F.yaxis],F.id,U),Y.indexOf("event")>-1&&_.click(N,B.originalEvent)}}},A.updateFx=function(P){var M=this,F=M.map,N=M.gd;if(M.isStatic)return;function T(B){var Y=M.map.unproject(B);return[Y.lng,Y.lat]}var D=P.dragmode,O;O=function(B,Y){if(Y.isRect){var z=B.range={};z[M.id]=[T([Y.xmin,Y.ymin]),T([Y.xmax,Y.ymax])]}else{var V=B.lassoPoints={};V[M.id]=Y.map(T)}};var U=M.dragOptions;M.dragOptions=v.extendDeep(U||{},{dragmode:P.dragmode,element:M.div,gd:N,plotinfo:{id:M.id,domain:P[M.id].domain,xaxis:M.xaxis,yaxis:M.yaxis,fillRangeItems:O},xaxes:[M.xaxis],yaxes:[M.yaxis],subplot:M.id}),F.off("click",M.onClickInPanHandler),d(D)||s(D)?(F.dragPan.disable(),F.on("zoomstart",M.clearOutline),M.dragOptions.prepFn=function(B,Y,z){f(B,Y,z,M.dragOptions,D)},p.init(M.dragOptions)):(F.dragPan.enable(),F.off("zoomstart",M.clearOutline),M.div.onmousedown=null,M.div.ontouchstart=null,M.div.removeEventListener("touchstart",M.div._ontouchstart),M.onClickInPanHandler=M.onClickInPanFn(M.dragOptions),F.on("click",M.onClickInPanHandler))},A.updateFramework=function(P){var M=P[this.id].domain,F=P._size,N=this.div.style;N.width=F.w*(M.x[1]-M.x[0])+"px",N.height=F.h*(M.y[1]-M.y[0])+"px",N.left=F.l+M.x[0]*F.w+"px",N.top=F.t+(1-M.y[1])*F.h+"px",this.xaxis._offset=F.l+M.x[0]*F.w,this.xaxis._length=F.w*(M.x[1]-M.x[0]),this.yaxis._offset=F.t+(1-M.y[1])*F.h,this.yaxis._length=F.h*(M.y[1]-M.y[0])},A.updateLayers=function(P){var M=P[this.id],F=M.layers,N=this.layerList,T;if(F.length!==N.length){for(T=0;T<N.length;T++)N[T].dispose();for(N=this.layerList=[],T=0;T<F.length;T++)N.push(w(this,T,F[T]))}else for(T=0;T<F.length;T++)N[T].update(F[T])},A.destroy=function(){this.map&&(this.map.remove(),this.map=null,this.container.removeChild(this.div))},A.toImage=function(){return this.map.stop(),this.map.getCanvas().toDataURL()},A.setOptions=function(P,M,F){for(var N in F)this.map[M](P,N,F[N])},A.getMapLayers=function(){return this.map.getStyle().layers},A.addLayer=function(P,M){var F=this.map;if(typeof M=="string"){if(M===""){F.addLayer(P,M);return}for(var N=this.getMapLayers(),T=0;T<N.length;T++)if(M===N[T].id){F.addLayer(P,M);return}v.warn(["Trying to add layer with *below* value",M,"referencing a layer that does not exist","or that does not yet exist."].join(" "))}F.addLayer(P)},A.project=function(P){return this.map.project(new l.LngLat(P[0],P[1]))},A.getView=function(){var P=this.map,M=P.getCenter(),F=M.lng,N=M.lat,T={lon:F,lat:N},D=P.getCanvas(),O=parseInt(D.style.width),U=parseInt(D.style.height);return{center:T,zoom:P.getZoom(),bearing:P.getBearing(),pitch:P.getPitch(),_derived:{coordinates:[P.unproject([0,0]).toArray(),P.unproject([O,0]).toArray(),P.unproject([O,U]).toArray(),P.unproject([0,U]).toArray()]}}},A.getViewEdits=function(P){for(var M=this.id,F=["center","zoom","bearing","pitch"],N={},T=0;T<F.length;T++){var D=F[T];N[M+"."+D]=P[D]}return N},A.getViewEditsWithDerived=function(P){var M=this.id,F=this.getViewEdits(P);return F[M+"._derived"]=P._derived,F};function k(P,M){var F={};if(v.isPlainObject(P))F.id=P.id,F.style=P;else if(typeof P=="string")if(F.id=P,C.styleValuesMapbox.indexOf(P)!==-1)F.style=L(P);else if(C.stylesNonMapbox[P]){F.style=C.stylesNonMapbox[P];var N=F.style.sources["plotly-"+P],T=N?N.tiles:void 0;T&&T[0]&&T[0].slice(-9)==="?api_key="&&(T[0]+=M._mapboxAccessToken)}else F.style=P;else F.id=C.styleValueDflt,F.style=L(C.styleValueDflt);return F.transition={duration:0,delay:0},F}function L(P){return C.styleUrlPrefix+P+"-"+C.styleUrlSuffix}function I(P){return[P.lon,P.lat]}u.exports=R},66741:function(u){u.exports=function(h){var a=h.editType;return{t:{valType:"number",dflt:0,editType:a},r:{valType:"number",dflt:0,editType:a},b:{valType:"number",dflt:0,editType:a},l:{valType:"number",dflt:0,editType:a},editType:a}}},7316:function(u,h,a){var l=a(33428),v=a(94336).m_,i=a(57624).SO,S=a(38248),g=a(83160),p=a(24040),_=a(73060),c=a(31780),s=a(3400),d=a(76308),f=a(39032).BADNUM,b=a(79811),x=a(1936).clearOutline,y=a(55308),C=a(85656),w=a(16672),R=a(84888)._M,A=s.relinkPrivateKeys,E=s._,k=u.exports={};s.extendFlat(k,p),k.attributes=a(45464),k.attributes.type.values=k.allTypes,k.fontAttrs=a(25376),k.layoutAttributes=a(64859),k.fontWeight="normal";var L=k.transformsRegistry,I=a(62460);k.executeAPICommand=I.executeAPICommand,k.computeAPICommandBindings=I.computeAPICommandBindings,k.manageCommandObserver=I.manageCommandObserver,k.hasSimpleAPICommandBindings=I.hasSimpleAPICommandBindings,k.redrawText=function(K){return K=s.getGraphDiv(K),new Promise(function(te){setTimeout(function(){K._fullLayout&&(p.getComponentMethod("annotations","draw")(K),p.getComponentMethod("legend","draw")(K),p.getComponentMethod("colorbar","draw")(K),te(k.previousPromises(K)))},300)})},k.resize=function(K){K=s.getGraphDiv(K);var te,ce=new Promise(function(re,ee){(!K||s.isHidden(K))&&ee(new Error("Resize must be passed a displayed plot div element.")),K._redrawTimer&&clearTimeout(K._redrawTimer),K._resolveResize&&(te=K._resolveResize),K._resolveResize=re,K._redrawTimer=setTimeout(function(){if(!K.layout||K.layout.width&&K.layout.height||s.isHidden(K)){re(K);return}delete K.layout.width,delete K.layout.height;var de=K.changed;K.autoplay=!0,p.call("relayout",K,{autosize:!0}).then(function(){K.changed=de,K._resolveResize===re&&(delete K._resolveResize,re(K))})},100)});return te&&te(ce),ce},k.previousPromises=function(K){if((K._promises||[]).length)return Promise.all(K._promises).then(function(){K._promises=[]})},k.addLinks=function(K){if(!(!K._context.showLink&&!K._context.showSources)){var te=K._fullLayout,ce=s.ensureSingle(te._paper,"text","js-plot-link-container",function(me){me.style({"font-family":'"Open Sans", Arial, sans-serif',"font-size":"12px",fill:d.defaultLine,"pointer-events":"all"}).each(function(){var Te=l.select(this);Te.append("tspan").classed("js-link-to-tool",!0),Te.append("tspan").classed("js-link-spacer",!0),Te.append("tspan").classed("js-sourcelinks",!0)})}),re=ce.node(),ee={y:te._paper.attr("height")-9};document.body.contains(re)&&re.getComputedTextLength()>=te.width-20?(ee["text-anchor"]="start",ee.x=5):(ee["text-anchor"]="end",ee.x=te._paper.attr("width")-7),ce.attr(ee);var de=ce.select(".js-link-to-tool"),oe=ce.select(".js-link-spacer"),fe=ce.select(".js-sourcelinks");K._context.showSources&&K._context.showSources(K),K._context.showLink&&P(K,de),oe.text(de.text()&&fe.text()?" - ":"")}};function P(K,te){te.text("");var ce=te.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(K._context.linkText+" »");if(K._context.sendData)ce.on("click",function(){k.sendDataToCloud(K)});else{var re=window.location.pathname.split("/"),ee=window.location.search;ce.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+re[2].split(".")[0]+"/"+re[1]+ee})}}k.sendDataToCloud=function(K){var te=(window.PLOTLYENV||{}).BASE_URL||K._context.plotlyServerURL;if(te){K.emit("plotly_beforeexport");var ce=l.select(K).append("div").attr("id","hiddenform").style("display","none"),re=ce.append("form").attr({action:te+"/external",method:"post",target:"_blank"}),ee=re.append("input").attr({type:"text",name:"data"});return ee.node().value=k.graphJson(K,!1,"keepdata"),re.node().submit(),ce.remove(),K.emit("plotly_afterexport"),!1}};var M=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],F=["year","month","dayMonth","dayMonthYear"];k.supplyDefaults=function(K,te){var ce=te&&te.skipUpdateCalc,re=K._fullLayout||{};if(re._skipDefaults){delete re._skipDefaults;return}var ee=K._fullLayout={},de=K.layout||{},oe=K._fullData||[],fe=K._fullData=[],me=K.data||[],Te=K.calcdata||[],we=K._context||{},Be;K._transitionData||k.createTransitionData(K),ee._dfltTitle={plot:E(K,"Click to enter Plot title"),x:E(K,"Click to enter X axis title"),y:E(K,"Click to enter Y axis title"),colorbar:E(K,"Click to enter Colorscale title"),annotation:E(K,"new text")},ee._traceWord=E(K,"trace");var Ae=D(K,M);if(ee._mapboxAccessToken=we.mapboxAccessToken,re._initialAutoSizeIsDone){var Re=re.width,be=re.height;k.supplyLayoutGlobalDefaults(de,ee,Ae),de.width||(ee.width=Re),de.height||(ee.height=be),k.sanitizeMargins(ee)}else{k.supplyLayoutGlobalDefaults(de,ee,Ae);var Pe=!de.width||!de.height,Ke=ee.autosize,ze=we.autosizable,Fe=Pe&&(Ke||ze);Fe?k.plotAutoSize(K,de,ee):Pe&&k.sanitizeMargins(ee),!Ke&&Pe&&(de.width=ee.width,de.height=ee.height)}ee._d3locale=O(Ae,ee.separators),ee._extraFormat=D(K,F),ee._initialAutoSizeIsDone=!0,ee._dataLength=me.length,ee._modules=[],ee._visibleModules=[],ee._basePlotModules=[];var We=ee._subplots=T(),lt=ee._splomAxes={x:{},y:{}},ht=ee._splomSubplots={};ee._splomGridDflt={},ee._scatterStackOpts={},ee._firstScatter={},ee._alignmentOpts={},ee._colorAxes={},ee._requestRangeslider={},ee._traceUids=N(oe,me),ee._globalTransforms=(K._context||{}).globalTransforms,k.supplyDataDefaults(me,fe,de,ee);var tt=Object.keys(lt.x),et=Object.keys(lt.y);if(tt.length>1&&et.length>1){for(p.getComponentMethod("grid","sizeDefaults")(de,ee),Be=0;Be<tt.length;Be++)s.pushUnique(We.xaxis,tt[Be]);for(Be=0;Be<et.length;Be++)s.pushUnique(We.yaxis,et[Be]);for(var pt in ht)s.pushUnique(We.cartesian,pt)}if(ee._has=k._hasPlotType.bind(ee),oe.length===fe.length)for(Be=0;Be<fe.length;Be++)A(fe[Be],oe[Be]);k.supplyLayoutModuleDefaults(de,ee,fe,K._transitionData);var vt=ee._visibleModules,_t=[];for(Be=0;Be<vt.length;Be++){var bt=vt[Be].crossTraceDefaults;bt&&s.pushUnique(_t,bt)}for(Be=0;Be<_t.length;Be++)_t[Be](fe,ee);ee._hasOnlyLargeSploms=ee._basePlotModules.length===1&&ee._basePlotModules[0].name==="splom"&&tt.length>15&&et.length>15&&ee.shapes.length===0&&ee.images.length===0,k.linkSubplots(fe,ee,oe,re),k.cleanPlot(fe,ee,oe,re);var Rt=!!(re._has&&re._has("gl2d")),ct=!!(ee._has&&ee._has("gl2d")),Ve=!!(re._has&&re._has("cartesian")),Qe=!!(ee._has&&ee._has("cartesian")),rt=Ve||Rt,qe=Qe||ct;rt&&!qe?re._bgLayer.remove():qe&&!rt&&(ee._shouldCreateBgLayer=!0),re._zoomlayer&&!K._dragging&&x({_fullLayout:re}),U(fe,ee),A(ee,re),p.getComponentMethod("colorscale","crossTraceDefaults")(fe,ee),ee._preGUI||(ee._preGUI={}),ee._tracePreGUI||(ee._tracePreGUI={});var He=ee._tracePreGUI,Ce={},Se;for(Se in He)Ce[Se]="old";for(Be=0;Be<fe.length;Be++)Se=fe[Be]._fullInput.uid,Ce[Se]||(He[Se]={}),Ce[Se]="new";for(Se in Ce)Ce[Se]==="old"&&delete He[Se];j(ee),p.getComponentMethod("rangeslider","makeData")(ee),!ce&&Te.length===fe.length&&k.supplyDefaultsUpdateCalc(Te,fe)},k.supplyDefaultsUpdateCalc=function(K,te){for(var ce=0;ce<te.length;ce++){var re=te[ce],ee=(K[ce]||[])[0];if(ee&&ee.trace){var de=ee.trace;if(de._hasCalcTransform){var oe=de._arrayAttrs,fe,me,Te;for(fe=0;fe<oe.length;fe++)me=oe[fe],Te=s.nestedProperty(de,me).get().slice(),s.nestedProperty(re,me).set(Te)}ee.trace=re}}};function N(K,te){var ce=te.length,re=[],ee,de;for(ee=0;ee<K.length;ee++){var oe=K[ee]._fullInput;oe!==de&&re.push(oe),de=oe}var fe=re.length,me=new Array(ce),Te={};function we(Re,be){me[be]=Re,Te[Re]=1}function Be(Re,be){if(Re&&typeof Re=="string"&&!Te[Re])return we(Re,be),!0}for(ee=0;ee<ce;ee++){var Ae=te[ee].uid;typeof Ae=="number"&&(Ae=String(Ae)),!Be(Ae,ee)&&(ee<fe&&Be(re[ee].uid,ee)||we(s.randstr(Te),ee))}return me}function T(){var K=p.collectableSubplotTypes,te={},ce,re;if(!K){K=[];var ee=p.subplotsRegistry;for(var de in ee){var oe=ee[de],fe=oe.attr;if(fe&&(K.push(de),Array.isArray(fe)))for(re=0;re<fe.length;re++)s.pushUnique(K,fe[re])}}for(ce=0;ce<K.length;ce++)te[K[ce]]=[];return te}function D(K,te){var ce=K._context.locale;ce||(ce="en-US");var re=!1,ee={};function de(Be){for(var Ae=!0,Re=0;Re<te.length;Re++){var be=te[Re];ee[be]||(Be[be]?ee[be]=Be[be]:Ae=!1)}Ae&&(re=!0)}for(var oe=0;oe<2;oe++){for(var fe=K._context.locales,me=0;me<2;me++){var Te=(fe[ce]||{}).format;if(Te&&(de(Te),re))break;fe=p.localeRegistry}var we=ce.split("-")[0];if(re||we===ce)break;ce=we}return re||de(p.localeRegistry.en.format),ee}function O(K,te){return K.decimal=te.charAt(0),K.thousands=te.charAt(1),{numberFormat:function(ce){try{ce=i(K).format(s.adjustFormat(ce))}catch{return s.warnBadFormat(ce),s.noFormat}return ce},timeFormat:v(K).utcFormat}}function U(K,te){var ce,re=[];te.meta&&(ce=te._meta={meta:te.meta,layout:{meta:te.meta}});for(var ee=0;ee<K.length;ee++){var de=K[ee];de.meta?re[de.index]=de._meta={meta:de.meta}:te.meta&&(de._meta={meta:te.meta}),te.meta&&(de._meta.layout={meta:te.meta})}re.length&&(ce||(ce=te._meta={}),ce.data=re)}k.createTransitionData=function(K){K._transitionData||(K._transitionData={}),K._transitionData._frames||(K._transitionData._frames=[]),K._transitionData._frameHash||(K._transitionData._frameHash={}),K._transitionData._counter||(K._transitionData._counter=0),K._transitionData._interruptCallbacks||(K._transitionData._interruptCallbacks=[])},k._hasPlotType=function(K){var te,ce=this._basePlotModules||[];for(te=0;te<ce.length;te++)if(ce[te].name===K)return!0;var re=this._modules||[];for(te=0;te<re.length;te++){var ee=re[te].name;if(ee===K)return!0;var de=p.modules[ee];if(de&&de.categories[K])return!0}return!1},k.cleanPlot=function(K,te,ce,re){var ee,de,oe=re._basePlotModules||[];for(ee=0;ee<oe.length;ee++){var fe=oe[ee];fe.clean&&fe.clean(K,te,ce,re)}var me=re._has&&re._has("gl"),Te=te._has&&te._has("gl");me&&!Te&&re._glcontainer!==void 0&&(re._glcontainer.selectAll(".gl-canvas").remove(),re._glcontainer.selectAll(".no-webgl").remove(),re._glcanvas=null);var we=!!re._infolayer;e:for(ee=0;ee<ce.length;ee++){var Be=ce[ee],Ae=Be.uid;for(de=0;de<K.length;de++){var Re=K[de];if(Ae===Re.uid)continue e}we&&re._infolayer.select(".cb"+Ae).remove()}},k.linkSubplots=function(K,te,ce,re){var ee,de,oe=re._plots||{},fe=te._plots={},me=te._subplots,Te={_fullData:K,_fullLayout:te},we=me.cartesian.concat(me.gl2d||[]);for(ee=0;ee<we.length;ee++){var Be=we[ee],Ae=oe[Be],Re=b.getFromId(Te,Be,"x"),be=b.getFromId(Te,Be,"y"),Pe;for(Ae?Pe=fe[Be]=Ae:(Pe=fe[Be]={},Pe.id=Be),Re._counterAxes.push(be._id),be._counterAxes.push(Re._id),Re._subplotsWith.push(Be),be._subplotsWith.push(Be),Pe.xaxis=Re,Pe.yaxis=be,Pe._hasClipOnAxisFalse=!1,de=0;de<K.length;de++){var Ke=K[de];if(Ke.xaxis===Pe.xaxis._id&&Ke.yaxis===Pe.yaxis._id&&Ke.cliponaxis===!1){Pe._hasClipOnAxisFalse=!0;break}}}var ze=b.list(Te,null,!0),Fe;for(ee=0;ee<ze.length;ee++){Fe=ze[ee];var We=null;Fe.overlaying&&(We=b.getFromId(Te,Fe.overlaying),We&&We.overlaying&&(Fe.overlaying=!1,We=null)),Fe._mainAxis=We||Fe,We&&(Fe.domain=We.domain.slice()),Fe._anchorAxis=Fe.anchor==="free"?null:b.getFromId(Te,Fe.anchor)}for(ee=0;ee<ze.length;ee++)if(Fe=ze[ee],Fe._counterAxes.sort(b.idSort),Fe._subplotsWith.sort(s.subplotSort),Fe._mainSubplot=B(Fe,te),Fe._counterAxes.length&&(Fe.spikemode&&Fe.spikemode.indexOf("across")!==-1||Fe.automargin&&Fe.mirror&&Fe.anchor!=="free"||p.getComponentMethod("rangeslider","isVisible")(Fe))){var lt=1,ht=0;for(de=0;de<Fe._counterAxes.length;de++){var tt=b.getFromId(Te,Fe._counterAxes[de]);lt=Math.min(lt,tt.domain[0]),ht=Math.max(ht,tt.domain[1])}lt<ht&&(Fe._counterDomainMin=lt,Fe._counterDomainMax=ht)}};function B(K,te){var ce={_fullLayout:te},re=K._id.charAt(0)==="x",ee=K._mainAxis._anchorAxis,de="",oe="",fe="";if(ee&&(fe=ee._mainAxis._id,de=re?K._id+fe:fe+K._id),!de||!te._plots[de]){de="";for(var me=K._counterAxes,Te=0;Te<me.length;Te++){var we=me[Te],Be=re?K._id+we:we+K._id;oe||(oe=Be);var Ae=b.getFromId(ce,we);if(fe&&Ae.overlaying===fe){de=Be;break}}}return de||oe}k.clearExpandedTraceDefaultColors=function(K){var te,ce,re;function ee(oe,fe,me,Te){ce[Te]=fe,ce.length=Te+1,oe.valType==="color"&&oe.dflt===void 0&&te.push(ce.join("."))}for(ce=[],te=K._module._colorAttrs,te||(K._module._colorAttrs=te=[],_.crawl(K._module.attributes,ee)),re=0;re<te.length;re++){var de=s.nestedProperty(K,"_input."+te[re]);de.get()||s.nestedProperty(K,te[re]).set(null)}},k.supplyDataDefaults=function(K,te,ce,re){var ee=re._modules,de=re._visibleModules,oe=re._basePlotModules,fe=0,me=0,Te,we,Be;re._transformModules=[];function Ae(et){te.push(et);var pt=et._module;pt&&(s.pushUnique(ee,pt),et.visible===!0&&s.pushUnique(de,pt),s.pushUnique(oe,et._module.basePlotModule),fe++,et._input.visible!==!1&&me++)}var Re={},be=[],Pe=(ce.template||{}).data||{},Ke=c.traceTemplater(Pe);for(Te=0;Te<K.length;Te++){if(Be=K[Te],we=Ke.newTrace(Be),we.uid=re._traceUids[Te],k.supplyTraceDefaults(Be,we,me,re,Te),we.index=Te,we._input=Be,we._expandedIndex=fe,we.transforms&&we.transforms.length)for(var ze=Be.visible!==!1&&we.visible===!1,Fe=z(we,te,ce,re),We=0;We<Fe.length;We++){var lt=Fe[We],ht={_template:we._template,type:we.type,uid:we.uid+We};ze&&lt.visible===!1&&delete lt.visible,k.supplyTraceDefaults(lt,ht,fe,re,Te),A(ht,lt),ht.index=Te,ht._input=Be,ht._fullInput=we,ht._expandedIndex=fe,ht._expandedInput=lt,Ae(ht)}else we._fullInput=we,we._expandedInput=we,Ae(we);p.traceIs(we,"carpetAxis")&&(Re[we.carpet]=we),p.traceIs(we,"carpetDependent")&&be.push(Te)}for(Te=0;Te<be.length;Te++)if(we=te[be[Te]],!!we.visible){var tt=Re[we.carpet];if(we._carpet=tt,!tt||!tt.visible){we.visible=!1;continue}we.xaxis=tt.xaxis,we.yaxis=tt.yaxis}},k.supplyAnimationDefaults=function(K){K=K||{};var te,ce={};function re(ee,de){return s.coerce(K||{},ce,C,ee,de)}if(re("mode"),re("direction"),re("fromcurrent"),Array.isArray(K.frame))for(ce.frame=[],te=0;te<K.frame.length;te++)ce.frame[te]=k.supplyAnimationFrameDefaults(K.frame[te]||{});else ce.frame=k.supplyAnimationFrameDefaults(K.frame||{});if(Array.isArray(K.transition))for(ce.transition=[],te=0;te<K.transition.length;te++)ce.transition[te]=k.supplyAnimationTransitionDefaults(K.transition[te]||{});else ce.transition=k.supplyAnimationTransitionDefaults(K.transition||{});return ce},k.supplyAnimationFrameDefaults=function(K){var te={};function ce(re,ee){return s.coerce(K||{},te,C.frame,re,ee)}return ce("duration"),ce("redraw"),te},k.supplyAnimationTransitionDefaults=function(K){var te={};function ce(re,ee){return s.coerce(K||{},te,C.transition,re,ee)}return ce("duration"),ce("easing"),te},k.supplyFrameDefaults=function(K){var te={};function ce(re,ee){return s.coerce(K,te,w,re,ee)}return ce("group"),ce("name"),ce("traces"),ce("baseframe"),ce("data"),ce("layout"),te},k.supplyTraceDefaults=function(K,te,ce,re,ee){var de=re.colorway||d.defaults,oe=de[ce%de.length],fe;function me(We,lt){return s.coerce(K,te,k.attributes,We,lt)}var Te=me("visible");me("type"),me("name",re._traceWord+" "+ee),me("uirevision",re.uirevision);var we=k.getModule(te);if(te._module=we,we){var Be=we.basePlotModule,Ae=Be.attr,Re=Be.attributes;if(Ae&&Re){var be=re._subplots,Pe="";if(Te||Be.name!=="gl2d"){if(Array.isArray(Ae))for(fe=0;fe<Ae.length;fe++){var Ke=Ae[fe],ze=s.coerce(K,te,Re,Ke);be[Ke]&&s.pushUnique(be[Ke],ze),Pe+=ze}else Pe=s.coerce(K,te,Re,Ae);be[Be.name]&&s.pushUnique(be[Be.name],Pe)}}}if(Te){if(me("customdata"),me("ids"),me("meta"),p.traceIs(te,"showLegend")?(s.coerce(K,te,we.attributes.showlegend?we.attributes:k.attributes,"showlegend"),me("legend"),me("legendwidth"),me("legendgroup"),me("legendgrouptitle.text"),me("legendrank"),te._dfltShowLegend=!0):te._dfltShowLegend=!1,we&&we.supplyDefaults(K,te,oe,re),p.traceIs(te,"noOpacity")||me("opacity"),p.traceIs(te,"notLegendIsolatable")&&(te.visible=!!te.visible),p.traceIs(te,"noHover")||(te.hovertemplate||s.coerceHoverinfo(K,te,re),te.type!=="parcats"&&p.getComponentMethod("fx","supplyDefaults")(K,te,oe,re)),we&&we.selectPoints){var Fe=me("selectedpoints");s.isTypedArray(Fe)&&(te.selectedpoints=Array.from(Fe))}k.supplyTransformDefaults(K,te,re)}return te};function Y(K){var te=K.transforms;if(Array.isArray(te)&&te.length)for(var ce=0;ce<te.length;ce++){var re=te[ce],ee=re._module||L[re.type];if(ee&&ee.makesData)return!0}return!1}k.hasMakesDataTransform=Y,k.supplyTransformDefaults=function(K,te,ce){if(te._length||Y(K)){var re=ce._globalTransforms||[],ee=ce._transformModules||[];if(!(!Array.isArray(K.transforms)&&re.length===0))for(var de=K.transforms||[],oe=re.concat(de),fe=te.transforms=[],me=0;me<oe.length;me++){var Te=oe[me],we=Te.type,Be=L[we],Ae,Re=!(Te._module&&Te._module===Be),be=Be&&typeof Be.transform=="function";Be||s.warn("Unrecognized transform type "+we+"."),Be&&Be.supplyDefaults&&(Re||be)?(Ae=Be.supplyDefaults(Te,te,ce,K),Ae.type=we,Ae._module=Be,s.pushUnique(ee,Be)):Ae=s.extendFlat({},Te),fe.push(Ae)}}};function z(K,te,ce,re){for(var ee=K.transforms,de=[K],oe=0;oe<ee.length;oe++){var fe=ee[oe],me=L[fe.type];me&&me.transform&&(de=me.transform(de,{transform:fe,fullTrace:K,fullData:te,layout:ce,fullLayout:re,transformIndex:oe}))}return de}k.supplyLayoutGlobalDefaults=function(K,te,ce){function re(Be,Ae){return s.coerce(K,te,k.layoutAttributes,Be,Ae)}var ee=K.template;s.isPlainObject(ee)&&(te.template=ee,te._template=ee.layout,te._dataTemplate=ee.data),re("autotypenumbers");var de=s.coerceFont(re,"font"),oe=de.size;s.coerceFont(re,"title.font",s.extendFlat({},de,{size:Math.round(oe*1.4)})),re("title.text",te._dfltTitle.plot),re("title.xref");var fe=re("title.yref");re("title.pad.t"),re("title.pad.r"),re("title.pad.b"),re("title.pad.l");var me=re("title.automargin");re("title.x"),re("title.xanchor"),re("title.y"),re("title.yanchor"),me&&(fe==="paper"&&(te.title.y!==0&&(te.title.y=1),te.title.yanchor==="auto"&&(te.title.yanchor=te.title.y===0?"top":"bottom")),fe==="container"&&(te.title.y==="auto"&&(te.title.y=1),te.title.yanchor==="auto"&&(te.title.yanchor=te.title.y<.5?"bottom":"top")));var Te=re("uniformtext.mode");Te&&re("uniformtext.minsize"),re("autosize",!(K.width&&K.height)),re("width"),re("height"),re("minreducedwidth"),re("minreducedheight"),re("margin.l"),re("margin.r"),re("margin.t"),re("margin.b"),re("margin.pad"),re("margin.autoexpand"),K.width&&K.height&&k.sanitizeMargins(te),p.getComponentMethod("grid","sizeDefaults")(K,te),re("paper_bgcolor"),re("separators",ce.decimal+ce.thousands),re("hidesources"),re("colorway"),re("datarevision");var we=re("uirevision");re("editrevision",we),re("selectionrevision",we),p.getComponentMethod("modebar","supplyLayoutDefaults")(K,te),p.getComponentMethod("shapes","supplyDrawNewShapeDefaults")(K,te,re),p.getComponentMethod("selections","supplyDrawNewSelectionDefaults")(K,te,re),re("meta"),s.isPlainObject(K.transition)&&(re("transition.duration"),re("transition.easing"),re("transition.ordering")),p.getComponentMethod("calendars","handleDefaults")(K,te,"calendar"),p.getComponentMethod("fx","supplyLayoutGlobalDefaults")(K,te,re),s.coerce(K,te,y,"scattermode")};function V(K){return typeof K=="string"&&K.substr(K.length-2)==="px"&&parseFloat(K)}k.plotAutoSize=function(te,ce,re){var ee=te._context||{},de=ee.frameMargins,oe,fe,me=s.isPlotDiv(te);if(me&&te.emit("plotly_autosize"),ee.fillFrame)oe=window.innerWidth,fe=window.innerHeight,document.body.style.overflow="hidden";else{var Te=me?window.getComputedStyle(te):{};if(oe=V(Te.width)||V(Te.maxWidth)||re.width,fe=V(Te.height)||V(Te.maxHeight)||re.height,S(de)&&de>0){var we=1-2*de;oe=Math.round(we*oe),fe=Math.round(we*fe)}}var Be=k.layoutAttributes.width.min,Ae=k.layoutAttributes.height.min;oe<Be&&(oe=Be),fe<Ae&&(fe=Ae);var Re=!ce.width&&Math.abs(re.width-oe)>1,be=!ce.height&&Math.abs(re.height-fe)>1;(be||Re)&&(Re&&(re.width=oe),be&&(re.height=fe)),te._initialAutoSize||(te._initialAutoSize={width:oe,height:fe}),k.sanitizeMargins(re)},k.supplyLayoutModuleDefaults=function(K,te,ce,re){var ee=p.componentsRegistry,de=te._basePlotModules,oe,fe,me,Te=p.subplotsRegistry.cartesian;for(oe in ee)me=ee[oe],me.includeBasePlot&&me.includeBasePlot(K,te);de.length||de.push(Te),te._has("cartesian")&&(p.getComponentMethod("grid","contentDefaults")(K,te),Te.finalizeSubplots(K,te));for(var we in te._subplots)te._subplots[we].sort(s.subplotSort);for(fe=0;fe<de.length;fe++)me=de[fe],me.supplyLayoutDefaults&&me.supplyLayoutDefaults(K,te,ce);var Be=te._modules;for(fe=0;fe<Be.length;fe++)me=Be[fe],me.supplyLayoutDefaults&&me.supplyLayoutDefaults(K,te,ce);var Ae=te._transformModules;for(fe=0;fe<Ae.length;fe++)me=Ae[fe],me.supplyLayoutDefaults&&me.supplyLayoutDefaults(K,te,ce,re);for(oe in ee)me=ee[oe],me.supplyLayoutDefaults&&me.supplyLayoutDefaults(K,te,ce)},k.purge=function(K){var te=K._fullLayout||{};te._glcontainer!==void 0&&(te._glcontainer.selectAll(".gl-canvas").remove(),te._glcontainer.remove(),te._glcanvas=null),te._modeBar&&te._modeBar.destroy(),K._transitionData&&(K._transitionData._interruptCallbacks&&(K._transitionData._interruptCallbacks.length=0),K._transitionData._animationRaf&&window.cancelAnimationFrame(K._transitionData._animationRaf)),s.clearThrottle(),s.clearResponsive(K),delete K.data,delete K.layout,delete K._fullData,delete K._fullLayout,delete K.calcdata,delete K.empty,delete K.fid,delete K.undoqueue,delete K.undonum,delete K.autoplay,delete K.changed,delete K._promises,delete K._redrawTimer,delete K._hmlumcount,delete K._hmpixcount,delete K._transitionData,delete K._transitioning,delete K._initialAutoSize,delete K._transitioningWithDuration,delete K._dragging,delete K._dragged,delete K._dragdata,delete K._hoverdata,delete K._snapshotInProgress,delete K._editing,delete K._mouseDownTime,delete K._legendMouseDownTime,K.removeAllListeners&&K.removeAllListeners()},k.style=function(K){var te=K._fullLayout._visibleModules,ce=[],re;for(re=0;re<te.length;re++){var ee=te[re];ee.style&&s.pushUnique(ce,ee.style)}for(re=0;re<ce.length;re++)ce[re](K)},k.sanitizeMargins=function(K){if(!(!K||!K.margin)){var te=K.width,ce=K.height,re=K.margin,ee=te-(re.l+re.r),de=ce-(re.t+re.b),oe;ee<0&&(oe=(te-1)/(re.l+re.r),re.l=Math.floor(oe*re.l),re.r=Math.floor(oe*re.r)),de<0&&(oe=(ce-1)/(re.t+re.b),re.t=Math.floor(oe*re.t),re.b=Math.floor(oe*re.b))}},k.clearAutoMarginIds=function(K){K._fullLayout._pushmarginIds={}},k.allowAutoMargin=function(K,te){K._fullLayout._pushmarginIds[te]=1};function j(K){var te=K.margin;if(!K._size){var ce=K._size={l:Math.round(te.l),r:Math.round(te.r),t:Math.round(te.t),b:Math.round(te.b),p:Math.round(te.pad)};ce.w=Math.round(K.width)-ce.l-ce.r,ce.h=Math.round(K.height)-ce.t-ce.b}K._pushmargin||(K._pushmargin={}),K._pushmarginIds||(K._pushmarginIds={}),K._reservedMargin||(K._reservedMargin={})}var G=2,W=2;k.autoMargin=function(K,te,ce){var re=K._fullLayout,ee=re.width,de=re.height,oe=re.margin,fe=re.minreducedwidth,me=re.minreducedheight,Te=s.constrain(ee-oe.l-oe.r,G,fe),we=s.constrain(de-oe.t-oe.b,W,me),Be=Math.max(0,ee-Te),Ae=Math.max(0,de-we),Re=re._pushmargin,be=re._pushmarginIds;if(oe.autoexpand!==!1){if(!ce)delete Re[te],delete be[te];else{var Pe=ce.pad;if(Pe===void 0&&(Pe=Math.min(12,oe.l,oe.r,oe.t,oe.b)),Be){var Ke=(ce.l+ce.r)/Be;Ke>1&&(ce.l/=Ke,ce.r/=Ke)}if(Ae){var ze=(ce.t+ce.b)/Ae;ze>1&&(ce.t/=ze,ce.b/=ze)}var Fe=ce.xl!==void 0?ce.xl:ce.x,We=ce.xr!==void 0?ce.xr:ce.x,lt=ce.yt!==void 0?ce.yt:ce.y,ht=ce.yb!==void 0?ce.yb:ce.y;Re[te]={l:{val:Fe,size:ce.l+Pe},r:{val:We,size:ce.r+Pe},b:{val:ht,size:ce.b+Pe},t:{val:lt,size:ce.t+Pe}},be[te]=1}if(!re._replotting)return k.doAutoMargin(K)}};function X(K){if("_redrawFromAutoMarginCount"in K._fullLayout)return!1;var te=b.list(K,"",!0);for(var ce in te)if(te[ce].autoshift||te[ce].shift)return!0;return!1}k.doAutoMargin=function(K){var te=K._fullLayout,ce=te.width,re=te.height;te._size||(te._size={}),j(te);var ee=te._size,de=te.margin,oe={t:0,b:0,l:0,r:0},fe=s.extendFlat({},ee),me=de.l,Te=de.r,we=de.t,Be=de.b,Ae=te._pushmargin,Re=te._pushmarginIds,be=te.minreducedwidth,Pe=te.minreducedheight;if(de.autoexpand!==!1){for(var Ke in Ae)Re[Ke]||delete Ae[Ke];var ze=K._fullLayout._reservedMargin;for(var Fe in ze)for(var We in ze[Fe]){var lt=ze[Fe][We];oe[We]=Math.max(oe[We],lt)}Ae.base={l:{val:0,size:me},r:{val:1,size:Te},t:{val:1,size:we},b:{val:0,size:Be}};for(var ht in oe){var tt=0;for(var et in Ae)et!=="base"&&S(Ae[et][ht].size)&&(tt=Ae[et][ht].size>tt?Ae[et][ht].size:tt);var pt=Math.max(0,de[ht]-tt);oe[ht]=Math.max(0,oe[ht]-pt)}for(var vt in Ae){var _t=Ae[vt].l||{},bt=Ae[vt].b||{},Rt=_t.val,ct=_t.size,Ve=bt.val,Qe=bt.size,rt=ce-oe.r-oe.l,qe=re-oe.t-oe.b;for(var He in Ae){if(S(ct)&&Ae[He].r){var Ce=Ae[He].r.val,Se=Ae[He].r.size;if(Ce>Rt){var Le=(ct*Ce+(Se-rt)*Rt)/(Ce-Rt),Ne=(Se*(1-Rt)+(ct-rt)*(1-Ce))/(Ce-Rt);Le+Ne>me+Te&&(me=Le,Te=Ne)}}if(S(Qe)&&Ae[He].t){var je=Ae[He].t.val,Je=Ae[He].t.size;if(je>Ve){var ut=(Qe*je+(Je-qe)*Ve)/(je-Ve),Et=(Je*(1-Ve)+(Qe-qe)*(1-je))/(je-Ve);ut+Et>Be+we&&(Be=ut,we=Et)}}}}}var wt=s.constrain(ce-de.l-de.r,G,be),nr=s.constrain(re-de.t-de.b,W,Pe),ir=Math.max(0,ce-wt),It=Math.max(0,re-nr);if(ir){var Gt=(me+Te)/ir;Gt>1&&(me/=Gt,Te/=Gt)}if(It){var cr=(Be+we)/It;cr>1&&(Be/=cr,we/=cr)}if(ee.l=Math.round(me)+oe.l,ee.r=Math.round(Te)+oe.r,ee.t=Math.round(we)+oe.t,ee.b=Math.round(Be)+oe.b,ee.p=Math.round(de.pad),ee.w=Math.round(ce)-ee.l-ee.r,ee.h=Math.round(re)-ee.t-ee.b,!te._replotting&&(k.didMarginChange(fe,ee)||X(K))){"_redrawFromAutoMarginCount"in te?te._redrawFromAutoMarginCount++:te._redrawFromAutoMarginCount=1;var Pr=3*(1+Object.keys(Re).length);if(te._redrawFromAutoMarginCount<Pr)return p.call("_doPlot",K);te._size=fe,s.warn("Too many auto-margin redraws.")}Q(K)};function Q(K){var te=b.list(K,"",!0);["_adjustTickLabelsOverflow","_hideCounterAxisInsideTickLabels"].forEach(function(ce){for(var re=0;re<te.length;re++){var ee=te[re][ce];ee&&ee()}})}var ae=["l","r","t","b","p","w","h"];k.didMarginChange=function(K,te){for(var ce=0;ce<ae.length;ce++){var re=ae[ce],ee=K[re],de=te[re];if(!S(ee)||Math.abs(de-ee)>1)return!0}return!1},k.graphJson=function(K,te,ce,re,ee,de){(ee&&te&&!K._fullData||ee&&!te&&!K._fullLayout)&&k.supplyDefaults(K);var oe=ee?K._fullData:K.data,fe=ee?K._fullLayout:K.layout,me=(K._transitionData||{})._frames;function Te(Ae,Re){if(typeof Ae=="function")return Re?"_function_":null;if(s.isPlainObject(Ae)){var be={},Pe;return Object.keys(Ae).sort().forEach(function(We){if(["_","["].indexOf(We.charAt(0))===-1){if(typeof Ae[We]=="function"){Re&&(be[We]="_function");return}if(ce==="keepdata"){if(We.substr(We.length-3)==="src")return}else if(ce==="keepstream"){if(Pe=Ae[We+"src"],typeof Pe=="string"&&Pe.indexOf(":")>0&&!s.isPlainObject(Ae.stream))return}else if(ce!=="keepall"&&(Pe=Ae[We+"src"],typeof Pe=="string"&&Pe.indexOf(":")>0))return;be[We]=Te(Ae[We],Re)}}),be}var Ke=Array.isArray(Ae),ze=s.isTypedArray(Ae);if((Ke||ze)&&Ae.dtype&&Ae.shape){var Fe=Ae.bdata;return Te({dtype:Ae.dtype,shape:Ae.shape,bdata:s.isArrayBuffer(Fe)?g.encode(Fe):Fe},Re)}return Ke?Ae.map(function(We){return Te(We,Re)}):ze?s.simpleMap(Ae,s.identity):s.isJSDate(Ae)?s.ms2DateTimeLocal(+Ae):Ae}var we={data:(oe||[]).map(function(Ae){var Re=Te(Ae);return te&&delete Re.fit,Re})};if(!te&&(we.layout=Te(fe),ee)){var Be=fe._size;we.layout.computed={margin:{b:Be.b,l:Be.l,r:Be.r,t:Be.t}}}return me&&(we.frames=Te(me)),de&&(we.config=Te(K._context,!0)),re==="object"?we:JSON.stringify(we)},k.modifyFrames=function(K,te){var ce,re,ee,de=K._transitionData._frames,oe=K._transitionData._frameHash;for(ce=0;ce<te.length;ce++)switch(re=te[ce],re.type){case"replace":ee=re.value;var fe=(de[re.index]||{}).name,me=ee.name;de[re.index]=oe[me]=ee,me!==fe&&(delete oe[fe],oe[me]=ee);break;case"insert":ee=re.value,oe[ee.name]=ee,de.splice(re.index,0,ee);break;case"delete":ee=de[re.index],delete oe[ee.name],de.splice(re.index,1);break}return Promise.resolve()},k.computeFrame=function(K,te){var ce=K._transitionData._frameHash,re,ee,de,oe;if(!te)throw new Error("computeFrame must be given a string frame name");var fe=ce[te.toString()];if(!fe)return!1;for(var me=[fe],Te=[fe.name];fe.baseframe&&(fe=ce[fe.baseframe.toString()])&&Te.indexOf(fe.name)===-1;)me.push(fe),Te.push(fe.name);for(var we={};fe=me.pop();)if(fe.layout&&(we.layout=k.extendLayout(we.layout,fe.layout)),fe.data){if(we.data||(we.data=[]),ee=fe.traces,!ee)for(ee=[],re=0;re<fe.data.length;re++)ee[re]=re;for(we.traces||(we.traces=[]),re=0;re<fe.data.length;re++)de=ee[re],de!=null&&(oe=we.traces.indexOf(de),oe===-1&&(oe=we.data.length,we.traces[oe]=de),we.data[oe]=k.extendTrace(we.data[oe],fe.data[re]))}return we},k.recomputeFrameHash=function(K){for(var te=K._transitionData._frameHash={},ce=K._transitionData._frames,re=0;re<ce.length;re++){var ee=ce[re];ee&&ee.name&&(te[ee.name]=ee)}},k.extendObjectWithContainers=function(K,te,ce){var re,ee,de,oe,fe,me,Te,we,Be=s.extendDeepNoArrays({},te||{}),Ae=s.expandObjectPaths(Be),Re={};if(ce&&ce.length)for(de=0;de<ce.length;de++)re=s.nestedProperty(Ae,ce[de]),ee=re.get(),ee===void 0?s.nestedProperty(Re,ce[de]).set(null):(re.set(null),s.nestedProperty(Re,ce[de]).set(ee));if(K=s.extendDeepNoArrays(K||{},Ae),ce&&ce.length){for(de=0;de<ce.length;de++)if(fe=s.nestedProperty(Re,ce[de]),Te=fe.get(),!!Te){for(me=s.nestedProperty(K,ce[de]),we=me.get(),Array.isArray(we)||(we=[],me.set(we)),oe=0;oe<Te.length;oe++){var be=Te[oe];be===null?we[oe]=null:we[oe]=k.extendObjectWithContainers(we[oe],be)}me.set(we)}}return K},k.dataArrayContainers=["transforms","dimensions"],k.layoutArrayContainers=p.layoutArrayContainers,k.extendTrace=function(K,te){return k.extendObjectWithContainers(K,te,k.dataArrayContainers)},k.extendLayout=function(K,te){return k.extendObjectWithContainers(K,te,k.layoutArrayContainers)},k.transition=function(K,te,ce,re,ee,de){var oe={redraw:ee.redraw},fe={},me=[];return oe.prepareFn=function(){for(var Te=Array.isArray(te)?te.length:0,we=re.slice(0,Te),Be=0;Be<we.length;Be++){var Ae=we[Be],Re=K._fullData[Ae],be=Re._module;if(be){if(be.animatable){var Pe=be.basePlotModule.name;fe[Pe]||(fe[Pe]=[]),fe[Pe].push(Ae)}K.data[we[Be]]=k.extendTrace(K.data[we[Be]],te[Be])}}var Ke=s.expandObjectPaths(s.extendDeepNoArrays({},ce)),ze=/^[xy]axis[0-9]*$/;for(var Fe in Ke)ze.test(Fe)&&delete Ke[Fe].range;k.extendLayout(K.layout,Ke),delete K.calcdata,k.supplyDefaults(K),k.doCalcdata(K);var We=s.expandObjectPaths(ce);if(We){var lt=K._fullLayout._plots;for(var ht in lt){var tt=lt[ht],et=tt.xaxis,pt=tt.yaxis,vt=et.range.slice(),_t=pt.range.slice(),bt=null,Rt=null,ct=null,Ve=null;Array.isArray(We[et._name+".range"])?bt=We[et._name+".range"].slice():Array.isArray((We[et._name]||{}).range)&&(bt=We[et._name].range.slice()),Array.isArray(We[pt._name+".range"])?Rt=We[pt._name+".range"].slice():Array.isArray((We[pt._name]||{}).range)&&(Rt=We[pt._name].range.slice()),vt&&bt&&(et.r2l(vt[0])!==et.r2l(bt[0])||et.r2l(vt[1])!==et.r2l(bt[1]))&&(ct={xr0:vt,xr1:bt}),_t&&Rt&&(pt.r2l(_t[0])!==pt.r2l(Rt[0])||pt.r2l(_t[1])!==pt.r2l(Rt[1]))&&(Ve={yr0:_t,yr1:Rt}),(ct||Ve)&&me.push(s.extendFlat({plotinfo:tt},ct,Ve))}}return Promise.resolve()},oe.runFn=function(Te){var we,Be=K._fullLayout._basePlotModules,Ae=me.length,Re;if(ce)for(Re=0;Re<Be.length;Re++)Be[Re].transitionAxes&&Be[Re].transitionAxes(K,me,de,Te);Ae?(we=s.extendFlat({},de),we.duration=0,delete fe.cartesian):we=de;for(var be in fe){var Pe=fe[be],Ke=K._fullData[Pe[0]]._module;Ke.basePlotModule.plot(K,Pe,we,Te)}},ie(K,de,oe)},k.transitionFromReact=function(K,te,ce,re){var ee=K._fullLayout,de=ee.transition,oe={},fe=[];return oe.prepareFn=function(){var me=ee._plots;oe.redraw=!1,te.anim==="some"&&(oe.redraw=!0),ce.anim==="some"&&(oe.redraw=!0);for(var Te in me){var we=me[Te],Be=we.xaxis,Ae=we.yaxis,Re=re[Be._name].range.slice(),be=re[Ae._name].range.slice(),Pe=Be.range.slice(),Ke=Ae.range.slice();Be.setScale(),Ae.setScale();var ze=null,Fe=null;(Be.r2l(Re[0])!==Be.r2l(Pe[0])||Be.r2l(Re[1])!==Be.r2l(Pe[1]))&&(ze={xr0:Re,xr1:Pe}),(Ae.r2l(be[0])!==Ae.r2l(Ke[0])||Ae.r2l(be[1])!==Ae.r2l(Ke[1]))&&(Fe={yr0:be,yr1:Ke}),(ze||Fe)&&fe.push(s.extendFlat({plotinfo:we},ze,Fe))}return Promise.resolve()},oe.runFn=function(me){for(var Te=K._fullData,we=K._fullLayout,Be=we._basePlotModules,Ae,Re,be,Pe=[],Ke=0;Ke<Te.length;Ke++)Pe.push(Ke);function ze(){if(K._fullLayout)for(var We=0;We<Be.length;We++)Be[We].transitionAxes&&Be[We].transitionAxes(K,fe,Ae,me)}function Fe(){if(K._fullLayout)for(var We=0;We<Be.length;We++)Be[We].plot(K,be,Re,me)}fe.length&&te.anim?de.ordering==="traces first"?(Ae=s.extendFlat({},de,{duration:0}),be=Pe,Re=de,setTimeout(ze,de.duration),Fe()):(Ae=de,be=null,Re=s.extendFlat({},de,{duration:0}),setTimeout(Fe,Ae.duration),ze()):fe.length?(Ae=de,ze()):te.anim&&(be=Pe,Re=de,Fe())},ie(K,de,oe)};function ie(K,te,ce){var re=!1;function ee(Be){var Ae=Promise.resolve();if(!Be)return Ae;for(;Be.length;)Ae=Ae.then(Be.shift());return Ae}function de(Be){if(Be)for(;Be.length;)Be.shift()}function oe(){return K.emit("plotly_transitioning",[]),new Promise(function(Be){K._transitioning=!0,te.duration>0&&(K._transitioningWithDuration=!0),K._transitionData._interruptCallbacks.push(function(){re=!0}),ce.redraw&&K._transitionData._interruptCallbacks.push(function(){return p.call("redraw",K)}),K._transitionData._interruptCallbacks.push(function(){K.emit("plotly_transitioninterrupted",[])});var Ae=0,Re=0;function be(){return Ae++,function(){Re++,!re&&Re===Ae&&fe(Be)}}ce.runFn(be),setTimeout(be())})}function fe(Be){if(K._transitionData)return de(K._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(ce.redraw)return p.call("redraw",K)}).then(function(){K._transitioning=!1,K._transitioningWithDuration=!1,K.emit("plotly_transitioned",[])}).then(Be)}function me(){if(K._transitionData)return K._transitioning=!1,ee(K._transitionData._interruptCallbacks)}var Te=[k.previousPromises,me,ce.prepareFn,k.rehover,k.reselect,oe],we=s.syncOrAsync(Te,K);return(!we||!we.then)&&(we=Promise.resolve()),we.then(function(){return K})}k.doCalcdata=function(K,te){var ce=b.list(K),re=K._fullData,ee=K._fullLayout,de,oe,fe,me,Te=new Array(re.length),we=(K.calcdata||[]).slice();for(K.calcdata=Te,ee._numBoxes=0,ee._numViolins=0,ee._violinScaleGroupStats={},K._hmpixcount=0,K._hmlumcount=0,ee._piecolormap={},ee._sunburstcolormap={},ee._treemapcolormap={},ee._iciclecolormap={},ee._funnelareacolormap={},fe=0;fe<re.length;fe++)if(Array.isArray(te)&&te.indexOf(fe)===-1){Te[fe]=we[fe];continue}for(fe=0;fe<re.length;fe++)de=re[fe],de._arrayAttrs=_.findArrayAttributes(de),de._extremes={};var Be=ee._subplots.polar||[];for(fe=0;fe<Be.length;fe++)ce.push(ee[Be[fe]].radialaxis,ee[Be[fe]].angularaxis);for(var Ae in ee._colorAxes){var Re=ee[Ae];Re.cauto!==!1&&(delete Re.cmin,delete Re.cmax)}var be=!1;function Pe(Fe){if(de=re[Fe],oe=de._module,de.visible===!0&&de.transforms){if(oe&&oe.calc){var We=oe.calc(K,de);We[0]&&We[0].t&&We[0].t._scene&&delete We[0].t._scene.dirty}for(me=0;me<de.transforms.length;me++){var lt=de.transforms[me];oe=L[lt.type],oe&&oe.calcTransform&&(de._hasCalcTransform=!0,be=!0,oe.calcTransform(K,de,lt))}}}function Ke(Fe,We){if(de=re[Fe],oe=de._module,!!oe.isContainer===We){var lt=[];if(de.visible===!0&&de._length!==0){delete de._indexToPoints;var ht=de.transforms||[];for(me=ht.length-1;me>=0;me--)if(ht[me].enabled){de._indexToPoints=ht[me]._indexToPoints;break}oe&&oe.calc&&(lt=oe.calc(K,de))}(!Array.isArray(lt)||!lt[0])&&(lt=[{x:f,y:f}]),lt[0].t||(lt[0].t={}),lt[0].trace=de,Te[Fe]=lt}}for(Z(ce,re,ee),fe=0;fe<re.length;fe++)Ke(fe,!0);for(fe=0;fe<re.length;fe++)Pe(fe);for(be&&Z(ce,re,ee),fe=0;fe<re.length;fe++)Ke(fe,!0);for(fe=0;fe<re.length;fe++)Ke(fe,!1);le(K);var ze=J(ce,K);if(ze.length){for(ee._numBoxes=0,ee._numViolins=0,fe=0;fe<ze.length;fe++)Ke(ze[fe],!0);for(fe=0;fe<ze.length;fe++)Ke(ze[fe],!1);le(K)}p.getComponentMethod("fx","calc")(K),p.getComponentMethod("errorbars","calc")(K)};var he=/(total|sum|min|max|mean|median) (ascending|descending)/;function J(K,te){var ce=[],re,ee,de,oe,fe;function me(He,Ce,Se){var Le=Ce._id.charAt(0);if(He==="histogram2dcontour"){var Ne=Ce._counterAxes[0],je=b.getFromId(te,Ne),Je=Le==="x"||Ne==="x"&&je.type==="category",ut=Le==="y"||Ne==="y"&&je.type==="category";return function(Et,wt){return Et===0||wt===0||Je&&Et===Se[wt].length-1||ut&&wt===Se.length-1?-1:(Le==="y"?wt:Et)-1}}else return function(Et,wt){return Le==="y"?wt:Et}}var Te={min:function(He){return s.aggNums(Math.min,null,He)},max:function(He){return s.aggNums(Math.max,null,He)},sum:function(He){return s.aggNums(function(Ce,Se){return Ce+Se},null,He)},total:function(He){return s.aggNums(function(Ce,Se){return Ce+Se},null,He)},mean:function(He){return s.mean(He)},median:function(He){return s.median(He)}};function we(He,Ce){return He[1]-Ce[1]}function Be(He,Ce){return Ce[1]-He[1]}for(re=0;re<K.length;re++){var Ae=K[re];if(Ae.type==="category"){var Re=Ae.categoryorder.match(he);if(Re){var be=Re[1],Pe=Re[2],Ke=Ae._id.charAt(0),ze=Ke==="x",Fe=[];for(ee=0;ee<Ae._categories.length;ee++)Fe.push([Ae._categories[ee],[]]);for(ee=0;ee<Ae._traceIndices.length;ee++){var We=Ae._traceIndices[ee],lt=te._fullData[We];if(lt.visible===!0){var ht=lt.type;p.traceIs(lt,"histogram")&&(delete lt._xautoBinFinished,delete lt._yautoBinFinished);var tt=ht==="splom",et=ht==="scattergl",pt=te.calcdata[We];for(de=0;de<pt.length;de++){var vt=pt[de],_t,bt;if(tt){var Rt=lt._axesDim[Ae._id];if(!ze){var ct=lt._diag[Rt][0];ct&&(Ae=te._fullLayout[b.id2name(ct)])}var Ve=vt.trace.dimensions[Rt].values;for(oe=0;oe<Ve.length;oe++)for(_t=Ae._categoriesMap[Ve[oe]],fe=0;fe<vt.trace.dimensions.length;fe++)if(fe!==Rt){var Qe=vt.trace.dimensions[fe];Fe[_t][1].push(Qe.values[oe])}}else if(et){for(oe=0;oe<vt.t.x.length;oe++)ze?(_t=vt.t.x[oe],bt=vt.t.y[oe]):(_t=vt.t.y[oe],bt=vt.t.x[oe]),Fe[_t][1].push(bt);vt.t&&vt.t._scene&&delete vt.t._scene.dirty}else if(vt.hasOwnProperty("z")){bt=vt.z;var rt=me(lt.type,Ae,bt);for(oe=0;oe<bt.length;oe++)for(fe=0;fe<bt[oe].length;fe++)_t=rt(fe,oe),_t+1&&Fe[_t][1].push(bt[oe][fe])}else for(_t=vt.p,_t===void 0&&(_t=vt[Ke]),bt=vt.s,bt===void 0&&(bt=vt.v),bt===void 0&&(bt=ze?vt.y:vt.x),Array.isArray(bt)||(bt===void 0?bt=[]:bt=[bt]),oe=0;oe<bt.length;oe++)Fe[_t][1].push(bt[oe])}}}Ae._categoriesValue=Fe;var qe=[];for(ee=0;ee<Fe.length;ee++)qe.push([Fe[ee][0],Te[be](Fe[ee][1])]);qe.sort(Pe==="descending"?Be:we),Ae._categoriesAggregatedValue=qe,Ae._initialCategories=qe.map(function(He){return He[0]}),ce=ce.concat(Ae.sortByInitialCategories())}}}return ce}function Z(K,te,ce){var re={};function ee(me){me.clearCalc(),me.type==="multicategory"&&me.setupMultiCategory(te),re[me._id]=1}s.simpleMap(K,ee);for(var de=ce._axisMatchGroups||[],oe=0;oe<de.length;oe++)for(var fe in de[oe])re[fe]||ee(ce[b.id2name(fe)])}function le(K){var te=K._fullLayout,ce=te._visibleModules,re={},ee,de,oe;for(de=0;de<ce.length;de++){var fe=ce[de],me=fe.crossTraceCalc;if(me){var Te=fe.basePlotModule.name;re[Te]?s.pushUnique(re[Te],me):re[Te]=[me]}}for(oe in re){var we=re[oe],Be=te._subplots[oe];if(Array.isArray(Be))for(ee=0;ee<Be.length;ee++){var Ae=Be[ee],Re=oe==="cartesian"?te._plots[Ae]:te[Ae];for(de=0;de<we.length;de++)we[de](K,Re,Ae)}else for(de=0;de<we.length;de++)we[de](K)}}k.rehover=function(K){K._fullLayout._rehover&&K._fullLayout._rehover()},k.redrag=function(K){K._fullLayout._redrag&&K._fullLayout._redrag()},k.reselect=function(K){var te=K._fullLayout,ce=(K.layout||{}).selections,re=te._previousSelections;te._previousSelections=ce;var ee=te._reselect||JSON.stringify(ce)!==JSON.stringify(re);p.getComponentMethod("selections","reselect")(K,ee)},k.generalUpdatePerTraceModule=function(K,te,ce,re){var ee=te.traceHash,de={},oe;for(oe=0;oe<ce.length;oe++){var fe=ce[oe],me=fe[0].trace;me.visible&&(de[me.type]=de[me.type]||[],de[me.type].push(fe))}for(var Te in ee)if(!de[Te]){var we=ee[Te][0],Be=we[0].trace;Be.visible=!1,de[Te]=[we]}for(var Ae in de){var Re=de[Ae],be=Re[0][0].trace._module;be.plot(K,te,s.filterVisible(Re),re)}te.traceHash=de},k.plotBasePlot=function(K,te,ce,re,ee){var de=p.getModule(K),oe=R(te.calcdata,de)[0];de.plot(te,oe,re,ee)},k.cleanBasePlot=function(K,te,ce,re,ee){var de=ee._has&&ee._has(K),oe=ce._has&&ce._has(K);de&&!oe&&ee["_"+K+"layer"].selectAll("g.trace").remove()}},39360:function(u){u.exports={attr:"subplot",name:"polar",axisNames:["angularaxis","radialaxis"],axisName2dataArray:{angularaxis:"theta",radialaxis:"r"},layerNames:["draglayer","plotbg","backplot","angular-grid","radial-grid","frontplot","angular-line","radial-line","angular-axis","radial-axis"],radialDragBoxSize:50,angularDragBoxSize:30,cornerLen:25,cornerHalfWidth:2,MINDRAG:8,MINZOOM:20,OFFEDGE:20}},57384:function(u,h,a){var l=a(3400),v=a(92065).tester,i=l.findIndexOfMin,S=l.isAngleInsideSector,g=l.angleDelta,p=l.angleDist;function _(E,k,L,I,P){if(!S(k,I))return!1;var M,F;L[0]<L[1]?(M=L[0],F=L[1]):(M=L[1],F=L[0]);var N=v(b(M,I[0],I[1],P)),T=v(b(F,I[0],I[1],P)),D=[E*Math.cos(k),E*Math.sin(k)];return T.contains(D)&&!N.contains(D)}function c(E,k,L,I){var P,M,F=I[0],N=I[1],T=C(Math.sin(k)-Math.sin(E)),D=C(Math.cos(k)-Math.cos(E)),O=Math.tan(L),U=C(1/O),B=T/D,Y=N-B*F;return U?T&&D?(P=Y/(O-B),M=O*P):D?(P=N*U,M=N):(P=F,M=F*O):T&&D?(P=0,M=Y):D?(P=0,M=N):P=M=NaN,[P,M]}function s(E,k,L,I){var P=-k*L,M=k*k+1,F=2*(k*P-L),N=P*P+L*L-E*E,T=Math.sqrt(F*F-4*M*N),D=(-F+T)/(2*M),O=(-F-T)/(2*M);return[[D,k*D+P+I],[O,k*O+P+I]]}function d(E,k){var L=k.length,I=new Array(L+1),P;for(P=0;P<L;P++){var M=k[P];I[P]=[E*Math.cos(M),E*Math.sin(M)]}return I[P]=I[0].slice(),I}function f(E,k,L,I){var P=I.length,M=[],F,N;function T(G){return[E*Math.cos(G),E*Math.sin(G)]}function D(G,W,X){return c(G,W,X,T(G))}function O(G){return l.mod(G,P)}function U(G){return S(G,[k,L])}var B=i(I,function(G){return U(G)?p(G,k):1/0}),Y=D(I[B],I[O(B-1)],k);for(M.push(Y),F=B,N=0;N<P;F++,N++){var z=I[O(F)];if(!U(z))break;M.push(T(z))}var V=i(I,function(G){return U(G)?p(G,L):1/0}),j=D(I[V],I[O(V+1)],L);return M.push(j),M.push([0,0]),M.push(M[0].slice()),M}function b(E,k,L,I){return l.isFullCircle([k,L])?d(E,I):f(E,k,L,I)}function x(E,k,L,I){for(var P=1/0,M=1/0,F=b(E,k,L,I),N=0;N<F.length;N++){var T=F[N];P=Math.min(P,T[0]),M=Math.min(M,-T[1])}return[P,M]}function y(E,k){var L=function(M){var F=g(M,E);return F>0?F:1/0},I=i(k,L),P=l.mod(I+1,k.length);return[k[I],k[P]]}function C(E){return Math.abs(E)>1e-10?E:0}function w(E,k,L){k=k||0,L=L||0;for(var I=E.length,P=new Array(I),M=0;M<I;M++){var F=E[M];P[M]=[k+F[0],L-F[1]]}return P}function R(E,k,L,I,P,M){var F=b(E,k,L,I);return"M"+w(F,P,M).join("L")}function A(E,k,L,I,P,M,F){var N,T;E<k?(N=E,T=k):(N=k,T=E);var D=w(b(N,L,I,P),M,F),O=w(b(T,L,I,P),M,F);return"M"+O.reverse().join("L")+"M"+D.join("L")}u.exports={isPtInsidePolygon:_,findPolygonOffset:x,findEnclosingVertexAngles:y,findIntersectionXY:c,findXYatLength:s,clampTiny:C,pathPolygon:R,pathPolygonAnnulus:A}},40872:function(u,h,a){var l=a(84888).KY,v=a(3400).counterRegex,i=a(62400),S=a(39360),g=S.attr,p=S.name,_=v(p),c={};c[g]={valType:"subplotid",dflt:p,editType:"calc"};function s(f){for(var b=f._fullLayout,x=f.calcdata,y=b._subplots[p],C=0;C<y.length;C++){var w=y[C],R=l(x,p,w),A=b[w]._subplot;A||(A=i(f,w),b[w]._subplot=A),A.plot(R,b,f._promises)}}function d(f,b,x,y){for(var C=y._subplots[p]||[],w=y._has&&y._has("gl"),R=b._has&&b._has("gl"),A=w&&!R,E=0;E<C.length;E++){var k=C[E],L=y[k]._subplot;if(!b[k]&&L){L.framework.remove(),L.layers["radial-axis-title"].remove();for(var I in L.clipPaths)L.clipPaths[I].remove()}A&&L._scene&&(L._scene.destroy(),L._scene=null)}}u.exports={attr:g,name:p,idRoot:p,idRegex:_,attrRegex:_,attributes:c,layoutAttributes:a(95300),supplyLayoutDefaults:a(84380),plot:s,clean:d,toSVG:a(57952).toSVG}},95300:function(u,h,a){var l=a(22548),v=a(94724),i=a(86968).u,S=a(3400).extendFlat,g=a(67824).overrideAll,p=g({color:v.color,showline:S({},v.showline,{dflt:!0}),linecolor:v.linecolor,linewidth:v.linewidth,showgrid:S({},v.showgrid,{dflt:!0}),gridcolor:v.gridcolor,gridwidth:v.gridwidth,griddash:v.griddash},"plot","from-root"),_=g({tickmode:v.minor.tickmode,nticks:v.nticks,tick0:v.tick0,dtick:v.dtick,tickvals:v.tickvals,ticktext:v.ticktext,ticks:v.ticks,ticklen:v.ticklen,tickwidth:v.tickwidth,tickcolor:v.tickcolor,ticklabelstep:v.ticklabelstep,showticklabels:v.showticklabels,labelalias:v.labelalias,showtickprefix:v.showtickprefix,tickprefix:v.tickprefix,showticksuffix:v.showticksuffix,ticksuffix:v.ticksuffix,showexponent:v.showexponent,exponentformat:v.exponentformat,minexponent:v.minexponent,separatethousands:v.separatethousands,tickfont:v.tickfont,tickangle:v.tickangle,tickformat:v.tickformat,tickformatstops:v.tickformatstops,layer:v.layer},"plot","from-root"),c={visible:S({},v.visible,{dflt:!0}),type:S({},v.type,{values:["-","linear","log","date","category"]}),autotypenumbers:v.autotypenumbers,autorangeoptions:{minallowed:v.autorangeoptions.minallowed,maxallowed:v.autorangeoptions.maxallowed,clipmin:v.autorangeoptions.clipmin,clipmax:v.autorangeoptions.clipmax,include:v.autorangeoptions.include,editType:"plot"},autorange:S({},v.autorange,{editType:"plot"}),rangemode:{valType:"enumerated",values:["tozero","nonnegative","normal"],dflt:"tozero",editType:"calc"},minallowed:S({},v.minallowed,{editType:"plot"}),maxallowed:S({},v.maxallowed,{editType:"plot"}),range:S({},v.range,{items:[{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}}],editType:"plot"}),categoryorder:v.categoryorder,categoryarray:v.categoryarray,angle:{valType:"angle",editType:"plot"},autotickangles:v.autotickangles,side:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"clockwise",editType:"plot"},title:{text:S({},v.title.text,{editType:"plot",dflt:""}),font:S({},v.title.font,{editType:"plot"}),editType:"plot"},hoverformat:v.hoverformat,uirevision:{valType:"any",editType:"none"},editType:"calc",_deprecated:{title:v._deprecated.title,titlefont:v._deprecated.titlefont}};S(c,p,_);var s={visible:S({},v.visible,{dflt:!0}),type:{valType:"enumerated",values:["-","linear","category"],dflt:"-",editType:"calc",_noTemplating:!0},autotypenumbers:v.autotypenumbers,categoryorder:v.categoryorder,categoryarray:v.categoryarray,thetaunit:{valType:"enumerated",values:["radians","degrees"],dflt:"degrees",editType:"calc"},period:{valType:"number",editType:"calc",min:0},direction:{valType:"enumerated",values:["counterclockwise","clockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",editType:"calc"},hoverformat:v.hoverformat,uirevision:{valType:"any",editType:"none"},editType:"calc"};S(s,p,_),u.exports={domain:i({name:"polar",editType:"plot"}),sector:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],dflt:[0,360],editType:"plot"},hole:{valType:"number",min:0,max:1,dflt:0,editType:"plot"},bgcolor:{valType:"color",editType:"plot",dflt:l.background},radialaxis:c,angularaxis:s,gridshape:{valType:"enumerated",values:["circular","linear"],dflt:"circular",editType:"plot"},uirevision:{valType:"any",editType:"none"},editType:"calc"}},84380:function(u,h,a){var l=a(3400),v=a(76308),i=a(31780),S=a(168),g=a(84888).op,p=a(26332),_=a(25404),c=a(95936),s=a(42568),d=a(22416),f=a(42136),b=a(76808),x=a(52976),y=a(95300),C=a(57696),w=a(39360),R=w.axisNames;function A(k,L,I,P){var M=I("bgcolor");P.bgColor=v.combine(M,P.paper_bgcolor);var F=I("sector");I("hole");var N=g(P.fullData,w.name,P.id),T=P.layoutOut,D;function O(te,ce){return I(D+"."+te,ce)}for(var U=0;U<R.length;U++){D=R[U],l.isPlainObject(k[D])||(k[D]={});var B=k[D],Y=i.newContainer(L,D);Y._id=Y._name=D,Y._attr=P.id+"."+D,Y._traceIndices=N.map(function(te){return te._expandedIndex});var z=w.axisName2dataArray[D],V=E(B,Y,O,N,z,P);d(B,Y,O,{axData:N,dataAttr:z});var j=O("visible");switch(C(Y,L,T),O("uirevision",L.uirevision),Y._m=1,D){case"radialaxis":O("minallowed"),O("maxallowed");var G=O("range"),W=Y.getAutorangeDflt(G),X=O("autorange",W),Q;G&&(G[0]===null&&G[1]===null||(G[0]===null||G[1]===null)&&(X==="reversed"||X===!0)||G[0]!==null&&(X==="min"||X==="max reversed")||G[1]!==null&&(X==="max"||X==="min reversed"))&&(G=void 0,delete Y.range,Y.autorange=!0,Q=!0),Q||(W=Y.getAutorangeDflt(G),X=O("autorange",W)),B.autorange=X,X&&(b(O,X,G),(V==="linear"||V==="-")&&O("rangemode"),Y.isReversed()&&(Y._m=-1)),Y.cleanRange("range",{dfltRange:[0,1]});break;case"angularaxis":if(V==="date"){l.log("Polar plots do not support date angular axes yet.");for(var ae=0;ae<N.length;ae++)N[ae].visible=!1;V=B.type=Y.type="linear"}O(V==="linear"?"thetaunit":"period");var ie=O("direction");O("rotation",{counterclockwise:0,clockwise:90}[ie]);break}if(s(B,Y,O,Y.type,{tickSuffixDflt:Y.thetaunit==="degrees"?"°":void 0}),j){var he,J,Z,le,K=P.font||{};he=O("color"),J=he===B.color?he:K.color,Z=K.size,le=K.family,p(B,Y,O,Y.type),c(B,Y,O,Y.type,{font:{color:J,size:Z,family:le},noAutotickangles:D==="angularaxis"}),_(B,Y,O,{outerTicks:!0}),f(B,Y,O,{dfltColor:he,bgColor:P.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:y[D]}),O("layer"),D==="radialaxis"&&(O("side"),O("angle",F[0]),O("title.text"),l.coerceFont(O,"title.font",{color:J,size:l.bigFont(Z),family:le}))}V!=="category"&&O("hoverformat"),Y._input=B}L.angularaxis.type==="category"&&I("gridshape")}function E(k,L,I,P,M,F){var N=I("autotypenumbers",F.autotypenumbersDflt),T=I("type");if(T==="-"){for(var D,O=0;O<P.length;O++)if(P[O].visible){D=P[O];break}D&&D[M]&&(L.type=x(D[M],"gregorian",{noMultiCategory:!0,autotypenumbers:N})),L.type==="-"?L.type="linear":k.type=L.type}return L.type}u.exports=function(L,I,P){S(L,I,P,{type:w.name,attributes:y,handleDefaults:A,font:I.font,autotypenumbersDflt:I.autotypenumbers,paper_bgcolor:I.paper_bgcolor,fullData:P,layoutOut:I})}},62400:function(u,h,a){var l=a(33428),v=a(49760),i=a(24040),S=a(3400),g=S.strRotate,p=S.strTranslate,_=a(76308),c=a(43616),s=a(7316),d=a(54460),f=a(78344),b=a(57696),x=a(19280).doAutoRange,y=a(51184),C=a(86476),w=a(93024),R=a(81668),A=a(22676).prepSelect,E=a(22676).selectOnClick,k=a(22676).clearOutline,L=a(93972),I=a(73696),P=a(39172).redrawReglTraces,M=a(84284).MID_SHIFT,F=a(39360),N=a(57384),T=a(36416),D=T.smith,O=T.reactanceArc,U=T.resistanceArc,B=T.smithTransform,Y=S._,z=S.mod,V=S.deg2rad,j=S.rad2deg;function G(he,J,Z){this.isSmith=Z||!1,this.id=J,this.gd=he,this._hasClipOnAxisFalse=null,this.vangles=null,this.radialAxisAngle=null,this.traceHash={},this.layers={},this.clipPaths={},this.clipIds={},this.viewInitial={};var le=he._fullLayout,K="clip"+le._uid+J;this.clipIds.forTraces=K+"-for-traces",this.clipPaths.forTraces=le._clips.append("clipPath").attr("id",this.clipIds.forTraces),this.clipPaths.forTraces.append("path"),this.framework=le["_"+(Z?"smith":"polar")+"layer"].append("g").attr("class",J),this.getHole=function(te){return this.isSmith?0:te.hole},this.getSector=function(te){return this.isSmith?[0,360]:te.sector},this.getRadial=function(te){return this.isSmith?te.realaxis:te.radialaxis},this.getAngular=function(te){return this.isSmith?te.imaginaryaxis:te.angularaxis},Z||(this.radialTickLayout=null,this.angularTickLayout=null)}var W=G.prototype;u.exports=function(J,Z,le){return new G(J,Z,le)},W.plot=function(he,J){for(var Z=this,le=J[Z.id],K=!1,te=0;te<he.length;te++){var ce=he[te][0].trace;if(ce.cliponaxis===!1){K=!0;break}}Z._hasClipOnAxisFalse=K,Z.updateLayers(J,le),Z.updateLayout(J,le),s.generalUpdatePerTraceModule(Z.gd,Z,he,le),Z.updateFx(J,le),Z.isSmith&&(delete le.realaxis.range,delete le.imaginaryaxis.range)},W.updateLayers=function(he,J){var Z=this,le=Z.isSmith,K=Z.layers,te=Z.getRadial(J),ce=Z.getAngular(J),re=F.layerNames,ee=re.indexOf("frontplot"),de=re.slice(0,ee),oe=ce.layer==="below traces",fe=te.layer==="below traces";oe&&de.push("angular-line"),fe&&de.push("radial-line"),oe&&de.push("angular-axis"),fe&&de.push("radial-axis"),de.push("frontplot"),oe||de.push("angular-line"),fe||de.push("radial-line"),oe||de.push("angular-axis"),fe||de.push("radial-axis");var me=(le?"smith":"polar")+"sublayer",Te=Z.framework.selectAll("."+me).data(de,String);Te.enter().append("g").attr("class",function(we){return me+" "+we}).each(function(we){var Be=K[we]=l.select(this);switch(we){case"frontplot":le||Be.append("g").classed("barlayer",!0),Be.append("g").classed("scatterlayer",!0);break;case"backplot":Be.append("g").classed("maplayer",!0);break;case"plotbg":K.bg=Be.append("path");break;case"radial-grid":Be.style("fill","none");break;case"angular-grid":Be.style("fill","none");break;case"radial-line":Be.append("line").style("fill","none");break;case"angular-line":Be.append("path").style("fill","none");break}}),Te.order()},W.updateLayout=function(he,J){var Z=this,le=Z.layers,K=he._size,te=Z.getRadial(J),ce=Z.getAngular(J),re=J.domain.x,ee=J.domain.y;Z.xOffset=K.l+K.w*re[0],Z.yOffset=K.t+K.h*(1-ee[1]);var de=Z.xLength=K.w*(re[1]-re[0]),oe=Z.yLength=K.h*(ee[1]-ee[0]),fe=Z.getSector(J);Z.sectorInRad=fe.map(V);var me=Z.sectorBBox=Q(fe),Te=me[2]-me[0],we=me[3]-me[1],Be=oe/de,Ae=Math.abs(we/Te),Re,be,Pe,Ke,ze;Be>Ae?(Re=de,be=de*Ae,ze=(oe-be)/K.h/2,Pe=[re[0],re[1]],Ke=[ee[0]+ze,ee[1]-ze]):(Re=oe/Ae,be=oe,ze=(de-Re)/K.w/2,Pe=[re[0]+ze,re[1]-ze],Ke=[ee[0],ee[1]]),Z.xLength2=Re,Z.yLength2=be,Z.xDomain2=Pe,Z.yDomain2=Ke;var Fe=Z.xOffset2=K.l+K.w*Pe[0],We=Z.yOffset2=K.t+K.h*(1-Ke[1]),lt=Z.radius=Re/Te,ht=Z.innerRadius=Z.getHole(J)*lt,tt=Z.cx=Fe-lt*me[0],et=Z.cy=We+lt*me[3],pt=Z.cxx=tt-Fe,vt=Z.cyy=et-We,_t=te.side,bt;_t==="counterclockwise"?(bt=_t,_t="top"):_t==="clockwise"&&(bt=_t,_t="bottom"),Z.radialAxis=Z.mockAxis(he,J,te,{_id:"x",side:_t,_trueSide:bt,domain:[ht/K.w,lt/K.w]}),Z.angularAxis=Z.mockAxis(he,J,ce,{side:"right",domain:[0,Math.PI],autorange:!1}),Z.doAutoRange(he,J),Z.updateAngularAxis(he,J),Z.updateRadialAxis(he,J),Z.updateRadialAxisTitle(he,J),Z.xaxis=Z.mockCartesianAxis(he,J,{_id:"x",domain:Pe}),Z.yaxis=Z.mockCartesianAxis(he,J,{_id:"y",domain:Ke});var Rt=Z.pathSubplot();Z.clipPaths.forTraces.select("path").attr("d",Rt).attr("transform",p(pt,vt)),le.frontplot.attr("transform",p(Fe,We)).call(c.setClipUrl,Z._hasClipOnAxisFalse?null:Z.clipIds.forTraces,Z.gd),le.bg.attr("d",Rt).attr("transform",p(tt,et)).call(_.fill,J.bgcolor)},W.mockAxis=function(he,J,Z,le){var K=S.extendFlat({},Z,le);return b(K,J,he),K},W.mockCartesianAxis=function(he,J,Z){var le=this,K=le.isSmith,te=Z._id,ce=S.extendFlat({type:"linear"},Z);f(ce,he);var re={x:[0,2],y:[1,3]};return ce.setRange=function(){var ee=le.sectorBBox,de=re[te],oe=le.radialAxis._rl,fe=(oe[1]-oe[0])/(1-le.getHole(J));ce.range=[ee[de[0]]*fe,ee[de[1]]*fe]},ce.isPtWithinRange=te==="x"&&!K?function(ee){return le.isPtInside(ee)}:function(){return!0},ce.setRange(),ce.setScale(),ce},W.doAutoRange=function(he,J){var Z=this,le=Z.gd,K=Z.radialAxis,te=Z.getRadial(J);x(le,K);var ce=K.range;if(te.range=ce.slice(),te._input.range=ce.slice(),K._rl=[K.r2l(ce[0],null,"gregorian"),K.r2l(ce[1],null,"gregorian")],K.minallowed!==void 0){var re=K.r2l(K.minallowed);K._rl[0]>K._rl[1]?K._rl[1]=Math.max(K._rl[1],re):K._rl[0]=Math.max(K._rl[0],re)}if(K.maxallowed!==void 0){var ee=K.r2l(K.maxallowed);K._rl[0]<K._rl[1]?K._rl[1]=Math.min(K._rl[1],ee):K._rl[0]=Math.min(K._rl[0],ee)}},W.updateRadialAxis=function(he,J){var Z=this,le=Z.gd,K=Z.layers,te=Z.radius,ce=Z.innerRadius,re=Z.cx,ee=Z.cy,de=Z.getRadial(J),oe=z(Z.getSector(J)[0],360),fe=Z.radialAxis,me=ce<te,Te=Z.isSmith;Te||(Z.fillViewInitialKey("radialaxis.angle",de.angle),Z.fillViewInitialKey("radialaxis.range",fe.range.slice()),fe.setGeometry()),fe.tickangle==="auto"&&oe>90&&oe<=270&&(fe.tickangle=180);var we=Te?function(lt){var ht=B(Z,D([lt.x,0]));return p(ht[0]-re,ht[1]-ee)}:function(lt){return p(fe.l2p(lt.x)+ce,0)},Be=Te?function(lt){return U(Z,lt.x,-1/0,1/0)}:function(lt){return Z.pathArc(fe.r2p(lt.x)+ce)},Ae=X(de);if(Z.radialTickLayout!==Ae&&(K["radial-axis"].selectAll(".xtick").remove(),Z.radialTickLayout=Ae),me){fe.setScale();var Re=0,be=Te?(fe.tickvals||[]).filter(function(lt){return lt>=0}).map(function(lt){return d.tickText(fe,lt,!0,!1)}):d.calcTicks(fe),Pe=Te?be:d.clipEnds(fe,be),Ke=d.getTickSigns(fe)[2];Te&&((fe.ticks==="top"&&fe.side==="bottom"||fe.ticks==="bottom"&&fe.side==="top")&&(Ke=-Ke),fe.ticks==="top"&&fe.side==="top"&&(Re=-fe.ticklen),fe.ticks==="bottom"&&fe.side==="bottom"&&(Re=fe.ticklen)),d.drawTicks(le,fe,{vals:be,layer:K["radial-axis"],path:d.makeTickPath(fe,0,Ke),transFn:we,crisp:!1}),d.drawGrid(le,fe,{vals:Pe,layer:K["radial-grid"],path:Be,transFn:S.noop,crisp:!1}),d.drawLabels(le,fe,{vals:be,layer:K["radial-axis"],transFn:we,labelFns:d.makeLabelFns(fe,Re)})}var ze=Z.radialAxisAngle=Z.vangles?j(ae(V(de.angle),Z.vangles)):de.angle,Fe=p(re,ee),We=Fe+g(-ze);ie(K["radial-axis"],me&&(de.showticklabels||de.ticks),{transform:We}),ie(K["radial-grid"],me&&de.showgrid,{transform:Te?"":Fe}),ie(K["radial-line"].select("line"),me&&de.showline,{x1:Te?-te:ce,y1:0,x2:te,y2:0,transform:We}).attr("stroke-width",de.linewidth).call(_.stroke,de.linecolor)},W.updateRadialAxisTitle=function(he,J,Z){if(!this.isSmith){var le=this,K=le.gd,te=le.radius,ce=le.cx,re=le.cy,ee=le.getRadial(J),de=le.id+"title",oe=0;if(ee.title){var fe=c.bBox(le.layers["radial-axis"].node()).height,me=ee.title.font.size,Te=ee.side;oe=Te==="top"?me:Te==="counterclockwise"?-(fe+me*.4):fe+me*.8}var we=Z!==void 0?Z:le.radialAxisAngle,Be=V(we),Ae=Math.cos(Be),Re=Math.sin(Be),be=ce+te/2*Ae+oe*Re,Pe=re-te/2*Re+oe*Ae;le.layers["radial-axis-title"]=R.draw(K,de,{propContainer:ee,propName:le.id+".radialaxis.title",placeholder:Y(K,"Click to enter radial axis title"),attributes:{x:be,y:Pe,"text-anchor":"middle"},transform:{rotate:-we}})}},W.updateAngularAxis=function(he,J){var Z=this,le=Z.gd,K=Z.layers,te=Z.radius,ce=Z.innerRadius,re=Z.cx,ee=Z.cy,de=Z.getAngular(J),oe=Z.angularAxis,fe=Z.isSmith;fe||(Z.fillViewInitialKey("angularaxis.rotation",de.rotation),oe.setGeometry(),oe.setScale());var me=fe?function(ht){var tt=B(Z,D([0,ht.x]));return Math.atan2(tt[0]-re,tt[1]-ee)-Math.PI/2}:function(ht){return oe.t2g(ht.x)};oe.type==="linear"&&oe.thetaunit==="radians"&&(oe.tick0=j(oe.tick0),oe.dtick=j(oe.dtick));var Te=function(ht){return p(re+te*Math.cos(ht),ee-te*Math.sin(ht))},we=fe?function(ht){var tt=B(Z,D([0,ht.x]));return p(tt[0],tt[1])}:function(ht){return Te(me(ht))},Be=fe?function(ht){var tt=B(Z,D([0,ht.x])),et=Math.atan2(tt[0]-re,tt[1]-ee)-Math.PI/2;return p(tt[0],tt[1])+g(-j(et))}:function(ht){var tt=me(ht);return Te(tt)+g(-j(tt))},Ae=fe?function(ht){return O(Z,ht.x,0,1/0)}:function(ht){var tt=me(ht),et=Math.cos(tt),pt=Math.sin(tt);return"M"+[re+ce*et,ee-ce*pt]+"L"+[re+te*et,ee-te*pt]},Re=d.makeLabelFns(oe,0),be=Re.labelStandoff,Pe={};Pe.xFn=function(ht){var tt=me(ht);return Math.cos(tt)*be},Pe.yFn=function(ht){var tt=me(ht),et=Math.sin(tt)>0?.2:1;return-Math.sin(tt)*(be+ht.fontSize*et)+Math.abs(Math.cos(tt))*(ht.fontSize*M)},Pe.anchorFn=function(ht){var tt=me(ht),et=Math.cos(tt);return Math.abs(et)<.1?"middle":et>0?"start":"end"},Pe.heightFn=function(ht,tt,et){var pt=me(ht);return-.5*(1+Math.sin(pt))*et};var Ke=X(de);Z.angularTickLayout!==Ke&&(K["angular-axis"].selectAll("."+oe._id+"tick").remove(),Z.angularTickLayout=Ke);var ze=fe?[1/0].concat(oe.tickvals||[]).map(function(ht){return d.tickText(oe,ht,!0,!1)}):d.calcTicks(oe);fe&&(ze[0].text="∞",ze[0].fontSize*=1.75);var Fe;if(J.gridshape==="linear"?(Fe=ze.map(me),S.angleDelta(Fe[0],Fe[1])<0&&(Fe=Fe.slice().reverse())):Fe=null,Z.vangles=Fe,oe.type==="category"&&(ze=ze.filter(function(ht){return S.isAngleInsideSector(me(ht),Z.sectorInRad)})),oe.visible){var We=oe.ticks==="inside"?-1:1,lt=(oe.linewidth||1)/2;d.drawTicks(le,oe,{vals:ze,layer:K["angular-axis"],path:"M"+We*lt+",0h"+We*oe.ticklen,transFn:Be,crisp:!1}),d.drawGrid(le,oe,{vals:ze,layer:K["angular-grid"],path:Ae,transFn:S.noop,crisp:!1}),d.drawLabels(le,oe,{vals:ze,layer:K["angular-axis"],repositionOnUpdate:!0,transFn:we,labelFns:Pe})}ie(K["angular-line"].select("path"),de.showline,{d:Z.pathSubplot(),transform:p(re,ee)}).attr("stroke-width",de.linewidth).call(_.stroke,de.linecolor)},W.updateFx=function(he,J){if(!this.gd._context.staticPlot){var Z=!this.isSmith;Z&&(this.updateAngularDrag(he),this.updateRadialDrag(he,J,0),this.updateRadialDrag(he,J,1)),this.updateHoverAndMainDrag(he)}},W.updateHoverAndMainDrag=function(he){var J=this,Z=J.isSmith,le=J.gd,K=J.layers,te=he._zoomlayer,ce=F.MINZOOM,re=F.OFFEDGE,ee=J.radius,de=J.innerRadius,oe=J.cx,fe=J.cy,me=J.cxx,Te=J.cyy,we=J.sectorInRad,Be=J.vangles,Ae=J.radialAxis,Re=N.clampTiny,be=N.findXYatLength,Pe=N.findEnclosingVertexAngles,Ke=F.cornerHalfWidth,ze=F.cornerLen/2,Fe,We,lt=y.makeDragger(K,"path","maindrag",he.dragmode===!1?"none":"crosshair");l.select(lt).attr("d",J.pathSubplot()).attr("transform",p(oe,fe)),lt.onmousemove=function(It){w.hover(le,It,J.id),le._fullLayout._lasthover=lt,le._fullLayout._hoversubplot=J.id},lt.onmouseout=function(It){le._dragging||C.unhover(le,It)};var ht={element:lt,gd:le,subplot:J.id,plotinfo:{id:J.id,xaxis:J.xaxis,yaxis:J.yaxis},xaxes:[J.xaxis],yaxes:[J.yaxis]},tt,et,pt,vt,_t,bt,Rt,ct,Ve;function Qe(It,Gt){return Math.sqrt(It*It+Gt*Gt)}function rt(It,Gt){return Qe(It-me,Gt-Te)}function qe(It,Gt){return Math.atan2(Te-Gt,It-me)}function He(It,Gt){return[It*Math.cos(Gt),It*Math.sin(-Gt)]}function Ce(It,Gt){if(It===0)return J.pathSector(2*Ke);var cr=ze/It,Pr=Gt-cr,Ct=Gt+cr,or=Math.max(0,Math.min(It,ee)),ur=or-Ke,Ir=or+Ke;return"M"+He(ur,Pr)+"A"+[ur,ur]+" 0,0,0 "+He(ur,Ct)+"L"+He(Ir,Ct)+"A"+[Ir,Ir]+" 0,0,1 "+He(Ir,Pr)+"Z"}function Se(It,Gt,cr){if(It===0)return J.pathSector(2*Ke);var Pr=He(It,Gt),Ct=He(It,cr),or=Re((Pr[0]+Ct[0])/2),ur=Re((Pr[1]+Ct[1])/2),Ir,yr;if(or&&ur){var At=ur/or,mt=-1/At,Mt=be(Ke,At,or,ur);Ir=be(ze,mt,Mt[0][0],Mt[0][1]),yr=be(ze,mt,Mt[1][0],Mt[1][1])}else{var Pt,Ht;ur?(Pt=ze,Ht=Ke):(Pt=Ke,Ht=ze),Ir=[[or-Pt,ur-Ht],[or+Pt,ur-Ht]],yr=[[or-Pt,ur+Ht],[or+Pt,ur+Ht]]}return"M"+Ir.join("L")+"L"+yr.reverse().join("L")+"Z"}function Le(){pt=null,vt=null,_t=J.pathSubplot(),bt=!1;var It=le._fullLayout[J.id];Rt=v(It.bgcolor).getLuminance(),ct=y.makeZoombox(te,Rt,oe,fe,_t),ct.attr("fill-rule","evenodd"),Ve=y.makeCorners(te,oe,fe),k(le)}function Ne(It,Gt){return Gt=Math.max(Math.min(Gt,ee),de),It<re?It=0:ee-It<re?It=ee:Gt<re?Gt=0:ee-Gt<re&&(Gt=ee),Math.abs(Gt-It)>ce?(It<Gt?(pt=It,vt=Gt):(pt=Gt,vt=It),!0):(pt=null,vt=null,!1)}function je(It,Gt){It=It||_t,Gt=Gt||"M0,0Z",ct.attr("d",It),Ve.attr("d",Gt),y.transitionZoombox(ct,Ve,bt,Rt),bt=!0;var cr={};nr(cr),le.emit("plotly_relayouting",cr)}function Je(It,Gt){It=It*Fe,Gt=Gt*We;var cr=tt+It,Pr=et+Gt,Ct=rt(tt,et),or=Math.min(rt(cr,Pr),ee),ur=qe(tt,et),Ir,yr;Ne(Ct,or)&&(Ir=_t+J.pathSector(vt),pt&&(Ir+=J.pathSector(pt)),yr=Ce(pt,ur)+Ce(vt,ur)),je(Ir,yr)}function ut(It,Gt,cr,Pr){var Ct=N.findIntersectionXY(cr,Pr,cr,[It-me,Te-Gt]);return Qe(Ct[0],Ct[1])}function Et(It,Gt){var cr=tt+It,Pr=et+Gt,Ct=qe(tt,et),or=qe(cr,Pr),ur=Pe(Ct,Be),Ir=Pe(or,Be),yr=ut(tt,et,ur[0],ur[1]),At=Math.min(ut(cr,Pr,Ir[0],Ir[1]),ee),mt,Mt;Ne(yr,At)&&(mt=_t+J.pathSector(vt),pt&&(mt+=J.pathSector(pt)),Mt=[Se(pt,ur[0],ur[1]),Se(vt,ur[0],ur[1])].join(" ")),je(mt,Mt)}function wt(){if(y.removeZoombox(le),!(pt===null||vt===null)){var It={};nr(It),y.showDoubleClickNotifier(le),i.call("_guiRelayout",le,It)}}function nr(It){var Gt=Ae._rl,cr=(Gt[1]-Gt[0])/(1-de/ee)/ee,Pr=[Gt[0]+(pt-de)*cr,Gt[0]+(vt-de)*cr];It[J.id+".radialaxis.range"]=Pr}function ir(It,Gt){var cr=le._fullLayout.clickmode;if(y.removeZoombox(le),It===2){var Pr={};for(var Ct in J.viewInitial)Pr[J.id+"."+Ct]=J.viewInitial[Ct];le.emit("plotly_doubleclick",null),i.call("_guiRelayout",le,Pr)}cr.indexOf("select")>-1&&It===1&&E(Gt,le,[J.xaxis],[J.yaxis],J.id,ht),cr.indexOf("event")>-1&&w.click(le,Gt,J.id)}ht.prepFn=function(It,Gt,cr){var Pr=le._fullLayout.dragmode,Ct=lt.getBoundingClientRect();le._fullLayout._calcInverseTransform(le);var or=le._fullLayout._invTransform;Fe=le._fullLayout._invScaleX,We=le._fullLayout._invScaleY;var ur=S.apply3DTransform(or)(Gt-Ct.left,cr-Ct.top);if(tt=ur[0],et=ur[1],Be){var Ir=N.findPolygonOffset(ee,we[0],we[1],Be);tt+=me+Ir[0],et+=Te+Ir[1]}switch(Pr){case"zoom":ht.clickFn=ir,Z||(Be?ht.moveFn=Et:ht.moveFn=Je,ht.doneFn=wt,Le());break;case"select":case"lasso":A(It,Gt,cr,ht,Pr);break}},C.init(ht)},W.updateRadialDrag=function(he,J,Z){var le=this,K=le.gd,te=le.layers,ce=le.radius,re=le.innerRadius,ee=le.cx,de=le.cy,oe=le.radialAxis,fe=F.radialDragBoxSize,me=fe/2;if(!oe.visible)return;var Te=V(le.radialAxisAngle),we=oe._rl,Be=we[0],Ae=we[1],Re=we[Z],be=.75*(we[1]-we[0])/(1-le.getHole(J))/ce,Pe,Ke,ze;Z?(Pe=ee+(ce+me)*Math.cos(Te),Ke=de-(ce+me)*Math.sin(Te),ze="radialdrag"):(Pe=ee+(re-me)*Math.cos(Te),Ke=de-(re-me)*Math.sin(Te),ze="radialdrag-inner");var Fe=y.makeRectDragger(te,ze,"crosshair",-me,-me,fe,fe),We={element:Fe,gd:K};he.dragmode===!1&&(We.dragmode=!1),ie(l.select(Fe),oe.visible&&re<ce,{transform:p(Pe,Ke)});var lt,ht,tt;function et(Rt,ct){if(lt)lt(Rt,ct);else{var Ve=[Rt,-ct],Qe=[Math.cos(Te),Math.sin(Te)],rt=Math.abs(S.dot(Ve,Qe)/Math.sqrt(S.dot(Ve,Ve)));isNaN(rt)||(lt=rt<.5?_t:bt)}var qe={};pt(qe),K.emit("plotly_relayouting",qe)}function pt(Rt){ht!==null?Rt[le.id+".radialaxis.angle"]=ht:tt!==null&&(Rt[le.id+".radialaxis.range["+Z+"]"]=tt)}function vt(){ht!==null?i.call("_guiRelayout",K,le.id+".radialaxis.angle",ht):tt!==null&&i.call("_guiRelayout",K,le.id+".radialaxis.range["+Z+"]",tt)}function _t(Rt,ct){if(Z!==0){var Ve=Pe+Rt,Qe=Ke+ct;ht=Math.atan2(de-Qe,Ve-ee),le.vangles&&(ht=ae(ht,le.vangles)),ht=j(ht);var rt=p(ee,de)+g(-ht);te["radial-axis"].attr("transform",rt),te["radial-line"].select("line").attr("transform",rt);var qe=le.gd._fullLayout,He=qe[le.id];le.updateRadialAxisTitle(qe,He,ht)}}function bt(Rt,ct){var Ve=S.dot([Rt,-ct],[Math.cos(Te),Math.sin(Te)]);if(tt=Re-be*Ve,be>0!=(Z?tt>Be:tt<Ae)){tt=null;return}var Qe=K._fullLayout,rt=Qe[le.id];oe.range[Z]=tt,oe._rl[Z]=tt,le.updateRadialAxis(Qe,rt),le.xaxis.setRange(),le.xaxis.setScale(),le.yaxis.setRange(),le.yaxis.setScale();var qe=!1;for(var He in le.traceHash){var Ce=le.traceHash[He],Se=S.filterVisible(Ce),Le=Ce[0][0].trace._module;Le.plot(K,le,Se,rt),i.traceIs(He,"gl")&&Se.length&&(qe=!0)}qe&&(I(K),P(K))}We.prepFn=function(){lt=null,ht=null,tt=null,We.moveFn=et,We.doneFn=vt,k(K)},We.clampFn=function(Rt,ct){return Math.sqrt(Rt*Rt+ct*ct)<F.MINDRAG&&(Rt=0,ct=0),[Rt,ct]},C.init(We)},W.updateAngularDrag=function(he){var J=this,Z=J.gd,le=J.layers,K=J.radius,te=J.angularAxis,ce=J.cx,re=J.cy,ee=J.cxx,de=J.cyy,oe=F.angularDragBoxSize,fe=y.makeDragger(le,"path","angulardrag",he.dragmode===!1?"none":"move"),me={element:fe,gd:Z};he.dragmode===!1?me.dragmode=!1:l.select(fe).attr("d",J.pathAnnulus(K,K+oe)).attr("transform",p(ce,re)).call(L,"move");function Te(tt,et){return Math.atan2(de+oe-et,tt-ee-oe)}var we=le.frontplot.select(".scatterlayer").selectAll(".trace"),Be=we.selectAll(".point"),Ae=we.selectAll(".textpoint"),Re,be,Pe,Ke,ze,Fe;function We(tt,et){var pt=J.gd._fullLayout,vt=pt[J.id],_t=Re+tt*he._invScaleX,bt=be+et*he._invScaleY,Rt=Te(_t,bt),ct=j(Rt-Fe);if(Ke=Pe+ct,le.frontplot.attr("transform",p(J.xOffset2,J.yOffset2)+g([-ct,ee,de])),J.vangles){ze=J.radialAxisAngle+ct;var Ve=p(ce,re)+g(-ct),Qe=p(ce,re)+g(-ze);le.bg.attr("transform",Ve),le["radial-grid"].attr("transform",Ve),le["radial-axis"].attr("transform",Qe),le["radial-line"].select("line").attr("transform",Qe),J.updateRadialAxisTitle(pt,vt,ze)}else J.clipPaths.forTraces.select("path").attr("transform",p(ee,de)+g(ct));Be.each(function(){var Ne=l.select(this),je=c.getTranslate(Ne);Ne.attr("transform",p(je.x,je.y)+g([ct]))}),Ae.each(function(){var Ne=l.select(this),je=Ne.select("text"),Je=c.getTranslate(Ne);Ne.attr("transform",g([ct,je.attr("x"),je.attr("y")])+p(Je.x,Je.y))}),te.rotation=S.modHalf(Ke,360),J.updateAngularAxis(pt,vt),J._hasClipOnAxisFalse&&!S.isFullCircle(J.sectorInRad)&&we.call(c.hideOutsideRangePoints,J);var rt=!1;for(var qe in J.traceHash)if(i.traceIs(qe,"gl")){var He=J.traceHash[qe],Ce=S.filterVisible(He),Se=He[0][0].trace._module;Se.plot(Z,J,Ce,vt),Ce.length&&(rt=!0)}rt&&(I(Z),P(Z));var Le={};lt(Le),Z.emit("plotly_relayouting",Le)}function lt(tt){tt[J.id+".angularaxis.rotation"]=Ke,J.vangles&&(tt[J.id+".radialaxis.angle"]=ze)}function ht(){Ae.select("text").attr("transform",null);var tt={};lt(tt),i.call("_guiRelayout",Z,tt)}me.prepFn=function(tt,et,pt){var vt=he[J.id];Pe=vt.angularaxis.rotation;var _t=fe.getBoundingClientRect();Re=et-_t.left,be=pt-_t.top,Z._fullLayout._calcInverseTransform(Z);var bt=S.apply3DTransform(he._invTransform)(Re,be);Re=bt[0],be=bt[1],Fe=Te(Re,be),me.moveFn=We,me.doneFn=ht,k(Z)},J.vangles&&!S.isFullCircle(J.sectorInRad)&&(me.prepFn=S.noop,L(l.select(fe),null)),C.init(me)},W.isPtInside=function(he){if(this.isSmith)return!0;var J=this.sectorInRad,Z=this.vangles,le=this.angularAxis.c2g(he.theta),K=this.radialAxis,te=K.c2l(he.r),ce=K._rl,re=Z?N.isPtInsidePolygon:S.isPtInsideSector;return re(te,le,ce,J,Z)},W.pathArc=function(he){var J=this.sectorInRad,Z=this.vangles,le=Z?N.pathPolygon:S.pathArc;return le(he,J[0],J[1],Z)},W.pathSector=function(he){var J=this.sectorInRad,Z=this.vangles,le=Z?N.pathPolygon:S.pathSector;return le(he,J[0],J[1],Z)},W.pathAnnulus=function(he,J){var Z=this.sectorInRad,le=this.vangles,K=le?N.pathPolygonAnnulus:S.pathAnnulus;return K(he,J,Z[0],Z[1],le)},W.pathSubplot=function(){var he=this.innerRadius,J=this.radius;return he?this.pathAnnulus(he,J):this.pathSector(J)},W.fillViewInitialKey=function(he,J){he in this.viewInitial||(this.viewInitial[he]=J)};function X(he){var J=he.ticks+String(he.ticklen)+String(he.showticklabels);return"side"in he&&(J+=he.side),J}function Q(he){var J=he[0],Z=he[1],le=Z-J,K=z(J,360),te=K+le,ce=Math.cos(V(K)),re=Math.sin(V(K)),ee=Math.cos(V(te)),de=Math.sin(V(te)),oe,fe,me,Te;return K<=90&&te>=90||K>90&&te>=450?Te=1:re<=0&&de<=0?Te=0:Te=Math.max(re,de),K<=180&&te>=180||K>180&&te>=540?oe=-1:ce>=0&&ee>=0?oe=0:oe=Math.min(ce,ee),K<=270&&te>=270||K>270&&te>=630?fe=-1:re>=0&&de>=0?fe=0:fe=Math.min(re,de),te>=360?me=1:ce<=0&&ee<=0?me=0:me=Math.max(ce,ee),[oe,fe,me,Te]}function ae(he,J){var Z=function(K){return S.angleDist(he,K)},le=S.findIndexOfMin(J,Z);return J[le]}function ie(he,J,Z){return J?(he.attr("display",null),he.attr(Z)):he&&he.attr("display","none"),he}},57696:function(u,h,a){var l=a(3400),v=a(78344),i=l.deg2rad,S=l.rad2deg;u.exports=function(d,f,b){switch(v(d,b),d._id){case"x":case"radialaxis":g(d,f);break;case"angularaxis":c(d,f);break}};function g(s,d){var f=d._subplot;s.setGeometry=function(){var b=s._rl[0],x=s._rl[1],y=f.innerRadius,C=(f.radius-y)/(x-b),w=y/C,R=b>x?function(A){return A<=0}:function(A){return A>=0};s.c2g=function(A){var E=s.c2l(A)-b;return(R(E)?E:0)+w},s.g2c=function(A){return s.l2c(A+b-w)},s.g2p=function(A){return A*C},s.c2p=function(A){return s.g2p(s.c2g(A))}}}function p(s,d){return d==="degrees"?i(s):s}function _(s,d){return d==="degrees"?S(s):s}function c(s,d){var f=s.type;if(f==="linear"){var b=s.d2c,x=s.c2d;s.d2c=function(y,C){return p(b(y),C)},s.c2d=function(y,C){return x(_(y,C))}}s.makeCalcdata=function(y,C){var w=y[C],R=y._length,A,E,k=function(F){return s.d2c(F,y.thetaunit)};if(w)for(A=new Array(R),E=0;E<R;E++)A[E]=k(w[E]);else{var L=C+"0",I="d"+C,P=L in y?k(y[L]):0,M=y[I]?k(y[I]):(s.period||2*Math.PI)/R;for(A=new Array(R),E=0;E<R;E++)A[E]=P+E*M}return A},s.setGeometry=function(){var y=d.sector,C=y.map(i),w={clockwise:-1,counterclockwise:1}[s.direction],R=i(s.rotation),A=function(N){return w*N+R},E=function(N){return(N-R)/w},k,L,I,P;switch(f){case"linear":L=k=l.identity,P=i,I=S,s.range=l.isFullCircle(C)?[y[0],y[0]+360]:C.map(E).map(S);break;case"category":var M=s._categories.length,F=s.period?Math.max(s.period,M):M;F===0&&(F=1),L=P=function(N){return N*2*Math.PI/F},k=I=function(N){return N*F/Math.PI/2},s.range=[0,F];break}s.c2g=function(N){return A(L(N))},s.g2c=function(N){return k(E(N))},s.t2g=function(N){return A(P(N))},s.g2t=function(N){return I(E(N))}}}},55012:function(u){u.exports={attr:"subplot",name:"smith",axisNames:["realaxis","imaginaryaxis"],axisName2dataArray:{imaginaryaxis:"imag",realaxis:"real"}}},36416:function(u){function h(g){return g<0?-1:g>0?1:0}function a(g){var p=g[0],_=g[1];if(!isFinite(p)||!isFinite(_))return[1,0];var c=(p+1)*(p+1)+_*_;return[(p*p+_*_-1)/c,2*_/c]}function l(g,p){var _=p[0],c=p[1];return[_*g.radius+g.cx,-c*g.radius+g.cy]}function v(g,p){return p*g.radius}function i(g,p,_,c){var s=l(g,a([_,p])),d=s[0],f=s[1],b=l(g,a([c,p])),x=b[0],y=b[1];if(p===0)return["M"+d+","+f,"L"+x+","+y].join(" ");var C=v(g,1/Math.abs(p));return["M"+d+","+f,"A"+C+","+C+" 0 0,"+(p<0?1:0)+" "+x+","+y].join(" ")}function S(g,p,_,c){var s=v(g,1/(p+1)),d=l(g,a([p,_])),f=d[0],b=d[1],x=l(g,a([p,c])),y=x[0],C=x[1];if(h(_)!==h(c)){var w=l(g,a([p,0])),R=w[0],A=w[1];return["M"+f+","+b,"A"+s+","+s+" 0 0,"+(0<_?0:1)+" "+R+","+A,"A"+s+","+s+" 0 0,"+(c<0?0:1)+y+","+C].join(" ")}return["M"+f+","+b,"A"+s+","+s+" 0 0,"+(c<_?0:1)+" "+y+","+C].join(" ")}u.exports={smith:a,reactanceArc:i,resistanceArc:S,smithTransform:l}},47788:function(u,h,a){var l=a(84888).KY,v=a(3400).counterRegex,i=a(62400),S=a(55012),g=S.attr,p=S.name,_=v(p),c={};c[g]={valType:"subplotid",dflt:p,editType:"calc"};function s(f){for(var b=f._fullLayout,x=f.calcdata,y=b._subplots[p],C=0;C<y.length;C++){var w=y[C],R=l(x,p,w),A=b[w]._subplot;A||(A=i(f,w,!0),b[w]._subplot=A),A.plot(R,b,f._promises)}}function d(f,b,x,y){for(var C=y._subplots[p]||[],w=0;w<C.length;w++){var R=C[w],A=y[R]._subplot;if(!b[R]&&A){A.framework.remove();for(var E in A.clipPaths)A.clipPaths[E].remove()}}}u.exports={attr:g,name:p,idRoot:p,idRegex:_,attrRegex:_,attributes:c,layoutAttributes:a(6183),supplyLayoutDefaults:a(22836),plot:s,clean:d,toSVG:a(57952).toSVG}},6183:function(u,h,a){var l=a(22548),v=a(94724),i=a(86968).u,S=a(3400).extendFlat,g=a(67824).overrideAll,p=g({color:v.color,showline:S({},v.showline,{dflt:!0}),linecolor:v.linecolor,linewidth:v.linewidth,showgrid:S({},v.showgrid,{dflt:!0}),gridcolor:v.gridcolor,gridwidth:v.gridwidth,griddash:v.griddash},"plot","from-root"),_=g({ticklen:v.ticklen,tickwidth:S({},v.tickwidth,{dflt:2}),tickcolor:v.tickcolor,showticklabels:v.showticklabels,labelalias:v.labelalias,showtickprefix:v.showtickprefix,tickprefix:v.tickprefix,showticksuffix:v.showticksuffix,ticksuffix:v.ticksuffix,tickfont:v.tickfont,tickformat:v.tickformat,hoverformat:v.hoverformat,layer:v.layer},"plot","from-root"),c=S({visible:S({},v.visible,{dflt:!0}),tickvals:{dflt:[.2,.5,1,2,5],valType:"data_array",editType:"plot"},tickangle:S({},v.tickangle,{dflt:90}),ticks:{valType:"enumerated",values:["top","bottom",""],editType:"ticks"},side:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},editType:"calc"},p,_),s=S({visible:S({},v.visible,{dflt:!0}),tickvals:{valType:"data_array",editType:"plot"},ticks:v.ticks,editType:"calc"},p,_);u.exports={domain:i({name:"smith",editType:"plot"}),bgcolor:{valType:"color",editType:"plot",dflt:l.background},realaxis:c,imaginaryaxis:s,editType:"calc"}},22836:function(u,h,a){var l=a(3400),v=a(76308),i=a(31780),S=a(168),g=a(84888).op,p=a(42568),_=a(95936),c=a(42136),s=a(78344),d=a(6183),f=a(55012),b=f.axisNames,x=C(function(w){return l.isTypedArray(w)&&(w=Array.from(w)),w.slice().reverse().map(function(R){return-R}).concat([0]).concat(w)},String);function y(w,R,A,E){var k=A("bgcolor");E.bgColor=v.combine(k,E.paper_bgcolor);var L=g(E.fullData,f.name,E.id),I=E.layoutOut,P;function M(W,X){return A(P+"."+W,X)}for(var F=0;F<b.length;F++){P=b[F],l.isPlainObject(w[P])||(w[P]={});var N=w[P],T=i.newContainer(R,P);T._id=T._name=P,T._attr=E.id+"."+P,T._traceIndices=L.map(function(W){return W._expandedIndex});var D=M("visible");if(T.type="linear",s(T,I),p(N,T,M,T.type),D){var O=P==="realaxis";if(O&&M("side"),O)M("tickvals");else{var U=x(R.realaxis.tickvals||d.realaxis.tickvals.dflt);M("tickvals",U)}l.isTypedArray(T.tickvals)&&(T.tickvals=Array.from(T.tickvals));var B,Y,z,V,j=E.font||{};D&&(B=M("color"),Y=B===N.color?B:j.color,z=j.size,V=j.family),_(N,T,M,T.type,{noAutotickangles:!0,noTicklabelstep:!0,noAng:!O,noExp:!0,font:{color:Y,size:z,family:V}}),l.coerce2(w,R,d,P+".ticklen"),l.coerce2(w,R,d,P+".tickwidth"),l.coerce2(w,R,d,P+".tickcolor",R.color);var G=M("ticks");G||(delete R[P].ticklen,delete R[P].tickwidth,delete R[P].tickcolor),c(N,T,M,{dfltColor:B,bgColor:E.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:d[P]}),M("layer")}M("hoverformat"),delete T.type,T._input=N}}u.exports=function(R,A,E){S(R,A,E,{noUirevision:!0,type:f.name,attributes:d,handleDefaults:y,font:A.font,paper_bgcolor:A.paper_bgcolor,fullData:E,layoutOut:A})};function C(w,R){var A={};return function(E){var k=R?R(E):E;if(k in A)return A[k];var L=w(E);return A[k]=L,L}}},168:function(u,h,a){var l=a(3400),v=a(31780),i=a(86968).Q;u.exports=function(g,p,_,c){var s=c.type,d=c.attributes,f=c.handleDefaults,b=c.partition||"x",x=p._subplots[s],y=x.length,C=y&&x[0].replace(/\d+$/,""),w,R;function A(I,P){return l.coerce(w,R,d,I,P)}for(var E=0;E<y;E++){var k=x[E];g[k]?w=g[k]:w=g[k]={},R=v.newContainer(p,k,C),c.noUirevision||A("uirevision",p.uirevision);var L={};L[b]=[E/y,(E+1)/y],i(R,p,A,L),c.id=k,f(w,R,A,c)}}},21776:function(u,h,a){var l=a(26880);l.FORMAT_LINK,l.DATE_FORMAT_LINK;function v(i){var S=i.description?" "+i.description:"",g=i.keys||[];if(g.length>0){for(var p=[],_=0;_<g.length;_++)p[_]="`"+g[_]+"`";S=S+"Finally, the template string has access to ",g.length===1?S=S+"variable "+p[0]:S=S+"variables "+p.slice(0,-1).join(", ")+" and "+p.slice(-1)+"."}return S}h.Ks=function(i,S){i=i||{},S=S||{},v(S);var g={valType:"string",dflt:"",editType:i.editType||"none"};return i.arrayOk!==!1&&(g.arrayOk=!0),g},h.Gw=function(i,S){i=i||{},S=S||{},v(S);var g={valType:"string",dflt:"",editType:i.editType||"calc"};return i.arrayOk!==!1&&(g.arrayOk=!0),g},h.ye=function(i,S){i=i||{},S=S||{},i.newshape,v(S);var g={valType:"string",dflt:"",editType:i.editType||"arraydraw"};return g}},19352:function(u,h,a){var l=a(24696),v=a(84888).KY,i=a(3400).counterRegex,S="ternary";h.name=S;var g=h.attr="subplot";h.idRoot=S,h.idRegex=h.attrRegex=i(S);var p=h.attributes={};p[g]={valType:"subplotid",dflt:"ternary",editType:"calc"},h.layoutAttributes=a(86379),h.supplyLayoutDefaults=a(38536),h.plot=function(c){for(var s=c._fullLayout,d=c.calcdata,f=s._subplots[S],b=0;b<f.length;b++){var x=f[b],y=v(d,S,x),C=s[x]._subplot;C||(C=new l({id:x,graphDiv:c,container:s._ternarylayer.node()},s),s[x]._subplot=C),C.plot(y,s,c._promises)}},h.clean=function(_,c,s,d){for(var f=d._subplots[S]||[],b=0;b<f.length;b++){var x=f[b],y=d[x]._subplot;!c[x]&&y&&(y.plotContainer.remove(),y.clipDef.remove(),y.clipDefRelative.remove(),y.layers["a-title"].remove(),y.layers["b-title"].remove(),y.layers["c-title"].remove())}}},86379:function(u,h,a){var l=a(22548),v=a(86968).u,i=a(94724),S=a(67824).overrideAll,g=a(92880).extendFlat,p={title:{text:i.title.text,font:i.title.font},color:i.color,tickmode:i.minor.tickmode,nticks:g({},i.nticks,{dflt:6,min:1}),tick0:i.tick0,dtick:i.dtick,tickvals:i.tickvals,ticktext:i.ticktext,ticks:i.ticks,ticklen:i.ticklen,tickwidth:i.tickwidth,tickcolor:i.tickcolor,ticklabelstep:i.ticklabelstep,showticklabels:i.showticklabels,labelalias:i.labelalias,showtickprefix:i.showtickprefix,tickprefix:i.tickprefix,showticksuffix:i.showticksuffix,ticksuffix:i.ticksuffix,showexponent:i.showexponent,exponentformat:i.exponentformat,minexponent:i.minexponent,separatethousands:i.separatethousands,tickfont:i.tickfont,tickangle:i.tickangle,tickformat:i.tickformat,tickformatstops:i.tickformatstops,hoverformat:i.hoverformat,showline:g({},i.showline,{dflt:!0}),linecolor:i.linecolor,linewidth:i.linewidth,showgrid:g({},i.showgrid,{dflt:!0}),gridcolor:i.gridcolor,gridwidth:i.gridwidth,griddash:i.griddash,layer:i.layer,min:{valType:"number",dflt:0,min:0},_deprecated:{title:i._deprecated.title,titlefont:i._deprecated.titlefont}},_=u.exports=S({domain:v({name:"ternary"}),bgcolor:{valType:"color",dflt:l.background},sum:{valType:"number",dflt:1,min:0},aaxis:p,baxis:p,caxis:p},"plot","from-root");_.uirevision={valType:"any",editType:"none"},_.aaxis.uirevision=_.baxis.uirevision=_.caxis.uirevision={valType:"any",editType:"none"}},38536:function(u,h,a){var l=a(76308),v=a(31780),i=a(3400),S=a(168),g=a(95936),p=a(42568),_=a(25404),c=a(26332),s=a(42136),d=a(86379),f=["aaxis","baxis","caxis"];u.exports=function(C,w,R){S(C,w,R,{type:"ternary",attributes:d,handleDefaults:b,font:w.font,paper_bgcolor:w.paper_bgcolor})};function b(y,C,w,R){var A=w("bgcolor"),E=w("sum");R.bgColor=l.combine(A,R.paper_bgcolor);for(var k,L,I,P=0;P<f.length;P++)k=f[P],L=y[k]||{},I=v.newContainer(C,k),I._name=k,x(L,I,R,C);var M=C.aaxis,F=C.baxis,N=C.caxis;M.min+F.min+N.min>=E&&(M.min=0,F.min=0,N.min=0,y.aaxis&&delete y.aaxis.min,y.baxis&&delete y.baxis.min,y.caxis&&delete y.caxis.min)}function x(y,C,w,R){var A=d[C._name];function E(T,D){return i.coerce(y,C,A,T,D)}E("uirevision",R.uirevision),C.type="linear";var k=E("color"),L=k!==A.color.dflt?k:w.font.color,I=C._name,P=I.charAt(0).toUpperCase(),M="Component "+P,F=E("title.text",M);C._hovertitle=F===M?F:P,i.coerceFont(E,"title.font",{family:w.font.family,size:i.bigFont(w.font.size),color:L}),E("min"),c(y,C,E,"linear"),p(y,C,E,"linear"),g(y,C,E,"linear",{noAutotickangles:!0}),_(y,C,E,{outerTicks:!0});var N=E("showticklabels");N&&(i.coerceFont(E,"tickfont",{family:w.font.family,size:w.font.size,color:L}),E("tickangle"),E("tickformat")),s(y,C,E,{dfltColor:k,bgColor:w.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:A}),E("hoverformat"),E("layer")}},24696:function(u,h,a){var l=a(33428),v=a(49760),i=a(24040),S=a(3400),g=S.strTranslate,p=S._,_=a(76308),c=a(43616),s=a(78344),d=a(92880).extendFlat,f=a(7316),b=a(54460),x=a(86476),y=a(93024),C=a(72760),w=C.freeMode,R=C.rectMode,A=a(81668),E=a(22676).prepSelect,k=a(22676).selectOnClick,L=a(22676).clearOutline,I=a(22676).clearSelectionsCache,P=a(33816);function M(j,G){this.id=j.id,this.graphDiv=j.graphDiv,this.init(G),this.makeFramework(G),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}u.exports=M;var F=M.prototype;F.init=function(j){this.container=j._ternarylayer,this.defs=j._defs,this.layoutId=j._uid,this.traceHash={},this.layers={}},F.plot=function(j,G){var W=this,X=G[W.id],Q=G._size;W._hasClipOnAxisFalse=!1;for(var ae=0;ae<j.length;ae++){var ie=j[ae][0].trace;if(ie.cliponaxis===!1){W._hasClipOnAxisFalse=!0;break}}W.updateLayers(X),W.adjustLayout(X,Q),f.generalUpdatePerTraceModule(W.graphDiv,W,j,X),W.layers.plotbg.select("path").call(_.fill,X.bgcolor)},F.makeFramework=function(j){var G=this,W=G.graphDiv,X=j[G.id],Q=G.clipId="clip"+G.layoutId+G.id,ae=G.clipIdRelative="clip-relative"+G.layoutId+G.id;G.clipDef=S.ensureSingleById(j._clips,"clipPath",Q,function(ie){ie.append("path").attr("d","M0,0Z")}),G.clipDefRelative=S.ensureSingleById(j._clips,"clipPath",ae,function(ie){ie.append("path").attr("d","M0,0Z")}),G.plotContainer=S.ensureSingle(G.container,"g",G.id),G.updateLayers(X),c.setClipUrl(G.layers.backplot,Q,W),c.setClipUrl(G.layers.grids,Q,W)},F.updateLayers=function(j){var G=this,W=G.layers,X=["draglayer","plotbg","backplot","grids"];j.aaxis.layer==="below traces"&&X.push("aaxis","aline"),j.baxis.layer==="below traces"&&X.push("baxis","bline"),j.caxis.layer==="below traces"&&X.push("caxis","cline"),X.push("frontplot"),j.aaxis.layer==="above traces"&&X.push("aaxis","aline"),j.baxis.layer==="above traces"&&X.push("baxis","bline"),j.caxis.layer==="above traces"&&X.push("caxis","cline");var Q=G.plotContainer.selectAll("g.toplevel").data(X,String),ae=["agrid","bgrid","cgrid"];Q.enter().append("g").attr("class",function(ie){return"toplevel "+ie}).each(function(ie){var he=l.select(this);W[ie]=he,ie==="frontplot"?he.append("g").classed("scatterlayer",!0):ie==="backplot"?he.append("g").classed("maplayer",!0):ie==="plotbg"?he.append("path").attr("d","M0,0Z"):ie==="aline"||ie==="bline"||ie==="cline"?he.append("path"):ie==="grids"&&ae.forEach(function(J){W[J]=he.append("g").classed("grid "+J,!0)})}),Q.order()};var N=Math.sqrt(4/3);F.adjustLayout=function(j,G){var W=this,X=j.domain,Q=(X.x[0]+X.x[1])/2,ae=(X.y[0]+X.y[1])/2,ie=X.x[1]-X.x[0],he=X.y[1]-X.y[0],J=ie*G.w,Z=he*G.h,le=j.sum,K=j.aaxis.min,te=j.baxis.min,ce=j.caxis.min,re,ee,de,oe,fe,me;J>N*Z?(oe=Z,de=oe*N):(de=J,oe=de/N),fe=ie*de/J,me=he*oe/Z,re=G.l+G.w*Q-de/2,ee=G.t+G.h*(1-ae)-oe/2,W.x0=re,W.y0=ee,W.w=de,W.h=oe,W.sum=le,W.xaxis={type:"linear",range:[K+2*ce-le,le-K-2*te],domain:[Q-fe/2,Q+fe/2],_id:"x"},s(W.xaxis,W.graphDiv._fullLayout),W.xaxis.setScale(),W.xaxis.isPtWithinRange=function(We){return We.a>=W.aaxis.range[0]&&We.a<=W.aaxis.range[1]&&We.b>=W.baxis.range[1]&&We.b<=W.baxis.range[0]&&We.c>=W.caxis.range[1]&&We.c<=W.caxis.range[0]},W.yaxis={type:"linear",range:[K,le-te-ce],domain:[ae-me/2,ae+me/2],_id:"y"},s(W.yaxis,W.graphDiv._fullLayout),W.yaxis.setScale(),W.yaxis.isPtWithinRange=function(){return!0};var Te=W.yaxis.domain[0],we=W.aaxis=d({},j.aaxis,{range:[K,le-te-ce],side:"left",tickangle:(+j.aaxis.tickangle||0)-30,domain:[Te,Te+me*N],anchor:"free",position:0,_id:"y",_length:de});s(we,W.graphDiv._fullLayout),we.setScale();var Be=W.baxis=d({},j.baxis,{range:[le-K-ce,te],side:"bottom",domain:W.xaxis.domain,anchor:"free",position:0,_id:"x",_length:de});s(Be,W.graphDiv._fullLayout),Be.setScale();var Ae=W.caxis=d({},j.caxis,{range:[le-K-te,ce],side:"right",tickangle:(+j.caxis.tickangle||0)+30,domain:[Te,Te+me*N],anchor:"free",position:0,_id:"y",_length:de});s(Ae,W.graphDiv._fullLayout),Ae.setScale();var Re="M"+re+","+(ee+oe)+"h"+de+"l-"+de/2+",-"+oe+"Z";W.clipDef.select("path").attr("d",Re),W.layers.plotbg.select("path").attr("d",Re);var be="M0,"+oe+"h"+de+"l-"+de/2+",-"+oe+"Z";W.clipDefRelative.select("path").attr("d",be);var Pe=g(re,ee);W.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",Pe),W.clipDefRelative.select("path").attr("transform",null);var Ke=g(re-Be._offset,ee+oe);W.layers.baxis.attr("transform",Ke),W.layers.bgrid.attr("transform",Ke);var ze=g(re+de/2,ee)+"rotate(30)"+g(0,-we._offset);W.layers.aaxis.attr("transform",ze),W.layers.agrid.attr("transform",ze);var Fe=g(re+de/2,ee)+"rotate(-30)"+g(0,-Ae._offset);W.layers.caxis.attr("transform",Fe),W.layers.cgrid.attr("transform",Fe),W.drawAxes(!0),W.layers.aline.select("path").attr("d",we.showline?"M"+re+","+(ee+oe)+"l"+de/2+",-"+oe:"M0,0").call(_.stroke,we.linecolor||"#000").style("stroke-width",(we.linewidth||0)+"px"),W.layers.bline.select("path").attr("d",Be.showline?"M"+re+","+(ee+oe)+"h"+de:"M0,0").call(_.stroke,Be.linecolor||"#000").style("stroke-width",(Be.linewidth||0)+"px"),W.layers.cline.select("path").attr("d",Ae.showline?"M"+(re+de/2)+","+ee+"l"+de/2+","+oe:"M0,0").call(_.stroke,Ae.linecolor||"#000").style("stroke-width",(Ae.linewidth||0)+"px"),W.graphDiv._context.staticPlot||W.initInteractions(),c.setClipUrl(W.layers.frontplot,W._hasClipOnAxisFalse?null:W.clipId,W.graphDiv)},F.drawAxes=function(j){var G=this,W=G.graphDiv,X=G.id.substr(7)+"title",Q=G.layers,ae=G.aaxis,ie=G.baxis,he=G.caxis;if(G.drawAx(ae),G.drawAx(ie),G.drawAx(he),j){var J=Math.max(ae.showticklabels?ae.tickfont.size/2:0,(he.showticklabels?he.tickfont.size*.75:0)+(he.ticks==="outside"?he.ticklen*.87:0)),Z=(ie.showticklabels?ie.tickfont.size:0)+(ie.ticks==="outside"?ie.ticklen:0)+3;Q["a-title"]=A.draw(W,"a"+X,{propContainer:ae,propName:G.id+".aaxis.title",placeholder:p(W,"Click to enter Component A title"),attributes:{x:G.x0+G.w/2,y:G.y0-ae.title.font.size/3-J,"text-anchor":"middle"}}),Q["b-title"]=A.draw(W,"b"+X,{propContainer:ie,propName:G.id+".baxis.title",placeholder:p(W,"Click to enter Component B title"),attributes:{x:G.x0-Z,y:G.y0+G.h+ie.title.font.size*.83+Z,"text-anchor":"middle"}}),Q["c-title"]=A.draw(W,"c"+X,{propContainer:he,propName:G.id+".caxis.title",placeholder:p(W,"Click to enter Component C title"),attributes:{x:G.x0+G.w+Z,y:G.y0+G.h+he.title.font.size*.83+Z,"text-anchor":"middle"}})}},F.drawAx=function(j){var G=this,W=G.graphDiv,X=j._name,Q=X.charAt(0),ae=j._id,ie=G.layers[X],he=30,J=Q+"tickLayout",Z=T(j);G[J]!==Z&&(ie.selectAll("."+ae+"tick").remove(),G[J]=Z),j.setScale();var le=b.calcTicks(j),K=b.clipEnds(j,le),te=b.makeTransTickFn(j),ce=b.getTickSigns(j)[2],re=S.deg2rad(he),ee=ce*(j.linewidth||1)/2,de=ce*j.ticklen,oe=G.w,fe=G.h,me=Q==="b"?"M0,"+ee+"l"+Math.sin(re)*de+","+Math.cos(re)*de:"M"+ee+",0l"+Math.cos(re)*de+","+-Math.sin(re)*de,Te={a:"M0,0l"+fe+",-"+oe/2,b:"M0,0l-"+oe/2+",-"+fe,c:"M0,0l-"+fe+","+oe/2}[Q];b.drawTicks(W,j,{vals:j.ticks==="inside"?K:le,layer:ie,path:me,transFn:te,crisp:!1}),b.drawGrid(W,j,{vals:K,layer:G.layers[Q+"grid"],path:Te,transFn:te,crisp:!1}),b.drawLabels(W,j,{vals:le,layer:ie,transFn:te,labelFns:b.makeLabelFns(j,0,he)})};function T(j){return j.ticks+String(j.ticklen)+String(j.showticklabels)}var D=P.MINZOOM/2+.87,O="m-0.87,.5h"+D+"v3h-"+(D+5.2)+"l"+(D/2+2.6)+",-"+(D*.87+4.5)+"l2.6,1.5l-"+D/2+","+D*.87+"Z",U="m0.87,.5h-"+D+"v3h"+(D+5.2)+"l-"+(D/2+2.6)+",-"+(D*.87+4.5)+"l-2.6,1.5l"+D/2+","+D*.87+"Z",B="m0,1l"+D/2+","+D*.87+"l2.6,-1.5l-"+(D/2+2.6)+",-"+(D*.87+4.5)+"l-"+(D/2+2.6)+","+(D*.87+4.5)+"l2.6,1.5l"+D/2+",-"+D*.87+"Z",Y="m0.5,0.5h5v-2h-5v-5h-2v5h-5v2h5v5h2Z",z=!0;F.clearOutline=function(){I(this.dragOptions),L(this.dragOptions.gd)},F.initInteractions=function(){var j=this,G=j.layers.plotbg.select("path").node(),W=j.graphDiv,X=W._fullLayout._zoomlayer,Q,ae;this.dragOptions={element:G,gd:W,plotinfo:{id:j.id,domain:W._fullLayout[j.id].domain,xaxis:j.xaxis,yaxis:j.yaxis},subplot:j.id,prepFn:function(Ke,ze,Fe){j.dragOptions.xaxes=[j.xaxis],j.dragOptions.yaxes=[j.yaxis],Q=W._fullLayout._invScaleX,ae=W._fullLayout._invScaleY;var We=j.dragOptions.dragmode=W._fullLayout.dragmode;w(We)?j.dragOptions.minDrag=1:j.dragOptions.minDrag=void 0,We==="zoom"?(j.dragOptions.moveFn=Be,j.dragOptions.clickFn=oe,j.dragOptions.doneFn=Ae,fe(Ke,ze,Fe)):We==="pan"?(j.dragOptions.moveFn=be,j.dragOptions.clickFn=oe,j.dragOptions.doneFn=Pe,Re(),j.clearOutline(W)):(R(We)||w(We))&&E(Ke,ze,Fe,j.dragOptions,We)}};var ie,he,J,Z,le,K,te,ce,re,ee;function de(Ke){var ze={};return ze[j.id+".aaxis.min"]=Ke.a,ze[j.id+".baxis.min"]=Ke.b,ze[j.id+".caxis.min"]=Ke.c,ze}function oe(Ke,ze){var Fe=W._fullLayout.clickmode;V(W),Ke===2&&(W.emit("plotly_doubleclick",null),i.call("_guiRelayout",W,de({a:0,b:0,c:0}))),Fe.indexOf("select")>-1&&Ke===1&&k(ze,W,[j.xaxis],[j.yaxis],j.id,j.dragOptions),Fe.indexOf("event")>-1&&y.click(W,ze,j.id)}function fe(Ke,ze,Fe){var We=G.getBoundingClientRect();ie=ze-We.left,he=Fe-We.top,W._fullLayout._calcInverseTransform(W);var lt=W._fullLayout._invTransform,ht=S.apply3DTransform(lt)(ie,he);ie=ht[0],he=ht[1],J={a:j.aaxis.range[0],b:j.baxis.range[1],c:j.caxis.range[1]},le=J,Z=j.aaxis.range[1]-J.a,K=v(j.graphDiv._fullLayout[j.id].bgcolor).getLuminance(),te="M0,"+j.h+"L"+j.w/2+", 0L"+j.w+","+j.h+"Z",ce=!1,re=X.append("path").attr("class","zoombox").attr("transform",g(j.x0,j.y0)).style({fill:K>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",te),ee=X.append("path").attr("class","zoombox-corners").attr("transform",g(j.x0,j.y0)).style({fill:_.background,stroke:_.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),j.clearOutline(W)}function me(Ke,ze){return 1-ze/j.h}function Te(Ke,ze){return 1-(Ke+(j.h-ze)/Math.sqrt(3))/j.w}function we(Ke,ze){return(Ke-(j.h-ze)/Math.sqrt(3))/j.w}function Be(Ke,ze){var Fe=ie+Ke*Q,We=he+ze*ae,lt=Math.max(0,Math.min(1,me(ie,he),me(Fe,We))),ht=Math.max(0,Math.min(1,Te(ie,he),Te(Fe,We))),tt=Math.max(0,Math.min(1,we(ie,he),we(Fe,We))),et=(lt/2+tt)*j.w,pt=(1-lt/2-ht)*j.w,vt=(et+pt)/2,_t=pt-et,bt=(1-lt)*j.h,Rt=bt-_t/N;_t<P.MINZOOM?(le=J,re.attr("d",te),ee.attr("d","M0,0Z")):(le={a:J.a+lt*Z,b:J.b+ht*Z,c:J.c+tt*Z},re.attr("d",te+"M"+et+","+bt+"H"+pt+"L"+vt+","+Rt+"L"+et+","+bt+"Z"),ee.attr("d","M"+ie+","+he+Y+"M"+et+","+bt+O+"M"+pt+","+bt+U+"M"+vt+","+Rt+B)),ce||(re.transition().style("fill",K>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),ee.transition().style("opacity",1).duration(200),ce=!0),W.emit("plotly_relayouting",de(le))}function Ae(){V(W),le!==J&&(i.call("_guiRelayout",W,de(le)),z&&W.data&&W._context.showTips&&(S.notifier(p(W,"Double-click to zoom back out"),"long"),z=!1))}function Re(){J={a:j.aaxis.range[0],b:j.baxis.range[1],c:j.caxis.range[1]},le=J}function be(Ke,ze){var Fe=Ke/j.xaxis._m,We=ze/j.yaxis._m;le={a:J.a-We,b:J.b+(Fe+We)/2,c:J.c-(Fe-We)/2};var lt=[le.a,le.b,le.c].sort(S.sorterAsc),ht={a:lt.indexOf(le.a),b:lt.indexOf(le.b),c:lt.indexOf(le.c)};lt[0]<0&&(lt[1]+lt[0]/2<0?(lt[2]+=lt[0]+lt[1],lt[0]=lt[1]=0):(lt[2]+=lt[0]/2,lt[1]+=lt[0]/2,lt[0]=0),le={a:lt[ht.a],b:lt[ht.b],c:lt[ht.c]},ze=(J.a-le.a)*j.yaxis._m,Ke=(J.c-le.c-J.b+le.b)*j.xaxis._m);var tt=g(j.x0+Ke,j.y0+ze);j.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",tt);var et=g(-Ke,-ze);j.clipDefRelative.select("path").attr("transform",et),j.aaxis.range=[le.a,j.sum-le.b-le.c],j.baxis.range=[j.sum-le.a-le.c,le.b],j.caxis.range=[j.sum-le.a-le.b,le.c],j.drawAxes(!1),j._hasClipOnAxisFalse&&j.plotContainer.select(".scatterlayer").selectAll(".trace").call(c.hideOutsideRangePoints,j),W.emit("plotly_relayouting",de(le))}function Pe(){i.call("_guiRelayout",W,de(le))}G.onmousemove=function(Ke){y.hover(W,Ke,j.id),W._fullLayout._lasthover=G,W._fullLayout._hoversubplot=j.id},G.onmouseout=function(Ke){W._dragging||x.unhover(W,Ke)},x.init(this.dragOptions)};function V(j){l.select(j).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}},24040:function(u,h,a){var l=a(24248),v=a(16628),i=a(52416),S=a(63620),g=a(52200).addStyleRule,p=a(92880),_=a(45464),c=a(64859),s=p.extendFlat,d=p.extendDeepAll;h.modules={},h.allCategories={},h.allTypes=[],h.subplotsRegistry={},h.transformsRegistry={},h.componentsRegistry={},h.layoutArrayContainers=[],h.layoutArrayRegexes=[],h.traceLayoutAttributes={},h.localeRegistry={},h.apiMethodRegistry={},h.collectableSubplotTypes=null,h.register=function(I){if(h.collectableSubplotTypes=null,I)I&&!Array.isArray(I)&&(I=[I]);else throw new Error("No argument passed to Plotly.register.");for(var P=0;P<I.length;P++){var M=I[P];if(!M)throw new Error("Invalid module was attempted to be registered!");switch(M.moduleType){case"trace":f(M);break;case"transform":y(M);break;case"component":x(M);break;case"locale":C(M);break;case"apiMethod":var F=M.name;h.apiMethodRegistry[F]=M.fn;break;default:throw new Error("Invalid module was attempted to be registered!")}}},h.getModule=function(L){var I=h.modules[k(L)];return I?I._module:!1},h.traceIs=function(L,I){if(L=k(L),L==="various")return!1;var P=h.modules[L];return P||(L&&l.log("Unrecognized trace type "+L+"."),P=h.modules[_.type.dflt]),!!P.categories[I]},h.getTransformIndices=function(L,I){for(var P=[],M=L.transforms||[],F=0;F<M.length;F++)M[F].type===I&&P.push(F);return P},h.hasTransform=function(L,I){for(var P=L.transforms||[],M=0;M<P.length;M++)if(P[M].type===I)return!0;return!1},h.getComponentMethod=function(L,I){var P=h.componentsRegistry[L];return P&&P[I]||v},h.call=function(){var L=arguments[0],I=[].slice.call(arguments,1);return h.apiMethodRegistry[L].apply(null,I)};function f(L){var I=L.name,P=L.categories,M=L.meta;if(h.modules[I]){l.log("Type "+I+" already registered");return}h.subplotsRegistry[L.basePlotModule.name]||b(L.basePlotModule);for(var F={},N=0;N<P.length;N++)F[P[N]]=!0,h.allCategories[P[N]]=!0;h.modules[I]={_module:L,categories:F},M&&Object.keys(M).length&&(h.modules[I].meta=M),h.allTypes.push(I);for(var T in h.componentsRegistry)R(T,I);L.layoutAttributes&&s(h.traceLayoutAttributes,L.layoutAttributes);var D=L.basePlotModule,O=D.name;if(O==="mapbox"){var U=D.constants.styleRules;for(var B in U)g(".js-plotly-plot .plotly .mapboxgl-"+B,U[B])}(O==="geo"||O==="mapbox")&&window.PlotlyGeoAssets===void 0&&(window.PlotlyGeoAssets={topojson:{}})}function b(L){var I=L.name;if(h.subplotsRegistry[I]){l.log("Plot type "+I+" already registered.");return}w(L),h.subplotsRegistry[I]=L;for(var P in h.componentsRegistry)E(P,L.name)}function x(L){if(typeof L.name!="string")throw new Error("Component module *name* must be a string.");var I=L.name;h.componentsRegistry[I]=L,L.layoutAttributes&&(L.layoutAttributes._isLinkedToArray&&i(h.layoutArrayContainers,I),w(L));for(var P in h.modules)R(I,P);for(var M in h.subplotsRegistry)E(I,M);for(var F in h.transformsRegistry)A(I,F);L.schema&&L.schema.layout&&d(c,L.schema.layout)}function y(L){if(typeof L.name!="string")throw new Error("Transform module *name* must be a string.");var I="Transform module "+L.name,P=typeof L.transform=="function",M=typeof L.calcTransform=="function";if(!P&&!M)throw new Error(I+" is missing a *transform* or *calcTransform* method.");P&&M&&l.log([I+" has both a *transform* and *calcTransform* methods.","Please note that all *transform* methods are executed","before all *calcTransform* methods."].join(" ")),S(L.attributes)||l.log(I+" registered without an *attributes* object."),typeof L.supplyDefaults!="function"&&l.log(I+" registered without a *supplyDefaults* method."),h.transformsRegistry[L.name]=L;for(var F in h.componentsRegistry)A(F,L.name)}function C(L){var I=L.name,P=I.split("-")[0],M=L.dictionary,F=L.format,N=M&&Object.keys(M).length,T=F&&Object.keys(F).length,D=h.localeRegistry,O=D[I];if(O||(D[I]=O={}),P!==I){var U=D[P];U||(D[P]=U={}),N&&U.dictionary===O.dictionary&&(U.dictionary=M),T&&U.format===O.format&&(U.format=F)}N&&(O.dictionary=M),T&&(O.format=F)}function w(L){if(L.layoutAttributes){var I=L.layoutAttributes._arrayAttrRegexps;if(I)for(var P=0;P<I.length;P++)i(h.layoutArrayRegexes,I[P])}}function R(L,I){var P=h.componentsRegistry[L].schema;if(!(!P||!P.traces)){var M=P.traces[I];M&&d(h.modules[I]._module.attributes,M)}}function A(L,I){var P=h.componentsRegistry[L].schema;if(!(!P||!P.transforms)){var M=P.transforms[I];M&&d(h.transformsRegistry[I].attributes,M)}}function E(L,I){var P=h.componentsRegistry[L].schema;if(!(!P||!P.subplots)){var M=h.subplotsRegistry[I],F=M.layoutAttributes,N=M.attr==="subplot"?M.name:M.attr;Array.isArray(N)&&(N=N[0]);var T=P.subplots[N];F&&T&&d(F,T)}}function k(L){return typeof L=="object"&&(L=L.type),L}},91536:function(u,h,a){var l=a(24040),v=a(3400),i=v.extendFlat,S=v.extendDeep;function g(_){var c;switch(_){case"themes__thumb":c={autosize:!0,width:150,height:150,title:{text:""},showlegend:!1,margin:{l:5,r:5,t:5,b:5,pad:0},annotations:[]};break;case"thumbnail":c={title:{text:""},hidesources:!0,showlegend:!1,borderwidth:0,bordercolor:"",margin:{l:1,r:1,t:1,b:1,pad:0},annotations:[]};break;default:c={}}return c}function p(_){var c=["xaxis","yaxis","zaxis"];return c.indexOf(_.slice(0,5))>-1}u.exports=function(c,s){var d,f=c.data,b=c.layout,x=S([],f),y=S({},b,g(s.tileClass)),C=c._context||{};if(s.width&&(y.width=s.width),s.height&&(y.height=s.height),s.tileClass==="thumbnail"||s.tileClass==="themes__thumb"){y.annotations=[];var w=Object.keys(y);for(d=0;d<w.length;d++)p(w[d])&&(y[w[d]].title={text:""});for(d=0;d<x.length;d++){var R=x[d];R.showscale=!1,R.marker&&(R.marker.showscale=!1),l.traceIs(R,"pie-like")&&(R.textposition="none")}}if(Array.isArray(s.annotations))for(d=0;d<s.annotations.length;d++)y.annotations.push(s.annotations[d]);var A=Object.keys(y).filter(function(P){return P.match(/^scene\d*$/)});if(A.length){var E={};for(s.tileClass==="thumbnail"&&(E={title:{text:""},showaxeslabels:!1,showticklabels:!1,linetickenable:!1}),d=0;d<A.length;d++){var k=y[A[d]];k.xaxis||(k.xaxis={}),k.yaxis||(k.yaxis={}),k.zaxis||(k.zaxis={}),i(k.xaxis,E),i(k.yaxis,E),i(k.zaxis,E),k._scene=null}}var L=document.createElement("div");s.tileClass&&(L.className=s.tileClass);var I={gd:L,td:L,layout:y,data:x,config:{staticPlot:s.staticPlot===void 0?!0:s.staticPlot,plotGlPixelRatio:s.plotGlPixelRatio===void 0?2:s.plotGlPixelRatio,displaylogo:s.displaylogo||!1,showLink:s.showLink||!1,showTips:s.showTips||!1,mapboxAccessToken:C.mapboxAccessToken}};return s.setBackground!=="transparent"&&(I.config.setBackground=s.setBackground||"opaque"),I.gd.defaultLayout=g(s.tileClass),I}},39792:function(u,h,a){var l=a(3400),v=a(67024),i=a(48616),S=a(81792);function g(p,_){var c;return l.isPlainObject(p)||(c=l.getGraphDiv(p)),_=_||{},_.format=_.format||"png",_.width=_.width||null,_.height=_.height||null,_.imageDataOnly=!0,new Promise(function(s,d){c&&c._snapshotInProgress&&d(new Error("Snapshotting already in progress.")),l.isIE()&&_.format!=="svg"&&d(new Error(S.MSG_IE_BAD_FORMAT)),c&&(c._snapshotInProgress=!0);var f=v(p,_),b=_.filename||p.fn||"newplot";b+="."+_.format.replace("-","."),f.then(function(x){return c&&(c._snapshotInProgress=!1),i(x,b,_.format)}).then(function(x){s(x)}).catch(function(x){c&&(c._snapshotInProgress=!1),d(x)})})}u.exports=g},48616:function(u,h,a){var l=a(3400),v=a(81792);function i(S,g,p){var _=document.createElement("a"),c="download"in _,s=new Promise(function(d,f){var b,x;if(l.isIE())return b=v.createBlob(S,"svg"),window.navigator.msSaveBlob(b,g),b=null,d(g);if(c)return b=v.createBlob(S,p),x=v.createObjectURL(b),_.href=x,_.download=g,document.body.appendChild(_),_.click(),document.body.removeChild(_),v.revokeObjectURL(x),b=null,d(g);if(l.isSafari()){var y=p==="svg"?",":";base64,";return v.octetStream(y+encodeURIComponent(S)),d(g)}f(new Error("download error"))});return s}u.exports=i},81792:function(u,h,a){var l=a(24040);h.getDelay=function(S){return S._has&&(S._has("gl3d")||S._has("gl2d")||S._has("mapbox"))?500:0},h.getRedrawFunc=function(S){return function(){l.getComponentMethod("colorbar","draw")(S)}},h.encodeSVG=function(S){return"data:image/svg+xml,"+encodeURIComponent(S)},h.encodeJSON=function(S){return"data:application/json,"+encodeURIComponent(S)};var v=window.URL||window.webkitURL;h.createObjectURL=function(S){return v.createObjectURL(S)},h.revokeObjectURL=function(S){return v.revokeObjectURL(S)},h.createBlob=function(S,g){if(g==="svg")return new window.Blob([S],{type:"image/svg+xml;charset=utf-8"});if(g==="full-json")return new window.Blob([S],{type:"application/json;charset=utf-8"});var p=i(window.atob(S));return new window.Blob([p],{type:"image/"+g})},h.octetStream=function(S){document.location.href="data:application/octet-stream"+S};function i(S){for(var g=S.length,p=new ArrayBuffer(g),_=new Uint8Array(p),c=0;c<g;c++)_[c]=S.charCodeAt(c);return p}h.IMAGE_URL_PREFIX=/^data:image\/\w+;base64,/,h.MSG_IE_BAD_FORMAT="Sorry IE does not support downloading from canvas. Try {format:'svg'} instead."},78904:function(u,h,a){var l=a(81792),v={getDelay:l.getDelay,getRedrawFunc:l.getRedrawFunc,clone:a(91536),toSVG:a(37164),svgToImg:a(63268),toImage:a(61808),downloadImage:a(39792)};u.exports=v},63268:function(u,h,a){var l=a(3400),v=a(61252).EventEmitter,i=a(81792);function S(g){var p=g.emitter||new v,_=new Promise(function(c,s){var d=window.Image,f=g.svg,b=g.format||"png";if(l.isIE()&&b!=="svg"){var x=new Error(i.MSG_IE_BAD_FORMAT);return s(x),g.promise?_:p.emit("error",x)}var y=g.canvas,C=g.scale||1,w=g.width||300,R=g.height||150,A=C*w,E=C*R,k=y.getContext("2d",{willReadFrequently:!0}),L=new d,I,P;b==="svg"||l.isSafari()?P=i.encodeSVG(f):(I=i.createBlob(f,"svg"),P=i.createObjectURL(I)),y.width=A,y.height=E,L.onload=function(){var M;switch(I=null,i.revokeObjectURL(P),b!=="svg"&&k.drawImage(L,0,0,A,E),b){case"jpeg":M=y.toDataURL("image/jpeg");break;case"png":M=y.toDataURL("image/png");break;case"webp":M=y.toDataURL("image/webp");break;case"svg":M=P;break;default:var F="Image format is not jpeg, png, svg or webp.";if(s(new Error(F)),!g.promise)return p.emit("error",F)}c(M),g.promise||p.emit("success",M)},L.onerror=function(M){if(I=null,i.revokeObjectURL(P),s(M),!g.promise)return p.emit("error",M)},L.src=P});return g.promise?_:p}u.exports=S},61808:function(u,h,a){var l=a(61252).EventEmitter,v=a(24040),i=a(3400),S=a(81792),g=a(91536),p=a(37164),_=a(63268);function c(s,d){var f=new l,b=g(s,{format:"png"}),x=b.gd;x.style.position="absolute",x.style.left="-5000px",document.body.appendChild(x);function y(){var w=S.getDelay(x._fullLayout);setTimeout(function(){var R=p(x),A=document.createElement("canvas");A.id=i.randstr(),f=_({format:d.format,width:x._fullLayout.width,height:x._fullLayout.height,canvas:A,emitter:f,svg:R}),f.clean=function(){x&&document.body.removeChild(x)}},w)}var C=S.getRedrawFunc(x);return v.call("_doPlot",x,b.data,b.layout,b.config).then(C).then(y).catch(function(w){f.emit("error",w)}),f}u.exports=c},37164:function(u,h,a){var l=a(33428),v=a(3400),i=a(43616),S=a(76308),g=a(9616),p=/"/g,_="TOBESTRIPPED",c=new RegExp('("'+_+")|("+_+'")',"g");function s(f){var b=l.select("body").append("div").style({display:"none"}).html(""),x=f.replace(/(&[^;]*;)/gi,function(y){return y==="&lt;"?"&#60;":y==="&rt;"?"&#62;":y.indexOf("<")!==-1||y.indexOf(">")!==-1?"":b.html(y).text()});return b.remove(),x}function d(f){return f.replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&amp;")}u.exports=function(b,x,y){var C=b._fullLayout,w=C._paper,R=C._toppaper,A=C.width,E=C.height,k;w.insert("rect",":first-child").call(i.setRect,0,0,A,E).call(S.fill,C.paper_bgcolor);var L=C._basePlotModules||[];for(k=0;k<L.length;k++){var I=L[k];I.toSVG&&I.toSVG(b)}if(R){var P=R.node().childNodes,M=Array.prototype.slice.call(P);for(k=0;k<M.length;k++){var F=M[k];F.childNodes.length&&w.node().appendChild(F)}}C._draggers&&C._draggers.remove(),w.node().style.background="",w.selectAll("text").attr({"data-unformatted":null,"data-math":null}).each(function(){var T=l.select(this);if(this.style.visibility==="hidden"||this.style.display==="none"){T.remove();return}else T.style({visibility:null,display:null});var D=this.style.fontFamily;D&&D.indexOf('"')!==-1&&T.style("font-family",D.replace(p,_))}),w.selectAll(".gradient_filled,.pattern_filled").each(function(){var T=l.select(this),D=this.style.fill;D&&D.indexOf("url(")!==-1&&T.style("fill",D.replace(p,_));var O=this.style.stroke;O&&O.indexOf("url(")!==-1&&T.style("stroke",O.replace(p,_))}),(x==="pdf"||x==="eps")&&w.selectAll("#MathJax_SVG_glyphs path").attr("stroke-width",0),w.node().setAttributeNS(g.xmlns,"xmlns",g.svg),w.node().setAttributeNS(g.xmlns,"xmlns:xlink",g.xlink),x==="svg"&&y&&(w.attr("width",y*A),w.attr("height",y*E),w.attr("viewBox","0 0 "+A+" "+E));var N=new window.XMLSerializer().serializeToString(w.node());return N=s(N),N=d(N),N=N.replace(c,"'"),v.isIE()&&(N=N.replace(/"/gi,"'"),N=N.replace(/(\('#)([^']*)('\))/gi,'("#$2")'),N=N.replace(/(\\')/gi,'"')),N}},84664:function(u,h,a){var l=a(3400);u.exports=function(i,S){for(var g=0;g<i.length;g++)i[g].i=g;l.mergeArray(S.text,i,"tx"),l.mergeArray(S.hovertext,i,"htx");var p=S.marker;if(p){l.mergeArray(p.opacity,i,"mo",!0),l.mergeArray(p.color,i,"mc");var _=p.line;_&&(l.mergeArray(_.color,i,"mlc"),l.mergeArrayCastPositive(_.width,i,"mlw"))}}},20832:function(u,h,a){var l=a(52904),v=a(29736).axisHoverFormat,i=a(21776).Ks,S=a(21776).Gw,g=a(49084),p=a(25376),_=a(78048),c=a(98192).c,s=a(92880).extendFlat,d=p({editType:"calc",arrayOk:!0,colorEditType:"style"}),f=l.marker,b=f.line,x=s({},b.width,{dflt:0}),y=s({width:x,editType:"calc"},g("marker.line")),C=s({line:y,editType:"calc"},g("marker"),{opacity:{valType:"number",arrayOk:!0,dflt:1,min:0,max:1,editType:"style"},pattern:c,cornerradius:{valType:"any",editType:"calc"}});u.exports={x:l.x,x0:l.x0,dx:l.dx,y:l.y,y0:l.y0,dy:l.dy,xperiod:l.xperiod,yperiod:l.yperiod,xperiod0:l.xperiod0,yperiod0:l.yperiod0,xperiodalignment:l.xperiodalignment,yperiodalignment:l.yperiodalignment,xhoverformat:v("x"),yhoverformat:v("y"),text:l.text,texttemplate:S({editType:"plot"},{keys:_.eventDataKeys}),hovertext:l.hovertext,hovertemplate:i({},{keys:_.eventDataKeys}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"calc"},insidetextanchor:{valType:"enumerated",values:["end","middle","start"],dflt:"end",editType:"plot"},textangle:{valType:"angle",dflt:"auto",editType:"plot"},textfont:s({},d,{}),insidetextfont:s({},d,{}),outsidetextfont:s({},d,{}),constraintext:{valType:"enumerated",values:["inside","outside","both","none"],dflt:"both",editType:"calc"},cliponaxis:s({},l.cliponaxis,{}),orientation:{valType:"enumerated",values:["v","h"],editType:"calc+clearAxisTypes"},base:{valType:"any",dflt:null,arrayOk:!0,editType:"calc"},offset:{valType:"number",dflt:null,arrayOk:!0,editType:"calc"},width:{valType:"number",dflt:null,min:0,arrayOk:!0,editType:"calc"},marker:C,offsetgroup:l.offsetgroup,alignmentgroup:l.alignmentgroup,selected:{marker:{opacity:l.selected.marker.opacity,color:l.selected.marker.color,editType:"style"},textfont:l.selected.textfont,editType:"style"},unselected:{marker:{opacity:l.unselected.marker.opacity,color:l.unselected.marker.color,editType:"style"},textfont:l.unselected.textfont,editType:"style"},_deprecated:{bardir:{valType:"enumerated",editType:"calc",values:["v","h"]}}}},71820:function(u,h,a){var l=a(54460),v=a(1220),i=a(94288).hasColorscale,S=a(47128),g=a(84664),p=a(4500);u.exports=function(c,s){var d=l.getFromId(c,s.xaxis||"x"),f=l.getFromId(c,s.yaxis||"y"),b,x,y,C,w,R,A={msUTC:!!(s.base||s.base===0)};s.orientation==="h"?(b=d.makeCalcdata(s,"x",A),y=f.makeCalcdata(s,"y"),C=v(s,f,"y",y),w=!!s.yperiodalignment,R="y"):(b=f.makeCalcdata(s,"y",A),y=d.makeCalcdata(s,"x"),C=v(s,d,"x",y),w=!!s.xperiodalignment,R="x"),x=C.vals;for(var E=Math.min(x.length,b.length),k=new Array(E),L=0;L<E;L++)k[L]={p:x[L],s:b[L]},w&&(k[L].orig_p=y[L],k[L][R+"End"]=C.ends[L],k[L][R+"Start"]=C.starts[L]),s.ids&&(k[L].id=String(s.ids[L]));return i(s,"marker")&&S(c,s,{vals:s.marker.color,containerStr:"marker",cLetter:"c"}),i(s,"marker.line")&&S(c,s,{vals:s.marker.line.color,containerStr:"marker.line",cLetter:"c"}),g(k,s),p(k,s),k}},78048:function(u){u.exports={TEXTPAD:3,eventDataKeys:["value","label"]}},96376:function(u,h,a){var l=a(38248),v=a(3400).isArrayOrTypedArray,i=a(39032).BADNUM,S=a(24040),g=a(54460),p=a(71888).getAxisGroup,_=a(72592);function c(O,U){for(var B=U.xaxis,Y=U.yaxis,z=O._fullLayout,V=O._fullData,j=O.calcdata,G=[],W=[],X=0;X<V.length;X++){var Q=V[X];if(Q.visible===!0&&S.traceIs(Q,"bar")&&Q.xaxis===B._id&&Q.yaxis===Y._id&&(Q.orientation==="h"?G.push(j[X]):W.push(j[X]),Q._computePh))for(var ae=O.calcdata[X],ie=0;ie<ae.length;ie++)typeof ae[ie].ph0=="function"&&(ae[ie].ph0=ae[ie].ph0()),typeof ae[ie].ph1=="function"&&(ae[ie].ph1=ae[ie].ph1())}var he={xCat:B.type==="category"||B.type==="multicategory",yCat:Y.type==="category"||Y.type==="multicategory",mode:z.barmode,norm:z.barnorm,gap:z.bargap,groupgap:z.bargroupgap};s(O,B,Y,W,he),s(O,Y,B,G,he)}function s(O,U,B,Y,z){if(Y.length){var V,j,G,W,X;switch(b(B,Y),z.mode){case"overlay":x(U,B,Y,z);break;case"group":for(V=[],j=[],G=0;G<Y.length;G++)W=Y[G],X=W[0].trace,X.offset===void 0?j.push(W):V.push(W);j.length&&y(O,U,B,j,z),V.length&&x(U,B,V,z);break;case"stack":case"relative":for(V=[],j=[],G=0;G<Y.length;G++)W=Y[G],X=W[0].trace,X.base===void 0?j.push(W):V.push(W);f(j),j.length&&C(O,U,B,j,z),V.length&&x(U,B,V,z);break}d(Y),T(Y,U)}}function d(O){var U,B,Y,z,V,j,G;for(U=0;U<O.length;U++)B=O[U],Y=B[0].trace,z=B[0].t,z.cornerradiusvalue===void 0&&(V=Y.marker?Y.marker.cornerradius:void 0,V!==void 0&&(j=l(V)?+V:+V.slice(0,-1),G=l(V)?"px":"%",z.cornerradiusvalue=j,z.cornerradiusform=G))}function f(O){if(!(O.length<2)){var U,B,Y,z,V,j,G;for(U=0;U<O.length&&(B=O[U],Y=B[0].trace,V=Y.marker?Y.marker.cornerradius:void 0,V===void 0);U++);if(V!==void 0)for(j=l(V)?+V:+V.slice(0,-1),G=l(V)?"px":"%",U=0;U<O.length;U++)B=O[U],z=B[0].t,z.cornerradiusvalue=j,z.cornerradiusform=G}}function b(O,U){var B,Y;for(B=0;B<U.length;B++){var z=U[B],V=z[0].trace,j=V.type==="funnel"?V._base:V.base,G,W=V.orientation==="h"?V.xcalendar:V.ycalendar,X=O.type==="category"||O.type==="multicategory"?function(){return null}:O.d2c;if(v(j)){for(Y=0;Y<Math.min(j.length,z.length);Y++)G=X(j[Y],0,W),l(G)?(z[Y].b=+G,z[Y].hasB=1):z[Y].b=0;for(;Y<z.length;Y++)z[Y].b=0}else{G=X(j,0,W);var Q=l(G);for(G=Q?G:0,Y=0;Y<z.length;Y++)z[Y].b=G,Q&&(z[Y].hasB=1)}}}function x(O,U,B,Y){for(var z=0;z<B.length;z++){var V=B[z],j=new _([V],{posAxis:O,sepNegVal:!1,overlapNoMerge:!Y.norm});w(O,j,Y),Y.norm?(P(j),F(U,j,Y)):L(U,j)}}function y(O,U,B,Y,z){var V=new _(Y,{posAxis:U,sepNegVal:!1,overlapNoMerge:!z.norm});R(O,U,V,z),M(V,U),z.norm?(P(V),F(B,V,z)):L(B,V)}function C(O,U,B,Y,z){var V=new _(Y,{posAxis:U,sepNegVal:z.mode==="relative",overlapNoMerge:!(z.norm||z.mode==="stack"||z.mode==="relative")});w(U,V,z),I(B,V,z);for(var j=0;j<Y.length;j++)for(var G=Y[j],W=0;W<G.length;W++){var X=G[W];if(X.s!==i){var Q=X.b+X.s===V.get(X.p,X.s);Q&&(X._outmost=!0)}}z.norm&&F(B,V,z)}function w(O,U,B){for(var Y=U.minDiff,z=U.traces,V=Y*(1-B.gap),j=V,G=j*(1-(B.groupgap||0)),W=-G/2,X=0;X<z.length;X++){var Q=z[X],ae=Q[0].t;ae.barwidth=G,ae.poffset=W,ae.bargroupwidth=V,ae.bardelta=Y}U.binWidth=z[0][0].t.barwidth/100,A(U),E(O,U),k(O,U)}function R(O,U,B,Y){for(var z=O._fullLayout,V=B.positions,j=B.distinctPositions,G=B.minDiff,W=B.traces,X=W.length,Q=V.length!==j.length,ae=G*(1-Y.gap),ie=p(z,U._id)+W[0][0].trace.orientation,he=z._alignmentOpts[ie]||{},J=0;J<X;J++){var Z=W[J],le=Z[0].trace,K=he[le.alignmentgroup]||{},te=Object.keys(K.offsetGroups||{}).length,ce;te?ce=ae/te:ce=Q?ae/X:ae;var re=ce*(1-(Y.groupgap||0)),ee;te?ee=((2*le._offsetIndex+1-te)*ce-re)/2:ee=Q?((2*J+1-X)*ce-re)/2:-re/2;var de=Z[0].t;de.barwidth=re,de.poffset=ee,de.bargroupwidth=ae,de.bardelta=G}B.binWidth=W[0][0].t.barwidth/100,A(B),E(U,B),k(U,B,Q)}function A(O){var U=O.traces,B,Y;for(B=0;B<U.length;B++){var z=U[B],V=z[0],j=V.trace,G=V.t,W=j._offset||j.offset,X=G.poffset,Q;if(v(W)){for(Q=Array.prototype.slice.call(W,0,z.length),Y=0;Y<Q.length;Y++)l(Q[Y])||(Q[Y]=X);for(Y=Q.length;Y<z.length;Y++)Q.push(X);G.poffset=Q}else W!==void 0&&(G.poffset=W);var ae=j._width||j.width,ie=G.barwidth;if(v(ae)){var he=Array.prototype.slice.call(ae,0,z.length);for(Y=0;Y<he.length;Y++)l(he[Y])||(he[Y]=ie);for(Y=he.length;Y<z.length;Y++)he.push(ie);if(G.barwidth=he,W===void 0){for(Q=[],Y=0;Y<z.length;Y++)Q.push(X+(ie-he[Y])/2);G.poffset=Q}}else ae!==void 0&&(G.barwidth=ae,W===void 0&&(G.poffset=X+(ie-ae)/2))}}function E(O,U){for(var B=U.traces,Y=D(O),z=0;z<B.length;z++)for(var V=B[z],j=V[0].t,G=j.poffset,W=v(G),X=j.barwidth,Q=v(X),ae=0;ae<V.length;ae++){var ie=V[ae],he=ie.w=Q?X[ae]:X;ie.p===void 0&&(ie.p=ie[Y],ie["orig_"+Y]=ie[Y]);var J=(W?G[ae]:G)+he/2;ie[Y]=ie.p+J}}function k(O,U,B){var Y=U.traces,z=U.minDiff,V=z/2;g.minDtick(O,U.minDiff,U.distinctPositions[0],B);for(var j=0;j<Y.length;j++){var G=Y[j],W=G[0],X=W.trace,Q=[],ae,ie,he,J;for(J=0;J<G.length;J++)ae=G[J],ie=ae.p-V,he=ae.p+V,Q.push(ie,he);if(X.width||X.offset){var Z=W.t,le=Z.poffset,K=Z.barwidth,te=v(le),ce=v(K);for(J=0;J<G.length;J++){ae=G[J];var re=te?le[J]:le,ee=ce?K[J]:K;ie=ae.p+re,he=ie+ee,Q.push(ie,he)}}X._extremes[O._id]=g.findExtremes(O,Q,{padded:!1})}}function L(O,U){for(var B=U.traces,Y=D(O),z=0;z<B.length;z++){for(var V=B[z],j=V[0].trace,G=j.type==="scatter",W=j.orientation==="v",X=[],Q=!1,ae=0;ae<V.length;ae++){var ie=V[ae],he=G?0:ie.b,J=G?W?ie.y:ie.x:he+ie.s;ie[Y]=J,X.push(J),ie.hasB&&X.push(he),(!ie.hasB||!ie.b)&&(Q=!0)}j._extremes[O._id]=g.findExtremes(O,X,{tozero:Q,padded:!0})}}function I(O,U,B){var Y=D(O),z=U.traces,V,j,G,W,X,Q;for(W=0;W<z.length;W++)if(V=z[W],j=V[0].trace,j.type==="funnel")for(X=0;X<V.length;X++)Q=V[X],Q.s!==i&&U.put(Q.p,-.5*Q.s);for(W=0;W<z.length;W++){V=z[W],j=V[0].trace,G=j.type==="funnel";var ae=[];for(X=0;X<V.length;X++)if(Q=V[X],Q.s!==i){var ie;G?ie=Q.s:ie=Q.s+Q.b;var he=U.put(Q.p,ie),J=he+ie;Q.b=he,Q[Y]=J,B.norm||(ae.push(J),Q.hasB&&ae.push(he))}B.norm||(j._extremes[O._id]=g.findExtremes(O,ae,{tozero:!0,padded:!0}))}}function P(O){for(var U=O.traces,B=0;B<U.length;B++)for(var Y=U[B],z=0;z<Y.length;z++){var V=Y[z];V.s!==i&&O.put(V.p,V.b+V.s)}}function M(O,U){for(var B=O.traces,Y=0;Y<B.length;Y++){var z=B[Y],V=z[0].trace;if(V.base===void 0)for(var j=new _([z],{posAxis:U,sepNegVal:!0,overlapNoMerge:!0}),G=0;G<z.length;G++){var W=z[G];if(W.p!==i){var X=j.put(W.p,W.b+W.s);X&&(W.b=X)}}}}function F(O,U,B){var Y=U.traces,z=D(O),V=B.norm==="fraction"?1:100,j=V/1e9,G=O.l2c(O.c2l(0)),W=B.mode==="stack"?V:G;function X(ee){return l(O.c2l(ee))&&(ee<G-j||ee>W+j||!l(G))}for(var Q=0;Q<Y.length;Q++){for(var ae=Y[Q],ie=ae[0].trace,he=[],J=!1,Z=!1,le=0;le<ae.length;le++){var K=ae[le];if(K.s!==i){var te=Math.abs(V/U.get(K.p,K.s));K.b*=te,K.s*=te;var ce=K.b,re=ce+K.s;K[z]=re,he.push(re),Z=Z||X(re),K.hasB&&(he.push(ce),Z=Z||X(ce)),(!K.hasB||!K.b)&&(J=!0)}}ie._extremes[O._id]=g.findExtremes(O,he,{tozero:J,padded:Z})}}function N(O,U,B,Y){for(var z=D(Y),V=0;V<O.length;V++)for(var j=O[V],G=0;G<j.length;G++){var W=j[G],X=W[z];W._sMin=U[X],W._sMax=B[X]}}function T(O,U){var B=D(U),Y={},z,V,j,G=1/0,W=-1/0;for(z=0;z<O.length;z++)for(j=O[z],V=0;V<j.length;V++){var X=j[V].p;l(X)&&(G=Math.min(G,X),W=Math.max(W,X))}var Q=1e4/(W-G),ae=Y.round=function(fe){return String(Math.round(Q*(fe-G)))},ie={},he={},J=O.some(function(fe){var me=fe[0].trace;return"marker"in me&&me.marker.cornerradius});for(z=0;z<O.length;z++){j=O[z],j[0].t.extents=Y;var Z=j[0].t.poffset,le=v(Z);for(V=0;V<j.length;V++){var K=j[V],te=K[B]-K.w/2;if(l(te)){var ce=K[B]+K.w/2,re=ae(K.p);Y[re]?Y[re]=[Math.min(te,Y[re][0]),Math.max(ce,Y[re][1])]:Y[re]=[te,ce]}if(K.p0=K.p+(le?Z[V]:Z),K.p1=K.p0+K.w,K.s0=K.b,K.s1=K.s0+K.s,J){var ee=Math.min(K.s0,K.s1)||0,de=Math.max(K.s0,K.s1)||0,oe=K[B];ie[oe]=oe in ie?Math.min(ie[oe],ee):ee,he[oe]=oe in he?Math.max(he[oe],de):de}}}J&&N(O,ie,he,U)}function D(O){return O._id.charAt(0)}u.exports={crossTraceCalc:c,setGroupPositions:s}},31508:function(u,h,a){var l=a(38248),v=a(3400),i=a(76308),S=a(24040),g=a(43980),p=a(31147),_=a(55592),c=a(20011),s=a(20832),d=v.coerceFont;function f(C,w,R,A){function E(M,F){return v.coerce(C,w,s,M,F)}var k=g(C,w,A,E);if(!k){w.visible=!1;return}p(C,w,A,E),E("xhoverformat"),E("yhoverformat"),E("orientation",w.x&&!w.y?"h":"v"),E("base"),E("offset"),E("width"),E("text"),E("hovertext"),E("hovertemplate");var L=E("textposition");y(C,w,A,E,L,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),_(C,w,E,R,A);var I=(w.marker.line||{}).color,P=S.getComponentMethod("errorbars","supplyDefaults");P(C,w,I||i.defaultLine,{axis:"y"}),P(C,w,I||i.defaultLine,{axis:"x",inherit:"y"}),v.coerceSelectionMarkerOpacity(w,E)}function b(C,w){var R,A;function E(I,P){return v.coerce(A._input,A,s,I,P)}for(var k=0;k<C.length;k++)if(A=C[k],A.type==="bar"){R=A._input;var L=E("marker.cornerradius",w.barcornerradius);A.marker&&(A.marker.cornerradius=x(L)),w.barmode==="group"&&c(R,A,w,E)}}function x(C){if(l(C)){if(C=+C,C>=0)return C}else if(typeof C=="string"&&(C=C.trim(),C.slice(-1)==="%"&&l(C.slice(0,-1))&&(C=+C.slice(0,-1),C>=0)))return C+"%"}function y(C,w,R,A,E,k){k=k||{};var L=k.moduleHasSelected!==!1,I=k.moduleHasUnselected!==!1,P=k.moduleHasConstrain!==!1,M=k.moduleHasCliponaxis!==!1,F=k.moduleHasTextangle!==!1,N=k.moduleHasInsideanchor!==!1,T=!!k.hasPathbar,D=Array.isArray(E)||E==="auto",O=D||E==="inside",U=D||E==="outside";if(O||U){var B=d(A,"textfont",R.font),Y=v.extendFlat({},B),z=C.textfont&&C.textfont.color,V=!z;if(V&&delete Y.color,d(A,"insidetextfont",Y),T){var j=v.extendFlat({},B);V&&delete j.color,d(A,"pathbar.textfont",j)}U&&d(A,"outsidetextfont",B),L&&A("selected.textfont.color"),I&&A("unselected.textfont.color"),P&&A("constraintext"),M&&A("cliponaxis"),F&&A("textangle"),A("texttemplate")}O&&N&&A("insidetextanchor")}u.exports={supplyDefaults:f,crossTraceDefaults:b,handleText:y,validateCornerradius:x}},52160:function(u){u.exports=function(a,l,v){return a.x="xVal"in l?l.xVal:l.x,a.y="yVal"in l?l.yVal:l.y,l.xa&&(a.xaxis=l.xa),l.ya&&(a.yaxis=l.ya),v.orientation==="h"?(a.label=a.y,a.value=a.x):(a.label=a.x,a.value=a.y),a}},60444:function(u,h,a){var l=a(38248),v=a(49760),i=a(3400).isArrayOrTypedArray;h.coerceString=function(S,g,p){if(typeof g=="string"){if(g||!S.noBlank)return g}else if((typeof g=="number"||g===!0)&&!S.strict)return String(g);return p!==void 0?p:S.dflt},h.coerceNumber=function(S,g,p){if(l(g)){g=+g;var _=S.min,c=S.max,s=_!==void 0&&g<_||c!==void 0&&g>c;if(!s)return g}return p!==void 0?p:S.dflt},h.coerceColor=function(S,g,p){return v(g).isValid()?g:p!==void 0?p:S.dflt},h.coerceEnumerated=function(S,g,p){return S.coerceNumber&&(g=+g),S.values.indexOf(g)!==-1?g:p!==void 0?p:S.dflt},h.getValue=function(S,g){var p;return i(S)?g<S.length&&(p=S[g]):p=S,p},h.getLineWidth=function(S,g){var p=0<g.mlw?g.mlw:i(S.marker.line.width)?0:S.marker.line.width;return p}},63400:function(u,h,a){var l=a(93024),v=a(24040),i=a(76308),S=a(3400).fillText,g=a(60444).getLineWidth,p=a(54460).hoverLabelText,_=a(39032).BADNUM;function c(f,b,x,y,C){var w=s(f,b,x,y,C);if(w){var R=w.cd,A=R[0].trace,E=R[w.index];return w.color=d(A,E),v.getComponentMethod("errorbars","hoverInfo")(E,A,w),[w]}}function s(f,b,x,y,C){var w=f.cd,R=w[0].trace,A=w[0].t,E=y==="closest",k=R.type==="waterfall",L=f.maxHoverDistance,I=f.maxSpikeDistance,P,M,F,N,T,D,O;R.orientation==="h"?(P=x,M=b,F="y",N="x",T=he,D=Q):(P=b,M=x,F="x",N="y",D=he,T=Q);var U=R[F+"period"],B=E||U;function Y(fe){return V(fe,-1)}function z(fe){return V(fe,1)}function V(fe,me){var Te=fe.w;return fe[F]+me*Te/2}function j(fe){return fe[F+"End"]-fe[F+"Start"]}var G=E?Y:U?function(fe){return fe.p-j(fe)/2}:function(fe){return Math.min(Y(fe),fe.p-A.bardelta/2)},W=E?z:U?function(fe){return fe.p+j(fe)/2}:function(fe){return Math.max(z(fe),fe.p+A.bardelta/2)};function X(fe,me,Te){return C.finiteRange&&(Te=0),l.inbox(fe-P,me-P,Te+Math.min(1,Math.abs(me-fe)/O)-1)}function Q(fe){return X(G(fe),W(fe),L)}function ae(fe){return X(Y(fe),z(fe),I)}function ie(fe){var me=fe[N];if(k){var Te=Math.abs(fe.rawS)||0;M>0?me+=Te:M<0&&(me-=Te)}return me}function he(fe){var me=M,Te=fe.b,we=ie(fe);return l.inbox(Te-me,we-me,L+(we-me)/(we-Te)-1)}function J(fe){var me=M,Te=fe.b,we=ie(fe);return l.inbox(Te-me,we-me,I+(we-me)/(we-Te)-1)}var Z=f[F+"a"],le=f[N+"a"];O=Math.abs(Z.r2c(Z.range[1])-Z.r2c(Z.range[0]));function K(fe){return(T(fe)+D(fe))/2}var te=l.getDistanceFunction(y,T,D,K);if(l.getClosest(w,te,f),f.index!==!1&&w[f.index].p!==_){B||(G=function(fe){return Math.min(Y(fe),fe.p-A.bargroupwidth/2)},W=function(fe){return Math.max(z(fe),fe.p+A.bargroupwidth/2)});var ce=f.index,re=w[ce],ee=R.base?re.b+re.s:re.s;f[N+"0"]=f[N+"1"]=le.c2p(re[N],!0),f[N+"LabelVal"]=ee;var de=A.extents[A.extents.round(re.p)];f[F+"0"]=Z.c2p(E?G(re):de[0],!0),f[F+"1"]=Z.c2p(E?W(re):de[1],!0);var oe=re.orig_p!==void 0;return f[F+"LabelVal"]=oe?re.orig_p:re.p,f.labelLabel=p(Z,f[F+"LabelVal"],R[F+"hoverformat"]),f.valueLabel=p(le,f[N+"LabelVal"],R[N+"hoverformat"]),f.baseLabel=p(le,re.b,R[N+"hoverformat"]),f.spikeDistance=(J(re)+ae(re))/2,f[F+"Spike"]=Z.c2p(re.p,!0),S(re,R,f),f.hovertemplate=R.hovertemplate,f}}function d(f,b){var x=b.mcc||f.marker.color,y=b.mlcc||f.marker.line.color,C=g(f,b);if(i.opacity(x))return x;if(i.opacity(y)&&C)return y}u.exports={hoverPoints:c,hoverOnBars:s,getTraceColor:d}},51132:function(u,h,a){u.exports={attributes:a(20832),layoutAttributes:a(39324),supplyDefaults:a(31508).supplyDefaults,crossTraceDefaults:a(31508).crossTraceDefaults,supplyLayoutDefaults:a(37156),calc:a(71820),crossTraceCalc:a(96376).crossTraceCalc,colorbar:a(5528),arraysToCalcdata:a(84664),plot:a(98184).plot,style:a(60100).style,styleOnSelect:a(60100).styleOnSelect,hoverPoints:a(63400).hoverPoints,eventData:a(52160),selectPoints:a(45784),moduleType:"trace",name:"bar",basePlotModule:a(57952),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{}}},39324:function(u){u.exports={barmode:{valType:"enumerated",values:["stack","group","overlay","relative"],dflt:"group",editType:"calc"},barnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc"},bargap:{valType:"number",min:0,max:1,editType:"calc"},bargroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},barcornerradius:{valType:"any",editType:"calc"}}},37156:function(u,h,a){var l=a(24040),v=a(54460),i=a(3400),S=a(39324),g=a(31508).validateCornerradius;u.exports=function(p,_,c){function s(k,L){return i.coerce(p,_,S,k,L)}for(var d=!1,f=!1,b=!1,x={},y=s("barmode"),C=0;C<c.length;C++){var w=c[C];if(l.traceIs(w,"bar")&&w.visible)d=!0;else continue;if(y==="group"){var R=w.xaxis+w.yaxis;x[R]&&(b=!0),x[R]=!0}if(w.visible&&w.type==="histogram"){var A=v.getFromId({_fullLayout:_},w[w.orientation==="v"?"xaxis":"yaxis"]);A.type!=="category"&&(f=!0)}}if(!d){delete _.barmode;return}y!=="overlay"&&s("barnorm"),s("bargap",f&&!b?0:.2),s("bargroupgap");var E=s("barcornerradius");_.barcornerradius=g(E)}},98184:function(u,h,a){var l=a(33428),v=a(38248),i=a(3400),S=a(72736),g=a(76308),p=a(43616),_=a(24040),c=a(54460).tickText,s=a(82744),d=s.recordMinTextSize,f=s.clearMinTextSize,b=a(60100),x=a(60444),y=a(78048),C=a(20832),w=C.text,R=C.textposition,A=a(10624).appendArrayPointValue,E=y.TEXTPAD;function k(Q){return Q.id}function L(Q){if(Q.ids)return k}function I(Q){return(Q>0)-(Q<0)}function P(Q,ae){return Q<ae?1:-1}function M(Q,ae,ie,he){var J=[],Z=[],le=he?ae:ie,K=he?ie:ae;return J[0]=le.c2p(Q.s0,!0),Z[0]=K.c2p(Q.p0,!0),J[1]=le.c2p(Q.s1,!0),Z[1]=K.c2p(Q.p1,!0),he?[J,Z]:[Z,J]}function F(Q,ae,ie,he){if(!ae.uniformtext.mode&&N(ie)){var J;return he&&(J=he()),Q.transition().duration(ie.duration).ease(ie.easing).each("end",function(){J&&J()}).each("interrupt",function(){J&&J()})}else return Q}function N(Q){return Q&&Q.duration>0}function T(Q,ae,ie,he,J,Z){var le=ae.xaxis,K=ae.yaxis,te=Q._fullLayout,ce=Q._context.staticPlot;J||(J={mode:te.barmode,norm:te.barmode,gap:te.bargap,groupgap:te.bargroupgap},f("bar",te));var re=i.makeTraceGroups(he,ie,"trace bars").each(function(ee){var de=l.select(this),oe=ee[0].trace,fe=ee[0].t,me=oe.type==="waterfall",Te=oe.type==="funnel",we=oe.type==="histogram",Be=oe.type==="bar",Ae=Be||Te,Re=0;me&&oe.connector.visible&&oe.connector.mode==="between"&&(Re=oe.connector.line.width/2);var be=oe.orientation==="h",Pe=N(J),Ke=i.ensureSingle(de,"g","points"),ze=L(oe),Fe=Ke.selectAll("g.point").data(i.identity,ze);Fe.enter().append("g").classed("point",!0),Fe.exit().remove(),Fe.each(function(lt,ht){var tt=l.select(this),et=M(lt,le,K,be),pt=et[0][0],vt=et[0][1],_t=et[1][0],bt=et[1][1],Rt=(be?vt-pt:bt-_t)===0;Rt&&Ae&&x.getLineWidth(oe,lt)&&(Rt=!1),Rt||(Rt=!v(pt)||!v(vt)||!v(_t)||!v(bt)),lt.isBlank=Rt,Rt&&(be?vt=pt:bt=_t),Re&&!Rt&&(be?(pt-=P(pt,vt)*Re,vt+=P(pt,vt)*Re):(_t-=P(_t,bt)*Re,bt+=P(_t,bt)*Re));var ct,Ve;if(oe.type==="waterfall"){if(!Rt){var Qe=oe[lt.dir].marker;ct=Qe.line.width,Ve=Qe.color}}else ct=x.getLineWidth(oe,lt),Ve=lt.mc||oe.marker.color;function rt(mt){var Mt=l.round(ct/2%1,2);return J.gap===0&&J.groupgap===0?l.round(Math.round(mt)-Mt,2):mt}function qe(mt,Mt,Pt){return Pt&&mt===Mt?mt:Math.abs(mt-Mt)>=2?rt(mt):mt>Mt?Math.ceil(mt):Math.floor(mt)}var He=g.opacity(Ve),Ce=He<1||ct>.01?rt:qe;Q._context.staticPlot||(pt=Ce(pt,vt,be),vt=Ce(vt,pt,be),_t=Ce(_t,bt,!be),bt=Ce(bt,_t,!be));var Se=be?le.c2p:K.c2p,Le;lt.s0>0?Le=lt._sMax:lt.s0<0?Le=lt._sMin:Le=lt.s1>0?lt._sMax:lt._sMin;function Ne(mt,Mt){if(!mt)return 0;var Pt=Math.abs(be?bt-_t:vt-pt),Ht=Math.abs(be?vt-pt:bt-_t),Ut=Ce(Math.abs(Se(Le,!0)-Se(0,!0))),Zt=lt.hasB?Math.min(Pt/2,Ht/2):Math.min(Pt/2,Ut),Xt;if(Mt==="%"){var sr=Math.min(50,mt);Xt=Pt*(sr/100)}else Xt=mt;return Ce(Math.max(Math.min(Xt,Zt),0))}var je=Be||we?Ne(fe.cornerradiusvalue,fe.cornerradiusform):0,Je,ut,Et="M"+pt+","+_t+"V"+bt+"H"+vt+"V"+_t+"Z",wt=0;if(je&&lt.s){var nr=I(lt.s0)===0||I(lt.s)===I(lt.s0)?lt.s1:lt.s0;if(wt=Ce(lt.hasB?0:Math.abs(Se(Le,!0)-Se(nr,!0))),wt<je){var ir=P(pt,vt),It=P(_t,bt),Gt=ir===-It?1:0;if(be)if(lt.hasB)Je="M"+(pt+je*ir)+","+_t+"A "+je+","+je+" 0 0 "+Gt+" "+pt+","+(_t+je*It)+"V"+(bt-je*It)+"A "+je+","+je+" 0 0 "+Gt+" "+(pt+je*ir)+","+bt+"H"+(vt-je*ir)+"A "+je+","+je+" 0 0 "+Gt+" "+vt+","+(bt-je*It)+"V"+(_t+je*It)+"A "+je+","+je+" 0 0 "+Gt+" "+(vt-je*ir)+","+_t+"Z";else{ut=Math.abs(vt-pt)+wt;var cr=ut<je?je-Math.sqrt(ut*(2*je-ut)):0,Pr=wt>0?Math.sqrt(wt*(2*je-wt)):0,Ct=ir>0?Math.max:Math.min;Je="M"+pt+","+_t+"V"+(bt-cr*It)+"H"+Ct(vt-(je-wt)*ir,pt)+"A "+je+","+je+" 0 0 "+Gt+" "+vt+","+(bt-je*It-Pr)+"V"+(_t+je*It+Pr)+"A "+je+","+je+" 0 0 "+Gt+" "+Ct(vt-(je-wt)*ir,pt)+","+(_t+cr*It)+"Z"}else if(lt.hasB)Je="M"+(pt+je*ir)+","+_t+"A "+je+","+je+" 0 0 "+Gt+" "+pt+","+(_t+je*It)+"V"+(bt-je*It)+"A "+je+","+je+" 0 0 "+Gt+" "+(pt+je*ir)+","+bt+"H"+(vt-je*ir)+"A "+je+","+je+" 0 0 "+Gt+" "+vt+","+(bt-je*It)+"V"+(_t+je*It)+"A "+je+","+je+" 0 0 "+Gt+" "+(vt-je*ir)+","+_t+"Z";else{ut=Math.abs(bt-_t)+wt;var or=ut<je?je-Math.sqrt(ut*(2*je-ut)):0,ur=wt>0?Math.sqrt(wt*(2*je-wt)):0,Ir=It>0?Math.max:Math.min;Je="M"+(pt+or*ir)+","+_t+"V"+Ir(bt-(je-wt)*It,_t)+"A "+je+","+je+" 0 0 "+Gt+" "+(pt+je*ir-ur)+","+bt+"H"+(vt-je*ir+ur)+"A "+je+","+je+" 0 0 "+Gt+" "+(vt-or*ir)+","+Ir(bt-(je-wt)*It,_t)+"V"+_t+"Z"}}else Je=Et}else Je=Et;var yr=F(i.ensureSingle(tt,"path"),te,J,Z);if(yr.style("vector-effect",ce?"none":"non-scaling-stroke").attr("d",isNaN((vt-pt)*(bt-_t))||Rt&&Q._context.staticPlot?"M0,0Z":Je).call(p.setClipUrl,ae.layerClipId,Q),!te.uniformtext.mode&&Pe){var At=p.makePointStyleFns(oe);p.singlePointStyle(lt,yr,oe,At,Q)}D(Q,ae,tt,ee,ht,pt,vt,_t,bt,je,wt,J,Z),ae.layerClipId&&p.hideOutsideRangePoint(lt,tt.select("text"),le,K,oe.xcalendar,oe.ycalendar)});var We=oe.cliponaxis===!1;p.setClipUrl(de,We?null:ae.layerClipId,Q)});_.getComponentMethod("errorbars","plot")(Q,re,ae,J)}function D(Q,ae,ie,he,J,Z,le,K,te,ce,re,ee,de){var oe=ae.xaxis,fe=ae.yaxis,me=Q._fullLayout,Te;function we(ut,Et,wt){var nr=i.ensureSingle(ut,"text").text(Et).attr({class:"bartext bartext-"+Te,"text-anchor":"middle","data-notex":1}).call(p.font,wt).call(S.convertToTspans,Q);return nr}var Be=he[0].trace,Ae=Be.orientation==="h",Re=j(me,he,J,oe,fe);Te=G(Be,J);var be=ee.mode==="stack"||ee.mode==="relative",Pe=he[J],Ke=!be||Pe._outmost,ze=Pe.hasB,Fe=ce&&ce-re>E;if(!Re||Te==="none"||(Pe.isBlank||Z===le||K===te)&&(Te==="auto"||Te==="inside")){ie.select("text").remove();return}var We=me.font,lt=b.getBarColor(he[J],Be),ht=b.getInsideTextFont(Be,J,We,lt),tt=b.getOutsideTextFont(Be,J,We),et=Be.insidetextanchor||"end",pt=ie.datum();Ae?oe.type==="log"&&pt.s0<=0&&(oe.range[0]<oe.range[1]?Z=0:Z=oe._length):fe.type==="log"&&pt.s0<=0&&(fe.range[0]<fe.range[1]?K=fe._length:K=0);var vt=Math.abs(le-Z),_t=Math.abs(te-K),bt=vt-2*E,Rt=_t-2*E,ct,Ve,Qe,rt,qe;if(Te==="outside"&&!Ke&&!Pe.hasB&&(Te="inside"),Te==="auto")if(Ke){Te="inside",qe=i.ensureUniformFontSize(Q,ht),ct=we(ie,Re,qe),Ve=p.bBox(ct.node()),Qe=Ve.width,rt=Ve.height;var He=Qe>0&&rt>0,Ce;Fe?ze?Ce=O(bt-2*ce,Rt,Qe,rt,Ae)||O(bt,Rt-2*ce,Qe,rt,Ae):Ae?Ce=O(bt-(ce-re),Rt,Qe,rt,Ae)||O(bt,Rt-2*(ce-re),Qe,rt,Ae):Ce=O(bt,Rt-(ce-re),Qe,rt,Ae)||O(bt-2*(ce-re),Rt,Qe,rt,Ae):Ce=O(bt,Rt,Qe,rt,Ae),He&&Ce?Te="inside":(Te="outside",ct.remove(),ct=null)}else Te="inside";if(!ct){qe=i.ensureUniformFontSize(Q,Te==="outside"?tt:ht),ct=we(ie,Re,qe);var Se=ct.attr("transform");if(ct.attr("transform",""),Ve=p.bBox(ct.node()),Qe=Ve.width,rt=Ve.height,ct.attr("transform",Se),Qe<=0||rt<=0){ct.remove();return}}var Le=Be.textangle,Ne,je;Te==="outside"?(je=Be.constraintext==="both"||Be.constraintext==="outside",Ne=V(Z,le,K,te,Ve,{isHorizontal:Ae,constrained:je,angle:Le})):(je=Be.constraintext==="both"||Be.constraintext==="inside",Ne=Y(Z,le,K,te,Ve,{isHorizontal:Ae,constrained:je,angle:Le,anchor:et,hasB:ze,r:ce,overhead:re})),Ne.fontSize=qe.size,d(Be.type==="histogram"?"bar":Be.type,Ne,me),Pe.transform=Ne;var Je=F(ct,me,ee,de);i.setTransormAndDisplay(Je,Ne)}function O(Q,ae,ie,he,J){if(Q<0||ae<0)return!1;var Z=ie<=Q&&he<=ae,le=ie<=ae&&he<=Q,K=J?Q>=ie*(ae/he):ae>=he*(Q/ie);return Z||le||K}function U(Q){return Q==="auto"?0:Q}function B(Q,ae){var ie=Math.PI/180*ae,he=Math.abs(Math.sin(ie)),J=Math.abs(Math.cos(ie));return{x:Q.width*J+Q.height*he,y:Q.width*he+Q.height*J}}function Y(Q,ae,ie,he,J,Z){var le=!!Z.isHorizontal,K=!!Z.constrained,te=Z.angle||0,ce=Z.anchor,re=ce==="end",ee=ce==="start",de=Z.leftToRight||0,oe=(de+1)/2,fe=1-oe,me=Z.hasB,Te=Z.r,we=Z.overhead,Be=J.width,Ae=J.height,Re=Math.abs(ae-Q),be=Math.abs(he-ie),Pe=Re>2*E&&be>2*E?E:0;Re-=2*Pe,be-=2*Pe;var Ke=U(te);te==="auto"&&!(Be<=Re&&Ae<=be)&&(Be>Re||Ae>be)&&(!(Be>be||Ae>Re)||Be<Ae!=Re<be)&&(Ke+=90);var ze=B(J,Ke),Fe,We;if(Te&&Te-we>E){var lt=z(Q,ae,ie,he,ze,Te,we,le,me);Fe=lt.scale,We=lt.pad}else Fe=1,K&&(Fe=Math.min(1,Re/ze.x,be/ze.y)),We=0;var ht=J.left*fe+J.right*oe,tt=(J.top+J.bottom)/2,et=(Q+E)*fe+(ae-E)*oe,pt=(ie+he)/2,vt=0,_t=0;if(ee||re){var bt=(le?ze.x:ze.y)/2;Te&&(re||me)&&(Pe+=We);var Rt=le?P(Q,ae):P(ie,he);le?ee?(et=Q+Rt*Pe,vt=-Rt*bt):(et=ae-Rt*Pe,vt=Rt*bt):ee?(pt=ie+Rt*Pe,_t=-Rt*bt):(pt=he-Rt*Pe,_t=Rt*bt)}return{textX:ht,textY:tt,targetX:et,targetY:pt,anchorX:vt,anchorY:_t,scale:Fe,rotate:Ke}}function z(Q,ae,ie,he,J,Z,le,K,te){var ce=Math.max(0,Math.abs(ae-Q)-2*E),re=Math.max(0,Math.abs(he-ie)-2*E),ee=Z-E,de=le?ee-Math.sqrt(ee*ee-(ee-le)*(ee-le)):ee,oe=te?ee*2:K?ee-le:2*de,fe=te?ee*2:K?2*de:ee-le,me,Te,we,Be,Ae;return J.y/J.x>=re/(ce-oe)?Be=re/J.y:J.y/J.x<=(re-fe)/ce?Be=ce/J.x:!te&&K?(me=J.x*J.x+J.y*J.y/4,Te=-2*J.x*(ce-ee)-J.y*(re/2-ee),we=(ce-ee)*(ce-ee)+(re/2-ee)*(re/2-ee)-ee*ee,Be=(-Te+Math.sqrt(Te*Te-4*me*we))/(2*me)):te?(me=(J.x*J.x+J.y*J.y)/4,Te=-J.x*(ce/2-ee)-J.y*(re/2-ee),we=(ce/2-ee)*(ce/2-ee)+(re/2-ee)*(re/2-ee)-ee*ee,Be=(-Te+Math.sqrt(Te*Te-4*me*we))/(2*me)):(me=J.x*J.x/4+J.y*J.y,Te=-J.x*(ce/2-ee)-2*J.y*(re-ee),we=(ce/2-ee)*(ce/2-ee)+(re-ee)*(re-ee)-ee*ee,Be=(-Te+Math.sqrt(Te*Te-4*me*we))/(2*me)),Be=Math.min(1,Be),K?Ae=Math.max(0,ee-Math.sqrt(Math.max(0,ee*ee-(ee-(re-J.y*Be)/2)*(ee-(re-J.y*Be)/2)))-le):Ae=Math.max(0,ee-Math.sqrt(Math.max(0,ee*ee-(ee-(ce-J.x*Be)/2)*(ee-(ce-J.x*Be)/2)))-le),{scale:Be,pad:Ae}}function V(Q,ae,ie,he,J,Z){var le=!!Z.isHorizontal,K=!!Z.constrained,te=Z.angle||0,ce=J.width,re=J.height,ee=Math.abs(ae-Q),de=Math.abs(he-ie),oe;le?oe=de>2*E?E:0:oe=ee>2*E?E:0;var fe=1;K&&(fe=le?Math.min(1,de/re):Math.min(1,ee/ce));var me=U(te),Te=B(J,me),we=(le?Te.x:Te.y)/2,Be=(J.left+J.right)/2,Ae=(J.top+J.bottom)/2,Re=(Q+ae)/2,be=(ie+he)/2,Pe=0,Ke=0,ze=le?P(ae,Q):P(ie,he);return le?(Re=ae-ze*oe,Pe=ze*we):(be=he+ze*oe,Ke=-ze*we),{textX:Be,textY:Ae,targetX:Re,targetY:be,anchorX:Pe,anchorY:Ke,scale:fe,rotate:me}}function j(Q,ae,ie,he,J){var Z=ae[0].trace,le=Z.texttemplate,K;return le?K=W(Q,ae,ie,he,J):Z.textinfo?K=X(ae,ie,he,J):K=x.getValue(Z.text,ie),x.coerceString(w,K)}function G(Q,ae){var ie=x.getValue(Q.textposition,ae);return x.coerceEnumerated(R,ie)}function W(Q,ae,ie,he,J){var Z=ae[0].trace,le=i.castOption(Z,ie,"texttemplate");if(!le)return"";var K=Z.type==="histogram",te=Z.type==="waterfall",ce=Z.type==="funnel",re=Z.orientation==="h",ee,de,oe,fe;re?(ee="y",de=J,oe="x",fe=he):(ee="x",de=he,oe="y",fe=J);function me(Pe){return c(de,de.c2l(Pe),!0).text}function Te(Pe){return c(fe,fe.c2l(Pe),!0).text}var we=ae[ie],Be={};Be.label=we.p,Be.labelLabel=Be[ee+"Label"]=me(we.p);var Ae=i.castOption(Z,we.i,"text");(Ae===0||Ae)&&(Be.text=Ae),Be.value=we.s,Be.valueLabel=Be[oe+"Label"]=Te(we.s);var Re={};A(Re,Z,we.i),(K||Re.x===void 0)&&(Re.x=re?Be.value:Be.label),(K||Re.y===void 0)&&(Re.y=re?Be.label:Be.value),(K||Re.xLabel===void 0)&&(Re.xLabel=re?Be.valueLabel:Be.labelLabel),(K||Re.yLabel===void 0)&&(Re.yLabel=re?Be.labelLabel:Be.valueLabel),te&&(Be.delta=+we.rawS||we.s,Be.deltaLabel=Te(Be.delta),Be.final=we.v,Be.finalLabel=Te(Be.final),Be.initial=Be.final-Be.delta,Be.initialLabel=Te(Be.initial)),ce&&(Be.value=we.s,Be.valueLabel=Te(Be.value),Be.percentInitial=we.begR,Be.percentInitialLabel=i.formatPercent(we.begR),Be.percentPrevious=we.difR,Be.percentPreviousLabel=i.formatPercent(we.difR),Be.percentTotal=we.sumR,Be.percenTotalLabel=i.formatPercent(we.sumR));var be=i.castOption(Z,we.i,"customdata");return be&&(Be.customdata=be),i.texttemplateString(le,Be,Q._d3locale,Re,Be,Z._meta||{})}function X(Q,ae,ie,he){var J=Q[0].trace,Z=J.orientation==="h",le=J.type==="waterfall",K=J.type==="funnel";function te(be){var Pe=Z?he:ie;return c(Pe,be,!0).text}function ce(be){var Pe=Z?ie:he;return c(Pe,+be,!0).text}var re=J.textinfo,ee=Q[ae],de=re.split("+"),oe=[],fe,me=function(be){return de.indexOf(be)!==-1};if(me("label")&&oe.push(te(Q[ae].p)),me("text")&&(fe=i.castOption(J,ee.i,"text"),(fe===0||fe)&&oe.push(fe)),le){var Te=+ee.rawS||ee.s,we=ee.v,Be=we-Te;me("initial")&&oe.push(ce(Be)),me("delta")&&oe.push(ce(Te)),me("final")&&oe.push(ce(we))}if(K){me("value")&&oe.push(ce(ee.s));var Ae=0;me("percent initial")&&Ae++,me("percent previous")&&Ae++,me("percent total")&&Ae++;var Re=Ae>1;me("percent initial")&&(fe=i.formatPercent(ee.begR),Re&&(fe+=" of initial"),oe.push(fe)),me("percent previous")&&(fe=i.formatPercent(ee.difR),Re&&(fe+=" of previous"),oe.push(fe)),me("percent total")&&(fe=i.formatPercent(ee.sumR),Re&&(fe+=" of total"),oe.push(fe))}return oe.join("<br>")}u.exports={plot:T,toMoveInsideBar:Y}},45784:function(u){u.exports=function(l,v){var i=l.cd,S=l.xaxis,g=l.yaxis,p=i[0].trace,_=p.type==="funnel",c=p.orientation==="h",s=[],d;if(v===!1)for(d=0;d<i.length;d++)i[d].selected=0;else for(d=0;d<i.length;d++){var f=i[d],b="ct"in f?f.ct:h(f,S,g,c,_);v.contains(b,!1,d,l)?(s.push({pointNumber:d,x:S.c2d(f.x),y:g.c2d(f.y)}),f.selected=1):f.selected=0}return s};function h(a,l,v,i,S){var g=l.c2p(i?a.s0:a.p0,!0),p=l.c2p(i?a.s1:a.p1,!0),_=v.c2p(i?a.p0:a.s0,!0),c=v.c2p(i?a.p1:a.s1,!0);return S?[(g+p)/2,(_+c)/2]:i?[p,(_+c)/2]:[(g+p)/2,c]}},72592:function(u,h,a){u.exports=v;var l=a(3400).distinctVals;function v(i,S){this.traces=i,this.sepNegVal=S.sepNegVal,this.overlapNoMerge=S.overlapNoMerge;for(var g=1/0,p=S.posAxis._id.charAt(0),_=[],c=0;c<i.length;c++){for(var s=i[c],d=0;d<s.length;d++){var f=s[d],b=f.p;b===void 0&&(b=f[p]),b!==void 0&&_.push(b)}s[0]&&s[0].width1&&(g=Math.min(s[0].width1,g))}this.positions=_;var x=l(_);this.distinctPositions=x.vals,x.vals.length===1&&g!==1/0?this.minDiff=g:this.minDiff=Math.min(x.minDiff,g);var y=(S.posAxis||{}).type;(y==="category"||y==="multicategory")&&(this.minDiff=1),this.binWidth=this.minDiff,this.bins={}}v.prototype.put=function(S,g){var p=this.getLabel(S,g),_=this.bins[p]||0;return this.bins[p]=_+g,_},v.prototype.get=function(S,g){var p=this.getLabel(S,g);return this.bins[p]||0},v.prototype.getLabel=function(S,g){var p=g<0&&this.sepNegVal?"v":"^",_=this.overlapNoMerge?S:Math.round(S/this.binWidth);return p+_}},60100:function(u,h,a){var l=a(33428),v=a(76308),i=a(43616),S=a(3400),g=a(24040),p=a(82744).resizeText,_=a(20832),c=_.textfont,s=_.insidetextfont,d=_.outsidetextfont,f=a(60444);function b(M){var F=l.select(M).selectAll("g.barlayer").selectAll("g.trace");p(M,F,"bar");var N=F.size(),T=M._fullLayout;F.style("opacity",function(D){return D[0].trace.opacity}).each(function(D){(T.barmode==="stack"&&N>1||T.bargap===0&&T.bargroupgap===0&&!D[0].trace.marker.line.width)&&l.select(this).attr("shape-rendering","crispEdges")}),F.selectAll("g.points").each(function(D){var O=l.select(this),U=D[0].trace;x(O,U,M)}),g.getComponentMethod("errorbars","style")(F)}function x(M,F,N){i.pointStyle(M.selectAll("path"),F,N),y(M,F,N)}function y(M,F,N){M.selectAll("text").each(function(T){var D=l.select(this),O=S.ensureUniformFontSize(N,A(D,T,F,N));i.font(D,O)})}function C(M,F,N){var T=F[0].trace;T.selectedpoints?w(N,T,M):(x(N,T,M),g.getComponentMethod("errorbars","style")(N))}function w(M,F,N){i.selectedPointStyle(M.selectAll("path"),F),R(M.selectAll("text"),F,N)}function R(M,F,N){M.each(function(T){var D=l.select(this),O;if(T.selected){O=S.ensureUniformFontSize(N,A(D,T,F,N));var U=F.selected.textfont&&F.selected.textfont.color;U&&(O.color=U),i.font(D,O)}else i.selectedTextStyle(D,F)})}function A(M,F,N,T){var D=T._fullLayout.font,O=N.textfont;if(M.classed("bartext-inside")){var U=P(F,N);O=k(N,F.i,D,U)}else M.classed("bartext-outside")&&(O=L(N,F.i,D));return O}function E(M,F,N){return I(c,M.textfont,F,N)}function k(M,F,N,T){var D=E(M,F,N),O=M._input.textfont===void 0||M._input.textfont.color===void 0||Array.isArray(M.textfont.color)&&M.textfont.color[F]===void 0;return O&&(D={color:v.contrast(T),family:D.family,size:D.size}),I(s,M.insidetextfont,F,D)}function L(M,F,N){var T=E(M,F,N);return I(d,M.outsidetextfont,F,T)}function I(M,F,N,T){F=F||{};var D=f.getValue(F.family,N),O=f.getValue(F.size,N),U=f.getValue(F.color,N);return{family:f.coerceString(M.family,D,T.family),size:f.coerceNumber(M.size,O,T.size),color:f.coerceColor(M.color,U,T.color)}}function P(M,F){return F.type==="waterfall"?F[M.dir].marker.color:M.mcc||M.mc||F.marker.color}u.exports={style:b,styleTextPoints:y,styleOnSelect:C,getInsideTextFont:k,getOutsideTextFont:L,getBarColor:P,resizeText:p}},55592:function(u,h,a){var l=a(76308),v=a(94288).hasColorscale,i=a(27260),S=a(3400).coercePattern;u.exports=function(p,_,c,s,d){var f=c("marker.color",s),b=v(p,"marker");b&&i(p,_,d,c,{prefix:"marker.",cLetter:"c"}),c("marker.line.color",l.defaultLine),v(p,"marker.line")&&i(p,_,d,c,{prefix:"marker.line.",cLetter:"c"}),c("marker.line.width"),c("marker.opacity"),S(c,"marker.pattern",f,b),c("selected.marker.color"),c("unselected.marker.color")}},82744:function(u,h,a){var l=a(33428),v=a(3400);function i(_,c,s){var d=_._fullLayout,f=d["_"+s+"Text_minsize"];if(f){var b=d.uniformtext.mode==="hide",x;switch(s){case"funnelarea":case"pie":case"sunburst":x="g.slice";break;case"treemap":case"icicle":x="g.slice, g.pathbar";break;default:x="g.points > g.point"}c.selectAll(x).each(function(y){var C=y.transform;if(C){C.scale=b&&C.hide?0:f/C.fontSize;var w=l.select(this).select("text");v.setTransormAndDisplay(w,C)}})}}function S(_,c,s){if(s.uniformtext.mode){var d=p(_),f=s.uniformtext.minsize,b=c.scale*c.fontSize;c.hide=b<f,s[d]=s[d]||1/0,c.hide||(s[d]=Math.min(s[d],Math.max(b,f)))}}function g(_,c){var s=p(_);c[s]=void 0}function p(_){return"_"+_+"Text_minsize"}u.exports={recordMinTextSize:S,clearMinTextSize:g,resizeText:i}},78100:function(u,h,a){var l=a(21776).Ks,v=a(92880).extendFlat,i=a(8319),S=a(20832);u.exports={r:i.r,theta:i.theta,r0:i.r0,dr:i.dr,theta0:i.theta0,dtheta:i.dtheta,thetaunit:i.thetaunit,base:v({},S.base,{}),offset:v({},S.offset,{}),width:v({},S.width,{}),text:v({},S.text,{}),hovertext:v({},S.hovertext,{}),marker:g(),hoverinfo:i.hoverinfo,hovertemplate:l(),selected:S.selected,unselected:S.unselected};function g(){var p=v({},S.marker);return delete p.cornerradius,p}},47056:function(u,h,a){var l=a(94288).hasColorscale,v=a(47128),i=a(3400).isArrayOrTypedArray,S=a(84664),g=a(96376).setGroupPositions,p=a(4500),_=a(24040).traceIs,c=a(3400).extendFlat;function s(f,b){for(var x=f._fullLayout,y=b.subplot,C=x[y].radialaxis,w=x[y].angularaxis,R=C.makeCalcdata(b,"r"),A=w.makeCalcdata(b,"theta"),E=b._length,k=new Array(E),L=R,I=A,P=0;P<E;P++)k[P]={p:I[P],s:L[P]};function M(F){var N=b[F];N!==void 0&&(b["_"+F]=i(N)?w.makeCalcdata(b,F):w.d2c(N,b.thetaunit))}return w.type==="linear"&&(M("width"),M("offset")),l(b,"marker")&&v(f,b,{vals:b.marker.color,containerStr:"marker",cLetter:"c"}),l(b,"marker.line")&&v(f,b,{vals:b.marker.line.color,containerStr:"marker.line",cLetter:"c"}),S(k,b),p(k,b),k}function d(f,b,x){for(var y=f.calcdata,C=[],w=0;w<y.length;w++){var R=y[w],A=R[0].trace;A.visible===!0&&_(A,"bar")&&A.subplot===x&&C.push(R)}var E=c({},b.radialaxis,{_id:"x"}),k=b.angularaxis;g(f,k,E,C,{mode:b.barmode,norm:b.barnorm,gap:b.bargap,groupgap:b.bargroupgap})}u.exports={calc:s,crossTraceCalc:d}},70384:function(u,h,a){var l=a(3400),v=a(85968).handleRThetaDefaults,i=a(55592),S=a(78100);u.exports=function(p,_,c,s){function d(b,x){return l.coerce(p,_,S,b,x)}var f=v(p,_,s,d);if(!f){_.visible=!1;return}d("thetaunit"),d("base"),d("offset"),d("width"),d("text"),d("hovertext"),d("hovertemplate"),i(p,_,d,c,s),l.coerceSelectionMarkerOpacity(_,d)}},68896:function(u,h,a){var l=a(93024),v=a(3400),i=a(63400).getTraceColor,S=v.fillText,g=a(8504).makeHoverPointText,p=a(57384).isPtInsidePolygon;u.exports=function(c,s,d){var f=c.cd,b=f[0].trace,x=c.subplot,y=x.radialAxis,C=x.angularAxis,w=x.vangles,R=w?p:v.isPtInsideSector,A=c.maxHoverDistance,E=C._period||2*Math.PI,k=Math.abs(y.g2p(Math.sqrt(s*s+d*d))),L=Math.atan2(d,s);y.range[0]>y.range[1]&&(L+=Math.PI);var I=function(N){return R(k,L,[N.rp0,N.rp1],[N.thetag0,N.thetag1],w)?A+Math.min(1,Math.abs(N.thetag1-N.thetag0)/E)-1+(N.rp1-k)/(N.rp1-N.rp0)-1:1/0};if(l.getClosest(f,I,c),c.index!==!1){var P=c.index,M=f[P];c.x0=c.x1=M.ct[0],c.y0=c.y1=M.ct[1];var F=v.extendFlat({},M,{r:M.s,theta:M.p});return S(M,b,c),g(F,b,x,c),c.hovertemplate=b.hovertemplate,c.color=i(b,M),c.xLabelVal=c.yLabelVal=void 0,M.s<0&&(c.idealAlign="left"),[c]}}},94456:function(u,h,a){u.exports={moduleType:"trace",name:"barpolar",basePlotModule:a(40872),categories:["polar","bar","showLegend"],attributes:a(78100),layoutAttributes:a(9320),supplyDefaults:a(70384),supplyLayoutDefaults:a(89580),calc:a(47056).calc,crossTraceCalc:a(47056).crossTraceCalc,plot:a(42040),colorbar:a(5528),formatLabels:a(22852),style:a(60100).style,styleOnSelect:a(60100).styleOnSelect,hoverPoints:a(68896),selectPoints:a(45784),meta:{}}},9320:function(u){u.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}},89580:function(u,h,a){var l=a(3400),v=a(9320);u.exports=function(i,S,g){var p={},_;function c(f,b){return l.coerce(i[_]||{},S[_],v,f,b)}for(var s=0;s<g.length;s++){var d=g[s];d.type==="barpolar"&&d.visible===!0&&(_=d.subplot,p[_]||(c("barmode"),c("bargap"),p[_]=1))}}},42040:function(u,h,a){var l=a(33428),v=a(38248),i=a(3400),S=a(43616),g=a(57384);u.exports=function(c,s,d){var f=c._context.staticPlot,b=s.xaxis,x=s.yaxis,y=s.radialAxis,C=s.angularAxis,w=p(s),R=s.layers.frontplot.select("g.barlayer");i.makeTraceGroups(R,d,"trace bars").each(function(){var A=l.select(this),E=i.ensureSingle(A,"g","points"),k=E.selectAll("g.point").data(i.identity);k.enter().append("g").style("vector-effect",f?"none":"non-scaling-stroke").style("stroke-miterlimit",2).classed("point",!0),k.exit().remove(),k.each(function(L){var I=l.select(this),P=L.rp0=y.c2p(L.s0),M=L.rp1=y.c2p(L.s1),F=L.thetag0=C.c2g(L.p0),N=L.thetag1=C.c2g(L.p1),T;if(!v(P)||!v(M)||!v(F)||!v(N)||P===M||F===N)T="M0,0Z";else{var D=y.c2g(L.s1),O=(F+N)/2;L.ct=[b.c2p(D*Math.cos(O)),x.c2p(D*Math.sin(O))],T=w(P,M,F,N)}i.ensureSingle(I,"path").attr("d",T)}),S.setClipUrl(A,s._hasClipOnAxisFalse?s.clipIds.forTraces:null,c)})};function p(_){var c=_.cxx,s=_.cyy;return _.vangles?function(d,f,b,x){var y,C;i.angleDelta(b,x)>0?(y=b,C=x):(y=x,C=b);var w=g.findEnclosingVertexAngles(y,_.vangles)[0],R=g.findEnclosingVertexAngles(C,_.vangles)[1],A=[w,(y+C)/2,R];return g.pathPolygonAnnulus(d,f,y,C,A,c,s)}:function(d,f,b,x){return i.pathAnnulus(d,f,b,x,c,s)}}},63188:function(u,h,a){var l=a(98304),v=a(52904),i=a(20832),S=a(22548),g=a(29736).axisHoverFormat,p=a(21776).Ks,_=a(92880).extendFlat,c=v.marker,s=c.line;u.exports={y:{valType:"data_array",editType:"calc+clearAxisTypes"},x:{valType:"data_array",editType:"calc+clearAxisTypes"},x0:{valType:"any",editType:"calc+clearAxisTypes"},y0:{valType:"any",editType:"calc+clearAxisTypes"},dx:{valType:"number",editType:"calc"},dy:{valType:"number",editType:"calc"},xperiod:v.xperiod,yperiod:v.yperiod,xperiod0:v.xperiod0,yperiod0:v.yperiod0,xperiodalignment:v.xperiodalignment,yperiodalignment:v.yperiodalignment,xhoverformat:g("x"),yhoverformat:g("y"),name:{valType:"string",editType:"calc+clearAxisTypes"},q1:{valType:"data_array",editType:"calc+clearAxisTypes"},median:{valType:"data_array",editType:"calc+clearAxisTypes"},q3:{valType:"data_array",editType:"calc+clearAxisTypes"},lowerfence:{valType:"data_array",editType:"calc"},upperfence:{valType:"data_array",editType:"calc"},notched:{valType:"boolean",editType:"calc"},notchwidth:{valType:"number",min:0,max:.5,dflt:.25,editType:"calc"},notchspan:{valType:"data_array",editType:"calc"},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],editType:"calc"},jitter:{valType:"number",min:0,max:1,editType:"calc"},pointpos:{valType:"number",min:-2,max:2,editType:"calc"},sdmultiple:{valType:"number",min:0,editType:"calc",dflt:1},sizemode:{valType:"enumerated",values:["quartiles","sd"],editType:"calc",dflt:"quartiles"},boxmean:{valType:"enumerated",values:[!0,"sd",!1],editType:"calc"},mean:{valType:"data_array",editType:"calc"},sd:{valType:"data_array",editType:"calc"},orientation:{valType:"enumerated",values:["v","h"],editType:"calc+clearAxisTypes"},quartilemethod:{valType:"enumerated",values:["linear","exclusive","inclusive"],dflt:"linear",editType:"calc"},width:{valType:"number",min:0,dflt:0,editType:"calc"},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)",editType:"style"},symbol:_({},c.symbol,{arrayOk:!1,editType:"plot"}),opacity:_({},c.opacity,{arrayOk:!1,dflt:1,editType:"style"}),angle:_({},c.angle,{arrayOk:!1,editType:"calc"}),size:_({},c.size,{arrayOk:!1,editType:"calc"}),color:_({},c.color,{arrayOk:!1,editType:"style"}),line:{color:_({},s.color,{arrayOk:!1,dflt:S.defaultLine,editType:"style"}),width:_({},s.width,{arrayOk:!1,dflt:0,editType:"style"}),outliercolor:{valType:"color",editType:"style"},outlierwidth:{valType:"number",min:0,dflt:1,editType:"style"},editType:"style"},editType:"plot"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,dflt:2,editType:"style"},editType:"plot"},fillcolor:l(),whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,editType:"calc"},showwhiskers:{valType:"boolean",editType:"calc"},offsetgroup:i.offsetgroup,alignmentgroup:i.alignmentgroup,selected:{marker:v.selected.marker,editType:"style"},unselected:{marker:v.unselected.marker,editType:"style"},text:_({},v.text,{}),hovertext:_({},v.hovertext,{}),hovertemplate:p({}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",editType:"style"}}},62555:function(u,h,a){var l=a(38248),v=a(54460),i=a(1220),S=a(3400),g=a(39032).BADNUM,p=S._;u.exports=function(L,I){var P=L._fullLayout,M=v.getFromId(L,I.xaxis||"x"),F=v.getFromId(L,I.yaxis||"y"),N=[],T=I.type==="violin"?"_numViolins":"_numBoxes",D,O,U,B,Y,z,V;I.orientation==="h"?(U=M,B="x",Y=F,z="y",V=!!I.yperiodalignment):(U=F,B="y",Y=M,z="x",V=!!I.xperiodalignment);var j=_(I,z,Y,P[T]),G=j[0],W=j[1],X=S.distinctVals(G,Y),Q=X.vals,ae=X.minDiff/2,ie,he,J,Z,le,K,te=(I.boxpoints||I.points)==="all"?S.identity:function(Rt){return Rt.v<ie.lf||Rt.v>ie.uf};if(I._hasPreCompStats){var ce=I[B],re=function(Rt){return U.d2c((I[Rt]||[])[D])},ee=1/0,de=-1/0;for(D=0;D<I._length;D++){var oe=G[D];if(l(oe)){if(ie={},ie.pos=ie[z]=oe,V&&W&&(ie.orig_p=W[D]),ie.q1=re("q1"),ie.med=re("median"),ie.q3=re("q3"),he=[],ce&&S.isArrayOrTypedArray(ce[D]))for(O=0;O<ce[D].length;O++)K=U.d2c(ce[D][O]),K!==g&&(le={v:K,i:[D,O]},f(le,I,[D,O]),he.push(le));if(ie.pts=he.sort(x),J=ie[B]=he.map(y),Z=J.length,ie.med!==g&&ie.q1!==g&&ie.q3!==g&&ie.med>=ie.q1&&ie.q3>=ie.med){var fe=re("lowerfence");ie.lf=fe!==g&&fe<=ie.q1?fe:C(ie,J,Z);var me=re("upperfence");ie.uf=me!==g&&me>=ie.q3?me:w(ie,J,Z);var Te=re("mean");ie.mean=Te!==g?Te:Z?S.mean(J,Z):(ie.q1+ie.q3)/2;var we=re("sd");ie.sd=Te!==g&&we>=0?we:Z?S.stdev(J,Z,ie.mean):ie.q3-ie.q1,ie.lo=R(ie),ie.uo=A(ie);var Be=re("notchspan");Be=Be!==g&&Be>0?Be:E(ie,Z),ie.ln=ie.med-Be,ie.un=ie.med+Be;var Ae=ie.lf,Re=ie.uf;I.boxpoints&&J.length&&(Ae=Math.min(Ae,J[0]),Re=Math.max(Re,J[Z-1])),I.notched&&(Ae=Math.min(Ae,ie.ln),Re=Math.max(Re,ie.un)),ie.min=Ae,ie.max=Re}else{S.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+ie.q1,"median = "+ie.med,"q3 = "+ie.q3].join(`
`));var be;ie.med!==g?be=ie.med:ie.q1!==g?ie.q3!==g?be=(ie.q1+ie.q3)/2:be=ie.q1:ie.q3!==g?be=ie.q3:be=0,ie.med=be,ie.q1=ie.q3=be,ie.lf=ie.uf=be,ie.mean=ie.sd=be,ie.ln=ie.un=be,ie.min=ie.max=be}ee=Math.min(ee,ie.min),de=Math.max(de,ie.max),ie.pts2=he.filter(te),N.push(ie)}}I._extremes[U._id]=v.findExtremes(U,[ee,de],{padded:!0})}else{var Pe=U.makeCalcdata(I,B),Ke=c(Q,ae),ze=Q.length,Fe=s(ze);for(D=0;D<I._length;D++)if(K=Pe[D],!!l(K)){var We=S.findBin(G[D],Ke);We>=0&&We<ze&&(le={v:K,i:D},f(le,I,D),Fe[We].push(le))}var lt=1/0,ht=-1/0,tt=I.quartilemethod,et=tt==="exclusive",pt=tt==="inclusive";for(D=0;D<ze;D++)if(Fe[D].length>0){if(ie={},ie.pos=ie[z]=Q[D],he=ie.pts=Fe[D].sort(x),J=ie[B]=he.map(y),Z=J.length,ie.min=J[0],ie.max=J[Z-1],ie.mean=S.mean(J,Z),ie.sd=S.stdev(J,Z,ie.mean)*I.sdmultiple,ie.med=S.interp(J,.5),Z%2&&(et||pt)){var vt,_t;et?(vt=J.slice(0,Z/2),_t=J.slice(Z/2+1)):pt&&(vt=J.slice(0,Z/2+1),_t=J.slice(Z/2)),ie.q1=S.interp(vt,.5),ie.q3=S.interp(_t,.5)}else ie.q1=S.interp(J,.25),ie.q3=S.interp(J,.75);ie.lf=C(ie,J,Z),ie.uf=w(ie,J,Z),ie.lo=R(ie),ie.uo=A(ie);var bt=E(ie,Z);ie.ln=ie.med-bt,ie.un=ie.med+bt,lt=Math.min(lt,ie.ln),ht=Math.max(ht,ie.un),ie.pts2=he.filter(te),N.push(ie)}I.notched&&S.isTypedArray(Pe)&&(Pe=Array.from(Pe)),I._extremes[U._id]=v.findExtremes(U,I.notched?Pe.concat([lt,ht]):Pe,{padded:!0})}return b(N,I),N.length>0?(N[0].t={num:P[T],dPos:ae,posLetter:z,valLetter:B,labels:{med:p(L,"median:"),min:p(L,"min:"),q1:p(L,"q1:"),q3:p(L,"q3:"),max:p(L,"max:"),mean:I.boxmean==="sd"||I.sizemode==="sd"?p(L,"mean ± σ:").replace("σ",I.sdmultiple===1?"σ":I.sdmultiple+"σ"):p(L,"mean:"),lf:p(L,"lower fence:"),uf:p(L,"upper fence:")}},P[T]++,N):[{t:{empty:!0}}]};function _(k,L,I,P){var M=L in k,F=L+"0"in k,N="d"+L in k;if(M||F&&N){var T=I.makeCalcdata(k,L),D=i(k,I,L,T).vals;return[D,T]}var O;F?O=k[L+"0"]:"name"in k&&(I.type==="category"||l(k.name)&&["linear","log"].indexOf(I.type)!==-1||S.isDateTime(k.name)&&I.type==="date")?O=k.name:O=P;for(var U=I.type==="multicategory"?I.r2c_just_indices(O):I.d2c(O,0,k[L+"calendar"]),B=k._length,Y=new Array(B),z=0;z<B;z++)Y[z]=U;return[Y]}function c(k,L){for(var I=k.length,P=new Array(I+1),M=0;M<I;M++)P[M]=k[M]-L;return P[I]=k[I-1]+L,P}function s(k){for(var L=new Array(k),I=0;I<k;I++)L[I]=[];return L}var d={text:"tx",hovertext:"htx"};function f(k,L,I){for(var P in d)S.isArrayOrTypedArray(L[P])&&(Array.isArray(I)?S.isArrayOrTypedArray(L[P][I[0]])&&(k[d[P]]=L[P][I[0]][I[1]]):k[d[P]]=L[P][I])}function b(k,L){if(S.isArrayOrTypedArray(L.selectedpoints))for(var I=0;I<k.length;I++){for(var P=k[I].pts||[],M={},F=0;F<P.length;F++)M[P[F].i]=F;S.tagSelected(P,L,M)}}function x(k,L){return k.v-L.v}function y(k){return k.v}function C(k,L,I){return I===0?k.q1:Math.min(k.q1,L[Math.min(S.findBin(2.5*k.q1-1.5*k.q3,L,!0)+1,I-1)])}function w(k,L,I){return I===0?k.q3:Math.max(k.q3,L[Math.max(S.findBin(2.5*k.q3-1.5*k.q1,L),0)])}function R(k){return 4*k.q1-3*k.q3}function A(k){return 4*k.q3-3*k.q1}function E(k,L){return L===0?0:1.57*(k.q3-k.q1)/Math.sqrt(L)}},96404:function(u,h,a){var l=a(54460),v=a(3400),i=a(71888).getAxisGroup,S=["v","h"];function g(_,c){for(var s=_.calcdata,d=c.xaxis,f=c.yaxis,b=0;b<S.length;b++){for(var x=S[b],y=x==="h"?f:d,C=[],w=0;w<s.length;w++){var R=s[w],A=R[0].t,E=R[0].trace;E.visible===!0&&(E.type==="box"||E.type==="candlestick")&&!A.empty&&(E.orientation||"v")===x&&E.xaxis===d._id&&E.yaxis===f._id&&C.push(w)}p("box",_,C,y)}}function p(_,c,s,d){var f=c.calcdata,b=c._fullLayout,x=d._id,y=x.charAt(0),C,w,R,A=[],E=0;for(C=0;C<s.length;C++)for(R=f[s[C]],w=0;w<R.length;w++)A.push(d.c2l(R[w].pos,!0)),E+=(R[w].pts2||[]).length;if(A.length){var k=v.distinctVals(A);(d.type==="category"||d.type==="multicategory")&&(k.minDiff=1);var L=k.minDiff/2;l.minDtick(d,k.minDiff,k.vals[0],!0);var I=_==="violin"?"_numViolins":"_numBoxes",P=b[I],M=b[_+"mode"]==="group"&&P>1,F=1-b[_+"gap"],N=1-b[_+"groupgap"];for(C=0;C<s.length;C++){R=f[s[C]];var T=R[0].trace,D=R[0].t,O=T.width,U=T.side,B,Y,z,V;if(O)B=Y=V=O/2,z=0;else if(B=L,M){var j=i(b,d._id)+T.orientation,G=b._alignmentOpts[j]||{},W=G[T.alignmentgroup]||{},X=Object.keys(W.offsetGroups||{}).length,Q=X||P,ae=X?T._offsetIndex:D.num;Y=B*F*N/Q,z=2*B*(-.5+(ae+.5)/Q)*F,V=B*F/Q}else Y=B*F*N,z=0,V=B;D.dPos=B,D.bPos=z,D.bdPos=Y,D.wHover=V;var ie,he,J=z+Y,Z,le,K,te,ce,re,ee=!!O,de=(T.boxpoints||T.points)&&E>0;if(U==="positive"?(ie=B*(O?1:.5),Z=J,he=Z=z):U==="negative"?(ie=Z=z,he=B*(O?1:.5),le=J):(ie=he=B,Z=le=J),de){var oe=T.pointpos,fe=T.jitter,me=T.marker.size/2,Te=0;oe+fe>=0&&(Te=J*(oe+fe),Te>ie?(ee=!0,ce=me,K=Te):Te>Z&&(ce=me,K=ie)),Te<=ie&&(K=ie);var we=0;oe-fe<=0&&(we=-J*(oe-fe),we>he?(ee=!0,re=me,te=we):we>le&&(re=me,te=he)),we<=he&&(te=he)}else K=ie,te=he;var Be=new Array(R.length);for(w=0;w<R.length;w++)Be[w]=R[w].pos;T._extremes[x]=l.findExtremes(d,Be,{padded:ee,vpadminus:te,vpadplus:K,vpadLinearized:!0,ppadminus:{x:re,y:ce}[y],ppadplus:{x:ce,y:re}[y]})}}}u.exports={crossTraceCalc:g,setPositionOffset:p}},90624:function(u,h,a){var l=a(3400),v=a(24040),i=a(76308),S=a(31147),g=a(20011),p=a(52976),_=a(63188);function c(b,x,y,C){function w(N,T){return l.coerce(b,x,_,N,T)}if(s(b,x,w,C),x.visible!==!1){S(b,x,C,w),w("xhoverformat"),w("yhoverformat");var R=x._hasPreCompStats;R&&(w("lowerfence"),w("upperfence")),w("line.color",(b.marker||{}).color||y),w("line.width"),w("fillcolor",i.addOpacity(x.line.color,.5));var A=!1;if(R){var E=w("mean"),k=w("sd");E&&E.length&&(A=!0,k&&k.length&&(A="sd"))}w("whiskerwidth");var L=w("sizemode"),I;L==="quartiles"&&(I=w("boxmean",A)),w("showwhiskers",L==="quartiles"),(L==="sd"||I==="sd")&&w("sdmultiple"),w("width"),w("quartilemethod");var P=!1;if(R){var M=w("notchspan");M&&M.length&&(P=!0)}else l.validate(b.notchwidth,_.notchwidth)&&(P=!0);var F=w("notched",P);F&&w("notchwidth"),d(b,x,w,{prefix:"box"})}}function s(b,x,y,C){function w(X){var Q=0;return X&&X.length&&(Q+=1,l.isArrayOrTypedArray(X[0])&&X[0].length&&(Q+=1)),Q}function R(X){return l.validate(b[X],_[X])}var A=y("y"),E=y("x"),k;if(x.type==="box"){var L=y("q1"),I=y("median"),P=y("q3");x._hasPreCompStats=L&&L.length&&I&&I.length&&P&&P.length,k=Math.min(l.minRowLength(L),l.minRowLength(I),l.minRowLength(P))}var M=w(A),F=w(E),N=M&&l.minRowLength(A),T=F&&l.minRowLength(E),D=C.calendar,O={autotypenumbers:C.autotypenumbers},U,B;if(x._hasPreCompStats)switch(String(F)+String(M)){case"00":var Y=R("x0")||R("dx"),z=R("y0")||R("dy");z&&!Y?U="h":U="v",B=k;break;case"10":U="v",B=Math.min(k,T);break;case"20":U="h",B=Math.min(k,E.length);break;case"01":U="h",B=Math.min(k,N);break;case"02":U="v",B=Math.min(k,A.length);break;case"12":U="v",B=Math.min(k,T,A.length);break;case"21":U="h",B=Math.min(k,E.length,N);break;case"11":B=0;break;case"22":var V=!1,j;for(j=0;j<E.length;j++)if(p(E[j],D,O)==="category"){V=!0;break}if(V)U="v",B=Math.min(k,T,A.length);else{for(j=0;j<A.length;j++)if(p(A[j],D,O)==="category"){V=!0;break}V?(U="h",B=Math.min(k,E.length,N)):(U="v",B=Math.min(k,T,A.length))}break}else M>0?(U="v",F>0?B=Math.min(T,N):B=Math.min(N)):F>0?(U="h",B=Math.min(T)):B=0;if(!B){x.visible=!1;return}x._length=B;var G=y("orientation",U);x._hasPreCompStats?G==="v"&&F===0?(y("x0",0),y("dx",1)):G==="h"&&M===0&&(y("y0",0),y("dy",1)):G==="v"&&F===0?y("x0"):G==="h"&&M===0&&y("y0");var W=v.getComponentMethod("calendars","handleTraceDefaults");W(b,x,["x","y"],C)}function d(b,x,y,C){var w=C.prefix,R=l.coerce2(b,x,_,"marker.outliercolor"),A=y("marker.line.outliercolor"),E="outliers";x._hasPreCompStats?E="all":(R||A)&&(E="suspectedoutliers");var k=y(w+"points",E);k?(y("jitter",k==="all"?.3:0),y("pointpos",k==="all"?-1.5:0),y("marker.symbol"),y("marker.opacity"),y("marker.size"),y("marker.angle"),y("marker.color",x.line.color),y("marker.line.color"),y("marker.line.width"),k==="suspectedoutliers"&&(y("marker.line.outliercolor",x.marker.color),y("marker.line.outlierwidth")),y("selected.marker.color"),y("unselected.marker.color"),y("selected.marker.size"),y("unselected.marker.size"),y("text"),y("hovertext")):delete x.marker;var L=y("hoveron");(L==="all"||L.indexOf("points")!==-1)&&y("hovertemplate"),l.coerceSelectionMarkerOpacity(x,y)}function f(b,x){var y,C;function w(E){return l.coerce(C._input,C,_,E)}for(var R=0;R<b.length;R++){C=b[R];var A=C.type;(A==="box"||A==="violin")&&(y=C._input,x[A+"mode"]==="group"&&g(y,C,x,w))}}u.exports={supplyDefaults:c,crossTraceDefaults:f,handleSampleDefaults:s,handlePointsDefaults:d}},10392:function(u){u.exports=function(a,l){return l.hoverOnBox&&(a.hoverOnBox=l.hoverOnBox),"xVal"in l&&(a.x=l.xVal),"yVal"in l&&(a.y=l.yVal),l.xa&&(a.xaxis=l.xa),l.ya&&(a.yaxis=l.ya),a}},27576:function(u,h,a){var l=a(54460),v=a(3400),i=a(93024),S=a(76308),g=v.fillText;function p(s,d,f,b){var x=s.cd,y=x[0].trace,C=y.hoveron,w=[],R;return C.indexOf("boxes")!==-1&&(w=w.concat(_(s,d,f,b))),C.indexOf("points")!==-1&&(R=c(s,d,f)),b==="closest"?R?[R]:w:(R&&w.push(R),w)}function _(s,d,f,b){var x=s.cd,y=s.xa,C=s.ya,w=x[0].trace,R=x[0].t,A=w.type==="violin",E,k,L,I,P,M,F,N,T,D,O,U=R.bdPos,B,Y,z=R.wHover,V=function(we){return L.c2l(we.pos)+R.bPos-L.c2l(M)};A&&w.side!=="both"?(w.side==="positive"&&(T=function(we){var Be=V(we);return i.inbox(Be,Be+z,D)},B=U,Y=0),w.side==="negative"&&(T=function(we){var Be=V(we);return i.inbox(Be-z,Be,D)},B=0,Y=U)):(T=function(we){var Be=V(we);return i.inbox(Be-z,Be+z,D)},B=Y=U);var j;A?j=function(we){return i.inbox(we.span[0]-P,we.span[1]-P,D)}:j=function(we){return i.inbox(we.min-P,we.max-P,D)},w.orientation==="h"?(P=d,M=f,F=j,N=T,E="y",L=C,k="x",I=y):(P=f,M=d,F=T,N=j,E="x",L=y,k="y",I=C);var G=Math.min(1,U/Math.abs(L.r2c(L.range[1])-L.r2c(L.range[0])));D=s.maxHoverDistance-G,O=s.maxSpikeDistance-G;function W(we){return(F(we)+N(we))/2}var X=i.getDistanceFunction(b,F,N,W);if(i.getClosest(x,X,s),s.index===!1)return[];var Q=x[s.index],ae=w.line.color,ie=(w.marker||{}).color;S.opacity(ae)&&w.line.width?s.color=ae:S.opacity(ie)&&w.boxpoints?s.color=ie:s.color=w.fillcolor,s[E+"0"]=L.c2p(Q.pos+R.bPos-Y,!0),s[E+"1"]=L.c2p(Q.pos+R.bPos+B,!0),s[E+"LabelVal"]=Q.orig_p!==void 0?Q.orig_p:Q.pos;var he=E+"Spike";s.spikeDistance=W(Q)*O/D,s[he]=L.c2p(Q.pos,!0);var J=w.boxmean||w.sizemode==="sd"||(w.meanline||{}).visible,Z=w.boxpoints||w.points,le=Z&&J?["max","uf","q3","med","mean","q1","lf","min"]:Z&&!J?["max","uf","q3","med","q1","lf","min"]:!Z&&J?["max","q3","med","mean","q1","min"]:["max","q3","med","q1","min"],K=I.range[1]<I.range[0];w.orientation===(K?"v":"h")&&le.reverse();for(var te=s.spikeDistance,ce=s[he],re=[],ee=0;ee<le.length;ee++){var de=le[ee];if(de in Q){var oe=Q[de],fe=I.c2p(oe,!0),me=v.extendFlat({},s);me.attr=de,me[k+"0"]=me[k+"1"]=fe,me[k+"LabelVal"]=oe,me[k+"Label"]=(R.labels?R.labels[de]+" ":"")+l.hoverLabelText(I,oe,w[k+"hoverformat"]),me.hoverOnBox=!0,de==="mean"&&"sd"in Q&&(w.boxmean==="sd"||w.sizemode==="sd")&&(me[k+"err"]=Q.sd),me.hovertemplate=!1,re.push(me)}}s.name="",s.spikeDistance=void 0,s[he]=void 0;for(var Te=0;Te<re.length;Te++)re[Te].attr!=="med"?(re[Te].name="",re[Te].spikeDistance=void 0,re[Te][he]=void 0):(re[Te].spikeDistance=te,re[Te][he]=ce);return re}function c(s,d,f){for(var b=s.cd,x=s.xa,y=s.ya,C=b[0].trace,w=x.c2p(d),R=y.c2p(f),A,E=function(j){var G=Math.max(3,j.mrc||0);return Math.max(Math.abs(x.c2p(j.x)-w)-G,1-3/G)},k=function(j){var G=Math.max(3,j.mrc||0);return Math.max(Math.abs(y.c2p(j.y)-R)-G,1-3/G)},L=i.quadrature(E,k),I=!1,P,M,F=0;F<b.length;F++){P=b[F];for(var N=0;N<(P.pts||[]).length;N++){M=P.pts[N];var T=L(M);T<=s.distance&&(s.distance=T,I=[F,N])}}if(!I)return!1;P=b[I[0]],M=P.pts[I[1]];var D=x.c2p(M.x,!0),O=y.c2p(M.y,!0),U=M.mrc||1;A=v.extendFlat({},s,{index:M.i,color:(C.marker||{}).color,name:C.name,x0:D-U,x1:D+U,y0:O-U,y1:O+U,spikeDistance:s.distance,hovertemplate:C.hovertemplate});var B=P.orig_p,Y=B!==void 0?B:P.pos,z;C.orientation==="h"?(z=y,A.xLabelVal=M.x,A.yLabelVal=Y):(z=x,A.xLabelVal=Y,A.yLabelVal=M.y);var V=z._id.charAt(0);return A[V+"Spike"]=z.c2p(P.pos,!0),g(M,C,A),A}u.exports={hoverPoints:p,hoverOnBoxes:_,hoverOnPoints:c}},67244:function(u,h,a){u.exports={attributes:a(63188),layoutAttributes:a(16560),supplyDefaults:a(90624).supplyDefaults,crossTraceDefaults:a(90624).crossTraceDefaults,supplyLayoutDefaults:a(68832).supplyLayoutDefaults,calc:a(62555),crossTraceCalc:a(96404).crossTraceCalc,plot:a(18728).plot,style:a(25776).style,styleOnSelect:a(25776).styleOnSelect,hoverPoints:a(27576).hoverPoints,eventData:a(10392),selectPoints:a(8264),moduleType:"trace",name:"box",basePlotModule:a(57952),categories:["cartesian","svg","symbols","oriented","box-violin","showLegend","boxLayout","zoomScale"],meta:{}}},16560:function(u){u.exports={boxmode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},boxgap:{valType:"number",min:0,max:1,dflt:.3,editType:"calc"},boxgroupgap:{valType:"number",min:0,max:1,dflt:.3,editType:"calc"}}},68832:function(u,h,a){var l=a(24040),v=a(3400),i=a(16560);function S(p,_,c,s,d){for(var f=d+"Layout",b=!1,x=0;x<c.length;x++){var y=c[x];if(l.traceIs(y,f)){b=!0;break}}b&&(s(d+"mode"),s(d+"gap"),s(d+"groupgap"))}function g(p,_,c){function s(d,f){return v.coerce(p,_,i,d,f)}S(p,_,c,s,"box")}u.exports={supplyLayoutDefaults:g,_supply:S}},18728:function(u,h,a){var l=a(33428),v=a(3400),i=a(43616),S=5,g=.01;function p(d,f,b,x){var y=d._context.staticPlot,C=f.xaxis,w=f.yaxis;v.makeTraceGroups(x,b,"trace boxes").each(function(R){var A=l.select(this),E=R[0],k=E.t,L=E.trace;if(k.wdPos=k.bdPos*L.whiskerwidth,L.visible!==!0||k.empty){A.remove();return}var I,P;L.orientation==="h"?(I=w,P=C):(I=C,P=w),_(A,{pos:I,val:P},L,k,y),c(A,{x:C,y:w},L,k),s(A,{pos:I,val:P},L,k)})}function _(d,f,b,x,y){var C=b.orientation==="h",w=f.val,R=f.pos,A=!!R.rangebreaks,E=x.bPos,k=x.wdPos||0,L=x.bPosPxOffset||0,I=b.whiskerwidth||0,P=b.showwhiskers!==!1,M=b.notched||!1,F=M?1-2*b.notchwidth:1,N,T;Array.isArray(x.bdPos)?(N=x.bdPos[0],T=x.bdPos[1]):(N=x.bdPos,T=x.bdPos);var D=d.selectAll("path.box").data(b.type!=="violin"||b.box.visible?v.identity:[]);D.enter().append("path").style("vector-effect",y?"none":"non-scaling-stroke").attr("class","box"),D.exit().remove(),D.each(function(O){if(O.empty)return l.select(this).attr("d","M0,0Z");var U=R.c2l(O.pos+E,!0),B=R.l2p(U-N)+L,Y=R.l2p(U+T)+L,z=A?(B+Y)/2:R.l2p(U)+L,V=b.whiskerwidth,j=A?B*V+(1-V)*z:R.l2p(U-k)+L,G=A?Y*V+(1-V)*z:R.l2p(U+k)+L,W=R.l2p(U-N*F)+L,X=R.l2p(U+T*F)+L,Q=b.sizemode==="sd",ae=w.c2p(Q?O.mean-O.sd:O.q1,!0),ie=Q?w.c2p(O.mean+O.sd,!0):w.c2p(O.q3,!0),he=v.constrain(Q?w.c2p(O.mean,!0):w.c2p(O.med,!0),Math.min(ae,ie)+1,Math.max(ae,ie)-1),J=O.lf===void 0||b.boxpoints===!1||Q,Z=w.c2p(J?O.min:O.lf,!0),le=w.c2p(J?O.max:O.uf,!0),K=w.c2p(O.ln,!0),te=w.c2p(O.un,!0);C?l.select(this).attr("d","M"+he+","+W+"V"+X+"M"+ae+","+B+"V"+Y+(M?"H"+K+"L"+he+","+X+"L"+te+","+Y:"")+"H"+ie+"V"+B+(M?"H"+te+"L"+he+","+W+"L"+K+","+B:"")+"Z"+(P?"M"+ae+","+z+"H"+Z+"M"+ie+","+z+"H"+le+(I===0?"":"M"+Z+","+j+"V"+G+"M"+le+","+j+"V"+G):"")):l.select(this).attr("d","M"+W+","+he+"H"+X+"M"+B+","+ae+"H"+Y+(M?"V"+K+"L"+X+","+he+"L"+Y+","+te:"")+"V"+ie+"H"+B+(M?"V"+te+"L"+W+","+he+"L"+B+","+K:"")+"Z"+(P?"M"+z+","+ae+"V"+Z+"M"+z+","+ie+"V"+le+(I===0?"":"M"+j+","+Z+"H"+G+"M"+j+","+le+"H"+G):""))})}function c(d,f,b,x){var y=f.x,C=f.y,w=x.bdPos,R=x.bPos,A=b.boxpoints||b.points;v.seedPseudoRandom();var E=function(I){return I.forEach(function(P){P.t=x,P.trace=b}),I},k=d.selectAll("g.points").data(A?E:[]);k.enter().append("g").attr("class","points"),k.exit().remove();var L=k.selectAll("path").data(function(I){var P,M=I.pts2,F=Math.max((I.max-I.min)/10,I.q3-I.q1),N=F*1e-9,T=F*g,D=[],O=0,U;if(b.jitter){if(F===0)for(O=1,D=new Array(M.length),P=0;P<M.length;P++)D[P]=1;else for(P=0;P<M.length;P++){var B=Math.max(0,P-S),Y=M[B].v,z=Math.min(M.length-1,P+S),V=M[z].v;A!=="all"&&(M[P].v<I.lf?V=Math.min(V,I.lf):Y=Math.max(Y,I.uf));var j=Math.sqrt(T*(z-B)/(V-Y+N))||0;j=v.constrain(Math.abs(j),0,1),D.push(j),O=Math.max(j,O)}U=b.jitter*2/(O||1)}for(P=0;P<M.length;P++){var G=M[P],W=G.v,X=b.jitter?U*D[P]*(v.pseudoRandom()-.5):0,Q=I.pos+R+w*(b.pointpos+X);b.orientation==="h"?(G.y=Q,G.x=W):(G.x=Q,G.y=W),A==="suspectedoutliers"&&W<I.uo&&W>I.lo&&(G.so=!0)}return M});L.enter().append("path").classed("point",!0),L.exit().remove(),L.call(i.translatePoints,y,C)}function s(d,f,b,x){var y=f.val,C=f.pos,w=!!C.rangebreaks,R=x.bPos,A=x.bPosPxOffset||0,E=b.boxmean||(b.meanline||{}).visible,k,L;Array.isArray(x.bdPos)?(k=x.bdPos[0],L=x.bdPos[1]):(k=x.bdPos,L=x.bdPos);var I=d.selectAll("path.mean").data(b.type==="box"&&b.boxmean||b.type==="violin"&&b.box.visible&&b.meanline.visible?v.identity:[]);I.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),I.exit().remove(),I.each(function(P){var M=C.c2l(P.pos+R,!0),F=C.l2p(M-k)+A,N=C.l2p(M+L)+A,T=w?(F+N)/2:C.l2p(M)+A,D=y.c2p(P.mean,!0),O=y.c2p(P.mean-P.sd,!0),U=y.c2p(P.mean+P.sd,!0);b.orientation==="h"?l.select(this).attr("d","M"+D+","+F+"V"+N+(E==="sd"?"m0,0L"+O+","+T+"L"+D+","+F+"L"+U+","+T+"Z":"")):l.select(this).attr("d","M"+F+","+D+"H"+N+(E==="sd"?"m0,0L"+T+","+O+"L"+F+","+D+"L"+T+","+U+"Z":""))})}u.exports={plot:p,plotBoxAndWhiskers:_,plotPoints:c,plotBoxMean:s}},8264:function(u){u.exports=function(a,l){var v=a.cd,i=a.xaxis,S=a.yaxis,g=[],p,_;if(l===!1)for(p=0;p<v.length;p++)for(_=0;_<(v[p].pts||[]).length;_++)v[p].pts[_].selected=0;else for(p=0;p<v.length;p++)for(_=0;_<(v[p].pts||[]).length;_++){var c=v[p].pts[_],s=i.c2p(c.x),d=S.c2p(c.y);l.contains([s,d],null,c.i,a)?(g.push({pointNumber:c.i,x:i.c2d(c.x),y:S.c2d(c.y)}),c.selected=1):c.selected=0}return g}},25776:function(u,h,a){var l=a(33428),v=a(76308),i=a(43616);function S(p,_,c){var s=c||l.select(p).selectAll("g.trace.boxes");s.style("opacity",function(d){return d[0].trace.opacity}),s.each(function(d){var f=l.select(this),b=d[0].trace,x=b.line.width;function y(R,A,E,k){R.style("stroke-width",A+"px").call(v.stroke,E).call(v.fill,k)}var C=f.selectAll("path.box");if(b.type==="candlestick")C.each(function(R){if(!R.empty){var A=l.select(this),E=b[R.dir];y(A,E.line.width,E.line.color,E.fillcolor),A.style("opacity",b.selectedpoints&&!R.selected?.3:1)}});else{y(C,x,b.line.color,b.fillcolor),f.selectAll("path.mean").style({"stroke-width":x,"stroke-dasharray":2*x+"px,"+x+"px"}).call(v.stroke,b.line.color);var w=f.selectAll("path.point");i.pointStyle(w,b,p)}})}function g(p,_,c){var s=_[0].trace,d=c.selectAll("path.point");s.selectedpoints?i.selectedPointStyle(d,s):i.pointStyle(d,s,p)}u.exports={style:S,styleOnSelect:g}},64216:function(u,h,a){var l=a(3400).extendFlat,v=a(29736).axisHoverFormat,i=a(20279),S=a(63188);function g(p){return{line:{color:l({},S.line.color,{dflt:p}),width:S.line.width,editType:"style"},fillcolor:S.fillcolor,editType:"style"}}u.exports={xperiod:i.xperiod,xperiod0:i.xperiod0,xperiodalignment:i.xperiodalignment,xhoverformat:v("x"),yhoverformat:v("y"),x:i.x,open:i.open,high:i.high,low:i.low,close:i.close,line:{width:l({},S.line.width,{}),editType:"style"},increasing:g(i.increasing.line.color.dflt),decreasing:g(i.decreasing.line.color.dflt),text:i.text,hovertext:i.hovertext,whiskerwidth:l({},S.whiskerwidth,{dflt:0}),hoverlabel:i.hoverlabel}},46283:function(u,h,a){var l=a(3400),v=a(54460),i=a(1220),S=a(42812).calcCommon;u.exports=function(p,_){var c=p._fullLayout,s=v.getFromId(p,_.xaxis),d=v.getFromId(p,_.yaxis),f=s.makeCalcdata(_,"x"),b=i(_,s,"x",f).vals,x=S(p,_,f,b,d,g);return x.length?(l.extendFlat(x[0].t,{num:c._numBoxes,dPos:l.distinctVals(b).minDiff/2,posLetter:"x",valLetter:"y"}),c._numBoxes++,x):[{t:{empty:!0}}]};function g(p,_,c,s){return{min:c,q1:Math.min(p,s),med:s,q3:Math.max(p,s),max:_}}},64588:function(u,h,a){var l=a(3400),v=a(76308),i=a(52744),S=a(31147),g=a(64216);u.exports=function(c,s,d,f){function b(y,C){return l.coerce(c,s,g,y,C)}var x=i(c,s,b,f);if(!x){s.visible=!1;return}S(c,s,f,b,{x:!0}),b("xhoverformat"),b("yhoverformat"),b("line.width"),p(c,s,b,"increasing"),p(c,s,b,"decreasing"),b("text"),b("hovertext"),b("whiskerwidth"),f._requestRangeslider[s.xaxis]=!0};function p(_,c,s,d){var f=s(d+".line.color");s(d+".line.width",c.line.width),s(d+".fillcolor",v.addOpacity(f,.5))}},61712:function(u,h,a){u.exports={moduleType:"trace",name:"candlestick",basePlotModule:a(57952),categories:["cartesian","svg","showLegend","candlestick","boxLayout"],meta:{},attributes:a(64216),layoutAttributes:a(16560),supplyLayoutDefaults:a(68832).supplyLayoutDefaults,crossTraceCalc:a(96404).crossTraceCalc,supplyDefaults:a(64588),calc:a(46283),plot:a(18728).plot,layerName:"boxlayer",style:a(25776).style,hoverPoints:a(18720).hoverPoints,selectPoints:a(97384)}},93504:function(u,h,a){var l=a(63856),v=a(31780);u.exports=function(g,p,_,c,s){var d=c("a");d||(c("da"),c("a0"));var f=c("b");f||(c("db"),c("b0")),i(g,p,_,s)};function i(S,g,p,_){var c=["aaxis","baxis"];c.forEach(function(s){var d=s.charAt(0),f=S[s]||{},b=v.newContainer(g,s),x={noAutotickangles:!0,noTicklabelstep:!0,tickfont:"x",id:d+"axis",letter:d,font:g.font,name:s,data:S[d],calendar:g.calendar,dfltColor:_,bgColor:p.paper_bgcolor,autotypenumbersDflt:p.autotypenumbers,fullLayout:p};l(f,b,x),b._categories=b._categories||[],!S[s]&&f.type!=="-"&&(S[s]={type:f.type})})}},51676:function(u,h,a){var l=a(3400).isArrayOrTypedArray;u.exports=function(i){return v(i,0)};function v(i,S){if(!l(i)||S>=10)return null;for(var g=1/0,p=-1/0,_=i.length,c=0;c<_;c++){var s=i[c];if(l(s)){var d=v(s,S+1);d&&(g=Math.min(d[0],g),p=Math.max(d[1],p))}else g=Math.min(s,g),p=Math.max(s,p)}return[g,p]}},85720:function(u,h,a){var l=a(25376),v=a(98692),i=a(22548),S=l({editType:"calc"});S.family.dflt='"Open Sans", verdana, arial, sans-serif',S.size.dflt=12,S.color.dflt=i.defaultLine,u.exports={carpet:{valType:"string",editType:"calc"},x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},a:{valType:"data_array",editType:"calc"},a0:{valType:"number",dflt:0,editType:"calc"},da:{valType:"number",dflt:1,editType:"calc"},b:{valType:"data_array",editType:"calc"},b0:{valType:"number",dflt:0,editType:"calc"},db:{valType:"number",dflt:1,editType:"calc"},cheaterslope:{valType:"number",dflt:1,editType:"calc"},aaxis:v,baxis:v,font:S,color:{valType:"color",dflt:i.defaultLine,editType:"plot"},transforms:void 0}},77712:function(u,h,a){var l=a(3400).isArrayOrTypedArray;u.exports=function(v,i,S,g){var p,_,c,s,d,f,b,x,y,C,w,R,A,E=l(S)?"a":"b",k=E==="a"?v.aaxis:v.baxis,L=k.smoothing,I=E==="a"?v.a2i:v.b2j,P=E==="a"?S:g,M=E==="a"?g:S,F=E==="a"?i.a.length:i.b.length,N=E==="a"?i.b.length:i.a.length,T=Math.floor(E==="a"?v.b2j(M):v.a2i(M)),D=E==="a"?function(ae){return v.evalxy([],ae,T)}:function(ae){return v.evalxy([],T,ae)};L&&(c=Math.max(0,Math.min(N-2,T)),s=T-c,_=E==="a"?function(ae,ie){return v.dxydi([],ae,c,ie,s)}:function(ae,ie){return v.dxydj([],c,ae,s,ie)});var O=I(P[0]),U=I(P[1]),B=O<U?1:-1,Y=(U-O)*1e-8,z=B>0?Math.floor:Math.ceil,V=B>0?Math.ceil:Math.floor,j=B>0?Math.min:Math.max,G=B>0?Math.max:Math.min,W=z(O+Y),X=V(U-Y);b=D(O);var Q=[[b]];for(p=W;p*B<X*B;p+=B)d=[],w=G(O,p),R=j(U,p+B),A=R-w,f=Math.max(0,Math.min(F-2,Math.floor(.5*(w+R)))),x=D(R),L&&(y=_(f,w-f),C=_(f,R-f),d.push([b[0]+y[0]/3*A,b[1]+y[1]/3*A]),d.push([x[0]-C[0]/3*A,x[1]-C[1]/3*A])),d.push(x),Q.push(d),b=x;return Q}},98692:function(u,h,a){var l=a(25376),v=a(22548),i=a(94724),S=a(29736).descriptionWithDates,g=a(67824).overrideAll,p=a(98192).u,_=a(92880).extendFlat;u.exports={color:{valType:"color",editType:"calc"},smoothing:{valType:"number",dflt:1,min:0,max:1.3,editType:"calc"},title:{text:{valType:"string",dflt:"",editType:"calc"},font:l({editType:"calc"}),offset:{valType:"number",dflt:10,editType:"calc"},editType:"calc"},type:{valType:"enumerated",values:["-","linear","date","category"],dflt:"-",editType:"calc"},autotypenumbers:i.autotypenumbers,autorange:{valType:"enumerated",values:[!0,!1,"reversed"],dflt:!0,editType:"calc"},rangemode:{valType:"enumerated",values:["normal","tozero","nonnegative"],dflt:"normal",editType:"calc"},range:{valType:"info_array",editType:"calc",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}]},fixedrange:{valType:"boolean",dflt:!1,editType:"calc"},cheatertype:{valType:"enumerated",values:["index","value"],dflt:"value",editType:"calc"},tickmode:{valType:"enumerated",values:["linear","array"],dflt:"array",editType:"calc"},nticks:{valType:"integer",min:0,dflt:0,editType:"calc"},tickvals:{valType:"data_array",editType:"calc"},ticktext:{valType:"data_array",editType:"calc"},showticklabels:{valType:"enumerated",values:["start","end","both","none"],dflt:"start",editType:"calc"},labelalias:_({},i.labelalias,{editType:"calc"}),tickfont:l({editType:"calc"}),tickangle:{valType:"angle",dflt:"auto",editType:"calc"},tickprefix:{valType:"string",dflt:"",editType:"calc"},showtickprefix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"calc"},ticksuffix:{valType:"string",dflt:"",editType:"calc"},showticksuffix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"calc"},showexponent:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"calc"},exponentformat:{valType:"enumerated",values:["none","e","E","power","SI","B"],dflt:"B",editType:"calc"},minexponent:{valType:"number",dflt:3,min:0,editType:"calc"},separatethousands:{valType:"boolean",dflt:!1,editType:"calc"},tickformat:{valType:"string",dflt:"",editType:"calc",description:S("tick label")},tickformatstops:g(i.tickformatstops,"calc","from-root"),categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array"],dflt:"trace",editType:"calc"},categoryarray:{valType:"data_array",editType:"calc"},labelpadding:{valType:"integer",dflt:10,editType:"calc"},labelprefix:{valType:"string",editType:"calc"},labelsuffix:{valType:"string",dflt:"",editType:"calc"},showline:{valType:"boolean",dflt:!1,editType:"calc"},linecolor:{valType:"color",dflt:v.defaultLine,editType:"calc"},linewidth:{valType:"number",min:0,dflt:1,editType:"calc"},gridcolor:{valType:"color",editType:"calc"},gridwidth:{valType:"number",min:0,dflt:1,editType:"calc"},griddash:_({},p,{editType:"calc"}),showgrid:{valType:"boolean",dflt:!0,editType:"calc"},minorgridcount:{valType:"integer",min:0,dflt:0,editType:"calc"},minorgridwidth:{valType:"number",min:0,dflt:1,editType:"calc"},minorgriddash:_({},p,{editType:"calc"}),minorgridcolor:{valType:"color",dflt:v.lightLine,editType:"calc"},startline:{valType:"boolean",editType:"calc"},startlinecolor:{valType:"color",editType:"calc"},startlinewidth:{valType:"number",dflt:1,editType:"calc"},endline:{valType:"boolean",editType:"calc"},endlinewidth:{valType:"number",dflt:1,editType:"calc"},endlinecolor:{valType:"color",editType:"calc"},tick0:{valType:"number",min:0,dflt:0,editType:"calc"},dtick:{valType:"number",min:0,dflt:1,editType:"calc"},arraytick0:{valType:"integer",min:0,dflt:0,editType:"calc"},arraydtick:{valType:"integer",min:1,dflt:1,editType:"calc"},_deprecated:{title:{valType:"string",editType:"calc"},titlefont:l({editType:"calc"}),titleoffset:{valType:"number",dflt:10,editType:"calc"}},editType:"calc"}},63856:function(u,h,a){var l=a(85720),v=a(76308).addOpacity,i=a(24040),S=a(3400),g=a(26332),p=a(95936),_=a(42568),c=a(22416),s=a(78344),d=a(52976);u.exports=function(x,y,C){var w=C.letter,R=C.font||{},A=l[w+"axis"];function E(W,X){return S.coerce(x,y,A,W,X)}function k(W,X){return S.coerce2(x,y,A,W,X)}C.name&&(y._name=C.name,y._id=C.name),E("autotypenumbers",C.autotypenumbersDflt);var L=E("type");if(L==="-"&&(C.data&&f(y,C.data),y.type==="-"?y.type="linear":L=x.type=y.type),E("smoothing"),E("cheatertype"),E("showticklabels"),E("labelprefix",w+" = "),E("labelsuffix"),E("showtickprefix"),E("showticksuffix"),E("separatethousands"),E("tickformat"),E("exponentformat"),E("minexponent"),E("showexponent"),E("categoryorder"),E("tickmode"),E("tickvals"),E("ticktext"),E("tick0"),E("dtick"),y.tickmode==="array"&&(E("arraytick0"),E("arraydtick")),E("labelpadding"),y._hovertitle=w,L==="date"){var I=i.getComponentMethod("calendars","handleDefaults");I(x,y,"calendar",C.calendar)}s(y,C.fullLayout),y.c2p=S.identity;var P=E("color",C.dfltColor),M=P===x.color?P:R.color,F=E("title.text");F&&(S.coerceFont(E,"title.font",{family:R.family,size:S.bigFont(R.size),color:M}),E("title.offset")),E("tickangle");var N=E("autorange",!y.isValidRange(x.range));N&&E("rangemode"),E("range"),y.cleanRange(),E("fixedrange"),g(x,y,E,L),_(x,y,E,L,C),p(x,y,E,L,C),c(x,y,E,{data:C.data,dataAttr:w});var T=k("gridcolor",v(P,.3)),D=k("gridwidth"),O=k("griddash"),U=E("showgrid");U||(delete y.gridcolor,delete y.gridwidth,delete y.griddash);var B=k("startlinecolor",P),Y=k("startlinewidth",D),z=E("startline",y.showgrid||!!B||!!Y);z||(delete y.startlinecolor,delete y.startlinewidth);var V=k("endlinecolor",P),j=k("endlinewidth",D),G=E("endline",y.showgrid||!!V||!!j);return G||(delete y.endlinecolor,delete y.endlinewidth),U?(E("minorgridcount"),E("minorgridwidth",D),E("minorgriddash",O),E("minorgridcolor",v(T,.06)),y.minorgridcount||(delete y.minorgridwidth,delete y.minorgriddash,delete y.minorgridcolor)):(delete y.gridcolor,delete y.gridwidth,delete y.griddash),y.showticklabels==="none"&&(delete y.tickfont,delete y.tickangle,delete y.showexponent,delete y.exponentformat,delete y.minexponent,delete y.tickformat,delete y.showticksuffix,delete y.showtickprefix),y.showticksuffix||delete y.ticksuffix,y.showtickprefix||delete y.tickprefix,E("tickmode"),y};function f(b,x){if(b.type==="-"){var y=b._id,C=y.charAt(0),w=C+"calendar",R=b[w];b.type=d(x,R,{autotypenumbers:b.autotypenumbers})}}},58744:function(u,h,a){var l=a(54460),v=a(3400).isArray1D,i=a(60776),S=a(51676),g=a(19216),p=a(14724),_=a(24944),c=a(26136),s=a(51512),d=a(2872),f=a(81e3);u.exports=function(x,y){var C=l.getFromId(x,y.xaxis),w=l.getFromId(x,y.yaxis),R=y.aaxis,A=y.baxis,E=y.x,k=y.y,L=[];E&&v(E)&&L.push("x"),k&&v(k)&&L.push("y"),L.length&&d(y,R,A,"a","b",L);var I=y._a=y._a||y.a,P=y._b=y._b||y.b;E=y._x||y.x,k=y._y||y.y;var M={};if(y._cheater){var F=R.cheatertype==="index"?I.length:I,N=A.cheatertype==="index"?P.length:P;E=i(F,N,y.cheaterslope)}y._x=E=c(E),y._y=k=c(k),s(E,I,P),s(k,I,P),f(y),y.setScale();var T=S(E),D=S(k),O=.5*(T[1]-T[0]),U=.5*(T[1]+T[0]),B=.5*(D[1]-D[0]),Y=.5*(D[1]+D[0]),z=1.3;return T=[U-O*z,U+O*z],D=[Y-B*z,Y+B*z],y._extremes[C._id]=l.findExtremes(C,T,{padded:!0}),y._extremes[w._id]=l.findExtremes(w,D,{padded:!0}),g(y,"a","b"),g(y,"b","a"),p(y,R),p(y,A),M.clipsegments=_(y._xctrl,y._yctrl,R,A),M.x=E,M.y=k,M.a=I,M.b=P,[M]}},24944:function(u){u.exports=function(a,l,v,i){var S,g,p,_=[],c=!!v.smoothing,s=!!i.smoothing,d=a[0].length-1,f=a.length-1;for(S=0,g=[],p=[];S<=d;S++)g[S]=a[0][S],p[S]=l[0][S];for(_.push({x:g,y:p,bicubic:c}),S=0,g=[],p=[];S<=f;S++)g[S]=a[S][d],p[S]=l[S][d];for(_.push({x:g,y:p,bicubic:s}),S=d,g=[],p=[];S>=0;S--)g[d-S]=a[f][S],p[d-S]=l[f][S];for(_.push({x:g,y:p,bicubic:c}),S=f,g=[],p=[];S>=0;S--)g[f-S]=a[S][0],p[f-S]=l[S][0];return _.push({x:g,y:p,bicubic:s}),_}},19216:function(u,h,a){var l=a(54460),v=a(92880).extendFlat;u.exports=function(S,g,p){var _,c,s,d,f,b,x,y,C,w,R,A,E,k,L=S["_"+g],I=S[g+"axis"],P=I._gridlines=[],M=I._minorgridlines=[],F=I._boundarylines=[],N=S["_"+p],T=S[p+"axis"];I.tickmode==="array"&&(I.tickvals=L.slice());var D=S._xctrl,O=S._yctrl,U=D[0].length,B=D.length,Y=S._a.length,z=S._b.length;l.prepTicks(I),I.tickmode==="array"&&delete I.tickvals;var V=I.smoothing?3:1;function j(W){var X,Q,ae,ie,he,J,Z,le,K,te,ce,re,ee=[],de=[],oe={};if(g==="b")for(Q=S.b2j(W),ae=Math.floor(Math.max(0,Math.min(z-2,Q))),ie=Q-ae,oe.length=z,oe.crossLength=Y,oe.xy=function(fe){return S.evalxy([],fe,Q)},oe.dxy=function(fe,me){return S.dxydi([],fe,ae,me,ie)},X=0;X<Y;X++)J=Math.min(Y-2,X),Z=X-J,le=S.evalxy([],X,Q),T.smoothing&&X>0&&(K=S.dxydi([],X-1,ae,0,ie),ee.push(he[0]+K[0]/3),de.push(he[1]+K[1]/3),te=S.dxydi([],X-1,ae,1,ie),ee.push(le[0]-te[0]/3),de.push(le[1]-te[1]/3)),ee.push(le[0]),de.push(le[1]),he=le;else for(X=S.a2i(W),J=Math.floor(Math.max(0,Math.min(Y-2,X))),Z=X-J,oe.length=Y,oe.crossLength=z,oe.xy=function(fe){return S.evalxy([],X,fe)},oe.dxy=function(fe,me){return S.dxydj([],J,fe,Z,me)},Q=0;Q<z;Q++)ae=Math.min(z-2,Q),ie=Q-ae,le=S.evalxy([],X,Q),T.smoothing&&Q>0&&(ce=S.dxydj([],J,Q-1,Z,0),ee.push(he[0]+ce[0]/3),de.push(he[1]+ce[1]/3),re=S.dxydj([],J,Q-1,Z,1),ee.push(le[0]-re[0]/3),de.push(le[1]-re[1]/3)),ee.push(le[0]),de.push(le[1]),he=le;return oe.axisLetter=g,oe.axis=I,oe.crossAxis=T,oe.value=W,oe.constvar=p,oe.index=y,oe.x=ee,oe.y=de,oe.smoothing=T.smoothing,oe}function G(W){var X,Q,ae,ie,he,J=[],Z=[],le={};if(le.length=L.length,le.crossLength=N.length,g==="b")for(ae=Math.max(0,Math.min(z-2,W)),he=Math.min(1,Math.max(0,W-ae)),le.xy=function(K){return S.evalxy([],K,W)},le.dxy=function(K,te){return S.dxydi([],K,ae,te,he)},X=0;X<U;X++)J[X]=D[W*V][X],Z[X]=O[W*V][X];else for(Q=Math.max(0,Math.min(Y-2,W)),ie=Math.min(1,Math.max(0,W-Q)),le.xy=function(K){return S.evalxy([],W,K)},le.dxy=function(K,te){return S.dxydj([],Q,K,ie,te)},X=0;X<B;X++)J[X]=D[X][W*V],Z[X]=O[X][W*V];return le.axisLetter=g,le.axis=I,le.crossAxis=T,le.value=L[W],le.constvar=p,le.index=W,le.x=J,le.y=Z,le.smoothing=T.smoothing,le}if(I.tickmode==="array"){for(d=5e-15,f=[Math.floor((L.length-1-I.arraytick0)/I.arraydtick*(1+d)),Math.ceil(-I.arraytick0/I.arraydtick/(1+d))].sort(function(W,X){return W-X}),b=f[0]-1,x=f[1]+1,y=b;y<x;y++)c=I.arraytick0+I.arraydtick*y,!(c<0||c>L.length-1)&&P.push(v(G(c),{color:I.gridcolor,width:I.gridwidth,dash:I.griddash}));for(y=b;y<x;y++)if(s=I.arraytick0+I.arraydtick*y,R=Math.min(s+I.arraydtick,L.length-1),!(s<0||s>L.length-1)&&!(R<0||R>L.length-1))for(A=L[s],E=L[R],_=0;_<I.minorgridcount;_++)k=R-s,!(k<=0)&&(w=A+(E-A)*(_+1)/(I.minorgridcount+1)*(I.arraydtick/k),!(w<L[0]||w>L[L.length-1])&&M.push(v(j(w),{color:I.minorgridcolor,width:I.minorgridwidth,dash:I.minorgriddash})));I.startline&&F.push(v(G(0),{color:I.startlinecolor,width:I.startlinewidth})),I.endline&&F.push(v(G(L.length-1),{color:I.endlinecolor,width:I.endlinewidth}))}else{for(d=5e-15,f=[Math.floor((L[L.length-1]-I.tick0)/I.dtick*(1+d)),Math.ceil((L[0]-I.tick0)/I.dtick/(1+d))].sort(function(W,X){return W-X}),b=f[0],x=f[1],y=b;y<=x;y++)C=I.tick0+I.dtick*y,P.push(v(j(C),{color:I.gridcolor,width:I.gridwidth,dash:I.griddash}));for(y=b-1;y<x+1;y++)for(C=I.tick0+I.dtick*y,_=0;_<I.minorgridcount;_++)w=C+I.dtick*(_+1)/(I.minorgridcount+1),!(w<L[0]||w>L[L.length-1])&&M.push(v(j(w),{color:I.minorgridcolor,width:I.minorgridwidth,dash:I.minorgriddash}));I.startline&&F.push(v(j(L[0]),{color:I.startlinecolor,width:I.startlinewidth})),I.endline&&F.push(v(j(L[L.length-1]),{color:I.endlinecolor,width:I.endlinewidth}))}}},14724:function(u,h,a){var l=a(54460),v=a(92880).extendFlat;u.exports=function(S,g){var p,_,c,s,d,f=g._labels=[],b=g._gridlines;for(p=0;p<b.length;p++)d=b[p],["start","both"].indexOf(g.showticklabels)!==-1&&(_=l.tickText(g,d.value),v(_,{prefix:c,suffix:s,endAnchor:!0,xy:d.xy(0),dxy:d.dxy(0,0),axis:d.axis,length:d.crossAxis.length,font:d.axis.tickfont,isFirst:p===0,isLast:p===b.length-1}),f.push(_)),["end","both"].indexOf(g.showticklabels)!==-1&&(_=l.tickText(g,d.value),v(_,{endAnchor:!1,xy:d.xy(d.crossLength-1),dxy:d.dxy(d.crossLength-2,1),axis:d.axis,length:d.crossAxis.length,font:d.axis.tickfont,isFirst:p===0,isLast:p===b.length-1}),f.push(_))}},62284:function(u){var h=.5;u.exports=function(l,v,i,S){var g=l[0]-v[0],p=l[1]-v[1],_=i[0]-v[0],c=i[1]-v[1],s=Math.pow(g*g+p*p,h/2),d=Math.pow(_*_+c*c,h/2),f=(d*d*g-s*s*_)*S,b=(d*d*p-s*s*c)*S,x=d*(s+d)*3,y=s*(s+d)*3;return[[v[0]+(x&&f/x),v[1]+(x&&b/x)],[v[0]-(y&&f/y),v[1]-(y&&b/y)]]}},60776:function(u,h,a){var l=a(3400).isArrayOrTypedArray;u.exports=function(v,i,S){var g,p,_,c,s,d,f=[],b=l(v)?v.length:v,x=l(i)?i.length:i,y=l(v)?v:null,C=l(i)?i:null;y&&(_=(y.length-1)/(y[y.length-1]-y[0])/(b-1)),C&&(c=(C.length-1)/(C[C.length-1]-C[0])/(x-1));var w,R=1/0,A=-1/0;for(p=0;p<x;p++)for(f[p]=[],d=C?(C[p]-C[0])*c:p/(x-1),g=0;g<b;g++)s=y?(y[g]-y[0])*_:g/(b-1),w=s-d*S,R=Math.min(w,R),A=Math.max(w,A),f[p][g]=w;var E=1/(A-R),k=-R*E;for(p=0;p<x;p++)for(g=0;g<b;g++)f[p][g]=E*f[p][g]+k;return f}},30180:function(u,h,a){var l=a(62284),v=a(3400).ensureArray;function i(S,g,p){var _=-.5*p[0]+1.5*g[0],c=-.5*p[1]+1.5*g[1];return[(2*_+S[0])/3,(2*c+S[1])/3]}u.exports=function(g,p,_,c,s,d){var f,b,x,y,C,w,R,A,E,k,L=_[0].length,I=_.length,P=s?3*L-2:L,M=d?3*I-2:I;for(g=v(g,M),p=v(p,M),x=0;x<M;x++)g[x]=v(g[x],P),p[x]=v(p[x],P);for(b=0,y=0;b<I;b++,y+=d?3:1)for(C=g[y],w=p[y],R=_[b],A=c[b],f=0,x=0;f<L;f++,x+=s?3:1)C[x]=R[f],w[x]=A[f];if(s)for(b=0,y=0;b<I;b++,y+=d?3:1){for(f=1,x=3;f<L-1;f++,x+=3)E=l([_[b][f-1],c[b][f-1]],[_[b][f],c[b][f]],[_[b][f+1],c[b][f+1]],s),g[y][x-1]=E[0][0],p[y][x-1]=E[0][1],g[y][x+1]=E[1][0],p[y][x+1]=E[1][1];k=i([g[y][0],p[y][0]],[g[y][2],p[y][2]],[g[y][3],p[y][3]]),g[y][1]=k[0],p[y][1]=k[1],k=i([g[y][P-1],p[y][P-1]],[g[y][P-3],p[y][P-3]],[g[y][P-4],p[y][P-4]]),g[y][P-2]=k[0],p[y][P-2]=k[1]}if(d)for(x=0;x<P;x++){for(y=3;y<M-3;y+=3)E=l([g[y-3][x],p[y-3][x]],[g[y][x],p[y][x]],[g[y+3][x],p[y+3][x]],d),g[y-1][x]=E[0][0],p[y-1][x]=E[0][1],g[y+1][x]=E[1][0],p[y+1][x]=E[1][1];k=i([g[0][x],p[0][x]],[g[2][x],p[2][x]],[g[3][x],p[3][x]]),g[1][x]=k[0],p[1][x]=k[1],k=i([g[M-1][x],p[M-1][x]],[g[M-3][x],p[M-3][x]],[g[M-4][x],p[M-4][x]]),g[M-2][x]=k[0],p[M-2][x]=k[1]}if(s&&d)for(y=1;y<M;y+=(y+1)%3===0?2:1){for(x=3;x<P-3;x+=3)E=l([g[y][x-3],p[y][x-3]],[g[y][x],p[y][x]],[g[y][x+3],p[y][x+3]],s),g[y][x-1]=.5*(g[y][x-1]+E[0][0]),p[y][x-1]=.5*(p[y][x-1]+E[0][1]),g[y][x+1]=.5*(g[y][x+1]+E[1][0]),p[y][x+1]=.5*(p[y][x+1]+E[1][1]);k=i([g[y][0],p[y][0]],[g[y][2],p[y][2]],[g[y][3],p[y][3]]),g[y][1]=.5*(g[y][1]+k[0]),p[y][1]=.5*(p[y][1]+k[1]),k=i([g[y][P-1],p[y][P-1]],[g[y][P-3],p[y][P-3]],[g[y][P-4],p[y][P-4]]),g[y][P-2]=.5*(g[y][P-2]+k[0]),p[y][P-2]=.5*(p[y][P-2]+k[1])}return[g,p]}},24588:function(u){u.exports={RELATIVE_CULL_TOLERANCE:1e-6}},26435:function(u){u.exports=function(h,a,l){return a&&l?function(v,i,S,g,p){v||(v=[]);var _,c,s,d,f,b;i*=3,S*=3;var x=g*g,y=1-g,C=y*y,w=y*g*2,R=-3*C,A=3*(C-w),E=3*(w-x),k=3*x,L=p*p,I=L*p,P=1-p,M=P*P,F=M*P;for(b=0;b<h.length;b++)f=h[b],_=R*f[S][i]+A*f[S][i+1]+E*f[S][i+2]+k*f[S][i+3],c=R*f[S+1][i]+A*f[S+1][i+1]+E*f[S+1][i+2]+k*f[S+1][i+3],s=R*f[S+2][i]+A*f[S+2][i+1]+E*f[S+2][i+2]+k*f[S+2][i+3],d=R*f[S+3][i]+A*f[S+3][i+1]+E*f[S+3][i+2]+k*f[S+3][i+3],v[b]=F*_+3*(M*p*c+P*L*s)+I*d;return v}:a?function(v,i,S,g,p){v||(v=[]);var _,c,s,d;i*=3;var f=g*g,b=1-g,x=b*b,y=b*g*2,C=-3*x,w=3*(x-y),R=3*(y-f),A=3*f,E=1-p;for(s=0;s<h.length;s++)d=h[s],_=C*d[S][i]+w*d[S][i+1]+R*d[S][i+2]+A*d[S][i+3],c=C*d[S+1][i]+w*d[S+1][i+1]+R*d[S+1][i+2]+A*d[S+1][i+3],v[s]=E*_+p*c;return v}:l?function(v,i,S,g,p){v||(v=[]);var _,c,s,d,f,b;S*=3;var x=p*p,y=x*p,C=1-p,w=C*C,R=w*C;for(f=0;f<h.length;f++)b=h[f],_=b[S][i+1]-b[S][i],c=b[S+1][i+1]-b[S+1][i],s=b[S+2][i+1]-b[S+2][i],d=b[S+3][i+1]-b[S+3][i],v[f]=R*_+3*(w*p*c+C*x*s)+y*d;return v}:function(v,i,S,g,p){v||(v=[]);var _,c,s,d,f=1-p;for(s=0;s<h.length;s++)d=h[s],_=d[S][i+1]-d[S][i],c=d[S+1][i+1]-d[S+1][i],v[s]=f*_+p*c;return v}}},24464:function(u){u.exports=function(h,a,l){return a&&l?function(v,i,S,g,p){v||(v=[]);var _,c,s,d,f,b;i*=3,S*=3;var x=g*g,y=x*g,C=1-g,w=C*C,R=w*C,A=p*p,E=1-p,k=E*E,L=E*p*2,I=-3*k,P=3*(k-L),M=3*(L-A),F=3*A;for(b=0;b<h.length;b++)f=h[b],_=I*f[S][i]+P*f[S+1][i]+M*f[S+2][i]+F*f[S+3][i],c=I*f[S][i+1]+P*f[S+1][i+1]+M*f[S+2][i+1]+F*f[S+3][i+1],s=I*f[S][i+2]+P*f[S+1][i+2]+M*f[S+2][i+2]+F*f[S+3][i+2],d=I*f[S][i+3]+P*f[S+1][i+3]+M*f[S+2][i+3]+F*f[S+3][i+3],v[b]=R*_+3*(w*g*c+C*x*s)+y*d;return v}:a?function(v,i,S,g,p){v||(v=[]);var _,c,s,d,f,b;i*=3;var x=p*p,y=x*p,C=1-p,w=C*C,R=w*C;for(f=0;f<h.length;f++)b=h[f],_=b[S+1][i]-b[S][i],c=b[S+1][i+1]-b[S][i+1],s=b[S+1][i+2]-b[S][i+2],d=b[S+1][i+3]-b[S][i+3],v[f]=R*_+3*(w*p*c+C*x*s)+y*d;return v}:l?function(v,i,S,g,p){v||(v=[]);var _,c,s,d;S*=3;var f=1-g,b=p*p,x=1-p,y=x*x,C=x*p*2,w=-3*y,R=3*(y-C),A=3*(C-b),E=3*b;for(s=0;s<h.length;s++)d=h[s],_=w*d[S][i]+R*d[S+1][i]+A*d[S+2][i]+E*d[S+3][i],c=w*d[S][i+1]+R*d[S+1][i+1]+A*d[S+2][i+1]+E*d[S+3][i+1],v[s]=f*_+g*c;return v}:function(v,i,S,g,p){v||(v=[]);var _,c,s,d,f=1-g;for(s=0;s<h.length;s++)d=h[s],_=d[S+1][i]-d[S][i],c=d[S+1][i+1]-d[S][i+1],v[s]=f*_+g*c;return v}}},29056:function(u){u.exports=function(h,a,l,v,i){var S=a-2,g=l-2;return v&&i?function(p,_,c){p||(p=[]);var s,d,f,b,x,y,C=Math.max(0,Math.min(Math.floor(_),S)),w=Math.max(0,Math.min(Math.floor(c),g)),R=Math.max(0,Math.min(1,_-C)),A=Math.max(0,Math.min(1,c-w));C*=3,w*=3;var E=R*R,k=E*R,L=1-R,I=L*L,P=I*L,M=A*A,F=M*A,N=1-A,T=N*N,D=T*N;for(y=0;y<h.length;y++)x=h[y],s=P*x[w][C]+3*(I*R*x[w][C+1]+L*E*x[w][C+2])+k*x[w][C+3],d=P*x[w+1][C]+3*(I*R*x[w+1][C+1]+L*E*x[w+1][C+2])+k*x[w+1][C+3],f=P*x[w+2][C]+3*(I*R*x[w+2][C+1]+L*E*x[w+2][C+2])+k*x[w+2][C+3],b=P*x[w+3][C]+3*(I*R*x[w+3][C+1]+L*E*x[w+3][C+2])+k*x[w+3][C+3],p[y]=D*s+3*(T*A*d+N*M*f)+F*b;return p}:v?function(p,_,c){p||(p=[]);var s=Math.max(0,Math.min(Math.floor(_),S)),d=Math.max(0,Math.min(Math.floor(c),g)),f=Math.max(0,Math.min(1,_-s)),b=Math.max(0,Math.min(1,c-d)),x,y,C,w,R,A;s*=3;var E=f*f,k=E*f,L=1-f,I=L*L,P=I*L,M=1-b;for(R=0;R<h.length;R++)A=h[R],x=M*A[d][s]+b*A[d+1][s],y=M*A[d][s+1]+b*A[d+1][s+1],C=M*A[d][s+2]+b*A[d+1][s+1],w=M*A[d][s+3]+b*A[d+1][s+1],p[R]=P*x+3*(I*f*y+L*E*C)+k*w;return p}:i?function(p,_,c){p||(p=[]);var s=Math.max(0,Math.min(Math.floor(_),S)),d=Math.max(0,Math.min(Math.floor(c),g)),f=Math.max(0,Math.min(1,_-s)),b=Math.max(0,Math.min(1,c-d)),x,y,C,w,R,A;d*=3;var E=b*b,k=E*b,L=1-b,I=L*L,P=I*L,M=1-f;for(R=0;R<h.length;R++)A=h[R],x=M*A[d][s]+f*A[d][s+1],y=M*A[d+1][s]+f*A[d+1][s+1],C=M*A[d+2][s]+f*A[d+2][s+1],w=M*A[d+3][s]+f*A[d+3][s+1],p[R]=P*x+3*(I*b*y+L*E*C)+k*w;return p}:function(p,_,c){p||(p=[]);var s=Math.max(0,Math.min(Math.floor(_),S)),d=Math.max(0,Math.min(Math.floor(c),g)),f=Math.max(0,Math.min(1,_-s)),b=Math.max(0,Math.min(1,c-d)),x,y,C,w,R=1-b,A=1-f;for(C=0;C<h.length;C++)w=h[C],x=A*w[d][s]+f*w[d][s+1],y=A*w[d+1][s]+f*w[d+1][s+1],p[C]=R*x+b*y;return p}}},38356:function(u,h,a){var l=a(3400),v=a(86411),i=a(93504),S=a(85720),g=a(22548);u.exports=function(_,c,s,d){function f(y,C){return l.coerce(_,c,S,y,C)}c._clipPathId="clip"+c.uid+"carpet";var b=f("color",g.defaultLine);if(l.coerceFont(f,"font"),f("carpet"),i(_,c,d,f,b),!c.a||!c.b){c.visible=!1;return}c.a.length<3&&(c.aaxis.smoothing=0),c.b.length<3&&(c.baxis.smoothing=0);var x=v(_,c,f);x||(c.visible=!1),c._cheater&&f("cheaterslope")}},95856:function(u,h,a){u.exports={attributes:a(85720),supplyDefaults:a(38356),plot:a(164),calc:a(58744),animatable:!0,isContainer:!0,moduleType:"trace",name:"carpet",basePlotModule:a(57952),categories:["cartesian","svg","carpet","carpetAxis","notLegendIsolatable","noMultiCategory","noHover","noSortingByValue"],meta:{}}},50948:function(u){u.exports=function(h,a){for(var l=h._fullData.length,v,i=0;i<l;i++){var S=h._fullData[i];if(S.index!==a.index&&S.type==="carpet"&&(v||(v=S),S.carpet===a.carpet))return S}return v}},53416:function(u){u.exports=function(a,l,v){if(a.length===0)return"";var i,S=[],g=v?3:1;for(i=0;i<a.length;i+=g)S.push(a[i]+","+l[i]),v&&i<a.length-g&&(S.push("C"),S.push([a[i+1]+","+l[i+1],a[i+2]+","+l[i+2]+" "].join(" ")));return S.join(v?"":"L")}},87072:function(u,h,a){var l=a(3400).isArrayOrTypedArray;u.exports=function(i,S,g){var p;for(l(i)?i.length>S.length&&(i=i.slice(0,S.length)):i=[],p=0;p<S.length;p++)i[p]=g(S[p]);return i}},15584:function(u){u.exports=function(a,l,v,i,S,g){var p=S[0]*a.dpdx(l),_=S[1]*a.dpdy(v),c=1,s=1;if(g){var d=Math.sqrt(S[0]*S[0]+S[1]*S[1]),f=Math.sqrt(g[0]*g[0]+g[1]*g[1]),b=(S[0]*g[0]+S[1]*g[1])/d/f;s=Math.max(0,b)}var x=Math.atan2(_,p)*180/Math.PI;return x<-90?(x+=180,c=-c):x>90&&(x-=180,c=-c),{angle:x,flip:c,p:a.c2p(i,l,v),offsetMultplier:s}}},164:function(u,h,a){var l=a(33428),v=a(43616),i=a(87072),S=a(53416),g=a(15584),p=a(72736),_=a(3400),c=_.strRotate,s=_.strTranslate,d=a(84284);u.exports=function(E,k,L,I){var P=E._context.staticPlot,M=k.xaxis,F=k.yaxis,N=E._fullLayout,T=N._clips;_.makeTraceGroups(I,L,"trace").each(function(D){var O=l.select(this),U=D[0],B=U.trace,Y=B.aaxis,z=B.baxis,V=_.ensureSingle(O,"g","minorlayer"),j=_.ensureSingle(O,"g","majorlayer"),G=_.ensureSingle(O,"g","boundarylayer"),W=_.ensureSingle(O,"g","labellayer");O.style("opacity",B.opacity),b(M,F,j,Y,"a",Y._gridlines,!0),b(M,F,j,z,"b",z._gridlines,!0),b(M,F,V,Y,"a",Y._minorgridlines,!0),b(M,F,V,z,"b",z._minorgridlines,!0),b(M,F,G,Y,"a-boundary",Y._boundarylines,P),b(M,F,G,z,"b-boundary",z._boundarylines,P);var X=x(E,M,F,B,U,W,Y._labels,"a-label"),Q=x(E,M,F,B,U,W,z._labels,"b-label");y(E,W,B,U,M,F,X,Q),f(B,U,T,M,F)})};function f(A,E,k,L,I){var P,M,F,N,T=k.select("#"+A._clipPathId);T.size()||(T=k.append("clipPath").classed("carpetclip",!0));var D=_.ensureSingle(T,"path","carpetboundary"),O=E.clipsegments,U=[];for(N=0;N<O.length;N++)P=O[N],M=i([],P.x,L.c2p),F=i([],P.y,I.c2p),U.push(S(M,F,P.bicubic));var B="M"+U.join("L")+"Z";T.attr("id",A._clipPathId),D.attr("d",B)}function b(A,E,k,L,I,P,M){var F="const-"+I+"-lines",N=k.selectAll("."+F).data(P);N.enter().append("path").classed(F,!0).style("vector-effect",M?"none":"non-scaling-stroke"),N.each(function(T){var D=T,O=D.x,U=D.y,B=i([],O,A.c2p),Y=i([],U,E.c2p),z="M"+S(B,Y,D.smoothing),V=l.select(this);V.attr("d",z).style("stroke-width",D.width).style("stroke",D.color).style("stroke-dasharray",v.dashStyle(D.dash,D.width)).style("fill","none")}),N.exit().remove()}function x(A,E,k,L,I,P,M,F){var N=P.selectAll("text."+F).data(M);N.enter().append("text").classed(F,!0);var T=0,D={};return N.each(function(O,U){var B;if(O.axis.tickangle==="auto")B=g(L,E,k,O.xy,O.dxy);else{var Y=(O.axis.tickangle+180)*Math.PI/180;B=g(L,E,k,O.xy,[Math.cos(Y),Math.sin(Y)])}U||(D={angle:B.angle,flip:B.flip});var z=(O.endAnchor?-1:1)*B.flip,V=l.select(this).attr({"text-anchor":z>0?"start":"end","data-notex":1}).call(v.font,O.font).text(O.text).call(p.convertToTspans,A),j=v.bBox(this);V.attr("transform",s(B.p[0],B.p[1])+c(B.angle)+s(O.axis.labelpadding*z,j.height*.3)),T=Math.max(T,j.width+O.axis.labelpadding)}),N.exit().remove(),D.maxExtent=T,D}function y(A,E,k,L,I,P,M,F){var N,T,D,O,U=_.aggNums(Math.min,null,k.a),B=_.aggNums(Math.max,null,k.a),Y=_.aggNums(Math.min,null,k.b),z=_.aggNums(Math.max,null,k.b);N=.5*(U+B),T=Y,D=k.ab2xy(N,T,!0),O=k.dxyda_rough(N,T),M.angle===void 0&&_.extendFlat(M,g(k,I,P,D,k.dxydb_rough(N,T))),R(A,E,k,L,D,O,k.aaxis,I,P,M,"a-title"),N=U,T=.5*(Y+z),D=k.ab2xy(N,T,!0),O=k.dxydb_rough(N,T),F.angle===void 0&&_.extendFlat(F,g(k,I,P,D,k.dxyda_rough(N,T))),R(A,E,k,L,D,O,k.baxis,I,P,F,"b-title")}var C=d.LINE_SPACING,w=(1-d.MID_SHIFT)/C+1;function R(A,E,k,L,I,P,M,F,N,T,D){var O=[];M.title.text&&O.push(M.title.text);var U=E.selectAll("text."+D).data(O),B=T.maxExtent;U.enter().append("text").classed(D,!0),U.each(function(){var Y=g(k,F,N,I,P);["start","both"].indexOf(M.showticklabels)===-1&&(B=0);var z=M.title.font.size;B+=z+M.title.offset;var V=T.angle+(T.flip<0?180:0),j=(V-Y.angle+450)%360,G=j>90&&j<270,W=l.select(this);W.text(M.title.text).call(p.convertToTspans,A),G&&(B=(-p.lineCount(W)+w)*C*z-B),W.attr("transform",s(Y.p[0],Y.p[1])+c(Y.angle)+s(0,B)).attr("text-anchor","middle").call(v.font,M.title.font)}),U.exit().remove()}},81e3:function(u,h,a){var l=a(24588),v=a(14952).findBin,i=a(30180),S=a(29056),g=a(26435),p=a(24464);u.exports=function(c){var s=c._a,d=c._b,f=s.length,b=d.length,x=c.aaxis,y=c.baxis,C=s[0],w=s[f-1],R=d[0],A=d[b-1],E=s[s.length-1]-s[0],k=d[d.length-1]-d[0],L=E*l.RELATIVE_CULL_TOLERANCE,I=k*l.RELATIVE_CULL_TOLERANCE;C-=L,w+=L,R-=I,A+=I,c.isVisible=function(P,M){return P>C&&P<w&&M>R&&M<A},c.isOccluded=function(P,M){return P<C||P>w||M<R||M>A},c.setScale=function(){var P=c._x,M=c._y,F=i(c._xctrl,c._yctrl,P,M,x.smoothing,y.smoothing);c._xctrl=F[0],c._yctrl=F[1],c.evalxy=S([c._xctrl,c._yctrl],f,b,x.smoothing,y.smoothing),c.dxydi=g([c._xctrl,c._yctrl],x.smoothing,y.smoothing),c.dxydj=p([c._xctrl,c._yctrl],x.smoothing,y.smoothing)},c.i2a=function(P){var M=Math.max(0,Math.floor(P[0]),f-2),F=P[0]-M;return(1-F)*s[M]+F*s[M+1]},c.j2b=function(P){var M=Math.max(0,Math.floor(P[1]),f-2),F=P[1]-M;return(1-F)*d[M]+F*d[M+1]},c.ij2ab=function(P){return[c.i2a(P[0]),c.j2b(P[1])]},c.a2i=function(P){var M=Math.max(0,Math.min(v(P,s),f-2)),F=s[M],N=s[M+1];return Math.max(0,Math.min(f-1,M+(P-F)/(N-F)))},c.b2j=function(P){var M=Math.max(0,Math.min(v(P,d),b-2)),F=d[M],N=d[M+1];return Math.max(0,Math.min(b-1,M+(P-F)/(N-F)))},c.ab2ij=function(P){return[c.a2i(P[0]),c.b2j(P[1])]},c.i2c=function(P,M){return c.evalxy([],P,M)},c.ab2xy=function(P,M,F){if(!F&&(P<s[0]||P>s[f-1]|M<d[0]||M>d[b-1]))return[!1,!1];var N=c.a2i(P),T=c.b2j(M),D=c.evalxy([],N,T);if(F){var O=0,U=0,B=[],Y,z,V,j;P<s[0]?(Y=0,z=0,O=(P-s[0])/(s[1]-s[0])):P>s[f-1]?(Y=f-2,z=1,O=(P-s[f-1])/(s[f-1]-s[f-2])):(Y=Math.max(0,Math.min(f-2,Math.floor(N))),z=N-Y),M<d[0]?(V=0,j=0,U=(M-d[0])/(d[1]-d[0])):M>d[b-1]?(V=b-2,j=1,U=(M-d[b-1])/(d[b-1]-d[b-2])):(V=Math.max(0,Math.min(b-2,Math.floor(T))),j=T-V),O&&(c.dxydi(B,Y,V,z,j),D[0]+=B[0]*O,D[1]+=B[1]*O),U&&(c.dxydj(B,Y,V,z,j),D[0]+=B[0]*U,D[1]+=B[1]*U)}return D},c.c2p=function(P,M,F){return[M.c2p(P[0]),F.c2p(P[1])]},c.p2x=function(P,M,F){return[M.p2c(P[0]),F.p2c(P[1])]},c.dadi=function(P){var M=Math.max(0,Math.min(s.length-2,P));return s[M+1]-s[M]},c.dbdj=function(P){var M=Math.max(0,Math.min(d.length-2,P));return d[M+1]-d[M]},c.dxyda=function(P,M,F,N){var T=c.dxydi(null,P,M,F,N),D=c.dadi(P,F);return[T[0]/D,T[1]/D]},c.dxydb=function(P,M,F,N){var T=c.dxydj(null,P,M,F,N),D=c.dbdj(M,N);return[T[0]/D,T[1]/D]},c.dxyda_rough=function(P,M,F){var N=E*(F||.1),T=c.ab2xy(P+N,M,!0),D=c.ab2xy(P-N,M,!0);return[(T[0]-D[0])*.5/N,(T[1]-D[1])*.5/N]},c.dxydb_rough=function(P,M,F){var N=k*(F||.1),T=c.ab2xy(P,M+N,!0),D=c.ab2xy(P,M-N,!0);return[(T[0]-D[0])*.5/N,(T[1]-D[1])*.5/N]},c.dpdx=function(P){return P._m},c.dpdy=function(P){return P._m}}},51512:function(u,h,a){var l=a(3400);u.exports=function(i,S,g){var p,_,c,s=[],d=[],f=i[0].length,b=i.length;function x(Q,ae){var ie=0,he,J=0;return Q>0&&(he=i[ae][Q-1])!==void 0&&(J++,ie+=he),Q<f-1&&(he=i[ae][Q+1])!==void 0&&(J++,ie+=he),ae>0&&(he=i[ae-1][Q])!==void 0&&(J++,ie+=he),ae<b-1&&(he=i[ae+1][Q])!==void 0&&(J++,ie+=he),ie/Math.max(1,J)}var y=0;for(p=0;p<f;p++)for(_=0;_<b;_++)i[_][p]===void 0&&(s.push(p),d.push(_),i[_][p]=x(p,_)),y=Math.max(y,Math.abs(i[_][p]));if(!s.length)return i;var C,w,R,A,E,k,L,I,P,M,F,N=1e-5,T=0,D=100,O=0,U=s.length;do{for(T=0,c=0;c<U;c++){p=s[c],_=d[c];var B=0,Y=0,z,V,j,G,W,X;p===0?(W=Math.min(f-1,2),j=S[W],G=S[1],z=i[_][W],V=i[_][1],Y+=V+(V-z)*(S[0]-G)/(G-j),B++):p===f-1&&(W=Math.max(0,f-3),j=S[W],G=S[f-2],z=i[_][W],V=i[_][f-2],Y+=V+(V-z)*(S[f-1]-G)/(G-j),B++),(p===0||p===f-1)&&_>0&&_<b-1&&(C=g[_+1]-g[_],w=g[_]-g[_-1],Y+=(w*i[_+1][p]+C*i[_-1][p])/(w+C),B++),_===0?(X=Math.min(b-1,2),j=g[X],G=g[1],z=i[X][p],V=i[1][p],Y+=V+(V-z)*(g[0]-G)/(G-j),B++):_===b-1&&(X=Math.max(0,b-3),j=g[X],G=g[b-2],z=i[X][p],V=i[b-2][p],Y+=V+(V-z)*(g[b-1]-G)/(G-j),B++),(_===0||_===b-1)&&p>0&&p<f-1&&(C=S[p+1]-S[p],w=S[p]-S[p-1],Y+=(w*i[_][p+1]+C*i[_][p-1])/(w+C),B++),B?Y/=B:(R=S[p+1]-S[p],A=S[p]-S[p-1],E=g[_+1]-g[_],k=g[_]-g[_-1],L=R*A*(R+A),I=E*k*(E+k),Y=(L*(k*i[_+1][p]+E*i[_-1][p])+I*(A*i[_][p+1]+R*i[_][p-1]))/(I*(A+R)+L*(k+E))),P=Y-i[_][p],M=P/y,T+=M*M,F=B?0:.85,i[_][p]+=P*(1+F)}T=Math.sqrt(T)}while(O++<D&&T>N);return l.log("Smoother converged to",T,"after",O,"iterations"),i}},86411:function(u,h,a){var l=a(3400).isArray1D;u.exports=function(i,S,g){var p=g("x"),_=p&&p.length,c=g("y"),s=c&&c.length;if(!_&&!s)return!1;if(S._cheater=!p,(!_||l(p))&&(!s||l(c))){var d=_?p.length:1/0;s&&(d=Math.min(d,c.length)),S.a&&S.a.length&&(d=Math.min(d,S.a.length)),S.b&&S.b.length&&(d=Math.min(d,S.b.length)),S._length=d}else S._length=null;return!0}},83372:function(u,h,a){var l=a(21776).Ks,v=a(6096),i=a(49084),S=a(45464),g=a(22548).defaultLine,p=a(92880).extendFlat,_=v.marker.line;u.exports=p({locations:{valType:"data_array",editType:"calc"},locationmode:v.locationmode,z:{valType:"data_array",editType:"calc"},geojson:p({},v.geojson,{}),featureidkey:v.featureidkey,text:p({},v.text,{}),hovertext:p({},v.hovertext,{}),marker:{line:{color:p({},_.color,{dflt:g}),width:p({},_.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,editType:"style"},editType:"calc"},selected:{marker:{opacity:v.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:v.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:p({},S.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:l(),showlegend:p({},S.showlegend,{dflt:!1})},i("",{cLetter:"z",editTypeOverride:"calc"}))},7924:function(u,h,a){var l=a(38248),v=a(39032).BADNUM,i=a(47128),S=a(20148),g=a(4500);function p(_){return _&&typeof _=="string"}u.exports=function(c,s){var d=s._length,f=new Array(d),b;s.geojson?b=function(R){return p(R)||l(R)}:b=p;for(var x=0;x<d;x++){var y=f[x]={},C=s.locations[x],w=s.z[x];b(C)&&l(w)?(y.loc=C,y.z=w):(y.loc=null,y.z=v),y.index=x}return S(f,s),i(c,s,{vals:s.z,containerStr:"",cLetter:"z"}),g(f,s),f}},30972:function(u,h,a){var l=a(3400),v=a(27260),i=a(83372);u.exports=function(g,p,_,c){function s(w,R){return l.coerce(g,p,i,w,R)}var d=s("locations"),f=s("z");if(!(d&&d.length&&l.isArrayOrTypedArray(f)&&f.length)){p.visible=!1;return}p._length=Math.min(d.length,f.length);var b=s("geojson"),x;(typeof b=="string"&&b!==""||l.isPlainObject(b))&&(x="geojson-id");var y=s("locationmode",x);y==="geojson-id"&&s("featureidkey"),s("text"),s("hovertext"),s("hovertemplate");var C=s("marker.line.width");C&&s("marker.line.color"),s("marker.opacity"),v(g,p,c,s,{prefix:"",cLetter:"z"}),l.coerceSelectionMarkerOpacity(p,s)}},52428:function(u){u.exports=function(a,l,v,i,S){a.location=l.location,a.z=l.z;var g=i[S];return g.fIn&&g.fIn.properties&&(a.properties=g.fIn.properties),a.ct=g.ct,a}},69224:function(u,h,a){var l=a(54460),v=a(83372),i=a(3400).fillText;u.exports=function(p,_,c){var s=p.cd,d=s[0].trace,f=p.subplot,b,x,y,C,w=[_,c],R=[_+360,c];for(x=0;x<s.length;x++)if(b=s[x],C=!1,b._polygons){for(y=0;y<b._polygons.length;y++)b._polygons[y].contains(w)&&(C=!C),b._polygons[y].contains(R)&&(C=!C);if(C)break}if(!(!C||!b))return p.x0=p.x1=p.xa.c2p(b.ct),p.y0=p.y1=p.ya.c2p(b.ct),p.index=b.index,p.location=b.loc,p.z=b.z,p.zLabel=l.tickText(f.mockAxis,f.mockAxis.c2l(b.z),"hover").text,p.hovertemplate=b.hovertemplate,S(p,d,b),[p]};function S(g,p,_){if(!p.hovertemplate){var c=_.hi||p.hoverinfo,s=String(_.loc),d=c==="all"?v.hoverinfo.flags:c.split("+"),f=d.indexOf("name")!==-1,b=d.indexOf("location")!==-1,x=d.indexOf("z")!==-1,y=d.indexOf("text")!==-1,C=!f&&b,w=[];C?g.nameOverride=s:(f&&(g.nameOverride=p.name),b&&w.push(s)),x&&w.push(g.zLabel),y&&i(_,p,w),g.extraText=w.join("<br>")}}},54272:function(u,h,a){u.exports={attributes:a(83372),supplyDefaults:a(30972),colorbar:a(96288),calc:a(7924),calcGeoJSON:a(88364).calcGeoJSON,plot:a(88364).plot,style:a(7947).style,styleOnSelect:a(7947).styleOnSelect,hoverPoints:a(69224),eventData:a(52428),selectPoints:a(17328),moduleType:"trace",name:"choropleth",basePlotModule:a(10816),categories:["geo","noOpacity","showLegend"],meta:{}}},88364:function(u,h,a){var l=a(33428),v=a(3400),i=a(27144),S=a(59972).getTopojsonFeatures,g=a(19280).findExtremes,p=a(7947).style;function _(s,d,f){var b=d.layers.backplot.select(".choroplethlayer");v.makeTraceGroups(b,f,"trace choropleth").each(function(x){var y=l.select(this),C=y.selectAll("path.choroplethlocation").data(v.identity);C.enter().append("path").classed("choroplethlocation",!0),C.exit().remove(),p(s,x)})}function c(s,d){for(var f=s[0].trace,b=d[f.geo],x=b._subplot,y=f.locationmode,C=f._length,w=y==="geojson-id"?i.extractTraceFeature(s):S(f,x.topojson),R=[],A=[],E=0;E<C;E++){var k=s[E],L=y==="geojson-id"?k.fOut:i.locationToFeature(y,k.loc,w);if(L){k.geojson=L,k.ct=L.properties.ct,k._polygons=i.feature2polygons(L);var I=i.computeBbox(L);R.push(I[0],I[2]),A.push(I[1],I[3])}else k.geojson=null}if(b.fitbounds==="geojson"&&y==="geojson-id"){var P=i.computeBbox(i.getTraceGeojson(f));R=[P[0],P[2]],A=[P[1],P[3]]}var M={padded:!0};f._extremes.lon=g(b.lonaxis._ax,R,M),f._extremes.lat=g(b.lataxis._ax,A,M)}u.exports={calcGeoJSON:c,plot:_}},17328:function(u){u.exports=function(a,l){var v=a.cd,i=a.xaxis,S=a.yaxis,g=[],p,_,c,s,d;if(l===!1)for(p=0;p<v.length;p++)v[p].selected=0;else for(p=0;p<v.length;p++)_=v[p],c=_.ct,c&&(s=i.c2p(c),d=S.c2p(c),l.contains([s,d],null,p,a)?(g.push({pointNumber:p,lon:c[0],lat:c[1]}),_.selected=1):_.selected=0);return g}},7947:function(u,h,a){var l=a(33428),v=a(76308),i=a(43616),S=a(8932);function g(c,s){s&&p(c,s)}function p(c,s){var d=s[0].trace,f=s[0].node3,b=f.selectAll(".choroplethlocation"),x=d.marker||{},y=x.line||{},C=S.makeColorScaleFuncFromTrace(d);b.each(function(w){l.select(this).attr("fill",C(w.z)).call(v.stroke,w.mlc||y.color).call(i.dashLine,"",w.mlw||y.width||0).style("opacity",x.opacity)}),i.selectedPointStyle(b,d)}function _(c,s){var d=s[0].node3,f=s[0].trace;f.selectedpoints?i.selectedPointStyle(d.selectAll(".choroplethlocation"),f):p(c,s)}u.exports={style:g,styleOnSelect:_}},45608:function(u,h,a){var l=a(83372),v=a(49084),i=a(21776).Ks,S=a(45464),g=a(92880).extendFlat;u.exports=g({locations:{valType:"data_array",editType:"calc"},z:{valType:"data_array",editType:"calc"},geojson:{valType:"any",editType:"calc"},featureidkey:g({},l.featureidkey,{}),below:{valType:"string",editType:"plot"},text:l.text,hovertext:l.hovertext,marker:{line:{color:g({},l.marker.line.color,{editType:"plot"}),width:g({},l.marker.line.width,{editType:"plot"}),editType:"calc"},opacity:g({},l.marker.opacity,{editType:"plot"}),editType:"calc"},selected:{marker:{opacity:g({},l.selected.marker.opacity,{editType:"plot"}),editType:"plot"},editType:"plot"},unselected:{marker:{opacity:g({},l.unselected.marker.opacity,{editType:"plot"}),editType:"plot"},editType:"plot"},hoverinfo:l.hoverinfo,hovertemplate:i({},{keys:["properties"]}),showlegend:g({},S.showlegend,{dflt:!1})},v("",{cLetter:"z",editTypeOverride:"calc"}))},13504:function(u,h,a){var l=a(38248),v=a(3400),i=a(8932),S=a(43616),g=a(44808).makeBlank,p=a(27144);function _(s){var d=s[0].trace,f=d.visible===!0&&d._length!==0,b={layout:{visibility:"none"},paint:{}},x={layout:{visibility:"none"},paint:{}},y=d._opts={fill:b,line:x,geojson:g()};if(!f)return y;var C=p.extractTraceFeature(s);if(!C)return y;var w=i.makeColorScaleFuncFromTrace(d),R=d.marker,A=R.line||{},E;v.isArrayOrTypedArray(R.opacity)&&(E=function(T){var D=T.mo;return l(D)?+v.constrain(D,0,1):0});var k;v.isArrayOrTypedArray(A.color)&&(k=function(T){return T.mlc});var L;v.isArrayOrTypedArray(A.width)&&(L=function(T){return T.mlw});for(var I=0;I<s.length;I++){var P=s[I],M=P.fOut;if(M){var F=M.properties;F.fc=w(P.z),E&&(F.mo=E(P)),k&&(F.mlc=k(P)),L&&(F.mlw=L(P)),P.ct=F.ct,P._polygons=p.feature2polygons(M)}}var N=E?{type:"identity",property:"mo"}:R.opacity;return v.extendFlat(b.paint,{"fill-color":{type:"identity",property:"fc"},"fill-opacity":N}),v.extendFlat(x.paint,{"line-color":k?{type:"identity",property:"mlc"}:A.color,"line-width":L?{type:"identity",property:"mlw"}:A.width,"line-opacity":N}),b.layout.visibility="visible",x.layout.visibility="visible",y.geojson={type:"FeatureCollection",features:C},c(s),y}function c(s){var d=s[0].trace,f=d._opts,b;if(d.selectedpoints){for(var x=S.makeSelectedPointStyleFns(d),y=0;y<s.length;y++){var C=s[y];C.fOut&&(C.fOut.properties.mo2=x.selectedOpacityFn(C))}b={type:"identity",property:"mo2"}}else b=v.isArrayOrTypedArray(d.marker.opacity)?{type:"identity",property:"mo"}:d.marker.opacity;return v.extendFlat(f.fill.paint,{"fill-opacity":b}),v.extendFlat(f.line.paint,{"line-opacity":b}),f}u.exports={convert:_,convertOnSelect:c}},9352:function(u,h,a){var l=a(3400),v=a(27260),i=a(45608);u.exports=function(g,p,_,c){function s(y,C){return l.coerce(g,p,i,y,C)}var d=s("locations"),f=s("z"),b=s("geojson");if(!l.isArrayOrTypedArray(d)||!d.length||!l.isArrayOrTypedArray(f)||!f.length||!(typeof b=="string"&&b!==""||l.isPlainObject(b))){p.visible=!1;return}s("featureidkey"),p._length=Math.min(d.length,f.length),s("below"),s("text"),s("hovertext"),s("hovertemplate");var x=s("marker.line.width");x&&s("marker.line.color"),s("marker.opacity"),v(g,p,c,s,{prefix:"",cLetter:"z"}),l.coerceSelectionMarkerOpacity(p,s)}},85404:function(u,h,a){u.exports={attributes:a(45608),supplyDefaults:a(9352),colorbar:a(96288),calc:a(7924),plot:a(61288),hoverPoints:a(69224),eventData:a(52428),selectPoints:a(17328),styleOnSelect:function(l,v){if(v){var i=v[0].trace;i._glTrace.updateOnSelect(v)}},getBelow:function(l,v){for(var i=v.getMapLayers(),S=i.length-2;S>=0;S--){var g=i[S].id;if(typeof g=="string"&&g.indexOf("water")===0){for(var p=S+1;p<i.length;p++)if(g=i[p].id,typeof g=="string"&&g.indexOf("plotly-")===-1)return g}}},moduleType:"trace",name:"choroplethmapbox",basePlotModule:a(33688),categories:["mapbox","gl","noOpacity","showLegend"],meta:{hr_name:"choropleth_mapbox"}}},61288:function(u,h,a){var l=a(13504).convert,v=a(13504).convertOnSelect,i=a(47552).traceLayerPrefix;function S(p,_){this.type="choroplethmapbox",this.subplot=p,this.uid=_,this.sourceId="source-"+_,this.layerList=[["fill",i+_+"-fill"],["line",i+_+"-line"]],this.below=null}var g=S.prototype;g.update=function(p){this._update(l(p)),p[0].trace._glTrace=this},g.updateOnSelect=function(p){this._update(v(p))},g._update=function(p){var _=this.subplot,c=this.layerList,s=_.belowLookup["trace-"+this.uid];_.map.getSource(this.sourceId).setData(p.geojson),s!==this.below&&(this._removeLayers(),this._addLayers(p,s),this.below=s);for(var d=0;d<c.length;d++){var f=c[d],b=f[0],x=f[1],y=p[b];_.setOptions(x,"setLayoutProperty",y.layout),y.layout.visibility==="visible"&&_.setOptions(x,"setPaintProperty",y.paint)}},g._addLayers=function(p,_){for(var c=this.subplot,s=this.layerList,d=this.sourceId,f=0;f<s.length;f++){var b=s[f],x=b[0],y=p[x];c.addLayer({type:x,id:b[1],source:d,layout:y.layout,paint:y.paint},_)}},g._removeLayers=function(){for(var p=this.subplot.map,_=this.layerList,c=_.length-1;c>=0;c--)p.removeLayer(_[c][1])},g.dispose=function(){var p=this.subplot.map;this._removeLayers(),p.removeSource(this.sourceId)},u.exports=function(_,c){var s=c[0].trace,d=new S(_,s.uid),f=d.sourceId,b=l(c),x=d.below=_.belowLookup["trace-"+s.uid];return _.map.addSource(f,{type:"geojson",data:b.geojson}),d._addLayers(b,x),c[0].trace._glTrace=d,d}},86040:function(u,h,a){var l=a(49084),v=a(29736).axisHoverFormat,i=a(21776).Ks,S=a(52948),g=a(45464),p=a(92880).extendFlat,_={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},sizemode:{valType:"enumerated",values:["scaled","absolute"],editType:"calc",dflt:"scaled"},sizeref:{valType:"number",editType:"calc",min:0},anchor:{valType:"enumerated",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"},{keys:["norm"]}),uhoverformat:v("u",1),vhoverformat:v("v",1),whoverformat:v("w",1),xhoverformat:v("x"),yhoverformat:v("y"),zhoverformat:v("z"),showlegend:p({},g.showlegend,{dflt:!1})};p(_,l("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"}));var c=["opacity","lightposition","lighting"];c.forEach(function(s){_[s]=S[s]}),_.hoverinfo=p({},g.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),_.transforms=void 0,u.exports=_},83344:function(u,h,a){var l=a(47128);u.exports=function(i,S){for(var g=S.u,p=S.v,_=S.w,c=Math.min(S.x.length,S.y.length,S.z.length,g.length,p.length,_.length),s=-1/0,d=1/0,f=0;f<c;f++){var b=g[f],x=p[f],y=_[f],C=Math.sqrt(b*b+x*x+y*y);s=Math.max(s,C),d=Math.min(d,C)}S._len=c,S._normMax=s,l(i,S,{vals:[d,s],containerStr:"",cLetter:"c"})}},6648:function(u,h,a){var l=a(67792).gl_cone3d,v=a(67792).gl_cone3d.createConeMesh,i=a(3400).simpleMap,S=a(33040).parseColorScale,g=a(8932).extractOpts,p=a(3400).isArrayOrTypedArray,_=a(52094);function c(C,w){this.scene=C,this.uid=w,this.mesh=null,this.data=null}var s=c.prototype;s.handlePick=function(C){if(C.object===this.mesh){var w=C.index=C.data.index,R=this.data.x[w],A=this.data.y[w],E=this.data.z[w],k=this.data.u[w],L=this.data.v[w],I=this.data.w[w];C.traceCoordinate=[R,A,E,k,L,I,Math.sqrt(k*k+L*L+I*I)];var P=this.data.hovertext||this.data.text;return p(P)&&P[w]!==void 0?C.textLabel=P[w]:P&&(C.textLabel=P),!0}};var d={xaxis:0,yaxis:1,zaxis:2},f={tip:1,tail:0,cm:.25,center:.5},b={tip:1,tail:1,cm:.75,center:.5};function x(C,w){var R=C.fullSceneLayout,A=C.dataScale,E={};function k(M,F){var N=R[F],T=A[d[F]];return i(M,function(D){return N.d2l(D)*T})}E.vectors=_(k(w.u,"xaxis"),k(w.v,"yaxis"),k(w.w,"zaxis"),w._len),E.positions=_(k(w.x,"xaxis"),k(w.y,"yaxis"),k(w.z,"zaxis"),w._len);var L=g(w);E.colormap=S(w),E.vertexIntensityBounds=[L.min/w._normMax,L.max/w._normMax],E.coneOffset=f[w.anchor],w.sizemode==="scaled"?E.coneSize=w.sizeref||.5:E.coneSize=w.sizeref&&w._normMax?w.sizeref/w._normMax:.5;var I=l(E),P=w.lightposition;return I.lightPosition=[P.x,P.y,P.z],I.ambient=w.lighting.ambient,I.diffuse=w.lighting.diffuse,I.specular=w.lighting.specular,I.roughness=w.lighting.roughness,I.fresnel=w.lighting.fresnel,I.opacity=w.opacity,w._pad=b[w.anchor]*I.vectorScale*I.coneScale*w._normMax,I}s.update=function(C){this.data=C;var w=x(this.scene,C);this.mesh.update(w)},s.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};function y(C,w){var R=C.glplot.gl,A=x(C,w),E=v(R,A),k=new c(C,w.uid);return k.mesh=E,k.data=w,E._trace=k,C.glplot.add(E),k}u.exports=y},86096:function(u,h,a){var l=a(3400),v=a(27260),i=a(86040);u.exports=function(g,p,_,c){function s(w,R){return l.coerce(g,p,i,w,R)}var d=s("u"),f=s("v"),b=s("w"),x=s("x"),y=s("y"),C=s("z");if(!d||!d.length||!f||!f.length||!b||!b.length||!x||!x.length||!y||!y.length||!C||!C.length){p.visible=!1;return}s("sizeref"),s("sizemode"),s("anchor"),s("lighting.ambient"),s("lighting.diffuse"),s("lighting.specular"),s("lighting.roughness"),s("lighting.fresnel"),s("lightposition.x"),s("lightposition.y"),s("lightposition.z"),v(g,p,c,s,{prefix:"",cLetter:"c"}),s("text"),s("hovertext"),s("hovertemplate"),s("uhoverformat"),s("vhoverformat"),s("whoverformat"),s("xhoverformat"),s("yhoverformat"),s("zhoverformat"),p._length=null}},26048:function(u,h,a){u.exports={moduleType:"trace",name:"cone",basePlotModule:a(12536),categories:["gl3d","showLegend"],attributes:a(86040),supplyDefaults:a(86096),colorbar:{min:"cmin",max:"cmax"},calc:a(83344),plot:a(6648),eventData:function(l,v){return l.norm=v.traceCoordinate[6],l},meta:{}}},67104:function(u,h,a){var l=a(83328),v=a(52904),i=a(29736),S=i.axisHoverFormat,g=i.descriptionOnlyNumbers,p=a(49084),_=a(98192).u,c=a(25376),s=a(92880).extendFlat,d=a(69104),f=d.COMPARISON_OPS2,b=d.INTERVAL_OPS,x=v.line;u.exports=s({z:l.z,x:l.x,x0:l.x0,dx:l.dx,y:l.y,y0:l.y0,dy:l.dy,xperiod:l.xperiod,yperiod:l.yperiod,xperiod0:v.xperiod0,yperiod0:v.yperiod0,xperiodalignment:l.xperiodalignment,yperiodalignment:l.yperiodalignment,text:l.text,hovertext:l.hovertext,transpose:l.transpose,xtype:l.xtype,ytype:l.ytype,xhoverformat:S("x"),yhoverformat:S("y"),zhoverformat:S("z",1),hovertemplate:l.hovertemplate,texttemplate:s({},l.texttemplate,{}),textfont:s({},l.textfont,{}),hoverongaps:l.hoverongaps,connectgaps:s({},l.connectgaps,{}),fillcolor:{valType:"color",editType:"calc"},autocontour:{valType:"boolean",dflt:!0,editType:"calc",impliedEdits:{"contours.start":void 0,"contours.end":void 0,"contours.size":void 0}},ncontours:{valType:"integer",dflt:15,min:1,editType:"calc"},contours:{type:{valType:"enumerated",values:["levels","constraint"],dflt:"levels",editType:"calc"},start:{valType:"number",dflt:null,editType:"plot",impliedEdits:{"^autocontour":!1}},end:{valType:"number",dflt:null,editType:"plot",impliedEdits:{"^autocontour":!1}},size:{valType:"number",dflt:null,min:0,editType:"plot",impliedEdits:{"^autocontour":!1}},coloring:{valType:"enumerated",values:["fill","heatmap","lines","none"],dflt:"fill",editType:"calc"},showlines:{valType:"boolean",dflt:!0,editType:"plot"},showlabels:{valType:"boolean",dflt:!1,editType:"plot"},labelfont:c({editType:"plot",colorEditType:"style"}),labelformat:{valType:"string",dflt:"",editType:"plot",description:g("contour label")},operation:{valType:"enumerated",values:[].concat(f).concat(b),dflt:"=",editType:"calc"},value:{valType:"any",dflt:0,editType:"calc"},editType:"calc",impliedEdits:{autocontour:!1}},line:{color:s({},x.color,{editType:"style+colorbars"}),width:{valType:"number",min:0,editType:"style+colorbars"},dash:_,smoothing:s({},x.smoothing,{}),editType:"plot"}},p("",{cLetter:"z",autoColorDflt:!1,editTypeOverride:"calc"}))},20688:function(u,h,a){var l=a(8932),v=a(19512),i=a(54444),S=a(46960);u.exports=function(p,_){var c=v(p,_),s=c[0].z;i(_,s);var d=_.contours,f=l.extractOpts(_),b;if(d.coloring==="heatmap"&&f.auto&&_.autocontour===!1){var x=d.start,y=S(d),C=d.size||1,w=Math.floor((y-x)/C)+1;isFinite(C)||(C=1,w=1);var R=x-C/2,A=R+w*C;b=[R,A]}else b=s;return l.calc(p,_,{vals:b,cLetter:"z"}),c}},56008:function(u){u.exports=function(h,a){var l=h[0],v=l.z,i;switch(a.type){case"levels":var S=Math.min(v[0][0],v[0][1]);for(i=0;i<h.length;i++){var g=h[i];g.prefixBoundary=!g.edgepaths.length&&(S>g.level||g.starts.length&&S===g.level)}break;case"constraint":if(l.prefixBoundary=!1,l.edgepaths.length)return;var p=l.x.length,_=l.y.length,c=-1/0,s=1/0;for(i=0;i<_;i++)s=Math.min(s,v[i][0]),s=Math.min(s,v[i][p-1]),c=Math.max(c,v[i][0]),c=Math.max(c,v[i][p-1]);for(i=1;i<p-1;i++)s=Math.min(s,v[0][i]),s=Math.min(s,v[_-1][i]),c=Math.max(c,v[0][i]),c=Math.max(c,v[_-1][i]);var d=a.value,f,b;switch(a._operation){case">":d>c&&(l.prefixBoundary=!0);break;case"<":(d<s||l.starts.length&&d===s)&&(l.prefixBoundary=!0);break;case"[]":f=Math.min(d[0],d[1]),b=Math.max(d[0],d[1]),(b<s||f>c||l.starts.length&&b===s)&&(l.prefixBoundary=!0);break;case"][":f=Math.min(d[0],d[1]),b=Math.max(d[0],d[1]),f<s&&b>c&&(l.prefixBoundary=!0);break}break}}},55296:function(u,h,a){var l=a(8932),v=a(41076),i=a(46960);function S(g,p,_){var c=p.contours,s=p.line,d=c.size||1,f=c.coloring,b=v(p,{isColorbar:!0});if(f==="heatmap"){var x=l.extractOpts(p);_._fillgradient=x.reversescale?l.flipScale(x.colorscale):x.colorscale,_._zrange=[x.min,x.max]}else f==="fill"&&(_._fillcolor=b);_._line={color:f==="lines"?b:s.color,width:c.showlines!==!1?s.width:0,dash:s.dash},_._levels={start:c.start,end:i(c),size:d}}u.exports={min:"zmin",max:"zmax",calc:S}},93252:function(u){u.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},95536:function(u,h,a){var l=a(38248),v=a(17428),i=a(76308),S=i.addOpacity,g=i.opacity,p=a(69104),_=a(3400).isArrayOrTypedArray,c=p.CONSTRAINT_REDUCTION,s=p.COMPARISON_OPS2;u.exports=function(b,x,y,C,w,R){var A=x.contours,E,k,L,I=y("contours.operation");if(A._operation=c[I],d(y,A),I==="="?E=A.showlines=!0:(E=y("contours.showlines"),L=y("fillcolor",S((b.line||{}).color||w,.5))),E){var P=L&&g(L)?S(x.fillcolor,1):w;k=y("line.color",P),y("line.width",2),y("line.dash")}y("line.smoothing"),v(y,C,k,R)};function d(f,b){var x;s.indexOf(b.operation)===-1?(f("contours.value",[0,1]),_(b.value)?b.value.length>2?b.value=b.value.slice(2):b.length===0?b.value=[0,1]:b.length<2?(x=parseFloat(b.value[0]),b.value=[x,x+1]):b.value=[parseFloat(b.value[0]),parseFloat(b.value[1])]:l(b.value)&&(x=parseFloat(b.value),b.value=[x,x+1])):(f("contours.value",0),l(b.value)||(_(b.value)?b.value=parseFloat(b.value[0]):b.value=0))}},3212:function(u,h,a){var l=a(69104),v=a(38248);u.exports={"[]":S("[]"),"][":S("]["),">":g(">"),"<":g("<"),"=":g("=")};function i(p,_){var c=Array.isArray(_),s;function d(f){return v(f)?+f:null}return l.COMPARISON_OPS2.indexOf(p)!==-1?s=d(c?_[0]:_):l.INTERVAL_OPS.indexOf(p)!==-1?s=c?[d(_[0]),d(_[1])]:[d(_),d(_)]:l.SET_OPS.indexOf(p)!==-1&&(s=c?_.map(d):[d(_)]),s}function S(p){return function(_){_=i(p,_);var c=Math.min(_[0],_[1]),s=Math.max(_[0],_[1]);return{start:c,end:s,size:s-c}}}function g(p){return function(_){return _=i(p,_),{start:_,end:1/0,size:1/0}}}},84952:function(u){u.exports=function(a,l,v,i){var S=i("contours.start"),g=i("contours.end"),p=S===!1||g===!1,_=v("contours.size"),c;p?c=l.autocontour=!0:c=v("autocontour",!1),(c||!_)&&v("ncontours")}},82172:function(u,h,a){var l=a(3400);u.exports=function(i,S){var g,p,_,c=function(f){return f.reverse()},s=function(f){return f};switch(S){case"=":case"<":return i;case">":for(i.length!==1&&l.warn("Contour data invalid for the specified inequality operation."),p=i[0],g=0;g<p.edgepaths.length;g++)p.edgepaths[g]=c(p.edgepaths[g]);for(g=0;g<p.paths.length;g++)p.paths[g]=c(p.paths[g]);for(g=0;g<p.starts.length;g++)p.starts[g]=c(p.starts[g]);return i;case"][":var d=c;c=s,s=d;case"[]":for(i.length!==2&&l.warn("Contour data invalid for the specified inequality range operation."),p=v(i[0]),_=v(i[1]),g=0;g<p.edgepaths.length;g++)p.edgepaths[g]=c(p.edgepaths[g]);for(g=0;g<p.paths.length;g++)p.paths[g]=c(p.paths[g]);for(g=0;g<p.starts.length;g++)p.starts[g]=c(p.starts[g]);for(;_.edgepaths.length;)p.edgepaths.push(s(_.edgepaths.shift()));for(;_.paths.length;)p.paths.push(s(_.paths.shift()));for(;_.starts.length;)p.starts.push(s(_.starts.shift()));return[p]}};function v(i){return l.extendFlat({},i,{edgepaths:l.extendDeep([],i.edgepaths),paths:l.extendDeep([],i.paths),starts:l.extendDeep([],i.starts)})}},57004:function(u,h,a){var l=a(3400),v=a(51264),i=a(31147),S=a(95536),g=a(84952),p=a(97680),_=a(39096),c=a(67104);u.exports=function(d,f,b,x){function y(A,E){return l.coerce(d,f,c,A,E)}function C(A){return l.coerce2(d,f,c,A)}var w=v(d,f,y,x);if(!w){f.visible=!1;return}i(d,f,x,y),y("xhoverformat"),y("yhoverformat"),y("text"),y("hovertext"),y("hoverongaps"),y("hovertemplate");var R=y("contours.type")==="constraint";y("connectgaps",l.isArray1D(f.z)),R?S(d,f,y,x,b):(g(d,f,y,C),p(d,f,y,x)),f.contours&&f.contours.coloring==="heatmap"&&_(y,x)}},61512:function(u,h,a){var l=a(3400),v=a(3212),i=a(46960);u.exports=function(g,p,_){for(var c=g.type==="constraint"?v[g._operation](g.value):g,s=c.size,d=[],f=i(c),b=_.trace._carpetTrace,x=b?{xaxis:b.aaxis,yaxis:b.baxis,x:_.a,y:_.b}:{xaxis:p.xaxis,yaxis:p.yaxis,x:_.x,y:_.y},y=c.start;y<f;y+=s)if(d.push(l.extendFlat({level:y,crossings:{},starts:[],edgepaths:[],paths:[],z:_.z,smoothing:_.trace.line.smoothing},x)),d.length>1e3){l.warn("Too many contours, clipping at 1000",g);break}return d}},46960:function(u){u.exports=function(a){return a.end+a.size/1e6}},88748:function(u,h,a){var l=a(3400),v=a(93252);u.exports=function(s,d,f){var b,x,y,C,w;for(d=d||.01,f=f||.01,y=0;y<s.length;y++){for(C=s[y],w=0;w<C.starts.length;w++)x=C.starts[w],g(C,x,"edge",d,f);for(b=0;Object.keys(C.crossings).length&&b<1e4;)b++,x=Object.keys(C.crossings)[0].split(",").map(Number),g(C,x,void 0,d,f);b===1e4&&l.log("Infinite loop in contour?")}};function i(c,s,d,f){return Math.abs(c[0]-s[0])<d&&Math.abs(c[1]-s[1])<f}function S(c,s){var d=c[2]-s[2],f=c[3]-s[3];return Math.sqrt(d*d+f*f)}function g(c,s,d,f,b){var x=s.join(","),y=c.crossings[x],C=p(y,d,s),w=[_(c,s,[-C[0],-C[1]])],R=c.z.length,A=c.z[0].length,E=s.slice(),k=C.slice(),L;for(L=0;L<1e4;L++){if(y>20?(y=v.CHOOSESADDLE[y][(C[0]||C[1])<0?0:1],c.crossings[x]=v.SADDLEREMAINDER[y]):delete c.crossings[x],C=v.NEWDELTA[y],!C){l.log("Found bad marching index:",y,s,c.level);break}w.push(_(c,s,C)),s[0]+=C[0],s[1]+=C[1],x=s.join(","),i(w[w.length-1],w[w.length-2],f,b)&&w.pop();var I=C[0]&&(s[0]<0||s[0]>A-2)||C[1]&&(s[1]<0||s[1]>R-2),P=s[0]===E[0]&&s[1]===E[1]&&C[0]===k[0]&&C[1]===k[1];if(P||d&&I)break;y=c.crossings[x]}L===1e4&&l.log("Infinite loop in contour?");var M=i(w[0],w[w.length-1],f,b),F=0,N=.2*c.smoothing,T=[],D=0,O,U,B,Y,z,V,j,G,W,X,Q;for(L=1;L<w.length;L++)j=S(w[L],w[L-1]),F+=j,T.push(j);var ae=F/T.length*N;function ie(Z){return w[Z%w.length]}for(L=w.length-2;L>=D;L--)if(O=T[L],O<ae){for(B=0,U=L-1;U>=D&&O+T[U]<ae;U--)O+=T[U];if(M&&L===w.length-2)for(B=0;B<U&&O+T[B]<ae;B++)O+=T[B];z=L-U+B+1,V=Math.floor((L+U+B+2)/2),!M&&L===w.length-2?Y=w[w.length-1]:!M&&U===-1?Y=w[0]:z%2?Y=ie(V):Y=[(ie(V)[0]+ie(V+1)[0])/2,(ie(V)[1]+ie(V+1)[1])/2],w.splice(U+1,L-U+1,Y),L=U+1,B&&(D=B),M&&(L===w.length-2?w[B]=w[w.length-1]:L===0&&(w[w.length-1]=w[0]))}for(w.splice(0,D),L=0;L<w.length;L++)w[L].length=2;if(!(w.length<2))if(M)w.pop(),c.paths.push(w);else{d||l.log("Unclosed interior contour?",c.level,E.join(","),w.join("L"));var he=!1;for(G=0;G<c.edgepaths.length;G++)if(X=c.edgepaths[G],!he&&i(X[0],w[w.length-1],f,b)){w.pop(),he=!0;var J=!1;for(W=0;W<c.edgepaths.length;W++)if(Q=c.edgepaths[W],i(Q[Q.length-1],w[0],f,b)){J=!0,w.shift(),c.edgepaths.splice(G,1),W===G?c.paths.push(w.concat(Q)):(W>G&&W--,c.edgepaths[W]=Q.concat(w,X));break}J||(c.edgepaths[G]=w.concat(X))}for(G=0;G<c.edgepaths.length&&!he;G++)X=c.edgepaths[G],i(X[X.length-1],w[0],f,b)&&(w.shift(),c.edgepaths[G]=X.concat(w),he=!0);he||c.edgepaths.push(w)}}function p(c,s,d){var f=0,b=0;return c>20&&s?c===208||c===1114?f=d[0]===0?1:-1:b=d[1]===0?1:-1:v.BOTTOMSTART.indexOf(c)!==-1?b=1:v.LEFTSTART.indexOf(c)!==-1?f=1:v.TOPSTART.indexOf(c)!==-1?b=-1:f=-1,[f,b]}function _(c,s,d){var f=s[0]+Math.max(d[0],0),b=s[1]+Math.max(d[1],0),x=c.z[b][f],y=c.xaxis,C=c.yaxis;if(d[1]){var w=(c.level-x)/(c.z[b][f+1]-x),R=(w!==1?(1-w)*y.c2l(c.x[f]):0)+(w!==0?w*y.c2l(c.x[f+1]):0);return[y.c2p(y.l2c(R),!0),C.c2p(c.y[b],!0),f+w,b]}else{var A=(c.level-x)/(c.z[b+1][f]-x),E=(A!==1?(1-A)*C.c2l(c.y[b]):0)+(A!==0?A*C.c2l(c.y[b+1]):0);return[y.c2p(c.x[f],!0),C.c2p(C.l2c(E),!0),f,b+A]}}},38200:function(u,h,a){var l=a(76308),v=a(55512);u.exports=function(S,g,p,_,c){c||(c={}),c.isContour=!0;var s=v(S,g,p,_,c);return s&&s.forEach(function(d){var f=d.trace;f.contours.type==="constraint"&&(f.fillcolor&&l.opacity(f.fillcolor)?d.color=l.addOpacity(f.fillcolor,1):f.contours.showlines&&l.opacity(f.line.color)&&(d.color=l.addOpacity(f.line.color,1)))}),s}},66240:function(u,h,a){u.exports={attributes:a(67104),supplyDefaults:a(57004),calc:a(20688),plot:a(23676).plot,style:a(52440),colorbar:a(55296),hoverPoints:a(38200),moduleType:"trace",name:"contour",basePlotModule:a(57952),categories:["cartesian","svg","2dMap","contour","showLegend"],meta:{}}},17428:function(u,h,a){var l=a(3400);u.exports=function(i,S,g,p){p||(p={});var _=i("contours.showlabels");if(_){var c=S.font;l.coerceFont(i,"contours.labelfont",{family:c.family,size:c.size,color:g}),i("contours.labelformat")}p.hasHover!==!1&&i("zhoverformat")}},41076:function(u,h,a){var l=a(33428),v=a(8932),i=a(46960);u.exports=function(g){var p=g.contours,_=p.start,c=i(p),s=p.size||1,d=Math.floor((c-_)/s)+1,f=p.coloring==="lines"?0:1,b=v.extractOpts(g);isFinite(s)||(s=1,d=1);var x=b.reversescale?v.flipScale(b.colorscale):b.colorscale,y=x.length,C=new Array(y),w=new Array(y),R,A,E=b.min,k=b.max;if(p.coloring==="heatmap"){for(A=0;A<y;A++)R=x[A],C[A]=R[0]*(k-E)+E,w[A]=R[1];var L=l.extent([E,k,p.start,p.start+s*(d-1)]),I=L[E<k?0:1],P=L[E<k?1:0];I!==E&&(C.splice(0,0,I),w.splice(0,0,w[0])),P!==k&&(C.push(P),w.push(w[w.length-1]))}else{var M=g._input&&typeof g._input.zmin=="number"&&typeof g._input.zmax=="number";for(M&&(_<=E||c>=k)&&(_<=E&&(_=E),c>=k&&(c=k),d=Math.floor((c-_)/s)+1,f=0),A=0;A<y;A++)R=x[A],C[A]=(R[0]*(d+f-1)-f/2)*s+_,w[A]=R[1];(M||g.autocontour)&&(C[0]>E&&(C.unshift(E),w.unshift(w[0])),C[C.length-1]<k&&(C.push(k),w.push(w[w.length-1])))}return v.makeColorScaleFunc({domain:C,range:w},{noNumericCheck:!0})}},72424:function(u,h,a){var l=a(93252);u.exports=function(S){var g=S[0].z,p=g.length,_=g[0].length,c=p===2||_===2,s,d,f,b,x,y,C,w,R;for(d=0;d<p-1;d++)for(b=[],d===0&&(b=b.concat(l.BOTTOMSTART)),d===p-2&&(b=b.concat(l.TOPSTART)),s=0;s<_-1;s++)for(f=b.slice(),s===0&&(f=f.concat(l.LEFTSTART)),s===_-2&&(f=f.concat(l.RIGHTSTART)),x=s+","+d,y=[[g[d][s],g[d][s+1]],[g[d+1][s],g[d+1][s+1]]],R=0;R<S.length;R++)w=S[R],C=v(w.level,y),C&&(w.crossings[x]=C,f.indexOf(C)!==-1&&(w.starts.push([s,d]),c&&f.indexOf(C,f.indexOf(C)+1)!==-1&&w.starts.push([s,d])))};function v(i,S){var g=(S[0][0]>i?0:1)+(S[0][1]>i?0:2)+(S[1][1]>i?0:4)+(S[1][0]>i?0:8);if(g===5||g===10){var p=(S[0][0]+S[0][1]+S[1][0]+S[1][1])/4;return i>p?g===5?713:1114:g===5?104:208}return g===15?0:g}},23676:function(u,h,a){var l=a(33428),v=a(3400),i=a(43616),S=a(8932),g=a(72736),p=a(54460),_=a(78344),c=a(41420),s=a(72424),d=a(88748),f=a(61512),b=a(82172),x=a(56008),y=a(93252),C=y.LABELOPTIMIZER;h.plot=function(M,F,N,T){var D=F.xaxis,O=F.yaxis;v.makeTraceGroups(T,N,"contour").each(function(U){var B=l.select(this),Y=U[0],z=Y.trace,V=Y.x,j=Y.y,G=z.contours,W=f(G,F,Y),X=v.ensureSingle(B,"g","heatmapcoloring"),Q=[];G.coloring==="heatmap"&&(Q=[U]),c(M,F,Q,X),s(W),d(W);var ae=D.c2p(V[0],!0),ie=D.c2p(V[V.length-1],!0),he=O.c2p(j[0],!0),J=O.c2p(j[j.length-1],!0),Z=[[ae,J],[ie,J],[ie,he],[ae,he]],le=W;G.type==="constraint"&&(le=b(W,G._operation)),w(B,Z,G),R(B,le,Z,G),E(B,W,M,Y,G),L(B,F,M,Y,Z)})};function w(P,M,F){var N=v.ensureSingle(P,"g","contourbg"),T=N.selectAll("path").data(F.coloring==="fill"?[0]:[]);T.enter().append("path"),T.exit().remove(),T.attr("d","M"+M.join("L")+"Z").style("stroke","none")}function R(P,M,F,N){var T=N.coloring==="fill"||N.type==="constraint"&&N._operation!=="=",D="M"+F.join("L")+"Z";T&&x(M,N);var O=v.ensureSingle(P,"g","contourfill"),U=O.selectAll("path").data(T?M:[]);U.enter().append("path"),U.exit().remove(),U.each(function(B){var Y=(B.prefixBoundary?D:"")+A(B,F);Y?l.select(this).attr("d",Y).style("stroke","none"):l.select(this).remove()})}function A(P,M){var F="",N=0,T=P.edgepaths.map(function(ae,ie){return ie}),D=!0,O,U,B,Y,z,V;function j(ae){return Math.abs(ae[1]-M[0][1])<.01}function G(ae){return Math.abs(ae[1]-M[2][1])<.01}function W(ae){return Math.abs(ae[0]-M[0][0])<.01}function X(ae){return Math.abs(ae[0]-M[2][0])<.01}for(;T.length;){for(V=i.smoothopen(P.edgepaths[N],P.smoothing),F+=D?V:V.replace(/^M/,"L"),T.splice(T.indexOf(N),1),O=P.edgepaths[N][P.edgepaths[N].length-1],Y=-1,B=0;B<4;B++){if(!O){v.log("Missing end?",N,P);break}for(j(O)&&!X(O)?U=M[1]:W(O)?U=M[0]:G(O)?U=M[3]:X(O)&&(U=M[2]),z=0;z<P.edgepaths.length;z++){var Q=P.edgepaths[z][0];Math.abs(O[0]-U[0])<.01?Math.abs(O[0]-Q[0])<.01&&(Q[1]-O[1])*(U[1]-Q[1])>=0&&(U=Q,Y=z):Math.abs(O[1]-U[1])<.01?Math.abs(O[1]-Q[1])<.01&&(Q[0]-O[0])*(U[0]-Q[0])>=0&&(U=Q,Y=z):v.log("endpt to newendpt is not vert. or horz.",O,U,Q)}if(O=U,Y>=0)break;F+="L"+U}if(Y===P.edgepaths.length){v.log("unclosed perimeter path");break}N=Y,D=T.indexOf(N)===-1,D&&(N=T[0],F+="Z")}for(N=0;N<P.paths.length;N++)F+=i.smoothclosed(P.paths[N],P.smoothing);return F}function E(P,M,F,N,T){var D=F._context.staticPlot,O=v.ensureSingle(P,"g","contourlines"),U=T.showlines!==!1,B=T.showlabels,Y=U&&B,z=h.createLines(O,U||B,M,D),V=h.createLineClip(O,Y,F,N.trace.uid),j=P.selectAll("g.contourlabels").data(B?[0]:[]);if(j.exit().remove(),j.enter().append("g").classed("contourlabels",!0),B){var G=[],W=[];v.clearLocationCache();var X=h.labelFormatter(F,N),Q=i.tester.append("text").attr("data-notex",1).call(i.font,T.labelfont),ae=M[0].xaxis,ie=M[0].yaxis,he=ae._length,J=ie._length,Z=ae.range,le=ie.range,K=v.aggNums(Math.min,null,N.x),te=v.aggNums(Math.max,null,N.x),ce=v.aggNums(Math.min,null,N.y),re=v.aggNums(Math.max,null,N.y),ee=Math.max(ae.c2p(K,!0),0),de=Math.min(ae.c2p(te,!0),he),oe=Math.max(ie.c2p(re,!0),0),fe=Math.min(ie.c2p(ce,!0),J),me={};Z[0]<Z[1]?(me.left=ee,me.right=de):(me.left=de,me.right=ee),le[0]<le[1]?(me.top=oe,me.bottom=fe):(me.top=fe,me.bottom=oe),me.middle=(me.top+me.bottom)/2,me.center=(me.left+me.right)/2,G.push([[me.left,me.top],[me.right,me.top],[me.right,me.bottom],[me.left,me.bottom]]);var Te=Math.sqrt(he*he+J*J),we=y.LABELDISTANCE*Te/Math.max(1,M.length/y.LABELINCREASE);z.each(function(Be){var Ae=h.calcTextOpts(Be.level,X,Q,F);l.select(this).selectAll("path").each(function(){var Re=this,be=v.getVisibleSegment(Re,me,Ae.height/2);if(be&&!(be.len<(Ae.width+Ae.height)*y.LABELMIN))for(var Pe=Math.min(Math.ceil(be.len/we),y.LABELMAX),Ke=0;Ke<Pe;Ke++){var ze=h.findBestTextLocation(Re,be,Ae,W,me);if(!ze)break;h.addLabelData(ze,Ae,W,G)}})}),Q.remove(),h.drawLabels(j,W,F,V,Y?G:null)}B&&!U&&z.remove()}h.createLines=function(P,M,F,N){var T=F[0].smoothing,D=P.selectAll("g.contourlevel").data(M?F:[]);if(D.exit().remove(),D.enter().append("g").classed("contourlevel",!0),M){var O=D.selectAll("path.openline").data(function(B){return B.pedgepaths||B.edgepaths});O.exit().remove(),O.enter().append("path").classed("openline",!0),O.attr("d",function(B){return i.smoothopen(B,T)}).style("stroke-miterlimit",1).style("vector-effect",N?"none":"non-scaling-stroke");var U=D.selectAll("path.closedline").data(function(B){return B.ppaths||B.paths});U.exit().remove(),U.enter().append("path").classed("closedline",!0),U.attr("d",function(B){return i.smoothclosed(B,T)}).style("stroke-miterlimit",1).style("vector-effect",N?"none":"non-scaling-stroke")}return D},h.createLineClip=function(P,M,F,N){var T=F._fullLayout._clips,D=M?"clipline"+N:null,O=T.selectAll("#"+D).data(M?[0]:[]);return O.exit().remove(),O.enter().append("clipPath").classed("contourlineclip",!0).attr("id",D),i.setClipUrl(P,D,F),O},h.labelFormatter=function(P,M){var F=P._fullLayout,N=M.trace,T=N.contours,D={type:"linear",_id:"ycontour",showexponent:"all",exponentformat:"B"};if(T.labelformat)D.tickformat=T.labelformat,_(D,F);else{var O=S.extractOpts(N);if(O&&O.colorbar&&O.colorbar._axis)D=O.colorbar._axis;else{if(T.type==="constraint"){var U=T.value;v.isArrayOrTypedArray(U)?D.range=[U[0],U[U.length-1]]:D.range=[U,U]}else D.range=[T.start,T.end],D.nticks=(T.end-T.start)/T.size;D.range[0]===D.range[1]&&(D.range[1]+=D.range[0]||1),D.nticks||(D.nticks=1e3),_(D,F),p.prepTicks(D),D._tmin=null,D._tmax=null}}return function(B){return p.tickText(D,B).text}},h.calcTextOpts=function(P,M,F,N){var T=M(P);F.text(T).call(g.convertToTspans,N);var D=F.node(),O=i.bBox(D,!0);return{text:T,width:O.width,height:O.height,fontSize:+D.style["font-size"].replace("px",""),level:P,dy:(O.top+O.bottom)/2}},h.findBestTextLocation=function(P,M,F,N,T){var D=F.width,O,U,B,Y,z;M.isClosed?(U=M.len/C.INITIALSEARCHPOINTS,O=M.min+U/2,B=M.max):(U=(M.len-D)/(C.INITIALSEARCHPOINTS+1),O=M.min+U+D/2,B=M.max-(U+D)/2);for(var V=1/0,j=0;j<C.ITERATIONS;j++){for(var G=O;G<B;G+=U){var W=v.getTextLocation(P,M.total,G,D),X=k(W,F,N,T);X<V&&(V=X,z=W,Y=G)}if(V>C.MAXCOST*2)break;j&&(U/=2),O=Y-U/2,B=O+U*1.5}if(V<=C.MAXCOST)return z};function k(P,M,F,N){var T=M.width/2,D=M.height/2,O=P.x,U=P.y,B=P.theta,Y=Math.cos(B)*T,z=Math.sin(B)*T,V=(O>N.center?N.right-O:O-N.left)/(Y+Math.abs(Math.sin(B)*D)),j=(U>N.middle?N.bottom-U:U-N.top)/(Math.abs(z)+Math.cos(B)*D);if(V<1||j<1)return 1/0;var G=C.EDGECOST*(1/(V-1)+1/(j-1));G+=C.ANGLECOST*B*B;for(var W=O-Y,X=U-z,Q=O+Y,ae=U+z,ie=0;ie<F.length;ie++){var he=F[ie],J=Math.cos(he.theta)*he.width/2,Z=Math.sin(he.theta)*he.width/2,le=v.segmentDistance(W,X,Q,ae,he.x-J,he.y-Z,he.x+J,he.y+Z)*2/(M.height+he.height),K=he.level===M.level,te=K?C.SAMELEVELDISTANCE:1;if(le<=te)return 1/0;var ce=C.NEIGHBORCOST*(K?C.SAMELEVELFACTOR:1);G+=ce/(le-te)}return G}h.addLabelData=function(P,M,F,N){var T=M.fontSize,D=M.width+T/3,O=Math.max(0,M.height-T/3),U=P.x,B=P.y,Y=P.theta,z=Math.sin(Y),V=Math.cos(Y),j=function(W,X){return[U+W*V-X*z,B+W*z+X*V]},G=[j(-D/2,-O/2),j(-D/2,O/2),j(D/2,O/2),j(D/2,-O/2)];F.push({text:M.text,x:U,y:B,dy:M.dy,theta:Y,level:M.level,width:D,height:O}),N.push(G)},h.drawLabels=function(P,M,F,N,T){var D=P.selectAll("text").data(M,function(Y){return Y.text+","+Y.x+","+Y.y+","+Y.theta});if(D.exit().remove(),D.enter().append("text").attr({"data-notex":1,"text-anchor":"middle"}).each(function(Y){var z=Y.x+Math.sin(Y.theta)*Y.dy,V=Y.y-Math.cos(Y.theta)*Y.dy;l.select(this).text(Y.text).attr({x:z,y:V,transform:"rotate("+180*Y.theta/Math.PI+" "+z+" "+V+")"}).call(g.convertToTspans,F)}),T){for(var O="",U=0;U<T.length;U++)O+="M"+T[U].join("L")+"Z";var B=v.ensureSingle(N,"path","");B.attr("d",O)}};function L(P,M,F,N,T){var D=N.trace,O=F._fullLayout._clips,U="clip"+D.uid,B=O.selectAll("#"+U).data(D.connectgaps?[]:[0]);if(B.enter().append("clipPath").classed("contourclip",!0).attr("id",U),B.exit().remove(),D.connectgaps===!1){var Y={level:.9,crossings:{},starts:[],edgepaths:[],paths:[],xaxis:M.xaxis,yaxis:M.yaxis,x:N.x,y:N.y,z:I(N),smoothing:0};s([Y]),d([Y]),x([Y],{type:"levels"});var z=v.ensureSingle(B,"path","");z.attr("d",(Y.prefixBoundary?"M"+T.join("L")+"Z":"")+A(Y,T))}else U=null;i.setClipUrl(P,U,F)}function I(P){var M=P.trace._emptypoints,F=[],N=P.z.length,T=P.z[0].length,D,O=[],U;for(D=0;D<T;D++)O.push(1);for(D=0;D<N;D++)F.push(O.slice());for(D=0;D<M.length;D++)U=M[D],F[U[0]][U[1]]=0;return P.zmask=F,F}},54444:function(u,h,a){var l=a(54460),v=a(3400);u.exports=function(g,p){var _=g.contours;if(g.autocontour){var c=g.zmin,s=g.zmax;(g.zauto||c===void 0)&&(c=v.aggNums(Math.min,null,p)),(g.zauto||s===void 0)&&(s=v.aggNums(Math.max,null,p));var d=i(c,s,g.ncontours);_.size=d.dtick,_.start=l.tickFirst(d),d.range.reverse(),_.end=l.tickFirst(d),_.start===c&&(_.start+=_.size),_.end===s&&(_.end-=_.size),_.start>_.end&&(_.start=_.end=(_.start+_.end)/2),g._input.contours||(g._input.contours={}),v.extendFlat(g._input.contours,{start:_.start,end:_.end,size:_.size}),g._input.autocontour=!0}else if(_.type!=="constraint"){var f=_.start,b=_.end,x=g._input.contours;if(f>b&&(_.start=x.start=b,b=_.end=x.end=f,f=_.start),!(_.size>0)){var y;f===b?y=1:y=i(f,b,g.ncontours).dtick,x.size=_.size=y}}};function i(S,g,p){var _={type:"linear",range:[S,g]};return l.autoTicks(_,(g-S)/(p||15)),_}},52440:function(u,h,a){var l=a(33428),v=a(43616),i=a(41648),S=a(41076);u.exports=function(p){var _=l.select(p).selectAll("g.contour");_.style("opacity",function(c){return c[0].trace.opacity}),_.each(function(c){var s=l.select(this),d=c[0].trace,f=d.contours,b=d.line,x=f.size||1,y=f.start,C=f.type==="constraint",w=!C&&f.coloring==="lines",R=!C&&f.coloring==="fill",A=w||R?S(d):null;s.selectAll("g.contourlevel").each(function(L){l.select(this).selectAll("path").call(v.lineGroupStyle,b.width,w?A(L.level):b.color,b.dash)});var E=f.labelfont;if(s.selectAll("g.contourlabels text").each(function(L){v.font(l.select(this),{family:E.family,size:E.size,color:E.color||(w?A(L.level):b.color)})}),C)s.selectAll("g.contourfill path").style("fill",d.fillcolor);else if(R){var k;s.selectAll("g.contourfill path").style("fill",function(L){return k===void 0&&(k=L.level),A(L.level+.5*x)}),k===void 0&&(k=y),s.selectAll("g.contourbg path").style("fill",A(k-.5*x))}}),i(p)}},97680:function(u,h,a){var l=a(27260),v=a(17428);u.exports=function(S,g,p,_,c){var s=p("contours.coloring"),d,f="";s==="fill"&&(d=p("contours.showlines")),d!==!1&&(s!=="lines"&&(f=p("line.color","#000")),p("line.width",.5),p("line.dash")),s!=="none"&&(S.showlegend!==!0&&(g.showlegend=!1),g._dfltShowLegend=!1,l(S,g,_,p,{prefix:"",cLetter:"z"})),p("line.smoothing"),v(p,_,f,c)}},37960:function(u,h,a){var l=a(83328),v=a(67104),i=a(49084),S=a(92880).extendFlat,g=v.contours;u.exports=S({carpet:{valType:"string",editType:"calc"},z:l.z,a:l.x,a0:l.x0,da:l.dx,b:l.y,b0:l.y0,db:l.dy,text:l.text,hovertext:l.hovertext,transpose:l.transpose,atype:l.xtype,btype:l.ytype,fillcolor:v.fillcolor,autocontour:v.autocontour,ncontours:v.ncontours,contours:{type:g.type,start:g.start,end:g.end,size:g.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:g.showlines,showlabels:g.showlabels,labelfont:g.labelfont,labelformat:g.labelformat,operation:g.operation,value:g.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:v.line.color,width:v.line.width,dash:v.line.dash,smoothing:v.line.smoothing,editType:"plot"},transforms:void 0},i("",{cLetter:"z",autoColorDflt:!1}))},30572:function(u,h,a){var l=a(47128),v=a(3400),i=a(2872),S=a(26136),g=a(70448),p=a(11240),_=a(35744),c=a(3252),s=a(50948),d=a(54444);u.exports=function(x,y){var C=y._carpetTrace=s(x,y);if(!(!C||!C.visible||C.visible==="legendonly")){if(!y.a||!y.b){var w=x.data[C.index],R=x.data[y.index];R.a||(R.a=w.a),R.b||(R.b=w.b),c(R,y,y._defaultColor,x._fullLayout)}var A=f(x,y);return d(y,y._z),A}};function f(b,x){var y=x._carpetTrace,C=y.aaxis,w=y.baxis,R,A,E,k,L,I,P;C._minDtick=0,w._minDtick=0,v.isArray1D(x.z)&&i(x,C,w,"a","b",["z"]),R=x._a=x._a||x.a,k=x._b=x._b||x.b,R=R?C.makeCalcdata(x,"_a"):[],k=k?w.makeCalcdata(x,"_b"):[],A=x.a0||0,E=x.da||1,L=x.b0||0,I=x.db||1,P=x._z=S(x._z||x.z,x.transpose),x._emptypoints=p(P),g(P,x._emptypoints);var M=v.maxRowLength(P),F=x.xtype==="scaled"?"":R,N=_(x,F,A,E,M,C),T=x.ytype==="scaled"?"":k,D=_(x,T,L,I,P.length,w),O={a:N,b:D,z:P};return x.contours.type==="levels"&&x.contours.coloring!=="none"&&l(b,x,{vals:P,containerStr:"",cLetter:"z"}),[O]}},3252:function(u,h,a){var l=a(3400),v=a(51264),i=a(37960),S=a(95536),g=a(84952),p=a(97680);u.exports=function(c,s,d,f){function b(w,R){return l.coerce(c,s,i,w,R)}function x(w){return l.coerce2(c,s,i,w)}if(b("carpet"),c.a&&c.b){var y=v(c,s,b,f,"a","b");if(!y){s.visible=!1;return}b("text");var C=b("contours.type")==="constraint";C?S(c,s,b,f,d,{hasHover:!1}):(g(c,s,b,x),p(c,s,b,f,{hasHover:!1}))}else s._defaultColor=d,s._length=null}},40448:function(u,h,a){u.exports={attributes:a(37960),supplyDefaults:a(3252),colorbar:a(55296),calc:a(30572),plot:a(94440),style:a(52440),moduleType:"trace",name:"contourcarpet",basePlotModule:a(57952),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{}}},94440:function(u,h,a){var l=a(33428),v=a(87072),i=a(53416),S=a(43616),g=a(3400),p=a(72424),_=a(88748),c=a(23676),s=a(93252),d=a(82172),f=a(61512),b=a(56008),x=a(50948),y=a(77712);u.exports=function(F,N,T,D){var O=N.xaxis,U=N.yaxis;g.makeTraceGroups(D,T,"contour").each(function(B){var Y=l.select(this),z=B[0],V=z.trace,j=V._carpetTrace=x(F,V),G=F.calcdata[j.index][0];if(!j.visible||j.visible==="legendonly")return;var W=z.a,X=z.b,Q=V.contours,ae=f(Q,N,z),ie=Q.type==="constraint",he=Q._operation,J=ie?he==="="?"lines":"fill":Q.coloring;function Z(Te){var we=j.ab2xy(Te[0],Te[1],!0);return[O.c2p(we[0]),U.c2p(we[1])]}var le=[[W[0],X[X.length-1]],[W[W.length-1],X[X.length-1]],[W[W.length-1],X[0]],[W[0],X[0]]];p(ae);var K=(W[W.length-1]-W[0])*1e-8,te=(X[X.length-1]-X[0])*1e-8;_(ae,K,te);var ce=ae;Q.type==="constraint"&&(ce=d(ae,he)),C(ae,Z);var re,ee,de,oe,fe=[];for(oe=G.clipsegments.length-1;oe>=0;oe--)re=G.clipsegments[oe],ee=v([],re.x,O.c2p),de=v([],re.y,U.c2p),ee.reverse(),de.reverse(),fe.push(i(ee,de,re.bicubic));var me="M"+fe.join("L")+"Z";L(Y,G.clipsegments,O,U,ie,J),I(V,Y,O,U,ce,le,Z,j,G,J,me),w(Y,ae,F,z,Q,N,j),S.setClipUrl(Y,j._clipPathId,F)})};function C(M,F){var N,T,D,O,U,B,Y,z,V;for(N=0;N<M.length;N++){for(O=M[N],U=O.pedgepaths=[],B=O.ppaths=[],T=0;T<O.edgepaths.length;T++){for(V=O.edgepaths[T],Y=[],D=0;D<V.length;D++)Y[D]=F(V[D]);U.push(Y)}for(T=0;T<O.paths.length;T++){for(V=O.paths[T],z=[],D=0;D<V.length;D++)z[D]=F(V[D]);B.push(z)}}}function w(M,F,N,T,D,O,U){var B=N._context.staticPlot,Y=g.ensureSingle(M,"g","contourlines"),z=D.showlines!==!1,V=D.showlabels,j=z&&V,G=c.createLines(Y,z||V,F,B),W=c.createLineClip(Y,j,N,T.trace.uid),X=M.selectAll("g.contourlabels").data(V?[0]:[]);if(X.exit().remove(),X.enter().append("g").classed("contourlabels",!0),V){var Q=O.xaxis,ae=O.yaxis,ie=Q._length,he=ae._length,J=[[[0,0],[ie,0],[ie,he],[0,he]]],Z=[];g.clearLocationCache();var le=c.labelFormatter(N,T),K=S.tester.append("text").attr("data-notex",1).call(S.font,D.labelfont),te={left:0,right:ie,center:ie/2,top:0,bottom:he,middle:he/2},ce=Math.sqrt(ie*ie+he*he),re=s.LABELDISTANCE*ce/Math.max(1,F.length/s.LABELINCREASE);G.each(function(ee){var de=c.calcTextOpts(ee.level,le,K,N);l.select(this).selectAll("path").each(function(oe){var fe=this,me=g.getVisibleSegment(fe,te,de.height/2);if(me&&(R(fe,oe,ee,me,U,de.height),!(me.len<(de.width+de.height)*s.LABELMIN)))for(var Te=Math.min(Math.ceil(me.len/re),s.LABELMAX),we=0;we<Te;we++){var Be=c.findBestTextLocation(fe,me,de,Z,te);if(!Be)break;c.addLabelData(Be,de,Z,J)}})}),K.remove(),c.drawLabels(X,Z,N,W,j?J:null)}V&&!z&&G.remove()}function R(M,F,N,T,D,O){for(var U,B=0;B<N.pedgepaths.length;B++)F===N.pedgepaths[B]&&(U=N.edgepaths[B]);if(!U)return;var Y=D.a[0],z=D.a[D.a.length-1],V=D.b[0],j=D.b[D.b.length-1];function G(ie,he){var J=0,Z,le=.1;return(Math.abs(ie[0]-Y)<le||Math.abs(ie[0]-z)<le)&&(Z=E(D.dxydb_rough(ie[0],ie[1],le)),J=Math.max(J,O*k(he,Z)/2)),(Math.abs(ie[1]-V)<le||Math.abs(ie[1]-j)<le)&&(Z=E(D.dxyda_rough(ie[0],ie[1],le)),J=Math.max(J,O*k(he,Z)/2)),J}var W=A(M,0,1),X=A(M,T.total,T.total-1),Q=G(U[0],W),ae=T.total-G(U[U.length-1],X);T.min<Q&&(T.min=Q),T.max>ae&&(T.max=ae),T.len=T.max-T.min}function A(M,F,N){var T=M.getPointAtLength(F),D=M.getPointAtLength(N),O=D.x-T.x,U=D.y-T.y,B=Math.sqrt(O*O+U*U);return[O/B,U/B]}function E(M){var F=Math.sqrt(M[0]*M[0]+M[1]*M[1]);return[M[0]/F,M[1]/F]}function k(M,F){var N=Math.abs(M[0]*F[0]+M[1]*F[1]),T=Math.sqrt(1-N*N);return T/N}function L(M,F,N,T,D,O){var U,B,Y,z,V=g.ensureSingle(M,"g","contourbg"),j=V.selectAll("path").data(O==="fill"&&!D?[0]:[]);j.enter().append("path"),j.exit().remove();var G=[];for(z=0;z<F.length;z++)U=F[z],B=v([],U.x,N.c2p),Y=v([],U.y,T.c2p),G.push(i(B,Y,U.bicubic));j.attr("d","M"+G.join("L")+"Z").style("stroke","none")}function I(M,F,N,T,D,O,U,B,Y,z,V){var j=z==="fill";j&&b(D,M.contours);var G=g.ensureSingle(F,"g","contourfill"),W=G.selectAll("path").data(j?D:[]);W.enter().append("path"),W.exit().remove(),W.each(function(X){var Q=(X.prefixBoundary?V:"")+P(M,X,O,U,B,Y,N,T);Q?l.select(this).attr("d",Q).style("stroke","none"):l.select(this).remove()})}function P(M,F,N,T,D,O,U,B){var Y,z="",V=F.edgepaths.map(function(de,oe){return oe}),j=!0,G,W,X,Q,ae,ie,he=Math.abs(N[0][0]-N[2][0])*1e-4,J=Math.abs(N[0][1]-N[2][1])*1e-4;function Z(de){return Math.abs(de[1]-N[0][1])<J}function le(de){return Math.abs(de[1]-N[2][1])<J}function K(de){return Math.abs(de[0]-N[0][0])<he}function te(de){return Math.abs(de[0]-N[2][0])<he}function ce(de,oe){var fe,me,Te,we,Be="";for(Z(de)&&!te(de)||le(de)&&!K(de)?(we=D.aaxis,Te=y(D,O,[de[0],oe[0]],.5*(de[1]+oe[1]))):(we=D.baxis,Te=y(D,O,.5*(de[0]+oe[0]),[de[1],oe[1]])),fe=1;fe<Te.length;fe++)for(Be+=we.smoothing?"C":"L",me=0;me<Te[fe].length;me++){var Ae=Te[fe][me];Be+=[U.c2p(Ae[0]),B.c2p(Ae[1])]+" "}return Be}for(Y=0,G=null;V.length;){var re=F.edgepaths[Y][0];for(G&&(z+=ce(G,re)),ie=S.smoothopen(F.edgepaths[Y].map(T),F.smoothing),z+=j?ie:ie.replace(/^M/,"L"),V.splice(V.indexOf(Y),1),G=F.edgepaths[Y][F.edgepaths[Y].length-1],Q=-1,X=0;X<4;X++){if(!G){g.log("Missing end?",Y,F);break}for(Z(G)&&!te(G)?W=N[1]:K(G)?W=N[0]:le(G)?W=N[3]:te(G)&&(W=N[2]),ae=0;ae<F.edgepaths.length;ae++){var ee=F.edgepaths[ae][0];Math.abs(G[0]-W[0])<he?Math.abs(G[0]-ee[0])<he&&(ee[1]-G[1])*(W[1]-ee[1])>=0&&(W=ee,Q=ae):Math.abs(G[1]-W[1])<J?Math.abs(G[1]-ee[1])<J&&(ee[0]-G[0])*(W[0]-ee[0])>=0&&(W=ee,Q=ae):g.log("endpt to newendpt is not vert. or horz.",G,W,ee)}if(Q>=0)break;z+=ce(G,W),G=W}if(Q===F.edgepaths.length){g.log("unclosed perimeter path");break}Y=Q,j=V.indexOf(Y)===-1,j&&(Y=V[0],z+=ce(G,W)+"Z",G=null)}for(Y=0;Y<F.paths.length;Y++)z+=S.smoothclosed(F.paths[Y].map(T),F.smoothing);return z}},33928:function(u,h,a){var l=a(49084),v=a(21776).Ks,i=a(45464),S=a(31512),g=a(92880).extendFlat;u.exports=g({lon:S.lon,lat:S.lat,z:{valType:"data_array",editType:"calc"},radius:{valType:"number",editType:"plot",arrayOk:!0,min:1,dflt:30},below:{valType:"string",editType:"plot"},text:S.text,hovertext:S.hovertext,hoverinfo:g({},i.hoverinfo,{flags:["lon","lat","z","text","name"]}),hovertemplate:v(),showlegend:g({},i.showlegend,{dflt:!1})},l("",{cLetter:"z",editTypeOverride:"calc"}))},90876:function(u,h,a){var l=a(38248),v=a(3400).isArrayOrTypedArray,i=a(39032).BADNUM,S=a(47128),g=a(3400)._;u.exports=function(_,c){for(var s=c._length,d=new Array(s),f=c.z,b=v(f)&&f.length,x=0;x<s;x++){var y=d[x]={},C=c.lon[x],w=c.lat[x];if(y.lonlat=l(C)&&l(w)?[+C,+w]:[i,i],b){var R=f[x];y.z=l(R)?R:i}}return S(_,c,{vals:b?f:[0,1],containerStr:"",cLetter:"z"}),s&&(d[0].t={labels:{lat:g(_,"lat:")+" ",lon:g(_,"lon:")+" "}}),d}},4629:function(u,h,a){var l=a(38248),v=a(3400),i=a(76308),S=a(8932),g=a(39032).BADNUM,p=a(44808).makeBlank;u.exports=function(c){var s=c[0].trace,d=s.visible===!0&&s._length!==0,f={layout:{visibility:"none"},paint:{}},b=s._opts={heatmap:f,geojson:p()};if(!d)return b;var x=[],y,C=s.z,w=s.radius,R=v.isArrayOrTypedArray(C)&&C.length,A=v.isArrayOrTypedArray(w);for(y=0;y<c.length;y++){var E=c[y],k=E.lonlat;if(k[0]!==g){var L={};if(R){var I=E.z;L.z=I!==g?I:0}A&&(L.r=l(w[y])&&w[y]>0?+w[y]:0),x.push({type:"Feature",geometry:{type:"Point",coordinates:k},properties:L})}}var P=S.extractOpts(s),M=P.reversescale?S.flipScale(P.colorscale):P.colorscale,F=M[0][1],N=i.opacity(F)<1?F:i.addOpacity(F,0),T=["interpolate",["linear"],["heatmap-density"],0,N];for(y=1;y<M.length;y++)T.push(M[y][0],M[y][1]);var D=["interpolate",["linear"],["get","z"],P.min,0,P.max,1];return v.extendFlat(b.heatmap.paint,{"heatmap-weight":R?D:1/(P.max-P.min),"heatmap-color":T,"heatmap-radius":A?{type:"identity",property:"r"}:s.radius,"heatmap-opacity":s.opacity}),b.geojson={type:"FeatureCollection",features:x},b.heatmap.layout.visibility="visible",b}},97664:function(u,h,a){var l=a(3400),v=a(27260),i=a(33928);u.exports=function(g,p,_,c){function s(x,y){return l.coerce(g,p,i,x,y)}var d=s("lon")||[],f=s("lat")||[],b=Math.min(d.length,f.length);if(!b){p.visible=!1;return}p._length=b,s("z"),s("radius"),s("below"),s("text"),s("hovertext"),s("hovertemplate"),v(g,p,c,s,{prefix:"",cLetter:"z"})}},96176:function(u){u.exports=function(a,l){return a.lon=l.lon,a.lat=l.lat,a.z=l.z,a}},25336:function(u,h,a){var l=a(54460),v=a(63312).hoverPoints,i=a(63312).getExtraText;u.exports=function(g,p,_){var c=v(g,p,_);if(c){var s=c[0],d=s.cd,f=d[0].trace,b=d[s.index];if(delete s.color,"z"in b){var x=s.subplot.mockAxis;s.z=b.z,s.zLabel=l.tickText(x,x.c2l(b.z),"hover").text}return s.extraText=i(f,b,d[0].t.labels),[s]}}},15088:function(u,h,a){u.exports={attributes:a(33928),supplyDefaults:a(97664),colorbar:a(96288),formatLabels:a(11960),calc:a(90876),plot:a(35256),hoverPoints:a(25336),eventData:a(96176),getBelow:function(l,v){for(var i=v.getMapLayers(),S=0;S<i.length;S++){var g=i[S],p=g.id;if(g.type==="symbol"&&typeof p=="string"&&p.indexOf("plotly-")===-1)return p}},moduleType:"trace",name:"densitymapbox",basePlotModule:a(33688),categories:["mapbox","gl","showLegend"],meta:{hr_name:"density_mapbox"}}},35256:function(u,h,a){var l=a(4629),v=a(47552).traceLayerPrefix;function i(g,p){this.type="densitymapbox",this.subplot=g,this.uid=p,this.sourceId="source-"+p,this.layerList=[["heatmap",v+p+"-heatmap"]],this.below=null}var S=i.prototype;S.update=function(g){var p=this.subplot,_=this.layerList,c=l(g),s=p.belowLookup["trace-"+this.uid];p.map.getSource(this.sourceId).setData(c.geojson),s!==this.below&&(this._removeLayers(),this._addLayers(c,s),this.below=s);for(var d=0;d<_.length;d++){var f=_[d],b=f[0],x=f[1],y=c[b];p.setOptions(x,"setLayoutProperty",y.layout),y.layout.visibility==="visible"&&p.setOptions(x,"setPaintProperty",y.paint)}},S._addLayers=function(g,p){for(var _=this.subplot,c=this.layerList,s=this.sourceId,d=0;d<c.length;d++){var f=c[d],b=f[0],x=g[b];_.addLayer({type:b,id:f[1],source:s,layout:x.layout,paint:x.paint},p)}},S._removeLayers=function(){for(var g=this.subplot.map,p=this.layerList,_=p.length-1;_>=0;_--)g.removeLayer(p[_][1])},S.dispose=function(){var g=this.subplot.map;this._removeLayers(),g.removeSource(this.sourceId)},u.exports=function(p,_){var c=_[0].trace,s=new i(p,c.uid),d=s.sourceId,f=l(_),b=s.below=p.belowLookup["trace-"+c.uid];return p.map.addSource(d,{type:"geojson",data:f.geojson}),s._addLayers(f,b),s}},74248:function(u,h,a){var l=a(3400);u.exports=function(i,S){for(var g=0;g<i.length;g++)i[g].i=g;l.mergeArray(S.text,i,"tx"),l.mergeArray(S.hovertext,i,"htx");var p=S.marker;if(p){l.mergeArray(p.opacity,i,"mo"),l.mergeArray(p.color,i,"mc");var _=p.line;_&&(l.mergeArray(_.color,i,"mlc"),l.mergeArrayCastPositive(_.width,i,"mlw"))}}},20088:function(u,h,a){var l=a(20832),v=a(52904).line,i=a(45464),S=a(29736).axisHoverFormat,g=a(21776).Ks,p=a(21776).Gw,_=a(74732),c=a(92880).extendFlat,s=a(76308);u.exports={x:l.x,x0:l.x0,dx:l.dx,y:l.y,y0:l.y0,dy:l.dy,xperiod:l.xperiod,yperiod:l.yperiod,xperiod0:l.xperiod0,yperiod0:l.yperiod0,xperiodalignment:l.xperiodalignment,yperiodalignment:l.yperiodalignment,xhoverformat:S("x"),yhoverformat:S("y"),hovertext:l.hovertext,hovertemplate:g({},{keys:_.eventDataKeys}),hoverinfo:c({},i.hoverinfo,{flags:["name","x","y","text","percent initial","percent previous","percent total"]}),textinfo:{valType:"flaglist",flags:["label","text","percent initial","percent previous","percent total","value"],extras:["none"],editType:"plot",arrayOk:!1},texttemplate:p({editType:"plot"},{keys:_.eventDataKeys.concat(["label","value"])}),text:l.text,textposition:l.textposition,insidetextanchor:c({},l.insidetextanchor,{dflt:"middle"}),textangle:c({},l.textangle,{dflt:0}),textfont:l.textfont,insidetextfont:l.insidetextfont,outsidetextfont:l.outsidetextfont,constraintext:l.constraintext,cliponaxis:l.cliponaxis,orientation:c({},l.orientation,{}),offset:c({},l.offset,{arrayOk:!1}),width:c({},l.width,{arrayOk:!1}),marker:d(),connector:{fillcolor:{valType:"color",editType:"style"},line:{color:c({},v.color,{dflt:s.defaultLine}),width:c({},v.width,{dflt:0,editType:"plot"}),dash:v.dash,editType:"style"},visible:{valType:"boolean",dflt:!0,editType:"plot"},editType:"plot"},offsetgroup:l.offsetgroup,alignmentgroup:l.alignmentgroup};function d(){var f=c({},l.marker);return delete f.pattern,delete f.cornerradius,f}},23096:function(u,h,a){var l=a(54460),v=a(1220),i=a(74248),S=a(4500),g=a(39032).BADNUM;u.exports=function(c,s){var d=l.getFromId(c,s.xaxis||"x"),f=l.getFromId(c,s.yaxis||"y"),b,x,y,C,w,R,A,E;s.orientation==="h"?(b=d.makeCalcdata(s,"x"),y=f.makeCalcdata(s,"y"),C=v(s,f,"y",y),w=!!s.yperiodalignment,R="y"):(b=f.makeCalcdata(s,"y"),y=d.makeCalcdata(s,"x"),C=v(s,d,"x",y),w=!!s.xperiodalignment,R="x"),x=C.vals;var k=Math.min(x.length,b.length),L=new Array(k);for(s._base=[],A=0;A<k;A++){b[A]<0&&(b[A]=g);var I=!1;b[A]!==g&&A+1<k&&b[A+1]!==g&&(I=!0),E=L[A]={p:x[A],s:b[A],cNext:I},s._base[A]=-.5*E.s,w&&(L[A].orig_p=y[A],L[A][R+"End"]=C.ends[A],L[A][R+"Start"]=C.starts[A]),s.ids&&(E.id=String(s.ids[A])),A===0&&(L[0].vTotal=0),L[0].vTotal+=p(E.s),E.begR=p(E.s)/p(L[0].s)}var P;for(A=0;A<k;A++)E=L[A],E.s!==g&&(E.sumR=E.s/L[0].vTotal,E.difR=P!==void 0?E.s/P:1,P=E.s);return i(L,s),S(L,s),L};function p(_){return _===g?0:_}},74732:function(u){u.exports={eventDataKeys:["percentInitial","percentPrevious","percentTotal"]}},4804:function(u,h,a){var l=a(96376).setGroupPositions;u.exports=function(i,S){var g=i._fullLayout,p=i._fullData,_=i.calcdata,c=S.xaxis,s=S.yaxis,d=[],f=[],b=[],x,y;for(y=0;y<p.length;y++){var C=p[y],w=C.orientation==="h";C.visible===!0&&C.xaxis===c._id&&C.yaxis===s._id&&C.type==="funnel"&&(x=_[y],w?b.push(x):f.push(x),d.push(x))}var R={mode:g.funnelmode,norm:g.funnelnorm,gap:g.funnelgap,groupgap:g.funnelgroupgap};for(l(i,c,s,f,R),l(i,s,c,b,R),y=0;y<d.length;y++){x=d[y];for(var A=0;A<x.length;A++)A+1<x.length&&(x[A].nextP0=x[A+1].p0,x[A].nextS0=x[A+1].s0,x[A].nextP1=x[A+1].p1,x[A].nextS1=x[A+1].s1)}}},45432:function(u,h,a){var l=a(3400),v=a(20011),i=a(31508).handleText,S=a(43980),g=a(31147),p=a(20088),_=a(76308);function c(f,b,x,y){function C(I,P){return l.coerce(f,b,p,I,P)}var w=S(f,b,y,C);if(!w){b.visible=!1;return}g(f,b,y,C),C("xhoverformat"),C("yhoverformat"),C("orientation",b.y&&!b.x?"v":"h"),C("offset"),C("width");var R=C("text");C("hovertext"),C("hovertemplate");var A=C("textposition");i(f,b,y,C,A,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),b.textposition!=="none"&&!b.texttemplate&&C("textinfo",l.isArrayOrTypedArray(R)?"text+value":"value");var E=C("marker.color",x);C("marker.line.color",_.defaultLine),C("marker.line.width");var k=C("connector.visible");if(k){C("connector.fillcolor",s(E));var L=C("connector.line.width");L&&(C("connector.line.color"),C("connector.line.dash"))}}function s(f){var b=l.isArrayOrTypedArray(f)?"#000":f;return _.addOpacity(b,.5*_.opacity(b))}function d(f,b){var x,y;function C(R){return l.coerce(y._input,y,p,R)}if(b.funnelmode==="group")for(var w=0;w<f.length;w++)y=f[w],x=y._input,v(x,y,b,C)}u.exports={supplyDefaults:c,crossTraceDefaults:d}},34580:function(u){u.exports=function(a,l){return a.x="xVal"in l?l.xVal:l.x,a.y="yVal"in l?l.yVal:l.y,"percentInitial"in l&&(a.percentInitial=l.percentInitial),"percentPrevious"in l&&(a.percentPrevious=l.percentPrevious),"percentTotal"in l&&(a.percentTotal=l.percentTotal),l.xa&&(a.xaxis=l.xa),l.ya&&(a.yaxis=l.ya),a}},31488:function(u,h,a){var l=a(76308).opacity,v=a(63400).hoverOnBars,i=a(3400).formatPercent;u.exports=function(p,_,c,s,d){var f=v(p,_,c,s,d);if(f){var b=f.cd,x=b[0].trace,y=x.orientation==="h",C=f.index,w=b[C],R=y?"x":"y";f[R+"LabelVal"]=w.s,f.percentInitial=w.begR,f.percentInitialLabel=i(w.begR,1),f.percentPrevious=w.difR,f.percentPreviousLabel=i(w.difR,1),f.percentTotal=w.sumR,f.percentTotalLabel=i(w.sumR,1);var A=w.hi||x.hoverinfo,E=[];if(A&&A!=="none"&&A!=="skip"){var k=A==="all",L=A.split("+"),I=function(P){return k||L.indexOf(P)!==-1};I("percent initial")&&E.push(f.percentInitialLabel+" of initial"),I("percent previous")&&E.push(f.percentPreviousLabel+" of previous"),I("percent total")&&E.push(f.percentTotalLabel+" of total")}return f.extraText=E.join("<br>"),f.color=S(x,w),[f]}};function S(g,p){var _=g.marker,c=p.mc||_.color,s=p.mlc||_.line.color,d=p.mlw||_.line.width;if(l(c))return c;if(l(s)&&d)return s}},94704:function(u,h,a){u.exports={attributes:a(20088),layoutAttributes:a(7076),supplyDefaults:a(45432).supplyDefaults,crossTraceDefaults:a(45432).crossTraceDefaults,supplyLayoutDefaults:a(11631),calc:a(23096),crossTraceCalc:a(4804),plot:a(42200),style:a(44544).style,hoverPoints:a(31488),eventData:a(34580),selectPoints:a(45784),moduleType:"trace",name:"funnel",basePlotModule:a(57952),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},7076:function(u){u.exports={funnelmode:{valType:"enumerated",values:["stack","group","overlay"],dflt:"stack",editType:"calc"},funnelgap:{valType:"number",min:0,max:1,editType:"calc"},funnelgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},11631:function(u,h,a){var l=a(3400),v=a(7076);u.exports=function(i,S,g){var p=!1;function _(d,f){return l.coerce(i,S,v,d,f)}for(var c=0;c<g.length;c++){var s=g[c];if(s.visible&&s.type==="funnel"){p=!0;break}}p&&(_("funnelmode"),_("funnelgap",.2),_("funnelgroupgap"))}},42200:function(u,h,a){var l=a(33428),v=a(3400),i=a(43616),S=a(39032).BADNUM,g=a(98184),p=a(82744).clearMinTextSize;u.exports=function(f,b,x,y){var C=f._fullLayout;p("funnel",C),_(f,b,x,y),c(f,b,x,y),g.plot(f,b,x,y,{mode:C.funnelmode,norm:C.funnelmode,gap:C.funnelgap,groupgap:C.funnelgroupgap})};function _(d,f,b,x){var y=f.xaxis,C=f.yaxis;v.makeTraceGroups(x,b,"trace bars").each(function(w){var R=l.select(this),A=w[0].trace,E=v.ensureSingle(R,"g","regions");if(!A.connector||!A.connector.visible){E.remove();return}var k=A.orientation==="h",L=E.selectAll("g.region").data(v.identity);L.enter().append("g").classed("region",!0),L.exit().remove();var I=L.size();L.each(function(P,M){if(!(M!==I-1&&!P.cNext)){var F=s(P,y,C,k),N=F[0],T=F[1],D="";N[0]!==S&&T[0]!==S&&N[1]!==S&&T[1]!==S&&N[2]!==S&&T[2]!==S&&N[3]!==S&&T[3]!==S&&(k?D+="M"+N[0]+","+T[1]+"L"+N[2]+","+T[2]+"H"+N[3]+"L"+N[1]+","+T[1]+"Z":D+="M"+N[1]+","+T[1]+"L"+N[2]+","+T[3]+"V"+T[2]+"L"+N[1]+","+T[0]+"Z"),D===""&&(D="M0,0Z"),v.ensureSingle(l.select(this),"path").attr("d",D).call(i.setClipUrl,f.layerClipId,d)}})})}function c(d,f,b,x){var y=f.xaxis,C=f.yaxis;v.makeTraceGroups(x,b,"trace bars").each(function(w){var R=l.select(this),A=w[0].trace,E=v.ensureSingle(R,"g","lines");if(!A.connector||!A.connector.visible||!A.connector.line.width){E.remove();return}var k=A.orientation==="h",L=E.selectAll("g.line").data(v.identity);L.enter().append("g").classed("line",!0),L.exit().remove();var I=L.size();L.each(function(P,M){if(!(M!==I-1&&!P.cNext)){var F=s(P,y,C,k),N=F[0],T=F[1],D="";N[3]!==void 0&&T[3]!==void 0&&(k?(D+="M"+N[0]+","+T[1]+"L"+N[2]+","+T[2],D+="M"+N[1]+","+T[1]+"L"+N[3]+","+T[2]):(D+="M"+N[1]+","+T[1]+"L"+N[2]+","+T[3],D+="M"+N[1]+","+T[0]+"L"+N[2]+","+T[2])),D===""&&(D="M0,0Z"),v.ensureSingle(l.select(this),"path").attr("d",D).call(i.setClipUrl,f.layerClipId,d)}})})}function s(d,f,b,x){var y=[],C=[],w=x?f:b,R=x?b:f;return y[0]=w.c2p(d.s0,!0),C[0]=R.c2p(d.p0,!0),y[1]=w.c2p(d.s1,!0),C[1]=R.c2p(d.p1,!0),y[2]=w.c2p(d.nextS0,!0),C[2]=R.c2p(d.nextP0,!0),y[3]=w.c2p(d.nextS1,!0),C[3]=R.c2p(d.nextP1,!0),x?[y,C]:[C,y]}},44544:function(u,h,a){var l=a(33428),v=a(43616),i=a(76308),S=a(13448).DESELECTDIM,g=a(60100),p=a(82744).resizeText,_=g.styleTextPoints;function c(s,d,f){var b=f||l.select(s).selectAll("g.funnellayer").selectAll("g.trace");p(s,b,"funnel"),b.style("opacity",function(x){return x[0].trace.opacity}),b.each(function(x){var y=l.select(this),C=x[0].trace;y.selectAll(".point > path").each(function(w){if(!w.isBlank){var R=C.marker;l.select(this).call(i.fill,w.mc||R.color).call(i.stroke,w.mlc||R.line.color).call(v.dashLine,R.line.dash,w.mlw||R.line.width).style("opacity",C.selectedpoints&&!w.selected?S:1)}}),_(y,C,s),y.selectAll(".regions").each(function(){l.select(this).selectAll("path").style("stroke-width",0).call(i.fill,C.connector.fillcolor)}),y.selectAll(".lines").each(function(){var w=C.connector.line;v.lineGroupStyle(l.select(this).selectAll("path"),w.width,w.color,w.dash)})})}u.exports={style:c}},22332:function(u,h,a){var l=a(74996),v=a(45464),i=a(86968).u,S=a(21776).Ks,g=a(21776).Gw,p=a(92880).extendFlat;u.exports={labels:l.labels,label0:l.label0,dlabel:l.dlabel,values:l.values,marker:{colors:l.marker.colors,line:{color:p({},l.marker.line.color,{dflt:null}),width:p({},l.marker.line.width,{dflt:1}),editType:"calc"},pattern:l.marker.pattern,editType:"calc"},text:l.text,hovertext:l.hovertext,scalegroup:p({},l.scalegroup,{}),textinfo:p({},l.textinfo,{flags:["label","text","value","percent"]}),texttemplate:g({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:p({},v.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:S({},{keys:["label","color","value","text","percent"]}),textposition:p({},l.textposition,{values:["inside","none"],dflt:"inside"}),textfont:l.textfont,insidetextfont:l.insidetextfont,title:{text:l.title.text,font:l.title.font,position:p({},l.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:i({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",min:0,dflt:1,editType:"plot"},baseratio:{valType:"number",min:0,max:1,dflt:.333,editType:"plot"}}},91248:function(u,h,a){var l=a(7316);h.name="funnelarea",h.plot=function(v,i,S,g){l.plotBasePlot(h.name,v,i,S,g)},h.clean=function(v,i,S,g){l.cleanBasePlot(h.name,v,i,S,g)}},54e3:function(u,h,a){var l=a(45768);function v(S,g){return l.calc(S,g)}function i(S){l.crossTraceCalc(S,{type:"funnelarea"})}u.exports={calc:v,crossTraceCalc:i}},92688:function(u,h,a){var l=a(3400),v=a(22332),i=a(86968).Q,S=a(31508).handleText,g=a(74174).handleLabelsAndValues,p=a(74174).handleMarkerDefaults;u.exports=function(c,s,d,f){function b(I,P){return l.coerce(c,s,v,I,P)}var x=b("labels"),y=b("values"),C=g(x,y),w=C.len;if(s._hasLabels=C.hasLabels,s._hasValues=C.hasValues,!s._hasLabels&&s._hasValues&&(b("label0"),b("dlabel")),!w){s.visible=!1;return}s._length=w,p(c,s,f,b),b("scalegroup");var R=b("text"),A=b("texttemplate"),E;if(A||(E=b("textinfo",Array.isArray(R)?"text+percent":"percent")),b("hovertext"),b("hovertemplate"),A||E&&E!=="none"){var k=b("textposition");S(c,s,f,b,k,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}else E==="none"&&b("textposition","none");i(s,f,b);var L=b("title.text");L&&(b("title.position"),l.coerceFont(b,"title.font",f.font)),b("aspectratio"),b("baseratio")}},62396:function(u,h,a){u.exports={moduleType:"trace",name:"funnelarea",basePlotModule:a(91248),categories:["pie-like","funnelarea","showLegend"],attributes:a(22332),layoutAttributes:a(61280),supplyDefaults:a(92688),supplyLayoutDefaults:a(35384),calc:a(54e3).calc,crossTraceCalc:a(54e3).crossTraceCalc,plot:a(39472),style:a(62096),styleOne:a(10528),meta:{}}},61280:function(u,h,a){var l=a(85204).hiddenlabels;u.exports={hiddenlabels:l,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}},35384:function(u,h,a){var l=a(3400),v=a(61280);u.exports=function(S,g){function p(_,c){return l.coerce(S,g,v,_,c)}p("hiddenlabels"),p("funnelareacolorway",g.colorway),p("extendfunnelareacolors")}},39472:function(u,h,a){var l=a(33428),v=a(43616),i=a(3400),S=i.strScale,g=i.strTranslate,p=a(72736),_=a(98184),c=_.toMoveInsideBar,s=a(82744),d=s.recordMinTextSize,f=s.clearMinTextSize,b=a(69656),x=a(37820),y=x.attachFxHandlers,C=x.determineInsideTextFont,w=x.layoutAreas,R=x.prerenderTitles,A=x.positionTitleOutside,E=x.formatSliceLabel;u.exports=function(M,F){var N=M._context.staticPlot,T=M._fullLayout;f("funnelarea",T),R(F,M),w(F,T._size),i.makeTraceGroups(T._funnelarealayer,F,"trace").each(function(D){var O=l.select(this),U=D[0],B=U.trace;I(D),O.each(function(){var Y=l.select(this).selectAll("g.slice").data(D);Y.enter().append("g").classed("slice",!0),Y.exit().remove(),Y.each(function(V,j){if(V.hidden){l.select(this).selectAll("path,g").remove();return}V.pointNumber=V.i,V.curveNumber=B.index;var G=U.cx,W=U.cy,X=l.select(this),Q=X.selectAll("path.surface").data([V]);Q.enter().append("path").classed("surface",!0).style({"pointer-events":N?"none":"all"}),X.call(y,M,D);var ae="M"+(G+V.TR[0])+","+(W+V.TR[1])+k(V.TR,V.BR)+k(V.BR,V.BL)+k(V.BL,V.TL)+"Z";Q.attr("d",ae),E(M,V,U);var ie=b.castOption(B.textposition,V.pts),he=X.selectAll("g.slicetext").data(V.text&&ie!=="none"?[0]:[]);he.enter().append("g").classed("slicetext",!0),he.exit().remove(),he.each(function(){var J=i.ensureSingle(l.select(this),"text","",function(de){de.attr("data-notex",1)}),Z=i.ensureUniformFontSize(M,C(B,V,T.font));J.text(V.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(v.font,Z).call(p.convertToTspans,M);var le=v.bBox(J.node()),K,te,ce,re=Math.min(V.BL[1],V.BR[1])+W,ee=Math.max(V.TL[1],V.TR[1])+W;te=Math.max(V.TL[0],V.BL[0])+G,ce=Math.min(V.TR[0],V.BR[0])+G,K=c(te,ce,re,ee,le,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"}),K.fontSize=Z.size,d(B.type,K,T),D[j].transform=K,i.setTransormAndDisplay(J,K)})});var z=l.select(this).selectAll("g.titletext").data(B.title.text?[0]:[]);z.enter().append("g").classed("titletext",!0),z.exit().remove(),z.each(function(){var V=i.ensureSingle(l.select(this),"text","",function(W){W.attr("data-notex",1)}),j=B.title.text;B._meta&&(j=i.templateString(j,B._meta)),V.text(j).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(v.font,B.title.font).call(p.convertToTspans,M);var G=A(U,T._size);V.attr("transform",g(G.x,G.y)+S(Math.min(1,G.scale))+g(G.tx,G.ty))})})})};function k(P,M){var F=M[0]-P[0],N=M[1]-P[1];return"l"+F+","+N}function L(P,M){return[.5*(P[0]+M[0]),.5*(P[1]+M[1])]}function I(P){if(!P.length)return;var M=P[0],F=M.trace,N=F.aspectratio,T=F.baseratio;T>.999&&(T=.999);var D=Math.pow(T,2),O=M.vTotal,U=O*D/(1-D),B=O,Y=U/O;function z(){var oe=Math.sqrt(Y);return{x:oe,y:-oe}}function V(){var oe=z();return[oe.x,oe.y]}var j,G=[];G.push(V());var W,X;for(W=P.length-1;W>-1;W--)if(X=P[W],!X.hidden){var Q=X.v/B;Y+=Q,G.push(V())}var ae=1/0,ie=-1/0;for(W=0;W<G.length;W++)j=G[W],ae=Math.min(ae,j[1]),ie=Math.max(ie,j[1]);for(W=0;W<G.length;W++)G[W][1]-=(ie+ae)/2;var he=G[G.length-1][0],J=M.r,Z=(ie-ae)/2,le=J/he,K=J/Z*N;for(M.r=K*Z,W=0;W<G.length;W++)G[W][0]*=le,G[W][1]*=K;j=G[0];var te=[-j[0],j[1]],ce=[j[0],j[1]],re=0;for(W=P.length-1;W>-1;W--)if(X=P[W],!X.hidden){re+=1;var ee=G[re][0],de=G[re][1];X.TL=[-ee,de],X.TR=[ee,de],X.BL=te,X.BR=ce,X.pxmid=L(X.TR,X.BR),te=X.TL,ce=X.TR}}},62096:function(u,h,a){var l=a(33428),v=a(10528),i=a(82744).resizeText;u.exports=function(g){var p=g._fullLayout._funnelarealayer.selectAll(".trace");i(g,p,"funnelarea"),p.each(function(_){var c=_[0],s=c.trace,d=l.select(this);d.style({opacity:s.opacity}),d.selectAll("path.surface").each(function(f){l.select(this).call(v,f,s,g)})})}},83328:function(u,h,a){var l=a(52904),v=a(45464),i=a(25376),S=a(29736).axisHoverFormat,g=a(21776).Ks,p=a(21776).Gw,_=a(49084),c=a(92880).extendFlat;u.exports=c({z:{valType:"data_array",editType:"calc"},x:c({},l.x,{impliedEdits:{xtype:"array"}}),x0:c({},l.x0,{impliedEdits:{xtype:"scaled"}}),dx:c({},l.dx,{impliedEdits:{xtype:"scaled"}}),y:c({},l.y,{impliedEdits:{ytype:"array"}}),y0:c({},l.y0,{impliedEdits:{ytype:"scaled"}}),dy:c({},l.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:c({},l.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:c({},l.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:c({},l.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:c({},l.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:c({},l.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:c({},l.yperiodalignment,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc"},hovertext:{valType:"data_array",editType:"calc"},transpose:{valType:"boolean",dflt:!1,editType:"calc"},xtype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},ytype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,editType:"calc"},hoverongaps:{valType:"boolean",dflt:!0,editType:"none"},connectgaps:{valType:"boolean",editType:"calc"},xgap:{valType:"number",dflt:0,min:0,editType:"plot"},ygap:{valType:"number",dflt:0,min:0,editType:"plot"},xhoverformat:S("x"),yhoverformat:S("y"),zhoverformat:S("z",1),hovertemplate:g(),texttemplate:p({arrayOk:!1,editType:"plot"},{keys:["x","y","z","text"]}),textfont:i({editType:"plot",autoSize:!0,autoColor:!0,colorEditType:"style"}),showlegend:c({},v.showlegend,{dflt:!1})},{transforms:void 0},_("",{cLetter:"z",autoColorDflt:!1}))},19512:function(u,h,a){var l=a(24040),v=a(3400),i=a(54460),S=a(1220),g=a(55480),p=a(47128),_=a(2872),c=a(26136),s=a(70448),d=a(11240),f=a(35744),b=a(39032).BADNUM;u.exports=function(w,R){var A=i.getFromId(w,R.xaxis||"x"),E=i.getFromId(w,R.yaxis||"y"),k=l.traceIs(R,"contour"),L=l.traceIs(R,"histogram"),I=l.traceIs(R,"gl2d"),P=k?"best":R.zsmooth,M,F,N,T,D,O,U,B,Y,z,V;if(A._minDtick=0,E._minDtick=0,L)V=g(w,R),T=V.orig_x,M=V.x,F=V.x0,N=V.dx,B=V.orig_y,D=V.y,O=V.y0,U=V.dy,Y=V.z;else{var j=R.z;v.isArray1D(j)?(_(R,A,E,"x","y",["z"]),M=R._x,D=R._y,j=R._z):(T=R.x?A.makeCalcdata(R,"x"):[],B=R.y?E.makeCalcdata(R,"y"):[],M=S(R,A,"x",T).vals,D=S(R,E,"y",B).vals,R._x=M,R._y=D),F=R.x0,N=R.dx,O=R.y0,U=R.dy,Y=c(j,R,A,E)}(A.rangebreaks||E.rangebreaks)&&(Y=y(M,D,Y),L||(M=x(M),D=x(D),R._x=M,R._y=D)),!L&&(k||R.connectgaps)&&(R._emptypoints=d(Y),s(Y,R._emptypoints));function G(le){P=R._input.zsmooth=R.zsmooth=!1,v.warn('cannot use zsmooth: "fast": '+le)}function W(le){if(le.length>1){var K=(le[le.length-1]-le[0])/(le.length-1),te=Math.abs(K/100);for(z=0;z<le.length-1;z++)if(Math.abs(le[z+1]-le[z]-K)>te)return!1}return!0}R._islinear=!1,A.type==="log"||E.type==="log"?P==="fast"&&G("log axis found"):W(M)?W(D)?R._islinear=!0:P==="fast"&&G("y scale is not linear"):P==="fast"&&G("x scale is not linear");var X=v.maxRowLength(Y),Q=R.xtype==="scaled"?"":M,ae=f(R,Q,F,N,X,A),ie=R.ytype==="scaled"?"":D,he=f(R,ie,O,U,Y.length,E);I||(R._extremes[A._id]=i.findExtremes(A,ae),R._extremes[E._id]=i.findExtremes(E,he));var J={x:ae,y:he,z:Y,text:R._text||R.text,hovertext:R._hovertext||R.hovertext};if(R.xperiodalignment&&T&&(J.orig_x=T),R.yperiodalignment&&B&&(J.orig_y=B),Q&&Q.length===ae.length-1&&(J.xCenter=Q),ie&&ie.length===he.length-1&&(J.yCenter=ie),L&&(J.xRanges=V.xRanges,J.yRanges=V.yRanges,J.pts=V.pts),k||p(w,R,{vals:Y,cLetter:"z"}),k&&R.contours&&R.contours.coloring==="heatmap"){var Z={type:R.type==="contour"?"heatmap":"histogram2d",xcalendar:R.xcalendar,ycalendar:R.ycalendar};J.xfill=f(Z,Q,F,N,X,A),J.yfill=f(Z,ie,O,U,Y.length,E)}return[J]};function x(C){for(var w=[],R=C.length,A=0;A<R;A++){var E=C[A];E!==b&&w.push(E)}return w}function y(C,w,R){for(var A=[],E=-1,k=0;k<R.length;k++)if(w[k]!==b){E++,A[E]=[];for(var L=0;L<R[k].length;L++)C[L]!==b&&A[E].push(R[k][L])}return A}},26136:function(u,h,a){var l=a(38248),v=a(3400),i=a(39032).BADNUM;u.exports=function(g,p,_,c){var s,d,f,b,x,y;function C(L){if(l(L))return+L}if(p&&p.transpose){for(s=0,x=0;x<g.length;x++)s=Math.max(s,g[x].length);if(s===0)return!1;f=function(L){return L.length},b=function(L,I,P){return(L[P]||[])[I]}}else s=g.length,f=function(L,I){return L[I].length},b=function(L,I,P){return(L[I]||[])[P]};var w=function(L,I,P){return I===i||P===i?i:b(L,I,P)};function R(L){if(p&&p.type!=="carpet"&&p.type!=="contourcarpet"&&L&&L.type==="category"&&p["_"+L._id.charAt(0)].length){var I=L._id.charAt(0),P={},M=p["_"+I+"CategoryMap"]||p[I];for(x=0;x<M.length;x++)P[M[x]]=x;return function(F){var N=P[L._categories[F]];return N+1?N:i}}else return v.identity}var A=R(_),E=R(c);c&&c.type==="category"&&(s=c._categories.length);var k=new Array(s);for(x=0;x<s;x++)for(_&&_.type==="category"?d=_._categories.length:d=f(g,x),k[x]=new Array(d),y=0;y<d;y++)k[x][y]=C(w(g,E(x),A(y)));return k}},96288:function(u){u.exports={min:"zmin",max:"zmax"}},2872:function(u,h,a){var l=a(3400),v=a(39032).BADNUM,i=a(1220);u.exports=function(g,p,_,c,s,d){var f=g._length,b=p.makeCalcdata(g,c),x=_.makeCalcdata(g,s);b=i(g,p,c,b).vals,x=i(g,_,s,x).vals;var y=g.text,C=y!==void 0&&l.isArray1D(y),w=g.hovertext,R=w!==void 0&&l.isArray1D(w),A,E,k=l.distinctVals(b),L=k.vals,I=l.distinctVals(x),P=I.vals,M=[],F,N,T=P.length,D=L.length;for(A=0;A<d.length;A++)M[A]=l.init2dArray(T,D);C&&(F=l.init2dArray(T,D)),R&&(N=l.init2dArray(T,D));var O=l.init2dArray(T,D);for(A=0;A<f;A++)if(b[A]!==v&&x[A]!==v){var U=l.findBin(b[A]+k.minDiff/2,L),B=l.findBin(x[A]+I.minDiff/2,P);for(E=0;E<d.length;E++){var Y=d[E],z=g[Y],V=M[E];V[B][U]=z[A],O[B][U]=A}C&&(F[B][U]=y[A]),R&&(N[B][U]=w[A])}for(g["_"+c]=L,g["_"+s]=P,E=0;E<d.length;E++)g["_"+d[E]]=M[E];C&&(g._text=F),R&&(g._hovertext=N),p&&p.type==="category"&&(g["_"+c+"CategoryMap"]=L.map(function(j){return p._categories[j]})),_&&_.type==="category"&&(g["_"+s+"CategoryMap"]=P.map(function(j){return _._categories[j]})),g._after2before=O}},24480:function(u,h,a){var l=a(3400),v=a(51264),i=a(39096),S=a(31147),g=a(82748),p=a(27260),_=a(83328);u.exports=function(s,d,f,b){function x(C,w){return l.coerce(s,d,_,C,w)}var y=v(s,d,x,b);if(!y){d.visible=!1;return}S(s,d,b,x),x("xhoverformat"),x("yhoverformat"),x("text"),x("hovertext"),x("hovertemplate"),i(x,b),g(s,d,x,b),x("hoverongaps"),x("connectgaps",l.isArray1D(d.z)&&d.zsmooth!==!1),p(s,d,b,x,{prefix:"",cLetter:"z"})}},11240:function(u,h,a){var l=a(3400).maxRowLength;u.exports=function(i){var S=[],g={},p=[],_=i[0],c=[],s=[0,0,0],d=l(i),f,b,x,y,C,w,R,A;for(b=0;b<i.length;b++)for(f=c,c=_,_=i[b+1]||[],x=0;x<d;x++)c[x]===void 0&&(w=(c[x-1]!==void 0?1:0)+(c[x+1]!==void 0?1:0)+(f[x]!==void 0?1:0)+(_[x]!==void 0?1:0),w?(b===0&&w++,x===0&&w++,b===i.length-1&&w++,x===c.length-1&&w++,w<4&&(g[[b,x]]=[b,x,w]),S.push([b,x,w])):p.push([b,x]));for(;p.length;){for(R={},A=!1,C=p.length-1;C>=0;C--)y=p[C],b=y[0],x=y[1],w=((g[[b-1,x]]||s)[2]+(g[[b+1,x]]||s)[2]+(g[[b,x-1]]||s)[2]+(g[[b,x+1]]||s)[2])/20,w&&(R[y]=[b,x,w],p.splice(C,1),A=!0);if(!A)throw"findEmpties iterated with no new neighbors";for(y in R)g[y]=R[y],S.push(R[y])}return S.sort(function(E,k){return k[2]-E[2]})}},55512:function(u,h,a){var l=a(93024),v=a(3400),i=v.isArrayOrTypedArray,S=a(54460),g=a(8932).extractOpts;u.exports=function(_,c,s,d,f){f||(f={});var b=f.isContour,x=_.cd[0],y=x.trace,C=_.xa,w=_.ya,R=x.x,A=x.y,E=x.z,k=x.xCenter,L=x.yCenter,I=x.zmask,P=y.zhoverformat,M=R,F=A,N,T,D,O;if(_.index!==!1){try{D=Math.round(_.index[1]),O=Math.round(_.index[0])}catch{v.error("Error hovering on heatmap, pointNumber must be [row,col], found:",_.index);return}if(D<0||D>=E[0].length||O<0||O>E.length)return}else{if(l.inbox(c-R[0],c-R[R.length-1],0)>0||l.inbox(s-A[0],s-A[A.length-1],0)>0)return;if(b){var U;for(M=[2*R[0]-R[1]],U=1;U<R.length;U++)M.push((R[U]+R[U-1])/2);for(M.push([2*R[R.length-1]-R[R.length-2]]),F=[2*A[0]-A[1]],U=1;U<A.length;U++)F.push((A[U]+A[U-1])/2);F.push([2*A[A.length-1]-A[A.length-2]])}D=Math.max(0,Math.min(M.length-2,v.findBin(c,M))),O=Math.max(0,Math.min(F.length-2,v.findBin(s,F)))}var B=C.c2p(R[D]),Y=C.c2p(R[D+1]),z=w.c2p(A[O]),V=w.c2p(A[O+1]),j,G;b?(j=x.orig_x||R,G=x.orig_y||A,Y=B,N=j[D],V=z,T=G[O]):(j=x.orig_x||k||R,G=x.orig_y||L||A,N=k?j[D]:(j[D]+j[D+1])/2,T=L?G[O]:(G[O]+G[O+1])/2,C&&C.type==="category"&&(N=R[D]),w&&w.type==="category"&&(T=A[O]),y.zsmooth&&(B=Y=C.c2p(N),z=V=w.c2p(T)));var W=E[O][D];if(I&&!I[O][D]&&(W=void 0),!(W===void 0&&!y.hoverongaps)){var X;i(x.hovertext)&&i(x.hovertext[O])?X=x.hovertext[O][D]:i(x.text)&&i(x.text[O])&&(X=x.text[O][D]);var Q=g(y),ae={type:"linear",range:[Q.min,Q.max],hoverformat:P,_separators:C._separators,_numFormat:C._numFormat},ie=S.tickText(ae,W,"hover").text;return[v.extendFlat(_,{index:y._after2before?y._after2before[O][D]:[O,D],distance:_.maxHoverDistance,spikeDistance:_.maxSpikeDistance,x0:B,x1:Y,y0:z,y1:V,xLabelVal:N,yLabelVal:T,zLabelVal:W,zLabel:ie,text:X})]}}},81932:function(u,h,a){u.exports={attributes:a(83328),supplyDefaults:a(24480),calc:a(19512),plot:a(41420),colorbar:a(96288),style:a(41648),hoverPoints:a(55512),moduleType:"trace",name:"heatmap",basePlotModule:a(57952),categories:["cartesian","svg","2dMap","showLegend"],meta:{}}},70448:function(u,h,a){var l=a(3400),v=.01,i=[[-1,0],[1,0],[0,-1],[0,1]];function S(p){return .5-.25*Math.min(1,p*.5)}u.exports=function(_,c){var s=1,d;for(g(_,c),d=0;d<c.length&&!(c[d][2]<4);d++);for(c=c.slice(d),d=0;d<100&&s>v;d++)s=g(_,c,S(s));return s>v&&l.log("interp2d didn't converge quickly",s),_};function g(p,_,c){var s=0,d,f,b,x,y,C,w,R,A,E,k,L,I;for(x=0;x<_.length;x++){for(d=_[x],f=d[0],b=d[1],k=p[f][b],E=0,A=0,y=0;y<4;y++)C=i[y],w=p[f+C[0]],w&&(R=w[b+C[1]],R!==void 0&&(E===0?L=I=R:(L=Math.min(L,R),I=Math.max(I,R)),A++,E+=R));if(A===0)throw"iterateInterp2d order is wrong: no defined neighbors";p[f][b]=E/A,k===void 0?A<4&&(s=1):(p[f][b]=(1+c)*p[f][b]-c*k,I>L&&(s=Math.max(s,Math.abs(p[f][b]-k)/(I-L))))}return s}},39096:function(u,h,a){var l=a(3400);u.exports=function(i,S){i("texttemplate");var g=l.extendFlat({},S.font,{color:"auto",size:"auto"});l.coerceFont(i,"textfont",g)}},35744:function(u,h,a){var l=a(24040),v=a(3400).isArrayOrTypedArray;u.exports=function(S,g,p,_,c,s){var d=[],f=l.traceIs(S,"contour"),b=l.traceIs(S,"histogram"),x=l.traceIs(S,"gl2d"),y,C,w,R=v(g)&&g.length>1;if(R&&!b&&s.type!=="category"){var A=g.length;if(A<=c){if(f||x)d=Array.from(g).slice(0,c);else if(c===1)s.type==="log"?d=[.5*g[0],2*g[0]]:d=[g[0]-.5,g[0]+.5];else if(s.type==="log"){for(d=[Math.pow(g[0],1.5)/Math.pow(g[1],.5)],w=1;w<A;w++)d.push(Math.sqrt(g[w-1]*g[w]));d.push(Math.pow(g[A-1],1.5)/Math.pow(g[A-2],.5))}else{for(d=[1.5*g[0]-.5*g[1]],w=1;w<A;w++)d.push((g[w-1]+g[w])*.5);d.push(1.5*g[A-1]-.5*g[A-2])}if(A<c){var E=d[d.length-1],k;if(s.type==="log")for(k=E/d[d.length-2],w=A;w<c;w++)E*=k,d.push(E);else for(k=E-d[d.length-2],w=A;w<c;w++)E+=k,d.push(E)}}else return f?g.slice(0,c):g.slice(0,c+1)}else{var L=S[s._id.charAt(0)+"calendar"];if(b)y=s.r2c(p,0,L);else if(v(g)&&g.length===1)y=g[0];else if(p===void 0)y=0;else{var I=s.type==="log"?s.d2c:s.r2c;y=I(p,0,L)}for(C=_||1,w=f||x?0:-.5;w<c;w++)d.push(y+C*w)}return d}},41420:function(u,h,a){var l=a(33428),v=a(49760),i=a(24040),S=a(43616),g=a(54460),p=a(3400),_=a(72736),c=a(76688),s=a(76308),d=a(8932).extractOpts,f=a(8932).makeColorScaleFuncFromTrace,b=a(9616),x=a(84284),y=x.LINE_SPACING,C=a(9188),w=a(2264).STYLE,R="heatmap-label";function A(P){return P.selectAll("g."+R)}function E(P){A(P).remove()}u.exports=function(P,M,F,N){var T=M.xaxis,D=M.yaxis;p.makeTraceGroups(N,F,"hm").each(function(O){var U=l.select(this),B=O[0],Y=B.trace,z=Y.xgap||0,V=Y.ygap||0,j=B.z,G=B.x,W=B.y,X=B.xCenter,Q=B.yCenter,ae=i.traceIs(Y,"contour"),ie=ae?"best":Y.zsmooth,he=j.length,J=p.maxRowLength(j),Z=!1,le=!1,K,te,ce,re,ee,de,oe,fe;for(de=0;K===void 0&&de<G.length-1;)K=T.c2p(G[de]),de++;for(de=G.length-1;te===void 0&&de>0;)te=T.c2p(G[de]),de--;for(te<K&&(ce=te,te=K,K=ce,Z=!0),de=0;re===void 0&&de<W.length-1;)re=D.c2p(W[de]),de++;for(de=W.length-1;ee===void 0&&de>0;)ee=D.c2p(W[de]),de--;ee<re&&(ce=re,re=ee,ee=ce,le=!0),ae&&(X=G,Q=W,G=B.xfill,W=B.yfill);var me="default";if(ie?me=ie==="best"?"smooth":"fast":Y._islinear&&z===0&&V===0&&C()&&(me="fast"),me!=="fast"){var Te=ie==="best"?0:.5;K=Math.max(-Te*T._length,K),te=Math.min((1+Te)*T._length,te),re=Math.max(-Te*D._length,re),ee=Math.min((1+Te)*D._length,ee)}var we=Math.round(te-K),Be=Math.round(ee-re),Ae=K>=T._length||te<=0||re>=D._length||ee<=0;if(Ae){var Re=U.selectAll("image").data([]);Re.exit().remove(),E(U);return}var be,Pe;me==="fast"?(be=J,Pe=he):(be=we,Pe=Be);var Ke=document.createElement("canvas");Ke.width=be,Ke.height=Pe;var ze=Ke.getContext("2d",{willReadFrequently:!0}),Fe=f(Y,{noNumericCheck:!0,returnArray:!0}),We,lt;me==="fast"?(We=Z?function(Nn){return J-1-Nn}:p.identity,lt=le?function(Nn){return he-1-Nn}:p.identity):(We=function(Nn){return p.constrain(Math.round(T.c2p(G[Nn])-K),0,we)},lt=function(Nn){return p.constrain(Math.round(D.c2p(W[Nn])-re),0,Be)});var ht=lt(0),tt=[ht,ht],et=Z?0:1,pt=le?0:1,vt=0,_t=0,bt=0,Rt=0,ct,Ve,Qe,rt,qe;function He(Nn,Hn){if(Nn!==void 0){var $n=Fe(Nn);return $n[0]=Math.round($n[0]),$n[1]=Math.round($n[1]),$n[2]=Math.round($n[2]),vt+=Hn,_t+=$n[0]*Hn,bt+=$n[1]*Hn,Rt+=$n[2]*Hn,$n}return[0,0,0,0]}function Ce(Nn,Hn,$n,da){var _a=Nn[$n.bin0];if(_a===void 0)return He(void 0,1);var Ya=Nn[$n.bin1],di=Hn[$n.bin0],ii=Hn[$n.bin1],Za=Ya-_a||0,oi=di-_a||0,Fr;return Ya===void 0?ii===void 0?Fr=0:di===void 0?Fr=2*(ii-_a):Fr=(2*ii-di-_a)*2/3:ii===void 0?di===void 0?Fr=0:Fr=(2*_a-Ya-di)*2/3:di===void 0?Fr=(2*ii-Ya-_a)*2/3:Fr=ii+_a-Ya-di,He(_a+$n.frac*Za+da.frac*(oi+$n.frac*Fr))}if(me!=="default"){var Se=0,Le;try{Le=new Uint8Array(be*Pe*4)}catch{Le=new Array(be*Pe*4)}if(me==="smooth"){var Ne=X||G,je=Q||W,Je=new Array(Ne.length),ut=new Array(je.length),Et=new Array(we),wt=X?L:k,nr=Q?L:k,ir,It,Gt;for(de=0;de<Ne.length;de++)Je[de]=Math.round(T.c2p(Ne[de])-K);for(de=0;de<je.length;de++)ut[de]=Math.round(D.c2p(je[de])-re);for(de=0;de<we;de++)Et[de]=wt(de,Je);for(oe=0;oe<Be;oe++)for(ir=nr(oe,ut),It=j[ir.bin0],Gt=j[ir.bin1],de=0;de<we;de++,Se+=4)qe=Ce(It,Gt,Et[de],ir),I(Le,Se,qe)}else for(oe=0;oe<he;oe++)for(rt=j[oe],tt=lt(oe),de=0;de<J;de++)qe=He(rt[de],1),Se=(tt*J+We(de))*4,I(Le,Se,qe);var cr=ze.createImageData(be,Pe);try{cr.data.set(Le)}catch{var Pr=cr.data,Ct=Pr.length;for(oe=0;oe<Ct;oe++)Pr[oe]=Le[oe]}ze.putImageData(cr,0,0)}else{var or=Math.floor(z/2),ur=Math.floor(V/2);for(oe=0;oe<he;oe++)if(rt=j[oe],tt.reverse(),tt[pt]=lt(oe+1),!(tt[0]===tt[1]||tt[0]===void 0||tt[1]===void 0))for(Ve=We(0),ct=[Ve,Ve],de=0;de<J;de++)ct.reverse(),ct[et]=We(de+1),!(ct[0]===ct[1]||ct[0]===void 0||ct[1]===void 0)&&(Qe=rt[de],qe=He(Qe,(ct[1]-ct[0])*(tt[1]-tt[0])),ze.fillStyle="rgba("+qe.join(",")+")",ze.fillRect(ct[0]+or,tt[0]+ur,ct[1]-ct[0]-z,tt[1]-tt[0]-V))}_t=Math.round(_t/vt),bt=Math.round(bt/vt),Rt=Math.round(Rt/vt);var Ir=v("rgb("+_t+","+bt+","+Rt+")");P._hmpixcount=(P._hmpixcount||0)+vt,P._hmlumcount=(P._hmlumcount||0)+vt*Ir.getLuminance();var yr=U.selectAll("image").data(O);yr.enter().append("svg:image").attr({xmlns:b.svg,preserveAspectRatio:"none"}),yr.attr({height:Be,width:we,x:K,y:re,"xlink:href":Ke.toDataURL("image/png")}),me==="fast"&&!ie&&yr.attr("style",w),E(U);var At=Y.texttemplate;if(At){var mt=d(Y),Mt={type:"linear",range:[mt.min,mt.max],_separators:T._separators,_numFormat:T._numFormat},Pt=Y.type==="histogram2dcontour",Ht=Y.type==="contour",Ut=Ht?1:0,Zt=Ht?he-1:he,Xt=Ht?1:0,sr=Ht?J-1:J,Sr=[];for(de=Ut;de<Zt;de++){var wr;if(Ht)wr=B.y[de];else if(Pt){if(de===0||de===he-1)continue;wr=B.y[de]}else if(B.yCenter)wr=B.yCenter[de];else{if(de+1===he&&B.y[de+1]===void 0)continue;wr=(B.y[de]+B.y[de+1])/2}var Tr=Math.round(D.c2p(wr));if(!(0>Tr||Tr>D._length))for(oe=Xt;oe<sr;oe++){var Ze;if(Ht)Ze=B.x[oe];else if(Pt){if(oe===0||oe===J-1)continue;Ze=B.x[oe]}else if(B.xCenter)Ze=B.xCenter[oe];else{if(oe+1===J&&B.x[oe+1]===void 0)continue;Ze=(B.x[oe]+B.x[oe+1])/2}var Xe=Math.round(T.c2p(Ze));if(!(0>Xe||Xe>T._length)){var Wt=c({x:Ze,y:wr},Y,P._fullLayout);Wt.x=Ze,Wt.y=wr;var jt=B.z[de][oe];jt===void 0?(Wt.z="",Wt.zLabel=""):(Wt.z=jt,Wt.zLabel=g.tickText(Mt,jt,"hover").text);var ar=B.text&&B.text[de]&&B.text[de][oe];(ar===void 0||ar===!1)&&(ar=""),Wt.text=ar;var mr=p.texttemplateString(At,Wt,P._fullLayout._d3locale,Wt,Y._meta||{});if(mr){var br=mr.split("<br>"),fr=br.length,Kt=0;for(fe=0;fe<fr;fe++)Kt=Math.max(Kt,br[fe].length);Sr.push({l:fr,c:Kt,t:mr,x:Xe,y:Tr,z:jt})}}}}var kr=Y.textfont,Rr=kr.family,Lr=kr.size,Ar=P._fullLayout.font.size;if(!Lr||Lr==="auto"){var ln=1/0,Kr=1/0,Xr=0,Bn=0;for(fe=0;fe<Sr.length;fe++){var An=Sr[fe];if(Xr=Math.max(Xr,An.l),Bn=Math.max(Bn,An.c),fe<Sr.length-1){var ta=Sr[fe+1],ra=Math.abs(ta.x-An.x),Cr=Math.abs(ta.y-An.y);ra&&(ln=Math.min(ln,ra)),Cr&&(Kr=Math.min(Kr,Cr))}}!isFinite(ln)||!isFinite(Kr)?Lr=Ar:(ln-=z,Kr-=V,ln/=Bn,Kr/=Xr,ln/=y/2,Kr/=y,Lr=Math.min(Math.floor(ln),Math.floor(Kr),Ar))}if(Lr<=0||!isFinite(Lr))return;var Jr=function(Nn){return Nn.x},un=function(Nn){return Nn.y-Lr*(Nn.l*y/2-1)},sn=A(U).data(Sr);sn.enter().append("g").classed(R,1).append("text").attr("text-anchor","middle").each(function(Nn){var Hn=l.select(this),$n=kr.color;(!$n||$n==="auto")&&($n=s.contrast(Nn.z===void 0?P._fullLayout.plot_bgcolor:"rgba("+Fe(Nn.z).join()+")")),Hn.attr("data-notex",1).call(_.positionText,Jr(Nn),un(Nn)).call(S.font,Rr,Lr,$n).text(Nn.t).call(_.convertToTspans,P)})}})};function k(P,M){var F=M.length-2,N=p.constrain(p.findBin(P,M),0,F),T=M[N],D=M[N+1],O=p.constrain(N+(P-T)/(D-T)-.5,0,F),U=Math.round(O),B=Math.abs(O-U);return!O||O===F||!B?{bin0:U,bin1:U,frac:0}:{bin0:U,frac:B,bin1:Math.round(U+B/(O-U))}}function L(P,M){var F=M.length-1,N=p.constrain(p.findBin(P,M),0,F),T=M[N],D=M[N+1],O=(P-T)/(D-T)||0;return O<=0?{bin0:N,bin1:N,frac:0}:O<.5?{bin0:N,bin1:N+1,frac:O}:{bin0:N+1,bin1:N,frac:1-O}}function I(P,M,F){P[M]=F[0],P[M+1]=F[1],P[M+2]=F[2],P[M+3]=Math.round(F[3]*255)}},41648:function(u,h,a){var l=a(33428);u.exports=function(i){l.select(i).selectAll(".hm image").style("opacity",function(S){return S.trace.opacity})}},82748:function(u){u.exports=function(a,l,v){var i=v("zsmooth");i===!1&&(v("xgap"),v("ygap")),v("zhoverformat")}},51264:function(u,h,a){var l=a(38248),v=a(3400),i=a(24040);u.exports=function(_,c,s,d,f,b){var x=s("z");f=f||"x",b=b||"y";var y,C;if(x===void 0||!x.length)return 0;if(v.isArray1D(x)){y=s(f),C=s(b);var w=v.minRowLength(y),R=v.minRowLength(C);if(w===0||R===0)return 0;c._length=Math.min(w,R,x.length)}else{if(y=S(f,s),C=S(b,s),!g(x))return 0;s("transpose"),c._length=null}if(_.type==="heatmapgl")return!0;var A=i.getComponentMethod("calendars","handleTraceDefaults");return A(_,c,[f,b],d),!0};function S(p,_){var c=_(p),s=c?_(p+"type","array"):"scaled";return s==="scaled"&&(_(p+"0"),_("d"+p)),c}function g(p){for(var _=!0,c=!1,s=!1,d,f=0;f<p.length;f++){if(d=p[f],!v.isArrayOrTypedArray(d)){_=!1;break}d.length>0&&(c=!0);for(var b=0;b<d.length;b++)if(l(d[b])){s=!0;break}}return _&&c&&s}},74512:function(u,h,a){for(var l=a(83328),v=a(49084),i=a(92880).extendFlat,S=a(67824).overrideAll,g=["z","x","x0","dx","y","y0","dy","text","transpose","xtype","ytype"],p={},_=0;_<g.length;_++){var c=g[_];p[c]=l[c]}p.zsmooth={valType:"enumerated",values:["fast",!1],dflt:"fast",editType:"calc"},i(p,v("",{cLetter:"z",autoColorDflt:!1})),u.exports=S(p,"calc","nested")},84656:function(u,h,a){var l=a(67792).gl_heatmap2d,v=a(54460),i=a(43080);function S(c,s){this.scene=c,this.uid=s,this.type="heatmapgl",this.name="",this.hoverinfo="all",this.xData=[],this.yData=[],this.zData=[],this.textLabels=[],this.idToIndex=[],this.bounds=[0,0,0,0],this.options={zsmooth:"fast",z:[],x:[],y:[],shape:[0,0],colorLevels:[0],colorValues:[0,0,0,1]},this.heatmap=l(c.glplot,this.options),this.heatmap._trace=this}var g=S.prototype;g.handlePick=function(c){var s=this.options,d=s.shape,f=c.pointId,b=f%d[0],x=Math.floor(f/d[0]),y=f;return{trace:this,dataCoord:c.dataCoord,traceCoord:[s.x[b],s.y[x],s.z[y]],textLabel:this.textLabels[f],name:this.name,pointIndex:[x,b],hoverinfo:this.hoverinfo}},g.update=function(c,s){var d=s[0];this.index=c.index,this.name=c.name,this.hoverinfo=c.hoverinfo;var f=d.z;this.options.z=[].concat.apply([],f);var b=f[0].length,x=f.length;this.options.shape=[b,x],this.options.x=d.x,this.options.y=d.y,this.options.zsmooth=c.zsmooth;var y=p(c);this.options.colorLevels=y.colorLevels,this.options.colorValues=y.colorValues,this.textLabels=[].concat.apply([],c.text),this.heatmap.update(this.options);var C=this.scene.xaxis,w=this.scene.yaxis,R,A;c.zsmooth===!1&&(R={ppad:d.x[1]-d.x[0]},A={ppad:d.y[1]-d.y[0]}),c._extremes[C._id]=v.findExtremes(C,d.x,R),c._extremes[w._id]=v.findExtremes(w,d.y,A)},g.dispose=function(){this.heatmap.dispose()};function p(c){for(var s=c.colorscale,d=c.zmin,f=c.zmax,b=s.length,x=new Array(b),y=new Array(4*b),C=0;C<b;C++){var w=s[C],R=i(w[1]);x[C]=d+w[0]*(f-d);for(var A=0;A<4;A++)y[4*C+A]=R[A]}return{colorLevels:x,colorValues:y}}function _(c,s,d){var f=new S(c,s.uid);return f.update(s,d),f}u.exports=_},86464:function(u,h,a){var l=a(3400),v=a(51264),i=a(27260),S=a(74512);u.exports=function(p,_,c,s){function d(b,x){return l.coerce(p,_,S,b,x)}var f=v(p,_,d,s);if(!f){_.visible=!1;return}d("text"),d("zsmooth"),i(p,_,s,d,{prefix:"",cLetter:"z"})}},45536:function(u,h,a){u.exports={attributes:a(74512),supplyDefaults:a(86464),colorbar:a(96288),calc:a(19512),plot:a(84656),moduleType:"trace",name:"heatmapgl",basePlotModule:a(39952),categories:["gl","gl2d","2dMap"],meta:{}}},40196:function(u,h,a){var l=a(20832),v=a(29736).axisHoverFormat,i=a(21776).Ks,S=a(21776).Gw,g=a(25376),p=a(11120),_=a(73316),c=a(92880).extendFlat;u.exports={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},xhoverformat:v("x"),yhoverformat:v("y"),text:c({},l.text,{}),hovertext:c({},l.hovertext,{}),orientation:l.orientation,histfunc:{valType:"enumerated",values:["count","sum","avg","min","max"],dflt:"count",editType:"calc"},histnorm:{valType:"enumerated",values:["","percent","probability","density","probability density"],dflt:"",editType:"calc"},cumulative:{enabled:{valType:"boolean",dflt:!1,editType:"calc"},direction:{valType:"enumerated",values:["increasing","decreasing"],dflt:"increasing",editType:"calc"},currentbin:{valType:"enumerated",values:["include","exclude","half"],dflt:"include",editType:"calc"},editType:"calc"},nbinsx:{valType:"integer",min:0,dflt:0,editType:"calc"},xbins:p("x",!0),nbinsy:{valType:"integer",min:0,dflt:0,editType:"calc"},ybins:p("y",!0),autobinx:{valType:"boolean",dflt:null,editType:"calc"},autobiny:{valType:"boolean",dflt:null,editType:"calc"},bingroup:{valType:"string",dflt:"",editType:"calc"},hovertemplate:i({},{keys:_.eventDataKeys}),texttemplate:S({arrayOk:!1,editType:"plot"},{keys:["label","value"]}),textposition:c({},l.textposition,{arrayOk:!1}),textfont:g({arrayOk:!1,editType:"plot",colorEditType:"style"}),outsidetextfont:g({arrayOk:!1,editType:"plot",colorEditType:"style"}),insidetextfont:g({arrayOk:!1,editType:"plot",colorEditType:"style"}),insidetextanchor:l.insidetextanchor,textangle:l.textangle,cliponaxis:l.cliponaxis,constraintext:l.constraintext,marker:l.marker,offsetgroup:l.offsetgroup,alignmentgroup:l.alignmentgroup,selected:l.selected,unselected:l.unselected,_deprecated:{bardir:l._deprecated.bardir}}},2e3:function(u){u.exports=function(a,l){for(var v=a.length,i=0,S=0;S<v;S++)l[S]?(a[S]/=l[S],i+=a[S]):a[S]=null;return i}},11120:function(u){u.exports=function(a,l){return{start:{valType:"any",editType:"calc"},end:{valType:"any",editType:"calc"},size:{valType:"any",editType:"calc"},editType:"calc"}}},16964:function(u,h,a){var l=a(38248);u.exports={count:function(v,i,S){return S[v]++,1},sum:function(v,i,S,g){var p=g[i];return l(p)?(p=Number(p),S[v]+=p,p):0},avg:function(v,i,S,g,p){var _=g[i];return l(_)&&(_=Number(_),S[v]+=_,p[v]++),0},min:function(v,i,S,g){var p=g[i];if(l(p))if(p=Number(p),l(S[v])){if(S[v]>p){var _=p-S[v];return S[v]=p,_}}else return S[v]=p,p;return 0},max:function(v,i,S,g){var p=g[i];if(l(p))if(p=Number(p),l(S[v])){if(S[v]<p){var _=p-S[v];return S[v]=p,_}}else return S[v]=p,p;return 0}}},67712:function(u,h,a){var l=a(39032),v=l.ONEAVGYEAR,i=l.ONEAVGMONTH,S=l.ONEDAY,g=l.ONEHOUR,p=l.ONEMIN,_=l.ONESEC,c=a(54460).tickIncrement;u.exports=function(y,C,w,R,A){var E=-1.1*C,k=-.1*C,L=y-k,I=w[0],P=w[1],M=Math.min(s(I+k,I+L,R,A),s(P+k,P+L,R,A)),F=Math.min(s(I+E,I+k,R,A),s(P+E,P+k,R,A)),N,T;if(M>F&&F<Math.abs(P-I)/4e3?(N=M,T=!1):(N=Math.min(M,F),T=!0),R.type==="date"&&N>S){var D=N===v?1:6,O=N===v?"M12":"M1";return function(U,B){var Y=R.c2d(U,v,A),z=Y.indexOf("-",D);z>0&&(Y=Y.substr(0,z));var V=R.d2c(Y,0,A);if(V<U){var j=c(V,O,!1,A);(V+j)/2<U+y&&(V=j)}return B&&T?c(V,O,!0,A):V}}return function(U,B){var Y=N*Math.round(U/N);return Y+N/10<U&&Y+N*.9<U+y&&(Y+=N),B&&T&&(Y-=N),Y}};function s(x,y,C,w){if(x*y<=0)return 1/0;for(var R=Math.abs(y-x),A=C.type==="date",E=d(R,A),k=0;k<10;k++){var L=d(E*80,A);if(E===L)break;if(f(L,x,y,A,C,w))E=L;else break}return E}function d(x,y){return y&&x>_?x>S?x>v*1.1?v:x>i*1.1?i:S:x>g?g:x>p?p:_:Math.pow(10,Math.floor(Math.log(x)/Math.LN10))}function f(x,y,C,w,R,A){if(w&&x>S){var E=b(y,R,A),k=b(C,R,A),L=x===v?0:1;return E[L]!==k[L]}return Math.floor(C/x)-Math.floor(y/x)>.1}function b(x,y,C){var w=y.c2d(x,v,C).split("-");return w[0]===""&&(w.unshift(),w[0]="-"+w[0]),w}},35852:function(u,h,a){var l=a(38248),v=a(3400),i=a(24040),S=a(54460),g=a(84664),p=a(16964),_=a(10648),c=a(2e3),s=a(67712);function d(C,w){var R=[],A=[],E=w.orientation==="h",k=S.getFromId(C,E?w.yaxis:w.xaxis),L=E?"y":"x",I={x:"y",y:"x"}[L],P=w[L+"calendar"],M=w.cumulative,F,N=f(C,w,k,L),T=N[0],D=N[1],O=typeof T.size=="string",U=[],B=O?U:T,Y=[],z=[],V=[],j=0,G=w.histnorm,W=w.histfunc,X=G.indexOf("density")!==-1,Q,ae,ie;M.enabled&&X&&(G=G.replace(/ ?density$/,""),X=!1);var he=W==="max"||W==="min",J=he?null:0,Z=p.count,le=_[G],K=!1,te=function(ze){return k.r2c(ze,0,P)},ce;for(v.isArrayOrTypedArray(w[I])&&W!=="count"&&(ce=w[I],K=W==="avg",Z=p[W]),F=te(T.start),ae=te(T.end)+(F-S.tickIncrement(F,T.size,!1,P))/1e6;F<ae&&R.length<1e6&&(Q=S.tickIncrement(F,T.size,!1,P),R.push((F+Q)/2),A.push(J),V.push([]),U.push(F),X&&Y.push(1/(Q-F)),K&&z.push(0),!(Q<=F));)F=Q;U.push(F),!O&&k.type==="date"&&(B={start:te(B.start),end:te(B.end),size:B.size}),C._fullLayout._roundFnOpts||(C._fullLayout._roundFnOpts={});var re=w["_"+L+"bingroup"],ee={leftGap:1/0,rightGap:1/0};re&&(C._fullLayout._roundFnOpts[re]||(C._fullLayout._roundFnOpts[re]=ee),ee=C._fullLayout._roundFnOpts[re]);var de=A.length,oe=!0,fe=ee.leftGap,me=ee.rightGap,Te={};for(F=0;F<D.length;F++){var we=D[F];ie=v.findBin(we,B),ie>=0&&ie<de&&(j+=Z(ie,F,A,ce,z),oe&&V[ie].length&&we!==D[V[ie][0]]&&(oe=!1),V[ie].push(F),Te[F]=ie,fe=Math.min(fe,we-U[ie]),me=Math.min(me,U[ie+1]-we))}ee.leftGap=fe,ee.rightGap=me;var Be;oe||(Be=function(ze,Fe){return function(){var We=C._fullLayout._roundFnOpts[re];return s(We.leftGap,We.rightGap,U,k,P)(ze,Fe)}}),K&&(j=c(A,z)),le&&le(A,j,Y),M.enabled&&y(A,M.direction,M.currentbin);var Ae=Math.min(R.length,A.length),Re=[],be=0,Pe=Ae-1;for(F=0;F<Ae;F++)if(A[F]){be=F;break}for(F=Ae-1;F>=be;F--)if(A[F]){Pe=F;break}for(F=be;F<=Pe;F++)if(l(R[F])&&l(A[F])){var Ke={p:R[F],s:A[F],b:0};M.enabled||(Ke.pts=V[F],oe?Ke.ph0=Ke.ph1=V[F].length?D[V[F][0]]:R[F]:(w._computePh=!0,Ke.ph0=Be(U[F]),Ke.ph1=Be(U[F+1],!0))),Re.push(Ke)}return Re.length===1&&(Re[0].width1=S.tickIncrement(Re[0].p,T.size,!1,P)-Re[0].p),g(Re,w),v.isArrayOrTypedArray(w.selectedpoints)&&v.tagSelected(Re,w,Te),Re}function f(C,w,R,A,E){var k=A+"bins",L=C._fullLayout,I=w["_"+A+"bingroup"],P=L._histogramBinOpts[I],M=L.barmode==="overlay",F,N,T,D,O,U,B,Y=function(we){return R.r2c(we,0,D)},z=function(we){return R.c2r(we,0,D)},V=R.type==="date"?function(we){return we||we===0?v.cleanDate(we,null,D):null}:function(we){return l(we)?Number(we):null};function j(we,Be,Ae){Be[we+"Found"]?(Be[we]=V(Be[we]),Be[we]===null&&(Be[we]=Ae[we])):(U[we]=Be[we]=Ae[we],v.nestedProperty(N[0],k+"."+we).set(Ae[we]))}if(w["_"+A+"autoBinFinished"])delete w["_"+A+"autoBinFinished"];else{N=P.traces;var G=[],W=!0,X=!1,Q=!1;for(F=0;F<N.length;F++)if(T=N[F],T.visible){var ae=P.dirs[F];O=T["_"+ae+"pos0"]=R.makeCalcdata(T,ae),G=v.concat(G,O),delete T["_"+A+"autoBinFinished"],w.visible===!0&&(W?W=!1:(delete T._autoBin,T["_"+A+"autoBinFinished"]=1),i.traceIs(T,"2dMap")&&(X=!0),T.type==="histogram2dcontour"&&(Q=!0))}D=N[0][A+"calendar"];var ie=S.autoBin(G,R,P.nbins,X,D,P.sizeFound&&P.size),he=N[0]._autoBin={};if(U=he[P.dirs[0]]={},Q&&(P.size||(ie.start=z(S.tickIncrement(Y(ie.start),ie.size,!0,D))),P.end===void 0&&(ie.end=z(S.tickIncrement(Y(ie.end),ie.size,!1,D)))),M&&!i.traceIs(w,"2dMap")&&ie._dataSpan===0&&R.type!=="category"&&R.type!=="multicategory"&&w.bingroup===""&&typeof w.xbins>"u"){if(E)return[ie,O,!0];ie=b(C,w,R,A,k)}B=T.cumulative||{},B.enabled&&B.currentbin!=="include"&&(B.direction==="decreasing"?ie.start=z(S.tickIncrement(Y(ie.start),ie.size,!0,D)):ie.end=z(S.tickIncrement(Y(ie.end),ie.size,!1,D))),P.size=ie.size,P.sizeFound||(U.size=ie.size,v.nestedProperty(N[0],k+".size").set(ie.size)),j("start",P,ie),j("end",P,ie)}O=w["_"+A+"pos0"],delete w["_"+A+"pos0"];var J=w._input[k]||{},Z=v.extendFlat({},P),le=P.start,K=R.r2l(J.start),te=K!==void 0;if((P.startFound||te)&&K!==R.r2l(le)){var ce=te?K:v.aggNums(Math.min,null,O),re={type:R.type==="category"||R.type==="multicategory"?"linear":R.type,r2l:R.r2l,dtick:P.size,tick0:le,calendar:D,range:[ce,S.tickIncrement(ce,P.size,!1,D)].map(R.l2r)},ee=S.tickFirst(re);ee>R.r2l(ce)&&(ee=S.tickIncrement(ee,P.size,!0,D)),Z.start=R.l2r(ee),te||v.nestedProperty(w,k+".start").set(Z.start)}var de=P.end,oe=R.r2l(J.end),fe=oe!==void 0;if((P.endFound||fe)&&oe!==R.r2l(de)){var me=fe?oe:v.aggNums(Math.max,null,O);Z.end=R.l2r(me),fe||v.nestedProperty(w,k+".start").set(Z.end)}var Te="autobin"+A;return w._input[Te]===!1&&(w._input[k]=v.extendFlat({},w[k]||{}),delete w._input[Te],delete w[Te]),[Z,O]}function b(C,w,R,A,E){var k=C._fullLayout,L=x(C,w),I=!1,P=1/0,M=[w],F,N,T;for(F=0;F<L.length;F++)if(N=L[F],N===w)I=!0;else if(!I)T=k._histogramBinOpts[N["_"+A+"bingroup"]],P=Math.min(P,T.size||N[E].size);else{var D=f(C,N,R,A,!0),O=D[0],U=D[2];N["_"+A+"autoBinFinished"]=1,N["_"+A+"pos0"]=D[1],U?M.push(N):P=Math.min(P,O.size)}var B=new Array(M.length);for(F=0;F<M.length;F++)for(var Y=M[F]["_"+A+"pos0"],z=0;z<Y.length;z++)if(Y[z]!==void 0){B[F]=Y[z];break}for(isFinite(P)||(P=v.distinctVals(B).minDiff),F=0;F<M.length;F++){N=M[F];var V=N[A+"calendar"],j={start:R.c2r(B[F]-P/2,0,V),end:R.c2r(B[F]+P/2,0,V),size:P};N._input[E]=N[E]=j,T=k._histogramBinOpts[N["_"+A+"bingroup"]],T&&v.extendFlat(T,j)}return w[E]}function x(C,w){for(var R=w.xaxis,A=w.yaxis,E=w.orientation,k=[],L=C._fullData,I=0;I<L.length;I++){var P=L[I];P.type==="histogram"&&P.visible===!0&&P.orientation===E&&P.xaxis===R&&P.yaxis===A&&k.push(P)}return k}function y(C,w,R){var A,E,k;function L(P){k=C[P],C[P]/=2}function I(P){E=C[P],C[P]=k+E/2,k+=E}if(R==="half")if(w==="increasing")for(L(0),A=1;A<C.length;A++)I(A);else for(L(C.length-1),A=C.length-2;A>=0;A--)I(A);else if(w==="increasing"){for(A=1;A<C.length;A++)C[A]+=C[A-1];R==="exclude"&&(C.unshift(0),C.pop())}else{for(A=C.length-2;A>=0;A--)C[A]+=C[A+1];R==="exclude"&&(C.push(0),C.shift())}}u.exports={calc:d,calcAllAutoBins:f}},73316:function(u){u.exports={eventDataKeys:["binNumber"]}},80536:function(u,h,a){var l=a(3400),v=a(79811),i=a(24040).traceIs,S=a(20011),g=a(31508).validateCornerradius,p=l.nestedProperty,_=a(71888).getAxisGroup,c=[{aStr:{x:"xbins.start",y:"ybins.start"},name:"start"},{aStr:{x:"xbins.end",y:"ybins.end"},name:"end"},{aStr:{x:"xbins.size",y:"ybins.size"},name:"size"},{aStr:{x:"nbinsx",y:"nbinsy"},name:"nbins"}],s=["x","y"];u.exports=function(f,b){var x=b._histogramBinOpts={},y=[],C={},w=[],R,A,E,k,L,I,P;function M(ie,he){return l.coerce(R._input,R,R._module.attributes,ie,he)}function F(ie){return ie.orientation==="v"?"x":"y"}function N(ie,he){var J=v.getFromTrace({_fullLayout:b},ie,he);return J.type}function T(ie,he,J){var Z=ie.uid+"__"+J;he||(he=Z);var le=N(ie,J),K=ie[J+"calendar"]||"",te=x[he],ce=!0;te&&(le===te.axType&&K===te.calendar?(ce=!1,te.traces.push(ie),te.dirs.push(J)):(he=Z,le!==te.axType&&l.warn(["Attempted to group the bins of trace",ie.index,"set on a","type:"+le,"axis","with bins on","type:"+te.axType,"axis."].join(" ")),K!==te.calendar&&l.warn(["Attempted to group the bins of trace",ie.index,"set with a",K,"calendar","with bins",te.calendar?"on a "+te.calendar+" calendar":"w/o a set calendar"].join(" ")))),ce&&(x[he]={traces:[ie],dirs:[J],axType:le,calendar:ie[J+"calendar"]||""}),ie["_"+J+"bingroup"]=he}for(L=0;L<f.length;L++)if(R=f[L],i(R,"histogram")){if(y.push(R),delete R._xautoBinFinished,delete R._yautoBinFinished,R.type==="histogram"){var D=M("marker.cornerradius",b.barcornerradius);R.marker&&(R.marker.cornerradius=g(D))}i(R,"2dMap")||S(R._input,R,b,M)}var O=b._alignmentOpts||{};for(L=0;L<y.length;L++){if(R=y[L],E="",!i(R,"2dMap")){if(k=F(R),b.barmode==="group"&&R.alignmentgroup){var U=R[k+"axis"],B=_(b,U)+R.orientation;(O[B]||{})[R.alignmentgroup]&&(E=B)}!E&&b.barmode!=="overlay"&&(E=_(b,R.xaxis)+_(b,R.yaxis)+F(R))}E?(C[E]||(C[E]=[]),C[E].push(R)):w.push(R)}for(E in C){if(A=C[E],A.length===1){w.push(A[0]);continue}var Y=!1;for(A.length&&(R=A[0],Y=M("bingroup")),E=Y||E,L=0;L<A.length;L++){R=A[L];var z=R._input.bingroup;z&&z!==E&&l.warn(["Trace",R.index,"must match","within bingroup",E+".","Ignoring its bingroup:",z,"setting."].join(" ")),R.bingroup=E,T(R,E,F(R))}}for(L=0;L<w.length;L++){R=w[L];var V=M("bingroup");if(i(R,"2dMap"))for(P=0;P<2;P++){k=s[P];var j=M(k+"bingroup",V?V+"__"+k:null);T(R,j,k)}else T(R,V,F(R))}for(E in x){var G=x[E];for(A=G.traces,I=0;I<c.length;I++){var W=c[I],X=W.name,Q,ae;if(!(X==="nbins"&&G.sizeFound)){for(L=0;L<A.length;L++){if(R=A[L],k=G.dirs[L],Q=W.aStr[k],p(R._input,Q).get()!==void 0){G[X]=M(Q),G[X+"Found"]=!0;break}ae=(R._autoBin||{})[k]||{},ae[X]&&p(R,Q).set(ae[X])}if(X==="start"||X==="end")for(;L<A.length;L++)R=A[L],R["_"+k+"bingroup"]&&(ae=(R._autoBin||{})[k]||{},M(Q,ae[X]));X==="nbins"&&!G.sizeFound&&!G.nbinsFound&&(R=A[0],G[X]=M(Q))}}}}},6616:function(u,h,a){var l=a(24040),v=a(3400),i=a(76308),S=a(31508).handleText,g=a(55592),p=a(40196);u.exports=function(c,s,d,f){function b(F,N){return v.coerce(c,s,p,F,N)}var x=b("x"),y=b("y"),C=b("cumulative.enabled");C&&(b("cumulative.direction"),b("cumulative.currentbin")),b("text");var w=b("textposition");S(c,s,f,b,w,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),b("hovertext"),b("hovertemplate"),b("xhoverformat"),b("yhoverformat");var R=b("orientation",y&&!x?"h":"v"),A=R==="v"?"x":"y",E=R==="v"?"y":"x",k=x&&y?Math.min(v.minRowLength(x)&&v.minRowLength(y)):v.minRowLength(s[A]||[]);if(!k){s.visible=!1;return}s._length=k;var L=l.getComponentMethod("calendars","handleTraceDefaults");L(c,s,["x","y"],f);var I=s[E];I&&b("histfunc"),b("histnorm"),b("autobin"+A),g(c,s,b,d,f),v.coerceSelectionMarkerOpacity(s,b);var P=(s.marker.line||{}).color,M=l.getComponentMethod("errorbars","supplyDefaults");M(c,s,P||i.defaultLine,{axis:"y"}),M(c,s,P||i.defaultLine,{axis:"x",inherit:"y"})}},84980:function(u){u.exports=function(a,l,v,i,S){if(a.x="xVal"in l?l.xVal:l.x,a.y="yVal"in l?l.yVal:l.y,"zLabelVal"in l&&(a.z=l.zLabelVal),l.xa&&(a.xaxis=l.xa),l.ya&&(a.yaxis=l.ya),!(v.cumulative||{}).enabled){var g=Array.isArray(S)?i[0].pts[S[0]][S[1]]:i[S].pts;a.pointNumbers=g,a.binNumber=a.pointNumber,delete a.pointNumber,delete a.pointIndex;var p;if(v._indexToPoints){p=[];for(var _=0;_<g.length;_++)p=p.concat(v._indexToPoints[g[_]])}else p=g;a.pointIndices=p}return a}},43339:function(u,h,a){var l=a(63400).hoverPoints,v=a(54460).hoverLabelText;u.exports=function(S,g,p,_,c){var s=l(S,g,p,_,c);if(s){S=s[0];var d=S.cd[S.index],f=S.cd[0].trace;if(!f.cumulative.enabled){var b=f.orientation==="h"?"y":"x";S[b+"Label"]=v(S[b+"a"],[d.ph0,d.ph1],f[b+"hoverformat"])}return s}}},42600:function(u,h,a){u.exports={attributes:a(40196),layoutAttributes:a(39324),supplyDefaults:a(6616),crossTraceDefaults:a(80536),supplyLayoutDefaults:a(37156),calc:a(35852).calc,crossTraceCalc:a(96376).crossTraceCalc,plot:a(98184).plot,layerName:"barlayer",style:a(60100).style,styleOnSelect:a(60100).styleOnSelect,colorbar:a(5528),hoverPoints:a(43339),selectPoints:a(45784),eventData:a(84980),moduleType:"trace",name:"histogram",basePlotModule:a(57952),categories:["bar-like","cartesian","svg","bar","histogram","oriented","errorBarsOK","showLegend"],meta:{}}},10648:function(u){u.exports={percent:function(h,a){for(var l=h.length,v=100/a,i=0;i<l;i++)h[i]*=v},probability:function(h,a){for(var l=h.length,v=0;v<l;v++)h[v]/=a},density:function(h,a,l,v){var i=h.length;v=v||1;for(var S=0;S<i;S++)h[S]*=l[S]*v},"probability density":function(h,a,l,v){var i=h.length;v&&(a/=v);for(var S=0;S<i;S++)h[S]*=l[S]/a}}},37008:function(u,h,a){var l=a(40196),v=a(11120),i=a(83328),S=a(45464),g=a(29736).axisHoverFormat,p=a(21776).Ks,_=a(21776).Gw,c=a(49084),s=a(92880).extendFlat;u.exports=s({x:l.x,y:l.y,z:{valType:"data_array",editType:"calc"},marker:{color:{valType:"data_array",editType:"calc"},editType:"calc"},histnorm:l.histnorm,histfunc:l.histfunc,nbinsx:l.nbinsx,xbins:v("x"),nbinsy:l.nbinsy,ybins:v("y"),autobinx:l.autobinx,autobiny:l.autobiny,bingroup:s({},l.bingroup,{}),xbingroup:s({},l.bingroup,{}),ybingroup:s({},l.bingroup,{}),xgap:i.xgap,ygap:i.ygap,zsmooth:i.zsmooth,xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z",1),hovertemplate:p({},{keys:"z"}),texttemplate:_({arrayOk:!1,editType:"plot"},{keys:"z"}),textfont:i.textfont,showlegend:s({},S.showlegend,{dflt:!1})},c("",{cLetter:"z",autoColorDflt:!1}))},55480:function(u,h,a){var l=a(3400),v=a(54460),i=a(16964),S=a(10648),g=a(2e3),p=a(67712),_=a(35852).calcAllAutoBins;u.exports=function(b,x){var y=v.getFromId(b,x.xaxis),C=v.getFromId(b,x.yaxis),w=x.xcalendar,R=x.ycalendar,A=function(qe){return y.r2c(qe,0,w)},E=function(qe){return C.r2c(qe,0,R)},k=function(qe){return y.c2r(qe,0,w)},L=function(qe){return C.c2r(qe,0,R)},I,P,M,F,N=_(b,x,y,"x"),T=N[0],D=N[1],O=_(b,x,C,"y"),U=O[0],B=O[1],Y=x._length;D.length>Y&&D.splice(Y,D.length-Y),B.length>Y&&B.splice(Y,B.length-Y);var z=[],V=[],j=[],G=typeof T.size=="string",W=typeof U.size=="string",X=[],Q=[],ae=G?X:T,ie=W?Q:U,he=0,J=[],Z=[],le=x.histnorm,K=x.histfunc,te=le.indexOf("density")!==-1,ce=K==="max"||K==="min",re=ce?null:0,ee=i.count,de=S[le],oe=!1,fe=[],me=[],Te="z"in x?x.z:"marker"in x&&Array.isArray(x.marker.color)?x.marker.color:"";Te&&K!=="count"&&(oe=K==="avg",ee=i[K]);var we=T.size,Be=A(T.start),Ae=A(T.end)+(Be-v.tickIncrement(Be,we,!1,w))/1e6;for(I=Be;I<Ae;I=v.tickIncrement(I,we,!1,w))V.push(re),X.push(I),oe&&j.push(0);X.push(I);var Re=V.length,be=(I-Be)/Re,Pe=k(Be+be/2),Ke=U.size,ze=E(U.start),Fe=E(U.end)+(ze-v.tickIncrement(ze,Ke,!1,R))/1e6;for(I=ze;I<Fe;I=v.tickIncrement(I,Ke,!1,R)){z.push(V.slice()),Q.push(I);var We=new Array(Re);for(P=0;P<Re;P++)We[P]=[];Z.push(We),oe&&J.push(j.slice())}Q.push(I);var lt=z.length,ht=(I-ze)/lt,tt=L(ze+ht/2);te&&(fe=c(V.length,ae,be,G),me=c(z.length,ie,ht,W)),!G&&y.type==="date"&&(ae=s(A,ae)),!W&&C.type==="date"&&(ie=s(E,ie));var et=!0,pt=!0,vt=new Array(Re),_t=new Array(lt),bt=1/0,Rt=1/0,ct=1/0,Ve=1/0;for(I=0;I<Y;I++){var Qe=D[I],rt=B[I];M=l.findBin(Qe,ae),F=l.findBin(rt,ie),M>=0&&M<Re&&F>=0&&F<lt&&(he+=ee(M,I,z[F],Te,J[F]),Z[F][M].push(I),et&&(vt[M]===void 0?vt[M]=Qe:vt[M]!==Qe&&(et=!1)),pt&&(_t[F]===void 0?_t[F]=rt:_t[F]!==rt&&(pt=!1)),bt=Math.min(bt,Qe-X[M]),Rt=Math.min(Rt,X[M+1]-Qe),ct=Math.min(ct,rt-Q[F]),Ve=Math.min(Ve,Q[F+1]-rt))}if(oe)for(F=0;F<lt;F++)he+=g(z[F],J[F]);if(de)for(F=0;F<lt;F++)de(z[F],he,fe,me[F]);return{x:D,xRanges:d(X,et&&vt,bt,Rt,y,w),x0:Pe,dx:be,y:B,yRanges:d(Q,pt&&_t,ct,Ve,C,R),y0:tt,dy:ht,z,pts:Z}};function c(f,b,x,y){var C=new Array(f),w;if(y)for(w=0;w<f;w++)C[w]=1/(b[w+1]-b[w]);else{var R=1/x;for(w=0;w<f;w++)C[w]=R}return C}function s(f,b){return{start:f(b.start),end:f(b.end),size:b.size}}function d(f,b,x,y,C,w){var R,A=f.length-1,E=new Array(A),k=p(x,y,f,C,w);for(R=0;R<A;R++){var L=(b||[])[R];E[R]=L===void 0?[k(f[R]),k(f[R+1],!0)]:[L,L]}return E}},99784:function(u,h,a){var l=a(3400),v=a(56408),i=a(82748),S=a(27260),g=a(39096),p=a(37008);u.exports=function(c,s,d,f){function b(x,y){return l.coerce(c,s,p,x,y)}v(c,s,b,f),s.visible!==!1&&(i(c,s,b,f),S(c,s,f,b,{prefix:"",cLetter:"z"}),b("hovertemplate"),g(b,f),b("xhoverformat"),b("yhoverformat"))}},59576:function(u,h,a){var l=a(55512),v=a(54460).hoverLabelText;u.exports=function(S,g,p,_,c){var s=l(S,g,p,_,c);if(s){S=s[0];var d=S.index,f=d[0],b=d[1],x=S.cd[0],y=x.trace,C=x.xRanges[b],w=x.yRanges[f];return S.xLabel=v(S.xa,[C[0],C[1]],y.xhoverformat),S.yLabel=v(S.ya,[w[0],w[1]],y.yhoverformat),s}}},21536:function(u,h,a){u.exports={attributes:a(37008),supplyDefaults:a(99784),crossTraceDefaults:a(80536),calc:a(19512),plot:a(41420),layerName:"heatmaplayer",colorbar:a(96288),style:a(41648),hoverPoints:a(59576),eventData:a(84980),moduleType:"trace",name:"histogram2d",basePlotModule:a(57952),categories:["cartesian","svg","2dMap","histogram","showLegend"],meta:{}}},56408:function(u,h,a){var l=a(24040),v=a(3400);u.exports=function(S,g,p,_){var c=p("x"),s=p("y"),d=v.minRowLength(c),f=v.minRowLength(s);if(!d||!f){g.visible=!1;return}g._length=Math.min(d,f);var b=l.getComponentMethod("calendars","handleTraceDefaults");b(S,g,["x","y"],_);var x=p("z")||p("marker.color");x&&p("histfunc"),p("histnorm"),p("autobinx"),p("autobiny")}},81220:function(u,h,a){var l=a(37008),v=a(67104),i=a(49084),S=a(29736).axisHoverFormat,g=a(92880).extendFlat;u.exports=g({x:l.x,y:l.y,z:l.z,marker:l.marker,histnorm:l.histnorm,histfunc:l.histfunc,nbinsx:l.nbinsx,xbins:l.xbins,nbinsy:l.nbinsy,ybins:l.ybins,autobinx:l.autobinx,autobiny:l.autobiny,bingroup:l.bingroup,xbingroup:l.xbingroup,ybingroup:l.ybingroup,autocontour:v.autocontour,ncontours:v.ncontours,contours:v.contours,line:{color:v.line.color,width:g({},v.line.width,{dflt:.5}),dash:v.line.dash,smoothing:v.line.smoothing,editType:"plot"},xhoverformat:S("x"),yhoverformat:S("y"),zhoverformat:S("z",1),hovertemplate:l.hovertemplate,texttemplate:v.texttemplate,textfont:v.textfont},i("",{cLetter:"z",editTypeOverride:"calc"}))},3704:function(u,h,a){var l=a(3400),v=a(56408),i=a(84952),S=a(97680),g=a(39096),p=a(81220);u.exports=function(c,s,d,f){function b(y,C){return l.coerce(c,s,p,y,C)}function x(y){return l.coerce2(c,s,p,y)}v(c,s,b,f),s.visible!==!1&&(i(c,s,b,x),S(c,s,b,f),b("xhoverformat"),b("yhoverformat"),b("hovertemplate"),s.contours&&s.contours.coloring==="heatmap"&&g(b,f))}},65664:function(u,h,a){u.exports={attributes:a(81220),supplyDefaults:a(3704),crossTraceDefaults:a(80536),calc:a(20688),plot:a(23676).plot,layerName:"contourlayer",style:a(52440),colorbar:a(55296),hoverPoints:a(38200),moduleType:"trace",name:"histogram2dcontour",basePlotModule:a(57952),categories:["cartesian","svg","2dMap","contour","histogram","showLegend"],meta:{}}},97376:function(u,h,a){var l=a(21776).Ks,v=a(21776).Gw,i=a(49084),S=a(86968).u,g=a(74996),p=a(424),_=a(40516),c=a(32984),s=a(92880).extendFlat,d=a(98192).c;u.exports={labels:p.labels,parents:p.parents,values:p.values,branchvalues:p.branchvalues,count:p.count,level:p.level,maxdepth:p.maxdepth,tiling:{orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"plot"},flip:_.tiling.flip,pad:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"calc"},marker:s({colors:p.marker.colors,line:p.marker.line,pattern:d,editType:"calc"},i("marker",{colorAttr:"colors",anim:!1})),leaf:p.leaf,pathbar:_.pathbar,text:g.text,textinfo:p.textinfo,texttemplate:v({editType:"plot"},{keys:c.eventDataKeys.concat(["label","value"])}),hovertext:g.hovertext,hoverinfo:p.hoverinfo,hovertemplate:l({},{keys:c.eventDataKeys}),textfont:g.textfont,insidetextfont:g.insidetextfont,outsidetextfont:_.outsidetextfont,textposition:_.textposition,sort:g.sort,root:p.root,domain:S({name:"icicle",trace:!0,editType:"calc"})}},59564:function(u,h,a){var l=a(7316);h.name="icicle",h.plot=function(v,i,S,g){l.plotBasePlot(h.name,v,i,S,g)},h.clean=function(v,i,S,g){l.cleanBasePlot(h.name,v,i,S,g)}},73876:function(u,h,a){var l=a(3776);h.r=function(v,i){return l.calc(v,i)},h.q=function(v){return l._runCrossTraceCalc("icicle",v)}},7045:function(u,h,a){var l=a(3400),v=a(97376),i=a(76308),S=a(86968).Q,g=a(31508).handleText,p=a(78048).TEXTPAD,_=a(74174).handleMarkerDefaults,c=a(8932),s=c.hasColorscale,d=c.handleDefaults;u.exports=function(b,x,y,C){function w(M,F){return l.coerce(b,x,v,M,F)}var R=w("labels"),A=w("parents");if(!R||!R.length||!A||!A.length){x.visible=!1;return}var E=w("values");E&&E.length?w("branchvalues"):w("count"),w("level"),w("maxdepth"),w("tiling.orientation"),w("tiling.flip"),w("tiling.pad");var k=w("text");w("texttemplate"),x.texttemplate||w("textinfo",l.isArrayOrTypedArray(k)?"text+label":"label"),w("hovertext"),w("hovertemplate");var L=w("pathbar.visible"),I="auto";g(b,x,C,w,I,{hasPathbar:L,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),w("textposition"),_(b,x,C,w);var P=x._hasColorscale=s(b,"marker","colors")||(b.marker||{}).coloraxis;P&&d(b,x,C,w,{prefix:"marker.",cLetter:"c"}),w("leaf.opacity",P?1:.7),x._hovered={marker:{line:{width:2,color:i.contrast(C.paper_bgcolor)}}},L&&(w("pathbar.thickness",x.pathbar.textfont.size+2*p),w("pathbar.side"),w("pathbar.edgeshape")),w("sort"),w("root.color"),S(x,C,w),x._length=null}},67880:function(u,h,a){var l=a(33428),v=a(3400),i=a(43616),S=a(72736),g=a(25132),p=a(47192).styleOne,_=a(32984),c=a(78176),s=a(45716),d=a(96488).formatSliceLabel,f=!1;u.exports=function(x,y,C,w,R){var A=R.width,E=R.height,k=R.viewX,L=R.viewY,I=R.pathSlice,P=R.toMoveInsideSlice,M=R.strTransform,F=R.hasTransition,N=R.handleSlicesExit,T=R.makeUpdateSliceInterpolator,D=R.makeUpdateTextInterpolator,O=R.prevEntry,U={},B=x._context.staticPlot,Y=x._fullLayout,z=y[0],V=z.trace,j=V.textposition.indexOf("left")!==-1,G=V.textposition.indexOf("right")!==-1,W=V.textposition.indexOf("bottom")!==-1,X=g(C,[A,E],{flipX:V.tiling.flip.indexOf("x")>-1,flipY:V.tiling.flip.indexOf("y")>-1,orientation:V.tiling.orientation,pad:{inner:V.tiling.pad},maxDepth:V._maxDepth}),Q=X.descendants(),ae=1/0,ie=-1/0;Q.forEach(function(K){var te=K.depth;te>=V._maxDepth?(K.x0=K.x1=(K.x0+K.x1)/2,K.y0=K.y1=(K.y0+K.y1)/2):(ae=Math.min(ae,te),ie=Math.max(ie,te))}),w=w.data(Q,c.getPtId),V._maxVisibleLayers=isFinite(ie)?ie-ae+1:0,w.enter().append("g").classed("slice",!0),N(w,f,U,[A,E],I),w.order();var he=null;if(F&&O){var J=c.getPtId(O);w.each(function(K){he===null&&c.getPtId(K)===J&&(he={x0:K.x0,x1:K.x1,y0:K.y0,y1:K.y1})})}var Z=function(){return he||{x0:0,x1:A,y0:0,y1:E}},le=w;return F&&(le=le.transition().each("end",function(){var K=l.select(this);c.setSliceCursor(K,x,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),le.each(function(K){K._x0=k(K.x0),K._x1=k(K.x1),K._y0=L(K.y0),K._y1=L(K.y1),K._hoverX=k(K.x1-V.tiling.pad),K._hoverY=L(W?K.y1-V.tiling.pad/2:K.y0+V.tiling.pad/2);var te=l.select(this),ce=v.ensureSingle(te,"path","surface",function(oe){oe.style("pointer-events",B?"none":"all")});F?ce.transition().attrTween("d",function(oe){var fe=T(oe,f,Z(),[A,E],{orientation:V.tiling.orientation,flipX:V.tiling.flip.indexOf("x")>-1,flipY:V.tiling.flip.indexOf("y")>-1});return function(me){return I(fe(me))}}):ce.attr("d",I),te.call(s,C,x,y,{styleOne:p,eventDataKeys:_.eventDataKeys,transitionTime:_.CLICK_TRANSITION_TIME,transitionEasing:_.CLICK_TRANSITION_EASING}).call(c.setSliceCursor,x,{isTransitioning:x._transitioning}),ce.call(p,K,V,x,{hovered:!1}),K.x0===K.x1||K.y0===K.y1?K._text="":K._text=d(K,C,V,y,Y)||"";var re=v.ensureSingle(te,"g","slicetext"),ee=v.ensureSingle(re,"text","",function(oe){oe.attr("data-notex",1)}),de=v.ensureUniformFontSize(x,c.determineTextFont(V,K,Y.font));ee.text(K._text||" ").classed("slicetext",!0).attr("text-anchor",G?"end":j?"start":"middle").call(i.font,de).call(S.convertToTspans,x),K.textBB=i.bBox(ee.node()),K.transform=P(K,{fontSize:de.size}),K.transform.fontSize=de.size,F?ee.transition().attrTween("transform",function(oe){var fe=D(oe,f,Z(),[A,E]);return function(me){return M(fe(me))}}):ee.attr("transform",M(K))}),he}},29044:function(u,h,a){u.exports={moduleType:"trace",name:"icicle",basePlotModule:a(59564),categories:[],animatable:!0,attributes:a(97376),layoutAttributes:a(90676),supplyDefaults:a(7045),supplyLayoutDefaults:a(4304),calc:a(73876).r,crossTraceCalc:a(73876).q,plot:a(38364),style:a(47192).style,colorbar:a(5528),meta:{}}},90676:function(u){u.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},4304:function(u,h,a){var l=a(3400),v=a(90676);u.exports=function(S,g){function p(_,c){return l.coerce(S,g,v,_,c)}p("iciclecolorway",g.colorway),p("extendiciclecolors")}},25132:function(u,h,a){var l=a(74148),v=a(83024);u.exports=function(S,g,p){var _=p.flipX,c=p.flipY,s=p.orientation==="h",d=p.maxDepth,f=g[0],b=g[1];d&&(f=(S.height+1)*g[0]/Math.min(S.height+1,d),b=(S.height+1)*g[1]/Math.min(S.height+1,d));var x=l.partition().padding(p.pad.inner).size(s?[g[1],f]:[g[0],b])(S);return(s||_||c)&&v(x,g,{swapXY:s,flipX:_,flipY:c}),x}},38364:function(u,h,a){var l=a(95808),v=a(67880);u.exports=function(S,g,p,_){return l(S,g,p,_,{type:"icicle",drawDescendants:v})}},47192:function(u,h,a){var l=a(33428),v=a(76308),i=a(3400),S=a(82744).resizeText,g=a(60404);function p(c){var s=c._fullLayout._iciclelayer.selectAll(".trace");S(c,s,"icicle"),s.each(function(d){var f=l.select(this),b=d[0],x=b.trace;f.style("opacity",x.opacity),f.selectAll("path.surface").each(function(y){l.select(this).call(_,y,x,c)})})}function _(c,s,d,f){var b=s.data.data,x=!s.children,y=b.i,C=i.castOption(d,y,"marker.line.color")||v.defaultLine,w=i.castOption(d,y,"marker.line.width")||0;c.call(g,s,d,f).style("stroke-width",w).call(v.stroke,C).style("opacity",x?d.leaf.opacity:null)}u.exports={style:p,styleOne:_}},95188:function(u,h,a){for(var l=a(45464),v=a(21776).Ks,i=a(92880).extendFlat,S=a(47797).colormodel,g=["rgb","rgba","rgba256","hsl","hsla"],p=[],_=[],c=0;c<g.length;c++){var s=S[g[c]];p.push("For the `"+g[c]+"` colormodel, it is ["+(s.zminDflt||s.min).join(", ")+"]."),_.push("For the `"+g[c]+"` colormodel, it is ["+(s.zmaxDflt||s.max).join(", ")+"].")}u.exports=i({source:{valType:"string",editType:"calc"},z:{valType:"data_array",editType:"calc"},colormodel:{valType:"enumerated",values:g,editType:"calc"},zsmooth:{valType:"enumerated",values:["fast",!1],dflt:!1,editType:"plot"},zmin:{valType:"info_array",items:[{valType:"number",editType:"calc"},{valType:"number",editType:"calc"},{valType:"number",editType:"calc"},{valType:"number",editType:"calc"}],editType:"calc"},zmax:{valType:"info_array",items:[{valType:"number",editType:"calc"},{valType:"number",editType:"calc"},{valType:"number",editType:"calc"},{valType:"number",editType:"calc"}],editType:"calc"},x0:{valType:"any",dflt:0,editType:"calc+clearAxisTypes"},y0:{valType:"any",dflt:0,editType:"calc+clearAxisTypes"},dx:{valType:"number",dflt:1,editType:"calc"},dy:{valType:"number",dflt:1,editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"data_array",editType:"plot"},hoverinfo:i({},l.hoverinfo,{flags:["x","y","z","color","name","text"],dflt:"x+y+z+text+name"}),hovertemplate:v({},{keys:["z","color","colormodel"]}),transforms:void 0})},93336:function(u,h,a){var l=a(3400),v=a(47797),i=a(38248),S=a(54460),g=a(3400).maxRowLength,p=a(18712).i;u.exports=function(f,b){var x,y;if(b._hasZ)x=b.z.length,y=g(b.z);else if(b._hasSource){var C=p(b.source);x=C.height,y=C.width}var w=S.getFromId(f,b.xaxis||"x"),R=S.getFromId(f,b.yaxis||"y"),A=w.d2c(b.x0)-b.dx/2,E=R.d2c(b.y0)-b.dy/2,k,L=[A,A+y*b.dx],I=[E,E+x*b.dy];if(w&&w.type==="log")for(k=0;k<y;k++)L.push(A+k*b.dx);if(R&&R.type==="log")for(k=0;k<x;k++)I.push(E+k*b.dy);b._extremes[w._id]=S.findExtremes(w,L),b._extremes[R._id]=S.findExtremes(R,I),b._scaler=s(b);var P={x0:A,y0:E,z:b.z,w:y,h:x};return[P]};function _(d,f,b,x){return function(y){return l.constrain((y-d)*f,b,x)}}function c(d,f){return function(b){return l.constrain(b,d,f)}}function s(d){var f=v.colormodel[d.colormodel],b=f.colormodel||d.colormodel,x=b.length;d._sArray=[];for(var y=0;y<x;y++)f.min[y]!==d.zmin[y]||f.max[y]!==d.zmax[y]?d._sArray.push(_(d.zmin[y],(f.max[y]-f.min[y])/(d.zmax[y]-d.zmin[y]),f.min[y],f.max[y])):d._sArray.push(c(f.min[y],f.max[y]));return function(C){for(var w=C.slice(0,x),R=0;R<x;R++){var A=w[R];if(!i(A))return!1;w[R]=d._sArray[R](A)}return w}}},47797:function(u){u.exports={colormodel:{rgb:{min:[0,0,0],max:[255,255,255],fmt:function(h){return h.slice(0,3)},suffix:["","",""]},rgba:{min:[0,0,0,0],max:[255,255,255,1],fmt:function(h){return h.slice(0,4)},suffix:["","","",""]},rgba256:{colormodel:"rgba",zminDflt:[0,0,0,0],zmaxDflt:[255,255,255,255],min:[0,0,0,0],max:[255,255,255,1],fmt:function(h){return h.slice(0,4)},suffix:["","","",""]},hsl:{min:[0,0,0],max:[360,100,100],fmt:function(h){var a=h.slice(0,3);return a[1]=a[1]+"%",a[2]=a[2]+"%",a},suffix:["°","%","%"]},hsla:{min:[0,0,0,0],max:[360,100,100,1],fmt:function(h){var a=h.slice(0,4);return a[1]=a[1]+"%",a[2]=a[2]+"%",a},suffix:["°","%","%",""]}}}},13188:function(u,h,a){var l=a(3400),v=a(95188),i=a(47797),S=a(81792).IMAGE_URL_PREFIX;u.exports=function(p,_){function c(f,b){return l.coerce(p,_,v,f,b)}c("source"),_.source&&!_.source.match(S)&&delete _.source,_._hasSource=!!_.source;var s=c("z");if(_._hasZ=!(s===void 0||!s.length||!s[0]||!s[0].length),!_._hasZ&&!_._hasSource){_.visible=!1;return}c("x0"),c("y0"),c("dx"),c("dy");var d;_._hasZ?(c("colormodel","rgb"),d=i.colormodel[_.colormodel],c("zmin",d.zminDflt||d.min),c("zmax",d.zmaxDflt||d.max)):_._hasSource&&(_.colormodel="rgba256",d=i.colormodel[_.colormodel],_.zmin=d.zminDflt,_.zmax=d.zmaxDflt),c("zsmooth"),c("text"),c("hovertext"),c("hovertemplate"),_._length=null}},79972:function(u){u.exports=function(a,l){return"xVal"in l&&(a.x=l.xVal),"yVal"in l&&(a.y=l.yVal),l.xa&&(a.xaxis=l.xa),l.ya&&(a.yaxis=l.ya),a.color=l.color,a.colormodel=l.trace.colormodel,a.z||(a.z=l.color),a}},18712:function(u,h,a){var l=a(19480),v=a(81792).IMAGE_URL_PREFIX,i=a(33576).Buffer;h.i=function(S){var g=S.replace(v,""),p=new i(g,"base64");return l(p)}},24892:function(u,h,a){var l=a(93024),v=a(3400),i=v.isArrayOrTypedArray,S=a(47797);u.exports=function(p,_,c){var s=p.cd[0],d=s.trace,f=p.xa,b=p.ya;if(!(l.inbox(_-s.x0,_-(s.x0+s.w*d.dx),0)>0||l.inbox(c-s.y0,c-(s.y0+s.h*d.dy),0)>0)){var x=Math.floor((_-s.x0)/d.dx),y=Math.floor(Math.abs(c-s.y0)/d.dy),C;if(d._hasZ?C=s.z[y][x]:d._hasSource&&(C=d._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(x,y,1,1).data),!!C){var w=s.hi||d.hoverinfo,R;if(w){var A=w.split("+");A.indexOf("all")!==-1&&(A=["color"]),A.indexOf("color")!==-1&&(R=!0)}var E=S.colormodel[d.colormodel],k=E.colormodel||d.colormodel,L=k.length,I=d._scaler(C),P=E.suffix,M=[];(d.hovertemplate||R)&&(M.push("["+[I[0]+P[0],I[1]+P[1],I[2]+P[2]].join(", ")),L===4&&M.push(", "+I[3]+P[3]),M.push("]"),M=M.join(""),p.extraText=k.toUpperCase()+": "+M);var F;i(d.hovertext)&&i(d.hovertext[y])?F=d.hovertext[y][x]:i(d.text)&&i(d.text[y])&&(F=d.text[y][x]);var N=b.c2p(s.y0+(y+.5)*d.dy),T=s.x0+(x+.5)*d.dx,D=s.y0+(y+.5)*d.dy,O="["+C.slice(0,d.colormodel.length).join(", ")+"]";return[v.extendFlat(p,{index:[y,x],x0:f.c2p(s.x0+x*d.dx),x1:f.c2p(s.x0+(x+1)*d.dx),y0:N,y1:N,color:I,xVal:T,xLabelVal:T,yVal:D,yLabelVal:D,zLabelVal:O,text:F,hovertemplateLabels:{zLabel:O,colorLabel:M,"color[0]Label":I[0]+P[0],"color[1]Label":I[1]+P[1],"color[2]Label":I[2]+P[2],"color[3]Label":I[3]+P[3]}})]}}}},48928:function(u,h,a){u.exports={attributes:a(95188),supplyDefaults:a(13188),calc:a(93336),plot:a(63715),style:a(28576),hoverPoints:a(24892),eventData:a(79972),moduleType:"trace",name:"image",basePlotModule:a(57952),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}},63715:function(u,h,a){var l=a(33428),v=a(3400),i=v.strTranslate,S=a(9616),g=a(47797),p=a(9188),_=a(2264).STYLE;u.exports=function(s,d,f,b){var x=d.xaxis,y=d.yaxis,C=!s._context._exportedPlot&&p();v.makeTraceGroups(b,f,"im").each(function(w){var R=l.select(this),A=w[0],E=A.trace,k=(E.zsmooth==="fast"||E.zsmooth===!1&&C)&&!E._hasZ&&E._hasSource&&x.type==="linear"&&y.type==="linear";E._realImage=k;var L=A.z,I=A.x0,P=A.y0,M=A.w,F=A.h,N=E.dx,T=E.dy,D,O,U,B,Y,z;for(z=0;D===void 0&&z<M;)D=x.c2p(I+z*N),z++;for(z=M;O===void 0&&z>0;)O=x.c2p(I+z*N),z--;for(z=0;B===void 0&&z<F;)B=y.c2p(P+z*T),z++;for(z=F;Y===void 0&&z>0;)Y=y.c2p(P+z*T),z--;if(O<D&&(U=O,O=D,D=U),Y<B&&(U=B,B=Y,Y=U),!k){var V=.5;D=Math.max(-V*x._length,D),O=Math.min((1+V)*x._length,O),B=Math.max(-V*y._length,B),Y=Math.min((1+V)*y._length,Y)}var j=Math.round(O-D),G=Math.round(Y-B),W=j<=0||G<=0;if(W){var X=R.selectAll("image").data([]);X.exit().remove();return}function Q(re){var ee=document.createElement("canvas");ee.width=j,ee.height=G;var de=ee.getContext("2d",{willReadFrequently:!0}),oe=function(ze){return v.constrain(Math.round(x.c2p(I+ze*N)-D),0,j)},fe=function(ze){return v.constrain(Math.round(y.c2p(P+ze*T)-B),0,G)},me=g.colormodel[E.colormodel],Te=me.colormodel||E.colormodel,we=me.fmt,Be;for(z=0;z<A.w;z++){var Ae=oe(z),Re=oe(z+1);if(!(Re===Ae||isNaN(Re)||isNaN(Ae)))for(var be=0;be<A.h;be++){var Pe=fe(be),Ke=fe(be+1);Ke===Pe||isNaN(Ke)||isNaN(Pe)||!re(z,be)||(Be=E._scaler(re(z,be)),Be?de.fillStyle=Te+"("+we(Be).join(",")+")":de.fillStyle="rgba(0,0,0,0)",de.fillRect(Ae,Pe,Re-Ae,Ke-Pe))}}return ee}var ae=R.selectAll("image").data([w]);ae.enter().append("svg:image").attr({xmlns:S.svg,preserveAspectRatio:"none"}),ae.exit().remove();var ie=E.zsmooth===!1?_:"";if(k){var he=v.simpleMap(x.range,x.r2l),J=v.simpleMap(y.range,y.r2l),Z=he[1]<he[0],le=J[1]>J[0];if(Z||le){var K=D+j/2,te=B+G/2;ie+="transform:"+i(K+"px",te+"px")+"scale("+(Z?-1:1)+","+(le?-1:1)+")"+i(-K+"px",-te+"px")+";"}}ae.attr("style",ie);var ce=new Promise(function(re){if(E._hasZ)re();else if(E._hasSource)if(E._canvas&&E._canvas.el.width===M&&E._canvas.el.height===F&&E._canvas.source===E.source)re();else{var ee=document.createElement("canvas");ee.width=M,ee.height=F;var de=ee.getContext("2d",{willReadFrequently:!0});E._image=E._image||new Image;var oe=E._image;oe.onload=function(){de.drawImage(oe,0,0),E._canvas={el:ee,source:E.source},re()},oe.setAttribute("src",E.source)}}).then(function(){var re,ee;if(E._hasZ)ee=Q(function(fe,me){var Te=L[me][fe];return v.isTypedArray(Te)&&(Te=Array.from(Te)),Te}),re=ee.toDataURL("image/png");else if(E._hasSource)if(k)re=E.source;else{var de=E._canvas.el.getContext("2d",{willReadFrequently:!0}),oe=de.getImageData(0,0,M,F).data;ee=Q(function(fe,me){var Te=4*(me*M+fe);return[oe[Te],oe[Te+1],oe[Te+2],oe[Te+3]]}),re=ee.toDataURL("image/png")}ae.attr({"xlink:href":re,height:G,width:j,x:D,y:B})});s._promises.push(ce)})}},28576:function(u,h,a){var l=a(33428);u.exports=function(i){l.select(i).selectAll(".im image").style("opacity",function(S){return S[0].trace.opacity})}},89864:function(u,h,a){var l=a(92880).extendFlat,v=a(92880).extendDeep,i=a(67824).overrideAll,S=a(25376),g=a(22548),p=a(86968).u,_=a(94724),c=a(31780).templatedArray,s=a(48164),d=a(29736).descriptionOnlyNumbers,f=S({editType:"plot",colorEditType:"plot"}),b={color:{valType:"color",editType:"plot"},line:{color:{valType:"color",dflt:g.defaultLine,editType:"plot"},width:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"calc"},thickness:{valType:"number",min:0,max:1,dflt:1,editType:"plot"},editType:"calc"},x={valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},y=c("step",v({},b,{range:x}));u.exports={mode:{valType:"flaglist",editType:"calc",flags:["number","delta","gauge"],dflt:"number"},value:{valType:"number",editType:"calc",anim:!0},align:{valType:"enumerated",values:["left","center","right"],editType:"plot"},domain:p({name:"indicator",trace:!0,editType:"calc"}),title:{text:{valType:"string",editType:"plot"},align:{valType:"enumerated",values:["left","center","right"],editType:"plot"},font:l({},f,{}),editType:"plot"},number:{valueformat:{valType:"string",dflt:"",editType:"plot",description:d("value")},font:l({},f,{}),prefix:{valType:"string",dflt:"",editType:"plot"},suffix:{valType:"string",dflt:"",editType:"plot"},editType:"plot"},delta:{reference:{valType:"number",editType:"calc"},position:{valType:"enumerated",values:["top","bottom","left","right"],dflt:"bottom",editType:"plot"},relative:{valType:"boolean",editType:"plot",dflt:!1},valueformat:{valType:"string",editType:"plot",description:d("value")},increasing:{symbol:{valType:"string",dflt:s.INCREASING.SYMBOL,editType:"plot"},color:{valType:"color",dflt:s.INCREASING.COLOR,editType:"plot"},editType:"plot"},decreasing:{symbol:{valType:"string",dflt:s.DECREASING.SYMBOL,editType:"plot"},color:{valType:"color",dflt:s.DECREASING.COLOR,editType:"plot"},editType:"plot"},font:l({},f,{}),prefix:{valType:"string",dflt:"",editType:"plot"},suffix:{valType:"string",dflt:"",editType:"plot"},editType:"calc"},gauge:{shape:{valType:"enumerated",editType:"plot",dflt:"angular",values:["angular","bullet"]},bar:v({},b,{color:{dflt:"green"}}),bgcolor:{valType:"color",editType:"plot"},bordercolor:{valType:"color",dflt:g.defaultLine,editType:"plot"},borderwidth:{valType:"number",min:0,dflt:1,editType:"plot"},axis:i({range:x,visible:l({},_.visible,{dflt:!0}),tickmode:_.minor.tickmode,nticks:_.nticks,tick0:_.tick0,dtick:_.dtick,tickvals:_.tickvals,ticktext:_.ticktext,ticks:l({},_.ticks,{dflt:"outside"}),ticklen:_.ticklen,tickwidth:_.tickwidth,tickcolor:_.tickcolor,ticklabelstep:_.ticklabelstep,showticklabels:_.showticklabels,labelalias:_.labelalias,tickfont:S({}),tickangle:_.tickangle,tickformat:_.tickformat,tickformatstops:_.tickformatstops,tickprefix:_.tickprefix,showtickprefix:_.showtickprefix,ticksuffix:_.ticksuffix,showticksuffix:_.showticksuffix,separatethousands:_.separatethousands,exponentformat:_.exponentformat,minexponent:_.minexponent,showexponent:_.showexponent,editType:"plot"},"plot"),steps:y,threshold:{line:{color:l({},b.line.color,{}),width:l({},b.line.width,{dflt:1}),editType:"plot"},thickness:l({},b.thickness,{dflt:.85}),value:{valType:"number",editType:"calc",dflt:!1},editType:"plot"},editType:"plot"}}},92728:function(u,h,a){var l=a(7316);h.name="indicator",h.plot=function(v,i,S,g){l.plotBasePlot(h.name,v,i,S,g)},h.clean=function(v,i,S,g){l.cleanBasePlot(h.name,v,i,S,g)}},79136:function(u){function h(a,l){var v=[],i=l.value;typeof l._lastValue!="number"&&(l._lastValue=l.value);var S=l._lastValue,g=S;return l._hasDelta&&typeof l.delta.reference=="number"&&(g=l.delta.reference),v[0]={y:i,lastY:S,delta:i-g,relativeDelta:(i-g)/g},v}u.exports={calc:h}},12096:function(u){u.exports={defaultNumberFontSize:80,bulletNumberDomainSize:.25,bulletPadding:.025,innerRadius:.75,valueThickness:.5,titlePadding:5,horizontalPadding:10}},20424:function(u,h,a){var l=a(3400),v=a(89864),i=a(86968).Q,S=a(31780),g=a(51272),p=a(12096),_=a(26332),c=a(25404),s=a(95936),d=a(42568);function f(x,y,C,w){function R(Y,z){return l.coerce(x,y,v,Y,z)}i(y,w,R),R("mode"),y._hasNumber=y.mode.indexOf("number")!==-1,y._hasDelta=y.mode.indexOf("delta")!==-1,y._hasGauge=y.mode.indexOf("gauge")!==-1;var A=R("value");y._range=[0,typeof A=="number"?1.5*A:1];var E=new Array(2),k;y._hasNumber&&(R("number.valueformat"),R("number.font.color",w.font.color),R("number.font.family",w.font.family),R("number.font.size"),y.number.font.size===void 0&&(y.number.font.size=p.defaultNumberFontSize,E[0]=!0),R("number.prefix"),R("number.suffix"),k=y.number.font.size);var L;y._hasDelta&&(R("delta.font.color",w.font.color),R("delta.font.family",w.font.family),R("delta.font.size"),y.delta.font.size===void 0&&(y.delta.font.size=(y._hasNumber?.5:1)*(k||p.defaultNumberFontSize),E[1]=!0),R("delta.reference",y.value),R("delta.relative"),R("delta.valueformat",y.delta.relative?"2%":""),R("delta.increasing.symbol"),R("delta.increasing.color"),R("delta.decreasing.symbol"),R("delta.decreasing.color"),R("delta.position"),R("delta.prefix"),R("delta.suffix"),L=y.delta.font.size),y._scaleNumbers=(!y._hasNumber||E[0])&&(!y._hasDelta||E[1])||!1,R("title.font.color",w.font.color),R("title.font.family",w.font.family),R("title.font.size",.25*(k||L||p.defaultNumberFontSize)),R("title.text");var I,P,M,F;function N(Y,z){return l.coerce(I,P,v.gauge,Y,z)}function T(Y,z){return l.coerce(M,F,v.gauge.axis,Y,z)}if(y._hasGauge){I=x.gauge,I||(I={}),P=S.newContainer(y,"gauge"),N("shape");var D=y._isBullet=y.gauge.shape==="bullet";D||R("title.align","center");var O=y._isAngular=y.gauge.shape==="angular";O||R("align","center"),N("bgcolor",w.paper_bgcolor),N("borderwidth"),N("bordercolor"),N("bar.color"),N("bar.line.color"),N("bar.line.width");var U=p.valueThickness*(y.gauge.shape==="bullet"?.5:1);N("bar.thickness",U),g(I,P,{name:"steps",handleItemDefaults:b}),N("threshold.value"),N("threshold.thickness"),N("threshold.line.width"),N("threshold.line.color"),M={},I&&(M=I.axis||{}),F=S.newContainer(P,"axis"),T("visible"),y._range=T("range",y._range);var B={noAutotickangles:!0,outerTicks:!0};_(M,F,T,"linear"),d(M,F,T,"linear",B),s(M,F,T,"linear",B),c(M,F,T,B)}else R("title.align","center"),R("align","center"),y._isAngular=y._isBullet=!1;y._length=null}function b(x,y){function C(w,R){return l.coerce(x,y,v.gauge.steps,w,R)}C("color"),C("line.color"),C("line.width"),C("range"),C("thickness")}u.exports={supplyDefaults:f}},43480:function(u,h,a){u.exports={moduleType:"trace",name:"indicator",basePlotModule:a(92728),categories:["svg","noOpacity","noHover"],animatable:!0,attributes:a(89864),supplyDefaults:a(20424).supplyDefaults,calc:a(79136).calc,plot:a(97864),meta:{}}},97864:function(u,h,a){var l=a(33428),v=a(67756).qy,i=a(67756).Gz,S=a(3400),g=S.strScale,p=S.strTranslate,_=S.rad2deg,c=a(84284).MID_SHIFT,s=a(43616),d=a(12096),f=a(72736),b=a(54460),x=a(28336),y=a(37668),C=a(94724),w=a(76308),R={left:"start",center:"middle",right:"end"},A={left:0,center:.5,right:1},E=/[yzafpnµmkMGTPEZY]/;function k(B){return B&&B.duration>0}u.exports=function(Y,z,V,j){var G=Y._fullLayout,W;k(V)&&j&&(W=j()),S.makeTraceGroups(G._indicatorlayer,z,"trace").each(function(X){var Q=X[0],ae=Q.trace,ie=l.select(this),he=ae._hasGauge,J=ae._isAngular,Z=ae._isBullet,le=ae.domain,K={w:G._size.w*(le.x[1]-le.x[0]),h:G._size.h*(le.y[1]-le.y[0]),l:G._size.l+G._size.w*le.x[0],r:G._size.r+G._size.w*(1-le.x[1]),t:G._size.t+G._size.h*(1-le.y[1]),b:G._size.b+G._size.h*le.y[0]},te=K.l+K.w/2,ce=K.t+K.h/2,re=Math.min(K.w/2,K.h),ee=d.innerRadius*re,de,oe,fe,me=ae.align||"center";if(oe=ce,!he)de=K.l+A[me]*K.w,fe=function(Fe){return T(Fe,K.w,K.h)};else if(J&&(de=te,oe=ce+re/2,fe=function(Fe){return D(Fe,.9*ee)}),Z){var Te=d.bulletPadding,we=1-d.bulletNumberDomainSize+Te;de=K.l+(we+(1-we)*A[me])*K.w,fe=function(Fe){return T(Fe,(d.bulletNumberDomainSize-Te)*K.w,K.h)}}P(Y,ie,X,{numbersX:de,numbersY:oe,numbersScaler:fe,transitionOpts:V,onComplete:W});var Be,Ae;he&&(Be={range:ae.gauge.axis.range,color:ae.gauge.bgcolor,line:{color:ae.gauge.bordercolor,width:0},thickness:1},Ae={range:ae.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:ae.gauge.bordercolor,width:ae.gauge.borderwidth},thickness:1});var Re=ie.selectAll("g.angular").data(J?X:[]);Re.exit().remove();var be=ie.selectAll("g.angularaxis").data(J?X:[]);be.exit().remove(),J&&I(Y,ie,X,{radius:re,innerRadius:ee,gauge:Re,layer:be,size:K,gaugeBg:Be,gaugeOutline:Ae,transitionOpts:V,onComplete:W});var Pe=ie.selectAll("g.bullet").data(Z?X:[]);Pe.exit().remove();var Ke=ie.selectAll("g.bulletaxis").data(Z?X:[]);Ke.exit().remove(),Z&&L(Y,ie,X,{gauge:Pe,layer:Ke,size:K,gaugeBg:Be,gaugeOutline:Ae,transitionOpts:V,onComplete:W});var ze=ie.selectAll("text.title").data(X);ze.exit().remove(),ze.enter().append("text").classed("title",!0),ze.attr("text-anchor",function(){return Z?R.right:R[ae.title.align]}).text(ae.title.text).call(s.font,ae.title.font).call(f.convertToTspans,Y),ze.attr("transform",function(){var Fe=K.l+K.w*A[ae.title.align],We,lt=d.titlePadding,ht=s.bBox(ze.node());if(he){if(J)if(ae.gauge.axis.visible){var tt=s.bBox(be.node());We=tt.top-lt-ht.bottom}else We=K.t+K.h/2-re/2-ht.bottom-lt;Z&&(We=oe-(ht.top+ht.bottom)/2,Fe=K.l-d.bulletPadding*K.w)}else We=ae._numbersTop-lt-ht.bottom;return p(Fe,We)})})};function L(B,Y,z,V){var j=z[0].trace,G=V.gauge,W=V.layer,X=V.gaugeBg,Q=V.gaugeOutline,ae=V.size,ie=j.domain,he=V.transitionOpts,J=V.onComplete,Z,le,K,te,ce;G.enter().append("g").classed("bullet",!0),G.attr("transform",p(ae.l,ae.t)),W.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),W.selectAll("g.xbulletaxistick,path,text").remove();var re=ae.h,ee=j.gauge.bar.thickness*re,de=ie.x[0],oe=ie.x[0]+(ie.x[1]-ie.x[0])*(j._hasNumber||j._hasDelta?1-d.bulletNumberDomainSize:1);Z=N(B,j.gauge.axis),Z._id="xbulletaxis",Z.domain=[de,oe],Z.setScale(),le=b.calcTicks(Z),K=b.makeTransTickFn(Z),te=b.getTickSigns(Z)[2],ce=ae.t+ae.h,Z.visible&&(b.drawTicks(B,Z,{vals:Z.ticks==="inside"?b.clipEnds(Z,le):le,layer:W,path:b.makeTickPath(Z,ce,te),transFn:K}),b.drawLabels(B,Z,{vals:le,layer:W,transFn:K,labelFns:b.makeLabelFns(Z,ce)}));function fe(be){be.attr("width",function(Pe){return Math.max(0,Z.c2p(Pe.range[1])-Z.c2p(Pe.range[0]))}).attr("x",function(Pe){return Z.c2p(Pe.range[0])}).attr("y",function(Pe){return .5*(1-Pe.thickness)*re}).attr("height",function(Pe){return Pe.thickness*re})}var me=[X].concat(j.gauge.steps),Te=G.selectAll("g.bg-bullet").data(me);Te.enter().append("g").classed("bg-bullet",!0).append("rect"),Te.select("rect").call(fe).call(M),Te.exit().remove();var we=G.selectAll("g.value-bullet").data([j.gauge.bar]);we.enter().append("g").classed("value-bullet",!0).append("rect"),we.select("rect").attr("height",ee).attr("y",(re-ee)/2).call(M),k(he)?we.select("rect").transition().duration(he.duration).ease(he.easing).each("end",function(){J&&J()}).each("interrupt",function(){J&&J()}).attr("width",Math.max(0,Z.c2p(Math.min(j.gauge.axis.range[1],z[0].y)))):we.select("rect").attr("width",typeof z[0].y=="number"?Math.max(0,Z.c2p(Math.min(j.gauge.axis.range[1],z[0].y))):0),we.exit().remove();var Be=z.filter(function(){return j.gauge.threshold.value||j.gauge.threshold.value===0}),Ae=G.selectAll("g.threshold-bullet").data(Be);Ae.enter().append("g").classed("threshold-bullet",!0).append("line"),Ae.select("line").attr("x1",Z.c2p(j.gauge.threshold.value)).attr("x2",Z.c2p(j.gauge.threshold.value)).attr("y1",(1-j.gauge.threshold.thickness)/2*re).attr("y2",(1-(1-j.gauge.threshold.thickness)/2)*re).call(w.stroke,j.gauge.threshold.line.color).style("stroke-width",j.gauge.threshold.line.width),Ae.exit().remove();var Re=G.selectAll("g.gauge-outline").data([Q]);Re.enter().append("g").classed("gauge-outline",!0).append("rect"),Re.select("rect").call(fe).call(M),Re.exit().remove()}function I(B,Y,z,V){var j=z[0].trace,G=V.size,W=V.radius,X=V.innerRadius,Q=V.gaugeBg,ae=V.gaugeOutline,ie=[G.l+G.w/2,G.t+G.h/2+W/2],he=V.gauge,J=V.layer,Z=V.transitionOpts,le=V.onComplete,K=Math.PI/2;function te(et){var pt=j.gauge.axis.range[0],vt=j.gauge.axis.range[1],_t=(et-pt)/(vt-pt)*Math.PI-K;return _t<-K?-K:_t>K?K:_t}function ce(et){return l.svg.arc().innerRadius((X+W)/2-et/2*(W-X)).outerRadius((X+W)/2+et/2*(W-X)).startAngle(-K)}function re(et){et.attr("d",function(pt){return ce(pt.thickness).startAngle(te(pt.range[0])).endAngle(te(pt.range[1]))()})}var ee,de,oe,fe;he.enter().append("g").classed("angular",!0),he.attr("transform",p(ie[0],ie[1])),J.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),J.selectAll("g.xangularaxistick,path,text").remove(),ee=N(B,j.gauge.axis),ee.type="linear",ee.range=j.gauge.axis.range,ee._id="xangularaxis",ee.ticklabeloverflow="allow",ee.setScale();var me=function(et){return(ee.range[0]-et.x)/(ee.range[1]-ee.range[0])*Math.PI+Math.PI},Te={},we=b.makeLabelFns(ee,0),Be=we.labelStandoff;Te.xFn=function(et){var pt=me(et);return Math.cos(pt)*Be},Te.yFn=function(et){var pt=me(et),vt=Math.sin(pt)>0?.2:1;return-Math.sin(pt)*(Be+et.fontSize*vt)+Math.abs(Math.cos(pt))*(et.fontSize*c)},Te.anchorFn=function(et){var pt=me(et),vt=Math.cos(pt);return Math.abs(vt)<.1?"middle":vt>0?"start":"end"},Te.heightFn=function(et,pt,vt){var _t=me(et);return-.5*(1+Math.sin(_t))*vt};var Ae=function(et){return p(ie[0]+W*Math.cos(et),ie[1]-W*Math.sin(et))};oe=function(et){return Ae(me(et))};var Re=function(et){var pt=me(et);return Ae(pt)+"rotate("+-_(pt)+")"};if(de=b.calcTicks(ee),fe=b.getTickSigns(ee)[2],ee.visible){fe=ee.ticks==="inside"?-1:1;var be=(ee.linewidth||1)/2;b.drawTicks(B,ee,{vals:de,layer:J,path:"M"+fe*be+",0h"+fe*ee.ticklen,transFn:Re}),b.drawLabels(B,ee,{vals:de,layer:J,transFn:oe,labelFns:Te})}var Pe=[Q].concat(j.gauge.steps),Ke=he.selectAll("g.bg-arc").data(Pe);Ke.enter().append("g").classed("bg-arc",!0).append("path"),Ke.select("path").call(re).call(M),Ke.exit().remove();var ze=ce(j.gauge.bar.thickness),Fe=he.selectAll("g.value-arc").data([j.gauge.bar]);Fe.enter().append("g").classed("value-arc",!0).append("path");var We=Fe.select("path");k(Z)?(We.transition().duration(Z.duration).ease(Z.easing).each("end",function(){le&&le()}).each("interrupt",function(){le&&le()}).attrTween("d",F(ze,te(z[0].lastY),te(z[0].y))),j._lastValue=z[0].y):We.attr("d",typeof z[0].y=="number"?ze.endAngle(te(z[0].y)):"M0,0Z"),We.call(M),Fe.exit().remove(),Pe=[];var lt=j.gauge.threshold.value;(lt||lt===0)&&Pe.push({range:[lt,lt],color:j.gauge.threshold.color,line:{color:j.gauge.threshold.line.color,width:j.gauge.threshold.line.width},thickness:j.gauge.threshold.thickness});var ht=he.selectAll("g.threshold-arc").data(Pe);ht.enter().append("g").classed("threshold-arc",!0).append("path"),ht.select("path").call(re).call(M),ht.exit().remove();var tt=he.selectAll("g.gauge-outline").data([ae]);tt.enter().append("g").classed("gauge-outline",!0).append("path"),tt.select("path").call(re).call(M),tt.exit().remove()}function P(B,Y,z,V){var j=z[0].trace,G=V.numbersX,W=V.numbersY,X=j.align||"center",Q=R[X],ae=V.transitionOpts,ie=V.onComplete,he=S.ensureSingle(Y,"g","numbers"),J,Z,le,K=[];j._hasNumber&&K.push("number"),j._hasDelta&&(K.push("delta"),j.delta.position==="left"&&K.reverse());var te=he.selectAll("text").data(K);te.enter().append("text"),te.attr("text-anchor",function(){return Q}).attr("class",function(Ae){return Ae}).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),te.exit().remove();function ce(Ae,Re,be,Pe){if(Ae.match("s")&&be>=0!=Pe>=0&&!Re(be).slice(-1).match(E)&&!Re(Pe).slice(-1).match(E)){var Ke=Ae.slice().replace("s","f").replace(/\d+/,function(Fe){return parseInt(Fe)-1}),ze=N(B,{tickformat:Ke});return function(Fe){return Math.abs(Fe)<1?b.tickText(ze,Fe).text:Re(Fe)}}else return Re}function re(){var Ae=N(B,{tickformat:j.number.valueformat},j._range);Ae.setScale(),b.prepTicks(Ae);var Re=function(Fe){return b.tickText(Ae,Fe).text},be=j.number.suffix,Pe=j.number.prefix,Ke=he.select("text.number");function ze(){var Fe=typeof z[0].y=="number"?Pe+Re(z[0].y)+be:"-";Ke.text(Fe).call(s.font,j.number.font).call(f.convertToTspans,B)}return k(ae)?Ke.transition().duration(ae.duration).ease(ae.easing).each("end",function(){ze(),ie&&ie()}).each("interrupt",function(){ze(),ie&&ie()}).attrTween("text",function(){var Fe=l.select(this),We=i(z[0].lastY,z[0].y);j._lastValue=z[0].y;var lt=ce(j.number.valueformat,Re,z[0].lastY,z[0].y);return function(ht){Fe.text(Pe+lt(We(ht))+be)}}):ze(),J=O(Pe+Re(z[0].y)+be,j.number.font,Q,B),Ke}function ee(){var Ae=N(B,{tickformat:j.delta.valueformat},j._range);Ae.setScale(),b.prepTicks(Ae);var Re=function(ht){return b.tickText(Ae,ht).text},be=j.delta.suffix,Pe=j.delta.prefix,Ke=function(ht){var tt=j.delta.relative?ht.relativeDelta:ht.delta;return tt},ze=function(ht,tt){return ht===0||typeof ht!="number"||isNaN(ht)?"-":(ht>0?j.delta.increasing.symbol:j.delta.decreasing.symbol)+Pe+tt(ht)+be},Fe=function(ht){return ht.delta>=0?j.delta.increasing.color:j.delta.decreasing.color};j._deltaLastValue===void 0&&(j._deltaLastValue=Ke(z[0]));var We=he.select("text.delta");We.call(s.font,j.delta.font).call(w.fill,Fe({delta:j._deltaLastValue}));function lt(){We.text(ze(Ke(z[0]),Re)).call(w.fill,Fe(z[0])).call(f.convertToTspans,B)}return k(ae)?We.transition().duration(ae.duration).ease(ae.easing).tween("text",function(){var ht=l.select(this),tt=Ke(z[0]),et=j._deltaLastValue,pt=ce(j.delta.valueformat,Re,et,tt),vt=i(et,tt);return j._deltaLastValue=tt,function(_t){ht.text(ze(vt(_t),pt)),ht.call(w.fill,Fe({delta:vt(_t)}))}}).each("end",function(){lt(),ie&&ie()}).each("interrupt",function(){lt(),ie&&ie()}):lt(),Z=O(ze(Ke(z[0]),Re),j.delta.font,Q,B),We}var de=j.mode+j.align,oe;if(j._hasDelta&&(oe=ee(),de+=j.delta.position+j.delta.font.size+j.delta.font.family+j.delta.valueformat,de+=j.delta.increasing.symbol+j.delta.decreasing.symbol,le=Z),j._hasNumber&&(re(),de+=j.number.font.size+j.number.font.family+j.number.valueformat+j.number.suffix+j.number.prefix,le=J),j._hasDelta&&j._hasNumber){var fe=[(J.left+J.right)/2,(J.top+J.bottom)/2],me=[(Z.left+Z.right)/2,(Z.top+Z.bottom)/2],Te,we,Be=.75*j.delta.font.size;j.delta.position==="left"&&(Te=U(j,"deltaPos",0,-1*(J.width*A[j.align]+Z.width*(1-A[j.align])+Be),de,Math.min),we=fe[1]-me[1],le={width:J.width+Z.width+Be,height:Math.max(J.height,Z.height),left:Z.left+Te,right:J.right,top:Math.min(J.top,Z.top+we),bottom:Math.max(J.bottom,Z.bottom+we)}),j.delta.position==="right"&&(Te=U(j,"deltaPos",0,J.width*(1-A[j.align])+Z.width*A[j.align]+Be,de,Math.max),we=fe[1]-me[1],le={width:J.width+Z.width+Be,height:Math.max(J.height,Z.height),left:J.left,right:Z.right+Te,top:Math.min(J.top,Z.top+we),bottom:Math.max(J.bottom,Z.bottom+we)}),j.delta.position==="bottom"&&(Te=null,we=Z.height,le={width:Math.max(J.width,Z.width),height:J.height+Z.height,left:Math.min(J.left,Z.left),right:Math.max(J.right,Z.right),top:J.bottom-J.height,bottom:J.bottom+Z.height}),j.delta.position==="top"&&(Te=null,we=J.top,le={width:Math.max(J.width,Z.width),height:J.height+Z.height,left:Math.min(J.left,Z.left),right:Math.max(J.right,Z.right),top:J.bottom-J.height-Z.height,bottom:J.bottom}),oe.attr({dx:Te,dy:we})}(j._hasNumber||j._hasDelta)&&he.attr("transform",function(){var Ae=V.numbersScaler(le);de+=Ae[2];var Re=U(j,"numbersScale",1,Ae[0],de,Math.min),be;j._scaleNumbers||(Re=1),j._isAngular?be=W-Re*le.bottom:be=W-Re*(le.top+le.bottom)/2,j._numbersTop=Re*le.top+be;var Pe=le[X];X==="center"&&(Pe=(le.left+le.right)/2);var Ke=G-Re*Pe;return Ke=U(j,"numbersTranslate",0,Ke,de,Math.max),p(Ke,be)+g(Re)})}function M(B){B.each(function(Y){w.stroke(l.select(this),Y.line.color)}).each(function(Y){w.fill(l.select(this),Y.color)}).style("stroke-width",function(Y){return Y.line.width})}function F(B,Y,z){return function(){var V=v(Y,z);return function(j){return B.endAngle(V(j))()}}}function N(B,Y,z){var V=B._fullLayout,j=S.extendFlat({type:"linear",ticks:"outside",range:z,showline:!0},Y),G={type:"linear",_id:"x"+Y._id},W={letter:"x",font:V.font,noAutotickangles:!0,noHover:!0,noTickson:!0};function X(Q,ae){return S.coerce(j,G,C,Q,ae)}return x(j,G,X,W,V),y(j,G,X,W),G}function T(B,Y,z){var V=Math.min(Y/B.width,z/B.height);return[V,B,Y+"x"+z]}function D(B,Y){var z=Math.sqrt(B.width/2*(B.width/2)+B.height*B.height),V=Y/z;return[V,B,Y]}function O(B,Y,z,V){var j=document.createElementNS("http://www.w3.org/2000/svg","text"),G=l.select(j);return G.text(B).attr("x",0).attr("y",0).attr("text-anchor",z).attr("data-unformatted",B).call(f.convertToTspans,V).call(s.font,Y),s.bBox(G.node())}function U(B,Y,z,V,j,G){var W="_cache"+Y;B[W]&&B[W].key===j||(B[W]={key:j,value:z});var X=S.aggNums(G,null,[B[W].value,V],2);return B[W].value=X,X}},50048:function(u,h,a){var l=a(49084),v=a(29736).axisHoverFormat,i=a(21776).Ks,S=a(52948),g=a(45464),p=a(92880).extendFlat,_=a(67824).overrideAll;function c(f){return{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}}}function s(f){return{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}}}var d=u.exports=_(p({x:{valType:"data_array"},y:{valType:"data_array"},z:{valType:"data_array"},value:{valType:"data_array"},isomin:{valType:"number"},isomax:{valType:"number"},surface:{show:{valType:"boolean",dflt:!0},count:{valType:"integer",dflt:2,min:1},fill:{valType:"number",min:0,max:1,dflt:1},pattern:{valType:"flaglist",flags:["A","B","C","D","E"],extras:["all","odd","even"],dflt:"all"}},spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:.15}},slices:{x:c(),y:c(),z:c()},caps:{x:s(),y:s(),z:s()},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:i(),xhoverformat:v("x"),yhoverformat:v("y"),zhoverformat:v("z"),valuehoverformat:v("value",1),showlegend:p({},g.showlegend,{dflt:!1})},l("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:S.opacity,lightposition:S.lightposition,lighting:S.lighting,flatshading:S.flatshading,contour:S.contour,hoverinfo:p({},g.hoverinfo)}),"calc","nested");d.flatshading.dflt=!0,d.lighting.facenormalsepsilon.dflt=0,d.x.editType=d.y.editType=d.z.editType=d.value.editType="calc+clearAxisTypes",d.transforms=void 0},62624:function(u,h,a){var l=a(47128),v=a(3832).processGrid,i=a(3832).filter;u.exports=function(g,p){p._len=Math.min(p.x.length,p.y.length,p.z.length,p.value.length),p._x=i(p.x,p._len),p._y=i(p.y,p._len),p._z=i(p.z,p._len),p._value=i(p.value,p._len);var _=v(p);p._gridFill=_.fill,p._Xs=_.Xs,p._Ys=_.Ys,p._Zs=_.Zs,p._len=_.len;for(var c=1/0,s=-1/0,d=0;d<p._len;d++){var f=p._value[d];c=Math.min(c,f),s=Math.max(s,f)}p._minValues=c,p._maxValues=s,p._vMin=p.isomin===void 0||p.isomin===null?c:p.isomin,p._vMax=p.isomax===void 0||p.isomin===null?s:p.isomax,l(g,p,{vals:[p._vMin,p._vMax],containerStr:"",cLetter:"c"})}},31460:function(u,h,a){var l=a(67792).gl_mesh3d,v=a(33040).parseColorScale,i=a(3400).isArrayOrTypedArray,S=a(43080),g=a(8932).extractOpts,p=a(52094),_=function(x,y){for(var C=y.length-1;C>0;C--){var w=Math.min(y[C],y[C-1]),R=Math.max(y[C],y[C-1]);if(R>w&&w<x&&x<=R)return{id:C,distRatio:(R-x)/(R-w)}}return{id:0,distRatio:0}};function c(x,y,C){this.scene=x,this.uid=C,this.mesh=y,this.name="",this.data=null,this.showContour=!1}var s=c.prototype;s.handlePick=function(x){if(x.object===this.mesh){var y=x.data.index,C=this.data._meshX[y],w=this.data._meshY[y],R=this.data._meshZ[y],A=this.data._Ys.length,E=this.data._Zs.length,k=_(C,this.data._Xs).id,L=_(w,this.data._Ys).id,I=_(R,this.data._Zs).id,P=x.index=I+E*L+E*A*k;x.traceCoordinate=[this.data._meshX[P],this.data._meshY[P],this.data._meshZ[P],this.data._value[P]];var M=this.data.hovertext||this.data.text;return i(M)&&M[P]!==void 0?x.textLabel=M[P]:M&&(x.textLabel=M),!0}},s.update=function(x){var y=this.scene,C=y.fullSceneLayout;this.data=f(x);function w(L,I,P,M){return I.map(function(F){return L.d2l(F,0,M)*P})}var R=p(w(C.xaxis,x._meshX,y.dataScale[0],x.xcalendar),w(C.yaxis,x._meshY,y.dataScale[1],x.ycalendar),w(C.zaxis,x._meshZ,y.dataScale[2],x.zcalendar)),A=p(x._meshI,x._meshJ,x._meshK),E={positions:R,cells:A,lightPosition:[x.lightposition.x,x.lightposition.y,x.lightposition.z],ambient:x.lighting.ambient,diffuse:x.lighting.diffuse,specular:x.lighting.specular,roughness:x.lighting.roughness,fresnel:x.lighting.fresnel,vertexNormalsEpsilon:x.lighting.vertexnormalsepsilon,faceNormalsEpsilon:x.lighting.facenormalsepsilon,opacity:x.opacity,contourEnable:x.contour.show,contourColor:S(x.contour.color).slice(0,3),contourWidth:x.contour.width,useFacetNormals:x.flatshading},k=g(x);E.vertexIntensity=x._meshIntensity,E.vertexIntensityBounds=[k.min,k.max],E.colormap=v(x),this.mesh.update(E)},s.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};var d=["xyz","xzy","yxz","yzx","zxy","zyx"];function f(x){x._meshI=[],x._meshJ=[],x._meshK=[];var y=x.surface.show,C=x.spaceframe.show,w=x.surface.fill,R=x.spaceframe.fill,A=!1,E=!1,k=0,L,I,P=x._Xs,M=x._Ys,F=x._Zs,N=P.length,T=M.length,D=F.length,O=d.indexOf(x._gridFill.replace(/-/g,"").replace(/\+/g,"")),U=function(rt,qe,He){switch(O){case 5:return He+D*qe+D*T*rt;case 4:return He+D*rt+D*N*qe;case 3:return qe+T*He+T*D*rt;case 2:return qe+T*rt+T*N*He;case 1:return rt+N*He+N*D*qe;default:return rt+N*qe+N*T*He}},B=x._minValues,Y=x._maxValues,z=x._vMin,V=x._vMax,j,G,W,X;function Q(rt,qe,He){for(var Ce=X.length,Se=I;Se<Ce;Se++)if(rt===j[Se]&&qe===G[Se]&&He===W[Se])return Se;return-1}function ae(){I=L}function ie(){j=[],G=[],W=[],X=[],L=0,ae()}function he(rt,qe,He,Ce){return j.push(rt),G.push(qe),W.push(He),X.push(Ce),L++,L-1}function J(rt,qe,He){return x._meshI.push(rt),x._meshJ.push(qe),x._meshK.push(He),k++,k-1}function Z(rt,qe,He){for(var Ce=[],Se=0;Se<rt.length;Se++)Ce[Se]=(rt[Se]+qe[Se]+He[Se])/3;return Ce}function le(rt,qe,He){for(var Ce=[],Se=0;Se<rt.length;Se++)Ce[Se]=rt[Se]*(1-He)+He*qe[Se];return Ce}var K;function te(rt){K=rt}function ce(rt,qe){var He=rt[0],Ce=rt[1],Se=rt[2],Le=Z(He,Ce,Se),Ne=Math.sqrt(1-K),je=le(Le,He,Ne),Je=le(Le,Ce,Ne),ut=le(Le,Se,Ne),Et=qe[0],wt=qe[1],nr=qe[2];return{xyzv:[[He,Ce,Je],[Je,je,He],[Ce,Se,ut],[ut,Je,Ce],[Se,He,je],[je,ut,Se]],abc:[[Et,wt,-1],[-1,-1,Et],[wt,nr,-1],[-1,-1,wt],[nr,Et,-1],[-1,-1,nr]]}}function re(rt,qe){return rt==="all"||rt===null?!0:rt.indexOf(qe)>-1}function ee(rt,qe){return rt===null?qe:rt}function de(rt,qe,He){ae();var Ce=[qe],Se=[He];if(K>=1)Ce=[qe],Se=[He];else if(K>0){var Le=ce(qe,He);Ce=Le.xyzv,Se=Le.abc}for(var Ne=0;Ne<Ce.length;Ne++){qe=Ce[Ne],He=Se[Ne];for(var je=[],Je=0;Je<3;Je++){var ut=qe[Je][0],Et=qe[Je][1],wt=qe[Je][2],nr=qe[Je][3],ir=He[Je]>-1?He[Je]:Q(ut,Et,wt);ir>-1?je[Je]=ir:je[Je]=he(ut,Et,wt,ee(rt,nr))}J(je[0],je[1],je[2])}}function oe(rt,qe,He){var Ce=function(Se,Le,Ne){de(rt,[qe[Se],qe[Le],qe[Ne]],[He[Se],He[Le],He[Ne]])};Ce(0,1,2),Ce(2,3,0)}function fe(rt,qe,He){var Ce=function(Se,Le,Ne){de(rt,[qe[Se],qe[Le],qe[Ne]],[He[Se],He[Le],He[Ne]])};Ce(0,1,2),Ce(3,0,1),Ce(2,3,0),Ce(1,2,3)}function me(rt,qe,He,Ce){var Se=rt[3];Se<He&&(Se=He),Se>Ce&&(Se=Ce);for(var Le=(rt[3]-Se)/(rt[3]-qe[3]+1e-9),Ne=[],je=0;je<4;je++)Ne[je]=(1-Le)*rt[je]+Le*qe[je];return Ne}function Te(rt,qe,He){return rt>=qe&&rt<=He}function we(rt){var qe=.001*(V-z);return rt>=z-qe&&rt<=V+qe}function Be(rt){for(var qe=[],He=0;He<4;He++){var Ce=rt[He];qe.push([x._x[Ce],x._y[Ce],x._z[Ce],x._value[Ce]])}return qe}var Ae=3;function Re(rt,qe,He,Ce,Se,Le){Le||(Le=1),He=[-1,-1,-1];var Ne=!1,je=[Te(qe[0][3],Ce,Se),Te(qe[1][3],Ce,Se),Te(qe[2][3],Ce,Se)];if(!je[0]&&!je[1]&&!je[2])return!1;var Je=function(Et,wt,nr){return we(wt[0][3])&&we(wt[1][3])&&we(wt[2][3])?(de(Et,wt,nr),!0):Le<Ae?Re(Et,wt,nr,z,V,++Le):!1};if(je[0]&&je[1]&&je[2])return Je(rt,qe,He)||Ne;var ut=!1;return[[0,1,2],[2,0,1],[1,2,0]].forEach(function(Et){if(je[Et[0]]&&je[Et[1]]&&!je[Et[2]]){var wt=qe[Et[0]],nr=qe[Et[1]],ir=qe[Et[2]],It=me(ir,wt,Ce,Se),Gt=me(ir,nr,Ce,Se);Ne=Je(rt,[Gt,It,wt],[-1,-1,He[Et[0]]])||Ne,Ne=Je(rt,[wt,nr,Gt],[He[Et[0]],He[Et[1]],-1])||Ne,ut=!0}}),ut||[[0,1,2],[1,2,0],[2,0,1]].forEach(function(Et){if(je[Et[0]]&&!je[Et[1]]&&!je[Et[2]]){var wt=qe[Et[0]],nr=qe[Et[1]],ir=qe[Et[2]],It=me(nr,wt,Ce,Se),Gt=me(ir,wt,Ce,Se);Ne=Je(rt,[Gt,It,wt],[-1,-1,He[Et[0]]])||Ne,ut=!0}}),Ne}function be(rt,qe,He,Ce){var Se=!1,Le=Be(qe),Ne=[Te(Le[0][3],He,Ce),Te(Le[1][3],He,Ce),Te(Le[2][3],He,Ce),Te(Le[3][3],He,Ce)];if(!Ne[0]&&!Ne[1]&&!Ne[2]&&!Ne[3])return Se;if(Ne[0]&&Ne[1]&&Ne[2]&&Ne[3])return E&&(Se=fe(rt,Le,qe)||Se),Se;var je=!1;return[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]].forEach(function(Je){if(Ne[Je[0]]&&Ne[Je[1]]&&Ne[Je[2]]&&!Ne[Je[3]]){var ut=Le[Je[0]],Et=Le[Je[1]],wt=Le[Je[2]],nr=Le[Je[3]];if(E)Se=de(rt,[ut,Et,wt],[qe[Je[0]],qe[Je[1]],qe[Je[2]]])||Se;else{var ir=me(nr,ut,He,Ce),It=me(nr,Et,He,Ce),Gt=me(nr,wt,He,Ce);Se=de(null,[ir,It,Gt],[-1,-1,-1])||Se}je=!0}}),je||([[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2],[0,2,3,1],[1,3,2,0]].forEach(function(Je){if(Ne[Je[0]]&&Ne[Je[1]]&&!Ne[Je[2]]&&!Ne[Je[3]]){var ut=Le[Je[0]],Et=Le[Je[1]],wt=Le[Je[2]],nr=Le[Je[3]],ir=me(wt,ut,He,Ce),It=me(wt,Et,He,Ce),Gt=me(nr,Et,He,Ce),cr=me(nr,ut,He,Ce);E?(Se=de(rt,[ut,cr,ir],[qe[Je[0]],-1,-1])||Se,Se=de(rt,[Et,It,Gt],[qe[Je[1]],-1,-1])||Se):Se=oe(null,[ir,It,Gt,cr],[-1,-1,-1,-1])||Se,je=!0}}),je)||[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]].forEach(function(Je){if(Ne[Je[0]]&&!Ne[Je[1]]&&!Ne[Je[2]]&&!Ne[Je[3]]){var ut=Le[Je[0]],Et=Le[Je[1]],wt=Le[Je[2]],nr=Le[Je[3]],ir=me(Et,ut,He,Ce),It=me(wt,ut,He,Ce),Gt=me(nr,ut,He,Ce);E?(Se=de(rt,[ut,ir,It],[qe[Je[0]],-1,-1])||Se,Se=de(rt,[ut,It,Gt],[qe[Je[0]],-1,-1])||Se,Se=de(rt,[ut,Gt,ir],[qe[Je[0]],-1,-1])||Se):Se=de(null,[ir,It,Gt],[-1,-1,-1])||Se,je=!0}}),Se}function Pe(rt,qe,He,Ce,Se,Le,Ne,je,Je,ut,Et){var wt=!1;return A&&(re(rt,"A")&&(wt=be(null,[qe,He,Ce,Le],ut,Et)||wt),re(rt,"B")&&(wt=be(null,[He,Ce,Se,Je],ut,Et)||wt),re(rt,"C")&&(wt=be(null,[He,Le,Ne,Je],ut,Et)||wt),re(rt,"D")&&(wt=be(null,[Ce,Le,je,Je],ut,Et)||wt),re(rt,"E")&&(wt=be(null,[He,Ce,Le,Je],ut,Et)||wt)),E&&(wt=be(rt,[He,Ce,Le,Je],ut,Et)||wt),wt}function Ke(rt,qe,He,Ce,Se,Le,Ne,je){return[je[0]===!0?!0:Re(rt,Be([qe,He,Ce]),[qe,He,Ce],Le,Ne),je[1]===!0?!0:Re(rt,Be([Ce,Se,qe]),[Ce,Se,qe],Le,Ne)]}function ze(rt,qe,He,Ce,Se,Le,Ne,je,Je){return je?Ke(rt,qe,He,Se,Ce,Le,Ne,Je):Ke(rt,He,Se,Ce,qe,Le,Ne,Je)}function Fe(rt,qe,He,Ce,Se,Le,Ne){var je=!1,Je,ut,Et,wt,nr=function(){je=Re(rt,[Je,ut,Et],[-1,-1,-1],Se,Le)||je,je=Re(rt,[Et,wt,Je],[-1,-1,-1],Se,Le)||je},ir=Ne[0],It=Ne[1],Gt=Ne[2];return ir&&(Je=le(Be([U(qe,He-0,Ce-0)])[0],Be([U(qe-1,He-0,Ce-0)])[0],ir),ut=le(Be([U(qe,He-0,Ce-1)])[0],Be([U(qe-1,He-0,Ce-1)])[0],ir),Et=le(Be([U(qe,He-1,Ce-1)])[0],Be([U(qe-1,He-1,Ce-1)])[0],ir),wt=le(Be([U(qe,He-1,Ce-0)])[0],Be([U(qe-1,He-1,Ce-0)])[0],ir),nr()),It&&(Je=le(Be([U(qe-0,He,Ce-0)])[0],Be([U(qe-0,He-1,Ce-0)])[0],It),ut=le(Be([U(qe-0,He,Ce-1)])[0],Be([U(qe-0,He-1,Ce-1)])[0],It),Et=le(Be([U(qe-1,He,Ce-1)])[0],Be([U(qe-1,He-1,Ce-1)])[0],It),wt=le(Be([U(qe-1,He,Ce-0)])[0],Be([U(qe-1,He-1,Ce-0)])[0],It),nr()),Gt&&(Je=le(Be([U(qe-0,He-0,Ce)])[0],Be([U(qe-0,He-0,Ce-1)])[0],Gt),ut=le(Be([U(qe-0,He-1,Ce)])[0],Be([U(qe-0,He-1,Ce-1)])[0],Gt),Et=le(Be([U(qe-1,He-1,Ce)])[0],Be([U(qe-1,He-1,Ce-1)])[0],Gt),wt=le(Be([U(qe-1,He-0,Ce)])[0],Be([U(qe-1,He-0,Ce-1)])[0],Gt),nr()),je}function We(rt,qe,He,Ce,Se,Le,Ne,je,Je,ut,Et,wt){var nr=rt;return wt?(A&&rt==="even"&&(nr=null),Pe(nr,qe,He,Ce,Se,Le,Ne,je,Je,ut,Et)):(A&&rt==="odd"&&(nr=null),Pe(nr,Je,je,Ne,Le,Se,Ce,He,qe,ut,Et))}function lt(rt,qe,He,Ce,Se){for(var Le=[],Ne=0,je=0;je<qe.length;je++)for(var Je=qe[je],ut=1;ut<D;ut++)for(var Et=1;Et<T;Et++)Le.push(ze(rt,U(Je,Et-1,ut-1),U(Je,Et-1,ut),U(Je,Et,ut-1),U(Je,Et,ut),He,Ce,(Je+Et+ut)%2,Se&&Se[Ne]?Se[Ne]:[])),Ne++;return Le}function ht(rt,qe,He,Ce,Se){for(var Le=[],Ne=0,je=0;je<qe.length;je++)for(var Je=qe[je],ut=1;ut<N;ut++)for(var Et=1;Et<D;Et++)Le.push(ze(rt,U(ut-1,Je,Et-1),U(ut,Je,Et-1),U(ut-1,Je,Et),U(ut,Je,Et),He,Ce,(ut+Je+Et)%2,Se&&Se[Ne]?Se[Ne]:[])),Ne++;return Le}function tt(rt,qe,He,Ce,Se){for(var Le=[],Ne=0,je=0;je<qe.length;je++)for(var Je=qe[je],ut=1;ut<T;ut++)for(var Et=1;Et<N;Et++)Le.push(ze(rt,U(Et-1,ut-1,Je),U(Et-1,ut,Je),U(Et,ut-1,Je),U(Et,ut,Je),He,Ce,(Et+ut+Je)%2,Se&&Se[Ne]?Se[Ne]:[])),Ne++;return Le}function et(rt,qe,He){for(var Ce=1;Ce<D;Ce++)for(var Se=1;Se<T;Se++)for(var Le=1;Le<N;Le++)We(rt,U(Le-1,Se-1,Ce-1),U(Le-1,Se-1,Ce),U(Le-1,Se,Ce-1),U(Le-1,Se,Ce),U(Le,Se-1,Ce-1),U(Le,Se-1,Ce),U(Le,Se,Ce-1),U(Le,Se,Ce),qe,He,(Le+Se+Ce)%2)}function pt(rt,qe,He){E=!0,et(rt,qe,He),E=!1}function vt(rt,qe,He){A=!0,et(rt,qe,He),A=!1}function _t(rt,qe,He,Ce,Se,Le){for(var Ne=[],je=0,Je=0;Je<qe.length;Je++)for(var ut=qe[Je],Et=1;Et<D;Et++)for(var wt=1;wt<T;wt++)Ne.push(Fe(rt,ut,wt,Et,He,Ce,Se[Je],Le&&Le[je]?Le[je]:[])),je++;return Ne}function bt(rt,qe,He,Ce,Se,Le){for(var Ne=[],je=0,Je=0;Je<qe.length;Je++)for(var ut=qe[Je],Et=1;Et<N;Et++)for(var wt=1;wt<D;wt++)Ne.push(Fe(rt,Et,ut,wt,He,Ce,Se[Je],Le&&Le[je]?Le[je]:[])),je++;return Ne}function Rt(rt,qe,He,Ce,Se,Le){for(var Ne=[],je=0,Je=0;Je<qe.length;Je++)for(var ut=qe[Je],Et=1;Et<T;Et++)for(var wt=1;wt<N;wt++)Ne.push(Fe(rt,wt,Et,ut,He,Ce,Se[Je],Le&&Le[je]?Le[je]:[])),je++;return Ne}function ct(rt,qe){for(var He=[],Ce=rt;Ce<qe;Ce++)He.push(Ce);return He}function Ve(){for(var rt=0;rt<N;rt++)for(var qe=0;qe<T;qe++)for(var He=0;He<D;He++){var Ce=U(rt,qe,He);he(x._x[Ce],x._y[Ce],x._z[Ce],x._value[Ce])}}function Qe(){ie(),Ve();var rt=null;if(C&&R&&(te(R),pt(rt,z,V)),y&&w){te(w);for(var qe=x.surface.pattern,He=x.surface.count,Ce=0;Ce<He;Ce++){var Se=He===1?.5:Ce/(He-1),Le=(1-Se)*z+Se*V,Ne=Math.abs(Le-B),je=Math.abs(Le-Y),Je=Ne>je?[B,Le]:[Le,Y];vt(qe,Je[0],Je[1])}}var ut=[[Math.min(z,Y),Math.max(z,Y)],[Math.min(B,V),Math.max(B,V)]];["x","y","z"].forEach(function(Et){for(var wt=[],nr=0;nr<ut.length;nr++){var ir=0,It=ut[nr][0],Gt=ut[nr][1],cr=x.slices[Et];if(cr.show&&cr.fill){te(cr.fill);var Pr=[],Ct=[],or=[];if(cr.locations.length)for(var ur=0;ur<cr.locations.length;ur++){var Ir=_(cr.locations[ur],Et==="x"?P:Et==="y"?M:F);Ir.distRatio===0?Pr.push(Ir.id):Ir.id>0&&(Ct.push(Ir.id),Et==="x"?or.push([Ir.distRatio,0,0]):Et==="y"?or.push([0,Ir.distRatio,0]):or.push([0,0,Ir.distRatio]))}else Et==="x"?Pr=ct(1,N-1):Et==="y"?Pr=ct(1,T-1):Pr=ct(1,D-1);Ct.length>0&&(Et==="x"?wt[ir]=_t(rt,Ct,It,Gt,or,wt[ir]):Et==="y"?wt[ir]=bt(rt,Ct,It,Gt,or,wt[ir]):wt[ir]=Rt(rt,Ct,It,Gt,or,wt[ir]),ir++),Pr.length>0&&(Et==="x"?wt[ir]=lt(rt,Pr,It,Gt,wt[ir]):Et==="y"?wt[ir]=ht(rt,Pr,It,Gt,wt[ir]):wt[ir]=tt(rt,Pr,It,Gt,wt[ir]),ir++)}var yr=x.caps[Et];yr.show&&yr.fill&&(te(yr.fill),Et==="x"?wt[ir]=lt(rt,[0,N-1],It,Gt,wt[ir]):Et==="y"?wt[ir]=ht(rt,[0,T-1],It,Gt,wt[ir]):wt[ir]=tt(rt,[0,D-1],It,Gt,wt[ir]),ir++)}}),k===0&&ie(),x._meshX=j,x._meshY=G,x._meshZ=W,x._meshIntensity=X,x._Xs=P,x._Ys=M,x._Zs=F}return Qe(),x}function b(x,y){var C=x.glplot.gl,w=l({gl:C}),R=new c(x,w,y.uid);return w._trace=R,R.update(y),x.glplot.add(w),R}u.exports={findNearestOnAxis:_,generateIsoMeshes:f,createIsosurfaceTrace:b}},70548:function(u,h,a){var l=a(3400),v=a(24040),i=a(50048),S=a(27260);function g(_,c,s,d){function f(b,x){return l.coerce(_,c,i,b,x)}p(_,c,s,d,f)}function p(_,c,s,d,f){var b=f("isomin"),x=f("isomax");x!=null&&b!==void 0&&b!==null&&b>x&&(c.isomin=null,c.isomax=null);var y=f("x"),C=f("y"),w=f("z"),R=f("value");if(!y||!y.length||!C||!C.length||!w||!w.length||!R||!R.length){c.visible=!1;return}var A=v.getComponentMethod("calendars","handleTraceDefaults");A(_,c,["x","y","z"],d),f("valuehoverformat"),["x","y","z"].forEach(function(I){f(I+"hoverformat");var P="caps."+I,M=f(P+".show");M&&f(P+".fill");var F="slices."+I,N=f(F+".show");N&&(f(F+".fill"),f(F+".locations"))});var E=f("spaceframe.show");E&&f("spaceframe.fill");var k=f("surface.show");k&&(f("surface.count"),f("surface.fill"),f("surface.pattern"));var L=f("contour.show");L&&(f("contour.color"),f("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach(function(I){f(I)}),S(_,c,d,f,{prefix:"",cLetter:"c"}),c._length=null}u.exports={supplyDefaults:g,supplyIsoDefaults:p}},6296:function(u,h,a){u.exports={attributes:a(50048),supplyDefaults:a(70548).supplyDefaults,calc:a(62624),colorbar:{min:"cmin",max:"cmax"},plot:a(31460).createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:a(12536),categories:["gl3d","showLegend"],meta:{}}},52948:function(u,h,a){var l=a(49084),v=a(29736).axisHoverFormat,i=a(21776).Ks,S=a(16716),g=a(45464),p=a(92880).extendFlat;u.exports=p({x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},i:{valType:"data_array",editType:"calc"},j:{valType:"data_array",editType:"calc"},k:{valType:"data_array",editType:"calc"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"}),xhoverformat:v("x"),yhoverformat:v("y"),zhoverformat:v("z"),delaunayaxis:{valType:"enumerated",values:["x","y","z"],dflt:"z",editType:"calc"},alphahull:{valType:"number",dflt:-1,editType:"calc"},intensity:{valType:"data_array",editType:"calc"},intensitymode:{valType:"enumerated",values:["vertex","cell"],dflt:"vertex",editType:"calc"},color:{valType:"color",editType:"calc"},vertexcolor:{valType:"data_array",editType:"calc"},facecolor:{valType:"data_array",editType:"calc"},transforms:void 0},l("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:S.opacity,flatshading:{valType:"boolean",dflt:!1,editType:"calc"},contour:{show:p({},S.contours.x.show,{}),color:S.contours.x.color,width:S.contours.x.width,editType:"calc"},lightposition:{x:p({},S.lightposition.x,{dflt:1e5}),y:p({},S.lightposition.y,{dflt:1e5}),z:p({},S.lightposition.z,{dflt:0}),editType:"calc"},lighting:p({vertexnormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-12,editType:"calc"},facenormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-6,editType:"calc"},editType:"calc"},S.lighting),hoverinfo:p({},g.hoverinfo,{editType:"calc"}),showlegend:p({},g.showlegend,{dflt:!1})})},1876:function(u,h,a){var l=a(47128);u.exports=function(i,S){S.intensity&&l(i,S,{vals:S.intensity,containerStr:"",cLetter:"c"})}},576:function(u,h,a){var l=a(67792).gl_mesh3d,v=a(67792).delaunay_triangulate,i=a(67792).alpha_shape,S=a(67792).convex_hull,g=a(33040).parseColorScale,p=a(3400).isArrayOrTypedArray,_=a(43080),c=a(8932).extractOpts,s=a(52094);function d(A,E,k){this.scene=A,this.uid=k,this.mesh=E,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var f=d.prototype;f.handlePick=function(A){if(A.object===this.mesh){var E=A.index=A.data.index;A.data._cellCenter?A.traceCoordinate=A.data.dataCoordinate:A.traceCoordinate=[this.data.x[E],this.data.y[E],this.data.z[E]];var k=this.data.hovertext||this.data.text;return p(k)&&k[E]!==void 0?A.textLabel=k[E]:k&&(A.textLabel=k),!0}};function b(A){for(var E=[],k=A.length,L=0;L<k;L++)E[L]=_(A[L]);return E}function x(A,E,k,L){for(var I=[],P=E.length,M=0;M<P;M++)I[M]=A.d2l(E[M],0,L)*k;return I}function y(A){for(var E=[],k=A.length,L=0;L<k;L++)E[L]=Math.round(A[L]);return E}function C(A,E){for(var k=["x","y","z"].indexOf(A),L=[],I=E.length,P=0;P<I;P++)L[P]=[E[P][(k+1)%3],E[P][(k+2)%3]];return v(L)}function w(A,E){for(var k=A.length,L=0;L<k;L++)if(A[L]<=-.5||A[L]>=E-.5)return!1;return!0}f.update=function(A){var E=this.scene,k=E.fullSceneLayout;this.data=A;var L=A.x.length,I=s(x(k.xaxis,A.x,E.dataScale[0],A.xcalendar),x(k.yaxis,A.y,E.dataScale[1],A.ycalendar),x(k.zaxis,A.z,E.dataScale[2],A.zcalendar)),P;if(A.i&&A.j&&A.k){if(A.i.length!==A.j.length||A.j.length!==A.k.length||!w(A.i,L)||!w(A.j,L)||!w(A.k,L))return;P=s(y(A.i),y(A.j),y(A.k))}else A.alphahull===0?P=S(I):A.alphahull>0?P=i(A.alphahull,I):P=C(A.delaunayaxis,I);var M={positions:I,cells:P,lightPosition:[A.lightposition.x,A.lightposition.y,A.lightposition.z],ambient:A.lighting.ambient,diffuse:A.lighting.diffuse,specular:A.lighting.specular,roughness:A.lighting.roughness,fresnel:A.lighting.fresnel,vertexNormalsEpsilon:A.lighting.vertexnormalsepsilon,faceNormalsEpsilon:A.lighting.facenormalsepsilon,opacity:A.opacity,contourEnable:A.contour.show,contourColor:_(A.contour.color).slice(0,3),contourWidth:A.contour.width,useFacetNormals:A.flatshading};if(A.intensity){var F=c(A);this.color="#fff";var N=A.intensitymode;M[N+"Intensity"]=A.intensity,M[N+"IntensityBounds"]=[F.min,F.max],M.colormap=g(A)}else A.vertexcolor?(this.color=A.vertexcolor[0],M.vertexColors=b(A.vertexcolor)):A.facecolor?(this.color=A.facecolor[0],M.cellColors=b(A.facecolor)):(this.color=A.color,M.meshColor=_(A.color));this.mesh.update(M)},f.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};function R(A,E){var k=A.glplot.gl,L=l({gl:k}),I=new d(A,L,E.uid);return L._trace=I,I.update(E),A.glplot.add(L),I}u.exports=R},74212:function(u,h,a){var l=a(24040),v=a(3400),i=a(27260),S=a(52948);u.exports=function(p,_,c,s){function d(C,w){return v.coerce(p,_,S,C,w)}function f(C){var w=C.map(function(R){var A=d(R);return A&&v.isArrayOrTypedArray(A)?A:null});return w.every(function(R){return R&&R.length===w[0].length})&&w}var b=f(["x","y","z"]);if(!b){_.visible=!1;return}if(f(["i","j","k"]),_.i&&(!_.j||!_.k)||_.j&&(!_.k||!_.i)||_.k&&(!_.i||!_.j)){_.visible=!1;return}var x=l.getComponentMethod("calendars","handleTraceDefaults");x(p,_,["x","y","z"],s),["lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","alphahull","delaunayaxis","opacity"].forEach(function(C){d(C)});var y=d("contour.show");y&&(d("contour.color"),d("contour.width")),"intensity"in p?(d("intensity"),d("intensitymode"),i(p,_,s,d,{prefix:"",cLetter:"c"})):(_.showscale=!1,"facecolor"in p?d("facecolor"):"vertexcolor"in p?d("vertexcolor"):d("color",c)),d("text"),d("hovertext"),d("hovertemplate"),d("xhoverformat"),d("yhoverformat"),d("zhoverformat"),_._length=null}},7404:function(u,h,a){u.exports={attributes:a(52948),supplyDefaults:a(74212),calc:a(1876),colorbar:{min:"cmin",max:"cmax"},plot:a(576),moduleType:"trace",name:"mesh3d",basePlotModule:a(12536),categories:["gl3d","showLegend"],meta:{}}},20279:function(u,h,a){var l=a(3400).extendFlat,v=a(52904),i=a(29736).axisHoverFormat,S=a(98192).u,g=a(55756),p=a(48164),_=p.INCREASING.COLOR,c=p.DECREASING.COLOR,s=v.line;function d(f){return{line:{color:l({},s.color,{dflt:f}),width:s.width,dash:S,editType:"style"},editType:"style"}}u.exports={xperiod:v.xperiod,xperiod0:v.xperiod0,xperiodalignment:v.xperiodalignment,xhoverformat:i("x"),yhoverformat:i("y"),x:{valType:"data_array",editType:"calc+clearAxisTypes"},open:{valType:"data_array",editType:"calc"},high:{valType:"data_array",editType:"calc"},low:{valType:"data_array",editType:"calc"},close:{valType:"data_array",editType:"calc"},line:{width:l({},s.width,{}),dash:l({},S,{}),editType:"style"},increasing:d(_),decreasing:d(c),text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},tickwidth:{valType:"number",min:0,max:.5,dflt:.3,editType:"calc"},hoverlabel:l({},g.hoverlabel,{split:{valType:"boolean",dflt:!1,editType:"style"}})}},42812:function(u,h,a){var l=a(3400),v=l._,i=a(54460),S=a(1220),g=a(39032).BADNUM;function p(d,f){var b=i.getFromId(d,f.xaxis),x=i.getFromId(d,f.yaxis),y=s(d,b,f),C=f._minDiff;f._minDiff=null;var w=f._origX;f._origX=null;var R=f._xcalc;f._xcalc=null;var A=c(d,f,w,R,x,_);return f._extremes[b._id]=i.findExtremes(b,R,{vpad:C/2}),A.length?(l.extendFlat(A[0].t,{wHover:C/2,tickLen:y}),A):[{t:{empty:!0}}]}function _(d,f,b,x){return{o:d,h:f,l:b,c:x}}function c(d,f,b,x,y,C){for(var w=y.makeCalcdata(f,"open"),R=y.makeCalcdata(f,"high"),A=y.makeCalcdata(f,"low"),E=y.makeCalcdata(f,"close"),k=l.isArrayOrTypedArray(f.text),L=l.isArrayOrTypedArray(f.hovertext),I=!0,P=null,M=!!f.xperiodalignment,F=[],N=0;N<x.length;N++){var T=x[N],D=w[N],O=R[N],U=A[N],B=E[N];if(T!==g&&D!==g&&O!==g&&U!==g&&B!==g){B===D?P!==null&&B!==P&&(I=B>P):I=B>D,P=B;var Y=C(D,O,U,B);Y.pos=T,Y.yc=(D+B)/2,Y.i=N,Y.dir=I?"increasing":"decreasing",Y.x=Y.pos,Y.y=[U,O],M&&(Y.orig_p=b[N]),k&&(Y.tx=f.text[N]),L&&(Y.htx=f.hovertext[N]),F.push(Y)}else F.push({pos:T,empty:!0})}return f._extremes[y._id]=i.findExtremes(y,l.concat(A,R),{padded:!0}),F.length&&(F[0].t={labels:{open:v(d,"open:")+" ",high:v(d,"high:")+" ",low:v(d,"low:")+" ",close:v(d,"close:")+" "}}),F}function s(d,f,b){var x=b._minDiff;if(!x){var y=d._fullData,C=[];x=1/0;var w;for(w=0;w<y.length;w++){var R=y[w];if(R.type==="ohlc"&&R.visible===!0&&R.xaxis===f._id){C.push(R);var A=f.makeCalcdata(R,"x");R._origX=A;var E=S(b,f,"x",A).vals;R._xcalc=E;var k=l.distinctVals(E).minDiff;k&&isFinite(k)&&(x=Math.min(x,k))}}for(x===1/0&&(x=1),w=0;w<C.length;w++)C[w]._minDiff=x}return x*b.tickwidth}u.exports={calc:p,calcCommon:c}},23860:function(u,h,a){var l=a(3400),v=a(52744),i=a(31147),S=a(20279);u.exports=function(_,c,s,d){function f(x,y){return l.coerce(_,c,S,x,y)}var b=v(_,c,f,d);if(!b){c.visible=!1;return}i(_,c,d,f,{x:!0}),f("xhoverformat"),f("yhoverformat"),f("line.width"),f("line.dash"),g(_,c,f,"increasing"),g(_,c,f,"decreasing"),f("text"),f("hovertext"),f("tickwidth"),d._requestRangeslider[c.xaxis]=!0};function g(p,_,c,s){c(s+".line.color"),c(s+".line.width",_.line.width),c(s+".line.dash",_.line.dash)}},18720:function(u,h,a){var l=a(54460),v=a(3400),i=a(93024),S=a(76308),g=a(3400).fillText,p=a(48164),_={increasing:p.INCREASING.SYMBOL,decreasing:p.DECREASING.SYMBOL};function c(b,x,y,C){var w=b.cd,R=w[0].trace;return R.hoverlabel.split?d(b,x,y,C):f(b,x,y,C)}function s(b,x,y,C){var w=b.cd,R=b.xa,A=w[0].trace,E=w[0].t,k=A.type,L=k==="ohlc"?"l":"min",I=k==="ohlc"?"h":"max",P,M,F=E.bPos||0,N=function(X){return X.pos+F-x},T=E.bdPos||E.tickLen,D=E.wHover,O=Math.min(1,T/Math.abs(R.r2c(R.range[1])-R.r2c(R.range[0])));P=b.maxHoverDistance-O,M=b.maxSpikeDistance-O;function U(X){var Q=N(X);return i.inbox(Q-D,Q+D,P)}function B(X){var Q=X[L],ae=X[I];return Q===ae||i.inbox(Q-y,ae-y,P)}function Y(X){return(U(X)+B(X))/2}var z=i.getDistanceFunction(C,U,B,Y);if(i.getClosest(w,z,b),b.index===!1)return null;var V=w[b.index];if(V.empty)return null;var j=V.dir,G=A[j],W=G.line.color;return S.opacity(W)&&G.line.width?b.color=W:b.color=G.fillcolor,b.x0=R.c2p(V.pos+F-T,!0),b.x1=R.c2p(V.pos+F+T,!0),b.xLabelVal=V.orig_p!==void 0?V.orig_p:V.pos,b.spikeDistance=Y(V)*M/P,b.xSpike=R.c2p(V.pos,!0),b}function d(b,x,y,C){var w=b.cd,R=b.ya,A=w[0].trace,E=w[0].t,k=[],L=s(b,x,y,C);if(!L)return[];var I=L.index,P=w[I],M=P.hi||A.hoverinfo,F=M.split("+"),N=M==="all",T=N||F.indexOf("y")!==-1;if(!T)return[];for(var D=["high","open","close","low"],O={},U=0;U<D.length;U++){var B=D[U],Y=A[B][L.index],z=R.c2p(Y,!0),V;Y in O?(V=O[Y],V.yLabel+="<br>"+E.labels[B]+l.hoverLabelText(R,Y,A.yhoverformat)):(V=v.extendFlat({},L),V.y0=V.y1=z,V.yLabelVal=Y,V.yLabel=E.labels[B]+l.hoverLabelText(R,Y,A.yhoverformat),V.name="",k.push(V),O[Y]=V)}return k}function f(b,x,y,C){var w=b.cd,R=b.ya,A=w[0].trace,E=w[0].t,k=s(b,x,y,C);if(!k)return[];var L=k.index,I=w[L],P=k.index=I.i,M=I.dir;function F(Y){return E.labels[Y]+l.hoverLabelText(R,A[Y][P],A.yhoverformat)}var N=I.hi||A.hoverinfo,T=N.split("+"),D=N==="all",O=D||T.indexOf("y")!==-1,U=D||T.indexOf("text")!==-1,B=O?[F("open"),F("high"),F("low"),F("close")+" "+_[M]]:[];return U&&g(I,A,B),k.extraText=B.join("<br>"),k.y0=k.y1=R.c2p(I.yc,!0),[k]}u.exports={hoverPoints:c,hoverSplit:d,hoverOnPoints:f}},65456:function(u,h,a){u.exports={moduleType:"trace",name:"ohlc",basePlotModule:a(57952),categories:["cartesian","svg","showLegend"],meta:{},attributes:a(20279),supplyDefaults:a(23860),calc:a(42812).calc,plot:a(36664),style:a(14008),hoverPoints:a(18720).hoverPoints,selectPoints:a(97384)}},52744:function(u,h,a){var l=a(24040),v=a(3400);u.exports=function(S,g,p,_){var c=p("x"),s=p("open"),d=p("high"),f=p("low"),b=p("close");p("hoverlabel.split");var x=l.getComponentMethod("calendars","handleTraceDefaults");if(x(S,g,["x"],_),!!(s&&d&&f&&b)){var y=Math.min(s.length,d.length,f.length,b.length);return c&&(y=Math.min(y,v.minRowLength(c))),g._length=y,y}}},36664:function(u,h,a){var l=a(33428),v=a(3400);u.exports=function(S,g,p,_){var c=g.yaxis,s=g.xaxis,d=!!s.rangebreaks;v.makeTraceGroups(_,p,"trace ohlc").each(function(f){var b=l.select(this),x=f[0],y=x.t,C=x.trace;if(C.visible!==!0||y.empty){b.remove();return}var w=y.tickLen,R=b.selectAll("path").data(v.identity);R.enter().append("path"),R.exit().remove(),R.attr("d",function(A){if(A.empty)return"M0,0Z";var E=s.c2p(A.pos-w,!0),k=s.c2p(A.pos+w,!0),L=d?(E+k)/2:s.c2p(A.pos,!0),I=c.c2p(A.o,!0),P=c.c2p(A.h,!0),M=c.c2p(A.l,!0),F=c.c2p(A.c,!0);return"M"+E+","+I+"H"+L+"M"+L+","+P+"V"+M+"M"+k+","+F+"H"+L})})}},97384:function(u){u.exports=function(a,l){var v=a.cd,i=a.xaxis,S=a.yaxis,g=[],p,_=v[0].t.bPos||0;if(l===!1)for(p=0;p<v.length;p++)v[p].selected=0;else for(p=0;p<v.length;p++){var c=v[p];l.contains([i.c2p(c.pos+_),S.c2p(c.yc)],null,c.i,a)?(g.push({pointNumber:c.i,x:i.c2d(c.pos),y:S.c2d(c.yc)}),c.selected=1):c.selected=0}return g}},14008:function(u,h,a){var l=a(33428),v=a(43616),i=a(76308);u.exports=function(g,p,_){var c=_||l.select(g).selectAll("g.ohlclayer").selectAll("g.trace");c.style("opacity",function(s){return s[0].trace.opacity}),c.each(function(s){var d=s[0].trace;l.select(this).selectAll("path").each(function(f){if(!f.empty){var b=d[f.dir].line;l.select(this).style("fill","none").call(i.stroke,b.color).call(v.dashLine,b.dash,b.width).style("opacity",d.selectedpoints&&!f.selected?.3:1)}})})}},72140:function(u,h,a){var l=a(92880).extendFlat,v=a(45464),i=a(25376),S=a(49084),g=a(21776).Ks,p=a(86968).u,_=l({editType:"calc"},S("line",{editTypeOverride:"calc"}),{shape:{valType:"enumerated",values:["linear","hspline"],dflt:"linear",editType:"plot"},hovertemplate:g({editType:"plot",arrayOk:!1},{keys:["count","probability"]})});u.exports={domain:p({name:"parcats",trace:!0,editType:"calc"}),hoverinfo:l({},v.hoverinfo,{flags:["count","probability"],editType:"plot",arrayOk:!1}),hoveron:{valType:"enumerated",values:["category","color","dimension"],dflt:"category",editType:"plot"},hovertemplate:g({editType:"plot",arrayOk:!1},{keys:["count","probability","category","categorycount","colorcount","bandcolorcount"]}),arrangement:{valType:"enumerated",values:["perpendicular","freeform","fixed"],dflt:"perpendicular",editType:"plot"},bundlecolors:{valType:"boolean",dflt:!0,editType:"plot"},sortpaths:{valType:"enumerated",values:["forward","backward"],dflt:"forward",editType:"plot"},labelfont:i({editType:"calc"}),tickfont:i({editType:"calc"}),dimensions:{_isLinkedToArray:"dimension",label:{valType:"string",editType:"calc"},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array"],dflt:"trace",editType:"calc"},categoryarray:{valType:"data_array",editType:"calc"},ticktext:{valType:"data_array",editType:"calc"},values:{valType:"data_array",dflt:[],editType:"calc"},displayindex:{valType:"integer",editType:"calc"},editType:"calc",visible:{valType:"boolean",dflt:!0,editType:"calc"}},line:_,counts:{valType:"number",min:0,dflt:1,arrayOk:!0,editType:"calc"},customdata:void 0,hoverlabel:void 0,ids:void 0,legend:void 0,legendgroup:void 0,legendrank:void 0,opacity:void 0,selectedpoints:void 0,showlegend:void 0}},91800:function(u,h,a){var l=a(84888)._M,v=a(60268),i="parcats";h.name=i,h.plot=function(S,g,p,_){var c=l(S.calcdata,i);if(c.length){var s=c[0];v(S,s,p,_)}},h.clean=function(S,g,p,_){var c=_._has&&_._has("parcats"),s=g._has&&g._has("parcats");c&&!s&&_._paperdiv.selectAll(".parcats").remove()}},69136:function(u,h,a){var l=a(71688).wrap,v=a(94288).hasColorscale,i=a(47128),S=a(68944),g=a(43616),p=a(3400),_=a(38248);u.exports=function(E,k){var L=p.filterVisible(k.dimensions);if(L.length===0)return[];var I=L.map(function(J){var Z;if(J.categoryorder==="trace")Z=null;else if(J.categoryorder==="array")Z=J.categoryarray;else{Z=S(J.values);for(var le=!0,K=0;K<Z.length;K++)if(!_(Z[K])){le=!1;break}Z.sort(le?p.sorterAsc:void 0),J.categoryorder==="category descending"&&(Z=Z.reverse())}return y(J.values,Z)}),P,M,F;p.isArrayOrTypedArray(k.counts)?P=k.counts:P=[k.counts],C(L),L.forEach(function(J,Z){w(J,I[Z])});var N=k.line,T;N?(v(k,"line")&&i(E,k,{vals:k.line.color,containerStr:"line",cLetter:"c"}),T=g.tryColorscale(N)):T=p.identity;function D(J){var Z,le;return p.isArrayOrTypedArray(N.color)?(Z=N.color[J%N.color.length],le=Z):Z=N.color,{color:T(Z),rawColor:le}}var O=L[0].values.length,U={},B=I.map(function(J){return J.inds});F=0;var Y,z;for(Y=0;Y<O;Y++){var V=[];for(z=0;z<B.length;z++)V.push(B[z][Y]);M=P[Y%P.length],F+=M;var j=D(Y),G=V+"-"+j.rawColor;U[G]===void 0&&(U[G]=b(V,j.color,j.rawColor)),x(U[G],Y,M)}var W=L.map(function(J,Z){return s(Z,J._index,J._displayindex,J.label,F)});for(Y=0;Y<O;Y++)for(M=P[Y%P.length],z=0;z<W.length;z++){var X=W[z].containerInd,Q=I[z].inds[Y],ae=W[z].categories;if(ae[Q]===void 0){var ie=k.dimensions[X]._categoryarray[Q],he=k.dimensions[X]._ticktext[Q];ae[Q]=d(z,Q,ie,he)}f(ae[Q],Y,M)}return l(c(W,U,F))};function c(A,E,k){var L=A.map(function(I){return I.categories.length}).reduce(function(I,P){return Math.max(I,P)});return{dimensions:A,paths:E,trace:void 0,maxCats:L,count:k}}function s(A,E,k,L,I){return{dimensionInd:A,containerInd:E,displayInd:k,dimensionLabel:L,count:I,categories:[],dragX:null}}function d(A,E,k,L){return{dimensionInd:A,categoryInd:E,categoryValue:k,displayInd:E,categoryLabel:L,valueInds:[],count:0,dragY:null}}function f(A,E,k){A.valueInds.push(E),A.count+=k}function b(A,E,k){return{categoryInds:A,color:E,rawColor:k,valueInds:[],count:0}}function x(A,E,k){A.valueInds.push(E),A.count+=k}function y(A,E){E==null?E=[]:E=E.map(function(T){return T});var k={},L={},I=[];E.forEach(function(T,D){k[T]=0,L[T]=D});for(var P=0;P<A.length;P++){var M=A[P],F;k[M]===void 0?(k[M]=1,F=E.push(M)-1,L[M]=F):(k[M]++,F=L[M]),I.push(F)}var N=E.map(function(T){return k[T]});return{uniqueValues:E,uniqueCounts:N,inds:I}}function C(A){var E=A.map(function(L){return L.displayindex}),k;if(R(E))for(k=0;k<A.length;k++)A[k]._displayindex=A[k].displayindex;else for(k=0;k<A.length;k++)A[k]._displayindex=k}function w(A,E){A._categoryarray=E.uniqueValues,A.ticktext===null||A.ticktext===void 0?A._ticktext=[]:A._ticktext=A.ticktext.slice();for(var k=A._ticktext.length;k<E.uniqueValues.length;k++)A._ticktext.push(E.uniqueValues[k])}function R(A){for(var E=new Array(A.length),k=0;k<A.length;k++){if(A[k]<0||A[k]>=A.length||E[A[k]]!==void 0)return!1;E[A[k]]=!0}return!0}},76671:function(u,h,a){var l=a(3400),v=a(94288).hasColorscale,i=a(27260),S=a(86968).Q,g=a(51272),p=a(72140),_=a(26284),c=a(38116).isTypedArraySpec;function s(f,b,x,y,C){C("line.shape"),C("line.hovertemplate");var w=C("line.color",y.colorway[0]);if(v(f,"line")&&l.isArrayOrTypedArray(w)){if(w.length)return C("line.colorscale"),i(f,b,y,C,{prefix:"line.",cLetter:"c"}),w.length;b.line.color=x}return 1/0}function d(f,b){function x(k,L){return l.coerce(f,b,p.dimensions,k,L)}var y=x("values"),C=x("visible");if(y&&y.length||(C=b.visible=!1),C){x("label"),x("displayindex",b._index);var w=f.categoryarray,R=l.isArrayOrTypedArray(w)&&w.length>0||c(w),A;R&&(A="array");var E=x("categoryorder",A);E==="array"?(x("categoryarray"),x("ticktext")):(delete f.categoryarray,delete f.ticktext),!R&&E==="array"&&(b.categoryorder="trace")}}u.exports=function(b,x,y,C){function w(L,I){return l.coerce(b,x,p,L,I)}var R=g(b,x,{name:"dimensions",handleItemDefaults:d}),A=s(b,x,y,C,w);S(x,C,w),(!Array.isArray(R)||!R.length)&&(x.visible=!1),_(x,R,"values",A),w("hoveron"),w("hovertemplate"),w("arrangement"),w("bundlecolors"),w("sortpaths"),w("counts");var E={family:C.font.family,size:Math.round(C.font.size),color:C.font.color};l.coerceFont(w,"labelfont",E);var k={family:C.font.family,size:Math.round(C.font.size/1.2),color:C.font.color};l.coerceFont(w,"tickfont",k)}},22020:function(u,h,a){u.exports={attributes:a(72140),supplyDefaults:a(76671),calc:a(69136),plot:a(60268),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:a(91800),categories:["noOpacity"],meta:{}}},51036:function(u,h,a){var l=a(33428),v=a(67756).Gz,i=a(36424),S=a(93024),g=a(3400),p=g.strTranslate,_=a(43616),c=a(49760),s=a(72736);function d(K,te,ce,re){var ee=te._context.staticPlot,de=K.map(ie.bind(0,te,ce)),oe=re.selectAll("g.parcatslayer").data([null]);oe.enter().append("g").attr("class","parcatslayer").style("pointer-events",ee?"none":"all");var fe=oe.selectAll("g.trace.parcats").data(de,f),me=fe.enter().append("g").attr("class","trace parcats");fe.attr("transform",function(We){return p(We.x,We.y)}),me.append("g").attr("class","paths");var Te=fe.select("g.paths"),we=Te.selectAll("path.path").data(function(We){return We.paths},f);we.attr("fill",function(We){return We.model.color});var Be=we.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",function(We){return We.model.color}).attr("fill-opacity",0);E(Be),we.attr("d",function(We){return We.svgD}),Be.empty()||we.sort(x),we.exit().remove(),we.on("mouseover",y).on("mouseout",C).on("click",A),me.append("g").attr("class","dimensions");var Ae=fe.select("g.dimensions"),Re=Ae.selectAll("g.dimension").data(function(We){return We.dimensions},f);Re.enter().append("g").attr("class","dimension"),Re.attr("transform",function(We){return p(We.x,0)}),Re.exit().remove();var be=Re.selectAll("g.category").data(function(We){return We.categories},f),Pe=be.enter().append("g").attr("class","category");be.attr("transform",function(We){return p(0,We.y)}),Pe.append("rect").attr("class","catrect").attr("pointer-events","none"),be.select("rect.catrect").attr("fill","none").attr("width",function(We){return We.width}).attr("height",function(We){return We.height}),I(Pe);var Ke=be.selectAll("rect.bandrect").data(function(We){return We.bands},f);Ke.each(function(){g.raiseToTop(this)}),Ke.attr("fill",function(We){return We.color});var ze=Ke.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",function(We){return We.color}).attr("fill-opacity",0);Ke.attr("fill",function(We){return We.color}).attr("width",function(We){return We.width}).attr("height",function(We){return We.height}).attr("y",function(We){return We.y}).attr("cursor",function(We){return We.parcatsViewModel.arrangement==="fixed"?"default":We.parcatsViewModel.arrangement==="perpendicular"?"ns-resize":"move"}),M(ze),Ke.exit().remove(),Pe.append("text").attr("class","catlabel").attr("pointer-events","none");var Fe=te._fullLayout.paper_bgcolor;be.select("text.catlabel").attr("text-anchor",function(We){return b(We)?"start":"end"}).attr("alignment-baseline","middle").style("text-shadow",s.makeTextShadow(Fe)).style("fill","rgb(0, 0, 0)").attr("x",function(We){return b(We)?We.width+5:-5}).attr("y",function(We){return We.height/2}).text(function(We){return We.model.categoryLabel}).each(function(We){_.font(l.select(this),We.parcatsViewModel.categorylabelfont),s.convertToTspans(l.select(this),te)}),Pe.append("text").attr("class","dimlabel"),be.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",function(We){return We.parcatsViewModel.arrangement==="fixed"?"default":"ew-resize"}).attr("x",function(We){return We.width/2}).attr("y",-5).text(function(We,lt){return lt===0?We.parcatsViewModel.model.dimensions[We.model.dimensionInd].dimensionLabel:null}).each(function(We){_.font(l.select(this),We.parcatsViewModel.labelfont)}),be.selectAll("rect.bandrect").on("mouseover",z).on("mouseout",V),be.exit().remove(),Re.call(l.behavior.drag().origin(function(We){return{x:We.x,y:0}}).on("dragstart",j).on("drag",G).on("dragend",W)),fe.each(function(We){We.traceSelection=l.select(this),We.pathSelection=l.select(this).selectAll("g.paths").selectAll("path.path"),We.dimensionSelection=l.select(this).selectAll("g.dimensions").selectAll("g.dimension")}),fe.exit().remove()}u.exports=function(K,te,ce,re){d(ce,K,re,te)};function f(K){return K.key}function b(K){var te=K.parcatsViewModel.dimensions.length,ce=K.parcatsViewModel.dimensions[te-1].model.dimensionInd;return K.model.dimensionInd===ce}function x(K,te){return K.model.rawColor>te.model.rawColor?1:K.model.rawColor<te.model.rawColor?-1:0}function y(K){if(!K.parcatsViewModel.dragDimension&&K.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){g.raiseToTop(this),k(l.select(this));var te=w(K),ce=R(K);if(K.parcatsViewModel.graphDiv.emit("plotly_hover",{points:te,event:l.event,constraints:ce}),K.parcatsViewModel.hoverinfoItems.indexOf("none")===-1){var re=l.mouse(this)[0],ee=K.parcatsViewModel.graphDiv,de=K.parcatsViewModel.trace,oe=ee._fullLayout,fe=oe._paperdiv.node().getBoundingClientRect(),me=K.parcatsViewModel.graphDiv.getBoundingClientRect(),Te,we,Be;for(Be=0;Be<K.leftXs.length-1;Be++)if(K.leftXs[Be]+K.dimWidths[Be]-2<=re&&re<=K.leftXs[Be+1]+2){var Ae=K.parcatsViewModel.dimensions[Be],Re=K.parcatsViewModel.dimensions[Be+1];Te=(Ae.x+Ae.width+Re.x)/2,we=(K.topYs[Be]+K.topYs[Be+1]+K.height)/2;break}var be=K.parcatsViewModel.x+Te,Pe=K.parcatsViewModel.y+we,Ke=c.mostReadable(K.model.color,["black","white"]),ze=K.model.count,Fe=ze/K.parcatsViewModel.model.count,We={countLabel:ze,probabilityLabel:Fe.toFixed(3)},lt=[];K.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&lt.push(["Count:",We.countLabel].join(" ")),K.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&lt.push(["P:",We.probabilityLabel].join(" "));var ht=lt.join("<br>"),tt=l.mouse(ee)[0];S.loneHover({trace:de,x:be-fe.left+me.left,y:Pe-fe.top+me.top,text:ht,color:K.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:Ke,idealAlign:tt<be?"right":"left",hovertemplate:(de.line||{}).hovertemplate,hovertemplateLabels:We,eventData:[{data:de._input,fullData:de,count:ze,probability:Fe}]},{container:oe._hoverlayer.node(),outerContainer:oe._paper.node(),gd:ee})}}}function C(K){if(!K.parcatsViewModel.dragDimension&&(E(l.select(this)),S.loneUnhover(K.parcatsViewModel.graphDiv._fullLayout._hoverlayer.node()),K.parcatsViewModel.pathSelection.sort(x),K.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1)){var te=w(K),ce=R(K);K.parcatsViewModel.graphDiv.emit("plotly_unhover",{points:te,event:l.event,constraints:ce})}}function w(K){for(var te=[],ce=X(K.parcatsViewModel),re=0;re<K.model.valueInds.length;re++){var ee=K.model.valueInds[re];te.push({curveNumber:ce,pointNumber:ee})}return te}function R(K){for(var te={},ce=K.parcatsViewModel.model.dimensions,re=0;re<ce.length;re++){var ee=ce[re],de=ee.categories[K.model.categoryInds[re]];te[ee.containerInd]=de.categoryValue}return K.model.rawColor!==void 0&&(te.color=K.model.rawColor),te}function A(K){if(K.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){var te=w(K),ce=R(K);K.parcatsViewModel.graphDiv.emit("plotly_click",{points:te,event:l.event,constraints:ce})}}function E(K){K.attr("fill",function(te){return te.model.color}).attr("fill-opacity",.6).attr("stroke","lightgray").attr("stroke-width",.2).attr("stroke-opacity",1)}function k(K){K.attr("fill-opacity",.8).attr("stroke",function(te){return c.mostReadable(te.model.color,["black","white"])}).attr("stroke-width",.3)}function L(K){K.select("rect.catrect").attr("stroke","black").attr("stroke-width",2.5)}function I(K){K.select("rect.catrect").attr("stroke","black").attr("stroke-width",1).attr("stroke-opacity",1)}function P(K){K.attr("stroke","black").attr("stroke-width",1.5)}function M(K){K.attr("stroke","black").attr("stroke-width",.2).attr("stroke-opacity",1).attr("fill-opacity",1)}function F(K){var te=K.parcatsViewModel.pathSelection,ce=K.categoryViewModel.model.dimensionInd,re=K.categoryViewModel.model.categoryInd;return te.filter(function(ee){return ee.model.categoryInds[ce]===re&&ee.model.color===K.color})}function N(K){var te=l.select(K.parentNode).selectAll("rect.bandrect");te.each(function(ce){var re=F(ce);k(re),re.each(function(){g.raiseToTop(this)})}),L(l.select(K.parentNode))}function T(K){var te=l.select(K).datum(),ce=F(te);k(ce),ce.each(function(){g.raiseToTop(this)}),l.select(K.parentNode).selectAll("rect.bandrect").filter(function(re){return re.color===te.color}).each(function(){g.raiseToTop(this),P(l.select(this))})}function D(K,te,ce){var re=l.select(K).datum(),ee=re.categoryViewModel.model,de=re.parcatsViewModel.graphDiv,oe=l.select(K.parentNode).selectAll("rect.bandrect"),fe=[];oe.each(function(Te){var we=F(Te);we.each(function(Be){Array.prototype.push.apply(fe,w(Be))})});var me={};me[ee.dimensionInd]=ee.categoryValue,de.emit(te,{points:fe,event:ce,constraints:me})}function O(K,te,ce){var re=l.select(K).datum(),ee=re.categoryViewModel.model,de=re.parcatsViewModel.graphDiv,oe=F(re),fe=[];oe.each(function(Te){Array.prototype.push.apply(fe,w(Te))});var me={};me[ee.dimensionInd]=ee.categoryValue,re.rawColor!==void 0&&(me.color=re.rawColor),de.emit(te,{points:fe,event:ce,constraints:me})}function U(K,te,ce){K._fullLayout._calcInverseTransform(K);var re=K._fullLayout._invScaleX,ee=K._fullLayout._invScaleY,de=l.select(ce.parentNode).select("rect.catrect"),oe=de.node().getBoundingClientRect(),fe=de.datum(),me=fe.parcatsViewModel,Te=me.model.dimensions[fe.model.dimensionInd],we=me.trace,Be=oe.top+oe.height/2,Ae,Re;me.dimensions.length>1&&Te.displayInd===me.dimensions.length-1?(Ae=oe.left,Re="left"):(Ae=oe.left+oe.width,Re="right");var be=fe.model.count,Pe=fe.model.categoryLabel,Ke=be/fe.parcatsViewModel.model.count,ze={countLabel:be,categoryLabel:Pe,probabilityLabel:Ke.toFixed(3)},Fe=[];fe.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Fe.push(["Count:",ze.countLabel].join(" ")),fe.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&Fe.push(["P("+ze.categoryLabel+"):",ze.probabilityLabel].join(" "));var We=Fe.join("<br>");return{trace:we,x:re*(Ae-te.left),y:ee*(Be-te.top),text:We,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:Re,hovertemplate:we.hovertemplate,hovertemplateLabels:ze,eventData:[{data:we._input,fullData:we,count:be,category:Pe,probability:Ke}]}}function B(K,te,ce){var re=[];return l.select(ce.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each(function(){var ee=this;re.push(U(K,te,ee))}),re}function Y(K,te,ce){K._fullLayout._calcInverseTransform(K);var re=K._fullLayout._invScaleX,ee=K._fullLayout._invScaleY,de=ce.getBoundingClientRect(),oe=l.select(ce).datum(),fe=oe.categoryViewModel,me=fe.parcatsViewModel,Te=me.model.dimensions[fe.model.dimensionInd],we=me.trace,Be=de.y+de.height/2,Ae,Re;me.dimensions.length>1&&Te.displayInd===me.dimensions.length-1?(Ae=de.left,Re="left"):(Ae=de.left+de.width,Re="right");var be=fe.model.categoryLabel,Pe=oe.parcatsViewModel.model.count,Ke=0;oe.categoryViewModel.bands.forEach(function(_t){_t.color===oe.color&&(Ke+=_t.count)});var ze=fe.model.count,Fe=0;me.pathSelection.each(function(_t){_t.model.color===oe.color&&(Fe+=_t.model.count)});var We=Ke/Pe,lt=Ke/Fe,ht=Ke/ze,tt={countLabel:Pe,categoryLabel:be,probabilityLabel:We.toFixed(3)},et=[];fe.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&et.push(["Count:",tt.countLabel].join(" ")),fe.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&(et.push("P(color ∩ "+be+"): "+tt.probabilityLabel),et.push("P("+be+" | color): "+lt.toFixed(3)),et.push("P(color | "+be+"): "+ht.toFixed(3)));var pt=et.join("<br>"),vt=c.mostReadable(oe.color,["black","white"]);return{trace:we,x:re*(Ae-te.left),y:ee*(Be-te.top),text:pt,color:oe.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:vt,fontSize:10,idealAlign:Re,hovertemplate:we.hovertemplate,hovertemplateLabels:tt,eventData:[{data:we._input,fullData:we,category:be,count:Pe,probability:We,categorycount:ze,colorcount:Fe,bandcolorcount:Ke}]}}function z(K){if(!K.parcatsViewModel.dragDimension&&K.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){var te=l.mouse(this)[1];if(te<-1)return;var ce=K.parcatsViewModel.graphDiv,re=ce._fullLayout,ee=re._paperdiv.node().getBoundingClientRect(),de=K.parcatsViewModel.hoveron,oe=this;if(de==="color"?(T(oe),O(oe,"plotly_hover",l.event)):(N(oe),D(oe,"plotly_hover",l.event)),K.parcatsViewModel.hoverinfoItems.indexOf("none")===-1){var fe;de==="category"?fe=U(ce,ee,oe):de==="color"?fe=Y(ce,ee,oe):de==="dimension"&&(fe=B(ce,ee,oe)),fe&&S.loneHover(fe,{container:re._hoverlayer.node(),outerContainer:re._paper.node(),gd:ce})}}}function V(K){var te=K.parcatsViewModel;if(!te.dragDimension&&(E(te.pathSelection),I(te.dimensionSelection.selectAll("g.category")),M(te.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),S.loneUnhover(te.graphDiv._fullLayout._hoverlayer.node()),te.pathSelection.sort(x),te.hoverinfoItems.indexOf("skip")===-1)){var ce=K.parcatsViewModel.hoveron,re=this;ce==="color"?O(re,"plotly_unhover",l.event):D(re,"plotly_unhover",l.event)}}function j(K){K.parcatsViewModel.arrangement!=="fixed"&&(K.dragDimensionDisplayInd=K.model.displayInd,K.initialDragDimensionDisplayInds=K.parcatsViewModel.model.dimensions.map(function(te){return te.displayInd}),K.dragHasMoved=!1,K.dragCategoryDisplayInd=null,l.select(this).selectAll("g.category").select("rect.catrect").each(function(te){var ce=l.mouse(this)[0],re=l.mouse(this)[1];-2<=ce&&ce<=te.width+2&&-2<=re&&re<=te.height+2&&(K.dragCategoryDisplayInd=te.model.displayInd,K.initialDragCategoryDisplayInds=K.model.categories.map(function(ee){return ee.displayInd}),te.model.dragY=te.y,g.raiseToTop(this.parentNode),l.select(this.parentNode).selectAll("rect.bandrect").each(function(ee){ee.y<re&&re<=ee.y+ee.height&&(K.potentialClickBand=this)}))}),K.parcatsViewModel.dragDimension=K,S.loneUnhover(K.parcatsViewModel.graphDiv._fullLayout._hoverlayer.node()))}function G(K){if(K.parcatsViewModel.arrangement!=="fixed"&&(K.dragHasMoved=!0,K.dragDimensionDisplayInd!==null)){var te=K.dragDimensionDisplayInd,ce=te-1,re=te+1,ee=K.parcatsViewModel.dimensions[te];if(K.dragCategoryDisplayInd!==null){var de=ee.categories[K.dragCategoryDisplayInd];de.model.dragY+=l.event.dy;var oe=de.model.dragY,fe=de.model.displayInd,me=ee.categories,Te=me[fe-1],we=me[fe+1];Te!==void 0&&oe<Te.y+Te.height/2&&(de.model.displayInd=Te.model.displayInd,Te.model.displayInd=fe),we!==void 0&&oe+de.height>we.y+we.height/2&&(de.model.displayInd=we.model.displayInd,we.model.displayInd=fe),K.dragCategoryDisplayInd=de.model.displayInd}if(K.dragCategoryDisplayInd===null||K.parcatsViewModel.arrangement==="freeform"){ee.model.dragX=l.event.x;var Be=K.parcatsViewModel.dimensions[ce],Ae=K.parcatsViewModel.dimensions[re];Be!==void 0&&ee.model.dragX<Be.x+Be.width&&(ee.model.displayInd=Be.model.displayInd,Be.model.displayInd=te),Ae!==void 0&&ee.model.dragX+ee.width>Ae.x&&(ee.model.displayInd=Ae.model.displayInd,Ae.model.displayInd=K.dragDimensionDisplayInd),K.dragDimensionDisplayInd=ee.model.displayInd}Z(K.parcatsViewModel),J(K.parcatsViewModel),ae(K.parcatsViewModel),Q(K.parcatsViewModel)}}function W(K){if(K.parcatsViewModel.arrangement!=="fixed"&&K.dragDimensionDisplayInd!==null){l.select(this).selectAll("text").attr("font-weight","normal");var te={},ce=X(K.parcatsViewModel),re=K.parcatsViewModel.model.dimensions.map(function(Ae){return Ae.displayInd}),ee=K.initialDragDimensionDisplayInds.some(function(Ae,Re){return Ae!==re[Re]});ee&&re.forEach(function(Ae,Re){var be=K.parcatsViewModel.model.dimensions[Re].containerInd;te["dimensions["+be+"].displayindex"]=Ae});var de=!1;if(K.dragCategoryDisplayInd!==null){var oe=K.model.categories.map(function(Ae){return Ae.displayInd});if(de=K.initialDragCategoryDisplayInds.some(function(Ae,Re){return Ae!==oe[Re]}),de){var fe=K.model.categories.slice().sort(function(Ae,Re){return Ae.displayInd-Re.displayInd}),me=fe.map(function(Ae){return Ae.categoryValue}),Te=fe.map(function(Ae){return Ae.categoryLabel});te["dimensions["+K.model.containerInd+"].categoryarray"]=[me],te["dimensions["+K.model.containerInd+"].ticktext"]=[Te],te["dimensions["+K.model.containerInd+"].categoryorder"]="array"}}if(K.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1&&!K.dragHasMoved&&K.potentialClickBand&&(K.parcatsViewModel.hoveron==="color"?O(K.potentialClickBand,"plotly_click",l.event.sourceEvent):D(K.potentialClickBand,"plotly_click",l.event.sourceEvent)),K.model.dragX=null,K.dragCategoryDisplayInd!==null){var we=K.parcatsViewModel.dimensions[K.dragDimensionDisplayInd].categories[K.dragCategoryDisplayInd];we.model.dragY=null,K.dragCategoryDisplayInd=null}K.dragDimensionDisplayInd=null,K.parcatsViewModel.dragDimension=null,K.dragHasMoved=null,K.potentialClickBand=null,Z(K.parcatsViewModel),J(K.parcatsViewModel);var Be=l.transition().duration(300).ease("cubic-in-out");Be.each(function(){ae(K.parcatsViewModel,!0),Q(K.parcatsViewModel,!0)}).each("end",function(){(ee||de)&&i.restyle(K.parcatsViewModel.graphDiv,te,[ce])})}}function X(K){for(var te,ce=K.graphDiv._fullData,re=0;re<ce.length;re++)if(K.key===ce[re].uid){te=re;break}return te}function Q(K,te){te===void 0&&(te=!1);function ce(re){return te?re.transition():re}K.pathSelection.data(function(re){return re.paths},f),ce(K.pathSelection).attr("d",function(re){return re.svgD})}function ae(K,te){te===void 0&&(te=!1);function ce(me){return te?me.transition():me}K.dimensionSelection.data(function(me){return me.dimensions},f);var re=K.dimensionSelection.selectAll("g.category").data(function(me){return me.categories},f);ce(K.dimensionSelection).attr("transform",function(me){return p(me.x,0)}),ce(re).attr("transform",function(me){return p(0,me.y)});var ee=re.select(".dimlabel");ee.text(function(me,Te){return Te===0?me.parcatsViewModel.model.dimensions[me.model.dimensionInd].dimensionLabel:null});var de=re.select(".catlabel");de.attr("text-anchor",function(me){return b(me)?"start":"end"}).attr("x",function(me){return b(me)?me.width+5:-5}).each(function(me){var Te,we;b(me)?(Te=me.width+5,we="start"):(Te=-5,we="end"),l.select(this).selectAll("tspan").attr("x",Te).attr("text-anchor",we)});var oe=re.selectAll("rect.bandrect").data(function(me){return me.bands},f),fe=oe.enter().append("rect").attr("class","bandrect").attr("cursor","move").attr("stroke-opacity",0).attr("fill",function(me){return me.color}).attr("fill-opacity",0);oe.attr("fill",function(me){return me.color}).attr("width",function(me){return me.width}).attr("height",function(me){return me.height}).attr("y",function(me){return me.y}),M(fe),oe.each(function(){g.raiseToTop(this)}),oe.exit().remove()}function ie(K,te,ce){var re=ce[0],ee=te.margin||{l:80,r:80,t:100,b:80},de=re.trace,oe=de.domain,fe=te.width,me=te.height,Te=Math.floor(fe*(oe.x[1]-oe.x[0])),we=Math.floor(me*(oe.y[1]-oe.y[0])),Be=oe.x[0]*fe+ee.l,Ae=te.height-oe.y[1]*te.height+ee.t,Re=de.line.shape,be;de.hoverinfo==="all"?be=["count","probability"]:be=(de.hoverinfo||"").split("+");var Pe={trace:de,key:de.uid,model:re,x:Be,y:Ae,width:Te,height:we,hoveron:de.hoveron,hoverinfoItems:be,arrangement:de.arrangement,bundlecolors:de.bundlecolors,sortpaths:de.sortpaths,labelfont:de.labelfont,categorylabelfont:de.tickfont,pathShape:Re,dragDimension:null,margin:ee,paths:[],dimensions:[],graphDiv:K,traceSelection:null,pathSelection:null,dimensionSelection:null};return re.dimensions&&(Z(Pe),J(Pe)),Pe}function he(K,te,ce,re,ee){var de=[],oe=[],fe,me;for(me=0;me<ce.length-1;me++)fe=v(ce[me]+K[me],K[me+1]),de.push(fe(ee)),oe.push(fe(1-ee));var Te="M "+K[0]+","+te[0];for(Te+="l"+ce[0]+",0 ",me=1;me<ce.length;me++)Te+="C"+de[me-1]+","+te[me-1]+" "+oe[me-1]+","+te[me]+" "+K[me]+","+te[me],Te+="l"+ce[me]+",0 ";for(Te+="l0,"+re+" ",Te+="l -"+ce[ce.length-1]+",0 ",me=ce.length-2;me>=0;me--)Te+="C"+oe[me]+","+(te[me+1]+re)+" "+de[me]+","+(te[me]+re)+" "+(K[me]+ce[me])+","+(te[me]+re),Te+="l-"+ce[me]+",0 ";return Te+="Z",Te}function J(K){var te=K.dimensions,ce=K.model,re=te.map(function(ct){return ct.categories.map(function(Ve){return Ve.y})}),ee=K.model.dimensions.map(function(ct){return ct.categories.map(function(Ve){return Ve.displayInd})}),de=K.model.dimensions.map(function(ct){return ct.displayInd}),oe=K.dimensions.map(function(ct){return ct.model.dimensionInd}),fe=te.map(function(ct){return ct.x}),me=te.map(function(ct){return ct.width}),Te=[];for(var we in ce.paths)ce.paths.hasOwnProperty(we)&&Te.push(ce.paths[we]);function Be(ct){var Ve=ct.categoryInds.map(function(rt,qe){return ee[qe][rt]}),Qe=oe.map(function(rt){return Ve[rt]});return Qe}Te.sort(function(ct,Ve){var Qe=Be(ct),rt=Be(Ve);return K.sortpaths==="backward"&&(Qe.reverse(),rt.reverse()),Qe.push(ct.valueInds[0]),rt.push(Ve.valueInds[0]),K.bundlecolors&&(Qe.unshift(ct.rawColor),rt.unshift(Ve.rawColor)),Qe<rt?-1:Qe>rt?1:0});for(var Ae=new Array(Te.length),Re=te[0].model.count,be=te[0].categories.map(function(ct){return ct.height}).reduce(function(ct,Ve){return ct+Ve}),Pe=0;Pe<Te.length;Pe++){var Ke=Te[Pe],ze;Re>0?ze=be*(Ke.count/Re):ze=0;for(var Fe=new Array(re.length),We=0;We<Ke.categoryInds.length;We++){var lt=Ke.categoryInds[We],ht=ee[We][lt],tt=de[We];Fe[tt]=re[tt][ht],re[tt][ht]+=ze;var et=K.dimensions[tt].categories[ht],pt=et.bands.length,vt=et.bands[pt-1];if(vt===void 0||Ke.rawColor!==vt.rawColor){var _t=vt===void 0?0:vt.y+vt.height;et.bands.push({key:_t,color:Ke.color,rawColor:Ke.rawColor,height:ze,width:et.width,count:Ke.count,y:_t,categoryViewModel:et,parcatsViewModel:K})}else{var bt=et.bands[pt-1];bt.height+=ze,bt.count+=Ke.count}}var Rt;K.pathShape==="hspline"?Rt=he(fe,Fe,me,ze,.5):Rt=he(fe,Fe,me,ze,0),Ae[Pe]={key:Ke.valueInds[0],model:Ke,height:ze,leftXs:fe,topYs:Fe,dimWidths:me,svgD:Rt,parcatsViewModel:K}}K.paths=Ae}function Z(K){var te=K.model.dimensions.map(function(oe){return{displayInd:oe.displayInd,dimensionInd:oe.dimensionInd}});te.sort(function(oe,fe){return oe.displayInd-fe.displayInd});var ce=[];for(var re in te){var ee=te[re].dimensionInd,de=K.model.dimensions[ee];ce.push(le(K,de))}K.dimensions=ce}function le(K,te){var ce=40,re=16,ee=K.model.dimensions.length,de=te.displayInd,oe,fe,me;ee>1?oe=(K.width-2*ce-re)/(ee-1):oe=0,fe=ce,me=fe+oe*de;var Te=[],we=K.model.maxCats,Be=te.categories.length,Ae=8,Re=te.count,be=K.height-Ae*(we-1),Pe,Ke,ze,Fe,We,lt=(we-Be)*Ae/2,ht=te.categories.map(function(tt){return{displayInd:tt.displayInd,categoryInd:tt.categoryInd}});for(ht.sort(function(tt,et){return tt.displayInd-et.displayInd}),We=0;We<Be;We++)Fe=ht[We].categoryInd,Ke=te.categories[Fe],Re>0?Pe=Ke.count/Re*be:Pe=0,ze={key:Ke.valueInds[0],model:Ke,width:re,height:Pe,y:Ke.dragY!==null?Ke.dragY:lt,bands:[],parcatsViewModel:K},lt=lt+Pe+Ae,Te.push(ze);return{key:te.dimensionInd,x:te.dragX!==null?te.dragX:me,y:0,width:re,model:te,categories:Te,parcatsViewModel:K,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}},60268:function(u,h,a){var l=a(51036);u.exports=function(i,S,g,p){var _=i._fullLayout,c=_._paper,s=_._size;l(i,c,S,{width:s.w,height:s.h,margin:{t:s.t,r:s.r,b:s.b,l:s.l}},g,p)}},82296:function(u,h,a){var l=a(49084),v=a(94724),i=a(25376),S=a(86968).u,g=a(92880).extendFlat,p=a(31780).templatedArray;u.exports={domain:S({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,editType:"plot"},labelside:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},labelfont:i({editType:"plot"}),tickfont:i({editType:"plot"}),rangefont:i({editType:"plot"}),dimensions:p("dimension",{label:{valType:"string",editType:"plot"},tickvals:g({},v.tickvals,{editType:"plot"}),ticktext:g({},v.ticktext,{editType:"plot"}),tickformat:g({},v.tickformat,{editType:"plot"}),visible:{valType:"boolean",dflt:!0,editType:"plot"},range:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},constraintrange:{valType:"info_array",freeLength:!0,dimensions:"1-2",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},multiselect:{valType:"boolean",dflt:!0,editType:"plot"},values:{valType:"data_array",editType:"calc"},editType:"calc"}),line:g({editType:"calc"},l("line",{colorscaleDflt:"Viridis",autoColorDflt:!1,editTypeOverride:"calc"})),unselected:{line:{color:{valType:"color",dflt:"#7f7f7f",editType:"plot"},opacity:{valType:"number",min:0,max:1,dflt:"auto",editType:"plot"},editType:"plot"},editType:"plot"}}},71864:function(u,h,a){var l=a(30140),v=a(33428),i=a(71688).keyFun,S=a(71688).repeat,g=a(3400).sorterAsc,p=a(3400).strTranslate,_=l.bar.snapRatio;function c(W,X){return W*(1-_)+X*_}var s=l.bar.snapClose;function d(W,X){return W*(1-s)+X*s}function f(W,X,Q,ae){if(b(Q,ae))return Q;var ie=W?-1:1,he=0,J=X.length-1;if(ie<0){var Z=he;he=J,J=Z}for(var le=X[he],K=le,te=he;ie*te<ie*J;te+=ie){var ce=te+ie,re=X[ce];if(ie*Q<ie*d(le,re))return c(le,K);if(ie*Q<ie*re||ce===J)return c(re,le);K=le,le=re}}function b(W,X){for(var Q=0;Q<X.length;Q++)if(W>=X[Q][0]&&W<=X[Q][1])return!0;return!1}function x(W){W.attr("x",-l.bar.captureWidth/2).attr("width",l.bar.captureWidth)}function y(W){W.attr("visibility","visible").style("visibility","visible").attr("fill","yellow").attr("opacity",0)}function C(W){if(!W.brush.filterSpecified)return"0,"+W.height;for(var X=w(W.brush.filter.getConsolidated(),W.height),Q=[0],ae,ie,he,J=X.length?X[0][0]:null,Z=0;Z<X.length;Z++)ae=X[Z],ie=ae[1]-ae[0],Q.push(J),Q.push(ie),he=Z+1,he<X.length&&(J=X[he][0]-ae[1]);return Q.push(W.height),Q}function w(W,X){return W.map(function(Q){return Q.map(function(ae){return Math.max(0,ae*X)}).sort(g)})}function R(W,X){var Q=l.bar.handleHeight;if(!(X>W[1]+Q||X<W[0]-Q))return X>=.9*W[1]+.1*W[0]?"n":X<=.9*W[0]+.1*W[1]?"s":"ns"}function A(){v.select(document.body).style("cursor",null)}function E(W){W.attr("stroke-dasharray",C)}function k(W,X){var Q=v.select(W).selectAll(".highlight, .highlight-shadow"),ae=X?Q.transition().duration(l.bar.snapDuration).each("end",X):Q;E(ae)}function L(W,X){var Q=W.brush,ae=Q.filterSpecified,ie=NaN,he={},J;if(ae){var Z=W.height,le=Q.filter.getConsolidated(),K=w(le,Z),te=NaN,ce=NaN,re=NaN;for(J=0;J<=K.length;J++){var ee=K[J];if(ee&&ee[0]<=X&&X<=ee[1]){te=J;break}else if(ce=J?J-1:NaN,ee&&ee[0]>X){re=J;break}}if(ie=te,isNaN(ie)&&(isNaN(ce)||isNaN(re)?ie=isNaN(ce)?re:ce:ie=X-K[ce][1]<K[re][0]-X?ce:re),!isNaN(ie)){var de=K[ie],oe=R(de,X);oe&&(he.interval=le[ie],he.intervalPix=de,he.region=oe)}}if(W.ordinal&&!he.region){var fe=W.unitTickvals,me=W.unitToPaddedPx.invert(X);for(J=0;J<fe.length;J++){var Te=[fe[Math.max(J-1,0)]*.25+fe[J]*.75,fe[Math.min(J+1,fe.length-1)]*.25+fe[J]*.75];if(me>=Te[0]&&me<=Te[1]){he.clickableOrdinalRange=Te;break}}}return he}function I(W,X){v.event.sourceEvent.stopPropagation();var Q=X.height-v.mouse(W)[1]-2*l.verticalPadding,ae=X.unitToPaddedPx.invert(Q),ie=X.brush,he=L(X,Q),J=he.interval,Z=ie.svgBrush;if(Z.wasDragged=!1,Z.grabbingBar=he.region==="ns",Z.grabbingBar){var le=J.map(X.unitToPaddedPx);Z.grabPoint=Q-le[0]-l.verticalPadding,Z.barLength=le[1]-le[0]}Z.clickableOrdinalRange=he.clickableOrdinalRange,Z.stayingIntervals=X.multiselect&&ie.filterSpecified?ie.filter.getConsolidated():[],J&&(Z.stayingIntervals=Z.stayingIntervals.filter(function(K){return K[0]!==J[0]&&K[1]!==J[1]})),Z.startExtent=he.region?J[he.region==="s"?1:0]:ae,X.parent.inBrushDrag=!0,Z.brushStartCallback()}function P(W,X){v.event.sourceEvent.stopPropagation();var Q=X.height-v.mouse(W)[1]-2*l.verticalPadding,ae=X.brush.svgBrush;ae.wasDragged=!0,ae._dragging=!0,ae.grabbingBar?ae.newExtent=[Q-ae.grabPoint,Q+ae.barLength-ae.grabPoint].map(X.unitToPaddedPx.invert):ae.newExtent=[ae.startExtent,X.unitToPaddedPx.invert(Q)].sort(g),X.brush.filterSpecified=!0,ae.extent=ae.stayingIntervals.concat([ae.newExtent]),ae.brushCallback(X),k(W.parentNode)}function M(W,X){var Q=X.brush,ae=Q.filter,ie=Q.svgBrush;ie._dragging||(F(W,X),P(W,X),X.brush.svgBrush.wasDragged=!1),ie._dragging=!1;var he=v.event;he.sourceEvent.stopPropagation();var J=ie.grabbingBar;if(ie.grabbingBar=!1,ie.grabLocation=void 0,X.parent.inBrushDrag=!1,A(),!ie.wasDragged){ie.wasDragged=void 0,ie.clickableOrdinalRange?Q.filterSpecified&&X.multiselect?ie.extent.push(ie.clickableOrdinalRange):(ie.extent=[ie.clickableOrdinalRange],Q.filterSpecified=!0):J?(ie.extent=ie.stayingIntervals,ie.extent.length===0&&B(Q)):B(Q),ie.brushCallback(X),k(W.parentNode),ie.brushEndCallback(Q.filterSpecified?ae.getConsolidated():[]);return}var Z=function(){ae.set(ae.getConsolidated())};if(X.ordinal){var le=X.unitTickvals;le[le.length-1]<le[0]&&le.reverse(),ie.newExtent=[f(0,le,ie.newExtent[0],ie.stayingIntervals),f(1,le,ie.newExtent[1],ie.stayingIntervals)];var K=ie.newExtent[1]>ie.newExtent[0];ie.extent=ie.stayingIntervals.concat(K?[ie.newExtent]:[]),ie.extent.length||B(Q),ie.brushCallback(X),K?k(W.parentNode,Z):(Z(),k(W.parentNode))}else Z();ie.brushEndCallback(Q.filterSpecified?ae.getConsolidated():[])}function F(W,X){var Q=X.height-v.mouse(W)[1]-2*l.verticalPadding,ae=L(X,Q),ie="crosshair";ae.clickableOrdinalRange?ie="pointer":ae.region&&(ie=ae.region+"-resize"),v.select(document.body).style("cursor",ie)}function N(W){W.on("mousemove",function(X){v.event.preventDefault(),X.parent.inBrushDrag||F(this,X)}).on("mouseleave",function(X){X.parent.inBrushDrag||A()}).call(v.behavior.drag().on("dragstart",function(X){I(this,X)}).on("drag",function(X){P(this,X)}).on("dragend",function(X){M(this,X)}))}function T(W,X){return W[0]-X[0]}function D(W,X,Q){var ae=Q._context.staticPlot,ie=W.selectAll(".background").data(S);ie.enter().append("rect").classed("background",!0).call(x).call(y).style("pointer-events",ae?"none":"auto").attr("transform",p(0,l.verticalPadding)),ie.call(N).attr("height",function(Z){return Z.height-l.verticalPadding});var he=W.selectAll(".highlight-shadow").data(S);he.enter().append("line").classed("highlight-shadow",!0).attr("x",-l.bar.width/2).attr("stroke-width",l.bar.width+l.bar.strokeWidth).attr("stroke",X).attr("opacity",l.bar.strokeOpacity).attr("stroke-linecap","butt"),he.attr("y1",function(Z){return Z.height}).call(E);var J=W.selectAll(".highlight").data(S);J.enter().append("line").classed("highlight",!0).attr("x",-l.bar.width/2).attr("stroke-width",l.bar.width-l.bar.strokeWidth).attr("stroke",l.bar.fillColor).attr("opacity",l.bar.fillOpacity).attr("stroke-linecap","butt"),J.attr("y1",function(Z){return Z.height}).call(E)}function O(W,X,Q){var ae=W.selectAll("."+l.cn.axisBrush).data(S,i);ae.enter().append("g").classed(l.cn.axisBrush,!0),D(ae,X,Q)}function U(W){return W.svgBrush.extent.map(function(X){return X.slice()})}function B(W){W.filterSpecified=!1,W.svgBrush.extent=[[-1/0,1/0]]}function Y(W){return function(Q){var ae=Q.brush,ie=U(ae),he=ie.slice();ae.filter.set(he),W()}}function z(W){for(var X=W.slice(),Q=[],ae,ie=X.shift();ie;){for(ae=ie.slice();(ie=X.shift())&&ie[0]<=ae[1];)ae[1]=Math.max(ae[1],ie[1]);Q.push(ae)}return Q.length===1&&Q[0][0]>Q[0][1]&&(Q=[]),Q}function V(){var W=[],X,Q;return{set:function(ae){W=ae.map(function(ie){return ie.slice().sort(g)}).sort(T),W.length===1&&W[0][0]===-1/0&&W[0][1]===1/0&&(W=[[0,-1]]),X=z(W),Q=W.reduce(function(ie,he){return[Math.min(ie[0],he[0]),Math.max(ie[1],he[1])]},[1/0,-1/0])},get:function(){return W.slice()},getConsolidated:function(){return X},getBounds:function(){return Q}}}function j(W,X,Q,ae,ie,he){var J=V();return J.set(Q),{filter:J,filterSpecified:X,svgBrush:{extent:[],brushStartCallback:ae,brushCallback:Y(ie),brushEndCallback:he}}}function G(W,X){if(Array.isArray(W[0])?(W=W.map(function(ae){return ae.sort(g)}),X.multiselect?W=z(W.sort(T)):W=[W[0]]):W=[W.sort(g)],X.tickvals){var Q=X.tickvals.slice().sort(g);if(W=W.map(function(ae){var ie=[f(0,Q,ae[0],[]),f(1,Q,ae[1],[])];if(ie[1]>ie[0])return ie}).filter(function(ae){return ae}),!W.length)return}return W.length>1?W:W[0]}u.exports={makeBrush:j,ensureAxisBrush:O,cleanRanges:G}},61664:function(u,h,a){u.exports={attributes:a(82296),supplyDefaults:a(60664),calc:a(95044),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:a(19976),categories:["gl","regl","noOpacity","noHover"],meta:{}}},19976:function(u,h,a){var l=a(33428),v=a(84888)._M,i=a(24196),S=a(9616);h.name="parcoords",h.plot=function(g){var p=v(g.calcdata,"parcoords")[0];p.length&&i(g,p)},h.clean=function(g,p,_,c){var s=c._has&&c._has("parcoords"),d=p._has&&p._has("parcoords");s&&!d&&(c._paperdiv.selectAll(".parcoords").remove(),c._glimages.selectAll("*").remove())},h.toSVG=function(g){var p=g._fullLayout._glimages,_=l.select(g).selectAll(".svg-container"),c=_.filter(function(d,f){return f===_.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus");function s(){var d=this,f=d.toDataURL("image/png"),b=p.append("svg:image");b.attr({xmlns:S.svg,"xlink:href":f,preserveAspectRatio:"none",x:0,y:0,width:d.style.width,height:d.style.height})}c.each(s),window.setTimeout(function(){l.selectAll("#filterBarPattern").attr("id","filterBarPattern")},60)}},95044:function(u,h,a){var l=a(3400).isArrayOrTypedArray,v=a(8932),i=a(71688).wrap;u.exports=function(p,_){var c,s;return v.hasColorscale(_,"line")&&l(_.line.color)?(c=_.line.color,s=v.extractOpts(_.line).colorscale,v.calc(p,_,{vals:c,containerStr:"line",cLetter:"c"})):(c=S(_._length),s=[[0,_.line.color],[1,_.line.color]]),i({lineColor:c,cscale:s})};function S(g){for(var p=new Array(g),_=0;_<g;_++)p[_]=.5;return p}},30140:function(u){u.exports={maxDimensionCount:60,overdrag:45,verticalPadding:2,tickDistance:50,canvasPixelRatio:1,blockLineCount:5e3,layers:["contextLineLayer","focusLineLayer","pickLineLayer"],axisTitleOffset:28,axisExtentOffset:10,bar:{width:4,captureWidth:10,fillColor:"magenta",fillOpacity:1,snapDuration:150,snapRatio:.25,snapClose:.01,strokeOpacity:1,strokeWidth:1,handleHeight:8,handleOpacity:1,handleOverlap:0},cn:{axisExtentText:"axis-extent-text",parcoordsLineLayers:"parcoords-line-layers",parcoordsLineLayer:"parcoords-lines",parcoords:"parcoords",parcoordsControlView:"parcoords-control-view",yAxis:"y-axis",axisOverlays:"axis-overlays",axis:"axis",axisHeading:"axis-heading",axisTitle:"axis-title",axisExtent:"axis-extent",axisExtentTop:"axis-extent-top",axisExtentTopText:"axis-extent-top-text",axisExtentBottom:"axis-extent-bottom",axisExtentBottomText:"axis-extent-bottom-text",axisBrush:"axis-brush"},id:{filterBarPattern:"filter-bar-pattern"}}},60664:function(u,h,a){var l=a(3400),v=a(94288).hasColorscale,i=a(27260),S=a(86968).Q,g=a(51272),p=a(54460),_=a(82296),c=a(71864),s=a(30140).maxDimensionCount,d=a(26284);function f(x,y,C,w,R){var A=R("line.color",C);if(v(x,"line")&&l.isArrayOrTypedArray(A)){if(A.length)return R("line.colorscale"),i(x,y,w,R,{prefix:"line.",cLetter:"c"}),A.length;y.line.color=C}return 1/0}function b(x,y,C,w){function R(I,P){return l.coerce(x,y,_.dimensions,I,P)}var A=R("values"),E=R("visible");if(A&&A.length||(E=y.visible=!1),E){R("label"),R("tickvals"),R("ticktext"),R("tickformat");var k=R("range");y._ax={_id:"y",type:"linear",showexponent:"all",exponentformat:"B",range:k},p.setConvert(y._ax,w.layout),R("multiselect");var L=R("constraintrange");L&&(y.constraintrange=c.cleanRanges(L,y))}}u.exports=function(y,C,w,R){function A(P,M){return l.coerce(y,C,_,P,M)}var E=y.dimensions;Array.isArray(E)&&E.length>s&&(l.log("parcoords traces support up to "+s+" dimensions at the moment"),E.splice(s));var k=g(y,C,{name:"dimensions",layout:R,handleItemDefaults:b}),L=f(y,C,w,R,A);S(C,R,A),(!Array.isArray(k)||!k.length)&&(C.visible=!1),d(C,k,"values",L);var I={family:R.font.family,size:Math.round(R.font.size/1.2),color:R.font.color};l.coerceFont(A,"labelfont",I),l.coerceFont(A,"tickfont",I),l.coerceFont(A,"rangefont",I),A("labelangle"),A("labelside"),A("unselected.line.color"),A("unselected.line.opacity")}},95724:function(u,h,a){var l=a(3400).isTypedArray;h.convertTypedArray=function(v){return l(v)?Array.prototype.slice.call(v):v},h.isOrdinal=function(v){return!!v.tickvals},h.isVisible=function(v){return v.visible||!("visible"in v)}},29928:function(u,h,a){var l=a(61664);l.plot=a(24196),u.exports=l},51352:function(u,h,a){var l=["precision highp float;","","varying vec4 fragColor;","","attribute vec4 p01_04, p05_08, p09_12, p13_16,"," p17_20, p21_24, p25_28, p29_32,"," p33_36, p37_40, p41_44, p45_48,"," p49_52, p53_56, p57_60, colors;","","uniform mat4 dim0A, dim1A, dim0B, dim1B, dim0C, dim1C, dim0D, dim1D,"," loA, hiA, loB, hiB, loC, hiC, loD, hiD;","","uniform vec2 resolution, viewBoxPos, viewBoxSize;","uniform float maskHeight;","uniform float drwLayer; // 0: context, 1: focus, 2: pick","uniform vec4 contextColor;","uniform sampler2D maskTexture, palette;","","bool isPick = (drwLayer > 1.5);","bool isContext = (drwLayer < 0.5);","","const vec4 ZEROS = vec4(0.0, 0.0, 0.0, 0.0);","const vec4 UNITS = vec4(1.0, 1.0, 1.0, 1.0);","","float val(mat4 p, mat4 v) {"," return dot(matrixCompMult(p, v) * UNITS, UNITS);","}","","float axisY(float ratio, mat4 A, mat4 B, mat4 C, mat4 D) {"," float y1 = val(A, dim0A) + val(B, dim0B) + val(C, dim0C) + val(D, dim0D);"," float y2 = val(A, dim1A) + val(B, dim1B) + val(C, dim1C) + val(D, dim1D);"," return y1 * (1.0 - ratio) + y2 * ratio;","}","","int iMod(int a, int b) {"," return a - b * (a / b);","}","","bool fOutside(float p, float lo, float hi) {"," return (lo < hi) && (lo > p || p > hi);","}","","bool vOutside(vec4 p, vec4 lo, vec4 hi) {"," return ("," fOutside(p[0], lo[0], hi[0]) ||"," fOutside(p[1], lo[1], hi[1]) ||"," fOutside(p[2], lo[2], hi[2]) ||"," fOutside(p[3], lo[3], hi[3])"," );","}","","bool mOutside(mat4 p, mat4 lo, mat4 hi) {"," return ("," vOutside(p[0], lo[0], hi[0]) ||"," vOutside(p[1], lo[1], hi[1]) ||"," vOutside(p[2], lo[2], hi[2]) ||"," vOutside(p[3], lo[3], hi[3])"," );","}","","bool outsideBoundingBox(mat4 A, mat4 B, mat4 C, mat4 D) {"," return mOutside(A, loA, hiA) ||"," mOutside(B, loB, hiB) ||"," mOutside(C, loC, hiC) ||"," mOutside(D, loD, hiD);","}","","bool outsideRasterMask(mat4 A, mat4 B, mat4 C, mat4 D) {"," mat4 pnts[4];"," pnts[0] = A;"," pnts[1] = B;"," pnts[2] = C;"," pnts[3] = D;",""," for(int i = 0; i < 4; ++i) {"," for(int j = 0; j < 4; ++j) {"," for(int k = 0; k < 4; ++k) {"," if(0 == iMod("," int(255.0 * texture2D(maskTexture,"," vec2("," (float(i * 2 + j / 2) + 0.5) / 8.0,"," (pnts[i][j][k] * (maskHeight - 1.0) + 1.0) / maskHeight"," ))[3]"," ) / int(pow(2.0, float(iMod(j * 4 + k, 8)))),"," 2"," )) return true;"," }"," }"," }"," return false;","}","","vec4 position(bool isContext, float v, mat4 A, mat4 B, mat4 C, mat4 D) {"," float x = 0.5 * sign(v) + 0.5;"," float y = axisY(x, A, B, C, D);"," float z = 1.0 - abs(v);",""," z += isContext ? 0.0 : 2.0 * float("," outsideBoundingBox(A, B, C, D) ||"," outsideRasterMask(A, B, C, D)"," );",""," return vec4("," 2.0 * (vec2(x, y) * viewBoxSize + viewBoxPos) / resolution - 1.0,"," z,"," 1.0"," );","}","","void main() {"," mat4 A = mat4(p01_04, p05_08, p09_12, p13_16);"," mat4 B = mat4(p17_20, p21_24, p25_28, p29_32);"," mat4 C = mat4(p33_36, p37_40, p41_44, p45_48);"," mat4 D = mat4(p49_52, p53_56, p57_60, ZEROS);",""," float v = colors[3];",""," gl_Position = position(isContext, v, A, B, C, D);",""," fragColor ="," isContext ? vec4(contextColor) :"," isPick ? vec4(colors.rgb, 1.0) : texture2D(palette, vec2(abs(v), 0.5));","}"].join(`
`),v=["precision highp float;","","varying vec4 fragColor;","","void main() {"," gl_FragColor = fragColor;","}"].join(`
`),i=a(30140).maxDimensionCount,S=a(3400),g=1e-6,p=2048,_=new Uint8Array(4),c=new Uint8Array(4),s={shape:[256,1],format:"rgba",type:"uint8",mag:"nearest",min:"nearest"};function d(M){M.read({x:0,y:0,width:1,height:1,data:_})}function f(M,F,N,T,D){var O=M._gl;O.enable(O.SCISSOR_TEST),O.scissor(F,N,T,D),M.clear({color:[0,0,0,0],depth:1})}function b(M,F,N,T,D,O){var U=O.key;function B(Y){var z=Math.min(T,D-Y*T);Y===0&&(window.cancelAnimationFrame(N.currentRafs[U]),delete N.currentRafs[U],f(M,O.scissorX,O.scissorY,O.scissorWidth,O.viewBoxSize[1])),!N.clearOnly&&(O.count=2*z,O.offset=2*Y*T,F(O),Y*T+z<D&&(N.currentRafs[U]=window.requestAnimationFrame(function(){B(Y+1)})),N.drawCompleted=!1)}N.drawCompleted||(d(M),N.drawCompleted=!0),B(0)}function x(M){return Math.max(g,Math.min(1-g,M))}function y(M,F){for(var N=new Array(256),T=0;T<256;T++)N[T]=M(T/255).concat(F);return N}function C(M,F){return(M>>>8*F)%256/255}function w(M,F,N){for(var T=new Array(M*(i+4)),D=0,O=0;O<M;O++){for(var U=0;U<i;U++)T[D++]=U<F.length?F[U].paddedUnitValues[O]:.5;T[D++]=C(O,2),T[D++]=C(O,1),T[D++]=C(O,0),T[D++]=x(N[O])}return T}function R(M,F,N){for(var T=new Array(F*8),D=0,O=0;O<F;O++)for(var U=0;U<2;U++)for(var B=0;B<4;B++){var Y=M*4+B,z=N[O*64+Y];Y===63&&U===0&&(z*=-1),T[D++]=z}return T}function A(M){var F="0"+M;return F.substr(F.length-2)}function E(M){return M<i?"p"+A(M+1)+"_"+A(M+4):"colors"}function k(M,F,N){for(var T=0;T<=i;T+=4)M[E(T)](R(T/4,F,N))}function L(M){for(var F={},N=0;N<=i;N+=4)F[E(N)]=M.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)});return F}function I(M,F,N,T,D,O,U,B,Y,z,V,j,G,W){for(var X=[[],[]],Q=0;Q<64;Q++)X[0][Q]=Q===D?1:0,X[1][Q]=Q===O?1:0;U*=W,B*=W,Y*=W,z*=W;var ae=M.lines.canvasOverdrag*W,ie=M.domain,he=M.canvasWidth*W,J=M.canvasHeight*W,Z=M.pad.l*W,le=M.pad.b*W,K=M.layoutHeight*W,te=M.layoutWidth*W,ce=M.deselectedLines.color,re=M.deselectedLines.opacity,ee=S.extendFlat({key:V,resolution:[he,J],viewBoxPos:[U+ae,B],viewBoxSize:[Y,z],i0:D,i1:O,dim0A:X[0].slice(0,16),dim0B:X[0].slice(16,32),dim0C:X[0].slice(32,48),dim0D:X[0].slice(48,64),dim1A:X[1].slice(0,16),dim1B:X[1].slice(16,32),dim1C:X[1].slice(32,48),dim1D:X[1].slice(48,64),drwLayer:j,contextColor:[ce[0]/255,ce[1]/255,ce[2]/255,re!=="auto"?ce[3]*re:Math.max(1/255,Math.pow(1/M.lines.color.length,1/3))],scissorX:(T===F?0:U+ae)+(Z-ae)+te*ie.x[0],scissorWidth:(T===N?he-U+ae:Y+.5)+(T===F?U+ae:0),scissorY:B+le+K*ie.y[0],scissorHeight:z,viewportX:Z-ae+te*ie.x[0],viewportY:le+K*ie.y[0],viewportWidth:he,viewportHeight:J},G);return ee}function P(M){var F=p-1,N=Math.max(0,Math.floor(M[0]*F),0),T=Math.min(F,Math.ceil(M[1]*F),F);return[Math.min(N,T),Math.max(N,T)]}u.exports=function(M,F){var N=F.context,T=F.pick,D=F.regl,O=D._gl,U=O.getParameter(O.ALIASED_LINE_WIDTH_RANGE),B=Math.max(U[0],Math.min(U[1],F.viewModel.plotGlPixelRatio)),Y={currentRafs:{},drawCompleted:!0,clearOnly:!1},z,V,j,G,W=L(D),X,Q=D.texture(s),ae=[];he(F);var ie=D({profile:!1,blend:{enable:N,func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:1,dstAlpha:1},equation:{rgb:"add",alpha:"add"},color:[0,0,0,0]},depth:{enable:!N,mask:!0,func:"less",range:[0,1]},cull:{enable:!0,face:"back"},scissor:{enable:!0,box:{x:D.prop("scissorX"),y:D.prop("scissorY"),width:D.prop("scissorWidth"),height:D.prop("scissorHeight")}},viewport:{x:D.prop("viewportX"),y:D.prop("viewportY"),width:D.prop("viewportWidth"),height:D.prop("viewportHeight")},dither:!1,vert:l,frag:v,primitive:"lines",lineWidth:B,attributes:W,uniforms:{resolution:D.prop("resolution"),viewBoxPos:D.prop("viewBoxPos"),viewBoxSize:D.prop("viewBoxSize"),dim0A:D.prop("dim0A"),dim1A:D.prop("dim1A"),dim0B:D.prop("dim0B"),dim1B:D.prop("dim1B"),dim0C:D.prop("dim0C"),dim1C:D.prop("dim1C"),dim0D:D.prop("dim0D"),dim1D:D.prop("dim1D"),loA:D.prop("loA"),hiA:D.prop("hiA"),loB:D.prop("loB"),hiB:D.prop("hiB"),loC:D.prop("loC"),hiC:D.prop("hiC"),loD:D.prop("loD"),hiD:D.prop("hiD"),palette:Q,contextColor:D.prop("contextColor"),maskTexture:D.prop("maskTexture"),drwLayer:D.prop("drwLayer"),maskHeight:D.prop("maskHeight")},offset:D.prop("offset"),count:D.prop("count")});function he(ce){z=ce.model,V=ce.viewModel,j=V.dimensions.slice(),G=j[0]?j[0].values.length:0;var re=z.lines,ee=T?re.color.map(function(oe,fe){return fe/re.color.length}):re.color,de=w(G,j,ee);k(W,G,de),!N&&!T&&(Q=D.texture(S.extendFlat({data:y(z.unitToColor,255)},s)))}function J(ce){var re,ee,de,oe=[[],[]];for(de=0;de<64;de++){var fe=!ce&&de<j.length?j[de].brush.filter.getBounds():[-1/0,1/0];oe[0][de]=fe[0],oe[1][de]=fe[1]}var me=p*8,Te=new Array(me);for(re=0;re<me;re++)Te[re]=255;if(!ce)for(re=0;re<j.length;re++){var we=re%8,Be=(re-we)/8,Ae=Math.pow(2,we),Re=j[re],be=Re.brush.filter.get();if(!(be.length<2)){var Pe=P(be[0])[1];for(ee=1;ee<be.length;ee++){var Ke=P(be[ee]);for(de=Pe+1;de<Ke[0];de++)Te[de*8+Be]&=~Ae;Pe=Math.max(Pe,Ke[1])}}}var ze={shape:[8,p],format:"alpha",type:"uint8",mag:"nearest",min:"nearest",data:Te};return X?X(ze):X=D.texture(ze),{maskTexture:X,maskHeight:p,loA:oe[0].slice(0,16),loB:oe[0].slice(16,32),loC:oe[0].slice(32,48),loD:oe[0].slice(48,64),hiA:oe[1].slice(0,16),hiB:oe[1].slice(16,32),hiC:oe[1].slice(32,48),hiD:oe[1].slice(48,64)}}function Z(ce,re,ee){var de=ce.length,oe,fe,me,Te=1/0,we=-1/0;for(oe=0;oe<de;oe++)ce[oe].dim0.canvasX<Te&&(Te=ce[oe].dim0.canvasX,fe=oe),ce[oe].dim1.canvasX>we&&(we=ce[oe].dim1.canvasX,me=oe);de===0&&f(D,0,0,z.canvasWidth,z.canvasHeight);var Be=J(N);for(oe=0;oe<de;oe++){var Ae=ce[oe],Re=Ae.dim0.crossfilterDimensionIndex,be=Ae.dim1.crossfilterDimensionIndex,Pe=Ae.canvasX,Ke=Ae.canvasY,ze=Pe+Ae.panelSizeX,Fe=Ae.plotGlPixelRatio;if(re||!ae[Re]||ae[Re][0]!==Pe||ae[Re][1]!==ze){ae[Re]=[Pe,ze];var We=I(z,fe,me,oe,Re,be,Pe,Ke,Ae.panelSizeX,Ae.panelSizeY,Ae.dim0.crossfilterDimensionIndex,N?0:T?2:1,Be,Fe);Y.clearOnly=ee;var lt=re?z.lines.blockLineCount:G;b(D,ie,Y,lt,G,We)}}}function le(ce,re){return D.read({x:ce,y:re,width:1,height:1,data:c}),c}function K(ce,re,ee,de){var oe=new Uint8Array(4*ee*de);return D.read({x:ce,y:re,width:ee,height:de,data:oe}),oe}function te(){M.style["pointer-events"]="none",Q.destroy(),X&&X.destroy();for(var ce in W)W[ce].destroy()}return{render:Z,readPixel:le,readPixels:K,destroy:te,update:he}}},26284:function(u){u.exports=function(h,a,l,v){v||(v=1/0);var i,S;for(i=0;i<a.length;i++)S=a[i],S.visible&&(v=Math.min(v,S[l].length));for(v===1/0&&(v=0),h._length=v,i=0;i<a.length;i++)S=a[i],S.visible&&(S._length=v);return v}},36336:function(u,h,a){var l=a(33428),v=a(3400),i=v.isArrayOrTypedArray,S=v.numberFormat,g=a(96824),p=a(54460),_=v.strRotate,c=v.strTranslate,s=a(72736),d=a(43616),f=a(8932),b=a(71688),x=b.keyFun,y=b.repeat,C=b.unwrap,w=a(95724),R=a(30140),A=a(71864),E=a(51352);function k(ae,ie,he){return v.aggNums(ae,null,ie,he)}function L(ae,ie){return P(k(Math.min,ae,ie),k(Math.max,ae,ie))}function I(ae){var ie=ae.range;return ie?P(ie[0],ie[1]):L(ae.values,ae._length)}function P(ae,ie){return(isNaN(ae)||!isFinite(ae))&&(ae=0),(isNaN(ie)||!isFinite(ie))&&(ie=0),ae===ie&&(ae===0?(ae-=1,ie+=1):(ae*=.9,ie*=1.1)),[ae,ie]}function M(ae,ie){return ie?function(he,J){var Z=ie[J];return Z??ae(he)}:ae}function F(ae,ie,he,J,Z){var le=I(he);return J?l.scale.ordinal().domain(J.map(M(S(he.tickformat),Z))).range(J.map(function(K){var te=(K-le[0])/(le[1]-le[0]);return ae-ie+te*(2*ie-ae)})):l.scale.linear().domain(le).range([ae-ie,ie])}function N(ae,ie){return l.scale.linear().range([ie,ae-ie])}function T(ae,ie){return l.scale.linear().domain(I(ae)).range([ie,1-ie])}function D(ae){if(ae.tickvals){var ie=I(ae);return l.scale.ordinal().domain(ae.tickvals).range(ae.tickvals.map(function(he){return(he-ie[0])/(ie[1]-ie[0])}))}}function O(ae){var ie=ae.map(function(le){return le[0]}),he=ae.map(function(le){var K=g(le[1]);return l.rgb("rgb("+K[0]+","+K[1]+","+K[2]+")")}),J=function(le){return function(K){return K[le]}},Z="rgb".split("").map(function(le){return l.scale.linear().clamp(!0).domain(ie).range(he.map(J(le)))});return function(le){return Z.map(function(K){return K(le)})}}function U(ae){return ae.dimensions.some(function(ie){return ie.brush.filterSpecified})}function B(ae,ie,he){var J=C(ie),Z=J.trace,le=w.convertTypedArray(J.lineColor),K=Z.line,te={color:g(Z.unselected.line.color),opacity:Z.unselected.line.opacity},ce=f.extractOpts(K),re=ce.reversescale?f.flipScale(J.cscale):J.cscale,ee=Z.domain,de=Z.dimensions,oe=ae.width,fe=Z.labelangle,me=Z.labelside,Te=Z.labelfont,we=Z.tickfont,Be=Z.rangefont,Ae=v.extendDeepNoArrays({},K,{color:le.map(l.scale.linear().domain(I({values:le,range:[ce.min,ce.max],_length:Z._length}))),blockLineCount:R.blockLineCount,canvasOverdrag:R.overdrag*R.canvasPixelRatio}),Re=Math.floor(oe*(ee.x[1]-ee.x[0])),be=Math.floor(ae.height*(ee.y[1]-ee.y[0])),Pe=ae.margin||{l:80,r:80,t:100,b:80},Ke=Re,ze=be;return{key:he,colCount:de.filter(w.isVisible).length,dimensions:de,tickDistance:R.tickDistance,unitToColor:O(re),lines:Ae,deselectedLines:te,labelAngle:fe,labelSide:me,labelFont:Te,tickFont:we,rangeFont:Be,layoutWidth:oe,layoutHeight:ae.height,domain:ee,translateX:ee.x[0]*oe,translateY:ae.height-ee.y[1]*ae.height,pad:Pe,canvasWidth:Ke*R.canvasPixelRatio+2*Ae.canvasOverdrag,canvasHeight:ze*R.canvasPixelRatio,width:Ke,height:ze,canvasPixelRatio:R.canvasPixelRatio}}function Y(ae,ie,he){var J=he.width,Z=he.height,le=he.dimensions,K=he.canvasPixelRatio,te=function(oe){return J*oe/Math.max(1,he.colCount-1)},ce=R.verticalPadding/Z,re=N(Z,R.verticalPadding),ee={key:he.key,xScale:te,model:he,inBrushDrag:!1},de={};return ee.dimensions=le.filter(w.isVisible).map(function(oe,fe){var me=T(oe,ce),Te=de[oe.label];de[oe.label]=(Te||0)+1;var we=oe.label+(Te?"__"+Te:""),Be=oe.constraintrange,Ae=Be&&Be.length;Ae&&!i(Be[0])&&(Be=[Be]);var Re=Ae?Be.map(function(et){return et.map(me)}):[[-1/0,1/0]],be=function(){var et=ee;et.focusLayer&&et.focusLayer.render(et.panels,!0);var pt=U(et);!ae.contextShown()&&pt?(et.contextLayer&&et.contextLayer.render(et.panels,!0),ae.contextShown(!0)):ae.contextShown()&&!pt&&(et.contextLayer&&et.contextLayer.render(et.panels,!0,!0),ae.contextShown(!1))},Pe=oe.values;Pe.length>oe._length&&(Pe=Pe.slice(0,oe._length));var Ke=oe.tickvals,ze;function Fe(et,pt){return{val:et,text:ze[pt]}}function We(et,pt){return et.val-pt.val}if(i(Ke)&&Ke.length){v.isTypedArray(Ke)&&(Ke=Array.from(Ke)),ze=oe.ticktext,!i(ze)||!ze.length?ze=Ke.map(S(oe.tickformat)):ze.length>Ke.length?ze=ze.slice(0,Ke.length):Ke.length>ze.length&&(Ke=Ke.slice(0,ze.length));for(var lt=1;lt<Ke.length;lt++)if(Ke[lt]<Ke[lt-1]){for(var ht=Ke.map(Fe).sort(We),tt=0;tt<Ke.length;tt++)Ke[tt]=ht[tt].val,ze[tt]=ht[tt].text;break}}else Ke=void 0;return Pe=w.convertTypedArray(Pe),{key:we,label:oe.label,tickFormat:oe.tickformat,tickvals:Ke,ticktext:ze,ordinal:w.isOrdinal(oe),multiselect:oe.multiselect,xIndex:fe,crossfilterDimensionIndex:fe,visibleIndex:oe._index,height:Z,values:Pe,paddedUnitValues:Pe.map(me),unitTickvals:Ke&&Ke.map(me),xScale:te,x:te(fe),canvasX:te(fe)*K,unitToPaddedPx:re,domainScale:F(Z,R.verticalPadding,oe,Ke,ze),ordinalScale:D(oe),parent:ee,model:he,brush:A.makeBrush(ae,Ae,Re,function(){ae.linePickActive(!1)},be,function(et){if(ee.focusLayer.render(ee.panels,!0),ee.pickLayer&&ee.pickLayer.render(ee.panels,!0),ae.linePickActive(!0),ie&&ie.filterChanged){var pt=me.invert,vt=et.map(function(_t){return _t.map(pt).sort(v.sorterAsc)}).sort(function(_t,bt){return _t[0]-bt[0]});ie.filterChanged(ee.key,oe._index,vt)}})}}),ee}function z(ae){ae.classed(R.cn.axisExtentText,!0).attr("text-anchor","middle").style("cursor","default")}function V(){var ae=!0,ie=!1;return{linePickActive:function(he){return arguments.length?ae=!!he:ae},contextShown:function(he){return arguments.length?ie=!!he:ie}}}function j(ae,ie){var he=ie==="top"?1:-1,J=ae*Math.PI/180,Z=Math.sin(J),le=Math.cos(J);return{dir:he,dx:Z,dy:le,degrees:ae}}function G(ae,ie,he){for(var J=ie.panels||(ie.panels=[]),Z=ae.data(),le=0;le<Z.length-1;le++){var K=J[le]||(J[le]={}),te=Z[le],ce=Z[le+1];K.dim0=te,K.dim1=ce,K.canvasX=te.canvasX,K.panelSizeX=ce.canvasX-te.canvasX,K.panelSizeY=ie.model.canvasHeight,K.y=0,K.canvasY=0,K.plotGlPixelRatio=he}}function W(ae){for(var ie=0;ie<ae.length;ie++)for(var he=0;he<ae[ie].length;he++)for(var J=ae[ie][he].trace,Z=J.dimensions,le=0;le<Z.length;le++){var K=Z[le].values,te=Z[le]._ax;te&&(te.range?te.range=P(te.range[0],te.range[1]):te.range=L(K,J._length),te.dtick||(te.dtick=.01*(Math.abs(te.range[1]-te.range[0])||1)),te.tickformat=Z[le].tickformat,p.calcTicks(te),te.cleanRange())}}function X(ae,ie){return p.tickText(ae._ax,ie,!1).text}function Q(ae,ie){if(ae.ordinal)return"";var he=ae.domainScale.domain(),J=he[ie?he.length-1:0];return X(ae.model.dimensions[ae.visibleIndex],J)}u.exports=function(ie,he,J,Z){var le=ie._context.staticPlot,K=ie._fullLayout,te=K._toppaper,ce=K._glcontainer,re=ie._context.plotGlPixelRatio,ee=ie._fullLayout.paper_bgcolor;W(he);var de=V(),oe=he.filter(function(tt){return C(tt).trace.visible}).map(B.bind(0,J)).map(Y.bind(0,de,Z));ce.each(function(tt,et){return v.extendFlat(tt,oe[et])});var fe=ce.selectAll(".gl-canvas").each(function(tt){tt.viewModel=oe[0],tt.viewModel.plotGlPixelRatio=re,tt.viewModel.paperColor=ee,tt.model=tt.viewModel?tt.viewModel.model:null}),me=null,Te=fe.filter(function(tt){return tt.pick});Te.style("pointer-events",le?"none":"auto").on("mousemove",function(tt){if(de.linePickActive()&&tt.lineLayer&&Z&&Z.hover){var et=l.event,pt=this.width,vt=this.height,_t=l.mouse(this),bt=_t[0],Rt=_t[1];if(bt<0||Rt<0||bt>=pt||Rt>=vt)return;var ct=tt.lineLayer.readPixel(bt,vt-1-Rt),Ve=ct[3]!==0,Qe=Ve?ct[2]+256*(ct[1]+256*ct[0]):null,rt={x:bt,y:Rt,clientX:et.clientX,clientY:et.clientY,dataIndex:tt.model.key,curveNumber:Qe};Qe!==me&&(Ve?Z.hover(rt):Z.unhover&&Z.unhover(rt),me=Qe)}}),fe.style("opacity",function(tt){return tt.pick?0:1}),te.style("background","rgba(255, 255, 255, 0)");var we=te.selectAll("."+R.cn.parcoords).data(oe,x);we.exit().remove(),we.enter().append("g").classed(R.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),we.attr("transform",function(tt){return c(tt.model.translateX,tt.model.translateY)});var Be=we.selectAll("."+R.cn.parcoordsControlView).data(y,x);Be.enter().append("g").classed(R.cn.parcoordsControlView,!0),Be.attr("transform",function(tt){return c(tt.model.pad.l,tt.model.pad.t)});var Ae=Be.selectAll("."+R.cn.yAxis).data(function(tt){return tt.dimensions},x);Ae.enter().append("g").classed(R.cn.yAxis,!0),Be.each(function(tt){G(Ae,tt,re)}),fe.each(function(tt){if(tt.viewModel){!tt.lineLayer||Z?tt.lineLayer=E(this,tt):tt.lineLayer.update(tt),(tt.key||tt.key===0)&&(tt.viewModel[tt.key]=tt.lineLayer);var et=!tt.context||Z;tt.lineLayer.render(tt.viewModel.panels,et)}}),Ae.attr("transform",function(tt){return c(tt.xScale(tt.xIndex),0)}),Ae.call(l.behavior.drag().origin(function(tt){return tt}).on("drag",function(tt){var et=tt.parent;de.linePickActive(!1),tt.x=Math.max(-R.overdrag,Math.min(tt.model.width+R.overdrag,l.event.x)),tt.canvasX=tt.x*tt.model.canvasPixelRatio,Ae.sort(function(pt,vt){return pt.x-vt.x}).each(function(pt,vt){pt.xIndex=vt,pt.x=tt===pt?pt.x:pt.xScale(pt.xIndex),pt.canvasX=pt.x*pt.model.canvasPixelRatio}),G(Ae,et,re),Ae.filter(function(pt){return Math.abs(tt.xIndex-pt.xIndex)!==0}).attr("transform",function(pt){return c(pt.xScale(pt.xIndex),0)}),l.select(this).attr("transform",c(tt.x,0)),Ae.each(function(pt,vt,_t){_t===tt.parent.key&&(et.dimensions[vt]=pt)}),et.contextLayer&&et.contextLayer.render(et.panels,!1,!U(et)),et.focusLayer.render&&et.focusLayer.render(et.panels)}).on("dragend",function(tt){var et=tt.parent;tt.x=tt.xScale(tt.xIndex),tt.canvasX=tt.x*tt.model.canvasPixelRatio,G(Ae,et,re),l.select(this).attr("transform",function(pt){return c(pt.x,0)}),et.contextLayer&&et.contextLayer.render(et.panels,!1,!U(et)),et.focusLayer&&et.focusLayer.render(et.panels),et.pickLayer&&et.pickLayer.render(et.panels,!0),de.linePickActive(!0),Z&&Z.axesMoved&&Z.axesMoved(et.key,et.dimensions.map(function(pt){return pt.crossfilterDimensionIndex}))})),Ae.exit().remove();var Re=Ae.selectAll("."+R.cn.axisOverlays).data(y,x);Re.enter().append("g").classed(R.cn.axisOverlays,!0),Re.selectAll("."+R.cn.axis).remove();var be=Re.selectAll("."+R.cn.axis).data(y,x);be.enter().append("g").classed(R.cn.axis,!0),be.each(function(tt){var et=tt.model.height/tt.model.tickDistance,pt=tt.domainScale,vt=pt.domain();l.select(this).call(l.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(et,tt.tickFormat).tickValues(tt.ordinal?vt:null).tickFormat(function(_t){return w.isOrdinal(tt)?_t:X(tt.model.dimensions[tt.visibleIndex],_t)}).scale(pt)),d.font(be.selectAll("text"),tt.model.tickFont)}),be.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),be.selectAll("text").style("text-shadow",s.makeTextShadow(ee)).style("cursor","default");var Pe=Re.selectAll("."+R.cn.axisHeading).data(y,x);Pe.enter().append("g").classed(R.cn.axisHeading,!0);var Ke=Pe.selectAll("."+R.cn.axisTitle).data(y,x);Ke.enter().append("text").classed(R.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",le?"none":"auto"),Ke.text(function(tt){return tt.label}).each(function(tt){var et=l.select(this);d.font(et,tt.model.labelFont),s.convertToTspans(et,ie)}).attr("transform",function(tt){var et=j(tt.model.labelAngle,tt.model.labelSide),pt=R.axisTitleOffset;return(et.dir>0?"":c(0,2*pt+tt.model.height))+_(et.degrees)+c(-pt*et.dx,-pt*et.dy)}).attr("text-anchor",function(tt){var et=j(tt.model.labelAngle,tt.model.labelSide),pt=Math.abs(et.dx),vt=Math.abs(et.dy);return 2*pt>vt?et.dir*et.dx<0?"start":"end":"middle"});var ze=Re.selectAll("."+R.cn.axisExtent).data(y,x);ze.enter().append("g").classed(R.cn.axisExtent,!0);var Fe=ze.selectAll("."+R.cn.axisExtentTop).data(y,x);Fe.enter().append("g").classed(R.cn.axisExtentTop,!0),Fe.attr("transform",c(0,-R.axisExtentOffset));var We=Fe.selectAll("."+R.cn.axisExtentTopText).data(y,x);We.enter().append("text").classed(R.cn.axisExtentTopText,!0).call(z),We.text(function(tt){return Q(tt,!0)}).each(function(tt){d.font(l.select(this),tt.model.rangeFont)});var lt=ze.selectAll("."+R.cn.axisExtentBottom).data(y,x);lt.enter().append("g").classed(R.cn.axisExtentBottom,!0),lt.attr("transform",function(tt){return c(0,tt.model.height+R.axisExtentOffset)});var ht=lt.selectAll("."+R.cn.axisExtentBottomText).data(y,x);ht.enter().append("text").classed(R.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(z),ht.text(function(tt){return Q(tt,!1)}).each(function(tt){d.font(l.select(this),tt.model.rangeFont)}),A.ensureAxisBrush(Re,ee,ie)}},24196:function(u,h,a){var l=a(36336),v=a(5048),i=a(95724).isVisible,S={};function g(c,s,d){var f=s.indexOf(d),b=c.indexOf(f);return b===-1&&(b+=s.length),b}function p(c,s){return function(f,b){return g(c,s,f)-g(c,s,b)}}var _=u.exports=function(s,d){var f=s._fullLayout,b=v(s,[],S);if(b){var x={},y={},C={},w={},R=f._size;d.forEach(function(I,P){var M=I[0].trace;C[P]=M.index;var F=w[P]=M._fullInput.index;x[P]=s.data[F].dimensions,y[P]=s.data[F].dimensions.slice()});var A=function(I,P,M){var F=y[I][P],N=M.map(function(Y){return Y.slice()}),T="dimensions["+P+"].constraintrange",D=f._tracePreGUI[s._fullData[C[I]]._fullInput.uid];if(D[T]===void 0){var O=F.constraintrange;D[T]=O||null}var U=s._fullData[C[I]].dimensions[P];N.length?(N.length===1&&(N=N[0]),F.constraintrange=N,U.constraintrange=N.slice(),N=[N]):(delete F.constraintrange,delete U.constraintrange,N=null);var B={};B[T]=N,s.emit("plotly_restyle",[B,[w[I]]])},E=function(I){s.emit("plotly_hover",I)},k=function(I){s.emit("plotly_unhover",I)},L=function(I,P){var M=p(P,y[I].filter(i));x[I].sort(M),y[I].filter(function(F){return!i(F)}).sort(function(F){return y[I].indexOf(F)}).forEach(function(F){x[I].splice(x[I].indexOf(F),1),x[I].splice(y[I].indexOf(F),0,F)}),s.emit("plotly_restyle",[{dimensions:[x[I]]},[w[I]]])};l(s,d,{width:R.w,height:R.h,margin:{t:R.t,r:R.r,b:R.b,l:R.l}},{filterChanged:A,hover:E,unhover:k,axesMoved:L})}};_.reglPrecompiled=S},74996:function(u,h,a){var l=a(45464),v=a(86968).u,i=a(25376),S=a(22548),g=a(21776).Ks,p=a(21776).Gw,_=a(92880).extendFlat,c=a(98192).c,s=i({editType:"plot",arrayOk:!0,colorEditType:"plot"});u.exports={labels:{valType:"data_array",editType:"calc"},label0:{valType:"number",dflt:0,editType:"calc"},dlabel:{valType:"number",dflt:1,editType:"calc"},values:{valType:"data_array",editType:"calc"},marker:{colors:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:S.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},pattern:c,editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},scalegroup:{valType:"string",dflt:"",editType:"calc"},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc"},hoverinfo:_({},l.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:g({},{keys:["label","color","value","percent","text"]}),texttemplate:p({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:_({},s,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:_({},s,{}),outsidetextfont:_({},s,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:_({},s,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:v({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},sort:{valType:"boolean",dflt:!0,editType:"calc"},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",dflt:0,editType:"calc"},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc"},_deprecated:{title:{valType:"string",dflt:"",editType:"calc"},titlefont:_({},s,{}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc"}}}},80036:function(u,h,a){var l=a(7316);h.name="pie",h.plot=function(v,i,S,g){l.plotBasePlot(h.name,v,i,S,g)},h.clean=function(v,i,S,g){l.cleanBasePlot(h.name,v,i,S,g)}},45768:function(u,h,a){var l=a(38248),v=a(49760),i=a(76308),S={};function g(s,d){var f=[],b=s._fullLayout,x=b.hiddenlabels||[],y=d.labels,C=d.marker.colors||[],w=d.values,R=d._length,A=d._hasValues&&R,E,k;if(d.dlabel)for(y=new Array(R),E=0;E<R;E++)y[E]=String(d.label0+E*d.dlabel);var L={},I=p(b["_"+d.type+"colormap"]),P=0,M=!1;for(E=0;E<R;E++){var F,N,T;if(A){if(F=w[E],!l(F))continue;F=+F}else F=1;N=y[E],(N===void 0||N==="")&&(N=E),N=String(N);var D=L[N];D===void 0?(L[N]=f.length,T=x.indexOf(N)!==-1,T||(P+=F),f.push({v:F,label:N,color:I(C[E],N),i:E,pts:[E],hidden:T})):(M=!0,k=f[D],k.v+=F,k.pts.push(E),k.hidden||(P+=F),k.color===!1&&C[E]&&(k.color=I(C[E],N)))}f=f.filter(function(U){return U.v>=0});var O=d.type==="funnelarea"?M:d.sort;return O&&f.sort(function(U,B){return B.v-U.v}),f[0]&&(f[0].vTotal=P),f}function p(s){return function(f,b){return!f||(f=v(f),!f.isValid())?!1:(f=i.addOpacity(f,f.getAlpha()),s[b]||(s[b]=f),f)}}function _(s,d){var f=(d||{}).type;f||(f="pie");var b=s._fullLayout,x=s.calcdata,y=b[f+"colorway"],C=b["_"+f+"colormap"];b["extend"+f+"colors"]&&(y=c(y,S));for(var w=0,R=0;R<x.length;R++){var A=x[R],E=A[0].trace.type;if(E===f)for(var k=0;k<A.length;k++){var L=A[k];L.color===!1&&(C[L.label]?L.color=C[L.label]:(C[L.label]=L.color=y[w%y.length],w++))}}}function c(s,d){var f,b=JSON.stringify(s),x=d[b];if(!x){for(x=s.slice(),f=0;f<s.length;f++)x.push(v(s[f]).lighten(20).toHexString());for(f=0;f<s.length;f++)x.push(v(s[f]).darken(20).toHexString());d[b]=x}return x}u.exports={calc:g,crossTraceCalc:_,makePullColorFn:p,generateExtendedColors:c}},74174:function(u,h,a){var l=a(38248),v=a(3400),i=a(74996),S=a(86968).Q,g=a(31508).handleText,p=a(3400).coercePattern;function _(d,f){var b=v.isArrayOrTypedArray(d),x=v.isArrayOrTypedArray(f),y=Math.min(b?d.length:1/0,x?f.length:1/0);if(isFinite(y)||(y=0),y&&x){for(var C,w=0;w<y;w++){var R=f[w];if(l(R)&&R>0){C=!0;break}}C||(y=0)}return{hasLabels:b,hasValues:x,len:y}}function c(d,f,b,x,y){var C=x("marker.line.width");C&&x("marker.line.color",y?void 0:b.paper_bgcolor);var w=x("marker.colors");p(x,"marker.pattern",w),d.marker&&!f.marker.pattern.fgcolor&&(f.marker.pattern.fgcolor=d.marker.colors),f.marker.pattern.bgcolor||(f.marker.pattern.bgcolor=b.paper_bgcolor)}function s(d,f,b,x){function y(D,O){return v.coerce(d,f,i,D,O)}var C=y("labels"),w=y("values"),R=_(C,w),A=R.len;if(f._hasLabels=R.hasLabels,f._hasValues=R.hasValues,!f._hasLabels&&f._hasValues&&(y("label0"),y("dlabel")),!A){f.visible=!1;return}f._length=A,c(d,f,x,y,!0),y("scalegroup");var E=y("text"),k=y("texttemplate"),L;if(k||(L=y("textinfo",v.isArrayOrTypedArray(E)?"text+percent":"percent")),y("hovertext"),y("hovertemplate"),k||L&&L!=="none"){var I=y("textposition");g(d,f,x,y,I,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1});var P=Array.isArray(I)||I==="auto",M=P||I==="outside";M&&y("automargin"),(I==="inside"||I==="auto"||Array.isArray(I))&&y("insidetextorientation")}else L==="none"&&y("textposition","none");S(f,x,y);var F=y("hole"),N=y("title.text");if(N){var T=y("title.position",F?"middle center":"top center");!F&&T==="middle center"&&(f.title.position="top center"),v.coerceFont(y,"title.font",x.font)}y("sort"),y("direction"),y("rotation"),y("pull")}u.exports={handleLabelsAndValues:_,handleMarkerDefaults:c,supplyDefaults:s}},53644:function(u,h,a){var l=a(10624).appendArrayMultiPointValues;u.exports=function(i,S){var g={curveNumber:S.index,pointNumbers:i.pts,data:S._input,fullData:S,label:i.label,color:i.color,value:i.v,percent:i.percent,text:i.text,bbox:i.bbox,v:i.v};return i.pts.length===1&&(g.pointNumber=g.i=i.pts[0]),l(g,S,i.pts),S.type==="funnelarea"&&(delete g.v,delete g.i),g}},21552:function(u,h,a){var l=a(43616),v=a(76308);u.exports=function(S,g,p,_){var c=p.marker.pattern;c&&c.shape?l.pointStyle(S,p,_,g):v.fill(S,g.color)}},69656:function(u,h,a){var l=a(3400);function v(i){return i.indexOf("e")!==-1?i.replace(/[.]?0+e/,"e"):i.indexOf(".")!==-1?i.replace(/[.]?0+$/,""):i}h.formatPiePercent=function(S,g){var p=v((S*100).toPrecision(3));return l.numSeparate(p,g)+"%"},h.formatPieValue=function(S,g){var p=v(S.toPrecision(10));return l.numSeparate(p,g)},h.getFirstFilled=function(S,g){if(l.isArrayOrTypedArray(S))for(var p=0;p<g.length;p++){var _=S[g[p]];if(_||_===0||_==="")return _}},h.castOption=function(S,g){if(l.isArrayOrTypedArray(S))return h.getFirstFilled(S,g);if(S)return S},h.getRotationAngle=function(i){return(i==="auto"?0:i)*Math.PI/180}},75792:function(u,h,a){u.exports={attributes:a(74996),supplyDefaults:a(74174).supplyDefaults,supplyLayoutDefaults:a(90248),layoutAttributes:a(85204),calc:a(45768).calc,crossTraceCalc:a(45768).crossTraceCalc,plot:a(37820).plot,style:a(22152),styleOne:a(10528),moduleType:"trace",name:"pie",basePlotModule:a(80036),categories:["pie-like","pie","showLegend"],meta:{}}},85204:function(u){u.exports={hiddenlabels:{valType:"data_array",editType:"calc"},piecolorway:{valType:"colorlist",editType:"calc"},extendpiecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},90248:function(u,h,a){var l=a(3400),v=a(85204);u.exports=function(S,g){function p(_,c){return l.coerce(S,g,v,_,c)}p("hiddenlabels"),p("piecolorway",g.colorway),p("extendpiecolors")}},37820:function(u,h,a){var l=a(33428),v=a(7316),i=a(93024),S=a(76308),g=a(43616),p=a(3400),_=p.strScale,c=p.strTranslate,s=a(72736),d=a(82744),f=d.recordMinTextSize,b=d.clearMinTextSize,x=a(78048).TEXTPAD,y=a(69656),C=a(53644),w=a(3400).isValidTextValue;function R(Z,le){var K=Z._context.staticPlot,te=Z._fullLayout,ce=te._size;b("pie",te),I(le,Z),X(le,ce);var re=p.makeTraceGroups(te._pielayer,le,"trace").each(function(ee){var de=l.select(this),oe=ee[0],fe=oe.trace;ae(ee),de.attr("stroke-linejoin","round"),de.each(function(){var me=l.select(this).selectAll("g.slice").data(ee);me.enter().append("g").classed("slice",!0),me.exit().remove();var Te=[[[],[]],[[],[]]],we=!1;me.each(function(Fe,We){if(Fe.hidden){l.select(this).selectAll("path,g").remove();return}Fe.pointNumber=Fe.i,Fe.curveNumber=fe.index,Te[Fe.pxmid[1]<0?0:1][Fe.pxmid[0]<0?0:1].push(Fe);var lt=oe.cx,ht=oe.cy,tt=l.select(this),et=tt.selectAll("path.surface").data([Fe]);if(et.enter().append("path").classed("surface",!0).style({"pointer-events":K?"none":"all"}),tt.call(E,Z,ee),fe.pull){var pt=+y.castOption(fe.pull,Fe.pts)||0;pt>0&&(lt+=pt*Fe.pxmid[0],ht+=pt*Fe.pxmid[1])}Fe.cxFinal=lt,Fe.cyFinal=ht;function vt(rt,qe,He,Ce){var Se=Ce*(qe[0]-rt[0]),Le=Ce*(qe[1]-rt[1]);return"a"+Ce*oe.r+","+Ce*oe.r+" 0 "+Fe.largeArc+(He?" 1 ":" 0 ")+Se+","+Le}var _t=fe.hole;if(Fe.v===oe.vTotal){var bt="M"+(lt+Fe.px0[0])+","+(ht+Fe.px0[1])+vt(Fe.px0,Fe.pxmid,!0,1)+vt(Fe.pxmid,Fe.px0,!0,1)+"Z";_t?et.attr("d","M"+(lt+_t*Fe.px0[0])+","+(ht+_t*Fe.px0[1])+vt(Fe.px0,Fe.pxmid,!1,_t)+vt(Fe.pxmid,Fe.px0,!1,_t)+"Z"+bt):et.attr("d",bt)}else{var Rt=vt(Fe.px0,Fe.px1,!0,1);if(_t){var ct=1-_t;et.attr("d","M"+(lt+_t*Fe.px1[0])+","+(ht+_t*Fe.px1[1])+vt(Fe.px1,Fe.px0,!1,_t)+"l"+ct*Fe.px0[0]+","+ct*Fe.px0[1]+Rt+"Z")}else et.attr("d","M"+lt+","+ht+"l"+Fe.px0[0]+","+Fe.px0[1]+Rt+"Z")}he(Z,Fe,oe);var Ve=y.castOption(fe.textposition,Fe.pts),Qe=tt.selectAll("g.slicetext").data(Fe.text&&Ve!=="none"?[0]:[]);Qe.enter().append("g").classed("slicetext",!0),Qe.exit().remove(),Qe.each(function(){var rt=p.ensureSingle(l.select(this),"text","",function(Je){Je.attr("data-notex",1)}),qe=p.ensureUniformFontSize(Z,Ve==="outside"?k(fe,Fe,te.font):L(fe,Fe,te.font));rt.text(Fe.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(g.font,qe).call(s.convertToTspans,Z);var He=g.bBox(rt.node()),Ce;if(Ve==="outside")Ce=B(He,Fe);else if(Ce=P(He,Fe,oe),Ve==="auto"&&Ce.scale<1){var Se=p.ensureUniformFontSize(Z,fe.outsidetextfont);rt.call(g.font,Se),He=g.bBox(rt.node()),Ce=B(He,Fe)}var Le=Ce.textPosAngle,Ne=Le===void 0?Fe.pxmid:ie(oe.r,Le);if(Ce.targetX=lt+Ne[0]*Ce.rCenter+(Ce.x||0),Ce.targetY=ht+Ne[1]*Ce.rCenter+(Ce.y||0),J(Ce,He),Ce.outside){var je=Ce.targetY;Fe.yLabelMin=je-He.height/2,Fe.yLabelMid=je,Fe.yLabelMax=je+He.height/2,Fe.labelExtraX=0,Fe.labelExtraY=0,we=!0}Ce.fontSize=qe.size,f(fe.type,Ce,te),ee[We].transform=Ce,p.setTransormAndDisplay(rt,Ce)})});var Be=l.select(this).selectAll("g.titletext").data(fe.title.text?[0]:[]);if(Be.enter().append("g").classed("titletext",!0),Be.exit().remove(),Be.each(function(){var Fe=p.ensureSingle(l.select(this),"text","",function(ht){ht.attr("data-notex",1)}),We=fe.title.text;fe._meta&&(We=p.templateString(We,fe._meta)),Fe.text(We).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(g.font,fe.title.font).call(s.convertToTspans,Z);var lt;fe.title.position==="middle center"?lt=Y(oe):lt=z(oe,ce),Fe.attr("transform",c(lt.x,lt.y)+_(Math.min(1,lt.scale))+c(lt.tx,lt.ty))}),we&&W(Te,fe),A(me,fe),we&&fe.automargin){var Ae=g.bBox(de.node()),Re=fe.domain,be=ce.w*(Re.x[1]-Re.x[0]),Pe=ce.h*(Re.y[1]-Re.y[0]),Ke=(.5*be-oe.r)/ce.w,ze=(.5*Pe-oe.r)/ce.h;v.autoMargin(Z,"pie."+fe.uid+".automargin",{xl:Re.x[0]-Ke,xr:Re.x[1]+Ke,yb:Re.y[0]-ze,yt:Re.y[1]+ze,l:Math.max(oe.cx-oe.r-Ae.left,0),r:Math.max(Ae.right-(oe.cx+oe.r),0),b:Math.max(Ae.bottom-(oe.cy+oe.r),0),t:Math.max(oe.cy-oe.r-Ae.top,0),pad:5})}})});setTimeout(function(){re.selectAll("tspan").each(function(){var ee=l.select(this);ee.attr("dy")&&ee.attr("dy",ee.attr("dy"))})},0)}function A(Z,le){Z.each(function(K){var te=l.select(this);if(!K.labelExtraX&&!K.labelExtraY){te.select("path.textline").remove();return}var ce=te.select("g.slicetext text");K.transform.targetX+=K.labelExtraX,K.transform.targetY+=K.labelExtraY,p.setTransormAndDisplay(ce,K.transform);var re=K.cxFinal+K.pxmid[0],ee=K.cyFinal+K.pxmid[1],de="M"+re+","+ee,oe=(K.yLabelMax-K.yLabelMin)*(K.pxmid[0]<0?-1:1)/4;if(K.labelExtraX){var fe=K.labelExtraX*K.pxmid[1]/K.pxmid[0],me=K.yLabelMid+K.labelExtraY-(K.cyFinal+K.pxmid[1]);Math.abs(fe)>Math.abs(me)?de+="l"+me*K.pxmid[0]/K.pxmid[1]+","+me+"H"+(re+K.labelExtraX+oe):de+="l"+K.labelExtraX+","+fe+"v"+(me-fe)+"h"+oe}else de+="V"+(K.yLabelMid+K.labelExtraY)+"h"+oe;p.ensureSingle(te,"path","textline").call(S.stroke,le.outsidetextfont.color).attr({"stroke-width":Math.min(2,le.outsidetextfont.size/8),d:de,fill:"none"})})}function E(Z,le,K){var te=K[0],ce=te.cx,re=te.cy,ee=te.trace,de=ee.type==="funnelarea";"_hasHoverLabel"in ee||(ee._hasHoverLabel=!1),"_hasHoverEvent"in ee||(ee._hasHoverEvent=!1),Z.on("mouseover",function(oe){var fe=le._fullLayout,me=le._fullData[ee.index];if(!(le._dragging||fe.hovermode===!1)){var Te=me.hoverinfo;if(Array.isArray(Te)&&(Te=i.castHoverinfo({hoverinfo:[y.castOption(Te,oe.pts)],_module:ee._module},fe,0)),Te==="all"&&(Te="label+text+value+percent+name"),me.hovertemplate||Te!=="none"&&Te!=="skip"&&Te){var we=oe.rInscribed||0,Be=ce+oe.pxmid[0]*(1-we),Ae=re+oe.pxmid[1]*(1-we),Re=fe.separators,be=[];if(Te&&Te.indexOf("label")!==-1&&be.push(oe.label),oe.text=y.castOption(me.hovertext||me.text,oe.pts),Te&&Te.indexOf("text")!==-1){var Pe=oe.text;p.isValidTextValue(Pe)&&be.push(Pe)}oe.value=oe.v,oe.valueLabel=y.formatPieValue(oe.v,Re),Te&&Te.indexOf("value")!==-1&&be.push(oe.valueLabel),oe.percent=oe.v/te.vTotal,oe.percentLabel=y.formatPiePercent(oe.percent,Re),Te&&Te.indexOf("percent")!==-1&&be.push(oe.percentLabel);var Ke=me.hoverlabel,ze=Ke.font,Fe=[];i.loneHover({trace:ee,x0:Be-we*te.r,x1:Be+we*te.r,y:Ae,_x0:de?ce+oe.TL[0]:Be-we*te.r,_x1:de?ce+oe.TR[0]:Be+we*te.r,_y0:de?re+oe.TL[1]:Ae-we*te.r,_y1:de?re+oe.BL[1]:Ae+we*te.r,text:be.join("<br>"),name:me.hovertemplate||Te.indexOf("name")!==-1?me.name:void 0,idealAlign:oe.pxmid[0]<0?"left":"right",color:y.castOption(Ke.bgcolor,oe.pts)||oe.color,borderColor:y.castOption(Ke.bordercolor,oe.pts),fontFamily:y.castOption(ze.family,oe.pts),fontSize:y.castOption(ze.size,oe.pts),fontColor:y.castOption(ze.color,oe.pts),nameLength:y.castOption(Ke.namelength,oe.pts),textAlign:y.castOption(Ke.align,oe.pts),hovertemplate:y.castOption(me.hovertemplate,oe.pts),hovertemplateLabels:oe,eventData:[C(oe,me)]},{container:fe._hoverlayer.node(),outerContainer:fe._paper.node(),gd:le,inOut_bbox:Fe}),oe.bbox=Fe[0],ee._hasHoverLabel=!0}ee._hasHoverEvent=!0,le.emit("plotly_hover",{points:[C(oe,me)],event:l.event})}}),Z.on("mouseout",function(oe){var fe=le._fullLayout,me=le._fullData[ee.index],Te=l.select(this).datum();ee._hasHoverEvent&&(oe.originalEvent=l.event,le.emit("plotly_unhover",{points:[C(Te,me)],event:l.event}),ee._hasHoverEvent=!1),ee._hasHoverLabel&&(i.loneUnhover(fe._hoverlayer.node()),ee._hasHoverLabel=!1)}),Z.on("click",function(oe){var fe=le._fullLayout,me=le._fullData[ee.index];le._dragging||fe.hovermode===!1||(le._hoverdata=[C(oe,me)],i.click(le,l.event))})}function k(Z,le,K){var te=y.castOption(Z.outsidetextfont.color,le.pts)||y.castOption(Z.textfont.color,le.pts)||K.color,ce=y.castOption(Z.outsidetextfont.family,le.pts)||y.castOption(Z.textfont.family,le.pts)||K.family,re=y.castOption(Z.outsidetextfont.size,le.pts)||y.castOption(Z.textfont.size,le.pts)||K.size;return{color:te,family:ce,size:re}}function L(Z,le,K){var te=y.castOption(Z.insidetextfont.color,le.pts);!te&&Z._input.textfont&&(te=y.castOption(Z._input.textfont.color,le.pts));var ce=y.castOption(Z.insidetextfont.family,le.pts)||y.castOption(Z.textfont.family,le.pts)||K.family,re=y.castOption(Z.insidetextfont.size,le.pts)||y.castOption(Z.textfont.size,le.pts)||K.size;return{color:te||S.contrast(le.color),family:ce,size:re}}function I(Z,le){for(var K,te,ce=0;ce<Z.length;ce++)if(K=Z[ce][0],te=K.trace,te.title.text){var re=te.title.text;te._meta&&(re=p.templateString(re,te._meta));var ee=g.tester.append("text").attr("data-notex",1).text(re).call(g.font,te.title.font).call(s.convertToTspans,le),de=g.bBox(ee.node(),!0);K.titleBox={width:de.width,height:de.height},ee.remove()}}function P(Z,le,K){var te=K.r||le.rpx1,ce=le.rInscribed,re=le.startangle===le.stopangle;if(re)return{rCenter:1-ce,scale:0,rotate:0,textPosAngle:0};var ee=le.ring,de=ee===1&&Math.abs(le.startangle-le.stopangle)===Math.PI*2,oe=le.halfangle,fe=le.midangle,me=K.trace.insidetextorientation,Te=me==="horizontal",we=me==="tangential",Be=me==="radial",Ae=me==="auto",Re=[],be;if(!Ae){var Pe=function(tt,et){if(M(le,tt)){var pt=Math.abs(tt-le.startangle),vt=Math.abs(tt-le.stopangle),_t=pt<vt?pt:vt;et==="tan"?be=N(Z,te,ee,_t,0):be=F(Z,te,ee,_t,Math.PI/2),be.textPosAngle=tt,Re.push(be)}},Ke;if(Te||we){for(Ke=4;Ke>=-4;Ke-=2)Pe(Math.PI*Ke,"tan");for(Ke=4;Ke>=-4;Ke-=2)Pe(Math.PI*(Ke+1),"tan")}if(Te||Be){for(Ke=4;Ke>=-4;Ke-=2)Pe(Math.PI*(Ke+1.5),"rad");for(Ke=4;Ke>=-4;Ke-=2)Pe(Math.PI*(Ke+.5),"rad")}}if(de||Ae||Te){var ze=Math.sqrt(Z.width*Z.width+Z.height*Z.height);if(be={scale:ce*te*2/ze,rCenter:1-ce,rotate:0},be.textPosAngle=(le.startangle+le.stopangle)/2,be.scale>=1)return be;Re.push(be)}(Ae||Be)&&(be=F(Z,te,ee,oe,fe),be.textPosAngle=(le.startangle+le.stopangle)/2,Re.push(be)),(Ae||we)&&(be=N(Z,te,ee,oe,fe),be.textPosAngle=(le.startangle+le.stopangle)/2,Re.push(be));for(var Fe=0,We=0,lt=0;lt<Re.length;lt++){var ht=Re[lt].scale;if(We<ht&&(We=ht,Fe=lt),!Ae&&We>=1)break}return Re[Fe]}function M(Z,le){var K=Z.startangle,te=Z.stopangle;return K>le&&le>te||K<le&&le<te}function F(Z,le,K,te,ce){le=Math.max(0,le-2*x);var re=Z.width/Z.height,ee=O(re,te,le,K);return{scale:ee*2/Z.height,rCenter:T(re,ee/le),rotate:D(ce)}}function N(Z,le,K,te,ce){le=Math.max(0,le-2*x);var re=Z.height/Z.width,ee=O(re,te,le,K);return{scale:ee*2/Z.width,rCenter:T(re,ee/le),rotate:D(ce+Math.PI/2)}}function T(Z,le){return Math.cos(le)-Z*le}function D(Z){return(180/Math.PI*Z+720)%180-90}function O(Z,le,K,te){var ce=Z+1/(2*Math.tan(le));return K*Math.min(1/(Math.sqrt(ce*ce+.5)+ce),te/(Math.sqrt(Z*Z+te/2)+Z))}function U(Z,le){return Z.v===le.vTotal&&!le.trace.hole?1:Math.min(1/(1+1/Math.sin(Z.halfangle)),Z.ring/2)}function B(Z,le){var K=le.pxmid[0],te=le.pxmid[1],ce=Z.width/2,re=Z.height/2;return K<0&&(ce*=-1),te<0&&(re*=-1),{scale:1,rCenter:1,rotate:0,x:ce+Math.abs(re)*(ce>0?1:-1)/2,y:re/(1+K*K/(te*te)),outside:!0}}function Y(Z){var le=Math.sqrt(Z.titleBox.width*Z.titleBox.width+Z.titleBox.height*Z.titleBox.height);return{x:Z.cx,y:Z.cy,scale:Z.trace.hole*Z.r*2/le,tx:0,ty:-Z.titleBox.height/2+Z.trace.title.font.size}}function z(Z,le){var K=1,te=1,ce,re=Z.trace,ee={x:Z.cx,y:Z.cy},de={tx:0,ty:0};de.ty+=re.title.font.size,ce=G(re),re.title.position.indexOf("top")!==-1?(ee.y-=(1+ce)*Z.r,de.ty-=Z.titleBox.height):re.title.position.indexOf("bottom")!==-1&&(ee.y+=(1+ce)*Z.r);var oe=V(Z.r,Z.trace.aspectratio),fe=le.w*(re.domain.x[1]-re.domain.x[0])/2;return re.title.position.indexOf("left")!==-1?(fe=fe+oe,ee.x-=(1+ce)*oe,de.tx+=Z.titleBox.width/2):re.title.position.indexOf("center")!==-1?fe*=2:re.title.position.indexOf("right")!==-1&&(fe=fe+oe,ee.x+=(1+ce)*oe,de.tx-=Z.titleBox.width/2),K=fe/Z.titleBox.width,te=j(Z,le)/Z.titleBox.height,{x:ee.x,y:ee.y,scale:Math.min(K,te),tx:de.tx,ty:de.ty}}function V(Z,le){return Z/(le===void 0?1:le)}function j(Z,le){var K=Z.trace,te=le.h*(K.domain.y[1]-K.domain.y[0]);return Math.min(Z.titleBox.height,te/2)}function G(Z){var le=Z.pull;if(!le)return 0;var K;if(p.isArrayOrTypedArray(le))for(le=0,K=0;K<Z.pull.length;K++)Z.pull[K]>le&&(le=Z.pull[K]);return le}function W(Z,le){var K,te,ce,re,ee,de,oe,fe,me,Te,we,Be,Ae;function Re(ze,Fe){return ze.pxmid[1]-Fe.pxmid[1]}function be(ze,Fe){return Fe.pxmid[1]-ze.pxmid[1]}function Pe(ze,Fe){Fe||(Fe={});var We=Fe.labelExtraY+(te?Fe.yLabelMax:Fe.yLabelMin),lt=te?ze.yLabelMin:ze.yLabelMax,ht=te?ze.yLabelMax:ze.yLabelMin,tt=ze.cyFinal+ee(ze.px0[1],ze.px1[1]),et=We-lt,pt,vt,_t,bt,Rt,ct;if(et*oe>0&&(ze.labelExtraY=et),!!p.isArrayOrTypedArray(le.pull))for(vt=0;vt<Te.length;vt++)_t=Te[vt],!(_t===ze||(y.castOption(le.pull,ze.pts)||0)>=(y.castOption(le.pull,_t.pts)||0))&&((ze.pxmid[1]-_t.pxmid[1])*oe>0?(bt=_t.cyFinal+ee(_t.px0[1],_t.px1[1]),et=bt-lt-ze.labelExtraY,et*oe>0&&(ze.labelExtraY+=et)):(ht+ze.labelExtraY-tt)*oe>0&&(pt=3*de*Math.abs(vt-Te.indexOf(ze)),Rt=_t.cxFinal+re(_t.px0[0],_t.px1[0]),ct=Rt+pt-(ze.cxFinal+ze.pxmid[0])-ze.labelExtraX,ct*de>0&&(ze.labelExtraX+=ct)))}for(te=0;te<2;te++)for(ce=te?Re:be,ee=te?Math.max:Math.min,oe=te?1:-1,K=0;K<2;K++){for(re=K?Math.max:Math.min,de=K?1:-1,fe=Z[te][K],fe.sort(ce),me=Z[1-te][K],Te=me.concat(fe),Be=[],we=0;we<fe.length;we++)fe[we].yLabelMid!==void 0&&Be.push(fe[we]);for(Ae=!1,we=0;te&&we<me.length;we++)if(me[we].yLabelMid!==void 0){Ae=me[we];break}for(we=0;we<Be.length;we++){var Ke=we&&Be[we-1];Ae&&!we&&(Ke=Ae),Pe(Be[we],Ke)}}}function X(Z,le){for(var K=[],te=0;te<Z.length;te++){var ce=Z[te][0],re=ce.trace,ee=re.domain,de=le.w*(ee.x[1]-ee.x[0]),oe=le.h*(ee.y[1]-ee.y[0]);re.title.text&&re.title.position!=="middle center"&&(oe-=j(ce,le));var fe=de/2,me=oe/2;re.type==="funnelarea"&&!re.scalegroup&&(me/=re.aspectratio),ce.r=Math.min(fe,me)/(1+G(re)),ce.cx=le.l+le.w*(re.domain.x[1]+re.domain.x[0])/2,ce.cy=le.t+le.h*(1-re.domain.y[0])-oe/2,re.title.text&&re.title.position.indexOf("bottom")!==-1&&(ce.cy-=j(ce,le)),re.scalegroup&&K.indexOf(re.scalegroup)===-1&&K.push(re.scalegroup)}Q(Z,K)}function Q(Z,le){for(var K,te,ce,re=0;re<le.length;re++){var ee=1/0,de=le[re];for(te=0;te<Z.length;te++)if(K=Z[te][0],ce=K.trace,ce.scalegroup===de){var oe;if(ce.type==="pie")oe=K.r*K.r;else if(ce.type==="funnelarea"){var fe,me;ce.aspectratio>1?(fe=K.r,me=fe/ce.aspectratio):(me=K.r,fe=me*ce.aspectratio),fe*=(1+ce.baseratio)/2,oe=fe*me}ee=Math.min(ee,oe/K.vTotal)}for(te=0;te<Z.length;te++)if(K=Z[te][0],ce=K.trace,ce.scalegroup===de){var Te=ee*K.vTotal;ce.type==="funnelarea"&&(Te/=(1+ce.baseratio)/2,Te/=ce.aspectratio),K.r=Math.sqrt(Te)}}}function ae(Z){var le=Z[0],K=le.r,te=le.trace,ce=y.getRotationAngle(te.rotation),re=2*Math.PI/le.vTotal,ee="px0",de="px1",oe,fe,me;if(te.direction==="counterclockwise"){for(oe=0;oe<Z.length&&Z[oe].hidden;oe++);if(oe===Z.length)return;ce+=re*Z[oe].v,re*=-1,ee="px1",de="px0"}for(me=ie(K,ce),oe=0;oe<Z.length;oe++)fe=Z[oe],!fe.hidden&&(fe[ee]=me,fe.startangle=ce,ce+=re*fe.v/2,fe.pxmid=ie(K,ce),fe.midangle=ce,ce+=re*fe.v/2,me=ie(K,ce),fe.stopangle=ce,fe[de]=me,fe.largeArc=fe.v>le.vTotal/2?1:0,fe.halfangle=Math.PI*Math.min(fe.v/le.vTotal,.5),fe.ring=1-te.hole,fe.rInscribed=U(fe,le))}function ie(Z,le){return[Z*Math.sin(le),-Z*Math.cos(le)]}function he(Z,le,K){var te=Z._fullLayout,ce=K.trace,re=ce.texttemplate,ee=ce.textinfo;if(!re&&ee&&ee!=="none"){var de=ee.split("+"),oe=function(Fe){return de.indexOf(Fe)!==-1},fe=oe("label"),me=oe("text"),Te=oe("value"),we=oe("percent"),Be=te.separators,Ae;if(Ae=fe?[le.label]:[],me){var Re=y.getFirstFilled(ce.text,le.pts);w(Re)&&Ae.push(Re)}Te&&Ae.push(y.formatPieValue(le.v,Be)),we&&Ae.push(y.formatPiePercent(le.v/K.vTotal,Be)),le.text=Ae.join("<br>")}function be(Fe){return{label:Fe.label,value:Fe.v,valueLabel:y.formatPieValue(Fe.v,te.separators),percent:Fe.v/K.vTotal,percentLabel:y.formatPiePercent(Fe.v/K.vTotal,te.separators),color:Fe.color,text:Fe.text,customdata:p.castOption(ce,Fe.i,"customdata")}}if(re){var Pe=p.castOption(ce,le.i,"texttemplate");if(!Pe)le.text="";else{var Ke=be(le),ze=y.getFirstFilled(ce.text,le.pts);(w(ze)||ze==="")&&(Ke.text=ze),le.text=p.texttemplateString(Pe,Ke,Z._fullLayout._d3locale,Ke,ce._meta||{})}}}function J(Z,le){var K=Z.rotate*Math.PI/180,te=Math.cos(K),ce=Math.sin(K),re=(le.left+le.right)/2,ee=(le.top+le.bottom)/2;Z.textX=re*te-ee*ce,Z.textY=re*ce+ee*te,Z.noCenter=!0}u.exports={plot:R,formatSliceLabel:he,transformInsideText:P,determineInsideTextFont:L,positionTitleOutside:z,prerenderTitles:I,layoutAreas:X,attachFxHandlers:E,computeTransform:J}},22152:function(u,h,a){var l=a(33428),v=a(10528),i=a(82744).resizeText;u.exports=function(g){var p=g._fullLayout._pielayer.selectAll(".trace");i(g,p,"pie"),p.each(function(_){var c=_[0],s=c.trace,d=l.select(this);d.style({opacity:s.opacity}),d.selectAll("path.surface").each(function(f){l.select(this).call(v,f,s,g)})})}},10528:function(u,h,a){var l=a(76308),v=a(69656).castOption,i=a(21552);u.exports=function(g,p,_,c){var s=_.marker.line,d=v(s.color,p.pts)||l.defaultLine,f=v(s.width,p.pts)||0;g.call(i,p,_,c).style("stroke-width",f).call(l.stroke,d)}},35484:function(u,h,a){var l=a(52904);u.exports={x:l.x,y:l.y,xy:{valType:"data_array",editType:"calc"},indices:{valType:"data_array",editType:"calc"},xbounds:{valType:"data_array",editType:"calc"},ybounds:{valType:"data_array",editType:"calc"},text:l.text,marker:{color:{valType:"color",arrayOk:!1,editType:"calc"},opacity:{valType:"number",min:0,max:1,dflt:1,arrayOk:!1,editType:"calc"},blend:{valType:"boolean",dflt:null,editType:"calc"},sizemin:{valType:"number",min:.1,max:2,dflt:.5,editType:"calc"},sizemax:{valType:"number",min:.1,dflt:20,editType:"calc"},border:{color:{valType:"color",arrayOk:!1,editType:"calc"},arearatio:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},editType:"calc"},editType:"calc"},transforms:void 0}},11072:function(u,h,a){var l=a(67792).gl_pointcloud2d,v=a(3400).isArrayOrTypedArray,i=a(43080),S=a(19280).findExtremes,g=a(44928);function p(s,d){this.scene=s,this.uid=d,this.type="pointcloud",this.pickXData=[],this.pickYData=[],this.xData=[],this.yData=[],this.textLabels=[],this.color="rgb(0, 0, 0)",this.name="",this.hoverinfo="all",this.idToIndex=new Int32Array(0),this.bounds=[0,0,0,0],this.pointcloudOptions={positions:new Float32Array(0),idToIndex:this.idToIndex,sizemin:.5,sizemax:12,color:[0,0,0,1],areaRatio:1,borderColor:[0,0,0,1]},this.pointcloud=l(s.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var _=p.prototype;_.handlePick=function(s){var d=this.idToIndex[s.pointId];return{trace:this,dataCoord:s.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[d*2],this.pickXYData[d*2+1]]:[this.pickXData[d],this.pickYData[d]],textLabel:v(this.textLabels)?this.textLabels[d]:this.textLabels,color:this.color,name:this.name,pointIndex:d,hoverinfo:this.hoverinfo}},_.update=function(s){this.index=s.index,this.textLabels=s.text,this.name=s.name,this.hoverinfo=s.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(s),this.color=g(s,{})},_.updateFast=function(s){var d=this.xData=this.pickXData=s.x,f=this.yData=this.pickYData=s.y,b=this.pickXYData=s.xy,x=s.xbounds&&s.ybounds,y=s.indices,C,w,R,A=this.bounds,E,k,L;if(b){if(R=b,C=b.length>>>1,x)A[0]=s.xbounds[0],A[2]=s.xbounds[1],A[1]=s.ybounds[0],A[3]=s.ybounds[1];else for(L=0;L<C;L++)E=R[L*2],k=R[L*2+1],E<A[0]&&(A[0]=E),E>A[2]&&(A[2]=E),k<A[1]&&(A[1]=k),k>A[3]&&(A[3]=k);if(y)w=y;else for(w=new Int32Array(C),L=0;L<C;L++)w[L]=L}else for(C=d.length,R=new Float32Array(2*C),w=new Int32Array(C),L=0;L<C;L++)E=d[L],k=f[L],w[L]=L,R[L*2]=E,R[L*2+1]=k,E<A[0]&&(A[0]=E),E>A[2]&&(A[2]=E),k<A[1]&&(A[1]=k),k>A[3]&&(A[3]=k);this.idToIndex=w,this.pointcloudOptions.idToIndex=w,this.pointcloudOptions.positions=R;var I=i(s.marker.color),P=i(s.marker.border.color),M=s.opacity*s.marker.opacity;I[3]*=M,this.pointcloudOptions.color=I;var F=s.marker.blend;if(F===null){var N=100;F=d.length<N||f.length<N}this.pointcloudOptions.blend=F,P[3]*=M,this.pointcloudOptions.borderColor=P;var T=s.marker.sizemin,D=Math.max(s.marker.sizemax,s.marker.sizemin);this.pointcloudOptions.sizeMin=T,this.pointcloudOptions.sizeMax=D,this.pointcloudOptions.areaRatio=s.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var O=this.scene.xaxis,U=this.scene.yaxis,B=D/2||.5;s._extremes[O._id]=S(O,[A[0],A[2]],{ppad:B}),s._extremes[U._id]=S(U,[A[1],A[3]],{ppad:B})},_.dispose=function(){this.pointcloud.dispose()};function c(s,d){var f=new p(s,d.uid);return f.update(d),f}u.exports=c},41904:function(u,h,a){var l=a(3400),v=a(35484);u.exports=function(S,g,p){function _(c,s){return l.coerce(S,g,v,c,s)}_("x"),_("y"),_("xbounds"),_("ybounds"),S.xy&&S.xy instanceof Float32Array&&(g.xy=S.xy),S.indices&&S.indices instanceof Int32Array&&(g.indices=S.indices),_("text"),_("marker.color",p),_("marker.opacity"),_("marker.blend"),_("marker.sizemin"),_("marker.sizemax"),_("marker.border.color",p),_("marker.border.arearatio"),g._length=null}},156:function(u,h,a){u.exports={attributes:a(35484),supplyDefaults:a(41904),calc:a(41484),plot:a(11072),moduleType:"trace",name:"pointcloud",basePlotModule:a(39952),categories:["gl","gl2d","showLegend"],meta:{}}},41440:function(u,h,a){var l=a(25376),v=a(45464),i=a(22548),S=a(55756),g=a(86968).u,p=a(21776).Ks,_=a(49084),c=a(31780).templatedArray,s=a(29736).descriptionOnlyNumbers,d=a(92880).extendFlat,f=a(67824).overrideAll,b=u.exports=f({hoverinfo:d({},v.hoverinfo,{flags:[],arrayOk:!1}),hoverlabel:S.hoverlabel,domain:g({name:"sankey",trace:!0}),orientation:{valType:"enumerated",values:["v","h"],dflt:"h"},valueformat:{valType:"string",dflt:".3s",description:s("value")},valuesuffix:{valType:"string",dflt:""},arrangement:{valType:"enumerated",values:["snap","perpendicular","freeform","fixed"],dflt:"snap"},textfont:l({}),customdata:void 0,node:{label:{valType:"data_array",dflt:[]},groups:{valType:"info_array",impliedEdits:{x:[],y:[]},dimensions:2,freeLength:!0,dflt:[],items:{valType:"number",editType:"calc"}},x:{valType:"data_array",dflt:[]},y:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:.5,arrayOk:!0}},pad:{valType:"number",arrayOk:!1,min:0,dflt:20},thickness:{valType:"number",arrayOk:!1,min:1,dflt:20},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:S.hoverlabel,hovertemplate:p({},{keys:["value","label"]}),align:{valType:"enumerated",values:["justify","left","right","center"],dflt:"justify"}},link:{arrowlen:{valType:"number",min:0,dflt:0},label:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},hovercolor:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:0,arrayOk:!0}},source:{valType:"data_array",dflt:[]},target:{valType:"data_array",dflt:[]},value:{valType:"data_array",dflt:[]},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:S.hoverlabel,hovertemplate:p({},{keys:["value","label"]}),colorscales:c("concentrationscales",{editType:"calc",label:{valType:"string",editType:"calc",dflt:""},cmax:{valType:"number",editType:"calc",dflt:1},cmin:{valType:"number",editType:"calc",dflt:0},colorscale:d(_().colorscale,{dflt:[[0,"white"],[1,"black"]]})})}},"calc","nested");b.transforms=void 0},10760:function(u,h,a){var l=a(67824).overrideAll,v=a(84888)._M,i=a(59596),S=a(65460),g=a(93972),p=a(86476),_=a(22676).prepSelect,c=a(3400),s=a(24040),d="sankey";h.name=d,h.baseLayoutAttrOverrides=l({hoverlabel:S.hoverlabel},"plot","nested"),h.plot=function(b){var x=v(b.calcdata,d)[0];i(b,x),h.updateFx(b)},h.clean=function(b,x,y,C){var w=C._has&&C._has(d),R=x._has&&x._has(d);w&&!R&&(C._paperdiv.selectAll(".sankey").remove(),C._paperdiv.selectAll(".bgsankey").remove())},h.updateFx=function(b){for(var x=0;x<b._fullData.length;x++)f(b,x)};function f(b,x){var y=b._fullData[x],C=b._fullLayout,w=C.dragmode,R=C.dragmode==="pan"?"move":"crosshair",A=y._bgRect;if(A&&!(w==="pan"||w==="zoom")){g(A,R);var E={_id:"x",c2p:c.identity,_offset:y._sankey.translateX,_length:y._sankey.width},k={_id:"y",c2p:c.identity,_offset:y._sankey.translateY,_length:y._sankey.height},L={gd:b,element:A.node(),plotinfo:{id:x,xaxis:E,yaxis:k,fillRangeItems:c.noop},subplot:x,xaxes:[E],yaxes:[k],doneFnCompleted:function(I){var P=b._fullData[x],M,F=P.node.groups.slice(),N=[];function T(B){for(var Y=P._sankey.graph.nodes,z=0;z<Y.length;z++)if(Y[z].pointNumber===B)return Y[z]}for(var D=0;D<I.length;D++){var O=T(I[D].pointNumber);if(O)if(O.group){for(var U=0;U<O.childrenNodes.length;U++)N.push(O.childrenNodes[U].pointNumber);F[O.pointNumber-P.node._count]=!1}else N.push(O.pointNumber)}M=F.filter(Boolean).concat([N]),s.call("_guiRestyle",b,{"node.groups":[M]},x)}};L.prepFn=function(I,P,M){_(I,P,M,L,w)},p.init(L)}}},48068:function(u,h,a){var l=a(78484),v=a(3400),i=a(71688).wrap,S=v.isArrayOrTypedArray,g=v.isIndex,p=a(8932);function _(s){var d=s.node,f=s.link,b=[],x=S(f.color),y=S(f.hovercolor),C=S(f.customdata),w={},R={},A=f.colorscales.length,E;for(E=0;E<A;E++){var k=f.colorscales[E],L=p.extractScale(k,{cLetter:"c"}),I=p.makeColorScaleFunc(L);R[k.label]=I}var P=0;for(E=0;E<f.value.length;E++)f.source[E]>P&&(P=f.source[E]),f.target[E]>P&&(P=f.target[E]);var M=P+1;s.node._count=M;var F,N=s.node.groups,T={};for(E=0;E<N.length;E++){var D=N[E];for(F=0;F<D.length;F++){var O=D[F],U=M+E;T.hasOwnProperty(O)?v.warn("Node "+O+" is already part of a group."):T[O]=U}}var B={source:[],target:[]};for(E=0;E<f.value.length;E++){var Y=f.value[E],z=f.source[E],V=f.target[E];if(Y>0&&g(z,M)&&g(V,M)&&!(T.hasOwnProperty(z)&&T.hasOwnProperty(V)&&T[z]===T[V])){T.hasOwnProperty(V)&&(V=T[V]),T.hasOwnProperty(z)&&(z=T[z]),z=+z,V=+V,w[z]=w[V]=!0;var j="";f.label&&f.label[E]&&(j=f.label[E]);var G=null;j&&R.hasOwnProperty(j)&&(G=R[j]),b.push({pointNumber:E,label:j,color:x?f.color[E]:f.color,hovercolor:y?f.hovercolor[E]:f.hovercolor,customdata:C?f.customdata[E]:f.customdata,concentrationscale:G,source:z,target:V,value:+Y}),B.source.push(z),B.target.push(V)}}var W=M+N.length,X=S(d.color),Q=S(d.customdata),ae=[];for(E=0;E<W;E++)if(w[E]){var ie=d.label[E];ae.push({group:E>M-1,childrenNodes:[],pointNumber:E,label:ie,color:X?d.color[E]:d.color,customdata:Q?d.customdata[E]:d.customdata})}var he=!1;return c(W,B.source,B.target)&&(he=!0),{circular:he,links:b,nodes:ae,groups:N,groupLookup:T}}function c(s,d,f){for(var b=v.init2dArray(s,0),x=0;x<Math.min(d.length,f.length);x++)if(v.isIndex(d[x],s)&&v.isIndex(f[x],s)){if(d[x]===f[x])return!0;b[d[x]].push(f[x])}var y=l(b);return y.components.some(function(C){return C.length>1})}u.exports=function(d,f){var b=_(f);return i({circular:b.circular,_nodes:b.nodes,_links:b.links,_groups:b.groups,_groupLookup:b.groupLookup})}},11820:function(u){u.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeLabel:"node-label"}}},47140:function(u,h,a){var l=a(3400),v=a(41440),i=a(76308),S=a(49760),g=a(86968).Q,p=a(16132),_=a(31780),c=a(51272);u.exports=function(f,b,x,y){function C(U,B){return l.coerce(f,b,v,U,B)}var w=l.extendDeep(y.hoverlabel,f.hoverlabel),R=f.node,A=_.newContainer(b,"node");function E(U,B){return l.coerce(R,A,v.node,U,B)}E("label"),E("groups"),E("x"),E("y"),E("pad"),E("thickness"),E("line.color"),E("line.width"),E("hoverinfo",f.hoverinfo),p(R,A,E,w),E("hovertemplate"),E("align");var k=y.colorway,L=function(U){return k[U%k.length]};E("color",A.label.map(function(U,B){return i.addOpacity(L(B),.8)})),E("customdata");var I=f.link||{},P=_.newContainer(b,"link");function M(U,B){return l.coerce(I,P,v.link,U,B)}M("label"),M("arrowlen"),M("source"),M("target"),M("value"),M("line.color"),M("line.width"),M("hoverinfo",f.hoverinfo),p(I,P,M,w),M("hovertemplate");var F=S(y.paper_bgcolor).getLuminance()<.333,N=F?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)",T=M("color",N);function D(U){var B=S(U);if(!B.isValid())return U;var Y=B.getAlpha();return Y<=.8?B.setAlpha(Y+.2):B=F?B.brighten():B.darken(),B.toRgbString()}M("hovercolor",Array.isArray(T)?T.map(D):D(T)),M("customdata"),c(I,P,{name:"colorscales",handleItemDefaults:s}),g(b,y,C),C("orientation"),C("valueformat"),C("valuesuffix");var O;A.x.length&&A.y.length&&(O="freeform"),C("arrangement",O),l.coerceFont(C,"textfont",l.extendFlat({},y.font)),b._length=null};function s(d,f){function b(x,y){return l.coerce(d,f,v.link.colorscales,x,y)}b("label"),b("cmin"),b("cmax"),b("colorscale")}},45499:function(u,h,a){u.exports={attributes:a(41440),supplyDefaults:a(47140),calc:a(48068),plot:a(59596),moduleType:"trace",name:"sankey",basePlotModule:a(10760),selectPoints:a(81128),categories:["noOpacity"],meta:{}}},59596:function(u,h,a){var l=a(33428),v=a(3400),i=v.numberFormat,S=a(83248),g=a(93024),p=a(76308),_=a(11820).cn,c=v._;function s(k){return k!==""}function d(k,L){return k.filter(function(I){return I.key===L.traceId})}function f(k,L){l.select(k).select("path").style("fill-opacity",L),l.select(k).select("rect").style("fill-opacity",L)}function b(k){l.select(k).select("text.name").style("fill","black")}function x(k){return function(L){return k.node.sourceLinks.indexOf(L.link)!==-1||k.node.targetLinks.indexOf(L.link)!==-1}}function y(k){return function(L){return L.node.sourceLinks.indexOf(k.link)!==-1||L.node.targetLinks.indexOf(k.link)!==-1}}function C(k,L,I){L&&I&&d(I,L).selectAll("."+_.sankeyLink).filter(x(L)).call(R.bind(0,L,I,!1))}function w(k,L,I){L&&I&&d(I,L).selectAll("."+_.sankeyLink).filter(x(L)).call(A.bind(0,L,I,!1))}function R(k,L,I,P){P.style("fill",function(M){if(!M.link.concentrationscale)return M.tinyColorHoverHue}).style("fill-opacity",function(M){if(!M.link.concentrationscale)return M.tinyColorHoverAlpha}),P.each(function(M){var F=M.link.label;F!==""&&d(L,k).selectAll("."+_.sankeyLink).filter(function(N){return N.link.label===F}).style("fill",function(N){if(!N.link.concentrationscale)return N.tinyColorHoverHue}).style("fill-opacity",function(N){if(!N.link.concentrationscale)return N.tinyColorHoverAlpha})}),I&&d(L,k).selectAll("."+_.sankeyNode).filter(y(k)).call(C)}function A(k,L,I,P){P.style("fill",function(M){return M.tinyColorHue}).style("fill-opacity",function(M){return M.tinyColorAlpha}),P.each(function(M){var F=M.link.label;F!==""&&d(L,k).selectAll("."+_.sankeyLink).filter(function(N){return N.link.label===F}).style("fill",function(N){return N.tinyColorHue}).style("fill-opacity",function(N){return N.tinyColorAlpha})}),I&&d(L,k).selectAll(_.sankeyNode).filter(y(k)).call(w)}function E(k,L){var I=k.hoverlabel||{},P=v.nestedProperty(I,L).get();return Array.isArray(P)?!1:P}u.exports=function(L,I){for(var P=L._fullLayout,M=P._paper,F=P._size,N=0;N<L._fullData.length;N++)if(L._fullData[N].visible&&L._fullData[N].type===_.sankey&&!L._fullData[N]._viewInitial){var T=L._fullData[N].node;L._fullData[N]._viewInitial={node:{groups:T.groups.slice(),x:T.x.slice(),y:T.y.slice()}}}var D=function(ie,he){var J=he.link;J.originalEvent=l.event,L._hoverdata=[J],g.click(L,{target:!0})},O=function(ie,he,J){L._fullLayout.hovermode!==!1&&(l.select(ie).call(R.bind(0,he,J,!0)),he.link.trace.link.hoverinfo!=="skip"&&(he.link.fullData=he.link.trace,L.emit("plotly_hover",{event:l.event,points:[he.link]})))},U=c(L,"source:")+" ",B=c(L,"target:")+" ",Y=c(L,"concentration:")+" ",z=c(L,"incoming flow count:")+" ",V=c(L,"outgoing flow count:")+" ",j=function(ie,he){if(L._fullLayout.hovermode===!1)return;var J=he.link.trace.link;if(J.hoverinfo==="none"||J.hoverinfo==="skip")return;var Z=[];function le(oe){var fe,me;oe.circular?(fe=(oe.circularPathData.leftInnerExtent+oe.circularPathData.rightInnerExtent)/2,me=oe.circularPathData.verticalFullExtent):(fe=(oe.source.x1+oe.target.x0)/2,me=(oe.y0+oe.y1)/2);var Te=[fe,me];return oe.trace.orientation==="v"&&Te.reverse(),Te[0]+=he.parent.translateX,Te[1]+=he.parent.translateY,Te}for(var K=0,te=0;te<he.flow.links.length;te++){var ce=he.flow.links[te];if(!(L._fullLayout.hovermode==="closest"&&he.link.pointNumber!==ce.pointNumber)){he.link.pointNumber===ce.pointNumber&&(K=te),ce.fullData=ce.trace,J=he.link.trace.link;var re=le(ce),ee={valueLabel:i(he.valueFormat)(ce.value)+he.valueSuffix};Z.push({x:re[0],y:re[1],name:ee.valueLabel,text:[ce.label||"",U+ce.source.label,B+ce.target.label,ce.concentrationscale?Y+i("%0.2f")(ce.flow.labelConcentration):""].filter(s).join("<br>"),color:E(J,"bgcolor")||p.addOpacity(ce.color,1),borderColor:E(J,"bordercolor"),fontFamily:E(J,"font.family"),fontSize:E(J,"font.size"),fontColor:E(J,"font.color"),nameLength:E(J,"namelength"),textAlign:E(J,"align"),idealAlign:l.event.x<re[0]?"right":"left",hovertemplate:J.hovertemplate,hovertemplateLabels:ee,eventData:[ce]})}}var de=g.loneHover(Z,{container:P._hoverlayer.node(),outerContainer:P._paper.node(),gd:L,anchorIndex:K});de.each(function(){var oe=this;he.link.concentrationscale||f(oe,.65),b(oe)})},G=function(ie,he,J){L._fullLayout.hovermode!==!1&&(l.select(ie).call(A.bind(0,he,J,!0)),he.link.trace.link.hoverinfo!=="skip"&&(he.link.fullData=he.link.trace,L.emit("plotly_unhover",{event:l.event,points:[he.link]})),g.loneUnhover(P._hoverlayer.node()))},W=function(ie,he,J){var Z=he.node;Z.originalEvent=l.event,L._hoverdata=[Z],l.select(ie).call(w,he,J),g.click(L,{target:!0})},X=function(ie,he,J){L._fullLayout.hovermode!==!1&&(l.select(ie).call(C,he,J),he.node.trace.node.hoverinfo!=="skip"&&(he.node.fullData=he.node.trace,L.emit("plotly_hover",{event:l.event,points:[he.node]})))},Q=function(ie,he){if(L._fullLayout.hovermode!==!1){var J=he.node.trace.node;if(!(J.hoverinfo==="none"||J.hoverinfo==="skip")){var Z=l.select(ie).select("."+_.nodeRect),le=L._fullLayout._paperdiv.node().getBoundingClientRect(),K=Z.node().getBoundingClientRect(),te=K.left-2-le.left,ce=K.right+2-le.left,re=K.top+K.height/4-le.top,ee={valueLabel:i(he.valueFormat)(he.node.value)+he.valueSuffix};he.node.fullData=he.node.trace,L._fullLayout._calcInverseTransform(L);var de=L._fullLayout._invScaleX,oe=L._fullLayout._invScaleY,fe=g.loneHover({x0:de*te,x1:de*ce,y:oe*re,name:i(he.valueFormat)(he.node.value)+he.valueSuffix,text:[he.node.label,z+he.node.targetLinks.length,V+he.node.sourceLinks.length].filter(s).join("<br>"),color:E(J,"bgcolor")||he.tinyColorHue,borderColor:E(J,"bordercolor"),fontFamily:E(J,"font.family"),fontSize:E(J,"font.size"),fontColor:E(J,"font.color"),nameLength:E(J,"namelength"),textAlign:E(J,"align"),idealAlign:"left",hovertemplate:J.hovertemplate,hovertemplateLabels:ee,eventData:[he.node]},{container:P._hoverlayer.node(),outerContainer:P._paper.node(),gd:L});f(fe,.85),b(fe)}}},ae=function(ie,he,J){L._fullLayout.hovermode!==!1&&(l.select(ie).call(w,he,J),he.node.trace.node.hoverinfo!=="skip"&&(he.node.fullData=he.node.trace,L.emit("plotly_unhover",{event:l.event,points:[he.node]})),g.loneUnhover(P._hoverlayer.node()))};S(L,M,I,{width:F.w,height:F.h,margin:{t:F.t,r:F.r,b:F.b,l:F.l}},{linkEvents:{hover:O,follow:j,unhover:G,select:D},nodeEvents:{hover:X,follow:Q,unhover:ae,select:W}})}},83248:function(u,h,a){var l=a(49812),v=a(67756).Gz,i=a(33428),S=a(26800),g=a(48932),p=a(11820),_=a(49760),c=a(76308),s=a(43616),d=a(3400),f=d.strTranslate,b=d.strRotate,x=a(71688),y=x.keyFun,C=x.repeat,w=x.unwrap,R=a(72736),A=a(24040),E=a(84284),k=E.CAP_SHIFT,L=E.LINE_SPACING,I=3;function P(le,K,te){var ce=w(K),re=ce.trace,ee=re.domain,de=re.orientation==="h",oe=re.node.pad,fe=re.node.thickness,me={justify:S.sankeyJustify,left:S.sankeyLeft,right:S.sankeyRight,center:S.sankeyCenter}[re.node.align],Te=le.width*(ee.x[1]-ee.x[0]),we=le.height*(ee.y[1]-ee.y[0]),Be=ce._nodes,Ae=ce._links,Re=ce.circular,be;Re?be=g.sankeyCircular().circularLinkGap(0):be=S.sankey(),be.iterations(p.sankeyIterations).size(de?[Te,we]:[we,Te]).nodeWidth(fe).nodePadding(oe).nodeId(function(ct){return ct.pointNumber}).nodeAlign(me).nodes(Be).links(Ae);var Pe=be();be.nodePadding()<oe&&d.warn("node.pad was reduced to ",be.nodePadding()," to fit within the figure.");var Ke,ze,Fe;for(var We in ce._groupLookup){var lt=parseInt(ce._groupLookup[We]),ht;for(Ke=0;Ke<Pe.nodes.length;Ke++)if(Pe.nodes[Ke].pointNumber===lt){ht=Pe.nodes[Ke];break}if(ht){var tt={pointNumber:parseInt(We),x0:ht.x0,x1:ht.x1,y0:ht.y0,y1:ht.y1,partOfGroup:!0,sourceLinks:[],targetLinks:[]};Pe.nodes.unshift(tt),ht.childrenNodes.unshift(tt)}}function et(){for(Ke=0;Ke<Pe.nodes.length;Ke++){var ct=Pe.nodes[Ke],Ve={},Qe,rt;for(ze=0;ze<ct.targetLinks.length;ze++)rt=ct.targetLinks[ze],Qe=rt.source.pointNumber+":"+rt.target.pointNumber,Ve.hasOwnProperty(Qe)||(Ve[Qe]=[]),Ve[Qe].push(rt);var qe=Object.keys(Ve);for(ze=0;ze<qe.length;ze++){Qe=qe[ze];var He=Ve[Qe],Ce=0,Se={};for(Fe=0;Fe<He.length;Fe++)rt=He[Fe],Se[rt.label]||(Se[rt.label]=0),Se[rt.label]+=rt.value,Ce+=rt.value;for(Fe=0;Fe<He.length;Fe++)rt=He[Fe],rt.flow={value:Ce,labelConcentration:Se[rt.label]/Ce,concentration:rt.value/Ce,links:He},rt.concentrationscale&&(rt.color=_(rt.concentrationscale(rt.flow.labelConcentration)))}var Le=0;for(ze=0;ze<ct.sourceLinks.length;ze++)Le+=ct.sourceLinks[ze].value;for(ze=0;ze<ct.sourceLinks.length;ze++)rt=ct.sourceLinks[ze],rt.concentrationOut=rt.value/Le;var Ne=0;for(ze=0;ze<ct.targetLinks.length;ze++)Ne+=ct.targetLinks[ze].value;for(ze=0;ze<ct.targetLinks.length;ze++)rt=ct.targetLinks[ze],rt.concenrationIn=rt.value/Ne}}et();function pt(ct){ct.forEach(function(Ve){var Qe,rt,qe=0,He=Ve.length,Ce;for(Ve.sort(function(Se,Le){return Se.y0-Le.y0}),Ce=0;Ce<He;++Ce)Qe=Ve[Ce],Qe.y0>=qe||(rt=qe-Qe.y0,rt>1e-6&&(Qe.y0+=rt,Qe.y1+=rt)),qe=Qe.y1+oe})}function vt(ct){var Ve=ct.map(function(Le,Ne){return{x0:Le.x0,index:Ne}}).sort(function(Le,Ne){return Le.x0-Ne.x0}),Qe=[],rt=-1,qe,He=-1/0,Ce;for(Ke=0;Ke<Ve.length;Ke++){var Se=ct[Ve[Ke].index];Se.x0>He+fe&&(rt+=1,qe=Se.x0),He=Se.x0,Qe[rt]||(Qe[rt]=[]),Qe[rt].push(Se),Ce=qe-Se.x0,Se.x0+=Ce,Se.x1+=Ce}return Qe}if(re.node.x.length&&re.node.y.length){for(Ke=0;Ke<Math.min(re.node.x.length,re.node.y.length,Pe.nodes.length);Ke++)if(re.node.x[Ke]&&re.node.y[Ke]){var _t=[re.node.x[Ke]*Te,re.node.y[Ke]*we];Pe.nodes[Ke].x0=_t[0]-fe/2,Pe.nodes[Ke].x1=_t[0]+fe/2;var bt=Pe.nodes[Ke].y1-Pe.nodes[Ke].y0;Pe.nodes[Ke].y0=_t[1]-bt/2,Pe.nodes[Ke].y1=_t[1]+bt/2}if(re.arrangement==="snap"){Be=Pe.nodes;var Rt=vt(Be);pt(Rt)}be.update(Pe)}return{circular:Re,key:te,trace:re,guid:d.randstr(),horizontal:de,width:Te,height:we,nodePad:re.node.pad,nodeLineColor:re.node.line.color,nodeLineWidth:re.node.line.width,linkLineColor:re.link.line.color,linkLineWidth:re.link.line.width,linkArrowLength:re.link.arrowlen,valueFormat:re.valueformat,valueSuffix:re.valuesuffix,textFont:re.textfont,translateX:ee.x[0]*le.width+le.margin.l,translateY:le.height-ee.y[1]*le.height+le.margin.t,dragParallel:de?we:Te,dragPerpendicular:de?Te:we,arrangement:re.arrangement,sankey:be,graph:Pe,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function M(le,K,te){var ce=_(K.color),re=_(K.hovercolor),ee=K.source.label+"|"+K.target.label,de=ee+"__"+te;return K.trace=le.trace,K.curveNumber=le.trace.index,{circular:le.circular,key:de,traceId:le.key,pointNumber:K.pointNumber,link:K,tinyColorHue:c.tinyRGB(ce),tinyColorAlpha:ce.getAlpha(),tinyColorHoverHue:c.tinyRGB(re),tinyColorHoverAlpha:re.getAlpha(),linkPath:N,linkLineColor:le.linkLineColor,linkLineWidth:le.linkLineWidth,linkArrowLength:le.linkArrowLength,valueFormat:le.valueFormat,valueSuffix:le.valueSuffix,sankey:le.sankey,parent:le,interactionState:le.interactionState,flow:K.flow}}function F(le,K){var te="",ce=le.width/2,re=le.circularPathData;return le.circularLinkType==="top"?te="M "+(re.targetX-K)+" "+(re.targetY+ce)+" L"+(re.rightInnerExtent-K)+" "+(re.targetY+ce)+"A"+(re.rightLargeArcRadius+ce)+" "+(re.rightSmallArcRadius+ce)+" 0 0 1 "+(re.rightFullExtent-ce-K)+" "+(re.targetY-re.rightSmallArcRadius)+"L"+(re.rightFullExtent-ce-K)+" "+re.verticalRightInnerExtent+"A"+(re.rightLargeArcRadius+ce)+" "+(re.rightLargeArcRadius+ce)+" 0 0 1 "+(re.rightInnerExtent-K)+" "+(re.verticalFullExtent-ce)+"L"+re.leftInnerExtent+" "+(re.verticalFullExtent-ce)+"A"+(re.leftLargeArcRadius+ce)+" "+(re.leftLargeArcRadius+ce)+" 0 0 1 "+(re.leftFullExtent+ce)+" "+re.verticalLeftInnerExtent+"L"+(re.leftFullExtent+ce)+" "+(re.sourceY-re.leftSmallArcRadius)+"A"+(re.leftLargeArcRadius+ce)+" "+(re.leftSmallArcRadius+ce)+" 0 0 1 "+re.leftInnerExtent+" "+(re.sourceY+ce)+"L"+re.sourceX+" "+(re.sourceY+ce)+"L"+re.sourceX+" "+(re.sourceY-ce)+"L"+re.leftInnerExtent+" "+(re.sourceY-ce)+"A"+(re.leftLargeArcRadius-ce)+" "+(re.leftSmallArcRadius-ce)+" 0 0 0 "+(re.leftFullExtent-ce)+" "+(re.sourceY-re.leftSmallArcRadius)+"L"+(re.leftFullExtent-ce)+" "+re.verticalLeftInnerExtent+"A"+(re.leftLargeArcRadius-ce)+" "+(re.leftLargeArcRadius-ce)+" 0 0 0 "+re.leftInnerExtent+" "+(re.verticalFullExtent+ce)+"L"+(re.rightInnerExtent-K)+" "+(re.verticalFullExtent+ce)+"A"+(re.rightLargeArcRadius-ce)+" "+(re.rightLargeArcRadius-ce)+" 0 0 0 "+(re.rightFullExtent+ce-K)+" "+re.verticalRightInnerExtent+"L"+(re.rightFullExtent+ce-K)+" "+(re.targetY-re.rightSmallArcRadius)+"A"+(re.rightLargeArcRadius-ce)+" "+(re.rightSmallArcRadius-ce)+" 0 0 0 "+(re.rightInnerExtent-K)+" "+(re.targetY-ce)+"L"+(re.targetX-K)+" "+(re.targetY-ce)+(K>0?"L"+re.targetX+" "+re.targetY:"")+"Z":te="M "+(re.targetX-K)+" "+(re.targetY-ce)+" L"+(re.rightInnerExtent-K)+" "+(re.targetY-ce)+"A"+(re.rightLargeArcRadius+ce)+" "+(re.rightSmallArcRadius+ce)+" 0 0 0 "+(re.rightFullExtent-ce-K)+" "+(re.targetY+re.rightSmallArcRadius)+"L"+(re.rightFullExtent-ce-K)+" "+re.verticalRightInnerExtent+"A"+(re.rightLargeArcRadius+ce)+" "+(re.rightLargeArcRadius+ce)+" 0 0 0 "+(re.rightInnerExtent-K)+" "+(re.verticalFullExtent+ce)+"L"+re.leftInnerExtent+" "+(re.verticalFullExtent+ce)+"A"+(re.leftLargeArcRadius+ce)+" "+(re.leftLargeArcRadius+ce)+" 0 0 0 "+(re.leftFullExtent+ce)+" "+re.verticalLeftInnerExtent+"L"+(re.leftFullExtent+ce)+" "+(re.sourceY+re.leftSmallArcRadius)+"A"+(re.leftLargeArcRadius+ce)+" "+(re.leftSmallArcRadius+ce)+" 0 0 0 "+re.leftInnerExtent+" "+(re.sourceY-ce)+"L"+re.sourceX+" "+(re.sourceY-ce)+"L"+re.sourceX+" "+(re.sourceY+ce)+"L"+re.leftInnerExtent+" "+(re.sourceY+ce)+"A"+(re.leftLargeArcRadius-ce)+" "+(re.leftSmallArcRadius-ce)+" 0 0 1 "+(re.leftFullExtent-ce)+" "+(re.sourceY+re.leftSmallArcRadius)+"L"+(re.leftFullExtent-ce)+" "+re.verticalLeftInnerExtent+"A"+(re.leftLargeArcRadius-ce)+" "+(re.leftLargeArcRadius-ce)+" 0 0 1 "+re.leftInnerExtent+" "+(re.verticalFullExtent-ce)+"L"+(re.rightInnerExtent-K)+" "+(re.verticalFullExtent-ce)+"A"+(re.rightLargeArcRadius-ce)+" "+(re.rightLargeArcRadius-ce)+" 0 0 1 "+(re.rightFullExtent+ce-K)+" "+re.verticalRightInnerExtent+"L"+(re.rightFullExtent+ce-K)+" "+(re.targetY+re.rightSmallArcRadius)+"A"+(re.rightLargeArcRadius-ce)+" "+(re.rightSmallArcRadius-ce)+" 0 0 1 "+(re.rightInnerExtent-K)+" "+(re.targetY+ce)+"L"+(re.targetX-K)+" "+(re.targetY+ce)+(K>0?"L"+re.targetX+" "+re.targetY:"")+"Z",te}function N(){var le=.5;function K(te){var ce=te.linkArrowLength;if(te.link.circular)return F(te.link,ce);var re=Math.abs((te.link.target.x0-te.link.source.x1)/2);ce>re&&(ce=re);var ee=te.link.source.x1,de=te.link.target.x0-ce,oe=v(ee,de),fe=oe(le),me=oe(1-le),Te=te.link.y0-te.link.width/2,we=te.link.y0+te.link.width/2,Be=te.link.y1-te.link.width/2,Ae=te.link.y1+te.link.width/2,Re="M"+ee+","+Te,be="C"+fe+","+Te+" "+me+","+Be+" "+de+","+Be,Pe="C"+me+","+Ae+" "+fe+","+we+" "+ee+","+we,Ke=ce>0?"L"+(de+ce)+","+(Be+te.link.width/2):"";return Ke+="L"+de+","+Ae,Re+be+Ke+Pe+"Z"}return K}function T(le,K){var te=_(K.color),ce=p.nodePadAcross,re=le.nodePad/2;K.dx=K.x1-K.x0,K.dy=K.y1-K.y0;var ee=K.dx,de=Math.max(.5,K.dy),oe="node_"+K.pointNumber;return K.group&&(oe=d.randstr()),K.trace=le.trace,K.curveNumber=le.trace.index,{index:K.pointNumber,key:oe,partOfGroup:K.partOfGroup||!1,group:K.group,traceId:le.key,trace:le.trace,node:K,nodePad:le.nodePad,nodeLineColor:le.nodeLineColor,nodeLineWidth:le.nodeLineWidth,textFont:le.textFont,size:le.horizontal?le.height:le.width,visibleWidth:Math.ceil(ee),visibleHeight:de,zoneX:-ce,zoneY:-re,zoneWidth:ee+2*ce,zoneHeight:de+2*re,labelY:le.horizontal?K.dy/2+1:K.dx/2+1,left:K.originalLayer===1,sizeAcross:le.width,forceLayouts:le.forceLayouts,horizontal:le.horizontal,darkBackground:te.getBrightness()<=128,tinyColorHue:c.tinyRGB(te),tinyColorAlpha:te.getAlpha(),valueFormat:le.valueFormat,valueSuffix:le.valueSuffix,sankey:le.sankey,graph:le.graph,arrangement:le.arrangement,uniqueNodeLabelPathId:[le.guid,le.key,oe].join("_"),interactionState:le.interactionState,figure:le}}function D(le){le.attr("transform",function(K){return f(K.node.x0.toFixed(3),K.node.y0.toFixed(3))})}function O(le){le.call(D)}function U(le,K){le.call(O),K.attr("d",N())}function B(le){le.attr("width",function(K){return K.node.x1-K.node.x0}).attr("height",function(K){return K.visibleHeight})}function Y(le){return le.link.width>1||le.linkLineWidth>0}function z(le){var K=f(le.translateX,le.translateY);return K+(le.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function V(le,K,te){le.on(".basic",null).on("mouseover.basic",function(ce){!ce.interactionState.dragInProgress&&!ce.partOfGroup&&(te.hover(this,ce,K),ce.interactionState.hovered=[this,ce])}).on("mousemove.basic",function(ce){!ce.interactionState.dragInProgress&&!ce.partOfGroup&&(te.follow(this,ce),ce.interactionState.hovered=[this,ce])}).on("mouseout.basic",function(ce){!ce.interactionState.dragInProgress&&!ce.partOfGroup&&(te.unhover(this,ce,K),ce.interactionState.hovered=!1)}).on("click.basic",function(ce){ce.interactionState.hovered&&(te.unhover(this,ce,K),ce.interactionState.hovered=!1),!ce.interactionState.dragInProgress&&!ce.partOfGroup&&te.select(this,ce,K)})}function j(le,K,te,ce){var re=i.behavior.drag().origin(function(ee){return{x:ee.node.x0+ee.visibleWidth/2,y:ee.node.y0+ee.visibleHeight/2}}).on("dragstart",function(ee){if(ee.arrangement!=="fixed"&&(d.ensureSingle(ce._fullLayout._infolayer,"g","dragcover",function(oe){ce._fullLayout._dragCover=oe}),d.raiseToTop(this),ee.interactionState.dragInProgress=ee.node,ie(ee.node),ee.interactionState.hovered&&(te.nodeEvents.unhover.apply(0,ee.interactionState.hovered),ee.interactionState.hovered=!1),ee.arrangement==="snap")){var de=ee.traceId+"|"+ee.key;ee.forceLayouts[de]?ee.forceLayouts[de].alpha(1):G(le,de,ee),W(le,K,ee,de,ce)}}).on("drag",function(ee){if(ee.arrangement!=="fixed"){var de=i.event.x,oe=i.event.y;ee.arrangement==="snap"?(ee.node.x0=de-ee.visibleWidth/2,ee.node.x1=de+ee.visibleWidth/2,ee.node.y0=oe-ee.visibleHeight/2,ee.node.y1=oe+ee.visibleHeight/2):(ee.arrangement==="freeform"&&(ee.node.x0=de-ee.visibleWidth/2,ee.node.x1=de+ee.visibleWidth/2),oe=Math.max(0,Math.min(ee.size-ee.visibleHeight/2,oe)),ee.node.y0=oe-ee.visibleHeight/2,ee.node.y1=oe+ee.visibleHeight/2),ie(ee.node),ee.arrangement!=="snap"&&(ee.sankey.update(ee.graph),U(le.filter(he(ee)),K))}}).on("dragend",function(ee){if(ee.arrangement!=="fixed"){ee.interactionState.dragInProgress=!1;for(var de=0;de<ee.node.childrenNodes.length;de++)ee.node.childrenNodes[de].x=ee.node.x,ee.node.childrenNodes[de].y=ee.node.y;ee.arrangement!=="snap"&&Q(ee,ce)}});le.on(".drag",null).call(re)}function G(le,K,te,ce){J(te.graph.nodes);var re=te.graph.nodes.filter(function(ee){return ee.originalX===te.node.originalX}).filter(function(ee){return!ee.partOfGroup});te.forceLayouts[K]=l.forceSimulation(re).alphaDecay(0).force("collide",l.forceCollide().radius(function(ee){return ee.dy/2+te.nodePad/2}).strength(1).iterations(p.forceIterations)).force("constrain",X(le,K,re,te)).stop()}function W(le,K,te,ce,re){window.requestAnimationFrame(function ee(){var de;for(de=0;de<p.forceTicksPerFrame;de++)te.forceLayouts[ce].tick();var oe=te.graph.nodes;if(Z(oe),te.sankey.update(te.graph),U(le.filter(he(te)),K),te.forceLayouts[ce].alpha()>0)window.requestAnimationFrame(ee);else{var fe=te.node.originalX;te.node.x0=fe-te.visibleWidth/2,te.node.x1=fe+te.visibleWidth/2,Q(te,re)}})}function X(le,K,te,ce){return function(){for(var ee=0,de=0;de<te.length;de++){var oe=te[de];oe===ce.interactionState.dragInProgress?(oe.x=oe.lastDraggedX,oe.y=oe.lastDraggedY):(oe.vx=(oe.originalX-oe.x)/p.forceTicksPerFrame,oe.y=Math.min(ce.size-oe.dy/2,Math.max(oe.dy/2,oe.y))),ee=Math.max(ee,Math.abs(oe.vx),Math.abs(oe.vy))}!ce.interactionState.dragInProgress&&ee<.1&&ce.forceLayouts[K].alpha()>0&&ce.forceLayouts[K].alpha(0)}}function Q(le,K){for(var te=[],ce=[],re=0;re<le.graph.nodes.length;re++){var ee=(le.graph.nodes[re].x0+le.graph.nodes[re].x1)/2,de=(le.graph.nodes[re].y0+le.graph.nodes[re].y1)/2;te.push(ee/le.figure.width),ce.push(de/le.figure.height)}A.call("_guiRestyle",K,{"node.x":[te],"node.y":[ce]},le.trace.index).then(function(){K._fullLayout._dragCover&&K._fullLayout._dragCover.remove()})}function ae(le){var K=[],te;for(te=0;te<le.length;te++)le[te].originalX=(le[te].x0+le[te].x1)/2,le[te].originalY=(le[te].y0+le[te].y1)/2,K.indexOf(le[te].originalX)===-1&&K.push(le[te].originalX);for(K.sort(function(ce,re){return ce-re}),te=0;te<le.length;te++)le[te].originalLayerIndex=K.indexOf(le[te].originalX),le[te].originalLayer=le[te].originalLayerIndex/(K.length-1)}function ie(le){le.lastDraggedX=le.x0+le.dx/2,le.lastDraggedY=le.y0+le.dy/2}function he(le){return function(K){return K.node.originalX===le.node.originalX}}function J(le){for(var K=0;K<le.length;K++)le[K].y=(le[K].y0+le[K].y1)/2,le[K].x=(le[K].x0+le[K].x1)/2}function Z(le){for(var K=0;K<le.length;K++)le[K].y0=le[K].y-le[K].dy/2,le[K].y1=le[K].y0+le[K].dy,le[K].x0=le[K].x-le[K].dx/2,le[K].x1=le[K].x0+le[K].dx}u.exports=function(le,K,te,ce,re){var ee=le._context.staticPlot,de=!1;d.ensureSingle(le._fullLayout._infolayer,"g","first-render",function(){de=!0});var oe=le._fullLayout._dragCover,fe=te.filter(function(Pe){return w(Pe).trace.visible}).map(P.bind(null,ce)),me=K.selectAll("."+p.cn.sankey).data(fe,y);me.exit().remove(),me.enter().append("g").classed(p.cn.sankey,!0).style("box-sizing","content-box").style("position","absolute").style("left",0).style("shape-rendering","geometricPrecision").style("pointer-events",ee?"none":"auto").attr("transform",z),me.each(function(Pe,Ke){le._fullData[Ke]._sankey=Pe;var ze="bgsankey-"+Pe.trace.uid+"-"+Ke;d.ensureSingle(le._fullLayout._draggers,"rect",ze),le._fullData[Ke]._bgRect=i.select("."+ze),le._fullData[Ke]._bgRect.style("pointer-events",ee?"none":"all").attr("width",Pe.width).attr("height",Pe.height).attr("x",Pe.translateX).attr("y",Pe.translateY).classed("bgsankey",!0).style({fill:"transparent","stroke-width":0})}),me.transition().ease(p.ease).duration(p.duration).attr("transform",z);var Te=me.selectAll("."+p.cn.sankeyLinks).data(C,y);Te.enter().append("g").classed(p.cn.sankeyLinks,!0).style("fill","none");var we=Te.selectAll("."+p.cn.sankeyLink).data(function(Pe){var Ke=Pe.graph.links;return Ke.filter(function(ze){return ze.value}).map(M.bind(null,Pe))},y);we.enter().append("path").classed(p.cn.sankeyLink,!0).call(V,me,re.linkEvents),we.style("stroke",function(Pe){return Y(Pe)?c.tinyRGB(_(Pe.linkLineColor)):Pe.tinyColorHue}).style("stroke-opacity",function(Pe){return Y(Pe)?c.opacity(Pe.linkLineColor):Pe.tinyColorAlpha}).style("fill",function(Pe){return Pe.tinyColorHue}).style("fill-opacity",function(Pe){return Pe.tinyColorAlpha}).style("stroke-width",function(Pe){return Y(Pe)?Pe.linkLineWidth:1}).attr("d",N()),we.style("opacity",function(){return le._context.staticPlot||de||oe?1:0}).transition().ease(p.ease).duration(p.duration).style("opacity",1),we.exit().transition().ease(p.ease).duration(p.duration).style("opacity",0).remove();var Be=me.selectAll("."+p.cn.sankeyNodeSet).data(C,y);Be.enter().append("g").classed(p.cn.sankeyNodeSet,!0),Be.style("cursor",function(Pe){switch(Pe.arrangement){case"fixed":return"default";case"perpendicular":return"ns-resize";default:return"move"}});var Ae=Be.selectAll("."+p.cn.sankeyNode).data(function(Pe){var Ke=Pe.graph.nodes;return ae(Ke),Ke.map(T.bind(null,Pe))},y);Ae.enter().append("g").classed(p.cn.sankeyNode,!0).call(D).style("opacity",function(Pe){return(le._context.staticPlot||de)&&!Pe.partOfGroup?1:0}),Ae.call(V,me,re.nodeEvents).call(j,we,re,le),Ae.transition().ease(p.ease).duration(p.duration).call(D).style("opacity",function(Pe){return Pe.partOfGroup?0:1}),Ae.exit().transition().ease(p.ease).duration(p.duration).style("opacity",0).remove();var Re=Ae.selectAll("."+p.cn.nodeRect).data(C);Re.enter().append("rect").classed(p.cn.nodeRect,!0).call(B),Re.style("stroke-width",function(Pe){return Pe.nodeLineWidth}).style("stroke",function(Pe){return c.tinyRGB(_(Pe.nodeLineColor))}).style("stroke-opacity",function(Pe){return c.opacity(Pe.nodeLineColor)}).style("fill",function(Pe){return Pe.tinyColorHue}).style("fill-opacity",function(Pe){return Pe.tinyColorAlpha}),Re.transition().ease(p.ease).duration(p.duration).call(B);var be=Ae.selectAll("."+p.cn.nodeLabel).data(C);be.enter().append("text").classed(p.cn.nodeLabel,!0).style("cursor","default"),be.attr("data-notex",1).text(function(Pe){return Pe.node.label}).each(function(Pe){var Ke=i.select(this);s.font(Ke,Pe.textFont),R.convertToTspans(Ke,le)}).style("text-shadow",R.makeTextShadow(le._fullLayout.paper_bgcolor)).attr("text-anchor",function(Pe){return Pe.horizontal&&Pe.left?"end":"start"}).attr("transform",function(Pe){var Ke=i.select(this),ze=R.lineCount(Ke),Fe=Pe.textFont.size*((ze-1)*L-k),We=Pe.nodeLineWidth/2+I,lt=((Pe.horizontal?Pe.visibleHeight:Pe.visibleWidth)-Fe)/2;Pe.horizontal&&(Pe.left?We=-We:We+=Pe.visibleWidth);var ht=Pe.horizontal?"":"scale(-1,1)"+b(90);return f(Pe.horizontal?We:lt,Pe.horizontal?lt:We)+ht}),be.transition().ease(p.ease).duration(p.duration)}},81128:function(u){u.exports=function(a,l){for(var v=a.cd,i=[],S=v[0].trace,g=S._sankey.graph.nodes,p=0;p<g.length;p++){var _=g[p];if(!_.partOfGroup){var c=[(_.x0+_.x1)/2,(_.y0+_.y1)/2];S.orientation==="v"&&c.reverse(),l&&l.contains(c,!1,p,a)&&i.push({pointNumber:_.pointNumber})}}return i}},20148:function(u,h,a){var l=a(3400);u.exports=function(i,S){for(var g=0;g<i.length;g++)i[g].i=g;l.mergeArray(S.text,i,"tx"),l.mergeArray(S.texttemplate,i,"txt"),l.mergeArray(S.hovertext,i,"htx"),l.mergeArray(S.customdata,i,"data"),l.mergeArray(S.textposition,i,"tp"),S.textfont&&(l.mergeArrayCastPositive(S.textfont.size,i,"ts"),l.mergeArray(S.textfont.color,i,"tc"),l.mergeArray(S.textfont.family,i,"tf"));var p=S.marker;if(p){l.mergeArrayCastPositive(p.size,i,"ms"),l.mergeArrayCastPositive(p.opacity,i,"mo"),l.mergeArray(p.symbol,i,"mx"),l.mergeArray(p.angle,i,"ma"),l.mergeArray(p.standoff,i,"mf"),l.mergeArray(p.color,i,"mc");var _=p.line;p.line&&(l.mergeArray(_.color,i,"mlc"),l.mergeArrayCastPositive(_.width,i,"mlw"));var c=p.gradient;c&&c.type!=="none"&&(l.mergeArray(c.type,i,"mgt"),l.mergeArray(c.color,i,"mgc"))}}},52904:function(u,h,a){var l=a(29736).axisHoverFormat,v=a(21776).Gw,i=a(21776).Ks,S=a(49084),g=a(25376),p=a(98192).u,_=a(98192).c,c=a(43616),s=a(88200),d=a(92880).extendFlat,f=a(98304);function b(C){return{valType:"any",dflt:0,editType:"calc"}}function x(C){return{valType:"any",editType:"calc"}}function y(C){return{valType:"enumerated",values:["start","middle","end"],dflt:"middle",editType:"calc"}}u.exports={x:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0},x0:{valType:"any",dflt:0,editType:"calc+clearAxisTypes",anim:!0},dx:{valType:"number",dflt:1,editType:"calc",anim:!0},y:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0},y0:{valType:"any",dflt:0,editType:"calc+clearAxisTypes",anim:!0},dy:{valType:"number",dflt:1,editType:"calc",anim:!0},xperiod:b(),yperiod:b(),xperiod0:x(),yperiod0:x(),xperiodalignment:y(),yperiodalignment:y(),xhoverformat:l("x"),yhoverformat:l("y"),offsetgroup:{valType:"string",dflt:"",editType:"calc"},alignmentgroup:{valType:"string",dflt:"",editType:"calc"},stackgroup:{valType:"string",dflt:"",editType:"calc"},orientation:{valType:"enumerated",values:["v","h"],editType:"calc"},groupnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc"},stackgaps:{valType:"enumerated",values:["infer zero","interpolate"],dflt:"infer zero",editType:"calc"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},texttemplate:v({},{}),hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},mode:{valType:"flaglist",flags:["lines","markers","text"],extras:["none"],editType:"calc"},hoveron:{valType:"flaglist",flags:["points","fills"],editType:"style"},hovertemplate:i({},{keys:s.eventDataKeys}),line:{color:{valType:"color",editType:"style",anim:!0},width:{valType:"number",min:0,dflt:2,editType:"style",anim:!0},shape:{valType:"enumerated",values:["linear","spline","hv","vh","hvh","vhv"],dflt:"linear",editType:"plot"},smoothing:{valType:"number",min:0,max:1.3,dflt:1,editType:"plot"},dash:d({},p,{editType:"style"}),backoff:{valType:"number",min:0,dflt:"auto",arrayOk:!0,editType:"plot"},simplify:{valType:"boolean",dflt:!0,editType:"plot"},editType:"plot"},connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},cliponaxis:{valType:"boolean",dflt:!0,editType:"plot"},fill:{valType:"enumerated",values:["none","tozeroy","tozerox","tonexty","tonextx","toself","tonext"],editType:"calc"},fillcolor:f(!0),fillgradient:d({type:{valType:"enumerated",values:["radial","horizontal","vertical","none"],dflt:"none",editType:"calc"},start:{valType:"number",editType:"calc"},stop:{valType:"number",editType:"calc"},colorscale:{valType:"colorscale",editType:"style"},editType:"calc"}),fillpattern:_,marker:d({symbol:{valType:"enumerated",values:c.symbolList,dflt:"circle",arrayOk:!0,editType:"style"},opacity:{valType:"number",min:0,max:1,arrayOk:!0,editType:"style",anim:!0},angle:{valType:"angle",dflt:0,arrayOk:!0,editType:"plot",anim:!1},angleref:{valType:"enumerated",values:["previous","up"],dflt:"up",editType:"plot",anim:!1},standoff:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"plot",anim:!0},size:{valType:"number",min:0,dflt:6,arrayOk:!0,editType:"calc",anim:!0},maxdisplayed:{valType:"number",min:0,dflt:0,editType:"plot"},sizeref:{valType:"number",dflt:1,editType:"calc"},sizemin:{valType:"number",min:0,dflt:0,editType:"calc"},sizemode:{valType:"enumerated",values:["diameter","area"],dflt:"diameter",editType:"calc"},line:d({width:{valType:"number",min:0,arrayOk:!0,editType:"style",anim:!0},editType:"calc"},S("marker.line",{anim:!0})),gradient:{type:{valType:"enumerated",values:["radial","horizontal","vertical","none"],arrayOk:!0,dflt:"none",editType:"calc"},color:{valType:"color",arrayOk:!0,editType:"calc"},editType:"calc"},editType:"calc"},S("marker",{anim:!0})),selected:{marker:{opacity:{valType:"number",min:0,max:1,editType:"style"},color:{valType:"color",editType:"style"},size:{valType:"number",min:0,editType:"style"},editType:"style"},textfont:{color:{valType:"color",editType:"style"},editType:"style"},editType:"style"},unselected:{marker:{opacity:{valType:"number",min:0,max:1,editType:"style"},color:{valType:"color",editType:"style"},size:{valType:"number",min:0,editType:"style"},editType:"style"},textfont:{color:{valType:"color",editType:"style"},editType:"style"},editType:"style"},textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"middle center",arrayOk:!0,editType:"calc"},textfont:g({editType:"calc",colorEditType:"style",arrayOk:!0})}},16356:function(u,h,a){var l=a(38248),v=a(3400),i=a(54460),S=a(1220),g=a(39032).BADNUM,p=a(43028),_=a(90136),c=a(20148),s=a(4500);function d(w,R){var A=w._fullLayout,E=R._xA=i.getFromId(w,R.xaxis||"x","x"),k=R._yA=i.getFromId(w,R.yaxis||"y","y"),L=E.makeCalcdata(R,"x"),I=k.makeCalcdata(R,"y"),P=S(R,E,"x",L),M=S(R,k,"y",I),F=P.vals,N=M.vals,T=R._length,D=new Array(T),O=R.ids,U=C(R,A,E,k),B=!1,Y,z,V,j,G,W;x(A,R);var X="x",Q="y",ae;if(U)v.pushUnique(U.traceIndices,R._expandedIndex),Y=U.orientation==="v",Y?(Q="s",ae="x"):(X="s",ae="y"),G=U.stackgaps==="interpolate";else{var ie=b(R,T);f(w,R,E,k,F,N,ie)}var he=!!R.xperiodalignment,J=!!R.yperiodalignment;for(z=0;z<T;z++){var Z=D[z]={},le=l(F[z]),K=l(N[z]);le&&K?(Z[X]=F[z],Z[Q]=N[z],he&&(Z.orig_x=L[z],Z.xEnd=P.ends[z],Z.xStart=P.starts[z]),J&&(Z.orig_y=I[z],Z.yEnd=M.ends[z],Z.yStart=M.starts[z])):U&&(Y?le:K)?(Z[ae]=Y?F[z]:N[z],Z.gap=!0,G?(Z.s=g,B=!0):Z.s=0):Z[X]=Z[Q]=g,O&&(Z.id=String(O[z]))}if(c(D,R),_(w,R),s(D,R),U){for(z=0;z<D.length;)D[z][ae]===g?D.splice(z,1):z++;if(v.sort(D,function(ee,de){return ee[ae]-de[ae]||ee.i-de.i}),B){for(z=0;z<D.length-1&&D[z].gap;)z++;for(W=D[z].s,W||(W=D[z].s=0),V=0;V<z;V++)D[V].s=W;for(j=D.length-1;j>z&&D[j].gap;)j--;for(W=D[j].s,V=D.length-1;V>j;V--)D[V].s=W;for(;z<j;)if(z++,D[z].gap){for(V=z+1;D[V].gap;)V++;for(var te=D[z-1][ae],ce=D[z-1].s,re=(D[V].s-ce)/(D[V][ae]-te);z<V;)D[z].s=ce+(D[z][ae]-te)*re,z++}}}return D}function f(w,R,A,E,k,L,I){var P=R._length,M=w._fullLayout,F=A._id,N=E._id,T=M._firstScatter[y(R)]===R.uid,D=(C(R,M,A,E)||{}).orientation,O=R.fill;A._minDtick=0,E._minDtick=0;var U={padded:!0},B={padded:!0};I&&(U.ppad=B.ppad=I);var Y=P<2||k[0]!==k[P-1]||L[0]!==L[P-1];Y&&(O==="tozerox"||O==="tonextx"&&(T||D==="h"))?U.tozero=!0:!(R.error_y||{}).visible&&(O==="tonexty"||O==="tozeroy"||!p.hasMarkers(R)&&!p.hasText(R))&&(U.padded=!1,U.ppad=0),Y&&(O==="tozeroy"||O==="tonexty"&&(T||D==="v"))?B.tozero=!0:(O==="tonextx"||O==="tozerox")&&(B.padded=!1),F&&(R._extremes[F]=i.findExtremes(A,k,U)),N&&(R._extremes[N]=i.findExtremes(E,L,B))}function b(w,R){if(p.hasMarkers(w)){var A=w.marker,E=1.6*(w.marker.sizeref||1),k;if(w.marker.sizemode==="area"?k=function(F){return Math.max(Math.sqrt((F||0)/E),3)}:k=function(F){return Math.max((F||0)/E,3)},v.isArrayOrTypedArray(A.size)){var L={type:"linear"};i.setConvert(L);for(var I=L.makeCalcdata(w.marker,"size"),P=new Array(R),M=0;M<R;M++)P[M]=k(I[M]);return P}else return k(A.size)}}function x(w,R){var A=y(R),E=w._firstScatter;E[A]||(E[A]=R.uid)}function y(w){var R=w.stackgroup;return w.xaxis+w.yaxis+w.type+(R?"-"+R:"")}function C(w,R,A,E){var k=w.stackgroup;if(k){var L=R._scatterStackOpts[A._id+E._id][k],I=L.orientation==="v"?E:A;if(I.type==="linear"||I.type==="log")return L}}u.exports={calc:d,calcMarkerSize:b,calcAxisExpansion:f,setFirstScatter:x,getStackOpts:C}},4500:function(u,h,a){var l=a(3400);u.exports=function(i,S){l.isArrayOrTypedArray(S.selectedpoints)&&l.tagSelected(i,S)}},90136:function(u,h,a){var l=a(94288).hasColorscale,v=a(47128),i=a(43028);u.exports=function(g,p){i.hasLines(p)&&l(p,"line")&&v(g,p,{vals:p.line.color,containerStr:"line",cLetter:"c"}),i.hasMarkers(p)&&(l(p,"marker")&&v(g,p,{vals:p.marker.color,containerStr:"marker",cLetter:"c"}),l(p,"marker.line")&&v(g,p,{vals:p.marker.line.color,containerStr:"marker.line",cLetter:"c"}))}},88200:function(u){u.exports={PTS_LINESONLY:20,minTolerance:.2,toleranceGrowth:10,maxScreensAway:20,eventDataKeys:[]}},96664:function(u,h,a){var l=a(16356),v=a(96376).setGroupPositions;function i(p,_){for(var c=_.xaxis,s=_.yaxis,d=p._fullLayout,f=p._fullData,b=p.calcdata,x=[],y=[],C=0;C<f.length;C++){var w=f[C];w.visible===!0&&w.type==="scatter"&&w.xaxis===c._id&&w.yaxis===s._id&&(w.orientation==="h"?x.push(b[C]):w.orientation==="v"&&y.push(b[C]))}var R={mode:d.scattermode,gap:d.scattergap};v(p,c,s,y,R),v(p,s,c,x,R)}u.exports=function(_,c){_._fullLayout.scattermode==="group"&&i(_,c);var s=c.xaxis,d=c.yaxis,f=s._id+d._id,b=_._fullLayout._scatterStackOpts[f];if(b){var x=_.calcdata,y,C,w,R,A,E,k,L,I,P,M,F,N,T,D;for(var O in b){P=b[O];var U=P.traceIndices;if(U.length){for(M=P.stackgaps==="interpolate",F=P.groupnorm,P.orientation==="v"?(N="x",T="y"):(N="y",T="x"),D=new Array(U.length),y=0;y<D.length;y++)D[y]=!1;E=x[U[0]];var B=new Array(E.length);for(y=0;y<E.length;y++)B[y]=E[y][N];for(y=1;y<U.length;y++){for(A=x[U[y]],C=w=0;C<A.length;C++){for(k=A[C][N];k>B[w]&&w<B.length;w++)S(A,C,B[w],y,D,M,N),C++;if(k!==B[w]){for(R=0;R<y;R++)S(x[U[R]],w,k,R,D,M,N);B.splice(w,0,k)}w++}for(;w<B.length;w++)S(A,C,B[w],y,D,M,N),C++}var Y=B.length;for(C=0;C<E.length;C++){for(L=E[C][T]=E[C].s,y=1;y<U.length;y++)A=x[U[y]],A[0].trace._rawLength=A[0].trace._length,A[0].trace._length=Y,L+=A[C].s,A[C][T]=L;if(F)for(I=(F==="fraction"?L:L/100)||1,y=0;y<U.length;y++){var z=x[U[y]][C];z[T]/=I,z.sNorm=z.s/I}}for(y=0;y<U.length;y++){A=x[U[y]];var V=A[0].trace,j=l.calcMarkerSize(V,V._rawLength),G=Array.isArray(j);if(j&&D[y]||G){var W=j;for(j=new Array(Y),C=0;C<Y;C++)j[C]=A[C].gap?0:G?W[A[C].i]:W}var X=new Array(Y),Q=new Array(Y);for(C=0;C<Y;C++)X[C]=A[C].x,Q[C]=A[C].y;l.calcAxisExpansion(_,V,s,d,X,Q,j),A[0].t.orientation=P.orientation}}}}};function S(p,_,c,s,d,f,b){d[s]=!0;var x={i:null,gap:!0,s:0};if(x[b]=c,p.splice(_,0,x),_&&c===p[_-1][b]){var y=p[_-1];x.s=y.s,x.i=y.i,x.gap=y.gap}else f&&(x.s=g(p,_,c,b));_||(p[0].t=p[1].t,p[0].trace=p[1].trace,delete p[1].t,delete p[1].trace)}function g(p,_,c,s){var d=p[_-1],f=p[_+1];return f?d?d.s+(f.s-d.s)*(c-d[s])/(f[s]-d[s]):f.s:d.s}},35036:function(u,h,a){var l=a(3400),v=a(20011),i=a(52904);u.exports=function(g,p){var _,c,s;function d(C){return l.coerce(c._input,c,i,C)}if(p.scattermode==="group")for(s=0;s<g.length;s++)c=g[s],c.type==="scatter"&&(_=c._input,v(_,c,p,d));for(s=0;s<g.length;s++){var f=g[s];if(f.type==="scatter"){var b=f.fill;if(!(b==="none"||b==="toself")&&(f.opacity=void 0,b==="tonexty"||b==="tonextx"))for(var x=s-1;x>=0;x--){var y=g[x];if(y.type==="scatter"&&y.xaxis===f.xaxis&&y.yaxis===f.yaxis){y.opacity=void 0;break}}}}}},18800:function(u,h,a){var l=a(3400),v=a(24040),i=a(52904),S=a(88200),g=a(43028),p=a(43980),_=a(31147),c=a(43912),s=a(74428),d=a(66828),f=a(11731),b=a(124),x=a(70840),y=a(3400).coercePattern;u.exports=function(w,R,A,E){function k(D,O){return l.coerce(w,R,i,D,O)}var L=p(w,R,E,k);if(L||(R.visible=!1),!!R.visible){_(w,R,E,k),k("xhoverformat"),k("yhoverformat");var I=c(w,R,E,k);E.scattermode==="group"&&R.orientation===void 0&&k("orientation","v");var P=!I&&L<S.PTS_LINESONLY?"lines+markers":"lines";k("text"),k("hovertext"),k("mode",P),g.hasMarkers(R)&&s(w,R,A,E,k,{gradient:!0}),g.hasLines(R)&&(d(w,R,A,E,k,{backoff:!0}),f(w,R,k),k("connectgaps"),k("line.simplify")),g.hasText(R)&&(k("texttemplate"),b(w,R,E,k));var M=[];(g.hasMarkers(R)||g.hasText(R))&&(k("cliponaxis"),k("marker.maxdisplayed"),M.push("points")),k("fill",I?I.fillDflt:"none"),R.fill!=="none"&&(x(w,R,A,k,{moduleHasFillgradient:!0}),g.hasLines(R)||f(w,R,k),y(k,"fillpattern",R.fillcolor,!1));var F=(R.line||{}).color,N=(R.marker||{}).color;(R.fill==="tonext"||R.fill==="toself")&&M.push("fills"),k("hoveron",M.join("+")||"points"),R.hoveron!=="fills"&&k("hovertemplate");var T=v.getComponentMethod("errorbars","supplyDefaults");T(w,R,F||N||A,{axis:"y"}),T(w,R,F||N||A,{axis:"x",inherit:"y"}),l.coerceSelectionMarkerOpacity(R,k)}}},98304:function(u){u.exports=function(a){return{valType:"color",editType:"style",anim:!0}}},70840:function(u,h,a){var l=a(76308),v=a(3400).isArrayOrTypedArray;function i(S){for(var g=l.interpolate(S[0][1],S[1][1],.5),p=2;p<S.length;p++){var _=l.interpolate(S[p-1][1],S[p][1],.5);g=l.interpolate(g,_,S[p-1][0]/S[p][0])}return g}u.exports=function(g,p,_,c,s){s||(s={});var d=!1;if(p.marker){var f=p.marker.color,b=(p.marker.line||{}).color;f&&!v(f)?d=f:b&&!v(b)&&(d=b)}var x;if(s.moduleHasFillgradient){var y=c("fillgradient.type");if(y!=="none"){c("fillgradient.start"),c("fillgradient.stop");var C=c("fillgradient.colorscale");C&&(x=i(C))}}c("fillcolor",l.addOpacity((p.line||{}).color||d||x||_,.5))}},76688:function(u,h,a){var l=a(54460);u.exports=function(i,S,g){var p={},_={_fullLayout:g},c=l.getFromTrace(_,S,"x"),s=l.getFromTrace(_,S,"y"),d=i.orig_x;d===void 0&&(d=i.x);var f=i.orig_y;return f===void 0&&(f=i.y),p.xLabel=l.tickText(c,c.c2l(d),!0).text,p.yLabel=l.tickText(s,s.c2l(f),!0).text,p}},44928:function(u,h,a){var l=a(76308),v=a(43028);u.exports=function(S,g){var p,_;if(S.mode==="lines")return p=S.line.color,p&&l.opacity(p)?p:S.fillcolor;if(S.mode==="none")return S.fill?S.fillcolor:"";var c=g.mcc||(S.marker||{}).color,s=g.mlcc||((S.marker||{}).line||{}).color;return _=c&&l.opacity(c)?c:s&&l.opacity(s)&&(g.mlw||((S.marker||{}).line||{}).width)?s:"",_?l.opacity(_)<.3?l.addOpacity(_,.3):_:(p=(S.line||{}).color,p&&l.opacity(p)&&v.hasLines(S)&&S.line.width?p:S.fillcolor)}},20011:function(u,h,a){var l=a(71888).getAxisGroup;u.exports=function(i,S,g,p){var _=S.orientation,c=S[{v:"x",h:"y"}[_]+"axis"],s=l(g,c)+_,d=g._alignmentOpts||{},f=p("alignmentgroup"),b=d[s];b||(b=d[s]={});var x=b[f];x?x.traces.push(S):x=b[f]={traces:[S],alignmentIndex:Object.keys(b).length,offsetGroups:{}};var y=p("offsetgroup"),C=x.offsetGroups,w=C[y];y&&(w||(w=C[y]={offsetIndex:Object.keys(C).length}),S._offsetIndex=w.offsetIndex)}},98723:function(u,h,a){var l=a(3400),v=a(93024),i=a(24040),S=a(44928),g=a(76308),p=l.fillText;u.exports=function(c,s,d,f){var b=c.cd,x=b[0].trace,y=c.xa,C=c.ya,w=y.c2p(s),R=C.c2p(d),A=[w,R],E=x.hoveron||"",k=x.mode.indexOf("markers")!==-1?3:.5,L=!!x.xperiodalignment,I=!!x.yperiodalignment;if(E.indexOf("points")!==-1){var P=function(ae){if(L){var ie=y.c2p(ae.xStart),he=y.c2p(ae.xEnd);return w>=Math.min(ie,he)&&w<=Math.max(ie,he)?0:1/0}var J=Math.max(3,ae.mrc||0),Z=1-1/J,le=Math.abs(y.c2p(ae.x)-w);return le<J?Z*le/J:le-J+Z},M=function(ae){if(I){var ie=C.c2p(ae.yStart),he=C.c2p(ae.yEnd);return R>=Math.min(ie,he)&&R<=Math.max(ie,he)?0:1/0}var J=Math.max(3,ae.mrc||0),Z=1-1/J,le=Math.abs(C.c2p(ae.y)-R);return le<J?Z*le/J:le-J+Z},F=function(ae){var ie=Math.max(k,ae.mrc||0),he=y.c2p(ae.x)-w,J=C.c2p(ae.y)-R;return Math.max(Math.sqrt(he*he+J*J)-ie,1-k/ie)},N=v.getDistanceFunction(f,P,M,F);if(v.getClosest(b,N,c),c.index!==!1){var T=b[c.index],D=y.c2p(T.x,!0),O=C.c2p(T.y,!0),U=T.mrc||1;c.index=T.i;var B=b[0].t.orientation,Y=B&&(T.sNorm||T.s),z=B==="h"?Y:T.orig_x!==void 0?T.orig_x:T.x,V=B==="v"?Y:T.orig_y!==void 0?T.orig_y:T.y;return l.extendFlat(c,{color:S(x,T),x0:D-U,x1:D+U,xLabelVal:z,y0:O-U,y1:O+U,yLabelVal:V,spikeDistance:F(T),hovertemplate:x.hovertemplate}),p(T,x,c),i.getComponentMethod("errorbars","hoverInfo")(T,x,c),[c]}}function j(ae){if(!ae)return!1;var ie=ae.node();try{var he=new DOMPoint(A[0],A[1]);return ie.isPointInFill(he)}catch{var J=ie.ownerSVGElement.createSVGPoint();return J.x=A[0],J.y=A[1],ie.isPointInFill(J)}}function G(ae){var ie,he=[],J=1/0,Z=-1/0,le=1/0,K=-1/0,te;for(ie=0;ie<ae.length;ie++){var ce=ae[ie];ce.contains(A)&&(he.push(ce),le=Math.min(le,ce.ymin),K=Math.max(K,ce.ymax))}if(he.length===0)return null;le=Math.max(le,0),K=Math.min(K,C._length),te=(le+K)/2;var re,ee,de,oe,fe,me,Te;for(ie=0;ie<he.length;ie++)for(ee=he[ie].pts,re=1;re<ee.length;re++)me=ee[re-1][1],Te=ee[re][1],me>te!=Te>=te&&(oe=ee[re-1][0],fe=ee[re][0],Te-me&&(de=oe+(fe-oe)*(te-me)/(Te-me),J=Math.min(J,de),Z=Math.max(Z,de)));return J=Math.max(J,0),Z=Math.min(Z,y._length),{x0:J,x1:Z,y0:te,y1:te}}if(E.indexOf("fills")!==-1&&x._fillElement){var W=j(x._fillElement)&&!j(x._fillExclusionElement);if(W){var X=G(x._polygons);X===null&&(X={x0:A[0],x1:A[0],y0:A[1],y1:A[1]});var Q=g.defaultLine;return g.opacity(x.fillcolor)?Q=x.fillcolor:g.opacity((x.line||{}).color)&&(Q=x.line.color),l.extendFlat(c,{distance:c.maxHoverDistance,x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1,color:Q,hovertemplate:!1}),delete c.index,x.text&&!l.isArrayOrTypedArray(x.text)?c.text=String(x.text):c.text=x.name,[c]}}}},65875:function(u,h,a){var l=a(43028);u.exports={hasLines:l.hasLines,hasMarkers:l.hasMarkers,hasText:l.hasText,isBubble:l.isBubble,attributes:a(52904),layoutAttributes:a(55308),supplyDefaults:a(18800),crossTraceDefaults:a(35036),supplyLayoutDefaults:a(59748),calc:a(16356).calc,crossTraceCalc:a(96664),arraysToCalcdata:a(20148),plot:a(96504),colorbar:a(5528),formatLabels:a(76688),style:a(49224).style,styleOnSelect:a(49224).styleOnSelect,hoverPoints:a(98723),selectPoints:a(91560),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:a(57952),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{}}},55308:function(u){u.exports={scattermode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},scattergap:{valType:"number",min:0,max:1,editType:"calc"}}},59748:function(u,h,a){var l=a(3400),v=a(55308);u.exports=function(i,S){function g(_,c){return l.coerce(i,S,v,_,c)}var p=S.barmode==="group";S.scattermode==="group"&&g("scattergap",p?S.bargap:.2)}},66828:function(u,h,a){var l=a(3400).isArrayOrTypedArray,v=a(94288).hasColorscale,i=a(27260);u.exports=function(g,p,_,c,s,d){d||(d={});var f=(g.marker||{}).color;if(f&&f._inputArray&&(f=f._inputArray),s("line.color",_),v(g,"line"))i(g,p,c,s,{prefix:"line.",cLetter:"c"});else{var b=(l(f)?!1:f)||_;s("line.color",b)}s("line.width"),d.noDash||s("line.dash"),d.backoff&&s("line.backoff")}},52340:function(u,h,a){var l=a(43616),v=a(39032),i=v.BADNUM,S=v.LOG_CLIP,g=S+.5,p=S-.5,_=a(3400),c=_.segmentsIntersect,s=_.constrain,d=a(88200);u.exports=function(b,x){var y=x.trace||{},C=x.xaxis,w=x.yaxis,R=C.type==="log",A=w.type==="log",E=C._length,k=w._length,L=x.backoff,I=y.marker,P=x.connectGaps,M=x.baseTolerance,F=x.shape,N=F==="linear",T=y.fill&&y.fill!=="none",D=[],O=d.minTolerance,U=b.length,B=new Array(U),Y=0,z,V,j,G,W,X,Q,ae,ie,he,J,Z,le,K,te,ce;function re(Et){var wt=b[Et];if(!wt)return!1;var nr=x.linearized?C.l2p(wt.x):C.c2p(wt.x),ir=x.linearized?w.l2p(wt.y):w.c2p(wt.y);if(nr===i){if(R&&(nr=C.c2p(wt.x,!0)),nr===i)return!1;A&&ir===i&&(nr*=Math.abs(C._m*k*(C._m>0?g:p)/(w._m*E*(w._m>0?g:p)))),nr*=1e3}if(ir===i){if(A&&(ir=w.c2p(wt.y,!0)),ir===i)return!1;ir*=1e3}return[nr,ir]}function ee(Et,wt,nr,ir){var It=nr-Et,Gt=ir-wt,cr=.5-Et,Pr=.5-wt,Ct=It*It+Gt*Gt,or=It*cr+Gt*Pr;if(or>0&&or<Ct){var ur=cr*Gt-Pr*It;if(ur*ur<Ct)return!0}}var de,oe;function fe(Et,wt){var nr=Et[0]/E,ir=Et[1]/k,It=Math.max(0,-nr,nr-1,-ir,ir-1);return It&&de!==void 0&&ee(nr,ir,de,oe)&&(It=0),It&&wt&&ee(nr,ir,wt[0]/E,wt[1]/k)&&(It=0),(1+d.toleranceGrowth*It)*M}function me(Et,wt){var nr=Et[0]-wt[0],ir=Et[1]-wt[1];return Math.sqrt(nr*nr+ir*ir)}var Te=d.maxScreensAway,we=-E*Te,Be=E*(1+Te),Ae=-k*Te,Re=k*(1+Te),be=[[we,Ae,Be,Ae],[Be,Ae,Be,Re],[Be,Re,we,Re],[we,Re,we,Ae]],Pe,Ke,ze,Fe,We,lt;function ht(Et,wt){for(var nr=[],ir=0,It=0;It<4;It++){var Gt=be[It],cr=c(Et[0],Et[1],wt[0],wt[1],Gt[0],Gt[1],Gt[2],Gt[3]);cr&&(!ir||Math.abs(cr.x-nr[0][0])>1||Math.abs(cr.y-nr[0][1])>1)&&(cr=[cr.x,cr.y],ir&&me(cr,Et)<me(nr[0],Et)?nr.unshift(cr):nr.push(cr),ir++)}return nr}function tt(Et){if(Et[0]<we||Et[0]>Be||Et[1]<Ae||Et[1]>Re)return[s(Et[0],we,Be),s(Et[1],Ae,Re)]}function et(Et,wt){if(Et[0]===wt[0]&&(Et[0]===we||Et[0]===Be)||Et[1]===wt[1]&&(Et[1]===Ae||Et[1]===Re))return!0}function pt(Et,wt){var nr=[],ir=tt(Et),It=tt(wt);return ir&&It&&et(ir,It)||(ir&&nr.push(ir),It&&nr.push(It)),nr}function vt(Et,wt,nr){return function(ir,It){var Gt=tt(ir),cr=tt(It),Pr=[];if(Gt&&cr&&et(Gt,cr))return Pr;Gt&&Pr.push(Gt),cr&&Pr.push(cr);var Ct=2*_.constrain((ir[Et]+It[Et])/2,wt,nr)-((Gt||ir)[Et]+(cr||It)[Et]);if(Ct){var or;Gt&&cr?or=Ct>0==Gt[Et]>cr[Et]?Gt:cr:or=Gt||cr,or[Et]+=Ct}return Pr}}var _t;F==="linear"||F==="spline"?_t=ht:F==="hv"||F==="vh"?_t=pt:F==="hvh"?_t=vt(0,we,Be):F==="vhv"&&(_t=vt(1,Ae,Re));function bt(Et,wt){var nr=wt[0]-Et[0],ir=(wt[1]-Et[1])/nr,It=(Et[1]*wt[0]-wt[1]*Et[0])/nr;return It>0?[ir>0?we:Be,Re]:[ir>0?Be:we,Ae]}function Rt(Et){var wt=Et[0],nr=Et[1],ir=wt===B[Y-1][0],It=nr===B[Y-1][1];if(!(ir&&It))if(Y>1){var Gt=wt===B[Y-2][0],cr=nr===B[Y-2][1];ir&&(wt===we||wt===Be)&&Gt?cr?Y--:B[Y-1]=Et:It&&(nr===Ae||nr===Re)&&cr?Gt?Y--:B[Y-1]=Et:B[Y++]=Et}else B[Y++]=Et}function ct(Et){B[Y-1][0]!==Et[0]&&B[Y-1][1]!==Et[1]&&Rt([ze,Fe]),Rt(Et),We=null,ze=Fe=0}var Ve=_.isArrayOrTypedArray(I);function Qe(Et){if(Et&&L&&(Et.i=z,Et.d=b,Et.trace=y,Et.marker=Ve?I[Et.i]:I,Et.backoff=L),de=Et[0]/E,oe=Et[1]/k,Pe=Et[0]<we?we:Et[0]>Be?Be:0,Ke=Et[1]<Ae?Ae:Et[1]>Re?Re:0,Pe||Ke){if(!Y)B[Y++]=[Pe||Et[0],Ke||Et[1]];else if(We){var wt=_t(We,Et);wt.length>1&&(ct(wt[0]),B[Y++]=wt[1])}else lt=_t(B[Y-1],Et)[0],B[Y++]=lt;var nr=B[Y-1];Pe&&Ke&&(nr[0]!==Pe||nr[1]!==Ke)?(We&&(ze!==Pe&&Fe!==Ke?Rt(ze&&Fe?bt(We,Et):[ze||Pe,Fe||Ke]):ze&&Fe&&Rt([ze,Fe])),Rt([Pe,Ke])):ze-Pe&&Fe-Ke&&Rt([Pe||ze,Ke||Fe]),We=Et,ze=Pe,Fe=Ke}else We&&ct(_t(We,Et)[0]),B[Y++]=Et}for(z=0;z<U;z++)if(V=re(z),!!V){for(Y=0,We=null,Qe(V),z++;z<U;z++){if(G=re(z),!G){if(P)continue;break}if(!N||!x.simplify){Qe(G);continue}var rt=re(z+1);if(he=me(G,V),!(!(T&&(Y===0||Y===U-1))&&he<fe(G,rt)*O)){for(ae=[(G[0]-V[0])/he,(G[1]-V[1])/he],W=V,J=he,Z=K=te=0,Q=!1,j=G,z++;z<b.length;z++){if(X=rt,rt=re(z+1),!X){if(P)continue;break}if(ie=[X[0]-V[0],X[1]-V[1]],ce=ie[0]*ae[1]-ie[1]*ae[0],K=Math.min(K,ce),te=Math.max(te,ce),te-K>fe(X,rt))break;j=X,le=ie[0]*ae[0]+ie[1]*ae[1],le>J?(J=le,G=X,Q=!1):le<Z&&(Z=le,W=X,Q=!0)}if(Q?(Qe(G),j!==W&&Qe(W)):(W!==V&&Qe(W),j!==G&&Qe(G)),Qe(j),z>=b.length||!X)break;Qe(X),V=X}}We&&Rt([ze||We[0],Fe||We[1]]),D.push(B.slice(0,Y))}var qe=F.slice(F.length-1);if(L&&qe!=="h"&&qe!=="v"){for(var He=!1,Ce=-1,Se=[],Le=0;Le<D.length;Le++)for(var Ne=0;Ne<D[Le].length-1;Ne++){var je=D[Le][Ne],Je=D[Le][Ne+1],ut=l.applyBackoff(Je,je);(ut[0]!==Je[0]||ut[1]!==Je[1])&&(He=!0),Se[Ce+1]||(Ce++,Se[Ce]=[je,[ut[0],ut[1]]])}return He?Se:D}return D}},11731:function(u){u.exports=function(a,l,v){var i=v("line.shape");i==="spline"&&v("line.smoothing")}},14328:function(u){var h={tonextx:1,tonexty:1,tonext:1};u.exports=function(l,v,i){var S,g,p,_,c,s={},d=!1,f=-1,b=0,x=-1;for(g=0;g<i.length;g++)S=i[g][0].trace,p=S.stackgroup||"",p?p in s?c=s[p]:(c=s[p]=b,b++):S.fill in h&&x>=0?c=x:(c=x=b,b++),c<f&&(d=!0),S._groupIndex=f=c;var y=i.slice();d&&y.sort(function(w,R){var A=w[0].trace,E=R[0].trace;return A._groupIndex-E._groupIndex||A.index-E.index});var C={};for(g=0;g<y.length;g++)S=y[g][0].trace,p=S.stackgroup||"",S.visible===!0?(S._nexttrace=null,S.fill in h&&(_=C[p],S._prevtrace=_||null,_&&(_._nexttrace=S)),S._ownfill=S.fill&&(S.fill.substr(0,6)==="tozero"||S.fill==="toself"||S.fill.substr(0,2)==="to"&&!S._prevtrace),C[p]=S):S._prevtrace=S._nexttrace=S._ownfill=null;return y}},7152:function(u,h,a){var l=a(38248);u.exports=function(i,S){S||(S=2);var g=i.marker,p=g.sizeref||1,_=g.sizemin||0,c=g.sizemode==="area"?function(s){return Math.sqrt(s/p)}:function(s){return s/p};return function(s){var d=c(s/S);return l(d)&&d>0?Math.max(d,_):0}}},5528:function(u){u.exports={container:"marker",min:"cmin",max:"cmax"}},74428:function(u,h,a){var l=a(76308),v=a(94288).hasColorscale,i=a(27260),S=a(43028);u.exports=function(p,_,c,s,d,f){var b=S.isBubble(p),x=(p.line||{}).color,y;if(f=f||{},x&&(c=x),d("marker.symbol"),d("marker.opacity",b?.7:1),d("marker.size"),f.noAngle||(d("marker.angle"),f.noAngleRef||d("marker.angleref"),f.noStandOff||d("marker.standoff")),d("marker.color",c),v(p,"marker")&&i(p,_,s,d,{prefix:"marker.",cLetter:"c"}),f.noSelect||(d("selected.marker.color"),d("unselected.marker.color"),d("selected.marker.size"),d("unselected.marker.size")),f.noLine||(x&&!Array.isArray(x)&&_.marker.color!==x?y=x:b?y=l.background:y=l.defaultLine,d("marker.line.color",y),v(p,"marker.line")&&i(p,_,s,d,{prefix:"marker.line.",cLetter:"c"}),d("marker.line.width",b?1:0)),b&&(d("marker.sizeref"),d("marker.sizemin"),d("marker.sizemode")),f.gradient){var C=d("marker.gradient.type");C!=="none"&&d("marker.gradient.color")}}},31147:function(u,h,a){var l=a(3400).dateTick0,v=a(39032),i=v.ONEWEEK;function S(g,p){return g%i===0?l(p,1):l(p,0)}u.exports=function(p,_,c,s,d){if(d||(d={x:!0,y:!0}),d.x){var f=s("xperiod");f&&(s("xperiod0",S(f,_.xcalendar)),s("xperiodalignment"))}if(d.y){var b=s("yperiod");b&&(s("yperiod0",S(b,_.ycalendar)),s("yperiodalignment"))}}},96504:function(u,h,a){var l=a(33428),v=a(24040),i=a(3400),S=i.ensureSingle,g=i.identity,p=a(43616),_=a(43028),c=a(52340),s=a(14328),d=a(92065).tester;u.exports=function(C,w,R,A,E,k){var L,I,P=!E,M=!!E&&E.duration>0,F=s(C,w,R);if(L=A.selectAll("g.trace").data(F,function(T){return T[0].trace.uid}),L.enter().append("g").attr("class",function(T){return"trace scatter trace"+T[0].trace.uid}).style("stroke-miterlimit",2),L.order(),f(C,L,w),M){k&&(I=k());var N=l.transition().duration(E.duration).ease(E.easing).each("end",function(){I&&I()}).each("interrupt",function(){I&&I()});N.each(function(){A.selectAll("g.trace").each(function(T,D){b(C,D,w,T,F,this,E)})})}else L.each(function(T,D){b(C,D,w,T,F,this,E)});P&&L.exit().remove(),A.selectAll("path:not([d])").remove()};function f(y,C,w){C.each(function(R){var A=S(l.select(this),"g","fills");p.setClipUrl(A,w.layerClipId,y);var E=R[0].trace,k=[];E._ownfill&&k.push("_ownFill"),E._nexttrace&&k.push("_nextFill");var L=A.selectAll("g").data(k,g);L.enter().append("g"),L.exit().each(function(I){E[I]=null}).remove(),L.order().each(function(I){E[I]=S(l.select(this),"path","js-fill")})})}function b(y,C,w,R,A,E,k){var L=y._context.staticPlot,I;x(y,C,w,R,A);var P=!!k&&k.duration>0;function M(Rt){return P?Rt.transition():Rt}var F=w.xaxis,N=w.yaxis,T=R[0].trace,D=T.line,O=l.select(E),U=S(O,"g","errorbars"),B=S(O,"g","lines"),Y=S(O,"g","points"),z=S(O,"g","text");if(v.getComponentMethod("errorbars","plot")(y,U,w,k),T.visible!==!0)return;M(O).style("opacity",T.opacity);var V,j,G=T.fill.charAt(T.fill.length-1);G!=="x"&&G!=="y"&&(G="");var W,X;G==="y"?(W=1,X=N.c2p(0,!0)):G==="x"&&(W=0,X=F.c2p(0,!0)),R[0][w.isRangePlot?"nodeRangePlot3":"node3"]=O;var Q="",ae=[],ie=T._prevtrace,he=null,J=null;ie&&(Q=ie._prevRevpath||"",j=ie._nextFill,ae=ie._ownPolygons,he=ie._fillsegments,J=ie._fillElement);var Z,le,K="",te="",ce,re,ee,de,oe,fe,me=[];T._polygons=[];var Te=[],we=[],Be=i.noop;if(V=T._ownFill,_.hasLines(T)||T.fill!=="none"){j&&j.datum(R),["hv","vh","hvh","vhv"].indexOf(D.shape)!==-1?(ce=p.steps(D.shape),re=p.steps(D.shape.split("").reverse().join(""))):D.shape==="spline"?ce=re=function(Rt){var ct=Rt[Rt.length-1];return Rt.length>1&&Rt[0][0]===ct[0]&&Rt[0][1]===ct[1]?p.smoothclosed(Rt.slice(1),D.smoothing):p.smoothopen(Rt,D.smoothing)}:ce=re=function(Rt){return"M"+Rt.join("L")},ee=function(Rt){return re(Rt.reverse())},we=c(R,{xaxis:F,yaxis:N,trace:T,connectGaps:T.connectgaps,baseTolerance:Math.max(D.width||1,3)/4,shape:D.shape,backoff:D.backoff,simplify:D.simplify,fill:T.fill}),Te=new Array(we.length);var Ae=0;for(I=0;I<we.length;I++){var Re,be=we[I];!Re||!G?(Re=be.slice(),Te[Ae]=Re,Ae++):Re.push.apply(Re,be)}T._fillElement=null,T._fillExclusionElement=J,T._fillsegments=Te.slice(0,Ae),Te=T._fillsegments,we.length&&(de=we[0][0].slice(),oe=we[we.length-1],fe=oe[oe.length-1].slice()),Be=function(Rt){return function(ct){if(Z=ce(ct),le=ee(ct),K?G?(K+="L"+Z.substr(1),te=le+("L"+te.substr(1))):(K+="Z"+Z,te=le+"Z"+te):(K=Z,te=le),_.hasLines(T)){var Ve=l.select(this);if(Ve.datum(R),Rt)M(Ve.style("opacity",0).attr("d",Z).call(p.lineGroupStyle)).style("opacity",1);else{var Qe=M(Ve);Qe.attr("d",Z),p.singleLineStyle(R,Qe)}}}}}var Pe=B.selectAll(".js-line").data(we);M(Pe.exit()).style("opacity",0).remove(),Pe.each(Be(!1)),Pe.enter().append("path").classed("js-line",!0).style("vector-effect",L?"none":"non-scaling-stroke").call(p.lineGroupStyle).each(Be(!0)),p.setClipUrl(Pe,w.layerClipId,y);function Ke(Rt){M(Rt).attr("d","M0,0Z")}var ze=function(){var Rt=new Array(Te.length);for(I=0;I<Te.length;I++)Rt[I]=d(Te[I]);return Rt},Fe=function(Rt){var ct,Ve;if(!Rt||Rt.length===0)for(ct=new Array(Te.length),Ve=0;Ve<Te.length;Ve++){var Qe=Te[Ve][0].slice(),rt=Te[Ve][Te[Ve].length-1].slice();Qe[W]=rt[W]=X;var qe=[rt,Qe],He=qe.concat(Te[Ve]);ct[Ve]=d(He)}else{for(ct=new Array(Rt.length-1+Te.length),Ve=0;Ve<Rt.length-1;Ve++)ct[Ve]=d(Rt[Ve]);var Ce=Rt[Rt.length-1].slice();for(Ce.reverse(),Ve=0;Ve<Te.length;Ve++)ct[Rt.length-1+Ve]=d(Te[Ve].concat(Ce))}return ct};we.length?(V?(V.datum(R),de&&fe&&(G?(de[W]=fe[W]=X,M(V).attr("d","M"+fe+"L"+de+"L"+K.substr(1)).call(p.singleFillStyle,y),me=Fe(null)):(M(V).attr("d",K+"Z").call(p.singleFillStyle,y),me=ze())),T._polygons=me,T._fillElement=V):j&&(T.fill.substr(0,6)==="tonext"&&K&&Q?(T.fill==="tonext"?(M(j).attr("d",K+"Z"+Q+"Z").call(p.singleFillStyle,y),me=ze(),T._polygons=me.concat(ae)):(M(j).attr("d",K+"L"+Q.substr(1)+"Z").call(p.singleFillStyle,y),me=Fe(he),T._polygons=me),T._fillElement=j):Ke(j)),T._prevRevpath=te):(V?Ke(V):j&&Ke(j),T._prevRevpath=null),T._ownPolygons=me;function We(Rt){return Rt.filter(function(ct){return!ct.gap&&ct.vis})}function lt(Rt){return Rt.filter(function(ct){return ct.vis})}function ht(Rt){return Rt.filter(function(ct){return!ct.gap})}function tt(Rt){return Rt.id}function et(Rt){if(Rt.ids)return tt}function pt(){return!1}function vt(Rt,ct,Ve){var Qe,rt,qe,He=Ve[0].trace,Ce=_.hasMarkers(He),Se=_.hasText(He),Le=et(He),Ne=pt,je=pt;if(Ce||Se){var Je=g,ut=He.stackgroup,Et=ut&&y._fullLayout._scatterStackOpts[F._id+N._id][ut].stackgaps==="infer zero";He.marker.maxdisplayed||He._needsCull?Je=Et?lt:We:ut&&!Et&&(Je=ht),Ce&&(Ne=Je),Se&&(je=Je)}rt=Rt.selectAll("path.point"),Qe=rt.data(Ne,Le);var wt=Qe.enter().append("path").classed("point",!0);P&&wt.call(p.pointStyle,He,y).call(p.translatePoints,F,N).style("opacity",0).transition().style("opacity",1),Qe.order();var nr;Ce&&(nr=p.makePointStyleFns(He)),Qe.each(function(ir){var It=l.select(this),Gt=M(It);qe=p.translatePoint(ir,Gt,F,N),qe?(p.singlePointStyle(ir,Gt,He,nr,y),w.layerClipId&&p.hideOutsideRangePoint(ir,Gt,F,N,He.xcalendar,He.ycalendar),He.customdata&&It.classed("plotly-customdata",ir.data!==null&&ir.data!==void 0)):Gt.remove()}),P?Qe.exit().transition().style("opacity",0).remove():Qe.exit().remove(),rt=ct.selectAll("g"),Qe=rt.data(je,Le),Qe.enter().append("g").classed("textpoint",!0).append("text"),Qe.order(),Qe.each(function(ir){var It=l.select(this),Gt=M(It.select("text"));qe=p.translatePoint(ir,Gt,F,N),qe?w.layerClipId&&p.hideOutsideRangePoint(ir,It,F,N,He.xcalendar,He.ycalendar):It.remove()}),Qe.selectAll("text").call(p.textPointStyle,He,y).each(function(ir){var It=F.c2p(ir.x),Gt=N.c2p(ir.y);l.select(this).selectAll("tspan.line").each(function(){M(l.select(this)).attr({x:It,y:Gt})})}),Qe.exit().remove()}Y.datum(R),z.datum(R),vt(Y,z,R);var _t=T.cliponaxis===!1,bt=_t?null:w.layerClipId;p.setClipUrl(Y,bt,y),p.setClipUrl(z,bt,y)}function x(y,C,w,R,A){var E=w.xaxis,k=w.yaxis,L=l.extent(i.simpleMap(E.range,E.r2c)),I=l.extent(i.simpleMap(k.range,k.r2c)),P=R[0].trace;if(_.hasMarkers(P)){var M=P.marker.maxdisplayed;if(M!==0){var F=R.filter(function(O){return O.x>=L[0]&&O.x<=L[1]&&O.y>=I[0]&&O.y<=I[1]}),N=Math.ceil(F.length/M),T=0;A.forEach(function(O,U){var B=O[0].trace;_.hasMarkers(B)&&B.marker.maxdisplayed>0&&U<C&&T++});var D=Math.round(T*N/3+Math.floor(T/3)*N/7.1);R.forEach(function(O){delete O.vis}),F.forEach(function(O,U){Math.round((U+D)%N)===0&&(O.vis=!0)})}}}},91560:function(u,h,a){var l=a(43028);u.exports=function(i,S){var g=i.cd,p=i.xaxis,_=i.yaxis,c=[],s=g[0].trace,d,f,b,x,y=!l.hasMarkers(s)&&!l.hasText(s);if(y)return[];if(S===!1)for(d=0;d<g.length;d++)g[d].selected=0;else for(d=0;d<g.length;d++)f=g[d],b=p.c2p(f.x),x=_.c2p(f.y),f.i!==null&&S.contains([b,x],!1,d,i)?(c.push({pointNumber:f.i,x:p.c2d(f.x),y:_.c2d(f.y)}),f.selected=1):f.selected=0;return c}},43912:function(u){var h=["orientation","groupnorm","stackgaps"];u.exports=function(l,v,i,S){var g=i._scatterStackOpts,p=S("stackgroup");if(p){var _=v.xaxis+v.yaxis,c=g[_];c||(c=g[_]={});var s=c[p],d=!1;s?s.traces.push(v):(s=c[p]={traceIndices:[],traces:[v]},d=!0);for(var f={orientation:v.x&&!v.y?"h":"v"},b=0;b<h.length;b++){var x=h[b],y=x+"Found";if(!s[y]){var C=l[x]!==void 0,w=x==="orientation";if((C||d)&&(s[x]=S(x,f[x]),w&&(s.fillDflt=s[x]==="h"?"tonextx":"tonexty"),C&&(s[y]=!0,!d&&(delete s.traces[0][x],w))))for(var R=0;R<s.traces.length-1;R++){var A=s.traces[R];A._input.fill!==A.fill&&(A.fill=s.fillDflt)}}}return s}}},49224:function(u,h,a){var l=a(33428),v=a(43616),i=a(24040);function S(c){var s=l.select(c).selectAll("g.trace.scatter");s.style("opacity",function(d){return d[0].trace.opacity}),s.selectAll("g.points").each(function(d){var f=l.select(this),b=d.trace||d[0].trace;g(f,b,c)}),s.selectAll("g.text").each(function(d){var f=l.select(this),b=d.trace||d[0].trace;p(f,b,c)}),s.selectAll("g.trace path.js-line").call(v.lineGroupStyle),s.selectAll("g.trace path.js-fill").call(v.fillGroupStyle,c,!1),i.getComponentMethod("errorbars","style")(s)}function g(c,s,d){v.pointStyle(c.selectAll("path.point"),s,d)}function p(c,s,d){v.textPointStyle(c.selectAll("text"),s,d)}function _(c,s,d){var f=s[0].trace;f.selectedpoints?(v.selectedPointStyle(d.selectAll("path.point"),f),v.selectedTextStyle(d.selectAll("text"),f)):(g(d,f,c),p(d,f,c))}u.exports={style:S,stylePoints:g,styleText:p,styleOnSelect:_}},43028:function(u,h,a){var l=a(3400),v=a(38116).isTypedArraySpec;u.exports={hasLines:function(i){return i.visible&&i.mode&&i.mode.indexOf("lines")!==-1},hasMarkers:function(i){return i.visible&&(i.mode&&i.mode.indexOf("markers")!==-1||i.type==="splom")},hasText:function(i){return i.visible&&i.mode&&i.mode.indexOf("text")!==-1},isBubble:function(i){var S=i.marker;return l.isPlainObject(S)&&(l.isArrayOrTypedArray(S.size)||v(S.size))}}},124:function(u,h,a){var l=a(3400);u.exports=function(v,i,S,g,p){p=p||{},g("textposition"),l.coerceFont(g,"textfont",p.font||S.font),p.noSelect||(g("selected.textfont.color"),g("unselected.textfont.color"))}},43980:function(u,h,a){var l=a(3400),v=a(24040);u.exports=function(S,g,p,_){var c=_("x"),s=_("y"),d,f=v.getComponentMethod("calendars","handleTraceDefaults");if(f(S,g,["x","y"],p),c){var b=l.minRowLength(c);s?d=Math.min(b,l.minRowLength(s)):(d=b,_("y0"),_("dy"))}else{if(!s)return 0;d=l.minRowLength(s),_("x0"),_("dx")}return g._length=d,d}},91592:function(u,h,a){var l=a(52904),v=a(49084),i=a(29736).axisHoverFormat,S=a(21776).Ks,g=a(21776).Gw,p=a(45464),_=a(99168),c=a(87792),s=a(92880).extendFlat,d=a(67824).overrideAll,f=a(95376),b=l.line,x=l.marker,y=x.line,C=s({width:b.width,dash:{valType:"enumerated",values:f(_),dflt:"solid"}},v("line"));function w(A){return{show:{valType:"boolean",dflt:!1},opacity:{valType:"number",min:0,max:1,dflt:1},scale:{valType:"number",min:0,max:10,dflt:.6666666666666666}}}var R=u.exports=d({x:l.x,y:l.y,z:{valType:"data_array"},text:s({},l.text,{}),texttemplate:g({},{}),hovertext:s({},l.hovertext,{}),hovertemplate:S(),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),mode:s({},l.mode,{dflt:"lines+markers"}),surfaceaxis:{valType:"enumerated",values:[-1,0,1,2],dflt:-1},surfacecolor:{valType:"color"},projection:{x:w(),y:w(),z:w()},connectgaps:l.connectgaps,line:C,marker:s({symbol:{valType:"enumerated",values:f(c),dflt:"circle",arrayOk:!0},size:s({},x.size,{dflt:8}),sizeref:x.sizeref,sizemin:x.sizemin,sizemode:x.sizemode,opacity:s({},x.opacity,{arrayOk:!1}),colorbar:x.colorbar,line:s({width:s({},y.width,{arrayOk:!1})},v("marker.line"))},v("marker")),textposition:s({},l.textposition,{dflt:"top center"}),textfont:{color:l.textfont.color,size:l.textfont.size,family:s({},l.textfont.family,{arrayOk:!1})},opacity:p.opacity,hoverinfo:s({},p.hoverinfo)},"calc","nested");R.x.editType=R.y.editType=R.z.editType="calc+clearAxisTypes"},41484:function(u,h,a){var l=a(20148),v=a(90136);u.exports=function(S,g){var p=[{x:!1,y:!1,trace:g,t:{}}];return l(p,g),v(S,g),p}},45156:function(u,h,a){var l=a(24040);function v(g,p,_,c){if(!p||!p.visible)return null;for(var s=l.getComponentMethod("errorbars","makeComputeError")(p),d=new Array(g.length),f=0;f<g.length;f++){var b=s(+g[f],f);if(c.type==="log"){var x=c.c2l(g[f]),y=g[f]-b[0],C=g[f]+b[1];if(d[f]=[(c.c2l(y,!0)-x)*_,(c.c2l(C,!0)-x)*_],y>0){var w=c.c2l(y);c._lowerLogErrorBound||(c._lowerLogErrorBound=w),c._lowerErrorBound=Math.min(c._lowerLogErrorBound,w)}}else d[f]=[-b[0]*_,b[1]*_]}return d}function i(g){for(var p=0;p<g.length;p++)if(g[p])return g[p].length;return 0}function S(g,p,_){var c=[v(g.x,g.error_x,p[0],_.xaxis),v(g.y,g.error_y,p[1],_.yaxis),v(g.z,g.error_z,p[2],_.zaxis)],s=i(c);if(s===0)return null;for(var d=new Array(s),f=0;f<s;f++){for(var b=[[0,0,0],[0,0,0]],x=0;x<3;x++)if(c[x])for(var y=0;y<2;y++)b[y][x]=c[x][f][y];d[f]=b}return d}u.exports=S},41064:function(u,h,a){var l=a(67792).gl_line3d,v=a(67792).gl_scatter3d,i=a(67792).gl_error3d,S=a(67792).gl_mesh3d,g=a(67792).delaunay_triangulate,p=a(3400),_=a(43080),c=a(33040).formatColor,s=a(7152),d=a(99168),f=a(87792),b=a(54460),x=a(10624).appendArrayPointValue,y=a(45156);function C(O,U){this.scene=O,this.uid=U,this.linePlot=null,this.scatterPlot=null,this.errorBars=null,this.textMarkers=null,this.delaunayMesh=null,this.color=null,this.mode="",this.dataPoints=[],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.textLabels=null,this.data=null}var w=C.prototype;w.handlePick=function(O){if(O.object&&(O.object===this.linePlot||O.object===this.delaunayMesh||O.object===this.textMarkers||O.object===this.scatterPlot)){var U=O.index=O.data.index;return O.object.highlight&&O.object.highlight(null),this.scatterPlot&&(O.object=this.scatterPlot,this.scatterPlot.highlight(O.data)),O.textLabel="",this.textLabels&&(p.isArrayOrTypedArray(this.textLabels)?(this.textLabels[U]||this.textLabels[U]===0)&&(O.textLabel=this.textLabels[U]):O.textLabel=this.textLabels),O.traceCoordinate=[this.data.x[U],this.data.y[U],this.data.z[U]],!0}};function R(O,U,B){var Y=(B+1)%3,z=(B+2)%3,V=[],j=[],G;for(G=0;G<O.length;++G){var W=O[G];isNaN(W[Y])||!isFinite(W[Y])||isNaN(W[z])||!isFinite(W[z])||(V.push([W[Y],W[z]]),j.push(G))}var X=g(V);for(G=0;G<X.length;++G)for(var Q=X[G],ae=0;ae<Q.length;++ae)Q[ae]=j[Q[ae]];return{positions:O,cells:X,meshColor:U}}function A(O){for(var U=[0,0,0],B=[[0,0,0],[0,0,0],[0,0,0]],Y=[1,1,1],z=0;z<3;z++){var V=O[z];V&&V.copy_zstyle!==!1&&O[2].visible!==!1&&(V=O[2]),!(!V||!V.visible)&&(U[z]=V.width/2,B[z]=_(V.color),Y[z]=V.thickness)}return{capSize:U,color:B,lineWidth:Y}}function E(O){return O==null?0:O.indexOf("left")>-1?-1:O.indexOf("right")>-1?1:0}function k(O){return O==null?0:O.indexOf("top")>-1?-1:O.indexOf("bottom")>-1?1:0}function L(O){var U=0,B=0,Y=[U,B];if(Array.isArray(O))for(var z=0;z<O.length;z++)Y[z]=[U,B],O[z]&&(Y[z][0]=E(O[z]),Y[z][1]=k(O[z]));else Y[0]=E(O),Y[1]=k(O);return Y}function I(O,U){return U(O*4)}function P(O){return f[O]}function M(O,U,B,Y,z){var V=null;if(p.isArrayOrTypedArray(O)){V=[];for(var j=0;j<U;j++)O[j]===void 0?V[j]=Y:V[j]=B(O[j],z)}else V=B(O,p.identity);return V}function F(O,U){var B=[],Y=O.fullSceneLayout,z=O.dataScale,V=Y.xaxis,j=Y.yaxis,G=Y.zaxis,W=U.marker,X=U.line,Q=U.x||[],ae=U.y||[],ie=U.z||[],he=Q.length,J=U.xcalendar,Z=U.ycalendar,le=U.zcalendar,K,te,ce,re,ee,de;for(ee=0;ee<he;ee++)K=V.d2l(Q[ee],0,J)*z[0],te=j.d2l(ae[ee],0,Z)*z[1],ce=G.d2l(ie[ee],0,le)*z[2],B[ee]=[K,te,ce];if(Array.isArray(U.text))de=U.text;else if(p.isTypedArray(U.text))de=Array.from(U.text);else if(U.text!==void 0)for(de=new Array(he),ee=0;ee<he;ee++)de[ee]=U.text;function oe(ht,tt){var et=Y[ht];return b.tickText(et,et.d2l(tt),!0).text}var fe=U.texttemplate;if(fe){var me=O.fullLayout,Te=me._d3locale,we=Array.isArray(fe),Be=we?Math.min(fe.length,he):he,Ae=we?function(ht){return fe[ht]}:function(){return fe};for(de=new Array(Be),ee=0;ee<Be;ee++){var Re={x:Q[ee],y:ae[ee],z:ie[ee]},be={xLabel:oe("xaxis",Q[ee]),yLabel:oe("yaxis",ae[ee]),zLabel:oe("zaxis",ie[ee])},Pe={};x(Pe,U,ee);var Ke=U._meta||{};de[ee]=p.texttemplateString(Ae(ee),be,Te,Pe,Re,Ke)}}if(re={position:B,mode:U.mode,text:de},"line"in U&&(re.lineColor=c(X,1,he),re.lineWidth=X.width,re.lineDashes=X.dash),"marker"in U){var ze=s(U);re.scatterColor=c(W,1,he),re.scatterSize=M(W.size,he,I,20,ze),re.scatterMarker=M(W.symbol,he,P,"●"),re.scatterLineWidth=W.line.width,re.scatterLineColor=c(W.line,1,he),re.scatterAngle=0}"textposition"in U&&(re.textOffset=L(U.textposition),re.textColor=c(U.textfont,1,he),re.textSize=M(U.textfont.size,he,p.identity,12),re.textFont=U.textfont.family,re.textAngle=0);var Fe=["x","y","z"];for(re.project=[!1,!1,!1],re.projectScale=[1,1,1],re.projectOpacity=[1,1,1],ee=0;ee<3;++ee){var We=U.projection[Fe[ee]];(re.project[ee]=We.show)&&(re.projectOpacity[ee]=We.opacity,re.projectScale[ee]=We.scale)}re.errorBounds=y(U,z,Y);var lt=A([U.error_x,U.error_y,U.error_z]);return re.errorColor=lt.color,re.errorLineWidth=lt.lineWidth,re.errorCapSize=lt.capSize,re.delaunayAxis=U.surfaceaxis,re.delaunayColor=_(U.surfacecolor),re}function N(O){if(p.isArrayOrTypedArray(O)){var U=O[0];return p.isArrayOrTypedArray(U)&&(O=U),"rgb("+O.slice(0,3).map(function(B){return Math.round(B*255)})+")"}return null}function T(O){return p.isArrayOrTypedArray(O)?O.length===4&&typeof O[0]=="number"?N(O):O.map(N):null}w.update=function(O){var U=this.scene.glplot.gl,B,Y,z,V,j=d.solid;this.data=O;var G=F(this.scene,O);"mode"in G&&(this.mode=G.mode),"lineDashes"in G&&G.lineDashes in d&&(j=d[G.lineDashes]),this.color=T(G.scatterColor)||T(G.lineColor),this.dataPoints=G.position,B={gl:this.scene.glplot.gl,position:G.position,color:G.lineColor,lineWidth:G.lineWidth||1,dashes:j[0],dashScale:j[1],opacity:O.opacity,connectGaps:O.connectgaps},this.mode.indexOf("lines")!==-1?this.linePlot?this.linePlot.update(B):(this.linePlot=l(B),this.linePlot._trace=this,this.scene.glplot.add(this.linePlot)):this.linePlot&&(this.scene.glplot.remove(this.linePlot),this.linePlot.dispose(),this.linePlot=null);var W=O.opacity;if(O.marker&&O.marker.opacity!==void 0&&(W*=O.marker.opacity),Y={gl:this.scene.glplot.gl,position:G.position,color:G.scatterColor,size:G.scatterSize,glyph:G.scatterMarker,opacity:W,orthographic:!0,lineWidth:G.scatterLineWidth,lineColor:G.scatterLineColor,project:G.project,projectScale:G.projectScale,projectOpacity:G.projectOpacity},this.mode.indexOf("markers")!==-1?this.scatterPlot?this.scatterPlot.update(Y):(this.scatterPlot=v(Y),this.scatterPlot._trace=this,this.scatterPlot.highlightScale=1,this.scene.glplot.add(this.scatterPlot)):this.scatterPlot&&(this.scene.glplot.remove(this.scatterPlot),this.scatterPlot.dispose(),this.scatterPlot=null),V={gl:this.scene.glplot.gl,position:G.position,glyph:G.text,color:G.textColor,size:G.textSize,angle:G.textAngle,alignment:G.textOffset,font:G.textFont,orthographic:!0,lineWidth:0,project:!1,opacity:O.opacity},this.textLabels=O.hovertext||O.text,this.mode.indexOf("text")!==-1?this.textMarkers?this.textMarkers.update(V):(this.textMarkers=v(V),this.textMarkers._trace=this,this.textMarkers.highlightScale=1,this.scene.glplot.add(this.textMarkers)):this.textMarkers&&(this.scene.glplot.remove(this.textMarkers),this.textMarkers.dispose(),this.textMarkers=null),z={gl:this.scene.glplot.gl,position:G.position,color:G.errorColor,error:G.errorBounds,lineWidth:G.errorLineWidth,capSize:G.errorCapSize,opacity:O.opacity},this.errorBars?G.errorBounds?this.errorBars.update(z):(this.scene.glplot.remove(this.errorBars),this.errorBars.dispose(),this.errorBars=null):G.errorBounds&&(this.errorBars=i(z),this.errorBars._trace=this,this.scene.glplot.add(this.errorBars)),G.delaunayAxis>=0){var X=R(G.position,G.delaunayColor,G.delaunayAxis);X.opacity=O.opacity,this.delaunayMesh?this.delaunayMesh.update(X):(X.gl=U,this.delaunayMesh=S(X),this.delaunayMesh._trace=this,this.scene.glplot.add(this.delaunayMesh))}else this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose(),this.delaunayMesh=null)},w.dispose=function(){this.linePlot&&(this.scene.glplot.remove(this.linePlot),this.linePlot.dispose()),this.scatterPlot&&(this.scene.glplot.remove(this.scatterPlot),this.scatterPlot.dispose()),this.errorBars&&(this.scene.glplot.remove(this.errorBars),this.errorBars.dispose()),this.textMarkers&&(this.scene.glplot.remove(this.textMarkers),this.textMarkers.dispose()),this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose())};function D(O,U){var B=new C(O,U.uid);return B.update(U),B}u.exports=D},83484:function(u,h,a){var l=a(24040),v=a(3400),i=a(43028),S=a(74428),g=a(66828),p=a(124),_=a(91592);u.exports=function(d,f,b,x){function y(I,P){return v.coerce(d,f,_,I,P)}var C=c(d,f,y,x);if(!C){f.visible=!1;return}y("text"),y("hovertext"),y("hovertemplate"),y("xhoverformat"),y("yhoverformat"),y("zhoverformat"),y("mode"),i.hasMarkers(f)&&S(d,f,b,x,y,{noSelect:!0,noAngle:!0}),i.hasLines(f)&&(y("connectgaps"),g(d,f,b,x,y)),i.hasText(f)&&(y("texttemplate"),p(d,f,x,y,{noSelect:!0}));var w=(f.line||{}).color,R=(f.marker||{}).color;y("surfaceaxis")>=0&&y("surfacecolor",w||R);for(var A=["x","y","z"],E=0;E<3;++E){var k="projection."+A[E];y(k+".show")&&(y(k+".opacity"),y(k+".scale"))}var L=l.getComponentMethod("errorbars","supplyDefaults");L(d,f,w||R||b,{axis:"z"}),L(d,f,w||R||b,{axis:"y",inherit:"z"}),L(d,f,w||R||b,{axis:"x",inherit:"z"})};function c(s,d,f,b){var x=0,y=f("x"),C=f("y"),w=f("z"),R=l.getComponentMethod("calendars","handleTraceDefaults");return R(s,d,["x","y","z"],b),y&&C&&w&&(x=Math.min(y.length,C.length,w.length),d._length=d._xlength=d._ylength=d._zlength=x),x}},3296:function(u,h,a){u.exports={plot:a(41064),attributes:a(91592),markerSymbols:a(87792),supplyDefaults:a(83484),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:a(41484),moduleType:"trace",name:"scatter3d",basePlotModule:a(12536),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{}}},90372:function(u,h,a){var l=a(98304),v=a(52904),i=a(45464),S=a(21776).Ks,g=a(21776).Gw,p=a(49084),_=a(92880).extendFlat,c=v.marker,s=v.line,d=c.line;u.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:_({},v.mode,{dflt:"markers"}),text:_({},v.text,{}),texttemplate:g({editType:"plot"},{keys:["a","b","text"]}),hovertext:_({},v.hovertext,{}),line:{color:s.color,width:s.width,dash:s.dash,backoff:s.backoff,shape:_({},s.shape,{values:["linear","spline"]}),smoothing:s.smoothing,editType:"calc"},connectgaps:v.connectgaps,fill:_({},v.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:l(),marker:_({symbol:c.symbol,opacity:c.opacity,maxdisplayed:c.maxdisplayed,angle:c.angle,angleref:c.angleref,standoff:c.standoff,size:c.size,sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode,line:_({width:d.width,editType:"calc"},p("marker.line")),gradient:c.gradient,editType:"calc"},p("marker")),textfont:v.textfont,textposition:v.textposition,selected:v.selected,unselected:v.unselected,hoverinfo:_({},i.hoverinfo,{flags:["a","b","text","name"]}),hoveron:v.hoveron,hovertemplate:S()}},48228:function(u,h,a){var l=a(38248),v=a(90136),i=a(20148),S=a(4500),g=a(16356).calcMarkerSize,p=a(50948);u.exports=function(c,s){var d=s._carpetTrace=p(c,s);if(!(!d||!d.visible||d.visible==="legendonly")){var f;s.xaxis=d.xaxis,s.yaxis=d.yaxis;var b=s._length,x=new Array(b),y,C,w=!1;for(f=0;f<b;f++)if(y=s.a[f],C=s.b[f],l(y)&&l(C)){var R=d.ab2xy(+y,+C,!0),A=d.isVisible(+y,+C);A||(w=!0),x[f]={x:R[0],y:R[1],a:y,b:C,vis:A}}else x[f]={x:!1,y:!1};return s._needsCull=w,x[0].carpet=d,x[0].trace=s,g(s,b),v(c,s),i(x,s),S(x,s),x}}},6176:function(u,h,a){var l=a(3400),v=a(88200),i=a(43028),S=a(74428),g=a(66828),p=a(11731),_=a(124),c=a(70840),s=a(90372);u.exports=function(f,b,x,y){function C(I,P){return l.coerce(f,b,s,I,P)}C("carpet"),b.xaxis="x",b.yaxis="y";var w=C("a"),R=C("b"),A=Math.min(w.length,R.length);if(!A){b.visible=!1;return}b._length=A,C("text"),C("texttemplate"),C("hovertext");var E=A<v.PTS_LINESONLY?"lines+markers":"lines";C("mode",E),i.hasMarkers(b)&&S(f,b,x,y,C,{gradient:!0}),i.hasLines(b)&&(g(f,b,x,y,C,{backoff:!0}),p(f,b,C),C("connectgaps")),i.hasText(b)&&_(f,b,y,C);var k=[];(i.hasMarkers(b)||i.hasText(b))&&(C("marker.maxdisplayed"),k.push("points")),C("fill"),b.fill!=="none"&&(c(f,b,x,C),i.hasLines(b)||p(f,b,C)),(b.fill==="tonext"||b.fill==="toself")&&k.push("fills");var L=C("hoveron",k.join("+")||"points");L!=="fills"&&C("hovertemplate"),l.coerceSelectionMarkerOpacity(b,C)}},89307:function(u){u.exports=function(a,l,v,i,S){var g=i[S];return a.a=g.a,a.b=g.b,a.y=g.y,a}},52364:function(u){u.exports=function(a,l){var v={},i=l._carpet,S=i.ab2ij([a.a,a.b]),g=Math.floor(S[0]),p=S[0]-g,_=Math.floor(S[1]),c=S[1]-_,s=i.evalxy([],g,_,p,c);return v.yLabel=s[1].toFixed(3),v}},58960:function(u,h,a){var l=a(98723),v=a(3400).fillText;u.exports=function(S,g,p,_){var c=l(S,g,p,_);if(!c||c[0].index===!1)return;var s=c[0];if(s.index===void 0){var d=1-s.y0/S.ya._length,f=S.xa._length,b=f*d/2,x=f-b;return s.x0=Math.max(Math.min(s.x0,x),b),s.x1=Math.max(Math.min(s.x1,x),b),c}var y=s.cd[s.index];s.a=y.a,s.b=y.b,s.xLabelVal=void 0,s.yLabelVal=void 0;var C=s.trace,w=C._carpet,R=C._module.formatLabels(y,C);s.yLabel=R.yLabel,delete s.text;var A=[];function E(I,P){var M;I.labelprefix&&I.labelprefix.length>0?M=I.labelprefix.replace(/ = $/,""):M=I._hovertitle,A.push(M+": "+P.toFixed(3)+I.labelsuffix)}if(!C.hovertemplate){var k=y.hi||C.hoverinfo,L=k.split("+");L.indexOf("all")!==-1&&(L=["a","b","text"]),L.indexOf("a")!==-1&&E(w.aaxis,y.a),L.indexOf("b")!==-1&&E(w.baxis,y.b),A.push("y: "+s.yLabel),L.indexOf("text")!==-1&&v(y,C,A),s.extraText=A.join("<br>")}return c}},4184:function(u,h,a){u.exports={attributes:a(90372),supplyDefaults:a(6176),colorbar:a(5528),formatLabels:a(52364),calc:a(48228),plot:a(20036),style:a(49224).style,styleOnSelect:a(49224).styleOnSelect,hoverPoints:a(58960),selectPoints:a(91560),eventData:a(89307),moduleType:"trace",name:"scattercarpet",basePlotModule:a(57952),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}},20036:function(u,h,a){var l=a(96504),v=a(54460),i=a(43616);u.exports=function(g,p,_,c){var s,d,f,b=_[0][0].carpet,x=v.getFromId(g,b.xaxis||"x"),y=v.getFromId(g,b.yaxis||"y"),C={xaxis:x,yaxis:y,plot:p.plot};for(s=0;s<_.length;s++)d=_[s][0].trace,d._xA=x,d._yA=y;for(l(g,C,_,c),s=0;s<_.length;s++)d=_[s][0].trace,f=c.selectAll("g.trace"+d.uid+" .js-line"),i.setClipUrl(f,_[s][0].carpet._clipPathId,g)}},6096:function(u,h,a){var l=a(21776).Ks,v=a(21776).Gw,i=a(98304),S=a(52904),g=a(45464),p=a(49084),_=a(98192).u,c=a(92880).extendFlat,s=a(67824).overrideAll,d=S.marker,f=S.line,b=d.line;u.exports=s({lon:{valType:"data_array"},lat:{valType:"data_array"},locations:{valType:"data_array"},locationmode:{valType:"enumerated",values:["ISO-3","USA-states","country names","geojson-id"],dflt:"ISO-3"},geojson:{valType:"any",editType:"calc"},featureidkey:{valType:"string",editType:"calc",dflt:"id"},mode:c({},S.mode,{dflt:"markers"}),text:c({},S.text,{}),texttemplate:v({editType:"plot"},{keys:["lat","lon","location","text"]}),hovertext:c({},S.hovertext,{}),textfont:S.textfont,textposition:S.textposition,line:{color:f.color,width:f.width,dash:_},connectgaps:S.connectgaps,marker:c({symbol:d.symbol,opacity:d.opacity,angle:d.angle,angleref:c({},d.angleref,{values:["previous","up","north"]}),standoff:d.standoff,size:d.size,sizeref:d.sizeref,sizemin:d.sizemin,sizemode:d.sizemode,colorbar:d.colorbar,line:c({width:b.width},p("marker.line")),gradient:d.gradient},p("marker")),fill:{valType:"enumerated",values:["none","toself"],dflt:"none"},fillcolor:i(),selected:S.selected,unselected:S.unselected,hoverinfo:c({},g.hoverinfo,{flags:["lon","lat","location","text","name"]}),hovertemplate:l()},"calc","nested")},25212:function(u,h,a){var l=a(38248),v=a(39032).BADNUM,i=a(90136),S=a(20148),g=a(4500),p=a(3400).isArrayOrTypedArray,_=a(3400)._;function c(s){return s&&typeof s=="string"}u.exports=function(d,f){var b=p(f.locations),x=b?f.locations.length:f._length,y=new Array(x),C;f.geojson?C=function(L){return c(L)||l(L)}:C=c;for(var w=0;w<x;w++){var R=y[w]={};if(b){var A=f.locations[w];R.loc=C(A)?A:null}else{var E=f.lon[w],k=f.lat[w];l(E)&&l(k)?R.lonlat=[+E,+k]:R.lonlat=[v,v]}}return S(y,f),i(d,f),g(y,f),x&&(y[0].t={labels:{lat:_(d,"lat:")+" ",lon:_(d,"lon:")+" "}}),y}},86188:function(u,h,a){var l=a(3400),v=a(43028),i=a(74428),S=a(66828),g=a(124),p=a(70840),_=a(6096);u.exports=function(s,d,f,b){function x(L,I){return l.coerce(s,d,_,L,I)}var y=x("locations"),C;if(y&&y.length){var w=x("geojson"),R;(typeof w=="string"&&w!==""||l.isPlainObject(w))&&(R="geojson-id");var A=x("locationmode",R);A==="geojson-id"&&x("featureidkey"),C=y.length}else{var E=x("lon")||[],k=x("lat")||[];C=Math.min(E.length,k.length)}if(!C){d.visible=!1;return}d._length=C,x("text"),x("hovertext"),x("hovertemplate"),x("mode"),v.hasMarkers(d)&&i(s,d,f,b,x,{gradient:!0}),v.hasLines(d)&&(S(s,d,f,b,x),x("connectgaps")),v.hasText(d)&&(x("texttemplate"),g(s,d,b,x)),x("fill"),d.fill!=="none"&&p(s,d,f,x),l.coerceSelectionMarkerOpacity(d,x)}},58544:function(u){u.exports=function(a,l,v,i,S){a.lon=l.lon,a.lat=l.lat,a.location=l.loc?l.loc:null;var g=i[S];return g.fIn&&g.fIn.properties&&(a.properties=g.fIn.properties),a}},56696:function(u,h,a){var l=a(54460);u.exports=function(i,S,g){var p={},_=g[S.geo]._subplot,c=_.mockAxis,s=i.lonlat;return p.lonLabel=l.tickText(c,c.c2l(s[0]),!0).text,p.latLabel=l.tickText(c,c.c2l(s[1]),!0).text,p}},64292:function(u,h,a){var l=a(93024),v=a(39032).BADNUM,i=a(44928),S=a(3400).fillText,g=a(6096);u.exports=function(c,s,d){var f=c.cd,b=f[0].trace,x=c.xa,y=c.ya,C=c.subplot,w=C.projection.isLonLatOverEdges,R=C.project;function A(F){var N=F.lonlat;if(N[0]===v||w(N))return 1/0;var T=R(N),D=R([s,d]),O=Math.abs(T[0]-D[0]),U=Math.abs(T[1]-D[1]),B=Math.max(3,F.mrc||0);return Math.max(Math.sqrt(O*O+U*U)-B,1-3/B)}if(l.getClosest(f,A,c),c.index!==!1){var E=f[c.index],k=E.lonlat,L=[x.c2p(k),y.c2p(k)],I=E.mrc||1;c.x0=L[0]-I,c.x1=L[0]+I,c.y0=L[1]-I,c.y1=L[1]+I,c.loc=E.loc,c.lon=k[0],c.lat=k[1];var P={};P[b.geo]={_subplot:C};var M=b._module.formatLabels(E,b,P);return c.lonLabel=M.lonLabel,c.latLabel=M.latLabel,c.color=i(b,E),c.extraText=p(b,E,c,f[0].t.labels),c.hovertemplate=b.hovertemplate,[c]}};function p(_,c,s,d){if(_.hovertemplate)return;var f=c.hi||_.hoverinfo,b=f==="all"?g.hoverinfo.flags:f.split("+"),x=b.indexOf("location")!==-1&&Array.isArray(_.locations),y=b.indexOf("lon")!==-1,C=b.indexOf("lat")!==-1,w=b.indexOf("text")!==-1,R=[];function A(E){return E+"°"}return x?R.push(c.loc):y&&C?R.push("("+A(s.latLabel)+", "+A(s.lonLabel)+")"):y?R.push(d.lon+A(s.lonLabel)):C&&R.push(d.lat+A(s.latLabel)),w&&S(c,_,R),R.join("<br>")}},36952:function(u,h,a){u.exports={attributes:a(6096),supplyDefaults:a(86188),colorbar:a(5528),formatLabels:a(56696),calc:a(25212),calcGeoJSON:a(48691).calcGeoJSON,plot:a(48691).plot,style:a(25064),styleOnSelect:a(49224).styleOnSelect,hoverPoints:a(64292),eventData:a(58544),selectPoints:a(8796),moduleType:"trace",name:"scattergeo",basePlotModule:a(10816),categories:["geo","symbols","showLegend","scatter-like"],meta:{}}},48691:function(u,h,a){var l=a(33428),v=a(3400),i=a(59972).getTopojsonFeatures,S=a(44808),g=a(27144),p=a(19280).findExtremes,_=a(39032).BADNUM,c=a(16356).calcMarkerSize,s=a(43028),d=a(25064);function f(x,y,C){var w=y.layers.frontplot.select(".scatterlayer"),R=v.makeTraceGroups(w,C,"trace scattergeo");function A(E,k){E.lonlat[0]===_&&l.select(k).remove()}R.selectAll("*").remove(),R.each(function(E){var k=l.select(this),L=E[0].trace;if(s.hasLines(L)||L.fill!=="none"){var I=S.calcTraceToLineCoords(E),P=L.fill!=="none"?S.makePolygon(I):S.makeLine(I);k.selectAll("path.js-line").data([{geojson:P,trace:L}]).enter().append("path").classed("js-line",!0).style("stroke-miterlimit",2)}s.hasMarkers(L)&&k.selectAll("path.point").data(v.identity).enter().append("path").classed("point",!0).each(function(M){A(M,this)}),s.hasText(L)&&k.selectAll("g").data(v.identity).enter().append("g").append("text").each(function(M){A(M,this)}),d(x,E)})}function b(x,y){var C=x[0].trace,w=y[C.geo],R=w._subplot,A=C._length,E,k;if(v.isArrayOrTypedArray(C.locations)){var L=C.locationmode,I=L==="geojson-id"?g.extractTraceFeature(x):i(C,R.topojson);for(E=0;E<A;E++){k=x[E];var P=L==="geojson-id"?k.fOut:g.locationToFeature(L,k.loc,I);k.lonlat=P?P.properties.ct:[_,_]}}var M={padded:!0},F,N;if(w.fitbounds==="geojson"&&C.locationmode==="geojson-id"){var T=g.computeBbox(g.getTraceGeojson(C));F=[T[0],T[2]],N=[T[1],T[3]]}else{for(F=new Array(A),N=new Array(A),E=0;E<A;E++)k=x[E],F[E]=k.lonlat[0],N[E]=k.lonlat[1];M.ppad=c(C,A)}C._extremes.lon=p(w.lonaxis._ax,F,M),C._extremes.lat=p(w.lataxis._ax,N,M)}u.exports={calcGeoJSON:b,plot:f}},8796:function(u,h,a){var l=a(43028),v=a(39032).BADNUM;u.exports=function(S,g){var p=S.cd,_=S.xaxis,c=S.yaxis,s=[],d=p[0].trace,f,b,x,y,C,w=!l.hasMarkers(d)&&!l.hasText(d);if(w)return[];if(g===!1)for(C=0;C<p.length;C++)p[C].selected=0;else for(C=0;C<p.length;C++)f=p[C],b=f.lonlat,b[0]!==v&&(x=_.c2p(b),y=c.c2p(b),g.contains([x,y],null,C,S)?(s.push({pointNumber:C,lon:b[0],lat:b[1]}),f.selected=1):f.selected=0);return s}},25064:function(u,h,a){var l=a(33428),v=a(43616),i=a(76308),S=a(49224),g=S.stylePoints,p=S.styleText;u.exports=function(s,d){d&&_(s,d)};function _(c,s){var d=s[0].trace,f=s[0].node3;f.style("opacity",s[0].trace.opacity),g(f,d,c),p(f,d,c),f.selectAll("path.js-line").style("fill","none").each(function(b){var x=l.select(this),y=b.trace,C=y.line||{};x.call(i.stroke,C.color).call(v.dashLine,C.dash||"",C.width||0),y.fill!=="none"&&x.call(i.fill,y.fillcolor)})}},2876:function(u,h,a){var l=a(45464),v=a(98304),i=a(52904),S=a(29736).axisHoverFormat,g=a(49084),p=a(95376),_=a(92880).extendFlat,c=a(67824).overrideAll,s=a(67072).DASHES,d=i.line,f=i.marker,b=f.line,x=u.exports=c({x:i.x,x0:i.x0,dx:i.dx,y:i.y,y0:i.y0,dy:i.dy,xperiod:i.xperiod,yperiod:i.yperiod,xperiod0:i.xperiod0,yperiod0:i.yperiod0,xperiodalignment:i.xperiodalignment,yperiodalignment:i.yperiodalignment,xhoverformat:S("x"),yhoverformat:S("y"),text:i.text,hovertext:i.hovertext,textposition:i.textposition,textfont:i.textfont,mode:{valType:"flaglist",flags:["lines","markers","text"],extras:["none"]},line:{color:d.color,width:d.width,shape:{valType:"enumerated",values:["linear","hv","vh","hvh","vhv"],dflt:"linear",editType:"plot"},dash:{valType:"enumerated",values:p(s),dflt:"solid"}},marker:_({},g("marker"),{symbol:f.symbol,angle:f.angle,size:f.size,sizeref:f.sizeref,sizemin:f.sizemin,sizemode:f.sizemode,opacity:f.opacity,colorbar:f.colorbar,line:_({},g("marker.line"),{width:b.width})}),connectgaps:i.connectgaps,fill:_({},i.fill,{dflt:"none"}),fillcolor:v(),selected:{marker:i.selected.marker,textfont:i.selected.textfont},unselected:{marker:i.unselected.marker,textfont:i.unselected.textfont},opacity:l.opacity},"calc","nested");x.x.editType=x.y.editType=x.x0.editType=x.y0.editType="calc+clearAxisTypes",x.hovertemplate=i.hovertemplate,x.texttemplate=i.texttemplate},64628:function(u,h,a){var l=a(41272);u.exports={moduleType:"trace",name:"scattergl",basePlotModule:a(57952),categories:["gl","regl","cartesian","symbols","errorBarsOK","showLegend","scatter-like"],attributes:a(2876),supplyDefaults:a(80220),crossTraceDefaults:a(35036),colorbar:a(5528),formatLabels:a(99396),calc:a(24856),hoverPoints:l.hoverPoints,selectPoints:a(73224),meta:{}}},24856:function(u,h,a){var l=a(3108),v=a(3400),i=a(79811),S=a(19280).findExtremes,g=a(1220),p=a(16356),_=p.calcMarkerSize,c=p.calcAxisExpansion,s=p.setFirstScatter,d=a(90136),f=a(84236),b=a(74588),x=a(39032).BADNUM,y=a(67072).TOO_MANY_POINTS;u.exports=function(A,E){var k=A._fullLayout,L=E._xA=i.getFromId(A,E.xaxis,"x"),I=E._yA=i.getFromId(A,E.yaxis,"y"),P=k._plots[E.xaxis+E.yaxis],M=E._length,F=M>=y,N=M*2,T={},D,O=L.makeCalcdata(E,"x"),U=I.makeCalcdata(E,"y"),B=g(E,L,"x",O),Y=g(E,I,"y",U),z=B.vals,V=Y.vals;E._x=z,E._y=V,E.xperiodalignment&&(E._origX=O,E._xStarts=B.starts,E._xEnds=B.ends),E.yperiodalignment&&(E._origY=U,E._yStarts=Y.starts,E._yEnds=Y.ends);var j=new Array(N),G=new Array(M);for(D=0;D<M;D++)j[D*2]=z[D]===x?NaN:z[D],j[D*2+1]=V[D]===x?NaN:V[D],G[D]=D;if(L.type==="log")for(D=0;D<N;D+=2)j[D]=L.c2l(j[D]);if(I.type==="log")for(D=1;D<N;D+=2)j[D]=I.c2l(j[D]);F&&L.type!=="log"&&I.type!=="log"?T.tree=l(j):T.ids=G,d(A,E);var W=w(A,P,E,j,z,V),X=b(A,P);s(k,E);var Q;return F?W.marker&&(Q=W.marker.sizeAvg||Math.max(W.marker.size,3)):Q=_(E,M),c(A,E,L,I,z,V,Q),W.errorX&&C(E,L,W.errorX),W.errorY&&C(E,I,W.errorY),W.fill&&!X.fill2d&&(X.fill2d=!0),W.marker&&!X.scatter2d&&(X.scatter2d=!0),W.line&&!X.line2d&&(X.line2d=!0),(W.errorX||W.errorY)&&!X.error2d&&(X.error2d=!0),W.text&&!X.glText&&(X.glText=!0),W.marker&&(W.marker.snap=M),X.lineOptions.push(W.line),X.errorXOptions.push(W.errorX),X.errorYOptions.push(W.errorY),X.fillOptions.push(W.fill),X.markerOptions.push(W.marker),X.markerSelectedOptions.push(W.markerSel),X.markerUnselectedOptions.push(W.markerUnsel),X.textOptions.push(W.text),X.textSelectedOptions.push(W.textSel),X.textUnselectedOptions.push(W.textUnsel),X.selectBatch.push([]),X.unselectBatch.push([]),T._scene=X,T.index=X.count,T.x=z,T.y=V,T.positions=j,X.count++,[{x:!1,y:!1,t:T,trace:E}]};function C(R,A,E){var k=R._extremes[A._id],L=S(A,E._bnds,{padded:!0});k.min=k.min.concat(L.min),k.max=k.max.concat(L.max)}function w(R,A,E,k,L,I){var P=f.style(R,E);if(P.marker&&(P.marker.positions=k),P.line&&k.length>1&&v.extendFlat(P.line,f.linePositions(R,E,k)),P.errorX||P.errorY){var M=f.errorBarPositions(R,E,k,L,I);P.errorX&&v.extendFlat(P.errorX,M.x),P.errorY&&v.extendFlat(P.errorY,M.y)}return P.text&&(v.extendFlat(P.text,{positions:k},f.textPosition(R,E,P.text,P.marker)),v.extendFlat(P.textSel,{positions:k},f.textPosition(R,E,P.text,P.markerSel)),v.extendFlat(P.textUnsel,{positions:k},f.textPosition(R,E,P.text,P.markerUnsel))),P}},67072:function(u){var h=20;u.exports={TOO_MANY_POINTS:1e5,SYMBOL_SDF_SIZE:200,SYMBOL_SIZE:h,SYMBOL_STROKE:h/20,DOT_RE:/-dot/,OPEN_RE:/-open/,DASHES:{solid:[1],dot:[1,1],dash:[4,1],longdash:[8,1],dashdot:[4,1,1,1],longdashdot:[8,1,1,1]}}},84236:function(u,h,a){var l=a(38248),v=a(20472),i=a(72160),S=a(24040),g=a(3400),p=g.isArrayOrTypedArray,_=a(43616),c=a(79811),s=a(33040).formatColor,d=a(43028),f=a(7152),b=a(80088),x=a(67072),y=a(13448).DESELECTDIM,C={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},w=a(10624).appendArrayPointValue;function R(Y,z){var V,j={marker:void 0,markerSel:void 0,markerUnsel:void 0,line:void 0,fill:void 0,errorX:void 0,errorY:void 0,text:void 0,textSel:void 0,textUnsel:void 0},G=Y._context.plotGlPixelRatio;if(z.visible!==!0)return j;if(d.hasText(z)&&(j.text=A(Y,z),j.textSel=L(Y,z,z.selected),j.textUnsel=L(Y,z,z.unselected)),d.hasMarkers(z)&&(j.marker=E(Y,z),j.markerSel=k(Y,z,z.selected),j.markerUnsel=k(Y,z,z.unselected),!z.unselected&&p(z.marker.opacity))){var W=z.marker.opacity;for(j.markerUnsel.opacity=new Array(W.length),V=0;V<W.length;V++)j.markerUnsel.opacity[V]=y*W[V]}if(d.hasLines(z)){j.line={overlay:!0,thickness:z.line.width*G,color:z.line.color,opacity:z.opacity};var X=(x.DASHES[z.line.dash]||[1]).slice();for(V=0;V<X.length;++V)X[V]*=z.line.width*G;j.line.dashes=X}return z.error_x&&z.error_x.visible&&(j.errorX=I(z,z.error_x,G)),z.error_y&&z.error_y.visible&&(j.errorY=I(z,z.error_y,G)),z.fill&&z.fill!=="none"&&(j.fill={closed:!0,fill:z.fillcolor,thickness:0}),j}function A(Y,z){var V=Y._fullLayout,j=z._length,G=z.textfont,W=z.textposition,X=p(W)?W:[W],Q=G.color,ae=G.size,ie=G.family,he={},J,Z=Y._context.plotGlPixelRatio,le=z.texttemplate;if(le){he.text=[];var K=V._d3locale,te=Array.isArray(le),ce=te?Math.min(le.length,j):j,re=te?function(we){return le[we]}:function(){return le};for(J=0;J<ce;J++){var ee={i:J},de=z._module.formatLabels(ee,z,V),oe={};w(oe,z,J);var fe=z._meta||{};he.text.push(g.texttemplateString(re(J),de,K,oe,ee,fe))}}else p(z.text)&&z.text.length<j?he.text=z.text.slice():he.text=z.text;if(p(he.text))for(J=he.text.length;J<j;J++)he.text[J]="";for(he.opacity=z.opacity,he.font={},he.align=[],he.baseline=[],J=0;J<X.length;J++){var me=X[J].split(/\s+/);switch(me[1]){case"left":he.align.push("right");break;case"right":he.align.push("left");break;default:he.align.push(me[1])}switch(me[0]){case"top":he.baseline.push("bottom");break;case"bottom":he.baseline.push("top");break;default:he.baseline.push(me[0])}}if(p(Q))for(he.color=new Array(j),J=0;J<j;J++)he.color[J]=Q[J];else he.color=Q;if(p(ae)||p(ie))for(he.font=new Array(j),J=0;J<j;J++){var Te=he.font[J]={};Te.size=(g.isTypedArray(ae)?ae[J]:p(ae)?l(ae[J])?ae[J]:0:ae)*Z,Te.family=p(ie)?ie[J]:ie}else he.font={size:ae*Z,family:ie};return he}function E(Y,z){var V=z._length,j=z.marker,G={},W,X=p(j.symbol),Q=p(j.angle),ae=p(j.color),ie=p(j.line.color),he=p(j.opacity),J=p(j.size),Z=p(j.line.width),le;if(X||(le=b.isOpenSymbol(j.symbol)),X||ae||ie||he||Q){G.symbols=new Array(V),G.angles=new Array(V),G.colors=new Array(V),G.borderColors=new Array(V);var K=j.symbol,te=j.angle,ce=s(j,j.opacity,V),re=s(j.line,j.opacity,V);if(!p(re[0])){var ee=re;for(re=Array(V),W=0;W<V;W++)re[W]=ee}if(!p(ce[0])){var de=ce;for(ce=Array(V),W=0;W<V;W++)ce[W]=de}if(!p(K)){var oe=K;for(K=Array(V),W=0;W<V;W++)K[W]=oe}if(!p(te)){var fe=te;for(te=Array(V),W=0;W<V;W++)te[W]=fe}for(G.symbols=K,G.angles=te,G.colors=ce,G.borderColors=re,W=0;W<V;W++)X&&(le=b.isOpenSymbol(j.symbol[W])),le&&(re[W]=ce[W].slice(),ce[W]=ce[W].slice(),ce[W][3]=0);for(G.opacity=z.opacity,G.markers=new Array(V),W=0;W<V;W++)G.markers[W]=D({mx:G.symbols[W],ma:G.angles[W]},z)}else le?(G.color=i(j.color,"uint8"),G.color[3]=0,G.borderColor=i(j.color,"uint8")):(G.color=i(j.color,"uint8"),G.borderColor=i(j.line.color,"uint8")),G.opacity=z.opacity*j.opacity,G.marker=D({mx:j.symbol,ma:j.angle},z);var me=1,Te=f(z,me),we;if(J||Z){var Be=G.sizes=new Array(V),Ae=G.borderSizes=new Array(V),Re=0,be;if(J){for(W=0;W<V;W++)Be[W]=Te(j.size[W]),Re+=Be[W];be=Re/V}else for(we=Te(j.size),W=0;W<V;W++)Be[W]=we;if(Z)for(W=0;W<V;W++)Ae[W]=j.line.width[W];else for(we=j.line.width,W=0;W<V;W++)Ae[W]=we;G.sizeAvg=be}else G.size=Te(j&&j.size||10),G.borderSizes=Te(j.line.width);return G}function k(Y,z,V){var j=z.marker,G={};return V&&(V.marker&&V.marker.symbol?G=E(Y,g.extendFlat({},j,V.marker)):V.marker&&(V.marker.size&&(G.size=V.marker.size),V.marker.color&&(G.colors=V.marker.color),V.marker.opacity!==void 0&&(G.opacity=V.marker.opacity))),G}function L(Y,z,V){var j={};if(!V)return j;if(V.textfont){var G={opacity:1,text:z.text,texttemplate:z.texttemplate,textposition:z.textposition,textfont:g.extendFlat({},z.textfont)};V.textfont&&g.extendFlat(G.textfont,V.textfont),j=A(Y,G)}return j}function I(Y,z,V){var j={capSize:z.width*2*V,lineWidth:z.thickness*V,color:z.color};return z.copy_ystyle&&(j=Y.error_y),j}var P=x.SYMBOL_SDF_SIZE,M=x.SYMBOL_SIZE,F=x.SYMBOL_STROKE,N={},T=_.symbolFuncs[0](M*.05);function D(Y,z){var V=Y.mx;if(V==="circle")return null;var j,G,W=_.symbolNumber(V),X=_.symbolFuncs[W%100],Q=!!_.symbolNoDot[W%100],ae=!!_.symbolNoFill[W%100],ie=b.isDotSymbol(V);if(Y.ma&&(V+="_"+Y.ma),N[V])return N[V];var he=_.getMarkerAngle(Y,z);return ie&&!Q?j=X(M*1.1,he)+T:j=X(M,he),G=v(j,{w:P,h:P,viewBox:[-M,-M,M,M],stroke:ae?F:-F}),N[V]=G,G||null}function O(Y,z,V){var j=V.length,G=j/2,W,X;if(d.hasLines(z)&&G)if(z.line.shape==="hv"){for(W=[],X=0;X<G-1;X++)isNaN(V[X*2])||isNaN(V[X*2+1])?W.push(NaN,NaN,NaN,NaN):(W.push(V[X*2],V[X*2+1]),!isNaN(V[X*2+2])&&!isNaN(V[X*2+3])?W.push(V[X*2+2],V[X*2+1]):W.push(NaN,NaN));W.push(V[j-2],V[j-1])}else if(z.line.shape==="hvh"){for(W=[],X=0;X<G-1;X++)if(isNaN(V[X*2])||isNaN(V[X*2+1])||isNaN(V[X*2+2])||isNaN(V[X*2+3]))!isNaN(V[X*2])&&!isNaN(V[X*2+1])?W.push(V[X*2],V[X*2+1]):W.push(NaN,NaN),W.push(NaN,NaN);else{var Q=(V[X*2]+V[X*2+2])/2;W.push(V[X*2],V[X*2+1],Q,V[X*2+1],Q,V[X*2+3])}W.push(V[j-2],V[j-1])}else if(z.line.shape==="vhv"){for(W=[],X=0;X<G-1;X++)if(isNaN(V[X*2])||isNaN(V[X*2+1])||isNaN(V[X*2+2])||isNaN(V[X*2+3]))!isNaN(V[X*2])&&!isNaN(V[X*2+1])?W.push(V[X*2],V[X*2+1]):W.push(NaN,NaN),W.push(NaN,NaN);else{var ae=(V[X*2+1]+V[X*2+3])/2;W.push(V[X*2],V[X*2+1],V[X*2],ae,V[X*2+2],ae)}W.push(V[j-2],V[j-1])}else if(z.line.shape==="vh"){for(W=[],X=0;X<G-1;X++)isNaN(V[X*2])||isNaN(V[X*2+1])?W.push(NaN,NaN,NaN,NaN):(W.push(V[X*2],V[X*2+1]),!isNaN(V[X*2+2])&&!isNaN(V[X*2+3])?W.push(V[X*2],V[X*2+3]):W.push(NaN,NaN));W.push(V[j-2],V[j-1])}else W=V;var ie=!1;for(X=0;X<W.length;X++)if(isNaN(W[X])){ie=!0;break}var he=ie||W.length>x.TOO_MANY_POINTS||d.hasMarkers(z)?"rect":"round";if(ie&&z.connectgaps){var J=W[0],Z=W[1];for(X=0;X<W.length;X+=2)isNaN(W[X])||isNaN(W[X+1])?(W[X]=J,W[X+1]=Z):(J=W[X],Z=W[X+1])}return{join:he,positions:W}}function U(Y,z,V,j,G){var W=S.getComponentMethod("errorbars","makeComputeError"),X=c.getFromId(Y,z.xaxis,"x"),Q=c.getFromId(Y,z.yaxis,"y"),ae=V.length/2,ie={};function he(J,Z){var le=Z._id.charAt(0),K=z["error_"+le];if(K&&K.visible&&(Z.type==="linear"||Z.type==="log")){for(var te=W(K),ce={x:0,y:1}[le],re={x:[0,1,2,3],y:[2,3,0,1]}[le],ee=new Float64Array(4*ae),de=1/0,oe=-1/0,fe=0,me=0;fe<ae;fe++,me+=4){var Te=J[fe];if(l(Te)){var we=V[fe*2+ce],Be=te(Te,fe),Ae=Be[0],Re=Be[1];if(l(Ae)&&l(Re)){var be=Te-Ae,Pe=Te+Re;ee[me+re[0]]=we-Z.c2l(be),ee[me+re[1]]=Z.c2l(Pe)-we,ee[me+re[2]]=0,ee[me+re[3]]=0,de=Math.min(de,Te-Ae),oe=Math.max(oe,Te+Re)}}}ie[le]={positions:V,errors:ee,_bnds:[de,oe]}}}return he(j,X),he(G,Q),ie}function B(Y,z,V,j){var G=z._length,W={},X;if(d.hasMarkers(z)){var Q=V.font,ae=V.align,ie=V.baseline;for(W.offset=new Array(G),X=0;X<G;X++){var he=j.sizes?j.sizes[X]:j.size,J=p(Q)?Q[X].size:Q.size,Z=p(ae)?ae.length>1?ae[X]:ae[0]:ae,le=p(ie)?ie.length>1?ie[X]:ie[0]:ie,K=C[Z],te=C[le],ce=he?he/.8+1:0,re=-te*ce-te*.5;W.offset[X]=[K*ce/J,re/J]}}return W}u.exports={style:R,markerStyle:E,markerSelection:k,linePositions:O,errorBarPositions:U,textPosition:B}},80220:function(u,h,a){var l=a(3400),v=a(24040),i=a(80088),S=a(2876),g=a(88200),p=a(43028),_=a(43980),c=a(31147),s=a(74428),d=a(66828),f=a(70840),b=a(124);u.exports=function(y,C,w,R){function A(N,T){return l.coerce(y,C,S,N,T)}var E=y.marker?i.isOpenSymbol(y.marker.symbol):!1,k=p.isBubble(y),L=_(y,C,R,A);if(!L){C.visible=!1;return}c(y,C,R,A),A("xhoverformat"),A("yhoverformat");var I=L<g.PTS_LINESONLY?"lines+markers":"lines";A("text"),A("hovertext"),A("hovertemplate"),A("mode",I),p.hasMarkers(C)&&(s(y,C,w,R,A,{noAngleRef:!0,noStandOff:!0}),A("marker.line.width",E||k?1:0)),p.hasLines(C)&&(A("connectgaps"),d(y,C,w,R,A),A("line.shape")),p.hasText(C)&&(A("texttemplate"),b(y,C,R,A));var P=(C.line||{}).color,M=(C.marker||{}).color;A("fill"),C.fill!=="none"&&f(y,C,w,A);var F=v.getComponentMethod("errorbars","supplyDefaults");F(y,C,P||M||w,{axis:"y"}),F(y,C,P||M||w,{axis:"x",inherit:"y"}),l.coerceSelectionMarkerOpacity(C,A)}},26768:function(u,h,a){var l=a(3400),v=a(76308),i=a(13448).DESELECTDIM;function S(g){var p=g[0],_=p.trace,c=p.t,s=c._scene,d=c.index,f=s.selectBatch[d],b=s.unselectBatch[d],x=s.textOptions[d],y=s.textSelectedOptions[d]||{},C=s.textUnselectedOptions[d]||{},w=l.extendFlat({},x),R,A;if(f.length||b.length){var E=y.color,k=C.color,L=x.color,I=l.isArrayOrTypedArray(L);for(w.color=new Array(_._length),R=0;R<f.length;R++)A=f[R],w.color[A]=E||(I?L[A]:L);for(R=0;R<b.length;R++){A=b[R];var P=I?L[A]:L;w.color[A]=k||(E?P:v.addOpacity(P,i))}}s.glText[d].update(w)}u.exports={styleTextSelection:S}},99396:function(u,h,a){var l=a(76688);u.exports=function(i,S,g){var p=i.i;return"x"in i||(i.x=S._x[p]),"y"in i||(i.y=S._y[p]),l(i,S,g)}},80088:function(u,h,a){var l=a(67072);h.isOpenSymbol=function(v){return typeof v=="string"?l.OPEN_RE.test(v):v%200>100},h.isDotSymbol=function(v){return typeof v=="string"?l.DOT_RE.test(v):v>200}},41272:function(u,h,a){var l=a(24040),v=a(3400),i=a(44928);function S(p,_,c,s){var d=p.cd,f=d[0].t,b=d[0].trace,x=p.xa,y=p.ya,C=f.x,w=f.y,R=x.c2p(_),A=y.c2p(c),E=p.distance,k;if(f.tree){var L=x.p2c(R-E),I=x.p2c(R+E),P=y.p2c(A-E),M=y.p2c(A+E);s==="x"?k=f.tree.range(Math.min(L,I),Math.min(y._rl[0],y._rl[1]),Math.max(L,I),Math.max(y._rl[0],y._rl[1])):k=f.tree.range(Math.min(L,I),Math.min(P,M),Math.max(L,I),Math.max(P,M))}else k=f.ids;var F,N,T,D,O,U,B,Y,z,V=E;if(s==="x"){var j=!!b.xperiodalignment,G=!!b.yperiodalignment;for(O=0;O<k.length;O++){if(F=k[O],T=C[F],U=Math.abs(x.c2p(T)-R),j){var W=x.c2p(b._xStarts[F]),X=x.c2p(b._xEnds[F]);U=R>=Math.min(W,X)&&R<=Math.max(W,X)?0:1/0}if(U<V){if(V=U,D=w[F],B=y.c2p(D)-A,G){var Q=y.c2p(b._yStarts[F]),ae=y.c2p(b._yEnds[F]);B=A>=Math.min(Q,ae)&&A<=Math.max(Q,ae)?0:1/0}z=Math.sqrt(U*U+B*B),N=k[O]}}}else for(O=k.length-1;O>-1;O--)F=k[O],T=C[F],D=w[F],U=x.c2p(T)-R,B=y.c2p(D)-A,Y=Math.sqrt(U*U+B*B),Y<V&&(V=z=Y,N=F);return p.index=N,p.distance=V,p.dxy=z,N===void 0?[p]:[g(p,C,w,b)]}function g(p,_,c,s){var d=p.xa,f=p.ya,b=p.distance,x=p.dxy,y=p.index,C={pointNumber:y,x:_[y],y:c[y]};C.tx=v.isArrayOrTypedArray(s.text)?s.text[y]:s.text,C.htx=Array.isArray(s.hovertext)?s.hovertext[y]:s.hovertext,C.data=Array.isArray(s.customdata)?s.customdata[y]:s.customdata,C.tp=Array.isArray(s.textposition)?s.textposition[y]:s.textposition;var w=s.textfont;w&&(C.ts=v.isArrayOrTypedArray(w.size)?w.size[y]:w.size,C.tc=Array.isArray(w.color)?w.color[y]:w.color,C.tf=Array.isArray(w.family)?w.family[y]:w.family);var R=s.marker;R&&(C.ms=v.isArrayOrTypedArray(R.size)?R.size[y]:R.size,C.mo=v.isArrayOrTypedArray(R.opacity)?R.opacity[y]:R.opacity,C.mx=v.isArrayOrTypedArray(R.symbol)?R.symbol[y]:R.symbol,C.ma=v.isArrayOrTypedArray(R.angle)?R.angle[y]:R.angle,C.mc=v.isArrayOrTypedArray(R.color)?R.color[y]:R.color);var A=R&&R.line;A&&(C.mlc=Array.isArray(A.color)?A.color[y]:A.color,C.mlw=v.isArrayOrTypedArray(A.width)?A.width[y]:A.width);var E=R&&R.gradient;E&&E.type!=="none"&&(C.mgt=Array.isArray(E.type)?E.type[y]:E.type,C.mgc=Array.isArray(E.color)?E.color[y]:E.color);var k=d.c2p(C.x,!0),L=f.c2p(C.y,!0),I=C.mrc||1,P=s.hoverlabel;P&&(C.hbg=Array.isArray(P.bgcolor)?P.bgcolor[y]:P.bgcolor,C.hbc=Array.isArray(P.bordercolor)?P.bordercolor[y]:P.bordercolor,C.hts=v.isArrayOrTypedArray(P.font.size)?P.font.size[y]:P.font.size,C.htc=Array.isArray(P.font.color)?P.font.color[y]:P.font.color,C.htf=Array.isArray(P.font.family)?P.font.family[y]:P.font.family,C.hnl=v.isArrayOrTypedArray(P.namelength)?P.namelength[y]:P.namelength);var M=s.hoverinfo;M&&(C.hi=Array.isArray(M)?M[y]:M);var F=s.hovertemplate;F&&(C.ht=Array.isArray(F)?F[y]:F);var N={};N[p.index]=C;var T=s._origX,D=s._origY,O=v.extendFlat({},p,{color:i(s,C),x0:k-I,x1:k+I,xLabelVal:T?T[y]:C.x,y0:L-I,y1:L+I,yLabelVal:D?D[y]:C.y,cd:N,distance:b,spikeDistance:x,hovertemplate:C.ht});return C.htx?O.text=C.htx:C.tx?O.text=C.tx:s.text&&(O.text=s.text),v.fillText(C,s,O),l.getComponentMethod("errorbars","hoverInfo")(C,s,O),O}u.exports={hoverPoints:S,calcHover:g}},38983:function(u,h,a){var l=a(64628);l.plot=a(89876),u.exports=l},89876:function(u,h,a){var l=a(38540),v=a(13472),i=a(24544),S=a(23352),g=a(3400),p=a(72760).selectMode,_=a(5048),c=a(43028),s=a(14328),d=a(26768).styleTextSelection,f={};function b(y,C,w,R){var A=y._size,E=y.width*R,k=y.height*R,L=A.l*R,I=A.b*R,P=A.r*R,M=A.t*R,F=A.w*R,N=A.h*R;return[L+C.domain[0]*F,I+w.domain[0]*N,E-P-(1-C.domain[1])*F,k-M-(1-w.domain[1])*N]}var x=u.exports=function(C,w,R){if(R.length){var A=C._fullLayout,E=w._scene,k=w.xaxis,L=w.yaxis,I,P;if(E){var M=_(C,["ANGLE_instanced_arrays","OES_element_index_uint"],f);if(!M){E.init();return}var F=E.count,N=A._glcanvas.data()[0].regl;if(s(C,w,R),E.dirty){if((E.line2d||E.error2d)&&!(E.scatter2d||E.fill2d||E.glText)&&N.clear({}),E.error2d===!0&&(E.error2d=i(N)),E.line2d===!0&&(E.line2d=v(N)),E.scatter2d===!0&&(E.scatter2d=l(N)),E.fill2d===!0&&(E.fill2d=v(N)),E.glText===!0)for(E.glText=new Array(F),I=0;I<F;I++)E.glText[I]=new S(N);if(E.glText){if(F>E.glText.length){var T=F-E.glText.length;for(I=0;I<T;I++)E.glText.push(new S(N))}else if(F<E.glText.length){var D=E.glText.length-F,O=E.glText.splice(F,D);O.forEach(function(re){re.destroy()})}for(I=0;I<F;I++)E.glText[I].update(E.textOptions[I])}if(E.line2d&&(E.line2d.update(E.lineOptions),E.lineOptions=E.lineOptions.map(function(re){if(re&&re.positions){for(var ee=re.positions,de=0;de<ee.length&&(isNaN(ee[de])||isNaN(ee[de+1]));)de+=2;for(var oe=ee.length-2;oe>de&&(isNaN(ee[oe])||isNaN(ee[oe+1]));)oe-=2;re.positions=ee.slice(de,oe+2)}return re}),E.line2d.update(E.lineOptions)),E.error2d){var U=(E.errorXOptions||[]).concat(E.errorYOptions||[]);E.error2d.update(U)}E.scatter2d&&E.scatter2d.update(E.markerOptions),E.fillOrder=g.repeat(null,F),E.fill2d&&(E.fillOptions=E.fillOptions.map(function(re,ee){var de=R[ee];if(!(!re||!de||!de[0]||!de[0].trace)){var oe=de[0],fe=oe.trace,me=oe.t,Te=E.lineOptions[ee],we,Be,Ae=[];fe._ownfill&&Ae.push(ee),fe._nexttrace&&Ae.push(ee+1),Ae.length&&(E.fillOrder[ee]=Ae);var Re=[],be=Te&&Te.positions||me.positions,Pe,Ke;if(fe.fill==="tozeroy"){for(Pe=0;Pe<be.length&&isNaN(be[Pe+1]);)Pe+=2;for(Ke=be.length-2;Ke>Pe&&isNaN(be[Ke+1]);)Ke-=2;be[Pe+1]!==0&&(Re=[be[Pe],0]),Re=Re.concat(be.slice(Pe,Ke+2)),be[Ke+1]!==0&&(Re=Re.concat([be[Ke],0]))}else if(fe.fill==="tozerox"){for(Pe=0;Pe<be.length&&isNaN(be[Pe]);)Pe+=2;for(Ke=be.length-2;Ke>Pe&&isNaN(be[Ke]);)Ke-=2;be[Pe]!==0&&(Re=[0,be[Pe+1]]),Re=Re.concat(be.slice(Pe,Ke+2)),be[Ke]!==0&&(Re=Re.concat([0,be[Ke+1]]))}else if(fe.fill==="toself"||fe.fill==="tonext"){for(Re=[],we=0,re.splitNull=!0,Be=0;Be<be.length;Be+=2)(isNaN(be[Be])||isNaN(be[Be+1]))&&(Re=Re.concat(be.slice(we,Be)),Re.push(be[we],be[we+1]),Re.push(null,null),we=Be+2);Re=Re.concat(be.slice(we)),we&&Re.push(be[we],be[we+1])}else{var ze=fe._nexttrace;if(ze){var Fe=E.lineOptions[ee+1];if(Fe){var We=Fe.positions;if(fe.fill==="tonexty"){for(Re=be.slice(),ee=Math.floor(We.length/2);ee--;){var lt=We[ee*2],ht=We[ee*2+1];isNaN(lt)||isNaN(ht)||Re.push(lt,ht)}re.fill=ze.fillcolor}}}}if(fe._prevtrace&&fe._prevtrace.fill==="tonext"){var tt=E.lineOptions[ee-1].positions,et=Re.length/2;we=et;var pt=[we];for(Be=0;Be<tt.length;Be+=2)(isNaN(tt[Be])||isNaN(tt[Be+1]))&&(pt.push(Be/2+et+1),we=Be+2);Re=Re.concat(tt),re.hole=pt}return re.fillmode=fe.fill,re.opacity=fe.opacity,re.positions=Re,re}}),E.fill2d.update(E.fillOptions))}var B=A.dragmode,Y=p(B),z=A.clickmode.indexOf("select")>-1;for(I=0;I<F;I++){var V=R[I][0],j=V.trace,G=V.t,W=G.index,X=j._length,Q=G.x,ae=G.y;if(j.selectedpoints||Y||z){if(Y||(Y=!0),j.selectedpoints){var ie=E.selectBatch[W]=g.selIndices2selPoints(j),he={};for(P=0;P<ie.length;P++)he[ie[P]]=1;var J=[];for(P=0;P<X;P++)he[P]||J.push(P);E.unselectBatch[W]=J}var Z=G.xpx=new Array(X),le=G.ypx=new Array(X);for(P=0;P<X;P++)Z[P]=k.c2p(Q[P]),le[P]=L.c2p(ae[P])}else G.xpx=G.ypx=null}if(Y){if(E.select2d||(E.select2d=l(A._glcanvas.data()[1].regl)),E.scatter2d){var K=new Array(F);for(I=0;I<F;I++)K[I]=E.selectBatch[I].length||E.unselectBatch[I].length?E.markerUnselectedOptions[I]:{};E.scatter2d.update(K)}E.select2d&&(E.select2d.update(E.markerOptions),E.select2d.update(E.markerSelectedOptions)),E.glText&&R.forEach(function(re){var ee=((re||[])[0]||{}).trace||{};c.hasText(ee)&&d(re)})}else E.scatter2d&&E.scatter2d.update(E.markerOptions);var te={viewport:b(A,k,L,C._context.plotGlPixelRatio),range:[(k._rl||k.range)[0],(L._rl||L.range)[0],(k._rl||k.range)[1],(L._rl||L.range)[1]]},ce=g.repeat(te,E.count);E.fill2d&&E.fill2d.update(ce),E.line2d&&E.line2d.update(ce),E.error2d&&E.error2d.update(ce.concat(ce)),E.scatter2d&&E.scatter2d.update(ce),E.select2d&&E.select2d.update(ce),E.glText&&E.glText.forEach(function(re){re.update(te)})}}};x.reglPrecompiled=f},74588:function(u,h,a){var l=a(3400);u.exports=function(i,S){var g=S._scene,p={count:0,dirty:!0,lineOptions:[],fillOptions:[],markerOptions:[],markerSelectedOptions:[],markerUnselectedOptions:[],errorXOptions:[],errorYOptions:[],textOptions:[],textSelectedOptions:[],textUnselectedOptions:[],selectBatch:[],unselectBatch:[]},_={fill2d:!1,scatter2d:!1,error2d:!1,line2d:!1,glText:!1,select2d:!1};return S._scene||(g=S._scene={},g.init=function(){l.extendFlat(g,_,p)},g.init(),g.update=function(s){var d=l.repeat(s,g.count);if(g.fill2d&&g.fill2d.update(d),g.scatter2d&&g.scatter2d.update(d),g.line2d&&g.line2d.update(d),g.error2d&&g.error2d.update(d.concat(d)),g.select2d&&g.select2d.update(d),g.glText)for(var f=0;f<g.count;f++)g.glText[f].update(s)},g.draw=function(){for(var s=g.count,d=g.fill2d,f=g.error2d,b=g.line2d,x=g.scatter2d,y=g.glText,C=g.select2d,w=g.selectBatch,R=g.unselectBatch,A=0;A<s;A++){if(d&&g.fillOrder[A]&&d.draw(g.fillOrder[A]),b&&g.lineOptions[A]&&b.draw(A),f&&(g.errorXOptions[A]&&f.draw(A),g.errorYOptions[A]&&f.draw(A+s)),x&&g.markerOptions[A])if(R[A].length){var E=l.repeat([],g.count);E[A]=R[A],x.draw(E)}else w[A].length||x.draw(A);y[A]&&g.textOptions[A]&&y[A].render()}C&&C.draw(w),g.dirty=!1},g.destroy=function(){g.fill2d&&g.fill2d.destroy&&g.fill2d.destroy(),g.scatter2d&&g.scatter2d.destroy&&g.scatter2d.destroy(),g.error2d&&g.error2d.destroy&&g.error2d.destroy(),g.line2d&&g.line2d.destroy&&g.line2d.destroy(),g.select2d&&g.select2d.destroy&&g.select2d.destroy(),g.glText&&g.glText.forEach(function(s){s.destroy&&s.destroy()}),g.lineOptions=null,g.fillOptions=null,g.markerOptions=null,g.markerSelectedOptions=null,g.markerUnselectedOptions=null,g.errorXOptions=null,g.errorYOptions=null,g.textOptions=null,g.textSelectedOptions=null,g.textUnselectedOptions=null,g.selectBatch=null,g.unselectBatch=null,S._scene=null}),g.dirty||l.extendFlat(g,p),g}},73224:function(u,h,a){var l=a(43028),v=a(26768).styleTextSelection;u.exports=function(S,g){var p=S.cd,_=S.xaxis,c=S.yaxis,s=[],d=p[0].trace,f=p[0].t,b=d._length,x=f.x,y=f.y,C=f._scene,w=f.index;if(!C)return s;var R=l.hasText(d),A=l.hasMarkers(d),E=!A&&!R;if(d.visible!==!0||E)return s;var k=[],L=[];if(g!==!1&&!g.degenerate)for(var I=0;I<b;I++)g.contains([f.xpx[I],f.ypx[I]],!1,I,S)?(k.push(I),s.push({pointNumber:I,x:_.c2d(x[I]),y:c.c2d(y[I])})):L.push(I);if(A){var P=C.scatter2d;if(!k.length&&!L.length){var M=new Array(C.count);M[w]=C.markerOptions[w],P.update.apply(P,M)}else if(!C.selectBatch[w].length&&!C.unselectBatch[w].length){var F=new Array(C.count);F[w]=C.markerUnselectedOptions[w],P.update.apply(P,F)}}return C.selectBatch[w]=k,C.unselectBatch[w]=L,R&&v(p),s}},31512:function(u,h,a){var l=a(21776).Ks,v=a(21776).Gw,i=a(98304),S=a(6096),g=a(52904),p=a(5232),_=a(45464),c=a(49084),s=a(92880).extendFlat,d=a(67824).overrideAll,f=a(5232),b=S.line,x=S.marker;u.exports=d({lon:S.lon,lat:S.lat,cluster:{enabled:{valType:"boolean"},maxzoom:s({},f.layers.maxzoom,{}),step:{valType:"number",arrayOk:!0,dflt:-1,min:-1},size:{valType:"number",arrayOk:!0,dflt:20,min:0},color:{valType:"color",arrayOk:!0},opacity:s({},x.opacity,{dflt:1})},mode:s({},g.mode,{dflt:"markers"}),text:s({},g.text,{}),texttemplate:v({editType:"plot"},{keys:["lat","lon","text"]}),hovertext:s({},g.hovertext,{}),line:{color:b.color,width:b.width},connectgaps:g.connectgaps,marker:s({symbol:{valType:"string",dflt:"circle",arrayOk:!0},angle:{valType:"number",dflt:"auto",arrayOk:!0},allowoverlap:{valType:"boolean",dflt:!1},opacity:x.opacity,size:x.size,sizeref:x.sizeref,sizemin:x.sizemin,sizemode:x.sizemode},c("marker")),fill:S.fill,fillcolor:i(),textfont:p.layers.symbol.textfont,textposition:p.layers.symbol.textposition,below:{valType:"string"},selected:{marker:g.selected.marker},unselected:{marker:g.unselected.marker},hoverinfo:s({},_.hoverinfo,{flags:["lon","lat","text","name"]}),hovertemplate:l()},"calc","nested")},59392:function(u,h,a){var l=a(38248),v=a(3400),i=a(39032).BADNUM,S=a(44808),g=a(8932),p=a(43616),_=a(7152),c=a(43028),s=a(89032),d=a(10624).appendArrayPointValue,f=a(72736).NEWLINES,b=a(72736).BR_TAG_ALL;u.exports=function(L,I){var P=I[0].trace,M=P.visible===!0&&P._length!==0,F=P.fill!=="none",N=c.hasLines(P),T=c.hasMarkers(P),D=c.hasText(P),O=T&&P.marker.symbol==="circle",U=T&&P.marker.symbol!=="circle",B=P.cluster&&P.cluster.enabled,Y=x("fill"),z=x("line"),V=x("circle"),j=x("symbol"),G={fill:Y,line:z,circle:V,symbol:j};if(!M)return G;var W;if((F||N)&&(W=S.calcTraceToLineCoords(I)),F&&(Y.geojson=S.makePolygon(W),Y.layout.visibility="visible",v.extendFlat(Y.paint,{"fill-color":P.fillcolor})),N&&(z.geojson=S.makeLine(W),z.layout.visibility="visible",v.extendFlat(z.paint,{"line-width":P.line.width,"line-color":P.line.color,"line-opacity":P.opacity})),O){var X=y(I);V.geojson=X.geojson,V.layout.visibility="visible",B&&(V.filter=["!",["has","point_count"]],G.cluster={type:"circle",filter:["has","point_count"],layout:{visibility:"visible"},paint:{"circle-color":E(P.cluster.color,P.cluster.step),"circle-radius":E(P.cluster.size,P.cluster.step),"circle-opacity":E(P.cluster.opacity,P.cluster.step)}},G.clusterCount={type:"symbol",filter:["has","point_count"],paint:{},layout:{"text-field":"{point_count_abbreviated}","text-font":["Open Sans Regular","Arial Unicode MS Regular"],"text-size":12}}),v.extendFlat(V.paint,{"circle-color":X.mcc,"circle-radius":X.mrc,"circle-opacity":X.mo})}if(O&&B&&(V.filter=["!",["has","point_count"]]),(U||D)&&(j.geojson=C(I,L),v.extendFlat(j.layout,{visibility:"visible","icon-image":"{symbol}-15","text-field":"{text}"}),U&&(v.extendFlat(j.layout,{"icon-size":P.marker.size/10}),"angle"in P.marker&&P.marker.angle!=="auto"&&v.extendFlat(j.layout,{"icon-rotate":{type:"identity",property:"angle"},"icon-rotation-alignment":"map"}),j.layout["icon-allow-overlap"]=P.marker.allowoverlap,v.extendFlat(j.paint,{"icon-opacity":P.opacity*P.marker.opacity,"icon-color":P.marker.color})),D)){var Q=(P.marker||{}).size,ae=s(P.textposition,Q);v.extendFlat(j.layout,{"text-size":P.textfont.size,"text-anchor":ae.anchor,"text-offset":ae.offset,"text-font":P.textfont.family.split(", ")}),v.extendFlat(j.paint,{"text-color":P.textfont.color,"text-opacity":P.opacity})}return G};function x(k){return{type:k,geojson:S.makeBlank(),layout:{visibility:"none"},filter:null,paint:{}}}function y(k){var L=k[0].trace,I=L.marker,P=L.selectedpoints,M=v.isArrayOrTypedArray(I.color),F=v.isArrayOrTypedArray(I.size),N=v.isArrayOrTypedArray(I.opacity),T;function D(Q){return L.opacity*Q}function O(Q){return Q/2}var U;M&&(g.hasColorscale(L,"marker")?U=g.makeColorScaleFuncFromTrace(I):U=v.identity);var B;F&&(B=_(L));var Y;N&&(Y=function(Q){var ae=l(Q)?+v.constrain(Q,0,1):0;return D(ae)});var z=[];for(T=0;T<k.length;T++){var V=k[T],j=V.lonlat;if(!A(j)){var G={};U&&(G.mcc=V.mcc=U(V.mc)),B&&(G.mrc=V.mrc=B(V.ms)),Y&&(G.mo=Y(V.mo)),P&&(G.selected=V.selected||0),z.push({type:"Feature",id:T+1,geometry:{type:"Point",coordinates:j},properties:G})}}var W;if(P)for(W=p.makeSelectedPointStyleFns(L),T=0;T<z.length;T++){var X=z[T].properties;W.selectedOpacityFn&&(X.mo=D(W.selectedOpacityFn(X))),W.selectedColorFn&&(X.mcc=W.selectedColorFn(X)),W.selectedSizeFn&&(X.mrc=W.selectedSizeFn(X))}return{geojson:{type:"FeatureCollection",features:z},mcc:M||W&&W.selectedColorFn?{type:"identity",property:"mcc"}:I.color,mrc:F||W&&W.selectedSizeFn?{type:"identity",property:"mrc"}:O(I.size),mo:N||W&&W.selectedOpacityFn?{type:"identity",property:"mo"}:D(I.opacity)}}function C(k,L){for(var I=L._fullLayout,P=k[0].trace,M=P.marker||{},F=M.symbol,N=M.angle,T=F!=="circle"?w(F):R,D=N!=="auto"?w(N,!0):R,O=c.hasText(P)?w(P.text):R,U=[],B=0;B<k.length;B++){var Y=k[B];if(!A(Y.lonlat)){var z=P.texttemplate,V;if(z){var j=Array.isArray(z)?z[B]||"":z,G=P._module.formatLabels(Y,P,I),W={};d(W,P,Y.i);var X=P._meta||{};V=v.texttemplateString(j,G,I._d3locale,W,Y,X)}else V=O(B);V&&(V=V.replace(f,"").replace(b,`
`)),U.push({type:"Feature",geometry:{type:"Point",coordinates:Y.lonlat},properties:{symbol:T(B),angle:D(B),text:V}})}}return{type:"FeatureCollection",features:U}}function w(k,L){return v.isArrayOrTypedArray(k)?L?function(I){return l(k[I])?+k[I]:0}:function(I){return k[I]}:k?function(){return k}:R}function R(){return""}function A(k){return k[0]===i}function E(k,L){var I;if(v.isArrayOrTypedArray(k)&&v.isArrayOrTypedArray(L)){I=["step",["get","point_count"],k[0]];for(var P=1;P<k.length;P++)I.push(L[P-1],k[P])}else I=k;return I}},15752:function(u,h,a){var l=a(3400),v=a(43028),i=a(74428),S=a(66828),g=a(124),p=a(70840),_=a(31512),c=["Metropolis Black Italic","Metropolis Black","Metropolis Bold Italic","Metropolis Bold","Metropolis Extra Bold Italic","Metropolis Extra Bold","Metropolis Extra Light Italic","Metropolis Extra Light","Metropolis Light Italic","Metropolis Light","Metropolis Medium Italic","Metropolis Medium","Metropolis Regular Italic","Metropolis Regular","Metropolis Semi Bold Italic","Metropolis Semi Bold","Metropolis Thin Italic","Metropolis Thin","Open Sans Bold Italic","Open Sans Bold","Open Sans Extra Bold Italic","Open Sans Extra Bold","Open Sans Italic","Open Sans Light Italic","Open Sans Light","Open Sans Regular","Open Sans Semibold Italic","Open Sans Semibold","Klokantech Noto Sans Bold","Klokantech Noto Sans CJK Bold","Klokantech Noto Sans CJK Regular","Klokantech Noto Sans Italic","Klokantech Noto Sans Regular"];u.exports=function(f,b,x,y){function C(F,N){return l.coerce(f,b,_,F,N)}function w(F,N){return l.coerce2(f,b,_,F,N)}var R=s(f,b,C);if(!R){b.visible=!1;return}if(C("text"),C("texttemplate"),C("hovertext"),C("hovertemplate"),C("mode"),C("below"),v.hasMarkers(b)){i(f,b,x,y,C,{noLine:!0,noAngle:!0}),C("marker.allowoverlap"),C("marker.angle");var A=b.marker;A.symbol!=="circle"&&(l.isArrayOrTypedArray(A.size)&&(A.size=A.size[0]),l.isArrayOrTypedArray(A.color)&&(A.color=A.color[0]))}v.hasLines(b)&&(S(f,b,x,y,C,{noDash:!0}),C("connectgaps"));var E=w("cluster.maxzoom"),k=w("cluster.step"),L=w("cluster.color",b.marker&&b.marker.color||x),I=w("cluster.size"),P=w("cluster.opacity"),M=E!==!1||k!==!1||L!==!1||I!==!1||P!==!1;C("cluster.enabled",M),v.hasText(b)&&g(f,b,y,C,{noSelect:!0,font:{family:c.indexOf(y.font.family)!==-1?y.font.family:"Open Sans Regular",size:y.font.size,color:y.font.color}}),C("fill"),b.fill!=="none"&&p(f,b,x,C),l.coerceSelectionMarkerOpacity(b,C)};function s(d,f,b){var x=b("lon")||[],y=b("lat")||[],C=Math.min(x.length,y.length);return f._length=C,C}},37920:function(u){u.exports=function(a,l){return a.lon=l.lon,a.lat=l.lat,a}},11960:function(u,h,a){var l=a(54460);u.exports=function(i,S,g){var p={},_=g[S.subplot]._subplot,c=_.mockAxis,s=i.lonlat;return p.lonLabel=l.tickText(c,c.c2l(s[0]),!0).text,p.latLabel=l.tickText(c,c.c2l(s[1]),!0).text,p}},63312:function(u,h,a){var l=a(93024),v=a(3400),i=a(44928),S=v.fillText,g=a(39032).BADNUM,p=a(47552).traceLayerPrefix;function _(s,d,f){var b=s.cd,x=b[0].trace,y=s.xa,C=s.ya,w=s.subplot,R=[],A=p+x.uid+"-circle",E=x.cluster&&x.cluster.enabled;if(E){var k=w.map.queryRenderedFeatures(null,{layers:[A]});R=k.map(function(z){return z.id})}var L=d>=0?Math.floor((d+180)/360):Math.ceil((d-180)/360),I=L*360,P=d-I;function M(z){var V=z.lonlat;if(V[0]===g||E&&R.indexOf(z.i+1)===-1)return 1/0;var j=v.modHalf(V[0],360),G=V[1],W=w.project([j,G]),X=W.x-y.c2p([P,G]),Q=W.y-C.c2p([j,f]),ae=Math.max(3,z.mrc||0);return Math.max(Math.sqrt(X*X+Q*Q)-ae,1-3/ae)}if(l.getClosest(b,M,s),s.index!==!1){var F=b[s.index],N=F.lonlat,T=[v.modHalf(N[0],360)+I,N[1]],D=y.c2p(T),O=C.c2p(T),U=F.mrc||1;s.x0=D-U,s.x1=D+U,s.y0=O-U,s.y1=O+U;var B={};B[x.subplot]={_subplot:w};var Y=x._module.formatLabels(F,x,B);return s.lonLabel=Y.lonLabel,s.latLabel=Y.latLabel,s.color=i(x,F),s.extraText=c(x,F,b[0].t.labels),s.hovertemplate=x.hovertemplate,[s]}}function c(s,d,f){if(s.hovertemplate)return;var b=d.hi||s.hoverinfo,x=b.split("+"),y=x.indexOf("all")!==-1,C=x.indexOf("lon")!==-1,w=x.indexOf("lat")!==-1,R=d.lonlat,A=[];function E(k){return k+"°"}return y||C&&w?A.push("("+E(R[1])+", "+E(R[0])+")"):C?A.push(f.lon+E(R[0])):w&&A.push(f.lat+E(R[1])),(y||x.indexOf("text")!==-1)&&S(d,s,A),A.join("<br>")}u.exports={hoverPoints:_,getExtraText:c}},11572:function(u,h,a){u.exports={attributes:a(31512),supplyDefaults:a(15752),colorbar:a(5528),formatLabels:a(11960),calc:a(25212),plot:a(9660),hoverPoints:a(63312).hoverPoints,eventData:a(37920),selectPoints:a(404),styleOnSelect:function(l,v){if(v){var i=v[0].trace;i._glTrace.update(v)}},moduleType:"trace",name:"scattermapbox",basePlotModule:a(33688),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{}}},9660:function(u,h,a){var l=a(3400),v=a(59392),i=a(47552).traceLayerPrefix,S={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function g(_,c,s,d){this.type="scattermapbox",this.subplot=_,this.uid=c,this.clusterEnabled=s,this.isHidden=d,this.sourceIds={fill:"source-"+c+"-fill",line:"source-"+c+"-line",circle:"source-"+c+"-circle",symbol:"source-"+c+"-symbol",cluster:"source-"+c+"-circle",clusterCount:"source-"+c+"-circle"},this.layerIds={fill:i+c+"-fill",line:i+c+"-line",circle:i+c+"-circle",symbol:i+c+"-symbol",cluster:i+c+"-cluster",clusterCount:i+c+"-cluster-count"},this.below=null}var p=g.prototype;p.addSource=function(_,c,s){var d={type:"geojson",data:c.geojson};s&&s.enabled&&l.extendFlat(d,{cluster:!0,clusterMaxZoom:s.maxzoom});var f=this.subplot.map.getSource(this.sourceIds[_]);f?f.setData(c.geojson):this.subplot.map.addSource(this.sourceIds[_],d)},p.setSourceData=function(_,c){this.subplot.map.getSource(this.sourceIds[_]).setData(c.geojson)},p.addLayer=function(_,c,s){var d={type:c.type,id:this.layerIds[_],source:this.sourceIds[_],layout:c.layout,paint:c.paint};c.filter&&(d.filter=c.filter);for(var f=this.layerIds[_],b,x=this.subplot.getMapLayers(),y=0;y<x.length;y++)if(x[y].id===f){b=!0;break}b?(this.subplot.setOptions(f,"setLayoutProperty",d.layout),d.layout.visibility==="visible"&&this.subplot.setOptions(f,"setPaintProperty",d.paint)):this.subplot.addLayer(d,s)},p.update=function(c){var s=c[0].trace,d=this.subplot,f=d.map,b=v(d.gd,c),x=d.belowLookup["trace-"+this.uid],y=!!(s.cluster&&s.cluster.enabled),C=!!this.clusterEnabled,w=this;function R(N){N||w.addSource("circle",b.circle,s.cluster);for(var T=S.cluster,D=0;D<T.length;D++){var O=T[D],U=b[O];w.addLayer(O,U,x)}}function A(N){for(var T=S.cluster,D=T.length-1;D>=0;D--){var O=T[D];f.removeLayer(w.layerIds[O])}N||f.removeSource(w.sourceIds.circle)}function E(N){for(var T=S.nonCluster,D=0;D<T.length;D++){var O=T[D],U=b[O];N||w.addSource(O,U),w.addLayer(O,U,x)}}function k(N){for(var T=S.nonCluster,D=T.length-1;D>=0;D--){var O=T[D];f.removeLayer(w.layerIds[O]),N||f.removeSource(w.sourceIds[O])}}function L(N){C?A(N):k(N)}function I(N){y?R(N):E(N)}function P(){for(var N=y?S.cluster:S.nonCluster,T=0;T<N.length;T++){var D=N[T],O=b[D];O&&(d.setOptions(w.layerIds[D],"setLayoutProperty",O.layout),O.layout.visibility==="visible"&&(D!=="cluster"&&w.setSourceData(D,O),d.setOptions(w.layerIds[D],"setPaintProperty",O.paint)))}}var M=this.isHidden,F=s.visible!==!0;F?M||L():M?F||I():C!==y?(L(),I()):(this.below!==x&&(L(!0),I(!0)),P()),this.clusterEnabled=y,this.isHidden=F,this.below=x,c[0].trace._glTrace=this},p.dispose=function(){for(var c=this.subplot.map,s=this.clusterEnabled?S.cluster:S.nonCluster,d=s.length-1;d>=0;d--){var f=s[d];c.removeLayer(this.layerIds[f]),c.removeSource(this.sourceIds[f])}},u.exports=function(c,s){var d=s[0].trace,f=d.cluster&&d.cluster.enabled,b=d.visible!==!0,x=new g(c,d.uid,f,b),y=v(c.gd,s),C=x.below=c.belowLookup["trace-"+d.uid],w,R,A;if(f)for(x.addSource("circle",y.circle,d.cluster),w=0;w<S.cluster.length;w++)R=S.cluster[w],A=y[R],x.addLayer(R,A,C);else for(w=0;w<S.nonCluster.length;w++)R=S.nonCluster[w],A=y[R],x.addSource(R,A,d.cluster),x.addLayer(R,A,C);return s[0].trace._glTrace=x,x}},404:function(u,h,a){var l=a(3400),v=a(43028),i=a(39032).BADNUM;u.exports=function(g,p){var _=g.cd,c=g.xaxis,s=g.yaxis,d=[],f=_[0].trace,b;if(!v.hasMarkers(f))return[];if(p===!1)for(b=0;b<_.length;b++)_[b].selected=0;else for(b=0;b<_.length;b++){var x=_[b],y=x.lonlat;if(y[0]!==i){var C=[l.modHalf(y[0],360),y[1]],w=[c.c2p(C),s.c2p(C)];p.contains(w,null,b,g)?(d.push({pointNumber:b,lon:y[0],lat:y[1]}),x.selected=1):x.selected=0}}return d}},8319:function(u,h,a){var l=a(21776).Ks,v=a(21776).Gw,i=a(92880).extendFlat,S=a(98304),g=a(52904),p=a(45464),_=g.line;u.exports={mode:g.mode,r:{valType:"data_array",editType:"calc+clearAxisTypes"},theta:{valType:"data_array",editType:"calc+clearAxisTypes"},r0:{valType:"any",dflt:0,editType:"calc+clearAxisTypes"},dr:{valType:"number",dflt:1,editType:"calc"},theta0:{valType:"any",dflt:0,editType:"calc+clearAxisTypes"},dtheta:{valType:"number",editType:"calc"},thetaunit:{valType:"enumerated",values:["radians","degrees","gradians"],dflt:"degrees",editType:"calc+clearAxisTypes"},text:g.text,texttemplate:v({editType:"plot"},{keys:["r","theta","text"]}),hovertext:g.hovertext,line:{color:_.color,width:_.width,dash:_.dash,backoff:_.backoff,shape:i({},_.shape,{values:["linear","spline"]}),smoothing:_.smoothing,editType:"calc"},connectgaps:g.connectgaps,marker:g.marker,cliponaxis:i({},g.cliponaxis,{dflt:!1}),textposition:g.textposition,textfont:g.textfont,fill:i({},g.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:S(),hoverinfo:i({},p.hoverinfo,{flags:["r","theta","text","name"]}),hoveron:g.hoveron,hovertemplate:l(),selected:g.selected,unselected:g.unselected}},58320:function(u,h,a){var l=a(38248),v=a(39032).BADNUM,i=a(54460),S=a(90136),g=a(20148),p=a(4500),_=a(16356).calcMarkerSize;u.exports=function(s,d){for(var f=s._fullLayout,b=d.subplot,x=f[b].radialaxis,y=f[b].angularaxis,C=x.makeCalcdata(d,"r"),w=y.makeCalcdata(d,"theta"),R=d._length,A=new Array(R),E=0;E<R;E++){var k=C[E],L=w[E],I=A[E]={};l(k)&&l(L)?(I.r=k,I.theta=L):I.r=v}var P=_(d,R);return d._extremes.x=i.findExtremes(x,C,{ppad:P}),S(s,d),g(A,d),p(A,d),A}},85968:function(u,h,a){var l=a(3400),v=a(43028),i=a(74428),S=a(66828),g=a(11731),p=a(124),_=a(70840),c=a(88200).PTS_LINESONLY,s=a(8319);function d(b,x,y,C){function w(E,k){return l.coerce(b,x,s,E,k)}var R=f(b,x,C,w);if(!R){x.visible=!1;return}w("thetaunit"),w("mode",R<c?"lines+markers":"lines"),w("text"),w("hovertext"),x.hoveron!=="fills"&&w("hovertemplate"),v.hasMarkers(x)&&i(b,x,y,C,w,{gradient:!0}),v.hasLines(x)&&(S(b,x,y,C,w,{backoff:!0}),g(b,x,w),w("connectgaps")),v.hasText(x)&&(w("texttemplate"),p(b,x,C,w));var A=[];(v.hasMarkers(x)||v.hasText(x))&&(w("cliponaxis"),w("marker.maxdisplayed"),A.push("points")),w("fill"),x.fill!=="none"&&(_(b,x,y,w),v.hasLines(x)||g(b,x,w)),(x.fill==="tonext"||x.fill==="toself")&&A.push("fills"),w("hoveron",A.join("+")||"points"),l.coerceSelectionMarkerOpacity(x,w)}function f(b,x,y,C){var w=C("r"),R=C("theta");l.isTypedArray(w)&&(x.r=w=Array.from(w)),l.isTypedArray(R)&&(x.theta=R=Array.from(R));var A;if(w)R?A=Math.min(w.length,R.length):(A=w.length,C("theta0"),C("dtheta"));else{if(!R)return 0;A=x.theta.length,C("r0"),C("dr")}return x._length=A,A}u.exports={handleRThetaDefaults:f,supplyDefaults:d}},22852:function(u,h,a){var l=a(3400),v=a(54460);u.exports=function(S,g,p){var _={},c=p[g.subplot]._subplot,s,d;c?(s=c.radialAxis,d=c.angularAxis):(c=p[g.subplot],s=c.radialaxis,d=c.angularaxis);var f=s.c2l(S.r);_.rLabel=v.tickText(s,f,!0).text;var b=d.thetaunit==="degrees"?l.rad2deg(S.theta):S.theta;return _.thetaLabel=v.tickText(d,b,!0).text,_}},8504:function(u,h,a){var l=a(98723);function v(S,g,p,_){var c=l(S,g,p,_);if(!(!c||c[0].index===!1)){var s=c[0];if(s.index===void 0)return c;var d=S.subplot,f=s.cd[s.index],b=s.trace;if(d.isPtInside(f))return s.xLabelVal=void 0,s.yLabelVal=void 0,i(f,b,d,s),s.hovertemplate=b.hovertemplate,c}}function i(S,g,p,_){var c=p.radialAxis,s=p.angularAxis;c._hovertitle="r",s._hovertitle="θ";var d={};d[g.subplot]={_subplot:p};var f=g._module.formatLabels(S,g,d);_.rLabel=f.rLabel,_.thetaLabel=f.thetaLabel;var b=S.hi||g.hoverinfo,x=[];function y(w,R){x.push(w._hovertitle+": "+R)}if(!g.hovertemplate){var C=b.split("+");C.indexOf("all")!==-1&&(C=["r","theta","text"]),C.indexOf("r")!==-1&&y(c,_.rLabel),C.indexOf("theta")!==-1&&y(s,_.thetaLabel),C.indexOf("text")!==-1&&_.text&&(x.push(_.text),delete _.text),_.extraText=x.join("<br>")}}u.exports={hoverPoints:v,makeHoverPointText:i}},76924:function(u,h,a){u.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:a(40872),categories:["polar","symbols","showLegend","scatter-like"],attributes:a(8319),supplyDefaults:a(85968).supplyDefaults,colorbar:a(5528),formatLabels:a(22852),calc:a(58320),plot:a(43456),style:a(49224).style,styleOnSelect:a(49224).styleOnSelect,hoverPoints:a(8504).hoverPoints,selectPoints:a(91560),meta:{}}},43456:function(u,h,a){var l=a(96504),v=a(39032).BADNUM;u.exports=function(S,g,p){for(var _=g.layers.frontplot.select("g.scatterlayer"),c=g.xaxis,s=g.yaxis,d={xaxis:c,yaxis:s,plot:g.framework,layerClipId:g._hasClipOnAxisFalse?g.clipIds.forTraces:null},f=g.radialAxis,b=g.angularAxis,x=0;x<p.length;x++)for(var y=p[x],C=0;C<y.length;C++){C===0&&(y[0].trace._xA=c,y[0].trace._yA=s);var w=y[C],R=w.r;if(R===v)w.x=w.y=v;else{var A=f.c2g(R),E=b.c2g(w.theta);w.x=A*Math.cos(E),w.y=A*Math.sin(E)}}l(S,d,p,_)}},24396:function(u,h,a){var l=a(8319),v=a(2876),i=a(21776).Gw;u.exports={mode:l.mode,r:l.r,theta:l.theta,r0:l.r0,dr:l.dr,theta0:l.theta0,dtheta:l.dtheta,thetaunit:l.thetaunit,text:l.text,texttemplate:i({editType:"plot"},{keys:["r","theta","text"]}),hovertext:l.hovertext,hovertemplate:l.hovertemplate,line:{color:v.line.color,width:v.line.width,dash:v.line.dash,editType:"calc"},connectgaps:v.connectgaps,marker:v.marker,fill:v.fill,fillcolor:v.fillcolor,textposition:v.textposition,textfont:v.textfont,hoverinfo:l.hoverinfo,selected:l.selected,unselected:l.unselected}},27160:function(u,h,a){u.exports={moduleType:"trace",name:"scatterpolargl",basePlotModule:a(40872),categories:["gl","regl","polar","symbols","showLegend","scatter-like"],attributes:a(24396),supplyDefaults:a(98608),colorbar:a(5528),formatLabels:a(94120),calc:a(66720),hoverPoints:a(1600).hoverPoints,selectPoints:a(73224),meta:{}}},66720:function(u,h,a){var l=a(90136),v=a(16356).calcMarkerSize,i=a(84236),S=a(54460),g=a(67072).TOO_MANY_POINTS;u.exports=function(_,c){var s=_._fullLayout,d=c.subplot,f=s[d].radialaxis,b=s[d].angularaxis,x=c._r=f.makeCalcdata(c,"r"),y=c._theta=b.makeCalcdata(c,"theta"),C=c._length,w={};C<x.length&&(x=x.slice(0,C)),C<y.length&&(y=y.slice(0,C)),w.r=x,w.theta=y,l(_,c);var R=w.opts=i.style(_,c),A;return C<g?A=v(c,C):R.marker&&(A=2*(R.marker.sizeAvg||Math.max(R.marker.size,3))),c._extremes.x=S.findExtremes(f,x,{ppad:A}),[{x:!1,y:!1,t:w,trace:c}]}},98608:function(u,h,a){var l=a(3400),v=a(43028),i=a(85968).handleRThetaDefaults,S=a(74428),g=a(66828),p=a(124),_=a(70840),c=a(88200).PTS_LINESONLY,s=a(24396);u.exports=function(f,b,x,y){function C(R,A){return l.coerce(f,b,s,R,A)}var w=i(f,b,y,C);if(!w){b.visible=!1;return}C("thetaunit"),C("mode",w<c?"lines+markers":"lines"),C("text"),C("hovertext"),b.hoveron!=="fills"&&C("hovertemplate"),v.hasMarkers(b)&&S(f,b,x,y,C,{noAngleRef:!0,noStandOff:!0}),v.hasLines(b)&&(g(f,b,x,y,C),C("connectgaps")),v.hasText(b)&&(C("texttemplate"),p(f,b,y,C)),C("fill"),b.fill!=="none"&&_(f,b,x,C),l.coerceSelectionMarkerOpacity(b,C)}},94120:function(u,h,a){var l=a(22852);u.exports=function(i,S,g){var p=i.i;return"r"in i||(i.r=S._r[p]),"theta"in i||(i.theta=S._theta[p]),l(i,S,g)}},1600:function(u,h,a){var l=a(41272),v=a(8504).makeHoverPointText;function i(S,g,p,_){var c=S.cd,s=c[0].t,d=s.r,f=s.theta,b=l.hoverPoints(S,g,p,_);if(!(!b||b[0].index===!1)){var x=b[0];if(x.index===void 0)return b;var y=S.subplot,C=x.cd[x.index],w=x.trace;if(C.r=d[x.index],C.theta=f[x.index],!!y.isPtInside(C))return x.xLabelVal=void 0,x.yLabelVal=void 0,v(C,w,y,x),b}}u.exports={hoverPoints:i}},62944:function(u,h,a){var l=a(27160);l.plot=a(56512),u.exports=l},56512:function(u,h,a){var l=a(3108),v=a(38248),i=a(89876),S=a(74588),g=a(84236),p=a(3400),_=a(67072).TOO_MANY_POINTS,c={};u.exports=function(d,f,b){if(b.length){var x=f.radialAxis,y=f.angularAxis,C=S(d,f);return b.forEach(function(w){if(!(!w||!w[0]||!w[0].trace)){var R=w[0],A=R.trace,E=R.t,k=A._length,L=E.r,I=E.theta,P=E.opts,M,F=L.slice(),N=I.slice();for(M=0;M<L.length;M++)f.isPtInside({r:L[M],theta:I[M]})||(F[M]=NaN,N[M]=NaN);var T=new Array(k*2),D=Array(k),O=Array(k);for(M=0;M<k;M++){var U=F[M],B,Y;if(v(U)){var z=x.c2g(U),V=y.c2g(N[M],A.thetaunit);B=z*Math.cos(V),Y=z*Math.sin(V)}else B=Y=NaN;D[M]=T[M*2]=B,O[M]=T[M*2+1]=Y}E.tree=l(T),P.marker&&k>=_&&(P.marker.cluster=E.tree),P.marker&&(P.markerSel.positions=P.markerUnsel.positions=P.marker.positions=T),P.line&&T.length>1&&p.extendFlat(P.line,g.linePositions(d,A,T)),P.text&&(p.extendFlat(P.text,{positions:T},g.textPosition(d,A,P.text,P.marker)),p.extendFlat(P.textSel,{positions:T},g.textPosition(d,A,P.text,P.markerSel)),p.extendFlat(P.textUnsel,{positions:T},g.textPosition(d,A,P.text,P.markerUnsel))),P.fill&&!C.fill2d&&(C.fill2d=!0),P.marker&&!C.scatter2d&&(C.scatter2d=!0),P.line&&!C.line2d&&(C.line2d=!0),P.text&&!C.glText&&(C.glText=!0),C.lineOptions.push(P.line),C.fillOptions.push(P.fill),C.markerOptions.push(P.marker),C.markerSelectedOptions.push(P.markerSel),C.markerUnselectedOptions.push(P.markerUnsel),C.textOptions.push(P.text),C.textSelectedOptions.push(P.textSel),C.textUnselectedOptions.push(P.textUnsel),C.selectBatch.push([]),C.unselectBatch.push([]),E.x=D,E.y=O,E.rawx=D,E.rawy=O,E.r=L,E.theta=I,E.positions=T,E._scene=C,E.index=C.count,C.count++}}),i(d,f,b)}},u.exports.reglPrecompiled=c},69496:function(u,h,a){var l=a(21776).Ks,v=a(21776).Gw,i=a(92880).extendFlat,S=a(98304),g=a(52904),p=a(45464),_=g.line;u.exports={mode:g.mode,real:{valType:"data_array",editType:"calc+clearAxisTypes"},imag:{valType:"data_array",editType:"calc+clearAxisTypes"},text:g.text,texttemplate:v({editType:"plot"},{keys:["real","imag","text"]}),hovertext:g.hovertext,line:{color:_.color,width:_.width,dash:_.dash,backoff:_.backoff,shape:i({},_.shape,{values:["linear","spline"]}),smoothing:_.smoothing,editType:"calc"},connectgaps:g.connectgaps,marker:g.marker,cliponaxis:i({},g.cliponaxis,{dflt:!1}),textposition:g.textposition,textfont:g.textfont,fill:i({},g.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:S(),hoverinfo:i({},p.hoverinfo,{flags:["real","imag","text","name"]}),hoveron:g.hoveron,hovertemplate:l(),selected:g.selected,unselected:g.unselected}},47507:function(u,h,a){var l=a(38248),v=a(39032).BADNUM,i=a(90136),S=a(20148),g=a(4500),p=a(16356).calcMarkerSize;u.exports=function(c,s){for(var d=c._fullLayout,f=s.subplot,b=d[f].realaxis,x=d[f].imaginaryaxis,y=b.makeCalcdata(s,"real"),C=x.makeCalcdata(s,"imag"),w=s._length,R=new Array(w),A=0;A<w;A++){var E=y[A],k=C[A],L=R[A]={};l(E)&&l(k)?(L.real=E,L.imag=k):L.real=v}return p(s,w),i(c,s),S(R,s),g(R,s),R}},76716:function(u,h,a){var l=a(3400),v=a(43028),i=a(74428),S=a(66828),g=a(11731),p=a(124),_=a(70840),c=a(88200).PTS_LINESONLY,s=a(69496);u.exports=function(b,x,y,C){function w(E,k){return l.coerce(b,x,s,E,k)}var R=d(b,x,C,w);if(!R){x.visible=!1;return}w("mode",R<c?"lines+markers":"lines"),w("text"),w("hovertext"),x.hoveron!=="fills"&&w("hovertemplate"),v.hasMarkers(x)&&i(b,x,y,C,w,{gradient:!0}),v.hasLines(x)&&(S(b,x,y,C,w,{backoff:!0}),g(b,x,w),w("connectgaps")),v.hasText(x)&&(w("texttemplate"),p(b,x,C,w));var A=[];(v.hasMarkers(x)||v.hasText(x))&&(w("cliponaxis"),w("marker.maxdisplayed"),A.push("points")),w("fill"),x.fill!=="none"&&(_(b,x,y,w),v.hasLines(x)||g(b,x,w)),(x.fill==="tonext"||x.fill==="toself")&&A.push("fills"),w("hoveron",A.join("+")||"points"),l.coerceSelectionMarkerOpacity(x,w)};function d(f,b,x,y){var C=y("real"),w=y("imag"),R;return C&&w&&(R=Math.min(C.length,w.length)),l.isTypedArray(C)&&(b.real=C=Array.from(C)),l.isTypedArray(w)&&(b.imag=w=Array.from(w)),b._length=R,R}},49504:function(u,h,a){var l=a(54460);u.exports=function(i,S,g){var p={},_=g[S.subplot]._subplot;return p.realLabel=l.tickText(_.radialAxis,i.real,!0).text,p.imagLabel=l.tickText(_.angularAxis,i.imag,!0).text,p}},25292:function(u,h,a){var l=a(98723);function v(S,g,p,_){var c=l(S,g,p,_);if(!(!c||c[0].index===!1)){var s=c[0];if(s.index===void 0)return c;var d=S.subplot,f=s.cd[s.index],b=s.trace;if(d.isPtInside(f))return s.xLabelVal=void 0,s.yLabelVal=void 0,i(f,b,d,s),s.hovertemplate=b.hovertemplate,c}}function i(S,g,p,_){var c=p.radialAxis,s=p.angularAxis;c._hovertitle="real",s._hovertitle="imag";var d={};d[g.subplot]={_subplot:p};var f=g._module.formatLabels(S,g,d);_.realLabel=f.realLabel,_.imagLabel=f.imagLabel;var b=S.hi||g.hoverinfo,x=[];function y(w,R){x.push(w._hovertitle+": "+R)}if(!g.hovertemplate){var C=b.split("+");C.indexOf("all")!==-1&&(C=["real","imag","text"]),C.indexOf("real")!==-1&&y(c,_.realLabel),C.indexOf("imag")!==-1&&y(s,_.imagLabel),C.indexOf("text")!==-1&&_.text&&(x.push(_.text),delete _.text),_.extraText=x.join("<br>")}}u.exports={hoverPoints:v,makeHoverPointText:i}},95443:function(u,h,a){u.exports={moduleType:"trace",name:"scattersmith",basePlotModule:a(47788),categories:["smith","symbols","showLegend","scatter-like"],attributes:a(69496),supplyDefaults:a(76716),colorbar:a(5528),formatLabels:a(49504),calc:a(47507),plot:a(34927),style:a(49224).style,styleOnSelect:a(49224).styleOnSelect,hoverPoints:a(25292).hoverPoints,selectPoints:a(91560),meta:{}}},34927:function(u,h,a){var l=a(96504),v=a(39032).BADNUM,i=a(36416),S=i.smith;u.exports=function(p,_,c){for(var s=_.layers.frontplot.select("g.scatterlayer"),d=_.xaxis,f=_.yaxis,b={xaxis:d,yaxis:f,plot:_.framework,layerClipId:_._hasClipOnAxisFalse?_.clipIds.forTraces:null},x=0;x<c.length;x++)for(var y=c[x],C=0;C<y.length;C++){C===0&&(y[0].trace._xA=d,y[0].trace._yA=f);var w=y[C],R=w.real;if(R===v)w.x=w.y=v;else{var A=S([R,w.imag]);w.x=A[0],w.y=A[1]}}l(p,b,c,s)}},5896:function(u,h,a){var l=a(21776).Ks,v=a(21776).Gw,i=a(98304),S=a(52904),g=a(45464),p=a(49084),_=a(98192).u,c=a(92880).extendFlat,s=S.marker,d=S.line,f=s.line;u.exports={a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},c:{valType:"data_array",editType:"calc"},sum:{valType:"number",dflt:0,min:0,editType:"calc"},mode:c({},S.mode,{dflt:"markers"}),text:c({},S.text,{}),texttemplate:v({editType:"plot"},{keys:["a","b","c","text"]}),hovertext:c({},S.hovertext,{}),line:{color:d.color,width:d.width,dash:_,backoff:d.backoff,shape:c({},d.shape,{values:["linear","spline"]}),smoothing:d.smoothing,editType:"calc"},connectgaps:S.connectgaps,cliponaxis:S.cliponaxis,fill:c({},S.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:i(),marker:c({symbol:s.symbol,opacity:s.opacity,angle:s.angle,angleref:s.angleref,standoff:s.standoff,maxdisplayed:s.maxdisplayed,size:s.size,sizeref:s.sizeref,sizemin:s.sizemin,sizemode:s.sizemode,line:c({width:f.width,editType:"calc"},p("marker.line")),gradient:s.gradient,editType:"calc"},p("marker")),textfont:S.textfont,textposition:S.textposition,selected:S.selected,unselected:S.unselected,hoverinfo:c({},g.hoverinfo,{flags:["a","b","c","text","name"]}),hoveron:S.hoveron,hovertemplate:l()}},34335:function(u,h,a){var l=a(38248),v=a(90136),i=a(20148),S=a(4500),g=a(16356).calcMarkerSize,p=["a","b","c"],_={a:["b","c"],b:["a","c"],c:["a","b"]};u.exports=function(s,d){var f=s._fullLayout[d.subplot],b=f.sum,x=d.sum||b,y={a:d.a,b:d.b,c:d.c},C,w,R,A,E,k;for(C=0;C<p.length;C++)if(R=p[C],!y[R]){for(E=y[_[R][0]],k=y[_[R][1]],A=new Array(E.length),w=0;w<E.length;w++)A[w]=x-E[w]-k[w];y[R]=A}var L=d._length,I=new Array(L),P,M,F,N,T,D;for(C=0;C<L;C++)P=y.a[C],M=y.b[C],F=y.c[C],l(P)&&l(M)&&l(F)?(P=+P,M=+M,F=+F,N=b/(P+M+F),N!==1&&(P*=N,M*=N,F*=N),D=P,T=F-M,I[C]={x:T,y:D,a:P,b:M,c:F}):I[C]={x:!1,y:!1};return g(d,L),v(s,d),i(I,d),S(I,d),I}},84256:function(u,h,a){var l=a(3400),v=a(88200),i=a(43028),S=a(74428),g=a(66828),p=a(11731),_=a(124),c=a(70840),s=a(5896);u.exports=function(f,b,x,y){function C(I,P){return l.coerce(f,b,s,I,P)}var w=C("a"),R=C("b"),A=C("c"),E;if(w?(E=w.length,R?(E=Math.min(E,R.length),A&&(E=Math.min(E,A.length))):A?E=Math.min(E,A.length):E=0):R&&A&&(E=Math.min(R.length,A.length)),!E){b.visible=!1;return}b._length=E,C("sum"),C("text"),C("hovertext"),b.hoveron!=="fills"&&C("hovertemplate");var k=E<v.PTS_LINESONLY?"lines+markers":"lines";C("mode",k),i.hasMarkers(b)&&S(f,b,x,y,C,{gradient:!0}),i.hasLines(b)&&(g(f,b,x,y,C,{backoff:!0}),p(f,b,C),C("connectgaps")),i.hasText(b)&&(C("texttemplate"),_(f,b,y,C));var L=[];(i.hasMarkers(b)||i.hasText(b))&&(C("cliponaxis"),C("marker.maxdisplayed"),L.push("points")),C("fill"),b.fill!=="none"&&(c(f,b,x,C),i.hasLines(b)||p(f,b,C)),(b.fill==="tonext"||b.fill==="toself")&&L.push("fills"),C("hoveron",L.join("+")||"points"),l.coerceSelectionMarkerOpacity(b,C)}},97476:function(u){u.exports=function(a,l,v,i,S){if(l.xa&&(a.xaxis=l.xa),l.ya&&(a.yaxis=l.ya),i[S]){var g=i[S];a.a=g.a,a.b=g.b,a.c=g.c}else a.a=l.a,a.b=l.b,a.c=l.c;return a}},90404:function(u,h,a){var l=a(54460);u.exports=function(i,S,g){var p={},_=g[S.subplot]._subplot;return p.aLabel=l.tickText(_.aaxis,i.a,!0).text,p.bLabel=l.tickText(_.baxis,i.b,!0).text,p.cLabel=l.tickText(_.caxis,i.c,!0).text,p}},26596:function(u,h,a){var l=a(98723);u.exports=function(i,S,g,p){var _=l(i,S,g,p);if(!_||_[0].index===!1)return;var c=_[0];if(c.index===void 0){var s=1-c.y0/i.ya._length,d=i.xa._length,f=d*s/2,b=d-f;return c.x0=Math.max(Math.min(c.x0,b),f),c.x1=Math.max(Math.min(c.x1,b),f),_}var x=c.cd[c.index],y=c.trace,C=c.subplot;c.a=x.a,c.b=x.b,c.c=x.c,c.xLabelVal=void 0,c.yLabelVal=void 0;var w={};w[y.subplot]={_subplot:C};var R=y._module.formatLabels(x,y,w);c.aLabel=R.aLabel,c.bLabel=R.bLabel,c.cLabel=R.cLabel;var A=x.hi||y.hoverinfo,E=[];function k(I,P){E.push(I._hovertitle+": "+P)}if(!y.hovertemplate){var L=A.split("+");L.indexOf("all")!==-1&&(L=["a","b","c"]),L.indexOf("a")!==-1&&k(C.aaxis,c.aLabel),L.indexOf("b")!==-1&&k(C.baxis,c.bLabel),L.indexOf("c")!==-1&&k(C.caxis,c.cLabel)}return c.extraText=E.join("<br>"),c.hovertemplate=y.hovertemplate,_}},34864:function(u,h,a){u.exports={attributes:a(5896),supplyDefaults:a(84256),colorbar:a(5528),formatLabels:a(90404),calc:a(34335),plot:a(88776),style:a(49224).style,styleOnSelect:a(49224).styleOnSelect,hoverPoints:a(26596),selectPoints:a(91560),eventData:a(97476),moduleType:"trace",name:"scatterternary",basePlotModule:a(19352),categories:["ternary","symbols","showLegend","scatter-like"],meta:{}}},88776:function(u,h,a){var l=a(96504);u.exports=function(i,S,g){var p=S.plotContainer;p.select(".scatterlayer").selectAll("*").remove();for(var _=S.xaxis,c=S.yaxis,s={xaxis:_,yaxis:c,plot:p,layerClipId:S._hasClipOnAxisFalse?S.clipIdRelative:null},d=S.layers.frontplot.select("g.scatterlayer"),f=0;f<g.length;f++){var b=g[f];b.length&&(b[0].trace._xA=_,b[0].trace._yA=c)}l(i,s,g,d)}},44524:function(u,h,a){var l=a(52904),v=a(49084),i=a(29736).axisHoverFormat,S=a(21776).Ks,g=a(2876),p=a(33816).idRegex,_=a(31780).templatedArray,c=a(92880).extendFlat,s=l.marker,d=s.line,f=c(v("marker.line",{editTypeOverride:"calc"}),{width:c({},d.width,{editType:"calc"}),editType:"calc"}),b=c(v("marker"),{symbol:s.symbol,angle:s.angle,size:c({},s.size,{editType:"markerSize"}),sizeref:s.sizeref,sizemin:s.sizemin,sizemode:s.sizemode,opacity:s.opacity,colorbar:s.colorbar,line:f,editType:"calc"});b.color.editType=b.cmin.editType=b.cmax.editType="style";function x(y){return{valType:"info_array",freeLength:!0,editType:"calc",items:{valType:"subplotid",regex:p[y],editType:"plot"}}}u.exports={dimensions:_("dimension",{visible:{valType:"boolean",dflt:!0,editType:"calc"},label:{valType:"string",editType:"calc"},values:{valType:"data_array",editType:"calc+clearAxisTypes"},axis:{type:{valType:"enumerated",values:["linear","log","date","category"],editType:"calc+clearAxisTypes"},matches:{valType:"boolean",dflt:!1,editType:"calc"},editType:"calc+clearAxisTypes"},editType:"calc+clearAxisTypes"}),text:c({},g.text,{}),hovertext:c({},g.hovertext,{}),hovertemplate:S(),xhoverformat:i("x"),yhoverformat:i("y"),marker:b,xaxes:x("x"),yaxes:x("y"),diagonal:{visible:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"},showupperhalf:{valType:"boolean",dflt:!0,editType:"calc"},showlowerhalf:{valType:"boolean",dflt:!0,editType:"calc"},selected:{marker:g.selected.marker,editType:"calc"},unselected:{marker:g.unselected.marker,editType:"calc"},opacity:g.opacity}},28888:function(u,h,a){var l=a(24040),v=a(12704);u.exports={moduleType:"trace",name:"splom",categories:["gl","regl","cartesian","symbols","showLegend","scatter-like"],attributes:a(44524),supplyDefaults:a(69544),colorbar:a(5528),calc:a(66821),plot:a(54840),hoverPoints:a(72248).hoverPoints,selectPoints:a(62500),editStyle:a(83156),meta:{}},l.register(v)},99332:function(u,h,a){var l=a(13472),v=a(24040),i=a(5048),S=a(84888)._M,g=a(57952),p=a(79811).getFromId,_=a(54460).shouldShowZeroLine,c="splom",s={};function d(w){var R=w._fullLayout,A=v.getModule(c),E=S(w.calcdata,A)[0],k=i(w,["ANGLE_instanced_arrays","OES_element_index_uint"],s);k&&(R._hasOnlyLargeSploms&&x(w),A.plot(w,{},E))}function f(w){var R=w.calcdata,A=w._fullLayout;A._hasOnlyLargeSploms&&x(w);for(var E=0;E<R.length;E++){var k=R[E][0],L=k.trace,I=A._splomScenes[L.uid];L.type==="splom"&&I&&I.matrix&&b(w,L,I)}}function b(w,R,A){for(var E=A.matrixOptions.data.length,k=R._visibleDims,L=A.viewOpts.ranges=new Array(E),I=0;I<k.length;I++){var P=k[I],M=L[I]=new Array(4),F=p(w,R._diag[P][0]);F&&(M[0]=F.r2l(F.range[0]),M[2]=F.r2l(F.range[1]));var N=p(w,R._diag[P][1]);N&&(M[1]=N.r2l(N.range[0]),M[3]=N.r2l(N.range[1]))}A.selectBatch.length||A.unselectBatch.length?A.matrix.update({ranges:L},{ranges:L}):A.matrix.update({ranges:L})}function x(w){var R=w._fullLayout,A=R._glcanvas.data()[0].regl,E=R._splomGrid;E||(E=R._splomGrid=l(A)),E.update(y(w))}function y(w){var R=w._context.plotGlPixelRatio,A=w._fullLayout,E=A._size,k=[0,0,A.width*R,A.height*R],L={},I;function P(X,Q,ae,ie,he,J){ae*=R,ie*=R,he*=R,J*=R;var Z=Q[X+"color"],le=Q[X+"width"],K=String(Z+le);K in L?L[K].data.push(NaN,NaN,ae,ie,he,J):L[K]={data:[ae,ie,he,J],join:"rect",thickness:le*R,color:Z,viewport:k,range:k,overlay:!1}}for(I in A._splomSubplots){var M=A._plots[I],F=M.xaxis,N=M.yaxis,T=F._gridVals,D=N._gridVals,O=F._offset,U=F._length,B=N._length,Y=E.b+N.domain[0]*E.h,z=-N._m,V=-z*N.r2l(N.range[0],N.calendar),j,G;if(F.showgrid)for(I=0;I<T.length;I++)j=O+F.l2p(T[I].x),P("grid",F,j,Y,j,Y+B);if(N.showgrid)for(I=0;I<D.length;I++)G=Y+V+z*D[I].x,P("grid",N,O,G,O+U,G);_(w,F,N)&&(j=O+F.l2p(0),P("zeroline",F,j,Y,j,Y+B)),_(w,N,F)&&(G=Y+V+0,P("zeroline",N,O,G,O+U,G))}var W=[];for(I in L)W.push(L[I]);return W}function C(w,R,A,E){var k={},L;if(E._splomScenes){for(L=0;L<w.length;L++){var I=w[L];I.type==="splom"&&(k[I.uid]=1)}for(L=0;L<A.length;L++){var P=A[L];if(!k[P.uid]){var M=E._splomScenes[P.uid];M&&M.destroy&&M.destroy(),E._splomScenes[P.uid]=null,delete E._splomScenes[P.uid]}}}Object.keys(E._splomScenes||{}).length===0&&delete E._splomScenes,E._splomGrid&&!R._hasOnlyLargeSploms&&E._hasOnlyLargeSploms&&(E._splomGrid.destroy(),E._splomGrid=null,delete E._splomGrid),g.clean(w,R,A,E)}u.exports={name:c,attr:g.attr,attrRegex:g.attrRegex,layoutAttributes:g.layoutAttributes,supplyLayoutDefaults:g.supplyLayoutDefaults,drawFramework:g.drawFramework,plot:d,drag:f,updateGrid:x,clean:C,updateFx:g.updateFx,toSVG:g.toSVG,reglPrecompiled:s}},66821:function(u,h,a){var l=a(3400),v=a(79811),i=a(16356).calcMarkerSize,S=a(16356).calcAxisExpansion,g=a(90136),p=a(84236).markerSelection,_=a(84236).markerStyle,c=a(72308),s=a(39032).BADNUM,d=a(67072).TOO_MANY_POINTS;u.exports=function(b,x){var y=x.dimensions,C=x._length,w={},R=w.cdata=[],A=w.data=[],E=x._visibleDims=[],k,L,I,P,M;function F(U,B){for(var Y=U.makeCalcdata({v:B.values,vcalendar:x.calendar},"v"),z=0;z<Y.length;z++)Y[z]=Y[z]===s?NaN:Y[z];R.push(Y),A.push(U.type==="log"?l.simpleMap(Y,U.c2l):Y)}for(k=0;k<y.length;k++)if(I=y[k],I.visible){if(P=v.getFromId(b,x._diag[k][0]),M=v.getFromId(b,x._diag[k][1]),P&&M&&P.type!==M.type){l.log("Skipping splom dimension "+k+" with conflicting axis types");continue}P?(F(P,I),M&&M.type==="category"&&(M._categories=P._categories.slice())):F(M,I),E.push(k)}g(b,x),l.extendFlat(w,_(b,x));var N=R.length,T=N*C>d,D;for(T?D=w.sizeAvg||Math.max(w.size,3):D=i(x,C),L=0;L<E.length;L++)k=E[L],I=y[k],P=v.getFromId(b,x._diag[k][0])||{},M=v.getFromId(b,x._diag[k][1])||{},S(b,x,P,M,R[L],R[L],D);var O=c(b,x);return O.matrix||(O.matrix=!0),O.matrixOptions=w,O.selectedOptions=p(b,x,x.selected),O.unselectedOptions=p(b,x,x.unselected),[{x:!1,y:!1,t:{},trace:x}]}},69544:function(u,h,a){var l=a(3400),v=a(51272),i=a(44524),S=a(43028),g=a(74428),p=a(26284),_=a(80088).isOpenSymbol;u.exports=function(f,b,x,y){function C(P,M){return l.coerce(f,b,i,P,M)}var w=v(f,b,{name:"dimensions",handleItemDefaults:c}),R=C("diagonal.visible"),A=C("showupperhalf"),E=C("showlowerhalf"),k=p(b,w,"values");if(!k||!R&&!A&&!E){b.visible=!1;return}C("text"),C("hovertext"),C("hovertemplate"),C("xhoverformat"),C("yhoverformat"),g(f,b,x,y,C,{noAngleRef:!0,noStandOff:!0});var L=_(b.marker.symbol),I=S.isBubble(b);C("marker.line.width",L||I?1:0),s(f,b,y,C),l.coerceSelectionMarkerOpacity(b,C)};function c(d,f){function b(y,C){return l.coerce(d,f,i.dimensions,y,C)}b("label");var x=b("values");x&&x.length?b("visible"):f.visible=!1,b("axis.type"),b("axis.matches")}function s(d,f,b,x){var y=f.dimensions,C=y.length,w=f.showupperhalf,R=f.showlowerhalf,A=f.diagonal.visible,E,k,L=new Array(C),I=new Array(C);for(E=0;E<C;E++){var P=E?E+1:"";L[E]="x"+P,I[E]="y"+P}var M=x("xaxes",L),F=x("yaxes",I),N=f._diag=new Array(C);f._xaxes={},f._yaxes={};var T=[],D=[];function O(X,Q,ae,ie){if(X){var he=X.charAt(0),J=b._splomAxes[he];if(f["_"+he+"axes"][X]=1,ie.push(X),!(X in J)){var Z=J[X]={};ae&&(Z.label=ae.label||"",ae.visible&&ae.axis&&(ae.axis.type&&(Z.type=ae.axis.type),ae.axis.matches&&(Z.matches=Q)))}}}var U=!A&&!R,B=!A&&!w;for(f._axesDim={},E=0;E<C;E++){var Y=y[E],z=E===0,V=E===C-1,j=z&&U||V&&B?void 0:M[E],G=z&&B||V&&U?void 0:F[E];O(j,G,Y,T),O(G,j,Y,D),N[E]=[j,G],f._axesDim[j]=E,f._axesDim[G]=E}for(E=0;E<T.length;E++)for(k=0;k<D.length;k++){var W=T[E]+D[k];(E>k&&w||E<k&&R||E===k&&(A||!R||!w))&&(b._splomSubplots[W]=1)}(!R||!A&&w&&R)&&(b._splomGridDflt.xside="bottom",b._splomGridDflt.yside="left")}},83156:function(u,h,a){var l=a(3400),v=a(90136),i=a(84236).markerStyle;u.exports=function(g,p){var _=p.trace,c=g._fullLayout._splomScenes[_.uid];if(c){v(g,_),l.extendFlat(c.matrixOptions,i(g,_));var s=l.extendFlat({},c.matrixOptions,c.viewOpts);c.matrix.update(s,null)}}},50328:function(u,h){h.getDimIndex=function(l,v){for(var i=v._id,S=i.charAt(0),g={x:0,y:1}[S],p=l._visibleDims,_=0;_<p.length;_++){var c=p[_];if(l._diag[c][g]===i)return _}return!1}},72248:function(u,h,a){var l=a(50328),v=a(41272).calcHover;function i(S,g,p){var _=S.cd,c=_[0].trace,s=S.scene,d=s.matrixOptions.cdata,f=S.xa,b=S.ya,x=f.c2p(g),y=b.c2p(p),C=S.distance,w=l.getDimIndex(c,f),R=l.getDimIndex(c,b);if(w===!1||R===!1)return[S];for(var A=d[w],E=d[R],k,L,I=C,P=0;P<A.length;P++){var M=A[P],F=E[P],N=f.c2p(M)-x,T=b.c2p(F)-y,D=Math.sqrt(N*N+T*T);D<I&&(I=L=D,k=P)}return S.index=k,S.distance=I,S.dxy=L,k===void 0?[S]:[v(S,A,E,c)]}u.exports={hoverPoints:i}},97924:function(u,h,a){var l=a(28888);l.basePlotModule=a(99332),u.exports=l},54840:function(u,h,a){var l=a(55795),v=a(3400),i=a(79811),S=a(72760).selectMode;u.exports=function(_,c,s){if(s.length)for(var d=0;d<s.length;d++)g(_,s[d][0])};function g(p,_){var c=p._fullLayout,s=c._size,d=_.trace,f=_.t,b=c._splomScenes[d.uid],x=b.matrixOptions,y=x.cdata,C=c._glcanvas.data()[0].regl,w=c.dragmode,R,A,E,k,L;if(y.length!==0){x.lower=d.showupperhalf,x.upper=d.showlowerhalf,x.diagonal=d.diagonal.visible;var I=d._visibleDims,P=y.length,M=b.viewOpts={};for(M.ranges=new Array(P),M.domains=new Array(P),L=0;L<I.length;L++){E=I[L];var F=M.ranges[L]=new Array(4),N=M.domains[L]=new Array(4);R=i.getFromId(p,d._diag[E][0]),R&&(F[0]=R._rl[0],F[2]=R._rl[1],N[0]=R.domain[0],N[2]=R.domain[1]),A=i.getFromId(p,d._diag[E][1]),A&&(F[1]=A._rl[0],F[3]=A._rl[1],N[1]=A.domain[0],N[3]=A.domain[1])}var T=p._context.plotGlPixelRatio,D=s.l*T,O=s.b*T,U=s.w*T,B=s.h*T;M.viewport=[D,O,U+D,B+O],b.matrix===!0&&(b.matrix=l(C));var Y=c.clickmode.indexOf("select")>-1,z=S(w)||!!d.selectedpoints||Y,V=!0;if(z){var j=d._length;if(d.selectedpoints){b.selectBatch=d.selectedpoints;var G=d.selectedpoints,W={};for(E=0;E<G.length;E++)W[G[E]]=!0;var X=[];for(E=0;E<j;E++)W[E]||X.push(E);b.unselectBatch=X}var Q=f.xpx=new Array(P),ae=f.ypx=new Array(P);for(L=0;L<I.length;L++){if(E=I[L],R=i.getFromId(p,d._diag[E][0]),R)for(Q[L]=new Array(j),k=0;k<j;k++)Q[L][k]=R.c2p(y[L][k]);if(A=i.getFromId(p,d._diag[E][1]),A)for(ae[L]=new Array(j),k=0;k<j;k++)ae[L][k]=A.c2p(y[L][k])}if(b.selectBatch.length||b.unselectBatch.length){var ie=v.extendFlat({},x,b.unselectedOptions,M),he=v.extendFlat({},x,b.selectedOptions,M);b.matrix.update(ie,he),V=!1}}else f.xpx=f.ypx=null;if(V){var J=v.extendFlat({},x,M);b.matrix.update(J,null)}}}},72308:function(u,h,a){var l=a(3400);u.exports=function(i,S){var g=i._fullLayout,p=S.uid,_=g._splomScenes;_||(_=g._splomScenes={});var c={dirty:!0,selectBatch:[],unselectBatch:[]},s={matrix:!1,selectBatch:[],unselectBatch:[]},d=_[S.uid];return d||(d=_[p]=l.extendFlat({},c,s),d.draw=function(){d.matrix&&d.matrix.draw&&(d.selectBatch.length||d.unselectBatch.length?d.matrix.draw(d.unselectBatch,d.selectBatch):d.matrix.draw()),d.dirty=!1},d.destroy=function(){d.matrix&&d.matrix.destroy&&d.matrix.destroy(),d.matrixOptions=null,d.selectBatch=null,d.unselectBatch=null,d=null}),d.dirty||l.extendFlat(d,c),d}},62500:function(u,h,a){var l=a(3400),v=l.pushUnique,i=a(43028),S=a(50328);u.exports=function(p,_){var c=p.cd,s=c[0].trace,d=c[0].t,f=p.scene,b=f.matrixOptions.cdata,x=p.xaxis,y=p.yaxis,C=[];if(!f)return C;var w=!i.hasMarkers(s)&&!i.hasText(s);if(s.visible!==!0||w)return C;var R=S.getDimIndex(s,x),A=S.getDimIndex(s,y);if(R===!1||A===!1)return C;var E=d.xpx[R],k=d.ypx[A],L=b[R],I=b[A],P=(p.scene.selectBatch||[]).slice(),M=[];if(_!==!1&&!_.degenerate)for(var F=0;F<L.length;F++)_.contains([E[F],k[F]],null,F,p)?(C.push({pointNumber:F,x:L[F],y:I[F]}),v(P,F)):P.indexOf(F)!==-1?v(P,F):M.push(F);var N=f.matrixOptions;return!P.length&&!M.length?f.matrix.update(N,null):!f.selectBatch.length&&!f.unselectBatch.length&&f.matrix.update(f.unselectedOptions,l.extendFlat({},N,f.selectedOptions,f.viewOpts)),f.selectBatch=P,f.unselectBatch=M,C}},90167:function(u,h,a){var l=a(49084),v=a(29736).axisHoverFormat,i=a(21776).Ks,S=a(52948),g=a(45464),p=a(92880).extendFlat,_={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},starts:{x:{valType:"data_array",editType:"calc"},y:{valType:"data_array",editType:"calc"},z:{valType:"data_array",editType:"calc"},editType:"calc"},maxdisplayed:{valType:"integer",min:0,dflt:1e3,editType:"calc"},sizeref:{valType:"number",editType:"calc",min:0,dflt:1},text:{valType:"string",dflt:"",editType:"calc"},hovertext:{valType:"string",dflt:"",editType:"calc"},hovertemplate:i({editType:"calc"},{keys:["tubex","tubey","tubez","tubeu","tubev","tubew","norm","divergence"]}),uhoverformat:v("u",1),vhoverformat:v("v",1),whoverformat:v("w",1),xhoverformat:v("x"),yhoverformat:v("y"),zhoverformat:v("z"),showlegend:p({},g.showlegend,{dflt:!1})};p(_,l("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"}));var c=["opacity","lightposition","lighting"];c.forEach(function(s){_[s]=S[s]}),_.hoverinfo=p({},g.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","divergence","text","name"],dflt:"x+y+z+norm+text+name"}),_.transforms=void 0,u.exports=_},3832:function(u,h,a){var l=a(3400),v=a(47128);function i(_,c){c._len=Math.min(c.u.length,c.v.length,c.w.length,c.x.length,c.y.length,c.z.length),c._u=p(c.u,c._len),c._v=p(c.v,c._len),c._w=p(c.w,c._len),c._x=p(c.x,c._len),c._y=p(c.y,c._len),c._z=p(c.z,c._len);var s=S(c);c._gridFill=s.fill,c._Xs=s.Xs,c._Ys=s.Ys,c._Zs=s.Zs,c._len=s.len;var d=0,f,b,x;c.starts&&(f=p(c.starts.x||[]),b=p(c.starts.y||[]),x=p(c.starts.z||[]),d=Math.min(f.length,b.length,x.length)),c._startsX=f||[],c._startsY=b||[],c._startsZ=x||[];var y=0,C=1/0,w;for(w=0;w<c._len;w++){var R=c._u[w],A=c._v[w],E=c._w[w],k=Math.sqrt(R*R+A*A+E*E);y=Math.max(y,k),C=Math.min(C,k)}for(v(_,c,{vals:[C,y],containerStr:"",cLetter:"c"}),w=0;w<d;w++){var L=f[w];s.xMax=Math.max(s.xMax,L),s.xMin=Math.min(s.xMin,L);var I=b[w];s.yMax=Math.max(s.yMax,I),s.yMin=Math.min(s.yMin,I);var P=x[w];s.zMax=Math.max(s.zMax,P),s.zMin=Math.min(s.zMin,P)}c._slen=d,c._normMax=y,c._xbnds=[s.xMin,s.xMax],c._ybnds=[s.yMin,s.yMax],c._zbnds=[s.zMin,s.zMax]}function S(_){var c=_._x,s=_._y,d=_._z,f=_._len,b,x,y,C=-1/0,w=1/0,R=-1/0,A=1/0,E=-1/0,k=1/0,L="",I,P,M,F,N,T,D,O,U;for(f&&(F=c[0],T=s[0],O=d[0]),f>1&&(N=c[f-1],D=s[f-1],U=d[f-1]),b=0;b<f;b++)C=Math.max(C,c[b]),w=Math.min(w,c[b]),R=Math.max(R,s[b]),A=Math.min(A,s[b]),E=Math.max(E,d[b]),k=Math.min(k,d[b]),!I&&c[b]!==F&&(I=!0,L+="x"),!P&&s[b]!==T&&(P=!0,L+="y"),!M&&d[b]!==O&&(M=!0,L+="z");I||(L+="x"),P||(L+="y"),M||(L+="z");var B=g(_._x),Y=g(_._y),z=g(_._z);L=L.replace("x",(F>N?"-":"+")+"x"),L=L.replace("y",(T>D?"-":"+")+"y"),L=L.replace("z",(O>U?"-":"+")+"z");var V=function(){f=0,B=[],Y=[],z=[]};(!f||f<B.length*Y.length*z.length)&&V();var j=function(fe){return fe==="x"?c:fe==="y"?s:d},G=function(fe){return fe==="x"?B:fe==="y"?Y:z},W=function(fe){return fe[f-1]<fe[0]?-1:1},X=j(L[1]),Q=j(L[3]),ae=j(L[5]),ie=G(L[1]).length,he=G(L[3]).length,J=G(L[5]).length,Z=!1,le=function(fe,me,Te){return ie*(he*fe+me)+Te},K=W(j(L[1])),te=W(j(L[3])),ce=W(j(L[5]));for(b=0;b<J-1;b++){for(x=0;x<he-1;x++){for(y=0;y<ie-1;y++){var re=le(b,x,y),ee=le(b,x,y+1),de=le(b,x+1,y),oe=le(b+1,x,y);if((!(X[re]*K<X[ee]*K)||!(Q[re]*te<Q[de]*te)||!(ae[re]*ce<ae[oe]*ce))&&(Z=!0),Z)break}if(Z)break}if(Z)break}return Z&&(l.warn("Encountered arbitrary coordinates! Unable to input data grid."),V()),{xMin:w,yMin:A,zMin:k,xMax:C,yMax:R,zMax:E,Xs:B,Ys:Y,Zs:z,len:f,fill:L}}function g(_){return l.distinctVals(_).vals}function p(_,c){if(c===void 0&&(c=_.length),l.isTypedArray(_))return _.subarray(0,c);for(var s=[],d=0;d<c;d++)s[d]=+_[d];return s}u.exports={calc:i,filter:p,processGrid:S}},25668:function(u,h,a){var l=a(67792).gl_streamtube3d,v=l.createTubeMesh,i=a(3400),S=a(33040).parseColorScale,g=a(8932).extractOpts,p=a(52094),_={xaxis:0,yaxis:1,zaxis:2};function c(y,C){this.scene=y,this.uid=C,this.mesh=null,this.data=null}var s=c.prototype;s.handlePick=function(y){var C=this.scene.fullSceneLayout,w=this.scene.dataScale;function R(k,L){var I=C[L],P=w[_[L]];return I.l2c(k)/P}if(y.object===this.mesh){var A=y.data.position,E=y.data.velocity;return y.traceCoordinate=[R(A[0],"xaxis"),R(A[1],"yaxis"),R(A[2],"zaxis"),R(E[0],"xaxis"),R(E[1],"yaxis"),R(E[2],"zaxis"),y.data.intensity*this.data._normMax,y.data.divergence],y.textLabel=this.data.hovertext||this.data.text,!0}};function d(y){var C=y.length,w;return C>2?w=y.slice(1,C-1):C===2?w=[(y[0]+y[1])/2]:w=y,w}function f(y){var C=y.length;return C===1?[.5,.5]:[y[1]-y[0],y[C-1]-y[C-2]]}function b(y,C){var w=y.fullSceneLayout,R=y.dataScale,A=C._len,E={};function k(he,J){var Z=w[J],le=R[_[J]];return i.simpleMap(he,function(K){return Z.d2l(K)*le})}if(E.vectors=p(k(C._u,"xaxis"),k(C._v,"yaxis"),k(C._w,"zaxis"),A),!A)return{positions:[],cells:[]};var L=k(C._Xs,"xaxis"),I=k(C._Ys,"yaxis"),P=k(C._Zs,"zaxis");E.meshgrid=[L,I,P],E.gridFill=C._gridFill;var M=C._slen;if(M)E.startingPositions=p(k(C._startsX,"xaxis"),k(C._startsY,"yaxis"),k(C._startsZ,"zaxis"));else{for(var F=I[0],N=d(L),T=d(P),D=new Array(N.length*T.length),O=0,U=0;U<N.length;U++)for(var B=0;B<T.length;B++)D[O++]=[N[U],F,T[B]];E.startingPositions=D}E.colormap=S(C),E.tubeSize=C.sizeref,E.maxLength=C.maxdisplayed;var Y=k(C._xbnds,"xaxis"),z=k(C._ybnds,"yaxis"),V=k(C._zbnds,"zaxis"),j=f(L),G=f(I),W=f(P),X=[[Y[0]-j[0],z[0]-G[0],V[0]-W[0]],[Y[1]+j[1],z[1]+G[1],V[1]+W[1]]],Q=l(E,X),ae=g(C);Q.vertexIntensityBounds=[ae.min/C._normMax,ae.max/C._normMax];var ie=C.lightposition;return Q.lightPosition=[ie.x,ie.y,ie.z],Q.ambient=C.lighting.ambient,Q.diffuse=C.lighting.diffuse,Q.specular=C.lighting.specular,Q.roughness=C.lighting.roughness,Q.fresnel=C.lighting.fresnel,Q.opacity=C.opacity,C._pad=Q.tubeScale*C.sizeref*2,Q}s.update=function(y){this.data=y;var C=b(this.scene,y);this.mesh.update(C)},s.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};function x(y,C){var w=y.glplot.gl,R=b(y,C),A=v(w,R),E=new c(y,C.uid);return E.mesh=A,E.data=C,A._trace=E,y.glplot.add(A),E}u.exports=x},54304:function(u,h,a){var l=a(3400),v=a(27260),i=a(90167);u.exports=function(g,p,_,c){function s(w,R){return l.coerce(g,p,i,w,R)}var d=s("u"),f=s("v"),b=s("w"),x=s("x"),y=s("y"),C=s("z");if(!d||!d.length||!f||!f.length||!b||!b.length||!x||!x.length||!y||!y.length||!C||!C.length){p.visible=!1;return}s("starts.x"),s("starts.y"),s("starts.z"),s("maxdisplayed"),s("sizeref"),s("lighting.ambient"),s("lighting.diffuse"),s("lighting.specular"),s("lighting.roughness"),s("lighting.fresnel"),s("lightposition.x"),s("lightposition.y"),s("lightposition.z"),v(g,p,c,s,{prefix:"",cLetter:"c"}),s("text"),s("hovertext"),s("hovertemplate"),s("uhoverformat"),s("vhoverformat"),s("whoverformat"),s("xhoverformat"),s("yhoverformat"),s("zhoverformat"),p._length=null}},15436:function(u,h,a){u.exports={moduleType:"trace",name:"streamtube",basePlotModule:a(12536),categories:["gl3d","showLegend"],attributes:a(90167),supplyDefaults:a(54304),colorbar:{min:"cmin",max:"cmax"},calc:a(3832).calc,plot:a(25668),eventData:function(l,v){return l.tubex=l.x,l.tubey=l.y,l.tubez=l.z,l.tubeu=v.traceCoordinate[3],l.tubev=v.traceCoordinate[4],l.tubew=v.traceCoordinate[5],l.norm=v.traceCoordinate[6],l.divergence=v.traceCoordinate[7],delete l.x,delete l.y,delete l.z,l},meta:{}}},424:function(u,h,a){var l=a(45464),v=a(21776).Ks,i=a(21776).Gw,S=a(49084),g=a(86968).u,p=a(74996),_=a(27328),c=a(92880).extendFlat,s=a(98192).c;u.exports={labels:{valType:"data_array",editType:"calc"},parents:{valType:"data_array",editType:"calc"},values:{valType:"data_array",editType:"calc"},branchvalues:{valType:"enumerated",values:["remainder","total"],dflt:"remainder",editType:"calc"},count:{valType:"flaglist",flags:["branches","leaves"],dflt:"leaves",editType:"calc"},level:{valType:"any",editType:"plot",anim:!0},maxdepth:{valType:"integer",editType:"plot",dflt:-1},marker:c({colors:{valType:"data_array",editType:"calc"},line:{color:c({},p.marker.line.color,{dflt:null}),width:c({},p.marker.line.width,{dflt:1}),editType:"calc"},pattern:s,editType:"calc"},S("marker",{colorAttr:"colors",anim:!1})),leaf:{opacity:{valType:"number",editType:"style",min:0,max:1},editType:"plot"},text:p.text,textinfo:{valType:"flaglist",flags:["label","text","value","current path","percent root","percent entry","percent parent"],extras:["none"],editType:"plot"},texttemplate:i({editType:"plot"},{keys:_.eventDataKeys.concat(["label","value"])}),hovertext:p.hovertext,hoverinfo:c({},l.hoverinfo,{flags:["label","text","value","name","current path","percent root","percent entry","percent parent"],dflt:"label+text+value+name"}),hovertemplate:v({},{keys:_.eventDataKeys}),textfont:p.textfont,insidetextorientation:p.insidetextorientation,insidetextfont:p.insidetextfont,outsidetextfont:c({},p.outsidetextfont,{}),rotation:{valType:"angle",dflt:0,editType:"plot"},sort:p.sort,root:{color:{valType:"color",editType:"calc",dflt:"rgba(0,0,0,0)"},editType:"calc"},domain:g({name:"sunburst",trace:!0,editType:"calc"})}},54904:function(u,h,a){var l=a(7316);h.name="sunburst",h.plot=function(v,i,S,g){l.plotBasePlot(h.name,v,i,S,g)},h.clean=function(v,i,S,g){l.cleanBasePlot(h.name,v,i,S,g)}},3776:function(u,h,a){var l=a(74148),v=a(38248),i=a(3400),S=a(8932).makeColorScaleFuncFromTrace,g=a(45768).makePullColorFn,p=a(45768).generateExtendedColors,_=a(8932).calc,c=a(39032).ALMOST_EQUAL,s={},d={},f={};h.calc=function(x,y){var C=x._fullLayout,w=y.ids,R=i.isArrayOrTypedArray(w),A=y.labels,E=y.parents,k=y.values,L=i.isArrayOrTypedArray(k),I=[],P={},M={},F=function(K,te){P[K]?P[K].push(te):P[K]=[te],M[te]=1},N=function(K){return K||typeof K=="number"},T=function(K){return!L||v(k[K])&&k[K]>=0},D,O,U;R?(D=Math.min(w.length,E.length),O=function(K){return N(w[K])&&T(K)},U=function(K){return String(w[K])}):(D=Math.min(A.length,E.length),O=function(K){return N(A[K])&&T(K)},U=function(K){return String(A[K])}),L&&(D=Math.min(D,k.length));for(var B=0;B<D;B++)if(O(B)){var Y=U(B),z=N(E[B])?String(E[B]):"",V={i:B,id:Y,pid:z,label:N(A[B])?String(A[B]):""};L&&(V.v=+k[B]),I.push(V),F(z,Y)}if(P[""]){if(P[""].length>1){for(var W=i.randstr(),X=0;X<I.length;X++)I[X].pid===""&&(I[X].pid=W);I.unshift({hasMultipleRoots:!0,id:W,pid:"",label:""})}}else{var j=[],G;for(G in P)M[G]||j.push(G);if(j.length===1)G=j[0],I.unshift({hasImpliedRoot:!0,id:G,pid:"",label:G});else return i.warn(["Multiple implied roots, cannot build",y.type,"hierarchy of",y.name+".","These roots include:",j.join(", ")].join(" "))}var Q;try{Q=l.stratify().id(function(K){return K.id}).parentId(function(K){return K.pid})(I)}catch(K){return i.warn(["Failed to build",y.type,"hierarchy of",y.name+".","Error:",K.message].join(" "))}var ae=l.hierarchy(Q),ie=!1;if(L)switch(y.branchvalues){case"remainder":ae.sum(function(K){return K.data.v});break;case"total":ae.each(function(K){var te=K.data.data,ce=te.v;if(K.children){var re=K.children.reduce(function(ee,de){return ee+de.data.data.v},0);if((te.hasImpliedRoot||te.hasMultipleRoots)&&(ce=re),ce<re*c)return ie=!0,i.warn(["Total value for node",K.data.data.id,"of",y.name,"is smaller than the sum of its children.",`
parent value =`,ce,`
children sum =`,re].join(" "))}K.value=ce});break}else b(ae,y,{branches:y.count.indexOf("branches")!==-1,leaves:y.count.indexOf("leaves")!==-1});if(!ie){y.sort&&ae.sort(function(K,te){return te.value-K.value});var he,J,Z=y.marker.colors||[],le=!!Z.length;return y._hasColorscale?(le||(Z=L?y.values:y._values),_(x,y,{vals:Z,containerStr:"marker",cLetter:"c"}),J=S(y.marker)):he=g(C["_"+y.type+"colormap"]),ae.each(function(K){var te=K.data.data;te.color=y._hasColorscale?J(Z[te.i]):he(Z[te.i],te.id)}),I[0].hierarchy=ae,I}},h._runCrossTraceCalc=function(x,y){var C=y._fullLayout,w=y.calcdata,R=C[x+"colorway"],A=C["_"+x+"colormap"];C["extend"+x+"colors"]&&(R=p(R,x==="icicle"?f:x==="treemap"?d:s));var E=0,k;function L(F){var N=F.data.data,T=N.id;N.color===!1&&(A[T]?N.color=A[T]:F.parent?F.parent.parent?N.color=F.parent.data.data.color:(A[T]=N.color=R[E%R.length],E++):N.color=k)}for(var I=0;I<w.length;I++){var P=w[I],M=P[0];M.trace.type===x&&M.hierarchy&&(k=M.trace.root.color,M.hierarchy.each(L))}},h.crossTraceCalc=function(x){return h._runCrossTraceCalc("sunburst",x)};function b(x,y,C){var w=0,R=x.children;if(R){for(var A=R.length,E=0;E<A;E++)w+=b(R[E],y,C);C.branches&&w++}else C.leaves&&w++;return x.value=x.data.data.value=w,y._values||(y._values=[]),y._values[x.data.data.i]=w,w}},27328:function(u){u.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"linear",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"]}},25244:function(u,h,a){var l=a(3400),v=a(424),i=a(86968).Q,S=a(31508).handleText,g=a(74174).handleMarkerDefaults,p=a(8932),_=p.hasColorscale,c=p.handleDefaults;u.exports=function(d,f,b,x){function y(L,I){return l.coerce(d,f,v,L,I)}var C=y("labels"),w=y("parents");if(!C||!C.length||!w||!w.length){f.visible=!1;return}var R=y("values");R&&R.length?y("branchvalues"):y("count"),y("level"),y("maxdepth"),g(d,f,x,y);var A=f._hasColorscale=_(d,"marker","colors")||(d.marker||{}).coloraxis;A&&c(d,f,x,y,{prefix:"marker.",cLetter:"c"}),y("leaf.opacity",A?1:.7);var E=y("text");y("texttemplate"),f.texttemplate||y("textinfo",l.isArrayOrTypedArray(E)?"text+label":"label"),y("hovertext"),y("hovertemplate");var k="auto";S(d,f,x,y,k,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),y("insidetextorientation"),y("sort"),y("rotation"),y("root.color"),i(f,x,y),f._length=null}},60404:function(u,h,a){var l=a(43616),v=a(76308);u.exports=function(S,g,p,_,c){var s=g.data.data,d=s.i,f=c||s.color;if(d>=0){g.i=s.i;var b=p.marker;b.pattern?(!b.colors||!b.pattern.shape)&&(b.color=f,g.color=f):(b.color=f,g.color=f),l.pointStyle(S,p,_,g)}else v.fill(S,f)}},45716:function(u,h,a){var l=a(33428),v=a(24040),i=a(10624).appendArrayPointValue,S=a(93024),g=a(3400),p=a(95924),_=a(78176),c=a(69656),s=c.formatPieValue;u.exports=function(b,x,y,C,w){var R=C[0],A=R.trace,E=R.hierarchy,k=A.type==="sunburst",L=A.type==="treemap"||A.type==="icicle";"_hasHoverLabel"in A||(A._hasHoverLabel=!1),"_hasHoverEvent"in A||(A._hasHoverEvent=!1);var I=function(F){var N=y._fullLayout;if(!(y._dragging||N.hovermode===!1)){var T=y._fullData[A.index],D=F.data.data,O=D.i,U=_.isHierarchyRoot(F),B=_.getParent(E,F),Y=_.getValue(F),z=function(ee){return g.castOption(T,O,ee)},V=z("hovertemplate"),j=S.castHoverinfo(T,N,O),G=N.separators,W;if(V||j&&j!=="none"&&j!=="skip"){var X,Q;k&&(X=R.cx+F.pxmid[0]*(1-F.rInscribed),Q=R.cy+F.pxmid[1]*(1-F.rInscribed)),L&&(X=F._hoverX,Q=F._hoverY);var ae={},ie=[],he=[],J=function(ee){return ie.indexOf(ee)!==-1};j&&(ie=j==="all"?T._module.attributes.hoverinfo.flags:j.split("+")),ae.label=D.label,J("label")&&ae.label&&he.push(ae.label),D.hasOwnProperty("v")&&(ae.value=D.v,ae.valueLabel=s(ae.value,G),J("value")&&he.push(ae.valueLabel)),ae.currentPath=F.currentPath=_.getPath(F.data),J("current path")&&!U&&he.push(ae.currentPath);var Z,le=[],K=function(){le.indexOf(Z)===-1&&(he.push(Z),le.push(Z))};ae.percentParent=F.percentParent=Y/_.getValue(B),ae.parent=F.parentString=_.getPtLabel(B),J("percent parent")&&(Z=_.formatPercent(ae.percentParent,G)+" of "+ae.parent,K()),ae.percentEntry=F.percentEntry=Y/_.getValue(x),ae.entry=F.entry=_.getPtLabel(x),J("percent entry")&&!U&&!F.onPathbar&&(Z=_.formatPercent(ae.percentEntry,G)+" of "+ae.entry,K()),ae.percentRoot=F.percentRoot=Y/_.getValue(E),ae.root=F.root=_.getPtLabel(E),J("percent root")&&!U&&(Z=_.formatPercent(ae.percentRoot,G)+" of "+ae.root,K()),ae.text=z("hovertext")||z("text"),J("text")&&(Z=ae.text,g.isValidTextValue(Z)&&he.push(Z)),W=[d(F,T,w.eventDataKeys)];var te={trace:T,y:Q,_x0:F._x0,_x1:F._x1,_y0:F._y0,_y1:F._y1,text:he.join("<br>"),name:V||J("name")?T.name:void 0,color:z("hoverlabel.bgcolor")||D.color,borderColor:z("hoverlabel.bordercolor"),fontFamily:z("hoverlabel.font.family"),fontSize:z("hoverlabel.font.size"),fontColor:z("hoverlabel.font.color"),nameLength:z("hoverlabel.namelength"),textAlign:z("hoverlabel.align"),hovertemplate:V,hovertemplateLabels:ae,eventData:W};k&&(te.x0=X-F.rInscribed*F.rpx1,te.x1=X+F.rInscribed*F.rpx1,te.idealAlign=F.pxmid[0]<0?"left":"right"),L&&(te.x=X,te.idealAlign=X<0?"left":"right");var ce=[];S.loneHover(te,{container:N._hoverlayer.node(),outerContainer:N._paper.node(),gd:y,inOut_bbox:ce}),W[0].bbox=ce[0],A._hasHoverLabel=!0}if(L){var re=b.select("path.surface");w.styleOne(re,F,T,y,{hovered:!0})}A._hasHoverEvent=!0,y.emit("plotly_hover",{points:W||[d(F,T,w.eventDataKeys)],event:l.event})}},P=function(F){var N=y._fullLayout,T=y._fullData[A.index],D=l.select(this).datum();if(A._hasHoverEvent&&(F.originalEvent=l.event,y.emit("plotly_unhover",{points:[d(D,T,w.eventDataKeys)],event:l.event}),A._hasHoverEvent=!1),A._hasHoverLabel&&(S.loneUnhover(N._hoverlayer.node()),A._hasHoverLabel=!1),L){var O=b.select("path.surface");w.styleOne(O,D,T,y,{hovered:!1})}},M=function(F){var N=y._fullLayout,T=y._fullData[A.index],D=k&&(_.isHierarchyRoot(F)||_.isLeaf(F)),O=_.getPtId(F),U=_.isEntry(F)?_.findEntryWithChild(E,O):_.findEntryWithLevel(E,O),B=_.getPtId(U),Y={points:[d(F,T,w.eventDataKeys)],event:l.event};D||(Y.nextLevel=B);var z=p.triggerHandler(y,"plotly_"+A.type+"click",Y);if(z!==!1&&N.hovermode&&(y._hoverdata=[d(F,T,w.eventDataKeys)],S.click(y,l.event)),!D&&z!==!1&&!y._dragging&&!y._transitioning){v.call("_storeDirectGUIEdit",T,N._tracePreGUI[T.uid],{level:T.level});var V={data:[{level:B}],traces:[A.index]},j={frame:{redraw:!1,duration:w.transitionTime},transition:{duration:w.transitionTime,easing:w.transitionEasing},mode:"immediate",fromcurrent:!0};S.loneUnhover(N._hoverlayer.node()),v.call("animate",y,V,j)}};b.on("mouseover",I),b.on("mouseout",P),b.on("click",M)};function d(f,b,x){for(var y=f.data.data,C={curveNumber:b.index,pointNumber:y.i,data:b._input,fullData:b},w=0;w<x.length;w++){var R=x[w];R in f&&(C[R]=f[R])}return"parentString"in f&&!_.isHierarchyRoot(f)&&(C.parent=f.parentString),i(C,b,y.i),C}},78176:function(u,h,a){var l=a(3400),v=a(76308),i=a(93972),S=a(69656);h.findEntryWithLevel=function(c,s){var d;return s&&c.eachAfter(function(f){if(h.getPtId(f)===s)return d=f.copy()}),d||c},h.findEntryWithChild=function(c,s){var d;return c.eachAfter(function(f){for(var b=f.children||[],x=0;x<b.length;x++){var y=b[x];if(h.getPtId(y)===s)return d=f.copy()}}),d||c},h.isEntry=function(c){return!c.parent},h.isLeaf=function(c){return!c.children},h.getPtId=function(c){return c.data.data.id},h.getPtLabel=function(c){return c.data.data.label},h.getValue=function(c){return c.value},h.isHierarchyRoot=function(c){return _(c)===""},h.setSliceCursor=function(c,s,d){var f=d.isTransitioning;if(!f){var b=c.datum();f=d.hideOnRoot&&h.isHierarchyRoot(b)||d.hideOnLeaves&&h.isLeaf(b)}i(c,f?null:"pointer")};function g(c,s,d){return{color:h.getOutsideTextFontKey("color",c,s,d),family:h.getOutsideTextFontKey("family",c,s,d),size:h.getOutsideTextFontKey("size",c,s,d)}}function p(c,s,d,f){var b=(f||{}).onPathbar,x=s.data.data,y=x.i,C=l.castOption(c,y,(b?"pathbar.textfont":"insidetextfont")+".color");return!C&&c._input.textfont&&(C=l.castOption(c._input,y,"textfont.color")),{color:C||v.contrast(x.color),family:h.getInsideTextFontKey("family",c,s,d,f),size:h.getInsideTextFontKey("size",c,s,d,f)}}h.getInsideTextFontKey=function(c,s,d,f,b){var x=(b||{}).onPathbar,y=x?"pathbar.textfont":"insidetextfont",C=d.data.data.i;return l.castOption(s,C,y+"."+c)||l.castOption(s,C,"textfont."+c)||f.size},h.getOutsideTextFontKey=function(c,s,d,f){var b=d.data.data.i;return l.castOption(s,b,"outsidetextfont."+c)||l.castOption(s,b,"textfont."+c)||f.size},h.isOutsideText=function(c,s){return!c._hasColorscale&&h.isHierarchyRoot(s)},h.determineTextFont=function(c,s,d,f){return h.isOutsideText(c,s)?g(c,s,d):p(c,s,d,f)},h.hasTransition=function(c){return!!(c&&c.duration>0)},h.getMaxDepth=function(c){return c.maxdepth>=0?c.maxdepth:1/0},h.isHeader=function(c,s){return!(h.isLeaf(c)||c.depth===s._maxDepth-1)};function _(c){return c.data.data.pid}h.getParent=function(c,s){return h.findEntryWithLevel(c,_(s))},h.listPath=function(c,s){var d=c.parent;if(!d)return[];var f=s?[d.data[s]]:[d];return h.listPath(d,s).concat(f)},h.getPath=function(c){return h.listPath(c,"label").join("/")+"/"},h.formatValue=S.formatPieValue,h.formatPercent=function(c,s){var d=l.formatPercent(c,0);return d==="0%"&&(d=S.formatPiePercent(c,s)),d}},5621:function(u,h,a){u.exports={moduleType:"trace",name:"sunburst",basePlotModule:a(54904),categories:[],animatable:!0,attributes:a(424),layoutAttributes:a(84920),supplyDefaults:a(25244),supplyLayoutDefaults:a(28732),calc:a(3776).calc,crossTraceCalc:a(3776).crossTraceCalc,plot:a(96488).plot,style:a(85676).style,colorbar:a(5528),meta:{}}},84920:function(u){u.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},28732:function(u,h,a){var l=a(3400),v=a(84920);u.exports=function(S,g){function p(_,c){return l.coerce(S,g,v,_,c)}p("sunburstcolorway",g.colorway),p("extendsunburstcolors")}},96488:function(u,h,a){var l=a(33428),v=a(74148),i=a(67756).qy,S=a(43616),g=a(3400),p=a(72736),_=a(82744),c=_.recordMinTextSize,s=_.clearMinTextSize,d=a(37820),f=a(69656).getRotationAngle,b=d.computeTransform,x=d.transformInsideText,y=a(85676).styleOne,C=a(60100).resizeText,w=a(45716),R=a(27328),A=a(78176);h.plot=function(M,F,N,T){var D=M._fullLayout,O=D._sunburstlayer,U,B,Y=!N,z=!D.uniformtext.mode&&A.hasTransition(N);if(s("sunburst",D),U=O.selectAll("g.trace.sunburst").data(F,function(j){return j[0].trace.uid}),U.enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),U.order(),z){T&&(B=T());var V=l.transition().duration(N.duration).ease(N.easing).each("end",function(){B&&B()}).each("interrupt",function(){B&&B()});V.each(function(){O.selectAll("g.trace").each(function(j){E(M,j,this,N)})})}else U.each(function(j){E(M,j,this,N)}),D.uniformtext.mode&&C(M,D._sunburstlayer.selectAll(".trace"),"sunburst");Y&&U.exit().remove()};function E(M,F,N,T){var D=M._context.staticPlot,O=M._fullLayout,U=!O.uniformtext.mode&&A.hasTransition(T),B=l.select(N),Y=B.selectAll("g.slice"),z=F[0],V=z.trace,j=z.hierarchy,G=A.findEntryWithLevel(j,V.level),W=A.getMaxDepth(V),X=O._size,Q=V.domain,ae=X.w*(Q.x[1]-Q.x[0]),ie=X.h*(Q.y[1]-Q.y[0]),he=.5*Math.min(ae,ie),J=z.cx=X.l+X.w*(Q.x[1]+Q.x[0])/2,Z=z.cy=X.t+X.h*(1-Q.y[0])-ie/2;if(!G)return Y.remove();var le=null,K={};U&&Y.each(function(We){K[A.getPtId(We)]={rpx0:We.rpx0,rpx1:We.rpx1,x0:We.x0,x1:We.x1,transform:We.transform},!le&&A.isEntry(We)&&(le=We)});var te=k(G).descendants(),ce=G.height+1,re=0,ee=W;z.hasMultipleRoots&&A.isHierarchyRoot(G)&&(te=te.slice(1),ce-=1,re=1,ee+=1),te=te.filter(function(We){return We.y1<=ee});var de=f(V.rotation);de&&te.forEach(function(We){We.x0+=de,We.x1+=de});var oe=Math.min(ce,W),fe=function(We){return(We-re)/oe*he},me=function(We,lt){return[We*Math.cos(lt),-We*Math.sin(lt)]},Te=function(We){return g.pathAnnulus(We.rpx0,We.rpx1,We.x0,We.x1,J,Z)},we=function(We){return J+I(We)[0]*(We.transform.rCenter||0)+(We.transform.x||0)},Be=function(We){return Z+I(We)[1]*(We.transform.rCenter||0)+(We.transform.y||0)};Y=Y.data(te,A.getPtId),Y.enter().append("g").classed("slice",!0),U?Y.exit().transition().each(function(){var We=l.select(this),lt=We.select("path.surface");lt.transition().attrTween("d",function(tt){var et=Pe(tt);return function(pt){return Te(et(pt))}});var ht=We.select("g.slicetext");ht.attr("opacity",0)}).remove():Y.exit().remove(),Y.order();var Ae=null;if(U&&le){var Re=A.getPtId(le);Y.each(function(We){Ae===null&&A.getPtId(We)===Re&&(Ae=We.x1)})}var be=Y;U&&(be=be.transition().each("end",function(){var We=l.select(this);A.setSliceCursor(We,M,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:!1})})),be.each(function(We){var lt=l.select(this),ht=g.ensureSingle(lt,"path","surface",function(bt){bt.style("pointer-events",D?"none":"all")});We.rpx0=fe(We.y0),We.rpx1=fe(We.y1),We.xmid=(We.x0+We.x1)/2,We.pxmid=me(We.rpx1,We.xmid),We.midangle=-(We.xmid-Math.PI/2),We.startangle=-(We.x0-Math.PI/2),We.stopangle=-(We.x1-Math.PI/2),We.halfangle=.5*Math.min(g.angleDelta(We.x0,We.x1)||Math.PI,Math.PI),We.ring=1-We.rpx0/We.rpx1,We.rInscribed=L(We),U?ht.transition().attrTween("d",function(bt){var Rt=Ke(bt);return function(ct){return Te(Rt(ct))}}):ht.attr("d",Te),lt.call(w,G,M,F,{eventDataKeys:R.eventDataKeys,transitionTime:R.CLICK_TRANSITION_TIME,transitionEasing:R.CLICK_TRANSITION_EASING}).call(A.setSliceCursor,M,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:M._transitioning}),ht.call(y,We,V,M);var tt=g.ensureSingle(lt,"g","slicetext"),et=g.ensureSingle(tt,"text","",function(bt){bt.attr("data-notex",1)}),pt=g.ensureUniformFontSize(M,A.determineTextFont(V,We,O.font));et.text(h.formatSliceLabel(We,G,V,F,O)).classed("slicetext",!0).attr("text-anchor","middle").call(S.font,pt).call(p.convertToTspans,M);var vt=S.bBox(et.node());We.transform=x(vt,We,z),We.transform.targetX=we(We),We.transform.targetY=Be(We);var _t=function(bt,Rt){var ct=bt.transform;return b(ct,Rt),ct.fontSize=pt.size,c(V.type,ct,O),g.getTextTransform(ct)};U?et.transition().attrTween("transform",function(bt){var Rt=ze(bt);return function(ct){return _t(Rt(ct),vt)}}):et.attr("transform",_t(We,vt))});function Pe(We){var lt=A.getPtId(We),ht=K[lt],tt=K[A.getPtId(G)],et;if(tt){var pt=(We.x1>tt.x1?2*Math.PI:0)+de;et=We.rpx1<tt.rpx1?{x0:We.x0,x1:We.x1,rpx0:0,rpx1:0}:{x0:pt,x1:pt,rpx0:We.rpx0,rpx1:We.rpx1}}else{var vt,_t=A.getPtId(We.parent);Y.each(function(Qe){if(A.getPtId(Qe)===_t)return vt=Qe});var bt=vt.children,Rt;bt.forEach(function(Qe,rt){if(A.getPtId(Qe)===lt)return Rt=rt});var ct=bt.length,Ve=i(vt.x0,vt.x1);et={rpx0:he,rpx1:he,x0:Ve(Rt/ct),x1:Ve((Rt+1)/ct)}}return i(ht,et)}function Ke(We){var lt=K[A.getPtId(We)],ht,tt={x0:We.x0,x1:We.x1,rpx0:We.rpx0,rpx1:We.rpx1};if(lt)ht=lt;else if(le)if(We.parent)if(Ae){var et=(We.x1>Ae?2*Math.PI:0)+de;ht={x0:et,x1:et}}else ht={rpx0:he,rpx1:he},g.extendFlat(ht,Fe(We));else ht={rpx0:0,rpx1:0};else ht={x0:de,x1:de};return i(ht,tt)}function ze(We){var lt=K[A.getPtId(We)],ht,tt=We.transform;if(lt)ht=lt;else if(ht={rpx1:We.rpx1,transform:{textPosAngle:tt.textPosAngle,scale:0,rotate:tt.rotate,rCenter:tt.rCenter,x:tt.x,y:tt.y}},le)if(We.parent)if(Ae){var et=We.x1>Ae?2*Math.PI:0;ht.x0=ht.x1=et}else g.extendFlat(ht,Fe(We));else ht.x0=ht.x1=de;else ht.x0=ht.x1=de;var pt=i(ht.transform.textPosAngle,We.transform.textPosAngle),vt=i(ht.rpx1,We.rpx1),_t=i(ht.x0,We.x0),bt=i(ht.x1,We.x1),Rt=i(ht.transform.scale,tt.scale),ct=i(ht.transform.rotate,tt.rotate),Ve=tt.rCenter===0?3:ht.transform.rCenter===0?1/3:1,Qe=i(ht.transform.rCenter,tt.rCenter),rt=function(qe){return Qe(Math.pow(qe,Ve))};return function(qe){var He=vt(qe),Ce=_t(qe),Se=bt(qe),Le=rt(qe),Ne=me(He,(Ce+Se)/2),je=pt(qe),Je={pxmid:Ne,rpx1:He,transform:{textPosAngle:je,rCenter:Le,x:tt.x,y:tt.y}};return c(V.type,tt,O),{transform:{targetX:we(Je),targetY:Be(Je),scale:Rt(qe),rotate:ct(qe),rCenter:Le}}}}function Fe(We){var lt=We.parent,ht=K[A.getPtId(lt)],tt={};if(ht){var et=lt.children,pt=et.indexOf(We),vt=et.length,_t=i(ht.x0,ht.x1);tt.x0=_t(pt/vt),tt.x1=_t(pt/vt)}else tt.x0=tt.x1=0;return tt}}function k(M){return v.partition().size([2*Math.PI,M.height+1])(M)}h.formatSliceLabel=function(M,F,N,T,D){var O=N.texttemplate,U=N.textinfo;if(!O&&(!U||U==="none"))return"";var B=D.separators,Y=T[0],z=M.data.data,V=Y.hierarchy,j=A.isHierarchyRoot(M),G=A.getParent(V,M),W=A.getValue(M);if(!O){var X=U.split("+"),Q=function(re){return X.indexOf(re)!==-1},ae=[],ie;if(Q("label")&&z.label&&ae.push(z.label),z.hasOwnProperty("v")&&Q("value")&&ae.push(A.formatValue(z.v,B)),!j){Q("current path")&&ae.push(A.getPath(M.data));var he=0;Q("percent parent")&&he++,Q("percent entry")&&he++,Q("percent root")&&he++;var J=he>1;if(he){var Z,le=function(re){ie=A.formatPercent(Z,B),J&&(ie+=" of "+re),ae.push(ie)};Q("percent parent")&&!j&&(Z=W/A.getValue(G),le("parent")),Q("percent entry")&&(Z=W/A.getValue(F),le("entry")),Q("percent root")&&(Z=W/A.getValue(V),le("root"))}}return Q("text")&&(ie=g.castOption(N,z.i,"text"),g.isValidTextValue(ie)&&ae.push(ie)),ae.join("<br>")}var K=g.castOption(N,z.i,"texttemplate");if(!K)return"";var te={};z.label&&(te.label=z.label),z.hasOwnProperty("v")&&(te.value=z.v,te.valueLabel=A.formatValue(z.v,B)),te.currentPath=A.getPath(M.data),j||(te.percentParent=W/A.getValue(G),te.percentParentLabel=A.formatPercent(te.percentParent,B),te.parent=A.getPtLabel(G)),te.percentEntry=W/A.getValue(F),te.percentEntryLabel=A.formatPercent(te.percentEntry,B),te.entry=A.getPtLabel(F),te.percentRoot=W/A.getValue(V),te.percentRootLabel=A.formatPercent(te.percentRoot,B),te.root=A.getPtLabel(V),z.hasOwnProperty("color")&&(te.color=z.color);var ce=g.castOption(N,z.i,"text");return(g.isValidTextValue(ce)||ce==="")&&(te.text=ce),te.customdata=g.castOption(N,z.i,"customdata"),g.texttemplateString(K,te,D._d3locale,te,N._meta||{})};function L(M){return M.rpx0===0&&g.isFullCircle([M.x0,M.x1])?1:Math.max(0,Math.min(1/(1+1/Math.sin(M.halfangle)),M.ring/2))}function I(M){return P(M.rpx1,M.transform.textPosAngle)}function P(M,F){return[M*Math.sin(F),-M*Math.cos(F)]}},85676:function(u,h,a){var l=a(33428),v=a(76308),i=a(3400),S=a(82744).resizeText,g=a(60404);function p(c){var s=c._fullLayout._sunburstlayer.selectAll(".trace");S(c,s,"sunburst"),s.each(function(d){var f=l.select(this),b=d[0],x=b.trace;f.style("opacity",x.opacity),f.selectAll("path.surface").each(function(y){l.select(this).call(_,y,x,c)})})}function _(c,s,d,f){var b=s.data.data,x=!s.children,y=b.i,C=i.castOption(d,y,"marker.line.color")||v.defaultLine,w=i.castOption(d,y,"marker.line.width")||0;c.call(g,s,d,f).style("stroke-width",w).call(v.stroke,C).style("opacity",x?d.leaf.opacity:null)}u.exports={style:p,styleOne:_}},16716:function(u,h,a){var l=a(76308),v=a(49084),i=a(29736).axisHoverFormat,S=a(21776).Ks,g=a(45464),p=a(92880).extendFlat,_=a(67824).overrideAll;function c(f){return{valType:"boolean",dflt:!1}}function s(f){return{show:{valType:"boolean",dflt:!1},start:{valType:"number",dflt:null,editType:"plot"},end:{valType:"number",dflt:null,editType:"plot"},size:{valType:"number",dflt:null,min:0,editType:"plot"},project:{x:c(),y:c(),z:c()},color:{valType:"color",dflt:l.defaultLine},usecolormap:{valType:"boolean",dflt:!1},width:{valType:"number",min:1,max:16,dflt:2},highlight:{valType:"boolean",dflt:!0},highlightcolor:{valType:"color",dflt:l.defaultLine},highlightwidth:{valType:"number",min:1,max:16,dflt:2}}}var d=u.exports=_(p({z:{valType:"data_array"},x:{valType:"data_array"},y:{valType:"data_array"},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:S(),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},surfacecolor:{valType:"data_array"}},v("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:s(),y:s(),z:s()},hidesurface:{valType:"boolean",dflt:!1},lightposition:{x:{valType:"number",min:-1e5,max:1e5,dflt:10},y:{valType:"number",min:-1e5,max:1e5,dflt:1e4},z:{valType:"number",min:-1e5,max:1e5,dflt:0}},lighting:{ambient:{valType:"number",min:0,max:1,dflt:.8},diffuse:{valType:"number",min:0,max:1,dflt:.8},specular:{valType:"number",min:0,max:2,dflt:.05},roughness:{valType:"number",min:0,max:1,dflt:.5},fresnel:{valType:"number",min:0,max:5,dflt:.2}},opacity:{valType:"number",min:0,max:1,dflt:1},opacityscale:{valType:"any",editType:"calc"},_deprecated:{zauto:p({},v.zauto,{}),zmin:p({},v.zmin,{}),zmax:p({},v.zmax,{})},hoverinfo:p({},g.hoverinfo),showlegend:p({},g.showlegend,{dflt:!1})}),"calc","nested");d.x.editType=d.y.editType=d.z.editType="calc+clearAxisTypes",d.transforms=void 0},56576:function(u,h,a){var l=a(47128);u.exports=function(i,S){S.surfacecolor?l(i,S,{vals:S.surfacecolor,containerStr:"",cLetter:"c"}):l(i,S,{vals:S.z,containerStr:"",cLetter:"c"})}},79164:function(u,h,a){var l=a(67792).gl_surface3d,v=a(67792).ndarray,i=a(67792).ndarray_linear_interpolate.d2,S=a(70448),g=a(11240),p=a(3400).isArrayOrTypedArray,_=a(33040).parseColorScale,c=a(43080),s=a(8932).extractOpts;function d(T,D,O){this.scene=T,this.uid=O,this.surface=D,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var f=d.prototype;f.getXat=function(T,D,O,U){var B=p(this.data.x)?p(this.data.x[0])?this.data.x[D][T]:this.data.x[T]:T;return O===void 0?B:U.d2l(B,0,O)},f.getYat=function(T,D,O,U){var B=p(this.data.y)?p(this.data.y[0])?this.data.y[D][T]:this.data.y[D]:D;return O===void 0?B:U.d2l(B,0,O)},f.getZat=function(T,D,O,U){var B=this.data.z[D][T];return B===null&&this.data.connectgaps&&this.data._interpolatedZ&&(B=this.data._interpolatedZ[D][T]),O===void 0?B:U.d2l(B,0,O)},f.handlePick=function(T){if(T.object===this.surface){var D=(T.data.index[0]-1)/this.dataScaleX-1,O=(T.data.index[1]-1)/this.dataScaleY-1,U=Math.max(Math.min(Math.round(D),this.data.z[0].length-1),0),B=Math.max(Math.min(Math.round(O),this.data._ylength-1),0);T.index=[U,B],T.traceCoordinate=[this.getXat(U,B),this.getYat(U,B),this.getZat(U,B)],T.dataCoordinate=[this.getXat(U,B,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(U,B,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(U,B,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var Y=0;Y<3;Y++){var z=T.dataCoordinate[Y];z!=null&&(T.dataCoordinate[Y]*=this.scene.dataScale[Y])}var V=this.data.hovertext||this.data.text;return p(V)&&V[B]&&V[B][U]!==void 0?T.textLabel=V[B][U]:V?T.textLabel=V:T.textLabel="",T.data.dataCoordinate=T.dataCoordinate.slice(),this.surface.highlight(T.data),this.scene.glplot.spikes.position=T.dataCoordinate,!0}};function b(T){var D=T[0].rgb,O=T[T.length-1].rgb;return D[0]===O[0]&&D[1]===O[1]&&D[2]===O[2]&&D[3]===O[3]}var x=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function y(T,D){if(T<D)return 0;for(var O=0;Math.floor(T%D)===0;)T/=D,O++;return O}function C(T){for(var D=[],O=0;O<x.length;O++){var U=x[O];D.push(y(T,U))}return D}function w(T){for(var D=C(T),O=T,U=0;U<x.length;U++)if(D[U]>0){O=x[U];break}return O}function R(T,D){if(!(T<1||D<1)){for(var O=C(T),U=C(D),B=1,Y=0;Y<x.length;Y++)B*=Math.pow(x[Y],Math.max(O[Y],U[Y]));return B}}function A(T){if(T.length!==0){for(var D=1,O=0;O<T.length;O++)D=R(D,T[O]);return D}}f.calcXnums=function(T){var D,O=[];for(D=1;D<T;D++){var U=this.getXat(D-1,0),B=this.getXat(D,0);B!==U&&U!==void 0&&U!==null&&B!==void 0&&B!==null?O[D-1]=Math.abs(B-U):O[D-1]=0}var Y=0;for(D=1;D<T;D++)Y+=O[D-1];for(D=1;D<T;D++)O[D-1]===0?O[D-1]=1:O[D-1]=Math.round(Y/O[D-1]);return O},f.calcYnums=function(T){var D,O=[];for(D=1;D<T;D++){var U=this.getYat(0,D-1),B=this.getYat(0,D);B!==U&&U!==void 0&&U!==null&&B!==void 0&&B!==null?O[D-1]=Math.abs(B-U):O[D-1]=0}var Y=0;for(D=1;D<T;D++)Y+=O[D-1];for(D=1;D<T;D++)O[D-1]===0?O[D-1]=1:O[D-1]=Math.round(Y/O[D-1]);return O};var E=[1,2,4,6,12,24,36,48,60,120,180,240,360,720,840,1260],k=E[9],L=E[13];f.estimateScale=function(T,D){for(var O=D===0?this.calcXnums(T):this.calcYnums(T),U=1+A(O);U<k;)U*=2;for(;U>L;)U--,U/=w(U),U++,U<k&&(U=L);var B=Math.round(U/T);return B>1?B:1};function I(T,D,O){var U=O[8]+O[2]*D[0]+O[5]*D[1];return T[0]=(O[6]+O[0]*D[0]+O[3]*D[1])/U,T[1]=(O[7]+O[1]*D[0]+O[4]*D[1])/U,T}function P(T,D,O){return M(T,D,I,O),T}function M(T,D,O,U){for(var B=[0,0],Y=T.shape[0],z=T.shape[1],V=0;V<Y;V++)for(var j=0;j<z;j++)O(B,[V,j],U),T.set(V,j,i(D,B[0],B[1]));return T}f.refineCoords=function(T){for(var D=this.dataScaleX,O=this.dataScaleY,U=T[0].shape[0],B=T[0].shape[1],Y=Math.floor(T[0].shape[0]*D+1)|0,z=Math.floor(T[0].shape[1]*O+1)|0,V=1+U+1,j=1+B+1,G=v(new Float32Array(V*j),[V,j]),W=[1/D,0,0,0,1/O,0,0,0,1],X=0;X<T.length;++X){this.surface.padField(G,T[X]);var Q=v(new Float32Array(Y*z),[Y,z]);P(Q,G,W),T[X]=Q}};function F(T,D){for(var O=!1,U=0;U<T.length;U++)if(D===T[U]){O=!0;break}O===!1&&T.push(D)}f.setContourLevels=function(){var T=[[],[],[]],D=[!1,!1,!1],O=!1,U,B,Y;for(U=0;U<3;++U)if(this.showContour[U]&&(O=!0,this.contourSize[U]>0&&this.contourStart[U]!==null&&this.contourEnd[U]!==null&&this.contourEnd[U]>this.contourStart[U]))for(D[U]=!0,B=this.contourStart[U];B<this.contourEnd[U];B+=this.contourSize[U])Y=B*this.scene.dataScale[U],F(T[U],Y);if(O){var z=[[],[],[]];for(U=0;U<3;++U)this.showContour[U]&&(z[U]=D[U]?T[U]:this.scene.contourLevels[U]);this.surface.update({levels:z})}},f.update=function(T){var D=this.scene,O=D.fullSceneLayout,U=this.surface,B=_(T),Y=D.dataScale,z=T.z[0].length,V=T._ylength,j=D.contourLevels;this.data=T;var G,W,X,Q,ae=[];for(G=0;G<3;G++)for(ae[G]=[],W=0;W<z;W++)ae[G][W]=[];for(W=0;W<z;W++)for(X=0;X<V;X++)ae[0][W][X]=this.getXat(W,X,T.xcalendar,O.xaxis),ae[1][W][X]=this.getYat(W,X,T.ycalendar,O.yaxis),ae[2][W][X]=this.getZat(W,X,T.zcalendar,O.zaxis);if(T.connectgaps)for(T._emptypoints=g(ae[2]),S(ae[2],T._emptypoints),T._interpolatedZ=[],W=0;W<z;W++)for(T._interpolatedZ[W]=[],X=0;X<V;X++)T._interpolatedZ[W][X]=ae[2][W][X];for(G=0;G<3;G++)for(W=0;W<z;W++)for(X=0;X<V;X++)Q=ae[G][W][X],Q==null?ae[G][W][X]=NaN:Q=ae[G][W][X]*=Y[G];for(G=0;G<3;G++)for(W=0;W<z;W++)for(X=0;X<V;X++)Q=ae[G][W][X],Q!=null&&(this.minValues[G]>Q&&(this.minValues[G]=Q),this.maxValues[G]<Q&&(this.maxValues[G]=Q));for(G=0;G<3;G++)this.objectOffset[G]=.5*(this.minValues[G]+this.maxValues[G]);for(G=0;G<3;G++)for(W=0;W<z;W++)for(X=0;X<V;X++)Q=ae[G][W][X],Q!=null&&(ae[G][W][X]-=this.objectOffset[G]);var ie=[v(new Float32Array(z*V),[z,V]),v(new Float32Array(z*V),[z,V]),v(new Float32Array(z*V),[z,V])];for(G=0;G<3;G++)for(W=0;W<z;W++)for(X=0;X<V;X++)ie[G].set(W,X,ae[G][W][X]);ae=[];var he={colormap:B,levels:[[],[],[]],showContour:[!0,!0,!0],showSurface:!T.hidesurface,contourProject:[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],contourWidth:[1,1,1],contourColor:[[1,1,1,1],[1,1,1,1],[1,1,1,1]],contourTint:[1,1,1],dynamicColor:[[1,1,1,1],[1,1,1,1],[1,1,1,1]],dynamicWidth:[1,1,1],dynamicTint:[1,1,1],opacityscale:T.opacityscale,opacity:T.opacity},J=s(T);if(he.intensityBounds=[J.min,J.max],T.surfacecolor){var Z=v(new Float32Array(z*V),[z,V]);for(W=0;W<z;W++)for(X=0;X<V;X++)Z.set(W,X,T.surfacecolor[X][W]);ie.push(Z)}else he.intensityBounds[0]*=Y[2],he.intensityBounds[1]*=Y[2];(L<ie[0].shape[0]||L<ie[0].shape[1])&&(this.refineData=!1),this.refineData===!0&&(this.dataScaleX=this.estimateScale(ie[0].shape[0],0),this.dataScaleY=this.estimateScale(ie[0].shape[1],1),(this.dataScaleX!==1||this.dataScaleY!==1)&&this.refineCoords(ie)),T.surfacecolor&&(he.intensity=ie.pop());var le=[!0,!0,!0],K=["x","y","z"];for(G=0;G<3;++G){var te=T.contours[K[G]];le[G]=te.highlight,he.showContour[G]=te.show||te.highlight,he.showContour[G]&&(he.contourProject[G]=[te.project.x,te.project.y,te.project.z],te.show?(this.showContour[G]=!0,he.levels[G]=j[G],U.highlightColor[G]=he.contourColor[G]=c(te.color),te.usecolormap?U.highlightTint[G]=he.contourTint[G]=0:U.highlightTint[G]=he.contourTint[G]=1,he.contourWidth[G]=te.width,this.contourStart[G]=te.start,this.contourEnd[G]=te.end,this.contourSize[G]=te.size):(this.showContour[G]=!1,this.contourStart[G]=null,this.contourEnd[G]=null,this.contourSize[G]=0),te.highlight&&(he.dynamicColor[G]=c(te.highlightcolor),he.dynamicWidth[G]=te.highlightwidth))}b(B)&&(he.vertexColor=!0),he.objectOffset=this.objectOffset,he.coords=ie,U.update(he),U.visible=T.visible,U.enableDynamic=le,U.enableHighlight=le,U.snapToData=!0,"lighting"in T&&(U.ambientLight=T.lighting.ambient,U.diffuseLight=T.lighting.diffuse,U.specularLight=T.lighting.specular,U.roughness=T.lighting.roughness,U.fresnel=T.lighting.fresnel),"lightposition"in T&&(U.lightPosition=[T.lightposition.x,T.lightposition.y,T.lightposition.z])},f.dispose=function(){this.scene.glplot.remove(this.surface),this.surface.dispose()};function N(T,D){var O=T.glplot.gl,U=l({gl:O}),B=new d(T,U,D.uid);return U._trace=B,B.update(D),T.glplot.add(U),B}u.exports=N},60192:function(u,h,a){var l=a(24040),v=a(3400),i=a(27260),S=a(16716),g=.1;function p(f,b){for(var x=[],y=32,C=0;C<y;C++){var w=C/(y-1),R=b+(1-b)*(1-Math.pow(Math.sin(f*w*Math.PI),2));x.push([w,Math.max(0,Math.min(1,R))])}return x}function _(f){var b=0;if(!Array.isArray(f)||f.length<2||!f[0]||!f[f.length-1]||+f[0][0]!=0||+f[f.length-1][0]!=1)return!1;for(var x=0;x<f.length;x++){var y=f[x];if(y.length!==2||+y[0]<b)return!1;b=+y[0]}return!0}function c(f,b,x,y){var C,w;function R(T,D){return v.coerce(f,b,S,T,D)}var A=R("x"),E=R("y"),k=R("z");if(!k||!k.length||A&&A.length<1||E&&E.length<1){b.visible=!1;return}b._xlength=Array.isArray(A)&&v.isArrayOrTypedArray(A[0])?k.length:k[0].length,b._ylength=k.length;var L=l.getComponentMethod("calendars","handleTraceDefaults");L(f,b,["x","y","z"],y),R("text"),R("hovertext"),R("hovertemplate"),R("xhoverformat"),R("yhoverformat"),R("zhoverformat"),["lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lightposition.x","lightposition.y","lightposition.z","hidesurface","connectgaps","opacity"].forEach(function(T){R(T)});var I=R("surfacecolor"),P=["x","y","z"];for(C=0;C<3;++C){var M="contours."+P[C],F=R(M+".show"),N=R(M+".highlight");if(F||N)for(w=0;w<3;++w)R(M+".project."+P[w]);F&&(R(M+".color"),R(M+".width"),R(M+".usecolormap")),N&&(R(M+".highlightcolor"),R(M+".highlightwidth")),R(M+".start"),R(M+".end"),R(M+".size")}I||(d(f,"zmin","cmin"),d(f,"zmax","cmax"),d(f,"zauto","cauto")),i(f,b,y,R,{prefix:"",cLetter:"c"}),s(f,b,y,R),b._length=null}function s(f,b,x,y){var C=y("opacityscale");C==="max"?b.opacityscale=[[0,g],[1,1]]:C==="min"?b.opacityscale=[[0,1],[1,g]]:C==="extremes"?b.opacityscale=p(1,g):_(C)||(b.opacityscale=void 0)}function d(f,b,x){b in f&&!(x in f)&&(f[x]=f[b])}u.exports={supplyDefaults:c,opacityscaleDefaults:s}},91304:function(u,h,a){u.exports={attributes:a(16716),supplyDefaults:a(60192).supplyDefaults,colorbar:{min:"cmin",max:"cmax"},calc:a(56576),plot:a(79164),moduleType:"trace",name:"surface",basePlotModule:a(12536),categories:["gl3d","2dMap","showLegend"],meta:{}}},60520:function(u,h,a){var l=a(13916),v=a(92880).extendFlat,i=a(67824).overrideAll,S=a(25376),g=a(86968).u,p=a(29736).descriptionOnlyNumbers,_=u.exports=i({domain:g({name:"table",trace:!0}),columnwidth:{valType:"number",arrayOk:!0,dflt:null},columnorder:{valType:"data_array"},header:{values:{valType:"data_array",dflt:[]},format:{valType:"data_array",dflt:[],description:p("cell value")},prefix:{valType:"string",arrayOk:!0,dflt:null},suffix:{valType:"string",arrayOk:!0,dflt:null},height:{valType:"number",dflt:28},align:v({},l.align,{arrayOk:!0}),line:{width:{valType:"number",arrayOk:!0,dflt:1},color:{valType:"color",arrayOk:!0,dflt:"grey"}},fill:{color:{valType:"color",arrayOk:!0,dflt:"white"}},font:v({},S({arrayOk:!0}))},cells:{values:{valType:"data_array",dflt:[]},format:{valType:"data_array",dflt:[],description:p("cell value")},prefix:{valType:"string",arrayOk:!0,dflt:null},suffix:{valType:"string",arrayOk:!0,dflt:null},height:{valType:"number",dflt:20},align:v({},l.align,{arrayOk:!0}),line:{width:{valType:"number",arrayOk:!0,dflt:1},color:{valType:"color",arrayOk:!0,dflt:"grey"}},fill:{color:{valType:"color",arrayOk:!0,dflt:"white"}},font:v({},S({arrayOk:!0}))}},"calc","from-root");_.transforms=void 0},85852:function(u,h,a){var l=a(84888)._M,v=a(24752),i="table";h.name=i,h.plot=function(S){var g=l(S.calcdata,i)[0];g.length&&v(S,g)},h.clean=function(S,g,p,_){var c=_._has&&_._has(i),s=g._has&&g._has(i);c&&!s&&_._paperdiv.selectAll(".table").remove()}},39312:function(u,h,a){var l=a(71688).wrap;u.exports=function(){return l({})}},23536:function(u){u.exports={cellPad:8,columnExtentOffset:10,columnTitleOffset:28,emptyHeaderHeight:16,latexCheck:/^\$.*\$$/,goldenRatio:1.618,lineBreaker:"<br>",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}},55992:function(u,h,a){var l=a(23536),v=a(92880).extendFlat,i=a(38248),S=a(38116).isTypedArray,g=a(38116).isArrayOrTypedArray;u.exports=function(C,w){var R=c(w.cells.values),A=function(Q){return Q.slice(w.header.values.length,Q.length)},E=c(w.header.values);E.length&&!E[0].length&&(E[0]=[""],E=c(E));var k=E.concat(A(R).map(function(){return s((E[0]||[""]).length)})),L=w.domain,I=Math.floor(C._fullLayout._size.w*(L.x[1]-L.x[0])),P=Math.floor(C._fullLayout._size.h*(L.y[1]-L.y[0])),M=w.header.values.length?k[0].map(function(){return w.header.height}):[l.emptyHeaderHeight],F=R.length?R[0].map(function(){return w.cells.height}):[],N=M.reduce(_,0),T=P-N,D=T+l.uplift,O=b(F,D),U=b(M,N),B=f(U,[]),Y=f(O,B),z={},V=w._fullInput.columnorder;g(V)&&(V=Array.from(V)),V=V.concat(A(R.map(function(Q,ae){return ae})));var j=k.map(function(Q,ae){var ie=g(w.columnwidth)?w.columnwidth[Math.min(ae,w.columnwidth.length-1)]:w.columnwidth;return i(ie)?Number(ie):1}),G=j.reduce(_,0);j=j.map(function(Q){return Q/G*I});var W=Math.max(p(w.header.line.width),p(w.cells.line.width)),X={key:w.uid+C._context.staticPlot,translateX:L.x[0]*C._fullLayout._size.w,translateY:C._fullLayout._size.h*(1-L.y[1]),size:C._fullLayout._size,width:I,maxLineWidth:W,height:P,columnOrder:V,groupHeight:P,rowBlocks:Y,headerRowBlocks:B,scrollY:0,cells:v({},w.cells,{values:R}),headerCells:v({},w.header,{values:k}),gdColumns:k.map(function(Q){return Q[0]}),gdColumnsOriginalOrder:k.map(function(Q){return Q[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:k.map(function(Q,ae){var ie=z[Q];z[Q]=(ie||0)+1;var he=Q+"__"+z[Q];return{key:he,label:Q,specIndex:ae,xIndex:V[ae],xScale:d,x:void 0,calcdata:void 0,columnWidth:j[ae]}})};return X.columns.forEach(function(Q){Q.calcdata=X,Q.x=d(Q)}),X};function p(y){if(g(y)){for(var C=0,w=0;w<y.length;w++)C=Math.max(C,p(y[w]));return C}return y}function _(y,C){return y+C}function c(y){var C=y.slice(),w=1/0,R=0,A;for(A=0;A<C.length;A++)S(C[A])?C[A]=Array.from(C[A]):g(C[A])||(C[A]=[C[A]]),w=Math.min(w,C[A].length),R=Math.max(R,C[A].length);if(w!==R)for(A=0;A<C.length;A++){var E=R-C[A].length;E&&(C[A]=C[A].concat(s(E)))}return C}function s(y){for(var C=new Array(y),w=0;w<y;w++)C[w]="";return C}function d(y){return y.calcdata.columns.reduce(function(C,w){return w.xIndex<y.xIndex?C+w.columnWidth:C},0)}function f(y,C){var w=Object.keys(y);return w.map(function(R){return v({},y[R],{auxiliaryBlocks:C})})}function b(y,C){for(var w={},R,A=0,E=0,k=x(),L=0,I=0,P=0;P<y.length;P++)R=y[P],k.rows.push({rowIndex:P,rowHeight:R}),E+=R,(E>=C||P===y.length-1)&&(w[A]=k,k.key=I++,k.firstRowIndex=L,k.lastRowIndex=P,k=x(),A+=E,L=P+1,E=0);return w}function x(){return{firstRowIndex:null,lastRowIndex:null,rows:[]}}},53056:function(u,h,a){var l=a(92880).extendFlat;h.splitToPanels=function(i){var S=[0,0],g=l({},i,{key:"header",type:"header",page:0,prevPages:S,currentRepaint:[null,null],dragHandle:!0,values:i.calcdata.headerCells.values[i.specIndex],rowBlocks:i.calcdata.headerRowBlocks,calcdata:l({},i.calcdata,{cells:i.calcdata.headerCells})}),p=l({},i,{key:"cells1",type:"cells",page:0,prevPages:S,currentRepaint:[null,null],dragHandle:!1,values:i.calcdata.cells.values[i.specIndex],rowBlocks:i.calcdata.rowBlocks}),_=l({},i,{key:"cells2",type:"cells",page:1,prevPages:S,currentRepaint:[null,null],dragHandle:!1,values:i.calcdata.cells.values[i.specIndex],rowBlocks:i.calcdata.rowBlocks});return[p,_,g]},h.splitToCells=function(i){var S=v(i);return(i.values||[]).slice(S[0],S[1]).map(function(g,p){var _=typeof g=="string"&&g.match(/[<$&> ]/)?"_keybuster_"+Math.random():"";return{keyWithinBlock:p+_,key:S[0]+p,column:i,calcdata:i.calcdata,page:i.page,rowBlocks:i.rowBlocks,value:g}})};function v(i){var S=i.rowBlocks[i.page],g=S?S.rows[0].rowIndex:0,p=S?g+S.rows.length:0;return[g,p]}},53212:function(u,h,a){var l=a(3400),v=a(60520),i=a(86968).Q;function S(g,p){for(var _=g.columnorder||[],c=g.header.values.length,s=_.slice(0,c),d=s.slice().sort(function(x,y){return x-y}),f=s.map(function(x){return d.indexOf(x)}),b=f.length;b<c;b++)f.push(b);p("columnorder",f)}u.exports=function(p,_,c,s){function d(f,b){return l.coerce(p,_,v,f,b)}i(_,s,d),d("columnwidth"),d("header.values"),d("header.format"),d("header.align"),d("header.prefix"),d("header.suffix"),d("header.height"),d("header.line.width"),d("header.line.color"),d("header.fill.color"),l.coerceFont(d,"header.font",l.extendFlat({},s.font)),S(_,d),d("cells.values"),d("cells.format"),d("cells.align"),d("cells.prefix"),d("cells.suffix"),d("cells.height"),d("cells.line.width"),d("cells.line.color"),d("cells.fill.color"),l.coerceFont(d,"cells.font",l.extendFlat({},s.font)),_._length=null}},41724:function(u,h,a){u.exports={attributes:a(60520),supplyDefaults:a(53212),calc:a(39312),plot:a(24752),moduleType:"trace",name:"table",basePlotModule:a(85852),categories:["noOpacity"],meta:{}}},24752:function(u,h,a){var l=a(23536),v=a(33428),i=a(3400),S=i.numberFormat,g=a(71688),p=a(43616),_=a(72736),c=a(3400).raiseToTop,s=a(3400).strTranslate,d=a(3400).cancelTransition,f=a(55992),b=a(53056),x=a(76308);u.exports=function(de,oe){var fe=!de._context.staticPlot,me=de._fullLayout._paper.selectAll("."+l.cn.table).data(oe.map(function(tt){var et=g.unwrap(tt),pt=et.trace;return f(de,pt)}),g.keyFun);me.exit().remove(),me.enter().append("g").classed(l.cn.table,!0).attr("overflow","visible").style("box-sizing","content-box").style("position","absolute").style("left",0).style("overflow","visible").style("shape-rendering","crispEdges").style("pointer-events","all"),me.attr("width",function(tt){return tt.width+tt.size.l+tt.size.r}).attr("height",function(tt){return tt.height+tt.size.t+tt.size.b}).attr("transform",function(tt){return s(tt.translateX,tt.translateY)});var Te=me.selectAll("."+l.cn.tableControlView).data(g.repeat,g.keyFun),we=Te.enter().append("g").classed(l.cn.tableControlView,!0).style("box-sizing","content-box");if(fe){var Be="onwheel"in document?"wheel":"mousewheel";we.on("mousemove",function(tt){Te.filter(function(et){return tt===et}).call(A,de)}).on(Be,function(tt){if(!tt.scrollbarState.wheeling){tt.scrollbarState.wheeling=!0;var et=tt.scrollY+v.event.deltaY,pt=Q(de,Te,null,et)(tt);pt||(v.event.stopPropagation(),v.event.preventDefault()),tt.scrollbarState.wheeling=!1}}).call(A,de,!0)}Te.attr("transform",function(tt){return s(tt.size.l,tt.size.t)});var Ae=Te.selectAll("."+l.cn.scrollBackground).data(g.repeat,g.keyFun);Ae.enter().append("rect").classed(l.cn.scrollBackground,!0).attr("fill","none"),Ae.attr("width",function(tt){return tt.width}).attr("height",function(tt){return tt.height}),Te.each(function(tt){p.setClipUrl(v.select(this),C(de,tt),de)});var Re=Te.selectAll("."+l.cn.yColumn).data(function(tt){return tt.columns},g.keyFun);Re.enter().append("g").classed(l.cn.yColumn,!0),Re.exit().remove(),Re.attr("transform",function(tt){return s(tt.x,0)}),fe&&Re.call(v.behavior.drag().origin(function(tt){var et=v.select(this);return z(et,tt,-l.uplift),c(this),tt.calcdata.columnDragInProgress=!0,A(Te.filter(function(pt){return tt.calcdata.key===pt.key}),de),tt}).on("drag",function(tt){var et=v.select(this),pt=function(bt){return(tt===bt?v.event.x:bt.x)+bt.columnWidth/2};tt.x=Math.max(-l.overdrag,Math.min(tt.calcdata.width+l.overdrag-tt.columnWidth,v.event.x));var vt=R(Re).filter(function(bt){return bt.calcdata.key===tt.calcdata.key}),_t=vt.sort(function(bt,Rt){return pt(bt)-pt(Rt)});_t.forEach(function(bt,Rt){bt.xIndex=Rt,bt.x=tt===bt?bt.x:bt.xScale(bt)}),Re.filter(function(bt){return tt!==bt}).transition().ease(l.transitionEase).duration(l.transitionDuration).attr("transform",function(bt){return s(bt.x,0)}),et.call(d).attr("transform",s(tt.x,-l.uplift))}).on("dragend",function(tt){var et=v.select(this),pt=tt.calcdata;tt.x=tt.xScale(tt),tt.calcdata.columnDragInProgress=!1,z(et,tt,0),B(de,pt,pt.columns.map(function(vt){return vt.xIndex}))})),Re.each(function(tt){p.setClipUrl(v.select(this),w(de,tt),de)});var be=Re.selectAll("."+l.cn.columnBlock).data(b.splitToPanels,g.keyFun);be.enter().append("g").classed(l.cn.columnBlock,!0).attr("id",function(tt){return tt.key}),be.style("cursor",function(tt){return tt.dragHandle?"ew-resize":tt.calcdata.scrollbarState.barWiggleRoom?"ns-resize":"default"});var Pe=be.filter(j),Ke=be.filter(V);fe&&Ke.call(v.behavior.drag().origin(function(tt){return v.event.stopPropagation(),tt}).on("drag",Q(de,Te,-1)).on("dragend",function(){})),E(de,Te,Pe,be),E(de,Te,Ke,be);var ze=Te.selectAll("."+l.cn.scrollAreaClip).data(g.repeat,g.keyFun);ze.enter().append("clipPath").classed(l.cn.scrollAreaClip,!0).attr("id",function(tt){return C(de,tt)});var Fe=ze.selectAll("."+l.cn.scrollAreaClipRect).data(g.repeat,g.keyFun);Fe.enter().append("rect").classed(l.cn.scrollAreaClipRect,!0).attr("x",-l.overdrag).attr("y",-l.uplift).attr("fill","none"),Fe.attr("width",function(tt){return tt.width+2*l.overdrag}).attr("height",function(tt){return tt.height+l.uplift});var We=Re.selectAll("."+l.cn.columnBoundary).data(g.repeat,g.keyFun);We.enter().append("g").classed(l.cn.columnBoundary,!0);var lt=Re.selectAll("."+l.cn.columnBoundaryClippath).data(g.repeat,g.keyFun);lt.enter().append("clipPath").classed(l.cn.columnBoundaryClippath,!0),lt.attr("id",function(tt){return w(de,tt)});var ht=lt.selectAll("."+l.cn.columnBoundaryRect).data(g.repeat,g.keyFun);ht.enter().append("rect").classed(l.cn.columnBoundaryRect,!0).attr("fill","none"),ht.attr("width",function(tt){return tt.columnWidth+2*y(tt)}).attr("height",function(tt){return tt.calcdata.height+2*y(tt)+l.uplift}).attr("x",function(tt){return-y(tt)}).attr("y",function(tt){return-y(tt)}),X(null,Ke,Te)};function y(ee){return Math.ceil(ee.calcdata.maxLineWidth/2)}function C(ee,de){return"clip"+ee._fullLayout._uid+"_scrollAreaBottomClip_"+de.key}function w(ee,de){return"clip"+ee._fullLayout._uid+"_columnBoundaryClippath_"+de.calcdata.key+"_"+de.specIndex}function R(ee){return[].concat.apply([],ee.map(function(de){return de})).map(function(de){return de.__data__})}function A(ee,de,oe){function fe(Re){var be=Re.rowBlocks;return le(be,be.length-1)+(be.length?K(be[be.length-1],1/0):1)}var me=ee.selectAll("."+l.cn.scrollbarKit).data(g.repeat,g.keyFun);me.enter().append("g").classed(l.cn.scrollbarKit,!0).style("shape-rendering","geometricPrecision"),me.each(function(Re){var be=Re.scrollbarState;be.totalHeight=fe(Re),be.scrollableAreaHeight=Re.groupHeight-G(Re),be.currentlyVisibleHeight=Math.min(be.totalHeight,be.scrollableAreaHeight),be.ratio=be.currentlyVisibleHeight/be.totalHeight,be.barLength=Math.max(be.ratio*be.currentlyVisibleHeight,l.goldenRatio*l.scrollbarWidth),be.barWiggleRoom=be.currentlyVisibleHeight-be.barLength,be.wiggleRoom=Math.max(0,be.totalHeight-be.scrollableAreaHeight),be.topY=be.barWiggleRoom===0?0:Re.scrollY/be.wiggleRoom*be.barWiggleRoom,be.bottomY=be.topY+be.barLength,be.dragMultiplier=be.wiggleRoom/be.barWiggleRoom}).attr("transform",function(Re){var be=Re.width+l.scrollbarWidth/2+l.scrollbarOffset;return s(be,G(Re))});var Te=me.selectAll("."+l.cn.scrollbar).data(g.repeat,g.keyFun);Te.enter().append("g").classed(l.cn.scrollbar,!0);var we=Te.selectAll("."+l.cn.scrollbarSlider).data(g.repeat,g.keyFun);we.enter().append("g").classed(l.cn.scrollbarSlider,!0),we.attr("transform",function(Re){return s(0,Re.scrollbarState.topY||0)});var Be=we.selectAll("."+l.cn.scrollbarGlyph).data(g.repeat,g.keyFun);Be.enter().append("line").classed(l.cn.scrollbarGlyph,!0).attr("stroke","black").attr("stroke-width",l.scrollbarWidth).attr("stroke-linecap","round").attr("y1",l.scrollbarWidth/2),Be.attr("y2",function(Re){return Re.scrollbarState.barLength-l.scrollbarWidth/2}).attr("stroke-opacity",function(Re){return Re.columnDragInProgress||!Re.scrollbarState.barWiggleRoom||oe?0:.4}),Be.transition().delay(0).duration(0),Be.transition().delay(l.scrollbarHideDelay).duration(l.scrollbarHideDuration).attr("stroke-opacity",0);var Ae=Te.selectAll("."+l.cn.scrollbarCaptureZone).data(g.repeat,g.keyFun);Ae.enter().append("line").classed(l.cn.scrollbarCaptureZone,!0).attr("stroke","white").attr("stroke-opacity",.01).attr("stroke-width",l.scrollbarCaptureWidth).attr("stroke-linecap","butt").attr("y1",0).on("mousedown",function(Re){var be=v.event.y,Pe=this.getBoundingClientRect(),Ke=Re.scrollbarState,ze=be-Pe.top,Fe=v.scale.linear().domain([0,Ke.scrollableAreaHeight]).range([0,Ke.totalHeight]).clamp(!0);Ke.topY<=ze&&ze<=Ke.bottomY||Q(de,ee,null,Fe(ze-Ke.barLength/2))(Re)}).call(v.behavior.drag().origin(function(Re){return v.event.stopPropagation(),Re.scrollbarState.scrollbarScrollInProgress=!0,Re}).on("drag",Q(de,ee)).on("dragend",function(){})),Ae.attr("y2",function(Re){return Re.scrollbarState.scrollableAreaHeight}),de._context.staticPlot&&(Be.remove(),Ae.remove())}function E(ee,de,oe,fe){var me=k(oe),Te=L(me);F(Te);var we=I(Te);T(we);var Be=M(Te),Ae=P(Be);N(Ae),D(Ae,de,fe,ee),Z(Te)}function k(ee){var de=ee.selectAll("."+l.cn.columnCells).data(g.repeat,g.keyFun);return de.enter().append("g").classed(l.cn.columnCells,!0),de.exit().remove(),de}function L(ee){var de=ee.selectAll("."+l.cn.columnCell).data(b.splitToCells,function(oe){return oe.keyWithinBlock});return de.enter().append("g").classed(l.cn.columnCell,!0),de.exit().remove(),de}function I(ee){var de=ee.selectAll("."+l.cn.cellRect).data(g.repeat,function(oe){return oe.keyWithinBlock});return de.enter().append("rect").classed(l.cn.cellRect,!0),de}function P(ee){var de=ee.selectAll("."+l.cn.cellText).data(g.repeat,function(oe){return oe.keyWithinBlock});return de.enter().append("text").classed(l.cn.cellText,!0).style("cursor",function(){return"auto"}).on("mousedown",function(){v.event.stopPropagation()}),de}function M(ee){var de=ee.selectAll("."+l.cn.cellTextHolder).data(g.repeat,function(oe){return oe.keyWithinBlock});return de.enter().append("g").classed(l.cn.cellTextHolder,!0).style("shape-rendering","geometricPrecision"),de}function F(ee){ee.each(function(de,oe){var fe=de.calcdata.cells.font,me=de.column.specIndex,Te={size:Y(fe.size,me,oe),color:Y(fe.color,me,oe),family:Y(fe.family,me,oe)};de.rowNumber=de.key,de.align=Y(de.calcdata.cells.align,me,oe),de.cellBorderWidth=Y(de.calcdata.cells.line.width,me,oe),de.font=Te})}function N(ee){ee.each(function(de){p.font(v.select(this),de.font)})}function T(ee){ee.attr("width",function(de){return de.column.columnWidth}).attr("stroke-width",function(de){return de.cellBorderWidth}).each(function(de){var oe=v.select(this);x.stroke(oe,Y(de.calcdata.cells.line.color,de.column.specIndex,de.rowNumber)),x.fill(oe,Y(de.calcdata.cells.fill.color,de.column.specIndex,de.rowNumber))})}function D(ee,de,oe,fe){ee.text(function(me){var Te=me.column.specIndex,we=me.rowNumber,Be=me.value,Ae=typeof Be=="string",Re=Ae&&Be.match(/<br>/i),be=!Ae||Re;me.mayHaveMarkup=Ae&&Be.match(/[<&>]/);var Pe=O(Be);me.latex=Pe;var Ke=Pe?"":Y(me.calcdata.cells.prefix,Te,we)||"",ze=Pe?"":Y(me.calcdata.cells.suffix,Te,we)||"",Fe=Pe?null:Y(me.calcdata.cells.format,Te,we)||null,We=Ke+(Fe?S(Fe)(me.value):me.value)+ze,lt;me.wrappingNeeded=!me.wrapped&&!be&&!Pe&&(lt=U(We)),me.cellHeightMayIncrease=Re||Pe||me.mayHaveMarkup||(lt===void 0?U(We):lt),me.needsConvertToTspans=me.mayHaveMarkup||me.wrappingNeeded||me.latex;var ht;if(me.wrappingNeeded){var tt=l.wrapSplitCharacter===" "?We.replace(/<a href=/ig,"<a_href="):We,et=tt.split(l.wrapSplitCharacter),pt=l.wrapSplitCharacter===" "?et.map(function(vt){return vt.replace(/<a_href=/ig,"<a href=")}):et;me.fragments=pt.map(function(vt){return{text:vt,width:null}}),me.fragments.push({fragment:l.wrapSpacer,width:null}),ht=pt.join(l.lineBreaker)+l.lineBreaker+l.wrapSpacer}else delete me.fragments,ht=We;return ht}).attr("dy",function(me){return me.needsConvertToTspans?0:"0.75em"}).each(function(me){var Te=this,we=v.select(Te),Be=me.wrappingNeeded?ie:he;me.needsConvertToTspans?_.convertToTspans(we,fe,Be(oe,Te,de,fe,me)):v.select(Te.parentNode).attr("transform",function(Ae){return s(J(Ae),l.cellPad)}).attr("text-anchor",function(Ae){return{left:"start",center:"middle",right:"end"}[Ae.align]})})}function O(ee){return typeof ee=="string"&&ee.match(l.latexCheck)}function U(ee){return ee.indexOf(l.wrapSplitCharacter)!==-1}function B(ee,de,oe){var fe=de.gdColumnsOriginalOrder;de.gdColumns.sort(function(me,Te){return oe[fe.indexOf(me)]-oe[fe.indexOf(Te)]}),de.columnorder=oe,ee.emit("plotly_restyle")}function Y(ee,de,oe){if(i.isArrayOrTypedArray(ee)){var fe=ee[Math.min(de,ee.length-1)];return i.isArrayOrTypedArray(fe)?fe[Math.min(oe,fe.length-1)]:fe}else return ee}function z(ee,de,oe){ee.transition().ease(l.releaseTransitionEase).duration(l.releaseTransitionDuration).attr("transform",s(de.x,oe))}function V(ee){return ee.type==="cells"}function j(ee){return ee.type==="header"}function G(ee){var de=ee.rowBlocks.length?ee.rowBlocks[0].auxiliaryBlocks:[];return de.reduce(function(oe,fe){return oe+K(fe,1/0)},0)}function W(ee,de,oe){for(var fe=[],me=0,Te=0;Te<ee.length;Te++){for(var we=ee[Te],Be=we.rows,Ae=0,Re=0;Re<Be.length;Re++)Ae+=Be[Re].rowHeight;we.allRowsHeight=Ae;var be=me+Ae,Pe=de,Ke=Pe+oe;Pe<be&&Ke>me&&fe.push(Te),me+=Ae}return fe}function X(ee,de,oe){var fe=R(de)[0];if(fe!==void 0){var me=fe.rowBlocks,Te=fe.calcdata,we=le(me,me.length),Be=fe.calcdata.groupHeight-G(fe),Ae=Te.scrollY=Math.max(0,Math.min(we-Be,Te.scrollY)),Re=W(me,Ae,Be);Re.length===1&&(Re[0]===me.length-1?Re.unshift(Re[0]-1):Re.push(Re[0]+1)),Re[0]%2&&Re.reverse(),de.each(function(be,Pe){be.page=Re[Pe],be.scrollY=Ae}),de.attr("transform",function(be){var Pe=le(be.rowBlocks,be.page)-be.scrollY;return s(0,Pe)}),ee&&(ae(ee,oe,de,Re,fe.prevPages,fe,0),ae(ee,oe,de,Re,fe.prevPages,fe,1),A(oe,ee))}}function Q(ee,de,oe,fe){return function(Te){var we=Te.calcdata?Te.calcdata:Te,Be=de.filter(function(Pe){return we.key===Pe.key}),Ae=oe||we.scrollbarState.dragMultiplier,Re=we.scrollY;we.scrollY=fe===void 0?we.scrollY+Ae*v.event.dy:fe;var be=Be.selectAll("."+l.cn.yColumn).selectAll("."+l.cn.columnBlock).filter(V);return X(ee,be,Be),we.scrollY===Re}}function ae(ee,de,oe,fe,me,Te,we){var Be=fe[we]!==me[we];Be&&(clearTimeout(Te.currentRepaint[we]),Te.currentRepaint[we]=setTimeout(function(){var Ae=oe.filter(function(Re,be){return be===we&&fe[be]!==me[be]});E(ee,de,Ae,oe),me[we]=fe[we]}))}function ie(ee,de,oe,fe){return function(){var Te=v.select(de.parentNode);Te.each(function(we){var Be=we.fragments;Te.selectAll("tspan.line").each(function(We,lt){Be[lt].width=this.getComputedTextLength()});var Ae=Be[Be.length-1].width,Re=Be.slice(0,-1),be=[],Pe,Ke,ze=0,Fe=we.column.columnWidth-2*l.cellPad;for(we.value="";Re.length;)Pe=Re.shift(),Ke=Pe.width+Ae,ze+Ke>Fe&&(we.value+=be.join(l.wrapSpacer)+l.lineBreaker,be=[],ze=0),be.push(Pe.text),ze+=Ke;ze&&(we.value+=be.join(l.wrapSpacer)),we.wrapped=!0}),Te.selectAll("tspan.line").remove(),D(Te.select("."+l.cn.cellText),oe,ee,fe),v.select(de.parentNode.parentNode).call(Z)}}function he(ee,de,oe,fe,me){return function(){if(!me.settledY){var we=v.select(de.parentNode),Be=ce(me),Ae=me.key-Be.firstRowIndex,Re=Be.rows[Ae].rowHeight,be=me.cellHeightMayIncrease?de.parentNode.getBoundingClientRect().height+2*l.cellPad:Re,Pe=Math.max(be,Re),Ke=Pe-Be.rows[Ae].rowHeight;Ke&&(Be.rows[Ae].rowHeight=Pe,ee.selectAll("."+l.cn.columnCell).call(Z),X(null,ee.filter(V),0),A(oe,fe,!0)),we.attr("transform",function(){var ze=this,Fe=ze.parentNode,We=Fe.getBoundingClientRect(),lt=v.select(ze.parentNode).select("."+l.cn.cellRect).node().getBoundingClientRect(),ht=ze.transform.baseVal.consolidate(),tt=lt.top-We.top+(ht?ht.matrix.f:l.cellPad);return s(J(me,v.select(ze.parentNode).select("."+l.cn.cellTextHolder).node().getBoundingClientRect().width),tt)}),me.settledY=!0}}}function J(ee,de){switch(ee.align){case"left":return l.cellPad;case"right":return ee.column.columnWidth-(de||0)-l.cellPad;case"center":return(ee.column.columnWidth-(de||0))/2;default:return l.cellPad}}function Z(ee){ee.attr("transform",function(de){var oe=de.rowBlocks[0].auxiliaryBlocks.reduce(function(we,Be){return we+K(Be,1/0)},0),fe=ce(de),me=K(fe,de.key),Te=me+oe;return s(0,Te)}).selectAll("."+l.cn.cellRect).attr("height",function(de){return re(ce(de),de.key).rowHeight})}function le(ee,de){for(var oe=0,fe=de-1;fe>=0;fe--)oe+=te(ee[fe]);return oe}function K(ee,de){for(var oe=0,fe=0;fe<ee.rows.length&&ee.rows[fe].rowIndex<de;fe++)oe+=ee.rows[fe].rowHeight;return oe}function te(ee){var de=ee.allRowsHeight;if(de!==void 0)return de;for(var oe=0,fe=0;fe<ee.rows.length;fe++)oe+=ee.rows[fe].rowHeight;return ee.allRowsHeight=oe,oe}function ce(ee){return ee.rowBlocks[ee.page]}function re(ee,de){return ee.rows[de-ee.firstRowIndex]}},40516:function(u,h,a){var l=a(21776).Ks,v=a(21776).Gw,i=a(49084),S=a(86968).u,g=a(74996),p=a(424),_=a(32984),c=a(92880).extendFlat,s=a(98192).c;u.exports={labels:p.labels,parents:p.parents,values:p.values,branchvalues:p.branchvalues,count:p.count,level:p.level,maxdepth:p.maxdepth,tiling:{packing:{valType:"enumerated",values:["squarify","binary","dice","slice","slice-dice","dice-slice"],dflt:"squarify",editType:"plot"},squarifyratio:{valType:"number",min:1,dflt:1,editType:"plot"},flip:{valType:"flaglist",flags:["x","y"],dflt:"",editType:"plot"},pad:{valType:"number",min:0,dflt:3,editType:"plot"},editType:"calc"},marker:c({pad:{t:{valType:"number",min:0,editType:"plot"},l:{valType:"number",min:0,editType:"plot"},r:{valType:"number",min:0,editType:"plot"},b:{valType:"number",min:0,editType:"plot"},editType:"calc"},colors:p.marker.colors,pattern:s,depthfade:{valType:"enumerated",values:[!0,!1,"reversed"],editType:"style"},line:p.marker.line,cornerradius:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"calc"},i("marker",{colorAttr:"colors",anim:!1})),pathbar:{visible:{valType:"boolean",dflt:!0,editType:"plot"},side:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},edgeshape:{valType:"enumerated",values:[">","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:c({},g.textfont,{}),editType:"calc"},text:g.text,textinfo:p.textinfo,texttemplate:v({editType:"plot"},{keys:_.eventDataKeys.concat(["label","value"])}),hovertext:g.hovertext,hoverinfo:p.hoverinfo,hovertemplate:l({},{keys:_.eventDataKeys}),textfont:g.textfont,insidetextfont:g.insidetextfont,outsidetextfont:c({},g.outsidetextfont,{}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot"},sort:g.sort,root:p.root,domain:S({name:"treemap",trace:!0,editType:"calc"})}},79516:function(u,h,a){var l=a(7316);h.name="treemap",h.plot=function(v,i,S,g){l.plotBasePlot(h.name,v,i,S,g)},h.clean=function(v,i,S,g){l.cleanBasePlot(h.name,v,i,S,g)}},97840:function(u,h,a){var l=a(3776);h.r=function(v,i){return l.calc(v,i)},h.q=function(v){return l._runCrossTraceCalc("treemap",v)}},32984:function(u){u.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},34092:function(u,h,a){var l=a(3400),v=a(40516),i=a(76308),S=a(86968).Q,g=a(31508).handleText,p=a(78048).TEXTPAD,_=a(74174).handleMarkerDefaults,c=a(8932),s=c.hasColorscale,d=c.handleDefaults;u.exports=function(b,x,y,C){function w(T,D){return l.coerce(b,x,v,T,D)}var R=w("labels"),A=w("parents");if(!R||!R.length||!A||!A.length){x.visible=!1;return}var E=w("values");E&&E.length?w("branchvalues"):w("count"),w("level"),w("maxdepth");var k=w("tiling.packing");k==="squarify"&&w("tiling.squarifyratio"),w("tiling.flip"),w("tiling.pad");var L=w("text");w("texttemplate"),x.texttemplate||w("textinfo",l.isArrayOrTypedArray(L)?"text+label":"label"),w("hovertext"),w("hovertemplate");var I=w("pathbar.visible"),P="auto";g(b,x,C,w,P,{hasPathbar:I,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),w("textposition");var M=x.textposition.indexOf("bottom")!==-1;_(b,x,C,w);var F=x._hasColorscale=s(b,"marker","colors")||(b.marker||{}).coloraxis;F?d(b,x,C,w,{prefix:"marker.",cLetter:"c"}):w("marker.depthfade",!(x.marker.colors||[]).length);var N=x.textfont.size*2;w("marker.pad.t",M?N/4:N),w("marker.pad.l",N/4),w("marker.pad.r",N/4),w("marker.pad.b",M?N:N/4),w("marker.cornerradius"),x._hovered={marker:{line:{width:2,color:i.contrast(C.paper_bgcolor)}}},I&&(w("pathbar.thickness",x.pathbar.textfont.size+2*p),w("pathbar.side"),w("pathbar.edgeshape")),w("sort"),w("root.color"),S(x,C,w),x._length=null}},95808:function(u,h,a){var l=a(33428),v=a(78176),i=a(82744),S=i.clearMinTextSize,g=a(60100).resizeText,p=a(52960);u.exports=function(c,s,d,f,b){var x=b.type,y=b.drawDescendants,C=c._fullLayout,w=C["_"+x+"layer"],R,A,E=!d;if(S(x,C),R=w.selectAll("g.trace."+x).data(s,function(L){return L[0].trace.uid}),R.enter().append("g").classed("trace",!0).classed(x,!0),R.order(),!C.uniformtext.mode&&v.hasTransition(d)){f&&(A=f());var k=l.transition().duration(d.duration).ease(d.easing).each("end",function(){A&&A()}).each("interrupt",function(){A&&A()});k.each(function(){w.selectAll("g.trace").each(function(L){p(c,L,this,d,y)})})}else R.each(function(L){p(c,L,this,d,y)}),C.uniformtext.mode&&g(c,w.selectAll(".trace"),x);E&&R.exit().remove()}},27336:function(u,h,a){var l=a(33428),v=a(3400),i=a(43616),S=a(72736),g=a(13832),p=a(66192).styleOne,_=a(32984),c=a(78176),s=a(45716),d=!0;u.exports=function(b,x,y,C,w){var R=w.barDifY,A=w.width,E=w.height,k=w.viewX,L=w.viewY,I=w.pathSlice,P=w.toMoveInsideSlice,M=w.strTransform,F=w.hasTransition,N=w.handleSlicesExit,T=w.makeUpdateSliceInterpolator,D=w.makeUpdateTextInterpolator,O={},U=b._context.staticPlot,B=b._fullLayout,Y=x[0],z=Y.trace,V=Y.hierarchy,j=A/z._entryDepth,G=c.listPath(y.data,"id"),W=g(V.copy(),[A,E],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();W=W.filter(function(Q){var ae=G.indexOf(Q.data.id);return ae===-1?!1:(Q.x0=j*ae,Q.x1=j*(ae+1),Q.y0=R,Q.y1=R+E,Q.onPathbar=!0,!0)}),W.reverse(),C=C.data(W,c.getPtId),C.enter().append("g").classed("pathbar",!0),N(C,d,O,[A,E],I),C.order();var X=C;F&&(X=X.transition().each("end",function(){var Q=l.select(this);c.setSliceCursor(Q,b,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(Q){Q._x0=k(Q.x0),Q._x1=k(Q.x1),Q._y0=L(Q.y0),Q._y1=L(Q.y1),Q._hoverX=k(Q.x1-Math.min(A,E)/2),Q._hoverY=L(Q.y1-E/2);var ae=l.select(this),ie=v.ensureSingle(ae,"path","surface",function(le){le.style("pointer-events",U?"none":"all")});F?ie.transition().attrTween("d",function(le){var K=T(le,d,O,[A,E]);return function(te){return I(K(te))}}):ie.attr("d",I),ae.call(s,y,b,x,{styleOne:p,eventDataKeys:_.eventDataKeys,transitionTime:_.CLICK_TRANSITION_TIME,transitionEasing:_.CLICK_TRANSITION_EASING}).call(c.setSliceCursor,b,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:b._transitioning}),ie.call(p,Q,z,b,{hovered:!1}),Q._text=(c.getPtLabel(Q)||"").split("<br>").join(" ")||"";var he=v.ensureSingle(ae,"g","slicetext"),J=v.ensureSingle(he,"text","",function(le){le.attr("data-notex",1)}),Z=v.ensureUniformFontSize(b,c.determineTextFont(z,Q,B.font,{onPathbar:!0}));J.text(Q._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(i.font,Z).call(S.convertToTspans,b),Q.textBB=i.bBox(J.node()),Q.transform=P(Q,{fontSize:Z.size,onPathbar:!0}),Q.transform.fontSize=Z.size,F?J.transition().attrTween("transform",function(le){var K=D(le,d,O,[A,E]);return function(te){return M(K(te))}}):J.attr("transform",M(Q))})}},76477:function(u,h,a){var l=a(33428),v=a(3400),i=a(43616),S=a(72736),g=a(13832),p=a(66192).styleOne,_=a(32984),c=a(78176),s=a(45716),d=a(96488).formatSliceLabel,f=!1;u.exports=function(x,y,C,w,R){var A=R.width,E=R.height,k=R.viewX,L=R.viewY,I=R.pathSlice,P=R.toMoveInsideSlice,M=R.strTransform,F=R.hasTransition,N=R.handleSlicesExit,T=R.makeUpdateSliceInterpolator,D=R.makeUpdateTextInterpolator,O=R.prevEntry,U={},B=x._context.staticPlot,Y=x._fullLayout,z=y[0],V=z.trace,j=V.textposition.indexOf("left")!==-1,G=V.textposition.indexOf("right")!==-1,W=V.textposition.indexOf("bottom")!==-1,X=!W&&!V.marker.pad.t||W&&!V.marker.pad.b,Q=g(C,[A,E],{packing:V.tiling.packing,squarifyratio:V.tiling.squarifyratio,flipX:V.tiling.flip.indexOf("x")>-1,flipY:V.tiling.flip.indexOf("y")>-1,pad:{inner:V.tiling.pad,top:V.marker.pad.t,left:V.marker.pad.l,right:V.marker.pad.r,bottom:V.marker.pad.b}}),ae=Q.descendants(),ie=1/0,he=-1/0;ae.forEach(function(te){var ce=te.depth;ce>=V._maxDepth?(te.x0=te.x1=(te.x0+te.x1)/2,te.y0=te.y1=(te.y0+te.y1)/2):(ie=Math.min(ie,ce),he=Math.max(he,ce))}),w=w.data(ae,c.getPtId),V._maxVisibleLayers=isFinite(he)?he-ie+1:0,w.enter().append("g").classed("slice",!0),N(w,f,U,[A,E],I),w.order();var J=null;if(F&&O){var Z=c.getPtId(O);w.each(function(te){J===null&&c.getPtId(te)===Z&&(J={x0:te.x0,x1:te.x1,y0:te.y0,y1:te.y1})})}var le=function(){return J||{x0:0,x1:A,y0:0,y1:E}},K=w;return F&&(K=K.transition().each("end",function(){var te=l.select(this);c.setSliceCursor(te,x,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),K.each(function(te){var ce=c.isHeader(te,V);te._x0=k(te.x0),te._x1=k(te.x1),te._y0=L(te.y0),te._y1=L(te.y1),te._hoverX=k(te.x1-V.marker.pad.r),te._hoverY=L(W?te.y1-V.marker.pad.b/2:te.y0+V.marker.pad.t/2);var re=l.select(this),ee=v.ensureSingle(re,"path","surface",function(we){we.style("pointer-events",B?"none":"all")});F?ee.transition().attrTween("d",function(we){var Be=T(we,f,le(),[A,E]);return function(Ae){return I(Be(Ae))}}):ee.attr("d",I),re.call(s,C,x,y,{styleOne:p,eventDataKeys:_.eventDataKeys,transitionTime:_.CLICK_TRANSITION_TIME,transitionEasing:_.CLICK_TRANSITION_EASING}).call(c.setSliceCursor,x,{isTransitioning:x._transitioning}),ee.call(p,te,V,x,{hovered:!1}),te.x0===te.x1||te.y0===te.y1?te._text="":ce?te._text=X?"":c.getPtLabel(te)||"":te._text=d(te,C,V,y,Y)||"";var de=v.ensureSingle(re,"g","slicetext"),oe=v.ensureSingle(de,"text","",function(we){we.attr("data-notex",1)}),fe=v.ensureUniformFontSize(x,c.determineTextFont(V,te,Y.font)),me=te._text||" ",Te=ce&&me.indexOf("<br>")===-1;oe.text(me).classed("slicetext",!0).attr("text-anchor",G?"end":j||Te?"start":"middle").call(i.font,fe).call(S.convertToTspans,x),te.textBB=i.bBox(oe.node()),te.transform=P(te,{fontSize:fe.size,isHeader:ce}),te.transform.fontSize=fe.size,F?oe.transition().attrTween("transform",function(we){var Be=D(we,f,le(),[A,E]);return function(Ae){return M(Be(Ae))}}):oe.attr("transform",M(te))}),J}},83024:function(u){u.exports=function h(a,l,v){var i;v.swapXY&&(i=a.x0,a.x0=a.y0,a.y0=i,i=a.x1,a.x1=a.y1,a.y1=i),v.flipX&&(i=a.x0,a.x0=l[0]-a.x1,a.x1=l[0]-i),v.flipY&&(i=a.y0,a.y0=l[1]-a.y1,a.y1=l[1]-i);var S=a.children;if(S)for(var g=0;g<S.length;g++)h(S[g],l,v)}},31991:function(u,h,a){u.exports={moduleType:"trace",name:"treemap",basePlotModule:a(79516),categories:[],animatable:!0,attributes:a(40516),layoutAttributes:a(45392),supplyDefaults:a(34092),supplyLayoutDefaults:a(77480),calc:a(97840).r,crossTraceCalc:a(97840).q,plot:a(53264),style:a(66192).style,colorbar:a(5528),meta:{}}},45392:function(u){u.exports={treemapcolorway:{valType:"colorlist",editType:"calc"},extendtreemapcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},77480:function(u,h,a){var l=a(3400),v=a(45392);u.exports=function(S,g){function p(_,c){return l.coerce(S,g,v,_,c)}p("treemapcolorway",g.colorway),p("extendtreemapcolors")}},13832:function(u,h,a){var l=a(74148),v=a(83024);u.exports=function(g,p,_){var c=_.flipX,s=_.flipY,d=_.packing==="dice-slice",f=_.pad[s?"bottom":"top"],b=_.pad[c?"right":"left"],x=_.pad[c?"left":"right"],y=_.pad[s?"top":"bottom"],C;d&&(C=b,b=f,f=C,C=x,x=y,y=C);var w=l.treemap().tile(i(_.packing,_.squarifyratio)).paddingInner(_.pad.inner).paddingLeft(b).paddingRight(x).paddingTop(f).paddingBottom(y).size(d?[p[1],p[0]]:p)(g);return(d||c||s)&&v(w,p,{swapXY:d,flipX:c,flipY:s}),w};function i(S,g){switch(S){case"squarify":return l.treemapSquarify.ratio(g);case"binary":return l.treemapBinary;case"dice":return l.treemapDice;case"slice":return l.treemapSlice;default:return l.treemapSliceDice}}},53264:function(u,h,a){var l=a(95808),v=a(76477);u.exports=function(S,g,p,_){return l(S,g,p,_,{type:"treemap",drawDescendants:v})}},52960:function(u,h,a){var l=a(33428),v=a(67756).qy,i=a(78176),S=a(3400),g=a(78048).TEXTPAD,p=a(98184),_=p.toMoveInsideBar,c=a(82744),s=c.recordMinTextSize,d=a(32984),f=a(27336);function b(x){return i.isHierarchyRoot(x)?"":i.getPtId(x)}u.exports=function(y,C,w,R,A){var E=y._fullLayout,k=C[0],L=k.trace,I=L.type,P=I==="icicle",M=k.hierarchy,F=i.findEntryWithLevel(M,L.level),N=l.select(w),T=N.selectAll("g.pathbar"),D=N.selectAll("g.slice");if(!F){T.remove(),D.remove();return}var O=i.isHierarchyRoot(F),U=!E.uniformtext.mode&&i.hasTransition(R),B=i.getMaxDepth(L),Y=function(Ve){return Ve.data.depth-F.data.depth<B},z=E._size,V=L.domain,j=z.w*(V.x[1]-V.x[0]),G=z.h*(V.y[1]-V.y[0]),W=j,X=L.pathbar.thickness,Q=L.marker.line.width+d.gapWithPathbar,ae=L.pathbar.visible?L.pathbar.side.indexOf("bottom")>-1?G+Q:-(X+Q):0,ie={x0:W,x1:W,y0:ae,y1:ae+X},he=function(Ve,Qe,rt){var qe=L.tiling.pad,He=function(Ne){return Ne-qe<=Qe.x0},Ce=function(Ne){return Ne+qe>=Qe.x1},Se=function(Ne){return Ne-qe<=Qe.y0},Le=function(Ne){return Ne+qe>=Qe.y1};return Ve.x0===Qe.x0&&Ve.x1===Qe.x1&&Ve.y0===Qe.y0&&Ve.y1===Qe.y1?{x0:Ve.x0,x1:Ve.x1,y0:Ve.y0,y1:Ve.y1}:{x0:He(Ve.x0-qe)?0:Ce(Ve.x0-qe)?rt[0]:Ve.x0,x1:He(Ve.x1+qe)?0:Ce(Ve.x1+qe)?rt[0]:Ve.x1,y0:Se(Ve.y0-qe)?0:Le(Ve.y0-qe)?rt[1]:Ve.y0,y1:Se(Ve.y1+qe)?0:Le(Ve.y1+qe)?rt[1]:Ve.y1}},J=null,Z={},le={},K=null,te=function(Ve,Qe){return Qe?Z[b(Ve)]:le[b(Ve)]},ce=function(Ve,Qe,rt,qe){if(Qe)return Z[b(M)]||ie;var He=le[L.level]||rt;return Y(Ve)?he(Ve,He,qe):{}};k.hasMultipleRoots&&O&&B++,L._maxDepth=B,L._backgroundColor=E.paper_bgcolor,L._entryDepth=F.data.depth,L._atRootLevel=O;var re=-j/2+z.l+z.w*(V.x[1]+V.x[0])/2,ee=-G/2+z.t+z.h*(1-(V.y[1]+V.y[0])/2),de=function(Ve){return re+Ve},oe=function(Ve){return ee+Ve},fe=oe(0),me=de(0),Te=function(Ve){return me+Ve},we=function(Ve){return fe+Ve};function Be(Ve,Qe){return Ve+","+Qe}var Ae=Te(0),Re=function(Ve){Ve.x=Math.max(Ae,Ve.x)},be=L.pathbar.edgeshape,Pe=function(Ve){var Qe=Te(Math.max(Math.min(Ve.x0,Ve.x0),0)),rt=Te(Math.min(Math.max(Ve.x1,Ve.x1),W)),qe=we(Ve.y0),He=we(Ve.y1),Ce=X/2,Se={},Le={};Se.x=Qe,Le.x=rt,Se.y=Le.y=(qe+He)/2;var Ne={x:Qe,y:qe},je={x:rt,y:qe},Je={x:rt,y:He},ut={x:Qe,y:He};return be===">"?(Ne.x-=Ce,je.x-=Ce,Je.x-=Ce,ut.x-=Ce):be==="/"?(Je.x-=Ce,ut.x-=Ce,Se.x-=Ce/2,Le.x-=Ce/2):be==="\\"?(Ne.x-=Ce,je.x-=Ce,Se.x-=Ce/2,Le.x-=Ce/2):be==="<"&&(Se.x-=Ce,Le.x-=Ce),Re(Ne),Re(ut),Re(Se),Re(je),Re(Je),Re(Le),"M"+Be(Ne.x,Ne.y)+"L"+Be(je.x,je.y)+"L"+Be(Le.x,Le.y)+"L"+Be(Je.x,Je.y)+"L"+Be(ut.x,ut.y)+"L"+Be(Se.x,Se.y)+"Z"},Ke=L[P?"tiling":"marker"].pad,ze=function(Ve){return L.textposition.indexOf(Ve)!==-1},Fe=ze("top"),We=ze("left"),lt=ze("right"),ht=ze("bottom"),tt=function(Ve){var Qe=de(Ve.x0),rt=de(Ve.x1),qe=oe(Ve.y0),He=oe(Ve.y1),Ce=rt-Qe,Se=He-qe;if(!Ce||!Se)return"";var Le=L.marker.cornerradius||0,Ne=Math.min(Le,Ce/2,Se/2);Ne&&Ve.data&&Ve.data.data&&Ve.data.data.label&&(Fe&&(Ne=Math.min(Ne,Ke.t)),We&&(Ne=Math.min(Ne,Ke.l)),lt&&(Ne=Math.min(Ne,Ke.r)),ht&&(Ne=Math.min(Ne,Ke.b)));var je=function(Je,ut){return Ne?"a"+Be(Ne,Ne)+" 0 0 1 "+Be(Je,ut):""};return"M"+Be(Qe,qe+Ne)+je(Ne,-Ne)+"L"+Be(rt-Ne,qe)+je(Ne,Ne)+"L"+Be(rt,He-Ne)+je(-Ne,Ne)+"L"+Be(Qe+Ne,He)+je(-Ne,-Ne)+"Z"},et=function(Ve,Qe){var rt=Ve.x0,qe=Ve.x1,He=Ve.y0,Ce=Ve.y1,Se=Ve.textBB,Le=Fe||Qe.isHeader&&!ht,Ne=Le?"start":ht?"end":"middle",je=ze("right"),Je=ze("left")||Qe.onPathbar,ut=Je?-1:je?1:0;if(Qe.isHeader){if(rt+=(P?Ke:Ke.l)-g,qe-=(P?Ke:Ke.r)-g,rt>=qe){var Et=(rt+qe)/2;rt=Et,qe=Et}var wt;ht?(wt=Ce-(P?Ke:Ke.b),He<wt&&wt<Ce&&(He=wt)):(wt=He+(P?Ke:Ke.t),He<wt&&wt<Ce&&(Ce=wt))}var nr=_(rt,qe,He,Ce,Se,{isHorizontal:!1,constrained:!0,angle:0,anchor:Ne,leftToRight:ut});return nr.fontSize=Qe.fontSize,nr.targetX=de(nr.targetX),nr.targetY=oe(nr.targetY),isNaN(nr.targetX)||isNaN(nr.targetY)?{}:(rt!==qe&&He!==Ce&&s(L.type,nr,E),{scale:nr.scale,rotate:nr.rotate,textX:nr.textX,textY:nr.textY,anchorX:nr.anchorX,anchorY:nr.anchorY,targetX:nr.targetX,targetY:nr.targetY})},pt=function(Ve,Qe){for(var rt,qe=0,He=Ve;!rt&&qe<B;)qe++,He=He.parent,He?rt=te(He,Qe):qe=B;return rt||{}},vt=function(Ve,Qe,rt,qe){var He=te(Ve,Qe),Ce;if(Qe)Ce=ie;else{var Se=te(F,Qe);Se?Ce=he(Ve,Se,qe):Ce={}}return v(He,Ce)},_t=function(Ve,Qe,rt,qe,He){var Ce=te(Ve,Qe),Se;if(Ce)Se=Ce;else if(Qe)Se=ie;else if(J)if(Ve.parent){var Le=K||rt;Le&&!Qe?Se=he(Ve,Le,qe):(Se={},S.extendFlat(Se,pt(Ve,Qe)))}else Se=S.extendFlat({},Ve),P&&(He.orientation==="h"?He.flipX?Se.x0=Ve.x1:Se.x1=0:He.flipY?Se.y0=Ve.y1:Se.y1=0);else Se={};return v(Se,{x0:Ve.x0,x1:Ve.x1,y0:Ve.y0,y1:Ve.y1})},bt=function(Ve,Qe,rt,qe){var He=te(Ve,Qe),Ce={},Se=ce(Ve,Qe,rt,qe);S.extendFlat(Ce,{transform:et({x0:Se.x0,x1:Se.x1,y0:Se.y0,y1:Se.y1,textBB:Ve.textBB,_text:Ve._text},{isHeader:i.isHeader(Ve,L)})}),He?Ce=He:Ve.parent&&S.extendFlat(Ce,pt(Ve,Qe));var Le=Ve.transform;return Ve.x0!==Ve.x1&&Ve.y0!==Ve.y1&&s(L.type,Le,E),v(Ce,{transform:{scale:Le.scale,rotate:Le.rotate,textX:Le.textX,textY:Le.textY,anchorX:Le.anchorX,anchorY:Le.anchorY,targetX:Le.targetX,targetY:Le.targetY}})},Rt=function(Ve,Qe,rt,qe,He){var Ce=qe[0],Se=qe[1];U?Ve.exit().transition().each(function(){var Le=l.select(this),Ne=Le.select("path.surface");Ne.transition().attrTween("d",function(Je){var ut=vt(Je,Qe,rt,[Ce,Se]);return function(Et){return He(ut(Et))}});var je=Le.select("g.slicetext");je.attr("opacity",0)}).remove():Ve.exit().remove()},ct=function(Ve){var Qe=Ve.transform;return Ve.x0!==Ve.x1&&Ve.y0!==Ve.y1&&s(L.type,Qe,E),S.getTextTransform({textX:Qe.textX,textY:Qe.textY,anchorX:Qe.anchorX,anchorY:Qe.anchorY,targetX:Qe.targetX,targetY:Qe.targetY,scale:Qe.scale,rotate:Qe.rotate})};U&&(T.each(function(Ve){Z[b(Ve)]={x0:Ve.x0,x1:Ve.x1,y0:Ve.y0,y1:Ve.y1},Ve.transform&&(Z[b(Ve)].transform={textX:Ve.transform.textX,textY:Ve.transform.textY,anchorX:Ve.transform.anchorX,anchorY:Ve.transform.anchorY,targetX:Ve.transform.targetX,targetY:Ve.transform.targetY,scale:Ve.transform.scale,rotate:Ve.transform.rotate})}),D.each(function(Ve){le[b(Ve)]={x0:Ve.x0,x1:Ve.x1,y0:Ve.y0,y1:Ve.y1},Ve.transform&&(le[b(Ve)].transform={textX:Ve.transform.textX,textY:Ve.transform.textY,anchorX:Ve.transform.anchorX,anchorY:Ve.transform.anchorY,targetX:Ve.transform.targetX,targetY:Ve.transform.targetY,scale:Ve.transform.scale,rotate:Ve.transform.rotate}),!J&&i.isEntry(Ve)&&(J=Ve)})),K=A(y,C,F,D,{width:j,height:G,viewX:de,viewY:oe,pathSlice:tt,toMoveInsideSlice:et,prevEntry:J,makeUpdateSliceInterpolator:_t,makeUpdateTextInterpolator:bt,handleSlicesExit:Rt,hasTransition:U,strTransform:ct}),L.pathbar.visible?f(y,C,F,T,{barDifY:ae,width:W,height:X,viewX:Te,viewY:we,pathSlice:Pe,toMoveInsideSlice:et,makeUpdateSliceInterpolator:_t,makeUpdateTextInterpolator:bt,handleSlicesExit:Rt,hasTransition:U,strTransform:ct}):T.remove()}},66192:function(u,h,a){var l=a(33428),v=a(76308),i=a(3400),S=a(78176),g=a(82744).resizeText,p=a(60404);function _(s){var d=s._fullLayout._treemaplayer.selectAll(".trace");g(s,d,"treemap"),d.each(function(f){var b=l.select(this),x=f[0],y=x.trace;b.style("opacity",y.opacity),b.selectAll("path.surface").each(function(C){l.select(this).call(c,C,y,s,{hovered:!1})})})}function c(s,d,f,b,x){var y=(x||{}).hovered,C=d.data.data,w=C.i,R,A,E=C.color,k=S.isHierarchyRoot(d),L=1;if(y)R=f._hovered.marker.line.color,A=f._hovered.marker.line.width;else if(k&&E===f.root.color)L=100,R="rgba(0,0,0,0)",A=0;else if(R=i.castOption(f,w,"marker.line.color")||v.defaultLine,A=i.castOption(f,w,"marker.line.width")||0,!f._hasColorscale&&!d.onPathbar){var I=f.marker.depthfade;if(I){var P=v.combine(v.addOpacity(f._backgroundColor,.75),E),M;if(I===!0){var F=S.getMaxDepth(f);isFinite(F)?S.isLeaf(d)?M=0:M=f._maxVisibleLayers-(d.data.depth-f._entryDepth):M=d.data.height+1}else M=d.data.depth-f._entryDepth,f._atRootLevel||M++;if(M>0)for(var N=0;N<M;N++){var T=.5*N/M;E=v.combine(v.addOpacity(P,T),E)}}}s.call(p,d,f,b,E).style("stroke-width",A).call(v.stroke,R).style("opacity",L)}u.exports={style:_,styleOne:c}},13988:function(u,h,a){var l=a(63188),v=a(92880).extendFlat,i=a(29736).axisHoverFormat;u.exports={y:l.y,x:l.x,x0:l.x0,y0:l.y0,xhoverformat:i("x"),yhoverformat:i("y"),name:v({},l.name,{}),orientation:v({},l.orientation,{}),bandwidth:{valType:"number",min:0,editType:"calc"},scalegroup:{valType:"string",dflt:"",editType:"calc"},scalemode:{valType:"enumerated",values:["width","count"],dflt:"width",editType:"calc"},spanmode:{valType:"enumerated",values:["soft","hard","manual"],dflt:"soft",editType:"calc"},span:{valType:"info_array",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}],editType:"calc"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,dflt:2,editType:"style"},editType:"plot"},fillcolor:l.fillcolor,points:v({},l.boxpoints,{}),jitter:v({},l.jitter,{}),pointpos:v({},l.pointpos,{}),width:v({},l.width,{}),marker:l.marker,text:l.text,hovertext:l.hovertext,hovertemplate:l.hovertemplate,quartilemethod:l.quartilemethod,box:{visible:{valType:"boolean",dflt:!1,editType:"plot"},width:{valType:"number",min:0,max:1,dflt:.25,editType:"plot"},fillcolor:{valType:"color",editType:"style"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,editType:"style"},editType:"style"},editType:"plot"},meanline:{visible:{valType:"boolean",dflt:!1,editType:"plot"},color:{valType:"color",editType:"style"},width:{valType:"number",min:0,editType:"style"},editType:"plot"},side:{valType:"enumerated",values:["both","positive","negative"],dflt:"both",editType:"calc"},offsetgroup:l.offsetgroup,alignmentgroup:l.alignmentgroup,selected:l.selected,unselected:l.unselected,hoveron:{valType:"flaglist",flags:["violins","points","kde"],dflt:"violins+points+kde",extras:["all"],editType:"style"}}},67064:function(u,h,a){var l=a(3400),v=a(54460),i=a(62555),S=a(63800),g=a(39032).BADNUM;u.exports=function(d,f){var b=i(d,f);if(b[0].t.empty)return b;for(var x=d._fullLayout,y=v.getFromId(d,f[f.orientation==="h"?"xaxis":"yaxis"]),C=1/0,w=-1/0,R=0,A=0,E=0;E<b.length;E++){var k=b[E],L=k.pts.map(S.extractVal),I=k.bandwidth=_(f,k,L),P=k.span=c(f,k,y,I);if(k.min===k.max&&I===0)P=k.span=[k.min,k.max],k.density=[{v:1,t:P[0]}],k.bandwidth=I,R=Math.max(R,1);else{var M=P[1]-P[0],F=Math.ceil(M/(I/3)),N=M/F;if(!isFinite(N)||!isFinite(F))return l.error("Something went wrong with computing the violin span"),b[0].t.empty=!0,b;var T=S.makeKDE(k,f,L);k.density=new Array(F);for(var D=0,O=P[0];O<P[1]+N/2;D++,O+=N){var U=T(O);k.density[D]={v:U,t:O},R=Math.max(R,U)}}A=Math.max(A,L.length),C=Math.min(C,P[0]),w=Math.max(w,P[1])}var B=v.findExtremes(y,[C,w],{padded:!0});if(f._extremes[y._id]=B,f.width)b[0].t.maxKDE=R;else{var Y=x._violinScaleGroupStats,z=f.scalegroup,V=Y[z];V?(V.maxKDE=Math.max(V.maxKDE,R),V.maxCount=Math.max(V.maxCount,A)):Y[z]={maxKDE:R,maxCount:A}}return b[0].t.labels.kde=l._(d,"kde:"),b};function p(s,d,f){var b=Math.min(d,f/1.349);return 1.059*b*Math.pow(s,-.2)}function _(s,d,f){var b=d.max-d.min;if(!b)return s.bandwidth?s.bandwidth:0;if(s.bandwidth)return Math.max(s.bandwidth,b/1e4);var x=f.length,y=l.stdev(f,x-1,d.mean);return Math.max(p(x,y,d.q3-d.q1),b/100)}function c(s,d,f,b){var x=s.spanmode,y=s.span||[],C=[d.min,d.max],w=[d.min-2*b,d.max+2*b],R;function A(k){var L=y[k],I=f.type==="multicategory"?f.r2c(L):f.d2c(L,0,s[d.valLetter+"calendar"]);return I===g?w[k]:I}x==="soft"?R=w:x==="hard"?R=C:R=[A(0),A(1)];var E={type:"linear",range:R};return v.setConvert(E),E.cleanRange(),R}},14348:function(u,h,a){var l=a(96404).setPositionOffset,v=["v","h"];u.exports=function(S,g){for(var p=S.calcdata,_=g.xaxis,c=g.yaxis,s=0;s<v.length;s++){for(var d=v[s],f=d==="h"?c:_,b=[],x=0;x<p.length;x++){var y=p[x],C=y[0].t,w=y[0].trace;w.visible===!0&&w.type==="violin"&&!C.empty&&w.orientation===d&&w.xaxis===_._id&&w.yaxis===c._id&&b.push(x)}l("violin",S,b,f)}}},36240:function(u,h,a){var l=a(3400),v=a(76308),i=a(90624),S=a(13988);u.exports=function(p,_,c,s){function d(N,T){return l.coerce(p,_,S,N,T)}function f(N,T){return l.coerce2(p,_,S,N,T)}if(i.handleSampleDefaults(p,_,d,s),_.visible!==!1){d("bandwidth"),d("side");var b=d("width");b||(d("scalegroup",_.name),d("scalemode"));var x=d("span"),y;Array.isArray(x)&&(y="manual"),d("spanmode",y);var C=d("line.color",(p.marker||{}).color||c),w=d("line.width"),R=d("fillcolor",v.addOpacity(_.line.color,.5));i.handlePointsDefaults(p,_,d,{prefix:""});var A=f("box.width"),E=f("box.fillcolor",R),k=f("box.line.color",C),L=f("box.line.width",w),I=d("box.visible",!!(A||E||k||L));I||(_.box={visible:!1});var P=f("meanline.color",C),M=f("meanline.width",w),F=d("meanline.visible",!!(P||M));F||(_.meanline={visible:!1}),d("quartilemethod")}}},63800:function(u,h,a){var l=a(3400),v={gaussian:function(i){return 1/Math.sqrt(2*Math.PI)*Math.exp(-.5*i*i)}};h.makeKDE=function(i,S,g){var p=g.length,_=v.gaussian,c=i.bandwidth,s=1/(p*c);return function(d){for(var f=0,b=0;b<p;b++)f+=_((d-g[b])/c);return s*f}},h.getPositionOnKdePath=function(i,S,g){var p,_;S.orientation==="h"?(p="y",_="x"):(p="x",_="y");var c=l.findPointOnPath(i.path,g,_,{pathLength:i.pathLength}),s=i.posCenterPx,d=c[p],f=S.side==="both"?2*s-d:s;return[d,f]},h.getKdeValue=function(i,S,g){var p=i.pts.map(h.extractVal),_=h.makeKDE(i,S,p);return _(g)/i.posDensityScale},h.extractVal=function(i){return i.v}},78e3:function(u,h,a){var l=a(76308),v=a(3400),i=a(54460),S=a(27576),g=a(63800);u.exports=function(_,c,s,d,f){f||(f={});var b=f.hoverLayer,x=_.cd,y=x[0].trace,C=y.hoveron,w=C.indexOf("violins")!==-1,R=C.indexOf("kde")!==-1,A=[],E,k;if(w||R){var L=S.hoverOnBoxes(_,c,s,d);if(R&&L.length>0){var I=_.xa,P=_.ya,M,F,N,T,D;y.orientation==="h"?(D=c,M="y",N=P,F="x",T=I):(D=s,M="x",N=I,F="y",T=P);var O=x[_.index];if(D>=O.span[0]&&D<=O.span[1]){var U=v.extendFlat({},_),B=T.c2p(D,!0),Y=g.getKdeValue(O,y,D),z=g.getPositionOnKdePath(O,y,B),V=N._offset,j=N._length;U[M+"0"]=z[0],U[M+"1"]=z[1],U[F+"0"]=U[F+"1"]=B,U[F+"Label"]=F+": "+i.hoverLabelText(T,D,y[F+"hoverformat"])+", "+x[0].t.labels.kde+" "+Y.toFixed(3);for(var G=0,W=0;W<L.length;W++)if(L[W].attr==="med"){G=W;break}U.spikeDistance=L[G].spikeDistance;var X=M+"Spike";U[X]=L[G][X],L[G].spikeDistance=void 0,L[G][X]=void 0,U.hovertemplate=!1,A.push(U),k={},k[M+"1"]=v.constrain(V+z[0],V,V+j),k[M+"2"]=v.constrain(V+z[1],V,V+j),k[F+"1"]=k[F+"2"]=T._offset+B}}w&&(A=A.concat(L))}C.indexOf("points")!==-1&&(E=S.hoverOnPoints(_,c,s));var Q=b.selectAll(".violinline-"+y.uid).data(k?[0]:[]);return Q.enter().append("line").classed("violinline-"+y.uid,!0).attr("stroke-width",1.5),Q.exit().remove(),Q.attr(k).call(l.stroke,_.color),d==="closest"?E?[E]:A:(E&&A.push(E),A)}},22869:function(u,h,a){u.exports={attributes:a(13988),layoutAttributes:a(98228),supplyDefaults:a(36240),crossTraceDefaults:a(90624).crossTraceDefaults,supplyLayoutDefaults:a(8939),calc:a(67064),crossTraceCalc:a(14348),plot:a(5140),style:a(95908),styleOnSelect:a(49224).styleOnSelect,hoverPoints:a(78e3),selectPoints:a(8264),moduleType:"trace",name:"violin",basePlotModule:a(57952),categories:["cartesian","svg","symbols","oriented","box-violin","showLegend","violinLayout","zoomScale"],meta:{}}},98228:function(u,h,a){var l=a(16560),v=a(3400).extendFlat;u.exports={violinmode:v({},l.boxmode,{}),violingap:v({},l.boxgap,{}),violingroupgap:v({},l.boxgroupgap,{})}},8939:function(u,h,a){var l=a(3400),v=a(98228),i=a(68832);u.exports=function(g,p,_){function c(s,d){return l.coerce(g,p,v,s,d)}i._supply(g,p,_,c,"violin")}},5140:function(u,h,a){var l=a(33428),v=a(3400),i=a(43616),S=a(18728),g=a(52340),p=a(63800);u.exports=function(c,s,d,f){var b=c._context.staticPlot,x=c._fullLayout,y=s.xaxis,C=s.yaxis;function w(R,A){var E=g(R,{xaxis:y,yaxis:C,trace:A,connectGaps:!0,baseTolerance:.75,shape:"spline",simplify:!0,linearized:!0});return i.smoothopen(E[0],1)}v.makeTraceGroups(f,d,"trace violins").each(function(R){var A=l.select(this),E=R[0],k=E.t,L=E.trace;if(L.visible!==!0||k.empty){A.remove();return}var I=k.bPos,P=k.bdPos,M=s[k.valLetter+"axis"],F=s[k.posLetter+"axis"],N=L.side==="both",T=N||L.side==="positive",D=N||L.side==="negative",O=A.selectAll("path.violin").data(v.identity);O.enter().append("path").style("vector-effect",b?"none":"non-scaling-stroke").attr("class","violin"),O.exit().remove(),O.each(function(W){var X=l.select(this),Q=W.density,ae=Q.length,ie=F.c2l(W.pos+I,!0),he=F.l2p(ie),J;if(L.width)J=k.maxKDE/P;else{var Z=x._violinScaleGroupStats[L.scalegroup];J=L.scalemode==="count"?Z.maxKDE/P*(Z.maxCount/W.pts.length):Z.maxKDE/P}var le,K,te,ce,re,ee,de;if(T){for(ee=new Array(ae),ce=0;ce<ae;ce++)de=ee[ce]={},de[k.posLetter]=ie+Q[ce].v/J,de[k.valLetter]=M.c2l(Q[ce].t,!0);le=w(ee,L)}if(D){for(ee=new Array(ae),re=0,ce=ae-1;re<ae;re++,ce--)de=ee[re]={},de[k.posLetter]=ie-Q[ce].v/J,de[k.valLetter]=M.c2l(Q[ce].t,!0);K=w(ee,L)}if(N)te=le+"L"+K.substr(1)+"Z";else{var oe=[he,M.c2p(Q[0].t)],fe=[he,M.c2p(Q[ae-1].t)];L.orientation==="h"&&(oe.reverse(),fe.reverse()),T?te="M"+oe+"L"+le.substr(1)+"L"+fe:te="M"+fe+"L"+K.substr(1)+"L"+oe}X.attr("d",te),W.posCenterPx=he,W.posDensityScale=J*P,W.path=X.node(),W.pathLength=W.path.getTotalLength()/(N?2:1)});var U=L.box,B=U.width,Y=(U.line||{}).width,z,V;N?(z=P*B,V=0):T?(z=[0,P*B/2],V=Y*{x:1,y:-1}[k.posLetter]):(z=[P*B/2,0],V=Y*{x:-1,y:1}[k.posLetter]),S.plotBoxAndWhiskers(A,{pos:F,val:M},L,{bPos:I,bdPos:z,bPosPxOffset:V}),S.plotBoxMean(A,{pos:F,val:M},L,{bPos:I,bdPos:z,bPosPxOffset:V});var j;!L.box.visible&&L.meanline.visible&&(j=v.identity);var G=A.selectAll("path.meanline").data(j||[]);G.enter().append("path").attr("class","meanline").style("fill","none").style("vector-effect",b?"none":"non-scaling-stroke"),G.exit().remove(),G.each(function(W){var X=M.c2p(W.mean,!0),Q=p.getPositionOnKdePath(W,L,X);l.select(this).attr("d",L.orientation==="h"?"M"+X+","+Q[0]+"V"+Q[1]:"M"+Q[0]+","+X+"H"+Q[1])}),S.plotPoints(A,{x:y,y:C},L,k)})}},95908:function(u,h,a){var l=a(33428),v=a(76308),i=a(49224).stylePoints;u.exports=function(g){var p=l.select(g).selectAll("g.trace.violins");p.style("opacity",function(_){return _[0].trace.opacity}),p.each(function(_){var c=_[0].trace,s=l.select(this),d=c.box||{},f=d.line||{},b=c.meanline||{},x=b.width;s.selectAll("path.violin").style("stroke-width",c.line.width+"px").call(v.stroke,c.line.color).call(v.fill,c.fillcolor),s.selectAll("path.box").style("stroke-width",f.width+"px").call(v.stroke,f.color).call(v.fill,d.fillcolor);var y={"stroke-width":x+"px","stroke-dasharray":2*x+"px,"+x+"px"};s.selectAll("path.mean").style(y).call(v.stroke,b.color),s.selectAll("path.meanline").style(y).call(v.stroke,b.color),i(s,c,g)})}},58168:function(u,h,a){var l=a(49084),v=a(50048),i=a(16716),S=a(45464),g=a(92880).extendFlat,p=a(67824).overrideAll,_=u.exports=p(g({x:v.x,y:v.y,z:v.z,value:v.value,isomin:v.isomin,isomax:v.isomax,surface:v.surface,spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:1}},slices:v.slices,caps:v.caps,text:v.text,hovertext:v.hovertext,xhoverformat:v.xhoverformat,yhoverformat:v.yhoverformat,zhoverformat:v.zhoverformat,valuehoverformat:v.valuehoverformat,hovertemplate:v.hovertemplate},l("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{colorbar:v.colorbar,opacity:v.opacity,opacityscale:i.opacityscale,lightposition:v.lightposition,lighting:v.lighting,flatshading:v.flatshading,contour:v.contour,hoverinfo:g({},S.hoverinfo),showlegend:g({},S.showlegend,{dflt:!1})}),"calc","nested");_.x.editType=_.y.editType=_.z.editType=_.value.editType="calc+clearAxisTypes",_.transforms=void 0},91976:function(u,h,a){var l=a(67792).gl_mesh3d,v=a(33040).parseColorScale,i=a(3400).isArrayOrTypedArray,S=a(43080),g=a(8932).extractOpts,p=a(52094),_=a(31460).findNearestOnAxis,c=a(31460).generateIsoMeshes;function s(b,x,y){this.scene=b,this.uid=y,this.mesh=x,this.name="",this.data=null,this.showContour=!1}var d=s.prototype;d.handlePick=function(b){if(b.object===this.mesh){var x=b.data.index,y=this.data._meshX[x],C=this.data._meshY[x],w=this.data._meshZ[x],R=this.data._Ys.length,A=this.data._Zs.length,E=_(y,this.data._Xs).id,k=_(C,this.data._Ys).id,L=_(w,this.data._Zs).id,I=b.index=L+A*k+A*R*E;b.traceCoordinate=[this.data._meshX[I],this.data._meshY[I],this.data._meshZ[I],this.data._value[I]];var P=this.data.hovertext||this.data.text;return i(P)&&P[I]!==void 0?b.textLabel=P[I]:P&&(b.textLabel=P),!0}},d.update=function(b){var x=this.scene,y=x.fullSceneLayout;this.data=c(b);function C(k,L,I,P){return L.map(function(M){return k.d2l(M,0,P)*I})}var w=p(C(y.xaxis,b._meshX,x.dataScale[0],b.xcalendar),C(y.yaxis,b._meshY,x.dataScale[1],b.ycalendar),C(y.zaxis,b._meshZ,x.dataScale[2],b.zcalendar)),R=p(b._meshI,b._meshJ,b._meshK),A={positions:w,cells:R,lightPosition:[b.lightposition.x,b.lightposition.y,b.lightposition.z],ambient:b.lighting.ambient,diffuse:b.lighting.diffuse,specular:b.lighting.specular,roughness:b.lighting.roughness,fresnel:b.lighting.fresnel,vertexNormalsEpsilon:b.lighting.vertexnormalsepsilon,faceNormalsEpsilon:b.lighting.facenormalsepsilon,opacity:b.opacity,opacityscale:b.opacityscale,contourEnable:b.contour.show,contourColor:S(b.contour.color).slice(0,3),contourWidth:b.contour.width,useFacetNormals:b.flatshading},E=g(b);A.vertexIntensity=b._meshIntensity,A.vertexIntensityBounds=[E.min,E.max],A.colormap=v(b),this.mesh.update(A)},d.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};function f(b,x){var y=b.glplot.gl,C=l({gl:y}),w=new s(b,C,x.uid);return C._trace=w,w.update(x),b.glplot.add(C),w}u.exports=f},12448:function(u,h,a){var l=a(3400),v=a(58168),i=a(70548).supplyIsoDefaults,S=a(60192).opacityscaleDefaults;u.exports=function(p,_,c,s){function d(f,b){return l.coerce(p,_,v,f,b)}i(p,_,c,s,d),S(p,_,s,d)}},67776:function(u,h,a){u.exports={attributes:a(58168),supplyDefaults:a(12448),calc:a(62624),colorbar:{min:"cmin",max:"cmax"},plot:a(91976),moduleType:"trace",name:"volume",basePlotModule:a(12536),categories:["gl3d","showLegend"],meta:{}}},65776:function(u,h,a){var l=a(20832),v=a(52904).line,i=a(45464),S=a(29736).axisHoverFormat,g=a(21776).Ks,p=a(21776).Gw,_=a(10213),c=a(92880).extendFlat,s=a(76308);function d(f){return{marker:{color:c({},l.marker.color,{arrayOk:!1,editType:"style"}),line:{color:c({},l.marker.line.color,{arrayOk:!1,editType:"style"}),width:c({},l.marker.line.width,{arrayOk:!1,editType:"style"}),editType:"style"},editType:"style"},editType:"style"}}u.exports={measure:{valType:"data_array",dflt:[],editType:"calc"},base:{valType:"number",dflt:null,arrayOk:!1,editType:"calc"},x:l.x,x0:l.x0,dx:l.dx,y:l.y,y0:l.y0,dy:l.dy,xperiod:l.xperiod,yperiod:l.yperiod,xperiod0:l.xperiod0,yperiod0:l.yperiod0,xperiodalignment:l.xperiodalignment,yperiodalignment:l.yperiodalignment,xhoverformat:S("x"),yhoverformat:S("y"),hovertext:l.hovertext,hovertemplate:g({},{keys:_.eventDataKeys}),hoverinfo:c({},i.hoverinfo,{flags:["name","x","y","text","initial","delta","final"]}),textinfo:{valType:"flaglist",flags:["label","text","initial","delta","final"],extras:["none"],editType:"plot",arrayOk:!1},texttemplate:p({editType:"plot"},{keys:_.eventDataKeys.concat(["label"])}),text:l.text,textposition:l.textposition,insidetextanchor:l.insidetextanchor,textangle:l.textangle,textfont:l.textfont,insidetextfont:l.insidetextfont,outsidetextfont:l.outsidetextfont,constraintext:l.constraintext,cliponaxis:l.cliponaxis,orientation:l.orientation,offset:l.offset,width:l.width,increasing:d(),decreasing:d(),totals:d(),connector:{line:{color:c({},v.color,{dflt:s.defaultLine}),width:c({},v.width,{editType:"plot"}),dash:v.dash,editType:"plot"},mode:{valType:"enumerated",values:["spanning","between"],dflt:"between",editType:"plot"},visible:{valType:"boolean",dflt:!0,editType:"plot"},editType:"plot"},offsetgroup:l.offsetgroup,alignmentgroup:l.alignmentgroup}},73540:function(u,h,a){var l=a(54460),v=a(1220),i=a(3400).mergeArray,S=a(4500),g=a(39032).BADNUM;function p(c){return c==="a"||c==="absolute"}function _(c){return c==="t"||c==="total"}u.exports=function(s,d){var f=l.getFromId(s,d.xaxis||"x"),b=l.getFromId(s,d.yaxis||"y"),x,y,C,w,R,A;d.orientation==="h"?(x=f.makeCalcdata(d,"x"),C=b.makeCalcdata(d,"y"),w=v(d,b,"y",C),R=!!d.yperiodalignment,A="y"):(x=b.makeCalcdata(d,"y"),C=f.makeCalcdata(d,"x"),w=v(d,f,"x",C),R=!!d.xperiodalignment,A="x"),y=w.vals;for(var E=Math.min(y.length,x.length),k=new Array(E),L=0,I,P=!1,M=0;M<E;M++){var F=x[M]||0,N=!1;(x[M]!==g||_(d.measure[M])||p(d.measure[M]))&&M+1<E&&(x[M+1]!==g||_(d.measure[M+1])||p(d.measure[M+1]))&&(N=!0);var T=k[M]={i:M,p:y[M],s:F,rawS:F,cNext:N};p(d.measure[M])?(L=T.s,T.isSum=!0,T.dir="totals",T.s=L):_(d.measure[M])?(T.isSum=!0,T.dir="totals",T.s=L):(T.isSum=!1,T.dir=T.rawS<0?"decreasing":"increasing",I=T.s,T.s=L+I,L+=I),T.dir==="totals"&&(P=!0),R&&(k[M].orig_p=C[M],k[M][A+"End"]=w.ends[M],k[M][A+"Start"]=w.starts[M]),d.ids&&(T.id=String(d.ids[M])),T.v=(d.base||0)+L}return k.length&&(k[0].hasTotals=P),i(d.text,k,"tx"),i(d.hovertext,k,"htx"),S(k,d),k}},10213:function(u){u.exports={eventDataKeys:["initial","delta","final"]}},50152:function(u,h,a){var l=a(96376).setGroupPositions;u.exports=function(i,S){var g=i._fullLayout,p=i._fullData,_=i.calcdata,c=S.xaxis,s=S.yaxis,d=[],f=[],b=[],x,y;for(y=0;y<p.length;y++){var C=p[y];C.visible===!0&&C.xaxis===c._id&&C.yaxis===s._id&&C.type==="waterfall"&&(x=_[y],C.orientation==="h"?b.push(x):f.push(x),d.push(x))}var w={mode:g.waterfallmode,norm:g.waterfallnorm,gap:g.waterfallgap,groupgap:g.waterfallgroupgap};for(l(i,c,s,f,w),l(i,s,c,b,w),y=0;y<d.length;y++){x=d[y];for(var R=0;R<x.length;R++){var A=x[R];A.isSum===!1&&(A.s0+=R===0?0:x[R-1].s),R+1<x.length&&(x[R].nextP0=x[R+1].p0,x[R].nextS0=x[R+1].s0)}}}},24224:function(u,h,a){var l=a(3400),v=a(20011),i=a(31508).handleText,S=a(43980),g=a(31147),p=a(65776),_=a(76308),c=a(48164),s=c.INCREASING.COLOR,d=c.DECREASING.COLOR,f="#4499FF";function b(C,w,R){C(w+".marker.color",R),C(w+".marker.line.color",_.defaultLine),C(w+".marker.line.width")}function x(C,w,R,A){function E(M,F){return l.coerce(C,w,p,M,F)}var k=S(C,w,A,E);if(!k){w.visible=!1;return}g(C,w,A,E),E("xhoverformat"),E("yhoverformat"),E("measure"),E("orientation",w.x&&!w.y?"h":"v"),E("base"),E("offset"),E("width"),E("text"),E("hovertext"),E("hovertemplate");var L=E("textposition");i(C,w,A,E,L,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),w.textposition!=="none"&&(E("texttemplate"),w.texttemplate||E("textinfo")),b(E,"increasing",s),b(E,"decreasing",d),b(E,"totals",f);var I=E("connector.visible");if(I){E("connector.mode");var P=E("connector.line.width");P&&(E("connector.line.color"),E("connector.line.dash"))}}function y(C,w){var R,A;function E(L){return l.coerce(A._input,A,p,L)}if(w.waterfallmode==="group")for(var k=0;k<C.length;k++)A=C[k],R=A._input,v(R,A,w,E)}u.exports={supplyDefaults:x,crossTraceDefaults:y}},53256:function(u){u.exports=function(a,l){return a.x="xVal"in l?l.xVal:l.x,a.y="yVal"in l?l.yVal:l.y,"initial"in l&&(a.initial=l.initial),"delta"in l&&(a.delta=l.delta),"final"in l&&(a.final=l.final),l.xa&&(a.xaxis=l.xa),l.ya&&(a.yaxis=l.ya),a}},94196:function(u,h,a){var l=a(54460).hoverLabelText,v=a(76308).opacity,i=a(63400).hoverOnBars,S=a(48164),g={increasing:S.INCREASING.SYMBOL,decreasing:S.DECREASING.SYMBOL};u.exports=function(c,s,d,f,b){var x=i(c,s,d,f,b);if(!x)return;var y=x.cd,C=y[0].trace,w=C.orientation==="h",R=w?"x":"y",A=w?c.xa:c.ya;function E(O){return l(A,O,C[R+"hoverformat"])}var k=x.index,L=y[k],I=L.isSum?L.b+L.s:L.rawS;x.initial=L.b+L.s-I,x.delta=I,x.final=x.initial+x.delta;var P=E(Math.abs(x.delta));x.deltaLabel=I<0?"("+P+")":P,x.finalLabel=E(x.final),x.initialLabel=E(x.initial);var M=L.hi||C.hoverinfo,F=[];if(M&&M!=="none"&&M!=="skip"){var N=M==="all",T=M.split("+"),D=function(O){return N||T.indexOf(O)!==-1};L.isSum||(D("final")&&(w?!D("x"):!D("y"))&&F.push(x.finalLabel),D("delta")&&(I<0?F.push(x.deltaLabel+" "+g.decreasing):F.push(x.deltaLabel+" "+g.increasing)),D("initial")&&F.push("Initial: "+x.initialLabel))}return F.length&&(x.extraText=F.join("<br>")),x.color=p(C,L),[x]};function p(_,c){var s=_[c.dir].marker,d=s.color,f=s.line.color,b=s.line.width;if(v(d))return d;if(v(f)&&b)return f}},95952:function(u,h,a){u.exports={attributes:a(65776),layoutAttributes:a(91352),supplyDefaults:a(24224).supplyDefaults,crossTraceDefaults:a(24224).crossTraceDefaults,supplyLayoutDefaults:a(59464),calc:a(73540),crossTraceCalc:a(50152),plot:a(64488),style:a(12252).style,hoverPoints:a(94196),eventData:a(53256),selectPoints:a(45784),moduleType:"trace",name:"waterfall",basePlotModule:a(57952),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},91352:function(u){u.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",editType:"calc"},waterfallgap:{valType:"number",min:0,max:1,editType:"calc"},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},59464:function(u,h,a){var l=a(3400),v=a(91352);u.exports=function(i,S,g){var p=!1;function _(d,f){return l.coerce(i,S,v,d,f)}for(var c=0;c<g.length;c++){var s=g[c];if(s.visible&&s.type==="waterfall"){p=!0;break}}p&&(_("waterfallmode"),_("waterfallgap",.2),_("waterfallgroupgap"))}},64488:function(u,h,a){var l=a(33428),v=a(3400),i=a(43616),S=a(39032).BADNUM,g=a(98184),p=a(82744).clearMinTextSize;u.exports=function(d,f,b,x){var y=d._fullLayout;p("waterfall",y),g.plot(d,f,b,x,{mode:y.waterfallmode,norm:y.waterfallmode,gap:y.waterfallgap,groupgap:y.waterfallgroupgap}),_(d,f,b,x)};function _(s,d,f,b){var x=d.xaxis,y=d.yaxis;v.makeTraceGroups(b,f,"trace bars").each(function(C){var w=l.select(this),R=C[0].trace,A=v.ensureSingle(w,"g","lines");if(!R.connector||!R.connector.visible){A.remove();return}var E=R.orientation==="h",k=R.connector.mode,L=A.selectAll("g.line").data(v.identity);L.enter().append("g").classed("line",!0),L.exit().remove();var I=L.size();L.each(function(P,M){if(!(M!==I-1&&!P.cNext)){var F=c(P,x,y,E),N=F[0],T=F[1],D="";N[0]!==S&&T[0]!==S&&N[1]!==S&&T[1]!==S&&(k==="spanning"&&!P.isSum&&M>0&&(E?D+="M"+N[0]+","+T[1]+"V"+T[0]:D+="M"+N[1]+","+T[0]+"H"+N[0]),k!=="between"&&(P.isSum||M<I-1)&&(E?D+="M"+N[1]+","+T[0]+"V"+T[1]:D+="M"+N[0]+","+T[1]+"H"+N[1]),N[2]!==S&&T[2]!==S&&(E?D+="M"+N[1]+","+T[1]+"V"+T[2]:D+="M"+N[1]+","+T[1]+"H"+N[2])),D===""&&(D="M0,0Z"),v.ensureSingle(l.select(this),"path").attr("d",D).call(i.setClipUrl,d.layerClipId,s)}})})}function c(s,d,f,b){var x=[],y=[],C=b?d:f,w=b?f:d;return x[0]=C.c2p(s.s0,!0),y[0]=w.c2p(s.p0,!0),x[1]=C.c2p(s.s1,!0),y[1]=w.c2p(s.p1,!0),x[2]=C.c2p(s.nextS0,!0),y[2]=w.c2p(s.nextP0,!0),b?[x,y]:[y,x]}},12252:function(u,h,a){var l=a(33428),v=a(43616),i=a(76308),S=a(13448).DESELECTDIM,g=a(60100),p=a(82744).resizeText,_=g.styleTextPoints;function c(s,d,f){var b=f||l.select(s).selectAll("g.waterfalllayer").selectAll("g.trace");p(s,b,"waterfall"),b.style("opacity",function(x){return x[0].trace.opacity}),b.each(function(x){var y=l.select(this),C=x[0].trace;y.selectAll(".point > path").each(function(w){if(!w.isBlank){var R=C[w.dir].marker;l.select(this).call(i.fill,R.color).call(i.stroke,R.line.color).call(v.dashLine,R.line.dash,R.line.width).style("opacity",C.selectedpoints&&!w.selected?S:1)}}),_(y,C,s),y.selectAll(".lines").each(function(){var w=C.connector.line;v.lineGroupStyle(l.select(this).selectAll("path"),w.width,w.color,w.dash)})})}u.exports={style:c}},84224:function(u,h,a){var l=a(54460),v=a(3400),i=a(73060),S=a(60468).W,g=a(39032).BADNUM;h.moduleType="transform",h.name="aggregate";var p=h.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},aggregations:{_isLinkedToArray:"aggregation",target:{valType:"string",editType:"calc"},func:{valType:"enumerated",values:["count","sum","avg","median","mode","rms","stddev","min","max","first","last","change","range"],dflt:"first",editType:"calc"},funcmode:{valType:"enumerated",values:["sample","population"],dflt:"sample",editType:"calc"},enabled:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"},editType:"calc"},_=p.aggregations;h.supplyDefaults=function(x,y){var C={},w;function R(O,U){return v.coerce(x,C,p,O,U)}var A=R("enabled");if(!A)return C;var E=i.findArrayAttributes(y),k={};for(w=0;w<E.length;w++)k[E[w]]=1;var L=R("groups");if(!Array.isArray(L)){if(!k[L])return C.enabled=!1,C;k[L]=0}var I=x.aggregations||[],P=C.aggregations=new Array(I.length),M;function F(O,U){return v.coerce(I[w],M,_,O,U)}for(w=0;w<I.length;w++){M={_index:w};var N=F("target"),T=F("func"),D=F("enabled");D&&N&&(k[N]||T==="count"&&k[N]===void 0)?(T==="stddev"&&F("funcmode"),k[N]=0,P[w]=M):P[w]={enabled:!1,_index:w}}for(w=0;w<E.length;w++)k[E[w]]&&P.push({target:E[w],func:_.func.dflt,enabled:!0,_index:-1});return C},h.calcTransform=function(x,y,C){if(C.enabled){var w=C.groups,R=v.getTargetArray(y,{target:w});if(R){var A,E,k,L,I={},P={},M=[],F=S(y.transforms,C),N=R.length;for(y._length&&(N=Math.min(N,y._length)),A=0;A<N;A++)E=R[A],k=I[E],k===void 0?(I[E]=M.length,L=[A],M.push(L),P[I[E]]=F(A)):(M[k].push(A),P[I[E]]=(P[I[E]]||[]).concat(F(A)));C._indexToPoints=P;var T=C.aggregations;for(A=0;A<T.length;A++)c(x,y,M,T[A]);typeof w=="string"&&c(x,y,M,{target:w,func:"first",enabled:!0}),y._length=M.length}}};function c(x,y,C,w){if(w.enabled){for(var R=w.target,A=v.nestedProperty(y,R),E=A.get(),k=l.getDataConversions(x,y,R,E),L=s(w,k),I=new Array(C.length),P=0;P<C.length;P++)I[P]=L(E,C[P]);A.set(I),w.func==="count"&&v.pushUnique(y._arrayAttrs,R)}}function s(x,y){var C=x.func,w=y.d2c,R=y.c2d;switch(C){case"count":return d;case"first":return f;case"last":return b;case"sum":return function(A,E){for(var k=0,L=0;L<E.length;L++){var I=w(A[E[L]]);I!==g&&(k+=I)}return R(k)};case"avg":return function(A,E){for(var k=0,L=0,I=0;I<E.length;I++){var P=w(A[E[I]]);P!==g&&(k+=P,L++)}return L?R(k/L):g};case"min":return function(A,E){for(var k=1/0,L=0;L<E.length;L++){var I=w(A[E[L]]);I!==g&&(k=Math.min(k,I))}return k===1/0?g:R(k)};case"max":return function(A,E){for(var k=-1/0,L=0;L<E.length;L++){var I=w(A[E[L]]);I!==g&&(k=Math.max(k,I))}return k===-1/0?g:R(k)};case"range":return function(A,E){for(var k=1/0,L=-1/0,I=0;I<E.length;I++){var P=w(A[E[I]]);P!==g&&(k=Math.min(k,P),L=Math.max(L,P))}return L===-1/0||k===1/0?g:R(L-k)};case"change":return function(A,E){var k=w(A[E[0]]),L=w(A[E[E.length-1]]);return k===g||L===g?g:R(L-k)};case"median":return function(A,E){for(var k=[],L=0;L<E.length;L++){var I=w(A[E[L]]);I!==g&&k.push(I)}if(!k.length)return g;k.sort(v.sorterAsc);var P=(k.length-1)/2;return R((k[Math.floor(P)]+k[Math.ceil(P)])/2)};case"mode":return function(A,E){for(var k={},L=0,I=g,P=0;P<E.length;P++){var M=w(A[E[P]]);if(M!==g){var F=k[M]=(k[M]||0)+1;F>L&&(L=F,I=M)}}return L?R(I):g};case"rms":return function(A,E){for(var k=0,L=0,I=0;I<E.length;I++){var P=w(A[E[I]]);P!==g&&(k+=P*P,L++)}return L?R(Math.sqrt(k/L)):g};case"stddev":return function(A,E){var k=0,L=0,I=1,P=g,M;for(M=0;M<E.length&&P===g;M++)P=w(A[E[M]]);if(P===g)return g;for(;M<E.length;M++){var F=w(A[E[M]]);if(F!==g){var N=F-P;k+=N,L+=N*N,I++}}var T=x.funcmode==="sample"?I-1:I;return T?Math.sqrt((L-k*k/I)/T):0}}}function d(x,y){return y.length}function f(x,y){return x[y[0]]}function b(x,y){return x[y[y.length-1]]}},76744:function(u,h,a){var l=a(3400),v=a(24040),i=a(54460),S=a(60468).W,g=a(69104),p=g.COMPARISON_OPS,_=g.INTERVAL_OPS,c=g.SET_OPS;h.moduleType="transform",h.name="filter",h.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},target:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},operation:{valType:"enumerated",values:[].concat(p).concat(_).concat(c),dflt:"=",editType:"calc"},value:{valType:"any",dflt:0,editType:"calc"},preservegaps:{valType:"boolean",dflt:!1,editType:"calc"},editType:"calc"},h.supplyDefaults=function(d){var f={};function b(w,R){return l.coerce(d,f,h.attributes,w,R)}var x=b("enabled");if(x){var y=b("target");if(l.isArrayOrTypedArray(y)&&y.length===0)return f.enabled=!1,f;b("preservegaps"),b("operation"),b("value");var C=v.getComponentMethod("calendars","handleDefaults");C(d,f,"valuecalendar",null),C(d,f,"targetcalendar",null)}return f},h.calcTransform=function(d,f,b){if(!b.enabled)return;var x=l.getTargetArray(f,b);if(!x)return;var y=b.target,C=x.length;f._length&&(C=Math.min(C,f._length));var w=b.targetcalendar,R=f._arrayAttrs,A=b.preservegaps;if(typeof y=="string"){var E=l.nestedProperty(f,y+"calendar").get();E&&(w=E)}var k=i.getDataToCoordFunc(d,f,y,x),L=s(b,k,w),I={},P={},M=0;function F(B,Y){for(var z=0;z<R.length;z++){var V=l.nestedProperty(f,R[z]);B(V,Y)}}var N,T;A?(N=function(B){I[B.astr]=l.extendDeep([],B.get()),B.set(new Array(C))},T=function(B,Y){var z=I[B.astr][Y];B.get()[Y]=z}):(N=function(B){I[B.astr]=l.extendDeep([],B.get()),B.set([])},T=function(B,Y){var z=I[B.astr][Y];B.get().push(z)}),F(N);for(var D=S(f.transforms,b),O=0;O<C;O++){var U=L(x[O]);U?(F(T,O),P[M++]=D(O)):A&&M++}b._indexToPoints=P,f._length=M};function s(d,f,b){var x=d.operation,y=d.value,C=l.isArrayOrTypedArray(y);function w(k){return k.indexOf(x)!==-1}var R=function(k){return f(k,0,d.valuecalendar)},A=function(k){return f(k,0,b)},E;switch(w(p)?E=R(C?y[0]:y):w(_)?E=C?[R(y[0]),R(y[1])]:[R(y),R(y)]:w(c)&&(E=C?y.map(R):[R(y)]),x){case"=":return function(k){return A(k)===E};case"!=":return function(k){return A(k)!==E};case"<":return function(k){return A(k)<E};case"<=":return function(k){return A(k)<=E};case">":return function(k){return A(k)>E};case">=":return function(k){return A(k)>=E};case"[]":return function(k){var L=A(k);return L>=E[0]&&L<=E[1]};case"()":return function(k){var L=A(k);return L>E[0]&&L<E[1]};case"[)":return function(k){var L=A(k);return L>=E[0]&&L<E[1]};case"(]":return function(k){var L=A(k);return L>E[0]&&L<=E[1]};case"][":return function(k){var L=A(k);return L<=E[0]||L>=E[1]};case")(":return function(k){var L=A(k);return L<E[0]||L>E[1]};case"](":return function(k){var L=A(k);return L<=E[0]||L>E[1]};case")[":return function(k){var L=A(k);return L<E[0]||L>=E[1]};case"{}":return function(k){return E.indexOf(A(k))!==-1};case"}{":return function(k){return E.indexOf(A(k))===-1}}}},32028:function(u,h,a){var l=a(3400),v=a(73060),i=a(7316),S=a(60468).W;h.moduleType="transform",h.name="groupby",h.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"data_array",dflt:[],editType:"calc"},nameformat:{valType:"string",editType:"calc"},styles:{_isLinkedToArray:"style",target:{valType:"string",editType:"calc"},value:{valType:"any",dflt:{},editType:"calc",_compareAsJSON:!0},editType:"calc"},editType:"calc"},h.supplyDefaults=function(p,_,c){var s,d={};function f(R,A){return l.coerce(p,d,h.attributes,R,A)}var b=f("enabled");if(!b)return d;f("groups"),f("nameformat",c._dataLength>1?"%{group} (%{trace})":"%{group}");var x=p.styles,y=d.styles=[];if(x)for(s=0;s<x.length;s++){var C=y[s]={};l.coerce(x[s],y[s],h.attributes.styles,"target");var w=l.coerce(x[s],y[s],h.attributes.styles,"value");l.isPlainObject(w)?C.value=l.extendDeep({},w):w&&delete C.value}return d},h.transform=function(p,_){var c,s,d,f=[];for(s=0;s<p.length;s++)for(c=g(p[s],_),d=0;d<c.length;d++)f.push(c[d]);return f};function g(p,_){var c,s,d,f,b,x,y,C,w,R,A=_.transform,E=_.transformIndex,k=p.transforms[E].groups,L=S(p.transforms,A);if(!l.isArrayOrTypedArray(k)||k.length===0)return[p];var I=l.filterUnique(k),P=new Array(I.length),M=k.length,F=v.findArrayAttributes(p),N=A.styles||[],T={};for(c=0;c<N.length;c++)T[N[c].target]=N[c].value;A.styles&&(R=l.keyedContainer(A,"styles","target","value.name"));var D={},O={};for(c=0;c<I.length;c++){x=I[c],D[x]=c,O[x]=0,y=P[c]=l.extendDeepNoArrays({},p),y._group=x,y.transforms[E]._indexToPoints={};var U=null;for(R&&(U=R.get(x)),U||U===""?y.name=U:y.name=l.templateString(A.nameformat,{trace:p.name,group:x}),C=y.transforms,y.transforms=[],s=0;s<C.length;s++)y.transforms[s]=l.extendDeepNoArrays({},C[s]);for(s=0;s<F.length;s++)l.nestedProperty(y,F[s]).set([])}for(d=0;d<F.length;d++){for(f=F[d],s=0,w=[];s<I.length;s++)w[s]=l.nestedProperty(P[s],f).get();for(b=l.nestedProperty(p,f).get(),s=0;s<M;s++)w[D[k[s]]].push(b[s])}for(s=0;s<M;s++){y=P[D[k[s]]];var B=y.transforms[E]._indexToPoints;B[O[k[s]]]=L(s),O[k[s]]++}for(c=0;c<I.length;c++)x=I[c],y=P[c],i.clearExpandedTraceDefaultColors(y),y=l.extendDeepNoArrays(y,T[x]||{});return P}},60468:function(u,h){h.W=function(a,l){for(var v,i,S=0;S<a.length&&(v=a[S],v!==l);S++)!v._indexToPoints||v.enabled===!1||(i=v._indexToPoints);var g=i?function(p){return i[p]}:function(p){return[p]};return g}},76272:function(u,h,a){var l=a(3400),v=a(54460),i=a(60468).W,S=a(39032).BADNUM;h.moduleType="transform",h.name="sort",h.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},target:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},order:{valType:"enumerated",values:["ascending","descending"],dflt:"ascending",editType:"calc"},editType:"calc"},h.supplyDefaults=function(_){var c={};function s(f,b){return l.coerce(_,c,h.attributes,f,b)}var d=s("enabled");return d&&(s("target"),s("order")),c},h.calcTransform=function(_,c,s){if(s.enabled){var d=l.getTargetArray(c,s);if(d){var f=s.target,b=d.length;c._length&&(b=Math.min(b,c._length));var x=c._arrayAttrs,y=v.getDataToCoordFunc(_,c,f,d),C=g(s,d,y,b),w=i(c.transforms,s),R={},A,E;for(A=0;A<x.length;A++){var k=l.nestedProperty(c,x[A]),L=k.get(),I=new Array(b);for(E=0;E<b;E++)I[E]=L[C[E]];k.set(I)}for(E=0;E<b;E++)R[E]=w(C[E]);s._indexToPoints=R,c._length=b}}};function g(_,c,s,d){var f=new Array(d),b=new Array(d),x;for(x=0;x<d;x++)f[x]={v:c[x],i:x};for(f.sort(p(_,s)),x=0;x<d;x++)b[x]=f[x].i;return b}function p(_,c){switch(_.order){case"ascending":return function(s,d){var f=c(s.v),b=c(d.v);return f===S?1:b===S?-1:f-b};case"descending":return function(s,d){var f=c(s.v),b=c(d.v);return f===S?1:b===S?-1:b-f}}}},25788:function(u,h){h.version="2.30.1"},67792:function(u,h,a){var l=a(4168);(function(i,S){u.exports=S()})(self,function(){return function(){var v={7386:function(p,_,c){p.exports={alpha_shape:c(2350),convex_hull:c(5537),delaunay_triangulate:c(4419),gl_cone3d:c(1140),gl_error3d:c(3110),gl_heatmap2d:c(6386),gl_line3d:c(6086),gl_mesh3d:c(8116),gl_plot2d:c(2117),gl_plot3d:c(1059),gl_pointcloud2d:c(8271),gl_scatter3d:c(2182),gl_select_box:c(6623),gl_spikes2d:c(3050),gl_streamtube3d:c(7307),gl_surface3d:c(3754),ndarray:c(5050),ndarray_linear_interpolate:c(3581)}},2146:function(p,_,c){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/function s(Ce,Se){if(!(Ce instanceof Se))throw new TypeError("Cannot call a class as a function")}function d(Ce,Se){for(var Le=0;Le<Se.length;Le++){var Ne=Se[Le];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(Ce,Ne.key,Ne)}}function f(Ce,Se,Le){return Se&&d(Ce.prototype,Se),Object.defineProperty(Ce,"prototype",{writable:!1}),Ce}function b(Ce,Se){if(typeof Se!="function"&&Se!==null)throw new TypeError("Super expression must either be null or a function");Ce.prototype=Object.create(Se&&Se.prototype,{constructor:{value:Ce,writable:!0,configurable:!0}}),Object.defineProperty(Ce,"prototype",{writable:!1}),Se&&x(Ce,Se)}function x(Ce,Se){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Ne,je){return Ne.__proto__=je,Ne},x(Ce,Se)}function y(Ce){var Se=R();return function(){var Ne=A(Ce),je;if(Se){var Je=A(this).constructor;je=Reflect.construct(Ne,arguments,Je)}else je=Ne.apply(this,arguments);return C(this,je)}}function C(Ce,Se){if(Se&&(E(Se)==="object"||typeof Se=="function"))return Se;if(Se!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return w(Ce)}function w(Ce){if(Ce===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ce}function R(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function A(Ce){return A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Le){return Le.__proto__||Object.getPrototypeOf(Le)},A(Ce)}function E(Ce){"@babel/helpers - typeof";return E=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Se){return typeof Se}:function(Se){return Se&&typeof Symbol=="function"&&Se.constructor===Symbol&&Se!==Symbol.prototype?"symbol":typeof Se},E(Ce)}var k=c(3910),L=c(3187),I=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;_.lW=N,_.h2=50;var P=2147483647;N.TYPED_ARRAY_SUPPORT=M(),!N.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function M(){try{var Ce=new Uint8Array(1),Se={foo:function(){return 42}};return Object.setPrototypeOf(Se,Uint8Array.prototype),Object.setPrototypeOf(Ce,Se),Ce.foo()===42}catch{return!1}}Object.defineProperty(N.prototype,"parent",{enumerable:!0,get:function(){if(N.isBuffer(this))return this.buffer}}),Object.defineProperty(N.prototype,"offset",{enumerable:!0,get:function(){if(N.isBuffer(this))return this.byteOffset}});function F(Ce){if(Ce>P)throw new RangeError('The value "'+Ce+'" is invalid for option "size"');var Se=new Uint8Array(Ce);return Object.setPrototypeOf(Se,N.prototype),Se}function N(Ce,Se,Le){if(typeof Ce=="number"){if(typeof Se=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return U(Ce)}return T(Ce,Se,Le)}N.poolSize=8192;function T(Ce,Se,Le){if(typeof Ce=="string")return B(Ce,Se);if(ArrayBuffer.isView(Ce))return z(Ce);if(Ce==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+E(Ce));if(Ve(Ce,ArrayBuffer)||Ce&&Ve(Ce.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ve(Ce,SharedArrayBuffer)||Ce&&Ve(Ce.buffer,SharedArrayBuffer)))return V(Ce,Se,Le);if(typeof Ce=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ne=Ce.valueOf&&Ce.valueOf();if(Ne!=null&&Ne!==Ce)return N.from(Ne,Se,Le);var je=j(Ce);if(je)return je;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Ce[Symbol.toPrimitive]=="function")return N.from(Ce[Symbol.toPrimitive]("string"),Se,Le);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+E(Ce))}N.from=function(Ce,Se,Le){return T(Ce,Se,Le)},Object.setPrototypeOf(N.prototype,Uint8Array.prototype),Object.setPrototypeOf(N,Uint8Array);function D(Ce){if(typeof Ce!="number")throw new TypeError('"size" argument must be of type number');if(Ce<0)throw new RangeError('The value "'+Ce+'" is invalid for option "size"')}function O(Ce,Se,Le){return D(Ce),Ce<=0?F(Ce):Se!==void 0?typeof Le=="string"?F(Ce).fill(Se,Le):F(Ce).fill(Se):F(Ce)}N.alloc=function(Ce,Se,Le){return O(Ce,Se,Le)};function U(Ce){return D(Ce),F(Ce<0?0:G(Ce)|0)}N.allocUnsafe=function(Ce){return U(Ce)},N.allocUnsafeSlow=function(Ce){return U(Ce)};function B(Ce,Se){if((typeof Se!="string"||Se==="")&&(Se="utf8"),!N.isEncoding(Se))throw new TypeError("Unknown encoding: "+Se);var Le=W(Ce,Se)|0,Ne=F(Le),je=Ne.write(Ce,Se);return je!==Le&&(Ne=Ne.slice(0,je)),Ne}function Y(Ce){for(var Se=Ce.length<0?0:G(Ce.length)|0,Le=F(Se),Ne=0;Ne<Se;Ne+=1)Le[Ne]=Ce[Ne]&255;return Le}function z(Ce){if(Ve(Ce,Uint8Array)){var Se=new Uint8Array(Ce);return V(Se.buffer,Se.byteOffset,Se.byteLength)}return Y(Ce)}function V(Ce,Se,Le){if(Se<0||Ce.byteLength<Se)throw new RangeError('"offset" is outside of buffer bounds');if(Ce.byteLength<Se+(Le||0))throw new RangeError('"length" is outside of buffer bounds');var Ne;return Se===void 0&&Le===void 0?Ne=new Uint8Array(Ce):Le===void 0?Ne=new Uint8Array(Ce,Se):Ne=new Uint8Array(Ce,Se,Le),Object.setPrototypeOf(Ne,N.prototype),Ne}function j(Ce){if(N.isBuffer(Ce)){var Se=G(Ce.length)|0,Le=F(Se);return Le.length===0||Ce.copy(Le,0,0,Se),Le}if(Ce.length!==void 0)return typeof Ce.length!="number"||Qe(Ce.length)?F(0):Y(Ce);if(Ce.type==="Buffer"&&Array.isArray(Ce.data))return Y(Ce.data)}function G(Ce){if(Ce>=P)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+P.toString(16)+" bytes");return Ce|0}N.isBuffer=function(Se){return Se!=null&&Se._isBuffer===!0&&Se!==N.prototype},N.compare=function(Se,Le){if(Ve(Se,Uint8Array)&&(Se=N.from(Se,Se.offset,Se.byteLength)),Ve(Le,Uint8Array)&&(Le=N.from(Le,Le.offset,Le.byteLength)),!N.isBuffer(Se)||!N.isBuffer(Le))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Se===Le)return 0;for(var Ne=Se.length,je=Le.length,Je=0,ut=Math.min(Ne,je);Je<ut;++Je)if(Se[Je]!==Le[Je]){Ne=Se[Je],je=Le[Je];break}return Ne<je?-1:je<Ne?1:0},N.isEncoding=function(Se){switch(String(Se).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},N.concat=function(Se,Le){if(!Array.isArray(Se))throw new TypeError('"list" argument must be an Array of Buffers');if(Se.length===0)return N.alloc(0);var Ne;if(Le===void 0)for(Le=0,Ne=0;Ne<Se.length;++Ne)Le+=Se[Ne].length;var je=N.allocUnsafe(Le),Je=0;for(Ne=0;Ne<Se.length;++Ne){var ut=Se[Ne];if(Ve(ut,Uint8Array))Je+ut.length>je.length?(N.isBuffer(ut)||(ut=N.from(ut)),ut.copy(je,Je)):Uint8Array.prototype.set.call(je,ut,Je);else if(N.isBuffer(ut))ut.copy(je,Je);else throw new TypeError('"list" argument must be an Array of Buffers');Je+=ut.length}return je};function W(Ce,Se){if(N.isBuffer(Ce))return Ce.length;if(ArrayBuffer.isView(Ce)||Ve(Ce,ArrayBuffer))return Ce.byteLength;if(typeof Ce!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+E(Ce));var Le=Ce.length,Ne=arguments.length>2&&arguments[2]===!0;if(!Ne&&Le===0)return 0;for(var je=!1;;)switch(Se){case"ascii":case"latin1":case"binary":return Le;case"utf8":case"utf-8":return vt(Ce).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Le*2;case"hex":return Le>>>1;case"base64":return Rt(Ce).length;default:if(je)return Ne?-1:vt(Ce).length;Se=(""+Se).toLowerCase(),je=!0}}N.byteLength=W;function X(Ce,Se,Le){var Ne=!1;if((Se===void 0||Se<0)&&(Se=0),Se>this.length||((Le===void 0||Le>this.length)&&(Le=this.length),Le<=0)||(Le>>>=0,Se>>>=0,Le<=Se))return"";for(Ce||(Ce="utf8");;)switch(Ce){case"hex":return fe(this,Se,Le);case"utf8":case"utf-8":return ce(this,Se,Le);case"ascii":return de(this,Se,Le);case"latin1":case"binary":return oe(this,Se,Le);case"base64":return te(this,Se,Le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return me(this,Se,Le);default:if(Ne)throw new TypeError("Unknown encoding: "+Ce);Ce=(Ce+"").toLowerCase(),Ne=!0}}N.prototype._isBuffer=!0;function Q(Ce,Se,Le){var Ne=Ce[Se];Ce[Se]=Ce[Le],Ce[Le]=Ne}N.prototype.swap16=function(){var Se=this.length;if(Se%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Le=0;Le<Se;Le+=2)Q(this,Le,Le+1);return this},N.prototype.swap32=function(){var Se=this.length;if(Se%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Le=0;Le<Se;Le+=4)Q(this,Le,Le+3),Q(this,Le+1,Le+2);return this},N.prototype.swap64=function(){var Se=this.length;if(Se%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Le=0;Le<Se;Le+=8)Q(this,Le,Le+7),Q(this,Le+1,Le+6),Q(this,Le+2,Le+5),Q(this,Le+3,Le+4);return this},N.prototype.toString=function(){var Se=this.length;return Se===0?"":arguments.length===0?ce(this,0,Se):X.apply(this,arguments)},N.prototype.toLocaleString=N.prototype.toString,N.prototype.equals=function(Se){if(!N.isBuffer(Se))throw new TypeError("Argument must be a Buffer");return this===Se?!0:N.compare(this,Se)===0},N.prototype.inspect=function(){var Se="",Le=_.h2;return Se=this.toString("hex",0,Le).replace(/(.{2})/g,"$1 ").trim(),this.length>Le&&(Se+=" ... "),"<Buffer "+Se+">"},I&&(N.prototype[I]=N.prototype.inspect),N.prototype.compare=function(Se,Le,Ne,je,Je){if(Ve(Se,Uint8Array)&&(Se=N.from(Se,Se.offset,Se.byteLength)),!N.isBuffer(Se))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+E(Se));if(Le===void 0&&(Le=0),Ne===void 0&&(Ne=Se?Se.length:0),je===void 0&&(je=0),Je===void 0&&(Je=this.length),Le<0||Ne>Se.length||je<0||Je>this.length)throw new RangeError("out of range index");if(je>=Je&&Le>=Ne)return 0;if(je>=Je)return-1;if(Le>=Ne)return 1;if(Le>>>=0,Ne>>>=0,je>>>=0,Je>>>=0,this===Se)return 0;for(var ut=Je-je,Et=Ne-Le,wt=Math.min(ut,Et),nr=this.slice(je,Je),ir=Se.slice(Le,Ne),It=0;It<wt;++It)if(nr[It]!==ir[It]){ut=nr[It],Et=ir[It];break}return ut<Et?-1:Et<ut?1:0};function ae(Ce,Se,Le,Ne,je){if(Ce.length===0)return-1;if(typeof Le=="string"?(Ne=Le,Le=0):Le>2147483647?Le=2147483647:Le<-2147483648&&(Le=-2147483648),Le=+Le,Qe(Le)&&(Le=je?0:Ce.length-1),Le<0&&(Le=Ce.length+Le),Le>=Ce.length){if(je)return-1;Le=Ce.length-1}else if(Le<0)if(je)Le=0;else return-1;if(typeof Se=="string"&&(Se=N.from(Se,Ne)),N.isBuffer(Se))return Se.length===0?-1:ie(Ce,Se,Le,Ne,je);if(typeof Se=="number")return Se=Se&255,typeof Uint8Array.prototype.indexOf=="function"?je?Uint8Array.prototype.indexOf.call(Ce,Se,Le):Uint8Array.prototype.lastIndexOf.call(Ce,Se,Le):ie(Ce,[Se],Le,Ne,je);throw new TypeError("val must be string, number or Buffer")}function ie(Ce,Se,Le,Ne,je){var Je=1,ut=Ce.length,Et=Se.length;if(Ne!==void 0&&(Ne=String(Ne).toLowerCase(),Ne==="ucs2"||Ne==="ucs-2"||Ne==="utf16le"||Ne==="utf-16le")){if(Ce.length<2||Se.length<2)return-1;Je=2,ut/=2,Et/=2,Le/=2}function wt(cr,Pr){return Je===1?cr[Pr]:cr.readUInt16BE(Pr*Je)}var nr;if(je){var ir=-1;for(nr=Le;nr<ut;nr++)if(wt(Ce,nr)===wt(Se,ir===-1?0:nr-ir)){if(ir===-1&&(ir=nr),nr-ir+1===Et)return ir*Je}else ir!==-1&&(nr-=nr-ir),ir=-1}else for(Le+Et>ut&&(Le=ut-Et),nr=Le;nr>=0;nr--){for(var It=!0,Gt=0;Gt<Et;Gt++)if(wt(Ce,nr+Gt)!==wt(Se,Gt)){It=!1;break}if(It)return nr}return-1}N.prototype.includes=function(Se,Le,Ne){return this.indexOf(Se,Le,Ne)!==-1},N.prototype.indexOf=function(Se,Le,Ne){return ae(this,Se,Le,Ne,!0)},N.prototype.lastIndexOf=function(Se,Le,Ne){return ae(this,Se,Le,Ne,!1)};function he(Ce,Se,Le,Ne){Le=Number(Le)||0;var je=Ce.length-Le;Ne?(Ne=Number(Ne),Ne>je&&(Ne=je)):Ne=je;var Je=Se.length;Ne>Je/2&&(Ne=Je/2);var ut;for(ut=0;ut<Ne;++ut){var Et=parseInt(Se.substr(ut*2,2),16);if(Qe(Et))return ut;Ce[Le+ut]=Et}return ut}function J(Ce,Se,Le,Ne){return ct(vt(Se,Ce.length-Le),Ce,Le,Ne)}function Z(Ce,Se,Le,Ne){return ct(_t(Se),Ce,Le,Ne)}function le(Ce,Se,Le,Ne){return ct(Rt(Se),Ce,Le,Ne)}function K(Ce,Se,Le,Ne){return ct(bt(Se,Ce.length-Le),Ce,Le,Ne)}N.prototype.write=function(Se,Le,Ne,je){if(Le===void 0)je="utf8",Ne=this.length,Le=0;else if(Ne===void 0&&typeof Le=="string")je=Le,Ne=this.length,Le=0;else if(isFinite(Le))Le=Le>>>0,isFinite(Ne)?(Ne=Ne>>>0,je===void 0&&(je="utf8")):(je=Ne,Ne=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Je=this.length-Le;if((Ne===void 0||Ne>Je)&&(Ne=Je),Se.length>0&&(Ne<0||Le<0)||Le>this.length)throw new RangeError("Attempt to write outside buffer bounds");je||(je="utf8");for(var ut=!1;;)switch(je){case"hex":return he(this,Se,Le,Ne);case"utf8":case"utf-8":return J(this,Se,Le,Ne);case"ascii":case"latin1":case"binary":return Z(this,Se,Le,Ne);case"base64":return le(this,Se,Le,Ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return K(this,Se,Le,Ne);default:if(ut)throw new TypeError("Unknown encoding: "+je);je=(""+je).toLowerCase(),ut=!0}},N.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function te(Ce,Se,Le){return Se===0&&Le===Ce.length?k.fromByteArray(Ce):k.fromByteArray(Ce.slice(Se,Le))}function ce(Ce,Se,Le){Le=Math.min(Ce.length,Le);for(var Ne=[],je=Se;je<Le;){var Je=Ce[je],ut=null,Et=Je>239?4:Je>223?3:Je>191?2:1;if(je+Et<=Le){var wt=void 0,nr=void 0,ir=void 0,It=void 0;switch(Et){case 1:Je<128&&(ut=Je);break;case 2:wt=Ce[je+1],(wt&192)===128&&(It=(Je&31)<<6|wt&63,It>127&&(ut=It));break;case 3:wt=Ce[je+1],nr=Ce[je+2],(wt&192)===128&&(nr&192)===128&&(It=(Je&15)<<12|(wt&63)<<6|nr&63,It>2047&&(It<55296||It>57343)&&(ut=It));break;case 4:wt=Ce[je+1],nr=Ce[je+2],ir=Ce[je+3],(wt&192)===128&&(nr&192)===128&&(ir&192)===128&&(It=(Je&15)<<18|(wt&63)<<12|(nr&63)<<6|ir&63,It>65535&&It<1114112&&(ut=It))}}ut===null?(ut=65533,Et=1):ut>65535&&(ut-=65536,Ne.push(ut>>>10&1023|55296),ut=56320|ut&1023),Ne.push(ut),je+=Et}return ee(Ne)}var re=4096;function ee(Ce){var Se=Ce.length;if(Se<=re)return String.fromCharCode.apply(String,Ce);for(var Le="",Ne=0;Ne<Se;)Le+=String.fromCharCode.apply(String,Ce.slice(Ne,Ne+=re));return Le}function de(Ce,Se,Le){var Ne="";Le=Math.min(Ce.length,Le);for(var je=Se;je<Le;++je)Ne+=String.fromCharCode(Ce[je]&127);return Ne}function oe(Ce,Se,Le){var Ne="";Le=Math.min(Ce.length,Le);for(var je=Se;je<Le;++je)Ne+=String.fromCharCode(Ce[je]);return Ne}function fe(Ce,Se,Le){var Ne=Ce.length;(!Se||Se<0)&&(Se=0),(!Le||Le<0||Le>Ne)&&(Le=Ne);for(var je="",Je=Se;Je<Le;++Je)je+=rt[Ce[Je]];return je}function me(Ce,Se,Le){for(var Ne=Ce.slice(Se,Le),je="",Je=0;Je<Ne.length-1;Je+=2)je+=String.fromCharCode(Ne[Je]+Ne[Je+1]*256);return je}N.prototype.slice=function(Se,Le){var Ne=this.length;Se=~~Se,Le=Le===void 0?Ne:~~Le,Se<0?(Se+=Ne,Se<0&&(Se=0)):Se>Ne&&(Se=Ne),Le<0?(Le+=Ne,Le<0&&(Le=0)):Le>Ne&&(Le=Ne),Le<Se&&(Le=Se);var je=this.subarray(Se,Le);return Object.setPrototypeOf(je,N.prototype),je};function Te(Ce,Se,Le){if(Ce%1!==0||Ce<0)throw new RangeError("offset is not uint");if(Ce+Se>Le)throw new RangeError("Trying to access beyond buffer length")}N.prototype.readUintLE=N.prototype.readUIntLE=function(Se,Le,Ne){Se=Se>>>0,Le=Le>>>0,Ne||Te(Se,Le,this.length);for(var je=this[Se],Je=1,ut=0;++ut<Le&&(Je*=256);)je+=this[Se+ut]*Je;return je},N.prototype.readUintBE=N.prototype.readUIntBE=function(Se,Le,Ne){Se=Se>>>0,Le=Le>>>0,Ne||Te(Se,Le,this.length);for(var je=this[Se+--Le],Je=1;Le>0&&(Je*=256);)je+=this[Se+--Le]*Je;return je},N.prototype.readUint8=N.prototype.readUInt8=function(Se,Le){return Se=Se>>>0,Le||Te(Se,1,this.length),this[Se]},N.prototype.readUint16LE=N.prototype.readUInt16LE=function(Se,Le){return Se=Se>>>0,Le||Te(Se,2,this.length),this[Se]|this[Se+1]<<8},N.prototype.readUint16BE=N.prototype.readUInt16BE=function(Se,Le){return Se=Se>>>0,Le||Te(Se,2,this.length),this[Se]<<8|this[Se+1]},N.prototype.readUint32LE=N.prototype.readUInt32LE=function(Se,Le){return Se=Se>>>0,Le||Te(Se,4,this.length),(this[Se]|this[Se+1]<<8|this[Se+2]<<16)+this[Se+3]*16777216},N.prototype.readUint32BE=N.prototype.readUInt32BE=function(Se,Le){return Se=Se>>>0,Le||Te(Se,4,this.length),this[Se]*16777216+(this[Se+1]<<16|this[Se+2]<<8|this[Se+3])},N.prototype.readBigUInt64LE=qe(function(Se){Se=Se>>>0,ht(Se,"offset");var Le=this[Se],Ne=this[Se+7];(Le===void 0||Ne===void 0)&&tt(Se,this.length-8);var je=Le+this[++Se]*Math.pow(2,8)+this[++Se]*Math.pow(2,16)+this[++Se]*Math.pow(2,24),Je=this[++Se]+this[++Se]*Math.pow(2,8)+this[++Se]*Math.pow(2,16)+Ne*Math.pow(2,24);return BigInt(je)+(BigInt(Je)<<BigInt(32))}),N.prototype.readBigUInt64BE=qe(function(Se){Se=Se>>>0,ht(Se,"offset");var Le=this[Se],Ne=this[Se+7];(Le===void 0||Ne===void 0)&&tt(Se,this.length-8);var je=Le*Math.pow(2,24)+this[++Se]*Math.pow(2,16)+this[++Se]*Math.pow(2,8)+this[++Se],Je=this[++Se]*Math.pow(2,24)+this[++Se]*Math.pow(2,16)+this[++Se]*Math.pow(2,8)+Ne;return(BigInt(je)<<BigInt(32))+BigInt(Je)}),N.prototype.readIntLE=function(Se,Le,Ne){Se=Se>>>0,Le=Le>>>0,Ne||Te(Se,Le,this.length);for(var je=this[Se],Je=1,ut=0;++ut<Le&&(Je*=256);)je+=this[Se+ut]*Je;return Je*=128,je>=Je&&(je-=Math.pow(2,8*Le)),je},N.prototype.readIntBE=function(Se,Le,Ne){Se=Se>>>0,Le=Le>>>0,Ne||Te(Se,Le,this.length);for(var je=Le,Je=1,ut=this[Se+--je];je>0&&(Je*=256);)ut+=this[Se+--je]*Je;return Je*=128,ut>=Je&&(ut-=Math.pow(2,8*Le)),ut},N.prototype.readInt8=function(Se,Le){return Se=Se>>>0,Le||Te(Se,1,this.length),this[Se]&128?(255-this[Se]+1)*-1:this[Se]},N.prototype.readInt16LE=function(Se,Le){Se=Se>>>0,Le||Te(Se,2,this.length);var Ne=this[Se]|this[Se+1]<<8;return Ne&32768?Ne|4294901760:Ne},N.prototype.readInt16BE=function(Se,Le){Se=Se>>>0,Le||Te(Se,2,this.length);var Ne=this[Se+1]|this[Se]<<8;return Ne&32768?Ne|4294901760:Ne},N.prototype.readInt32LE=function(Se,Le){return Se=Se>>>0,Le||Te(Se,4,this.length),this[Se]|this[Se+1]<<8|this[Se+2]<<16|this[Se+3]<<24},N.prototype.readInt32BE=function(Se,Le){return Se=Se>>>0,Le||Te(Se,4,this.length),this[Se]<<24|this[Se+1]<<16|this[Se+2]<<8|this[Se+3]},N.prototype.readBigInt64LE=qe(function(Se){Se=Se>>>0,ht(Se,"offset");var Le=this[Se],Ne=this[Se+7];(Le===void 0||Ne===void 0)&&tt(Se,this.length-8);var je=this[Se+4]+this[Se+5]*Math.pow(2,8)+this[Se+6]*Math.pow(2,16)+(Ne<<24);return(BigInt(je)<<BigInt(32))+BigInt(Le+this[++Se]*Math.pow(2,8)+this[++Se]*Math.pow(2,16)+this[++Se]*Math.pow(2,24))}),N.prototype.readBigInt64BE=qe(function(Se){Se=Se>>>0,ht(Se,"offset");var Le=this[Se],Ne=this[Se+7];(Le===void 0||Ne===void 0)&&tt(Se,this.length-8);var je=(Le<<24)+this[++Se]*Math.pow(2,16)+this[++Se]*Math.pow(2,8)+this[++Se];return(BigInt(je)<<BigInt(32))+BigInt(this[++Se]*Math.pow(2,24)+this[++Se]*Math.pow(2,16)+this[++Se]*Math.pow(2,8)+Ne)}),N.prototype.readFloatLE=function(Se,Le){return Se=Se>>>0,Le||Te(Se,4,this.length),L.read(this,Se,!0,23,4)},N.prototype.readFloatBE=function(Se,Le){return Se=Se>>>0,Le||Te(Se,4,this.length),L.read(this,Se,!1,23,4)},N.prototype.readDoubleLE=function(Se,Le){return Se=Se>>>0,Le||Te(Se,8,this.length),L.read(this,Se,!0,52,8)},N.prototype.readDoubleBE=function(Se,Le){return Se=Se>>>0,Le||Te(Se,8,this.length),L.read(this,Se,!1,52,8)};function we(Ce,Se,Le,Ne,je,Je){if(!N.isBuffer(Ce))throw new TypeError('"buffer" argument must be a Buffer instance');if(Se>je||Se<Je)throw new RangeError('"value" argument is out of bounds');if(Le+Ne>Ce.length)throw new RangeError("Index out of range")}N.prototype.writeUintLE=N.prototype.writeUIntLE=function(Se,Le,Ne,je){if(Se=+Se,Le=Le>>>0,Ne=Ne>>>0,!je){var Je=Math.pow(2,8*Ne)-1;we(this,Se,Le,Ne,Je,0)}var ut=1,Et=0;for(this[Le]=Se&255;++Et<Ne&&(ut*=256);)this[Le+Et]=Se/ut&255;return Le+Ne},N.prototype.writeUintBE=N.prototype.writeUIntBE=function(Se,Le,Ne,je){if(Se=+Se,Le=Le>>>0,Ne=Ne>>>0,!je){var Je=Math.pow(2,8*Ne)-1;we(this,Se,Le,Ne,Je,0)}var ut=Ne-1,Et=1;for(this[Le+ut]=Se&255;--ut>=0&&(Et*=256);)this[Le+ut]=Se/Et&255;return Le+Ne},N.prototype.writeUint8=N.prototype.writeUInt8=function(Se,Le,Ne){return Se=+Se,Le=Le>>>0,Ne||we(this,Se,Le,1,255,0),this[Le]=Se&255,Le+1},N.prototype.writeUint16LE=N.prototype.writeUInt16LE=function(Se,Le,Ne){return Se=+Se,Le=Le>>>0,Ne||we(this,Se,Le,2,65535,0),this[Le]=Se&255,this[Le+1]=Se>>>8,Le+2},N.prototype.writeUint16BE=N.prototype.writeUInt16BE=function(Se,Le,Ne){return Se=+Se,Le=Le>>>0,Ne||we(this,Se,Le,2,65535,0),this[Le]=Se>>>8,this[Le+1]=Se&255,Le+2},N.prototype.writeUint32LE=N.prototype.writeUInt32LE=function(Se,Le,Ne){return Se=+Se,Le=Le>>>0,Ne||we(this,Se,Le,4,4294967295,0),this[Le+3]=Se>>>24,this[Le+2]=Se>>>16,this[Le+1]=Se>>>8,this[Le]=Se&255,Le+4},N.prototype.writeUint32BE=N.prototype.writeUInt32BE=function(Se,Le,Ne){return Se=+Se,Le=Le>>>0,Ne||we(this,Se,Le,4,4294967295,0),this[Le]=Se>>>24,this[Le+1]=Se>>>16,this[Le+2]=Se>>>8,this[Le+3]=Se&255,Le+4};function Be(Ce,Se,Le,Ne,je){lt(Se,Ne,je,Ce,Le,7);var Je=Number(Se&BigInt(4294967295));Ce[Le++]=Je,Je=Je>>8,Ce[Le++]=Je,Je=Je>>8,Ce[Le++]=Je,Je=Je>>8,Ce[Le++]=Je;var ut=Number(Se>>BigInt(32)&BigInt(4294967295));return Ce[Le++]=ut,ut=ut>>8,Ce[Le++]=ut,ut=ut>>8,Ce[Le++]=ut,ut=ut>>8,Ce[Le++]=ut,Le}function Ae(Ce,Se,Le,Ne,je){lt(Se,Ne,je,Ce,Le,7);var Je=Number(Se&BigInt(4294967295));Ce[Le+7]=Je,Je=Je>>8,Ce[Le+6]=Je,Je=Je>>8,Ce[Le+5]=Je,Je=Je>>8,Ce[Le+4]=Je;var ut=Number(Se>>BigInt(32)&BigInt(4294967295));return Ce[Le+3]=ut,ut=ut>>8,Ce[Le+2]=ut,ut=ut>>8,Ce[Le+1]=ut,ut=ut>>8,Ce[Le]=ut,Le+8}N.prototype.writeBigUInt64LE=qe(function(Se){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Be(this,Se,Le,BigInt(0),BigInt("0xffffffffffffffff"))}),N.prototype.writeBigUInt64BE=qe(function(Se){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Ae(this,Se,Le,BigInt(0),BigInt("0xffffffffffffffff"))}),N.prototype.writeIntLE=function(Se,Le,Ne,je){if(Se=+Se,Le=Le>>>0,!je){var Je=Math.pow(2,8*Ne-1);we(this,Se,Le,Ne,Je-1,-Je)}var ut=0,Et=1,wt=0;for(this[Le]=Se&255;++ut<Ne&&(Et*=256);)Se<0&&wt===0&&this[Le+ut-1]!==0&&(wt=1),this[Le+ut]=(Se/Et>>0)-wt&255;return Le+Ne},N.prototype.writeIntBE=function(Se,Le,Ne,je){if(Se=+Se,Le=Le>>>0,!je){var Je=Math.pow(2,8*Ne-1);we(this,Se,Le,Ne,Je-1,-Je)}var ut=Ne-1,Et=1,wt=0;for(this[Le+ut]=Se&255;--ut>=0&&(Et*=256);)Se<0&&wt===0&&this[Le+ut+1]!==0&&(wt=1),this[Le+ut]=(Se/Et>>0)-wt&255;return Le+Ne},N.prototype.writeInt8=function(Se,Le,Ne){return Se=+Se,Le=Le>>>0,Ne||we(this,Se,Le,1,127,-128),Se<0&&(Se=255+Se+1),this[Le]=Se&255,Le+1},N.prototype.writeInt16LE=function(Se,Le,Ne){return Se=+Se,Le=Le>>>0,Ne||we(this,Se,Le,2,32767,-32768),this[Le]=Se&255,this[Le+1]=Se>>>8,Le+2},N.prototype.writeInt16BE=function(Se,Le,Ne){return Se=+Se,Le=Le>>>0,Ne||we(this,Se,Le,2,32767,-32768),this[Le]=Se>>>8,this[Le+1]=Se&255,Le+2},N.prototype.writeInt32LE=function(Se,Le,Ne){return Se=+Se,Le=Le>>>0,Ne||we(this,Se,Le,4,2147483647,-2147483648),this[Le]=Se&255,this[Le+1]=Se>>>8,this[Le+2]=Se>>>16,this[Le+3]=Se>>>24,Le+4},N.prototype.writeInt32BE=function(Se,Le,Ne){return Se=+Se,Le=Le>>>0,Ne||we(this,Se,Le,4,2147483647,-2147483648),Se<0&&(Se=4294967295+Se+1),this[Le]=Se>>>24,this[Le+1]=Se>>>16,this[Le+2]=Se>>>8,this[Le+3]=Se&255,Le+4},N.prototype.writeBigInt64LE=qe(function(Se){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Be(this,Se,Le,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),N.prototype.writeBigInt64BE=qe(function(Se){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Ae(this,Se,Le,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Re(Ce,Se,Le,Ne,je,Je){if(Le+Ne>Ce.length)throw new RangeError("Index out of range");if(Le<0)throw new RangeError("Index out of range")}function be(Ce,Se,Le,Ne,je){return Se=+Se,Le=Le>>>0,je||Re(Ce,Se,Le,4),L.write(Ce,Se,Le,Ne,23,4),Le+4}N.prototype.writeFloatLE=function(Se,Le,Ne){return be(this,Se,Le,!0,Ne)},N.prototype.writeFloatBE=function(Se,Le,Ne){return be(this,Se,Le,!1,Ne)};function Pe(Ce,Se,Le,Ne,je){return Se=+Se,Le=Le>>>0,je||Re(Ce,Se,Le,8),L.write(Ce,Se,Le,Ne,52,8),Le+8}N.prototype.writeDoubleLE=function(Se,Le,Ne){return Pe(this,Se,Le,!0,Ne)},N.prototype.writeDoubleBE=function(Se,Le,Ne){return Pe(this,Se,Le,!1,Ne)},N.prototype.copy=function(Se,Le,Ne,je){if(!N.isBuffer(Se))throw new TypeError("argument should be a Buffer");if(Ne||(Ne=0),!je&&je!==0&&(je=this.length),Le>=Se.length&&(Le=Se.length),Le||(Le=0),je>0&&je<Ne&&(je=Ne),je===Ne||Se.length===0||this.length===0)return 0;if(Le<0)throw new RangeError("targetStart out of bounds");if(Ne<0||Ne>=this.length)throw new RangeError("Index out of range");if(je<0)throw new RangeError("sourceEnd out of bounds");je>this.length&&(je=this.length),Se.length-Le<je-Ne&&(je=Se.length-Le+Ne);var Je=je-Ne;return this===Se&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(Le,Ne,je):Uint8Array.prototype.set.call(Se,this.subarray(Ne,je),Le),Je},N.prototype.fill=function(Se,Le,Ne,je){if(typeof Se=="string"){if(typeof Le=="string"?(je=Le,Le=0,Ne=this.length):typeof Ne=="string"&&(je=Ne,Ne=this.length),je!==void 0&&typeof je!="string")throw new TypeError("encoding must be a string");if(typeof je=="string"&&!N.isEncoding(je))throw new TypeError("Unknown encoding: "+je);if(Se.length===1){var Je=Se.charCodeAt(0);(je==="utf8"&&Je<128||je==="latin1")&&(Se=Je)}}else typeof Se=="number"?Se=Se&255:typeof Se=="boolean"&&(Se=Number(Se));if(Le<0||this.length<Le||this.length<Ne)throw new RangeError("Out of range index");if(Ne<=Le)return this;Le=Le>>>0,Ne=Ne===void 0?this.length:Ne>>>0,Se||(Se=0);var ut;if(typeof Se=="number")for(ut=Le;ut<Ne;++ut)this[ut]=Se;else{var Et=N.isBuffer(Se)?Se:N.from(Se,je),wt=Et.length;if(wt===0)throw new TypeError('The value "'+Se+'" is invalid for argument "value"');for(ut=0;ut<Ne-Le;++ut)this[ut+Le]=Et[ut%wt]}return this};var Ke={};function ze(Ce,Se,Le){Ke[Ce]=function(Ne){b(Je,Ne);var je=y(Je);function Je(){var ut;return s(this,Je),ut=je.call(this),Object.defineProperty(w(ut),"message",{value:Se.apply(w(ut),arguments),writable:!0,configurable:!0}),ut.name="".concat(ut.name," [").concat(Ce,"]"),ut.stack,delete ut.name,ut}return f(Je,[{key:"code",get:function(){return Ce},set:function(Et){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Et,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(Ce,"]: ").concat(this.message)}}]),Je}(Le)}ze("ERR_BUFFER_OUT_OF_BOUNDS",function(Ce){return Ce?"".concat(Ce," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),ze("ERR_INVALID_ARG_TYPE",function(Ce,Se){return'The "'.concat(Ce,'" argument must be of type number. Received type ').concat(E(Se))},TypeError),ze("ERR_OUT_OF_RANGE",function(Ce,Se,Le){var Ne='The value of "'.concat(Ce,'" is out of range.'),je=Le;return Number.isInteger(Le)&&Math.abs(Le)>Math.pow(2,32)?je=Fe(String(Le)):typeof Le=="bigint"&&(je=String(Le),(Le>Math.pow(BigInt(2),BigInt(32))||Le<-Math.pow(BigInt(2),BigInt(32)))&&(je=Fe(je)),je+="n"),Ne+=" It must be ".concat(Se,". Received ").concat(je),Ne},RangeError);function Fe(Ce){for(var Se="",Le=Ce.length,Ne=Ce[0]==="-"?1:0;Le>=Ne+4;Le-=3)Se="_".concat(Ce.slice(Le-3,Le)).concat(Se);return"".concat(Ce.slice(0,Le)).concat(Se)}function We(Ce,Se,Le){ht(Se,"offset"),(Ce[Se]===void 0||Ce[Se+Le]===void 0)&&tt(Se,Ce.length-(Le+1))}function lt(Ce,Se,Le,Ne,je,Je){if(Ce>Le||Ce<Se){var ut=typeof Se=="bigint"?"n":"",Et;throw Se===0||Se===BigInt(0)?Et=">= 0".concat(ut," and < 2").concat(ut," ** ").concat((Je+1)*8).concat(ut):Et=">= -(2".concat(ut," ** ").concat((Je+1)*8-1).concat(ut,") and < 2 ** ")+"".concat((Je+1)*8-1).concat(ut),new Ke.ERR_OUT_OF_RANGE("value",Et,Ce)}We(Ne,je,Je)}function ht(Ce,Se){if(typeof Ce!="number")throw new Ke.ERR_INVALID_ARG_TYPE(Se,"number",Ce)}function tt(Ce,Se,Le){throw Math.floor(Ce)!==Ce?(ht(Ce,Le),new Ke.ERR_OUT_OF_RANGE("offset","an integer",Ce)):Se<0?new Ke.ERR_BUFFER_OUT_OF_BOUNDS:new Ke.ERR_OUT_OF_RANGE("offset",">= ".concat(0," and <= ").concat(Se),Ce)}var et=/[^+/0-9A-Za-z-_]/g;function pt(Ce){if(Ce=Ce.split("=")[0],Ce=Ce.trim().replace(et,""),Ce.length<2)return"";for(;Ce.length%4!==0;)Ce=Ce+"=";return Ce}function vt(Ce,Se){Se=Se||1/0;for(var Le,Ne=Ce.length,je=null,Je=[],ut=0;ut<Ne;++ut){if(Le=Ce.charCodeAt(ut),Le>55295&&Le<57344){if(!je){if(Le>56319){(Se-=3)>-1&&Je.push(239,191,189);continue}else if(ut+1===Ne){(Se-=3)>-1&&Je.push(239,191,189);continue}je=Le;continue}if(Le<56320){(Se-=3)>-1&&Je.push(239,191,189),je=Le;continue}Le=(je-55296<<10|Le-56320)+65536}else je&&(Se-=3)>-1&&Je.push(239,191,189);if(je=null,Le<128){if((Se-=1)<0)break;Je.push(Le)}else if(Le<2048){if((Se-=2)<0)break;Je.push(Le>>6|192,Le&63|128)}else if(Le<65536){if((Se-=3)<0)break;Je.push(Le>>12|224,Le>>6&63|128,Le&63|128)}else if(Le<1114112){if((Se-=4)<0)break;Je.push(Le>>18|240,Le>>12&63|128,Le>>6&63|128,Le&63|128)}else throw new Error("Invalid code point")}return Je}function _t(Ce){for(var Se=[],Le=0;Le<Ce.length;++Le)Se.push(Ce.charCodeAt(Le)&255);return Se}function bt(Ce,Se){for(var Le,Ne,je,Je=[],ut=0;ut<Ce.length&&!((Se-=2)<0);++ut)Le=Ce.charCodeAt(ut),Ne=Le>>8,je=Le%256,Je.push(je),Je.push(Ne);return Je}function Rt(Ce){return k.toByteArray(pt(Ce))}function ct(Ce,Se,Le,Ne){var je;for(je=0;je<Ne&&!(je+Le>=Se.length||je>=Ce.length);++je)Se[je+Le]=Ce[je];return je}function Ve(Ce,Se){return Ce instanceof Se||Ce!=null&&Ce.constructor!=null&&Ce.constructor.name!=null&&Ce.constructor.name===Se.name}function Qe(Ce){return Ce!==Ce}var rt=function(){for(var Ce="0123456789abcdef",Se=new Array(256),Le=0;Le<16;++Le)for(var Ne=Le*16,je=0;je<16;++je)Se[Ne+je]=Ce[Le]+Ce[je];return Se}();function qe(Ce){return typeof BigInt>"u"?He:Ce}function He(){throw new Error("BigInt not supported")}},2321:function(p){p.exports=d,p.exports.isMobile=d,p.exports.default=d;var _=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,c=/CrOS/,s=/android|ipad|playbook|silk/i;function d(f){f||(f={});var b=f.ua;if(!b&&typeof navigator<"u"&&(b=navigator.userAgent),b&&b.headers&&typeof b.headers["user-agent"]=="string"&&(b=b.headers["user-agent"]),typeof b!="string")return!1;var x=_.test(b)&&!c.test(b)||!!f.tablet&&s.test(b);return!x&&f.tablet&&f.featureDetect&&navigator&&navigator.maxTouchPoints>1&&b.indexOf("Macintosh")!==-1&&b.indexOf("Safari")!==-1&&(x=!0),x}},3910:function(p,_){_.byteLength=C,_.toByteArray=R,_.fromByteArray=k;for(var c=[],s=[],d=typeof Uint8Array<"u"?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b=0,x=f.length;b<x;++b)c[b]=f[b],s[f.charCodeAt(b)]=b;s[45]=62,s[95]=63;function y(L){var I=L.length;if(I%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var P=L.indexOf("=");P===-1&&(P=I);var M=P===I?0:4-P%4;return[P,M]}function C(L){var I=y(L),P=I[0],M=I[1];return(P+M)*3/4-M}function w(L,I,P){return(I+P)*3/4-P}function R(L){var I,P=y(L),M=P[0],F=P[1],N=new d(w(L,M,F)),T=0,D=F>0?M-4:M,O;for(O=0;O<D;O+=4)I=s[L.charCodeAt(O)]<<18|s[L.charCodeAt(O+1)]<<12|s[L.charCodeAt(O+2)]<<6|s[L.charCodeAt(O+3)],N[T++]=I>>16&255,N[T++]=I>>8&255,N[T++]=I&255;return F===2&&(I=s[L.charCodeAt(O)]<<2|s[L.charCodeAt(O+1)]>>4,N[T++]=I&255),F===1&&(I=s[L.charCodeAt(O)]<<10|s[L.charCodeAt(O+1)]<<4|s[L.charCodeAt(O+2)]>>2,N[T++]=I>>8&255,N[T++]=I&255),N}function A(L){return c[L>>18&63]+c[L>>12&63]+c[L>>6&63]+c[L&63]}function E(L,I,P){for(var M,F=[],N=I;N<P;N+=3)M=(L[N]<<16&16711680)+(L[N+1]<<8&65280)+(L[N+2]&255),F.push(A(M));return F.join("")}function k(L){for(var I,P=L.length,M=P%3,F=[],N=16383,T=0,D=P-M;T<D;T+=N)F.push(E(L,T,T+N>D?D:T+N));return M===1?(I=L[P-1],F.push(c[I>>2]+c[I<<4&63]+"==")):M===2&&(I=(L[P-2]<<8)+L[P-1],F.push(c[I>>10]+c[I>>4&63]+c[I<<2&63]+"=")),F.join("")}},3187:function(p,_){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */_.read=function(c,s,d,f,b){var x,y,C=b*8-f-1,w=(1<<C)-1,R=w>>1,A=-7,E=d?b-1:0,k=d?-1:1,L=c[s+E];for(E+=k,x=L&(1<<-A)-1,L>>=-A,A+=C;A>0;x=x*256+c[s+E],E+=k,A-=8);for(y=x&(1<<-A)-1,x>>=-A,A+=f;A>0;y=y*256+c[s+E],E+=k,A-=8);if(x===0)x=1-R;else{if(x===w)return y?NaN:(L?-1:1)*(1/0);y=y+Math.pow(2,f),x=x-R}return(L?-1:1)*y*Math.pow(2,x-f)},_.write=function(c,s,d,f,b,x){var y,C,w,R=x*8-b-1,A=(1<<R)-1,E=A>>1,k=b===23?Math.pow(2,-24)-Math.pow(2,-77):0,L=f?0:x-1,I=f?1:-1,P=s<0||s===0&&1/s<0?1:0;for(s=Math.abs(s),isNaN(s)||s===1/0?(C=isNaN(s)?1:0,y=A):(y=Math.floor(Math.log(s)/Math.LN2),s*(w=Math.pow(2,-y))<1&&(y--,w*=2),y+E>=1?s+=k/w:s+=k*Math.pow(2,1-E),s*w>=2&&(y++,w/=2),y+E>=A?(C=0,y=A):y+E>=1?(C=(s*w-1)*Math.pow(2,b),y=y+E):(C=s*Math.pow(2,E-1)*Math.pow(2,b),y=0));b>=8;c[d+L]=C&255,L+=I,C/=256,b-=8);for(y=y<<b|C,R+=b;R>0;c[d+L]=y&255,L+=I,y/=256,R-=8);c[d+L-I]|=P*128}},1152:function(p,_,c){p.exports=y;var s=c(3440),d=c(7774),f=c(9298);function b(C,w){this._controllerNames=Object.keys(C),this._controllerList=this._controllerNames.map(function(R){return C[R]}),this._mode=w,this._active=C[w],this._active||(this._mode="turntable",this._active=C.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var x=b.prototype;x.flush=function(C){for(var w=this._controllerList,R=0;R<w.length;++R)w[R].flush(C)},x.idle=function(C){for(var w=this._controllerList,R=0;R<w.length;++R)w[R].idle(C)},x.lookAt=function(C,w,R,A){for(var E=this._controllerList,k=0;k<E.length;++k)E[k].lookAt(C,w,R,A)},x.rotate=function(C,w,R,A){for(var E=this._controllerList,k=0;k<E.length;++k)E[k].rotate(C,w,R,A)},x.pan=function(C,w,R,A){for(var E=this._controllerList,k=0;k<E.length;++k)E[k].pan(C,w,R,A)},x.translate=function(C,w,R,A){for(var E=this._controllerList,k=0;k<E.length;++k)E[k].translate(C,w,R,A)},x.setMatrix=function(C,w){for(var R=this._controllerList,A=0;A<R.length;++A)R[A].setMatrix(C,w)},x.setDistanceLimits=function(C,w){for(var R=this._controllerList,A=0;A<R.length;++A)R[A].setDistanceLimits(C,w)},x.setDistance=function(C,w){for(var R=this._controllerList,A=0;A<R.length;++A)R[A].setDistance(C,w)},x.recalcMatrix=function(C){this._active.recalcMatrix(C)},x.getDistance=function(C){return this._active.getDistance(C)},x.getDistanceLimits=function(C){return this._active.getDistanceLimits(C)},x.lastT=function(){return this._active.lastT()},x.setMode=function(C){if(C!==this._mode){var w=this._controllerNames.indexOf(C);if(!(w<0)){var R=this._active,A=this._controllerList[w],E=Math.max(R.lastT(),A.lastT());R.recalcMatrix(E),A.setMatrix(E,R.computedMatrix),this._active=A,this._mode=C,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}}},x.getMode=function(){return this._mode};function y(C){C=C||{};var w=C.eye||[0,0,1],R=C.center||[0,0,0],A=C.up||[0,1,0],E=C.distanceLimits||[0,1/0],k=C.mode||"turntable",L=s(),I=d(),P=f();return L.setDistanceLimits(E[0],E[1]),L.lookAt(0,w,R,A),I.setDistanceLimits(E[0],E[1]),I.lookAt(0,w,R,A),P.setDistanceLimits(E[0],E[1]),P.lookAt(0,w,R,A),new b({turntable:L,orbit:I,matrix:P},k)}},8126:function(p,_,c){var s=typeof WeakMap>"u"?c(5346):WeakMap,d=c(5827),f=c(2944),b=new s;function x(y){var C=b.get(y),w=C&&(C._triangleBuffer.handle||C._triangleBuffer.buffer);if(!w||!y.isBuffer(w)){var R=d(y,new Float32Array([-1,-1,-1,4,4,-1]));C=f(y,[{buffer:R,type:y.FLOAT,size:2}]),C._triangleBuffer=R,b.set(y,C)}C.bind(),y.drawArrays(y.TRIANGLES,0,3),C.unbind()}p.exports=x},8008:function(p,_,c){var s=c(4930);p.exports=d;function d(f,b,x){b=typeof b=="number"?b:1,x=x||": ";var y=f.split(/\r?\n/),C=String(y.length+b-1).length;return y.map(function(w,R){var A=R+b,E=String(A).length,k=s(A,C-E);return k+x+w}).join(`
`)}},2153:function(p,_,c){p.exports=f;var s=c(417);function d(b,x){for(var y=new Array(x+1),C=0;C<b.length;++C)y[C]=b[C];for(var C=0;C<=b.length;++C){for(var w=b.length;w<=x;++w){for(var R=new Array(x),A=0;A<x;++A)R[A]=Math.pow(w+1-C,A);y[w]=R}var E=s.apply(void 0,y);if(E)return!0}return!1}function f(b){var x=b.length;if(x===0)return[];if(x===1)return[0];for(var y=b[0].length,C=[b[0]],w=[0],R=1;R<x;++R){if(C.push(b[R]),!d(C,y)){C.pop();continue}if(w.push(R),w.length===y+1)return w}return w}},4653:function(p,_,c){p.exports=f;var s=c(4419),d=c(1778);function f(b,x){return s(x).filter(function(y){for(var C=new Array(y.length),w=0;w<y.length;++w)C[w]=x[y[w]];return d(C)*b<1})}},2350:function(p,_,c){p.exports=f;var s=c(4653),d=c(8691);function f(b,x){return d(s(b,x))}},7896:function(p){p.exports=function(c){return atob(c)}},957:function(p,_,c){p.exports=f;var s=c(6606);function d(b){for(var x=0,y=0;y<b.length;++y)x+=b[y];return x}function f(b,x){for(var y=x.length,C=new Array(y+1),w=0;w<y;++w){for(var R=new Array(y+1),A=0;A<=y;++A)R[A]=b[A][w];C[w]=R}C[y]=new Array(y+1);for(var w=0;w<=y;++w)C[y][w]=1;for(var E=new Array(y+1),w=0;w<y;++w)E[w]=x[w];E[y]=1;var k=s(C,E),L=d(k[y+1]);L===0&&(L=1);for(var I=new Array(y+1),w=0;w<=y;++w)I[w]=d(k[w])/L;return I}},1539:function(p,_,c){var s=c(8524);p.exports=d;function d(f,b){return s(f[0].mul(b[1]).add(b[0].mul(f[1])),f[1].mul(b[1]))}},8846:function(p){p.exports=_;function _(c,s){return c[0].mul(s[1]).cmp(s[0].mul(c[1]))}},9189:function(p,_,c){var s=c(8524);p.exports=d;function d(f,b){return s(f[0].mul(b[1]),f[1].mul(b[0]))}},5125:function(p,_,c){var s=c(234),d=c(3218),f=c(5514),b=c(2813),x=c(8524),y=c(9189);p.exports=C;function C(w,R){if(s(w))return R?y(w,C(R)):[w[0].clone(),w[1].clone()];var A=0,E,k;if(d(w))E=w.clone();else if(typeof w=="string")E=b(w);else{if(w===0)return[f(0),f(1)];if(w===Math.floor(w))E=f(w);else{for(;w!==Math.floor(w);)w=w*Math.pow(2,256),A-=256;E=f(w)}}if(s(R))E.mul(R[1]),k=R[0].clone();else if(d(R))k=R.clone();else if(typeof R=="string")k=b(R);else if(!R)k=f(1);else if(R===Math.floor(R))k=f(R);else{for(;R!==Math.floor(R);)R=R*Math.pow(2,256),A+=256;k=f(R)}return A>0?E=E.ushln(A):A<0&&(k=k.ushln(-A)),x(E,k)}},234:function(p,_,c){var s=c(3218);p.exports=d;function d(f){return Array.isArray(f)&&f.length===2&&s(f[0])&&s(f[1])}},4275:function(p,_,c){var s=c(1928);p.exports=d;function d(f){return f.cmp(new s(0))}},9958:function(p,_,c){var s=c(4275);p.exports=d;function d(f){var b=f.length,x=f.words,y=0;if(b===1)y=x[0];else if(b===2)y=x[0]+x[1]*67108864;else for(var C=0;C<b;C++){var w=x[C];y+=w*Math.pow(67108864,C)}return s(f)*y}},1112:function(p,_,c){var s=c(8362),d=c(2288).countTrailingZeros;p.exports=f;function f(b){var x=d(s.lo(b));if(x<32)return x;var y=d(s.hi(b));return y>20?52:y+32}},3218:function(p,_,c){c(1928),p.exports=s;function s(d){return d&&typeof d=="object"&&!!d.words}},5514:function(p,_,c){var s=c(1928),d=c(8362);p.exports=f;function f(b){var x=d.exponent(b);return x<52?new s(b):new s(b*Math.pow(2,52-x)).ushln(x-52)}},8524:function(p,_,c){var s=c(5514),d=c(4275);p.exports=f;function f(b,x){var y=d(b),C=d(x);if(y===0)return[s(0),s(1)];if(C===0)return[s(0),s(0)];C<0&&(b=b.neg(),x=x.neg());var w=b.gcd(x);return w.cmpn(1)?[b.div(w),x.div(w)]:[b,x]}},2813:function(p,_,c){var s=c(1928);p.exports=d;function d(f){return new s(f)}},3962:function(p,_,c){var s=c(8524);p.exports=d;function d(f,b){return s(f[0].mul(b[0]),f[1].mul(b[1]))}},4951:function(p,_,c){var s=c(4275);p.exports=d;function d(f){return s(f[0])*s(f[1])}},4354:function(p,_,c){var s=c(8524);p.exports=d;function d(f,b){return s(f[0].mul(b[1]).sub(f[1].mul(b[0])),f[1].mul(b[1]))}},7999:function(p,_,c){var s=c(9958),d=c(1112);p.exports=f;function f(b){var x=b[0],y=b[1];if(x.cmpn(0)===0)return 0;var C=x.abs().divmod(y.abs()),w=C.div,R=s(w),A=C.mod,E=x.negative!==y.negative?-1:1;if(A.cmpn(0)===0)return E*R;if(R){var k=d(R)+4,L=s(A.ushln(k).divRound(y));return E*(R+L*Math.pow(2,-k))}else{var I=y.bitLength()-A.bitLength()+53,L=s(A.ushln(I).divRound(y));return I<1023?E*L*Math.pow(2,-I):(L*=Math.pow(2,-1023),E*L*Math.pow(2,1023-I))}}},5070:function(p){function _(x,y,C,w,R){for(var A=R+1;w<=R;){var E=w+R>>>1,k=x[E],L=C!==void 0?C(k,y):k-y;L>=0?(A=E,R=E-1):w=E+1}return A}function c(x,y,C,w,R){for(var A=R+1;w<=R;){var E=w+R>>>1,k=x[E],L=C!==void 0?C(k,y):k-y;L>0?(A=E,R=E-1):w=E+1}return A}function s(x,y,C,w,R){for(var A=w-1;w<=R;){var E=w+R>>>1,k=x[E],L=C!==void 0?C(k,y):k-y;L<0?(A=E,w=E+1):R=E-1}return A}function d(x,y,C,w,R){for(var A=w-1;w<=R;){var E=w+R>>>1,k=x[E],L=C!==void 0?C(k,y):k-y;L<=0?(A=E,w=E+1):R=E-1}return A}function f(x,y,C,w,R){for(;w<=R;){var A=w+R>>>1,E=x[A],k=C!==void 0?C(E,y):E-y;if(k===0)return A;k<=0?w=A+1:R=A-1}return-1}function b(x,y,C,w,R,A){return typeof C=="function"?A(x,y,C,w===void 0?0:w|0,R===void 0?x.length-1:R|0):A(x,y,void 0,C===void 0?0:C|0,w===void 0?x.length-1:w|0)}p.exports={ge:function(x,y,C,w,R){return b(x,y,C,w,R,_)},gt:function(x,y,C,w,R){return b(x,y,C,w,R,c)},lt:function(x,y,C,w,R){return b(x,y,C,w,R,s)},le:function(x,y,C,w,R){return b(x,y,C,w,R,d)},eq:function(x,y,C,w,R){return b(x,y,C,w,R,f)}}},2288:function(p,_){"use restrict";var c=32;_.INT_BITS=c,_.INT_MAX=2147483647,_.INT_MIN=-1<<c-1,_.sign=function(f){return(f>0)-(f<0)},_.abs=function(f){var b=f>>c-1;return(f^b)-b},_.min=function(f,b){return b^(f^b)&-(f<b)},_.max=function(f,b){return f^(f^b)&-(f<b)},_.isPow2=function(f){return!(f&f-1)&&!!f},_.log2=function(f){var b,x;return b=(f>65535)<<4,f>>>=b,x=(f>255)<<3,f>>>=x,b|=x,x=(f>15)<<2,f>>>=x,b|=x,x=(f>3)<<1,f>>>=x,b|=x,b|f>>1},_.log10=function(f){return f>=1e9?9:f>=1e8?8:f>=1e7?7:f>=1e6?6:f>=1e5?5:f>=1e4?4:f>=1e3?3:f>=100?2:f>=10?1:0},_.popCount=function(f){return f=f-(f>>>1&1431655765),f=(f&858993459)+(f>>>2&858993459),(f+(f>>>4)&252645135)*16843009>>>24};function s(f){var b=32;return f&=-f,f&&b--,f&65535&&(b-=16),f&16711935&&(b-=8),f&252645135&&(b-=4),f&858993459&&(b-=2),f&1431655765&&(b-=1),b}_.countTrailingZeros=s,_.nextPow2=function(f){return f+=f===0,--f,f|=f>>>1,f|=f>>>2,f|=f>>>4,f|=f>>>8,f|=f>>>16,f+1},_.prevPow2=function(f){return f|=f>>>1,f|=f>>>2,f|=f>>>4,f|=f>>>8,f|=f>>>16,f-(f>>>1)},_.parity=function(f){return f^=f>>>16,f^=f>>>8,f^=f>>>4,f&=15,27030>>>f&1};var d=new Array(256);(function(f){for(var b=0;b<256;++b){var x=b,y=b,C=7;for(x>>>=1;x;x>>>=1)y<<=1,y|=x&1,--C;f[b]=y<<C&255}})(d),_.reverse=function(f){return d[f&255]<<24|d[f>>>8&255]<<16|d[f>>>16&255]<<8|d[f>>>24&255]},_.interleave2=function(f,b){return f&=65535,f=(f|f<<8)&16711935,f=(f|f<<4)&252645135,f=(f|f<<2)&858993459,f=(f|f<<1)&1431655765,b&=65535,b=(b|b<<8)&16711935,b=(b|b<<4)&252645135,b=(b|b<<2)&858993459,b=(b|b<<1)&1431655765,f|b<<1},_.deinterleave2=function(f,b){return f=f>>>b&1431655765,f=(f|f>>>1)&858993459,f=(f|f>>>2)&252645135,f=(f|f>>>4)&16711935,f=(f|f>>>16)&65535,f<<16>>16},_.interleave3=function(f,b,x){return f&=1023,f=(f|f<<16)&4278190335,f=(f|f<<8)&251719695,f=(f|f<<4)&3272356035,f=(f|f<<2)&1227133513,b&=1023,b=(b|b<<16)&4278190335,b=(b|b<<8)&251719695,b=(b|b<<4)&3272356035,b=(b|b<<2)&1227133513,f|=b<<1,x&=1023,x=(x|x<<16)&4278190335,x=(x|x<<8)&251719695,x=(x|x<<4)&3272356035,x=(x|x<<2)&1227133513,f|x<<2},_.deinterleave3=function(f,b){return f=f>>>b&1227133513,f=(f|f>>>2)&3272356035,f=(f|f>>>4)&251719695,f=(f|f>>>8)&4278190335,f=(f|f>>>16)&1023,f<<22>>22},_.nextCombination=function(f){var b=f|f-1;return b+1|(~b&-~b)-1>>>s(f)+1}},1928:function(p,_,c){p=c.nmd(p),function(s,d){function f(j,G){if(!j)throw new Error(G||"Assertion failed")}function b(j,G){j.super_=G;var W=function(){};W.prototype=G.prototype,j.prototype=new W,j.prototype.constructor=j}function x(j,G,W){if(x.isBN(j))return j;this.negative=0,this.words=null,this.length=0,this.red=null,j!==null&&((G==="le"||G==="be")&&(W=G,G=10),this._init(j||0,G||10,W||"be"))}typeof s=="object"?s.exports=x:d.BN=x,x.BN=x,x.wordSize=26;var y;try{typeof window<"u"&&typeof window.Buffer<"u"?y=window.Buffer:y=c(6601).Buffer}catch{}x.isBN=function(G){return G instanceof x?!0:G!==null&&typeof G=="object"&&G.constructor.wordSize===x.wordSize&&Array.isArray(G.words)},x.max=function(G,W){return G.cmp(W)>0?G:W},x.min=function(G,W){return G.cmp(W)<0?G:W},x.prototype._init=function(G,W,X){if(typeof G=="number")return this._initNumber(G,W,X);if(typeof G=="object")return this._initArray(G,W,X);W==="hex"&&(W=16),f(W===(W|0)&&W>=2&&W<=36),G=G.toString().replace(/\s+/g,"");var Q=0;G[0]==="-"&&(Q++,this.negative=1),Q<G.length&&(W===16?this._parseHex(G,Q,X):(this._parseBase(G,W,Q),X==="le"&&this._initArray(this.toArray(),W,X)))},x.prototype._initNumber=function(G,W,X){G<0&&(this.negative=1,G=-G),G<67108864?(this.words=[G&67108863],this.length=1):G<4503599627370496?(this.words=[G&67108863,G/67108864&67108863],this.length=2):(f(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3),X==="le"&&this._initArray(this.toArray(),W,X)},x.prototype._initArray=function(G,W,X){if(f(typeof G.length=="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=new Array(this.length);for(var Q=0;Q<this.length;Q++)this.words[Q]=0;var ae,ie,he=0;if(X==="be")for(Q=G.length-1,ae=0;Q>=0;Q-=3)ie=G[Q]|G[Q-1]<<8|G[Q-2]<<16,this.words[ae]|=ie<<he&67108863,this.words[ae+1]=ie>>>26-he&67108863,he+=24,he>=26&&(he-=26,ae++);else if(X==="le")for(Q=0,ae=0;Q<G.length;Q+=3)ie=G[Q]|G[Q+1]<<8|G[Q+2]<<16,this.words[ae]|=ie<<he&67108863,this.words[ae+1]=ie>>>26-he&67108863,he+=24,he>=26&&(he-=26,ae++);return this.strip()};function C(j,G){var W=j.charCodeAt(G);return W>=65&&W<=70?W-55:W>=97&&W<=102?W-87:W-48&15}function w(j,G,W){var X=C(j,W);return W-1>=G&&(X|=C(j,W-1)<<4),X}x.prototype._parseHex=function(G,W,X){this.length=Math.ceil((G.length-W)/6),this.words=new Array(this.length);for(var Q=0;Q<this.length;Q++)this.words[Q]=0;var ae=0,ie=0,he;if(X==="be")for(Q=G.length-1;Q>=W;Q-=2)he=w(G,W,Q)<<ae,this.words[ie]|=he&67108863,ae>=18?(ae-=18,ie+=1,this.words[ie]|=he>>>26):ae+=8;else{var J=G.length-W;for(Q=J%2===0?W+1:W;Q<G.length;Q+=2)he=w(G,W,Q)<<ae,this.words[ie]|=he&67108863,ae>=18?(ae-=18,ie+=1,this.words[ie]|=he>>>26):ae+=8}this.strip()};function R(j,G,W,X){for(var Q=0,ae=Math.min(j.length,W),ie=G;ie<ae;ie++){var he=j.charCodeAt(ie)-48;Q*=X,he>=49?Q+=he-49+10:he>=17?Q+=he-17+10:Q+=he}return Q}x.prototype._parseBase=function(G,W,X){this.words=[0],this.length=1;for(var Q=0,ae=1;ae<=67108863;ae*=W)Q++;Q--,ae=ae/W|0;for(var ie=G.length-X,he=ie%Q,J=Math.min(ie,ie-he)+X,Z=0,le=X;le<J;le+=Q)Z=R(G,le,le+Q,W),this.imuln(ae),this.words[0]+Z<67108864?this.words[0]+=Z:this._iaddn(Z);if(he!==0){var K=1;for(Z=R(G,le,G.length,W),le=0;le<he;le++)K*=W;this.imuln(K),this.words[0]+Z<67108864?this.words[0]+=Z:this._iaddn(Z)}this.strip()},x.prototype.copy=function(G){G.words=new Array(this.length);for(var W=0;W<this.length;W++)G.words[W]=this.words[W];G.length=this.length,G.negative=this.negative,G.red=this.red},x.prototype.clone=function(){var G=new x(null);return this.copy(G),G},x.prototype._expand=function(G){for(;this.length<G;)this.words[this.length++]=0;return this},x.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},x.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},x.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var A=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],E=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],k=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];x.prototype.toString=function(G,W){G=G||10,W=W|0||1;var X;if(G===16||G==="hex"){X="";for(var Q=0,ae=0,ie=0;ie<this.length;ie++){var he=this.words[ie],J=((he<<Q|ae)&16777215).toString(16);ae=he>>>24-Q&16777215,ae!==0||ie!==this.length-1?X=A[6-J.length]+J+X:X=J+X,Q+=2,Q>=26&&(Q-=26,ie--)}for(ae!==0&&(X=ae.toString(16)+X);X.length%W!==0;)X="0"+X;return this.negative!==0&&(X="-"+X),X}if(G===(G|0)&&G>=2&&G<=36){var Z=E[G],le=k[G];X="";var K=this.clone();for(K.negative=0;!K.isZero();){var te=K.modn(le).toString(G);K=K.idivn(le),K.isZero()?X=te+X:X=A[Z-te.length]+te+X}for(this.isZero()&&(X="0"+X);X.length%W!==0;)X="0"+X;return this.negative!==0&&(X="-"+X),X}f(!1,"Base should be between 2 and 36")},x.prototype.toNumber=function(){var G=this.words[0];return this.length===2?G+=this.words[1]*67108864:this.length===3&&this.words[2]===1?G+=4503599627370496+this.words[1]*67108864:this.length>2&&f(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-G:G},x.prototype.toJSON=function(){return this.toString(16)},x.prototype.toBuffer=function(G,W){return f(typeof y<"u"),this.toArrayLike(y,G,W)},x.prototype.toArray=function(G,W){return this.toArrayLike(Array,G,W)},x.prototype.toArrayLike=function(G,W,X){var Q=this.byteLength(),ae=X||Math.max(1,Q);f(Q<=ae,"byte array longer than desired length"),f(ae>0,"Requested array length <= 0"),this.strip();var ie=W==="le",he=new G(ae),J,Z,le=this.clone();if(ie){for(Z=0;!le.isZero();Z++)J=le.andln(255),le.iushrn(8),he[Z]=J;for(;Z<ae;Z++)he[Z]=0}else{for(Z=0;Z<ae-Q;Z++)he[Z]=0;for(Z=0;!le.isZero();Z++)J=le.andln(255),le.iushrn(8),he[ae-Z-1]=J}return he},Math.clz32?x.prototype._countBits=function(G){return 32-Math.clz32(G)}:x.prototype._countBits=function(G){var W=G,X=0;return W>=4096&&(X+=13,W>>>=13),W>=64&&(X+=7,W>>>=7),W>=8&&(X+=4,W>>>=4),W>=2&&(X+=2,W>>>=2),X+W},x.prototype._zeroBits=function(G){if(G===0)return 26;var W=G,X=0;return W&8191||(X+=13,W>>>=13),W&127||(X+=7,W>>>=7),W&15||(X+=4,W>>>=4),W&3||(X+=2,W>>>=2),W&1||X++,X},x.prototype.bitLength=function(){var G=this.words[this.length-1],W=this._countBits(G);return(this.length-1)*26+W};function L(j){for(var G=new Array(j.bitLength()),W=0;W<G.length;W++){var X=W/26|0,Q=W%26;G[W]=(j.words[X]&1<<Q)>>>Q}return G}x.prototype.zeroBits=function(){if(this.isZero())return 0;for(var G=0,W=0;W<this.length;W++){var X=this._zeroBits(this.words[W]);if(G+=X,X!==26)break}return G},x.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},x.prototype.toTwos=function(G){return this.negative!==0?this.abs().inotn(G).iaddn(1):this.clone()},x.prototype.fromTwos=function(G){return this.testn(G-1)?this.notn(G).iaddn(1).ineg():this.clone()},x.prototype.isNeg=function(){return this.negative!==0},x.prototype.neg=function(){return this.clone().ineg()},x.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},x.prototype.iuor=function(G){for(;this.length<G.length;)this.words[this.length++]=0;for(var W=0;W<G.length;W++)this.words[W]=this.words[W]|G.words[W];return this.strip()},x.prototype.ior=function(G){return f((this.negative|G.negative)===0),this.iuor(G)},x.prototype.or=function(G){return this.length>G.length?this.clone().ior(G):G.clone().ior(this)},x.prototype.uor=function(G){return this.length>G.length?this.clone().iuor(G):G.clone().iuor(this)},x.prototype.iuand=function(G){var W;this.length>G.length?W=G:W=this;for(var X=0;X<W.length;X++)this.words[X]=this.words[X]&G.words[X];return this.length=W.length,this.strip()},x.prototype.iand=function(G){return f((this.negative|G.negative)===0),this.iuand(G)},x.prototype.and=function(G){return this.length>G.length?this.clone().iand(G):G.clone().iand(this)},x.prototype.uand=function(G){return this.length>G.length?this.clone().iuand(G):G.clone().iuand(this)},x.prototype.iuxor=function(G){var W,X;this.length>G.length?(W=this,X=G):(W=G,X=this);for(var Q=0;Q<X.length;Q++)this.words[Q]=W.words[Q]^X.words[Q];if(this!==W)for(;Q<W.length;Q++)this.words[Q]=W.words[Q];return this.length=W.length,this.strip()},x.prototype.ixor=function(G){return f((this.negative|G.negative)===0),this.iuxor(G)},x.prototype.xor=function(G){return this.length>G.length?this.clone().ixor(G):G.clone().ixor(this)},x.prototype.uxor=function(G){return this.length>G.length?this.clone().iuxor(G):G.clone().iuxor(this)},x.prototype.inotn=function(G){f(typeof G=="number"&&G>=0);var W=Math.ceil(G/26)|0,X=G%26;this._expand(W),X>0&&W--;for(var Q=0;Q<W;Q++)this.words[Q]=~this.words[Q]&67108863;return X>0&&(this.words[Q]=~this.words[Q]&67108863>>26-X),this.strip()},x.prototype.notn=function(G){return this.clone().inotn(G)},x.prototype.setn=function(G,W){f(typeof G=="number"&&G>=0);var X=G/26|0,Q=G%26;return this._expand(X+1),W?this.words[X]=this.words[X]|1<<Q:this.words[X]=this.words[X]&~(1<<Q),this.strip()},x.prototype.iadd=function(G){var W;if(this.negative!==0&&G.negative===0)return this.negative=0,W=this.isub(G),this.negative^=1,this._normSign();if(this.negative===0&&G.negative!==0)return G.negative=0,W=this.isub(G),G.negative=1,W._normSign();var X,Q;this.length>G.length?(X=this,Q=G):(X=G,Q=this);for(var ae=0,ie=0;ie<Q.length;ie++)W=(X.words[ie]|0)+(Q.words[ie]|0)+ae,this.words[ie]=W&67108863,ae=W>>>26;for(;ae!==0&&ie<X.length;ie++)W=(X.words[ie]|0)+ae,this.words[ie]=W&67108863,ae=W>>>26;if(this.length=X.length,ae!==0)this.words[this.length]=ae,this.length++;else if(X!==this)for(;ie<X.length;ie++)this.words[ie]=X.words[ie];return this},x.prototype.add=function(G){var W;return G.negative!==0&&this.negative===0?(G.negative=0,W=this.sub(G),G.negative^=1,W):G.negative===0&&this.negative!==0?(this.negative=0,W=G.sub(this),this.negative=1,W):this.length>G.length?this.clone().iadd(G):G.clone().iadd(this)},x.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var W=this.iadd(G);return G.negative=1,W._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var X=this.cmp(G);if(X===0)return this.negative=0,this.length=1,this.words[0]=0,this;var Q,ae;X>0?(Q=this,ae=G):(Q=G,ae=this);for(var ie=0,he=0;he<ae.length;he++)W=(Q.words[he]|0)-(ae.words[he]|0)+ie,ie=W>>26,this.words[he]=W&67108863;for(;ie!==0&&he<Q.length;he++)W=(Q.words[he]|0)+ie,ie=W>>26,this.words[he]=W&67108863;if(ie===0&&he<Q.length&&Q!==this)for(;he<Q.length;he++)this.words[he]=Q.words[he];return this.length=Math.max(this.length,he),Q!==this&&(this.negative=1),this.strip()},x.prototype.sub=function(G){return this.clone().isub(G)};function I(j,G,W){W.negative=G.negative^j.negative;var X=j.length+G.length|0;W.length=X,X=X-1|0;var Q=j.words[0]|0,ae=G.words[0]|0,ie=Q*ae,he=ie&67108863,J=ie/67108864|0;W.words[0]=he;for(var Z=1;Z<X;Z++){for(var le=J>>>26,K=J&67108863,te=Math.min(Z,G.length-1),ce=Math.max(0,Z-j.length+1);ce<=te;ce++){var re=Z-ce|0;Q=j.words[re]|0,ae=G.words[ce]|0,ie=Q*ae+K,le+=ie/67108864|0,K=ie&67108863}W.words[Z]=K|0,J=le|0}return J!==0?W.words[Z]=J|0:W.length--,W.strip()}var P=function(G,W,X){var Q=G.words,ae=W.words,ie=X.words,he=0,J,Z,le,K=Q[0]|0,te=K&8191,ce=K>>>13,re=Q[1]|0,ee=re&8191,de=re>>>13,oe=Q[2]|0,fe=oe&8191,me=oe>>>13,Te=Q[3]|0,we=Te&8191,Be=Te>>>13,Ae=Q[4]|0,Re=Ae&8191,be=Ae>>>13,Pe=Q[5]|0,Ke=Pe&8191,ze=Pe>>>13,Fe=Q[6]|0,We=Fe&8191,lt=Fe>>>13,ht=Q[7]|0,tt=ht&8191,et=ht>>>13,pt=Q[8]|0,vt=pt&8191,_t=pt>>>13,bt=Q[9]|0,Rt=bt&8191,ct=bt>>>13,Ve=ae[0]|0,Qe=Ve&8191,rt=Ve>>>13,qe=ae[1]|0,He=qe&8191,Ce=qe>>>13,Se=ae[2]|0,Le=Se&8191,Ne=Se>>>13,je=ae[3]|0,Je=je&8191,ut=je>>>13,Et=ae[4]|0,wt=Et&8191,nr=Et>>>13,ir=ae[5]|0,It=ir&8191,Gt=ir>>>13,cr=ae[6]|0,Pr=cr&8191,Ct=cr>>>13,or=ae[7]|0,ur=or&8191,Ir=or>>>13,yr=ae[8]|0,At=yr&8191,mt=yr>>>13,Mt=ae[9]|0,Pt=Mt&8191,Ht=Mt>>>13;X.negative=G.negative^W.negative,X.length=19,J=Math.imul(te,Qe),Z=Math.imul(te,rt),Z=Z+Math.imul(ce,Qe)|0,le=Math.imul(ce,rt);var Ut=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,J=Math.imul(ee,Qe),Z=Math.imul(ee,rt),Z=Z+Math.imul(de,Qe)|0,le=Math.imul(de,rt),J=J+Math.imul(te,He)|0,Z=Z+Math.imul(te,Ce)|0,Z=Z+Math.imul(ce,He)|0,le=le+Math.imul(ce,Ce)|0;var Zt=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,J=Math.imul(fe,Qe),Z=Math.imul(fe,rt),Z=Z+Math.imul(me,Qe)|0,le=Math.imul(me,rt),J=J+Math.imul(ee,He)|0,Z=Z+Math.imul(ee,Ce)|0,Z=Z+Math.imul(de,He)|0,le=le+Math.imul(de,Ce)|0,J=J+Math.imul(te,Le)|0,Z=Z+Math.imul(te,Ne)|0,Z=Z+Math.imul(ce,Le)|0,le=le+Math.imul(ce,Ne)|0;var Xt=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,J=Math.imul(we,Qe),Z=Math.imul(we,rt),Z=Z+Math.imul(Be,Qe)|0,le=Math.imul(Be,rt),J=J+Math.imul(fe,He)|0,Z=Z+Math.imul(fe,Ce)|0,Z=Z+Math.imul(me,He)|0,le=le+Math.imul(me,Ce)|0,J=J+Math.imul(ee,Le)|0,Z=Z+Math.imul(ee,Ne)|0,Z=Z+Math.imul(de,Le)|0,le=le+Math.imul(de,Ne)|0,J=J+Math.imul(te,Je)|0,Z=Z+Math.imul(te,ut)|0,Z=Z+Math.imul(ce,Je)|0,le=le+Math.imul(ce,ut)|0;var sr=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(sr>>>26)|0,sr&=67108863,J=Math.imul(Re,Qe),Z=Math.imul(Re,rt),Z=Z+Math.imul(be,Qe)|0,le=Math.imul(be,rt),J=J+Math.imul(we,He)|0,Z=Z+Math.imul(we,Ce)|0,Z=Z+Math.imul(Be,He)|0,le=le+Math.imul(Be,Ce)|0,J=J+Math.imul(fe,Le)|0,Z=Z+Math.imul(fe,Ne)|0,Z=Z+Math.imul(me,Le)|0,le=le+Math.imul(me,Ne)|0,J=J+Math.imul(ee,Je)|0,Z=Z+Math.imul(ee,ut)|0,Z=Z+Math.imul(de,Je)|0,le=le+Math.imul(de,ut)|0,J=J+Math.imul(te,wt)|0,Z=Z+Math.imul(te,nr)|0,Z=Z+Math.imul(ce,wt)|0,le=le+Math.imul(ce,nr)|0;var Sr=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,J=Math.imul(Ke,Qe),Z=Math.imul(Ke,rt),Z=Z+Math.imul(ze,Qe)|0,le=Math.imul(ze,rt),J=J+Math.imul(Re,He)|0,Z=Z+Math.imul(Re,Ce)|0,Z=Z+Math.imul(be,He)|0,le=le+Math.imul(be,Ce)|0,J=J+Math.imul(we,Le)|0,Z=Z+Math.imul(we,Ne)|0,Z=Z+Math.imul(Be,Le)|0,le=le+Math.imul(Be,Ne)|0,J=J+Math.imul(fe,Je)|0,Z=Z+Math.imul(fe,ut)|0,Z=Z+Math.imul(me,Je)|0,le=le+Math.imul(me,ut)|0,J=J+Math.imul(ee,wt)|0,Z=Z+Math.imul(ee,nr)|0,Z=Z+Math.imul(de,wt)|0,le=le+Math.imul(de,nr)|0,J=J+Math.imul(te,It)|0,Z=Z+Math.imul(te,Gt)|0,Z=Z+Math.imul(ce,It)|0,le=le+Math.imul(ce,Gt)|0;var wr=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(wr>>>26)|0,wr&=67108863,J=Math.imul(We,Qe),Z=Math.imul(We,rt),Z=Z+Math.imul(lt,Qe)|0,le=Math.imul(lt,rt),J=J+Math.imul(Ke,He)|0,Z=Z+Math.imul(Ke,Ce)|0,Z=Z+Math.imul(ze,He)|0,le=le+Math.imul(ze,Ce)|0,J=J+Math.imul(Re,Le)|0,Z=Z+Math.imul(Re,Ne)|0,Z=Z+Math.imul(be,Le)|0,le=le+Math.imul(be,Ne)|0,J=J+Math.imul(we,Je)|0,Z=Z+Math.imul(we,ut)|0,Z=Z+Math.imul(Be,Je)|0,le=le+Math.imul(Be,ut)|0,J=J+Math.imul(fe,wt)|0,Z=Z+Math.imul(fe,nr)|0,Z=Z+Math.imul(me,wt)|0,le=le+Math.imul(me,nr)|0,J=J+Math.imul(ee,It)|0,Z=Z+Math.imul(ee,Gt)|0,Z=Z+Math.imul(de,It)|0,le=le+Math.imul(de,Gt)|0,J=J+Math.imul(te,Pr)|0,Z=Z+Math.imul(te,Ct)|0,Z=Z+Math.imul(ce,Pr)|0,le=le+Math.imul(ce,Ct)|0;var Tr=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(Tr>>>26)|0,Tr&=67108863,J=Math.imul(tt,Qe),Z=Math.imul(tt,rt),Z=Z+Math.imul(et,Qe)|0,le=Math.imul(et,rt),J=J+Math.imul(We,He)|0,Z=Z+Math.imul(We,Ce)|0,Z=Z+Math.imul(lt,He)|0,le=le+Math.imul(lt,Ce)|0,J=J+Math.imul(Ke,Le)|0,Z=Z+Math.imul(Ke,Ne)|0,Z=Z+Math.imul(ze,Le)|0,le=le+Math.imul(ze,Ne)|0,J=J+Math.imul(Re,Je)|0,Z=Z+Math.imul(Re,ut)|0,Z=Z+Math.imul(be,Je)|0,le=le+Math.imul(be,ut)|0,J=J+Math.imul(we,wt)|0,Z=Z+Math.imul(we,nr)|0,Z=Z+Math.imul(Be,wt)|0,le=le+Math.imul(Be,nr)|0,J=J+Math.imul(fe,It)|0,Z=Z+Math.imul(fe,Gt)|0,Z=Z+Math.imul(me,It)|0,le=le+Math.imul(me,Gt)|0,J=J+Math.imul(ee,Pr)|0,Z=Z+Math.imul(ee,Ct)|0,Z=Z+Math.imul(de,Pr)|0,le=le+Math.imul(de,Ct)|0,J=J+Math.imul(te,ur)|0,Z=Z+Math.imul(te,Ir)|0,Z=Z+Math.imul(ce,ur)|0,le=le+Math.imul(ce,Ir)|0;var Ze=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,J=Math.imul(vt,Qe),Z=Math.imul(vt,rt),Z=Z+Math.imul(_t,Qe)|0,le=Math.imul(_t,rt),J=J+Math.imul(tt,He)|0,Z=Z+Math.imul(tt,Ce)|0,Z=Z+Math.imul(et,He)|0,le=le+Math.imul(et,Ce)|0,J=J+Math.imul(We,Le)|0,Z=Z+Math.imul(We,Ne)|0,Z=Z+Math.imul(lt,Le)|0,le=le+Math.imul(lt,Ne)|0,J=J+Math.imul(Ke,Je)|0,Z=Z+Math.imul(Ke,ut)|0,Z=Z+Math.imul(ze,Je)|0,le=le+Math.imul(ze,ut)|0,J=J+Math.imul(Re,wt)|0,Z=Z+Math.imul(Re,nr)|0,Z=Z+Math.imul(be,wt)|0,le=le+Math.imul(be,nr)|0,J=J+Math.imul(we,It)|0,Z=Z+Math.imul(we,Gt)|0,Z=Z+Math.imul(Be,It)|0,le=le+Math.imul(Be,Gt)|0,J=J+Math.imul(fe,Pr)|0,Z=Z+Math.imul(fe,Ct)|0,Z=Z+Math.imul(me,Pr)|0,le=le+Math.imul(me,Ct)|0,J=J+Math.imul(ee,ur)|0,Z=Z+Math.imul(ee,Ir)|0,Z=Z+Math.imul(de,ur)|0,le=le+Math.imul(de,Ir)|0,J=J+Math.imul(te,At)|0,Z=Z+Math.imul(te,mt)|0,Z=Z+Math.imul(ce,At)|0,le=le+Math.imul(ce,mt)|0;var Xe=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,J=Math.imul(Rt,Qe),Z=Math.imul(Rt,rt),Z=Z+Math.imul(ct,Qe)|0,le=Math.imul(ct,rt),J=J+Math.imul(vt,He)|0,Z=Z+Math.imul(vt,Ce)|0,Z=Z+Math.imul(_t,He)|0,le=le+Math.imul(_t,Ce)|0,J=J+Math.imul(tt,Le)|0,Z=Z+Math.imul(tt,Ne)|0,Z=Z+Math.imul(et,Le)|0,le=le+Math.imul(et,Ne)|0,J=J+Math.imul(We,Je)|0,Z=Z+Math.imul(We,ut)|0,Z=Z+Math.imul(lt,Je)|0,le=le+Math.imul(lt,ut)|0,J=J+Math.imul(Ke,wt)|0,Z=Z+Math.imul(Ke,nr)|0,Z=Z+Math.imul(ze,wt)|0,le=le+Math.imul(ze,nr)|0,J=J+Math.imul(Re,It)|0,Z=Z+Math.imul(Re,Gt)|0,Z=Z+Math.imul(be,It)|0,le=le+Math.imul(be,Gt)|0,J=J+Math.imul(we,Pr)|0,Z=Z+Math.imul(we,Ct)|0,Z=Z+Math.imul(Be,Pr)|0,le=le+Math.imul(Be,Ct)|0,J=J+Math.imul(fe,ur)|0,Z=Z+Math.imul(fe,Ir)|0,Z=Z+Math.imul(me,ur)|0,le=le+Math.imul(me,Ir)|0,J=J+Math.imul(ee,At)|0,Z=Z+Math.imul(ee,mt)|0,Z=Z+Math.imul(de,At)|0,le=le+Math.imul(de,mt)|0,J=J+Math.imul(te,Pt)|0,Z=Z+Math.imul(te,Ht)|0,Z=Z+Math.imul(ce,Pt)|0,le=le+Math.imul(ce,Ht)|0;var Wt=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,J=Math.imul(Rt,He),Z=Math.imul(Rt,Ce),Z=Z+Math.imul(ct,He)|0,le=Math.imul(ct,Ce),J=J+Math.imul(vt,Le)|0,Z=Z+Math.imul(vt,Ne)|0,Z=Z+Math.imul(_t,Le)|0,le=le+Math.imul(_t,Ne)|0,J=J+Math.imul(tt,Je)|0,Z=Z+Math.imul(tt,ut)|0,Z=Z+Math.imul(et,Je)|0,le=le+Math.imul(et,ut)|0,J=J+Math.imul(We,wt)|0,Z=Z+Math.imul(We,nr)|0,Z=Z+Math.imul(lt,wt)|0,le=le+Math.imul(lt,nr)|0,J=J+Math.imul(Ke,It)|0,Z=Z+Math.imul(Ke,Gt)|0,Z=Z+Math.imul(ze,It)|0,le=le+Math.imul(ze,Gt)|0,J=J+Math.imul(Re,Pr)|0,Z=Z+Math.imul(Re,Ct)|0,Z=Z+Math.imul(be,Pr)|0,le=le+Math.imul(be,Ct)|0,J=J+Math.imul(we,ur)|0,Z=Z+Math.imul(we,Ir)|0,Z=Z+Math.imul(Be,ur)|0,le=le+Math.imul(Be,Ir)|0,J=J+Math.imul(fe,At)|0,Z=Z+Math.imul(fe,mt)|0,Z=Z+Math.imul(me,At)|0,le=le+Math.imul(me,mt)|0,J=J+Math.imul(ee,Pt)|0,Z=Z+Math.imul(ee,Ht)|0,Z=Z+Math.imul(de,Pt)|0,le=le+Math.imul(de,Ht)|0;var jt=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(jt>>>26)|0,jt&=67108863,J=Math.imul(Rt,Le),Z=Math.imul(Rt,Ne),Z=Z+Math.imul(ct,Le)|0,le=Math.imul(ct,Ne),J=J+Math.imul(vt,Je)|0,Z=Z+Math.imul(vt,ut)|0,Z=Z+Math.imul(_t,Je)|0,le=le+Math.imul(_t,ut)|0,J=J+Math.imul(tt,wt)|0,Z=Z+Math.imul(tt,nr)|0,Z=Z+Math.imul(et,wt)|0,le=le+Math.imul(et,nr)|0,J=J+Math.imul(We,It)|0,Z=Z+Math.imul(We,Gt)|0,Z=Z+Math.imul(lt,It)|0,le=le+Math.imul(lt,Gt)|0,J=J+Math.imul(Ke,Pr)|0,Z=Z+Math.imul(Ke,Ct)|0,Z=Z+Math.imul(ze,Pr)|0,le=le+Math.imul(ze,Ct)|0,J=J+Math.imul(Re,ur)|0,Z=Z+Math.imul(Re,Ir)|0,Z=Z+Math.imul(be,ur)|0,le=le+Math.imul(be,Ir)|0,J=J+Math.imul(we,At)|0,Z=Z+Math.imul(we,mt)|0,Z=Z+Math.imul(Be,At)|0,le=le+Math.imul(Be,mt)|0,J=J+Math.imul(fe,Pt)|0,Z=Z+Math.imul(fe,Ht)|0,Z=Z+Math.imul(me,Pt)|0,le=le+Math.imul(me,Ht)|0;var ar=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(ar>>>26)|0,ar&=67108863,J=Math.imul(Rt,Je),Z=Math.imul(Rt,ut),Z=Z+Math.imul(ct,Je)|0,le=Math.imul(ct,ut),J=J+Math.imul(vt,wt)|0,Z=Z+Math.imul(vt,nr)|0,Z=Z+Math.imul(_t,wt)|0,le=le+Math.imul(_t,nr)|0,J=J+Math.imul(tt,It)|0,Z=Z+Math.imul(tt,Gt)|0,Z=Z+Math.imul(et,It)|0,le=le+Math.imul(et,Gt)|0,J=J+Math.imul(We,Pr)|0,Z=Z+Math.imul(We,Ct)|0,Z=Z+Math.imul(lt,Pr)|0,le=le+Math.imul(lt,Ct)|0,J=J+Math.imul(Ke,ur)|0,Z=Z+Math.imul(Ke,Ir)|0,Z=Z+Math.imul(ze,ur)|0,le=le+Math.imul(ze,Ir)|0,J=J+Math.imul(Re,At)|0,Z=Z+Math.imul(Re,mt)|0,Z=Z+Math.imul(be,At)|0,le=le+Math.imul(be,mt)|0,J=J+Math.imul(we,Pt)|0,Z=Z+Math.imul(we,Ht)|0,Z=Z+Math.imul(Be,Pt)|0,le=le+Math.imul(Be,Ht)|0;var mr=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(mr>>>26)|0,mr&=67108863,J=Math.imul(Rt,wt),Z=Math.imul(Rt,nr),Z=Z+Math.imul(ct,wt)|0,le=Math.imul(ct,nr),J=J+Math.imul(vt,It)|0,Z=Z+Math.imul(vt,Gt)|0,Z=Z+Math.imul(_t,It)|0,le=le+Math.imul(_t,Gt)|0,J=J+Math.imul(tt,Pr)|0,Z=Z+Math.imul(tt,Ct)|0,Z=Z+Math.imul(et,Pr)|0,le=le+Math.imul(et,Ct)|0,J=J+Math.imul(We,ur)|0,Z=Z+Math.imul(We,Ir)|0,Z=Z+Math.imul(lt,ur)|0,le=le+Math.imul(lt,Ir)|0,J=J+Math.imul(Ke,At)|0,Z=Z+Math.imul(Ke,mt)|0,Z=Z+Math.imul(ze,At)|0,le=le+Math.imul(ze,mt)|0,J=J+Math.imul(Re,Pt)|0,Z=Z+Math.imul(Re,Ht)|0,Z=Z+Math.imul(be,Pt)|0,le=le+Math.imul(be,Ht)|0;var br=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(br>>>26)|0,br&=67108863,J=Math.imul(Rt,It),Z=Math.imul(Rt,Gt),Z=Z+Math.imul(ct,It)|0,le=Math.imul(ct,Gt),J=J+Math.imul(vt,Pr)|0,Z=Z+Math.imul(vt,Ct)|0,Z=Z+Math.imul(_t,Pr)|0,le=le+Math.imul(_t,Ct)|0,J=J+Math.imul(tt,ur)|0,Z=Z+Math.imul(tt,Ir)|0,Z=Z+Math.imul(et,ur)|0,le=le+Math.imul(et,Ir)|0,J=J+Math.imul(We,At)|0,Z=Z+Math.imul(We,mt)|0,Z=Z+Math.imul(lt,At)|0,le=le+Math.imul(lt,mt)|0,J=J+Math.imul(Ke,Pt)|0,Z=Z+Math.imul(Ke,Ht)|0,Z=Z+Math.imul(ze,Pt)|0,le=le+Math.imul(ze,Ht)|0;var fr=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(fr>>>26)|0,fr&=67108863,J=Math.imul(Rt,Pr),Z=Math.imul(Rt,Ct),Z=Z+Math.imul(ct,Pr)|0,le=Math.imul(ct,Ct),J=J+Math.imul(vt,ur)|0,Z=Z+Math.imul(vt,Ir)|0,Z=Z+Math.imul(_t,ur)|0,le=le+Math.imul(_t,Ir)|0,J=J+Math.imul(tt,At)|0,Z=Z+Math.imul(tt,mt)|0,Z=Z+Math.imul(et,At)|0,le=le+Math.imul(et,mt)|0,J=J+Math.imul(We,Pt)|0,Z=Z+Math.imul(We,Ht)|0,Z=Z+Math.imul(lt,Pt)|0,le=le+Math.imul(lt,Ht)|0;var Kt=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,J=Math.imul(Rt,ur),Z=Math.imul(Rt,Ir),Z=Z+Math.imul(ct,ur)|0,le=Math.imul(ct,Ir),J=J+Math.imul(vt,At)|0,Z=Z+Math.imul(vt,mt)|0,Z=Z+Math.imul(_t,At)|0,le=le+Math.imul(_t,mt)|0,J=J+Math.imul(tt,Pt)|0,Z=Z+Math.imul(tt,Ht)|0,Z=Z+Math.imul(et,Pt)|0,le=le+Math.imul(et,Ht)|0;var kr=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(kr>>>26)|0,kr&=67108863,J=Math.imul(Rt,At),Z=Math.imul(Rt,mt),Z=Z+Math.imul(ct,At)|0,le=Math.imul(ct,mt),J=J+Math.imul(vt,Pt)|0,Z=Z+Math.imul(vt,Ht)|0,Z=Z+Math.imul(_t,Pt)|0,le=le+Math.imul(_t,Ht)|0;var Rr=(he+J|0)+((Z&8191)<<13)|0;he=(le+(Z>>>13)|0)+(Rr>>>26)|0,Rr&=67108863,J=Math.imul(Rt,Pt),Z=Math.imul(Rt,Ht),Z=Z+Math.imul(ct,Pt)|0,le=Math.imul(ct,Ht);var Lr=(he+J|0)+((Z&8191)<<13)|0;return he=(le+(Z>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,ie[0]=Ut,ie[1]=Zt,ie[2]=Xt,ie[3]=sr,ie[4]=Sr,ie[5]=wr,ie[6]=Tr,ie[7]=Ze,ie[8]=Xe,ie[9]=Wt,ie[10]=jt,ie[11]=ar,ie[12]=mr,ie[13]=br,ie[14]=fr,ie[15]=Kt,ie[16]=kr,ie[17]=Rr,ie[18]=Lr,he!==0&&(ie[19]=he,X.length++),X};Math.imul||(P=I);function M(j,G,W){W.negative=G.negative^j.negative,W.length=j.length+G.length;for(var X=0,Q=0,ae=0;ae<W.length-1;ae++){var ie=Q;Q=0;for(var he=X&67108863,J=Math.min(ae,G.length-1),Z=Math.max(0,ae-j.length+1);Z<=J;Z++){var le=ae-Z,K=j.words[le]|0,te=G.words[Z]|0,ce=K*te,re=ce&67108863;ie=ie+(ce/67108864|0)|0,re=re+he|0,he=re&67108863,ie=ie+(re>>>26)|0,Q+=ie>>>26,ie&=67108863}W.words[ae]=he,X=ie,ie=Q}return X!==0?W.words[ae]=X:W.length--,W.strip()}function F(j,G,W){var X=new N;return X.mulp(j,G,W)}x.prototype.mulTo=function(G,W){var X,Q=this.length+G.length;return this.length===10&&G.length===10?X=P(this,G,W):Q<63?X=I(this,G,W):Q<1024?X=M(this,G,W):X=F(this,G,W),X};function N(j,G){this.x=j,this.y=G}N.prototype.makeRBT=function(G){for(var W=new Array(G),X=x.prototype._countBits(G)-1,Q=0;Q<G;Q++)W[Q]=this.revBin(Q,X,G);return W},N.prototype.revBin=function(G,W,X){if(G===0||G===X-1)return G;for(var Q=0,ae=0;ae<W;ae++)Q|=(G&1)<<W-ae-1,G>>=1;return Q},N.prototype.permute=function(G,W,X,Q,ae,ie){for(var he=0;he<ie;he++)Q[he]=W[G[he]],ae[he]=X[G[he]]},N.prototype.transform=function(G,W,X,Q,ae,ie){this.permute(ie,G,W,X,Q,ae);for(var he=1;he<ae;he<<=1)for(var J=he<<1,Z=Math.cos(2*Math.PI/J),le=Math.sin(2*Math.PI/J),K=0;K<ae;K+=J)for(var te=Z,ce=le,re=0;re<he;re++){var ee=X[K+re],de=Q[K+re],oe=X[K+re+he],fe=Q[K+re+he],me=te*oe-ce*fe;fe=te*fe+ce*oe,oe=me,X[K+re]=ee+oe,Q[K+re]=de+fe,X[K+re+he]=ee-oe,Q[K+re+he]=de-fe,re!==J&&(me=Z*te-le*ce,ce=Z*ce+le*te,te=me)}},N.prototype.guessLen13b=function(G,W){var X=Math.max(W,G)|1,Q=X&1,ae=0;for(X=X/2|0;X;X=X>>>1)ae++;return 1<<ae+1+Q},N.prototype.conjugate=function(G,W,X){if(!(X<=1))for(var Q=0;Q<X/2;Q++){var ae=G[Q];G[Q]=G[X-Q-1],G[X-Q-1]=ae,ae=W[Q],W[Q]=-W[X-Q-1],W[X-Q-1]=-ae}},N.prototype.normalize13b=function(G,W){for(var X=0,Q=0;Q<W/2;Q++){var ae=Math.round(G[2*Q+1]/W)*8192+Math.round(G[2*Q]/W)+X;G[Q]=ae&67108863,ae<67108864?X=0:X=ae/67108864|0}return G},N.prototype.convert13b=function(G,W,X,Q){for(var ae=0,ie=0;ie<W;ie++)ae=ae+(G[ie]|0),X[2*ie]=ae&8191,ae=ae>>>13,X[2*ie+1]=ae&8191,ae=ae>>>13;for(ie=2*W;ie<Q;++ie)X[ie]=0;f(ae===0),f((ae&-8192)===0)},N.prototype.stub=function(G){for(var W=new Array(G),X=0;X<G;X++)W[X]=0;return W},N.prototype.mulp=function(G,W,X){var Q=2*this.guessLen13b(G.length,W.length),ae=this.makeRBT(Q),ie=this.stub(Q),he=new Array(Q),J=new Array(Q),Z=new Array(Q),le=new Array(Q),K=new Array(Q),te=new Array(Q),ce=X.words;ce.length=Q,this.convert13b(G.words,G.length,he,Q),this.convert13b(W.words,W.length,le,Q),this.transform(he,ie,J,Z,Q,ae),this.transform(le,ie,K,te,Q,ae);for(var re=0;re<Q;re++){var ee=J[re]*K[re]-Z[re]*te[re];Z[re]=J[re]*te[re]+Z[re]*K[re],J[re]=ee}return this.conjugate(J,Z,Q),this.transform(J,Z,ce,ie,Q,ae),this.conjugate(ce,ie,Q),this.normalize13b(ce,Q),X.negative=G.negative^W.negative,X.length=G.length+W.length,X.strip()},x.prototype.mul=function(G){var W=new x(null);return W.words=new Array(this.length+G.length),this.mulTo(G,W)},x.prototype.mulf=function(G){var W=new x(null);return W.words=new Array(this.length+G.length),F(this,G,W)},x.prototype.imul=function(G){return this.clone().mulTo(G,this)},x.prototype.imuln=function(G){f(typeof G=="number"),f(G<67108864);for(var W=0,X=0;X<this.length;X++){var Q=(this.words[X]|0)*G,ae=(Q&67108863)+(W&67108863);W>>=26,W+=Q/67108864|0,W+=ae>>>26,this.words[X]=ae&67108863}return W!==0&&(this.words[X]=W,this.length++),this},x.prototype.muln=function(G){return this.clone().imuln(G)},x.prototype.sqr=function(){return this.mul(this)},x.prototype.isqr=function(){return this.imul(this.clone())},x.prototype.pow=function(G){var W=L(G);if(W.length===0)return new x(1);for(var X=this,Q=0;Q<W.length&&W[Q]===0;Q++,X=X.sqr());if(++Q<W.length)for(var ae=X.sqr();Q<W.length;Q++,ae=ae.sqr())W[Q]!==0&&(X=X.mul(ae));return X},x.prototype.iushln=function(G){f(typeof G=="number"&&G>=0);var W=G%26,X=(G-W)/26,Q=67108863>>>26-W<<26-W,ae;if(W!==0){var ie=0;for(ae=0;ae<this.length;ae++){var he=this.words[ae]&Q,J=(this.words[ae]|0)-he<<W;this.words[ae]=J|ie,ie=he>>>26-W}ie&&(this.words[ae]=ie,this.length++)}if(X!==0){for(ae=this.length-1;ae>=0;ae--)this.words[ae+X]=this.words[ae];for(ae=0;ae<X;ae++)this.words[ae]=0;this.length+=X}return this.strip()},x.prototype.ishln=function(G){return f(this.negative===0),this.iushln(G)},x.prototype.iushrn=function(G,W,X){f(typeof G=="number"&&G>=0);var Q;W?Q=(W-W%26)/26:Q=0;var ae=G%26,ie=Math.min((G-ae)/26,this.length),he=67108863^67108863>>>ae<<ae,J=X;if(Q-=ie,Q=Math.max(0,Q),J){for(var Z=0;Z<ie;Z++)J.words[Z]=this.words[Z];J.length=ie}if(ie!==0)if(this.length>ie)for(this.length-=ie,Z=0;Z<this.length;Z++)this.words[Z]=this.words[Z+ie];else this.words[0]=0,this.length=1;var le=0;for(Z=this.length-1;Z>=0&&(le!==0||Z>=Q);Z--){var K=this.words[Z]|0;this.words[Z]=le<<26-ae|K>>>ae,le=K&he}return J&&le!==0&&(J.words[J.length++]=le),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},x.prototype.ishrn=function(G,W,X){return f(this.negative===0),this.iushrn(G,W,X)},x.prototype.shln=function(G){return this.clone().ishln(G)},x.prototype.ushln=function(G){return this.clone().iushln(G)},x.prototype.shrn=function(G){return this.clone().ishrn(G)},x.prototype.ushrn=function(G){return this.clone().iushrn(G)},x.prototype.testn=function(G){f(typeof G=="number"&&G>=0);var W=G%26,X=(G-W)/26,Q=1<<W;if(this.length<=X)return!1;var ae=this.words[X];return!!(ae&Q)},x.prototype.imaskn=function(G){f(typeof G=="number"&&G>=0);var W=G%26,X=(G-W)/26;if(f(this.negative===0,"imaskn works only with positive numbers"),this.length<=X)return this;if(W!==0&&X++,this.length=Math.min(X,this.length),W!==0){var Q=67108863^67108863>>>W<<W;this.words[this.length-1]&=Q}return this.strip()},x.prototype.maskn=function(G){return this.clone().imaskn(G)},x.prototype.iaddn=function(G){return f(typeof G=="number"),f(G<67108864),G<0?this.isubn(-G):this.negative!==0?this.length===1&&(this.words[0]|0)<G?(this.words[0]=G-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(G),this.negative=1,this):this._iaddn(G)},x.prototype._iaddn=function(G){this.words[0]+=G;for(var W=0;W<this.length&&this.words[W]>=67108864;W++)this.words[W]-=67108864,W===this.length-1?this.words[W+1]=1:this.words[W+1]++;return this.length=Math.max(this.length,W+1),this},x.prototype.isubn=function(G){if(f(typeof G=="number"),f(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var W=0;W<this.length&&this.words[W]<0;W++)this.words[W]+=67108864,this.words[W+1]-=1;return this.strip()},x.prototype.addn=function(G){return this.clone().iaddn(G)},x.prototype.subn=function(G){return this.clone().isubn(G)},x.prototype.iabs=function(){return this.negative=0,this},x.prototype.abs=function(){return this.clone().iabs()},x.prototype._ishlnsubmul=function(G,W,X){var Q=G.length+X,ae;this._expand(Q);var ie,he=0;for(ae=0;ae<G.length;ae++){ie=(this.words[ae+X]|0)+he;var J=(G.words[ae]|0)*W;ie-=J&67108863,he=(ie>>26)-(J/67108864|0),this.words[ae+X]=ie&67108863}for(;ae<this.length-X;ae++)ie=(this.words[ae+X]|0)+he,he=ie>>26,this.words[ae+X]=ie&67108863;if(he===0)return this.strip();for(f(he===-1),he=0,ae=0;ae<this.length;ae++)ie=-(this.words[ae]|0)+he,he=ie>>26,this.words[ae]=ie&67108863;return this.negative=1,this.strip()},x.prototype._wordDiv=function(G,W){var X=this.length-G.length,Q=this.clone(),ae=G,ie=ae.words[ae.length-1]|0,he=this._countBits(ie);X=26-he,X!==0&&(ae=ae.ushln(X),Q.iushln(X),ie=ae.words[ae.length-1]|0);var J=Q.length-ae.length,Z;if(W!=="mod"){Z=new x(null),Z.length=J+1,Z.words=new Array(Z.length);for(var le=0;le<Z.length;le++)Z.words[le]=0}var K=Q.clone()._ishlnsubmul(ae,1,J);K.negative===0&&(Q=K,Z&&(Z.words[J]=1));for(var te=J-1;te>=0;te--){var ce=(Q.words[ae.length+te]|0)*67108864+(Q.words[ae.length+te-1]|0);for(ce=Math.min(ce/ie|0,67108863),Q._ishlnsubmul(ae,ce,te);Q.negative!==0;)ce--,Q.negative=0,Q._ishlnsubmul(ae,1,te),Q.isZero()||(Q.negative^=1);Z&&(Z.words[te]=ce)}return Z&&Z.strip(),Q.strip(),W!=="div"&&X!==0&&Q.iushrn(X),{div:Z||null,mod:Q}},x.prototype.divmod=function(G,W,X){if(f(!G.isZero()),this.isZero())return{div:new x(0),mod:new x(0)};var Q,ae,ie;return this.negative!==0&&G.negative===0?(ie=this.neg().divmod(G,W),W!=="mod"&&(Q=ie.div.neg()),W!=="div"&&(ae=ie.mod.neg(),X&&ae.negative!==0&&ae.iadd(G)),{div:Q,mod:ae}):this.negative===0&&G.negative!==0?(ie=this.divmod(G.neg(),W),W!=="mod"&&(Q=ie.div.neg()),{div:Q,mod:ie.mod}):this.negative&G.negative?(ie=this.neg().divmod(G.neg(),W),W!=="div"&&(ae=ie.mod.neg(),X&&ae.negative!==0&&ae.isub(G)),{div:ie.div,mod:ae}):G.length>this.length||this.cmp(G)<0?{div:new x(0),mod:this}:G.length===1?W==="div"?{div:this.divn(G.words[0]),mod:null}:W==="mod"?{div:null,mod:new x(this.modn(G.words[0]))}:{div:this.divn(G.words[0]),mod:new x(this.modn(G.words[0]))}:this._wordDiv(G,W)},x.prototype.div=function(G){return this.divmod(G,"div",!1).div},x.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},x.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},x.prototype.divRound=function(G){var W=this.divmod(G);if(W.mod.isZero())return W.div;var X=W.div.negative!==0?W.mod.isub(G):W.mod,Q=G.ushrn(1),ae=G.andln(1),ie=X.cmp(Q);return ie<0||ae===1&&ie===0?W.div:W.div.negative!==0?W.div.isubn(1):W.div.iaddn(1)},x.prototype.modn=function(G){f(G<=67108863);for(var W=(1<<26)%G,X=0,Q=this.length-1;Q>=0;Q--)X=(W*X+(this.words[Q]|0))%G;return X},x.prototype.idivn=function(G){f(G<=67108863);for(var W=0,X=this.length-1;X>=0;X--){var Q=(this.words[X]|0)+W*67108864;this.words[X]=Q/G|0,W=Q%G}return this.strip()},x.prototype.divn=function(G){return this.clone().idivn(G)},x.prototype.egcd=function(G){f(G.negative===0),f(!G.isZero());var W=this,X=G.clone();W.negative!==0?W=W.umod(G):W=W.clone();for(var Q=new x(1),ae=new x(0),ie=new x(0),he=new x(1),J=0;W.isEven()&&X.isEven();)W.iushrn(1),X.iushrn(1),++J;for(var Z=X.clone(),le=W.clone();!W.isZero();){for(var K=0,te=1;!(W.words[0]&te)&&K<26;++K,te<<=1);if(K>0)for(W.iushrn(K);K-- >0;)(Q.isOdd()||ae.isOdd())&&(Q.iadd(Z),ae.isub(le)),Q.iushrn(1),ae.iushrn(1);for(var ce=0,re=1;!(X.words[0]&re)&&ce<26;++ce,re<<=1);if(ce>0)for(X.iushrn(ce);ce-- >0;)(ie.isOdd()||he.isOdd())&&(ie.iadd(Z),he.isub(le)),ie.iushrn(1),he.iushrn(1);W.cmp(X)>=0?(W.isub(X),Q.isub(ie),ae.isub(he)):(X.isub(W),ie.isub(Q),he.isub(ae))}return{a:ie,b:he,gcd:X.iushln(J)}},x.prototype._invmp=function(G){f(G.negative===0),f(!G.isZero());var W=this,X=G.clone();W.negative!==0?W=W.umod(G):W=W.clone();for(var Q=new x(1),ae=new x(0),ie=X.clone();W.cmpn(1)>0&&X.cmpn(1)>0;){for(var he=0,J=1;!(W.words[0]&J)&&he<26;++he,J<<=1);if(he>0)for(W.iushrn(he);he-- >0;)Q.isOdd()&&Q.iadd(ie),Q.iushrn(1);for(var Z=0,le=1;!(X.words[0]&le)&&Z<26;++Z,le<<=1);if(Z>0)for(X.iushrn(Z);Z-- >0;)ae.isOdd()&&ae.iadd(ie),ae.iushrn(1);W.cmp(X)>=0?(W.isub(X),Q.isub(ae)):(X.isub(W),ae.isub(Q))}var K;return W.cmpn(1)===0?K=Q:K=ae,K.cmpn(0)<0&&K.iadd(G),K},x.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var W=this.clone(),X=G.clone();W.negative=0,X.negative=0;for(var Q=0;W.isEven()&&X.isEven();Q++)W.iushrn(1),X.iushrn(1);do{for(;W.isEven();)W.iushrn(1);for(;X.isEven();)X.iushrn(1);var ae=W.cmp(X);if(ae<0){var ie=W;W=X,X=ie}else if(ae===0||X.cmpn(1)===0)break;W.isub(X)}while(!0);return X.iushln(Q)},x.prototype.invm=function(G){return this.egcd(G).a.umod(G)},x.prototype.isEven=function(){return(this.words[0]&1)===0},x.prototype.isOdd=function(){return(this.words[0]&1)===1},x.prototype.andln=function(G){return this.words[0]&G},x.prototype.bincn=function(G){f(typeof G=="number");var W=G%26,X=(G-W)/26,Q=1<<W;if(this.length<=X)return this._expand(X+1),this.words[X]|=Q,this;for(var ae=Q,ie=X;ae!==0&&ie<this.length;ie++){var he=this.words[ie]|0;he+=ae,ae=he>>>26,he&=67108863,this.words[ie]=he}return ae!==0&&(this.words[ie]=ae,this.length++),this},x.prototype.isZero=function(){return this.length===1&&this.words[0]===0},x.prototype.cmpn=function(G){var W=G<0;if(this.negative!==0&&!W)return-1;if(this.negative===0&&W)return 1;this.strip();var X;if(this.length>1)X=1;else{W&&(G=-G),f(G<=67108863,"Number is too big");var Q=this.words[0]|0;X=Q===G?0:Q<G?-1:1}return this.negative!==0?-X|0:X},x.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var W=this.ucmp(G);return this.negative!==0?-W|0:W},x.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;for(var W=0,X=this.length-1;X>=0;X--){var Q=this.words[X]|0,ae=G.words[X]|0;if(Q!==ae){Q<ae?W=-1:Q>ae&&(W=1);break}}return W},x.prototype.gtn=function(G){return this.cmpn(G)===1},x.prototype.gt=function(G){return this.cmp(G)===1},x.prototype.gten=function(G){return this.cmpn(G)>=0},x.prototype.gte=function(G){return this.cmp(G)>=0},x.prototype.ltn=function(G){return this.cmpn(G)===-1},x.prototype.lt=function(G){return this.cmp(G)===-1},x.prototype.lten=function(G){return this.cmpn(G)<=0},x.prototype.lte=function(G){return this.cmp(G)<=0},x.prototype.eqn=function(G){return this.cmpn(G)===0},x.prototype.eq=function(G){return this.cmp(G)===0},x.red=function(G){return new z(G)},x.prototype.toRed=function(G){return f(!this.red,"Already a number in reduction context"),f(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},x.prototype.fromRed=function(){return f(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},x.prototype._forceRed=function(G){return this.red=G,this},x.prototype.forceRed=function(G){return f(!this.red,"Already a number in reduction context"),this._forceRed(G)},x.prototype.redAdd=function(G){return f(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},x.prototype.redIAdd=function(G){return f(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},x.prototype.redSub=function(G){return f(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},x.prototype.redISub=function(G){return f(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},x.prototype.redShl=function(G){return f(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},x.prototype.redMul=function(G){return f(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},x.prototype.redIMul=function(G){return f(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},x.prototype.redSqr=function(){return f(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},x.prototype.redISqr=function(){return f(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},x.prototype.redSqrt=function(){return f(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},x.prototype.redInvm=function(){return f(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},x.prototype.redNeg=function(){return f(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},x.prototype.redPow=function(G){return f(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var T={k256:null,p224:null,p192:null,p25519:null};function D(j,G){this.name=j,this.p=new x(G,16),this.n=this.p.bitLength(),this.k=new x(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}D.prototype._tmp=function(){var G=new x(null);return G.words=new Array(Math.ceil(this.n/13)),G},D.prototype.ireduce=function(G){var W=G,X;do this.split(W,this.tmp),W=this.imulK(W),W=W.iadd(this.tmp),X=W.bitLength();while(X>this.n);var Q=X<this.n?-1:W.ucmp(this.p);return Q===0?(W.words[0]=0,W.length=1):Q>0?W.isub(this.p):W.strip!==void 0?W.strip():W._strip(),W},D.prototype.split=function(G,W){G.iushrn(this.n,0,W)},D.prototype.imulK=function(G){return G.imul(this.k)};function O(){D.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}b(O,D),O.prototype.split=function(G,W){for(var X=4194303,Q=Math.min(G.length,9),ae=0;ae<Q;ae++)W.words[ae]=G.words[ae];if(W.length=Q,G.length<=9){G.words[0]=0,G.length=1;return}var ie=G.words[9];for(W.words[W.length++]=ie&X,ae=10;ae<G.length;ae++){var he=G.words[ae]|0;G.words[ae-10]=(he&X)<<4|ie>>>22,ie=he}ie>>>=22,G.words[ae-10]=ie,ie===0&&G.length>10?G.length-=10:G.length-=9},O.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;for(var W=0,X=0;X<G.length;X++){var Q=G.words[X]|0;W+=Q*977,G.words[X]=W&67108863,W=Q*64+(W/67108864|0)}return G.words[G.length-1]===0&&(G.length--,G.words[G.length-1]===0&&G.length--),G};function U(){D.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}b(U,D);function B(){D.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}b(B,D);function Y(){D.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}b(Y,D),Y.prototype.imulK=function(G){for(var W=0,X=0;X<G.length;X++){var Q=(G.words[X]|0)*19+W,ae=Q&67108863;Q>>>=26,G.words[X]=ae,W=Q}return W!==0&&(G.words[G.length++]=W),G},x._prime=function(G){if(T[G])return T[G];var W;if(G==="k256")W=new O;else if(G==="p224")W=new U;else if(G==="p192")W=new B;else if(G==="p25519")W=new Y;else throw new Error("Unknown prime "+G);return T[G]=W,W};function z(j){if(typeof j=="string"){var G=x._prime(j);this.m=G.p,this.prime=G}else f(j.gtn(1),"modulus must be greater than 1"),this.m=j,this.prime=null}z.prototype._verify1=function(G){f(G.negative===0,"red works only with positives"),f(G.red,"red works only with red numbers")},z.prototype._verify2=function(G,W){f((G.negative|W.negative)===0,"red works only with positives"),f(G.red&&G.red===W.red,"red works only with red numbers")},z.prototype.imod=function(G){return this.prime?this.prime.ireduce(G)._forceRed(this):G.umod(this.m)._forceRed(this)},z.prototype.neg=function(G){return G.isZero()?G.clone():this.m.sub(G)._forceRed(this)},z.prototype.add=function(G,W){this._verify2(G,W);var X=G.add(W);return X.cmp(this.m)>=0&&X.isub(this.m),X._forceRed(this)},z.prototype.iadd=function(G,W){this._verify2(G,W);var X=G.iadd(W);return X.cmp(this.m)>=0&&X.isub(this.m),X},z.prototype.sub=function(G,W){this._verify2(G,W);var X=G.sub(W);return X.cmpn(0)<0&&X.iadd(this.m),X._forceRed(this)},z.prototype.isub=function(G,W){this._verify2(G,W);var X=G.isub(W);return X.cmpn(0)<0&&X.iadd(this.m),X},z.prototype.shl=function(G,W){return this._verify1(G),this.imod(G.ushln(W))},z.prototype.imul=function(G,W){return this._verify2(G,W),this.imod(G.imul(W))},z.prototype.mul=function(G,W){return this._verify2(G,W),this.imod(G.mul(W))},z.prototype.isqr=function(G){return this.imul(G,G.clone())},z.prototype.sqr=function(G){return this.mul(G,G)},z.prototype.sqrt=function(G){if(G.isZero())return G.clone();var W=this.m.andln(3);if(f(W%2===1),W===3){var X=this.m.add(new x(1)).iushrn(2);return this.pow(G,X)}for(var Q=this.m.subn(1),ae=0;!Q.isZero()&&Q.andln(1)===0;)ae++,Q.iushrn(1);f(!Q.isZero());var ie=new x(1).toRed(this),he=ie.redNeg(),J=this.m.subn(1).iushrn(1),Z=this.m.bitLength();for(Z=new x(2*Z*Z).toRed(this);this.pow(Z,J).cmp(he)!==0;)Z.redIAdd(he);for(var le=this.pow(Z,Q),K=this.pow(G,Q.addn(1).iushrn(1)),te=this.pow(G,Q),ce=ae;te.cmp(ie)!==0;){for(var re=te,ee=0;re.cmp(ie)!==0;ee++)re=re.redSqr();f(ee<ce);var de=this.pow(le,new x(1).iushln(ce-ee-1));K=K.redMul(de),le=de.redSqr(),te=te.redMul(le),ce=ee}return K},z.prototype.invm=function(G){var W=G._invmp(this.m);return W.negative!==0?(W.negative=0,this.imod(W).redNeg()):this.imod(W)},z.prototype.pow=function(G,W){if(W.isZero())return new x(1).toRed(this);if(W.cmpn(1)===0)return G.clone();var X=4,Q=new Array(1<<X);Q[0]=new x(1).toRed(this),Q[1]=G;for(var ae=2;ae<Q.length;ae++)Q[ae]=this.mul(Q[ae-1],G);var ie=Q[0],he=0,J=0,Z=W.bitLength()%26;for(Z===0&&(Z=26),ae=W.length-1;ae>=0;ae--){for(var le=W.words[ae],K=Z-1;K>=0;K--){var te=le>>K&1;if(ie!==Q[0]&&(ie=this.sqr(ie)),te===0&&he===0){J=0;continue}he<<=1,he|=te,J++,!(J!==X&&(ae!==0||K!==0))&&(ie=this.mul(ie,Q[he]),J=0,he=0)}Z=26}return ie},z.prototype.convertTo=function(G){var W=G.umod(this.m);return W===G?W.clone():W},z.prototype.convertFrom=function(G){var W=G.clone();return W.red=null,W},x.mont=function(G){return new V(G)};function V(j){z.call(this,j),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new x(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b(V,z),V.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},V.prototype.convertFrom=function(G){var W=this.imod(G.mul(this.rinv));return W.red=null,W},V.prototype.imul=function(G,W){if(G.isZero()||W.isZero())return G.words[0]=0,G.length=1,G;var X=G.imul(W),Q=X.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),ae=X.isub(Q).iushrn(this.shift),ie=ae;return ae.cmp(this.m)>=0?ie=ae.isub(this.m):ae.cmpn(0)<0&&(ie=ae.iadd(this.m)),ie._forceRed(this)},V.prototype.mul=function(G,W){if(G.isZero()||W.isZero())return new x(0)._forceRed(this);var X=G.mul(W),Q=X.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),ae=X.isub(Q).iushrn(this.shift),ie=ae;return ae.cmp(this.m)>=0?ie=ae.isub(this.m):ae.cmpn(0)<0&&(ie=ae.iadd(this.m)),ie._forceRed(this)},V.prototype.invm=function(G){var W=this.imod(G._invmp(this.m).mul(this.r2));return W._forceRed(this)}}(p,this)},2692:function(p){p.exports=_;function _(c){var s,d,f,b=c.length,x=0;for(s=0;s<b;++s)x+=c[s].length;var y=new Array(x),C=0;for(s=0;s<b;++s){var w=c[s],R=w.length;for(d=0;d<R;++d){var A=y[C++]=new Array(R-1),E=0;for(f=0;f<R;++f)f!==d&&(A[E++]=w[f]);if(d&1){var k=A[1];A[1]=A[0],A[0]=k}}}return y}},2569:function(p,_,c){p.exports=E;var s=c(5306),d=c(1390),f=c(2337);function b(k,L){for(var I=0;I<k;++I)if(!(L[I]<=L[I+k]))return!0;return!1}function x(k,L,I,P){for(var M=0,F=0,N=0,T=k.length;N<T;++N){var D=k[N];if(!b(L,D)){for(var O=0;O<2*L;++O)I[M++]=D[O];P[F++]=N}}return F}function y(k,L,I,P){var M=k.length,F=L.length;if(!(M<=0||F<=0)){var N=k[0].length>>>1;if(!(N<=0)){var T,D=s.mallocDouble(2*N*M),O=s.mallocInt32(M);if(M=x(k,N,D,O),M>0){if(N===1&&P)d.init(M),T=d.sweepComplete(N,I,0,M,D,O,0,M,D,O);else{var U=s.mallocDouble(2*N*F),B=s.mallocInt32(F);F=x(L,N,U,B),F>0&&(d.init(M+F),N===1?T=d.sweepBipartite(N,I,0,M,D,O,0,F,U,B):T=f(N,I,P,M,D,O,F,U,B),s.free(U),s.free(B))}s.free(D),s.free(O)}return T}}}var C;function w(k,L){C.push([k,L])}function R(k){return C=[],y(k,k,w,!0),C}function A(k,L){return C=[],y(k,L,w,!1),C}function E(k,L,I){switch(arguments.length){case 1:return R(k);case 2:return typeof L=="function"?y(k,k,L,!0):A(k,L);case 3:return y(k,L,I,!1);default:throw new Error("box-intersect: Invalid arguments")}}},7333:function(p,_){function c(){function f(y,C,w,R,A,E,k,L,I,P,M){for(var F=2*y,N=R,T=F*R;N<A;++N,T+=F){var D=E[C+T],O=E[C+T+y],U=k[N];e:for(var B=L,Y=F*L;B<I;++B,Y+=F){var z=P[C+Y],V=P[C+Y+y],j=M[B];if(!(V<D||O<z)){for(var G=C+1;G<y;++G){var W=E[G+T],X=E[G+y+T],Q=P[G+Y],ae=P[G+y+Y];if(X<Q||ae<W)continue e}var ie=w(U,j);if(ie!==void 0)return ie}}}}function b(y,C,w,R,A,E,k,L,I,P,M){for(var F=2*y,N=L,T=F*L;N<I;++N,T+=F){var D=P[C+T],O=P[C+T+y],U=M[N];e:for(var B=R,Y=F*R;B<A;++B,Y+=F){var z=E[C+Y],V=E[C+Y+y],j=k[B];if(!(O<z||V<D)){for(var G=C+1;G<y;++G){var W=E[G+Y],X=E[G+y+Y],Q=P[G+T],ae=P[G+y+T];if(X<Q||ae<W)continue e}var ie=w(j,U);if(ie!==void 0)return ie}}}}function x(y,C,w,R,A,E,k,L,I,P,M){return A-R>I-L?f(y,C,w,R,A,E,k,L,I,P,M):b(y,C,w,R,A,E,k,L,I,P,M)}return x}function s(){function f(w,R,A,E,k,L,I,P,M,F,N){for(var T=2*w,D=E,O=T*E;D<k;++D,O+=T){var U=L[R+O],B=L[R+O+w],Y=I[D];e:for(var z=P,V=T*P;z<M;++z,V+=T){var j=F[R+V],G=N[z];if(!(j<=U||B<j)){for(var W=R+1;W<w;++W){var X=L[W+O],Q=L[W+w+O],ae=F[W+V],ie=F[W+w+V];if(Q<ae||ie<X)continue e}var he=A(G,Y);if(he!==void 0)return he}}}}function b(w,R,A,E,k,L,I,P,M,F,N){for(var T=2*w,D=E,O=T*E;D<k;++D,O+=T){var U=L[R+O],B=L[R+O+w],Y=I[D];e:for(var z=P,V=T*P;z<M;++z,V+=T){var j=F[R+V],G=N[z];if(!(j<U||B<j)){for(var W=R+1;W<w;++W){var X=L[W+O],Q=L[W+w+O],ae=F[W+V],ie=F[W+w+V];if(Q<ae||ie<X)continue e}var he=A(Y,G);if(he!==void 0)return he}}}}function x(w,R,A,E,k,L,I,P,M,F,N){for(var T=2*w,D=P,O=T*P;D<M;++D,O+=T){var U=F[R+O],B=N[D];e:for(var Y=E,z=T*E;Y<k;++Y,z+=T){var V=L[R+z],j=L[R+z+w],G=I[Y];if(!(U<=V||j<U)){for(var W=R+1;W<w;++W){var X=L[W+z],Q=L[W+w+z],ae=F[W+O],ie=F[W+w+O];if(Q<ae||ie<X)continue e}var he=A(B,G);if(he!==void 0)return he}}}}function y(w,R,A,E,k,L,I,P,M,F,N){for(var T=2*w,D=P,O=T*P;D<M;++D,O+=T){var U=F[R+O],B=N[D];e:for(var Y=E,z=T*E;Y<k;++Y,z+=T){var V=L[R+z],j=L[R+z+w],G=I[Y];if(!(U<V||j<U)){for(var W=R+1;W<w;++W){var X=L[W+z],Q=L[W+w+z],ae=F[W+O],ie=F[W+w+O];if(Q<ae||ie<X)continue e}var he=A(G,B);if(he!==void 0)return he}}}}function C(w,R,A,E,k,L,I,P,M,F,N,T){return L-k>F-M?E?f(w,R,A,k,L,I,P,M,F,N,T):b(w,R,A,k,L,I,P,M,F,N,T):E?x(w,R,A,k,L,I,P,M,F,N,T):y(w,R,A,k,L,I,P,M,F,N,T)}return C}function d(f){return f?c():s()}_.partial=d(!1),_.full=d(!0)},2337:function(p,_,c){p.exports=j;var s=c(5306),d=c(2288),f=c(7333),b=f.partial,x=f.full,y=c(1390),C=c(2464),w=c(122),R=128,A=1<<22,E=1<<22,k=w("!(lo>=p0)&&!(p1>=hi)"),L=w("lo===p0"),I=w("lo<p0"),P=w("hi<=p0"),M=w("lo<=p0&&p0<=hi"),F=w("lo<p0&&p0<=hi"),N=6,T=2,D=1024,O=s.mallocInt32(D),U=s.mallocDouble(D);function B(G,W){var X=8*d.log2(W+1)*(G+1)|0,Q=d.nextPow2(N*X);O.length<Q&&(s.free(O),O=s.mallocInt32(Q));var ae=d.nextPow2(T*X);U.length<ae&&(s.free(U),U=s.mallocDouble(ae))}function Y(G,W,X,Q,ae,ie,he,J,Z){var le=N*G;O[le]=W,O[le+1]=X,O[le+2]=Q,O[le+3]=ae,O[le+4]=ie,O[le+5]=he;var K=T*G;U[K]=J,U[K+1]=Z}function z(G,W,X,Q,ae,ie,he,J,Z,le,K){var te=2*G,ce=Z*te,re=le[ce+W];e:for(var ee=ae,de=ae*te;ee<ie;++ee,de+=te){var oe=he[de+W],fe=he[de+W+G];if(!(re<oe||fe<re)&&!(Q&&re===oe)){for(var me=J[ee],Te=W+1;Te<G;++Te){var oe=he[de+Te],fe=he[de+Te+G],we=le[ce+Te],Be=le[ce+Te+G];if(fe<we||Be<oe)continue e}var Ae;if(Q?Ae=X(K,me):Ae=X(me,K),Ae!==void 0)return Ae}}}function V(G,W,X,Q,ae,ie,he,J,Z,le){var K=2*G,te=J*K,ce=Z[te+W];e:for(var re=Q,ee=Q*K;re<ae;++re,ee+=K){var de=he[re];if(de!==le){var oe=ie[ee+W],fe=ie[ee+W+G];if(!(ce<oe||fe<ce)){for(var me=W+1;me<G;++me){var oe=ie[ee+me],fe=ie[ee+me+G],Te=Z[te+me],we=Z[te+me+G];if(fe<Te||we<oe)continue e}var Be=X(de,le);if(Be!==void 0)return Be}}}}function j(G,W,X,Q,ae,ie,he,J,Z){B(G,Q+he);var le=0,K=2*G,te;for(Y(le++,0,0,Q,0,he,X?16:0,-1/0,1/0),X||Y(le++,0,0,he,0,Q,1,-1/0,1/0);le>0;){le-=1;var ce=le*N,re=O[ce],ee=O[ce+1],de=O[ce+2],oe=O[ce+3],fe=O[ce+4],me=O[ce+5],Te=le*T,we=U[Te],Be=U[Te+1],Ae=me&1,Re=!!(me&16),be=ae,Pe=ie,Ke=J,ze=Z;if(Ae&&(be=J,Pe=Z,Ke=ae,ze=ie),!(me&2&&(de=I(G,re,ee,de,be,Pe,Be),ee>=de))&&!(me&4&&(ee=P(G,re,ee,de,be,Pe,we),ee>=de))){var Fe=de-ee,We=fe-oe;if(Re){if(G*Fe*(Fe+We)<E){if(te=y.scanComplete(G,re,W,ee,de,be,Pe,oe,fe,Ke,ze),te!==void 0)return te;continue}}else if(G*Math.min(Fe,We)<R){if(te=b(G,re,W,Ae,ee,de,be,Pe,oe,fe,Ke,ze),te!==void 0)return te;continue}else if(G*Fe*We<A){if(te=y.scanBipartite(G,re,W,Ae,ee,de,be,Pe,oe,fe,Ke,ze),te!==void 0)return te;continue}var lt=k(G,re,ee,de,be,Pe,we,Be);if(ee<lt)if(G*(lt-ee)<R){if(te=x(G,re+1,W,ee,lt,be,Pe,oe,fe,Ke,ze),te!==void 0)return te}else if(re===G-2){if(Ae?te=y.sweepBipartite(G,W,oe,fe,Ke,ze,ee,lt,be,Pe):te=y.sweepBipartite(G,W,ee,lt,be,Pe,oe,fe,Ke,ze),te!==void 0)return te}else Y(le++,re+1,ee,lt,oe,fe,Ae,-1/0,1/0),Y(le++,re+1,oe,fe,ee,lt,Ae^1,-1/0,1/0);if(lt<de){var ht=C(G,re,oe,fe,Ke,ze),tt=Ke[K*ht+re],et=L(G,re,ht,fe,Ke,ze,tt);if(et<fe&&Y(le++,re,lt,de,et,fe,(Ae|4)+(Re?16:0),tt,Be),oe<ht&&Y(le++,re,lt,de,oe,ht,(Ae|2)+(Re?16:0),we,tt),ht+1===et){if(Re?te=V(G,re,W,lt,de,be,Pe,ht,Ke,ze[ht]):te=z(G,re,W,Ae,lt,de,be,Pe,ht,Ke,ze[ht]),te!==void 0)return te}else if(ht<et){var pt;if(Re){if(pt=M(G,re,lt,de,be,Pe,tt),lt<pt){var vt=L(G,re,lt,pt,be,Pe,tt);if(re===G-2){if(lt<vt&&(te=y.sweepComplete(G,W,lt,vt,be,Pe,ht,et,Ke,ze),te!==void 0)||vt<pt&&(te=y.sweepBipartite(G,W,vt,pt,be,Pe,ht,et,Ke,ze),te!==void 0))return te}else lt<vt&&Y(le++,re+1,lt,vt,ht,et,16,-1/0,1/0),vt<pt&&(Y(le++,re+1,vt,pt,ht,et,0,-1/0,1/0),Y(le++,re+1,ht,et,vt,pt,1,-1/0,1/0))}}else Ae?pt=F(G,re,lt,de,be,Pe,tt):pt=M(G,re,lt,de,be,Pe,tt),lt<pt&&(re===G-2?Ae?te=y.sweepBipartite(G,W,ht,et,Ke,ze,lt,pt,be,Pe):te=y.sweepBipartite(G,W,lt,pt,be,Pe,ht,et,Ke,ze):(Y(le++,re+1,lt,pt,ht,et,Ae,-1/0,1/0),Y(le++,re+1,ht,et,lt,pt,Ae^1,-1/0,1/0)))}}}}}},2464:function(p,_,c){p.exports=x;var s=c(122),d=s("lo<p0"),f=8;function b(y,C,w,R,A,E){for(var k=2*y,L=k*(w+1)+C,I=w+1;I<R;++I,L+=k)for(var P=A[L],M=I,F=k*(I-1);M>w&&A[F+C]>P;--M,F-=k){for(var N=F,T=F+k,D=0;D<k;++D,++N,++T){var O=A[N];A[N]=A[T],A[T]=O}var U=E[M];E[M]=E[M-1],E[M-1]=U}}function x(y,C,w,R,A,E){if(R<=w+1)return w;for(var k=w,L=R,I=R+w>>>1,P=2*y,M=I,F=A[P*I+C];k<L;){if(L-k<f){b(y,C,k,L,A,E),F=A[P*I+C];break}var N=L-k,T=Math.random()*N+k|0,D=A[P*T+C],O=Math.random()*N+k|0,U=A[P*O+C],B=Math.random()*N+k|0,Y=A[P*B+C];D<=U?Y>=U?(M=O,F=U):D>=Y?(M=T,F=D):(M=B,F=Y):U>=Y?(M=O,F=U):Y>=D?(M=T,F=D):(M=B,F=Y);for(var j=P*(L-1),G=P*M,z=0;z<P;++z,++j,++G){var V=A[j];A[j]=A[G],A[G]=V}var W=E[L-1];E[L-1]=E[M],E[M]=W,M=d(y,C,k,L-1,A,E,F);for(var j=P*(L-1),G=P*M,z=0;z<P;++z,++j,++G){var V=A[j];A[j]=A[G],A[G]=V}var W=E[L-1];if(E[L-1]=E[M],E[M]=W,I<M){for(L=M-1;k<L&&A[P*(L-1)+C]===F;)L-=1;L+=1}else if(M<I)for(k=M+1;k<L&&A[P*k+C]===F;)k+=1;else break}return d(y,C,w,I,A,E,A[P*I+C])}},122:function(p){p.exports=c;var _={"lo===p0":s,"lo<p0":d,"lo<=p0":f,"hi<=p0":b,"lo<p0&&p0<=hi":y,"lo<=p0&&p0<=hi":x,"!(lo>=p0)&&!(p1>=hi)":C};function c(w){return _[w]}function s(w,R,A,E,k,L,I){for(var P=2*w,M=P*A,F=M,N=A,T=R,D=w+R,O=A;E>O;++O,M+=P){var U=k[M+T];if(U===I)if(N===O)N+=1,F+=P;else{for(var B=0;P>B;++B){var Y=k[M+B];k[M+B]=k[F],k[F++]=Y}var z=L[O];L[O]=L[N],L[N++]=z}}return N}function d(w,R,A,E,k,L,I){for(var P=2*w,M=P*A,F=M,N=A,T=R,D=w+R,O=A;E>O;++O,M+=P){var U=k[M+T];if(U<I)if(N===O)N+=1,F+=P;else{for(var B=0;P>B;++B){var Y=k[M+B];k[M+B]=k[F],k[F++]=Y}var z=L[O];L[O]=L[N],L[N++]=z}}return N}function f(w,R,A,E,k,L,I){for(var P=2*w,M=P*A,F=M,N=A,T=R,D=w+R,O=A;E>O;++O,M+=P){var U=k[M+D];if(U<=I)if(N===O)N+=1,F+=P;else{for(var B=0;P>B;++B){var Y=k[M+B];k[M+B]=k[F],k[F++]=Y}var z=L[O];L[O]=L[N],L[N++]=z}}return N}function b(w,R,A,E,k,L,I){for(var P=2*w,M=P*A,F=M,N=A,T=R,D=w+R,O=A;E>O;++O,M+=P){var U=k[M+D];if(U<=I)if(N===O)N+=1,F+=P;else{for(var B=0;P>B;++B){var Y=k[M+B];k[M+B]=k[F],k[F++]=Y}var z=L[O];L[O]=L[N],L[N++]=z}}return N}function x(w,R,A,E,k,L,I){for(var P=2*w,M=P*A,F=M,N=A,T=R,D=w+R,O=A;E>O;++O,M+=P){var U=k[M+T],B=k[M+D];if(U<=I&&I<=B)if(N===O)N+=1,F+=P;else{for(var Y=0;P>Y;++Y){var z=k[M+Y];k[M+Y]=k[F],k[F++]=z}var V=L[O];L[O]=L[N],L[N++]=V}}return N}function y(w,R,A,E,k,L,I){for(var P=2*w,M=P*A,F=M,N=A,T=R,D=w+R,O=A;E>O;++O,M+=P){var U=k[M+T],B=k[M+D];if(U<I&&I<=B)if(N===O)N+=1,F+=P;else{for(var Y=0;P>Y;++Y){var z=k[M+Y];k[M+Y]=k[F],k[F++]=z}var V=L[O];L[O]=L[N],L[N++]=V}}return N}function C(w,R,A,E,k,L,I,P){for(var M=2*w,F=M*A,N=F,T=A,D=R,O=w+R,U=A;E>U;++U,F+=M){var B=k[F+D],Y=k[F+O];if(!(B>=I)&&!(P>=Y))if(T===U)T+=1,N+=M;else{for(var z=0;M>z;++z){var V=k[F+z];k[F+z]=k[N],k[N++]=V}var j=L[U];L[U]=L[T],L[T++]=j}}return T}},309:function(p){p.exports=c;var _=32;function c(R,A){A<=4*_?s(0,A-1,R):w(0,A-1,R)}function s(R,A,E){for(var k=2*(R+1),L=R+1;L<=A;++L){for(var I=E[k++],P=E[k++],M=L,F=k-2;M-- >R;){var N=E[F-2],T=E[F-1];if(N<I)break;if(N===I&&T<P)break;E[F]=N,E[F+1]=T,F-=2}E[F]=I,E[F+1]=P}}function d(R,A,E){R*=2,A*=2;var k=E[R],L=E[R+1];E[R]=E[A],E[R+1]=E[A+1],E[A]=k,E[A+1]=L}function f(R,A,E){R*=2,A*=2,E[R]=E[A],E[R+1]=E[A+1]}function b(R,A,E,k){R*=2,A*=2,E*=2;var L=k[R],I=k[R+1];k[R]=k[A],k[R+1]=k[A+1],k[A]=k[E],k[A+1]=k[E+1],k[E]=L,k[E+1]=I}function x(R,A,E,k,L){R*=2,A*=2,L[R]=L[A],L[A]=E,L[R+1]=L[A+1],L[A+1]=k}function y(R,A,E){R*=2,A*=2;var k=E[R],L=E[A];return k<L?!1:k===L?E[R+1]>E[A+1]:!0}function C(R,A,E,k){R*=2;var L=k[R];return L<A?!0:L===A?k[R+1]<E:!1}function w(R,A,E){var k=(A-R+1)/6|0,L=R+k,I=A-k,P=R+A>>1,M=P-k,F=P+k,N=L,T=M,D=P,O=F,U=I,B=R+1,Y=A-1,z=0;y(N,T,E)&&(z=N,N=T,T=z),y(O,U,E)&&(z=O,O=U,U=z),y(N,D,E)&&(z=N,N=D,D=z),y(T,D,E)&&(z=T,T=D,D=z),y(N,O,E)&&(z=N,N=O,O=z),y(D,O,E)&&(z=D,D=O,O=z),y(T,U,E)&&(z=T,T=U,U=z),y(T,D,E)&&(z=T,T=D,D=z),y(O,U,E)&&(z=O,O=U,U=z);for(var V=E[2*T],j=E[2*T+1],G=E[2*O],W=E[2*O+1],X=2*N,Q=2*D,ae=2*U,ie=2*L,he=2*P,J=2*I,Z=0;Z<2;++Z){var le=E[X+Z],K=E[Q+Z],te=E[ae+Z];E[ie+Z]=le,E[he+Z]=K,E[J+Z]=te}f(M,R,E),f(F,A,E);for(var ce=B;ce<=Y;++ce)if(C(ce,V,j,E))ce!==B&&d(ce,B,E),++B;else if(!C(ce,G,W,E))for(;;)if(C(Y,G,W,E)){C(Y,V,j,E)?(b(ce,B,Y,E),++B,--Y):(d(ce,Y,E),--Y);break}else{if(--Y<ce)break;continue}x(R,B-1,V,j,E),x(A,Y+1,G,W,E),B-2-R<=_?s(R,B-2,E):w(R,B-2,E),A-(Y+2)<=_?s(Y+2,A,E):w(Y+2,A,E),Y-B<=_?s(B,Y,E):w(B,Y,E)}},1390:function(p,_,c){p.exports={init:L,sweepBipartite:M,sweepComplete:F,scanBipartite:N,scanComplete:T};var s=c(5306),d=c(2288),f=c(309),b=1<<28,x=1024,y=s.mallocInt32(x),C=s.mallocInt32(x),w=s.mallocInt32(x),R=s.mallocInt32(x),A=s.mallocInt32(x),E=s.mallocInt32(x),k=s.mallocDouble(x*8);function L(D){var O=d.nextPow2(D);y.length<O&&(s.free(y),y=s.mallocInt32(O)),C.length<O&&(s.free(C),C=s.mallocInt32(O)),w.length<O&&(s.free(w),w=s.mallocInt32(O)),R.length<O&&(s.free(R),R=s.mallocInt32(O)),A.length<O&&(s.free(A),A=s.mallocInt32(O)),E.length<O&&(s.free(E),E=s.mallocInt32(O));var U=8*O;k.length<U&&(s.free(k),k=s.mallocDouble(U))}function I(D,O,U,B){var Y=O[B],z=D[U-1];D[Y]=z,O[z]=Y}function P(D,O,U,B){D[U]=B,O[B]=U}function M(D,O,U,B,Y,z,V,j,G,W){for(var X=0,Q=2*D,ae=D-1,ie=Q-1,he=U;he<B;++he){var J=z[he],Z=Q*he;k[X++]=Y[Z+ae],k[X++]=-(J+1),k[X++]=Y[Z+ie],k[X++]=J}for(var he=V;he<j;++he){var J=W[he]+b,le=Q*he;k[X++]=G[le+ae],k[X++]=-J,k[X++]=G[le+ie],k[X++]=J}var K=X>>>1;f(k,K);for(var te=0,ce=0,he=0;he<K;++he){var re=k[2*he+1]|0;if(re>=b)re=re-b|0,I(w,R,ce--,re);else if(re>=0)I(y,C,te--,re);else if(re<=-b){re=-re-b|0;for(var ee=0;ee<te;++ee){var de=O(y[ee],re);if(de!==void 0)return de}P(w,R,ce++,re)}else{re=-re-1|0;for(var ee=0;ee<ce;++ee){var de=O(re,w[ee]);if(de!==void 0)return de}P(y,C,te++,re)}}}function F(D,O,U,B,Y,z,V,j,G,W){for(var X=0,Q=2*D,ae=D-1,ie=Q-1,he=U;he<B;++he){var J=z[he]+1<<1,Z=Q*he;k[X++]=Y[Z+ae],k[X++]=-J,k[X++]=Y[Z+ie],k[X++]=J}for(var he=V;he<j;++he){var J=W[he]+1<<1,le=Q*he;k[X++]=G[le+ae],k[X++]=-J|1,k[X++]=G[le+ie],k[X++]=J|1}var K=X>>>1;f(k,K);for(var te=0,ce=0,re=0,he=0;he<K;++he){var ee=k[2*he+1]|0,de=ee&1;if(he<K-1&&ee>>1===k[2*he+3]>>1&&(de=2,he+=1),ee<0){for(var oe=-(ee>>1)-1,fe=0;fe<re;++fe){var me=O(A[fe],oe);if(me!==void 0)return me}if(de!==0)for(var fe=0;fe<te;++fe){var me=O(y[fe],oe);if(me!==void 0)return me}if(de!==1)for(var fe=0;fe<ce;++fe){var me=O(w[fe],oe);if(me!==void 0)return me}de===0?P(y,C,te++,oe):de===1?P(w,R,ce++,oe):de===2&&P(A,E,re++,oe)}else{var oe=(ee>>1)-1;de===0?I(y,C,te--,oe):de===1?I(w,R,ce--,oe):de===2&&I(A,E,re--,oe)}}}function N(D,O,U,B,Y,z,V,j,G,W,X,Q){var ae=0,ie=2*D,he=O,J=O+D,Z=1,le=1;B?le=b:Z=b;for(var K=Y;K<z;++K){var te=K+Z,ce=ie*K;k[ae++]=V[ce+he],k[ae++]=-te,k[ae++]=V[ce+J],k[ae++]=te}for(var K=G;K<W;++K){var te=K+le,re=ie*K;k[ae++]=X[re+he],k[ae++]=-te}var ee=ae>>>1;f(k,ee);for(var de=0,K=0;K<ee;++K){var oe=k[2*K+1]|0;if(oe<0){var te=-oe,fe=!1;if(te>=b?(fe=!B,te-=b):(fe=!!B,te-=1),fe)P(y,C,de++,te);else{var me=Q[te],Te=ie*te,we=X[Te+O+1],Be=X[Te+O+1+D];e:for(var Ae=0;Ae<de;++Ae){var Re=y[Ae],be=ie*Re;if(!(Be<V[be+O+1]||V[be+O+1+D]<we)){for(var Pe=O+2;Pe<D;++Pe)if(X[Te+Pe+D]<V[be+Pe]||V[be+Pe+D]<X[Te+Pe])continue e;var Ke=j[Re],ze;if(B?ze=U(me,Ke):ze=U(Ke,me),ze!==void 0)return ze}}}}else I(y,C,de--,oe-Z)}}function T(D,O,U,B,Y,z,V,j,G,W,X){for(var Q=0,ae=2*D,ie=O,he=O+D,J=B;J<Y;++J){var Z=J+b,le=ae*J;k[Q++]=z[le+ie],k[Q++]=-Z,k[Q++]=z[le+he],k[Q++]=Z}for(var J=j;J<G;++J){var Z=J+1,K=ae*J;k[Q++]=W[K+ie],k[Q++]=-Z}var te=Q>>>1;f(k,te);for(var ce=0,J=0;J<te;++J){var re=k[2*J+1]|0;if(re<0){var Z=-re;if(Z>=b)y[ce++]=Z-b;else{Z-=1;var ee=X[Z],de=ae*Z,oe=W[de+O+1],fe=W[de+O+1+D];e:for(var me=0;me<ce;++me){var Te=y[me],we=V[Te];if(we===ee)break;var Be=ae*Te;if(!(fe<z[Be+O+1]||z[Be+O+1+D]<oe)){for(var Ae=O+2;Ae<D;++Ae)if(W[de+Ae+D]<z[Be+Ae]||z[Be+Ae+D]<W[de+Ae])continue e;var Re=U(we,ee);if(Re!==void 0)return Re}}}}else{for(var Z=re-b,me=ce-1;me>=0;--me)if(y[me]===Z){for(var Ae=me+1;Ae<ce;++Ae)y[Ae-1]=y[Ae];break}--ce}}}},7761:function(p,_,c){var s=c(9971),d=c(743),f=c(2161),b=c(7098);p.exports=R;function x(A){return[Math.min(A[0],A[1]),Math.max(A[0],A[1])]}function y(A,E){return A[0]-E[0]||A[1]-E[1]}function C(A){return A.map(x).sort(y)}function w(A,E,k){return E in A?A[E]:k}function R(A,E,k){Array.isArray(E)?(k=k||{},E=E||[]):(k=E||{},E=[]);var L=!!w(k,"delaunay",!0),I=!!w(k,"interior",!0),P=!!w(k,"exterior",!0),M=!!w(k,"infinity",!1);if(!I&&!P||A.length===0)return[];var F=s(A,E);if(L||I!==P||M){for(var N=d(A.length,C(E)),T=0;T<F.length;++T){var D=F[T];N.addTriangle(D[0],D[1],D[2])}return L&&f(A,N),P?I?M?b(N,0,M):N.cells():b(N,1,M):b(N,-1)}else return F}},2161:function(p,_,c){var s=c(2227)[4];c(5070),p.exports=f;function d(b,x,y,C,w,R){var A=x.opposite(C,w);if(!(A<0)){if(w<C){var E=C;C=w,w=E,E=R,R=A,A=E}x.isConstraint(C,w)||s(b[C],b[w],b[R],b[A])<0&&y.push(C,w)}}function f(b,x){for(var y=[],C=b.length,w=x.stars,R=0;R<C;++R)for(var A=w[R],E=1;E<A.length;E+=2){var k=A[E];if(!(k<R)&&!x.isConstraint(R,k)){for(var L=A[E-1],I=-1,P=1;P<A.length;P+=2)if(A[P-1]===k){I=A[P];break}I<0||s(b[R],b[k],b[L],b[I])<0&&y.push(R,k)}}for(;y.length>0;){for(var k=y.pop(),R=y.pop(),L=-1,I=-1,A=w[R],M=1;M<A.length;M+=2){var F=A[M-1],N=A[M];F===k?I=N:N===k&&(L=F)}L<0||I<0||s(b[R],b[k],b[L],b[I])>=0||(x.flip(R,k),d(b,x,y,L,R,I),d(b,x,y,R,I,L),d(b,x,y,I,k,L),d(b,x,y,k,L,I))}}},7098:function(p,_,c){var s=c(5070);p.exports=C;function d(w,R,A,E,k,L,I){this.cells=w,this.neighbor=R,this.flags=E,this.constraint=A,this.active=k,this.next=L,this.boundary=I}var f=d.prototype;function b(w,R){return w[0]-R[0]||w[1]-R[1]||w[2]-R[2]}f.locate=function(){var w=[0,0,0];return function(R,A,E){var k=R,L=A,I=E;return A<E?A<R&&(k=A,L=E,I=R):E<R&&(k=E,L=R,I=A),k<0?-1:(w[0]=k,w[1]=L,w[2]=I,s.eq(this.cells,w,b))}}();function x(w,R){for(var A=w.cells(),E=A.length,k=0;k<E;++k){var L=A[k],I=L[0],P=L[1],M=L[2];P<M?P<I&&(L[0]=P,L[1]=M,L[2]=I):M<I&&(L[0]=M,L[1]=I,L[2]=P)}A.sort(b);for(var F=new Array(E),k=0;k<F.length;++k)F[k]=0;var N=[],T=[],D=new Array(3*E),O=new Array(3*E),U=null;R&&(U=[]);for(var B=new d(A,D,O,F,N,T,U),k=0;k<E;++k)for(var L=A[k],Y=0;Y<3;++Y){var I=L[Y],P=L[(Y+1)%3],z=D[3*k+Y]=B.locate(P,I,w.opposite(P,I)),V=O[3*k+Y]=w.isConstraint(I,P);z<0&&(V?T.push(k):(N.push(k),F[k]=1),R&&U.push([P,I,-1]))}return B}function y(w,R,A){for(var E=0,k=0;k<w.length;++k)R[k]===A&&(w[E++]=w[k]);return w.length=E,w}function C(w,R,A){var E=x(w,A);if(R===0)return A?E.cells.concat(E.boundary):E.cells;for(var k=1,L=E.active,I=E.next,P=E.flags,M=E.cells,F=E.constraint,N=E.neighbor;L.length>0||I.length>0;){for(;L.length>0;){var T=L.pop();if(P[T]!==-k){P[T]=k,M[T];for(var D=0;D<3;++D){var O=N[3*T+D];O>=0&&P[O]===0&&(F[3*T+D]?I.push(O):(L.push(O),P[O]=k))}}}var U=I;I=L,L=U,I.length=0,k=-k}var B=y(M,P,R);return A?B.concat(E.boundary):B}},9971:function(p,_,c){var s=c(5070),d=c(417)[3],f=0,b=1,x=2;p.exports=I;function y(P,M,F,N,T){this.a=P,this.b=M,this.idx=F,this.lowerIds=N,this.upperIds=T}function C(P,M,F,N){this.a=P,this.b=M,this.type=F,this.idx=N}function w(P,M){var F=P.a[0]-M.a[0]||P.a[1]-M.a[1]||P.type-M.type;return F||P.type!==f&&(F=d(P.a,P.b,M.b),F)?F:P.idx-M.idx}function R(P,M){return d(P.a,P.b,M)}function A(P,M,F,N,T){for(var D=s.lt(M,N,R),O=s.gt(M,N,R),U=D;U<O;++U){for(var B=M[U],Y=B.lowerIds,V=Y.length;V>1&&d(F[Y[V-2]],F[Y[V-1]],N)>0;)P.push([Y[V-1],Y[V-2],T]),V-=1;Y.length=V,Y.push(T);for(var z=B.upperIds,V=z.length;V>1&&d(F[z[V-2]],F[z[V-1]],N)<0;)P.push([z[V-2],z[V-1],T]),V-=1;z.length=V,z.push(T)}}function E(P,M){var F;return P.a[0]<M.a[0]?F=d(P.a,P.b,M.a):F=d(M.b,M.a,P.a),F||(M.b[0]<P.b[0]?F=d(P.a,P.b,M.b):F=d(M.b,M.a,P.b),F||P.idx-M.idx)}function k(P,M,F){var N=s.le(P,F,E),T=P[N],D=T.upperIds,O=D[D.length-1];T.upperIds=[O],P.splice(N+1,0,new y(F.a,F.b,F.idx,[O],D))}function L(P,M,F){var N=F.a;F.a=F.b,F.b=N;var T=s.eq(P,F,E),D=P[T],O=P[T-1];O.upperIds=D.upperIds,P.splice(T,1)}function I(P,M){for(var F=P.length,N=M.length,T=[],D=0;D<F;++D)T.push(new C(P[D],null,f,D));for(var D=0;D<N;++D){var O=M[D],U=P[O[0]],B=P[O[1]];U[0]<B[0]?T.push(new C(U,B,x,D),new C(B,U,b,D)):U[0]>B[0]&&T.push(new C(B,U,x,D),new C(U,B,b,D))}T.sort(w);for(var Y=T[0].a[0]-(1+Math.abs(T[0].a[0]))*Math.pow(2,-52),z=[new y([Y,1],[Y,0],-1,[],[])],V=[],D=0,j=T.length;D<j;++D){var G=T[D],W=G.type;W===f?A(V,z,P,G.a,G.idx):W===x?k(z,P,G):L(z,P,G)}return V}},743:function(p,_,c){var s=c(5070);p.exports=x;function d(y,C){this.stars=y,this.edges=C}var f=d.prototype;function b(y,C,w){for(var R=1,A=y.length;R<A;R+=2)if(y[R-1]===C&&y[R]===w){y[R-1]=y[A-2],y[R]=y[A-1],y.length=A-2;return}}f.isConstraint=function(){var y=[0,0];function C(w,R){return w[0]-R[0]||w[1]-R[1]}return function(w,R){return y[0]=Math.min(w,R),y[1]=Math.max(w,R),s.eq(this.edges,y,C)>=0}}(),f.removeTriangle=function(y,C,w){var R=this.stars;b(R[y],C,w),b(R[C],w,y),b(R[w],y,C)},f.addTriangle=function(y,C,w){var R=this.stars;R[y].push(C,w),R[C].push(w,y),R[w].push(y,C)},f.opposite=function(y,C){for(var w=this.stars[C],R=1,A=w.length;R<A;R+=2)if(w[R]===y)return w[R-1];return-1},f.flip=function(y,C){var w=this.opposite(y,C),R=this.opposite(C,y);this.removeTriangle(y,C,w),this.removeTriangle(C,y,R),this.addTriangle(y,R,w),this.addTriangle(C,w,R)},f.edges=function(){for(var y=this.stars,C=[],w=0,R=y.length;w<R;++w)for(var A=y[w],E=0,k=A.length;E<k;E+=2)C.push([A[E],A[E+1]]);return C},f.cells=function(){for(var y=this.stars,C=[],w=0,R=y.length;w<R;++w)for(var A=y[w],E=0,k=A.length;E<k;E+=2){var L=A[E],I=A[E+1];w<Math.min(L,I)&&C.push([w,L,I])}return C};function x(y,C){for(var w=new Array(y),R=0;R<y;++R)w[R]=[];return new d(w,C)}},9887:function(p){p.exports=_;function _(c){for(var s=1,d=1;d<c.length;++d)for(var f=0;f<d;++f)if(c[d]<c[f])s=-s;else if(c[f]===c[d])return 0;return s}},9243:function(p,_,c){var s=c(3094),d=c(6606);function f(y,C){for(var w=0,R=y.length,A=0;A<R;++A)w+=y[A]*C[A];return w}function b(y){var C=y.length;if(C===0)return[];y[0].length;var w=s([y.length+1,y.length+1],1),R=s([y.length+1],1);w[C][C]=0;for(var A=0;A<C;++A){for(var E=0;E<=A;++E)w[E][A]=w[A][E]=2*f(y[A],y[E]);R[A]=f(y[A],y[A])}for(var k=d(w,R),L=0,I=k[C+1],A=0;A<I.length;++A)L+=I[A];for(var P=new Array(C),A=0;A<C;++A){for(var I=k[A],M=0,E=0;E<I.length;++E)M+=I[E];P[A]=M/L}return P}function x(y){if(y.length===0)return[];for(var C=y[0].length,w=s([C]),R=b(y),A=0;A<y.length;++A)for(var E=0;E<C;++E)w[E]+=y[A][E]*R[A];return w}x.barycenetric=b,p.exports=x},1778:function(p,_,c){p.exports=d;var s=c(9243);function d(f){for(var b=s(f),x=0,y=0;y<f.length;++y)for(var C=f[y],w=0;w<b.length;++w)x+=Math.pow(C[w]-b[w],2);return Math.sqrt(x/f.length)}},197:function(p,_,c){p.exports=U;var s=c(1731),d=c(2569),f=c(4434),b=c(5125),x=c(8846),y=c(7999),C=c(2826),w=c(8551),R=c(5528);function A(B){var Y=y(B);return[w(Y,-1/0),w(Y,1/0)]}function E(B,Y){for(var z=new Array(Y.length),V=0;V<Y.length;++V){var j=Y[V],G=B[j[0]],W=B[j[1]];z[V]=[w(Math.min(G[0],W[0]),-1/0),w(Math.min(G[1],W[1]),-1/0),w(Math.max(G[0],W[0]),1/0),w(Math.max(G[1],W[1]),1/0)]}return z}function k(B){for(var Y=new Array(B.length),z=0;z<B.length;++z){var V=B[z];Y[z]=[w(V[0],-1/0),w(V[1],-1/0),w(V[0],1/0),w(V[1],1/0)]}return Y}function L(B,Y,z){var V=[];return d(z,function(j,G){var W=Y[j],X=Y[G];if(!(W[0]===X[0]||W[0]===X[1]||W[1]===X[0]||W[1]===X[1])){var Q=B[W[0]],ae=B[W[1]],ie=B[X[0]],he=B[X[1]];f(Q,ae,ie,he)&&V.push([j,G])}}),V}function I(B,Y,z,V){var j=[];return d(z,V,function(G,W){var X=Y[G];if(!(X[0]===W||X[1]===W)){var Q=B[W],ae=B[X[0]],ie=B[X[1]];f(ae,ie,Q,Q)&&j.push([G,W])}}),j}function P(B,Y,z,V,j){var G,W,X=B.map(function(Te){return[b(Te[0]),b(Te[1])]});for(G=0;G<z.length;++G){var Q=z[G];W=Q[0];var ae=Q[1],ie=Y[W],he=Y[ae],J=R(C(B[ie[0]]),C(B[ie[1]]),C(B[he[0]]),C(B[he[1]]));if(J){var Z=B.length;B.push([y(J[0]),y(J[1])]),X.push(J),V.push([W,Z],[ae,Z])}}for(V.sort(function(Te,we){if(Te[0]!==we[0])return Te[0]-we[0];var Be=X[Te[1]],Ae=X[we[1]];return x(Be[0],Ae[0])||x(Be[1],Ae[1])}),G=V.length-1;G>=0;--G){var le=V[G];W=le[0];var K=Y[W],te=K[0],ce=K[1],re=B[te],ee=B[ce];if((re[0]-ee[0]||re[1]-ee[1])<0){var de=te;te=ce,ce=de}K[0]=te;var oe=K[1]=le[1],fe;for(j&&(fe=K[2]);G>0&&V[G-1][0]===W;){var le=V[--G],me=le[1];j?Y.push([oe,me,fe]):Y.push([oe,me]),oe=me}j?Y.push([oe,ce,fe]):Y.push([oe,ce])}return X}function M(B,Y,z){for(var V=Y.length,j=new s(V),G=[],W=0;W<Y.length;++W){var X=Y[W],Q=A(X[0]),ae=A(X[1]);G.push([w(Q[0],-1/0),w(ae[0],-1/0),w(Q[1],1/0),w(ae[1],1/0)])}d(G,function(le,K){j.link(le,K)});for(var ie=!0,he=new Array(V),W=0;W<V;++W){var J=j.find(W);J!==W&&(ie=!1,B[J]=[Math.min(B[W][0],B[J][0]),Math.min(B[W][1],B[J][1])])}if(ie)return null;for(var Z=0,W=0;W<V;++W){var J=j.find(W);J===W?(he[W]=Z,B[Z++]=B[W]):he[W]=-1}B.length=Z;for(var W=0;W<V;++W)he[W]<0&&(he[W]=he[j.find(W)]);return he}function F(B,Y){return B[0]-Y[0]||B[1]-Y[1]}function N(B,Y){var z=B[0]-Y[0]||B[1]-Y[1];return z||(B[2]<Y[2]?-1:B[2]>Y[2]?1:0)}function T(B,Y,z){if(B.length!==0){if(Y)for(var V=0;V<B.length;++V){var j=B[V],G=Y[j[0]],W=Y[j[1]];j[0]=Math.min(G,W),j[1]=Math.max(G,W)}else for(var V=0;V<B.length;++V){var j=B[V],G=j[0],W=j[1];j[0]=Math.min(G,W),j[1]=Math.max(G,W)}z?B.sort(N):B.sort(F);for(var X=1,V=1;V<B.length;++V){var Q=B[V-1],ae=B[V];ae[0]===Q[0]&&ae[1]===Q[1]&&(!z||ae[2]===Q[2])||(B[X++]=ae)}B.length=X}}function D(B,Y,z){var V=M(B,[],k(B));return T(Y,V,z),!!V}function O(B,Y,z){var V=E(B,Y),j=L(B,Y,V),G=k(B),W=I(B,Y,V,G),X=P(B,Y,j,W,z),Q=M(B,X);return T(Y,Q,z),Q?!0:j.length>0||W.length>0}function U(B,Y,z){var V;if(z){V=Y;for(var j=new Array(Y.length),G=0;G<Y.length;++G){var W=Y[G];j[G]=[W[0],W[1],z[G]]}Y=j}for(var X=D(B,Y,!!z);O(B,Y,!!z);)X=!0;if(z&&X){V.length=0,z.length=0;for(var G=0;G<Y.length;++G){var W=Y[G];V.push([W[0],W[1]]),z.push(W[2])}}return X}},5528:function(p,_,c){p.exports=R;var s=c(3962),d=c(9189),f=c(4354),b=c(4951),x=c(6695),y=c(7584),C=c(4469);function w(A,E){return f(s(A[0],E[1]),s(A[1],E[0]))}function R(A,E,k,L){var I=x(E,A),P=x(L,k),M=w(I,P);if(b(M)===0)return null;var F=x(A,k),N=w(P,F),T=d(N,M),D=C(I,T),O=y(A,D);return O}},5692:function(p){p.exports={jet:[{index:0,rgb:[0,0,131]},{index:.125,rgb:[0,60,170]},{index:.375,rgb:[5,255,255]},{index:.625,rgb:[255,255,0]},{index:.875,rgb:[250,0,0]},{index:1,rgb:[128,0,0]}],hsv:[{index:0,rgb:[255,0,0]},{index:.169,rgb:[253,255,2]},{index:.173,rgb:[247,255,2]},{index:.337,rgb:[0,252,4]},{index:.341,rgb:[0,252,10]},{index:.506,rgb:[1,249,255]},{index:.671,rgb:[2,0,253]},{index:.675,rgb:[8,0,253]},{index:.839,rgb:[255,0,251]},{index:.843,rgb:[255,0,245]},{index:1,rgb:[255,0,6]}],hot:[{index:0,rgb:[0,0,0]},{index:.3,rgb:[230,0,0]},{index:.6,rgb:[255,210,0]},{index:1,rgb:[255,255,255]}],spring:[{index:0,rgb:[255,0,255]},{index:1,rgb:[255,255,0]}],summer:[{index:0,rgb:[0,128,102]},{index:1,rgb:[255,255,102]}],autumn:[{index:0,rgb:[255,0,0]},{index:1,rgb:[255,255,0]}],winter:[{index:0,rgb:[0,0,255]},{index:1,rgb:[0,255,128]}],bone:[{index:0,rgb:[0,0,0]},{index:.376,rgb:[84,84,116]},{index:.753,rgb:[169,200,200]},{index:1,rgb:[255,255,255]}],copper:[{index:0,rgb:[0,0,0]},{index:.804,rgb:[255,160,102]},{index:1,rgb:[255,199,127]}],greys:[{index:0,rgb:[0,0,0]},{index:1,rgb:[255,255,255]}],yignbu:[{index:0,rgb:[8,29,88]},{index:.125,rgb:[37,52,148]},{index:.25,rgb:[34,94,168]},{index:.375,rgb:[29,145,192]},{index:.5,rgb:[65,182,196]},{index:.625,rgb:[127,205,187]},{index:.75,rgb:[199,233,180]},{index:.875,rgb:[237,248,217]},{index:1,rgb:[255,255,217]}],greens:[{index:0,rgb:[0,68,27]},{index:.125,rgb:[0,109,44]},{index:.25,rgb:[35,139,69]},{index:.375,rgb:[65,171,93]},{index:.5,rgb:[116,196,118]},{index:.625,rgb:[161,217,155]},{index:.75,rgb:[199,233,192]},{index:.875,rgb:[229,245,224]},{index:1,rgb:[247,252,245]}],yiorrd:[{index:0,rgb:[128,0,38]},{index:.125,rgb:[189,0,38]},{index:.25,rgb:[227,26,28]},{index:.375,rgb:[252,78,42]},{index:.5,rgb:[253,141,60]},{index:.625,rgb:[254,178,76]},{index:.75,rgb:[254,217,118]},{index:.875,rgb:[255,237,160]},{index:1,rgb:[255,255,204]}],bluered:[{index:0,rgb:[0,0,255]},{index:1,rgb:[255,0,0]}],rdbu:[{index:0,rgb:[5,10,172]},{index:.35,rgb:[106,137,247]},{index:.5,rgb:[190,190,190]},{index:.6,rgb:[220,170,132]},{index:.7,rgb:[230,145,90]},{index:1,rgb:[178,10,28]}],picnic:[{index:0,rgb:[0,0,255]},{index:.1,rgb:[51,153,255]},{index:.2,rgb:[102,204,255]},{index:.3,rgb:[153,204,255]},{index:.4,rgb:[204,204,255]},{index:.5,rgb:[255,255,255]},{index:.6,rgb:[255,204,255]},{index:.7,rgb:[255,153,255]},{index:.8,rgb:[255,102,204]},{index:.9,rgb:[255,102,102]},{index:1,rgb:[255,0,0]}],rainbow:[{index:0,rgb:[150,0,90]},{index:.125,rgb:[0,0,200]},{index:.25,rgb:[0,25,255]},{index:.375,rgb:[0,152,255]},{index:.5,rgb:[44,255,150]},{index:.625,rgb:[151,255,0]},{index:.75,rgb:[255,234,0]},{index:.875,rgb:[255,111,0]},{index:1,rgb:[255,0,0]}],portland:[{index:0,rgb:[12,51,131]},{index:.25,rgb:[10,136,186]},{index:.5,rgb:[242,211,56]},{index:.75,rgb:[242,143,56]},{index:1,rgb:[217,30,30]}],blackbody:[{index:0,rgb:[0,0,0]},{index:.2,rgb:[230,0,0]},{index:.4,rgb:[230,210,0]},{index:.7,rgb:[255,255,255]},{index:1,rgb:[160,200,255]}],earth:[{index:0,rgb:[0,0,130]},{index:.1,rgb:[0,180,180]},{index:.2,rgb:[40,210,40]},{index:.4,rgb:[230,230,50]},{index:.6,rgb:[120,70,20]},{index:1,rgb:[255,255,255]}],electric:[{index:0,rgb:[0,0,0]},{index:.15,rgb:[30,0,100]},{index:.4,rgb:[120,0,100]},{index:.6,rgb:[160,90,0]},{index:.8,rgb:[230,200,0]},{index:1,rgb:[255,250,220]}],alpha:[{index:0,rgb:[255,255,255,0]},{index:1,rgb:[255,255,255,1]}],viridis:[{index:0,rgb:[68,1,84]},{index:.13,rgb:[71,44,122]},{index:.25,rgb:[59,81,139]},{index:.38,rgb:[44,113,142]},{index:.5,rgb:[33,144,141]},{index:.63,rgb:[39,173,129]},{index:.75,rgb:[92,200,99]},{index:.88,rgb:[170,220,50]},{index:1,rgb:[253,231,37]}],inferno:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[31,12,72]},{index:.25,rgb:[85,15,109]},{index:.38,rgb:[136,34,106]},{index:.5,rgb:[186,54,85]},{index:.63,rgb:[227,89,51]},{index:.75,rgb:[249,140,10]},{index:.88,rgb:[249,201,50]},{index:1,rgb:[252,255,164]}],magma:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[28,16,68]},{index:.25,rgb:[79,18,123]},{index:.38,rgb:[129,37,129]},{index:.5,rgb:[181,54,122]},{index:.63,rgb:[229,80,100]},{index:.75,rgb:[251,135,97]},{index:.88,rgb:[254,194,135]},{index:1,rgb:[252,253,191]}],plasma:[{index:0,rgb:[13,8,135]},{index:.13,rgb:[75,3,161]},{index:.25,rgb:[125,3,168]},{index:.38,rgb:[168,34,150]},{index:.5,rgb:[203,70,121]},{index:.63,rgb:[229,107,93]},{index:.75,rgb:[248,148,65]},{index:.88,rgb:[253,195,40]},{index:1,rgb:[240,249,33]}],warm:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[172,0,187]},{index:.25,rgb:[219,0,170]},{index:.38,rgb:[255,0,130]},{index:.5,rgb:[255,63,74]},{index:.63,rgb:[255,123,0]},{index:.75,rgb:[234,176,0]},{index:.88,rgb:[190,228,0]},{index:1,rgb:[147,255,0]}],cool:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[116,0,218]},{index:.25,rgb:[98,74,237]},{index:.38,rgb:[68,146,231]},{index:.5,rgb:[0,204,197]},{index:.63,rgb:[0,247,146]},{index:.75,rgb:[0,255,88]},{index:.88,rgb:[40,255,8]},{index:1,rgb:[147,255,0]}],"rainbow-soft":[{index:0,rgb:[125,0,179]},{index:.1,rgb:[199,0,180]},{index:.2,rgb:[255,0,121]},{index:.3,rgb:[255,108,0]},{index:.4,rgb:[222,194,0]},{index:.5,rgb:[150,255,0]},{index:.6,rgb:[0,255,55]},{index:.7,rgb:[0,246,150]},{index:.8,rgb:[50,167,222]},{index:.9,rgb:[103,51,235]},{index:1,rgb:[124,0,186]}],bathymetry:[{index:0,rgb:[40,26,44]},{index:.13,rgb:[59,49,90]},{index:.25,rgb:[64,76,139]},{index:.38,rgb:[63,110,151]},{index:.5,rgb:[72,142,158]},{index:.63,rgb:[85,174,163]},{index:.75,rgb:[120,206,163]},{index:.88,rgb:[187,230,172]},{index:1,rgb:[253,254,204]}],cdom:[{index:0,rgb:[47,15,62]},{index:.13,rgb:[87,23,86]},{index:.25,rgb:[130,28,99]},{index:.38,rgb:[171,41,96]},{index:.5,rgb:[206,67,86]},{index:.63,rgb:[230,106,84]},{index:.75,rgb:[242,149,103]},{index:.88,rgb:[249,193,135]},{index:1,rgb:[254,237,176]}],chlorophyll:[{index:0,rgb:[18,36,20]},{index:.13,rgb:[25,63,41]},{index:.25,rgb:[24,91,59]},{index:.38,rgb:[13,119,72]},{index:.5,rgb:[18,148,80]},{index:.63,rgb:[80,173,89]},{index:.75,rgb:[132,196,122]},{index:.88,rgb:[175,221,162]},{index:1,rgb:[215,249,208]}],density:[{index:0,rgb:[54,14,36]},{index:.13,rgb:[89,23,80]},{index:.25,rgb:[110,45,132]},{index:.38,rgb:[120,77,178]},{index:.5,rgb:[120,113,213]},{index:.63,rgb:[115,151,228]},{index:.75,rgb:[134,185,227]},{index:.88,rgb:[177,214,227]},{index:1,rgb:[230,241,241]}],"freesurface-blue":[{index:0,rgb:[30,4,110]},{index:.13,rgb:[47,14,176]},{index:.25,rgb:[41,45,236]},{index:.38,rgb:[25,99,212]},{index:.5,rgb:[68,131,200]},{index:.63,rgb:[114,156,197]},{index:.75,rgb:[157,181,203]},{index:.88,rgb:[200,208,216]},{index:1,rgb:[241,237,236]}],"freesurface-red":[{index:0,rgb:[60,9,18]},{index:.13,rgb:[100,17,27]},{index:.25,rgb:[142,20,29]},{index:.38,rgb:[177,43,27]},{index:.5,rgb:[192,87,63]},{index:.63,rgb:[205,125,105]},{index:.75,rgb:[216,162,148]},{index:.88,rgb:[227,199,193]},{index:1,rgb:[241,237,236]}],oxygen:[{index:0,rgb:[64,5,5]},{index:.13,rgb:[106,6,15]},{index:.25,rgb:[144,26,7]},{index:.38,rgb:[168,64,3]},{index:.5,rgb:[188,100,4]},{index:.63,rgb:[206,136,11]},{index:.75,rgb:[220,174,25]},{index:.88,rgb:[231,215,44]},{index:1,rgb:[248,254,105]}],par:[{index:0,rgb:[51,20,24]},{index:.13,rgb:[90,32,35]},{index:.25,rgb:[129,44,34]},{index:.38,rgb:[159,68,25]},{index:.5,rgb:[182,99,19]},{index:.63,rgb:[199,134,22]},{index:.75,rgb:[212,171,35]},{index:.88,rgb:[221,210,54]},{index:1,rgb:[225,253,75]}],phase:[{index:0,rgb:[145,105,18]},{index:.13,rgb:[184,71,38]},{index:.25,rgb:[186,58,115]},{index:.38,rgb:[160,71,185]},{index:.5,rgb:[110,97,218]},{index:.63,rgb:[50,123,164]},{index:.75,rgb:[31,131,110]},{index:.88,rgb:[77,129,34]},{index:1,rgb:[145,105,18]}],salinity:[{index:0,rgb:[42,24,108]},{index:.13,rgb:[33,50,162]},{index:.25,rgb:[15,90,145]},{index:.38,rgb:[40,118,137]},{index:.5,rgb:[59,146,135]},{index:.63,rgb:[79,175,126]},{index:.75,rgb:[120,203,104]},{index:.88,rgb:[193,221,100]},{index:1,rgb:[253,239,154]}],temperature:[{index:0,rgb:[4,35,51]},{index:.13,rgb:[23,51,122]},{index:.25,rgb:[85,59,157]},{index:.38,rgb:[129,79,143]},{index:.5,rgb:[175,95,130]},{index:.63,rgb:[222,112,101]},{index:.75,rgb:[249,146,66]},{index:.88,rgb:[249,196,65]},{index:1,rgb:[232,250,91]}],turbidity:[{index:0,rgb:[34,31,27]},{index:.13,rgb:[65,50,41]},{index:.25,rgb:[98,69,52]},{index:.38,rgb:[131,89,57]},{index:.5,rgb:[161,112,59]},{index:.63,rgb:[185,140,66]},{index:.75,rgb:[202,174,88]},{index:.88,rgb:[216,209,126]},{index:1,rgb:[233,246,171]}],"velocity-blue":[{index:0,rgb:[17,32,64]},{index:.13,rgb:[35,52,116]},{index:.25,rgb:[29,81,156]},{index:.38,rgb:[31,113,162]},{index:.5,rgb:[50,144,169]},{index:.63,rgb:[87,173,176]},{index:.75,rgb:[149,196,189]},{index:.88,rgb:[203,221,211]},{index:1,rgb:[254,251,230]}],"velocity-green":[{index:0,rgb:[23,35,19]},{index:.13,rgb:[24,64,38]},{index:.25,rgb:[11,95,45]},{index:.38,rgb:[39,123,35]},{index:.5,rgb:[95,146,12]},{index:.63,rgb:[152,165,18]},{index:.75,rgb:[201,186,69]},{index:.88,rgb:[233,216,137]},{index:1,rgb:[255,253,205]}],cubehelix:[{index:0,rgb:[0,0,0]},{index:.07,rgb:[22,5,59]},{index:.13,rgb:[60,4,105]},{index:.2,rgb:[109,1,135]},{index:.27,rgb:[161,0,147]},{index:.33,rgb:[210,2,142]},{index:.4,rgb:[251,11,123]},{index:.47,rgb:[255,29,97]},{index:.53,rgb:[255,54,69]},{index:.6,rgb:[255,85,46]},{index:.67,rgb:[255,120,34]},{index:.73,rgb:[255,157,37]},{index:.8,rgb:[241,191,57]},{index:.87,rgb:[224,220,93]},{index:.93,rgb:[218,241,142]},{index:1,rgb:[227,253,198]}]}},9156:function(p,_,c){var s=c(5692),d=c(3578);p.exports=f;function f(C){var w,R,A,E,k,L,I,P,T,M,F;if(C||(C={}),P=(C.nshades||72)-1,I=C.format||"hex",L=C.colormap,L||(L="jet"),typeof L=="string"){if(L=L.toLowerCase(),!s[L])throw Error(L+" not a supported colorscale");k=s[L]}else if(Array.isArray(L))k=L.slice();else throw Error("unsupported colormap option",L);if(k.length>P+1)throw new Error(L+" map requires nshades to be at least size "+k.length);Array.isArray(C.alpha)?C.alpha.length!==2?M=[1,1]:M=C.alpha.slice():typeof C.alpha=="number"?M=[C.alpha,C.alpha]:M=[1,1],w=k.map(function(U){return Math.round(U.index*P)}),M[0]=Math.min(Math.max(M[0],0),1),M[1]=Math.min(Math.max(M[1],0),1);var N=k.map(function(U,B){var Y=k[B].index,z=k[B].rgb.slice();return z.length===4&&z[3]>=0&&z[3]<=1||(z[3]=M[0]+(M[1]-M[0])*Y),z}),T=[];for(F=0;F<w.length-1;++F){E=w[F+1]-w[F],R=N[F],A=N[F+1];for(var D=0;D<E;D++){var O=D/E;T.push([Math.round(d(R[0],A[0],O)),Math.round(d(R[1],A[1],O)),Math.round(d(R[2],A[2],O)),d(R[3],A[3],O)])}}return T.push(k[k.length-1].rgb.concat(M[1])),I==="hex"?T=T.map(x):I==="rgbaString"?T=T.map(y):I==="float"&&(T=T.map(b)),T}function b(C){return[C[0]/255,C[1]/255,C[2]/255,C[3]]}function x(C){for(var w,R="#",A=0;A<3;++A)w=C[A],w=w.toString(16),R+=("00"+w).substr(w.length);return R}function y(C){return"rgba("+C.join(",")+")"}},9398:function(p,_,c){p.exports=C;var s=c(417),d=c(7538),f=c(87),b=c(2019),x=c(9662);function y(w,R,A){var E=f(w[0],-R[0]),k=f(w[1],-R[1]),L=f(A[0],-R[0]),I=f(A[1],-R[1]),P=x(b(E,L),b(k,I));return P[P.length-1]>=0}function C(w,R,A,E){var k=s(R,A,E);if(k===0){var L=d(s(w,R,A)),I=d(s(w,R,E));if(L===I){if(L===0){var P=y(w,R,A),M=y(w,R,E);return P===M?0:P?1:-1}return 0}else{if(I===0)return L>0||y(w,R,E)?-1:1;if(L===0)return I>0||y(w,R,A)?1:-1}return d(I-L)}var F=s(w,R,A);if(F>0)return k>0&&s(w,R,E)>0?1:-1;if(F<0)return k>0||s(w,R,E)>0?1:-1;var N=s(w,R,E);return N>0||y(w,R,A)?1:-1}},7538:function(p){p.exports=function(c){return c<0?-1:c>0?1:0}},9209:function(p){p.exports=s;var _=Math.min;function c(d,f){return d-f}function s(d,f){var b=d.length,x=d.length-f.length;if(x)return x;switch(b){case 0:return 0;case 1:return d[0]-f[0];case 2:return d[0]+d[1]-f[0]-f[1]||_(d[0],d[1])-_(f[0],f[1]);case 3:var y=d[0]+d[1],C=f[0]+f[1];if(x=y+d[2]-(C+f[2]),x)return x;var w=_(d[0],d[1]),R=_(f[0],f[1]);return _(w,d[2])-_(R,f[2])||_(w+d[2],y)-_(R+f[2],C);case 4:var A=d[0],E=d[1],k=d[2],L=d[3],I=f[0],P=f[1],M=f[2],F=f[3];return A+E+k+L-(I+P+M+F)||_(A,E,k,L)-_(I,P,M,F,I)||_(A+E,A+k,A+L,E+k,E+L,k+L)-_(I+P,I+M,I+F,P+M,P+F,M+F)||_(A+E+k,A+E+L,A+k+L,E+k+L)-_(I+P+M,I+P+F,I+M+F,P+M+F);default:for(var N=d.slice().sort(c),T=f.slice().sort(c),D=0;D<b;++D)if(x=N[D]-T[D],x)return x;return 0}}},1284:function(p,_,c){var s=c(9209),d=c(9887);p.exports=f;function f(b,x){return s(b,x)||d(b)-d(x)}},5537:function(p,_,c){var s=c(8950),d=c(8722),f=c(3332);p.exports=b;function b(x){var y=x.length;if(y===0)return[];if(y===1)return[[0]];var C=x[0].length;return C===0?[]:C===1?s(x):C===2?d(x):f(x,C)}},8950:function(p){p.exports=_;function _(c){for(var s=0,d=0,f=1;f<c.length;++f)c[f][0]<c[s][0]&&(s=f),c[f][0]>c[d][0]&&(d=f);return s<d?[[s],[d]]:s>d?[[d],[s]]:[[s]]}},8722:function(p,_,c){p.exports=d;var s=c(3266);function d(f){var b=s(f),x=b.length;if(x<=2)return[];for(var y=new Array(x),C=b[x-1],w=0;w<x;++w){var R=b[w];y[w]=[C,R],C=R}return y}},3332:function(p,_,c){p.exports=x;var s=c(2183),d=c(2153);function f(y,C){for(var w=y.length,R=new Array(w),A=0;A<C.length;++A)R[A]=y[C[A]];for(var E=C.length,A=0;A<w;++A)C.indexOf(A)<0&&(R[E++]=y[A]);return R}function b(y,C){for(var w=y.length,R=C.length,A=0;A<w;++A)for(var E=y[A],k=0;k<E.length;++k){var L=E[k];if(L<R)E[k]=C[L];else{L=L-R;for(var I=0;I<R;++I)L>=C[I]&&(L+=1);E[k]=L}}return y}function x(y,C){try{return s(y,!0)}catch{var w=d(y);if(w.length<=C)return[];var R=f(y,w),A=s(R,!0);return b(A,w)}}},9680:function(p){function _(s,d,f,b,x,y){var C=6*x*x-6*x,w=3*x*x-4*x+1,R=-6*x*x+6*x,A=3*x*x-2*x;if(s.length){y||(y=new Array(s.length));for(var E=s.length-1;E>=0;--E)y[E]=C*s[E]+w*d[E]+R*f[E]+A*b[E];return y}return C*s+w*d+R*f[E]+A*b}function c(s,d,f,b,x,y){var C=x-1,w=x*x,R=C*C,A=(1+2*x)*R,E=x*R,k=w*(3-2*x),L=w*C;if(s.length){y||(y=new Array(s.length));for(var I=s.length-1;I>=0;--I)y[I]=A*s[I]+E*d[I]+k*f[I]+L*b[I];return y}return A*s+E*d+k*f+L*b}p.exports=c,p.exports.derivative=_},4419:function(p,_,c){var s=c(2183),d=c(1215);p.exports=y;function f(C,w){this.point=C,this.index=w}function b(C,w){for(var R=C.point,A=w.point,E=R.length,k=0;k<E;++k){var L=A[k]-R[k];if(L)return L}return 0}function x(C,w,R){if(C===1)return R?[[-1,0]]:[];var A=w.map(function(P,M){return[P[0],M]});A.sort(function(P,M){return P[0]-M[0]});for(var E=new Array(C-1),k=1;k<C;++k){var L=A[k-1],I=A[k];E[k-1]=[L[1],I[1]]}return R&&E.push([-1,E[0][1]],[E[C-1][1],-1]),E}function y(C,w){var R=C.length;if(R===0)return[];var A=C[0].length;if(A<1)return[];if(A===1)return x(R,C,w);for(var E=new Array(R),k=1,L=0;L<R;++L){for(var I=C[L],P=new Array(A+1),M=0,F=0;F<A;++F){var N=I[F];P[F]=N,M+=N*N}P[A]=M,E[L]=new f(P,L),k=Math.max(M,k)}d(E,b),R=E.length;for(var T=new Array(R+A+1),D=new Array(R+A+1),O=(A+1)*(A+1)*k,U=new Array(A+1),L=0;L<=A;++L)U[L]=0;U[A]=O,T[0]=U.slice(),D[0]=-1;for(var L=0;L<=A;++L){var P=U.slice();P[L]=1,T[L+1]=P,D[L+1]=-1}for(var L=0;L<R;++L){var B=E[L];T[L+A+1]=B.point,D[L+A+1]=B.index}var Y=s(T,!1);if(w?Y=Y.filter(function(z){for(var V=0,j=0;j<=A;++j){var G=D[z[j]];if(G<0&&++V>=2)return!1;z[j]=G}return!0}):Y=Y.filter(function(z){for(var V=0;V<=A;++V){var j=D[z[V]];if(j<0)return!1;z[V]=j}return!0}),A&1)for(var L=0;L<Y.length;++L){var B=Y[L],P=B[0];B[0]=B[1],B[1]=P}return Y}},8362:function(p){var _=!1;if(typeof Float64Array<"u"){var c=new Float64Array(1),s=new Uint32Array(c.buffer);if(c[0]=1,_=!0,s[1]===1072693248){let f=function(y,C){return s[0]=y,s[1]=C,c[0]},b=function(y){return c[0]=y,s[0]},x=function(y){return c[0]=y,s[1]};p.exports=function(C){return c[0]=C,[s[0],s[1]]},p.exports.pack=f,p.exports.lo=b,p.exports.hi=x}else if(s[0]===1072693248){let f=function(y,C){return s[1]=y,s[0]=C,c[0]},b=function(y){return c[0]=y,s[1]},x=function(y){return c[0]=y,s[0]};p.exports=function(C){return c[0]=C,[s[1],s[0]]},p.exports.pack=f,p.exports.lo=b,p.exports.hi=x}else _=!1}if(!_){let f=function(y,C){return d.writeUInt32LE(y,0,!0),d.writeUInt32LE(C,4,!0),d.readDoubleLE(0,!0)},b=function(y){return d.writeDoubleLE(y,0,!0),d.readUInt32LE(0,!0)},x=function(y){return d.writeDoubleLE(y,0,!0),d.readUInt32LE(4,!0)};var d=new Buffer(8);p.exports=function(C){return d.writeDoubleLE(C,0,!0),[d.readUInt32LE(0,!0),d.readUInt32LE(4,!0)]},p.exports.pack=f,p.exports.lo=b,p.exports.hi=x}p.exports.sign=function(f){return p.exports.hi(f)>>>31},p.exports.exponent=function(f){var b=p.exports.hi(f);return(b<<1>>>21)-1023},p.exports.fraction=function(f){var b=p.exports.lo(f),x=p.exports.hi(f),y=x&(1<<20)-1;return x&2146435072&&(y+=1048576),[b,y]},p.exports.denormalized=function(f){var b=p.exports.hi(f);return!(b&2146435072)}},3094:function(p){function _(d,f,b){var x=d[b]|0;if(x<=0)return[];var y=new Array(x),C;if(b===d.length-1)for(C=0;C<x;++C)y[C]=f;else for(C=0;C<x;++C)y[C]=_(d,f,b+1);return y}function c(d,f){var b,x;for(b=new Array(d),x=0;x<d;++x)b[x]=f;return b}function s(d,f){switch(typeof f>"u"&&(f=0),typeof d){case"number":if(d>0)return c(d|0,f);break;case"object":if(typeof d.length=="number")return _(d,f,0);break}return[]}p.exports=s},8348:function(p,_,c){p.exports=d;var s=c(1215);function d(f,b){var x=f.length;if(typeof b!="number"){b=0;for(var y=0;y<x;++y){var C=f[y];b=Math.max(b,C[0],C[1])}b=(b|0)+1}b=b|0;for(var w=new Array(b),y=0;y<b;++y)w[y]=[];for(var y=0;y<x;++y){var C=f[y];w[C[0]].push(C[1]),w[C[1]].push(C[0])}for(var R=0;R<b;++R)s(w[R],function(A,E){return A-E});return w}},5795:function(p){p.exports=_;function _(c,s,d){var f=s||0,b=d||1;return[[c[12]+c[0],c[13]+c[1],c[14]+c[2],c[15]+c[3]],[c[12]-c[0],c[13]-c[1],c[14]-c[2],c[15]-c[3]],[c[12]+c[4],c[13]+c[5],c[14]+c[6],c[15]+c[7]],[c[12]-c[4],c[13]-c[5],c[14]-c[6],c[15]-c[7]],[f*c[12]+c[8],f*c[13]+c[9],f*c[14]+c[10],f*c[15]+c[11]],[b*c[12]-c[8],b*c[13]-c[9],b*c[14]-c[10],b*c[15]-c[11]]]}},8444:function(p,_,c){p.exports=C;var s=c(9680),d=c(5070);function f(w,R,A){return Math.min(R,Math.max(w,A))}function b(w,R,A){this.dimension=w.length,this.bounds=[new Array(this.dimension),new Array(this.dimension)];for(var E=0;E<this.dimension;++E)this.bounds[0][E]=-1/0,this.bounds[1][E]=1/0;this._state=w.slice().reverse(),this._velocity=R.slice().reverse(),this._time=[A],this._scratch=[w.slice(),w.slice(),w.slice(),w.slice(),w.slice()]}var x=b.prototype;x.flush=function(w){var R=d.gt(this._time,w)-1;R<=0||(this._time.splice(0,R),this._state.splice(0,R*this.dimension),this._velocity.splice(0,R*this.dimension))},x.curve=function(w){var R=this._time,A=R.length,E=d.le(R,w),k=this._scratch[0],L=this._state,I=this._velocity,P=this.dimension,M=this.bounds;if(E<0)for(var F=P-1,N=0;N<P;++N,--F)k[N]=L[F];else if(E>=A-1)for(var F=L.length-1,T=w-R[A-1],N=0;N<P;++N,--F)k[N]=L[F]+T*I[F];else{for(var F=P*(E+1)-1,D=R[E],O=R[E+1],U=O-D||1,B=this._scratch[1],Y=this._scratch[2],z=this._scratch[3],V=this._scratch[4],j=!0,N=0;N<P;++N,--F)B[N]=L[F],z[N]=I[F]*U,Y[N]=L[F+P],V[N]=I[F+P]*U,j=j&&B[N]===Y[N]&&z[N]===V[N]&&z[N]===0;if(j)for(var N=0;N<P;++N)k[N]=B[N];else s(B,z,Y,V,(w-D)/U,k)}for(var G=M[0],W=M[1],N=0;N<P;++N)k[N]=f(G[N],W[N],k[N]);return k},x.dcurve=function(w){var R=this._time,A=R.length,E=d.le(R,w),k=this._scratch[0],L=this._state,I=this._velocity,P=this.dimension;if(E>=A-1){var M=L.length-1;w-R[A-1];for(var F=0;F<P;++F,--M)k[F]=I[M]}else{for(var M=P*(E+1)-1,N=R[E],T=R[E+1],D=T-N||1,O=this._scratch[1],U=this._scratch[2],B=this._scratch[3],Y=this._scratch[4],z=!0,F=0;F<P;++F,--M)O[F]=L[M],B[F]=I[M]*D,U[F]=L[M+P],Y[F]=I[M+P]*D,z=z&&O[F]===U[F]&&B[F]===Y[F]&&B[F]===0;if(z)for(var F=0;F<P;++F)k[F]=0;else{s.derivative(O,B,U,Y,(w-N)/D,k);for(var F=0;F<P;++F)k[F]/=D}}return k},x.lastT=function(){var w=this._time;return w[w.length-1]},x.stable=function(){for(var w=this._velocity,R=w.length,A=this.dimension-1;A>=0;--A)if(w[--R])return!1;return!0},x.jump=function(w){var R=this.lastT(),A=this.dimension;if(!(w<R||arguments.length!==A+1)){var E=this._state,k=this._velocity,L=E.length-this.dimension,I=this.bounds,P=I[0],M=I[1];this._time.push(R,w);for(var F=0;F<2;++F)for(var N=0;N<A;++N)E.push(E[L++]),k.push(0);this._time.push(w);for(var N=A;N>0;--N)E.push(f(P[N-1],M[N-1],arguments[N])),k.push(0)}},x.push=function(w){var R=this.lastT(),A=this.dimension;if(!(w<R||arguments.length!==A+1)){var E=this._state,k=this._velocity,L=E.length-this.dimension,I=w-R,P=this.bounds,M=P[0],F=P[1],N=I>1e-6?1/I:0;this._time.push(w);for(var T=A;T>0;--T){var D=f(M[T-1],F[T-1],arguments[T]);E.push(D),k.push((D-E[L++])*N)}}},x.set=function(w){var R=this.dimension;if(!(w<this.lastT()||arguments.length!==R+1)){var A=this._state,E=this._velocity,k=this.bounds,L=k[0],I=k[1];this._time.push(w);for(var P=R;P>0;--P)A.push(f(L[P-1],I[P-1],arguments[P])),E.push(0)}},x.move=function(w){var R=this.lastT(),A=this.dimension;if(!(w<=R||arguments.length!==A+1)){var E=this._state,k=this._velocity,L=E.length-this.dimension,I=this.bounds,P=I[0],M=I[1],F=w-R,N=F>1e-6?1/F:0;this._time.push(w);for(var T=A;T>0;--T){var D=arguments[T];E.push(f(P[T-1],M[T-1],E[L++]+D)),k.push(D*N)}}},x.idle=function(w){var R=this.lastT();if(!(w<R)){var A=this.dimension,E=this._state,k=this._velocity,L=E.length-A,I=this.bounds,P=I[0],M=I[1],F=w-R;this._time.push(w);for(var N=A-1;N>=0;--N)E.push(f(P[N],M[N],E[L]+F*k[L])),k.push(0),L+=1}};function y(w){for(var R=new Array(w),A=0;A<w;++A)R[A]=0;return R}function C(w,R,A){switch(arguments.length){case 0:return new b([0],[0],0);case 1:if(typeof w=="number"){var E=y(w);return new b(E,E,0)}else return new b(w,y(w.length),0);case 2:if(typeof R=="number"){var E=y(w.length);return new b(w,E,+R)}else A=0;case 3:if(w.length!==R.length)throw new Error("state and velocity lengths must match");return new b(w,R,A)}}},7080:function(p){p.exports=P;var _=0,c=1;function s(M,F,N,T,D,O){this._color=M,this.key=F,this.value=N,this.left=T,this.right=D,this._count=O}function d(M){return new s(M._color,M.key,M.value,M.left,M.right,M._count)}function f(M,F){return new s(M,F.key,F.value,F.left,F.right,F._count)}function b(M){M._count=1+(M.left?M.left._count:0)+(M.right?M.right._count:0)}function x(M,F){this._compare=M,this.root=F}var y=x.prototype;Object.defineProperty(y,"keys",{get:function(){var M=[];return this.forEach(function(F,N){M.push(F)}),M}}),Object.defineProperty(y,"values",{get:function(){var M=[];return this.forEach(function(F,N){M.push(N)}),M}}),Object.defineProperty(y,"length",{get:function(){return this.root?this.root._count:0}}),y.insert=function(M,F){for(var N=this._compare,T=this.root,D=[],O=[];T;){var U=N(M,T.key);D.push(T),O.push(U),U<=0?T=T.left:T=T.right}D.push(new s(_,M,F,null,null,1));for(var B=D.length-2;B>=0;--B){var T=D[B];O[B]<=0?D[B]=new s(T._color,T.key,T.value,D[B+1],T.right,T._count+1):D[B]=new s(T._color,T.key,T.value,T.left,D[B+1],T._count+1)}for(var B=D.length-1;B>1;--B){var Y=D[B-1],T=D[B];if(Y._color===c||T._color===c)break;var z=D[B-2];if(z.left===Y)if(Y.left===T){var V=z.right;if(V&&V._color===_)Y._color=c,z.right=f(c,V),z._color=_,B-=1;else{if(z._color=_,z.left=Y.right,Y._color=c,Y.right=z,D[B-2]=Y,D[B-1]=T,b(z),b(Y),B>=3){var j=D[B-3];j.left===z?j.left=Y:j.right=Y}break}}else{var V=z.right;if(V&&V._color===_)Y._color=c,z.right=f(c,V),z._color=_,B-=1;else{if(Y.right=T.left,z._color=_,z.left=T.right,T._color=c,T.left=Y,T.right=z,D[B-2]=T,D[B-1]=Y,b(z),b(Y),b(T),B>=3){var j=D[B-3];j.left===z?j.left=T:j.right=T}break}}else if(Y.right===T){var V=z.left;if(V&&V._color===_)Y._color=c,z.left=f(c,V),z._color=_,B-=1;else{if(z._color=_,z.right=Y.left,Y._color=c,Y.left=z,D[B-2]=Y,D[B-1]=T,b(z),b(Y),B>=3){var j=D[B-3];j.right===z?j.right=Y:j.left=Y}break}}else{var V=z.left;if(V&&V._color===_)Y._color=c,z.left=f(c,V),z._color=_,B-=1;else{if(Y.left=T.right,z._color=_,z.right=T.left,T._color=c,T.right=Y,T.left=z,D[B-2]=T,D[B-1]=Y,b(z),b(Y),b(T),B>=3){var j=D[B-3];j.right===z?j.right=T:j.left=T}break}}}return D[0]._color=c,new x(N,D[0])};function C(M,F){if(F.left){var N=C(M,F.left);if(N)return N}var N=M(F.key,F.value);if(N)return N;if(F.right)return C(M,F.right)}function w(M,F,N,T){var D=F(M,T.key);if(D<=0){if(T.left){var O=w(M,F,N,T.left);if(O)return O}var O=N(T.key,T.value);if(O)return O}if(T.right)return w(M,F,N,T.right)}function R(M,F,N,T,D){var O=N(M,D.key),U=N(F,D.key),B;if(O<=0&&(D.left&&(B=R(M,F,N,T,D.left),B)||U>0&&(B=T(D.key,D.value),B)))return B;if(U>0&&D.right)return R(M,F,N,T,D.right)}y.forEach=function(F,N,T){if(this.root)switch(arguments.length){case 1:return C(F,this.root);case 2:return w(N,this._compare,F,this.root);case 3:return this._compare(N,T)>=0?void 0:R(N,T,this._compare,F,this.root)}},Object.defineProperty(y,"begin",{get:function(){for(var M=[],F=this.root;F;)M.push(F),F=F.left;return new A(this,M)}}),Object.defineProperty(y,"end",{get:function(){for(var M=[],F=this.root;F;)M.push(F),F=F.right;return new A(this,M)}}),y.at=function(M){if(M<0)return new A(this,[]);for(var F=this.root,N=[];;){if(N.push(F),F.left){if(M<F.left._count){F=F.left;continue}M-=F.left._count}if(!M)return new A(this,N);if(M-=1,F.right){if(M>=F.right._count)break;F=F.right}else break}return new A(this,[])},y.ge=function(M){for(var F=this._compare,N=this.root,T=[],D=0;N;){var O=F(M,N.key);T.push(N),O<=0&&(D=T.length),O<=0?N=N.left:N=N.right}return T.length=D,new A(this,T)},y.gt=function(M){for(var F=this._compare,N=this.root,T=[],D=0;N;){var O=F(M,N.key);T.push(N),O<0&&(D=T.length),O<0?N=N.left:N=N.right}return T.length=D,new A(this,T)},y.lt=function(M){for(var F=this._compare,N=this.root,T=[],D=0;N;){var O=F(M,N.key);T.push(N),O>0&&(D=T.length),O<=0?N=N.left:N=N.right}return T.length=D,new A(this,T)},y.le=function(M){for(var F=this._compare,N=this.root,T=[],D=0;N;){var O=F(M,N.key);T.push(N),O>=0&&(D=T.length),O<0?N=N.left:N=N.right}return T.length=D,new A(this,T)},y.find=function(M){for(var F=this._compare,N=this.root,T=[];N;){var D=F(M,N.key);if(T.push(N),D===0)return new A(this,T);D<=0?N=N.left:N=N.right}return new A(this,[])},y.remove=function(M){var F=this.find(M);return F?F.remove():this},y.get=function(M){for(var F=this._compare,N=this.root;N;){var T=F(M,N.key);if(T===0)return N.value;T<=0?N=N.left:N=N.right}};function A(M,F){this.tree=M,this._stack=F}var E=A.prototype;Object.defineProperty(E,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(E,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),E.clone=function(){return new A(this.tree,this._stack.slice())};function k(M,F){M.key=F.key,M.value=F.value,M.left=F.left,M.right=F.right,M._color=F._color,M._count=F._count}function L(M){for(var F,N,T,D,O=M.length-1;O>=0;--O){if(F=M[O],O===0){F._color=c;return}if(N=M[O-1],N.left===F){if(T=N.right,T.right&&T.right._color===_){if(T=N.right=d(T),D=T.right=d(T.right),N.right=T.left,T.left=N,T.right=D,T._color=N._color,F._color=c,N._color=c,D._color=c,b(N),b(T),O>1){var U=M[O-2];U.left===N?U.left=T:U.right=T}M[O-1]=T;return}else if(T.left&&T.left._color===_){if(T=N.right=d(T),D=T.left=d(T.left),N.right=D.left,T.left=D.right,D.left=N,D.right=T,D._color=N._color,N._color=c,T._color=c,F._color=c,b(N),b(T),b(D),O>1){var U=M[O-2];U.left===N?U.left=D:U.right=D}M[O-1]=D;return}if(T._color===c)if(N._color===_){N._color=c,N.right=f(_,T);return}else{N.right=f(_,T);continue}else{if(T=d(T),N.right=T.left,T.left=N,T._color=N._color,N._color=_,b(N),b(T),O>1){var U=M[O-2];U.left===N?U.left=T:U.right=T}M[O-1]=T,M[O]=N,O+1<M.length?M[O+1]=F:M.push(F),O=O+2}}else{if(T=N.left,T.left&&T.left._color===_){if(T=N.left=d(T),D=T.left=d(T.left),N.left=T.right,T.right=N,T.left=D,T._color=N._color,F._color=c,N._color=c,D._color=c,b(N),b(T),O>1){var U=M[O-2];U.right===N?U.right=T:U.left=T}M[O-1]=T;return}else if(T.right&&T.right._color===_){if(T=N.left=d(T),D=T.right=d(T.right),N.left=D.right,T.right=D.left,D.right=N,D.left=T,D._color=N._color,N._color=c,T._color=c,F._color=c,b(N),b(T),b(D),O>1){var U=M[O-2];U.right===N?U.right=D:U.left=D}M[O-1]=D;return}if(T._color===c)if(N._color===_){N._color=c,N.left=f(_,T);return}else{N.left=f(_,T);continue}else{if(T=d(T),N.left=T.right,T.right=N,T._color=N._color,N._color=_,b(N),b(T),O>1){var U=M[O-2];U.right===N?U.right=T:U.left=T}M[O-1]=T,M[O]=N,O+1<M.length?M[O+1]=F:M.push(F),O=O+2}}}}E.remove=function(){var M=this._stack;if(M.length===0)return this.tree;var F=new Array(M.length),N=M[M.length-1];F[F.length-1]=new s(N._color,N.key,N.value,N.left,N.right,N._count);for(var T=M.length-2;T>=0;--T){var N=M[T];N.left===M[T+1]?F[T]=new s(N._color,N.key,N.value,F[T+1],N.right,N._count):F[T]=new s(N._color,N.key,N.value,N.left,F[T+1],N._count)}if(N=F[F.length-1],N.left&&N.right){var D=F.length;for(N=N.left;N.right;)F.push(N),N=N.right;var O=F[D-1];F.push(new s(N._color,O.key,O.value,N.left,N.right,N._count)),F[D-1].key=N.key,F[D-1].value=N.value;for(var T=F.length-2;T>=D;--T)N=F[T],F[T]=new s(N._color,N.key,N.value,N.left,F[T+1],N._count);F[D-1].left=F[D]}if(N=F[F.length-1],N._color===_){var U=F[F.length-2];U.left===N?U.left=null:U.right===N&&(U.right=null),F.pop();for(var T=0;T<F.length;++T)F[T]._count--;return new x(this.tree._compare,F[0])}else if(N.left||N.right){N.left?k(N,N.left):N.right&&k(N,N.right),N._color=c;for(var T=0;T<F.length-1;++T)F[T]._count--;return new x(this.tree._compare,F[0])}else{if(F.length===1)return new x(this.tree._compare,null);for(var T=0;T<F.length;++T)F[T]._count--;var B=F[F.length-2];L(F),B.left===N?B.left=null:B.right=null}return new x(this.tree._compare,F[0])},Object.defineProperty(E,"key",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(E,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(E,"index",{get:function(){var M=0,F=this._stack;if(F.length===0){var N=this.tree.root;return N?N._count:0}else F[F.length-1].left&&(M=F[F.length-1].left._count);for(var T=F.length-2;T>=0;--T)F[T+1]===F[T].right&&(++M,F[T].left&&(M+=F[T].left._count));return M},enumerable:!0}),E.next=function(){var M=this._stack;if(M.length!==0){var F=M[M.length-1];if(F.right)for(F=F.right;F;)M.push(F),F=F.left;else for(M.pop();M.length>0&&M[M.length-1].right===F;)F=M[M.length-1],M.pop()}},Object.defineProperty(E,"hasNext",{get:function(){var M=this._stack;if(M.length===0)return!1;if(M[M.length-1].right)return!0;for(var F=M.length-1;F>0;--F)if(M[F-1].left===M[F])return!0;return!1}}),E.update=function(M){var F=this._stack;if(F.length===0)throw new Error("Can't update empty node!");var N=new Array(F.length),T=F[F.length-1];N[N.length-1]=new s(T._color,T.key,M,T.left,T.right,T._count);for(var D=F.length-2;D>=0;--D)T=F[D],T.left===F[D+1]?N[D]=new s(T._color,T.key,T.value,N[D+1],T.right,T._count):N[D]=new s(T._color,T.key,T.value,T.left,N[D+1],T._count);return new x(this.tree._compare,N[0])},E.prev=function(){var M=this._stack;if(M.length!==0){var F=M[M.length-1];if(F.left)for(F=F.left;F;)M.push(F),F=F.right;else for(M.pop();M.length>0&&M[M.length-1].left===F;)F=M[M.length-1],M.pop()}},Object.defineProperty(E,"hasPrev",{get:function(){var M=this._stack;if(M.length===0)return!1;if(M[M.length-1].left)return!0;for(var F=M.length-1;F>0;--F)if(M[F-1].right===M[F])return!0;return!1}});function I(M,F){return M<F?-1:M>F?1:0}function P(M){return new x(M||I,null)}},7453:function(p,_,c){p.exports=T;var s=c(9557),d=c(1681),f=c(1011),b=c(2864),x=c(8468),y=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function C(D,O){return D[0]=O[0],D[1]=O[1],D[2]=O[2],D}function w(D){this.gl=D,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont="sans-serif",this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=f(D)}var R=w.prototype;R.update=function(D){D=D||{};function O(ie,he,J){if(J in D){var Z=D[J],le=this[J],K;(ie?Array.isArray(Z)&&Array.isArray(Z[0]):Array.isArray(Z))?this[J]=K=[he(Z[0]),he(Z[1]),he(Z[2])]:this[J]=K=[he(Z),he(Z),he(Z)];for(var te=0;te<3;++te)if(K[te]!==le[te])return!0}return!1}var U=O.bind(this,!1,Number),B=O.bind(this,!1,Boolean),Y=O.bind(this,!1,String),z=O.bind(this,!0,function(ie){if(Array.isArray(ie)){if(ie.length===3)return[+ie[0],+ie[1],+ie[2],1];if(ie.length===4)return[+ie[0],+ie[1],+ie[2],+ie[3]]}return[0,0,0,1]}),V,j=!1,G=!1;if("bounds"in D)for(var W=D.bounds,X=0;X<2;++X)for(var Q=0;Q<3;++Q)W[X][Q]!==this.bounds[X][Q]&&(G=!0),this.bounds[X][Q]=W[X][Q];if("ticks"in D){V=D.ticks,j=!0,this.autoTicks=!1;for(var X=0;X<3;++X)this.tickSpacing[X]=0}else U("tickSpacing")&&(this.autoTicks=!0,G=!0);if(this._firstInit&&("ticks"in D||"tickSpacing"in D||(this.autoTicks=!0),G=!0,j=!0,this._firstInit=!1),G&&this.autoTicks&&(V=x.create(this.bounds,this.tickSpacing),j=!0),j){for(var X=0;X<3;++X)V[X].sort(function(he,J){return he.x-J.x});x.equal(V,this.ticks)?j=!1:this.ticks=V}B("tickEnable"),Y("tickFont")&&(j=!0),U("tickSize"),U("tickAngle"),U("tickPad"),z("tickColor");var ae=Y("labels");Y("labelFont")&&(ae=!0),B("labelEnable"),U("labelSize"),U("labelPad"),z("labelColor"),B("lineEnable"),B("lineMirror"),U("lineWidth"),z("lineColor"),B("lineTickEnable"),B("lineTickMirror"),U("lineTickLength"),U("lineTickWidth"),z("lineTickColor"),B("gridEnable"),U("gridWidth"),z("gridColor"),B("zeroEnable"),z("zeroLineColor"),U("zeroLineWidth"),B("backgroundEnable"),z("backgroundColor"),this._text?this._text&&(ae||j)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=s(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&j&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=d(this.gl,this.bounds,this.ticks))};function A(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}var E=[new A,new A,new A];function k(D,O,U,B,Y){for(var z=D.primalOffset,V=D.primalMinor,j=D.mirrorOffset,G=D.mirrorMinor,W=B[O],X=0;X<3;++X)if(O!==X){var Q=z,ae=j,ie=V,he=G;W&1<<X&&(Q=j,ae=z,ie=G,he=V),Q[X]=U[0][X],ae[X]=U[1][X],Y[X]>0?(ie[X]=-1,he[X]=0):(ie[X]=0,he[X]=1)}}var L=[0,0,0],I={model:y,view:y,projection:y,_ortho:!1};R.isOpaque=function(){return!0},R.isTransparent=function(){return!1},R.drawTransparent=function(D){};var P=0,M=[0,0,0],F=[0,0,0],N=[0,0,0];R.draw=function(D){D=D||I;for(var le=this.gl,O=D.model||y,U=D.view||y,B=D.projection||y,Y=this.bounds,z=D._ortho||!1,V=b(O,U,B,Y,z),j=V.cubeEdges,G=V.axis,W=U[12],X=U[13],Q=U[14],ae=U[15],ie=z?2:1,he=ie*this.pixelRatio*(B[3]*W+B[7]*X+B[11]*Q+B[15]*ae)/le.drawingBufferHeight,J=0;J<3;++J)this.lastCubeProps.cubeEdges[J]=j[J],this.lastCubeProps.axis[J]=G[J];for(var Z=E,J=0;J<3;++J)k(E[J],J,this.bounds,j,G);for(var le=this.gl,K=L,J=0;J<3;++J)this.backgroundEnable[J]?K[J]=G[J]:K[J]=0;this._background.draw(O,U,B,Y,K,this.backgroundColor),this._lines.bind(O,U,B,this);for(var J=0;J<3;++J){var te=[0,0,0];G[J]>0?te[J]=Y[1][J]:te[J]=Y[0][J];for(var ce=0;ce<2;++ce){var re=(J+1+ce)%3,ee=(J+1+(ce^1))%3;this.gridEnable[re]&&this._lines.drawGrid(re,ee,this.bounds,te,this.gridColor[re],this.gridWidth[re]*this.pixelRatio)}for(var ce=0;ce<2;++ce){var re=(J+1+ce)%3,ee=(J+1+(ce^1))%3;this.zeroEnable[ee]&&Math.min(Y[0][ee],Y[1][ee])<=0&&Math.max(Y[0][ee],Y[1][ee])>=0&&this._lines.drawZero(re,ee,this.bounds,te,this.zeroLineColor[ee],this.zeroLineWidth[ee]*this.pixelRatio)}}for(var J=0;J<3;++J){this.lineEnable[J]&&this._lines.drawAxisLine(J,this.bounds,Z[J].primalOffset,this.lineColor[J],this.lineWidth[J]*this.pixelRatio),this.lineMirror[J]&&this._lines.drawAxisLine(J,this.bounds,Z[J].mirrorOffset,this.lineColor[J],this.lineWidth[J]*this.pixelRatio);for(var de=C(M,Z[J].primalMinor),oe=C(F,Z[J].mirrorMinor),fe=this.lineTickLength,ce=0;ce<3;++ce){var me=he/O[5*ce];de[ce]*=fe[ce]*me,oe[ce]*=fe[ce]*me}this.lineTickEnable[J]&&this._lines.drawAxisTicks(J,Z[J].primalOffset,de,this.lineTickColor[J],this.lineTickWidth[J]*this.pixelRatio),this.lineTickMirror[J]&&this._lines.drawAxisTicks(J,Z[J].mirrorOffset,oe,this.lineTickColor[J],this.lineTickWidth[J]*this.pixelRatio)}this._lines.unbind(),this._text.bind(O,U,B,this.pixelRatio);var Te,we=.5,Be,Ae;function Re(We){Ae=[0,0,0],Ae[We]=1}function be(We,lt,ht){var tt=(We+1)%3,et=(We+2)%3,pt=lt[tt],vt=lt[et],_t=ht[tt],bt=ht[et];if(pt>0&&bt>0){Re(tt);return}else if(pt>0&&bt<0){Re(tt);return}else if(pt<0&&bt>0){Re(tt);return}else if(pt<0&&bt<0){Re(tt);return}else if(vt>0&&_t>0){Re(et);return}else if(vt>0&&_t<0){Re(et);return}else if(vt<0&&_t>0){Re(et);return}else if(vt<0&&_t<0){Re(et);return}}for(var J=0;J<3;++J){for(var Pe=Z[J].primalMinor,Ke=Z[J].mirrorMinor,ze=C(N,Z[J].primalOffset),ce=0;ce<3;++ce)this.lineTickEnable[J]&&(ze[ce]+=he*Pe[ce]*Math.max(this.lineTickLength[ce],0)/O[5*ce]);var Fe=[0,0,0];if(Fe[J]=1,this.tickEnable[J]){this.tickAngle[J]===-3600?(this.tickAngle[J]=0,this.tickAlign[J]="auto"):this.tickAlign[J]=-1,Be=1,Te=[this.tickAlign[J],we,Be],Te[0]==="auto"?Te[0]=P:Te[0]=parseInt(""+Te[0]),Ae=[0,0,0],be(J,Pe,Ke);for(var ce=0;ce<3;++ce)ze[ce]+=he*Pe[ce]*this.tickPad[ce]/O[5*ce];this._text.drawTicks(J,this.tickSize[J],this.tickAngle[J],ze,this.tickColor[J],Fe,Ae,Te)}if(this.labelEnable[J]){Be=0,Ae=[0,0,0],this.labels[J].length>4&&(Re(J),Be=1),Te=[this.labelAlign[J],we,Be],Te[0]==="auto"?Te[0]=P:Te[0]=parseInt(""+Te[0]);for(var ce=0;ce<3;++ce)ze[ce]+=he*Pe[ce]*this.labelPad[ce]/O[5*ce];ze[J]+=.5*(Y[0][J]+Y[1][J]),this._text.drawLabel(J,this.labelSize[J],this.labelAngle[J],ze,this.labelColor[J],[0,0,0],Ae,Te)}}this._text.unbind()},R.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null};function T(D,O){var U=new w(D);return U.update(O),U}},1011:function(p,_,c){p.exports=y;var s=c(5827),d=c(2944),f=c(1943).bg;function b(C,w,R,A){this.gl=C,this.buffer=w,this.vao=R,this.shader=A}var x=b.prototype;x.draw=function(C,w,R,A,E,k){for(var L=!1,I=0;I<3;++I)L=L||E[I];if(L){var P=this.gl;P.enable(P.POLYGON_OFFSET_FILL),P.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:C,view:w,projection:R,bounds:A,enable:E,colors:k},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),P.disable(P.POLYGON_OFFSET_FILL)}},x.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()};function y(C){for(var w=[],R=[],A=0,E=0;E<3;++E)for(var k=(E+1)%3,L=(E+2)%3,I=[0,0,0],P=[0,0,0],M=-1;M<=1;M+=2){R.push(A,A+2,A+1,A+1,A+2,A+3),I[E]=M,P[E]=M;for(var F=-1;F<=1;F+=2){I[k]=F;for(var N=-1;N<=1;N+=2)I[L]=N,w.push(I[0],I[1],I[2],P[0],P[1],P[2]),A+=1}var T=k;k=L,L=T}var D=s(C,new Float32Array(w)),O=s(C,new Uint16Array(R),C.ELEMENT_ARRAY_BUFFER),U=d(C,[{buffer:D,type:C.FLOAT,size:3,offset:0,stride:24},{buffer:D,type:C.FLOAT,size:3,offset:12,stride:24}],O),B=f(C);return B.attributes.position.location=0,B.attributes.normal.location=1,new b(C,D,U,B)}},2864:function(p,_,c){p.exports=M;var s=c(2288),d=c(104),f=c(4670),b=c(417),x=new Array(16),y=new Array(8),C=new Array(8),w=new Array(3),R=[0,0,0];(function(){for(var F=0;F<8;++F)y[F]=[1,1,1,1],C[F]=[1,1,1]})();function A(F,N,T){for(var D=0;D<4;++D){F[D]=T[12+D];for(var O=0;O<3;++O)F[D]+=N[O]*T[4*O+D]}}var E=[[0,0,1,0,0],[0,0,-1,1,0],[0,-1,0,1,0],[0,1,0,1,0],[-1,0,0,1,0],[1,0,0,1,0]];function k(F){for(var N=0;N<E.length;++N)if(F=f.positive(F,E[N]),F.length<3)return 0;for(var T=F[0],D=T[0]/T[3],O=T[1]/T[3],U=0,N=1;N+1<F.length;++N){var B=F[N],Y=F[N+1],z=B[0]/B[3],V=B[1]/B[3],j=Y[0]/Y[3],G=Y[1]/Y[3],W=z-D,X=V-O,Q=j-D,ae=G-O;U+=Math.abs(W*ae-X*Q)}return U}var L=[1,1,1],I=[0,0,0],P={cubeEdges:L,axis:I};function M(F,N,T,D,O){d(x,N,F),d(x,T,x);for(var U=0,B=0;B<2;++B){w[2]=D[B][2];for(var Y=0;Y<2;++Y){w[1]=D[Y][1];for(var z=0;z<2;++z)w[0]=D[z][0],A(y[U],w,x),U+=1}}for(var V=-1,B=0;B<8;++B){for(var j=y[B][3],G=0;G<3;++G)C[B][G]=y[B][G]/j;O&&(C[B][2]*=-1),j<0&&(V<0||C[B][2]<C[V][2])&&(V=B)}if(V<0){V=0;for(var W=0;W<3;++W){for(var X=(W+2)%3,Q=(W+1)%3,ae=-1,ie=-1,he=0;he<2;++he){var J=he<<W,Z=J+(he<<X)+(1-he<<Q),le=J+(1-he<<X)+(he<<Q);b(C[J],C[Z],C[le],R)<0||(he?ae=1:ie=1)}if(ae<0||ie<0){ie>ae&&(V|=1<<W);continue}for(var he=0;he<2;++he){var J=he<<W,Z=J+(he<<X)+(1-he<<Q),le=J+(1-he<<X)+(he<<Q),K=k([y[J],y[Z],y[le],y[J+(1<<X)+(1<<Q)]]);he?ae=K:ie=K}if(ie>ae){V|=1<<W;continue}}}for(var te=7^V,ce=-1,B=0;B<8;++B)B===V||B===te||(ce<0||C[ce][1]>C[B][1])&&(ce=B);for(var re=-1,B=0;B<3;++B){var ee=ce^1<<B;if(!(ee===V||ee===te)){re<0&&(re=ee);var Q=C[ee];Q[0]<C[re][0]&&(re=ee)}}for(var de=-1,B=0;B<3;++B){var ee=ce^1<<B;if(!(ee===V||ee===te||ee===re)){de<0&&(de=ee);var Q=C[ee];Q[0]>C[de][0]&&(de=ee)}}var oe=L;oe[0]=oe[1]=oe[2]=0,oe[s.log2(re^ce)]=ce&re,oe[s.log2(ce^de)]=ce&de;var fe=de^7;fe===V||fe===te?(fe=re^7,oe[s.log2(de^fe)]=fe&de):oe[s.log2(re^fe)]=fe&re;for(var me=I,Te=V,W=0;W<3;++W)Te&1<<W?me[W]=-1:me[W]=1;return P}},1681:function(p,_,c){p.exports=L;var s=c(5827),d=c(2944),f=c(1943).j,b=[0,0,0],x=[0,0,0],y=[0,0,0],C=[0,0,0],w=[1,1];function R(I){return I[0]=I[1]=I[2]=0,I}function A(I,P){return I[0]=P[0],I[1]=P[1],I[2]=P[2],I}function E(I,P,M,F,N,T,D,O){this.gl=I,this.vertBuffer=P,this.vao=M,this.shader=F,this.tickCount=N,this.tickOffset=T,this.gridCount=D,this.gridOffset=O}var k=E.prototype;k.bind=function(I,P,M){this.shader.bind(),this.shader.uniforms.model=I,this.shader.uniforms.view=P,this.shader.uniforms.projection=M,w[0]=this.gl.drawingBufferWidth,w[1]=this.gl.drawingBufferHeight,this.shader.uniforms.screenShape=w,this.vao.bind()},k.unbind=function(){this.vao.unbind()},k.drawAxisLine=function(I,P,M,F,N){var T=R(x);this.shader.uniforms.majorAxis=x,T[I]=P[1][I]-P[0][I],this.shader.uniforms.minorAxis=T;var D=A(C,M);D[I]+=P[0][I],this.shader.uniforms.offset=D,this.shader.uniforms.lineWidth=N,this.shader.uniforms.color=F;var O=R(y);O[(I+2)%3]=1,this.shader.uniforms.screenAxis=O,this.vao.draw(this.gl.TRIANGLES,6);var O=R(y);O[(I+1)%3]=1,this.shader.uniforms.screenAxis=O,this.vao.draw(this.gl.TRIANGLES,6)},k.drawAxisTicks=function(I,P,M,F,N){if(this.tickCount[I]){var T=R(b);T[I]=1,this.shader.uniforms.majorAxis=T,this.shader.uniforms.offset=P,this.shader.uniforms.minorAxis=M,this.shader.uniforms.color=F,this.shader.uniforms.lineWidth=N;var D=R(y);D[I]=1,this.shader.uniforms.screenAxis=D,this.vao.draw(this.gl.TRIANGLES,this.tickCount[I],this.tickOffset[I])}},k.drawGrid=function(I,P,M,F,N,T){if(this.gridCount[I]){var D=R(x);D[P]=M[1][P]-M[0][P],this.shader.uniforms.minorAxis=D;var O=A(C,F);O[P]+=M[0][P],this.shader.uniforms.offset=O;var U=R(b);U[I]=1,this.shader.uniforms.majorAxis=U;var B=R(y);B[I]=1,this.shader.uniforms.screenAxis=B,this.shader.uniforms.lineWidth=T,this.shader.uniforms.color=N,this.vao.draw(this.gl.TRIANGLES,this.gridCount[I],this.gridOffset[I])}},k.drawZero=function(I,P,M,F,N,T){var D=R(x);this.shader.uniforms.majorAxis=D,D[I]=M[1][I]-M[0][I],this.shader.uniforms.minorAxis=D;var O=A(C,F);O[I]+=M[0][I],this.shader.uniforms.offset=O;var U=R(y);U[P]=1,this.shader.uniforms.screenAxis=U,this.shader.uniforms.lineWidth=T,this.shader.uniforms.color=N,this.vao.draw(this.gl.TRIANGLES,6)},k.dispose=function(){this.vao.dispose(),this.vertBuffer.dispose(),this.shader.dispose()};function L(I,P,M){var F=[],N=[0,0,0],T=[0,0,0],D=[0,0,0],O=[0,0,0];F.push(0,0,1,0,1,1,0,0,-1,0,0,-1,0,1,1,0,1,-1);for(var U=0;U<3;++U){for(var z=F.length/3|0,B=0;B<M[U].length;++B){var Y=+M[U][B].x;F.push(Y,0,1,Y,1,1,Y,0,-1,Y,0,-1,Y,1,1,Y,1,-1)}var j=F.length/3|0;N[U]=z,T[U]=j-z;for(var z=F.length/3|0,V=0;V<M[U].length;++V){var Y=+M[U][V].x;F.push(Y,0,1,Y,1,1,Y,0,-1,Y,0,-1,Y,1,1,Y,1,-1)}var j=F.length/3|0;D[U]=z,O[U]=j-z}var G=s(I,new Float32Array(F)),W=d(I,[{buffer:G,type:I.FLOAT,size:3,stride:0,offset:0}]),X=f(I);return X.attributes.position.location=0,new E(I,G,W,X,T,N,O,D)}},1943:function(p,_,c){var s=c(6832),d=c(5158),f=s([`precision highp float;
#define GLSLIFY 1
attribute vec3 position;
uniform mat4 model, view, projection;
uniform vec3 offset, majorAxis, minorAxis, screenAxis;
uniform float lineWidth;
uniform vec2 screenShape;
vec3 project(vec3 p) {
vec4 pp = projection * view * model * vec4(p, 1.0);
return pp.xyz / max(pp.w, 0.0001);
}
void main() {
vec3 major = position.x * majorAxis;
vec3 minor = position.y * minorAxis;
vec3 vPosition = major + minor + offset;
vec3 pPosition = project(vPosition);
vec3 offset = project(vPosition + screenAxis * position.z);
vec2 screen = normalize((offset - pPosition).xy * screenShape) / screenShape;
gl_Position = vec4(pPosition + vec3(0.5 * screen * lineWidth, 0), 1.0);
}
`]),b=s([`precision highp float;
#define GLSLIFY 1
uniform vec4 color;
void main() {
gl_FragColor = color;
}`]);_.j=function(R){return d(R,f,b,null,[{name:"position",type:"vec3"}])};var x=s([`precision highp float;
#define GLSLIFY 1
attribute vec3 position;
uniform mat4 model, view, projection;
uniform vec3 offset, axis, alignDir, alignOpt;
uniform float scale, angle, pixelScale;
uniform vec2 resolution;
vec3 project(vec3 p) {
vec4 pp = projection * view * model * vec4(p, 1.0);
return pp.xyz / max(pp.w, 0.0001);
}
float computeViewAngle(vec3 a, vec3 b) {
vec3 A = project(a);
vec3 B = project(b);
return atan(
(B.y - A.y) * resolution.y,
(B.x - A.x) * resolution.x
);
}
const float PI = 3.141592;
const float TWO_PI = 2.0 * PI;
const float HALF_PI = 0.5 * PI;
const float ONE_AND_HALF_PI = 1.5 * PI;
int option = int(floor(alignOpt.x + 0.001));
float hv_ratio = alignOpt.y;
bool enableAlign = (alignOpt.z != 0.0);
float mod_angle(float a) {
return mod(a, PI);
}
float positive_angle(float a) {
return mod_angle((a < 0.0) ?
a + TWO_PI :
a
);
}
float look_upwards(float a) {
float b = positive_angle(a);
return ((b > HALF_PI) && (b <= ONE_AND_HALF_PI)) ?
b - PI :
b;
}
float look_horizontal_or_vertical(float a, float ratio) {
// ratio controls the ratio between being horizontal to (vertical + horizontal)
// if ratio is set to 0.5 then it is 50%, 50%.
// when using a higher ratio e.g. 0.75 the result would
// likely be more horizontal than vertical.
float b = positive_angle(a);
return
(b < ( ratio) * HALF_PI) ? 0.0 :
(b < (2.0 - ratio) * HALF_PI) ? -HALF_PI :
(b < (2.0 + ratio) * HALF_PI) ? 0.0 :
(b < (4.0 - ratio) * HALF_PI) ? HALF_PI :
0.0;
}
float roundTo(float a, float b) {
return float(b * floor((a + 0.5 * b) / b));
}
float look_round_n_directions(float a, int n) {
float b = positive_angle(a);
float div = TWO_PI / float(n);
float c = roundTo(b, div);
return look_upwards(c);
}
float applyAlignOption(float rawAngle, float delta) {
return
(option > 2) ? look_round_n_directions(rawAngle + delta, option) : // option 3-n: round to n directions
(option == 2) ? look_horizontal_or_vertical(rawAngle + delta, hv_ratio) : // horizontal or vertical
(option == 1) ? rawAngle + delta : // use free angle, and flip to align with one direction of the axis
(option == 0) ? look_upwards(rawAngle) : // use free angle, and stay upwards
(option ==-1) ? 0.0 : // useful for backward compatibility, all texts remains horizontal
rawAngle; // otherwise return back raw input angle
}
bool isAxisTitle = (axis.x == 0.0) &&
(axis.y == 0.0) &&
(axis.z == 0.0);
void main() {
//Compute world offset
float axisDistance = position.z;
vec3 dataPosition = axisDistance * axis + offset;
float beta = angle; // i.e. user defined attributes for each tick
float axisAngle;
float clipAngle;
float flip;
if (enableAlign) {
axisAngle = (isAxisTitle) ? HALF_PI :
computeViewAngle(dataPosition, dataPosition + axis);
clipAngle = computeViewAngle(dataPosition, dataPosition + alignDir);
axisAngle += (sin(axisAngle) < 0.0) ? PI : 0.0;
clipAngle += (sin(clipAngle) < 0.0) ? PI : 0.0;
flip = (dot(vec2(cos(axisAngle), sin(axisAngle)),
vec2(sin(clipAngle),-cos(clipAngle))) > 0.0) ? 1.0 : 0.0;
beta += applyAlignOption(clipAngle, flip * PI);
}
//Compute plane offset
vec2 planeCoord = position.xy * pixelScale;
mat2 planeXform = scale * mat2(
cos(beta), sin(beta),
-sin(beta), cos(beta)
);
vec2 viewOffset = 2.0 * planeXform * planeCoord / resolution;
//Compute clip position
vec3 clipPosition = project(dataPosition);
//Apply text offset in clip coordinates
clipPosition += vec3(viewOffset, 0.0);
//Done
gl_Position = vec4(clipPosition, 1.0);
}`]),y=s([`precision highp float;
#define GLSLIFY 1
uniform vec4 color;
void main() {
gl_FragColor = color;
}`]);_.f=function(R){return d(R,x,y,null,[{name:"position",type:"vec3"}])};var C=s([`precision highp float;
#define GLSLIFY 1
attribute vec3 position;
attribute vec3 normal;
uniform mat4 model, view, projection;
uniform vec3 enable;
uniform vec3 bounds[2];
varying vec3 colorChannel;
void main() {
vec3 signAxis = sign(bounds[1] - bounds[0]);
vec3 realNormal = signAxis * normal;
if(dot(realNormal, enable) > 0.0) {
vec3 minRange = min(bounds[0], bounds[1]);
vec3 maxRange = max(bounds[0], bounds[1]);
vec3 nPosition = mix(minRange, maxRange, 0.5 * (position + 1.0));
gl_Position = projection * view * model * vec4(nPosition, 1.0);
} else {
gl_Position = vec4(0,0,0,0);
}
colorChannel = abs(realNormal);
}`]),w=s([`precision highp float;
#define GLSLIFY 1
uniform vec4 colors[3];
varying vec3 colorChannel;
void main() {
gl_FragColor = colorChannel.x * colors[0] +
colorChannel.y * colors[1] +
colorChannel.z * colors[2];
}`]);_.bg=function(R){return d(R,C,w,null,[{name:"position",type:"vec3"},{name:"normal",type:"vec3"}])}},9557:function(p,_,c){p.exports=k;var s=c(5827),d=c(2944),f=c(875),b=c(1943).f,x=window||l.global||{},y=x.__TEXT_CACHE||{};x.__TEXT_CACHE={};var C=3;function w(L,I,P,M){this.gl=L,this.shader=I,this.buffer=P,this.vao=M,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}var R=w.prototype,A=[0,0];R.bind=function(L,I,P,M){this.vao.bind(),this.shader.bind();var F=this.shader.uniforms;F.model=L,F.view=I,F.projection=P,F.pixelScale=M,A[0]=this.gl.drawingBufferWidth,A[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=A},R.unbind=function(){this.vao.unbind()},R.update=function(L,I,P,M,F){var N=[];function T(G,W,X,Q,ae,ie){var he=y[X];he||(he=y[X]={});var J=he[W];J||(J=he[W]=E(W,{triangles:!0,font:X,textAlign:"center",textBaseline:"middle",lineSpacing:ae,styletags:ie}));for(var Z=(Q||12)/12,le=J.positions,K=J.cells,te=0,ce=K.length;te<ce;++te)for(var re=K[te],ee=2;ee>=0;--ee){var de=le[re[ee]];N.push(Z*de[0],-Z*de[1],G)}}for(var D=[0,0,0],O=[0,0,0],U=[0,0,0],B=[0,0,0],Y=1.25,z={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},V=0;V<3;++V){U[V]=N.length/C|0,T(.5*(L[0][V]+L[1][V]),I[V],P[V],12,Y,z),B[V]=(N.length/C|0)-U[V],D[V]=N.length/C|0;for(var j=0;j<M[V].length;++j)M[V][j].text&&T(M[V][j].x,M[V][j].text,M[V][j].font||F,M[V][j].fontSize||12,Y,z);O[V]=(N.length/C|0)-D[V]}this.buffer.update(N),this.tickOffset=D,this.tickCount=O,this.labelOffset=U,this.labelCount=B},R.drawTicks=function(L,I,P,M,F,N,T,D){this.tickCount[L]&&(this.shader.uniforms.axis=N,this.shader.uniforms.color=F,this.shader.uniforms.angle=P,this.shader.uniforms.scale=I,this.shader.uniforms.offset=M,this.shader.uniforms.alignDir=T,this.shader.uniforms.alignOpt=D,this.vao.draw(this.gl.TRIANGLES,this.tickCount[L],this.tickOffset[L]))},R.drawLabel=function(L,I,P,M,F,N,T,D){this.labelCount[L]&&(this.shader.uniforms.axis=N,this.shader.uniforms.color=F,this.shader.uniforms.angle=P,this.shader.uniforms.scale=I,this.shader.uniforms.offset=M,this.shader.uniforms.alignDir=T,this.shader.uniforms.alignOpt=D,this.vao.draw(this.gl.TRIANGLES,this.labelCount[L],this.labelOffset[L]))},R.dispose=function(){this.shader.dispose(),this.vao.dispose(),this.buffer.dispose()};function E(L,I){try{return f(L,I)}catch(P){return console.warn('error vectorizing text:"'+L+'" error:',P),{cells:[],positions:[]}}}function k(L,I,P,M,F,N){var T=s(L),D=d(L,[{buffer:T,size:3}]),O=b(L);O.attributes.position.location=0;var U=new w(L,O,T,D);return U.update(I,P,M,F,N),U}},8468:function(p,_){_.create=s,_.equal=d;function c(f,b){var x=f+"",y=x.indexOf("."),C=0;y>=0&&(C=x.length-y-1);var w=Math.pow(10,C),R=Math.round(f*b*w),A=R+"";if(A.indexOf("e")>=0)return A;var E=R/w,k=R%w;R<0?(E=-Math.ceil(E)|0,k=-k|0):(E=Math.floor(E)|0,k=k|0);var L=""+E;if(R<0&&(L="-"+L),C){for(var I=""+k;I.length<C;)I="0"+I;return L+"."+I}else return L}function s(f,b){for(var x=[],y=0;y<3;++y){var C=[];.5*(f[0][y]+f[1][y]);for(var w=0;w*b[y]<=f[1][y];++w)C.push({x:w*b[y],text:c(b[y],w)});for(var w=-1;w*b[y]>=f[0][y];--w)C.push({x:w*b[y],text:c(b[y],w)});x.push(C)}return x}function d(f,b){for(var x=0;x<3;++x){if(f[x].length!==b[x].length)return!1;for(var y=0;y<f[x].length;++y){var C=f[x][y],w=b[x][y];if(C.x!==w.x||C.text!==w.text||C.font!==w.font||C.fontColor!==w.fontColor||C.fontSize!==w.fontSize||C.dx!==w.dx||C.dy!==w.dy)return!1}}return!0}},2771:function(p,_,c){p.exports=P;var s=c(5795),d=c(4670),f=c(2864),b=c(104),x=c(2142),y=c(6342),C=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),w=new Float32Array(16);function R(M,F,N){this.lo=M,this.hi=F,this.pixelsPerDataUnit=N}var A=[0,0,0,1],E=[0,0,0,1];function k(M,F,N,T,D){for(var O=0;O<3;++O){for(var U=A,B=E,Y=0;Y<3;++Y)B[Y]=U[Y]=N[Y];B[3]=U[3]=1,B[O]+=1,y(B,B,F),B[3]<0&&(M[O]=1/0),U[O]-=1,y(U,U,F),U[3]<0&&(M[O]=1/0);var z=(U[0]/U[3]-B[0]/B[3])*T,V=(U[1]/U[3]-B[1]/B[3])*D;M[O]=.25*Math.sqrt(z*z+V*V)}return M}var L=[new R(1/0,-1/0,1/0),new R(1/0,-1/0,1/0),new R(1/0,-1/0,1/0)],I=[0,0,0];function P(M,F,N,T,V){var O=F.model||C,U=F.view||C,B=F.projection||C,Y=F._ortho||!1,z=M.bounds,V=V||f(O,U,B,z,Y),j=V.axis;b(w,U,O),b(w,B,w);for(var G=L,W=0;W<3;++W)G[W].lo=1/0,G[W].hi=-1/0,G[W].pixelsPerDataUnit=1/0;var X=s(x(w,w));x(w,w);for(var Q=0;Q<3;++Q){var ae=(Q+1)%3,ie=(Q+2)%3,he=I;e:for(var W=0;W<2;++W){var J=[];if(j[Q]<0!=!!W){he[Q]=z[W][Q];for(var Z=0;Z<2;++Z){he[ae]=z[Z^W][ae];for(var le=0;le<2;++le)he[ie]=z[le^Z^W][ie],J.push(he.slice())}for(var K=Y?5:4,Z=K;Z===K;++Z){if(J.length===0)continue e;J=d.positive(J,X[Z])}for(var Z=0;Z<J.length;++Z)for(var ie=J[Z],te=k(I,w,ie,N,T),le=0;le<3;++le)G[le].lo=Math.min(G[le].lo,ie[le]),G[le].hi=Math.max(G[le].hi,ie[le]),le!==Q&&(G[le].pixelsPerDataUnit=Math.min(G[le].pixelsPerDataUnit,Math.abs(te[le])))}}}return G}},5827:function(p,_,c){var s=c(5306),d=c(7498),f=c(5050),b=["uint8","uint8_clamped","uint16","uint32","int8","int16","int32","float32"];function x(E,k,L,I,P){this.gl=E,this.type=k,this.handle=L,this.length=I,this.usage=P}var y=x.prototype;y.bind=function(){this.gl.bindBuffer(this.type,this.handle)},y.unbind=function(){this.gl.bindBuffer(this.type,null)},y.dispose=function(){this.gl.deleteBuffer(this.handle)};function C(E,k,L,I,P,M){var F=P.length*P.BYTES_PER_ELEMENT;if(M<0)return E.bufferData(k,P,I),F;if(F+M>L)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return E.bufferSubData(k,M,P),L}function w(E,k){for(var L=s.malloc(E.length,k),I=E.length,P=0;P<I;++P)L[P]=E[P];return L}function R(E,k){for(var L=1,I=k.length-1;I>=0;--I){if(k[I]!==L)return!1;L*=E[I]}return!0}y.update=function(E,k){if(typeof k!="number"&&(k=-1),this.bind(),typeof E=="object"&&typeof E.shape<"u"){var L=E.dtype;if(b.indexOf(L)<0&&(L="float32"),this.type===this.gl.ELEMENT_ARRAY_BUFFER){var I=gl.getExtension("OES_element_index_uint");I&&L!=="uint16"?L="uint32":L="uint16"}if(L===E.dtype&&R(E.shape,E.stride))E.offset===0&&E.data.length===E.shape[0]?this.length=C(this.gl,this.type,this.length,this.usage,E.data,k):this.length=C(this.gl,this.type,this.length,this.usage,E.data.subarray(E.offset,E.shape[0]),k);else{var P=s.malloc(E.size,L),M=f(P,E.shape);d.assign(M,E),k<0?this.length=C(this.gl,this.type,this.length,this.usage,P,k):this.length=C(this.gl,this.type,this.length,this.usage,P.subarray(0,E.size),k),s.free(P)}}else if(Array.isArray(E)){var F;this.type===this.gl.ELEMENT_ARRAY_BUFFER?F=w(E,"uint16"):F=w(E,"float32"),k<0?this.length=C(this.gl,this.type,this.length,this.usage,F,k):this.length=C(this.gl,this.type,this.length,this.usage,F.subarray(0,E.length),k),s.free(F)}else if(typeof E=="object"&&typeof E.length=="number")this.length=C(this.gl,this.type,this.length,this.usage,E,k);else if(typeof E=="number"||E===void 0){if(k>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");E=E|0,E<=0&&(E=1),this.gl.bufferData(this.type,E|0,this.usage),this.length=E}else throw new Error("gl-buffer: Invalid data type")};function A(E,k,L,I){if(L=L||E.ARRAY_BUFFER,I=I||E.DYNAMIC_DRAW,L!==E.ARRAY_BUFFER&&L!==E.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(I!==E.DYNAMIC_DRAW&&I!==E.STATIC_DRAW&&I!==E.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var P=E.createBuffer(),M=new x(E,L,P,0,I);return M.update(k),M}p.exports=A},1140:function(p,_,c){var s=c(2858);p.exports=function(f,b){var x=f.positions,y=f.vectors,C={positions:[],vertexIntensity:[],vertexIntensityBounds:f.vertexIntensityBounds,vectors:[],cells:[],coneOffset:f.coneOffset,colormap:f.colormap};if(f.positions.length===0)return b&&(b[0]=[0,0,0],b[1]=[0,0,0]),C;for(var w=0,R=1/0,A=-1/0,E=1/0,k=-1/0,L=1/0,I=-1/0,P=null,M=null,F=[],N=1/0,T=!1,D=0;D<x.length;D++){var O=x[D];R=Math.min(O[0],R),A=Math.max(O[0],A),E=Math.min(O[1],E),k=Math.max(O[1],k),L=Math.min(O[2],L),I=Math.max(O[2],I);var U=y[D];if(s.length(U)>w&&(w=s.length(U)),D){var B=2*s.distance(P,O)/(s.length(M)+s.length(U));B?(N=Math.min(N,B),T=!1):T=!0}T||(P=O,M=U),F.push(U)}var Y=[R,E,L],z=[A,k,I];b&&(b[0]=Y,b[1]=z),w===0&&(w=1);var V=1/w;isFinite(N)||(N=1),C.vectorScale=N;var j=f.coneSize||.5;f.absoluteConeSize&&(j=f.absoluteConeSize*V),C.coneScale=j;for(var D=0,G=0;D<x.length;D++)for(var O=x[D],W=O[0],X=O[1],Q=O[2],ae=F[D],ie=s.length(ae)*V,he=0,J=8;he<J;he++){C.positions.push([W,X,Q,G++]),C.positions.push([W,X,Q,G++]),C.positions.push([W,X,Q,G++]),C.positions.push([W,X,Q,G++]),C.positions.push([W,X,Q,G++]),C.positions.push([W,X,Q,G++]),C.vectors.push(ae),C.vectors.push(ae),C.vectors.push(ae),C.vectors.push(ae),C.vectors.push(ae),C.vectors.push(ae),C.vertexIntensity.push(ie,ie,ie),C.vertexIntensity.push(ie,ie,ie);var Z=C.positions.length;C.cells.push([Z-6,Z-5,Z-4],[Z-3,Z-2,Z-1])}return C};var d=c(7234);p.exports.createMesh=c(5028),p.exports.createConeMesh=function(f,b){return p.exports.createMesh(f,b,{shaders:d,traceType:"cone"})}},5028:function(p,_,c){var s=c(5158),d=c(5827),f=c(2944),b=c(8931),x=c(104),y=c(7437),C=c(5050),w=c(9156),R=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function A(F,N,T,D,O,U,B,Y,z,V,j){this.gl=F,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=N,this.dirty=!0,this.triShader=T,this.pickShader=D,this.trianglePositions=O,this.triangleVectors=U,this.triangleColors=Y,this.triangleUVs=z,this.triangleIds=B,this.triangleVAO=V,this.triangleCount=0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.traceType=j,this.tubeScale=1,this.coneScale=2,this.vectorScale=1,this.coneOffset=.25,this._model=R,this._view=R,this._projection=R,this._resolution=[1,1]}var E=A.prototype;E.isOpaque=function(){return this.opacity>=1},E.isTransparent=function(){return this.opacity<1},E.pickSlots=1,E.setPickBase=function(F){this.pickId=F};function k(F){for(var N=w({colormap:F,nshades:256,format:"rgba"}),T=new Uint8Array(256*4),D=0;D<256;++D){for(var O=N[D],U=0;U<3;++U)T[4*D+U]=O[U];T[4*D+3]=O[3]*255}return C(T,[256,256,4],[4,0,1])}function L(F){for(var N=F.length,T=new Array(N),D=0;D<N;++D)T[D]=F[D][2];return T}E.update=function(F){F=F||{};var N=this.gl;this.dirty=!0,"lightPosition"in F&&(this.lightPosition=F.lightPosition),"opacity"in F&&(this.opacity=F.opacity),"ambient"in F&&(this.ambientLight=F.ambient),"diffuse"in F&&(this.diffuseLight=F.diffuse),"specular"in F&&(this.specularLight=F.specular),"roughness"in F&&(this.roughness=F.roughness),"fresnel"in F&&(this.fresnel=F.fresnel),F.tubeScale!==void 0&&(this.tubeScale=F.tubeScale),F.vectorScale!==void 0&&(this.vectorScale=F.vectorScale),F.coneScale!==void 0&&(this.coneScale=F.coneScale),F.coneOffset!==void 0&&(this.coneOffset=F.coneOffset),F.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=N.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=N.LINEAR,this.texture.setPixels(k(F.colormap)),this.texture.generateMipmap());var T=F.cells,D=F.positions,O=F.vectors;if(!(!D||!T||!O)){var U=[],B=[],Y=[],z=[],V=[];this.cells=T,this.positions=D,this.vectors=O;var j=F.meshColor||[1,1,1,1],G=F.vertexIntensity,W=1/0,X=-1/0;if(G)if(F.vertexIntensityBounds)W=+F.vertexIntensityBounds[0],X=+F.vertexIntensityBounds[1];else for(var Q=0;Q<G.length;++Q){var ae=G[Q];W=Math.min(W,ae),X=Math.max(X,ae)}else for(var Q=0;Q<D.length;++Q){var ae=D[Q][2];W=Math.min(W,ae),X=Math.max(X,ae)}G?this.intensity=G:this.intensity=L(D),this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]];for(var Q=0;Q<D.length;++Q)for(var ie=D[Q],he=0;he<3;++he)isNaN(ie[he])||!isFinite(ie[he])||(this.bounds[0][he]=Math.min(this.bounds[0][he],ie[he]),this.bounds[1][he]=Math.max(this.bounds[1][he],ie[he]));var J=0;e:for(var Q=0;Q<T.length;++Q){var Z=T[Q];switch(Z.length){case 3:for(var he=0;he<3;++he)for(var le=Z[he],ie=D[le],K=0;K<3;++K)if(isNaN(ie[K])||!isFinite(ie[K]))continue e;for(var he=0;he<3;++he){var le=Z[2-he],ie=D[le];U.push(ie[0],ie[1],ie[2],ie[3]);var te=O[le];B.push(te[0],te[1],te[2],te[3]||0);var ce=j;ce.length===3?Y.push(ce[0],ce[1],ce[2],1):Y.push(ce[0],ce[1],ce[2],ce[3]);var re;G?re=[(G[le]-W)/(X-W),0]:re=[(ie[2]-W)/(X-W),0],z.push(re[0],re[1]),V.push(Q)}J+=1;break}}this.triangleCount=J,this.trianglePositions.update(U),this.triangleVectors.update(B),this.triangleColors.update(Y),this.triangleUVs.update(z),this.triangleIds.update(new Uint32Array(V))}},E.drawTransparent=E.draw=function(F){F=F||{};for(var N=this.gl,T=F.model||R,D=F.view||R,O=F.projection||R,U=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],B=0;B<3;++B)U[0][B]=Math.max(U[0][B],this.clipBounds[0][B]),U[1][B]=Math.min(U[1][B],this.clipBounds[1][B]);var Y={model:T,view:D,projection:O,inverseModel:R.slice(),clipBounds:U,kambient:this.ambientLight,kdiffuse:this.diffuseLight,kspecular:this.specularLight,roughness:this.roughness,fresnel:this.fresnel,eyePosition:[0,0,0],lightPosition:[0,0,0],opacity:this.opacity,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,texture:0};Y.inverseModel=y(Y.inverseModel,Y.model),N.disable(N.CULL_FACE),this.texture.bind(0);var z=new Array(16);x(z,Y.view,Y.model),x(z,Y.projection,z),y(z,z);for(var B=0;B<3;++B)Y.eyePosition[B]=z[12+B]/z[15];for(var V=z[15],B=0;B<3;++B)V+=this.lightPosition[B]*z[4*B+3];for(var B=0;B<3;++B){for(var j=z[12+B],G=0;G<3;++G)j+=z[4*G+B]*this.lightPosition[G];Y.lightPosition[B]=j/V}if(this.triangleCount>0){var W=this.triShader;W.bind(),W.uniforms=Y,this.triangleVAO.bind(),N.drawArrays(N.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()}},E.drawPick=function(F){F=F||{};for(var N=this.gl,T=F.model||R,D=F.view||R,O=F.projection||R,U=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],B=0;B<3;++B)U[0][B]=Math.max(U[0][B],this.clipBounds[0][B]),U[1][B]=Math.min(U[1][B],this.clipBounds[1][B]);this._model=[].slice.call(T),this._view=[].slice.call(D),this._projection=[].slice.call(O),this._resolution=[N.drawingBufferWidth,N.drawingBufferHeight];var Y={model:T,view:D,projection:O,clipBounds:U,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},z=this.pickShader;z.bind(),z.uniforms=Y,this.triangleCount>0&&(this.triangleVAO.bind(),N.drawArrays(N.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind())},E.pick=function(F){if(!F||F.id!==this.pickId)return null;var N=F.value[0]+256*F.value[1]+65536*F.value[2],T=this.cells[N],D=this.positions[T[1]].slice(0,3),O={position:D,dataCoordinate:D,index:Math.floor(T[1]/48)};return this.traceType==="cone"?O.index=Math.floor(T[1]/48):this.traceType==="streamtube"&&(O.intensity=this.intensity[T[1]],O.velocity=this.vectors[T[1]].slice(0,3),O.divergence=this.vectors[T[1]][3],O.index=N),O},E.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()};function I(F,N){var T=s(F,N.meshShader.vertex,N.meshShader.fragment,null,N.meshShader.attributes);return T.attributes.position.location=0,T.attributes.color.location=2,T.attributes.uv.location=3,T.attributes.vector.location=4,T}function P(F,N){var T=s(F,N.pickShader.vertex,N.pickShader.fragment,null,N.pickShader.attributes);return T.attributes.position.location=0,T.attributes.id.location=1,T.attributes.vector.location=4,T}function M(F,N,T){var D=T.shaders;arguments.length===1&&(N=F,F=N.gl);var O=I(F,D),U=P(F,D),B=b(F,C(new Uint8Array([255,255,255,255]),[1,1,4]));B.generateMipmap(),B.minFilter=F.LINEAR_MIPMAP_LINEAR,B.magFilter=F.LINEAR;var Y=d(F),z=d(F),V=d(F),j=d(F),G=d(F),W=f(F,[{buffer:Y,type:F.FLOAT,size:4},{buffer:G,type:F.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:V,type:F.FLOAT,size:4},{buffer:j,type:F.FLOAT,size:2},{buffer:z,type:F.FLOAT,size:4}]),X=new A(F,B,O,U,Y,z,G,V,j,W,T.traceType||"cone");return X.update(N),X}p.exports=M},7234:function(p,_,c){var s=c(6832),d=s([`precision highp float;
precision highp float;
#define GLSLIFY 1
vec3 getOrthogonalVector(vec3 v) {
// Return up-vector for only-z vector.
// Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).
// From the above if-statement we have ||a|| > 0 U ||b|| > 0.
// Assign z = 0, x = -b, y = a:
// a*-b + b*a + c*0 = -ba + ba + 0 = 0
if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {
return normalize(vec3(-v.y, v.x, 0.0));
} else {
return normalize(vec3(0.0, v.z, -v.y));
}
}
// Calculate the cone vertex and normal at the given index.
//
// The returned vertex is for a cone with its top at origin and height of 1.0,
// pointing in the direction of the vector attribute.
//
// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices.
// These vertices are used to make up the triangles of the cone by the following:
// segment + 0 top vertex
// segment + 1 perimeter vertex a+1
// segment + 2 perimeter vertex a
// segment + 3 center base vertex
// segment + 4 perimeter vertex a
// segment + 5 perimeter vertex a+1
// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment.
// To go from index to segment, floor(index / 6)
// To go from segment to angle, 2*pi * (segment/segmentCount)
// To go from index to segment index, index - (segment*6)
//
vec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) {
const float segmentCount = 8.0;
float index = rawIndex - floor(rawIndex /
(segmentCount * 6.0)) *
(segmentCount * 6.0);
float segment = floor(0.001 + index/6.0);
float segmentIndex = index - (segment*6.0);
normal = -normalize(d);
if (segmentIndex > 2.99 && segmentIndex < 3.01) {
return mix(vec3(0.0), -d, coneOffset);
}
float nextAngle = (
(segmentIndex > 0.99 && segmentIndex < 1.01) ||
(segmentIndex > 4.99 && segmentIndex < 5.01)
) ? 1.0 : 0.0;
float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount);
vec3 v1 = mix(d, vec3(0.0), coneOffset);
vec3 v2 = v1 - d;
vec3 u = getOrthogonalVector(d);
vec3 v = normalize(cross(u, d));
vec3 x = u * cos(angle) * length(d)*0.25;
vec3 y = v * sin(angle) * length(d)*0.25;
vec3 v3 = v2 + x + y;
if (segmentIndex < 3.0) {
vec3 tx = u * sin(angle);
vec3 ty = v * -cos(angle);
vec3 tangent = tx + ty;
normal = normalize(cross(v3 - v1, tangent));
}
if (segmentIndex == 0.0) {
return mix(d, vec3(0.0), coneOffset);
}
return v3;
}
attribute vec3 vector;
attribute vec4 color, position;
attribute vec2 uv;
uniform float vectorScale, coneScale, coneOffset;
uniform mat4 model, view, projection, inverseModel;
uniform vec3 eyePosition, lightPosition;
varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;
varying vec4 f_color;
varying vec2 f_uv;
void main() {
// Scale the vector magnitude to stay constant with
// model & view changes.
vec3 normal;
vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector), position.w, coneOffset, normal);
vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);
//Lighting geometry parameters
vec4 cameraCoordinate = view * conePosition;
cameraCoordinate.xyz /= cameraCoordinate.w;
f_lightDirection = lightPosition - cameraCoordinate.xyz;
f_eyeDirection = eyePosition - cameraCoordinate.xyz;
f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);
// vec4 m_position = model * vec4(conePosition, 1.0);
vec4 t_position = view * conePosition;
gl_Position = projection * t_position;
f_color = color;
f_data = conePosition.xyz;
f_position = position.xyz;
f_uv = uv;
}
`]),f=s([`#extension GL_OES_standard_derivatives : enable
precision highp float;
#define GLSLIFY 1
float beckmannDistribution(float x, float roughness) {
float NdotH = max(x, 0.0001);
float cos2Alpha = NdotH * NdotH;
float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;
float roughness2 = roughness * roughness;
float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;
return exp(tan2Alpha / roughness2) / denom;
}
float cookTorranceSpecular(
vec3 lightDirection,
vec3 viewDirection,
vec3 surfaceNormal,
float roughness,
float fresnel) {
float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);
float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);
//Half angle vector
vec3 H = normalize(lightDirection + viewDirection);
//Geometric term
float NdotH = max(dot(surfaceNormal, H), 0.0);
float VdotH = max(dot(viewDirection, H), 0.000001);
float LdotH = max(dot(lightDirection, H), 0.000001);
float G1 = (2.0 * NdotH * VdotN) / VdotH;
float G2 = (2.0 * NdotH * LdotN) / LdotH;
float G = min(1.0, min(G1, G2));
//Distribution term
float D = beckmannDistribution(NdotH, roughness);
//Fresnel term
float F = pow(1.0 - VdotN, fresnel);
//Multiply terms and done
return G * F * D / max(3.14159265 * VdotN, 0.000001);
}
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
uniform vec3 clipBounds[2];
uniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;
uniform sampler2D texture;
varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;
varying vec4 f_color;
varying vec2 f_uv;
void main() {
if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;
vec3 N = normalize(f_normal);
vec3 L = normalize(f_lightDirection);
vec3 V = normalize(f_eyeDirection);
if(gl_FrontFacing) {
N = -N;
}
float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));
float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);
vec4 surfaceColor = f_color * texture2D(texture, f_uv);
vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);
gl_FragColor = litColor * opacity;
}
`]),b=s([`precision highp float;
precision highp float;
#define GLSLIFY 1
vec3 getOrthogonalVector(vec3 v) {
// Return up-vector for only-z vector.
// Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).
// From the above if-statement we have ||a|| > 0 U ||b|| > 0.
// Assign z = 0, x = -b, y = a:
// a*-b + b*a + c*0 = -ba + ba + 0 = 0
if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {
return normalize(vec3(-v.y, v.x, 0.0));
} else {
return normalize(vec3(0.0, v.z, -v.y));
}
}
// Calculate the cone vertex and normal at the given index.
//
// The returned vertex is for a cone with its top at origin and height of 1.0,
// pointing in the direction of the vector attribute.
//
// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices.
// These vertices are used to make up the triangles of the cone by the following:
// segment + 0 top vertex
// segment + 1 perimeter vertex a+1
// segment + 2 perimeter vertex a
// segment + 3 center base vertex
// segment + 4 perimeter vertex a
// segment + 5 perimeter vertex a+1
// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment.
// To go from index to segment, floor(index / 6)
// To go from segment to angle, 2*pi * (segment/segmentCount)
// To go from index to segment index, index - (segment*6)
//
vec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) {
const float segmentCount = 8.0;
float index = rawIndex - floor(rawIndex /
(segmentCount * 6.0)) *
(segmentCount * 6.0);
float segment = floor(0.001 + index/6.0);
float segmentIndex = index - (segment*6.0);
normal = -normalize(d);
if (segmentIndex > 2.99 && segmentIndex < 3.01) {
return mix(vec3(0.0), -d, coneOffset);
}
float nextAngle = (
(segmentIndex > 0.99 && segmentIndex < 1.01) ||
(segmentIndex > 4.99 && segmentIndex < 5.01)
) ? 1.0 : 0.0;
float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount);
vec3 v1 = mix(d, vec3(0.0), coneOffset);
vec3 v2 = v1 - d;
vec3 u = getOrthogonalVector(d);
vec3 v = normalize(cross(u, d));
vec3 x = u * cos(angle) * length(d)*0.25;
vec3 y = v * sin(angle) * length(d)*0.25;
vec3 v3 = v2 + x + y;
if (segmentIndex < 3.0) {
vec3 tx = u * sin(angle);
vec3 ty = v * -cos(angle);
vec3 tangent = tx + ty;
normal = normalize(cross(v3 - v1, tangent));
}
if (segmentIndex == 0.0) {
return mix(d, vec3(0.0), coneOffset);
}
return v3;
}
attribute vec4 vector;
attribute vec4 position;
attribute vec4 id;
uniform mat4 model, view, projection;
uniform float vectorScale, coneScale, coneOffset;
varying vec3 f_position;
varying vec4 f_id;
void main() {
vec3 normal;
vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector.xyz), position.w, coneOffset, normal);
vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);
gl_Position = projection * view * conePosition;
f_id = id;
f_position = position.xyz;
}
`]),x=s([`precision highp float;
#define GLSLIFY 1
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
uniform vec3 clipBounds[2];
uniform float pickId;
varying vec3 f_position;
varying vec4 f_id;
void main() {
if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;
gl_FragColor = vec4(pickId, f_id.xyz);
}`]);_.meshShader={vertex:d,fragment:f,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},_.pickShader={vertex:b,fragment:x,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},1950:function(p){p.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},6603:function(p,_,c){var s=c(1950);p.exports=function(f){return s[f]}},3110:function(p,_,c){p.exports=A;var s=c(5827),d=c(2944),f=c(7667),b=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function x(E,k,L,I){this.gl=E,this.shader=I,this.buffer=k,this.vao=L,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var y=x.prototype;y.isOpaque=function(){return!this.hasAlpha},y.isTransparent=function(){return this.hasAlpha},y.drawTransparent=y.draw=function(E){var k=this.gl,L=this.shader.uniforms;this.shader.bind();var I=L.view=E.view||b,P=L.projection=E.projection||b;L.model=E.model||b,L.clipBounds=this.clipBounds,L.opacity=this.opacity;var M=I[12],F=I[13],N=I[14],T=I[15],D=E._ortho||!1,O=D?2:1,U=O*this.pixelRatio*(P[3]*M+P[7]*F+P[11]*N+P[15]*T)/k.drawingBufferHeight;this.vao.bind();for(var B=0;B<3;++B)k.lineWidth(this.lineWidth[B]*this.pixelRatio),L.capSize=this.capSize[B]*U,this.lineCount[B]&&k.drawArrays(k.LINES,this.lineOffset[B],this.lineCount[B]);this.vao.unbind()};function C(E,k){for(var L=0;L<3;++L)E[0][L]=Math.min(E[0][L],k[L]),E[1][L]=Math.max(E[1][L],k[L])}var w=function(){for(var E=new Array(3),k=0;k<3;++k){for(var L=[],I=1;I<=2;++I)for(var P=-1;P<=1;P+=2){var M=(I+k)%3,F=[0,0,0];F[M]=P,L.push(F)}E[k]=L}return E}();function R(E,k,L,I){for(var P=w[I],M=0;M<P.length;++M){var F=P[M];E.push(k[0],k[1],k[2],L[0],L[1],L[2],L[3],F[0],F[1],F[2])}return P.length}y.update=function(E){E=E||{},"lineWidth"in E&&(this.lineWidth=E.lineWidth,Array.isArray(this.lineWidth)||(this.lineWidth=[this.lineWidth,this.lineWidth,this.lineWidth])),"capSize"in E&&(this.capSize=E.capSize,Array.isArray(this.capSize)||(this.capSize=[this.capSize,this.capSize,this.capSize])),this.hasAlpha=!1,"opacity"in E&&(this.opacity=+E.opacity,this.opacity<1&&(this.hasAlpha=!0));var k=E.color||[[0,0,0],[0,0,0],[0,0,0]],L=E.position,I=E.error;if(Array.isArray(k[0])||(k=[k,k,k]),L&&I){var P=[],M=L.length,F=0;this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.lineCount=[0,0,0];for(var N=0;N<3;++N){this.lineOffset[N]=F;e:for(var T=0;T<M;++T){for(var D=L[T],O=0;O<3;++O)if(isNaN(D[O])||!isFinite(D[O]))continue e;var U=I[T],B=k[N];if(Array.isArray(B[0])&&(B=k[T]),B.length===3?B=[B[0],B[1],B[2],1]:B.length===4&&(B=[B[0],B[1],B[2],B[3]],!this.hasAlpha&&B[3]<1&&(this.hasAlpha=!0)),!(isNaN(U[0][N])||isNaN(U[1][N]))){if(U[0][N]<0){var Y=D.slice();Y[N]+=U[0][N],P.push(D[0],D[1],D[2],B[0],B[1],B[2],B[3],0,0,0,Y[0],Y[1],Y[2],B[0],B[1],B[2],B[3],0,0,0),C(this.bounds,Y),F+=2+R(P,Y,B,N)}if(U[1][N]>0){var Y=D.slice();Y[N]+=U[1][N],P.push(D[0],D[1],D[2],B[0],B[1],B[2],B[3],0,0,0,Y[0],Y[1],Y[2],B[0],B[1],B[2],B[3],0,0,0),C(this.bounds,Y),F+=2+R(P,Y,B,N)}}}this.lineCount[N]=F-this.lineOffset[N]}this.buffer.update(P)}},y.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()};function A(E){var k=E.gl,L=s(k),I=d(k,[{buffer:L,type:k.FLOAT,size:3,offset:0,stride:40},{buffer:L,type:k.FLOAT,size:4,offset:12,stride:40},{buffer:L,type:k.FLOAT,size:3,offset:28,stride:40}]),P=f(k);P.attributes.position.location=0,P.attributes.color.location=1,P.attributes.offset.location=2;var M=new x(k,L,I,P);return M.update(E),M}},7667:function(p,_,c){var s=c(6832),d=c(5158),f=s([`precision highp float;
#define GLSLIFY 1
attribute vec3 position, offset;
attribute vec4 color;
uniform mat4 model, view, projection;
uniform float capSize;
varying vec4 fragColor;
varying vec3 fragPosition;
void main() {
vec4 worldPosition = model * vec4(position, 1.0);
worldPosition = (worldPosition / worldPosition.w) + vec4(capSize * offset, 0.0);
gl_Position = projection * view * worldPosition;
fragColor = color;
fragPosition = position;
}`]),b=s([`precision highp float;
#define GLSLIFY 1
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
uniform vec3 clipBounds[2];
uniform float opacity;
varying vec3 fragPosition;
varying vec4 fragColor;
void main() {
if (
outOfRange(clipBounds[0], clipBounds[1], fragPosition) ||
fragColor.a * opacity == 0.
) discard;
gl_FragColor = opacity * fragColor;
}`]);p.exports=function(x){return d(x,f,b,null,[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"offset",type:"vec3"}])}},4234:function(p,_,c){var s=c(8931);p.exports=F;var d=null,f,b,x,y;function C(N){var T=N.getParameter(N.FRAMEBUFFER_BINDING),D=N.getParameter(N.RENDERBUFFER_BINDING),O=N.getParameter(N.TEXTURE_BINDING_2D);return[T,D,O]}function w(N,T){N.bindFramebuffer(N.FRAMEBUFFER,T[0]),N.bindRenderbuffer(N.RENDERBUFFER,T[1]),N.bindTexture(N.TEXTURE_2D,T[2])}function R(N,T){var D=N.getParameter(T.MAX_COLOR_ATTACHMENTS_WEBGL);d=new Array(D+1);for(var O=0;O<=D;++O){for(var U=new Array(D),B=0;B<O;++B)U[B]=N.COLOR_ATTACHMENT0+B;for(var B=O;B<D;++B)U[B]=N.NONE;d[O]=U}}function A(N){switch(N){case f:throw new Error("gl-fbo: Framebuffer unsupported");case b:throw new Error("gl-fbo: Framebuffer incomplete attachment");case x:throw new Error("gl-fbo: Framebuffer incomplete dimensions");case y:throw new Error("gl-fbo: Framebuffer incomplete missing attachment");default:throw new Error("gl-fbo: Framebuffer failed for unspecified reason")}}function E(N,T,D,O,U,B){if(!O)return null;var Y=s(N,T,D,U,O);return Y.magFilter=N.NEAREST,Y.minFilter=N.NEAREST,Y.mipSamples=1,Y.bind(),N.framebufferTexture2D(N.FRAMEBUFFER,B,N.TEXTURE_2D,Y.handle,0),Y}function k(N,T,D,O,U){var B=N.createRenderbuffer();return N.bindRenderbuffer(N.RENDERBUFFER,B),N.renderbufferStorage(N.RENDERBUFFER,O,T,D),N.framebufferRenderbuffer(N.FRAMEBUFFER,U,N.RENDERBUFFER,B),B}function L(N){var T=C(N.gl),D=N.gl,O=N.handle=D.createFramebuffer(),U=N._shape[0],B=N._shape[1],Y=N.color.length,z=N._ext,V=N._useStencil,j=N._useDepth,G=N._colorType;D.bindFramebuffer(D.FRAMEBUFFER,O);for(var W=0;W<Y;++W)N.color[W]=E(D,U,B,G,D.RGBA,D.COLOR_ATTACHMENT0+W);Y===0?(N._color_rb=k(D,U,B,D.RGBA4,D.COLOR_ATTACHMENT0),z&&z.drawBuffersWEBGL(d[0])):Y>1&&z.drawBuffersWEBGL(d[Y]);var X=D.getExtension("WEBGL_depth_texture");X?V?N.depth=E(D,U,B,X.UNSIGNED_INT_24_8_WEBGL,D.DEPTH_STENCIL,D.DEPTH_STENCIL_ATTACHMENT):j&&(N.depth=E(D,U,B,D.UNSIGNED_SHORT,D.DEPTH_COMPONENT,D.DEPTH_ATTACHMENT)):j&&V?N._depth_rb=k(D,U,B,D.DEPTH_STENCIL,D.DEPTH_STENCIL_ATTACHMENT):j?N._depth_rb=k(D,U,B,D.DEPTH_COMPONENT16,D.DEPTH_ATTACHMENT):V&&(N._depth_rb=k(D,U,B,D.STENCIL_INDEX,D.STENCIL_ATTACHMENT));var Q=D.checkFramebufferStatus(D.FRAMEBUFFER);if(Q!==D.FRAMEBUFFER_COMPLETE){N._destroyed=!0,D.bindFramebuffer(D.FRAMEBUFFER,null),D.deleteFramebuffer(N.handle),N.handle=null,N.depth&&(N.depth.dispose(),N.depth=null),N._depth_rb&&(D.deleteRenderbuffer(N._depth_rb),N._depth_rb=null);for(var W=0;W<N.color.length;++W)N.color[W].dispose(),N.color[W]=null;N._color_rb&&(D.deleteRenderbuffer(N._color_rb),N._color_rb=null),w(D,T),A(Q)}w(D,T)}function I(N,T,D,O,U,B,Y,z){this.gl=N,this._shape=[T|0,D|0],this._destroyed=!1,this._ext=z,this.color=new Array(U);for(var V=0;V<U;++V)this.color[V]=null;this._color_rb=null,this.depth=null,this._depth_rb=null,this._colorType=O,this._useDepth=B,this._useStencil=Y;var j=this,G=[T|0,D|0];Object.defineProperties(G,{0:{get:function(){return j._shape[0]},set:function(W){return j.width=W}},1:{get:function(){return j._shape[1]},set:function(W){return j.height=W}}}),this._shapeVector=G,L(this)}var P=I.prototype;function M(N,T,D){if(N._destroyed)throw new Error("gl-fbo: Can't resize destroyed FBO");if(!(N._shape[0]===T&&N._shape[1]===D)){var O=N.gl,U=O.getParameter(O.MAX_RENDERBUFFER_SIZE);if(T<0||T>U||D<0||D>U)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");N._shape[0]=T,N._shape[1]=D;for(var B=C(O),Y=0;Y<N.color.length;++Y)N.color[Y].shape=N._shape;N._color_rb&&(O.bindRenderbuffer(O.RENDERBUFFER,N._color_rb),O.renderbufferStorage(O.RENDERBUFFER,O.RGBA4,N._shape[0],N._shape[1])),N.depth&&(N.depth.shape=N._shape),N._depth_rb&&(O.bindRenderbuffer(O.RENDERBUFFER,N._depth_rb),N._useDepth&&N._useStencil?O.renderbufferStorage(O.RENDERBUFFER,O.DEPTH_STENCIL,N._shape[0],N._shape[1]):N._useDepth?O.renderbufferStorage(O.RENDERBUFFER,O.DEPTH_COMPONENT16,N._shape[0],N._shape[1]):N._useStencil&&O.renderbufferStorage(O.RENDERBUFFER,O.STENCIL_INDEX,N._shape[0],N._shape[1])),O.bindFramebuffer(O.FRAMEBUFFER,N.handle);var z=O.checkFramebufferStatus(O.FRAMEBUFFER);z!==O.FRAMEBUFFER_COMPLETE&&(N.dispose(),w(O,B),A(z)),w(O,B)}}Object.defineProperties(P,{shape:{get:function(){return this._destroyed?[0,0]:this._shapeVector},set:function(N){if(Array.isArray(N)||(N=[N|0,N|0]),N.length!==2)throw new Error("gl-fbo: Shape vector must be length 2");var T=N[0]|0,D=N[1]|0;return M(this,T,D),[T,D]},enumerable:!1},width:{get:function(){return this._destroyed?0:this._shape[0]},set:function(N){return N=N|0,M(this,N,this._shape[1]),N},enumerable:!1},height:{get:function(){return this._destroyed?0:this._shape[1]},set:function(N){return N=N|0,M(this,this._shape[0],N),N},enumerable:!1}}),P.bind=function(){if(!this._destroyed){var N=this.gl;N.bindFramebuffer(N.FRAMEBUFFER,this.handle),N.viewport(0,0,this._shape[0],this._shape[1])}},P.dispose=function(){if(!this._destroyed){this._destroyed=!0;var N=this.gl;N.deleteFramebuffer(this.handle),this.handle=null,this.depth&&(this.depth.dispose(),this.depth=null),this._depth_rb&&(N.deleteRenderbuffer(this._depth_rb),this._depth_rb=null);for(var T=0;T<this.color.length;++T)this.color[T].dispose(),this.color[T]=null;this._color_rb&&(N.deleteRenderbuffer(this._color_rb),this._color_rb=null)}};function F(N,T,D,O){f||(f=N.FRAMEBUFFER_UNSUPPORTED,b=N.FRAMEBUFFER_INCOMPLETE_ATTACHMENT,x=N.FRAMEBUFFER_INCOMPLETE_DIMENSIONS,y=N.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT);var U=N.getExtension("WEBGL_draw_buffers");if(!d&&U&&R(N,U),Array.isArray(T)&&(O=D,D=T[1]|0,T=T[0]|0),typeof T!="number")throw new Error("gl-fbo: Missing shape parameter");var B=N.getParameter(N.MAX_RENDERBUFFER_SIZE);if(T<0||T>B||D<0||D>B)throw new Error("gl-fbo: Parameters are too large for FBO");O=O||{};var Y=1;if("color"in O){if(Y=Math.max(O.color|0,0),Y<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(Y>1)if(U){if(Y>N.getParameter(U.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+Y+" draw buffers")}else throw new Error("gl-fbo: Multiple draw buffer extension not supported")}var z=N.UNSIGNED_BYTE,V=N.getExtension("OES_texture_float");if(O.float&&Y>0){if(!V)throw new Error("gl-fbo: Context does not support floating point textures");z=N.FLOAT}else O.preferFloat&&Y>0&&V&&(z=N.FLOAT);var j=!0;"depth"in O&&(j=!!O.depth);var G=!1;return"stencil"in O&&(G=!!O.stencil),new I(N,T,D,z,Y,j,G,U)}},3530:function(p,_,c){var s=c(8974).sprintf,d=c(6603),f=c(9365),b=c(8008);p.exports=x;function x(y,C,w){var R=f(C)||"of unknown name (see npm glsl-shader-name)",A="unknown type";w!==void 0&&(A=w===d.FRAGMENT_SHADER?"fragment":"vertex");for(var E=s(`Error compiling %s shader %s:
`,A,R),k=s("%s%s",E,y),L=y.split(`
`),I={},P=0;P<L.length;P++){var M=L[P];if(!(M===""||M==="\0")){var F=parseInt(M.split(":")[2]);if(isNaN(F))throw new Error(s("Could not parse error: %s",M));I[F]=M}}for(var N=b(C).split(`
`),P=0;P<N.length;P++)if(!(!I[P+3]&&!I[P+2]&&!I[P+1])){var T=N[P];if(E+=T+`
`,I[P+1]){var D=I[P+1];D=D.substr(D.split(":",3).join(":").length+1).trim(),E+=s(`^^^ %s
`,D)}}return{long:E.trim(),short:k.trim()}}},6386:function(p,_,c){p.exports=A;var s=c(5070),d=c(9560),f=c(5306),b=c(5158),x=c(5827),y=c(1292);function C(E,k,L,I,P,M,F){this.plot=E,this.shader=k,this.pickShader=L,this.positionBuffer=I,this.weightBuffer=P,this.colorBuffer=M,this.idBuffer=F,this.xData=[],this.yData=[],this.shape=[0,0],this.bounds=[1/0,1/0,-1/0,-1/0],this.pickOffset=0}var w=C.prototype,R=[0,0,1,0,0,1,1,0,1,1,0,1];w.draw=function(){var E=[1,0,0,0,1,0,0,0,1];return function(){var k=this.plot,L=this.shader,I=this.bounds,P=this.numVertices;if(!(P<=0)){var M=k.gl,F=k.dataBox,N=I[2]-I[0],T=I[3]-I[1],D=F[2]-F[0],O=F[3]-F[1];E[0]=2*N/D,E[4]=2*T/O,E[6]=2*(I[0]-F[0])/D-1,E[7]=2*(I[1]-F[1])/O-1,L.bind();var U=L.uniforms;U.viewTransform=E,U.shape=this.shape;var B=L.attributes;this.positionBuffer.bind(),B.position.pointer(),this.weightBuffer.bind(),B.weight.pointer(M.UNSIGNED_BYTE,!1),this.colorBuffer.bind(),B.color.pointer(M.UNSIGNED_BYTE,!0),M.drawArrays(M.TRIANGLES,0,P)}}}(),w.drawPick=function(){var E=[1,0,0,0,1,0,0,0,1],k=[0,0,0,0];return function(L){var I=this.plot,P=this.pickShader,M=this.bounds,F=this.numVertices;if(!(F<=0)){var N=I.gl,T=I.dataBox,D=M[2]-M[0],O=M[3]-M[1],U=T[2]-T[0],B=T[3]-T[1];E[0]=2*D/U,E[4]=2*O/B,E[6]=2*(M[0]-T[0])/U-1,E[7]=2*(M[1]-T[1])/B-1;for(var Y=0;Y<4;++Y)k[Y]=L>>Y*8&255;this.pickOffset=L,P.bind();var z=P.uniforms;z.viewTransform=E,z.pickOffset=k,z.shape=this.shape;var V=P.attributes;return this.positionBuffer.bind(),V.position.pointer(),this.weightBuffer.bind(),V.weight.pointer(N.UNSIGNED_BYTE,!1),this.idBuffer.bind(),V.pickId.pointer(N.UNSIGNED_BYTE,!1),N.drawArrays(N.TRIANGLES,0,F),L+this.shape[0]*this.shape[1]}}}(),w.pick=function(E,k,L){var I=this.pickOffset,P=this.shape[0]*this.shape[1];if(L<I||L>=I+P)return null;var M=L-I,F=this.xData,N=this.yData;return{object:this,pointId:M,dataCoord:[F[M%this.shape[0]],N[M/this.shape[0]|0]]}},w.update=function(E){E=E||{};var k=E.shape||[0,0],L=E.x||d(k[0]),I=E.y||d(k[1]),P=E.z||new Float32Array(k[0]*k[1]),M=E.zsmooth!==!1;this.xData=L,this.yData=I;var F=E.colorLevels||[0],N=E.colorValues||[0,0,0,1],T=F.length,D=this.bounds,O,U,B,Y;M?(O=D[0]=L[0],U=D[1]=I[0],B=D[2]=L[L.length-1],Y=D[3]=I[I.length-1]):(O=D[0]=L[0]+(L[1]-L[0])/2,U=D[1]=I[0]+(I[1]-I[0])/2,B=D[2]=L[L.length-1]+(L[L.length-1]-L[L.length-2])/2,Y=D[3]=I[I.length-1]+(I[I.length-1]-I[I.length-2])/2);var z=1/(B-O),V=1/(Y-U),j=k[0],G=k[1];this.shape=[j,G];var W=(M?(j-1)*(G-1):j*G)*(R.length>>>1);this.numVertices=W;for(var X=f.mallocUint8(W*4),Q=f.mallocFloat32(W*2),ae=f.mallocUint8(W*2),ie=f.mallocUint32(W),he=0,J=M?j-1:j,Z=M?G-1:G,le=0;le<Z;++le){var K,te;M?(K=V*(I[le]-U),te=V*(I[le+1]-U)):(K=le<G-1?V*(I[le]-(I[le+1]-I[le])/2-U):V*(I[le]-(I[le]-I[le-1])/2-U),te=le<G-1?V*(I[le]+(I[le+1]-I[le])/2-U):V*(I[le]+(I[le]-I[le-1])/2-U));for(var ce=0;ce<J;++ce){var re,ee;M?(re=z*(L[ce]-O),ee=z*(L[ce+1]-O)):(re=ce<j-1?z*(L[ce]-(L[ce+1]-L[ce])/2-O):z*(L[ce]-(L[ce]-L[ce-1])/2-O),ee=ce<j-1?z*(L[ce]+(L[ce+1]-L[ce])/2-O):z*(L[ce]+(L[ce]-L[ce-1])/2-O));for(var de=0;de<R.length;de+=2){var oe=R[de],fe=R[de+1],me=M?(le+fe)*j+(ce+oe):le*j+ce,Te=P[me],we=s.le(F,Te),Be,Ae,Re,be;if(we<0)Be=N[0],Ae=N[1],Re=N[2],be=N[3];else if(we===T-1)Be=N[4*T-4],Ae=N[4*T-3],Re=N[4*T-2],be=N[4*T-1];else{var Pe=(Te-F[we])/(F[we+1]-F[we]),Ke=1-Pe,ze=4*we,Fe=4*(we+1);Be=Ke*N[ze]+Pe*N[Fe],Ae=Ke*N[ze+1]+Pe*N[Fe+1],Re=Ke*N[ze+2]+Pe*N[Fe+2],be=Ke*N[ze+3]+Pe*N[Fe+3]}X[4*he]=255*Be,X[4*he+1]=255*Ae,X[4*he+2]=255*Re,X[4*he+3]=255*be,Q[2*he]=re*.5+ee*.5,Q[2*he+1]=K*.5+te*.5,ae[2*he]=oe,ae[2*he+1]=fe,ie[he]=le*j+ce,he+=1}}}this.positionBuffer.update(Q),this.weightBuffer.update(ae),this.colorBuffer.update(X),this.idBuffer.update(ie),f.free(Q),f.free(X),f.free(ae),f.free(ie)},w.dispose=function(){this.shader.dispose(),this.pickShader.dispose(),this.positionBuffer.dispose(),this.weightBuffer.dispose(),this.colorBuffer.dispose(),this.idBuffer.dispose(),this.plot.removeObject(this)};function A(E,k){var L=E.gl,I=b(L,y.vertex,y.fragment),P=b(L,y.pickVertex,y.pickFragment),M=x(L),F=x(L),N=x(L),T=x(L),D=new C(E,I,P,M,F,N,T);return D.update(k),E.addObject(D),D}},1292:function(p,_,c){var s=c(6832);p.exports={fragment:s([`precision lowp float;
#define GLSLIFY 1
varying vec4 fragColor;
void main() {
gl_FragColor = vec4(fragColor.rgb * fragColor.a, fragColor.a);
}
`]),vertex:s([`precision mediump float;
#define GLSLIFY 1
attribute vec2 position;
attribute vec4 color;
attribute vec2 weight;
uniform vec2 shape;
uniform mat3 viewTransform;
varying vec4 fragColor;
void main() {
vec3 vPosition = viewTransform * vec3( position + (weight-.5)/(shape-1.) , 1.0);
fragColor = color;
gl_Position = vec4(vPosition.xy, 0, vPosition.z);
}
`]),pickFragment:s([`precision mediump float;
#define GLSLIFY 1
varying vec4 fragId;
varying vec2 vWeight;
uniform vec2 shape;
uniform vec4 pickOffset;
void main() {
vec2 d = step(.5, vWeight);
vec4 id = fragId + pickOffset;
id.x += d.x + d.y*shape.x;
id.y += floor(id.x / 256.0);
id.x -= floor(id.x / 256.0) * 256.0;
id.z += floor(id.y / 256.0);
id.y -= floor(id.y / 256.0) * 256.0;
id.w += floor(id.z / 256.0);
id.z -= floor(id.z / 256.0) * 256.0;
gl_FragColor = id/255.;
}
`]),pickVertex:s([`precision mediump float;
#define GLSLIFY 1
attribute vec2 position;
attribute vec4 pickId;
attribute vec2 weight;
uniform vec2 shape;
uniform mat3 viewTransform;
varying vec4 fragId;
varying vec2 vWeight;
void main() {
vWeight = weight;
fragId = pickId;
vec3 vPosition = viewTransform * vec3( position + (weight-.5)/(shape-1.) , 1.0);
gl_Position = vec4(vPosition.xy, 0, vPosition.z);
}
`])}},248:function(p,_,c){var s=c(6832),d=c(5158),f=s([`precision highp float;
#define GLSLIFY 1
attribute vec3 position, nextPosition;
attribute float arcLength, lineWidth;
attribute vec4 color;
uniform vec2 screenShape;
uniform float pixelRatio;
uniform mat4 model, view, projection;
varying vec4 fragColor;
varying vec3 worldPosition;
varying float pixelArcLength;
vec4 project(vec3 p) {
return projection * view * model * vec4(p, 1.0);
}
void main() {
vec4 startPoint = project(position);
vec4 endPoint = project(nextPosition);
vec2 A = startPoint.xy / startPoint.w;
vec2 B = endPoint.xy / endPoint.w;
float clipAngle = atan(
(B.y - A.y) * screenShape.y,
(B.x - A.x) * screenShape.x
);
vec2 offset = 0.5 * pixelRatio * lineWidth * vec2(
sin(clipAngle),
-cos(clipAngle)
) / screenShape;
gl_Position = vec4(startPoint.xy + startPoint.w * offset, startPoint.zw);
worldPosition = position;
pixelArcLength = arcLength;
fragColor = color;
}
`]),b=s([`precision highp float;
#define GLSLIFY 1
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
uniform vec3 clipBounds[2];
uniform sampler2D dashTexture;
uniform float dashScale;
uniform float opacity;
varying vec3 worldPosition;
varying float pixelArcLength;
varying vec4 fragColor;
void main() {
if (
outOfRange(clipBounds[0], clipBounds[1], worldPosition) ||
fragColor.a * opacity == 0.
) discard;
float dashWeight = texture2D(dashTexture, vec2(dashScale * pixelArcLength, 0)).r;
if(dashWeight < 0.5) {
discard;
}
gl_FragColor = fragColor * opacity;
}
`]),x=s([`precision highp float;
#define GLSLIFY 1
#define FLOAT_MAX 1.70141184e38
#define FLOAT_MIN 1.17549435e-38
// https://github.com/mikolalysenko/glsl-read-float/blob/master/index.glsl
vec4 packFloat(float v) {
float av = abs(v);
//Handle special cases
if(av < FLOAT_MIN) {
return vec4(0.0, 0.0, 0.0, 0.0);
} else if(v > FLOAT_MAX) {
return vec4(127.0, 128.0, 0.0, 0.0) / 255.0;
} else if(v < -FLOAT_MAX) {
return vec4(255.0, 128.0, 0.0, 0.0) / 255.0;
}
vec4 c = vec4(0,0,0,0);
//Compute exponent and mantissa
float e = floor(log2(av));
float m = av * pow(2.0, -e) - 1.0;
//Unpack mantissa
c[1] = floor(128.0 * m);
m -= c[1] / 128.0;
c[2] = floor(32768.0 * m);
m -= c[2] / 32768.0;
c[3] = floor(8388608.0 * m);
//Unpack exponent
float ebias = e + 127.0;
c[0] = floor(ebias / 2.0);
ebias -= c[0] * 2.0;
c[1] += floor(ebias) * 128.0;
//Unpack sign bit
c[0] += 128.0 * step(0.0, -v);
//Scale back to range
return c / 255.0;
}
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
uniform float pickId;
uniform vec3 clipBounds[2];
varying vec3 worldPosition;
varying float pixelArcLength;
varying vec4 fragColor;
void main() {
if (outOfRange(clipBounds[0], clipBounds[1], worldPosition)) discard;
gl_FragColor = vec4(pickId/255.0, packFloat(pixelArcLength).xyz);
}`]),y=[{name:"position",type:"vec3"},{name:"nextPosition",type:"vec3"},{name:"arcLength",type:"float"},{name:"lineWidth",type:"float"},{name:"color",type:"vec4"}];_.createShader=function(C){return d(C,f,b,null,y)},_.createPickShader=function(C){return d(C,f,x,null,y)}},6086:function(p,_,c){p.exports=N;var s=c(5827),d=c(2944),f=c(8931),b=new Uint8Array(4),x=new Float32Array(b.buffer);function y(T,D,O,U){return b[0]=U,b[1]=O,b[2]=D,b[3]=T,x[0]}var C=c(5070),w=c(5050),R=c(248),A=R.createShader,E=R.createPickShader,k=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function L(T,D){for(var O=0,U=0;U<3;++U){var B=T[U]-D[U];O+=B*B}return Math.sqrt(O)}function I(T){for(var D=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],O=0;O<3;++O)D[0][O]=Math.max(T[0][O],D[0][O]),D[1][O]=Math.min(T[1][O],D[1][O]);return D}function P(T,D,O,U){this.arcLength=T,this.position=D,this.index=O,this.dataCoordinate=U}function M(T,D,O,U,B,Y){this.gl=T,this.shader=D,this.pickShader=O,this.buffer=U,this.vao=B,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=Y,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var F=M.prototype;F.isTransparent=function(){return this.hasAlpha},F.isOpaque=function(){return!this.hasAlpha},F.pickSlots=1,F.setPickBase=function(T){this.pickId=T},F.drawTransparent=F.draw=function(T){if(this.vertexCount){var D=this.gl,O=this.shader,U=this.vao;O.bind(),O.uniforms={model:T.model||k,view:T.view||k,projection:T.projection||k,clipBounds:I(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[D.drawingBufferWidth,D.drawingBufferHeight],pixelRatio:this.pixelRatio},U.bind(),U.draw(D.TRIANGLE_STRIP,this.vertexCount),U.unbind()}},F.drawPick=function(T){if(this.vertexCount){var D=this.gl,O=this.pickShader,U=this.vao;O.bind(),O.uniforms={model:T.model||k,view:T.view||k,projection:T.projection||k,pickId:this.pickId,clipBounds:I(this.clipBounds),screenShape:[D.drawingBufferWidth,D.drawingBufferHeight],pixelRatio:this.pixelRatio},U.bind(),U.draw(D.TRIANGLE_STRIP,this.vertexCount),U.unbind()}},F.update=function(T){var D,O;this.dirty=!0;var U=!!T.connectGaps;"dashScale"in T&&(this.dashScale=T.dashScale),this.hasAlpha=!1,"opacity"in T&&(this.opacity=+T.opacity,this.opacity<1&&(this.hasAlpha=!0));var B=[],Y=[],z=[],V=0,j=0,G=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],W=T.position||T.positions;if(W){var X=T.color||T.colors||[0,0,0,1],Q=T.lineWidth||1,ae=!1;e:for(D=1;D<W.length;++D){var ie=W[D-1],he=W[D];for(Y.push(V),z.push(ie.slice()),O=0;O<3;++O){if(isNaN(ie[O])||isNaN(he[O])||!isFinite(ie[O])||!isFinite(he[O])){if(!U&&B.length>0){for(var J=0;J<24;++J)B.push(B[B.length-12]);j+=2,ae=!0}continue e}G[0][O]=Math.min(G[0][O],ie[O],he[O]),G[1][O]=Math.max(G[1][O],ie[O],he[O])}var Z,le;Array.isArray(X[0])?(Z=X.length>D-1?X[D-1]:X.length>0?X[X.length-1]:[0,0,0,1],le=X.length>D?X[D]:X.length>0?X[X.length-1]:[0,0,0,1]):Z=le=X,Z.length===3&&(Z=[Z[0],Z[1],Z[2],1]),le.length===3&&(le=[le[0],le[1],le[2],1]),!this.hasAlpha&&Z[3]<1&&(this.hasAlpha=!0);var K;Array.isArray(Q)?K=Q.length>D-1?Q[D-1]:Q.length>0?Q[Q.length-1]:[0,0,0,1]:K=Q;var te=V;if(V+=L(ie,he),ae){for(O=0;O<2;++O)B.push(ie[0],ie[1],ie[2],he[0],he[1],he[2],te,K,Z[0],Z[1],Z[2],Z[3]);j+=2,ae=!1}B.push(ie[0],ie[1],ie[2],he[0],he[1],he[2],te,K,Z[0],Z[1],Z[2],Z[3],ie[0],ie[1],ie[2],he[0],he[1],he[2],te,-K,Z[0],Z[1],Z[2],Z[3],he[0],he[1],he[2],ie[0],ie[1],ie[2],V,-K,le[0],le[1],le[2],le[3],he[0],he[1],he[2],ie[0],ie[1],ie[2],V,K,le[0],le[1],le[2],le[3]),j+=4}}if(this.buffer.update(B),Y.push(V),z.push(W[W.length-1].slice()),this.bounds=G,this.vertexCount=j,this.points=z,this.arcLength=Y,"dashes"in T){var ce=T.dashes,re=ce.slice();for(re.unshift(0),D=1;D<re.length;++D)re[D]=re[D-1]+re[D];var ee=w(new Array(256*4),[256,1,4]);for(D=0;D<256;++D){for(O=0;O<4;++O)ee.set(D,0,O,0);C.le(re,re[re.length-1]*D/255)&1?ee.set(D,0,0,0):ee.set(D,0,0,255)}this.texture.setPixels(ee)}},F.dispose=function(){this.shader.dispose(),this.vao.dispose(),this.buffer.dispose()},F.pick=function(T){if(!T||T.id!==this.pickId)return null;var D=y(T.value[0],T.value[1],T.value[2],0),O=C.le(this.arcLength,D);if(O<0)return null;if(O===this.arcLength.length-1)return new P(this.arcLength[this.arcLength.length-1],this.points[this.points.length-1].slice(),O);for(var U=this.points[O],B=this.points[Math.min(O+1,this.points.length-1)],Y=(D-this.arcLength[O])/(this.arcLength[O+1]-this.arcLength[O]),z=1-Y,V=[0,0,0],j=0;j<3;++j)V[j]=z*U[j]+Y*B[j];var G=Math.min(Y<.5?O:O+1,this.points.length-1);return new P(D,V,G,this.points[G])};function N(T){var D=T.gl||T.scene&&T.scene.gl,O=A(D);O.attributes.position.location=0,O.attributes.nextPosition.location=1,O.attributes.arcLength.location=2,O.attributes.lineWidth.location=3,O.attributes.color.location=4;var U=E(D);U.attributes.position.location=0,U.attributes.nextPosition.location=1,U.attributes.arcLength.location=2,U.attributes.lineWidth.location=3,U.attributes.color.location=4;for(var B=s(D),Y=d(D,[{buffer:B,size:3,offset:0,stride:48},{buffer:B,size:3,offset:12,stride:48},{buffer:B,size:1,offset:24,stride:48},{buffer:B,size:1,offset:28,stride:48},{buffer:B,size:4,offset:32,stride:48}]),z=w(new Array(256*4),[256,1,4]),V=0;V<1024;++V)z.data[V]=255;var j=f(D,z);j.wrap=D.REPEAT;var G=new M(D,O,U,B,Y,j);return G.update(T),G}},7332:function(p){p.exports=_;function _(c){var s=new Float32Array(16);return s[0]=c[0],s[1]=c[1],s[2]=c[2],s[3]=c[3],s[4]=c[4],s[5]=c[5],s[6]=c[6],s[7]=c[7],s[8]=c[8],s[9]=c[9],s[10]=c[10],s[11]=c[11],s[12]=c[12],s[13]=c[13],s[14]=c[14],s[15]=c[15],s}},9823:function(p){p.exports=_;function _(){var c=new Float32Array(16);return c[0]=1,c[1]=0,c[2]=0,c[3]=0,c[4]=0,c[5]=1,c[6]=0,c[7]=0,c[8]=0,c[9]=0,c[10]=1,c[11]=0,c[12]=0,c[13]=0,c[14]=0,c[15]=1,c}},7787:function(p){p.exports=_;function _(c){var s=c[0],d=c[1],f=c[2],b=c[3],x=c[4],y=c[5],C=c[6],w=c[7],R=c[8],A=c[9],E=c[10],k=c[11],L=c[12],I=c[13],P=c[14],M=c[15],F=s*y-d*x,N=s*C-f*x,T=s*w-b*x,D=d*C-f*y,O=d*w-b*y,U=f*w-b*C,B=R*I-A*L,Y=R*P-E*L,z=R*M-k*L,V=A*P-E*I,j=A*M-k*I,G=E*M-k*P;return F*G-N*j+T*V+D*z-O*Y+U*B}},5950:function(p){p.exports=_;function _(c,s){var d=s[0],f=s[1],b=s[2],x=s[3],y=d+d,C=f+f,w=b+b,R=d*y,A=f*y,E=f*C,k=b*y,L=b*C,I=b*w,P=x*y,M=x*C,F=x*w;return c[0]=1-E-I,c[1]=A+F,c[2]=k-M,c[3]=0,c[4]=A-F,c[5]=1-R-I,c[6]=L+P,c[7]=0,c[8]=k+M,c[9]=L-P,c[10]=1-R-E,c[11]=0,c[12]=0,c[13]=0,c[14]=0,c[15]=1,c}},7280:function(p){p.exports=_;function _(c,s,d){var f=s[0],b=s[1],x=s[2],y=s[3],C=f+f,w=b+b,R=x+x,A=f*C,E=f*w,k=f*R,L=b*w,I=b*R,P=x*R,M=y*C,F=y*w,N=y*R;return c[0]=1-(L+P),c[1]=E+N,c[2]=k-F,c[3]=0,c[4]=E-N,c[5]=1-(A+P),c[6]=I+M,c[7]=0,c[8]=k+F,c[9]=I-M,c[10]=1-(A+L),c[11]=0,c[12]=d[0],c[13]=d[1],c[14]=d[2],c[15]=1,c}},9947:function(p){p.exports=_;function _(c){return c[0]=1,c[1]=0,c[2]=0,c[3]=0,c[4]=0,c[5]=1,c[6]=0,c[7]=0,c[8]=0,c[9]=0,c[10]=1,c[11]=0,c[12]=0,c[13]=0,c[14]=0,c[15]=1,c}},7437:function(p){p.exports=_;function _(c,s){var d=s[0],f=s[1],b=s[2],x=s[3],y=s[4],C=s[5],w=s[6],R=s[7],A=s[8],E=s[9],k=s[10],L=s[11],I=s[12],P=s[13],M=s[14],F=s[15],N=d*C-f*y,T=d*w-b*y,D=d*R-x*y,O=f*w-b*C,U=f*R-x*C,B=b*R-x*w,Y=A*P-E*I,z=A*M-k*I,V=A*F-L*I,j=E*M-k*P,G=E*F-L*P,W=k*F-L*M,X=N*W-T*G+D*j+O*V-U*z+B*Y;return X?(X=1/X,c[0]=(C*W-w*G+R*j)*X,c[1]=(b*G-f*W-x*j)*X,c[2]=(P*B-M*U+F*O)*X,c[3]=(k*U-E*B-L*O)*X,c[4]=(w*V-y*W-R*z)*X,c[5]=(d*W-b*V+x*z)*X,c[6]=(M*D-I*B-F*T)*X,c[7]=(A*B-k*D+L*T)*X,c[8]=(y*G-C*V+R*Y)*X,c[9]=(f*V-d*G-x*Y)*X,c[10]=(I*U-P*D+F*N)*X,c[11]=(E*D-A*U-L*N)*X,c[12]=(C*z-y*j-w*Y)*X,c[13]=(d*j-f*z+b*Y)*X,c[14]=(P*T-I*O-M*N)*X,c[15]=(A*O-E*T+k*N)*X,c):null}},3012:function(p,_,c){var s=c(9947);p.exports=d;function d(f,b,x,y){var C,w,R,A,E,k,L,I,P,M,F=b[0],N=b[1],T=b[2],D=y[0],O=y[1],U=y[2],B=x[0],Y=x[1],z=x[2];return Math.abs(F-B)<1e-6&&Math.abs(N-Y)<1e-6&&Math.abs(T-z)<1e-6?s(f):(L=F-B,I=N-Y,P=T-z,M=1/Math.sqrt(L*L+I*I+P*P),L*=M,I*=M,P*=M,C=O*P-U*I,w=U*L-D*P,R=D*I-O*L,M=Math.sqrt(C*C+w*w+R*R),M?(M=1/M,C*=M,w*=M,R*=M):(C=0,w=0,R=0),A=I*R-P*w,E=P*C-L*R,k=L*w-I*C,M=Math.sqrt(A*A+E*E+k*k),M?(M=1/M,A*=M,E*=M,k*=M):(A=0,E=0,k=0),f[0]=C,f[1]=A,f[2]=L,f[3]=0,f[4]=w,f[5]=E,f[6]=I,f[7]=0,f[8]=R,f[9]=k,f[10]=P,f[11]=0,f[12]=-(C*F+w*N+R*T),f[13]=-(A*F+E*N+k*T),f[14]=-(L*F+I*N+P*T),f[15]=1,f)}},104:function(p){p.exports=_;function _(c,s,d){var f=s[0],b=s[1],x=s[2],y=s[3],C=s[4],w=s[5],R=s[6],A=s[7],E=s[8],k=s[9],L=s[10],I=s[11],P=s[12],M=s[13],F=s[14],N=s[15],T=d[0],D=d[1],O=d[2],U=d[3];return c[0]=T*f+D*C+O*E+U*P,c[1]=T*b+D*w+O*k+U*M,c[2]=T*x+D*R+O*L+U*F,c[3]=T*y+D*A+O*I+U*N,T=d[4],D=d[5],O=d[6],U=d[7],c[4]=T*f+D*C+O*E+U*P,c[5]=T*b+D*w+O*k+U*M,c[6]=T*x+D*R+O*L+U*F,c[7]=T*y+D*A+O*I+U*N,T=d[8],D=d[9],O=d[10],U=d[11],c[8]=T*f+D*C+O*E+U*P,c[9]=T*b+D*w+O*k+U*M,c[10]=T*x+D*R+O*L+U*F,c[11]=T*y+D*A+O*I+U*N,T=d[12],D=d[13],O=d[14],U=d[15],c[12]=T*f+D*C+O*E+U*P,c[13]=T*b+D*w+O*k+U*M,c[14]=T*x+D*R+O*L+U*F,c[15]=T*y+D*A+O*I+U*N,c}},5268:function(p){p.exports=_;function _(c,s,d,f,b,x,y){var C=1/(s-d),w=1/(f-b),R=1/(x-y);return c[0]=-2*C,c[1]=0,c[2]=0,c[3]=0,c[4]=0,c[5]=-2*w,c[6]=0,c[7]=0,c[8]=0,c[9]=0,c[10]=2*R,c[11]=0,c[12]=(s+d)*C,c[13]=(b+f)*w,c[14]=(y+x)*R,c[15]=1,c}},1120:function(p){p.exports=_;function _(c,s,d,f,b){var x=1/Math.tan(s/2),y=1/(f-b);return c[0]=x/d,c[1]=0,c[2]=0,c[3]=0,c[4]=0,c[5]=x,c[6]=0,c[7]=0,c[8]=0,c[9]=0,c[10]=(b+f)*y,c[11]=-1,c[12]=0,c[13]=0,c[14]=2*b*f*y,c[15]=0,c}},4422:function(p){p.exports=_;function _(c,s,d,f){var b=f[0],x=f[1],y=f[2],C=Math.sqrt(b*b+x*x+y*y),w,R,A,E,k,L,I,P,M,F,N,T,D,O,U,B,Y,z,V,j,G,W,X,Q;return Math.abs(C)<1e-6?null:(C=1/C,b*=C,x*=C,y*=C,w=Math.sin(d),R=Math.cos(d),A=1-R,E=s[0],k=s[1],L=s[2],I=s[3],P=s[4],M=s[5],F=s[6],N=s[7],T=s[8],D=s[9],O=s[10],U=s[11],B=b*b*A+R,Y=x*b*A+y*w,z=y*b*A-x*w,V=b*x*A-y*w,j=x*x*A+R,G=y*x*A+b*w,W=b*y*A+x*w,X=x*y*A-b*w,Q=y*y*A+R,c[0]=E*B+P*Y+T*z,c[1]=k*B+M*Y+D*z,c[2]=L*B+F*Y+O*z,c[3]=I*B+N*Y+U*z,c[4]=E*V+P*j+T*G,c[5]=k*V+M*j+D*G,c[6]=L*V+F*j+O*G,c[7]=I*V+N*j+U*G,c[8]=E*W+P*X+T*Q,c[9]=k*W+M*X+D*Q,c[10]=L*W+F*X+O*Q,c[11]=I*W+N*X+U*Q,s!==c&&(c[12]=s[12],c[13]=s[13],c[14]=s[14],c[15]=s[15]),c)}},6109:function(p){p.exports=_;function _(c,s,d){var f=Math.sin(d),b=Math.cos(d),x=s[4],y=s[5],C=s[6],w=s[7],R=s[8],A=s[9],E=s[10],k=s[11];return s!==c&&(c[0]=s[0],c[1]=s[1],c[2]=s[2],c[3]=s[3],c[12]=s[12],c[13]=s[13],c[14]=s[14],c[15]=s[15]),c[4]=x*b+R*f,c[5]=y*b+A*f,c[6]=C*b+E*f,c[7]=w*b+k*f,c[8]=R*b-x*f,c[9]=A*b-y*f,c[10]=E*b-C*f,c[11]=k*b-w*f,c}},7115:function(p){p.exports=_;function _(c,s,d){var f=Math.sin(d),b=Math.cos(d),x=s[0],y=s[1],C=s[2],w=s[3],R=s[8],A=s[9],E=s[10],k=s[11];return s!==c&&(c[4]=s[4],c[5]=s[5],c[6]=s[6],c[7]=s[7],c[12]=s[12],c[13]=s[13],c[14]=s[14],c[15]=s[15]),c[0]=x*b-R*f,c[1]=y*b-A*f,c[2]=C*b-E*f,c[3]=w*b-k*f,c[8]=x*f+R*b,c[9]=y*f+A*b,c[10]=C*f+E*b,c[11]=w*f+k*b,c}},5240:function(p){p.exports=_;function _(c,s,d){var f=Math.sin(d),b=Math.cos(d),x=s[0],y=s[1],C=s[2],w=s[3],R=s[4],A=s[5],E=s[6],k=s[7];return s!==c&&(c[8]=s[8],c[9]=s[9],c[10]=s[10],c[11]=s[11],c[12]=s[12],c[13]=s[13],c[14]=s[14],c[15]=s[15]),c[0]=x*b+R*f,c[1]=y*b+A*f,c[2]=C*b+E*f,c[3]=w*b+k*f,c[4]=R*b-x*f,c[5]=A*b-y*f,c[6]=E*b-C*f,c[7]=k*b-w*f,c}},3668:function(p){p.exports=_;function _(c,s,d){var f=d[0],b=d[1],x=d[2];return c[0]=s[0]*f,c[1]=s[1]*f,c[2]=s[2]*f,c[3]=s[3]*f,c[4]=s[4]*b,c[5]=s[5]*b,c[6]=s[6]*b,c[7]=s[7]*b,c[8]=s[8]*x,c[9]=s[9]*x,c[10]=s[10]*x,c[11]=s[11]*x,c[12]=s[12],c[13]=s[13],c[14]=s[14],c[15]=s[15],c}},998:function(p){p.exports=_;function _(c,s,d){var f=d[0],b=d[1],x=d[2],y,C,w,R,A,E,k,L,I,P,M,F;return s===c?(c[12]=s[0]*f+s[4]*b+s[8]*x+s[12],c[13]=s[1]*f+s[5]*b+s[9]*x+s[13],c[14]=s[2]*f+s[6]*b+s[10]*x+s[14],c[15]=s[3]*f+s[7]*b+s[11]*x+s[15]):(y=s[0],C=s[1],w=s[2],R=s[3],A=s[4],E=s[5],k=s[6],L=s[7],I=s[8],P=s[9],M=s[10],F=s[11],c[0]=y,c[1]=C,c[2]=w,c[3]=R,c[4]=A,c[5]=E,c[6]=k,c[7]=L,c[8]=I,c[9]=P,c[10]=M,c[11]=F,c[12]=y*f+A*b+I*x+s[12],c[13]=C*f+E*b+P*x+s[13],c[14]=w*f+k*b+M*x+s[14],c[15]=R*f+L*b+F*x+s[15]),c}},2142:function(p){p.exports=_;function _(c,s){if(c===s){var d=s[1],f=s[2],b=s[3],x=s[6],y=s[7],C=s[11];c[1]=s[4],c[2]=s[8],c[3]=s[12],c[4]=d,c[6]=s[9],c[7]=s[13],c[8]=f,c[9]=x,c[11]=s[14],c[12]=b,c[13]=y,c[14]=C}else c[0]=s[0],c[1]=s[4],c[2]=s[8],c[3]=s[12],c[4]=s[1],c[5]=s[5],c[6]=s[9],c[7]=s[13],c[8]=s[2],c[9]=s[6],c[10]=s[10],c[11]=s[14],c[12]=s[3],c[13]=s[7],c[14]=s[11],c[15]=s[15];return c}},4340:function(p,_,c){var s=c(957),d=c(7309);p.exports=C;function f(w,R){for(var A=[0,0,0,0],E=0;E<4;++E)for(var k=0;k<4;++k)A[k]+=w[4*E+k]*R[E];return A}function b(w,R,A,E,k){for(var L=f(E,f(A,f(R,[w[0],w[1],w[2],1]))),I=0;I<3;++I)L[I]/=L[3];return[.5*k[0]*(1+L[0]),.5*k[1]*(1-L[1])]}function x(w,R){if(w.length===2){for(var A=0,E=0,k=0;k<2;++k)A+=Math.pow(R[k]-w[0][k],2),E+=Math.pow(R[k]-w[1][k],2);return A=Math.sqrt(A),E=Math.sqrt(E),A+E<1e-6?[1,0]:[E/(A+E),A/(E+A)]}else if(w.length===3){var L=[0,0];return d(w[0],w[1],w[2],R,L),s(w,L)}return[]}function y(w,R){for(var A=[0,0,0],E=0;E<w.length;++E)for(var k=w[E],L=R[E],I=0;I<3;++I)A[I]+=L*k[I];return A}function C(w,R,A,E,k,L){if(w.length===1)return[0,w[0].slice()];for(var I=new Array(w.length),P=0;P<w.length;++P)I[P]=b(w[P],A,E,k,L);for(var M=0,F=1/0,P=0;P<I.length;++P){for(var N=0,T=0;T<2;++T)N+=Math.pow(I[P][T]-R[T],2);N<F&&(F=N,M=P)}for(var D=x(I,R),O=0,P=0;P<3;++P){if(D[P]<-.001||D[P]>1.0001)return null;O+=D[P]}return Math.abs(O-1)>.001?null:[M,y(w,D),D]}},2056:function(p,_,c){var s=c(6832),d=s([`precision highp float;
#define GLSLIFY 1
attribute vec3 position, normal;
attribute vec4 color;
attribute vec2 uv;
uniform mat4 model
, view
, projection
, inverseModel;
uniform vec3 eyePosition
, lightPosition;
varying vec3 f_normal
, f_lightDirection
, f_eyeDirection
, f_data;
varying vec4 f_color;
varying vec2 f_uv;
vec4 project(vec3 p) {
return projection * view * model * vec4(p, 1.0);
}
void main() {
gl_Position = project(position);
//Lighting geometry parameters
vec4 cameraCoordinate = view * vec4(position , 1.0);
cameraCoordinate.xyz /= cameraCoordinate.w;
f_lightDirection = lightPosition - cameraCoordinate.xyz;
f_eyeDirection = eyePosition - cameraCoordinate.xyz;
f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);
f_color = color;
f_data = position;
f_uv = uv;
}
`]),f=s([`#extension GL_OES_standard_derivatives : enable
precision highp float;
#define GLSLIFY 1
float beckmannDistribution(float x, float roughness) {
float NdotH = max(x, 0.0001);
float cos2Alpha = NdotH * NdotH;
float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;
float roughness2 = roughness * roughness;
float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;
return exp(tan2Alpha / roughness2) / denom;
}
float cookTorranceSpecular(
vec3 lightDirection,
vec3 viewDirection,
vec3 surfaceNormal,
float roughness,
float fresnel) {
float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);
float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);
//Half angle vector
vec3 H = normalize(lightDirection + viewDirection);
//Geometric term
float NdotH = max(dot(surfaceNormal, H), 0.0);
float VdotH = max(dot(viewDirection, H), 0.000001);
float LdotH = max(dot(lightDirection, H), 0.000001);
float G1 = (2.0 * NdotH * VdotN) / VdotH;
float G2 = (2.0 * NdotH * LdotN) / LdotH;
float G = min(1.0, min(G1, G2));
//Distribution term
float D = beckmannDistribution(NdotH, roughness);
//Fresnel term
float F = pow(1.0 - VdotN, fresnel);
//Multiply terms and done
return G * F * D / max(3.14159265 * VdotN, 0.000001);
}
//#pragma glslify: beckmann = require(glsl-specular-beckmann) // used in gl-surface3d
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
uniform vec3 clipBounds[2];
uniform float roughness
, fresnel
, kambient
, kdiffuse
, kspecular;
uniform sampler2D texture;
varying vec3 f_normal
, f_lightDirection
, f_eyeDirection
, f_data;
varying vec4 f_color;
varying vec2 f_uv;
void main() {
if (f_color.a == 0.0 ||
outOfRange(clipBounds[0], clipBounds[1], f_data)
) discard;
vec3 N = normalize(f_normal);
vec3 L = normalize(f_lightDirection);
vec3 V = normalize(f_eyeDirection);
if(gl_FrontFacing) {
N = -N;
}
float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));
//float specular = max(0.0, beckmann(L, V, N, roughness)); // used in gl-surface3d
float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);
vec4 surfaceColor = vec4(f_color.rgb, 1.0) * texture2D(texture, f_uv);
vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);
gl_FragColor = litColor * f_color.a;
}
`]),b=s([`precision highp float;
#define GLSLIFY 1
attribute vec3 position;
attribute vec4 color;
attribute vec2 uv;
uniform mat4 model, view, projection;
varying vec4 f_color;
varying vec3 f_data;
varying vec2 f_uv;
void main() {
gl_Position = projection * view * model * vec4(position, 1.0);
f_color = color;
f_data = position;
f_uv = uv;
}`]),x=s([`precision highp float;
#define GLSLIFY 1
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
uniform vec3 clipBounds[2];
uniform sampler2D texture;
uniform float opacity;
varying vec4 f_color;
varying vec3 f_data;
varying vec2 f_uv;
void main() {
if (outOfRange(clipBounds[0], clipBounds[1], f_data)) discard;
gl_FragColor = f_color * texture2D(texture, f_uv) * opacity;
}`]),y=s([`precision highp float;
#define GLSLIFY 1
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
attribute vec3 position;
attribute vec4 color;
attribute vec2 uv;
attribute float pointSize;
uniform mat4 model, view, projection;
uniform vec3 clipBounds[2];
varying vec4 f_color;
varying vec2 f_uv;
void main() {
if (outOfRange(clipBounds[0], clipBounds[1], position)) {
gl_Position = vec4(0.0, 0.0 ,0.0 ,0.0);
} else {
gl_Position = projection * view * model * vec4(position, 1.0);
}
gl_PointSize = pointSize;
f_color = color;
f_uv = uv;
}`]),C=s([`precision highp float;
#define GLSLIFY 1
uniform sampler2D texture;
uniform float opacity;
varying vec4 f_color;
varying vec2 f_uv;
void main() {
vec2 pointR = gl_PointCoord.xy - vec2(0.5, 0.5);
if(dot(pointR, pointR) > 0.25) {
discard;
}
gl_FragColor = f_color * texture2D(texture, f_uv) * opacity;
}`]),w=s([`precision highp float;
#define GLSLIFY 1
attribute vec3 position;
attribute vec4 id;
uniform mat4 model, view, projection;
varying vec3 f_position;
varying vec4 f_id;
void main() {
gl_Position = projection * view * model * vec4(position, 1.0);
f_id = id;
f_position = position;
}`]),R=s([`precision highp float;
#define GLSLIFY 1
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
uniform vec3 clipBounds[2];
uniform float pickId;
varying vec3 f_position;
varying vec4 f_id;
void main() {
if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;
gl_FragColor = vec4(pickId, f_id.xyz);
}`]),A=s([`precision highp float;
#define GLSLIFY 1
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
attribute vec3 position;
attribute float pointSize;
attribute vec4 id;
uniform mat4 model, view, projection;
uniform vec3 clipBounds[2];
varying vec3 f_position;
varying vec4 f_id;
void main() {
if (outOfRange(clipBounds[0], clipBounds[1], position)) {
gl_Position = vec4(0.0, 0.0, 0.0, 0.0);
} else {
gl_Position = projection * view * model * vec4(position, 1.0);
gl_PointSize = pointSize;
}
f_id = id;
f_position = position;
}`]),E=s([`precision highp float;
#define GLSLIFY 1
attribute vec3 position;
uniform mat4 model, view, projection;
void main() {
gl_Position = projection * view * model * vec4(position, 1.0);
}`]),k=s([`precision highp float;
#define GLSLIFY 1
uniform vec3 contourColor;
void main() {
gl_FragColor = vec4(contourColor, 1.0);
}
`]);_.meshShader={vertex:d,fragment:f,attributes:[{name:"position",type:"vec3"},{name:"normal",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},_.wireShader={vertex:b,fragment:x,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},_.pointShader={vertex:y,fragment:C,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"pointSize",type:"float"}]},_.pickShader={vertex:w,fragment:R,attributes:[{name:"position",type:"vec3"},{name:"id",type:"vec4"}]},_.pointPickShader={vertex:A,fragment:R,attributes:[{name:"position",type:"vec3"},{name:"pointSize",type:"float"},{name:"id",type:"vec4"}]},_.contourShader={vertex:E,fragment:k,attributes:[{name:"position",type:"vec3"}]}},8116:function(p,_,c){var s=1e-6,d=1e-6,f=c(5158),b=c(5827),x=c(2944),y=c(8931),C=c(115),w=c(104),R=c(7437),A=c(5050),E=c(9156),k=c(7212),L=c(5306),I=c(2056),P=c(4340),M=I.meshShader,F=I.wireShader,N=I.pointShader,T=I.pickShader,D=I.pointPickShader,O=I.contourShader,U=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function B(J,Z,le,K,te,ce,re,ee,de,oe,fe,me,Te,we,Be,Ae,Re,be,Pe,Ke,ze,Fe,We,lt,ht,tt,et){this.gl=J,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=Z,this.dirty=!0,this.triShader=le,this.lineShader=K,this.pointShader=te,this.pickShader=ce,this.pointPickShader=re,this.contourShader=ee,this.trianglePositions=de,this.triangleColors=fe,this.triangleNormals=Te,this.triangleUVs=me,this.triangleIds=oe,this.triangleVAO=we,this.triangleCount=0,this.lineWidth=1,this.edgePositions=Be,this.edgeColors=Re,this.edgeUVs=be,this.edgeIds=Ae,this.edgeVAO=Pe,this.edgeCount=0,this.pointPositions=Ke,this.pointColors=Fe,this.pointUVs=We,this.pointSizes=lt,this.pointIds=ze,this.pointVAO=ht,this.pointCount=0,this.contourLineWidth=1,this.contourPositions=tt,this.contourVAO=et,this.contourCount=0,this.contourColor=[0,0,0],this.contourEnable=!0,this.pickVertex=!0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.hasAlpha=!1,this.opacityscale=!1,this._model=U,this._view=U,this._projection=U,this._resolution=[1,1]}var Y=B.prototype;Y.isOpaque=function(){return!this.hasAlpha},Y.isTransparent=function(){return this.hasAlpha},Y.pickSlots=1,Y.setPickBase=function(J){this.pickId=J};function z(J,Z){if(!Z||!Z.length)return 1;for(var le=0;le<Z.length;++le){if(Z.length<2)return 1;if(Z[le][0]===J)return Z[le][1];if(Z[le][0]>J&&le>0){var K=(Z[le][0]-J)/(Z[le][0]-Z[le-1][0]);return Z[le][1]*(1-K)+K*Z[le-1][1]}}return 1}function V(J,Z){for(var le=E({colormap:J,nshades:256,format:"rgba"}),K=new Uint8Array(256*4),te=0;te<256;++te){for(var ce=le[te],re=0;re<3;++re)K[4*te+re]=ce[re];Z?K[4*te+3]=255*z(te/255,Z):K[4*te+3]=255*ce[3]}return A(K,[256,256,4],[4,0,1])}function j(J){for(var Z=J.length,le=new Array(Z),K=0;K<Z;++K)le[K]=J[K][2];return le}Y.highlight=function(J){if(!J||!this.contourEnable){this.contourCount=0;return}for(var Z=k(this.cells,this.intensity,J.intensity),le=Z.cells,K=Z.vertexIds,te=Z.vertexWeights,ce=le.length,re=L.mallocFloat32(2*3*ce),ee=0,de=0;de<ce;++de)for(var oe=le[de],fe=0;fe<2;++fe){var me=oe[0];oe.length===2&&(me=oe[fe]);for(var Te=K[me][0],we=K[me][1],Be=te[me],Ae=1-Be,Re=this.positions[Te],be=this.positions[we],Pe=0;Pe<3;++Pe)re[ee++]=Be*Re[Pe]+Ae*be[Pe]}this.contourCount=ee/3|0,this.contourPositions.update(re.subarray(0,ee)),L.free(re)},Y.update=function(J){J=J||{};var Z=this.gl;this.dirty=!0,"contourEnable"in J&&(this.contourEnable=J.contourEnable),"contourColor"in J&&(this.contourColor=J.contourColor),"lineWidth"in J&&(this.lineWidth=J.lineWidth),"lightPosition"in J&&(this.lightPosition=J.lightPosition),this.hasAlpha=!1,"opacity"in J&&(this.opacity=J.opacity,this.opacity<1&&(this.hasAlpha=!0)),"opacityscale"in J&&(this.opacityscale=J.opacityscale,this.hasAlpha=!0),"ambient"in J&&(this.ambientLight=J.ambient),"diffuse"in J&&(this.diffuseLight=J.diffuse),"specular"in J&&(this.specularLight=J.specular),"roughness"in J&&(this.roughness=J.roughness),"fresnel"in J&&(this.fresnel=J.fresnel),J.texture?(this.texture.dispose(),this.texture=y(Z,J.texture)):J.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=Z.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=Z.LINEAR,this.texture.setPixels(V(J.colormap,this.opacityscale)),this.texture.generateMipmap());var le=J.cells,K=J.positions;if(!(!K||!le)){var te=[],ce=[],re=[],ee=[],de=[],oe=[],fe=[],me=[],Te=[],we=[],Be=[],Ae=[],Re=[],be=[];this.cells=le,this.positions=K;var Pe=J.vertexNormals,Ke=J.cellNormals,ze=J.vertexNormalsEpsilon===void 0?s:J.vertexNormalsEpsilon,Fe=J.faceNormalsEpsilon===void 0?d:J.faceNormalsEpsilon;J.useFacetNormals&&!Ke&&(Ke=C.faceNormals(le,K,Fe)),!Ke&&!Pe&&(Pe=C.vertexNormals(le,K,ze));var We=J.vertexColors,lt=J.cellColors,ht=J.meshColor||[1,1,1,1],tt=J.vertexUVs,et=J.vertexIntensity,pt=J.cellUVs,vt=J.cellIntensity,_t=1/0,bt=-1/0;if(!tt&&!pt)if(et)if(J.vertexIntensityBounds)_t=+J.vertexIntensityBounds[0],bt=+J.vertexIntensityBounds[1];else for(var Rt=0;Rt<et.length;++Rt){var ct=et[Rt];_t=Math.min(_t,ct),bt=Math.max(bt,ct)}else if(vt)if(J.cellIntensityBounds)_t=+J.cellIntensityBounds[0],bt=+J.cellIntensityBounds[1];else for(var Rt=0;Rt<vt.length;++Rt){var ct=vt[Rt];_t=Math.min(_t,ct),bt=Math.max(bt,ct)}else for(var Rt=0;Rt<K.length;++Rt){var ct=K[Rt][2];_t=Math.min(_t,ct),bt=Math.max(bt,ct)}et?this.intensity=et:vt?this.intensity=vt:this.intensity=j(K),this.pickVertex=!(vt||lt);var Ve=J.pointSizes,Qe=J.pointSize||1;this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]];for(var Rt=0;Rt<K.length;++Rt)for(var rt=K[Rt],qe=0;qe<3;++qe)isNaN(rt[qe])||!isFinite(rt[qe])||(this.bounds[0][qe]=Math.min(this.bounds[0][qe],rt[qe]),this.bounds[1][qe]=Math.max(this.bounds[1][qe],rt[qe]));var He=0,Ce=0,Se=0;e:for(var Rt=0;Rt<le.length;++Rt){var Le=le[Rt];switch(Le.length){case 1:for(var Ne=Le[0],rt=K[Ne],qe=0;qe<3;++qe)if(isNaN(rt[qe])||!isFinite(rt[qe]))continue e;we.push(rt[0],rt[1],rt[2]);var je;We?je=We[Ne]:lt?je=lt[Rt]:je=ht,this.opacityscale&&et?ce.push(je[0],je[1],je[2],this.opacity*z((et[Ne]-_t)/(bt-_t),this.opacityscale)):je.length===3?Be.push(je[0],je[1],je[2],this.opacity):(Be.push(je[0],je[1],je[2],je[3]*this.opacity),je[3]<1&&(this.hasAlpha=!0));var Je;tt?Je=tt[Ne]:et?Je=[(et[Ne]-_t)/(bt-_t),0]:pt?Je=pt[Rt]:vt?Je=[(vt[Rt]-_t)/(bt-_t),0]:Je=[(rt[2]-_t)/(bt-_t),0],Ae.push(Je[0],Je[1]),Ve?Re.push(Ve[Ne]):Re.push(Qe),be.push(Rt),Se+=1;break;case 2:for(var qe=0;qe<2;++qe)for(var Ne=Le[qe],rt=K[Ne],ut=0;ut<3;++ut)if(isNaN(rt[ut])||!isFinite(rt[ut]))continue e;for(var qe=0;qe<2;++qe){var Ne=Le[qe],rt=K[Ne];oe.push(rt[0],rt[1],rt[2]);var je;We?je=We[Ne]:lt?je=lt[Rt]:je=ht,this.opacityscale&&et?ce.push(je[0],je[1],je[2],this.opacity*z((et[Ne]-_t)/(bt-_t),this.opacityscale)):je.length===3?fe.push(je[0],je[1],je[2],this.opacity):(fe.push(je[0],je[1],je[2],je[3]*this.opacity),je[3]<1&&(this.hasAlpha=!0));var Je;tt?Je=tt[Ne]:et?Je=[(et[Ne]-_t)/(bt-_t),0]:pt?Je=pt[Rt]:vt?Je=[(vt[Rt]-_t)/(bt-_t),0]:Je=[(rt[2]-_t)/(bt-_t),0],me.push(Je[0],Je[1]),Te.push(Rt)}Ce+=1;break;case 3:for(var qe=0;qe<3;++qe)for(var Ne=Le[qe],rt=K[Ne],ut=0;ut<3;++ut)if(isNaN(rt[ut])||!isFinite(rt[ut]))continue e;for(var qe=0;qe<3;++qe){var Ne=Le[2-qe],rt=K[Ne];te.push(rt[0],rt[1],rt[2]);var je;We?je=We[Ne]:lt?je=lt[Rt]:je=ht,je?this.opacityscale&&et?ce.push(je[0],je[1],je[2],this.opacity*z((et[Ne]-_t)/(bt-_t),this.opacityscale)):je.length===3?ce.push(je[0],je[1],je[2],this.opacity):(ce.push(je[0],je[1],je[2],je[3]*this.opacity),je[3]<1&&(this.hasAlpha=!0)):ce.push(.5,.5,.5,1);var Je;tt?Je=tt[Ne]:et?Je=[(et[Ne]-_t)/(bt-_t),0]:pt?Je=pt[Rt]:vt?Je=[(vt[Rt]-_t)/(bt-_t),0]:Je=[(rt[2]-_t)/(bt-_t),0],ee.push(Je[0],Je[1]);var Et;Pe?Et=Pe[Ne]:Et=Ke[Rt],re.push(Et[0],Et[1],Et[2]),de.push(Rt)}He+=1;break}}this.pointCount=Se,this.edgeCount=Ce,this.triangleCount=He,this.pointPositions.update(we),this.pointColors.update(Be),this.pointUVs.update(Ae),this.pointSizes.update(Re),this.pointIds.update(new Uint32Array(be)),this.edgePositions.update(oe),this.edgeColors.update(fe),this.edgeUVs.update(me),this.edgeIds.update(new Uint32Array(Te)),this.trianglePositions.update(te),this.triangleColors.update(ce),this.triangleUVs.update(ee),this.triangleNormals.update(re),this.triangleIds.update(new Uint32Array(de))}},Y.drawTransparent=Y.draw=function(J){J=J||{};for(var Z=this.gl,le=J.model||U,K=J.view||U,te=J.projection||U,ce=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],re=0;re<3;++re)ce[0][re]=Math.max(ce[0][re],this.clipBounds[0][re]),ce[1][re]=Math.min(ce[1][re],this.clipBounds[1][re]);var ee={model:le,view:K,projection:te,inverseModel:U.slice(),clipBounds:ce,kambient:this.ambientLight,kdiffuse:this.diffuseLight,kspecular:this.specularLight,roughness:this.roughness,fresnel:this.fresnel,eyePosition:[0,0,0],lightPosition:[0,0,0],contourColor:this.contourColor,texture:0};ee.inverseModel=R(ee.inverseModel,ee.model),Z.disable(Z.CULL_FACE),this.texture.bind(0);var de=new Array(16);w(de,ee.view,ee.model),w(de,ee.projection,de),R(de,de);for(var re=0;re<3;++re)ee.eyePosition[re]=de[12+re]/de[15];for(var oe=de[15],re=0;re<3;++re)oe+=this.lightPosition[re]*de[4*re+3];for(var re=0;re<3;++re){for(var fe=de[12+re],me=0;me<3;++me)fe+=de[4*me+re]*this.lightPosition[me];ee.lightPosition[re]=fe/oe}if(this.triangleCount>0){var Te=this.triShader;Te.bind(),Te.uniforms=ee,this.triangleVAO.bind(),Z.drawArrays(Z.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()}if(this.edgeCount>0&&this.lineWidth>0){var Te=this.lineShader;Te.bind(),Te.uniforms=ee,this.edgeVAO.bind(),Z.lineWidth(this.lineWidth*this.pixelRatio),Z.drawArrays(Z.LINES,0,this.edgeCount*2),this.edgeVAO.unbind()}if(this.pointCount>0){var Te=this.pointShader;Te.bind(),Te.uniforms=ee,this.pointVAO.bind(),Z.drawArrays(Z.POINTS,0,this.pointCount),this.pointVAO.unbind()}if(this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0){var Te=this.contourShader;Te.bind(),Te.uniforms=ee,this.contourVAO.bind(),Z.drawArrays(Z.LINES,0,this.contourCount),this.contourVAO.unbind()}},Y.drawPick=function(J){J=J||{};for(var Z=this.gl,le=J.model||U,K=J.view||U,te=J.projection||U,ce=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],re=0;re<3;++re)ce[0][re]=Math.max(ce[0][re],this.clipBounds[0][re]),ce[1][re]=Math.min(ce[1][re],this.clipBounds[1][re]);this._model=[].slice.call(le),this._view=[].slice.call(K),this._projection=[].slice.call(te),this._resolution=[Z.drawingBufferWidth,Z.drawingBufferHeight];var ee={model:le,view:K,projection:te,clipBounds:ce,pickId:this.pickId/255},de=this.pickShader;if(de.bind(),de.uniforms=ee,this.triangleCount>0&&(this.triangleVAO.bind(),Z.drawArrays(Z.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),Z.lineWidth(this.lineWidth*this.pixelRatio),Z.drawArrays(Z.LINES,0,this.edgeCount*2),this.edgeVAO.unbind()),this.pointCount>0){var de=this.pointPickShader;de.bind(),de.uniforms=ee,this.pointVAO.bind(),Z.drawArrays(Z.POINTS,0,this.pointCount),this.pointVAO.unbind()}},Y.pick=function(J){if(!J||J.id!==this.pickId)return null;for(var Z=J.value[0]+256*J.value[1]+65536*J.value[2],le=this.cells[Z],K=this.positions,te=new Array(le.length),ce=0;ce<le.length;++ce)te[ce]=K[le[ce]];var re=J.coord[0],ee=J.coord[1];if(!this.pickVertex){var de=this.positions[le[0]],oe=this.positions[le[1]],fe=this.positions[le[2]],me=[(de[0]+oe[0]+fe[0])/3,(de[1]+oe[1]+fe[1])/3,(de[2]+oe[2]+fe[2])/3];return{_cellCenter:!0,position:[re,ee],index:Z,cell:le,cellId:Z,intensity:this.intensity[Z],dataCoordinate:me}}var Te=P(te,[re*this.pixelRatio,this._resolution[1]-ee*this.pixelRatio],this._model,this._view,this._projection,this._resolution);if(!Te)return null;for(var we=Te[2],Be=0,ce=0;ce<le.length;++ce)Be+=we[ce]*this.intensity[le[ce]];return{position:Te[1],index:le[Te[0]],cell:le,cellId:Z,intensity:Be,dataCoordinate:this.positions[le[Te[0]]]}},Y.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.lineShader.dispose(),this.pointShader.dispose(),this.pickShader.dispose(),this.pointPickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleNormals.dispose(),this.triangleIds.dispose(),this.edgeVAO.dispose(),this.edgePositions.dispose(),this.edgeColors.dispose(),this.edgeUVs.dispose(),this.edgeIds.dispose(),this.pointVAO.dispose(),this.pointPositions.dispose(),this.pointColors.dispose(),this.pointUVs.dispose(),this.pointSizes.dispose(),this.pointIds.dispose(),this.contourVAO.dispose(),this.contourPositions.dispose(),this.contourShader.dispose()};function G(J){var Z=f(J,M.vertex,M.fragment);return Z.attributes.position.location=0,Z.attributes.color.location=2,Z.attributes.uv.location=3,Z.attributes.normal.location=4,Z}function W(J){var Z=f(J,F.vertex,F.fragment);return Z.attributes.position.location=0,Z.attributes.color.location=2,Z.attributes.uv.location=3,Z}function X(J){var Z=f(J,N.vertex,N.fragment);return Z.attributes.position.location=0,Z.attributes.color.location=2,Z.attributes.uv.location=3,Z.attributes.pointSize.location=4,Z}function Q(J){var Z=f(J,T.vertex,T.fragment);return Z.attributes.position.location=0,Z.attributes.id.location=1,Z}function ae(J){var Z=f(J,D.vertex,D.fragment);return Z.attributes.position.location=0,Z.attributes.id.location=1,Z.attributes.pointSize.location=4,Z}function ie(J){var Z=f(J,O.vertex,O.fragment);return Z.attributes.position.location=0,Z}function he(J,Z){arguments.length===1&&(Z=J,J=Z.gl);var le=J.getExtension("OES_standard_derivatives")||J.getExtension("MOZ_OES_standard_derivatives")||J.getExtension("WEBKIT_OES_standard_derivatives");if(!le)throw new Error("derivatives not supported");var K=G(J),te=W(J),ce=X(J),re=Q(J),ee=ae(J),de=ie(J),oe=y(J,A(new Uint8Array([255,255,255,255]),[1,1,4]));oe.generateMipmap(),oe.minFilter=J.LINEAR_MIPMAP_LINEAR,oe.magFilter=J.LINEAR;var fe=b(J),me=b(J),Te=b(J),we=b(J),Be=b(J),Ae=x(J,[{buffer:fe,type:J.FLOAT,size:3},{buffer:Be,type:J.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:me,type:J.FLOAT,size:4},{buffer:Te,type:J.FLOAT,size:2},{buffer:we,type:J.FLOAT,size:3}]),Re=b(J),be=b(J),Pe=b(J),Ke=b(J),ze=x(J,[{buffer:Re,type:J.FLOAT,size:3},{buffer:Ke,type:J.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:be,type:J.FLOAT,size:4},{buffer:Pe,type:J.FLOAT,size:2}]),Fe=b(J),We=b(J),lt=b(J),ht=b(J),tt=b(J),et=x(J,[{buffer:Fe,type:J.FLOAT,size:3},{buffer:tt,type:J.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:We,type:J.FLOAT,size:4},{buffer:lt,type:J.FLOAT,size:2},{buffer:ht,type:J.FLOAT,size:1}]),pt=b(J),vt=x(J,[{buffer:pt,type:J.FLOAT,size:3}]),_t=new B(J,oe,K,te,ce,re,ee,de,fe,Be,me,Te,we,Ae,Re,Ke,be,Pe,ze,Fe,tt,We,lt,ht,et,pt,vt);return _t.update(Z),_t}p.exports=he},4554:function(p,_,c){p.exports=y;var s=c(5827),d=c(5158),f=c(2709);function b(C,w,R){this.plot=C,this.vbo=w,this.shader=R}var x=b.prototype;x.bind=function(){var C=this.shader;this.vbo.bind(),this.shader.bind(),C.attributes.coord.pointer(),C.uniforms.screenBox=this.plot.screenBox},x.drawBox=function(){var C=[0,0],w=[0,0];return function(R,A,E,k,L){var I=this.plot,P=this.shader,M=I.gl;C[0]=R,C[1]=A,w[0]=E,w[1]=k,P.uniforms.lo=C,P.uniforms.hi=w,P.uniforms.color=L,M.drawArrays(M.TRIANGLE_STRIP,0,4)}}(),x.dispose=function(){this.vbo.dispose(),this.shader.dispose()};function y(C){var w=C.gl,R=s(w,[0,0,0,1,1,0,1,1]),A=d(w,f.boxVert,f.lineFrag);return new b(C,R,A)}},3016:function(p,_,c){p.exports=w;var s=c(5827),d=c(5158),f=c(5070),b=c(2709);function x(R,A,E,k){this.plot=R,this.vbo=A,this.shader=E,this.tickShader=k,this.ticks=[[],[]]}function y(R,A){return R-A}var C=x.prototype;C.draw=function(){var R=[0,0],A=[0,0],E=[0,0];return function(){for(var k=this.plot,L=this.vbo,I=this.shader,P=this.ticks,M=k.gl,F=k._tickBounds,N=k.dataBox,T=k.viewBox,D=k.gridLineWidth,O=k.gridLineColor,U=k.gridLineEnable,B=k.pixelRatio,Y=0;Y<2;++Y){var z=F[Y],V=F[Y+2],j=V-z,G=.5*(N[Y+2]+N[Y]),W=N[Y+2]-N[Y];A[Y]=2*j/W,R[Y]=2*(z-G)/W}I.bind(),L.bind(),I.attributes.dataCoord.pointer(),I.uniforms.dataShift=R,I.uniforms.dataScale=A;for(var X=0,Y=0;Y<2;++Y){E[0]=E[1]=0,E[Y]=1,I.uniforms.dataAxis=E,I.uniforms.lineWidth=D[Y]/(T[Y+2]-T[Y])*B,I.uniforms.color=O[Y];var Q=P[Y].length*6;U[Y]&&Q&&M.drawArrays(M.TRIANGLES,X,Q),X+=Q}}}(),C.drawTickMarks=function(){var R=[0,0],A=[0,0],E=[1,0],k=[0,1],L=[0,0],I=[0,0];return function(){for(var P=this.plot,M=this.vbo,F=this.tickShader,N=this.ticks,T=P.gl,D=P._tickBounds,O=P.dataBox,U=P.viewBox,B=P.pixelRatio,Y=P.screenBox,z=Y[2]-Y[0],V=Y[3]-Y[1],j=U[2]-U[0],G=U[3]-U[1],W=0;W<2;++W){var X=D[W],Q=D[W+2],ae=Q-X,ie=.5*(O[W+2]+O[W]),he=O[W+2]-O[W];A[W]=2*ae/he,R[W]=2*(X-ie)/he}A[0]*=j/z,R[0]*=j/z,A[1]*=G/V,R[1]*=G/V,F.bind(),M.bind(),F.attributes.dataCoord.pointer();var J=F.uniforms;J.dataShift=R,J.dataScale=A;var Z=P.tickMarkLength,le=P.tickMarkWidth,K=P.tickMarkColor,te=0,ce=N[0].length*6,re=Math.min(f.ge(N[0],(O[0]-D[0])/(D[2]-D[0]),y),N[0].length),ee=Math.min(f.gt(N[0],(O[2]-D[0])/(D[2]-D[0]),y),N[0].length),de=te+6*re,oe=6*Math.max(0,ee-re),fe=Math.min(f.ge(N[1],(O[1]-D[1])/(D[3]-D[1]),y),N[1].length),me=Math.min(f.gt(N[1],(O[3]-D[1])/(D[3]-D[1]),y),N[1].length),Te=ce+6*fe,we=6*Math.max(0,me-fe);L[0]=2*(U[0]-Z[1])/z-1,L[1]=(U[3]+U[1])/V-1,I[0]=Z[1]*B/z,I[1]=le[1]*B/V,we&&(J.color=K[1],J.tickScale=I,J.dataAxis=k,J.screenOffset=L,T.drawArrays(T.TRIANGLES,Te,we)),L[0]=(U[2]+U[0])/z-1,L[1]=2*(U[1]-Z[0])/V-1,I[0]=le[0]*B/z,I[1]=Z[0]*B/V,oe&&(J.color=K[0],J.tickScale=I,J.dataAxis=E,J.screenOffset=L,T.drawArrays(T.TRIANGLES,de,oe)),L[0]=2*(U[2]+Z[3])/z-1,L[1]=(U[3]+U[1])/V-1,I[0]=Z[3]*B/z,I[1]=le[3]*B/V,we&&(J.color=K[3],J.tickScale=I,J.dataAxis=k,J.screenOffset=L,T.drawArrays(T.TRIANGLES,Te,we)),L[0]=(U[2]+U[0])/z-1,L[1]=2*(U[3]+Z[2])/V-1,I[0]=le[2]*B/z,I[1]=Z[2]*B/V,oe&&(J.color=K[2],J.tickScale=I,J.dataAxis=E,J.screenOffset=L,T.drawArrays(T.TRIANGLES,de,oe))}}(),C.update=function(){var R=[1,1,-1,-1,1,-1],A=[1,-1,1,1,-1,-1];return function(E){var k=E.ticks,L=E.bounds,I=new Float32Array(6*3*(k[0].length+k[1].length));this.plot.zeroLineEnable;for(var P=0,M=[[],[]],F=0;F<2;++F)for(var N=M[F],T=k[F],D=L[F],O=L[F+2],U=0;U<T.length;++U){var B=(T[U].x-D)/(O-D);N.push(B);for(var Y=0;Y<6;++Y)I[P++]=B,I[P++]=R[Y],I[P++]=A[Y]}this.ticks=M,this.vbo.update(I)}}(),C.dispose=function(){this.vbo.dispose(),this.shader.dispose(),this.tickShader.dispose()};function w(R){var A=R.gl,E=s(A),k=d(A,b.gridVert,b.gridFrag),L=d(A,b.tickVert,b.gridFrag),I=new x(R,E,k,L);return I}},1154:function(p,_,c){p.exports=y;var s=c(5827),d=c(5158),f=c(2709);function b(C,w,R){this.plot=C,this.vbo=w,this.shader=R}var x=b.prototype;x.bind=function(){var C=this.shader;this.vbo.bind(),this.shader.bind(),C.attributes.coord.pointer(),C.uniforms.screenBox=this.plot.screenBox},x.drawLine=function(){var C=[0,0],w=[0,0];return function(R,A,E,k,L,I){var P=this.plot,M=this.shader,F=P.gl;C[0]=R,C[1]=A,w[0]=E,w[1]=k,M.uniforms.start=C,M.uniforms.end=w,M.uniforms.width=L*P.pixelRatio,M.uniforms.color=I,F.drawArrays(F.TRIANGLE_STRIP,0,4)}}(),x.dispose=function(){this.vbo.dispose(),this.shader.dispose()};function y(C){var w=C.gl,R=s(w,[-1,-1,-1,1,1,-1,1,1]),A=d(w,f.lineVert,f.lineFrag),E=new b(C,R,A);return E}},2709:function(p,_,c){var s=c(6832),d=s([`precision lowp float;
#define GLSLIFY 1
uniform vec4 color;
void main() {
gl_FragColor = vec4(color.xyz * color.w, color.w);
}
`]);p.exports={lineVert:s([`precision mediump float;
#define GLSLIFY 1
attribute vec2 coord;
uniform vec4 screenBox;
uniform vec2 start, end;
uniform float width;
vec2 perp(vec2 v) {
return vec2(v.y, -v.x);
}
vec2 screen(vec2 v) {
return 2.0 * (v - screenBox.xy) / (screenBox.zw - screenBox.xy) - 1.0;
}
void main() {
vec2 delta = normalize(perp(start - end));
vec2 offset = mix(start, end, 0.5 * (coord.y+1.0));
gl_Position = vec4(screen(offset + 0.5 * width * delta * coord.x), 0, 1);
}
`]),lineFrag:d,textVert:s([`#define GLSLIFY 1
attribute vec3 textCoordinate;
uniform vec2 dataScale, dataShift, dataAxis, screenOffset, textScale;
uniform float angle;
void main() {
float dataOffset = textCoordinate.z;
vec2 glyphOffset = textCoordinate.xy;
mat2 glyphMatrix = mat2(cos(angle), sin(angle), -sin(angle), cos(angle));
vec2 screenCoordinate = dataAxis * (dataScale * dataOffset + dataShift) +
glyphMatrix * glyphOffset * textScale + screenOffset;
gl_Position = vec4(screenCoordinate, 0, 1);
}
`]),textFrag:d,gridVert:s([`precision mediump float;
#define GLSLIFY 1
attribute vec3 dataCoord;
uniform vec2 dataAxis, dataShift, dataScale;
uniform float lineWidth;
void main() {
vec2 pos = dataAxis * (dataScale * dataCoord.x + dataShift);
pos += 10.0 * dataCoord.y * vec2(dataAxis.y, -dataAxis.x) + dataCoord.z * lineWidth;
gl_Position = vec4(pos, 0, 1);
}
`]),gridFrag:d,boxVert:s([`precision mediump float;
#define GLSLIFY 1
attribute vec2 coord;
uniform vec4 screenBox;
uniform vec2 lo, hi;
vec2 screen(vec2 v) {
return 2.0 * (v - screenBox.xy) / (screenBox.zw - screenBox.xy) - 1.0;
}
void main() {
gl_Position = vec4(screen(mix(lo, hi, coord)), 0, 1);
}
`]),tickVert:s([`precision mediump float;
#define GLSLIFY 1
attribute vec3 dataCoord;
uniform vec2 dataAxis, dataShift, dataScale, screenOffset, tickScale;
void main() {
vec2 pos = dataAxis * (dataScale * dataCoord.x + dataShift);
gl_Position = vec4(pos + tickScale*dataCoord.yz + screenOffset, 0, 1);
}
`])}},5613:function(p,_,c){p.exports=w;var s=c(5827),d=c(5158),f=c(6946),b=c(5070),x=c(2709);function y(R,A,E){this.plot=R,this.vbo=A,this.shader=E,this.tickOffset=[[],[]],this.tickX=[[],[]],this.labelOffset=[0,0],this.labelCount=[0,0]}var C=y.prototype;C.drawTicks=function(){var R=[0,0],A=[0,0],E=[0,0];return function(k){var L=this.plot,I=this.shader,P=this.tickX[k],M=this.tickOffset[k],F=L.gl,N=L.viewBox,T=L.dataBox,D=L.screenBox,O=L.pixelRatio,U=L.tickEnable,B=L.tickPad,Y=L.tickColor,z=L.tickAngle,V=L.labelEnable,j=L.labelPad,G=L.labelColor,W=L.labelAngle,X=this.labelOffset[k],Q=this.labelCount[k],ae=b.lt(P,T[k]),ie=b.le(P,T[k+2]);R[0]=R[1]=0,R[k]=1,A[k]=(N[2+k]+N[k])/(D[2+k]-D[k])-1;var he=2/D[2+(k^1)]-D[k^1];A[k^1]=he*N[k^1]-1,U[k]&&(A[k^1]-=he*O*B[k],ae<ie&&M[ie]>M[ae]&&(I.uniforms.dataAxis=R,I.uniforms.screenOffset=A,I.uniforms.color=Y[k],I.uniforms.angle=z[k],F.drawArrays(F.TRIANGLES,M[ae],M[ie]-M[ae]))),V[k]&&Q&&(A[k^1]-=he*O*j[k],I.uniforms.dataAxis=E,I.uniforms.screenOffset=A,I.uniforms.color=G[k],I.uniforms.angle=W[k],F.drawArrays(F.TRIANGLES,X,Q)),A[k^1]=he*N[2+(k^1)]-1,U[k+2]&&(A[k^1]+=he*O*B[k+2],ae<ie&&M[ie]>M[ae]&&(I.uniforms.dataAxis=R,I.uniforms.screenOffset=A,I.uniforms.color=Y[k+2],I.uniforms.angle=z[k+2],F.drawArrays(F.TRIANGLES,M[ae],M[ie]-M[ae]))),V[k+2]&&Q&&(A[k^1]+=he*O*j[k+2],I.uniforms.dataAxis=E,I.uniforms.screenOffset=A,I.uniforms.color=G[k+2],I.uniforms.angle=W[k+2],F.drawArrays(F.TRIANGLES,X,Q))}}(),C.drawTitle=function(){var R=[0,0],A=[0,0];return function(){var E=this.plot,k=this.shader,L=E.gl,I=E.screenBox,P=E.titleCenter,M=E.titleAngle,F=E.titleColor,N=E.pixelRatio;if(this.titleCount){for(var T=0;T<2;++T)A[T]=2*(P[T]*N-I[T])/(I[2+T]-I[T])-1;k.bind(),k.uniforms.dataAxis=R,k.uniforms.screenOffset=A,k.uniforms.angle=M,k.uniforms.color=F,L.drawArrays(L.TRIANGLES,this.titleOffset,this.titleCount)}}}(),C.bind=function(){var R=[0,0],A=[0,0],E=[0,0];return function(){var k=this.plot,L=this.shader,I=k._tickBounds,P=k.dataBox,M=k.screenBox,F=k.viewBox;L.bind();for(var N=0;N<2;++N){var T=I[N],D=I[N+2],O=D-T,U=.5*(P[N+2]+P[N]),B=P[N+2]-P[N],Y=F[N],z=F[N+2],V=z-Y,j=M[N],G=M[N+2],W=G-j;A[N]=2*O/B*V/W,R[N]=2*(T-U)/B*V/W}E[1]=2*k.pixelRatio/(M[3]-M[1]),E[0]=E[1]*(M[3]-M[1])/(M[2]-M[0]),L.uniforms.dataScale=A,L.uniforms.dataShift=R,L.uniforms.textScale=E,this.vbo.bind(),L.attributes.textCoordinate.pointer()}}(),C.update=function(R){var A=[],E=R.ticks,k=R.bounds,L,I,P,M,F;for(F=0;F<2;++F){var N=[Math.floor(A.length/3)],T=[-1/0],D=E[F];for(L=0;L<D.length;++L){var O=D[L],U=O.x,B=O.text,Y=O.font||"sans-serif";M=O.fontSize||12;for(var z=1/(k[F+2]-k[F]),V=k[F],j=B.split(`
`),G=0;G<j.length;G++)for(P=f(Y,j[G]).data,I=0;I<P.length;I+=2)A.push(P[I]*M,-P[I+1]*M-G*M*1.2,(U-V)*z);N.push(Math.floor(A.length/3)),T.push(U)}this.tickOffset[F]=N,this.tickX[F]=T}for(F=0;F<2;++F){for(this.labelOffset[F]=Math.floor(A.length/3),P=f(R.labelFont[F],R.labels[F],{textAlign:"center"}).data,M=R.labelSize[F],L=0;L<P.length;L+=2)A.push(P[L]*M,-P[L+1]*M,0);this.labelCount[F]=Math.floor(A.length/3)-this.labelOffset[F]}for(this.titleOffset=Math.floor(A.length/3),P=f(R.titleFont,R.title).data,M=R.titleSize,L=0;L<P.length;L+=2)A.push(P[L]*M,-P[L+1]*M,0);this.titleCount=Math.floor(A.length/3)-this.titleOffset,this.vbo.update(A)},C.dispose=function(){this.vbo.dispose(),this.shader.dispose()};function w(R){var A=R.gl,E=s(A),k=d(A,x.textVert,x.textFrag),L=new y(R,E,k);return L}},2117:function(p,_,c){p.exports=A;var s=c(2611),d=c(3016),f=c(5613),b=c(1154),x=c(4554);function y(E,k){this.gl=E,this.pickBuffer=k,this.screenBox=[0,0,E.drawingBufferWidth,E.drawingBufferHeight],this.viewBox=[0,0,0,0],this.dataBox=[-10,-10,10,10],this.gridLineEnable=[!0,!0],this.gridLineWidth=[1,1],this.gridLineColor=[[0,0,0,1],[0,0,0,1]],this.pixelRatio=1,this.tickMarkLength=[0,0,0,0],this.tickMarkWidth=[0,0,0,0],this.tickMarkColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[15,15,15,15],this.tickAngle=[0,0,0,0],this.tickEnable=[!0,!0,!0,!0],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[15,15,15,15],this.labelAngle=[0,Math.PI/2,0,3*Math.PI/2],this.labelEnable=[!0,!0,!0,!0],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.titleCenter=[0,0],this.titleEnable=!0,this.titleAngle=0,this.titleColor=[0,0,0,1],this.borderColor=[0,0,0,0],this.backgroundColor=[0,0,0,0],this.zeroLineEnable=[!0,!0],this.zeroLineWidth=[4,4],this.zeroLineColor=[[0,0,0,1],[0,0,0,1]],this.borderLineEnable=[!0,!0,!0,!0],this.borderLineWidth=[2,2,2,2],this.borderLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.grid=null,this.text=null,this.line=null,this.box=null,this.objects=[],this.overlays=[],this._tickBounds=[1/0,1/0,-1/0,-1/0],this.static=!1,this.dirty=!1,this.pickDirty=!1,this.pickDelay=120,this.pickRadius=10,this._pickTimeout=null,this._drawPick=this.drawPick.bind(this),this._depthCounter=0}var C=y.prototype;C.setDirty=function(){this.dirty=this.pickDirty=!0},C.setOverlayDirty=function(){this.dirty=!0},C.nextDepthValue=function(){return this._depthCounter++/65536},C.draw=function(){return function(){var E=this.gl,k=this.screenBox,L=this.viewBox,I=this.dataBox,P=this.pixelRatio,M=this.grid,F=this.line,N=this.text,T=this.objects;if(this._depthCounter=0,this.pickDirty&&(this._pickTimeout&&clearTimeout(this._pickTimeout),this.pickDirty=!1,this._pickTimeout=setTimeout(this._drawPick,this.pickDelay)),!!this.dirty){if(this.dirty=!1,E.bindFramebuffer(E.FRAMEBUFFER,null),E.enable(E.SCISSOR_TEST),E.disable(E.DEPTH_TEST),E.depthFunc(E.LESS),E.depthMask(!1),E.enable(E.BLEND),E.blendEquation(E.FUNC_ADD,E.FUNC_ADD),E.blendFunc(E.ONE,E.ONE_MINUS_SRC_ALPHA),this.borderColor){E.scissor(k[0],k[1],k[2]-k[0],k[3]-k[1]);var D=this.borderColor;E.clearColor(D[0]*D[3],D[1]*D[3],D[2]*D[3],D[3]),E.clear(E.COLOR_BUFFER_BIT|E.DEPTH_BUFFER_BIT)}E.scissor(L[0],L[1],L[2]-L[0],L[3]-L[1]),E.viewport(L[0],L[1],L[2]-L[0],L[3]-L[1]);var O=this.backgroundColor;E.clearColor(O[0]*O[3],O[1]*O[3],O[2]*O[3],O[3]),E.clear(E.COLOR_BUFFER_BIT),M.draw();var U=this.zeroLineEnable,B=this.zeroLineColor,Y=this.zeroLineWidth;if(U[0]||U[1]){F.bind();for(var z=0;z<2;++z)if(!(!U[z]||!(I[z]<=0&&I[z+2]>=0))){var V=k[z]-I[z]*(k[z+2]-k[z])/(I[z+2]-I[z]);z===0?F.drawLine(V,k[1],V,k[3],Y[z],B[z]):F.drawLine(k[0],V,k[2],V,Y[z],B[z])}}for(var z=0;z<T.length;++z)T[z].draw();E.viewport(k[0],k[1],k[2]-k[0],k[3]-k[1]),E.scissor(k[0],k[1],k[2]-k[0],k[3]-k[1]),this.grid.drawTickMarks(),F.bind();var j=this.borderLineEnable,G=this.borderLineWidth,W=this.borderLineColor;j[1]&&F.drawLine(L[0],L[1]-.5*G[1]*P,L[0],L[3]+.5*G[3]*P,G[1],W[1]),j[0]&&F.drawLine(L[0]-.5*G[0]*P,L[1],L[2]+.5*G[2]*P,L[1],G[0],W[0]),j[3]&&F.drawLine(L[2],L[1]-.5*G[1]*P,L[2],L[3]+.5*G[3]*P,G[3],W[3]),j[2]&&F.drawLine(L[0]-.5*G[0]*P,L[3],L[2]+.5*G[2]*P,L[3],G[2],W[2]),N.bind();for(var z=0;z<2;++z)N.drawTicks(z);this.titleEnable&&N.drawTitle();for(var X=this.overlays,z=0;z<X.length;++z)X[z].draw();E.disable(E.SCISSOR_TEST),E.disable(E.BLEND),E.depthMask(!0)}}}(),C.drawPick=function(){return function(){if(!this.static){var E=this.pickBuffer;this.gl,this._pickTimeout=null,E.begin();for(var k=1,L=this.objects,I=0;I<L.length;++I)k=L[I].drawPick(k);E.end()}}}(),C.pick=function(){return function(E,k){if(!this.static){var L=this.pixelRatio,I=this.pickPixelRatio,P=this.viewBox,M=Math.round((E-P[0]/L)*I)|0,F=Math.round((k-P[1]/L)*I)|0,N=this.pickBuffer.query(M,F,this.pickRadius);if(!N)return null;for(var T=N.id+(N.value[0]<<8)+(N.value[1]<<16)+(N.value[2]<<24),D=this.objects,O=0;O<D.length;++O){var U=D[O].pick(M,F,T);if(U)return U}return null}}}();function w(E){for(var k=E.slice(),L=0;L<k.length;++L)k[L]=k[L].slice();return k}function R(E,k){return E.x-k.x}C.setScreenBox=function(E){var k=this.screenBox,L=this.pixelRatio;k[0]=Math.round(E[0]*L)|0,k[1]=Math.round(E[1]*L)|0,k[2]=Math.round(E[2]*L)|0,k[3]=Math.round(E[3]*L)|0,this.setDirty()},C.setDataBox=function(E){var k=this.dataBox,L=k[0]!==E[0]||k[1]!==E[1]||k[2]!==E[2]||k[3]!==E[3];L&&(k[0]=E[0],k[1]=E[1],k[2]=E[2],k[3]=E[3],this.setDirty())},C.setViewBox=function(E){var k=this.pixelRatio,L=this.viewBox;L[0]=Math.round(E[0]*k)|0,L[1]=Math.round(E[1]*k)|0,L[2]=Math.round(E[2]*k)|0,L[3]=Math.round(E[3]*k)|0;var I=this.pickPixelRatio;this.pickBuffer.shape=[Math.round((E[2]-E[0])*I)|0,Math.round((E[3]-E[1])*I)|0],this.setDirty()},C.update=function(E){E=E||{};var k=this.gl;this.pixelRatio=E.pixelRatio||1;var L=this.pixelRatio;this.pickPixelRatio=Math.max(L,1),this.setScreenBox(E.screenBox||[0,0,k.drawingBufferWidth/L,k.drawingBufferHeight/L]),this.screenBox,this.setViewBox(E.viewBox||[.125*(this.screenBox[2]-this.screenBox[0])/L,.125*(this.screenBox[3]-this.screenBox[1])/L,.875*(this.screenBox[2]-this.screenBox[0])/L,.875*(this.screenBox[3]-this.screenBox[1])/L]);var I=this.viewBox,P=(I[2]-I[0])/(I[3]-I[1]);this.setDataBox(E.dataBox||[-10,-10/P,10,10/P]),this.borderColor=E.borderColor!==!1?(E.borderColor||[0,0,0,0]).slice():!1,this.backgroundColor=(E.backgroundColor||[0,0,0,0]).slice(),this.gridLineEnable=(E.gridLineEnable||[!0,!0]).slice(),this.gridLineWidth=(E.gridLineWidth||[1,1]).slice(),this.gridLineColor=w(E.gridLineColor||[[.5,.5,.5,1],[.5,.5,.5,1]]),this.zeroLineEnable=(E.zeroLineEnable||[!0,!0]).slice(),this.zeroLineWidth=(E.zeroLineWidth||[4,4]).slice(),this.zeroLineColor=w(E.zeroLineColor||[[0,0,0,1],[0,0,0,1]]),this.tickMarkLength=(E.tickMarkLength||[0,0,0,0]).slice(),this.tickMarkWidth=(E.tickMarkWidth||[0,0,0,0]).slice(),this.tickMarkColor=w(E.tickMarkColor||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]),this.titleCenter=(E.titleCenter||[.5*(I[0]+I[2])/L,(I[3]+120)/L]).slice(),this.titleEnable=!("titleEnable"in E)||!!E.titleEnable,this.titleAngle=E.titleAngle||0,this.titleColor=(E.titleColor||[0,0,0,1]).slice(),this.labelPad=(E.labelPad||[15,15,15,15]).slice(),this.labelAngle=(E.labelAngle||[0,Math.PI/2,0,3*Math.PI/2]).slice(),this.labelEnable=(E.labelEnable||[!0,!0,!0,!0]).slice(),this.labelColor=w(E.labelColor||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]),this.tickPad=(E.tickPad||[15,15,15,15]).slice(),this.tickAngle=(E.tickAngle||[0,0,0,0]).slice(),this.tickEnable=(E.tickEnable||[!0,!0,!0,!0]).slice(),this.tickColor=w(E.tickColor||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]),this.borderLineEnable=(E.borderLineEnable||[!0,!0,!0,!0]).slice(),this.borderLineWidth=(E.borderLineWidth||[2,2,2,2]).slice(),this.borderLineColor=w(E.borderLineColor||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]);var M=E.ticks||[[],[]],F=this._tickBounds;F[0]=F[1]=1/0,F[2]=F[3]=-1/0;for(var N=0;N<2;++N){var T=M[N].slice(0);T.length!==0&&(T.sort(R),F[N]=Math.min(F[N],T[0].x),F[N+2]=Math.max(F[N+2],T[T.length-1].x))}this.grid.update({bounds:F,ticks:M}),this.text.update({bounds:F,ticks:M,labels:E.labels||["x","y"],labelSize:E.labelSize||[12,12],labelFont:E.labelFont||["sans-serif","sans-serif"],title:E.title||"",titleSize:E.titleSize||18,titleFont:E.titleFont||"sans-serif"}),this.static=!!E.static,this.setDirty()},C.dispose=function(){this.box.dispose(),this.grid.dispose(),this.text.dispose(),this.line.dispose();for(var E=this.objects.length-1;E>=0;--E)this.objects[E].dispose();this.objects.length=0;for(var E=this.overlays.length-1;E>=0;--E)this.overlays[E].dispose();this.overlays.length=0,this.gl=null},C.addObject=function(E){this.objects.indexOf(E)<0&&(this.objects.push(E),this.setDirty())},C.removeObject=function(E){for(var k=this.objects,L=0;L<k.length;++L)if(k[L]===E){k.splice(L,1),this.setDirty();break}},C.addOverlay=function(E){this.overlays.indexOf(E)<0&&(this.overlays.push(E),this.setOverlayDirty())},C.removeOverlay=function(E){for(var k=this.overlays,L=0;L<k.length;++L)if(k[L]===E){k.splice(L,1),this.setOverlayDirty();break}};function A(E){var k=E.gl,L=s(k,[k.drawingBufferWidth,k.drawingBufferHeight]),I=new y(k,L);return I.grid=d(I),I.text=f(I),I.line=b(I),I.box=x(I),I.update(E),I}},4296:function(p,_,c){p.exports=C;var s=c(8161),d=c(1152),f=c(6145),b=c(6475),x=c(2565),y=c(5233);function C(w,R){w=w||document.body,R=R||{};var A=[.01,1/0];"distanceLimits"in R&&(A[0]=R.distanceLimits[0],A[1]=R.distanceLimits[1]),"zoomMin"in R&&(A[0]=R.zoomMin),"zoomMax"in R&&(A[1]=R.zoomMax);var E=d({center:R.center||[0,0,0],up:R.up||[0,1,0],eye:R.eye||[0,0,10],mode:R.mode||"orbit",distanceLimits:A}),k=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],L=0,I=w.clientWidth,P=w.clientHeight,M={keyBindingMode:"rotate",enableWheel:!0,view:E,element:w,delay:R.delay||16,rotateSpeed:R.rotateSpeed||1,zoomSpeed:R.zoomSpeed||1,translateSpeed:R.translateSpeed||1,flipX:!!R.flipX,flipY:!!R.flipY,modes:E.modes,_ortho:R._ortho||R.projection&&R.projection.type==="orthographic"||!1,tick:function(){var F=s(),N=this.delay,T=F-2*N;E.idle(F-N),E.recalcMatrix(T),E.flush(F-(100+N*2));for(var D=!0,O=E.computedMatrix,U=0;U<16;++U)D=D&&k[U]===O[U],k[U]=O[U];var B=w.clientWidth===I&&w.clientHeight===P;return I=w.clientWidth,P=w.clientHeight,D?!B:(L=Math.exp(E.computedRadius[0]),!0)},lookAt:function(F,N,T){E.lookAt(E.lastT(),F,N,T)},rotate:function(F,N,T){E.rotate(E.lastT(),F,N,T)},pan:function(F,N,T){E.pan(E.lastT(),F,N,T)},translate:function(F,N,T){E.translate(E.lastT(),F,N,T)}};return Object.defineProperties(M,{matrix:{get:function(){return E.computedMatrix},set:function(F){return E.setMatrix(E.lastT(),F),E.computedMatrix},enumerable:!0},mode:{get:function(){return E.getMode()},set:function(F){var N=E.computedUp.slice(),T=E.computedEye.slice(),D=E.computedCenter.slice();if(E.setMode(F),F==="turntable"){var O=s();E._active.lookAt(O,T,D,N),E._active.lookAt(O+500,T,D,[0,0,1]),E._active.flush(O)}return E.getMode()},enumerable:!0},center:{get:function(){return E.computedCenter},set:function(F){return E.lookAt(E.lastT(),null,F),E.computedCenter},enumerable:!0},eye:{get:function(){return E.computedEye},set:function(F){return E.lookAt(E.lastT(),F),E.computedEye},enumerable:!0},up:{get:function(){return E.computedUp},set:function(F){return E.lookAt(E.lastT(),null,null,F),E.computedUp},enumerable:!0},distance:{get:function(){return L},set:function(F){return E.setDistance(E.lastT(),F),F},enumerable:!0},distanceLimits:{get:function(){return E.getDistanceLimits(A)},set:function(F){return E.setDistanceLimits(F),F},enumerable:!0}}),w.addEventListener("contextmenu",function(F){return F.preventDefault(),!1}),M._lastX=-1,M._lastY=-1,M._lastMods={shift:!1,control:!1,alt:!1,meta:!1},M.enableMouseListeners=function(){M.mouseListener=f(w,F),w.addEventListener("touchstart",function(N){var T=x(N.changedTouches[0],w);F(0,T[0],T[1],M._lastMods),F(1,T[0],T[1],M._lastMods)},y?{passive:!0}:!1),w.addEventListener("touchmove",function(N){var T=x(N.changedTouches[0],w);F(1,T[0],T[1],M._lastMods),N.preventDefault()},y?{passive:!1}:!1),w.addEventListener("touchend",function(N){F(0,M._lastX,M._lastY,M._lastMods)},y?{passive:!0}:!1);function F(N,T,D,O){var U=M.keyBindingMode;if(U!==!1){var B=U==="rotate",Y=U==="pan",z=U==="zoom",V=!!O.control,j=!!O.alt,G=!!O.shift,W=!!(N&1),X=!!(N&2),Q=!!(N&4),ae=1/w.clientHeight,ie=ae*(T-M._lastX),he=ae*(D-M._lastY),J=M.flipX?1:-1,Z=M.flipY?1:-1,le=Math.PI*M.rotateSpeed,K=s();if(M._lastX!==-1&&M._lastY!==-1&&((B&&W&&!V&&!j&&!G||W&&!V&&!j&&G)&&E.rotate(K,J*le*ie,-Z*le*he,0),(Y&&W&&!V&&!j&&!G||X||W&&V&&!j&&!G)&&E.pan(K,-M.translateSpeed*ie*L,M.translateSpeed*he*L,0),z&&W&&!V&&!j&&!G||Q||W&&!V&&j&&!G)){var te=-M.zoomSpeed*he/window.innerHeight*(K-E.lastT())*100;E.pan(K,0,0,L*(Math.exp(te)-1))}return M._lastX=T,M._lastY=D,M._lastMods=O,!0}}M.wheelListener=b(w,function(N,T){if(M.keyBindingMode!==!1&&M.enableWheel){var D=M.flipX?1:-1,O=M.flipY?1:-1,U=s();if(Math.abs(N)>Math.abs(T))E.rotate(U,0,0,-N*D*Math.PI*M.rotateSpeed/window.innerWidth);else if(!M._ortho){var B=-M.zoomSpeed*O*T/window.innerHeight*(U-E.lastT())/20;E.pan(U,0,0,L*(Math.exp(B)-1))}}},!0)},M.enableMouseListeners(),M}},8245:function(p,_,c){var s=c(6832),d=c(5158),f=s([`precision mediump float;
#define GLSLIFY 1
attribute vec2 position;
varying vec2 uv;
void main() {
uv = position;
gl_Position = vec4(position, 0, 1);
}`]),b=s([`precision mediump float;
#define GLSLIFY 1
uniform sampler2D accumBuffer;
varying vec2 uv;
void main() {
vec4 accum = texture2D(accumBuffer, 0.5 * (uv + 1.0));
gl_FragColor = min(vec4(1,1,1,1), accum);
}`]);p.exports=function(x){return d(x,f,b,null,[{name:"position",type:"vec2"}])}},1059:function(p,_,c){var s=c(4296),d=c(7453),f=c(2771),b=c(6496),x=c(2611),y=c(4234),C=c(8126),w=c(6145),R=c(1120),A=c(5268),E=c(8245),k=c(2321)({tablet:!0,featureDetect:!0});p.exports={createScene:F,createCamera:s};function L(){this.mouse=[-1,-1],this.screen=null,this.distance=1/0,this.index=null,this.dataCoordinate=null,this.dataPosition=null,this.object=null,this.data=null}function I(T,D){var O=null;try{O=T.getContext("webgl",D),O||(O=T.getContext("experimental-webgl",D))}catch{return null}return O}function P(T){var D=Math.round(Math.log(Math.abs(T))/Math.log(10));if(D<0){var O=Math.round(Math.pow(10,-D));return Math.ceil(T*O)/O}else if(D>0){var O=Math.round(Math.pow(10,D));return Math.ceil(T/O)*O}return Math.ceil(T)}function M(T){return typeof T=="boolean"?T:!0}function F(T){T=T||{},T.camera=T.camera||{};var D=T.canvas;if(!D)if(D=document.createElement("canvas"),T.container){var O=T.container;O.appendChild(D)}else document.body.appendChild(D);var U=T.gl;if(U||(T.glOptions&&(k=!!T.glOptions.preserveDrawingBuffer),U=I(D,T.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:k})),!U)throw new Error("webgl not supported");var B=T.bounds||[[-10,-10,-10],[10,10,10]],Y=new L,z=y(U,U.drawingBufferWidth,U.drawingBufferHeight,{preferFloat:!k}),V=E(U),j=T.cameraObject&&T.cameraObject._ortho===!0||T.camera.projection&&T.camera.projection.type==="orthographic"||!1,G={eye:T.camera.eye||[2,0,0],center:T.camera.center||[0,0,0],up:T.camera.up||[0,1,0],zoomMin:T.camera.zoomMax||.1,zoomMax:T.camera.zoomMin||100,mode:T.camera.mode||"turntable",_ortho:j},W=T.axes||{},X=d(U,W);X.enable=!W.disable;var Q=T.spikes||{},ae=b(U,Q),ie=[],he=[],J=[],Z=[],le=!0,re=!0,K=new Array(16),te=new Array(16),ce={view:null,projection:K,model:te,_ortho:!1},re=!0,ee=[U.drawingBufferWidth,U.drawingBufferHeight],de=T.cameraObject||s(D,G),oe={gl:U,contextLost:!1,pixelRatio:T.pixelRatio||1,canvas:D,selection:Y,camera:de,axes:X,axesPixels:null,spikes:ae,bounds:B,objects:ie,shape:ee,aspect:T.aspectRatio||[1,1,1],pickRadius:T.pickRadius||10,zNear:T.zNear||.01,zFar:T.zFar||1e3,fovy:T.fovy||Math.PI/4,clearColor:T.clearColor||[0,0,0,0],autoResize:M(T.autoResize),autoBounds:M(T.autoBounds),autoScale:!!T.autoScale,autoCenter:M(T.autoCenter),clipToBounds:M(T.clipToBounds),snapToData:!!T.snapToData,onselect:T.onselect||null,onrender:T.onrender||null,onclick:T.onclick||null,cameraParams:ce,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(Ke){this.aspect[0]=Ke.x,this.aspect[1]=Ke.y,this.aspect[2]=Ke.z,re=!0},setBounds:function(Ke,ze){this.bounds[0][Ke]=ze.min,this.bounds[1][Ke]=ze.max},setClearColor:function(Ke){this.clearColor=Ke},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},fe=[U.drawingBufferWidth/oe.pixelRatio|0,U.drawingBufferHeight/oe.pixelRatio|0];function me(){if(!oe._stopped&&oe.autoResize){var Ke=D.parentNode,ze=1,Fe=1;Ke&&Ke!==document.body?(ze=Ke.clientWidth,Fe=Ke.clientHeight):(ze=window.innerWidth,Fe=window.innerHeight);var We=Math.ceil(ze*oe.pixelRatio)|0,lt=Math.ceil(Fe*oe.pixelRatio)|0;if(We!==D.width||lt!==D.height){D.width=We,D.height=lt;var ht=D.style;ht.position=ht.position||"absolute",ht.left="0px",ht.top="0px",ht.width=ze+"px",ht.height=Fe+"px",le=!0}}}oe.autoResize&&me(),window.addEventListener("resize",me);function Te(){for(var Ke=ie.length,ze=Z.length,Fe=0;Fe<ze;++Fe)J[Fe]=0;e:for(var Fe=0;Fe<Ke;++Fe){var We=ie[Fe],lt=We.pickSlots;if(!lt){he[Fe]=-1;continue}for(var ht=0;ht<ze;++ht)if(J[ht]+lt<255){he[Fe]=ht,We.setPickBase(J[ht]+1),J[ht]+=lt;continue e}var tt=x(U,ee);he[Fe]=ze,Z.push(tt),J.push(lt),We.setPickBase(1),ze+=1}for(;ze>0&&J[ze-1]===0;)J.pop(),Z.pop().dispose()}oe.update=function(Ke){oe._stopped||(le=!0,re=!0)},oe.add=function(Ke){oe._stopped||(Ke.axes=X,ie.push(Ke),he.push(-1),le=!0,re=!0,Te())},oe.remove=function(Ke){if(!oe._stopped){var ze=ie.indexOf(Ke);ze<0||(ie.splice(ze,1),he.pop(),le=!0,re=!0,Te())}},oe.dispose=function(){if(!oe._stopped&&(oe._stopped=!0,window.removeEventListener("resize",me),D.removeEventListener("webglcontextlost",we),oe.mouseListener.enabled=!1,!oe.contextLost)){X.dispose(),ae.dispose();for(var Ke=0;Ke<ie.length;++Ke)ie[Ke].dispose();z.dispose();for(var Ke=0;Ke<Z.length;++Ke)Z[Ke].dispose();V.dispose(),U=null,X=null,ae=null,ie=[]}},oe._mouseRotating=!1,oe._prevButtons=0,oe.enableMouseListeners=function(){oe.mouseListener=w(D,function(Ke,ze,Fe){if(!oe._stopped){var We=Z.length,lt=ie.length,ht=Y.object;Y.distance=1/0,Y.mouse[0]=ze,Y.mouse[1]=Fe,Y.object=null,Y.screen=null,Y.dataCoordinate=Y.dataPosition=null;var tt=!1;if(Ke&&oe._prevButtons)oe._mouseRotating=!0;else{oe._mouseRotating&&(re=!0),oe._mouseRotating=!1;for(var et=0;et<We;++et){var pt=Z[et].query(ze,fe[1]-Fe-1,oe.pickRadius);if(pt){if(pt.distance>Y.distance)continue;for(var vt=0;vt<lt;++vt){var _t=ie[vt];if(he[vt]===et){var bt=_t.pick(pt);bt&&(Y.buttons=Ke,Y.screen=pt.coord,Y.distance=pt.distance,Y.object=_t,Y.index=bt.distance,Y.dataPosition=bt.position,Y.dataCoordinate=bt.dataCoordinate,Y.data=bt,tt=!0)}}}}}ht&&ht!==Y.object&&(ht.highlight&&ht.highlight(null),le=!0),Y.object&&(Y.object.highlight&&Y.object.highlight(Y.data),le=!0),tt=tt||Y.object!==ht,tt&&oe.onselect&&oe.onselect(Y),Ke&1&&!(oe._prevButtons&1)&&oe.onclick&&oe.onclick(Y),oe._prevButtons=Ke}})};function we(){if(oe.contextLost)return!0;U.isContextLost()&&(oe.contextLost=!0,oe.mouseListener.enabled=!1,oe.selection.object=null,oe.oncontextloss&&oe.oncontextloss())}D.addEventListener("webglcontextlost",we);function Be(){if(!we()){U.colorMask(!0,!0,!0,!0),U.depthMask(!0),U.disable(U.BLEND),U.enable(U.DEPTH_TEST),U.depthFunc(U.LEQUAL);for(var Ke=ie.length,ze=Z.length,Fe=0;Fe<ze;++Fe){var We=Z[Fe];We.shape=fe,We.begin();for(var lt=0;lt<Ke;++lt)if(he[lt]===Fe){var ht=ie[lt];ht.drawPick&&(ht.pixelRatio=1,ht.drawPick(ce))}We.end()}}}var Ae=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],Re=[Ae[0].slice(),Ae[1].slice()];function be(){if(!we()){me();var Ke=oe.camera.tick();ce.view=oe.camera.matrix,le=le||Ke,re=re||Ke,X.pixelRatio=oe.pixelRatio,ae.pixelRatio=oe.pixelRatio;var ze=ie.length,Fe=Ae[0],We=Ae[1];Fe[0]=Fe[1]=Fe[2]=1/0,We[0]=We[1]=We[2]=-1/0;for(var lt=0;lt<ze;++lt){var ht=ie[lt];ht.pixelRatio=oe.pixelRatio,ht.axes=oe.axes,le=le||!!ht.dirty,re=re||!!ht.dirty;var tt=ht.bounds;if(tt)for(var et=tt[0],pt=tt[1],vt=0;vt<3;++vt)Fe[vt]=Math.min(Fe[vt],et[vt]),We[vt]=Math.max(We[vt],pt[vt])}var _t=oe.bounds;if(oe.autoBounds)for(var vt=0;vt<3;++vt){if(We[vt]<Fe[vt])Fe[vt]=-1,We[vt]=1;else{Fe[vt]===We[vt]&&(Fe[vt]-=1,We[vt]+=1);var bt=.05*(We[vt]-Fe[vt]);Fe[vt]=Fe[vt]-bt,We[vt]=We[vt]+bt}_t[0][vt]=Fe[vt],_t[1][vt]=We[vt]}for(var Rt=!1,vt=0;vt<3;++vt)Rt=Rt||Re[0][vt]!==_t[0][vt]||Re[1][vt]!==_t[1][vt],Re[0][vt]=_t[0][vt],Re[1][vt]=_t[1][vt];if(re=re||Rt,le=le||Rt,!!le){if(Rt){for(var ct=[0,0,0],lt=0;lt<3;++lt)ct[lt]=P((_t[1][lt]-_t[0][lt])/10);X.autoTicks?X.update({bounds:_t,tickSpacing:ct}):X.update({bounds:_t})}var Ve=U.drawingBufferWidth,Qe=U.drawingBufferHeight;ee[0]=Ve,ee[1]=Qe,fe[0]=Math.max(Ve/oe.pixelRatio,1)|0,fe[1]=Math.max(Qe/oe.pixelRatio,1)|0,N(oe,j);for(var lt=0;lt<ze;++lt){var ht=ie[lt];ht.axesBounds=_t,oe.clipToBounds&&(ht.clipBounds=_t)}Y.object&&(oe.snapToData?ae.position=Y.dataCoordinate:ae.position=Y.dataPosition,ae.bounds=_t),re&&(re=!1,Be()),oe.axesPixels=f(oe.axes,ce,Ve,Qe),oe.onrender&&oe.onrender(),U.bindFramebuffer(U.FRAMEBUFFER,null),U.viewport(0,0,Ve,Qe),oe.clearRGBA(),U.depthMask(!0),U.colorMask(!0,!0,!0,!0),U.enable(U.DEPTH_TEST),U.depthFunc(U.LEQUAL),U.disable(U.BLEND),U.disable(U.CULL_FACE);var rt=!1;X.enable&&(rt=rt||X.isTransparent(),X.draw(ce)),ae.axes=X,Y.object&&ae.draw(ce),U.disable(U.CULL_FACE);for(var lt=0;lt<ze;++lt){var ht=ie[lt];ht.axes=X,ht.pixelRatio=oe.pixelRatio,ht.isOpaque&&ht.isOpaque()&&ht.draw(ce),ht.isTransparent&&ht.isTransparent()&&(rt=!0)}if(rt){z.shape=ee,z.bind(),U.clear(U.DEPTH_BUFFER_BIT),U.colorMask(!1,!1,!1,!1),U.depthMask(!0),U.depthFunc(U.LESS),X.enable&&X.isTransparent()&&X.drawTransparent(ce);for(var lt=0;lt<ze;++lt){var ht=ie[lt];ht.isOpaque&&ht.isOpaque()&&ht.draw(ce)}U.enable(U.BLEND),U.blendEquation(U.FUNC_ADD),U.blendFunc(U.ONE,U.ONE_MINUS_SRC_ALPHA),U.colorMask(!0,!0,!0,!0),U.depthMask(!1),U.clearColor(0,0,0,0),U.clear(U.COLOR_BUFFER_BIT),X.isTransparent()&&X.drawTransparent(ce);for(var lt=0;lt<ze;++lt){var ht=ie[lt];ht.isTransparent&&ht.isTransparent()&&ht.drawTransparent(ce)}U.bindFramebuffer(U.FRAMEBUFFER,null),U.blendFunc(U.ONE,U.ONE_MINUS_SRC_ALPHA),U.disable(U.DEPTH_TEST),V.bind(),z.color[0].bind(0),V.uniforms.accumBuffer=0,C(U),U.disable(U.BLEND)}le=!1;for(var lt=0;lt<ze;++lt)ie[lt].dirty=!1}}}function Pe(){oe._stopped||oe.contextLost||(be(),requestAnimationFrame(Pe))}return oe.enableMouseListeners(),Pe(),oe.redraw=function(){oe._stopped||(le=!0,be())},oe}function N(T,D){var O=T.bounds,U=T.cameraParams,B=U.projection,Y=U.model,z=T.gl.drawingBufferWidth,V=T.gl.drawingBufferHeight,j=T.zNear,G=T.zFar,W=T.fovy,X=z/V;D?(A(B,-X,X,-1,1,j,G),U._ortho=!0):(R(B,W,X,j,G),U._ortho=!1);for(var Q=0;Q<16;++Q)Y[Q]=0;Y[15]=1;for(var ae=0,Q=0;Q<3;++Q)ae=Math.max(ae,O[1][Q]-O[0][Q]);for(var Q=0;Q<3;++Q)T.autoScale?Y[5*Q]=T.aspect[Q]/(O[1][Q]-O[0][Q]):Y[5*Q]=1/ae,T.autoCenter&&(Y[12+Q]=-Y[5*Q]*.5*(O[0][Q]+O[1][Q]))}},8023:function(p,_,c){var s=c(6832);_.pointVertex=s([`precision mediump float;
#define GLSLIFY 1
attribute vec2 position;
uniform mat3 matrix;
uniform float pointSize;
uniform float pointCloud;
highp float rand(vec2 co) {
highp float a = 12.9898;
highp float b = 78.233;
highp float c = 43758.5453;
highp float d = dot(co.xy, vec2(a, b));
highp float e = mod(d, 3.14);
return fract(sin(e) * c);
}
void main() {
vec3 hgPosition = matrix * vec3(position, 1);
gl_Position = vec4(hgPosition.xy, 0, hgPosition.z);
// if we don't jitter the point size a bit, overall point cloud
// saturation 'jumps' on zooming, which is disturbing and confusing
gl_PointSize = pointSize * ((19.5 + rand(position)) / 20.0);
if(pointCloud != 0.0) { // pointCloud is truthy
// get the same square surface as circle would be
gl_PointSize *= 0.886;
}
}`]),_.pointFragment=s([`precision mediump float;
#define GLSLIFY 1
uniform vec4 color, borderColor;
uniform float centerFraction;
uniform float pointCloud;
void main() {
float radius;
vec4 baseColor;
if(pointCloud != 0.0) { // pointCloud is truthy
if(centerFraction == 1.0) {
gl_FragColor = color;
} else {
gl_FragColor = mix(borderColor, color, centerFraction);
}
} else {
radius = length(2.0 * gl_PointCoord.xy - 1.0);
if(radius > 1.0) {
discard;
}
baseColor = mix(borderColor, color, step(radius, centerFraction));
gl_FragColor = vec4(baseColor.rgb * baseColor.a, baseColor.a);
}
}
`]),_.pickVertex=s([`precision mediump float;
#define GLSLIFY 1
attribute vec2 position;
attribute vec4 pickId;
uniform mat3 matrix;
uniform float pointSize;
uniform vec4 pickOffset;
varying vec4 fragId;
void main() {
vec3 hgPosition = matrix * vec3(position, 1);
gl_Position = vec4(hgPosition.xy, 0, hgPosition.z);
gl_PointSize = pointSize;
vec4 id = pickId + pickOffset;
id.y += floor(id.x / 256.0);
id.x -= floor(id.x / 256.0) * 256.0;
id.z += floor(id.y / 256.0);
id.y -= floor(id.y / 256.0) * 256.0;
id.w += floor(id.z / 256.0);
id.z -= floor(id.z / 256.0) * 256.0;
fragId = id;
}
`]),_.pickFragment=s([`precision mediump float;
#define GLSLIFY 1
varying vec4 fragId;
void main() {
float radius = length(2.0 * gl_PointCoord.xy - 1.0);
if(radius > 1.0) {
discard;
}
gl_FragColor = fragId / 255.0;
}
`])},8271:function(p,_,c){var s=c(5158),d=c(5827),f=c(5306),b=c(8023);p.exports=w;function x(R,A,E,k,L){this.plot=R,this.offsetBuffer=A,this.pickBuffer=E,this.shader=k,this.pickShader=L,this.sizeMin=.5,this.sizeMinCap=2,this.sizeMax=20,this.areaRatio=1,this.pointCount=0,this.color=[1,0,0,1],this.borderColor=[0,0,0,1],this.blend=!1,this.pickOffset=0,this.points=null}var y=x.prototype;y.dispose=function(){this.shader.dispose(),this.pickShader.dispose(),this.offsetBuffer.dispose(),this.pickBuffer.dispose(),this.plot.removeObject(this)},y.update=function(R){var A;R=R||{};function E(N,T){return N in R?R[N]:T}this.sizeMin=E("sizeMin",.5),this.sizeMax=E("sizeMax",20),this.color=E("color",[1,0,0,1]).slice(),this.areaRatio=E("areaRatio",1),this.borderColor=E("borderColor",[0,0,0,1]).slice(),this.blend=E("blend",!1);var k=R.positions.length>>>1,L=R.positions instanceof Float32Array,I=R.idToIndex instanceof Int32Array&&R.idToIndex.length>=k,P=R.positions,M=L?P:f.mallocFloat32(P.length),F=I?R.idToIndex:f.mallocInt32(k);if(L||M.set(P),!I)for(M.set(P),A=0;A<k;A++)F[A]=A;this.points=P,this.offsetBuffer.update(M),this.pickBuffer.update(F),L||f.free(M),I||f.free(F),this.pointCount=k,this.pickOffset=0};function C(R,A){var E=0,k=R.length>>>1,L;for(L=0;L<k;L++){var I=R[L*2],P=R[L*2+1];I>=A[0]&&I<=A[2]&&P>=A[1]&&P<=A[3]&&E++}return E}y.unifiedDraw=function(){var R=[1,0,0,0,1,0,0,0,1],A=[0,0,0,0];return function(E){var k=E!==void 0,L=k?this.pickShader:this.shader,I=this.plot.gl,P=this.plot.dataBox;if(this.pointCount===0)return E;var M=P[2]-P[0],F=P[3]-P[1],N=C(this.points,P),T=this.plot.pickPixelRatio*Math.max(Math.min(this.sizeMinCap,this.sizeMin),Math.min(this.sizeMax,this.sizeMax/Math.pow(N,.33333)));R[0]=2/M,R[4]=2/F,R[6]=-2*P[0]/M-1,R[7]=-2*P[1]/F-1,this.offsetBuffer.bind(),L.bind(),L.attributes.position.pointer(),L.uniforms.matrix=R,L.uniforms.color=this.color,L.uniforms.borderColor=this.borderColor,L.uniforms.pointCloud=T<5,L.uniforms.pointSize=T,L.uniforms.centerFraction=Math.min(1,Math.max(0,Math.sqrt(1-this.areaRatio))),k&&(A[0]=E&255,A[1]=E>>8&255,A[2]=E>>16&255,A[3]=E>>24&255,this.pickBuffer.bind(),L.attributes.pickId.pointer(I.UNSIGNED_BYTE),L.uniforms.pickOffset=A,this.pickOffset=E);var D=I.getParameter(I.BLEND),O=I.getParameter(I.DITHER);return D&&!this.blend&&I.disable(I.BLEND),O&&I.disable(I.DITHER),I.drawArrays(I.POINTS,0,this.pointCount),D&&!this.blend&&I.enable(I.BLEND),O&&I.enable(I.DITHER),E+this.pointCount}}(),y.draw=y.unifiedDraw,y.drawPick=y.unifiedDraw,y.pick=function(R,A,E){var k=this.pickOffset,L=this.pointCount;if(E<k||E>=k+L)return null;var I=E-k,P=this.points;return{object:this,pointId:I,dataCoord:[P[2*I],P[2*I+1]]}};function w(R,A){var E=R.gl,k=d(E),L=d(E),I=s(E,b.pointVertex,b.pointFragment),P=s(E,b.pickVertex,b.pickFragment),M=new x(R,k,L,I,P);return M.update(A),R.addObject(M),M}},6093:function(p){p.exports=_;function _(c,s,d,f){var b=s[0],x=s[1],y=s[2],C=s[3],w=d[0],R=d[1],A=d[2],E=d[3],k,L,I,P,M;return L=b*w+x*R+y*A+C*E,L<0&&(L=-L,w=-w,R=-R,A=-A,E=-E),1-L>1e-6?(k=Math.acos(L),I=Math.sin(k),P=Math.sin((1-f)*k)/I,M=Math.sin(f*k)/I):(P=1-f,M=f),c[0]=P*b+M*w,c[1]=P*x+M*R,c[2]=P*y+M*A,c[3]=P*C+M*E,c}},8240:function(p){p.exports=function(_){return!_&&_!==0?"":_.toString()}},4123:function(p,_,c){var s=c(875);p.exports=f;var d={};function f(b,x,y){var C=d[x];if(C||(C=d[x]={}),b in C)return C[b];var w={textAlign:"center",textBaseline:"middle",lineHeight:1,font:x,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0}};w.triangles=!0;var R=s(b,w);w.triangles=!1;var A=s(b,w),E,k;if(y&&y!==1){for(E=0;E<R.positions.length;++E)for(k=0;k<R.positions[E].length;++k)R.positions[E][k]/=y;for(E=0;E<A.positions.length;++E)for(k=0;k<A.positions[E].length;++k)A.positions[E][k]/=y}var L=[[1/0,1/0],[-1/0,-1/0]],I=A.positions.length;for(E=0;E<I;++E){var P=A.positions[E];for(k=0;k<2;++k)L[0][k]=Math.min(L[0][k],P[k]),L[1][k]=Math.max(L[1][k],P[k])}return C[b]=[R,A,L]}},9282:function(p,_,c){var s=c(5158),d=c(6832),f=d([`precision highp float;
#define GLSLIFY 1
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
attribute vec3 position;
attribute vec4 color;
attribute vec2 glyph;
attribute vec4 id;
uniform vec4 highlightId;
uniform float highlightScale;
uniform mat4 model, view, projection;
uniform vec3 clipBounds[2];
varying vec4 interpColor;
varying vec4 pickId;
varying vec3 dataCoordinate;
void main() {
if (outOfRange(clipBounds[0], clipBounds[1], position)) {
gl_Position = vec4(0,0,0,0);
} else {
float scale = 1.0;
if(distance(highlightId, id) < 0.0001) {
scale = highlightScale;
}
vec4 worldPosition = model * vec4(position, 1);
vec4 viewPosition = view * worldPosition;
viewPosition = viewPosition / viewPosition.w;
vec4 clipPosition = projection * (viewPosition + scale * vec4(glyph.x, -glyph.y, 0, 0));
gl_Position = clipPosition;
interpColor = color;
pickId = id;
dataCoordinate = position;
}
}`]),b=d([`precision highp float;
#define GLSLIFY 1
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
attribute vec3 position;
attribute vec4 color;
attribute vec2 glyph;
attribute vec4 id;
uniform mat4 model, view, projection;
uniform vec2 screenSize;
uniform vec3 clipBounds[2];
uniform float highlightScale, pixelRatio;
uniform vec4 highlightId;
varying vec4 interpColor;
varying vec4 pickId;
varying vec3 dataCoordinate;
void main() {
if (outOfRange(clipBounds[0], clipBounds[1], position)) {
gl_Position = vec4(0,0,0,0);
} else {
float scale = pixelRatio;
if(distance(highlightId.bgr, id.bgr) < 0.001) {
scale *= highlightScale;
}
vec4 worldPosition = model * vec4(position, 1.0);
vec4 viewPosition = view * worldPosition;
vec4 clipPosition = projection * viewPosition;
clipPosition /= clipPosition.w;
gl_Position = clipPosition + vec4(screenSize * scale * vec2(glyph.x, -glyph.y), 0.0, 0.0);
interpColor = color;
pickId = id;
dataCoordinate = position;
}
}`]),x=d([`precision highp float;
#define GLSLIFY 1
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
attribute vec3 position;
attribute vec4 color;
attribute vec2 glyph;
attribute vec4 id;
uniform float highlightScale;
uniform vec4 highlightId;
uniform vec3 axes[2];
uniform mat4 model, view, projection;
uniform vec2 screenSize;
uniform vec3 clipBounds[2];
uniform float scale, pixelRatio;
varying vec4 interpColor;
varying vec4 pickId;
varying vec3 dataCoordinate;
void main() {
if (outOfRange(clipBounds[0], clipBounds[1], position)) {
gl_Position = vec4(0,0,0,0);
} else {
float lscale = pixelRatio * scale;
if(distance(highlightId, id) < 0.0001) {
lscale *= highlightScale;
}
vec4 clipCenter = projection * view * model * vec4(position, 1);
vec3 dataPosition = position + 0.5*lscale*(axes[0] * glyph.x + axes[1] * glyph.y) * clipCenter.w * screenSize.y;
vec4 clipPosition = projection * view * model * vec4(dataPosition, 1);
gl_Position = clipPosition;
interpColor = color;
pickId = id;
dataCoordinate = dataPosition;
}
}
`]),y=d([`precision highp float;
#define GLSLIFY 1
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
uniform vec3 fragClipBounds[2];
uniform float opacity;
varying vec4 interpColor;
varying vec3 dataCoordinate;
void main() {
if (
outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate) ||
interpColor.a * opacity == 0.
) discard;
gl_FragColor = interpColor * opacity;
}
`]),C=d([`precision highp float;
#define GLSLIFY 1
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
uniform vec3 fragClipBounds[2];
uniform float pickGroup;
varying vec4 pickId;
varying vec3 dataCoordinate;
void main() {
if (outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate)) discard;
gl_FragColor = vec4(pickGroup, pickId.bgr);
}`]),w=[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"glyph",type:"vec2"},{name:"id",type:"vec4"}],R={vertex:f,fragment:y,attributes:w},A={vertex:b,fragment:y,attributes:w},E={vertex:x,fragment:y,attributes:w},k={vertex:f,fragment:C,attributes:w},L={vertex:b,fragment:C,attributes:w},I={vertex:x,fragment:C,attributes:w};function P(M,F){var N=s(M,F),T=N.attributes;return T.position.location=0,T.color.location=1,T.glyph.location=2,T.id.location=3,N}_.createPerspective=function(M){return P(M,R)},_.createOrtho=function(M){return P(M,A)},_.createProject=function(M){return P(M,E)},_.createPickPerspective=function(M){return P(M,k)},_.createPickOrtho=function(M){return P(M,L)},_.createPickProject=function(M){return P(M,I)}},2182:function(p,_,c){var s=c(3596),d=c(5827),f=c(2944),b=c(5306),x=c(104),y=c(9282),C=c(4123),w=c(8240),R=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];p.exports=he;function A(J,Z){var le=J[0],K=J[1],te=J[2],ce=J[3];return J[0]=Z[0]*le+Z[4]*K+Z[8]*te+Z[12]*ce,J[1]=Z[1]*le+Z[5]*K+Z[9]*te+Z[13]*ce,J[2]=Z[2]*le+Z[6]*K+Z[10]*te+Z[14]*ce,J[3]=Z[3]*le+Z[7]*K+Z[11]*te+Z[15]*ce,J}function E(J,Z,le,K){return A(K,K),A(K,K),A(K,K)}function k(J,Z){this.index=J,this.dataCoordinate=this.position=Z}function L(J){return J===!0||J>1?1:J}function I(J,Z,le,K,te,ce,re,ee,de,oe,fe,me){this.gl=J,this.pixelRatio=1,this.shader=Z,this.orthoShader=le,this.projectShader=K,this.pointBuffer=te,this.colorBuffer=ce,this.glyphBuffer=re,this.idBuffer=ee,this.vao=de,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[.6666666666666666,.6666666666666666,.6666666666666666],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=oe,this.pickOrthoShader=fe,this.pickProjectShader=me,this.points=[],this._selectResult=new k(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}var P=I.prototype;P.pickSlots=1,P.setPickBase=function(J){this.pickId=J},P.isTransparent=function(){if(this.hasAlpha)return!0;for(var J=0;J<3;++J)if(this.axesProject[J]&&this.projectHasAlpha)return!0;return!1},P.isOpaque=function(){if(!this.hasAlpha)return!0;for(var J=0;J<3;++J)if(this.axesProject[J]&&!this.projectHasAlpha)return!0;return!1};var M=[0,0],F=[0,0,0],N=[0,0,0],T=[0,0,0,1],D=[0,0,0,1],O=R.slice(),U=[0,0,0],B=[[0,0,0],[0,0,0]];function Y(J){return J[0]=J[1]=J[2]=0,J}function z(J,Z){return J[0]=Z[0],J[1]=Z[1],J[2]=Z[2],J[3]=1,J}function V(J,Z,le,K){return J[0]=Z[0],J[1]=Z[1],J[2]=Z[2],J[le]=K,J}function j(J){for(var Z=B,le=0;le<2;++le)for(var K=0;K<3;++K)Z[le][K]=Math.max(Math.min(J[le][K],1e8),-1e8);return Z}function G(J,Z,le,K){var te=Z.axesProject,ce=Z.gl,re=J.uniforms,ee=le.model||R,de=le.view||R,oe=le.projection||R,fe=Z.axesBounds,me=j(Z.clipBounds),Te;Z.axes&&Z.axes.lastCubeProps?Te=Z.axes.lastCubeProps.axis:Te=[1,1,1],M[0]=2/ce.drawingBufferWidth,M[1]=2/ce.drawingBufferHeight,J.bind(),re.view=de,re.projection=oe,re.screenSize=M,re.highlightId=Z.highlightId,re.highlightScale=Z.highlightScale,re.clipBounds=me,re.pickGroup=Z.pickId/255,re.pixelRatio=K;for(var we=0;we<3;++we)if(te[we]){re.scale=Z.projectScale[we],re.opacity=Z.projectOpacity[we];for(var Be=O,Ae=0;Ae<16;++Ae)Be[Ae]=0;for(var Ae=0;Ae<4;++Ae)Be[5*Ae]=1;Be[5*we]=0,Te[we]<0?Be[12+we]=fe[0][we]:Be[12+we]=fe[1][we],x(Be,ee,Be),re.model=Be;var Re=(we+1)%3,be=(we+2)%3,Pe=Y(F),Ke=Y(N);Pe[Re]=1,Ke[be]=1;var ze=E(oe,de,ee,z(T,Pe)),Fe=E(oe,de,ee,z(D,Ke));if(Math.abs(ze[1])>Math.abs(Fe[1])){var We=ze;ze=Fe,Fe=We,We=Pe,Pe=Ke,Ke=We;var lt=Re;Re=be,be=lt}ze[0]<0&&(Pe[Re]=-1),Fe[1]>0&&(Ke[be]=-1);for(var ht=0,tt=0,Ae=0;Ae<4;++Ae)ht+=Math.pow(ee[4*Re+Ae],2),tt+=Math.pow(ee[4*be+Ae],2);Pe[Re]/=Math.sqrt(ht),Ke[be]/=Math.sqrt(tt),re.axes[0]=Pe,re.axes[1]=Ke,re.fragClipBounds[0]=V(U,me[0],we,-1e8),re.fragClipBounds[1]=V(U,me[1],we,1e8),Z.vao.bind(),Z.vao.draw(ce.TRIANGLES,Z.vertexCount),Z.lineWidth>0&&(ce.lineWidth(Z.lineWidth*K),Z.vao.draw(ce.LINES,Z.lineVertexCount,Z.vertexCount)),Z.vao.unbind()}}var W=[-1e8,-1e8,-1e8],X=[1e8,1e8,1e8],Q=[W,X];function ae(J,Z,le,K,te,ce,re){var ee=le.gl;if((ce===le.projectHasAlpha||re)&&G(Z,le,K,te),ce===le.hasAlpha||re){J.bind();var de=J.uniforms;de.model=K.model||R,de.view=K.view||R,de.projection=K.projection||R,M[0]=2/ee.drawingBufferWidth,M[1]=2/ee.drawingBufferHeight,de.screenSize=M,de.highlightId=le.highlightId,de.highlightScale=le.highlightScale,de.fragClipBounds=Q,de.clipBounds=le.axes.bounds,de.opacity=le.opacity,de.pickGroup=le.pickId/255,de.pixelRatio=te,le.vao.bind(),le.vao.draw(ee.TRIANGLES,le.vertexCount),le.lineWidth>0&&(ee.lineWidth(le.lineWidth*te),le.vao.draw(ee.LINES,le.lineVertexCount,le.vertexCount)),le.vao.unbind()}}P.draw=function(J){var Z=this.useOrtho?this.orthoShader:this.shader;ae(Z,this.projectShader,this,J,this.pixelRatio,!1,!1)},P.drawTransparent=function(J){var Z=this.useOrtho?this.orthoShader:this.shader;ae(Z,this.projectShader,this,J,this.pixelRatio,!0,!1)},P.drawPick=function(J){var Z=this.useOrtho?this.pickOrthoShader:this.pickPerspectiveShader;ae(Z,this.pickProjectShader,this,J,1,!0,!0)},P.pick=function(J){if(!J||J.id!==this.pickId)return null;var Z=J.value[2]+(J.value[1]<<8)+(J.value[0]<<16);if(Z>=this.pointCount||Z<0)return null;var le=this.points[Z],K=this._selectResult;K.index=Z;for(var te=0;te<3;++te)K.position[te]=K.dataCoordinate[te]=le[te];return K},P.highlight=function(J){if(!J)this.highlightId=[1,1,1,1];else{var Z=J.index,le=Z&255,K=Z>>8&255,te=Z>>16&255;this.highlightId=[le/255,K/255,te/255,0]}};function ie(J,Z,le,K){var te;Array.isArray(J)?Z<J.length?te=J[Z]:te=void 0:te=J,te=w(te);var ce=!0;s(te)&&(te="▼",ce=!1);var re=C(te,le,K);return{mesh:re[0],lines:re[1],bounds:re[2],visible:ce}}P.update=function(J){if(J=J||{},"perspective"in J&&(this.useOrtho=!J.perspective),"orthographic"in J&&(this.useOrtho=!!J.orthographic),"lineWidth"in J&&(this.lineWidth=J.lineWidth),"project"in J)if(Array.isArray(J.project))this.axesProject=J.project;else{var Z=!!J.project;this.axesProject=[Z,Z,Z]}if("projectScale"in J)if(Array.isArray(J.projectScale))this.projectScale=J.projectScale.slice();else{var le=+J.projectScale;this.projectScale=[le,le,le]}if(this.projectHasAlpha=!1,"projectOpacity"in J){if(Array.isArray(J.projectOpacity))this.projectOpacity=J.projectOpacity.slice();else{var le=+J.projectOpacity;this.projectOpacity=[le,le,le]}for(var K=0;K<3;++K)this.projectOpacity[K]=L(this.projectOpacity[K]),this.projectOpacity[K]<1&&(this.projectHasAlpha=!0)}this.hasAlpha=!1,"opacity"in J&&(this.opacity=L(J.opacity),this.opacity<1&&(this.hasAlpha=!0)),this.dirty=!0;var te=J.position,ce=J.font||"normal",re=J.alignment||[0,0],ee,de;if(re.length===2)ee=re[0],de=re[1];else{ee=[],de=[];for(var K=0;K<re.length;++K)ee[K]=re[K][0],de[K]=re[K][1]}var oe=[1/0,1/0,1/0],fe=[-1/0,-1/0,-1/0],me=J.glyph,Te=J.color,we=J.size,Be=J.angle,Ae=J.lineColor,Re=-1,be=0,Pe=0,Ke=0;if(te.length){Ke=te.length;e:for(var K=0;K<Ke;++K){for(var ze=te[K],Fe=0;Fe<3;++Fe)if(isNaN(ze[Fe])||!isFinite(ze[Fe]))continue e;var We=ie(me,K,ce,this.pixelRatio),lt=We.mesh,ht=We.lines,tt=We.bounds;be+=lt.cells.length*3,Pe+=ht.edges.length*2}}var et=be+Pe,pt=b.mallocFloat(3*et),vt=b.mallocFloat(4*et),_t=b.mallocFloat(2*et),bt=b.mallocUint32(et);if(et>0){var Rt=0,ct=be,Ve=[0,0,0,1],Qe=[0,0,0,1],rt=Array.isArray(Te)&&Array.isArray(Te[0]),qe=Array.isArray(Ae)&&Array.isArray(Ae[0]);e:for(var K=0;K<Ke;++K){Re+=1;for(var ze=te[K],Fe=0;Fe<3;++Fe){if(isNaN(ze[Fe])||!isFinite(ze[Fe]))continue e;fe[Fe]=Math.max(fe[Fe],ze[Fe]),oe[Fe]=Math.min(oe[Fe],ze[Fe])}var We=ie(me,K,ce,this.pixelRatio),lt=We.mesh,ht=We.lines,tt=We.bounds,He=We.visible;if(!He)Ve=[1,1,1,0];else if(Array.isArray(Te)){var Ce;if(rt?K<Te.length?Ce=Te[K]:Ce=[0,0,0,0]:Ce=Te,Ce.length===3){for(var Fe=0;Fe<3;++Fe)Ve[Fe]=Ce[Fe];Ve[3]=1}else if(Ce.length===4){for(var Fe=0;Fe<4;++Fe)Ve[Fe]=Ce[Fe];!this.hasAlpha&&Ce[3]<1&&(this.hasAlpha=!0)}}else Ve[0]=Ve[1]=Ve[2]=0,Ve[3]=1;if(!He)Qe=[1,1,1,0];else if(Array.isArray(Ae)){var Ce;if(qe?K<Ae.length?Ce=Ae[K]:Ce=[0,0,0,0]:Ce=Ae,Ce.length===3){for(var Fe=0;Fe<3;++Fe)Qe[Fe]=Ce[Fe];Qe[Fe]=1}else if(Ce.length===4){for(var Fe=0;Fe<4;++Fe)Qe[Fe]=Ce[Fe];!this.hasAlpha&&Ce[3]<1&&(this.hasAlpha=!0)}}else Qe[0]=Qe[1]=Qe[2]=0,Qe[3]=1;var Se=.5;He?Array.isArray(we)?K<we.length?Se=+we[K]:Se=12:we?Se=+we:this.useOrtho&&(Se=12):Se=0;var Le=0;Array.isArray(Be)?K<Be.length?Le=+Be[K]:Le=0:Be&&(Le=+Be);for(var Ne=Math.cos(Le),je=Math.sin(Le),ze=te[K],Fe=0;Fe<3;++Fe)fe[Fe]=Math.max(fe[Fe],ze[Fe]),oe[Fe]=Math.min(oe[Fe],ze[Fe]);var Je=ee,ut=de,Je=0;Array.isArray(ee)?K<ee.length?Je=ee[K]:Je=0:ee&&(Je=ee);var ut=0;Array.isArray(de)?K<de.length?ut=de[K]:ut=0:de&&(ut=de),Je*=Je>0?1-tt[0][0]:Je<0?1+tt[1][0]:1,ut*=ut>0?1-tt[0][1]:ut<0?1+tt[1][1]:1;for(var Et=[Je,ut],Gt=lt.cells||[],cr=lt.positions||[],Fe=0;Fe<Gt.length;++Fe)for(var wt=Gt[Fe],nr=0;nr<3;++nr){for(var ir=0;ir<3;++ir)pt[3*Rt+ir]=ze[ir];for(var ir=0;ir<4;++ir)vt[4*Rt+ir]=Ve[ir];bt[Rt]=Re;var It=cr[wt[nr]];_t[2*Rt]=Se*(Ne*It[0]-je*It[1]+Et[0]),_t[2*Rt+1]=Se*(je*It[0]+Ne*It[1]+Et[1]),Rt+=1}for(var Gt=ht.edges,cr=ht.positions,Fe=0;Fe<Gt.length;++Fe)for(var wt=Gt[Fe],nr=0;nr<2;++nr){for(var ir=0;ir<3;++ir)pt[3*ct+ir]=ze[ir];for(var ir=0;ir<4;++ir)vt[4*ct+ir]=Qe[ir];bt[ct]=Re;var It=cr[wt[nr]];_t[2*ct]=Se*(Ne*It[0]-je*It[1]+Et[0]),_t[2*ct+1]=Se*(je*It[0]+Ne*It[1]+Et[1]),ct+=1}}}this.bounds=[oe,fe],this.points=te,this.pointCount=te.length,this.vertexCount=be,this.lineVertexCount=Pe,this.pointBuffer.update(pt),this.colorBuffer.update(vt),this.glyphBuffer.update(_t),this.idBuffer.update(bt),b.free(pt),b.free(vt),b.free(_t),b.free(bt)},P.dispose=function(){this.shader.dispose(),this.orthoShader.dispose(),this.pickPerspectiveShader.dispose(),this.pickOrthoShader.dispose(),this.vao.dispose(),this.pointBuffer.dispose(),this.colorBuffer.dispose(),this.glyphBuffer.dispose(),this.idBuffer.dispose()};function he(J){var Z=J.gl,le=y.createPerspective(Z),K=y.createOrtho(Z),te=y.createProject(Z),ce=y.createPickPerspective(Z),re=y.createPickOrtho(Z),ee=y.createPickProject(Z),de=d(Z),oe=d(Z),fe=d(Z),me=d(Z),Te=f(Z,[{buffer:de,size:3,type:Z.FLOAT},{buffer:oe,size:4,type:Z.FLOAT},{buffer:fe,size:2,type:Z.FLOAT},{buffer:me,size:4,type:Z.UNSIGNED_BYTE,normalized:!0}]),we=new I(Z,le,K,te,de,oe,fe,me,Te,ce,re,ee);return we.update(J),we}},1884:function(p,_,c){var s=c(6832);_.boxVertex=s([`precision mediump float;
#define GLSLIFY 1
attribute vec2 vertex;
uniform vec2 cornerA, cornerB;
void main() {
gl_Position = vec4(mix(cornerA, cornerB, vertex), 0, 1);
}
`]),_.boxFragment=s([`precision mediump float;
#define GLSLIFY 1
uniform vec4 color;
void main() {
gl_FragColor = color;
}
`])},6623:function(p,_,c){var s=c(5158),d=c(5827),f=c(1884);p.exports=y;function b(C,w,R){this.plot=C,this.boxBuffer=w,this.boxShader=R,this.enabled=!0,this.selectBox=[1/0,1/0,-1/0,-1/0],this.borderColor=[0,0,0,1],this.innerFill=!1,this.innerColor=[0,0,0,.25],this.outerFill=!0,this.outerColor=[0,0,0,.5],this.borderWidth=10}var x=b.prototype;x.draw=function(){if(this.enabled){var C=this.plot,w=this.selectBox,R=this.borderWidth;this.innerFill;var A=this.innerColor;this.outerFill;var E=this.outerColor,k=this.borderColor,L=C.box,I=C.screenBox,P=C.dataBox,M=C.viewBox,F=C.pixelRatio,N=(w[0]-P[0])*(M[2]-M[0])/(P[2]-P[0])+M[0],T=(w[1]-P[1])*(M[3]-M[1])/(P[3]-P[1])+M[1],D=(w[2]-P[0])*(M[2]-M[0])/(P[2]-P[0])+M[0],O=(w[3]-P[1])*(M[3]-M[1])/(P[3]-P[1])+M[1];if(N=Math.max(N,M[0]),T=Math.max(T,M[1]),D=Math.min(D,M[2]),O=Math.min(O,M[3]),!(D<N||O<T)){L.bind();var U=I[2]-I[0],B=I[3]-I[1];if(this.outerFill&&(L.drawBox(0,0,U,T,E),L.drawBox(0,T,N,O,E),L.drawBox(0,O,U,B,E),L.drawBox(D,T,U,O,E)),this.innerFill&&L.drawBox(N,T,D,O,A),R>0){var Y=R*F;L.drawBox(N-Y,T-Y,D+Y,T+Y,k),L.drawBox(N-Y,O-Y,D+Y,O+Y,k),L.drawBox(N-Y,T-Y,N+Y,O+Y,k),L.drawBox(D-Y,T-Y,D+Y,O+Y,k)}}}},x.update=function(C){C=C||{},this.innerFill=!!C.innerFill,this.outerFill=!!C.outerFill,this.innerColor=(C.innerColor||[0,0,0,.5]).slice(),this.outerColor=(C.outerColor||[0,0,0,.5]).slice(),this.borderColor=(C.borderColor||[0,0,0,1]).slice(),this.borderWidth=C.borderWidth||0,this.selectBox=(C.selectBox||this.selectBox).slice()},x.dispose=function(){this.boxBuffer.dispose(),this.boxShader.dispose(),this.plot.removeOverlay(this)};function y(C,w){var R=C.gl,A=d(R,[0,0,0,1,1,0,1,1]),E=s(R,f.boxVertex,f.boxFragment),k=new b(C,A,E);return k.update(w),C.addOverlay(k),k}},2611:function(p,_,c){p.exports=R;var s=c(4234),d=c(5306),f=c(5050),b=c(2288).nextPow2,x=function(A,E,k){for(var L=1e8,I=-1,P=-1,M=A.shape[0],F=A.shape[1],N=0;N<M;N++)for(var T=0;T<F;T++){var D=A.get(N,T,0),O=A.get(N,T,1),U=A.get(N,T,2),B=A.get(N,T,3);if(D<255||O<255||U<255||B<255){var Y=E-N,z=k-T,V=Y*Y+z*z;V<L&&(L=V,I=N,P=T)}}return[I,P,L]};function y(A,E,k,L,I){this.coord=[A,E],this.id=k,this.value=L,this.distance=I}function C(A,E,k){this.gl=A,this.fbo=E,this.buffer=k,this._readTimeout=null;var L=this;this._readCallback=function(){L.gl&&(E.bind(),A.readPixels(0,0,E.shape[0],E.shape[1],A.RGBA,A.UNSIGNED_BYTE,L.buffer),L._readTimeout=null)}}var w=C.prototype;Object.defineProperty(w,"shape",{get:function(){return this.gl?this.fbo.shape.slice():[0,0]},set:function(A){if(this.gl){this.fbo.shape=A;var E=this.fbo.shape[0],k=this.fbo.shape[1];if(k*E*4>this.buffer.length){d.free(this.buffer);for(var L=this.buffer=d.mallocUint8(b(k*E*4)),I=0;I<k*E*4;++I)L[I]=255}return A}}}),w.begin=function(){var A=this.gl;this.shape,A&&(this.fbo.bind(),A.clearColor(1,1,1,1),A.clear(A.COLOR_BUFFER_BIT|A.DEPTH_BUFFER_BIT))},w.end=function(){var A=this.gl;A&&(A.bindFramebuffer(A.FRAMEBUFFER,null),this._readTimeout||clearTimeout(this._readTimeout),this._readTimeout=setTimeout(this._readCallback,1))},w.query=function(A,E,k){if(!this.gl)return null;var L=this.fbo.shape.slice();A=A|0,E=E|0,typeof k!="number"&&(k=1);var I=Math.min(Math.max(A-k,0),L[0])|0,P=Math.min(Math.max(A+k,0),L[0])|0,M=Math.min(Math.max(E-k,0),L[1])|0,F=Math.min(Math.max(E+k,0),L[1])|0;if(P<=I||F<=M)return null;var N=[P-I,F-M],T=f(this.buffer,[N[0],N[1],4],[4,L[0]*4,1],4*(I+L[0]*M)),D=x(T.hi(N[0],N[1],1),k,k),O=D[0],U=D[1];if(O<0||Math.pow(this.radius,2)<D[2])return null;var B=T.get(O,U,0),Y=T.get(O,U,1),z=T.get(O,U,2),V=T.get(O,U,3);return new y(O+I|0,U+M|0,B,[Y,z,V],Math.sqrt(D[2]))},w.dispose=function(){this.gl&&(this.fbo.dispose(),d.free(this.buffer),this.gl=null,this._readTimeout&&clearTimeout(this._readTimeout))};function R(A,E){var k=E[0],L=E[1],I={},P=s(A,k,L,I),M=d.mallocUint8(k*L*4);return new C(A,P,M)}},5158:function(p,_,c){var s=c(9016),d=c(4280),f=c(3984),b=c(1628),x=c(2631),y=c(9068);function C(E){this.gl=E,this.gl.lastAttribCount=0,this._vref=this._fref=this._relink=this.vertShader=this.fragShader=this.program=this.attributes=this.uniforms=this.types=null}var w=C.prototype;w.bind=function(){this.program||this._relink();var E,k=this.gl.getProgramParameter(this.program,this.gl.ACTIVE_ATTRIBUTES),L=this.gl.lastAttribCount;if(k>L)for(E=L;E<k;E++)this.gl.enableVertexAttribArray(E);else if(L>k)for(E=k;E<L;E++)this.gl.disableVertexAttribArray(E);this.gl.lastAttribCount=k,this.gl.useProgram(this.program)},w.dispose=function(){for(var E=this.gl.lastAttribCount,k=0;k<E;k++)this.gl.disableVertexAttribArray(k);this.gl.lastAttribCount=0,this._fref&&this._fref.dispose(),this._vref&&this._vref.dispose(),this.attributes=this.types=this.vertShader=this.fragShader=this.program=this._relink=this._fref=this._vref=null};function R(E,k){return E.name<k.name?-1:1}w.update=function(E,k,L,I){if(!k||arguments.length===1){var P=E;E=P.vertex,k=P.fragment,L=P.uniforms,I=P.attributes}var M=this,F=M.gl,N=M._vref;M._vref=b.shader(F,F.VERTEX_SHADER,E),N&&N.dispose(),M.vertShader=M._vref.shader;var T=this._fref;if(M._fref=b.shader(F,F.FRAGMENT_SHADER,k),T&&T.dispose(),M.fragShader=M._fref.shader,!L||!I){var D=F.createProgram();if(F.attachShader(D,M.fragShader),F.attachShader(D,M.vertShader),F.linkProgram(D),!F.getProgramParameter(D,F.LINK_STATUS)){var O=F.getProgramInfoLog(D);throw new y(O,"Error linking program:"+O)}L=L||x.uniforms(F,D),I=I||x.attributes(F,D),F.deleteProgram(D)}I=I.slice(),I.sort(R);var U=[],B=[],Y=[],z;for(z=0;z<I.length;++z){var V=I[z];if(V.type.indexOf("mat")>=0){for(var j=V.type.charAt(V.type.length-1)|0,G=new Array(j),W=0;W<j;++W)G[W]=Y.length,B.push(V.name+"["+W+"]"),typeof V.location=="number"?Y.push(V.location+W):Array.isArray(V.location)&&V.location.length===j&&typeof V.location[W]=="number"?Y.push(V.location[W]|0):Y.push(-1);U.push({name:V.name,type:V.type,locations:G})}else U.push({name:V.name,type:V.type,locations:[Y.length]}),B.push(V.name),typeof V.location=="number"?Y.push(V.location|0):Y.push(-1)}var X=0;for(z=0;z<Y.length;++z)if(Y[z]<0){for(;Y.indexOf(X)>=0;)X+=1;Y[z]=X}var Q=new Array(L.length);function ae(){M.program=b.program(F,M._vref,M._fref,B,Y);for(var ie=0;ie<L.length;++ie)Q[ie]=F.getUniformLocation(M.program,L[ie].name)}ae(),M._relink=ae,M.types={uniforms:f(L),attributes:f(I)},M.attributes=d(F,M,U,Y),Object.defineProperty(M,"uniforms",s(F,M,L,Q))};function A(E,k,L,I,P){var M=new C(E);return M.update(k,L,I,P),M}p.exports=A},9068:function(p){function _(c,s,d){this.shortMessage=s||"",this.longMessage=d||"",this.rawError=c||"",this.message="gl-shader: "+(s||c||"")+(d?`
`+d:""),this.stack=new Error().stack}_.prototype=new Error,_.prototype.name="GLError",_.prototype.constructor=_,p.exports=_},4280:function(p,_,c){p.exports=C;var s=c(9068);function d(w,R,A,E,k,L){this._gl=w,this._wrapper=R,this._index=A,this._locations=E,this._dimension=k,this._constFunc=L}var f=d.prototype;f.pointer=function(R,A,E,k){var L=this,I=L._gl,P=L._locations[L._index];I.vertexAttribPointer(P,L._dimension,R||I.FLOAT,!!A,E||0,k||0),I.enableVertexAttribArray(P)},f.set=function(w,R,A,E){return this._constFunc(this._locations[this._index],w,R,A,E)},Object.defineProperty(f,"location",{get:function(){return this._locations[this._index]},set:function(w){return w!==this._locations[this._index]&&(this._locations[this._index]=w|0,this._wrapper.program=null),w|0}});var b=[function(w,R,A){return A.length===void 0?w.vertexAttrib1f(R,A):w.vertexAttrib1fv(R,A)},function(w,R,A,E){return A.length===void 0?w.vertexAttrib2f(R,A,E):w.vertexAttrib2fv(R,A)},function(w,R,A,E,k){return A.length===void 0?w.vertexAttrib3f(R,A,E,k):w.vertexAttrib3fv(R,A)},function(w,R,A,E,k,L){return A.length===void 0?w.vertexAttrib4f(R,A,E,k,L):w.vertexAttrib4fv(R,A)}];function x(w,R,A,E,k,L,I){var P=b[k],M=new d(w,R,A,E,k,P);Object.defineProperty(L,I,{set:function(F){return w.disableVertexAttribArray(E[A]),P(w,E[A],F),F},get:function(){return M},enumerable:!0})}function y(w,R,A,E,k,L,I){for(var P=new Array(k),M=new Array(k),F=0;F<k;++F)x(w,R,A[F],E,k,P,F),M[F]=P[F];Object.defineProperty(P,"location",{set:function(D){if(Array.isArray(D))for(var O=0;O<k;++O)M[O].location=D[O];else for(var O=0;O<k;++O)M[O].location=D+O;return D},get:function(){for(var D=new Array(k),O=0;O<k;++O)D[O]=E[A[O]];return D},enumerable:!0}),P.pointer=function(D,O,U,B){D=D||w.FLOAT,O=!!O,U=U||k*k,B=B||0;for(var Y=0;Y<k;++Y){var z=E[A[Y]];w.vertexAttribPointer(z,k,D,O,U,B+Y*k),w.enableVertexAttribArray(z)}};var N=new Array(k),T=w["vertexAttrib"+k+"fv"];Object.defineProperty(L,I,{set:function(D){for(var O=0;O<k;++O){var U=E[A[O]];if(w.disableVertexAttribArray(U),Array.isArray(D[0]))T.call(w,U,D[O]);else{for(var B=0;B<k;++B)N[B]=D[k*O+B];T.call(w,U,N)}}return D},get:function(){return P},enumerable:!0})}function C(w,R,A,E){for(var k={},L=0,I=A.length;L<I;++L){var P=A[L],M=P.name,F=P.type,N=P.locations;switch(F){case"bool":case"int":case"float":x(w,R,N[0],E,1,k,M);break;default:if(F.indexOf("vec")>=0){var T=F.charCodeAt(F.length-1)-48;if(T<2||T>4)throw new s("","Invalid data type for attribute "+M+": "+F);x(w,R,N[0],E,T,k,M)}else if(F.indexOf("mat")>=0){var T=F.charCodeAt(F.length-1)-48;if(T<2||T>4)throw new s("","Invalid data type for attribute "+M+": "+F);y(w,R,N,E,T,k,M)}else throw new s("","Unknown data type for attribute "+M+": "+F);break}}return k}},9016:function(p,_,c){var s=c(3984),d=c(9068);p.exports=x;function f(y){return function(){return y}}function b(y,C){for(var w=new Array(y),R=0;R<y;++R)w[R]=C;return w}function x(y,C,w,R){function A(F){return function(N,T,D){return N.getUniform(T.program,D[F])}}function E(F){return function(T){for(var D=k("",F),O=0;O<D.length;++O){var U=D[O],B=U[0],Y=U[1];if(R[Y]){var z=T;if(typeof B=="string"&&(B.indexOf(".")===0||B.indexOf("[")===0)){var V=B;if(B.indexOf(".")===0&&(V=B.slice(1)),V.indexOf("]")===V.length-1){var j=V.indexOf("["),G=V.slice(0,j),W=V.slice(j+1,V.length-1);z=G?T[G][W]:T[W]}else z=T[V]}var X=w[Y].type,Q;switch(X){case"bool":case"int":case"sampler2D":case"samplerCube":y.uniform1i(R[Y],z);break;case"float":y.uniform1f(R[Y],z);break;default:var ae=X.indexOf("vec");if(0<=ae&&ae<=1&&X.length===4+ae){if(Q=X.charCodeAt(X.length-1)-48,Q<2||Q>4)throw new d("","Invalid data type");switch(X.charAt(0)){case"b":case"i":y["uniform"+Q+"iv"](R[Y],z);break;case"v":y["uniform"+Q+"fv"](R[Y],z);break;default:throw new d("","Unrecognized data type for vector "+name+": "+X)}}else if(X.indexOf("mat")===0&&X.length===4){if(Q=X.charCodeAt(X.length-1)-48,Q<2||Q>4)throw new d("","Invalid uniform dimension type for matrix "+name+": "+X);y["uniformMatrix"+Q+"fv"](R[Y],!1,z);break}else throw new d("","Unknown uniform data type for "+name+": "+X)}}}}}function k(F,N){if(typeof N!="object")return[[F,N]];var T=[];for(var D in N){var O=N[D],U=F;parseInt(D)+""===D?U+="["+D+"]":U+="."+D,typeof O=="object"?T.push.apply(T,k(U,O)):T.push([U,O])}return T}function L(F){switch(F){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":return 0;case"float":return 0;default:var N=F.indexOf("vec");if(0<=N&&N<=1&&F.length===4+N){var T=F.charCodeAt(F.length-1)-48;if(T<2||T>4)throw new d("","Invalid data type");return F.charAt(0)==="b"?b(T,!1):b(T,0)}else if(F.indexOf("mat")===0&&F.length===4){var T=F.charCodeAt(F.length-1)-48;if(T<2||T>4)throw new d("","Invalid uniform dimension type for matrix "+name+": "+F);return b(T*T,0)}else throw new d("","Unknown uniform data type for "+name+": "+F)}}function I(F,N,T){if(typeof T=="object"){var D=P(T);Object.defineProperty(F,N,{get:f(D),set:E(T),enumerable:!0,configurable:!1})}else R[T]?Object.defineProperty(F,N,{get:A(T),set:E(T),enumerable:!0,configurable:!1}):F[N]=L(w[T].type)}function P(F){var N;if(Array.isArray(F)){N=new Array(F.length);for(var T=0;T<F.length;++T)I(N,T,F[T])}else{N={};for(var D in F)I(N,D,F[D])}return N}var M=s(w,!0);return{get:f(P(M)),set:E(M),enumerable:!0,configurable:!0}}},3984:function(p){p.exports=_;function _(c,s){for(var d={},f=0;f<c.length;++f)for(var b=c[f].name,x=b.split("."),y=d,C=0;C<x.length;++C){var w=x[C].split("[");if(w.length>1){w[0]in y||(y[w[0]]=[]),y=y[w[0]];for(var R=1;R<w.length;++R){var A=parseInt(w[R]);R<w.length-1||C<x.length-1?(A in y||(R<w.length-1?y[A]=[]:y[A]={}),y=y[A]):s?y[A]=f:y[A]=c[f].type}}else C<x.length-1?(w[0]in y||(y[w[0]]={}),y=y[w[0]]):s?y[w[0]]=f:y[w[0]]=c[f].type}return d}},2631:function(p,_){_.uniforms=f,_.attributes=b;var c={FLOAT:"float",FLOAT_VEC2:"vec2",FLOAT_VEC3:"vec3",FLOAT_VEC4:"vec4",INT:"int",INT_VEC2:"ivec2",INT_VEC3:"ivec3",INT_VEC4:"ivec4",BOOL:"bool",BOOL_VEC2:"bvec2",BOOL_VEC3:"bvec3",BOOL_VEC4:"bvec4",FLOAT_MAT2:"mat2",FLOAT_MAT3:"mat3",FLOAT_MAT4:"mat4",SAMPLER_2D:"sampler2D",SAMPLER_CUBE:"samplerCube"},s=null;function d(x,y){if(!s){var C=Object.keys(c);s={};for(var w=0;w<C.length;++w){var R=C[w];s[x[R]]=c[R]}}return s[y]}function f(x,y){for(var C=x.getProgramParameter(y,x.ACTIVE_UNIFORMS),w=[],R=0;R<C;++R){var A=x.getActiveUniform(y,R);if(A){var E=d(x,A.type);if(A.size>1)for(var k=0;k<A.size;++k)w.push({name:A.name.replace("[0]","["+k+"]"),type:E});else w.push({name:A.name,type:E})}}return w}function b(x,y){for(var C=x.getProgramParameter(y,x.ACTIVE_ATTRIBUTES),w=[],R=0;R<C;++R){var A=x.getActiveAttrib(y,R);A&&w.push({name:A.name,type:d(x,A.type)})}return w}},1628:function(p,_,c){_.shader=k,_.program=L;var s=c(9068),d=c(3530),f=typeof WeakMap>"u"?c(4037):WeakMap,b=new f,x=0;function y(I,P,M,F,N,T,D){this.id=I,this.src=P,this.type=M,this.shader=F,this.count=T,this.programs=[],this.cache=D}y.prototype.dispose=function(){if(--this.count===0){for(var I=this.cache,P=I.gl,M=this.programs,F=0,N=M.length;F<N;++F){var T=I.programs[M[F]];T&&(delete I.programs[F],P.deleteProgram(T))}P.deleteShader(this.shader),delete I.shaders[this.type===P.FRAGMENT_SHADER|0][this.src]}};function C(I){this.gl=I,this.shaders=[{},{}],this.programs={}}var w=C.prototype;function R(I,P,M){var F=I.createShader(P);if(I.shaderSource(F,M),I.compileShader(F),!I.getShaderParameter(F,I.COMPILE_STATUS)){var N=I.getShaderInfoLog(F);try{var T=d(N,M,P)}catch(D){throw console.warn("Failed to format compiler error: "+D),new s(N,`Error compiling shader:
`+N)}throw new s(N,T.short,T.long)}return F}w.getShaderReference=function(I,P){var M=this.gl,F=this.shaders[I===M.FRAGMENT_SHADER|0],N=F[P];if(!N||!M.isShader(N.shader)){var T=R(M,I,P);N=F[P]=new y(x++,P,I,T,[],1,this)}else N.count+=1;return N};function A(I,P,M,F,N){var T=I.createProgram();I.attachShader(T,P),I.attachShader(T,M);for(var D=0;D<F.length;++D)I.bindAttribLocation(T,N[D],F[D]);if(I.linkProgram(T),!I.getProgramParameter(T,I.LINK_STATUS)){var O=I.getProgramInfoLog(T);throw new s(O,"Error linking program: "+O)}return T}w.getProgram=function(I,P,M,F){var N=[I.id,P.id,M.join(":"),F.join(":")].join("@"),T=this.programs[N];return(!T||!this.gl.isProgram(T))&&(this.programs[N]=T=A(this.gl,I.shader,P.shader,M,F),I.programs.push(N),P.programs.push(N)),T};function E(I){var P=b.get(I);return P||(P=new C(I),b.set(I,P)),P}function k(I,P,M){return E(I).getShaderReference(P,M)}function L(I,P,M,F,N){return E(I).getProgram(P,M,F,N)}},3050:function(p){p.exports=s;function _(d){this.plot=d,this.enable=[!0,!0,!1,!1],this.width=[1,1,1,1],this.color=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.center=[1/0,1/0]}var c=_.prototype;c.update=function(d){d=d||{},this.enable=(d.enable||[!0,!0,!1,!1]).slice(),this.width=(d.width||[1,1,1,1]).slice(),this.color=(d.color||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]).map(function(f){return f.slice()}),this.center=(d.center||[1/0,1/0]).slice(),this.plot.setOverlayDirty()},c.draw=function(){var d=this.enable,f=this.width,b=this.color,x=this.center,y=this.plot,C=y.line,w=y.dataBox,R=y.viewBox;if(C.bind(),w[0]<=x[0]&&x[0]<=w[2]&&w[1]<=x[1]&&x[1]<=w[3]){var A=R[0]+(x[0]-w[0])/(w[2]-w[0])*(R[2]-R[0]),E=R[1]+(x[1]-w[1])/(w[3]-w[1])*(R[3]-R[1]);d[0]&&C.drawLine(A,E,R[0],E,f[0],b[0]),d[1]&&C.drawLine(A,E,A,R[1],f[1],b[1]),d[2]&&C.drawLine(A,E,R[2],E,f[2],b[2]),d[3]&&C.drawLine(A,E,A,R[3],f[3],b[3])}},c.dispose=function(){this.plot.removeOverlay(this)};function s(d,f){var b=new _(d);return b.update(f),d.addOverlay(b),b}},3540:function(p,_,c){var s=c(6832),d=c(5158),f=s([`precision mediump float;
#define GLSLIFY 1
attribute vec3 position, color;
attribute float weight;
uniform mat4 model, view, projection;
uniform vec3 coordinates[3];
uniform vec4 colors[3];
uniform vec2 screenShape;
uniform float lineWidth;
varying vec4 fragColor;
void main() {
vec3 vertexPosition = mix(coordinates[0],
mix(coordinates[2], coordinates[1], 0.5 * (position + 1.0)), abs(position));
vec4 clipPos = projection * view * model * vec4(vertexPosition, 1.0);
vec2 clipOffset = (projection * view * model * vec4(color, 0.0)).xy;
vec2 delta = weight * clipOffset * screenShape;
vec2 lineOffset = normalize(vec2(delta.y, -delta.x)) / screenShape;
gl_Position = vec4(clipPos.xy + clipPos.w * 0.5 * lineWidth * lineOffset, clipPos.z, clipPos.w);
fragColor = color.x * colors[0] + color.y * colors[1] + color.z * colors[2];
}
`]),b=s([`precision mediump float;
#define GLSLIFY 1
varying vec4 fragColor;
void main() {
gl_FragColor = fragColor;
}`]);p.exports=function(x){return d(x,f,b,null,[{name:"position",type:"vec3"},{name:"color",type:"vec3"},{name:"weight",type:"float"}])}},6496:function(p,_,c){var s=c(5827),d=c(2944),f=c(3540);p.exports=A;var b=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function x(E,k,L,I){this.gl=E,this.buffer=k,this.vao=L,this.shader=I,this.pixelRatio=1,this.bounds=[[-1e3,-1e3,-1e3],[1e3,1e3,1e3]],this.position=[0,0,0],this.lineWidth=[2,2,2],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.enabled=[!0,!0,!0],this.drawSides=[!0,!0,!0],this.axes=null}var y=x.prototype,C=[0,0,0],w=[0,0,0],R=[0,0];y.isTransparent=function(){return!1},y.drawTransparent=function(E){},y.draw=function(E){var k=this.gl,L=this.vao,I=this.shader;L.bind(),I.bind();var P=E.model||b,M=E.view||b,F=E.projection||b,N;this.axes&&(N=this.axes.lastCubeProps.axis);for(var T=C,D=w,O=0;O<3;++O)N&&N[O]<0?(T[O]=this.bounds[0][O],D[O]=this.bounds[1][O]):(T[O]=this.bounds[1][O],D[O]=this.bounds[0][O]);R[0]=k.drawingBufferWidth,R[1]=k.drawingBufferHeight,I.uniforms.model=P,I.uniforms.view=M,I.uniforms.projection=F,I.uniforms.coordinates=[this.position,T,D],I.uniforms.colors=this.colors,I.uniforms.screenShape=R;for(var O=0;O<3;++O)I.uniforms.lineWidth=this.lineWidth[O]*this.pixelRatio,this.enabled[O]&&(L.draw(k.TRIANGLES,6,6*O),this.drawSides[O]&&L.draw(k.TRIANGLES,12,18+12*O));L.unbind()},y.update=function(E){E&&("bounds"in E&&(this.bounds=E.bounds),"position"in E&&(this.position=E.position),"lineWidth"in E&&(this.lineWidth=E.lineWidth),"colors"in E&&(this.colors=E.colors),"enabled"in E&&(this.enabled=E.enabled),"drawSides"in E&&(this.drawSides=E.drawSides))},y.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()};function A(E,k){var L=[];function I(T,D,O,U,B,Y){var z=[T,D,O,0,0,0,1];z[U+3]=1,z[U]=B,L.push.apply(L,z),z[6]=-1,L.push.apply(L,z),z[U]=Y,L.push.apply(L,z),L.push.apply(L,z),z[6]=1,L.push.apply(L,z),z[U]=B,L.push.apply(L,z)}I(0,0,0,0,0,1),I(0,0,0,1,0,1),I(0,0,0,2,0,1),I(1,0,0,1,-1,1),I(1,0,0,2,-1,1),I(0,1,0,0,-1,1),I(0,1,0,2,-1,1),I(0,0,1,0,-1,1),I(0,0,1,1,-1,1);var P=s(E,L),M=d(E,[{type:E.FLOAT,buffer:P,size:3,offset:0,stride:28},{type:E.FLOAT,buffer:P,size:3,offset:12,stride:28},{type:E.FLOAT,buffer:P,size:1,offset:24,stride:28}]),F=f(E);F.attributes.position.location=0,F.attributes.color.location=1,F.attributes.weight.location=2;var N=new x(E,P,M,F);return N.update(k),N}},9578:function(p,_,c){var s=c(6832),d=s([`precision highp float;
precision highp float;
#define GLSLIFY 1
vec3 getOrthogonalVector(vec3 v) {
// Return up-vector for only-z vector.
// Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).
// From the above if-statement we have ||a|| > 0 U ||b|| > 0.
// Assign z = 0, x = -b, y = a:
// a*-b + b*a + c*0 = -ba + ba + 0 = 0
if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {
return normalize(vec3(-v.y, v.x, 0.0));
} else {
return normalize(vec3(0.0, v.z, -v.y));
}
}
// Calculate the tube vertex and normal at the given index.
//
// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d.
//
// Each tube segment is made up of a ring of vertices.
// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array.
// The indexes of tube segments run from 0 to 8.
//
vec3 getTubePosition(vec3 d, float index, out vec3 normal) {
float segmentCount = 8.0;
float angle = 2.0 * 3.14159 * (index / segmentCount);
vec3 u = getOrthogonalVector(d);
vec3 v = normalize(cross(u, d));
vec3 x = u * cos(angle) * length(d);
vec3 y = v * sin(angle) * length(d);
vec3 v3 = x + y;
normal = normalize(v3);
return v3;
}
attribute vec4 vector;
attribute vec4 color, position;
attribute vec2 uv;
uniform float vectorScale, tubeScale;
uniform mat4 model, view, projection, inverseModel;
uniform vec3 eyePosition, lightPosition;
varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;
varying vec4 f_color;
varying vec2 f_uv;
void main() {
// Scale the vector magnitude to stay constant with
// model & view changes.
vec3 normal;
vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal);
vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);
//Lighting geometry parameters
vec4 cameraCoordinate = view * tubePosition;
cameraCoordinate.xyz /= cameraCoordinate.w;
f_lightDirection = lightPosition - cameraCoordinate.xyz;
f_eyeDirection = eyePosition - cameraCoordinate.xyz;
f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);
// vec4 m_position = model * vec4(tubePosition, 1.0);
vec4 t_position = view * tubePosition;
gl_Position = projection * t_position;
f_color = color;
f_data = tubePosition.xyz;
f_position = position.xyz;
f_uv = uv;
}
`]),f=s([`#extension GL_OES_standard_derivatives : enable
precision highp float;
#define GLSLIFY 1
float beckmannDistribution(float x, float roughness) {
float NdotH = max(x, 0.0001);
float cos2Alpha = NdotH * NdotH;
float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;
float roughness2 = roughness * roughness;
float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;
return exp(tan2Alpha / roughness2) / denom;
}
float cookTorranceSpecular(
vec3 lightDirection,
vec3 viewDirection,
vec3 surfaceNormal,
float roughness,
float fresnel) {
float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);
float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);
//Half angle vector
vec3 H = normalize(lightDirection + viewDirection);
//Geometric term
float NdotH = max(dot(surfaceNormal, H), 0.0);
float VdotH = max(dot(viewDirection, H), 0.000001);
float LdotH = max(dot(lightDirection, H), 0.000001);
float G1 = (2.0 * NdotH * VdotN) / VdotH;
float G2 = (2.0 * NdotH * LdotN) / LdotH;
float G = min(1.0, min(G1, G2));
//Distribution term
float D = beckmannDistribution(NdotH, roughness);
//Fresnel term
float F = pow(1.0 - VdotN, fresnel);
//Multiply terms and done
return G * F * D / max(3.14159265 * VdotN, 0.000001);
}
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
uniform vec3 clipBounds[2];
uniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;
uniform sampler2D texture;
varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;
varying vec4 f_color;
varying vec2 f_uv;
void main() {
if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;
vec3 N = normalize(f_normal);
vec3 L = normalize(f_lightDirection);
vec3 V = normalize(f_eyeDirection);
if(gl_FrontFacing) {
N = -N;
}
float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));
float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);
vec4 surfaceColor = f_color * texture2D(texture, f_uv);
vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);
gl_FragColor = litColor * opacity;
}
`]),b=s([`precision highp float;
precision highp float;
#define GLSLIFY 1
vec3 getOrthogonalVector(vec3 v) {
// Return up-vector for only-z vector.
// Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).
// From the above if-statement we have ||a|| > 0 U ||b|| > 0.
// Assign z = 0, x = -b, y = a:
// a*-b + b*a + c*0 = -ba + ba + 0 = 0
if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {
return normalize(vec3(-v.y, v.x, 0.0));
} else {
return normalize(vec3(0.0, v.z, -v.y));
}
}
// Calculate the tube vertex and normal at the given index.
//
// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d.
//
// Each tube segment is made up of a ring of vertices.
// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array.
// The indexes of tube segments run from 0 to 8.
//
vec3 getTubePosition(vec3 d, float index, out vec3 normal) {
float segmentCount = 8.0;
float angle = 2.0 * 3.14159 * (index / segmentCount);
vec3 u = getOrthogonalVector(d);
vec3 v = normalize(cross(u, d));
vec3 x = u * cos(angle) * length(d);
vec3 y = v * sin(angle) * length(d);
vec3 v3 = x + y;
normal = normalize(v3);
return v3;
}
attribute vec4 vector;
attribute vec4 position;
attribute vec4 id;
uniform mat4 model, view, projection;
uniform float tubeScale;
varying vec3 f_position;
varying vec4 f_id;
void main() {
vec3 normal;
vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal);
vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);
gl_Position = projection * view * tubePosition;
f_id = id;
f_position = position.xyz;
}
`]),x=s([`precision highp float;
#define GLSLIFY 1
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
uniform vec3 clipBounds[2];
uniform float pickId;
varying vec3 f_position;
varying vec4 f_id;
void main() {
if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;
gl_FragColor = vec4(pickId, f_id.xyz);
}`]);_.meshShader={vertex:d,fragment:f,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec4"}]},_.pickShader={vertex:b,fragment:x,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec4"}]}},7307:function(p,_,c){var s=c(2858),d=c(4020),f=["xyz","xzy","yxz","yzx","zxy","zyx"],b=function(L,I,P,M){for(var F=L.points,N=L.velocities,T=L.divergences,D=[],O=[],U=[],B=[],Y=[],z=[],V=0,j=0,G=d.create(),W=d.create(),X=8,Q=0;Q<F.length;Q++){var ae=F[Q],ie=N[Q],he=T[Q];I===0&&(he=P*.05),j=s.length(ie)/M,G=d.create(),s.copy(G,ie),G[3]=he;for(var J=0;J<X;J++)Y[J]=[ae[0],ae[1],ae[2],J];if(B.length>0)for(var J=0;J<X;J++){var Z=(J+1)%X;D.push(B[J],Y[J],Y[Z],Y[Z],B[Z],B[J]),U.push(W,G,G,G,W,W),z.push(V,j,j,j,V,V);var le=D.length;O.push([le-6,le-5,le-4],[le-3,le-2,le-1])}var K=B;B=Y,Y=K;var te=W;W=G,G=te;var ce=V;V=j,j=ce}return{positions:D,cells:O,vectors:U,vertexIntensity:z}},x=function(L,I,P,M){for(var F=0,N=0;N<L.length;N++)for(var T=L[N].velocities,D=0;D<T.length;D++)F=Math.max(F,s.length(T[D]));for(var O=L.map(function(Q){return b(Q,P,M,F)}),U=[],B=[],Y=[],z=[],N=0;N<O.length;N++){var V=O[N],j=U.length;U=U.concat(V.positions),Y=Y.concat(V.vectors),z=z.concat(V.vertexIntensity);for(var D=0;D<V.cells.length;D++){var G=V.cells[D],W=[];B.push(W);for(var X=0;X<G.length;X++)W.push(G[X]+j)}}return{positions:U,cells:B,vectors:Y,vertexIntensity:z,colormap:I}},y=function(L,I){var P=L.length,M;for(M=0;M<P;M++){var F=L[M];if(F===I)return M;if(F>I)return M-1}return M},C=function(L,I,P){return L<I?I:L>P?P:L},w=function(L,I,P){var M=I.vectors,F=I.meshgrid,N=L[0],T=L[1],D=L[2],O=F[0].length,U=F[1].length,B=F[2].length,Y=y(F[0],N),z=y(F[1],T),V=y(F[2],D),j=Y+1,G=z+1,W=V+1;if(Y=C(Y,0,O-1),j=C(j,0,O-1),z=C(z,0,U-1),G=C(G,0,U-1),V=C(V,0,B-1),W=C(W,0,B-1),Y<0||z<0||V<0||j>O-1||G>U-1||W>B-1)return s.create();var X=F[0][Y],Q=F[0][j],ae=F[1][z],ie=F[1][G],he=F[2][V],J=F[2][W],Z=(N-X)/(Q-X),le=(T-ae)/(ie-ae),K=(D-he)/(J-he);isFinite(Z)||(Z=.5),isFinite(le)||(le=.5),isFinite(K)||(K=.5);var te,ce,re,ee,de,oe;switch(P.reversedX&&(Y=O-1-Y,j=O-1-j),P.reversedY&&(z=U-1-z,G=U-1-G),P.reversedZ&&(V=B-1-V,W=B-1-W),P.filled){case 5:de=V,oe=W,re=z*B,ee=G*B,te=Y*B*U,ce=j*B*U;break;case 4:de=V,oe=W,te=Y*B,ce=j*B,re=z*B*O,ee=G*B*O;break;case 3:re=z,ee=G,de=V*U,oe=W*U,te=Y*U*B,ce=j*U*B;break;case 2:re=z,ee=G,te=Y*U,ce=j*U,de=V*U*O,oe=W*U*O;break;case 1:te=Y,ce=j,de=V*O,oe=W*O,re=z*O*B,ee=G*O*B;break;default:te=Y,ce=j,re=z*O,ee=G*O,de=V*O*U,oe=W*O*U;break}var fe=M[te+re+de],me=M[te+re+oe],Te=M[te+ee+de],we=M[te+ee+oe],Be=M[ce+re+de],Ae=M[ce+re+oe],Re=M[ce+ee+de],be=M[ce+ee+oe],Pe=s.create(),Ke=s.create(),ze=s.create(),Fe=s.create();s.lerp(Pe,fe,Be,Z),s.lerp(Ke,me,Ae,Z),s.lerp(ze,Te,Re,Z),s.lerp(Fe,we,be,Z);var We=s.create(),lt=s.create();s.lerp(We,Pe,ze,le),s.lerp(lt,Ke,Fe,le);var ht=s.create();return s.lerp(ht,We,lt,K),ht},R=function(L){var I=1/0;L.sort(function(N,T){return N-T});for(var P=L.length,M=1;M<P;M++){var F=Math.abs(L[M]-L[M-1]);F<I&&(I=F)}return I},A=function(L){for(var I=[],P=[],M=[],F={},N={},T={},D=L.length,O=0;O<D;O++){var U=L[O],B=U[0],Y=U[1],z=U[2];F[B]||(I.push(B),F[B]=!0),N[Y]||(P.push(Y),N[Y]=!0),T[z]||(M.push(z),T[z]=!0)}var V=R(I),j=R(P),G=R(M),W=Math.min(V,j,G);return isFinite(W)?W:1};p.exports=function(L,I){var P=L.startingPositions,M=L.maxLength||1e3,F=L.tubeSize||1,N=L.absoluteTubeSize,T=L.gridFill||"+x+y+z",D={};T.indexOf("-x")!==-1&&(D.reversedX=!0),T.indexOf("-y")!==-1&&(D.reversedY=!0),T.indexOf("-z")!==-1&&(D.reversedZ=!0),D.filled=f.indexOf(T.replace(/-/g,"").replace(/\+/g,""));var O=L.getVelocity||function(Ae){return w(Ae,L,D)},U=L.getDivergence||function(Ae,Re){var be=s.create(),Pe=1e-4;s.add(be,Ae,[Pe,0,0]);var Ke=O(be);s.subtract(Ke,Ke,Re),s.scale(Ke,Ke,1/Pe),s.add(be,Ae,[0,Pe,0]);var ze=O(be);s.subtract(ze,ze,Re),s.scale(ze,ze,1/Pe),s.add(be,Ae,[0,0,Pe]);var Fe=O(be);return s.subtract(Fe,Fe,Re),s.scale(Fe,Fe,1/Pe),s.add(be,Ke,ze),s.add(be,be,Fe),be},B=[],Y=I[0][0],z=I[0][1],V=I[0][2],j=I[1][0],G=I[1][1],W=I[1][2],X=function(Ae){var Re=Ae[0],be=Ae[1],Pe=Ae[2];return!(Re<Y||Re>j||be<z||be>G||Pe<V||Pe>W)},Q=s.distance(I[0],I[1]),ae=10*Q/M,ie=ae*ae,he=1,J=0,Z=P.length;Z>1&&(he=A(P));for(var le=0;le<Z;le++){var K=s.create();s.copy(K,P[le]);var te=[K],ce=[],re=O(K),ee=K;ce.push(re);var de=[],oe=U(K,re),fe=s.length(oe);isFinite(fe)&&fe>J&&(J=fe),de.push(fe),B.push({points:te,velocities:ce,divergences:de});for(var me=0;me<M*100&&te.length<M&&X(K);){me++;var Te=s.clone(re),we=s.squaredLength(Te);if(we===0)break;if(we>ie&&s.scale(Te,Te,ae/Math.sqrt(we)),s.add(Te,Te,K),re=O(Te),s.squaredDistance(ee,Te)-ie>-1e-4*ie){te.push(Te),ee=Te,ce.push(re);var oe=U(Te,re),fe=s.length(oe);isFinite(fe)&&fe>J&&(J=fe),de.push(fe)}K=Te}}var Be=x(B,L.colormap,J,he);return N?Be.tubeScale=N:(J===0&&(J=1),Be.tubeScale=F*.5*he/J),Be};var E=c(9578),k=c(1140).createMesh;p.exports.createTubeMesh=function(L,I){return k(L,I,{shaders:E,traceType:"streamtube"})}},9054:function(p,_,c){var s=c(5158),d=c(6832),f=d([`precision highp float;
#define GLSLIFY 1
attribute vec4 uv;
attribute vec3 f;
attribute vec3 normal;
uniform vec3 objectOffset;
uniform mat4 model, view, projection, inverseModel;
uniform vec3 lightPosition, eyePosition;
uniform sampler2D colormap;
varying float value, kill;
varying vec3 worldCoordinate;
varying vec2 planeCoordinate;
varying vec3 lightDirection, eyeDirection, surfaceNormal;
varying vec4 vColor;
void main() {
vec3 localCoordinate = vec3(uv.zw, f.x);
worldCoordinate = objectOffset + localCoordinate;
vec4 worldPosition = model * vec4(worldCoordinate, 1.0);
vec4 clipPosition = projection * view * worldPosition;
gl_Position = clipPosition;
kill = f.y;
value = f.z;
planeCoordinate = uv.xy;
vColor = texture2D(colormap, vec2(value, value));
//Lighting geometry parameters
vec4 cameraCoordinate = view * worldPosition;
cameraCoordinate.xyz /= cameraCoordinate.w;
lightDirection = lightPosition - cameraCoordinate.xyz;
eyeDirection = eyePosition - cameraCoordinate.xyz;
surfaceNormal = normalize((vec4(normal,0) * inverseModel).xyz);
}
`]),b=d([`precision highp float;
#define GLSLIFY 1
float beckmannDistribution(float x, float roughness) {
float NdotH = max(x, 0.0001);
float cos2Alpha = NdotH * NdotH;
float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;
float roughness2 = roughness * roughness;
float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;
return exp(tan2Alpha / roughness2) / denom;
}
float beckmannSpecular(
vec3 lightDirection,
vec3 viewDirection,
vec3 surfaceNormal,
float roughness) {
return beckmannDistribution(dot(surfaceNormal, normalize(lightDirection + viewDirection)), roughness);
}
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
uniform vec3 lowerBound, upperBound;
uniform float contourTint;
uniform vec4 contourColor;
uniform sampler2D colormap;
uniform vec3 clipBounds[2];
uniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;
uniform float vertexColor;
varying float value, kill;
varying vec3 worldCoordinate;
varying vec3 lightDirection, eyeDirection, surfaceNormal;
varying vec4 vColor;
void main() {
if (
kill > 0.0 ||
vColor.a == 0.0 ||
outOfRange(clipBounds[0], clipBounds[1], worldCoordinate)
) discard;
vec3 N = normalize(surfaceNormal);
vec3 V = normalize(eyeDirection);
vec3 L = normalize(lightDirection);
if(gl_FrontFacing) {
N = -N;
}
float specular = max(beckmannSpecular(L, V, N, roughness), 0.);
float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);
//decide how to interpolate color — in vertex or in fragment
vec4 surfaceColor =
step(vertexColor, .5) * texture2D(colormap, vec2(value, value)) +
step(.5, vertexColor) * vColor;
vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);
gl_FragColor = mix(litColor, contourColor, contourTint) * opacity;
}
`]),x=d([`precision highp float;
#define GLSLIFY 1
attribute vec4 uv;
attribute float f;
uniform vec3 objectOffset;
uniform mat3 permutation;
uniform mat4 model, view, projection;
uniform float height, zOffset;
uniform sampler2D colormap;
varying float value, kill;
varying vec3 worldCoordinate;
varying vec2 planeCoordinate;
varying vec3 lightDirection, eyeDirection, surfaceNormal;
varying vec4 vColor;
void main() {
vec3 dataCoordinate = permutation * vec3(uv.xy, height);
worldCoordinate = objectOffset + dataCoordinate;
vec4 worldPosition = model * vec4(worldCoordinate, 1.0);
vec4 clipPosition = projection * view * worldPosition;
clipPosition.z += zOffset;
gl_Position = clipPosition;
value = f + objectOffset.z;
kill = -1.0;
planeCoordinate = uv.zw;
vColor = texture2D(colormap, vec2(value, value));
//Don't do lighting for contours
surfaceNormal = vec3(1,0,0);
eyeDirection = vec3(0,1,0);
lightDirection = vec3(0,0,1);
}
`]),y=d([`precision highp float;
#define GLSLIFY 1
bool outOfRange(float a, float b, float p) {
return ((p > max(a, b)) ||
(p < min(a, b)));
}
bool outOfRange(vec2 a, vec2 b, vec2 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y));
}
bool outOfRange(vec3 a, vec3 b, vec3 p) {
return (outOfRange(a.x, b.x, p.x) ||
outOfRange(a.y, b.y, p.y) ||
outOfRange(a.z, b.z, p.z));
}
bool outOfRange(vec4 a, vec4 b, vec4 p) {
return outOfRange(a.xyz, b.xyz, p.xyz);
}
uniform vec2 shape;
uniform vec3 clipBounds[2];
uniform float pickId;
varying float value, kill;
varying vec3 worldCoordinate;
varying vec2 planeCoordinate;
varying vec3 surfaceNormal;
vec2 splitFloat(float v) {
float vh = 255.0 * v;
float upper = floor(vh);
float lower = fract(vh);
return vec2(upper / 255.0, floor(lower * 16.0) / 16.0);
}
void main() {
if ((kill > 0.0) ||
(outOfRange(clipBounds[0], clipBounds[1], worldCoordinate))) discard;
vec2 ux = splitFloat(planeCoordinate.x / shape.x);
vec2 uy = splitFloat(planeCoordinate.y / shape.y);
gl_FragColor = vec4(pickId, ux.x, uy.x, ux.y + (uy.y/16.0));
}
`]);_.createShader=function(C){var w=s(C,f,b,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return w.attributes.uv.location=0,w.attributes.f.location=1,w.attributes.normal.location=2,w},_.createPickShader=function(C){var w=s(C,f,y,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return w.attributes.uv.location=0,w.attributes.f.location=1,w.attributes.normal.location=2,w},_.createContourShader=function(C){var w=s(C,x,b,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return w.attributes.uv.location=0,w.attributes.f.location=1,w},_.createPickContourShader=function(C){var w=s(C,x,y,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return w.attributes.uv.location=0,w.attributes.f.location=1,w}},3754:function(p,_,c){p.exports=ce;var s=c(2288),d=c(5827),f=c(2944),b=c(8931),x=c(5306),y=c(9156),C=c(7498),w=c(7382),R=c(5050),A=c(4162),E=c(104),k=c(7437),L=c(5070),I=c(9144),P=c(9054),M=P.createShader,F=P.createContourShader,N=P.createPickShader,T=P.createPickContourShader,D=4*10,O=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],U=[[0,0],[0,1],[1,0],[1,1],[1,0],[0,1]],B=[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]];(function(){for(var re=0;re<3;++re){var ee=B[re],de=(re+1)%3,oe=(re+2)%3;ee[de+0]=1,ee[oe+3]=1,ee[re+6]=1}})();function Y(re,ee,de,oe,fe){this.position=re,this.index=ee,this.uv=de,this.level=oe,this.dataCoordinate=fe}var z=256;function V(re,ee,de,oe,fe,me,Te,we,Be,Ae,Re,be,Pe,Ke,ze){this.gl=re,this.shape=ee,this.bounds=de,this.objectOffset=ze,this.intensityBounds=[],this._shader=oe,this._pickShader=fe,this._coordinateBuffer=me,this._vao=Te,this._colorMap=we,this._contourShader=Be,this._contourPickShader=Ae,this._contourBuffer=Re,this._contourVAO=be,this._contourOffsets=[[],[],[]],this._contourCounts=[[],[],[]],this._vertexCount=0,this._pickResult=new Y([0,0,0],[0,0],[0,0],[0,0,0],[0,0,0]),this._dynamicBuffer=Pe,this._dynamicVAO=Ke,this._dynamicOffsets=[0,0,0],this._dynamicCounts=[0,0,0],this.contourWidth=[1,1,1],this.contourLevels=[[1],[1],[1]],this.contourTint=[0,0,0],this.contourColor=[[.5,.5,.5,1],[.5,.5,.5,1],[.5,.5,.5,1]],this.showContour=!0,this.showSurface=!0,this.enableHighlight=[!0,!0,!0],this.highlightColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.highlightTint=[1,1,1],this.highlightLevel=[-1,-1,-1],this.enableDynamic=[!0,!0,!0],this.dynamicLevel=[NaN,NaN,NaN],this.dynamicColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.dynamicTint=[1,1,1],this.dynamicWidth=[1,1,1],this.axesBounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.surfaceProject=[!1,!1,!1],this.contourProject=[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],this.colorBounds=[!1,!1],this._field=[R(x.mallocFloat(1024),[0,0]),R(x.mallocFloat(1024),[0,0]),R(x.mallocFloat(1024),[0,0])],this.pickId=1,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.snapToData=!1,this.pixelRatio=1,this.opacity=1,this.lightPosition=[10,1e4,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.vertexColor=0,this.dirty=!0}var j=V.prototype;j.genColormap=function(re,ee){var de=!1,oe=w([y({colormap:re,nshades:z,format:"rgba"}).map(function(fe,me){var Te=ee?G(me/255,ee):fe[3];return Te<1&&(de=!0),[fe[0],fe[1],fe[2],255*Te]})]);return C.divseq(oe,255),this.hasAlphaScale=de,oe},j.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},j.isOpaque=function(){return!this.isTransparent()},j.pickSlots=1,j.setPickBase=function(re){this.pickId=re};function G(re,ee){if(!ee||!ee.length)return 1;for(var de=0;de<ee.length;++de){if(ee.length<2)return 1;if(ee[de][0]===re)return ee[de][1];if(ee[de][0]>re&&de>0){var oe=(ee[de][0]-re)/(ee[de][0]-ee[de-1][0]);return ee[de][1]*(1-oe)+oe*ee[de-1][1]}}return 1}var W=[0,0,0],X={showSurface:!1,showContour:!1,projections:[O.slice(),O.slice(),O.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function Q(re,ee){var de,oe,fe,me=ee.axes&&ee.axes.lastCubeProps.axis||W,Te=ee.showSurface,we=ee.showContour;for(de=0;de<3;++de)for(Te=Te||ee.surfaceProject[de],oe=0;oe<3;++oe)we=we||ee.contourProject[de][oe];for(de=0;de<3;++de){var Be=X.projections[de];for(oe=0;oe<16;++oe)Be[oe]=0;for(oe=0;oe<4;++oe)Be[5*oe]=1;Be[5*de]=0,Be[12+de]=ee.axesBounds[+(me[de]>0)][de],E(Be,re.model,Be);var Ae=X.clipBounds[de];for(fe=0;fe<2;++fe)for(oe=0;oe<3;++oe)Ae[fe][oe]=re.clipBounds[fe][oe];Ae[0][de]=-1e8,Ae[1][de]=1e8}return X.showSurface=Te,X.showContour=we,X}var ae={model:O,view:O,projection:O,inverseModel:O.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},ie=O.slice(),he=[1,0,0,0,1,0,0,0,1];function J(re,ee){re=re||{};var de=this.gl;de.disable(de.CULL_FACE),this._colorMap.bind(0);var oe=ae;oe.model=re.model||O,oe.view=re.view||O,oe.projection=re.projection||O,oe.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],oe.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],oe.objectOffset=this.objectOffset,oe.contourColor=this.contourColor[0],oe.inverseModel=k(oe.inverseModel,oe.model);for(var fe=0;fe<2;++fe)for(var me=oe.clipBounds[fe],Te=0;Te<3;++Te)me[Te]=Math.min(Math.max(this.clipBounds[fe][Te],-1e8),1e8);oe.kambient=this.ambientLight,oe.kdiffuse=this.diffuseLight,oe.kspecular=this.specularLight,oe.roughness=this.roughness,oe.fresnel=this.fresnel,oe.opacity=this.opacity,oe.height=0,oe.permutation=he,oe.vertexColor=this.vertexColor;var we=ie;for(E(we,oe.view,oe.model),E(we,oe.projection,we),k(we,we),fe=0;fe<3;++fe)oe.eyePosition[fe]=we[12+fe]/we[15];var Be=we[15];for(fe=0;fe<3;++fe)Be+=this.lightPosition[fe]*we[4*fe+3];for(fe=0;fe<3;++fe){var Ae=we[12+fe];for(Te=0;Te<3;++Te)Ae+=we[4*Te+fe]*this.lightPosition[Te];oe.lightPosition[fe]=Ae/Be}var Re=Q(oe,this);if(Re.showSurface){for(this._shader.bind(),this._shader.uniforms=oe,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(de.TRIANGLES,this._vertexCount),fe=0;fe<3;++fe)!this.surfaceProject[fe]||!this.vertexCount||(this._shader.uniforms.model=Re.projections[fe],this._shader.uniforms.clipBounds=Re.clipBounds[fe],this._vao.draw(de.TRIANGLES,this._vertexCount));this._vao.unbind()}if(Re.showContour){var be=this._contourShader;oe.kambient=1,oe.kdiffuse=0,oe.kspecular=0,oe.opacity=1,be.bind(),be.uniforms=oe;var Pe=this._contourVAO;for(Pe.bind(),fe=0;fe<3;++fe)for(be.uniforms.permutation=B[fe],de.lineWidth(this.contourWidth[fe]*this.pixelRatio),Te=0;Te<this.contourLevels[fe].length;++Te)Te===this.highlightLevel[fe]?(be.uniforms.contourColor=this.highlightColor[fe],be.uniforms.contourTint=this.highlightTint[fe]):(Te===0||Te-1===this.highlightLevel[fe])&&(be.uniforms.contourColor=this.contourColor[fe],be.uniforms.contourTint=this.contourTint[fe]),this._contourCounts[fe][Te]&&(be.uniforms.height=this.contourLevels[fe][Te],Pe.draw(de.LINES,this._contourCounts[fe][Te],this._contourOffsets[fe][Te]));for(fe=0;fe<3;++fe)for(be.uniforms.model=Re.projections[fe],be.uniforms.clipBounds=Re.clipBounds[fe],Te=0;Te<3;++Te)if(this.contourProject[fe][Te]){be.uniforms.permutation=B[Te],de.lineWidth(this.contourWidth[Te]*this.pixelRatio);for(var Ke=0;Ke<this.contourLevels[Te].length;++Ke)Ke===this.highlightLevel[Te]?(be.uniforms.contourColor=this.highlightColor[Te],be.uniforms.contourTint=this.highlightTint[Te]):(Ke===0||Ke-1===this.highlightLevel[Te])&&(be.uniforms.contourColor=this.contourColor[Te],be.uniforms.contourTint=this.contourTint[Te]),this._contourCounts[Te][Ke]&&(be.uniforms.height=this.contourLevels[Te][Ke],Pe.draw(de.LINES,this._contourCounts[Te][Ke],this._contourOffsets[Te][Ke]))}for(Pe.unbind(),Pe=this._dynamicVAO,Pe.bind(),fe=0;fe<3;++fe)if(this._dynamicCounts[fe]!==0)for(be.uniforms.model=oe.model,be.uniforms.clipBounds=oe.clipBounds,be.uniforms.permutation=B[fe],de.lineWidth(this.dynamicWidth[fe]*this.pixelRatio),be.uniforms.contourColor=this.dynamicColor[fe],be.uniforms.contourTint=this.dynamicTint[fe],be.uniforms.height=this.dynamicLevel[fe],Pe.draw(de.LINES,this._dynamicCounts[fe],this._dynamicOffsets[fe]),Te=0;Te<3;++Te)this.contourProject[Te][fe]&&(be.uniforms.model=Re.projections[Te],be.uniforms.clipBounds=Re.clipBounds[Te],Pe.draw(de.LINES,this._dynamicCounts[fe],this._dynamicOffsets[fe]));Pe.unbind()}}j.draw=function(re){return J.call(this,re,!1)},j.drawTransparent=function(re){return J.call(this,re,!0)};var Z={model:O,view:O,projection:O,inverseModel:O,clipBounds:[[0,0,0],[0,0,0]],height:0,shape:[0,0],pickId:0,lowerBound:[0,0,0],upperBound:[0,0,0],zOffset:0,objectOffset:[0,0,0],permutation:[1,0,0,0,1,0,0,0,1],lightPosition:[0,0,0],eyePosition:[0,0,0]};j.drawPick=function(re){re=re||{};var ee=this.gl;ee.disable(ee.CULL_FACE);var de=Z;de.model=re.model||O,de.view=re.view||O,de.projection=re.projection||O,de.shape=this._field[2].shape,de.pickId=this.pickId/255,de.lowerBound=this.bounds[0],de.upperBound=this.bounds[1],de.objectOffset=this.objectOffset,de.permutation=he;for(var oe=0;oe<2;++oe)for(var fe=de.clipBounds[oe],me=0;me<3;++me)fe[me]=Math.min(Math.max(this.clipBounds[oe][me],-1e8),1e8);var Te=Q(de,this);if(Te.showSurface){for(this._pickShader.bind(),this._pickShader.uniforms=de,this._vao.bind(),this._vao.draw(ee.TRIANGLES,this._vertexCount),oe=0;oe<3;++oe)this.surfaceProject[oe]&&(this._pickShader.uniforms.model=Te.projections[oe],this._pickShader.uniforms.clipBounds=Te.clipBounds[oe],this._vao.draw(ee.TRIANGLES,this._vertexCount));this._vao.unbind()}if(Te.showContour){var we=this._contourPickShader;we.bind(),we.uniforms=de;var Be=this._contourVAO;for(Be.bind(),me=0;me<3;++me)for(ee.lineWidth(this.contourWidth[me]*this.pixelRatio),we.uniforms.permutation=B[me],oe=0;oe<this.contourLevels[me].length;++oe)this._contourCounts[me][oe]&&(we.uniforms.height=this.contourLevels[me][oe],Be.draw(ee.LINES,this._contourCounts[me][oe],this._contourOffsets[me][oe]));for(oe=0;oe<3;++oe)for(we.uniforms.model=Te.projections[oe],we.uniforms.clipBounds=Te.clipBounds[oe],me=0;me<3;++me)if(this.contourProject[oe][me]){we.uniforms.permutation=B[me],ee.lineWidth(this.contourWidth[me]*this.pixelRatio);for(var Ae=0;Ae<this.contourLevels[me].length;++Ae)this._contourCounts[me][Ae]&&(we.uniforms.height=this.contourLevels[me][Ae],Be.draw(ee.LINES,this._contourCounts[me][Ae],this._contourOffsets[me][Ae]))}Be.unbind()}},j.pick=function(re){if(!re||re.id!==this.pickId)return null;var ee=this._field[2].shape,de=this._pickResult,oe=ee[0]*(re.value[0]+(re.value[2]>>4)/16)/255,fe=Math.floor(oe),me=oe-fe,Te=ee[1]*(re.value[1]+(re.value[2]&15)/16)/255,we=Math.floor(Te),Be=Te-we;fe+=1,we+=1;var Ae=de.position;Ae[0]=Ae[1]=Ae[2]=0;for(var Re=0;Re<2;++Re)for(var be=Re?me:1-me,Pe=0;Pe<2;++Pe)for(var Ke=Pe?Be:1-Be,ze=fe+Re,Fe=we+Pe,We=be*Ke,lt=0;lt<3;++lt)Ae[lt]+=this._field[lt].get(ze,Fe)*We;for(var ht=this._pickResult.level,tt=0;tt<3;++tt)if(ht[tt]=L.le(this.contourLevels[tt],Ae[tt]),ht[tt]<0)this.contourLevels[tt].length>0&&(ht[tt]=0);else if(ht[tt]<this.contourLevels[tt].length-1){var et=this.contourLevels[tt][ht[tt]],pt=this.contourLevels[tt][ht[tt]+1];Math.abs(et-Ae[tt])>Math.abs(pt-Ae[tt])&&(ht[tt]+=1)}for(de.index[0]=me<.5?fe:fe+1,de.index[1]=Be<.5?we:we+1,de.uv[0]=oe/ee[0],de.uv[1]=Te/ee[1],lt=0;lt<3;++lt)de.dataCoordinate[lt]=this._field[lt].get(de.index[0],de.index[1]);return de},j.padField=function(re,ee){var de=ee.shape.slice(),oe=re.shape.slice();C.assign(re.lo(1,1).hi(de[0],de[1]),ee),C.assign(re.lo(1).hi(de[0],1),ee.hi(de[0],1)),C.assign(re.lo(1,oe[1]-1).hi(de[0],1),ee.lo(0,de[1]-1).hi(de[0],1)),C.assign(re.lo(0,1).hi(1,de[1]),ee.hi(1)),C.assign(re.lo(oe[0]-1,1).hi(1,de[1]),ee.lo(de[0]-1)),re.set(0,0,ee.get(0,0)),re.set(0,oe[1]-1,ee.get(0,de[1]-1)),re.set(oe[0]-1,0,ee.get(de[0]-1,0)),re.set(oe[0]-1,oe[1]-1,ee.get(de[0]-1,de[1]-1))};function le(re,ee){return Array.isArray(re)?[ee(re[0]),ee(re[1]),ee(re[2])]:[ee(re),ee(re),ee(re)]}function K(re){return Array.isArray(re)?re.length===3?[re[0],re[1],re[2],1]:[re[0],re[1],re[2],re[3]]:[0,0,0,1]}function te(re){if(Array.isArray(re)){if(Array.isArray(re))return[K(re[0]),K(re[1]),K(re[2])];var ee=K(re);return[ee.slice(),ee.slice(),ee.slice()]}}j.update=function(re){re=re||{},this.objectOffset=re.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in re&&(this.contourWidth=le(re.contourWidth,Number)),"showContour"in re&&(this.showContour=le(re.showContour,Boolean)),"showSurface"in re&&(this.showSurface=!!re.showSurface),"contourTint"in re&&(this.contourTint=le(re.contourTint,Boolean)),"contourColor"in re&&(this.contourColor=te(re.contourColor)),"contourProject"in re&&(this.contourProject=le(re.contourProject,function(jt){return le(jt,Boolean)})),"surfaceProject"in re&&(this.surfaceProject=re.surfaceProject),"dynamicColor"in re&&(this.dynamicColor=te(re.dynamicColor)),"dynamicTint"in re&&(this.dynamicTint=le(re.dynamicTint,Number)),"dynamicWidth"in re&&(this.dynamicWidth=le(re.dynamicWidth,Number)),"opacity"in re&&(this.opacity=re.opacity),"opacityscale"in re&&(this.opacityscale=re.opacityscale),"colorBounds"in re&&(this.colorBounds=re.colorBounds),"vertexColor"in re&&(this.vertexColor=re.vertexColor?1:0),"colormap"in re&&this._colorMap.setPixels(this.genColormap(re.colormap,this.opacityscale));var ee=re.field||re.coords&&re.coords[2]||null,de=!1;if(ee||(this._field[2].shape[0]||this._field[2].shape[2]?ee=this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):ee=this._field[2].hi(0,0)),"field"in re||"coords"in re){var oe=(ee.shape[0]+2)*(ee.shape[1]+2);oe>this._field[2].data.length&&(x.freeFloat(this._field[2].data),this._field[2].data=x.mallocFloat(s.nextPow2(oe))),this._field[2]=R(this._field[2].data,[ee.shape[0]+2,ee.shape[1]+2]),this.padField(this._field[2],ee),this.shape=ee.shape.slice();for(var fe=this.shape,me=0;me<2;++me)this._field[2].size>this._field[me].data.length&&(x.freeFloat(this._field[me].data),this._field[me].data=x.mallocFloat(this._field[2].size)),this._field[me]=R(this._field[me].data,[fe[0]+2,fe[1]+2]);if(re.coords){var Te=re.coords;if(!Array.isArray(Te)||Te.length!==3)throw new Error("gl-surface: invalid coordinates for x/y");for(me=0;me<2;++me){var we=Te[me];for(Pe=0;Pe<2;++Pe)if(we.shape[Pe]!==fe[Pe])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[me],we)}}else if(re.ticks){var Be=re.ticks;if(!Array.isArray(Be)||Be.length!==2)throw new Error("gl-surface: invalid ticks");for(me=0;me<2;++me){var Ae=Be[me];if((Array.isArray(Ae)||Ae.length)&&(Ae=R(Ae)),Ae.shape[0]!==fe[me])throw new Error("gl-surface: invalid tick length");var Re=R(Ae.data,fe);Re.stride[me]=Ae.stride[0],Re.stride[me^1]=0,this.padField(this._field[me],Re)}}else{for(me=0;me<2;++me){var be=[0,0];be[me]=1,this._field[me]=R(this._field[me].data,[fe[0]+2,fe[1]+2],be,0)}this._field[0].set(0,0,0);for(var Pe=0;Pe<fe[0];++Pe)this._field[0].set(Pe+1,0,Pe);for(this._field[0].set(fe[0]+1,0,fe[0]-1),this._field[1].set(0,0,0),Pe=0;Pe<fe[1];++Pe)this._field[1].set(0,Pe+1,Pe);this._field[1].set(0,fe[1]+1,fe[1]-1)}var Ke=this._field,ze=R(x.mallocFloat(Ke[2].size*3*2),[3,fe[0]+2,fe[1]+2,2]);for(me=0;me<3;++me)I(ze.pick(me),Ke[me],"mirror");var Fe=R(x.mallocFloat(Ke[2].size*3),[fe[0]+2,fe[1]+2,3]);for(me=0;me<fe[0]+2;++me)for(Pe=0;Pe<fe[1]+2;++Pe){var We=ze.get(0,me,Pe,0),lt=ze.get(0,me,Pe,1),ht=ze.get(1,me,Pe,0),tt=ze.get(1,me,Pe,1),et=ze.get(2,me,Pe,0),pt=ze.get(2,me,Pe,1),vt=ht*pt-tt*et,_t=et*lt-pt*We,bt=We*tt-lt*ht,Rt=Math.sqrt(vt*vt+_t*_t+bt*bt);Rt<1e-8?(Rt=Math.max(Math.abs(vt),Math.abs(_t),Math.abs(bt)),Rt<1e-8?(bt=1,_t=vt=0,Rt=1):Rt=1/Rt):Rt=1/Math.sqrt(Rt),Fe.set(me,Pe,0,vt*Rt),Fe.set(me,Pe,1,_t*Rt),Fe.set(me,Pe,2,bt*Rt)}x.free(ze.data);var ct=[1/0,1/0,1/0],Ve=[-1/0,-1/0,-1/0],Qe=1/0,rt=-1/0,qe=(fe[0]-1)*(fe[1]-1)*6,He=x.mallocFloat(s.nextPow2(10*qe)),Ce=0,Se=0;for(me=0;me<fe[0]-1;++me)e:for(Pe=0;Pe<fe[1]-1;++Pe){for(var Le=0;Le<2;++Le)for(var Ne=0;Ne<2;++Ne)for(var je=0;je<3;++je){var Je=this._field[je].get(1+me+Le,1+Pe+Ne);if(isNaN(Je)||!isFinite(Je))continue e}for(je=0;je<6;++je){var ut=me+U[je][0],Et=Pe+U[je][1],wt=this._field[0].get(ut+1,Et+1),nr=this._field[1].get(ut+1,Et+1);Je=this._field[2].get(ut+1,Et+1),vt=Fe.get(ut+1,Et+1,0),_t=Fe.get(ut+1,Et+1,1),bt=Fe.get(ut+1,Et+1,2),re.intensity&&(ir=re.intensity.get(ut,Et));var ir=re.intensity?re.intensity.get(ut,Et):Je+this.objectOffset[2];He[Ce++]=ut,He[Ce++]=Et,He[Ce++]=wt,He[Ce++]=nr,He[Ce++]=Je,He[Ce++]=0,He[Ce++]=ir,He[Ce++]=vt,He[Ce++]=_t,He[Ce++]=bt,ct[0]=Math.min(ct[0],wt+this.objectOffset[0]),ct[1]=Math.min(ct[1],nr+this.objectOffset[1]),ct[2]=Math.min(ct[2],Je+this.objectOffset[2]),Qe=Math.min(Qe,ir),Ve[0]=Math.max(Ve[0],wt+this.objectOffset[0]),Ve[1]=Math.max(Ve[1],nr+this.objectOffset[1]),Ve[2]=Math.max(Ve[2],Je+this.objectOffset[2]),rt=Math.max(rt,ir),Se+=1}}for(re.intensityBounds&&(Qe=+re.intensityBounds[0],rt=+re.intensityBounds[1]),me=6;me<Ce;me+=10)He[me]=(He[me]-Qe)/(rt-Qe);this._vertexCount=Se,this._coordinateBuffer.update(He.subarray(0,Ce)),x.freeFloat(He),x.free(Fe.data),this.bounds=[ct,Ve],this.intensity=re.intensity||this._field[2],(this.intensityBounds[0]!==Qe||this.intensityBounds[1]!==rt)&&(de=!0),this.intensityBounds=[Qe,rt]}if("levels"in re){var It=re.levels;for(Array.isArray(It[0])?It=It.slice():It=[[],[],It],me=0;me<3;++me)It[me]=It[me].slice(),It[me].sort(function(jt,ar){return jt-ar});for(me=0;me<3;++me)for(Pe=0;Pe<It[me].length;++Pe)It[me][Pe]-=this.objectOffset[me];e:for(me=0;me<3;++me){if(It[me].length!==this.contourLevels[me].length){de=!0;break}for(Pe=0;Pe<It[me].length;++Pe)if(It[me][Pe]!==this.contourLevels[me][Pe]){de=!0;break e}}this.contourLevels=It}if(de){Ke=this._field,fe=this.shape;for(var Gt=[],cr=0;cr<3;++cr){var Pr=this.contourLevels[cr],Ct=[],or=[],ur=[0,0,0];for(me=0;me<Pr.length;++me){var Ir=A(this._field[cr],Pr[me]);Ct.push(Gt.length/5|0),Se=0;e:for(Pe=0;Pe<Ir.cells.length;++Pe){var yr=Ir.cells[Pe];for(je=0;je<2;++je){var At=Ir.positions[yr[je]],mt=At[0],Mt=Math.floor(mt)|0,Pt=mt-Mt,Ht=At[1],Ut=Math.floor(Ht)|0,Zt=Ht-Ut,Xt=!1;t:for(var sr=0;sr<3;++sr){ur[sr]=0;var Sr=(cr+sr+1)%3;for(Le=0;Le<2;++Le){var wr=Le?Pt:1-Pt;for(ut=Math.min(Math.max(Mt+Le,0),fe[0])|0,Ne=0;Ne<2;++Ne){var Tr=Ne?Zt:1-Zt;if(Et=Math.min(Math.max(Ut+Ne,0),fe[1])|0,sr<2?Je=this._field[Sr].get(ut,Et):Je=(this.intensity.get(ut,Et)-this.intensityBounds[0])/(this.intensityBounds[1]-this.intensityBounds[0]),!isFinite(Je)||isNaN(Je)){Xt=!0;break t}var Ze=wr*Tr;ur[sr]+=Ze*Je}}}if(!Xt)Gt.push(ur[0],ur[1],At[0],At[1],ur[2]),Se+=1;else{if(je>0){for(var Xe=0;Xe<5;++Xe)Gt.pop();Se-=1}continue e}}}or.push(Se)}this._contourOffsets[cr]=Ct,this._contourCounts[cr]=or}var Wt=x.mallocFloat(Gt.length);for(me=0;me<Gt.length;++me)Wt[me]=Gt[me];this._contourBuffer.update(Wt),x.freeFloat(Wt)}},j.dispose=function(){this._shader.dispose(),this._vao.dispose(),this._coordinateBuffer.dispose(),this._colorMap.dispose(),this._contourBuffer.dispose(),this._contourVAO.dispose(),this._contourShader.dispose(),this._contourPickShader.dispose(),this._dynamicBuffer.dispose(),this._dynamicVAO.dispose();for(var re=0;re<3;++re)x.freeFloat(this._field[re].data)},j.highlight=function(re){var ee;if(!re){this._dynamicCounts=[0,0,0],this.dyanamicLevel=[NaN,NaN,NaN],this.highlightLevel=[-1,-1,-1];return}for(ee=0;ee<3;++ee)this.enableHighlight[ee]?this.highlightLevel[ee]=re.level[ee]:this.highlightLevel[ee]=-1;var de;for(this.snapToData?de=re.dataCoordinate:de=re.position,ee=0;ee<3;++ee)de[ee]-=this.objectOffset[ee];if(!((!this.enableDynamic[0]||de[0]===this.dynamicLevel[0])&&(!this.enableDynamic[1]||de[1]===this.dynamicLevel[1])&&(!this.enableDynamic[2]||de[2]===this.dynamicLevel[2]))){for(var oe=0,fe=this.shape,me=x.mallocFloat(12*fe[0]*fe[1]),Te=0;Te<3;++Te){if(!this.enableDynamic[Te]){this.dynamicLevel[Te]=NaN,this._dynamicCounts[Te]=0;continue}this.dynamicLevel[Te]=de[Te];var we=(Te+1)%3,Be=(Te+2)%3,Ae=this._field[Te],Re=this._field[we],be=this._field[Be],Pe=A(Ae,de[Te]),Ke=Pe.cells,ze=Pe.positions;for(this._dynamicOffsets[Te]=oe,ee=0;ee<Ke.length;++ee)for(var Fe=Ke[ee],We=0;We<2;++We){var lt=ze[Fe[We]],ht=+lt[0],tt=ht|0,et=Math.min(tt+1,fe[0])|0,pt=ht-tt,vt=1-pt,_t=+lt[1],bt=_t|0,Rt=Math.min(bt+1,fe[1])|0,ct=_t-bt,Ve=1-ct,Qe=vt*Ve,rt=vt*ct,qe=pt*Ve,He=pt*ct,Ce=Qe*Re.get(tt,bt)+rt*Re.get(tt,Rt)+qe*Re.get(et,bt)+He*Re.get(et,Rt),Se=Qe*be.get(tt,bt)+rt*be.get(tt,Rt)+qe*be.get(et,bt)+He*be.get(et,Rt);if(isNaN(Ce)||isNaN(Se)){We&&(oe-=1);break}me[2*oe+0]=Ce,me[2*oe+1]=Se,oe+=1}this._dynamicCounts[Te]=oe-this._dynamicOffsets[Te]}this._dynamicBuffer.update(me.subarray(0,2*oe)),x.freeFloat(me)}};function ce(re){var ee=re.gl,de=M(ee),oe=N(ee),fe=F(ee),me=T(ee),Te=d(ee),we=f(ee,[{buffer:Te,size:4,stride:D,offset:0},{buffer:Te,size:3,stride:D,offset:16},{buffer:Te,size:3,stride:D,offset:28}]),Be=d(ee),Ae=f(ee,[{buffer:Be,size:4,stride:20,offset:0},{buffer:Be,size:1,stride:20,offset:16}]),Re=d(ee),be=f(ee,[{buffer:Re,size:2,type:ee.FLOAT}]),Pe=b(ee,1,z,ee.RGBA,ee.UNSIGNED_BYTE);Pe.minFilter=ee.LINEAR,Pe.magFilter=ee.LINEAR;var Ke=new V(ee,[0,0],[[0,0,0],[0,0,0]],de,oe,Te,we,Pe,fe,me,Be,Ae,Re,be,[0,0,0]),ze={levels:[[],[],[]]};for(var Fe in re)ze[Fe]=re[Fe];return ze.colormap=ze.colormap||"jet",Ke.update(ze),Ke}},8931:function(p,_,c){var s=c(5050),d=c(7498),f=c(5306);p.exports=T;var b=null,x=null,y=null;function C(D){b=[D.LINEAR,D.NEAREST_MIPMAP_LINEAR,D.LINEAR_MIPMAP_NEAREST,D.LINEAR_MIPMAP_NEAREST],x=[D.NEAREST,D.LINEAR,D.NEAREST_MIPMAP_NEAREST,D.NEAREST_MIPMAP_LINEAR,D.LINEAR_MIPMAP_NEAREST,D.LINEAR_MIPMAP_LINEAR],y=[D.REPEAT,D.CLAMP_TO_EDGE,D.MIRRORED_REPEAT]}function w(D){return typeof HTMLCanvasElement<"u"&&D instanceof HTMLCanvasElement||typeof HTMLImageElement<"u"&&D instanceof HTMLImageElement||typeof HTMLVideoElement<"u"&&D instanceof HTMLVideoElement||typeof ImageData<"u"&&D instanceof ImageData}var R=function(D,O){d.muls(D,O,255)};function A(D,O,U){var B=D.gl,Y=B.getParameter(B.MAX_TEXTURE_SIZE);if(O<0||O>Y||U<0||U>Y)throw new Error("gl-texture2d: Invalid texture size");return D._shape=[O,U],D.bind(),B.texImage2D(B.TEXTURE_2D,0,D.format,O,U,0,D.format,D.type,null),D._mipLevels=[0],D}function E(D,O,U,B,Y,z){this.gl=D,this.handle=O,this.format=Y,this.type=z,this._shape=[U,B],this._mipLevels=[0],this._magFilter=D.NEAREST,this._minFilter=D.NEAREST,this._wrapS=D.CLAMP_TO_EDGE,this._wrapT=D.CLAMP_TO_EDGE,this._anisoSamples=1;var V=this,j=[this._wrapS,this._wrapT];Object.defineProperties(j,[{get:function(){return V._wrapS},set:function(W){return V.wrapS=W}},{get:function(){return V._wrapT},set:function(W){return V.wrapT=W}}]),this._wrapVector=j;var G=[this._shape[0],this._shape[1]];Object.defineProperties(G,[{get:function(){return V._shape[0]},set:function(W){return V.width=W}},{get:function(){return V._shape[1]},set:function(W){return V.height=W}}]),this._shapeVector=G}var k=E.prototype;Object.defineProperties(k,{minFilter:{get:function(){return this._minFilter},set:function(D){this.bind();var O=this.gl;if(this.type===O.FLOAT&&b.indexOf(D)>=0&&(O.getExtension("OES_texture_float_linear")||(D=O.NEAREST)),x.indexOf(D)<0)throw new Error("gl-texture2d: Unknown filter mode "+D);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MIN_FILTER,D),this._minFilter=D}},magFilter:{get:function(){return this._magFilter},set:function(D){this.bind();var O=this.gl;if(this.type===O.FLOAT&&b.indexOf(D)>=0&&(O.getExtension("OES_texture_float_linear")||(D=O.NEAREST)),x.indexOf(D)<0)throw new Error("gl-texture2d: Unknown filter mode "+D);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MAG_FILTER,D),this._magFilter=D}},mipSamples:{get:function(){return this._anisoSamples},set:function(D){var O=this._anisoSamples;if(this._anisoSamples=Math.max(D,1)|0,O!==this._anisoSamples){var U=this.gl.getExtension("EXT_texture_filter_anisotropic");U&&this.gl.texParameterf(this.gl.TEXTURE_2D,U.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(D){if(this.bind(),y.indexOf(D)<0)throw new Error("gl-texture2d: Unknown wrap mode "+D);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,D),this._wrapS=D}},wrapT:{get:function(){return this._wrapT},set:function(D){if(this.bind(),y.indexOf(D)<0)throw new Error("gl-texture2d: Unknown wrap mode "+D);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,D),this._wrapT=D}},wrap:{get:function(){return this._wrapVector},set:function(D){if(Array.isArray(D)||(D=[D,D]),D.length!==2)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var O=0;O<2;++O)if(y.indexOf(D[O])<0)throw new Error("gl-texture2d: Unknown wrap mode "+D);this._wrapS=D[0],this._wrapT=D[1];var U=this.gl;return this.bind(),U.texParameteri(U.TEXTURE_2D,U.TEXTURE_WRAP_S,this._wrapS),U.texParameteri(U.TEXTURE_2D,U.TEXTURE_WRAP_T,this._wrapT),D}},shape:{get:function(){return this._shapeVector},set:function(D){if(!Array.isArray(D))D=[D|0,D|0];else if(D.length!==2)throw new Error("gl-texture2d: Invalid texture shape");return A(this,D[0]|0,D[1]|0),[D[0]|0,D[1]|0]}},width:{get:function(){return this._shape[0]},set:function(D){return D=D|0,A(this,D,this._shape[1]),D}},height:{get:function(){return this._shape[1]},set:function(D){return D=D|0,A(this,this._shape[0],D),D}}}),k.bind=function(D){var O=this.gl;return D!==void 0&&O.activeTexture(O.TEXTURE0+(D|0)),O.bindTexture(O.TEXTURE_2D,this.handle),D!==void 0?D|0:O.getParameter(O.ACTIVE_TEXTURE)-O.TEXTURE0},k.dispose=function(){this.gl.deleteTexture(this.handle)},k.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var D=Math.min(this._shape[0],this._shape[1]),O=0;D>0;++O,D>>>=1)this._mipLevels.indexOf(O)<0&&this._mipLevels.push(O)},k.setPixels=function(D,O,U,B){var Y=this.gl;this.bind(),Array.isArray(O)?(B=U,U=O[1]|0,O=O[0]|0):(O=O||0,U=U||0),B=B||0;var z=w(D)?D:D.raw;if(z){var V=this._mipLevels.indexOf(B)<0;V?(Y.texImage2D(Y.TEXTURE_2D,0,this.format,this.format,this.type,z),this._mipLevels.push(B)):Y.texSubImage2D(Y.TEXTURE_2D,B,O,U,this.format,this.type,z)}else if(D.shape&&D.stride&&D.data){if(D.shape.length<2||O+D.shape[1]>this._shape[1]>>>B||U+D.shape[0]>this._shape[0]>>>B||O<0||U<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");I(Y,O,U,B,this.format,this.type,this._mipLevels,D)}else throw new Error("gl-texture2d: Unsupported data type")};function L(D,O){return D.length===3?O[2]===1&&O[1]===D[0]*D[2]&&O[0]===D[2]:O[0]===1&&O[1]===D[0]}function I(D,O,U,B,Y,z,V,j){var G=j.dtype,W=j.shape.slice();if(W.length<2||W.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var X=0,Q=0,ae=L(W,j.stride.slice());if(G==="float32"?X=D.FLOAT:G==="float64"?(X=D.FLOAT,ae=!1,G="float32"):G==="uint8"?X=D.UNSIGNED_BYTE:(X=D.UNSIGNED_BYTE,ae=!1,G="uint8"),W.length===2)Q=D.LUMINANCE,W=[W[0],W[1],1],j=s(j.data,W,[j.stride[0],j.stride[1],1],j.offset);else if(W.length===3){if(W[2]===1)Q=D.ALPHA;else if(W[2]===2)Q=D.LUMINANCE_ALPHA;else if(W[2]===3)Q=D.RGB;else if(W[2]===4)Q=D.RGBA;else throw new Error("gl-texture2d: Invalid shape for pixel coords");W[2]}else throw new Error("gl-texture2d: Invalid shape for texture");if((Q===D.LUMINANCE||Q===D.ALPHA)&&(Y===D.LUMINANCE||Y===D.ALPHA)&&(Q=Y),Q!==Y)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var ie=j.size,he=V.indexOf(B)<0;if(he&&V.push(B),X===z&&ae)j.offset===0&&j.data.length===ie?he?D.texImage2D(D.TEXTURE_2D,B,Y,W[0],W[1],0,Y,z,j.data):D.texSubImage2D(D.TEXTURE_2D,B,O,U,W[0],W[1],Y,z,j.data):he?D.texImage2D(D.TEXTURE_2D,B,Y,W[0],W[1],0,Y,z,j.data.subarray(j.offset,j.offset+ie)):D.texSubImage2D(D.TEXTURE_2D,B,O,U,W[0],W[1],Y,z,j.data.subarray(j.offset,j.offset+ie));else{var J;z===D.FLOAT?J=f.mallocFloat32(ie):J=f.mallocUint8(ie);var Z=s(J,W,[W[2],W[2]*W[0],1]);X===D.FLOAT&&z===D.UNSIGNED_BYTE?R(Z,j):d.assign(Z,j),he?D.texImage2D(D.TEXTURE_2D,B,Y,W[0],W[1],0,Y,z,J.subarray(0,ie)):D.texSubImage2D(D.TEXTURE_2D,B,O,U,W[0],W[1],Y,z,J.subarray(0,ie)),z===D.FLOAT?f.freeFloat32(J):f.freeUint8(J)}}function P(D){var O=D.createTexture();return D.bindTexture(D.TEXTURE_2D,O),D.texParameteri(D.TEXTURE_2D,D.TEXTURE_MIN_FILTER,D.NEAREST),D.texParameteri(D.TEXTURE_2D,D.TEXTURE_MAG_FILTER,D.NEAREST),D.texParameteri(D.TEXTURE_2D,D.TEXTURE_WRAP_S,D.CLAMP_TO_EDGE),D.texParameteri(D.TEXTURE_2D,D.TEXTURE_WRAP_T,D.CLAMP_TO_EDGE),O}function M(D,O,U,B,Y){var z=D.getParameter(D.MAX_TEXTURE_SIZE);if(O<0||O>z||U<0||U>z)throw new Error("gl-texture2d: Invalid texture shape");if(Y===D.FLOAT&&!D.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var V=P(D);return D.texImage2D(D.TEXTURE_2D,0,B,O,U,0,B,Y,null),new E(D,V,O,U,B,Y)}function F(D,O,U,B,Y,z){var V=P(D);return D.texImage2D(D.TEXTURE_2D,0,Y,Y,z,O),new E(D,V,U,B,Y,z)}function N(D,O){var U=O.dtype,B=O.shape.slice(),Y=D.getParameter(D.MAX_TEXTURE_SIZE);if(B[0]<0||B[0]>Y||B[1]<0||B[1]>Y)throw new Error("gl-texture2d: Invalid texture size");var z=L(B,O.stride.slice()),V=0;U==="float32"?V=D.FLOAT:U==="float64"?(V=D.FLOAT,z=!1,U="float32"):U==="uint8"?V=D.UNSIGNED_BYTE:(V=D.UNSIGNED_BYTE,z=!1,U="uint8");var j=0;if(B.length===2)j=D.LUMINANCE,B=[B[0],B[1],1],O=s(O.data,B,[O.stride[0],O.stride[1],1],O.offset);else if(B.length===3)if(B[2]===1)j=D.ALPHA;else if(B[2]===2)j=D.LUMINANCE_ALPHA;else if(B[2]===3)j=D.RGB;else if(B[2]===4)j=D.RGBA;else throw new Error("gl-texture2d: Invalid shape for pixel coords");else throw new Error("gl-texture2d: Invalid shape for texture");V===D.FLOAT&&!D.getExtension("OES_texture_float")&&(V=D.UNSIGNED_BYTE,z=!1);var G,W,X=O.size;if(z)O.offset===0&&O.data.length===X?G=O.data:G=O.data.subarray(O.offset,O.offset+X);else{var Q=[B[2],B[2]*B[0],1];W=f.malloc(X,U);var ae=s(W,B,Q,0);(U==="float32"||U==="float64")&&V===D.UNSIGNED_BYTE?R(ae,O):d.assign(ae,O),G=W.subarray(0,X)}var ie=P(D);return D.texImage2D(D.TEXTURE_2D,0,j,B[0],B[1],0,j,V,G),z||f.free(W),new E(D,ie,B[0],B[1],j,V)}function T(D){if(arguments.length<=1)throw new Error("gl-texture2d: Missing arguments for texture2d constructor");if(b||C(D),typeof arguments[1]=="number")return M(D,arguments[1],arguments[2],arguments[3]||D.RGBA,arguments[4]||D.UNSIGNED_BYTE);if(Array.isArray(arguments[1]))return M(D,arguments[1][0]|0,arguments[1][1]|0,arguments[2]||D.RGBA,arguments[3]||D.UNSIGNED_BYTE);if(typeof arguments[1]=="object"){var O=arguments[1],U=w(O)?O:O.raw;if(U)return F(D,U,O.width|0,O.height|0,arguments[2]||D.RGBA,arguments[3]||D.UNSIGNED_BYTE);if(O.shape&&O.data&&O.stride)return N(D,O)}throw new Error("gl-texture2d: Invalid arguments for texture2d constructor")}},3056:function(p){function _(c,s,d){s?s.bind():c.bindBuffer(c.ELEMENT_ARRAY_BUFFER,null);var f=c.getParameter(c.MAX_VERTEX_ATTRIBS)|0;if(d){if(d.length>f)throw new Error("gl-vao: Too many vertex attributes");for(var b=0;b<d.length;++b){var x=d[b];if(x.buffer){var y=x.buffer,C=x.size||4,w=x.type||c.FLOAT,R=!!x.normalized,A=x.stride||0,E=x.offset||0;y.bind(),c.enableVertexAttribArray(b),c.vertexAttribPointer(b,C,w,R,A,E)}else{if(typeof x=="number")c.vertexAttrib1f(b,x);else if(x.length===1)c.vertexAttrib1f(b,x[0]);else if(x.length===2)c.vertexAttrib2f(b,x[0],x[1]);else if(x.length===3)c.vertexAttrib3f(b,x[0],x[1],x[2]);else if(x.length===4)c.vertexAttrib4f(b,x[0],x[1],x[2],x[3]);else throw new Error("gl-vao: Invalid vertex attribute");c.disableVertexAttribArray(b)}}for(;b<f;++b)c.disableVertexAttribArray(b)}else{c.bindBuffer(c.ARRAY_BUFFER,null);for(var b=0;b<f;++b)c.disableVertexAttribArray(b)}}p.exports=_},7220:function(p,_,c){var s=c(3056);function d(b){this.gl=b,this._elements=null,this._attributes=null,this._elementsType=b.UNSIGNED_SHORT}d.prototype.bind=function(){s(this.gl,this._elements,this._attributes)},d.prototype.update=function(b,x,y){this._elements=x,this._attributes=b,this._elementsType=y||this.gl.UNSIGNED_SHORT},d.prototype.dispose=function(){},d.prototype.unbind=function(){},d.prototype.draw=function(b,x,y){y=y||0;var C=this.gl;this._elements?C.drawElements(b,x,this._elementsType,y):C.drawArrays(b,y,x)};function f(b){return new d(b)}p.exports=f},3778:function(p,_,c){var s=c(3056);function d(x,y,C,w,R,A){this.location=x,this.dimension=y,this.a=C,this.b=w,this.c=R,this.d=A}d.prototype.bind=function(x){switch(this.dimension){case 1:x.vertexAttrib1f(this.location,this.a);break;case 2:x.vertexAttrib2f(this.location,this.a,this.b);break;case 3:x.vertexAttrib3f(this.location,this.a,this.b,this.c);break;case 4:x.vertexAttrib4f(this.location,this.a,this.b,this.c,this.d);break}};function f(x,y,C){this.gl=x,this._ext=y,this.handle=C,this._attribs=[],this._useElements=!1,this._elementsType=x.UNSIGNED_SHORT}f.prototype.bind=function(){this._ext.bindVertexArrayOES(this.handle);for(var x=0;x<this._attribs.length;++x)this._attribs[x].bind(this.gl)},f.prototype.unbind=function(){this._ext.bindVertexArrayOES(null)},f.prototype.dispose=function(){this._ext.deleteVertexArrayOES(this.handle)},f.prototype.update=function(x,y,C){if(this.bind(),s(this.gl,y,x),this.unbind(),this._attribs.length=0,x)for(var w=0;w<x.length;++w){var R=x[w];typeof R=="number"?this._attribs.push(new d(w,1,R)):Array.isArray(R)&&this._attribs.push(new d(w,R.length,R[0],R[1],R[2],R[3]))}this._useElements=!!y,this._elementsType=C||this.gl.UNSIGNED_SHORT},f.prototype.draw=function(x,y,C){C=C||0;var w=this.gl;this._useElements?w.drawElements(x,y,this._elementsType,C):w.drawArrays(x,C,y)};function b(x,y){return new f(x,y,y.createVertexArrayOES())}p.exports=b},2944:function(p,_,c){var s=c(3778),d=c(7220);function f(x){this.bindVertexArrayOES=x.bindVertexArray.bind(x),this.createVertexArrayOES=x.createVertexArray.bind(x),this.deleteVertexArrayOES=x.deleteVertexArray.bind(x)}function b(x,y,C,w){var R=x.createVertexArray?new f(x):x.getExtension("OES_vertex_array_object"),A;return R?A=s(x,R):A=d(x),A.update(y,C,w),A}p.exports=b},2598:function(p){p.exports=_;function _(c,s,d){return c[0]=s[0]+d[0],c[1]=s[1]+d[1],c[2]=s[2]+d[2],c}},5879:function(p,_,c){p.exports=b;var s=c(5415),d=c(899),f=c(9305);function b(x,y){var C=s(x[0],x[1],x[2]),w=s(y[0],y[1],y[2]);d(C,C),d(w,w);var R=f(C,w);return R>1?0:Math.acos(R)}},8827:function(p){p.exports=_;function _(c,s){return c[0]=Math.ceil(s[0]),c[1]=Math.ceil(s[1]),c[2]=Math.ceil(s[2]),c}},7622:function(p){p.exports=_;function _(c){var s=new Float32Array(3);return s[0]=c[0],s[1]=c[1],s[2]=c[2],s}},8782:function(p){p.exports=_;function _(c,s){return c[0]=s[0],c[1]=s[1],c[2]=s[2],c}},8501:function(p){p.exports=_;function _(){var c=new Float32Array(3);return c[0]=0,c[1]=0,c[2]=0,c}},903:function(p){p.exports=_;function _(c,s,d){var f=s[0],b=s[1],x=s[2],y=d[0],C=d[1],w=d[2];return c[0]=b*w-x*C,c[1]=x*y-f*w,c[2]=f*C-b*y,c}},5981:function(p,_,c){p.exports=c(8288)},8288:function(p){p.exports=_;function _(c,s){var d=s[0]-c[0],f=s[1]-c[1],b=s[2]-c[2];return Math.sqrt(d*d+f*f+b*b)}},8629:function(p,_,c){p.exports=c(7979)},7979:function(p){p.exports=_;function _(c,s,d){return c[0]=s[0]/d[0],c[1]=s[1]/d[1],c[2]=s[2]/d[2],c}},9305:function(p){p.exports=_;function _(c,s){return c[0]*s[0]+c[1]*s[1]+c[2]*s[2]}},154:function(p){p.exports=1e-6},4932:function(p,_,c){p.exports=d;var s=c(154);function d(f,b){var x=f[0],y=f[1],C=f[2],w=b[0],R=b[1],A=b[2];return Math.abs(x-w)<=s*Math.max(1,Math.abs(x),Math.abs(w))&&Math.abs(y-R)<=s*Math.max(1,Math.abs(y),Math.abs(R))&&Math.abs(C-A)<=s*Math.max(1,Math.abs(C),Math.abs(A))}},5777:function(p){p.exports=_;function _(c,s){return c[0]===s[0]&&c[1]===s[1]&&c[2]===s[2]}},3306:function(p){p.exports=_;function _(c,s){return c[0]=Math.floor(s[0]),c[1]=Math.floor(s[1]),c[2]=Math.floor(s[2]),c}},7447:function(p,_,c){p.exports=d;var s=c(8501)();function d(f,b,x,y,C,w){var R,A;for(b||(b=3),x||(x=0),y?A=Math.min(y*b+x,f.length):A=f.length,R=x;R<A;R+=b)s[0]=f[R],s[1]=f[R+1],s[2]=f[R+2],C(s,s,w),f[R]=s[0],f[R+1]=s[1],f[R+2]=s[2];return f}},5415:function(p){p.exports=_;function _(c,s,d){var f=new Float32Array(3);return f[0]=c,f[1]=s,f[2]=d,f}},2858:function(p,_,c){p.exports={EPSILON:c(154),create:c(8501),clone:c(7622),angle:c(5879),fromValues:c(5415),copy:c(8782),set:c(831),equals:c(4932),exactEquals:c(5777),add:c(2598),subtract:c(911),sub:c(8921),multiply:c(105),mul:c(5733),divide:c(7979),div:c(8629),min:c(3605),max:c(1716),floor:c(3306),ceil:c(8827),round:c(1624),scale:c(5685),scaleAndAdd:c(6722),distance:c(8288),dist:c(5981),squaredDistance:c(6403),sqrDist:c(5294),length:c(4693),len:c(1468),squaredLength:c(4337),sqrLen:c(3303),negate:c(435),inverse:c(2073),normalize:c(899),dot:c(9305),cross:c(903),lerp:c(1868),random:c(6660),transformMat4:c(3255),transformMat3:c(9908),transformQuat:c(6568),rotateX:c(392),rotateY:c(3222),rotateZ:c(3388),forEach:c(7447)}},2073:function(p){p.exports=_;function _(c,s){return c[0]=1/s[0],c[1]=1/s[1],c[2]=1/s[2],c}},1468:function(p,_,c){p.exports=c(4693)},4693:function(p){p.exports=_;function _(c){var s=c[0],d=c[1],f=c[2];return Math.sqrt(s*s+d*d+f*f)}},1868:function(p){p.exports=_;function _(c,s,d,f){var b=s[0],x=s[1],y=s[2];return c[0]=b+f*(d[0]-b),c[1]=x+f*(d[1]-x),c[2]=y+f*(d[2]-y),c}},1716:function(p){p.exports=_;function _(c,s,d){return c[0]=Math.max(s[0],d[0]),c[1]=Math.max(s[1],d[1]),c[2]=Math.max(s[2],d[2]),c}},3605:function(p){p.exports=_;function _(c,s,d){return c[0]=Math.min(s[0],d[0]),c[1]=Math.min(s[1],d[1]),c[2]=Math.min(s[2],d[2]),c}},5733:function(p,_,c){p.exports=c(105)},105:function(p){p.exports=_;function _(c,s,d){return c[0]=s[0]*d[0],c[1]=s[1]*d[1],c[2]=s[2]*d[2],c}},435:function(p){p.exports=_;function _(c,s){return c[0]=-s[0],c[1]=-s[1],c[2]=-s[2],c}},899:function(p){p.exports=_;function _(c,s){var d=s[0],f=s[1],b=s[2],x=d*d+f*f+b*b;return x>0&&(x=1/Math.sqrt(x),c[0]=s[0]*x,c[1]=s[1]*x,c[2]=s[2]*x),c}},6660:function(p){p.exports=_;function _(c,s){s=s||1;var d=Math.random()*2*Math.PI,f=Math.random()*2-1,b=Math.sqrt(1-f*f)*s;return c[0]=Math.cos(d)*b,c[1]=Math.sin(d)*b,c[2]=f*s,c}},392:function(p){p.exports=_;function _(c,s,d,f){var b=d[1],x=d[2],y=s[1]-b,C=s[2]-x,w=Math.sin(f),R=Math.cos(f);return c[0]=s[0],c[1]=b+y*R-C*w,c[2]=x+y*w+C*R,c}},3222:function(p){p.exports=_;function _(c,s,d,f){var b=d[0],x=d[2],y=s[0]-b,C=s[2]-x,w=Math.sin(f),R=Math.cos(f);return c[0]=b+C*w+y*R,c[1]=s[1],c[2]=x+C*R-y*w,c}},3388:function(p){p.exports=_;function _(c,s,d,f){var b=d[0],x=d[1],y=s[0]-b,C=s[1]-x,w=Math.sin(f),R=Math.cos(f);return c[0]=b+y*R-C*w,c[1]=x+y*w+C*R,c[2]=s[2],c}},1624:function(p){p.exports=_;function _(c,s){return c[0]=Math.round(s[0]),c[1]=Math.round(s[1]),c[2]=Math.round(s[2]),c}},5685:function(p){p.exports=_;function _(c,s,d){return c[0]=s[0]*d,c[1]=s[1]*d,c[2]=s[2]*d,c}},6722:function(p){p.exports=_;function _(c,s,d,f){return c[0]=s[0]+d[0]*f,c[1]=s[1]+d[1]*f,c[2]=s[2]+d[2]*f,c}},831:function(p){p.exports=_;function _(c,s,d,f){return c[0]=s,c[1]=d,c[2]=f,c}},5294:function(p,_,c){p.exports=c(6403)},3303:function(p,_,c){p.exports=c(4337)},6403:function(p){p.exports=_;function _(c,s){var d=s[0]-c[0],f=s[1]-c[1],b=s[2]-c[2];return d*d+f*f+b*b}},4337:function(p){p.exports=_;function _(c){var s=c[0],d=c[1],f=c[2];return s*s+d*d+f*f}},8921:function(p,_,c){p.exports=c(911)},911:function(p){p.exports=_;function _(c,s,d){return c[0]=s[0]-d[0],c[1]=s[1]-d[1],c[2]=s[2]-d[2],c}},9908:function(p){p.exports=_;function _(c,s,d){var f=s[0],b=s[1],x=s[2];return c[0]=f*d[0]+b*d[3]+x*d[6],c[1]=f*d[1]+b*d[4]+x*d[7],c[2]=f*d[2]+b*d[5]+x*d[8],c}},3255:function(p){p.exports=_;function _(c,s,d){var f=s[0],b=s[1],x=s[2],y=d[3]*f+d[7]*b+d[11]*x+d[15];return y=y||1,c[0]=(d[0]*f+d[4]*b+d[8]*x+d[12])/y,c[1]=(d[1]*f+d[5]*b+d[9]*x+d[13])/y,c[2]=(d[2]*f+d[6]*b+d[10]*x+d[14])/y,c}},6568:function(p){p.exports=_;function _(c,s,d){var f=s[0],b=s[1],x=s[2],y=d[0],C=d[1],w=d[2],R=d[3],A=R*f+C*x-w*b,E=R*b+w*f-y*x,k=R*x+y*b-C*f,L=-y*f-C*b-w*x;return c[0]=A*R+L*-y+E*-w-k*-C,c[1]=E*R+L*-C+k*-y-A*-w,c[2]=k*R+L*-w+A*-C-E*-y,c}},3433:function(p){p.exports=_;function _(c,s,d){return c[0]=s[0]+d[0],c[1]=s[1]+d[1],c[2]=s[2]+d[2],c[3]=s[3]+d[3],c}},1413:function(p){p.exports=_;function _(c){var s=new Float32Array(4);return s[0]=c[0],s[1]=c[1],s[2]=c[2],s[3]=c[3],s}},3470:function(p){p.exports=_;function _(c,s){return c[0]=s[0],c[1]=s[1],c[2]=s[2],c[3]=s[3],c}},5313:function(p){p.exports=_;function _(){var c=new Float32Array(4);return c[0]=0,c[1]=0,c[2]=0,c[3]=0,c}},5446:function(p){p.exports=_;function _(c,s){var d=s[0]-c[0],f=s[1]-c[1],b=s[2]-c[2],x=s[3]-c[3];return Math.sqrt(d*d+f*f+b*b+x*x)}},205:function(p){p.exports=_;function _(c,s,d){return c[0]=s[0]/d[0],c[1]=s[1]/d[1],c[2]=s[2]/d[2],c[3]=s[3]/d[3],c}},4242:function(p){p.exports=_;function _(c,s){return c[0]*s[0]+c[1]*s[1]+c[2]*s[2]+c[3]*s[3]}},5680:function(p){p.exports=_;function _(c,s,d,f){var b=new Float32Array(4);return b[0]=c,b[1]=s,b[2]=d,b[3]=f,b}},4020:function(p,_,c){p.exports={create:c(5313),clone:c(1413),fromValues:c(5680),copy:c(3470),set:c(6453),add:c(3433),subtract:c(2705),multiply:c(746),divide:c(205),min:c(2170),max:c(3030),scale:c(5510),scaleAndAdd:c(4224),distance:c(5446),squaredDistance:c(1542),length:c(8177),squaredLength:c(9037),negate:c(6459),inverse:c(8057),normalize:c(381),dot:c(4242),lerp:c(8746),random:c(3770),transformMat4:c(6342),transformQuat:c(5022)}},8057:function(p){p.exports=_;function _(c,s){return c[0]=1/s[0],c[1]=1/s[1],c[2]=1/s[2],c[3]=1/s[3],c}},8177:function(p){p.exports=_;function _(c){var s=c[0],d=c[1],f=c[2],b=c[3];return Math.sqrt(s*s+d*d+f*f+b*b)}},8746:function(p){p.exports=_;function _(c,s,d,f){var b=s[0],x=s[1],y=s[2],C=s[3];return c[0]=b+f*(d[0]-b),c[1]=x+f*(d[1]-x),c[2]=y+f*(d[2]-y),c[3]=C+f*(d[3]-C),c}},3030:function(p){p.exports=_;function _(c,s,d){return c[0]=Math.max(s[0],d[0]),c[1]=Math.max(s[1],d[1]),c[2]=Math.max(s[2],d[2]),c[3]=Math.max(s[3],d[3]),c}},2170:function(p){p.exports=_;function _(c,s,d){return c[0]=Math.min(s[0],d[0]),c[1]=Math.min(s[1],d[1]),c[2]=Math.min(s[2],d[2]),c[3]=Math.min(s[3],d[3]),c}},746:function(p){p.exports=_;function _(c,s,d){return c[0]=s[0]*d[0],c[1]=s[1]*d[1],c[2]=s[2]*d[2],c[3]=s[3]*d[3],c}},6459:function(p){p.exports=_;function _(c,s){return c[0]=-s[0],c[1]=-s[1],c[2]=-s[2],c[3]=-s[3],c}},381:function(p){p.exports=_;function _(c,s){var d=s[0],f=s[1],b=s[2],x=s[3],y=d*d+f*f+b*b+x*x;return y>0&&(y=1/Math.sqrt(y),c[0]=d*y,c[1]=f*y,c[2]=b*y,c[3]=x*y),c}},3770:function(p,_,c){var s=c(381),d=c(5510);p.exports=f;function f(b,x){return x=x||1,b[0]=Math.random(),b[1]=Math.random(),b[2]=Math.random(),b[3]=Math.random(),s(b,b),d(b,b,x),b}},5510:function(p){p.exports=_;function _(c,s,d){return c[0]=s[0]*d,c[1]=s[1]*d,c[2]=s[2]*d,c[3]=s[3]*d,c}},4224:function(p){p.exports=_;function _(c,s,d,f){return c[0]=s[0]+d[0]*f,c[1]=s[1]+d[1]*f,c[2]=s[2]+d[2]*f,c[3]=s[3]+d[3]*f,c}},6453:function(p){p.exports=_;function _(c,s,d,f,b){return c[0]=s,c[1]=d,c[2]=f,c[3]=b,c}},1542:function(p){p.exports=_;function _(c,s){var d=s[0]-c[0],f=s[1]-c[1],b=s[2]-c[2],x=s[3]-c[3];return d*d+f*f+b*b+x*x}},9037:function(p){p.exports=_;function _(c){var s=c[0],d=c[1],f=c[2],b=c[3];return s*s+d*d+f*f+b*b}},2705:function(p){p.exports=_;function _(c,s,d){return c[0]=s[0]-d[0],c[1]=s[1]-d[1],c[2]=s[2]-d[2],c[3]=s[3]-d[3],c}},6342:function(p){p.exports=_;function _(c,s,d){var f=s[0],b=s[1],x=s[2],y=s[3];return c[0]=d[0]*f+d[4]*b+d[8]*x+d[12]*y,c[1]=d[1]*f+d[5]*b+d[9]*x+d[13]*y,c[2]=d[2]*f+d[6]*b+d[10]*x+d[14]*y,c[3]=d[3]*f+d[7]*b+d[11]*x+d[15]*y,c}},5022:function(p){p.exports=_;function _(c,s,d){var f=s[0],b=s[1],x=s[2],y=d[0],C=d[1],w=d[2],R=d[3],A=R*f+C*x-w*b,E=R*b+w*f-y*x,k=R*x+y*b-C*f,L=-y*f-C*b-w*x;return c[0]=A*R+L*-y+E*-w-k*-C,c[1]=E*R+L*-C+k*-y-A*-w,c[2]=k*R+L*-w+A*-C-E*-y,c[3]=s[3],c}},9365:function(p,_,c){var s=c(8096),d=c(7896);p.exports=f;function f(b){for(var x=Array.isArray(b)?b:s(b),y=0;y<x.length;y++){var C=x[y];if(C.type==="preprocessor"){var w=C.data.match(/\#define\s+SHADER_NAME(_B64)?\s+(.+)$/);if(w&&w[2]){var R=w[1],A=w[2];return(R?d(A):A).trim()}}}}},3193:function(p,_,c){p.exports=O;var s=c(399),d=c(9746),f=c(9525),b=c(9458),x=c(3585),y=999,C=9999,w=0,R=1,A=2,E=3,k=4,L=5,I=6,P=7,M=8,F=9,N=10,T=11,D=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"];function O(U){var B=0,Y=0,z=y,V,j,G=[],W=[],X=1,Q=0,ae=0,ie=!1,he=!1,J="",Z;U=U||{};var le=f,K=s;U.version==="300 es"&&(le=x,K=b);for(var te={},ce={},B=0;B<le.length;B++)te[le[B]]=!0;for(var B=0;B<K.length;B++)ce[K[B]]=!0;return function(ze){return W=[],ze!==null?ee(ze):de()};function re(ze){ze.length&&W.push({type:D[z],data:ze,position:ae,line:X,column:Q})}function ee(ze){B=0,ze.toString&&(ze=ze.toString()),J+=ze.replace(/\r\n/g,`
`),Z=J.length;for(var Fe;V=J[B],B<Z;){switch(Fe=B,z){case w:B=we();break;case R:B=Te();break;case A:B=me();break;case E:B=Be();break;case k:B=be();break;case T:B=Re();break;case L:B=Pe();break;case C:B=Ke();break;case F:B=fe();break;case y:B=oe();break}if(Fe!==B)switch(J[Fe]){case`
`:Q=0,++X;break;default:++Q;break}}return Y+=B,J=J.slice(B),W}function de(ze){return G.length&&re(G.join("")),z=N,re("(eof)"),W}function oe(){return G=G.length?[]:G,j==="/"&&V==="*"?(ae=Y+B-1,z=w,j=V,B+1):j==="/"&&V==="/"?(ae=Y+B-1,z=R,j=V,B+1):V==="#"?(z=A,ae=Y+B,B):/\s/.test(V)?(z=F,ae=Y+B,B):(ie=/\d/.test(V),he=/[^\w_]/.test(V),ae=Y+B,z=ie?k:he?E:C,B)}function fe(){return/[^\s]/g.test(V)?(re(G.join("")),z=y,B):(G.push(V),j=V,B+1)}function me(){return(V==="\r"||V===`
`)&&j!=="\\"?(re(G.join("")),z=y,B):(G.push(V),j=V,B+1)}function Te(){return me()}function we(){return V==="/"&&j==="*"?(G.push(V),re(G.join("")),z=y,B+1):(G.push(V),j=V,B+1)}function Be(){if(j==="."&&/\d/.test(V))return z=L,B;if(j==="/"&&V==="*")return z=w,B;if(j==="/"&&V==="/")return z=R,B;if(V==="."&&G.length){for(;Ae(G););return z=L,B}if(V===";"||V===")"||V==="("){if(G.length)for(;Ae(G););return re(V),z=y,B+1}var ze=G.length===2&&V!=="=";if(/[\w_\d\s]/.test(V)||ze){for(;Ae(G););return z=y,B}return G.push(V),j=V,B+1}function Ae(ze){var Fe=0,We,lt;do{if(We=d.indexOf(ze.slice(0,ze.length+Fe).join("")),lt=d[We],We===-1){if(Fe--+ze.length>0)continue;lt=ze.slice(0,1).join("")}return re(lt),ae+=lt.length,G=G.slice(lt.length),G.length}while(!0)}function Re(){return/[^a-fA-F0-9]/.test(V)?(re(G.join("")),z=y,B):(G.push(V),j=V,B+1)}function be(){return V==="."||/[eE]/.test(V)?(G.push(V),z=L,j=V,B+1):V==="x"&&G.length===1&&G[0]==="0"?(z=T,G.push(V),j=V,B+1):/[^\d]/.test(V)?(re(G.join("")),z=y,B):(G.push(V),j=V,B+1)}function Pe(){return V==="f"&&(G.push(V),j=V,B+=1),/[eE]/.test(V)||(V==="-"||V==="+")&&/[eE]/.test(j)?(G.push(V),j=V,B+1):/[^\d]/.test(V)?(re(G.join("")),z=y,B):(G.push(V),j=V,B+1)}function Ke(){if(/[^\d\w_]/.test(V)){var ze=G.join("");return ce[ze]?z=M:te[ze]?z=P:z=I,re(G.join("")),z=y,B}return G.push(V),j=V,B+1}}},3585:function(p,_,c){var s=c(9525);s=s.slice().filter(function(d){return!/^(gl\_|texture)/.test(d)}),p.exports=s.concat(["gl_VertexID","gl_InstanceID","gl_Position","gl_PointSize","gl_FragCoord","gl_FrontFacing","gl_FragDepth","gl_PointCoord","gl_MaxVertexAttribs","gl_MaxVertexUniformVectors","gl_MaxVertexOutputVectors","gl_MaxFragmentInputVectors","gl_MaxVertexTextureImageUnits","gl_MaxCombinedTextureImageUnits","gl_MaxTextureImageUnits","gl_MaxFragmentUniformVectors","gl_MaxDrawBuffers","gl_MinProgramTexelOffset","gl_MaxProgramTexelOffset","gl_DepthRangeParameters","gl_DepthRange","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"])},9525:function(p){p.exports=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT"]},9458:function(p,_,c){var s=c(399);p.exports=s.slice().concat(["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray"])},399:function(p){p.exports=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","uint","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"]},9746:function(p){p.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},8096:function(p,_,c){var s=c(3193);p.exports=d;function d(f,b){var x=s(b),y=[];return y=y.concat(x(f)),y=y.concat(x(null)),y}},6832:function(p){p.exports=function(_){typeof _=="string"&&(_=[_]);for(var c=[].slice.call(arguments,1),s=[],d=0;d<_.length-1;d++)s.push(_[d],c[d]||"");return s.push(_[d]),s.join("")}},5233:function(p,_,c){var s=c(4846);function d(){var f=!1;try{var b=Object.defineProperty({},"passive",{get:function(){f=!0}});window.addEventListener("test",null,b),window.removeEventListener("test",null,b)}catch{f=!1}return f}p.exports=s&&d()},2183:function(p,_,c){p.exports=E;var s=c(417),d=c(8211).H;function f(k,L,I){this.vertices=k,this.adjacent=L,this.boundary=I,this.lastVisited=-1}f.prototype.flip=function(){var k=this.vertices[0];this.vertices[0]=this.vertices[1],this.vertices[1]=k;var L=this.adjacent[0];this.adjacent[0]=this.adjacent[1],this.adjacent[1]=L};function b(k,L,I){this.vertices=k,this.cell=L,this.index=I}function x(k,L){return d(k.vertices,L.vertices)}function y(k){return function(){var L=this.tuple;return k.apply(this,L)}}function C(k){var L=s[k+1];return L||(L=s),y(L)}var w=[];function R(k,L,I){this.dimension=k,this.vertices=L,this.simplices=I,this.interior=I.filter(function(F){return!F.boundary}),this.tuple=new Array(k+1);for(var P=0;P<=k;++P)this.tuple[P]=this.vertices[P];var M=w[k];M||(M=w[k]=C(k)),this.orient=M}var A=R.prototype;A.handleBoundaryDegeneracy=function(k,L){var I=this.dimension,P=this.vertices.length-1,M=this.tuple,F=this.vertices,N=[k];for(k.lastVisited=-P;N.length>0;){k=N.pop();for(var T=k.adjacent,D=0;D<=I;++D){var O=T[D];if(!(!O.boundary||O.lastVisited<=-P)){for(var U=O.vertices,B=0;B<=I;++B){var Y=U[B];Y<0?M[B]=L:M[B]=F[Y]}var z=this.orient();if(z>0)return O;O.lastVisited=-P,z===0&&N.push(O)}}}return null},A.walk=function(k,L){var I=this.vertices.length-1,P=this.dimension,M=this.vertices,F=this.tuple,N=L?this.interior.length*Math.random()|0:this.interior.length-1,T=this.interior[N];e:for(;!T.boundary;){for(var D=T.vertices,O=T.adjacent,U=0;U<=P;++U)F[U]=M[D[U]];T.lastVisited=I;for(var U=0;U<=P;++U){var B=O[U];if(!(B.lastVisited>=I)){var Y=F[U];F[U]=k;var z=this.orient();if(F[U]=Y,z<0){T=B;continue e}else B.boundary?B.lastVisited=-I:B.lastVisited=I}}return}return T},A.addPeaks=function(k,L){var I=this.vertices.length-1,P=this.dimension,M=this.vertices,F=this.tuple,N=this.interior,T=this.simplices,D=[L];L.lastVisited=I,L.vertices[L.vertices.indexOf(-1)]=I,L.boundary=!1,N.push(L);for(var O=[];D.length>0;){var L=D.pop(),U=L.vertices,B=L.adjacent,Y=U.indexOf(I);if(!(Y<0)){for(var z=0;z<=P;++z)if(z!==Y){var V=B[z];if(!(!V.boundary||V.lastVisited>=I)){var j=V.vertices;if(V.lastVisited!==-I){for(var G=0,W=0;W<=P;++W)j[W]<0?(G=W,F[W]=k):F[W]=M[j[W]];var X=this.orient();if(X>0){j[G]=I,V.boundary=!1,N.push(V),D.push(V),V.lastVisited=I;continue}else V.lastVisited=-I}var Q=V.adjacent,ae=U.slice(),ie=B.slice(),he=new f(ae,ie,!0);T.push(he);var J=Q.indexOf(L);if(!(J<0)){Q[J]=he,ie[Y]=V,ae[z]=-1,ie[z]=L,B[z]=he,he.flip();for(var W=0;W<=P;++W){var Z=ae[W];if(!(Z<0||Z===I)){for(var le=new Array(P-1),K=0,te=0;te<=P;++te){var ce=ae[te];ce<0||te===W||(le[K++]=ce)}O.push(new b(le,he,W))}}}}}}}O.sort(x);for(var z=0;z+1<O.length;z+=2){var re=O[z],ee=O[z+1],de=re.index,oe=ee.index;de<0||oe<0||(re.cell.adjacent[re.index]=ee.cell,ee.cell.adjacent[ee.index]=re.cell)}},A.insert=function(k,L){var I=this.vertices;I.push(k);var P=this.walk(k,L);if(P){for(var M=this.dimension,F=this.tuple,N=0;N<=M;++N){var T=P.vertices[N];T<0?F[N]=k:F[N]=I[T]}var D=this.orient(F);D<0||D===0&&(P=this.handleBoundaryDegeneracy(P,k),!P)||this.addPeaks(k,P)}},A.boundary=function(){for(var k=this.dimension,L=[],I=this.simplices,P=I.length,M=0;M<P;++M){var F=I[M];if(F.boundary){for(var N=new Array(k),T=F.vertices,D=0,O=0,U=0;U<=k;++U)T[U]>=0?N[D++]=T[U]:O=U&1;if(O===(k&1)){var B=N[0];N[0]=N[1],N[1]=B}L.push(N)}}return L};function E(k,L){var I=k.length;if(I===0)throw new Error("Must have at least d+1 points");var P=k[0].length;if(I<=P)throw new Error("Must input at least d+1 points");var M=k.slice(0,P+1),F=s.apply(void 0,M);if(F===0)throw new Error("Input not in general position");for(var N=new Array(P+1),T=0;T<=P;++T)N[T]=T;F<0&&(N[0]=1,N[1]=0);for(var D=new f(N,new Array(P+1),!1),O=D.adjacent,U=new Array(P+2),T=0;T<=P;++T){for(var B=N.slice(),Y=0;Y<=P;++Y)Y===T&&(B[Y]=-1);var z=B[0];B[0]=B[1],B[1]=z;var V=new f(B,new Array(P+1),!0);O[T]=V,U[T]=V}U[P+1]=D;for(var T=0;T<=P;++T)for(var B=O[T].vertices,j=O[T].adjacent,Y=0;Y<=P;++Y){var G=B[Y];if(G<0){j[Y]=D;continue}for(var W=0;W<=P;++W)O[W].vertices.indexOf(G)<0&&(j[Y]=O[W])}for(var X=new R(P,M,U),Q=!!L,T=P+1;T<I;++T)X.insert(k[T],Q);return X.boundary()}},9014:function(p,_,c){var s=c(5070),d=0,f=1,b=2;p.exports=D;function x(O,U,B,Y,z){this.mid=O,this.left=U,this.right=B,this.leftPoints=Y,this.rightPoints=z,this.count=(U?U.count:0)+(B?B.count:0)+Y.length}var y=x.prototype;function C(O,U){O.mid=U.mid,O.left=U.left,O.right=U.right,O.leftPoints=U.leftPoints,O.rightPoints=U.rightPoints,O.count=U.count}function w(O,U){var B=F(U);O.mid=B.mid,O.left=B.left,O.right=B.right,O.leftPoints=B.leftPoints,O.rightPoints=B.rightPoints,O.count=B.count}function R(O,U){var B=O.intervals([]);B.push(U),w(O,B)}function A(O,U){var B=O.intervals([]),Y=B.indexOf(U);return Y<0?d:(B.splice(Y,1),w(O,B),f)}y.intervals=function(O){return O.push.apply(O,this.leftPoints),this.left&&this.left.intervals(O),this.right&&this.right.intervals(O),O},y.insert=function(O){var U=this.count-this.leftPoints.length;if(this.count+=1,O[1]<this.mid)this.left?4*(this.left.count+1)>3*(U+1)?R(this,O):this.left.insert(O):this.left=F([O]);else if(O[0]>this.mid)this.right?4*(this.right.count+1)>3*(U+1)?R(this,O):this.right.insert(O):this.right=F([O]);else{var B=s.ge(this.leftPoints,O,P),Y=s.ge(this.rightPoints,O,M);this.leftPoints.splice(B,0,O),this.rightPoints.splice(Y,0,O)}},y.remove=function(O){var U=this.count-this.leftPoints;if(O[1]<this.mid){if(!this.left)return d;var B=this.right?this.right.count:0;if(4*B>3*(U-1))return A(this,O);var Y=this.left.remove(O);return Y===b?(this.left=null,this.count-=1,f):(Y===f&&(this.count-=1),Y)}else if(O[0]>this.mid){if(!this.right)return d;var z=this.left?this.left.count:0;if(4*z>3*(U-1))return A(this,O);var Y=this.right.remove(O);return Y===b?(this.right=null,this.count-=1,f):(Y===f&&(this.count-=1),Y)}else{if(this.count===1)return this.leftPoints[0]===O?b:d;if(this.leftPoints.length===1&&this.leftPoints[0]===O){if(this.left&&this.right){for(var V=this,j=this.left;j.right;)V=j,j=j.right;if(V===this)j.right=this.right;else{var G=this.left,Y=this.right;V.count-=j.count,V.right=j.left,j.left=G,j.right=Y}C(this,j),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?C(this,this.left):C(this,this.right);return f}for(var G=s.ge(this.leftPoints,O,P);G<this.leftPoints.length&&this.leftPoints[G][0]===O[0];++G)if(this.leftPoints[G]===O){this.count-=1,this.leftPoints.splice(G,1);for(var Y=s.ge(this.rightPoints,O,M);Y<this.rightPoints.length&&this.rightPoints[Y][1]===O[1];++Y)if(this.rightPoints[Y]===O)return this.rightPoints.splice(Y,1),f}return d}};function E(O,U,B){for(var Y=0;Y<O.length&&O[Y][0]<=U;++Y){var z=B(O[Y]);if(z)return z}}function k(O,U,B){for(var Y=O.length-1;Y>=0&&O[Y][1]>=U;--Y){var z=B(O[Y]);if(z)return z}}function L(O,U){for(var B=0;B<O.length;++B){var Y=U(O[B]);if(Y)return Y}}y.queryPoint=function(O,U){if(O<this.mid){if(this.left){var B=this.left.queryPoint(O,U);if(B)return B}return E(this.leftPoints,O,U)}else if(O>this.mid){if(this.right){var B=this.right.queryPoint(O,U);if(B)return B}return k(this.rightPoints,O,U)}else return L(this.leftPoints,U)},y.queryInterval=function(O,U,B){if(O<this.mid&&this.left){var Y=this.left.queryInterval(O,U,B);if(Y)return Y}if(U>this.mid&&this.right){var Y=this.right.queryInterval(O,U,B);if(Y)return Y}return U<this.mid?E(this.leftPoints,U,B):O>this.mid?k(this.rightPoints,O,B):L(this.leftPoints,B)};function I(O,U){return O-U}function P(O,U){var B=O[0]-U[0];return B||O[1]-U[1]}function M(O,U){var B=O[1]-U[1];return B||O[0]-U[0]}function F(O){if(O.length===0)return null;for(var U=[],B=0;B<O.length;++B)U.push(O[B][0],O[B][1]);U.sort(I);for(var Y=U[U.length>>1],z=[],V=[],j=[],B=0;B<O.length;++B){var G=O[B];G[1]<Y?z.push(G):Y<G[0]?V.push(G):j.push(G)}var W=j,X=j.slice();return W.sort(P),X.sort(M),new x(Y,F(z),F(V),W,X)}function N(O){this.root=O}var T=N.prototype;T.insert=function(O){this.root?this.root.insert(O):this.root=new x(O[0],null,null,[O],[O])},T.remove=function(O){if(this.root){var U=this.root.remove(O);return U===b&&(this.root=null),U!==d}return!1},T.queryPoint=function(O,U){if(this.root)return this.root.queryPoint(O,U)},T.queryInterval=function(O,U,B){if(O<=U&&this.root)return this.root.queryInterval(O,U,B)},Object.defineProperty(T,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(T,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});function D(O){return!O||O.length===0?new N(null):new N(F(O))}},9560:function(p){function _(c){for(var s=new Array(c),d=0;d<c;++d)s[d]=d;return s}p.exports=_},4846:function(p){p.exports=!0},4780:function(p){/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/p.exports=function(s){return s!=null&&(_(s)||c(s)||!!s._isBuffer)};function _(s){return!!s.constructor&&typeof s.constructor.isBuffer=="function"&&s.constructor.isBuffer(s)}function c(s){return typeof s.readFloatLE=="function"&&typeof s.slice=="function"&&_(s.slice(0,0))}},3596:function(p){p.exports=function(_){for(var c=_.length,s,d=0;d<c;d++)if(s=_.charCodeAt(d),(s<9||s>13)&&s!==32&&s!==133&&s!==160&&s!==5760&&s!==6158&&(s<8192||s>8205)&&s!==8232&&s!==8233&&s!==8239&&s!==8287&&s!==8288&&s!==12288&&s!==65279)return!1;return!0}},3578:function(p){function _(c,s,d){return c*(1-d)+s*d}p.exports=_},7191:function(p,_,c){var s=c(4690),d=c(9823),f=c(7332),b=c(7787),x=c(7437),y=c(2142),C={length:c(4693),normalize:c(899),dot:c(9305),cross:c(903)},w=d(),R=d(),A=[0,0,0,0],E=[[0,0,0],[0,0,0],[0,0,0]],k=[0,0,0];p.exports=function(F,N,T,D,O,U){if(N||(N=[0,0,0]),T||(T=[0,0,0]),D||(D=[0,0,0]),O||(O=[0,0,0,1]),U||(U=[0,0,0,1]),!s(w,F)||(f(R,w),R[3]=0,R[7]=0,R[11]=0,R[15]=1,Math.abs(b(R)<1e-8)))return!1;var B=w[3],Y=w[7],z=w[11],V=w[12],j=w[13],G=w[14],W=w[15];if(B!==0||Y!==0||z!==0){A[0]=B,A[1]=Y,A[2]=z,A[3]=W;var X=x(R,R);if(!X)return!1;y(R,R),L(O,A,R)}else O[0]=O[1]=O[2]=0,O[3]=1;if(N[0]=V,N[1]=j,N[2]=G,I(E,w),T[0]=C.length(E[0]),C.normalize(E[0],E[0]),D[0]=C.dot(E[0],E[1]),P(E[1],E[1],E[0],1,-D[0]),T[1]=C.length(E[1]),C.normalize(E[1],E[1]),D[0]/=T[1],D[1]=C.dot(E[0],E[2]),P(E[2],E[2],E[0],1,-D[1]),D[2]=C.dot(E[1],E[2]),P(E[2],E[2],E[1],1,-D[2]),T[2]=C.length(E[2]),C.normalize(E[2],E[2]),D[1]/=T[2],D[2]/=T[2],C.cross(k,E[1],E[2]),C.dot(E[0],k)<0)for(var Q=0;Q<3;Q++)T[Q]*=-1,E[Q][0]*=-1,E[Q][1]*=-1,E[Q][2]*=-1;return U[0]=.5*Math.sqrt(Math.max(1+E[0][0]-E[1][1]-E[2][2],0)),U[1]=.5*Math.sqrt(Math.max(1-E[0][0]+E[1][1]-E[2][2],0)),U[2]=.5*Math.sqrt(Math.max(1-E[0][0]-E[1][1]+E[2][2],0)),U[3]=.5*Math.sqrt(Math.max(1+E[0][0]+E[1][1]+E[2][2],0)),E[2][1]>E[1][2]&&(U[0]=-U[0]),E[0][2]>E[2][0]&&(U[1]=-U[1]),E[1][0]>E[0][1]&&(U[2]=-U[2]),!0};function L(M,F,N){var T=F[0],D=F[1],O=F[2],U=F[3];return M[0]=N[0]*T+N[4]*D+N[8]*O+N[12]*U,M[1]=N[1]*T+N[5]*D+N[9]*O+N[13]*U,M[2]=N[2]*T+N[6]*D+N[10]*O+N[14]*U,M[3]=N[3]*T+N[7]*D+N[11]*O+N[15]*U,M}function I(M,F){M[0][0]=F[0],M[0][1]=F[1],M[0][2]=F[2],M[1][0]=F[4],M[1][1]=F[5],M[1][2]=F[6],M[2][0]=F[8],M[2][1]=F[9],M[2][2]=F[10]}function P(M,F,N,T,D){M[0]=F[0]*T+N[0]*D,M[1]=F[1]*T+N[1]*D,M[2]=F[2]*T+N[2]*D}},4690:function(p){p.exports=function(c,s){var d=s[15];if(d===0)return!1;for(var f=1/d,b=0;b<16;b++)c[b]=s[b]*f;return!0}},7649:function(p,_,c){var s=c(1868),d=c(1102),f=c(7191),b=c(7787),x=c(1116),y=A(),C=A(),w=A();p.exports=R;function R(L,I,P,M){if(b(I)===0||b(P)===0)return!1;var F=f(I,y.translate,y.scale,y.skew,y.perspective,y.quaternion),N=f(P,C.translate,C.scale,C.skew,C.perspective,C.quaternion);return!F||!N?!1:(s(w.translate,y.translate,C.translate,M),s(w.skew,y.skew,C.skew,M),s(w.scale,y.scale,C.scale,M),s(w.perspective,y.perspective,C.perspective,M),x(w.quaternion,y.quaternion,C.quaternion,M),d(L,w.translate,w.scale,w.skew,w.perspective,w.quaternion),!0)}function A(){return{translate:E(),scale:E(1),skew:E(),perspective:k(),quaternion:k()}}function E(L){return[L||0,L||0,L||0]}function k(){return[0,0,0,1]}},1102:function(p,_,c){var s={identity:c(9947),translate:c(998),multiply:c(104),create:c(9823),scale:c(3668),fromRotationTranslation:c(7280)};s.create();var d=s.create();p.exports=function(b,x,y,C,w,R){return s.identity(b),s.fromRotationTranslation(b,R,x),b[3]=w[0],b[7]=w[1],b[11]=w[2],b[15]=w[3],s.identity(d),C[2]!==0&&(d[9]=C[2],s.multiply(b,b,d)),C[1]!==0&&(d[9]=0,d[8]=C[1],s.multiply(b,b,d)),C[0]!==0&&(d[8]=0,d[4]=C[0],s.multiply(b,b,d)),s.scale(b,b,y),b}},9298:function(p,_,c){var s=c(5070),d=c(7649),f=c(7437),b=c(6109),x=c(7115),y=c(5240),C=c(3012),w=c(998);c(3668);var R=c(899),A=[0,0,0];p.exports=I;function E(P){this._components=P.slice(),this._time=[0],this.prevMatrix=P.slice(),this.nextMatrix=P.slice(),this.computedMatrix=P.slice(),this.computedInverse=P.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}var k=E.prototype;k.recalcMatrix=function(P){var M=this._time,F=s.le(M,P),N=this.computedMatrix;if(!(F<0)){var T=this._components;if(F===M.length-1)for(var D=16*F,O=0;O<16;++O)N[O]=T[D++];else{for(var U=M[F+1]-M[F],D=16*F,B=this.prevMatrix,Y=!0,O=0;O<16;++O)B[O]=T[D++];for(var z=this.nextMatrix,O=0;O<16;++O)z[O]=T[D++],Y=Y&&B[O]===z[O];if(U<1e-6||Y)for(var O=0;O<16;++O)N[O]=B[O];else d(N,B,z,(P-M[F])/U)}var V=this.computedUp;V[0]=N[1],V[1]=N[5],V[2]=N[9],R(V,V);var j=this.computedInverse;f(j,N);var G=this.computedEye,W=j[15];G[0]=j[12]/W,G[1]=j[13]/W,G[2]=j[14]/W;for(var X=this.computedCenter,Q=Math.exp(this.computedRadius[0]),O=0;O<3;++O)X[O]=G[O]-N[2+4*O]*Q}},k.idle=function(P){if(!(P<this.lastT())){for(var M=this._components,F=M.length-16,N=0;N<16;++N)M.push(M[F++]);this._time.push(P)}},k.flush=function(P){var M=s.gt(this._time,P)-2;M<0||(this._time.splice(0,M),this._components.splice(0,16*M))},k.lastT=function(){return this._time[this._time.length-1]},k.lookAt=function(P,M,F,N){this.recalcMatrix(P),M=M||this.computedEye,F=F||A,N=N||this.computedUp,this.setMatrix(P,C(this.computedMatrix,M,F,N));for(var T=0,D=0;D<3;++D)T+=Math.pow(F[D]-M[D],2);T=Math.log(Math.sqrt(T)),this.computedRadius[0]=T},k.rotate=function(P,M,F,N){this.recalcMatrix(P);var T=this.computedInverse;M&&x(T,T,M),F&&b(T,T,F),N&&y(T,T,N),this.setMatrix(P,f(this.computedMatrix,T))};var L=[0,0,0];k.pan=function(P,M,F,N){L[0]=-(M||0),L[1]=-(F||0),L[2]=-(N||0),this.recalcMatrix(P);var T=this.computedInverse;w(T,T,L),this.setMatrix(P,f(T,T))},k.translate=function(P,M,F,N){L[0]=M||0,L[1]=F||0,L[2]=N||0,this.recalcMatrix(P);var T=this.computedMatrix;w(T,T,L),this.setMatrix(P,T)},k.setMatrix=function(P,M){if(!(P<this.lastT())){this._time.push(P);for(var F=0;F<16;++F)this._components.push(M[F])}},k.setDistance=function(P,M){this.computedRadius[0]=M},k.setDistanceLimits=function(P,M){var F=this._limits;F[0]=P,F[1]=M},k.getDistanceLimits=function(P){var M=this._limits;return P?(P[0]=M[0],P[1]=M[1],P):M};function I(P){P=P||{};var M=P.matrix||[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return new E(M)}},3266:function(p,_,c){p.exports=d;var s=c(417)[3];function d(f){var b=f.length;if(b<3){for(var k=new Array(b),x=0;x<b;++x)k[x]=x;return b===2&&f[0][0]===f[1][0]&&f[0][1]===f[1][1]?[0]:k}for(var y=new Array(b),x=0;x<b;++x)y[x]=x;y.sort(function(M,F){var N=f[M][0]-f[F][0];return N||f[M][1]-f[F][1]});for(var C=[y[0],y[1]],w=[y[0],y[1]],x=2;x<b;++x){for(var R=y[x],A=f[R],E=C.length;E>1&&s(f[C[E-2]],f[C[E-1]],A)<=0;)E-=1,C.pop();for(C.push(R),E=w.length;E>1&&s(f[w[E-2]],f[w[E-1]],A)>=0;)E-=1,w.pop();w.push(R)}for(var k=new Array(w.length+C.length-2),L=0,x=0,I=C.length;x<I;++x)k[L++]=C[x];for(var P=w.length-2;P>0;--P)k[L++]=w[P];return k}},6145:function(p,_,c){p.exports=d;var s=c(4110);function d(f,b){b||(b=f,f=window);var x=0,y=0,C=0,w={shift:!1,alt:!1,control:!1,meta:!1},R=!1;function A(O){var U=!1;return"altKey"in O&&(U=U||O.altKey!==w.alt,w.alt=!!O.altKey),"shiftKey"in O&&(U=U||O.shiftKey!==w.shift,w.shift=!!O.shiftKey),"ctrlKey"in O&&(U=U||O.ctrlKey!==w.control,w.control=!!O.ctrlKey),"metaKey"in O&&(U=U||O.metaKey!==w.meta,w.meta=!!O.metaKey),U}function E(O,U){var B=s.x(U),Y=s.y(U);"buttons"in U&&(O=U.buttons|0),(O!==x||B!==y||Y!==C||A(U))&&(x=O|0,y=B||0,C=Y||0,b&&b(x,y,C,w))}function k(O){E(0,O)}function L(){(x||y||C||w.shift||w.alt||w.meta||w.control)&&(y=C=0,x=0,w.shift=w.alt=w.control=w.meta=!1,b&&b(0,0,0,w))}function I(O){A(O)&&b&&b(x,y,C,w)}function P(O){s.buttons(O)===0?E(0,O):E(x,O)}function M(O){E(x|s.buttons(O),O)}function F(O){E(x&~s.buttons(O),O)}function N(){R||(R=!0,f.addEventListener("mousemove",P),f.addEventListener("mousedown",M),f.addEventListener("mouseup",F),f.addEventListener("mouseleave",k),f.addEventListener("mouseenter",k),f.addEventListener("mouseout",k),f.addEventListener("mouseover",k),f.addEventListener("blur",L),f.addEventListener("keyup",I),f.addEventListener("keydown",I),f.addEventListener("keypress",I),f!==window&&(window.addEventListener("blur",L),window.addEventListener("keyup",I),window.addEventListener("keydown",I),window.addEventListener("keypress",I)))}function T(){R&&(R=!1,f.removeEventListener("mousemove",P),f.removeEventListener("mousedown",M),f.removeEventListener("mouseup",F),f.removeEventListener("mouseleave",k),f.removeEventListener("mouseenter",k),f.removeEventListener("mouseout",k),f.removeEventListener("mouseover",k),f.removeEventListener("blur",L),f.removeEventListener("keyup",I),f.removeEventListener("keydown",I),f.removeEventListener("keypress",I),f!==window&&(window.removeEventListener("blur",L),window.removeEventListener("keyup",I),window.removeEventListener("keydown",I),window.removeEventListener("keypress",I)))}N();var D={element:f};return Object.defineProperties(D,{enabled:{get:function(){return R},set:function(O){O?N():T()},enumerable:!0},buttons:{get:function(){return x},enumerable:!0},x:{get:function(){return y},enumerable:!0},y:{get:function(){return C},enumerable:!0},mods:{get:function(){return w},enumerable:!0}}),D}},2565:function(p){var _={left:0,top:0};p.exports=c;function c(d,f,b){f=f||d.currentTarget||d.srcElement,Array.isArray(b)||(b=[0,0]);var x=d.clientX||0,y=d.clientY||0,C=s(f);return b[0]=x-C.left,b[1]=y-C.top,b}function s(d){return d===window||d===document||d===document.body?_:d.getBoundingClientRect()}},4110:function(p,_){function c(b){if(typeof b=="object"){if("buttons"in b)return b.buttons;if("which"in b){var x=b.which;if(x===2)return 4;if(x===3)return 2;if(x>0)return 1<<x-1}else if("button"in b){var x=b.button;if(x===1)return 4;if(x===2)return 2;if(x>=0)return 1<<x}}return 0}_.buttons=c;function s(b){return b.target||b.srcElement||window}_.element=s;function d(b){if(typeof b=="object"){if("offsetX"in b)return b.offsetX;var x=s(b),y=x.getBoundingClientRect();return b.clientX-y.left}return 0}_.x=d;function f(b){if(typeof b=="object"){if("offsetY"in b)return b.offsetY;var x=s(b),y=x.getBoundingClientRect();return b.clientY-y.top}return 0}_.y=f},6475:function(p,_,c){var s=c(14);p.exports=d;function d(f,b,x){typeof f=="function"&&(x=!!b,b=f,f=window);var y=s("ex",f),C=function(w){x&&w.preventDefault();var R=w.deltaX||0,A=w.deltaY||0,E=w.deltaZ||0,k=w.deltaMode,L=1;switch(k){case 1:L=y;break;case 2:L=window.innerHeight;break}if(R*=L,A*=L,E*=L,R||A||E)return b(R,A,E,w)};return f.addEventListener("wheel",C),C}},9284:function(p,_,c){var s=c(5306);p.exports=b;var d={"false,0,1":function(y,C,w,R,A){return function(k,L,I,P){var M=k.shape[0]|0,F=k.shape[1]|0,N=k.data,T=k.offset|0,D=k.stride[0]|0,O=k.stride[1]|0,U=T,B,Y=-D|0,z=0,V=-O|0,j=0,G=-D-O|0,W=0,X=D|0,Q=O-D*M|0,ae=0,ie=0,he=0,J=2*M|0,Z=R(J),le=R(J),K=0,te=0,ce=-1,re=-1,ee=0,de=-M|0,oe=M|0,fe=0,me=-M-1|0,Te=M-1|0,we=0,Be=0,Ae=0;for(ae=0;ae<M;++ae)Z[K++]=w(N[U],L,I,P),U+=X;if(U+=Q,F>0){if(ie=1,Z[K++]=w(N[U],L,I,P),U+=X,M>0)for(ae=1,B=N[U],te=Z[K]=w(B,L,I,P),ee=Z[K+ce],fe=Z[K+de],we=Z[K+me],(te!==ee||te!==fe||te!==we)&&(z=N[U+Y],j=N[U+V],W=N[U+G],y(ae,ie,B,z,j,W,te,ee,fe,we,L,I,P),Be=le[K]=he++),K+=1,U+=X,ae=2;ae<M;++ae)B=N[U],te=Z[K]=w(B,L,I,P),ee=Z[K+ce],fe=Z[K+de],we=Z[K+me],(te!==ee||te!==fe||te!==we)&&(z=N[U+Y],j=N[U+V],W=N[U+G],y(ae,ie,B,z,j,W,te,ee,fe,we,L,I,P),Be=le[K]=he++,we!==ee&&C(le[K+ce],Be,W,z,we,ee,L,I,P)),K+=1,U+=X;for(U+=Q,K=0,Ae=ce,ce=re,re=Ae,Ae=de,de=oe,oe=Ae,Ae=me,me=Te,Te=Ae,ie=2;ie<F;++ie){if(Z[K++]=w(N[U],L,I,P),U+=X,M>0)for(ae=1,B=N[U],te=Z[K]=w(B,L,I,P),ee=Z[K+ce],fe=Z[K+de],we=Z[K+me],(te!==ee||te!==fe||te!==we)&&(z=N[U+Y],j=N[U+V],W=N[U+G],y(ae,ie,B,z,j,W,te,ee,fe,we,L,I,P),Be=le[K]=he++,we!==fe&&C(le[K+de],Be,j,W,fe,we,L,I,P)),K+=1,U+=X,ae=2;ae<M;++ae)B=N[U],te=Z[K]=w(B,L,I,P),ee=Z[K+ce],fe=Z[K+de],we=Z[K+me],(te!==ee||te!==fe||te!==we)&&(z=N[U+Y],j=N[U+V],W=N[U+G],y(ae,ie,B,z,j,W,te,ee,fe,we,L,I,P),Be=le[K]=he++,we!==fe&&C(le[K+de],Be,j,W,fe,we,L,I,P),we!==ee&&C(le[K+ce],Be,W,z,we,ee,L,I,P)),K+=1,U+=X;ie&1&&(K=0),Ae=ce,ce=re,re=Ae,Ae=de,de=oe,oe=Ae,Ae=me,me=Te,Te=Ae,U+=Q}}A(le),A(Z)}},"false,1,0":function(y,C,w,R,A){return function(k,L,I,P){var M=k.shape[0]|0,F=k.shape[1]|0,N=k.data,T=k.offset|0,D=k.stride[0]|0,O=k.stride[1]|0,U=T,B,Y=-D|0,z=0,V=-O|0,j=0,G=-D-O|0,W=0,X=O|0,Q=D-O*F|0,ae=0,ie=0,he=0,J=2*F|0,Z=R(J),le=R(J),K=0,te=0,ce=-1,re=-1,ee=0,de=-F|0,oe=F|0,fe=0,me=-F-1|0,Te=F-1|0,we=0,Be=0,Ae=0;for(ie=0;ie<F;++ie)Z[K++]=w(N[U],L,I,P),U+=X;if(U+=Q,M>0){if(ae=1,Z[K++]=w(N[U],L,I,P),U+=X,F>0)for(ie=1,B=N[U],te=Z[K]=w(B,L,I,P),fe=Z[K+de],ee=Z[K+ce],we=Z[K+me],(te!==fe||te!==ee||te!==we)&&(z=N[U+Y],j=N[U+V],W=N[U+G],y(ae,ie,B,z,j,W,te,fe,ee,we,L,I,P),Be=le[K]=he++),K+=1,U+=X,ie=2;ie<F;++ie)B=N[U],te=Z[K]=w(B,L,I,P),fe=Z[K+de],ee=Z[K+ce],we=Z[K+me],(te!==fe||te!==ee||te!==we)&&(z=N[U+Y],j=N[U+V],W=N[U+G],y(ae,ie,B,z,j,W,te,fe,ee,we,L,I,P),Be=le[K]=he++,we!==ee&&C(le[K+ce],Be,j,W,ee,we,L,I,P)),K+=1,U+=X;for(U+=Q,K=0,Ae=de,de=oe,oe=Ae,Ae=ce,ce=re,re=Ae,Ae=me,me=Te,Te=Ae,ae=2;ae<M;++ae){if(Z[K++]=w(N[U],L,I,P),U+=X,F>0)for(ie=1,B=N[U],te=Z[K]=w(B,L,I,P),fe=Z[K+de],ee=Z[K+ce],we=Z[K+me],(te!==fe||te!==ee||te!==we)&&(z=N[U+Y],j=N[U+V],W=N[U+G],y(ae,ie,B,z,j,W,te,fe,ee,we,L,I,P),Be=le[K]=he++,we!==fe&&C(le[K+de],Be,W,z,we,fe,L,I,P)),K+=1,U+=X,ie=2;ie<F;++ie)B=N[U],te=Z[K]=w(B,L,I,P),fe=Z[K+de],ee=Z[K+ce],we=Z[K+me],(te!==fe||te!==ee||te!==we)&&(z=N[U+Y],j=N[U+V],W=N[U+G],y(ae,ie,B,z,j,W,te,fe,ee,we,L,I,P),Be=le[K]=he++,we!==ee&&C(le[K+ce],Be,j,W,ee,we,L,I,P),we!==fe&&C(le[K+de],Be,W,z,we,fe,L,I,P)),K+=1,U+=X;ae&1&&(K=0),Ae=de,de=oe,oe=Ae,Ae=ce,ce=re,re=Ae,Ae=me,me=Te,Te=Ae,U+=Q}}A(le),A(Z)}}};function f(x,y,C,w,R,A){var E=[A,R].join(","),k=d[E];return k(x,y,C,s.mallocUint32,s.freeUint32)}function b(x){function y(L){throw new Error("ndarray-extract-contour: "+L)}typeof x!="object"&&y("Must specify arguments");var C=x.order;Array.isArray(C)||y("Must specify order");var w=x.arrayArguments||1;w<1&&y("Must have at least one array argument");var R=x.scalarArguments||0;R<0&&y("Scalar arg count must be > 0"),typeof x.vertex!="function"&&y("Must specify vertex creation function"),typeof x.cell!="function"&&y("Must specify cell creation function"),typeof x.phase!="function"&&y("Must specify phase function");for(var A=x.getters||[],E=new Array(w),k=0;k<w;++k)A.indexOf(k)>=0?E[k]=!0:E[k]=!1;return f(x.vertex,x.cell,x.phase,R,C,E)}},9144:function(p,_,c){var s=c(3094),d={zero:function(I,P,M,F){var N=I[0],T=M[0];F|=0;var D=0,O=T;for(D=0;D<N;++D)P[F]=0,F+=O},fdTemplate1:function(I,P,M,F,N,T,D){var O=I[0],U=M[0],B=T[0],Y=-1*U,z=U;F|=0,D|=0;var V=0,j=U,G=B;for(V=0;V<O;++V)N[D]=.5*(P[F+Y]-P[F+z]),F+=j,D+=G},fdTemplate2:function(I,P,M,F,N,T,D,O,U,B){var Y=I[0],z=I[1],V=M[0],j=M[1],G=T[0],W=T[1],X=U[0],Q=U[1],ae=-1*V,ie=V,he=-1*j,J=j;F|=0,D|=0,B|=0;var Z=0,le=0,K=j,te=V-z*j,ce=W,re=G-z*W,ee=Q,de=X-z*Q;for(le=0;le<Y;++le){for(Z=0;Z<z;++Z)N[D]=.5*(P[F+ae]-P[F+ie]),O[B]=.5*(P[F+he]-P[F+J]),F+=K,D+=ce,B+=ee;F+=te,D+=re,B+=de}}},f={cdiff:function(I){var P={};return function(F,N,T){var D=F.dtype,O=F.order,U=N.dtype,B=N.order,Y=T.dtype,z=T.order,V=[D,O.join(),U,B.join(),Y,z.join()].join(),j=P[V];return j||(P[V]=j=I([D,O,U,B,Y,z])),j(F.shape.slice(0),F.data,F.stride,F.offset|0,N.data,N.stride,N.offset|0,T.data,T.stride,T.offset|0)}},zero:function(I){var P={};return function(F){var N=F.dtype,T=F.order,D=[N,T.join()].join(),O=P[D];return O||(P[D]=O=I([N,T])),O(F.shape.slice(0),F.data,F.stride,F.offset|0)}},fdTemplate1:function(I){var P={};return function(F,N){var T=F.dtype,D=F.order,O=N.dtype,U=N.order,B=[T,D.join(),O,U.join()].join(),Y=P[B];return Y||(P[B]=Y=I([T,D,O,U])),Y(F.shape.slice(0),F.data,F.stride,F.offset|0,N.data,N.stride,N.offset|0)}},fdTemplate2:function(I){var P={};return function(F,N,T){var D=F.dtype,O=F.order,U=N.dtype,B=N.order,Y=T.dtype,z=T.order,V=[D,O.join(),U,B.join(),Y,z.join()].join(),j=P[V];return j||(P[V]=j=I([D,O,U,B,Y,z])),j(F.shape.slice(0),F.data,F.stride,F.offset|0,N.data,N.stride,N.offset|0,T.data,T.stride,T.offset|0)}}};function b(I){var P=f[I.funcName];return P(x.bind(void 0,I))}function x(I){return d[I.funcName]}function y(I){return b({funcName:I.funcName})}var C={},w={},R=y({funcName:"cdiff"}),A=y({funcName:"zero"});function E(I){return I in C?C[I]:C[I]=y({funcName:"fdTemplate"+I})}function k(I,P,M,F){return function(N,T){var D=T.shape.slice();return D[0]>2&&D[1]>2&&F(T.pick(-1,-1).lo(1,1).hi(D[0]-2,D[1]-2),N.pick(-1,-1,0).lo(1,1).hi(D[0]-2,D[1]-2),N.pick(-1,-1,1).lo(1,1).hi(D[0]-2,D[1]-2)),D[1]>2&&(M(T.pick(0,-1).lo(1).hi(D[1]-2),N.pick(0,-1,1).lo(1).hi(D[1]-2)),P(N.pick(0,-1,0).lo(1).hi(D[1]-2))),D[1]>2&&(M(T.pick(D[0]-1,-1).lo(1).hi(D[1]-2),N.pick(D[0]-1,-1,1).lo(1).hi(D[1]-2)),P(N.pick(D[0]-1,-1,0).lo(1).hi(D[1]-2))),D[0]>2&&(M(T.pick(-1,0).lo(1).hi(D[0]-2),N.pick(-1,0,0).lo(1).hi(D[0]-2)),P(N.pick(-1,0,1).lo(1).hi(D[0]-2))),D[0]>2&&(M(T.pick(-1,D[1]-1).lo(1).hi(D[0]-2),N.pick(-1,D[1]-1,0).lo(1).hi(D[0]-2)),P(N.pick(-1,D[1]-1,1).lo(1).hi(D[0]-2))),N.set(0,0,0,0),N.set(0,0,1,0),N.set(D[0]-1,0,0,0),N.set(D[0]-1,0,1,0),N.set(0,D[1]-1,0,0),N.set(0,D[1]-1,1,0),N.set(D[0]-1,D[1]-1,0,0),N.set(D[0]-1,D[1]-1,1,0),N}}function L(I){var P=I.join(),D=w[P];if(D)return D;for(var M=I.length,F=[R,A],N=1;N<=M;++N)F.push(E(N));var T=k,D=T.apply(void 0,F);return w[P]=D,D}p.exports=function(P,M,F){if(Array.isArray(F)||(typeof F=="string"?F=s(M.dimension,F):F=s(M.dimension,"clamp")),M.size===0)return P;if(M.dimension===0)return P.set(0),P;var N=L(F);return N(P,M)}},3581:function(p){function _(b,x){var y=Math.floor(x),C=x-y,w=0<=y&&y<b.shape[0],R=0<=y+1&&y+1<b.shape[0],A=w?+b.get(y):0,E=R?+b.get(y+1):0;return(1-C)*A+C*E}function c(b,x,y){var C=Math.floor(x),w=x-C,R=0<=C&&C<b.shape[0],A=0<=C+1&&C+1<b.shape[0],E=Math.floor(y),k=y-E,L=0<=E&&E<b.shape[1],I=0<=E+1&&E+1<b.shape[1],P=R&&L?b.get(C,E):0,M=R&&I?b.get(C,E+1):0,F=A&&L?b.get(C+1,E):0,N=A&&I?b.get(C+1,E+1):0;return(1-k)*((1-w)*P+w*F)+k*((1-w)*M+w*N)}function s(b,x,y,C){var w=Math.floor(x),R=x-w,A=0<=w&&w<b.shape[0],E=0<=w+1&&w+1<b.shape[0],k=Math.floor(y),L=y-k,I=0<=k&&k<b.shape[1],P=0<=k+1&&k+1<b.shape[1],M=Math.floor(C),F=C-M,N=0<=M&&M<b.shape[2],T=0<=M+1&&M+1<b.shape[2],D=A&&I&&N?b.get(w,k,M):0,O=A&&P&&N?b.get(w,k+1,M):0,U=E&&I&&N?b.get(w+1,k,M):0,B=E&&P&&N?b.get(w+1,k+1,M):0,Y=A&&I&&T?b.get(w,k,M+1):0,z=A&&P&&T?b.get(w,k+1,M+1):0,V=E&&I&&T?b.get(w+1,k,M+1):0,j=E&&P&&T?b.get(w+1,k+1,M+1):0;return(1-F)*((1-L)*((1-R)*D+R*U)+L*((1-R)*O+R*B))+F*((1-L)*((1-R)*Y+R*V)+L*((1-R)*z+R*j))}function d(b){var x=b.shape.length|0,y=new Array(x),C=new Array(x),w=new Array(x),R=new Array(x),A,E;for(A=0;A<x;++A)E=+arguments[A+1],y[A]=Math.floor(E),C[A]=E-y[A],w[A]=0<=y[A]&&y[A]<b.shape[A],R[A]=0<=y[A]+1&&y[A]+1<b.shape[A];var k=0,L,I,P;e:for(A=0;A<1<<x;++A){for(I=1,P=b.offset,L=0;L<x;++L)if(A&1<<L){if(!R[L])continue e;I*=C[L],P+=b.stride[L]*(y[L]+1)}else{if(!w[L])continue e;I*=1-C[L],P+=b.stride[L]*y[L]}k+=I*b.data[P]}return k}function f(b,x,y,C){switch(b.shape.length){case 0:return 0;case 1:return _(b,x);case 2:return c(b,x,y);case 3:return s(b,x,y,C);default:return d.apply(void 0,arguments)}}p.exports=f,p.exports.d1=_,p.exports.d2=c,p.exports.d3=s},7498:function(p,_){var c={"float64,2,1,0":function(){return function(w,R,A,E,k){var L=w[0],I=w[1],P=w[2],M=A[0],F=A[1],N=A[2];E|=0;var T=0,D=0,O=0,U=N,B=F-P*N,Y=M-I*F;for(O=0;O<L;++O){for(D=0;D<I;++D){for(T=0;T<P;++T)R[E]/=k,E+=U;E+=B}E+=Y}}},"uint8,2,0,1,float64,2,1,0":function(){return function(w,R,A,E,k,L,I,P){var M=w[0],F=w[1],N=w[2],T=A[0],D=A[1],O=A[2],U=L[0],B=L[1],Y=L[2];E|=0,I|=0;for(var z=E,V=I,j=w[0]|0;j>0;){j<64?(M=j,j=0):(M=64,j-=64);for(var G=w[1]|0;G>0;){G<64?(F=G,G=0):(F=64,G-=64),E=z+j*T+G*D,I=V+j*U+G*B;var W=0,X=0,Q=0,ae=O,ie=T-N*O,he=D-M*T,J=Y,Z=U-N*Y,le=B-M*U;for(Q=0;Q<F;++Q){for(X=0;X<M;++X){for(W=0;W<N;++W)R[E]=k[I]*P,E+=ae,I+=J;E+=ie,I+=Z}E+=he,I+=le}}}}},"float32,1,0,float32,1,0":function(){return function(w,R,A,E,k,L,I){var P=w[0],M=w[1],F=A[0],N=A[1],T=L[0],D=L[1];E|=0,I|=0;var O=0,U=0,B=N,Y=F-M*N,z=D,V=T-M*D;for(U=0;U<P;++U){for(O=0;O<M;++O)R[E]=k[I],E+=B,I+=z;E+=Y,I+=V}}},"float32,1,0,float32,0,1":function(){return function(w,R,A,E,k,L,I){var P=w[0],M=w[1],F=A[0],N=A[1],T=L[0],D=L[1];E|=0,I|=0;for(var O=E,U=I,B=w[1]|0;B>0;){B<64?(M=B,B=0):(M=64,B-=64);for(var Y=w[0]|0;Y>0;){Y<64?(P=Y,Y=0):(P=64,Y-=64),E=O+B*N+Y*F,I=U+B*D+Y*T;var z=0,V=0,j=N,G=F-M*N,W=D,X=T-M*D;for(V=0;V<P;++V){for(z=0;z<M;++z)R[E]=k[I],E+=j,I+=W;E+=G,I+=X}}}}},"uint8,2,0,1,uint8,1,2,0":function(){return function(w,R,A,E,k,L,I){var P=w[0],M=w[1],F=w[2],N=A[0],T=A[1],D=A[2],O=L[0],U=L[1],B=L[2];E|=0,I|=0;for(var Y=E,z=I,V=w[2]|0;V>0;){V<64?(F=V,V=0):(F=64,V-=64);for(var j=w[0]|0;j>0;){j<64?(P=j,j=0):(P=64,j-=64);for(var G=w[1]|0;G>0;){G<64?(M=G,G=0):(M=64,G-=64),E=Y+V*D+j*N+G*T,I=z+V*B+j*O+G*U;var W=0,X=0,Q=0,ae=D,ie=N-F*D,he=T-P*N,J=B,Z=O-F*B,le=U-P*O;for(Q=0;Q<M;++Q){for(X=0;X<P;++X){for(W=0;W<F;++W)R[E]=k[I],E+=ae,I+=J;E+=ie,I+=Z}E+=he,I+=le}}}}}},"uint8,2,0,1,array,2,0,1":function(){return function(w,R,A,E,k,L,I){var P=w[0],M=w[1],F=w[2],N=A[0],T=A[1],D=A[2],O=L[0],U=L[1],B=L[2];E|=0,I|=0;var Y=0,z=0,V=0,j=D,G=N-F*D,W=T-P*N,X=B,Q=O-F*B,ae=U-P*O;for(V=0;V<M;++V){for(z=0;z<P;++z){for(Y=0;Y<F;++Y)R[E]=k[I],E+=j,I+=X;E+=G,I+=Q}E+=W,I+=ae}}}};function s(C,w){var R=w.join(","),A=c[R];return A()}var d=s,f={mul:function(C){var w={};return function(A,E,k){var L=A.dtype,I=A.order,P=E.dtype,M=E.order,F=k.dtype,N=k.order,T=[L,I.join(),P,M.join(),F,N.join()].join(),D=w[T];return D||(w[T]=D=C([L,I,P,M,F,N])),D(A.shape.slice(0),A.data,A.stride,A.offset|0,E.data,E.stride,E.offset|0,k.data,k.stride,k.offset|0)}},muls:function(C){var w={};return function(A,E,k){var L=A.dtype,I=A.order,P=E.dtype,M=E.order,F=[L,I.join(),P,M.join()].join(),N=w[F];return N||(w[F]=N=C([L,I,P,M])),N(A.shape.slice(0),A.data,A.stride,A.offset|0,E.data,E.stride,E.offset|0,k)}},mulseq:function(C){var w={};return function(A,E){var k=A.dtype,L=A.order,I=[k,L.join()].join(),P=w[I];return P||(w[I]=P=C([k,L])),P(A.shape.slice(0),A.data,A.stride,A.offset|0,E)}},div:function(C){var w={};return function(A,E,k){var L=A.dtype,I=A.order,P=E.dtype,M=E.order,F=k.dtype,N=k.order,T=[L,I.join(),P,M.join(),F,N.join()].join(),D=w[T];return D||(w[T]=D=C([L,I,P,M,F,N])),D(A.shape.slice(0),A.data,A.stride,A.offset|0,E.data,E.stride,E.offset|0,k.data,k.stride,k.offset|0)}},divs:function(C){var w={};return function(A,E,k){var L=A.dtype,I=A.order,P=E.dtype,M=E.order,F=[L,I.join(),P,M.join()].join(),N=w[F];return N||(w[F]=N=C([L,I,P,M])),N(A.shape.slice(0),A.data,A.stride,A.offset|0,E.data,E.stride,E.offset|0,k)}},divseq:function(C){var w={};return function(A,E){var k=A.dtype,L=A.order,I=[k,L.join()].join(),P=w[I];return P||(w[I]=P=C([k,L])),P(A.shape.slice(0),A.data,A.stride,A.offset|0,E)}},assign:function(C){var w={};return function(A,E){var k=A.dtype,L=A.order,I=E.dtype,P=E.order,M=[k,L.join(),I,P.join()].join(),F=w[M];return F||(w[M]=F=C([k,L,I,P])),F(A.shape.slice(0),A.data,A.stride,A.offset|0,E.data,E.stride,E.offset|0)}}};function b(C){var w=f[C.funcName];return w(d.bind(void 0,C))}function x(C){return b({funcName:C.funcName})}var y={mul:"*",div:"/"};(function(){for(var C in y)_[C]=x({funcName:C}),_[C+"s"]=x({funcName:C+"s"}),_[C+"seq"]=x({funcName:C+"seq"})})(),_.assign=x({funcName:"assign"})},7382:function(p,_,c){var s=c(5050),d=c(9262);p.exports=function(b,x){for(var y=[],C=b,w=1;Array.isArray(C);)y.push(C.length),w*=C.length,C=C[0];return y.length===0?s():(x||(x=s(new Float64Array(w),y)),d(x,b),x)}},9262:function(p){function _(){return function(x,y,C,w,R){var A=x[0],E=x[1],k=x[2],L=C[0],I=C[1],P=C[2],M=[0,0,0];w|=0;var F=0,N=0,T=0,D=P,O=I-k*P,U=L-E*I;for(T=0;T<A;++T){for(N=0;N<E;++N){for(F=0;F<k;++F){{var B=R,Y;for(Y=0;Y<M.length-1;++Y)B=B[M[Y]];y[w]=B[M[M.length-1]]}w+=D,++M[2]}w+=O,M[2]-=k,++M[1]}w+=U,M[1]-=E,++M[0]}}}function c(){return _()}var s=c;function d(x){var y={};return function(w,R){var A=w.dtype,E=w.order,k=[A,E.join()].join(),L=y[k];return L||(y[k]=L=x([A,E])),L(w.shape.slice(0),w.data,w.stride,w.offset|0,R)}}function f(x){return d(s.bind(void 0,x))}function b(x){return f({funcName:x.funcName})}p.exports=b({funcName:"convert"})},8139:function(p,_,c){var s=c(5306);function d(R){switch(R){case"uint32":return[s.mallocUint32,s.freeUint32];default:return null}}var f={"uint32,1,0":function(R,A){return function(k,L,I,P,M,F,N,T,D,O,U){var B,Y,z,V=k*M+P,j,G=R(T),W,X,Q,ae;for(B=k+1;B<=L;++B){for(Y=B,V+=M,z=V,W=0,X=V,j=0;j<T;++j)G[W++]=I[X],X+=D;e:for(;Y-- >k;){W=0,X=z-M;t:for(j=0;j<T;++j){if(Q=I[X],ae=G[W],Q<ae)break e;if(Q>ae)break t;X+=O,W+=U}for(W=z,X=z-M,j=0;j<T;++j)I[W]=I[X],W+=D,X+=D;z-=M}for(W=z,X=0,j=0;j<T;++j)I[W]=G[X++],W+=D}A(G)}}};function b(R,A){var E=d(A),k=[A,R].join(","),L=f[k];return E?L(E[0],E[1]):L()}var x={"uint32,1,0":function(R,A,E){return function k(L,I,P,M,F,N,T,D,O,U,B){var Y=(I-L+1)/6|0,z=L+Y,V=I-Y,j=L+I>>1,G=j-Y,W=j+Y,X=z,Q=G,ae=j,ie=W,he=V,J=L+1,Z=I-1,le=!0,K,te,ce,re,ee,de,oe,fe,me,Te=0,we=0,Be=0,Ae,Re,be,Pe,Ke,ze,Fe,We,lt,ht,tt,et,pt,vt,_t,bt,Rt=D,ct=A(Rt),Ve=A(Rt);Re=F*X,be=F*Q,bt=M;e:for(Ae=0;Ae<D;++Ae){if(oe=Re+bt,fe=be+bt,Be=P[oe]-P[fe],Be>0){te=X,X=Q,Q=te;break e}if(Be<0)break e;bt+=U}Re=F*ie,be=F*he,bt=M;e:for(Ae=0;Ae<D;++Ae){if(oe=Re+bt,fe=be+bt,Be=P[oe]-P[fe],Be>0){te=ie,ie=he,he=te;break e}if(Be<0)break e;bt+=U}Re=F*X,be=F*ae,bt=M;e:for(Ae=0;Ae<D;++Ae){if(oe=Re+bt,fe=be+bt,Be=P[oe]-P[fe],Be>0){te=X,X=ae,ae=te;break e}if(Be<0)break e;bt+=U}Re=F*Q,be=F*ae,bt=M;e:for(Ae=0;Ae<D;++Ae){if(oe=Re+bt,fe=be+bt,Be=P[oe]-P[fe],Be>0){te=Q,Q=ae,ae=te;break e}if(Be<0)break e;bt+=U}Re=F*X,be=F*ie,bt=M;e:for(Ae=0;Ae<D;++Ae){if(oe=Re+bt,fe=be+bt,Be=P[oe]-P[fe],Be>0){te=X,X=ie,ie=te;break e}if(Be<0)break e;bt+=U}Re=F*ae,be=F*ie,bt=M;e:for(Ae=0;Ae<D;++Ae){if(oe=Re+bt,fe=be+bt,Be=P[oe]-P[fe],Be>0){te=ae,ae=ie,ie=te;break e}if(Be<0)break e;bt+=U}Re=F*Q,be=F*he,bt=M;e:for(Ae=0;Ae<D;++Ae){if(oe=Re+bt,fe=be+bt,Be=P[oe]-P[fe],Be>0){te=Q,Q=he,he=te;break e}if(Be<0)break e;bt+=U}Re=F*Q,be=F*ae,bt=M;e:for(Ae=0;Ae<D;++Ae){if(oe=Re+bt,fe=be+bt,Be=P[oe]-P[fe],Be>0){te=Q,Q=ae,ae=te;break e}if(Be<0)break e;bt+=U}Re=F*ie,be=F*he,bt=M;e:for(Ae=0;Ae<D;++Ae){if(oe=Re+bt,fe=be+bt,Be=P[oe]-P[fe],Be>0){te=ie,ie=he,he=te;break e}if(Be<0)break e;bt+=U}for(Re=F*X,be=F*Q,Pe=F*ae,Ke=F*ie,ze=F*he,Fe=F*z,We=F*j,lt=F*V,_t=0,bt=M,Ae=0;Ae<D;++Ae)oe=Re+bt,fe=be+bt,me=Pe+bt,ht=Ke+bt,tt=ze+bt,et=Fe+bt,pt=We+bt,vt=lt+bt,ct[_t]=P[fe],Ve[_t]=P[ht],le=le&&ct[_t]===Ve[_t],ce=P[oe],re=P[me],ee=P[tt],P[et]=ce,P[pt]=re,P[vt]=ee,++_t,bt+=O;for(Re=F*G,be=F*L,bt=M,Ae=0;Ae<D;++Ae)oe=Re+bt,fe=be+bt,P[oe]=P[fe],bt+=O;for(Re=F*W,be=F*I,bt=M,Ae=0;Ae<D;++Ae)oe=Re+bt,fe=be+bt,P[oe]=P[fe],bt+=O;if(le)for(de=J;de<=Z;++de){oe=M+de*F,_t=0;e:for(Ae=0;Ae<D;++Ae){if(Be=P[oe]-ct[_t],Be!==0)break e;_t+=B,oe+=U}if(Be!==0)if(Be<0){if(de!==J)for(Re=F*de,be=F*J,bt=M,Ae=0;Ae<D;++Ae)oe=Re+bt,fe=be+bt,K=P[oe],P[oe]=P[fe],P[fe]=K,bt+=O;++J}else for(;;){oe=M+Z*F,_t=0;e:for(Ae=0;Ae<D;++Ae){if(Be=P[oe]-ct[_t],Be!==0)break e;_t+=B,oe+=U}if(Be>0)Z--;else if(Be<0){for(Re=F*de,be=F*J,Pe=F*Z,bt=M,Ae=0;Ae<D;++Ae)oe=Re+bt,fe=be+bt,me=Pe+bt,K=P[oe],P[oe]=P[fe],P[fe]=P[me],P[me]=K,bt+=O;++J,--Z;break}else{for(Re=F*de,be=F*Z,bt=M,Ae=0;Ae<D;++Ae)oe=Re+bt,fe=be+bt,K=P[oe],P[oe]=P[fe],P[fe]=K,bt+=O;--Z;break}}}else for(de=J;de<=Z;++de){oe=M+de*F,_t=0;e:for(Ae=0;Ae<D;++Ae){if(Te=P[oe]-ct[_t],Te!==0)break e;_t+=B,oe+=U}if(Te<0){if(de!==J)for(Re=F*de,be=F*J,bt=M,Ae=0;Ae<D;++Ae)oe=Re+bt,fe=be+bt,K=P[oe],P[oe]=P[fe],P[fe]=K,bt+=O;++J}else{oe=M+de*F,_t=0;e:for(Ae=0;Ae<D;++Ae){if(we=P[oe]-Ve[_t],we!==0)break e;_t+=B,oe+=U}if(we>0)for(;;){oe=M+Z*F,_t=0;e:for(Ae=0;Ae<D;++Ae){if(Be=P[oe]-Ve[_t],Be!==0)break e;_t+=B,oe+=U}if(Be>0){if(--Z<de)break;continue}else{oe=M+Z*F,_t=0;e:for(Ae=0;Ae<D;++Ae){if(Be=P[oe]-ct[_t],Be!==0)break e;_t+=B,oe+=U}if(Be<0){for(Re=F*de,be=F*J,Pe=F*Z,bt=M,Ae=0;Ae<D;++Ae)oe=Re+bt,fe=be+bt,me=Pe+bt,K=P[oe],P[oe]=P[fe],P[fe]=P[me],P[me]=K,bt+=O;++J,--Z}else{for(Re=F*de,be=F*Z,bt=M,Ae=0;Ae<D;++Ae)oe=Re+bt,fe=be+bt,K=P[oe],P[oe]=P[fe],P[fe]=K,bt+=O;--Z}break}}}}for(Re=F*L,be=F*(J-1),_t=0,bt=M,Ae=0;Ae<D;++Ae)oe=Re+bt,fe=be+bt,P[oe]=P[fe],P[fe]=ct[_t],++_t,bt+=O;for(Re=F*I,be=F*(Z+1),_t=0,bt=M,Ae=0;Ae<D;++Ae)oe=Re+bt,fe=be+bt,P[oe]=P[fe],P[fe]=Ve[_t],++_t,bt+=O;if(J-2-L<=32?R(L,J-2,P,M,F,N,T,D,O,U,B):k(L,J-2,P,M,F,N,T,D,O,U,B),I-(Z+2)<=32?R(Z+2,I,P,M,F,N,T,D,O,U,B):k(Z+2,I,P,M,F,N,T,D,O,U,B),le){E(ct),E(Ve);return}if(J<z&&Z>V){e:for(;;){for(oe=M+J*F,_t=0,bt=M,Ae=0;Ae<D;++Ae){if(P[oe]!==ct[_t])break e;++_t,oe+=O}++J}e:for(;;){for(oe=M+Z*F,_t=0,bt=M,Ae=0;Ae<D;++Ae){if(P[oe]!==Ve[_t])break e;++_t,oe+=O}--Z}for(de=J;de<=Z;++de){oe=M+de*F,_t=0;e:for(Ae=0;Ae<D;++Ae){if(Te=P[oe]-ct[_t],Te!==0)break e;_t+=B,oe+=U}if(Te===0){if(de!==J)for(Re=F*de,be=F*J,bt=M,Ae=0;Ae<D;++Ae)oe=Re+bt,fe=be+bt,K=P[oe],P[oe]=P[fe],P[fe]=K,bt+=O;++J}else{oe=M+de*F,_t=0;e:for(Ae=0;Ae<D;++Ae){if(we=P[oe]-Ve[_t],we!==0)break e;_t+=B,oe+=U}if(we===0)for(;;){oe=M+Z*F,_t=0;e:for(Ae=0;Ae<D;++Ae){if(Be=P[oe]-Ve[_t],Be!==0)break e;_t+=B,oe+=U}if(Be===0){if(--Z<de)break;continue}else{oe=M+Z*F,_t=0;e:for(Ae=0;Ae<D;++Ae){if(Be=P[oe]-ct[_t],Be!==0)break e;_t+=B,oe+=U}if(Be<0){for(Re=F*de,be=F*J,Pe=F*Z,bt=M,Ae=0;Ae<D;++Ae)oe=Re+bt,fe=be+bt,me=Pe+bt,K=P[oe],P[oe]=P[fe],P[fe]=P[me],P[me]=K,bt+=O;++J,--Z}else{for(Re=F*de,be=F*Z,bt=M,Ae=0;Ae<D;++Ae)oe=Re+bt,fe=be+bt,K=P[oe],P[oe]=P[fe],P[fe]=K,bt+=O;--Z}break}}}}}E(ct),E(Ve),Z-J<=32?R(J,Z,P,M,F,N,T,D,O,U,B):k(J,Z,P,M,F,N,T,D,O,U,B)}}};function y(R,A,E){var k=d(A),L=[A,R].join(","),I=x[L];return R.length>1&&k?I(E,k[0],k[1]):I(E)}var C={"uint32,1,0":function(R,A){return function(E){var k=E.data,L=E.offset|0,I=E.shape,P=E.stride,M=P[0]|0,F=I[0]|0,N=P[1]|0,T=I[1]|0,D=N,O=N,U=1;F<=32?R(0,F-1,k,L,M,N,F,T,D,O,U):A(0,F-1,k,L,M,N,F,T,D,O,U)}}};function w(R,A){var E=[A,R].join(","),k=C[E],L=b(R,A),I=y(R,A,L);return k(L,I)}p.exports=w},8729:function(p,_,c){var s=c(8139),d={};function f(b){var x=b.order,y=b.dtype,C=[x,y],w=C.join(":"),R=d[w];return R||(d[w]=R=s(x,y)),R(b),b}p.exports=f},5050:function(p,_,c){var s=c(4780),d=typeof Float64Array<"u";function f(A,E){return A[0]-E[0]}function b(){var A=this.stride,E=new Array(A.length),k;for(k=0;k<E.length;++k)E[k]=[Math.abs(A[k]),k];E.sort(f);var L=new Array(E.length);for(k=0;k<L.length;++k)L[k]=E[k][1];return L}var x={T:function(A){function E(L){this.data=L}var k=E.prototype;return k.dtype=A,k.index=function(){return-1},k.size=0,k.dimension=-1,k.shape=k.stride=k.order=[],k.lo=k.hi=k.transpose=k.step=function(){return new E(this.data)},k.get=k.set=function(){},k.pick=function(){return null},function(I){return new E(I)}},0:function(A,E){function k(I,P){this.data=I,this.offset=P}var L=k.prototype;return L.dtype=A,L.index=function(){return this.offset},L.dimension=0,L.size=1,L.shape=L.stride=L.order=[],L.lo=L.hi=L.transpose=L.step=function(){return new k(this.data,this.offset)},L.pick=function(){return E(this.data)},L.valueOf=L.get=function(){return A==="generic"?this.data.get(this.offset):this.data[this.offset]},L.set=function(P){return A==="generic"?this.data.set(this.offset,P):this.data[this.offset]=P},function(P,M,F,N){return new k(P,N)}},1:function(A,E,k){function L(P,M,F,N){this.data=P,this.shape=[M],this.stride=[F],this.offset=N|0}var I=L.prototype;return I.dtype=A,I.dimension=1,Object.defineProperty(I,"size",{get:function(){return this.shape[0]}}),I.order=[0],I.set=function(M,F){return A==="generic"?this.data.set(this.offset+this.stride[0]*M,F):this.data[this.offset+this.stride[0]*M]=F},I.get=function(M){return A==="generic"?this.data.get(this.offset+this.stride[0]*M):this.data[this.offset+this.stride[0]*M]},I.index=function(M){return this.offset+this.stride[0]*M},I.hi=function(M){return new L(this.data,typeof M!="number"||M<0?this.shape[0]:M|0,this.stride[0],this.offset)},I.lo=function(M){var F=this.offset,N=0,T=this.shape[0],D=this.stride[0];return typeof M=="number"&&M>=0&&(N=M|0,F+=D*N,T-=N),new L(this.data,T,D,F)},I.step=function(M){var F=this.shape[0],N=this.stride[0],T=this.offset,D=0,O=Math.ceil;return typeof M=="number"&&(D=M|0,D<0?(T+=N*(F-1),F=O(-F/D)):F=O(F/D),N*=D),new L(this.data,F,N,T)},I.transpose=function(M){M=M===void 0?0:M|0;var F=this.shape,N=this.stride;return new L(this.data,F[M],N[M],this.offset)},I.pick=function(M){var F=[],N=[],T=this.offset;typeof M=="number"&&M>=0?T=T+this.stride[0]*M|0:(F.push(this.shape[0]),N.push(this.stride[0]));var D=E[F.length+1];return D(this.data,F,N,T)},function(M,F,N,T){return new L(M,F[0],N[0],T)}},2:function(A,E,k){function L(P,M,F,N,T,D){this.data=P,this.shape=[M,F],this.stride=[N,T],this.offset=D|0}var I=L.prototype;return I.dtype=A,I.dimension=2,Object.defineProperty(I,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(I,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),I.set=function(M,F,N){return A==="generic"?this.data.set(this.offset+this.stride[0]*M+this.stride[1]*F,N):this.data[this.offset+this.stride[0]*M+this.stride[1]*F]=N},I.get=function(M,F){return A==="generic"?this.data.get(this.offset+this.stride[0]*M+this.stride[1]*F):this.data[this.offset+this.stride[0]*M+this.stride[1]*F]},I.index=function(M,F){return this.offset+this.stride[0]*M+this.stride[1]*F},I.hi=function(M,F){return new L(this.data,typeof M!="number"||M<0?this.shape[0]:M|0,typeof F!="number"||F<0?this.shape[1]:F|0,this.stride[0],this.stride[1],this.offset)},I.lo=function(M,F){var N=this.offset,T=0,D=this.shape[0],O=this.shape[1],U=this.stride[0],B=this.stride[1];return typeof M=="number"&&M>=0&&(T=M|0,N+=U*T,D-=T),typeof F=="number"&&F>=0&&(T=F|0,N+=B*T,O-=T),new L(this.data,D,O,U,B,N)},I.step=function(M,F){var N=this.shape[0],T=this.shape[1],D=this.stride[0],O=this.stride[1],U=this.offset,B=0,Y=Math.ceil;return typeof M=="number"&&(B=M|0,B<0?(U+=D*(N-1),N=Y(-N/B)):N=Y(N/B),D*=B),typeof F=="number"&&(B=F|0,B<0?(U+=O*(T-1),T=Y(-T/B)):T=Y(T/B),O*=B),new L(this.data,N,T,D,O,U)},I.transpose=function(M,F){M=M===void 0?0:M|0,F=F===void 0?1:F|0;var N=this.shape,T=this.stride;return new L(this.data,N[M],N[F],T[M],T[F],this.offset)},I.pick=function(M,F){var N=[],T=[],D=this.offset;typeof M=="number"&&M>=0?D=D+this.stride[0]*M|0:(N.push(this.shape[0]),T.push(this.stride[0])),typeof F=="number"&&F>=0?D=D+this.stride[1]*F|0:(N.push(this.shape[1]),T.push(this.stride[1]));var O=E[N.length+1];return O(this.data,N,T,D)},function(M,F,N,T){return new L(M,F[0],F[1],N[0],N[1],T)}},3:function(A,E,k){function L(P,M,F,N,T,D,O,U){this.data=P,this.shape=[M,F,N],this.stride=[T,D,O],this.offset=U|0}var I=L.prototype;return I.dtype=A,I.dimension=3,Object.defineProperty(I,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(I,"order",{get:function(){var M=Math.abs(this.stride[0]),F=Math.abs(this.stride[1]),N=Math.abs(this.stride[2]);return M>F?F>N?[2,1,0]:M>N?[1,2,0]:[1,0,2]:M>N?[2,0,1]:N>F?[0,1,2]:[0,2,1]}}),I.set=function(M,F,N,T){return A==="generic"?this.data.set(this.offset+this.stride[0]*M+this.stride[1]*F+this.stride[2]*N,T):this.data[this.offset+this.stride[0]*M+this.stride[1]*F+this.stride[2]*N]=T},I.get=function(M,F,N){return A==="generic"?this.data.get(this.offset+this.stride[0]*M+this.stride[1]*F+this.stride[2]*N):this.data[this.offset+this.stride[0]*M+this.stride[1]*F+this.stride[2]*N]},I.index=function(M,F,N){return this.offset+this.stride[0]*M+this.stride[1]*F+this.stride[2]*N},I.hi=function(M,F,N){return new L(this.data,typeof M!="number"||M<0?this.shape[0]:M|0,typeof F!="number"||F<0?this.shape[1]:F|0,typeof N!="number"||N<0?this.shape[2]:N|0,this.stride[0],this.stride[1],this.stride[2],this.offset)},I.lo=function(M,F,N){var T=this.offset,D=0,O=this.shape[0],U=this.shape[1],B=this.shape[2],Y=this.stride[0],z=this.stride[1],V=this.stride[2];return typeof M=="number"&&M>=0&&(D=M|0,T+=Y*D,O-=D),typeof F=="number"&&F>=0&&(D=F|0,T+=z*D,U-=D),typeof N=="number"&&N>=0&&(D=N|0,T+=V*D,B-=D),new L(this.data,O,U,B,Y,z,V,T)},I.step=function(M,F,N){var T=this.shape[0],D=this.shape[1],O=this.shape[2],U=this.stride[0],B=this.stride[1],Y=this.stride[2],z=this.offset,V=0,j=Math.ceil;return typeof M=="number"&&(V=M|0,V<0?(z+=U*(T-1),T=j(-T/V)):T=j(T/V),U*=V),typeof F=="number"&&(V=F|0,V<0?(z+=B*(D-1),D=j(-D/V)):D=j(D/V),B*=V),typeof N=="number"&&(V=N|0,V<0?(z+=Y*(O-1),O=j(-O/V)):O=j(O/V),Y*=V),new L(this.data,T,D,O,U,B,Y,z)},I.transpose=function(M,F,N){M=M===void 0?0:M|0,F=F===void 0?1:F|0,N=N===void 0?2:N|0;var T=this.shape,D=this.stride;return new L(this.data,T[M],T[F],T[N],D[M],D[F],D[N],this.offset)},I.pick=function(M,F,N){var T=[],D=[],O=this.offset;typeof M=="number"&&M>=0?O=O+this.stride[0]*M|0:(T.push(this.shape[0]),D.push(this.stride[0])),typeof F=="number"&&F>=0?O=O+this.stride[1]*F|0:(T.push(this.shape[1]),D.push(this.stride[1])),typeof N=="number"&&N>=0?O=O+this.stride[2]*N|0:(T.push(this.shape[2]),D.push(this.stride[2]));var U=E[T.length+1];return U(this.data,T,D,O)},function(M,F,N,T){return new L(M,F[0],F[1],F[2],N[0],N[1],N[2],T)}},4:function(A,E,k){function L(P,M,F,N,T,D,O,U,B,Y){this.data=P,this.shape=[M,F,N,T],this.stride=[D,O,U,B],this.offset=Y|0}var I=L.prototype;return I.dtype=A,I.dimension=4,Object.defineProperty(I,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(I,"order",{get:k}),I.set=function(M,F,N,T,D){return A==="generic"?this.data.set(this.offset+this.stride[0]*M+this.stride[1]*F+this.stride[2]*N+this.stride[3]*T,D):this.data[this.offset+this.stride[0]*M+this.stride[1]*F+this.stride[2]*N+this.stride[3]*T]=D},I.get=function(M,F,N,T){return A==="generic"?this.data.get(this.offset+this.stride[0]*M+this.stride[1]*F+this.stride[2]*N+this.stride[3]*T):this.data[this.offset+this.stride[0]*M+this.stride[1]*F+this.stride[2]*N+this.stride[3]*T]},I.index=function(M,F,N,T){return this.offset+this.stride[0]*M+this.stride[1]*F+this.stride[2]*N+this.stride[3]*T},I.hi=function(M,F,N,T){return new L(this.data,typeof M!="number"||M<0?this.shape[0]:M|0,typeof F!="number"||F<0?this.shape[1]:F|0,typeof N!="number"||N<0?this.shape[2]:N|0,typeof T!="number"||T<0?this.shape[3]:T|0,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},I.lo=function(M,F,N,T){var D=this.offset,O=0,U=this.shape[0],B=this.shape[1],Y=this.shape[2],z=this.shape[3],V=this.stride[0],j=this.stride[1],G=this.stride[2],W=this.stride[3];return typeof M=="number"&&M>=0&&(O=M|0,D+=V*O,U-=O),typeof F=="number"&&F>=0&&(O=F|0,D+=j*O,B-=O),typeof N=="number"&&N>=0&&(O=N|0,D+=G*O,Y-=O),typeof T=="number"&&T>=0&&(O=T|0,D+=W*O,z-=O),new L(this.data,U,B,Y,z,V,j,G,W,D)},I.step=function(M,F,N,T){var D=this.shape[0],O=this.shape[1],U=this.shape[2],B=this.shape[3],Y=this.stride[0],z=this.stride[1],V=this.stride[2],j=this.stride[3],G=this.offset,W=0,X=Math.ceil;return typeof M=="number"&&(W=M|0,W<0?(G+=Y*(D-1),D=X(-D/W)):D=X(D/W),Y*=W),typeof F=="number"&&(W=F|0,W<0?(G+=z*(O-1),O=X(-O/W)):O=X(O/W),z*=W),typeof N=="number"&&(W=N|0,W<0?(G+=V*(U-1),U=X(-U/W)):U=X(U/W),V*=W),typeof T=="number"&&(W=T|0,W<0?(G+=j*(B-1),B=X(-B/W)):B=X(B/W),j*=W),new L(this.data,D,O,U,B,Y,z,V,j,G)},I.transpose=function(M,F,N,T){M=M===void 0?0:M|0,F=F===void 0?1:F|0,N=N===void 0?2:N|0,T=T===void 0?3:T|0;var D=this.shape,O=this.stride;return new L(this.data,D[M],D[F],D[N],D[T],O[M],O[F],O[N],O[T],this.offset)},I.pick=function(M,F,N,T){var D=[],O=[],U=this.offset;typeof M=="number"&&M>=0?U=U+this.stride[0]*M|0:(D.push(this.shape[0]),O.push(this.stride[0])),typeof F=="number"&&F>=0?U=U+this.stride[1]*F|0:(D.push(this.shape[1]),O.push(this.stride[1])),typeof N=="number"&&N>=0?U=U+this.stride[2]*N|0:(D.push(this.shape[2]),O.push(this.stride[2])),typeof T=="number"&&T>=0?U=U+this.stride[3]*T|0:(D.push(this.shape[3]),O.push(this.stride[3]));var B=E[D.length+1];return B(this.data,D,O,U)},function(M,F,N,T){return new L(M,F[0],F[1],F[2],F[3],N[0],N[1],N[2],N[3],T)}},5:function(E,k,L){function I(M,F,N,T,D,O,U,B,Y,z,V,j){this.data=M,this.shape=[F,N,T,D,O],this.stride=[U,B,Y,z,V],this.offset=j|0}var P=I.prototype;return P.dtype=E,P.dimension=5,Object.defineProperty(P,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(P,"order",{get:L}),P.set=function(F,N,T,D,O,U){return E==="generic"?this.data.set(this.offset+this.stride[0]*F+this.stride[1]*N+this.stride[2]*T+this.stride[3]*D+this.stride[4]*O,U):this.data[this.offset+this.stride[0]*F+this.stride[1]*N+this.stride[2]*T+this.stride[3]*D+this.stride[4]*O]=U},P.get=function(F,N,T,D,O){return E==="generic"?this.data.get(this.offset+this.stride[0]*F+this.stride[1]*N+this.stride[2]*T+this.stride[3]*D+this.stride[4]*O):this.data[this.offset+this.stride[0]*F+this.stride[1]*N+this.stride[2]*T+this.stride[3]*D+this.stride[4]*O]},P.index=function(F,N,T,D,O){return this.offset+this.stride[0]*F+this.stride[1]*N+this.stride[2]*T+this.stride[3]*D+this.stride[4]*O},P.hi=function(F,N,T,D,O){return new I(this.data,typeof F!="number"||F<0?this.shape[0]:F|0,typeof N!="number"||N<0?this.shape[1]:N|0,typeof T!="number"||T<0?this.shape[2]:T|0,typeof D!="number"||D<0?this.shape[3]:D|0,typeof O!="number"||O<0?this.shape[4]:O|0,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},P.lo=function(F,N,T,D,O){var U=this.offset,B=0,Y=this.shape[0],z=this.shape[1],V=this.shape[2],j=this.shape[3],G=this.shape[4],W=this.stride[0],X=this.stride[1],Q=this.stride[2],ae=this.stride[3],ie=this.stride[4];return typeof F=="number"&&F>=0&&(B=F|0,U+=W*B,Y-=B),typeof N=="number"&&N>=0&&(B=N|0,U+=X*B,z-=B),typeof T=="number"&&T>=0&&(B=T|0,U+=Q*B,V-=B),typeof D=="number"&&D>=0&&(B=D|0,U+=ae*B,j-=B),typeof O=="number"&&O>=0&&(B=O|0,U+=ie*B,G-=B),new I(this.data,Y,z,V,j,G,W,X,Q,ae,ie,U)},P.step=function(F,N,T,D,O){var U=this.shape[0],B=this.shape[1],Y=this.shape[2],z=this.shape[3],V=this.shape[4],j=this.stride[0],G=this.stride[1],W=this.stride[2],X=this.stride[3],Q=this.stride[4],ae=this.offset,ie=0,he=Math.ceil;return typeof F=="number"&&(ie=F|0,ie<0?(ae+=j*(U-1),U=he(-U/ie)):U=he(U/ie),j*=ie),typeof N=="number"&&(ie=N|0,ie<0?(ae+=G*(B-1),B=he(-B/ie)):B=he(B/ie),G*=ie),typeof T=="number"&&(ie=T|0,ie<0?(ae+=W*(Y-1),Y=he(-Y/ie)):Y=he(Y/ie),W*=ie),typeof D=="number"&&(ie=D|0,ie<0?(ae+=X*(z-1),z=he(-z/ie)):z=he(z/ie),X*=ie),typeof O=="number"&&(ie=O|0,ie<0?(ae+=Q*(V-1),V=he(-V/ie)):V=he(V/ie),Q*=ie),new I(this.data,U,B,Y,z,V,j,G,W,X,Q,ae)},P.transpose=function(F,N,T,D,O){F=F===void 0?0:F|0,N=N===void 0?1:N|0,T=T===void 0?2:T|0,D=D===void 0?3:D|0,O=O===void 0?4:O|0;var U=this.shape,B=this.stride;return new I(this.data,U[F],U[N],U[T],U[D],U[O],B[F],B[N],B[T],B[D],B[O],this.offset)},P.pick=function(F,N,T,D,O){var U=[],B=[],Y=this.offset;typeof F=="number"&&F>=0?Y=Y+this.stride[0]*F|0:(U.push(this.shape[0]),B.push(this.stride[0])),typeof N=="number"&&N>=0?Y=Y+this.stride[1]*N|0:(U.push(this.shape[1]),B.push(this.stride[1])),typeof T=="number"&&T>=0?Y=Y+this.stride[2]*T|0:(U.push(this.shape[2]),B.push(this.stride[2])),typeof D=="number"&&D>=0?Y=Y+this.stride[3]*D|0:(U.push(this.shape[3]),B.push(this.stride[3])),typeof O=="number"&&O>=0?Y=Y+this.stride[4]*O|0:(U.push(this.shape[4]),B.push(this.stride[4]));var z=k[U.length+1];return z(this.data,U,B,Y)},function(F,N,T,D){return new I(F,N[0],N[1],N[2],N[3],N[4],T[0],T[1],T[2],T[3],T[4],D)}}};function y(A,E){var k=E===-1?"T":String(E),L=x[k];return E===-1?L(A):E===0?L(A,w[A][0]):L(A,w[A],b)}function C(A){if(s(A))return"buffer";if(d)switch(Object.prototype.toString.call(A)){case"[object Float64Array]":return"float64";case"[object Float32Array]":return"float32";case"[object Int8Array]":return"int8";case"[object Int16Array]":return"int16";case"[object Int32Array]":return"int32";case"[object Uint8ClampedArray]":return"uint8_clamped";case"[object Uint8Array]":return"uint8";case"[object Uint16Array]":return"uint16";case"[object Uint32Array]":return"uint32";case"[object BigInt64Array]":return"bigint64";case"[object BigUint64Array]":return"biguint64"}return Array.isArray(A)?"array":"generic"}var w={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};function R(A,E,k,L){if(A===void 0){var T=w.array[0];return T([])}else typeof A=="number"&&(A=[A]);E===void 0&&(E=[A.length]);var I=E.length;if(k===void 0){k=new Array(I);for(var P=I-1,M=1;P>=0;--P)k[P]=M,M*=E[P]}if(L===void 0){L=0;for(var P=0;P<I;++P)k[P]<0&&(L-=(E[P]-1)*k[P])}for(var F=C(A),N=w[F];N.length<=I+1;)N.push(y(F,N.length-1));var T=N[I+1];return T(A,E,k,L)}p.exports=R},8551:function(p,_,c){var s=c(8362),d=Math.pow(2,-1074),f=-1>>>0;p.exports=b;function b(x,y){if(isNaN(x)||isNaN(y))return NaN;if(x===y)return x;if(x===0)return y<0?-d:d;var C=s.hi(x),w=s.lo(x);return y>x==x>0?w===f?(C+=1,w=0):w+=1:w===0?(w=f,C-=1):w-=1,s.pack(w,C)}},115:function(p,_){var c=1e-6,s=1e-6;_.vertexNormals=function(d,f,b){for(var x=f.length,y=new Array(x),C=b===void 0?c:b,w=0;w<x;++w)y[w]=[0,0,0];for(var w=0;w<d.length;++w)for(var R=d[w],A=0,E=R[R.length-1],k=R[0],L=0;L<R.length;++L){A=E,E=k,k=R[(L+1)%R.length];for(var I=f[A],P=f[E],M=f[k],F=new Array(3),N=0,T=new Array(3),D=0,O=0;O<3;++O)F[O]=I[O]-P[O],N+=F[O]*F[O],T[O]=M[O]-P[O],D+=T[O]*T[O];if(N*D>C)for(var U=y[E],B=1/Math.sqrt(N*D),O=0;O<3;++O){var Y=(O+1)%3,z=(O+2)%3;U[O]+=B*(T[Y]*F[z]-T[z]*F[Y])}}for(var w=0;w<x;++w){for(var U=y[w],V=0,O=0;O<3;++O)V+=U[O]*U[O];if(V>C)for(var B=1/Math.sqrt(V),O=0;O<3;++O)U[O]*=B;else for(var O=0;O<3;++O)U[O]=0}return y},_.faceNormals=function(d,f,b){for(var x=d.length,y=new Array(x),C=b===void 0?s:b,w=0;w<x;++w){for(var R=d[w],A=new Array(3),E=0;E<3;++E)A[E]=f[R[E]];for(var k=new Array(3),L=new Array(3),E=0;E<3;++E)k[E]=A[1][E]-A[0][E],L[E]=A[2][E]-A[0][E];for(var I=new Array(3),P=0,E=0;E<3;++E){var M=(E+1)%3,F=(E+2)%3;I[E]=k[M]*L[F]-k[F]*L[M],P+=I[E]*I[E]}P>C?P=1/Math.sqrt(P):P=0;for(var E=0;E<3;++E)I[E]*=P;y[w]=I}return y}},567:function(p){p.exports=_;function _(c,s,d,f,b,x,y,C,w,R){var A=s+x+R;if(E>0){var E=Math.sqrt(A+1);c[0]=.5*(y-w)/E,c[1]=.5*(C-f)/E,c[2]=.5*(d-x)/E,c[3]=.5*E}else{var k=Math.max(s,x,R),E=Math.sqrt(2*k-A+1);s>=k?(c[0]=.5*E,c[1]=.5*(b+d)/E,c[2]=.5*(C+f)/E,c[3]=.5*(y-w)/E):x>=k?(c[0]=.5*(d+b)/E,c[1]=.5*E,c[2]=.5*(w+y)/E,c[3]=.5*(C-f)/E):(c[0]=.5*(f+C)/E,c[1]=.5*(y+w)/E,c[2]=.5*E,c[3]=.5*(d-b)/E)}return c}},7774:function(p,_,c){p.exports=E;var s=c(8444),d=c(3012),f=c(5950),b=c(7437),x=c(567);function y(k,L,I){return Math.sqrt(Math.pow(k,2)+Math.pow(L,2)+Math.pow(I,2))}function C(k,L,I,P){return Math.sqrt(Math.pow(k,2)+Math.pow(L,2)+Math.pow(I,2)+Math.pow(P,2))}function w(k,L){var I=L[0],P=L[1],M=L[2],F=L[3],N=C(I,P,M,F);N>1e-6?(k[0]=I/N,k[1]=P/N,k[2]=M/N,k[3]=F/N):(k[0]=k[1]=k[2]=0,k[3]=1)}function R(k,L,I){this.radius=s([I]),this.center=s(L),this.rotation=s(k),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var A=R.prototype;A.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},A.recalcMatrix=function(k){this.radius.curve(k),this.center.curve(k),this.rotation.curve(k);var L=this.computedRotation;w(L,L);var I=this.computedMatrix;f(I,L);var P=this.computedCenter,M=this.computedEye,F=this.computedUp,N=Math.exp(this.computedRadius[0]);M[0]=P[0]+N*I[2],M[1]=P[1]+N*I[6],M[2]=P[2]+N*I[10],F[0]=I[1],F[1]=I[5],F[2]=I[9];for(var T=0;T<3;++T){for(var D=0,O=0;O<3;++O)D+=I[T+4*O]*M[O];I[12+T]=-D}},A.getMatrix=function(k,L){this.recalcMatrix(k);var I=this.computedMatrix;if(L){for(var P=0;P<16;++P)L[P]=I[P];return L}return I},A.idle=function(k){this.center.idle(k),this.radius.idle(k),this.rotation.idle(k)},A.flush=function(k){this.center.flush(k),this.radius.flush(k),this.rotation.flush(k)},A.pan=function(k,L,I,P){L=L||0,I=I||0,P=P||0,this.recalcMatrix(k);var M=this.computedMatrix,F=M[1],N=M[5],T=M[9],D=y(F,N,T);F/=D,N/=D,T/=D;var O=M[0],U=M[4],B=M[8],Y=O*F+U*N+B*T;O-=F*Y,U-=N*Y,B-=T*Y;var z=y(O,U,B);O/=z,U/=z,B/=z,M[2],M[6],M[10];var V=O*L+F*I,j=U*L+N*I,G=B*L+T*I;this.center.move(k,V,j,G);var W=Math.exp(this.computedRadius[0]);W=Math.max(1e-4,W+P),this.radius.set(k,Math.log(W))},A.rotate=function(k,L,I,P){this.recalcMatrix(k),L=L||0,I=I||0;var M=this.computedMatrix,F=M[0],N=M[4],T=M[8],D=M[1],O=M[5],U=M[9],B=M[2],Y=M[6],z=M[10],V=L*F+I*D,j=L*N+I*O,G=L*T+I*U,W=-(Y*G-z*j),X=-(z*V-B*G),Q=-(B*j-Y*V),ae=Math.sqrt(Math.max(0,1-Math.pow(W,2)-Math.pow(X,2)-Math.pow(Q,2))),ie=C(W,X,Q,ae);ie>1e-6?(W/=ie,X/=ie,Q/=ie,ae/=ie):(W=X=Q=0,ae=1);var he=this.computedRotation,J=he[0],Z=he[1],le=he[2],K=he[3],te=J*ae+K*W+Z*Q-le*X,ce=Z*ae+K*X+le*W-J*Q,re=le*ae+K*Q+J*X-Z*W,ee=K*ae-J*W-Z*X-le*Q;if(P){W=B,X=Y,Q=z;var de=Math.sin(P)/y(W,X,Q);W*=de,X*=de,Q*=de,ae=Math.cos(L),te=te*ae+ee*W+ce*Q-re*X,ce=ce*ae+ee*X+re*W-te*Q,re=re*ae+ee*Q+te*X-ce*W,ee=ee*ae-te*W-ce*X-re*Q}var oe=C(te,ce,re,ee);oe>1e-6?(te/=oe,ce/=oe,re/=oe,ee/=oe):(te=ce=re=0,ee=1),this.rotation.set(k,te,ce,re,ee)},A.lookAt=function(k,L,I,P){this.recalcMatrix(k),I=I||this.computedCenter,L=L||this.computedEye,P=P||this.computedUp;var M=this.computedMatrix;d(M,L,I,P);var F=this.computedRotation;x(F,M[0],M[1],M[2],M[4],M[5],M[6],M[8],M[9],M[10]),w(F,F),this.rotation.set(k,F[0],F[1],F[2],F[3]);for(var N=0,T=0;T<3;++T)N+=Math.pow(I[T]-L[T],2);this.radius.set(k,.5*Math.log(Math.max(N,1e-6))),this.center.set(k,I[0],I[1],I[2])},A.translate=function(k,L,I,P){this.center.move(k,L||0,I||0,P||0)},A.setMatrix=function(k,L){var I=this.computedRotation;x(I,L[0],L[1],L[2],L[4],L[5],L[6],L[8],L[9],L[10]),w(I,I),this.rotation.set(k,I[0],I[1],I[2],I[3]);var P=this.computedMatrix;b(P,L);var M=P[15];if(Math.abs(M)>1e-6){var F=P[12]/M,N=P[13]/M,T=P[14]/M;this.recalcMatrix(k);var D=Math.exp(this.computedRadius[0]);this.center.set(k,F-P[2]*D,N-P[6]*D,T-P[10]*D),this.radius.idle(k)}else this.center.idle(k),this.radius.idle(k)},A.setDistance=function(k,L){L>0&&this.radius.set(k,Math.log(L))},A.setDistanceLimits=function(k,L){k>0?k=Math.log(k):k=-1/0,L>0?L=Math.log(L):L=1/0,L=Math.max(L,k),this.radius.bounds[0][0]=k,this.radius.bounds[1][0]=L},A.getDistanceLimits=function(k){var L=this.radius.bounds;return k?(k[0]=Math.exp(L[0][0]),k[1]=Math.exp(L[1][0]),k):[Math.exp(L[0][0]),Math.exp(L[1][0])]},A.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},A.fromJSON=function(k){var L=this.lastT(),I=k.center;I&&this.center.set(L,I[0],I[1],I[2]);var P=k.rotation;P&&this.rotation.set(L,P[0],P[1],P[2],P[3]);var M=k.distance;M&&M>0&&this.radius.set(L,Math.log(M)),this.setDistanceLimits(k.zoomMin,k.zoomMax)};function E(k){k=k||{};var L=k.center||[0,0,0],I=k.rotation||[0,0,0,1],P=k.radius||1;L=[].slice.call(L,0,3),I=[].slice.call(I,0,4),w(I,I);var M=new R(I,L,Math.log(P));return M.setDistanceLimits(k.zoomMin,k.zoomMax),("eye"in k||"up"in k)&&M.lookAt(0,k.eye,k.center,k.up),M}},4930:function(p,_,c){/*!
* pad-left <https://github.com/jonschlinkert/pad-left>
*
* Copyright (c) 2014-2015, Jon Schlinkert.
* Licensed under the MIT license.
*/var s=c(6184);p.exports=function(f,b,x){return x=typeof x<"u"?x+"":" ",s(x,b)+f}},4405:function(p){p.exports=function(c,s){s||(s=[0,""]),c=String(c);var d=parseFloat(c,10);return s[0]=d,s[1]=c.match(/[\d.\-\+]*\s*(.*)/)[1]||"",s}},4166:function(p,_,c){p.exports=d;var s=c(9398);function d(f,b){for(var x=b.length|0,y=f.length,C=[new Array(x),new Array(x)],w=0;w<x;++w)C[0][w]=[],C[1][w]=[];for(var w=0;w<y;++w){var R=f[w];C[0][R[0]].push(R),C[1][R[1]].push(R)}for(var A=[],w=0;w<x;++w)C[0][w].length+C[1][w].length===0&&A.push([w]);function E(N,T){var D=C[T][N[T]];D.splice(D.indexOf(N),1)}function k(N,T,D){for(var O,U,B,Y=0;Y<2;++Y)if(C[Y][T].length>0){O=C[Y][T][0],B=Y;break}U=O[B^1];for(var z=0;z<2;++z)for(var V=C[z][T],j=0;j<V.length;++j){var G=V[j],W=G[z^1],X=s(b[N],b[T],b[U],b[W]);X>0&&(O=G,U=W,B=z)}return D||O&&E(O,B),U}function L(N,T){var D=C[T][N][0],O=[N];E(D,T);for(var U=D[T^1];;){for(;U!==N;)O.push(U),U=k(O[O.length-2],U,!1);if(C[0][N].length+C[1][N].length===0)break;var B=O[O.length-1],Y=N,z=O[1],V=k(B,Y,!0);if(s(b[B],b[Y],b[z],b[V])<0)break;O.push(N),U=k(B,Y)}return O}function I(N,T){return T[1]===T[T.length-1]}for(var w=0;w<x;++w)for(var P=0;P<2;++P){for(var M=[];C[P][w].length>0;){C[0][w].length;var F=L(w,P);I(M,F)?M.push.apply(M,F):(M.length>0&&A.push(M),M=F)}M.length>0&&A.push(M)}return A}},3959:function(p,_,c){p.exports=d;var s=c(8348);function d(f,b){for(var x=s(f,b.length),y=new Array(b.length),C=new Array(b.length),w=[],R=0;R<b.length;++R){var A=x[R].length;C[R]=A,y[R]=!0,A<=1&&w.push(R)}for(;w.length>0;){var E=w.pop();y[E]=!1;for(var k=x[E],R=0;R<k.length;++R){var L=k[R];--C[L]===0&&w.push(L)}}for(var I=new Array(b.length),P=[],R=0;R<b.length;++R)if(y[R]){var E=P.length;I[R]=E,P.push(b[R])}else I[R]=-1;for(var M=[],R=0;R<f.length;++R){var F=f[R];y[F[0]]&&y[F[1]]&&M.push([I[F[0]],I[F[1]]])}return[M,P]}},8040:function(p,_,c){p.exports=A;var s=c(8348),d=c(4166),f=c(211),b=c(9660),x=c(9662),y=c(1215),C=c(3959);function w(E,k){for(var L=new Array(E),I=0;I<E;++I)L[I]=k;return L}function R(E){for(var k=new Array(E),L=0;L<E;++L)k[L]=[];return k}function A(E,k){var ee=C(E,k);E=ee[0],k=ee[1];var L=k.length;E.length;for(var I=s(E,k.length),P=0;P<L;++P)if(I[P].length%2===1)throw new Error("planar-graph-to-polyline: graph must be manifold");var M=d(E,k);function F(Be){for(var Ae=Be.length,Re=[0],be=0;be<Ae;++be){var Pe=k[Be[be]],Ke=k[Be[(be+1)%Ae]],ze=b(-Pe[0],Pe[1]),Fe=b(-Pe[0],Ke[1]),We=b(Ke[0],Pe[1]),lt=b(Ke[0],Ke[1]);Re=x(Re,x(x(ze,Fe),x(We,lt)))}return Re[Re.length-1]>0}M=M.filter(F);for(var N=M.length,T=new Array(N),D=new Array(N),P=0;P<N;++P){T[P]=P;var O=new Array(N),U=M[P].map(function(Ae){return k[Ae]}),B=f([U]),Y=0;e:for(var z=0;z<N;++z)if(O[z]=0,P!==z){for(var V=M[z],j=V.length,G=0;G<j;++G){var W=B(k[V[G]]);if(W!==0){W<0&&(O[z]=1,Y+=1);continue e}}O[z]=1,Y+=1}D[P]=[Y,P,O]}D.sort(function(Be,Ae){return Ae[0]-Be[0]});for(var P=0;P<N;++P)for(var O=D[P],X=O[1],Q=O[2],z=0;z<N;++z)Q[z]&&(T[z]=X);for(var ae=R(N),P=0;P<N;++P)ae[P].push(T[P]),ae[T[P]].push(P);for(var ie={},he=w(L,!1),P=0;P<N;++P)for(var V=M[P],j=V.length,z=0;z<j;++z){var J=V[z],Z=V[(z+1)%j],le=Math.min(J,Z)+":"+Math.max(J,Z);if(le in ie){var K=ie[le];ae[K].push(P),ae[P].push(K),he[J]=he[Z]=!0}else ie[le]=P}function te(Be){for(var Ae=Be.length,Re=0;Re<Ae;++Re)if(!he[Be[Re]])return!1;return!0}for(var ce=[],re=w(N,-1),P=0;P<N;++P)T[P]===P&&!te(M[P])?(ce.push(P),re[P]=0):re[P]=-1;for(var ee=[];ce.length>0;){var de=ce.pop(),oe=ae[de];y(oe,function(Be,Ae){return Be-Ae});var fe=oe.length,me=re[de],Te;if(me===0){var V=M[de];Te=[V]}for(var P=0;P<fe;++P){var we=oe[P];if(!(re[we]>=0)&&(re[we]=me^1,ce.push(we),me===0)){var V=M[we];te(V)||(V.reverse(),Te.push(V))}}me===0&&ee.push(Te)}return ee}},211:function(p,_,c){p.exports=k;var s=c(417)[3],d=c(4385),f=c(9014),b=c(5070);function x(){return!0}function y(L){return function(I,P){var M=L[I];return M?!!M.queryPoint(P,x):!1}}function C(L){for(var I={},P=0;P<L.length;++P){var M=L[P],F=M[0][0],N=M[0][1],T=M[1][1],D=[Math.min(N,T),Math.max(N,T)];F in I?I[F].push(D):I[F]=[D]}for(var O={},U=Object.keys(I),P=0;P<U.length;++P){var B=I[U[P]];O[U[P]]=f(B)}return y(O)}function w(L,I){return function(P){var M=b.le(I,P[0]);if(M<0)return 1;var F=L[M];if(!F)if(M>0&&I[M]===P[0])F=L[M-1];else return 1;for(var N=1;F;){var T=F.key,D=s(P,T[0],T[1]);if(T[0][0]<T[1][0])if(D<0)F=F.left;else if(D>0)N=-1,F=F.right;else return 0;else if(D>0)F=F.left;else if(D<0)N=1,F=F.right;else return 0}return N}}function R(L){return 1}function A(L){return function(P){return L(P[0],P[1])?0:1}}function E(L,I){return function(M){return L(M[0],M[1])?0:I(M)}}function k(L){for(var I=L.length,P=[],M=[],F=0;F<I;++F)for(var N=L[F],T=N.length,D=T-1,O=0;O<T;D=O++){var U=N[D],B=N[O];U[0]===B[0]?M.push([U,B]):P.push([U,B])}if(P.length===0)return M.length===0?R:A(C(M));var Y=d(P),z=w(Y.slabs,Y.coordinates);return M.length===0?z:E(C(M),z)}},7309:function(p){var _=new Float64Array(4),c=new Float64Array(4),s=new Float64Array(4);function d(f,b,x,y,C){_.length<y.length&&(_=new Float64Array(y.length),c=new Float64Array(y.length),s=new Float64Array(y.length));for(var w=0;w<y.length;++w)_[w]=f[w]-y[w],c[w]=b[w]-f[w],s[w]=x[w]-f[w];for(var R=0,A=0,E=0,k=0,L=0,I=0,w=0;w<y.length;++w){var P=c[w],M=s[w],F=_[w];R+=P*P,A+=P*M,E+=M*M,k+=F*P,L+=F*M,I+=F*F}var N=Math.abs(R*E-A*A),T=A*L-E*k,D=A*k-R*L,O;if(T+D<=N)if(T<0)D<0&&k<0?(D=0,-k>=R?(T=1,O=R+2*k+I):(T=-k/R,O=k*T+I)):(T=0,L>=0?(D=0,O=I):-L>=E?(D=1,O=E+2*L+I):(D=-L/E,O=L*D+I));else if(D<0)D=0,k>=0?(T=0,O=I):-k>=R?(T=1,O=R+2*k+I):(T=-k/R,O=k*T+I);else{var U=1/N;T*=U,D*=U,O=T*(R*T+A*D+2*k)+D*(A*T+E*D+2*L)+I}else{var B,Y,z,V;T<0?(B=A+k,Y=E+L,Y>B?(z=Y-B,V=R-2*A+E,z>=V?(T=1,D=0,O=R+2*k+I):(T=z/V,D=1-T,O=T*(R*T+A*D+2*k)+D*(A*T+E*D+2*L)+I)):(T=0,Y<=0?(D=1,O=E+2*L+I):L>=0?(D=0,O=I):(D=-L/E,O=L*D+I))):D<0?(B=A+L,Y=R+k,Y>B?(z=Y-B,V=R-2*A+E,z>=V?(D=1,T=0,O=E+2*L+I):(D=z/V,T=1-D,O=T*(R*T+A*D+2*k)+D*(A*T+E*D+2*L)+I)):(D=0,Y<=0?(T=1,O=R+2*k+I):k>=0?(T=0,O=I):(T=-k/R,O=k*T+I))):(z=E+L-A-k,z<=0?(T=0,D=1,O=E+2*L+I):(V=R-2*A+E,z>=V?(T=1,D=0,O=R+2*k+I):(T=z/V,D=1-T,O=T*(R*T+A*D+2*k)+D*(A*T+E*D+2*L)+I)))}for(var j=1-T-D,w=0;w<y.length;++w)C[w]=j*f[w]+T*b[w]+D*x[w];return O<0?0:O}p.exports=d},1116:function(p,_,c){p.exports=c(6093)},7584:function(p,_,c){var s=c(1539);p.exports=d;function d(f,b){for(var x=f.length,y=new Array(x),C=0;C<x;++C)y[C]=s(f[C],b[C]);return y}},2826:function(p,_,c){p.exports=d;var s=c(5125);function d(f){for(var b=new Array(f.length),x=0;x<f.length;++x)b[x]=s(f[x]);return b}},4469:function(p,_,c){var s=c(5125),d=c(3962);p.exports=f;function f(b,x){for(var y=s(x),C=b.length,w=new Array(C),R=0;R<C;++R)w[R]=d(b[R],y);return w}},6695:function(p,_,c){var s=c(4354);p.exports=d;function d(f,b){for(var x=f.length,y=new Array(x),C=0;C<x;++C)y[C]=s(f[C],b[C]);return y}},7037:function(p,_,c){var s=c(9209),d=c(1284),f=c(9887);p.exports=b;function b(x){x.sort(d);for(var y=x.length,C=0,w=0;w<y;++w){var R=x[w],A=f(R);if(A!==0){if(C>0){var E=x[C-1];if(s(R,E)===0&&f(E)!==A){C-=1;continue}}x[C++]=R}}return x.length=C,x}},6184:function(p){/*!
* repeat-string <https://github.com/jonschlinkert/repeat-string>
*
* Copyright (c) 2014-2015, Jon Schlinkert.
* Licensed under the MIT License.
*/var _="",c;p.exports=s;function s(d,f){if(typeof d!="string")throw new TypeError("expected a string");if(f===1)return d;if(f===2)return d+d;var b=d.length*f;if(c!==d||typeof c>"u")c=d,_="";else if(_.length>=b)return _.substr(0,b);for(;b>_.length&&f>1;)f&1&&(_+=d),f>>=1,d+=d;return _+=d,_=_.substr(0,b),_}},8161:function(p,_,c){p.exports=c.g.performance&&c.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},402:function(p){p.exports=_;function _(c){for(var s=c.length,d=c[c.length-1],f=s,b=s-2;b>=0;--b){var x=d,y=c[b];d=x+y;var C=d-x,w=y-C;w&&(c[--f]=d,d=w)}for(var R=0,b=f;b<s;++b){var x=c[b],y=d;d=x+y;var C=d-x,w=y-C;w&&(c[R++]=w)}return c[R++]=d,c.length=R,c}},8167:function(p,_,c){var s=c(9660),d=c(9662),f=c(8289),b=c(402),x=6;function y(I,P,M,F){return function(T){return F(I(M(T[0][0],T[1][1]),M(-T[0][1],T[1][0])))}}function C(I,P,M,F){return function(T){return F(I(P(I(M(T[1][1],T[2][2]),M(-T[1][2],T[2][1])),T[0][0]),I(P(I(M(T[1][0],T[2][2]),M(-T[1][2],T[2][0])),-T[0][1]),P(I(M(T[1][0],T[2][1]),M(-T[1][1],T[2][0])),T[0][2]))))}}function w(I,P,M,F){return function(T){return F(I(I(P(I(P(I(M(T[2][2],T[3][3]),M(-T[2][3],T[3][2])),T[1][1]),I(P(I(M(T[2][1],T[3][3]),M(-T[2][3],T[3][1])),-T[1][2]),P(I(M(T[2][1],T[3][2]),M(-T[2][2],T[3][1])),T[1][3]))),T[0][0]),P(I(P(I(M(T[2][2],T[3][3]),M(-T[2][3],T[3][2])),T[1][0]),I(P(I(M(T[2][0],T[3][3]),M(-T[2][3],T[3][0])),-T[1][2]),P(I(M(T[2][0],T[3][2]),M(-T[2][2],T[3][0])),T[1][3]))),-T[0][1])),I(P(I(P(I(M(T[2][1],T[3][3]),M(-T[2][3],T[3][1])),T[1][0]),I(P(I(M(T[2][0],T[3][3]),M(-T[2][3],T[3][0])),-T[1][1]),P(I(M(T[2][0],T[3][1]),M(-T[2][1],T[3][0])),T[1][3]))),T[0][2]),P(I(P(I(M(T[2][1],T[3][2]),M(-T[2][2],T[3][1])),T[1][0]),I(P(I(M(T[2][0],T[3][2]),M(-T[2][2],T[3][0])),-T[1][1]),P(I(M(T[2][0],T[3][1]),M(-T[2][1],T[3][0])),T[1][2]))),-T[0][3]))))}}function R(I,P,M,F){return function(T){return F(I(I(P(I(I(P(I(P(I(M(T[3][3],T[4][4]),M(-T[3][4],T[4][3])),T[2][2]),I(P(I(M(T[3][2],T[4][4]),M(-T[3][4],T[4][2])),-T[2][3]),P(I(M(T[3][2],T[4][3]),M(-T[3][3],T[4][2])),T[2][4]))),T[1][1]),P(I(P(I(M(T[3][3],T[4][4]),M(-T[3][4],T[4][3])),T[2][1]),I(P(I(M(T[3][1],T[4][4]),M(-T[3][4],T[4][1])),-T[2][3]),P(I(M(T[3][1],T[4][3]),M(-T[3][3],T[4][1])),T[2][4]))),-T[1][2])),I(P(I(P(I(M(T[3][2],T[4][4]),M(-T[3][4],T[4][2])),T[2][1]),I(P(I(M(T[3][1],T[4][4]),M(-T[3][4],T[4][1])),-T[2][2]),P(I(M(T[3][1],T[4][2]),M(-T[3][2],T[4][1])),T[2][4]))),T[1][3]),P(I(P(I(M(T[3][2],T[4][3]),M(-T[3][3],T[4][2])),T[2][1]),I(P(I(M(T[3][1],T[4][3]),M(-T[3][3],T[4][1])),-T[2][2]),P(I(M(T[3][1],T[4][2]),M(-T[3][2],T[4][1])),T[2][3]))),-T[1][4]))),T[0][0]),P(I(I(P(I(P(I(M(T[3][3],T[4][4]),M(-T[3][4],T[4][3])),T[2][2]),I(P(I(M(T[3][2],T[4][4]),M(-T[3][4],T[4][2])),-T[2][3]),P(I(M(T[3][2],T[4][3]),M(-T[3][3],T[4][2])),T[2][4]))),T[1][0]),P(I(P(I(M(T[3][3],T[4][4]),M(-T[3][4],T[4][3])),T[2][0]),I(P(I(M(T[3][0],T[4][4]),M(-T[3][4],T[4][0])),-T[2][3]),P(I(M(T[3][0],T[4][3]),M(-T[3][3],T[4][0])),T[2][4]))),-T[1][2])),I(P(I(P(I(M(T[3][2],T[4][4]),M(-T[3][4],T[4][2])),T[2][0]),I(P(I(M(T[3][0],T[4][4]),M(-T[3][4],T[4][0])),-T[2][2]),P(I(M(T[3][0],T[4][2]),M(-T[3][2],T[4][0])),T[2][4]))),T[1][3]),P(I(P(I(M(T[3][2],T[4][3]),M(-T[3][3],T[4][2])),T[2][0]),I(P(I(M(T[3][0],T[4][3]),M(-T[3][3],T[4][0])),-T[2][2]),P(I(M(T[3][0],T[4][2]),M(-T[3][2],T[4][0])),T[2][3]))),-T[1][4]))),-T[0][1])),I(P(I(I(P(I(P(I(M(T[3][3],T[4][4]),M(-T[3][4],T[4][3])),T[2][1]),I(P(I(M(T[3][1],T[4][4]),M(-T[3][4],T[4][1])),-T[2][3]),P(I(M(T[3][1],T[4][3]),M(-T[3][3],T[4][1])),T[2][4]))),T[1][0]),P(I(P(I(M(T[3][3],T[4][4]),M(-T[3][4],T[4][3])),T[2][0]),I(P(I(M(T[3][0],T[4][4]),M(-T[3][4],T[4][0])),-T[2][3]),P(I(M(T[3][0],T[4][3]),M(-T[3][3],T[4][0])),T[2][4]))),-T[1][1])),I(P(I(P(I(M(T[3][1],T[4][4]),M(-T[3][4],T[4][1])),T[2][0]),I(P(I(M(T[3][0],T[4][4]),M(-T[3][4],T[4][0])),-T[2][1]),P(I(M(T[3][0],T[4][1]),M(-T[3][1],T[4][0])),T[2][4]))),T[1][3]),P(I(P(I(M(T[3][1],T[4][3]),M(-T[3][3],T[4][1])),T[2][0]),I(P(I(M(T[3][0],T[4][3]),M(-T[3][3],T[4][0])),-T[2][1]),P(I(M(T[3][0],T[4][1]),M(-T[3][1],T[4][0])),T[2][3]))),-T[1][4]))),T[0][2]),I(P(I(I(P(I(P(I(M(T[3][2],T[4][4]),M(-T[3][4],T[4][2])),T[2][1]),I(P(I(M(T[3][1],T[4][4]),M(-T[3][4],T[4][1])),-T[2][2]),P(I(M(T[3][1],T[4][2]),M(-T[3][2],T[4][1])),T[2][4]))),T[1][0]),P(I(P(I(M(T[3][2],T[4][4]),M(-T[3][4],T[4][2])),T[2][0]),I(P(I(M(T[3][0],T[4][4]),M(-T[3][4],T[4][0])),-T[2][2]),P(I(M(T[3][0],T[4][2]),M(-T[3][2],T[4][0])),T[2][4]))),-T[1][1])),I(P(I(P(I(M(T[3][1],T[4][4]),M(-T[3][4],T[4][1])),T[2][0]),I(P(I(M(T[3][0],T[4][4]),M(-T[3][4],T[4][0])),-T[2][1]),P(I(M(T[3][0],T[4][1]),M(-T[3][1],T[4][0])),T[2][4]))),T[1][2]),P(I(P(I(M(T[3][1],T[4][2]),M(-T[3][2],T[4][1])),T[2][0]),I(P(I(M(T[3][0],T[4][2]),M(-T[3][2],T[4][0])),-T[2][1]),P(I(M(T[3][0],T[4][1]),M(-T[3][1],T[4][0])),T[2][2]))),-T[1][4]))),-T[0][3]),P(I(I(P(I(P(I(M(T[3][2],T[4][3]),M(-T[3][3],T[4][2])),T[2][1]),I(P(I(M(T[3][1],T[4][3]),M(-T[3][3],T[4][1])),-T[2][2]),P(I(M(T[3][1],T[4][2]),M(-T[3][2],T[4][1])),T[2][3]))),T[1][0]),P(I(P(I(M(T[3][2],T[4][3]),M(-T[3][3],T[4][2])),T[2][0]),I(P(I(M(T[3][0],T[4][3]),M(-T[3][3],T[4][0])),-T[2][2]),P(I(M(T[3][0],T[4][2]),M(-T[3][2],T[4][0])),T[2][3]))),-T[1][1])),I(P(I(P(I(M(T[3][1],T[4][3]),M(-T[3][3],T[4][1])),T[2][0]),I(P(I(M(T[3][0],T[4][3]),M(-T[3][3],T[4][0])),-T[2][1]),P(I(M(T[3][0],T[4][1]),M(-T[3][1],T[4][0])),T[2][3]))),T[1][2]),P(I(P(I(M(T[3][1],T[4][2]),M(-T[3][2],T[4][1])),T[2][0]),I(P(I(M(T[3][0],T[4][2]),M(-T[3][2],T[4][0])),-T[2][1]),P(I(M(T[3][0],T[4][1]),M(-T[3][1],T[4][0])),T[2][2]))),-T[1][3]))),T[0][4])))))}}function A(I){var P=I===2?y:I===3?C:I===4?w:I===5?R:void 0;return P(d,f,s,b)}var E=[function(){return[0]},function(P){return[P[0][0]]}];function k(I,P,M,F,N,T,D,O){return function(B){switch(B.length){case 0:return I(B);case 1:return P(B);case 2:return M(B);case 3:return F(B);case 4:return N(B);case 5:return T(B)}var Y=D[B.length];return Y||(Y=D[B.length]=O(B.length)),Y(B)}}function L(){for(;E.length<x;)E.push(A(E.length));p.exports=k.apply(void 0,E.concat([E,A]));for(var I=0;I<E.length;++I)p.exports[I]=E[I]}L()},9130:function(p,_,c){var s=c(9660),d=c(9662);p.exports=f;function f(b,x){for(var y=s(b[0],x[0]),C=1;C<b.length;++C)y=d(y,s(b[C],x[C]));return y}},2227:function(p,_,c){var s=c(9660),d=c(9662),f=c(4078),b=c(8289),x=6;function y(N){var T=N===3?A:N===4?E:N===5?k:L;return T(d,f,s,b)}function C(){return 0}function w(){return 0}function R(){return 0}function A(N,T,D,O){function U(B,Y,z){var V=D(B[0],B[0]),j=O(V,Y[0]),G=O(V,z[0]),W=D(Y[0],Y[0]),X=O(W,B[0]),Q=O(W,z[0]),ae=D(z[0],z[0]),ie=O(ae,B[0]),he=O(ae,Y[0]),J=N(T(he,Q),T(X,j)),Z=T(ie,G),le=T(J,Z);return le[le.length-1]}return U}function E(N,T,D,O){function U(B,Y,z,V){var j=N(D(B[0],B[0]),D(B[1],B[1])),G=O(j,Y[0]),W=O(j,z[0]),X=O(j,V[0]),Q=N(D(Y[0],Y[0]),D(Y[1],Y[1])),ae=O(Q,B[0]),ie=O(Q,z[0]),he=O(Q,V[0]),J=N(D(z[0],z[0]),D(z[1],z[1])),Z=O(J,B[0]),le=O(J,Y[0]),K=O(J,V[0]),te=N(D(V[0],V[0]),D(V[1],V[1])),ce=O(te,B[0]),re=O(te,Y[0]),ee=O(te,z[0]),de=N(N(O(T(ee,K),Y[1]),N(O(T(re,he),-z[1]),O(T(le,ie),V[1]))),N(O(T(re,he),B[1]),N(O(T(ce,X),-Y[1]),O(T(ae,G),V[1])))),oe=N(N(O(T(ee,K),B[1]),N(O(T(ce,X),-z[1]),O(T(Z,W),V[1]))),N(O(T(le,ie),B[1]),N(O(T(Z,W),-Y[1]),O(T(ae,G),z[1])))),fe=T(de,oe);return fe[fe.length-1]}return U}function k(N,T,D,O){function U(B,Y,z,V,j){var G=N(D(B[0],B[0]),N(D(B[1],B[1]),D(B[2],B[2]))),W=O(G,Y[0]),X=O(G,z[0]),Q=O(G,V[0]),ae=O(G,j[0]),ie=N(D(Y[0],Y[0]),N(D(Y[1],Y[1]),D(Y[2],Y[2]))),he=O(ie,B[0]),J=O(ie,z[0]),Z=O(ie,V[0]),le=O(ie,j[0]),K=N(D(z[0],z[0]),N(D(z[1],z[1]),D(z[2],z[2]))),te=O(K,B[0]),ce=O(K,Y[0]),re=O(K,V[0]),ee=O(K,j[0]),de=N(D(V[0],V[0]),N(D(V[1],V[1]),D(V[2],V[2]))),oe=O(de,B[0]),fe=O(de,Y[0]),me=O(de,z[0]),Te=O(de,j[0]),we=N(D(j[0],j[0]),N(D(j[1],j[1]),D(j[2],j[2]))),Be=O(we,B[0]),Ae=O(we,Y[0]),Re=O(we,z[0]),be=O(we,V[0]),Pe=N(N(N(O(N(O(T(be,Te),z[1]),N(O(T(Re,ee),-V[1]),O(T(me,re),j[1]))),Y[2]),N(O(N(O(T(be,Te),Y[1]),N(O(T(Ae,le),-V[1]),O(T(fe,Z),j[1]))),-z[2]),O(N(O(T(Re,ee),Y[1]),N(O(T(Ae,le),-z[1]),O(T(ce,J),j[1]))),V[2]))),N(O(N(O(T(me,re),Y[1]),N(O(T(fe,Z),-z[1]),O(T(ce,J),V[1]))),-j[2]),N(O(N(O(T(be,Te),Y[1]),N(O(T(Ae,le),-V[1]),O(T(fe,Z),j[1]))),B[2]),O(N(O(T(be,Te),B[1]),N(O(T(Be,ae),-V[1]),O(T(oe,Q),j[1]))),-Y[2])))),N(N(O(N(O(T(Ae,le),B[1]),N(O(T(Be,ae),-Y[1]),O(T(he,W),j[1]))),V[2]),N(O(N(O(T(fe,Z),B[1]),N(O(T(oe,Q),-Y[1]),O(T(he,W),V[1]))),-j[2]),O(N(O(T(me,re),Y[1]),N(O(T(fe,Z),-z[1]),O(T(ce,J),V[1]))),B[2]))),N(O(N(O(T(me,re),B[1]),N(O(T(oe,Q),-z[1]),O(T(te,X),V[1]))),-Y[2]),N(O(N(O(T(fe,Z),B[1]),N(O(T(oe,Q),-Y[1]),O(T(he,W),V[1]))),z[2]),O(N(O(T(ce,J),B[1]),N(O(T(te,X),-Y[1]),O(T(he,W),z[1]))),-V[2]))))),Ke=N(N(N(O(N(O(T(be,Te),z[1]),N(O(T(Re,ee),-V[1]),O(T(me,re),j[1]))),B[2]),O(N(O(T(be,Te),B[1]),N(O(T(Be,ae),-V[1]),O(T(oe,Q),j[1]))),-z[2])),N(O(N(O(T(Re,ee),B[1]),N(O(T(Be,ae),-z[1]),O(T(te,X),j[1]))),V[2]),O(N(O(T(me,re),B[1]),N(O(T(oe,Q),-z[1]),O(T(te,X),V[1]))),-j[2]))),N(N(O(N(O(T(Re,ee),Y[1]),N(O(T(Ae,le),-z[1]),O(T(ce,J),j[1]))),B[2]),O(N(O(T(Re,ee),B[1]),N(O(T(Be,ae),-z[1]),O(T(te,X),j[1]))),-Y[2])),N(O(N(O(T(Ae,le),B[1]),N(O(T(Be,ae),-Y[1]),O(T(he,W),j[1]))),z[2]),O(N(O(T(ce,J),B[1]),N(O(T(te,X),-Y[1]),O(T(he,W),z[1]))),-j[2])))),ze=T(Pe,Ke);return ze[ze.length-1]}return U}function L(N,T,D,O){function U(B,Y,z,V,j,G){var W=N(N(D(B[0],B[0]),D(B[1],B[1])),N(D(B[2],B[2]),D(B[3],B[3]))),X=O(W,Y[0]),Q=O(W,z[0]),ae=O(W,V[0]),ie=O(W,j[0]),he=O(W,G[0]),J=N(N(D(Y[0],Y[0]),D(Y[1],Y[1])),N(D(Y[2],Y[2]),D(Y[3],Y[3]))),Z=O(J,B[0]),le=O(J,z[0]),K=O(J,V[0]),te=O(J,j[0]),ce=O(J,G[0]),re=N(N(D(z[0],z[0]),D(z[1],z[1])),N(D(z[2],z[2]),D(z[3],z[3]))),ee=O(re,B[0]),de=O(re,Y[0]),oe=O(re,V[0]),fe=O(re,j[0]),me=O(re,G[0]),Te=N(N(D(V[0],V[0]),D(V[1],V[1])),N(D(V[2],V[2]),D(V[3],V[3]))),we=O(Te,B[0]),Be=O(Te,Y[0]),Ae=O(Te,z[0]),Re=O(Te,j[0]),be=O(Te,G[0]),Pe=N(N(D(j[0],j[0]),D(j[1],j[1])),N(D(j[2],j[2]),D(j[3],j[3]))),Ke=O(Pe,B[0]),ze=O(Pe,Y[0]),Fe=O(Pe,z[0]),We=O(Pe,V[0]),lt=O(Pe,G[0]),ht=N(N(D(G[0],G[0]),D(G[1],G[1])),N(D(G[2],G[2]),D(G[3],G[3]))),tt=O(ht,B[0]),et=O(ht,Y[0]),pt=O(ht,z[0]),vt=O(ht,V[0]),_t=O(ht,j[0]),bt=N(N(N(O(N(N(O(N(O(T(_t,lt),V[1]),N(O(T(vt,be),-j[1]),O(T(We,Re),G[1]))),z[2]),O(N(O(T(_t,lt),z[1]),N(O(T(pt,me),-j[1]),O(T(Fe,fe),G[1]))),-V[2])),N(O(N(O(T(vt,be),z[1]),N(O(T(pt,me),-V[1]),O(T(Ae,oe),G[1]))),j[2]),O(N(O(T(We,Re),z[1]),N(O(T(Fe,fe),-V[1]),O(T(Ae,oe),j[1]))),-G[2]))),Y[3]),N(O(N(N(O(N(O(T(_t,lt),V[1]),N(O(T(vt,be),-j[1]),O(T(We,Re),G[1]))),Y[2]),O(N(O(T(_t,lt),Y[1]),N(O(T(et,ce),-j[1]),O(T(ze,te),G[1]))),-V[2])),N(O(N(O(T(vt,be),Y[1]),N(O(T(et,ce),-V[1]),O(T(Be,K),G[1]))),j[2]),O(N(O(T(We,Re),Y[1]),N(O(T(ze,te),-V[1]),O(T(Be,K),j[1]))),-G[2]))),-z[3]),O(N(N(O(N(O(T(_t,lt),z[1]),N(O(T(pt,me),-j[1]),O(T(Fe,fe),G[1]))),Y[2]),O(N(O(T(_t,lt),Y[1]),N(O(T(et,ce),-j[1]),O(T(ze,te),G[1]))),-z[2])),N(O(N(O(T(pt,me),Y[1]),N(O(T(et,ce),-z[1]),O(T(de,le),G[1]))),j[2]),O(N(O(T(Fe,fe),Y[1]),N(O(T(ze,te),-z[1]),O(T(de,le),j[1]))),-G[2]))),V[3]))),N(N(O(N(N(O(N(O(T(vt,be),z[1]),N(O(T(pt,me),-V[1]),O(T(Ae,oe),G[1]))),Y[2]),O(N(O(T(vt,be),Y[1]),N(O(T(et,ce),-V[1]),O(T(Be,K),G[1]))),-z[2])),N(O(N(O(T(pt,me),Y[1]),N(O(T(et,ce),-z[1]),O(T(de,le),G[1]))),V[2]),O(N(O(T(Ae,oe),Y[1]),N(O(T(Be,K),-z[1]),O(T(de,le),V[1]))),-G[2]))),-j[3]),O(N(N(O(N(O(T(We,Re),z[1]),N(O(T(Fe,fe),-V[1]),O(T(Ae,oe),j[1]))),Y[2]),O(N(O(T(We,Re),Y[1]),N(O(T(ze,te),-V[1]),O(T(Be,K),j[1]))),-z[2])),N(O(N(O(T(Fe,fe),Y[1]),N(O(T(ze,te),-z[1]),O(T(de,le),j[1]))),V[2]),O(N(O(T(Ae,oe),Y[1]),N(O(T(Be,K),-z[1]),O(T(de,le),V[1]))),-j[2]))),G[3])),N(O(N(N(O(N(O(T(_t,lt),V[1]),N(O(T(vt,be),-j[1]),O(T(We,Re),G[1]))),Y[2]),O(N(O(T(_t,lt),Y[1]),N(O(T(et,ce),-j[1]),O(T(ze,te),G[1]))),-V[2])),N(O(N(O(T(vt,be),Y[1]),N(O(T(et,ce),-V[1]),O(T(Be,K),G[1]))),j[2]),O(N(O(T(We,Re),Y[1]),N(O(T(ze,te),-V[1]),O(T(Be,K),j[1]))),-G[2]))),B[3]),O(N(N(O(N(O(T(_t,lt),V[1]),N(O(T(vt,be),-j[1]),O(T(We,Re),G[1]))),B[2]),O(N(O(T(_t,lt),B[1]),N(O(T(tt,he),-j[1]),O(T(Ke,ie),G[1]))),-V[2])),N(O(N(O(T(vt,be),B[1]),N(O(T(tt,he),-V[1]),O(T(we,ae),G[1]))),j[2]),O(N(O(T(We,Re),B[1]),N(O(T(Ke,ie),-V[1]),O(T(we,ae),j[1]))),-G[2]))),-Y[3])))),N(N(N(O(N(N(O(N(O(T(_t,lt),Y[1]),N(O(T(et,ce),-j[1]),O(T(ze,te),G[1]))),B[2]),O(N(O(T(_t,lt),B[1]),N(O(T(tt,he),-j[1]),O(T(Ke,ie),G[1]))),-Y[2])),N(O(N(O(T(et,ce),B[1]),N(O(T(tt,he),-Y[1]),O(T(Z,X),G[1]))),j[2]),O(N(O(T(ze,te),B[1]),N(O(T(Ke,ie),-Y[1]),O(T(Z,X),j[1]))),-G[2]))),V[3]),O(N(N(O(N(O(T(vt,be),Y[1]),N(O(T(et,ce),-V[1]),O(T(Be,K),G[1]))),B[2]),O(N(O(T(vt,be),B[1]),N(O(T(tt,he),-V[1]),O(T(we,ae),G[1]))),-Y[2])),N(O(N(O(T(et,ce),B[1]),N(O(T(tt,he),-Y[1]),O(T(Z,X),G[1]))),V[2]),O(N(O(T(Be,K),B[1]),N(O(T(we,ae),-Y[1]),O(T(Z,X),V[1]))),-G[2]))),-j[3])),N(O(N(N(O(N(O(T(We,Re),Y[1]),N(O(T(ze,te),-V[1]),O(T(Be,K),j[1]))),B[2]),O(N(O(T(We,Re),B[1]),N(O(T(Ke,ie),-V[1]),O(T(we,ae),j[1]))),-Y[2])),N(O(N(O(T(ze,te),B[1]),N(O(T(Ke,ie),-Y[1]),O(T(Z,X),j[1]))),V[2]),O(N(O(T(Be,K),B[1]),N(O(T(we,ae),-Y[1]),O(T(Z,X),V[1]))),-j[2]))),G[3]),O(N(N(O(N(O(T(vt,be),z[1]),N(O(T(pt,me),-V[1]),O(T(Ae,oe),G[1]))),Y[2]),O(N(O(T(vt,be),Y[1]),N(O(T(et,ce),-V[1]),O(T(Be,K),G[1]))),-z[2])),N(O(N(O(T(pt,me),Y[1]),N(O(T(et,ce),-z[1]),O(T(de,le),G[1]))),V[2]),O(N(O(T(Ae,oe),Y[1]),N(O(T(Be,K),-z[1]),O(T(de,le),V[1]))),-G[2]))),B[3]))),N(N(O(N(N(O(N(O(T(vt,be),z[1]),N(O(T(pt,me),-V[1]),O(T(Ae,oe),G[1]))),B[2]),O(N(O(T(vt,be),B[1]),N(O(T(tt,he),-V[1]),O(T(we,ae),G[1]))),-z[2])),N(O(N(O(T(pt,me),B[1]),N(O(T(tt,he),-z[1]),O(T(ee,Q),G[1]))),V[2]),O(N(O(T(Ae,oe),B[1]),N(O(T(we,ae),-z[1]),O(T(ee,Q),V[1]))),-G[2]))),-Y[3]),O(N(N(O(N(O(T(vt,be),Y[1]),N(O(T(et,ce),-V[1]),O(T(Be,K),G[1]))),B[2]),O(N(O(T(vt,be),B[1]),N(O(T(tt,he),-V[1]),O(T(we,ae),G[1]))),-Y[2])),N(O(N(O(T(et,ce),B[1]),N(O(T(tt,he),-Y[1]),O(T(Z,X),G[1]))),V[2]),O(N(O(T(Be,K),B[1]),N(O(T(we,ae),-Y[1]),O(T(Z,X),V[1]))),-G[2]))),z[3])),N(O(N(N(O(N(O(T(pt,me),Y[1]),N(O(T(et,ce),-z[1]),O(T(de,le),G[1]))),B[2]),O(N(O(T(pt,me),B[1]),N(O(T(tt,he),-z[1]),O(T(ee,Q),G[1]))),-Y[2])),N(O(N(O(T(et,ce),B[1]),N(O(T(tt,he),-Y[1]),O(T(Z,X),G[1]))),z[2]),O(N(O(T(de,le),B[1]),N(O(T(ee,Q),-Y[1]),O(T(Z,X),z[1]))),-G[2]))),-V[3]),O(N(N(O(N(O(T(Ae,oe),Y[1]),N(O(T(Be,K),-z[1]),O(T(de,le),V[1]))),B[2]),O(N(O(T(Ae,oe),B[1]),N(O(T(we,ae),-z[1]),O(T(ee,Q),V[1]))),-Y[2])),N(O(N(O(T(Be,K),B[1]),N(O(T(we,ae),-Y[1]),O(T(Z,X),V[1]))),z[2]),O(N(O(T(de,le),B[1]),N(O(T(ee,Q),-Y[1]),O(T(Z,X),z[1]))),-V[2]))),G[3]))))),Rt=N(N(N(O(N(N(O(N(O(T(_t,lt),V[1]),N(O(T(vt,be),-j[1]),O(T(We,Re),G[1]))),z[2]),O(N(O(T(_t,lt),z[1]),N(O(T(pt,me),-j[1]),O(T(Fe,fe),G[1]))),-V[2])),N(O(N(O(T(vt,be),z[1]),N(O(T(pt,me),-V[1]),O(T(Ae,oe),G[1]))),j[2]),O(N(O(T(We,Re),z[1]),N(O(T(Fe,fe),-V[1]),O(T(Ae,oe),j[1]))),-G[2]))),B[3]),N(O(N(N(O(N(O(T(_t,lt),V[1]),N(O(T(vt,be),-j[1]),O(T(We,Re),G[1]))),B[2]),O(N(O(T(_t,lt),B[1]),N(O(T(tt,he),-j[1]),O(T(Ke,ie),G[1]))),-V[2])),N(O(N(O(T(vt,be),B[1]),N(O(T(tt,he),-V[1]),O(T(we,ae),G[1]))),j[2]),O(N(O(T(We,Re),B[1]),N(O(T(Ke,ie),-V[1]),O(T(we,ae),j[1]))),-G[2]))),-z[3]),O(N(N(O(N(O(T(_t,lt),z[1]),N(O(T(pt,me),-j[1]),O(T(Fe,fe),G[1]))),B[2]),O(N(O(T(_t,lt),B[1]),N(O(T(tt,he),-j[1]),O(T(Ke,ie),G[1]))),-z[2])),N(O(N(O(T(pt,me),B[1]),N(O(T(tt,he),-z[1]),O(T(ee,Q),G[1]))),j[2]),O(N(O(T(Fe,fe),B[1]),N(O(T(Ke,ie),-z[1]),O(T(ee,Q),j[1]))),-G[2]))),V[3]))),N(N(O(N(N(O(N(O(T(vt,be),z[1]),N(O(T(pt,me),-V[1]),O(T(Ae,oe),G[1]))),B[2]),O(N(O(T(vt,be),B[1]),N(O(T(tt,he),-V[1]),O(T(we,ae),G[1]))),-z[2])),N(O(N(O(T(pt,me),B[1]),N(O(T(tt,he),-z[1]),O(T(ee,Q),G[1]))),V[2]),O(N(O(T(Ae,oe),B[1]),N(O(T(we,ae),-z[1]),O(T(ee,Q),V[1]))),-G[2]))),-j[3]),O(N(N(O(N(O(T(We,Re),z[1]),N(O(T(Fe,fe),-V[1]),O(T(Ae,oe),j[1]))),B[2]),O(N(O(T(We,Re),B[1]),N(O(T(Ke,ie),-V[1]),O(T(we,ae),j[1]))),-z[2])),N(O(N(O(T(Fe,fe),B[1]),N(O(T(Ke,ie),-z[1]),O(T(ee,Q),j[1]))),V[2]),O(N(O(T(Ae,oe),B[1]),N(O(T(we,ae),-z[1]),O(T(ee,Q),V[1]))),-j[2]))),G[3])),N(O(N(N(O(N(O(T(_t,lt),z[1]),N(O(T(pt,me),-j[1]),O(T(Fe,fe),G[1]))),Y[2]),O(N(O(T(_t,lt),Y[1]),N(O(T(et,ce),-j[1]),O(T(ze,te),G[1]))),-z[2])),N(O(N(O(T(pt,me),Y[1]),N(O(T(et,ce),-z[1]),O(T(de,le),G[1]))),j[2]),O(N(O(T(Fe,fe),Y[1]),N(O(T(ze,te),-z[1]),O(T(de,le),j[1]))),-G[2]))),B[3]),O(N(N(O(N(O(T(_t,lt),z[1]),N(O(T(pt,me),-j[1]),O(T(Fe,fe),G[1]))),B[2]),O(N(O(T(_t,lt),B[1]),N(O(T(tt,he),-j[1]),O(T(Ke,ie),G[1]))),-z[2])),N(O(N(O(T(pt,me),B[1]),N(O(T(tt,he),-z[1]),O(T(ee,Q),G[1]))),j[2]),O(N(O(T(Fe,fe),B[1]),N(O(T(Ke,ie),-z[1]),O(T(ee,Q),j[1]))),-G[2]))),-Y[3])))),N(N(N(O(N(N(O(N(O(T(_t,lt),Y[1]),N(O(T(et,ce),-j[1]),O(T(ze,te),G[1]))),B[2]),O(N(O(T(_t,lt),B[1]),N(O(T(tt,he),-j[1]),O(T(Ke,ie),G[1]))),-Y[2])),N(O(N(O(T(et,ce),B[1]),N(O(T(tt,he),-Y[1]),O(T(Z,X),G[1]))),j[2]),O(N(O(T(ze,te),B[1]),N(O(T(Ke,ie),-Y[1]),O(T(Z,X),j[1]))),-G[2]))),z[3]),O(N(N(O(N(O(T(pt,me),Y[1]),N(O(T(et,ce),-z[1]),O(T(de,le),G[1]))),B[2]),O(N(O(T(pt,me),B[1]),N(O(T(tt,he),-z[1]),O(T(ee,Q),G[1]))),-Y[2])),N(O(N(O(T(et,ce),B[1]),N(O(T(tt,he),-Y[1]),O(T(Z,X),G[1]))),z[2]),O(N(O(T(de,le),B[1]),N(O(T(ee,Q),-Y[1]),O(T(Z,X),z[1]))),-G[2]))),-j[3])),N(O(N(N(O(N(O(T(Fe,fe),Y[1]),N(O(T(ze,te),-z[1]),O(T(de,le),j[1]))),B[2]),O(N(O(T(Fe,fe),B[1]),N(O(T(Ke,ie),-z[1]),O(T(ee,Q),j[1]))),-Y[2])),N(O(N(O(T(ze,te),B[1]),N(O(T(Ke,ie),-Y[1]),O(T(Z,X),j[1]))),z[2]),O(N(O(T(de,le),B[1]),N(O(T(ee,Q),-Y[1]),O(T(Z,X),z[1]))),-j[2]))),G[3]),O(N(N(O(N(O(T(We,Re),z[1]),N(O(T(Fe,fe),-V[1]),O(T(Ae,oe),j[1]))),Y[2]),O(N(O(T(We,Re),Y[1]),N(O(T(ze,te),-V[1]),O(T(Be,K),j[1]))),-z[2])),N(O(N(O(T(Fe,fe),Y[1]),N(O(T(ze,te),-z[1]),O(T(de,le),j[1]))),V[2]),O(N(O(T(Ae,oe),Y[1]),N(O(T(Be,K),-z[1]),O(T(de,le),V[1]))),-j[2]))),B[3]))),N(N(O(N(N(O(N(O(T(We,Re),z[1]),N(O(T(Fe,fe),-V[1]),O(T(Ae,oe),j[1]))),B[2]),O(N(O(T(We,Re),B[1]),N(O(T(Ke,ie),-V[1]),O(T(we,ae),j[1]))),-z[2])),N(O(N(O(T(Fe,fe),B[1]),N(O(T(Ke,ie),-z[1]),O(T(ee,Q),j[1]))),V[2]),O(N(O(T(Ae,oe),B[1]),N(O(T(we,ae),-z[1]),O(T(ee,Q),V[1]))),-j[2]))),-Y[3]),O(N(N(O(N(O(T(We,Re),Y[1]),N(O(T(ze,te),-V[1]),O(T(Be,K),j[1]))),B[2]),O(N(O(T(We,Re),B[1]),N(O(T(Ke,ie),-V[1]),O(T(we,ae),j[1]))),-Y[2])),N(O(N(O(T(ze,te),B[1]),N(O(T(Ke,ie),-Y[1]),O(T(Z,X),j[1]))),V[2]),O(N(O(T(Be,K),B[1]),N(O(T(we,ae),-Y[1]),O(T(Z,X),V[1]))),-j[2]))),z[3])),N(O(N(N(O(N(O(T(Fe,fe),Y[1]),N(O(T(ze,te),-z[1]),O(T(de,le),j[1]))),B[2]),O(N(O(T(Fe,fe),B[1]),N(O(T(Ke,ie),-z[1]),O(T(ee,Q),j[1]))),-Y[2])),N(O(N(O(T(ze,te),B[1]),N(O(T(Ke,ie),-Y[1]),O(T(Z,X),j[1]))),z[2]),O(N(O(T(de,le),B[1]),N(O(T(ee,Q),-Y[1]),O(T(Z,X),z[1]))),-j[2]))),-V[3]),O(N(N(O(N(O(T(Ae,oe),Y[1]),N(O(T(Be,K),-z[1]),O(T(de,le),V[1]))),B[2]),O(N(O(T(Ae,oe),B[1]),N(O(T(we,ae),-z[1]),O(T(ee,Q),V[1]))),-Y[2])),N(O(N(O(T(Be,K),B[1]),N(O(T(we,ae),-Y[1]),O(T(Z,X),V[1]))),z[2]),O(N(O(T(de,le),B[1]),N(O(T(ee,Q),-Y[1]),O(T(Z,X),z[1]))),-V[2]))),j[3]))))),ct=T(bt,Rt);return ct[ct.length-1]}return U}var I=[C,w,R];function P(N){var T=I[N.length];return T||(T=I[N.length]=y(N.length)),T.apply(void 0,N)}function M(N,T,D,O,U,B,Y,z){function V(j,G,W,X,Q,ae){switch(arguments.length){case 0:case 1:return 0;case 2:return O(j,G);case 3:return U(j,G,W);case 4:return B(j,G,W,X);case 5:return Y(j,G,W,X,Q);case 6:return z(j,G,W,X,Q,ae)}for(var ie=new Array(arguments.length),he=0;he<arguments.length;++he)ie[he]=arguments[he];return N(ie)}return V}function F(){for(;I.length<=x;)I.push(y(I.length));p.exports=M.apply(void 0,[P].concat(I));for(var N=0;N<=x;++N)p.exports[N]=I[N]}F()},6606:function(p,_,c){var s=c(8167),d=6;function f(I){var P=I===2?y:I===3?C:I===4?w:I===5?R:A;return I<6?P(s[I]):P(s)}function b(){return[[0]]}function x(I,P){return[[P[0]],[I[0][0]]]}function y(I){return function(M,F){return[I([[+F[0],+M[0][1]],[+F[1],+M[1][1]]]),I([[+M[0][0],+F[0]],[+M[1][0],+F[1]]]),I(M)]}}function C(I){return function(M,F){return[I([[+F[0],+M[0][1],+M[0][2]],[+F[1],+M[1][1],+M[1][2]],[+F[2],+M[2][1],+M[2][2]]]),I([[+M[0][0],+F[0],+M[0][2]],[+M[1][0],+F[1],+M[1][2]],[+M[2][0],+F[2],+M[2][2]]]),I([[+M[0][0],+M[0][1],+F[0]],[+M[1][0],+M[1][1],+F[1]],[+M[2][0],+M[2][1],+F[2]]]),I(M)]}}function w(I){return function(M,F){return[I([[+F[0],+M[0][1],+M[0][2],+M[0][3]],[+F[1],+M[1][1],+M[1][2],+M[1][3]],[+F[2],+M[2][1],+M[2][2],+M[2][3]],[+F[3],+M[3][1],+M[3][2],+M[3][3]]]),I([[+M[0][0],+F[0],+M[0][2],+M[0][3]],[+M[1][0],+F[1],+M[1][2],+M[1][3]],[+M[2][0],+F[2],+M[2][2],+M[2][3]],[+M[3][0],+F[3],+M[3][2],+M[3][3]]]),I([[+M[0][0],+M[0][1],+F[0],+M[0][3]],[+M[1][0],+M[1][1],+F[1],+M[1][3]],[+M[2][0],+M[2][1],+F[2],+M[2][3]],[+M[3][0],+M[3][1],+F[3],+M[3][3]]]),I([[+M[0][0],+M[0][1],+M[0][2],+F[0]],[+M[1][0],+M[1][1],+M[1][2],+F[1]],[+M[2][0],+M[2][1],+M[2][2],+F[2]],[+M[3][0],+M[3][1],+M[3][2],+F[3]]]),I(M)]}}function R(I){return function(M,F){return[I([[+F[0],+M[0][1],+M[0][2],+M[0][3],+M[0][4]],[+F[1],+M[1][1],+M[1][2],+M[1][3],+M[1][4]],[+F[2],+M[2][1],+M[2][2],+M[2][3],+M[2][4]],[+F[3],+M[3][1],+M[3][2],+M[3][3],+M[3][4]],[+F[4],+M[4][1],+M[4][2],+M[4][3],+M[4][4]]]),I([[+M[0][0],+F[0],+M[0][2],+M[0][3],+M[0][4]],[+M[1][0],+F[1],+M[1][2],+M[1][3],+M[1][4]],[+M[2][0],+F[2],+M[2][2],+M[2][3],+M[2][4]],[+M[3][0],+F[3],+M[3][2],+M[3][3],+M[3][4]],[+M[4][0],+F[4],+M[4][2],+M[4][3],+M[4][4]]]),I([[+M[0][0],+M[0][1],+F[0],+M[0][3],+M[0][4]],[+M[1][0],+M[1][1],+F[1],+M[1][3],+M[1][4]],[+M[2][0],+M[2][1],+F[2],+M[2][3],+M[2][4]],[+M[3][0],+M[3][1],+F[3],+M[3][3],+M[3][4]],[+M[4][0],+M[4][1],+F[4],+M[4][3],+M[4][4]]]),I([[+M[0][0],+M[0][1],+M[0][2],+F[0],+M[0][4]],[+M[1][0],+M[1][1],+M[1][2],+F[1],+M[1][4]],[+M[2][0],+M[2][1],+M[2][2],+F[2],+M[2][4]],[+M[3][0],+M[3][1],+M[3][2],+F[3],+M[3][4]],[+M[4][0],+M[4][1],+M[4][2],+F[4],+M[4][4]]]),I([[+M[0][0],+M[0][1],+M[0][2],+M[0][3],+F[0]],[+M[1][0],+M[1][1],+M[1][2],+M[1][3],+F[1]],[+M[2][0],+M[2][1],+M[2][2],+M[2][3],+F[2]],[+M[3][0],+M[3][1],+M[3][2],+M[3][3],+F[3]],[+M[4][0],+M[4][1],+M[4][2],+M[4][3],+F[4]]]),I(M)]}}function A(I){return function(M,F){return[I([[+F[0],+M[0][1],+M[0][2],+M[0][3],+M[0][4],+M[0][5]],[+F[1],+M[1][1],+M[1][2],+M[1][3],+M[1][4],+M[1][5]],[+F[2],+M[2][1],+M[2][2],+M[2][3],+M[2][4],+M[2][5]],[+F[3],+M[3][1],+M[3][2],+M[3][3],+M[3][4],+M[3][5]],[+F[4],+M[4][1],+M[4][2],+M[4][3],+M[4][4],+M[4][5]],[+F[5],+M[5][1],+M[5][2],+M[5][3],+M[5][4],+M[5][5]]]),I([[+M[0][0],+F[0],+M[0][2],+M[0][3],+M[0][4],+M[0][5]],[+M[1][0],+F[1],+M[1][2],+M[1][3],+M[1][4],+M[1][5]],[+M[2][0],+F[2],+M[2][2],+M[2][3],+M[2][4],+M[2][5]],[+M[3][0],+F[3],+M[3][2],+M[3][3],+M[3][4],+M[3][5]],[+M[4][0],+F[4],+M[4][2],+M[4][3],+M[4][4],+M[4][5]],[+M[5][0],+F[5],+M[5][2],+M[5][3],+M[5][4],+M[5][5]]]),I([[+M[0][0],+M[0][1],+F[0],+M[0][3],+M[0][4],+M[0][5]],[+M[1][0],+M[1][1],+F[1],+M[1][3],+M[1][4],+M[1][5]],[+M[2][0],+M[2][1],+F[2],+M[2][3],+M[2][4],+M[2][5]],[+M[3][0],+M[3][1],+F[3],+M[3][3],+M[3][4],+M[3][5]],[+M[4][0],+M[4][1],+F[4],+M[4][3],+M[4][4],+M[4][5]],[+M[5][0],+M[5][1],+F[5],+M[5][3],+M[5][4],+M[5][5]]]),I([[+M[0][0],+M[0][1],+M[0][2],+F[0],+M[0][4],+M[0][5]],[+M[1][0],+M[1][1],+M[1][2],+F[1],+M[1][4],+M[1][5]],[+M[2][0],+M[2][1],+M[2][2],+F[2],+M[2][4],+M[2][5]],[+M[3][0],+M[3][1],+M[3][2],+F[3],+M[3][4],+M[3][5]],[+M[4][0],+M[4][1],+M[4][2],+F[4],+M[4][4],+M[4][5]],[+M[5][0],+M[5][1],+M[5][2],+F[5],+M[5][4],+M[5][5]]]),I([[+M[0][0],+M[0][1],+M[0][2],+M[0][3],+F[0],+M[0][5]],[+M[1][0],+M[1][1],+M[1][2],+M[1][3],+F[1],+M[1][5]],[+M[2][0],+M[2][1],+M[2][2],+M[2][3],+F[2],+M[2][5]],[+M[3][0],+M[3][1],+M[3][2],+M[3][3],+F[3],+M[3][5]],[+M[4][0],+M[4][1],+M[4][2],+M[4][3],+F[4],+M[4][5]],[+M[5][0],+M[5][1],+M[5][2],+M[5][3],+F[5],+M[5][5]]]),I([[+M[0][0],+M[0][1],+M[0][2],+M[0][3],+M[0][4],+F[0]],[+M[1][0],+M[1][1],+M[1][2],+M[1][3],+M[1][4],+F[1]],[+M[2][0],+M[2][1],+M[2][2],+M[2][3],+M[2][4],+F[2]],[+M[3][0],+M[3][1],+M[3][2],+M[3][3],+M[3][4],+F[3]],[+M[4][0],+M[4][1],+M[4][2],+M[4][3],+M[4][4],+F[4]],[+M[5][0],+M[5][1],+M[5][2],+M[5][3],+M[5][4],+F[5]]]),I(M)]}}var E=[b,x];function k(I,P,M,F,N,T,D,O){return function(B,Y){switch(B.length){case 0:return I(B,Y);case 1:return P(B,Y);case 2:return M(B,Y);case 3:return F(B,Y);case 4:return N(B,Y);case 5:return T(B,Y)}var z=D[B.length];return z||(z=D[B.length]=O(B.length)),z(B,Y)}}function L(){for(;E.length<d;)E.push(f(E.length));p.exports=k.apply(void 0,E.concat([E,f]));for(var I=0;I<d;++I)p.exports[I]=E[I]}L()},417:function(p,_,c){var s=c(9660),d=c(9662),f=c(8289),b=c(4078),x=5,y=11102230246251565e-32,C=(3+16*y)*y,w=(7+56*y)*y;function R(T,D,O,U){return function(Y,z,V){var j=T(T(D(z[1],V[0]),D(-V[1],z[0])),T(D(Y[1],z[0]),D(-z[1],Y[0]))),G=T(D(Y[1],V[0]),D(-V[1],Y[0])),W=U(j,G);return W[W.length-1]}}function A(T,D,O,U){return function(Y,z,V,j){var G=T(T(O(T(D(V[1],j[0]),D(-j[1],V[0])),z[2]),T(O(T(D(z[1],j[0]),D(-j[1],z[0])),-V[2]),O(T(D(z[1],V[0]),D(-V[1],z[0])),j[2]))),T(O(T(D(z[1],j[0]),D(-j[1],z[0])),Y[2]),T(O(T(D(Y[1],j[0]),D(-j[1],Y[0])),-z[2]),O(T(D(Y[1],z[0]),D(-z[1],Y[0])),j[2])))),W=T(T(O(T(D(V[1],j[0]),D(-j[1],V[0])),Y[2]),T(O(T(D(Y[1],j[0]),D(-j[1],Y[0])),-V[2]),O(T(D(Y[1],V[0]),D(-V[1],Y[0])),j[2]))),T(O(T(D(z[1],V[0]),D(-V[1],z[0])),Y[2]),T(O(T(D(Y[1],V[0]),D(-V[1],Y[0])),-z[2]),O(T(D(Y[1],z[0]),D(-z[1],Y[0])),V[2])))),X=U(G,W);return X[X.length-1]}}function E(T,D,O,U){return function(Y,z,V,j,G){var W=T(T(T(O(T(O(T(D(j[1],G[0]),D(-G[1],j[0])),V[2]),T(O(T(D(V[1],G[0]),D(-G[1],V[0])),-j[2]),O(T(D(V[1],j[0]),D(-j[1],V[0])),G[2]))),z[3]),T(O(T(O(T(D(j[1],G[0]),D(-G[1],j[0])),z[2]),T(O(T(D(z[1],G[0]),D(-G[1],z[0])),-j[2]),O(T(D(z[1],j[0]),D(-j[1],z[0])),G[2]))),-V[3]),O(T(O(T(D(V[1],G[0]),D(-G[1],V[0])),z[2]),T(O(T(D(z[1],G[0]),D(-G[1],z[0])),-V[2]),O(T(D(z[1],V[0]),D(-V[1],z[0])),G[2]))),j[3]))),T(O(T(O(T(D(V[1],j[0]),D(-j[1],V[0])),z[2]),T(O(T(D(z[1],j[0]),D(-j[1],z[0])),-V[2]),O(T(D(z[1],V[0]),D(-V[1],z[0])),j[2]))),-G[3]),T(O(T(O(T(D(j[1],G[0]),D(-G[1],j[0])),z[2]),T(O(T(D(z[1],G[0]),D(-G[1],z[0])),-j[2]),O(T(D(z[1],j[0]),D(-j[1],z[0])),G[2]))),Y[3]),O(T(O(T(D(j[1],G[0]),D(-G[1],j[0])),Y[2]),T(O(T(D(Y[1],G[0]),D(-G[1],Y[0])),-j[2]),O(T(D(Y[1],j[0]),D(-j[1],Y[0])),G[2]))),-z[3])))),T(T(O(T(O(T(D(z[1],G[0]),D(-G[1],z[0])),Y[2]),T(O(T(D(Y[1],G[0]),D(-G[1],Y[0])),-z[2]),O(T(D(Y[1],z[0]),D(-z[1],Y[0])),G[2]))),j[3]),T(O(T(O(T(D(z[1],j[0]),D(-j[1],z[0])),Y[2]),T(O(T(D(Y[1],j[0]),D(-j[1],Y[0])),-z[2]),O(T(D(Y[1],z[0]),D(-z[1],Y[0])),j[2]))),-G[3]),O(T(O(T(D(V[1],j[0]),D(-j[1],V[0])),z[2]),T(O(T(D(z[1],j[0]),D(-j[1],z[0])),-V[2]),O(T(D(z[1],V[0]),D(-V[1],z[0])),j[2]))),Y[3]))),T(O(T(O(T(D(V[1],j[0]),D(-j[1],V[0])),Y[2]),T(O(T(D(Y[1],j[0]),D(-j[1],Y[0])),-V[2]),O(T(D(Y[1],V[0]),D(-V[1],Y[0])),j[2]))),-z[3]),T(O(T(O(T(D(z[1],j[0]),D(-j[1],z[0])),Y[2]),T(O(T(D(Y[1],j[0]),D(-j[1],Y[0])),-z[2]),O(T(D(Y[1],z[0]),D(-z[1],Y[0])),j[2]))),V[3]),O(T(O(T(D(z[1],V[0]),D(-V[1],z[0])),Y[2]),T(O(T(D(Y[1],V[0]),D(-V[1],Y[0])),-z[2]),O(T(D(Y[1],z[0]),D(-z[1],Y[0])),V[2]))),-j[3]))))),X=T(T(T(O(T(O(T(D(j[1],G[0]),D(-G[1],j[0])),V[2]),T(O(T(D(V[1],G[0]),D(-G[1],V[0])),-j[2]),O(T(D(V[1],j[0]),D(-j[1],V[0])),G[2]))),Y[3]),O(T(O(T(D(j[1],G[0]),D(-G[1],j[0])),Y[2]),T(O(T(D(Y[1],G[0]),D(-G[1],Y[0])),-j[2]),O(T(D(Y[1],j[0]),D(-j[1],Y[0])),G[2]))),-V[3])),T(O(T(O(T(D(V[1],G[0]),D(-G[1],V[0])),Y[2]),T(O(T(D(Y[1],G[0]),D(-G[1],Y[0])),-V[2]),O(T(D(Y[1],V[0]),D(-V[1],Y[0])),G[2]))),j[3]),O(T(O(T(D(V[1],j[0]),D(-j[1],V[0])),Y[2]),T(O(T(D(Y[1],j[0]),D(-j[1],Y[0])),-V[2]),O(T(D(Y[1],V[0]),D(-V[1],Y[0])),j[2]))),-G[3]))),T(T(O(T(O(T(D(V[1],G[0]),D(-G[1],V[0])),z[2]),T(O(T(D(z[1],G[0]),D(-G[1],z[0])),-V[2]),O(T(D(z[1],V[0]),D(-V[1],z[0])),G[2]))),Y[3]),O(T(O(T(D(V[1],G[0]),D(-G[1],V[0])),Y[2]),T(O(T(D(Y[1],G[0]),D(-G[1],Y[0])),-V[2]),O(T(D(Y[1],V[0]),D(-V[1],Y[0])),G[2]))),-z[3])),T(O(T(O(T(D(z[1],G[0]),D(-G[1],z[0])),Y[2]),T(O(T(D(Y[1],G[0]),D(-G[1],Y[0])),-z[2]),O(T(D(Y[1],z[0]),D(-z[1],Y[0])),G[2]))),V[3]),O(T(O(T(D(z[1],V[0]),D(-V[1],z[0])),Y[2]),T(O(T(D(Y[1],V[0]),D(-V[1],Y[0])),-z[2]),O(T(D(Y[1],z[0]),D(-z[1],Y[0])),V[2]))),-G[3])))),Q=U(W,X);return Q[Q.length-1]}}function k(T){var D=T===3?R:T===4?A:E;return D(d,s,f,b)}var L=k(3),I=k(4),P=[function(){return 0},function(){return 0},function(D,O){return O[0]-D[0]},function(D,O,U){var B=(D[1]-U[1])*(O[0]-U[0]),Y=(D[0]-U[0])*(O[1]-U[1]),z=B-Y,V;if(B>0){if(Y<=0)return z;V=B+Y}else if(B<0){if(Y>=0)return z;V=-(B+Y)}else return z;var j=C*V;return z>=j||z<=-j?z:L(D,O,U)},function(D,O,U,B){var Y=D[0]-B[0],z=O[0]-B[0],V=U[0]-B[0],j=D[1]-B[1],G=O[1]-B[1],W=U[1]-B[1],X=D[2]-B[2],Q=O[2]-B[2],ae=U[2]-B[2],ie=z*W,he=V*G,J=V*j,Z=Y*W,le=Y*G,K=z*j,te=X*(ie-he)+Q*(J-Z)+ae*(le-K),ce=(Math.abs(ie)+Math.abs(he))*Math.abs(X)+(Math.abs(J)+Math.abs(Z))*Math.abs(Q)+(Math.abs(le)+Math.abs(K))*Math.abs(ae),re=w*ce;return te>re||-te>re?te:I(D,O,U,B)}];function M(T){var D=P[T.length];return D||(D=P[T.length]=k(T.length)),D.apply(void 0,T)}function F(T,D,O,U,B,Y,z){return function(j,G,W,X,Q){switch(arguments.length){case 0:case 1:return 0;case 2:return U(j,G);case 3:return B(j,G,W);case 4:return Y(j,G,W,X);case 5:return z(j,G,W,X,Q)}for(var ae=new Array(arguments.length),ie=0;ie<arguments.length;++ie)ae[ie]=arguments[ie];return T(ae)}}function N(){for(;P.length<=x;)P.push(k(P.length));p.exports=F.apply(void 0,[M].concat(P));for(var T=0;T<=x;++T)p.exports[T]=P[T]}N()},2019:function(p,_,c){var s=c(9662),d=c(8289);p.exports=f;function f(b,x){if(b.length===1)return d(x,b[0]);if(x.length===1)return d(b,x[0]);if(b.length===0||x.length===0)return[0];var y=[0];if(b.length<x.length)for(var C=0;C<b.length;++C)y=s(y,d(x,b[C]));else for(var C=0;C<x.length;++C)y=s(y,d(b,x[C]));return y}},8289:function(p,_,c){var s=c(9660),d=c(87);p.exports=f;function f(b,x){var y=b.length;if(y===1){var C=s(b[0],x);return C[0]?C:[C[1]]}var w=new Array(2*y),R=[.1,.1],A=[.1,.1],E=0;s(b[0],x,R),R[0]&&(w[E++]=R[0]);for(var k=1;k<y;++k){s(b[k],x,A);var L=R[1];d(L,A[0],R),R[0]&&(w[E++]=R[0]);var I=A[1],P=R[1],M=I+P,F=M-I,N=P-F;R[1]=M,N&&(w[E++]=N)}return R[1]&&(w[E++]=R[1]),E===0&&(w[E++]=0),w.length=E,w}},4434:function(p,_,c){p.exports=f;var s=c(417)[3];function d(b,x,y,C){for(var w=0;w<2;++w){var R=b[w],A=x[w],E=Math.min(R,A),k=Math.max(R,A),L=y[w],I=C[w],P=Math.min(L,I),M=Math.max(L,I);if(M<E||k<P)return!1}return!0}function f(b,x,y,C){var w=s(b,y,C),R=s(x,y,C);if(w>0&&R>0||w<0&&R<0)return!1;var A=s(y,b,x),E=s(C,b,x);return A>0&&E>0||A<0&&E<0?!1:w===0&&R===0&&A===0&&E===0?d(b,x,y,C):!0}},4078:function(p){p.exports=c;function _(s,d){var f=s+d,b=f-s,x=f-b,y=d-b,C=s-x,w=C+y;return w?[w,f]:[f]}function c(s,d){var f=s.length|0,b=d.length|0;if(f===1&&b===1)return _(s[0],-d[0]);var x=f+b,y=new Array(x),C=0,w=0,R=0,A=Math.abs,E=s[w],k=A(E),L=-d[R],I=A(L),P,M;k<I?(M=E,w+=1,w<f&&(E=s[w],k=A(E))):(M=L,R+=1,R<b&&(L=-d[R],I=A(L))),w<f&&k<I||R>=b?(P=E,w+=1,w<f&&(E=s[w],k=A(E))):(P=L,R+=1,R<b&&(L=-d[R],I=A(L)));for(var F=P+M,N=F-P,T=M-N,D=T,O=F,U,B,Y,z,V;w<f&&R<b;)k<I?(P=E,w+=1,w<f&&(E=s[w],k=A(E))):(P=L,R+=1,R<b&&(L=-d[R],I=A(L))),M=D,F=P+M,N=F-P,T=M-N,T&&(y[C++]=T),U=O+F,B=U-O,Y=U-B,z=F-B,V=O-Y,D=V+z,O=U;for(;w<f;)P=E,M=D,F=P+M,N=F-P,T=M-N,T&&(y[C++]=T),U=O+F,B=U-O,Y=U-B,z=F-B,V=O-Y,D=V+z,O=U,w+=1,w<f&&(E=s[w]);for(;R<b;)P=L,M=D,F=P+M,N=F-P,T=M-N,T&&(y[C++]=T),U=O+F,B=U-O,Y=U-B,z=F-B,V=O-Y,D=V+z,O=U,R+=1,R<b&&(L=-d[R]);return D&&(y[C++]=D),O&&(y[C++]=O),C||(y[C++]=0),y.length=C,y}},9662:function(p){p.exports=c;function _(s,d){var f=s+d,b=f-s,x=f-b,y=d-b,C=s-x,w=C+y;return w?[w,f]:[f]}function c(s,d){var f=s.length|0,b=d.length|0;if(f===1&&b===1)return _(s[0],d[0]);var x=f+b,y=new Array(x),C=0,w=0,R=0,A=Math.abs,E=s[w],k=A(E),L=d[R],I=A(L),P,M;k<I?(M=E,w+=1,w<f&&(E=s[w],k=A(E))):(M=L,R+=1,R<b&&(L=d[R],I=A(L))),w<f&&k<I||R>=b?(P=E,w+=1,w<f&&(E=s[w],k=A(E))):(P=L,R+=1,R<b&&(L=d[R],I=A(L)));for(var F=P+M,N=F-P,T=M-N,D=T,O=F,U,B,Y,z,V;w<f&&R<b;)k<I?(P=E,w+=1,w<f&&(E=s[w],k=A(E))):(P=L,R+=1,R<b&&(L=d[R],I=A(L))),M=D,F=P+M,N=F-P,T=M-N,T&&(y[C++]=T),U=O+F,B=U-O,Y=U-B,z=F-B,V=O-Y,D=V+z,O=U;for(;w<f;)P=E,M=D,F=P+M,N=F-P,T=M-N,T&&(y[C++]=T),U=O+F,B=U-O,Y=U-B,z=F-B,V=O-Y,D=V+z,O=U,w+=1,w<f&&(E=s[w]);for(;R<b;)P=L,M=D,F=P+M,N=F-P,T=M-N,T&&(y[C++]=T),U=O+F,B=U-O,Y=U-B,z=F-B,V=O-Y,D=V+z,O=U,R+=1,R<b&&(L=d[R]);return D&&(y[C++]=D),O&&(y[C++]=O),C||(y[C++]=0),y.length=C,y}},8691:function(p,_,c){p.exports=f;var s=c(2692),d=c(7037);function f(b){return d(s(b))}},7212:function(p,_,c){p.exports=E;var s=c(5050),d=c(5306),f=c(8729),b=c(1168);function x(k){for(var L=k.length,I=0,P=0;P<L;++P)I=Math.max(I,k[P].length)|0;return I-1}function y(k,L){for(var I=k.length,P=d.mallocUint8(I),M=0;M<I;++M)P[M]=k[M]<L|0;return P}function C(k,L){for(var I=k.length,P=L*(L+1)/2*I|0,M=d.mallocUint32(P*2),F=0,N=0;N<I;++N)for(var T=k[N],L=T.length,D=0;D<L;++D)for(var O=0;O<D;++O){var U=T[O],B=T[D];M[F++]=Math.min(U,B)|0,M[F++]=Math.max(U,B)|0}var Y=F/2|0;f(s(M,[Y,2]));for(var z=2,N=2;N<F;N+=2)M[N-2]===M[N]&&M[N-1]===M[N+1]||(M[z++]=M[N],M[z++]=M[N+1]);return s(M,[z/2|0,2])}function w(k,L,I,P){for(var M=k.data,F=k.shape[0],N=d.mallocDouble(F),T=0,D=0;D<F;++D){var O=M[2*D],U=M[2*D+1];if(I[O]!==I[U]){var B=L[O],Y=L[U];M[2*T]=O,M[2*T+1]=U,N[T++]=(Y-P)/(Y-B)}}return k.shape[0]=T,s(N,[T])}function R(k,L){var I=d.mallocInt32(L*2),P=k.shape[0],M=k.data;I[0]=0;for(var F=0,N=0;N<P;++N){var T=M[2*N];if(T!==F){for(I[2*F+1]=N;++F<T;)I[2*F]=N,I[2*F+1]=N;I[2*F]=N}}for(I[2*F+1]=P;++F<L;)I[2*F]=I[2*F+1]=P;return I}function A(k){for(var L=k.shape[0]|0,I=k.data,P=new Array(L),M=0;M<L;++M)P[M]=[I[2*M],I[2*M+1]];return P}function E(k,L,I,P){I=I||0,typeof P>"u"&&(P=x(k));var M=k.length;if(M===0||P<1)return{cells:[],vertexIds:[],vertexWeights:[]};var F=y(L,+I),N=C(k,P),T=w(N,L,F,+I),D=R(N,L.length|0),O=b(P)(k,N.data,D,F),U=A(N),B=[].slice.call(T.data,0,T.shape[0]);return d.free(F),d.free(N.data),d.free(T.data),d.free(D),{cells:O,vertexIds:U,vertexWeights:B}}},1168:function(p){p.exports=c;var _=[function(){function d(f,b,x,y){for(var C=f.length,w=[],R=0;R<C;++R){var A=f[R];A.length}return w}return d},function(){function d(b,x,y,C){for(var w=Math.min(y,C)|0,R=Math.max(y,C)|0,A=b[2*w],E=b[2*w+1];A<E;){var k=A+E>>1,L=x[2*k+1];if(L===R)return k;R<L?E=k:A=k+1}return A}function f(b,x,y,C){for(var w=b.length,R=[],A=0;A<w;++A){var E=b[A],k=E.length;if(k===2){var L=(C[E[0]]<<0)+(C[E[1]]<<1);if(L===0||L===3)continue;switch(L){case 0:break;case 1:R.push([d(y,x,E[0],E[1])]);break;case 2:R.push([d(y,x,E[1],E[0])]);break}}}return R}return f},function(){function d(b,x,y,C){for(var w=Math.min(y,C)|0,R=Math.max(y,C)|0,A=b[2*w],E=b[2*w+1];A<E;){var k=A+E>>1,L=x[2*k+1];if(L===R)return k;R<L?E=k:A=k+1}return A}function f(b,x,y,C){for(var w=b.length,R=[],A=0;A<w;++A){var E=b[A],k=E.length;if(k===3){var L=(C[E[0]]<<0)+(C[E[1]]<<1)+(C[E[2]]<<2);if(L===0||L===7)continue;switch(L){case 0:break;case 1:R.push([d(y,x,E[0],E[2]),d(y,x,E[0],E[1])]);break;case 2:R.push([d(y,x,E[1],E[0]),d(y,x,E[1],E[2])]);break;case 3:R.push([d(y,x,E[0],E[2]),d(y,x,E[1],E[2])]);break;case 4:R.push([d(y,x,E[2],E[1]),d(y,x,E[2],E[0])]);break;case 5:R.push([d(y,x,E[2],E[1]),d(y,x,E[0],E[1])]);break;case 6:R.push([d(y,x,E[1],E[0]),d(y,x,E[2],E[0])]);break}}else if(k===2){var L=(C[E[0]]<<0)+(C[E[1]]<<1);if(L===0||L===3)continue;switch(L){case 0:break;case 1:R.push([d(y,x,E[0],E[1])]);break;case 2:R.push([d(y,x,E[1],E[0])]);break}}}return R}return f},function(){function d(b,x,y,C){for(var w=Math.min(y,C)|0,R=Math.max(y,C)|0,A=b[2*w],E=b[2*w+1];A<E;){var k=A+E>>1,L=x[2*k+1];if(L===R)return k;R<L?E=k:A=k+1}return A}function f(b,x,y,C){for(var w=b.length,R=[],A=0;A<w;++A){var E=b[A],k=E.length;if(k===4){var L=(C[E[0]]<<0)+(C[E[1]]<<1)+(C[E[2]]<<2)+(C[E[3]]<<3);if(L===0||L===15)continue;switch(L){case 0:break;case 1:R.push([d(y,x,E[0],E[1]),d(y,x,E[0],E[2]),d(y,x,E[0],E[3])]);break;case 2:R.push([d(y,x,E[1],E[2]),d(y,x,E[1],E[0]),d(y,x,E[1],E[3])]);break;case 3:R.push([d(y,x,E[1],E[2]),d(y,x,E[0],E[2]),d(y,x,E[0],E[3])],[d(y,x,E[1],E[3]),d(y,x,E[1],E[2]),d(y,x,E[0],E[3])]);break;case 4:R.push([d(y,x,E[2],E[0]),d(y,x,E[2],E[1]),d(y,x,E[2],E[3])]);break;case 5:R.push([d(y,x,E[0],E[1]),d(y,x,E[2],E[1]),d(y,x,E[0],E[3])],[d(y,x,E[2],E[1]),d(y,x,E[2],E[3]),d(y,x,E[0],E[3])]);break;case 6:R.push([d(y,x,E[2],E[0]),d(y,x,E[1],E[0]),d(y,x,E[1],E[3])],[d(y,x,E[2],E[3]),d(y,x,E[2],E[0]),d(y,x,E[1],E[3])]);break;case 7:R.push([d(y,x,E[0],E[3]),d(y,x,E[1],E[3]),d(y,x,E[2],E[3])]);break;case 8:R.push([d(y,x,E[3],E[1]),d(y,x,E[3],E[0]),d(y,x,E[3],E[2])]);break;case 9:R.push([d(y,x,E[3],E[1]),d(y,x,E[0],E[1]),d(y,x,E[0],E[2])],[d(y,x,E[3],E[2]),d(y,x,E[3],E[1]),d(y,x,E[0],E[2])]);break;case 10:R.push([d(y,x,E[1],E[0]),d(y,x,E[3],E[0]),d(y,x,E[1],E[2])],[d(y,x,E[3],E[0]),d(y,x,E[3],E[2]),d(y,x,E[1],E[2])]);break;case 11:R.push([d(y,x,E[1],E[2]),d(y,x,E[0],E[2]),d(y,x,E[3],E[2])]);break;case 12:R.push([d(y,x,E[3],E[0]),d(y,x,E[2],E[0]),d(y,x,E[2],E[1])],[d(y,x,E[3],E[1]),d(y,x,E[3],E[0]),d(y,x,E[2],E[1])]);break;case 13:R.push([d(y,x,E[0],E[1]),d(y,x,E[2],E[1]),d(y,x,E[3],E[1])]);break;case 14:R.push([d(y,x,E[2],E[0]),d(y,x,E[1],E[0]),d(y,x,E[3],E[0])]);break}}else if(k===3){var L=(C[E[0]]<<0)+(C[E[1]]<<1)+(C[E[2]]<<2);if(L===0||L===7)continue;switch(L){case 0:break;case 1:R.push([d(y,x,E[0],E[2]),d(y,x,E[0],E[1])]);break;case 2:R.push([d(y,x,E[1],E[0]),d(y,x,E[1],E[2])]);break;case 3:R.push([d(y,x,E[0],E[2]),d(y,x,E[1],E[2])]);break;case 4:R.push([d(y,x,E[2],E[1]),d(y,x,E[2],E[0])]);break;case 5:R.push([d(y,x,E[2],E[1]),d(y,x,E[0],E[1])]);break;case 6:R.push([d(y,x,E[1],E[0]),d(y,x,E[2],E[0])]);break}}else if(k===2){var L=(C[E[0]]<<0)+(C[E[1]]<<1);if(L===0||L===3)continue;switch(L){case 0:break;case 1:R.push([d(y,x,E[0],E[1])]);break;case 2:R.push([d(y,x,E[1],E[0])]);break}}}return R}return f}];function c(s){return _[s]()}},8211:function(p,_,c){c(2288),c(1731);function s(d,f){var b=d.length,x=d.length-f.length,y=Math.min;if(x)return x;switch(b){case 0:return 0;case 1:return d[0]-f[0];case 2:var E=d[0]+d[1]-f[0]-f[1];return E||y(d[0],d[1])-y(f[0],f[1]);case 3:var C=d[0]+d[1],w=f[0]+f[1];if(E=C+d[2]-(w+f[2]),E)return E;var R=y(d[0],d[1]),A=y(f[0],f[1]),E=y(R,d[2])-y(A,f[2]);return E||y(R+d[2],C)-y(A+f[2],w);default:var k=d.slice(0);k.sort();var L=f.slice(0);L.sort();for(var I=0;I<b;++I)if(x=k[I]-L[I],x)return x;return 0}}_.H=s},9392:function(p,_){"use restrict";var c=32;_.INT_BITS=c,_.INT_MAX=2147483647,_.INT_MIN=-1<<c-1,_.sign=function(f){return(f>0)-(f<0)},_.abs=function(f){var b=f>>c-1;return(f^b)-b},_.min=function(f,b){return b^(f^b)&-(f<b)},_.max=function(f,b){return f^(f^b)&-(f<b)},_.isPow2=function(f){return!(f&f-1)&&!!f},_.log2=function(f){var b,x;return b=(f>65535)<<4,f>>>=b,x=(f>255)<<3,f>>>=x,b|=x,x=(f>15)<<2,f>>>=x,b|=x,x=(f>3)<<1,f>>>=x,b|=x,b|f>>1},_.log10=function(f){return f>=1e9?9:f>=1e8?8:f>=1e7?7:f>=1e6?6:f>=1e5?5:f>=1e4?4:f>=1e3?3:f>=100?2:f>=10?1:0},_.popCount=function(f){return f=f-(f>>>1&1431655765),f=(f&858993459)+(f>>>2&858993459),(f+(f>>>4)&252645135)*16843009>>>24};function s(f){var b=32;return f&=-f,f&&b--,f&65535&&(b-=16),f&16711935&&(b-=8),f&252645135&&(b-=4),f&858993459&&(b-=2),f&1431655765&&(b-=1),b}_.countTrailingZeros=s,_.nextPow2=function(f){return f+=f===0,--f,f|=f>>>1,f|=f>>>2,f|=f>>>4,f|=f>>>8,f|=f>>>16,f+1},_.prevPow2=function(f){return f|=f>>>1,f|=f>>>2,f|=f>>>4,f|=f>>>8,f|=f>>>16,f-(f>>>1)},_.parity=function(f){return f^=f>>>16,f^=f>>>8,f^=f>>>4,f&=15,27030>>>f&1};var d=new Array(256);(function(f){for(var b=0;b<256;++b){var x=b,y=b,C=7;for(x>>>=1;x;x>>>=1)y<<=1,y|=x&1,--C;f[b]=y<<C&255}})(d),_.reverse=function(f){return d[f&255]<<24|d[f>>>8&255]<<16|d[f>>>16&255]<<8|d[f>>>24&255]},_.interleave2=function(f,b){return f&=65535,f=(f|f<<8)&16711935,f=(f|f<<4)&252645135,f=(f|f<<2)&858993459,f=(f|f<<1)&1431655765,b&=65535,b=(b|b<<8)&16711935,b=(b|b<<4)&252645135,b=(b|b<<2)&858993459,b=(b|b<<1)&1431655765,f|b<<1},_.deinterleave2=function(f,b){return f=f>>>b&1431655765,f=(f|f>>>1)&858993459,f=(f|f>>>2)&252645135,f=(f|f>>>4)&16711935,f=(f|f>>>16)&65535,f<<16>>16},_.interleave3=function(f,b,x){return f&=1023,f=(f|f<<16)&4278190335,f=(f|f<<8)&251719695,f=(f|f<<4)&3272356035,f=(f|f<<2)&1227133513,b&=1023,b=(b|b<<16)&4278190335,b=(b|b<<8)&251719695,b=(b|b<<4)&3272356035,b=(b|b<<2)&1227133513,f|=b<<1,x&=1023,x=(x|x<<16)&4278190335,x=(x|x<<8)&251719695,x=(x|x<<4)&3272356035,x=(x|x<<2)&1227133513,f|x<<2},_.deinterleave3=function(f,b){return f=f>>>b&1227133513,f=(f|f>>>2)&3272356035,f=(f|f>>>4)&251719695,f=(f|f>>>8)&4278190335,f=(f|f>>>16)&1023,f<<22>>22},_.nextCombination=function(f){var b=f|f-1;return b+1|(~b&-~b)-1>>>s(f)+1}},6656:function(p,_,c){"use restrict";var s=c(9392),d=c(9521);function f(T){for(var D=0,O=Math.max,U=0,B=T.length;U<B;++U)D=O(D,T[U].length);return D-1}_.dimension=f;function b(T){for(var D=-1,O=Math.max,U=0,B=T.length;U<B;++U)for(var Y=T[U],z=0,V=Y.length;z<V;++z)D=O(D,Y[z]);return D+1}_.countVertices=b;function x(T){for(var D=new Array(T.length),O=0,U=T.length;O<U;++O)D[O]=T[O].slice(0);return D}_.cloneCells=x;function y(T,D){var O=T.length,U=T.length-D.length,B=Math.min;if(U)return U;switch(O){case 0:return 0;case 1:return T[0]-D[0];case 2:var G=T[0]+T[1]-D[0]-D[1];return G||B(T[0],T[1])-B(D[0],D[1]);case 3:var Y=T[0]+T[1],z=D[0]+D[1];if(G=Y+T[2]-(z+D[2]),G)return G;var V=B(T[0],T[1]),j=B(D[0],D[1]),G=B(V,T[2])-B(j,D[2]);return G||B(V+T[2],Y)-B(j+D[2],z);default:var W=T.slice(0);W.sort();var X=D.slice(0);X.sort();for(var Q=0;Q<O;++Q)if(U=W[Q]-X[Q],U)return U;return 0}}_.compareCells=y;function C(T,D){return y(T[0],D[0])}function w(T,D){if(D){for(var O=T.length,U=new Array(O),B=0;B<O;++B)U[B]=[T[B],D[B]];U.sort(C);for(var B=0;B<O;++B)T[B]=U[B][0],D[B]=U[B][1];return T}else return T.sort(y),T}_.normalize=w;function R(T){if(T.length===0)return[];for(var D=1,O=T.length,U=1;U<O;++U){var B=T[U];if(y(B,T[U-1])){if(U===D){D++;continue}T[D++]=B}}return T.length=D,T}_.unique=R;function A(T,D){for(var O=0,U=T.length-1,B=-1;O<=U;){var Y=O+U>>1,z=y(T[Y],D);z<=0?(z===0&&(B=Y),O=Y+1):z>0&&(U=Y-1)}return B}_.findCell=A;function E(T,D){for(var O=new Array(T.length),U=0,B=O.length;U<B;++U)O[U]=[];for(var Y=[],U=0,z=D.length;U<z;++U)for(var V=D[U],j=V.length,G=1,W=1<<j;G<W;++G){Y.length=s.popCount(G);for(var X=0,Q=0;Q<j;++Q)G&1<<Q&&(Y[X++]=V[Q]);var ae=A(T,Y);if(!(ae<0))for(;O[ae++].push(U),!(ae>=T.length||y(T[ae],Y)!==0););}return O}_.incidence=E;function k(T,D){if(!D)return E(R(I(T,0)),T);for(var O=new Array(D),U=0;U<D;++U)O[U]=[];for(var U=0,B=T.length;U<B;++U)for(var Y=T[U],z=0,V=Y.length;z<V;++z)O[Y[z]].push(U);return O}_.dual=k;function L(T){for(var D=[],O=0,U=T.length;O<U;++O)for(var B=T[O],Y=B.length|0,z=1,V=1<<Y;z<V;++z){for(var j=[],G=0;G<Y;++G)z>>>G&1&&j.push(B[G]);D.push(j)}return w(D)}_.explode=L;function I(T,D){if(D<0)return[];for(var O=[],U=(1<<D+1)-1,B=0;B<T.length;++B)for(var Y=T[B],z=U;z<1<<Y.length;z=s.nextCombination(z)){for(var V=new Array(D+1),j=0,G=0;G<Y.length;++G)z&1<<G&&(V[j++]=Y[G]);O.push(V)}return w(O)}_.skeleton=I;function P(T){for(var D=[],O=0,U=T.length;O<U;++O)for(var B=T[O],Y=0,z=B.length;Y<z;++Y){for(var V=new Array(B.length-1),j=0,G=0;j<z;++j)j!==Y&&(V[G++]=B[j]);D.push(V)}return w(D)}_.boundary=P;function M(T,D){for(var O=new d(D),U=0;U<T.length;++U)for(var B=T[U],Y=0;Y<B.length;++Y)for(var z=Y+1;z<B.length;++z)O.link(B[Y],B[z]);for(var V=[],j=O.ranks,U=0;U<j.length;++U)j[U]=-1;for(var U=0;U<T.length;++U){var G=O.find(T[U][0]);j[G]<0?(j[G]=V.length,V.push([T[U].slice(0)])):V[j[G]].push(T[U].slice(0))}return V}function F(T){for(var D=R(w(I(T,0))),O=new d(D.length),U=0;U<T.length;++U)for(var B=T[U],Y=0;Y<B.length;++Y)for(var z=A(D,[B[Y]]),V=Y+1;V<B.length;++V)O.link(z,A(D,[B[V]]));for(var j=[],G=O.ranks,U=0;U<G.length;++U)G[U]=-1;for(var U=0;U<T.length;++U){var W=O.find(A(D,[T[U][0]]));G[W]<0?(G[W]=j.length,j.push([T[U].slice(0)])):j[G[W]].push(T[U].slice(0))}return j}function N(T,D){return D?M(T,D):F(T)}_.connectedComponents=N},9521:function(p){"use restrict";p.exports=_;function _(c){this.roots=new Array(c),this.ranks=new Array(c);for(var s=0;s<c;++s)this.roots[s]=s,this.ranks[s]=0}_.prototype.length=function(){return this.roots.length},_.prototype.makeSet=function(){var c=this.roots.length;return this.roots.push(c),this.ranks.push(0),c},_.prototype.find=function(c){for(var s=this.roots;s[c]!==c;){var d=s[c];s[c]=s[d],c=d}return c},_.prototype.link=function(c,s){var d=this.find(c),f=this.find(s);if(d!==f){var b=this.ranks,x=this.roots,y=b[d],C=b[f];y<C?x[d]=f:C<y?x[f]=d:(x[f]=d,++b[d])}}},8243:function(p,_,c){p.exports=b;var s=c(417),d=c(6656);function f(x,y,C){var w=Math.abs(s(x,y,C)),R=Math.sqrt(Math.pow(y[0]-C[0],2)+Math.pow(y[1]-C[1],2));return w/R}function b(x,y,C){for(var w=y.length,R=x.length,A=new Array(w),E=new Array(w),k=new Array(w),L=new Array(w),I=0;I<w;++I)A[I]=E[I]=-1,k[I]=1/0,L[I]=!1;for(var I=0;I<R;++I){var P=x[I];if(P.length!==2)throw new Error("Input must be a graph");var M=P[1],F=P[0];E[F]!==-1?E[F]=-2:E[F]=M,A[M]!==-1?A[M]=-2:A[M]=F}function N(J){if(L[J])return 1/0;var Z=A[J],le=E[J];return Z<0||le<0?1/0:f(y[J],y[Z],y[le])}function T(J,Z){var le=j[J],K=j[Z];j[J]=K,j[Z]=le,G[le]=Z,G[K]=J}function D(J){return k[j[J]]}function O(J){return J&1?J-1>>1:(J>>1)-1}function U(J){for(var Z=D(J);;){var le=Z,K=2*J+1,te=2*(J+1),ce=J;if(K<X){var re=D(K);re<le&&(ce=K,le=re)}if(te<X){var ee=D(te);ee<le&&(ce=te)}if(ce===J)return J;T(J,ce),J=ce}}function B(J){for(var Z=D(J);J>0;){var le=O(J);if(le>=0){var K=D(le);if(Z<K){T(J,le),J=le;continue}}return J}}function Y(){if(X>0){var J=j[0];return T(0,X-1),X-=1,U(0),J}return-1}function z(J,Z){var le=j[J];return k[le]===Z?J:(k[le]=-1/0,B(J),Y(),k[le]=Z,X+=1,B(X-1))}function V(J){if(!L[J]){L[J]=!0;var Z=A[J],le=E[J];A[le]>=0&&(A[le]=Z),E[Z]>=0&&(E[Z]=le),G[Z]>=0&&z(G[Z],N(Z)),G[le]>=0&&z(G[le],N(le))}}for(var j=[],G=new Array(w),I=0;I<w;++I){var W=k[I]=N(I);W<1/0?(G[I]=j.length,j.push(I)):G[I]=-1}for(var X=j.length,I=X>>1;I>=0;--I)U(I);for(;;){var Q=Y();if(Q<0||k[Q]>C)break;V(Q)}for(var ae=[],I=0;I<w;++I)L[I]||(G[I]=ae.length,ae.push(y[I].slice()));ae.length;function ie(J,Z){if(J[Z]<0)return Z;var le=Z,K=Z;do{var te=J[K];if(!L[K]||te<0||te===K||(K=te,te=J[K],!L[K]||te<0||te===K))break;K=te,le=J[le]}while(le!==K);for(var ce=Z;ce!==K;ce=J[ce])J[ce]=K;return K}var he=[];return x.forEach(function(J){var Z=ie(A,J[0]),le=ie(E,J[1]);if(Z>=0&&le>=0&&Z!==le){var K=G[Z],te=G[le];K!==te&&he.push([K,te])}}),d.unique(d.normalize(he)),{positions:ae,edges:he}}},6638:function(p,_,c){p.exports=f;var s=c(417);function d(b,x){var y,C;if(x[0][0]<x[1][0])y=x[0],C=x[1];else if(x[0][0]>x[1][0])y=x[1],C=x[0];else{var w=Math.min(b[0][1],b[1][1]),R=Math.max(b[0][1],b[1][1]),A=Math.min(x[0][1],x[1][1]),E=Math.max(x[0][1],x[1][1]);return R<A?R-A:w>E?w-E:R-E}var k,L;b[0][1]<b[1][1]?(k=b[0],L=b[1]):(k=b[1],L=b[0]);var I=s(C,y,k);return I||(I=s(C,y,L),I)?I:L-C}function f(b,x){var y,C;if(x[0][0]<x[1][0])y=x[0],C=x[1];else if(x[0][0]>x[1][0])y=x[1],C=x[0];else return d(x,b);var w,R;if(b[0][0]<b[1][0])w=b[0],R=b[1];else if(b[0][0]>b[1][0])w=b[1],R=b[0];else return-d(b,x);var A=s(y,C,R),E=s(y,C,w);if(A<0){if(E<=0)return A}else if(A>0){if(E>=0)return A}else if(E)return E;if(A=s(R,w,C),E=s(R,w,y),A<0){if(E<=0)return A}else if(A>0){if(E>=0)return A}else if(E)return E;return C[0]-R[0]}},4385:function(p,_,c){p.exports=E;var s=c(5070),d=c(7080),f=c(417),b=c(6638);function x(k,L,I){this.slabs=k,this.coordinates=L,this.horizontal=I}var y=x.prototype;function C(k,L){return k.y-L}function w(k,L){for(var I=null;k;){var P=k.key,M,F;P[0][0]<P[1][0]?(M=P[0],F=P[1]):(M=P[1],F=P[0]);var N=f(M,F,L);if(N<0)k=k.left;else if(N>0)if(L[0]!==P[1][0])I=k,k=k.right;else{var T=w(k.right,L);if(T)return T;k=k.left}else{if(L[0]!==P[1][0])return k;var T=w(k.right,L);if(T)return T;k=k.left}}return I}y.castUp=function(k){var L=s.le(this.coordinates,k[0]);if(L<0)return-1;this.slabs[L];var I=w(this.slabs[L],k),P=-1;if(I&&(P=I.value),this.coordinates[L]===k[0]){var M=null;if(I&&(M=I.key),L>0){var F=w(this.slabs[L-1],k);F&&(M?b(F.key,M)>0&&(M=F.key,P=F.value):(P=F.value,M=F.key))}var N=this.horizontal[L];if(N.length>0){var T=s.ge(N,k[1],C);if(T<N.length){var D=N[T];if(k[1]===D.y){if(D.closed)return D.index;for(;T<N.length-1&&N[T+1].y===k[1];)if(T=T+1,D=N[T],D.closed)return D.index;if(D.y===k[1]&&!D.start){if(T=T+1,T>=N.length)return P;D=N[T]}}if(D.start)if(M){var O=f(M[0],M[1],[k[0],D.y]);M[0][0]>M[1][0]&&(O=-O),O>0&&(P=D.index)}else P=D.index;else D.y!==k[1]&&(P=D.index)}}}return P};function R(k,L,I,P){this.y=k,this.index=L,this.start=I,this.closed=P}function A(k,L,I,P){this.x=k,this.segment=L,this.create=I,this.index=P}function E(k){for(var L=k.length,I=2*L,P=new Array(I),M=0;M<L;++M){var F=k[M],N=F[0][0]<F[1][0];P[2*M]=new A(F[0][0],F,N,M),P[2*M+1]=new A(F[1][0],F,!N,M)}P.sort(function(V,j){var G=V.x-j.x;return G||(G=V.create-j.create,G)?G:Math.min(V.segment[0][1],V.segment[1][1])-Math.min(j.segment[0][1],j.segment[1][1])});for(var T=d(b),D=[],O=[],U=[],M=0;M<I;){for(var B=P[M].x,Y=[];M<I;){var z=P[M];if(z.x!==B)break;M+=1,z.segment[0][0]===z.x&&z.segment[1][0]===z.x?z.create&&(z.segment[0][1]<z.segment[1][1]?(Y.push(new R(z.segment[0][1],z.index,!0,!0)),Y.push(new R(z.segment[1][1],z.index,!1,!1))):(Y.push(new R(z.segment[1][1],z.index,!0,!1)),Y.push(new R(z.segment[0][1],z.index,!1,!0)))):z.create?T=T.insert(z.segment,z.index):T=T.remove(z.segment)}D.push(T.root),O.push(B),U.push(Y)}return new x(D,O,U)}},4670:function(p,_,c){var s=c(9130),d=c(9662);p.exports=x,p.exports.positive=y,p.exports.negative=C;function f(w,R){var A=d(s(w,R),[R[R.length-1]]);return A[A.length-1]}function b(w,R,A,E){var k=E-R,L=-R/k;L<0?L=0:L>1&&(L=1);for(var I=1-L,P=w.length,M=new Array(P),F=0;F<P;++F)M[F]=L*w[F]+I*A[F];return M}function x(w,R){for(var A=[],E=[],k=f(w[w.length-1],R),L=w[w.length-1],I=w[0],P=0;P<w.length;++P,L=I){I=w[P];var M=f(I,R);if(k<0&&M>0||k>0&&M<0){var F=b(L,M,I,k);A.push(F),E.push(F.slice())}M<0?E.push(I.slice()):M>0?A.push(I.slice()):(A.push(I.slice()),E.push(I.slice())),k=M}return{positive:A,negative:E}}function y(w,R){for(var A=[],E=f(w[w.length-1],R),k=w[w.length-1],L=w[0],I=0;I<w.length;++I,k=L){L=w[I];var P=f(L,R);(E<0&&P>0||E>0&&P<0)&&A.push(b(k,P,L,E)),P>=0&&A.push(L.slice()),E=P}return A}function C(w,R){for(var A=[],E=f(w[w.length-1],R),k=w[w.length-1],L=w[0],I=0;I<w.length;++I,k=L){L=w[I];var P=f(L,R);(E<0&&P>0||E>0&&P<0)&&A.push(b(k,P,L,E)),P<=0&&A.push(L.slice()),E=P}return A}},8974:function(p,_,c){var s;(function(){var d={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function f(w){return x(C(w),arguments)}function b(w,R){return f.apply(null,[w].concat(R||[]))}function x(w,R){var A=1,E=w.length,k,L="",I,P,M,F,N,T,D,O;for(I=0;I<E;I++)if(typeof w[I]=="string")L+=w[I];else if(typeof w[I]=="object"){if(M=w[I],M.keys)for(k=R[A],P=0;P<M.keys.length;P++){if(k==null)throw new Error(f('[sprintf] Cannot access property "%s" of undefined value "%s"',M.keys[P],M.keys[P-1]));k=k[M.keys[P]]}else M.param_no?k=R[M.param_no]:k=R[A++];if(d.not_type.test(M.type)&&d.not_primitive.test(M.type)&&k instanceof Function&&(k=k()),d.numeric_arg.test(M.type)&&typeof k!="number"&&isNaN(k))throw new TypeError(f("[sprintf] expecting number but found %T",k));switch(d.number.test(M.type)&&(D=k>=0),M.type){case"b":k=parseInt(k,10).toString(2);break;case"c":k=String.fromCharCode(parseInt(k,10));break;case"d":case"i":k=parseInt(k,10);break;case"j":k=JSON.stringify(k,null,M.width?parseInt(M.width):0);break;case"e":k=M.precision?parseFloat(k).toExponential(M.precision):parseFloat(k).toExponential();break;case"f":k=M.precision?parseFloat(k).toFixed(M.precision):parseFloat(k);break;case"g":k=M.precision?String(Number(k.toPrecision(M.precision))):parseFloat(k);break;case"o":k=(parseInt(k,10)>>>0).toString(8);break;case"s":k=String(k),k=M.precision?k.substring(0,M.precision):k;break;case"t":k=String(!!k),k=M.precision?k.substring(0,M.precision):k;break;case"T":k=Object.prototype.toString.call(k).slice(8,-1).toLowerCase(),k=M.precision?k.substring(0,M.precision):k;break;case"u":k=parseInt(k,10)>>>0;break;case"v":k=k.valueOf(),k=M.precision?k.substring(0,M.precision):k;break;case"x":k=(parseInt(k,10)>>>0).toString(16);break;case"X":k=(parseInt(k,10)>>>0).toString(16).toUpperCase();break}d.json.test(M.type)?L+=k:(d.number.test(M.type)&&(!D||M.sign)?(O=D?"+":"-",k=k.toString().replace(d.sign,"")):O="",N=M.pad_char?M.pad_char==="0"?"0":M.pad_char.charAt(1):" ",T=M.width-(O+k).length,F=M.width&&T>0?N.repeat(T):"",L+=M.align?O+k+F:N==="0"?O+F+k:F+O+k)}return L}var y=Object.create(null);function C(w){if(y[w])return y[w];for(var R=w,A,E=[],k=0;R;){if((A=d.text.exec(R))!==null)E.push(A[0]);else if((A=d.modulo.exec(R))!==null)E.push("%");else if((A=d.placeholder.exec(R))!==null){if(A[2]){k|=1;var L=[],I=A[2],P=[];if((P=d.key.exec(I))!==null)for(L.push(P[1]);(I=I.substring(P[0].length))!=="";)if((P=d.key_access.exec(I))!==null)L.push(P[1]);else if((P=d.index_access.exec(I))!==null)L.push(P[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");A[2]=L}else k|=2;if(k===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");E.push({placeholder:A[0],param_no:A[1],keys:A[2],sign:A[3],pad_char:A[4],align:A[5],width:A[6],precision:A[7],type:A[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");R=R.substring(A[0].length)}return y[w]=E}_.sprintf=f,_.vsprintf=b,typeof window<"u"&&(window.sprintf=f,window.vsprintf=b,s=(function(){return{sprintf:f,vsprintf:b}}).call(_,c,_,p),s!==void 0&&(p.exports=s))})()},4162:function(p,_,c){p.exports=C;var s=c(9284),d=c(9584),f={"2d":function(w,R,A){var E=w({order:R,scalarArguments:3,getters:A==="generic"?[0]:void 0,phase:function(L,I,P,M){return L>M|0},vertex:function(L,I,P,M,F,N,T,D,O,U,B,Y,z){var V=(T<<0)+(D<<1)+(O<<2)+(U<<3)|0;if(!(V===0||V===15))switch(V){case 0:B.push([L-.5,I-.5]);break;case 1:B.push([L-.25-.25*(M+P-2*z)/(P-M),I-.25-.25*(F+P-2*z)/(P-F)]);break;case 2:B.push([L-.75-.25*(-M-P+2*z)/(M-P),I-.25-.25*(N+M-2*z)/(M-N)]);break;case 3:B.push([L-.5,I-.5-.5*(F+P+N+M-4*z)/(P-F+M-N)]);break;case 4:B.push([L-.25-.25*(N+F-2*z)/(F-N),I-.75-.25*(-F-P+2*z)/(F-P)]);break;case 5:B.push([L-.5-.5*(M+P+N+F-4*z)/(P-M+F-N),I-.5]);break;case 6:B.push([L-.5-.25*(-M-P+N+F)/(M-P+F-N),I-.5-.25*(-F-P+N+M)/(F-P+M-N)]);break;case 7:B.push([L-.75-.25*(N+F-2*z)/(F-N),I-.75-.25*(N+M-2*z)/(M-N)]);break;case 8:B.push([L-.75-.25*(-N-F+2*z)/(N-F),I-.75-.25*(-N-M+2*z)/(N-M)]);break;case 9:B.push([L-.5-.25*(M+P+-N-F)/(P-M+N-F),I-.5-.25*(F+P+-N-M)/(P-F+N-M)]);break;case 10:B.push([L-.5-.5*(-M-P+-N-F+4*z)/(M-P+N-F),I-.5]);break;case 11:B.push([L-.25-.25*(-N-F+2*z)/(N-F),I-.75-.25*(F+P-2*z)/(P-F)]);break;case 12:B.push([L-.5,I-.5-.5*(-F-P+-N-M+4*z)/(F-P+N-M)]);break;case 13:B.push([L-.75-.25*(M+P-2*z)/(P-M),I-.25-.25*(-N-M+2*z)/(N-M)]);break;case 14:B.push([L-.25-.25*(-M-P+2*z)/(M-P),I-.25-.25*(-F-P+2*z)/(F-P)]);break;case 15:B.push([L-.5,I-.5]);break}},cell:function(L,I,P,M,F,N,T,D,O){F?D.push([L,I]):D.push([I,L])}});return function(k,L){var I=[],P=[];return E(k,I,P,L),{positions:I,cells:P}}}};function b(w,R){var A=w.length+"d",E=f[A];if(E)return E(s,w,R)}function x(w,R){for(var A=d(w,R),E=A.length,k=new Array(E),L=new Array(E),I=0;I<E;++I)k[I]=[A[I]],L[I]=[I];return{positions:k,cells:L}}var y={};function C(w,k){if(w.dimension<=0)return{positions:[],cells:[]};if(w.dimension===1)return x(w,k);var A=w.order.join()+"-"+w.dtype,E=y[A],k=+k||0;return E||(E=y[A]=b(w.order,w.dtype)),E(w,k)}},6946:function(p,_,c){p.exports=x;var s=c(875),d=window||l.global||{},f=d.__TEXT_CACHE||{};d.__TEXT_CACHE={};function b(y){for(var C=y.cells,w=y.positions,R=new Float32Array(C.length*6),A=0,E=0,k=0;k<C.length;++k)for(var L=C[k],I=0;I<3;++I){var P=w[L[I]];R[A++]=P[0],R[A++]=P[1]+1.4,E=Math.max(P[0],E)}return{data:R,shape:E}}function x(y,C,R){var R=R||{},A=f[y];A||(A=f[y]={" ":{data:new Float32Array(0),shape:.2}});var E=A[C];if(!E)if(C.length<=1||!/\d/.test(C))E=A[C]=b(s(C,{triangles:!0,font:y,textAlign:R.textAlign||"left",textBaseline:"alphabetic",styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0}}));else{for(var k=C.split(/(\d|\s)/),L=new Array(k.length),I=0,P=0,M=0;M<k.length;++M)L[M]=x(y,k[M]),I+=L[M].data.length,P+=L[M].shape,M>0&&(P+=.02);for(var F=new Float32Array(I),N=0,T=-.5*P,M=0;M<L.length;++M){for(var D=L[M].data,O=0;O<D.length;O+=2)F[N++]=D[O]+T,F[N++]=D[O+1];T+=L[M].shape+.02}E=A[C]={data:F,shape:P}}return E}},14:function(p,_,c){var s=c(4405);p.exports=x;var d=96;function f(y,C){var w=s(getComputedStyle(y).getPropertyValue(C));return w[0]*x(w[1],y)}function b(y,C){var w=document.createElement("div");w.style["font-size"]="128"+y,C.appendChild(w);var R=f(w,"font-size")/128;return C.removeChild(w),R}function x(y,C){switch(C=C||document.body,y=(y||"px").trim().toLowerCase(),(C===window||C===document)&&(C=document.body),y){case"%":return C.clientHeight/100;case"ch":case"ex":return b(y,C);case"em":return f(C,"font-size");case"rem":return f(document.body,"font-size");case"vw":return window.innerWidth/100;case"vh":return window.innerHeight/100;case"vmin":return Math.min(window.innerWidth,window.innerHeight)/100;case"vmax":return Math.max(window.innerWidth,window.innerHeight)/100;case"in":return d;case"cm":return d/2.54;case"mm":return d/25.4;case"pt":return d/72;case"pc":return d/6}return 1}},3440:function(p,_,c){p.exports=L;var s=c(8444),d=c(7437),f=c(4422),b=c(903),x=c(899),y=c(9305);function C(I,P,M){return Math.sqrt(Math.pow(I,2)+Math.pow(P,2)+Math.pow(M,2))}function w(I){return Math.min(1,Math.max(-1,I))}function R(I){var P=Math.abs(I[0]),M=Math.abs(I[1]),F=Math.abs(I[2]),N=[0,0,0];P>Math.max(M,F)?N[2]=1:M>Math.max(P,F)?N[0]=1:N[1]=1;for(var T=0,D=0,O=0;O<3;++O)T+=I[O]*I[O],D+=N[O]*I[O];for(var O=0;O<3;++O)N[O]-=D/T*I[O];return x(N,N),N}function A(I,P,M,F,N,T,D,O){this.center=s(M),this.up=s(F),this.right=s(N),this.radius=s([T]),this.angle=s([D,O]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(I,P),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var U=0;U<16;++U)this.computedMatrix[U]=.5;this.recalcMatrix(0)}var E=A.prototype;E.setDistanceLimits=function(I,P){I>0?I=Math.log(I):I=-1/0,P>0?P=Math.log(P):P=1/0,P=Math.max(P,I),this.radius.bounds[0][0]=I,this.radius.bounds[1][0]=P},E.getDistanceLimits=function(I){var P=this.radius.bounds[0];return I?(I[0]=Math.exp(P[0][0]),I[1]=Math.exp(P[1][0]),I):[Math.exp(P[0][0]),Math.exp(P[1][0])]},E.recalcMatrix=function(I){this.center.curve(I),this.up.curve(I),this.right.curve(I),this.radius.curve(I),this.angle.curve(I);for(var P=this.computedUp,M=this.computedRight,F=0,N=0,T=0;T<3;++T)N+=P[T]*M[T],F+=P[T]*P[T];for(var D=Math.sqrt(F),O=0,T=0;T<3;++T)M[T]-=P[T]*N/F,O+=M[T]*M[T],P[T]/=D;for(var U=Math.sqrt(O),T=0;T<3;++T)M[T]/=U;var B=this.computedToward;b(B,P,M),x(B,B);for(var Y=Math.exp(this.computedRadius[0]),z=this.computedAngle[0],V=this.computedAngle[1],j=Math.cos(z),G=Math.sin(z),W=Math.cos(V),X=Math.sin(V),Q=this.computedCenter,ae=j*W,ie=G*W,he=X,J=-j*X,Z=-G*X,le=W,K=this.computedEye,te=this.computedMatrix,T=0;T<3;++T){var ce=ae*M[T]+ie*B[T]+he*P[T];te[4*T+1]=J*M[T]+Z*B[T]+le*P[T],te[4*T+2]=ce,te[4*T+3]=0}var re=te[1],ee=te[5],de=te[9],oe=te[2],fe=te[6],me=te[10],Te=ee*me-de*fe,we=de*oe-re*me,Be=re*fe-ee*oe,Ae=C(Te,we,Be);Te/=Ae,we/=Ae,Be/=Ae,te[0]=Te,te[4]=we,te[8]=Be;for(var T=0;T<3;++T)K[T]=Q[T]+te[2+4*T]*Y;for(var T=0;T<3;++T){for(var O=0,Re=0;Re<3;++Re)O+=te[T+4*Re]*K[Re];te[12+T]=-O}te[15]=1},E.getMatrix=function(I,P){this.recalcMatrix(I);var M=this.computedMatrix;if(P){for(var F=0;F<16;++F)P[F]=M[F];return P}return M};var k=[0,0,0];E.rotate=function(I,P,M,F){if(this.angle.move(I,P,M),F){this.recalcMatrix(I);var N=this.computedMatrix;k[0]=N[2],k[1]=N[6],k[2]=N[10];for(var T=this.computedUp,D=this.computedRight,O=this.computedToward,U=0;U<3;++U)N[4*U]=T[U],N[4*U+1]=D[U],N[4*U+2]=O[U];f(N,N,F,k);for(var U=0;U<3;++U)T[U]=N[4*U],D[U]=N[4*U+1];this.up.set(I,T[0],T[1],T[2]),this.right.set(I,D[0],D[1],D[2])}},E.pan=function(I,P,M,F){P=P||0,M=M||0,F=F||0,this.recalcMatrix(I);var N=this.computedMatrix;Math.exp(this.computedRadius[0]);var T=N[1],D=N[5],O=N[9],U=C(T,D,O);T/=U,D/=U,O/=U;var B=N[0],Y=N[4],z=N[8],V=B*T+Y*D+z*O;B-=T*V,Y-=D*V,z-=O*V;var j=C(B,Y,z);B/=j,Y/=j,z/=j;var G=B*P+T*M,W=Y*P+D*M,X=z*P+O*M;this.center.move(I,G,W,X);var Q=Math.exp(this.computedRadius[0]);Q=Math.max(1e-4,Q+F),this.radius.set(I,Math.log(Q))},E.translate=function(I,P,M,F){this.center.move(I,P||0,M||0,F||0)},E.setMatrix=function(I,P,M,F){var N=1;typeof M=="number"&&(N=M|0),(N<0||N>3)&&(N=1);var T=(N+2)%3;P||(this.recalcMatrix(I),P=this.computedMatrix);var D=P[N],O=P[N+4],U=P[N+8];if(F){var Y=Math.abs(D),z=Math.abs(O),V=Math.abs(U),j=Math.max(Y,z,V);Y===j?(D=D<0?-1:1,O=U=0):V===j?(U=U<0?-1:1,D=O=0):(O=O<0?-1:1,D=U=0)}else{var B=C(D,O,U);D/=B,O/=B,U/=B}var G=P[T],W=P[T+4],X=P[T+8],Q=G*D+W*O+X*U;G-=D*Q,W-=O*Q,X-=U*Q;var ae=C(G,W,X);G/=ae,W/=ae,X/=ae;var ie=O*X-U*W,he=U*G-D*X,J=D*W-O*G,Z=C(ie,he,J);ie/=Z,he/=Z,J/=Z,this.center.jump(I,ze,Fe,We),this.radius.idle(I),this.up.jump(I,D,O,U),this.right.jump(I,G,W,X);var le,K;if(N===2){var te=P[1],ce=P[5],re=P[9],ee=te*G+ce*W+re*X,de=te*ie+ce*he+re*J;Te<0?le=-Math.PI/2:le=Math.PI/2,K=Math.atan2(de,ee)}else{var oe=P[2],fe=P[6],me=P[10],Te=oe*D+fe*O+me*U,we=oe*G+fe*W+me*X,Be=oe*ie+fe*he+me*J;le=Math.asin(w(Te)),K=Math.atan2(Be,we)}this.angle.jump(I,K,le),this.recalcMatrix(I);var Ae=P[2],Re=P[6],be=P[10],Pe=this.computedMatrix;d(Pe,P);var Ke=Pe[15],ze=Pe[12]/Ke,Fe=Pe[13]/Ke,We=Pe[14]/Ke,lt=Math.exp(this.computedRadius[0]);this.center.jump(I,ze-Ae*lt,Fe-Re*lt,We-be*lt)},E.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},E.idle=function(I){this.center.idle(I),this.up.idle(I),this.right.idle(I),this.radius.idle(I),this.angle.idle(I)},E.flush=function(I){this.center.flush(I),this.up.flush(I),this.right.flush(I),this.radius.flush(I),this.angle.flush(I)},E.setDistance=function(I,P){P>0&&this.radius.set(I,Math.log(P))},E.lookAt=function(I,P,M,F){this.recalcMatrix(I),P=P||this.computedEye,M=M||this.computedCenter,F=F||this.computedUp;var N=F[0],T=F[1],D=F[2],O=C(N,T,D);if(!(O<1e-6)){N/=O,T/=O,D/=O;var U=P[0]-M[0],B=P[1]-M[1],Y=P[2]-M[2],z=C(U,B,Y);if(!(z<1e-6)){U/=z,B/=z,Y/=z;var V=this.computedRight,j=V[0],G=V[1],W=V[2],X=N*j+T*G+D*W;j-=X*N,G-=X*T,W-=X*D;var Q=C(j,G,W);if(!(Q<.01&&(j=T*Y-D*B,G=D*U-N*Y,W=N*B-T*U,Q=C(j,G,W),Q<1e-6))){j/=Q,G/=Q,W/=Q,this.up.set(I,N,T,D),this.right.set(I,j,G,W),this.center.set(I,M[0],M[1],M[2]),this.radius.set(I,Math.log(z));var ae=T*W-D*G,ie=D*j-N*W,he=N*G-T*j,J=C(ae,ie,he);ae/=J,ie/=J,he/=J;var Z=N*U+T*B+D*Y,le=j*U+G*B+W*Y,K=ae*U+ie*B+he*Y,te=Math.asin(w(Z)),ce=Math.atan2(K,le),re=this.angle._state,ee=re[re.length-1],de=re[re.length-2];ee=ee%(2*Math.PI);var oe=Math.abs(ee+2*Math.PI-ce),fe=Math.abs(ee-ce),me=Math.abs(ee-2*Math.PI-ce);oe<fe&&(ee+=2*Math.PI),me<fe&&(ee-=2*Math.PI),this.angle.jump(this.angle.lastT(),ee,de),this.angle.set(I,ce,te)}}}};function L(I){I=I||{};var P=I.center||[0,0,0],M=I.up||[0,1,0],F=I.right||R(M),N=I.radius||1,T=I.theta||0,D=I.phi||0;if(P=[].slice.call(P,0,3),M=[].slice.call(M,0,3),x(M,M),F=[].slice.call(F,0,3),x(F,F),"eye"in I){var O=I.eye,U=[O[0]-P[0],O[1]-P[1],O[2]-P[2]];b(F,U,M),C(F[0],F[1],F[2])<1e-6?F=R(M):x(F,F),N=C(U[0],U[1],U[2]);var B=y(M,U)/N,Y=y(F,U)/N;D=Math.acos(B),T=Math.acos(Y)}return N=Math.log(N),new A(I.zoomMin,I.zoomMax,P,M,F,N,T,D)}},9660:function(p){p.exports=c;var _=+(Math.pow(2,27)+1);function c(s,d,f){var b=s*d,x=_*s,y=x-s,C=x-y,w=s-C,R=_*d,A=R-d,E=R-A,k=d-E,L=b-C*E,I=L-w*E,P=I-C*k,M=w*k-P;return f?(f[0]=M,f[1]=b,f):[M,b]}},87:function(p){p.exports=_;function _(c,s,d){var f=c+s,b=f-c,x=f-b,y=s-b,C=c-x;return d?(d[0]=C+y,d[1]=f,d):[C+y,f]}},5306:function(p,_,c){var s=c(2288),d=c(3094),f=c(2146).lW;c.g.__TYPEDARRAY_POOL||(c.g.__TYPEDARRAY_POOL={UINT8:d([32,0]),UINT16:d([32,0]),UINT32:d([32,0]),BIGUINT64:d([32,0]),INT8:d([32,0]),INT16:d([32,0]),INT32:d([32,0]),BIGINT64:d([32,0]),FLOAT:d([32,0]),DOUBLE:d([32,0]),DATA:d([32,0]),UINT8C:d([32,0]),BUFFER:d([32,0])});var b=typeof Uint8ClampedArray<"u",x=typeof BigUint64Array<"u",y=typeof BigInt64Array<"u",C=c.g.__TYPEDARRAY_POOL;C.UINT8C||(C.UINT8C=d([32,0])),C.BIGUINT64||(C.BIGUINT64=d([32,0])),C.BIGINT64||(C.BIGINT64=d([32,0])),C.BUFFER||(C.BUFFER=d([32,0]));var w=C.DATA,R=C.BUFFER;_.free=function(j){if(f.isBuffer(j))R[s.log2(j.length)].push(j);else{if(Object.prototype.toString.call(j)!=="[object ArrayBuffer]"&&(j=j.buffer),!j)return;var G=j.length||j.byteLength,W=s.log2(G)|0;w[W].push(j)}};function A(V){if(V){var j=V.length||V.byteLength,G=s.log2(j);w[G].push(V)}}function E(V){A(V.buffer)}_.freeUint8=_.freeUint16=_.freeUint32=_.freeBigUint64=_.freeInt8=_.freeInt16=_.freeInt32=_.freeBigInt64=_.freeFloat32=_.freeFloat=_.freeFloat64=_.freeDouble=_.freeUint8Clamped=_.freeDataView=E,_.freeArrayBuffer=A,_.freeBuffer=function(j){R[s.log2(j.length)].push(j)},_.malloc=function(j,G){if(G===void 0||G==="arraybuffer")return k(j);switch(G){case"uint8":return L(j);case"uint16":return I(j);case"uint32":return P(j);case"int8":return M(j);case"int16":return F(j);case"int32":return N(j);case"float":case"float32":return T(j);case"double":case"float64":return D(j);case"uint8_clamped":return O(j);case"bigint64":return B(j);case"biguint64":return U(j);case"buffer":return z(j);case"data":case"dataview":return Y(j);default:return null}return null};function k(j){var j=s.nextPow2(j),G=s.log2(j),W=w[G];return W.length>0?W.pop():new ArrayBuffer(j)}_.mallocArrayBuffer=k;function L(V){return new Uint8Array(k(V),0,V)}_.mallocUint8=L;function I(V){return new Uint16Array(k(2*V),0,V)}_.mallocUint16=I;function P(V){return new Uint32Array(k(4*V),0,V)}_.mallocUint32=P;function M(V){return new Int8Array(k(V),0,V)}_.mallocInt8=M;function F(V){return new Int16Array(k(2*V),0,V)}_.mallocInt16=F;function N(V){return new Int32Array(k(4*V),0,V)}_.mallocInt32=N;function T(V){return new Float32Array(k(4*V),0,V)}_.mallocFloat32=_.mallocFloat=T;function D(V){return new Float64Array(k(8*V),0,V)}_.mallocFloat64=_.mallocDouble=D;function O(V){return b?new Uint8ClampedArray(k(V),0,V):L(V)}_.mallocUint8Clamped=O;function U(V){return x?new BigUint64Array(k(8*V),0,V):null}_.mallocBigUint64=U;function B(V){return y?new BigInt64Array(k(8*V),0,V):null}_.mallocBigInt64=B;function Y(V){return new DataView(k(V),0,V)}_.mallocDataView=Y;function z(V){V=s.nextPow2(V);var j=s.log2(V),G=R[j];return G.length>0?G.pop():new f(V)}_.mallocBuffer=z,_.clearCache=function(){for(var j=0;j<32;++j)C.UINT8[j].length=0,C.UINT16[j].length=0,C.UINT32[j].length=0,C.INT8[j].length=0,C.INT16[j].length=0,C.INT32[j].length=0,C.FLOAT[j].length=0,C.DOUBLE[j].length=0,C.BIGUINT64[j].length=0,C.BIGINT64[j].length=0,C.UINT8C[j].length=0,w[j].length=0,R[j].length=0}},1731:function(p){"use restrict";p.exports=_;function _(s){this.roots=new Array(s),this.ranks=new Array(s);for(var d=0;d<s;++d)this.roots[d]=d,this.ranks[d]=0}var c=_.prototype;Object.defineProperty(c,"length",{get:function(){return this.roots.length}}),c.makeSet=function(){var s=this.roots.length;return this.roots.push(s),this.ranks.push(0),s},c.find=function(s){for(var d=s,f=this.roots;f[s]!==s;)s=f[s];for(;f[d]!==s;){var b=f[d];f[d]=s,d=b}return s},c.link=function(s,d){var f=this.find(s),b=this.find(d);if(f!==b){var x=this.ranks,y=this.roots,C=x[f],w=x[b];C<w?y[f]=b:w<C?y[b]=f:(y[b]=f,++x[f])}}},1215:function(p){function _(d,f){for(var b=1,x=d.length,y=d[0],C=d[0],w=1;w<x;++w)if(C=y,y=d[w],f(y,C)){if(w===b){b++;continue}d[b++]=y}return d.length=b,d}function c(d){for(var f=1,b=d.length,x=d[0],y=d[0],C=1;C<b;++C,y=x)if(y=x,x=d[C],x!==y){if(C===f){f++;continue}d[f++]=x}return d.length=f,d}function s(d,f,b){return d.length===0?d:f?(b||d.sort(f),_(d,f)):(b||d.sort(),c(d))}p.exports=s},875:function(p,_,c){p.exports=b;var s=c(712),d=null,f=null;typeof document<"u"&&(d=document.createElement("canvas"),d.width=8192,d.height=1024,f=d.getContext("2d"));function b(x,y){return(typeof y!="object"||y===null)&&(y={}),s(x,y.canvas||d,y.context||f,y)}},712:function(p,_,c){p.exports=B,p.exports.processPixels=U;var s=c(4162),d=c(5050),f=c(8243),b=c(197),x=c(7761),y=c(8040),C="b",w="b|",R="i",A="i|",E="sup",k="+",L="+1",I="sub",P="-",M="-1";function F(Y,z,V,j){for(var G="<"+Y+">",W="</"+Y+">",X=G.length,Q=W.length,ae=z[0]===k||z[0]===P,ie=0,he=-Q;ie>-1&&(ie=V.indexOf(G,ie),!(ie===-1||(he=V.indexOf(W,ie+X),he===-1)||he<=ie));){for(var J=ie;J<he+Q;++J)if(J<ie+X||J>=he)j[J]=null,V=V.substr(0,J)+" "+V.substr(J+1);else if(j[J]!==null){var Z=j[J].indexOf(z[0]);Z===-1?j[J]+=z:ae&&(j[J]=j[J].substr(0,Z+1)+(1+parseInt(j[J][Z+1]))+j[J].substr(Z+2))}var le=ie+X,K=V.substr(le,he-le),te=K.indexOf(G);te!==-1?ie=te:ie=he+Q}return j}function N(Y,z,V){for(var j=z.textAlign||"start",G=z.textBaseline||"alphabetic",W=[1<<30,1<<30],X=[0,0],Q=Y.length,ae=0;ae<Q;++ae)for(var ie=Y[ae],he=0;he<2;++he)W[he]=Math.min(W[he],ie[he])|0,X[he]=Math.max(X[he],ie[he])|0;var J=0;switch(j){case"center":J=-.5*(W[0]+X[0]);break;case"right":case"end":J=-X[0];break;case"left":case"start":J=-W[0];break;default:throw new Error("vectorize-text: Unrecognized textAlign: '"+j+"'")}var Z=0;switch(G){case"hanging":case"top":Z=-W[1];break;case"middle":Z=-.5*(W[1]+X[1]);break;case"alphabetic":case"ideographic":Z=-3*V;break;case"bottom":Z=-X[1];break;default:throw new Error("vectorize-text: Unrecoginized textBaseline: '"+G+"'")}var le=1/V;return"lineHeight"in z?le*=+z.lineHeight:"width"in z?le=z.width/(X[0]-W[0]):"height"in z&&(le=z.height/(X[1]-W[1])),Y.map(function(K){return[le*(K[0]+J),le*(K[1]+Z)]})}function T(Y,z,V,j,G,W){V=V.replace(/\n/g,""),W.breaklines===!0?V=V.replace(/\<br\>/g,`
`):V=V.replace(/\<br\>/g," ");var X="",Q=[];for(ee=0;ee<V.length;++ee)Q[ee]=X;W.bolds===!0&&(Q=F(C,w,V,Q)),W.italics===!0&&(Q=F(R,A,V,Q)),W.superscripts===!0&&(Q=F(E,L,V,Q)),W.subscripts===!0&&(Q=F(I,M,V,Q));var ae=[],ie="";for(ee=0;ee<V.length;++ee)Q[ee]!==null&&(ie+=V[ee],ae.push(Q[ee]));var he=ie.split(`
`),J=he.length,Z=Math.round(G*j),le=j,K=j*2,te=0,ce=J*Z+K;Y.height<ce&&(Y.height=ce),z.fillStyle="#000",z.fillRect(0,0,Y.width,Y.height),z.fillStyle="#fff";var re,ee,de,oe,fe,me=0,Te="";function we(){if(Te!==""){var We=z.measureText(Te).width;z.fillText(Te,le+de,K+oe),de+=We}}function Be(){return""+Math.round(fe)+"px "}function Ae(We,lt){var ht=""+z.font;if(W.subscripts===!0){var tt=We.indexOf(P),et=lt.indexOf(P),pt=tt>-1?parseInt(We[1+tt]):0,vt=et>-1?parseInt(lt[1+et]):0;pt!==vt&&(ht=ht.replace(Be(),"?px "),fe*=Math.pow(.75,vt-pt),ht=ht.replace("?px ",Be())),oe+=.25*Z*(vt-pt)}if(W.superscripts===!0){var _t=We.indexOf(k),bt=lt.indexOf(k),Rt=_t>-1?parseInt(We[1+_t]):0,ct=bt>-1?parseInt(lt[1+bt]):0;Rt!==ct&&(ht=ht.replace(Be(),"?px "),fe*=Math.pow(.75,ct-Rt),ht=ht.replace("?px ",Be())),oe-=.25*Z*(ct-Rt)}if(W.bolds===!0){var Ve=We.indexOf(w)>-1,Qe=lt.indexOf(w)>-1;!Ve&&Qe&&(rt?ht=ht.replace("italic ","italic bold "):ht="bold "+ht),Ve&&!Qe&&(ht=ht.replace("bold ",""))}if(W.italics===!0){var rt=We.indexOf(A)>-1,qe=lt.indexOf(A)>-1;!rt&&qe&&(ht="italic "+ht),rt&&!qe&&(ht=ht.replace("italic ",""))}z.font=ht}for(re=0;re<J;++re){var Re=he[re]+`
`;for(de=0,oe=re*Z,fe=j,Te="",ee=0;ee<Re.length;++ee){var be=ee+me<ae.length?ae[ee+me]:ae[ae.length-1];X===be?Te+=Re[ee]:(we(),Te=Re[ee],be!==void 0&&(Ae(X,be),X=be))}we(),me+=Re.length;var Pe=Math.round(de+2*le)|0;te<Pe&&(te=Pe)}var Ke=te,ze=K+Z*J,Fe=d(z.getImageData(0,0,Ke,ze).data,[ze,Ke,4]);return Fe.pick(-1,-1,0).transpose(1,0)}function D(Y,z){var V=s(Y,128);return z?f(V.cells,V.positions,.25):{edges:V.cells,positions:V.positions}}function O(Y,z,V,j){var G=D(Y,j),W=N(G.positions,z,V),X=G.edges,Q=z.orientation==="ccw";if(b(W,X),z.polygons||z.polygon||z.polyline){for(var ae=y(X,W),ie=new Array(ae.length),he=0;he<ae.length;++he){for(var J=ae[he],Z=new Array(J.length),le=0;le<J.length;++le){for(var K=J[le],te=new Array(K.length),ce=0;ce<K.length;++ce)te[ce]=W[K[ce]].slice();Q&&te.reverse(),Z[le]=te}ie[he]=Z}return ie}else return z.triangles||z.triangulate||z.triangle?{cells:x(W,X,{delaunay:!1,exterior:!1,interior:!0}),positions:W}:{edges:X,positions:W}}function U(Y,z,V){try{return O(Y,z,V,!0)}catch{}try{return O(Y,z,V,!1)}catch{}return z.polygons||z.polyline||z.polygon?[]:z.triangles||z.triangulate||z.triangle?{cells:[],positions:[]}:{edges:[],positions:[]}}function B(Y,z,V,j){var G=64,W=1.25,X={breaklines:!1,bolds:!1,italics:!1,subscripts:!1,superscripts:!1};j&&(j.size&&j.size>0&&(G=j.size),j.lineSpacing&&j.lineSpacing>0&&(W=j.lineSpacing),j.styletags&&j.styletags.breaklines&&(X.breaklines=!!j.styletags.breaklines),j.styletags&&j.styletags.bolds&&(X.bolds=!!j.styletags.bolds),j.styletags&&j.styletags.italics&&(X.italics=!!j.styletags.italics),j.styletags&&j.styletags.subscripts&&(X.subscripts=!!j.styletags.subscripts),j.styletags&&j.styletags.superscripts&&(X.superscripts=!!j.styletags.superscripts)),V.font=[j.fontStyle,j.fontVariant,j.fontWeight,G+"px",j.font].filter(function(ae){return ae}).join(" "),V.textAlign="start",V.textBaseline="alphabetic",V.direction="ltr";var Q=T(z,V,Y,G,W,X);return U(Q,j,G)}},5346:function(p){(function(){if(typeof ses<"u"&&ses.ok&&!ses.ok())return;function c(D){D.permitHostObjects___&&D.permitHostObjects___(c)}typeof ses<"u"&&(ses.weakMapPermitHostObjects=c);var s=!1;if(typeof WeakMap=="function"){var d=WeakMap;if(!(typeof navigator<"u"&&/Firefox/.test(navigator.userAgent))){var f=new d,b=Object.freeze({});if(f.set(b,1),f.get(b)!==1)s=!0;else{p.exports=WeakMap;return}}}var x=Object.getOwnPropertyNames,y=Object.defineProperty,C=Object.isExtensible,w="weakmap:",R=w+"ident:"+Math.random()+"___";if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"&&typeof ArrayBuffer=="function"&&typeof Uint8Array=="function"){var A=new ArrayBuffer(25),E=new Uint8Array(A);crypto.getRandomValues(E),R=w+"rand:"+Array.prototype.map.call(E,function(D){return(D%36).toString(36)}).join("")+"___"}function k(D){return!(D.substr(0,w.length)==w&&D.substr(D.length-3)==="___")}if(y(Object,"getOwnPropertyNames",{value:function(O){return x(O).filter(k)}}),"getPropertyNames"in Object){var L=Object.getPropertyNames;y(Object,"getPropertyNames",{value:function(O){return L(O).filter(k)}})}function I(D){if(D!==Object(D))throw new TypeError("Not an object: "+D);var O=D[R];if(O&&O.key===D)return O;if(C(D)){O={key:D};try{return y(D,R,{value:O,writable:!1,enumerable:!1,configurable:!1}),O}catch{return}}}(function(){var D=Object.freeze;y(Object,"freeze",{value:function(Y){return I(Y),D(Y)}});var O=Object.seal;y(Object,"seal",{value:function(Y){return I(Y),O(Y)}});var U=Object.preventExtensions;y(Object,"preventExtensions",{value:function(Y){return I(Y),U(Y)}})})();function P(D){return D.prototype=null,Object.freeze(D)}var M=!1;function F(){!M&&typeof console<"u"&&(M=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}var N=0,T=function(){this instanceof T||F();var D=[],O=[],U=N++;function B(j,G){var W,X=I(j);return X?U in X?X[U]:G:(W=D.indexOf(j),W>=0?O[W]:G)}function Y(j){var G=I(j);return G?U in G:D.indexOf(j)>=0}function z(j,G){var W,X=I(j);return X?X[U]=G:(W=D.indexOf(j),W>=0?O[W]=G:(W=D.length,O[W]=G,D[W]=j)),this}function V(j){var G=I(j),W,X;return G?U in G&&delete G[U]:(W=D.indexOf(j),W<0?!1:(X=D.length-1,D[W]=void 0,O[W]=O[X],D[W]=D[X],D.length=X,O.length=X,!0))}return Object.create(T.prototype,{get___:{value:P(B)},has___:{value:P(Y)},set___:{value:P(z)},delete___:{value:P(V)}})};T.prototype=Object.create(Object.prototype,{get:{value:function(O,U){return this.get___(O,U)},writable:!0,configurable:!0},has:{value:function(O){return this.has___(O)},writable:!0,configurable:!0},set:{value:function(O,U){return this.set___(O,U)},writable:!0,configurable:!0},delete:{value:function(O){return this.delete___(O)},writable:!0,configurable:!0}}),typeof d=="function"?function(){s&&typeof Proxy<"u"&&(Proxy=void 0);function D(){this instanceof T||F();var O=new d,U=void 0,B=!1;function Y(G,W){return U?O.has(G)?O.get(G):U.get___(G,W):O.get(G,W)}function z(G){return O.has(G)||(U?U.has___(G):!1)}var V;s?V=function(G,W){return O.set(G,W),O.has(G)||(U||(U=new T),U.set(G,W)),this}:V=function(G,W){if(B)try{O.set(G,W)}catch{U||(U=new T),U.set___(G,W)}else O.set(G,W);return this};function j(G){var W=!!O.delete(G);return U&&U.delete___(G)||W}return Object.create(T.prototype,{get___:{value:P(Y)},has___:{value:P(z)},set___:{value:P(V)},delete___:{value:P(j)},permitHostObjects___:{value:P(function(G){if(G===c)B=!0;else throw new Error("bogus call to permitHostObjects___")})}})}D.prototype=T.prototype,p.exports=D,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<"u"&&(Proxy=void 0),p.exports=T)})()},9222:function(p,_,c){var s=c(7178);p.exports=d;function d(){var f={};return function(b){if((typeof b!="object"||b===null)&&typeof b!="function")throw new Error("Weakmap-shim: Key must be object");var x=b.valueOf(f);return x&&x.identity===f?x:s(b,f)}}},7178:function(p){p.exports=_;function _(c,s){var d={identity:s},f=c.valueOf;return Object.defineProperty(c,"valueOf",{value:function(b){return b!==s?f.apply(this,arguments):d},writable:!0}),d}},4037:function(p,_,c){var s=c(9222);p.exports=d;function d(){var f=s();return{get:function(b,x){var y=f(b);return y.hasOwnProperty("value")?y.value:x},set:function(b,x){return f(b).value=x,this},has:function(b){return"value"in f(b)},delete:function(b){return delete f(b).value}}}},6183:function(p){function _(){return function(x,y,C,w,R,A){var E=x[0],k=C[0],L=[0],I=k;w|=0;var P=0,M=k;for(P=0;P<E;++P){{var F=y[w]-A,N=y[w+I]-A;F>=0!=N>=0&&R.push(L[0]+.5+.5*(F+N)/(F-N))}w+=M,++L[0]}}}function c(){return _()}var s=c;function d(x){var y={};return function(w,R,A){var E=w.dtype,k=w.order,L=[E,k.join()].join(),I=y[L];return I||(y[L]=I=x([E,k])),I(w.shape.slice(0),w.data,w.stride,w.offset|0,R,A)}}function f(x){return d(s.bind(void 0,x))}function b(x){return f({funcName:x.funcName})}p.exports=b({funcName:"zeroCrossings"})},9584:function(p,_,c){p.exports=d;var s=c(6183);function d(f,b){var x=[];return b=+b||0,s(f.hi(f.shape[0]-1),x,b),x}},6601:function(){}},i={};function S(p){var _=i[p];if(_!==void 0)return _.exports;var c=i[p]={id:p,loaded:!1,exports:{}};return v[p].call(c.exports,c,c.exports,S),c.loaded=!0,c.exports}(function(){S.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()})(),function(){S.nmd=function(p){return p.paths=[],p.children||(p.children=[]),p}}();var g=S(7386);return g}()})},33576:function(u,h,a){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/function l(ct,Ve){if(!(ct instanceof Ve))throw new TypeError("Cannot call a class as a function")}function v(ct,Ve){for(var Qe=0;Qe<Ve.length;Qe++){var rt=Ve[Qe];rt.enumerable=rt.enumerable||!1,rt.configurable=!0,"value"in rt&&(rt.writable=!0),Object.defineProperty(ct,S(rt.key),rt)}}function i(ct,Ve,Qe){return Ve&&v(ct.prototype,Ve),Object.defineProperty(ct,"prototype",{writable:!1}),ct}function S(ct){var Ve=g(ct,"string");return b(Ve)==="symbol"?Ve:String(Ve)}function g(ct,Ve){if(b(ct)!=="object"||ct===null)return ct;var Qe=ct[Symbol.toPrimitive];if(Qe!==void 0){var rt=Qe.call(ct,Ve);if(b(rt)!=="object")return rt;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(ct)}function p(ct,Ve,Qe){function rt(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{return!1}}return Ve=c(Ve),_(ct,rt()?Reflect.construct(Ve,[],c(ct).constructor):Ve.apply(ct,Qe))}function _(ct,Ve){if(Ve&&(b(Ve)==="object"||typeof Ve=="function"))return Ve;if(Ve!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return s(ct)}function c(ct){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Qe){return Qe.__proto__||Object.getPrototypeOf(Qe)},c(ct)}function s(ct){if(ct===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ct}function d(ct,Ve){if(typeof Ve!="function"&&Ve!==null)throw new TypeError("Super expression must either be null or a function");ct.prototype=Object.create(Ve&&Ve.prototype,{constructor:{value:ct,writable:!0,configurable:!0}}),Object.defineProperty(ct,"prototype",{writable:!1}),Ve&&f(ct,Ve)}function f(ct,Ve){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(rt,qe){return rt.__proto__=qe,rt},f(ct,Ve)}function b(ct){"@babel/helpers - typeof";return b=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ve){return typeof Ve}:function(Ve){return Ve&&typeof Symbol=="function"&&Ve.constructor===Symbol&&Ve!==Symbol.prototype?"symbol":typeof Ve},b(ct)}var x=a(59968),y=a(35984),C=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;h.Buffer=E,h.SlowBuffer=U,h.INSPECT_MAX_BYTES=50;var w=2147483647;h.kMaxLength=w,E.TYPED_ARRAY_SUPPORT=R(),!E.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function R(){try{var ct=new Uint8Array(1),Ve={foo:function(){return 42}};return Object.setPrototypeOf(Ve,Uint8Array.prototype),Object.setPrototypeOf(ct,Ve),ct.foo()===42}catch{return!1}}Object.defineProperty(E.prototype,"parent",{enumerable:!0,get:function(){if(E.isBuffer(this))return this.buffer}}),Object.defineProperty(E.prototype,"offset",{enumerable:!0,get:function(){if(E.isBuffer(this))return this.byteOffset}});function A(ct){if(ct>w)throw new RangeError('The value "'+ct+'" is invalid for option "size"');var Ve=new Uint8Array(ct);return Object.setPrototypeOf(Ve,E.prototype),Ve}function E(ct,Ve,Qe){if(typeof ct=="number"){if(typeof Ve=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return P(ct)}return k(ct,Ve,Qe)}E.poolSize=8192;function k(ct,Ve,Qe){if(typeof ct=="string")return M(ct,Ve);if(ArrayBuffer.isView(ct))return N(ct);if(ct==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+b(ct));if(pt(ct,ArrayBuffer)||ct&&pt(ct.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(pt(ct,SharedArrayBuffer)||ct&&pt(ct.buffer,SharedArrayBuffer)))return T(ct,Ve,Qe);if(typeof ct=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var rt=ct.valueOf&&ct.valueOf();if(rt!=null&&rt!==ct)return E.from(rt,Ve,Qe);var qe=D(ct);if(qe)return qe;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ct[Symbol.toPrimitive]=="function")return E.from(ct[Symbol.toPrimitive]("string"),Ve,Qe);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+b(ct))}E.from=function(ct,Ve,Qe){return k(ct,Ve,Qe)},Object.setPrototypeOf(E.prototype,Uint8Array.prototype),Object.setPrototypeOf(E,Uint8Array);function L(ct){if(typeof ct!="number")throw new TypeError('"size" argument must be of type number');if(ct<0)throw new RangeError('The value "'+ct+'" is invalid for option "size"')}function I(ct,Ve,Qe){return L(ct),ct<=0?A(ct):Ve!==void 0?typeof Qe=="string"?A(ct).fill(Ve,Qe):A(ct).fill(Ve):A(ct)}E.alloc=function(ct,Ve,Qe){return I(ct,Ve,Qe)};function P(ct){return L(ct),A(ct<0?0:O(ct)|0)}E.allocUnsafe=function(ct){return P(ct)},E.allocUnsafeSlow=function(ct){return P(ct)};function M(ct,Ve){if((typeof Ve!="string"||Ve==="")&&(Ve="utf8"),!E.isEncoding(Ve))throw new TypeError("Unknown encoding: "+Ve);var Qe=B(ct,Ve)|0,rt=A(Qe),qe=rt.write(ct,Ve);return qe!==Qe&&(rt=rt.slice(0,qe)),rt}function F(ct){for(var Ve=ct.length<0?0:O(ct.length)|0,Qe=A(Ve),rt=0;rt<Ve;rt+=1)Qe[rt]=ct[rt]&255;return Qe}function N(ct){if(pt(ct,Uint8Array)){var Ve=new Uint8Array(ct);return T(Ve.buffer,Ve.byteOffset,Ve.byteLength)}return F(ct)}function T(ct,Ve,Qe){if(Ve<0||ct.byteLength<Ve)throw new RangeError('"offset" is outside of buffer bounds');if(ct.byteLength<Ve+(Qe||0))throw new RangeError('"length" is outside of buffer bounds');var rt;return Ve===void 0&&Qe===void 0?rt=new Uint8Array(ct):Qe===void 0?rt=new Uint8Array(ct,Ve):rt=new Uint8Array(ct,Ve,Qe),Object.setPrototypeOf(rt,E.prototype),rt}function D(ct){if(E.isBuffer(ct)){var Ve=O(ct.length)|0,Qe=A(Ve);return Qe.length===0||ct.copy(Qe,0,0,Ve),Qe}if(ct.length!==void 0)return typeof ct.length!="number"||vt(ct.length)?A(0):F(ct);if(ct.type==="Buffer"&&Array.isArray(ct.data))return F(ct.data)}function O(ct){if(ct>=w)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+w.toString(16)+" bytes");return ct|0}function U(ct){return+ct!=ct&&(ct=0),E.alloc(+ct)}E.isBuffer=function(Ve){return Ve!=null&&Ve._isBuffer===!0&&Ve!==E.prototype},E.compare=function(Ve,Qe){if(pt(Ve,Uint8Array)&&(Ve=E.from(Ve,Ve.offset,Ve.byteLength)),pt(Qe,Uint8Array)&&(Qe=E.from(Qe,Qe.offset,Qe.byteLength)),!E.isBuffer(Ve)||!E.isBuffer(Qe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Ve===Qe)return 0;for(var rt=Ve.length,qe=Qe.length,He=0,Ce=Math.min(rt,qe);He<Ce;++He)if(Ve[He]!==Qe[He]){rt=Ve[He],qe=Qe[He];break}return rt<qe?-1:qe<rt?1:0},E.isEncoding=function(Ve){switch(String(Ve).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},E.concat=function(Ve,Qe){if(!Array.isArray(Ve))throw new TypeError('"list" argument must be an Array of Buffers');if(Ve.length===0)return E.alloc(0);var rt;if(Qe===void 0)for(Qe=0,rt=0;rt<Ve.length;++rt)Qe+=Ve[rt].length;var qe=E.allocUnsafe(Qe),He=0;for(rt=0;rt<Ve.length;++rt){var Ce=Ve[rt];if(pt(Ce,Uint8Array))He+Ce.length>qe.length?(E.isBuffer(Ce)||(Ce=E.from(Ce)),Ce.copy(qe,He)):Uint8Array.prototype.set.call(qe,Ce,He);else if(E.isBuffer(Ce))Ce.copy(qe,He);else throw new TypeError('"list" argument must be an Array of Buffers');He+=Ce.length}return qe};function B(ct,Ve){if(E.isBuffer(ct))return ct.length;if(ArrayBuffer.isView(ct)||pt(ct,ArrayBuffer))return ct.byteLength;if(typeof ct!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+b(ct));var Qe=ct.length,rt=arguments.length>2&&arguments[2]===!0;if(!rt&&Qe===0)return 0;for(var qe=!1;;)switch(Ve){case"ascii":case"latin1":case"binary":return Qe;case"utf8":case"utf-8":return We(ct).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qe*2;case"hex":return Qe>>>1;case"base64":return tt(ct).length;default:if(qe)return rt?-1:We(ct).length;Ve=(""+Ve).toLowerCase(),qe=!0}}E.byteLength=B;function Y(ct,Ve,Qe){var rt=!1;if((Ve===void 0||Ve<0)&&(Ve=0),Ve>this.length||((Qe===void 0||Qe>this.length)&&(Qe=this.length),Qe<=0)||(Qe>>>=0,Ve>>>=0,Qe<=Ve))return"";for(ct||(ct="utf8");;)switch(ct){case"hex":return te(this,Ve,Qe);case"utf8":case"utf-8":return he(this,Ve,Qe);case"ascii":return le(this,Ve,Qe);case"latin1":case"binary":return K(this,Ve,Qe);case"base64":return ie(this,Ve,Qe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce(this,Ve,Qe);default:if(rt)throw new TypeError("Unknown encoding: "+ct);ct=(ct+"").toLowerCase(),rt=!0}}E.prototype._isBuffer=!0;function z(ct,Ve,Qe){var rt=ct[Ve];ct[Ve]=ct[Qe],ct[Qe]=rt}E.prototype.swap16=function(){var Ve=this.length;if(Ve%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Qe=0;Qe<Ve;Qe+=2)z(this,Qe,Qe+1);return this},E.prototype.swap32=function(){var Ve=this.length;if(Ve%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Qe=0;Qe<Ve;Qe+=4)z(this,Qe,Qe+3),z(this,Qe+1,Qe+2);return this},E.prototype.swap64=function(){var Ve=this.length;if(Ve%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Qe=0;Qe<Ve;Qe+=8)z(this,Qe,Qe+7),z(this,Qe+1,Qe+6),z(this,Qe+2,Qe+5),z(this,Qe+3,Qe+4);return this},E.prototype.toString=function(){var Ve=this.length;return Ve===0?"":arguments.length===0?he(this,0,Ve):Y.apply(this,arguments)},E.prototype.toLocaleString=E.prototype.toString,E.prototype.equals=function(Ve){if(!E.isBuffer(Ve))throw new TypeError("Argument must be a Buffer");return this===Ve?!0:E.compare(this,Ve)===0},E.prototype.inspect=function(){var Ve="",Qe=h.INSPECT_MAX_BYTES;return Ve=this.toString("hex",0,Qe).replace(/(.{2})/g,"$1 ").trim(),this.length>Qe&&(Ve+=" ... "),"<Buffer "+Ve+">"},C&&(E.prototype[C]=E.prototype.inspect),E.prototype.compare=function(Ve,Qe,rt,qe,He){if(pt(Ve,Uint8Array)&&(Ve=E.from(Ve,Ve.offset,Ve.byteLength)),!E.isBuffer(Ve))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+b(Ve));if(Qe===void 0&&(Qe=0),rt===void 0&&(rt=Ve?Ve.length:0),qe===void 0&&(qe=0),He===void 0&&(He=this.length),Qe<0||rt>Ve.length||qe<0||He>this.length)throw new RangeError("out of range index");if(qe>=He&&Qe>=rt)return 0;if(qe>=He)return-1;if(Qe>=rt)return 1;if(Qe>>>=0,rt>>>=0,qe>>>=0,He>>>=0,this===Ve)return 0;for(var Ce=He-qe,Se=rt-Qe,Le=Math.min(Ce,Se),Ne=this.slice(qe,He),je=Ve.slice(Qe,rt),Je=0;Je<Le;++Je)if(Ne[Je]!==je[Je]){Ce=Ne[Je],Se=je[Je];break}return Ce<Se?-1:Se<Ce?1:0};function V(ct,Ve,Qe,rt,qe){if(ct.length===0)return-1;if(typeof Qe=="string"?(rt=Qe,Qe=0):Qe>2147483647?Qe=2147483647:Qe<-2147483648&&(Qe=-2147483648),Qe=+Qe,vt(Qe)&&(Qe=qe?0:ct.length-1),Qe<0&&(Qe=ct.length+Qe),Qe>=ct.length){if(qe)return-1;Qe=ct.length-1}else if(Qe<0)if(qe)Qe=0;else return-1;if(typeof Ve=="string"&&(Ve=E.from(Ve,rt)),E.isBuffer(Ve))return Ve.length===0?-1:j(ct,Ve,Qe,rt,qe);if(typeof Ve=="number")return Ve=Ve&255,typeof Uint8Array.prototype.indexOf=="function"?qe?Uint8Array.prototype.indexOf.call(ct,Ve,Qe):Uint8Array.prototype.lastIndexOf.call(ct,Ve,Qe):j(ct,[Ve],Qe,rt,qe);throw new TypeError("val must be string, number or Buffer")}function j(ct,Ve,Qe,rt,qe){var He=1,Ce=ct.length,Se=Ve.length;if(rt!==void 0&&(rt=String(rt).toLowerCase(),rt==="ucs2"||rt==="ucs-2"||rt==="utf16le"||rt==="utf-16le")){if(ct.length<2||Ve.length<2)return-1;He=2,Ce/=2,Se/=2,Qe/=2}function Le(Et,wt){return He===1?Et[wt]:Et.readUInt16BE(wt*He)}var Ne;if(qe){var je=-1;for(Ne=Qe;Ne<Ce;Ne++)if(Le(ct,Ne)===Le(Ve,je===-1?0:Ne-je)){if(je===-1&&(je=Ne),Ne-je+1===Se)return je*He}else je!==-1&&(Ne-=Ne-je),je=-1}else for(Qe+Se>Ce&&(Qe=Ce-Se),Ne=Qe;Ne>=0;Ne--){for(var Je=!0,ut=0;ut<Se;ut++)if(Le(ct,Ne+ut)!==Le(Ve,ut)){Je=!1;break}if(Je)return Ne}return-1}E.prototype.includes=function(Ve,Qe,rt){return this.indexOf(Ve,Qe,rt)!==-1},E.prototype.indexOf=function(Ve,Qe,rt){return V(this,Ve,Qe,rt,!0)},E.prototype.lastIndexOf=function(Ve,Qe,rt){return V(this,Ve,Qe,rt,!1)};function G(ct,Ve,Qe,rt){Qe=Number(Qe)||0;var qe=ct.length-Qe;rt?(rt=Number(rt),rt>qe&&(rt=qe)):rt=qe;var He=Ve.length;rt>He/2&&(rt=He/2);var Ce;for(Ce=0;Ce<rt;++Ce){var Se=parseInt(Ve.substr(Ce*2,2),16);if(vt(Se))return Ce;ct[Qe+Ce]=Se}return Ce}function W(ct,Ve,Qe,rt){return et(We(Ve,ct.length-Qe),ct,Qe,rt)}function X(ct,Ve,Qe,rt){return et(lt(Ve),ct,Qe,rt)}function Q(ct,Ve,Qe,rt){return et(tt(Ve),ct,Qe,rt)}function ae(ct,Ve,Qe,rt){return et(ht(Ve,ct.length-Qe),ct,Qe,rt)}E.prototype.write=function(Ve,Qe,rt,qe){if(Qe===void 0)qe="utf8",rt=this.length,Qe=0;else if(rt===void 0&&typeof Qe=="string")qe=Qe,rt=this.length,Qe=0;else if(isFinite(Qe))Qe=Qe>>>0,isFinite(rt)?(rt=rt>>>0,qe===void 0&&(qe="utf8")):(qe=rt,rt=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var He=this.length-Qe;if((rt===void 0||rt>He)&&(rt=He),Ve.length>0&&(rt<0||Qe<0)||Qe>this.length)throw new RangeError("Attempt to write outside buffer bounds");qe||(qe="utf8");for(var Ce=!1;;)switch(qe){case"hex":return G(this,Ve,Qe,rt);case"utf8":case"utf-8":return W(this,Ve,Qe,rt);case"ascii":case"latin1":case"binary":return X(this,Ve,Qe,rt);case"base64":return Q(this,Ve,Qe,rt);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ae(this,Ve,Qe,rt);default:if(Ce)throw new TypeError("Unknown encoding: "+qe);qe=(""+qe).toLowerCase(),Ce=!0}},E.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ie(ct,Ve,Qe){return Ve===0&&Qe===ct.length?x.fromByteArray(ct):x.fromByteArray(ct.slice(Ve,Qe))}function he(ct,Ve,Qe){Qe=Math.min(ct.length,Qe);for(var rt=[],qe=Ve;qe<Qe;){var He=ct[qe],Ce=null,Se=He>239?4:He>223?3:He>191?2:1;if(qe+Se<=Qe){var Le=void 0,Ne=void 0,je=void 0,Je=void 0;switch(Se){case 1:He<128&&(Ce=He);break;case 2:Le=ct[qe+1],(Le&192)===128&&(Je=(He&31)<<6|Le&63,Je>127&&(Ce=Je));break;case 3:Le=ct[qe+1],Ne=ct[qe+2],(Le&192)===128&&(Ne&192)===128&&(Je=(He&15)<<12|(Le&63)<<6|Ne&63,Je>2047&&(Je<55296||Je>57343)&&(Ce=Je));break;case 4:Le=ct[qe+1],Ne=ct[qe+2],je=ct[qe+3],(Le&192)===128&&(Ne&192)===128&&(je&192)===128&&(Je=(He&15)<<18|(Le&63)<<12|(Ne&63)<<6|je&63,Je>65535&&Je<1114112&&(Ce=Je))}}Ce===null?(Ce=65533,Se=1):Ce>65535&&(Ce-=65536,rt.push(Ce>>>10&1023|55296),Ce=56320|Ce&1023),rt.push(Ce),qe+=Se}return Z(rt)}var J=4096;function Z(ct){var Ve=ct.length;if(Ve<=J)return String.fromCharCode.apply(String,ct);for(var Qe="",rt=0;rt<Ve;)Qe+=String.fromCharCode.apply(String,ct.slice(rt,rt+=J));return Qe}function le(ct,Ve,Qe){var rt="";Qe=Math.min(ct.length,Qe);for(var qe=Ve;qe<Qe;++qe)rt+=String.fromCharCode(ct[qe]&127);return rt}function K(ct,Ve,Qe){var rt="";Qe=Math.min(ct.length,Qe);for(var qe=Ve;qe<Qe;++qe)rt+=String.fromCharCode(ct[qe]);return rt}function te(ct,Ve,Qe){var rt=ct.length;(!Ve||Ve<0)&&(Ve=0),(!Qe||Qe<0||Qe>rt)&&(Qe=rt);for(var qe="",He=Ve;He<Qe;++He)qe+=_t[ct[He]];return qe}function ce(ct,Ve,Qe){for(var rt=ct.slice(Ve,Qe),qe="",He=0;He<rt.length-1;He+=2)qe+=String.fromCharCode(rt[He]+rt[He+1]*256);return qe}E.prototype.slice=function(Ve,Qe){var rt=this.length;Ve=~~Ve,Qe=Qe===void 0?rt:~~Qe,Ve<0?(Ve+=rt,Ve<0&&(Ve=0)):Ve>rt&&(Ve=rt),Qe<0?(Qe+=rt,Qe<0&&(Qe=0)):Qe>rt&&(Qe=rt),Qe<Ve&&(Qe=Ve);var qe=this.subarray(Ve,Qe);return Object.setPrototypeOf(qe,E.prototype),qe};function re(ct,Ve,Qe){if(ct%1!==0||ct<0)throw new RangeError("offset is not uint");if(ct+Ve>Qe)throw new RangeError("Trying to access beyond buffer length")}E.prototype.readUintLE=E.prototype.readUIntLE=function(Ve,Qe,rt){Ve=Ve>>>0,Qe=Qe>>>0,rt||re(Ve,Qe,this.length);for(var qe=this[Ve],He=1,Ce=0;++Ce<Qe&&(He*=256);)qe+=this[Ve+Ce]*He;return qe},E.prototype.readUintBE=E.prototype.readUIntBE=function(Ve,Qe,rt){Ve=Ve>>>0,Qe=Qe>>>0,rt||re(Ve,Qe,this.length);for(var qe=this[Ve+--Qe],He=1;Qe>0&&(He*=256);)qe+=this[Ve+--Qe]*He;return qe},E.prototype.readUint8=E.prototype.readUInt8=function(Ve,Qe){return Ve=Ve>>>0,Qe||re(Ve,1,this.length),this[Ve]},E.prototype.readUint16LE=E.prototype.readUInt16LE=function(Ve,Qe){return Ve=Ve>>>0,Qe||re(Ve,2,this.length),this[Ve]|this[Ve+1]<<8},E.prototype.readUint16BE=E.prototype.readUInt16BE=function(Ve,Qe){return Ve=Ve>>>0,Qe||re(Ve,2,this.length),this[Ve]<<8|this[Ve+1]},E.prototype.readUint32LE=E.prototype.readUInt32LE=function(Ve,Qe){return Ve=Ve>>>0,Qe||re(Ve,4,this.length),(this[Ve]|this[Ve+1]<<8|this[Ve+2]<<16)+this[Ve+3]*16777216},E.prototype.readUint32BE=E.prototype.readUInt32BE=function(Ve,Qe){return Ve=Ve>>>0,Qe||re(Ve,4,this.length),this[Ve]*16777216+(this[Ve+1]<<16|this[Ve+2]<<8|this[Ve+3])},E.prototype.readBigUInt64LE=bt(function(Ve){Ve=Ve>>>0,Pe(Ve,"offset");var Qe=this[Ve],rt=this[Ve+7];(Qe===void 0||rt===void 0)&&Ke(Ve,this.length-8);var qe=Qe+this[++Ve]*Math.pow(2,8)+this[++Ve]*Math.pow(2,16)+this[++Ve]*Math.pow(2,24),He=this[++Ve]+this[++Ve]*Math.pow(2,8)+this[++Ve]*Math.pow(2,16)+rt*Math.pow(2,24);return BigInt(qe)+(BigInt(He)<<BigInt(32))}),E.prototype.readBigUInt64BE=bt(function(Ve){Ve=Ve>>>0,Pe(Ve,"offset");var Qe=this[Ve],rt=this[Ve+7];(Qe===void 0||rt===void 0)&&Ke(Ve,this.length-8);var qe=Qe*Math.pow(2,24)+this[++Ve]*Math.pow(2,16)+this[++Ve]*Math.pow(2,8)+this[++Ve],He=this[++Ve]*Math.pow(2,24)+this[++Ve]*Math.pow(2,16)+this[++Ve]*Math.pow(2,8)+rt;return(BigInt(qe)<<BigInt(32))+BigInt(He)}),E.prototype.readIntLE=function(Ve,Qe,rt){Ve=Ve>>>0,Qe=Qe>>>0,rt||re(Ve,Qe,this.length);for(var qe=this[Ve],He=1,Ce=0;++Ce<Qe&&(He*=256);)qe+=this[Ve+Ce]*He;return He*=128,qe>=He&&(qe-=Math.pow(2,8*Qe)),qe},E.prototype.readIntBE=function(Ve,Qe,rt){Ve=Ve>>>0,Qe=Qe>>>0,rt||re(Ve,Qe,this.length);for(var qe=Qe,He=1,Ce=this[Ve+--qe];qe>0&&(He*=256);)Ce+=this[Ve+--qe]*He;return He*=128,Ce>=He&&(Ce-=Math.pow(2,8*Qe)),Ce},E.prototype.readInt8=function(Ve,Qe){return Ve=Ve>>>0,Qe||re(Ve,1,this.length),this[Ve]&128?(255-this[Ve]+1)*-1:this[Ve]},E.prototype.readInt16LE=function(Ve,Qe){Ve=Ve>>>0,Qe||re(Ve,2,this.length);var rt=this[Ve]|this[Ve+1]<<8;return rt&32768?rt|4294901760:rt},E.prototype.readInt16BE=function(Ve,Qe){Ve=Ve>>>0,Qe||re(Ve,2,this.length);var rt=this[Ve+1]|this[Ve]<<8;return rt&32768?rt|4294901760:rt},E.prototype.readInt32LE=function(Ve,Qe){return Ve=Ve>>>0,Qe||re(Ve,4,this.length),this[Ve]|this[Ve+1]<<8|this[Ve+2]<<16|this[Ve+3]<<24},E.prototype.readInt32BE=function(Ve,Qe){return Ve=Ve>>>0,Qe||re(Ve,4,this.length),this[Ve]<<24|this[Ve+1]<<16|this[Ve+2]<<8|this[Ve+3]},E.prototype.readBigInt64LE=bt(function(Ve){Ve=Ve>>>0,Pe(Ve,"offset");var Qe=this[Ve],rt=this[Ve+7];(Qe===void 0||rt===void 0)&&Ke(Ve,this.length-8);var qe=this[Ve+4]+this[Ve+5]*Math.pow(2,8)+this[Ve+6]*Math.pow(2,16)+(rt<<24);return(BigInt(qe)<<BigInt(32))+BigInt(Qe+this[++Ve]*Math.pow(2,8)+this[++Ve]*Math.pow(2,16)+this[++Ve]*Math.pow(2,24))}),E.prototype.readBigInt64BE=bt(function(Ve){Ve=Ve>>>0,Pe(Ve,"offset");var Qe=this[Ve],rt=this[Ve+7];(Qe===void 0||rt===void 0)&&Ke(Ve,this.length-8);var qe=(Qe<<24)+this[++Ve]*Math.pow(2,16)+this[++Ve]*Math.pow(2,8)+this[++Ve];return(BigInt(qe)<<BigInt(32))+BigInt(this[++Ve]*Math.pow(2,24)+this[++Ve]*Math.pow(2,16)+this[++Ve]*Math.pow(2,8)+rt)}),E.prototype.readFloatLE=function(Ve,Qe){return Ve=Ve>>>0,Qe||re(Ve,4,this.length),y.read(this,Ve,!0,23,4)},E.prototype.readFloatBE=function(Ve,Qe){return Ve=Ve>>>0,Qe||re(Ve,4,this.length),y.read(this,Ve,!1,23,4)},E.prototype.readDoubleLE=function(Ve,Qe){return Ve=Ve>>>0,Qe||re(Ve,8,this.length),y.read(this,Ve,!0,52,8)},E.prototype.readDoubleBE=function(Ve,Qe){return Ve=Ve>>>0,Qe||re(Ve,8,this.length),y.read(this,Ve,!1,52,8)};function ee(ct,Ve,Qe,rt,qe,He){if(!E.isBuffer(ct))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ve>qe||Ve<He)throw new RangeError('"value" argument is out of bounds');if(Qe+rt>ct.length)throw new RangeError("Index out of range")}E.prototype.writeUintLE=E.prototype.writeUIntLE=function(Ve,Qe,rt,qe){if(Ve=+Ve,Qe=Qe>>>0,rt=rt>>>0,!qe){var He=Math.pow(2,8*rt)-1;ee(this,Ve,Qe,rt,He,0)}var Ce=1,Se=0;for(this[Qe]=Ve&255;++Se<rt&&(Ce*=256);)this[Qe+Se]=Ve/Ce&255;return Qe+rt},E.prototype.writeUintBE=E.prototype.writeUIntBE=function(Ve,Qe,rt,qe){if(Ve=+Ve,Qe=Qe>>>0,rt=rt>>>0,!qe){var He=Math.pow(2,8*rt)-1;ee(this,Ve,Qe,rt,He,0)}var Ce=rt-1,Se=1;for(this[Qe+Ce]=Ve&255;--Ce>=0&&(Se*=256);)this[Qe+Ce]=Ve/Se&255;return Qe+rt},E.prototype.writeUint8=E.prototype.writeUInt8=function(Ve,Qe,rt){return Ve=+Ve,Qe=Qe>>>0,rt||ee(this,Ve,Qe,1,255,0),this[Qe]=Ve&255,Qe+1},E.prototype.writeUint16LE=E.prototype.writeUInt16LE=function(Ve,Qe,rt){return Ve=+Ve,Qe=Qe>>>0,rt||ee(this,Ve,Qe,2,65535,0),this[Qe]=Ve&255,this[Qe+1]=Ve>>>8,Qe+2},E.prototype.writeUint16BE=E.prototype.writeUInt16BE=function(Ve,Qe,rt){return Ve=+Ve,Qe=Qe>>>0,rt||ee(this,Ve,Qe,2,65535,0),this[Qe]=Ve>>>8,this[Qe+1]=Ve&255,Qe+2},E.prototype.writeUint32LE=E.prototype.writeUInt32LE=function(Ve,Qe,rt){return Ve=+Ve,Qe=Qe>>>0,rt||ee(this,Ve,Qe,4,4294967295,0),this[Qe+3]=Ve>>>24,this[Qe+2]=Ve>>>16,this[Qe+1]=Ve>>>8,this[Qe]=Ve&255,Qe+4},E.prototype.writeUint32BE=E.prototype.writeUInt32BE=function(Ve,Qe,rt){return Ve=+Ve,Qe=Qe>>>0,rt||ee(this,Ve,Qe,4,4294967295,0),this[Qe]=Ve>>>24,this[Qe+1]=Ve>>>16,this[Qe+2]=Ve>>>8,this[Qe+3]=Ve&255,Qe+4};function de(ct,Ve,Qe,rt,qe){be(Ve,rt,qe,ct,Qe,7);var He=Number(Ve&BigInt(4294967295));ct[Qe++]=He,He=He>>8,ct[Qe++]=He,He=He>>8,ct[Qe++]=He,He=He>>8,ct[Qe++]=He;var Ce=Number(Ve>>BigInt(32)&BigInt(4294967295));return ct[Qe++]=Ce,Ce=Ce>>8,ct[Qe++]=Ce,Ce=Ce>>8,ct[Qe++]=Ce,Ce=Ce>>8,ct[Qe++]=Ce,Qe}function oe(ct,Ve,Qe,rt,qe){be(Ve,rt,qe,ct,Qe,7);var He=Number(Ve&BigInt(4294967295));ct[Qe+7]=He,He=He>>8,ct[Qe+6]=He,He=He>>8,ct[Qe+5]=He,He=He>>8,ct[Qe+4]=He;var Ce=Number(Ve>>BigInt(32)&BigInt(4294967295));return ct[Qe+3]=Ce,Ce=Ce>>8,ct[Qe+2]=Ce,Ce=Ce>>8,ct[Qe+1]=Ce,Ce=Ce>>8,ct[Qe]=Ce,Qe+8}E.prototype.writeBigUInt64LE=bt(function(Ve){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return de(this,Ve,Qe,BigInt(0),BigInt("0xffffffffffffffff"))}),E.prototype.writeBigUInt64BE=bt(function(Ve){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return oe(this,Ve,Qe,BigInt(0),BigInt("0xffffffffffffffff"))}),E.prototype.writeIntLE=function(Ve,Qe,rt,qe){if(Ve=+Ve,Qe=Qe>>>0,!qe){var He=Math.pow(2,8*rt-1);ee(this,Ve,Qe,rt,He-1,-He)}var Ce=0,Se=1,Le=0;for(this[Qe]=Ve&255;++Ce<rt&&(Se*=256);)Ve<0&&Le===0&&this[Qe+Ce-1]!==0&&(Le=1),this[Qe+Ce]=(Ve/Se>>0)-Le&255;return Qe+rt},E.prototype.writeIntBE=function(Ve,Qe,rt,qe){if(Ve=+Ve,Qe=Qe>>>0,!qe){var He=Math.pow(2,8*rt-1);ee(this,Ve,Qe,rt,He-1,-He)}var Ce=rt-1,Se=1,Le=0;for(this[Qe+Ce]=Ve&255;--Ce>=0&&(Se*=256);)Ve<0&&Le===0&&this[Qe+Ce+1]!==0&&(Le=1),this[Qe+Ce]=(Ve/Se>>0)-Le&255;return Qe+rt},E.prototype.writeInt8=function(Ve,Qe,rt){return Ve=+Ve,Qe=Qe>>>0,rt||ee(this,Ve,Qe,1,127,-128),Ve<0&&(Ve=255+Ve+1),this[Qe]=Ve&255,Qe+1},E.prototype.writeInt16LE=function(Ve,Qe,rt){return Ve=+Ve,Qe=Qe>>>0,rt||ee(this,Ve,Qe,2,32767,-32768),this[Qe]=Ve&255,this[Qe+1]=Ve>>>8,Qe+2},E.prototype.writeInt16BE=function(Ve,Qe,rt){return Ve=+Ve,Qe=Qe>>>0,rt||ee(this,Ve,Qe,2,32767,-32768),this[Qe]=Ve>>>8,this[Qe+1]=Ve&255,Qe+2},E.prototype.writeInt32LE=function(Ve,Qe,rt){return Ve=+Ve,Qe=Qe>>>0,rt||ee(this,Ve,Qe,4,2147483647,-2147483648),this[Qe]=Ve&255,this[Qe+1]=Ve>>>8,this[Qe+2]=Ve>>>16,this[Qe+3]=Ve>>>24,Qe+4},E.prototype.writeInt32BE=function(Ve,Qe,rt){return Ve=+Ve,Qe=Qe>>>0,rt||ee(this,Ve,Qe,4,2147483647,-2147483648),Ve<0&&(Ve=4294967295+Ve+1),this[Qe]=Ve>>>24,this[Qe+1]=Ve>>>16,this[Qe+2]=Ve>>>8,this[Qe+3]=Ve&255,Qe+4},E.prototype.writeBigInt64LE=bt(function(Ve){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return de(this,Ve,Qe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),E.prototype.writeBigInt64BE=bt(function(Ve){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return oe(this,Ve,Qe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function fe(ct,Ve,Qe,rt,qe,He){if(Qe+rt>ct.length)throw new RangeError("Index out of range");if(Qe<0)throw new RangeError("Index out of range")}function me(ct,Ve,Qe,rt,qe){return Ve=+Ve,Qe=Qe>>>0,qe||fe(ct,Ve,Qe,4),y.write(ct,Ve,Qe,rt,23,4),Qe+4}E.prototype.writeFloatLE=function(Ve,Qe,rt){return me(this,Ve,Qe,!0,rt)},E.prototype.writeFloatBE=function(Ve,Qe,rt){return me(this,Ve,Qe,!1,rt)};function Te(ct,Ve,Qe,rt,qe){return Ve=+Ve,Qe=Qe>>>0,qe||fe(ct,Ve,Qe,8),y.write(ct,Ve,Qe,rt,52,8),Qe+8}E.prototype.writeDoubleLE=function(Ve,Qe,rt){return Te(this,Ve,Qe,!0,rt)},E.prototype.writeDoubleBE=function(Ve,Qe,rt){return Te(this,Ve,Qe,!1,rt)},E.prototype.copy=function(Ve,Qe,rt,qe){if(!E.isBuffer(Ve))throw new TypeError("argument should be a Buffer");if(rt||(rt=0),!qe&&qe!==0&&(qe=this.length),Qe>=Ve.length&&(Qe=Ve.length),Qe||(Qe=0),qe>0&&qe<rt&&(qe=rt),qe===rt||Ve.length===0||this.length===0)return 0;if(Qe<0)throw new RangeError("targetStart out of bounds");if(rt<0||rt>=this.length)throw new RangeError("Index out of range");if(qe<0)throw new RangeError("sourceEnd out of bounds");qe>this.length&&(qe=this.length),Ve.length-Qe<qe-rt&&(qe=Ve.length-Qe+rt);var He=qe-rt;return this===Ve&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(Qe,rt,qe):Uint8Array.prototype.set.call(Ve,this.subarray(rt,qe),Qe),He},E.prototype.fill=function(Ve,Qe,rt,qe){if(typeof Ve=="string"){if(typeof Qe=="string"?(qe=Qe,Qe=0,rt=this.length):typeof rt=="string"&&(qe=rt,rt=this.length),qe!==void 0&&typeof qe!="string")throw new TypeError("encoding must be a string");if(typeof qe=="string"&&!E.isEncoding(qe))throw new TypeError("Unknown encoding: "+qe);if(Ve.length===1){var He=Ve.charCodeAt(0);(qe==="utf8"&&He<128||qe==="latin1")&&(Ve=He)}}else typeof Ve=="number"?Ve=Ve&255:typeof Ve=="boolean"&&(Ve=Number(Ve));if(Qe<0||this.length<Qe||this.length<rt)throw new RangeError("Out of range index");if(rt<=Qe)return this;Qe=Qe>>>0,rt=rt===void 0?this.length:rt>>>0,Ve||(Ve=0);var Ce;if(typeof Ve=="number")for(Ce=Qe;Ce<rt;++Ce)this[Ce]=Ve;else{var Se=E.isBuffer(Ve)?Ve:E.from(Ve,qe),Le=Se.length;if(Le===0)throw new TypeError('The value "'+Ve+'" is invalid for argument "value"');for(Ce=0;Ce<rt-Qe;++Ce)this[Ce+Qe]=Se[Ce%Le]}return this};var we={};function Be(ct,Ve,Qe){we[ct]=function(rt){d(qe,rt);function qe(){var He;return l(this,qe),He=p(this,qe),Object.defineProperty(s(He),"message",{value:Ve.apply(s(He),arguments),writable:!0,configurable:!0}),He.name="".concat(He.name," [").concat(ct,"]"),He.stack,delete He.name,He}return i(qe,[{key:"code",get:function(){return ct},set:function(Ce){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Ce,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ct,"]: ").concat(this.message)}}]),qe}(Qe)}Be("ERR_BUFFER_OUT_OF_BOUNDS",function(ct){return ct?"".concat(ct," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),Be("ERR_INVALID_ARG_TYPE",function(ct,Ve){return'The "'.concat(ct,'" argument must be of type number. Received type ').concat(b(Ve))},TypeError),Be("ERR_OUT_OF_RANGE",function(ct,Ve,Qe){var rt='The value of "'.concat(ct,'" is out of range.'),qe=Qe;return Number.isInteger(Qe)&&Math.abs(Qe)>Math.pow(2,32)?qe=Ae(String(Qe)):typeof Qe=="bigint"&&(qe=String(Qe),(Qe>Math.pow(BigInt(2),BigInt(32))||Qe<-Math.pow(BigInt(2),BigInt(32)))&&(qe=Ae(qe)),qe+="n"),rt+=" It must be ".concat(Ve,". Received ").concat(qe),rt},RangeError);function Ae(ct){for(var Ve="",Qe=ct.length,rt=ct[0]==="-"?1:0;Qe>=rt+4;Qe-=3)Ve="_".concat(ct.slice(Qe-3,Qe)).concat(Ve);return"".concat(ct.slice(0,Qe)).concat(Ve)}function Re(ct,Ve,Qe){Pe(Ve,"offset"),(ct[Ve]===void 0||ct[Ve+Qe]===void 0)&&Ke(Ve,ct.length-(Qe+1))}function be(ct,Ve,Qe,rt,qe,He){if(ct>Qe||ct<Ve){var Ce=typeof Ve=="bigint"?"n":"",Se;throw Ve===0||Ve===BigInt(0)?Se=">= 0".concat(Ce," and < 2").concat(Ce," ** ").concat((He+1)*8).concat(Ce):Se=">= -(2".concat(Ce," ** ").concat((He+1)*8-1).concat(Ce,") and < 2 ** ")+"".concat((He+1)*8-1).concat(Ce),new we.ERR_OUT_OF_RANGE("value",Se,ct)}Re(rt,qe,He)}function Pe(ct,Ve){if(typeof ct!="number")throw new we.ERR_INVALID_ARG_TYPE(Ve,"number",ct)}function Ke(ct,Ve,Qe){throw Math.floor(ct)!==ct?(Pe(ct,Qe),new we.ERR_OUT_OF_RANGE("offset","an integer",ct)):Ve<0?new we.ERR_BUFFER_OUT_OF_BOUNDS:new we.ERR_OUT_OF_RANGE("offset",">= ".concat(0," and <= ").concat(Ve),ct)}var ze=/[^+/0-9A-Za-z-_]/g;function Fe(ct){if(ct=ct.split("=")[0],ct=ct.trim().replace(ze,""),ct.length<2)return"";for(;ct.length%4!==0;)ct=ct+"=";return ct}function We(ct,Ve){Ve=Ve||1/0;for(var Qe,rt=ct.length,qe=null,He=[],Ce=0;Ce<rt;++Ce){if(Qe=ct.charCodeAt(Ce),Qe>55295&&Qe<57344){if(!qe){if(Qe>56319){(Ve-=3)>-1&&He.push(239,191,189);continue}else if(Ce+1===rt){(Ve-=3)>-1&&He.push(239,191,189);continue}qe=Qe;continue}if(Qe<56320){(Ve-=3)>-1&&He.push(239,191,189),qe=Qe;continue}Qe=(qe-55296<<10|Qe-56320)+65536}else qe&&(Ve-=3)>-1&&He.push(239,191,189);if(qe=null,Qe<128){if((Ve-=1)<0)break;He.push(Qe)}else if(Qe<2048){if((Ve-=2)<0)break;He.push(Qe>>6|192,Qe&63|128)}else if(Qe<65536){if((Ve-=3)<0)break;He.push(Qe>>12|224,Qe>>6&63|128,Qe&63|128)}else if(Qe<1114112){if((Ve-=4)<0)break;He.push(Qe>>18|240,Qe>>12&63|128,Qe>>6&63|128,Qe&63|128)}else throw new Error("Invalid code point")}return He}function lt(ct){for(var Ve=[],Qe=0;Qe<ct.length;++Qe)Ve.push(ct.charCodeAt(Qe)&255);return Ve}function ht(ct,Ve){for(var Qe,rt,qe,He=[],Ce=0;Ce<ct.length&&!((Ve-=2)<0);++Ce)Qe=ct.charCodeAt(Ce),rt=Qe>>8,qe=Qe%256,He.push(qe),He.push(rt);return He}function tt(ct){return x.toByteArray(Fe(ct))}function et(ct,Ve,Qe,rt){var qe;for(qe=0;qe<rt&&!(qe+Qe>=Ve.length||qe>=ct.length);++qe)Ve[qe+Qe]=ct[qe];return qe}function pt(ct,Ve){return ct instanceof Ve||ct!=null&&ct.constructor!=null&&ct.constructor.name!=null&&ct.constructor.name===Ve.name}function vt(ct){return ct!==ct}var _t=function(){for(var ct="0123456789abcdef",Ve=new Array(256),Qe=0;Qe<16;++Qe)for(var rt=Qe*16,qe=0;qe<16;++qe)Ve[rt+qe]=ct[Qe]+ct[qe];return Ve}();function bt(ct){return typeof BigInt>"u"?Rt:ct}function Rt(){throw new Error("BigInt not supported")}},25928:function(u){u.exports=v,u.exports.isMobile=v,u.exports.default=v;var h=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,a=/CrOS/,l=/android|ipad|playbook|silk/i;function v(i){i||(i={});var S=i.ua;if(!S&&typeof navigator<"u"&&(S=navigator.userAgent),S&&S.headers&&typeof S.headers["user-agent"]=="string"&&(S=S.headers["user-agent"]),typeof S!="string")return!1;var g=h.test(S)&&!a.test(S)||!!i.tablet&&l.test(S);return!g&&i.tablet&&i.featureDetect&&navigator&&navigator.maxTouchPoints>1&&S.indexOf("Macintosh")!==-1&&S.indexOf("Safari")!==-1&&(g=!0),g}},48932:function(u,h,a){a.r(h),a.d(h,{sankeyCenter:function(){return d},sankeyCircular:function(){return D},sankeyJustify:function(){return s},sankeyLeft:function(){return _},sankeyRight:function(){return c}});var l=a(84706),v=a(34712),i=a(10132),S=a(6688),g=a.n(S);function p(we){return we.target.depth}function _(we){return we.depth}function c(we,Be){return Be-1-we.height}function s(we,Be){return we.sourceLinks.length?we.depth:Be-1}function d(we){return we.targetLinks.length?we.depth:we.sourceLinks.length?(0,l.SY)(we.sourceLinks,p)-1:0}function f(we){return function(){return we}}var b=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(we){return typeof we}:function(we){return we&&typeof Symbol=="function"&&we.constructor===Symbol&&we!==Symbol.prototype?"symbol":typeof we};function x(we,Be){return C(we.source,Be.source)||we.index-Be.index}function y(we,Be){return C(we.target,Be.target)||we.index-Be.index}function C(we,Be){return we.partOfCycle===Be.partOfCycle?we.y0-Be.y0:we.circularLinkType==="top"||Be.circularLinkType==="bottom"?-1:1}function w(we){return we.value}function R(we){return(we.y0+we.y1)/2}function A(we){return R(we.source)}function E(we){return R(we.target)}function k(we){return we.index}function L(we){return we.nodes}function I(we){return we.links}function P(we,Be){var Ae=we.get(Be);if(!Ae)throw new Error("missing: "+Be);return Ae}function M(we,Be){return Be(we)}var F=25,N=10,T=.3;function D(){var we=0,Be=0,Ae=1,Re=1,be=24,Pe,Ke=k,ze=s,Fe=L,We=I,lt=32,ht=2,tt,et=null;function pt(){var rt={nodes:Fe.apply(null,arguments),links:We.apply(null,arguments)};vt(rt),O(rt,Ke,et),_t(rt),ct(rt),U(rt,Ke),Ve(rt,lt,Ke),Qe(rt);for(var qe=4,He=0;He<qe;He++)ee(rt,Re,Ke),de(rt,Re,Ke),te(rt,Be,Re,Ke),ee(rt,Re,Ke),de(rt,Re,Ke);return Te(rt,Be,Re),G(rt,ht,Re,Ke),rt}pt.nodeId=function(rt){return arguments.length?(Ke=typeof rt=="function"?rt:f(rt),pt):Ke},pt.nodeAlign=function(rt){return arguments.length?(ze=typeof rt=="function"?rt:f(rt),pt):ze},pt.nodeWidth=function(rt){return arguments.length?(be=+rt,pt):be},pt.nodePadding=function(rt){return arguments.length?(Pe=+rt,pt):Pe},pt.nodes=function(rt){return arguments.length?(Fe=typeof rt=="function"?rt:f(rt),pt):Fe},pt.links=function(rt){return arguments.length?(We=typeof rt=="function"?rt:f(rt),pt):We},pt.size=function(rt){return arguments.length?(we=Be=0,Ae=+rt[0],Re=+rt[1],pt):[Ae-we,Re-Be]},pt.extent=function(rt){return arguments.length?(we=+rt[0][0],Ae=+rt[1][0],Be=+rt[0][1],Re=+rt[1][1],pt):[[we,Be],[Ae,Re]]},pt.iterations=function(rt){return arguments.length?(lt=+rt,pt):lt},pt.circularLinkGap=function(rt){return arguments.length?(ht=+rt,pt):ht},pt.nodePaddingRatio=function(rt){return arguments.length?(tt=+rt,pt):tt},pt.sortNodes=function(rt){return arguments.length?(et=rt,pt):et},pt.update=function(rt){return U(rt,Ke),Qe(rt),rt.links.forEach(function(qe){qe.circular&&(qe.circularLinkType=qe.y0+qe.y1<Re?"top":"bottom",qe.source.circularLinkType=qe.circularLinkType,qe.target.circularLinkType=qe.circularLinkType)}),ee(rt,Re,Ke,!1),de(rt,Re,Ke),G(rt,ht,Re,Ke),rt};function vt(rt){rt.nodes.forEach(function(He,Ce){He.index=Ce,He.sourceLinks=[],He.targetLinks=[]});var qe=(0,v.kH)(rt.nodes,Ke);return rt.links.forEach(function(He,Ce){He.index=Ce;var Se=He.source,Le=He.target;(typeof Se>"u"?"undefined":b(Se))!=="object"&&(Se=He.source=P(qe,Se)),(typeof Le>"u"?"undefined":b(Le))!=="object"&&(Le=He.target=P(qe,Le)),Se.sourceLinks.push(He),Le.targetLinks.push(He)}),rt}function _t(rt){rt.nodes.forEach(function(qe){qe.partOfCycle=!1,qe.value=Math.max((0,l.oh)(qe.sourceLinks,w),(0,l.oh)(qe.targetLinks,w)),qe.sourceLinks.forEach(function(He){He.circular&&(qe.partOfCycle=!0,qe.circularLinkType=He.circularLinkType)}),qe.targetLinks.forEach(function(He){He.circular&&(qe.partOfCycle=!0,qe.circularLinkType=He.circularLinkType)})})}function bt(rt){var qe=0,He=0,Ce=0,Se=0,Le=(0,l.kv)(rt.nodes,function(Ne){return Ne.column});return rt.links.forEach(function(Ne){Ne.circular&&(Ne.circularLinkType=="top"?qe=qe+Ne.width:He=He+Ne.width,Ne.target.column==0&&(Se=Se+Ne.width),Ne.source.column==Le&&(Ce=Ce+Ne.width))}),qe=qe>0?qe+F+N:qe,He=He>0?He+F+N:He,Ce=Ce>0?Ce+F+N:Ce,Se=Se>0?Se+F+N:Se,{top:qe,bottom:He,left:Se,right:Ce}}function Rt(rt,qe){var He=(0,l.kv)(rt.nodes,function(ut){return ut.column}),Ce=Ae-we,Se=Re-Be,Le=Ce+qe.right+qe.left,Ne=Se+qe.top+qe.bottom,je=Ce/Le,Je=Se/Ne;return we=we*je+qe.left,Ae=qe.right==0?Ae:Ae*je,Be=Be*Je+qe.top,Re=Re*Je,rt.nodes.forEach(function(ut){ut.x0=we+ut.column*((Ae-we-be)/He),ut.x1=ut.x0+be}),Je}function ct(rt){var qe,He,Ce;for(qe=rt.nodes,He=[],Ce=0;qe.length;++Ce,qe=He,He=[])qe.forEach(function(Se){Se.depth=Ce,Se.sourceLinks.forEach(function(Le){He.indexOf(Le.target)<0&&!Le.circular&&He.push(Le.target)})});for(qe=rt.nodes,He=[],Ce=0;qe.length;++Ce,qe=He,He=[])qe.forEach(function(Se){Se.height=Ce,Se.targetLinks.forEach(function(Le){He.indexOf(Le.source)<0&&!Le.circular&&He.push(Le.source)})});rt.nodes.forEach(function(Se){Se.column=Math.floor(ze.call(null,Se,Ce))})}function Ve(rt,qe,He){var Ce=(0,v.UJ)().key(function(ut){return ut.column}).sortKeys(l.XE).entries(rt.nodes).map(function(ut){return ut.values});Ne(He),Je();for(var Se=1,Le=qe;Le>0;--Le)je(Se*=.99,He),Je();function Ne(ut){if(tt){var Et=1/0;Ce.forEach(function(It){var Gt=Re*tt/(It.length+1);Et=Gt<Et?Gt:Et}),Pe=Et}var wt=(0,l.SY)(Ce,function(It){return(Re-Be-(It.length-1)*Pe)/(0,l.oh)(It,w)});wt=wt*T,rt.links.forEach(function(It){It.width=It.value*wt});var nr=bt(rt),ir=Rt(rt,nr);wt=wt*ir,rt.links.forEach(function(It){It.width=It.value*wt}),Ce.forEach(function(It){var Gt=It.length;It.forEach(function(cr,Pr){cr.depth==Ce.length-1&&Gt==1||cr.depth==0&&Gt==1?(cr.y0=Re/2-cr.value*wt,cr.y1=cr.y0+cr.value*wt):cr.partOfCycle?z(cr,ut)==0?(cr.y0=Re/2+Pr,cr.y1=cr.y0+cr.value*wt):cr.circularLinkType=="top"?(cr.y0=Be+Pr,cr.y1=cr.y0+cr.value*wt):(cr.y0=Re-cr.value*wt-Pr,cr.y1=cr.y0+cr.value*wt):nr.top==0||nr.bottom==0?(cr.y0=(Re-Be)/Gt*Pr,cr.y1=cr.y0+cr.value*wt):(cr.y0=(Re-Be)/2-Gt/2+Pr,cr.y1=cr.y0+cr.value*wt)})})}function je(ut,Et){var wt=Ce.length;Ce.forEach(function(nr){var ir=nr.length,It=nr[0].depth;nr.forEach(function(Gt){var cr;if((Gt.sourceLinks.length||Gt.targetLinks.length)&&!(Gt.partOfCycle&&z(Gt,Et)>0))if(It==0&&ir==1)cr=Gt.y1-Gt.y0,Gt.y0=Re/2-cr/2,Gt.y1=Re/2+cr/2;else if(It==wt-1&&ir==1)cr=Gt.y1-Gt.y0,Gt.y0=Re/2-cr/2,Gt.y1=Re/2+cr/2;else{var Pr=0,Ct=(0,l.mo)(Gt.sourceLinks,E),or=(0,l.mo)(Gt.targetLinks,A);Ct&&or?Pr=(Ct+or)/2:Pr=Ct||or;var ur=(Pr-R(Gt))*ut;Gt.y0+=ur,Gt.y1+=ur}})})}function Je(){Ce.forEach(function(ut){var Et,wt,nr=Be,ir=ut.length,It;for(ut.sort(C),It=0;It<ir;++It)Et=ut[It],wt=nr-Et.y0,wt>0&&(Et.y0+=wt,Et.y1+=wt),nr=Et.y1+Pe;if(wt=nr-Pe-Re,wt>0)for(nr=Et.y0-=wt,Et.y1-=wt,It=ir-2;It>=0;--It)Et=ut[It],wt=Et.y1+Pe-nr,wt>0&&(Et.y0-=wt,Et.y1-=wt),nr=Et.y0})}}function Qe(rt){rt.nodes.forEach(function(qe){qe.sourceLinks.sort(y),qe.targetLinks.sort(x)}),rt.nodes.forEach(function(qe){var He=qe.y0,Ce=He,Se=qe.y1,Le=Se;qe.sourceLinks.forEach(function(Ne){Ne.circular?(Ne.y0=Se-Ne.width/2,Se=Se-Ne.width):(Ne.y0=He+Ne.width/2,He+=Ne.width)}),qe.targetLinks.forEach(function(Ne){Ne.circular?(Ne.y1=Le-Ne.width/2,Le=Le-Ne.width):(Ne.y1=Ce+Ne.width/2,Ce+=Ne.width)})})}return pt}function O(we,Be,Ae){var Re=0;if(Ae===null){for(var be=[],Pe=0;Pe<we.links.length;Pe++){var Ke=we.links[Pe],ze=Ke.source.index,Fe=Ke.target.index;be[ze]||(be[ze]=[]),be[Fe]||(be[Fe]=[]),be[ze].indexOf(Fe)===-1&&be[ze].push(Fe)}var We=g()(be);We.sort(function(et,pt){return et.length-pt.length});var lt={};for(Pe=0;Pe<We.length;Pe++){var ht=We[Pe],tt=ht.slice(-2);lt[tt[0]]||(lt[tt[0]]={}),lt[tt[0]][tt[1]]=!0}we.links.forEach(function(et){var pt=et.target.index,vt=et.source.index;pt===vt||lt[vt]&&lt[vt][pt]?(et.circular=!0,et.circularLinkID=Re,Re=Re+1):et.circular=!1})}else we.links.forEach(function(et){et.source[Ae]<et.target[Ae]?et.circular=!1:(et.circular=!0,et.circularLinkID=Re,Re=Re+1)})}function U(we,Be){var Ae=0,Re=0;we.links.forEach(function(be){be.circular&&(be.source.circularLinkType||be.target.circularLinkType?be.circularLinkType=be.source.circularLinkType?be.source.circularLinkType:be.target.circularLinkType:be.circularLinkType=Ae<Re?"top":"bottom",be.circularLinkType=="top"?Ae=Ae+1:Re=Re+1,we.nodes.forEach(function(Pe){(M(Pe,Be)==M(be.source,Be)||M(Pe,Be)==M(be.target,Be))&&(Pe.circularLinkType=be.circularLinkType)}))}),we.links.forEach(function(be){be.circular&&(be.source.circularLinkType==be.target.circularLinkType&&(be.circularLinkType=be.source.circularLinkType),me(be,Be)&&(be.circularLinkType=be.source.circularLinkType))})}function B(we){var Be=Math.abs(we.y1-we.y0),Ae=Math.abs(we.target.x0-we.source.x1);return Math.atan(Ae/Be)}function Y(we,Be){return we.source.column<Be.target.column?!1:!(we.target.column>Be.source.column)}function z(we,Be){var Ae=0;we.sourceLinks.forEach(function(be){Ae=be.circular&&!me(be,Be)?Ae+1:Ae});var Re=0;return we.targetLinks.forEach(function(be){Re=be.circular&&!me(be,Be)?Re+1:Re}),Ae+Re}function V(we){var Be=we.source.sourceLinks,Ae=0;Be.forEach(function(Pe){Ae=Pe.circular?Ae+1:Ae});var Re=we.target.targetLinks,be=0;return Re.forEach(function(Pe){be=Pe.circular?be+1:be}),!(Ae>1||be>1)}function j(we,Be,Ae){return we.sort(X),we.forEach(function(Re,be){var Pe=0;if(me(Re,Ae)&&V(Re))Re.circularPathData.verticalBuffer=Pe+Re.width/2;else{var Ke=0;for(Ke;Ke<be;Ke++)if(Y(we[be],we[Ke])){var ze=we[Ke].circularPathData.verticalBuffer+we[Ke].width/2+Be;Pe=ze>Pe?ze:Pe}Re.circularPathData.verticalBuffer=Pe+Re.width/2}}),we}function G(we,Be,Ae,Re){var be=5,Pe=(0,l.SY)(we.links,function(Fe){return Fe.source.y0});we.links.forEach(function(Fe){Fe.circular&&(Fe.circularPathData={})});var Ke=we.links.filter(function(Fe){return Fe.circularLinkType=="top"});j(Ke,Be,Re);var ze=we.links.filter(function(Fe){return Fe.circularLinkType=="bottom"});j(ze,Be,Re),we.links.forEach(function(Fe){if(Fe.circular){if(Fe.circularPathData.arcRadius=Fe.width+N,Fe.circularPathData.leftNodeBuffer=be,Fe.circularPathData.rightNodeBuffer=be,Fe.circularPathData.sourceWidth=Fe.source.x1-Fe.source.x0,Fe.circularPathData.sourceX=Fe.source.x0+Fe.circularPathData.sourceWidth,Fe.circularPathData.targetX=Fe.target.x0,Fe.circularPathData.sourceY=Fe.y0,Fe.circularPathData.targetY=Fe.y1,me(Fe,Re)&&V(Fe))Fe.circularPathData.leftSmallArcRadius=N+Fe.width/2,Fe.circularPathData.leftLargeArcRadius=N+Fe.width/2,Fe.circularPathData.rightSmallArcRadius=N+Fe.width/2,Fe.circularPathData.rightLargeArcRadius=N+Fe.width/2,Fe.circularLinkType=="bottom"?(Fe.circularPathData.verticalFullExtent=Fe.source.y1+F+Fe.circularPathData.verticalBuffer,Fe.circularPathData.verticalLeftInnerExtent=Fe.circularPathData.verticalFullExtent-Fe.circularPathData.leftLargeArcRadius,Fe.circularPathData.verticalRightInnerExtent=Fe.circularPathData.verticalFullExtent-Fe.circularPathData.rightLargeArcRadius):(Fe.circularPathData.verticalFullExtent=Fe.source.y0-F-Fe.circularPathData.verticalBuffer,Fe.circularPathData.verticalLeftInnerExtent=Fe.circularPathData.verticalFullExtent+Fe.circularPathData.leftLargeArcRadius,Fe.circularPathData.verticalRightInnerExtent=Fe.circularPathData.verticalFullExtent+Fe.circularPathData.rightLargeArcRadius);else{var We=Fe.source.column,lt=Fe.circularLinkType,ht=we.links.filter(function(pt){return pt.source.column==We&&pt.circularLinkType==lt});Fe.circularLinkType=="bottom"?ht.sort(ae):ht.sort(Q);var tt=0;ht.forEach(function(pt,vt){pt.circularLinkID==Fe.circularLinkID&&(Fe.circularPathData.leftSmallArcRadius=N+Fe.width/2+tt,Fe.circularPathData.leftLargeArcRadius=N+Fe.width/2+vt*Be+tt),tt=tt+pt.width}),We=Fe.target.column,ht=we.links.filter(function(pt){return pt.target.column==We&&pt.circularLinkType==lt}),Fe.circularLinkType=="bottom"?ht.sort(he):ht.sort(ie),tt=0,ht.forEach(function(pt,vt){pt.circularLinkID==Fe.circularLinkID&&(Fe.circularPathData.rightSmallArcRadius=N+Fe.width/2+tt,Fe.circularPathData.rightLargeArcRadius=N+Fe.width/2+vt*Be+tt),tt=tt+pt.width}),Fe.circularLinkType=="bottom"?(Fe.circularPathData.verticalFullExtent=Math.max(Ae,Fe.source.y1,Fe.target.y1)+F+Fe.circularPathData.verticalBuffer,Fe.circularPathData.verticalLeftInnerExtent=Fe.circularPathData.verticalFullExtent-Fe.circularPathData.leftLargeArcRadius,Fe.circularPathData.verticalRightInnerExtent=Fe.circularPathData.verticalFullExtent-Fe.circularPathData.rightLargeArcRadius):(Fe.circularPathData.verticalFullExtent=Pe-F-Fe.circularPathData.verticalBuffer,Fe.circularPathData.verticalLeftInnerExtent=Fe.circularPathData.verticalFullExtent+Fe.circularPathData.leftLargeArcRadius,Fe.circularPathData.verticalRightInnerExtent=Fe.circularPathData.verticalFullExtent+Fe.circularPathData.rightLargeArcRadius)}Fe.circularPathData.leftInnerExtent=Fe.circularPathData.sourceX+Fe.circularPathData.leftNodeBuffer,Fe.circularPathData.rightInnerExtent=Fe.circularPathData.targetX-Fe.circularPathData.rightNodeBuffer,Fe.circularPathData.leftFullExtent=Fe.circularPathData.sourceX+Fe.circularPathData.leftLargeArcRadius+Fe.circularPathData.leftNodeBuffer,Fe.circularPathData.rightFullExtent=Fe.circularPathData.targetX-Fe.circularPathData.rightLargeArcRadius-Fe.circularPathData.rightNodeBuffer}if(Fe.circular)Fe.path=W(Fe);else{var et=(0,i.ak)().source(function(pt){var vt=pt.source.x0+(pt.source.x1-pt.source.x0),_t=pt.y0;return[vt,_t]}).target(function(pt){var vt=pt.target.x0,_t=pt.y1;return[vt,_t]});Fe.path=et(Fe)}})}function W(we){var Be="";return we.circularLinkType=="top"?Be="M"+we.circularPathData.sourceX+" "+we.circularPathData.sourceY+" L"+we.circularPathData.leftInnerExtent+" "+we.circularPathData.sourceY+" A"+we.circularPathData.leftLargeArcRadius+" "+we.circularPathData.leftSmallArcRadius+" 0 0 0 "+we.circularPathData.leftFullExtent+" "+(we.circularPathData.sourceY-we.circularPathData.leftSmallArcRadius)+" L"+we.circularPathData.leftFullExtent+" "+we.circularPathData.verticalLeftInnerExtent+" A"+we.circularPathData.leftLargeArcRadius+" "+we.circularPathData.leftLargeArcRadius+" 0 0 0 "+we.circularPathData.leftInnerExtent+" "+we.circularPathData.verticalFullExtent+" L"+we.circularPathData.rightInnerExtent+" "+we.circularPathData.verticalFullExtent+" A"+we.circularPathData.rightLargeArcRadius+" "+we.circularPathData.rightLargeArcRadius+" 0 0 0 "+we.circularPathData.rightFullExtent+" "+we.circularPathData.verticalRightInnerExtent+" L"+we.circularPathData.rightFullExtent+" "+(we.circularPathData.targetY-we.circularPathData.rightSmallArcRadius)+" A"+we.circularPathData.rightLargeArcRadius+" "+we.circularPathData.rightSmallArcRadius+" 0 0 0 "+we.circularPathData.rightInnerExtent+" "+we.circularPathData.targetY+" L"+we.circularPathData.targetX+" "+we.circularPathData.targetY:Be="M"+we.circularPathData.sourceX+" "+we.circularPathData.sourceY+" L"+we.circularPathData.leftInnerExtent+" "+we.circularPathData.sourceY+" A"+we.circularPathData.leftLargeArcRadius+" "+we.circularPathData.leftSmallArcRadius+" 0 0 1 "+we.circularPathData.leftFullExtent+" "+(we.circularPathData.sourceY+we.circularPathData.leftSmallArcRadius)+" L"+we.circularPathData.leftFullExtent+" "+we.circularPathData.verticalLeftInnerExtent+" A"+we.circularPathData.leftLargeArcRadius+" "+we.circularPathData.leftLargeArcRadius+" 0 0 1 "+we.circularPathData.leftInnerExtent+" "+we.circularPathData.verticalFullExtent+" L"+we.circularPathData.rightInnerExtent+" "+we.circularPathData.verticalFullExtent+" A"+we.circularPathData.rightLargeArcRadius+" "+we.circularPathData.rightLargeArcRadius+" 0 0 1 "+we.circularPathData.rightFullExtent+" "+we.circularPathData.verticalRightInnerExtent+" L"+we.circularPathData.rightFullExtent+" "+(we.circularPathData.targetY+we.circularPathData.rightSmallArcRadius)+" A"+we.circularPathData.rightLargeArcRadius+" "+we.circularPathData.rightSmallArcRadius+" 0 0 1 "+we.circularPathData.rightInnerExtent+" "+we.circularPathData.targetY+" L"+we.circularPathData.targetX+" "+we.circularPathData.targetY,Be}function X(we,Be){return J(we)==J(Be)?we.circularLinkType=="bottom"?ae(we,Be):Q(we,Be):J(Be)-J(we)}function Q(we,Be){return we.y0-Be.y0}function ae(we,Be){return Be.y0-we.y0}function ie(we,Be){return we.y1-Be.y1}function he(we,Be){return Be.y1-we.y1}function J(we){return we.target.column-we.source.column}function Z(we){return we.target.x0-we.source.x1}function le(we,Be){var Ae=B(we),Re=Z(Be)/Math.tan(Ae),be=fe(we)=="up"?we.y1+Re:we.y1-Re;return be}function K(we,Be){var Ae=B(we),Re=Z(Be)/Math.tan(Ae),be=fe(we)=="up"?we.y1-Re:we.y1+Re;return be}function te(we,Be,Ae,Re){we.links.forEach(function(be){if(!be.circular&&be.target.column-be.source.column>1){var Pe=be.source.column+1,Ke=be.target.column-1,ze=1,Fe=Ke-Pe+1;for(ze=1;Pe<=Ke;Pe++,ze++)we.nodes.forEach(function(We){if(We.column==Pe){var lt=ze/(Fe+1),ht=Math.pow(1-lt,3),tt=3*lt*Math.pow(1-lt,2),et=3*Math.pow(lt,2)*(1-lt),pt=Math.pow(lt,3),vt=ht*be.y0+tt*be.y0+et*be.y1+pt*be.y1,_t=vt-be.width/2,bt=vt+be.width/2,Rt;_t>We.y0&&_t<We.y1?(Rt=We.y1-_t+10,Rt=We.circularLinkType=="bottom"?Rt:-Rt,We=re(We,Rt,Be,Ae),we.nodes.forEach(function(ct){M(ct,Re)==M(We,Re)||ct.column!=We.column||ce(We,ct)&&re(ct,Rt,Be,Ae)})):bt>We.y0&&bt<We.y1?(Rt=bt-We.y0+10,We=re(We,Rt,Be,Ae),we.nodes.forEach(function(ct){M(ct,Re)==M(We,Re)||ct.column!=We.column||ct.y0<We.y1&&ct.y1>We.y1&&re(ct,Rt,Be,Ae)})):_t<We.y0&&bt>We.y1&&(Rt=bt-We.y0+10,We=re(We,Rt,Be,Ae),we.nodes.forEach(function(ct){M(ct,Re)==M(We,Re)||ct.column!=We.column||ct.y0<We.y1&&ct.y1>We.y1&&re(ct,Rt,Be,Ae)}))}})}})}function ce(we,Be){return we.y0>Be.y0&&we.y0<Be.y1||we.y1>Be.y0&&we.y1<Be.y1?!0:we.y0<Be.y0&&we.y1>Be.y1}function re(we,Be,Ae,Re){return we.y0+Be>=Ae&&we.y1+Be<=Re&&(we.y0=we.y0+Be,we.y1=we.y1+Be,we.targetLinks.forEach(function(be){be.y1=be.y1+Be}),we.sourceLinks.forEach(function(be){be.y0=be.y0+Be})),we}function ee(we,Be,Ae,Re){we.nodes.forEach(function(be){Re&&be.y+(be.y1-be.y0)>Be&&(be.y=be.y-(be.y+(be.y1-be.y0)-Be));var Pe=we.links.filter(function(Fe){return M(Fe.source,Ae)==M(be,Ae)}),Ke=Pe.length;Ke>1&&Pe.sort(function(Fe,We){if(!Fe.circular&&!We.circular){if(Fe.target.column==We.target.column)return Fe.y1-We.y1;if(oe(Fe,We)){if(Fe.target.column>We.target.column){var lt=K(We,Fe);return Fe.y1-lt}if(We.target.column>Fe.target.column){var ht=K(Fe,We);return ht-We.y1}}else return Fe.y1-We.y1}if(Fe.circular&&!We.circular)return Fe.circularLinkType=="top"?-1:1;if(We.circular&&!Fe.circular)return We.circularLinkType=="top"?1:-1;if(Fe.circular&&We.circular)return Fe.circularLinkType===We.circularLinkType&&Fe.circularLinkType=="top"?Fe.target.column===We.target.column?Fe.target.y1-We.target.y1:We.target.column-Fe.target.column:Fe.circularLinkType===We.circularLinkType&&Fe.circularLinkType=="bottom"?Fe.target.column===We.target.column?We.target.y1-Fe.target.y1:Fe.target.column-We.target.column:Fe.circularLinkType=="top"?-1:1});var ze=be.y0;Pe.forEach(function(Fe){Fe.y0=ze+Fe.width/2,ze=ze+Fe.width}),Pe.forEach(function(Fe,We){if(Fe.circularLinkType=="bottom"){var lt=We+1,ht=0;for(lt;lt<Ke;lt++)ht=ht+Pe[lt].width;Fe.y0=be.y1-ht-Fe.width/2}})})}function de(we,Be,Ae){we.nodes.forEach(function(Re){var be=we.links.filter(function(ze){return M(ze.target,Ae)==M(Re,Ae)}),Pe=be.length;Pe>1&&be.sort(function(ze,Fe){if(!ze.circular&&!Fe.circular){if(ze.source.column==Fe.source.column)return ze.y0-Fe.y0;if(oe(ze,Fe)){if(Fe.source.column<ze.source.column){var We=le(Fe,ze);return ze.y0-We}if(ze.source.column<Fe.source.column){var lt=le(ze,Fe);return lt-Fe.y0}}else return ze.y0-Fe.y0}if(ze.circular&&!Fe.circular)return ze.circularLinkType=="top"?-1:1;if(Fe.circular&&!ze.circular)return Fe.circularLinkType=="top"?1:-1;if(ze.circular&&Fe.circular)return ze.circularLinkType===Fe.circularLinkType&&ze.circularLinkType=="top"?ze.source.column===Fe.source.column?ze.source.y1-Fe.source.y1:ze.source.column-Fe.source.column:ze.circularLinkType===Fe.circularLinkType&&ze.circularLinkType=="bottom"?ze.source.column===Fe.source.column?ze.source.y1-Fe.source.y1:Fe.source.column-ze.source.column:ze.circularLinkType=="top"?-1:1});var Ke=Re.y0;be.forEach(function(ze){ze.y1=Ke+ze.width/2,Ke=Ke+ze.width}),be.forEach(function(ze,Fe){if(ze.circularLinkType=="bottom"){var We=Fe+1,lt=0;for(We;We<Pe;We++)lt=lt+be[We].width;ze.y1=Re.y1-lt-ze.width/2}})})}function oe(we,Be){return fe(we)==fe(Be)}function fe(we){return we.y0-we.y1>0?"up":"down"}function me(we,Be){return M(we.source,Be)==M(we.target,Be)}function Te(we,Be,Ae){var Re=we.nodes,be=we.links,Pe=!1,Ke=!1;if(be.forEach(function(tt){tt.circularLinkType=="top"?Pe=!0:tt.circularLinkType=="bottom"&&(Ke=!0)}),Pe==!1||Ke==!1){var ze=(0,l.SY)(Re,function(tt){return tt.y0}),Fe=(0,l.kv)(Re,function(tt){return tt.y1}),We=Fe-ze,lt=Ae-Be,ht=lt/We;Re.forEach(function(tt){var et=(tt.y1-tt.y0)*ht;tt.y0=(tt.y0-ze)*ht,tt.y1=tt.y0+et}),be.forEach(function(tt){tt.y0=(tt.y0-ze)*ht,tt.y1=(tt.y1-ze)*ht,tt.width=tt.width*ht})}}},26800:function(u,h,a){a.r(h),a.d(h,{sankey:function(){return k},sankeyCenter:function(){return _},sankeyJustify:function(){return p},sankeyLeft:function(){return S},sankeyLinkHorizontal:function(){return M},sankeyRight:function(){return g}});var l=a(84706),v=a(34712);function i(F){return F.target.depth}function S(F){return F.depth}function g(F,N){return N-1-F.height}function p(F,N){return F.sourceLinks.length?F.depth:N-1}function _(F){return F.targetLinks.length?F.depth:F.sourceLinks.length?(0,l.SY)(F.sourceLinks,i)-1:0}function c(F){return function(){return F}}function s(F,N){return f(F.source,N.source)||F.index-N.index}function d(F,N){return f(F.target,N.target)||F.index-N.index}function f(F,N){return F.y0-N.y0}function b(F){return F.value}function x(F){return(F.y0+F.y1)/2}function y(F){return x(F.source)*F.value}function C(F){return x(F.target)*F.value}function w(F){return F.index}function R(F){return F.nodes}function A(F){return F.links}function E(F,N){var T=F.get(N);if(!T)throw new Error("missing: "+N);return T}function k(){var F=0,N=0,T=1,D=1,O=24,U=8,B=w,Y=p,z=R,V=A,j=32,G=2/3;function W(){var J={nodes:z.apply(null,arguments),links:V.apply(null,arguments)};return X(J),Q(J),ae(J),ie(J),he(J),J}W.update=function(J){return he(J),J},W.nodeId=function(J){return arguments.length?(B=typeof J=="function"?J:c(J),W):B},W.nodeAlign=function(J){return arguments.length?(Y=typeof J=="function"?J:c(J),W):Y},W.nodeWidth=function(J){return arguments.length?(O=+J,W):O},W.nodePadding=function(J){return arguments.length?(U=+J,W):U},W.nodes=function(J){return arguments.length?(z=typeof J=="function"?J:c(J),W):z},W.links=function(J){return arguments.length?(V=typeof J=="function"?J:c(J),W):V},W.size=function(J){return arguments.length?(F=N=0,T=+J[0],D=+J[1],W):[T-F,D-N]},W.extent=function(J){return arguments.length?(F=+J[0][0],T=+J[1][0],N=+J[0][1],D=+J[1][1],W):[[F,N],[T,D]]},W.iterations=function(J){return arguments.length?(j=+J,W):j};function X(J){J.nodes.forEach(function(le,K){le.index=K,le.sourceLinks=[],le.targetLinks=[]});var Z=(0,v.kH)(J.nodes,B);J.links.forEach(function(le,K){le.index=K;var te=le.source,ce=le.target;typeof te!="object"&&(te=le.source=E(Z,te)),typeof ce!="object"&&(ce=le.target=E(Z,ce)),te.sourceLinks.push(le),ce.targetLinks.push(le)})}function Q(J){J.nodes.forEach(function(Z){Z.value=Math.max((0,l.oh)(Z.sourceLinks,b),(0,l.oh)(Z.targetLinks,b))})}function ae(J){var Z,le,K;for(Z=J.nodes,le=[],K=0;Z.length;++K,Z=le,le=[])Z.forEach(function(ce){ce.depth=K,ce.sourceLinks.forEach(function(re){le.indexOf(re.target)<0&&le.push(re.target)})});for(Z=J.nodes,le=[],K=0;Z.length;++K,Z=le,le=[])Z.forEach(function(ce){ce.height=K,ce.targetLinks.forEach(function(re){le.indexOf(re.source)<0&&le.push(re.source)})});var te=(T-F-O)/(K-1);J.nodes.forEach(function(ce){ce.x1=(ce.x0=F+Math.max(0,Math.min(K-1,Math.floor(Y.call(null,ce,K))))*te)+O})}function ie(J){var Z=(0,v.UJ)().key(function(de){return de.x0}).sortKeys(l.XE).entries(J.nodes).map(function(de){return de.values});te(),ee();for(var le=1,K=j;K>0;--K)re(le*=.99),ee(),ce(le),ee();function te(){var de=(0,l.kv)(Z,function(me){return me.length}),oe=G*(D-N)/(de-1);U>oe&&(U=oe);var fe=(0,l.SY)(Z,function(me){return(D-N-(me.length-1)*U)/(0,l.oh)(me,b)});Z.forEach(function(me){me.forEach(function(Te,we){Te.y1=(Te.y0=we)+Te.value*fe})}),J.links.forEach(function(me){me.width=me.value*fe})}function ce(de){Z.forEach(function(oe){oe.forEach(function(fe){if(fe.targetLinks.length){var me=((0,l.oh)(fe.targetLinks,y)/(0,l.oh)(fe.targetLinks,b)-x(fe))*de;fe.y0+=me,fe.y1+=me}})})}function re(de){Z.slice().reverse().forEach(function(oe){oe.forEach(function(fe){if(fe.sourceLinks.length){var me=((0,l.oh)(fe.sourceLinks,C)/(0,l.oh)(fe.sourceLinks,b)-x(fe))*de;fe.y0+=me,fe.y1+=me}})})}function ee(){Z.forEach(function(de){var oe,fe,me=N,Te=de.length,we;for(de.sort(f),we=0;we<Te;++we)oe=de[we],fe=me-oe.y0,fe>0&&(oe.y0+=fe,oe.y1+=fe),me=oe.y1+U;if(fe=me-U-D,fe>0)for(me=oe.y0-=fe,oe.y1-=fe,we=Te-2;we>=0;--we)oe=de[we],fe=oe.y1+U-me,fe>0&&(oe.y0-=fe,oe.y1-=fe),me=oe.y0})}}function he(J){J.nodes.forEach(function(Z){Z.sourceLinks.sort(d),Z.targetLinks.sort(s)}),J.nodes.forEach(function(Z){var le=Z.y0,K=le;Z.sourceLinks.forEach(function(te){te.y0=le+te.width/2,le+=te.width}),Z.targetLinks.forEach(function(te){te.y1=K+te.width/2,K+=te.width})})}return W}var L=a(10132);function I(F){return[F.source.x1,F.y0]}function P(F){return[F.target.x0,F.y1]}function M(){return(0,L.ak)().source(I).target(P)}},33428:function(u,h,a){var l,v;(function(){var i={version:"3.8.0"},S=[].slice,g=function(ve){return S.call(ve)},p=self.document;function _(ve){return ve&&(ve.ownerDocument||ve.document||ve).documentElement}function c(ve){return ve&&(ve.ownerDocument&&ve.ownerDocument.defaultView||ve.document&&ve||ve.defaultView)}if(p)try{g(p.documentElement.childNodes)[0].nodeType}catch{g=function(De){for(var Ye=De.length,ot=new Array(Ye);Ye--;)ot[Ye]=De[Ye];return ot}}if(Date.now||(Date.now=function(){return+new Date}),p)try{p.createElement("DIV").style.setProperty("opacity",0,"")}catch{var s=this.Element.prototype,d=s.setAttribute,f=s.setAttributeNS,b=this.CSSStyleDeclaration.prototype,x=b.setProperty;s.setAttribute=function(De,Ye){d.call(this,De,Ye+"")},s.setAttributeNS=function(De,Ye,ot){f.call(this,De,Ye,ot+"")},b.setProperty=function(De,Ye,ot){x.call(this,De,Ye+"",ot)}}i.ascending=y;function y(ve,De){return ve<De?-1:ve>De?1:ve>=De?0:NaN}i.descending=function(ve,De){return De<ve?-1:De>ve?1:De>=ve?0:NaN},i.min=function(ve,De){var Ye=-1,ot=ve.length,dt,gt;if(arguments.length===1){for(;++Ye<ot;)if((gt=ve[Ye])!=null&&gt>=gt){dt=gt;break}for(;++Ye<ot;)(gt=ve[Ye])!=null&&dt>gt&&(dt=gt)}else{for(;++Ye<ot;)if((gt=De.call(ve,ve[Ye],Ye))!=null&&gt>=gt){dt=gt;break}for(;++Ye<ot;)(gt=De.call(ve,ve[Ye],Ye))!=null&&dt>gt&&(dt=gt)}return dt},i.max=function(ve,De){var Ye=-1,ot=ve.length,dt,gt;if(arguments.length===1){for(;++Ye<ot;)if((gt=ve[Ye])!=null&&gt>=gt){dt=gt;break}for(;++Ye<ot;)(gt=ve[Ye])!=null&&gt>dt&&(dt=gt)}else{for(;++Ye<ot;)if((gt=De.call(ve,ve[Ye],Ye))!=null&&gt>=gt){dt=gt;break}for(;++Ye<ot;)(gt=De.call(ve,ve[Ye],Ye))!=null&&gt>dt&&(dt=gt)}return dt},i.extent=function(ve,De){var Ye=-1,ot=ve.length,dt,gt,Bt;if(arguments.length===1){for(;++Ye<ot;)if((gt=ve[Ye])!=null&&gt>=gt){dt=Bt=gt;break}for(;++Ye<ot;)(gt=ve[Ye])!=null&&(dt>gt&&(dt=gt),Bt<gt&&(Bt=gt))}else{for(;++Ye<ot;)if((gt=De.call(ve,ve[Ye],Ye))!=null&&gt>=gt){dt=Bt=gt;break}for(;++Ye<ot;)(gt=De.call(ve,ve[Ye],Ye))!=null&&(dt>gt&&(dt=gt),Bt<gt&&(Bt=gt))}return[dt,Bt]};function C(ve){return ve===null?NaN:+ve}function w(ve){return!isNaN(ve)}i.sum=function(ve,De){var Ye=0,ot=ve.length,dt,gt=-1;if(arguments.length===1)for(;++gt<ot;)w(dt=+ve[gt])&&(Ye+=dt);else for(;++gt<ot;)w(dt=+De.call(ve,ve[gt],gt))&&(Ye+=dt);return Ye},i.mean=function(ve,De){var Ye=0,ot=ve.length,dt,gt=-1,Bt=ot;if(arguments.length===1)for(;++gt<ot;)w(dt=C(ve[gt]))?Ye+=dt:--Bt;else for(;++gt<ot;)w(dt=C(De.call(ve,ve[gt],gt)))?Ye+=dt:--Bt;if(Bt)return Ye/Bt},i.quantile=function(ve,De){var Ye=(ve.length-1)*De+1,ot=Math.floor(Ye),dt=+ve[ot-1],gt=Ye-ot;return gt?dt+gt*(ve[ot]-dt):dt},i.median=function(ve,De){var Ye=[],ot=ve.length,dt,gt=-1;if(arguments.length===1)for(;++gt<ot;)w(dt=C(ve[gt]))&&Ye.push(dt);else for(;++gt<ot;)w(dt=C(De.call(ve,ve[gt],gt)))&&Ye.push(dt);if(Ye.length)return i.quantile(Ye.sort(y),.5)},i.variance=function(ve,De){var Ye=ve.length,ot=0,dt,gt,Bt=0,Lt=-1,er=0;if(arguments.length===1)for(;++Lt<Ye;)w(dt=C(ve[Lt]))&&(gt=dt-ot,ot+=gt/++er,Bt+=gt*(dt-ot));else for(;++Lt<Ye;)w(dt=C(De.call(ve,ve[Lt],Lt)))&&(gt=dt-ot,ot+=gt/++er,Bt+=gt*(dt-ot));if(er>1)return Bt/(er-1)},i.deviation=function(){var ve=i.variance.apply(this,arguments);return ve&&Math.sqrt(ve)};function R(ve){return{left:function(De,Ye,ot,dt){for(arguments.length<3&&(ot=0),arguments.length<4&&(dt=De.length);ot<dt;){var gt=ot+dt>>>1;ve(De[gt],Ye)<0?ot=gt+1:dt=gt}return ot},right:function(De,Ye,ot,dt){for(arguments.length<3&&(ot=0),arguments.length<4&&(dt=De.length);ot<dt;){var gt=ot+dt>>>1;ve(De[gt],Ye)>0?dt=gt:ot=gt+1}return ot}}}var A=R(y);i.bisectLeft=A.left,i.bisect=i.bisectRight=A.right,i.bisector=function(ve){return R(ve.length===1?function(De,Ye){return y(ve(De),Ye)}:ve)},i.shuffle=function(ve,De,Ye){(ot=arguments.length)<3&&(Ye=ve.length,ot<2&&(De=0));for(var ot=Ye-De,dt,gt;ot;)gt=Math.random()*ot--|0,dt=ve[ot+De],ve[ot+De]=ve[gt+De],ve[gt+De]=dt;return ve},i.permute=function(ve,De){for(var Ye=De.length,ot=new Array(Ye);Ye--;)ot[Ye]=ve[De[Ye]];return ot},i.pairs=function(ve){for(var De=0,Ye=ve.length-1,ot=ve[0],dt=new Array(Ye<0?0:Ye);De<Ye;)dt[De]=[ot,ot=ve[++De]];return dt},i.transpose=function(ve){if(!(gt=ve.length))return[];for(var De=-1,Ye=i.min(ve,E),ot=new Array(Ye);++De<Ye;)for(var dt=-1,gt,Bt=ot[De]=new Array(gt);++dt<gt;)Bt[dt]=ve[dt][De];return ot};function E(ve){return ve.length}i.zip=function(){return i.transpose(arguments)},i.keys=function(ve){var De=[];for(var Ye in ve)De.push(Ye);return De},i.values=function(ve){var De=[];for(var Ye in ve)De.push(ve[Ye]);return De},i.entries=function(ve){var De=[];for(var Ye in ve)De.push({key:Ye,value:ve[Ye]});return De},i.merge=function(ve){for(var De=ve.length,Ye,ot=-1,dt=0,gt,Bt;++ot<De;)dt+=ve[ot].length;for(gt=new Array(dt);--De>=0;)for(Bt=ve[De],Ye=Bt.length;--Ye>=0;)gt[--dt]=Bt[Ye];return gt};var k=Math.abs;i.range=function(ve,De,Ye){if(arguments.length<3&&(Ye=1,arguments.length<2&&(De=ve,ve=0)),(De-ve)/Ye===1/0)throw new Error("infinite range");var ot=[],dt=L(k(Ye)),gt=-1,Bt;if(ve*=dt,De*=dt,Ye*=dt,Ye<0)for(;(Bt=ve+Ye*++gt)>De;)ot.push(Bt/dt);else for(;(Bt=ve+Ye*++gt)<De;)ot.push(Bt/dt);return ot};function L(ve){for(var De=1;ve*De%1;)De*=10;return De}function I(ve,De){for(var Ye in De)Object.defineProperty(ve.prototype,Ye,{value:De[Ye],enumerable:!1})}i.map=function(ve,De){var Ye=new P;if(ve instanceof P)ve.forEach(function(Lt,er){Ye.set(Lt,er)});else if(Array.isArray(ve)){var ot=-1,dt=ve.length,gt;if(arguments.length===1)for(;++ot<dt;)Ye.set(ot,ve[ot]);else for(;++ot<dt;)Ye.set(De.call(ve,gt=ve[ot],ot),gt)}else for(var Bt in ve)Ye.set(Bt,ve[Bt]);return Ye};function P(){this._=Object.create(null)}var M="__proto__",F="\0";I(P,{has:D,get:function(ve){return this._[N(ve)]},set:function(ve,De){return this._[N(ve)]=De},remove:O,keys:U,values:function(){var ve=[];for(var De in this._)ve.push(this._[De]);return ve},entries:function(){var ve=[];for(var De in this._)ve.push({key:T(De),value:this._[De]});return ve},size:B,empty:Y,forEach:function(ve){for(var De in this._)ve.call(this,T(De),this._[De])}});function N(ve){return(ve+="")===M||ve[0]===F?F+ve:ve}function T(ve){return(ve+="")[0]===F?ve.slice(1):ve}function D(ve){return N(ve)in this._}function O(ve){return(ve=N(ve))in this._&&delete this._[ve]}function U(){var ve=[];for(var De in this._)ve.push(T(De));return ve}function B(){var ve=0;for(var De in this._)++ve;return ve}function Y(){for(var ve in this._)return!1;return!0}i.nest=function(){var ve={},De=[],Ye=[],ot,dt;function gt(Lt,er,tr){if(tr>=De.length)return dt?dt.call(ve,er):ot?er.sort(ot):er;for(var hr=-1,Vr=er.length,Gr=De[tr++],En,In,qr,nn=new P,gn;++hr<Vr;)(gn=nn.get(En=Gr(In=er[hr])))?gn.push(In):nn.set(En,[In]);return Lt?(In=Lt(),qr=function(On,Un){In.set(On,gt(Lt,Un,tr))}):(In={},qr=function(On,Un){In[On]=gt(Lt,Un,tr)}),nn.forEach(qr),In}function Bt(Lt,er){if(er>=De.length)return Lt;var tr=[],hr=Ye[er++];return Lt.forEach(function(Vr,Gr){tr.push({key:Vr,values:Bt(Gr,er)})}),hr?tr.sort(function(Vr,Gr){return hr(Vr.key,Gr.key)}):tr}return ve.map=function(Lt,er){return gt(er,Lt,0)},ve.entries=function(Lt){return Bt(gt(i.map,Lt,0),0)},ve.key=function(Lt){return De.push(Lt),ve},ve.sortKeys=function(Lt){return Ye[De.length-1]=Lt,ve},ve.sortValues=function(Lt){return ot=Lt,ve},ve.rollup=function(Lt){return dt=Lt,ve},ve},i.set=function(ve){var De=new z;if(ve)for(var Ye=0,ot=ve.length;Ye<ot;++Ye)De.add(ve[Ye]);return De};function z(){this._=Object.create(null)}I(z,{has:D,add:function(ve){return this._[N(ve+="")]=!0,ve},remove:O,values:U,size:B,empty:Y,forEach:function(ve){for(var De in this._)ve.call(this,T(De))}}),i.behavior={};function V(ve){return ve}i.rebind=function(ve,De){for(var Ye=1,ot=arguments.length,dt;++Ye<ot;)ve[dt=arguments[Ye]]=j(ve,De,De[dt]);return ve};function j(ve,De,Ye){return function(){var ot=Ye.apply(De,arguments);return ot===De?ve:ot}}function G(ve,De){if(De in ve)return De;De=De.charAt(0).toUpperCase()+De.slice(1);for(var Ye=0,ot=W.length;Ye<ot;++Ye){var dt=W[Ye]+De;if(dt in ve)return dt}}var W=["webkit","ms","moz","Moz","o","O"];function X(){}i.dispatch=function(){for(var ve=new Q,De=-1,Ye=arguments.length;++De<Ye;)ve[arguments[De]]=ae(ve);return ve};function Q(){}Q.prototype.on=function(ve,De){var Ye=ve.indexOf("."),ot="";if(Ye>=0&&(ot=ve.slice(Ye+1),ve=ve.slice(0,Ye)),ve)return arguments.length<2?this[ve].on(ot):this[ve].on(ot,De);if(arguments.length===2){if(De==null)for(ve in this)this.hasOwnProperty(ve)&&this[ve].on(ot,null);return this}};function ae(ve){var De=[],Ye=new P;function ot(){for(var dt=De,gt=-1,Bt=dt.length,Lt;++gt<Bt;)(Lt=dt[gt].on)&&Lt.apply(this,arguments);return ve}return ot.on=function(dt,gt){var Bt=Ye.get(dt),Lt;return arguments.length<2?Bt&&Bt.on:(Bt&&(Bt.on=null,De=De.slice(0,Lt=De.indexOf(Bt)).concat(De.slice(Lt+1)),Ye.remove(dt)),gt&&De.push(Ye.set(dt,{on:gt})),ve)},ot}i.event=null;function ie(){i.event.preventDefault()}function he(){for(var ve=i.event,De;De=ve.sourceEvent;)ve=De;return ve}function J(ve){for(var De=new Q,Ye=0,ot=arguments.length;++Ye<ot;)De[arguments[Ye]]=ae(De);return De.of=function(dt,gt){return function(Bt){try{var Lt=Bt.sourceEvent=i.event;Bt.target=ve,i.event=Bt,De[Bt.type].apply(dt,gt)}finally{i.event=Lt}}},De}i.requote=function(ve){return ve.replace(Z,"\\$&")};var Z=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,le={}.__proto__?function(ve,De){ve.__proto__=De}:function(ve,De){for(var Ye in De)ve[Ye]=De[Ye]};function K(ve){return le(ve,ee),ve}var te=function(ve,De){return De.querySelector(ve)},ce=function(ve,De){return De.querySelectorAll(ve)},re=function(ve,De){var Ye=ve.matches||ve[G(ve,"matchesSelector")];return re=function(ot,dt){return Ye.call(ot,dt)},re(ve,De)};typeof Sizzle=="function"&&(te=function(ve,De){return Sizzle(ve,De)[0]||null},ce=Sizzle,re=Sizzle.matchesSelector),i.selection=function(){return i.select(p.documentElement)};var ee=i.selection.prototype=[];ee.select=function(ve){var De=[],Ye,ot,dt,gt;ve=de(ve);for(var Bt=-1,Lt=this.length;++Bt<Lt;){De.push(Ye=[]),Ye.parentNode=(dt=this[Bt]).parentNode;for(var er=-1,tr=dt.length;++er<tr;)(gt=dt[er])?(Ye.push(ot=ve.call(gt,gt.__data__,er,Bt)),ot&&"__data__"in gt&&(ot.__data__=gt.__data__)):Ye.push(null)}return K(De)};function de(ve){return typeof ve=="function"?ve:function(){return te(ve,this)}}ee.selectAll=function(ve){var De=[],Ye,ot;ve=oe(ve);for(var dt=-1,gt=this.length;++dt<gt;)for(var Bt=this[dt],Lt=-1,er=Bt.length;++Lt<er;)(ot=Bt[Lt])&&(De.push(Ye=g(ve.call(ot,ot.__data__,Lt,dt))),Ye.parentNode=ot);return K(De)};function oe(ve){return typeof ve=="function"?ve:function(){return ce(ve,this)}}var fe="http://www.w3.org/1999/xhtml",me={svg:"http://www.w3.org/2000/svg",xhtml:fe,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};i.ns={prefix:me,qualify:function(ve){var De=ve.indexOf(":"),Ye=ve;return De>=0&&(Ye=ve.slice(0,De))!=="xmlns"&&(ve=ve.slice(De+1)),me.hasOwnProperty(Ye)?{space:me[Ye],local:ve}:ve}},ee.attr=function(ve,De){if(arguments.length<2){if(typeof ve=="string"){var Ye=this.node();return ve=i.ns.qualify(ve),ve.local?Ye.getAttributeNS(ve.space,ve.local):Ye.getAttribute(ve)}for(De in ve)this.each(Te(De,ve[De]));return this}return this.each(Te(ve,De))};function Te(ve,De){ve=i.ns.qualify(ve);function Ye(){this.removeAttribute(ve)}function ot(){this.removeAttributeNS(ve.space,ve.local)}function dt(){this.setAttribute(ve,De)}function gt(){this.setAttributeNS(ve.space,ve.local,De)}function Bt(){var er=De.apply(this,arguments);er==null?this.removeAttribute(ve):this.setAttribute(ve,er)}function Lt(){var er=De.apply(this,arguments);er==null?this.removeAttributeNS(ve.space,ve.local):this.setAttributeNS(ve.space,ve.local,er)}return De==null?ve.local?ot:Ye:typeof De=="function"?ve.local?Lt:Bt:ve.local?gt:dt}function we(ve){return ve.trim().replace(/\s+/g," ")}ee.classed=function(ve,De){if(arguments.length<2){if(typeof ve=="string"){var Ye=this.node(),ot=(ve=Ae(ve)).length,dt=-1;if(De=Ye.classList){for(;++dt<ot;)if(!De.contains(ve[dt]))return!1}else for(De=Ye.getAttribute("class");++dt<ot;)if(!Be(ve[dt]).test(De))return!1;return!0}for(De in ve)this.each(Re(De,ve[De]));return this}return this.each(Re(ve,De))};function Be(ve){return new RegExp("(?:^|\\s+)"+i.requote(ve)+"(?:\\s+|$)","g")}function Ae(ve){return(ve+"").trim().split(/^|\s+/)}function Re(ve,De){ve=Ae(ve).map(be);var Ye=ve.length;function ot(){for(var gt=-1;++gt<Ye;)ve[gt](this,De)}function dt(){for(var gt=-1,Bt=De.apply(this,arguments);++gt<Ye;)ve[gt](this,Bt)}return typeof De=="function"?dt:ot}function be(ve){var De=Be(ve);return function(Ye,ot){if(dt=Ye.classList)return ot?dt.add(ve):dt.remove(ve);var dt=Ye.getAttribute("class")||"";ot?(De.lastIndex=0,De.test(dt)||Ye.setAttribute("class",we(dt+" "+ve))):Ye.setAttribute("class",we(dt.replace(De," ")))}}ee.style=function(ve,De,Ye){var ot=arguments.length;if(ot<3){if(typeof ve!="string"){ot<2&&(De="");for(Ye in ve)this.each(Pe(Ye,ve[Ye],De));return this}if(ot<2){var dt=this.node();return c(dt).getComputedStyle(dt,null).getPropertyValue(ve)}Ye=""}return this.each(Pe(ve,De,Ye))};function Pe(ve,De,Ye){function ot(){this.style.removeProperty(ve)}function dt(){this.style.setProperty(ve,De,Ye)}function gt(){var Bt=De.apply(this,arguments);Bt==null?this.style.removeProperty(ve):this.style.setProperty(ve,Bt,Ye)}return De==null?ot:typeof De=="function"?gt:dt}ee.property=function(ve,De){if(arguments.length<2){if(typeof ve=="string")return this.node()[ve];for(De in ve)this.each(Ke(De,ve[De]));return this}return this.each(Ke(ve,De))};function Ke(ve,De){function Ye(){delete this[ve]}function ot(){this[ve]=De}function dt(){var gt=De.apply(this,arguments);gt==null?delete this[ve]:this[ve]=gt}return De==null?Ye:typeof De=="function"?dt:ot}ee.text=function(ve){return arguments.length?this.each(typeof ve=="function"?function(){var De=ve.apply(this,arguments);this.textContent=De??""}:ve==null?function(){this.textContent=""}:function(){this.textContent=ve}):this.node().textContent},ee.html=function(ve){return arguments.length?this.each(typeof ve=="function"?function(){var De=ve.apply(this,arguments);this.innerHTML=De??""}:ve==null?function(){this.innerHTML=""}:function(){this.innerHTML=ve}):this.node().innerHTML},ee.append=function(ve){return ve=ze(ve),this.select(function(){return this.appendChild(ve.apply(this,arguments))})};function ze(ve){function De(){var ot=this.ownerDocument,dt=this.namespaceURI;return dt===fe&&ot.documentElement.namespaceURI===fe?ot.createElement(ve):ot.createElementNS(dt,ve)}function Ye(){return this.ownerDocument.createElementNS(ve.space,ve.local)}return typeof ve=="function"?ve:(ve=i.ns.qualify(ve)).local?Ye:De}ee.insert=function(ve,De){return ve=ze(ve),De=de(De),this.select(function(){return this.insertBefore(ve.apply(this,arguments),De.apply(this,arguments)||null)})},ee.remove=function(){return this.each(Fe)};function Fe(){var ve=this.parentNode;ve&&ve.removeChild(this)}ee.data=function(ve,De){var Ye=-1,ot=this.length,dt,gt;if(!arguments.length){for(ve=new Array(ot=(dt=this[0]).length);++Ye<ot;)(gt=dt[Ye])&&(ve[Ye]=gt.__data__);return ve}function Bt(hr,Vr){var Gr,En=hr.length,In=Vr.length,qr=Math.min(En,In),nn=new Array(In),gn=new Array(In),On=new Array(En),Un,Tn;if(De){var Qn=new P,$a=new Array(En),ti;for(Gr=-1;++Gr<En;)(Un=hr[Gr])&&(Qn.has(ti=De.call(Un,Un.__data__,Gr))?On[Gr]=Un:Qn.set(ti,Un),$a[Gr]=ti);for(Gr=-1;++Gr<In;)(Un=Qn.get(ti=De.call(Vr,Tn=Vr[Gr],Gr)))?Un!==!0&&(nn[Gr]=Un,Un.__data__=Tn):gn[Gr]=We(Tn),Qn.set(ti,!0);for(Gr=-1;++Gr<En;)Gr in $a&&Qn.get($a[Gr])!==!0&&(On[Gr]=hr[Gr])}else{for(Gr=-1;++Gr<qr;)Un=hr[Gr],Tn=Vr[Gr],Un?(Un.__data__=Tn,nn[Gr]=Un):gn[Gr]=We(Tn);for(;Gr<In;++Gr)gn[Gr]=We(Vr[Gr]);for(;Gr<En;++Gr)On[Gr]=hr[Gr]}gn.update=nn,gn.parentNode=nn.parentNode=On.parentNode=hr.parentNode,Lt.push(gn),er.push(nn),tr.push(On)}var Lt=et([]),er=K([]),tr=K([]);if(typeof ve=="function")for(;++Ye<ot;)Bt(dt=this[Ye],ve.call(dt,dt.parentNode.__data__,Ye));else for(;++Ye<ot;)Bt(dt=this[Ye],ve);return er.enter=function(){return Lt},er.exit=function(){return tr},er};function We(ve){return{__data__:ve}}ee.datum=function(ve){return arguments.length?this.property("__data__",ve):this.property("__data__")},ee.filter=function(ve){var De=[],Ye,ot,dt;typeof ve!="function"&&(ve=lt(ve));for(var gt=0,Bt=this.length;gt<Bt;gt++){De.push(Ye=[]),Ye.parentNode=(ot=this[gt]).parentNode;for(var Lt=0,er=ot.length;Lt<er;Lt++)(dt=ot[Lt])&&ve.call(dt,dt.__data__,Lt,gt)&&Ye.push(dt)}return K(De)};function lt(ve){return function(){return re(this,ve)}}ee.order=function(){for(var ve=-1,De=this.length;++ve<De;)for(var Ye=this[ve],ot=Ye.length-1,dt=Ye[ot],gt;--ot>=0;)(gt=Ye[ot])&&(dt&&dt!==gt.nextSibling&&dt.parentNode.insertBefore(gt,dt),dt=gt);return this},ee.sort=function(ve){ve=ht.apply(this,arguments);for(var De=-1,Ye=this.length;++De<Ye;)this[De].sort(ve);return this.order()};function ht(ve){return arguments.length||(ve=y),function(De,Ye){return De&&Ye?ve(De.__data__,Ye.__data__):!De-!Ye}}ee.each=function(ve){return tt(this,function(De,Ye,ot){ve.call(De,De.__data__,Ye,ot)})};function tt(ve,De){for(var Ye=0,ot=ve.length;Ye<ot;Ye++)for(var dt=ve[Ye],gt=0,Bt=dt.length,Lt;gt<Bt;gt++)(Lt=dt[gt])&&De(Lt,gt,Ye);return ve}ee.call=function(ve){var De=g(arguments);return ve.apply(De[0]=this,De),this},ee.empty=function(){return!this.node()},ee.node=function(){for(var ve=0,De=this.length;ve<De;ve++)for(var Ye=this[ve],ot=0,dt=Ye.length;ot<dt;ot++){var gt=Ye[ot];if(gt)return gt}return null},ee.size=function(){var ve=0;return tt(this,function(){++ve}),ve};function et(ve){return le(ve,pt),ve}var pt=[];i.selection.enter=et,i.selection.enter.prototype=pt,pt.append=ee.append,pt.empty=ee.empty,pt.node=ee.node,pt.call=ee.call,pt.size=ee.size,pt.select=function(ve){for(var De=[],Ye,ot,dt,gt,Bt,Lt=-1,er=this.length;++Lt<er;){dt=(gt=this[Lt]).update,De.push(Ye=[]),Ye.parentNode=gt.parentNode;for(var tr=-1,hr=gt.length;++tr<hr;)(Bt=gt[tr])?(Ye.push(dt[tr]=ot=ve.call(gt.parentNode,Bt.__data__,tr,Lt)),ot.__data__=Bt.__data__):Ye.push(null)}return K(De)},pt.insert=function(ve,De){return arguments.length<2&&(De=vt(this)),ee.insert.call(this,ve,De)};function vt(ve){var De,Ye;return function(ot,dt,gt){var Bt=ve[gt].update,Lt=Bt.length,er;for(gt!=Ye&&(Ye=gt,De=0),dt>=De&&(De=dt+1);!(er=Bt[De])&&++De<Lt;);return er}}i.select=function(ve){var De;return typeof ve=="string"?(De=[te(ve,p)],De.parentNode=p.documentElement):(De=[ve],De.parentNode=_(ve)),K([De])},i.selectAll=function(ve){var De;return typeof ve=="string"?(De=g(ce(ve,p)),De.parentNode=p.documentElement):(De=g(ve),De.parentNode=null),K([De])},ee.on=function(ve,De,Ye){var ot=arguments.length;if(ot<3){if(typeof ve!="string"){ot<2&&(De=!1);for(Ye in ve)this.each(_t(Ye,ve[Ye],De));return this}if(ot<2)return(ot=this.node()["__on"+ve])&&ot._;Ye=!1}return this.each(_t(ve,De,Ye))};function _t(ve,De,Ye){var ot="__on"+ve,dt=ve.indexOf("."),gt=Rt;dt>0&&(ve=ve.slice(0,dt));var Bt=bt.get(ve);Bt&&(ve=Bt,gt=ct);function Lt(){var hr=this[ot];hr&&(this.removeEventListener(ve,hr,hr.$),delete this[ot])}function er(){var hr=gt(De,g(arguments));Lt.call(this),this.addEventListener(ve,this[ot]=hr,hr.$=Ye),hr._=De}function tr(){var hr=new RegExp("^__on([^.]+)"+i.requote(ve)+"$"),Vr;for(var Gr in this)if(Vr=Gr.match(hr)){var En=this[Gr];this.removeEventListener(Vr[1],En,En.$),delete this[Gr]}}return dt?De?er:Lt:De?X:tr}var bt=i.map({mouseenter:"mouseover",mouseleave:"mouseout"});p&&bt.forEach(function(ve){"on"+ve in p&&bt.remove(ve)});function Rt(ve,De){return function(Ye){var ot=i.event;i.event=Ye,De[0]=this.__data__;try{ve.apply(this,De)}finally{i.event=ot}}}function ct(ve,De){var Ye=Rt(ve,De);return function(ot){var dt=this,gt=ot.relatedTarget;(!gt||gt!==dt&&!(gt.compareDocumentPosition(dt)&8))&&Ye.call(dt,ot)}}var Ve,Qe=0;function rt(ve){var De=".dragsuppress-"+ ++Qe,Ye="click"+De,ot=i.select(c(ve)).on("touchmove"+De,ie).on("dragstart"+De,ie).on("selectstart"+De,ie);if(Ve==null&&(Ve="onselectstart"in ve?!1:G(ve.style,"userSelect")),Ve){var dt=_(ve).style,gt=dt[Ve];dt[Ve]="none"}return function(Bt){if(ot.on(De,null),Ve&&(dt[Ve]=gt),Bt){var Lt=function(){ot.on(Ye,null)};ot.on(Ye,function(){ie(),Lt()},!0),setTimeout(Lt,0)}}}i.mouse=function(ve){return He(ve,he())};var qe=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function He(ve,De){De.changedTouches&&(De=De.changedTouches[0]);var Ye=ve.ownerSVGElement||ve;if(Ye.createSVGPoint){var ot=Ye.createSVGPoint();if(qe<0){var dt=c(ve);if(dt.scrollX||dt.scrollY){Ye=i.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var gt=Ye[0][0].getScreenCTM();qe=!(gt.f||gt.e),Ye.remove()}}return qe?(ot.x=De.pageX,ot.y=De.pageY):(ot.x=De.clientX,ot.y=De.clientY),ot=ot.matrixTransform(ve.getScreenCTM().inverse()),[ot.x,ot.y]}var Bt=ve.getBoundingClientRect();return[De.clientX-Bt.left-ve.clientLeft,De.clientY-Bt.top-ve.clientTop]}i.touch=function(ve,De,Ye){if(arguments.length<3&&(Ye=De,De=he().changedTouches),De){for(var ot=0,dt=De.length,gt;ot<dt;++ot)if((gt=De[ot]).identifier===Ye)return He(ve,gt)}},i.behavior.drag=function(){var ve=J(dt,"drag","dragstart","dragend"),De=null,Ye=gt(X,i.mouse,c,"mousemove","mouseup"),ot=gt(Ce,i.touch,V,"touchmove","touchend");function dt(){this.on("mousedown.drag",Ye).on("touchstart.drag",ot)}function gt(Bt,Lt,er,tr,hr){return function(){var Vr=this,Gr=i.event.target.correspondingElement||i.event.target,En=Vr.parentNode,In=ve.of(Vr,arguments),qr=0,nn=Bt(),gn=".drag"+(nn==null?"":"-"+nn),On,Un=i.select(er(Gr)).on(tr+gn,$a).on(hr+gn,ti),Tn=rt(Gr),Qn=Lt(En,nn);De?(On=De.apply(Vr,arguments),On=[On.x-Qn[0],On.y-Qn[1]]):On=[0,0],In({type:"dragstart"});function $a(){var Fa=Lt(En,nn),Qa,ri;Fa&&(Qa=Fa[0]-Qn[0],ri=Fa[1]-Qn[1],qr|=Qa|ri,Qn=Fa,In({type:"drag",x:Fa[0]+On[0],y:Fa[1]+On[1],dx:Qa,dy:ri}))}function ti(){Lt(En,nn)&&(Un.on(tr+gn,null).on(hr+gn,null),Tn(qr),In({type:"dragend"}))}}}return dt.origin=function(Bt){return arguments.length?(De=Bt,dt):De},i.rebind(dt,ve,"on")};function Ce(){return i.event.changedTouches[0].identifier}i.touches=function(ve,De){return arguments.length<2&&(De=he().touches),De?g(De).map(function(Ye){var ot=He(ve,Ye);return ot.identifier=Ye.identifier,ot}):[]};var Se=1e-6,Le=Se*Se,Ne=Math.PI,je=2*Ne,Je=je-Se,ut=Ne/2,Et=Ne/180,wt=180/Ne;function nr(ve,De,Ye){return(De[0]-ve[0])*(Ye[1]-ve[1])-(De[1]-ve[1])*(Ye[0]-ve[0])}function ir(ve){return ve>1?ut:ve<-1?-ut:Math.asin(ve)}function It(ve){return((ve=Math.exp(ve))-1/ve)/2}function Gt(ve){return((ve=Math.exp(ve))+1/ve)/2}function cr(ve){return((ve=Math.exp(2*ve))-1)/(ve+1)}var Pr=Math.SQRT2,Ct=2,or=4;i.interpolateZoom=function(ve,De){var Ye=ve[0],ot=ve[1],dt=ve[2],gt=De[0],Bt=De[1],Lt=De[2],er=gt-Ye,tr=Bt-ot,hr=er*er+tr*tr,Vr,Gr;if(hr<Le)Gr=Math.log(Lt/dt)/Pr,Vr=function(On){return[Ye+On*er,ot+On*tr,dt*Math.exp(Pr*On*Gr)]};else{var En=Math.sqrt(hr),In=(Lt*Lt-dt*dt+or*hr)/(2*dt*Ct*En),qr=(Lt*Lt-dt*dt-or*hr)/(2*Lt*Ct*En),nn=Math.log(Math.sqrt(In*In+1)-In),gn=Math.log(Math.sqrt(qr*qr+1)-qr);Gr=(gn-nn)/Pr,Vr=function(On){var Un=On*Gr,Tn=Gt(nn),Qn=dt/(Ct*En)*(Tn*cr(Pr*Un+nn)-It(nn));return[Ye+Qn*er,ot+Qn*tr,dt*Tn/Gt(Pr*Un+nn)]}}return Vr.duration=Gr*1e3,Vr},i.behavior.zoom=function(){var ve={x:0,y:0,k:1},De,Ye,ot,dt=[960,500],gt=ur,Bt=250,Lt=0,er="mousedown.zoom",tr="mousemove.zoom",hr="mouseup.zoom",Vr,Gr="touchstart.zoom",En,In=J(Un,"zoomstart","zoom","zoomend"),qr,nn,gn,On;yr||(yr="onwheel"in p?(Ir=function(){return-i.event.deltaY*(i.event.deltaMode?120:1)},"wheel"):"onmousewheel"in p?(Ir=function(){return i.event.wheelDelta},"mousewheel"):(Ir=function(){return-i.event.detail},"MozMousePixelScroll"));function Un(Ba){Ba.on(er,Gi).on(yr+".zoom",el).on("dblclick.zoom",Vo).on(Gr,Ro)}Un.event=function(Ba){Ba.each(function(){var Pi=In.of(this,arguments),_i=ve;Zr?i.select(this).transition().each("start.zoom",function(){ve=this.__chart__||{x:0,y:0,k:1},ri(Pi)}).tween("zoom:zoom",function(){var xo=dt[0],Ts=dt[1],No=Ye?Ye[0]:xo/2,yl=Ye?Ye[1]:Ts/2,fl=i.interpolateZoom([(No-ve.x)/ve.k,(yl-ve.y)/ve.k,xo/ve.k],[(No-_i.x)/_i.k,(yl-_i.y)/_i.k,xo/_i.k]);return function(Nl){var Ss=fl(Nl),Il=xo/Ss[2];this.__chart__=ve={x:No-Ss[0]*Il,y:yl-Ss[1]*Il,k:Il},Xi(Pi)}}).each("interrupt.zoom",function(){hi(Pi)}).each("end.zoom",function(){hi(Pi)}):(this.__chart__=ve,ri(Pi),Xi(Pi),hi(Pi))})},Un.translate=function(Ba){return arguments.length?(ve={x:+Ba[0],y:+Ba[1],k:ve.k},Qa(),Un):[ve.x,ve.y]},Un.scale=function(Ba){return arguments.length?(ve={x:ve.x,y:ve.y,k:null},$a(+Ba),Qa(),Un):ve.k},Un.scaleExtent=function(Ba){return arguments.length?(gt=Ba==null?ur:[+Ba[0],+Ba[1]],Un):gt},Un.center=function(Ba){return arguments.length?(ot=Ba&&[+Ba[0],+Ba[1]],Un):ot},Un.size=function(Ba){return arguments.length?(dt=Ba&&[+Ba[0],+Ba[1]],Un):dt},Un.duration=function(Ba){return arguments.length?(Bt=+Ba,Un):Bt},Un.x=function(Ba){return arguments.length?(nn=Ba,qr=Ba.copy(),ve={x:0,y:0,k:1},Un):nn},Un.y=function(Ba){return arguments.length?(On=Ba,gn=Ba.copy(),ve={x:0,y:0,k:1},Un):On};function Tn(Ba){return[(Ba[0]-ve.x)/ve.k,(Ba[1]-ve.y)/ve.k]}function Qn(Ba){return[Ba[0]*ve.k+ve.x,Ba[1]*ve.k+ve.y]}function $a(Ba){ve.k=Math.max(gt[0],Math.min(gt[1],Ba))}function ti(Ba,Pi){Pi=Qn(Pi),ve.x+=Ba[0]-Pi[0],ve.y+=Ba[1]-Pi[1]}function Fa(Ba,Pi,_i,xo){Ba.__chart__={x:ve.x,y:ve.y,k:ve.k},$a(Math.pow(2,xo)),ti(Ye=Pi,_i),Ba=i.select(Ba),Bt>0&&(Ba=Ba.transition().duration(Bt)),Ba.call(Un.event)}function Qa(){nn&&nn.domain(qr.range().map(function(Ba){return(Ba-ve.x)/ve.k}).map(qr.invert)),On&&On.domain(gn.range().map(function(Ba){return(Ba-ve.y)/ve.k}).map(gn.invert))}function ri(Ba){Lt++||Ba({type:"zoomstart"})}function Xi(Ba){Qa(),Ba({type:"zoom",scale:ve.k,translate:[ve.x,ve.y]})}function hi(Ba){--Lt||(Ba({type:"zoomend"}),Ye=null)}function Gi(){var Ba=this,Pi=In.of(Ba,arguments),_i=0,xo=i.select(c(Ba)).on(tr,yl).on(hr,fl),Ts=Tn(i.mouse(Ba)),No=rt(Ba);qt.call(Ba),ri(Pi);function yl(){_i=1,ti(i.mouse(Ba),Ts),Xi(Pi)}function fl(){xo.on(tr,null).on(hr,null),No(_i),hi(Pi)}}function Ro(){var Ba=this,Pi=In.of(Ba,arguments),_i={},xo=0,Ts,No=".zoom-"+i.event.changedTouches[0].identifier,yl="touchmove"+No,fl="touchend"+No,Nl=[],Ss=i.select(Ba),Il=rt(Ba);Ri(),ri(Pi),Ss.on(er,null).on(Gr,Ri);function ja(){var Ll=i.touches(Ba);return Ts=ve.k,Ll.forEach(function(Go){Go.identifier in _i&&(_i[Go.identifier]=Tn(Go))}),Ll}function Ri(){var Ll=i.event.target;i.select(Ll).on(yl,dl).on(fl,Yc),Nl.push(Ll);for(var Go=i.event.changedTouches,_l=0,hl=Go.length;_l<hl;++_l)_i[Go[_l].identifier]=null;var hd=ja(),pd=Date.now();if(hd.length===1){if(pd-En<500){var Vs=hd[0];Fa(Ba,Vs,_i[Vs.identifier],Math.floor(Math.log(ve.k)/Math.LN2)+1),ie()}En=pd}else if(hd.length>1){var Vs=hd[0],yp=hd[1],wo=Vs[0]-yp[0],Gs=Vs[1]-yp[1];xo=wo*wo+Gs*Gs}}function dl(){var Ll=i.touches(Ba),Go,_l,hl,hd;qt.call(Ba);for(var pd=0,Vs=Ll.length;pd<Vs;++pd,hd=null)if(hl=Ll[pd],hd=_i[hl.identifier]){if(_l)break;Go=hl,_l=hd}if(hd){var yp=(yp=hl[0]-Go[0])*yp+(yp=hl[1]-Go[1])*yp,wo=xo&&Math.sqrt(yp/xo);Go=[(Go[0]+hl[0])/2,(Go[1]+hl[1])/2],_l=[(_l[0]+hd[0])/2,(_l[1]+hd[1])/2],$a(wo*Ts)}En=null,ti(Go,_l),Xi(Pi)}function Yc(){if(i.event.touches.length){for(var Ll=i.event.changedTouches,Go=0,_l=Ll.length;Go<_l;++Go)delete _i[Ll[Go].identifier];for(var hl in _i)return void ja()}i.selectAll(Nl).on(No,null),Ss.on(er,Gi).on(Gr,Ro),Il(),hi(Pi)}}function el(){var Ba=In.of(this,arguments);Vr?clearTimeout(Vr):(qt.call(this),De=Tn(Ye=ot||i.mouse(this)),ri(Ba)),Vr=setTimeout(function(){Vr=null,hi(Ba)},50),ie(),$a(Math.pow(2,Ir()*.002)*ve.k),ti(Ye,De),Xi(Ba)}function Vo(){var Ba=i.mouse(this),Pi=Math.log(ve.k)/Math.LN2;Fa(this,Ba,Tn(Ba),i.event.shiftKey?Math.ceil(Pi)-1:Math.floor(Pi)+1)}return i.rebind(Un,In,"on")};var ur=[0,1/0],Ir,yr;i.color=At;function At(){}At.prototype.toString=function(){return this.rgb()+""},i.hsl=mt;function mt(ve,De,Ye){return this instanceof mt?(this.h=+ve,this.s=+De,void(this.l=+Ye)):arguments.length<2?ve instanceof mt?new mt(ve.h,ve.s,ve.l):Lr(""+ve,Ar,mt):new mt(ve,De,Ye)}var Mt=mt.prototype=new At;Mt.brighter=function(ve){return ve=Math.pow(.7,arguments.length?ve:1),new mt(this.h,this.s,this.l/ve)},Mt.darker=function(ve){return ve=Math.pow(.7,arguments.length?ve:1),new mt(this.h,this.s,ve*this.l)},Mt.rgb=function(){return Pt(this.h,this.s,this.l)};function Pt(ve,De,Ye){var ot,dt;ve=isNaN(ve)?0:(ve%=360)<0?ve+360:ve,De=isNaN(De)||De<0?0:De>1?1:De,Ye=Ye<0?0:Ye>1?1:Ye,dt=Ye<=.5?Ye*(1+De):Ye+De-Ye*De,ot=2*Ye-dt;function gt(Lt){return Lt>360?Lt-=360:Lt<0&&(Lt+=360),Lt<60?ot+(dt-ot)*Lt/60:Lt<180?dt:Lt<240?ot+(dt-ot)*(240-Lt)/60:ot}function Bt(Lt){return Math.round(gt(Lt)*255)}return new br(Bt(ve+120),Bt(ve),Bt(ve-120))}i.hcl=Ht;function Ht(ve,De,Ye){return this instanceof Ht?(this.h=+ve,this.c=+De,void(this.l=+Ye)):arguments.length<2?ve instanceof Ht?new Ht(ve.h,ve.c,ve.l):ve instanceof Xt?Wt(ve.l,ve.a,ve.b):Wt((ve=ln((ve=i.rgb(ve)).r,ve.g,ve.b)).l,ve.a,ve.b):new Ht(ve,De,Ye)}var Ut=Ht.prototype=new At;Ut.brighter=function(ve){return new Ht(this.h,this.c,Math.min(100,this.l+sr*(arguments.length?ve:1)))},Ut.darker=function(ve){return new Ht(this.h,this.c,Math.max(0,this.l-sr*(arguments.length?ve:1)))},Ut.rgb=function(){return Zt(this.h,this.c,this.l).rgb()};function Zt(ve,De,Ye){return isNaN(ve)&&(ve=0),isNaN(De)&&(De=0),new Xt(Ye,Math.cos(ve*=Et)*De,Math.sin(ve)*De)}i.lab=Xt;function Xt(ve,De,Ye){return this instanceof Xt?(this.l=+ve,this.a=+De,void(this.b=+Ye)):arguments.length<2?ve instanceof Xt?new Xt(ve.l,ve.a,ve.b):ve instanceof Ht?Zt(ve.h,ve.c,ve.l):ln((ve=br(ve)).r,ve.g,ve.b):new Xt(ve,De,Ye)}var sr=18,Sr=.95047,wr=1,Tr=1.08883,Ze=Xt.prototype=new At;Ze.brighter=function(ve){return new Xt(Math.min(100,this.l+sr*(arguments.length?ve:1)),this.a,this.b)},Ze.darker=function(ve){return new Xt(Math.max(0,this.l-sr*(arguments.length?ve:1)),this.a,this.b)},Ze.rgb=function(){return Xe(this.l,this.a,this.b)};function Xe(ve,De,Ye){var ot=(ve+16)/116,dt=ot+De/500,gt=ot-Ye/200;return dt=jt(dt)*Sr,ot=jt(ot)*wr,gt=jt(gt)*Tr,new br(mr(3.2404542*dt-1.5371385*ot-.4985314*gt),mr(-.969266*dt+1.8760108*ot+.041556*gt),mr(.0556434*dt-.2040259*ot+1.0572252*gt))}function Wt(ve,De,Ye){return ve>0?new Ht(Math.atan2(Ye,De)*wt,Math.sqrt(De*De+Ye*Ye),ve):new Ht(NaN,NaN,ve)}function jt(ve){return ve>.206893034?ve*ve*ve:(ve-.13793103448275862)/7.787037}function ar(ve){return ve>.008856?Math.pow(ve,.3333333333333333):7.787037*ve+.13793103448275862}function mr(ve){return Math.round(255*(ve<=.00304?12.92*ve:1.055*Math.pow(ve,.4166666666666667)-.055))}i.rgb=br;function br(ve,De,Ye){return this instanceof br?(this.r=~~ve,this.g=~~De,void(this.b=~~Ye)):arguments.length<2?ve instanceof br?new br(ve.r,ve.g,ve.b):Lr(""+ve,br,Pt):new br(ve,De,Ye)}function fr(ve){return new br(ve>>16,ve>>8&255,ve&255)}function Kt(ve){return fr(ve)+""}var kr=br.prototype=new At;kr.brighter=function(ve){ve=Math.pow(.7,arguments.length?ve:1);var De=this.r,Ye=this.g,ot=this.b,dt=30;return!De&&!Ye&&!ot?new br(dt,dt,dt):(De&&De<dt&&(De=dt),Ye&&Ye<dt&&(Ye=dt),ot&&ot<dt&&(ot=dt),new br(Math.min(255,De/ve),Math.min(255,Ye/ve),Math.min(255,ot/ve)))},kr.darker=function(ve){return ve=Math.pow(.7,arguments.length?ve:1),new br(ve*this.r,ve*this.g,ve*this.b)},kr.hsl=function(){return Ar(this.r,this.g,this.b)},kr.toString=function(){return"#"+Rr(this.r)+Rr(this.g)+Rr(this.b)};function Rr(ve){return ve<16?"0"+Math.max(0,ve).toString(16):Math.min(255,ve).toString(16)}function Lr(ve,De,Ye){var ot=0,dt=0,gt=0,Bt,Lt,er;if(Bt=/([a-z]+)\((.*)\)/.exec(ve=ve.toLowerCase()),Bt)switch(Lt=Bt[2].split(","),Bt[1]){case"hsl":return Ye(parseFloat(Lt[0]),parseFloat(Lt[1])/100,parseFloat(Lt[2])/100);case"rgb":return De(Xr(Lt[0]),Xr(Lt[1]),Xr(Lt[2]))}return(er=Bn.get(ve))?De(er.r,er.g,er.b):(ve!=null&&ve.charAt(0)==="#"&&!isNaN(er=parseInt(ve.slice(1),16))&&(ve.length===4?(ot=(er&3840)>>4,ot=ot>>4|ot,dt=er&240,dt=dt>>4|dt,gt=er&15,gt=gt<<4|gt):ve.length===7&&(ot=(er&16711680)>>16,dt=(er&65280)>>8,gt=er&255)),De(ot,dt,gt))}function Ar(ve,De,Ye){var ot=Math.min(ve/=255,De/=255,Ye/=255),dt=Math.max(ve,De,Ye),gt=dt-ot,Bt,Lt,er=(dt+ot)/2;return gt?(Lt=er<.5?gt/(dt+ot):gt/(2-dt-ot),ve==dt?Bt=(De-Ye)/gt+(De<Ye?6:0):De==dt?Bt=(Ye-ve)/gt+2:Bt=(ve-De)/gt+4,Bt*=60):(Bt=NaN,Lt=er>0&&er<1?0:Bt),new mt(Bt,Lt,er)}function ln(ve,De,Ye){ve=Kr(ve),De=Kr(De),Ye=Kr(Ye);var ot=ar((.4124564*ve+.3575761*De+.1804375*Ye)/Sr),dt=ar((.2126729*ve+.7151522*De+.072175*Ye)/wr),gt=ar((.0193339*ve+.119192*De+.9503041*Ye)/Tr);return Xt(116*dt-16,500*(ot-dt),200*(dt-gt))}function Kr(ve){return(ve/=255)<=.04045?ve/12.92:Math.pow((ve+.055)/1.055,2.4)}function Xr(ve){var De=parseFloat(ve);return ve.charAt(ve.length-1)==="%"?Math.round(De*2.55):De}var Bn=i.map({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});Bn.forEach(function(ve,De){Bn.set(ve,fr(De))});function An(ve){return typeof ve=="function"?ve:function(){return ve}}i.functor=An,i.xhr=ta(V);function ta(ve){return function(De,Ye,ot){return arguments.length===2&&typeof Ye=="function"&&(ot=Ye,Ye=null),ra(De,Ye,ve,ot)}}function ra(ve,De,Ye,ot){var dt={},gt=i.dispatch("beforesend","progress","load","error"),Bt={},Lt=new XMLHttpRequest,er=null;self.XDomainRequest&&!("withCredentials"in Lt)&&/^(http(s)?:)?\/\//.test(ve)&&(Lt=new XDomainRequest),"onload"in Lt?Lt.onload=Lt.onerror=tr:Lt.onreadystatechange=function(){Lt.readyState>3&&tr()};function tr(){var hr=Lt.status,Vr;if(!hr&&Jr(Lt)||hr>=200&&hr<300||hr===304){try{Vr=Ye.call(dt,Lt)}catch(Gr){gt.error.call(dt,Gr);return}gt.load.call(dt,Vr)}else gt.error.call(dt,Lt)}return Lt.onprogress=function(hr){var Vr=i.event;i.event=hr;try{gt.progress.call(dt,Lt)}finally{i.event=Vr}},dt.header=function(hr,Vr){return hr=(hr+"").toLowerCase(),arguments.length<2?Bt[hr]:(Vr==null?delete Bt[hr]:Bt[hr]=Vr+"",dt)},dt.mimeType=function(hr){return arguments.length?(De=hr==null?null:hr+"",dt):De},dt.responseType=function(hr){return arguments.length?(er=hr,dt):er},dt.response=function(hr){return Ye=hr,dt},["get","post"].forEach(function(hr){dt[hr]=function(){return dt.send.apply(dt,[hr].concat(g(arguments)))}}),dt.send=function(hr,Vr,Gr){if(arguments.length===2&&typeof Vr=="function"&&(Gr=Vr,Vr=null),Lt.open(hr,ve,!0),De!=null&&!("accept"in Bt)&&(Bt.accept=De+",*/*"),Lt.setRequestHeader)for(var En in Bt)Lt.setRequestHeader(En,Bt[En]);return De!=null&&Lt.overrideMimeType&&Lt.overrideMimeType(De),er!=null&&(Lt.responseType=er),Gr!=null&&dt.on("error",Gr).on("load",function(In){Gr(null,In)}),gt.beforesend.call(dt,Lt),Lt.send(Vr??null),dt},dt.abort=function(){return Lt.abort(),dt},i.rebind(dt,gt,"on"),ot==null?dt:dt.get(Cr(ot))}function Cr(ve){return ve.length===1?function(De,Ye){ve(De==null?Ye:null)}:ve}function Jr(ve){var De=ve.responseType;return De&&De!=="text"?ve.response:ve.responseText}i.dsv=function(ve,De){var Ye=new RegExp('["'+ve+`
]`),ot=ve.charCodeAt(0);function dt(tr,hr,Vr){arguments.length<3&&(Vr=hr,hr=null);var Gr=ra(tr,De,hr==null?gt:Bt(hr),Vr);return Gr.row=function(En){return arguments.length?Gr.response((hr=En)==null?gt:Bt(En)):hr},Gr}function gt(tr){return dt.parse(tr.responseText)}function Bt(tr){return function(hr){return dt.parse(hr.responseText,tr)}}dt.parse=function(tr,hr){var Vr;return dt.parseRows(tr,function(Gr,En){if(Vr)return Vr(Gr,En-1);var In=function(qr){for(var nn={},gn=Gr.length,On=0;On<gn;++On)nn[Gr[On]]=qr[On];return nn};Vr=hr?function(qr,nn){return hr(In(qr),nn)}:In})},dt.parseRows=function(tr,hr){var Vr={},Gr={},En=[],In=tr.length,qr=0,nn=0,gn,On;function Un(){if(qr>=In)return Gr;if(On)return On=!1,Vr;var Qn=qr;if(tr.charCodeAt(Qn)===34){for(var $a=Qn;$a++<In;)if(tr.charCodeAt($a)===34){if(tr.charCodeAt($a+1)!==34)break;++$a}qr=$a+2;var ti=tr.charCodeAt($a+1);return ti===13?(On=!0,tr.charCodeAt($a+2)===10&&++qr):ti===10&&(On=!0),tr.slice(Qn+1,$a).replace(/""/g,'"')}for(;qr<In;){var ti=tr.charCodeAt(qr++),Fa=1;if(ti===10)On=!0;else if(ti===13)On=!0,tr.charCodeAt(qr)===10&&(++qr,++Fa);else if(ti!==ot)continue;return tr.slice(Qn,qr-Fa)}return tr.slice(Qn)}for(;(gn=Un())!==Gr;){for(var Tn=[];gn!==Vr&&gn!==Gr;)Tn.push(gn),gn=Un();hr&&(Tn=hr(Tn,nn++))==null||En.push(Tn)}return En},dt.format=function(tr){if(Array.isArray(tr[0]))return dt.formatRows(tr);var hr=new z,Vr=[];return tr.forEach(function(Gr){for(var En in Gr)hr.has(En)||Vr.push(hr.add(En))}),[Vr.map(er).join(ve)].concat(tr.map(function(Gr){return Vr.map(function(En){return er(Gr[En])}).join(ve)})).join(`
`)},dt.formatRows=function(tr){return tr.map(Lt).join(`
`)};function Lt(tr){return tr.map(er).join(ve)}function er(tr){return Ye.test(tr)?'"'+tr.replace(/\"/g,'""')+'"':tr}return dt},i.csv=i.dsv(",","text/csv"),i.tsv=i.dsv(" ","text/tab-separated-values");var un,sn,Nn,Hn,$n=this[G(this,"requestAnimationFrame")]||function(ve){setTimeout(ve,17)};i.timer=function(){da.apply(this,arguments)};function da(ve,De,Ye){var ot=arguments.length;ot<2&&(De=0),ot<3&&(Ye=Date.now());var dt=Ye+De,gt={c:ve,t:dt,n:null};return sn?sn.n=gt:un=gt,sn=gt,Nn||(Hn=clearTimeout(Hn),Nn=1,$n(_a)),gt}function _a(){var ve=Ya(),De=di()-ve;De>24?(isFinite(De)&&(clearTimeout(Hn),Hn=setTimeout(_a,De)),Nn=0):(Nn=1,$n(_a))}i.timer.flush=function(){Ya(),di()};function Ya(){for(var ve=Date.now(),De=un;De;)ve>=De.t&&De.c(ve-De.t)&&(De.c=null),De=De.n;return ve}function di(){for(var ve,De=un,Ye=1/0;De;)De.c?(De.t<Ye&&(Ye=De.t),De=(ve=De).n):De=ve?ve.n=De.n:un=De.n;return sn=ve,Ye}i.round=function(ve,De){return De?Math.round(ve*(De=Math.pow(10,De)))/De:Math.round(ve)},i.geom={};function ii(ve){return ve[0]}function Za(ve){return ve[1]}i.geom.hull=function(ve){var De=ii,Ye=Za;if(arguments.length)return ot(ve);function ot(dt){if(dt.length<3)return[];var gt=An(De),Bt=An(Ye),Lt,er=dt.length,tr=[],hr=[];for(Lt=0;Lt<er;Lt++)tr.push([+gt.call(this,dt[Lt],Lt),+Bt.call(this,dt[Lt],Lt),Lt]);for(tr.sort(Fr),Lt=0;Lt<er;Lt++)hr.push([tr[Lt][0],-tr[Lt][1]]);var Vr=oi(tr),Gr=oi(hr),En=Gr[0]===Vr[0],In=Gr[Gr.length-1]===Vr[Vr.length-1],qr=[];for(Lt=Vr.length-1;Lt>=0;--Lt)qr.push(dt[tr[Vr[Lt]][2]]);for(Lt=+En;Lt<Gr.length-In;++Lt)qr.push(dt[tr[Gr[Lt]][2]]);return qr}return ot.x=function(dt){return arguments.length?(De=dt,ot):De},ot.y=function(dt){return arguments.length?(Ye=dt,ot):Ye},ot};function oi(ve){for(var De=ve.length,Ye=[0,1],ot=2,dt=2;dt<De;dt++){for(;ot>1&&nr(ve[Ye[ot-2]],ve[Ye[ot-1]],ve[dt])<=0;)--ot;Ye[ot++]=dt}return Ye.slice(0,ot)}function Fr(ve,De){return ve[0]-De[0]||ve[1]-De[1]}i.geom.polygon=function(ve){return le(ve,vn),ve};var vn=i.geom.polygon.prototype=[];vn.area=function(){for(var ve=-1,De=this.length,Ye,ot=this[De-1],dt=0;++ve<De;)Ye=ot,ot=this[ve],dt+=Ye[1]*ot[0]-Ye[0]*ot[1];return dt*.5},vn.centroid=function(ve){var De=-1,Ye=this.length,ot=0,dt=0,gt,Bt=this[Ye-1],Lt;for(arguments.length||(ve=-1/(6*this.area()));++De<Ye;)gt=Bt,Bt=this[De],Lt=gt[0]*Bt[1]-Bt[0]*gt[1],ot+=(gt[0]+Bt[0])*Lt,dt+=(gt[1]+Bt[1])*Lt;return[ot*ve,dt*ve]},vn.clip=function(ve){for(var De,Ye=Sa(ve),ot=-1,dt=this.length-Sa(this),gt,Bt,Lt=this[dt-1],er,tr,hr;++ot<dt;){for(De=ve.slice(),ve.length=0,er=this[ot],tr=De[(Bt=De.length-Ye)-1],gt=-1;++gt<Bt;)hr=De[gt],fn(hr,Lt,er)?(fn(tr,Lt,er)||ve.push(Vn(tr,hr,Lt,er)),ve.push(hr)):fn(tr,Lt,er)&&ve.push(Vn(tr,hr,Lt,er)),tr=hr;Ye&&ve.push(ve[0]),Lt=er}return ve};function fn(ve,De,Ye){return(Ye[0]-De[0])*(ve[1]-De[1])<(Ye[1]-De[1])*(ve[0]-De[0])}function Vn(ve,De,Ye,ot){var dt=ve[0],gt=Ye[0],Bt=De[0]-dt,Lt=ot[0]-gt,er=ve[1],tr=Ye[1],hr=De[1]-er,Vr=ot[1]-tr,Gr=(Lt*(er-tr)-Vr*(dt-gt))/(Vr*Bt-Lt*hr);return[dt+Gr*Bt,er+Gr*hr]}function Sa(ve){var De=ve[0],Ye=ve[ve.length-1];return!(De[0]-Ye[0]||De[1]-Ye[1])}var na,aa,ba,Ua=[],fi,Vi,Dr=[];function tn(){nu(this),this.edge=this.site=this.circle=null}function zr(ve){var De=Ua.pop()||new tn;return De.site=ve,De}function rn(ve){ua(ve),ba.remove(ve),Ua.push(ve),nu(ve)}function Xn(ve){var De=ve.circle,Ye=De.x,ot=De.cy,dt={x:Ye,y:ot},gt=ve.P,Bt=ve.N,Lt=[ve];rn(ve);for(var er=gt;er.circle&&k(Ye-er.circle.x)<Se&&k(ot-er.circle.cy)<Se;)gt=er.P,Lt.unshift(er),rn(er),er=gt;Lt.unshift(er),ua(er);for(var tr=Bt;tr.circle&&k(Ye-tr.circle.x)<Se&&k(ot-tr.circle.cy)<Se;)Bt=tr.N,Lt.push(tr),rn(tr),tr=Bt;Lt.push(tr),ua(tr);var hr=Lt.length,Vr;for(Vr=1;Vr<hr;++Vr)tr=Lt[Vr],er=Lt[Vr-1],si(tr.edge,er.site,tr.site,dt);er=Lt[0],tr=Lt[hr-1],tr.edge=Wa(er.site,tr.site,null,dt),qn(er),qn(tr)}function ia(ve){for(var De=ve.x,Ye=ve.y,ot,dt,gt,Bt,Lt=ba._;Lt;)if(gt=zn(Lt,Ye)-De,gt>Se)Lt=Lt.L;else if(Bt=De-Ln(Lt,Ye),Bt>Se){if(!Lt.R){ot=Lt;break}Lt=Lt.R}else{gt>-Se?(ot=Lt.P,dt=Lt):Bt>-Se?(ot=Lt,dt=Lt.N):ot=dt=Lt;break}var er=zr(ve);if(ba.insert(ot,er),!(!ot&&!dt)){if(ot===dt){ua(ot),dt=zr(ot.site),ba.insert(er,dt),er.edge=dt.edge=Wa(ot.site,er.site),qn(ot),qn(dt);return}if(!dt){er.edge=Wa(ot.site,er.site);return}ua(ot),ua(dt);var tr=ot.site,hr=tr.x,Vr=tr.y,Gr=ve.x-hr,En=ve.y-Vr,In=dt.site,qr=In.x-hr,nn=In.y-Vr,gn=2*(Gr*nn-En*qr),On=Gr*Gr+En*En,Un=qr*qr+nn*nn,Tn={x:(nn*On-En*Un)/gn+hr,y:(Gr*Un-qr*On)/gn+Vr};si(dt.edge,tr,In,Tn),er.edge=Wa(tr,ve,null,Tn),dt.edge=Wa(ve,In,null,Tn),qn(ot),qn(dt)}}function zn(ve,De){var Ye=ve.site,ot=Ye.x,dt=Ye.y,gt=dt-De;if(!gt)return ot;var Bt=ve.P;if(!Bt)return-1/0;Ye=Bt.site;var Lt=Ye.x,er=Ye.y,tr=er-De;if(!tr)return Lt;var hr=Lt-ot,Vr=1/gt-1/tr,Gr=hr/tr;return Vr?(-Gr+Math.sqrt(Gr*Gr-2*Vr*(hr*hr/(-2*tr)-er+tr/2+dt-gt/2)))/Vr+ot:(ot+Lt)/2}function Ln(ve,De){var Ye=ve.N;if(Ye)return zn(Ye,De);var ot=ve.site;return ot.y===De?ot.x:1/0}function Hr(ve){this.site=ve,this.edges=[]}Hr.prototype.prepare=function(){for(var ve=this.edges,De=ve.length,Ye;De--;)Ye=ve[De].edge,(!Ye.b||!Ye.a)&&ve.splice(De,1);return ve.sort(cn),ve.length};function mn(ve){for(var De=ve[0][0],Ye=ve[1][0],ot=ve[0][1],dt=ve[1][1],gt,Bt,Lt,er,tr=aa,hr=tr.length,Vr,Gr,En,In,qr,nn;hr--;)if(Vr=tr[hr],!(!Vr||!Vr.prepare()))for(En=Vr.edges,In=En.length,Gr=0;Gr<In;)nn=En[Gr].end(),Lt=nn.x,er=nn.y,qr=En[++Gr%In].start(),gt=qr.x,Bt=qr.y,(k(Lt-gt)>Se||k(er-Bt)>Se)&&(En.splice(Gr,0,new Uo(ni(Vr.site,nn,k(Lt-De)<Se&&dt-er>Se?{x:De,y:k(gt-De)<Se?Bt:dt}:k(er-dt)<Se&&Ye-Lt>Se?{x:k(Bt-dt)<Se?gt:Ye,y:dt}:k(Lt-Ye)<Se&&er-ot>Se?{x:Ye,y:k(gt-Ye)<Se?Bt:ot}:k(er-ot)<Se&&Lt-De>Se?{x:k(Bt-ot)<Se?gt:De,y:ot}:null),Vr.site,null)),++In)}function cn(ve,De){return De.angle-ve.angle}function bn(){nu(this),this.x=this.y=this.arc=this.site=this.cy=null}function qn(ve){var De=ve.P,Ye=ve.N;if(!(!De||!Ye)){var ot=De.site,dt=ve.site,gt=Ye.site;if(ot!==gt){var Bt=dt.x,Lt=dt.y,er=ot.x-Bt,tr=ot.y-Lt,hr=gt.x-Bt,nn=gt.y-Lt,Vr=2*(er*nn-tr*hr);if(!(Vr>=-Le)){var Gr=er*er+tr*tr,En=hr*hr+nn*nn,In=(nn*Gr-tr*En)/Vr,qr=(er*En-hr*Gr)/Vr,nn=qr+Lt,gn=Dr.pop()||new bn;gn.arc=ve,gn.site=dt,gn.x=In+Bt,gn.y=nn+Math.sqrt(In*In+qr*qr),gn.cy=nn,ve.circle=gn;for(var On=null,Un=Vi._;Un;)if(gn.y<Un.y||gn.y===Un.y&&gn.x<=Un.x)if(Un.L)Un=Un.L;else{On=Un.P;break}else if(Un.R)Un=Un.R;else{On=Un;break}Vi.insert(On,gn),On||(fi=gn)}}}}function ua(ve){var De=ve.circle;De&&(De.P||(fi=De.N),Vi.remove(De),Dr.push(De),nu(De),ve.circle=null)}function ea(ve,De,Ye,ot){return function(dt){var gt=dt.a,Bt=dt.b,Lt=gt.x,er=gt.y,tr=Bt.x,hr=Bt.y,Vr=0,Gr=1,En=tr-Lt,In=hr-er,qr;if(qr=ve-Lt,!(!En&&qr>0)){if(qr/=En,En<0){if(qr<Vr)return;qr<Gr&&(Gr=qr)}else if(En>0){if(qr>Gr)return;qr>Vr&&(Vr=qr)}if(qr=Ye-Lt,!(!En&&qr<0)){if(qr/=En,En<0){if(qr>Gr)return;qr>Vr&&(Vr=qr)}else if(En>0){if(qr<Vr)return;qr<Gr&&(Gr=qr)}if(qr=De-er,!(!In&&qr>0)){if(qr/=In,In<0){if(qr<Vr)return;qr<Gr&&(Gr=qr)}else if(In>0){if(qr>Gr)return;qr>Vr&&(Vr=qr)}if(qr=ot-er,!(!In&&qr<0)){if(qr/=In,In<0){if(qr>Gr)return;qr>Vr&&(Vr=qr)}else if(In>0){if(qr<Vr)return;qr<Gr&&(Gr=qr)}return Vr>0&&(dt.a={x:Lt+Vr*En,y:er+Vr*In}),Gr<1&&(dt.b={x:Lt+Gr*En,y:er+Gr*In}),dt}}}}}}function Ea(ve){for(var De=na,Ye=ea(ve[0][0],ve[0][1],ve[1][0],ve[1][1]),ot=De.length,dt;ot--;)dt=De[ot],(!ya(dt,ve)||!Ye(dt)||k(dt.a.x-dt.b.x)<Se&&k(dt.a.y-dt.b.y)<Se)&&(dt.a=dt.b=null,De.splice(ot,1))}function ya(ve,De){var Ye=ve.b;if(Ye)return!0;var ot=ve.a,dt=De[0][0],gt=De[1][0],Bt=De[0][1],Lt=De[1][1],er=ve.l,tr=ve.r,hr=er.x,Vr=er.y,Gr=tr.x,En=tr.y,In=(hr+Gr)/2,qr=(Vr+En)/2,nn,gn;if(En===Vr){if(In<dt||In>=gt)return;if(hr>Gr){if(!ot)ot={x:In,y:Bt};else if(ot.y>=Lt)return;Ye={x:In,y:Lt}}else{if(!ot)ot={x:In,y:Lt};else if(ot.y<Bt)return;Ye={x:In,y:Bt}}}else if(nn=(hr-Gr)/(En-Vr),gn=qr-nn*In,nn<-1||nn>1)if(hr>Gr){if(!ot)ot={x:(Bt-gn)/nn,y:Bt};else if(ot.y>=Lt)return;Ye={x:(Lt-gn)/nn,y:Lt}}else{if(!ot)ot={x:(Lt-gn)/nn,y:Lt};else if(ot.y<Bt)return;Ye={x:(Bt-gn)/nn,y:Bt}}else if(Vr<En){if(!ot)ot={x:dt,y:nn*dt+gn};else if(ot.x>=gt)return;Ye={x:gt,y:nn*gt+gn}}else{if(!ot)ot={x:gt,y:nn*gt+gn};else if(ot.x<dt)return;Ye={x:dt,y:nn*dt+gn}}return ve.a=ot,ve.b=Ye,!0}function ei(ve,De){this.l=ve,this.r=De,this.a=this.b=null}function Wa(ve,De,Ye,ot){var dt=new ei(ve,De);return na.push(dt),Ye&&si(dt,ve,De,Ye),ot&&si(dt,De,ve,ot),aa[ve.i].edges.push(new Uo(dt,ve,De)),aa[De.i].edges.push(new Uo(dt,De,ve)),dt}function ni(ve,De,Ye){var ot=new ei(ve,null);return ot.a=De,ot.b=Ye,na.push(ot),ot}function si(ve,De,Ye,ot){!ve.a&&!ve.b?(ve.a=ot,ve.l=De,ve.r=Ye):ve.l===Ye?ve.b=ot:ve.a=ot}function Uo(ve,De,Ye){var ot=ve.a,dt=ve.b;this.edge=ve,this.site=De,this.angle=Ye?Math.atan2(Ye.y-De.y,Ye.x-De.x):ve.l===De?Math.atan2(dt.x-ot.x,ot.y-dt.y):Math.atan2(ot.x-dt.x,dt.y-ot.y)}Uo.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}};function Fo(){this._=null}function nu(ve){ve.U=ve.C=ve.L=ve.R=ve.P=ve.N=null}Fo.prototype={insert:function(ve,De){var Ye,ot,dt;if(ve){if(De.P=ve,De.N=ve.N,ve.N&&(ve.N.P=De),ve.N=De,ve.R){for(ve=ve.R;ve.L;)ve=ve.L;ve.L=De}else ve.R=De;Ye=ve}else this._?(ve=Wh(this._),De.P=null,De.N=ve,ve.P=ve.L=De,Ye=ve):(De.P=De.N=null,this._=De,Ye=null);for(De.L=De.R=null,De.U=Ye,De.C=!0,ve=De;Ye&&Ye.C;)ot=Ye.U,Ye===ot.L?(dt=ot.R,dt&&dt.C?(Ye.C=dt.C=!1,ot.C=!0,ve=ot):(ve===Ye.R&&(cc(this,Ye),ve=Ye,Ye=ve.U),Ye.C=!1,ot.C=!0,jl(this,ot))):(dt=ot.L,dt&&dt.C?(Ye.C=dt.C=!1,ot.C=!0,ve=ot):(ve===Ye.L&&(jl(this,Ye),ve=Ye,Ye=ve.U),Ye.C=!1,ot.C=!0,cc(this,ot))),Ye=ve.U;this._.C=!1},remove:function(ve){ve.N&&(ve.N.P=ve.P),ve.P&&(ve.P.N=ve.N),ve.N=ve.P=null;var De=ve.U,Ye,ot=ve.L,dt=ve.R,gt,Bt;if(ot?dt?gt=Wh(dt):gt=ot:gt=dt,De?De.L===ve?De.L=gt:De.R=gt:this._=gt,ot&&dt?(Bt=gt.C,gt.C=ve.C,gt.L=ot,ot.U=gt,gt!==dt?(De=gt.U,gt.U=ve.U,ve=gt.R,De.L=ve,gt.R=dt,dt.U=gt):(gt.U=De,De=gt,ve=gt.R)):(Bt=ve.C,ve=gt),ve&&(ve.U=De),!Bt){if(ve&&ve.C){ve.C=!1;return}do{if(ve===this._)break;if(ve===De.L){if(Ye=De.R,Ye.C&&(Ye.C=!1,De.C=!0,cc(this,De),Ye=De.R),Ye.L&&Ye.L.C||Ye.R&&Ye.R.C){(!Ye.R||!Ye.R.C)&&(Ye.L.C=!1,Ye.C=!0,jl(this,Ye),Ye=De.R),Ye.C=De.C,De.C=Ye.R.C=!1,cc(this,De),ve=this._;break}}else if(Ye=De.L,Ye.C&&(Ye.C=!1,De.C=!0,jl(this,De),Ye=De.L),Ye.L&&Ye.L.C||Ye.R&&Ye.R.C){(!Ye.L||!Ye.L.C)&&(Ye.R.C=!1,Ye.C=!0,cc(this,Ye),Ye=De.L),Ye.C=De.C,De.C=Ye.L.C=!1,jl(this,De),ve=this._;break}Ye.C=!0,ve=De,De=De.U}while(!ve.C);ve&&(ve.C=!1)}}};function cc(ve,De){var Ye=De,ot=De.R,dt=Ye.U;dt?dt.L===Ye?dt.L=ot:dt.R=ot:ve._=ot,ot.U=dt,Ye.U=ot,Ye.R=ot.L,Ye.R&&(Ye.R.U=Ye),ot.L=Ye}function jl(ve,De){var Ye=De,ot=De.L,dt=Ye.U;dt?dt.L===Ye?dt.L=ot:dt.R=ot:ve._=ot,ot.U=dt,Ye.U=ot,Ye.L=ot.R,Ye.L&&(Ye.L.U=Ye),ot.R=Ye}function Wh(ve){for(;ve.L;)ve=ve.L;return ve}function J1(ve,De){var Ye=ve.sort(ev).pop(),ot,dt,gt;for(na=[],aa=new Array(ve.length),ba=new Fo,Vi=new Fo;;)if(gt=fi,Ye&&(!gt||Ye.y<gt.y||Ye.y===gt.y&&Ye.x<gt.x))(Ye.x!==ot||Ye.y!==dt)&&(aa[Ye.i]=new Hr(Ye),ia(Ye),ot=Ye.x,dt=Ye.y),Ye=ve.pop();else if(gt)Xn(gt.arc);else break;De&&(Ea(De),mn(De));var Bt={cells:aa,edges:na};return ba=Vi=na=aa=null,Bt}function ev(ve,De){return De.y-ve.y||De.x-ve.x}i.geom.voronoi=function(ve){var De=ii,Ye=Za,ot=De,dt=Ye,gt=Ao;if(ve)return Bt(ve);function Bt(er){var tr=new Array(er.length),hr=gt[0][0],Vr=gt[0][1],Gr=gt[1][0],En=gt[1][1];return J1(Lt(er),gt).cells.forEach(function(In,qr){var nn=In.edges,gn=In.site,On=tr[qr]=nn.length?nn.map(function(Un){var Tn=Un.start();return[Tn.x,Tn.y]}):gn.x>=hr&&gn.x<=Gr&&gn.y>=Vr&&gn.y<=En?[[hr,En],[Gr,En],[Gr,Vr],[hr,Vr]]:[];On.point=er[qr]}),tr}function Lt(er){return er.map(function(tr,hr){return{x:Math.round(ot(tr,hr)/Se)*Se,y:Math.round(dt(tr,hr)/Se)*Se,i:hr}})}return Bt.links=function(er){return J1(Lt(er)).edges.filter(function(tr){return tr.l&&tr.r}).map(function(tr){return{source:er[tr.l.i],target:er[tr.r.i]}})},Bt.triangles=function(er){var tr=[];return J1(Lt(er)).cells.forEach(function(hr,Vr){for(var Gr=hr.site,En=hr.edges.sort(cn),In=-1,qr=En.length,nn,gn=En[qr-1].edge,On=gn.l===Gr?gn.r:gn.l;++In<qr;)nn=On,gn=En[In].edge,On=gn.l===Gr?gn.r:gn.l,Vr<nn.i&&Vr<On.i&&sd(Gr,nn,On)<0&&tr.push([er[Vr],er[nn.i],er[On.i]])}),tr},Bt.x=function(er){return arguments.length?(ot=An(De=er),Bt):De},Bt.y=function(er){return arguments.length?(dt=An(Ye=er),Bt):Ye},Bt.clipExtent=function(er){return arguments.length?(gt=er??Ao,Bt):gt===Ao?null:gt},Bt.size=function(er){return arguments.length?Bt.clipExtent(er&&[[0,0],er]):gt===Ao?null:gt&&gt[1]},Bt};var Ao=[[-1e6,-1e6],[1e6,1e6]];function sd(ve,De,Ye){return(ve.x-Ye.x)*(De.y-ve.y)-(ve.x-De.x)*(Ye.y-ve.y)}i.geom.delaunay=function(ve){return i.geom.voronoi().triangles(ve)},i.geom.quadtree=function(ve,De,Ye,ot,dt){var gt=ii,Bt=Za,Lt;if(Lt=arguments.length)return gt=tv,Bt=ml,Lt===3&&(dt=Ye,ot=De,Ye=De=0),er(ve);function er(tr){var hr,Vr=An(gt),Gr=An(Bt),En,In,qr,nn,gn,On,Un,Tn;if(De!=null)gn=De,On=Ye,Un=ot,Tn=dt;else if(Un=Tn=-(gn=On=1/0),En=[],In=[],nn=tr.length,Lt)for(qr=0;qr<nn;++qr)hr=tr[qr],hr.x<gn&&(gn=hr.x),hr.y<On&&(On=hr.y),hr.x>Un&&(Un=hr.x),hr.y>Tn&&(Tn=hr.y),En.push(hr.x),In.push(hr.y);else for(qr=0;qr<nn;++qr){var Qn=+Vr(hr=tr[qr],qr),$a=+Gr(hr,qr);Qn<gn&&(gn=Qn),$a<On&&(On=$a),Qn>Un&&(Un=Qn),$a>Tn&&(Tn=$a),En.push(Qn),In.push($a)}var ti=Un-gn,Fa=Tn-On;ti>Fa?Tn=On+ti:Un=gn+Fa;function Qa(hi,Gi,Ro,el,Vo,Ba,Pi,_i){if(!(isNaN(Ro)||isNaN(el)))if(hi.leaf){var xo=hi.x,Ts=hi.y;if(xo!=null)if(k(xo-Ro)+k(Ts-el)<.01)ri(hi,Gi,Ro,el,Vo,Ba,Pi,_i);else{var No=hi.point;hi.x=hi.y=hi.point=null,ri(hi,No,xo,Ts,Vo,Ba,Pi,_i),ri(hi,Gi,Ro,el,Vo,Ba,Pi,_i)}else hi.x=Ro,hi.y=el,hi.point=Gi}else ri(hi,Gi,Ro,el,Vo,Ba,Pi,_i)}function ri(hi,Gi,Ro,el,Vo,Ba,Pi,_i){var xo=(Vo+Pi)*.5,Ts=(Ba+_i)*.5,No=Ro>=xo,yl=el>=Ts,fl=yl<<1|No;hi.leaf=!1,hi=hi.nodes[fl]||(hi.nodes[fl]=uc()),No?Vo=xo:Pi=xo,yl?Ba=Ts:_i=Ts,Qa(hi,Gi,Ro,el,Vo,Ba,Pi,_i)}var Xi=uc();if(Xi.add=function(hi){Qa(Xi,hi,+Vr(hi,++qr),+Gr(hi,qr),gn,On,Un,Tn)},Xi.visit=function(hi){xf(hi,Xi,gn,On,Un,Tn)},Xi.find=function(hi){return Kh(Xi,hi[0],hi[1],gn,On,Un,Tn)},qr=-1,De==null){for(;++qr<nn;)Qa(Xi,tr[qr],En[qr],In[qr],gn,On,Un,Tn);--qr}else tr.forEach(Xi.add);return En=In=tr=hr=null,Xi}return er.x=function(tr){return arguments.length?(gt=tr,er):gt},er.y=function(tr){return arguments.length?(Bt=tr,er):Bt},er.extent=function(tr){return arguments.length?(tr==null?De=Ye=ot=dt=null:(De=+tr[0][0],Ye=+tr[0][1],ot=+tr[1][0],dt=+tr[1][1]),er):De==null?null:[[De,Ye],[ot,dt]]},er.size=function(tr){return arguments.length?(tr==null?De=Ye=ot=dt=null:(De=Ye=0,ot=+tr[0],dt=+tr[1]),er):De==null?null:[ot-De,dt-Ye]},er};function tv(ve){return ve.x}function ml(ve){return ve.y}function uc(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function xf(ve,De,Ye,ot,dt,gt){if(!ve(De,Ye,ot,dt,gt)){var Bt=(Ye+dt)*.5,Lt=(ot+gt)*.5,er=De.nodes;er[0]&&xf(ve,er[0],Ye,ot,Bt,Lt),er[1]&&xf(ve,er[1],Bt,ot,dt,Lt),er[2]&&xf(ve,er[2],Ye,Lt,Bt,gt),er[3]&&xf(ve,er[3],Bt,Lt,dt,gt)}}function Kh(ve,De,Ye,ot,dt,gt,Bt){var Lt=1/0,er;return function tr(hr,Vr,Gr,En,In){if(!(Vr>gt||Gr>Bt||En<ot||In<dt)){if(qr=hr.point){var qr,nn=De-hr.x,gn=Ye-hr.y,On=nn*nn+gn*gn;if(On<Lt){var Un=Math.sqrt(Lt=On);ot=De-Un,dt=Ye-Un,gt=De+Un,Bt=Ye+Un,er=qr}}for(var Tn=hr.nodes,Qn=(Vr+En)*.5,$a=(Gr+In)*.5,ti=De>=Qn,Fa=Ye>=$a,Qa=Fa<<1|ti,ri=Qa+4;Qa<ri;++Qa)if(hr=Tn[Qa&3])switch(Qa&3){case 0:tr(hr,Vr,Gr,Qn,$a);break;case 1:tr(hr,Qn,Gr,En,$a);break;case 2:tr(hr,Vr,$a,Qn,In);break;case 3:tr(hr,Qn,$a,En,In);break}}}(ve,ot,dt,gt,Bt),er}i.interpolateRgb=Zs;function Zs(ve,De){ve=i.rgb(ve),De=i.rgb(De);var Ye=ve.r,ot=ve.g,dt=ve.b,gt=De.r-Ye,Bt=De.g-ot,Lt=De.b-dt;return function(er){return"#"+Rr(Math.round(Ye+gt*er))+Rr(Math.round(ot+Bt*er))+Rr(Math.round(dt+Lt*er))}}i.interpolateObject=Xh;function Xh(ve,De){var Ye={},ot={},dt;for(dt in ve)dt in De?Ye[dt]=bs(ve[dt],De[dt]):ot[dt]=ve[dt];for(dt in De)dt in ve||(ot[dt]=De[dt]);return function(gt){for(dt in Ye)ot[dt]=Ye[dt](gt);return ot}}i.interpolateNumber=Qs;function Qs(ve,De){return ve=+ve,De=+De,function(Ye){return ve*(1-Ye)+De*Ye}}i.interpolateString=ul;function ul(ve,De){var Ye=qh.lastIndex=kl.lastIndex=0,ot,dt,gt,Bt=-1,Lt=[],er=[];for(ve=ve+"",De=De+"";(ot=qh.exec(ve))&&(dt=kl.exec(De));)(gt=dt.index)>Ye&&(gt=De.slice(Ye,gt),Lt[Bt]?Lt[Bt]+=gt:Lt[++Bt]=gt),(ot=ot[0])===(dt=dt[0])?Lt[Bt]?Lt[Bt]+=dt:Lt[++Bt]=dt:(Lt[++Bt]=null,er.push({i:Bt,x:Qs(ot,dt)})),Ye=kl.lastIndex;return Ye<De.length&&(gt=De.slice(Ye),Lt[Bt]?Lt[Bt]+=gt:Lt[++Bt]=gt),Lt.length<2?er[0]?(De=er[0].x,function(tr){return De(tr)+""}):function(){return De}:(De=er.length,function(tr){for(var hr=0,Vr;hr<De;++hr)Lt[(Vr=er[hr]).i]=Vr.x(tr);return Lt.join("")})}var qh=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,kl=new RegExp(qh.source,"g");i.interpolate=bs;function bs(ve,De){for(var Ye=i.interpolators.length,ot;--Ye>=0&&!(ot=i.interpolators[Ye](ve,De)););return ot}i.interpolators=[function(ve,De){var Ye=typeof De;return(Ye==="string"?Bn.has(De.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(De)?Zs:ul:De instanceof At?Zs:Array.isArray(De)?Tc:Ye==="object"&&isNaN(De)?Xh:Qs)(ve,De)}],i.interpolateArray=Tc;function Tc(ve,De){var Ye=[],ot=[],dt=ve.length,gt=De.length,Bt=Math.min(ve.length,De.length),Lt;for(Lt=0;Lt<Bt;++Lt)Ye.push(bs(ve[Lt],De[Lt]));for(;Lt<dt;++Lt)ot[Lt]=ve[Lt];for(;Lt<gt;++Lt)ot[Lt]=De[Lt];return function(er){for(Lt=0;Lt<Bt;++Lt)ot[Lt]=Ye[Lt](er);return ot}}var Zh=function(){return V},Ac=i.map({linear:Zh,poly:Cm,quad:function(){return bf},cubic:function(){return cd},sin:function(){return Jg},exp:function(){return Qh},circle:function(){return km},elastic:Sf,back:t1,bounce:function(){return nv}}),Am=i.map({in:V,out:Ml,"in-out":rv,"out-in":function(ve){return rv(Ml(ve))}});i.ease=function(ve){var De=ve.indexOf("-"),Ye=De>=0?ve.slice(0,De):ve,ot=De>=0?ve.slice(De+1):"in";return Ye=Ac.get(Ye)||Zh,ot=Am.get(ot)||V,ld(ot(Ye.apply(null,S.call(arguments,1))))};function ld(ve){return function(De){return De<=0?0:De>=1?1:ve(De)}}function Ml(ve){return function(De){return 1-ve(1-De)}}function rv(ve){return function(De){return .5*(De<.5?ve(2*De):2-ve(2-2*De))}}function bf(ve){return ve*ve}function cd(ve){return ve*ve*ve}function Ef(ve){if(ve<=0)return 0;if(ve>=1)return 1;var De=ve*ve,Ye=De*ve;return 4*(ve<.5?Ye:3*(ve-De)+Ye-.75)}function Cm(ve){return function(De){return Math.pow(De,ve)}}function Jg(ve){return 1-Math.cos(ve*ut)}function Qh(ve){return Math.pow(2,10*(ve-1))}function km(ve){return 1-Math.sqrt(1-ve*ve)}function Sf(ve,De){var Ye;return arguments.length<2&&(De=.45),arguments.length?Ye=De/je*Math.asin(1/ve):(ve=1,Ye=De/4),function(ot){return 1+ve*Math.pow(2,-10*ot)*Math.sin((ot-Ye)*je/De)}}function t1(ve){return ve||(ve=1.70158),function(De){return De*De*((ve+1)*De-ve)}}function nv(ve){return ve<.36363636363636365?7.5625*ve*ve:ve<.7272727272727273?7.5625*(ve-=.5454545454545454)*ve+.75:ve<.9090909090909091?7.5625*(ve-=.8181818181818182)*ve+.9375:7.5625*(ve-=.9545454545454546)*ve+.984375}i.interpolateHcl=ey;function ey(ve,De){ve=i.hcl(ve),De=i.hcl(De);var Ye=ve.h,ot=ve.c,dt=ve.l,gt=De.h-Ye,Bt=De.c-ot,Lt=De.l-dt;return isNaN(Bt)&&(Bt=0,ot=isNaN(ot)?De.c:ot),isNaN(gt)?(gt=0,Ye=isNaN(Ye)?De.h:Ye):gt>180?gt-=360:gt<-180&&(gt+=360),function(er){return Zt(Ye+gt*er,ot+Bt*er,dt+Lt*er)+""}}i.interpolateHsl=ty;function ty(ve,De){ve=i.hsl(ve),De=i.hsl(De);var Ye=ve.h,ot=ve.s,dt=ve.l,gt=De.h-Ye,Bt=De.s-ot,Lt=De.l-dt;return isNaN(Bt)&&(Bt=0,ot=isNaN(ot)?De.s:ot),isNaN(gt)?(gt=0,Ye=isNaN(Ye)?De.h:Ye):gt>180?gt-=360:gt<-180&&(gt+=360),function(er){return Pt(Ye+gt*er,ot+Bt*er,dt+Lt*er)+""}}i.interpolateLab=eh;function eh(ve,De){ve=i.lab(ve),De=i.lab(De);var Ye=ve.l,ot=ve.a,dt=ve.b,gt=De.l-Ye,Bt=De.a-ot,Lt=De.b-dt;return function(er){return Xe(Ye+gt*er,ot+Bt*er,dt+Lt*er)+""}}i.interpolateRound=bu;function bu(ve,De){return De-=ve,function(Ye){return Math.round(ve+De*Ye)}}i.transform=function(ve){var De=p.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(Ye){if(Ye!=null){De.setAttribute("transform",Ye);var ot=De.transform.baseVal.consolidate()}return new wf(ot?ot.matrix:Mm)})(ve)};function wf(ve){var De=[ve.a,ve.b],Ye=[ve.c,ve.d],ot=Qp(De),dt=Jh(De,Ye),gt=Qp(Jp(Ye,De,-dt))||0;De[0]*Ye[1]<Ye[0]*De[1]&&(De[0]*=-1,De[1]*=-1,ot*=-1,dt*=-1),this.rotate=(ot?Math.atan2(De[1],De[0]):Math.atan2(-Ye[0],Ye[1]))*wt,this.translate=[ve.e,ve.f],this.scale=[ot,gt],this.skew=gt?Math.atan2(dt,gt)*wt:0}wf.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};function Jh(ve,De){return ve[0]*De[0]+ve[1]*De[1]}function Qp(ve){var De=Math.sqrt(Jh(ve,ve));return De&&(ve[0]/=De,ve[1]/=De),De}function Jp(ve,De,Ye){return ve[0]+=Ye*De[0],ve[1]+=Ye*De[1],ve}var Mm={a:1,b:0,c:0,d:1,e:0,f:0};i.interpolateTransform=Ni;function Ud(ve){return ve.length?ve.pop()+",":""}function ep(ve,De,Ye,ot){if(ve[0]!==De[0]||ve[1]!==De[1]){var dt=Ye.push("translate(",null,",",null,")");ot.push({i:dt-4,x:Qs(ve[0],De[0])},{i:dt-2,x:Qs(ve[1],De[1])})}else(De[0]||De[1])&&Ye.push("translate("+De+")")}function Yn(ve,De,Ye,ot){ve!==De?(ve-De>180?De+=360:De-ve>180&&(ve+=360),ot.push({i:Ye.push(Ud(Ye)+"rotate(",null,")")-2,x:Qs(ve,De)})):De&&Ye.push(Ud(Ye)+"rotate("+De+")")}function ka(ve,De,Ye,ot){ve!==De?ot.push({i:Ye.push(Ud(Ye)+"skewX(",null,")")-2,x:Qs(ve,De)}):De&&Ye.push(Ud(Ye)+"skewX("+De+")")}function xa(ve,De,Ye,ot){if(ve[0]!==De[0]||ve[1]!==De[1]){var dt=Ye.push(Ud(Ye)+"scale(",null,",",null,")");ot.push({i:dt-4,x:Qs(ve[0],De[0])},{i:dt-2,x:Qs(ve[1],De[1])})}else(De[0]!==1||De[1]!==1)&&Ye.push(Ud(Ye)+"scale("+De+")")}function Ni(ve,De){var Ye=[],ot=[];return ve=i.transform(ve),De=i.transform(De),ep(ve.translate,De.translate,Ye,ot),Yn(ve.rotate,De.rotate,Ye,ot),ka(ve.skew,De.skew,Ye,ot),xa(ve.scale,De.scale,Ye,ot),ve=De=null,function(dt){for(var gt=-1,Bt=ot.length,Lt;++gt<Bt;)Ye[(Lt=ot[gt]).i]=Lt.x(dt);return Ye.join("")}}function eo(ve,De){return De=(De-=ve=+ve)||1/De,function(Ye){return(Ye-ve)/De}}function $o(ve,De){return De=(De-=ve=+ve)||1/De,function(Ye){return Math.max(0,Math.min(1,(Ye-ve)/De))}}i.layout={},i.layout.bundle=function(){return function(ve){for(var De=[],Ye=-1,ot=ve.length;++Ye<ot;)De.push(Hs(ve[Ye]));return De}};function Hs(ve){for(var De=ve.source,Ye=ve.target,ot=ud(De,Ye),dt=[De];De!==ot;)De=De.parent,dt.push(De);for(var gt=dt.length;Ye!==ot;)dt.splice(gt,0,Ye),Ye=Ye.parent;return dt}function vs(ve){for(var De=[],Ye=ve.parent;Ye!=null;)De.push(ve),ve=Ye,Ye=Ye.parent;return De.push(ve),De}function ud(ve,De){if(ve===De)return ve;for(var Ye=vs(ve),ot=vs(De),dt=Ye.pop(),gt=ot.pop(),Bt=null;dt===gt;)Bt=dt,dt=Ye.pop(),gt=ot.pop();return Bt}i.layout.chord=function(){var ve={},De,Ye,ot,dt,gt=0,Bt,Lt,er;function tr(){var Vr={},Gr=[],En=i.range(dt),In=[],qr,nn,gn,On,Un;for(De=[],Ye=[],qr=0,On=-1;++On<dt;){for(nn=0,Un=-1;++Un<dt;)nn+=ot[On][Un];Gr.push(nn),In.push(i.range(dt)),qr+=nn}for(Bt&&En.sort(function(Xi,hi){return Bt(Gr[Xi],Gr[hi])}),Lt&&In.forEach(function(Xi,hi){Xi.sort(function(Gi,Ro){return Lt(ot[hi][Gi],ot[hi][Ro])})}),qr=(je-gt*dt)/qr,nn=0,On=-1;++On<dt;){for(gn=nn,Un=-1;++Un<dt;){var Tn=En[On],Qn=In[Tn][Un],$a=ot[Tn][Qn],ti=nn,Fa=nn+=$a*qr;Vr[Tn+"-"+Qn]={index:Tn,subindex:Qn,startAngle:ti,endAngle:Fa,value:$a}}Ye[Tn]={index:Tn,startAngle:gn,endAngle:nn,value:Gr[Tn]},nn+=gt}for(On=-1;++On<dt;)for(Un=On-1;++Un<dt;){var Qa=Vr[On+"-"+Un],ri=Vr[Un+"-"+On];(Qa.value||ri.value)&&De.push(Qa.value<ri.value?{source:ri,target:Qa}:{source:Qa,target:ri})}er&&hr()}function hr(){De.sort(function(Vr,Gr){return er((Vr.source.value+Vr.target.value)/2,(Gr.source.value+Gr.target.value)/2)})}return ve.matrix=function(Vr){return arguments.length?(dt=(ot=Vr)&&ot.length,De=Ye=null,ve):ot},ve.padding=function(Vr){return arguments.length?(gt=Vr,De=Ye=null,ve):gt},ve.sortGroups=function(Vr){return arguments.length?(Bt=Vr,De=Ye=null,ve):Bt},ve.sortSubgroups=function(Vr){return arguments.length?(Lt=Vr,De=null,ve):Lt},ve.sortChords=function(Vr){return arguments.length?(er=Vr,De&&hr(),ve):er},ve.chords=function(){return De||tr(),De},ve.groups=function(){return Ye||tr(),Ye},ve},i.layout.force=function(){var ve={},De=i.dispatch("start","tick","end"),Ye,ot=[1,1],dt,gt,Bt=.9,Lt=tp,er=r1,tr=-30,hr=cs,Vr=.1,Gr=.64,En=[],In=[],qr,nn,gn;function On(Tn){return function(Qn,$a,ti,Fa){if(Qn.point!==Tn){var Qa=Qn.cx-Tn.x,ri=Qn.cy-Tn.y,Xi=Fa-$a,hi=Qa*Qa+ri*ri;if(Xi*Xi/Gr<hi){if(hi<hr){var Gi=Qn.charge/hi;Tn.px-=Qa*Gi,Tn.py-=ri*Gi}return!0}if(Qn.point&&hi&&hi<hr){var Gi=Qn.pointCharge/hi;Tn.px-=Qa*Gi,Tn.py-=ri*Gi}}return!Qn.charge}}ve.tick=function(){if((gt*=.99)<.005)return Ye=null,De.end({type:"end",alpha:gt=0}),!0;var Tn=En.length,Qn=In.length,$a,ti,Fa,Qa,ri,Xi,hi,Gi,Ro;for(ti=0;ti<Qn;++ti)Fa=In[ti],Qa=Fa.source,ri=Fa.target,Gi=ri.x-Qa.x,Ro=ri.y-Qa.y,(Xi=Gi*Gi+Ro*Ro)&&(Xi=gt*nn[ti]*((Xi=Math.sqrt(Xi))-qr[ti])/Xi,Gi*=Xi,Ro*=Xi,ri.x-=Gi*(hi=Qa.weight+ri.weight?Qa.weight/(Qa.weight+ri.weight):.5),ri.y-=Ro*hi,Qa.x+=Gi*(hi=1-hi),Qa.y+=Ro*hi);if((hi=gt*Vr)&&(Gi=ot[0]/2,Ro=ot[1]/2,ti=-1,hi))for(;++ti<Tn;)Fa=En[ti],Fa.x+=(Gi-Fa.x)*hi,Fa.y+=(Ro-Fa.y)*hi;if(tr)for(ws($a=i.geom.quadtree(En),gt,gn),ti=-1;++ti<Tn;)(Fa=En[ti]).fixed||$a.visit(On(Fa));for(ti=-1;++ti<Tn;)Fa=En[ti],Fa.fixed?(Fa.x=Fa.px,Fa.y=Fa.py):(Fa.x-=(Fa.px-(Fa.px=Fa.x))*Bt,Fa.y-=(Fa.py-(Fa.py=Fa.y))*Bt);De.tick({type:"tick",alpha:gt})},ve.nodes=function(Tn){return arguments.length?(En=Tn,ve):En},ve.links=function(Tn){return arguments.length?(In=Tn,ve):In},ve.size=function(Tn){return arguments.length?(ot=Tn,ve):ot},ve.linkDistance=function(Tn){return arguments.length?(Lt=typeof Tn=="function"?Tn:+Tn,ve):Lt},ve.distance=ve.linkDistance,ve.linkStrength=function(Tn){return arguments.length?(er=typeof Tn=="function"?Tn:+Tn,ve):er},ve.friction=function(Tn){return arguments.length?(Bt=+Tn,ve):Bt},ve.charge=function(Tn){return arguments.length?(tr=typeof Tn=="function"?Tn:+Tn,ve):tr},ve.chargeDistance=function(Tn){return arguments.length?(hr=Tn*Tn,ve):Math.sqrt(hr)},ve.gravity=function(Tn){return arguments.length?(Vr=+Tn,ve):Vr},ve.theta=function(Tn){return arguments.length?(Gr=Tn*Tn,ve):Math.sqrt(Gr)},ve.alpha=function(Tn){return arguments.length?(Tn=+Tn,gt?Tn>0?gt=Tn:(Ye.c=null,Ye.t=NaN,Ye=null,De.end({type:"end",alpha:gt=0})):Tn>0&&(De.start({type:"start",alpha:gt=Tn}),Ye=da(ve.tick)),ve):gt},ve.start=function(){var Tn,Qn=En.length,$a=In.length,ti=ot[0],Fa=ot[1],Qa,ri;for(Tn=0;Tn<Qn;++Tn)(ri=En[Tn]).index=Tn,ri.weight=0;for(Tn=0;Tn<$a;++Tn)ri=In[Tn],typeof ri.source=="number"&&(ri.source=En[ri.source]),typeof ri.target=="number"&&(ri.target=En[ri.target]),++ri.source.weight,++ri.target.weight;for(Tn=0;Tn<Qn;++Tn)ri=En[Tn],isNaN(ri.x)&&(ri.x=Xi("x",ti)),isNaN(ri.y)&&(ri.y=Xi("y",Fa)),isNaN(ri.px)&&(ri.px=ri.x),isNaN(ri.py)&&(ri.py=ri.y);if(qr=[],typeof Lt=="function")for(Tn=0;Tn<$a;++Tn)qr[Tn]=+Lt.call(this,In[Tn],Tn);else for(Tn=0;Tn<$a;++Tn)qr[Tn]=Lt;if(nn=[],typeof er=="function")for(Tn=0;Tn<$a;++Tn)nn[Tn]=+er.call(this,In[Tn],Tn);else for(Tn=0;Tn<$a;++Tn)nn[Tn]=er;if(gn=[],typeof tr=="function")for(Tn=0;Tn<Qn;++Tn)gn[Tn]=+tr.call(this,En[Tn],Tn);else for(Tn=0;Tn<Qn;++Tn)gn[Tn]=tr;function Xi(hi,Gi){if(!Qa){for(Qa=new Array(Qn),Vo=0;Vo<Qn;++Vo)Qa[Vo]=[];for(Vo=0;Vo<$a;++Vo){var Ro=In[Vo];Qa[Ro.source.index].push(Ro.target),Qa[Ro.target.index].push(Ro.source)}}for(var el=Qa[Tn],Vo=-1,Ba=el.length,Pi;++Vo<Ba;)if(!isNaN(Pi=el[Vo][hi]))return Pi;return Math.random()*Gi}return ve.resume()},ve.resume=function(){return ve.alpha(.1)},ve.stop=function(){return ve.alpha(0)},ve.drag=function(){if(dt||(dt=i.behavior.drag().origin(V).on("dragstart.force",dd).on("drag.force",Un).on("dragend.force",Uc)),!arguments.length)return dt;this.on("mouseover.force",$d).on("mouseout.force",zu).call(dt)};function Un(Tn){Tn.px=i.event.x,Tn.py=i.event.y,ve.resume()}return i.rebind(ve,De,"on")};function dd(ve){ve.fixed|=2}function Uc(ve){ve.fixed&=-7}function $d(ve){ve.fixed|=4,ve.px=ve.x,ve.py=ve.y}function zu(ve){ve.fixed&=-5}function ws(ve,De,Ye){var ot=0,dt=0;if(ve.charge=0,!ve.leaf)for(var gt=ve.nodes,Bt=gt.length,Lt=-1,er;++Lt<Bt;)er=gt[Lt],er!=null&&(ws(er,De,Ye),ve.charge+=er.charge,ot+=er.charge*er.cx,dt+=er.charge*er.cy);if(ve.point){ve.leaf||(ve.point.x+=Math.random()-.5,ve.point.y+=Math.random()-.5);var tr=De*Ye[ve.point.index];ve.charge+=ve.pointCharge=tr,ot+=tr*ve.point.x,dt+=tr*ve.point.y}ve.cx=ot/ve.charge,ve.cy=dt/ve.charge}var tp=20,r1=1,cs=1/0;i.layout.hierarchy=function(){var ve=a1,De=n1,Ye=np;function ot(dt){var gt=[dt],Bt=[],Lt;for(dt.depth=0;(Lt=gt.pop())!=null;)if(Bt.push(Lt),(tr=De.call(ot,Lt,Lt.depth))&&(er=tr.length)){for(var er,tr,hr;--er>=0;)gt.push(hr=tr[er]),hr.parent=Lt,hr.depth=Lt.depth+1;Ye&&(Lt.value=0),Lt.children=tr}else Ye&&(Lt.value=+Ye.call(ot,Lt,Lt.depth)||0),delete Lt.children;return Yl(dt,function(Vr){var Gr,En;ve&&(Gr=Vr.children)&&Gr.sort(ve),Ye&&(En=Vr.parent)&&(En.value+=Vr.value)}),Bt}return ot.sort=function(dt){return arguments.length?(ve=dt,ot):ve},ot.children=function(dt){return arguments.length?(De=dt,ot):De},ot.value=function(dt){return arguments.length?(Ye=dt,ot):Ye},ot.revalue=function(dt){return Ye&&(th(dt,function(gt){gt.children&&(gt.value=0)}),Yl(dt,function(gt){var Bt;gt.children||(gt.value=+Ye.call(ot,gt,gt.depth)||0),(Bt=gt.parent)&&(Bt.value+=gt.value)})),dt},ot};function rp(ve,De){return i.rebind(ve,De,"sort","children","value"),ve.nodes=ve,ve.links=i1,ve}function th(ve,De){for(var Ye=[ve];(ve=Ye.pop())!=null;)if(De(ve),(dt=ve.children)&&(ot=dt.length))for(var ot,dt;--ot>=0;)Ye.push(dt[ot])}function Yl(ve,De){for(var Ye=[ve],ot=[];(ve=Ye.pop())!=null;)if(ot.push(ve),(Bt=ve.children)&&(gt=Bt.length))for(var dt=-1,gt,Bt;++dt<gt;)Ye.push(Bt[dt]);for(;(ve=ot.pop())!=null;)De(ve)}function n1(ve){return ve.children}function np(ve){return ve.value}function a1(ve,De){return De.value-ve.value}function i1(ve){return i.merge(ve.map(function(De){return(De.children||[]).map(function(Ye){return{source:De,target:Ye}})}))}i.layout.partition=function(){var ve=i.layout.hierarchy(),De=[1,1];function Ye(gt,Bt,Lt,er){var tr=gt.children;if(gt.x=Bt,gt.y=gt.depth*er,gt.dx=Lt,gt.dy=er,tr&&(Vr=tr.length)){var hr=-1,Vr,Gr,En;for(Lt=gt.value?Lt/gt.value:0;++hr<Vr;)Ye(Gr=tr[hr],Bt,En=Gr.value*Lt,er),Bt+=En}}function ot(gt){var Bt=gt.children,Lt=0;if(Bt&&(tr=Bt.length))for(var er=-1,tr;++er<tr;)Lt=Math.max(Lt,ot(Bt[er]));return 1+Lt}function dt(gt,Bt){var Lt=ve.call(this,gt,Bt);return Ye(Lt[0],0,De[0],De[1]/ot(Lt[0])),Lt}return dt.size=function(gt){return arguments.length?(De=gt,dt):De},rp(dt,ve)},i.layout.pie=function(){var ve=Number,De=Hd,Ye=0,ot=je,dt=0;function gt(Bt){var Lt=Bt.length,er=Bt.map(function(On,Un){return+ve.call(gt,On,Un)}),tr=+(typeof Ye=="function"?Ye.apply(this,arguments):Ye),hr=(typeof ot=="function"?ot.apply(this,arguments):ot)-tr,Vr=Math.min(Math.abs(hr)/Lt,+(typeof dt=="function"?dt.apply(this,arguments):dt)),Gr=Vr*(hr<0?-1:1),En=i.sum(er),In=En?(hr-Lt*Gr)/En:0,qr=i.range(Lt),nn=[],gn;return De!=null&&qr.sort(De===Hd?function(On,Un){return er[Un]-er[On]}:function(On,Un){return De(Bt[On],Bt[Un])}),qr.forEach(function(On){nn[On]={data:Bt[On],value:gn=er[On],startAngle:tr,endAngle:tr+=gn*In+Gr,padAngle:Vr}}),nn}return gt.value=function(Bt){return arguments.length?(ve=Bt,gt):ve},gt.sort=function(Bt){return arguments.length?(De=Bt,gt):De},gt.startAngle=function(Bt){return arguments.length?(Ye=Bt,gt):Ye},gt.endAngle=function(Bt){return arguments.length?(ot=Bt,gt):ot},gt.padAngle=function(Bt){return arguments.length?(dt=Bt,gt):dt},gt};var Hd={};i.layout.stack=function(){var ve=V,De=Tf,Ye=t0,ot=ip,dt=ap,gt=o1;function Bt(Lt,er){if(!(In=Lt.length))return Lt;var tr=Lt.map(function(On,Un){return ve.call(Bt,On,Un)}),hr=tr.map(function(On){return On.map(function(Un,Tn){return[dt.call(Bt,Un,Tn),gt.call(Bt,Un,Tn)]})}),Vr=De.call(Bt,hr,er);tr=i.permute(tr,Vr),hr=i.permute(hr,Vr);var Gr=Ye.call(Bt,hr,er),En=tr[0].length,In,qr,nn,gn;for(nn=0;nn<En;++nn)for(ot.call(Bt,tr[0][nn],gn=Gr[nn],hr[0][nn][1]),qr=1;qr<In;++qr)ot.call(Bt,tr[qr][nn],gn+=hr[qr-1][nn][1],hr[qr][nn][1]);return Lt}return Bt.values=function(Lt){return arguments.length?(ve=Lt,Bt):ve},Bt.order=function(Lt){return arguments.length?(De=typeof Lt=="function"?Lt:rh.get(Lt)||Tf,Bt):De},Bt.offset=function(Lt){return arguments.length?(Ye=typeof Lt=="function"?Lt:e0.get(Lt)||t0,Bt):Ye},Bt.x=function(Lt){return arguments.length?(dt=Lt,Bt):dt},Bt.y=function(Lt){return arguments.length?(gt=Lt,Bt):gt},Bt.out=function(Lt){return arguments.length?(ot=Lt,Bt):ot},Bt};function ap(ve){return ve.x}function o1(ve){return ve.y}function ip(ve,De,Ye){ve.y0=De,ve.y=Ye}var rh=i.map({"inside-out":function(ve){var De=ve.length,Ye,ot,dt=ve.map(ts),gt=ve.map(Af),Bt=i.range(De).sort(function(Vr,Gr){return dt[Vr]-dt[Gr]}),Lt=0,er=0,tr=[],hr=[];for(Ye=0;Ye<De;++Ye)ot=Bt[Ye],Lt<er?(Lt+=gt[ot],tr.push(ot)):(er+=gt[ot],hr.push(ot));return hr.reverse().concat(tr)},reverse:function(ve){return i.range(ve.length).reverse()},default:Tf}),e0=i.map({silhouette:function(ve){var De=ve.length,Ye=ve[0].length,ot=[],dt=0,gt,Bt,Lt,er=[];for(Bt=0;Bt<Ye;++Bt){for(gt=0,Lt=0;gt<De;gt++)Lt+=ve[gt][Bt][1];Lt>dt&&(dt=Lt),ot.push(Lt)}for(Bt=0;Bt<Ye;++Bt)er[Bt]=(dt-ot[Bt])/2;return er},wiggle:function(ve){var De=ve.length,Ye=ve[0],ot=Ye.length,dt,gt,Bt,Lt,er,tr,hr,Vr,Gr,En=[];for(En[0]=Vr=Gr=0,gt=1;gt<ot;++gt){for(dt=0,Lt=0;dt<De;++dt)Lt+=ve[dt][gt][1];for(dt=0,er=0,hr=Ye[gt][0]-Ye[gt-1][0];dt<De;++dt){for(Bt=0,tr=(ve[dt][gt][1]-ve[dt][gt-1][1])/(2*hr);Bt<dt;++Bt)tr+=(ve[Bt][gt][1]-ve[Bt][gt-1][1])/hr;er+=tr*ve[dt][gt][1]}En[gt]=Vr-=Lt?er/Lt*hr:0,Vr<Gr&&(Gr=Vr)}for(gt=0;gt<ot;++gt)En[gt]-=Gr;return En},expand:function(ve){var De=ve.length,Ye=ve[0].length,ot=1/De,dt,gt,Bt,Lt=[];for(gt=0;gt<Ye;++gt){for(dt=0,Bt=0;dt<De;dt++)Bt+=ve[dt][gt][1];if(Bt)for(dt=0;dt<De;dt++)ve[dt][gt][1]/=Bt;else for(dt=0;dt<De;dt++)ve[dt][gt][1]=ot}for(gt=0;gt<Ye;++gt)Lt[gt]=0;return Lt},zero:t0});function Tf(ve){return i.range(ve.length)}function t0(ve){for(var De=-1,Ye=ve[0].length,ot=[];++De<Ye;)ot[De]=0;return ot}function ts(ve){for(var De=1,Ye=0,ot=ve[0][1],dt,gt=ve.length;De<gt;++De)(dt=ve[De][1])>ot&&(Ye=De,ot=dt);return Ye}function Af(ve){return ve.reduce($c,0)}function $c(ve,De){return ve+De[1]}i.layout.histogram=function(){var ve=!0,De=Number,Ye=nh,ot=Rm;function dt(gt,Gr){for(var Lt=[],er=gt.map(De,this),tr=Ye.call(this,er,Gr),hr=ot.call(this,tr,er,Gr),Vr,Gr=-1,En=er.length,In=hr.length-1,qr=ve?1:1/En,nn;++Gr<In;)Vr=Lt[Gr]=[],Vr.dx=hr[Gr+1]-(Vr.x=hr[Gr]),Vr.y=0;if(In>0)for(Gr=-1;++Gr<En;)nn=er[Gr],nn>=tr[0]&&nn<=tr[1]&&(Vr=Lt[i.bisect(hr,nn,1,In)-1],Vr.y+=qr,Vr.push(gt[Gr]));return Lt}return dt.value=function(gt){return arguments.length?(De=gt,dt):De},dt.range=function(gt){return arguments.length?(Ye=An(gt),dt):Ye},dt.bins=function(gt){return arguments.length?(ot=typeof gt=="number"?function(Bt){return av(Bt,gt)}:An(gt),dt):ot},dt.frequency=function(gt){return arguments.length?(ve=!!gt,dt):ve},dt};function Rm(ve,De){return av(ve,Math.ceil(Math.log(De.length)/Math.LN2+1))}function av(ve,De){for(var Ye=-1,ot=+ve[0],dt=(ve[1]-ot)/De,gt=[];++Ye<=De;)gt[Ye]=dt*Ye+ot;return gt}function nh(ve){return[i.min(ve),i.max(ve)]}i.layout.pack=function(){var ve=i.layout.hierarchy().sort(Uu),De=0,Ye=[1,1],ot;function dt(gt,Bt){var Lt=ve.call(this,gt,Bt),er=Lt[0],tr=Ye[0],hr=Ye[1],Vr=ot==null?Math.sqrt:typeof ot=="function"?ot:function(){return ot};if(er.x=er.y=0,Yl(er,function(En){En.r=+Vr(En.value)}),Yl(er,Eu),De){var Gr=De*(ot?1:Math.max(2*er.r/tr,2*er.r/hr))/2;Yl(er,function(En){En.r+=Gr}),Yl(er,Eu),Yl(er,function(En){En.r-=Gr})}return Os(er,tr/2,hr/2,ot?1:1/Math.max(2*er.r/tr,2*er.r/hr)),Lt}return dt.size=function(gt){return arguments.length?(Ye=gt,dt):Ye},dt.radius=function(gt){return arguments.length?(ot=gt==null||typeof gt=="function"?gt:+gt,dt):ot},dt.padding=function(gt){return arguments.length?(De=+gt,dt):De},rp(dt,ve)};function Uu(ve,De){return ve.value-De.value}function ah(ve,De){var Ye=ve._pack_next;ve._pack_next=De,De._pack_prev=ve,De._pack_next=Ye,Ye._pack_prev=De}function Xs(ve,De){ve._pack_next=De,De._pack_prev=ve}function r0(ve,De){var Ye=De.x-ve.x,ot=De.y-ve.y,dt=ve.r+De.r;return .999*dt*dt>Ye*Ye+ot*ot}function Eu(ve){if(!(De=ve.children)||!(Gr=De.length))return;var De,Ye=1/0,ot=-1/0,dt=1/0,gt=-1/0,Bt,Lt,er,tr,hr,Vr,Gr;function En(Tn){Ye=Math.min(Tn.x-Tn.r,Ye),ot=Math.max(Tn.x+Tn.r,ot),dt=Math.min(Tn.y-Tn.r,dt),gt=Math.max(Tn.y+Tn.r,gt)}if(De.forEach(Vd),Bt=De[0],Bt.x=-Bt.r,Bt.y=0,En(Bt),Gr>1&&(Lt=De[1],Lt.x=Lt.r,Lt.y=0,En(Lt),Gr>2))for(er=De[2],Ds(Bt,Lt,er),En(er),ah(Bt,er),Bt._pack_prev=er,ah(er,Lt),Lt=Bt._pack_next,tr=3;tr<Gr;tr++){Ds(Bt,Lt,er=De[tr]);var In=0,qr=1,nn=1;for(hr=Lt._pack_next;hr!==Lt;hr=hr._pack_next,qr++)if(r0(hr,er)){In=1;break}if(In==1)for(Vr=Bt._pack_prev;Vr!==hr._pack_prev&&!r0(Vr,er);Vr=Vr._pack_prev,nn++);In?(qr<nn||qr==nn&&Lt.r<Bt.r?Xs(Bt,Lt=hr):Xs(Bt=Vr,Lt),tr--):(ah(Bt,er),Lt=er,En(er))}var gn=(Ye+ot)/2,On=(dt+gt)/2,Un=0;for(tr=0;tr<Gr;tr++)er=De[tr],er.x-=gn,er.y-=On,Un=Math.max(Un,er.r+Math.sqrt(er.x*er.x+er.y*er.y));ve.r=Un,De.forEach(ih)}function Vd(ve){ve._pack_next=ve._pack_prev=ve}function ih(ve){delete ve._pack_next,delete ve._pack_prev}function Os(ve,De,Ye,ot){var dt=ve.children;if(ve.x=De+=ot*ve.x,ve.y=Ye+=ot*ve.y,ve.r*=ot,dt)for(var gt=-1,Bt=dt.length;++gt<Bt;)Os(dt[gt],De,Ye,ot)}function Ds(ve,De,Ye){var ot=ve.r+Ye.r,dt=De.x-ve.x,gt=De.y-ve.y;if(ot&&(dt||gt)){var Bt=De.r+Ye.r,Lt=dt*dt+gt*gt;Bt*=Bt,ot*=ot;var er=.5+(ot-Bt)/(2*Lt),tr=Math.sqrt(Math.max(0,2*Bt*(ot+Lt)-(ot-=Lt)*ot-Bt*Bt))/(2*Lt);Ye.x=ve.x+er*dt+tr*gt,Ye.y=ve.y+er*gt-tr*dt}else Ye.x=ve.x+ot,Ye.y=ve.y}i.layout.tree=function(){var ve=i.layout.hierarchy().sort(null).value(null),De=Gd,Ye=[1,1],ot=null;function dt(hr,Vr){var Gr=ve.call(this,hr,Vr),En=Gr[0],In=gt(En);if(Yl(In,Bt),In.parent.m=-In.z,th(In,Lt),ot)th(En,tr);else{var qr=En,nn=En,gn=En;th(En,function(Qn){Qn.x<qr.x&&(qr=Qn),Qn.x>nn.x&&(nn=Qn),Qn.depth>gn.depth&&(gn=Qn)});var On=De(qr,nn)/2-qr.x,Un=Ye[0]/(nn.x+De(nn,qr)/2+On),Tn=Ye[1]/(gn.depth||1);th(En,function(Qn){Qn.x=(Qn.x+On)*Un,Qn.y=Qn.depth*Tn})}return Gr}function gt(hr){for(var Vr={A:null,children:[hr]},Gr=[Vr],En;(En=Gr.pop())!=null;)for(var In=En.children,qr,nn=0,gn=In.length;nn<gn;++nn)Gr.push((In[nn]=qr={_:In[nn],parent:En,children:(qr=In[nn].children)&&qr.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:nn}).a=qr);return Vr.children[0]}function Bt(hr){var Vr=hr.children,Gr=hr.parent.children,En=hr.i?Gr[hr.i-1]:null;if(Vr.length){iv(hr);var In=(Vr[0].z+Vr[Vr.length-1].z)/2;En?(hr.z=En.z+De(hr._,En._),hr.m=hr.z-In):hr.z=In}else En&&(hr.z=En.z+De(hr._,En._));hr.parent.A=er(hr,En,hr.parent.A||Gr[0])}function Lt(hr){hr._.x=hr.z+hr.parent.m,hr.m+=hr.parent.m}function er(hr,Vr,Gr){if(Vr){for(var En=hr,In=hr,qr=Vr,nn=En.parent.children[0],gn=En.m,On=In.m,Un=qr.m,Tn=nn.m,Qn;qr=au(qr),En=$u(En),qr&&En;)nn=$u(nn),In=au(In),In.a=hr,Qn=qr.z+Un-En.z-gn+De(qr._,En._),Qn>0&&(n0(a0(qr,hr,Gr),hr,Qn),gn+=Qn,On+=Qn),Un+=qr.m,gn+=En.m,Tn+=nn.m,On+=In.m;qr&&!au(In)&&(In.t=qr,In.m+=Un-On),En&&!$u(nn)&&(nn.t=En,nn.m+=gn-Tn,Gr=hr)}return Gr}function tr(hr){hr.x*=Ye[0],hr.y=hr.depth*Ye[1]}return dt.separation=function(hr){return arguments.length?(De=hr,dt):De},dt.size=function(hr){return arguments.length?(ot=(Ye=hr)==null?tr:null,dt):ot?null:Ye},dt.nodeSize=function(hr){return arguments.length?(ot=(Ye=hr)==null?null:tr,dt):ot?Ye:null},rp(dt,ve)};function Gd(ve,De){return ve.parent==De.parent?1:2}function $u(ve){var De=ve.children;return De.length?De[0]:ve.t}function au(ve){var De=ve.children,Ye;return(Ye=De.length)?De[Ye-1]:ve.t}function n0(ve,De,Ye){var ot=Ye/(De.i-ve.i);De.c-=ot,De.s+=Ye,ve.c+=ot,De.z+=Ye,De.m+=Ye}function iv(ve){for(var De=0,Ye=0,ot=ve.children,dt=ot.length,gt;--dt>=0;)gt=ot[dt],gt.z+=De,gt.m+=De,De+=gt.s+(Ye+=gt.c)}function a0(ve,De,Ye){return ve.a.parent===De.parent?ve.a:Ye}i.layout.cluster=function(){var ve=i.layout.hierarchy().sort(null).value(null),De=Gd,Ye=[1,1],ot=!1;function dt(gt,Bt){var Lt=ve.call(this,gt,Bt),er=Lt[0],tr,hr=0;Yl(er,function(qr){var nn=qr.children;nn&&nn.length?(qr.x=op(nn),qr.y=ov(nn)):(qr.x=tr?hr+=De(qr,tr):0,qr.y=0,tr=qr)});var Vr=oh(er),Gr=sp(er),En=Vr.x-De(Vr,Gr)/2,In=Gr.x+De(Gr,Vr)/2;return Yl(er,ot?function(qr){qr.x=(qr.x-er.x)*Ye[0],qr.y=(er.y-qr.y)*Ye[1]}:function(qr){qr.x=(qr.x-En)/(In-En)*Ye[0],qr.y=(1-(er.y?qr.y/er.y:1))*Ye[1]}),Lt}return dt.separation=function(gt){return arguments.length?(De=gt,dt):De},dt.size=function(gt){return arguments.length?(ot=(Ye=gt)==null,dt):ot?null:Ye},dt.nodeSize=function(gt){return arguments.length?(ot=(Ye=gt)!=null,dt):ot?Ye:null},rp(dt,ve)};function ov(ve){return 1+i.max(ve,function(De){return De.y})}function op(ve){return ve.reduce(function(De,Ye){return De+Ye.x},0)/ve.length}function oh(ve){var De=ve.children;return De&&De.length?oh(De[0]):ve}function sp(ve){var De=ve.children,Ye;return De&&(Ye=De.length)?sp(De[Ye-1]):ve}i.layout.treemap=function(){var ve=i.layout.hierarchy(),De=Math.round,Ye=[1,1],ot=null,dt=jd,gt=!1,Bt,Lt="squarify",er=.5*(1+Math.sqrt(5));function tr(qr,nn){for(var gn=-1,On=qr.length,Un,Tn;++gn<On;)Tn=(Un=qr[gn]).value*(nn<0?0:nn),Un.area=isNaN(Tn)||Tn<=0?0:Tn}function hr(qr){var nn=qr.children;if(nn&&nn.length){var gn=dt(qr),On=[],Un=nn.slice(),Tn,Qn=1/0,$a,ti=Lt==="slice"?gn.dx:Lt==="dice"?gn.dy:Lt==="slice-dice"?qr.depth&1?gn.dy:gn.dx:Math.min(gn.dx,gn.dy),Fa;for(tr(Un,gn.dx*gn.dy/qr.value),On.area=0;(Fa=Un.length)>0;)On.push(Tn=Un[Fa-1]),On.area+=Tn.area,Lt!=="squarify"||($a=Gr(On,ti))<=Qn?(Un.pop(),Qn=$a):(On.area-=On.pop().area,En(On,ti,gn,!1),ti=Math.min(gn.dx,gn.dy),On.length=On.area=0,Qn=1/0);On.length&&(En(On,ti,gn,!0),On.length=On.area=0),nn.forEach(hr)}}function Vr(qr){var nn=qr.children;if(nn&&nn.length){var gn=dt(qr),On=nn.slice(),Un,Tn=[];for(tr(On,gn.dx*gn.dy/qr.value),Tn.area=0;Un=On.pop();)Tn.push(Un),Tn.area+=Un.area,Un.z!=null&&(En(Tn,Un.z?gn.dx:gn.dy,gn,!On.length),Tn.length=Tn.area=0);nn.forEach(Vr)}}function Gr(qr,nn){for(var gn=qr.area,On,Un=0,Tn=1/0,Qn=-1,$a=qr.length;++Qn<$a;)(On=qr[Qn].area)&&(On<Tn&&(Tn=On),On>Un&&(Un=On));return gn*=gn,nn*=nn,gn?Math.max(nn*Un*er/gn,gn/(nn*Tn*er)):1/0}function En(qr,nn,gn,On){var Un=-1,Tn=qr.length,Qn=gn.x,$a=gn.y,ti=nn?De(qr.area/nn):0,Fa;if(nn==gn.dx){for((On||ti>gn.dy)&&(ti=gn.dy);++Un<Tn;)Fa=qr[Un],Fa.x=Qn,Fa.y=$a,Fa.dy=ti,Qn+=Fa.dx=Math.min(gn.x+gn.dx-Qn,ti?De(Fa.area/ti):0);Fa.z=!0,Fa.dx+=gn.x+gn.dx-Qn,gn.y+=ti,gn.dy-=ti}else{for((On||ti>gn.dx)&&(ti=gn.dx);++Un<Tn;)Fa=qr[Un],Fa.x=Qn,Fa.y=$a,Fa.dx=ti,$a+=Fa.dy=Math.min(gn.y+gn.dy-$a,ti?De(Fa.area/ti):0);Fa.z=!1,Fa.dy+=gn.y+gn.dy-$a,gn.x+=ti,gn.dx-=ti}}function In(qr){var nn=Bt||ve(qr),gn=nn[0];return gn.x=gn.y=0,gn.value?(gn.dx=Ye[0],gn.dy=Ye[1]):gn.dx=gn.dy=0,Bt&&ve.revalue(gn),tr([gn],gn.dx*gn.dy/gn.value),(Bt?Vr:hr)(gn),gt&&(Bt=nn),nn}return In.size=function(qr){return arguments.length?(Ye=qr,In):Ye},In.padding=function(qr){if(!arguments.length)return ot;function nn(Un){var Tn=qr.call(In,Un,Un.depth);return Tn==null?jd(Un):Js(Un,typeof Tn=="number"?[Tn,Tn,Tn,Tn]:Tn)}function gn(Un){return Js(Un,qr)}var On;return dt=(ot=qr)==null?jd:(On=typeof qr)=="function"?nn:(On==="number"&&(qr=[qr,qr,qr,qr]),gn),In},In.round=function(qr){return arguments.length?(De=qr?Math.round:Number,In):De!=Number},In.sticky=function(qr){return arguments.length?(gt=qr,Bt=null,In):gt},In.ratio=function(qr){return arguments.length?(er=qr,In):er},In.mode=function(qr){return arguments.length?(Lt=qr+"",In):Lt},rp(In,ve)};function jd(ve){return{x:ve.x,y:ve.y,dx:ve.dx,dy:ve.dy}}function Js(ve,De){var Ye=ve.x+De[3],ot=ve.y+De[0],dt=ve.dx-De[1]-De[3],gt=ve.dy-De[0]-De[2];return dt<0&&(Ye+=dt/2,dt=0),gt<0&&(ot+=gt/2,gt=0),{x:Ye,y:ot,dx:dt,dy:gt}}i.random={normal:function(ve,De){var Ye=arguments.length;return Ye<2&&(De=1),Ye<1&&(ve=0),function(){var ot,dt,gt;do ot=Math.random()*2-1,dt=Math.random()*2-1,gt=ot*ot+dt*dt;while(!gt||gt>1);return ve+De*ot*Math.sqrt(-2*Math.log(gt)/gt)}},logNormal:function(){var ve=i.random.normal.apply(i,arguments);return function(){return Math.exp(ve())}},bates:function(ve){var De=i.random.irwinHall(ve);return function(){return De()/ve}},irwinHall:function(ve){return function(){for(var De=0,Ye=0;Ye<ve;Ye++)De+=Math.random();return De}}},i.scale={};function iu(ve){var De=ve[0],Ye=ve[ve.length-1];return De<Ye?[De,Ye]:[Ye,De]}function lp(ve){return ve.rangeExtent?ve.rangeExtent():iu(ve.range())}function Nm(ve,De,Ye,ot){var dt=Ye(ve[0],ve[1]),gt=ot(De[0],De[1]);return function(Bt){return gt(dt(Bt))}}function i0(ve,De){var Ye=0,ot=ve.length-1,dt=ve[Ye],gt=ve[ot],Bt;return gt<dt&&(Bt=Ye,Ye=ot,ot=Bt,Bt=dt,dt=gt,gt=Bt),ve[Ye]=De.floor(dt),ve[ot]=De.ceil(gt),ve}function Yd(ve){return ve?{floor:function(De){return Math.floor(De/ve)*ve},ceil:function(De){return Math.ceil(De/ve)*ve}}:s1}var s1={floor:V,ceil:V};function cp(ve,De,Ye,ot){var dt=[],gt=[],Bt=0,Lt=Math.min(ve.length,De.length)-1;for(ve[Lt]<ve[0]&&(ve=ve.slice().reverse(),De=De.slice().reverse());++Bt<=Lt;)dt.push(Ye(ve[Bt-1],ve[Bt])),gt.push(ot(De[Bt-1],De[Bt]));return function(er){var tr=i.bisect(ve,er,1,Lt)-1;return gt[tr](dt[tr](er))}}i.scale.linear=function(){return sv([0,1],[0,1],bs,!1)};function sv(ve,De,Ye,ot){var dt,gt;function Bt(){var er=Math.min(ve.length,De.length)>2?cp:Nm,tr=ot?$o:eo;return dt=er(ve,De,tr,Ye),gt=er(De,ve,tr,bs),Lt}function Lt(er){return dt(er)}return Lt.invert=function(er){return gt(er)},Lt.domain=function(er){return arguments.length?(ve=er.map(Number),Bt()):ve},Lt.range=function(er){return arguments.length?(De=er,Bt()):De},Lt.rangeRound=function(er){return Lt.range(er).interpolate(bu)},Lt.clamp=function(er){return arguments.length?(ot=er,Bt()):ot},Lt.interpolate=function(er){return arguments.length?(Ye=er,Bt()):Ye},Lt.ticks=function(er){return al(ve,er)},Lt.tickFormat=function(er,tr){return d3_scale_linearTickFormat(ve,er,tr)},Lt.nice=function(er){return sh(ve,er),Bt()},Lt.copy=function(){return sv(ve,De,Ye,ot)},Bt()}function Br(ve,De){return i.rebind(ve,De,"range","rangeRound","interpolate","clamp")}function sh(ve,De){return i0(ve,Yd(Rl(ve,De)[2])),i0(ve,Yd(Rl(ve,De)[2])),ve}function Rl(ve,De){De==null&&(De=10);var Ye=iu(ve),ot=Ye[1]-Ye[0],dt=Math.pow(10,Math.floor(Math.log(ot/De)/Math.LN10)),gt=De/ot*dt;return gt<=.15?dt*=10:gt<=.35?dt*=5:gt<=.75&&(dt*=2),Ye[0]=Math.ceil(Ye[0]/dt)*dt,Ye[1]=Math.floor(Ye[1]/dt)*dt+dt*.5,Ye[2]=dt,Ye}function al(ve,De){return i.range.apply(i,Rl(ve,De))}i.scale.log=function(){return vo(i.scale.linear().domain([0,1]),10,!0,[1,10])};function vo(ve,De,Ye,ot){function dt(Lt){return(Ye?Math.log(Lt<0?0:Lt):-Math.log(Lt>0?0:-Lt))/Math.log(De)}function gt(Lt){return Ye?Math.pow(De,Lt):-Math.pow(De,-Lt)}function Bt(Lt){return ve(dt(Lt))}return Bt.invert=function(Lt){return gt(ve.invert(Lt))},Bt.domain=function(Lt){return arguments.length?(Ye=Lt[0]>=0,ve.domain((ot=Lt.map(Number)).map(dt)),Bt):ot},Bt.base=function(Lt){return arguments.length?(De=+Lt,ve.domain(ot.map(dt)),Bt):De},Bt.nice=function(){var Lt=i0(ot.map(dt),Ye?Math:up);return ve.domain(Lt),ot=Lt.map(gt),Bt},Bt.ticks=function(){var Lt=iu(ot),er=[],tr=Lt[0],hr=Lt[1],Vr=Math.floor(dt(tr)),Gr=Math.ceil(dt(hr)),En=De%1?2:De;if(isFinite(Gr-Vr)){if(Ye){for(;Vr<Gr;Vr++)for(var In=1;In<En;In++)er.push(gt(Vr)*In);er.push(gt(Vr))}else for(er.push(gt(Vr));Vr++<Gr;)for(var In=En-1;In>0;In--)er.push(gt(Vr)*In);for(Vr=0;er[Vr]<tr;Vr++);for(Gr=er.length;er[Gr-1]>hr;Gr--);er=er.slice(Vr,Gr)}return er},Bt.copy=function(){return vo(ve.copy(),De,Ye,ot)},Br(Bt,ve)}var up={floor:function(ve){return-Math.ceil(-ve)},ceil:function(ve){return-Math.floor(-ve)}};i.scale.pow=function(){return l1(i.scale.linear(),1,[0,1])};function l1(ve,De,Ye){var ot=lh(De),dt=lh(1/De);function gt(Bt){return ve(ot(Bt))}return gt.invert=function(Bt){return dt(ve.invert(Bt))},gt.domain=function(Bt){return arguments.length?(ve.domain((Ye=Bt.map(Number)).map(ot)),gt):Ye},gt.ticks=function(Bt){return al(Ye,Bt)},gt.tickFormat=function(Bt,Lt){return d3_scale_linearTickFormat(Ye,Bt,Lt)},gt.nice=function(Bt){return gt.domain(sh(Ye,Bt))},gt.exponent=function(Bt){return arguments.length?(ot=lh(De=Bt),dt=lh(1/De),ve.domain(Ye.map(ot)),gt):De},gt.copy=function(){return l1(ve.copy(),De,Ye)},Br(gt,ve)}function lh(ve){return function(De){return De<0?-Math.pow(-De,ve):Math.pow(De,ve)}}i.scale.sqrt=function(){return i.scale.pow().exponent(.5)},i.scale.ordinal=function(){return ou([],{t:"range",a:[[]]})};function ou(ve,De){var Ye,ot,dt;function gt(Lt){return ot[((Ye.get(Lt)||(De.t==="range"?Ye.set(Lt,ve.push(Lt)):NaN))-1)%ot.length]}function Bt(Lt,er){return i.range(ve.length).map(function(tr){return Lt+er*tr})}return gt.domain=function(Lt){if(!arguments.length)return ve;ve=[],Ye=new P;for(var er=-1,tr=Lt.length,hr;++er<tr;)Ye.has(hr=Lt[er])||Ye.set(hr,ve.push(hr));return gt[De.t].apply(gt,De.a)},gt.range=function(Lt){return arguments.length?(ot=Lt,dt=0,De={t:"range",a:arguments},gt):ot},gt.rangePoints=function(Lt,er){arguments.length<2&&(er=0);var tr=Lt[0],hr=Lt[1],Vr=ve.length<2?(tr=(tr+hr)/2,0):(hr-tr)/(ve.length-1+er);return ot=Bt(tr+Vr*er/2,Vr),dt=0,De={t:"rangePoints",a:arguments},gt},gt.rangeRoundPoints=function(Lt,er){arguments.length<2&&(er=0);var tr=Lt[0],hr=Lt[1],Vr=ve.length<2?(tr=hr=Math.round((tr+hr)/2),0):(hr-tr)/(ve.length-1+er)|0;return ot=Bt(tr+Math.round(Vr*er/2+(hr-tr-(ve.length-1+er)*Vr)/2),Vr),dt=0,De={t:"rangeRoundPoints",a:arguments},gt},gt.rangeBands=function(Lt,er,tr){arguments.length<2&&(er=0),arguments.length<3&&(tr=er);var hr=Lt[1]<Lt[0],Vr=Lt[hr-0],Gr=Lt[1-hr],En=(Gr-Vr)/(ve.length-er+2*tr);return ot=Bt(Vr+En*tr,En),hr&&ot.reverse(),dt=En*(1-er),De={t:"rangeBands",a:arguments},gt},gt.rangeRoundBands=function(Lt,er,tr){arguments.length<2&&(er=0),arguments.length<3&&(tr=er);var hr=Lt[1]<Lt[0],Vr=Lt[hr-0],Gr=Lt[1-hr],En=Math.floor((Gr-Vr)/(ve.length-er+2*tr));return ot=Bt(Vr+Math.round((Gr-Vr-(ve.length-er)*En)/2),En),hr&&ot.reverse(),dt=Math.round(En*(1-er)),De={t:"rangeRoundBands",a:arguments},gt},gt.rangeBand=function(){return dt},gt.rangeExtent=function(){return iu(De.a[0])},gt.copy=function(){return ou(ve,De)},gt.domain(ve)}i.scale.category10=function(){return i.scale.ordinal().range(Im)},i.scale.category20=function(){return i.scale.ordinal().range(Wd)},i.scale.category20b=function(){return i.scale.ordinal().range(dp)},i.scale.category20c=function(){return i.scale.ordinal().range(Cf)};var Im=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(Kt),Wd=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(Kt),dp=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(Kt),Cf=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(Kt);i.scale.quantile=function(){return Kd([],[])};function Kd(ve,De){var Ye;function ot(){var gt=0,Bt=De.length;for(Ye=[];++gt<Bt;)Ye[gt-1]=i.quantile(ve,gt/Bt);return dt}function dt(gt){if(!isNaN(gt=+gt))return De[i.bisect(Ye,gt)]}return dt.domain=function(gt){return arguments.length?(ve=gt.map(C).filter(w).sort(y),ot()):ve},dt.range=function(gt){return arguments.length?(De=gt,ot()):De},dt.quantiles=function(){return Ye},dt.invertExtent=function(gt){return gt=De.indexOf(gt),gt<0?[NaN,NaN]:[gt>0?Ye[gt-1]:ve[0],gt<Ye.length?Ye[gt]:ve[ve.length-1]]},dt.copy=function(){return Kd(ve,De)},ot()}i.scale.quantize=function(){return su(0,1,[0,1])};function su(ve,De,Ye){var ot,dt;function gt(Lt){return Ye[Math.max(0,Math.min(dt,Math.floor(ot*(Lt-ve))))]}function Bt(){return ot=Ye.length/(De-ve),dt=Ye.length-1,gt}return gt.domain=function(Lt){return arguments.length?(ve=+Lt[0],De=+Lt[Lt.length-1],Bt()):[ve,De]},gt.range=function(Lt){return arguments.length?(Ye=Lt,Bt()):Ye},gt.invertExtent=function(Lt){return Lt=Ye.indexOf(Lt),Lt=Lt<0?NaN:Lt/ot+ve,[Lt,Lt+1/ot]},gt.copy=function(){return su(ve,De,Ye)},Bt()}i.scale.threshold=function(){return fp([.5],[0,1])};function fp(ve,De){function Ye(ot){if(ot<=ot)return De[i.bisect(ve,ot)]}return Ye.domain=function(ot){return arguments.length?(ve=ot,Ye):ve},Ye.range=function(ot){return arguments.length?(De=ot,Ye):De},Ye.invertExtent=function(ot){return ot=De.indexOf(ot),[ve[ot-1],ve[ot]]},Ye.copy=function(){return fp(ve,De)},Ye}i.scale.identity=function(){return us([0,1])};function us(ve){function De(Ye){return+Ye}return De.invert=De,De.domain=De.range=function(Ye){return arguments.length?(ve=Ye.map(De),De):ve},De.ticks=function(Ye){return al(ve,Ye)},De.tickFormat=function(Ye,ot){return d3_scale_linearTickFormat(ve,Ye,ot)},De.copy=function(){return us(ve)},De}i.svg={};function hp(){return 0}i.svg.arc=function(){var ve=Lm,De=Hc,Ye=hp,ot=c1,dt=o0,gt=u1,Bt=lv;function Lt(){var tr=Math.max(0,+ve.apply(this,arguments)),hr=Math.max(0,+De.apply(this,arguments)),Vr=dt.apply(this,arguments)-ut,Gr=gt.apply(this,arguments)-ut,En=Math.abs(Gr-Vr),In=Vr>Gr?0:1;if(hr<tr&&(qr=hr,hr=tr,tr=qr),En>=Je)return er(hr,In)+(tr?er(tr,1-In):"")+"Z";var qr,nn,gn,On,Un=0,Tn=0,Qn,$a,ti,Fa,Qa,ri,Xi,hi,Gi=[];if((On=(+Bt.apply(this,arguments)||0)/2)&&(gn=ot===c1?Math.sqrt(tr*tr+hr*hr):+ot.apply(this,arguments),In||(Tn*=-1),hr&&(Tn=ir(gn/hr*Math.sin(On))),tr&&(Un=ir(gn/tr*Math.sin(On)))),hr){Qn=hr*Math.cos(Vr+Tn),$a=hr*Math.sin(Vr+Tn),ti=hr*Math.cos(Gr-Tn),Fa=hr*Math.sin(Gr-Tn);var Ro=Math.abs(Gr-Vr-2*Tn)<=Ne?0:1;if(Tn&&s0(Qn,$a,ti,Fa)===In^Ro){var el=(Vr+Gr)/2;Qn=hr*Math.cos(el),$a=hr*Math.sin(el),ti=Fa=null}}else Qn=$a=0;if(tr){Qa=tr*Math.cos(Gr-Un),ri=tr*Math.sin(Gr-Un),Xi=tr*Math.cos(Vr+Un),hi=tr*Math.sin(Vr+Un);var Vo=Math.abs(Vr-Gr+2*Un)<=Ne?0:1;if(Un&&s0(Qa,ri,Xi,hi)===1-In^Vo){var Ba=(Vr+Gr)/2;Qa=tr*Math.cos(Ba),ri=tr*Math.sin(Ba),Xi=hi=null}}else Qa=ri=0;if(En>Se&&(qr=Math.min(Math.abs(hr-tr)/2,+Ye.apply(this,arguments)))>.001){nn=tr<hr^In?0:1;var Pi=qr,_i=qr;if(En<Ne){var xo=Xi==null?[Qa,ri]:ti==null?[Qn,$a]:Vn([Qn,$a],[Xi,hi],[ti,Fa],[Qa,ri]),Ts=Qn-xo[0],No=$a-xo[1],yl=ti-xo[0],fl=Fa-xo[1],Nl=1/Math.sin(Math.acos((Ts*yl+No*fl)/(Math.sqrt(Ts*Ts+No*No)*Math.sqrt(yl*yl+fl*fl)))/2),Ss=Math.sqrt(xo[0]*xo[0]+xo[1]*xo[1]);_i=Math.min(qr,(tr-Ss)/(Nl-1)),Pi=Math.min(qr,(hr-Ss)/(Nl+1))}if(ti!=null){var Il=l0(Xi==null?[Qa,ri]:[Xi,hi],[Qn,$a],hr,Pi,In),ja=l0([ti,Fa],[Qa,ri],hr,Pi,In);qr===Pi?Gi.push("M",Il[0],"A",Pi,",",Pi," 0 0,",nn," ",Il[1],"A",hr,",",hr," 0 ",1-In^s0(Il[1][0],Il[1][1],ja[1][0],ja[1][1]),",",In," ",ja[1],"A",Pi,",",Pi," 0 0,",nn," ",ja[0]):Gi.push("M",Il[0],"A",Pi,",",Pi," 0 1,",nn," ",ja[0])}else Gi.push("M",Qn,",",$a);if(Xi!=null){var Ri=l0([Qn,$a],[Xi,hi],tr,-_i,In),dl=l0([Qa,ri],ti==null?[Qn,$a]:[ti,Fa],tr,-_i,In);qr===_i?Gi.push("L",dl[0],"A",_i,",",_i," 0 0,",nn," ",dl[1],"A",tr,",",tr," 0 ",In^s0(dl[1][0],dl[1][1],Ri[1][0],Ri[1][1]),",",1-In," ",Ri[1],"A",_i,",",_i," 0 0,",nn," ",Ri[0]):Gi.push("L",dl[0],"A",_i,",",_i," 0 0,",nn," ",Ri[0])}else Gi.push("L",Qa,",",ri)}else Gi.push("M",Qn,",",$a),ti!=null&&Gi.push("A",hr,",",hr," 0 ",Ro,",",In," ",ti,",",Fa),Gi.push("L",Qa,",",ri),Xi!=null&&Gi.push("A",tr,",",tr," 0 ",Vo,",",1-In," ",Xi,",",hi);return Gi.push("Z"),Gi.join("")}function er(tr,hr){return"M0,"+tr+"A"+tr+","+tr+" 0 1,"+hr+" 0,"+-tr+"A"+tr+","+tr+" 0 1,"+hr+" 0,"+tr}return Lt.innerRadius=function(tr){return arguments.length?(ve=An(tr),Lt):ve},Lt.outerRadius=function(tr){return arguments.length?(De=An(tr),Lt):De},Lt.cornerRadius=function(tr){return arguments.length?(Ye=An(tr),Lt):Ye},Lt.padRadius=function(tr){return arguments.length?(ot=tr==c1?c1:An(tr),Lt):ot},Lt.startAngle=function(tr){return arguments.length?(dt=An(tr),Lt):dt},Lt.endAngle=function(tr){return arguments.length?(gt=An(tr),Lt):gt},Lt.padAngle=function(tr){return arguments.length?(Bt=An(tr),Lt):Bt},Lt.centroid=function(){var tr=(+ve.apply(this,arguments)+ +De.apply(this,arguments))/2,hr=(+dt.apply(this,arguments)+ +gt.apply(this,arguments))/2-ut;return[Math.cos(hr)*tr,Math.sin(hr)*tr]},Lt};var c1="auto";function Lm(ve){return ve.innerRadius}function Hc(ve){return ve.outerRadius}function o0(ve){return ve.startAngle}function u1(ve){return ve.endAngle}function lv(ve){return ve&&ve.padAngle}function s0(ve,De,Ye,ot){return(ve-Ye)*De-(De-ot)*ve>0?0:1}function l0(ve,De,Ye,ot,dt){var gt=ve[0]-De[0],Bt=ve[1]-De[1],Lt=(dt?ot:-ot)/Math.sqrt(gt*gt+Bt*Bt),er=Lt*Bt,tr=-Lt*gt,hr=ve[0]+er,Vr=ve[1]+tr,Gr=De[0]+er,En=De[1]+tr,In=(hr+Gr)/2,qr=(Vr+En)/2,nn=Gr-hr,gn=En-Vr,On=nn*nn+gn*gn,Un=Ye-ot,Tn=hr*En-Gr*Vr,Qn=(gn<0?-1:1)*Math.sqrt(Math.max(0,Un*Un*On-Tn*Tn)),$a=(Tn*gn-nn*Qn)/On,ti=(-Tn*nn-gn*Qn)/On,Fa=(Tn*gn+nn*Qn)/On,Qa=(-Tn*nn+gn*Qn)/On,ri=$a-In,Xi=ti-qr,hi=Fa-In,Gi=Qa-qr;return ri*ri+Xi*Xi>hi*hi+Gi*Gi&&($a=Fa,ti=Qa),[[$a-er,ti-tr],[$a*Ye/Un,ti*Ye/Un]]}function Vc(){return!0}function c0(ve){var De=ii,Ye=Za,ot=Vc,dt=Es,gt=dt.key,Bt=.7;function Lt(er){var tr=[],hr=[],Vr=-1,Gr=er.length,En,In=An(De),qr=An(Ye);function nn(){tr.push("M",dt(ve(hr),Bt))}for(;++Vr<Gr;)ot.call(this,En=er[Vr],Vr)?hr.push([+In.call(this,En,Vr),+qr.call(this,En,Vr)]):hr.length&&(nn(),hr=[]);return hr.length&&nn(),tr.length?tr.join(""):null}return Lt.x=function(er){return arguments.length?(De=er,Lt):De},Lt.y=function(er){return arguments.length?(Ye=er,Lt):Ye},Lt.defined=function(er){return arguments.length?(ot=er,Lt):ot},Lt.interpolate=function(er){return arguments.length?(typeof er=="function"?gt=dt=er:gt=(dt=kf.get(er)||Es).key,Lt):gt},Lt.tension=function(er){return arguments.length?(Bt=er,Lt):Bt},Lt}i.svg.line=function(){return c0(V)};var kf=i.map({linear:Es,"linear-closed":fd,step:cv,"step-before":ch,"step-after":d1,basis:Mf,"basis-open":pp,"basis-closed":Hu,bundle:ry,cardinal:uv,"cardinal-open":u0,"cardinal-closed":Om,monotone:p0});kf.forEach(function(ve,De){De.key=ve,De.closed=/-closed$/.test(ve)});function Es(ve){return ve.length>1?ve.join("L"):ve+"Z"}function fd(ve){return ve.join("L")+"Z"}function cv(ve){for(var De=0,Ye=ve.length,ot=ve[0],dt=[ot[0],",",ot[1]];++De<Ye;)dt.push("H",(ot[0]+(ot=ve[De])[0])/2,"V",ot[1]);return Ye>1&&dt.push("H",ot[0]),dt.join("")}function ch(ve){for(var De=0,Ye=ve.length,ot=ve[0],dt=[ot[0],",",ot[1]];++De<Ye;)dt.push("V",(ot=ve[De])[1],"H",ot[0]);return dt.join("")}function d1(ve){for(var De=0,Ye=ve.length,ot=ve[0],dt=[ot[0],",",ot[1]];++De<Ye;)dt.push("H",(ot=ve[De])[0],"V",ot[1]);return dt.join("")}function u0(ve,De){return ve.length<4?Es(ve):ve[1]+dc(ve.slice(1,-1),d0(ve,De))}function Om(ve,De){return ve.length<3?fd(ve):ve[0]+dc((ve.push(ve[0]),ve),d0([ve[ve.length-2]].concat(ve,[ve[1]]),De))}function uv(ve,De){return ve.length<3?Es(ve):ve[0]+dc(ve,d0(ve,De))}function dc(ve,De){if(De.length<1||ve.length!=De.length&&ve.length!=De.length+2)return Es(ve);var Ye=ve.length!=De.length,ot="",dt=ve[0],gt=ve[1],Bt=De[0],Lt=Bt,er=1;if(Ye&&(ot+="Q"+(gt[0]-Bt[0]*2/3)+","+(gt[1]-Bt[1]*2/3)+","+gt[0]+","+gt[1],dt=ve[1],er=2),De.length>1){Lt=De[1],gt=ve[er],er++,ot+="C"+(dt[0]+Bt[0])+","+(dt[1]+Bt[1])+","+(gt[0]-Lt[0])+","+(gt[1]-Lt[1])+","+gt[0]+","+gt[1];for(var tr=2;tr<De.length;tr++,er++)gt=ve[er],Lt=De[tr],ot+="S"+(gt[0]-Lt[0])+","+(gt[1]-Lt[1])+","+gt[0]+","+gt[1]}if(Ye){var hr=ve[er];ot+="Q"+(gt[0]+Lt[0]*2/3)+","+(gt[1]+Lt[1]*2/3)+","+hr[0]+","+hr[1]}return ot}function d0(ve,De){for(var Ye=[],ot=(1-De)/2,dt,gt=ve[0],Bt=ve[1],Lt=1,er=ve.length;++Lt<er;)dt=gt,gt=Bt,Bt=ve[Lt],Ye.push([ot*(Bt[0]-dt[0]),ot*(Bt[1]-dt[1])]);return Ye}function Mf(ve){if(ve.length<3)return Es(ve);var De=1,Ye=ve.length,ot=ve[0],dt=ot[0],gt=ot[1],Bt=[dt,dt,dt,(ot=ve[1])[0]],Lt=[gt,gt,gt,ot[1]],er=[dt,",",gt,"L",Cc(Vu,Bt),",",Cc(Vu,Lt)];for(ve.push(ve[Ye-1]);++De<=Ye;)ot=ve[De],Bt.shift(),Bt.push(ot[0]),Lt.shift(),Lt.push(ot[1]),Gc(er,Bt,Lt);return ve.pop(),er.push("L",ot),er.join("")}function pp(ve){if(ve.length<4)return Es(ve);for(var De=[],Ye=-1,ot=ve.length,dt,gt=[0],Bt=[0];++Ye<3;)dt=ve[Ye],gt.push(dt[0]),Bt.push(dt[1]);for(De.push(Cc(Vu,gt)+","+Cc(Vu,Bt)),--Ye;++Ye<ot;)dt=ve[Ye],gt.shift(),gt.push(dt[0]),Bt.shift(),Bt.push(dt[1]),Gc(De,gt,Bt);return De.join("")}function Hu(ve){for(var De,Ye=-1,ot=ve.length,dt=ot+4,gt,Bt=[],Lt=[];++Ye<4;)gt=ve[Ye%ot],Bt.push(gt[0]),Lt.push(gt[1]);for(De=[Cc(Vu,Bt),",",Cc(Vu,Lt)],--Ye;++Ye<dt;)gt=ve[Ye%ot],Bt.shift(),Bt.push(gt[0]),Lt.shift(),Lt.push(gt[1]),Gc(De,Bt,Lt);return De.join("")}function ry(ve,De){var Ye=ve.length-1;if(Ye)for(var ot=ve[0][0],dt=ve[0][1],gt=ve[Ye][0]-ot,Bt=ve[Ye][1]-dt,Lt=-1,er,tr;++Lt<=Ye;)er=ve[Lt],tr=Lt/Ye,er[0]=De*er[0]+(1-De)*(ot+tr*gt),er[1]=De*er[1]+(1-De)*(dt+tr*Bt);return Mf(ve)}function Cc(ve,De){return ve[0]*De[0]+ve[1]*De[1]+ve[2]*De[2]+ve[3]*De[3]}var f0=[0,2/3,1/3,0],Su=[0,1/3,2/3,0],Vu=[0,1/6,2/3,1/6];function Gc(ve,De,Ye){ve.push("C",Cc(f0,De),",",Cc(f0,Ye),",",Cc(Su,De),",",Cc(Su,Ye),",",Cc(Vu,De),",",Cc(Vu,Ye))}function jc(ve,De){return(De[1]-ve[1])/(De[0]-ve[0])}function h0(ve){for(var De=0,Ye=ve.length-1,ot=[],dt=ve[0],gt=ve[1],Bt=ot[0]=jc(dt,gt);++De<Ye;)ot[De]=(Bt+(Bt=jc(dt=gt,gt=ve[De+1])))/2;return ot[De]=Bt,ot}function vp(ve){for(var De=[],Ye,ot,dt,gt,Bt=h0(ve),Lt=-1,er=ve.length-1;++Lt<er;)Ye=jc(ve[Lt],ve[Lt+1]),k(Ye)<Se?Bt[Lt]=Bt[Lt+1]=0:(ot=Bt[Lt]/Ye,dt=Bt[Lt+1]/Ye,gt=ot*ot+dt*dt,gt>9&&(gt=Ye*3/Math.sqrt(gt),Bt[Lt]=gt*ot,Bt[Lt+1]=gt*dt));for(Lt=-1;++Lt<=er;)gt=(ve[Math.min(er,Lt+1)][0]-ve[Math.max(0,Lt-1)][0])/(6*(1+Bt[Lt]*Bt[Lt])),De.push([gt||0,Bt[Lt]*gt||0]);return De}function p0(ve){return ve.length<3?Es(ve):ve[0]+dc(ve,vp(ve))}i.svg.line.radial=function(){var ve=c0(mp);return ve.radius=ve.x,delete ve.x,ve.angle=ve.y,delete ve.y,ve};function mp(ve){for(var De,Ye=-1,ot=ve.length,dt,gt;++Ye<ot;)De=ve[Ye],dt=De[0],gt=De[1]-ut,De[0]=dt*Math.cos(gt),De[1]=dt*Math.sin(gt);return ve}function wu(ve){var De=ii,Ye=ii,ot=0,dt=Za,gt=Vc,Bt=Es,Lt=Bt.key,er=Bt,tr="L",hr=.7;function Vr(Gr){var En=[],In=[],qr=[],nn=-1,gn=Gr.length,On,Un=An(De),Tn=An(ot),Qn=De===Ye?function(){return ti}:An(Ye),$a=ot===dt?function(){return Fa}:An(dt),ti,Fa;function Qa(){En.push("M",Bt(ve(qr),hr),tr,er(ve(In.reverse()),hr),"Z")}for(;++nn<gn;)gt.call(this,On=Gr[nn],nn)?(In.push([ti=+Un.call(this,On,nn),Fa=+Tn.call(this,On,nn)]),qr.push([+Qn.call(this,On,nn),+$a.call(this,On,nn)])):In.length&&(Qa(),In=[],qr=[]);return In.length&&Qa(),En.length?En.join(""):null}return Vr.x=function(Gr){return arguments.length?(De=Ye=Gr,Vr):Ye},Vr.x0=function(Gr){return arguments.length?(De=Gr,Vr):De},Vr.x1=function(Gr){return arguments.length?(Ye=Gr,Vr):Ye},Vr.y=function(Gr){return arguments.length?(ot=dt=Gr,Vr):dt},Vr.y0=function(Gr){return arguments.length?(ot=Gr,Vr):ot},Vr.y1=function(Gr){return arguments.length?(dt=Gr,Vr):dt},Vr.defined=function(Gr){return arguments.length?(gt=Gr,Vr):gt},Vr.interpolate=function(Gr){return arguments.length?(typeof Gr=="function"?Lt=Bt=Gr:Lt=(Bt=kf.get(Gr)||Es).key,er=Bt.reverse||Bt,tr=Bt.closed?"M":"L",Vr):Lt},Vr.tension=function(Gr){return arguments.length?(hr=Gr,Vr):hr},Vr}ch.reverse=d1,d1.reverse=ch,i.svg.area=function(){return wu(V)},i.svg.area.radial=function(){var ve=wu(mp);return ve.radius=ve.x,delete ve.x,ve.innerRadius=ve.x0,delete ve.x0,ve.outerRadius=ve.x1,delete ve.x1,ve.angle=ve.y,delete ve.y,ve.startAngle=ve.y0,delete ve.y0,ve.endAngle=ve.y1,delete ve.y1,ve};function f1(ve){return ve.source}function uh(ve){return ve.target}i.svg.chord=function(){var ve=f1,De=uh,Ye=gp,ot=o0,dt=u1;function gt(hr,Vr){var Gr=Bt(this,ve,hr,Vr),En=Bt(this,De,hr,Vr);return"M"+Gr.p0+er(Gr.r,Gr.p1,Gr.a1-Gr.a0)+(Lt(Gr,En)?tr(Gr.r,Gr.p1,Gr.r,Gr.p0):tr(Gr.r,Gr.p1,En.r,En.p0)+er(En.r,En.p1,En.a1-En.a0)+tr(En.r,En.p1,Gr.r,Gr.p0))+"Z"}function Bt(hr,Vr,Gr,En){var In=Vr.call(hr,Gr,En),qr=Ye.call(hr,In,En),nn=ot.call(hr,In,En)-ut,gn=dt.call(hr,In,En)-ut;return{r:qr,a0:nn,a1:gn,p0:[qr*Math.cos(nn),qr*Math.sin(nn)],p1:[qr*Math.cos(gn),qr*Math.sin(gn)]}}function Lt(hr,Vr){return hr.a0==Vr.a0&&hr.a1==Vr.a1}function er(hr,Vr,Gr){return"A"+hr+","+hr+" 0 "+ +(Gr>Ne)+",1 "+Vr}function tr(hr,Vr,Gr,En){return"Q 0,0 "+En}return gt.radius=function(hr){return arguments.length?(Ye=An(hr),gt):Ye},gt.source=function(hr){return arguments.length?(ve=An(hr),gt):ve},gt.target=function(hr){return arguments.length?(De=An(hr),gt):De},gt.startAngle=function(hr){return arguments.length?(ot=An(hr),gt):ot},gt.endAngle=function(hr){return arguments.length?(dt=An(hr),gt):dt},gt};function gp(ve){return ve.radius}i.svg.diagonal=function(){var ve=f1,De=uh,Ye=v0;function ot(dt,gt){var Bt=ve.call(this,dt,gt),Lt=De.call(this,dt,gt),er=(Bt.y+Lt.y)/2,tr=[Bt,{x:Bt.x,y:er},{x:Lt.x,y:er},Lt];return tr=tr.map(Ye),"M"+tr[0]+"C"+tr[1]+" "+tr[2]+" "+tr[3]}return ot.source=function(dt){return arguments.length?(ve=An(dt),ot):ve},ot.target=function(dt){return arguments.length?(De=An(dt),ot):De},ot.projection=function(dt){return arguments.length?(Ye=dt,ot):Ye},ot};function v0(ve){return[ve.x,ve.y]}i.svg.diagonal.radial=function(){var ve=i.svg.diagonal(),De=v0,Ye=ve.projection;return ve.projection=function(ot){return arguments.length?Ye(dv(De=ot)):De},ve};function dv(ve){return function(){var De=ve.apply(this,arguments),Ye=De[0],ot=De[1]-ut;return[Ye*Math.cos(ot),Ye*Math.sin(ot)]}}i.svg.symbol=function(){var ve=ft,De=at;function Ye(ot,dt){return(kt.get(ve.call(this,ot,dt))||Tt)(De.call(this,ot,dt))}return Ye.type=function(ot){return arguments.length?(ve=An(ot),Ye):ve},Ye.size=function(ot){return arguments.length?(De=An(ot),Ye):De},Ye};function at(){return 64}function ft(){return"circle"}function Tt(ve){var De=Math.sqrt(ve/Ne);return"M0,"+De+"A"+De+","+De+" 0 1,1 0,"+-De+"A"+De+","+De+" 0 1,1 0,"+De+"Z"}var kt=i.map({circle:Tt,cross:function(ve){var De=Math.sqrt(ve/5)/2;return"M"+-3*De+","+-De+"H"+-De+"V"+-3*De+"H"+De+"V"+-De+"H"+3*De+"V"+De+"H"+De+"V"+3*De+"H"+-De+"V"+De+"H"+-3*De+"Z"},diamond:function(ve){var De=Math.sqrt(ve/(2*$t)),Ye=De*$t;return"M0,"+-De+"L"+Ye+",0 0,"+De+" "+-Ye+",0Z"},square:function(ve){var De=Math.sqrt(ve)/2;return"M"+-De+","+-De+"L"+De+","+-De+" "+De+","+De+" "+-De+","+De+"Z"},"triangle-down":function(ve){var De=Math.sqrt(ve/Yt),Ye=De*Yt/2;return"M0,"+Ye+"L"+De+","+-Ye+" "+-De+","+-Ye+"Z"},"triangle-up":function(ve){var De=Math.sqrt(ve/Yt),Ye=De*Yt/2;return"M0,"+-Ye+"L"+De+","+Ye+" "+-De+","+Ye+"Z"}});i.svg.symbolTypes=kt.keys();var Yt=Math.sqrt(3),$t=Math.tan(30*Et);ee.transition=function(ve){for(var De=Zr||++Ur,Ye=oa(ve),ot=[],dt,gt,Bt=an||{time:Date.now(),ease:Ef,delay:0,duration:250},Lt=-1,er=this.length;++Lt<er;){ot.push(dt=[]);for(var tr=this[Lt],hr=-1,Vr=tr.length;++hr<Vr;)(gt=tr[hr])&&fa(gt,hr,Ye,De,Bt),dt.push(gt)}return Nr(ot,Ye,De)},ee.interrupt=function(ve){return this.each(ve==null?qt:Mr(oa(ve)))};var qt=Mr(oa());function Mr(ve){return function(){var De,Ye,ot;(De=this[ve])&&(ot=De[Ye=De.active])&&(ot.timer.c=null,ot.timer.t=NaN,--De.count?delete De[Ye]:delete this[ve],De.active+=.5,ot.event&&ot.event.interrupt.call(this,this.__data__,ot.index))}}function Nr(ve,De,Ye){return le(ve,gr),ve.namespace=De,ve.id=Ye,ve}var gr=[],Ur=0,Zr,an;gr.call=ee.call,gr.empty=ee.empty,gr.node=ee.node,gr.size=ee.size,i.transition=function(ve,De){return ve&&ve.transition?Zr?ve.transition(De):ve:i.selection().transition(ve)},i.transition.prototype=gr,gr.select=function(ve){var De=this.id,Ye=this.namespace,ot=[],dt,gt,Bt;ve=de(ve);for(var Lt=-1,er=this.length;++Lt<er;){ot.push(dt=[]);for(var tr=this[Lt],hr=-1,Vr=tr.length;++hr<Vr;)(Bt=tr[hr])&&(gt=ve.call(Bt,Bt.__data__,hr,Lt))?("__data__"in Bt&&(gt.__data__=Bt.__data__),fa(gt,hr,Ye,De,Bt[Ye][De]),dt.push(gt)):dt.push(null)}return Nr(ot,Ye,De)},gr.selectAll=function(ve){var De=this.id,Ye=this.namespace,ot=[],dt,gt,Bt,Lt,er;ve=oe(ve);for(var tr=-1,hr=this.length;++tr<hr;)for(var Vr=this[tr],Gr=-1,En=Vr.length;++Gr<En;)if(Bt=Vr[Gr]){er=Bt[Ye][De],gt=ve.call(Bt,Bt.__data__,Gr,tr),ot.push(dt=[]);for(var In=-1,qr=gt.length;++In<qr;)(Lt=gt[In])&&fa(Lt,In,Ye,De,er),dt.push(Lt)}return Nr(ot,Ye,De)},gr.filter=function(ve){var De=[],Ye,ot,dt;typeof ve!="function"&&(ve=lt(ve));for(var gt=0,Bt=this.length;gt<Bt;gt++){De.push(Ye=[]);for(var ot=this[gt],Lt=0,er=ot.length;Lt<er;Lt++)(dt=ot[Lt])&&ve.call(dt,dt.__data__,Lt,gt)&&Ye.push(dt)}return Nr(De,this.namespace,this.id)},gr.tween=function(ve,De){var Ye=this.id,ot=this.namespace;return arguments.length<2?this.node()[ot][Ye].tween.get(ve):tt(this,De==null?function(dt){dt[ot][Ye].tween.remove(ve)}:function(dt){dt[ot][Ye].tween.set(ve,De)})};function Cn(ve,De,Ye,ot){var dt=ve.id,gt=ve.namespace;return tt(ve,typeof Ye=="function"?function(Bt,Lt,er){Bt[gt][dt].tween.set(De,ot(Ye.call(Bt,Bt.__data__,Lt,er)))}:(Ye=ot(Ye),function(Bt){Bt[gt][dt].tween.set(De,Ye)}))}gr.attr=function(ve,De){if(arguments.length<2){for(De in ve)this.attr(De,ve[De]);return this}var Ye=ve=="transform"?Ni:bs,ot=i.ns.qualify(ve);function dt(){this.removeAttribute(ot)}function gt(){this.removeAttributeNS(ot.space,ot.local)}function Bt(er){return er==null?dt:(er+="",function(){var tr=this.getAttribute(ot),hr;return tr!==er&&(hr=Ye(tr,er),function(Vr){this.setAttribute(ot,hr(Vr))})})}function Lt(er){return er==null?gt:(er+="",function(){var tr=this.getAttributeNS(ot.space,ot.local),hr;return tr!==er&&(hr=Ye(tr,er),function(Vr){this.setAttributeNS(ot.space,ot.local,hr(Vr))})})}return Cn(this,"attr."+ve,De,ot.local?Lt:Bt)},gr.attrTween=function(ve,De){var Ye=i.ns.qualify(ve);function ot(gt,Bt){var Lt=De.call(this,gt,Bt,this.getAttribute(Ye));return Lt&&function(er){this.setAttribute(Ye,Lt(er))}}function dt(gt,Bt){var Lt=De.call(this,gt,Bt,this.getAttributeNS(Ye.space,Ye.local));return Lt&&function(er){this.setAttributeNS(Ye.space,Ye.local,Lt(er))}}return this.tween("attr."+ve,Ye.local?dt:ot)},gr.style=function(ve,De,Ye){var ot=arguments.length;if(ot<3){if(typeof ve!="string"){ot<2&&(De="");for(Ye in ve)this.style(Ye,ve[Ye],De);return this}Ye=""}function dt(){this.style.removeProperty(ve)}function gt(Bt){return Bt==null?dt:(Bt+="",function(){var Lt=c(this).getComputedStyle(this,null).getPropertyValue(ve),er;return Lt!==Bt&&(er=bs(Lt,Bt),function(tr){this.style.setProperty(ve,er(tr),Ye)})})}return Cn(this,"style."+ve,De,gt)},gr.styleTween=function(ve,De,Ye){arguments.length<3&&(Ye="");function ot(dt,gt){var Bt=De.call(this,dt,gt,c(this).getComputedStyle(this,null).getPropertyValue(ve));return Bt&&function(Lt){this.style.setProperty(ve,Bt(Lt),Ye)}}return this.tween("style."+ve,ot)},gr.text=function(ve){return Cn(this,"text",ve,Zn)};function Zn(ve){return ve==null&&(ve=""),function(){this.textContent=ve}}gr.remove=function(){var ve=this.namespace;return this.each("end.transition",function(){var De;this[ve].count<2&&(De=this.parentNode)&&De.removeChild(this)})},gr.ease=function(ve){var De=this.id,Ye=this.namespace;return arguments.length<1?this.node()[Ye][De].ease:(typeof ve!="function"&&(ve=i.ease.apply(i,arguments)),tt(this,function(ot){ot[Ye][De].ease=ve}))},gr.delay=function(ve){var De=this.id,Ye=this.namespace;return arguments.length<1?this.node()[Ye][De].delay:tt(this,typeof ve=="function"?function(ot,dt,gt){ot[Ye][De].delay=+ve.call(ot,ot.__data__,dt,gt)}:(ve=+ve,function(ot){ot[Ye][De].delay=ve}))},gr.duration=function(ve){var De=this.id,Ye=this.namespace;return arguments.length<1?this.node()[Ye][De].duration:tt(this,typeof ve=="function"?function(ot,dt,gt){ot[Ye][De].duration=Math.max(1,ve.call(ot,ot.__data__,dt,gt))}:(ve=Math.max(1,ve),function(ot){ot[Ye][De].duration=ve}))},gr.each=function(ve,De){var Ye=this.id,ot=this.namespace;if(arguments.length<2){var dt=an,gt=Zr;try{Zr=Ye,tt(this,function(Bt,Lt,er){an=Bt[ot][Ye],ve.call(Bt,Bt.__data__,Lt,er)})}finally{an=dt,Zr=gt}}else tt(this,function(Bt){var Lt=Bt[ot][Ye];(Lt.event||(Lt.event=i.dispatch("start","end","interrupt"))).on(ve,De)});return this},gr.transition=function(){for(var ve=this.id,De=++Ur,Ye=this.namespace,ot=[],dt,gt,Bt,Lt,er=0,tr=this.length;er<tr;er++){ot.push(dt=[]);for(var gt=this[er],hr=0,Vr=gt.length;hr<Vr;hr++)(Bt=gt[hr])&&(Lt=Bt[Ye][ve],fa(Bt,hr,Ye,De,{time:Lt.time,ease:Lt.ease,delay:Lt.delay+Lt.duration,duration:Lt.duration})),dt.push(Bt)}return Nr(ot,Ye,De)};function oa(ve){return ve==null?"__transition__":"__transition_"+ve+"__"}function fa(ve,De,Ye,ot,dt){var gt=ve[Ye]||(ve[Ye]={active:0,count:0}),Bt=gt[ot],Lt,er,tr,hr,Vr;function Gr(qr){var nn=Bt.delay;if(er.t=nn+Lt,nn<=qr)return En(qr-nn);er.c=En}function En(qr){var nn=gt.active,gn=gt[nn];gn&&(gn.timer.c=null,gn.timer.t=NaN,--gt.count,delete gt[nn],gn.event&&gn.event.interrupt.call(ve,ve.__data__,gn.index));for(var On in gt)if(+On<ot){var Un=gt[On];Un.timer.c=null,Un.timer.t=NaN,--gt.count,delete gt[On]}er.c=In,da(function(){return er.c&&In(qr||1)&&(er.c=null,er.t=NaN),1},0,Lt),gt.active=ot,Bt.event&&Bt.event.start.call(ve,ve.__data__,De),Vr=[],Bt.tween.forEach(function(Tn,Qn){(Qn=Qn.call(ve,ve.__data__,De))&&Vr.push(Qn)}),hr=Bt.ease,tr=Bt.duration}function In(qr){for(var nn=qr/tr,gn=hr(nn),On=Vr.length;On>0;)Vr[--On].call(ve,gn);if(nn>=1)return Bt.event&&Bt.event.end.call(ve,ve.__data__,De),--gt.count?delete gt[ot]:delete ve[Ye],1}Bt||(Lt=dt.time,er=da(Gr,0,Lt),Bt=gt[ot]={tween:new P,time:Lt,timer:er,delay:dt.delay,duration:dt.duration,ease:dt.ease,index:De},dt=null,++gt.count)}i.svg.axis=function(){var ve=i.scale.linear(),De=La,Ye=6,ot=6,dt=3,gt=[10],Bt=null,Lt;function er(tr){tr.each(function(){var hr=i.select(this),Vr=this.__chart__||ve,Gr=this.__chart__=ve.copy(),En=Bt??(Gr.ticks?Gr.ticks.apply(Gr,gt):Gr.domain()),In=Lt??(Gr.tickFormat?Gr.tickFormat.apply(Gr,gt):V),qr=hr.selectAll(".tick").data(En,Gr),nn=qr.enter().insert("g",".domain").attr("class","tick").style("opacity",Se),gn=i.transition(qr.exit()).style("opacity",Se).remove(),On=i.transition(qr.order()).style("opacity",1),Un=Math.max(Ye,0)+dt,Tn,Qn=lp(Gr),$a=hr.selectAll(".domain").data([0]),ti=($a.enter().append("path").attr("class","domain"),i.transition($a));nn.append("line"),nn.append("text");var Fa=nn.select("line"),Qa=On.select("line"),ri=qr.select("text").text(In),Xi=nn.select("text"),hi=On.select("text"),Gi=De==="top"||De==="left"?-1:1,Ro,el,Vo,Ba;if(De==="bottom"||De==="top"?(Tn=Ii,Ro="x",Vo="y",el="x2",Ba="y2",ri.attr("dy",Gi<0?"0em":".71em").style("text-anchor","middle"),ti.attr("d","M"+Qn[0]+","+Gi*ot+"V0H"+Qn[1]+"V"+Gi*ot)):(Tn=Bi,Ro="y",Vo="x",el="y2",Ba="x2",ri.attr("dy",".32em").style("text-anchor",Gi<0?"end":"start"),ti.attr("d","M"+Gi*ot+","+Qn[0]+"H0V"+Qn[1]+"H"+Gi*ot)),Fa.attr(Ba,Gi*Ye),Xi.attr(Vo,Gi*Un),Qa.attr(el,0).attr(Ba,Gi*Ye),hi.attr(Ro,0).attr(Vo,Gi*Un),Gr.rangeBand){var Pi=Gr,_i=Pi.rangeBand()/2;Vr=Gr=function(xo){return Pi(xo)+_i}}else Vr.rangeBand?Vr=Gr:gn.call(Tn,Gr,Vr);nn.call(Tn,Vr,Gr),On.call(Tn,Gr,Gr)})}return er.scale=function(tr){return arguments.length?(ve=tr,er):ve},er.orient=function(tr){return arguments.length?(De=tr in Di?tr+"":La,er):De},er.ticks=function(){return arguments.length?(gt=g(arguments),er):gt},er.tickValues=function(tr){return arguments.length?(Bt=tr,er):Bt},er.tickFormat=function(tr){return arguments.length?(Lt=tr,er):Lt},er.tickSize=function(tr){var hr=arguments.length;return hr?(Ye=+tr,ot=+arguments[hr-1],er):Ye},er.innerTickSize=function(tr){return arguments.length?(Ye=+tr,er):Ye},er.outerTickSize=function(tr){return arguments.length?(ot=+tr,er):ot},er.tickPadding=function(tr){return arguments.length?(dt=+tr,er):dt},er.tickSubdivide=function(){return arguments.length&&er},er};var La="bottom",Di={top:1,right:1,bottom:1,left:1};function Ii(ve,De,Ye){ve.attr("transform",function(ot){var dt=De(ot);return"translate("+(isFinite(dt)?dt:Ye(ot))+",0)"})}function Bi(ve,De,Ye){ve.attr("transform",function(ot){var dt=De(ot);return"translate(0,"+(isFinite(dt)?dt:Ye(ot))+")"})}i.svg.brush=function(){var ve=J(hr,"brushstart","brush","brushend"),De=null,Ye=null,ot=[0,0],dt=[0,0],gt,Bt,Lt=!0,er=!0,tr=_o[0];function hr(qr){qr.each(function(){var nn=i.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",In).on("touchstart.brush",In),gn=nn.selectAll(".background").data([0]);gn.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),nn.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var On=nn.selectAll(".resize").data(tr,V);On.exit().remove(),On.enter().append("g").attr("class",function($a){return"resize "+$a}).style("cursor",function($a){return Ki[$a]}).append("rect").attr("x",function($a){return/[ew]$/.test($a)?-3:null}).attr("y",function($a){return/^[ns]/.test($a)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),On.style("display",hr.empty()?"none":null);var Un=i.transition(nn),Tn=i.transition(gn),Qn;De&&(Qn=lp(De),Tn.attr("x",Qn[0]).attr("width",Qn[1]-Qn[0]),Gr(Un)),Ye&&(Qn=lp(Ye),Tn.attr("y",Qn[0]).attr("height",Qn[1]-Qn[0]),En(Un)),Vr(Un)})}hr.event=function(qr){qr.each(function(){var nn=ve.of(this,arguments),gn={x:ot,y:dt,i:gt,j:Bt},On=this.__chart__||gn;this.__chart__=gn,Zr?i.select(this).transition().each("start.brush",function(){gt=On.i,Bt=On.j,ot=On.x,dt=On.y,nn({type:"brushstart"})}).tween("brush:brush",function(){var Un=Tc(ot,gn.x),Tn=Tc(dt,gn.y);return gt=Bt=null,function(Qn){ot=gn.x=Un(Qn),dt=gn.y=Tn(Qn),nn({type:"brush",mode:"resize"})}}).each("end.brush",function(){gt=gn.i,Bt=gn.j,nn({type:"brush",mode:"resize"}),nn({type:"brushend"})}):(nn({type:"brushstart"}),nn({type:"brush",mode:"resize"}),nn({type:"brushend"}))})};function Vr(qr){qr.selectAll(".resize").attr("transform",function(nn){return"translate("+ot[+/e$/.test(nn)]+","+dt[+/^s/.test(nn)]+")"})}function Gr(qr){qr.select(".extent").attr("x",ot[0]),qr.selectAll(".extent,.n>rect,.s>rect").attr("width",ot[1]-ot[0])}function En(qr){qr.select(".extent").attr("y",dt[0]),qr.selectAll(".extent,.e>rect,.w>rect").attr("height",dt[1]-dt[0])}function In(){var qr=this,nn=i.select(i.event.target),gn=ve.of(qr,arguments),On=i.select(qr),Un=nn.datum(),Tn=!/^(n|s)$/.test(Un)&&De,Qn=!/^(e|w)$/.test(Un)&&Ye,$a=nn.classed("extent"),ti=rt(qr),Fa,Qa=i.mouse(qr),ri,Xi=i.select(c(qr)).on("keydown.brush",Ro).on("keyup.brush",el);if(i.event.changedTouches?Xi.on("touchmove.brush",Vo).on("touchend.brush",Pi):Xi.on("mousemove.brush",Vo).on("mouseup.brush",Pi),On.interrupt().selectAll("*").interrupt(),$a)Qa[0]=ot[0]-Qa[0],Qa[1]=dt[0]-Qa[1];else if(Un){var hi=+/w$/.test(Un),Gi=+/^n/.test(Un);ri=[ot[1-hi]-Qa[0],dt[1-Gi]-Qa[1]],Qa[0]=ot[hi],Qa[1]=dt[Gi]}else i.event.altKey&&(Fa=Qa.slice());On.style("pointer-events","none").selectAll(".resize").style("display",null),i.select("body").style("cursor",nn.style("cursor")),gn({type:"brushstart"}),Vo();function Ro(){i.event.keyCode==32&&($a||(Fa=null,Qa[0]-=ot[1],Qa[1]-=dt[1],$a=2),ie())}function el(){i.event.keyCode==32&&$a==2&&(Qa[0]+=ot[1],Qa[1]+=dt[1],$a=0,ie())}function Vo(){var _i=i.mouse(qr),xo=!1;ri&&(_i[0]+=ri[0],_i[1]+=ri[1]),$a||(i.event.altKey?(Fa||(Fa=[(ot[0]+ot[1])/2,(dt[0]+dt[1])/2]),Qa[0]=ot[+(_i[0]<Fa[0])],Qa[1]=dt[+(_i[1]<Fa[1])]):Fa=null),Tn&&Ba(_i,De,0)&&(Gr(On),xo=!0),Qn&&Ba(_i,Ye,1)&&(En(On),xo=!0),xo&&(Vr(On),gn({type:"brush",mode:$a?"move":"resize"}))}function Ba(_i,xo,Ts){var No=lp(xo),yl=No[0],fl=No[1],Nl=Qa[Ts],Ss=Ts?dt:ot,Il=Ss[1]-Ss[0],ja,Ri;if($a&&(yl-=Nl,fl-=Il+Nl),ja=(Ts?er:Lt)?Math.max(yl,Math.min(fl,_i[Ts])):_i[Ts],$a?Ri=(ja+=Nl)+Il:(Fa&&(Nl=Math.max(yl,Math.min(fl,2*Fa[Ts]-ja))),Nl<ja?(Ri=ja,ja=Nl):Ri=Nl),Ss[0]!=ja||Ss[1]!=Ri)return Ts?Bt=null:gt=null,Ss[0]=ja,Ss[1]=Ri,!0}function Pi(){Vo(),On.style("pointer-events","all").selectAll(".resize").style("display",hr.empty()?"none":null),i.select("body").style("cursor",null),Xi.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),ti(),gn({type:"brushend"})}}return hr.x=function(qr){return arguments.length?(De=qr,tr=_o[!De<<1|!Ye],hr):De},hr.y=function(qr){return arguments.length?(Ye=qr,tr=_o[!De<<1|!Ye],hr):Ye},hr.clamp=function(qr){return arguments.length?(De&&Ye?(Lt=!!qr[0],er=!!qr[1]):De?Lt=!!qr:Ye&&(er=!!qr),hr):De&&Ye?[Lt,er]:De?Lt:Ye?er:null},hr.extent=function(qr){var nn,gn,On,Un,Tn;return arguments.length?(De&&(nn=qr[0],gn=qr[1],Ye&&(nn=nn[0],gn=gn[0]),gt=[nn,gn],De.invert&&(nn=De(nn),gn=De(gn)),gn<nn&&(Tn=nn,nn=gn,gn=Tn),(nn!=ot[0]||gn!=ot[1])&&(ot=[nn,gn])),Ye&&(On=qr[0],Un=qr[1],De&&(On=On[1],Un=Un[1]),Bt=[On,Un],Ye.invert&&(On=Ye(On),Un=Ye(Un)),Un<On&&(Tn=On,On=Un,Un=Tn),(On!=dt[0]||Un!=dt[1])&&(dt=[On,Un])),hr):(De&&(gt?(nn=gt[0],gn=gt[1]):(nn=ot[0],gn=ot[1],De.invert&&(nn=De.invert(nn),gn=De.invert(gn)),gn<nn&&(Tn=nn,nn=gn,gn=Tn))),Ye&&(Bt?(On=Bt[0],Un=Bt[1]):(On=dt[0],Un=dt[1],Ye.invert&&(On=Ye.invert(On),Un=Ye.invert(Un)),Un<On&&(Tn=On,On=Un,Un=Tn))),De&&Ye?[[nn,On],[gn,Un]]:De?[nn,gn]:Ye&&[On,Un])},hr.clear=function(){return hr.empty()||(ot=[0,0],dt=[0,0],gt=Bt=null),hr},hr.empty=function(){return!!De&&ot[0]==ot[1]||!!Ye&&dt[0]==dt[1]},i.rebind(hr,ve,"on")};var Ki={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},_o=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]];i.text=ta(function(ve){return ve.responseText}),i.json=function(ve,De){return ra(ve,"application/json",rs,De)};function rs(ve){return JSON.parse(ve.responseText)}i.html=function(ve,De){return ra(ve,"text/html",il,De)};function il(ve){var De=p.createRange();return De.selectNode(p.body),De.createContextualFragment(ve.responseText)}i.xml=ta(function(ve){return ve.responseXML}),l=i,v=typeof l=="function"?l.call(h,a,h,u):l,v!==void 0&&(u.exports=v)}).apply(self)},3480:function(u){(function(h,a){u.exports=a()})(this,function(){var h,a,l;function v(i,S){if(!h)h=S;else if(!a)a=S;else{var g="var sharedChunk = {}; ("+h+")(sharedChunk); ("+a+")(sharedChunk);",p={};h(p),l=S(p),typeof window<"u"&&(l.workerUrl=window.URL.createObjectURL(new Blob([g],{type:"text/javascript"})))}}return v(["exports"],function(i){function S($,H){return H={exports:{}},$(H,H.exports),H.exports}var g="1.13.4",p=_;function _($,H,q,ue){this.cx=3*$,this.bx=3*(q-$)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*H,this.by=3*(ue-H)-this.cy,this.ay=1-this.cy-this.by,this.p1x=$,this.p1y=ue,this.p2x=q,this.p2y=ue}_.prototype.sampleCurveX=function($){return((this.ax*$+this.bx)*$+this.cx)*$},_.prototype.sampleCurveY=function($){return((this.ay*$+this.by)*$+this.cy)*$},_.prototype.sampleCurveDerivativeX=function($){return(3*this.ax*$+2*this.bx)*$+this.cx},_.prototype.solveCurveX=function($,H){typeof H>"u"&&(H=1e-6);var q,ue,_e,Ie,$e;for(_e=$,$e=0;$e<8;$e++){if(Ie=this.sampleCurveX(_e)-$,Math.abs(Ie)<H)return _e;var it=this.sampleCurveDerivativeX(_e);if(Math.abs(it)<1e-6)break;_e=_e-Ie/it}if(q=0,ue=1,_e=$,_e<q)return q;if(_e>ue)return ue;for(;q<ue;){if(Ie=this.sampleCurveX(_e),Math.abs(Ie-$)<H)return _e;$>Ie?q=_e:ue=_e,_e=(ue-q)*.5+q}return _e},_.prototype.solve=function($,H){return this.sampleCurveY(this.solveCurveX($,H))};var c=s;function s($,H){this.x=$,this.y=H}s.prototype={clone:function(){return new s(this.x,this.y)},add:function($){return this.clone()._add($)},sub:function($){return this.clone()._sub($)},multByPoint:function($){return this.clone()._multByPoint($)},divByPoint:function($){return this.clone()._divByPoint($)},mult:function($){return this.clone()._mult($)},div:function($){return this.clone()._div($)},rotate:function($){return this.clone()._rotate($)},rotateAround:function($,H){return this.clone()._rotateAround($,H)},matMult:function($){return this.clone()._matMult($)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function($){return this.x===$.x&&this.y===$.y},dist:function($){return Math.sqrt(this.distSqr($))},distSqr:function($){var H=$.x-this.x,q=$.y-this.y;return H*H+q*q},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function($){return Math.atan2(this.y-$.y,this.x-$.x)},angleWith:function($){return this.angleWithSep($.x,$.y)},angleWithSep:function($,H){return Math.atan2(this.x*H-this.y*$,this.x*$+this.y*H)},_matMult:function($){var H=$[0]*this.x+$[1]*this.y,q=$[2]*this.x+$[3]*this.y;return this.x=H,this.y=q,this},_add:function($){return this.x+=$.x,this.y+=$.y,this},_sub:function($){return this.x-=$.x,this.y-=$.y,this},_mult:function($){return this.x*=$,this.y*=$,this},_div:function($){return this.x/=$,this.y/=$,this},_multByPoint:function($){return this.x*=$.x,this.y*=$.y,this},_divByPoint:function($){return this.x/=$.x,this.y/=$.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var $=this.y;return this.y=this.x,this.x=-$,this},_rotate:function($){var H=Math.cos($),q=Math.sin($),ue=H*this.x-q*this.y,_e=q*this.x+H*this.y;return this.x=ue,this.y=_e,this},_rotateAround:function($,H){var q=Math.cos($),ue=Math.sin($),_e=H.x+q*(this.x-H.x)-ue*(this.y-H.y),Ie=H.y+ue*(this.x-H.x)+q*(this.y-H.y);return this.x=_e,this.y=Ie,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},s.convert=function($){return $ instanceof s?$:Array.isArray($)?new s($[0],$[1]):$};var d=typeof self<"u"?self:{};function f($,H){if(Array.isArray($)){if(!Array.isArray(H)||$.length!==H.length)return!1;for(var q=0;q<$.length;q++)if(!f($[q],H[q]))return!1;return!0}if(typeof $=="object"&&$!==null&&H!==null){if(typeof H!="object")return!1;var ue=Object.keys($);if(ue.length!==Object.keys(H).length)return!1;for(var _e in $)if(!f($[_e],H[_e]))return!1;return!0}return $===H}var b=Math.pow(2,53)-1;function x($){if($<=0)return 0;if($>=1)return 1;var H=$*$,q=H*$;return 4*($<.5?q:3*($-H)+q-.75)}function y($,H,q,ue){var _e=new p($,H,q,ue);return function(Ie){return _e.solve(Ie)}}var C=y(.25,.1,.25,1);function w($,H,q){return Math.min(q,Math.max(H,$))}function R($,H,q){var ue=q-H,_e=(($-H)%ue+ue)%ue+H;return _e===H?q:_e}function A($,H,q){if(!$.length)return q(null,[]);var ue=$.length,_e=new Array($.length),Ie=null;$.forEach(function($e,it){H($e,function(St,Ot){St&&(Ie=St),_e[it]=Ot,--ue===0&&q(Ie,_e)})})}function E($){var H=[];for(var q in $)H.push($[q]);return H}function k($,H){var q=[];for(var ue in $)ue in H||q.push(ue);return q}function L($){for(var H=[],q=arguments.length-1;q-- >0;)H[q]=arguments[q+1];for(var ue=0,_e=H;ue<_e.length;ue+=1){var Ie=_e[ue];for(var $e in Ie)$[$e]=Ie[$e]}return $}function I($,H){for(var q={},ue=0;ue<H.length;ue++){var _e=H[ue];_e in $&&(q[_e]=$[_e])}return q}var P=1;function M(){return P++}function F(){function $(H){return H?(H^Math.random()*16>>H/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,$)}return $()}function N($){return $<=1?1:Math.pow(2,Math.ceil(Math.log($)/Math.LN2))}function T($){return $?/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test($):!1}function D($,H){$.forEach(function(q){H[q]&&(H[q]=H[q].bind(H))})}function O($,H){return $.indexOf(H,$.length-H.length)!==-1}function U($,H,q){var ue={};for(var _e in $)ue[_e]=H.call(q||this,$[_e],_e,$);return ue}function B($,H,q){var ue={};for(var _e in $)H.call(q||this,$[_e],_e,$)&&(ue[_e]=$[_e]);return ue}function Y($){return Array.isArray($)?$.map(Y):typeof $=="object"&&$?U($,Y):$}function z($,H){for(var q=0;q<$.length;q++)if(H.indexOf($[q])>=0)return!0;return!1}var V={};function j($){V[$]||(typeof console<"u"&&console.warn($),V[$]=!0)}function G($,H,q){return(q.y-$.y)*(H.x-$.x)>(H.y-$.y)*(q.x-$.x)}function W($){for(var H=0,q=0,ue=$.length,_e=ue-1,Ie=void 0,$e=void 0;q<ue;_e=q++)Ie=$[q],$e=$[_e],H+=($e.x-Ie.x)*(Ie.y+$e.y);return H}function X($){var H=$[0],q=$[1],ue=$[2];return q+=90,q*=Math.PI/180,ue*=Math.PI/180,{x:H*Math.cos(q)*Math.sin(ue),y:H*Math.sin(q)*Math.sin(ue),z:H*Math.cos(ue)}}function Q(){return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope}function ae($){var H=/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,q={};if($.replace(H,function(_e,Ie,$e,it){var St=$e||it;return q[Ie]=St?St.toLowerCase():!0,""}),q["max-age"]){var ue=parseInt(q["max-age"],10);isNaN(ue)?delete q["max-age"]:q["max-age"]=ue}return q}var ie=null;function he($){if(ie==null){var H=$.navigator?$.navigator.userAgent:null;ie=!!$.safari||!!(H&&(/\b(iPad|iPhone|iPod)\b/.test(H)||H.match("Safari")&&!H.match("Chrome")))}return ie}function J($){try{var H=d[$];return H.setItem("_mapbox_test_",1),H.removeItem("_mapbox_test_"),!0}catch{return!1}}function Z($){return d.btoa(encodeURIComponent($).replace(/%([0-9A-F]{2})/g,function(H,q){return String.fromCharCode(+("0x"+q))}))}function le($){return decodeURIComponent(d.atob($).split("").map(function(H){return"%"+("00"+H.charCodeAt(0).toString(16)).slice(-2)}).join(""))}var K=d.performance&&d.performance.now?d.performance.now.bind(d.performance):Date.now.bind(Date),te=d.requestAnimationFrame||d.mozRequestAnimationFrame||d.webkitRequestAnimationFrame||d.msRequestAnimationFrame,ce=d.cancelAnimationFrame||d.mozCancelAnimationFrame||d.webkitCancelAnimationFrame||d.msCancelAnimationFrame,re,ee,de={now:K,frame:function(H){var q=te(H);return{cancel:function(){return ce(q)}}},getImageData:function(H,q){q===void 0&&(q=0);var ue=d.document.createElement("canvas"),_e=ue.getContext("2d");if(!_e)throw new Error("failed to create canvas 2d context");return ue.width=H.width,ue.height=H.height,_e.drawImage(H,0,0,H.width,H.height),_e.getImageData(-q,-q,H.width+2*q,H.height+2*q)},resolveURL:function(H){return re||(re=d.document.createElement("a")),re.href=H,re.href},hardwareConcurrency:d.navigator&&d.navigator.hardwareConcurrency||4,get devicePixelRatio(){return d.devicePixelRatio},get prefersReducedMotion(){return d.matchMedia?(ee==null&&(ee=d.matchMedia("(prefers-reduced-motion: reduce)")),ee.matches):!1}},oe={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},fe={supported:!1,testSupport:Ae},me,Te=!1,we,Be=!1;d.document&&(we=d.document.createElement("img"),we.onload=function(){me&&Re(me),me=null,Be=!0},we.onerror=function(){Te=!0,me=null},we.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");function Ae($){Te||!we||(Be?Re($):me=$)}function Re($){var H=$.createTexture();$.bindTexture($.TEXTURE_2D,H);try{if($.texImage2D($.TEXTURE_2D,0,$.RGBA,$.RGBA,$.UNSIGNED_BYTE,we),$.isContextLost())return;fe.supported=!0}catch{}$.deleteTexture(H),Te=!0}var be="01";function Pe(){for(var $="1",H="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",q="",ue=0;ue<10;ue++)q+=H[Math.floor(Math.random()*62)];var _e=12*60*60*1e3,Ie=[$,be,q].join(""),$e=Date.now()+_e;return{token:Ie,tokenExpiresAt:$e}}var Ke=function(H,q){this._transformRequestFn=H,this._customAccessToken=q,this._createSkuToken()};Ke.prototype._createSkuToken=function(){var H=Pe();this._skuToken=H.token,this._skuTokenExpiresAt=H.tokenExpiresAt},Ke.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},Ke.prototype.transformRequest=function(H,q){return this._transformRequestFn?this._transformRequestFn(H,q)||{url:H}:{url:H}},Ke.prototype.normalizeStyleURL=function(H,q){if(!ze(H))return H;var ue=et(H);return ue.path="/styles/v1"+ue.path,this._makeAPIURL(ue,this._customAccessToken||q)},Ke.prototype.normalizeGlyphsURL=function(H,q){if(!ze(H))return H;var ue=et(H);return ue.path="/fonts/v1"+ue.path,this._makeAPIURL(ue,this._customAccessToken||q)},Ke.prototype.normalizeSourceURL=function(H,q){if(!ze(H))return H;var ue=et(H);return ue.path="/v4/"+ue.authority+".json",ue.params.push("secure"),this._makeAPIURL(ue,this._customAccessToken||q)},Ke.prototype.normalizeSpriteURL=function(H,q,ue,_e){var Ie=et(H);return ze(H)?(Ie.path="/styles/v1"+Ie.path+"/sprite"+q+ue,this._makeAPIURL(Ie,this._customAccessToken||_e)):(Ie.path+=""+q+ue,pt(Ie))},Ke.prototype.normalizeTileURL=function(H,q){if(this._isSkuTokenExpired()&&this._createSkuToken(),H&&!ze(H))return H;var ue=et(H),_e=/(\.(png|jpg)\d*)(?=$)/,Ie=/^.+\/v4\//,$e=de.devicePixelRatio>=2||q===512?"@2x":"",it=fe.supported?".webp":"$1";ue.path=ue.path.replace(_e,""+$e+it),ue.path=ue.path.replace(Ie,"/"),ue.path="/v4"+ue.path;var St=this._customAccessToken||ht(ue.params)||oe.ACCESS_TOKEN;return oe.REQUIRE_ACCESS_TOKEN&&St&&this._skuToken&&ue.params.push("sku="+this._skuToken),this._makeAPIURL(ue,St)},Ke.prototype.canonicalizeTileURL=function(H,q){var ue="/v4/",_e=/\.[\w]+$/,Ie=et(H);if(!Ie.path.match(/(^\/v4\/)/)||!Ie.path.match(_e))return H;var $e="mapbox://tiles/";$e+=Ie.path.replace(ue,"");var it=Ie.params;return q&&(it=it.filter(function(St){return!St.match(/^access_token=/)})),it.length&&($e+="?"+it.join("&")),$e},Ke.prototype.canonicalizeTileset=function(H,q){for(var ue=q?ze(q):!1,_e=[],Ie=0,$e=H.tiles||[];Ie<$e.length;Ie+=1){var it=$e[Ie];We(it)?_e.push(this.canonicalizeTileURL(it,ue)):_e.push(it)}return _e},Ke.prototype._makeAPIURL=function(H,q){var ue="See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes",_e=et(oe.API_URL);if(H.protocol=_e.protocol,H.authority=_e.authority,H.protocol==="http"){var Ie=H.params.indexOf("secure");Ie>=0&&H.params.splice(Ie,1)}if(_e.path!=="/"&&(H.path=""+_e.path+H.path),!oe.REQUIRE_ACCESS_TOKEN)return pt(H);if(q=q||oe.ACCESS_TOKEN,!q)throw new Error("An API access token is required to use Mapbox GL. "+ue);if(q[0]==="s")throw new Error("Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). "+ue);return H.params=H.params.filter(function($e){return $e.indexOf("access_token")===-1}),H.params.push("access_token="+q),pt(H)};function ze($){return $.indexOf("mapbox:")===0}var Fe=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;function We($){return Fe.test($)}function lt($){return $.indexOf("sku=")>0&&We($)}function ht($){for(var H=0,q=$;H<q.length;H+=1){var ue=q[H],_e=ue.match(/^access_token=(.*)$/);if(_e)return _e[1]}return null}var tt=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function et($){var H=$.match(tt);if(!H)throw new Error("Unable to parse URL object");return{protocol:H[1],authority:H[2],path:H[3]||"/",params:H[4]?H[4].split("&"):[]}}function pt($){var H=$.params.length?"?"+$.params.join("&"):"";return $.protocol+"://"+$.authority+$.path+H}var vt="mapbox.eventData";function _t($){if(!$)return null;var H=$.split(".");if(!H||H.length!==3)return null;try{var q=JSON.parse(le(H[1]));return q}catch{return null}}var bt=function(H){this.type=H,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null};bt.prototype.getStorageKey=function(H){var q=_t(oe.ACCESS_TOKEN),ue="";return q&&q.u?ue=Z(q.u):ue=oe.ACCESS_TOKEN||"",H?vt+"."+H+":"+ue:vt+":"+ue},bt.prototype.fetchEventData=function(){var H=J("localStorage"),q=this.getStorageKey(),ue=this.getStorageKey("uuid");if(H)try{var _e=d.localStorage.getItem(q);_e&&(this.eventData=JSON.parse(_e));var Ie=d.localStorage.getItem(ue);Ie&&(this.anonId=Ie)}catch{j("Unable to read from LocalStorage")}},bt.prototype.saveEventData=function(){var H=J("localStorage"),q=this.getStorageKey(),ue=this.getStorageKey("uuid");if(H)try{d.localStorage.setItem(ue,this.anonId),Object.keys(this.eventData).length>=1&&d.localStorage.setItem(q,JSON.stringify(this.eventData))}catch{j("Unable to write to LocalStorage")}},bt.prototype.processRequests=function(H){},bt.prototype.postEvent=function(H,q,ue,_e){var Ie=this;if(oe.EVENTS_URL){var $e=et(oe.EVENTS_URL);$e.params.push("access_token="+(_e||oe.ACCESS_TOKEN||""));var it={event:this.type,created:new Date(H).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:g,skuId:be,userId:this.anonId},St=q?L(it,q):it,Ot={url:pt($e),headers:{"Content-Type":"text/plain"},body:JSON.stringify([St])};this.pendingRequest=Xt(Ot,function(zt){Ie.pendingRequest=null,ue(zt),Ie.saveEventData(),Ie.processRequests(_e)})}},bt.prototype.queueRequest=function(H,q){this.queue.push(H),this.processRequests(q)};var Rt=function($){function H(){$.call(this,"map.load"),this.success={},this.skuToken=""}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.postMapLoadEvent=function(ue,_e,Ie,$e){this.skuToken=Ie,(oe.EVENTS_URL&&$e||oe.ACCESS_TOKEN&&Array.isArray(ue)&&ue.some(function(it){return ze(it)||We(it)}))&&this.queueRequest({id:_e,timestamp:Date.now()},$e)},H.prototype.processRequests=function(ue){var _e=this;if(!(this.pendingRequest||this.queue.length===0)){var Ie=this.queue.shift(),$e=Ie.id,it=Ie.timestamp;$e&&this.success[$e]||(this.anonId||this.fetchEventData(),T(this.anonId)||(this.anonId=F()),this.postEvent(it,{skuToken:this.skuToken},function(St){St||$e&&(_e.success[$e]=!0)},ue))}},H}(bt),ct=function($){function H(q){$.call(this,"appUserTurnstile"),this._customAccessToken=q}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.postTurnstileEvent=function(ue,_e){oe.EVENTS_URL&&oe.ACCESS_TOKEN&&Array.isArray(ue)&&ue.some(function(Ie){return ze(Ie)||We(Ie)})&&this.queueRequest(Date.now(),_e)},H.prototype.processRequests=function(ue){var _e=this;if(!(this.pendingRequest||this.queue.length===0)){(!this.anonId||!this.eventData.lastSuccess||!this.eventData.tokenU)&&this.fetchEventData();var Ie=_t(oe.ACCESS_TOKEN),$e=Ie?Ie.u:oe.ACCESS_TOKEN,it=$e!==this.eventData.tokenU;T(this.anonId)||(this.anonId=F(),it=!0);var St=this.queue.shift();if(this.eventData.lastSuccess){var Ot=new Date(this.eventData.lastSuccess),zt=new Date(St),rr=(St-this.eventData.lastSuccess)/(24*60*60*1e3);it=it||rr>=1||rr<-1||Ot.getDate()!==zt.getDate()}else it=!0;if(!it)return this.processRequests();this.postEvent(St,{"enabled.telemetry":!1},function(vr){vr||(_e.eventData.lastSuccess=St,_e.eventData.tokenU=$e)},ue)}},H}(bt),Ve=new ct,Qe=Ve.postTurnstileEvent.bind(Ve),rt=new Rt,qe=rt.postMapLoadEvent.bind(rt),He="mapbox-tiles",Ce=500,Se=50,Le=1e3*60*7,Ne;function je(){d.caches&&!Ne&&(Ne=d.caches.open(He))}var Je;function ut($,H){if(Je===void 0)try{new Response(new ReadableStream),Je=!0}catch{Je=!1}Je?H($.body):$.blob().then(H)}function Et($,H,q){if(je(),!!Ne){var ue={status:H.status,statusText:H.statusText,headers:new d.Headers};H.headers.forEach(function($e,it){return ue.headers.set(it,$e)});var _e=ae(H.headers.get("Cache-Control")||"");if(!_e["no-store"]){_e["max-age"]&&ue.headers.set("Expires",new Date(q+_e["max-age"]*1e3).toUTCString());var Ie=new Date(ue.headers.get("Expires")).getTime()-q;Ie<Le||ut(H,function($e){var it=new d.Response($e,ue);je(),Ne&&Ne.then(function(St){return St.put(wt($.url),it)}).catch(function(St){return j(St.message)})})}}}function wt($){var H=$.indexOf("?");return H<0?$:$.slice(0,H)}function nr($,H){if(je(),!Ne)return H(null);var q=wt($.url);Ne.then(function(ue){ue.match(q).then(function(_e){var Ie=ir(_e);ue.delete(q),Ie&&ue.put(q,_e.clone()),H(null,_e,Ie)}).catch(H)}).catch(H)}function ir($){if(!$)return!1;var H=new Date($.headers.get("Expires")||0),q=ae($.headers.get("Cache-Control")||"");return H>Date.now()&&!q["no-cache"]}var It=1/0;function Gt($){It++,It>Se&&($.getActor().send("enforceCacheSizeLimit",Ce),It=0)}function cr($){je(),Ne&&Ne.then(function(H){H.keys().then(function(q){for(var ue=0;ue<q.length-$;ue++)H.delete(q[ue])})})}function Pr($){var H=d.caches.delete(He);$&&H.catch($).then(function(){return $()})}function Ct($,H){Ce=$,Se=H}var or;function ur(){return or==null&&(or=d.OffscreenCanvas&&new d.OffscreenCanvas(1,1).getContext("2d")&&typeof d.createImageBitmap=="function"),or}var Ir={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};typeof Object.freeze=="function"&&Object.freeze(Ir);var yr=function($){function H(q,ue,_e){ue===401&&We(_e)&&(q+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),$.call(this,q),this.status=ue,this.url=_e,this.name=this.constructor.name,this.message=q}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},H}(Error),At=Q()?function(){return self.worker&&self.worker.referrer}:function(){return(d.location.protocol==="blob:"?d.parent:d).location.href},mt=function($){return/^file:/.test($)||/^file:/.test(At())&&!/^\w+:/.test($)};function Mt($,H){var q=new d.AbortController,ue=new d.Request($.url,{method:$.method||"GET",body:$.body,credentials:$.credentials,headers:$.headers,referrer:At(),signal:q.signal}),_e=!1,Ie=!1,$e=lt(ue.url);$.type==="json"&&ue.headers.set("Accept","application/json");var it=function(Ot,zt,rr){if(!Ie){if(Ot&&Ot.message!=="SecurityError"&&j(Ot),zt&&rr)return St(zt);var vr=Date.now();d.fetch(ue).then(function(dr){if(dr.ok){var Or=$e?dr.clone():null;return St(dr,Or,vr)}else return H(new yr(dr.statusText,dr.status,$.url))}).catch(function(dr){dr.code!==20&&H(new Error(dr.message))})}},St=function(Ot,zt,rr){($.type==="arrayBuffer"?Ot.arrayBuffer():$.type==="json"?Ot.json():Ot.text()).then(function(vr){Ie||(zt&&rr&&Et(ue,zt,rr),_e=!0,H(null,vr,Ot.headers.get("Cache-Control"),Ot.headers.get("Expires")))}).catch(function(vr){Ie||H(new Error(vr.message))})};return $e?nr(ue,it):it(null,null),{cancel:function(){Ie=!0,_e||q.abort()}}}function Pt($,H){var q=new d.XMLHttpRequest;q.open($.method||"GET",$.url,!0),$.type==="arrayBuffer"&&(q.responseType="arraybuffer");for(var ue in $.headers)q.setRequestHeader(ue,$.headers[ue]);return $.type==="json"&&(q.responseType="text",q.setRequestHeader("Accept","application/json")),q.withCredentials=$.credentials==="include",q.onerror=function(){H(new Error(q.statusText))},q.onload=function(){if((q.status>=200&&q.status<300||q.status===0)&&q.response!==null){var _e=q.response;if($.type==="json")try{_e=JSON.parse(q.response)}catch(Ie){return H(Ie)}H(null,_e,q.getResponseHeader("Cache-Control"),q.getResponseHeader("Expires"))}else H(new yr(q.statusText,q.status,$.url))},q.send($.body),{cancel:function(){return q.abort()}}}var Ht=function($,H){if(!mt($.url)){if(d.fetch&&d.Request&&d.AbortController&&d.Request.prototype.hasOwnProperty("signal"))return Mt($,H);if(Q()&&self.worker&&self.worker.actor){var q=!0;return self.worker.actor.send("getResource",$,H,void 0,q)}}return Pt($,H)},Ut=function($,H){return Ht(L($,{type:"json"}),H)},Zt=function($,H){return Ht(L($,{type:"arrayBuffer"}),H)},Xt=function($,H){return Ht(L($,{method:"POST"}),H)};function sr($){var H=d.document.createElement("a");return H.href=$,H.protocol===d.document.location.protocol&&H.host===d.document.location.host}var Sr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";function wr($,H,q,ue){var _e=new d.Image,Ie=d.URL;_e.onload=function(){H(null,_e),Ie.revokeObjectURL(_e.src),_e.onload=null,d.requestAnimationFrame(function(){_e.src=Sr})},_e.onerror=function(){return H(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))};var $e=new d.Blob([new Uint8Array($)],{type:"image/png"});_e.cacheControl=q,_e.expires=ue,_e.src=$.byteLength?Ie.createObjectURL($e):Sr}function Tr($,H){var q=new d.Blob([new Uint8Array($)],{type:"image/png"});d.createImageBitmap(q).then(function(ue){H(null,ue)}).catch(function(ue){H(new Error("Could not load image because of "+ue.message+". Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))})}var Ze,Xe,Wt=function(){Ze=[],Xe=0};Wt();var jt=function($,H){if(fe.supported&&($.headers||($.headers={}),$.headers.accept="image/webp,*/*"),Xe>=oe.MAX_PARALLEL_IMAGE_REQUESTS){var q={requestParameters:$,callback:H,cancelled:!1,cancel:function(){this.cancelled=!0}};return Ze.push(q),q}Xe++;var ue=!1,_e=function(){if(!ue)for(ue=!0,Xe--;Ze.length&&Xe<oe.MAX_PARALLEL_IMAGE_REQUESTS;){var $e=Ze.shift(),it=$e.requestParameters,St=$e.callback,Ot=$e.cancelled;Ot||($e.cancel=jt(it,St).cancel)}},Ie=Zt($,function($e,it,St,Ot){_e(),$e?H($e):it&&(ur()?Tr(it,H):wr(it,H,St,Ot))});return{cancel:function(){Ie.cancel(),_e()}}},ar=function($,H){var q=d.document.createElement("video");q.muted=!0,q.onloadstart=function(){H(null,q)};for(var ue=0;ue<$.length;ue++){var _e=d.document.createElement("source");sr($[ue])||(q.crossOrigin="Anonymous"),_e.src=$[ue],q.appendChild(_e)}return{cancel:function(){}}};function mr($,H,q){var ue=q[$]&&q[$].indexOf(H)!==-1;ue||(q[$]=q[$]||[],q[$].push(H))}function br($,H,q){if(q&&q[$]){var ue=q[$].indexOf(H);ue!==-1&&q[$].splice(ue,1)}}var fr=function(H,q){q===void 0&&(q={}),L(this,q),this.type=H},Kt=function($){function H(q,ue){ue===void 0&&(ue={}),$.call(this,"error",L({error:q},ue))}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H}(fr),kr=function(){};kr.prototype.on=function(H,q){return this._listeners=this._listeners||{},mr(H,q,this._listeners),this},kr.prototype.off=function(H,q){return br(H,q,this._listeners),br(H,q,this._oneTimeListeners),this},kr.prototype.once=function(H,q){return this._oneTimeListeners=this._oneTimeListeners||{},mr(H,q,this._oneTimeListeners),this},kr.prototype.fire=function(H,q){typeof H=="string"&&(H=new fr(H,q||{}));var ue=H.type;if(this.listens(ue)){H.target=this;for(var _e=this._listeners&&this._listeners[ue]?this._listeners[ue].slice():[],Ie=0,$e=_e;Ie<$e.length;Ie+=1){var it=$e[Ie];it.call(this,H)}for(var St=this._oneTimeListeners&&this._oneTimeListeners[ue]?this._oneTimeListeners[ue].slice():[],Ot=0,zt=St;Ot<zt.length;Ot+=1){var rr=zt[Ot];br(ue,rr,this._oneTimeListeners),rr.call(this,H)}var vr=this._eventedParent;vr&&(L(H,typeof this._eventedParentData=="function"?this._eventedParentData():this._eventedParentData),vr.fire(H))}else H instanceof Kt&&console.error(H.error);return this},kr.prototype.listens=function(H){return this._listeners&&this._listeners[H]&&this._listeners[H].length>0||this._oneTimeListeners&&this._oneTimeListeners[H]&&this._oneTimeListeners[H].length>0||this._eventedParent&&this._eventedParent.listens(H)},kr.prototype.setEventedParent=function(H,q){return this._eventedParent=H,this._eventedParentData=q,this};var Rr=8,Lr={version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},Ar={"*":{type:"source"}},ln=["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],Kr={type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},Xr={type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},Bn={type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},An={type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"*"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},ta={type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},ra={type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},Cr={id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},Jr=["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],un={visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},sn={"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},Nn={"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},Hn={visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},$n={"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},da={"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},_a={visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},Ya={visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},di={type:"array",value:"*"},ii={type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},Za={type:"enum",values:{Point:{},LineString:{},Polygon:{}}},oi={type:"array",minimum:0,maximum:24,value:["number","color"],length:2},Fr={type:"array",value:"*",minimum:1},vn={anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},fn=["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],Vn={"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},Sa={"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},na={"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},aa={"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},ba={"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},Ua={"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},fi={"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},Vi={"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},Dr={duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},tn={"*":{type:"string"}},zr={$version:Rr,$root:Lr,sources:Ar,source:ln,source_vector:Kr,source_raster:Xr,source_raster_dem:Bn,source_geojson:An,source_video:ta,source_image:ra,layer:Cr,layout:Jr,layout_background:un,layout_fill:sn,layout_circle:Nn,layout_heatmap:Hn,"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:$n,layout_symbol:da,layout_raster:_a,layout_hillshade:Ya,filter:di,filter_operator:ii,geometry_type:Za,function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:oi,expression:Fr,light:vn,paint:fn,paint_fill:Vn,"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:Sa,paint_circle:na,paint_heatmap:aa,paint_symbol:ba,paint_raster:Ua,paint_hillshade:fi,paint_background:Vi,transition:Dr,"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:tn},rn=function(H,q,ue,_e){this.message=(H?H+": ":"")+ue,_e&&(this.identifier=_e),q!=null&&q.__line__&&(this.line=q.__line__)};function Xn($){var H=$.key,q=$.value;return q?[new rn(H,q,"constants have been deprecated as of v8")]:[]}function ia($){for(var H=[],q=arguments.length-1;q-- >0;)H[q]=arguments[q+1];for(var ue=0,_e=H;ue<_e.length;ue+=1){var Ie=_e[ue];for(var $e in Ie)$[$e]=Ie[$e]}return $}function zn($){return $ instanceof Number||$ instanceof String||$ instanceof Boolean?$.valueOf():$}function Ln($){if(Array.isArray($))return $.map(Ln);if($ instanceof Object&&!($ instanceof Number||$ instanceof String||$ instanceof Boolean)){var H={};for(var q in $)H[q]=Ln($[q]);return H}return zn($)}var Hr=function($){function H(q,ue){$.call(this,ue),this.message=ue,this.key=q}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H}(Error),mn=function(H,q){q===void 0&&(q=[]),this.parent=H,this.bindings={};for(var ue=0,_e=q;ue<_e.length;ue+=1){var Ie=_e[ue],$e=Ie[0],it=Ie[1];this.bindings[$e]=it}};mn.prototype.concat=function(H){return new mn(this,H)},mn.prototype.get=function(H){if(this.bindings[H])return this.bindings[H];if(this.parent)return this.parent.get(H);throw new Error(H+" not found in scope.")},mn.prototype.has=function(H){return this.bindings[H]?!0:this.parent?this.parent.has(H):!1};var cn={kind:"null"},bn={kind:"number"},qn={kind:"string"},ua={kind:"boolean"},ea={kind:"color"},Ea={kind:"object"},ya={kind:"value"},ei={kind:"error"},Wa={kind:"collator"},ni={kind:"formatted"},si={kind:"resolvedImage"};function Uo($,H){return{kind:"array",itemType:$,N:H}}function Fo($){if($.kind==="array"){var H=Fo($.itemType);return typeof $.N=="number"?"array<"+H+", "+$.N+">":$.itemType.kind==="value"?"array":"array<"+H+">"}else return $.kind}var nu=[cn,bn,qn,ua,ea,ni,Ea,Uo(ya),si];function cc($,H){if(H.kind==="error")return null;if($.kind==="array"){if(H.kind==="array"&&(H.N===0&&H.itemType.kind==="value"||!cc($.itemType,H.itemType))&&(typeof $.N!="number"||$.N===H.N))return null}else{if($.kind===H.kind)return null;if($.kind==="value")for(var q=0,ue=nu;q<ue.length;q+=1){var _e=ue[q];if(!cc(_e,H))return null}}return"Expected "+Fo($)+" but found "+Fo(H)+" instead."}function jl($,H){return H.some(function(q){return q.kind===$.kind})}function Wh($,H){return H.some(function(q){return q==="null"?$===null:q==="array"?Array.isArray($):q==="object"?$&&!Array.isArray($)&&typeof $=="object":q===typeof $})}var J1=S(function($,H){var q={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function ue(Ot){return Ot=Math.round(Ot),Ot<0?0:Ot>255?255:Ot}function _e(Ot){return Ot<0?0:Ot>1?1:Ot}function Ie(Ot){return Ot[Ot.length-1]==="%"?ue(parseFloat(Ot)/100*255):ue(parseInt(Ot))}function $e(Ot){return Ot[Ot.length-1]==="%"?_e(parseFloat(Ot)/100):_e(parseFloat(Ot))}function it(Ot,zt,rr){return rr<0?rr+=1:rr>1&&(rr-=1),rr*6<1?Ot+(zt-Ot)*rr*6:rr*2<1?zt:rr*3<2?Ot+(zt-Ot)*(2/3-rr)*6:Ot}function St(Ot){var zt=Ot.replace(/ /g,"").toLowerCase();if(zt in q)return q[zt].slice();if(zt[0]==="#"){if(zt.length===4){var rr=parseInt(zt.substr(1),16);return rr>=0&&rr<=4095?[(rr&3840)>>4|(rr&3840)>>8,rr&240|(rr&240)>>4,rr&15|(rr&15)<<4,1]:null}else if(zt.length===7){var rr=parseInt(zt.substr(1),16);return rr>=0&&rr<=16777215?[(rr&16711680)>>16,(rr&65280)>>8,rr&255,1]:null}return null}var vr=zt.indexOf("("),dr=zt.indexOf(")");if(vr!==-1&&dr+1===zt.length){var Or=zt.substr(0,vr),on=zt.substr(vr+1,dr-(vr+1)).split(","),Pn=1;switch(Or){case"rgba":if(on.length!==4)return null;Pn=$e(on.pop());case"rgb":return on.length!==3?null:[Ie(on[0]),Ie(on[1]),Ie(on[2]),Pn];case"hsla":if(on.length!==4)return null;Pn=$e(on.pop());case"hsl":if(on.length!==3)return null;var Mn=(parseFloat(on[0])%360+360)%360/360,ca=$e(on[1]),Wn=$e(on[2]),sa=Wn<=.5?Wn*(ca+1):Wn+ca-Wn*ca,va=Wn*2-sa;return[ue(it(va,sa,Mn+1/3)*255),ue(it(va,sa,Mn)*255),ue(it(va,sa,Mn-1/3)*255),Pn];default:return null}}return null}try{H.parseCSSColor=St}catch{}}),ev=J1.parseCSSColor,Ao=function(H,q,ue,_e){_e===void 0&&(_e=1),this.r=H,this.g=q,this.b=ue,this.a=_e};Ao.parse=function(H){if(H){if(H instanceof Ao)return H;if(typeof H=="string"){var q=ev(H);if(q)return new Ao(q[0]/255*q[3],q[1]/255*q[3],q[2]/255*q[3],q[3])}}},Ao.prototype.toString=function(){var H=this.toArray(),q=H[0],ue=H[1],_e=H[2],Ie=H[3];return"rgba("+Math.round(q)+","+Math.round(ue)+","+Math.round(_e)+","+Ie+")"},Ao.prototype.toArray=function(){var H=this,q=H.r,ue=H.g,_e=H.b,Ie=H.a;return Ie===0?[0,0,0,0]:[q*255/Ie,ue*255/Ie,_e*255/Ie,Ie]},Ao.black=new Ao(0,0,0,1),Ao.white=new Ao(1,1,1,1),Ao.transparent=new Ao(0,0,0,0),Ao.red=new Ao(1,0,0,1);var sd=function(H,q,ue){H?this.sensitivity=q?"variant":"case":this.sensitivity=q?"accent":"base",this.locale=ue,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};sd.prototype.compare=function(H,q){return this.collator.compare(H,q)},sd.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var tv=function(H,q,ue,_e,Ie){this.text=H,this.image=q,this.scale=ue,this.fontStack=_e,this.textColor=Ie},ml=function(H){this.sections=H};ml.fromString=function(H){return new ml([new tv(H,null,null,null,null)])},ml.prototype.isEmpty=function(){return this.sections.length===0?!0:!this.sections.some(function(H){return H.text.length!==0||H.image&&H.image.name.length!==0})},ml.factory=function(H){return H instanceof ml?H:ml.fromString(H)},ml.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(H){return H.text}).join("")},ml.prototype.serialize=function(){for(var H=["format"],q=0,ue=this.sections;q<ue.length;q+=1){var _e=ue[q];if(_e.image){H.push(["image",_e.image.name]);continue}H.push(_e.text);var Ie={};_e.fontStack&&(Ie["text-font"]=["literal",_e.fontStack.split(",")]),_e.scale&&(Ie["font-scale"]=_e.scale),_e.textColor&&(Ie["text-color"]=["rgba"].concat(_e.textColor.toArray())),H.push(Ie)}return H};var uc=function(H){this.name=H.name,this.available=H.available};uc.prototype.toString=function(){return this.name},uc.fromString=function(H){return H?new uc({name:H,available:!1}):null},uc.prototype.serialize=function(){return["image",this.name]};function xf($,H,q,ue){if(!(typeof $=="number"&&$>=0&&$<=255&&typeof H=="number"&&H>=0&&H<=255&&typeof q=="number"&&q>=0&&q<=255)){var _e=typeof ue=="number"?[$,H,q,ue]:[$,H,q];return"Invalid rgba value ["+_e.join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}return typeof ue>"u"||typeof ue=="number"&&ue>=0&&ue<=1?null:"Invalid rgba value ["+[$,H,q,ue].join(", ")+"]: 'a' must be between 0 and 1."}function Kh($){if($===null)return!0;if(typeof $=="string")return!0;if(typeof $=="boolean")return!0;if(typeof $=="number")return!0;if($ instanceof Ao)return!0;if($ instanceof sd)return!0;if($ instanceof ml)return!0;if($ instanceof uc)return!0;if(Array.isArray($)){for(var H=0,q=$;H<q.length;H+=1){var ue=q[H];if(!Kh(ue))return!1}return!0}else if(typeof $=="object"){for(var _e in $)if(!Kh($[_e]))return!1;return!0}else return!1}function Zs($){if($===null)return cn;if(typeof $=="string")return qn;if(typeof $=="boolean")return ua;if(typeof $=="number")return bn;if($ instanceof Ao)return ea;if($ instanceof sd)return Wa;if($ instanceof ml)return ni;if($ instanceof uc)return si;if(Array.isArray($)){for(var H=$.length,q,ue=0,_e=$;ue<_e.length;ue+=1){var Ie=_e[ue],$e=Zs(Ie);if(!q)q=$e;else{if(q===$e)continue;q=ya;break}}return Uo(q||ya,H)}else return Ea}function Xh($){var H=typeof $;return $===null?"":H==="string"||H==="number"||H==="boolean"?String($):$ instanceof Ao||$ instanceof ml||$ instanceof uc?$.toString():JSON.stringify($)}var Qs=function(H,q){this.type=H,this.value=q};Qs.parse=function(H,q){if(H.length!==2)return q.error("'literal' expression requires exactly one argument, but found "+(H.length-1)+" instead.");if(!Kh(H[1]))return q.error("invalid value");var ue=H[1],_e=Zs(ue),Ie=q.expectedType;return _e.kind==="array"&&_e.N===0&&Ie&&Ie.kind==="array"&&(typeof Ie.N!="number"||Ie.N===0)&&(_e=Ie),new Qs(_e,ue)},Qs.prototype.evaluate=function(){return this.value},Qs.prototype.eachChild=function(){},Qs.prototype.outputDefined=function(){return!0},Qs.prototype.serialize=function(){return this.type.kind==="array"||this.type.kind==="object"?["literal",this.value]:this.value instanceof Ao?["rgba"].concat(this.value.toArray()):this.value instanceof ml?this.value.serialize():this.value};var ul=function(H){this.name="ExpressionEvaluationError",this.message=H};ul.prototype.toJSON=function(){return this.message};var qh={string:qn,number:bn,boolean:ua,object:Ea},kl=function(H,q){this.type=H,this.args=q};kl.parse=function(H,q){if(H.length<2)return q.error("Expected at least one argument.");var ue=1,_e,Ie=H[0];if(Ie==="array"){var $e;if(H.length>2){var it=H[1];if(typeof it!="string"||!(it in qh)||it==="object")return q.error('The item type argument of "array" must be one of string, number, boolean',1);$e=qh[it],ue++}else $e=ya;var St;if(H.length>3){if(H[2]!==null&&(typeof H[2]!="number"||H[2]<0||H[2]!==Math.floor(H[2])))return q.error('The length argument to "array" must be a positive integer literal',2);St=H[2],ue++}_e=Uo($e,St)}else _e=qh[Ie];for(var Ot=[];ue<H.length;ue++){var zt=q.parse(H[ue],ue,ya);if(!zt)return null;Ot.push(zt)}return new kl(_e,Ot)},kl.prototype.evaluate=function(H){for(var q=0;q<this.args.length;q++){var ue=this.args[q].evaluate(H),_e=cc(this.type,Zs(ue));if(_e){if(q===this.args.length-1)throw new ul("Expected value to be of type "+Fo(this.type)+", but found "+Fo(Zs(ue))+" instead.")}else return ue}return null},kl.prototype.eachChild=function(H){this.args.forEach(H)},kl.prototype.outputDefined=function(){return this.args.every(function(H){return H.outputDefined()})},kl.prototype.serialize=function(){var H=this.type,q=[H.kind];if(H.kind==="array"){var ue=H.itemType;if(ue.kind==="string"||ue.kind==="number"||ue.kind==="boolean"){q.push(ue.kind);var _e=H.N;(typeof _e=="number"||this.args.length>1)&&q.push(_e)}}return q.concat(this.args.map(function(Ie){return Ie.serialize()}))};var bs=function(H){this.type=ni,this.sections=H};bs.parse=function(H,q){if(H.length<2)return q.error("Expected at least one argument.");var ue=H[1];if(!Array.isArray(ue)&&typeof ue=="object")return q.error("First argument must be an image or text section.");for(var _e=[],Ie=!1,$e=1;$e<=H.length-1;++$e){var it=H[$e];if(Ie&&typeof it=="object"&&!Array.isArray(it)){Ie=!1;var St=null;if(it["font-scale"]&&(St=q.parse(it["font-scale"],1,bn),!St))return null;var Ot=null;if(it["text-font"]&&(Ot=q.parse(it["text-font"],1,Uo(qn)),!Ot))return null;var zt=null;if(it["text-color"]&&(zt=q.parse(it["text-color"],1,ea),!zt))return null;var rr=_e[_e.length-1];rr.scale=St,rr.font=Ot,rr.textColor=zt}else{var vr=q.parse(H[$e],1,ya);if(!vr)return null;var dr=vr.type.kind;if(dr!=="string"&&dr!=="value"&&dr!=="null"&&dr!=="resolvedImage")return q.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Ie=!0,_e.push({content:vr,scale:null,font:null,textColor:null})}}return new bs(_e)},bs.prototype.evaluate=function(H){var q=function(ue){var _e=ue.content.evaluate(H);return Zs(_e)===si?new tv("",_e,null,null,null):new tv(Xh(_e),null,ue.scale?ue.scale.evaluate(H):null,ue.font?ue.font.evaluate(H).join(","):null,ue.textColor?ue.textColor.evaluate(H):null)};return new ml(this.sections.map(q))},bs.prototype.eachChild=function(H){for(var q=0,ue=this.sections;q<ue.length;q+=1){var _e=ue[q];H(_e.content),_e.scale&&H(_e.scale),_e.font&&H(_e.font),_e.textColor&&H(_e.textColor)}},bs.prototype.outputDefined=function(){return!1},bs.prototype.serialize=function(){for(var H=["format"],q=0,ue=this.sections;q<ue.length;q+=1){var _e=ue[q];H.push(_e.content.serialize());var Ie={};_e.scale&&(Ie["font-scale"]=_e.scale.serialize()),_e.font&&(Ie["text-font"]=_e.font.serialize()),_e.textColor&&(Ie["text-color"]=_e.textColor.serialize()),H.push(Ie)}return H};var Tc=function(H){this.type=si,this.input=H};Tc.parse=function(H,q){if(H.length!==2)return q.error("Expected two arguments.");var ue=q.parse(H[1],1,qn);return ue?new Tc(ue):q.error("No image name provided.")},Tc.prototype.evaluate=function(H){var q=this.input.evaluate(H),ue=uc.fromString(q);return ue&&H.availableImages&&(ue.available=H.availableImages.indexOf(q)>-1),ue},Tc.prototype.eachChild=function(H){H(this.input)},Tc.prototype.outputDefined=function(){return!1},Tc.prototype.serialize=function(){return["image",this.input.serialize()]};var Zh={"to-boolean":ua,"to-color":ea,"to-number":bn,"to-string":qn},Ac=function(H,q){this.type=H,this.args=q};Ac.parse=function(H,q){if(H.length<2)return q.error("Expected at least one argument.");var ue=H[0];if((ue==="to-boolean"||ue==="to-string")&&H.length!==2)return q.error("Expected one argument.");for(var _e=Zh[ue],Ie=[],$e=1;$e<H.length;$e++){var it=q.parse(H[$e],$e,ya);if(!it)return null;Ie.push(it)}return new Ac(_e,Ie)},Ac.prototype.evaluate=function(H){if(this.type.kind==="boolean")return!!this.args[0].evaluate(H);if(this.type.kind==="color"){for(var q,ue,_e=0,Ie=this.args;_e<Ie.length;_e+=1){var $e=Ie[_e];if(q=$e.evaluate(H),ue=null,q instanceof Ao)return q;if(typeof q=="string"){var it=H.parseColor(q);if(it)return it}else if(Array.isArray(q)&&(q.length<3||q.length>4?ue="Invalid rbga value "+JSON.stringify(q)+": expected an array containing either three or four numeric values.":ue=xf(q[0],q[1],q[2],q[3]),!ue))return new Ao(q[0]/255,q[1]/255,q[2]/255,q[3])}throw new ul(ue||"Could not parse color from value '"+(typeof q=="string"?q:String(JSON.stringify(q)))+"'")}else if(this.type.kind==="number"){for(var St=null,Ot=0,zt=this.args;Ot<zt.length;Ot+=1){var rr=zt[Ot];if(St=rr.evaluate(H),St===null)return 0;var vr=Number(St);if(!isNaN(vr))return vr}throw new ul("Could not convert "+JSON.stringify(St)+" to number.")}else return this.type.kind==="formatted"?ml.fromString(Xh(this.args[0].evaluate(H))):this.type.kind==="resolvedImage"?uc.fromString(Xh(this.args[0].evaluate(H))):Xh(this.args[0].evaluate(H))},Ac.prototype.eachChild=function(H){this.args.forEach(H)},Ac.prototype.outputDefined=function(){return this.args.every(function(H){return H.outputDefined()})},Ac.prototype.serialize=function(){if(this.type.kind==="formatted")return new bs([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if(this.type.kind==="resolvedImage")return new Tc(this.args[0]).serialize();var H=["to-"+this.type.kind];return this.eachChild(function(q){H.push(q.serialize())}),H};var Am=["Unknown","Point","LineString","Polygon"],ld=function(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null};ld.prototype.id=function(){return this.feature&&"id"in this.feature?this.feature.id:null},ld.prototype.geometryType=function(){return this.feature?typeof this.feature.type=="number"?Am[this.feature.type]:this.feature.type:null},ld.prototype.geometry=function(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null},ld.prototype.canonicalID=function(){return this.canonical},ld.prototype.properties=function(){return this.feature&&this.feature.properties||{}},ld.prototype.parseColor=function(H){var q=this._parseColorCache[H];return q||(q=this._parseColorCache[H]=Ao.parse(H)),q};var Ml=function(H,q,ue,_e){this.name=H,this.type=q,this._evaluate=ue,this.args=_e};Ml.prototype.evaluate=function(H){return this._evaluate(H,this.args)},Ml.prototype.eachChild=function(H){this.args.forEach(H)},Ml.prototype.outputDefined=function(){return!1},Ml.prototype.serialize=function(){return[this.name].concat(this.args.map(function(H){return H.serialize()}))},Ml.parse=function(H,q){var ue,_e=H[0],Ie=Ml.definitions[_e];if(!Ie)return q.error('Unknown expression "'+_e+'". If you wanted a literal array, use ["literal", [...]].',0);for(var $e=Array.isArray(Ie)?Ie[0]:Ie.type,it=Array.isArray(Ie)?[[Ie[1],Ie[2]]]:Ie.overloads,St=it.filter(function(Ti){var Mi=Ti[0];return!Array.isArray(Mi)||Mi.length===H.length-1}),Ot=null,zt=0,rr=St;zt<rr.length;zt+=1){var vr=rr[zt],dr=vr[0],Or=vr[1];Ot=new dd(q.registry,q.path,null,q.scope);for(var on=[],Pn=!1,Mn=1;Mn<H.length;Mn++){var ca=H[Mn],Wn=Array.isArray(dr)?dr[Mn-1]:dr.type,sa=Ot.parse(ca,1+on.length,Wn);if(!sa){Pn=!0;break}on.push(sa)}if(!Pn){if(Array.isArray(dr)&&dr.length!==on.length){Ot.error("Expected "+dr.length+" arguments, but found "+on.length+" instead.");continue}for(var va=0;va<on.length;va++){var Ma=Array.isArray(dr)?dr[va]:dr.type,Ga=on[va];Ot.concat(va+1).checkSubtype(Ma,Ga.type)}if(Ot.errors.length===0)return new Ml(_e,$e,Or,on)}}if(St.length===1)(ue=q.errors).push.apply(ue,Ot.errors);else{for(var Ha=St.length?St:it,wi=Ha.map(function(Ti){var Mi=Ti[0];return rv(Mi)}).join(" | "),pi=[],bi=1;bi<H.length;bi++){var ro=q.parse(H[bi],1+pi.length);if(!ro)return null;pi.push(Fo(ro.type))}q.error("Expected arguments of type "+wi+", but found ("+pi.join(", ")+") instead.")}return null},Ml.register=function(H,q){Ml.definitions=q;for(var ue in q)H[ue]=Ml};function rv($){return Array.isArray($)?"("+$.map(Fo).join(", ")+")":"("+Fo($.type)+"...)"}var bf=function(H,q,ue){this.type=Wa,this.locale=ue,this.caseSensitive=H,this.diacriticSensitive=q};bf.parse=function(H,q){if(H.length!==2)return q.error("Expected one argument.");var ue=H[1];if(typeof ue!="object"||Array.isArray(ue))return q.error("Collator options argument must be an object.");var _e=q.parse(ue["case-sensitive"]===void 0?!1:ue["case-sensitive"],1,ua);if(!_e)return null;var Ie=q.parse(ue["diacritic-sensitive"]===void 0?!1:ue["diacritic-sensitive"],1,ua);if(!Ie)return null;var $e=null;return ue.locale&&($e=q.parse(ue.locale,1,qn),!$e)?null:new bf(_e,Ie,$e)},bf.prototype.evaluate=function(H){return new sd(this.caseSensitive.evaluate(H),this.diacriticSensitive.evaluate(H),this.locale?this.locale.evaluate(H):null)},bf.prototype.eachChild=function(H){H(this.caseSensitive),H(this.diacriticSensitive),this.locale&&H(this.locale)},bf.prototype.outputDefined=function(){return!1},bf.prototype.serialize=function(){var H={};return H["case-sensitive"]=this.caseSensitive.serialize(),H["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(H.locale=this.locale.serialize()),["collator",H]};var cd=8192;function Ef($,H){$[0]=Math.min($[0],H[0]),$[1]=Math.min($[1],H[1]),$[2]=Math.max($[2],H[0]),$[3]=Math.max($[3],H[1])}function Cm($){return(180+$)/360}function Jg($){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+$*Math.PI/360)))/360}function Qh($,H){return!($[0]<=H[0]||$[2]>=H[2]||$[1]<=H[1]||$[3]>=H[3])}function km($,H){var q=Cm($[0]),ue=Jg($[1]),_e=Math.pow(2,H.z);return[Math.round(q*_e*cd),Math.round(ue*_e*cd)]}function Sf($,H,q){var ue=$[0]-H[0],_e=$[1]-H[1],Ie=$[0]-q[0],$e=$[1]-q[1];return ue*$e-Ie*_e===0&&ue*Ie<=0&&_e*$e<=0}function t1($,H,q){return H[1]>$[1]!=q[1]>$[1]&&$[0]<(q[0]-H[0])*($[1]-H[1])/(q[1]-H[1])+H[0]}function nv($,H){for(var q=!1,ue=0,_e=H.length;ue<_e;ue++)for(var Ie=H[ue],$e=0,it=Ie.length;$e<it-1;$e++){if(Sf($,Ie[$e],Ie[$e+1]))return!1;t1($,Ie[$e],Ie[$e+1])&&(q=!q)}return q}function ey($,H){for(var q=0;q<H.length;q++)if(nv($,H[q]))return!0;return!1}function ty($,H){return $[0]*H[1]-$[1]*H[0]}function eh($,H,q,ue){var _e=$[0]-q[0],Ie=$[1]-q[1],$e=H[0]-q[0],it=H[1]-q[1],St=ue[0]-q[0],Ot=ue[1]-q[1],zt=_e*Ot-St*Ie,rr=$e*Ot-St*it;return zt>0&&rr<0||zt<0&&rr>0}function bu($,H,q,ue){var _e=[H[0]-$[0],H[1]-$[1]],Ie=[ue[0]-q[0],ue[1]-q[1]];return ty(Ie,_e)===0?!1:!!(eh($,H,q,ue)&&eh(q,ue,$,H))}function wf($,H,q){for(var ue=0,_e=q;ue<_e.length;ue+=1)for(var Ie=_e[ue],$e=0;$e<Ie.length-1;++$e)if(bu($,H,Ie[$e],Ie[$e+1]))return!0;return!1}function Jh($,H){for(var q=0;q<$.length;++q)if(!nv($[q],H))return!1;for(var ue=0;ue<$.length-1;++ue)if(wf($[ue],$[ue+1],H))return!1;return!0}function Qp($,H){for(var q=0;q<H.length;q++)if(Jh($,H[q]))return!0;return!1}function Jp($,H,q){for(var ue=[],_e=0;_e<$.length;_e++){for(var Ie=[],$e=0;$e<$[_e].length;$e++){var it=km($[_e][$e],q);Ef(H,it),Ie.push(it)}ue.push(Ie)}return ue}function Mm($,H,q){for(var ue=[],_e=0;_e<$.length;_e++){var Ie=Jp($[_e],H,q);ue.push(Ie)}return ue}function Ud($,H,q,ue){if($[0]<q[0]||$[0]>q[2]){var _e=ue*.5,Ie=$[0]-q[0]>_e?-ue:q[0]-$[0]>_e?ue:0;Ie===0&&(Ie=$[0]-q[2]>_e?-ue:q[2]-$[0]>_e?ue:0),$[0]+=Ie}Ef(H,$)}function ep($){$[0]=$[1]=1/0,$[2]=$[3]=-1/0}function Yn($,H,q,ue){for(var _e=Math.pow(2,ue.z)*cd,Ie=[ue.x*cd,ue.y*cd],$e=[],it=0,St=$;it<St.length;it+=1)for(var Ot=St[it],zt=0,rr=Ot;zt<rr.length;zt+=1){var vr=rr[zt],dr=[vr.x+Ie[0],vr.y+Ie[1]];Ud(dr,H,q,_e),$e.push(dr)}return $e}function ka($,H,q,ue){for(var _e=Math.pow(2,ue.z)*cd,Ie=[ue.x*cd,ue.y*cd],$e=[],it=0,St=$;it<St.length;it+=1){for(var Ot=St[it],zt=[],rr=0,vr=Ot;rr<vr.length;rr+=1){var dr=vr[rr],Or=[dr.x+Ie[0],dr.y+Ie[1]];Ef(H,Or),zt.push(Or)}$e.push(zt)}if(H[2]-H[0]<=_e/2){ep(H);for(var on=0,Pn=$e;on<Pn.length;on+=1)for(var Mn=Pn[on],ca=0,Wn=Mn;ca<Wn.length;ca+=1){var sa=Wn[ca];Ud(sa,H,q,_e)}}return $e}function xa($,H){var q=[1/0,1/0,-1/0,-1/0],ue=[1/0,1/0,-1/0,-1/0],_e=$.canonicalID();if(H.type==="Polygon"){var Ie=Jp(H.coordinates,ue,_e),$e=Yn($.geometry(),q,ue,_e);if(!Qh(q,ue))return!1;for(var it=0,St=$e;it<St.length;it+=1){var Ot=St[it];if(!nv(Ot,Ie))return!1}}if(H.type==="MultiPolygon"){var zt=Mm(H.coordinates,ue,_e),rr=Yn($.geometry(),q,ue,_e);if(!Qh(q,ue))return!1;for(var vr=0,dr=rr;vr<dr.length;vr+=1){var Or=dr[vr];if(!ey(Or,zt))return!1}}return!0}function Ni($,H){var q=[1/0,1/0,-1/0,-1/0],ue=[1/0,1/0,-1/0,-1/0],_e=$.canonicalID();if(H.type==="Polygon"){var Ie=Jp(H.coordinates,ue,_e),$e=ka($.geometry(),q,ue,_e);if(!Qh(q,ue))return!1;for(var it=0,St=$e;it<St.length;it+=1){var Ot=St[it];if(!Jh(Ot,Ie))return!1}}if(H.type==="MultiPolygon"){var zt=Mm(H.coordinates,ue,_e),rr=ka($.geometry(),q,ue,_e);if(!Qh(q,ue))return!1;for(var vr=0,dr=rr;vr<dr.length;vr+=1){var Or=dr[vr];if(!Qp(Or,zt))return!1}}return!0}var eo=function(H,q){this.type=ua,this.geojson=H,this.geometries=q};eo.parse=function(H,q){if(H.length!==2)return q.error("'within' expression requires exactly one argument, but found "+(H.length-1)+" instead.");if(Kh(H[1])){var ue=H[1];if(ue.type==="FeatureCollection")for(var _e=0;_e<ue.features.length;++_e){var Ie=ue.features[_e].geometry.type;if(Ie==="Polygon"||Ie==="MultiPolygon")return new eo(ue,ue.features[_e].geometry)}else if(ue.type==="Feature"){var $e=ue.geometry.type;if($e==="Polygon"||$e==="MultiPolygon")return new eo(ue,ue.geometry)}else if(ue.type==="Polygon"||ue.type==="MultiPolygon")return new eo(ue,ue)}return q.error("'within' expression requires valid geojson object that contains polygon geometry type.")},eo.prototype.evaluate=function(H){if(H.geometry()!=null&&H.canonicalID()!=null){if(H.geometryType()==="Point")return xa(H,this.geometries);if(H.geometryType()==="LineString")return Ni(H,this.geometries)}return!1},eo.prototype.eachChild=function(){},eo.prototype.outputDefined=function(){return!0},eo.prototype.serialize=function(){return["within",this.geojson]};function $o($){if($ instanceof Ml){if($.name==="get"&&$.args.length===1)return!1;if($.name==="feature-state")return!1;if($.name==="has"&&$.args.length===1)return!1;if($.name==="properties"||$.name==="geometry-type"||$.name==="id")return!1;if(/^filter-/.test($.name))return!1}if($ instanceof eo)return!1;var H=!0;return $.eachChild(function(q){H&&!$o(q)&&(H=!1)}),H}function Hs($){if($ instanceof Ml&&$.name==="feature-state")return!1;var H=!0;return $.eachChild(function(q){H&&!Hs(q)&&(H=!1)}),H}function vs($,H){if($ instanceof Ml&&H.indexOf($.name)>=0)return!1;var q=!0;return $.eachChild(function(ue){q&&!vs(ue,H)&&(q=!1)}),q}var ud=function(H,q){this.type=q.type,this.name=H,this.boundExpression=q};ud.parse=function(H,q){if(H.length!==2||typeof H[1]!="string")return q.error("'var' expression requires exactly one string literal argument.");var ue=H[1];return q.scope.has(ue)?new ud(ue,q.scope.get(ue)):q.error('Unknown variable "'+ue+'". Make sure "'+ue+'" has been bound in an enclosing "let" expression before using it.',1)},ud.prototype.evaluate=function(H){return this.boundExpression.evaluate(H)},ud.prototype.eachChild=function(){},ud.prototype.outputDefined=function(){return!1},ud.prototype.serialize=function(){return["var",this.name]};var dd=function(H,q,ue,_e,Ie){q===void 0&&(q=[]),_e===void 0&&(_e=new mn),Ie===void 0&&(Ie=[]),this.registry=H,this.path=q,this.key=q.map(function($e){return"["+$e+"]"}).join(""),this.scope=_e,this.errors=Ie,this.expectedType=ue};dd.prototype.parse=function(H,q,ue,_e,Ie){return Ie===void 0&&(Ie={}),q?this.concat(q,ue,_e)._parse(H,Ie):this._parse(H,Ie)},dd.prototype._parse=function(H,q){(H===null||typeof H=="string"||typeof H=="boolean"||typeof H=="number")&&(H=["literal",H]);function ue(zt,rr,vr){return vr==="assert"?new kl(rr,[zt]):vr==="coerce"?new Ac(rr,[zt]):zt}if(Array.isArray(H)){if(H.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var _e=H[0];if(typeof _e!="string")return this.error("Expression name must be a string, but found "+typeof _e+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var Ie=this.registry[_e];if(Ie){var $e=Ie.parse(H,this);if(!$e)return null;if(this.expectedType){var it=this.expectedType,St=$e.type;if((it.kind==="string"||it.kind==="number"||it.kind==="boolean"||it.kind==="object"||it.kind==="array")&&St.kind==="value")$e=ue($e,it,q.typeAnnotation||"assert");else if((it.kind==="color"||it.kind==="formatted"||it.kind==="resolvedImage")&&(St.kind==="value"||St.kind==="string"))$e=ue($e,it,q.typeAnnotation||"coerce");else if(this.checkSubtype(it,St))return null}if(!($e instanceof Qs)&&$e.type.kind!=="resolvedImage"&&Uc($e)){var Ot=new ld;try{$e=new Qs($e.type,$e.evaluate(Ot))}catch(zt){return this.error(zt.message),null}}return $e}return this.error('Unknown expression "'+_e+'". If you wanted a literal array, use ["literal", [...]].',0)}else return typeof H>"u"?this.error("'undefined' value invalid. Use null instead."):typeof H=="object"?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof H+" instead.")},dd.prototype.concat=function(H,q,ue){var _e=typeof H=="number"?this.path.concat(H):this.path,Ie=ue?this.scope.concat(ue):this.scope;return new dd(this.registry,_e,q||null,Ie,this.errors)},dd.prototype.error=function(H){for(var q=[],ue=arguments.length-1;ue-- >0;)q[ue]=arguments[ue+1];var _e=""+this.key+q.map(function(Ie){return"["+Ie+"]"}).join("");this.errors.push(new Hr(_e,H))},dd.prototype.checkSubtype=function(H,q){var ue=cc(H,q);return ue&&this.error(ue),ue};function Uc($){if($ instanceof ud)return Uc($.boundExpression);if($ instanceof Ml&&$.name==="error")return!1;if($ instanceof bf)return!1;if($ instanceof eo)return!1;var H=$ instanceof Ac||$ instanceof kl,q=!0;return $.eachChild(function(ue){H?q=q&&Uc(ue):q=q&&ue instanceof Qs}),q?$o($)&&vs($,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"]):!1}function $d($,H){for(var q=$.length-1,ue=0,_e=q,Ie=0,$e,it;ue<=_e;)if(Ie=Math.floor((ue+_e)/2),$e=$[Ie],it=$[Ie+1],$e<=H){if(Ie===q||H<it)return Ie;ue=Ie+1}else if($e>H)_e=Ie-1;else throw new ul("Input is not a number.");return 0}var zu=function(H,q,ue){this.type=H,this.input=q,this.labels=[],this.outputs=[];for(var _e=0,Ie=ue;_e<Ie.length;_e+=1){var $e=Ie[_e],it=$e[0],St=$e[1];this.labels.push(it),this.outputs.push(St)}};zu.parse=function(H,q){if(H.length-1<4)return q.error("Expected at least 4 arguments, but found only "+(H.length-1)+".");if((H.length-1)%2!==0)return q.error("Expected an even number of arguments.");var ue=q.parse(H[1],1,bn);if(!ue)return null;var _e=[],Ie=null;q.expectedType&&q.expectedType.kind!=="value"&&(Ie=q.expectedType);for(var $e=1;$e<H.length;$e+=2){var it=$e===1?-1/0:H[$e],St=H[$e+1],Ot=$e,zt=$e+1;if(typeof it!="number")return q.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',Ot);if(_e.length&&_e[_e.length-1][0]>=it)return q.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',Ot);var rr=q.parse(St,zt,Ie);if(!rr)return null;Ie=Ie||rr.type,_e.push([it,rr])}return new zu(Ie,ue,_e)},zu.prototype.evaluate=function(H){var q=this.labels,ue=this.outputs;if(q.length===1)return ue[0].evaluate(H);var _e=this.input.evaluate(H);if(_e<=q[0])return ue[0].evaluate(H);var Ie=q.length;if(_e>=q[Ie-1])return ue[Ie-1].evaluate(H);var $e=$d(q,_e);return ue[$e].evaluate(H)},zu.prototype.eachChild=function(H){H(this.input);for(var q=0,ue=this.outputs;q<ue.length;q+=1){var _e=ue[q];H(_e)}},zu.prototype.outputDefined=function(){return this.outputs.every(function(H){return H.outputDefined()})},zu.prototype.serialize=function(){for(var H=["step",this.input.serialize()],q=0;q<this.labels.length;q++)q>0&&H.push(this.labels[q]),H.push(this.outputs[q].serialize());return H};function ws($,H,q){return $*(1-q)+H*q}function tp($,H,q){return new Ao(ws($.r,H.r,q),ws($.g,H.g,q),ws($.b,H.b,q),ws($.a,H.a,q))}function r1($,H,q){return $.map(function(ue,_e){return ws(ue,H[_e],q)})}var cs=Object.freeze({__proto__:null,number:ws,color:tp,array:r1}),rp=.95047,th=1,Yl=1.08883,n1=4/29,np=6/29,a1=3*np*np,i1=np*np*np,Hd=Math.PI/180,ap=180/Math.PI;function o1($){return $>i1?Math.pow($,.3333333333333333):$/a1+n1}function ip($){return $>np?$*$*$:a1*($-n1)}function rh($){return 255*($<=.0031308?12.92*$:1.055*Math.pow($,.4166666666666667)-.055)}function e0($){return $/=255,$<=.04045?$/12.92:Math.pow(($+.055)/1.055,2.4)}function Tf($){var H=e0($.r),q=e0($.g),ue=e0($.b),_e=o1((.4124564*H+.3575761*q+.1804375*ue)/rp),Ie=o1((.2126729*H+.7151522*q+.072175*ue)/th),$e=o1((.0193339*H+.119192*q+.9503041*ue)/Yl);return{l:116*Ie-16,a:500*(_e-Ie),b:200*(Ie-$e),alpha:$.a}}function t0($){var H=($.l+16)/116,q=isNaN($.a)?H:H+$.a/500,ue=isNaN($.b)?H:H-$.b/200;return H=th*ip(H),q=rp*ip(q),ue=Yl*ip(ue),new Ao(rh(3.2404542*q-1.5371385*H-.4985314*ue),rh(-.969266*q+1.8760108*H+.041556*ue),rh(.0556434*q-.2040259*H+1.0572252*ue),$.alpha)}function ts($,H,q){return{l:ws($.l,H.l,q),a:ws($.a,H.a,q),b:ws($.b,H.b,q),alpha:ws($.alpha,H.alpha,q)}}function Af($){var H=Tf($),q=H.l,ue=H.a,_e=H.b,Ie=Math.atan2(_e,ue)*ap;return{h:Ie<0?Ie+360:Ie,c:Math.sqrt(ue*ue+_e*_e),l:q,alpha:$.a}}function $c($){var H=$.h*Hd,q=$.c,ue=$.l;return t0({l:ue,a:Math.cos(H)*q,b:Math.sin(H)*q,alpha:$.alpha})}function Rm($,H,q){var ue=H-$;return $+q*(ue>180||ue<-180?ue-360*Math.round(ue/360):ue)}function av($,H,q){return{h:Rm($.h,H.h,q),c:ws($.c,H.c,q),l:ws($.l,H.l,q),alpha:ws($.alpha,H.alpha,q)}}var nh={forward:Tf,reverse:t0,interpolate:ts},Uu={forward:Af,reverse:$c,interpolate:av},ah=Object.freeze({__proto__:null,lab:nh,hcl:Uu}),Xs=function(H,q,ue,_e,Ie){this.type=H,this.operator=q,this.interpolation=ue,this.input=_e,this.labels=[],this.outputs=[];for(var $e=0,it=Ie;$e<it.length;$e+=1){var St=it[$e],Ot=St[0],zt=St[1];this.labels.push(Ot),this.outputs.push(zt)}};Xs.interpolationFactor=function(H,q,ue,_e){var Ie=0;if(H.name==="exponential")Ie=r0(q,H.base,ue,_e);else if(H.name==="linear")Ie=r0(q,1,ue,_e);else if(H.name==="cubic-bezier"){var $e=H.controlPoints,it=new p($e[0],$e[1],$e[2],$e[3]);Ie=it.solve(r0(q,1,ue,_e))}return Ie},Xs.parse=function(H,q){var ue=H[0],_e=H[1],Ie=H[2],$e=H.slice(3);if(!Array.isArray(_e)||_e.length===0)return q.error("Expected an interpolation type expression.",1);if(_e[0]==="linear")_e={name:"linear"};else if(_e[0]==="exponential"){var it=_e[1];if(typeof it!="number")return q.error("Exponential interpolation requires a numeric base.",1,1);_e={name:"exponential",base:it}}else if(_e[0]==="cubic-bezier"){var St=_e.slice(1);if(St.length!==4||St.some(function(Mn){return typeof Mn!="number"||Mn<0||Mn>1}))return q.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);_e={name:"cubic-bezier",controlPoints:St}}else return q.error("Unknown interpolation type "+String(_e[0]),1,0);if(H.length-1<4)return q.error("Expected at least 4 arguments, but found only "+(H.length-1)+".");if((H.length-1)%2!==0)return q.error("Expected an even number of arguments.");if(Ie=q.parse(Ie,2,bn),!Ie)return null;var Ot=[],zt=null;ue==="interpolate-hcl"||ue==="interpolate-lab"?zt=ea:q.expectedType&&q.expectedType.kind!=="value"&&(zt=q.expectedType);for(var rr=0;rr<$e.length;rr+=2){var vr=$e[rr],dr=$e[rr+1],Or=rr+3,on=rr+4;if(typeof vr!="number")return q.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',Or);if(Ot.length&&Ot[Ot.length-1][0]>=vr)return q.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',Or);var Pn=q.parse(dr,on,zt);if(!Pn)return null;zt=zt||Pn.type,Ot.push([vr,Pn])}return zt.kind!=="number"&&zt.kind!=="color"&&!(zt.kind==="array"&&zt.itemType.kind==="number"&&typeof zt.N=="number")?q.error("Type "+Fo(zt)+" is not interpolatable."):new Xs(zt,ue,_e,Ie,Ot)},Xs.prototype.evaluate=function(H){var q=this.labels,ue=this.outputs;if(q.length===1)return ue[0].evaluate(H);var _e=this.input.evaluate(H);if(_e<=q[0])return ue[0].evaluate(H);var Ie=q.length;if(_e>=q[Ie-1])return ue[Ie-1].evaluate(H);var $e=$d(q,_e),it=q[$e],St=q[$e+1],Ot=Xs.interpolationFactor(this.interpolation,_e,it,St),zt=ue[$e].evaluate(H),rr=ue[$e+1].evaluate(H);return this.operator==="interpolate"?cs[this.type.kind.toLowerCase()](zt,rr,Ot):this.operator==="interpolate-hcl"?Uu.reverse(Uu.interpolate(Uu.forward(zt),Uu.forward(rr),Ot)):nh.reverse(nh.interpolate(nh.forward(zt),nh.forward(rr),Ot))},Xs.prototype.eachChild=function(H){H(this.input);for(var q=0,ue=this.outputs;q<ue.length;q+=1){var _e=ue[q];H(_e)}},Xs.prototype.outputDefined=function(){return this.outputs.every(function(H){return H.outputDefined()})},Xs.prototype.serialize=function(){var H;this.interpolation.name==="linear"?H=["linear"]:this.interpolation.name==="exponential"?this.interpolation.base===1?H=["linear"]:H=["exponential",this.interpolation.base]:H=["cubic-bezier"].concat(this.interpolation.controlPoints);for(var q=[this.operator,H,this.input.serialize()],ue=0;ue<this.labels.length;ue++)q.push(this.labels[ue],this.outputs[ue].serialize());return q};function r0($,H,q,ue){var _e=ue-q,Ie=$-q;return _e===0?0:H===1?Ie/_e:(Math.pow(H,Ie)-1)/(Math.pow(H,_e)-1)}var Eu=function(H,q){this.type=H,this.args=q};Eu.parse=function(H,q){if(H.length<2)return q.error("Expectected at least one argument.");var ue=null,_e=q.expectedType;_e&&_e.kind!=="value"&&(ue=_e);for(var Ie=[],$e=0,it=H.slice(1);$e<it.length;$e+=1){var St=it[$e],Ot=q.parse(St,1+Ie.length,ue,void 0,{typeAnnotation:"omit"});if(!Ot)return null;ue=ue||Ot.type,Ie.push(Ot)}var zt=_e&&Ie.some(function(rr){return cc(_e,rr.type)});return zt?new Eu(ya,Ie):new Eu(ue,Ie)},Eu.prototype.evaluate=function(H){for(var q=null,ue=0,_e,Ie=0,$e=this.args;Ie<$e.length;Ie+=1){var it=$e[Ie];if(ue++,q=it.evaluate(H),q&&q instanceof uc&&!q.available&&(_e||(_e=q.name),q=null,ue===this.args.length&&(q=_e)),q!==null)break}return q},Eu.prototype.eachChild=function(H){this.args.forEach(H)},Eu.prototype.outputDefined=function(){return this.args.every(function(H){return H.outputDefined()})},Eu.prototype.serialize=function(){var H=["coalesce"];return this.eachChild(function(q){H.push(q.serialize())}),H};var Vd=function(H,q){this.type=q.type,this.bindings=[].concat(H),this.result=q};Vd.prototype.evaluate=function(H){return this.result.evaluate(H)},Vd.prototype.eachChild=function(H){for(var q=0,ue=this.bindings;q<ue.length;q+=1){var _e=ue[q];H(_e[1])}H(this.result)},Vd.parse=function(H,q){if(H.length<4)return q.error("Expected at least 3 arguments, but found "+(H.length-1)+" instead.");for(var ue=[],_e=1;_e<H.length-1;_e+=2){var Ie=H[_e];if(typeof Ie!="string")return q.error("Expected string, but found "+typeof Ie+" instead.",_e);if(/[^a-zA-Z0-9_]/.test(Ie))return q.error("Variable names must contain only alphanumeric characters or '_'.",_e);var $e=q.parse(H[_e+1],_e+1);if(!$e)return null;ue.push([Ie,$e])}var it=q.parse(H[H.length-1],H.length-1,q.expectedType,ue);return it?new Vd(ue,it):null},Vd.prototype.outputDefined=function(){return this.result.outputDefined()},Vd.prototype.serialize=function(){for(var H=["let"],q=0,ue=this.bindings;q<ue.length;q+=1){var _e=ue[q],Ie=_e[0],$e=_e[1];H.push(Ie,$e.serialize())}return H.push(this.result.serialize()),H};var ih=function(H,q,ue){this.type=H,this.index=q,this.input=ue};ih.parse=function(H,q){if(H.length!==3)return q.error("Expected 2 arguments, but found "+(H.length-1)+" instead.");var ue=q.parse(H[1],1,bn),_e=q.parse(H[2],2,Uo(q.expectedType||ya));if(!ue||!_e)return null;var Ie=_e.type;return new ih(Ie.itemType,ue,_e)},ih.prototype.evaluate=function(H){var q=this.index.evaluate(H),ue=this.input.evaluate(H);if(q<0)throw new ul("Array index out of bounds: "+q+" < 0.");if(q>=ue.length)throw new ul("Array index out of bounds: "+q+" > "+(ue.length-1)+".");if(q!==Math.floor(q))throw new ul("Array index must be an integer, but found "+q+" instead.");return ue[q]},ih.prototype.eachChild=function(H){H(this.index),H(this.input)},ih.prototype.outputDefined=function(){return!1},ih.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Os=function(H,q){this.type=ua,this.needle=H,this.haystack=q};Os.parse=function(H,q){if(H.length!==3)return q.error("Expected 2 arguments, but found "+(H.length-1)+" instead.");var ue=q.parse(H[1],1,ya),_e=q.parse(H[2],2,ya);return!ue||!_e?null:jl(ue.type,[ua,qn,bn,cn,ya])?new Os(ue,_e):q.error("Expected first argument to be of type boolean, string, number or null, but found "+Fo(ue.type)+" instead")},Os.prototype.evaluate=function(H){var q=this.needle.evaluate(H),ue=this.haystack.evaluate(H);if(!ue)return!1;if(!Wh(q,["boolean","string","number","null"]))throw new ul("Expected first argument to be of type boolean, string, number or null, but found "+Fo(Zs(q))+" instead.");if(!Wh(ue,["string","array"]))throw new ul("Expected second argument to be of type array or string, but found "+Fo(Zs(ue))+" instead.");return ue.indexOf(q)>=0},Os.prototype.eachChild=function(H){H(this.needle),H(this.haystack)},Os.prototype.outputDefined=function(){return!0},Os.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Ds=function(H,q,ue){this.type=bn,this.needle=H,this.haystack=q,this.fromIndex=ue};Ds.parse=function(H,q){if(H.length<=2||H.length>=5)return q.error("Expected 3 or 4 arguments, but found "+(H.length-1)+" instead.");var ue=q.parse(H[1],1,ya),_e=q.parse(H[2],2,ya);if(!ue||!_e)return null;if(!jl(ue.type,[ua,qn,bn,cn,ya]))return q.error("Expected first argument to be of type boolean, string, number or null, but found "+Fo(ue.type)+" instead");if(H.length===4){var Ie=q.parse(H[3],3,bn);return Ie?new Ds(ue,_e,Ie):null}else return new Ds(ue,_e)},Ds.prototype.evaluate=function(H){var q=this.needle.evaluate(H),ue=this.haystack.evaluate(H);if(!Wh(q,["boolean","string","number","null"]))throw new ul("Expected first argument to be of type boolean, string, number or null, but found "+Fo(Zs(q))+" instead.");if(!Wh(ue,["string","array"]))throw new ul("Expected second argument to be of type array or string, but found "+Fo(Zs(ue))+" instead.");if(this.fromIndex){var _e=this.fromIndex.evaluate(H);return ue.indexOf(q,_e)}return ue.indexOf(q)},Ds.prototype.eachChild=function(H){H(this.needle),H(this.haystack),this.fromIndex&&H(this.fromIndex)},Ds.prototype.outputDefined=function(){return!1},Ds.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var H=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),H]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var Gd=function(H,q,ue,_e,Ie,$e){this.inputType=H,this.type=q,this.input=ue,this.cases=_e,this.outputs=Ie,this.otherwise=$e};Gd.parse=function(H,q){if(H.length<5)return q.error("Expected at least 4 arguments, but found only "+(H.length-1)+".");if(H.length%2!==1)return q.error("Expected an even number of arguments.");var ue,_e;q.expectedType&&q.expectedType.kind!=="value"&&(_e=q.expectedType);for(var Ie={},$e=[],it=2;it<H.length-1;it+=2){var St=H[it],Ot=H[it+1];Array.isArray(St)||(St=[St]);var zt=q.concat(it);if(St.length===0)return zt.error("Expected at least one branch label.");for(var rr=0,vr=St;rr<vr.length;rr+=1){var dr=vr[rr];if(typeof dr!="number"&&typeof dr!="string")return zt.error("Branch labels must be numbers or strings.");if(typeof dr=="number"&&Math.abs(dr)>Number.MAX_SAFE_INTEGER)return zt.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof dr=="number"&&Math.floor(dr)!==dr)return zt.error("Numeric branch labels must be integer values.");if(!ue)ue=Zs(dr);else if(zt.checkSubtype(ue,Zs(dr)))return null;if(typeof Ie[String(dr)]<"u")return zt.error("Branch labels must be unique.");Ie[String(dr)]=$e.length}var Or=q.parse(Ot,it,_e);if(!Or)return null;_e=_e||Or.type,$e.push(Or)}var on=q.parse(H[1],1,ya);if(!on)return null;var Pn=q.parse(H[H.length-1],H.length-1,_e);return!Pn||on.type.kind!=="value"&&q.concat(1).checkSubtype(ue,on.type)?null:new Gd(ue,_e,on,Ie,$e,Pn)},Gd.prototype.evaluate=function(H){var q=this.input.evaluate(H),ue=Zs(q)===this.inputType&&this.outputs[this.cases[q]]||this.otherwise;return ue.evaluate(H)},Gd.prototype.eachChild=function(H){H(this.input),this.outputs.forEach(H),H(this.otherwise)},Gd.prototype.outputDefined=function(){return this.outputs.every(function(H){return H.outputDefined()})&&this.otherwise.outputDefined()},Gd.prototype.serialize=function(){for(var H=this,q=["match",this.input.serialize()],ue=Object.keys(this.cases).sort(),_e=[],Ie={},$e=0,it=ue;$e<it.length;$e+=1){var St=it[$e],Ot=Ie[this.cases[St]];Ot===void 0?(Ie[this.cases[St]]=_e.length,_e.push([this.cases[St],[St]])):_e[Ot][1].push(St)}for(var zt=function(on){return H.inputType.kind==="number"?Number(on):on},rr=0,vr=_e;rr<vr.length;rr+=1){var dr=vr[rr],Ot=dr[0],Or=dr[1];Or.length===1?q.push(zt(Or[0])):q.push(Or.map(zt)),q.push(this.outputs[outputIndex$1].serialize())}return q.push(this.otherwise.serialize()),q};var $u=function(H,q,ue){this.type=H,this.branches=q,this.otherwise=ue};$u.parse=function(H,q){if(H.length<4)return q.error("Expected at least 3 arguments, but found only "+(H.length-1)+".");if(H.length%2!==0)return q.error("Expected an odd number of arguments.");var ue;q.expectedType&&q.expectedType.kind!=="value"&&(ue=q.expectedType);for(var _e=[],Ie=1;Ie<H.length-1;Ie+=2){var $e=q.parse(H[Ie],Ie,ua);if(!$e)return null;var it=q.parse(H[Ie+1],Ie+1,ue);if(!it)return null;_e.push([$e,it]),ue=ue||it.type}var St=q.parse(H[H.length-1],H.length-1,ue);return St?new $u(ue,_e,St):null},$u.prototype.evaluate=function(H){for(var q=0,ue=this.branches;q<ue.length;q+=1){var _e=ue[q],Ie=_e[0],$e=_e[1];if(Ie.evaluate(H))return $e.evaluate(H)}return this.otherwise.evaluate(H)},$u.prototype.eachChild=function(H){for(var q=0,ue=this.branches;q<ue.length;q+=1){var _e=ue[q],Ie=_e[0],$e=_e[1];H(Ie),H($e)}H(this.otherwise)},$u.prototype.outputDefined=function(){return this.branches.every(function(H){H[0];var q=H[1];return q.outputDefined()})&&this.otherwise.outputDefined()},$u.prototype.serialize=function(){var H=["case"];return this.eachChild(function(q){H.push(q.serialize())}),H};var au=function(H,q,ue,_e){this.type=H,this.input=q,this.beginIndex=ue,this.endIndex=_e};au.parse=function(H,q){if(H.length<=2||H.length>=5)return q.error("Expected 3 or 4 arguments, but found "+(H.length-1)+" instead.");var ue=q.parse(H[1],1,ya),_e=q.parse(H[2],2,bn);if(!ue||!_e)return null;if(!jl(ue.type,[Uo(ya),qn,ya]))return q.error("Expected first argument to be of type array or string, but found "+Fo(ue.type)+" instead");if(H.length===4){var Ie=q.parse(H[3],3,bn);return Ie?new au(ue.type,ue,_e,Ie):null}else return new au(ue.type,ue,_e)},au.prototype.evaluate=function(H){var q=this.input.evaluate(H),ue=this.beginIndex.evaluate(H);if(!Wh(q,["string","array"]))throw new ul("Expected first argument to be of type array or string, but found "+Fo(Zs(q))+" instead.");if(this.endIndex){var _e=this.endIndex.evaluate(H);return q.slice(ue,_e)}return q.slice(ue)},au.prototype.eachChild=function(H){H(this.input),H(this.beginIndex),this.endIndex&&H(this.endIndex)},au.prototype.outputDefined=function(){return!1},au.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var H=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),H]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};function n0($,H){return $==="=="||$==="!="?H.kind==="boolean"||H.kind==="string"||H.kind==="number"||H.kind==="null"||H.kind==="value":H.kind==="string"||H.kind==="number"||H.kind==="value"}function iv($,H,q){return H===q}function a0($,H,q){return H!==q}function ov($,H,q){return H<q}function op($,H,q){return H>q}function oh($,H,q){return H<=q}function sp($,H,q){return H>=q}function jd($,H,q,ue){return ue.compare(H,q)===0}function Js($,H,q,ue){return!jd($,H,q,ue)}function iu($,H,q,ue){return ue.compare(H,q)<0}function lp($,H,q,ue){return ue.compare(H,q)>0}function Nm($,H,q,ue){return ue.compare(H,q)<=0}function i0($,H,q,ue){return ue.compare(H,q)>=0}function Yd($,H,q){var ue=$!=="=="&&$!=="!=";return function(){function _e(Ie,$e,it){this.type=ua,this.lhs=Ie,this.rhs=$e,this.collator=it,this.hasUntypedArgument=Ie.type.kind==="value"||$e.type.kind==="value"}return _e.parse=function($e,it){if($e.length!==3&&$e.length!==4)return it.error("Expected two or three arguments.");var St=$e[0],Ot=it.parse($e[1],1,ya);if(!Ot)return null;if(!n0(St,Ot.type))return it.concat(1).error('"'+St+`" comparisons are not supported for type '`+Fo(Ot.type)+"'.");var zt=it.parse($e[2],2,ya);if(!zt)return null;if(!n0(St,zt.type))return it.concat(2).error('"'+St+`" comparisons are not supported for type '`+Fo(zt.type)+"'.");if(Ot.type.kind!==zt.type.kind&&Ot.type.kind!=="value"&&zt.type.kind!=="value")return it.error("Cannot compare types '"+Fo(Ot.type)+"' and '"+Fo(zt.type)+"'.");ue&&(Ot.type.kind==="value"&&zt.type.kind!=="value"?Ot=new kl(zt.type,[Ot]):Ot.type.kind!=="value"&&zt.type.kind==="value"&&(zt=new kl(Ot.type,[zt])));var rr=null;if($e.length===4){if(Ot.type.kind!=="string"&&zt.type.kind!=="string"&&Ot.type.kind!=="value"&&zt.type.kind!=="value")return it.error("Cannot use collator to compare non-string types.");if(rr=it.parse($e[3],3,Wa),!rr)return null}return new _e(Ot,zt,rr)},_e.prototype.evaluate=function($e){var it=this.lhs.evaluate($e),St=this.rhs.evaluate($e);if(ue&&this.hasUntypedArgument){var Ot=Zs(it),zt=Zs(St);if(Ot.kind!==zt.kind||!(Ot.kind==="string"||Ot.kind==="number"))throw new ul('Expected arguments for "'+$+'" to be (string, string) or (number, number), but found ('+Ot.kind+", "+zt.kind+") instead.")}if(this.collator&&!ue&&this.hasUntypedArgument){var rr=Zs(it),vr=Zs(St);if(rr.kind!=="string"||vr.kind!=="string")return H($e,it,St)}return this.collator?q($e,it,St,this.collator.evaluate($e)):H($e,it,St)},_e.prototype.eachChild=function($e){$e(this.lhs),$e(this.rhs),this.collator&&$e(this.collator)},_e.prototype.outputDefined=function(){return!0},_e.prototype.serialize=function(){var $e=[$];return this.eachChild(function(it){$e.push(it.serialize())}),$e},_e}()}var s1=Yd("==",iv,jd),cp=Yd("!=",a0,Js),sv=Yd("<",ov,iu),Br=Yd(">",op,lp),sh=Yd("<=",oh,Nm),Rl=Yd(">=",sp,i0),al=function(H,q,ue,_e,Ie){this.type=qn,this.number=H,this.locale=q,this.currency=ue,this.minFractionDigits=_e,this.maxFractionDigits=Ie};al.parse=function(H,q){if(H.length!==3)return q.error("Expected two arguments.");var ue=q.parse(H[1],1,bn);if(!ue)return null;var _e=H[2];if(typeof _e!="object"||Array.isArray(_e))return q.error("NumberFormat options argument must be an object.");var Ie=null;if(_e.locale&&(Ie=q.parse(_e.locale,1,qn),!Ie))return null;var $e=null;if(_e.currency&&($e=q.parse(_e.currency,1,qn),!$e))return null;var it=null;if(_e["min-fraction-digits"]&&(it=q.parse(_e["min-fraction-digits"],1,bn),!it))return null;var St=null;return _e["max-fraction-digits"]&&(St=q.parse(_e["max-fraction-digits"],1,bn),!St)?null:new al(ue,Ie,$e,it,St)},al.prototype.evaluate=function(H){return new Intl.NumberFormat(this.locale?this.locale.evaluate(H):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(H):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(H):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(H):void 0}).format(this.number.evaluate(H))},al.prototype.eachChild=function(H){H(this.number),this.locale&&H(this.locale),this.currency&&H(this.currency),this.minFractionDigits&&H(this.minFractionDigits),this.maxFractionDigits&&H(this.maxFractionDigits)},al.prototype.outputDefined=function(){return!1},al.prototype.serialize=function(){var H={};return this.locale&&(H.locale=this.locale.serialize()),this.currency&&(H.currency=this.currency.serialize()),this.minFractionDigits&&(H["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(H["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),H]};var vo=function(H){this.type=bn,this.input=H};vo.parse=function(H,q){if(H.length!==2)return q.error("Expected 1 argument, but found "+(H.length-1)+" instead.");var ue=q.parse(H[1],1);return ue?ue.type.kind!=="array"&&ue.type.kind!=="string"&&ue.type.kind!=="value"?q.error("Expected argument of type string or array, but found "+Fo(ue.type)+" instead."):new vo(ue):null},vo.prototype.evaluate=function(H){var q=this.input.evaluate(H);if(typeof q=="string")return q.length;if(Array.isArray(q))return q.length;throw new ul("Expected value to be of type string or array, but found "+Fo(Zs(q))+" instead.")},vo.prototype.eachChild=function(H){H(this.input)},vo.prototype.outputDefined=function(){return!1},vo.prototype.serialize=function(){var H=["length"];return this.eachChild(function(q){H.push(q.serialize())}),H};var up={"==":s1,"!=":cp,">":Br,"<":sv,">=":Rl,"<=":sh,array:kl,at:ih,boolean:kl,case:$u,coalesce:Eu,collator:bf,format:bs,image:Tc,in:Os,"index-of":Ds,interpolate:Xs,"interpolate-hcl":Xs,"interpolate-lab":Xs,length:vo,let:Vd,literal:Qs,match:Gd,number:kl,"number-format":al,object:kl,slice:au,step:zu,string:kl,"to-boolean":Ac,"to-color":Ac,"to-number":Ac,"to-string":Ac,var:ud,within:eo};function l1($,H){var q=H[0],ue=H[1],_e=H[2],Ie=H[3];q=q.evaluate($),ue=ue.evaluate($),_e=_e.evaluate($);var $e=Ie?Ie.evaluate($):1,it=xf(q,ue,_e,$e);if(it)throw new ul(it);return new Ao(q/255*$e,ue/255*$e,_e/255*$e,$e)}function lh($,H){return $ in H}function ou($,H){var q=H[$];return typeof q>"u"?null:q}function Im($,H,q,ue){for(;q<=ue;){var _e=q+ue>>1;if(H[_e]===$)return!0;H[_e]>$?ue=_e-1:q=_e+1}return!1}function Wd($){return{type:$}}Ml.register(up,{error:[ei,[qn],function($,H){var q=H[0];throw new ul(q.evaluate($))}],typeof:[qn,[ya],function($,H){var q=H[0];return Fo(Zs(q.evaluate($)))}],"to-rgba":[Uo(bn,4),[ea],function($,H){var q=H[0];return q.evaluate($).toArray()}],rgb:[ea,[bn,bn,bn],l1],rgba:[ea,[bn,bn,bn,bn],l1],has:{type:ua,overloads:[[[qn],function($,H){var q=H[0];return lh(q.evaluate($),$.properties())}],[[qn,Ea],function($,H){var q=H[0],ue=H[1];return lh(q.evaluate($),ue.evaluate($))}]]},get:{type:ya,overloads:[[[qn],function($,H){var q=H[0];return ou(q.evaluate($),$.properties())}],[[qn,Ea],function($,H){var q=H[0],ue=H[1];return ou(q.evaluate($),ue.evaluate($))}]]},"feature-state":[ya,[qn],function($,H){var q=H[0];return ou(q.evaluate($),$.featureState||{})}],properties:[Ea,[],function($){return $.properties()}],"geometry-type":[qn,[],function($){return $.geometryType()}],id:[ya,[],function($){return $.id()}],zoom:[bn,[],function($){return $.globals.zoom}],"heatmap-density":[bn,[],function($){return $.globals.heatmapDensity||0}],"line-progress":[bn,[],function($){return $.globals.lineProgress||0}],accumulated:[ya,[],function($){return $.globals.accumulated===void 0?null:$.globals.accumulated}],"+":[bn,Wd(bn),function($,H){for(var q=0,ue=0,_e=H;ue<_e.length;ue+=1){var Ie=_e[ue];q+=Ie.evaluate($)}return q}],"*":[bn,Wd(bn),function($,H){for(var q=1,ue=0,_e=H;ue<_e.length;ue+=1){var Ie=_e[ue];q*=Ie.evaluate($)}return q}],"-":{type:bn,overloads:[[[bn,bn],function($,H){var q=H[0],ue=H[1];return q.evaluate($)-ue.evaluate($)}],[[bn],function($,H){var q=H[0];return-q.evaluate($)}]]},"/":[bn,[bn,bn],function($,H){var q=H[0],ue=H[1];return q.evaluate($)/ue.evaluate($)}],"%":[bn,[bn,bn],function($,H){var q=H[0],ue=H[1];return q.evaluate($)%ue.evaluate($)}],ln2:[bn,[],function(){return Math.LN2}],pi:[bn,[],function(){return Math.PI}],e:[bn,[],function(){return Math.E}],"^":[bn,[bn,bn],function($,H){var q=H[0],ue=H[1];return Math.pow(q.evaluate($),ue.evaluate($))}],sqrt:[bn,[bn],function($,H){var q=H[0];return Math.sqrt(q.evaluate($))}],log10:[bn,[bn],function($,H){var q=H[0];return Math.log(q.evaluate($))/Math.LN10}],ln:[bn,[bn],function($,H){var q=H[0];return Math.log(q.evaluate($))}],log2:[bn,[bn],function($,H){var q=H[0];return Math.log(q.evaluate($))/Math.LN2}],sin:[bn,[bn],function($,H){var q=H[0];return Math.sin(q.evaluate($))}],cos:[bn,[bn],function($,H){var q=H[0];return Math.cos(q.evaluate($))}],tan:[bn,[bn],function($,H){var q=H[0];return Math.tan(q.evaluate($))}],asin:[bn,[bn],function($,H){var q=H[0];return Math.asin(q.evaluate($))}],acos:[bn,[bn],function($,H){var q=H[0];return Math.acos(q.evaluate($))}],atan:[bn,[bn],function($,H){var q=H[0];return Math.atan(q.evaluate($))}],min:[bn,Wd(bn),function($,H){return Math.min.apply(Math,H.map(function(q){return q.evaluate($)}))}],max:[bn,Wd(bn),function($,H){return Math.max.apply(Math,H.map(function(q){return q.evaluate($)}))}],abs:[bn,[bn],function($,H){var q=H[0];return Math.abs(q.evaluate($))}],round:[bn,[bn],function($,H){var q=H[0],ue=q.evaluate($);return ue<0?-Math.round(-ue):Math.round(ue)}],floor:[bn,[bn],function($,H){var q=H[0];return Math.floor(q.evaluate($))}],ceil:[bn,[bn],function($,H){var q=H[0];return Math.ceil(q.evaluate($))}],"filter-==":[ua,[qn,ya],function($,H){var q=H[0],ue=H[1];return $.properties()[q.value]===ue.value}],"filter-id-==":[ua,[ya],function($,H){var q=H[0];return $.id()===q.value}],"filter-type-==":[ua,[qn],function($,H){var q=H[0];return $.geometryType()===q.value}],"filter-<":[ua,[qn,ya],function($,H){var q=H[0],ue=H[1],_e=$.properties()[q.value],Ie=ue.value;return typeof _e==typeof Ie&&_e<Ie}],"filter-id-<":[ua,[ya],function($,H){var q=H[0],ue=$.id(),_e=q.value;return typeof ue==typeof _e&&ue<_e}],"filter->":[ua,[qn,ya],function($,H){var q=H[0],ue=H[1],_e=$.properties()[q.value],Ie=ue.value;return typeof _e==typeof Ie&&_e>Ie}],"filter-id->":[ua,[ya],function($,H){var q=H[0],ue=$.id(),_e=q.value;return typeof ue==typeof _e&&ue>_e}],"filter-<=":[ua,[qn,ya],function($,H){var q=H[0],ue=H[1],_e=$.properties()[q.value],Ie=ue.value;return typeof _e==typeof Ie&&_e<=Ie}],"filter-id-<=":[ua,[ya],function($,H){var q=H[0],ue=$.id(),_e=q.value;return typeof ue==typeof _e&&ue<=_e}],"filter->=":[ua,[qn,ya],function($,H){var q=H[0],ue=H[1],_e=$.properties()[q.value],Ie=ue.value;return typeof _e==typeof Ie&&_e>=Ie}],"filter-id->=":[ua,[ya],function($,H){var q=H[0],ue=$.id(),_e=q.value;return typeof ue==typeof _e&&ue>=_e}],"filter-has":[ua,[ya],function($,H){var q=H[0];return q.value in $.properties()}],"filter-has-id":[ua,[],function($){return $.id()!==null&&$.id()!==void 0}],"filter-type-in":[ua,[Uo(qn)],function($,H){var q=H[0];return q.value.indexOf($.geometryType())>=0}],"filter-id-in":[ua,[Uo(ya)],function($,H){var q=H[0];return q.value.indexOf($.id())>=0}],"filter-in-small":[ua,[qn,Uo(ya)],function($,H){var q=H[0],ue=H[1];return ue.value.indexOf($.properties()[q.value])>=0}],"filter-in-large":[ua,[qn,Uo(ya)],function($,H){var q=H[0],ue=H[1];return Im($.properties()[q.value],ue.value,0,ue.value.length-1)}],all:{type:ua,overloads:[[[ua,ua],function($,H){var q=H[0],ue=H[1];return q.evaluate($)&&ue.evaluate($)}],[Wd(ua),function($,H){for(var q=0,ue=H;q<ue.length;q+=1){var _e=ue[q];if(!_e.evaluate($))return!1}return!0}]]},any:{type:ua,overloads:[[[ua,ua],function($,H){var q=H[0],ue=H[1];return q.evaluate($)||ue.evaluate($)}],[Wd(ua),function($,H){for(var q=0,ue=H;q<ue.length;q+=1){var _e=ue[q];if(_e.evaluate($))return!0}return!1}]]},"!":[ua,[ua],function($,H){var q=H[0];return!q.evaluate($)}],"is-supported-script":[ua,[qn],function($,H){var q=H[0],ue=$.globals&&$.globals.isSupportedScript;return ue?ue(q.evaluate($)):!0}],upcase:[qn,[qn],function($,H){var q=H[0];return q.evaluate($).toUpperCase()}],downcase:[qn,[qn],function($,H){var q=H[0];return q.evaluate($).toLowerCase()}],concat:[qn,Wd(ya),function($,H){return H.map(function(q){return Xh(q.evaluate($))}).join("")}],"resolved-locale":[qn,[Wa],function($,H){var q=H[0];return q.evaluate($).resolvedLocale()}]});function dp($){return{result:"success",value:$}}function Cf($){return{result:"error",value:$}}function Kd($){return $["property-type"]==="data-driven"||$["property-type"]==="cross-faded-data-driven"}function su($){return!!$.expression&&$.expression.parameters.indexOf("zoom")>-1}function fp($){return!!$.expression&&$.expression.interpolated}function us($){return $ instanceof Number?"number":$ instanceof String?"string":$ instanceof Boolean?"boolean":Array.isArray($)?"array":$===null?"null":typeof $}function hp($){return typeof $=="object"&&$!==null&&!Array.isArray($)}function c1($){return $}function Lm($,H){var q=H.type==="color",ue=$.stops&&typeof $.stops[0][0]=="object",_e=ue||$.property!==void 0,Ie=ue||!_e,$e=$.type||(fp(H)?"exponential":"interval");if(q&&($=ia({},$),$.stops&&($.stops=$.stops.map(function(Ha){return[Ha[0],Ao.parse(Ha[1])]})),$.default?$.default=Ao.parse($.default):$.default=Ao.parse(H.default)),$.colorSpace&&$.colorSpace!=="rgb"&&!ah[$.colorSpace])throw new Error("Unknown color space: "+$.colorSpace);var it,St,Ot;if($e==="exponential")it=lv;else if($e==="interval")it=u1;else if($e==="categorical"){it=o0,St=Object.create(null);for(var zt=0,rr=$.stops;zt<rr.length;zt+=1){var vr=rr[zt];St[vr[0]]=vr[1]}Ot=typeof $.stops[0][0]}else if($e==="identity")it=s0;else throw new Error('Unknown function type "'+$e+'"');if(ue){for(var dr={},Or=[],on=0;on<$.stops.length;on++){var Pn=$.stops[on],Mn=Pn[0].zoom;dr[Mn]===void 0&&(dr[Mn]={zoom:Mn,type:$.type,property:$.property,default:$.default,stops:[]},Or.push(Mn)),dr[Mn].stops.push([Pn[0].value,Pn[1]])}for(var ca=[],Wn=0,sa=Or;Wn<sa.length;Wn+=1){var va=sa[Wn];ca.push([dr[va].zoom,Lm(dr[va],H)])}var Ma={name:"linear"};return{kind:"composite",interpolationType:Ma,interpolationFactor:Xs.interpolationFactor.bind(void 0,Ma),zoomStops:ca.map(function(Ha){return Ha[0]}),evaluate:function(wi,pi){var bi=wi.zoom;return lv({stops:ca,base:$.base},H,bi).evaluate(bi,pi)}}}else if(Ie){var Ga=$e==="exponential"?{name:"exponential",base:$.base!==void 0?$.base:1}:null;return{kind:"camera",interpolationType:Ga,interpolationFactor:Xs.interpolationFactor.bind(void 0,Ga),zoomStops:$.stops.map(function(Ha){return Ha[0]}),evaluate:function(Ha){var wi=Ha.zoom;return it($,H,wi,St,Ot)}}}else return{kind:"source",evaluate:function(wi,pi){var bi=pi&&pi.properties?pi.properties[$.property]:void 0;return bi===void 0?Hc($.default,H.default):it($,H,bi,St,Ot)}}}function Hc($,H,q){if($!==void 0)return $;if(H!==void 0)return H;if(q!==void 0)return q}function o0($,H,q,ue,_e){var Ie=typeof q===_e?ue[q]:void 0;return Hc(Ie,$.default,H.default)}function u1($,H,q){if(us(q)!=="number")return Hc($.default,H.default);var ue=$.stops.length;if(ue===1||q<=$.stops[0][0])return $.stops[0][1];if(q>=$.stops[ue-1][0])return $.stops[ue-1][1];var _e=$d($.stops.map(function(Ie){return Ie[0]}),q);return $.stops[_e][1]}function lv($,H,q){var ue=$.base!==void 0?$.base:1;if(us(q)!=="number")return Hc($.default,H.default);var _e=$.stops.length;if(_e===1||q<=$.stops[0][0])return $.stops[0][1];if(q>=$.stops[_e-1][0])return $.stops[_e-1][1];var Ie=$d($.stops.map(function(rr){return rr[0]}),q),$e=l0(q,ue,$.stops[Ie][0],$.stops[Ie+1][0]),it=$.stops[Ie][1],St=$.stops[Ie+1][1],Ot=cs[H.type]||c1;if($.colorSpace&&$.colorSpace!=="rgb"){var zt=ah[$.colorSpace];Ot=function(rr,vr){return zt.reverse(zt.interpolate(zt.forward(rr),zt.forward(vr),$e))}}return typeof it.evaluate=="function"?{evaluate:function(){for(var vr=[],dr=arguments.length;dr--;)vr[dr]=arguments[dr];var Or=it.evaluate.apply(void 0,vr),on=St.evaluate.apply(void 0,vr);if(!(Or===void 0||on===void 0))return Ot(Or,on,$e)}}:Ot(it,St,$e)}function s0($,H,q){return H.type==="color"?q=Ao.parse(q):H.type==="formatted"?q=ml.fromString(q.toString()):H.type==="resolvedImage"?q=uc.fromString(q.toString()):us(q)!==H.type&&(H.type!=="enum"||!H.values[q])&&(q=void 0),Hc(q,$.default,H.default)}function l0($,H,q,ue){var _e=ue-q,Ie=$-q;return _e===0?0:H===1?Ie/_e:(Math.pow(H,Ie)-1)/(Math.pow(H,_e)-1)}var Vc=function(H,q){this.expression=H,this._warningHistory={},this._evaluator=new ld,this._defaultValue=q?uv(q):null,this._enumValues=q&&q.type==="enum"?q.values:null};Vc.prototype.evaluateWithoutErrorHandling=function(H,q,ue,_e,Ie,$e){return this._evaluator.globals=H,this._evaluator.feature=q,this._evaluator.featureState=ue,this._evaluator.canonical=_e,this._evaluator.availableImages=Ie||null,this._evaluator.formattedSection=$e,this.expression.evaluate(this._evaluator)},Vc.prototype.evaluate=function(H,q,ue,_e,Ie,$e){this._evaluator.globals=H,this._evaluator.feature=q||null,this._evaluator.featureState=ue||null,this._evaluator.canonical=_e,this._evaluator.availableImages=Ie||null,this._evaluator.formattedSection=$e||null;try{var it=this.expression.evaluate(this._evaluator);if(it==null||typeof it=="number"&&it!==it)return this._defaultValue;if(this._enumValues&&!(it in this._enumValues))throw new ul("Expected value to be one of "+Object.keys(this._enumValues).map(function(St){return JSON.stringify(St)}).join(", ")+", but found "+JSON.stringify(it)+" instead.");return it}catch(St){return this._warningHistory[St.message]||(this._warningHistory[St.message]=!0,typeof console<"u"&&console.warn(St.message)),this._defaultValue}};function c0($){return Array.isArray($)&&$.length>0&&typeof $[0]=="string"&&$[0]in up}function kf($,H){var q=new dd(up,[],H?Om(H):void 0),ue=q.parse($,void 0,void 0,void 0,H&&H.type==="string"?{typeAnnotation:"coerce"}:void 0);return ue?dp(new Vc(ue,H)):Cf(q.errors)}var Es=function(H,q){this.kind=H,this._styleExpression=q,this.isStateDependent=H!=="constant"&&!Hs(q.expression)};Es.prototype.evaluateWithoutErrorHandling=function(H,q,ue,_e,Ie,$e){return this._styleExpression.evaluateWithoutErrorHandling(H,q,ue,_e,Ie,$e)},Es.prototype.evaluate=function(H,q,ue,_e,Ie,$e){return this._styleExpression.evaluate(H,q,ue,_e,Ie,$e)};var fd=function(H,q,ue,_e){this.kind=H,this.zoomStops=ue,this._styleExpression=q,this.isStateDependent=H!=="camera"&&!Hs(q.expression),this.interpolationType=_e};fd.prototype.evaluateWithoutErrorHandling=function(H,q,ue,_e,Ie,$e){return this._styleExpression.evaluateWithoutErrorHandling(H,q,ue,_e,Ie,$e)},fd.prototype.evaluate=function(H,q,ue,_e,Ie,$e){return this._styleExpression.evaluate(H,q,ue,_e,Ie,$e)},fd.prototype.interpolationFactor=function(H,q,ue){return this.interpolationType?Xs.interpolationFactor(this.interpolationType,H,q,ue):0};function cv($,H){if($=kf($,H),$.result==="error")return $;var q=$.value.expression,ue=$o(q);if(!ue&&!Kd(H))return Cf([new Hr("","data expressions not supported")]);var _e=vs(q,["zoom"]);if(!_e&&!su(H))return Cf([new Hr("","zoom expressions not supported")]);var Ie=u0(q);if(!Ie&&!_e)return Cf([new Hr("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(Ie instanceof Hr)return Cf([Ie]);if(Ie instanceof Xs&&!fp(H))return Cf([new Hr("",'"interpolate" expressions cannot be used with this property')]);if(!Ie)return dp(ue?new Es("constant",$.value):new Es("source",$.value));var $e=Ie instanceof Xs?Ie.interpolation:void 0;return dp(ue?new fd("camera",$.value,Ie.labels,$e):new fd("composite",$.value,Ie.labels,$e))}var ch=function(H,q){this._parameters=H,this._specification=q,ia(this,Lm(this._parameters,this._specification))};ch.deserialize=function(H){return new ch(H._parameters,H._specification)},ch.serialize=function(H){return{_parameters:H._parameters,_specification:H._specification}};function d1($,H){if(hp($))return new ch($,H);if(c0($)){var q=cv($,H);if(q.result==="error")throw new Error(q.value.map(function(_e){return _e.key+": "+_e.message}).join(", "));return q.value}else{var ue=$;return typeof $=="string"&&H.type==="color"&&(ue=Ao.parse($)),{kind:"constant",evaluate:function(){return ue}}}}function u0($){var H=null;if($ instanceof Vd)H=u0($.result);else if($ instanceof Eu)for(var q=0,ue=$.args;q<ue.length;q+=1){var _e=ue[q];if(H=u0(_e),H)break}else($ instanceof zu||$ instanceof Xs)&&$.input instanceof Ml&&$.input.name==="zoom"&&(H=$);return H instanceof Hr||$.eachChild(function(Ie){var $e=u0(Ie);$e instanceof Hr?H=$e:!H&&$e?H=new Hr("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):H&&$e&&H!==$e&&(H=new Hr("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))}),H}function Om($){var H={color:ea,string:qn,number:bn,enum:qn,boolean:ua,formatted:ni,resolvedImage:si};return $.type==="array"?Uo(H[$.value]||ya,$.length):H[$.type]}function uv($){return $.type==="color"&&hp($.default)?new Ao(0,0,0,0):$.type==="color"?Ao.parse($.default)||null:$.default===void 0?null:$.default}function dc($){var H=$.key,q=$.value,ue=$.valueSpec||{},_e=$.objectElementValidators||{},Ie=$.style,$e=$.styleSpec,it=[],St=us(q);if(St!=="object")return[new rn(H,q,"object expected, "+St+" found")];for(var Ot in q){var zt=Ot.split(".")[0],rr=ue[zt]||ue["*"],vr=void 0;if(_e[zt])vr=_e[zt];else if(ue[zt])vr=Zr;else if(_e["*"])vr=_e["*"];else if(ue["*"])vr=Zr;else{it.push(new rn(H,q[Ot],'unknown property "'+Ot+'"'));continue}it=it.concat(vr({key:(H&&H+".")+Ot,value:q[Ot],valueSpec:rr,style:Ie,styleSpec:$e,object:q,objectKey:Ot},q))}for(var dr in ue)_e[dr]||ue[dr].required&&ue[dr].default===void 0&&q[dr]===void 0&&it.push(new rn(H,q,'missing required property "'+dr+'"'));return it}function d0($){var H=$.value,q=$.valueSpec,ue=$.style,_e=$.styleSpec,Ie=$.key,$e=$.arrayElementValidator||Zr;if(us(H)!=="array")return[new rn(Ie,H,"array expected, "+us(H)+" found")];if(q.length&&H.length!==q.length)return[new rn(Ie,H,"array length "+q.length+" expected, length "+H.length+" found")];if(q["min-length"]&&H.length<q["min-length"])return[new rn(Ie,H,"array length at least "+q["min-length"]+" expected, length "+H.length+" found")];var it={type:q.value,values:q.values};_e.$version<7&&(it.function=q.function),us(q.value)==="object"&&(it=q.value);for(var St=[],Ot=0;Ot<H.length;Ot++)St=St.concat($e({array:H,arrayIndex:Ot,value:H[Ot],valueSpec:it,style:ue,styleSpec:_e,key:Ie+"["+Ot+"]"}));return St}function Mf($){var H=$.key,q=$.value,ue=$.valueSpec,_e=us(q);return _e==="number"&&q!==q&&(_e="NaN"),_e!=="number"?[new rn(H,q,"number expected, "+_e+" found")]:"minimum"in ue&&q<ue.minimum?[new rn(H,q,q+" is less than the minimum value "+ue.minimum)]:"maximum"in ue&&q>ue.maximum?[new rn(H,q,q+" is greater than the maximum value "+ue.maximum)]:[]}function pp($){var H=$.valueSpec,q=zn($.value.type),ue,_e={},Ie,$e,it=q!=="categorical"&&$.value.property===void 0,St=!it,Ot=us($.value.stops)==="array"&&us($.value.stops[0])==="array"&&us($.value.stops[0][0])==="object",zt=dc({key:$.key,value:$.value,valueSpec:$.styleSpec.function,style:$.style,styleSpec:$.styleSpec,objectElementValidators:{stops:rr,default:Or}});return q==="identity"&&it&&zt.push(new rn($.key,$.value,'missing required property "property"')),q!=="identity"&&!$.value.stops&&zt.push(new rn($.key,$.value,'missing required property "stops"')),q==="exponential"&&$.valueSpec.expression&&!fp($.valueSpec)&&zt.push(new rn($.key,$.value,"exponential functions not supported")),$.styleSpec.$version>=8&&(St&&!Kd($.valueSpec)?zt.push(new rn($.key,$.value,"property functions not supported")):it&&!su($.valueSpec)&&zt.push(new rn($.key,$.value,"zoom functions not supported"))),(q==="categorical"||Ot)&&$.value.property===void 0&&zt.push(new rn($.key,$.value,'"property" property is required')),zt;function rr(on){if(q==="identity")return[new rn(on.key,on.value,'identity function may not have a "stops" property')];var Pn=[],Mn=on.value;return Pn=Pn.concat(d0({key:on.key,value:Mn,valueSpec:on.valueSpec,style:on.style,styleSpec:on.styleSpec,arrayElementValidator:vr})),us(Mn)==="array"&&Mn.length===0&&Pn.push(new rn(on.key,Mn,"array must have at least one stop")),Pn}function vr(on){var Pn=[],Mn=on.value,ca=on.key;if(us(Mn)!=="array")return[new rn(ca,Mn,"array expected, "+us(Mn)+" found")];if(Mn.length!==2)return[new rn(ca,Mn,"array length 2 expected, length "+Mn.length+" found")];if(Ot){if(us(Mn[0])!=="object")return[new rn(ca,Mn,"object expected, "+us(Mn[0])+" found")];if(Mn[0].zoom===void 0)return[new rn(ca,Mn,"object stop key must have zoom")];if(Mn[0].value===void 0)return[new rn(ca,Mn,"object stop key must have value")];if($e&&$e>zn(Mn[0].zoom))return[new rn(ca,Mn[0].zoom,"stop zoom values must appear in ascending order")];zn(Mn[0].zoom)!==$e&&($e=zn(Mn[0].zoom),Ie=void 0,_e={}),Pn=Pn.concat(dc({key:ca+"[0]",value:Mn[0],valueSpec:{zoom:{}},style:on.style,styleSpec:on.styleSpec,objectElementValidators:{zoom:Mf,value:dr}}))}else Pn=Pn.concat(dr({key:ca+"[0]",value:Mn[0],valueSpec:{},style:on.style,styleSpec:on.styleSpec},Mn));return c0(Ln(Mn[1]))?Pn.concat([new rn(ca+"[1]",Mn[1],"expressions are not allowed in function stops.")]):Pn.concat(Zr({key:ca+"[1]",value:Mn[1],valueSpec:H,style:on.style,styleSpec:on.styleSpec}))}function dr(on,Pn){var Mn=us(on.value),ca=zn(on.value),Wn=on.value!==null?on.value:Pn;if(!ue)ue=Mn;else if(Mn!==ue)return[new rn(on.key,Wn,Mn+" stop domain type must match previous stop domain type "+ue)];if(Mn!=="number"&&Mn!=="string"&&Mn!=="boolean")return[new rn(on.key,Wn,"stop domain value must be a number, string, or boolean")];if(Mn!=="number"&&q!=="categorical"){var sa="number expected, "+Mn+" found";return Kd(H)&&q===void 0&&(sa+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new rn(on.key,Wn,sa)]}return q==="categorical"&&Mn==="number"&&(!isFinite(ca)||Math.floor(ca)!==ca)?[new rn(on.key,Wn,"integer expected, found "+ca)]:q!=="categorical"&&Mn==="number"&&Ie!==void 0&&ca<Ie?[new rn(on.key,Wn,"stop domain values must appear in ascending order")]:(Ie=ca,q==="categorical"&&ca in _e?[new rn(on.key,Wn,"stop domain values must be unique")]:(_e[ca]=!0,[]))}function Or(on){return Zr({key:on.key,value:on.value,valueSpec:H,style:on.style,styleSpec:on.styleSpec})}}function Hu($){var H=($.expressionContext==="property"?cv:kf)(Ln($.value),$.valueSpec);if(H.result==="error")return H.value.map(function(ue){return new rn(""+$.key+ue.key,$.value,ue.message)});var q=H.value.expression||H.value._styleExpression.expression;if($.expressionContext==="property"&&$.propertyKey==="text-font"&&!q.outputDefined())return[new rn($.key,$.value,'Invalid data expression for "'+$.propertyKey+'". Output values must be contained as literals within the expression.')];if($.expressionContext==="property"&&$.propertyType==="layout"&&!Hs(q))return[new rn($.key,$.value,'"feature-state" data expressions are not supported with layout properties.')];if($.expressionContext==="filter"&&!Hs(q))return[new rn($.key,$.value,'"feature-state" data expressions are not supported with filters.')];if($.expressionContext&&$.expressionContext.indexOf("cluster")===0){if(!vs(q,["zoom","feature-state"]))return[new rn($.key,$.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if($.expressionContext==="cluster-initial"&&!$o(q))return[new rn($.key,$.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function ry($){var H=$.value,q=$.key,ue=us(H);return ue!=="boolean"?[new rn(q,H,"boolean expected, "+ue+" found")]:[]}function Cc($){var H=$.key,q=$.value,ue=us(q);return ue!=="string"?[new rn(H,q,"color expected, "+ue+" found")]:ev(q)===null?[new rn(H,q,'color expected, "'+q+'" found')]:[]}function f0($){var H=$.key,q=$.value,ue=$.valueSpec,_e=[];return Array.isArray(ue.values)?ue.values.indexOf(zn(q))===-1&&_e.push(new rn(H,q,"expected one of ["+ue.values.join(", ")+"], "+JSON.stringify(q)+" found")):Object.keys(ue.values).indexOf(zn(q))===-1&&_e.push(new rn(H,q,"expected one of ["+Object.keys(ue.values).join(", ")+"], "+JSON.stringify(q)+" found")),_e}function Su($){if($===!0||$===!1)return!0;if(!Array.isArray($)||$.length===0)return!1;switch($[0]){case"has":return $.length>=2&&$[1]!=="$id"&&$[1]!=="$type";case"in":return $.length>=3&&(typeof $[1]!="string"||Array.isArray($[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return $.length!==3||Array.isArray($[1])||Array.isArray($[2]);case"any":case"all":for(var H=0,q=$.slice(1);H<q.length;H+=1){var ue=q[H];if(!Su(ue)&&typeof ue!="boolean")return!1}return!0;default:return!0}}var Vu={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function Gc($){if($==null)return{filter:function(){return!0},needGeometry:!1};Su($)||($=vp($));var H=kf($,Vu);if(H.result==="error")throw new Error(H.value.map(function(ue){return ue.key+": "+ue.message}).join(", "));var q=h0($);return{filter:function(ue,_e,Ie){return H.value.evaluate(ue,_e,{},Ie)},needGeometry:q}}function jc($,H){return $<H?-1:$>H?1:0}function h0($){if(!Array.isArray($))return!1;if($[0]==="within")return!0;for(var H=1;H<$.length;H++)if(h0($[H]))return!0;return!1}function vp($){if(!$)return!0;var H=$[0];if($.length<=1)return H!=="any";var q=H==="=="?p0($[1],$[2],"=="):H==="!="?uh(p0($[1],$[2],"==")):H==="<"||H===">"||H==="<="||H===">="?p0($[1],$[2],H):H==="any"?mp($.slice(1)):H==="all"?["all"].concat($.slice(1).map(vp)):H==="none"?["all"].concat($.slice(1).map(vp).map(uh)):H==="in"?wu($[1],$.slice(2)):H==="!in"?uh(wu($[1],$.slice(2))):H==="has"?f1($[1]):H==="!has"?uh(f1($[1])):H==="within"?$:!0;return q}function p0($,H,q){switch($){case"$type":return["filter-type-"+q,H];case"$id":return["filter-id-"+q,H];default:return["filter-"+q,$,H]}}function mp($){return["any"].concat($.map(vp))}function wu($,H){if(H.length===0)return!1;switch($){case"$type":return["filter-type-in",["literal",H]];case"$id":return["filter-id-in",["literal",H]];default:return H.length>200&&!H.some(function(q){return typeof q!=typeof H[0]})?["filter-in-large",$,["literal",H.sort(jc)]]:["filter-in-small",$,["literal",H]]}}function f1($){switch($){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",$]}}function uh($){return["!",$]}function gp($){return Su(Ln($.value))?Hu(ia({},$,{expressionContext:"filter",valueSpec:{value:"boolean"}})):v0($)}function v0($){var H=$.value,q=$.key;if(us(H)!=="array")return[new rn(q,H,"array expected, "+us(H)+" found")];var ue=$.styleSpec,_e,Ie=[];if(H.length<1)return[new rn(q,H,"filter array must have at least 1 element")];switch(Ie=Ie.concat(f0({key:q+"[0]",value:H[0],valueSpec:ue.filter_operator,style:$.style,styleSpec:$.styleSpec})),zn(H[0])){case"<":case"<=":case">":case">=":H.length>=2&&zn(H[1])==="$type"&&Ie.push(new rn(q,H,'"$type" cannot be use with operator "'+H[0]+'"'));case"==":case"!=":H.length!==3&&Ie.push(new rn(q,H,'filter array for operator "'+H[0]+'" must have 3 elements'));case"in":case"!in":H.length>=2&&(_e=us(H[1]),_e!=="string"&&Ie.push(new rn(q+"[1]",H[1],"string expected, "+_e+" found")));for(var $e=2;$e<H.length;$e++)_e=us(H[$e]),zn(H[1])==="$type"?Ie=Ie.concat(f0({key:q+"["+$e+"]",value:H[$e],valueSpec:ue.geometry_type,style:$.style,styleSpec:$.styleSpec})):_e!=="string"&&_e!=="number"&&_e!=="boolean"&&Ie.push(new rn(q+"["+$e+"]",H[$e],"string, number, or boolean expected, "+_e+" found"));break;case"any":case"all":case"none":for(var it=1;it<H.length;it++)Ie=Ie.concat(v0({key:q+"["+it+"]",value:H[it],style:$.style,styleSpec:$.styleSpec}));break;case"has":case"!has":_e=us(H[1]),H.length!==2?Ie.push(new rn(q,H,'filter array for "'+H[0]+'" operator must have 2 elements')):_e!=="string"&&Ie.push(new rn(q+"[1]",H[1],"string expected, "+_e+" found"));break;case"within":_e=us(H[1]),H.length!==2?Ie.push(new rn(q,H,'filter array for "'+H[0]+'" operator must have 2 elements')):_e!=="object"&&Ie.push(new rn(q+"[1]",H[1],"object expected, "+_e+" found"));break}return Ie}function dv($,H){var q=$.key,ue=$.style,_e=$.styleSpec,Ie=$.value,$e=$.objectKey,it=_e[H+"_"+$.layerType];if(!it)return[];var St=$e.match(/^(.*)-transition$/);if(H==="paint"&&St&&it[St[1]]&&it[St[1]].transition)return Zr({key:q,value:Ie,valueSpec:_e.transition,style:ue,styleSpec:_e});var Ot=$.valueSpec||it[$e];if(!Ot)return[new rn(q,Ie,'unknown property "'+$e+'"')];var zt;if(us(Ie)==="string"&&Kd(Ot)&&!Ot.tokens&&(zt=/^{([^}]+)}$/.exec(Ie)))return[new rn(q,Ie,'"'+$e+'" does not support interpolation syntax\nUse an identity property function instead: `{ "type": "identity", "property": '+JSON.stringify(zt[1])+" }`.")];var rr=[];return $.layerType==="symbol"&&($e==="text-field"&&ue&&!ue.glyphs&&rr.push(new rn(q,Ie,'use of "text-field" requires a style "glyphs" property')),$e==="text-font"&&hp(Ln(Ie))&&zn(Ie.type)==="identity"&&rr.push(new rn(q,Ie,'"text-font" does not support identity functions'))),rr.concat(Zr({key:$.key,value:Ie,valueSpec:Ot,style:ue,styleSpec:_e,expressionContext:"property",propertyType:H,propertyKey:$e}))}function at($){return dv($,"paint")}function ft($){return dv($,"layout")}function Tt($){var H=[],q=$.value,ue=$.key,_e=$.style,Ie=$.styleSpec;!q.type&&!q.ref&&H.push(new rn(ue,q,'either "type" or "ref" is required'));var $e=zn(q.type),it=zn(q.ref);if(q.id)for(var St=zn(q.id),Ot=0;Ot<$.arrayIndex;Ot++){var zt=_e.layers[Ot];zn(zt.id)===St&&H.push(new rn(ue,q.id,'duplicate layer id "'+q.id+'", previously used at line '+zt.id.__line__))}if("ref"in q){["type","source","source-layer","filter","layout"].forEach(function(Or){Or in q&&H.push(new rn(ue,q[Or],'"'+Or+'" is prohibited for ref layers'))});var rr;_e.layers.forEach(function(Or){zn(Or.id)===it&&(rr=Or)}),rr?rr.ref?H.push(new rn(ue,q.ref,"ref cannot reference another ref layer")):$e=zn(rr.type):H.push(new rn(ue,q.ref,'ref layer "'+it+'" not found'))}else if($e!=="background")if(!q.source)H.push(new rn(ue,q,'missing required property "source"'));else{var vr=_e.sources&&_e.sources[q.source],dr=vr&&zn(vr.type);vr?dr==="vector"&&$e==="raster"?H.push(new rn(ue,q.source,'layer "'+q.id+'" requires a raster source')):dr==="raster"&&$e!=="raster"?H.push(new rn(ue,q.source,'layer "'+q.id+'" requires a vector source')):dr==="vector"&&!q["source-layer"]?H.push(new rn(ue,q,'layer "'+q.id+'" must specify a "source-layer"')):dr==="raster-dem"&&$e!=="hillshade"?H.push(new rn(ue,q.source,"raster-dem source can only be used with layer type 'hillshade'.")):$e==="line"&&q.paint&&q.paint["line-gradient"]&&(dr!=="geojson"||!vr.lineMetrics)&&H.push(new rn(ue,q,'layer "'+q.id+'" specifies a line-gradient, which requires a GeoJSON source with `lineMetrics` enabled.')):H.push(new rn(ue,q.source,'source "'+q.source+'" not found'))}return H=H.concat(dc({key:ue,value:q,valueSpec:Ie.layer,style:$.style,styleSpec:$.styleSpec,objectElementValidators:{"*":function(){return[]},type:function(){return Zr({key:ue+".type",value:q.type,valueSpec:Ie.layer.type,style:$.style,styleSpec:$.styleSpec,object:q,objectKey:"type"})},filter:gp,layout:function(on){return dc({layer:q,key:on.key,value:on.value,style:on.style,styleSpec:on.styleSpec,objectElementValidators:{"*":function(Mn){return ft(ia({layerType:$e},Mn))}}})},paint:function(on){return dc({layer:q,key:on.key,value:on.value,style:on.style,styleSpec:on.styleSpec,objectElementValidators:{"*":function(Mn){return at(ia({layerType:$e},Mn))}}})}}})),H}function kt($){var H=$.value,q=$.key,ue=us(H);return ue!=="string"?[new rn(q,H,"string expected, "+ue+" found")]:[]}var Yt={promoteId:qt};function $t($){var H=$.value,q=$.key,ue=$.styleSpec,_e=$.style;if(!H.type)return[new rn(q,H,'"type" is required')];var Ie=zn(H.type),$e;switch(Ie){case"vector":case"raster":case"raster-dem":return $e=dc({key:q,value:H,valueSpec:ue["source_"+Ie.replace("-","_")],style:$.style,styleSpec:ue,objectElementValidators:Yt}),$e;case"geojson":if($e=dc({key:q,value:H,valueSpec:ue.source_geojson,style:_e,styleSpec:ue,objectElementValidators:Yt}),H.cluster)for(var it in H.clusterProperties){var St=H.clusterProperties[it],Ot=St[0],zt=St[1],rr=typeof Ot=="string"?[Ot,["accumulated"],["get",it]]:Ot;$e.push.apply($e,Hu({key:q+"."+it+".map",value:zt,expressionContext:"cluster-map"})),$e.push.apply($e,Hu({key:q+"."+it+".reduce",value:rr,expressionContext:"cluster-reduce"}))}return $e;case"video":return dc({key:q,value:H,valueSpec:ue.source_video,style:_e,styleSpec:ue});case"image":return dc({key:q,value:H,valueSpec:ue.source_image,style:_e,styleSpec:ue});case"canvas":return[new rn(q,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return f0({key:q+".type",value:H.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:_e,styleSpec:ue})}}function qt($){var H=$.key,q=$.value;if(us(q)==="string")return kt({key:H,value:q});var ue=[];for(var _e in q)ue.push.apply(ue,kt({key:H+"."+_e,value:q[_e]}));return ue}function Mr($){var H=$.value,q=$.styleSpec,ue=q.light,_e=$.style,Ie=[],$e=us(H);if(H===void 0)return Ie;if($e!=="object")return Ie=Ie.concat([new rn("light",H,"object expected, "+$e+" found")]),Ie;for(var it in H){var St=it.match(/^(.*)-transition$/);St&&ue[St[1]]&&ue[St[1]].transition?Ie=Ie.concat(Zr({key:it,value:H[it],valueSpec:q.transition,style:_e,styleSpec:q})):ue[it]?Ie=Ie.concat(Zr({key:it,value:H[it],valueSpec:ue[it],style:_e,styleSpec:q})):Ie=Ie.concat([new rn(it,H[it],'unknown property "'+it+'"')])}return Ie}function Nr($){return kt($).length===0?[]:Hu($)}function gr($){return kt($).length===0?[]:Hu($)}var Ur={"*":function(){return[]},array:d0,boolean:ry,number:Mf,color:Cc,constants:Xn,enum:f0,filter:gp,function:pp,layer:Tt,object:dc,source:$t,light:Mr,string:kt,formatted:Nr,resolvedImage:gr};function Zr($){var H=$.value,q=$.valueSpec,ue=$.styleSpec;if(q.expression&&hp(zn(H)))return pp($);if(q.expression&&c0(Ln(H)))return Hu($);if(q.type&&Ur[q.type])return Ur[q.type]($);var _e=dc(ia({},$,{valueSpec:q.type?ue[q.type]:q}));return _e}function an($){var H=$.value,q=$.key,ue=kt($);return ue.length||(H.indexOf("{fontstack}")===-1&&ue.push(new rn(q,H,'"glyphs" url must include a "{fontstack}" token')),H.indexOf("{range}")===-1&&ue.push(new rn(q,H,'"glyphs" url must include a "{range}" token'))),ue}function Cn($,H){H===void 0&&(H=zr);var q=[];return q=q.concat(Zr({key:"",value:$,valueSpec:H.$root,styleSpec:H,style:$,objectElementValidators:{glyphs:an,"*":function(){return[]}}})),$.constants&&(q=q.concat(Xn({key:"constants",value:$.constants,style:$,styleSpec:H}))),Zn(q)}Cn.source=oa($t),Cn.light=oa(Mr),Cn.layer=oa(Tt),Cn.filter=oa(gp),Cn.paintProperty=oa(at),Cn.layoutProperty=oa(ft);function Zn($){return[].concat($).sort(function(H,q){return H.line-q.line})}function oa($){return function(){for(var H=[],q=arguments.length;q--;)H[q]=arguments[q];return Zn($.apply(this,H))}}var fa=Cn,La=fa.light,Di=fa.paintProperty,Ii=fa.layoutProperty;function Bi($,H){var q=!1;if(H&&H.length)for(var ue=0,_e=H;ue<_e.length;ue+=1){var Ie=_e[ue];$.fire(new Kt(new Error(Ie.message))),q=!0}return q}var Ki=rs,_o=3;function rs($,H,q){var ue=this.cells=[];if($ instanceof ArrayBuffer){this.arrayBuffer=$;var _e=new Int32Array(this.arrayBuffer);$=_e[0],H=_e[1],q=_e[2],this.d=H+2*q;for(var Ie=0;Ie<this.d*this.d;Ie++){var $e=_e[_o+Ie],it=_e[_o+Ie+1];ue.push($e===it?null:_e.subarray($e,it))}var St=_e[_o+ue.length],Ot=_e[_o+ue.length+1];this.keys=_e.subarray(St,Ot),this.bboxes=_e.subarray(Ot),this.insert=this._insertReadonly}else{this.d=H+2*q;for(var zt=0;zt<this.d*this.d;zt++)ue.push([]);this.keys=[],this.bboxes=[]}this.n=H,this.extent=$,this.padding=q,this.scale=H/$,this.uid=0;var rr=q/H*$;this.min=-rr,this.max=$+rr}rs.prototype.insert=function($,H,q,ue,_e){this._forEachCell(H,q,ue,_e,this._insertCell,this.uid++),this.keys.push($),this.bboxes.push(H),this.bboxes.push(q),this.bboxes.push(ue),this.bboxes.push(_e)},rs.prototype._insertReadonly=function(){throw"Cannot insert into a GridIndex created from an ArrayBuffer."},rs.prototype._insertCell=function($,H,q,ue,_e,Ie){this.cells[_e].push(Ie)},rs.prototype.query=function($,H,q,ue,_e){var Ie=this.min,$e=this.max;if($<=Ie&&H<=Ie&&$e<=q&&$e<=ue&&!_e)return Array.prototype.slice.call(this.keys);var it=[],St={};return this._forEachCell($,H,q,ue,this._queryCell,it,St,_e),it},rs.prototype._queryCell=function($,H,q,ue,_e,Ie,$e,it){var St=this.cells[_e];if(St!==null)for(var Ot=this.keys,zt=this.bboxes,rr=0;rr<St.length;rr++){var vr=St[rr];if($e[vr]===void 0){var dr=vr*4;(it?it(zt[dr+0],zt[dr+1],zt[dr+2],zt[dr+3]):$<=zt[dr+2]&&H<=zt[dr+3]&&q>=zt[dr+0]&&ue>=zt[dr+1])?($e[vr]=!0,Ie.push(Ot[vr])):$e[vr]=!1}}},rs.prototype._forEachCell=function($,H,q,ue,_e,Ie,$e,it){for(var St=this._convertToCellCoord($),Ot=this._convertToCellCoord(H),zt=this._convertToCellCoord(q),rr=this._convertToCellCoord(ue),vr=St;vr<=zt;vr++)for(var dr=Ot;dr<=rr;dr++){var Or=this.d*dr+vr;if(!(it&&!it(this._convertFromCellCoord(vr),this._convertFromCellCoord(dr),this._convertFromCellCoord(vr+1),this._convertFromCellCoord(dr+1)))&&_e.call(this,$,H,q,ue,Or,Ie,$e,it))return}},rs.prototype._convertFromCellCoord=function($){return($-this.padding)/this.scale},rs.prototype._convertToCellCoord=function($){return Math.max(0,Math.min(this.d-1,Math.floor($*this.scale)+this.padding))},rs.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var $=this.cells,H=_o+this.cells.length+1+1,q=0,ue=0;ue<this.cells.length;ue++)q+=this.cells[ue].length;var _e=new Int32Array(H+q+this.keys.length+this.bboxes.length);_e[0]=this.extent,_e[1]=this.n,_e[2]=this.padding;for(var Ie=H,$e=0;$e<$.length;$e++){var it=$[$e];_e[_o+$e]=Ie,_e.set(it,Ie),Ie+=it.length}return _e[_o+$.length]=Ie,_e.set(this.keys,Ie),Ie+=this.keys.length,_e[_o+$.length+1]=Ie,_e.set(this.bboxes,Ie),Ie+=this.bboxes.length,_e.buffer};var il=d.ImageData,ve=d.ImageBitmap,De={};function Ye($,H,q){q===void 0&&(q={}),Object.defineProperty(H,"_classRegistryKey",{value:$,writeable:!1}),De[$]={klass:H,omit:q.omit||[],shallow:q.shallow||[]}}Ye("Object",Object),Ki.serialize=function(H,q){var ue=H.toArrayBuffer();return q&&q.push(ue),{buffer:ue}},Ki.deserialize=function(H){return new Ki(H.buffer)},Ye("Grid",Ki),Ye("Color",Ao),Ye("Error",Error),Ye("ResolvedImage",uc),Ye("StylePropertyFunction",ch),Ye("StyleExpression",Vc,{omit:["_evaluator"]}),Ye("ZoomDependentExpression",fd),Ye("ZoomConstantExpression",Es),Ye("CompoundExpression",Ml,{omit:["_evaluate"]});for(var ot in up)up[ot]._classRegistryKey||Ye("Expression_"+ot,up[ot]);function dt($){return $&&typeof ArrayBuffer<"u"&&($ instanceof ArrayBuffer||$.constructor&&$.constructor.name==="ArrayBuffer")}function gt($){return ve&&$ instanceof ve}function Bt($,H){if($==null||typeof $=="boolean"||typeof $=="number"||typeof $=="string"||$ instanceof Boolean||$ instanceof Number||$ instanceof String||$ instanceof Date||$ instanceof RegExp)return $;if(dt($)||gt($))return H&&H.push($),$;if(ArrayBuffer.isView($)){var q=$;return H&&H.push(q.buffer),q}if($ instanceof il)return H&&H.push($.data.buffer),$;if(Array.isArray($)){for(var ue=[],_e=0,Ie=$;_e<Ie.length;_e+=1){var $e=Ie[_e];ue.push(Bt($e,H))}return ue}if(typeof $=="object"){var it=$.constructor,St=it._classRegistryKey;if(!St)throw new Error("can't serialize object of unregistered class");var Ot=it.serialize?it.serialize($,H):{};if(!it.serialize){for(var zt in $)if($.hasOwnProperty(zt)&&!(De[St].omit.indexOf(zt)>=0)){var rr=$[zt];Ot[zt]=De[St].shallow.indexOf(zt)>=0?rr:Bt(rr,H)}$ instanceof Error&&(Ot.message=$.message)}if(Ot.$name)throw new Error("$name property is reserved for worker serialization logic.");return St!=="Object"&&(Ot.$name=St),Ot}throw new Error("can't serialize object of type "+typeof $)}function Lt($){if($==null||typeof $=="boolean"||typeof $=="number"||typeof $=="string"||$ instanceof Boolean||$ instanceof Number||$ instanceof String||$ instanceof Date||$ instanceof RegExp||dt($)||gt($)||ArrayBuffer.isView($)||$ instanceof il)return $;if(Array.isArray($))return $.map(Lt);if(typeof $=="object"){var H=$.$name||"Object",q=De[H],ue=q.klass;if(!ue)throw new Error("can't deserialize unregistered class "+H);if(ue.deserialize)return ue.deserialize($);for(var _e=Object.create(ue.prototype),Ie=0,$e=Object.keys($);Ie<$e.length;Ie+=1){var it=$e[Ie];if(it!=="$name"){var St=$[it];_e[it]=De[H].shallow.indexOf(it)>=0?St:Lt(St)}}return _e}throw new Error("can't deserialize object of type "+typeof $)}var er=function(){this.first=!0};er.prototype.update=function(H,q){var ue=Math.floor(H);return this.first?(this.first=!1,this.lastIntegerZoom=ue,this.lastIntegerZoomTime=0,this.lastZoom=H,this.lastFloorZoom=ue,!0):(this.lastFloorZoom>ue?(this.lastIntegerZoom=ue+1,this.lastIntegerZoomTime=q):this.lastFloorZoom<ue&&(this.lastIntegerZoom=ue,this.lastIntegerZoomTime=q),H!==this.lastZoom?(this.lastZoom=H,this.lastFloorZoom=ue,!0):!1)};var tr={"Latin-1 Supplement":function($){return $>=128&&$<=255},Arabic:function($){return $>=1536&&$<=1791},"Arabic Supplement":function($){return $>=1872&&$<=1919},"Arabic Extended-A":function($){return $>=2208&&$<=2303},"Hangul Jamo":function($){return $>=4352&&$<=4607},"Unified Canadian Aboriginal Syllabics":function($){return $>=5120&&$<=5759},Khmer:function($){return $>=6016&&$<=6143},"Unified Canadian Aboriginal Syllabics Extended":function($){return $>=6320&&$<=6399},"General Punctuation":function($){return $>=8192&&$<=8303},"Letterlike Symbols":function($){return $>=8448&&$<=8527},"Number Forms":function($){return $>=8528&&$<=8591},"Miscellaneous Technical":function($){return $>=8960&&$<=9215},"Control Pictures":function($){return $>=9216&&$<=9279},"Optical Character Recognition":function($){return $>=9280&&$<=9311},"Enclosed Alphanumerics":function($){return $>=9312&&$<=9471},"Geometric Shapes":function($){return $>=9632&&$<=9727},"Miscellaneous Symbols":function($){return $>=9728&&$<=9983},"Miscellaneous Symbols and Arrows":function($){return $>=11008&&$<=11263},"CJK Radicals Supplement":function($){return $>=11904&&$<=12031},"Kangxi Radicals":function($){return $>=12032&&$<=12255},"Ideographic Description Characters":function($){return $>=12272&&$<=12287},"CJK Symbols and Punctuation":function($){return $>=12288&&$<=12351},Hiragana:function($){return $>=12352&&$<=12447},Katakana:function($){return $>=12448&&$<=12543},Bopomofo:function($){return $>=12544&&$<=12591},"Hangul Compatibility Jamo":function($){return $>=12592&&$<=12687},Kanbun:function($){return $>=12688&&$<=12703},"Bopomofo Extended":function($){return $>=12704&&$<=12735},"CJK Strokes":function($){return $>=12736&&$<=12783},"Katakana Phonetic Extensions":function($){return $>=12784&&$<=12799},"Enclosed CJK Letters and Months":function($){return $>=12800&&$<=13055},"CJK Compatibility":function($){return $>=13056&&$<=13311},"CJK Unified Ideographs Extension A":function($){return $>=13312&&$<=19903},"Yijing Hexagram Symbols":function($){return $>=19904&&$<=19967},"CJK Unified Ideographs":function($){return $>=19968&&$<=40959},"Yi Syllables":function($){return $>=40960&&$<=42127},"Yi Radicals":function($){return $>=42128&&$<=42191},"Hangul Jamo Extended-A":function($){return $>=43360&&$<=43391},"Hangul Syllables":function($){return $>=44032&&$<=55215},"Hangul Jamo Extended-B":function($){return $>=55216&&$<=55295},"Private Use Area":function($){return $>=57344&&$<=63743},"CJK Compatibility Ideographs":function($){return $>=63744&&$<=64255},"Arabic Presentation Forms-A":function($){return $>=64336&&$<=65023},"Vertical Forms":function($){return $>=65040&&$<=65055},"CJK Compatibility Forms":function($){return $>=65072&&$<=65103},"Small Form Variants":function($){return $>=65104&&$<=65135},"Arabic Presentation Forms-B":function($){return $>=65136&&$<=65279},"Halfwidth and Fullwidth Forms":function($){return $>=65280&&$<=65519}};function hr($){for(var H=0,q=$;H<q.length;H+=1){var ue=q[H];if(In(ue.charCodeAt(0)))return!0}return!1}function Vr($){for(var H=0,q=$;H<q.length;H+=1){var ue=q[H];if(!Gr(ue.charCodeAt(0)))return!1}return!0}function Gr($){return!(tr.Arabic($)||tr["Arabic Supplement"]($)||tr["Arabic Extended-A"]($)||tr["Arabic Presentation Forms-A"]($)||tr["Arabic Presentation Forms-B"]($))}function En($){return $<11904?!1:!!(tr["Bopomofo Extended"]($)||tr.Bopomofo($)||tr["CJK Compatibility Forms"]($)||tr["CJK Compatibility Ideographs"]($)||tr["CJK Compatibility"]($)||tr["CJK Radicals Supplement"]($)||tr["CJK Strokes"]($)||tr["CJK Symbols and Punctuation"]($)||tr["CJK Unified Ideographs Extension A"]($)||tr["CJK Unified Ideographs"]($)||tr["Enclosed CJK Letters and Months"]($)||tr["Halfwidth and Fullwidth Forms"]($)||tr.Hiragana($)||tr["Ideographic Description Characters"]($)||tr["Kangxi Radicals"]($)||tr["Katakana Phonetic Extensions"]($)||tr.Katakana($)||tr["Vertical Forms"]($)||tr["Yi Radicals"]($)||tr["Yi Syllables"]($))}function In($){return $===746||$===747?!0:$<4352?!1:!!(tr["Bopomofo Extended"]($)||tr.Bopomofo($)||tr["CJK Compatibility Forms"]($)&&!($>=65097&&$<=65103)||tr["CJK Compatibility Ideographs"]($)||tr["CJK Compatibility"]($)||tr["CJK Radicals Supplement"]($)||tr["CJK Strokes"]($)||tr["CJK Symbols and Punctuation"]($)&&!($>=12296&&$<=12305)&&!($>=12308&&$<=12319)&&$!==12336||tr["CJK Unified Ideographs Extension A"]($)||tr["CJK Unified Ideographs"]($)||tr["Enclosed CJK Letters and Months"]($)||tr["Hangul Compatibility Jamo"]($)||tr["Hangul Jamo Extended-A"]($)||tr["Hangul Jamo Extended-B"]($)||tr["Hangul Jamo"]($)||tr["Hangul Syllables"]($)||tr.Hiragana($)||tr["Ideographic Description Characters"]($)||tr.Kanbun($)||tr["Kangxi Radicals"]($)||tr["Katakana Phonetic Extensions"]($)||tr.Katakana($)&&$!==12540||tr["Halfwidth and Fullwidth Forms"]($)&&$!==65288&&$!==65289&&$!==65293&&!($>=65306&&$<=65310)&&$!==65339&&$!==65341&&$!==65343&&!($>=65371&&$<=65503)&&$!==65507&&!($>=65512&&$<=65519)||tr["Small Form Variants"]($)&&!($>=65112&&$<=65118)&&!($>=65123&&$<=65126)||tr["Unified Canadian Aboriginal Syllabics"]($)||tr["Unified Canadian Aboriginal Syllabics Extended"]($)||tr["Vertical Forms"]($)||tr["Yijing Hexagram Symbols"]($)||tr["Yi Syllables"]($)||tr["Yi Radicals"]($))}function qr($){return!!(tr["Latin-1 Supplement"]($)&&($===167||$===169||$===174||$===177||$===188||$===189||$===190||$===215||$===247)||tr["General Punctuation"]($)&&($===8214||$===8224||$===8225||$===8240||$===8241||$===8251||$===8252||$===8258||$===8263||$===8264||$===8265||$===8273)||tr["Letterlike Symbols"]($)||tr["Number Forms"]($)||tr["Miscellaneous Technical"]($)&&($>=8960&&$<=8967||$>=8972&&$<=8991||$>=8996&&$<=9e3||$===9003||$>=9085&&$<=9114||$>=9150&&$<=9165||$===9167||$>=9169&&$<=9179||$>=9186&&$<=9215)||tr["Control Pictures"]($)&&$!==9251||tr["Optical Character Recognition"]($)||tr["Enclosed Alphanumerics"]($)||tr["Geometric Shapes"]($)||tr["Miscellaneous Symbols"]($)&&!($>=9754&&$<=9759)||tr["Miscellaneous Symbols and Arrows"]($)&&($>=11026&&$<=11055||$>=11088&&$<=11097||$>=11192&&$<=11243)||tr["CJK Symbols and Punctuation"]($)||tr.Katakana($)||tr["Private Use Area"]($)||tr["CJK Compatibility Forms"]($)||tr["Small Form Variants"]($)||tr["Halfwidth and Fullwidth Forms"]($)||$===8734||$===8756||$===8757||$>=9984&&$<=10087||$>=10102&&$<=10131||$===65532||$===65533)}function nn($){return!(In($)||qr($))}function gn($){return tr.Arabic($)||tr["Arabic Supplement"]($)||tr["Arabic Extended-A"]($)||tr["Arabic Presentation Forms-A"]($)||tr["Arabic Presentation Forms-B"]($)}function On($){return $>=1424&&$<=2303||tr["Arabic Presentation Forms-A"]($)||tr["Arabic Presentation Forms-B"]($)}function Un($,H){return!(!H&&On($)||$>=2304&&$<=3583||$>=3840&&$<=4255||tr.Khmer($))}function Tn($){for(var H=0,q=$;H<q.length;H+=1){var ue=q[H];if(On(ue.charCodeAt(0)))return!0}return!1}function Qn($,H){for(var q=0,ue=$;q<ue.length;q+=1){var _e=ue[q];if(!Un(_e.charCodeAt(0),H))return!1}return!0}var $a={unavailable:"unavailable",deferred:"deferred",loading:"loading",loaded:"loaded",error:"error"},ti=null,Fa=$a.unavailable,Qa=null,ri=function($){$&&typeof $=="string"&&$.indexOf("NetworkError")>-1&&(Fa=$a.error),ti&&ti($)};function Xi(){hi.fire(new fr("pluginStateChange",{pluginStatus:Fa,pluginURL:Qa}))}var hi=new kr,Gi=function(){return Fa},Ro=function($){return $({pluginStatus:Fa,pluginURL:Qa}),hi.on("pluginStateChange",$),$},el=function($,H,q){if(q===void 0&&(q=!1),Fa===$a.deferred||Fa===$a.loading||Fa===$a.loaded)throw new Error("setRTLTextPlugin cannot be called multiple times.");Qa=de.resolveURL($),Fa=$a.deferred,ti=H,Xi(),q||Vo()},Vo=function(){if(Fa!==$a.deferred||!Qa)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");Fa=$a.loading,Xi(),Qa&&Zt({url:Qa},function($){$?ri($):(Fa=$a.loaded,Xi())})},Ba={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return Fa===$a.loaded||Ba.applyArabicShaping!=null},isLoading:function(){return Fa===$a.loading},setState:function(H){Fa=H.pluginStatus,Qa=H.pluginURL},isParsed:function(){return Ba.applyArabicShaping!=null&&Ba.processBidirectionalText!=null&&Ba.processStyledBidirectionalText!=null},getPluginURL:function(){return Qa}},Pi=function(){!Ba.isLoading()&&!Ba.isLoaded()&&Gi()==="deferred"&&Vo()},_i=function(H,q){this.zoom=H,q?(this.now=q.now,this.fadeDuration=q.fadeDuration,this.zoomHistory=q.zoomHistory,this.transition=q.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new er,this.transition={})};_i.prototype.isSupportedScript=function(H){return Qn(H,Ba.isLoaded())},_i.prototype.crossFadingFactor=function(){return this.fadeDuration===0?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},_i.prototype.getCrossfadeParameters=function(){var H=this.zoom,q=H-Math.floor(H),ue=this.crossFadingFactor();return H>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:q+(1-q)*ue}:{fromScale:.5,toScale:1,t:1-(1-ue)*q}};var xo=function(H,q){this.property=H,this.value=q,this.expression=d1(q===void 0?H.specification.default:q,H.specification)};xo.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},xo.prototype.possiblyEvaluate=function(H,q,ue){return this.property.possiblyEvaluate(this,H,q,ue)};var Ts=function(H){this.property=H,this.value=new xo(H,void 0)};Ts.prototype.transitioned=function(H,q){return new yl(this.property,this.value,q,L({},H.transition,this.transition),H.now)},Ts.prototype.untransitioned=function(){return new yl(this.property,this.value,null,{},0)};var No=function(H){this._properties=H,this._values=Object.create(H.defaultTransitionablePropertyValues)};No.prototype.getValue=function(H){return Y(this._values[H].value.value)},No.prototype.setValue=function(H,q){this._values.hasOwnProperty(H)||(this._values[H]=new Ts(this._values[H].property)),this._values[H].value=new xo(this._values[H].property,q===null?void 0:Y(q))},No.prototype.getTransition=function(H){return Y(this._values[H].transition)},No.prototype.setTransition=function(H,q){this._values.hasOwnProperty(H)||(this._values[H]=new Ts(this._values[H].property)),this._values[H].transition=Y(q)||void 0},No.prototype.serialize=function(){for(var H={},q=0,ue=Object.keys(this._values);q<ue.length;q+=1){var _e=ue[q],Ie=this.getValue(_e);Ie!==void 0&&(H[_e]=Ie);var $e=this.getTransition(_e);$e!==void 0&&(H[_e+"-transition"]=$e)}return H},No.prototype.transitioned=function(H,q){for(var ue=new fl(this._properties),_e=0,Ie=Object.keys(this._values);_e<Ie.length;_e+=1){var $e=Ie[_e];ue._values[$e]=this._values[$e].transitioned(H,q._values[$e])}return ue},No.prototype.untransitioned=function(){for(var H=new fl(this._properties),q=0,ue=Object.keys(this._values);q<ue.length;q+=1){var _e=ue[q];H._values[_e]=this._values[_e].untransitioned()}return H};var yl=function(H,q,ue,_e,Ie){this.property=H,this.value=q,this.begin=Ie+_e.delay||0,this.end=this.begin+_e.duration||0,H.specification.transition&&(_e.delay||_e.duration)&&(this.prior=ue)};yl.prototype.possiblyEvaluate=function(H,q,ue){var _e=H.now||0,Ie=this.value.possiblyEvaluate(H,q,ue),$e=this.prior;if($e){if(_e>this.end)return this.prior=null,Ie;if(this.value.isDataDriven())return this.prior=null,Ie;if(_e<this.begin)return $e.possiblyEvaluate(H,q,ue);var it=(_e-this.begin)/(this.end-this.begin);return this.property.interpolate($e.possiblyEvaluate(H,q,ue),Ie,x(it))}else return Ie};var fl=function(H){this._properties=H,this._values=Object.create(H.defaultTransitioningPropertyValues)};fl.prototype.possiblyEvaluate=function(H,q,ue){for(var _e=new Il(this._properties),Ie=0,$e=Object.keys(this._values);Ie<$e.length;Ie+=1){var it=$e[Ie];_e._values[it]=this._values[it].possiblyEvaluate(H,q,ue)}return _e},fl.prototype.hasTransition=function(){for(var H=0,q=Object.keys(this._values);H<q.length;H+=1){var ue=q[H];if(this._values[ue].prior)return!0}return!1};var Nl=function(H){this._properties=H,this._values=Object.create(H.defaultPropertyValues)};Nl.prototype.getValue=function(H){return Y(this._values[H].value)},Nl.prototype.setValue=function(H,q){this._values[H]=new xo(this._values[H].property,q===null?void 0:Y(q))},Nl.prototype.serialize=function(){for(var H={},q=0,ue=Object.keys(this._values);q<ue.length;q+=1){var _e=ue[q],Ie=this.getValue(_e);Ie!==void 0&&(H[_e]=Ie)}return H},Nl.prototype.possiblyEvaluate=function(H,q,ue){for(var _e=new Il(this._properties),Ie=0,$e=Object.keys(this._values);Ie<$e.length;Ie+=1){var it=$e[Ie];_e._values[it]=this._values[it].possiblyEvaluate(H,q,ue)}return _e};var Ss=function(H,q,ue){this.property=H,this.value=q,this.parameters=ue};Ss.prototype.isConstant=function(){return this.value.kind==="constant"},Ss.prototype.constantOr=function(H){return this.value.kind==="constant"?this.value.value:H},Ss.prototype.evaluate=function(H,q,ue,_e){return this.property.evaluate(this.value,this.parameters,H,q,ue,_e)};var Il=function(H){this._properties=H,this._values=Object.create(H.defaultPossiblyEvaluatedValues)};Il.prototype.get=function(H){return this._values[H]};var ja=function(H){this.specification=H};ja.prototype.possiblyEvaluate=function(H,q){return H.expression.evaluate(q)},ja.prototype.interpolate=function(H,q,ue){var _e=cs[this.specification.type];return _e?_e(H,q,ue):H};var Ri=function(H,q){this.specification=H,this.overrides=q};Ri.prototype.possiblyEvaluate=function(H,q,ue,_e){return H.expression.kind==="constant"||H.expression.kind==="camera"?new Ss(this,{kind:"constant",value:H.expression.evaluate(q,null,{},ue,_e)},q):new Ss(this,H.expression,q)},Ri.prototype.interpolate=function(H,q,ue){if(H.value.kind!=="constant"||q.value.kind!=="constant")return H;if(H.value.value===void 0||q.value.value===void 0)return new Ss(this,{kind:"constant",value:void 0},H.parameters);var _e=cs[this.specification.type];return _e?new Ss(this,{kind:"constant",value:_e(H.value.value,q.value.value,ue)},H.parameters):H},Ri.prototype.evaluate=function(H,q,ue,_e,Ie,$e){return H.kind==="constant"?H.value:H.evaluate(q,ue,_e,Ie,$e)};var dl=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.possiblyEvaluate=function(ue,_e,Ie,$e){if(ue.value===void 0)return new Ss(this,{kind:"constant",value:void 0},_e);if(ue.expression.kind==="constant"){var it=ue.expression.evaluate(_e,null,{},Ie,$e),St=ue.property.specification.type==="resolvedImage",Ot=St&&typeof it!="string"?it.name:it,zt=this._calculate(Ot,Ot,Ot,_e);return new Ss(this,{kind:"constant",value:zt},_e)}else if(ue.expression.kind==="camera"){var rr=this._calculate(ue.expression.evaluate({zoom:_e.zoom-1}),ue.expression.evaluate({zoom:_e.zoom}),ue.expression.evaluate({zoom:_e.zoom+1}),_e);return new Ss(this,{kind:"constant",value:rr},_e)}else return new Ss(this,ue.expression,_e)},H.prototype.evaluate=function(ue,_e,Ie,$e,it,St){if(ue.kind==="source"){var Ot=ue.evaluate(_e,Ie,$e,it,St);return this._calculate(Ot,Ot,Ot,_e)}else return ue.kind==="composite"?this._calculate(ue.evaluate({zoom:Math.floor(_e.zoom)-1},Ie,$e),ue.evaluate({zoom:Math.floor(_e.zoom)},Ie,$e),ue.evaluate({zoom:Math.floor(_e.zoom)+1},Ie,$e),_e):ue.value},H.prototype._calculate=function(ue,_e,Ie,$e){var it=$e.zoom;return it>$e.zoomHistory.lastIntegerZoom?{from:ue,to:_e}:{from:Ie,to:_e}},H.prototype.interpolate=function(ue){return ue},H}(Ri),Yc=function(H){this.specification=H};Yc.prototype.possiblyEvaluate=function(H,q,ue,_e){if(H.value!==void 0)if(H.expression.kind==="constant"){var Ie=H.expression.evaluate(q,null,{},ue,_e);return this._calculate(Ie,Ie,Ie,q)}else return this._calculate(H.expression.evaluate(new _i(Math.floor(q.zoom-1),q)),H.expression.evaluate(new _i(Math.floor(q.zoom),q)),H.expression.evaluate(new _i(Math.floor(q.zoom+1),q)),q)},Yc.prototype._calculate=function(H,q,ue,_e){var Ie=_e.zoom;return Ie>_e.zoomHistory.lastIntegerZoom?{from:H,to:q}:{from:ue,to:q}},Yc.prototype.interpolate=function(H){return H};var Ll=function(H){this.specification=H};Ll.prototype.possiblyEvaluate=function(H,q,ue,_e){return!!H.expression.evaluate(q,null,{},ue,_e)},Ll.prototype.interpolate=function(){return!1};var Go=function(H){this.properties=H,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];for(var q in H){var ue=H[q];ue.specification.overridable&&this.overridableProperties.push(q);var _e=this.defaultPropertyValues[q]=new xo(ue,void 0),Ie=this.defaultTransitionablePropertyValues[q]=new Ts(ue);this.defaultTransitioningPropertyValues[q]=Ie.untransitioned(),this.defaultPossiblyEvaluatedValues[q]=_e.possiblyEvaluate({})}};Ye("DataDrivenProperty",Ri),Ye("DataConstantProperty",ja),Ye("CrossFadedDataDrivenProperty",dl),Ye("CrossFadedProperty",Yc),Ye("ColorRampProperty",Ll);var _l="-transition",hl=function($){function H(q,ue){if($.call(this),this.id=q.id,this.type=q.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},q.type!=="custom"&&(q=q,this.metadata=q.metadata,this.minzoom=q.minzoom,this.maxzoom=q.maxzoom,q.type!=="background"&&(this.source=q.source,this.sourceLayer=q["source-layer"],this.filter=q.filter),ue.layout&&(this._unevaluatedLayout=new Nl(ue.layout)),ue.paint)){this._transitionablePaint=new No(ue.paint);for(var _e in q.paint)this.setPaintProperty(_e,q.paint[_e],{validate:!1});for(var Ie in q.layout)this.setLayoutProperty(Ie,q.layout[Ie],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new Il(ue.paint)}}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},H.prototype.getLayoutProperty=function(ue){return ue==="visibility"?this.visibility:this._unevaluatedLayout.getValue(ue)},H.prototype.setLayoutProperty=function(ue,_e,Ie){if(Ie===void 0&&(Ie={}),_e!=null){var $e="layers."+this.id+".layout."+ue;if(this._validate(Ii,$e,ue,_e,Ie))return}if(ue==="visibility"){this.visibility=_e;return}this._unevaluatedLayout.setValue(ue,_e)},H.prototype.getPaintProperty=function(ue){return O(ue,_l)?this._transitionablePaint.getTransition(ue.slice(0,-_l.length)):this._transitionablePaint.getValue(ue)},H.prototype.setPaintProperty=function(ue,_e,Ie){if(Ie===void 0&&(Ie={}),_e!=null){var $e="layers."+this.id+".paint."+ue;if(this._validate(Di,$e,ue,_e,Ie))return!1}if(O(ue,_l))return this._transitionablePaint.setTransition(ue.slice(0,-_l.length),_e||void 0),!1;var it=this._transitionablePaint._values[ue],St=it.property.specification["property-type"]==="cross-faded-data-driven",Ot=it.value.isDataDriven(),zt=it.value;this._transitionablePaint.setValue(ue,_e),this._handleSpecialPaintPropertyUpdate(ue);var rr=this._transitionablePaint._values[ue].value,vr=rr.isDataDriven();return vr||Ot||St||this._handleOverridablePaintPropertyUpdate(ue,zt,rr)},H.prototype._handleSpecialPaintPropertyUpdate=function(ue){},H.prototype._handleOverridablePaintPropertyUpdate=function(ue,_e,Ie){return!1},H.prototype.isHidden=function(ue){return this.minzoom&&ue<this.minzoom||this.maxzoom&&ue>=this.maxzoom?!0:this.visibility==="none"},H.prototype.updateTransitions=function(ue){this._transitioningPaint=this._transitionablePaint.transitioned(ue,this._transitioningPaint)},H.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},H.prototype.recalculate=function(ue,_e){ue.getCrossfadeParameters&&(this._crossfadeParameters=ue.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(ue,void 0,_e)),this.paint=this._transitioningPaint.possiblyEvaluate(ue,void 0,_e)},H.prototype.serialize=function(){var ue={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(ue.layout=ue.layout||{},ue.layout.visibility=this.visibility),B(ue,function(_e,Ie){return _e!==void 0&&!(Ie==="layout"&&!Object.keys(_e).length)&&!(Ie==="paint"&&!Object.keys(_e).length)})},H.prototype._validate=function(ue,_e,Ie,$e,it){return it===void 0&&(it={}),it&&it.validate===!1?!1:Bi(this,ue.call(fa,{key:_e,layerType:this.type,objectKey:Ie,value:$e,styleSpec:zr,style:{glyphs:!0,sprite:!0}}))},H.prototype.is3D=function(){return!1},H.prototype.isTileClipped=function(){return!1},H.prototype.hasOffscreenPass=function(){return!1},H.prototype.resize=function(){},H.prototype.isStateDependent=function(){for(var ue in this.paint._values){var _e=this.paint.get(ue);if(!(!(_e instanceof Ss)||!Kd(_e.property.specification))&&(_e.value.kind==="source"||_e.value.kind==="composite")&&_e.value.isStateDependent)return!0}return!1},H}(kr),hd={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},pd=function(H,q){this._structArray=H,this._pos1=q*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},Vs=128,yp=5,wo=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};wo.serialize=function(H,q){return H._trim(),q&&(H.isTransferred=!0,q.push(H.arrayBuffer)),{length:H.length,arrayBuffer:H.arrayBuffer}},wo.deserialize=function(H){var q=Object.create(this.prototype);return q.arrayBuffer=H.arrayBuffer,q.length=H.length,q.capacity=H.arrayBuffer.byteLength/q.bytesPerElement,q._refreshViews(),q},wo.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},wo.prototype.clear=function(){this.length=0},wo.prototype.resize=function(H){this.reserve(H),this.length=H},wo.prototype.reserve=function(H){if(H>this.capacity){this.capacity=Math.max(H,Math.floor(this.capacity*yp),Vs),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var q=this.uint8;this._refreshViews(),q&&this.uint8.set(q)}},wo.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};function Gs($,H){H===void 0&&(H=1);var q=0,ue=0,_e=$.map(function($e){var it=Wc($e.type),St=q=dh(q,Math.max(H,it)),Ot=$e.components||1;return ue=Math.max(ue,it),q+=it*Ot,{name:$e.name,type:$e.type,components:Ot,offset:St}}),Ie=dh(q,Math.max(ue,H));return{members:_e,size:Ie,alignment:H}}function Wc($){return hd[$].BYTES_PER_ELEMENT}function dh($,H){return Math.ceil($/H)*H}var fv=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e){var Ie=this.length;return this.resize(Ie+1),this.emplace(Ie,ue,_e)},H.prototype.emplace=function(ue,_e,Ie){var $e=ue*2;return this.int16[$e+0]=_e,this.int16[$e+1]=Ie,ue},H}(wo);fv.prototype.bytesPerElement=4,Ye("StructArrayLayout2i4",fv);var m4=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e,Ie,$e){var it=this.length;return this.resize(it+1),this.emplace(it,ue,_e,Ie,$e)},H.prototype.emplace=function(ue,_e,Ie,$e,it){var St=ue*4;return this.int16[St+0]=_e,this.int16[St+1]=Ie,this.int16[St+2]=$e,this.int16[St+3]=it,ue},H}(wo);m4.prototype.bytesPerElement=8,Ye("StructArrayLayout4i8",m4);var fh=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e,Ie,$e,it,St){var Ot=this.length;return this.resize(Ot+1),this.emplace(Ot,ue,_e,Ie,$e,it,St)},H.prototype.emplace=function(ue,_e,Ie,$e,it,St,Ot){var zt=ue*6;return this.int16[zt+0]=_e,this.int16[zt+1]=Ie,this.int16[zt+2]=$e,this.int16[zt+3]=it,this.int16[zt+4]=St,this.int16[zt+5]=Ot,ue},H}(wo);fh.prototype.bytesPerElement=12,Ye("StructArrayLayout2i4i12",fh);var hh=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e,Ie,$e,it,St){var Ot=this.length;return this.resize(Ot+1),this.emplace(Ot,ue,_e,Ie,$e,it,St)},H.prototype.emplace=function(ue,_e,Ie,$e,it,St,Ot){var zt=ue*4,rr=ue*8;return this.int16[zt+0]=_e,this.int16[zt+1]=Ie,this.uint8[rr+4]=$e,this.uint8[rr+5]=it,this.uint8[rr+6]=St,this.uint8[rr+7]=Ot,ue},H}(wo);hh.prototype.bytesPerElement=8,Ye("StructArrayLayout2i4ub8",hh);var hv=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e){var Ie=this.length;return this.resize(Ie+1),this.emplace(Ie,ue,_e)},H.prototype.emplace=function(ue,_e,Ie){var $e=ue*2;return this.float32[$e+0]=_e,this.float32[$e+1]=Ie,ue},H}(wo);hv.prototype.bytesPerElement=8,Ye("StructArrayLayout2f8",hv);var Tu=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e,Ie,$e,it,St,Ot,zt,rr,vr){var dr=this.length;return this.resize(dr+1),this.emplace(dr,ue,_e,Ie,$e,it,St,Ot,zt,rr,vr)},H.prototype.emplace=function(ue,_e,Ie,$e,it,St,Ot,zt,rr,vr,dr){var Or=ue*10;return this.uint16[Or+0]=_e,this.uint16[Or+1]=Ie,this.uint16[Or+2]=$e,this.uint16[Or+3]=it,this.uint16[Or+4]=St,this.uint16[Or+5]=Ot,this.uint16[Or+6]=zt,this.uint16[Or+7]=rr,this.uint16[Or+8]=vr,this.uint16[Or+9]=dr,ue},H}(wo);Tu.prototype.bytesPerElement=20,Ye("StructArrayLayout10ui20",Tu);var h1=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e,Ie,$e,it,St,Ot,zt,rr,vr,dr,Or){var on=this.length;return this.resize(on+1),this.emplace(on,ue,_e,Ie,$e,it,St,Ot,zt,rr,vr,dr,Or)},H.prototype.emplace=function(ue,_e,Ie,$e,it,St,Ot,zt,rr,vr,dr,Or,on){var Pn=ue*12;return this.int16[Pn+0]=_e,this.int16[Pn+1]=Ie,this.int16[Pn+2]=$e,this.int16[Pn+3]=it,this.uint16[Pn+4]=St,this.uint16[Pn+5]=Ot,this.uint16[Pn+6]=zt,this.uint16[Pn+7]=rr,this.int16[Pn+8]=vr,this.int16[Pn+9]=dr,this.int16[Pn+10]=Or,this.int16[Pn+11]=on,ue},H}(wo);h1.prototype.bytesPerElement=24,Ye("StructArrayLayout4i4ui4i24",h1);var s_=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e,Ie){var $e=this.length;return this.resize($e+1),this.emplace($e,ue,_e,Ie)},H.prototype.emplace=function(ue,_e,Ie,$e){var it=ue*3;return this.float32[it+0]=_e,this.float32[it+1]=Ie,this.float32[it+2]=$e,ue},H}(wo);s_.prototype.bytesPerElement=12,Ye("StructArrayLayout3f12",s_);var p1=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue){var _e=this.length;return this.resize(_e+1),this.emplace(_e,ue)},H.prototype.emplace=function(ue,_e){var Ie=ue*1;return this.uint32[Ie+0]=_e,ue},H}(wo);p1.prototype.bytesPerElement=4,Ye("StructArrayLayout1ul4",p1);var m0=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e,Ie,$e,it,St,Ot,zt,rr){var vr=this.length;return this.resize(vr+1),this.emplace(vr,ue,_e,Ie,$e,it,St,Ot,zt,rr)},H.prototype.emplace=function(ue,_e,Ie,$e,it,St,Ot,zt,rr,vr){var dr=ue*10,Or=ue*5;return this.int16[dr+0]=_e,this.int16[dr+1]=Ie,this.int16[dr+2]=$e,this.int16[dr+3]=it,this.int16[dr+4]=St,this.int16[dr+5]=Ot,this.uint32[Or+3]=zt,this.uint16[dr+8]=rr,this.uint16[dr+9]=vr,ue},H}(wo);m0.prototype.bytesPerElement=20,Ye("StructArrayLayout6i1ul2ui20",m0);var l_=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e,Ie,$e,it,St){var Ot=this.length;return this.resize(Ot+1),this.emplace(Ot,ue,_e,Ie,$e,it,St)},H.prototype.emplace=function(ue,_e,Ie,$e,it,St,Ot){var zt=ue*6;return this.int16[zt+0]=_e,this.int16[zt+1]=Ie,this.int16[zt+2]=$e,this.int16[zt+3]=it,this.int16[zt+4]=St,this.int16[zt+5]=Ot,ue},H}(wo);l_.prototype.bytesPerElement=12,Ye("StructArrayLayout2i2i2i12",l_);var _p=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e,Ie,$e,it){var St=this.length;return this.resize(St+1),this.emplace(St,ue,_e,Ie,$e,it)},H.prototype.emplace=function(ue,_e,Ie,$e,it,St){var Ot=ue*4,zt=ue*8;return this.float32[Ot+0]=_e,this.float32[Ot+1]=Ie,this.float32[Ot+2]=$e,this.int16[zt+6]=it,this.int16[zt+7]=St,ue},H}(wo);_p.prototype.bytesPerElement=16,Ye("StructArrayLayout2f1f2i16",_p);var Gu=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e,Ie,$e){var it=this.length;return this.resize(it+1),this.emplace(it,ue,_e,Ie,$e)},H.prototype.emplace=function(ue,_e,Ie,$e,it){var St=ue*12,Ot=ue*3;return this.uint8[St+0]=_e,this.uint8[St+1]=Ie,this.float32[Ot+1]=$e,this.float32[Ot+2]=it,ue},H}(wo);Gu.prototype.bytesPerElement=12,Ye("StructArrayLayout2ub2f12",Gu);var Rf=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e,Ie){var $e=this.length;return this.resize($e+1),this.emplace($e,ue,_e,Ie)},H.prototype.emplace=function(ue,_e,Ie,$e){var it=ue*3;return this.uint16[it+0]=_e,this.uint16[it+1]=Ie,this.uint16[it+2]=$e,ue},H}(wo);Rf.prototype.bytesPerElement=6,Ye("StructArrayLayout3ui6",Rf);var Dm=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e,Ie,$e,it,St,Ot,zt,rr,vr,dr,Or,on,Pn,Mn,ca,Wn){var sa=this.length;return this.resize(sa+1),this.emplace(sa,ue,_e,Ie,$e,it,St,Ot,zt,rr,vr,dr,Or,on,Pn,Mn,ca,Wn)},H.prototype.emplace=function(ue,_e,Ie,$e,it,St,Ot,zt,rr,vr,dr,Or,on,Pn,Mn,ca,Wn,sa){var va=ue*24,Ma=ue*12,Ga=ue*48;return this.int16[va+0]=_e,this.int16[va+1]=Ie,this.uint16[va+2]=$e,this.uint16[va+3]=it,this.uint32[Ma+2]=St,this.uint32[Ma+3]=Ot,this.uint32[Ma+4]=zt,this.uint16[va+10]=rr,this.uint16[va+11]=vr,this.uint16[va+12]=dr,this.float32[Ma+7]=Or,this.float32[Ma+8]=on,this.uint8[Ga+36]=Pn,this.uint8[Ga+37]=Mn,this.uint8[Ga+38]=ca,this.uint32[Ma+10]=Wn,this.int16[va+22]=sa,ue},H}(wo);Dm.prototype.bytesPerElement=48,Ye("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Dm);var pv=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e,Ie,$e,it,St,Ot,zt,rr,vr,dr,Or,on,Pn,Mn,ca,Wn,sa,va,Ma,Ga,Ha,wi,pi,bi,ro,Ti,Mi){var lo=this.length;return this.resize(lo+1),this.emplace(lo,ue,_e,Ie,$e,it,St,Ot,zt,rr,vr,dr,Or,on,Pn,Mn,ca,Wn,sa,va,Ma,Ga,Ha,wi,pi,bi,ro,Ti,Mi)},H.prototype.emplace=function(ue,_e,Ie,$e,it,St,Ot,zt,rr,vr,dr,Or,on,Pn,Mn,ca,Wn,sa,va,Ma,Ga,Ha,wi,pi,bi,ro,Ti,Mi,lo){var qi=ue*34,ns=ue*17;return this.int16[qi+0]=_e,this.int16[qi+1]=Ie,this.int16[qi+2]=$e,this.int16[qi+3]=it,this.int16[qi+4]=St,this.int16[qi+5]=Ot,this.int16[qi+6]=zt,this.int16[qi+7]=rr,this.uint16[qi+8]=vr,this.uint16[qi+9]=dr,this.uint16[qi+10]=Or,this.uint16[qi+11]=on,this.uint16[qi+12]=Pn,this.uint16[qi+13]=Mn,this.uint16[qi+14]=ca,this.uint16[qi+15]=Wn,this.uint16[qi+16]=sa,this.uint16[qi+17]=va,this.uint16[qi+18]=Ma,this.uint16[qi+19]=Ga,this.uint16[qi+20]=Ha,this.uint16[qi+21]=wi,this.uint16[qi+22]=pi,this.uint32[ns+12]=bi,this.float32[ns+13]=ro,this.float32[ns+14]=Ti,this.float32[ns+15]=Mi,this.float32[ns+16]=lo,ue},H}(wo);pv.prototype.bytesPerElement=68,Ye("StructArrayLayout8i15ui1ul4f68",pv);var v1=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue){var _e=this.length;return this.resize(_e+1),this.emplace(_e,ue)},H.prototype.emplace=function(ue,_e){var Ie=ue*1;return this.float32[Ie+0]=_e,ue},H}(wo);v1.prototype.bytesPerElement=4,Ye("StructArrayLayout1f4",v1);var Pm=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e,Ie){var $e=this.length;return this.resize($e+1),this.emplace($e,ue,_e,Ie)},H.prototype.emplace=function(ue,_e,Ie,$e){var it=ue*3;return this.int16[it+0]=_e,this.int16[it+1]=Ie,this.int16[it+2]=$e,ue},H}(wo);Pm.prototype.bytesPerElement=6,Ye("StructArrayLayout3i6",Pm);var m1=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e,Ie){var $e=this.length;return this.resize($e+1),this.emplace($e,ue,_e,Ie)},H.prototype.emplace=function(ue,_e,Ie,$e){var it=ue*2,St=ue*4;return this.uint32[it+0]=_e,this.uint16[St+2]=Ie,this.uint16[St+3]=$e,ue},H}(wo);m1.prototype.bytesPerElement=8,Ye("StructArrayLayout1ul2ui8",m1);var Fm=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e){var Ie=this.length;return this.resize(Ie+1),this.emplace(Ie,ue,_e)},H.prototype.emplace=function(ue,_e,Ie){var $e=ue*2;return this.uint16[$e+0]=_e,this.uint16[$e+1]=Ie,ue},H}(wo);Fm.prototype.bytesPerElement=4,Ye("StructArrayLayout2ui4",Fm);var g0=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue){var _e=this.length;return this.resize(_e+1),this.emplace(_e,ue)},H.prototype.emplace=function(ue,_e){var Ie=ue*1;return this.uint16[Ie+0]=_e,ue},H}(wo);g0.prototype.bytesPerElement=2,Ye("StructArrayLayout1ui2",g0);var g1=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},H.prototype.emplaceBack=function(ue,_e,Ie,$e){var it=this.length;return this.resize(it+1),this.emplace(it,ue,_e,Ie,$e)},H.prototype.emplace=function(ue,_e,Ie,$e,it){var St=ue*4;return this.float32[St+0]=_e,this.float32[St+1]=Ie,this.float32[St+2]=$e,this.float32[St+3]=it,ue},H}(wo);g1.prototype.bytesPerElement=16,Ye("StructArrayLayout4f16",g1);var c_=function($){function H(){$.apply(this,arguments)}$&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H;var q={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return q.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},q.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},q.x1.get=function(){return this._structArray.int16[this._pos2+2]},q.y1.get=function(){return this._structArray.int16[this._pos2+3]},q.x2.get=function(){return this._structArray.int16[this._pos2+4]},q.y2.get=function(){return this._structArray.int16[this._pos2+5]},q.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},q.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},q.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},q.anchorPoint.get=function(){return new c(this.anchorPointX,this.anchorPointY)},Object.defineProperties(H.prototype,q),H}(pd);c_.prototype.size=20;var g4=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.get=function(ue){return new c_(this,ue)},H}(m0);Ye("CollisionBoxArray",g4);var y1=function($){function H(){$.apply(this,arguments)}$&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H;var q={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return q.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},q.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},q.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},q.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},q.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},q.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},q.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},q.segment.get=function(){return this._structArray.uint16[this._pos2+10]},q.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},q.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},q.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},q.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},q.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},q.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},q.placedOrientation.set=function(ue){this._structArray.uint8[this._pos1+37]=ue},q.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},q.hidden.set=function(ue){this._structArray.uint8[this._pos1+38]=ue},q.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},q.crossTileID.set=function(ue){this._structArray.uint32[this._pos4+10]=ue},q.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(H.prototype,q),H}(pd);y1.prototype.size=48;var ph=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.get=function(ue){return new y1(this,ue)},H}(Dm);Ye("PlacedSymbolArray",ph);var vv=function($){function H(){$.apply(this,arguments)}$&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H;var q={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return q.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},q.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},q.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},q.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},q.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},q.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},q.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},q.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},q.key.get=function(){return this._structArray.uint16[this._pos2+8]},q.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},q.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},q.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},q.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},q.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},q.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},q.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},q.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},q.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},q.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},q.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},q.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},q.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},q.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},q.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},q.crossTileID.set=function(ue){this._structArray.uint32[this._pos4+12]=ue},q.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},q.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},q.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},q.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(H.prototype,q),H}(pd);vv.prototype.size=68;var y4=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.get=function(ue){return new vv(this,ue)},H}(pv);Ye("SymbolInstanceArray",y4);var i6=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.getoffsetX=function(ue){return this.float32[ue*1+0]},H}(v1);Ye("GlyphOffsetArray",i6);var Nf=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.getx=function(ue){return this.int16[ue*3+0]},H.prototype.gety=function(ue){return this.int16[ue*3+1]},H.prototype.gettileUnitDistanceFromAnchor=function(ue){return this.int16[ue*3+2]},H}(Pm);Ye("SymbolLineVertexArray",Nf);var o6=function($){function H(){$.apply(this,arguments)}$&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H;var q={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return q.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},q.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},q.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(H.prototype,q),H}(pd);o6.prototype.size=8;var s6=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.get=function(ue){return new o6(this,ue)},H}(m1);Ye("FeatureIndexArray",s6);var y0=Gs([{name:"a_pos",components:2,type:"Int16"}],4),u_=y0.members,xl=function(H){H===void 0&&(H=[]),this.segments=H};xl.prototype.prepareSegment=function(H,q,ue,_e){var Ie=this.segments[this.segments.length-1];return H>xl.MAX_VERTEX_ARRAY_LENGTH&&j("Max vertices per segment is "+xl.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+H),(!Ie||Ie.vertexLength+H>xl.MAX_VERTEX_ARRAY_LENGTH||Ie.sortKey!==_e)&&(Ie={vertexOffset:q.length,primitiveOffset:ue.length,vertexLength:0,primitiveLength:0},_e!==void 0&&(Ie.sortKey=_e),this.segments.push(Ie)),Ie},xl.prototype.get=function(){return this.segments},xl.prototype.destroy=function(){for(var H=0,q=this.segments;H<q.length;H+=1){var ue=q[H];for(var _e in ue.vaos)ue.vaos[_e].destroy()}},xl.simpleSegment=function(H,q,ue,_e){return new xl([{vertexOffset:H,primitiveOffset:q,vertexLength:ue,primitiveLength:_e,vaos:{},sortKey:0}])},xl.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,Ye("SegmentVector",xl);function ge($,H){return $=w(Math.floor($),0,255),H=w(Math.floor(H),0,255),256*$+H}var ne=Gs([{name:"a_pattern_from",components:4,type:"Uint16"},{name:"a_pattern_to",components:4,type:"Uint16"},{name:"a_pixel_ratio_from",components:1,type:"Uint16"},{name:"a_pixel_ratio_to",components:1,type:"Uint16"}]),ye=S(function($){function H(q,ue){var _e,Ie,$e,it,St,Ot,zt,rr;for(_e=q.length&3,Ie=q.length-_e,$e=ue,St=3432918353,Ot=461845907,rr=0;rr<Ie;)zt=q.charCodeAt(rr)&255|(q.charCodeAt(++rr)&255)<<8|(q.charCodeAt(++rr)&255)<<16|(q.charCodeAt(++rr)&255)<<24,++rr,zt=(zt&65535)*St+(((zt>>>16)*St&65535)<<16)&4294967295,zt=zt<<15|zt>>>17,zt=(zt&65535)*Ot+(((zt>>>16)*Ot&65535)<<16)&4294967295,$e^=zt,$e=$e<<13|$e>>>19,it=($e&65535)*5+((($e>>>16)*5&65535)<<16)&4294967295,$e=(it&65535)+27492+(((it>>>16)+58964&65535)<<16);switch(zt=0,_e){case 3:zt^=(q.charCodeAt(rr+2)&255)<<16;case 2:zt^=(q.charCodeAt(rr+1)&255)<<8;case 1:zt^=q.charCodeAt(rr)&255,zt=(zt&65535)*St+(((zt>>>16)*St&65535)<<16)&4294967295,zt=zt<<15|zt>>>17,zt=(zt&65535)*Ot+(((zt>>>16)*Ot&65535)<<16)&4294967295,$e^=zt}return $e^=q.length,$e^=$e>>>16,$e=($e&65535)*2246822507+((($e>>>16)*2246822507&65535)<<16)&4294967295,$e^=$e>>>13,$e=($e&65535)*3266489909+((($e>>>16)*3266489909&65535)<<16)&4294967295,$e^=$e>>>16,$e>>>0}$.exports=H}),se=S(function($){function H(q,ue){for(var _e=q.length,Ie=ue^_e,$e=0,it;_e>=4;)it=q.charCodeAt($e)&255|(q.charCodeAt(++$e)&255)<<8|(q.charCodeAt(++$e)&255)<<16|(q.charCodeAt(++$e)&255)<<24,it=(it&65535)*1540483477+(((it>>>16)*1540483477&65535)<<16),it^=it>>>24,it=(it&65535)*1540483477+(((it>>>16)*1540483477&65535)<<16),Ie=(Ie&65535)*1540483477+(((Ie>>>16)*1540483477&65535)<<16)^it,_e-=4,++$e;switch(_e){case 3:Ie^=(q.charCodeAt($e+2)&255)<<16;case 2:Ie^=(q.charCodeAt($e+1)&255)<<8;case 1:Ie^=q.charCodeAt($e)&255,Ie=(Ie&65535)*1540483477+(((Ie>>>16)*1540483477&65535)<<16)}return Ie^=Ie>>>13,Ie=(Ie&65535)*1540483477+(((Ie>>>16)*1540483477&65535)<<16),Ie^=Ie>>>15,Ie>>>0}$.exports=H}),xe=ye,Ge=ye,nt=se;xe.murmur3=Ge,xe.murmur2=nt;var yt=function(){this.ids=[],this.positions=[],this.indexed=!1};yt.prototype.add=function(H,q,ue,_e){this.ids.push(Jt(H)),this.positions.push(q,ue,_e)},yt.prototype.getPositions=function(H){for(var q=Jt(H),ue=0,_e=this.ids.length-1;ue<_e;){var Ie=ue+_e>>1;this.ids[Ie]>=q?_e=Ie:ue=Ie+1}for(var $e=[];this.ids[ue]===q;){var it=this.positions[3*ue],St=this.positions[3*ue+1],Ot=this.positions[3*ue+2];$e.push({index:it,start:St,end:Ot}),ue++}return $e},yt.serialize=function(H,q){var ue=new Float64Array(H.ids),_e=new Uint32Array(H.positions);return lr(ue,_e,0,ue.length-1),q&&q.push(ue.buffer,_e.buffer),{ids:ue,positions:_e}},yt.deserialize=function(H){var q=new yt;return q.ids=H.ids,q.positions=H.positions,q.indexed=!0,q};var Ft=Math.pow(2,53)-1;function Jt($){var H=+$;return!isNaN(H)&&H<=Ft?H:xe(String($))}function lr($,H,q,ue){for(;q<ue;){for(var _e=$[q+ue>>1],Ie=q-1,$e=ue+1;;){do Ie++;while($[Ie]<_e);do $e--;while($[$e]>_e);if(Ie>=$e)break;Er($,Ie,$e),Er(H,3*Ie,3*$e),Er(H,3*Ie+1,3*$e+1),Er(H,3*Ie+2,3*$e+2)}$e-q<ue-$e?(lr($,H,q,$e),q=$e+1):(lr($,H,$e+1,ue),ue=$e)}}function Er($,H,q){var ue=$[H];$[H]=$[q],$[q]=ue}Ye("FeaturePositionMap",yt);var _r=function(H,q){this.gl=H.gl,this.location=q},Qr=function($){function H(q,ue){$.call(this,q,ue),this.current=0}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.set=function(ue){this.current!==ue&&(this.current=ue,this.gl.uniform1i(this.location,ue))},H}(_r),pn=function($){function H(q,ue){$.call(this,q,ue),this.current=0}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.set=function(ue){this.current!==ue&&(this.current=ue,this.gl.uniform1f(this.location,ue))},H}(_r),hn=function($){function H(q,ue){$.call(this,q,ue),this.current=[0,0]}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.set=function(ue){(ue[0]!==this.current[0]||ue[1]!==this.current[1])&&(this.current=ue,this.gl.uniform2f(this.location,ue[0],ue[1]))},H}(_r),dn=function($){function H(q,ue){$.call(this,q,ue),this.current=[0,0,0]}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.set=function(ue){(ue[0]!==this.current[0]||ue[1]!==this.current[1]||ue[2]!==this.current[2])&&(this.current=ue,this.gl.uniform3f(this.location,ue[0],ue[1],ue[2]))},H}(_r),_n=function($){function H(q,ue){$.call(this,q,ue),this.current=[0,0,0,0]}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.set=function(ue){(ue[0]!==this.current[0]||ue[1]!==this.current[1]||ue[2]!==this.current[2]||ue[3]!==this.current[3])&&(this.current=ue,this.gl.uniform4f(this.location,ue[0],ue[1],ue[2],ue[3]))},H}(_r),Fn=function($){function H(q,ue){$.call(this,q,ue),this.current=Ao.transparent}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.set=function(ue){(ue.r!==this.current.r||ue.g!==this.current.g||ue.b!==this.current.b||ue.a!==this.current.a)&&(this.current=ue,this.gl.uniform4f(this.location,ue.r,ue.g,ue.b,ue.a))},H}(_r),la=new Float32Array(16),ha=function($){function H(q,ue){$.call(this,q,ue),this.current=la}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.set=function(ue){if(ue[12]!==this.current[12]||ue[0]!==this.current[0]){this.current=ue,this.gl.uniformMatrix4fv(this.location,!1,ue);return}for(var _e=1;_e<16;_e++)if(ue[_e]!==this.current[_e]){this.current=ue,this.gl.uniformMatrix4fv(this.location,!1,ue);break}},H}(_r);function Ca($){return[ge(255*$.r,255*$.g),ge(255*$.b,255*$.a)]}var Ia=function(H,q,ue){this.value=H,this.uniformNames=q.map(function(_e){return"u_"+_e}),this.type=ue};Ia.prototype.setUniform=function(H,q,ue){H.set(ue.constantOr(this.value))},Ia.prototype.getBinding=function(H,q,ue){return this.type==="color"?new Fn(H,q):new pn(H,q)};var Ta=function(H,q){this.uniformNames=q.map(function(ue){return"u_"+ue}),this.patternFrom=null,this.patternTo=null,this.pixelRatioFrom=1,this.pixelRatioTo=1};Ta.prototype.setConstantPatternPositions=function(H,q){this.pixelRatioFrom=q.pixelRatio,this.pixelRatioTo=H.pixelRatio,this.patternFrom=q.tlbr,this.patternTo=H.tlbr},Ta.prototype.setUniform=function(H,q,ue,_e){var Ie=_e==="u_pattern_to"?this.patternTo:_e==="u_pattern_from"?this.patternFrom:_e==="u_pixel_ratio_to"?this.pixelRatioTo:_e==="u_pixel_ratio_from"?this.pixelRatioFrom:null;Ie&&H.set(Ie)},Ta.prototype.getBinding=function(H,q,ue){return ue.substr(0,9)==="u_pattern"?new _n(H,q):new pn(H,q)};var Oa=function(H,q,ue,_e){this.expression=H,this.type=ue,this.maxValue=0,this.paintVertexAttributes=q.map(function(Ie){return{name:"a_"+Ie,type:"Float32",components:ue==="color"?2:1,offset:0}}),this.paintVertexArray=new _e};Oa.prototype.populatePaintArray=function(H,q,ue,_e,Ie){var $e=this.paintVertexArray.length,it=this.expression.evaluate(new _i(0),q,{},_e,[],Ie);this.paintVertexArray.resize(H),this._setPaintValue($e,H,it)},Oa.prototype.updatePaintArray=function(H,q,ue,_e){var Ie=this.expression.evaluate({zoom:0},ue,_e);this._setPaintValue(H,q,Ie)},Oa.prototype._setPaintValue=function(H,q,ue){if(this.type==="color")for(var _e=Ca(ue),Ie=H;Ie<q;Ie++)this.paintVertexArray.emplace(Ie,_e[0],_e[1]);else{for(var $e=H;$e<q;$e++)this.paintVertexArray.emplace($e,ue);this.maxValue=Math.max(this.maxValue,Math.abs(ue))}},Oa.prototype.upload=function(H){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=H.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},Oa.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()};var Va=function(H,q,ue,_e,Ie,$e){this.expression=H,this.uniformNames=q.map(function(it){return"u_"+it+"_t"}),this.type=ue,this.useIntegerZoom=_e,this.zoom=Ie,this.maxValue=0,this.paintVertexAttributes=q.map(function(it){return{name:"a_"+it,type:"Float32",components:ue==="color"?4:2,offset:0}}),this.paintVertexArray=new $e};Va.prototype.populatePaintArray=function(H,q,ue,_e,Ie){var $e=this.expression.evaluate(new _i(this.zoom),q,{},_e,[],Ie),it=this.expression.evaluate(new _i(this.zoom+1),q,{},_e,[],Ie),St=this.paintVertexArray.length;this.paintVertexArray.resize(H),this._setPaintValue(St,H,$e,it)},Va.prototype.updatePaintArray=function(H,q,ue,_e){var Ie=this.expression.evaluate({zoom:this.zoom},ue,_e),$e=this.expression.evaluate({zoom:this.zoom+1},ue,_e);this._setPaintValue(H,q,Ie,$e)},Va.prototype._setPaintValue=function(H,q,ue,_e){if(this.type==="color")for(var Ie=Ca(ue),$e=Ca(_e),it=H;it<q;it++)this.paintVertexArray.emplace(it,Ie[0],Ie[1],$e[0],$e[1]);else{for(var St=H;St<q;St++)this.paintVertexArray.emplace(St,ue,_e);this.maxValue=Math.max(this.maxValue,Math.abs(ue),Math.abs(_e))}},Va.prototype.upload=function(H){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=H.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},Va.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()},Va.prototype.setUniform=function(H,q){var ue=this.useIntegerZoom?Math.floor(q.zoom):q.zoom,_e=w(this.expression.interpolationFactor(ue,this.zoom,this.zoom+1),0,1);H.set(_e)},Va.prototype.getBinding=function(H,q,ue){return new pn(H,q)};var Ka=function(H,q,ue,_e,Ie,$e){this.expression=H,this.type=q,this.useIntegerZoom=ue,this.zoom=_e,this.layerId=$e,this.zoomInPaintVertexArray=new Ie,this.zoomOutPaintVertexArray=new Ie};Ka.prototype.populatePaintArray=function(H,q,ue){var _e=this.zoomInPaintVertexArray.length;this.zoomInPaintVertexArray.resize(H),this.zoomOutPaintVertexArray.resize(H),this._setPaintValues(_e,H,q.patterns&&q.patterns[this.layerId],ue)},Ka.prototype.updatePaintArray=function(H,q,ue,_e,Ie){this._setPaintValues(H,q,ue.patterns&&ue.patterns[this.layerId],Ie)},Ka.prototype._setPaintValues=function(H,q,ue,_e){if(!(!_e||!ue)){var Ie=ue.min,$e=ue.mid,it=ue.max,St=_e[Ie],Ot=_e[$e],zt=_e[it];if(!(!St||!Ot||!zt))for(var rr=H;rr<q;rr++)this.zoomInPaintVertexArray.emplace(rr,Ot.tl[0],Ot.tl[1],Ot.br[0],Ot.br[1],St.tl[0],St.tl[1],St.br[0],St.br[1],Ot.pixelRatio,St.pixelRatio),this.zoomOutPaintVertexArray.emplace(rr,Ot.tl[0],Ot.tl[1],Ot.br[0],Ot.br[1],zt.tl[0],zt.tl[1],zt.br[0],zt.br[1],Ot.pixelRatio,zt.pixelRatio)}},Ka.prototype.upload=function(H){this.zoomInPaintVertexArray&&this.zoomInPaintVertexArray.arrayBuffer&&this.zoomOutPaintVertexArray&&this.zoomOutPaintVertexArray.arrayBuffer&&(this.zoomInPaintVertexBuffer=H.createVertexBuffer(this.zoomInPaintVertexArray,ne.members,this.expression.isStateDependent),this.zoomOutPaintVertexBuffer=H.createVertexBuffer(this.zoomOutPaintVertexArray,ne.members,this.expression.isStateDependent))},Ka.prototype.destroy=function(){this.zoomOutPaintVertexBuffer&&this.zoomOutPaintVertexBuffer.destroy(),this.zoomInPaintVertexBuffer&&this.zoomInPaintVertexBuffer.destroy()};var vi=function(H,q,ue){this.binders={},this._buffers=[];var _e=[];for(var Ie in H.paint._values)if(ue(Ie)){var $e=H.paint.get(Ie);if(!(!($e instanceof Ss)||!Kd($e.property.specification))){var it=ji(Ie,H.type),St=$e.value,Ot=$e.property.specification.type,zt=$e.property.useIntegerZoom,rr=$e.property.specification["property-type"],vr=rr==="cross-faded"||rr==="cross-faded-data-driven";if(St.kind==="constant")this.binders[Ie]=vr?new Ta(St.value,it):new Ia(St.value,it,Ot),_e.push("/u_"+Ie);else if(St.kind==="source"||vr){var dr=po(Ie,Ot,"source");this.binders[Ie]=vr?new Ka(St,Ot,zt,q,dr,H.id):new Oa(St,it,Ot,dr),_e.push("/a_"+Ie)}else{var Or=po(Ie,Ot,"composite");this.binders[Ie]=new Va(St,it,Ot,zt,q,Or),_e.push("/z_"+Ie)}}}this.cacheKey=_e.sort().join("")};vi.prototype.getMaxValue=function(H){var q=this.binders[H];return q instanceof Oa||q instanceof Va?q.maxValue:0},vi.prototype.populatePaintArrays=function(H,q,ue,_e,Ie){for(var $e in this.binders){var it=this.binders[$e];(it instanceof Oa||it instanceof Va||it instanceof Ka)&&it.populatePaintArray(H,q,ue,_e,Ie)}},vi.prototype.setConstantPatternPositions=function(H,q){for(var ue in this.binders){var _e=this.binders[ue];_e instanceof Ta&&_e.setConstantPatternPositions(H,q)}},vi.prototype.updatePaintArrays=function(H,q,ue,_e,Ie){var $e=!1;for(var it in H)for(var St=q.getPositions(it),Ot=0,zt=St;Ot<zt.length;Ot+=1){var rr=zt[Ot],vr=ue.feature(rr.index);for(var dr in this.binders){var Or=this.binders[dr];if((Or instanceof Oa||Or instanceof Va||Or instanceof Ka)&&Or.expression.isStateDependent===!0){var on=_e.paint.get(dr);Or.expression=on.value,Or.updatePaintArray(rr.start,rr.end,vr,H[it],Ie),$e=!0}}}return $e},vi.prototype.defines=function(){var H=[];for(var q in this.binders){var ue=this.binders[q];(ue instanceof Ia||ue instanceof Ta)&&H.push.apply(H,ue.uniformNames.map(function(_e){return"#define HAS_UNIFORM_"+_e}))}return H},vi.prototype.getBinderAttributes=function(){var H=[];for(var q in this.binders){var ue=this.binders[q];if(ue instanceof Oa||ue instanceof Va)for(var _e=0;_e<ue.paintVertexAttributes.length;_e++)H.push(ue.paintVertexAttributes[_e].name);else if(ue instanceof Ka)for(var Ie=0;Ie<ne.members.length;Ie++)H.push(ne.members[Ie].name)}return H},vi.prototype.getBinderUniforms=function(){var H=[];for(var q in this.binders){var ue=this.binders[q];if(ue instanceof Ia||ue instanceof Ta||ue instanceof Va)for(var _e=0,Ie=ue.uniformNames;_e<Ie.length;_e+=1){var $e=Ie[_e];H.push($e)}}return H},vi.prototype.getPaintVertexBuffers=function(){return this._buffers},vi.prototype.getUniforms=function(H,q){var ue=[];for(var _e in this.binders){var Ie=this.binders[_e];if(Ie instanceof Ia||Ie instanceof Ta||Ie instanceof Va)for(var $e=0,it=Ie.uniformNames;$e<it.length;$e+=1){var St=it[$e];if(q[St]){var Ot=Ie.getBinding(H,q[St],St);ue.push({name:St,property:_e,binding:Ot})}}}return ue},vi.prototype.setUniforms=function(H,q,ue,_e){for(var Ie=0,$e=q;Ie<$e.length;Ie+=1){var it=$e[Ie],St=it.name,Ot=it.property,zt=it.binding;this.binders[Ot].setUniform(zt,_e,ue.get(Ot),St)}},vi.prototype.updatePaintBuffers=function(H){this._buffers=[];for(var q in this.binders){var ue=this.binders[q];if(H&&ue instanceof Ka){var _e=H.fromScale===2?ue.zoomInPaintVertexBuffer:ue.zoomOutPaintVertexBuffer;_e&&this._buffers.push(_e)}else(ue instanceof Oa||ue instanceof Va)&&ue.paintVertexBuffer&&this._buffers.push(ue.paintVertexBuffer)}},vi.prototype.upload=function(H){for(var q in this.binders){var ue=this.binders[q];(ue instanceof Oa||ue instanceof Va||ue instanceof Ka)&&ue.upload(H)}this.updatePaintBuffers()},vi.prototype.destroy=function(){for(var H in this.binders){var q=this.binders[H];(q instanceof Oa||q instanceof Va||q instanceof Ka)&&q.destroy()}};var ai=function(H,q,ue){ue===void 0&&(ue=function(){return!0}),this.programConfigurations={};for(var _e=0,Ie=H;_e<Ie.length;_e+=1){var $e=Ie[_e];this.programConfigurations[$e.id]=new vi($e,q,ue)}this.needsUpload=!1,this._featureMap=new yt,this._bufferOffset=0};ai.prototype.populatePaintArrays=function(H,q,ue,_e,Ie,$e){for(var it in this.programConfigurations)this.programConfigurations[it].populatePaintArrays(H,q,_e,Ie,$e);q.id!==void 0&&this._featureMap.add(q.id,ue,this._bufferOffset,H),this._bufferOffset=H,this.needsUpload=!0},ai.prototype.updatePaintArrays=function(H,q,ue,_e){for(var Ie=0,$e=ue;Ie<$e.length;Ie+=1){var it=$e[Ie];this.needsUpload=this.programConfigurations[it.id].updatePaintArrays(H,this._featureMap,q,it,_e)||this.needsUpload}},ai.prototype.get=function(H){return this.programConfigurations[H]},ai.prototype.upload=function(H){if(this.needsUpload){for(var q in this.programConfigurations)this.programConfigurations[q].upload(H);this.needsUpload=!1}},ai.prototype.destroy=function(){for(var H in this.programConfigurations)this.programConfigurations[H].destroy()};function ji($,H){var q={"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-extrusion-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"]};return q[$]||[$.replace(H+"-","").replace(/-/g,"_")]}function Io($){var H={"line-pattern":{source:Tu,composite:Tu},"fill-pattern":{source:Tu,composite:Tu},"fill-extrusion-pattern":{source:Tu,composite:Tu}};return H[$]}function po($,H,q){var ue={color:{source:hv,composite:g1},number:{source:v1,composite:hv}},_e=Io($);return _e&&_e[q]||ue[H][q]}Ye("ConstantBinder",Ia),Ye("CrossFadedConstantBinder",Ta),Ye("SourceExpressionBinder",Oa),Ye("CrossFadedCompositeBinder",Ka),Ye("CompositeExpressionBinder",Va),Ye("ProgramConfiguration",vi,{omit:["_buffers"]}),Ye("ProgramConfigurationSet",ai);var Si=8192,mo=15,Qi=Math.pow(2,mo-1)-1,jo=-Qi-1;function Lo($){for(var H=Si/$.extent,q=$.loadGeometry(),ue=0;ue<q.length;ue++)for(var _e=q[ue],Ie=0;Ie<_e.length;Ie++){var $e=_e[Ie],it=Math.round($e.x*H),St=Math.round($e.y*H);$e.x=w(it,jo,Qi),$e.y=w(St,jo,Qi),(it<$e.x||it>$e.x+1||St<$e.y||St>$e.y+1)&&j("Geometry exceeds allowed extent, reduce your vector tile buffer size")}return q}function Ms($,H){return{type:$.type,id:$.id,properties:$.properties,geometry:H?Lo($):[]}}function go($,H,q,ue,_e){$.emplaceBack(H*2+(ue+1)/2,q*2+(_e+1)/2)}var gs=function(H){this.zoom=H.zoom,this.overscaling=H.overscaling,this.layers=H.layers,this.layerIds=this.layers.map(function(q){return q.id}),this.index=H.index,this.hasPattern=!1,this.layoutVertexArray=new fv,this.indexArray=new Rf,this.segments=new xl,this.programConfigurations=new ai(H.layers,H.zoom),this.stateDependentLayerIds=this.layers.filter(function(q){return q.isStateDependent()}).map(function(q){return q.id})};gs.prototype.populate=function(H,q,ue){var _e=this.layers[0],Ie=[],$e=null;_e.type==="circle"&&($e=_e.layout.get("circle-sort-key"));for(var it=0,St=H;it<St.length;it+=1){var Ot=St[it],zt=Ot.feature,rr=Ot.id,vr=Ot.index,dr=Ot.sourceLayerIndex,Or=this.layers[0]._featureFilter.needGeometry,on=Ms(zt,Or);if(this.layers[0]._featureFilter.filter(new _i(this.zoom),on,ue)){var Pn=$e?$e.evaluate(on,{},ue):void 0,Mn={id:rr,properties:zt.properties,type:zt.type,sourceLayerIndex:dr,index:vr,geometry:Or?on.geometry:Lo(zt),patterns:{},sortKey:Pn};Ie.push(Mn)}}$e&&Ie.sort(function(pi,bi){return pi.sortKey-bi.sortKey});for(var ca=0,Wn=Ie;ca<Wn.length;ca+=1){var sa=Wn[ca],va=sa,Ma=va.geometry,Ga=va.index,Ha=va.sourceLayerIndex,wi=H[Ga].feature;this.addFeature(sa,Ma,Ga,ue),q.featureIndex.insert(wi,Ma,Ga,Ha,this.index)}},gs.prototype.update=function(H,q,ue){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(H,q,this.stateDependentLayers,ue)},gs.prototype.isEmpty=function(){return this.layoutVertexArray.length===0},gs.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},gs.prototype.upload=function(H){this.uploaded||(this.layoutVertexBuffer=H.createVertexBuffer(this.layoutVertexArray,u_),this.indexBuffer=H.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(H),this.uploaded=!0},gs.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},gs.prototype.addFeature=function(H,q,ue,_e){for(var Ie=0,$e=q;Ie<$e.length;Ie+=1)for(var it=$e[Ie],St=0,Ot=it;St<Ot.length;St+=1){var zt=Ot[St],rr=zt.x,vr=zt.y;if(!(rr<0||rr>=Si||vr<0||vr>=Si)){var dr=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,H.sortKey),Or=dr.vertexLength;go(this.layoutVertexArray,rr,vr,-1,-1),go(this.layoutVertexArray,rr,vr,1,-1),go(this.layoutVertexArray,rr,vr,1,1),go(this.layoutVertexArray,rr,vr,-1,1),this.indexArray.emplaceBack(Or,Or+1,Or+2),this.indexArray.emplaceBack(Or,Or+3,Or+2),dr.vertexLength+=4,dr.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,H,ue,{},_e)},Ye("CircleBucket",gs,{omit:["layers"]});function to($,H){for(var q=0;q<$.length;q++)if(ju(H,$[q]))return!0;for(var ue=0;ue<H.length;ue++)if(ju($,H[ue]))return!0;return!!Kc($,H)}function Oo($,H,q){return!!(ju($,H)||mh(H,$,q))}function tl($,H){if($.length===1)return xp(H,$[0]);for(var q=0;q<H.length;q++)for(var ue=H[q],_e=0;_e<ue.length;_e++)if(ju($,ue[_e]))return!0;for(var Ie=0;Ie<$.length;Ie++)if(xp(H,$[Ie]))return!0;for(var $e=0;$e<H.length;$e++)if(Kc($,H[$e]))return!0;return!1}function Wl($,H,q){for(var ue=0;ue<H.length;ue++){var _e=H[ue];if($.length>=3){for(var Ie=0;Ie<_e.length;Ie++)if(ju($,_e[Ie]))return!0}if(Kl($,_e,q))return!0}return!1}function Kl($,H,q){if($.length>1){if(Kc($,H))return!0;for(var ue=0;ue<H.length;ue++)if(mh(H[ue],$,q))return!0}for(var _e=0;_e<$.length;_e++)if(mh($[_e],H,q))return!0;return!1}function Kc($,H){if($.length===0||H.length===0)return!1;for(var q=0;q<$.length-1;q++)for(var ue=$[q],_e=$[q+1],Ie=0;Ie<H.length-1;Ie++){var $e=H[Ie],it=H[Ie+1];if(vh(ue,_e,$e,it))return!0}return!1}function vh($,H,q,ue){return G($,q,ue)!==G(H,q,ue)&&G($,H,q)!==G($,H,ue)}function mh($,H,q){var ue=q*q;if(H.length===1)return $.distSqr(H[0])<ue;for(var _e=1;_e<H.length;_e++){var Ie=H[_e-1],$e=H[_e];if(mv($,Ie,$e)<ue)return!0}return!1}function mv($,H,q){var ue=H.distSqr(q);if(ue===0)return $.distSqr(H);var _e=(($.x-H.x)*(q.x-H.x)+($.y-H.y)*(q.y-H.y))/ue;return _e<0?$.distSqr(H):_e>1?$.distSqr(q):$.distSqr(q.sub(H)._mult(_e)._add(H))}function xp($,H){for(var q=!1,ue,_e,Ie,$e=0;$e<$.length;$e++){ue=$[$e];for(var it=0,St=ue.length-1;it<ue.length;St=it++)_e=ue[it],Ie=ue[St],_e.y>H.y!=Ie.y>H.y&&H.x<(Ie.x-_e.x)*(H.y-_e.y)/(Ie.y-_e.y)+_e.x&&(q=!q)}return q}function ju($,H){for(var q=!1,ue=0,_e=$.length-1;ue<$.length;_e=ue++){var Ie=$[ue],$e=$[_e];Ie.y>H.y!=$e.y>H.y&&H.x<($e.x-Ie.x)*(H.y-Ie.y)/($e.y-Ie.y)+Ie.x&&(q=!q)}return q}function bp($,H,q,ue,_e){for(var Ie=0,$e=$;Ie<$e.length;Ie+=1){var it=$e[Ie];if(H<=it.x&&q<=it.y&&ue>=it.x&&_e>=it.y)return!0}var St=[new c(H,q),new c(H,_e),new c(ue,_e),new c(ue,q)];if($.length>2)for(var Ot=0,zt=St;Ot<zt.length;Ot+=1){var rr=zt[Ot];if(ju($,rr))return!0}for(var vr=0;vr<$.length-1;vr++){var dr=$[vr],Or=$[vr+1];if(vd(dr,Or,St))return!0}return!1}function vd($,H,q){var ue=q[0],_e=q[2];if($.x<ue.x&&H.x<ue.x||$.x>_e.x&&H.x>_e.x||$.y<ue.y&&H.y<ue.y||$.y>_e.y&&H.y>_e.y)return!1;var Ie=G($,H,q[0]);return Ie!==G($,H,q[1])||Ie!==G($,H,q[2])||Ie!==G($,H,q[3])}function Yu($,H,q){var ue=H.paint.get($).value;return ue.kind==="constant"?ue.value:q.programConfigurations.get(H.id).getMaxValue($)}function gh($){return Math.sqrt($[0]*$[0]+$[1]*$[1])}function _0($,H,q,ue,_e){if(!H[0]&&!H[1])return $;var Ie=c.convert(H)._mult(_e);q==="viewport"&&Ie._rotate(-ue);for(var $e=[],it=0;it<$.length;it++){var St=$[it];$e.push(St.sub(Ie))}return $e}var yh=new Go({"circle-sort-key":new Ri(zr.layout_circle["circle-sort-key"])}),d_=new Go({"circle-radius":new Ri(zr.paint_circle["circle-radius"]),"circle-color":new Ri(zr.paint_circle["circle-color"]),"circle-blur":new Ri(zr.paint_circle["circle-blur"]),"circle-opacity":new Ri(zr.paint_circle["circle-opacity"]),"circle-translate":new ja(zr.paint_circle["circle-translate"]),"circle-translate-anchor":new ja(zr.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new ja(zr.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new ja(zr.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new Ri(zr.paint_circle["circle-stroke-width"]),"circle-stroke-color":new Ri(zr.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new Ri(zr.paint_circle["circle-stroke-opacity"])}),Bm={paint:d_,layout:yh},fc=typeof Float32Array<"u"?Float32Array:Array;Math.hypot||(Math.hypot=function(){for(var $=arguments,H=0,q=arguments.length;q--;)H+=$[q]*$[q];return Math.sqrt(H)});function ny(){var $=new fc(4);return fc!=Float32Array&&($[1]=0,$[2]=0),$[0]=1,$[3]=1,$}function zm($,H,q){var ue=H[0],_e=H[1],Ie=H[2],$e=H[3],it=Math.sin(q),St=Math.cos(q);return $[0]=ue*St+Ie*it,$[1]=_e*St+$e*it,$[2]=ue*-it+Ie*St,$[3]=_e*-it+$e*St,$}function Au(){var $=new fc(9);return fc!=Float32Array&&($[1]=0,$[2]=0,$[3]=0,$[5]=0,$[6]=0,$[7]=0),$[0]=1,$[4]=1,$[8]=1,$}function Um($,H){var q=Math.sin(H),ue=Math.cos(H);return $[0]=ue,$[1]=q,$[2]=0,$[3]=-q,$[4]=ue,$[5]=0,$[6]=0,$[7]=0,$[8]=1,$}function f_(){var $=new fc(16);return fc!=Float32Array&&($[1]=0,$[2]=0,$[3]=0,$[4]=0,$[6]=0,$[7]=0,$[8]=0,$[9]=0,$[11]=0,$[12]=0,$[13]=0,$[14]=0),$[0]=1,$[5]=1,$[10]=1,$[15]=1,$}function ay($){var H=new fc(16);return H[0]=$[0],H[1]=$[1],H[2]=$[2],H[3]=$[3],H[4]=$[4],H[5]=$[5],H[6]=$[6],H[7]=$[7],H[8]=$[8],H[9]=$[9],H[10]=$[10],H[11]=$[11],H[12]=$[12],H[13]=$[13],H[14]=$[14],H[15]=$[15],H}function h_($){return $[0]=1,$[1]=0,$[2]=0,$[3]=0,$[4]=0,$[5]=1,$[6]=0,$[7]=0,$[8]=0,$[9]=0,$[10]=1,$[11]=0,$[12]=0,$[13]=0,$[14]=0,$[15]=1,$}function $m($,H){var q=H[0],ue=H[1],_e=H[2],Ie=H[3],$e=H[4],it=H[5],St=H[6],Ot=H[7],zt=H[8],rr=H[9],vr=H[10],dr=H[11],Or=H[12],on=H[13],Pn=H[14],Mn=H[15],ca=q*it-ue*$e,Wn=q*St-_e*$e,sa=q*Ot-Ie*$e,va=ue*St-_e*it,Ma=ue*Ot-Ie*it,Ga=_e*Ot-Ie*St,Ha=zt*on-rr*Or,wi=zt*Pn-vr*Or,pi=zt*Mn-dr*Or,bi=rr*Pn-vr*on,ro=rr*Mn-dr*on,Ti=vr*Mn-dr*Pn,Mi=ca*Ti-Wn*ro+sa*bi+va*pi-Ma*wi+Ga*Ha;return Mi?(Mi=1/Mi,$[0]=(it*Ti-St*ro+Ot*bi)*Mi,$[1]=(_e*ro-ue*Ti-Ie*bi)*Mi,$[2]=(on*Ga-Pn*Ma+Mn*va)*Mi,$[3]=(vr*Ma-rr*Ga-dr*va)*Mi,$[4]=(St*pi-$e*Ti-Ot*wi)*Mi,$[5]=(q*Ti-_e*pi+Ie*wi)*Mi,$[6]=(Pn*sa-Or*Ga-Mn*Wn)*Mi,$[7]=(zt*Ga-vr*sa+dr*Wn)*Mi,$[8]=($e*ro-it*pi+Ot*Ha)*Mi,$[9]=(ue*pi-q*ro-Ie*Ha)*Mi,$[10]=(Or*Ma-on*sa+Mn*ca)*Mi,$[11]=(rr*sa-zt*Ma-dr*ca)*Mi,$[12]=(it*wi-$e*bi-St*Ha)*Mi,$[13]=(q*bi-ue*wi+_e*Ha)*Mi,$[14]=(on*Wn-Or*va-Pn*ca)*Mi,$[15]=(zt*va-rr*Wn+vr*ca)*Mi,$):null}function Hm($,H,q){var ue=H[0],_e=H[1],Ie=H[2],$e=H[3],it=H[4],St=H[5],Ot=H[6],zt=H[7],rr=H[8],vr=H[9],dr=H[10],Or=H[11],on=H[12],Pn=H[13],Mn=H[14],ca=H[15],Wn=q[0],sa=q[1],va=q[2],Ma=q[3];return $[0]=Wn*ue+sa*it+va*rr+Ma*on,$[1]=Wn*_e+sa*St+va*vr+Ma*Pn,$[2]=Wn*Ie+sa*Ot+va*dr+Ma*Mn,$[3]=Wn*$e+sa*zt+va*Or+Ma*ca,Wn=q[4],sa=q[5],va=q[6],Ma=q[7],$[4]=Wn*ue+sa*it+va*rr+Ma*on,$[5]=Wn*_e+sa*St+va*vr+Ma*Pn,$[6]=Wn*Ie+sa*Ot+va*dr+Ma*Mn,$[7]=Wn*$e+sa*zt+va*Or+Ma*ca,Wn=q[8],sa=q[9],va=q[10],Ma=q[11],$[8]=Wn*ue+sa*it+va*rr+Ma*on,$[9]=Wn*_e+sa*St+va*vr+Ma*Pn,$[10]=Wn*Ie+sa*Ot+va*dr+Ma*Mn,$[11]=Wn*$e+sa*zt+va*Or+Ma*ca,Wn=q[12],sa=q[13],va=q[14],Ma=q[15],$[12]=Wn*ue+sa*it+va*rr+Ma*on,$[13]=Wn*_e+sa*St+va*vr+Ma*Pn,$[14]=Wn*Ie+sa*Ot+va*dr+Ma*Mn,$[15]=Wn*$e+sa*zt+va*Or+Ma*ca,$}function bl($,H,q){var ue=q[0],_e=q[1],Ie=q[2],$e,it,St,Ot,zt,rr,vr,dr,Or,on,Pn,Mn;return H===$?($[12]=H[0]*ue+H[4]*_e+H[8]*Ie+H[12],$[13]=H[1]*ue+H[5]*_e+H[9]*Ie+H[13],$[14]=H[2]*ue+H[6]*_e+H[10]*Ie+H[14],$[15]=H[3]*ue+H[7]*_e+H[11]*Ie+H[15]):($e=H[0],it=H[1],St=H[2],Ot=H[3],zt=H[4],rr=H[5],vr=H[6],dr=H[7],Or=H[8],on=H[9],Pn=H[10],Mn=H[11],$[0]=$e,$[1]=it,$[2]=St,$[3]=Ot,$[4]=zt,$[5]=rr,$[6]=vr,$[7]=dr,$[8]=Or,$[9]=on,$[10]=Pn,$[11]=Mn,$[12]=$e*ue+zt*_e+Or*Ie+H[12],$[13]=it*ue+rr*_e+on*Ie+H[13],$[14]=St*ue+vr*_e+Pn*Ie+H[14],$[15]=Ot*ue+dr*_e+Mn*Ie+H[15]),$}function md($,H,q){var ue=q[0],_e=q[1],Ie=q[2];return $[0]=H[0]*ue,$[1]=H[1]*ue,$[2]=H[2]*ue,$[3]=H[3]*ue,$[4]=H[4]*_e,$[5]=H[5]*_e,$[6]=H[6]*_e,$[7]=H[7]*_e,$[8]=H[8]*Ie,$[9]=H[9]*Ie,$[10]=H[10]*Ie,$[11]=H[11]*Ie,$[12]=H[12],$[13]=H[13],$[14]=H[14],$[15]=H[15],$}function gd($,H,q){var ue=Math.sin(q),_e=Math.cos(q),Ie=H[4],$e=H[5],it=H[6],St=H[7],Ot=H[8],zt=H[9],rr=H[10],vr=H[11];return H!==$&&($[0]=H[0],$[1]=H[1],$[2]=H[2],$[3]=H[3],$[12]=H[12],$[13]=H[13],$[14]=H[14],$[15]=H[15]),$[4]=Ie*_e+Ot*ue,$[5]=$e*_e+zt*ue,$[6]=it*_e+rr*ue,$[7]=St*_e+vr*ue,$[8]=Ot*_e-Ie*ue,$[9]=zt*_e-$e*ue,$[10]=rr*_e-it*ue,$[11]=vr*_e-St*ue,$}function Wu($,H,q){var ue=Math.sin(q),_e=Math.cos(q),Ie=H[0],$e=H[1],it=H[2],St=H[3],Ot=H[4],zt=H[5],rr=H[6],vr=H[7];return H!==$&&($[8]=H[8],$[9]=H[9],$[10]=H[10],$[11]=H[11],$[12]=H[12],$[13]=H[13],$[14]=H[14],$[15]=H[15]),$[0]=Ie*_e+Ot*ue,$[1]=$e*_e+zt*ue,$[2]=it*_e+rr*ue,$[3]=St*_e+vr*ue,$[4]=Ot*_e-Ie*ue,$[5]=zt*_e-$e*ue,$[6]=rr*_e-it*ue,$[7]=vr*_e-St*ue,$}function _4($,H,q,ue,_e){var Ie=1/Math.tan(H/2),$e;return $[0]=Ie/q,$[1]=0,$[2]=0,$[3]=0,$[4]=0,$[5]=Ie,$[6]=0,$[7]=0,$[8]=0,$[9]=0,$[11]=-1,$[12]=0,$[13]=0,$[15]=0,_e!=null&&_e!==1/0?($e=1/(ue-_e),$[10]=(_e+ue)*$e,$[14]=2*_e*ue*$e):($[10]=-1,$[14]=-2*ue),$}function j8($,H,q,ue,_e,Ie,$e){var it=1/(H-q),St=1/(ue-_e),Ot=1/(Ie-$e);return $[0]=-2*it,$[1]=0,$[2]=0,$[3]=0,$[4]=0,$[5]=-2*St,$[6]=0,$[7]=0,$[8]=0,$[9]=0,$[10]=2*Ot,$[11]=0,$[12]=(H+q)*it,$[13]=(_e+ue)*St,$[14]=($e+Ie)*Ot,$[15]=1,$}var Y8=Hm;function Vm(){var $=new fc(3);return fc!=Float32Array&&($[0]=0,$[1]=0,$[2]=0),$}function W8($){var H=new fc(3);return H[0]=$[0],H[1]=$[1],H[2]=$[2],H}function p_($,H,q){return $[0]=H[0]+q[0],$[1]=H[1]+q[1],$[2]=H[2]+q[2],$}function K8($,H,q){return $[0]=H[0]-q[0],$[1]=H[1]-q[1],$[2]=H[2]-q[2],$}function X8($,H,q){return $[0]=H[0]*q,$[1]=H[1]*q,$[2]=H[2]*q,$}function iy($,H){var q=H[0],ue=H[1],_e=H[2],Ie=q*q+ue*ue+_e*_e;return Ie>0&&(Ie=1/Math.sqrt(Ie)),$[0]=H[0]*Ie,$[1]=H[1]*Ie,$[2]=H[2]*Ie,$}function dEe($,H){return $[0]*H[0]+$[1]*H[1]+$[2]*H[2]}function fEe($,H,q){var ue=H[0],_e=H[1],Ie=H[2],$e=q[0],it=q[1],St=q[2];return $[0]=_e*St-Ie*it,$[1]=Ie*$e-ue*St,$[2]=ue*it-_e*$e,$}function hEe($,H,q){var ue=H[0],_e=H[1],Ie=H[2];return $[0]=ue*q[0]+_e*q[3]+Ie*q[6],$[1]=ue*q[1]+_e*q[4]+Ie*q[7],$[2]=ue*q[2]+_e*q[5]+Ie*q[8],$}var pEe=K8;(function(){var $=Vm();return function(H,q,ue,_e,Ie,$e){var it,St;for(q||(q=3),ue||(ue=0),_e?St=Math.min(_e*q+ue,H.length):St=H.length,it=ue;it<St;it+=q)$[0]=H[it],$[1]=H[it+1],$[2]=H[it+2],Ie($,$,$e),H[it]=$[0],H[it+1]=$[1],H[it+2]=$[2];return H}})();function vEe(){var $=new fc(4);return fc!=Float32Array&&($[0]=0,$[1]=0,$[2]=0,$[3]=0),$}function mEe($,H,q){return $[0]=H[0]*q,$[1]=H[1]*q,$[2]=H[2]*q,$[3]=H[3]*q,$}function gEe($,H){return $[0]*H[0]+$[1]*H[1]+$[2]*H[2]+$[3]*H[3]}function l6($,H,q){var ue=H[0],_e=H[1],Ie=H[2],$e=H[3];return $[0]=q[0]*ue+q[4]*_e+q[8]*Ie+q[12]*$e,$[1]=q[1]*ue+q[5]*_e+q[9]*Ie+q[13]*$e,$[2]=q[2]*ue+q[6]*_e+q[10]*Ie+q[14]*$e,$[3]=q[3]*ue+q[7]*_e+q[11]*Ie+q[15]*$e,$}(function(){var $=vEe();return function(H,q,ue,_e,Ie,$e){var it,St;for(q||(q=4),ue||(ue=0),_e?St=Math.min(_e*q+ue,H.length):St=H.length,it=ue;it<St;it+=q)$[0]=H[it],$[1]=H[it+1],$[2]=H[it+2],$[3]=H[it+3],Ie($,$,$e),H[it]=$[0],H[it+1]=$[1],H[it+2]=$[2],H[it+3]=$[3];return H}})();function yEe(){var $=new fc(2);return fc!=Float32Array&&($[0]=0,$[1]=0),$}function _Ee($){var H=$[0],q=$[1];return H*H+q*q}var xEe=_Ee;(function(){var $=yEe();return function(H,q,ue,_e,Ie,$e){var it,St;for(q||(q=2),ue||(ue=0),_e?St=Math.min(_e*q+ue,H.length):St=H.length,it=ue;it<St;it+=q)$[0]=H[it],$[1]=H[it+1],Ie($,$,$e),H[it]=$[0],H[it+1]=$[1];return H}})();var bEe=function($){function H(q){$.call(this,q,Bm)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.createBucket=function(ue){return new gs(ue)},H.prototype.queryRadius=function(ue){var _e=ue;return Yu("circle-radius",this,_e)+Yu("circle-stroke-width",this,_e)+gh(this.paint.get("circle-translate"))},H.prototype.queryIntersectsFeature=function(ue,_e,Ie,$e,it,St,Ot,zt){for(var rr=_0(ue,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),St.angle,Ot),vr=this.paint.get("circle-radius").evaluate(_e,Ie),dr=this.paint.get("circle-stroke-width").evaluate(_e,Ie),Or=vr+dr,on=this.paint.get("circle-pitch-alignment")==="map",Pn=on?rr:EEe(rr,zt),Mn=on?Or*Ot:Or,ca=0,Wn=$e;ca<Wn.length;ca+=1)for(var sa=Wn[ca],va=0,Ma=sa;va<Ma.length;va+=1){var Ga=Ma[va],Ha=on?Ga:Pse(Ga,zt),wi=Mn,pi=l6([],[Ga.x,Ga.y,0,1],zt);if(this.paint.get("circle-pitch-scale")==="viewport"&&this.paint.get("circle-pitch-alignment")==="map"?wi*=pi[3]/St.cameraToCenterDistance:this.paint.get("circle-pitch-scale")==="map"&&this.paint.get("circle-pitch-alignment")==="viewport"&&(wi*=St.cameraToCenterDistance/pi[3]),Oo(Pn,Ha,wi))return!0}return!1},H}(hl);function Pse($,H){var q=l6([],[$.x,$.y,0,1],H);return new c(q[0]/q[3],q[1]/q[3])}function EEe($,H){return $.map(function(q){return Pse(q,H)})}var Fse=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H}(gs);Ye("HeatmapBucket",Fse,{omit:["layers"]});function q8($,H,q,ue){var _e=H.width,Ie=H.height;if(!ue)ue=new Uint8Array(_e*Ie*q);else if(ue instanceof Uint8ClampedArray)ue=new Uint8Array(ue.buffer);else if(ue.length!==_e*Ie*q)throw new RangeError("mismatched image size");return $.width=_e,$.height=Ie,$.data=ue,$}function Bse($,H,q){var ue=H.width,_e=H.height;if(!(ue===$.width&&_e===$.height)){var Ie=q8({},{width:ue,height:_e},q);Z8($,Ie,{x:0,y:0},{x:0,y:0},{width:Math.min($.width,ue),height:Math.min($.height,_e)},q),$.width=ue,$.height=_e,$.data=Ie.data}}function Z8($,H,q,ue,_e,Ie){if(_e.width===0||_e.height===0)return H;if(_e.width>$.width||_e.height>$.height||q.x>$.width-_e.width||q.y>$.height-_e.height)throw new RangeError("out of range source coordinates for image copy");if(_e.width>H.width||_e.height>H.height||ue.x>H.width-_e.width||ue.y>H.height-_e.height)throw new RangeError("out of range destination coordinates for image copy");for(var $e=$.data,it=H.data,St=0;St<_e.height;St++)for(var Ot=((q.y+St)*$.width+q.x)*Ie,zt=((ue.y+St)*H.width+ue.x)*Ie,rr=0;rr<_e.width*Ie;rr++)it[zt+rr]=$e[Ot+rr];return H}var oy=function(H,q){q8(this,H,1,q)};oy.prototype.resize=function(H){Bse(this,H,1)},oy.prototype.clone=function(){return new oy({width:this.width,height:this.height},new Uint8Array(this.data))},oy.copy=function(H,q,ue,_e,Ie){Z8(H,q,ue,_e,Ie,1)};var yd=function(H,q){q8(this,H,4,q)};yd.prototype.resize=function(H){Bse(this,H,4)},yd.prototype.replace=function(H,q){q?this.data.set(H):H instanceof Uint8ClampedArray?this.data=new Uint8Array(H.buffer):this.data=H},yd.prototype.clone=function(){return new yd({width:this.width,height:this.height},new Uint8Array(this.data))},yd.copy=function(H,q,ue,_e,Ie){Z8(H,q,ue,_e,Ie,4)},Ye("AlphaImage",oy),Ye("RGBAImage",yd);var Q8=new Go({"heatmap-radius":new Ri(zr.paint_heatmap["heatmap-radius"]),"heatmap-weight":new Ri(zr.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new ja(zr.paint_heatmap["heatmap-intensity"]),"heatmap-color":new Ll(zr.paint_heatmap["heatmap-color"]),"heatmap-opacity":new ja(zr.paint_heatmap["heatmap-opacity"])}),zse={paint:Q8};function Use($){var H={},q=$.resolution||256,ue=$.clips?$.clips.length:1,_e=$.image||new yd({width:q,height:ue}),Ie=function(ca,Wn,sa){H[$.evaluationKey]=sa;var va=$.expression.evaluate(H);_e.data[ca+Wn+0]=Math.floor(va.r*255/va.a),_e.data[ca+Wn+1]=Math.floor(va.g*255/va.a),_e.data[ca+Wn+2]=Math.floor(va.b*255/va.a),_e.data[ca+Wn+3]=Math.floor(va.a*255)};if($.clips)for(var Ot=0,zt=0;Ot<ue;++Ot,zt+=q*4)for(var rr=0,vr=0;rr<q;rr++,vr+=4){var dr=rr/(q-1),Or=$.clips[Ot],on=Or.start,Pn=Or.end,Mn=on*(1-dr)+Pn*dr;Ie(zt,vr,Mn)}else for(var $e=0,it=0;$e<q;$e++,it+=4){var St=$e/(q-1);Ie(0,it,St)}return _e}var SEe=function($){function H(q){$.call(this,q,zse),this._updateColorRamp()}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.createBucket=function(ue){return new Fse(ue)},H.prototype._handleSpecialPaintPropertyUpdate=function(ue){ue==="heatmap-color"&&this._updateColorRamp()},H.prototype._updateColorRamp=function(){var ue=this._transitionablePaint._values["heatmap-color"].value.expression;this.colorRamp=Use({expression:ue,evaluationKey:"heatmapDensity",image:this.colorRamp}),this.colorRampTexture=null},H.prototype.resize=function(){this.heatmapFbo&&(this.heatmapFbo.destroy(),this.heatmapFbo=null)},H.prototype.queryRadius=function(){return 0},H.prototype.queryIntersectsFeature=function(){return!1},H.prototype.hasOffscreenPass=function(){return this.paint.get("heatmap-opacity")!==0&&this.visibility!=="none"},H}(hl),wEe=new Go({"hillshade-illumination-direction":new ja(zr.paint_hillshade["hillshade-illumination-direction"]),"hillshade-illumination-anchor":new ja(zr.paint_hillshade["hillshade-illumination-anchor"]),"hillshade-exaggeration":new ja(zr.paint_hillshade["hillshade-exaggeration"]),"hillshade-shadow-color":new ja(zr.paint_hillshade["hillshade-shadow-color"]),"hillshade-highlight-color":new ja(zr.paint_hillshade["hillshade-highlight-color"]),"hillshade-accent-color":new ja(zr.paint_hillshade["hillshade-accent-color"])}),TEe={paint:wEe},AEe=function($){function H(q){$.call(this,q,TEe)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.hasOffscreenPass=function(){return this.paint.get("hillshade-exaggeration")!==0&&this.visibility!=="none"},H}(hl),CEe=Gs([{name:"a_pos",components:2,type:"Int16"}],4),kEe=CEe.members,J8=c6,$se=c6;function c6($,H,q){q=q||2;var ue=H&&H.length,_e=ue?H[0]*q:$.length,Ie=x4($,0,_e,q,!0),$e=[];if(!Ie||Ie.next===Ie.prev)return $e;var it,St,Ot,zt,rr,vr,dr;if(ue&&(Ie=LEe($,H,Ie,q)),$.length>80*q){it=Ot=$[0],St=zt=$[1];for(var Or=q;Or<_e;Or+=q)rr=$[Or],vr=$[Or+1],rr<it&&(it=rr),vr<St&&(St=vr),rr>Ot&&(Ot=rr),vr>zt&&(zt=vr);dr=Math.max(Ot-it,zt-St),dr=dr!==0?1/dr:0}return b4(Ie,$e,q,it,St,dr),$e}function x4($,H,q,ue,_e){var Ie,$e;if(_e===rR($,H,q,ue)>0)for(Ie=H;Ie<q;Ie+=ue)$e=jse(Ie,$[Ie],$[Ie+1],$e);else for(Ie=q-ue;Ie>=H;Ie-=ue)$e=jse(Ie,$[Ie],$[Ie+1],$e);return $e&&u6($e,$e.next)&&(S4($e),$e=$e.next),$e}function Gm($,H){if(!$)return $;H||(H=$);var q=$,ue;do if(ue=!1,!q.steiner&&(u6(q,q.next)||Ol(q.prev,q,q.next)===0)){if(S4(q),q=H=q.prev,q===q.next)break;ue=!0}else q=q.next;while(ue||q!==H);return H}function b4($,H,q,ue,_e,Ie,$e){if($){!$e&&Ie&&BEe($,ue,_e,Ie);for(var it=$,St,Ot;$.prev!==$.next;){if(St=$.prev,Ot=$.next,Ie?REe($,ue,_e,Ie):MEe($)){H.push(St.i/q),H.push($.i/q),H.push(Ot.i/q),S4($),$=Ot.next,it=Ot.next;continue}if($=Ot,$===it){$e?$e===1?($=NEe(Gm($),H,q),b4($,H,q,ue,_e,Ie,2)):$e===2&&IEe($,H,q,ue,_e,Ie):b4(Gm($),H,q,ue,_e,Ie,1);break}}}}function MEe($){var H=$.prev,q=$,ue=$.next;if(Ol(H,q,ue)>=0)return!1;for(var _e=$.next.next;_e!==$.prev;){if(v_(H.x,H.y,q.x,q.y,ue.x,ue.y,_e.x,_e.y)&&Ol(_e.prev,_e,_e.next)>=0)return!1;_e=_e.next}return!0}function REe($,H,q,ue){var _e=$.prev,Ie=$,$e=$.next;if(Ol(_e,Ie,$e)>=0)return!1;for(var it=_e.x<Ie.x?_e.x<$e.x?_e.x:$e.x:Ie.x<$e.x?Ie.x:$e.x,St=_e.y<Ie.y?_e.y<$e.y?_e.y:$e.y:Ie.y<$e.y?Ie.y:$e.y,Ot=_e.x>Ie.x?_e.x>$e.x?_e.x:$e.x:Ie.x>$e.x?Ie.x:$e.x,zt=_e.y>Ie.y?_e.y>$e.y?_e.y:$e.y:Ie.y>$e.y?Ie.y:$e.y,rr=eR(it,St,H,q,ue),vr=eR(Ot,zt,H,q,ue),dr=$.prevZ,Or=$.nextZ;dr&&dr.z>=rr&&Or&&Or.z<=vr;){if(dr!==$.prev&&dr!==$.next&&v_(_e.x,_e.y,Ie.x,Ie.y,$e.x,$e.y,dr.x,dr.y)&&Ol(dr.prev,dr,dr.next)>=0||(dr=dr.prevZ,Or!==$.prev&&Or!==$.next&&v_(_e.x,_e.y,Ie.x,Ie.y,$e.x,$e.y,Or.x,Or.y)&&Ol(Or.prev,Or,Or.next)>=0))return!1;Or=Or.nextZ}for(;dr&&dr.z>=rr;){if(dr!==$.prev&&dr!==$.next&&v_(_e.x,_e.y,Ie.x,Ie.y,$e.x,$e.y,dr.x,dr.y)&&Ol(dr.prev,dr,dr.next)>=0)return!1;dr=dr.prevZ}for(;Or&&Or.z<=vr;){if(Or!==$.prev&&Or!==$.next&&v_(_e.x,_e.y,Ie.x,Ie.y,$e.x,$e.y,Or.x,Or.y)&&Ol(Or.prev,Or,Or.next)>=0)return!1;Or=Or.nextZ}return!0}function NEe($,H,q){var ue=$;do{var _e=ue.prev,Ie=ue.next.next;!u6(_e,Ie)&&Vse(_e,ue,ue.next,Ie)&&E4(_e,Ie)&&E4(Ie,_e)&&(H.push(_e.i/q),H.push(ue.i/q),H.push(Ie.i/q),S4(ue),S4(ue.next),ue=$=Ie),ue=ue.next}while(ue!==$);return Gm(ue)}function IEe($,H,q,ue,_e,Ie){var $e=$;do{for(var it=$e.next.next;it!==$e.prev;){if($e.i!==it.i&&Hse($e,it)){var St=Gse($e,it);$e=Gm($e,$e.next),St=Gm(St,St.next),b4($e,H,q,ue,_e,Ie),b4(St,H,q,ue,_e,Ie);return}it=it.next}$e=$e.next}while($e!==$)}function LEe($,H,q,ue){var _e=[],Ie,$e,it,St,Ot;for(Ie=0,$e=H.length;Ie<$e;Ie++)it=H[Ie]*ue,St=Ie<$e-1?H[Ie+1]*ue:$.length,Ot=x4($,it,St,ue,!1),Ot===Ot.next&&(Ot.steiner=!0),_e.push(UEe(Ot));for(_e.sort(OEe),Ie=0;Ie<_e.length;Ie++)DEe(_e[Ie],q),q=Gm(q,q.next);return q}function OEe($,H){return $.x-H.x}function DEe($,H){if(H=PEe($,H),H){var q=Gse(H,$);Gm(H,H.next),Gm(q,q.next)}}function PEe($,H){var q=H,ue=$.x,_e=$.y,Ie=-1/0,$e;do{if(_e<=q.y&&_e>=q.next.y&&q.next.y!==q.y){var it=q.x+(_e-q.y)*(q.next.x-q.x)/(q.next.y-q.y);if(it<=ue&&it>Ie){if(Ie=it,it===ue){if(_e===q.y)return q;if(_e===q.next.y)return q.next}$e=q.x<q.next.x?q:q.next}}q=q.next}while(q!==H);if(!$e)return null;if(ue===Ie)return $e;var St=$e,Ot=$e.x,zt=$e.y,rr=1/0,vr;q=$e;do ue>=q.x&&q.x>=Ot&&ue!==q.x&&v_(_e<zt?ue:Ie,_e,Ot,zt,_e<zt?Ie:ue,_e,q.x,q.y)&&(vr=Math.abs(_e-q.y)/(ue-q.x),E4(q,$)&&(vr<rr||vr===rr&&(q.x>$e.x||q.x===$e.x&&FEe($e,q)))&&($e=q,rr=vr)),q=q.next;while(q!==St);return $e}function FEe($,H){return Ol($.prev,$,H.prev)<0&&Ol(H.next,$,$.next)<0}function BEe($,H,q,ue){var _e=$;do _e.z===null&&(_e.z=eR(_e.x,_e.y,H,q,ue)),_e.prevZ=_e.prev,_e.nextZ=_e.next,_e=_e.next;while(_e!==$);_e.prevZ.nextZ=null,_e.prevZ=null,zEe(_e)}function zEe($){var H,q,ue,_e,Ie,$e,it,St,Ot=1;do{for(q=$,$=null,Ie=null,$e=0;q;){for($e++,ue=q,it=0,H=0;H<Ot&&(it++,ue=ue.nextZ,!!ue);H++);for(St=Ot;it>0||St>0&&ue;)it!==0&&(St===0||!ue||q.z<=ue.z)?(_e=q,q=q.nextZ,it--):(_e=ue,ue=ue.nextZ,St--),Ie?Ie.nextZ=_e:$=_e,_e.prevZ=Ie,Ie=_e;q=ue}Ie.nextZ=null,Ot*=2}while($e>1);return $}function eR($,H,q,ue,_e){return $=32767*($-q)*_e,H=32767*(H-ue)*_e,$=($|$<<8)&16711935,$=($|$<<4)&252645135,$=($|$<<2)&858993459,$=($|$<<1)&1431655765,H=(H|H<<8)&16711935,H=(H|H<<4)&252645135,H=(H|H<<2)&858993459,H=(H|H<<1)&1431655765,$|H<<1}function UEe($){var H=$,q=$;do(H.x<q.x||H.x===q.x&&H.y<q.y)&&(q=H),H=H.next;while(H!==$);return q}function v_($,H,q,ue,_e,Ie,$e,it){return(_e-$e)*(H-it)-($-$e)*(Ie-it)>=0&&($-$e)*(ue-it)-(q-$e)*(H-it)>=0&&(q-$e)*(Ie-it)-(_e-$e)*(ue-it)>=0}function Hse($,H){return $.next.i!==H.i&&$.prev.i!==H.i&&!h6($,H)&&(E4($,H)&&E4(H,$)&&$Ee($,H)&&(Ol($.prev,$,H.prev)||Ol($,H.prev,H))||u6($,H)&&Ol($.prev,$,$.next)>0&&Ol(H.prev,H,H.next)>0)}function Ol($,H,q){return(H.y-$.y)*(q.x-H.x)-(H.x-$.x)*(q.y-H.y)}function u6($,H){return $.x===H.x&&$.y===H.y}function Vse($,H,q,ue){var _e=f6(Ol($,H,q)),Ie=f6(Ol($,H,ue)),$e=f6(Ol(q,ue,$)),it=f6(Ol(q,ue,H));return!!(_e!==Ie&&$e!==it||_e===0&&d6($,q,H)||Ie===0&&d6($,ue,H)||$e===0&&d6(q,$,ue)||it===0&&d6(q,H,ue))}function d6($,H,q){return H.x<=Math.max($.x,q.x)&&H.x>=Math.min($.x,q.x)&&H.y<=Math.max($.y,q.y)&&H.y>=Math.min($.y,q.y)}function f6($){return $>0?1:$<0?-1:0}function h6($,H){var q=$;do{if(q.i!==$.i&&q.next.i!==$.i&&q.i!==H.i&&q.next.i!==H.i&&Vse(q,q.next,$,H))return!0;q=q.next}while(q!==$);return!1}function E4($,H){return Ol($.prev,$,$.next)<0?Ol($,H,$.next)>=0&&Ol($,$.prev,H)>=0:Ol($,H,$.prev)<0||Ol($,$.next,H)<0}function $Ee($,H){var q=$,ue=!1,_e=($.x+H.x)/2,Ie=($.y+H.y)/2;do q.y>Ie!=q.next.y>Ie&&q.next.y!==q.y&&_e<(q.next.x-q.x)*(Ie-q.y)/(q.next.y-q.y)+q.x&&(ue=!ue),q=q.next;while(q!==$);return ue}function Gse($,H){var q=new tR($.i,$.x,$.y),ue=new tR(H.i,H.x,H.y),_e=$.next,Ie=H.prev;return $.next=H,H.prev=$,q.next=_e,_e.prev=q,ue.next=q,q.prev=ue,Ie.next=ue,ue.prev=Ie,ue}function jse($,H,q,ue){var _e=new tR($,H,q);return ue?(_e.next=ue.next,_e.prev=ue,ue.next.prev=_e,ue.next=_e):(_e.prev=_e,_e.next=_e),_e}function S4($){$.next.prev=$.prev,$.prev.next=$.next,$.prevZ&&($.prevZ.nextZ=$.nextZ),$.nextZ&&($.nextZ.prevZ=$.prevZ)}function tR($,H,q){this.i=$,this.x=H,this.y=q,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}c6.deviation=function($,H,q,ue){var _e=H&&H.length,Ie=_e?H[0]*q:$.length,$e=Math.abs(rR($,0,Ie,q));if(_e)for(var it=0,St=H.length;it<St;it++){var Ot=H[it]*q,zt=it<St-1?H[it+1]*q:$.length;$e-=Math.abs(rR($,Ot,zt,q))}var rr=0;for(it=0;it<ue.length;it+=3){var vr=ue[it]*q,dr=ue[it+1]*q,Or=ue[it+2]*q;rr+=Math.abs(($[vr]-$[Or])*($[dr+1]-$[vr+1])-($[vr]-$[dr])*($[Or+1]-$[vr+1]))}return $e===0&&rr===0?0:Math.abs((rr-$e)/$e)};function rR($,H,q,ue){for(var _e=0,Ie=H,$e=q-ue;Ie<q;Ie+=ue)_e+=($[$e]-$[Ie])*($[Ie+1]+$[$e+1]),$e=Ie;return _e}c6.flatten=function($){for(var H=$[0][0].length,q={vertices:[],holes:[],dimensions:H},ue=0,_e=0;_e<$.length;_e++){for(var Ie=0;Ie<$[_e].length;Ie++)for(var $e=0;$e<H;$e++)q.vertices.push($[_e][Ie][$e]);_e>0&&(ue+=$[_e-1].length,q.holes.push(ue))}return q},J8.default=$se;function HEe($,H,q,ue,_e){Yse($,H,q,ue||$.length-1,_e||VEe)}function Yse($,H,q,ue,_e){for(;ue>q;){if(ue-q>600){var Ie=ue-q+1,$e=H-q+1,it=Math.log(Ie),St=.5*Math.exp(2*it/3),Ot=.5*Math.sqrt(it*St*(Ie-St)/Ie)*($e-Ie/2<0?-1:1),zt=Math.max(q,Math.floor(H-$e*St/Ie+Ot)),rr=Math.min(ue,Math.floor(H+(Ie-$e)*St/Ie+Ot));Yse($,H,zt,rr,_e)}var vr=$[H],dr=q,Or=ue;for(w4($,q,H),_e($[ue],vr)>0&&w4($,q,ue);dr<Or;){for(w4($,dr,Or),dr++,Or--;_e($[dr],vr)<0;)dr++;for(;_e($[Or],vr)>0;)Or--}_e($[q],vr)===0?w4($,q,Or):(Or++,w4($,Or,ue)),Or<=H&&(q=Or+1),H<=Or&&(ue=Or-1)}}function w4($,H,q){var ue=$[H];$[H]=$[q],$[q]=ue}function VEe($,H){return $<H?-1:$>H?1:0}function m_($,H){var q=$.length;if(q<=1)return[$];for(var ue=[],_e,Ie,$e=0;$e<q;$e++){var it=W($[$e]);it!==0&&($[$e].area=Math.abs(it),Ie===void 0&&(Ie=it<0),Ie===it<0?(_e&&ue.push(_e),_e=[$[$e]]):_e.push($[$e]))}if(_e&&ue.push(_e),H>1)for(var St=0;St<ue.length;St++)ue[St].length<=H||(HEe(ue[St],H,1,ue[St].length-1,GEe),ue[St]=ue[St].slice(0,H));return ue}function GEe($,H){return H.area-$.area}function p6($,H,q){for(var ue=q.patternDependencies,_e=!1,Ie=0,$e=H;Ie<$e.length;Ie+=1){var it=$e[Ie],St=it.paint.get($+"-pattern");St.isConstant()||(_e=!0);var Ot=St.constantOr(null);Ot&&(_e=!0,ue[Ot.to]=!0,ue[Ot.from]=!0)}return _e}function v6($,H,q,ue,_e){for(var Ie=_e.patternDependencies,$e=0,it=H;$e<it.length;$e+=1){var St=it[$e],Ot=St.paint.get($+"-pattern"),zt=Ot.value;if(zt.kind!=="constant"){var rr=zt.evaluate({zoom:ue-1},q,{},_e.availableImages),vr=zt.evaluate({zoom:ue},q,{},_e.availableImages),dr=zt.evaluate({zoom:ue+1},q,{},_e.availableImages);rr=rr&&rr.name?rr.name:rr,vr=vr&&vr.name?vr.name:vr,dr=dr&&dr.name?dr.name:dr,Ie[rr]=!0,Ie[vr]=!0,Ie[dr]=!0,q.patterns[St.id]={min:rr,mid:vr,max:dr}}}return q}var nR=500,Ep=function(H){this.zoom=H.zoom,this.overscaling=H.overscaling,this.layers=H.layers,this.layerIds=this.layers.map(function(q){return q.id}),this.index=H.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new fv,this.indexArray=new Rf,this.indexArray2=new Fm,this.programConfigurations=new ai(H.layers,H.zoom),this.segments=new xl,this.segments2=new xl,this.stateDependentLayerIds=this.layers.filter(function(q){return q.isStateDependent()}).map(function(q){return q.id})};Ep.prototype.populate=function(H,q,ue){this.hasPattern=p6("fill",this.layers,q);for(var _e=this.layers[0].layout.get("fill-sort-key"),Ie=[],$e=0,it=H;$e<it.length;$e+=1){var St=it[$e],Ot=St.feature,zt=St.id,rr=St.index,vr=St.sourceLayerIndex,dr=this.layers[0]._featureFilter.needGeometry,Or=Ms(Ot,dr);if(this.layers[0]._featureFilter.filter(new _i(this.zoom),Or,ue)){var on=_e?_e.evaluate(Or,{},ue,q.availableImages):void 0,Pn={id:zt,properties:Ot.properties,type:Ot.type,sourceLayerIndex:vr,index:rr,geometry:dr?Or.geometry:Lo(Ot),patterns:{},sortKey:on};Ie.push(Pn)}}_e&&Ie.sort(function(pi,bi){return pi.sortKey-bi.sortKey});for(var Mn=0,ca=Ie;Mn<ca.length;Mn+=1){var Wn=ca[Mn],sa=Wn,va=sa.geometry,Ma=sa.index,Ga=sa.sourceLayerIndex;if(this.hasPattern){var Ha=v6("fill",this.layers,Wn,this.zoom,q);this.patternFeatures.push(Ha)}else this.addFeature(Wn,va,Ma,ue,{});var wi=H[Ma].feature;q.featureIndex.insert(wi,va,Ma,Ga,this.index)}},Ep.prototype.update=function(H,q,ue){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(H,q,this.stateDependentLayers,ue)},Ep.prototype.addFeatures=function(H,q,ue){for(var _e=0,Ie=this.patternFeatures;_e<Ie.length;_e+=1){var $e=Ie[_e];this.addFeature($e,$e.geometry,$e.index,q,ue)}},Ep.prototype.isEmpty=function(){return this.layoutVertexArray.length===0},Ep.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Ep.prototype.upload=function(H){this.uploaded||(this.layoutVertexBuffer=H.createVertexBuffer(this.layoutVertexArray,kEe),this.indexBuffer=H.createIndexBuffer(this.indexArray),this.indexBuffer2=H.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(H),this.uploaded=!0},Ep.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())},Ep.prototype.addFeature=function(H,q,ue,_e,Ie){for(var $e=0,it=m_(q,nR);$e<it.length;$e+=1){for(var St=it[$e],Ot=0,zt=0,rr=St;zt<rr.length;zt+=1){var vr=rr[zt];Ot+=vr.length}for(var dr=this.segments.prepareSegment(Ot,this.layoutVertexArray,this.indexArray),Or=dr.vertexLength,on=[],Pn=[],Mn=0,ca=St;Mn<ca.length;Mn+=1){var Wn=ca[Mn];if(Wn.length!==0){Wn!==St[0]&&Pn.push(on.length/2);var sa=this.segments2.prepareSegment(Wn.length,this.layoutVertexArray,this.indexArray2),va=sa.vertexLength;this.layoutVertexArray.emplaceBack(Wn[0].x,Wn[0].y),this.indexArray2.emplaceBack(va+Wn.length-1,va),on.push(Wn[0].x),on.push(Wn[0].y);for(var Ma=1;Ma<Wn.length;Ma++)this.layoutVertexArray.emplaceBack(Wn[Ma].x,Wn[Ma].y),this.indexArray2.emplaceBack(va+Ma-1,va+Ma),on.push(Wn[Ma].x),on.push(Wn[Ma].y);sa.vertexLength+=Wn.length,sa.primitiveLength+=Wn.length}}for(var Ga=J8(on,Pn),Ha=0;Ha<Ga.length;Ha+=3)this.indexArray.emplaceBack(Or+Ga[Ha],Or+Ga[Ha+1],Or+Ga[Ha+2]);dr.vertexLength+=Ot,dr.primitiveLength+=Ga.length/3}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,H,ue,Ie,_e)},Ye("FillBucket",Ep,{omit:["layers","patternFeatures"]});var Wse=new Go({"fill-sort-key":new Ri(zr.layout_fill["fill-sort-key"])}),Kse=new Go({"fill-antialias":new ja(zr.paint_fill["fill-antialias"]),"fill-opacity":new Ri(zr.paint_fill["fill-opacity"]),"fill-color":new Ri(zr.paint_fill["fill-color"]),"fill-outline-color":new Ri(zr.paint_fill["fill-outline-color"]),"fill-translate":new ja(zr.paint_fill["fill-translate"]),"fill-translate-anchor":new ja(zr.paint_fill["fill-translate-anchor"]),"fill-pattern":new dl(zr.paint_fill["fill-pattern"])}),Xse={paint:Kse,layout:Wse},jEe=function($){function H(q){$.call(this,q,Xse)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.recalculate=function(ue,_e){$.prototype.recalculate.call(this,ue,_e);var Ie=this.paint._values["fill-outline-color"];Ie.value.kind==="constant"&&Ie.value.value===void 0&&(this.paint._values["fill-outline-color"]=this.paint._values["fill-color"])},H.prototype.createBucket=function(ue){return new Ep(ue)},H.prototype.queryRadius=function(){return gh(this.paint.get("fill-translate"))},H.prototype.queryIntersectsFeature=function(ue,_e,Ie,$e,it,St,Ot){var zt=_0(ue,this.paint.get("fill-translate"),this.paint.get("fill-translate-anchor"),St.angle,Ot);return tl(zt,$e)},H.prototype.isTileClipped=function(){return!0},H}(hl),YEe=Gs([{name:"a_pos",components:2,type:"Int16"},{name:"a_normal_ed",components:4,type:"Int16"}],4),WEe=YEe.members,T4=gv;function gv($,H,q,ue,_e){this.properties={},this.extent=q,this.type=0,this._pbf=$,this._geometry=-1,this._keys=ue,this._values=_e,$.readFields(KEe,this,H)}function KEe($,H,q){$==1?H.id=q.readVarint():$==2?XEe(q,H):$==3?H.type=q.readVarint():$==4&&(H._geometry=q.pos)}function XEe($,H){for(var q=$.readVarint()+$.pos;$.pos<q;){var ue=H._keys[$.readVarint()],_e=H._values[$.readVarint()];H.properties[ue]=_e}}gv.types=["Unknown","Point","LineString","Polygon"],gv.prototype.loadGeometry=function(){var $=this._pbf;$.pos=this._geometry;for(var H=$.readVarint()+$.pos,q=1,ue=0,_e=0,Ie=0,$e=[],it;$.pos<H;){if(ue<=0){var St=$.readVarint();q=St&7,ue=St>>3}if(ue--,q===1||q===2)_e+=$.readSVarint(),Ie+=$.readSVarint(),q===1&&(it&&$e.push(it),it=[]),it.push(new c(_e,Ie));else if(q===7)it&&it.push(it[0].clone());else throw new Error("unknown command "+q)}return it&&$e.push(it),$e},gv.prototype.bbox=function(){var $=this._pbf;$.pos=this._geometry;for(var H=$.readVarint()+$.pos,q=1,ue=0,_e=0,Ie=0,$e=1/0,it=-1/0,St=1/0,Ot=-1/0;$.pos<H;){if(ue<=0){var zt=$.readVarint();q=zt&7,ue=zt>>3}if(ue--,q===1||q===2)_e+=$.readSVarint(),Ie+=$.readSVarint(),_e<$e&&($e=_e),_e>it&&(it=_e),Ie<St&&(St=Ie),Ie>Ot&&(Ot=Ie);else if(q!==7)throw new Error("unknown command "+q)}return[$e,St,it,Ot]},gv.prototype.toGeoJSON=function($,H,q){var ue=this.extent*Math.pow(2,q),_e=this.extent*$,Ie=this.extent*H,$e=this.loadGeometry(),it=gv.types[this.type],St,Ot;function zt(dr){for(var Or=0;Or<dr.length;Or++){var on=dr[Or],Pn=180-(on.y+Ie)*360/ue;dr[Or]=[(on.x+_e)*360/ue-180,360/Math.PI*Math.atan(Math.exp(Pn*Math.PI/180))-90]}}switch(this.type){case 1:var rr=[];for(St=0;St<$e.length;St++)rr[St]=$e[St][0];$e=rr,zt($e);break;case 2:for(St=0;St<$e.length;St++)zt($e[St]);break;case 3:for($e=aR($e),St=0;St<$e.length;St++)for(Ot=0;Ot<$e[St].length;Ot++)zt($e[St][Ot]);break}$e.length===1?$e=$e[0]:it="Multi"+it;var vr={type:"Feature",geometry:{type:it,coordinates:$e},properties:this.properties};return"id"in this&&(vr.id=this.id),vr};function aR($){var H=$.length;if(H<=1)return[$];for(var q=[],ue,_e,Ie=0;Ie<H;Ie++){var $e=qse($[Ie]);$e!==0&&(_e===void 0&&(_e=$e<0),_e===$e<0?(ue&&q.push(ue),ue=[$[Ie]]):ue.push($[Ie]))}return ue&&q.push(ue),q}function qse($){for(var H=0,q=0,ue=$.length,_e=ue-1,Ie,$e;q<ue;_e=q++)Ie=$[q],$e=$[_e],H+=($e.x-Ie.x)*(Ie.y+$e.y);return H}var Zse=Qse;function Qse($,H){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=$,this._keys=[],this._values=[],this._features=[],$.readFields(qEe,this,H),this.length=this._features.length}function qEe($,H,q){$===15?H.version=q.readVarint():$===1?H.name=q.readString():$===5?H.extent=q.readVarint():$===2?H._features.push(q.pos):$===3?H._keys.push(q.readString()):$===4&&H._values.push(ZEe(q))}function ZEe($){for(var H=null,q=$.readVarint()+$.pos;$.pos<q;){var ue=$.readVarint()>>3;H=ue===1?$.readString():ue===2?$.readFloat():ue===3?$.readDouble():ue===4?$.readVarint64():ue===5?$.readVarint():ue===6?$.readSVarint():ue===7?$.readBoolean():null}return H}Qse.prototype.feature=function($){if($<0||$>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[$];var H=this._pbf.readVarint()+this._pbf.pos;return new T4(this._pbf,H,this.extent,this._keys,this._values)};var QEe=JEe;function JEe($,H){this.layers=$.readFields(eSe,{},H)}function eSe($,H,q){if($===3){var ue=new Zse(q,q.readVarint()+q.pos);ue.length&&(H[ue.name]=ue)}}var tSe=QEe,rSe=T4,nSe=Zse,g_={VectorTile:tSe,VectorTileFeature:rSe,VectorTileLayer:nSe},aSe=g_.VectorTileFeature.types,x0=500,iR=Math.pow(2,13);function A4($,H,q,ue,_e,Ie,$e,it){$.emplaceBack(H,q,Math.floor(ue*iR)*2+$e,_e*iR*2,Ie*iR*2,Math.round(it))}var Ku=function(H){this.zoom=H.zoom,this.overscaling=H.overscaling,this.layers=H.layers,this.layerIds=this.layers.map(function(q){return q.id}),this.index=H.index,this.hasPattern=!1,this.layoutVertexArray=new fh,this.indexArray=new Rf,this.programConfigurations=new ai(H.layers,H.zoom),this.segments=new xl,this.stateDependentLayerIds=this.layers.filter(function(q){return q.isStateDependent()}).map(function(q){return q.id})};Ku.prototype.populate=function(H,q,ue){this.features=[],this.hasPattern=p6("fill-extrusion",this.layers,q);for(var _e=0,Ie=H;_e<Ie.length;_e+=1){var $e=Ie[_e],it=$e.feature,St=$e.id,Ot=$e.index,zt=$e.sourceLayerIndex,rr=this.layers[0]._featureFilter.needGeometry,vr=Ms(it,rr);if(this.layers[0]._featureFilter.filter(new _i(this.zoom),vr,ue)){var dr={id:St,sourceLayerIndex:zt,index:Ot,geometry:rr?vr.geometry:Lo(it),properties:it.properties,type:it.type,patterns:{}};this.hasPattern?this.features.push(v6("fill-extrusion",this.layers,dr,this.zoom,q)):this.addFeature(dr,dr.geometry,Ot,ue,{}),q.featureIndex.insert(it,dr.geometry,Ot,zt,this.index,!0)}}},Ku.prototype.addFeatures=function(H,q,ue){for(var _e=0,Ie=this.features;_e<Ie.length;_e+=1){var $e=Ie[_e],it=$e.geometry;this.addFeature($e,it,$e.index,q,ue)}},Ku.prototype.update=function(H,q,ue){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(H,q,this.stateDependentLayers,ue)},Ku.prototype.isEmpty=function(){return this.layoutVertexArray.length===0},Ku.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Ku.prototype.upload=function(H){this.uploaded||(this.layoutVertexBuffer=H.createVertexBuffer(this.layoutVertexArray,WEe),this.indexBuffer=H.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(H),this.uploaded=!0},Ku.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},Ku.prototype.addFeature=function(H,q,ue,_e,Ie){for(var $e=0,it=m_(q,x0);$e<it.length;$e+=1){for(var St=it[$e],Ot=0,zt=0,rr=St;zt<rr.length;zt+=1){var vr=rr[zt];Ot+=vr.length}for(var dr=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray),Or=0,on=St;Or<on.length;Or+=1){var Pn=on[Or];if(Pn.length!==0&&!iSe(Pn))for(var Mn=0,ca=0;ca<Pn.length;ca++){var Wn=Pn[ca];if(ca>=1){var sa=Pn[ca-1];if(!Bo(Wn,sa)){dr.vertexLength+4>xl.MAX_VERTEX_ARRAY_LENGTH&&(dr=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var va=Wn.sub(sa)._perp()._unit(),Ma=sa.dist(Wn);Mn+Ma>32768&&(Mn=0),A4(this.layoutVertexArray,Wn.x,Wn.y,va.x,va.y,0,0,Mn),A4(this.layoutVertexArray,Wn.x,Wn.y,va.x,va.y,0,1,Mn),Mn+=Ma,A4(this.layoutVertexArray,sa.x,sa.y,va.x,va.y,0,0,Mn),A4(this.layoutVertexArray,sa.x,sa.y,va.x,va.y,0,1,Mn);var Ga=dr.vertexLength;this.indexArray.emplaceBack(Ga,Ga+2,Ga+1),this.indexArray.emplaceBack(Ga+1,Ga+2,Ga+3),dr.vertexLength+=4,dr.primitiveLength+=2}}}}if(dr.vertexLength+Ot>xl.MAX_VERTEX_ARRAY_LENGTH&&(dr=this.segments.prepareSegment(Ot,this.layoutVertexArray,this.indexArray)),aSe[H.type]==="Polygon"){for(var Ha=[],wi=[],pi=dr.vertexLength,bi=0,ro=St;bi<ro.length;bi+=1){var Ti=ro[bi];if(Ti.length!==0){Ti!==St[0]&&wi.push(Ha.length/2);for(var Mi=0;Mi<Ti.length;Mi++){var lo=Ti[Mi];A4(this.layoutVertexArray,lo.x,lo.y,0,0,1,1,0),Ha.push(lo.x),Ha.push(lo.y)}}}for(var qi=J8(Ha,wi),ns=0;ns<qi.length;ns+=3)this.indexArray.emplaceBack(pi+qi[ns],pi+qi[ns+2],pi+qi[ns+1]);dr.primitiveLength+=qi.length/3,dr.vertexLength+=Ot}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,H,ue,Ie,_e)},Ye("FillExtrusionBucket",Ku,{omit:["layers","features"]});function Bo($,H){return $.x===H.x&&($.x<0||$.x>Si)||$.y===H.y&&($.y<0||$.y>Si)}function iSe($){return $.every(function(H){return H.x<0})||$.every(function(H){return H.x>Si})||$.every(function(H){return H.y<0})||$.every(function(H){return H.y>Si})}var If=new Go({"fill-extrusion-opacity":new ja(zr["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new Ri(zr["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new ja(zr["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new ja(zr["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new dl(zr["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new Ri(zr["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new Ri(zr["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new ja(zr["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])}),kc={paint:If},oSe=function($){function H(q){$.call(this,q,kc)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.createBucket=function(ue){return new Ku(ue)},H.prototype.queryRadius=function(){return gh(this.paint.get("fill-extrusion-translate"))},H.prototype.is3D=function(){return!0},H.prototype.queryIntersectsFeature=function(ue,_e,Ie,$e,it,St,Ot,zt){var rr=_0(ue,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),St.angle,Ot),vr=this.paint.get("fill-extrusion-height").evaluate(_e,Ie),dr=this.paint.get("fill-extrusion-base").evaluate(_e,Ie),Or=cSe(rr,zt,St,0),on=lSe($e,dr,vr,zt),Pn=on[0],Mn=on[1];return sSe(Pn,Mn,Or)},H}(hl);function Sp($,H){return $.x*H.x+$.y*H.y}function Jse($,H){if($.length===1){for(var q=0,ue=H[q++],_e;!_e||ue.equals(_e);)if(_e=H[q++],!_e)return 1/0;for(;q<H.length;q++){var Ie=H[q],$e=$[0],it=_e.sub(ue),St=Ie.sub(ue),Ot=$e.sub(ue),zt=Sp(it,it),rr=Sp(it,St),vr=Sp(St,St),dr=Sp(Ot,it),Or=Sp(Ot,St),on=zt*vr-rr*rr,Pn=(vr*dr-rr*Or)/on,Mn=(zt*Or-rr*dr)/on,ca=1-Pn-Mn,Wn=ue.z*ca+_e.z*Pn+Ie.z*Mn;if(isFinite(Wn))return Wn}return 1/0}else{for(var sa=1/0,va=0,Ma=H;va<Ma.length;va+=1){var Ga=Ma[va];sa=Math.min(sa,Ga.z)}return sa}}function sSe($,H,q){var ue=1/0;tl(q,H)&&(ue=Jse(q,H[0]));for(var _e=0;_e<H.length;_e++)for(var Ie=H[_e],$e=$[_e],it=0;it<Ie.length-1;it++){var St=Ie[it],Ot=Ie[it+1],zt=$e[it],rr=$e[it+1],vr=[St,Ot,rr,zt,St];to(q,vr)&&(ue=Math.min(ue,Jse(q,vr)))}return ue===1/0?!1:ue}function lSe($,H,q,ue){for(var _e=[],Ie=[],$e=ue[8]*H,it=ue[9]*H,St=ue[10]*H,Ot=ue[11]*H,zt=ue[8]*q,rr=ue[9]*q,vr=ue[10]*q,dr=ue[11]*q,Or=0,on=$;Or<on.length;Or+=1){for(var Pn=on[Or],Mn=[],ca=[],Wn=0,sa=Pn;Wn<sa.length;Wn+=1){var va=sa[Wn],Ma=va.x,Ga=va.y,Ha=ue[0]*Ma+ue[4]*Ga+ue[12],wi=ue[1]*Ma+ue[5]*Ga+ue[13],pi=ue[2]*Ma+ue[6]*Ga+ue[14],bi=ue[3]*Ma+ue[7]*Ga+ue[15],ro=Ha+$e,Ti=wi+it,Mi=pi+St,lo=bi+Ot,qi=Ha+zt,ns=wi+rr,Ps=pi+vr,as=bi+dr,is=new c(ro/lo,Ti/lo);is.z=Mi/lo,Mn.push(is);var qo=new c(qi/as,ns/as);qo.z=Ps/as,ca.push(qo)}_e.push(Mn),Ie.push(ca)}return[_e,Ie]}function cSe($,H,q,ue){for(var _e=[],Ie=0,$e=$;Ie<$e.length;Ie+=1){var it=$e[Ie],St=[it.x,it.y,ue,1];l6(St,St,H),_e.push(new c(St[0]/St[3],St[1]/St[3]))}return _e}var uSe=Gs([{name:"a_pos_normal",components:2,type:"Int16"},{name:"a_data",components:4,type:"Uint8"}],4),oR=uSe.members,dSe=Gs([{name:"a_uv_x",components:1,type:"Float32"},{name:"a_split_index",components:1,type:"Float32"}]),yv=dSe.members,ele=g_.VectorTileFeature.types,C4=63,Xl=Math.cos(75/2*(Math.PI/180)),hc=15,tle=20,fSe=15,rle=1/2,nle=Math.pow(2,fSe-1)/rle,Xu=function(H){var q=this;this.zoom=H.zoom,this.overscaling=H.overscaling,this.layers=H.layers,this.layerIds=this.layers.map(function(ue){return ue.id}),this.index=H.index,this.hasPattern=!1,this.patternFeatures=[],this.lineClipsArray=[],this.gradients={},this.layers.forEach(function(ue){q.gradients[ue.id]={}}),this.layoutVertexArray=new hh,this.layoutVertexArray2=new hv,this.indexArray=new Rf,this.programConfigurations=new ai(H.layers,H.zoom),this.segments=new xl,this.maxLineLength=0,this.stateDependentLayerIds=this.layers.filter(function(ue){return ue.isStateDependent()}).map(function(ue){return ue.id})};Xu.prototype.populate=function(H,q,ue){this.hasPattern=p6("line",this.layers,q);for(var _e=this.layers[0].layout.get("line-sort-key"),Ie=[],$e=0,it=H;$e<it.length;$e+=1){var St=it[$e],Ot=St.feature,zt=St.id,rr=St.index,vr=St.sourceLayerIndex,dr=this.layers[0]._featureFilter.needGeometry,Or=Ms(Ot,dr);if(this.layers[0]._featureFilter.filter(new _i(this.zoom),Or,ue)){var on=_e?_e.evaluate(Or,{},ue):void 0,Pn={id:zt,properties:Ot.properties,type:Ot.type,sourceLayerIndex:vr,index:rr,geometry:dr?Or.geometry:Lo(Ot),patterns:{},sortKey:on};Ie.push(Pn)}}_e&&Ie.sort(function(pi,bi){return pi.sortKey-bi.sortKey});for(var Mn=0,ca=Ie;Mn<ca.length;Mn+=1){var Wn=ca[Mn],sa=Wn,va=sa.geometry,Ma=sa.index,Ga=sa.sourceLayerIndex;if(this.hasPattern){var Ha=v6("line",this.layers,Wn,this.zoom,q);this.patternFeatures.push(Ha)}else this.addFeature(Wn,va,Ma,ue,{});var wi=H[Ma].feature;q.featureIndex.insert(wi,va,Ma,Ga,this.index)}},Xu.prototype.update=function(H,q,ue){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(H,q,this.stateDependentLayers,ue)},Xu.prototype.addFeatures=function(H,q,ue){for(var _e=0,Ie=this.patternFeatures;_e<Ie.length;_e+=1){var $e=Ie[_e];this.addFeature($e,$e.geometry,$e.index,q,ue)}},Xu.prototype.isEmpty=function(){return this.layoutVertexArray.length===0},Xu.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Xu.prototype.upload=function(H){this.uploaded||(this.layoutVertexArray2.length!==0&&(this.layoutVertexBuffer2=H.createVertexBuffer(this.layoutVertexArray2,yv)),this.layoutVertexBuffer=H.createVertexBuffer(this.layoutVertexArray,oR),this.indexBuffer=H.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(H),this.uploaded=!0},Xu.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},Xu.prototype.lineFeatureClips=function(H){if(H.properties&&H.properties.hasOwnProperty("mapbox_clip_start")&&H.properties.hasOwnProperty("mapbox_clip_end")){var q=+H.properties.mapbox_clip_start,ue=+H.properties.mapbox_clip_end;return{start:q,end:ue}}},Xu.prototype.addFeature=function(H,q,ue,_e,Ie){var $e=this.layers[0].layout,it=$e.get("line-join").evaluate(H,{}),St=$e.get("line-cap"),Ot=$e.get("line-miter-limit"),zt=$e.get("line-round-limit");this.lineClips=this.lineFeatureClips(H);for(var rr=0,vr=q;rr<vr.length;rr+=1){var dr=vr[rr];this.addLine(dr,H,it,St,Ot,zt)}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,H,ue,Ie,_e)},Xu.prototype.addLine=function(H,q,ue,_e,Ie,$e){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,this.lineClips){this.lineClipsArray.push(this.lineClips);for(var it=0;it<H.length-1;it++)this.totalDistance+=H[it].dist(H[it+1]);this.updateScaledDistance(),this.maxLineLength=Math.max(this.maxLineLength,this.totalDistance)}for(var St=ele[q.type]==="Polygon",Ot=H.length;Ot>=2&&H[Ot-1].equals(H[Ot-2]);)Ot--;for(var zt=0;zt<Ot-1&&H[zt].equals(H[zt+1]);)zt++;if(!(Ot<(St?3:2))){ue==="bevel"&&(Ie=1.05);var rr=this.overscaling<=16?hc*Si/(512*this.overscaling):0,vr=this.segments.prepareSegment(Ot*10,this.layoutVertexArray,this.indexArray),dr,Or=void 0,on=void 0,Pn=void 0,Mn=void 0;this.e1=this.e2=-1,St&&(dr=H[Ot-2],Mn=H[zt].sub(dr)._unit()._perp());for(var ca=zt;ca<Ot;ca++)if(on=ca===Ot-1?St?H[zt+1]:void 0:H[ca+1],!(on&&H[ca].equals(on))){Mn&&(Pn=Mn),dr&&(Or=dr),dr=H[ca],Mn=on?on.sub(dr)._unit()._perp():Pn,Pn=Pn||Mn;var Wn=Pn.add(Mn);(Wn.x!==0||Wn.y!==0)&&Wn._unit();var sa=Pn.x*Mn.x+Pn.y*Mn.y,va=Wn.x*Mn.x+Wn.y*Mn.y,Ma=va!==0?1/va:1/0,Ga=2*Math.sqrt(2-2*va),Ha=va<Xl&&Or&&on,wi=Pn.x*Mn.y-Pn.y*Mn.x>0;if(Ha&&ca>zt){var pi=dr.dist(Or);if(pi>2*rr){var bi=dr.sub(dr.sub(Or)._mult(rr/pi)._round());this.updateDistance(Or,bi),this.addCurrentVertex(bi,Pn,0,0,vr),Or=bi}}var ro=Or&&on,Ti=ro?ue:St?"butt":_e;if(ro&&Ti==="round"&&(Ma<$e?Ti="miter":Ma<=2&&(Ti="fakeround")),Ti==="miter"&&Ma>Ie&&(Ti="bevel"),Ti==="bevel"&&(Ma>2&&(Ti="flipbevel"),Ma<Ie&&(Ti="miter")),Or&&this.updateDistance(Or,dr),Ti==="miter")Wn._mult(Ma),this.addCurrentVertex(dr,Wn,0,0,vr);else if(Ti==="flipbevel"){if(Ma>100)Wn=Mn.mult(-1);else{var Mi=Ma*Pn.add(Mn).mag()/Pn.sub(Mn).mag();Wn._perp()._mult(Mi*(wi?-1:1))}this.addCurrentVertex(dr,Wn,0,0,vr),this.addCurrentVertex(dr,Wn.mult(-1),0,0,vr)}else if(Ti==="bevel"||Ti==="fakeround"){var lo=-Math.sqrt(Ma*Ma-1),qi=wi?lo:0,ns=wi?0:lo;if(Or&&this.addCurrentVertex(dr,Pn,qi,ns,vr),Ti==="fakeround")for(var Ps=Math.round(Ga*180/Math.PI/tle),as=1;as<Ps;as++){var is=as/Ps;if(is!==.5){var qo=is-.5,qs=1.0904+sa*(-3.2452+sa*(3.55645-sa*1.43519)),rl=.848013+sa*(-1.06021+sa*.215638);is=is+is*qo*(is-1)*(qs*qo*qo+rl)}var Dl=Mn.sub(Pn)._mult(is)._add(Pn)._unit()._mult(wi?-1:1);this.addHalfVertex(dr,Dl.x,Dl.y,!1,wi,0,vr)}on&&this.addCurrentVertex(dr,Mn,-qi,-ns,vr)}else if(Ti==="butt")this.addCurrentVertex(dr,Wn,0,0,vr);else if(Ti==="square"){var Ql=Or?1:-1;this.addCurrentVertex(dr,Wn,Ql,Ql,vr)}else Ti==="round"&&(Or&&(this.addCurrentVertex(dr,Pn,0,0,vr),this.addCurrentVertex(dr,Pn,1,1,vr,!0)),on&&(this.addCurrentVertex(dr,Mn,-1,-1,vr,!0),this.addCurrentVertex(dr,Mn,0,0,vr)));if(Ha&&ca<Ot-1){var uu=dr.dist(on);if(uu>2*rr){var Nc=dr.add(on.sub(dr)._mult(rr/uu)._round());this.updateDistance(dr,Nc),this.addCurrentVertex(Nc,Mn,0,0,vr),dr=Nc}}}}},Xu.prototype.addCurrentVertex=function(H,q,ue,_e,Ie,$e){$e===void 0&&($e=!1);var it=q.x+q.y*ue,St=q.y-q.x*ue,Ot=-q.x+q.y*_e,zt=-q.y-q.x*_e;this.addHalfVertex(H,it,St,$e,!1,ue,Ie),this.addHalfVertex(H,Ot,zt,$e,!0,-_e,Ie),this.distance>nle/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(H,q,ue,_e,Ie,$e))},Xu.prototype.addHalfVertex=function(H,q,ue,_e,Ie,$e,it){var St=H.x,Ot=H.y,zt=this.lineClips?this.scaledDistance*(nle-1):this.scaledDistance,rr=zt*rle;if(this.layoutVertexArray.emplaceBack((St<<1)+(_e?1:0),(Ot<<1)+(Ie?1:0),Math.round(C4*q)+128,Math.round(C4*ue)+128,($e===0?0:$e<0?-1:1)+1|(rr&63)<<2,rr>>6),this.lineClips){var vr=this.scaledDistance-this.lineClips.start,dr=this.lineClips.end-this.lineClips.start,Or=vr/dr;this.layoutVertexArray2.emplaceBack(Or,this.lineClipsArray.length)}var on=it.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,on),it.primitiveLength++),Ie?this.e2=on:this.e1=on},Xu.prototype.updateScaledDistance=function(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance},Xu.prototype.updateDistance=function(H,q){this.distance+=H.dist(q),this.updateScaledDistance()},Ye("LineBucket",Xu,{omit:["layers","patternFeatures"]});var hSe=new Go({"line-cap":new ja(zr.layout_line["line-cap"]),"line-join":new Ri(zr.layout_line["line-join"]),"line-miter-limit":new ja(zr.layout_line["line-miter-limit"]),"line-round-limit":new ja(zr.layout_line["line-round-limit"]),"line-sort-key":new Ri(zr.layout_line["line-sort-key"])}),pSe=new Go({"line-opacity":new Ri(zr.paint_line["line-opacity"]),"line-color":new Ri(zr.paint_line["line-color"]),"line-translate":new ja(zr.paint_line["line-translate"]),"line-translate-anchor":new ja(zr.paint_line["line-translate-anchor"]),"line-width":new Ri(zr.paint_line["line-width"]),"line-gap-width":new Ri(zr.paint_line["line-gap-width"]),"line-offset":new Ri(zr.paint_line["line-offset"]),"line-blur":new Ri(zr.paint_line["line-blur"]),"line-dasharray":new Yc(zr.paint_line["line-dasharray"]),"line-pattern":new dl(zr.paint_line["line-pattern"]),"line-gradient":new Ll(zr.paint_line["line-gradient"])}),sR={paint:pSe,layout:hSe},k4=function($){function H(){$.apply(this,arguments)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.possiblyEvaluate=function(ue,_e){return _e=new _i(Math.floor(_e.zoom),{now:_e.now,fadeDuration:_e.fadeDuration,zoomHistory:_e.zoomHistory,transition:_e.transition}),$.prototype.possiblyEvaluate.call(this,ue,_e)},H.prototype.evaluate=function(ue,_e,Ie,$e){return _e=L({},_e,{zoom:Math.floor(_e.zoom)}),$.prototype.evaluate.call(this,ue,_e,Ie,$e)},H}(Ri),m6=new k4(sR.paint.properties["line-width"].specification);m6.useIntegerZoom=!0;var vSe=function($){function H(q){$.call(this,q,sR),this.gradientVersion=0}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype._handleSpecialPaintPropertyUpdate=function(ue){if(ue==="line-gradient"){var _e=this._transitionablePaint._values["line-gradient"].value.expression;this.stepInterpolant=_e._styleExpression.expression instanceof zu,this.gradientVersion=(this.gradientVersion+1)%b}},H.prototype.gradientExpression=function(){return this._transitionablePaint._values["line-gradient"].value.expression},H.prototype.recalculate=function(ue,_e){$.prototype.recalculate.call(this,ue,_e),this.paint._values["line-floorwidth"]=m6.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,ue)},H.prototype.createBucket=function(ue){return new Xu(ue)},H.prototype.queryRadius=function(ue){var _e=ue,Ie=lR(Yu("line-width",this,_e),Yu("line-gap-width",this,_e)),$e=Yu("line-offset",this,_e);return Ie/2+Math.abs($e)+gh(this.paint.get("line-translate"))},H.prototype.queryIntersectsFeature=function(ue,_e,Ie,$e,it,St,Ot){var zt=_0(ue,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),St.angle,Ot),rr=Ot/2*lR(this.paint.get("line-width").evaluate(_e,Ie),this.paint.get("line-gap-width").evaluate(_e,Ie)),vr=this.paint.get("line-offset").evaluate(_e,Ie);return vr&&($e=g6($e,vr*Ot)),Wl(zt,$e,rr)},H.prototype.isTileClipped=function(){return!0},H}(hl);function lR($,H){return H>0?H+2*$:$}function g6($,H){for(var q=[],ue=new c(0,0),_e=0;_e<$.length;_e++){for(var Ie=$[_e],$e=[],it=0;it<Ie.length;it++){var St=Ie[it-1],Ot=Ie[it],zt=Ie[it+1],rr=it===0?ue:Ot.sub(St)._unit()._perp(),vr=it===Ie.length-1?ue:zt.sub(Ot)._unit()._perp(),dr=rr._add(vr)._unit(),Or=dr.x*vr.x+dr.y*vr.y;dr._mult(1/Or),$e.push(dr._mult(H)._add(Ot))}q.push($e)}return q}var _h=Gs([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),y_=Gs([{name:"a_projected_pos",components:3,type:"Float32"}],4);Gs([{name:"a_fade_opacity",components:1,type:"Uint32"}],4);var mSe=Gs([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}]);Gs([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]);var ale=Gs([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4),gSe=Gs([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);Gs([{name:"triangle",components:3,type:"Uint16"}]),Gs([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),Gs([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),Gs([{type:"Float32",name:"offsetX"}]),Gs([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);function ySe($,H,q){var ue=H.layout.get("text-transform").evaluate(q,{});return ue==="uppercase"?$=$.toLocaleUpperCase():ue==="lowercase"&&($=$.toLocaleLowerCase()),Ba.applyArabicShaping&&($=Ba.applyArabicShaping($)),$}function _Se($,H,q){return $.sections.forEach(function(ue){ue.text=ySe(ue.text,H,q)}),$}function ile($){var H={},q={},ue=[],_e=0;function Ie(Mn){ue.push($[Mn]),_e++}function $e(Mn,ca,Wn){var sa=q[Mn];return delete q[Mn],q[ca]=sa,ue[sa].geometry[0].pop(),ue[sa].geometry[0]=ue[sa].geometry[0].concat(Wn[0]),sa}function it(Mn,ca,Wn){var sa=H[ca];return delete H[ca],H[Mn]=sa,ue[sa].geometry[0].shift(),ue[sa].geometry[0]=Wn[0].concat(ue[sa].geometry[0]),sa}function St(Mn,ca,Wn){var sa=Wn?ca[0][ca[0].length-1]:ca[0][0];return Mn+":"+sa.x+":"+sa.y}for(var Ot=0;Ot<$.length;Ot++){var zt=$[Ot],rr=zt.geometry,vr=zt.text?zt.text.toString():null;if(!vr){Ie(Ot);continue}var dr=St(vr,rr),Or=St(vr,rr,!0);if(dr in q&&Or in H&&q[dr]!==H[Or]){var on=it(dr,Or,rr),Pn=$e(dr,Or,ue[on].geometry);delete H[dr],delete q[Or],q[St(vr,ue[Pn].geometry,!0)]=Pn,ue[on].geometry=null}else dr in q?$e(dr,Or,rr):Or in H?it(dr,Or,rr):(Ie(Ot),H[dr]=_e-1,q[Or]=_e-1)}return ue.filter(function(Mn){return Mn.geometry})}var xh={"!":"︕","#":"",$:"","%":"","&":"","(":"︵",")":"︶","*":"","+":"",",":"︐","-":"︲",".":"・","/":"",":":"︓",";":"︔","<":"︿","=":"",">":"﹀","?":"︖","@":"","[":"﹇","\\":"","]":"﹈","^":"",_:"︳","`":"","{":"︷","|":"―","}":"︸","~":"","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","":"︲","—":"︱","":"﹃","":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","":"︹","":"︺","〖":"︗","〗":"︘","":"︕","":"︵","":"︶","":"︐","":"︲","":"・","":"︓","":"︔","":"︿","":"﹀","":"︖","":"﹇","":"﹈","_":"︳","":"︷","":"―","":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"};function Yo($){for(var H="",q=0;q<$.length;q++){var ue=$.charCodeAt(q+1)||null,_e=$.charCodeAt(q-1)||null,Ie=(!ue||!nn(ue)||xh[$[q+1]])&&(!_e||!nn(_e)||xh[$[q-1]]);Ie&&xh[$[q]]?H+=xh[$[q]]:H+=$[q]}return H}var Mc=24,wp=function($,H,q,ue,_e){var Ie,$e,it=_e*8-ue-1,St=(1<<it)-1,Ot=St>>1,zt=-7,rr=q?_e-1:0,vr=q?-1:1,dr=$[H+rr];for(rr+=vr,Ie=dr&(1<<-zt)-1,dr>>=-zt,zt+=it;zt>0;Ie=Ie*256+$[H+rr],rr+=vr,zt-=8);for($e=Ie&(1<<-zt)-1,Ie>>=-zt,zt+=ue;zt>0;$e=$e*256+$[H+rr],rr+=vr,zt-=8);if(Ie===0)Ie=1-Ot;else{if(Ie===St)return $e?NaN:(dr?-1:1)*(1/0);$e=$e+Math.pow(2,ue),Ie=Ie-Ot}return(dr?-1:1)*$e*Math.pow(2,Ie-ue)},ole=function($,H,q,ue,_e,Ie){var $e,it,St,Ot=Ie*8-_e-1,zt=(1<<Ot)-1,rr=zt>>1,vr=_e===23?Math.pow(2,-24)-Math.pow(2,-77):0,dr=ue?0:Ie-1,Or=ue?1:-1,on=H<0||H===0&&1/H<0?1:0;for(H=Math.abs(H),isNaN(H)||H===1/0?(it=isNaN(H)?1:0,$e=zt):($e=Math.floor(Math.log(H)/Math.LN2),H*(St=Math.pow(2,-$e))<1&&($e--,St*=2),$e+rr>=1?H+=vr/St:H+=vr*Math.pow(2,1-rr),H*St>=2&&($e++,St/=2),$e+rr>=zt?(it=0,$e=zt):$e+rr>=1?(it=(H*St-1)*Math.pow(2,_e),$e=$e+rr):(it=H*Math.pow(2,rr-1)*Math.pow(2,_e),$e=0));_e>=8;$[q+dr]=it&255,dr+=Or,it/=256,_e-=8);for($e=$e<<_e|it,Ot+=_e;Ot>0;$[q+dr]=$e&255,dr+=Or,$e/=256,Ot-=8);$[q+dr-Or]|=on*128},y6={read:wp,write:ole},Rs=js;function js($){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView($)?$:new Uint8Array($||0),this.pos=0,this.type=0,this.length=this.buf.length}js.Varint=0,js.Fixed64=1,js.Bytes=2,js.Fixed32=5;var _6=65536*65536,M4=1/_6,xSe=12,sle=typeof TextDecoder>"u"?null:new TextDecoder("utf8");js.prototype={destroy:function(){this.buf=null},readFields:function($,H,q){for(q=q||this.length;this.pos<q;){var ue=this.readVarint(),_e=ue>>3,Ie=this.pos;this.type=ue&7,$(_e,H,this),this.pos===Ie&&this.skip(ue)}return H},readMessage:function($,H){return this.readFields($,H,this.readVarint()+this.pos)},readFixed32:function(){var $=x6(this.buf,this.pos);return this.pos+=4,$},readSFixed32:function(){var $=Xd(this.buf,this.pos);return this.pos+=4,$},readFixed64:function(){var $=x6(this.buf,this.pos)+x6(this.buf,this.pos+4)*_6;return this.pos+=8,$},readSFixed64:function(){var $=x6(this.buf,this.pos)+Xd(this.buf,this.pos+4)*_6;return this.pos+=8,$},readFloat:function(){var $=y6.read(this.buf,this.pos,!0,23,4);return this.pos+=4,$},readDouble:function(){var $=y6.read(this.buf,this.pos,!0,52,8);return this.pos+=8,$},readVarint:function($){var H=this.buf,q,ue;return ue=H[this.pos++],q=ue&127,ue<128||(ue=H[this.pos++],q|=(ue&127)<<7,ue<128)||(ue=H[this.pos++],q|=(ue&127)<<14,ue<128)||(ue=H[this.pos++],q|=(ue&127)<<21,ue<128)?q:(ue=H[this.pos],q|=(ue&15)<<28,bSe(q,$,this))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var $=this.readVarint();return $%2===1?($+1)/-2:$/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var $=this.readVarint()+this.pos,H=this.pos;return this.pos=$,$-H>=xSe&&sle?LSe(this.buf,H,$):ISe(this.buf,H,$)},readBytes:function(){var $=this.readVarint()+this.pos,H=this.buf.subarray(this.pos,$);return this.pos=$,H},readPackedVarint:function($,H){if(this.type!==js.Bytes)return $.push(this.readVarint(H));var q=_v(this);for($=$||[];this.pos<q;)$.push(this.readVarint(H));return $},readPackedSVarint:function($){if(this.type!==js.Bytes)return $.push(this.readSVarint());var H=_v(this);for($=$||[];this.pos<H;)$.push(this.readSVarint());return $},readPackedBoolean:function($){if(this.type!==js.Bytes)return $.push(this.readBoolean());var H=_v(this);for($=$||[];this.pos<H;)$.push(this.readBoolean());return $},readPackedFloat:function($){if(this.type!==js.Bytes)return $.push(this.readFloat());var H=_v(this);for($=$||[];this.pos<H;)$.push(this.readFloat());return $},readPackedDouble:function($){if(this.type!==js.Bytes)return $.push(this.readDouble());var H=_v(this);for($=$||[];this.pos<H;)$.push(this.readDouble());return $},readPackedFixed32:function($){if(this.type!==js.Bytes)return $.push(this.readFixed32());var H=_v(this);for($=$||[];this.pos<H;)$.push(this.readFixed32());return $},readPackedSFixed32:function($){if(this.type!==js.Bytes)return $.push(this.readSFixed32());var H=_v(this);for($=$||[];this.pos<H;)$.push(this.readSFixed32());return $},readPackedFixed64:function($){if(this.type!==js.Bytes)return $.push(this.readFixed64());var H=_v(this);for($=$||[];this.pos<H;)$.push(this.readFixed64());return $},readPackedSFixed64:function($){if(this.type!==js.Bytes)return $.push(this.readSFixed64());var H=_v(this);for($=$||[];this.pos<H;)$.push(this.readSFixed64());return $},skip:function($){var H=$&7;if(H===js.Varint)for(;this.buf[this.pos++]>127;);else if(H===js.Bytes)this.pos=this.readVarint()+this.pos;else if(H===js.Fixed32)this.pos+=4;else if(H===js.Fixed64)this.pos+=8;else throw new Error("Unimplemented type: "+H)},writeTag:function($,H){this.writeVarint($<<3|H)},realloc:function($){for(var H=this.length||16;H<this.pos+$;)H*=2;if(H!==this.length){var q=new Uint8Array(H);q.set(this.buf),this.buf=q,this.length=H}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function($){this.realloc(4),ql(this.buf,$,this.pos),this.pos+=4},writeSFixed32:function($){this.realloc(4),ql(this.buf,$,this.pos),this.pos+=4},writeFixed64:function($){this.realloc(8),ql(this.buf,$&-1,this.pos),ql(this.buf,Math.floor($*M4),this.pos+4),this.pos+=8},writeSFixed64:function($){this.realloc(8),ql(this.buf,$&-1,this.pos),ql(this.buf,Math.floor($*M4),this.pos+4),this.pos+=8},writeVarint:function($){if($=+$||0,$>268435455||$<0){ESe($,this);return}this.realloc(4),this.buf[this.pos++]=$&127|($>127?128:0),!($<=127)&&(this.buf[this.pos++]=($>>>=7)&127|($>127?128:0),!($<=127)&&(this.buf[this.pos++]=($>>>=7)&127|($>127?128:0),!($<=127)&&(this.buf[this.pos++]=$>>>7&127)))},writeSVarint:function($){this.writeVarint($<0?-$*2-1:$*2)},writeBoolean:function($){this.writeVarint(!!$)},writeString:function($){$=String($),this.realloc($.length*4),this.pos++;var H=this.pos;this.pos=OSe(this.buf,$,this.pos);var q=this.pos-H;q>=128&&lle(H,q,this),this.pos=H-1,this.writeVarint(q),this.pos+=q},writeFloat:function($){this.realloc(4),y6.write(this.buf,$,this.pos,!0,23,4),this.pos+=4},writeDouble:function($){this.realloc(8),y6.write(this.buf,$,this.pos,!0,52,8),this.pos+=8},writeBytes:function($){var H=$.length;this.writeVarint(H),this.realloc(H);for(var q=0;q<H;q++)this.buf[this.pos++]=$[q]},writeRawMessage:function($,H){this.pos++;var q=this.pos;$(H,this);var ue=this.pos-q;ue>=128&&lle(q,ue,this),this.pos=q-1,this.writeVarint(ue),this.pos+=ue},writeMessage:function($,H,q){this.writeTag($,js.Bytes),this.writeRawMessage(H,q)},writePackedVarint:function($,H){H.length&&this.writeMessage($,TSe,H)},writePackedSVarint:function($,H){H.length&&this.writeMessage($,ASe,H)},writePackedBoolean:function($,H){H.length&&this.writeMessage($,cR,H)},writePackedFloat:function($,H){H.length&&this.writeMessage($,CSe,H)},writePackedDouble:function($,H){H.length&&this.writeMessage($,kSe,H)},writePackedFixed32:function($,H){H.length&&this.writeMessage($,MSe,H)},writePackedSFixed32:function($,H){H.length&&this.writeMessage($,uR,H)},writePackedFixed64:function($,H){H.length&&this.writeMessage($,RSe,H)},writePackedSFixed64:function($,H){H.length&&this.writeMessage($,NSe,H)},writeBytesField:function($,H){this.writeTag($,js.Bytes),this.writeBytes(H)},writeFixed32Field:function($,H){this.writeTag($,js.Fixed32),this.writeFixed32(H)},writeSFixed32Field:function($,H){this.writeTag($,js.Fixed32),this.writeSFixed32(H)},writeFixed64Field:function($,H){this.writeTag($,js.Fixed64),this.writeFixed64(H)},writeSFixed64Field:function($,H){this.writeTag($,js.Fixed64),this.writeSFixed64(H)},writeVarintField:function($,H){this.writeTag($,js.Varint),this.writeVarint(H)},writeSVarintField:function($,H){this.writeTag($,js.Varint),this.writeSVarint(H)},writeStringField:function($,H){this.writeTag($,js.Bytes),this.writeString(H)},writeFloatField:function($,H){this.writeTag($,js.Fixed32),this.writeFloat(H)},writeDoubleField:function($,H){this.writeTag($,js.Fixed64),this.writeDouble(H)},writeBooleanField:function($,H){this.writeVarintField($,!!H)}};function bSe($,H,q){var ue=q.buf,_e,Ie;if(Ie=ue[q.pos++],_e=(Ie&112)>>4,Ie<128||(Ie=ue[q.pos++],_e|=(Ie&127)<<3,Ie<128)||(Ie=ue[q.pos++],_e|=(Ie&127)<<10,Ie<128)||(Ie=ue[q.pos++],_e|=(Ie&127)<<17,Ie<128)||(Ie=ue[q.pos++],_e|=(Ie&127)<<24,Ie<128)||(Ie=ue[q.pos++],_e|=(Ie&1)<<31,Ie<128))return __($,_e,H);throw new Error("Expected varint not more than 10 bytes")}function _v($){return $.type===js.Bytes?$.readVarint()+$.pos:$.pos+1}function __($,H,q){return q?H*4294967296+($>>>0):(H>>>0)*4294967296+($>>>0)}function ESe($,H){var q,ue;if($>=0?(q=$%4294967296|0,ue=$/4294967296|0):(q=~(-$%4294967296),ue=~(-$/4294967296),q^4294967295?q=q+1|0:(q=0,ue=ue+1|0)),$>=18446744073709552e3||$<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");H.realloc(10),SSe(q,ue,H),wSe(ue,H)}function SSe($,H,q){q.buf[q.pos++]=$&127|128,$>>>=7,q.buf[q.pos++]=$&127|128,$>>>=7,q.buf[q.pos++]=$&127|128,$>>>=7,q.buf[q.pos++]=$&127|128,$>>>=7,q.buf[q.pos]=$&127}function wSe($,H){var q=($&7)<<4;H.buf[H.pos++]|=q|(($>>>=3)?128:0),$&&(H.buf[H.pos++]=$&127|(($>>>=7)?128:0),$&&(H.buf[H.pos++]=$&127|(($>>>=7)?128:0),$&&(H.buf[H.pos++]=$&127|(($>>>=7)?128:0),$&&(H.buf[H.pos++]=$&127|(($>>>=7)?128:0),$&&(H.buf[H.pos++]=$&127)))))}function lle($,H,q){var ue=H<=16383?1:H<=2097151?2:H<=268435455?3:Math.floor(Math.log(H)/(Math.LN2*7));q.realloc(ue);for(var _e=q.pos-1;_e>=$;_e--)q.buf[_e+ue]=q.buf[_e]}function TSe($,H){for(var q=0;q<$.length;q++)H.writeVarint($[q])}function ASe($,H){for(var q=0;q<$.length;q++)H.writeSVarint($[q])}function CSe($,H){for(var q=0;q<$.length;q++)H.writeFloat($[q])}function kSe($,H){for(var q=0;q<$.length;q++)H.writeDouble($[q])}function cR($,H){for(var q=0;q<$.length;q++)H.writeBoolean($[q])}function MSe($,H){for(var q=0;q<$.length;q++)H.writeFixed32($[q])}function uR($,H){for(var q=0;q<$.length;q++)H.writeSFixed32($[q])}function RSe($,H){for(var q=0;q<$.length;q++)H.writeFixed64($[q])}function NSe($,H){for(var q=0;q<$.length;q++)H.writeSFixed64($[q])}function x6($,H){return($[H]|$[H+1]<<8|$[H+2]<<16)+$[H+3]*16777216}function ql($,H,q){$[q]=H,$[q+1]=H>>>8,$[q+2]=H>>>16,$[q+3]=H>>>24}function Xd($,H){return($[H]|$[H+1]<<8|$[H+2]<<16)+($[H+3]<<24)}function ISe($,H,q){for(var ue="",_e=H;_e<q;){var Ie=$[_e],$e=null,it=Ie>239?4:Ie>223?3:Ie>191?2:1;if(_e+it>q)break;var St,Ot,zt;it===1?Ie<128&&($e=Ie):it===2?(St=$[_e+1],(St&192)===128&&($e=(Ie&31)<<6|St&63,$e<=127&&($e=null))):it===3?(St=$[_e+1],Ot=$[_e+2],(St&192)===128&&(Ot&192)===128&&($e=(Ie&15)<<12|(St&63)<<6|Ot&63,($e<=2047||$e>=55296&&$e<=57343)&&($e=null))):it===4&&(St=$[_e+1],Ot=$[_e+2],zt=$[_e+3],(St&192)===128&&(Ot&192)===128&&(zt&192)===128&&($e=(Ie&15)<<18|(St&63)<<12|(Ot&63)<<6|zt&63,($e<=65535||$e>=1114112)&&($e=null))),$e===null?($e=65533,it=1):$e>65535&&($e-=65536,ue+=String.fromCharCode($e>>>10&1023|55296),$e=56320|$e&1023),ue+=String.fromCharCode($e),_e+=it}return ue}function LSe($,H,q){return sle.decode($.subarray(H,q))}function OSe($,H,q){for(var ue=0,_e,Ie;ue<H.length;ue++){if(_e=H.charCodeAt(ue),_e>55295&&_e<57344)if(Ie)if(_e<56320){$[q++]=239,$[q++]=191,$[q++]=189,Ie=_e;continue}else _e=Ie-55296<<10|_e-56320|65536,Ie=null;else{_e>56319||ue+1===H.length?($[q++]=239,$[q++]=191,$[q++]=189):Ie=_e;continue}else Ie&&($[q++]=239,$[q++]=191,$[q++]=189,Ie=null);_e<128?$[q++]=_e:(_e<2048?$[q++]=_e>>6|192:(_e<65536?$[q++]=_e>>12|224:($[q++]=_e>>18|240,$[q++]=_e>>12&63|128),$[q++]=_e>>6&63|128),$[q++]=_e&63|128)}return q}var b6=3;function DSe($,H,q){$===1&&q.readMessage(PSe,H)}function PSe($,H,q){if($===3){var ue=q.readMessage(FSe,{}),_e=ue.id,Ie=ue.bitmap,$e=ue.width,it=ue.height,St=ue.left,Ot=ue.top,zt=ue.advance;H.push({id:_e,bitmap:new oy({width:$e+2*b6,height:it+2*b6},Ie),metrics:{width:$e,height:it,left:St,top:Ot,advance:zt}})}}function FSe($,H,q){$===1?H.id=q.readVarint():$===2?H.bitmap=q.readBytes():$===3?H.width=q.readVarint():$===4?H.height=q.readVarint():$===5?H.left=q.readSVarint():$===6?H.top=q.readSVarint():$===7&&(H.advance=q.readVarint())}function cle($){return new Rs($).readFields(DSe,[])}var ule=b6;function dle($){for(var H=0,q=0,ue=0,_e=$;ue<_e.length;ue+=1){var Ie=_e[ue];H+=Ie.w*Ie.h,q=Math.max(q,Ie.w)}$.sort(function(Pn,Mn){return Mn.h-Pn.h});for(var $e=Math.max(Math.ceil(Math.sqrt(H/.95)),q),it=[{x:0,y:0,w:$e,h:1/0}],St=0,Ot=0,zt=0,rr=$;zt<rr.length;zt+=1)for(var vr=rr[zt],dr=it.length-1;dr>=0;dr--){var Or=it[dr];if(!(vr.w>Or.w||vr.h>Or.h)){if(vr.x=Or.x,vr.y=Or.y,Ot=Math.max(Ot,vr.y+vr.h),St=Math.max(St,vr.x+vr.w),vr.w===Or.w&&vr.h===Or.h){var on=it.pop();dr<it.length&&(it[dr]=on)}else vr.h===Or.h?(Or.x+=vr.w,Or.w-=vr.w):vr.w===Or.w?(Or.y+=vr.h,Or.h-=vr.h):(it.push({x:Or.x+vr.w,y:Or.y,w:Or.w-vr.w,h:vr.h}),Or.y+=vr.h,Or.h-=vr.h);break}}return{w:St,h:Ot,fill:H/(St*Ot)||0}}var qd=1,R4=function(H,q){var ue=q.pixelRatio,_e=q.version,Ie=q.stretchX,$e=q.stretchY,it=q.content;this.paddedRect=H,this.pixelRatio=ue,this.stretchX=Ie,this.stretchY=$e,this.content=it,this.version=_e},x_={tl:{configurable:!0},br:{configurable:!0},tlbr:{configurable:!0},displaySize:{configurable:!0}};x_.tl.get=function(){return[this.paddedRect.x+qd,this.paddedRect.y+qd]},x_.br.get=function(){return[this.paddedRect.x+this.paddedRect.w-qd,this.paddedRect.y+this.paddedRect.h-qd]},x_.tlbr.get=function(){return this.tl.concat(this.br)},x_.displaySize.get=function(){return[(this.paddedRect.w-qd*2)/this.pixelRatio,(this.paddedRect.h-qd*2)/this.pixelRatio]},Object.defineProperties(R4.prototype,x_);var N4=function(H,q){var ue={},_e={};this.haveRenderCallbacks=[];var Ie=[];this.addImages(H,ue,Ie),this.addImages(q,_e,Ie);var $e=dle(Ie),it=$e.w,St=$e.h,Ot=new yd({width:it||1,height:St||1});for(var zt in H){var rr=H[zt],vr=ue[zt].paddedRect;yd.copy(rr.data,Ot,{x:0,y:0},{x:vr.x+qd,y:vr.y+qd},rr.data)}for(var dr in q){var Or=q[dr],on=_e[dr].paddedRect,Pn=on.x+qd,Mn=on.y+qd,ca=Or.data.width,Wn=Or.data.height;yd.copy(Or.data,Ot,{x:0,y:0},{x:Pn,y:Mn},Or.data),yd.copy(Or.data,Ot,{x:0,y:Wn-1},{x:Pn,y:Mn-1},{width:ca,height:1}),yd.copy(Or.data,Ot,{x:0,y:0},{x:Pn,y:Mn+Wn},{width:ca,height:1}),yd.copy(Or.data,Ot,{x:ca-1,y:0},{x:Pn-1,y:Mn},{width:1,height:Wn}),yd.copy(Or.data,Ot,{x:0,y:0},{x:Pn+ca,y:Mn},{width:1,height:Wn})}this.image=Ot,this.iconPositions=ue,this.patternPositions=_e};N4.prototype.addImages=function(H,q,ue){for(var _e in H){var Ie=H[_e],$e={x:0,y:0,w:Ie.data.width+2*qd,h:Ie.data.height+2*qd};ue.push($e),q[_e]=new R4($e,Ie),Ie.hasRenderCallback&&this.haveRenderCallbacks.push(_e)}},N4.prototype.patchUpdatedImages=function(H,q){H.dispatchRenderCallbacks(this.haveRenderCallbacks);for(var ue in H.updatedImages)this.patchUpdatedImage(this.iconPositions[ue],H.getImage(ue),q),this.patchUpdatedImage(this.patternPositions[ue],H.getImage(ue),q)},N4.prototype.patchUpdatedImage=function(H,q,ue){if(!(!H||!q)&&H.version!==q.version){H.version=q.version;var _e=H.tl,Ie=_e[0],$e=_e[1];ue.update(q.data,void 0,{x:Ie,y:$e})}},Ye("ImagePosition",R4),Ye("ImageAtlas",N4);var Lf={horizontal:1,vertical:2,horizontalOnly:3},I4=-17;function BSe($){for(var H=0,q=$;H<q.length;H+=1){var ue=q[H];if(ue.positionedGlyphs.length!==0)return!1}return!0}var sy=57344,fle=63743,b_=function(){this.scale=1,this.fontStack="",this.imageName=null};b_.forText=function(H,q){var ue=new b_;return ue.scale=H||1,ue.fontStack=q,ue},b_.forImage=function(H){var q=new b_;return q.imageName=H,q};var Cu=function(){this.text="",this.sectionIndex=[],this.sections=[],this.imageSectionID=null};Cu.fromFeature=function(H,q){for(var ue=new Cu,_e=0;_e<H.sections.length;_e++){var Ie=H.sections[_e];Ie.image?ue.addImageSection(Ie):ue.addTextSection(Ie,q)}return ue},Cu.prototype.length=function(){return this.text.length},Cu.prototype.getSection=function(H){return this.sections[this.sectionIndex[H]]},Cu.prototype.getSectionIndex=function(H){return this.sectionIndex[H]},Cu.prototype.getCharCode=function(H){return this.text.charCodeAt(H)},Cu.prototype.verticalizePunctuation=function(){this.text=Yo(this.text)},Cu.prototype.trim=function(){for(var H=0,q=0;q<this.text.length&&b0[this.text.charCodeAt(q)];q++)H++;for(var ue=this.text.length,_e=this.text.length-1;_e>=0&&_e>=H&&b0[this.text.charCodeAt(_e)];_e--)ue--;this.text=this.text.substring(H,ue),this.sectionIndex=this.sectionIndex.slice(H,ue)},Cu.prototype.substring=function(H,q){var ue=new Cu;return ue.text=this.text.substring(H,q),ue.sectionIndex=this.sectionIndex.slice(H,q),ue.sections=this.sections,ue},Cu.prototype.toString=function(){return this.text},Cu.prototype.getMaxScale=function(){var H=this;return this.sectionIndex.reduce(function(q,ue){return Math.max(q,H.sections[ue].scale)},0)},Cu.prototype.addTextSection=function(H,q){this.text+=H.text,this.sections.push(b_.forText(H.scale,H.fontStack||q));for(var ue=this.sections.length-1,_e=0;_e<H.text.length;++_e)this.sectionIndex.push(ue)},Cu.prototype.addImageSection=function(H){var q=H.image?H.image.name:"";if(q.length===0){j("Can't add FormattedSection with an empty image.");return}var ue=this.getNextImageSectionCharCode();if(!ue){j("Reached maximum number of images "+(fle-sy+2));return}this.text+=String.fromCharCode(ue),this.sections.push(b_.forImage(q)),this.sectionIndex.push(this.sections.length-1)},Cu.prototype.getNextImageSectionCharCode=function(){return this.imageSectionID?this.imageSectionID>=fle?null:++this.imageSectionID:(this.imageSectionID=sy,this.imageSectionID)};function zSe($,H){for(var q=[],ue=$.text,_e=0,Ie=0,$e=H;Ie<$e.length;Ie+=1){var it=$e[Ie];q.push($.substring(_e,it)),_e=it}return _e<ue.length&&q.push($.substring(_e,ue.length)),q}function E6($,H,q,ue,_e,Ie,$e,it,St,Ot,zt,rr,vr,dr,Or,on){var Pn=Cu.fromFeature($,_e);rr===Lf.vertical&&Pn.verticalizePunctuation();var Mn,ca=Ba.processBidirectionalText,Wn=Ba.processStyledBidirectionalText;if(ca&&Pn.sections.length===1){Mn=[];for(var sa=ca(Pn.toString(),dR(Pn,Ot,Ie,H,ue,dr,Or)),va=0,Ma=sa;va<Ma.length;va+=1){var Ga=Ma[va],Ha=new Cu;Ha.text=Ga,Ha.sections=Pn.sections;for(var wi=0;wi<Ga.length;wi++)Ha.sectionIndex.push(0);Mn.push(Ha)}}else if(Wn){Mn=[];for(var pi=Wn(Pn.text,Pn.sectionIndex,dR(Pn,Ot,Ie,H,ue,dr,Or)),bi=0,ro=pi;bi<ro.length;bi+=1){var Ti=ro[bi],Mi=new Cu;Mi.text=Ti[0],Mi.sectionIndex=Ti[1],Mi.sections=Pn.sections,Mn.push(Mi)}}else Mn=zSe(Pn,dR(Pn,Ot,Ie,H,ue,dr,Or));var lo=[],qi={positionedLines:lo,text:Pn.toString(),top:zt[1],bottom:zt[1],left:zt[0],right:zt[0],writingMode:rr,iconsInText:!1,verticalizable:!1};return HSe(qi,H,q,ue,Mn,$e,it,St,rr,Ot,vr,on),BSe(lo)?!1:qi}var b0={};b0[9]=!0,b0[10]=!0,b0[11]=!0,b0[12]=!0,b0[13]=!0,b0[32]=!0;var _d={};_d[10]=!0,_d[32]=!0,_d[38]=!0,_d[40]=!0,_d[41]=!0,_d[43]=!0,_d[45]=!0,_d[47]=!0,_d[173]=!0,_d[183]=!0,_d[8203]=!0,_d[8208]=!0,_d[8211]=!0,_d[8231]=!0;function hle($,H,q,ue,_e,Ie){if(H.imageName){var St=ue[H.imageName];return St?St.displaySize[0]*H.scale*Mc/Ie+_e:0}else{var $e=q[H.fontStack],it=$e&&$e[$];return it?it.metrics.advance*H.scale+_e:0}}function USe($,H,q,ue,_e,Ie){for(var $e=0,it=0;it<$.length();it++){var St=$.getSection(it);$e+=hle($.getCharCode(it),St,ue,_e,H,Ie)}var Ot=Math.max(1,Math.ceil($e/q));return $e/Ot}function ple($,H,q,ue){var _e=Math.pow($-H,2);return ue?$<H?_e/2:_e*2:_e+Math.abs(q)*q}function $Se($,H,q){var ue=0;return $===10&&(ue-=1e4),q&&(ue+=150),($===40||$===65288)&&(ue+=50),(H===41||H===65289)&&(ue+=50),ue}function vle($,H,q,ue,_e,Ie){for(var $e=null,it=ple(H,q,_e,Ie),St=0,Ot=ue;St<Ot.length;St+=1){var zt=Ot[St],rr=H-zt.x,vr=ple(rr,q,_e,Ie)+zt.badness;vr<=it&&($e=zt,it=vr)}return{index:$,x:H,priorBreak:$e,badness:it}}function mle($){return $?mle($.priorBreak).concat($.index):[]}function dR($,H,q,ue,_e,Ie,$e){if(Ie!=="point")return[];if(!$)return[];for(var it=[],St=USe($,H,q,ue,_e,$e),Ot=$.text.indexOf("")>=0,zt=0,rr=0;rr<$.length();rr++){var vr=$.getSection(rr),dr=$.getCharCode(rr);if(b0[dr]||(zt+=hle(dr,vr,ue,_e,H,$e)),rr<$.length()-1){var Or=En(dr);(_d[dr]||Or||vr.imageName)&&it.push(vle(rr+1,zt,St,it,$Se(dr,$.getCharCode(rr+1),Or&&Ot),!1))}}return mle(vle($.length(),zt,St,it,0,!0))}function fR($){var H=.5,q=.5;switch($){case"right":case"top-right":case"bottom-right":H=1;break;case"left":case"top-left":case"bottom-left":H=0;break}switch($){case"bottom":case"bottom-right":case"bottom-left":q=1;break;case"top":case"top-right":case"top-left":q=0;break}return{horizontalAlign:H,verticalAlign:q}}function HSe($,H,q,ue,_e,Ie,$e,it,St,Ot,zt,rr){for(var vr=0,dr=I4,Or=0,on=0,Pn=it==="right"?1:it==="left"?0:.5,Mn=0,ca=0,Wn=_e;ca<Wn.length;ca+=1){var sa=Wn[ca];sa.trim();var va=sa.getMaxScale(),Ma=(va-1)*Mc,Ga={positionedGlyphs:[],lineOffset:0};$.positionedLines[Mn]=Ga;var Ha=Ga.positionedGlyphs,wi=0;if(!sa.length()){dr+=Ie,++Mn;continue}for(var pi=0;pi<sa.length();pi++){var bi=sa.getSection(pi),ro=sa.getSectionIndex(pi),Ti=sa.getCharCode(pi),Mi=0,lo=null,qi=null,ns=null,Ps=Mc,as=!(St===Lf.horizontal||!zt&&!In(Ti)||zt&&(b0[Ti]||gn(Ti)));if(bi.imageName){var Dl=ue[bi.imageName];if(!Dl)continue;ns=bi.imageName,$.iconsInText=$.iconsInText||!0,qi=Dl.paddedRect;var Ql=Dl.displaySize;bi.scale=bi.scale*Mc/rr,lo={width:Ql[0],height:Ql[1],left:qd,top:-ule,advance:as?Ql[1]:Ql[0]};var uu=Mc-Ql[1]*bi.scale;Mi=Ma+uu,Ps=lo.advance;var Nc=as?Ql[0]*bi.scale-Mc*va:Ql[1]*bi.scale-Mc*va;Nc>0&&Nc>wi&&(wi=Nc)}else{var is=q[bi.fontStack],qo=is&&is[Ti];if(qo&&qo.rect)qi=qo.rect,lo=qo.metrics;else{var qs=H[bi.fontStack],rl=qs&&qs[Ti];if(!rl)continue;lo=rl.metrics}Mi=(va-bi.scale)*Mc}as?($.verticalizable=!0,Ha.push({glyph:Ti,imageName:ns,x:vr,y:dr+Mi,vertical:as,scale:bi.scale,fontStack:bi.fontStack,sectionIndex:ro,metrics:lo,rect:qi}),vr+=Ps*bi.scale+Ot):(Ha.push({glyph:Ti,imageName:ns,x:vr,y:dr+Mi,vertical:as,scale:bi.scale,fontStack:bi.fontStack,sectionIndex:ro,metrics:lo,rect:qi}),vr+=lo.advance*bi.scale+Ot)}if(Ha.length!==0){var bd=vr-Ot;Or=Math.max(bd,Or),VSe(Ha,0,Ha.length-1,Pn,wi)}vr=0;var Ed=Ie*va+wi;Ga.lineOffset=Math.max(wi,Ma),dr+=Ed,on=Math.max(Ed,on),++Mn}var du=dr-I4,Zd=fR($e),Qd=Zd.horizontalAlign,Xc=Zd.verticalAlign;GSe($.positionedLines,Pn,Qd,Xc,Or,on,Ie,du,_e.length),$.top+=-Xc*du,$.bottom=$.top+du,$.left+=-Qd*Or,$.right=$.left+Or}function VSe($,H,q,ue,_e){if(!(!ue&&!_e))for(var Ie=$[q],$e=Ie.metrics.advance*Ie.scale,it=($[q].x+$e)*ue,St=H;St<=q;St++)$[St].x-=it,$[St].y+=_e}function GSe($,H,q,ue,_e,Ie,$e,it,St){var Ot=(H-q)*_e,zt=0;Ie!==$e?zt=-it*ue-I4:zt=(-ue*St+.5)*$e;for(var rr=0,vr=$;rr<vr.length;rr+=1)for(var dr=vr[rr],Or=0,on=dr.positionedGlyphs;Or<on.length;Or+=1){var Pn=on[Or];Pn.x+=Ot,Pn.y+=zt}}function jSe($,H,q){var ue=fR(q),_e=ue.horizontalAlign,Ie=ue.verticalAlign,$e=H[0],it=H[1],St=$e-$.displaySize[0]*_e,Ot=St+$.displaySize[0],zt=it-$.displaySize[1]*Ie,rr=zt+$.displaySize[1];return{image:$,top:zt,bottom:rr,left:St,right:Ot}}function gle($,H,q,ue,_e,Ie){var $e=$.image,it;if($e.content){var St=$e.content,Ot=$e.pixelRatio||1;it=[St[0]/Ot,St[1]/Ot,$e.displaySize[0]-St[2]/Ot,$e.displaySize[1]-St[3]/Ot]}var zt=H.left*Ie,rr=H.right*Ie,vr,dr,Or,on;q==="width"||q==="both"?(on=_e[0]+zt-ue[3],dr=_e[0]+rr+ue[1]):(on=_e[0]+(zt+rr-$e.displaySize[0])/2,dr=on+$e.displaySize[0]);var Pn=H.top*Ie,Mn=H.bottom*Ie;return q==="height"||q==="both"?(vr=_e[1]+Pn-ue[0],Or=_e[1]+Mn+ue[2]):(vr=_e[1]+(Pn+Mn-$e.displaySize[1])/2,Or=vr+$e.displaySize[1]),{image:$e,top:vr,right:dr,bottom:Or,left:on,collisionPadding:it}}var E_=function($){function H(q,ue,_e,Ie){$.call(this,q,ue),this.angle=_e,Ie!==void 0&&(this.segment=Ie)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.clone=function(){return new H(this.x,this.y,this.angle,this.segment)},H}(c);Ye("Anchor",E_);var E0=128;function hR($,H){var q=H.expression;if(q.kind==="constant"){var ue=q.evaluate(new _i($+1));return{kind:"constant",layoutSize:ue}}else{if(q.kind==="source")return{kind:"source"};for(var _e=q.zoomStops,Ie=q.interpolationType,$e=0;$e<_e.length&&_e[$e]<=$;)$e++;$e=Math.max(0,$e-1);for(var it=$e;it<_e.length&&_e[it]<$+1;)it++;it=Math.min(_e.length-1,it);var St=_e[$e],Ot=_e[it];if(q.kind==="composite")return{kind:"composite",minZoom:St,maxZoom:Ot,interpolationType:Ie};var zt=q.evaluate(new _i(St)),rr=q.evaluate(new _i(Ot));return{kind:"camera",minZoom:St,maxZoom:Ot,minSize:zt,maxSize:rr,interpolationType:Ie}}}function yle($,H,q){var ue=H.uSize,_e=H.uSizeT,Ie=q.lowerSize,$e=q.upperSize;return $.kind==="source"?Ie/E0:$.kind==="composite"?ws(Ie/E0,$e/E0,_e):ue}function _le($,H){var q=0,ue=0;if($.kind==="constant")ue=$.layoutSize;else if($.kind!=="source"){var _e=$.interpolationType,Ie=$.minZoom,$e=$.maxZoom,it=_e?w(Xs.interpolationFactor(_e,H,Ie,$e),0,1):0;$.kind==="camera"?ue=ws($.minSize,$.maxSize,it):q=it}return{uSizeT:q,uSize:ue}}var YSe=Object.freeze({__proto__:null,getSizeData:hR,evaluateSizeForFeature:yle,evaluateSizeForZoom:_le,SIZE_PACK_FACTOR:E0});function xle($,H,q,ue,_e){if(H.segment===void 0)return!0;for(var Ie=H,$e=H.segment+1,it=0;it>-q/2;){if($e--,$e<0)return!1;it-=$[$e].dist(Ie),Ie=$[$e]}it+=$[$e].dist($[$e+1]),$e++;for(var St=[],Ot=0;it<q/2;){var zt=$[$e-1],rr=$[$e],vr=$[$e+1];if(!vr)return!1;var dr=zt.angleTo(rr)-rr.angleTo(vr);for(dr=Math.abs((dr+3*Math.PI)%(Math.PI*2)-Math.PI),St.push({distance:it,angleDelta:dr}),Ot+=dr;it-St[0].distance>ue;)Ot-=St.shift().angleDelta;if(Ot>_e)return!1;$e++,it+=rr.dist(vr)}return!0}function ble($){for(var H=0,q=0;q<$.length-1;q++)H+=$[q].dist($[q+1]);return H}function Ele($,H,q){return $?.6*H*q:0}function Sle($,H){return Math.max($?$.right-$.left:0,H?H.right-H.left:0)}function WSe($,H,q,ue,_e,Ie){for(var $e=Ele(q,_e,Ie),it=Sle(q,ue)*Ie,St=0,Ot=ble($)/2,zt=0;zt<$.length-1;zt++){var rr=$[zt],vr=$[zt+1],dr=rr.dist(vr);if(St+dr>Ot){var Or=(Ot-St)/dr,on=ws(rr.x,vr.x,Or),Pn=ws(rr.y,vr.y,Or),Mn=new E_(on,Pn,vr.angleTo(rr),zt);return Mn._round(),!$e||xle($,Mn,it,$e,H)?Mn:void 0}St+=dr}}function KSe($,H,q,ue,_e,Ie,$e,it,St){var Ot=Ele(ue,Ie,$e),zt=Sle(ue,_e),rr=zt*$e,vr=$[0].x===0||$[0].x===St||$[0].y===0||$[0].y===St;H-rr<H/4&&(H=rr+H/4);var dr=Ie*2,Or=vr?H/2*it%H:(zt/2+dr)*$e*it%H;return S6($,Or,H,Ot,q,rr,vr,!1,St)}function S6($,H,q,ue,_e,Ie,$e,it,St){for(var Ot=Ie/2,zt=ble($),rr=0,vr=H-q,dr=[],Or=0;Or<$.length-1;Or++){for(var on=$[Or],Pn=$[Or+1],Mn=on.dist(Pn),ca=Pn.angleTo(on);vr+q<rr+Mn;){vr+=q;var Wn=(vr-rr)/Mn,sa=ws(on.x,Pn.x,Wn),va=ws(on.y,Pn.y,Wn);if(sa>=0&&sa<St&&va>=0&&va<St&&vr-Ot>=0&&vr+Ot<=zt){var Ma=new E_(sa,va,ca,Or);Ma._round(),(!ue||xle($,Ma,Ie,ue,_e))&&dr.push(Ma)}}rr+=Mn}return!it&&!dr.length&&!$e&&(dr=S6($,rr/2,q,ue,_e,Ie,$e,!0,St)),dr}function pR($,H,q,ue,_e){for(var Ie=[],$e=0;$e<$.length;$e++)for(var it=$[$e],St=void 0,Ot=0;Ot<it.length-1;Ot++){var zt=it[Ot],rr=it[Ot+1];zt.x<H&&rr.x<H||(zt.x<H?zt=new c(H,zt.y+(rr.y-zt.y)*((H-zt.x)/(rr.x-zt.x)))._round():rr.x<H&&(rr=new c(H,zt.y+(rr.y-zt.y)*((H-zt.x)/(rr.x-zt.x)))._round()),!(zt.y<q&&rr.y<q)&&(zt.y<q?zt=new c(zt.x+(rr.x-zt.x)*((q-zt.y)/(rr.y-zt.y)),q)._round():rr.y<q&&(rr=new c(zt.x+(rr.x-zt.x)*((q-zt.y)/(rr.y-zt.y)),q)._round()),!(zt.x>=ue&&rr.x>=ue)&&(zt.x>=ue?zt=new c(ue,zt.y+(rr.y-zt.y)*((ue-zt.x)/(rr.x-zt.x)))._round():rr.x>=ue&&(rr=new c(ue,zt.y+(rr.y-zt.y)*((ue-zt.x)/(rr.x-zt.x)))._round()),!(zt.y>=_e&&rr.y>=_e)&&(zt.y>=_e?zt=new c(zt.x+(rr.x-zt.x)*((_e-zt.y)/(rr.y-zt.y)),_e)._round():rr.y>=_e&&(rr=new c(zt.x+(rr.x-zt.x)*((_e-zt.y)/(rr.y-zt.y)),_e)._round()),(!St||!zt.equals(St[St.length-1]))&&(St=[zt],Ie.push(St)),St.push(rr)))))}return Ie}var ly=qd;function wle($,H,q,ue){var _e=[],Ie=$.image,$e=Ie.pixelRatio,it=Ie.paddedRect.w-2*ly,St=Ie.paddedRect.h-2*ly,Ot=$.right-$.left,zt=$.bottom-$.top,rr=Ie.stretchX||[[0,it]],vr=Ie.stretchY||[[0,St]],dr=function(is,qo){return is+qo[1]-qo[0]},Or=rr.reduce(dr,0),on=vr.reduce(dr,0),Pn=it-Or,Mn=St-on,ca=0,Wn=Or,sa=0,va=on,Ma=0,Ga=Pn,Ha=0,wi=Mn;if(Ie.content&&ue){var pi=Ie.content;ca=w6(rr,0,pi[0]),sa=w6(vr,0,pi[1]),Wn=w6(rr,pi[0],pi[2]),va=w6(vr,pi[1],pi[3]),Ma=pi[0]-ca,Ha=pi[1]-sa,Ga=pi[2]-pi[0]-Wn,wi=pi[3]-pi[1]-va}var bi=function(is,qo,qs,rl){var Dl=S_(is.stretch-ca,Wn,Ot,$.left),Ql=T6(is.fixed-Ma,Ga,is.stretch,Or),uu=S_(qo.stretch-sa,va,zt,$.top),Nc=T6(qo.fixed-Ha,wi,qo.stretch,on),bd=S_(qs.stretch-ca,Wn,Ot,$.left),Ed=T6(qs.fixed-Ma,Ga,qs.stretch,Or),du=S_(rl.stretch-sa,va,zt,$.top),Zd=T6(rl.fixed-Ha,wi,rl.stretch,on),Qd=new c(Dl,uu),Xc=new c(bd,uu),Jd=new c(bd,du),Tp=new c(Dl,du),dy=new c(Ql/$e,Nc/$e),R_=new c(Ed/$e,Zd/$e),N_=H*Math.PI/180;if(N_){var I_=Math.sin(N_),M6=Math.cos(N_),_1=[M6,-I_,I_,M6];Qd._matMult(_1),Xc._matMult(_1),Tp._matMult(_1),Jd._matMult(_1)}var Nle=is.stretch+is.fixed,m4e=qs.stretch+qs.fixed,Ile=qo.stretch+qo.fixed,g4e=rl.stretch+rl.fixed,w0={x:Ie.paddedRect.x+ly+Nle,y:Ie.paddedRect.y+ly+Ile,w:m4e-Nle,h:g4e-Ile},R6=Ga/$e/Ot,Lle=wi/$e/zt;return{tl:Qd,tr:Xc,bl:Tp,br:Jd,tex:w0,writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:dy,pixelOffsetBR:R_,minFontScaleX:R6,minFontScaleY:Lle,isSDF:q}};if(!ue||!Ie.stretchX&&!Ie.stretchY)_e.push(bi({fixed:0,stretch:-1},{fixed:0,stretch:-1},{fixed:0,stretch:it+1},{fixed:0,stretch:St+1}));else for(var ro=Tle(rr,Pn,Or),Ti=Tle(vr,Mn,on),Mi=0;Mi<ro.length-1;Mi++)for(var lo=ro[Mi],qi=ro[Mi+1],ns=0;ns<Ti.length-1;ns++){var Ps=Ti[ns],as=Ti[ns+1];_e.push(bi(lo,Ps,qi,as))}return _e}function w6($,H,q){for(var ue=0,_e=0,Ie=$;_e<Ie.length;_e+=1){var $e=Ie[_e];ue+=Math.max(H,Math.min(q,$e[1]))-Math.max(H,Math.min(q,$e[0]))}return ue}function Tle($,H,q){for(var ue=[{fixed:-ly,stretch:0}],_e=0,Ie=$;_e<Ie.length;_e+=1){var $e=Ie[_e],it=$e[0],St=$e[1],Ot=ue[ue.length-1];ue.push({fixed:it-Ot.stretch,stretch:Ot.stretch}),ue.push({fixed:it-Ot.stretch,stretch:Ot.stretch+(St-it)})}return ue.push({fixed:H+ly,stretch:q}),ue}function S_($,H,q,ue){return $/H*q+ue}function T6($,H,q,ue){return $-H*q/ue}function XSe($,H,q,ue,_e,Ie,$e,it){for(var St=ue.layout.get("text-rotate").evaluate(Ie,{})*Math.PI/180,Ot=[],zt=0,rr=H.positionedLines;zt<rr.length;zt+=1)for(var vr=rr[zt],dr=0,Or=vr.positionedGlyphs;dr<Or.length;dr+=1){var on=Or[dr];if(on.rect){var Pn=on.rect||{},Mn=1,ca=ule+Mn,Wn=!0,sa=1,va=0,Ma=(_e||it)&&on.vertical,Ga=on.metrics.advance*on.scale/2;if(it&&H.verticalizable){var Ha=(on.scale-1)*Mc,wi=(Mc-on.metrics.width*on.scale)/2;va=vr.lineOffset/2-(on.imageName?-wi:Ha)}if(on.imageName){var pi=$e[on.imageName];Wn=pi.sdf,sa=pi.pixelRatio,ca=qd/sa}var bi=_e?[on.x+Ga,on.y]:[0,0],ro=_e?[0,0]:[on.x+Ga+q[0],on.y+q[1]-va],Ti=[0,0];Ma&&(Ti=ro,ro=[0,0]);var Mi=(on.metrics.left-ca)*on.scale-Ga+ro[0],lo=(-on.metrics.top-ca)*on.scale+ro[1],qi=Mi+Pn.w*on.scale/sa,ns=lo+Pn.h*on.scale/sa,Ps=new c(Mi,lo),as=new c(qi,lo),is=new c(Mi,ns),qo=new c(qi,ns);if(Ma){var qs=new c(-Ga,Ga-I4),rl=-Math.PI/2,Dl=Mc/2-Ga,Ql=on.imageName?Dl:0,uu=new c(5-I4-Dl,-Ql),Nc=new(Function.prototype.bind.apply(c,[null].concat(Ti)));Ps._rotateAround(rl,qs)._add(uu)._add(Nc),as._rotateAround(rl,qs)._add(uu)._add(Nc),is._rotateAround(rl,qs)._add(uu)._add(Nc),qo._rotateAround(rl,qs)._add(uu)._add(Nc)}if(St){var bd=Math.sin(St),Ed=Math.cos(St),du=[Ed,-bd,bd,Ed];Ps._matMult(du),as._matMult(du),is._matMult(du),qo._matMult(du)}var Zd=new c(0,0),Qd=new c(0,0),Xc=0,Jd=0;Ot.push({tl:Ps,tr:as,bl:is,br:qo,tex:Pn,writingMode:H.writingMode,glyphOffset:bi,sectionIndex:on.sectionIndex,isSDF:Wn,pixelOffsetTL:Zd,pixelOffsetBR:Qd,minFontScaleX:Xc,minFontScaleY:Jd})}}return Ot}var A6=function(H,q,ue,_e,Ie,$e,it,St,Ot,zt){if(this.boxStartIndex=H.length,Ot){var rr=$e.top,vr=$e.bottom,dr=$e.collisionPadding;dr&&(rr-=dr[1],vr+=dr[3]);var Or=vr-rr;Or>0&&(Or=Math.max(10,Or),this.circleDiameter=Or)}else{var on=$e.top*it-St,Pn=$e.bottom*it+St,Mn=$e.left*it-St,ca=$e.right*it+St,Wn=$e.collisionPadding;if(Wn&&(Mn-=Wn[0]*it,on-=Wn[1]*it,ca+=Wn[2]*it,Pn+=Wn[3]*it),zt){var sa=new c(Mn,on),va=new c(ca,on),Ma=new c(Mn,Pn),Ga=new c(ca,Pn),Ha=zt*Math.PI/180;sa._rotate(Ha),va._rotate(Ha),Ma._rotate(Ha),Ga._rotate(Ha),Mn=Math.min(sa.x,va.x,Ma.x,Ga.x),ca=Math.max(sa.x,va.x,Ma.x,Ga.x),on=Math.min(sa.y,va.y,Ma.y,Ga.y),Pn=Math.max(sa.y,va.y,Ma.y,Ga.y)}H.emplaceBack(q.x,q.y,Mn,on,ca,Pn,ue,_e,Ie)}this.boxEndIndex=H.length},lu=function(H,q){if(H===void 0&&(H=[]),q===void 0&&(q=vR),this.data=H,this.length=this.data.length,this.compare=q,this.length>0)for(var ue=(this.length>>1)-1;ue>=0;ue--)this._down(ue)};lu.prototype.push=function(H){this.data.push(H),this.length++,this._up(this.length-1)},lu.prototype.pop=function(){if(this.length!==0){var H=this.data[0],q=this.data.pop();return this.length--,this.length>0&&(this.data[0]=q,this._down(0)),H}},lu.prototype.peek=function(){return this.data[0]},lu.prototype._up=function(H){for(var q=this,ue=q.data,_e=q.compare,Ie=ue[H];H>0;){var $e=H-1>>1,it=ue[$e];if(_e(Ie,it)>=0)break;ue[H]=it,H=$e}ue[H]=Ie},lu.prototype._down=function(H){for(var q=this,ue=q.data,_e=q.compare,Ie=this.length>>1,$e=ue[H];H<Ie;){var it=(H<<1)+1,St=ue[it],Ot=it+1;if(Ot<this.length&&_e(ue[Ot],St)<0&&(it=Ot,St=ue[Ot]),_e(St,$e)>=0)break;ue[H]=St,H=it}ue[H]=$e};function vR($,H){return $<H?-1:$>H?1:0}function qSe($,H,q){q===void 0&&(q=!1);for(var ue=1/0,_e=1/0,Ie=-1/0,$e=-1/0,it=$[0],St=0;St<it.length;St++){var Ot=it[St];(!St||Ot.x<ue)&&(ue=Ot.x),(!St||Ot.y<_e)&&(_e=Ot.y),(!St||Ot.x>Ie)&&(Ie=Ot.x),(!St||Ot.y>$e)&&($e=Ot.y)}var zt=Ie-ue,rr=$e-_e,vr=Math.min(zt,rr),dr=vr/2,Or=new lu([],ZSe);if(vr===0)return new c(ue,_e);for(var on=ue;on<Ie;on+=vr)for(var Pn=_e;Pn<$e;Pn+=vr)Or.push(new w_(on+dr,Pn+dr,dr,$));for(var Mn=mR($),ca=Or.length;Or.length;){var Wn=Or.pop();(Wn.d>Mn.d||!Mn.d)&&(Mn=Wn,q&&console.log("found best %d after %d probes",Math.round(1e4*Wn.d)/1e4,ca)),!(Wn.max-Mn.d<=H)&&(dr=Wn.h/2,Or.push(new w_(Wn.p.x-dr,Wn.p.y-dr,dr,$)),Or.push(new w_(Wn.p.x+dr,Wn.p.y-dr,dr,$)),Or.push(new w_(Wn.p.x-dr,Wn.p.y+dr,dr,$)),Or.push(new w_(Wn.p.x+dr,Wn.p.y+dr,dr,$)),ca+=4)}return q&&(console.log("num probes: "+ca),console.log("best distance: "+Mn.d)),Mn.p}function ZSe($,H){return H.max-$.max}function w_($,H,q,ue){this.p=new c($,H),this.h=q,this.d=QSe(this.p,ue),this.max=this.d+this.h*Math.SQRT2}function QSe($,H){for(var q=!1,ue=1/0,_e=0;_e<H.length;_e++)for(var Ie=H[_e],$e=0,it=Ie.length,St=it-1;$e<it;St=$e++){var Ot=Ie[$e],zt=Ie[St];Ot.y>$.y!=zt.y>$.y&&$.x<(zt.x-Ot.x)*($.y-Ot.y)/(zt.y-Ot.y)+Ot.x&&(q=!q),ue=Math.min(ue,mv($,Ot,zt))}return(q?1:-1)*Math.sqrt(ue)}function mR($){for(var H=0,q=0,ue=0,_e=$[0],Ie=0,$e=_e.length,it=$e-1;Ie<$e;it=Ie++){var St=_e[Ie],Ot=_e[it],zt=St.x*Ot.y-Ot.x*St.y;q+=(St.x+Ot.x)*zt,ue+=(St.y+Ot.y)*zt,H+=zt*3}return new w_(q/H,ue/H,0,$)}var T_=7,L4=Number.POSITIVE_INFINITY;function Ale($,H){function q(_e,Ie){var $e=0,it=0;Ie<0&&(Ie=0);var St=Ie/Math.sqrt(2);switch(_e){case"top-right":case"top-left":it=St-T_;break;case"bottom-right":case"bottom-left":it=-St+T_;break;case"bottom":it=-Ie+T_;break;case"top":it=Ie-T_;break}switch(_e){case"top-right":case"bottom-right":$e=-St;break;case"top-left":case"bottom-left":$e=St;break;case"left":$e=Ie;break;case"right":$e=-Ie;break}return[$e,it]}function ue(_e,Ie,$e){var it=0,St=0;switch(Ie=Math.abs(Ie),$e=Math.abs($e),_e){case"top-right":case"top-left":case"top":St=$e-T_;break;case"bottom-right":case"bottom-left":case"bottom":St=-$e+T_;break}switch(_e){case"top-right":case"bottom-right":case"right":it=-Ie;break;case"top-left":case"bottom-left":case"left":it=Ie;break}return[it,St]}return H[1]!==L4?ue($,H[0],H[1]):q($,H[0])}function JSe($,H,q,ue,_e,Ie,$e){$.createArrays();var it=512*$.overscaling;$.tilePixelRatio=Si/it,$.compareText={},$.iconsNeedLinear=!1;var St=$.layers[0].layout,Ot=$.layers[0]._unevaluatedLayout._values,zt={};if($.textSizeData.kind==="composite"){var rr=$.textSizeData,vr=rr.minZoom,dr=rr.maxZoom;zt.compositeTextSizes=[Ot["text-size"].possiblyEvaluate(new _i(vr),$e),Ot["text-size"].possiblyEvaluate(new _i(dr),$e)]}if($.iconSizeData.kind==="composite"){var Or=$.iconSizeData,on=Or.minZoom,Pn=Or.maxZoom;zt.compositeIconSizes=[Ot["icon-size"].possiblyEvaluate(new _i(on),$e),Ot["icon-size"].possiblyEvaluate(new _i(Pn),$e)]}zt.layoutTextSize=Ot["text-size"].possiblyEvaluate(new _i($.zoom+1),$e),zt.layoutIconSize=Ot["icon-size"].possiblyEvaluate(new _i($.zoom+1),$e),zt.textMaxSize=Ot["text-size"].possiblyEvaluate(new _i(18));for(var Mn=St.get("text-line-height")*Mc,ca=St.get("text-rotation-alignment")==="map"&&St.get("symbol-placement")!=="point",Wn=St.get("text-keep-upright"),sa=St.get("text-size"),va=function(){var Ha=Ga[Ma],wi=St.get("text-font").evaluate(Ha,{},$e).join(","),pi=sa.evaluate(Ha,{},$e),bi=zt.layoutTextSize.evaluate(Ha,{},$e),ro=zt.layoutIconSize.evaluate(Ha,{},$e),Ti={horizontal:{},vertical:void 0},Mi=Ha.text,lo=[0,0];if(Mi){var qi=Mi.toString(),ns=St.get("text-letter-spacing").evaluate(Ha,{},$e)*Mc,Ps=Vr(qi)?ns:0,as=St.get("text-anchor").evaluate(Ha,{},$e),is=St.get("text-variable-anchor");if(!is){var qo=St.get("text-radial-offset").evaluate(Ha,{},$e);qo?lo=Ale(as,[qo*Mc,L4]):lo=St.get("text-offset").evaluate(Ha,{},$e).map(function(dy){return dy*Mc})}var qs=ca?"center":St.get("text-justify").evaluate(Ha,{},$e),rl=St.get("symbol-placement"),Dl=rl==="point"?St.get("text-max-width").evaluate(Ha,{},$e)*Mc:0,Ql=function(){$.allowVerticalPlacement&&hr(qi)&&(Ti.vertical=E6(Mi,H,q,_e,wi,Dl,Mn,as,"left",Ps,lo,Lf.vertical,!0,rl,bi,pi))};if(!ca&&is){for(var uu=qs==="auto"?is.map(function(dy){return gR(dy)}):[qs],Nc=!1,bd=0;bd<uu.length;bd++){var Ed=uu[bd];if(!Ti.horizontal[Ed])if(Nc)Ti.horizontal[Ed]=Ti.horizontal[0];else{var du=E6(Mi,H,q,_e,wi,Dl,Mn,"center",Ed,Ps,lo,Lf.horizontal,!1,rl,bi,pi);du&&(Ti.horizontal[Ed]=du,Nc=du.positionedLines.length===1)}}Ql()}else{qs==="auto"&&(qs=gR(as));var Zd=E6(Mi,H,q,_e,wi,Dl,Mn,as,qs,Ps,lo,Lf.horizontal,!1,rl,bi,pi);Zd&&(Ti.horizontal[qs]=Zd),Ql(),hr(qi)&&ca&&Wn&&(Ti.vertical=E6(Mi,H,q,_e,wi,Dl,Mn,as,qs,Ps,lo,Lf.vertical,!1,rl,bi,pi))}}var Qd=void 0,Xc=!1;if(Ha.icon&&Ha.icon.name){var Jd=ue[Ha.icon.name];Jd&&(Qd=jSe(_e[Ha.icon.name],St.get("icon-offset").evaluate(Ha,{},$e),St.get("icon-anchor").evaluate(Ha,{},$e)),Xc=Jd.sdf,$.sdfIcons===void 0?$.sdfIcons=Jd.sdf:$.sdfIcons!==Jd.sdf&&j("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"),(Jd.pixelRatio!==$.pixelRatio||St.get("icon-rotate").constantOr(1)!==0)&&($.iconsNeedLinear=!0))}var Tp=kle(Ti.horizontal)||Ti.vertical;$.iconsInText=Tp?Tp.iconsInText:!1,(Tp||Qd)&&e4e($,Ha,Ti,Qd,ue,zt,bi,ro,lo,Xc,$e)},Ma=0,Ga=$.features;Ma<Ga.length;Ma+=1)va();Ie&&$.generateCollisionDebugBuffers()}function gR($){switch($){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}function e4e($,H,q,ue,_e,Ie,$e,it,St,Ot,zt){var rr=Ie.textMaxSize.evaluate(H,{});rr===void 0&&(rr=$e);var vr=$.layers[0].layout,dr=vr.get("icon-offset").evaluate(H,{},zt),Or=kle(q.horizontal),on=24,Pn=$e/on,Mn=$.tilePixelRatio*Pn,ca=$.tilePixelRatio*rr/on,Wn=$.tilePixelRatio*it,sa=$.tilePixelRatio*vr.get("symbol-spacing"),va=vr.get("text-padding")*$.tilePixelRatio,Ma=vr.get("icon-padding")*$.tilePixelRatio,Ga=vr.get("text-max-angle")/180*Math.PI,Ha=vr.get("text-rotation-alignment")==="map"&&vr.get("symbol-placement")!=="point",wi=vr.get("icon-rotation-alignment")==="map"&&vr.get("symbol-placement")!=="point",pi=vr.get("symbol-placement"),bi=sa/2,ro=vr.get("icon-text-fit"),Ti;ue&&ro!=="none"&&($.allowVerticalPlacement&&q.vertical&&(Ti=gle(ue,q.vertical,ro,vr.get("icon-text-fit-padding"),dr,Pn)),Or&&(ue=gle(ue,Or,ro,vr.get("icon-text-fit-padding"),dr,Pn)));var Mi=function(M6,_1){_1.x<0||_1.x>=Si||_1.y<0||_1.y>=Si||yR($,_1,M6,q,ue,_e,Ti,$.layers[0],$.collisionBoxArray,H.index,H.sourceLayerIndex,$.index,Mn,va,Ha,St,Wn,Ma,wi,dr,H,Ie,Ot,zt,$e)};if(pi==="line")for(var lo=0,qi=pR(H.geometry,0,0,Si,Si);lo<qi.length;lo+=1)for(var ns=qi[lo],Ps=KSe(ns,sa,Ga,q.vertical||Or,ue,on,ca,$.overscaling,Si),as=0,is=Ps;as<is.length;as+=1){var qo=is[as],qs=Or;(!qs||!_R($,qs.text,bi,qo))&&Mi(ns,qo)}else if(pi==="line-center")for(var rl=0,Dl=H.geometry;rl<Dl.length;rl+=1){var Ql=Dl[rl];if(Ql.length>1){var uu=WSe(Ql,Ga,q.vertical||Or,ue,on,ca);uu&&Mi(Ql,uu)}}else if(H.type==="Polygon")for(var Nc=0,bd=m_(H.geometry,0);Nc<bd.length;Nc+=1){var Ed=bd[Nc],du=qSe(Ed,16);Mi(Ed[0],new E_(du.x,du.y,0))}else if(H.type==="LineString")for(var Zd=0,Qd=H.geometry;Zd<Qd.length;Zd+=1){var Xc=Qd[Zd];Mi(Xc,new E_(Xc[0].x,Xc[0].y,0))}else if(H.type==="Point")for(var Jd=0,Tp=H.geometry;Jd<Tp.length;Jd+=1)for(var dy=Tp[Jd],R_=0,N_=dy;R_<N_.length;R_+=1){var I_=N_[R_];Mi([I_],new E_(I_.x,I_.y,0))}}var A_=255,jm=A_*E0;function Cle($,H,q,ue,_e,Ie,$e,it,St,Ot,zt,rr,vr,dr,Or){var on=XSe(H,q,it,_e,Ie,$e,ue,$.allowVerticalPlacement),Pn=$.textSizeData,Mn=null;Pn.kind==="source"?(Mn=[E0*_e.layout.get("text-size").evaluate($e,{})],Mn[0]>jm&&j($.layerIds[0]+': Value for "text-size" is >= '+A_+'. Reduce your "text-size".')):Pn.kind==="composite"&&(Mn=[E0*dr.compositeTextSizes[0].evaluate($e,{},Or),E0*dr.compositeTextSizes[1].evaluate($e,{},Or)],(Mn[0]>jm||Mn[1]>jm)&&j($.layerIds[0]+': Value for "text-size" is >= '+A_+'. Reduce your "text-size".')),$.addSymbols($.text,on,Mn,it,Ie,$e,Ot,H,St.lineStartIndex,St.lineLength,vr,Or);for(var ca=0,Wn=zt;ca<Wn.length;ca+=1){var sa=Wn[ca];rr[sa]=$.text.placedSymbolArray.length-1}return on.length*4}function kle($){for(var H in $)return $[H];return null}function yR($,H,q,ue,_e,Ie,$e,it,St,Ot,zt,rr,vr,dr,Or,on,Pn,Mn,ca,Wn,sa,va,Ma,Ga,Ha){var wi,pi=$.addToLineVertexArray(H,q),bi,ro,Ti,Mi,lo=0,qi=0,ns=0,Ps=0,as=-1,is=-1,qo={},qs=xe(""),rl=0,Dl=0;if(it._unevaluatedLayout.getValue("text-radial-offset")===void 0?(wi=it.layout.get("text-offset").evaluate(sa,{},Ga).map(function(SR){return SR*Mc}),rl=wi[0],Dl=wi[1]):(rl=it.layout.get("text-radial-offset").evaluate(sa,{},Ga)*Mc,Dl=L4),$.allowVerticalPlacement&&ue.vertical){var Ql=it.layout.get("text-rotate").evaluate(sa,{},Ga),uu=Ql+90,Nc=ue.vertical;Ti=new A6(St,H,Ot,zt,rr,Nc,vr,dr,Or,uu),$e&&(Mi=new A6(St,H,Ot,zt,rr,$e,Pn,Mn,Or,uu))}if(_e){var bd=it.layout.get("icon-rotate").evaluate(sa,{}),Ed=it.layout.get("icon-text-fit")!=="none",du=wle(_e,bd,Ma,Ed),Zd=$e?wle($e,bd,Ma,Ed):void 0;ro=new A6(St,H,Ot,zt,rr,_e,Pn,Mn,!1,bd),lo=du.length*4;var Qd=$.iconSizeData,Xc=null;Qd.kind==="source"?(Xc=[E0*it.layout.get("icon-size").evaluate(sa,{})],Xc[0]>jm&&j($.layerIds[0]+': Value for "icon-size" is >= '+A_+'. Reduce your "icon-size".')):Qd.kind==="composite"&&(Xc=[E0*va.compositeIconSizes[0].evaluate(sa,{},Ga),E0*va.compositeIconSizes[1].evaluate(sa,{},Ga)],(Xc[0]>jm||Xc[1]>jm)&&j($.layerIds[0]+': Value for "icon-size" is >= '+A_+'. Reduce your "icon-size".')),$.addSymbols($.icon,du,Xc,Wn,ca,sa,!1,H,pi.lineStartIndex,pi.lineLength,-1,Ga),as=$.icon.placedSymbolArray.length-1,Zd&&(qi=Zd.length*4,$.addSymbols($.icon,Zd,Xc,Wn,ca,sa,Lf.vertical,H,pi.lineStartIndex,pi.lineLength,-1,Ga),is=$.icon.placedSymbolArray.length-1)}for(var Jd in ue.horizontal){var Tp=ue.horizontal[Jd];if(!bi){qs=xe(Tp.text);var dy=it.layout.get("text-rotate").evaluate(sa,{},Ga);bi=new A6(St,H,Ot,zt,rr,Tp,vr,dr,Or,dy)}var R_=Tp.positionedLines.length===1;if(ns+=Cle($,H,Tp,Ie,it,Or,sa,on,pi,ue.vertical?Lf.horizontal:Lf.horizontalOnly,R_?Object.keys(ue.horizontal):[Jd],qo,as,va,Ga),R_)break}ue.vertical&&(Ps+=Cle($,H,ue.vertical,Ie,it,Or,sa,on,pi,Lf.vertical,["vertical"],qo,is,va,Ga));var N_=bi?bi.boxStartIndex:$.collisionBoxArray.length,I_=bi?bi.boxEndIndex:$.collisionBoxArray.length,M6=Ti?Ti.boxStartIndex:$.collisionBoxArray.length,_1=Ti?Ti.boxEndIndex:$.collisionBoxArray.length,Nle=ro?ro.boxStartIndex:$.collisionBoxArray.length,m4e=ro?ro.boxEndIndex:$.collisionBoxArray.length,Ile=Mi?Mi.boxStartIndex:$.collisionBoxArray.length,g4e=Mi?Mi.boxEndIndex:$.collisionBoxArray.length,w0=-1,R6=function(SR,JJe){return SR&&SR.circleDiameter?Math.max(SR.circleDiameter,JJe):JJe};w0=R6(bi,w0),w0=R6(Ti,w0),w0=R6(ro,w0),w0=R6(Mi,w0);var Lle=w0>-1?1:0;Lle&&(w0*=Ha/Mc),$.glyphOffsetArray.length>=As.MAX_GLYPHS&&j("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),sa.sortKey!==void 0&&$.addToSortKeyRanges($.symbolInstances.length,sa.sortKey),$.symbolInstances.emplaceBack(H.x,H.y,qo.right>=0?qo.right:-1,qo.center>=0?qo.center:-1,qo.left>=0?qo.left:-1,qo.vertical||-1,as,is,qs,N_,I_,M6,_1,Nle,m4e,Ile,g4e,Ot,ns,Ps,lo,qi,Lle,0,vr,rl,Dl,w0)}function _R($,H,q,ue){var _e=$.compareText;if(!(H in _e))_e[H]=[];else for(var Ie=_e[H],$e=Ie.length-1;$e>=0;$e--)if(ue.dist(Ie[$e])<q)return!0;return _e[H].push(ue),!1}var t4e=g_.VectorTileFeature.types,r4e=[{name:"a_fade_opacity",components:1,type:"Uint8",offset:0}];function C6($,H,q,ue,_e,Ie,$e,it,St,Ot,zt,rr,vr){var dr=it?Math.min(jm,Math.round(it[0])):0,Or=it?Math.min(jm,Math.round(it[1])):0;$.emplaceBack(H,q,Math.round(ue*32),Math.round(_e*32),Ie,$e,(dr<<1)+(St?1:0),Or,Ot*16,zt*16,rr*256,vr*256)}function xR($,H,q){$.emplaceBack(H.x,H.y,q),$.emplaceBack(H.x,H.y,q),$.emplaceBack(H.x,H.y,q),$.emplaceBack(H.x,H.y,q)}function n4e($){for(var H=0,q=$.sections;H<q.length;H+=1){var ue=q[H];if(Tn(ue.text))return!0}return!1}var C_=function(H){this.layoutVertexArray=new h1,this.indexArray=new Rf,this.programConfigurations=H,this.segments=new xl,this.dynamicLayoutVertexArray=new s_,this.opacityVertexArray=new p1,this.placedSymbolArray=new ph};C_.prototype.isEmpty=function(){return this.layoutVertexArray.length===0&&this.indexArray.length===0&&this.dynamicLayoutVertexArray.length===0&&this.opacityVertexArray.length===0},C_.prototype.upload=function(H,q,ue,_e){this.isEmpty()||(ue&&(this.layoutVertexBuffer=H.createVertexBuffer(this.layoutVertexArray,_h.members),this.indexBuffer=H.createIndexBuffer(this.indexArray,q),this.dynamicLayoutVertexBuffer=H.createVertexBuffer(this.dynamicLayoutVertexArray,y_.members,!0),this.opacityVertexBuffer=H.createVertexBuffer(this.opacityVertexArray,r4e,!0),this.opacityVertexBuffer.itemSize=1),(ue||_e)&&this.programConfigurations.upload(H))},C_.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.dynamicLayoutVertexBuffer.destroy(),this.opacityVertexBuffer.destroy())},Ye("SymbolBuffers",C_);var O4=function(H,q,ue){this.layoutVertexArray=new H,this.layoutAttributes=q,this.indexArray=new ue,this.segments=new xl,this.collisionVertexArray=new Gu};O4.prototype.upload=function(H){this.layoutVertexBuffer=H.createVertexBuffer(this.layoutVertexArray,this.layoutAttributes),this.indexBuffer=H.createIndexBuffer(this.indexArray),this.collisionVertexBuffer=H.createVertexBuffer(this.collisionVertexArray,mSe.members,!0)},O4.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.collisionVertexBuffer.destroy())},Ye("CollisionBuffers",O4);var As=function(H){this.collisionBoxArray=H.collisionBoxArray,this.zoom=H.zoom,this.overscaling=H.overscaling,this.layers=H.layers,this.layerIds=this.layers.map(function(St){return St.id}),this.index=H.index,this.pixelRatio=H.pixelRatio,this.sourceLayerIndex=H.sourceLayerIndex,this.hasPattern=!1,this.hasRTLText=!1,this.sortKeyRanges=[],this.collisionCircleArray=[],this.placementInvProjMatrix=h_([]),this.placementViewportMatrix=h_([]);var q=this.layers[0],ue=q._unevaluatedLayout._values;this.textSizeData=hR(this.zoom,ue["text-size"]),this.iconSizeData=hR(this.zoom,ue["icon-size"]);var _e=this.layers[0].layout,Ie=_e.get("symbol-sort-key"),$e=_e.get("symbol-z-order");this.canOverlap=_e.get("text-allow-overlap")||_e.get("icon-allow-overlap")||_e.get("text-ignore-placement")||_e.get("icon-ignore-placement"),this.sortFeaturesByKey=$e!=="viewport-y"&&Ie.constantOr(1)!==void 0;var it=$e==="viewport-y"||$e==="auto"&&!this.sortFeaturesByKey;this.sortFeaturesByY=it&&this.canOverlap,_e.get("symbol-placement")==="point"&&(this.writingModes=_e.get("text-writing-mode").map(function(St){return Lf[St]})),this.stateDependentLayerIds=this.layers.filter(function(St){return St.isStateDependent()}).map(function(St){return St.id}),this.sourceID=H.sourceID};As.prototype.createArrays=function(){this.text=new C_(new ai(this.layers,this.zoom,function(H){return/^text/.test(H)})),this.icon=new C_(new ai(this.layers,this.zoom,function(H){return/^icon/.test(H)})),this.glyphOffsetArray=new i6,this.lineVertexArray=new Nf,this.symbolInstances=new y4},As.prototype.calculateGlyphDependencies=function(H,q,ue,_e,Ie){for(var $e=0;$e<H.length;$e++)if(q[H.charCodeAt($e)]=!0,(ue||_e)&&Ie){var it=xh[H.charAt($e)];it&&(q[it.charCodeAt(0)]=!0)}},As.prototype.populate=function(H,q,ue){var _e=this.layers[0],Ie=_e.layout,$e=Ie.get("text-font"),it=Ie.get("text-field"),St=Ie.get("icon-image"),Ot=(it.value.kind!=="constant"||it.value.value instanceof ml&&!it.value.value.isEmpty()||it.value.value.toString().length>0)&&($e.value.kind!=="constant"||$e.value.value.length>0),zt=St.value.kind!=="constant"||!!St.value.value||Object.keys(St.parameters).length>0,rr=Ie.get("symbol-sort-key");if(this.features=[],!(!Ot&&!zt)){for(var vr=q.iconDependencies,dr=q.glyphDependencies,Or=q.availableImages,on=new _i(this.zoom),Pn=0,Mn=H;Pn<Mn.length;Pn+=1){var ca=Mn[Pn],Wn=ca.feature,sa=ca.id,va=ca.index,Ma=ca.sourceLayerIndex,Ga=_e._featureFilter.needGeometry,Ha=Ms(Wn,Ga);if(_e._featureFilter.filter(on,Ha,ue)){Ga||(Ha.geometry=Lo(Wn));var wi=void 0;if(Ot){var pi=_e.getValueAndResolveTokens("text-field",Ha,ue,Or),bi=ml.factory(pi);n4e(bi)&&(this.hasRTLText=!0),(!this.hasRTLText||Gi()==="unavailable"||this.hasRTLText&&Ba.isParsed())&&(wi=_Se(bi,_e,Ha))}var ro=void 0;if(zt){var Ti=_e.getValueAndResolveTokens("icon-image",Ha,ue,Or);Ti instanceof uc?ro=Ti:ro=uc.fromString(Ti)}if(!(!wi&&!ro)){var Mi=this.sortFeaturesByKey?rr.evaluate(Ha,{},ue):void 0,lo={id:sa,text:wi,icon:ro,index:va,sourceLayerIndex:Ma,geometry:Ha.geometry,properties:Wn.properties,type:t4e[Wn.type],sortKey:Mi};if(this.features.push(lo),ro&&(vr[ro.name]=!0),wi){var qi=$e.evaluate(Ha,{},ue).join(","),ns=Ie.get("text-rotation-alignment")==="map"&&Ie.get("symbol-placement")!=="point";this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(Lf.vertical)>=0;for(var Ps=0,as=wi.sections;Ps<as.length;Ps+=1){var is=as[Ps];if(is.image)vr[is.image.name]=!0;else{var qo=hr(wi.toString()),qs=is.fontStack||qi,rl=dr[qs]=dr[qs]||{};this.calculateGlyphDependencies(is.text,rl,ns,this.allowVerticalPlacement,qo)}}}}}}Ie.get("symbol-placement")==="line"&&(this.features=ile(this.features)),this.sortFeaturesByKey&&this.features.sort(function(Dl,Ql){return Dl.sortKey-Ql.sortKey})}},As.prototype.update=function(H,q,ue){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(H,q,this.layers,ue),this.icon.programConfigurations.updatePaintArrays(H,q,this.layers,ue))},As.prototype.isEmpty=function(){return this.symbolInstances.length===0&&!this.hasRTLText},As.prototype.uploadPending=function(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload},As.prototype.upload=function(H){!this.uploaded&&this.hasDebugData()&&(this.textCollisionBox.upload(H),this.iconCollisionBox.upload(H)),this.text.upload(H,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(H,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0},As.prototype.destroyDebugData=function(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy()},As.prototype.destroy=function(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData()},As.prototype.addToLineVertexArray=function(H,q){var ue=this.lineVertexArray.length;if(H.segment!==void 0){for(var _e=H.dist(q[H.segment+1]),Ie=H.dist(q[H.segment]),$e={},it=H.segment+1;it<q.length;it++)$e[it]={x:q[it].x,y:q[it].y,tileUnitDistanceFromAnchor:_e},it<q.length-1&&(_e+=q[it+1].dist(q[it]));for(var St=H.segment||0;St>=0;St--)$e[St]={x:q[St].x,y:q[St].y,tileUnitDistanceFromAnchor:Ie},St>0&&(Ie+=q[St-1].dist(q[St]));for(var Ot=0;Ot<q.length;Ot++){var zt=$e[Ot];this.lineVertexArray.emplaceBack(zt.x,zt.y,zt.tileUnitDistanceFromAnchor)}}return{lineStartIndex:ue,lineLength:this.lineVertexArray.length-ue}},As.prototype.addSymbols=function(H,q,ue,_e,Ie,$e,it,St,Ot,zt,rr,vr){for(var dr=H.indexArray,Or=H.layoutVertexArray,on=H.segments.prepareSegment(4*q.length,Or,dr,this.canOverlap?$e.sortKey:void 0),Pn=this.glyphOffsetArray.length,Mn=on.vertexLength,ca=this.allowVerticalPlacement&&it===Lf.vertical?Math.PI/2:0,Wn=$e.text&&$e.text.sections,sa=0;sa<q.length;sa++){var va=q[sa],Ma=va.tl,Ga=va.tr,Ha=va.bl,wi=va.br,pi=va.tex,bi=va.pixelOffsetTL,ro=va.pixelOffsetBR,Ti=va.minFontScaleX,Mi=va.minFontScaleY,lo=va.glyphOffset,qi=va.isSDF,ns=va.sectionIndex,Ps=on.vertexLength,as=lo[1];C6(Or,St.x,St.y,Ma.x,as+Ma.y,pi.x,pi.y,ue,qi,bi.x,bi.y,Ti,Mi),C6(Or,St.x,St.y,Ga.x,as+Ga.y,pi.x+pi.w,pi.y,ue,qi,ro.x,bi.y,Ti,Mi),C6(Or,St.x,St.y,Ha.x,as+Ha.y,pi.x,pi.y+pi.h,ue,qi,bi.x,ro.y,Ti,Mi),C6(Or,St.x,St.y,wi.x,as+wi.y,pi.x+pi.w,pi.y+pi.h,ue,qi,ro.x,ro.y,Ti,Mi),xR(H.dynamicLayoutVertexArray,St,ca),dr.emplaceBack(Ps,Ps+1,Ps+2),dr.emplaceBack(Ps+1,Ps+2,Ps+3),on.vertexLength+=4,on.primitiveLength+=2,this.glyphOffsetArray.emplaceBack(lo[0]),(sa===q.length-1||ns!==q[sa+1].sectionIndex)&&H.programConfigurations.populatePaintArrays(Or.length,$e,$e.index,{},vr,Wn&&Wn[ns])}H.placedSymbolArray.emplaceBack(St.x,St.y,Pn,this.glyphOffsetArray.length-Pn,Mn,Ot,zt,St.segment,ue?ue[0]:0,ue?ue[1]:0,_e[0],_e[1],it,0,!1,0,rr)},As.prototype._addCollisionDebugVertex=function(H,q,ue,_e,Ie,$e){return q.emplaceBack(0,0),H.emplaceBack(ue.x,ue.y,_e,Ie,Math.round($e.x),Math.round($e.y))},As.prototype.addCollisionDebugVertices=function(H,q,ue,_e,Ie,$e,it){var St=Ie.segments.prepareSegment(4,Ie.layoutVertexArray,Ie.indexArray),Ot=St.vertexLength,zt=Ie.layoutVertexArray,rr=Ie.collisionVertexArray,vr=it.anchorX,dr=it.anchorY;this._addCollisionDebugVertex(zt,rr,$e,vr,dr,new c(H,q)),this._addCollisionDebugVertex(zt,rr,$e,vr,dr,new c(ue,q)),this._addCollisionDebugVertex(zt,rr,$e,vr,dr,new c(ue,_e)),this._addCollisionDebugVertex(zt,rr,$e,vr,dr,new c(H,_e)),St.vertexLength+=4;var Or=Ie.indexArray;Or.emplaceBack(Ot,Ot+1),Or.emplaceBack(Ot+1,Ot+2),Or.emplaceBack(Ot+2,Ot+3),Or.emplaceBack(Ot+3,Ot),St.primitiveLength+=4},As.prototype.addDebugCollisionBoxes=function(H,q,ue,_e){for(var Ie=H;Ie<q;Ie++){var $e=this.collisionBoxArray.get(Ie),it=$e.x1,St=$e.y1,Ot=$e.x2,zt=$e.y2;this.addCollisionDebugVertices(it,St,Ot,zt,_e?this.textCollisionBox:this.iconCollisionBox,$e.anchorPoint,ue)}},As.prototype.generateCollisionDebugBuffers=function(){this.hasDebugData()&&this.destroyDebugData(),this.textCollisionBox=new O4(l_,ale.members,Fm),this.iconCollisionBox=new O4(l_,ale.members,Fm);for(var H=0;H<this.symbolInstances.length;H++){var q=this.symbolInstances.get(H);this.addDebugCollisionBoxes(q.textBoxStartIndex,q.textBoxEndIndex,q,!0),this.addDebugCollisionBoxes(q.verticalTextBoxStartIndex,q.verticalTextBoxEndIndex,q,!0),this.addDebugCollisionBoxes(q.iconBoxStartIndex,q.iconBoxEndIndex,q,!1),this.addDebugCollisionBoxes(q.verticalIconBoxStartIndex,q.verticalIconBoxEndIndex,q,!1)}},As.prototype._deserializeCollisionBoxesForSymbol=function(H,q,ue,_e,Ie,$e,it,St,Ot){for(var zt={},rr=q;rr<ue;rr++){var vr=H.get(rr);zt.textBox={x1:vr.x1,y1:vr.y1,x2:vr.x2,y2:vr.y2,anchorPointX:vr.anchorPointX,anchorPointY:vr.anchorPointY},zt.textFeatureIndex=vr.featureIndex;break}for(var dr=_e;dr<Ie;dr++){var Or=H.get(dr);zt.verticalTextBox={x1:Or.x1,y1:Or.y1,x2:Or.x2,y2:Or.y2,anchorPointX:Or.anchorPointX,anchorPointY:Or.anchorPointY},zt.verticalTextFeatureIndex=Or.featureIndex;break}for(var on=$e;on<it;on++){var Pn=H.get(on);zt.iconBox={x1:Pn.x1,y1:Pn.y1,x2:Pn.x2,y2:Pn.y2,anchorPointX:Pn.anchorPointX,anchorPointY:Pn.anchorPointY},zt.iconFeatureIndex=Pn.featureIndex;break}for(var Mn=St;Mn<Ot;Mn++){var ca=H.get(Mn);zt.verticalIconBox={x1:ca.x1,y1:ca.y1,x2:ca.x2,y2:ca.y2,anchorPointX:ca.anchorPointX,anchorPointY:ca.anchorPointY},zt.verticalIconFeatureIndex=ca.featureIndex;break}return zt},As.prototype.deserializeCollisionBoxes=function(H){this.collisionArrays=[];for(var q=0;q<this.symbolInstances.length;q++){var ue=this.symbolInstances.get(q);this.collisionArrays.push(this._deserializeCollisionBoxesForSymbol(H,ue.textBoxStartIndex,ue.textBoxEndIndex,ue.verticalTextBoxStartIndex,ue.verticalTextBoxEndIndex,ue.iconBoxStartIndex,ue.iconBoxEndIndex,ue.verticalIconBoxStartIndex,ue.verticalIconBoxEndIndex))}},As.prototype.hasTextData=function(){return this.text.segments.get().length>0},As.prototype.hasIconData=function(){return this.icon.segments.get().length>0},As.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},As.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},As.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},As.prototype.addIndicesForPlacedSymbol=function(H,q){for(var ue=H.placedSymbolArray.get(q),_e=ue.vertexStartIndex+ue.numGlyphs*4,Ie=ue.vertexStartIndex;Ie<_e;Ie+=4)H.indexArray.emplaceBack(Ie,Ie+1,Ie+2),H.indexArray.emplaceBack(Ie+1,Ie+2,Ie+3)},As.prototype.getSortedSymbolIndexes=function(H){if(this.sortedAngle===H&&this.symbolInstanceIndexes!==void 0)return this.symbolInstanceIndexes;for(var q=Math.sin(H),ue=Math.cos(H),_e=[],Ie=[],$e=[],it=0;it<this.symbolInstances.length;++it){$e.push(it);var St=this.symbolInstances.get(it);_e.push(Math.round(q*St.anchorX+ue*St.anchorY)|0),Ie.push(St.featureIndex)}return $e.sort(function(Ot,zt){return _e[Ot]-_e[zt]||Ie[zt]-Ie[Ot]}),$e},As.prototype.addToSortKeyRanges=function(H,q){var ue=this.sortKeyRanges[this.sortKeyRanges.length-1];ue&&ue.sortKey===q?ue.symbolInstanceEnd=H+1:this.sortKeyRanges.push({sortKey:q,symbolInstanceStart:H,symbolInstanceEnd:H+1})},As.prototype.sortFeatures=function(H){var q=this;if(this.sortFeaturesByY&&this.sortedAngle!==H&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(H),this.sortedAngle=H,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var ue=0,_e=this.symbolInstanceIndexes;ue<_e.length;ue+=1){var Ie=_e[ue],$e=this.symbolInstances.get(Ie);this.featureSortOrder.push($e.featureIndex),[$e.rightJustifiedTextSymbolIndex,$e.centerJustifiedTextSymbolIndex,$e.leftJustifiedTextSymbolIndex].forEach(function(it,St,Ot){it>=0&&Ot.indexOf(it)===St&&q.addIndicesForPlacedSymbol(q.text,it)}),$e.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,$e.verticalPlacedTextSymbolIndex),$e.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,$e.placedIconSymbolIndex),$e.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,$e.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},Ye("SymbolBucket",As,{omit:["layers","collisionBoxArray","features","compareText"]}),As.MAX_GLYPHS=65535,As.addDynamicAttributes=xR;function a4e($,H){return H.replace(/{([^{}]+)}/g,function(q,ue){return ue in $?String($[ue]):""})}var i4e=new Go({"symbol-placement":new ja(zr.layout_symbol["symbol-placement"]),"symbol-spacing":new ja(zr.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new ja(zr.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new Ri(zr.layout_symbol["symbol-sort-key"]),"symbol-z-order":new ja(zr.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new ja(zr.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new ja(zr.layout_symbol["icon-ignore-placement"]),"icon-optional":new ja(zr.layout_symbol["icon-optional"]),"icon-rotation-alignment":new ja(zr.layout_symbol["icon-rotation-alignment"]),"icon-size":new Ri(zr.layout_symbol["icon-size"]),"icon-text-fit":new ja(zr.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new ja(zr.layout_symbol["icon-text-fit-padding"]),"icon-image":new Ri(zr.layout_symbol["icon-image"]),"icon-rotate":new Ri(zr.layout_symbol["icon-rotate"]),"icon-padding":new ja(zr.layout_symbol["icon-padding"]),"icon-keep-upright":new ja(zr.layout_symbol["icon-keep-upright"]),"icon-offset":new Ri(zr.layout_symbol["icon-offset"]),"icon-anchor":new Ri(zr.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new ja(zr.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new ja(zr.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new ja(zr.layout_symbol["text-rotation-alignment"]),"text-field":new Ri(zr.layout_symbol["text-field"]),"text-font":new Ri(zr.layout_symbol["text-font"]),"text-size":new Ri(zr.layout_symbol["text-size"]),"text-max-width":new Ri(zr.layout_symbol["text-max-width"]),"text-line-height":new ja(zr.layout_symbol["text-line-height"]),"text-letter-spacing":new Ri(zr.layout_symbol["text-letter-spacing"]),"text-justify":new Ri(zr.layout_symbol["text-justify"]),"text-radial-offset":new Ri(zr.layout_symbol["text-radial-offset"]),"text-variable-anchor":new ja(zr.layout_symbol["text-variable-anchor"]),"text-anchor":new Ri(zr.layout_symbol["text-anchor"]),"text-max-angle":new ja(zr.layout_symbol["text-max-angle"]),"text-writing-mode":new ja(zr.layout_symbol["text-writing-mode"]),"text-rotate":new Ri(zr.layout_symbol["text-rotate"]),"text-padding":new ja(zr.layout_symbol["text-padding"]),"text-keep-upright":new ja(zr.layout_symbol["text-keep-upright"]),"text-transform":new Ri(zr.layout_symbol["text-transform"]),"text-offset":new Ri(zr.layout_symbol["text-offset"]),"text-allow-overlap":new ja(zr.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new ja(zr.layout_symbol["text-ignore-placement"]),"text-optional":new ja(zr.layout_symbol["text-optional"])}),o4e=new Go({"icon-opacity":new Ri(zr.paint_symbol["icon-opacity"]),"icon-color":new Ri(zr.paint_symbol["icon-color"]),"icon-halo-color":new Ri(zr.paint_symbol["icon-halo-color"]),"icon-halo-width":new Ri(zr.paint_symbol["icon-halo-width"]),"icon-halo-blur":new Ri(zr.paint_symbol["icon-halo-blur"]),"icon-translate":new ja(zr.paint_symbol["icon-translate"]),"icon-translate-anchor":new ja(zr.paint_symbol["icon-translate-anchor"]),"text-opacity":new Ri(zr.paint_symbol["text-opacity"]),"text-color":new Ri(zr.paint_symbol["text-color"],{runtimeType:ea,getOverride:function($){return $.textColor},hasOverride:function($){return!!$.textColor}}),"text-halo-color":new Ri(zr.paint_symbol["text-halo-color"]),"text-halo-width":new Ri(zr.paint_symbol["text-halo-width"]),"text-halo-blur":new Ri(zr.paint_symbol["text-halo-blur"]),"text-translate":new ja(zr.paint_symbol["text-translate"]),"text-translate-anchor":new ja(zr.paint_symbol["text-translate-anchor"])}),bR={paint:o4e,layout:i4e},k_=function(H){this.type=H.property.overrides?H.property.overrides.runtimeType:cn,this.defaultValue=H};k_.prototype.evaluate=function(H){if(H.formattedSection){var q=this.defaultValue.property.overrides;if(q&&q.hasOverride(H.formattedSection))return q.getOverride(H.formattedSection)}return H.feature&&H.featureState?this.defaultValue.evaluate(H.feature,H.featureState):this.defaultValue.property.specification.default},k_.prototype.eachChild=function(H){if(!this.defaultValue.isConstant()){var q=this.defaultValue.value;H(q._styleExpression.expression)}},k_.prototype.outputDefined=function(){return!1},k_.prototype.serialize=function(){return null},Ye("FormatSectionOverride",k_,{omit:["defaultValue"]});var s4e=function($){function H(q){$.call(this,q,bR)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.recalculate=function(ue,_e){if($.prototype.recalculate.call(this,ue,_e),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var Ie=this.layout.get("text-writing-mode");if(Ie){for(var $e=[],it=0,St=Ie;it<St.length;it+=1){var Ot=St[it];$e.indexOf(Ot)<0&&$e.push(Ot)}this.layout._values["text-writing-mode"]=$e}else this.layout._values["text-writing-mode"]=["horizontal"]}this._setPaintOverrides()},H.prototype.getValueAndResolveTokens=function(ue,_e,Ie,$e){var it=this.layout.get(ue).evaluate(_e,{},Ie,$e),St=this._unevaluatedLayout._values[ue];return!St.isDataDriven()&&!c0(St.value)&&it?a4e(_e.properties,it):it},H.prototype.createBucket=function(ue){return new As(ue)},H.prototype.queryRadius=function(){return 0},H.prototype.queryIntersectsFeature=function(){return!1},H.prototype._setPaintOverrides=function(){for(var ue=0,_e=bR.paint.overridableProperties;ue<_e.length;ue+=1){var Ie=_e[ue];if(H.hasPaintOverride(this.layout,Ie)){var $e=this.paint.get(Ie),it=new k_($e),St=new Vc(it,$e.property.specification),Ot=null;$e.value.kind==="constant"||$e.value.kind==="source"?Ot=new Es("source",St):Ot=new fd("composite",St,$e.value.zoomStops,$e.value._interpolationType),this.paint._values[Ie]=new Ss($e.property,Ot,$e.parameters)}}},H.prototype._handleOverridablePaintPropertyUpdate=function(ue,_e,Ie){return!this.layout||_e.isDataDriven()||Ie.isDataDriven()?!1:H.hasPaintOverride(this.layout,ue)},H.hasPaintOverride=function(ue,_e){var Ie=ue.get("text-field"),$e=bR.paint.properties[_e],it=!1,St=function(rr){for(var vr=0,dr=rr;vr<dr.length;vr+=1){var Or=dr[vr];if($e.overrides&&$e.overrides.hasOverride(Or)){it=!0;return}}};if(Ie.value.kind==="constant"&&Ie.value.value instanceof ml)St(Ie.value.value.sections);else if(Ie.value.kind==="source"){var Ot=function(rr){if(!it)if(rr instanceof Qs&&Zs(rr.value)===ni){var vr=rr.value;St(vr.sections)}else rr instanceof bs?St(rr.sections):rr.eachChild(Ot)},zt=Ie.value;zt._styleExpression&&Ot(zt._styleExpression.expression)}return it},H}(hl),l4e=new Go({"background-color":new ja(zr.paint_background["background-color"]),"background-pattern":new Yc(zr.paint_background["background-pattern"]),"background-opacity":new ja(zr.paint_background["background-opacity"])}),c4e={paint:l4e},u4e=function($){function H(q){$.call(this,q,c4e)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H}(hl),d4e=new Go({"raster-opacity":new ja(zr.paint_raster["raster-opacity"]),"raster-hue-rotate":new ja(zr.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new ja(zr.paint_raster["raster-brightness-min"]),"raster-brightness-max":new ja(zr.paint_raster["raster-brightness-max"]),"raster-saturation":new ja(zr.paint_raster["raster-saturation"]),"raster-contrast":new ja(zr.paint_raster["raster-contrast"]),"raster-resampling":new ja(zr.paint_raster["raster-resampling"]),"raster-fade-duration":new ja(zr.paint_raster["raster-fade-duration"])}),f4e={paint:d4e},h4e=function($){function H(q){$.call(this,q,f4e)}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H}(hl);function p4e($){var H=[],q=$.id;return q===void 0&&H.push({message:"layers."+q+': missing required property "id"'}),$.render===void 0&&H.push({message:"layers."+q+': missing required method "render"'}),$.renderingMode&&$.renderingMode!=="2d"&&$.renderingMode!=="3d"&&H.push({message:"layers."+q+': property "renderingMode" must be either "2d" or "3d"'}),H}var pe=function($){function H(q){$.call(this,q,{}),this.implementation=q}return $&&(H.__proto__=$),H.prototype=Object.create($&&$.prototype),H.prototype.constructor=H,H.prototype.is3D=function(){return this.implementation.renderingMode==="3d"},H.prototype.hasOffscreenPass=function(){return this.implementation.prerender!==void 0},H.prototype.recalculate=function(){},H.prototype.updateTransitions=function(){},H.prototype.hasTransition=function(){},H.prototype.serialize=function(){},H.prototype.onAdd=function(ue){this.implementation.onAdd&&this.implementation.onAdd(ue,ue.painter.context.gl)},H.prototype.onRemove=function(ue){this.implementation.onRemove&&this.implementation.onRemove(ue,ue.painter.context.gl)},H}(hl),Me={circle:bEe,heatmap:SEe,hillshade:AEe,fill:jEe,"fill-extrusion":oSe,line:vSe,symbol:s4e,background:u4e,raster:h4e};function st($){return $.type==="custom"?new pe($):new Me[$.type]($)}var Vt=d.HTMLImageElement,pr=d.HTMLCanvasElement,jr=d.HTMLVideoElement,Sn=d.ImageData,Dn=d.ImageBitmap,Jn=function(H,q,ue,_e){this.context=H,this.format=ue,this.texture=H.gl.createTexture(),this.update(q,_e)};Jn.prototype.update=function(H,q,ue){var _e=H.width,Ie=H.height,$e=(!this.size||this.size[0]!==_e||this.size[1]!==Ie)&&!ue,it=this,St=it.context,Ot=St.gl;if(this.useMipmap=!!(q&&q.useMipmap),Ot.bindTexture(Ot.TEXTURE_2D,this.texture),St.pixelStoreUnpackFlipY.set(!1),St.pixelStoreUnpack.set(1),St.pixelStoreUnpackPremultiplyAlpha.set(this.format===Ot.RGBA&&(!q||q.premultiply!==!1)),$e)this.size=[_e,Ie],H instanceof Vt||H instanceof pr||H instanceof jr||H instanceof Sn||Dn&&H instanceof Dn?Ot.texImage2D(Ot.TEXTURE_2D,0,this.format,this.format,Ot.UNSIGNED_BYTE,H):Ot.texImage2D(Ot.TEXTURE_2D,0,this.format,_e,Ie,0,this.format,Ot.UNSIGNED_BYTE,H.data);else{var zt=ue||{x:0,y:0},rr=zt.x,vr=zt.y;H instanceof Vt||H instanceof pr||H instanceof jr||H instanceof Sn||Dn&&H instanceof Dn?Ot.texSubImage2D(Ot.TEXTURE_2D,0,rr,vr,Ot.RGBA,Ot.UNSIGNED_BYTE,H):Ot.texSubImage2D(Ot.TEXTURE_2D,0,rr,vr,_e,Ie,Ot.RGBA,Ot.UNSIGNED_BYTE,H.data)}this.useMipmap&&this.isSizePowerOfTwo()&&Ot.generateMipmap(Ot.TEXTURE_2D)},Jn.prototype.bind=function(H,q,ue){var _e=this,Ie=_e.context,$e=Ie.gl;$e.bindTexture($e.TEXTURE_2D,this.texture),ue===$e.LINEAR_MIPMAP_NEAREST&&!this.isSizePowerOfTwo()&&(ue=$e.LINEAR),H!==this.filter&&($e.texParameteri($e.TEXTURE_2D,$e.TEXTURE_MAG_FILTER,H),$e.texParameteri($e.TEXTURE_2D,$e.TEXTURE_MIN_FILTER,ue||H),this.filter=H),q!==this.wrap&&($e.texParameteri($e.TEXTURE_2D,$e.TEXTURE_WRAP_S,q),$e.texParameteri($e.TEXTURE_2D,$e.TEXTURE_WRAP_T,q),this.wrap=q)},Jn.prototype.isSizePowerOfTwo=function(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1===0},Jn.prototype.destroy=function(){var H=this.context,q=H.gl;q.deleteTexture(this.texture),this.texture=null};var za=function(H){var q=this;this._callback=H,this._triggered=!1,typeof MessageChannel<"u"&&(this._channel=new MessageChannel,this._channel.port2.onmessage=function(){q._triggered=!1,q._callback()})};za.prototype.trigger=function(){var H=this;this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout(function(){H._triggered=!1,H._callback()},0))},za.prototype.remove=function(){delete this._channel,this._callback=function(){}};var Pa=function(H,q,ue){this.target=H,this.parent=q,this.mapId=ue,this.callbacks={},this.tasks={},this.taskQueue=[],this.cancelCallbacks={},D(["receive","process"],this),this.invoker=new za(this.process),this.target.addEventListener("message",this.receive,!1),this.globalScope=Q()?H:d};Pa.prototype.send=function(H,q,ue,_e,Ie){var $e=this;Ie===void 0&&(Ie=!1);var it=Math.round(Math.random()*1e18).toString(36).substring(0,10);ue&&(this.callbacks[it]=ue);var St=he(this.globalScope)?void 0:[];return this.target.postMessage({id:it,type:H,hasCallback:!!ue,targetMapId:_e,mustQueue:Ie,sourceMapId:this.mapId,data:Bt(q,St)},St),{cancel:function(){ue&&delete $e.callbacks[it],$e.target.postMessage({id:it,type:"<cancel>",targetMapId:_e,sourceMapId:$e.mapId})}}},Pa.prototype.receive=function(H){var q=H.data,ue=q.id;if(ue&&!(q.targetMapId&&this.mapId!==q.targetMapId))if(q.type==="<cancel>"){delete this.tasks[ue];var _e=this.cancelCallbacks[ue];delete this.cancelCallbacks[ue],_e&&_e()}else Q()||q.mustQueue?(this.tasks[ue]=q,this.taskQueue.push(ue),this.invoker.trigger()):this.processTask(ue,q)},Pa.prototype.process=function(){if(this.taskQueue.length){var H=this.taskQueue.shift(),q=this.tasks[H];delete this.tasks[H],this.taskQueue.length&&this.invoker.trigger(),q&&this.processTask(H,q)}},Pa.prototype.processTask=function(H,q){var ue=this;if(q.type==="<response>"){var _e=this.callbacks[H];delete this.callbacks[H],_e&&(q.error?_e(Lt(q.error)):_e(null,Lt(q.data)))}else{var Ie=!1,$e=he(this.globalScope)?void 0:[],it=q.hasCallback?function(vr,dr){Ie=!0,delete ue.cancelCallbacks[H],ue.target.postMessage({id:H,type:"<response>",sourceMapId:ue.mapId,error:vr?Bt(vr):null,data:Bt(dr,$e)},$e)}:function(vr){Ie=!0},St=null,Ot=Lt(q.data);if(this.parent[q.type])St=this.parent[q.type](q.sourceMapId,Ot,it);else if(this.parent.getWorkerSource){var zt=q.type.split("."),rr=this.parent.getWorkerSource(q.sourceMapId,zt[0],Ot.source);St=rr[zt[1]](Ot,it)}else it(new Error("Could not find function "+q.type));!Ie&&St&&St.cancel&&(this.cancelCallbacks[H]=St.cancel)}},Pa.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};function Xa($,H,q){H=Math.pow(2,q)-H-1;var ue=Li($*256,H*256,q),_e=Li(($+1)*256,(H+1)*256,q);return ue[0]+","+ue[1]+","+_e[0]+","+_e[1]}function Li($,H,q){var ue=2*Math.PI*6378137/256/Math.pow(2,q),_e=$*ue-2*Math.PI*6378137/2,Ie=H*ue-2*Math.PI*6378137/2;return[_e,Ie]}var Ai=function(H,q){H&&(q?this.setSouthWest(H).setNorthEast(q):H.length===4?this.setSouthWest([H[0],H[1]]).setNorthEast([H[2],H[3]]):this.setSouthWest(H[0]).setNorthEast(H[1]))};Ai.prototype.setNorthEast=function(H){return this._ne=H instanceof Ui?new Ui(H.lng,H.lat):Ui.convert(H),this},Ai.prototype.setSouthWest=function(H){return this._sw=H instanceof Ui?new Ui(H.lng,H.lat):Ui.convert(H),this},Ai.prototype.extend=function(H){var q=this._sw,ue=this._ne,_e,Ie;if(H instanceof Ui)_e=H,Ie=H;else if(H instanceof Ai){if(_e=H._sw,Ie=H._ne,!_e||!Ie)return this}else{if(Array.isArray(H))if(H.length===4||H.every(Array.isArray)){var $e=H;return this.extend(Ai.convert($e))}else{var it=H;return this.extend(Ui.convert(it))}return this}return!q&&!ue?(this._sw=new Ui(_e.lng,_e.lat),this._ne=new Ui(Ie.lng,Ie.lat)):(q.lng=Math.min(_e.lng,q.lng),q.lat=Math.min(_e.lat,q.lat),ue.lng=Math.max(Ie.lng,ue.lng),ue.lat=Math.max(Ie.lat,ue.lat)),this},Ai.prototype.getCenter=function(){return new Ui((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},Ai.prototype.getSouthWest=function(){return this._sw},Ai.prototype.getNorthEast=function(){return this._ne},Ai.prototype.getNorthWest=function(){return new Ui(this.getWest(),this.getNorth())},Ai.prototype.getSouthEast=function(){return new Ui(this.getEast(),this.getSouth())},Ai.prototype.getWest=function(){return this._sw.lng},Ai.prototype.getSouth=function(){return this._sw.lat},Ai.prototype.getEast=function(){return this._ne.lng},Ai.prototype.getNorth=function(){return this._ne.lat},Ai.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},Ai.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},Ai.prototype.isEmpty=function(){return!(this._sw&&this._ne)},Ai.prototype.contains=function(H){var q=Ui.convert(H),ue=q.lng,_e=q.lat,Ie=this._sw.lat<=_e&&_e<=this._ne.lat,$e=this._sw.lng<=ue&&ue<=this._ne.lng;return this._sw.lng>this._ne.lng&&($e=this._sw.lng>=ue&&ue>=this._ne.lng),Ie&&$e},Ai.convert=function(H){return!H||H instanceof Ai?H:new Ai(H)};var oo=63710088e-1,Ui=function(H,q){if(isNaN(H)||isNaN(q))throw new Error("Invalid LngLat object: ("+H+", "+q+")");if(this.lng=+H,this.lat=+q,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Ui.prototype.wrap=function(){return new Ui(R(this.lng,-180,180),this.lat)},Ui.prototype.toArray=function(){return[this.lng,this.lat]},Ui.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Ui.prototype.distanceTo=function(H){var q=Math.PI/180,ue=this.lat*q,_e=H.lat*q,Ie=Math.sin(ue)*Math.sin(_e)+Math.cos(ue)*Math.cos(_e)*Math.cos((H.lng-this.lng)*q),$e=oo*Math.acos(Math.min(Ie,1));return $e},Ui.prototype.toBounds=function(H){H===void 0&&(H=0);var q=40075017,ue=360*H/q,_e=ue/Math.cos(Math.PI/180*this.lat);return new Ai(new Ui(this.lng-_e,this.lat-ue),new Ui(this.lng+_e,this.lat+ue))},Ui.convert=function(H){if(H instanceof Ui)return H;if(Array.isArray(H)&&(H.length===2||H.length===3))return new Ui(Number(H[0]),Number(H[1]));if(!Array.isArray(H)&&typeof H=="object"&&H!==null)return new Ui(Number("lng"in H?H.lng:H.lon),Number(H.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: <lng>, lat: <lat>}, an object {lon: <lng>, lat: <lat>}, or an array of [<lng>, <lat>]")};var so=2*Math.PI*oo;function ds($){return so*Math.cos($*Math.PI/180)}function ys($){return(180+$)/360}function Of($){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+$*Math.PI/360)))/360}function xd($,H){return $/ds(H)}function bh($){return $*360-180}function Zl($){var H=180-$*360;return 360/Math.PI*Math.atan(Math.exp(H*Math.PI/180))-90}function S0($,H){return $*ds(Zl(H))}function xv($){return 1/Math.cos($*Math.PI/180)}var Ym=function(H,q,ue){ue===void 0&&(ue=0),this.x=+H,this.y=+q,this.z=+ue};Ym.fromLngLat=function(H,q){q===void 0&&(q=0);var ue=Ui.convert(H);return new Ym(ys(ue.lng),Of(ue.lat),xd(q,ue.lat))},Ym.prototype.toLngLat=function(){return new Ui(bh(this.x),Zl(this.y))},Ym.prototype.toAltitude=function(){return S0(this.z,this.y)},Ym.prototype.meterInMercatorCoordinateUnits=function(){return 1/so*xv(Zl(this.y))};var D4=function(H,q,ue){this.z=H,this.x=q,this.y=ue,this.key=ER(0,H,H,q,ue)};D4.prototype.equals=function(H){return this.z===H.z&&this.x===H.x&&this.y===H.y},D4.prototype.url=function(H,q){var ue=Xa(this.x,this.y,this.z),_e=Vir(this.z,this.x,this.y);return H[(this.x+this.y)%H.length].replace("{prefix}",(this.x%16).toString(16)+(this.y%16).toString(16)).replace("{z}",String(this.z)).replace("{x}",String(this.x)).replace("{y}",String(q==="tms"?Math.pow(2,this.z)-this.y-1:this.y)).replace("{quadkey}",_e).replace("{bbox-epsg-3857}",ue)},D4.prototype.getTilePoint=function(H){var q=Math.pow(2,this.z);return new c((H.x*q-this.x)*Si,(H.y*q-this.y)*Si)},D4.prototype.toString=function(){return this.z+"/"+this.x+"/"+this.y};var XJe=function(H,q){this.wrap=H,this.canonical=q,this.key=ER(H,q.z,q.z,q.x,q.y)},Rc=function(H,q,ue,_e,Ie){this.overscaledZ=H,this.wrap=q,this.canonical=new D4(ue,+_e,+Ie),this.key=ER(q,H,ue,_e,Ie)};Rc.prototype.equals=function(H){return this.overscaledZ===H.overscaledZ&&this.wrap===H.wrap&&this.canonical.equals(H.canonical)},Rc.prototype.scaledTo=function(H){var q=this.canonical.z-H;return H>this.canonical.z?new Rc(H,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new Rc(H,this.wrap,H,this.canonical.x>>q,this.canonical.y>>q)},Rc.prototype.calculateScaledKey=function(H,q){var ue=this.canonical.z-H;return H>this.canonical.z?ER(this.wrap*+q,H,this.canonical.z,this.canonical.x,this.canonical.y):ER(this.wrap*+q,H,H,this.canonical.x>>ue,this.canonical.y>>ue)},Rc.prototype.isChildOf=function(H){if(H.wrap!==this.wrap)return!1;var q=this.canonical.z-H.canonical.z;return H.overscaledZ===0||H.overscaledZ<this.overscaledZ&&H.canonical.x===this.canonical.x>>q&&H.canonical.y===this.canonical.y>>q},Rc.prototype.children=function(H){if(this.overscaledZ>=H)return[new Rc(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var q=this.canonical.z+1,ue=this.canonical.x*2,_e=this.canonical.y*2;return[new Rc(q,this.wrap,q,ue,_e),new Rc(q,this.wrap,q,ue+1,_e),new Rc(q,this.wrap,q,ue,_e+1),new Rc(q,this.wrap,q,ue+1,_e+1)]},Rc.prototype.isLessThan=function(H){return this.wrap<H.wrap?!0:this.wrap>H.wrap?!1:this.overscaledZ<H.overscaledZ?!0:this.overscaledZ>H.overscaledZ?!1:this.canonical.x<H.canonical.x?!0:this.canonical.x>H.canonical.x?!1:this.canonical.y<H.canonical.y},Rc.prototype.wrapped=function(){return new Rc(this.overscaledZ,0,this.canonical.z,this.canonical.x,this.canonical.y)},Rc.prototype.unwrapTo=function(H){return new Rc(this.overscaledZ,H,this.canonical.z,this.canonical.x,this.canonical.y)},Rc.prototype.overscaleFactor=function(){return Math.pow(2,this.overscaledZ-this.canonical.z)},Rc.prototype.toUnwrapped=function(){return new XJe(this.wrap,this.canonical)},Rc.prototype.toString=function(){return this.overscaledZ+"/"+this.canonical.x+"/"+this.canonical.y},Rc.prototype.getTilePoint=function(H){return this.canonical.getTilePoint(new Ym(H.x-this.wrap,H.y))};function ER($,H,q,ue,_e){$*=2,$<0&&($=$*-1-1);var Ie=1<<q;return(Ie*Ie*$+Ie*_e+ue).toString(36)+q.toString(36)+H.toString(36)}function Vir($,H,q){for(var ue="",_e,Ie=$;Ie>0;Ie--)_e=1<<Ie-1,ue+=(H&_e?1:0)+(q&_e?2:0);return ue}Ye("CanonicalTileID",D4),Ye("OverscaledTileID",Rc,{omit:["posMatrix"]});var cy=function(H,q,ue){if(this.uid=H,q.height!==q.width)throw new RangeError("DEM tiles must be square");if(ue&&ue!=="mapbox"&&ue!=="terrarium")return j('"'+ue+'" is not a valid encoding type. Valid types include "mapbox" and "terrarium".');this.stride=q.height;var _e=this.dim=q.height-2;this.data=new Uint32Array(q.data.buffer),this.encoding=ue||"mapbox";for(var Ie=0;Ie<_e;Ie++)this.data[this._idx(-1,Ie)]=this.data[this._idx(0,Ie)],this.data[this._idx(_e,Ie)]=this.data[this._idx(_e-1,Ie)],this.data[this._idx(Ie,-1)]=this.data[this._idx(Ie,0)],this.data[this._idx(Ie,_e)]=this.data[this._idx(Ie,_e-1)];this.data[this._idx(-1,-1)]=this.data[this._idx(0,0)],this.data[this._idx(_e,-1)]=this.data[this._idx(_e-1,0)],this.data[this._idx(-1,_e)]=this.data[this._idx(0,_e-1)],this.data[this._idx(_e,_e)]=this.data[this._idx(_e-1,_e-1)]};cy.prototype.get=function(H,q){var ue=new Uint8Array(this.data.buffer),_e=this._idx(H,q)*4,Ie=this.encoding==="terrarium"?this._unpackTerrarium:this._unpackMapbox;return Ie(ue[_e],ue[_e+1],ue[_e+2])},cy.prototype.getUnpackVector=function(){return this.encoding==="terrarium"?[256,1,.00390625,32768]:[6553.6,25.6,.1,1e4]},cy.prototype._idx=function(H,q){if(H<-1||H>=this.dim+1||q<-1||q>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(q+1)*this.stride+(H+1)},cy.prototype._unpackMapbox=function(H,q,ue){return(H*256*256+q*256+ue)/10-1e4},cy.prototype._unpackTerrarium=function(H,q,ue){return H*256+q+ue/256-32768},cy.prototype.getPixels=function(){return new yd({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},cy.prototype.backfillBorder=function(H,q,ue){if(this.dim!==H.dim)throw new Error("dem dimension mismatch");var _e=q*this.dim,Ie=q*this.dim+this.dim,$e=ue*this.dim,it=ue*this.dim+this.dim;switch(q){case-1:_e=Ie-1;break;case 1:Ie=_e+1;break}switch(ue){case-1:$e=it-1;break;case 1:it=$e+1;break}for(var St=-q*this.dim,Ot=-ue*this.dim,zt=$e;zt<it;zt++)for(var rr=_e;rr<Ie;rr++)this.data[this._idx(rr,zt)]=H.data[this._idx(rr+St,zt+Ot)]},Ye("DEMData",cy);function Gir($,H){var q={};if(!H)return q;for(var ue=function(){var $e=Ie[_e],it=$e.layerIds.map(function(rr){return H.getLayer(rr)}).filter(Boolean);if(it.length!==0){$e.layers=it,$e.stateDependentLayerIds&&($e.stateDependentLayers=$e.stateDependentLayerIds.map(function(rr){return it.filter(function(vr){return vr.id===rr})[0]}));for(var St=0,Ot=it;St<Ot.length;St+=1){var zt=Ot[St];q[zt.id]=$e}}},_e=0,Ie=$;_e<Ie.length;_e+=1)ue();return q}var Mle=function(H){this._stringToNumber={},this._numberToString=[];for(var q=0;q<H.length;q++){var ue=H[q];this._stringToNumber[ue]=q,this._numberToString[q]=ue}};Mle.prototype.encode=function(H){return this._stringToNumber[H]},Mle.prototype.decode=function(H){return this._numberToString[H]};var Rle=function(H,q,ue,_e,Ie){this.type="Feature",this._vectorTileFeature=H,H._z=q,H._x=ue,H._y=_e,this.properties=H.properties,this.id=Ie},v4e={geometry:{configurable:!0}};v4e.geometry.get=function(){return this._geometry===void 0&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x,this._vectorTileFeature._y,this._vectorTileFeature._z).geometry),this._geometry},v4e.geometry.set=function($){this._geometry=$},Rle.prototype.toJSON=function(){var H={geometry:this.geometry};for(var q in this)q==="_geometry"||q==="_vectorTileFeature"||(H[q]=this[q]);return H},Object.defineProperties(Rle.prototype,v4e);var k6=function(){this.state={},this.stateChanges={},this.deletedStates={}};k6.prototype.updateState=function(H,q,ue){var _e=String(q);if(this.stateChanges[H]=this.stateChanges[H]||{},this.stateChanges[H][_e]=this.stateChanges[H][_e]||{},L(this.stateChanges[H][_e],ue),this.deletedStates[H]===null){this.deletedStates[H]={};for(var Ie in this.state[H])Ie!==_e&&(this.deletedStates[H][Ie]=null)}else{var $e=this.deletedStates[H]&&this.deletedStates[H][_e]===null;if($e){this.deletedStates[H][_e]={};for(var it in this.state[H][_e])ue[it]||(this.deletedStates[H][_e][it]=null)}else for(var St in ue){var Ot=this.deletedStates[H]&&this.deletedStates[H][_e]&&this.deletedStates[H][_e][St]===null;Ot&&delete this.deletedStates[H][_e][St]}}},k6.prototype.removeFeatureState=function(H,q,ue){var _e=this.deletedStates[H]===null;if(!_e){var Ie=String(q);if(this.deletedStates[H]=this.deletedStates[H]||{},ue&&q!==void 0)this.deletedStates[H][Ie]!==null&&(this.deletedStates[H][Ie]=this.deletedStates[H][Ie]||{},this.deletedStates[H][Ie][ue]=null);else if(q!==void 0){var $e=this.stateChanges[H]&&this.stateChanges[H][Ie];if($e){this.deletedStates[H][Ie]={};for(ue in this.stateChanges[H][Ie])this.deletedStates[H][Ie][ue]=null}else this.deletedStates[H][Ie]=null}else this.deletedStates[H]=null}},k6.prototype.getState=function(H,q){var ue=String(q),_e=this.state[H]||{},Ie=this.stateChanges[H]||{},$e=L({},_e[ue],Ie[ue]);if(this.deletedStates[H]===null)return{};if(this.deletedStates[H]){var it=this.deletedStates[H][q];if(it===null)return{};for(var St in it)delete $e[St]}return $e},k6.prototype.initializeTileState=function(H,q){H.setFeatureState(this.state,q)},k6.prototype.coalesceChanges=function(H,q){var ue={};for(var _e in this.stateChanges){this.state[_e]=this.state[_e]||{};var Ie={};for(var $e in this.stateChanges[_e])this.state[_e][$e]||(this.state[_e][$e]={}),L(this.state[_e][$e],this.stateChanges[_e][$e]),Ie[$e]=this.state[_e][$e];ue[_e]=Ie}for(var it in this.deletedStates){this.state[it]=this.state[it]||{};var St={};if(this.deletedStates[it]===null)for(var Ot in this.state[it])St[Ot]={},this.state[it][Ot]={};else for(var zt in this.deletedStates[it]){var rr=this.deletedStates[it][zt]===null;if(rr)this.state[it][zt]={};else for(var vr=0,dr=Object.keys(this.deletedStates[it][zt]);vr<dr.length;vr+=1){var Or=dr[vr];delete this.state[it][zt][Or]}St[zt]=this.state[it][zt]}ue[it]=ue[it]||{},L(ue[it],St)}if(this.stateChanges={},this.deletedStates={},Object.keys(ue).length!==0)for(var on in H){var Pn=H[on];Pn.setFeatureState(ue,q)}};var uy=function(H,q){this.tileID=H,this.x=H.canonical.x,this.y=H.canonical.y,this.z=H.canonical.z,this.grid=new Ki(Si,16,0),this.grid3D=new Ki(Si,16,0),this.featureIndexArray=new s6,this.promoteId=q};uy.prototype.insert=function(H,q,ue,_e,Ie,$e){var it=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(ue,_e,Ie);for(var St=$e?this.grid3D:this.grid,Ot=0;Ot<q.length;Ot++){for(var zt=q[Ot],rr=[1/0,1/0,-1/0,-1/0],vr=0;vr<zt.length;vr++){var dr=zt[vr];rr[0]=Math.min(rr[0],dr.x),rr[1]=Math.min(rr[1],dr.y),rr[2]=Math.max(rr[2],dr.x),rr[3]=Math.max(rr[3],dr.y)}rr[0]<Si&&rr[1]<Si&&rr[2]>=0&&rr[3]>=0&&St.insert(it,rr[0],rr[1],rr[2],rr[3])}},uy.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new g_.VectorTile(new Rs(this.rawTileData)).layers,this.sourceLayerCoder=new Mle(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},uy.prototype.query=function(H,q,ue,_e){var Ie=this;this.loadVTLayers();for(var $e=H.params||{},it=Si/H.tileSize/H.scale,St=Gc($e.filter),Ot=H.queryGeometry,zt=H.queryPadding*it,rr=ZJe(Ot),vr=this.grid.query(rr.minX-zt,rr.minY-zt,rr.maxX+zt,rr.maxY+zt),dr=ZJe(H.cameraQueryGeometry),Or=this.grid3D.query(dr.minX-zt,dr.minY-zt,dr.maxX+zt,dr.maxY+zt,function(Ma,Ga,Ha,wi){return bp(H.cameraQueryGeometry,Ma-zt,Ga-zt,Ha+zt,wi+zt)}),on=0,Pn=Or;on<Pn.length;on+=1){var Mn=Pn[on];vr.push(Mn)}vr.sort(jir);for(var ca={},Wn,sa=function(Ma){var Ga=vr[Ma];if(Ga!==Wn){Wn=Ga;var Ha=Ie.featureIndexArray.get(Ga),wi=null;Ie.loadMatchingFeature(ca,Ha.bucketIndex,Ha.sourceLayerIndex,Ha.featureIndex,St,$e.layers,$e.availableImages,q,ue,_e,function(pi,bi,ro){return wi||(wi=Lo(pi)),bi.queryIntersectsFeature(Ot,pi,ro,wi,Ie.z,H.transform,it,H.pixelPosMatrix)})}},va=0;va<vr.length;va++)sa(va);return ca},uy.prototype.loadMatchingFeature=function(H,q,ue,_e,Ie,$e,it,St,Ot,zt,rr){var vr=this.bucketLayerIDs[q];if(!($e&&!z($e,vr))){var dr=this.sourceLayerCoder.decode(ue),Or=this.vtLayers[dr],on=Or.feature(_e);if(Ie.needGeometry){var Pn=Ms(on,!0);if(!Ie.filter(new _i(this.tileID.overscaledZ),Pn,this.tileID.canonical))return}else if(!Ie.filter(new _i(this.tileID.overscaledZ),on))return;for(var Mn=this.getId(on,dr),ca=0;ca<vr.length;ca++){var Wn=vr[ca];if(!($e&&$e.indexOf(Wn)<0)){var sa=St[Wn];if(sa){var va={};Mn!==void 0&&zt&&(va=zt.getState(sa.sourceLayer||"_geojsonTileLayer",Mn));var Ma=L({},Ot[Wn]);Ma.paint=qJe(Ma.paint,sa.paint,on,va,it),Ma.layout=qJe(Ma.layout,sa.layout,on,va,it);var Ga=!rr||rr(on,sa,va);if(Ga){var Ha=new Rle(on,this.z,this.x,this.y,Mn);Ha.layer=Ma;var wi=H[Wn];wi===void 0&&(wi=H[Wn]=[]),wi.push({featureIndex:_e,feature:Ha,intersectionZ:Ga})}}}}}},uy.prototype.lookupSymbolFeatures=function(H,q,ue,_e,Ie,$e,it,St){var Ot={};this.loadVTLayers();for(var zt=Gc(Ie),rr=0,vr=H;rr<vr.length;rr+=1){var dr=vr[rr];this.loadMatchingFeature(Ot,ue,_e,dr,zt,$e,it,St,q)}return Ot},uy.prototype.hasLayer=function(H){for(var q=0,ue=this.bucketLayerIDs;q<ue.length;q+=1)for(var _e=ue[q],Ie=0,$e=_e;Ie<$e.length;Ie+=1){var it=$e[Ie];if(H===it)return!0}return!1},uy.prototype.getId=function(H,q){var ue=H.id;if(this.promoteId){var _e=typeof this.promoteId=="string"?this.promoteId:this.promoteId[q];ue=H.properties[_e],typeof ue=="boolean"&&(ue=Number(ue))}return ue},Ye("FeatureIndex",uy,{omit:["rawTileData","sourceLayerCoder"]});function qJe($,H,q,ue,_e){return U($,function(Ie,$e){var it=H instanceof Il?H.get($e):null;return it&&it.evaluate?it.evaluate(q,ue,_e):it})}function ZJe($){for(var H=1/0,q=1/0,ue=-1/0,_e=-1/0,Ie=0,$e=$;Ie<$e.length;Ie+=1){var it=$e[Ie];H=Math.min(H,it.x),q=Math.min(q,it.y),ue=Math.max(ue,it.x),_e=Math.max(_e,it.y)}return{minX:H,minY:q,maxX:ue,maxY:_e}}function jir($,H){return H-$}var Yir=3e4,cu=function(H,q){this.tileID=H,this.uid=M(),this.uses=0,this.tileSize=q,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.expiredRequestCount=0,this.state="loading"};cu.prototype.registerFadeDuration=function(H){var q=H+this.timeAdded;q<de.now()||this.fadeEndTime&&q<this.fadeEndTime||(this.fadeEndTime=q)},cu.prototype.wasRequested=function(){return this.state==="errored"||this.state==="loaded"||this.state==="reloading"},cu.prototype.loadVectorData=function(H,q,ue){if(this.hasData()&&this.unloadVectorData(),this.state="loaded",!H){this.collisionBoxArray=new g4;return}H.featureIndex&&(this.latestFeatureIndex=H.featureIndex,H.rawTileData?(this.latestRawTileData=H.rawTileData,this.latestFeatureIndex.rawTileData=H.rawTileData):this.latestRawTileData&&(this.latestFeatureIndex.rawTileData=this.latestRawTileData)),this.collisionBoxArray=H.collisionBoxArray,this.buckets=Gir(H.buckets,q.style),this.hasSymbolBuckets=!1;for(var _e in this.buckets){var Ie=this.buckets[_e];if(Ie instanceof As)if(this.hasSymbolBuckets=!0,ue)Ie.justReloaded=!0;else break}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(var $e in this.buckets){var it=this.buckets[$e];if(it instanceof As&&it.hasRTLText){this.hasRTLText=!0,Pi();break}}this.queryPadding=0;for(var St in this.buckets){var Ot=this.buckets[St];this.queryPadding=Math.max(this.queryPadding,q.style.getLayer(St).queryRadius(Ot))}H.imageAtlas&&(this.imageAtlas=H.imageAtlas),H.glyphAtlasImage&&(this.glyphAtlasImage=H.glyphAtlasImage)},cu.prototype.unloadVectorData=function(){for(var H in this.buckets)this.buckets[H].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.imageAtlas&&(this.imageAtlas=null),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.latestFeatureIndex=null,this.state="unloaded"},cu.prototype.getBucket=function(H){return this.buckets[H.id]},cu.prototype.upload=function(H){for(var q in this.buckets){var ue=this.buckets[q];ue.uploadPending()&&ue.upload(H)}var _e=H.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new Jn(H,this.imageAtlas.image,_e.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new Jn(H,this.glyphAtlasImage,_e.ALPHA),this.glyphAtlasImage=null)},cu.prototype.prepare=function(H){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(H,this.imageAtlasTexture)},cu.prototype.queryRenderedFeatures=function(H,q,ue,_e,Ie,$e,it,St,Ot,zt){return!this.latestFeatureIndex||!this.latestFeatureIndex.rawTileData?{}:this.latestFeatureIndex.query({queryGeometry:_e,cameraQueryGeometry:Ie,scale:$e,tileSize:this.tileSize,pixelPosMatrix:zt,transform:St,params:it,queryPadding:this.queryPadding*Ot},H,q,ue)},cu.prototype.querySourceFeatures=function(H,q){var ue=this.latestFeatureIndex;if(!(!ue||!ue.rawTileData)){var _e=ue.loadVTLayers(),Ie=q?q.sourceLayer:"",$e=_e._geojsonTileLayer||_e[Ie];if($e)for(var it=Gc(q&&q.filter),St=this.tileID.canonical,Ot=St.z,zt=St.x,rr=St.y,vr={z:Ot,x:zt,y:rr},dr=0;dr<$e.length;dr++){var Or=$e.feature(dr);if(it.needGeometry){var on=Ms(Or,!0);if(!it.filter(new _i(this.tileID.overscaledZ),on,this.tileID.canonical))continue}else if(!it.filter(new _i(this.tileID.overscaledZ),Or))continue;var Pn=ue.getId(Or,Ie),Mn=new Rle(Or,Ot,zt,rr,Pn);Mn.tile=vr,H.push(Mn)}}},cu.prototype.hasData=function(){return this.state==="loaded"||this.state==="reloading"||this.state==="expired"},cu.prototype.patternsLoaded=function(){return this.imageAtlas&&!!Object.keys(this.imageAtlas.patternPositions).length},cu.prototype.setExpiryData=function(H){var q=this.expirationTime;if(H.cacheControl){var ue=ae(H.cacheControl);ue["max-age"]&&(this.expirationTime=Date.now()+ue["max-age"]*1e3)}else H.expires&&(this.expirationTime=new Date(H.expires).getTime());if(this.expirationTime){var _e=Date.now(),Ie=!1;if(this.expirationTime>_e)Ie=!1;else if(!q)Ie=!0;else if(this.expirationTime<q)Ie=!0;else{var $e=this.expirationTime-q;$e?this.expirationTime=_e+Math.max($e,Yir):Ie=!0}Ie?(this.expiredRequestCount++,this.state="expired"):this.expiredRequestCount=0}},cu.prototype.getExpiryTimeout=function(){if(this.expirationTime)return this.expiredRequestCount?1e3*(1<<Math.min(this.expiredRequestCount-1,31)):Math.min(this.expirationTime-new Date().getTime(),Math.pow(2,31)-1)},cu.prototype.setFeatureState=function(H,q){if(!(!this.latestFeatureIndex||!this.latestFeatureIndex.rawTileData||Object.keys(H).length===0)){var ue=this.latestFeatureIndex.loadVTLayers();for(var _e in this.buckets)if(q.style.hasLayer(_e)){var Ie=this.buckets[_e],$e=Ie.layers[0].sourceLayer||"_geojsonTileLayer",it=ue[$e],St=H[$e];if(!(!it||!St||Object.keys(St).length===0)){Ie.update(St,it,this.imageAtlas&&this.imageAtlas.patternPositions||{});var Ot=q&&q.style&&q.style.getLayer(_e);Ot&&(this.queryPadding=Math.max(this.queryPadding,Ot.queryRadius(Ie)))}}}},cu.prototype.holdingForFade=function(){return this.symbolFadeHoldUntil!==void 0},cu.prototype.symbolFadeFinished=function(){return!this.symbolFadeHoldUntil||this.symbolFadeHoldUntil<de.now()},cu.prototype.clearFadeHold=function(){this.symbolFadeHoldUntil=void 0},cu.prototype.setHoldDuration=function(H){this.symbolFadeHoldUntil=de.now()+H},cu.prototype.setDependencies=function(H,q){for(var ue={},_e=0,Ie=q;_e<Ie.length;_e+=1){var $e=Ie[_e];ue[$e]=!0}this.dependencies[H]=ue},cu.prototype.hasDependency=function(H,q){for(var ue=0,_e=H;ue<_e.length;ue+=1){var Ie=_e[ue],$e=this.dependencies[Ie];if($e)for(var it=0,St=q;it<St.length;it+=1){var Ot=St[it];if($e[Ot])return!0}}return!1};var Wir=["type","source","source-layer","minzoom","maxzoom","filter","layout"],M_=d.performance,QJe=function(H){this._marks={start:[H.url,"start"].join("#"),end:[H.url,"end"].join("#"),measure:H.url.toString()},M_.mark(this._marks.start)};QJe.prototype.finish=function(){M_.mark(this._marks.end);var H=M_.getEntriesByName(this._marks.measure);return H.length===0&&(M_.measure(this._marks.measure,this._marks.start,this._marks.end),H=M_.getEntriesByName(this._marks.measure),M_.clearMarks(this._marks.start),M_.clearMarks(this._marks.end),M_.clearMeasures(this._marks.measure)),H},i.Actor=Pa,i.AlphaImage=oy,i.CanonicalTileID=D4,i.CollisionBoxArray=g4,i.Color=Ao,i.DEMData=cy,i.DataConstantProperty=ja,i.DictionaryCoder=Mle,i.EXTENT=Si,i.ErrorEvent=Kt,i.EvaluationParameters=_i,i.Event=fr,i.Evented=kr,i.FeatureIndex=uy,i.FillBucket=Ep,i.FillExtrusionBucket=Ku,i.ImageAtlas=N4,i.ImagePosition=R4,i.LineBucket=Xu,i.LngLat=Ui,i.LngLatBounds=Ai,i.MercatorCoordinate=Ym,i.ONE_EM=Mc,i.OverscaledTileID=Rc,i.Point=c,i.Point$1=c,i.Properties=Go,i.Protobuf=Rs,i.RGBAImage=yd,i.RequestManager=Ke,i.RequestPerformance=QJe,i.ResourceType=Ir,i.SegmentVector=xl,i.SourceFeatureState=k6,i.StructArrayLayout1ui2=g0,i.StructArrayLayout2f1f2i16=_p,i.StructArrayLayout2i4=fv,i.StructArrayLayout3ui6=Rf,i.StructArrayLayout4i8=m4,i.SymbolBucket=As,i.Texture=Jn,i.Tile=cu,i.Transitionable=No,i.Uniform1f=pn,i.Uniform1i=Qr,i.Uniform2f=hn,i.Uniform3f=dn,i.Uniform4f=_n,i.UniformColor=Fn,i.UniformMatrix4f=ha,i.UnwrappedTileID=XJe,i.ValidationError=rn,i.WritingMode=Lf,i.ZoomHistory=er,i.add=p_,i.addDynamicAttributes=xR,i.asyncAll=A,i.bezier=y,i.bindAll=D,i.browser=de,i.cacheEntryPossiblyAdded=Gt,i.clamp=w,i.clearTileCache=Pr,i.clipLine=pR,i.clone=ay,i.clone$1=Y,i.clone$2=W8,i.collisionCircleLayout=gSe,i.config=oe,i.create=f_,i.create$1=Au,i.create$2=ny,i.createCommonjsModule=S,i.createExpression=kf,i.createLayout=Gs,i.createStyleLayer=st,i.cross=fEe,i.deepEqual=f,i.dot=dEe,i.dot$1=gEe,i.ease=C,i.emitValidationErrors=Bi,i.endsWith=O,i.enforceCacheSizeLimit=cr,i.evaluateSizeForFeature=yle,i.evaluateSizeForZoom=_le,i.evaluateVariableOffset=Ale,i.evented=hi,i.extend=L,i.featureFilter=Gc,i.filterObject=B,i.fromRotation=Um,i.getAnchorAlignment=fR,i.getAnchorJustification=gR,i.getArrayBuffer=Zt,i.getImage=jt,i.getJSON=Ut,i.getRTLTextPluginStatus=Gi,i.getReferrer=At,i.getVideo=ar,i.identity=h_,i.invert=$m,i.isChar=tr,i.isMapboxURL=ze,i.keysDifference=k,i.makeRequest=Ht,i.mapObject=U,i.mercatorXfromLng=ys,i.mercatorYfromLat=Of,i.mercatorZfromAltitude=xd,i.mul=Y8,i.multiply=Hm,i.mvt=g_,i.nextPowerOfTwo=N,i.normalize=iy,i.number=ws,i.offscreenCanvasSupported=ur,i.ortho=j8,i.parseGlyphPBF=cle,i.pbf=Rs,i.performSymbolLayout=JSe,i.perspective=_4,i.pick=I,i.plugin=Ba,i.polygonIntersectsPolygon=to,i.postMapLoadEvent=qe,i.postTurnstileEvent=Qe,i.potpack=dle,i.refProperties=Wir,i.register=Ye,i.registerForPluginStateChange=Ro,i.renderColorRamp=Use,i.rotate=zm,i.rotateX=gd,i.rotateZ=Wu,i.scale=md,i.scale$1=mEe,i.scale$2=X8,i.setCacheLimits=Ct,i.setRTLTextPlugin=el,i.sphericalToCartesian=X,i.sqrLen=xEe,i.styleSpec=zr,i.sub=pEe,i.symbolSize=YSe,i.transformMat3=hEe,i.transformMat4=l6,i.translate=bl,i.triggerPluginCompletionEvent=ri,i.uniqueId=M,i.validateCustomStyleLayer=p4e,i.validateLight=La,i.validateStyle=fa,i.values=E,i.vectorTile=g_,i.version=g,i.warnOnce=j,i.webpSupported=fe,i.window=d,i.wrap=R}),v(["./shared"],function(i){function S(At){var mt=typeof At;if(mt==="number"||mt==="boolean"||mt==="string"||At===void 0||At===null)return JSON.stringify(At);if(Array.isArray(At)){for(var Mt="[",Pt=0,Ht=At;Pt<Ht.length;Pt+=1){var Ut=Ht[Pt];Mt+=S(Ut)+","}return Mt+"]"}for(var Zt=Object.keys(At).sort(),Xt="{",sr=0;sr<Zt.length;sr++)Xt+=JSON.stringify(Zt[sr])+":"+S(At[Zt[sr]])+",";return Xt+"}"}function g(At){for(var mt="",Mt=0,Pt=i.refProperties;Mt<Pt.length;Mt+=1){var Ht=Pt[Mt];mt+="/"+S(At[Ht])}return mt}function p(At,mt){for(var Mt={},Pt=0;Pt<At.length;Pt++){var Ht=mt&&mt[At[Pt].id]||g(At[Pt]);mt&&(mt[At[Pt].id]=Ht);var Ut=Mt[Ht];Ut||(Ut=Mt[Ht]=[]),Ut.push(At[Pt])}var Zt=[];for(var Xt in Mt)Zt.push(Mt[Xt]);return Zt}var _=function(mt){this.keyCache={},mt&&this.replace(mt)};_.prototype.replace=function(mt){this._layerConfigs={},this._layers={},this.update(mt,[])},_.prototype.update=function(mt,Mt){for(var Pt=this,Ht=0,Ut=mt;Ht<Ut.length;Ht+=1){var Zt=Ut[Ht];this._layerConfigs[Zt.id]=Zt;var Xt=this._layers[Zt.id]=i.createStyleLayer(Zt);Xt._featureFilter=i.featureFilter(Xt.filter),this.keyCache[Zt.id]&&delete this.keyCache[Zt.id]}for(var sr=0,Sr=Mt;sr<Sr.length;sr+=1){var wr=Sr[sr];delete this.keyCache[wr],delete this._layerConfigs[wr],delete this._layers[wr]}this.familiesBySource={};for(var Tr=p(i.values(this._layerConfigs),this.keyCache),Ze=0,Xe=Tr;Ze<Xe.length;Ze+=1){var Wt=Xe[Ze],jt=Wt.map(function(kr){return Pt._layers[kr.id]}),ar=jt[0];if(ar.visibility!=="none"){var mr=ar.source||"",br=this.familiesBySource[mr];br||(br=this.familiesBySource[mr]={});var fr=ar.sourceLayer||"_geojsonTileLayer",Kt=br[fr];Kt||(Kt=br[fr]=[]),Kt.push(jt)}}};var c=1,s=function(mt){var Mt={},Pt=[];for(var Ht in mt){var Ut=mt[Ht],Zt=Mt[Ht]={};for(var Xt in Ut){var sr=Ut[+Xt];if(!(!sr||sr.bitmap.width===0||sr.bitmap.height===0)){var Sr={x:0,y:0,w:sr.bitmap.width+2*c,h:sr.bitmap.height+2*c};Pt.push(Sr),Zt[Xt]={rect:Sr,metrics:sr.metrics}}}}var wr=i.potpack(Pt),Tr=wr.w,Ze=wr.h,Xe=new i.AlphaImage({width:Tr||1,height:Ze||1});for(var Wt in mt){var jt=mt[Wt];for(var ar in jt){var mr=jt[+ar];if(!(!mr||mr.bitmap.width===0||mr.bitmap.height===0)){var br=Mt[Wt][ar].rect;i.AlphaImage.copy(mr.bitmap,Xe,{x:0,y:0},{x:br.x+c,y:br.y+c},mr.bitmap)}}}this.image=Xe,this.positions=Mt};i.register("GlyphAtlas",s);var d=function(mt){this.tileID=new i.OverscaledTileID(mt.tileID.overscaledZ,mt.tileID.wrap,mt.tileID.canonical.z,mt.tileID.canonical.x,mt.tileID.canonical.y),this.uid=mt.uid,this.zoom=mt.zoom,this.pixelRatio=mt.pixelRatio,this.tileSize=mt.tileSize,this.source=mt.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=mt.showCollisionBoxes,this.collectResourceTiming=!!mt.collectResourceTiming,this.returnDependencies=!!mt.returnDependencies,this.promoteId=mt.promoteId};d.prototype.parse=function(mt,Mt,Pt,Ht,Ut){var Zt=this;this.status="parsing",this.data=mt,this.collisionBoxArray=new i.CollisionBoxArray;var Xt=new i.DictionaryCoder(Object.keys(mt.layers).sort()),sr=new i.FeatureIndex(this.tileID,this.promoteId);sr.bucketLayerIDs=[];var Sr={},wr={featureIndex:sr,iconDependencies:{},patternDependencies:{},glyphDependencies:{},availableImages:Pt},Tr=Mt.familiesBySource[this.source];for(var Ze in Tr){var Xe=mt.layers[Ze];if(Xe){Xe.version===1&&i.warnOnce('Vector tile source "'+this.source+'" layer "'+Ze+'" does not use vector tile spec v2 and therefore may have some rendering errors.');for(var Wt=Xt.encode(Ze),jt=[],ar=0;ar<Xe.length;ar++){var mr=Xe.feature(ar),br=sr.getId(mr,Ze);jt.push({feature:mr,id:br,index:ar,sourceLayerIndex:Wt})}for(var fr=0,Kt=Tr[Ze];fr<Kt.length;fr+=1){var kr=Kt[fr],Rr=kr[0];if(!(Rr.minzoom&&this.zoom<Math.floor(Rr.minzoom))&&!(Rr.maxzoom&&this.zoom>=Rr.maxzoom)&&Rr.visibility!=="none"){f(kr,this.zoom,Pt);var Lr=Sr[Rr.id]=Rr.createBucket({index:sr.bucketLayerIDs.length,layers:kr,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Wt,sourceID:this.source});Lr.populate(jt,wr,this.tileID.canonical),sr.bucketLayerIDs.push(kr.map(function(Cr){return Cr.id}))}}}}var Ar,ln,Kr,Xr,Bn=i.mapObject(wr.glyphDependencies,function(Cr){return Object.keys(Cr).map(Number)});Object.keys(Bn).length?Ht.send("getGlyphs",{uid:this.uid,stacks:Bn},function(Cr,Jr){Ar||(Ar=Cr,ln=Jr,ra.call(Zt))}):ln={};var An=Object.keys(wr.iconDependencies);An.length?Ht.send("getImages",{icons:An,source:this.source,tileID:this.tileID,type:"icons"},function(Cr,Jr){Ar||(Ar=Cr,Kr=Jr,ra.call(Zt))}):Kr={};var ta=Object.keys(wr.patternDependencies);ta.length?Ht.send("getImages",{icons:ta,source:this.source,tileID:this.tileID,type:"patterns"},function(Cr,Jr){Ar||(Ar=Cr,Xr=Jr,ra.call(Zt))}):Xr={},ra.call(this);function ra(){if(Ar)return Ut(Ar);if(ln&&Kr&&Xr){var Cr=new s(ln),Jr=new i.ImageAtlas(Kr,Xr);for(var un in Sr){var sn=Sr[un];sn instanceof i.SymbolBucket?(f(sn.layers,this.zoom,Pt),i.performSymbolLayout(sn,ln,Cr.positions,Kr,Jr.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):sn.hasPattern&&(sn instanceof i.LineBucket||sn instanceof i.FillBucket||sn instanceof i.FillExtrusionBucket)&&(f(sn.layers,this.zoom,Pt),sn.addFeatures(wr,this.tileID.canonical,Jr.patternPositions))}this.status="done",Ut(null,{buckets:i.values(Sr).filter(function(Nn){return!Nn.isEmpty()}),featureIndex:sr,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:Cr.image,imageAtlas:Jr,glyphMap:this.returnDependencies?ln:null,iconMap:this.returnDependencies?Kr:null,glyphPositions:this.returnDependencies?Cr.positions:null})}}};function f(At,mt,Mt){for(var Pt=new i.EvaluationParameters(mt),Ht=0,Ut=At;Ht<Ut.length;Ht+=1){var Zt=Ut[Ht];Zt.recalculate(Pt,Mt)}}function b(At,mt){var Mt=i.getArrayBuffer(At.request,function(Pt,Ht,Ut,Zt){Pt?mt(Pt):Ht&&mt(null,{vectorTile:new i.vectorTile.VectorTile(new i.pbf(Ht)),rawData:Ht,cacheControl:Ut,expires:Zt})});return function(){Mt.cancel(),mt()}}var x=function(mt,Mt,Pt,Ht){this.actor=mt,this.layerIndex=Mt,this.availableImages=Pt,this.loadVectorData=Ht||b,this.loading={},this.loaded={}};x.prototype.loadTile=function(mt,Mt){var Pt=this,Ht=mt.uid;this.loading||(this.loading={});var Ut=mt&&mt.request&&mt.request.collectResourceTiming?new i.RequestPerformance(mt.request):!1,Zt=this.loading[Ht]=new d(mt);Zt.abort=this.loadVectorData(mt,function(Xt,sr){if(delete Pt.loading[Ht],Xt||!sr)return Zt.status="done",Pt.loaded[Ht]=Zt,Mt(Xt);var Sr=sr.rawData,wr={};sr.expires&&(wr.expires=sr.expires),sr.cacheControl&&(wr.cacheControl=sr.cacheControl);var Tr={};if(Ut){var Ze=Ut.finish();Ze&&(Tr.resourceTiming=JSON.parse(JSON.stringify(Ze)))}Zt.vectorTile=sr.vectorTile,Zt.parse(sr.vectorTile,Pt.layerIndex,Pt.availableImages,Pt.actor,function(Xe,Wt){if(Xe||!Wt)return Mt(Xe);Mt(null,i.extend({rawTileData:Sr.slice(0)},Wt,wr,Tr))}),Pt.loaded=Pt.loaded||{},Pt.loaded[Ht]=Zt})},x.prototype.reloadTile=function(mt,Mt){var Pt=this,Ht=this.loaded,Ut=mt.uid,Zt=this;if(Ht&&Ht[Ut]){var Xt=Ht[Ut];Xt.showCollisionBoxes=mt.showCollisionBoxes;var sr=function(Sr,wr){var Tr=Xt.reloadCallback;Tr&&(delete Xt.reloadCallback,Xt.parse(Xt.vectorTile,Zt.layerIndex,Pt.availableImages,Zt.actor,Tr)),Mt(Sr,wr)};Xt.status==="parsing"?Xt.reloadCallback=sr:Xt.status==="done"&&(Xt.vectorTile?Xt.parse(Xt.vectorTile,this.layerIndex,this.availableImages,this.actor,sr):sr())}},x.prototype.abortTile=function(mt,Mt){var Pt=this.loading,Ht=mt.uid;Pt&&Pt[Ht]&&Pt[Ht].abort&&(Pt[Ht].abort(),delete Pt[Ht]),Mt()},x.prototype.removeTile=function(mt,Mt){var Pt=this.loaded,Ht=mt.uid;Pt&&Pt[Ht]&&delete Pt[Ht],Mt()};var y=i.window.ImageBitmap,C=function(){this.loaded={}};C.prototype.loadTile=function(mt,Mt){var Pt=mt.uid,Ht=mt.encoding,Ut=mt.rawImageData,Zt=y&&Ut instanceof y?this.getImageData(Ut):Ut,Xt=new i.DEMData(Pt,Zt,Ht);this.loaded=this.loaded||{},this.loaded[Pt]=Xt,Mt(null,Xt)},C.prototype.getImageData=function(mt){(!this.offscreenCanvas||!this.offscreenCanvasContext)&&(this.offscreenCanvas=new OffscreenCanvas(mt.width,mt.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=mt.width,this.offscreenCanvas.height=mt.height,this.offscreenCanvasContext.drawImage(mt,0,0,mt.width,mt.height);var Mt=this.offscreenCanvasContext.getImageData(-1,-1,mt.width+2,mt.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new i.RGBAImage({width:Mt.width,height:Mt.height},Mt.data)},C.prototype.removeTile=function(mt){var Mt=this.loaded,Pt=mt.uid;Mt&&Mt[Pt]&&delete Mt[Pt]};var w=R;function R(At,mt){var Mt=At&&At.type,Pt;if(Mt==="FeatureCollection")for(Pt=0;Pt<At.features.length;Pt++)R(At.features[Pt],mt);else if(Mt==="GeometryCollection")for(Pt=0;Pt<At.geometries.length;Pt++)R(At.geometries[Pt],mt);else if(Mt==="Feature")R(At.geometry,mt);else if(Mt==="Polygon")A(At.coordinates,mt);else if(Mt==="MultiPolygon")for(Pt=0;Pt<At.coordinates.length;Pt++)A(At.coordinates[Pt],mt);return At}function A(At,mt){if(At.length!==0){E(At[0],mt);for(var Mt=1;Mt<At.length;Mt++)E(At[Mt],!mt)}}function E(At,mt){for(var Mt=0,Pt=0,Ht=At.length,Ut=Ht-1;Pt<Ht;Ut=Pt++)Mt+=(At[Pt][0]-At[Ut][0])*(At[Ut][1]+At[Pt][1]);Mt>=0!=!!mt&&At.reverse()}var k=i.vectorTile.VectorTileFeature.prototype.toGeoJSON,L=function(mt){this._feature=mt,this.extent=i.EXTENT,this.type=mt.type,this.properties=mt.tags,"id"in mt&&!isNaN(mt.id)&&(this.id=parseInt(mt.id,10))};L.prototype.loadGeometry=function(){if(this._feature.type===1){for(var mt=[],Mt=0,Pt=this._feature.geometry;Mt<Pt.length;Mt+=1){var Ht=Pt[Mt];mt.push([new i.Point$1(Ht[0],Ht[1])])}return mt}else{for(var Ut=[],Zt=0,Xt=this._feature.geometry;Zt<Xt.length;Zt+=1){for(var sr=Xt[Zt],Sr=[],wr=0,Tr=sr;wr<Tr.length;wr+=1){var Ze=Tr[wr];Sr.push(new i.Point$1(Ze[0],Ze[1]))}Ut.push(Sr)}return Ut}},L.prototype.toGeoJSON=function(mt,Mt,Pt){return k.call(this,mt,Mt,Pt)};var I=function(mt){this.layers={_geojsonTileLayer:this},this.name="_geojsonTileLayer",this.extent=i.EXTENT,this.length=mt.length,this._features=mt};I.prototype.feature=function(mt){return new L(this._features[mt])};var P=i.vectorTile.VectorTileFeature,M=F;function F(At,mt){this.options=mt||{},this.features=At,this.length=At.length}F.prototype.feature=function(At){return new N(this.features[At],this.options.extent)};function N(At,mt){this.id=typeof At.id=="number"?At.id:void 0,this.type=At.type,this.rawGeometry=At.type===1?[At.geometry]:At.geometry,this.properties=At.tags,this.extent=mt||4096}N.prototype.loadGeometry=function(){var At=this.rawGeometry;this.geometry=[];for(var mt=0;mt<At.length;mt++){for(var Mt=At[mt],Pt=[],Ht=0;Ht<Mt.length;Ht++)Pt.push(new i.Point$1(Mt[Ht][0],Mt[Ht][1]));this.geometry.push(Pt)}return this.geometry},N.prototype.bbox=function(){this.geometry||this.loadGeometry();for(var At=this.geometry,mt=1/0,Mt=-1/0,Pt=1/0,Ht=-1/0,Ut=0;Ut<At.length;Ut++)for(var Zt=At[Ut],Xt=0;Xt<Zt.length;Xt++){var sr=Zt[Xt];mt=Math.min(mt,sr.x),Mt=Math.max(Mt,sr.x),Pt=Math.min(Pt,sr.y),Ht=Math.max(Ht,sr.y)}return[mt,Pt,Mt,Ht]},N.prototype.toGeoJSON=P.prototype.toGeoJSON;var T=B,D=B,O=Y,U=M;function B(At){var mt=new i.pbf;return z(At,mt),mt.finish()}function Y(At,mt){mt=mt||{};var Mt={};for(var Pt in At)Mt[Pt]=new M(At[Pt].features,mt),Mt[Pt].name=Pt,Mt[Pt].version=mt.version,Mt[Pt].extent=mt.extent;return B({layers:Mt})}function z(At,mt){for(var Mt in At.layers)mt.writeMessage(3,V,At.layers[Mt])}function V(At,mt){mt.writeVarintField(15,At.version||1),mt.writeStringField(1,At.name||""),mt.writeVarintField(5,At.extent||4096);var Mt,Pt={keys:[],values:[],keycache:{},valuecache:{}};for(Mt=0;Mt<At.length;Mt++)Pt.feature=At.feature(Mt),mt.writeMessage(2,j,Pt);var Ht=Pt.keys;for(Mt=0;Mt<Ht.length;Mt++)mt.writeStringField(3,Ht[Mt]);var Ut=Pt.values;for(Mt=0;Mt<Ut.length;Mt++)mt.writeMessage(4,ae,Ut[Mt])}function j(At,mt){var Mt=At.feature;Mt.id!==void 0&&mt.writeVarintField(1,Mt.id),mt.writeMessage(2,G,At),mt.writeVarintField(3,Mt.type),mt.writeMessage(4,Q,Mt)}function G(At,mt){var Mt=At.feature,Pt=At.keys,Ht=At.values,Ut=At.keycache,Zt=At.valuecache;for(var Xt in Mt.properties){var sr=Ut[Xt];typeof sr>"u"&&(Pt.push(Xt),sr=Pt.length-1,Ut[Xt]=sr),mt.writeVarint(sr);var Sr=Mt.properties[Xt],wr=typeof Sr;wr!=="string"&&wr!=="boolean"&&wr!=="number"&&(Sr=JSON.stringify(Sr));var Tr=wr+":"+Sr,Ze=Zt[Tr];typeof Ze>"u"&&(Ht.push(Sr),Ze=Ht.length-1,Zt[Tr]=Ze),mt.writeVarint(Ze)}}function W(At,mt){return(mt<<3)+(At&7)}function X(At){return At<<1^At>>31}function Q(At,mt){for(var Mt=At.loadGeometry(),Pt=At.type,Ht=0,Ut=0,Zt=Mt.length,Xt=0;Xt<Zt;Xt++){var sr=Mt[Xt],Sr=1;Pt===1&&(Sr=sr.length),mt.writeVarint(W(1,Sr));for(var wr=Pt===3?sr.length-1:sr.length,Tr=0;Tr<wr;Tr++){Tr===1&&Pt!==1&&mt.writeVarint(W(2,wr-1));var Ze=sr[Tr].x-Ht,Xe=sr[Tr].y-Ut;mt.writeVarint(X(Ze)),mt.writeVarint(X(Xe)),Ht+=Ze,Ut+=Xe}Pt===3&&mt.writeVarint(W(7,1))}}function ae(At,mt){var Mt=typeof At;Mt==="string"?mt.writeStringField(1,At):Mt==="boolean"?mt.writeBooleanField(7,At):Mt==="number"&&(At%1!==0?mt.writeDoubleField(3,At):At<0?mt.writeSVarintField(6,At):mt.writeVarintField(5,At))}T.fromVectorTileJs=D,T.fromGeojsonVt=O,T.GeoJSONWrapper=U;function ie(At,mt,Mt,Pt,Ht,Ut){if(!(Ht-Pt<=Mt)){var Zt=Pt+Ht>>1;he(At,mt,Zt,Pt,Ht,Ut%2),ie(At,mt,Mt,Pt,Zt-1,Ut+1),ie(At,mt,Mt,Zt+1,Ht,Ut+1)}}function he(At,mt,Mt,Pt,Ht,Ut){for(;Ht>Pt;){if(Ht-Pt>600){var Zt=Ht-Pt+1,Xt=Mt-Pt+1,sr=Math.log(Zt),Sr=.5*Math.exp(2*sr/3),wr=.5*Math.sqrt(sr*Sr*(Zt-Sr)/Zt)*(Xt-Zt/2<0?-1:1),Tr=Math.max(Pt,Math.floor(Mt-Xt*Sr/Zt+wr)),Ze=Math.min(Ht,Math.floor(Mt+(Zt-Xt)*Sr/Zt+wr));he(At,mt,Mt,Tr,Ze,Ut)}var Xe=mt[2*Mt+Ut],Wt=Pt,jt=Ht;for(J(At,mt,Pt,Mt),mt[2*Ht+Ut]>Xe&&J(At,mt,Pt,Ht);Wt<jt;){for(J(At,mt,Wt,jt),Wt++,jt--;mt[2*Wt+Ut]<Xe;)Wt++;for(;mt[2*jt+Ut]>Xe;)jt--}mt[2*Pt+Ut]===Xe?J(At,mt,Pt,jt):(jt++,J(At,mt,jt,Ht)),jt<=Mt&&(Pt=jt+1),Mt<=jt&&(Ht=jt-1)}}function J(At,mt,Mt,Pt){Z(At,Mt,Pt),Z(mt,2*Mt,2*Pt),Z(mt,2*Mt+1,2*Pt+1)}function Z(At,mt,Mt){var Pt=At[mt];At[mt]=At[Mt],At[Mt]=Pt}function le(At,mt,Mt,Pt,Ht,Ut,Zt){for(var Xt=[0,At.length-1,0],sr=[],Sr,wr;Xt.length;){var Tr=Xt.pop(),Ze=Xt.pop(),Xe=Xt.pop();if(Ze-Xe<=Zt){for(var Wt=Xe;Wt<=Ze;Wt++)Sr=mt[2*Wt],wr=mt[2*Wt+1],Sr>=Mt&&Sr<=Ht&&wr>=Pt&&wr<=Ut&&sr.push(At[Wt]);continue}var jt=Math.floor((Xe+Ze)/2);Sr=mt[2*jt],wr=mt[2*jt+1],Sr>=Mt&&Sr<=Ht&&wr>=Pt&&wr<=Ut&&sr.push(At[jt]);var ar=(Tr+1)%2;(Tr===0?Mt<=Sr:Pt<=wr)&&(Xt.push(Xe),Xt.push(jt-1),Xt.push(ar)),(Tr===0?Ht>=Sr:Ut>=wr)&&(Xt.push(jt+1),Xt.push(Ze),Xt.push(ar))}return sr}function K(At,mt,Mt,Pt,Ht,Ut){for(var Zt=[0,At.length-1,0],Xt=[],sr=Ht*Ht;Zt.length;){var Sr=Zt.pop(),wr=Zt.pop(),Tr=Zt.pop();if(wr-Tr<=Ut){for(var Ze=Tr;Ze<=wr;Ze++)te(mt[2*Ze],mt[2*Ze+1],Mt,Pt)<=sr&&Xt.push(At[Ze]);continue}var Xe=Math.floor((Tr+wr)/2),Wt=mt[2*Xe],jt=mt[2*Xe+1];te(Wt,jt,Mt,Pt)<=sr&&Xt.push(At[Xe]);var ar=(Sr+1)%2;(Sr===0?Mt-Ht<=Wt:Pt-Ht<=jt)&&(Zt.push(Tr),Zt.push(Xe-1),Zt.push(ar)),(Sr===0?Mt+Ht>=Wt:Pt+Ht>=jt)&&(Zt.push(Xe+1),Zt.push(wr),Zt.push(ar))}return Xt}function te(At,mt,Mt,Pt){var Ht=At-Mt,Ut=mt-Pt;return Ht*Ht+Ut*Ut}var ce=function(At){return At[0]},re=function(At){return At[1]},ee=function(mt,Mt,Pt,Ht,Ut){Mt===void 0&&(Mt=ce),Pt===void 0&&(Pt=re),Ht===void 0&&(Ht=64),Ut===void 0&&(Ut=Float64Array),this.nodeSize=Ht,this.points=mt;for(var Zt=mt.length<65536?Uint16Array:Uint32Array,Xt=this.ids=new Zt(mt.length),sr=this.coords=new Ut(mt.length*2),Sr=0;Sr<mt.length;Sr++)Xt[Sr]=Sr,sr[2*Sr]=Mt(mt[Sr]),sr[2*Sr+1]=Pt(mt[Sr]);ie(Xt,sr,Ht,0,Xt.length-1,0)};ee.prototype.range=function(mt,Mt,Pt,Ht){return le(this.ids,this.coords,mt,Mt,Pt,Ht,this.nodeSize)},ee.prototype.within=function(mt,Mt,Pt){return K(this.ids,this.coords,mt,Mt,Pt,this.nodeSize)};var de={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(At){return At}},oe=function(mt){this.options=Pe(Object.create(de),mt),this.trees=new Array(this.options.maxZoom+1)};oe.prototype.load=function(mt){var Mt=this.options,Pt=Mt.log,Ht=Mt.minZoom,Ut=Mt.maxZoom,Zt=Mt.nodeSize;Pt&&console.time("total time");var Xt="prepare "+mt.length+" points";Pt&&console.time(Xt),this.points=mt;for(var sr=[],Sr=0;Sr<mt.length;Sr++)mt[Sr].geometry&&sr.push(me(mt[Sr],Sr));this.trees[Ut+1]=new ee(sr,Ke,ze,Zt,Float32Array),Pt&&console.timeEnd(Xt);for(var wr=Ut;wr>=Ht;wr--){var Tr=+Date.now();sr=this._cluster(sr,wr),this.trees[wr]=new ee(sr,Ke,ze,Zt,Float32Array),Pt&&console.log("z%d: %d clusters in %dms",wr,sr.length,+Date.now()-Tr)}return Pt&&console.timeEnd("total time"),this},oe.prototype.getClusters=function(mt,Mt){var Pt=((mt[0]+180)%360+360)%360-180,Ht=Math.max(-90,Math.min(90,mt[1])),Ut=mt[2]===180?180:((mt[2]+180)%360+360)%360-180,Zt=Math.max(-90,Math.min(90,mt[3]));if(mt[2]-mt[0]>=360)Pt=-180,Ut=180;else if(Pt>Ut){var Xt=this.getClusters([Pt,Ht,180,Zt],Mt),sr=this.getClusters([-180,Ht,Ut,Zt],Mt);return Xt.concat(sr)}for(var Sr=this.trees[this._limitZoom(Mt)],wr=Sr.range(Be(Pt),Ae(Zt),Be(Ut),Ae(Ht)),Tr=[],Ze=0,Xe=wr;Ze<Xe.length;Ze+=1){var Wt=Xe[Ze],jt=Sr.points[Wt];Tr.push(jt.numPoints?Te(jt):this.points[jt.index])}return Tr},oe.prototype.getChildren=function(mt){var Mt=this._getOriginId(mt),Pt=this._getOriginZoom(mt),Ht="No cluster with the specified id.",Ut=this.trees[Pt];if(!Ut)throw new Error(Ht);var Zt=Ut.points[Mt];if(!Zt)throw new Error(Ht);for(var Xt=this.options.radius/(this.options.extent*Math.pow(2,Pt-1)),sr=Ut.within(Zt.x,Zt.y,Xt),Sr=[],wr=0,Tr=sr;wr<Tr.length;wr+=1){var Ze=Tr[wr],Xe=Ut.points[Ze];Xe.parentId===mt&&Sr.push(Xe.numPoints?Te(Xe):this.points[Xe.index])}if(Sr.length===0)throw new Error(Ht);return Sr},oe.prototype.getLeaves=function(mt,Mt,Pt){Mt=Mt||10,Pt=Pt||0;var Ht=[];return this._appendLeaves(Ht,mt,Mt,Pt,0),Ht},oe.prototype.getTile=function(mt,Mt,Pt){var Ht=this.trees[this._limitZoom(mt)],Ut=Math.pow(2,mt),Zt=this.options,Xt=Zt.extent,sr=Zt.radius,Sr=sr/Xt,wr=(Pt-Sr)/Ut,Tr=(Pt+1+Sr)/Ut,Ze={features:[]};return this._addTileFeatures(Ht.range((Mt-Sr)/Ut,wr,(Mt+1+Sr)/Ut,Tr),Ht.points,Mt,Pt,Ut,Ze),Mt===0&&this._addTileFeatures(Ht.range(1-Sr/Ut,wr,1,Tr),Ht.points,Ut,Pt,Ut,Ze),Mt===Ut-1&&this._addTileFeatures(Ht.range(0,wr,Sr/Ut,Tr),Ht.points,-1,Pt,Ut,Ze),Ze.features.length?Ze:null},oe.prototype.getClusterExpansionZoom=function(mt){for(var Mt=this._getOriginZoom(mt)-1;Mt<=this.options.maxZoom;){var Pt=this.getChildren(mt);if(Mt++,Pt.length!==1)break;mt=Pt[0].properties.cluster_id}return Mt},oe.prototype._appendLeaves=function(mt,Mt,Pt,Ht,Ut){for(var Zt=this.getChildren(Mt),Xt=0,sr=Zt;Xt<sr.length;Xt+=1){var Sr=sr[Xt],wr=Sr.properties;if(wr&&wr.cluster?Ut+wr.point_count<=Ht?Ut+=wr.point_count:Ut=this._appendLeaves(mt,wr.cluster_id,Pt,Ht,Ut):Ut<Ht?Ut++:mt.push(Sr),mt.length===Pt)break}return Ut},oe.prototype._addTileFeatures=function(mt,Mt,Pt,Ht,Ut,Zt){for(var Xt=0,sr=mt;Xt<sr.length;Xt+=1){var Sr=sr[Xt],wr=Mt[Sr],Tr=wr.numPoints,Ze={type:1,geometry:[[Math.round(this.options.extent*(wr.x*Ut-Pt)),Math.round(this.options.extent*(wr.y*Ut-Ht))]],tags:Tr?we(wr):this.points[wr.index].properties},Xe=void 0;Tr?Xe=wr.id:this.options.generateId?Xe=wr.index:this.points[wr.index].id&&(Xe=this.points[wr.index].id),Xe!==void 0&&(Ze.id=Xe),Zt.features.push(Ze)}},oe.prototype._limitZoom=function(mt){return Math.max(this.options.minZoom,Math.min(+mt,this.options.maxZoom+1))},oe.prototype._cluster=function(mt,Mt){for(var Pt=[],Ht=this.options,Ut=Ht.radius,Zt=Ht.extent,Xt=Ht.reduce,sr=Ht.minPoints,Sr=Ut/(Zt*Math.pow(2,Mt)),wr=0;wr<mt.length;wr++){var Tr=mt[wr];if(!(Tr.zoom<=Mt)){Tr.zoom=Mt;for(var Ze=this.trees[Mt+1],Xe=Ze.within(Tr.x,Tr.y,Sr),Wt=Tr.numPoints||1,jt=Wt,ar=0,mr=Xe;ar<mr.length;ar+=1){var br=mr[ar],fr=Ze.points[br];fr.zoom>Mt&&(jt+=fr.numPoints||1)}if(jt>=sr){for(var Kt=Tr.x*Wt,kr=Tr.y*Wt,Rr=Xt&&Wt>1?this._map(Tr,!0):null,Lr=(wr<<5)+(Mt+1)+this.points.length,Ar=0,ln=Xe;Ar<ln.length;Ar+=1){var Kr=ln[Ar],Xr=Ze.points[Kr];if(!(Xr.zoom<=Mt)){Xr.zoom=Mt;var Bn=Xr.numPoints||1;Kt+=Xr.x*Bn,kr+=Xr.y*Bn,Xr.parentId=Lr,Xt&&(Rr||(Rr=this._map(Tr,!0)),Xt(Rr,this._map(Xr)))}}Tr.parentId=Lr,Pt.push(fe(Kt/jt,kr/jt,Lr,jt,Rr))}else if(Pt.push(Tr),jt>1)for(var An=0,ta=Xe;An<ta.length;An+=1){var ra=ta[An],Cr=Ze.points[ra];Cr.zoom<=Mt||(Cr.zoom=Mt,Pt.push(Cr))}}}return Pt},oe.prototype._getOriginId=function(mt){return mt-this.points.length>>5},oe.prototype._getOriginZoom=function(mt){return(mt-this.points.length)%32},oe.prototype._map=function(mt,Mt){if(mt.numPoints)return Mt?Pe({},mt.properties):mt.properties;var Pt=this.points[mt.index].properties,Ht=this.options.map(Pt);return Mt&&Ht===Pt?Pe({},Ht):Ht};function fe(At,mt,Mt,Pt,Ht){return{x:At,y:mt,zoom:1/0,id:Mt,parentId:-1,numPoints:Pt,properties:Ht}}function me(At,mt){var Mt=At.geometry.coordinates,Pt=Mt[0],Ht=Mt[1];return{x:Be(Pt),y:Ae(Ht),zoom:1/0,index:mt,parentId:-1}}function Te(At){return{type:"Feature",id:At.id,properties:we(At),geometry:{type:"Point",coordinates:[Re(At.x),be(At.y)]}}}function we(At){var mt=At.numPoints,Mt=mt>=1e4?Math.round(mt/1e3)+"k":mt>=1e3?Math.round(mt/100)/10+"k":mt;return Pe(Pe({},At.properties),{cluster:!0,cluster_id:At.id,point_count:mt,point_count_abbreviated:Mt})}function Be(At){return At/360+.5}function Ae(At){var mt=Math.sin(At*Math.PI/180),Mt=.5-.25*Math.log((1+mt)/(1-mt))/Math.PI;return Mt<0?0:Mt>1?1:Mt}function Re(At){return(At-.5)*360}function be(At){var mt=(180-At*360)*Math.PI/180;return 360*Math.atan(Math.exp(mt))/Math.PI-90}function Pe(At,mt){for(var Mt in mt)At[Mt]=mt[Mt];return At}function Ke(At){return At.x}function ze(At){return At.y}function Fe(At,mt,Mt,Pt){for(var Ht=Pt,Ut=Mt-mt>>1,Zt=Mt-mt,Xt,sr=At[mt],Sr=At[mt+1],wr=At[Mt],Tr=At[Mt+1],Ze=mt+3;Ze<Mt;Ze+=3){var Xe=We(At[Ze],At[Ze+1],sr,Sr,wr,Tr);if(Xe>Ht)Xt=Ze,Ht=Xe;else if(Xe===Ht){var Wt=Math.abs(Ze-Ut);Wt<Zt&&(Xt=Ze,Zt=Wt)}}Ht>Pt&&(Xt-mt>3&&Fe(At,mt,Xt,Pt),At[Xt+2]=Ht,Mt-Xt>3&&Fe(At,Xt,Mt,Pt))}function We(At,mt,Mt,Pt,Ht,Ut){var Zt=Ht-Mt,Xt=Ut-Pt;if(Zt!==0||Xt!==0){var sr=((At-Mt)*Zt+(mt-Pt)*Xt)/(Zt*Zt+Xt*Xt);sr>1?(Mt=Ht,Pt=Ut):sr>0&&(Mt+=Zt*sr,Pt+=Xt*sr)}return Zt=At-Mt,Xt=mt-Pt,Zt*Zt+Xt*Xt}function lt(At,mt,Mt,Pt){var Ht={id:typeof At>"u"?null:At,type:mt,geometry:Mt,tags:Pt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return ht(Ht),Ht}function ht(At){var mt=At.geometry,Mt=At.type;if(Mt==="Point"||Mt==="MultiPoint"||Mt==="LineString")tt(At,mt);else if(Mt==="Polygon"||Mt==="MultiLineString")for(var Pt=0;Pt<mt.length;Pt++)tt(At,mt[Pt]);else if(Mt==="MultiPolygon")for(Pt=0;Pt<mt.length;Pt++)for(var Ht=0;Ht<mt[Pt].length;Ht++)tt(At,mt[Pt][Ht])}function tt(At,mt){for(var Mt=0;Mt<mt.length;Mt+=3)At.minX=Math.min(At.minX,mt[Mt]),At.minY=Math.min(At.minY,mt[Mt+1]),At.maxX=Math.max(At.maxX,mt[Mt]),At.maxY=Math.max(At.maxY,mt[Mt+1])}function et(At,mt){var Mt=[];if(At.type==="FeatureCollection")for(var Pt=0;Pt<At.features.length;Pt++)pt(Mt,At.features[Pt],mt,Pt);else At.type==="Feature"?pt(Mt,At,mt):pt(Mt,{geometry:At},mt);return Mt}function pt(At,mt,Mt,Pt){if(mt.geometry){var Ht=mt.geometry.coordinates,Ut=mt.geometry.type,Zt=Math.pow(Mt.tolerance/((1<<Mt.maxZoom)*Mt.extent),2),Xt=[],sr=mt.id;if(Mt.promoteId?sr=mt.properties[Mt.promoteId]:Mt.generateId&&(sr=Pt||0),Ut==="Point")vt(Ht,Xt);else if(Ut==="MultiPoint")for(var Sr=0;Sr<Ht.length;Sr++)vt(Ht[Sr],Xt);else if(Ut==="LineString")_t(Ht,Xt,Zt,!1);else if(Ut==="MultiLineString")if(Mt.lineMetrics){for(Sr=0;Sr<Ht.length;Sr++)Xt=[],_t(Ht[Sr],Xt,Zt,!1),At.push(lt(sr,"LineString",Xt,mt.properties));return}else bt(Ht,Xt,Zt,!1);else if(Ut==="Polygon")bt(Ht,Xt,Zt,!0);else if(Ut==="MultiPolygon")for(Sr=0;Sr<Ht.length;Sr++){var wr=[];bt(Ht[Sr],wr,Zt,!0),Xt.push(wr)}else if(Ut==="GeometryCollection"){for(Sr=0;Sr<mt.geometry.geometries.length;Sr++)pt(At,{id:sr,geometry:mt.geometry.geometries[Sr],properties:mt.properties},Mt,Pt);return}else throw new Error("Input data is not a valid GeoJSON object.");At.push(lt(sr,Ut,Xt,mt.properties))}}function vt(At,mt){mt.push(Rt(At[0])),mt.push(ct(At[1])),mt.push(0)}function _t(At,mt,Mt,Pt){for(var Ht,Ut,Zt=0,Xt=0;Xt<At.length;Xt++){var sr=Rt(At[Xt][0]),Sr=ct(At[Xt][1]);mt.push(sr),mt.push(Sr),mt.push(0),Xt>0&&(Pt?Zt+=(Ht*Sr-sr*Ut)/2:Zt+=Math.sqrt(Math.pow(sr-Ht,2)+Math.pow(Sr-Ut,2))),Ht=sr,Ut=Sr}var wr=mt.length-3;mt[2]=1,Fe(mt,0,wr,Mt),mt[wr+2]=1,mt.size=Math.abs(Zt),mt.start=0,mt.end=mt.size}function bt(At,mt,Mt,Pt){for(var Ht=0;Ht<At.length;Ht++){var Ut=[];_t(At[Ht],Ut,Mt,Pt),mt.push(Ut)}}function Rt(At){return At/360+.5}function ct(At){var mt=Math.sin(At*Math.PI/180),Mt=.5-.25*Math.log((1+mt)/(1-mt))/Math.PI;return Mt<0?0:Mt>1?1:Mt}function Ve(At,mt,Mt,Pt,Ht,Ut,Zt,Xt){if(Mt/=mt,Pt/=mt,Ut>=Mt&&Zt<Pt)return At;if(Zt<Mt||Ut>=Pt)return null;for(var sr=[],Sr=0;Sr<At.length;Sr++){var wr=At[Sr],Tr=wr.geometry,Ze=wr.type,Xe=Ht===0?wr.minX:wr.minY,Wt=Ht===0?wr.maxX:wr.maxY;if(Xe>=Mt&&Wt<Pt){sr.push(wr);continue}else if(Wt<Mt||Xe>=Pt)continue;var jt=[];if(Ze==="Point"||Ze==="MultiPoint")Qe(Tr,jt,Mt,Pt,Ht);else if(Ze==="LineString")rt(Tr,jt,Mt,Pt,Ht,!1,Xt.lineMetrics);else if(Ze==="MultiLineString")He(Tr,jt,Mt,Pt,Ht,!1);else if(Ze==="Polygon")He(Tr,jt,Mt,Pt,Ht,!0);else if(Ze==="MultiPolygon")for(var ar=0;ar<Tr.length;ar++){var mr=[];He(Tr[ar],mr,Mt,Pt,Ht,!0),mr.length&&jt.push(mr)}if(jt.length){if(Xt.lineMetrics&&Ze==="LineString"){for(ar=0;ar<jt.length;ar++)sr.push(lt(wr.id,Ze,jt[ar],wr.tags));continue}(Ze==="LineString"||Ze==="MultiLineString")&&(jt.length===1?(Ze="LineString",jt=jt[0]):Ze="MultiLineString"),(Ze==="Point"||Ze==="MultiPoint")&&(Ze=jt.length===3?"Point":"MultiPoint"),sr.push(lt(wr.id,Ze,jt,wr.tags))}}return sr.length?sr:null}function Qe(At,mt,Mt,Pt,Ht){for(var Ut=0;Ut<At.length;Ut+=3){var Zt=At[Ut+Ht];Zt>=Mt&&Zt<=Pt&&(mt.push(At[Ut]),mt.push(At[Ut+1]),mt.push(At[Ut+2]))}}function rt(At,mt,Mt,Pt,Ht,Ut,Zt){for(var Xt=qe(At),sr=Ht===0?Se:Le,Sr=At.start,wr,Tr,Ze=0;Ze<At.length-3;Ze+=3){var Xe=At[Ze],Wt=At[Ze+1],jt=At[Ze+2],ar=At[Ze+3],mr=At[Ze+4],br=Ht===0?Xe:Wt,fr=Ht===0?ar:mr,Kt=!1;Zt&&(wr=Math.sqrt(Math.pow(Xe-ar,2)+Math.pow(Wt-mr,2))),br<Mt?fr>Mt&&(Tr=sr(Xt,Xe,Wt,ar,mr,Mt),Zt&&(Xt.start=Sr+wr*Tr)):br>Pt?fr<Pt&&(Tr=sr(Xt,Xe,Wt,ar,mr,Pt),Zt&&(Xt.start=Sr+wr*Tr)):Ce(Xt,Xe,Wt,jt),fr<Mt&&br>=Mt&&(Tr=sr(Xt,Xe,Wt,ar,mr,Mt),Kt=!0),fr>Pt&&br<=Pt&&(Tr=sr(Xt,Xe,Wt,ar,mr,Pt),Kt=!0),!Ut&&Kt&&(Zt&&(Xt.end=Sr+wr*Tr),mt.push(Xt),Xt=qe(At)),Zt&&(Sr+=wr)}var kr=At.length-3;Xe=At[kr],Wt=At[kr+1],jt=At[kr+2],br=Ht===0?Xe:Wt,br>=Mt&&br<=Pt&&Ce(Xt,Xe,Wt,jt),kr=Xt.length-3,Ut&&kr>=3&&(Xt[kr]!==Xt[0]||Xt[kr+1]!==Xt[1])&&Ce(Xt,Xt[0],Xt[1],Xt[2]),Xt.length&&mt.push(Xt)}function qe(At){var mt=[];return mt.size=At.size,mt.start=At.start,mt.end=At.end,mt}function He(At,mt,Mt,Pt,Ht,Ut){for(var Zt=0;Zt<At.length;Zt++)rt(At[Zt],mt,Mt,Pt,Ht,Ut,!1)}function Ce(At,mt,Mt,Pt){At.push(mt),At.push(Mt),At.push(Pt)}function Se(At,mt,Mt,Pt,Ht,Ut){var Zt=(Ut-mt)/(Pt-mt);return At.push(Ut),At.push(Mt+(Ht-Mt)*Zt),At.push(1),Zt}function Le(At,mt,Mt,Pt,Ht,Ut){var Zt=(Ut-Mt)/(Ht-Mt);return At.push(mt+(Pt-mt)*Zt),At.push(Ut),At.push(1),Zt}function Ne(At,mt){var Mt=mt.buffer/mt.extent,Pt=At,Ht=Ve(At,1,-1-Mt,Mt,0,-1,2,mt),Ut=Ve(At,1,1-Mt,2+Mt,0,-1,2,mt);return(Ht||Ut)&&(Pt=Ve(At,1,-Mt,1+Mt,0,-1,2,mt)||[],Ht&&(Pt=je(Ht,1).concat(Pt)),Ut&&(Pt=Pt.concat(je(Ut,-1)))),Pt}function je(At,mt){for(var Mt=[],Pt=0;Pt<At.length;Pt++){var Ht=At[Pt],Ut=Ht.type,Zt;if(Ut==="Point"||Ut==="MultiPoint"||Ut==="LineString")Zt=Je(Ht.geometry,mt);else if(Ut==="MultiLineString"||Ut==="Polygon"){Zt=[];for(var Xt=0;Xt<Ht.geometry.length;Xt++)Zt.push(Je(Ht.geometry[Xt],mt))}else if(Ut==="MultiPolygon")for(Zt=[],Xt=0;Xt<Ht.geometry.length;Xt++){for(var sr=[],Sr=0;Sr<Ht.geometry[Xt].length;Sr++)sr.push(Je(Ht.geometry[Xt][Sr],mt));Zt.push(sr)}Mt.push(lt(Ht.id,Ut,Zt,Ht.tags))}return Mt}function Je(At,mt){var Mt=[];Mt.size=At.size,At.start!==void 0&&(Mt.start=At.start,Mt.end=At.end);for(var Pt=0;Pt<At.length;Pt+=3)Mt.push(At[Pt]+mt,At[Pt+1],At[Pt+2]);return Mt}function ut(At,mt){if(At.transformed)return At;var Mt=1<<At.z,Pt=At.x,Ht=At.y,Ut,Zt,Xt;for(Ut=0;Ut<At.features.length;Ut++){var sr=At.features[Ut],Sr=sr.geometry,wr=sr.type;if(sr.geometry=[],wr===1)for(Zt=0;Zt<Sr.length;Zt+=2)sr.geometry.push(Et(Sr[Zt],Sr[Zt+1],mt,Mt,Pt,Ht));else for(Zt=0;Zt<Sr.length;Zt++){var Tr=[];for(Xt=0;Xt<Sr[Zt].length;Xt+=2)Tr.push(Et(Sr[Zt][Xt],Sr[Zt][Xt+1],mt,Mt,Pt,Ht));sr.geometry.push(Tr)}}return At.transformed=!0,At}function Et(At,mt,Mt,Pt,Ht,Ut){return[Math.round(Mt*(At*Pt-Ht)),Math.round(Mt*(mt*Pt-Ut))]}function wt(At,mt,Mt,Pt,Ht){for(var Ut=mt===Ht.maxZoom?0:Ht.tolerance/((1<<mt)*Ht.extent),Zt={features:[],numPoints:0,numSimplified:0,numFeatures:0,source:null,x:Mt,y:Pt,z:mt,transformed:!1,minX:2,minY:1,maxX:-1,maxY:0},Xt=0;Xt<At.length;Xt++){Zt.numFeatures++,nr(Zt,At[Xt],Ut,Ht);var sr=At[Xt].minX,Sr=At[Xt].minY,wr=At[Xt].maxX,Tr=At[Xt].maxY;sr<Zt.minX&&(Zt.minX=sr),Sr<Zt.minY&&(Zt.minY=Sr),wr>Zt.maxX&&(Zt.maxX=wr),Tr>Zt.maxY&&(Zt.maxY=Tr)}return Zt}function nr(At,mt,Mt,Pt){var Ht=mt.geometry,Ut=mt.type,Zt=[];if(Ut==="Point"||Ut==="MultiPoint")for(var Xt=0;Xt<Ht.length;Xt+=3)Zt.push(Ht[Xt]),Zt.push(Ht[Xt+1]),At.numPoints++,At.numSimplified++;else if(Ut==="LineString")ir(Zt,Ht,At,Mt,!1,!1);else if(Ut==="MultiLineString"||Ut==="Polygon")for(Xt=0;Xt<Ht.length;Xt++)ir(Zt,Ht[Xt],At,Mt,Ut==="Polygon",Xt===0);else if(Ut==="MultiPolygon")for(var sr=0;sr<Ht.length;sr++){var Sr=Ht[sr];for(Xt=0;Xt<Sr.length;Xt++)ir(Zt,Sr[Xt],At,Mt,!0,Xt===0)}if(Zt.length){var wr=mt.tags||null;if(Ut==="LineString"&&Pt.lineMetrics){wr={};for(var Tr in mt.tags)wr[Tr]=mt.tags[Tr];wr.mapbox_clip_start=Ht.start/Ht.size,wr.mapbox_clip_end=Ht.end/Ht.size}var Ze={geometry:Zt,type:Ut==="Polygon"||Ut==="MultiPolygon"?3:Ut==="LineString"||Ut==="MultiLineString"?2:1,tags:wr};mt.id!==null&&(Ze.id=mt.id),At.features.push(Ze)}}function ir(At,mt,Mt,Pt,Ht,Ut){var Zt=Pt*Pt;if(Pt>0&&mt.size<(Ht?Zt:Pt)){Mt.numPoints+=mt.length/3;return}for(var Xt=[],sr=0;sr<mt.length;sr+=3)(Pt===0||mt[sr+2]>Zt)&&(Mt.numSimplified++,Xt.push(mt[sr]),Xt.push(mt[sr+1])),Mt.numPoints++;Ht&&It(Xt,Ut),At.push(Xt)}function It(At,mt){for(var Mt=0,Pt=0,Ht=At.length,Ut=Ht-2;Pt<Ht;Ut=Pt,Pt+=2)Mt+=(At[Pt]-At[Ut])*(At[Pt+1]+At[Ut+1]);if(Mt>0===mt)for(Pt=0,Ht=At.length;Pt<Ht/2;Pt+=2){var Zt=At[Pt],Xt=At[Pt+1];At[Pt]=At[Ht-2-Pt],At[Pt+1]=At[Ht-1-Pt],At[Ht-2-Pt]=Zt,At[Ht-1-Pt]=Xt}}function Gt(At,mt){return new cr(At,mt)}function cr(At,mt){mt=this.options=Ct(Object.create(this.options),mt);var Mt=mt.debug;if(Mt&&console.time("preprocess data"),mt.maxZoom<0||mt.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(mt.promoteId&&mt.generateId)throw new Error("promoteId and generateId cannot be used together.");var Pt=et(At,mt);this.tiles={},this.tileCoords=[],Mt&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",mt.indexMaxZoom,mt.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),Pt=Ne(Pt,mt),Pt.length&&this.splitTile(Pt,0,0,0),Mt&&(Pt.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)))}cr.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},cr.prototype.splitTile=function(At,mt,Mt,Pt,Ht,Ut,Zt){for(var Xt=[At,mt,Mt,Pt],sr=this.options,Sr=sr.debug;Xt.length;){Pt=Xt.pop(),Mt=Xt.pop(),mt=Xt.pop(),At=Xt.pop();var wr=1<<mt,Tr=Pr(mt,Mt,Pt),Ze=this.tiles[Tr];if(!Ze&&(Sr>1&&console.time("creation"),Ze=this.tiles[Tr]=wt(At,mt,Mt,Pt,sr),this.tileCoords.push({z:mt,x:Mt,y:Pt}),Sr)){Sr>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",mt,Mt,Pt,Ze.numFeatures,Ze.numPoints,Ze.numSimplified),console.timeEnd("creation"));var Xe="z"+mt;this.stats[Xe]=(this.stats[Xe]||0)+1,this.total++}if(Ze.source=At,Ht){if(mt===sr.maxZoom||mt===Ht)continue;var Wt=1<<Ht-mt;if(Mt!==Math.floor(Ut/Wt)||Pt!==Math.floor(Zt/Wt))continue}else if(mt===sr.indexMaxZoom||Ze.numPoints<=sr.indexMaxPoints)continue;if(Ze.source=null,At.length!==0){Sr>1&&console.time("clipping");var jt=.5*sr.buffer/sr.extent,ar=.5-jt,mr=.5+jt,br=1+jt,fr,Kt,kr,Rr,Lr,Ar;fr=Kt=kr=Rr=null,Lr=Ve(At,wr,Mt-jt,Mt+mr,0,Ze.minX,Ze.maxX,sr),Ar=Ve(At,wr,Mt+ar,Mt+br,0,Ze.minX,Ze.maxX,sr),At=null,Lr&&(fr=Ve(Lr,wr,Pt-jt,Pt+mr,1,Ze.minY,Ze.maxY,sr),Kt=Ve(Lr,wr,Pt+ar,Pt+br,1,Ze.minY,Ze.maxY,sr),Lr=null),Ar&&(kr=Ve(Ar,wr,Pt-jt,Pt+mr,1,Ze.minY,Ze.maxY,sr),Rr=Ve(Ar,wr,Pt+ar,Pt+br,1,Ze.minY,Ze.maxY,sr),Ar=null),Sr>1&&console.timeEnd("clipping"),Xt.push(fr||[],mt+1,Mt*2,Pt*2),Xt.push(Kt||[],mt+1,Mt*2,Pt*2+1),Xt.push(kr||[],mt+1,Mt*2+1,Pt*2),Xt.push(Rr||[],mt+1,Mt*2+1,Pt*2+1)}}},cr.prototype.getTile=function(At,mt,Mt){var Pt=this.options,Ht=Pt.extent,Ut=Pt.debug;if(At<0||At>24)return null;var Zt=1<<At;mt=(mt%Zt+Zt)%Zt;var Xt=Pr(At,mt,Mt);if(this.tiles[Xt])return ut(this.tiles[Xt],Ht);Ut>1&&console.log("drilling down to z%d-%d-%d",At,mt,Mt);for(var sr=At,Sr=mt,wr=Mt,Tr;!Tr&&sr>0;)sr--,Sr=Math.floor(Sr/2),wr=Math.floor(wr/2),Tr=this.tiles[Pr(sr,Sr,wr)];return!Tr||!Tr.source?null:(Ut>1&&console.log("found parent tile z%d-%d-%d",sr,Sr,wr),Ut>1&&console.time("drilling down"),this.splitTile(Tr.source,sr,Sr,wr,At,mt,Mt),Ut>1&&console.timeEnd("drilling down"),this.tiles[Xt]?ut(this.tiles[Xt],Ht):null)};function Pr(At,mt,Mt){return((1<<At)*Mt+mt)*32+At}function Ct(At,mt){for(var Mt in mt)At[Mt]=mt[Mt];return At}function or(At,mt){var Mt=At.tileID.canonical;if(!this._geoJSONIndex)return mt(null,null);var Pt=this._geoJSONIndex.getTile(Mt.z,Mt.x,Mt.y);if(!Pt)return mt(null,null);var Ht=new I(Pt.features),Ut=T(Ht);(Ut.byteOffset!==0||Ut.byteLength!==Ut.buffer.byteLength)&&(Ut=new Uint8Array(Ut)),mt(null,{vectorTile:Ht,rawData:Ut.buffer})}var ur=function(At){function mt(Mt,Pt,Ht,Ut){At.call(this,Mt,Pt,Ht,or),Ut&&(this.loadGeoJSON=Ut)}return At&&(mt.__proto__=At),mt.prototype=Object.create(At&&At.prototype),mt.prototype.constructor=mt,mt.prototype.loadData=function(Pt,Ht){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=Ht,this._pendingLoadDataParams=Pt,this._state&&this._state!=="Idle"?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},mt.prototype._loadData=function(){var Pt=this;if(!(!this._pendingCallback||!this._pendingLoadDataParams)){var Ht=this._pendingCallback,Ut=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var Zt=Ut&&Ut.request&&Ut.request.collectResourceTiming?new i.RequestPerformance(Ut.request):!1;this.loadGeoJSON(Ut,function(Xt,sr){if(Xt||!sr)return Ht(Xt);if(typeof sr!="object")return Ht(new Error("Input data given to '"+Ut.source+"' is not a valid GeoJSON object."));w(sr,!0);try{if(Ut.filter){var Sr=i.createExpression(Ut.filter,{type:"boolean","property-type":"data-driven",overridable:!1,transition:!1});if(Sr.result==="error")throw new Error(Sr.value.map(function(Xe){return Xe.key+": "+Xe.message}).join(", "));var wr=sr.features.filter(function(Xe){return Sr.value.evaluate({zoom:0},Xe)});sr={type:"FeatureCollection",features:wr}}Pt._geoJSONIndex=Ut.cluster?new oe(Ir(Ut)).load(sr.features):Gt(sr,Ut.geojsonVtOptions)}catch(Xe){return Ht(Xe)}Pt.loaded={};var Tr={};if(Zt){var Ze=Zt.finish();Ze&&(Tr.resourceTiming={},Tr.resourceTiming[Ut.source]=JSON.parse(JSON.stringify(Ze)))}Ht(null,Tr)})}},mt.prototype.coalesce=function(){this._state==="Coalescing"?this._state="Idle":this._state==="NeedsLoadData"&&(this._state="Coalescing",this._loadData())},mt.prototype.reloadTile=function(Pt,Ht){var Ut=this.loaded,Zt=Pt.uid;return Ut&&Ut[Zt]?At.prototype.reloadTile.call(this,Pt,Ht):this.loadTile(Pt,Ht)},mt.prototype.loadGeoJSON=function(Pt,Ht){if(Pt.request)i.getJSON(Pt.request,Ht);else if(typeof Pt.data=="string")try{return Ht(null,JSON.parse(Pt.data))}catch{return Ht(new Error("Input data given to '"+Pt.source+"' is not a valid GeoJSON object."))}else return Ht(new Error("Input data given to '"+Pt.source+"' is not a valid GeoJSON object."))},mt.prototype.removeSource=function(Pt,Ht){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),Ht()},mt.prototype.getClusterExpansionZoom=function(Pt,Ht){try{Ht(null,this._geoJSONIndex.getClusterExpansionZoom(Pt.clusterId))}catch(Ut){Ht(Ut)}},mt.prototype.getClusterChildren=function(Pt,Ht){try{Ht(null,this._geoJSONIndex.getChildren(Pt.clusterId))}catch(Ut){Ht(Ut)}},mt.prototype.getClusterLeaves=function(Pt,Ht){try{Ht(null,this._geoJSONIndex.getLeaves(Pt.clusterId,Pt.limit,Pt.offset))}catch(Ut){Ht(Ut)}},mt}(x);function Ir(At){var mt=At.superclusterOptions,Mt=At.clusterProperties;if(!Mt||!mt)return mt;for(var Pt={},Ht={},Ut={accumulated:null,zoom:0},Zt={properties:null},Xt=Object.keys(Mt),sr=0,Sr=Xt;sr<Sr.length;sr+=1){var wr=Sr[sr],Tr=Mt[wr],Ze=Tr[0],Xe=Tr[1],Wt=i.createExpression(Xe),jt=i.createExpression(typeof Ze=="string"?[Ze,["accumulated"],["get",wr]]:Ze);Pt[wr]=Wt.value,Ht[wr]=jt.value}return mt.map=function(ar){Zt.properties=ar;for(var mr={},br=0,fr=Xt;br<fr.length;br+=1){var Kt=fr[br];mr[Kt]=Pt[Kt].evaluate(Ut,Zt)}return mr},mt.reduce=function(ar,mr){Zt.properties=mr;for(var br=0,fr=Xt;br<fr.length;br+=1){var Kt=fr[br];Ut.accumulated=ar[Kt],ar[Kt]=Ht[Kt].evaluate(Ut,Zt)}},mt}var yr=function(mt){var Mt=this;this.self=mt,this.actor=new i.Actor(mt,this),this.layerIndexes={},this.availableImages={},this.workerSourceTypes={vector:x,geojson:ur},this.workerSources={},this.demWorkerSources={},this.self.registerWorkerSource=function(Pt,Ht){if(Mt.workerSourceTypes[Pt])throw new Error('Worker source with name "'+Pt+'" already registered.');Mt.workerSourceTypes[Pt]=Ht},this.self.registerRTLTextPlugin=function(Pt){if(i.plugin.isParsed())throw new Error("RTL text plugin already registered.");i.plugin.applyArabicShaping=Pt.applyArabicShaping,i.plugin.processBidirectionalText=Pt.processBidirectionalText,i.plugin.processStyledBidirectionalText=Pt.processStyledBidirectionalText}};return yr.prototype.setReferrer=function(mt,Mt){this.referrer=Mt},yr.prototype.setImages=function(mt,Mt,Pt){this.availableImages[mt]=Mt;for(var Ht in this.workerSources[mt]){var Ut=this.workerSources[mt][Ht];for(var Zt in Ut)Ut[Zt].availableImages=Mt}Pt()},yr.prototype.setLayers=function(mt,Mt,Pt){this.getLayerIndex(mt).replace(Mt),Pt()},yr.prototype.updateLayers=function(mt,Mt,Pt){this.getLayerIndex(mt).update(Mt.layers,Mt.removedIds),Pt()},yr.prototype.loadTile=function(mt,Mt,Pt){this.getWorkerSource(mt,Mt.type,Mt.source).loadTile(Mt,Pt)},yr.prototype.loadDEMTile=function(mt,Mt,Pt){this.getDEMWorkerSource(mt,Mt.source).loadTile(Mt,Pt)},yr.prototype.reloadTile=function(mt,Mt,Pt){this.getWorkerSource(mt,Mt.type,Mt.source).reloadTile(Mt,Pt)},yr.prototype.abortTile=function(mt,Mt,Pt){this.getWorkerSource(mt,Mt.type,Mt.source).abortTile(Mt,Pt)},yr.prototype.removeTile=function(mt,Mt,Pt){this.getWorkerSource(mt,Mt.type,Mt.source).removeTile(Mt,Pt)},yr.prototype.removeDEMTile=function(mt,Mt){this.getDEMWorkerSource(mt,Mt.source).removeTile(Mt)},yr.prototype.removeSource=function(mt,Mt,Pt){if(!(!this.workerSources[mt]||!this.workerSources[mt][Mt.type]||!this.workerSources[mt][Mt.type][Mt.source])){var Ht=this.workerSources[mt][Mt.type][Mt.source];delete this.workerSources[mt][Mt.type][Mt.source],Ht.removeSource!==void 0?Ht.removeSource(Mt,Pt):Pt()}},yr.prototype.loadWorkerSource=function(mt,Mt,Pt){try{this.self.importScripts(Mt.url),Pt()}catch(Ht){Pt(Ht.toString())}},yr.prototype.syncRTLPluginState=function(mt,Mt,Pt){try{i.plugin.setState(Mt);var Ht=i.plugin.getPluginURL();if(i.plugin.isLoaded()&&!i.plugin.isParsed()&&Ht!=null){this.self.importScripts(Ht);var Ut=i.plugin.isParsed(),Zt=Ut?void 0:new Error("RTL Text Plugin failed to import scripts from "+Ht);Pt(Zt,Ut)}}catch(Xt){Pt(Xt.toString())}},yr.prototype.getAvailableImages=function(mt){var Mt=this.availableImages[mt];return Mt||(Mt=[]),Mt},yr.prototype.getLayerIndex=function(mt){var Mt=this.layerIndexes[mt];return Mt||(Mt=this.layerIndexes[mt]=new _),Mt},yr.prototype.getWorkerSource=function(mt,Mt,Pt){var Ht=this;if(this.workerSources[mt]||(this.workerSources[mt]={}),this.workerSources[mt][Mt]||(this.workerSources[mt][Mt]={}),!this.workerSources[mt][Mt][Pt]){var Ut={send:function(Zt,Xt,sr){Ht.actor.send(Zt,Xt,sr,mt)}};this.workerSources[mt][Mt][Pt]=new this.workerSourceTypes[Mt](Ut,this.getLayerIndex(mt),this.getAvailableImages(mt))}return this.workerSources[mt][Mt][Pt]},yr.prototype.getDEMWorkerSource=function(mt,Mt){return this.demWorkerSources[mt]||(this.demWorkerSources[mt]={}),this.demWorkerSources[mt][Mt]||(this.demWorkerSources[mt][Mt]=new C),this.demWorkerSources[mt][Mt]},yr.prototype.enforceCacheSizeLimit=function(mt,Mt){i.enforceCacheSizeLimit(Mt)},typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope&&(self.worker=new yr(self)),yr}),v(["./shared"],function(i){var S=i.createCommonjsModule(function(ge){ge.exports?ge.exports=ne:window&&(window.mapboxgl=window.mapboxgl||{},window.mapboxgl.supported=ne,window.mapboxgl.notSupportedReason=ye);function ne(dn){return!ye(dn)}function ye(dn){if(!se())return"not a browser";if(!xe())return"insufficent Array support";if(!Ge())return"insufficient Function support";if(!nt())return"insufficient Object support";if(!yt())return"insufficient JSON support";if(!Ft())return"insufficient worker support";if(!Jt())return"insufficient Uint8ClampedArray support";if(!lr())return"insufficient ArrayBuffer support";if(!Er())return"insufficient Canvas/getImageData support";if(!Qr(dn&&dn.failIfMajorPerformanceCaveat))return"insufficient WebGL support"}function se(){return typeof window<"u"&&typeof document<"u"}function xe(){return Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray}function Ge(){return Function.prototype&&Function.prototype.bind}function nt(){return Object.keys&&Object.create&&Object.getPrototypeOf&&Object.getOwnPropertyNames&&Object.isSealed&&Object.isFrozen&&Object.isExtensible&&Object.getOwnPropertyDescriptor&&Object.defineProperty&&Object.defineProperties&&Object.seal&&Object.freeze&&Object.preventExtensions}function yt(){return"JSON"in window&&"parse"in JSON&&"stringify"in JSON}function Ft(){if(!("Worker"in window&&"Blob"in window&&"URL"in window))return!1;var dn=new Blob([""],{type:"text/javascript"}),_n=URL.createObjectURL(dn),Fn,la;try{la=new Worker(_n),Fn=!0}catch{Fn=!1}return la&&la.terminate(),URL.revokeObjectURL(_n),Fn}function Jt(){return"Uint8ClampedArray"in window}function lr(){return ArrayBuffer.isView}function Er(){var dn=document.createElement("canvas");dn.width=dn.height=1;var _n=dn.getContext("2d");if(!_n)return!1;var Fn=_n.getImageData(0,0,1,1);return Fn&&Fn.width===dn.width}var _r={};function Qr(dn){return _r[dn]===void 0&&(_r[dn]=hn(dn)),_r[dn]}ne.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0};function pn(dn){var _n=document.createElement("canvas"),Fn=Object.create(ne.webGLContextAttributes);return Fn.failIfMajorPerformanceCaveat=dn,_n.probablySupportsContext?_n.probablySupportsContext("webgl",Fn)||_n.probablySupportsContext("experimental-webgl",Fn):_n.supportsContext?_n.supportsContext("webgl",Fn)||_n.supportsContext("experimental-webgl",Fn):_n.getContext("webgl",Fn)||_n.getContext("experimental-webgl",Fn)}function hn(dn){var _n=pn(dn);if(!_n)return!1;var Fn=_n.createShader(_n.VERTEX_SHADER);return!Fn||_n.isContextLost()?!1:(_n.shaderSource(Fn,"void main() {}"),_n.compileShader(Fn),_n.getShaderParameter(Fn,_n.COMPILE_STATUS)===!0)}}),g={};g.create=function(ge,ne,ye){var se=i.window.document.createElement(ge);return ne!==void 0&&(se.className=ne),ye&&ye.appendChild(se),se},g.createNS=function(ge,ne){var ye=i.window.document.createElementNS(ge,ne);return ye};var p=i.window.document&&i.window.document.documentElement.style;function _(ge){if(!p)return ge[0];for(var ne=0;ne<ge.length;ne++)if(ge[ne]in p)return ge[ne];return ge[0]}var c=_(["userSelect","MozUserSelect","WebkitUserSelect","msUserSelect"]),s;g.disableDrag=function(){p&&c&&(s=p[c],p[c]="none")},g.enableDrag=function(){p&&c&&(p[c]=s)};var d=_(["transform","WebkitTransform"]);g.setTransform=function(ge,ne){ge.style[d]=ne};var f=!1;try{var b=Object.defineProperty({},"passive",{get:function(){f=!0}});i.window.addEventListener("test",b,b),i.window.removeEventListener("test",b,b)}catch{f=!1}g.addEventListener=function(ge,ne,ye,se){se===void 0&&(se={}),"passive"in se&&f?ge.addEventListener(ne,ye,se):ge.addEventListener(ne,ye,se.capture)},g.removeEventListener=function(ge,ne,ye,se){se===void 0&&(se={}),"passive"in se&&f?ge.removeEventListener(ne,ye,se):ge.removeEventListener(ne,ye,se.capture)};var x=function(ge){ge.preventDefault(),ge.stopPropagation(),i.window.removeEventListener("click",x,!0)};g.suppressClick=function(){i.window.addEventListener("click",x,!0),i.window.setTimeout(function(){i.window.removeEventListener("click",x,!0)},0)},g.mousePos=function(ge,ne){var ye=ge.getBoundingClientRect();return new i.Point(ne.clientX-ye.left-ge.clientLeft,ne.clientY-ye.top-ge.clientTop)},g.touchPos=function(ge,ne){for(var ye=ge.getBoundingClientRect(),se=[],xe=0;xe<ne.length;xe++)se.push(new i.Point(ne[xe].clientX-ye.left-ge.clientLeft,ne[xe].clientY-ye.top-ge.clientTop));return se},g.mouseButton=function(ge){return typeof i.window.InstallTrigger<"u"&&ge.button===2&&ge.ctrlKey&&i.window.navigator.platform.toUpperCase().indexOf("MAC")>=0?0:ge.button},g.remove=function(ge){ge.parentNode&&ge.parentNode.removeChild(ge)};function y(ge,ne,ye){var se,xe,Ge,nt=i.browser.devicePixelRatio>1?"@2x":"",yt=i.getJSON(ne.transformRequest(ne.normalizeSpriteURL(ge,nt,".json"),i.ResourceType.SpriteJSON),function(lr,Er){yt=null,Ge||(Ge=lr,se=Er,Jt())}),Ft=i.getImage(ne.transformRequest(ne.normalizeSpriteURL(ge,nt,".png"),i.ResourceType.SpriteImage),function(lr,Er){Ft=null,Ge||(Ge=lr,xe=Er,Jt())});function Jt(){if(Ge)ye(Ge);else if(se&&xe){var lr=i.browser.getImageData(xe),Er={};for(var _r in se){var Qr=se[_r],pn=Qr.width,hn=Qr.height,dn=Qr.x,_n=Qr.y,Fn=Qr.sdf,la=Qr.pixelRatio,ha=Qr.stretchX,Ca=Qr.stretchY,Ia=Qr.content,Ta=new i.RGBAImage({width:pn,height:hn});i.RGBAImage.copy(lr,Ta,{x:dn,y:_n},{x:0,y:0},{width:pn,height:hn}),Er[_r]={data:Ta,pixelRatio:la,sdf:Fn,stretchX:ha,stretchY:Ca,content:Ia}}ye(null,Er)}}return{cancel:function(){yt&&(yt.cancel(),yt=null),Ft&&(Ft.cancel(),Ft=null)}}}function C(ge){var ne=ge.userImage;if(ne&&ne.render){var ye=ne.render();if(ye)return ge.data.replace(new Uint8Array(ne.data.buffer)),!0}return!1}var w=1,R=function(ge){function ne(){ge.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new i.RGBAImage({width:1,height:1}),this.dirty=!0}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.isLoaded=function(){return this.loaded},ne.prototype.setLoaded=function(se){if(this.loaded!==se&&(this.loaded=se,se)){for(var xe=0,Ge=this.requestors;xe<Ge.length;xe+=1){var nt=Ge[xe],yt=nt.ids,Ft=nt.callback;this._notify(yt,Ft)}this.requestors=[]}},ne.prototype.getImage=function(se){return this.images[se]},ne.prototype.addImage=function(se,xe){this._validate(se,xe)&&(this.images[se]=xe)},ne.prototype._validate=function(se,xe){var Ge=!0;return this._validateStretch(xe.stretchX,xe.data&&xe.data.width)||(this.fire(new i.ErrorEvent(new Error('Image "'+se+'" has invalid "stretchX" value'))),Ge=!1),this._validateStretch(xe.stretchY,xe.data&&xe.data.height)||(this.fire(new i.ErrorEvent(new Error('Image "'+se+'" has invalid "stretchY" value'))),Ge=!1),this._validateContent(xe.content,xe)||(this.fire(new i.ErrorEvent(new Error('Image "'+se+'" has invalid "content" value'))),Ge=!1),Ge},ne.prototype._validateStretch=function(se,xe){if(!se)return!0;for(var Ge=0,nt=0,yt=se;nt<yt.length;nt+=1){var Ft=yt[nt];if(Ft[0]<Ge||Ft[1]<Ft[0]||xe<Ft[1])return!1;Ge=Ft[1]}return!0},ne.prototype._validateContent=function(se,xe){return se?!(se.length!==4||se[0]<0||xe.data.width<se[0]||se[1]<0||xe.data.height<se[1]||se[2]<0||xe.data.width<se[2]||se[3]<0||xe.data.height<se[3]||se[2]<se[0]||se[3]<se[1]):!0},ne.prototype.updateImage=function(se,xe){var Ge=this.images[se];xe.version=Ge.version+1,this.images[se]=xe,this.updatedImages[se]=!0},ne.prototype.removeImage=function(se){var xe=this.images[se];delete this.images[se],delete this.patterns[se],xe.userImage&&xe.userImage.onRemove&&xe.userImage.onRemove()},ne.prototype.listImages=function(){return Object.keys(this.images)},ne.prototype.getImages=function(se,xe){var Ge=!0;if(!this.isLoaded())for(var nt=0,yt=se;nt<yt.length;nt+=1){var Ft=yt[nt];this.images[Ft]||(Ge=!1)}this.isLoaded()||Ge?this._notify(se,xe):this.requestors.push({ids:se,callback:xe})},ne.prototype._notify=function(se,xe){for(var Ge={},nt=0,yt=se;nt<yt.length;nt+=1){var Ft=yt[nt];this.images[Ft]||this.fire(new i.Event("styleimagemissing",{id:Ft}));var Jt=this.images[Ft];Jt?Ge[Ft]={data:Jt.data.clone(),pixelRatio:Jt.pixelRatio,sdf:Jt.sdf,version:Jt.version,stretchX:Jt.stretchX,stretchY:Jt.stretchY,content:Jt.content,hasRenderCallback:!!(Jt.userImage&&Jt.userImage.render)}:i.warnOnce('Image "'+Ft+'" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.')}xe(null,Ge)},ne.prototype.getPixelSize=function(){var se=this.atlasImage,xe=se.width,Ge=se.height;return{width:xe,height:Ge}},ne.prototype.getPattern=function(se){var xe=this.patterns[se],Ge=this.getImage(se);if(!Ge)return null;if(xe&&xe.position.version===Ge.version)return xe.position;if(xe)xe.position.version=Ge.version;else{var nt=Ge.data.width+w*2,yt=Ge.data.height+w*2,Ft={w:nt,h:yt,x:0,y:0},Jt=new i.ImagePosition(Ft,Ge);this.patterns[se]={bin:Ft,position:Jt}}return this._updatePatternAtlas(),this.patterns[se].position},ne.prototype.bind=function(se){var xe=se.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new i.Texture(se,this.atlasImage,xe.RGBA),this.atlasTexture.bind(xe.LINEAR,xe.CLAMP_TO_EDGE)},ne.prototype._updatePatternAtlas=function(){var se=[];for(var xe in this.patterns)se.push(this.patterns[xe].bin);var Ge=i.potpack(se),nt=Ge.w,yt=Ge.h,Ft=this.atlasImage;Ft.resize({width:nt||1,height:yt||1});for(var Jt in this.patterns){var lr=this.patterns[Jt],Er=lr.bin,_r=Er.x+w,Qr=Er.y+w,pn=this.images[Jt].data,hn=pn.width,dn=pn.height;i.RGBAImage.copy(pn,Ft,{x:0,y:0},{x:_r,y:Qr},{width:hn,height:dn}),i.RGBAImage.copy(pn,Ft,{x:0,y:dn-1},{x:_r,y:Qr-1},{width:hn,height:1}),i.RGBAImage.copy(pn,Ft,{x:0,y:0},{x:_r,y:Qr+dn},{width:hn,height:1}),i.RGBAImage.copy(pn,Ft,{x:hn-1,y:0},{x:_r-1,y:Qr},{width:1,height:dn}),i.RGBAImage.copy(pn,Ft,{x:0,y:0},{x:_r+hn,y:Qr},{width:1,height:dn})}this.dirty=!0},ne.prototype.beginFrame=function(){this.callbackDispatchedThisFrame={}},ne.prototype.dispatchRenderCallbacks=function(se){for(var xe=0,Ge=se;xe<Ge.length;xe+=1){var nt=Ge[xe];if(!this.callbackDispatchedThisFrame[nt]){this.callbackDispatchedThisFrame[nt]=!0;var yt=this.images[nt],Ft=C(yt);Ft&&this.updateImage(nt,yt)}}},ne}(i.Evented);function A(ge,ne,ye,se,xe){var Ge=ne*256,nt=Ge+255,yt=se.transformRequest(se.normalizeGlyphsURL(ye).replace("{fontstack}",ge).replace("{range}",Ge+"-"+nt),i.ResourceType.Glyphs);i.getArrayBuffer(yt,function(Ft,Jt){if(Ft)xe(Ft);else if(Jt){for(var lr={},Er=0,_r=i.parseGlyphPBF(Jt);Er<_r.length;Er+=1){var Qr=_r[Er];lr[Qr.id]=Qr}xe(null,lr)}})}var E=I,k=I,L=1e20;function I(ge,ne,ye,se,xe,Ge){this.fontSize=ge||24,this.buffer=ne===void 0?3:ne,this.cutoff=se||.25,this.fontFamily=xe||"sans-serif",this.fontWeight=Ge||"normal",this.radius=ye||8;var nt=this.size=this.fontSize+this.buffer*2;this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=nt,this.ctx=this.canvas.getContext("2d"),this.ctx.font=this.fontWeight+" "+this.fontSize+"px "+this.fontFamily,this.ctx.textBaseline="middle",this.ctx.fillStyle="black",this.gridOuter=new Float64Array(nt*nt),this.gridInner=new Float64Array(nt*nt),this.f=new Float64Array(nt),this.d=new Float64Array(nt),this.z=new Float64Array(nt+1),this.v=new Int16Array(nt),this.middle=Math.round(nt/2*(navigator.userAgent.indexOf("Gecko/")>=0?1.2:1))}I.prototype.draw=function(ge){this.ctx.clearRect(0,0,this.size,this.size),this.ctx.fillText(ge,this.buffer,this.middle);for(var ne=this.ctx.getImageData(0,0,this.size,this.size),ye=new Uint8ClampedArray(this.size*this.size),se=0;se<this.size*this.size;se++){var xe=ne.data[se*4+3]/255;this.gridOuter[se]=xe===1?0:xe===0?L:Math.pow(Math.max(0,.5-xe),2),this.gridInner[se]=xe===1?L:xe===0?0:Math.pow(Math.max(0,xe-.5),2)}for(P(this.gridOuter,this.size,this.size,this.f,this.d,this.v,this.z),P(this.gridInner,this.size,this.size,this.f,this.d,this.v,this.z),se=0;se<this.size*this.size;se++){var Ge=this.gridOuter[se]-this.gridInner[se];ye[se]=Math.max(0,Math.min(255,Math.round(255-255*(Ge/this.radius+this.cutoff))))}return ye};function P(ge,ne,ye,se,xe,Ge,nt){for(var yt=0;yt<ne;yt++){for(var Ft=0;Ft<ye;Ft++)se[Ft]=ge[Ft*ne+yt];for(M(se,xe,Ge,nt,ye),Ft=0;Ft<ye;Ft++)ge[Ft*ne+yt]=xe[Ft]}for(Ft=0;Ft<ye;Ft++){for(yt=0;yt<ne;yt++)se[yt]=ge[Ft*ne+yt];for(M(se,xe,Ge,nt,ne),yt=0;yt<ne;yt++)ge[Ft*ne+yt]=Math.sqrt(xe[yt])}}function M(ge,ne,ye,se,xe){ye[0]=0,se[0]=-L,se[1]=+L;for(var Ge=1,nt=0;Ge<xe;Ge++){for(var yt=(ge[Ge]+Ge*Ge-(ge[ye[nt]]+ye[nt]*ye[nt]))/(2*Ge-2*ye[nt]);yt<=se[nt];)nt--,yt=(ge[Ge]+Ge*Ge-(ge[ye[nt]]+ye[nt]*ye[nt]))/(2*Ge-2*ye[nt]);nt++,ye[nt]=Ge,se[nt]=yt,se[nt+1]=+L}for(Ge=0,nt=0;Ge<xe;Ge++){for(;se[nt+1]<Ge;)nt++;ne[Ge]=(Ge-ye[nt])*(Ge-ye[nt])+ge[ye[nt]]}}E.default=k;var F=function(ne,ye){this.requestManager=ne,this.localIdeographFontFamily=ye,this.entries={}};F.prototype.setURL=function(ne){this.url=ne},F.prototype.getGlyphs=function(ne,ye){var se=this,xe=[];for(var Ge in ne)for(var nt=0,yt=ne[Ge];nt<yt.length;nt+=1){var Ft=yt[nt];xe.push({stack:Ge,id:Ft})}i.asyncAll(xe,function(Jt,lr){var Er=Jt.stack,_r=Jt.id,Qr=se.entries[Er];Qr||(Qr=se.entries[Er]={glyphs:{},requests:{},ranges:{}});var pn=Qr.glyphs[_r];if(pn!==void 0){lr(null,{stack:Er,id:_r,glyph:pn});return}if(pn=se._tinySDF(Qr,Er,_r),pn){Qr.glyphs[_r]=pn,lr(null,{stack:Er,id:_r,glyph:pn});return}var hn=Math.floor(_r/256);if(hn*256>65535){lr(new Error("glyphs > 65535 not supported"));return}if(Qr.ranges[hn]){lr(null,{stack:Er,id:_r,glyph:pn});return}var dn=Qr.requests[hn];dn||(dn=Qr.requests[hn]=[],F.loadGlyphRange(Er,hn,se.url,se.requestManager,function(_n,Fn){if(Fn){for(var la in Fn)se._doesCharSupportLocalGlyph(+la)||(Qr.glyphs[+la]=Fn[+la]);Qr.ranges[hn]=!0}for(var ha=0,Ca=dn;ha<Ca.length;ha+=1){var Ia=Ca[ha];Ia(_n,Fn)}delete Qr.requests[hn]})),dn.push(function(_n,Fn){_n?lr(_n):Fn&&lr(null,{stack:Er,id:_r,glyph:Fn[_r]||null})})},function(Jt,lr){if(Jt)ye(Jt);else if(lr){for(var Er={},_r=0,Qr=lr;_r<Qr.length;_r+=1){var pn=Qr[_r],hn=pn.stack,dn=pn.id,_n=pn.glyph;(Er[hn]||(Er[hn]={}))[dn]=_n&&{id:_n.id,bitmap:_n.bitmap.clone(),metrics:_n.metrics}}ye(null,Er)}})},F.prototype._doesCharSupportLocalGlyph=function(ne){return!!this.localIdeographFontFamily&&(i.isChar["CJK Unified Ideographs"](ne)||i.isChar["Hangul Syllables"](ne)||i.isChar.Hiragana(ne)||i.isChar.Katakana(ne))},F.prototype._tinySDF=function(ne,ye,se){var xe=this.localIdeographFontFamily;if(xe&&this._doesCharSupportLocalGlyph(se)){var Ge=ne.tinySDF;if(!Ge){var nt="400";/bold/i.test(ye)?nt="900":/medium/i.test(ye)?nt="500":/light/i.test(ye)&&(nt="200"),Ge=ne.tinySDF=new F.TinySDF(24,3,8,.25,xe,nt)}return{id:se,bitmap:new i.AlphaImage({width:30,height:30},Ge.draw(String.fromCharCode(se))),metrics:{width:24,height:24,left:0,top:-8,advance:24}}}},F.loadGlyphRange=A,F.TinySDF=E;var N=function(){this.specification=i.styleSpec.light.position};N.prototype.possiblyEvaluate=function(ne,ye){return i.sphericalToCartesian(ne.expression.evaluate(ye))},N.prototype.interpolate=function(ne,ye,se){return{x:i.number(ne.x,ye.x,se),y:i.number(ne.y,ye.y,se),z:i.number(ne.z,ye.z,se)}};var T=new i.Properties({anchor:new i.DataConstantProperty(i.styleSpec.light.anchor),position:new N,color:new i.DataConstantProperty(i.styleSpec.light.color),intensity:new i.DataConstantProperty(i.styleSpec.light.intensity)}),D="-transition",O=function(ge){function ne(ye){ge.call(this),this._transitionable=new i.Transitionable(T),this.setLight(ye),this._transitioning=this._transitionable.untransitioned()}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getLight=function(){return this._transitionable.serialize()},ne.prototype.setLight=function(se,xe){if(xe===void 0&&(xe={}),!this._validate(i.validateLight,se,xe))for(var Ge in se){var nt=se[Ge];i.endsWith(Ge,D)?this._transitionable.setTransition(Ge.slice(0,-D.length),nt):this._transitionable.setValue(Ge,nt)}},ne.prototype.updateTransitions=function(se){this._transitioning=this._transitionable.transitioned(se,this._transitioning)},ne.prototype.hasTransition=function(){return this._transitioning.hasTransition()},ne.prototype.recalculate=function(se){this.properties=this._transitioning.possiblyEvaluate(se)},ne.prototype._validate=function(se,xe,Ge){return Ge&&Ge.validate===!1?!1:i.emitValidationErrors(this,se.call(i.validateStyle,i.extend({value:xe,style:{glyphs:!0,sprite:!0},styleSpec:i.styleSpec})))},ne}(i.Evented),U=function(ne,ye){this.width=ne,this.height=ye,this.nextRow=0,this.data=new Uint8Array(this.width*this.height),this.dashEntry={}};U.prototype.getDash=function(ne,ye){var se=ne.join(",")+String(ye);return this.dashEntry[se]||(this.dashEntry[se]=this.addDash(ne,ye)),this.dashEntry[se]},U.prototype.getDashRanges=function(ne,ye,se){var xe=ne.length%2===1,Ge=[],nt=xe?-ne[ne.length-1]*se:0,yt=ne[0]*se,Ft=!0;Ge.push({left:nt,right:yt,isDash:Ft,zeroLength:ne[0]===0});for(var Jt=ne[0],lr=1;lr<ne.length;lr++){Ft=!Ft;var Er=ne[lr];nt=Jt*se,Jt+=Er,yt=Jt*se,Ge.push({left:nt,right:yt,isDash:Ft,zeroLength:Er===0})}return Ge},U.prototype.addRoundDash=function(ne,ye,se){for(var xe=ye/2,Ge=-se;Ge<=se;Ge++)for(var nt=this.nextRow+se+Ge,yt=this.width*nt,Ft=0,Jt=ne[Ft],lr=0;lr<this.width;lr++){lr/Jt.right>1&&(Jt=ne[++Ft]);var Er=Math.abs(lr-Jt.left),_r=Math.abs(lr-Jt.right),Qr=Math.min(Er,_r),pn=void 0,hn=Ge/se*(xe+1);if(Jt.isDash){var dn=xe-Math.abs(hn);pn=Math.sqrt(Qr*Qr+dn*dn)}else pn=xe-Math.sqrt(Qr*Qr+hn*hn);this.data[yt+lr]=Math.max(0,Math.min(255,pn+128))}},U.prototype.addRegularDash=function(ne){for(var ye=ne.length-1;ye>=0;--ye){var se=ne[ye],xe=ne[ye+1];se.zeroLength?ne.splice(ye,1):xe&&xe.isDash===se.isDash&&(xe.left=se.left,ne.splice(ye,1))}var Ge=ne[0],nt=ne[ne.length-1];Ge.isDash===nt.isDash&&(Ge.left=nt.left-this.width,nt.right=Ge.right+this.width);for(var yt=this.width*this.nextRow,Ft=0,Jt=ne[Ft],lr=0;lr<this.width;lr++){lr/Jt.right>1&&(Jt=ne[++Ft]);var Er=Math.abs(lr-Jt.left),_r=Math.abs(lr-Jt.right),Qr=Math.min(Er,_r),pn=Jt.isDash?Qr:-Qr;this.data[yt+lr]=Math.max(0,Math.min(255,pn+128))}},U.prototype.addDash=function(ne,ye){var se=ye?7:0,xe=2*se+1;if(this.nextRow+xe>this.height)return i.warnOnce("LineAtlas out of space"),null;for(var Ge=0,nt=0;nt<ne.length;nt++)Ge+=ne[nt];if(Ge!==0){var yt=this.width/Ge,Ft=this.getDashRanges(ne,this.width,yt);ye?this.addRoundDash(Ft,yt,se):this.addRegularDash(Ft)}var Jt={y:(this.nextRow+se+.5)/this.height,height:2*se/this.height,width:Ge};return this.nextRow+=xe,this.dirty=!0,Jt},U.prototype.bind=function(ne){var ye=ne.gl;this.texture?(ye.bindTexture(ye.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,ye.texSubImage2D(ye.TEXTURE_2D,0,0,0,this.width,this.height,ye.ALPHA,ye.UNSIGNED_BYTE,this.data))):(this.texture=ye.createTexture(),ye.bindTexture(ye.TEXTURE_2D,this.texture),ye.texParameteri(ye.TEXTURE_2D,ye.TEXTURE_WRAP_S,ye.REPEAT),ye.texParameteri(ye.TEXTURE_2D,ye.TEXTURE_WRAP_T,ye.REPEAT),ye.texParameteri(ye.TEXTURE_2D,ye.TEXTURE_MIN_FILTER,ye.LINEAR),ye.texParameteri(ye.TEXTURE_2D,ye.TEXTURE_MAG_FILTER,ye.LINEAR),ye.texImage2D(ye.TEXTURE_2D,0,ye.ALPHA,this.width,this.height,0,ye.ALPHA,ye.UNSIGNED_BYTE,this.data))};var B=function ge(ne,ye){this.workerPool=ne,this.actors=[],this.currentActor=0,this.id=i.uniqueId();for(var se=this.workerPool.acquire(this.id),xe=0;xe<se.length;xe++){var Ge=se[xe],nt=new ge.Actor(Ge,ye,this.id);nt.name="Worker "+xe,this.actors.push(nt)}};B.prototype.broadcast=function(ne,ye,se){se=se||function(){},i.asyncAll(this.actors,function(xe,Ge){xe.send(ne,ye,Ge)},se)},B.prototype.getActor=function(){return this.currentActor=(this.currentActor+1)%this.actors.length,this.actors[this.currentActor]},B.prototype.remove=function(){this.actors.forEach(function(ne){ne.remove()}),this.actors=[],this.workerPool.release(this.id)},B.Actor=i.Actor;function Y(ge,ne,ye){var se=function(xe,Ge){if(xe)return ye(xe);if(Ge){var nt=i.pick(i.extend(Ge,ge),["tiles","minzoom","maxzoom","attribution","mapbox_logo","bounds","scheme","tileSize","encoding"]);Ge.vector_layers&&(nt.vectorLayers=Ge.vector_layers,nt.vectorLayerIds=nt.vectorLayers.map(function(yt){return yt.id})),nt.tiles=ne.canonicalizeTileset(nt,ge.url),ye(null,nt)}};return ge.url?i.getJSON(ne.transformRequest(ne.normalizeSourceURL(ge.url),i.ResourceType.Source),se):i.browser.frame(function(){return se(null,ge)})}var z=function(ne,ye,se){this.bounds=i.LngLatBounds.convert(this.validateBounds(ne)),this.minzoom=ye||0,this.maxzoom=se||24};z.prototype.validateBounds=function(ne){return!Array.isArray(ne)||ne.length!==4?[-180,-90,180,90]:[Math.max(-180,ne[0]),Math.max(-90,ne[1]),Math.min(180,ne[2]),Math.min(90,ne[3])]},z.prototype.contains=function(ne){var ye=Math.pow(2,ne.z),se={minX:Math.floor(i.mercatorXfromLng(this.bounds.getWest())*ye),minY:Math.floor(i.mercatorYfromLat(this.bounds.getNorth())*ye),maxX:Math.ceil(i.mercatorXfromLng(this.bounds.getEast())*ye),maxY:Math.ceil(i.mercatorYfromLat(this.bounds.getSouth())*ye)},xe=ne.x>=se.minX&&ne.x<se.maxX&&ne.y>=se.minY&&ne.y<se.maxY;return xe};var V=function(ge){function ne(ye,se,xe,Ge){if(ge.call(this),this.id=ye,this.dispatcher=xe,this.type="vector",this.minzoom=0,this.maxzoom=22,this.scheme="xyz",this.tileSize=512,this.reparseOverscaled=!0,this.isTileClipped=!0,this._loaded=!1,i.extend(this,i.pick(se,["url","scheme","tileSize","promoteId"])),this._options=i.extend({type:"vector"},se),this._collectResourceTiming=se.collectResourceTiming,this.tileSize!==512)throw new Error("vector tile sources must have a tileSize of 512");this.setEventedParent(Ge)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.load=function(){var se=this;this._loaded=!1,this.fire(new i.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=Y(this._options,this.map._requestManager,function(xe,Ge){se._tileJSONRequest=null,se._loaded=!0,xe?se.fire(new i.ErrorEvent(xe)):Ge&&(i.extend(se,Ge),Ge.bounds&&(se.tileBounds=new z(Ge.bounds,se.minzoom,se.maxzoom)),i.postTurnstileEvent(Ge.tiles,se.map._requestManager._customAccessToken),i.postMapLoadEvent(Ge.tiles,se.map._getMapId(),se.map._requestManager._skuToken,se.map._requestManager._customAccessToken),se.fire(new i.Event("data",{dataType:"source",sourceDataType:"metadata"})),se.fire(new i.Event("data",{dataType:"source",sourceDataType:"content"})))})},ne.prototype.loaded=function(){return this._loaded},ne.prototype.hasTile=function(se){return!this.tileBounds||this.tileBounds.contains(se.canonical)},ne.prototype.onAdd=function(se){this.map=se,this.load()},ne.prototype.setSourceProperty=function(se){this._tileJSONRequest&&this._tileJSONRequest.cancel(),se();var xe=this.map.style.sourceCaches[this.id];xe.clearTiles(),this.load()},ne.prototype.setTiles=function(se){var xe=this;return this.setSourceProperty(function(){xe._options.tiles=se}),this},ne.prototype.setUrl=function(se){var xe=this;return this.setSourceProperty(function(){xe.url=se,xe._options.url=se}),this},ne.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},ne.prototype.serialize=function(){return i.extend({},this._options)},ne.prototype.loadTile=function(se,xe){var Ge=this.map._requestManager.normalizeTileURL(se.tileID.canonical.url(this.tiles,this.scheme)),nt={request:this.map._requestManager.transformRequest(Ge,i.ResourceType.Tile),uid:se.uid,tileID:se.tileID,zoom:se.tileID.overscaledZ,tileSize:this.tileSize*se.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:i.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};nt.request.collectResourceTiming=this._collectResourceTiming,!se.actor||se.state==="expired"?(se.actor=this.dispatcher.getActor(),se.request=se.actor.send("loadTile",nt,yt.bind(this))):se.state==="loading"?se.reloadCallback=xe:se.request=se.actor.send("reloadTile",nt,yt.bind(this));function yt(Ft,Jt){if(delete se.request,se.aborted)return xe(null);if(Ft&&Ft.status!==404)return xe(Ft);Jt&&Jt.resourceTiming&&(se.resourceTiming=Jt.resourceTiming),this.map._refreshExpiredTiles&&Jt&&se.setExpiryData(Jt),se.loadVectorData(Jt,this.map.painter),i.cacheEntryPossiblyAdded(this.dispatcher),xe(null),se.reloadCallback&&(this.loadTile(se,se.reloadCallback),se.reloadCallback=null)}},ne.prototype.abortTile=function(se){se.request&&(se.request.cancel(),delete se.request),se.actor&&se.actor.send("abortTile",{uid:se.uid,type:this.type,source:this.id},void 0)},ne.prototype.unloadTile=function(se){se.unloadVectorData(),se.actor&&se.actor.send("removeTile",{uid:se.uid,type:this.type,source:this.id},void 0)},ne.prototype.hasTransition=function(){return!1},ne}(i.Evented),j=function(ge){function ne(ye,se,xe,Ge){ge.call(this),this.id=ye,this.dispatcher=xe,this.setEventedParent(Ge),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._options=i.extend({type:"raster"},se),i.extend(this,i.pick(se,["url","scheme","tileSize"]))}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.load=function(){var se=this;this._loaded=!1,this.fire(new i.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=Y(this._options,this.map._requestManager,function(xe,Ge){se._tileJSONRequest=null,se._loaded=!0,xe?se.fire(new i.ErrorEvent(xe)):Ge&&(i.extend(se,Ge),Ge.bounds&&(se.tileBounds=new z(Ge.bounds,se.minzoom,se.maxzoom)),i.postTurnstileEvent(Ge.tiles),i.postMapLoadEvent(Ge.tiles,se.map._getMapId(),se.map._requestManager._skuToken),se.fire(new i.Event("data",{dataType:"source",sourceDataType:"metadata"})),se.fire(new i.Event("data",{dataType:"source",sourceDataType:"content"})))})},ne.prototype.loaded=function(){return this._loaded},ne.prototype.onAdd=function(se){this.map=se,this.load()},ne.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},ne.prototype.serialize=function(){return i.extend({},this._options)},ne.prototype.hasTile=function(se){return!this.tileBounds||this.tileBounds.contains(se.canonical)},ne.prototype.loadTile=function(se,xe){var Ge=this,nt=this.map._requestManager.normalizeTileURL(se.tileID.canonical.url(this.tiles,this.scheme),this.tileSize);se.request=i.getImage(this.map._requestManager.transformRequest(nt,i.ResourceType.Tile),function(yt,Ft){if(delete se.request,se.aborted)se.state="unloaded",xe(null);else if(yt)se.state="errored",xe(yt);else if(Ft){Ge.map._refreshExpiredTiles&&se.setExpiryData(Ft),delete Ft.cacheControl,delete Ft.expires;var Jt=Ge.map.painter.context,lr=Jt.gl;se.texture=Ge.map.painter.getTileTexture(Ft.width),se.texture?se.texture.update(Ft,{useMipmap:!0}):(se.texture=new i.Texture(Jt,Ft,lr.RGBA,{useMipmap:!0}),se.texture.bind(lr.LINEAR,lr.CLAMP_TO_EDGE,lr.LINEAR_MIPMAP_NEAREST),Jt.extTextureFilterAnisotropic&&lr.texParameterf(lr.TEXTURE_2D,Jt.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,Jt.extTextureFilterAnisotropicMax)),se.state="loaded",i.cacheEntryPossiblyAdded(Ge.dispatcher),xe(null)}})},ne.prototype.abortTile=function(se,xe){se.request&&(se.request.cancel(),delete se.request),xe()},ne.prototype.unloadTile=function(se,xe){se.texture&&this.map.painter.saveTileTexture(se.texture),xe()},ne.prototype.hasTransition=function(){return!1},ne}(i.Evented),G=function(ge){function ne(ye,se,xe,Ge){ge.call(this,ye,se,xe,Ge),this.type="raster-dem",this.maxzoom=22,this._options=i.extend({type:"raster-dem"},se),this.encoding=se.encoding||"mapbox"}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.serialize=function(){return{type:"raster-dem",url:this.url,tileSize:this.tileSize,tiles:this.tiles,bounds:this.bounds,encoding:this.encoding}},ne.prototype.loadTile=function(se,xe){var Ge=this.map._requestManager.normalizeTileURL(se.tileID.canonical.url(this.tiles,this.scheme),this.tileSize);se.request=i.getImage(this.map._requestManager.transformRequest(Ge,i.ResourceType.Tile),nt.bind(this)),se.neighboringTiles=this._getNeighboringTiles(se.tileID);function nt(Ft,Jt){if(delete se.request,se.aborted)se.state="unloaded",xe(null);else if(Ft)se.state="errored",xe(Ft);else if(Jt){this.map._refreshExpiredTiles&&se.setExpiryData(Jt),delete Jt.cacheControl,delete Jt.expires;var lr=i.window.ImageBitmap&&Jt instanceof i.window.ImageBitmap&&i.offscreenCanvasSupported(),Er=lr?Jt:i.browser.getImageData(Jt,1),_r={uid:se.uid,coord:se.tileID,source:this.id,rawImageData:Er,encoding:this.encoding};(!se.actor||se.state==="expired")&&(se.actor=this.dispatcher.getActor(),se.actor.send("loadDEMTile",_r,yt.bind(this)))}}function yt(Ft,Jt){Ft&&(se.state="errored",xe(Ft)),Jt&&(se.dem=Jt,se.needsHillshadePrepare=!0,se.state="loaded",xe(null))}},ne.prototype._getNeighboringTiles=function(se){var xe=se.canonical,Ge=Math.pow(2,xe.z),nt=(xe.x-1+Ge)%Ge,yt=xe.x===0?se.wrap-1:se.wrap,Ft=(xe.x+1+Ge)%Ge,Jt=xe.x+1===Ge?se.wrap+1:se.wrap,lr={};return lr[new i.OverscaledTileID(se.overscaledZ,yt,xe.z,nt,xe.y).key]={backfilled:!1},lr[new i.OverscaledTileID(se.overscaledZ,Jt,xe.z,Ft,xe.y).key]={backfilled:!1},xe.y>0&&(lr[new i.OverscaledTileID(se.overscaledZ,yt,xe.z,nt,xe.y-1).key]={backfilled:!1},lr[new i.OverscaledTileID(se.overscaledZ,se.wrap,xe.z,xe.x,xe.y-1).key]={backfilled:!1},lr[new i.OverscaledTileID(se.overscaledZ,Jt,xe.z,Ft,xe.y-1).key]={backfilled:!1}),xe.y+1<Ge&&(lr[new i.OverscaledTileID(se.overscaledZ,yt,xe.z,nt,xe.y+1).key]={backfilled:!1},lr[new i.OverscaledTileID(se.overscaledZ,se.wrap,xe.z,xe.x,xe.y+1).key]={backfilled:!1},lr[new i.OverscaledTileID(se.overscaledZ,Jt,xe.z,Ft,xe.y+1).key]={backfilled:!1}),lr},ne.prototype.unloadTile=function(se){se.demTexture&&this.map.painter.saveTileTexture(se.demTexture),se.fbo&&(se.fbo.destroy(),delete se.fbo),se.dem&&delete se.dem,delete se.neighboringTiles,se.state="unloaded",se.actor&&se.actor.send("removeDEMTile",{uid:se.uid,source:this.id})},ne}(j),W=function(ge){function ne(ye,se,xe,Ge){ge.call(this),this.id=ye,this.type="geojson",this.minzoom=0,this.maxzoom=18,this.tileSize=512,this.isTileClipped=!0,this.reparseOverscaled=!0,this._removed=!1,this._loaded=!1,this.actor=xe.getActor(),this.setEventedParent(Ge),this._data=se.data,this._options=i.extend({},se),this._collectResourceTiming=se.collectResourceTiming,this._resourceTiming=[],se.maxzoom!==void 0&&(this.maxzoom=se.maxzoom),se.type&&(this.type=se.type),se.attribution&&(this.attribution=se.attribution),this.promoteId=se.promoteId;var nt=i.EXTENT/this.tileSize;this.workerOptions=i.extend({source:this.id,cluster:se.cluster||!1,geojsonVtOptions:{buffer:(se.buffer!==void 0?se.buffer:128)*nt,tolerance:(se.tolerance!==void 0?se.tolerance:.375)*nt,extent:i.EXTENT,maxZoom:this.maxzoom,lineMetrics:se.lineMetrics||!1,generateId:se.generateId||!1},superclusterOptions:{maxZoom:se.clusterMaxZoom!==void 0?Math.min(se.clusterMaxZoom,this.maxzoom-1):this.maxzoom-1,minPoints:Math.max(2,se.clusterMinPoints||2),extent:i.EXTENT,radius:(se.clusterRadius||50)*nt,log:!1,generateId:se.generateId||!1},clusterProperties:se.clusterProperties,filter:se.filter},se.workerOptions)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.load=function(){var se=this;this.fire(new i.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(xe){if(xe){se.fire(new i.ErrorEvent(xe));return}var Ge={dataType:"source",sourceDataType:"metadata"};se._collectResourceTiming&&se._resourceTiming&&se._resourceTiming.length>0&&(Ge.resourceTiming=se._resourceTiming,se._resourceTiming=[]),se.fire(new i.Event("data",Ge))})},ne.prototype.onAdd=function(se){this.map=se,this.load()},ne.prototype.setData=function(se){var xe=this;return this._data=se,this.fire(new i.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(Ge){if(Ge){xe.fire(new i.ErrorEvent(Ge));return}var nt={dataType:"source",sourceDataType:"content"};xe._collectResourceTiming&&xe._resourceTiming&&xe._resourceTiming.length>0&&(nt.resourceTiming=xe._resourceTiming,xe._resourceTiming=[]),xe.fire(new i.Event("data",nt))}),this},ne.prototype.getClusterExpansionZoom=function(se,xe){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:se,source:this.id},xe),this},ne.prototype.getClusterChildren=function(se,xe){return this.actor.send("geojson.getClusterChildren",{clusterId:se,source:this.id},xe),this},ne.prototype.getClusterLeaves=function(se,xe,Ge,nt){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:se,limit:xe,offset:Ge},nt),this},ne.prototype._updateWorkerData=function(se){var xe=this;this._loaded=!1;var Ge=i.extend({},this.workerOptions),nt=this._data;typeof nt=="string"?(Ge.request=this.map._requestManager.transformRequest(i.browser.resolveURL(nt),i.ResourceType.Source),Ge.request.collectResourceTiming=this._collectResourceTiming):Ge.data=JSON.stringify(nt),this.actor.send(this.type+".loadData",Ge,function(yt,Ft){xe._removed||Ft&&Ft.abandoned||(xe._loaded=!0,Ft&&Ft.resourceTiming&&Ft.resourceTiming[xe.id]&&(xe._resourceTiming=Ft.resourceTiming[xe.id].slice(0)),xe.actor.send(xe.type+".coalesce",{source:Ge.source},null),se(yt))})},ne.prototype.loaded=function(){return this._loaded},ne.prototype.loadTile=function(se,xe){var Ge=this,nt=se.actor?"reloadTile":"loadTile";se.actor=this.actor;var yt={type:this.type,uid:se.uid,tileID:se.tileID,zoom:se.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:i.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};se.request=this.actor.send(nt,yt,function(Ft,Jt){return delete se.request,se.unloadVectorData(),se.aborted?xe(null):Ft?xe(Ft):(se.loadVectorData(Jt,Ge.map.painter,nt==="reloadTile"),xe(null))})},ne.prototype.abortTile=function(se){se.request&&(se.request.cancel(),delete se.request),se.aborted=!0},ne.prototype.unloadTile=function(se){se.unloadVectorData(),this.actor.send("removeTile",{uid:se.uid,type:this.type,source:this.id})},ne.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},ne.prototype.serialize=function(){return i.extend({},this._options,{type:this.type,data:this._data})},ne.prototype.hasTransition=function(){return!1},ne}(i.Evented),X=i.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),Q=function(ge){function ne(ye,se,xe,Ge){ge.call(this),this.id=ye,this.dispatcher=xe,this.coordinates=se.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(Ge),this.options=se}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.load=function(se,xe){var Ge=this;this._loaded=!1,this.fire(new i.Event("dataloading",{dataType:"source"})),this.url=this.options.url,i.getImage(this.map._requestManager.transformRequest(this.url,i.ResourceType.Image),function(nt,yt){Ge._loaded=!0,nt?Ge.fire(new i.ErrorEvent(nt)):yt&&(Ge.image=yt,se&&(Ge.coordinates=se),xe&&xe(),Ge._finishLoading())})},ne.prototype.loaded=function(){return this._loaded},ne.prototype.updateImage=function(se){var xe=this;return!this.image||!se.url?this:(this.options.url=se.url,this.load(se.coordinates,function(){xe.texture=null}),this)},ne.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new i.Event("data",{dataType:"source",sourceDataType:"metadata"})))},ne.prototype.onAdd=function(se){this.map=se,this.load()},ne.prototype.setCoordinates=function(se){var xe=this;this.coordinates=se;var Ge=se.map(i.MercatorCoordinate.fromLngLat);this.tileID=ae(Ge),this.minzoom=this.maxzoom=this.tileID.z;var nt=Ge.map(function(yt){return xe.tileID.getTilePoint(yt)._round()});return this._boundsArray=new i.StructArrayLayout4i8,this._boundsArray.emplaceBack(nt[0].x,nt[0].y,0,0),this._boundsArray.emplaceBack(nt[1].x,nt[1].y,i.EXTENT,0),this._boundsArray.emplaceBack(nt[3].x,nt[3].y,0,i.EXTENT),this._boundsArray.emplaceBack(nt[2].x,nt[2].y,i.EXTENT,i.EXTENT),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new i.Event("data",{dataType:"source",sourceDataType:"content"})),this},ne.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||!this.image)){var se=this.map.painter.context,xe=se.gl;this.boundsBuffer||(this.boundsBuffer=se.createVertexBuffer(this._boundsArray,X.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture||(this.texture=new i.Texture(se,this.image,xe.RGBA),this.texture.bind(xe.LINEAR,xe.CLAMP_TO_EDGE));for(var Ge in this.tiles){var nt=this.tiles[Ge];nt.state!=="loaded"&&(nt.state="loaded",nt.texture=this.texture)}}},ne.prototype.loadTile=function(se,xe){this.tileID&&this.tileID.equals(se.tileID.canonical)?(this.tiles[String(se.tileID.wrap)]=se,se.buckets={},xe(null)):(se.state="errored",xe(null))},ne.prototype.serialize=function(){return{type:"image",url:this.options.url,coordinates:this.coordinates}},ne.prototype.hasTransition=function(){return!1},ne}(i.Evented);function ae(ge){for(var ne=1/0,ye=1/0,se=-1/0,xe=-1/0,Ge=0,nt=ge;Ge<nt.length;Ge+=1){var yt=nt[Ge];ne=Math.min(ne,yt.x),ye=Math.min(ye,yt.y),se=Math.max(se,yt.x),xe=Math.max(xe,yt.y)}var Ft=se-ne,Jt=xe-ye,lr=Math.max(Ft,Jt),Er=Math.max(0,Math.floor(-Math.log(lr)/Math.LN2)),_r=Math.pow(2,Er);return new i.CanonicalTileID(Er,Math.floor((ne+se)/2*_r),Math.floor((ye+xe)/2*_r))}var ie=function(ge){function ne(ye,se,xe,Ge){ge.call(this,ye,se,xe,Ge),this.roundZoom=!0,this.type="video",this.options=se}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.load=function(){var se=this;this._loaded=!1;var xe=this.options;this.urls=[];for(var Ge=0,nt=xe.urls;Ge<nt.length;Ge+=1){var yt=nt[Ge];this.urls.push(this.map._requestManager.transformRequest(yt,i.ResourceType.Source).url)}i.getVideo(this.urls,function(Ft,Jt){se._loaded=!0,Ft?se.fire(new i.ErrorEvent(Ft)):Jt&&(se.video=Jt,se.video.loop=!0,se.video.addEventListener("playing",function(){se.map.triggerRepaint()}),se.map&&se.video.play(),se._finishLoading())})},ne.prototype.pause=function(){this.video&&this.video.pause()},ne.prototype.play=function(){this.video&&this.video.play()},ne.prototype.seek=function(se){if(this.video){var xe=this.video.seekable;se<xe.start(0)||se>xe.end(0)?this.fire(new i.ErrorEvent(new i.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+xe.start(0)+" and "+xe.end(0)+"-second mark."))):this.video.currentTime=se}},ne.prototype.getVideo=function(){return this.video},ne.prototype.onAdd=function(se){this.map||(this.map=se,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},ne.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var se=this.map.painter.context,xe=se.gl;this.boundsBuffer||(this.boundsBuffer=se.createVertexBuffer(this._boundsArray,X.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(xe.LINEAR,xe.CLAMP_TO_EDGE),xe.texSubImage2D(xe.TEXTURE_2D,0,0,0,xe.RGBA,xe.UNSIGNED_BYTE,this.video)):(this.texture=new i.Texture(se,this.video,xe.RGBA),this.texture.bind(xe.LINEAR,xe.CLAMP_TO_EDGE));for(var Ge in this.tiles){var nt=this.tiles[Ge];nt.state!=="loaded"&&(nt.state="loaded",nt.texture=this.texture)}}},ne.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},ne.prototype.hasTransition=function(){return this.video&&!this.video.paused},ne}(Q),he=function(ge){function ne(ye,se,xe,Ge){ge.call(this,ye,se,xe,Ge),se.coordinates?(!Array.isArray(se.coordinates)||se.coordinates.length!==4||se.coordinates.some(function(nt){return!Array.isArray(nt)||nt.length!==2||nt.some(function(yt){return typeof yt!="number"})}))&&this.fire(new i.ErrorEvent(new i.ValidationError("sources."+ye,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+ye,null,'missing required property "coordinates"'))),se.animate&&typeof se.animate!="boolean"&&this.fire(new i.ErrorEvent(new i.ValidationError("sources."+ye,null,'optional "animate" property must be a boolean value'))),se.canvas?typeof se.canvas!="string"&&!(se.canvas instanceof i.window.HTMLCanvasElement)&&this.fire(new i.ErrorEvent(new i.ValidationError("sources."+ye,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+ye,null,'missing required property "canvas"'))),this.options=se,this.animate=se.animate!==void 0?se.animate:!0}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.load=function(){if(this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof i.window.HTMLCanvasElement?this.options.canvas:i.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()){this.fire(new i.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero.")));return}this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading()},ne.prototype.getCanvas=function(){return this.canvas},ne.prototype.onAdd=function(se){this.map=se,this.load(),this.canvas&&this.animate&&this.play()},ne.prototype.onRemove=function(){this.pause()},ne.prototype.prepare=function(){var se=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,se=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,se=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var xe=this.map.painter.context,Ge=xe.gl;this.boundsBuffer||(this.boundsBuffer=xe.createVertexBuffer(this._boundsArray,X.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(se||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new i.Texture(xe,this.canvas,Ge.RGBA,{premultiply:!0});for(var nt in this.tiles){var yt=this.tiles[nt];yt.state!=="loaded"&&(yt.state="loaded",yt.texture=this.texture)}}},ne.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},ne.prototype.hasTransition=function(){return this._playing},ne.prototype._hasInvalidDimensions=function(){for(var se=0,xe=[this.canvas.width,this.canvas.height];se<xe.length;se+=1){var Ge=xe[se];if(isNaN(Ge)||Ge<=0)return!0}return!1},ne}(Q),J={vector:V,raster:j,"raster-dem":G,geojson:W,video:ie,image:Q,canvas:he},Z=function(ge,ne,ye,se){var xe=new J[ne.type](ge,ne,ye,se);if(xe.id!==ge)throw new Error("Expected Source id to be "+ge+" instead of "+xe.id);return i.bindAll(["load","abort","unload","serialize","prepare"],xe),xe},le=function(ge){return J[ge]},K=function(ge,ne){J[ge]=ne};function te(ge,ne){var ye=i.identity([]);return i.translate(ye,ye,[1,1,0]),i.scale(ye,ye,[ge.width*.5,ge.height*.5,1]),i.multiply(ye,ye,ge.calculatePosMatrix(ne.toUnwrapped()))}function ce(ge,ne,ye){if(ge)for(var se=0,xe=ge;se<xe.length;se+=1){var Ge=xe[se],nt=ne[Ge];if(nt&&nt.source===ye&&nt.type==="fill-extrusion")return!0}else for(var yt in ne){var Ft=ne[yt];if(Ft.source===ye&&Ft.type==="fill-extrusion")return!0}return!1}function re(ge,ne,ye,se,xe,Ge){var nt=ce(xe&&xe.layers,ne,ge.id),yt=Ge.maxPitchScaleFactor(),Ft=ge.tilesIn(se,yt,nt);Ft.sort(oe);for(var Jt=[],lr=0,Er=Ft;lr<Er.length;lr+=1){var _r=Er[lr];Jt.push({wrappedTileID:_r.tileID.wrapped().key,queryResults:_r.tile.queryRenderedFeatures(ne,ye,ge._state,_r.queryGeometry,_r.cameraQueryGeometry,_r.scale,xe,Ge,yt,te(ge.transform,_r.tileID))})}var Qr=fe(Jt);for(var pn in Qr)Qr[pn].forEach(function(hn){var dn=hn.feature,_n=ge.getFeatureState(dn.layer["source-layer"],dn.id);dn.source=dn.layer.source,dn.layer["source-layer"]&&(dn.sourceLayer=dn.layer["source-layer"]),dn.state=_n});return Qr}function ee(ge,ne,ye,se,xe,Ge,nt){for(var yt={},Ft=Ge.queryRenderedSymbols(se),Jt=[],lr=0,Er=Object.keys(Ft).map(Number);lr<Er.length;lr+=1){var _r=Er[lr];Jt.push(nt[_r])}Jt.sort(oe);for(var Qr=function(){var Fn=hn[pn],la=Fn.featureIndex.lookupSymbolFeatures(Ft[Fn.bucketInstanceId],ne,Fn.bucketIndex,Fn.sourceLayerIndex,xe.filter,xe.layers,xe.availableImages,ge);for(var ha in la){var Ca=yt[ha]=yt[ha]||[],Ia=la[ha];Ia.sort(function(Ka,vi){var ai=Fn.featureSortOrder;if(ai){var ji=ai.indexOf(Ka.featureIndex),Io=ai.indexOf(vi.featureIndex);return Io-ji}else return vi.featureIndex-Ka.featureIndex});for(var Ta=0,Oa=Ia;Ta<Oa.length;Ta+=1){var Va=Oa[Ta];Ca.push(Va)}}},pn=0,hn=Jt;pn<hn.length;pn+=1)Qr();var dn=function(Fn){yt[Fn].forEach(function(la){var ha=la.feature,Ca=ge[Fn],Ia=ye[Ca.source],Ta=Ia.getFeatureState(ha.layer["source-layer"],ha.id);ha.source=ha.layer.source,ha.layer["source-layer"]&&(ha.sourceLayer=ha.layer["source-layer"]),ha.state=Ta})};for(var _n in yt)dn(_n);return yt}function de(ge,ne){for(var ye=ge.getRenderableIds().map(function(Ft){return ge.getTileByID(Ft)}),se=[],xe={},Ge=0;Ge<ye.length;Ge++){var nt=ye[Ge],yt=nt.tileID.canonical.key;xe[yt]||(xe[yt]=!0,nt.querySourceFeatures(se,ne))}return se}function oe(ge,ne){var ye=ge.tileID,se=ne.tileID;return ye.overscaledZ-se.overscaledZ||ye.canonical.y-se.canonical.y||ye.wrap-se.wrap||ye.canonical.x-se.canonical.x}function fe(ge){for(var ne={},ye={},se=0,xe=ge;se<xe.length;se+=1){var Ge=xe[se],nt=Ge.queryResults,yt=Ge.wrappedTileID,Ft=ye[yt]=ye[yt]||{};for(var Jt in nt)for(var lr=nt[Jt],Er=Ft[Jt]=Ft[Jt]||{},_r=ne[Jt]=ne[Jt]||[],Qr=0,pn=lr;Qr<pn.length;Qr+=1){var hn=pn[Qr];Er[hn.featureIndex]||(Er[hn.featureIndex]=!0,_r.push(hn))}}return ne}var me=function(ne,ye){this.max=ne,this.onRemove=ye,this.reset()};me.prototype.reset=function(){for(var ne in this.data)for(var ye=0,se=this.data[ne];ye<se.length;ye+=1){var xe=se[ye];xe.timeout&&clearTimeout(xe.timeout),this.onRemove(xe.value)}return this.data={},this.order=[],this},me.prototype.add=function(ne,ye,se){var xe=this,Ge=ne.wrapped().key;this.data[Ge]===void 0&&(this.data[Ge]=[]);var nt={value:ye,timeout:void 0};if(se!==void 0&&(nt.timeout=setTimeout(function(){xe.remove(ne,nt)},se)),this.data[Ge].push(nt),this.order.push(Ge),this.order.length>this.max){var yt=this._getAndRemoveByKey(this.order[0]);yt&&this.onRemove(yt)}return this},me.prototype.has=function(ne){return ne.wrapped().key in this.data},me.prototype.getAndRemove=function(ne){return this.has(ne)?this._getAndRemoveByKey(ne.wrapped().key):null},me.prototype._getAndRemoveByKey=function(ne){var ye=this.data[ne].shift();return ye.timeout&&clearTimeout(ye.timeout),this.data[ne].length===0&&delete this.data[ne],this.order.splice(this.order.indexOf(ne),1),ye.value},me.prototype.getByKey=function(ne){var ye=this.data[ne];return ye?ye[0].value:null},me.prototype.get=function(ne){if(!this.has(ne))return null;var ye=this.data[ne.wrapped().key][0];return ye.value},me.prototype.remove=function(ne,ye){if(!this.has(ne))return this;var se=ne.wrapped().key,xe=ye===void 0?0:this.data[se].indexOf(ye),Ge=this.data[se][xe];return this.data[se].splice(xe,1),Ge.timeout&&clearTimeout(Ge.timeout),this.data[se].length===0&&delete this.data[se],this.onRemove(Ge.value),this.order.splice(this.order.indexOf(se),1),this},me.prototype.setMaxSize=function(ne){for(this.max=ne;this.order.length>this.max;){var ye=this._getAndRemoveByKey(this.order[0]);ye&&this.onRemove(ye)}return this},me.prototype.filter=function(ne){var ye=[];for(var se in this.data)for(var xe=0,Ge=this.data[se];xe<Ge.length;xe+=1){var nt=Ge[xe];ne(nt.value)||ye.push(nt)}for(var yt=0,Ft=ye;yt<Ft.length;yt+=1){var Jt=Ft[yt];this.remove(Jt.value.tileID,Jt)}};var Te=function(ne,ye,se){this.context=ne;var xe=ne.gl;this.buffer=xe.createBuffer(),this.dynamicDraw=!!se,this.context.unbindVAO(),ne.bindElementBuffer.set(this.buffer),xe.bufferData(xe.ELEMENT_ARRAY_BUFFER,ye.arrayBuffer,this.dynamicDraw?xe.DYNAMIC_DRAW:xe.STATIC_DRAW),this.dynamicDraw||delete ye.arrayBuffer};Te.prototype.bind=function(){this.context.bindElementBuffer.set(this.buffer)},Te.prototype.updateData=function(ne){var ye=this.context.gl;this.context.unbindVAO(),this.bind(),ye.bufferSubData(ye.ELEMENT_ARRAY_BUFFER,0,ne.arrayBuffer)},Te.prototype.destroy=function(){var ne=this.context.gl;this.buffer&&(ne.deleteBuffer(this.buffer),delete this.buffer)};var we={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"},Be=function(ne,ye,se,xe){this.length=ye.length,this.attributes=se,this.itemSize=ye.bytesPerElement,this.dynamicDraw=xe,this.context=ne;var Ge=ne.gl;this.buffer=Ge.createBuffer(),ne.bindVertexBuffer.set(this.buffer),Ge.bufferData(Ge.ARRAY_BUFFER,ye.arrayBuffer,this.dynamicDraw?Ge.DYNAMIC_DRAW:Ge.STATIC_DRAW),this.dynamicDraw||delete ye.arrayBuffer};Be.prototype.bind=function(){this.context.bindVertexBuffer.set(this.buffer)},Be.prototype.updateData=function(ne){var ye=this.context.gl;this.bind(),ye.bufferSubData(ye.ARRAY_BUFFER,0,ne.arrayBuffer)},Be.prototype.enableAttributes=function(ne,ye){for(var se=0;se<this.attributes.length;se++){var xe=this.attributes[se],Ge=ye.attributes[xe.name];Ge!==void 0&&ne.enableVertexAttribArray(Ge)}},Be.prototype.setVertexAttribPointers=function(ne,ye,se){for(var xe=0;xe<this.attributes.length;xe++){var Ge=this.attributes[xe],nt=ye.attributes[Ge.name];nt!==void 0&&ne.vertexAttribPointer(nt,Ge.components,ne[we[Ge.type]],!1,this.itemSize,Ge.offset+this.itemSize*(se||0))}},Be.prototype.destroy=function(){var ne=this.context.gl;this.buffer&&(ne.deleteBuffer(this.buffer),delete this.buffer)};var Ae=function(ne){this.gl=ne.gl,this.default=this.getDefault(),this.current=this.default,this.dirty=!1};Ae.prototype.get=function(){return this.current},Ae.prototype.set=function(ne){},Ae.prototype.getDefault=function(){return this.default},Ae.prototype.setDefault=function(){this.set(this.default)};var Re=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return i.Color.transparent},ne.prototype.set=function(se){var xe=this.current;se.r===xe.r&&se.g===xe.g&&se.b===xe.b&&se.a===xe.a&&!this.dirty||(this.gl.clearColor(se.r,se.g,se.b,se.a),this.current=se,this.dirty=!1)},ne}(Ae),be=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return 1},ne.prototype.set=function(se){se===this.current&&!this.dirty||(this.gl.clearDepth(se),this.current=se,this.dirty=!1)},ne}(Ae),Pe=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return 0},ne.prototype.set=function(se){se===this.current&&!this.dirty||(this.gl.clearStencil(se),this.current=se,this.dirty=!1)},ne}(Ae),Ke=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return[!0,!0,!0,!0]},ne.prototype.set=function(se){var xe=this.current;se[0]===xe[0]&&se[1]===xe[1]&&se[2]===xe[2]&&se[3]===xe[3]&&!this.dirty||(this.gl.colorMask(se[0],se[1],se[2],se[3]),this.current=se,this.dirty=!1)},ne}(Ae),ze=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return!0},ne.prototype.set=function(se){se===this.current&&!this.dirty||(this.gl.depthMask(se),this.current=se,this.dirty=!1)},ne}(Ae),Fe=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return 255},ne.prototype.set=function(se){se===this.current&&!this.dirty||(this.gl.stencilMask(se),this.current=se,this.dirty=!1)},ne}(Ae),We=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return{func:this.gl.ALWAYS,ref:0,mask:255}},ne.prototype.set=function(se){var xe=this.current;se.func===xe.func&&se.ref===xe.ref&&se.mask===xe.mask&&!this.dirty||(this.gl.stencilFunc(se.func,se.ref,se.mask),this.current=se,this.dirty=!1)},ne}(Ae),lt=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){var se=this.gl;return[se.KEEP,se.KEEP,se.KEEP]},ne.prototype.set=function(se){var xe=this.current;se[0]===xe[0]&&se[1]===xe[1]&&se[2]===xe[2]&&!this.dirty||(this.gl.stencilOp(se[0],se[1],se[2]),this.current=se,this.dirty=!1)},ne}(Ae),ht=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return!1},ne.prototype.set=function(se){if(!(se===this.current&&!this.dirty)){var xe=this.gl;se?xe.enable(xe.STENCIL_TEST):xe.disable(xe.STENCIL_TEST),this.current=se,this.dirty=!1}},ne}(Ae),tt=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return[0,1]},ne.prototype.set=function(se){var xe=this.current;se[0]===xe[0]&&se[1]===xe[1]&&!this.dirty||(this.gl.depthRange(se[0],se[1]),this.current=se,this.dirty=!1)},ne}(Ae),et=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return!1},ne.prototype.set=function(se){if(!(se===this.current&&!this.dirty)){var xe=this.gl;se?xe.enable(xe.DEPTH_TEST):xe.disable(xe.DEPTH_TEST),this.current=se,this.dirty=!1}},ne}(Ae),pt=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return this.gl.LESS},ne.prototype.set=function(se){se===this.current&&!this.dirty||(this.gl.depthFunc(se),this.current=se,this.dirty=!1)},ne}(Ae),vt=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return!1},ne.prototype.set=function(se){if(!(se===this.current&&!this.dirty)){var xe=this.gl;se?xe.enable(xe.BLEND):xe.disable(xe.BLEND),this.current=se,this.dirty=!1}},ne}(Ae),_t=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){var se=this.gl;return[se.ONE,se.ZERO]},ne.prototype.set=function(se){var xe=this.current;se[0]===xe[0]&&se[1]===xe[1]&&!this.dirty||(this.gl.blendFunc(se[0],se[1]),this.current=se,this.dirty=!1)},ne}(Ae),bt=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return i.Color.transparent},ne.prototype.set=function(se){var xe=this.current;se.r===xe.r&&se.g===xe.g&&se.b===xe.b&&se.a===xe.a&&!this.dirty||(this.gl.blendColor(se.r,se.g,se.b,se.a),this.current=se,this.dirty=!1)},ne}(Ae),Rt=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return this.gl.FUNC_ADD},ne.prototype.set=function(se){se===this.current&&!this.dirty||(this.gl.blendEquation(se),this.current=se,this.dirty=!1)},ne}(Ae),ct=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return!1},ne.prototype.set=function(se){if(!(se===this.current&&!this.dirty)){var xe=this.gl;se?xe.enable(xe.CULL_FACE):xe.disable(xe.CULL_FACE),this.current=se,this.dirty=!1}},ne}(Ae),Ve=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return this.gl.BACK},ne.prototype.set=function(se){se===this.current&&!this.dirty||(this.gl.cullFace(se),this.current=se,this.dirty=!1)},ne}(Ae),Qe=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return this.gl.CCW},ne.prototype.set=function(se){se===this.current&&!this.dirty||(this.gl.frontFace(se),this.current=se,this.dirty=!1)},ne}(Ae),rt=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return null},ne.prototype.set=function(se){se===this.current&&!this.dirty||(this.gl.useProgram(se),this.current=se,this.dirty=!1)},ne}(Ae),qe=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return this.gl.TEXTURE0},ne.prototype.set=function(se){se===this.current&&!this.dirty||(this.gl.activeTexture(se),this.current=se,this.dirty=!1)},ne}(Ae),He=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){var se=this.gl;return[0,0,se.drawingBufferWidth,se.drawingBufferHeight]},ne.prototype.set=function(se){var xe=this.current;se[0]===xe[0]&&se[1]===xe[1]&&se[2]===xe[2]&&se[3]===xe[3]&&!this.dirty||(this.gl.viewport(se[0],se[1],se[2],se[3]),this.current=se,this.dirty=!1)},ne}(Ae),Ce=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return null},ne.prototype.set=function(se){if(!(se===this.current&&!this.dirty)){var xe=this.gl;xe.bindFramebuffer(xe.FRAMEBUFFER,se),this.current=se,this.dirty=!1}},ne}(Ae),Se=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return null},ne.prototype.set=function(se){if(!(se===this.current&&!this.dirty)){var xe=this.gl;xe.bindRenderbuffer(xe.RENDERBUFFER,se),this.current=se,this.dirty=!1}},ne}(Ae),Le=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return null},ne.prototype.set=function(se){if(!(se===this.current&&!this.dirty)){var xe=this.gl;xe.bindTexture(xe.TEXTURE_2D,se),this.current=se,this.dirty=!1}},ne}(Ae),Ne=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return null},ne.prototype.set=function(se){if(!(se===this.current&&!this.dirty)){var xe=this.gl;xe.bindBuffer(xe.ARRAY_BUFFER,se),this.current=se,this.dirty=!1}},ne}(Ae),je=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return null},ne.prototype.set=function(se){var xe=this.gl;xe.bindBuffer(xe.ELEMENT_ARRAY_BUFFER,se),this.current=se,this.dirty=!1},ne}(Ae),Je=function(ge){function ne(ye){ge.call(this,ye),this.vao=ye.extVertexArrayObject}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return null},ne.prototype.set=function(se){!this.vao||se===this.current&&!this.dirty||(this.vao.bindVertexArrayOES(se),this.current=se,this.dirty=!1)},ne}(Ae),ut=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return 4},ne.prototype.set=function(se){if(!(se===this.current&&!this.dirty)){var xe=this.gl;xe.pixelStorei(xe.UNPACK_ALIGNMENT,se),this.current=se,this.dirty=!1}},ne}(Ae),Et=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return!1},ne.prototype.set=function(se){if(!(se===this.current&&!this.dirty)){var xe=this.gl;xe.pixelStorei(xe.UNPACK_PREMULTIPLY_ALPHA_WEBGL,se),this.current=se,this.dirty=!1}},ne}(Ae),wt=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return!1},ne.prototype.set=function(se){if(!(se===this.current&&!this.dirty)){var xe=this.gl;xe.pixelStorei(xe.UNPACK_FLIP_Y_WEBGL,se),this.current=se,this.dirty=!1}},ne}(Ae),nr=function(ge){function ne(ye,se){ge.call(this,ye),this.context=ye,this.parent=se}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getDefault=function(){return null},ne}(Ae),ir=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.setDirty=function(){this.dirty=!0},ne.prototype.set=function(se){if(!(se===this.current&&!this.dirty)){this.context.bindFramebuffer.set(this.parent);var xe=this.gl;xe.framebufferTexture2D(xe.FRAMEBUFFER,xe.COLOR_ATTACHMENT0,xe.TEXTURE_2D,se,0),this.current=se,this.dirty=!1}},ne}(nr),It=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.set=function(se){if(!(se===this.current&&!this.dirty)){this.context.bindFramebuffer.set(this.parent);var xe=this.gl;xe.framebufferRenderbuffer(xe.FRAMEBUFFER,xe.DEPTH_ATTACHMENT,xe.RENDERBUFFER,se),this.current=se,this.dirty=!1}},ne}(nr),Gt=function(ne,ye,se,xe){this.context=ne,this.width=ye,this.height=se;var Ge=ne.gl,nt=this.framebuffer=Ge.createFramebuffer();this.colorAttachment=new ir(ne,nt),xe&&(this.depthAttachment=new It(ne,nt))};Gt.prototype.destroy=function(){var ne=this.context.gl,ye=this.colorAttachment.get();if(ye&&ne.deleteTexture(ye),this.depthAttachment){var se=this.depthAttachment.get();se&&ne.deleteRenderbuffer(se)}ne.deleteFramebuffer(this.framebuffer)};var cr=519,Pr=function(ne,ye,se){this.func=ne,this.mask=ye,this.range=se};Pr.ReadOnly=!1,Pr.ReadWrite=!0,Pr.disabled=new Pr(cr,Pr.ReadOnly,[0,1]);var Ct=519,or=7680,ur=function(ne,ye,se,xe,Ge,nt){this.test=ne,this.ref=ye,this.mask=se,this.fail=xe,this.depthFail=Ge,this.pass=nt};ur.disabled=new ur({func:Ct,mask:0},0,0,or,or,or);var Ir=0,yr=1,At=771,mt=function(ne,ye,se){this.blendFunction=ne,this.blendColor=ye,this.mask=se};mt.Replace=[yr,Ir],mt.disabled=new mt(mt.Replace,i.Color.transparent,[!1,!1,!1,!1]),mt.unblended=new mt(mt.Replace,i.Color.transparent,[!0,!0,!0,!0]),mt.alphaBlended=new mt([yr,At],i.Color.transparent,[!0,!0,!0,!0]);var Mt=1029,Pt=2305,Ht=function(ne,ye,se){this.enable=ne,this.mode=ye,this.frontFace=se};Ht.disabled=new Ht(!1,Mt,Pt),Ht.backCCW=new Ht(!0,Mt,Pt);var Ut=function(ne){this.gl=ne,this.extVertexArrayObject=this.gl.getExtension("OES_vertex_array_object"),this.clearColor=new Re(this),this.clearDepth=new be(this),this.clearStencil=new Pe(this),this.colorMask=new Ke(this),this.depthMask=new ze(this),this.stencilMask=new Fe(this),this.stencilFunc=new We(this),this.stencilOp=new lt(this),this.stencilTest=new ht(this),this.depthRange=new tt(this),this.depthTest=new et(this),this.depthFunc=new pt(this),this.blend=new vt(this),this.blendFunc=new _t(this),this.blendColor=new bt(this),this.blendEquation=new Rt(this),this.cullFace=new ct(this),this.cullFaceSide=new Ve(this),this.frontFace=new Qe(this),this.program=new rt(this),this.activeTexture=new qe(this),this.viewport=new He(this),this.bindFramebuffer=new Ce(this),this.bindRenderbuffer=new Se(this),this.bindTexture=new Le(this),this.bindVertexBuffer=new Ne(this),this.bindElementBuffer=new je(this),this.bindVertexArrayOES=this.extVertexArrayObject&&new Je(this),this.pixelStoreUnpack=new ut(this),this.pixelStoreUnpackPremultiplyAlpha=new Et(this),this.pixelStoreUnpackFlipY=new wt(this),this.extTextureFilterAnisotropic=ne.getExtension("EXT_texture_filter_anisotropic")||ne.getExtension("MOZ_EXT_texture_filter_anisotropic")||ne.getExtension("WEBKIT_EXT_texture_filter_anisotropic"),this.extTextureFilterAnisotropic&&(this.extTextureFilterAnisotropicMax=ne.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)),this.extTextureHalfFloat=ne.getExtension("OES_texture_half_float"),this.extTextureHalfFloat&&(ne.getExtension("OES_texture_half_float_linear"),this.extRenderToTextureHalfFloat=ne.getExtension("EXT_color_buffer_half_float")),this.extTimerQuery=ne.getExtension("EXT_disjoint_timer_query"),this.maxTextureSize=ne.getParameter(ne.MAX_TEXTURE_SIZE)};Ut.prototype.setDefault=function(){this.unbindVAO(),this.clearColor.setDefault(),this.clearDepth.setDefault(),this.clearStencil.setDefault(),this.colorMask.setDefault(),this.depthMask.setDefault(),this.stencilMask.setDefault(),this.stencilFunc.setDefault(),this.stencilOp.setDefault(),this.stencilTest.setDefault(),this.depthRange.setDefault(),this.depthTest.setDefault(),this.depthFunc.setDefault(),this.blend.setDefault(),this.blendFunc.setDefault(),this.blendColor.setDefault(),this.blendEquation.setDefault(),this.cullFace.setDefault(),this.cullFaceSide.setDefault(),this.frontFace.setDefault(),this.program.setDefault(),this.activeTexture.setDefault(),this.bindFramebuffer.setDefault(),this.pixelStoreUnpack.setDefault(),this.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.pixelStoreUnpackFlipY.setDefault()},Ut.prototype.setDirty=function(){this.clearColor.dirty=!0,this.clearDepth.dirty=!0,this.clearStencil.dirty=!0,this.colorMask.dirty=!0,this.depthMask.dirty=!0,this.stencilMask.dirty=!0,this.stencilFunc.dirty=!0,this.stencilOp.dirty=!0,this.stencilTest.dirty=!0,this.depthRange.dirty=!0,this.depthTest.dirty=!0,this.depthFunc.dirty=!0,this.blend.dirty=!0,this.blendFunc.dirty=!0,this.blendColor.dirty=!0,this.blendEquation.dirty=!0,this.cullFace.dirty=!0,this.cullFaceSide.dirty=!0,this.frontFace.dirty=!0,this.program.dirty=!0,this.activeTexture.dirty=!0,this.viewport.dirty=!0,this.bindFramebuffer.dirty=!0,this.bindRenderbuffer.dirty=!0,this.bindTexture.dirty=!0,this.bindVertexBuffer.dirty=!0,this.bindElementBuffer.dirty=!0,this.extVertexArrayObject&&(this.bindVertexArrayOES.dirty=!0),this.pixelStoreUnpack.dirty=!0,this.pixelStoreUnpackPremultiplyAlpha.dirty=!0,this.pixelStoreUnpackFlipY.dirty=!0},Ut.prototype.createIndexBuffer=function(ne,ye){return new Te(this,ne,ye)},Ut.prototype.createVertexBuffer=function(ne,ye,se){return new Be(this,ne,ye,se)},Ut.prototype.createRenderbuffer=function(ne,ye,se){var xe=this.gl,Ge=xe.createRenderbuffer();return this.bindRenderbuffer.set(Ge),xe.renderbufferStorage(xe.RENDERBUFFER,ne,ye,se),this.bindRenderbuffer.set(null),Ge},Ut.prototype.createFramebuffer=function(ne,ye,se){return new Gt(this,ne,ye,se)},Ut.prototype.clear=function(ne){var ye=ne.color,se=ne.depth,xe=this.gl,Ge=0;ye&&(Ge|=xe.COLOR_BUFFER_BIT,this.clearColor.set(ye),this.colorMask.set([!0,!0,!0,!0])),typeof se<"u"&&(Ge|=xe.DEPTH_BUFFER_BIT,this.depthRange.set([0,1]),this.clearDepth.set(se),this.depthMask.set(!0)),xe.clear(Ge)},Ut.prototype.setCullFace=function(ne){ne.enable===!1?this.cullFace.set(!1):(this.cullFace.set(!0),this.cullFaceSide.set(ne.mode),this.frontFace.set(ne.frontFace))},Ut.prototype.setDepthMode=function(ne){ne.func===this.gl.ALWAYS&&!ne.mask?this.depthTest.set(!1):(this.depthTest.set(!0),this.depthFunc.set(ne.func),this.depthMask.set(ne.mask),this.depthRange.set(ne.range))},Ut.prototype.setStencilMode=function(ne){ne.test.func===this.gl.ALWAYS&&!ne.mask?this.stencilTest.set(!1):(this.stencilTest.set(!0),this.stencilMask.set(ne.mask),this.stencilOp.set([ne.fail,ne.depthFail,ne.pass]),this.stencilFunc.set({func:ne.test.func,ref:ne.ref,mask:ne.test.mask}))},Ut.prototype.setColorMode=function(ne){i.deepEqual(ne.blendFunction,mt.Replace)?this.blend.set(!1):(this.blend.set(!0),this.blendFunc.set(ne.blendFunction),this.blendColor.set(ne.blendColor)),this.colorMask.set(ne.mask)},Ut.prototype.unbindVAO=function(){this.extVertexArrayObject&&this.bindVertexArrayOES.set(null)};var Zt=function(ge){function ne(ye,se,xe){var Ge=this;ge.call(this),this.id=ye,this.dispatcher=xe,this.on("data",function(nt){nt.dataType==="source"&&nt.sourceDataType==="metadata"&&(Ge._sourceLoaded=!0),Ge._sourceLoaded&&!Ge._paused&&nt.dataType==="source"&&nt.sourceDataType==="content"&&(Ge.reload(),Ge.transform&&Ge.update(Ge.transform))}),this.on("error",function(){Ge._sourceErrored=!0}),this._source=Z(ye,se,xe,this),this._tiles={},this._cache=new me(0,this._unloadTile.bind(this)),this._timers={},this._cacheTimers={},this._maxTileCacheSize=null,this._loadedParentTiles={},this._coveredTiles={},this._state=new i.SourceFeatureState}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.onAdd=function(se){this.map=se,this._maxTileCacheSize=se?se._maxTileCacheSize:null,this._source&&this._source.onAdd&&this._source.onAdd(se)},ne.prototype.onRemove=function(se){this._source&&this._source.onRemove&&this._source.onRemove(se)},ne.prototype.loaded=function(){if(this._sourceErrored)return!0;if(!this._sourceLoaded||!this._source.loaded())return!1;for(var se in this._tiles){var xe=this._tiles[se];if(xe.state!=="loaded"&&xe.state!=="errored")return!1}return!0},ne.prototype.getSource=function(){return this._source},ne.prototype.pause=function(){this._paused=!0},ne.prototype.resume=function(){if(this._paused){var se=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,se&&this.reload(),this.transform&&this.update(this.transform)}},ne.prototype._loadTile=function(se,xe){return this._source.loadTile(se,xe)},ne.prototype._unloadTile=function(se){if(this._source.unloadTile)return this._source.unloadTile(se,function(){})},ne.prototype._abortTile=function(se){if(this._source.abortTile)return this._source.abortTile(se,function(){})},ne.prototype.serialize=function(){return this._source.serialize()},ne.prototype.prepare=function(se){this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null);for(var xe in this._tiles){var Ge=this._tiles[xe];Ge.upload(se),Ge.prepare(this.map.style.imageManager)}},ne.prototype.getIds=function(){return i.values(this._tiles).map(function(se){return se.tileID}).sort(Xt).map(function(se){return se.key})},ne.prototype.getRenderableIds=function(se){var xe=this,Ge=[];for(var nt in this._tiles)this._isIdRenderable(nt,se)&&Ge.push(this._tiles[nt]);return se?Ge.sort(function(yt,Ft){var Jt=yt.tileID,lr=Ft.tileID,Er=new i.Point(Jt.canonical.x,Jt.canonical.y)._rotate(xe.transform.angle),_r=new i.Point(lr.canonical.x,lr.canonical.y)._rotate(xe.transform.angle);return Jt.overscaledZ-lr.overscaledZ||_r.y-Er.y||_r.x-Er.x}).map(function(yt){return yt.tileID.key}):Ge.map(function(yt){return yt.tileID}).sort(Xt).map(function(yt){return yt.key})},ne.prototype.hasRenderableParent=function(se){var xe=this.findLoadedParent(se,0);return xe?this._isIdRenderable(xe.tileID.key):!1},ne.prototype._isIdRenderable=function(se,xe){return this._tiles[se]&&this._tiles[se].hasData()&&!this._coveredTiles[se]&&(xe||!this._tiles[se].holdingForFade())},ne.prototype.reload=function(){if(this._paused){this._shouldReloadOnResume=!0;return}this._cache.reset();for(var se in this._tiles)this._tiles[se].state!=="errored"&&this._reloadTile(se,"reloading")},ne.prototype._reloadTile=function(se,xe){var Ge=this._tiles[se];Ge&&(Ge.state!=="loading"&&(Ge.state=xe),this._loadTile(Ge,this._tileLoaded.bind(this,Ge,se,xe)))},ne.prototype._tileLoaded=function(se,xe,Ge,nt){if(nt){se.state="errored",nt.status!==404?this._source.fire(new i.ErrorEvent(nt,{tile:se})):this.update(this.transform);return}se.timeAdded=i.browser.now(),Ge==="expired"&&(se.refreshedUponExpiration=!0),this._setTileReloadTimer(xe,se),this.getSource().type==="raster-dem"&&se.dem&&this._backfillDEM(se),this._state.initializeTileState(se,this.map?this.map.painter:null),this._source.fire(new i.Event("data",{dataType:"source",tile:se,coord:se.tileID}))},ne.prototype._backfillDEM=function(se){for(var xe=this.getRenderableIds(),Ge=0;Ge<xe.length;Ge++){var nt=xe[Ge];if(se.neighboringTiles&&se.neighboringTiles[nt]){var yt=this.getTileByID(nt);Ft(se,yt),Ft(yt,se)}}function Ft(Jt,lr){Jt.needsHillshadePrepare=!0;var Er=lr.tileID.canonical.x-Jt.tileID.canonical.x,_r=lr.tileID.canonical.y-Jt.tileID.canonical.y,Qr=Math.pow(2,Jt.tileID.canonical.z),pn=lr.tileID.key;Er===0&&_r===0||Math.abs(_r)>1||(Math.abs(Er)>1&&(Math.abs(Er+Qr)===1?Er+=Qr:Math.abs(Er-Qr)===1&&(Er-=Qr)),!(!lr.dem||!Jt.dem)&&(Jt.dem.backfillBorder(lr.dem,Er,_r),Jt.neighboringTiles&&Jt.neighboringTiles[pn]&&(Jt.neighboringTiles[pn].backfilled=!0)))}},ne.prototype.getTile=function(se){return this.getTileByID(se.key)},ne.prototype.getTileByID=function(se){return this._tiles[se]},ne.prototype._retainLoadedChildren=function(se,xe,Ge,nt){for(var yt in this._tiles){var Ft=this._tiles[yt];if(!(nt[yt]||!Ft.hasData()||Ft.tileID.overscaledZ<=xe||Ft.tileID.overscaledZ>Ge)){for(var Jt=Ft.tileID;Ft&&Ft.tileID.overscaledZ>xe+1;){var lr=Ft.tileID.scaledTo(Ft.tileID.overscaledZ-1);Ft=this._tiles[lr.key],Ft&&Ft.hasData()&&(Jt=lr)}for(var Er=Jt;Er.overscaledZ>xe;)if(Er=Er.scaledTo(Er.overscaledZ-1),se[Er.key]){nt[Jt.key]=Jt;break}}}},ne.prototype.findLoadedParent=function(se,xe){if(se.key in this._loadedParentTiles){var Ge=this._loadedParentTiles[se.key];return Ge&&Ge.tileID.overscaledZ>=xe?Ge:null}for(var nt=se.overscaledZ-1;nt>=xe;nt--){var yt=se.scaledTo(nt),Ft=this._getLoadedTile(yt);if(Ft)return Ft}},ne.prototype._getLoadedTile=function(se){var xe=this._tiles[se.key];if(xe&&xe.hasData())return xe;var Ge=this._cache.getByKey(se.wrapped().key);return Ge},ne.prototype.updateCacheSize=function(se){var xe=Math.ceil(se.width/this._source.tileSize)+1,Ge=Math.ceil(se.height/this._source.tileSize)+1,nt=xe*Ge,yt=5,Ft=Math.floor(nt*yt),Jt=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Ft):Ft;this._cache.setMaxSize(Jt)},ne.prototype.handleWrapJump=function(se){var xe=this._prevLng===void 0?se:this._prevLng,Ge=se-xe,nt=Ge/360,yt=Math.round(nt);if(this._prevLng=se,yt){var Ft={};for(var Jt in this._tiles){var lr=this._tiles[Jt];lr.tileID=lr.tileID.unwrapTo(lr.tileID.wrap+yt),Ft[lr.tileID.key]=lr}this._tiles=Ft;for(var Er in this._timers)clearTimeout(this._timers[Er]),delete this._timers[Er];for(var _r in this._tiles){var Qr=this._tiles[_r];this._setTileReloadTimer(_r,Qr)}}},ne.prototype.update=function(se){var xe=this;if(this.transform=se,!(!this._sourceLoaded||this._paused)){this.updateCacheSize(se),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={};var Ge;this.used?this._source.tileID?Ge=se.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(Ka){return new i.OverscaledTileID(Ka.canonical.z,Ka.wrap,Ka.canonical.z,Ka.canonical.x,Ka.canonical.y)}):(Ge=se.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Ge=Ge.filter(function(Ka){return xe._source.hasTile(Ka)}))):Ge=[];var nt=se.coveringZoomLevel(this._source),yt=Math.max(nt-ne.maxOverzooming,this._source.minzoom),Ft=Math.max(nt+ne.maxUnderzooming,this._source.minzoom),Jt=this._updateRetainedTiles(Ge,nt);if(sr(this._source.type)){for(var lr={},Er={},_r=Object.keys(Jt),Qr=0,pn=_r;Qr<pn.length;Qr+=1){var hn=pn[Qr],dn=Jt[hn],_n=this._tiles[hn];if(!(!_n||_n.fadeEndTime&&_n.fadeEndTime<=i.browser.now())){var Fn=this.findLoadedParent(dn,yt);Fn&&(this._addTile(Fn.tileID),lr[Fn.tileID.key]=Fn.tileID),Er[hn]=dn}}this._retainLoadedChildren(Er,nt,Ft,Jt);for(var la in lr)Jt[la]||(this._coveredTiles[la]=!0,Jt[la]=lr[la])}for(var ha in Jt)this._tiles[ha].clearFadeHold();for(var Ca=i.keysDifference(this._tiles,Jt),Ia=0,Ta=Ca;Ia<Ta.length;Ia+=1){var Oa=Ta[Ia],Va=this._tiles[Oa];Va.hasSymbolBuckets&&!Va.holdingForFade()?Va.setHoldDuration(this.map._fadeDuration):(!Va.hasSymbolBuckets||Va.symbolFadeFinished())&&this._removeTile(Oa)}this._updateLoadedParentTileCache()}},ne.prototype.releaseSymbolFadeTiles=function(){for(var se in this._tiles)this._tiles[se].holdingForFade()&&this._removeTile(se)},ne.prototype._updateRetainedTiles=function(se,xe){for(var Ge={},nt={},yt=Math.max(xe-ne.maxOverzooming,this._source.minzoom),Ft=Math.max(xe+ne.maxUnderzooming,this._source.minzoom),Jt={},lr=0,Er=se;lr<Er.length;lr+=1){var _r=Er[lr],Qr=this._addTile(_r);Ge[_r.key]=_r,!Qr.hasData()&&xe<this._source.maxzoom&&(Jt[_r.key]=_r)}this._retainLoadedChildren(Jt,xe,Ft,Ge);for(var pn=0,hn=se;pn<hn.length;pn+=1){var dn=hn[pn],_n=this._tiles[dn.key];if(!_n.hasData()){if(xe+1>this._source.maxzoom){var Fn=dn.children(this._source.maxzoom)[0],la=this.getTile(Fn);if(la&&la.hasData()){Ge[Fn.key]=Fn;continue}}else{var ha=dn.children(this._source.maxzoom);if(Ge[ha[0].key]&&Ge[ha[1].key]&&Ge[ha[2].key]&&Ge[ha[3].key])continue}for(var Ca=_n.wasRequested(),Ia=dn.overscaledZ-1;Ia>=yt;--Ia){var Ta=dn.scaledTo(Ia);if(nt[Ta.key]||(nt[Ta.key]=!0,_n=this.getTile(Ta),!_n&&Ca&&(_n=this._addTile(Ta)),_n&&(Ge[Ta.key]=Ta,Ca=_n.wasRequested(),_n.hasData())))break}}}return Ge},ne.prototype._updateLoadedParentTileCache=function(){this._loadedParentTiles={};for(var se in this._tiles){for(var xe=[],Ge=void 0,nt=this._tiles[se].tileID;nt.overscaledZ>0;){if(nt.key in this._loadedParentTiles){Ge=this._loadedParentTiles[nt.key];break}xe.push(nt.key);var yt=nt.scaledTo(nt.overscaledZ-1);if(Ge=this._getLoadedTile(yt),Ge)break;nt=yt}for(var Ft=0,Jt=xe;Ft<Jt.length;Ft+=1){var lr=Jt[Ft];this._loadedParentTiles[lr]=Ge}}},ne.prototype._addTile=function(se){var xe=this._tiles[se.key];if(xe)return xe;xe=this._cache.getAndRemove(se),xe&&(this._setTileReloadTimer(se.key,xe),xe.tileID=se,this._state.initializeTileState(xe,this.map?this.map.painter:null),this._cacheTimers[se.key]&&(clearTimeout(this._cacheTimers[se.key]),delete this._cacheTimers[se.key],this._setTileReloadTimer(se.key,xe)));var Ge=!!xe;return Ge||(xe=new i.Tile(se,this._source.tileSize*se.overscaleFactor()),this._loadTile(xe,this._tileLoaded.bind(this,xe,se.key,xe.state))),xe?(xe.uses++,this._tiles[se.key]=xe,Ge||this._source.fire(new i.Event("dataloading",{tile:xe,coord:xe.tileID,dataType:"source"})),xe):null},ne.prototype._setTileReloadTimer=function(se,xe){var Ge=this;se in this._timers&&(clearTimeout(this._timers[se]),delete this._timers[se]);var nt=xe.getExpiryTimeout();nt&&(this._timers[se]=setTimeout(function(){Ge._reloadTile(se,"expired"),delete Ge._timers[se]},nt))},ne.prototype._removeTile=function(se){var xe=this._tiles[se];xe&&(xe.uses--,delete this._tiles[se],this._timers[se]&&(clearTimeout(this._timers[se]),delete this._timers[se]),!(xe.uses>0)&&(xe.hasData()&&xe.state!=="reloading"?this._cache.add(xe.tileID,xe,xe.getExpiryTimeout()):(xe.aborted=!0,this._abortTile(xe),this._unloadTile(xe))))},ne.prototype.clearTiles=function(){this._shouldReloadOnResume=!1,this._paused=!1;for(var se in this._tiles)this._removeTile(se);this._cache.reset()},ne.prototype.tilesIn=function(se,xe,Ge){var nt=this,yt=[],Ft=this.transform;if(!Ft)return yt;for(var Jt=Ge?Ft.getCameraQueryGeometry(se):se,lr=se.map(function(Ia){return Ft.pointCoordinate(Ia)}),Er=Jt.map(function(Ia){return Ft.pointCoordinate(Ia)}),_r=this.getIds(),Qr=1/0,pn=1/0,hn=-1/0,dn=-1/0,_n=0,Fn=Er;_n<Fn.length;_n+=1){var la=Fn[_n];Qr=Math.min(Qr,la.x),pn=Math.min(pn,la.y),hn=Math.max(hn,la.x),dn=Math.max(dn,la.y)}for(var ha=function(Ia){var Ta=nt._tiles[_r[Ia]];if(!Ta.holdingForFade()){var Oa=Ta.tileID,Va=Math.pow(2,Ft.zoom-Ta.tileID.overscaledZ),Ka=xe*Ta.queryPadding*i.EXTENT/Ta.tileSize/Va,vi=[Oa.getTilePoint(new i.MercatorCoordinate(Qr,pn)),Oa.getTilePoint(new i.MercatorCoordinate(hn,dn))];if(vi[0].x-Ka<i.EXTENT&&vi[0].y-Ka<i.EXTENT&&vi[1].x+Ka>=0&&vi[1].y+Ka>=0){var ai=lr.map(function(Io){return Oa.getTilePoint(Io)}),ji=Er.map(function(Io){return Oa.getTilePoint(Io)});yt.push({tile:Ta,tileID:Oa,queryGeometry:ai,cameraQueryGeometry:ji,scale:Va})}}},Ca=0;Ca<_r.length;Ca++)ha(Ca);return yt},ne.prototype.getVisibleCoordinates=function(se){for(var xe=this,Ge=this.getRenderableIds(se).map(function(Jt){return xe._tiles[Jt].tileID}),nt=0,yt=Ge;nt<yt.length;nt+=1){var Ft=yt[nt];Ft.posMatrix=this.transform.calculatePosMatrix(Ft.toUnwrapped())}return Ge},ne.prototype.hasTransition=function(){if(this._source.hasTransition())return!0;if(sr(this._source.type))for(var se in this._tiles){var xe=this._tiles[se];if(xe.fadeEndTime!==void 0&&xe.fadeEndTime>=i.browser.now())return!0}return!1},ne.prototype.setFeatureState=function(se,xe,Ge){se=se||"_geojsonTileLayer",this._state.updateState(se,xe,Ge)},ne.prototype.removeFeatureState=function(se,xe,Ge){se=se||"_geojsonTileLayer",this._state.removeFeatureState(se,xe,Ge)},ne.prototype.getFeatureState=function(se,xe){return se=se||"_geojsonTileLayer",this._state.getState(se,xe)},ne.prototype.setDependencies=function(se,xe,Ge){var nt=this._tiles[se];nt&&nt.setDependencies(xe,Ge)},ne.prototype.reloadTilesForDependencies=function(se,xe){for(var Ge in this._tiles){var nt=this._tiles[Ge];nt.hasDependency(se,xe)&&this._reloadTile(Ge,"reloading")}this._cache.filter(function(yt){return!yt.hasDependency(se,xe)})},ne}(i.Evented);Zt.maxOverzooming=10,Zt.maxUnderzooming=3;function Xt(ge,ne){var ye=Math.abs(ge.wrap*2)-+(ge.wrap<0),se=Math.abs(ne.wrap*2)-+(ne.wrap<0);return ge.overscaledZ-ne.overscaledZ||se-ye||ne.canonical.y-ge.canonical.y||ne.canonical.x-ge.canonical.x}function sr(ge){return ge==="raster"||ge==="image"||ge==="video"}function Sr(){return new i.window.Worker(xl.workerUrl)}var wr="mapboxgl_preloaded_worker_pool",Tr=function(){this.active={}};Tr.prototype.acquire=function(ne){if(!this.workers)for(this.workers=[];this.workers.length<Tr.workerCount;)this.workers.push(new Sr);return this.active[ne]=!0,this.workers.slice()},Tr.prototype.release=function(ne){delete this.active[ne],this.numActive()===0&&(this.workers.forEach(function(ye){ye.terminate()}),this.workers=null)},Tr.prototype.isPreloaded=function(){return!!this.active[wr]},Tr.prototype.numActive=function(){return Object.keys(this.active).length};var Ze=Math.floor(i.browser.hardwareConcurrency/2);Tr.workerCount=Math.max(Math.min(Ze,6),1);var Xe;function Wt(){return Xe||(Xe=new Tr),Xe}function jt(){var ge=Wt();ge.acquire(wr)}function ar(){var ge=Xe;ge&&(ge.isPreloaded()&&ge.numActive()===1?(ge.release(wr),Xe=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))}function mr(ge,ne){var ye={};for(var se in ge)se!=="ref"&&(ye[se]=ge[se]);return i.refProperties.forEach(function(xe){xe in ne&&(ye[xe]=ne[xe])}),ye}function br(ge){ge=ge.slice();for(var ne=Object.create(null),ye=0;ye<ge.length;ye++)ne[ge[ye].id]=ge[ye];for(var se=0;se<ge.length;se++)"ref"in ge[se]&&(ge[se]=mr(ge[se],ne[ge[se].ref]));return ge}function fr(){var ge={},ne=i.styleSpec.$version;for(var ye in i.styleSpec.$root){var se=i.styleSpec.$root[ye];if(se.required){var xe=null;ye==="version"?xe=ne:se.type==="array"?xe=[]:xe={},xe!=null&&(ge[ye]=xe)}}return ge}var Kt={setStyle:"setStyle",addLayer:"addLayer",removeLayer:"removeLayer",setPaintProperty:"setPaintProperty",setLayoutProperty:"setLayoutProperty",setFilter:"setFilter",addSource:"addSource",removeSource:"removeSource",setGeoJSONSourceData:"setGeoJSONSourceData",setLayerZoomRange:"setLayerZoomRange",setLayerProperty:"setLayerProperty",setCenter:"setCenter",setZoom:"setZoom",setBearing:"setBearing",setPitch:"setPitch",setSprite:"setSprite",setGlyphs:"setGlyphs",setTransition:"setTransition",setLight:"setLight"};function kr(ge,ne,ye){ye.push({command:Kt.addSource,args:[ge,ne[ge]]})}function Rr(ge,ne,ye){ne.push({command:Kt.removeSource,args:[ge]}),ye[ge]=!0}function Lr(ge,ne,ye,se){Rr(ge,ye,se),kr(ge,ne,ye)}function Ar(ge,ne,ye){var se;for(se in ge[ye])if(ge[ye].hasOwnProperty(se)&&se!=="data"&&!i.deepEqual(ge[ye][se],ne[ye][se]))return!1;for(se in ne[ye])if(ne[ye].hasOwnProperty(se)&&se!=="data"&&!i.deepEqual(ge[ye][se],ne[ye][se]))return!1;return!0}function ln(ge,ne,ye,se){ge=ge||{},ne=ne||{};var xe;for(xe in ge)ge.hasOwnProperty(xe)&&(ne.hasOwnProperty(xe)||Rr(xe,ye,se));for(xe in ne)ne.hasOwnProperty(xe)&&(ge.hasOwnProperty(xe)?i.deepEqual(ge[xe],ne[xe])||(ge[xe].type==="geojson"&&ne[xe].type==="geojson"&&Ar(ge,ne,xe)?ye.push({command:Kt.setGeoJSONSourceData,args:[xe,ne[xe].data]}):Lr(xe,ne,ye,se)):kr(xe,ne,ye))}function Kr(ge,ne,ye,se,xe,Ge){ge=ge||{},ne=ne||{};var nt;for(nt in ge)ge.hasOwnProperty(nt)&&(i.deepEqual(ge[nt],ne[nt])||ye.push({command:Ge,args:[se,nt,ne[nt],xe]}));for(nt in ne)!ne.hasOwnProperty(nt)||ge.hasOwnProperty(nt)||i.deepEqual(ge[nt],ne[nt])||ye.push({command:Ge,args:[se,nt,ne[nt],xe]})}function Xr(ge){return ge.id}function Bn(ge,ne){return ge[ne.id]=ne,ge}function An(ge,ne,ye){ge=ge||[],ne=ne||[];var se=ge.map(Xr),xe=ne.map(Xr),Ge=ge.reduce(Bn,{}),nt=ne.reduce(Bn,{}),yt=se.slice(),Ft=Object.create(null),Jt,lr,Er,_r,Qr,pn,hn;for(Jt=0,lr=0;Jt<se.length;Jt++)Er=se[Jt],nt.hasOwnProperty(Er)?lr++:(ye.push({command:Kt.removeLayer,args:[Er]}),yt.splice(yt.indexOf(Er,lr),1));for(Jt=0,lr=0;Jt<xe.length;Jt++)Er=xe[xe.length-1-Jt],yt[yt.length-1-Jt]!==Er&&(Ge.hasOwnProperty(Er)?(ye.push({command:Kt.removeLayer,args:[Er]}),yt.splice(yt.lastIndexOf(Er,yt.length-lr),1)):lr++,pn=yt[yt.length-Jt],ye.push({command:Kt.addLayer,args:[nt[Er],pn]}),yt.splice(yt.length-Jt,0,Er),Ft[Er]=!0);for(Jt=0;Jt<xe.length;Jt++)if(Er=xe[Jt],_r=Ge[Er],Qr=nt[Er],!(Ft[Er]||i.deepEqual(_r,Qr))){if(!i.deepEqual(_r.source,Qr.source)||!i.deepEqual(_r["source-layer"],Qr["source-layer"])||!i.deepEqual(_r.type,Qr.type)){ye.push({command:Kt.removeLayer,args:[Er]}),pn=yt[yt.lastIndexOf(Er)+1],ye.push({command:Kt.addLayer,args:[Qr,pn]});continue}Kr(_r.layout,Qr.layout,ye,Er,null,Kt.setLayoutProperty),Kr(_r.paint,Qr.paint,ye,Er,null,Kt.setPaintProperty),i.deepEqual(_r.filter,Qr.filter)||ye.push({command:Kt.setFilter,args:[Er,Qr.filter]}),(!i.deepEqual(_r.minzoom,Qr.minzoom)||!i.deepEqual(_r.maxzoom,Qr.maxzoom))&&ye.push({command:Kt.setLayerZoomRange,args:[Er,Qr.minzoom,Qr.maxzoom]});for(hn in _r)_r.hasOwnProperty(hn)&&(hn==="layout"||hn==="paint"||hn==="filter"||hn==="metadata"||hn==="minzoom"||hn==="maxzoom"||(hn.indexOf("paint.")===0?Kr(_r[hn],Qr[hn],ye,Er,hn.slice(6),Kt.setPaintProperty):i.deepEqual(_r[hn],Qr[hn])||ye.push({command:Kt.setLayerProperty,args:[Er,hn,Qr[hn]]})));for(hn in Qr)!Qr.hasOwnProperty(hn)||_r.hasOwnProperty(hn)||hn==="layout"||hn==="paint"||hn==="filter"||hn==="metadata"||hn==="minzoom"||hn==="maxzoom"||(hn.indexOf("paint.")===0?Kr(_r[hn],Qr[hn],ye,Er,hn.slice(6),Kt.setPaintProperty):i.deepEqual(_r[hn],Qr[hn])||ye.push({command:Kt.setLayerProperty,args:[Er,hn,Qr[hn]]}))}}function ta(ge,ne){if(!ge)return[{command:Kt.setStyle,args:[ne]}];var ye=[];try{if(!i.deepEqual(ge.version,ne.version))return[{command:Kt.setStyle,args:[ne]}];i.deepEqual(ge.center,ne.center)||ye.push({command:Kt.setCenter,args:[ne.center]}),i.deepEqual(ge.zoom,ne.zoom)||ye.push({command:Kt.setZoom,args:[ne.zoom]}),i.deepEqual(ge.bearing,ne.bearing)||ye.push({command:Kt.setBearing,args:[ne.bearing]}),i.deepEqual(ge.pitch,ne.pitch)||ye.push({command:Kt.setPitch,args:[ne.pitch]}),i.deepEqual(ge.sprite,ne.sprite)||ye.push({command:Kt.setSprite,args:[ne.sprite]}),i.deepEqual(ge.glyphs,ne.glyphs)||ye.push({command:Kt.setGlyphs,args:[ne.glyphs]}),i.deepEqual(ge.transition,ne.transition)||ye.push({command:Kt.setTransition,args:[ne.transition]}),i.deepEqual(ge.light,ne.light)||ye.push({command:Kt.setLight,args:[ne.light]});var se={},xe=[];ln(ge.sources,ne.sources,xe,se);var Ge=[];ge.layers&&ge.layers.forEach(function(nt){se[nt.source]?ye.push({command:Kt.removeLayer,args:[nt.id]}):Ge.push(nt)}),ye=ye.concat(xe),An(Ge,ne.layers,ye)}catch(nt){console.warn("Unable to compute style diff:",nt),ye=[{command:Kt.setStyle,args:[ne]}]}return ye}var ra=function(ne,ye){this.reset(ne,ye)};ra.prototype.reset=function(ne,ye){this.points=ne||[],this._distances=[0];for(var se=1;se<this.points.length;se++)this._distances[se]=this._distances[se-1]+this.points[se].dist(this.points[se-1]);this.length=this._distances[this._distances.length-1],this.padding=Math.min(ye||0,this.length*.5),this.paddedLength=this.length-this.padding*2},ra.prototype.lerp=function(ne){if(this.points.length===1)return this.points[0];ne=i.clamp(ne,0,1);for(var ye=1,se=this._distances[ye],xe=ne*this.paddedLength+this.padding;se<xe&&ye<this._distances.length;)se=this._distances[++ye];var Ge=ye-1,nt=this._distances[Ge],yt=se-nt,Ft=yt>0?(xe-nt)/yt:0;return this.points[Ge].mult(1-Ft).add(this.points[ye].mult(Ft))};var Cr=function(ne,ye,se){var xe=this.boxCells=[],Ge=this.circleCells=[];this.xCellCount=Math.ceil(ne/se),this.yCellCount=Math.ceil(ye/se);for(var nt=0;nt<this.xCellCount*this.yCellCount;nt++)xe.push([]),Ge.push([]);this.circleKeys=[],this.boxKeys=[],this.bboxes=[],this.circles=[],this.width=ne,this.height=ye,this.xScale=this.xCellCount/ne,this.yScale=this.yCellCount/ye,this.boxUid=0,this.circleUid=0};Cr.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},Cr.prototype.insert=function(ne,ye,se,xe,Ge){this._forEachCell(ye,se,xe,Ge,this._insertBoxCell,this.boxUid++),this.boxKeys.push(ne),this.bboxes.push(ye),this.bboxes.push(se),this.bboxes.push(xe),this.bboxes.push(Ge)},Cr.prototype.insertCircle=function(ne,ye,se,xe){this._forEachCell(ye-xe,se-xe,ye+xe,se+xe,this._insertCircleCell,this.circleUid++),this.circleKeys.push(ne),this.circles.push(ye),this.circles.push(se),this.circles.push(xe)},Cr.prototype._insertBoxCell=function(ne,ye,se,xe,Ge,nt){this.boxCells[Ge].push(nt)},Cr.prototype._insertCircleCell=function(ne,ye,se,xe,Ge,nt){this.circleCells[Ge].push(nt)},Cr.prototype._query=function(ne,ye,se,xe,Ge,nt){if(se<0||ne>this.width||xe<0||ye>this.height)return Ge?!1:[];var yt=[];if(ne<=0&&ye<=0&&this.width<=se&&this.height<=xe){if(Ge)return!0;for(var Ft=0;Ft<this.boxKeys.length;Ft++)yt.push({key:this.boxKeys[Ft],x1:this.bboxes[Ft*4],y1:this.bboxes[Ft*4+1],x2:this.bboxes[Ft*4+2],y2:this.bboxes[Ft*4+3]});for(var Jt=0;Jt<this.circleKeys.length;Jt++){var lr=this.circles[Jt*3],Er=this.circles[Jt*3+1],_r=this.circles[Jt*3+2];yt.push({key:this.circleKeys[Jt],x1:lr-_r,y1:Er-_r,x2:lr+_r,y2:Er+_r})}return nt?yt.filter(nt):yt}else{var Qr={hitTest:Ge,seenUids:{box:{},circle:{}}};return this._forEachCell(ne,ye,se,xe,this._queryCell,yt,Qr,nt),Ge?yt.length>0:yt}},Cr.prototype._queryCircle=function(ne,ye,se,xe,Ge){var nt=ne-se,yt=ne+se,Ft=ye-se,Jt=ye+se;if(yt<0||nt>this.width||Jt<0||Ft>this.height)return xe?!1:[];var lr=[],Er={hitTest:xe,circle:{x:ne,y:ye,radius:se},seenUids:{box:{},circle:{}}};return this._forEachCell(nt,Ft,yt,Jt,this._queryCellCircle,lr,Er,Ge),xe?lr.length>0:lr},Cr.prototype.query=function(ne,ye,se,xe,Ge){return this._query(ne,ye,se,xe,!1,Ge)},Cr.prototype.hitTest=function(ne,ye,se,xe,Ge){return this._query(ne,ye,se,xe,!0,Ge)},Cr.prototype.hitTestCircle=function(ne,ye,se,xe){return this._queryCircle(ne,ye,se,!0,xe)},Cr.prototype._queryCell=function(ne,ye,se,xe,Ge,nt,yt,Ft){var Jt=yt.seenUids,lr=this.boxCells[Ge];if(lr!==null)for(var Er=this.bboxes,_r=0,Qr=lr;_r<Qr.length;_r+=1){var pn=Qr[_r];if(!Jt.box[pn]){Jt.box[pn]=!0;var hn=pn*4;if(ne<=Er[hn+2]&&ye<=Er[hn+3]&&se>=Er[hn+0]&&xe>=Er[hn+1]&&(!Ft||Ft(this.boxKeys[pn]))){if(yt.hitTest)return nt.push(!0),!0;nt.push({key:this.boxKeys[pn],x1:Er[hn],y1:Er[hn+1],x2:Er[hn+2],y2:Er[hn+3]})}}}var dn=this.circleCells[Ge];if(dn!==null)for(var _n=this.circles,Fn=0,la=dn;Fn<la.length;Fn+=1){var ha=la[Fn];if(!Jt.circle[ha]){Jt.circle[ha]=!0;var Ca=ha*3;if(this._circleAndRectCollide(_n[Ca],_n[Ca+1],_n[Ca+2],ne,ye,se,xe)&&(!Ft||Ft(this.circleKeys[ha]))){if(yt.hitTest)return nt.push(!0),!0;var Ia=_n[Ca],Ta=_n[Ca+1],Oa=_n[Ca+2];nt.push({key:this.circleKeys[ha],x1:Ia-Oa,y1:Ta-Oa,x2:Ia+Oa,y2:Ta+Oa})}}}},Cr.prototype._queryCellCircle=function(ne,ye,se,xe,Ge,nt,yt,Ft){var Jt=yt.circle,lr=yt.seenUids,Er=this.boxCells[Ge];if(Er!==null)for(var _r=this.bboxes,Qr=0,pn=Er;Qr<pn.length;Qr+=1){var hn=pn[Qr];if(!lr.box[hn]){lr.box[hn]=!0;var dn=hn*4;if(this._circleAndRectCollide(Jt.x,Jt.y,Jt.radius,_r[dn+0],_r[dn+1],_r[dn+2],_r[dn+3])&&(!Ft||Ft(this.boxKeys[hn])))return nt.push(!0),!0}}var _n=this.circleCells[Ge];if(_n!==null)for(var Fn=this.circles,la=0,ha=_n;la<ha.length;la+=1){var Ca=ha[la];if(!lr.circle[Ca]){lr.circle[Ca]=!0;var Ia=Ca*3;if(this._circlesCollide(Fn[Ia],Fn[Ia+1],Fn[Ia+2],Jt.x,Jt.y,Jt.radius)&&(!Ft||Ft(this.circleKeys[Ca])))return nt.push(!0),!0}}},Cr.prototype._forEachCell=function(ne,ye,se,xe,Ge,nt,yt,Ft){for(var Jt=this._convertToXCellCoord(ne),lr=this._convertToYCellCoord(ye),Er=this._convertToXCellCoord(se),_r=this._convertToYCellCoord(xe),Qr=Jt;Qr<=Er;Qr++)for(var pn=lr;pn<=_r;pn++){var hn=this.xCellCount*pn+Qr;if(Ge.call(this,ne,ye,se,xe,hn,nt,yt,Ft))return}},Cr.prototype._convertToXCellCoord=function(ne){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(ne*this.xScale)))},Cr.prototype._convertToYCellCoord=function(ne){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(ne*this.yScale)))},Cr.prototype._circlesCollide=function(ne,ye,se,xe,Ge,nt){var yt=xe-ne,Ft=Ge-ye,Jt=se+nt;return Jt*Jt>yt*yt+Ft*Ft},Cr.prototype._circleAndRectCollide=function(ne,ye,se,xe,Ge,nt,yt){var Ft=(nt-xe)/2,Jt=Math.abs(ne-(xe+Ft));if(Jt>Ft+se)return!1;var lr=(yt-Ge)/2,Er=Math.abs(ye-(Ge+lr));if(Er>lr+se)return!1;if(Jt<=Ft||Er<=lr)return!0;var _r=Jt-Ft,Qr=Er-lr;return _r*_r+Qr*Qr<=se*se};function Jr(ge,ne,ye,se,xe){var Ge=i.create();return ne?(i.scale(Ge,Ge,[1/xe,1/xe,1]),ye||i.rotateZ(Ge,Ge,se.angle)):i.multiply(Ge,se.labelPlaneMatrix,ge),Ge}function un(ge,ne,ye,se,xe){if(ne){var Ge=i.clone(ge);return i.scale(Ge,Ge,[xe,xe,1]),ye||i.rotateZ(Ge,Ge,-se.angle),Ge}else return se.glCoordMatrix}function sn(ge,ne){var ye=[ge.x,ge.y,0,1];Fr(ye,ye,ne);var se=ye[3];return{point:new i.Point(ye[0]/se,ye[1]/se),signedDistanceFromCamera:se}}function Nn(ge,ne){return .5+.5*(ge/ne)}function Hn(ge,ne){var ye=ge[0]/ge[3],se=ge[1]/ge[3],xe=ye>=-ne[0]&&ye<=ne[0]&&se>=-ne[1]&&se<=ne[1];return xe}function $n(ge,ne,ye,se,xe,Ge,nt,yt){var Ft=se?ge.textSizeData:ge.iconSizeData,Jt=i.evaluateSizeForZoom(Ft,ye.transform.zoom),lr=[256/ye.width*2+1,256/ye.height*2+1],Er=se?ge.text.dynamicLayoutVertexArray:ge.icon.dynamicLayoutVertexArray;Er.clear();for(var _r=ge.lineVertexArray,Qr=se?ge.text.placedSymbolArray:ge.icon.placedSymbolArray,pn=ye.transform.width/ye.transform.height,hn=!1,dn=0;dn<Qr.length;dn++){var _n=Qr.get(dn);if(_n.hidden||_n.writingMode===i.WritingMode.vertical&&!hn){oi(_n.numGlyphs,Er);continue}hn=!1;var Fn=[_n.anchorX,_n.anchorY,0,1];if(i.transformMat4(Fn,Fn,ne),!Hn(Fn,lr)){oi(_n.numGlyphs,Er);continue}var la=Fn[3],ha=Nn(ye.transform.cameraToCenterDistance,la),Ca=i.evaluateSizeForFeature(Ft,Jt,_n),Ia=nt?Ca/ha:Ca*ha,Ta=new i.Point(_n.anchorX,_n.anchorY),Oa=sn(Ta,xe).point,Va={},Ka=Ya(_n,Ia,!1,yt,ne,xe,Ge,ge.glyphOffsetArray,_r,Er,Oa,Ta,Va,pn);hn=Ka.useVertical,(Ka.notEnoughRoom||hn||Ka.needsFlipping&&Ya(_n,Ia,!0,yt,ne,xe,Ge,ge.glyphOffsetArray,_r,Er,Oa,Ta,Va,pn).notEnoughRoom)&&oi(_n.numGlyphs,Er)}se?ge.text.dynamicLayoutVertexBuffer.updateData(Er):ge.icon.dynamicLayoutVertexBuffer.updateData(Er)}function da(ge,ne,ye,se,xe,Ge,nt,yt,Ft,Jt,lr){var Er=yt.glyphStartIndex+yt.numGlyphs,_r=yt.lineStartIndex,Qr=yt.lineStartIndex+yt.lineLength,pn=ne.getoffsetX(yt.glyphStartIndex),hn=ne.getoffsetX(Er-1),dn=ii(ge*pn,ye,se,xe,Ge,nt,yt.segment,_r,Qr,Ft,Jt,lr);if(!dn)return null;var _n=ii(ge*hn,ye,se,xe,Ge,nt,yt.segment,_r,Qr,Ft,Jt,lr);return _n?{first:dn,last:_n}:null}function _a(ge,ne,ye,se){if(ge===i.WritingMode.horizontal){var xe=Math.abs(ye.y-ne.y),Ge=Math.abs(ye.x-ne.x)*se;if(xe>Ge)return{useVertical:!0}}return(ge===i.WritingMode.vertical?ne.y<ye.y:ne.x>ye.x)?{needsFlipping:!0}:null}function Ya(ge,ne,ye,se,xe,Ge,nt,yt,Ft,Jt,lr,Er,_r,Qr){var pn=ne/24,hn=ge.lineOffsetX*pn,dn=ge.lineOffsetY*pn,_n;if(ge.numGlyphs>1){var Fn=ge.glyphStartIndex+ge.numGlyphs,la=ge.lineStartIndex,ha=ge.lineStartIndex+ge.lineLength,Ca=da(pn,yt,hn,dn,ye,lr,Er,ge,Ft,Ge,_r);if(!Ca)return{notEnoughRoom:!0};var Ia=sn(Ca.first.point,nt).point,Ta=sn(Ca.last.point,nt).point;if(se&&!ye){var Oa=_a(ge.writingMode,Ia,Ta,Qr);if(Oa)return Oa}_n=[Ca.first];for(var Va=ge.glyphStartIndex+1;Va<Fn-1;Va++)_n.push(ii(pn*yt.getoffsetX(Va),hn,dn,ye,lr,Er,ge.segment,la,ha,Ft,Ge,_r));_n.push(Ca.last)}else{if(se&&!ye){var Ka=sn(Er,xe).point,vi=ge.lineStartIndex+ge.segment+1,ai=new i.Point(Ft.getx(vi),Ft.gety(vi)),ji=sn(ai,xe),Io=ji.signedDistanceFromCamera>0?ji.point:di(Er,ai,Ka,1,xe),po=_a(ge.writingMode,Ka,Io,Qr);if(po)return po}var Si=ii(pn*yt.getoffsetX(ge.glyphStartIndex),hn,dn,ye,lr,Er,ge.segment,ge.lineStartIndex,ge.lineStartIndex+ge.lineLength,Ft,Ge,_r);if(!Si)return{notEnoughRoom:!0};_n=[Si]}for(var mo=0,Qi=_n;mo<Qi.length;mo+=1){var jo=Qi[mo];i.addDynamicAttributes(Jt,jo.point,jo.angle)}return{}}function di(ge,ne,ye,se,xe){var Ge=sn(ge.add(ge.sub(ne)._unit()),xe).point,nt=ye.sub(Ge);return ye.add(nt._mult(se/nt.mag()))}function ii(ge,ne,ye,se,xe,Ge,nt,yt,Ft,Jt,lr,Er){var _r=se?ge-ne:ge+ne,Qr=_r>0?1:-1,pn=0;se&&(Qr*=-1,pn=Math.PI),Qr<0&&(pn+=Math.PI);for(var hn=Qr>0?yt+nt:yt+nt+1,dn=xe,_n=xe,Fn=0,la=0,ha=Math.abs(_r),Ca=[];Fn+la<=ha;){if(hn+=Qr,hn<yt||hn>=Ft)return null;if(_n=dn,Ca.push(dn),dn=Er[hn],dn===void 0){var Ia=new i.Point(Jt.getx(hn),Jt.gety(hn)),Ta=sn(Ia,lr);if(Ta.signedDistanceFromCamera>0)dn=Er[hn]=Ta.point;else{var Oa=hn-Qr,Va=Fn===0?Ge:new i.Point(Jt.getx(Oa),Jt.gety(Oa));dn=di(Va,Ia,_n,ha-Fn+1,lr)}}Fn+=la,la=_n.dist(dn)}var Ka=(ha-Fn)/la,vi=dn.sub(_n),ai=vi.mult(Ka)._add(_n);ai._add(vi._unit()._perp()._mult(ye*Qr));var ji=pn+Math.atan2(dn.y-_n.y,dn.x-_n.x);return Ca.push(ai),{point:ai,angle:ji,path:Ca}}var Za=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function oi(ge,ne){for(var ye=0;ye<ge;ye++){var se=ne.length;ne.resize(se+4),ne.float32.set(Za,se*3)}}function Fr(ge,ne,ye){var se=ne[0],xe=ne[1];return ge[0]=ye[0]*se+ye[4]*xe+ye[12],ge[1]=ye[1]*se+ye[5]*xe+ye[13],ge[3]=ye[3]*se+ye[7]*xe+ye[15],ge}var vn=100,fn=function(ne,ye,se){ye===void 0&&(ye=new Cr(ne.width+2*vn,ne.height+2*vn,25)),se===void 0&&(se=new Cr(ne.width+2*vn,ne.height+2*vn,25)),this.transform=ne,this.grid=ye,this.ignoredGrid=se,this.pitchfactor=Math.cos(ne._pitch)*ne.cameraToCenterDistance,this.screenRightBoundary=ne.width+vn,this.screenBottomBoundary=ne.height+vn,this.gridRightBoundary=ne.width+2*vn,this.gridBottomBoundary=ne.height+2*vn};fn.prototype.placeCollisionBox=function(ne,ye,se,xe,Ge){var nt=this.projectAndGetPerspectiveRatio(xe,ne.anchorPointX,ne.anchorPointY),yt=se*nt.perspectiveRatio,Ft=ne.x1*yt+nt.point.x,Jt=ne.y1*yt+nt.point.y,lr=ne.x2*yt+nt.point.x,Er=ne.y2*yt+nt.point.y;return!this.isInsideGrid(Ft,Jt,lr,Er)||!ye&&this.grid.hitTest(Ft,Jt,lr,Er,Ge)?{box:[],offscreen:!1}:{box:[Ft,Jt,lr,Er],offscreen:this.isOffscreen(Ft,Jt,lr,Er)}},fn.prototype.placeCollisionCircles=function(ne,ye,se,xe,Ge,nt,yt,Ft,Jt,lr,Er,_r,Qr){var pn=[],hn=new i.Point(ye.anchorX,ye.anchorY),dn=sn(hn,nt),_n=Nn(this.transform.cameraToCenterDistance,dn.signedDistanceFromCamera),Fn=lr?Ge/_n:Ge*_n,la=Fn/i.ONE_EM,ha=sn(hn,yt).point,Ca={},Ia=ye.lineOffsetX*la,Ta=ye.lineOffsetY*la,Oa=da(la,xe,Ia,Ta,!1,ha,hn,ye,se,yt,Ca),Va=!1,Ka=!1,vi=!0;if(Oa){for(var ai=_r*.5*_n+Qr,ji=new i.Point(-vn,-vn),Io=new i.Point(this.screenRightBoundary,this.screenBottomBoundary),po=new ra,Si=Oa.first,mo=Oa.last,Qi=[],jo=Si.path.length-1;jo>=1;jo--)Qi.push(Si.path[jo]);for(var Lo=1;Lo<mo.path.length;Lo++)Qi.push(mo.path[Lo]);var Ms=ai*2.5;if(Ft){var go=Qi.map(function(yh){return sn(yh,Ft)});go.some(function(yh){return yh.signedDistanceFromCamera<=0})?Qi=[]:Qi=go.map(function(yh){return yh.point})}var gs=[];if(Qi.length>0){for(var to=Qi[0].clone(),Oo=Qi[0].clone(),tl=1;tl<Qi.length;tl++)to.x=Math.min(to.x,Qi[tl].x),to.y=Math.min(to.y,Qi[tl].y),Oo.x=Math.max(Oo.x,Qi[tl].x),Oo.y=Math.max(Oo.y,Qi[tl].y);to.x>=ji.x&&Oo.x<=Io.x&&to.y>=ji.y&&Oo.y<=Io.y?gs=[Qi]:Oo.x<ji.x||to.x>Io.x||Oo.y<ji.y||to.y>Io.y?gs=[]:gs=i.clipLine([Qi],ji.x,ji.y,Io.x,Io.y)}for(var Wl=0,Kl=gs;Wl<Kl.length;Wl+=1){var Kc=Kl[Wl];po.reset(Kc,ai*.25);var vh=0;po.length<=.5*ai?vh=1:vh=Math.ceil(po.paddedLength/Ms)+1;for(var mh=0;mh<vh;mh++){var mv=mh/Math.max(vh-1,1),xp=po.lerp(mv),ju=xp.x+vn,bp=xp.y+vn;pn.push(ju,bp,ai,0);var vd=ju-ai,Yu=bp-ai,gh=ju+ai,_0=bp+ai;if(vi=vi&&this.isOffscreen(vd,Yu,gh,_0),Ka=Ka||this.isInsideGrid(vd,Yu,gh,_0),!ne&&this.grid.hitTestCircle(ju,bp,ai,Er)&&(Va=!0,!Jt))return{circles:[],offscreen:!1,collisionDetected:Va}}}}return{circles:!Jt&&Va||!Ka?[]:pn,offscreen:vi,collisionDetected:Va}},fn.prototype.queryRenderedSymbols=function(ne){if(ne.length===0||this.grid.keysLength()===0&&this.ignoredGrid.keysLength()===0)return{};for(var ye=[],se=1/0,xe=1/0,Ge=-1/0,nt=-1/0,yt=0,Ft=ne;yt<Ft.length;yt+=1){var Jt=Ft[yt],lr=new i.Point(Jt.x+vn,Jt.y+vn);se=Math.min(se,lr.x),xe=Math.min(xe,lr.y),Ge=Math.max(Ge,lr.x),nt=Math.max(nt,lr.y),ye.push(lr)}for(var Er=this.grid.query(se,xe,Ge,nt).concat(this.ignoredGrid.query(se,xe,Ge,nt)),_r={},Qr={},pn=0,hn=Er;pn<hn.length;pn+=1){var dn=hn[pn],_n=dn.key;if(_r[_n.bucketInstanceId]===void 0&&(_r[_n.bucketInstanceId]={}),!_r[_n.bucketInstanceId][_n.featureIndex]){var Fn=[new i.Point(dn.x1,dn.y1),new i.Point(dn.x2,dn.y1),new i.Point(dn.x2,dn.y2),new i.Point(dn.x1,dn.y2)];i.polygonIntersectsPolygon(ye,Fn)&&(_r[_n.bucketInstanceId][_n.featureIndex]=!0,Qr[_n.bucketInstanceId]===void 0&&(Qr[_n.bucketInstanceId]=[]),Qr[_n.bucketInstanceId].push(_n.featureIndex))}}return Qr},fn.prototype.insertCollisionBox=function(ne,ye,se,xe,Ge){var nt=ye?this.ignoredGrid:this.grid,yt={bucketInstanceId:se,featureIndex:xe,collisionGroupID:Ge};nt.insert(yt,ne[0],ne[1],ne[2],ne[3])},fn.prototype.insertCollisionCircles=function(ne,ye,se,xe,Ge){for(var nt=ye?this.ignoredGrid:this.grid,yt={bucketInstanceId:se,featureIndex:xe,collisionGroupID:Ge},Ft=0;Ft<ne.length;Ft+=4)nt.insertCircle(yt,ne[Ft],ne[Ft+1],ne[Ft+2])},fn.prototype.projectAndGetPerspectiveRatio=function(ne,ye,se){var xe=[ye,se,0,1];Fr(xe,xe,ne);var Ge=new i.Point((xe[0]/xe[3]+1)/2*this.transform.width+vn,(-xe[1]/xe[3]+1)/2*this.transform.height+vn);return{point:Ge,perspectiveRatio:.5+.5*(this.transform.cameraToCenterDistance/xe[3])}},fn.prototype.isOffscreen=function(ne,ye,se,xe){return se<vn||ne>=this.screenRightBoundary||xe<vn||ye>this.screenBottomBoundary},fn.prototype.isInsideGrid=function(ne,ye,se,xe){return se>=0&&ne<this.gridRightBoundary&&xe>=0&&ye<this.gridBottomBoundary},fn.prototype.getViewportMatrix=function(){var ne=i.identity([]);return i.translate(ne,ne,[-vn,-vn,0]),ne};function Vn(ge,ne,ye){return ne*(i.EXTENT/(ge.tileSize*Math.pow(2,ye-ge.tileID.overscaledZ)))}var Sa=function(ne,ye,se,xe){ne?this.opacity=Math.max(0,Math.min(1,ne.opacity+(ne.placed?ye:-ye))):this.opacity=xe&&se?1:0,this.placed=se};Sa.prototype.isHidden=function(){return this.opacity===0&&!this.placed};var na=function(ne,ye,se,xe,Ge){this.text=new Sa(ne?ne.text:null,ye,se,Ge),this.icon=new Sa(ne?ne.icon:null,ye,xe,Ge)};na.prototype.isHidden=function(){return this.text.isHidden()&&this.icon.isHidden()};var aa=function(ne,ye,se){this.text=ne,this.icon=ye,this.skipFade=se},ba=function(){this.invProjMatrix=i.create(),this.viewportMatrix=i.create(),this.circles=[]},Ua=function(ne,ye,se,xe,Ge){this.bucketInstanceId=ne,this.featureIndex=ye,this.sourceLayerIndex=se,this.bucketIndex=xe,this.tileID=Ge},fi=function(ne){this.crossSourceCollisions=ne,this.maxGroupID=0,this.collisionGroups={}};fi.prototype.get=function(ne){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[ne]){var ye=++this.maxGroupID;this.collisionGroups[ne]={ID:ye,predicate:function(se){return se.collisionGroupID===ye}}}return this.collisionGroups[ne]};function Vi(ge,ne,ye,se,xe){var Ge=i.getAnchorAlignment(ge),nt=Ge.horizontalAlign,yt=Ge.verticalAlign,Ft=-(nt-.5)*ne,Jt=-(yt-.5)*ye,lr=i.evaluateVariableOffset(ge,se);return new i.Point(Ft+lr[0]*xe,Jt+lr[1]*xe)}function Dr(ge,ne,ye,se,xe,Ge){var nt=ge.x1,yt=ge.x2,Ft=ge.y1,Jt=ge.y2,lr=ge.anchorPointX,Er=ge.anchorPointY,_r=new i.Point(ne,ye);return se&&_r._rotate(xe?Ge:-Ge),{x1:nt+_r.x,y1:Ft+_r.y,x2:yt+_r.x,y2:Jt+_r.y,anchorPointX:lr,anchorPointY:Er}}var tn=function(ne,ye,se,xe){this.transform=ne.clone(),this.collisionIndex=new fn(this.transform),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=ye,this.retainedQueryData={},this.collisionGroups=new fi(se),this.collisionCircleArrays={},this.prevPlacement=xe,xe&&(xe.prevPlacement=void 0),this.placedOrientations={}};tn.prototype.getBucketParts=function(ne,ye,se,xe){var Ge=se.getBucket(ye),nt=se.latestFeatureIndex;if(!(!Ge||!nt||ye.id!==Ge.layerIds[0])){var yt=se.collisionBoxArray,Ft=Ge.layers[0].layout,Jt=Math.pow(2,this.transform.zoom-se.tileID.overscaledZ),lr=se.tileSize/i.EXTENT,Er=this.transform.calculatePosMatrix(se.tileID.toUnwrapped()),_r=Ft.get("text-pitch-alignment")==="map",Qr=Ft.get("text-rotation-alignment")==="map",pn=Vn(se,1,this.transform.zoom),hn=Jr(Er,_r,Qr,this.transform,pn),dn=null;if(_r){var _n=un(Er,_r,Qr,this.transform,pn);dn=i.multiply([],this.transform.labelPlaneMatrix,_n)}this.retainedQueryData[Ge.bucketInstanceId]=new Ua(Ge.bucketInstanceId,nt,Ge.sourceLayerIndex,Ge.index,se.tileID);var Fn={bucket:Ge,layout:Ft,posMatrix:Er,textLabelPlaneMatrix:hn,labelToScreenMatrix:dn,scale:Jt,textPixelRatio:lr,holdingForFade:se.holdingForFade(),collisionBoxArray:yt,partiallyEvaluatedTextSize:i.evaluateSizeForZoom(Ge.textSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(Ge.sourceID)};if(xe)for(var la=0,ha=Ge.sortKeyRanges;la<ha.length;la+=1){var Ca=ha[la],Ia=Ca.sortKey,Ta=Ca.symbolInstanceStart,Oa=Ca.symbolInstanceEnd;ne.push({sortKey:Ia,symbolInstanceStart:Ta,symbolInstanceEnd:Oa,parameters:Fn})}else ne.push({symbolInstanceStart:0,symbolInstanceEnd:Ge.symbolInstances.length,parameters:Fn})}},tn.prototype.attemptAnchorPlacement=function(ne,ye,se,xe,Ge,nt,yt,Ft,Jt,lr,Er,_r,Qr,pn,hn){var dn=[_r.textOffset0,_r.textOffset1],_n=Vi(ne,se,xe,dn,Ge),Fn=this.collisionIndex.placeCollisionBox(Dr(ye,_n.x,_n.y,nt,yt,this.transform.angle),Er,Ft,Jt,lr.predicate);if(hn){var la=this.collisionIndex.placeCollisionBox(Dr(hn,_n.x,_n.y,nt,yt,this.transform.angle),Er,Ft,Jt,lr.predicate);if(la.box.length===0)return}if(Fn.box.length>0){var ha;return this.prevPlacement&&this.prevPlacement.variableOffsets[_r.crossTileID]&&this.prevPlacement.placements[_r.crossTileID]&&this.prevPlacement.placements[_r.crossTileID].text&&(ha=this.prevPlacement.variableOffsets[_r.crossTileID].anchor),this.variableOffsets[_r.crossTileID]={textOffset:dn,width:se,height:xe,anchor:ne,textBoxScale:Ge,prevAnchor:ha},this.markUsedJustification(Qr,ne,_r,pn),Qr.allowVerticalPlacement&&(this.markUsedOrientation(Qr,pn,_r),this.placedOrientations[_r.crossTileID]=pn),{shift:_n,placedGlyphBoxes:Fn}}},tn.prototype.placeLayerBucketPart=function(ne,ye,se){var xe=this,Ge=ne.parameters,nt=Ge.bucket,yt=Ge.layout,Ft=Ge.posMatrix,Jt=Ge.textLabelPlaneMatrix,lr=Ge.labelToScreenMatrix,Er=Ge.textPixelRatio,_r=Ge.holdingForFade,Qr=Ge.collisionBoxArray,pn=Ge.partiallyEvaluatedTextSize,hn=Ge.collisionGroup,dn=yt.get("text-optional"),_n=yt.get("icon-optional"),Fn=yt.get("text-allow-overlap"),la=yt.get("icon-allow-overlap"),ha=yt.get("text-rotation-alignment")==="map",Ca=yt.get("text-pitch-alignment")==="map",Ia=yt.get("icon-text-fit")!=="none",Ta=yt.get("symbol-z-order")==="viewport-y",Oa=Fn&&(la||!nt.hasIconData()||_n),Va=la&&(Fn||!nt.hasTextData()||dn);!nt.collisionArrays&&Qr&&nt.deserializeCollisionBoxes(Qr);var Ka=function(Si,mo){if(!ye[Si.crossTileID]){if(_r){xe.placements[Si.crossTileID]=new aa(!1,!1,!1);return}var Qi=!1,jo=!1,Lo=!0,Ms=null,go={box:null,offscreen:null},gs={box:null,offscreen:null},to=null,Oo=null,tl=null,Wl=0,Kl=0,Kc=0;mo.textFeatureIndex?Wl=mo.textFeatureIndex:Si.useRuntimeCollisionCircles&&(Wl=Si.featureIndex),mo.verticalTextFeatureIndex&&(Kl=mo.verticalTextFeatureIndex);var vh=mo.textBox;if(vh){var mh=function(bl){var md=i.WritingMode.horizontal;if(nt.allowVerticalPlacement&&!bl&&xe.prevPlacement){var gd=xe.prevPlacement.placedOrientations[Si.crossTileID];gd&&(xe.placedOrientations[Si.crossTileID]=gd,md=gd,xe.markUsedOrientation(nt,md,Si))}return md},mv=function(bl,md){if(nt.allowVerticalPlacement&&Si.numVerticalGlyphVertices>0&&mo.verticalTextBox)for(var gd=0,Wu=nt.writingModes;gd<Wu.length;gd+=1){var _4=Wu[gd];if(_4===i.WritingMode.vertical?(go=md(),gs=go):go=bl(),go&&go.box&&go.box.length)break}else go=bl()};if(yt.get("text-variable-anchor")){var vd=yt.get("text-variable-anchor");if(xe.prevPlacement&&xe.prevPlacement.variableOffsets[Si.crossTileID]){var Yu=xe.prevPlacement.variableOffsets[Si.crossTileID];vd.indexOf(Yu.anchor)>0&&(vd=vd.filter(function(bl){return bl!==Yu.anchor}),vd.unshift(Yu.anchor))}var gh=function(bl,md,gd){for(var Wu=bl.x2-bl.x1,_4=bl.y2-bl.y1,j8=Si.textBoxScale,Y8=Ia&&!la?md:null,Vm={box:[],offscreen:!1},W8=Fn?vd.length*2:vd.length,p_=0;p_<W8;++p_){var K8=vd[p_%vd.length],X8=p_>=vd.length,iy=xe.attemptAnchorPlacement(K8,bl,Wu,_4,j8,ha,Ca,Er,Ft,hn,X8,Si,nt,gd,Y8);if(iy&&(Vm=iy.placedGlyphBoxes,Vm&&Vm.box&&Vm.box.length)){Qi=!0,Ms=iy.shift;break}}return Vm},_0=function(){return gh(vh,mo.iconBox,i.WritingMode.horizontal)},yh=function(){var bl=mo.verticalTextBox,md=go&&go.box&&go.box.length;return nt.allowVerticalPlacement&&!md&&Si.numVerticalGlyphVertices>0&&bl?gh(bl,mo.verticalIconBox,i.WritingMode.vertical):{box:null,offscreen:null}};mv(_0,yh),go&&(Qi=go.box,Lo=go.offscreen);var d_=mh(go&&go.box);if(!Qi&&xe.prevPlacement){var Bm=xe.prevPlacement.variableOffsets[Si.crossTileID];Bm&&(xe.variableOffsets[Si.crossTileID]=Bm,xe.markUsedJustification(nt,Bm.anchor,Si,d_))}}else{var xp=function(bl,md){var gd=xe.collisionIndex.placeCollisionBox(bl,Fn,Er,Ft,hn.predicate);return gd&&gd.box&&gd.box.length&&(xe.markUsedOrientation(nt,md,Si),xe.placedOrientations[Si.crossTileID]=md),gd},ju=function(){return xp(vh,i.WritingMode.horizontal)},bp=function(){var bl=mo.verticalTextBox;return nt.allowVerticalPlacement&&Si.numVerticalGlyphVertices>0&&bl?xp(bl,i.WritingMode.vertical):{box:null,offscreen:null}};mv(ju,bp),mh(go&&go.box&&go.box.length)}}if(to=go,Qi=to&&to.box&&to.box.length>0,Lo=to&&to.offscreen,Si.useRuntimeCollisionCircles){var fc=nt.text.placedSymbolArray.get(Si.centerJustifiedTextSymbolIndex),ny=i.evaluateSizeForFeature(nt.textSizeData,pn,fc),zm=yt.get("text-padding"),Au=Si.collisionCircleDiameter;Oo=xe.collisionIndex.placeCollisionCircles(Fn,fc,nt.lineVertexArray,nt.glyphOffsetArray,ny,Ft,Jt,lr,se,Ca,hn.predicate,Au,zm),Qi=Fn||Oo.circles.length>0&&!Oo.collisionDetected,Lo=Lo&&Oo.offscreen}if(mo.iconFeatureIndex&&(Kc=mo.iconFeatureIndex),mo.iconBox){var Um=function(bl){var md=Ia&&Ms?Dr(bl,Ms.x,Ms.y,ha,Ca,xe.transform.angle):bl;return xe.collisionIndex.placeCollisionBox(md,la,Er,Ft,hn.predicate)};gs&&gs.box&&gs.box.length&&mo.verticalIconBox?(tl=Um(mo.verticalIconBox),jo=tl.box.length>0):(tl=Um(mo.iconBox),jo=tl.box.length>0),Lo=Lo&&tl.offscreen}var f_=dn||Si.numHorizontalGlyphVertices===0&&Si.numVerticalGlyphVertices===0,ay=_n||Si.numIconVertices===0;if(!f_&&!ay?jo=Qi=jo&&Qi:ay?f_||(jo=jo&&Qi):Qi=jo&&Qi,Qi&&to&&to.box&&(gs&&gs.box&&Kl?xe.collisionIndex.insertCollisionBox(to.box,yt.get("text-ignore-placement"),nt.bucketInstanceId,Kl,hn.ID):xe.collisionIndex.insertCollisionBox(to.box,yt.get("text-ignore-placement"),nt.bucketInstanceId,Wl,hn.ID)),jo&&tl&&xe.collisionIndex.insertCollisionBox(tl.box,yt.get("icon-ignore-placement"),nt.bucketInstanceId,Kc,hn.ID),Oo&&(Qi&&xe.collisionIndex.insertCollisionCircles(Oo.circles,yt.get("text-ignore-placement"),nt.bucketInstanceId,Wl,hn.ID),se)){var h_=nt.bucketInstanceId,$m=xe.collisionCircleArrays[h_];$m===void 0&&($m=xe.collisionCircleArrays[h_]=new ba);for(var Hm=0;Hm<Oo.circles.length;Hm+=4)$m.circles.push(Oo.circles[Hm+0]),$m.circles.push(Oo.circles[Hm+1]),$m.circles.push(Oo.circles[Hm+2]),$m.circles.push(Oo.collisionDetected?1:0)}xe.placements[Si.crossTileID]=new aa(Qi||Oa,jo||Va,Lo||nt.justReloaded),ye[Si.crossTileID]=!0}};if(Ta)for(var vi=nt.getSortedSymbolIndexes(this.transform.angle),ai=vi.length-1;ai>=0;--ai){var ji=vi[ai];Ka(nt.symbolInstances.get(ji),nt.collisionArrays[ji])}else for(var Io=ne.symbolInstanceStart;Io<ne.symbolInstanceEnd;Io++)Ka(nt.symbolInstances.get(Io),nt.collisionArrays[Io]);if(se&&nt.bucketInstanceId in this.collisionCircleArrays){var po=this.collisionCircleArrays[nt.bucketInstanceId];i.invert(po.invProjMatrix,Ft),po.viewportMatrix=this.collisionIndex.getViewportMatrix()}nt.justReloaded=!1},tn.prototype.markUsedJustification=function(ne,ye,se,xe){var Ge={left:se.leftJustifiedTextSymbolIndex,center:se.centerJustifiedTextSymbolIndex,right:se.rightJustifiedTextSymbolIndex},nt;xe===i.WritingMode.vertical?nt=se.verticalPlacedTextSymbolIndex:nt=Ge[i.getAnchorJustification(ye)];for(var yt=[se.leftJustifiedTextSymbolIndex,se.centerJustifiedTextSymbolIndex,se.rightJustifiedTextSymbolIndex,se.verticalPlacedTextSymbolIndex],Ft=0,Jt=yt;Ft<Jt.length;Ft+=1){var lr=Jt[Ft];lr>=0&&(nt>=0&&lr!==nt?ne.text.placedSymbolArray.get(lr).crossTileID=0:ne.text.placedSymbolArray.get(lr).crossTileID=se.crossTileID)}},tn.prototype.markUsedOrientation=function(ne,ye,se){for(var xe=ye===i.WritingMode.horizontal||ye===i.WritingMode.horizontalOnly?ye:0,Ge=ye===i.WritingMode.vertical?ye:0,nt=[se.leftJustifiedTextSymbolIndex,se.centerJustifiedTextSymbolIndex,se.rightJustifiedTextSymbolIndex],yt=0,Ft=nt;yt<Ft.length;yt+=1){var Jt=Ft[yt];ne.text.placedSymbolArray.get(Jt).placedOrientation=xe}se.verticalPlacedTextSymbolIndex&&(ne.text.placedSymbolArray.get(se.verticalPlacedTextSymbolIndex).placedOrientation=Ge)},tn.prototype.commit=function(ne){this.commitTime=ne,this.zoomAtLastRecencyCheck=this.transform.zoom;var ye=this.prevPlacement,se=!1;this.prevZoomAdjustment=ye?ye.zoomAdjustment(this.transform.zoom):0;var xe=ye?ye.symbolFadeChange(ne):1,Ge=ye?ye.opacities:{},nt=ye?ye.variableOffsets:{},yt=ye?ye.placedOrientations:{};for(var Ft in this.placements){var Jt=this.placements[Ft],lr=Ge[Ft];lr?(this.opacities[Ft]=new na(lr,xe,Jt.text,Jt.icon),se=se||Jt.text!==lr.text.placed||Jt.icon!==lr.icon.placed):(this.opacities[Ft]=new na(null,xe,Jt.text,Jt.icon,Jt.skipFade),se=se||Jt.text||Jt.icon)}for(var Er in Ge){var _r=Ge[Er];if(!this.opacities[Er]){var Qr=new na(_r,xe,!1,!1);Qr.isHidden()||(this.opacities[Er]=Qr,se=se||_r.text.placed||_r.icon.placed)}}for(var pn in nt)!this.variableOffsets[pn]&&this.opacities[pn]&&!this.opacities[pn].isHidden()&&(this.variableOffsets[pn]=nt[pn]);for(var hn in yt)!this.placedOrientations[hn]&&this.opacities[hn]&&!this.opacities[hn].isHidden()&&(this.placedOrientations[hn]=yt[hn]);se?this.lastPlacementChangeTime=ne:typeof this.lastPlacementChangeTime!="number"&&(this.lastPlacementChangeTime=ye?ye.lastPlacementChangeTime:ne)},tn.prototype.updateLayerOpacities=function(ne,ye){for(var se={},xe=0,Ge=ye;xe<Ge.length;xe+=1){var nt=Ge[xe],yt=nt.getBucket(ne);yt&&nt.latestFeatureIndex&&ne.id===yt.layerIds[0]&&this.updateBucketOpacities(yt,se,nt.collisionBoxArray)}},tn.prototype.updateBucketOpacities=function(ne,ye,se){var xe=this;ne.hasTextData()&&ne.text.opacityVertexArray.clear(),ne.hasIconData()&&ne.icon.opacityVertexArray.clear(),ne.hasIconCollisionBoxData()&&ne.iconCollisionBox.collisionVertexArray.clear(),ne.hasTextCollisionBoxData()&&ne.textCollisionBox.collisionVertexArray.clear();var Ge=ne.layers[0].layout,nt=new na(null,0,!1,!1,!0),yt=Ge.get("text-allow-overlap"),Ft=Ge.get("icon-allow-overlap"),Jt=Ge.get("text-variable-anchor"),lr=Ge.get("text-rotation-alignment")==="map",Er=Ge.get("text-pitch-alignment")==="map",_r=Ge.get("icon-text-fit")!=="none",Qr=new na(null,0,yt&&(Ft||!ne.hasIconData()||Ge.get("icon-optional")),Ft&&(yt||!ne.hasTextData()||Ge.get("text-optional")),!0);!ne.collisionArrays&&se&&(ne.hasIconCollisionBoxData()||ne.hasTextCollisionBoxData())&&ne.deserializeCollisionBoxes(se);for(var pn=function(Fn,la,ha){for(var Ca=0;Ca<la/4;Ca++)Fn.opacityVertexArray.emplaceBack(ha)},hn=function(Fn){var la=ne.symbolInstances.get(Fn),ha=la.numHorizontalGlyphVertices,Ca=la.numVerticalGlyphVertices,Ia=la.crossTileID,Ta=ye[Ia],Oa=xe.opacities[Ia];Ta?Oa=nt:Oa||(Oa=Qr,xe.opacities[Ia]=Oa),ye[Ia]=!0;var Va=ha>0||Ca>0,Ka=la.numIconVertices>0,vi=xe.placedOrientations[la.crossTileID],ai=vi===i.WritingMode.vertical,ji=vi===i.WritingMode.horizontal||vi===i.WritingMode.horizontalOnly;if(Va){var Io=cn(Oa.text),po=ai?bn:Io;pn(ne.text,ha,po);var Si=ji?bn:Io;pn(ne.text,Ca,Si);var mo=Oa.text.isHidden();[la.rightJustifiedTextSymbolIndex,la.centerJustifiedTextSymbolIndex,la.leftJustifiedTextSymbolIndex].forEach(function(Kc){Kc>=0&&(ne.text.placedSymbolArray.get(Kc).hidden=mo||ai?1:0)}),la.verticalPlacedTextSymbolIndex>=0&&(ne.text.placedSymbolArray.get(la.verticalPlacedTextSymbolIndex).hidden=mo||ji?1:0);var Qi=xe.variableOffsets[la.crossTileID];Qi&&xe.markUsedJustification(ne,Qi.anchor,la,vi);var jo=xe.placedOrientations[la.crossTileID];jo&&(xe.markUsedJustification(ne,"left",la,jo),xe.markUsedOrientation(ne,jo,la))}if(Ka){var Lo=cn(Oa.icon),Ms=!(_r&&la.verticalPlacedIconSymbolIndex&&ai);if(la.placedIconSymbolIndex>=0){var go=Ms?Lo:bn;pn(ne.icon,la.numIconVertices,go),ne.icon.placedSymbolArray.get(la.placedIconSymbolIndex).hidden=Oa.icon.isHidden()}if(la.verticalPlacedIconSymbolIndex>=0){var gs=Ms?bn:Lo;pn(ne.icon,la.numVerticalIconVertices,gs),ne.icon.placedSymbolArray.get(la.verticalPlacedIconSymbolIndex).hidden=Oa.icon.isHidden()}}if(ne.hasIconCollisionBoxData()||ne.hasTextCollisionBoxData()){var to=ne.collisionArrays[Fn];if(to){var Oo=new i.Point(0,0);if(to.textBox||to.verticalTextBox){var tl=!0;if(Jt){var Wl=xe.variableOffsets[Ia];Wl?(Oo=Vi(Wl.anchor,Wl.width,Wl.height,Wl.textOffset,Wl.textBoxScale),lr&&Oo._rotate(Er?xe.transform.angle:-xe.transform.angle)):tl=!1}to.textBox&&zr(ne.textCollisionBox.collisionVertexArray,Oa.text.placed,!tl||ai,Oo.x,Oo.y),to.verticalTextBox&&zr(ne.textCollisionBox.collisionVertexArray,Oa.text.placed,!tl||ji,Oo.x,Oo.y)}var Kl=!!(!ji&&to.verticalIconBox);to.iconBox&&zr(ne.iconCollisionBox.collisionVertexArray,Oa.icon.placed,Kl,_r?Oo.x:0,_r?Oo.y:0),to.verticalIconBox&&zr(ne.iconCollisionBox.collisionVertexArray,Oa.icon.placed,!Kl,_r?Oo.x:0,_r?Oo.y:0)}}},dn=0;dn<ne.symbolInstances.length;dn++)hn(dn);if(ne.sortFeatures(this.transform.angle),this.retainedQueryData[ne.bucketInstanceId]&&(this.retainedQueryData[ne.bucketInstanceId].featureSortOrder=ne.featureSortOrder),ne.hasTextData()&&ne.text.opacityVertexBuffer&&ne.text.opacityVertexBuffer.updateData(ne.text.opacityVertexArray),ne.hasIconData()&&ne.icon.opacityVertexBuffer&&ne.icon.opacityVertexBuffer.updateData(ne.icon.opacityVertexArray),ne.hasIconCollisionBoxData()&&ne.iconCollisionBox.collisionVertexBuffer&&ne.iconCollisionBox.collisionVertexBuffer.updateData(ne.iconCollisionBox.collisionVertexArray),ne.hasTextCollisionBoxData()&&ne.textCollisionBox.collisionVertexBuffer&&ne.textCollisionBox.collisionVertexBuffer.updateData(ne.textCollisionBox.collisionVertexArray),ne.bucketInstanceId in this.collisionCircleArrays){var _n=this.collisionCircleArrays[ne.bucketInstanceId];ne.placementInvProjMatrix=_n.invProjMatrix,ne.placementViewportMatrix=_n.viewportMatrix,ne.collisionCircleArray=_n.circles,delete this.collisionCircleArrays[ne.bucketInstanceId]}},tn.prototype.symbolFadeChange=function(ne){return this.fadeDuration===0?1:(ne-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment},tn.prototype.zoomAdjustment=function(ne){return Math.max(0,(this.transform.zoom-ne)/1.5)},tn.prototype.hasTransitions=function(ne){return this.stale||ne-this.lastPlacementChangeTime<this.fadeDuration},tn.prototype.stillRecent=function(ne,ye){var se=this.zoomAtLastRecencyCheck===ye?1-this.zoomAdjustment(ye):1;return this.zoomAtLastRecencyCheck=ye,this.commitTime+this.fadeDuration*se>ne},tn.prototype.setStale=function(){this.stale=!0};function zr(ge,ne,ye,se,xe){ge.emplaceBack(ne?1:0,ye?1:0,se||0,xe||0),ge.emplaceBack(ne?1:0,ye?1:0,se||0,xe||0),ge.emplaceBack(ne?1:0,ye?1:0,se||0,xe||0),ge.emplaceBack(ne?1:0,ye?1:0,se||0,xe||0)}var rn=Math.pow(2,25),Xn=Math.pow(2,24),ia=Math.pow(2,17),zn=Math.pow(2,16),Ln=Math.pow(2,9),Hr=Math.pow(2,8),mn=Math.pow(2,1);function cn(ge){if(ge.opacity===0&&!ge.placed)return 0;if(ge.opacity===1&&ge.placed)return 4294967295;var ne=ge.placed?1:0,ye=Math.floor(ge.opacity*127);return ye*rn+ne*Xn+ye*ia+ne*zn+ye*Ln+ne*Hr+ye*mn+ne}var bn=0,qn=function(ne){this._sortAcrossTiles=ne.layout.get("symbol-z-order")!=="viewport-y"&&ne.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};qn.prototype.continuePlacement=function(ne,ye,se,xe,Ge){for(var nt=this._bucketParts;this._currentTileIndex<ne.length;){var yt=ne[this._currentTileIndex];if(ye.getBucketParts(nt,xe,yt,this._sortAcrossTiles),this._currentTileIndex++,Ge())return!0}for(this._sortAcrossTiles&&(this._sortAcrossTiles=!1,nt.sort(function(Jt,lr){return Jt.sortKey-lr.sortKey}));this._currentPartIndex<nt.length;){var Ft=nt[this._currentPartIndex];if(ye.placeLayerBucketPart(Ft,this._seenCrossTileIDs,se),this._currentPartIndex++,Ge())return!0}return!1};var ua=function(ne,ye,se,xe,Ge,nt,yt){this.placement=new tn(ne,Ge,nt,yt),this._currentPlacementIndex=ye.length-1,this._forceFullPlacement=se,this._showCollisionBoxes=xe,this._done=!1};ua.prototype.isDone=function(){return this._done},ua.prototype.continuePlacement=function(ne,ye,se){for(var xe=this,Ge=i.browser.now(),nt=function(){var Er=i.browser.now()-Ge;return xe._forceFullPlacement?!1:Er>2};this._currentPlacementIndex>=0;){var yt=ne[this._currentPlacementIndex],Ft=ye[yt],Jt=this.placement.collisionIndex.transform.zoom;if(Ft.type==="symbol"&&(!Ft.minzoom||Ft.minzoom<=Jt)&&(!Ft.maxzoom||Ft.maxzoom>Jt)){this._inProgressLayer||(this._inProgressLayer=new qn(Ft));var lr=this._inProgressLayer.continuePlacement(se[Ft.source],this.placement,this._showCollisionBoxes,Ft,nt);if(lr)return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},ua.prototype.commit=function(ne){return this.placement.commit(ne),this.placement};var ea=512/i.EXTENT/2,Ea=function(ne,ye,se){this.tileID=ne,this.indexedSymbolInstances={},this.bucketInstanceId=se;for(var xe=0;xe<ye.length;xe++){var Ge=ye.get(xe),nt=Ge.key;this.indexedSymbolInstances[nt]||(this.indexedSymbolInstances[nt]=[]),this.indexedSymbolInstances[nt].push({crossTileID:Ge.crossTileID,coord:this.getScaledCoordinates(Ge,ne)})}};Ea.prototype.getScaledCoordinates=function(ne,ye){var se=ye.canonical.z-this.tileID.canonical.z,xe=ea/Math.pow(2,se);return{x:Math.floor((ye.canonical.x*i.EXTENT+ne.anchorX)*xe),y:Math.floor((ye.canonical.y*i.EXTENT+ne.anchorY)*xe)}},Ea.prototype.findMatches=function(ne,ye,se){for(var xe=this.tileID.canonical.z<ye.canonical.z?1:Math.pow(2,this.tileID.canonical.z-ye.canonical.z),Ge=0;Ge<ne.length;Ge++){var nt=ne.get(Ge);if(!nt.crossTileID){var yt=this.indexedSymbolInstances[nt.key];if(yt)for(var Ft=this.getScaledCoordinates(nt,ye),Jt=0,lr=yt;Jt<lr.length;Jt+=1){var Er=lr[Jt];if(Math.abs(Er.coord.x-Ft.x)<=xe&&Math.abs(Er.coord.y-Ft.y)<=xe&&!se[Er.crossTileID]){se[Er.crossTileID]=!0,nt.crossTileID=Er.crossTileID;break}}}}};var ya=function(){this.maxCrossTileID=0};ya.prototype.generate=function(){return++this.maxCrossTileID};var ei=function(){this.indexes={},this.usedCrossTileIDs={},this.lng=0};ei.prototype.handleWrapJump=function(ne){var ye=Math.round((ne-this.lng)/360);if(ye!==0)for(var se in this.indexes){var xe=this.indexes[se],Ge={};for(var nt in xe){var yt=xe[nt];yt.tileID=yt.tileID.unwrapTo(yt.tileID.wrap+ye),Ge[yt.tileID.key]=yt}this.indexes[se]=Ge}this.lng=ne},ei.prototype.addBucket=function(ne,ye,se){if(this.indexes[ne.overscaledZ]&&this.indexes[ne.overscaledZ][ne.key]){if(this.indexes[ne.overscaledZ][ne.key].bucketInstanceId===ye.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(ne.overscaledZ,this.indexes[ne.overscaledZ][ne.key])}for(var xe=0;xe<ye.symbolInstances.length;xe++){var Ge=ye.symbolInstances.get(xe);Ge.crossTileID=0}this.usedCrossTileIDs[ne.overscaledZ]||(this.usedCrossTileIDs[ne.overscaledZ]={});var nt=this.usedCrossTileIDs[ne.overscaledZ];for(var yt in this.indexes){var Ft=this.indexes[yt];if(Number(yt)>ne.overscaledZ)for(var Jt in Ft){var lr=Ft[Jt];lr.tileID.isChildOf(ne)&&lr.findMatches(ye.symbolInstances,ne,nt)}else{var Er=ne.scaledTo(Number(yt)),_r=Ft[Er.key];_r&&_r.findMatches(ye.symbolInstances,ne,nt)}}for(var Qr=0;Qr<ye.symbolInstances.length;Qr++){var pn=ye.symbolInstances.get(Qr);pn.crossTileID||(pn.crossTileID=se.generate(),nt[pn.crossTileID]=!0)}return this.indexes[ne.overscaledZ]===void 0&&(this.indexes[ne.overscaledZ]={}),this.indexes[ne.overscaledZ][ne.key]=new Ea(ne,ye.symbolInstances,ye.bucketInstanceId),!0},ei.prototype.removeBucketCrossTileIDs=function(ne,ye){for(var se in ye.indexedSymbolInstances)for(var xe=0,Ge=ye.indexedSymbolInstances[se];xe<Ge.length;xe+=1){var nt=Ge[xe];delete this.usedCrossTileIDs[ne][nt.crossTileID]}},ei.prototype.removeStaleBuckets=function(ne){var ye=!1;for(var se in this.indexes){var xe=this.indexes[se];for(var Ge in xe)ne[xe[Ge].bucketInstanceId]||(this.removeBucketCrossTileIDs(se,xe[Ge]),delete xe[Ge],ye=!0)}return ye};var Wa=function(){this.layerIndexes={},this.crossTileIDs=new ya,this.maxBucketInstanceId=0,this.bucketsInCurrentPlacement={}};Wa.prototype.addLayer=function(ne,ye,se){var xe=this.layerIndexes[ne.id];xe===void 0&&(xe=this.layerIndexes[ne.id]=new ei);var Ge=!1,nt={};xe.handleWrapJump(se);for(var yt=0,Ft=ye;yt<Ft.length;yt+=1){var Jt=Ft[yt],lr=Jt.getBucket(ne);!lr||ne.id!==lr.layerIds[0]||(lr.bucketInstanceId||(lr.bucketInstanceId=++this.maxBucketInstanceId),xe.addBucket(Jt.tileID,lr,this.crossTileIDs)&&(Ge=!0),nt[lr.bucketInstanceId]=!0)}return xe.removeStaleBuckets(nt)&&(Ge=!0),Ge},Wa.prototype.pruneUnusedLayers=function(ne){var ye={};ne.forEach(function(xe){ye[xe]=!0});for(var se in this.layerIndexes)ye[se]||delete this.layerIndexes[se]};var ni=function(ge,ne){return i.emitValidationErrors(ge,ne&&ne.filter(function(ye){return ye.identifier!=="source.canvas"}))},si=i.pick(Kt,["addLayer","removeLayer","setPaintProperty","setLayoutProperty","setFilter","addSource","removeSource","setLayerZoomRange","setLight","setTransition","setGeoJSONSourceData"]),Uo=i.pick(Kt,["setCenter","setZoom","setBearing","setPitch"]),Fo=fr(),nu=function(ge){function ne(ye,se){var xe=this;se===void 0&&(se={}),ge.call(this),this.map=ye,this.dispatcher=new B(Wt(),this),this.imageManager=new R,this.imageManager.setEventedParent(this),this.glyphManager=new F(ye._requestManager,se.localIdeographFontFamily),this.lineAtlas=new U(256,512),this.crossTileSymbolIndex=new Wa,this._layers={},this._serializedLayers={},this._order=[],this.sourceCaches={},this.zoomHistory=new i.ZoomHistory,this._loaded=!1,this._availableImages=[],this._resetUpdates(),this.dispatcher.broadcast("setReferrer",i.getReferrer());var Ge=this;this._rtlTextPluginCallback=ne.registerForPluginStateChange(function(nt){var yt={pluginStatus:nt.pluginStatus,pluginURL:nt.pluginURL};Ge.dispatcher.broadcast("syncRTLPluginState",yt,function(Ft,Jt){if(i.triggerPluginCompletionEvent(Ft),Jt){var lr=Jt.every(function(_r){return _r});if(lr)for(var Er in Ge.sourceCaches)Ge.sourceCaches[Er].reload()}})}),this.on("data",function(nt){if(!(nt.dataType!=="source"||nt.sourceDataType!=="metadata")){var yt=xe.sourceCaches[nt.sourceId];if(yt){var Ft=yt.getSource();if(!(!Ft||!Ft.vectorLayerIds))for(var Jt in xe._layers){var lr=xe._layers[Jt];lr.source===Ft.id&&xe._validateLayer(lr)}}}})}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.loadURL=function(se,xe){var Ge=this;xe===void 0&&(xe={}),this.fire(new i.Event("dataloading",{dataType:"style"}));var nt=typeof xe.validate=="boolean"?xe.validate:!i.isMapboxURL(se);se=this.map._requestManager.normalizeStyleURL(se,xe.accessToken);var yt=this.map._requestManager.transformRequest(se,i.ResourceType.Style);this._request=i.getJSON(yt,function(Ft,Jt){Ge._request=null,Ft?Ge.fire(new i.ErrorEvent(Ft)):Jt&&Ge._load(Jt,nt)})},ne.prototype.loadJSON=function(se,xe){var Ge=this;xe===void 0&&(xe={}),this.fire(new i.Event("dataloading",{dataType:"style"})),this._request=i.browser.frame(function(){Ge._request=null,Ge._load(se,xe.validate!==!1)})},ne.prototype.loadEmpty=function(){this.fire(new i.Event("dataloading",{dataType:"style"})),this._load(Fo,!1)},ne.prototype._load=function(se,xe){if(!(xe&&ni(this,i.validateStyle(se)))){this._loaded=!0,this.stylesheet=se;for(var Ge in se.sources)this.addSource(Ge,se.sources[Ge],{validate:!1});se.sprite?this._loadSprite(se.sprite):this.imageManager.setLoaded(!0),this.glyphManager.setURL(se.glyphs);var nt=br(this.stylesheet.layers);this._order=nt.map(function(lr){return lr.id}),this._layers={},this._serializedLayers={};for(var yt=0,Ft=nt;yt<Ft.length;yt+=1){var Jt=Ft[yt];Jt=i.createStyleLayer(Jt),Jt.setEventedParent(this,{layer:{id:Jt.id}}),this._layers[Jt.id]=Jt,this._serializedLayers[Jt.id]=Jt.serialize()}this.dispatcher.broadcast("setLayers",this._serializeLayers(this._order)),this.light=new O(this.stylesheet.light),this.fire(new i.Event("data",{dataType:"style"})),this.fire(new i.Event("style.load"))}},ne.prototype._loadSprite=function(se){var xe=this;this._spriteRequest=y(se,this.map._requestManager,function(Ge,nt){if(xe._spriteRequest=null,Ge)xe.fire(new i.ErrorEvent(Ge));else if(nt)for(var yt in nt)xe.imageManager.addImage(yt,nt[yt]);xe.imageManager.setLoaded(!0),xe._availableImages=xe.imageManager.listImages(),xe.dispatcher.broadcast("setImages",xe._availableImages),xe.fire(new i.Event("data",{dataType:"style"}))})},ne.prototype._validateLayer=function(se){var xe=this.sourceCaches[se.source];if(xe){var Ge=se.sourceLayer;if(Ge){var nt=xe.getSource();(nt.type==="geojson"||nt.vectorLayerIds&&nt.vectorLayerIds.indexOf(Ge)===-1)&&this.fire(new i.ErrorEvent(new Error('Source layer "'+Ge+'" does not exist on source "'+nt.id+'" as specified by style layer "'+se.id+'"')))}}},ne.prototype.loaded=function(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(var se in this.sourceCaches)if(!this.sourceCaches[se].loaded())return!1;return!!this.imageManager.isLoaded()},ne.prototype._serializeLayers=function(se){for(var xe=[],Ge=0,nt=se;Ge<nt.length;Ge+=1){var yt=nt[Ge],Ft=this._layers[yt];Ft.type!=="custom"&&xe.push(Ft.serialize())}return xe},ne.prototype.hasTransitions=function(){if(this.light&&this.light.hasTransition())return!0;for(var se in this.sourceCaches)if(this.sourceCaches[se].hasTransition())return!0;for(var xe in this._layers)if(this._layers[xe].hasTransition())return!0;return!1},ne.prototype._checkLoaded=function(){if(!this._loaded)throw new Error("Style is not done loading")},ne.prototype.update=function(se){if(this._loaded){var xe=this._changed;if(this._changed){var Ge=Object.keys(this._updatedLayers),nt=Object.keys(this._removedLayers);(Ge.length||nt.length)&&this._updateWorkerLayers(Ge,nt);for(var yt in this._updatedSources){var Ft=this._updatedSources[yt];Ft==="reload"?this._reloadSource(yt):Ft==="clear"&&this._clearSource(yt)}this._updateTilesForChangedImages();for(var Jt in this._updatedPaintProps)this._layers[Jt].updateTransitions(se);this.light.updateTransitions(se),this._resetUpdates()}var lr={};for(var Er in this.sourceCaches){var _r=this.sourceCaches[Er];lr[Er]=_r.used,_r.used=!1}for(var Qr=0,pn=this._order;Qr<pn.length;Qr+=1){var hn=pn[Qr],dn=this._layers[hn];dn.recalculate(se,this._availableImages),!dn.isHidden(se.zoom)&&dn.source&&(this.sourceCaches[dn.source].used=!0)}for(var _n in lr){var Fn=this.sourceCaches[_n];lr[_n]!==Fn.used&&Fn.fire(new i.Event("data",{sourceDataType:"visibility",dataType:"source",sourceId:_n}))}this.light.recalculate(se),this.z=se.zoom,xe&&this.fire(new i.Event("data",{dataType:"style"}))}},ne.prototype._updateTilesForChangedImages=function(){var se=Object.keys(this._changedImages);if(se.length){for(var xe in this.sourceCaches)this.sourceCaches[xe].reloadTilesForDependencies(["icons","patterns"],se);this._changedImages={}}},ne.prototype._updateWorkerLayers=function(se,xe){this.dispatcher.broadcast("updateLayers",{layers:this._serializeLayers(se),removedIds:xe})},ne.prototype._resetUpdates=function(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={}},ne.prototype.setState=function(se){var xe=this;if(this._checkLoaded(),ni(this,i.validateStyle(se)))return!1;se=i.clone$1(se),se.layers=br(se.layers);var Ge=ta(this.serialize(),se).filter(function(yt){return!(yt.command in Uo)});if(Ge.length===0)return!1;var nt=Ge.filter(function(yt){return!(yt.command in si)});if(nt.length>0)throw new Error("Unimplemented: "+nt.map(function(yt){return yt.command}).join(", ")+".");return Ge.forEach(function(yt){yt.command!=="setTransition"&&xe[yt.command].apply(xe,yt.args)}),this.stylesheet=se,!0},ne.prototype.addImage=function(se,xe){if(this.getImage(se))return this.fire(new i.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(se,xe),this._afterImageUpdated(se)},ne.prototype.updateImage=function(se,xe){this.imageManager.updateImage(se,xe)},ne.prototype.getImage=function(se){return this.imageManager.getImage(se)},ne.prototype.removeImage=function(se){if(!this.getImage(se))return this.fire(new i.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(se),this._afterImageUpdated(se)},ne.prototype._afterImageUpdated=function(se){this._availableImages=this.imageManager.listImages(),this._changedImages[se]=!0,this._changed=!0,this.dispatcher.broadcast("setImages",this._availableImages),this.fire(new i.Event("data",{dataType:"style"}))},ne.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},ne.prototype.addSource=function(se,xe,Ge){var nt=this;if(Ge===void 0&&(Ge={}),this._checkLoaded(),this.sourceCaches[se]!==void 0)throw new Error("There is already a source with this ID");if(!xe.type)throw new Error("The type property must be defined, but only the following properties were given: "+Object.keys(xe).join(", ")+".");var yt=["vector","raster","geojson","video","image"],Ft=yt.indexOf(xe.type)>=0;if(!(Ft&&this._validate(i.validateStyle.source,"sources."+se,xe,null,Ge))){this.map&&this.map._collectResourceTiming&&(xe.collectResourceTiming=!0);var Jt=this.sourceCaches[se]=new Zt(se,xe,this.dispatcher);Jt.style=this,Jt.setEventedParent(this,function(){return{isSourceLoaded:nt.loaded(),source:Jt.serialize(),sourceId:se}}),Jt.onAdd(this.map),this._changed=!0}},ne.prototype.removeSource=function(se){if(this._checkLoaded(),this.sourceCaches[se]===void 0)throw new Error("There is no source with this ID");for(var xe in this._layers)if(this._layers[xe].source===se)return this.fire(new i.ErrorEvent(new Error('Source "'+se+'" cannot be removed while layer "'+xe+'" is using it.')));var Ge=this.sourceCaches[se];delete this.sourceCaches[se],delete this._updatedSources[se],Ge.fire(new i.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:se})),Ge.setEventedParent(null),Ge.clearTiles(),Ge.onRemove&&Ge.onRemove(this.map),this._changed=!0},ne.prototype.setGeoJSONSourceData=function(se,xe){this._checkLoaded();var Ge=this.sourceCaches[se].getSource();Ge.setData(xe),this._changed=!0},ne.prototype.getSource=function(se){return this.sourceCaches[se]&&this.sourceCaches[se].getSource()},ne.prototype.addLayer=function(se,xe,Ge){Ge===void 0&&(Ge={}),this._checkLoaded();var nt=se.id;if(this.getLayer(nt)){this.fire(new i.ErrorEvent(new Error('Layer with id "'+nt+'" already exists on this map')));return}var yt;if(se.type==="custom"){if(ni(this,i.validateCustomStyleLayer(se)))return;yt=i.createStyleLayer(se)}else{if(typeof se.source=="object"&&(this.addSource(nt,se.source),se=i.clone$1(se),se=i.extend(se,{source:nt})),this._validate(i.validateStyle.layer,"layers."+nt,se,{arrayIndex:-1},Ge))return;yt=i.createStyleLayer(se),this._validateLayer(yt),yt.setEventedParent(this,{layer:{id:nt}}),this._serializedLayers[yt.id]=yt.serialize()}var Ft=xe?this._order.indexOf(xe):this._order.length;if(xe&&Ft===-1){this.fire(new i.ErrorEvent(new Error('Layer with id "'+xe+'" does not exist on this map.')));return}if(this._order.splice(Ft,0,nt),this._layerOrderChanged=!0,this._layers[nt]=yt,this._removedLayers[nt]&&yt.source&&yt.type!=="custom"){var Jt=this._removedLayers[nt];delete this._removedLayers[nt],Jt.type!==yt.type?this._updatedSources[yt.source]="clear":(this._updatedSources[yt.source]="reload",this.sourceCaches[yt.source].pause())}this._updateLayer(yt),yt.onAdd&&yt.onAdd(this.map)},ne.prototype.moveLayer=function(se,xe){this._checkLoaded(),this._changed=!0;var Ge=this._layers[se];if(!Ge){this.fire(new i.ErrorEvent(new Error("The layer '"+se+"' does not exist in the map's style and cannot be moved.")));return}if(se!==xe){var nt=this._order.indexOf(se);this._order.splice(nt,1);var yt=xe?this._order.indexOf(xe):this._order.length;if(xe&&yt===-1){this.fire(new i.ErrorEvent(new Error('Layer with id "'+xe+'" does not exist on this map.')));return}this._order.splice(yt,0,se),this._layerOrderChanged=!0}},ne.prototype.removeLayer=function(se){this._checkLoaded();var xe=this._layers[se];if(!xe){this.fire(new i.ErrorEvent(new Error("The layer '"+se+"' does not exist in the map's style and cannot be removed.")));return}xe.setEventedParent(null);var Ge=this._order.indexOf(se);this._order.splice(Ge,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[se]=xe,delete this._layers[se],delete this._serializedLayers[se],delete this._updatedLayers[se],delete this._updatedPaintProps[se],xe.onRemove&&xe.onRemove(this.map)},ne.prototype.getLayer=function(se){return this._layers[se]},ne.prototype.hasLayer=function(se){return se in this._layers},ne.prototype.setLayerZoomRange=function(se,xe,Ge){this._checkLoaded();var nt=this.getLayer(se);if(!nt){this.fire(new i.ErrorEvent(new Error("The layer '"+se+"' does not exist in the map's style and cannot have zoom extent.")));return}nt.minzoom===xe&&nt.maxzoom===Ge||(xe!=null&&(nt.minzoom=xe),Ge!=null&&(nt.maxzoom=Ge),this._updateLayer(nt))},ne.prototype.setFilter=function(se,xe,Ge){Ge===void 0&&(Ge={}),this._checkLoaded();var nt=this.getLayer(se);if(!nt){this.fire(new i.ErrorEvent(new Error("The layer '"+se+"' does not exist in the map's style and cannot be filtered.")));return}if(!i.deepEqual(nt.filter,xe)){if(xe==null){nt.filter=void 0,this._updateLayer(nt);return}this._validate(i.validateStyle.filter,"layers."+nt.id+".filter",xe,null,Ge)||(nt.filter=i.clone$1(xe),this._updateLayer(nt))}},ne.prototype.getFilter=function(se){return i.clone$1(this.getLayer(se).filter)},ne.prototype.setLayoutProperty=function(se,xe,Ge,nt){nt===void 0&&(nt={}),this._checkLoaded();var yt=this.getLayer(se);if(!yt){this.fire(new i.ErrorEvent(new Error("The layer '"+se+"' does not exist in the map's style and cannot be styled.")));return}i.deepEqual(yt.getLayoutProperty(xe),Ge)||(yt.setLayoutProperty(xe,Ge,nt),this._updateLayer(yt))},ne.prototype.getLayoutProperty=function(se,xe){var Ge=this.getLayer(se);if(!Ge){this.fire(new i.ErrorEvent(new Error("The layer '"+se+"' does not exist in the map's style.")));return}return Ge.getLayoutProperty(xe)},ne.prototype.setPaintProperty=function(se,xe,Ge,nt){nt===void 0&&(nt={}),this._checkLoaded();var yt=this.getLayer(se);if(!yt){this.fire(new i.ErrorEvent(new Error("The layer '"+se+"' does not exist in the map's style and cannot be styled.")));return}if(!i.deepEqual(yt.getPaintProperty(xe),Ge)){var Ft=yt.setPaintProperty(xe,Ge,nt);Ft&&this._updateLayer(yt),this._changed=!0,this._updatedPaintProps[se]=!0}},ne.prototype.getPaintProperty=function(se,xe){return this.getLayer(se).getPaintProperty(xe)},ne.prototype.setFeatureState=function(se,xe){this._checkLoaded();var Ge=se.source,nt=se.sourceLayer,yt=this.sourceCaches[Ge];if(yt===void 0){this.fire(new i.ErrorEvent(new Error("The source '"+Ge+"' does not exist in the map's style.")));return}var Ft=yt.getSource().type;if(Ft==="geojson"&&nt){this.fire(new i.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter.")));return}if(Ft==="vector"&&!nt){this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));return}se.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),yt.setFeatureState(nt,se.id,xe)},ne.prototype.removeFeatureState=function(se,xe){this._checkLoaded();var Ge=se.source,nt=this.sourceCaches[Ge];if(nt===void 0){this.fire(new i.ErrorEvent(new Error("The source '"+Ge+"' does not exist in the map's style.")));return}var yt=nt.getSource().type,Ft=yt==="vector"?se.sourceLayer:void 0;if(yt==="vector"&&!Ft){this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));return}if(xe&&typeof se.id!="string"&&typeof se.id!="number"){this.fire(new i.ErrorEvent(new Error("A feature id is required to remove its specific state property.")));return}nt.removeFeatureState(Ft,se.id,xe)},ne.prototype.getFeatureState=function(se){this._checkLoaded();var xe=se.source,Ge=se.sourceLayer,nt=this.sourceCaches[xe];if(nt===void 0){this.fire(new i.ErrorEvent(new Error("The source '"+xe+"' does not exist in the map's style.")));return}var yt=nt.getSource().type;if(yt==="vector"&&!Ge){this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));return}return se.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),nt.getFeatureState(Ge,se.id)},ne.prototype.getTransition=function(){return i.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},ne.prototype.serialize=function(){return i.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:i.mapObject(this.sourceCaches,function(se){return se.serialize()}),layers:this._serializeLayers(this._order)},function(se){return se!==void 0})},ne.prototype._updateLayer=function(se){this._updatedLayers[se.id]=!0,se.source&&!this._updatedSources[se.source]&&this.sourceCaches[se.source].getSource().type!=="raster"&&(this._updatedSources[se.source]="reload",this.sourceCaches[se.source].pause()),this._changed=!0},ne.prototype._flattenAndSortRenderedFeatures=function(se){for(var xe=this,Ge=function(ji){return xe._layers[ji].type==="fill-extrusion"},nt={},yt=[],Ft=this._order.length-1;Ft>=0;Ft--){var Jt=this._order[Ft];if(Ge(Jt)){nt[Jt]=Ft;for(var lr=0,Er=se;lr<Er.length;lr+=1){var _r=Er[lr],Qr=_r[Jt];if(Qr)for(var pn=0,hn=Qr;pn<hn.length;pn+=1){var dn=hn[pn];yt.push(dn)}}}}yt.sort(function(ji,Io){return Io.intersectionZ-ji.intersectionZ});for(var _n=[],Fn=this._order.length-1;Fn>=0;Fn--){var la=this._order[Fn];if(Ge(la))for(var ha=yt.length-1;ha>=0;ha--){var Ca=yt[ha].feature;if(nt[Ca.layer.id]<Fn)break;_n.push(Ca),yt.pop()}else for(var Ia=0,Ta=se;Ia<Ta.length;Ia+=1){var Oa=Ta[Ia],Va=Oa[la];if(Va)for(var Ka=0,vi=Va;Ka<vi.length;Ka+=1){var ai=vi[Ka];_n.push(ai.feature)}}}return _n},ne.prototype.queryRenderedFeatures=function(se,xe,Ge){xe&&xe.filter&&this._validate(i.validateStyle.filter,"queryRenderedFeatures.filter",xe.filter,null,xe);var nt={};if(xe&&xe.layers){if(!Array.isArray(xe.layers))return this.fire(new i.ErrorEvent(new Error("parameters.layers must be an Array."))),[];for(var yt=0,Ft=xe.layers;yt<Ft.length;yt+=1){var Jt=Ft[yt],lr=this._layers[Jt];if(!lr)return this.fire(new i.ErrorEvent(new Error("The layer '"+Jt+"' does not exist in the map's style and cannot be queried for features."))),[];nt[lr.source]=!0}}var Er=[];xe.availableImages=this._availableImages;for(var _r in this.sourceCaches)xe.layers&&!nt[_r]||Er.push(re(this.sourceCaches[_r],this._layers,this._serializedLayers,se,xe,Ge));return this.placement&&Er.push(ee(this._layers,this._serializedLayers,this.sourceCaches,se,xe,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(Er)},ne.prototype.querySourceFeatures=function(se,xe){xe&&xe.filter&&this._validate(i.validateStyle.filter,"querySourceFeatures.filter",xe.filter,null,xe);var Ge=this.sourceCaches[se];return Ge?de(Ge,xe):[]},ne.prototype.addSourceType=function(se,xe,Ge){if(ne.getSourceType(se))return Ge(new Error('A source type called "'+se+'" already exists.'));if(ne.setSourceType(se,xe),!xe.workerSourceURL)return Ge(null,null);this.dispatcher.broadcast("loadWorkerSource",{name:se,url:xe.workerSourceURL},Ge)},ne.prototype.getLight=function(){return this.light.getLight()},ne.prototype.setLight=function(se,xe){xe===void 0&&(xe={}),this._checkLoaded();var Ge=this.light.getLight(),nt=!1;for(var yt in se)if(!i.deepEqual(se[yt],Ge[yt])){nt=!0;break}if(nt){var Ft={now:i.browser.now(),transition:i.extend({duration:300,delay:0},this.stylesheet.transition)};this.light.setLight(se,xe),this.light.updateTransitions(Ft)}},ne.prototype._validate=function(se,xe,Ge,nt,yt){return yt===void 0&&(yt={}),yt&&yt.validate===!1?!1:ni(this,se.call(i.validateStyle,i.extend({key:xe,style:this.serialize(),value:Ge,styleSpec:i.styleSpec},nt)))},ne.prototype._remove=function(){this._request&&(this._request.cancel(),this._request=null),this._spriteRequest&&(this._spriteRequest.cancel(),this._spriteRequest=null),i.evented.off("pluginStateChange",this._rtlTextPluginCallback);for(var se in this._layers){var xe=this._layers[se];xe.setEventedParent(null)}for(var Ge in this.sourceCaches)this.sourceCaches[Ge].clearTiles(),this.sourceCaches[Ge].setEventedParent(null);this.imageManager.setEventedParent(null),this.setEventedParent(null),this.dispatcher.remove()},ne.prototype._clearSource=function(se){this.sourceCaches[se].clearTiles()},ne.prototype._reloadSource=function(se){this.sourceCaches[se].resume(),this.sourceCaches[se].reload()},ne.prototype._updateSources=function(se){for(var xe in this.sourceCaches)this.sourceCaches[xe].update(se)},ne.prototype._generateCollisionBoxes=function(){for(var se in this.sourceCaches)this._reloadSource(se)},ne.prototype._updatePlacement=function(se,xe,Ge,nt,yt){yt===void 0&&(yt=!1);for(var Ft=!1,Jt=!1,lr={},Er=0,_r=this._order;Er<_r.length;Er+=1){var Qr=_r[Er],pn=this._layers[Qr];if(pn.type==="symbol"){if(!lr[pn.source]){var hn=this.sourceCaches[pn.source];lr[pn.source]=hn.getRenderableIds(!0).map(function(Ia){return hn.getTileByID(Ia)}).sort(function(Ia,Ta){return Ta.tileID.overscaledZ-Ia.tileID.overscaledZ||(Ia.tileID.isLessThan(Ta.tileID)?-1:1)})}var dn=this.crossTileSymbolIndex.addLayer(pn,lr[pn.source],se.center.lng);Ft=Ft||dn}}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),yt=yt||this._layerOrderChanged||Ge===0,(yt||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(i.browser.now(),se.zoom))&&(this.pauseablePlacement=new ua(se,this._order,yt,xe,Ge,nt,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,lr),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(i.browser.now()),Jt=!0),Ft&&this.pauseablePlacement.placement.setStale()),Jt||Ft)for(var _n=0,Fn=this._order;_n<Fn.length;_n+=1){var la=Fn[_n],ha=this._layers[la];ha.type==="symbol"&&this.placement.updateLayerOpacities(ha,lr[ha.source])}var Ca=!this.pauseablePlacement.isDone()||this.placement.hasTransitions(i.browser.now());return Ca},ne.prototype._releaseSymbolFadeTiles=function(){for(var se in this.sourceCaches)this.sourceCaches[se].releaseSymbolFadeTiles()},ne.prototype.getImages=function(se,xe,Ge){this.imageManager.getImages(xe.icons,Ge),this._updateTilesForChangedImages();var nt=this.sourceCaches[xe.source];nt&&nt.setDependencies(xe.tileID.key,xe.type,xe.icons)},ne.prototype.getGlyphs=function(se,xe,Ge){this.glyphManager.getGlyphs(xe.stacks,Ge)},ne.prototype.getResource=function(se,xe,Ge){return i.makeRequest(xe,Ge)},ne}(i.Evented);nu.getSourceType=le,nu.setSourceType=K,nu.registerForPluginStateChange=i.registerForPluginStateChange;var cc=i.createLayout([{name:"a_pos",type:"Int16",components:2}]),jl=`#ifdef GL_ES
precision mediump float;
#else
#if !defined(lowp)
#define lowp
#endif
#if !defined(mediump)
#define mediump
#endif
#if !defined(highp)
#define highp
#endif
#endif`,Wh=`#ifdef GL_ES
precision highp float;
#else
#if !defined(lowp)
#define lowp
#endif
#if !defined(mediump)
#define mediump
#endif
#if !defined(highp)
#define highp
#endif
#endif
vec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0
);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;}`,J1=`uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity;
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,ev="attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}",Ao=`uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity;
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,sd="uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}",tv=`varying vec3 v_data;
#pragma mapbox: define highp vec4 color
#pragma mapbox: define mediump float radius
#pragma mapbox: define lowp float blur
#pragma mapbox: define lowp float opacity
#pragma mapbox: define highp vec4 stroke_color
#pragma mapbox: define mediump float stroke_width
#pragma mapbox: define lowp float stroke_opacity
void main() {
#pragma mapbox: initialize highp vec4 color
#pragma mapbox: initialize mediump float radius
#pragma mapbox: initialize lowp float blur
#pragma mapbox: initialize lowp float opacity
#pragma mapbox: initialize highp vec4 stroke_color
#pragma mapbox: initialize mediump float stroke_width
#pragma mapbox: initialize lowp float stroke_opacity
vec2 extrude=v_data.xy;float extrude_length=length(extrude);lowp float antialiasblur=v_data.z;float antialiased_blur=-max(blur,antialiasblur);float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,ml=`uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data;
#pragma mapbox: define highp vec4 color
#pragma mapbox: define mediump float radius
#pragma mapbox: define lowp float blur
#pragma mapbox: define lowp float opacity
#pragma mapbox: define highp vec4 stroke_color
#pragma mapbox: define mediump float stroke_width
#pragma mapbox: define lowp float stroke_opacity
void main(void) {
#pragma mapbox: initialize highp vec4 color
#pragma mapbox: initialize mediump float radius
#pragma mapbox: initialize lowp float blur
#pragma mapbox: initialize lowp float opacity
#pragma mapbox: initialize highp vec4 stroke_color
#pragma mapbox: initialize mediump float stroke_width
#pragma mapbox: initialize lowp float stroke_opacity
vec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,0,1);} else {gl_Position=u_matrix*vec4(circle_center,0,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}lowp float antialiasblur=1.0/u_device_pixel_ratio/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);}`,uc="void main() {gl_FragColor=vec4(1.0);}",xf="attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}",Kh=`uniform highp float u_intensity;varying vec2 v_extrude;
#pragma mapbox: define highp float weight
#define GAUSS_COEF 0.3989422804014327
void main() {
#pragma mapbox: initialize highp float weight
float d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0);
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,Zs=`uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude;
#pragma mapbox: define highp float weight
#pragma mapbox: define mediump float radius
const highp float ZERO=1.0/255.0/16.0;
#define GAUSS_COEF 0.3989422804014327
void main(void) {
#pragma mapbox: initialize highp float weight
#pragma mapbox: initialize mediump float radius
vec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,0,1);gl_Position=u_matrix*pos;}`,Xh=`uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity;
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(0.0);
#endif
}`,Qs="uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}",ul="varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}",qh="attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}",kl="varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}",bs="attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}",Tc="uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}",Zh="attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}",Ac=`#pragma mapbox: define highp vec4 color
#pragma mapbox: define lowp float opacity
void main() {
#pragma mapbox: initialize highp vec4 color
#pragma mapbox: initialize lowp float opacity
gl_FragColor=color*opacity;
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,Am=`attribute vec2 a_pos;uniform mat4 u_matrix;
#pragma mapbox: define highp vec4 color
#pragma mapbox: define lowp float opacity
void main() {
#pragma mapbox: initialize highp vec4 color
#pragma mapbox: initialize lowp float opacity
gl_Position=u_matrix*vec4(a_pos,0,1);}`,ld=`varying vec2 v_pos;
#pragma mapbox: define highp vec4 outline_color
#pragma mapbox: define lowp float opacity
void main() {
#pragma mapbox: initialize highp vec4 outline_color
#pragma mapbox: initialize lowp float opacity
float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,Ml=`attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;
#pragma mapbox: define highp vec4 outline_color
#pragma mapbox: define lowp float opacity
void main() {
#pragma mapbox: initialize highp vec4 outline_color
#pragma mapbox: initialize lowp float opacity
gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`,rv=`uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;
#pragma mapbox: define lowp float opacity
#pragma mapbox: define lowp vec4 pattern_from
#pragma mapbox: define lowp vec4 pattern_to
void main() {
#pragma mapbox: initialize lowp float opacity
#pragma mapbox: initialize mediump vec4 pattern_from
#pragma mapbox: initialize mediump vec4 pattern_to
vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,bf=`uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;
#pragma mapbox: define lowp float opacity
#pragma mapbox: define lowp vec4 pattern_from
#pragma mapbox: define lowp vec4 pattern_to
#pragma mapbox: define lowp float pixel_ratio_from
#pragma mapbox: define lowp float pixel_ratio_to
void main() {
#pragma mapbox: initialize lowp float opacity
#pragma mapbox: initialize mediump vec4 pattern_from
#pragma mapbox: initialize mediump vec4 pattern_to
#pragma mapbox: initialize lowp float pixel_ratio_from
#pragma mapbox: initialize lowp float pixel_ratio_to
vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`,cd=`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;
#pragma mapbox: define lowp float opacity
#pragma mapbox: define lowp vec4 pattern_from
#pragma mapbox: define lowp vec4 pattern_to
void main() {
#pragma mapbox: initialize lowp float opacity
#pragma mapbox: initialize mediump vec4 pattern_from
#pragma mapbox: initialize mediump vec4 pattern_to
vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,Ef=`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;
#pragma mapbox: define lowp float opacity
#pragma mapbox: define lowp vec4 pattern_from
#pragma mapbox: define lowp vec4 pattern_to
#pragma mapbox: define lowp float pixel_ratio_from
#pragma mapbox: define lowp float pixel_ratio_to
void main() {
#pragma mapbox: initialize lowp float opacity
#pragma mapbox: initialize mediump vec4 pattern_from
#pragma mapbox: initialize mediump vec4 pattern_to
#pragma mapbox: initialize lowp float pixel_ratio_from
#pragma mapbox: initialize lowp float pixel_ratio_to
vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}`,Cm=`varying vec4 v_color;void main() {gl_FragColor=v_color;
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,Jg=`uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec4 v_color;
#pragma mapbox: define highp float base
#pragma mapbox: define highp float height
#pragma mapbox: define highp vec4 color
void main() {
#pragma mapbox: initialize highp float base
#pragma mapbox: initialize highp float height
#pragma mapbox: initialize highp vec4 color
vec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}`,Qh=`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;
#pragma mapbox: define lowp float base
#pragma mapbox: define lowp float height
#pragma mapbox: define lowp vec4 pattern_from
#pragma mapbox: define lowp vec4 pattern_to
#pragma mapbox: define lowp float pixel_ratio_from
#pragma mapbox: define lowp float pixel_ratio_to
void main() {
#pragma mapbox: initialize lowp float base
#pragma mapbox: initialize lowp float height
#pragma mapbox: initialize mediump vec4 pattern_from
#pragma mapbox: initialize mediump vec4 pattern_to
#pragma mapbox: initialize lowp float pixel_ratio_from
#pragma mapbox: initialize lowp float pixel_ratio_to
vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,km=`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;
#pragma mapbox: define lowp float base
#pragma mapbox: define lowp float height
#pragma mapbox: define lowp vec4 pattern_from
#pragma mapbox: define lowp vec4 pattern_to
#pragma mapbox: define lowp float pixel_ratio_from
#pragma mapbox: define lowp float pixel_ratio_to
void main() {
#pragma mapbox: initialize lowp float base
#pragma mapbox: initialize lowp float height
#pragma mapbox: initialize mediump vec4 pattern_from
#pragma mapbox: initialize mediump vec4 pattern_to
#pragma mapbox: initialize lowp float pixel_ratio_from
#pragma mapbox: initialize lowp float pixel_ratio_to
vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0
? a_pos
: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}`,Sf=`#ifdef GL_ES
precision highp float;
#endif
uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,t1="uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}",nv=`uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;
#define PI 3.141592653589793
void main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,ey="uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}",ty=`uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;
#pragma mapbox: define highp vec4 color
#pragma mapbox: define lowp float blur
#pragma mapbox: define lowp float opacity
void main() {
#pragma mapbox: initialize highp vec4 color
#pragma mapbox: initialize lowp float blur
#pragma mapbox: initialize lowp float opacity
float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,eh=`
#define scale 0.015873016
attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;
#pragma mapbox: define highp vec4 color
#pragma mapbox: define lowp float blur
#pragma mapbox: define lowp float opacity
#pragma mapbox: define mediump float gapwidth
#pragma mapbox: define lowp float offset
#pragma mapbox: define mediump float width
void main() {
#pragma mapbox: initialize highp vec4 color
#pragma mapbox: initialize lowp float blur
#pragma mapbox: initialize lowp float opacity
#pragma mapbox: initialize mediump float gapwidth
#pragma mapbox: initialize lowp float offset
#pragma mapbox: initialize mediump float width
float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`,bu=`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec2 v_uv;
#pragma mapbox: define lowp float blur
#pragma mapbox: define lowp float opacity
void main() {
#pragma mapbox: initialize lowp float blur
#pragma mapbox: initialize lowp float opacity
float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,v_uv);gl_FragColor=color*(alpha*opacity);
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,wf=`
#define scale 0.015873016
attribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_uv_x;attribute float a_split_index;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec2 v_uv;
#pragma mapbox: define lowp float blur
#pragma mapbox: define lowp float opacity
#pragma mapbox: define mediump float gapwidth
#pragma mapbox: define lowp float offset
#pragma mapbox: define mediump float width
void main() {
#pragma mapbox: initialize lowp float blur
#pragma mapbox: initialize lowp float opacity
#pragma mapbox: initialize mediump float gapwidth
#pragma mapbox: initialize lowp float offset
#pragma mapbox: initialize mediump float width
float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`,Jh=`uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;
#pragma mapbox: define lowp vec4 pattern_from
#pragma mapbox: define lowp vec4 pattern_to
#pragma mapbox: define lowp float pixel_ratio_from
#pragma mapbox: define lowp float pixel_ratio_to
#pragma mapbox: define lowp float blur
#pragma mapbox: define lowp float opacity
void main() {
#pragma mapbox: initialize mediump vec4 pattern_from
#pragma mapbox: initialize mediump vec4 pattern_to
#pragma mapbox: initialize lowp float pixel_ratio_from
#pragma mapbox: initialize lowp float pixel_ratio_to
#pragma mapbox: initialize lowp float blur
#pragma mapbox: initialize lowp float opacity
vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,Qp=`
#define scale 0.015873016
#define LINE_DISTANCE_SCALE 2.0
attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;
#pragma mapbox: define lowp float blur
#pragma mapbox: define lowp float opacity
#pragma mapbox: define lowp float offset
#pragma mapbox: define mediump float gapwidth
#pragma mapbox: define mediump float width
#pragma mapbox: define lowp float floorwidth
#pragma mapbox: define lowp vec4 pattern_from
#pragma mapbox: define lowp vec4 pattern_to
#pragma mapbox: define lowp float pixel_ratio_from
#pragma mapbox: define lowp float pixel_ratio_to
void main() {
#pragma mapbox: initialize lowp float blur
#pragma mapbox: initialize lowp float opacity
#pragma mapbox: initialize lowp float offset
#pragma mapbox: initialize mediump float gapwidth
#pragma mapbox: initialize mediump float width
#pragma mapbox: initialize lowp float floorwidth
#pragma mapbox: initialize mediump vec4 pattern_from
#pragma mapbox: initialize mediump vec4 pattern_to
#pragma mapbox: initialize lowp float pixel_ratio_from
#pragma mapbox: initialize lowp float pixel_ratio_to
float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`,Jp=`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;
#pragma mapbox: define highp vec4 color
#pragma mapbox: define lowp float blur
#pragma mapbox: define lowp float opacity
#pragma mapbox: define mediump float width
#pragma mapbox: define lowp float floorwidth
void main() {
#pragma mapbox: initialize highp vec4 color
#pragma mapbox: initialize lowp float blur
#pragma mapbox: initialize lowp float opacity
#pragma mapbox: initialize mediump float width
#pragma mapbox: initialize lowp float floorwidth
float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,Mm=`
#define scale 0.015873016
#define LINE_DISTANCE_SCALE 2.0
attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;
#pragma mapbox: define highp vec4 color
#pragma mapbox: define lowp float blur
#pragma mapbox: define lowp float opacity
#pragma mapbox: define mediump float gapwidth
#pragma mapbox: define lowp float offset
#pragma mapbox: define mediump float width
#pragma mapbox: define lowp float floorwidth
void main() {
#pragma mapbox: initialize highp vec4 color
#pragma mapbox: initialize lowp float blur
#pragma mapbox: initialize lowp float opacity
#pragma mapbox: initialize mediump float gapwidth
#pragma mapbox: initialize lowp float offset
#pragma mapbox: initialize mediump float width
#pragma mapbox: initialize lowp float floorwidth
float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}`,Ud=`uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,ep="uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}",Yn=`uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;
#pragma mapbox: define lowp float opacity
void main() {
#pragma mapbox: initialize lowp float opacity
lowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,ka=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity;
#pragma mapbox: define lowp float opacity
void main() {
#pragma mapbox: initialize lowp float opacity
vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?
camera_to_anchor_distance/u_camera_to_center_distance :
u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}`,xa=`#define SDF_PX 8.0
uniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;
#pragma mapbox: define highp vec4 fill_color
#pragma mapbox: define highp vec4 halo_color
#pragma mapbox: define lowp float opacity
#pragma mapbox: define lowp float halo_width
#pragma mapbox: define lowp float halo_blur
void main() {
#pragma mapbox: initialize highp vec4 fill_color
#pragma mapbox: initialize highp vec4 halo_color
#pragma mapbox: initialize lowp float opacity
#pragma mapbox: initialize lowp float halo_width
#pragma mapbox: initialize lowp float halo_blur
float EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,Ni=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1;
#pragma mapbox: define highp vec4 fill_color
#pragma mapbox: define highp vec4 halo_color
#pragma mapbox: define lowp float opacity
#pragma mapbox: define lowp float halo_width
#pragma mapbox: define lowp float halo_blur
void main() {
#pragma mapbox: initialize highp vec4 fill_color
#pragma mapbox: initialize highp vec4 halo_color
#pragma mapbox: initialize lowp float opacity
#pragma mapbox: initialize lowp float halo_width
#pragma mapbox: initialize lowp float halo_blur
vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?
camera_to_anchor_distance/u_camera_to_center_distance :
u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`,eo=`#define SDF_PX 8.0
#define SDF 1.0
#define ICON 0.0
uniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1;
#pragma mapbox: define highp vec4 fill_color
#pragma mapbox: define highp vec4 halo_color
#pragma mapbox: define lowp float opacity
#pragma mapbox: define lowp float halo_width
#pragma mapbox: define lowp float halo_blur
void main() {
#pragma mapbox: initialize highp vec4 fill_color
#pragma mapbox: initialize highp vec4 halo_color
#pragma mapbox: initialize lowp float opacity
#pragma mapbox: initialize lowp float halo_width
#pragma mapbox: initialize lowp float halo_blur
float fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha;
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
return;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);
#ifdef OVERDRAW_INSPECTOR
gl_FragColor=vec4(1.0);
#endif
}`,$o=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1;
#pragma mapbox: define highp vec4 fill_color
#pragma mapbox: define highp vec4 halo_color
#pragma mapbox: define lowp float opacity
#pragma mapbox: define lowp float halo_width
#pragma mapbox: define lowp float halo_blur
void main() {
#pragma mapbox: initialize highp vec4 fill_color
#pragma mapbox: initialize highp vec4 halo_color
#pragma mapbox: initialize lowp float opacity
#pragma mapbox: initialize lowp float halo_width
#pragma mapbox: initialize lowp float halo_blur
vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?
camera_to_anchor_distance/u_camera_to_center_distance :
u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`,Hs=ts(jl,Wh),vs=ts(J1,ev),ud=ts(Ao,sd),dd=ts(tv,ml),Uc=ts(uc,xf),$d=ts(Kh,Zs),zu=ts(Xh,Qs),ws=ts(ul,qh),tp=ts(kl,bs),r1=ts(Tc,Zh),cs=ts(Ac,Am),rp=ts(ld,Ml),th=ts(rv,bf),Yl=ts(cd,Ef),n1=ts(Cm,Jg),np=ts(Qh,km),a1=ts(Sf,t1),i1=ts(nv,ey),Hd=ts(ty,eh),ap=ts(bu,wf),o1=ts(Jh,Qp),ip=ts(Jp,Mm),rh=ts(Ud,ep),e0=ts(Yn,ka),Tf=ts(xa,Ni),t0=ts(eo,$o);function ts(ge,ne){var ye=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,se=ne.match(/attribute ([\w]+) ([\w]+)/g),xe=ge.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),Ge=ne.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),nt=Ge?Ge.concat(xe):xe,yt={};return ge=ge.replace(ye,function(Ft,Jt,lr,Er,_r){return yt[_r]=!0,Jt==="define"?`
#ifndef HAS_UNIFORM_u_`+_r+`
varying `+lr+" "+Er+" "+_r+`;
#else
uniform `+lr+" "+Er+" u_"+_r+`;
#endif
`:`
#ifdef HAS_UNIFORM_u_`+_r+`
`+lr+" "+Er+" "+_r+" = u_"+_r+`;
#endif
`}),ne=ne.replace(ye,function(Ft,Jt,lr,Er,_r){var Qr=Er==="float"?"vec2":"vec4",pn=_r.match(/color/)?"color":Qr;return yt[_r]?Jt==="define"?`
#ifndef HAS_UNIFORM_u_`+_r+`
uniform lowp float u_`+_r+`_t;
attribute `+lr+" "+Qr+" a_"+_r+`;
varying `+lr+" "+Er+" "+_r+`;
#else
uniform `+lr+" "+Er+" u_"+_r+`;
#endif
`:pn==="vec4"?`
#ifndef HAS_UNIFORM_u_`+_r+`
`+_r+" = a_"+_r+`;
#else
`+lr+" "+Er+" "+_r+" = u_"+_r+`;
#endif
`:`
#ifndef HAS_UNIFORM_u_`+_r+`
`+_r+" = unpack_mix_"+pn+"(a_"+_r+", u_"+_r+`_t);
#else
`+lr+" "+Er+" "+_r+" = u_"+_r+`;
#endif
`:Jt==="define"?`
#ifndef HAS_UNIFORM_u_`+_r+`
uniform lowp float u_`+_r+`_t;
attribute `+lr+" "+Qr+" a_"+_r+`;
#else
uniform `+lr+" "+Er+" u_"+_r+`;
#endif
`:pn==="vec4"?`
#ifndef HAS_UNIFORM_u_`+_r+`
`+lr+" "+Er+" "+_r+" = a_"+_r+`;
#else
`+lr+" "+Er+" "+_r+" = u_"+_r+`;
#endif
`:`
#ifndef HAS_UNIFORM_u_`+_r+`
`+lr+" "+Er+" "+_r+" = unpack_mix_"+pn+"(a_"+_r+", u_"+_r+`_t);
#else
`+lr+" "+Er+" "+_r+" = u_"+_r+`;
#endif
`}),{fragmentSource:ge,vertexSource:ne,staticAttributes:se,staticUniforms:nt}}var Af=Object.freeze({__proto__:null,prelude:Hs,background:vs,backgroundPattern:ud,circle:dd,clippingMask:Uc,heatmap:$d,heatmapTexture:zu,collisionBox:ws,collisionCircle:tp,debug:r1,fill:cs,fillOutline:rp,fillOutlinePattern:th,fillPattern:Yl,fillExtrusion:n1,fillExtrusionPattern:np,hillshadePrepare:a1,hillshade:i1,line:Hd,lineGradient:ap,linePattern:o1,lineSDF:ip,raster:rh,symbolIcon:e0,symbolSDF:Tf,symbolTextAndIcon:t0}),$c=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};$c.prototype.bind=function(ne,ye,se,xe,Ge,nt,yt,Ft){this.context=ne;for(var Jt=this.boundPaintVertexBuffers.length!==xe.length,lr=0;!Jt&&lr<xe.length;lr++)this.boundPaintVertexBuffers[lr]!==xe[lr]&&(Jt=!0);var Er=!this.vao||this.boundProgram!==ye||this.boundLayoutVertexBuffer!==se||Jt||this.boundIndexBuffer!==Ge||this.boundVertexOffset!==nt||this.boundDynamicVertexBuffer!==yt||this.boundDynamicVertexBuffer2!==Ft;!ne.extVertexArrayObject||Er?this.freshBind(ye,se,xe,Ge,nt,yt,Ft):(ne.bindVertexArrayOES.set(this.vao),yt&&yt.bind(),Ge&&Ge.dynamicDraw&&Ge.bind(),Ft&&Ft.bind())},$c.prototype.freshBind=function(ne,ye,se,xe,Ge,nt,yt){var Ft,Jt=ne.numAttributes,lr=this.context,Er=lr.gl;if(lr.extVertexArrayObject)this.vao&&this.destroy(),this.vao=lr.extVertexArrayObject.createVertexArrayOES(),lr.bindVertexArrayOES.set(this.vao),Ft=0,this.boundProgram=ne,this.boundLayoutVertexBuffer=ye,this.boundPaintVertexBuffers=se,this.boundIndexBuffer=xe,this.boundVertexOffset=Ge,this.boundDynamicVertexBuffer=nt,this.boundDynamicVertexBuffer2=yt;else{Ft=lr.currentNumAttributes||0;for(var _r=Jt;_r<Ft;_r++)Er.disableVertexAttribArray(_r)}ye.enableAttributes(Er,ne);for(var Qr=0,pn=se;Qr<pn.length;Qr+=1){var hn=pn[Qr];hn.enableAttributes(Er,ne)}nt&&nt.enableAttributes(Er,ne),yt&&yt.enableAttributes(Er,ne),ye.bind(),ye.setVertexAttribPointers(Er,ne,Ge);for(var dn=0,_n=se;dn<_n.length;dn+=1){var Fn=_n[dn];Fn.bind(),Fn.setVertexAttribPointers(Er,ne,Ge)}nt&&(nt.bind(),nt.setVertexAttribPointers(Er,ne,Ge)),xe&&xe.bind(),yt&&(yt.bind(),yt.setVertexAttribPointers(Er,ne,Ge)),lr.currentNumAttributes=Jt},$c.prototype.destroy=function(){this.vao&&(this.context.extVertexArrayObject.deleteVertexArrayOES(this.vao),this.vao=null)};function Rm(ge){for(var ne=[],ye=0;ye<ge.length;ye++)if(ge[ye]!==null){var se=ge[ye].split(" ");ne.push(se.pop())}return ne}var av=function(ne,ye,se,xe,Ge,nt){var yt=ne.gl;this.program=yt.createProgram();for(var Ft=Rm(se.staticAttributes),Jt=xe?xe.getBinderAttributes():[],lr=Ft.concat(Jt),Er=se.staticUniforms?Rm(se.staticUniforms):[],_r=xe?xe.getBinderUniforms():[],Qr=Er.concat(_r),pn=[],hn=0,dn=Qr;hn<dn.length;hn+=1){var _n=dn[hn];pn.indexOf(_n)<0&&pn.push(_n)}var Fn=xe?xe.defines():[];nt&&Fn.push("#define OVERDRAW_INSPECTOR;");var la=Fn.concat(Hs.fragmentSource,se.fragmentSource).join(`
`),ha=Fn.concat(Hs.vertexSource,se.vertexSource).join(`
`),Ca=yt.createShader(yt.FRAGMENT_SHADER);if(yt.isContextLost()){this.failedToCreate=!0;return}yt.shaderSource(Ca,la),yt.compileShader(Ca),yt.attachShader(this.program,Ca);var Ia=yt.createShader(yt.VERTEX_SHADER);if(yt.isContextLost()){this.failedToCreate=!0;return}yt.shaderSource(Ia,ha),yt.compileShader(Ia),yt.attachShader(this.program,Ia),this.attributes={};var Ta={};this.numAttributes=lr.length;for(var Oa=0;Oa<this.numAttributes;Oa++)lr[Oa]&&(yt.bindAttribLocation(this.program,Oa,lr[Oa]),this.attributes[lr[Oa]]=Oa);yt.linkProgram(this.program),yt.deleteShader(Ia),yt.deleteShader(Ca);for(var Va=0;Va<pn.length;Va++){var Ka=pn[Va];if(Ka&&!Ta[Ka]){var vi=yt.getUniformLocation(this.program,Ka);vi&&(Ta[Ka]=vi)}}this.fixedUniforms=Ge(ne,Ta),this.binderUniforms=xe?xe.getUniforms(ne,Ta):[]};av.prototype.draw=function(ne,ye,se,xe,Ge,nt,yt,Ft,Jt,lr,Er,_r,Qr,pn,hn,dn){var _n,Fn=ne.gl;if(!this.failedToCreate){ne.program.set(this.program),ne.setDepthMode(se),ne.setStencilMode(xe),ne.setColorMode(Ge),ne.setCullFace(nt);for(var la in this.fixedUniforms)this.fixedUniforms[la].set(yt[la]);pn&&pn.setUniforms(ne,this.binderUniforms,_r,{zoom:Qr});for(var ha=(_n={},_n[Fn.LINES]=2,_n[Fn.TRIANGLES]=3,_n[Fn.LINE_STRIP]=1,_n)[ye],Ca=0,Ia=Er.get();Ca<Ia.length;Ca+=1){var Ta=Ia[Ca],Oa=Ta.vaos||(Ta.vaos={}),Va=Oa[Ft]||(Oa[Ft]=new $c);Va.bind(ne,this,Jt,pn?pn.getPaintVertexBuffers():[],lr,Ta.vertexOffset,hn,dn),Fn.drawElements(ye,Ta.primitiveLength*ha,Fn.UNSIGNED_SHORT,Ta.primitiveOffset*ha*2)}}};function nh(ge,ne,ye){var se=1/Vn(ye,1,ne.transform.tileZoom),xe=Math.pow(2,ye.tileID.overscaledZ),Ge=ye.tileSize*Math.pow(2,ne.transform.tileZoom)/xe,nt=Ge*(ye.tileID.canonical.x+ye.tileID.wrap*xe),yt=Ge*ye.tileID.canonical.y;return{u_image:0,u_texsize:ye.imageAtlasTexture.size,u_scale:[se,ge.fromScale,ge.toScale],u_fade:ge.t,u_pixel_coord_upper:[nt>>16,yt>>16],u_pixel_coord_lower:[nt&65535,yt&65535]}}function Uu(ge,ne,ye,se){var xe=ye.imageManager.getPattern(ge.from.toString()),Ge=ye.imageManager.getPattern(ge.to.toString()),nt=ye.imageManager.getPixelSize(),yt=nt.width,Ft=nt.height,Jt=Math.pow(2,se.tileID.overscaledZ),lr=se.tileSize*Math.pow(2,ye.transform.tileZoom)/Jt,Er=lr*(se.tileID.canonical.x+se.tileID.wrap*Jt),_r=lr*se.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:xe.tl,u_pattern_br_a:xe.br,u_pattern_tl_b:Ge.tl,u_pattern_br_b:Ge.br,u_texsize:[yt,Ft],u_mix:ne.t,u_pattern_size_a:xe.displaySize,u_pattern_size_b:Ge.displaySize,u_scale_a:ne.fromScale,u_scale_b:ne.toScale,u_tile_units_to_pixels:1/Vn(se,1,ye.transform.tileZoom),u_pixel_coord_upper:[Er>>16,_r>>16],u_pixel_coord_lower:[Er&65535,_r&65535]}}var ah=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_lightpos:new i.Uniform3f(ge,ne.u_lightpos),u_lightintensity:new i.Uniform1f(ge,ne.u_lightintensity),u_lightcolor:new i.Uniform3f(ge,ne.u_lightcolor),u_vertical_gradient:new i.Uniform1f(ge,ne.u_vertical_gradient),u_opacity:new i.Uniform1f(ge,ne.u_opacity)}},Xs=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_lightpos:new i.Uniform3f(ge,ne.u_lightpos),u_lightintensity:new i.Uniform1f(ge,ne.u_lightintensity),u_lightcolor:new i.Uniform3f(ge,ne.u_lightcolor),u_vertical_gradient:new i.Uniform1f(ge,ne.u_vertical_gradient),u_height_factor:new i.Uniform1f(ge,ne.u_height_factor),u_image:new i.Uniform1i(ge,ne.u_image),u_texsize:new i.Uniform2f(ge,ne.u_texsize),u_pixel_coord_upper:new i.Uniform2f(ge,ne.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(ge,ne.u_pixel_coord_lower),u_scale:new i.Uniform3f(ge,ne.u_scale),u_fade:new i.Uniform1f(ge,ne.u_fade),u_opacity:new i.Uniform1f(ge,ne.u_opacity)}},r0=function(ge,ne,ye,se){var xe=ne.style.light,Ge=xe.properties.get("position"),nt=[Ge.x,Ge.y,Ge.z],yt=i.create$1();xe.properties.get("anchor")==="viewport"&&i.fromRotation(yt,-ne.transform.angle),i.transformMat3(nt,nt,yt);var Ft=xe.properties.get("color");return{u_matrix:ge,u_lightpos:nt,u_lightintensity:xe.properties.get("intensity"),u_lightcolor:[Ft.r,Ft.g,Ft.b],u_vertical_gradient:+ye,u_opacity:se}},Eu=function(ge,ne,ye,se,xe,Ge,nt){return i.extend(r0(ge,ne,ye,se),nh(Ge,ne,nt),{u_height_factor:-Math.pow(2,xe.overscaledZ)/nt.tileSize/8})},Vd=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix)}},ih=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_image:new i.Uniform1i(ge,ne.u_image),u_texsize:new i.Uniform2f(ge,ne.u_texsize),u_pixel_coord_upper:new i.Uniform2f(ge,ne.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(ge,ne.u_pixel_coord_lower),u_scale:new i.Uniform3f(ge,ne.u_scale),u_fade:new i.Uniform1f(ge,ne.u_fade)}},Os=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_world:new i.Uniform2f(ge,ne.u_world)}},Ds=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_world:new i.Uniform2f(ge,ne.u_world),u_image:new i.Uniform1i(ge,ne.u_image),u_texsize:new i.Uniform2f(ge,ne.u_texsize),u_pixel_coord_upper:new i.Uniform2f(ge,ne.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(ge,ne.u_pixel_coord_lower),u_scale:new i.Uniform3f(ge,ne.u_scale),u_fade:new i.Uniform1f(ge,ne.u_fade)}},Gd=function(ge){return{u_matrix:ge}},$u=function(ge,ne,ye,se){return i.extend(Gd(ge),nh(ye,ne,se))},au=function(ge,ne){return{u_matrix:ge,u_world:ne}},n0=function(ge,ne,ye,se,xe){return i.extend($u(ge,ne,ye,se),{u_world:xe})},iv=function(ge,ne){return{u_camera_to_center_distance:new i.Uniform1f(ge,ne.u_camera_to_center_distance),u_scale_with_map:new i.Uniform1i(ge,ne.u_scale_with_map),u_pitch_with_map:new i.Uniform1i(ge,ne.u_pitch_with_map),u_extrude_scale:new i.Uniform2f(ge,ne.u_extrude_scale),u_device_pixel_ratio:new i.Uniform1f(ge,ne.u_device_pixel_ratio),u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix)}},a0=function(ge,ne,ye,se){var xe=ge.transform,Ge,nt;if(se.paint.get("circle-pitch-alignment")==="map"){var yt=Vn(ye,1,xe.zoom);Ge=!0,nt=[yt,yt]}else Ge=!1,nt=xe.pixelsToGLUnits;return{u_camera_to_center_distance:xe.cameraToCenterDistance,u_scale_with_map:+(se.paint.get("circle-pitch-scale")==="map"),u_matrix:ge.translatePosMatrix(ne.posMatrix,ye,se.paint.get("circle-translate"),se.paint.get("circle-translate-anchor")),u_pitch_with_map:+Ge,u_device_pixel_ratio:i.browser.devicePixelRatio,u_extrude_scale:nt}},ov=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_camera_to_center_distance:new i.Uniform1f(ge,ne.u_camera_to_center_distance),u_pixels_to_tile_units:new i.Uniform1f(ge,ne.u_pixels_to_tile_units),u_extrude_scale:new i.Uniform2f(ge,ne.u_extrude_scale),u_overscale_factor:new i.Uniform1f(ge,ne.u_overscale_factor)}},op=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_inv_matrix:new i.UniformMatrix4f(ge,ne.u_inv_matrix),u_camera_to_center_distance:new i.Uniform1f(ge,ne.u_camera_to_center_distance),u_viewport_size:new i.Uniform2f(ge,ne.u_viewport_size)}},oh=function(ge,ne,ye){var se=Vn(ye,1,ne.zoom),xe=Math.pow(2,ne.zoom-ye.tileID.overscaledZ),Ge=ye.tileID.overscaleFactor();return{u_matrix:ge,u_camera_to_center_distance:ne.cameraToCenterDistance,u_pixels_to_tile_units:se,u_extrude_scale:[ne.pixelsToGLUnits[0]/(se*xe),ne.pixelsToGLUnits[1]/(se*xe)],u_overscale_factor:Ge}},sp=function(ge,ne,ye){return{u_matrix:ge,u_inv_matrix:ne,u_camera_to_center_distance:ye.cameraToCenterDistance,u_viewport_size:[ye.width,ye.height]}},jd=function(ge,ne){return{u_color:new i.UniformColor(ge,ne.u_color),u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_overlay:new i.Uniform1i(ge,ne.u_overlay),u_overlay_scale:new i.Uniform1f(ge,ne.u_overlay_scale)}},Js=function(ge,ne,ye){return ye===void 0&&(ye=1),{u_matrix:ge,u_color:ne,u_overlay:0,u_overlay_scale:ye}},iu=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix)}},lp=function(ge){return{u_matrix:ge}},Nm=function(ge,ne){return{u_extrude_scale:new i.Uniform1f(ge,ne.u_extrude_scale),u_intensity:new i.Uniform1f(ge,ne.u_intensity),u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix)}},i0=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_world:new i.Uniform2f(ge,ne.u_world),u_image:new i.Uniform1i(ge,ne.u_image),u_color_ramp:new i.Uniform1i(ge,ne.u_color_ramp),u_opacity:new i.Uniform1f(ge,ne.u_opacity)}},Yd=function(ge,ne,ye,se){return{u_matrix:ge,u_extrude_scale:Vn(ne,1,ye),u_intensity:se}},s1=function(ge,ne,ye,se){var xe=i.create();i.ortho(xe,0,ge.width,ge.height,0,0,1);var Ge=ge.context.gl;return{u_matrix:xe,u_world:[Ge.drawingBufferWidth,Ge.drawingBufferHeight],u_image:ye,u_color_ramp:se,u_opacity:ne.paint.get("heatmap-opacity")}},cp=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_image:new i.Uniform1i(ge,ne.u_image),u_latrange:new i.Uniform2f(ge,ne.u_latrange),u_light:new i.Uniform2f(ge,ne.u_light),u_shadow:new i.UniformColor(ge,ne.u_shadow),u_highlight:new i.UniformColor(ge,ne.u_highlight),u_accent:new i.UniformColor(ge,ne.u_accent)}},sv=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_image:new i.Uniform1i(ge,ne.u_image),u_dimension:new i.Uniform2f(ge,ne.u_dimension),u_zoom:new i.Uniform1f(ge,ne.u_zoom),u_unpack:new i.Uniform4f(ge,ne.u_unpack)}},Br=function(ge,ne,ye){var se=ye.paint.get("hillshade-shadow-color"),xe=ye.paint.get("hillshade-highlight-color"),Ge=ye.paint.get("hillshade-accent-color"),nt=ye.paint.get("hillshade-illumination-direction")*(Math.PI/180);ye.paint.get("hillshade-illumination-anchor")==="viewport"&&(nt-=ge.transform.angle);var yt=!ge.options.moving;return{u_matrix:ge.transform.calculatePosMatrix(ne.tileID.toUnwrapped(),yt),u_image:0,u_latrange:Rl(ge,ne.tileID),u_light:[ye.paint.get("hillshade-exaggeration"),nt],u_shadow:se,u_highlight:xe,u_accent:Ge}},sh=function(ge,ne){var ye=ne.stride,se=i.create();return i.ortho(se,0,i.EXTENT,-i.EXTENT,0,0,1),i.translate(se,se,[0,-i.EXTENT,0]),{u_matrix:se,u_image:1,u_dimension:[ye,ye],u_zoom:ge.overscaledZ,u_unpack:ne.getUnpackVector()}};function Rl(ge,ne){var ye=Math.pow(2,ne.canonical.z),se=ne.canonical.y;return[new i.MercatorCoordinate(0,se/ye).toLngLat().lat,new i.MercatorCoordinate(0,(se+1)/ye).toLngLat().lat]}var al=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_ratio:new i.Uniform1f(ge,ne.u_ratio),u_device_pixel_ratio:new i.Uniform1f(ge,ne.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(ge,ne.u_units_to_pixels)}},vo=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_ratio:new i.Uniform1f(ge,ne.u_ratio),u_device_pixel_ratio:new i.Uniform1f(ge,ne.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(ge,ne.u_units_to_pixels),u_image:new i.Uniform1i(ge,ne.u_image),u_image_height:new i.Uniform1f(ge,ne.u_image_height)}},up=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_texsize:new i.Uniform2f(ge,ne.u_texsize),u_ratio:new i.Uniform1f(ge,ne.u_ratio),u_device_pixel_ratio:new i.Uniform1f(ge,ne.u_device_pixel_ratio),u_image:new i.Uniform1i(ge,ne.u_image),u_units_to_pixels:new i.Uniform2f(ge,ne.u_units_to_pixels),u_scale:new i.Uniform3f(ge,ne.u_scale),u_fade:new i.Uniform1f(ge,ne.u_fade)}},l1=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_ratio:new i.Uniform1f(ge,ne.u_ratio),u_device_pixel_ratio:new i.Uniform1f(ge,ne.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(ge,ne.u_units_to_pixels),u_patternscale_a:new i.Uniform2f(ge,ne.u_patternscale_a),u_patternscale_b:new i.Uniform2f(ge,ne.u_patternscale_b),u_sdfgamma:new i.Uniform1f(ge,ne.u_sdfgamma),u_image:new i.Uniform1i(ge,ne.u_image),u_tex_y_a:new i.Uniform1f(ge,ne.u_tex_y_a),u_tex_y_b:new i.Uniform1f(ge,ne.u_tex_y_b),u_mix:new i.Uniform1f(ge,ne.u_mix)}},lh=function(ge,ne,ye){var se=ge.transform;return{u_matrix:Cf(ge,ne,ye),u_ratio:1/Vn(ne,1,se.zoom),u_device_pixel_ratio:i.browser.devicePixelRatio,u_units_to_pixels:[1/se.pixelsToGLUnits[0],1/se.pixelsToGLUnits[1]]}},ou=function(ge,ne,ye,se){return i.extend(lh(ge,ne,ye),{u_image:0,u_image_height:se})},Im=function(ge,ne,ye,se){var xe=ge.transform,Ge=dp(ne,xe);return{u_matrix:Cf(ge,ne,ye),u_texsize:ne.imageAtlasTexture.size,u_ratio:1/Vn(ne,1,xe.zoom),u_device_pixel_ratio:i.browser.devicePixelRatio,u_image:0,u_scale:[Ge,se.fromScale,se.toScale],u_fade:se.t,u_units_to_pixels:[1/xe.pixelsToGLUnits[0],1/xe.pixelsToGLUnits[1]]}},Wd=function(ge,ne,ye,se,xe){var Ge=ge.transform,nt=ge.lineAtlas,yt=dp(ne,Ge),Ft=ye.layout.get("line-cap")==="round",Jt=nt.getDash(se.from,Ft),lr=nt.getDash(se.to,Ft),Er=Jt.width*xe.fromScale,_r=lr.width*xe.toScale;return i.extend(lh(ge,ne,ye),{u_patternscale_a:[yt/Er,-Jt.height/2],u_patternscale_b:[yt/_r,-lr.height/2],u_sdfgamma:nt.width/(Math.min(Er,_r)*256*i.browser.devicePixelRatio)/2,u_image:0,u_tex_y_a:Jt.y,u_tex_y_b:lr.y,u_mix:xe.t})};function dp(ge,ne){return 1/Vn(ge,1,ne.tileZoom)}function Cf(ge,ne,ye){return ge.translatePosMatrix(ne.tileID.posMatrix,ne,ye.paint.get("line-translate"),ye.paint.get("line-translate-anchor"))}var Kd=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_tl_parent:new i.Uniform2f(ge,ne.u_tl_parent),u_scale_parent:new i.Uniform1f(ge,ne.u_scale_parent),u_buffer_scale:new i.Uniform1f(ge,ne.u_buffer_scale),u_fade_t:new i.Uniform1f(ge,ne.u_fade_t),u_opacity:new i.Uniform1f(ge,ne.u_opacity),u_image0:new i.Uniform1i(ge,ne.u_image0),u_image1:new i.Uniform1i(ge,ne.u_image1),u_brightness_low:new i.Uniform1f(ge,ne.u_brightness_low),u_brightness_high:new i.Uniform1f(ge,ne.u_brightness_high),u_saturation_factor:new i.Uniform1f(ge,ne.u_saturation_factor),u_contrast_factor:new i.Uniform1f(ge,ne.u_contrast_factor),u_spin_weights:new i.Uniform3f(ge,ne.u_spin_weights)}},su=function(ge,ne,ye,se,xe){return{u_matrix:ge,u_tl_parent:ne,u_scale_parent:ye,u_buffer_scale:1,u_fade_t:se.mix,u_opacity:se.opacity*xe.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:xe.paint.get("raster-brightness-min"),u_brightness_high:xe.paint.get("raster-brightness-max"),u_saturation_factor:hp(xe.paint.get("raster-saturation")),u_contrast_factor:us(xe.paint.get("raster-contrast")),u_spin_weights:fp(xe.paint.get("raster-hue-rotate"))}};function fp(ge){ge*=Math.PI/180;var ne=Math.sin(ge),ye=Math.cos(ge);return[(2*ye+1)/3,(-Math.sqrt(3)*ne-ye+1)/3,(Math.sqrt(3)*ne-ye+1)/3]}function us(ge){return ge>0?1/(1-ge):1+ge}function hp(ge){return ge>0?1-1/(1.001-ge):-ge}var c1=function(ge,ne){return{u_is_size_zoom_constant:new i.Uniform1i(ge,ne.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(ge,ne.u_is_size_feature_constant),u_size_t:new i.Uniform1f(ge,ne.u_size_t),u_size:new i.Uniform1f(ge,ne.u_size),u_camera_to_center_distance:new i.Uniform1f(ge,ne.u_camera_to_center_distance),u_pitch:new i.Uniform1f(ge,ne.u_pitch),u_rotate_symbol:new i.Uniform1i(ge,ne.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(ge,ne.u_aspect_ratio),u_fade_change:new i.Uniform1f(ge,ne.u_fade_change),u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(ge,ne.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(ge,ne.u_coord_matrix),u_is_text:new i.Uniform1i(ge,ne.u_is_text),u_pitch_with_map:new i.Uniform1i(ge,ne.u_pitch_with_map),u_texsize:new i.Uniform2f(ge,ne.u_texsize),u_texture:new i.Uniform1i(ge,ne.u_texture)}},Lm=function(ge,ne){return{u_is_size_zoom_constant:new i.Uniform1i(ge,ne.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(ge,ne.u_is_size_feature_constant),u_size_t:new i.Uniform1f(ge,ne.u_size_t),u_size:new i.Uniform1f(ge,ne.u_size),u_camera_to_center_distance:new i.Uniform1f(ge,ne.u_camera_to_center_distance),u_pitch:new i.Uniform1f(ge,ne.u_pitch),u_rotate_symbol:new i.Uniform1i(ge,ne.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(ge,ne.u_aspect_ratio),u_fade_change:new i.Uniform1f(ge,ne.u_fade_change),u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(ge,ne.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(ge,ne.u_coord_matrix),u_is_text:new i.Uniform1i(ge,ne.u_is_text),u_pitch_with_map:new i.Uniform1i(ge,ne.u_pitch_with_map),u_texsize:new i.Uniform2f(ge,ne.u_texsize),u_texture:new i.Uniform1i(ge,ne.u_texture),u_gamma_scale:new i.Uniform1f(ge,ne.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(ge,ne.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(ge,ne.u_is_halo)}},Hc=function(ge,ne){return{u_is_size_zoom_constant:new i.Uniform1i(ge,ne.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(ge,ne.u_is_size_feature_constant),u_size_t:new i.Uniform1f(ge,ne.u_size_t),u_size:new i.Uniform1f(ge,ne.u_size),u_camera_to_center_distance:new i.Uniform1f(ge,ne.u_camera_to_center_distance),u_pitch:new i.Uniform1f(ge,ne.u_pitch),u_rotate_symbol:new i.Uniform1i(ge,ne.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(ge,ne.u_aspect_ratio),u_fade_change:new i.Uniform1f(ge,ne.u_fade_change),u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(ge,ne.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(ge,ne.u_coord_matrix),u_is_text:new i.Uniform1i(ge,ne.u_is_text),u_pitch_with_map:new i.Uniform1i(ge,ne.u_pitch_with_map),u_texsize:new i.Uniform2f(ge,ne.u_texsize),u_texsize_icon:new i.Uniform2f(ge,ne.u_texsize_icon),u_texture:new i.Uniform1i(ge,ne.u_texture),u_texture_icon:new i.Uniform1i(ge,ne.u_texture_icon),u_gamma_scale:new i.Uniform1f(ge,ne.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(ge,ne.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(ge,ne.u_is_halo)}},o0=function(ge,ne,ye,se,xe,Ge,nt,yt,Ft,Jt){var lr=xe.transform;return{u_is_size_zoom_constant:+(ge==="constant"||ge==="source"),u_is_size_feature_constant:+(ge==="constant"||ge==="camera"),u_size_t:ne?ne.uSizeT:0,u_size:ne?ne.uSize:0,u_camera_to_center_distance:lr.cameraToCenterDistance,u_pitch:lr.pitch/360*2*Math.PI,u_rotate_symbol:+ye,u_aspect_ratio:lr.width/lr.height,u_fade_change:xe.options.fadeDuration?xe.symbolFadeChange:1,u_matrix:Ge,u_label_plane_matrix:nt,u_coord_matrix:yt,u_is_text:+Ft,u_pitch_with_map:+se,u_texsize:Jt,u_texture:0}},u1=function(ge,ne,ye,se,xe,Ge,nt,yt,Ft,Jt,lr){var Er=xe.transform;return i.extend(o0(ge,ne,ye,se,xe,Ge,nt,yt,Ft,Jt),{u_gamma_scale:se?Math.cos(Er._pitch)*Er.cameraToCenterDistance:1,u_device_pixel_ratio:i.browser.devicePixelRatio,u_is_halo:+lr})},lv=function(ge,ne,ye,se,xe,Ge,nt,yt,Ft,Jt){return i.extend(u1(ge,ne,ye,se,xe,Ge,nt,yt,!0,Ft,!0),{u_texsize_icon:Jt,u_texture_icon:1})},s0=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_opacity:new i.Uniform1f(ge,ne.u_opacity),u_color:new i.UniformColor(ge,ne.u_color)}},l0=function(ge,ne){return{u_matrix:new i.UniformMatrix4f(ge,ne.u_matrix),u_opacity:new i.Uniform1f(ge,ne.u_opacity),u_image:new i.Uniform1i(ge,ne.u_image),u_pattern_tl_a:new i.Uniform2f(ge,ne.u_pattern_tl_a),u_pattern_br_a:new i.Uniform2f(ge,ne.u_pattern_br_a),u_pattern_tl_b:new i.Uniform2f(ge,ne.u_pattern_tl_b),u_pattern_br_b:new i.Uniform2f(ge,ne.u_pattern_br_b),u_texsize:new i.Uniform2f(ge,ne.u_texsize),u_mix:new i.Uniform1f(ge,ne.u_mix),u_pattern_size_a:new i.Uniform2f(ge,ne.u_pattern_size_a),u_pattern_size_b:new i.Uniform2f(ge,ne.u_pattern_size_b),u_scale_a:new i.Uniform1f(ge,ne.u_scale_a),u_scale_b:new i.Uniform1f(ge,ne.u_scale_b),u_pixel_coord_upper:new i.Uniform2f(ge,ne.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(ge,ne.u_pixel_coord_lower),u_tile_units_to_pixels:new i.Uniform1f(ge,ne.u_tile_units_to_pixels)}},Vc=function(ge,ne,ye){return{u_matrix:ge,u_opacity:ne,u_color:ye}},c0=function(ge,ne,ye,se,xe,Ge){return i.extend(Uu(se,Ge,ye,xe),{u_matrix:ge,u_opacity:ne})},kf={fillExtrusion:ah,fillExtrusionPattern:Xs,fill:Vd,fillPattern:ih,fillOutline:Os,fillOutlinePattern:Ds,circle:iv,collisionBox:ov,collisionCircle:op,debug:jd,clippingMask:iu,heatmap:Nm,heatmapTexture:i0,hillshade:cp,hillshadePrepare:sv,line:al,lineGradient:vo,linePattern:up,lineSDF:l1,raster:Kd,symbolIcon:c1,symbolSDF:Lm,symbolTextAndIcon:Hc,background:s0,backgroundPattern:l0},Es;function fd(ge,ne,ye,se,xe,Ge,nt){for(var yt=ge.context,Ft=yt.gl,Jt=ge.useProgram("collisionBox"),lr=[],Er=0,_r=0,Qr=0;Qr<se.length;Qr++){var pn=se[Qr],hn=ne.getTile(pn),dn=hn.getBucket(ye);if(dn){var _n=pn.posMatrix;(xe[0]!==0||xe[1]!==0)&&(_n=ge.translatePosMatrix(pn.posMatrix,hn,xe,Ge));var Fn=nt?dn.textCollisionBox:dn.iconCollisionBox,la=dn.collisionCircleArray;if(la.length>0){var ha=i.create(),Ca=_n;i.mul(ha,dn.placementInvProjMatrix,ge.transform.glCoordMatrix),i.mul(ha,ha,dn.placementViewportMatrix),lr.push({circleArray:la,circleOffset:_r,transform:Ca,invTransform:ha}),Er+=la.length/4,_r=Er}Fn&&Jt.draw(yt,Ft.LINES,Pr.disabled,ur.disabled,ge.colorModeForRenderPass(),Ht.disabled,oh(_n,ge.transform,hn),ye.id,Fn.layoutVertexBuffer,Fn.indexBuffer,Fn.segments,null,ge.transform.zoom,null,null,Fn.collisionVertexBuffer)}}if(!(!nt||!lr.length)){var Ia=ge.useProgram("collisionCircle"),Ta=new i.StructArrayLayout2f1f2i16;Ta.resize(Er*4),Ta._trim();for(var Oa=0,Va=0,Ka=lr;Va<Ka.length;Va+=1)for(var vi=Ka[Va],ai=0;ai<vi.circleArray.length/4;ai++){var ji=ai*4,Io=vi.circleArray[ji+0],po=vi.circleArray[ji+1],Si=vi.circleArray[ji+2],mo=vi.circleArray[ji+3];Ta.emplace(Oa++,Io,po,Si,mo,0),Ta.emplace(Oa++,Io,po,Si,mo,1),Ta.emplace(Oa++,Io,po,Si,mo,2),Ta.emplace(Oa++,Io,po,Si,mo,3)}(!Es||Es.length<Er*2)&&(Es=cv(Er));for(var Qi=yt.createIndexBuffer(Es,!0),jo=yt.createVertexBuffer(Ta,i.collisionCircleLayout.members,!0),Lo=0,Ms=lr;Lo<Ms.length;Lo+=1){var go=Ms[Lo],gs=sp(go.transform,go.invTransform,ge.transform);Ia.draw(yt,Ft.TRIANGLES,Pr.disabled,ur.disabled,ge.colorModeForRenderPass(),Ht.disabled,gs,ye.id,jo,Qi,i.SegmentVector.simpleSegment(0,go.circleOffset*2,go.circleArray.length,go.circleArray.length/2),null,ge.transform.zoom,null,null,null)}jo.destroy(),Qi.destroy()}}function cv(ge){var ne=ge*2,ye=new i.StructArrayLayout3ui6;ye.resize(ne),ye._trim();for(var se=0;se<ne;se++){var xe=se*6;ye.uint16[xe+0]=se*4+0,ye.uint16[xe+1]=se*4+1,ye.uint16[xe+2]=se*4+2,ye.uint16[xe+3]=se*4+2,ye.uint16[xe+4]=se*4+3,ye.uint16[xe+5]=se*4+0}return ye}var ch=i.identity(new Float32Array(16));function d1(ge,ne,ye,se,xe){if(ge.renderPass==="translucent"){var Ge=ur.disabled,nt=ge.colorModeForRenderPass(),yt=ye.layout.get("text-variable-anchor");yt&&Om(se,ge,ye,ne,ye.layout.get("text-rotation-alignment"),ye.layout.get("text-pitch-alignment"),xe),ye.paint.get("icon-opacity").constantOr(1)!==0&&d0(ge,ne,ye,se,!1,ye.paint.get("icon-translate"),ye.paint.get("icon-translate-anchor"),ye.layout.get("icon-rotation-alignment"),ye.layout.get("icon-pitch-alignment"),ye.layout.get("icon-keep-upright"),Ge,nt),ye.paint.get("text-opacity").constantOr(1)!==0&&d0(ge,ne,ye,se,!0,ye.paint.get("text-translate"),ye.paint.get("text-translate-anchor"),ye.layout.get("text-rotation-alignment"),ye.layout.get("text-pitch-alignment"),ye.layout.get("text-keep-upright"),Ge,nt),ne.map.showCollisionBoxes&&(fd(ge,ne,ye,se,ye.paint.get("text-translate"),ye.paint.get("text-translate-anchor"),!0),fd(ge,ne,ye,se,ye.paint.get("icon-translate"),ye.paint.get("icon-translate-anchor"),!1))}}function u0(ge,ne,ye,se,xe,Ge){var nt=i.getAnchorAlignment(ge),yt=nt.horizontalAlign,Ft=nt.verticalAlign,Jt=-(yt-.5)*ne,lr=-(Ft-.5)*ye,Er=i.evaluateVariableOffset(ge,se);return new i.Point((Jt/xe+Er[0])*Ge,(lr/xe+Er[1])*Ge)}function Om(ge,ne,ye,se,xe,Ge,nt){for(var yt=ne.transform,Ft=xe==="map",Jt=Ge==="map",lr=0,Er=ge;lr<Er.length;lr+=1){var _r=Er[lr],Qr=se.getTile(_r),pn=Qr.getBucket(ye);if(!(!pn||!pn.text||!pn.text.segments.get().length)){var hn=pn.textSizeData,dn=i.evaluateSizeForZoom(hn,yt.zoom),_n=Vn(Qr,1,ne.transform.zoom),Fn=Jr(_r.posMatrix,Jt,Ft,ne.transform,_n),la=ye.layout.get("icon-text-fit")!=="none"&&pn.hasIconData();if(dn){var ha=Math.pow(2,yt.zoom-Qr.tileID.overscaledZ);uv(pn,Ft,Jt,nt,i.symbolSize,yt,Fn,_r.posMatrix,ha,dn,la)}}}}function uv(ge,ne,ye,se,xe,Ge,nt,yt,Ft,Jt,lr){var Er=ge.text.placedSymbolArray,_r=ge.text.dynamicLayoutVertexArray,Qr=ge.icon.dynamicLayoutVertexArray,pn={};_r.clear();for(var hn=0;hn<Er.length;hn++){var dn=Er.get(hn),_n=ge.allowVerticalPlacement&&!dn.placedOrientation,Fn=!dn.hidden&&dn.crossTileID&&!_n?se[dn.crossTileID]:null;if(!Fn)oi(dn.numGlyphs,_r);else{var la=new i.Point(dn.anchorX,dn.anchorY),ha=sn(la,ye?yt:nt),Ca=Nn(Ge.cameraToCenterDistance,ha.signedDistanceFromCamera),Ia=xe.evaluateSizeForFeature(ge.textSizeData,Jt,dn)*Ca/i.ONE_EM;ye&&(Ia*=ge.tilePixelRatio/Ft);for(var Ta=Fn.width,Oa=Fn.height,Va=Fn.anchor,Ka=Fn.textOffset,vi=Fn.textBoxScale,ai=u0(Va,Ta,Oa,Ka,vi,Ia),ji=ye?sn(la.add(ai),nt).point:ha.point.add(ne?ai.rotate(-Ge.angle):ai),Io=ge.allowVerticalPlacement&&dn.placedOrientation===i.WritingMode.vertical?Math.PI/2:0,po=0;po<dn.numGlyphs;po++)i.addDynamicAttributes(_r,ji,Io);lr&&dn.associatedIconIndex>=0&&(pn[dn.associatedIconIndex]={shiftedAnchor:ji,angle:Io})}}if(lr){Qr.clear();for(var Si=ge.icon.placedSymbolArray,mo=0;mo<Si.length;mo++){var Qi=Si.get(mo);if(Qi.hidden)oi(Qi.numGlyphs,Qr);else{var jo=pn[mo];if(!jo)oi(Qi.numGlyphs,Qr);else for(var Lo=0;Lo<Qi.numGlyphs;Lo++)i.addDynamicAttributes(Qr,jo.shiftedAnchor,jo.angle)}}ge.icon.dynamicLayoutVertexBuffer.updateData(Qr)}ge.text.dynamicLayoutVertexBuffer.updateData(_r)}function dc(ge,ne,ye){return ye.iconsInText&&ne?"symbolTextAndIcon":ge?"symbolSDF":"symbolIcon"}function d0(ge,ne,ye,se,xe,Ge,nt,yt,Ft,Jt,lr,Er){for(var _r=ge.context,Qr=_r.gl,pn=ge.transform,hn=yt==="map",dn=Ft==="map",_n=hn&&ye.layout.get("symbol-placement")!=="point",Fn=hn&&!dn&&!_n,la=ye.layout.get("symbol-sort-key").constantOr(1)!==void 0,ha=!1,Ca=ge.depthModeForSublayer(0,Pr.ReadOnly),Ia=ye.layout.get("text-variable-anchor"),Ta=[],Oa=0,Va=se;Oa<Va.length;Oa+=1){var Ka=Va[Oa],vi=ne.getTile(Ka),ai=vi.getBucket(ye);if(ai){var ji=xe?ai.text:ai.icon;if(!(!ji||!ji.segments.get().length)){var Io=ji.programConfigurations.get(ye.id),po=xe||ai.sdfIcons,Si=xe?ai.textSizeData:ai.iconSizeData,mo=dn||pn.pitch!==0,Qi=ge.useProgram(dc(po,xe,ai),Io),jo=i.evaluateSizeForZoom(Si,pn.zoom),Lo=void 0,Ms=[0,0],go=void 0,gs=void 0,to=null,Oo=void 0;if(xe){if(go=vi.glyphAtlasTexture,gs=Qr.LINEAR,Lo=vi.glyphAtlasTexture.size,ai.iconsInText){Ms=vi.imageAtlasTexture.size,to=vi.imageAtlasTexture;var tl=Si.kind==="composite"||Si.kind==="camera";Oo=mo||ge.options.rotating||ge.options.zooming||tl?Qr.LINEAR:Qr.NEAREST}}else{var Wl=ye.layout.get("icon-size").constantOr(0)!==1||ai.iconsNeedLinear;go=vi.imageAtlasTexture,gs=po||ge.options.rotating||ge.options.zooming||Wl||mo?Qr.LINEAR:Qr.NEAREST,Lo=vi.imageAtlasTexture.size}var Kl=Vn(vi,1,ge.transform.zoom),Kc=Jr(Ka.posMatrix,dn,hn,ge.transform,Kl),vh=un(Ka.posMatrix,dn,hn,ge.transform,Kl),mh=Ia&&ai.hasTextData(),mv=ye.layout.get("icon-text-fit")!=="none"&&mh&&ai.hasIconData();_n&&$n(ai,Ka.posMatrix,ge,xe,Kc,vh,dn,Jt);var xp=ge.translatePosMatrix(Ka.posMatrix,vi,Ge,nt),ju=_n||xe&&Ia||mv?ch:Kc,bp=ge.translatePosMatrix(vh,vi,Ge,nt,!0),vd=po&&ye.paint.get(xe?"text-halo-width":"icon-halo-width").constantOr(1)!==0,Yu=void 0;po?ai.iconsInText?Yu=lv(Si.kind,jo,Fn,dn,ge,xp,ju,bp,Lo,Ms):Yu=u1(Si.kind,jo,Fn,dn,ge,xp,ju,bp,xe,Lo,!0):Yu=o0(Si.kind,jo,Fn,dn,ge,xp,ju,bp,xe,Lo);var gh={program:Qi,buffers:ji,uniformValues:Yu,atlasTexture:go,atlasTextureIcon:to,atlasInterpolation:gs,atlasInterpolationIcon:Oo,isSDF:po,hasHalo:vd};if(la&&ai.canOverlap){ha=!0;for(var _0=ji.segments.get(),yh=0,d_=_0;yh<d_.length;yh+=1){var Bm=d_[yh];Ta.push({segments:new i.SegmentVector([Bm]),sortKey:Bm.sortKey,state:gh})}}else Ta.push({segments:ji.segments,sortKey:0,state:gh})}}}ha&&Ta.sort(function(f_,ay){return f_.sortKey-ay.sortKey});for(var fc=0,ny=Ta;fc<ny.length;fc+=1){var zm=ny[fc],Au=zm.state;if(_r.activeTexture.set(Qr.TEXTURE0),Au.atlasTexture.bind(Au.atlasInterpolation,Qr.CLAMP_TO_EDGE),Au.atlasTextureIcon&&(_r.activeTexture.set(Qr.TEXTURE1),Au.atlasTextureIcon&&Au.atlasTextureIcon.bind(Au.atlasInterpolationIcon,Qr.CLAMP_TO_EDGE)),Au.isSDF){var Um=Au.uniformValues;Au.hasHalo&&(Um.u_is_halo=1,Mf(Au.buffers,zm.segments,ye,ge,Au.program,Ca,lr,Er,Um)),Um.u_is_halo=0}Mf(Au.buffers,zm.segments,ye,ge,Au.program,Ca,lr,Er,Au.uniformValues)}}function Mf(ge,ne,ye,se,xe,Ge,nt,yt,Ft){var Jt=se.context,lr=Jt.gl;xe.draw(Jt,lr.TRIANGLES,Ge,nt,yt,Ht.disabled,Ft,ye.id,ge.layoutVertexBuffer,ge.indexBuffer,ne,ye.paint,se.transform.zoom,ge.programConfigurations.get(ye.id),ge.dynamicLayoutVertexBuffer,ge.opacityVertexBuffer)}function pp(ge,ne,ye,se){if(ge.renderPass==="translucent"){var xe=ye.paint.get("circle-opacity"),Ge=ye.paint.get("circle-stroke-width"),nt=ye.paint.get("circle-stroke-opacity"),yt=ye.layout.get("circle-sort-key").constantOr(1)!==void 0;if(!(xe.constantOr(1)===0&&(Ge.constantOr(1)===0||nt.constantOr(1)===0))){for(var Ft=ge.context,Jt=Ft.gl,lr=ge.depthModeForSublayer(0,Pr.ReadOnly),Er=ur.disabled,_r=ge.colorModeForRenderPass(),Qr=[],pn=0;pn<se.length;pn++){var hn=se[pn],dn=ne.getTile(hn),_n=dn.getBucket(ye);if(_n){var Fn=_n.programConfigurations.get(ye.id),la=ge.useProgram("circle",Fn),ha=_n.layoutVertexBuffer,Ca=_n.indexBuffer,Ia=a0(ge,hn,dn,ye),Ta={programConfiguration:Fn,program:la,layoutVertexBuffer:ha,indexBuffer:Ca,uniformValues:Ia};if(yt)for(var Oa=_n.segments.get(),Va=0,Ka=Oa;Va<Ka.length;Va+=1){var vi=Ka[Va];Qr.push({segments:new i.SegmentVector([vi]),sortKey:vi.sortKey,state:Ta})}else Qr.push({segments:_n.segments,sortKey:0,state:Ta})}}yt&&Qr.sort(function(go,gs){return go.sortKey-gs.sortKey});for(var ai=0,ji=Qr;ai<ji.length;ai+=1){var Io=ji[ai],po=Io.state,Si=po.programConfiguration,mo=po.program,Qi=po.layoutVertexBuffer,jo=po.indexBuffer,Lo=po.uniformValues,Ms=Io.segments;mo.draw(Ft,Jt.TRIANGLES,lr,Er,_r,Ht.disabled,Lo,ye.id,Qi,jo,Ms,ye.paint,ge.transform.zoom,Si)}}}}function Hu(ge,ne,ye,se){if(ye.paint.get("heatmap-opacity")!==0)if(ge.renderPass==="offscreen"){var xe=ge.context,Ge=xe.gl,nt=ur.disabled,yt=new mt([Ge.ONE,Ge.ONE],i.Color.transparent,[!0,!0,!0,!0]);ry(xe,ge,ye),xe.clear({color:i.Color.transparent});for(var Ft=0;Ft<se.length;Ft++){var Jt=se[Ft];if(!ne.hasRenderableParent(Jt)){var lr=ne.getTile(Jt),Er=lr.getBucket(ye);if(Er){var _r=Er.programConfigurations.get(ye.id),Qr=ge.useProgram("heatmap",_r),pn=ge.transform,hn=pn.zoom;Qr.draw(xe,Ge.TRIANGLES,Pr.disabled,nt,yt,Ht.disabled,Yd(Jt.posMatrix,lr,hn,ye.paint.get("heatmap-intensity")),ye.id,Er.layoutVertexBuffer,Er.indexBuffer,Er.segments,ye.paint,ge.transform.zoom,_r)}}}xe.viewport.set([0,0,ge.width,ge.height])}else ge.renderPass==="translucent"&&(ge.context.setColorMode(ge.colorModeForRenderPass()),f0(ge,ye))}function ry(ge,ne,ye){var se=ge.gl;ge.activeTexture.set(se.TEXTURE1),ge.viewport.set([0,0,ne.width/4,ne.height/4]);var xe=ye.heatmapFbo;if(xe)se.bindTexture(se.TEXTURE_2D,xe.colorAttachment.get()),ge.bindFramebuffer.set(xe.framebuffer);else{var Ge=se.createTexture();se.bindTexture(se.TEXTURE_2D,Ge),se.texParameteri(se.TEXTURE_2D,se.TEXTURE_WRAP_S,se.CLAMP_TO_EDGE),se.texParameteri(se.TEXTURE_2D,se.TEXTURE_WRAP_T,se.CLAMP_TO_EDGE),se.texParameteri(se.TEXTURE_2D,se.TEXTURE_MIN_FILTER,se.LINEAR),se.texParameteri(se.TEXTURE_2D,se.TEXTURE_MAG_FILTER,se.LINEAR),xe=ye.heatmapFbo=ge.createFramebuffer(ne.width/4,ne.height/4,!1),Cc(ge,ne,Ge,xe)}}function Cc(ge,ne,ye,se){var xe=ge.gl,Ge=ge.extRenderToTextureHalfFloat?ge.extTextureHalfFloat.HALF_FLOAT_OES:xe.UNSIGNED_BYTE;xe.texImage2D(xe.TEXTURE_2D,0,xe.RGBA,ne.width/4,ne.height/4,0,xe.RGBA,Ge,null),se.colorAttachment.set(ye)}function f0(ge,ne){var ye=ge.context,se=ye.gl,xe=ne.heatmapFbo;if(xe){ye.activeTexture.set(se.TEXTURE0),se.bindTexture(se.TEXTURE_2D,xe.colorAttachment.get()),ye.activeTexture.set(se.TEXTURE1);var Ge=ne.colorRampTexture;Ge||(Ge=ne.colorRampTexture=new i.Texture(ye,ne.colorRamp,se.RGBA)),Ge.bind(se.LINEAR,se.CLAMP_TO_EDGE),ge.useProgram("heatmapTexture").draw(ye,se.TRIANGLES,Pr.disabled,ur.disabled,ge.colorModeForRenderPass(),Ht.disabled,s1(ge,ne,0,1),ne.id,ge.viewportBuffer,ge.quadTriangleIndexBuffer,ge.viewportSegments,ne.paint,ge.transform.zoom)}}function Su(ge,ne,ye,se){if(ge.renderPass==="translucent"){var xe=ye.paint.get("line-opacity"),Ge=ye.paint.get("line-width");if(!(xe.constantOr(1)===0||Ge.constantOr(1)===0))for(var nt=ge.depthModeForSublayer(0,Pr.ReadOnly),yt=ge.colorModeForRenderPass(),Ft=ye.paint.get("line-dasharray"),Jt=ye.paint.get("line-pattern"),lr=Jt.constantOr(1),Er=ye.paint.get("line-gradient"),_r=ye.getCrossfadeParameters(),Qr=lr?"linePattern":Ft?"lineSDF":Er?"lineGradient":"line",pn=ge.context,hn=pn.gl,dn=!0,_n=0,Fn=se;_n<Fn.length;_n+=1){var la=Fn[_n],ha=ne.getTile(la);if(!(lr&&!ha.patternsLoaded())){var Ca=ha.getBucket(ye);if(Ca){var Ia=Ca.programConfigurations.get(ye.id),Ta=ge.context.program.get(),Oa=ge.useProgram(Qr,Ia),Va=dn||Oa.program!==Ta,Ka=Jt.constantOr(null);if(Ka&&ha.imageAtlas){var vi=ha.imageAtlas,ai=vi.patternPositions[Ka.to.toString()],ji=vi.patternPositions[Ka.from.toString()];ai&&ji&&Ia.setConstantPatternPositions(ai,ji)}var Io=lr?Im(ge,ha,ye,_r):Ft?Wd(ge,ha,ye,Ft,_r):Er?ou(ge,ha,ye,Ca.lineClipsArray.length):lh(ge,ha,ye);if(lr)pn.activeTexture.set(hn.TEXTURE0),ha.imageAtlasTexture.bind(hn.LINEAR,hn.CLAMP_TO_EDGE),Ia.updatePaintBuffers(_r);else if(Ft&&(Va||ge.lineAtlas.dirty))pn.activeTexture.set(hn.TEXTURE0),ge.lineAtlas.bind(pn);else if(Er){var po=Ca.gradients[ye.id],Si=po.texture;if(ye.gradientVersion!==po.version){var mo=256;if(ye.stepInterpolant){var Qi=ne.getSource().maxzoom,jo=la.canonical.z===Qi?Math.ceil(1<<ge.transform.maxZoom-la.canonical.z):1,Lo=Ca.maxLineLength/i.EXTENT,Ms=1024,go=Lo*Ms*jo;mo=i.clamp(i.nextPowerOfTwo(go),256,pn.maxTextureSize)}po.gradient=i.renderColorRamp({expression:ye.gradientExpression(),evaluationKey:"lineProgress",resolution:mo,image:po.gradient||void 0,clips:Ca.lineClipsArray}),po.texture?po.texture.update(po.gradient):po.texture=new i.Texture(pn,po.gradient,hn.RGBA),po.version=ye.gradientVersion,Si=po.texture}pn.activeTexture.set(hn.TEXTURE0),Si.bind(ye.stepInterpolant?hn.NEAREST:hn.LINEAR,hn.CLAMP_TO_EDGE)}Oa.draw(pn,hn.TRIANGLES,nt,ge.stencilModeForClipping(la),yt,Ht.disabled,Io,ye.id,Ca.layoutVertexBuffer,Ca.indexBuffer,Ca.segments,ye.paint,ge.transform.zoom,Ia,Ca.layoutVertexBuffer2),dn=!1}}}}}function Vu(ge,ne,ye,se){var xe=ye.paint.get("fill-color"),Ge=ye.paint.get("fill-opacity");if(Ge.constantOr(1)!==0){var nt=ge.colorModeForRenderPass(),yt=ye.paint.get("fill-pattern"),Ft=ge.opaquePassEnabledForLayer()&&!yt.constantOr(1)&&xe.constantOr(i.Color.transparent).a===1&&Ge.constantOr(0)===1?"opaque":"translucent";if(ge.renderPass===Ft){var Jt=ge.depthModeForSublayer(1,ge.renderPass==="opaque"?Pr.ReadWrite:Pr.ReadOnly);Gc(ge,ne,ye,se,Jt,nt,!1)}if(ge.renderPass==="translucent"&&ye.paint.get("fill-antialias")){var lr=ge.depthModeForSublayer(ye.getPaintProperty("fill-outline-color")?2:0,Pr.ReadOnly);Gc(ge,ne,ye,se,lr,nt,!0)}}}function Gc(ge,ne,ye,se,xe,Ge,nt){var yt=ge.context.gl,Ft=ye.paint.get("fill-pattern"),Jt=Ft&&Ft.constantOr(1),lr=ye.getCrossfadeParameters(),Er,_r,Qr,pn,hn;nt?(_r=Jt&&!ye.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline",Er=yt.LINES):(_r=Jt?"fillPattern":"fill",Er=yt.TRIANGLES);for(var dn=0,_n=se;dn<_n.length;dn+=1){var Fn=_n[dn],la=ne.getTile(Fn);if(!(Jt&&!la.patternsLoaded())){var ha=la.getBucket(ye);if(ha){var Ca=ha.programConfigurations.get(ye.id),Ia=ge.useProgram(_r,Ca);Jt&&(ge.context.activeTexture.set(yt.TEXTURE0),la.imageAtlasTexture.bind(yt.LINEAR,yt.CLAMP_TO_EDGE),Ca.updatePaintBuffers(lr));var Ta=Ft.constantOr(null);if(Ta&&la.imageAtlas){var Oa=la.imageAtlas,Va=Oa.patternPositions[Ta.to.toString()],Ka=Oa.patternPositions[Ta.from.toString()];Va&&Ka&&Ca.setConstantPatternPositions(Va,Ka)}var vi=ge.translatePosMatrix(Fn.posMatrix,la,ye.paint.get("fill-translate"),ye.paint.get("fill-translate-anchor"));if(!nt)pn=ha.indexBuffer,hn=ha.segments,Qr=Jt?$u(vi,ge,lr,la):Gd(vi);else{pn=ha.indexBuffer2,hn=ha.segments2;var ai=[yt.drawingBufferWidth,yt.drawingBufferHeight];Qr=_r==="fillOutlinePattern"&&Jt?n0(vi,ge,lr,la,ai):au(vi,ai)}Ia.draw(ge.context,Er,xe,ge.stencilModeForClipping(Fn),Ge,Ht.disabled,Qr,ye.id,ha.layoutVertexBuffer,pn,hn,ye.paint,ge.transform.zoom,Ca)}}}}function jc(ge,ne,ye,se){var xe=ye.paint.get("fill-extrusion-opacity");if(xe!==0&&ge.renderPass==="translucent"){var Ge=new Pr(ge.context.gl.LEQUAL,Pr.ReadWrite,ge.depthRangeFor3D);if(xe===1&&!ye.paint.get("fill-extrusion-pattern").constantOr(1)){var nt=ge.colorModeForRenderPass();h0(ge,ne,ye,se,Ge,ur.disabled,nt)}else h0(ge,ne,ye,se,Ge,ur.disabled,mt.disabled),h0(ge,ne,ye,se,Ge,ge.stencilModeFor3D(),ge.colorModeForRenderPass())}}function h0(ge,ne,ye,se,xe,Ge,nt){for(var yt=ge.context,Ft=yt.gl,Jt=ye.paint.get("fill-extrusion-pattern"),lr=Jt.constantOr(1),Er=ye.getCrossfadeParameters(),_r=ye.paint.get("fill-extrusion-opacity"),Qr=0,pn=se;Qr<pn.length;Qr+=1){var hn=pn[Qr],dn=ne.getTile(hn),_n=dn.getBucket(ye);if(_n){var Fn=_n.programConfigurations.get(ye.id),la=ge.useProgram(lr?"fillExtrusionPattern":"fillExtrusion",Fn);lr&&(ge.context.activeTexture.set(Ft.TEXTURE0),dn.imageAtlasTexture.bind(Ft.LINEAR,Ft.CLAMP_TO_EDGE),Fn.updatePaintBuffers(Er));var ha=Jt.constantOr(null);if(ha&&dn.imageAtlas){var Ca=dn.imageAtlas,Ia=Ca.patternPositions[ha.to.toString()],Ta=Ca.patternPositions[ha.from.toString()];Ia&&Ta&&Fn.setConstantPatternPositions(Ia,Ta)}var Oa=ge.translatePosMatrix(hn.posMatrix,dn,ye.paint.get("fill-extrusion-translate"),ye.paint.get("fill-extrusion-translate-anchor")),Va=ye.paint.get("fill-extrusion-vertical-gradient"),Ka=lr?Eu(Oa,ge,Va,_r,hn,Er,dn):r0(Oa,ge,Va,_r);la.draw(yt,yt.gl.TRIANGLES,xe,Ge,nt,Ht.backCCW,Ka,ye.id,_n.layoutVertexBuffer,_n.indexBuffer,_n.segments,ye.paint,ge.transform.zoom,Fn)}}}function vp(ge,ne,ye,se){if(!(ge.renderPass!=="offscreen"&&ge.renderPass!=="translucent")){for(var xe=ge.context,Ge=ge.depthModeForSublayer(0,Pr.ReadOnly),nt=ge.colorModeForRenderPass(),yt=ge.renderPass==="translucent"?ge.stencilConfigForOverlap(se):[{},se],Ft=yt[0],Jt=yt[1],lr=0,Er=Jt;lr<Er.length;lr+=1){var _r=Er[lr],Qr=ne.getTile(_r);Qr.needsHillshadePrepare&&ge.renderPass==="offscreen"?mp(ge,Qr,ye,Ge,ur.disabled,nt):ge.renderPass==="translucent"&&p0(ge,Qr,ye,Ge,Ft[_r.overscaledZ],nt)}xe.viewport.set([0,0,ge.width,ge.height])}}function p0(ge,ne,ye,se,xe,Ge){var nt=ge.context,yt=nt.gl,Ft=ne.fbo;if(Ft){var Jt=ge.useProgram("hillshade");nt.activeTexture.set(yt.TEXTURE0),yt.bindTexture(yt.TEXTURE_2D,Ft.colorAttachment.get());var lr=Br(ge,ne,ye);Jt.draw(nt,yt.TRIANGLES,se,xe,Ge,Ht.disabled,lr,ye.id,ge.rasterBoundsBuffer,ge.quadTriangleIndexBuffer,ge.rasterBoundsSegments)}}function mp(ge,ne,ye,se,xe,Ge){var nt=ge.context,yt=nt.gl,Ft=ne.dem;if(Ft&&Ft.data){var Jt=Ft.dim,lr=Ft.stride,Er=Ft.getPixels();if(nt.activeTexture.set(yt.TEXTURE1),nt.pixelStoreUnpackPremultiplyAlpha.set(!1),ne.demTexture=ne.demTexture||ge.getTileTexture(lr),ne.demTexture){var _r=ne.demTexture;_r.update(Er,{premultiply:!1}),_r.bind(yt.NEAREST,yt.CLAMP_TO_EDGE)}else ne.demTexture=new i.Texture(nt,Er,yt.RGBA,{premultiply:!1}),ne.demTexture.bind(yt.NEAREST,yt.CLAMP_TO_EDGE);nt.activeTexture.set(yt.TEXTURE0);var Qr=ne.fbo;if(!Qr){var pn=new i.Texture(nt,{width:Jt,height:Jt,data:null},yt.RGBA);pn.bind(yt.LINEAR,yt.CLAMP_TO_EDGE),Qr=ne.fbo=nt.createFramebuffer(Jt,Jt,!0),Qr.colorAttachment.set(pn.texture)}nt.bindFramebuffer.set(Qr.framebuffer),nt.viewport.set([0,0,Jt,Jt]),ge.useProgram("hillshadePrepare").draw(nt,yt.TRIANGLES,se,xe,Ge,Ht.disabled,sh(ne.tileID,Ft),ye.id,ge.rasterBoundsBuffer,ge.quadTriangleIndexBuffer,ge.rasterBoundsSegments),ne.needsHillshadePrepare=!1}}function wu(ge,ne,ye,se){if(ge.renderPass==="translucent"&&ye.paint.get("raster-opacity")!==0&&se.length)for(var xe=ge.context,Ge=xe.gl,nt=ne.getSource(),yt=ge.useProgram("raster"),Ft=ge.colorModeForRenderPass(),Jt=nt instanceof Q?[{},se]:ge.stencilConfigForOverlap(se),lr=Jt[0],Er=Jt[1],_r=Er[Er.length-1].overscaledZ,Qr=!ge.options.moving,pn=0,hn=Er;pn<hn.length;pn+=1){var dn=hn[pn],_n=ge.depthModeForSublayer(dn.overscaledZ-_r,ye.paint.get("raster-opacity")===1?Pr.ReadWrite:Pr.ReadOnly,Ge.LESS),Fn=ne.getTile(dn),la=ge.transform.calculatePosMatrix(dn.toUnwrapped(),Qr);Fn.registerFadeDuration(ye.paint.get("raster-fade-duration"));var ha=ne.findLoadedParent(dn,0),Ca=f1(Fn,ha,ne,ye,ge.transform),Ia=void 0,Ta=void 0,Oa=ye.paint.get("raster-resampling")==="nearest"?Ge.NEAREST:Ge.LINEAR;xe.activeTexture.set(Ge.TEXTURE0),Fn.texture.bind(Oa,Ge.CLAMP_TO_EDGE,Ge.LINEAR_MIPMAP_NEAREST),xe.activeTexture.set(Ge.TEXTURE1),ha?(ha.texture.bind(Oa,Ge.CLAMP_TO_EDGE,Ge.LINEAR_MIPMAP_NEAREST),Ia=Math.pow(2,ha.tileID.overscaledZ-Fn.tileID.overscaledZ),Ta=[Fn.tileID.canonical.x*Ia%1,Fn.tileID.canonical.y*Ia%1]):Fn.texture.bind(Oa,Ge.CLAMP_TO_EDGE,Ge.LINEAR_MIPMAP_NEAREST);var Va=su(la,Ta||[0,0],Ia||1,Ca,ye);nt instanceof Q?yt.draw(xe,Ge.TRIANGLES,_n,ur.disabled,Ft,Ht.disabled,Va,ye.id,nt.boundsBuffer,ge.quadTriangleIndexBuffer,nt.boundsSegments):yt.draw(xe,Ge.TRIANGLES,_n,lr[dn.overscaledZ],Ft,Ht.disabled,Va,ye.id,ge.rasterBoundsBuffer,ge.quadTriangleIndexBuffer,ge.rasterBoundsSegments)}}function f1(ge,ne,ye,se,xe){var Ge=se.paint.get("raster-fade-duration");if(Ge>0){var nt=i.browser.now(),yt=(nt-ge.timeAdded)/Ge,Ft=ne?(nt-ne.timeAdded)/Ge:-1,Jt=ye.getSource(),lr=xe.coveringZoomLevel({tileSize:Jt.tileSize,roundZoom:Jt.roundZoom}),Er=!ne||Math.abs(ne.tileID.overscaledZ-lr)>Math.abs(ge.tileID.overscaledZ-lr),_r=Er&&ge.refreshedUponExpiration?1:i.clamp(Er?yt:1-Ft,0,1);return ge.refreshedUponExpiration&&yt>=1&&(ge.refreshedUponExpiration=!1),ne?{opacity:1,mix:1-_r}:{opacity:_r,mix:0}}else return{opacity:1,mix:0}}function uh(ge,ne,ye){var se=ye.paint.get("background-color"),xe=ye.paint.get("background-opacity");if(xe!==0){var Ge=ge.context,nt=Ge.gl,yt=ge.transform,Ft=yt.tileSize,Jt=ye.paint.get("background-pattern");if(!ge.isPatternMissing(Jt)){var lr=!Jt&&se.a===1&&xe===1&&ge.opaquePassEnabledForLayer()?"opaque":"translucent";if(ge.renderPass===lr){var Er=ur.disabled,_r=ge.depthModeForSublayer(0,lr==="opaque"?Pr.ReadWrite:Pr.ReadOnly),Qr=ge.colorModeForRenderPass(),pn=ge.useProgram(Jt?"backgroundPattern":"background"),hn=yt.coveringTiles({tileSize:Ft});Jt&&(Ge.activeTexture.set(nt.TEXTURE0),ge.imageManager.bind(ge.context));for(var dn=ye.getCrossfadeParameters(),_n=0,Fn=hn;_n<Fn.length;_n+=1){var la=Fn[_n],ha=ge.transform.calculatePosMatrix(la.toUnwrapped()),Ca=Jt?c0(ha,xe,ge,Jt,{tileID:la,tileSize:Ft},dn):Vc(ha,xe,se);pn.draw(Ge,nt.TRIANGLES,_r,Er,Qr,Ht.disabled,Ca,ye.id,ge.tileExtentBuffer,ge.quadTriangleIndexBuffer,ge.tileExtentSegments)}}}}}var gp=new i.Color(1,0,0,1),v0=new i.Color(0,1,0,1),dv=new i.Color(0,0,1,1),at=new i.Color(1,0,1,1),ft=new i.Color(0,1,1,1);function Tt(ge){var ne=ge.transform.padding,ye=3;Yt(ge,ge.transform.height-(ne.top||0),ye,gp),Yt(ge,ne.bottom||0,ye,v0),$t(ge,ne.left||0,ye,dv),$t(ge,ge.transform.width-(ne.right||0),ye,at);var se=ge.transform.centerPoint;kt(ge,se.x,ge.transform.height-se.y,ft)}function kt(ge,ne,ye,se){var xe=20,Ge=2;qt(ge,ne-Ge/2,ye-xe/2,Ge,xe,se),qt(ge,ne-xe/2,ye-Ge/2,xe,Ge,se)}function Yt(ge,ne,ye,se){qt(ge,0,ne+ye/2,ge.transform.width,ye,se)}function $t(ge,ne,ye,se){qt(ge,ne-ye/2,0,ye,ge.transform.height,se)}function qt(ge,ne,ye,se,xe,Ge){var nt=ge.context,yt=nt.gl;yt.enable(yt.SCISSOR_TEST),yt.scissor(ne*i.browser.devicePixelRatio,ye*i.browser.devicePixelRatio,se*i.browser.devicePixelRatio,xe*i.browser.devicePixelRatio),nt.clear({color:Ge}),yt.disable(yt.SCISSOR_TEST)}function Mr(ge,ne,ye){for(var se=0;se<ye.length;se++)Nr(ge,ne,ye[se])}function Nr(ge,ne,ye){var se=ge.context,xe=se.gl,Ge=ye.posMatrix,nt=ge.useProgram("debug"),yt=Pr.disabled,Ft=ur.disabled,Jt=ge.colorModeForRenderPass(),lr="$debug";se.activeTexture.set(xe.TEXTURE0),ge.emptyTexture.bind(xe.LINEAR,xe.CLAMP_TO_EDGE),nt.draw(se,xe.LINE_STRIP,yt,Ft,Jt,Ht.disabled,Js(Ge,i.Color.red),lr,ge.debugBuffer,ge.tileBorderIndexBuffer,ge.debugSegments);var Er=ne.getTileByID(ye.key).latestRawTileData,_r=Er&&Er.byteLength||0,Qr=Math.floor(_r/1024),pn=ne.getTile(ye).tileSize,hn=512/Math.min(pn,512)*(ye.overscaledZ/ge.transform.zoom)*.5,dn=ye.canonical.toString();ye.overscaledZ!==ye.canonical.z&&(dn+=" => "+ye.overscaledZ);var _n=dn+" "+Qr+"kb";gr(ge,_n),nt.draw(se,xe.TRIANGLES,yt,Ft,mt.alphaBlended,Ht.disabled,Js(Ge,i.Color.transparent,hn),lr,ge.debugBuffer,ge.quadTriangleIndexBuffer,ge.debugSegments)}function gr(ge,ne){ge.initDebugOverlayCanvas();var ye=ge.debugOverlayCanvas,se=ge.context.gl,xe=ge.debugOverlayCanvas.getContext("2d");xe.clearRect(0,0,ye.width,ye.height),xe.shadowColor="white",xe.shadowBlur=2,xe.lineWidth=1.5,xe.strokeStyle="white",xe.textBaseline="top",xe.font="bold 36px Open Sans, sans-serif",xe.fillText(ne,5,5),xe.strokeText(ne,5,5),ge.debugOverlayTexture.update(ye),ge.debugOverlayTexture.bind(se.LINEAR,se.CLAMP_TO_EDGE)}function Ur(ge,ne,ye){var se=ge.context,xe=ye.implementation;if(ge.renderPass==="offscreen"){var Ge=xe.prerender;Ge&&(ge.setCustomLayerDefaults(),se.setColorMode(ge.colorModeForRenderPass()),Ge.call(xe,se.gl,ge.transform.customLayerMatrix()),se.setDirty(),ge.setBaseState())}else if(ge.renderPass==="translucent"){ge.setCustomLayerDefaults(),se.setColorMode(ge.colorModeForRenderPass()),se.setStencilMode(ur.disabled);var nt=xe.renderingMode==="3d"?new Pr(ge.context.gl.LEQUAL,Pr.ReadWrite,ge.depthRangeFor3D):ge.depthModeForSublayer(0,Pr.ReadOnly);se.setDepthMode(nt),xe.render(se.gl,ge.transform.customLayerMatrix()),se.setDirty(),ge.setBaseState(),se.bindFramebuffer.set(null)}}var Zr={symbol:d1,circle:pp,heatmap:Hu,line:Su,fill:Vu,"fill-extrusion":jc,hillshade:vp,raster:wu,background:uh,debug:Mr,custom:Ur},an=function(ne,ye){this.context=new Ut(ne),this.transform=ye,this._tileTextures={},this.setup(),this.numSublayers=Zt.maxUnderzooming+Zt.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new Wa,this.gpuTimers={}};an.prototype.resize=function(ne,ye){if(this.width=ne*i.browser.devicePixelRatio,this.height=ye*i.browser.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(var se=0,xe=this.style._order;se<xe.length;se+=1){var Ge=xe[se];this.style._layers[Ge].resize()}},an.prototype.setup=function(){var ne=this.context,ye=new i.StructArrayLayout2i4;ye.emplaceBack(0,0),ye.emplaceBack(i.EXTENT,0),ye.emplaceBack(0,i.EXTENT),ye.emplaceBack(i.EXTENT,i.EXTENT),this.tileExtentBuffer=ne.createVertexBuffer(ye,cc.members),this.tileExtentSegments=i.SegmentVector.simpleSegment(0,0,4,2);var se=new i.StructArrayLayout2i4;se.emplaceBack(0,0),se.emplaceBack(i.EXTENT,0),se.emplaceBack(0,i.EXTENT),se.emplaceBack(i.EXTENT,i.EXTENT),this.debugBuffer=ne.createVertexBuffer(se,cc.members),this.debugSegments=i.SegmentVector.simpleSegment(0,0,4,5);var xe=new i.StructArrayLayout4i8;xe.emplaceBack(0,0,0,0),xe.emplaceBack(i.EXTENT,0,i.EXTENT,0),xe.emplaceBack(0,i.EXTENT,0,i.EXTENT),xe.emplaceBack(i.EXTENT,i.EXTENT,i.EXTENT,i.EXTENT),this.rasterBoundsBuffer=ne.createVertexBuffer(xe,X.members),this.rasterBoundsSegments=i.SegmentVector.simpleSegment(0,0,4,2);var Ge=new i.StructArrayLayout2i4;Ge.emplaceBack(0,0),Ge.emplaceBack(1,0),Ge.emplaceBack(0,1),Ge.emplaceBack(1,1),this.viewportBuffer=ne.createVertexBuffer(Ge,cc.members),this.viewportSegments=i.SegmentVector.simpleSegment(0,0,4,2);var nt=new i.StructArrayLayout1ui2;nt.emplaceBack(0),nt.emplaceBack(1),nt.emplaceBack(3),nt.emplaceBack(2),nt.emplaceBack(0),this.tileBorderIndexBuffer=ne.createIndexBuffer(nt);var yt=new i.StructArrayLayout3ui6;yt.emplaceBack(0,1,2),yt.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=ne.createIndexBuffer(yt),this.emptyTexture=new i.Texture(ne,{width:1,height:1,data:new Uint8Array([0,0,0,0])},ne.gl.RGBA);var Ft=this.context.gl;this.stencilClearMode=new ur({func:Ft.ALWAYS,mask:0},0,255,Ft.ZERO,Ft.ZERO,Ft.ZERO)},an.prototype.clearStencil=function(){var ne=this.context,ye=ne.gl;this.nextStencilID=1,this.currentStencilSource=void 0;var se=i.create();i.ortho(se,0,this.width,this.height,0,0,1),i.scale(se,se,[ye.drawingBufferWidth,ye.drawingBufferHeight,0]),this.useProgram("clippingMask").draw(ne,ye.TRIANGLES,Pr.disabled,this.stencilClearMode,mt.disabled,Ht.disabled,lp(se),"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)},an.prototype._renderTileClippingMasks=function(ne,ye){if(!(this.currentStencilSource===ne.source||!ne.isTileClipped()||!ye||!ye.length)){this.currentStencilSource=ne.source;var se=this.context,xe=se.gl;this.nextStencilID+ye.length>256&&this.clearStencil(),se.setColorMode(mt.disabled),se.setDepthMode(Pr.disabled);var Ge=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var nt=0,yt=ye;nt<yt.length;nt+=1){var Ft=yt[nt],Jt=this._tileClippingMaskIDs[Ft.key]=this.nextStencilID++;Ge.draw(se,xe.TRIANGLES,Pr.disabled,new ur({func:xe.ALWAYS,mask:0},Jt,255,xe.KEEP,xe.KEEP,xe.REPLACE),mt.disabled,Ht.disabled,lp(Ft.posMatrix),"$clipping",this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments)}}},an.prototype.stencilModeFor3D=function(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();var ne=this.nextStencilID++,ye=this.context.gl;return new ur({func:ye.NOTEQUAL,mask:255},ne,255,ye.KEEP,ye.KEEP,ye.REPLACE)},an.prototype.stencilModeForClipping=function(ne){var ye=this.context.gl;return new ur({func:ye.EQUAL,mask:255},this._tileClippingMaskIDs[ne.key],0,ye.KEEP,ye.KEEP,ye.REPLACE)},an.prototype.stencilConfigForOverlap=function(ne){var ye,se=this.context.gl,xe=ne.sort(function(Jt,lr){return lr.overscaledZ-Jt.overscaledZ}),Ge=xe[xe.length-1].overscaledZ,nt=xe[0].overscaledZ-Ge+1;if(nt>1){this.currentStencilSource=void 0,this.nextStencilID+nt>256&&this.clearStencil();for(var yt={},Ft=0;Ft<nt;Ft++)yt[Ft+Ge]=new ur({func:se.GEQUAL,mask:255},Ft+this.nextStencilID,255,se.KEEP,se.KEEP,se.REPLACE);return this.nextStencilID+=nt,[yt,xe]}return[(ye={},ye[Ge]=ur.disabled,ye),xe]},an.prototype.colorModeForRenderPass=function(){var ne=this.context.gl;if(this._showOverdrawInspector){var ye=8,se=1/ye;return new mt([ne.CONSTANT_COLOR,ne.ONE],new i.Color(se,se,se,0),[!0,!0,!0,!0])}else return this.renderPass==="opaque"?mt.unblended:mt.alphaBlended},an.prototype.depthModeForSublayer=function(ne,ye,se){if(!this.opaquePassEnabledForLayer())return Pr.disabled;var xe=1-((1+this.currentLayer)*this.numSublayers+ne)*this.depthEpsilon;return new Pr(se||this.context.gl.LEQUAL,ye,[xe,xe])},an.prototype.opaquePassEnabledForLayer=function(){return this.currentLayer<this.opaquePassCutoff},an.prototype.render=function(ne,ye){var se=this;this.style=ne,this.options=ye,this.lineAtlas=ne.lineAtlas,this.imageManager=ne.imageManager,this.glyphManager=ne.glyphManager,this.symbolFadeChange=ne.placement.symbolFadeChange(i.browser.now()),this.imageManager.beginFrame();var xe=this.style._order,Ge=this.style.sourceCaches;for(var nt in Ge){var yt=Ge[nt];yt.used&&yt.prepare(this.context)}var Ft={},Jt={},lr={};for(var Er in Ge){var _r=Ge[Er];Ft[Er]=_r.getVisibleCoordinates(),Jt[Er]=Ft[Er].slice().reverse(),lr[Er]=_r.getVisibleCoordinates(!0).reverse()}this.opaquePassCutoff=1/0;for(var Qr=0;Qr<xe.length;Qr++){var pn=xe[Qr];if(this.style._layers[pn].is3D()){this.opaquePassCutoff=Qr;break}}this.renderPass="offscreen";for(var hn=0,dn=xe;hn<dn.length;hn+=1){var _n=dn[hn],Fn=this.style._layers[_n];if(!(!Fn.hasOffscreenPass()||Fn.isHidden(this.transform.zoom))){var la=Jt[Fn.source];Fn.type!=="custom"&&!la.length||this.renderLayer(this,Ge[Fn.source],Fn,la)}}for(this.context.bindFramebuffer.set(null),this.context.clear({color:ye.showOverdrawInspector?i.Color.black:i.Color.transparent,depth:1}),this.clearStencil(),this._showOverdrawInspector=ye.showOverdrawInspector,this.depthRangeFor3D=[0,1-(ne._order.length+2)*this.numSublayers*this.depthEpsilon],this.renderPass="opaque",this.currentLayer=xe.length-1;this.currentLayer>=0;this.currentLayer--){var ha=this.style._layers[xe[this.currentLayer]],Ca=Ge[ha.source],Ia=Ft[ha.source];this._renderTileClippingMasks(ha,Ia),this.renderLayer(this,Ca,ha,Ia)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer<xe.length;this.currentLayer++){var Ta=this.style._layers[xe[this.currentLayer]],Oa=Ge[Ta.source],Va=(Ta.type==="symbol"?lr:Jt)[Ta.source];this._renderTileClippingMasks(Ta,Ft[Ta.source]),this.renderLayer(this,Oa,Ta,Va)}if(this.options.showTileBoundaries){var Ka,vi,ai=i.values(this.style._layers);ai.forEach(function(ji){ji.source&&!ji.isHidden(se.transform.zoom)&&(ji.source!==(vi&&vi.id)&&(vi=se.style.sourceCaches[ji.source]),(!Ka||Ka.getSource().maxzoom<vi.getSource().maxzoom)&&(Ka=vi))}),Ka&&Zr.debug(this,Ka,Ka.getVisibleCoordinates())}this.options.showPadding&&Tt(this),this.context.setDefault()},an.prototype.renderLayer=function(ne,ye,se,xe){se.isHidden(this.transform.zoom)||se.type!=="background"&&se.type!=="custom"&&!xe.length||(this.id=se.id,this.gpuTimingStart(se),Zr[se.type](ne,ye,se,xe,this.style.placement.variableOffsets),this.gpuTimingEnd())},an.prototype.gpuTimingStart=function(ne){if(this.options.gpuTiming){var ye=this.context.extTimerQuery,se=this.gpuTimers[ne.id];se||(se=this.gpuTimers[ne.id]={calls:0,cpuTime:0,query:ye.createQueryEXT()}),se.calls++,ye.beginQueryEXT(ye.TIME_ELAPSED_EXT,se.query)}},an.prototype.gpuTimingEnd=function(){if(this.options.gpuTiming){var ne=this.context.extTimerQuery;ne.endQueryEXT(ne.TIME_ELAPSED_EXT)}},an.prototype.collectGpuTimers=function(){var ne=this.gpuTimers;return this.gpuTimers={},ne},an.prototype.queryGpuTimers=function(ne){var ye={};for(var se in ne){var xe=ne[se],Ge=this.context.extTimerQuery,nt=Ge.getQueryObjectEXT(xe.query,Ge.QUERY_RESULT_EXT)/(1e3*1e3);Ge.deleteQueryEXT(xe.query),ye[se]=nt}return ye},an.prototype.translatePosMatrix=function(ne,ye,se,xe,Ge){if(!se[0]&&!se[1])return ne;var nt=Ge?xe==="map"?this.transform.angle:0:xe==="viewport"?-this.transform.angle:0;if(nt){var yt=Math.sin(nt),Ft=Math.cos(nt);se=[se[0]*Ft-se[1]*yt,se[0]*yt+se[1]*Ft]}var Jt=[Ge?se[0]:Vn(ye,se[0],this.transform.zoom),Ge?se[1]:Vn(ye,se[1],this.transform.zoom),0],lr=new Float32Array(16);return i.translate(lr,ne,Jt),lr},an.prototype.saveTileTexture=function(ne){var ye=this._tileTextures[ne.size[0]];ye?ye.push(ne):this._tileTextures[ne.size[0]]=[ne]},an.prototype.getTileTexture=function(ne){var ye=this._tileTextures[ne];return ye&&ye.length>0?ye.pop():null},an.prototype.isPatternMissing=function(ne){if(!ne)return!1;if(!ne.from||!ne.to)return!0;var ye=this.imageManager.getPattern(ne.from.toString()),se=this.imageManager.getPattern(ne.to.toString());return!ye||!se},an.prototype.useProgram=function(ne,ye){this.cache=this.cache||{};var se=""+ne+(ye?ye.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[se]||(this.cache[se]=new av(this.context,ne,Af[ne],ye,kf[ne],this._showOverdrawInspector)),this.cache[se]},an.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},an.prototype.setBaseState=function(){var ne=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(ne.FUNC_ADD)},an.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=i.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var ne=this.context.gl;this.debugOverlayTexture=new i.Texture(this.context,this.debugOverlayCanvas,ne.RGBA)}},an.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var Cn=function(ne,ye){this.points=ne,this.planes=ye};Cn.fromInvProjectionMatrix=function(ne,ye,se){var xe=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]],Ge=Math.pow(2,se),nt=xe.map(function(Jt){return i.transformMat4([],Jt,ne)}).map(function(Jt){return i.scale$1([],Jt,1/Jt[3]/ye*Ge)}),yt=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]],Ft=yt.map(function(Jt){var lr=i.sub([],nt[Jt[0]],nt[Jt[1]]),Er=i.sub([],nt[Jt[2]],nt[Jt[1]]),_r=i.normalize([],i.cross([],lr,Er)),Qr=-i.dot(_r,nt[Jt[1]]);return _r.concat(Qr)});return new Cn(nt,Ft)};var Zn=function(ne,ye){this.min=ne,this.max=ye,this.center=i.scale$2([],i.add([],this.min,this.max),.5)};Zn.prototype.quadrant=function(ne){for(var ye=[ne%2===0,ne<2],se=i.clone$2(this.min),xe=i.clone$2(this.max),Ge=0;Ge<ye.length;Ge++)se[Ge]=ye[Ge]?this.min[Ge]:this.center[Ge],xe[Ge]=ye[Ge]?this.center[Ge]:this.max[Ge];return xe[2]=this.max[2],new Zn(se,xe)},Zn.prototype.distanceX=function(ne){var ye=Math.max(Math.min(this.max[0],ne[0]),this.min[0]);return ye-ne[0]},Zn.prototype.distanceY=function(ne){var ye=Math.max(Math.min(this.max[1],ne[1]),this.min[1]);return ye-ne[1]},Zn.prototype.intersects=function(ne){for(var ye=[[this.min[0],this.min[1],0,1],[this.max[0],this.min[1],0,1],[this.max[0],this.max[1],0,1],[this.min[0],this.max[1],0,1]],se=!0,xe=0;xe<ne.planes.length;xe++){for(var Ge=ne.planes[xe],nt=0,yt=0;yt<ye.length;yt++)nt+=i.dot$1(Ge,ye[yt])>=0;if(nt===0)return 0;nt!==ye.length&&(se=!1)}if(se)return 2;for(var Ft=0;Ft<3;Ft++){for(var Jt=Number.MAX_VALUE,lr=-Number.MAX_VALUE,Er=0;Er<ne.points.length;Er++){var _r=ne.points[Er][Ft]-this.min[Ft];Jt=Math.min(Jt,_r),lr=Math.max(lr,_r)}if(lr<0||Jt>this.max[Ft]-this.min[Ft])return 0}return 1};var oa=function(ne,ye,se,xe){if(ne===void 0&&(ne=0),ye===void 0&&(ye=0),se===void 0&&(se=0),xe===void 0&&(xe=0),isNaN(ne)||ne<0||isNaN(ye)||ye<0||isNaN(se)||se<0||isNaN(xe)||xe<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=ne,this.bottom=ye,this.left=se,this.right=xe};oa.prototype.interpolate=function(ne,ye,se){return ye.top!=null&&ne.top!=null&&(this.top=i.number(ne.top,ye.top,se)),ye.bottom!=null&&ne.bottom!=null&&(this.bottom=i.number(ne.bottom,ye.bottom,se)),ye.left!=null&&ne.left!=null&&(this.left=i.number(ne.left,ye.left,se)),ye.right!=null&&ne.right!=null&&(this.right=i.number(ne.right,ye.right,se)),this},oa.prototype.getCenter=function(ne,ye){var se=i.clamp((this.left+ne-this.right)/2,0,ne),xe=i.clamp((this.top+ye-this.bottom)/2,0,ye);return new i.Point(se,xe)},oa.prototype.equals=function(ne){return this.top===ne.top&&this.bottom===ne.bottom&&this.left===ne.left&&this.right===ne.right},oa.prototype.clone=function(){return new oa(this.top,this.bottom,this.left,this.right)},oa.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var fa=function(ne,ye,se,xe,Ge){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Ge===void 0?!0:Ge,this._minZoom=ne||0,this._maxZoom=ye||22,this._minPitch=se??0,this._maxPitch=xe??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new i.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new oa,this._posMatrixCache={},this._alignedPosMatrixCache={}},La={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};fa.prototype.clone=function(){var ne=new fa(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return ne.tileSize=this.tileSize,ne.latRange=this.latRange,ne.width=this.width,ne.height=this.height,ne._center=this._center,ne.zoom=this.zoom,ne.angle=this.angle,ne._fov=this._fov,ne._pitch=this._pitch,ne._unmodified=this._unmodified,ne._edgeInsets=this._edgeInsets.clone(),ne._calcMatrices(),ne},La.minZoom.get=function(){return this._minZoom},La.minZoom.set=function(ge){this._minZoom!==ge&&(this._minZoom=ge,this.zoom=Math.max(this.zoom,ge))},La.maxZoom.get=function(){return this._maxZoom},La.maxZoom.set=function(ge){this._maxZoom!==ge&&(this._maxZoom=ge,this.zoom=Math.min(this.zoom,ge))},La.minPitch.get=function(){return this._minPitch},La.minPitch.set=function(ge){this._minPitch!==ge&&(this._minPitch=ge,this.pitch=Math.max(this.pitch,ge))},La.maxPitch.get=function(){return this._maxPitch},La.maxPitch.set=function(ge){this._maxPitch!==ge&&(this._maxPitch=ge,this.pitch=Math.min(this.pitch,ge))},La.renderWorldCopies.get=function(){return this._renderWorldCopies},La.renderWorldCopies.set=function(ge){ge===void 0?ge=!0:ge===null&&(ge=!1),this._renderWorldCopies=ge},La.worldSize.get=function(){return this.tileSize*this.scale},La.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},La.size.get=function(){return new i.Point(this.width,this.height)},La.bearing.get=function(){return-this.angle/Math.PI*180},La.bearing.set=function(ge){var ne=-i.wrap(ge,-180,180)*Math.PI/180;this.angle!==ne&&(this._unmodified=!1,this.angle=ne,this._calcMatrices(),this.rotationMatrix=i.create$2(),i.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},La.pitch.get=function(){return this._pitch/Math.PI*180},La.pitch.set=function(ge){var ne=i.clamp(ge,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ne&&(this._unmodified=!1,this._pitch=ne,this._calcMatrices())},La.fov.get=function(){return this._fov/Math.PI*180},La.fov.set=function(ge){ge=Math.max(.01,Math.min(60,ge)),this._fov!==ge&&(this._unmodified=!1,this._fov=ge/180*Math.PI,this._calcMatrices())},La.zoom.get=function(){return this._zoom},La.zoom.set=function(ge){var ne=Math.min(Math.max(ge,this.minZoom),this.maxZoom);this._zoom!==ne&&(this._unmodified=!1,this._zoom=ne,this.scale=this.zoomScale(ne),this.tileZoom=Math.floor(ne),this.zoomFraction=ne-this.tileZoom,this._constrain(),this._calcMatrices())},La.center.get=function(){return this._center},La.center.set=function(ge){ge.lat===this._center.lat&&ge.lng===this._center.lng||(this._unmodified=!1,this._center=ge,this._constrain(),this._calcMatrices())},La.padding.get=function(){return this._edgeInsets.toJSON()},La.padding.set=function(ge){this._edgeInsets.equals(ge)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,ge,1),this._calcMatrices())},La.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},fa.prototype.isPaddingEqual=function(ne){return this._edgeInsets.equals(ne)},fa.prototype.interpolatePadding=function(ne,ye,se){this._unmodified=!1,this._edgeInsets.interpolate(ne,ye,se),this._constrain(),this._calcMatrices()},fa.prototype.coveringZoomLevel=function(ne){var ye=(ne.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/ne.tileSize));return Math.max(0,ye)},fa.prototype.getVisibleUnwrappedCoordinates=function(ne){var ye=[new i.UnwrappedTileID(0,ne)];if(this._renderWorldCopies)for(var se=this.pointCoordinate(new i.Point(0,0)),xe=this.pointCoordinate(new i.Point(this.width,0)),Ge=this.pointCoordinate(new i.Point(this.width,this.height)),nt=this.pointCoordinate(new i.Point(0,this.height)),yt=Math.floor(Math.min(se.x,xe.x,Ge.x,nt.x)),Ft=Math.floor(Math.max(se.x,xe.x,Ge.x,nt.x)),Jt=1,lr=yt-Jt;lr<=Ft+Jt;lr++)lr!==0&&ye.push(new i.UnwrappedTileID(lr,ne));return ye},fa.prototype.coveringTiles=function(ne){var ye=this.coveringZoomLevel(ne),se=ye;if(ne.minzoom!==void 0&&ye<ne.minzoom)return[];ne.maxzoom!==void 0&&ye>ne.maxzoom&&(ye=ne.maxzoom);var xe=i.MercatorCoordinate.fromLngLat(this.center),Ge=Math.pow(2,ye),nt=[Ge*xe.x,Ge*xe.y,0],yt=Cn.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,ye),Ft=ne.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ft=ye);var Jt=3,lr=function(ai){return{aabb:new Zn([ai*Ge,0,0],[(ai+1)*Ge,Ge,0]),zoom:0,x:0,y:0,wrap:ai,fullyVisible:!1}},Er=[],_r=[],Qr=ye,pn=ne.reparseOverscaled?se:ye;if(this._renderWorldCopies)for(var hn=1;hn<=3;hn++)Er.push(lr(-hn)),Er.push(lr(hn));for(Er.push(lr(0));Er.length>0;){var dn=Er.pop(),_n=dn.x,Fn=dn.y,la=dn.fullyVisible;if(!la){var ha=dn.aabb.intersects(yt);if(ha===0)continue;la=ha===2}var Ca=dn.aabb.distanceX(nt),Ia=dn.aabb.distanceY(nt),Ta=Math.max(Math.abs(Ca),Math.abs(Ia)),Oa=Jt+(1<<Qr-dn.zoom)-2;if(dn.zoom===Qr||Ta>Oa&&dn.zoom>=Ft){_r.push({tileID:new i.OverscaledTileID(dn.zoom===Qr?pn:dn.zoom,dn.wrap,dn.zoom,_n,Fn),distanceSq:i.sqrLen([nt[0]-.5-_n,nt[1]-.5-Fn])});continue}for(var Va=0;Va<4;Va++){var Ka=(_n<<1)+Va%2,vi=(Fn<<1)+(Va>>1);Er.push({aabb:dn.aabb.quadrant(Va),zoom:dn.zoom+1,x:Ka,y:vi,wrap:dn.wrap,fullyVisible:la})}}return _r.sort(function(ai,ji){return ai.distanceSq-ji.distanceSq}).map(function(ai){return ai.tileID})},fa.prototype.resize=function(ne,ye){this.width=ne,this.height=ye,this.pixelsToGLUnits=[2/ne,-2/ye],this._constrain(),this._calcMatrices()},La.unmodified.get=function(){return this._unmodified},fa.prototype.zoomScale=function(ne){return Math.pow(2,ne)},fa.prototype.scaleZoom=function(ne){return Math.log(ne)/Math.LN2},fa.prototype.project=function(ne){var ye=i.clamp(ne.lat,-this.maxValidLatitude,this.maxValidLatitude);return new i.Point(i.mercatorXfromLng(ne.lng)*this.worldSize,i.mercatorYfromLat(ye)*this.worldSize)},fa.prototype.unproject=function(ne){return new i.MercatorCoordinate(ne.x/this.worldSize,ne.y/this.worldSize).toLngLat()},La.point.get=function(){return this.project(this.center)},fa.prototype.setLocationAtPoint=function(ne,ye){var se=this.pointCoordinate(ye),xe=this.pointCoordinate(this.centerPoint),Ge=this.locationCoordinate(ne),nt=new i.MercatorCoordinate(Ge.x-(se.x-xe.x),Ge.y-(se.y-xe.y));this.center=this.coordinateLocation(nt),this._renderWorldCopies&&(this.center=this.center.wrap())},fa.prototype.locationPoint=function(ne){return this.coordinatePoint(this.locationCoordinate(ne))},fa.prototype.pointLocation=function(ne){return this.coordinateLocation(this.pointCoordinate(ne))},fa.prototype.locationCoordinate=function(ne){return i.MercatorCoordinate.fromLngLat(ne)},fa.prototype.coordinateLocation=function(ne){return ne.toLngLat()},fa.prototype.pointCoordinate=function(ne){var ye=0,se=[ne.x,ne.y,0,1],xe=[ne.x,ne.y,1,1];i.transformMat4(se,se,this.pixelMatrixInverse),i.transformMat4(xe,xe,this.pixelMatrixInverse);var Ge=se[3],nt=xe[3],yt=se[0]/Ge,Ft=xe[0]/nt,Jt=se[1]/Ge,lr=xe[1]/nt,Er=se[2]/Ge,_r=xe[2]/nt,Qr=Er===_r?0:(ye-Er)/(_r-Er);return new i.MercatorCoordinate(i.number(yt,Ft,Qr)/this.worldSize,i.number(Jt,lr,Qr)/this.worldSize)},fa.prototype.coordinatePoint=function(ne){var ye=[ne.x*this.worldSize,ne.y*this.worldSize,0,1];return i.transformMat4(ye,ye,this.pixelMatrix),new i.Point(ye[0]/ye[3],ye[1]/ye[3])},fa.prototype.getBounds=function(){return new i.LngLatBounds().extend(this.pointLocation(new i.Point(0,0))).extend(this.pointLocation(new i.Point(this.width,0))).extend(this.pointLocation(new i.Point(this.width,this.height))).extend(this.pointLocation(new i.Point(0,this.height)))},fa.prototype.getMaxBounds=function(){return!this.latRange||this.latRange.length!==2||!this.lngRange||this.lngRange.length!==2?null:new i.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]])},fa.prototype.setMaxBounds=function(ne){ne?(this.lngRange=[ne.getWest(),ne.getEast()],this.latRange=[ne.getSouth(),ne.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},fa.prototype.calculatePosMatrix=function(ne,ye){ye===void 0&&(ye=!1);var se=ne.key,xe=ye?this._alignedPosMatrixCache:this._posMatrixCache;if(xe[se])return xe[se];var Ge=ne.canonical,nt=this.worldSize/this.zoomScale(Ge.z),yt=Ge.x+Math.pow(2,Ge.z)*ne.wrap,Ft=i.identity(new Float64Array(16));return i.translate(Ft,Ft,[yt*nt,Ge.y*nt,0]),i.scale(Ft,Ft,[nt/i.EXTENT,nt/i.EXTENT,1]),i.multiply(Ft,ye?this.alignedProjMatrix:this.projMatrix,Ft),xe[se]=new Float32Array(Ft),xe[se]},fa.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},fa.prototype._constrain=function(){if(!(!this.center||!this.width||!this.height||this._constraining)){this._constraining=!0;var ne=-90,ye=90,se=-180,xe=180,Ge,nt,yt,Ft,Jt=this.size,lr=this._unmodified;if(this.latRange){var Er=this.latRange;ne=i.mercatorYfromLat(Er[1])*this.worldSize,ye=i.mercatorYfromLat(Er[0])*this.worldSize,Ge=ye-ne<Jt.y?Jt.y/(ye-ne):0}if(this.lngRange){var _r=this.lngRange;se=i.mercatorXfromLng(_r[0])*this.worldSize,xe=i.mercatorXfromLng(_r[1])*this.worldSize,nt=xe-se<Jt.x?Jt.x/(xe-se):0}var Qr=this.point,pn=Math.max(nt||0,Ge||0);if(pn){this.center=this.unproject(new i.Point(nt?(xe+se)/2:Qr.x,Ge?(ye+ne)/2:Qr.y)),this.zoom+=this.scaleZoom(pn),this._unmodified=lr,this._constraining=!1;return}if(this.latRange){var hn=Qr.y,dn=Jt.y/2;hn-dn<ne&&(Ft=ne+dn),hn+dn>ye&&(Ft=ye-dn)}if(this.lngRange){var _n=Qr.x,Fn=Jt.x/2;_n-Fn<se&&(yt=se+Fn),_n+Fn>xe&&(yt=xe-Fn)}(yt!==void 0||Ft!==void 0)&&(this.center=this.unproject(new i.Point(yt!==void 0?yt:Qr.x,Ft!==void 0?Ft:Qr.y))),this._unmodified=lr,this._constraining=!1}},fa.prototype._calcMatrices=function(){if(this.height){var ne=this._fov/2,ye=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(ne)*this.height;var se=Math.PI/2+this._pitch,xe=this._fov*(.5+ye.y/this.height),Ge=Math.sin(xe)*this.cameraToCenterDistance/Math.sin(i.clamp(Math.PI-se-xe,.01,Math.PI-.01)),nt=this.point,yt=nt.x,Ft=nt.y,Jt=Math.cos(Math.PI/2-this._pitch)*Ge+this.cameraToCenterDistance,lr=Jt*1.01,Er=this.height/50,_r=new Float64Array(16);i.perspective(_r,this._fov,this.width/this.height,Er,lr),_r[8]=-ye.x*2/this.width,_r[9]=ye.y*2/this.height,i.scale(_r,_r,[1,-1,1]),i.translate(_r,_r,[0,0,-this.cameraToCenterDistance]),i.rotateX(_r,_r,this._pitch),i.rotateZ(_r,_r,this.angle),i.translate(_r,_r,[-yt,-Ft,0]),this.mercatorMatrix=i.scale([],_r,[this.worldSize,this.worldSize,this.worldSize]),i.scale(_r,_r,[1,1,i.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=_r,this.invProjMatrix=i.invert([],this.projMatrix);var Qr=this.width%2/2,pn=this.height%2/2,hn=Math.cos(this.angle),dn=Math.sin(this.angle),_n=yt-Math.round(yt)+hn*Qr+dn*pn,Fn=Ft-Math.round(Ft)+hn*pn+dn*Qr,la=new Float64Array(_r);if(i.translate(la,la,[_n>.5?_n-1:_n,Fn>.5?Fn-1:Fn,0]),this.alignedProjMatrix=la,_r=i.create(),i.scale(_r,_r,[this.width/2,-this.height/2,1]),i.translate(_r,_r,[1,-1,0]),this.labelPlaneMatrix=_r,_r=i.create(),i.scale(_r,_r,[1,-1,1]),i.translate(_r,_r,[-1,-1,0]),i.scale(_r,_r,[2/this.width,2/this.height,1]),this.glCoordMatrix=_r,this.pixelMatrix=i.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),_r=i.invert(new Float64Array(16),this.pixelMatrix),!_r)throw new Error("failed to invert matrix");this.pixelMatrixInverse=_r,this._posMatrixCache={},this._alignedPosMatrixCache={}}},fa.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var ne=this.pointCoordinate(new i.Point(0,0)),ye=[ne.x*this.worldSize,ne.y*this.worldSize,0,1],se=i.transformMat4(ye,ye,this.pixelMatrix);return se[3]/this.cameraToCenterDistance},fa.prototype.getCameraPoint=function(){var ne=this._pitch,ye=Math.tan(ne)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new i.Point(0,ye))},fa.prototype.getCameraQueryGeometry=function(ne){var ye=this.getCameraPoint();if(ne.length===1)return[ne[0],ye];for(var se=ye.x,xe=ye.y,Ge=ye.x,nt=ye.y,yt=0,Ft=ne;yt<Ft.length;yt+=1){var Jt=Ft[yt];se=Math.min(se,Jt.x),xe=Math.min(xe,Jt.y),Ge=Math.max(Ge,Jt.x),nt=Math.max(nt,Jt.y)}return[new i.Point(se,xe),new i.Point(Ge,xe),new i.Point(Ge,nt),new i.Point(se,nt),new i.Point(se,xe)]},Object.defineProperties(fa.prototype,La);function Di(ge,ne){var ye=!1,se=null,xe=function(){se=null,ye&&(ge(),se=setTimeout(xe,ne),ye=!1)};return function(){return ye=!0,se||xe(),se}}var Ii=function(ne){this._hashName=ne&&encodeURIComponent(ne),i.bindAll(["_getCurrentHash","_onHashChange","_updateHash"],this),this._updateHash=Di(this._updateHashUnthrottled.bind(this),30*1e3/100)};Ii.prototype.addTo=function(ne){return this._map=ne,i.window.addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this},Ii.prototype.remove=function(){return i.window.removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),delete this._map,this},Ii.prototype.getHashString=function(ne){var ye=this._map.getCenter(),se=Math.round(this._map.getZoom()*100)/100,xe=Math.ceil((se*Math.LN2+Math.log(512/360/.5))/Math.LN10),Ge=Math.pow(10,xe),nt=Math.round(ye.lng*Ge)/Ge,yt=Math.round(ye.lat*Ge)/Ge,Ft=this._map.getBearing(),Jt=this._map.getPitch(),lr="";if(ne?lr+="/"+nt+"/"+yt+"/"+se:lr+=se+"/"+yt+"/"+nt,(Ft||Jt)&&(lr+="/"+Math.round(Ft*10)/10),Jt&&(lr+="/"+Math.round(Jt)),this._hashName){var Er=this._hashName,_r=!1,Qr=i.window.location.hash.slice(1).split("&").map(function(pn){var hn=pn.split("=")[0];return hn===Er?(_r=!0,hn+"="+lr):pn}).filter(function(pn){return pn});return _r||Qr.push(Er+"="+lr),"#"+Qr.join("&")}return"#"+lr},Ii.prototype._getCurrentHash=function(){var ne=this,ye=i.window.location.hash.replace("#","");if(this._hashName){var se;return ye.split("&").map(function(xe){return xe.split("=")}).forEach(function(xe){xe[0]===ne._hashName&&(se=xe)}),(se&&se[1]||"").split("/")}return ye.split("/")},Ii.prototype._onHashChange=function(){var ne=this._getCurrentHash();if(ne.length>=3&&!ne.some(function(se){return isNaN(se)})){var ye=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(ne[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+ne[2],+ne[1]],zoom:+ne[0],bearing:ye,pitch:+(ne[4]||0)}),!0}return!1},Ii.prototype._updateHashUnthrottled=function(){var ne=i.window.location.href.replace(/(#.+)?$/,this.getHashString());try{i.window.history.replaceState(i.window.history.state,null,ne)}catch{}};var Bi={linearity:.3,easing:i.bezier(0,0,.3,1)},Ki=i.extend({deceleration:2500,maxSpeed:1400},Bi),_o=i.extend({deceleration:20,maxSpeed:1400},Bi),rs=i.extend({deceleration:1e3,maxSpeed:360},Bi),il=i.extend({deceleration:1e3,maxSpeed:90},Bi),ve=function(ne){this._map=ne,this.clear()};ve.prototype.clear=function(){this._inertiaBuffer=[]},ve.prototype.record=function(ne){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:i.browser.now(),settings:ne})},ve.prototype._drainInertiaBuffer=function(){for(var ne=this._inertiaBuffer,ye=i.browser.now(),se=160;ne.length>0&&ye-ne[0].time>se;)ne.shift()},ve.prototype._onMoveEnd=function(ne){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var ye={zoom:0,bearing:0,pitch:0,pan:new i.Point(0,0),pinchAround:void 0,around:void 0},se=0,xe=this._inertiaBuffer;se<xe.length;se+=1){var Ge=xe[se],nt=Ge.settings;ye.zoom+=nt.zoomDelta||0,ye.bearing+=nt.bearingDelta||0,ye.pitch+=nt.pitchDelta||0,nt.panDelta&&ye.pan._add(nt.panDelta),nt.around&&(ye.around=nt.around),nt.pinchAround&&(ye.pinchAround=nt.pinchAround)}var yt=this._inertiaBuffer[this._inertiaBuffer.length-1],Ft=yt.time-this._inertiaBuffer[0].time,Jt={};if(ye.pan.mag()){var lr=Ye(ye.pan.mag(),Ft,i.extend({},Ki,ne||{}));Jt.offset=ye.pan.mult(lr.amount/ye.pan.mag()),Jt.center=this._map.transform.center,De(Jt,lr)}if(ye.zoom){var Er=Ye(ye.zoom,Ft,_o);Jt.zoom=this._map.transform.zoom+Er.amount,De(Jt,Er)}if(ye.bearing){var _r=Ye(ye.bearing,Ft,rs);Jt.bearing=this._map.transform.bearing+i.clamp(_r.amount,-179,179),De(Jt,_r)}if(ye.pitch){var Qr=Ye(ye.pitch,Ft,il);Jt.pitch=this._map.transform.pitch+Qr.amount,De(Jt,Qr)}if(Jt.zoom||Jt.bearing){var pn=ye.pinchAround===void 0?ye.around:ye.pinchAround;Jt.around=pn?this._map.unproject(pn):this._map.getCenter()}return this.clear(),i.extend(Jt,{noMoveStart:!0})}};function De(ge,ne){(!ge.duration||ge.duration<ne.duration)&&(ge.duration=ne.duration,ge.easing=ne.easing)}function Ye(ge,ne,ye){var se=ye.maxSpeed,xe=ye.linearity,Ge=ye.deceleration,nt=i.clamp(ge*xe/(ne/1e3),-se,se),yt=Math.abs(nt)/(Ge*xe);return{easing:ye.easing,duration:yt*1e3,amount:nt*(yt/2)}}var ot=function(ge){function ne(se,xe,Ge,nt){nt===void 0&&(nt={});var yt=g.mousePos(xe.getCanvasContainer(),Ge),Ft=xe.unproject(yt);ge.call(this,se,i.extend({point:yt,lngLat:Ft,originalEvent:Ge},nt)),this._defaultPrevented=!1,this.target=xe}ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne;var ye={defaultPrevented:{configurable:!0}};return ne.prototype.preventDefault=function(){this._defaultPrevented=!0},ye.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(ne.prototype,ye),ne}(i.Event),dt=function(ge){function ne(se,xe,Ge){var nt=se==="touchend"?Ge.changedTouches:Ge.touches,yt=g.touchPos(xe.getCanvasContainer(),nt),Ft=yt.map(function(Er){return xe.unproject(Er)}),Jt=yt.reduce(function(Er,_r,Qr,pn){return Er.add(_r.div(pn.length))},new i.Point(0,0)),lr=xe.unproject(Jt);ge.call(this,se,{points:yt,point:Jt,lngLats:Ft,lngLat:lr,originalEvent:Ge}),this._defaultPrevented=!1}ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne;var ye={defaultPrevented:{configurable:!0}};return ne.prototype.preventDefault=function(){this._defaultPrevented=!0},ye.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(ne.prototype,ye),ne}(i.Event),gt=function(ge){function ne(se,xe,Ge){ge.call(this,se,{originalEvent:Ge}),this._defaultPrevented=!1}ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne;var ye={defaultPrevented:{configurable:!0}};return ne.prototype.preventDefault=function(){this._defaultPrevented=!0},ye.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(ne.prototype,ye),ne}(i.Event),Bt=function(ne,ye){this._map=ne,this._clickTolerance=ye.clickTolerance};Bt.prototype.reset=function(){delete this._mousedownPos},Bt.prototype.wheel=function(ne){return this._firePreventable(new gt(ne.type,this._map,ne))},Bt.prototype.mousedown=function(ne,ye){return this._mousedownPos=ye,this._firePreventable(new ot(ne.type,this._map,ne))},Bt.prototype.mouseup=function(ne){this._map.fire(new ot(ne.type,this._map,ne))},Bt.prototype.click=function(ne,ye){this._mousedownPos&&this._mousedownPos.dist(ye)>=this._clickTolerance||this._map.fire(new ot(ne.type,this._map,ne))},Bt.prototype.dblclick=function(ne){return this._firePreventable(new ot(ne.type,this._map,ne))},Bt.prototype.mouseover=function(ne){this._map.fire(new ot(ne.type,this._map,ne))},Bt.prototype.mouseout=function(ne){this._map.fire(new ot(ne.type,this._map,ne))},Bt.prototype.touchstart=function(ne){return this._firePreventable(new dt(ne.type,this._map,ne))},Bt.prototype.touchmove=function(ne){this._map.fire(new dt(ne.type,this._map,ne))},Bt.prototype.touchend=function(ne){this._map.fire(new dt(ne.type,this._map,ne))},Bt.prototype.touchcancel=function(ne){this._map.fire(new dt(ne.type,this._map,ne))},Bt.prototype._firePreventable=function(ne){if(this._map.fire(ne),ne.defaultPrevented)return{}},Bt.prototype.isEnabled=function(){return!0},Bt.prototype.isActive=function(){return!1},Bt.prototype.enable=function(){},Bt.prototype.disable=function(){};var Lt=function(ne){this._map=ne};Lt.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},Lt.prototype.mousemove=function(ne){this._map.fire(new ot(ne.type,this._map,ne))},Lt.prototype.mousedown=function(){this._delayContextMenu=!0},Lt.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new ot("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},Lt.prototype.contextmenu=function(ne){this._delayContextMenu?this._contextMenuEvent=ne:this._map.fire(new ot(ne.type,this._map,ne)),this._map.listens("contextmenu")&&ne.preventDefault()},Lt.prototype.isEnabled=function(){return!0},Lt.prototype.isActive=function(){return!1},Lt.prototype.enable=function(){},Lt.prototype.disable=function(){};var er=function(ne,ye){this._map=ne,this._el=ne.getCanvasContainer(),this._container=ne.getContainer(),this._clickTolerance=ye.clickTolerance||1};er.prototype.isEnabled=function(){return!!this._enabled},er.prototype.isActive=function(){return!!this._active},er.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},er.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},er.prototype.mousedown=function(ne,ye){this.isEnabled()&&ne.shiftKey&&ne.button===0&&(g.disableDrag(),this._startPos=this._lastPos=ye,this._active=!0)},er.prototype.mousemoveWindow=function(ne,ye){if(this._active){var se=ye;if(!(this._lastPos.equals(se)||!this._box&&se.dist(this._startPos)<this._clickTolerance)){var xe=this._startPos;this._lastPos=se,this._box||(this._box=g.create("div","mapboxgl-boxzoom",this._container),this._container.classList.add("mapboxgl-crosshair"),this._fireEvent("boxzoomstart",ne));var Ge=Math.min(xe.x,se.x),nt=Math.max(xe.x,se.x),yt=Math.min(xe.y,se.y),Ft=Math.max(xe.y,se.y);g.setTransform(this._box,"translate("+Ge+"px,"+yt+"px)"),this._box.style.width=nt-Ge+"px",this._box.style.height=Ft-yt+"px"}}},er.prototype.mouseupWindow=function(ne,ye){var se=this;if(this._active&&ne.button===0){var xe=this._startPos,Ge=ye;if(this.reset(),g.suppressClick(),xe.x===Ge.x&&xe.y===Ge.y)this._fireEvent("boxzoomcancel",ne);else return this._map.fire(new i.Event("boxzoomend",{originalEvent:ne})),{cameraAnimation:function(nt){return nt.fitScreenCoordinates(xe,Ge,se._map.getBearing(),{linear:!0})}}}},er.prototype.keydown=function(ne){this._active&&ne.keyCode===27&&(this.reset(),this._fireEvent("boxzoomcancel",ne))},er.prototype.reset=function(){this._active=!1,this._container.classList.remove("mapboxgl-crosshair"),this._box&&(g.remove(this._box),this._box=null),g.enableDrag(),delete this._startPos,delete this._lastPos},er.prototype._fireEvent=function(ne,ye){return this._map.fire(new i.Event(ne,{originalEvent:ye}))};function tr(ge,ne){for(var ye={},se=0;se<ge.length;se++)ye[ge[se].identifier]=ne[se];return ye}function hr(ge){for(var ne=new i.Point(0,0),ye=0,se=ge;ye<se.length;ye+=1){var xe=se[ye];ne._add(xe)}return ne.div(ge.length)}var Vr=500,Gr=500,En=30,In=function(ne){this.reset(),this.numTouches=ne.numTouches};In.prototype.reset=function(){delete this.centroid,delete this.startTime,delete this.touches,this.aborted=!1},In.prototype.touchstart=function(ne,ye,se){(this.centroid||se.length>this.numTouches)&&(this.aborted=!0),!this.aborted&&(this.startTime===void 0&&(this.startTime=ne.timeStamp),se.length===this.numTouches&&(this.centroid=hr(ye),this.touches=tr(se,ye)))},In.prototype.touchmove=function(ne,ye,se){if(!(this.aborted||!this.centroid)){var xe=tr(se,ye);for(var Ge in this.touches){var nt=this.touches[Ge],yt=xe[Ge];(!yt||yt.dist(nt)>En)&&(this.aborted=!0)}}},In.prototype.touchend=function(ne,ye,se){if((!this.centroid||ne.timeStamp-this.startTime>Gr)&&(this.aborted=!0),se.length===0){var xe=!this.aborted&&this.centroid;if(this.reset(),xe)return xe}};var qr=function(ne){this.singleTap=new In(ne),this.numTaps=ne.numTaps,this.reset()};qr.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},qr.prototype.touchstart=function(ne,ye,se){this.singleTap.touchstart(ne,ye,se)},qr.prototype.touchmove=function(ne,ye,se){this.singleTap.touchmove(ne,ye,se)},qr.prototype.touchend=function(ne,ye,se){var xe=this.singleTap.touchend(ne,ye,se);if(xe){var Ge=ne.timeStamp-this.lastTime<Vr,nt=!this.lastTap||this.lastTap.dist(xe)<En;if((!Ge||!nt)&&this.reset(),this.count++,this.lastTime=ne.timeStamp,this.lastTap=xe,this.count===this.numTaps)return this.reset(),xe}};var nn=function(){this._zoomIn=new qr({numTouches:1,numTaps:2}),this._zoomOut=new qr({numTouches:2,numTaps:1}),this.reset()};nn.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},nn.prototype.touchstart=function(ne,ye,se){this._zoomIn.touchstart(ne,ye,se),this._zoomOut.touchstart(ne,ye,se)},nn.prototype.touchmove=function(ne,ye,se){this._zoomIn.touchmove(ne,ye,se),this._zoomOut.touchmove(ne,ye,se)},nn.prototype.touchend=function(ne,ye,se){var xe=this,Ge=this._zoomIn.touchend(ne,ye,se),nt=this._zoomOut.touchend(ne,ye,se);if(Ge)return this._active=!0,ne.preventDefault(),setTimeout(function(){return xe.reset()},0),{cameraAnimation:function(yt){return yt.easeTo({duration:300,zoom:yt.getZoom()+1,around:yt.unproject(Ge)},{originalEvent:ne})}};if(nt)return this._active=!0,ne.preventDefault(),setTimeout(function(){return xe.reset()},0),{cameraAnimation:function(yt){return yt.easeTo({duration:300,zoom:yt.getZoom()-1,around:yt.unproject(nt)},{originalEvent:ne})}}},nn.prototype.touchcancel=function(){this.reset()},nn.prototype.enable=function(){this._enabled=!0},nn.prototype.disable=function(){this._enabled=!1,this.reset()},nn.prototype.isEnabled=function(){return this._enabled},nn.prototype.isActive=function(){return this._active};var gn=0,On=2,Un={};Un[gn]=1,Un[On]=2;function Tn(ge,ne){var ye=Un[ne];return ge.buttons===void 0||(ge.buttons&ye)!==ye}var Qn=function(ne){this.reset(),this._clickTolerance=ne.clickTolerance||1};Qn.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},Qn.prototype._correctButton=function(ne,ye){return!1},Qn.prototype._move=function(ne,ye){return{}},Qn.prototype.mousedown=function(ne,ye){if(!this._lastPoint){var se=g.mouseButton(ne);this._correctButton(ne,se)&&(this._lastPoint=ye,this._eventButton=se)}},Qn.prototype.mousemoveWindow=function(ne,ye){var se=this._lastPoint;if(se){if(ne.preventDefault(),Tn(ne,this._eventButton)){this.reset();return}if(!(!this._moved&&ye.dist(se)<this._clickTolerance))return this._moved=!0,this._lastPoint=ye,this._move(se,ye)}},Qn.prototype.mouseupWindow=function(ne){if(this._lastPoint){var ye=g.mouseButton(ne);ye===this._eventButton&&(this._moved&&g.suppressClick(),this.reset())}},Qn.prototype.enable=function(){this._enabled=!0},Qn.prototype.disable=function(){this._enabled=!1,this.reset()},Qn.prototype.isEnabled=function(){return this._enabled},Qn.prototype.isActive=function(){return this._active};var $a=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.mousedown=function(se,xe){ge.prototype.mousedown.call(this,se,xe),this._lastPoint&&(this._active=!0)},ne.prototype._correctButton=function(se,xe){return xe===gn&&!se.ctrlKey},ne.prototype._move=function(se,xe){return{around:xe,panDelta:xe.sub(se)}},ne}(Qn),ti=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype._correctButton=function(se,xe){return xe===gn&&se.ctrlKey||xe===On},ne.prototype._move=function(se,xe){var Ge=.8,nt=(xe.x-se.x)*Ge;if(nt)return this._active=!0,{bearingDelta:nt}},ne.prototype.contextmenu=function(se){se.preventDefault()},ne}(Qn),Fa=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype._correctButton=function(se,xe){return xe===gn&&se.ctrlKey||xe===On},ne.prototype._move=function(se,xe){var Ge=-.5,nt=(xe.y-se.y)*Ge;if(nt)return this._active=!0,{pitchDelta:nt}},ne.prototype.contextmenu=function(se){se.preventDefault()},ne}(Qn),Qa=function(ne){this._minTouches=1,this._clickTolerance=ne.clickTolerance||1,this.reset()};Qa.prototype.reset=function(){this._active=!1,this._touches={},this._sum=new i.Point(0,0)},Qa.prototype.touchstart=function(ne,ye,se){return this._calculateTransform(ne,ye,se)},Qa.prototype.touchmove=function(ne,ye,se){if(!(!this._active||se.length<this._minTouches))return ne.preventDefault(),this._calculateTransform(ne,ye,se)},Qa.prototype.touchend=function(ne,ye,se){this._calculateTransform(ne,ye,se),this._active&&se.length<this._minTouches&&this.reset()},Qa.prototype.touchcancel=function(){this.reset()},Qa.prototype._calculateTransform=function(ne,ye,se){se.length>0&&(this._active=!0);var xe=tr(se,ye),Ge=new i.Point(0,0),nt=new i.Point(0,0),yt=0;for(var Ft in xe){var Jt=xe[Ft],lr=this._touches[Ft];lr&&(Ge._add(Jt),nt._add(Jt.sub(lr)),yt++,xe[Ft]=Jt)}if(this._touches=xe,!(yt<this._minTouches||!nt.mag())){var Er=nt.div(yt);if(this._sum._add(Er),!(this._sum.mag()<this._clickTolerance)){var _r=Ge.div(yt);return{around:_r,panDelta:Er}}}},Qa.prototype.enable=function(){this._enabled=!0},Qa.prototype.disable=function(){this._enabled=!1,this.reset()},Qa.prototype.isEnabled=function(){return this._enabled},Qa.prototype.isActive=function(){return this._active};var ri=function(){this.reset()};ri.prototype.reset=function(){this._active=!1,delete this._firstTwoTouches},ri.prototype._start=function(ne){},ri.prototype._move=function(ne,ye,se){return{}},ri.prototype.touchstart=function(ne,ye,se){this._firstTwoTouches||se.length<2||(this._firstTwoTouches=[se[0].identifier,se[1].identifier],this._start([ye[0],ye[1]]))},ri.prototype.touchmove=function(ne,ye,se){if(this._firstTwoTouches){ne.preventDefault();var xe=this._firstTwoTouches,Ge=xe[0],nt=xe[1],yt=Xi(se,ye,Ge),Ft=Xi(se,ye,nt);if(!(!yt||!Ft)){var Jt=this._aroundCenter?null:yt.add(Ft).div(2);return this._move([yt,Ft],Jt,ne)}}},ri.prototype.touchend=function(ne,ye,se){if(this._firstTwoTouches){var xe=this._firstTwoTouches,Ge=xe[0],nt=xe[1],yt=Xi(se,ye,Ge),Ft=Xi(se,ye,nt);yt&&Ft||(this._active&&g.suppressClick(),this.reset())}},ri.prototype.touchcancel=function(){this.reset()},ri.prototype.enable=function(ne){this._enabled=!0,this._aroundCenter=!!ne&&ne.around==="center"},ri.prototype.disable=function(){this._enabled=!1,this.reset()},ri.prototype.isEnabled=function(){return this._enabled},ri.prototype.isActive=function(){return this._active};function Xi(ge,ne,ye){for(var se=0;se<ge.length;se++)if(ge[se].identifier===ye)return ne[se]}var hi=.1;function Gi(ge,ne){return Math.log(ge/ne)/Math.LN2}var Ro=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.reset=function(){ge.prototype.reset.call(this),delete this._distance,delete this._startDistance},ne.prototype._start=function(se){this._startDistance=this._distance=se[0].dist(se[1])},ne.prototype._move=function(se,xe){var Ge=this._distance;if(this._distance=se[0].dist(se[1]),!(!this._active&&Math.abs(Gi(this._distance,this._startDistance))<hi))return this._active=!0,{zoomDelta:Gi(this._distance,Ge),pinchAround:xe}},ne}(ri),el=25;function Vo(ge,ne){return ge.angleWith(ne)*180/Math.PI}var Ba=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.reset=function(){ge.prototype.reset.call(this),delete this._minDiameter,delete this._startVector,delete this._vector},ne.prototype._start=function(se){this._startVector=this._vector=se[0].sub(se[1]),this._minDiameter=se[0].dist(se[1])},ne.prototype._move=function(se,xe){var Ge=this._vector;if(this._vector=se[0].sub(se[1]),!(!this._active&&this._isBelowThreshold(this._vector)))return this._active=!0,{bearingDelta:Vo(this._vector,Ge),pinchAround:xe}},ne.prototype._isBelowThreshold=function(se){this._minDiameter=Math.min(this._minDiameter,se.mag());var xe=Math.PI*this._minDiameter,Ge=el/xe*360,nt=Vo(se,this._startVector);return Math.abs(nt)<Ge},ne}(ri);function Pi(ge){return Math.abs(ge.y)>Math.abs(ge.x)}var _i=100,xo=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.reset=function(){ge.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},ne.prototype._start=function(se){this._lastPoints=se,Pi(se[0].sub(se[1]))&&(this._valid=!1)},ne.prototype._move=function(se,xe,Ge){var nt=se[0].sub(this._lastPoints[0]),yt=se[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(nt,yt,Ge.timeStamp),!!this._valid){this._lastPoints=se,this._active=!0;var Ft=(nt.y+yt.y)/2,Jt=-.5;return{pitchDelta:Ft*Jt}}},ne.prototype.gestureBeginsVertically=function(se,xe,Ge){if(this._valid!==void 0)return this._valid;var nt=2,yt=se.mag()>=nt,Ft=xe.mag()>=nt;if(!(!yt&&!Ft)){if(!yt||!Ft)return this._firstMove===void 0&&(this._firstMove=Ge),Ge-this._firstMove<_i?void 0:!1;var Jt=se.y>0==xe.y>0;return Pi(se)&&Pi(xe)&&Jt}},ne}(ri),Ts={panStep:100,bearingStep:15,pitchStep:10},No=function(){var ne=Ts;this._panStep=ne.panStep,this._bearingStep=ne.bearingStep,this._pitchStep=ne.pitchStep,this._rotationDisabled=!1};No.prototype.reset=function(){this._active=!1},No.prototype.keydown=function(ne){var ye=this;if(!(ne.altKey||ne.ctrlKey||ne.metaKey)){var se=0,xe=0,Ge=0,nt=0,yt=0;switch(ne.keyCode){case 61:case 107:case 171:case 187:se=1;break;case 189:case 109:case 173:se=-1;break;case 37:ne.shiftKey?xe=-1:(ne.preventDefault(),nt=-1);break;case 39:ne.shiftKey?xe=1:(ne.preventDefault(),nt=1);break;case 38:ne.shiftKey?Ge=1:(ne.preventDefault(),yt=-1);break;case 40:ne.shiftKey?Ge=-1:(ne.preventDefault(),yt=1);break;default:return}return this._rotationDisabled&&(xe=0,Ge=0),{cameraAnimation:function(Ft){var Jt=Ft.getZoom();Ft.easeTo({duration:300,easeId:"keyboardHandler",easing:yl,zoom:se?Math.round(Jt)+se*(ne.shiftKey?2:1):Jt,bearing:Ft.getBearing()+xe*ye._bearingStep,pitch:Ft.getPitch()+Ge*ye._pitchStep,offset:[-nt*ye._panStep,-yt*ye._panStep],center:Ft.getCenter()},{originalEvent:ne})}}}},No.prototype.enable=function(){this._enabled=!0},No.prototype.disable=function(){this._enabled=!1,this.reset()},No.prototype.isEnabled=function(){return this._enabled},No.prototype.isActive=function(){return this._active},No.prototype.disableRotation=function(){this._rotationDisabled=!0},No.prototype.enableRotation=function(){this._rotationDisabled=!1};function yl(ge){return ge*(2-ge)}var fl=4.000244140625,Nl=1/100,Ss=1/450,Il=2,ja=function(ne,ye){this._map=ne,this._el=ne.getCanvasContainer(),this._handler=ye,this._delta=0,this._defaultZoomRate=Nl,this._wheelZoomRate=Ss,i.bindAll(["_onTimeout"],this)};ja.prototype.setZoomRate=function(ne){this._defaultZoomRate=ne},ja.prototype.setWheelZoomRate=function(ne){this._wheelZoomRate=ne},ja.prototype.isEnabled=function(){return!!this._enabled},ja.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},ja.prototype.isZooming=function(){return!!this._zooming},ja.prototype.enable=function(ne){this.isEnabled()||(this._enabled=!0,this._aroundCenter=ne&&ne.around==="center")},ja.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},ja.prototype.wheel=function(ne){if(this.isEnabled()){var ye=ne.deltaMode===i.window.WheelEvent.DOM_DELTA_LINE?ne.deltaY*40:ne.deltaY,se=i.browser.now(),xe=se-(this._lastWheelEventTime||0);this._lastWheelEventTime=se,ye!==0&&ye%fl===0?this._type="wheel":ye!==0&&Math.abs(ye)<4?this._type="trackpad":xe>400?(this._type=null,this._lastValue=ye,this._timeout=setTimeout(this._onTimeout,40,ne)):this._type||(this._type=Math.abs(xe*ye)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ye+=this._lastValue)),ne.shiftKey&&ye&&(ye=ye/4),this._type&&(this._lastWheelEvent=ne,this._delta-=ye,this._active||this._start(ne)),ne.preventDefault()}},ja.prototype._onTimeout=function(ne){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(ne)},ja.prototype._start=function(ne){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var ye=g.mousePos(this._el,ne);this._around=i.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(ye)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},ja.prototype.renderFrame=function(){var ne=this;if(this._frameId&&(this._frameId=null,!!this.isActive())){var ye=this._map.transform;if(this._delta!==0){var se=this._type==="wheel"&&Math.abs(this._delta)>fl?this._wheelZoomRate:this._defaultZoomRate,xe=Il/(1+Math.exp(-Math.abs(this._delta*se)));this._delta<0&&xe!==0&&(xe=1/xe);var Ge=typeof this._targetZoom=="number"?ye.zoomScale(this._targetZoom):ye.scale;this._targetZoom=Math.min(ye.maxZoom,Math.max(ye.minZoom,ye.scaleZoom(Ge*xe))),this._type==="wheel"&&(this._startZoom=ye.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var nt=typeof this._targetZoom=="number"?this._targetZoom:ye.zoom,yt=this._startZoom,Ft=this._easing,Jt=!1,lr;if(this._type==="wheel"&&yt&&Ft){var Er=Math.min((i.browser.now()-this._lastWheelEventTime)/200,1),_r=Ft(Er);lr=i.number(yt,nt,_r),Er<1?this._frameId||(this._frameId=!0):Jt=!0}else lr=nt,Jt=!0;return this._active=!0,Jt&&(this._active=!1,this._finishTimeout=setTimeout(function(){ne._zooming=!1,ne._handler._triggerRenderFrame(),delete ne._targetZoom,delete ne._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Jt,zoomDelta:lr-ye.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},ja.prototype._smoothOutEasing=function(ne){var ye=i.ease;if(this._prevEase){var se=this._prevEase,xe=(i.browser.now()-se.start)/se.duration,Ge=se.easing(xe+.01)-se.easing(xe),nt=.27/Math.sqrt(Ge*Ge+1e-4)*.01,yt=Math.sqrt(.27*.27-nt*nt);ye=i.bezier(nt,yt,.25,1)}return this._prevEase={start:i.browser.now(),duration:ne,easing:ye},ye},ja.prototype.reset=function(){this._active=!1};var Ri=function(ne,ye){this._clickZoom=ne,this._tapZoom=ye};Ri.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},Ri.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},Ri.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},Ri.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var dl=function(){this.reset()};dl.prototype.reset=function(){this._active=!1},dl.prototype.dblclick=function(ne,ye){return ne.preventDefault(),{cameraAnimation:function(se){se.easeTo({duration:300,zoom:se.getZoom()+(ne.shiftKey?-1:1),around:se.unproject(ye)},{originalEvent:ne})}}},dl.prototype.enable=function(){this._enabled=!0},dl.prototype.disable=function(){this._enabled=!1,this.reset()},dl.prototype.isEnabled=function(){return this._enabled},dl.prototype.isActive=function(){return this._active};var Yc=function(){this._tap=new qr({numTouches:1,numTaps:1}),this.reset()};Yc.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},Yc.prototype.touchstart=function(ne,ye,se){this._swipePoint||(this._tapTime&&ne.timeStamp-this._tapTime>Vr&&this.reset(),this._tapTime?se.length>0&&(this._swipePoint=ye[0],this._swipeTouch=se[0].identifier):this._tap.touchstart(ne,ye,se))},Yc.prototype.touchmove=function(ne,ye,se){if(!this._tapTime)this._tap.touchmove(ne,ye,se);else if(this._swipePoint){if(se[0].identifier!==this._swipeTouch)return;var xe=ye[0],Ge=xe.y-this._swipePoint.y;return this._swipePoint=xe,ne.preventDefault(),this._active=!0,{zoomDelta:Ge/128}}},Yc.prototype.touchend=function(ne,ye,se){if(this._tapTime)this._swipePoint&&se.length===0&&this.reset();else{var xe=this._tap.touchend(ne,ye,se);xe&&(this._tapTime=ne.timeStamp)}},Yc.prototype.touchcancel=function(){this.reset()},Yc.prototype.enable=function(){this._enabled=!0},Yc.prototype.disable=function(){this._enabled=!1,this.reset()},Yc.prototype.isEnabled=function(){return this._enabled},Yc.prototype.isActive=function(){return this._active};var Ll=function(ne,ye,se){this._el=ne,this._mousePan=ye,this._touchPan=se};Ll.prototype.enable=function(ne){this._inertiaOptions=ne||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},Ll.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},Ll.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},Ll.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Go=function(ne,ye,se){this._pitchWithRotate=ne.pitchWithRotate,this._mouseRotate=ye,this._mousePitch=se};Go.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Go.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Go.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Go.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var _l=function(ne,ye,se,xe){this._el=ne,this._touchZoom=ye,this._touchRotate=se,this._tapDragZoom=xe,this._rotationDisabled=!1,this._enabled=!0};_l.prototype.enable=function(ne){this._touchZoom.enable(ne),this._rotationDisabled||this._touchRotate.enable(ne),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},_l.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},_l.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},_l.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},_l.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},_l.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var hl=function(ge){return ge.zoom||ge.drag||ge.pitch||ge.rotate},hd=function(ge){function ne(){ge.apply(this,arguments)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne}(i.Event);function pd(ge){return ge.panDelta&&ge.panDelta.mag()||ge.zoomDelta||ge.bearingDelta||ge.pitchDelta}var Vs=function(ne,ye){this._map=ne,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ve(ne),this._bearingSnap=ye.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ye),i.bindAll(["handleEvent","handleWindowEvent"],this);var se=this._el;this._listeners=[[se,"touchstart",{passive:!0}],[se,"touchmove",{passive:!1}],[se,"touchend",void 0],[se,"touchcancel",void 0],[se,"mousedown",void 0],[se,"mousemove",void 0],[se,"mouseup",void 0],[i.window.document,"mousemove",{capture:!0}],[i.window.document,"mouseup",void 0],[se,"mouseover",void 0],[se,"mouseout",void 0],[se,"dblclick",void 0],[se,"click",void 0],[se,"keydown",{capture:!1}],[se,"keyup",void 0],[se,"wheel",{passive:!1}],[se,"contextmenu",void 0],[i.window,"blur",void 0]];for(var xe=0,Ge=this._listeners;xe<Ge.length;xe+=1){var nt=Ge[xe],yt=nt[0],Ft=nt[1],Jt=nt[2];g.addEventListener(yt,Ft,yt===i.window.document?this.handleWindowEvent:this.handleEvent,Jt)}};Vs.prototype.destroy=function(){for(var ne=0,ye=this._listeners;ne<ye.length;ne+=1){var se=ye[ne],xe=se[0],Ge=se[1],nt=se[2];g.removeEventListener(xe,Ge,xe===i.window.document?this.handleWindowEvent:this.handleEvent,nt)}},Vs.prototype._addDefaultHandlers=function(ne){var ye=this._map,se=ye.getCanvasContainer();this._add("mapEvent",new Bt(ye,ne));var xe=ye.boxZoom=new er(ye,ne);this._add("boxZoom",xe);var Ge=new nn,nt=new dl;ye.doubleClickZoom=new Ri(nt,Ge),this._add("tapZoom",Ge),this._add("clickZoom",nt);var yt=new Yc;this._add("tapDragZoom",yt);var Ft=ye.touchPitch=new xo;this._add("touchPitch",Ft);var Jt=new ti(ne),lr=new Fa(ne);ye.dragRotate=new Go(ne,Jt,lr),this._add("mouseRotate",Jt,["mousePitch"]),this._add("mousePitch",lr,["mouseRotate"]);var Er=new $a(ne),_r=new Qa(ne);ye.dragPan=new Ll(se,Er,_r),this._add("mousePan",Er),this._add("touchPan",_r,["touchZoom","touchRotate"]);var Qr=new Ba,pn=new Ro;ye.touchZoomRotate=new _l(se,pn,Qr,yt),this._add("touchRotate",Qr,["touchPan","touchZoom"]),this._add("touchZoom",pn,["touchPan","touchRotate"]);var hn=ye.scrollZoom=new ja(ye,this);this._add("scrollZoom",hn,["mousePan"]);var dn=ye.keyboard=new No;this._add("keyboard",dn),this._add("blockableMapEvent",new Lt(ye));for(var _n=0,Fn=["boxZoom","doubleClickZoom","tapDragZoom","touchPitch","dragRotate","dragPan","touchZoomRotate","scrollZoom","keyboard"];_n<Fn.length;_n+=1){var la=Fn[_n];ne.interactive&&ne[la]&&ye[la].enable(ne[la])}},Vs.prototype._add=function(ne,ye,se){this._handlers.push({handlerName:ne,handler:ye,allowed:se}),this._handlersById[ne]=ye},Vs.prototype.stop=function(ne){if(!this._updatingCamera){for(var ye=0,se=this._handlers;ye<se.length;ye+=1){var xe=se[ye],Ge=xe.handler;Ge.reset()}this._inertia.clear(),this._fireEvents({},{},ne),this._changes=[]}},Vs.prototype.isActive=function(){for(var ne=0,ye=this._handlers;ne<ye.length;ne+=1){var se=ye[ne],xe=se.handler;if(xe.isActive())return!0}return!1},Vs.prototype.isZooming=function(){return!!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()},Vs.prototype.isRotating=function(){return!!this._eventsInProgress.rotate},Vs.prototype.isMoving=function(){return!!hl(this._eventsInProgress)||this.isZooming()},Vs.prototype._blockedByActive=function(ne,ye,se){for(var xe in ne)if(xe!==se&&(!ye||ye.indexOf(xe)<0))return!0;return!1},Vs.prototype.handleWindowEvent=function(ne){this.handleEvent(ne,ne.type+"Window")},Vs.prototype._getMapTouches=function(ne){for(var ye=[],se=0,xe=ne;se<xe.length;se+=1){var Ge=xe[se],nt=Ge.target;this._el.contains(nt)&&ye.push(Ge)}return ye},Vs.prototype.handleEvent=function(ne,ye){if(ne.type==="blur"){this.stop(!0);return}this._updatingCamera=!0;for(var se=ne.type==="renderFrame"?void 0:ne,xe={needsRenderFrame:!1},Ge={},nt={},yt=ne.touches?this._getMapTouches(ne.touches):void 0,Ft=yt?g.touchPos(this._el,yt):g.mousePos(this._el,ne),Jt=0,lr=this._handlers;Jt<lr.length;Jt+=1){var Er=lr[Jt],_r=Er.handlerName,Qr=Er.handler,pn=Er.allowed;if(Qr.isEnabled()){var hn=void 0;this._blockedByActive(nt,pn,_r)?Qr.reset():Qr[ye||ne.type]&&(hn=Qr[ye||ne.type](ne,Ft,yt),this.mergeHandlerResult(xe,Ge,hn,_r,se),hn&&hn.needsRenderFrame&&this._triggerRenderFrame()),(hn||Qr.isActive())&&(nt[_r]=Qr)}}var dn={};for(var _n in this._previousActiveHandlers)nt[_n]||(dn[_n]=se);this._previousActiveHandlers=nt,(Object.keys(dn).length||pd(xe))&&(this._changes.push([xe,Ge,dn]),this._triggerRenderFrame()),(Object.keys(nt).length||pd(xe))&&this._map._stop(!0),this._updatingCamera=!1;var Fn=xe.cameraAnimation;Fn&&(this._inertia.clear(),this._fireEvents({},{},!0),this._changes=[],Fn(this._map))},Vs.prototype.mergeHandlerResult=function(ne,ye,se,xe,Ge){if(se){i.extend(ne,se);var nt={handlerName:xe,originalEvent:se.originalEvent||Ge};se.zoomDelta!==void 0&&(ye.zoom=nt),se.panDelta!==void 0&&(ye.drag=nt),se.pitchDelta!==void 0&&(ye.pitch=nt),se.bearingDelta!==void 0&&(ye.rotate=nt)}},Vs.prototype._applyChanges=function(){for(var ne={},ye={},se={},xe=0,Ge=this._changes;xe<Ge.length;xe+=1){var nt=Ge[xe],yt=nt[0],Ft=nt[1],Jt=nt[2];yt.panDelta&&(ne.panDelta=(ne.panDelta||new i.Point(0,0))._add(yt.panDelta)),yt.zoomDelta&&(ne.zoomDelta=(ne.zoomDelta||0)+yt.zoomDelta),yt.bearingDelta&&(ne.bearingDelta=(ne.bearingDelta||0)+yt.bearingDelta),yt.pitchDelta&&(ne.pitchDelta=(ne.pitchDelta||0)+yt.pitchDelta),yt.around!==void 0&&(ne.around=yt.around),yt.pinchAround!==void 0&&(ne.pinchAround=yt.pinchAround),yt.noInertia&&(ne.noInertia=yt.noInertia),i.extend(ye,Ft),i.extend(se,Jt)}this._updateMapTransform(ne,ye,se),this._changes=[]},Vs.prototype._updateMapTransform=function(ne,ye,se){var xe=this._map,Ge=xe.transform;if(!pd(ne))return this._fireEvents(ye,se,!0);var nt=ne.panDelta,yt=ne.zoomDelta,Ft=ne.bearingDelta,Jt=ne.pitchDelta,lr=ne.around,Er=ne.pinchAround;Er!==void 0&&(lr=Er),xe._stop(!0),lr=lr||xe.transform.centerPoint;var _r=Ge.pointLocation(nt?lr.sub(nt):lr);Ft&&(Ge.bearing+=Ft),Jt&&(Ge.pitch+=Jt),yt&&(Ge.zoom+=yt),Ge.setLocationAtPoint(_r,lr),this._map._update(),ne.noInertia||this._inertia.record(ne),this._fireEvents(ye,se,!0)},Vs.prototype._fireEvents=function(ne,ye,se){var xe=this,Ge=hl(this._eventsInProgress),nt=hl(ne),yt={};for(var Ft in ne){var Jt=ne[Ft],lr=Jt.originalEvent;this._eventsInProgress[Ft]||(yt[Ft+"start"]=lr),this._eventsInProgress[Ft]=ne[Ft]}!Ge&&nt&&this._fireEvent("movestart",nt.originalEvent);for(var Er in yt)this._fireEvent(Er,yt[Er]);nt&&this._fireEvent("move",nt.originalEvent);for(var _r in ne){var Qr=ne[_r],pn=Qr.originalEvent;this._fireEvent(_r,pn)}var hn={},dn;for(var _n in this._eventsInProgress){var Fn=this._eventsInProgress[_n],la=Fn.handlerName,ha=Fn.originalEvent;this._handlersById[la].isActive()||(delete this._eventsInProgress[_n],dn=ye[la]||ha,hn[_n+"end"]=dn)}for(var Ca in hn)this._fireEvent(Ca,hn[Ca]);var Ia=hl(this._eventsInProgress);if(se&&(Ge||nt)&&!Ia){this._updatingCamera=!0;var Ta=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),Oa=function(Va){return Va!==0&&-xe._bearingSnap<Va&&Va<xe._bearingSnap};Ta?(Oa(Ta.bearing||this._map.getBearing())&&(Ta.bearing=0),this._map.easeTo(Ta,{originalEvent:dn})):(this._map.fire(new i.Event("moveend",{originalEvent:dn})),Oa(this._map.getBearing())&&this._map.resetNorth()),this._updatingCamera=!1}},Vs.prototype._fireEvent=function(ne,ye){this._map.fire(new i.Event(ne,ye?{originalEvent:ye}:{}))},Vs.prototype._requestFrame=function(){var ne=this;return this._map.triggerRepaint(),this._map._renderTaskQueue.add(function(ye){delete ne._frameId,ne.handleEvent(new hd("renderFrame",{timeStamp:ye})),ne._applyChanges()})},Vs.prototype._triggerRenderFrame=function(){this._frameId===void 0&&(this._frameId=this._requestFrame())};var yp=function(ge){function ne(ye,se){ge.call(this),this._moving=!1,this._zooming=!1,this.transform=ye,this._bearingSnap=se.bearingSnap,i.bindAll(["_renderFrameCallback"],this)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.getCenter=function(){return new i.LngLat(this.transform.center.lng,this.transform.center.lat)},ne.prototype.setCenter=function(se,xe){return this.jumpTo({center:se},xe)},ne.prototype.panBy=function(se,xe,Ge){return se=i.Point.convert(se).mult(-1),this.panTo(this.transform.center,i.extend({offset:se},xe),Ge)},ne.prototype.panTo=function(se,xe,Ge){return this.easeTo(i.extend({center:se},xe),Ge)},ne.prototype.getZoom=function(){return this.transform.zoom},ne.prototype.setZoom=function(se,xe){return this.jumpTo({zoom:se},xe),this},ne.prototype.zoomTo=function(se,xe,Ge){return this.easeTo(i.extend({zoom:se},xe),Ge)},ne.prototype.zoomIn=function(se,xe){return this.zoomTo(this.getZoom()+1,se,xe),this},ne.prototype.zoomOut=function(se,xe){return this.zoomTo(this.getZoom()-1,se,xe),this},ne.prototype.getBearing=function(){return this.transform.bearing},ne.prototype.setBearing=function(se,xe){return this.jumpTo({bearing:se},xe),this},ne.prototype.getPadding=function(){return this.transform.padding},ne.prototype.setPadding=function(se,xe){return this.jumpTo({padding:se},xe),this},ne.prototype.rotateTo=function(se,xe,Ge){return this.easeTo(i.extend({bearing:se},xe),Ge)},ne.prototype.resetNorth=function(se,xe){return this.rotateTo(0,i.extend({duration:1e3},se),xe),this},ne.prototype.resetNorthPitch=function(se,xe){return this.easeTo(i.extend({bearing:0,pitch:0,duration:1e3},se),xe),this},ne.prototype.snapToNorth=function(se,xe){return Math.abs(this.getBearing())<this._bearingSnap?this.resetNorth(se,xe):this},ne.prototype.getPitch=function(){return this.transform.pitch},ne.prototype.setPitch=function(se,xe){return this.jumpTo({pitch:se},xe),this},ne.prototype.cameraForBounds=function(se,xe){se=i.LngLatBounds.convert(se);var Ge=xe&&xe.bearing||0;return this._cameraForBoxAndBearing(se.getNorthWest(),se.getSouthEast(),Ge,xe)},ne.prototype._cameraForBoxAndBearing=function(se,xe,Ge,nt){var yt={top:0,bottom:0,right:0,left:0};if(nt=i.extend({padding:yt,offset:[0,0],maxZoom:this.transform.maxZoom},nt),typeof nt.padding=="number"){var Ft=nt.padding;nt.padding={top:Ft,bottom:Ft,right:Ft,left:Ft}}nt.padding=i.extend(yt,nt.padding);var Jt=this.transform,lr=Jt.padding,Er=Jt.project(i.LngLat.convert(se)),_r=Jt.project(i.LngLat.convert(xe)),Qr=Er.rotate(-Ge*Math.PI/180),pn=_r.rotate(-Ge*Math.PI/180),hn=new i.Point(Math.max(Qr.x,pn.x),Math.max(Qr.y,pn.y)),dn=new i.Point(Math.min(Qr.x,pn.x),Math.min(Qr.y,pn.y)),_n=hn.sub(dn),Fn=(Jt.width-(lr.left+lr.right+nt.padding.left+nt.padding.right))/_n.x,la=(Jt.height-(lr.top+lr.bottom+nt.padding.top+nt.padding.bottom))/_n.y;if(la<0||Fn<0){i.warnOnce("Map cannot fit within canvas with the given bounds, padding, and/or offset.");return}var ha=Math.min(Jt.scaleZoom(Jt.scale*Math.min(Fn,la)),nt.maxZoom),Ca=typeof nt.offset.x=="number"?new i.Point(nt.offset.x,nt.offset.y):i.Point.convert(nt.offset),Ia=(nt.padding.left-nt.padding.right)/2,Ta=(nt.padding.top-nt.padding.bottom)/2,Oa=new i.Point(Ia,Ta),Va=Oa.rotate(Ge*Math.PI/180),Ka=Ca.add(Va),vi=Ka.mult(Jt.scale/Jt.zoomScale(ha)),ai=Jt.unproject(Er.add(_r).div(2).sub(vi));return{center:ai,zoom:ha,bearing:Ge}},ne.prototype.fitBounds=function(se,xe,Ge){return this._fitInternal(this.cameraForBounds(se,xe),xe,Ge)},ne.prototype.fitScreenCoordinates=function(se,xe,Ge,nt,yt){return this._fitInternal(this._cameraForBoxAndBearing(this.transform.pointLocation(i.Point.convert(se)),this.transform.pointLocation(i.Point.convert(xe)),Ge,nt),nt,yt)},ne.prototype._fitInternal=function(se,xe,Ge){return se?(xe=i.extend(se,xe),delete xe.padding,xe.linear?this.easeTo(xe,Ge):this.flyTo(xe,Ge)):this},ne.prototype.jumpTo=function(se,xe){this.stop();var Ge=this.transform,nt=!1,yt=!1,Ft=!1;return"zoom"in se&&Ge.zoom!==+se.zoom&&(nt=!0,Ge.zoom=+se.zoom),se.center!==void 0&&(Ge.center=i.LngLat.convert(se.center)),"bearing"in se&&Ge.bearing!==+se.bearing&&(yt=!0,Ge.bearing=+se.bearing),"pitch"in se&&Ge.pitch!==+se.pitch&&(Ft=!0,Ge.pitch=+se.pitch),se.padding!=null&&!Ge.isPaddingEqual(se.padding)&&(Ge.padding=se.padding),this.fire(new i.Event("movestart",xe)).fire(new i.Event("move",xe)),nt&&this.fire(new i.Event("zoomstart",xe)).fire(new i.Event("zoom",xe)).fire(new i.Event("zoomend",xe)),yt&&this.fire(new i.Event("rotatestart",xe)).fire(new i.Event("rotate",xe)).fire(new i.Event("rotateend",xe)),Ft&&this.fire(new i.Event("pitchstart",xe)).fire(new i.Event("pitch",xe)).fire(new i.Event("pitchend",xe)),this.fire(new i.Event("moveend",xe))},ne.prototype.easeTo=function(se,xe){var Ge=this;this._stop(!1,se.easeId),se=i.extend({offset:[0,0],duration:500,easing:i.ease},se),(se.animate===!1||!se.essential&&i.browser.prefersReducedMotion)&&(se.duration=0);var nt=this.transform,yt=this.getZoom(),Ft=this.getBearing(),Jt=this.getPitch(),lr=this.getPadding(),Er="zoom"in se?+se.zoom:yt,_r="bearing"in se?this._normalizeBearing(se.bearing,Ft):Ft,Qr="pitch"in se?+se.pitch:Jt,pn="padding"in se?se.padding:nt.padding,hn=i.Point.convert(se.offset),dn=nt.centerPoint.add(hn),_n=nt.pointLocation(dn),Fn=i.LngLat.convert(se.center||_n);this._normalizeCenter(Fn);var la=nt.project(_n),ha=nt.project(Fn).sub(la),Ca=nt.zoomScale(Er-yt),Ia,Ta;se.around&&(Ia=i.LngLat.convert(se.around),Ta=nt.locationPoint(Ia));var Oa={moving:this._moving,zooming:this._zooming,rotating:this._rotating,pitching:this._pitching};return this._zooming=this._zooming||Er!==yt,this._rotating=this._rotating||Ft!==_r,this._pitching=this._pitching||Qr!==Jt,this._padding=!nt.isPaddingEqual(pn),this._easeId=se.easeId,this._prepareEase(xe,se.noMoveStart,Oa),this._ease(function(Va){if(Ge._zooming&&(nt.zoom=i.number(yt,Er,Va)),Ge._rotating&&(nt.bearing=i.number(Ft,_r,Va)),Ge._pitching&&(nt.pitch=i.number(Jt,Qr,Va)),Ge._padding&&(nt.interpolatePadding(lr,pn,Va),dn=nt.centerPoint.add(hn)),Ia)nt.setLocationAtPoint(Ia,Ta);else{var Ka=nt.zoomScale(nt.zoom-yt),vi=Er>yt?Math.min(2,Ca):Math.max(.5,Ca),ai=Math.pow(vi,1-Va),ji=nt.unproject(la.add(ha.mult(Va*ai)).mult(Ka));nt.setLocationAtPoint(nt.renderWorldCopies?ji.wrap():ji,dn)}Ge._fireMoveEvents(xe)},function(Va){Ge._afterEase(xe,Va)},se),this},ne.prototype._prepareEase=function(se,xe,Ge){Ge===void 0&&(Ge={}),this._moving=!0,!xe&&!Ge.moving&&this.fire(new i.Event("movestart",se)),this._zooming&&!Ge.zooming&&this.fire(new i.Event("zoomstart",se)),this._rotating&&!Ge.rotating&&this.fire(new i.Event("rotatestart",se)),this._pitching&&!Ge.pitching&&this.fire(new i.Event("pitchstart",se))},ne.prototype._fireMoveEvents=function(se){this.fire(new i.Event("move",se)),this._zooming&&this.fire(new i.Event("zoom",se)),this._rotating&&this.fire(new i.Event("rotate",se)),this._pitching&&this.fire(new i.Event("pitch",se))},ne.prototype._afterEase=function(se,xe){if(!(this._easeId&&xe&&this._easeId===xe)){delete this._easeId;var Ge=this._zooming,nt=this._rotating,yt=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Ge&&this.fire(new i.Event("zoomend",se)),nt&&this.fire(new i.Event("rotateend",se)),yt&&this.fire(new i.Event("pitchend",se)),this.fire(new i.Event("moveend",se))}},ne.prototype.flyTo=function(se,xe){var Ge=this;if(!se.essential&&i.browser.prefersReducedMotion){var nt=i.pick(se,["center","zoom","bearing","pitch","around"]);return this.jumpTo(nt,xe)}this.stop(),se=i.extend({offset:[0,0],speed:1.2,curve:1.42,easing:i.ease},se);var yt=this.transform,Ft=this.getZoom(),Jt=this.getBearing(),lr=this.getPitch(),Er=this.getPadding(),_r="zoom"in se?i.clamp(+se.zoom,yt.minZoom,yt.maxZoom):Ft,Qr="bearing"in se?this._normalizeBearing(se.bearing,Jt):Jt,pn="pitch"in se?+se.pitch:lr,hn="padding"in se?se.padding:yt.padding,dn=yt.zoomScale(_r-Ft),_n=i.Point.convert(se.offset),Fn=yt.centerPoint.add(_n),la=yt.pointLocation(Fn),ha=i.LngLat.convert(se.center||la);this._normalizeCenter(ha);var Ca=yt.project(la),Ia=yt.project(ha).sub(Ca),Ta=se.curve,Oa=Math.max(yt.width,yt.height),Va=Oa/dn,Ka=Ia.mag();if("minZoom"in se){var vi=i.clamp(Math.min(se.minZoom,Ft,_r),yt.minZoom,yt.maxZoom),ai=Oa/yt.zoomScale(vi-Ft);Ta=Math.sqrt(ai/Ka*2)}var ji=Ta*Ta;function Io(to){var Oo=(Va*Va-Oa*Oa+(to?-1:1)*ji*ji*Ka*Ka)/(2*(to?Va:Oa)*ji*Ka);return Math.log(Math.sqrt(Oo*Oo+1)-Oo)}function po(to){return(Math.exp(to)-Math.exp(-to))/2}function Si(to){return(Math.exp(to)+Math.exp(-to))/2}function mo(to){return po(to)/Si(to)}var Qi=Io(0),jo=function(to){return Si(Qi)/Si(Qi+Ta*to)},Lo=function(to){return Oa*((Si(Qi)*mo(Qi+Ta*to)-po(Qi))/ji)/Ka},Ms=(Io(1)-Qi)/Ta;if(Math.abs(Ka)<1e-6||!isFinite(Ms)){if(Math.abs(Oa-Va)<1e-6)return this.easeTo(se,xe);var go=Va<Oa?-1:1;Ms=Math.abs(Math.log(Va/Oa))/Ta,Lo=function(){return 0},jo=function(to){return Math.exp(go*Ta*to)}}if("duration"in se)se.duration=+se.duration;else{var gs="screenSpeed"in se?+se.screenSpeed/Ta:+se.speed;se.duration=1e3*Ms/gs}return se.maxDuration&&se.duration>se.maxDuration&&(se.duration=0),this._zooming=!0,this._rotating=Jt!==Qr,this._pitching=pn!==lr,this._padding=!yt.isPaddingEqual(hn),this._prepareEase(xe,!1),this._ease(function(to){var Oo=to*Ms,tl=1/jo(Oo);yt.zoom=to===1?_r:Ft+yt.scaleZoom(tl),Ge._rotating&&(yt.bearing=i.number(Jt,Qr,to)),Ge._pitching&&(yt.pitch=i.number(lr,pn,to)),Ge._padding&&(yt.interpolatePadding(Er,hn,to),Fn=yt.centerPoint.add(_n));var Wl=to===1?ha:yt.unproject(Ca.add(Ia.mult(Lo(Oo))).mult(tl));yt.setLocationAtPoint(yt.renderWorldCopies?Wl.wrap():Wl,Fn),Ge._fireMoveEvents(xe)},function(){return Ge._afterEase(xe)},se),this},ne.prototype.isEasing=function(){return!!this._easeFrameId},ne.prototype.stop=function(){return this._stop()},ne.prototype._stop=function(se,xe){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Ge=this._onEaseEnd;delete this._onEaseEnd,Ge.call(this,xe)}if(!se){var nt=this.handlers;nt&&nt.stop(!1)}return this},ne.prototype._ease=function(se,xe,Ge){Ge.animate===!1||Ge.duration===0?(se(1),xe()):(this._easeStart=i.browser.now(),this._easeOptions=Ge,this._onEaseFrame=se,this._onEaseEnd=xe,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},ne.prototype._renderFrameCallback=function(){var se=Math.min((i.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(se)),se<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},ne.prototype._normalizeBearing=function(se,xe){se=i.wrap(se,-180,180);var Ge=Math.abs(se-xe);return Math.abs(se-360-xe)<Ge&&(se-=360),Math.abs(se+360-xe)<Ge&&(se+=360),se},ne.prototype._normalizeCenter=function(se){var xe=this.transform;if(!(!xe.renderWorldCopies||xe.lngRange)){var Ge=se.lng-xe.center.lng;se.lng+=Ge>180?-360:Ge<-180?360:0}},ne}(i.Evented),wo=function(ne){ne===void 0&&(ne={}),this.options=ne,i.bindAll(["_toggleAttribution","_updateEditLink","_updateData","_updateCompact"],this)};wo.prototype.getDefaultPosition=function(){return"bottom-right"},wo.prototype.onAdd=function(ne){var ye=this.options&&this.options.compact;return this._map=ne,this._container=g.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._compactButton=g.create("button","mapboxgl-ctrl-attrib-button",this._container),this._compactButton.addEventListener("click",this._toggleAttribution),this._setElementTitle(this._compactButton,"ToggleAttribution"),this._innerContainer=g.create("div","mapboxgl-ctrl-attrib-inner",this._container),this._innerContainer.setAttribute("role","list"),ye&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),ye===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},wo.prototype.onRemove=function(){g.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},wo.prototype._setElementTitle=function(ne,ye){var se=this._map._getUIString("AttributionControl."+ye);ne.title=se,ne.setAttribute("aria-label",se)},wo.prototype._toggleAttribution=function(){this._container.classList.contains("mapboxgl-compact-show")?(this._container.classList.remove("mapboxgl-compact-show"),this._compactButton.setAttribute("aria-pressed","false")):(this._container.classList.add("mapboxgl-compact-show"),this._compactButton.setAttribute("aria-pressed","true"))},wo.prototype._updateEditLink=function(){var ne=this._editLink;ne||(ne=this._editLink=this._container.querySelector(".mapbox-improve-map"));var ye=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||i.config.ACCESS_TOKEN}];if(ne){var se=ye.reduce(function(xe,Ge,nt){return Ge.value&&(xe+=Ge.key+"="+Ge.value+(nt<ye.length-1?"&":"")),xe},"?");ne.href=i.config.FEEDBACK_URL+"/"+se+(this._map._hash?this._map._hash.getHashString(!0):""),ne.rel="noopener nofollow",this._setElementTitle(ne,"MapFeedback")}},wo.prototype._updateData=function(ne){ne&&(ne.sourceDataType==="metadata"||ne.sourceDataType==="visibility"||ne.dataType==="style")&&(this._updateAttributions(),this._updateEditLink())},wo.prototype._updateAttributions=function(){if(this._map.style){var ne=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?ne=ne.concat(this.options.customAttribution.map(function(Ft){return typeof Ft!="string"?"":Ft})):typeof this.options.customAttribution=="string"&&ne.push(this.options.customAttribution)),this._map.style.stylesheet){var ye=this._map.style.stylesheet;this.styleOwner=ye.owner,this.styleId=ye.id}var se=this._map.style.sourceCaches;for(var xe in se){var Ge=se[xe];if(Ge.used){var nt=Ge.getSource();nt.attribution&&ne.indexOf(nt.attribution)<0&&ne.push(nt.attribution)}}ne.sort(function(Ft,Jt){return Ft.length-Jt.length}),ne=ne.filter(function(Ft,Jt){for(var lr=Jt+1;lr<ne.length;lr++)if(ne[lr].indexOf(Ft)>=0)return!1;return!0});var yt=ne.join(" | ");yt!==this._attribHTML&&(this._attribHTML=yt,ne.length?(this._innerContainer.innerHTML=yt,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},wo.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact","mapboxgl-compact-show")};var Gs=function(){i.bindAll(["_updateLogo"],this),i.bindAll(["_updateCompact"],this)};Gs.prototype.onAdd=function(ne){this._map=ne,this._container=g.create("div","mapboxgl-ctrl");var ye=g.create("a","mapboxgl-ctrl-logo");return ye.target="_blank",ye.rel="noopener nofollow",ye.href="https://www.mapbox.com/",ye.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),ye.setAttribute("rel","noopener nofollow"),this._container.appendChild(ye),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},Gs.prototype.onRemove=function(){g.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},Gs.prototype.getDefaultPosition=function(){return"bottom-left"},Gs.prototype._updateLogo=function(ne){(!ne||ne.sourceDataType==="metadata")&&(this._container.style.display=this._logoRequired()?"block":"none")},Gs.prototype._logoRequired=function(){if(this._map.style){var ne=this._map.style.sourceCaches;for(var ye in ne){var se=ne[ye].getSource();if(se.mapbox_logo)return!0}return!1}},Gs.prototype._updateCompact=function(){var ne=this._container.children;if(ne.length){var ye=ne[0];this._map.getCanvasContainer().offsetWidth<250?ye.classList.add("mapboxgl-compact"):ye.classList.remove("mapboxgl-compact")}};var Wc=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Wc.prototype.add=function(ne){var ye=++this._id,se=this._queue;return se.push({callback:ne,id:ye,cancelled:!1}),ye},Wc.prototype.remove=function(ne){for(var ye=this._currentlyRunning,se=ye?this._queue.concat(ye):this._queue,xe=0,Ge=se;xe<Ge.length;xe+=1){var nt=Ge[xe];if(nt.id===ne){nt.cancelled=!0;return}}},Wc.prototype.run=function(ne){ne===void 0&&(ne=0);var ye=this._currentlyRunning=this._queue;this._queue=[];for(var se=0,xe=ye;se<xe.length;se+=1){var Ge=xe[se];if(!Ge.cancelled&&(Ge.callback(ne),this._cleared))break}this._cleared=!1,this._currentlyRunning=!1},Wc.prototype.clear=function(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]};var dh={"AttributionControl.ToggleAttribution":"Toggle attribution","AttributionControl.MapFeedback":"Map feedback","FullscreenControl.Enter":"Enter fullscreen","FullscreenControl.Exit":"Exit fullscreen","GeolocateControl.FindMyLocation":"Find my location","GeolocateControl.LocationNotAvailable":"Location not available","LogoControl.Title":"Mapbox logo","NavigationControl.ResetBearing":"Reset bearing to north","NavigationControl.ZoomIn":"Zoom in","NavigationControl.ZoomOut":"Zoom out","ScaleControl.Feet":"ft","ScaleControl.Meters":"m","ScaleControl.Kilometers":"km","ScaleControl.Miles":"mi","ScaleControl.NauticalMiles":"nm"},fv=i.window.HTMLImageElement,m4=i.window.HTMLElement,fh=i.window.ImageBitmap,hh=-2,hv=22,Tu=0,h1=60,s_={center:[0,0],zoom:0,bearing:0,pitch:0,minZoom:hh,maxZoom:hv,minPitch:Tu,maxPitch:h1,interactive:!0,scrollZoom:!0,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,touchPitch:!0,bearingSnap:7,clickTolerance:3,pitchWithRotate:!0,hash:!1,attributionControl:!0,failIfMajorPerformanceCaveat:!1,preserveDrawingBuffer:!1,trackResize:!0,renderWorldCopies:!0,refreshExpiredTiles:!0,maxTileCacheSize:null,localIdeographFontFamily:"sans-serif",transformRequest:null,accessToken:null,fadeDuration:300,crossSourceCollisions:!0},p1=function(ge){function ne(se){var xe=this;if(se=i.extend({},s_,se),se.minZoom!=null&&se.maxZoom!=null&&se.minZoom>se.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(se.minPitch!=null&&se.maxPitch!=null&&se.minPitch>se.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(se.minPitch!=null&&se.minPitch<Tu)throw new Error("minPitch must be greater than or equal to "+Tu);if(se.maxPitch!=null&&se.maxPitch>h1)throw new Error("maxPitch must be less than or equal to "+h1);var Ge=new fa(se.minZoom,se.maxZoom,se.minPitch,se.maxPitch,se.renderWorldCopies);if(ge.call(this,Ge,se),this._interactive=se.interactive,this._maxTileCacheSize=se.maxTileCacheSize,this._failIfMajorPerformanceCaveat=se.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=se.preserveDrawingBuffer,this._antialias=se.antialias,this._trackResize=se.trackResize,this._bearingSnap=se.bearingSnap,this._refreshExpiredTiles=se.refreshExpiredTiles,this._fadeDuration=se.fadeDuration,this._crossSourceCollisions=se.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=se.collectResourceTiming,this._renderTaskQueue=new Wc,this._controls=[],this._mapId=i.uniqueId(),this._locale=i.extend({},dh,se.locale),this._clickTolerance=se.clickTolerance,this._requestManager=new i.RequestManager(se.transformRequest,se.accessToken),typeof se.container=="string"){if(this._container=i.window.document.getElementById(se.container),!this._container)throw new Error("Container '"+se.container+"' not found.")}else if(se.container instanceof m4)this._container=se.container;else throw new Error("Invalid type: 'container' must be a String or HTMLElement.");if(se.maxBounds&&this.setMaxBounds(se.maxBounds),i.bindAll(["_onWindowOnline","_onWindowResize","_onMapScroll","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return xe._update(!1)}),this.on("moveend",function(){return xe._update(!1)}),this.on("zoom",function(){return xe._update(!0)}),typeof i.window<"u"&&(i.window.addEventListener("online",this._onWindowOnline,!1),i.window.addEventListener("resize",this._onWindowResize,!1),i.window.addEventListener("orientationchange",this._onWindowResize,!1)),this.handlers=new Vs(this,se);var nt=typeof se.hash=="string"&&se.hash||void 0;this._hash=se.hash&&new Ii(nt).addTo(this),(!this._hash||!this._hash._onHashChange())&&(this.jumpTo({center:se.center,zoom:se.zoom,bearing:se.bearing,pitch:se.pitch}),se.bounds&&(this.resize(),this.fitBounds(se.bounds,i.extend({},se.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=se.localIdeographFontFamily,se.style&&this.setStyle(se.style,{localIdeographFontFamily:se.localIdeographFontFamily}),se.attributionControl&&this.addControl(new wo({customAttribution:se.customAttribution})),this.addControl(new Gs,se.logoPosition),this.on("style.load",function(){xe.transform.unmodified&&xe.jumpTo(xe.style.stylesheet)}),this.on("data",function(yt){xe._update(yt.dataType==="style"),xe.fire(new i.Event(yt.dataType+"data",yt))}),this.on("dataloading",function(yt){xe.fire(new i.Event(yt.dataType+"dataloading",yt))})}ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne;var ye={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return ne.prototype._getMapId=function(){return this._mapId},ne.prototype.addControl=function(xe,Ge){if(Ge===void 0&&(xe.getDefaultPosition?Ge=xe.getDefaultPosition():Ge="top-right"),!xe||!xe.onAdd)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var nt=xe.onAdd(this);this._controls.push(xe);var yt=this._controlPositions[Ge];return Ge.indexOf("bottom")!==-1?yt.insertBefore(nt,yt.firstChild):yt.appendChild(nt),this},ne.prototype.removeControl=function(xe){if(!xe||!xe.onRemove)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var Ge=this._controls.indexOf(xe);return Ge>-1&&this._controls.splice(Ge,1),xe.onRemove(this),this},ne.prototype.hasControl=function(xe){return this._controls.indexOf(xe)>-1},ne.prototype.resize=function(xe){var Ge=this._containerDimensions(),nt=Ge[0],yt=Ge[1];this._resizeCanvas(nt,yt),this.transform.resize(nt,yt),this.painter.resize(nt,yt);var Ft=!this._moving;return Ft&&(this.stop(),this.fire(new i.Event("movestart",xe)).fire(new i.Event("move",xe))),this.fire(new i.Event("resize",xe)),Ft&&this.fire(new i.Event("moveend",xe)),this},ne.prototype.getBounds=function(){return this.transform.getBounds()},ne.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},ne.prototype.setMaxBounds=function(xe){return this.transform.setMaxBounds(i.LngLatBounds.convert(xe)),this._update()},ne.prototype.setMinZoom=function(xe){if(xe=xe??hh,xe>=hh&&xe<=this.transform.maxZoom)return this.transform.minZoom=xe,this._update(),this.getZoom()<xe&&this.setZoom(xe),this;throw new Error("minZoom must be between "+hh+" and the current maxZoom, inclusive")},ne.prototype.getMinZoom=function(){return this.transform.minZoom},ne.prototype.setMaxZoom=function(xe){if(xe=xe??hv,xe>=this.transform.minZoom)return this.transform.maxZoom=xe,this._update(),this.getZoom()>xe&&this.setZoom(xe),this;throw new Error("maxZoom must be greater than the current minZoom")},ne.prototype.getMaxZoom=function(){return this.transform.maxZoom},ne.prototype.setMinPitch=function(xe){if(xe=xe??Tu,xe<Tu)throw new Error("minPitch must be greater than or equal to "+Tu);if(xe>=Tu&&xe<=this.transform.maxPitch)return this.transform.minPitch=xe,this._update(),this.getPitch()<xe&&this.setPitch(xe),this;throw new Error("minPitch must be between "+Tu+" and the current maxPitch, inclusive")},ne.prototype.getMinPitch=function(){return this.transform.minPitch},ne.prototype.setMaxPitch=function(xe){if(xe=xe??h1,xe>h1)throw new Error("maxPitch must be less than or equal to "+h1);if(xe>=this.transform.minPitch)return this.transform.maxPitch=xe,this._update(),this.getPitch()>xe&&this.setPitch(xe),this;throw new Error("maxPitch must be greater than the current minPitch")},ne.prototype.getMaxPitch=function(){return this.transform.maxPitch},ne.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},ne.prototype.setRenderWorldCopies=function(xe){return this.transform.renderWorldCopies=xe,this._update()},ne.prototype.project=function(xe){return this.transform.locationPoint(i.LngLat.convert(xe))},ne.prototype.unproject=function(xe){return this.transform.pointLocation(i.Point.convert(xe))},ne.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},ne.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},ne.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},ne.prototype._createDelegatedListener=function(xe,Ge,nt){var yt=this,Ft;if(xe==="mouseenter"||xe==="mouseover"){var Jt=!1,lr=function(dn){var _n=yt.getLayer(Ge)?yt.queryRenderedFeatures(dn.point,{layers:[Ge]}):[];_n.length?Jt||(Jt=!0,nt.call(yt,new ot(xe,yt,dn.originalEvent,{features:_n}))):Jt=!1},Er=function(){Jt=!1};return{layer:Ge,listener:nt,delegates:{mousemove:lr,mouseout:Er}}}else if(xe==="mouseleave"||xe==="mouseout"){var _r=!1,Qr=function(dn){var _n=yt.getLayer(Ge)?yt.queryRenderedFeatures(dn.point,{layers:[Ge]}):[];_n.length?_r=!0:_r&&(_r=!1,nt.call(yt,new ot(xe,yt,dn.originalEvent)))},pn=function(dn){_r&&(_r=!1,nt.call(yt,new ot(xe,yt,dn.originalEvent)))};return{layer:Ge,listener:nt,delegates:{mousemove:Qr,mouseout:pn}}}else{var hn=function(dn){var _n=yt.getLayer(Ge)?yt.queryRenderedFeatures(dn.point,{layers:[Ge]}):[];_n.length&&(dn.features=_n,nt.call(yt,dn),delete dn.features)};return{layer:Ge,listener:nt,delegates:(Ft={},Ft[xe]=hn,Ft)}}},ne.prototype.on=function(xe,Ge,nt){if(nt===void 0)return ge.prototype.on.call(this,xe,Ge);var yt=this._createDelegatedListener(xe,Ge,nt);this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[xe]=this._delegatedListeners[xe]||[],this._delegatedListeners[xe].push(yt);for(var Ft in yt.delegates)this.on(Ft,yt.delegates[Ft]);return this},ne.prototype.once=function(xe,Ge,nt){if(nt===void 0)return ge.prototype.once.call(this,xe,Ge);var yt=this._createDelegatedListener(xe,Ge,nt);for(var Ft in yt.delegates)this.once(Ft,yt.delegates[Ft]);return this},ne.prototype.off=function(xe,Ge,nt){var yt=this;if(nt===void 0)return ge.prototype.off.call(this,xe,Ge);var Ft=function(Jt){for(var lr=Jt[xe],Er=0;Er<lr.length;Er++){var _r=lr[Er];if(_r.layer===Ge&&_r.listener===nt){for(var Qr in _r.delegates)yt.off(Qr,_r.delegates[Qr]);return lr.splice(Er,1),yt}}};return this._delegatedListeners&&this._delegatedListeners[xe]&&Ft(this._delegatedListeners),this},ne.prototype.queryRenderedFeatures=function(xe,Ge){if(!this.style)return[];Ge===void 0&&xe!==void 0&&!(xe instanceof i.Point)&&!Array.isArray(xe)&&(Ge=xe,xe=void 0),Ge=Ge||{},xe=xe||[[0,0],[this.transform.width,this.transform.height]];var nt;if(xe instanceof i.Point||typeof xe[0]=="number")nt=[i.Point.convert(xe)];else{var yt=i.Point.convert(xe[0]),Ft=i.Point.convert(xe[1]);nt=[yt,new i.Point(Ft.x,yt.y),Ft,new i.Point(yt.x,Ft.y),yt]}return this.style.queryRenderedFeatures(nt,Ge,this.transform)},ne.prototype.querySourceFeatures=function(xe,Ge){return this.style.querySourceFeatures(xe,Ge)},ne.prototype.setStyle=function(xe,Ge){return Ge=i.extend({},{localIdeographFontFamily:this._localIdeographFontFamily},Ge),Ge.diff!==!1&&Ge.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&xe?(this._diffStyle(xe,Ge),this):(this._localIdeographFontFamily=Ge.localIdeographFontFamily,this._updateStyle(xe,Ge))},ne.prototype._getUIString=function(xe){var Ge=this._locale[xe];if(Ge==null)throw new Error("Missing UI string '"+xe+"'");return Ge},ne.prototype._updateStyle=function(xe,Ge){if(this.style&&(this.style.setEventedParent(null),this.style._remove()),xe)this.style=new nu(this,Ge||{});else return delete this.style,this;return this.style.setEventedParent(this,{style:this.style}),typeof xe=="string"?this.style.loadURL(xe):this.style.loadJSON(xe),this},ne.prototype._lazyInitEmptyStyle=function(){this.style||(this.style=new nu(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty())},ne.prototype._diffStyle=function(xe,Ge){var nt=this;if(typeof xe=="string"){var yt=this._requestManager.normalizeStyleURL(xe),Ft=this._requestManager.transformRequest(yt,i.ResourceType.Style);i.getJSON(Ft,function(Jt,lr){Jt?nt.fire(new i.ErrorEvent(Jt)):lr&&nt._updateDiff(lr,Ge)})}else typeof xe=="object"&&this._updateDiff(xe,Ge)},ne.prototype._updateDiff=function(xe,Ge){try{this.style.setState(xe)&&this._update(!0)}catch(nt){i.warnOnce("Unable to perform style diff: "+(nt.message||nt.error||nt)+". Rebuilding the style from scratch."),this._updateStyle(xe,Ge)}},ne.prototype.getStyle=function(){if(this.style)return this.style.serialize()},ne.prototype.isStyleLoaded=function(){return this.style?this.style.loaded():i.warnOnce("There is no style added to the map.")},ne.prototype.addSource=function(xe,Ge){return this._lazyInitEmptyStyle(),this.style.addSource(xe,Ge),this._update(!0)},ne.prototype.isSourceLoaded=function(xe){var Ge=this.style&&this.style.sourceCaches[xe];if(Ge===void 0){this.fire(new i.ErrorEvent(new Error("There is no source with ID '"+xe+"'")));return}return Ge.loaded()},ne.prototype.areTilesLoaded=function(){var xe=this.style&&this.style.sourceCaches;for(var Ge in xe){var nt=xe[Ge],yt=nt._tiles;for(var Ft in yt){var Jt=yt[Ft];if(!(Jt.state==="loaded"||Jt.state==="errored"))return!1}}return!0},ne.prototype.addSourceType=function(xe,Ge,nt){return this._lazyInitEmptyStyle(),this.style.addSourceType(xe,Ge,nt)},ne.prototype.removeSource=function(xe){return this.style.removeSource(xe),this._update(!0)},ne.prototype.getSource=function(xe){return this.style.getSource(xe)},ne.prototype.addImage=function(xe,Ge,nt){nt===void 0&&(nt={});var yt=nt.pixelRatio;yt===void 0&&(yt=1);var Ft=nt.sdf;Ft===void 0&&(Ft=!1);var Jt=nt.stretchX,lr=nt.stretchY,Er=nt.content;this._lazyInitEmptyStyle();var _r=0;if(Ge instanceof fv||fh&&Ge instanceof fh){var Qr=i.browser.getImageData(Ge),pn=Qr.width,hn=Qr.height,dn=Qr.data;this.style.addImage(xe,{data:new i.RGBAImage({width:pn,height:hn},dn),pixelRatio:yt,stretchX:Jt,stretchY:lr,content:Er,sdf:Ft,version:_r})}else{if(Ge.width===void 0||Ge.height===void 0)return this.fire(new i.ErrorEvent(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));var _n=Ge.width,Fn=Ge.height,la=Ge.data,ha=Ge;this.style.addImage(xe,{data:new i.RGBAImage({width:_n,height:Fn},new Uint8Array(la)),pixelRatio:yt,stretchX:Jt,stretchY:lr,content:Er,sdf:Ft,version:_r,userImage:ha}),ha.onAdd&&ha.onAdd(this,xe)}},ne.prototype.updateImage=function(xe,Ge){var nt=this.style.getImage(xe);if(!nt)return this.fire(new i.ErrorEvent(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));var yt=Ge instanceof fv||fh&&Ge instanceof fh?i.browser.getImageData(Ge):Ge,Ft=yt.width,Jt=yt.height,lr=yt.data;if(Ft===void 0||Jt===void 0)return this.fire(new i.ErrorEvent(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));if(Ft!==nt.data.width||Jt!==nt.data.height)return this.fire(new i.ErrorEvent(new Error("The width and height of the updated image must be that same as the previous version of the image")));var Er=!(Ge instanceof fv||fh&&Ge instanceof fh);nt.data.replace(lr,Er),this.style.updateImage(xe,nt)},ne.prototype.hasImage=function(xe){return xe?!!this.style.getImage(xe):(this.fire(new i.ErrorEvent(new Error("Missing required image id"))),!1)},ne.prototype.removeImage=function(xe){this.style.removeImage(xe)},ne.prototype.loadImage=function(xe,Ge){i.getImage(this._requestManager.transformRequest(xe,i.ResourceType.Image),Ge)},ne.prototype.listImages=function(){return this.style.listImages()},ne.prototype.addLayer=function(xe,Ge){return this._lazyInitEmptyStyle(),this.style.addLayer(xe,Ge),this._update(!0)},ne.prototype.moveLayer=function(xe,Ge){return this.style.moveLayer(xe,Ge),this._update(!0)},ne.prototype.removeLayer=function(xe){return this.style.removeLayer(xe),this._update(!0)},ne.prototype.getLayer=function(xe){return this.style.getLayer(xe)},ne.prototype.setLayerZoomRange=function(xe,Ge,nt){return this.style.setLayerZoomRange(xe,Ge,nt),this._update(!0)},ne.prototype.setFilter=function(xe,Ge,nt){return nt===void 0&&(nt={}),this.style.setFilter(xe,Ge,nt),this._update(!0)},ne.prototype.getFilter=function(xe){return this.style.getFilter(xe)},ne.prototype.setPaintProperty=function(xe,Ge,nt,yt){return yt===void 0&&(yt={}),this.style.setPaintProperty(xe,Ge,nt,yt),this._update(!0)},ne.prototype.getPaintProperty=function(xe,Ge){return this.style.getPaintProperty(xe,Ge)},ne.prototype.setLayoutProperty=function(xe,Ge,nt,yt){return yt===void 0&&(yt={}),this.style.setLayoutProperty(xe,Ge,nt,yt),this._update(!0)},ne.prototype.getLayoutProperty=function(xe,Ge){return this.style.getLayoutProperty(xe,Ge)},ne.prototype.setLight=function(xe,Ge){return Ge===void 0&&(Ge={}),this._lazyInitEmptyStyle(),this.style.setLight(xe,Ge),this._update(!0)},ne.prototype.getLight=function(){return this.style.getLight()},ne.prototype.setFeatureState=function(xe,Ge){return this.style.setFeatureState(xe,Ge),this._update()},ne.prototype.removeFeatureState=function(xe,Ge){return this.style.removeFeatureState(xe,Ge),this._update()},ne.prototype.getFeatureState=function(xe){return this.style.getFeatureState(xe)},ne.prototype.getContainer=function(){return this._container},ne.prototype.getCanvasContainer=function(){return this._canvasContainer},ne.prototype.getCanvas=function(){return this._canvas},ne.prototype._containerDimensions=function(){var xe=0,Ge=0;return this._container&&(xe=this._container.clientWidth||400,Ge=this._container.clientHeight||300),[xe,Ge]},ne.prototype._detectMissingCSS=function(){var xe=i.window.getComputedStyle(this._missingCSSCanary).getPropertyValue("background-color");xe!=="rgb(250, 128, 114)"&&i.warnOnce("This page appears to be missing CSS declarations for Mapbox GL JS, which may cause the map to display incorrectly. Please ensure your page includes mapbox-gl.css, as described in https://www.mapbox.com/mapbox-gl-js/api/.")},ne.prototype._setupContainer=function(){var xe=this._container;xe.classList.add("mapboxgl-map");var Ge=this._missingCSSCanary=g.create("div","mapboxgl-canary",xe);Ge.style.visibility="hidden",this._detectMissingCSS();var nt=this._canvasContainer=g.create("div","mapboxgl-canvas-container",xe);this._interactive&&nt.classList.add("mapboxgl-interactive"),this._canvas=g.create("canvas","mapboxgl-canvas",nt),this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex","0"),this._canvas.setAttribute("aria-label","Map"),this._canvas.setAttribute("role","region");var yt=this._containerDimensions();this._resizeCanvas(yt[0],yt[1]);var Ft=this._controlContainer=g.create("div","mapboxgl-control-container",xe),Jt=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach(function(lr){Jt[lr]=g.create("div","mapboxgl-ctrl-"+lr,Ft)}),this._container.addEventListener("scroll",this._onMapScroll,!1)},ne.prototype._resizeCanvas=function(xe,Ge){var nt=i.browser.devicePixelRatio||1;this._canvas.width=nt*xe,this._canvas.height=nt*Ge,this._canvas.style.width=xe+"px",this._canvas.style.height=Ge+"px"},ne.prototype._setupPainter=function(){var xe=i.extend({},S.webGLContextAttributes,{failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1}),Ge=this._canvas.getContext("webgl",xe)||this._canvas.getContext("experimental-webgl",xe);if(!Ge){this.fire(new i.ErrorEvent(new Error("Failed to initialize WebGL")));return}this.painter=new an(Ge,this.transform),i.webpSupported.testSupport(Ge)},ne.prototype._contextLost=function(xe){xe.preventDefault(),this._frame&&(this._frame.cancel(),this._frame=null),this.fire(new i.Event("webglcontextlost",{originalEvent:xe}))},ne.prototype._contextRestored=function(xe){this._setupPainter(),this.resize(),this._update(),this.fire(new i.Event("webglcontextrestored",{originalEvent:xe}))},ne.prototype._onMapScroll=function(xe){if(xe.target===this._container)return this._container.scrollTop=0,this._container.scrollLeft=0,!1},ne.prototype.loaded=function(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()},ne.prototype._update=function(xe){return this.style?(this._styleDirty=this._styleDirty||xe,this._sourcesDirty=!0,this.triggerRepaint(),this):this},ne.prototype._requestRenderFrame=function(xe){return this._update(),this._renderTaskQueue.add(xe)},ne.prototype._cancelRenderFrame=function(xe){this._renderTaskQueue.remove(xe)},ne.prototype._render=function(xe){var Ge=this,nt,yt=0,Ft=this.painter.context.extTimerQuery;if(this.listens("gpu-timing-frame")&&(nt=Ft.createQueryEXT(),Ft.beginQueryEXT(Ft.TIME_ELAPSED_EXT,nt),yt=i.browser.now()),this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run(xe),!this._removed){var Jt=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;var lr=this.transform.zoom,Er=i.browser.now();this.style.zoomHistory.update(lr,Er);var _r=new i.EvaluationParameters(lr,{now:Er,fadeDuration:this._fadeDuration,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),Qr=_r.crossFadingFactor();(Qr!==1||Qr!==this._crossFadingFactor)&&(Jt=!0,this._crossFadingFactor=Qr),this.style.update(_r)}if(this.style&&this._sourcesDirty&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,this._fadeDuration,this._crossSourceCollisions),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:this._fadeDuration,showPadding:this.showPadding,gpuTiming:!!this.listens("gpu-timing-layer")}),this.fire(new i.Event("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new i.Event("load"))),this.style&&(this.style.hasTransitions()||Jt)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles(),this.listens("gpu-timing-frame")){var pn=i.browser.now()-yt;Ft.endQueryEXT(Ft.TIME_ELAPSED_EXT,nt),setTimeout(function(){var _n=Ft.getQueryObjectEXT(nt,Ft.QUERY_RESULT_EXT)/1e6;Ft.deleteQueryEXT(nt),Ge.fire(new i.Event("gpu-timing-frame",{cpuTime:pn,gpuTime:_n}))},50)}if(this.listens("gpu-timing-layer")){var hn=this.painter.collectGpuTimers();setTimeout(function(){var _n=Ge.painter.queryGpuTimers(hn);Ge.fire(new i.Event("gpu-timing-layer",{layerTimes:_n}))},50)}var dn=this._sourcesDirty||this._styleDirty||this._placementDirty;return dn||this._repaint?this.triggerRepaint():!this.isMoving()&&this.loaded()&&this.fire(new i.Event("idle")),this._loaded&&!this._fullyLoaded&&!dn&&(this._fullyLoaded=!0),this}},ne.prototype.remove=function(){this._hash&&this._hash.remove();for(var xe=0,Ge=this._controls;xe<Ge.length;xe+=1){var nt=Ge[xe];nt.onRemove(this)}this._controls=[],this._frame&&(this._frame.cancel(),this._frame=null),this._renderTaskQueue.clear(),this.painter.destroy(),this.handlers.destroy(),delete this.handlers,this.setStyle(null),typeof i.window<"u"&&(i.window.removeEventListener("resize",this._onWindowResize,!1),i.window.removeEventListener("orientationchange",this._onWindowResize,!1),i.window.removeEventListener("online",this._onWindowOnline,!1));var yt=this.painter.context.gl.getExtension("WEBGL_lose_context");yt&&yt.loseContext&&yt.loseContext(),m0(this._canvasContainer),m0(this._controlContainer),m0(this._missingCSSCanary),this._container.classList.remove("mapboxgl-map"),this._removed=!0,this.fire(new i.Event("remove"))},ne.prototype.triggerRepaint=function(){var xe=this;this.style&&!this._frame&&(this._frame=i.browser.frame(function(Ge){xe._frame=null,xe._render(Ge)}))},ne.prototype._onWindowOnline=function(){this._update()},ne.prototype._onWindowResize=function(xe){this._trackResize&&this.resize({originalEvent:xe})._update()},ye.showTileBoundaries.get=function(){return!!this._showTileBoundaries},ye.showTileBoundaries.set=function(se){this._showTileBoundaries!==se&&(this._showTileBoundaries=se,this._update())},ye.showPadding.get=function(){return!!this._showPadding},ye.showPadding.set=function(se){this._showPadding!==se&&(this._showPadding=se,this._update())},ye.showCollisionBoxes.get=function(){return!!this._showCollisionBoxes},ye.showCollisionBoxes.set=function(se){this._showCollisionBoxes!==se&&(this._showCollisionBoxes=se,se?this.style._generateCollisionBoxes():this._update())},ye.showOverdrawInspector.get=function(){return!!this._showOverdrawInspector},ye.showOverdrawInspector.set=function(se){this._showOverdrawInspector!==se&&(this._showOverdrawInspector=se,this._update())},ye.repaint.get=function(){return!!this._repaint},ye.repaint.set=function(se){this._repaint!==se&&(this._repaint=se,this.triggerRepaint())},ye.vertices.get=function(){return!!this._vertices},ye.vertices.set=function(se){this._vertices=se,this._update()},ne.prototype._setCacheLimits=function(xe,Ge){i.setCacheLimits(xe,Ge)},ye.version.get=function(){return i.version},Object.defineProperties(ne.prototype,ye),ne}(yp);function m0(ge){ge.parentNode&&ge.parentNode.removeChild(ge)}var l_={showCompass:!0,showZoom:!0,visualizePitch:!1},_p=function(ne){var ye=this;this.options=i.extend({},l_,ne),this._container=g.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._container.addEventListener("contextmenu",function(se){return se.preventDefault()}),this.options.showZoom&&(i.bindAll(["_setButtonTitle","_updateZoomButtons"],this),this._zoomInButton=this._createButton("mapboxgl-ctrl-zoom-in",function(se){return ye._map.zoomIn({},{originalEvent:se})}),g.create("span","mapboxgl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden",!0),this._zoomOutButton=this._createButton("mapboxgl-ctrl-zoom-out",function(se){return ye._map.zoomOut({},{originalEvent:se})}),g.create("span","mapboxgl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden",!0)),this.options.showCompass&&(i.bindAll(["_rotateCompassArrow"],this),this._compass=this._createButton("mapboxgl-ctrl-compass",function(se){ye.options.visualizePitch?ye._map.resetNorthPitch({},{originalEvent:se}):ye._map.resetNorth({},{originalEvent:se})}),this._compassIcon=g.create("span","mapboxgl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden",!0))};_p.prototype._updateZoomButtons=function(){var ne=this._map.getZoom(),ye=ne===this._map.getMaxZoom(),se=ne===this._map.getMinZoom();this._zoomInButton.disabled=ye,this._zoomOutButton.disabled=se,this._zoomInButton.setAttribute("aria-disabled",ye.toString()),this._zoomOutButton.setAttribute("aria-disabled",se.toString())},_p.prototype._rotateCompassArrow=function(){var ne=this.options.visualizePitch?"scale("+1/Math.pow(Math.cos(this._map.transform.pitch*(Math.PI/180)),.5)+") rotateX("+this._map.transform.pitch+"deg) rotateZ("+this._map.transform.angle*(180/Math.PI)+"deg)":"rotate("+this._map.transform.angle*(180/Math.PI)+"deg)";this._compassIcon.style.transform=ne},_p.prototype.onAdd=function(ne){return this._map=ne,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),this._map.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&this._map.on("pitch",this._rotateCompassArrow),this._map.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new Gu(this._map,this._compass,this.options.visualizePitch)),this._container},_p.prototype.onRemove=function(){g.remove(this._container),this.options.showZoom&&this._map.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off("pitch",this._rotateCompassArrow),this._map.off("rotate",this._rotateCompassArrow),this._handler.off(),delete this._handler),delete this._map},_p.prototype._createButton=function(ne,ye){var se=g.create("button",ne,this._container);return se.type="button",se.addEventListener("click",ye),se},_p.prototype._setButtonTitle=function(ne,ye){var se=this._map._getUIString("NavigationControl."+ye);ne.title=se,ne.setAttribute("aria-label",se)};var Gu=function(ne,ye,se){se===void 0&&(se=!1),this._clickTolerance=10,this.element=ye,this.mouseRotate=new ti({clickTolerance:ne.dragRotate._mouseRotate._clickTolerance}),this.map=ne,se&&(this.mousePitch=new Fa({clickTolerance:ne.dragRotate._mousePitch._clickTolerance})),i.bindAll(["mousedown","mousemove","mouseup","touchstart","touchmove","touchend","reset"],this),g.addEventListener(ye,"mousedown",this.mousedown),g.addEventListener(ye,"touchstart",this.touchstart,{passive:!1}),g.addEventListener(ye,"touchmove",this.touchmove),g.addEventListener(ye,"touchend",this.touchend),g.addEventListener(ye,"touchcancel",this.reset)};Gu.prototype.down=function(ne,ye){this.mouseRotate.mousedown(ne,ye),this.mousePitch&&this.mousePitch.mousedown(ne,ye),g.disableDrag()},Gu.prototype.move=function(ne,ye){var se=this.map,xe=this.mouseRotate.mousemoveWindow(ne,ye);if(xe&&xe.bearingDelta&&se.setBearing(se.getBearing()+xe.bearingDelta),this.mousePitch){var Ge=this.mousePitch.mousemoveWindow(ne,ye);Ge&&Ge.pitchDelta&&se.setPitch(se.getPitch()+Ge.pitchDelta)}},Gu.prototype.off=function(){var ne=this.element;g.removeEventListener(ne,"mousedown",this.mousedown),g.removeEventListener(ne,"touchstart",this.touchstart,{passive:!1}),g.removeEventListener(ne,"touchmove",this.touchmove),g.removeEventListener(ne,"touchend",this.touchend),g.removeEventListener(ne,"touchcancel",this.reset),this.offTemp()},Gu.prototype.offTemp=function(){g.enableDrag(),g.removeEventListener(i.window,"mousemove",this.mousemove),g.removeEventListener(i.window,"mouseup",this.mouseup)},Gu.prototype.mousedown=function(ne){this.down(i.extend({},ne,{ctrlKey:!0,preventDefault:function(){return ne.preventDefault()}}),g.mousePos(this.element,ne)),g.addEventListener(i.window,"mousemove",this.mousemove),g.addEventListener(i.window,"mouseup",this.mouseup)},Gu.prototype.mousemove=function(ne){this.move(ne,g.mousePos(this.element,ne))},Gu.prototype.mouseup=function(ne){this.mouseRotate.mouseupWindow(ne),this.mousePitch&&this.mousePitch.mouseupWindow(ne),this.offTemp()},Gu.prototype.touchstart=function(ne){ne.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=g.touchPos(this.element,ne.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return ne.preventDefault()}},this._startPos))},Gu.prototype.touchmove=function(ne){ne.targetTouches.length!==1?this.reset():(this._lastPos=g.touchPos(this.element,ne.targetTouches)[0],this.move({preventDefault:function(){return ne.preventDefault()}},this._lastPos))},Gu.prototype.touchend=function(ne){ne.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)<this._clickTolerance&&this.element.click(),this.reset()},Gu.prototype.reset=function(){this.mouseRotate.reset(),this.mousePitch&&this.mousePitch.reset(),delete this._startPos,delete this._lastPos,this.offTemp()};function Rf(ge,ne,ye){if(ge=new i.LngLat(ge.lng,ge.lat),ne){var se=new i.LngLat(ge.lng-360,ge.lat),xe=new i.LngLat(ge.lng+360,ge.lat),Ge=ye.locationPoint(ge).distSqr(ne);ye.locationPoint(se).distSqr(ne)<Ge?ge=se:ye.locationPoint(xe).distSqr(ne)<Ge&&(ge=xe)}for(;Math.abs(ge.lng-ye.center.lng)>180;){var nt=ye.locationPoint(ge);if(nt.x>=0&&nt.y>=0&&nt.x<=ye.width&&nt.y<=ye.height)break;ge.lng>ye.center.lng?ge.lng-=360:ge.lng+=360}return ge}var Dm={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function pv(ge,ne,ye){var se=ge.classList;for(var xe in Dm)se.remove("mapboxgl-"+ye+"-anchor-"+xe);se.add("mapboxgl-"+ye+"-anchor-"+ne)}var v1=function(ge){function ne(ye,se){if(ge.call(this),(ye instanceof i.window.HTMLElement||se)&&(ye=i.extend({element:ye},se)),i.bindAll(["_update","_onMove","_onUp","_addDragHandler","_onMapClick","_onKeyPress"],this),this._anchor=ye&&ye.anchor||"center",this._color=ye&&ye.color||"#3FB1CE",this._scale=ye&&ye.scale||1,this._draggable=ye&&ye.draggable||!1,this._clickTolerance=ye&&ye.clickTolerance||0,this._isDragging=!1,this._state="inactive",this._rotation=ye&&ye.rotation||0,this._rotationAlignment=ye&&ye.rotationAlignment||"auto",this._pitchAlignment=ye&&ye.pitchAlignment&&ye.pitchAlignment!=="auto"?ye.pitchAlignment:this._rotationAlignment,!ye||!ye.element){this._defaultMarker=!0,this._element=g.create("div"),this._element.setAttribute("aria-label","Map marker");var xe=g.createNS("http://www.w3.org/2000/svg","svg"),Ge=41,nt=27;xe.setAttributeNS(null,"display","block"),xe.setAttributeNS(null,"height",Ge+"px"),xe.setAttributeNS(null,"width",nt+"px"),xe.setAttributeNS(null,"viewBox","0 0 "+nt+" "+Ge);var yt=g.createNS("http://www.w3.org/2000/svg","g");yt.setAttributeNS(null,"stroke","none"),yt.setAttributeNS(null,"stroke-width","1"),yt.setAttributeNS(null,"fill","none"),yt.setAttributeNS(null,"fill-rule","evenodd");var Ft=g.createNS("http://www.w3.org/2000/svg","g");Ft.setAttributeNS(null,"fill-rule","nonzero");var Jt=g.createNS("http://www.w3.org/2000/svg","g");Jt.setAttributeNS(null,"transform","translate(3.0, 29.0)"),Jt.setAttributeNS(null,"fill","#000000");for(var lr=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}],Er=0,_r=lr;Er<_r.length;Er+=1){var Qr=_r[Er],pn=g.createNS("http://www.w3.org/2000/svg","ellipse");pn.setAttributeNS(null,"opacity","0.04"),pn.setAttributeNS(null,"cx","10.5"),pn.setAttributeNS(null,"cy","5.80029008"),pn.setAttributeNS(null,"rx",Qr.rx),pn.setAttributeNS(null,"ry",Qr.ry),Jt.appendChild(pn)}var hn=g.createNS("http://www.w3.org/2000/svg","g");hn.setAttributeNS(null,"fill",this._color);var dn=g.createNS("http://www.w3.org/2000/svg","path");dn.setAttributeNS(null,"d","M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"),hn.appendChild(dn);var _n=g.createNS("http://www.w3.org/2000/svg","g");_n.setAttributeNS(null,"opacity","0.25"),_n.setAttributeNS(null,"fill","#000000");var Fn=g.createNS("http://www.w3.org/2000/svg","path");Fn.setAttributeNS(null,"d","M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"),_n.appendChild(Fn);var la=g.createNS("http://www.w3.org/2000/svg","g");la.setAttributeNS(null,"transform","translate(6.0, 7.0)"),la.setAttributeNS(null,"fill","#FFFFFF");var ha=g.createNS("http://www.w3.org/2000/svg","g");ha.setAttributeNS(null,"transform","translate(8.0, 8.0)");var Ca=g.createNS("http://www.w3.org/2000/svg","circle");Ca.setAttributeNS(null,"fill","#000000"),Ca.setAttributeNS(null,"opacity","0.25"),Ca.setAttributeNS(null,"cx","5.5"),Ca.setAttributeNS(null,"cy","5.5"),Ca.setAttributeNS(null,"r","5.4999962");var Ia=g.createNS("http://www.w3.org/2000/svg","circle");Ia.setAttributeNS(null,"fill","#FFFFFF"),Ia.setAttributeNS(null,"cx","5.5"),Ia.setAttributeNS(null,"cy","5.5"),Ia.setAttributeNS(null,"r","5.4999962"),ha.appendChild(Ca),ha.appendChild(Ia),Ft.appendChild(Jt),Ft.appendChild(hn),Ft.appendChild(_n),Ft.appendChild(la),Ft.appendChild(ha),xe.appendChild(Ft),xe.setAttributeNS(null,"height",Ge*this._scale+"px"),xe.setAttributeNS(null,"width",nt*this._scale+"px"),this._element.appendChild(xe),this._offset=i.Point.convert(ye&&ye.offset||[0,-14])}else this._element=ye.element,this._offset=i.Point.convert(ye&&ye.offset||[0,0]);this._element.classList.add("mapboxgl-marker"),this._element.addEventListener("dragstart",function(Ta){Ta.preventDefault()}),this._element.addEventListener("mousedown",function(Ta){Ta.preventDefault()}),pv(this._element,this._anchor,"marker"),this._popup=null}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.addTo=function(se){return this.remove(),this._map=se,se.getCanvasContainer().appendChild(this._element),se.on("move",this._update),se.on("moveend",this._update),this.setDraggable(this._draggable),this._update(),this._map.on("click",this._onMapClick),this},ne.prototype.remove=function(){return this._map&&(this._map.off("click",this._onMapClick),this._map.off("move",this._update),this._map.off("moveend",this._update),this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler),this._map.off("mouseup",this._onUp),this._map.off("touchend",this._onUp),this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),delete this._map),g.remove(this._element),this._popup&&this._popup.remove(),this},ne.prototype.getLngLat=function(){return this._lngLat},ne.prototype.setLngLat=function(se){return this._lngLat=i.LngLat.convert(se),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this},ne.prototype.getElement=function(){return this._element},ne.prototype.setPopup=function(se){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener("keypress",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute("tabindex")),se){if(!("offset"in se.options)){var xe=38.1,Ge=13.5,nt=Math.sqrt(Math.pow(Ge,2)/2);se.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-xe],"bottom-left":[nt,(xe-Ge+nt)*-1],"bottom-right":[-nt,(xe-Ge+nt)*-1],left:[Ge,(xe-Ge)*-1],right:[-Ge,(xe-Ge)*-1]}:this._offset}this._popup=se,this._lngLat&&this._popup.setLngLat(this._lngLat),this._originalTabIndex=this._element.getAttribute("tabindex"),this._originalTabIndex||this._element.setAttribute("tabindex","0"),this._element.addEventListener("keypress",this._onKeyPress)}return this},ne.prototype._onKeyPress=function(se){var xe=se.code,Ge=se.charCode||se.keyCode;(xe==="Space"||xe==="Enter"||Ge===32||Ge===13)&&this.togglePopup()},ne.prototype._onMapClick=function(se){var xe=se.originalEvent.target,Ge=this._element;this._popup&&(xe===Ge||Ge.contains(xe))&&this.togglePopup()},ne.prototype.getPopup=function(){return this._popup},ne.prototype.togglePopup=function(){var se=this._popup;if(se)se.isOpen()?se.remove():se.addTo(this._map);else return this;return this},ne.prototype._update=function(se){if(this._map){this._map.transform.renderWorldCopies&&(this._lngLat=Rf(this._lngLat,this._pos,this._map.transform)),this._pos=this._map.project(this._lngLat)._add(this._offset);var xe="";this._rotationAlignment==="viewport"||this._rotationAlignment==="auto"?xe="rotateZ("+this._rotation+"deg)":this._rotationAlignment==="map"&&(xe="rotateZ("+(this._rotation-this._map.getBearing())+"deg)");var Ge="";this._pitchAlignment==="viewport"||this._pitchAlignment==="auto"?Ge="rotateX(0deg)":this._pitchAlignment==="map"&&(Ge="rotateX("+this._map.getPitch()+"deg)"),(!se||se.type==="moveend")&&(this._pos=this._pos.round()),g.setTransform(this._element,Dm[this._anchor]+" translate("+this._pos.x+"px, "+this._pos.y+"px) "+Ge+" "+xe)}},ne.prototype.getOffset=function(){return this._offset},ne.prototype.setOffset=function(se){return this._offset=i.Point.convert(se),this._update(),this},ne.prototype._onMove=function(se){if(!this._isDragging){var xe=this._clickTolerance||this._map._clickTolerance;this._isDragging=se.point.dist(this._pointerdownPos)>=xe}this._isDragging&&(this._pos=se.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none",this._state==="pending"&&(this._state="active",this.fire(new i.Event("dragstart"))),this.fire(new i.Event("drag")))},ne.prototype._onUp=function(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),this._state==="active"&&this.fire(new i.Event("dragend")),this._state="inactive"},ne.prototype._addDragHandler=function(se){this._element.contains(se.originalEvent.target)&&(se.preventDefault(),this._positionDelta=se.point.sub(this._pos).add(this._offset),this._pointerdownPos=se.point,this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp))},ne.prototype.setDraggable=function(se){return this._draggable=!!se,this._map&&(se?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this},ne.prototype.isDraggable=function(){return this._draggable},ne.prototype.setRotation=function(se){return this._rotation=se||0,this._update(),this},ne.prototype.getRotation=function(){return this._rotation},ne.prototype.setRotationAlignment=function(se){return this._rotationAlignment=se||"auto",this._update(),this},ne.prototype.getRotationAlignment=function(){return this._rotationAlignment},ne.prototype.setPitchAlignment=function(se){return this._pitchAlignment=se&&se!=="auto"?se:this._rotationAlignment,this._update(),this},ne.prototype.getPitchAlignment=function(){return this._pitchAlignment},ne}(i.Evented),Pm={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0},m1;function Fm(ge){m1!==void 0?ge(m1):i.window.navigator.permissions!==void 0?i.window.navigator.permissions.query({name:"geolocation"}).then(function(ne){m1=ne.state!=="denied",ge(m1)}):(m1=!!i.window.navigator.geolocation,ge(m1))}var g0=0,g1=!1,c_=function(ge){function ne(ye){ge.call(this),this.options=i.extend({},Pm,ye),i.bindAll(["_onSuccess","_onError","_onZoom","_finish","_setupUI","_updateCamera","_updateMarker"],this)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.onAdd=function(se){return this._map=se,this._container=g.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),Fm(this._setupUI),this._container},ne.prototype.onRemove=function(){this._geolocationWatchID!==void 0&&(i.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),g.remove(this._container),this._map.off("zoom",this._onZoom),this._map=void 0,g0=0,g1=!1},ne.prototype._isOutOfMapMaxBounds=function(se){var xe=this._map.getMaxBounds(),Ge=se.coords;return xe&&(Ge.longitude<xe.getWest()||Ge.longitude>xe.getEast()||Ge.latitude<xe.getSouth()||Ge.latitude>xe.getNorth())},ne.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break}},ne.prototype._onSuccess=function(se){if(this._map){if(this._isOutOfMapMaxBounds(se)){this._setErrorState(),this.fire(new i.Event("outofmaxbounds",se)),this._updateMarker(),this._finish();return}if(this.options.trackUserLocation)switch(this._lastKnownPosition=se,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(se),(!this.options.trackUserLocation||this._watchState==="ACTIVE_LOCK")&&this._updateCamera(se),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("geolocate",se)),this._finish()}},ne.prototype._updateCamera=function(se){var xe=new i.LngLat(se.coords.longitude,se.coords.latitude),Ge=se.coords.accuracy,nt=this._map.getBearing(),yt=i.extend({bearing:nt},this.options.fitBoundsOptions);this._map.fitBounds(xe.toBounds(Ge),yt,{geolocateSource:!0})},ne.prototype._updateMarker=function(se){if(se){var xe=new i.LngLat(se.coords.longitude,se.coords.latitude);this._accuracyCircleMarker.setLngLat(xe).addTo(this._map),this._userLocationDotMarker.setLngLat(xe).addTo(this._map),this._accuracy=se.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},ne.prototype._updateCircleRadius=function(){var se=this._map._container.clientHeight/2,xe=this._map.unproject([0,se]),Ge=this._map.unproject([1,se]),nt=xe.distanceTo(Ge),yt=Math.ceil(2*this._accuracy/nt);this._circleElement.style.width=yt+"px",this._circleElement.style.height=yt+"px"},ne.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},ne.prototype._onError=function(se){if(this._map){if(this.options.trackUserLocation)if(se.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var xe=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=xe,this._geolocateButton.setAttribute("aria-label",xe),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(se.code===3&&g1)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("error",se)),this._finish()}},ne.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},ne.prototype._setupUI=function(se){var xe=this;if(this._container.addEventListener("contextmenu",function(yt){return yt.preventDefault()}),this._geolocateButton=g.create("button","mapboxgl-ctrl-geolocate",this._container),g.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",se===!1){i.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var Ge=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=Ge,this._geolocateButton.setAttribute("aria-label",Ge)}else{var nt=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=nt,this._geolocateButton.setAttribute("aria-label",nt)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=g.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new v1(this._dotElement),this._circleElement=g.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new v1({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",function(yt){var Ft=yt.originalEvent&&yt.originalEvent.type==="resize";!yt.geolocateSource&&xe._watchState==="ACTIVE_LOCK"&&!Ft&&(xe._watchState="BACKGROUND",xe._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),xe._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),xe.fire(new i.Event("trackuserlocationend")))})},ne.prototype.trigger=function(){if(!this._setup)return i.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new i.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":g0--,g1=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new i.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new i.Event("trackuserlocationstart"));break}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error");break}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),g0++;var se;g0>1?(se={maximumAge:6e5,timeout:0},g1=!0):(se=this.options.positionOptions,g1=!1),this._geolocationWatchID=i.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,se)}}else i.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},ne.prototype._clearWatch=function(){i.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},ne}(i.Evented),g4={maxWidth:100,unit:"metric"},y1=function(ne){this.options=i.extend({},g4,ne),i.bindAll(["_onMove","setUnit"],this)};y1.prototype.getDefaultPosition=function(){return"bottom-left"},y1.prototype._onMove=function(){ph(this._map,this._container,this.options)},y1.prototype.onAdd=function(ne){return this._map=ne,this._container=g.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",ne.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},y1.prototype.onRemove=function(){g.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},y1.prototype.setUnit=function(ne){this.options.unit=ne,ph(this._map,this._container,this.options)};function ph(ge,ne,ye){var se=ye&&ye.maxWidth||100,xe=ge._container.clientHeight/2,Ge=ge.unproject([0,xe]),nt=ge.unproject([se,xe]),yt=Ge.distanceTo(nt);if(ye&&ye.unit==="imperial"){var Ft=3.2808*yt;if(Ft>5280){var Jt=Ft/5280;vv(ne,se,Jt,ge._getUIString("ScaleControl.Miles"))}else vv(ne,se,Ft,ge._getUIString("ScaleControl.Feet"))}else if(ye&&ye.unit==="nautical"){var lr=yt/1852;vv(ne,se,lr,ge._getUIString("ScaleControl.NauticalMiles"))}else yt>=1e3?vv(ne,se,yt/1e3,ge._getUIString("ScaleControl.Kilometers")):vv(ne,se,yt,ge._getUIString("ScaleControl.Meters"))}function vv(ge,ne,ye,se){var xe=i6(ye),Ge=xe/ye;ge.style.width=ne*Ge+"px",ge.innerHTML=xe+"&nbsp;"+se}function y4(ge){var ne=Math.pow(10,Math.ceil(-Math.log(ge)/Math.LN10));return Math.round(ge*ne)/ne}function i6(ge){var ne=Math.pow(10,(""+Math.floor(ge)).length-1),ye=ge/ne;return ye=ye>=10?10:ye>=5?5:ye>=3?3:ye>=2?2:ye>=1?1:y4(ye),ne*ye}var Nf=function(ne){this._fullscreen=!1,ne&&ne.container&&(ne.container instanceof i.window.HTMLElement?this._container=ne.container:i.warnOnce("Full screen control 'container' must be a DOM element.")),i.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in i.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in i.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in i.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in i.window.document&&(this._fullscreenchange="MSFullscreenChange")};Nf.prototype.onAdd=function(ne){return this._map=ne,this._container||(this._container=this._map.getContainer()),this._controlContainer=g.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",i.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},Nf.prototype.onRemove=function(){g.remove(this._controlContainer),this._map=null,i.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},Nf.prototype._checkFullscreenSupport=function(){return!!(i.window.document.fullscreenEnabled||i.window.document.mozFullScreenEnabled||i.window.document.msFullscreenEnabled||i.window.document.webkitFullscreenEnabled)},Nf.prototype._setupUI=function(){var ne=this._fullscreenButton=g.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);g.create("span","mapboxgl-ctrl-icon",ne).setAttribute("aria-hidden",!0),ne.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),i.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},Nf.prototype._updateTitle=function(){var ne=this._getTitle();this._fullscreenButton.setAttribute("aria-label",ne),this._fullscreenButton.title=ne},Nf.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},Nf.prototype._isFullscreen=function(){return this._fullscreen},Nf.prototype._changeIcon=function(){var ne=i.window.document.fullscreenElement||i.window.document.mozFullScreenElement||i.window.document.webkitFullscreenElement||i.window.document.msFullscreenElement;ne===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},Nf.prototype._onClickFullscreen=function(){this._isFullscreen()?i.window.document.exitFullscreen?i.window.document.exitFullscreen():i.window.document.mozCancelFullScreen?i.window.document.mozCancelFullScreen():i.window.document.msExitFullscreen?i.window.document.msExitFullscreen():i.window.document.webkitCancelFullScreen&&i.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var o6={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:"",maxWidth:"240px"},s6=["a[href]","[tabindex]:not([tabindex='-1'])","[contenteditable]:not([contenteditable='false'])","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].join(", "),y0=function(ge){function ne(ye){ge.call(this),this.options=i.extend(Object.create(o6),ye),i.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return ge&&(ne.__proto__=ge),ne.prototype=Object.create(ge&&ge.prototype),ne.prototype.constructor=ne,ne.prototype.addTo=function(se){return this._map&&this.remove(),this._map=se,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new i.Event("open")),this},ne.prototype.isOpen=function(){return!!this._map},ne.prototype.remove=function(){return this._content&&g.remove(this._content),this._container&&(g.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new i.Event("close")),this},ne.prototype.getLngLat=function(){return this._lngLat},ne.prototype.setLngLat=function(se){return this._lngLat=i.LngLat.convert(se),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},ne.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},ne.prototype.getElement=function(){return this._container},ne.prototype.setText=function(se){return this.setDOMContent(i.window.document.createTextNode(se))},ne.prototype.setHTML=function(se){var xe=i.window.document.createDocumentFragment(),Ge=i.window.document.createElement("body"),nt;for(Ge.innerHTML=se;nt=Ge.firstChild,!!nt;)xe.appendChild(nt);return this.setDOMContent(xe)},ne.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},ne.prototype.setMaxWidth=function(se){return this.options.maxWidth=se,this._update(),this},ne.prototype.setDOMContent=function(se){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=g.create("div","mapboxgl-popup-content",this._container);return this._content.appendChild(se),this._createCloseButton(),this._update(),this._focusFirstElement(),this},ne.prototype.addClassName=function(se){this._container&&this._container.classList.add(se)},ne.prototype.removeClassName=function(se){this._container&&this._container.classList.remove(se)},ne.prototype.setOffset=function(se){return this.options.offset=se,this._update(),this},ne.prototype.toggleClassName=function(se){if(this._container)return this._container.classList.toggle(se)},ne.prototype._createCloseButton=function(){this.options.closeButton&&(this._closeButton=g.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="&#215;",this._closeButton.addEventListener("click",this._onClose))},ne.prototype._onMouseUp=function(se){this._update(se.point)},ne.prototype._onMouseMove=function(se){this._update(se.point)},ne.prototype._onDrag=function(se){this._update(se.point)},ne.prototype._update=function(se){var xe=this,Ge=this._lngLat||this._trackPointer;if(!(!this._map||!Ge||!this._content)&&(this._container||(this._container=g.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=g.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(Qr){return xe._container.classList.add(Qr)}),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=Rf(this._lngLat,this._pos,this._map.transform)),!(this._trackPointer&&!se))){var nt=this._pos=this._trackPointer&&se?se:this._map.project(this._lngLat),yt=this.options.anchor,Ft=u_(this.options.offset);if(!yt){var Jt=this._container.offsetWidth,lr=this._container.offsetHeight,Er;nt.y+Ft.bottom.y<lr?Er=["top"]:nt.y>this._map.transform.height-lr?Er=["bottom"]:Er=[],nt.x<Jt/2?Er.push("left"):nt.x>this._map.transform.width-Jt/2&&Er.push("right"),Er.length===0?yt="bottom":yt=Er.join("-")}var _r=nt.add(Ft[yt]).round();g.setTransform(this._container,Dm[yt]+" translate("+_r.x+"px,"+_r.y+"px)"),pv(this._container,yt,"popup")}},ne.prototype._focusFirstElement=function(){if(!(!this.options.focusAfterOpen||!this._container)){var se=this._container.querySelector(s6);se&&se.focus()}},ne.prototype._onClose=function(){this.remove()},ne}(i.Evented);function u_(ge){if(ge)if(typeof ge=="number"){var ne=Math.round(Math.sqrt(.5*Math.pow(ge,2)));return{center:new i.Point(0,0),top:new i.Point(0,ge),"top-left":new i.Point(ne,ne),"top-right":new i.Point(-ne,ne),bottom:new i.Point(0,-ge),"bottom-left":new i.Point(ne,-ne),"bottom-right":new i.Point(-ne,-ne),left:new i.Point(ge,0),right:new i.Point(-ge,0)}}else if(ge instanceof i.Point||Array.isArray(ge)){var ye=i.Point.convert(ge);return{center:ye,top:ye,"top-left":ye,"top-right":ye,bottom:ye,"bottom-left":ye,"bottom-right":ye,left:ye,right:ye}}else return{center:i.Point.convert(ge.center||[0,0]),top:i.Point.convert(ge.top||[0,0]),"top-left":i.Point.convert(ge["top-left"]||[0,0]),"top-right":i.Point.convert(ge["top-right"]||[0,0]),bottom:i.Point.convert(ge.bottom||[0,0]),"bottom-left":i.Point.convert(ge["bottom-left"]||[0,0]),"bottom-right":i.Point.convert(ge["bottom-right"]||[0,0]),left:i.Point.convert(ge.left||[0,0]),right:i.Point.convert(ge.right||[0,0])};else return u_(new i.Point(0,0))}var xl={version:i.version,supported:S,setRTLTextPlugin:i.setRTLTextPlugin,getRTLTextPluginStatus:i.getRTLTextPluginStatus,Map:p1,NavigationControl:_p,GeolocateControl:c_,AttributionControl:wo,ScaleControl:y1,FullscreenControl:Nf,Popup:y0,Marker:v1,Style:nu,LngLat:i.LngLat,LngLatBounds:i.LngLatBounds,Point:i.Point,MercatorCoordinate:i.MercatorCoordinate,Evented:i.Evented,config:i.config,prewarm:jt,clearPrewarmedResources:ar,get accessToken(){return i.config.ACCESS_TOKEN},set accessToken(ge){i.config.ACCESS_TOKEN=ge},get baseApiUrl(){return i.config.API_URL},set baseApiUrl(ge){i.config.API_URL=ge},get workerCount(){return Tr.workerCount},set workerCount(ge){Tr.workerCount=ge},get maxParallelImageRequests(){return i.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(ge){i.config.MAX_PARALLEL_IMAGE_REQUESTS=ge},clearStorage:function(ne){i.clearTileCache(ne)},workerUrl:""};return xl}),l})},3108:function(u,h,a){u.exports=a(26099)},26099:function(u,h,a){var l=a(64928),v=a(32420),i=a(51160),S=a(76752),g=a(55616),p=a(31264),_=a(47520),c=a(18400),s=a(72512),d=a(76244),f=1073741824;u.exports=function(y,C){C||(C={}),y=_(y,"float64"),C=g(C,{bounds:"range bounds dataBox databox",maxDepth:"depth maxDepth maxdepth level maxLevel maxlevel levels",dtype:"type dtype format out dst output destination"});var w=p(C.maxDepth,255),R=p(C.bounds,S(y,2));R[0]===R[2]&&R[2]++,R[1]===R[3]&&R[3]++;var A=b(y,R),E=y.length>>>1,k;C.dtype||(C.dtype="array"),typeof C.dtype=="string"?k=new(s(C.dtype))(E):C.dtype&&(k=C.dtype,Array.isArray(k)&&(k.length=E));for(var L=0;L<E;++L)k[L]=L;var I=[],P=[],M=[],F=[];Y(0,0,1,k,0,1);for(var N=0,T=0;T<I.length;T++){var D=I[T];if(k.set)k.set(D,N);else for(var O=0,U=D.length;O<U;O++)k[O+N]=D[O];var B=N+I[T].length;F[T]=[N,B],N=B}return k.range=z,k;function Y(G,W,X,Q,ae,ie){if(!Q.length)return null;var he=I[ae]||(I[ae]=[]),J=M[ae]||(M[ae]=[]),Z=P[ae]||(P[ae]=[]),le=he.length;if(ae++,ae>w||ie>f){for(var K=0;K<Q.length;K++)he.push(Q[K]),J.push(ie),Z.push(null,null,null,null);return le}if(he.push(Q[0]),J.push(ie),Q.length<=1)return Z.push(null,null,null,null),le;for(var te=X*.5,ce=G+te,re=W+te,ee=[],de=[],oe=[],fe=[],me=1,Te=Q.length;me<Te;me++){var we=Q[me],Be=A[we*2],Ae=A[we*2+1];Be<ce?Ae<re?ee.push(we):de.push(we):Ae<re?oe.push(we):fe.push(we)}return ie<<=2,Z.push(Y(G,W,te,ee,ae,ie),Y(G,re,te,de,ae,ie+1),Y(ce,W,te,oe,ae,ie+2),Y(ce,re,te,fe,ae,ie+3)),le}function z(){for(var G=[],W=arguments.length;W--;)G[W]=arguments[W];var X;if(c(G[G.length-1])){var Q=G.pop();!G.length&&(Q.x!=null||Q.l!=null||Q.left!=null)&&(G=[Q],X={}),X=g(Q,{level:"level maxLevel",d:"d diam diameter r radius px pxSize pixel pixelSize maxD size minSize",lod:"lod details ranges offsets"})}else X={};G.length||(G=R);var ae=i.apply(void 0,G),ie=[Math.min(ae.x,ae.x+ae.width),Math.min(ae.y,ae.y+ae.height),Math.max(ae.x,ae.x+ae.width),Math.max(ae.y,ae.y+ae.height)],he=ie[0],J=ie[1],Z=ie[2],le=ie[3],K=b([he,J,Z,le],R),te=K[0],ce=K[1],re=K[2],ee=K[3],de=p(X.level,I.length);if(X.d!=null){var oe;typeof X.d=="number"?oe=[X.d,X.d]:X.d.length&&(oe=X.d),de=Math.min(Math.max(Math.ceil(-d(Math.abs(oe[0])/(R[2]-R[0]))),Math.ceil(-d(Math.abs(oe[1])/(R[3]-R[1])))),de)}if(de=Math.min(de,I.length),X.lod)return V(te,ce,re,ee,de);var fe=[];me(0,0,1,0,0,1);function me(we,Be,Ae,Re,be,Pe){if(!(be===null||Pe===null)){var Ke=we+Ae,ze=Be+Ae;if(!(te>Ke||ce>ze||re<we||ee<Be)&&!(Re>=de)&&be!==Pe){var Fe=I[Re];Pe===void 0&&(Pe=Fe.length);for(var We=be;We<Pe;We++){var lt=Fe[We],ht=y[lt*2],tt=y[lt*2+1];ht>=he&&ht<=Z&&tt>=J&&tt<=le&&fe.push(lt)}var et=P[Re],pt=et[be*4+0],vt=et[be*4+1],_t=et[be*4+2],bt=et[be*4+3],Rt=Te(et,be+1),ct=Ae*.5,Ve=Re+1;me(we,Be,ct,Ve,pt,vt||_t||bt||Rt),me(we,Be+ct,ct,Ve,vt,_t||bt||Rt),me(we+ct,Be,ct,Ve,_t,bt||Rt),me(we+ct,Be+ct,ct,Ve,bt,Rt)}}}function Te(we,Be){for(var Ae=null,Re=0;Ae===null;)if(Ae=we[Be*4+Re],Re++,Re>we.length)return null;return Ae}return fe}function V(G,W,X,Q,ae){for(var ie=[],he=0;he<ae;he++){var J=M[he],Z=F[he][0],le=j(G,W,he),K=j(X,Q,he),te=l.ge(J,le),ce=l.gt(J,K,te,J.length-1);ie[he]=[te+Z,ce+Z]}return ie}function j(G,W,X){for(var Q=1,ae=.5,ie=.5,he=.5,J=0;J<X;J++)Q<<=2,Q+=G<ae?W<ie?0:1:W<ie?2:3,he*=.5,ae+=G<ae?-he:he,ie+=W<ie?-he:he;return Q}};function b(x,y){for(var C=y[0],w=y[1],R=y[2],A=y[3],E=1/(R-C),k=1/(A-w),L=new Array(x.length),I=0,P=x.length/2;I<P;I++)L[2*I]=v((x[2*I]-C)*E,0,1),L[2*I+1]=v((x[2*I+1]-w)*k,0,1);return L}},40440:function(u,h,a){Object.defineProperty(h,"__esModule",{value:!0});var l=a(3256),v=6378137;function i(c){return l.geomReduce(c,function(s,d){return s+S(d)},0)}h.default=i;function S(c){var s=0,d;switch(c.type){case"Polygon":return g(c.coordinates);case"MultiPolygon":for(d=0;d<c.coordinates.length;d++)s+=g(c.coordinates[d]);return s;case"Point":case"MultiPoint":case"LineString":case"MultiLineString":return 0}return 0}function g(c){var s=0;if(c&&c.length>0){s+=Math.abs(p(c[0]));for(var d=1;d<c.length;d++)s-=Math.abs(p(c[d]))}return s}function p(c){var s,d,f,b,x,y,C,w=0,R=c.length;if(R>2){for(C=0;C<R;C++)C===R-2?(b=R-2,x=R-1,y=0):C===R-1?(b=R-1,x=0,y=1):(b=C,x=C+1,y=C+2),s=c[b],d=c[x],f=c[y],w+=(_(f[0])-_(s[0]))*Math.sin(_(d[1]));w=w*v*v/2}return w}function _(c){return c*Math.PI/180}},46284:function(u,h){Object.defineProperty(h,"__esModule",{value:!0}),h.earthRadius=63710088e-1,h.factors={centimeters:h.earthRadius*100,centimetres:h.earthRadius*100,degrees:h.earthRadius/111325,feet:h.earthRadius*3.28084,inches:h.earthRadius*39.37,kilometers:h.earthRadius/1e3,kilometres:h.earthRadius/1e3,meters:h.earthRadius,metres:h.earthRadius,miles:h.earthRadius/1609.344,millimeters:h.earthRadius*1e3,millimetres:h.earthRadius*1e3,nauticalmiles:h.earthRadius/1852,radians:1,yards:h.earthRadius*1.0936},h.unitsFactors={centimeters:100,centimetres:100,degrees:8982708286548395e-21,feet:3.28084,inches:39.37,kilometers:.001,kilometres:.001,meters:1,metres:1,miles:.0006213711922373339,millimeters:1e3,millimetres:1e3,nauticalmiles:.0005399568034557236,radians:1/h.earthRadius,yards:1.0936133},h.areaFactors={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,hectares:1e-4,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,millimeters:1e6,millimetres:1e6,yards:1.195990046};function a(N,T,D){D===void 0&&(D={});var O={type:"Feature"};return(D.id===0||D.id)&&(O.id=D.id),D.bbox&&(O.bbox=D.bbox),O.properties=T||{},O.geometry=N,O}h.feature=a;function l(N,T,D){switch(N){case"Point":return v(T).geometry;case"LineString":return p(T).geometry;case"Polygon":return S(T).geometry;case"MultiPoint":return d(T).geometry;case"MultiLineString":return s(T).geometry;case"MultiPolygon":return f(T).geometry;default:throw new Error(N+" is invalid")}}h.geometry=l;function v(N,T,D){if(D===void 0&&(D={}),!N)throw new Error("coordinates is required");if(!Array.isArray(N))throw new Error("coordinates must be an Array");if(N.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!I(N[0])||!I(N[1]))throw new Error("coordinates must contain numbers");var O={type:"Point",coordinates:N};return a(O,T,D)}h.point=v;function i(N,T,D){return D===void 0&&(D={}),c(N.map(function(O){return v(O,T)}),D)}h.points=i;function S(N,T,D){D===void 0&&(D={});for(var O=0,U=N;O<U.length;O++){var B=U[O];if(B.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var Y=0;Y<B[B.length-1].length;Y++)if(B[B.length-1][Y]!==B[0][Y])throw new Error("First and last Position are not equivalent.")}var z={type:"Polygon",coordinates:N};return a(z,T,D)}h.polygon=S;function g(N,T,D){return D===void 0&&(D={}),c(N.map(function(O){return S(O,T)}),D)}h.polygons=g;function p(N,T,D){if(D===void 0&&(D={}),N.length<2)throw new Error("coordinates must be an array of two or more positions");var O={type:"LineString",coordinates:N};return a(O,T,D)}h.lineString=p;function _(N,T,D){return D===void 0&&(D={}),c(N.map(function(O){return p(O,T)}),D)}h.lineStrings=_;function c(N,T){T===void 0&&(T={});var D={type:"FeatureCollection"};return T.id&&(D.id=T.id),T.bbox&&(D.bbox=T.bbox),D.features=N,D}h.featureCollection=c;function s(N,T,D){D===void 0&&(D={});var O={type:"MultiLineString",coordinates:N};return a(O,T,D)}h.multiLineString=s;function d(N,T,D){D===void 0&&(D={});var O={type:"MultiPoint",coordinates:N};return a(O,T,D)}h.multiPoint=d;function f(N,T,D){D===void 0&&(D={});var O={type:"MultiPolygon",coordinates:N};return a(O,T,D)}h.multiPolygon=f;function b(N,T,D){D===void 0&&(D={});var O={type:"GeometryCollection",geometries:N};return a(O,T,D)}h.geometryCollection=b;function x(N,T){if(T===void 0&&(T=0),T&&!(T>=0))throw new Error("precision must be a positive number");var D=Math.pow(10,T||0);return Math.round(N*D)/D}h.round=x;function y(N,T){T===void 0&&(T="kilometers");var D=h.factors[T];if(!D)throw new Error(T+" units is invalid");return N*D}h.radiansToLength=y;function C(N,T){T===void 0&&(T="kilometers");var D=h.factors[T];if(!D)throw new Error(T+" units is invalid");return N/D}h.lengthToRadians=C;function w(N,T){return A(C(N,T))}h.lengthToDegrees=w;function R(N){var T=N%360;return T<0&&(T+=360),T}h.bearingToAzimuth=R;function A(N){var T=N%(2*Math.PI);return T*180/Math.PI}h.radiansToDegrees=A;function E(N){var T=N%360;return T*Math.PI/180}h.degreesToRadians=E;function k(N,T,D){if(T===void 0&&(T="kilometers"),D===void 0&&(D="kilometers"),!(N>=0))throw new Error("length must be a positive number");return y(C(N,T),D)}h.convertLength=k;function L(N,T,D){if(T===void 0&&(T="meters"),D===void 0&&(D="kilometers"),!(N>=0))throw new Error("area must be a positive number");var O=h.areaFactors[T];if(!O)throw new Error("invalid original units");var U=h.areaFactors[D];if(!U)throw new Error("invalid final units");return N/O*U}h.convertArea=L;function I(N){return!isNaN(N)&&N!==null&&!Array.isArray(N)}h.isNumber=I;function P(N){return!!N&&N.constructor===Object}h.isObject=P;function M(N){if(!N)throw new Error("bbox is required");if(!Array.isArray(N))throw new Error("bbox must be an Array");if(N.length!==4&&N.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");N.forEach(function(T){if(!I(T))throw new Error("bbox must only contain numbers")})}h.validateBBox=M;function F(N){if(!N)throw new Error("id is required");if(["string","number"].indexOf(typeof N)===-1)throw new Error("id must be a number or a string")}h.validateId=F},3256:function(u,h,a){Object.defineProperty(h,"__esModule",{value:!0});var l=a(46284);function v(E,k,L){if(E!==null)for(var I,P,M,F,N,T,D,O=0,U=0,B,Y=E.type,z=Y==="FeatureCollection",V=Y==="Feature",j=z?E.features.length:1,G=0;G<j;G++){D=z?E.features[G].geometry:V?E.geometry:E,B=D?D.type==="GeometryCollection":!1,N=B?D.geometries.length:1;for(var W=0;W<N;W++){var X=0,Q=0;if(F=B?D.geometries[W]:D,F!==null){T=F.coordinates;var ae=F.type;switch(O=L&&(ae==="Polygon"||ae==="MultiPolygon")?1:0,ae){case null:break;case"Point":if(k(T,U,G,X,Q)===!1)return!1;U++,X++;break;case"LineString":case"MultiPoint":for(I=0;I<T.length;I++){if(k(T[I],U,G,X,Q)===!1)return!1;U++,ae==="MultiPoint"&&X++}ae==="LineString"&&X++;break;case"Polygon":case"MultiLineString":for(I=0;I<T.length;I++){for(P=0;P<T[I].length-O;P++){if(k(T[I][P],U,G,X,Q)===!1)return!1;U++}ae==="MultiLineString"&&X++,ae==="Polygon"&&Q++}ae==="Polygon"&&X++;break;case"MultiPolygon":for(I=0;I<T.length;I++){for(Q=0,P=0;P<T[I].length;P++){for(M=0;M<T[I][P].length-O;M++){if(k(T[I][P][M],U,G,X,Q)===!1)return!1;U++}Q++}X++}break;case"GeometryCollection":for(I=0;I<F.geometries.length;I++)if(v(F.geometries[I],k,L)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function i(E,k,L,I){var P=L;return v(E,function(M,F,N,T,D){F===0&&L===void 0?P=M:P=k(P,M,F,N,T,D)},I),P}function S(E,k){var L;switch(E.type){case"FeatureCollection":for(L=0;L<E.features.length&&k(E.features[L].properties,L)!==!1;L++);break;case"Feature":k(E.properties,0);break}}function g(E,k,L){var I=L;return S(E,function(P,M){M===0&&L===void 0?I=P:I=k(I,P,M)}),I}function p(E,k){if(E.type==="Feature")k(E,0);else if(E.type==="FeatureCollection")for(var L=0;L<E.features.length&&k(E.features[L],L)!==!1;L++);}function _(E,k,L){var I=L;return p(E,function(P,M){M===0&&L===void 0?I=P:I=k(I,P,M)}),I}function c(E){var k=[];return v(E,function(L){k.push(L)}),k}function s(E,k){var L,I,P,M,F,N,T,D,O,U,B=0,Y=E.type==="FeatureCollection",z=E.type==="Feature",V=Y?E.features.length:1;for(L=0;L<V;L++){for(N=Y?E.features[L].geometry:z?E.geometry:E,D=Y?E.features[L].properties:z?E.properties:{},O=Y?E.features[L].bbox:z?E.bbox:void 0,U=Y?E.features[L].id:z?E.id:void 0,T=N?N.type==="GeometryCollection":!1,F=T?N.geometries.length:1,P=0;P<F;P++){if(M=T?N.geometries[P]:N,M===null){if(k(null,B,D,O,U)===!1)return!1;continue}switch(M.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(k(M,B,D,O,U)===!1)return!1;break}case"GeometryCollection":{for(I=0;I<M.geometries.length;I++)if(k(M.geometries[I],B,D,O,U)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}B++}}function d(E,k,L){var I=L;return s(E,function(P,M,F,N,T){M===0&&L===void 0?I=P:I=k(I,P,M,F,N,T)}),I}function f(E,k){s(E,function(L,I,P,M,F){var N=L===null?null:L.type;switch(N){case null:case"Point":case"LineString":case"Polygon":return k(l.feature(L,P,{bbox:M,id:F}),I,0)===!1?!1:void 0}var T;switch(N){case"MultiPoint":T="Point";break;case"MultiLineString":T="LineString";break;case"MultiPolygon":T="Polygon";break}for(var D=0;D<L.coordinates.length;D++){var O=L.coordinates[D],U={type:T,coordinates:O};if(k(l.feature(U,P),I,D)===!1)return!1}})}function b(E,k,L){var I=L;return f(E,function(P,M,F){M===0&&F===0&&L===void 0?I=P:I=k(I,P,M,F)}),I}function x(E,k){f(E,function(L,I,P){var M=0;if(L.geometry){var F=L.geometry.type;if(!(F==="Point"||F==="MultiPoint")){var N,T=0,D=0,O=0;if(v(L,function(U,B,Y,z,V){if(N===void 0||I>T||z>D||V>O){N=U,T=I,D=z,O=V,M=0;return}var j=l.lineString([N,U],L.properties);if(k(j,I,P,V,M)===!1)return!1;M++,N=U})===!1)return!1}}})}function y(E,k,L){var I=L,P=!1;return x(E,function(M,F,N,T,D){P===!1&&L===void 0?I=M:I=k(I,M,F,N,T,D),P=!0}),I}function C(E,k){if(!E)throw new Error("geojson is required");f(E,function(L,I,P){if(L.geometry!==null){var M=L.geometry.type,F=L.geometry.coordinates;switch(M){case"LineString":if(k(L,I,P,0,0)===!1)return!1;break;case"Polygon":for(var N=0;N<F.length;N++)if(k(l.lineString(F[N],L.properties),I,P,N)===!1)return!1;break}}})}function w(E,k,L){var I=L;return C(E,function(P,M,F,N){M===0&&L===void 0?I=P:I=k(I,P,M,F,N)}),I}function R(E,k){if(k=k||{},!l.isObject(k))throw new Error("options is invalid");var L=k.featureIndex||0,I=k.multiFeatureIndex||0,P=k.geometryIndex||0,M=k.segmentIndex||0,F=k.properties,N;switch(E.type){case"FeatureCollection":L<0&&(L=E.features.length+L),F=F||E.features[L].properties,N=E.features[L].geometry;break;case"Feature":F=F||E.properties,N=E.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":N=E;break;default:throw new Error("geojson is invalid")}if(N===null)return null;var T=N.coordinates;switch(N.type){case"Point":case"MultiPoint":return null;case"LineString":return M<0&&(M=T.length+M-1),l.lineString([T[M],T[M+1]],F,k);case"Polygon":return P<0&&(P=T.length+P),M<0&&(M=T[P].length+M-1),l.lineString([T[P][M],T[P][M+1]],F,k);case"MultiLineString":return I<0&&(I=T.length+I),M<0&&(M=T[I].length+M-1),l.lineString([T[I][M],T[I][M+1]],F,k);case"MultiPolygon":return I<0&&(I=T.length+I),P<0&&(P=T[I].length+P),M<0&&(M=T[I][P].length-M-1),l.lineString([T[I][P][M],T[I][P][M+1]],F,k)}throw new Error("geojson is invalid")}function A(E,k){if(k=k||{},!l.isObject(k))throw new Error("options is invalid");var L=k.featureIndex||0,I=k.multiFeatureIndex||0,P=k.geometryIndex||0,M=k.coordIndex||0,F=k.properties,N;switch(E.type){case"FeatureCollection":L<0&&(L=E.features.length+L),F=F||E.features[L].properties,N=E.features[L].geometry;break;case"Feature":F=F||E.properties,N=E.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":N=E;break;default:throw new Error("geojson is invalid")}if(N===null)return null;var T=N.coordinates;switch(N.type){case"Point":return l.point(T,F,k);case"MultiPoint":return I<0&&(I=T.length+I),l.point(T[I],F,k);case"LineString":return M<0&&(M=T.length+M),l.point(T[M],F,k);case"Polygon":return P<0&&(P=T.length+P),M<0&&(M=T[P].length+M),l.point(T[P][M],F,k);case"MultiLineString":return I<0&&(I=T.length+I),M<0&&(M=T[I].length+M),l.point(T[I][M],F,k);case"MultiPolygon":return I<0&&(I=T.length+I),P<0&&(P=T[I].length+P),M<0&&(M=T[I][P].length-M),l.point(T[I][P][M],F,k)}throw new Error("geojson is invalid")}h.coordEach=v,h.coordReduce=i,h.propEach=S,h.propReduce=g,h.featureEach=p,h.featureReduce=_,h.coordAll=c,h.geomEach=s,h.geomReduce=d,h.flattenEach=f,h.flattenReduce=b,h.segmentEach=x,h.segmentReduce=y,h.lineEach=C,h.lineReduce=w,h.findSegment=R,h.findPoint=A},42428:function(u,h,a){Object.defineProperty(h,"__esModule",{value:!0});var l=a(84880);function v(i){var S=[1/0,1/0,-1/0,-1/0];return l.coordEach(i,function(g){S[0]>g[0]&&(S[0]=g[0]),S[1]>g[1]&&(S[1]=g[1]),S[2]<g[0]&&(S[2]=g[0]),S[3]<g[1]&&(S[3]=g[1])}),S}v.default=v,h.default=v},76796:function(u,h){Object.defineProperty(h,"__esModule",{value:!0}),h.earthRadius=63710088e-1,h.factors={centimeters:h.earthRadius*100,centimetres:h.earthRadius*100,degrees:h.earthRadius/111325,feet:h.earthRadius*3.28084,inches:h.earthRadius*39.37,kilometers:h.earthRadius/1e3,kilometres:h.earthRadius/1e3,meters:h.earthRadius,metres:h.earthRadius,miles:h.earthRadius/1609.344,millimeters:h.earthRadius*1e3,millimetres:h.earthRadius*1e3,nauticalmiles:h.earthRadius/1852,radians:1,yards:h.earthRadius*1.0936},h.unitsFactors={centimeters:100,centimetres:100,degrees:8982708286548395e-21,feet:3.28084,inches:39.37,kilometers:.001,kilometres:.001,meters:1,metres:1,miles:.0006213711922373339,millimeters:1e3,millimetres:1e3,nauticalmiles:.0005399568034557236,radians:1/h.earthRadius,yards:1.0936133},h.areaFactors={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,hectares:1e-4,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,millimeters:1e6,millimetres:1e6,yards:1.195990046};function a(N,T,D){D===void 0&&(D={});var O={type:"Feature"};return(D.id===0||D.id)&&(O.id=D.id),D.bbox&&(O.bbox=D.bbox),O.properties=T||{},O.geometry=N,O}h.feature=a;function l(N,T,D){switch(N){case"Point":return v(T).geometry;case"LineString":return p(T).geometry;case"Polygon":return S(T).geometry;case"MultiPoint":return d(T).geometry;case"MultiLineString":return s(T).geometry;case"MultiPolygon":return f(T).geometry;default:throw new Error(N+" is invalid")}}h.geometry=l;function v(N,T,D){if(D===void 0&&(D={}),!N)throw new Error("coordinates is required");if(!Array.isArray(N))throw new Error("coordinates must be an Array");if(N.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!I(N[0])||!I(N[1]))throw new Error("coordinates must contain numbers");var O={type:"Point",coordinates:N};return a(O,T,D)}h.point=v;function i(N,T,D){return D===void 0&&(D={}),c(N.map(function(O){return v(O,T)}),D)}h.points=i;function S(N,T,D){D===void 0&&(D={});for(var O=0,U=N;O<U.length;O++){var B=U[O];if(B.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var Y=0;Y<B[B.length-1].length;Y++)if(B[B.length-1][Y]!==B[0][Y])throw new Error("First and last Position are not equivalent.")}var z={type:"Polygon",coordinates:N};return a(z,T,D)}h.polygon=S;function g(N,T,D){return D===void 0&&(D={}),c(N.map(function(O){return S(O,T)}),D)}h.polygons=g;function p(N,T,D){if(D===void 0&&(D={}),N.length<2)throw new Error("coordinates must be an array of two or more positions");var O={type:"LineString",coordinates:N};return a(O,T,D)}h.lineString=p;function _(N,T,D){return D===void 0&&(D={}),c(N.map(function(O){return p(O,T)}),D)}h.lineStrings=_;function c(N,T){T===void 0&&(T={});var D={type:"FeatureCollection"};return T.id&&(D.id=T.id),T.bbox&&(D.bbox=T.bbox),D.features=N,D}h.featureCollection=c;function s(N,T,D){D===void 0&&(D={});var O={type:"MultiLineString",coordinates:N};return a(O,T,D)}h.multiLineString=s;function d(N,T,D){D===void 0&&(D={});var O={type:"MultiPoint",coordinates:N};return a(O,T,D)}h.multiPoint=d;function f(N,T,D){D===void 0&&(D={});var O={type:"MultiPolygon",coordinates:N};return a(O,T,D)}h.multiPolygon=f;function b(N,T,D){D===void 0&&(D={});var O={type:"GeometryCollection",geometries:N};return a(O,T,D)}h.geometryCollection=b;function x(N,T){if(T===void 0&&(T=0),T&&!(T>=0))throw new Error("precision must be a positive number");var D=Math.pow(10,T||0);return Math.round(N*D)/D}h.round=x;function y(N,T){T===void 0&&(T="kilometers");var D=h.factors[T];if(!D)throw new Error(T+" units is invalid");return N*D}h.radiansToLength=y;function C(N,T){T===void 0&&(T="kilometers");var D=h.factors[T];if(!D)throw new Error(T+" units is invalid");return N/D}h.lengthToRadians=C;function w(N,T){return A(C(N,T))}h.lengthToDegrees=w;function R(N){var T=N%360;return T<0&&(T+=360),T}h.bearingToAzimuth=R;function A(N){var T=N%(2*Math.PI);return T*180/Math.PI}h.radiansToDegrees=A;function E(N){var T=N%360;return T*Math.PI/180}h.degreesToRadians=E;function k(N,T,D){if(T===void 0&&(T="kilometers"),D===void 0&&(D="kilometers"),!(N>=0))throw new Error("length must be a positive number");return y(C(N,T),D)}h.convertLength=k;function L(N,T,D){if(T===void 0&&(T="meters"),D===void 0&&(D="kilometers"),!(N>=0))throw new Error("area must be a positive number");var O=h.areaFactors[T];if(!O)throw new Error("invalid original units");var U=h.areaFactors[D];if(!U)throw new Error("invalid final units");return N/O*U}h.convertArea=L;function I(N){return!isNaN(N)&&N!==null&&!Array.isArray(N)}h.isNumber=I;function P(N){return!!N&&N.constructor===Object}h.isObject=P;function M(N){if(!N)throw new Error("bbox is required");if(!Array.isArray(N))throw new Error("bbox must be an Array");if(N.length!==4&&N.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");N.forEach(function(T){if(!I(T))throw new Error("bbox must only contain numbers")})}h.validateBBox=M;function F(N){if(!N)throw new Error("id is required");if(["string","number"].indexOf(typeof N)===-1)throw new Error("id must be a number or a string")}h.validateId=F},84880:function(u,h,a){Object.defineProperty(h,"__esModule",{value:!0});var l=a(76796);function v(E,k,L){if(E!==null)for(var I,P,M,F,N,T,D,O=0,U=0,B,Y=E.type,z=Y==="FeatureCollection",V=Y==="Feature",j=z?E.features.length:1,G=0;G<j;G++){D=z?E.features[G].geometry:V?E.geometry:E,B=D?D.type==="GeometryCollection":!1,N=B?D.geometries.length:1;for(var W=0;W<N;W++){var X=0,Q=0;if(F=B?D.geometries[W]:D,F!==null){T=F.coordinates;var ae=F.type;switch(O=L&&(ae==="Polygon"||ae==="MultiPolygon")?1:0,ae){case null:break;case"Point":if(k(T,U,G,X,Q)===!1)return!1;U++,X++;break;case"LineString":case"MultiPoint":for(I=0;I<T.length;I++){if(k(T[I],U,G,X,Q)===!1)return!1;U++,ae==="MultiPoint"&&X++}ae==="LineString"&&X++;break;case"Polygon":case"MultiLineString":for(I=0;I<T.length;I++){for(P=0;P<T[I].length-O;P++){if(k(T[I][P],U,G,X,Q)===!1)return!1;U++}ae==="MultiLineString"&&X++,ae==="Polygon"&&Q++}ae==="Polygon"&&X++;break;case"MultiPolygon":for(I=0;I<T.length;I++){for(Q=0,P=0;P<T[I].length;P++){for(M=0;M<T[I][P].length-O;M++){if(k(T[I][P][M],U,G,X,Q)===!1)return!1;U++}Q++}X++}break;case"GeometryCollection":for(I=0;I<F.geometries.length;I++)if(v(F.geometries[I],k,L)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function i(E,k,L,I){var P=L;return v(E,function(M,F,N,T,D){F===0&&L===void 0?P=M:P=k(P,M,F,N,T,D)},I),P}function S(E,k){var L;switch(E.type){case"FeatureCollection":for(L=0;L<E.features.length&&k(E.features[L].properties,L)!==!1;L++);break;case"Feature":k(E.properties,0);break}}function g(E,k,L){var I=L;return S(E,function(P,M){M===0&&L===void 0?I=P:I=k(I,P,M)}),I}function p(E,k){if(E.type==="Feature")k(E,0);else if(E.type==="FeatureCollection")for(var L=0;L<E.features.length&&k(E.features[L],L)!==!1;L++);}function _(E,k,L){var I=L;return p(E,function(P,M){M===0&&L===void 0?I=P:I=k(I,P,M)}),I}function c(E){var k=[];return v(E,function(L){k.push(L)}),k}function s(E,k){var L,I,P,M,F,N,T,D,O,U,B=0,Y=E.type==="FeatureCollection",z=E.type==="Feature",V=Y?E.features.length:1;for(L=0;L<V;L++){for(N=Y?E.features[L].geometry:z?E.geometry:E,D=Y?E.features[L].properties:z?E.properties:{},O=Y?E.features[L].bbox:z?E.bbox:void 0,U=Y?E.features[L].id:z?E.id:void 0,T=N?N.type==="GeometryCollection":!1,F=T?N.geometries.length:1,P=0;P<F;P++){if(M=T?N.geometries[P]:N,M===null){if(k(null,B,D,O,U)===!1)return!1;continue}switch(M.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(k(M,B,D,O,U)===!1)return!1;break}case"GeometryCollection":{for(I=0;I<M.geometries.length;I++)if(k(M.geometries[I],B,D,O,U)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}B++}}function d(E,k,L){var I=L;return s(E,function(P,M,F,N,T){M===0&&L===void 0?I=P:I=k(I,P,M,F,N,T)}),I}function f(E,k){s(E,function(L,I,P,M,F){var N=L===null?null:L.type;switch(N){case null:case"Point":case"LineString":case"Polygon":return k(l.feature(L,P,{bbox:M,id:F}),I,0)===!1?!1:void 0}var T;switch(N){case"MultiPoint":T="Point";break;case"MultiLineString":T="LineString";break;case"MultiPolygon":T="Polygon";break}for(var D=0;D<L.coordinates.length;D++){var O=L.coordinates[D],U={type:T,coordinates:O};if(k(l.feature(U,P),I,D)===!1)return!1}})}function b(E,k,L){var I=L;return f(E,function(P,M,F){M===0&&F===0&&L===void 0?I=P:I=k(I,P,M,F)}),I}function x(E,k){f(E,function(L,I,P){var M=0;if(L.geometry){var F=L.geometry.type;if(!(F==="Point"||F==="MultiPoint")){var N,T=0,D=0,O=0;if(v(L,function(U,B,Y,z,V){if(N===void 0||I>T||z>D||V>O){N=U,T=I,D=z,O=V,M=0;return}var j=l.lineString([N,U],L.properties);if(k(j,I,P,V,M)===!1)return!1;M++,N=U})===!1)return!1}}})}function y(E,k,L){var I=L,P=!1;return x(E,function(M,F,N,T,D){P===!1&&L===void 0?I=M:I=k(I,M,F,N,T,D),P=!0}),I}function C(E,k){if(!E)throw new Error("geojson is required");f(E,function(L,I,P){if(L.geometry!==null){var M=L.geometry.type,F=L.geometry.coordinates;switch(M){case"LineString":if(k(L,I,P,0,0)===!1)return!1;break;case"Polygon":for(var N=0;N<F.length;N++)if(k(l.lineString(F[N],L.properties),I,P,N)===!1)return!1;break}}})}function w(E,k,L){var I=L;return C(E,function(P,M,F,N){M===0&&L===void 0?I=P:I=k(I,P,M,F,N)}),I}function R(E,k){if(k=k||{},!l.isObject(k))throw new Error("options is invalid");var L=k.featureIndex||0,I=k.multiFeatureIndex||0,P=k.geometryIndex||0,M=k.segmentIndex||0,F=k.properties,N;switch(E.type){case"FeatureCollection":L<0&&(L=E.features.length+L),F=F||E.features[L].properties,N=E.features[L].geometry;break;case"Feature":F=F||E.properties,N=E.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":N=E;break;default:throw new Error("geojson is invalid")}if(N===null)return null;var T=N.coordinates;switch(N.type){case"Point":case"MultiPoint":return null;case"LineString":return M<0&&(M=T.length+M-1),l.lineString([T[M],T[M+1]],F,k);case"Polygon":return P<0&&(P=T.length+P),M<0&&(M=T[P].length+M-1),l.lineString([T[P][M],T[P][M+1]],F,k);case"MultiLineString":return I<0&&(I=T.length+I),M<0&&(M=T[I].length+M-1),l.lineString([T[I][M],T[I][M+1]],F,k);case"MultiPolygon":return I<0&&(I=T.length+I),P<0&&(P=T[I].length+P),M<0&&(M=T[I][P].length-M-1),l.lineString([T[I][P][M],T[I][P][M+1]],F,k)}throw new Error("geojson is invalid")}function A(E,k){if(k=k||{},!l.isObject(k))throw new Error("options is invalid");var L=k.featureIndex||0,I=k.multiFeatureIndex||0,P=k.geometryIndex||0,M=k.coordIndex||0,F=k.properties,N;switch(E.type){case"FeatureCollection":L<0&&(L=E.features.length+L),F=F||E.features[L].properties,N=E.features[L].geometry;break;case"Feature":F=F||E.properties,N=E.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":N=E;break;default:throw new Error("geojson is invalid")}if(N===null)return null;var T=N.coordinates;switch(N.type){case"Point":return l.point(T,F,k);case"MultiPoint":return I<0&&(I=T.length+I),l.point(T[I],F,k);case"LineString":return M<0&&(M=T.length+M),l.point(T[M],F,k);case"Polygon":return P<0&&(P=T.length+P),M<0&&(M=T[P].length+M),l.point(T[P][M],F,k);case"MultiLineString":return I<0&&(I=T.length+I),M<0&&(M=T[I].length+M),l.point(T[I][M],F,k);case"MultiPolygon":return I<0&&(I=T.length+I),P<0&&(P=T[I].length+P),M<0&&(M=T[I][P].length-M),l.point(T[I][P][M],F,k)}throw new Error("geojson is invalid")}h.coordEach=v,h.coordReduce=i,h.propEach=S,h.propReduce=g,h.featureEach=p,h.featureReduce=_,h.coordAll=c,h.geomEach=s,h.geomReduce=d,h.flattenEach=f,h.flattenReduce=b,h.segmentEach=x,h.segmentReduce=y,h.lineEach=C,h.lineReduce=w,h.findSegment=R,h.findPoint=A},77844:function(u,h,a){Object.defineProperty(h,"__esModule",{value:!0});var l=a(43752),v=a(49840);function i(S,g){g===void 0&&(g={});var p=0,_=0,c=0;return l.coordEach(S,function(s){p+=s[0],_+=s[1],c++}),v.point([p/c,_/c],g.properties)}h.default=i},49840:function(u,h){Object.defineProperty(h,"__esModule",{value:!0}),h.earthRadius=63710088e-1,h.factors={centimeters:h.earthRadius*100,centimetres:h.earthRadius*100,degrees:h.earthRadius/111325,feet:h.earthRadius*3.28084,inches:h.earthRadius*39.37,kilometers:h.earthRadius/1e3,kilometres:h.earthRadius/1e3,meters:h.earthRadius,metres:h.earthRadius,miles:h.earthRadius/1609.344,millimeters:h.earthRadius*1e3,millimetres:h.earthRadius*1e3,nauticalmiles:h.earthRadius/1852,radians:1,yards:h.earthRadius/1.0936},h.unitsFactors={centimeters:100,centimetres:100,degrees:8982708286548395e-21,feet:3.28084,inches:39.37,kilometers:.001,kilometres:.001,meters:1,metres:1,miles:.0006213711922373339,millimeters:1e3,millimetres:1e3,nauticalmiles:.0005399568034557236,radians:1/h.earthRadius,yards:.91441111923921},h.areaFactors={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,millimeters:1e6,millimetres:1e6,yards:1.195990046};function a(z,V,j){j===void 0&&(j={});var G={type:"Feature"};return(j.id===0||j.id)&&(G.id=j.id),j.bbox&&(G.bbox=j.bbox),G.properties=V||{},G.geometry=z,G}h.feature=a;function l(z,V,j){switch(z){case"Point":return v(V).geometry;case"LineString":return p(V).geometry;case"Polygon":return S(V).geometry;case"MultiPoint":return d(V).geometry;case"MultiLineString":return s(V).geometry;case"MultiPolygon":return f(V).geometry;default:throw new Error(z+" is invalid")}}h.geometry=l;function v(z,V,j){j===void 0&&(j={});var G={type:"Point",coordinates:z};return a(G,V,j)}h.point=v;function i(z,V,j){return j===void 0&&(j={}),c(z.map(function(G){return v(G,V)}),j)}h.points=i;function S(z,V,j){j===void 0&&(j={});for(var G=0,W=z;G<W.length;G++){var X=W[G];if(X.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var Q=0;Q<X[X.length-1].length;Q++)if(X[X.length-1][Q]!==X[0][Q])throw new Error("First and last Position are not equivalent.")}var ae={type:"Polygon",coordinates:z};return a(ae,V,j)}h.polygon=S;function g(z,V,j){return j===void 0&&(j={}),c(z.map(function(G){return S(G,V)}),j)}h.polygons=g;function p(z,V,j){if(j===void 0&&(j={}),z.length<2)throw new Error("coordinates must be an array of two or more positions");var G={type:"LineString",coordinates:z};return a(G,V,j)}h.lineString=p;function _(z,V,j){return j===void 0&&(j={}),c(z.map(function(G){return p(G,V)}),j)}h.lineStrings=_;function c(z,V){V===void 0&&(V={});var j={type:"FeatureCollection"};return V.id&&(j.id=V.id),V.bbox&&(j.bbox=V.bbox),j.features=z,j}h.featureCollection=c;function s(z,V,j){j===void 0&&(j={});var G={type:"MultiLineString",coordinates:z};return a(G,V,j)}h.multiLineString=s;function d(z,V,j){j===void 0&&(j={});var G={type:"MultiPoint",coordinates:z};return a(G,V,j)}h.multiPoint=d;function f(z,V,j){j===void 0&&(j={});var G={type:"MultiPolygon",coordinates:z};return a(G,V,j)}h.multiPolygon=f;function b(z,V,j){j===void 0&&(j={});var G={type:"GeometryCollection",geometries:z};return a(G,V,j)}h.geometryCollection=b;function x(z,V){if(V===void 0&&(V=0),V&&!(V>=0))throw new Error("precision must be a positive number");var j=Math.pow(10,V||0);return Math.round(z*j)/j}h.round=x;function y(z,V){V===void 0&&(V="kilometers");var j=h.factors[V];if(!j)throw new Error(V+" units is invalid");return z*j}h.radiansToLength=y;function C(z,V){V===void 0&&(V="kilometers");var j=h.factors[V];if(!j)throw new Error(V+" units is invalid");return z/j}h.lengthToRadians=C;function w(z,V){return A(C(z,V))}h.lengthToDegrees=w;function R(z){var V=z%360;return V<0&&(V+=360),V}h.bearingToAzimuth=R;function A(z){var V=z%(2*Math.PI);return V*180/Math.PI}h.radiansToDegrees=A;function E(z){var V=z%360;return V*Math.PI/180}h.degreesToRadians=E;function k(z,V,j){if(V===void 0&&(V="kilometers"),j===void 0&&(j="kilometers"),!(z>=0))throw new Error("length must be a positive number");return y(C(z,V),j)}h.convertLength=k;function L(z,V,j){if(V===void 0&&(V="meters"),j===void 0&&(j="kilometers"),!(z>=0))throw new Error("area must be a positive number");var G=h.areaFactors[V];if(!G)throw new Error("invalid original units");var W=h.areaFactors[j];if(!W)throw new Error("invalid final units");return z/G*W}h.convertArea=L;function I(z){return!isNaN(z)&&z!==null&&!Array.isArray(z)&&!/^\s*$/.test(z)}h.isNumber=I;function P(z){return!!z&&z.constructor===Object}h.isObject=P;function M(z){if(!z)throw new Error("bbox is required");if(!Array.isArray(z))throw new Error("bbox must be an Array");if(z.length!==4&&z.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");z.forEach(function(V){if(!I(V))throw new Error("bbox must only contain numbers")})}h.validateBBox=M;function F(z){if(!z)throw new Error("id is required");if(["string","number"].indexOf(typeof z)===-1)throw new Error("id must be a number or a string")}h.validateId=F;function N(){throw new Error("method has been renamed to `radiansToDegrees`")}h.radians2degrees=N;function T(){throw new Error("method has been renamed to `degreesToRadians`")}h.degrees2radians=T;function D(){throw new Error("method has been renamed to `lengthToDegrees`")}h.distanceToDegrees=D;function O(){throw new Error("method has been renamed to `lengthToRadians`")}h.distanceToRadians=O;function U(){throw new Error("method has been renamed to `radiansToLength`")}h.radiansToDistance=U;function B(){throw new Error("method has been renamed to `bearingToAzimuth`")}h.bearingToAngle=B;function Y(){throw new Error("method has been renamed to `convertLength`")}h.convertDistance=Y},43752:function(u,h,a){Object.defineProperty(h,"__esModule",{value:!0});var l=a(49840);function v(E,k,L){if(E!==null)for(var I,P,M,F,N,T,D,O=0,U=0,B,Y=E.type,z=Y==="FeatureCollection",V=Y==="Feature",j=z?E.features.length:1,G=0;G<j;G++){D=z?E.features[G].geometry:V?E.geometry:E,B=D?D.type==="GeometryCollection":!1,N=B?D.geometries.length:1;for(var W=0;W<N;W++){var X=0,Q=0;if(F=B?D.geometries[W]:D,F!==null){T=F.coordinates;var ae=F.type;switch(O=L&&(ae==="Polygon"||ae==="MultiPolygon")?1:0,ae){case null:break;case"Point":if(k(T,U,G,X,Q)===!1)return!1;U++,X++;break;case"LineString":case"MultiPoint":for(I=0;I<T.length;I++){if(k(T[I],U,G,X,Q)===!1)return!1;U++,ae==="MultiPoint"&&X++}ae==="LineString"&&X++;break;case"Polygon":case"MultiLineString":for(I=0;I<T.length;I++){for(P=0;P<T[I].length-O;P++){if(k(T[I][P],U,G,X,Q)===!1)return!1;U++}ae==="MultiLineString"&&X++,ae==="Polygon"&&Q++}ae==="Polygon"&&X++;break;case"MultiPolygon":for(I=0;I<T.length;I++){for(Q=0,P=0;P<T[I].length;P++){for(M=0;M<T[I][P].length-O;M++){if(k(T[I][P][M],U,G,X,Q)===!1)return!1;U++}Q++}X++}break;case"GeometryCollection":for(I=0;I<F.geometries.length;I++)if(v(F.geometries[I],k,L)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function i(E,k,L,I){var P=L;return v(E,function(M,F,N,T,D){F===0&&L===void 0?P=M:P=k(P,M,F,N,T,D)},I),P}function S(E,k){var L;switch(E.type){case"FeatureCollection":for(L=0;L<E.features.length&&k(E.features[L].properties,L)!==!1;L++);break;case"Feature":k(E.properties,0);break}}function g(E,k,L){var I=L;return S(E,function(P,M){M===0&&L===void 0?I=P:I=k(I,P,M)}),I}function p(E,k){if(E.type==="Feature")k(E,0);else if(E.type==="FeatureCollection")for(var L=0;L<E.features.length&&k(E.features[L],L)!==!1;L++);}function _(E,k,L){var I=L;return p(E,function(P,M){M===0&&L===void 0?I=P:I=k(I,P,M)}),I}function c(E){var k=[];return v(E,function(L){k.push(L)}),k}function s(E,k){var L,I,P,M,F,N,T,D,O,U,B=0,Y=E.type==="FeatureCollection",z=E.type==="Feature",V=Y?E.features.length:1;for(L=0;L<V;L++){for(N=Y?E.features[L].geometry:z?E.geometry:E,D=Y?E.features[L].properties:z?E.properties:{},O=Y?E.features[L].bbox:z?E.bbox:void 0,U=Y?E.features[L].id:z?E.id:void 0,T=N?N.type==="GeometryCollection":!1,F=T?N.geometries.length:1,P=0;P<F;P++){if(M=T?N.geometries[P]:N,M===null){if(k(null,B,D,O,U)===!1)return!1;continue}switch(M.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(k(M,B,D,O,U)===!1)return!1;break}case"GeometryCollection":{for(I=0;I<M.geometries.length;I++)if(k(M.geometries[I],B,D,O,U)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}B++}}function d(E,k,L){var I=L;return s(E,function(P,M,F,N,T){M===0&&L===void 0?I=P:I=k(I,P,M,F,N,T)}),I}function f(E,k){s(E,function(L,I,P,M,F){var N=L===null?null:L.type;switch(N){case null:case"Point":case"LineString":case"Polygon":return k(l.feature(L,P,{bbox:M,id:F}),I,0)===!1?!1:void 0}var T;switch(N){case"MultiPoint":T="Point";break;case"MultiLineString":T="LineString";break;case"MultiPolygon":T="Polygon";break}for(var D=0;D<L.coordinates.length;D++){var O=L.coordinates[D],U={type:T,coordinates:O};if(k(l.feature(U,P),I,D)===!1)return!1}})}function b(E,k,L){var I=L;return f(E,function(P,M,F){M===0&&F===0&&L===void 0?I=P:I=k(I,P,M,F)}),I}function x(E,k){f(E,function(L,I,P){var M=0;if(L.geometry){var F=L.geometry.type;if(!(F==="Point"||F==="MultiPoint")){var N,T=0,D=0,O=0;if(v(L,function(U,B,Y,z,V){if(N===void 0||I>T||z>D||V>O){N=U,T=I,D=z,O=V,M=0;return}var j=l.lineString([N,U],L.properties);if(k(j,I,P,V,M)===!1)return!1;M++,N=U})===!1)return!1}}})}function y(E,k,L){var I=L,P=!1;return x(E,function(M,F,N,T,D){P===!1&&L===void 0?I=M:I=k(I,M,F,N,T,D),P=!0}),I}function C(E,k){if(!E)throw new Error("geojson is required");f(E,function(L,I,P){if(L.geometry!==null){var M=L.geometry.type,F=L.geometry.coordinates;switch(M){case"LineString":if(k(L,I,P,0,0)===!1)return!1;break;case"Polygon":for(var N=0;N<F.length;N++)if(k(l.lineString(F[N],L.properties),I,P,N)===!1)return!1;break}}})}function w(E,k,L){var I=L;return C(E,function(P,M,F,N){M===0&&L===void 0?I=P:I=k(I,P,M,F,N)}),I}function R(E,k){if(k=k||{},!l.isObject(k))throw new Error("options is invalid");var L=k.featureIndex||0,I=k.multiFeatureIndex||0,P=k.geometryIndex||0,M=k.segmentIndex||0,F=k.properties,N;switch(E.type){case"FeatureCollection":L<0&&(L=E.features.length+L),F=F||E.features[L].properties,N=E.features[L].geometry;break;case"Feature":F=F||E.properties,N=E.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":N=E;break;default:throw new Error("geojson is invalid")}if(N===null)return null;var T=N.coordinates;switch(N.type){case"Point":case"MultiPoint":return null;case"LineString":return M<0&&(M=T.length+M-1),l.lineString([T[M],T[M+1]],F,k);case"Polygon":return P<0&&(P=T.length+P),M<0&&(M=T[P].length+M-1),l.lineString([T[P][M],T[P][M+1]],F,k);case"MultiLineString":return I<0&&(I=T.length+I),M<0&&(M=T[I].length+M-1),l.lineString([T[I][M],T[I][M+1]],F,k);case"MultiPolygon":return I<0&&(I=T.length+I),P<0&&(P=T[I].length+P),M<0&&(M=T[I][P].length-M-1),l.lineString([T[I][P][M],T[I][P][M+1]],F,k)}throw new Error("geojson is invalid")}function A(E,k){if(k=k||{},!l.isObject(k))throw new Error("options is invalid");var L=k.featureIndex||0,I=k.multiFeatureIndex||0,P=k.geometryIndex||0,M=k.coordIndex||0,F=k.properties,N;switch(E.type){case"FeatureCollection":L<0&&(L=E.features.length+L),F=F||E.features[L].properties,N=E.features[L].geometry;break;case"Feature":F=F||E.properties,N=E.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":N=E;break;default:throw new Error("geojson is invalid")}if(N===null)return null;var T=N.coordinates;switch(N.type){case"Point":return l.point(T,F,k);case"MultiPoint":return I<0&&(I=T.length+I),l.point(T[I],F,k);case"LineString":return M<0&&(M=T.length+M),l.point(T[M],F,k);case"Polygon":return P<0&&(P=T.length+P),M<0&&(M=T[P].length+M),l.point(T[P][M],F,k);case"MultiLineString":return I<0&&(I=T.length+I),M<0&&(M=T[I].length+M),l.point(T[I][M],F,k);case"MultiPolygon":return I<0&&(I=T.length+I),P<0&&(P=T[I].length+P),M<0&&(M=T[I][P].length-M),l.point(T[I][P][M],F,k)}throw new Error("geojson is invalid")}h.coordEach=v,h.coordReduce=i,h.propEach=S,h.propReduce=g,h.featureEach=p,h.featureReduce=_,h.coordAll=c,h.geomEach=s,h.geomReduce=d,h.flattenEach=f,h.flattenReduce=b,h.segmentEach=x,h.segmentReduce=y,h.lineEach=C,h.lineReduce=w,h.findSegment=R,h.findPoint=A},49972:function(u){u.exports=h;function h(a){var l=0,v=0,i=0,S=0;return a.map(function(g){g=g.slice();var p=g[0],_=p.toUpperCase();if(p!=_)switch(g[0]=_,p){case"a":g[6]+=i,g[7]+=S;break;case"v":g[1]+=S;break;case"h":g[1]+=i;break;default:for(var c=1;c<g.length;)g[c++]+=i,g[c++]+=S}switch(_){case"Z":i=l,S=v;break;case"H":i=g[1];break;case"V":S=g[1];break;case"M":i=l=g[1],S=v=g[2];break;default:i=g[g.length-2],S=g[g.length-1]}return g})}},76752:function(u){u.exports=h;function h(a,l){if(!a||a.length==null)throw Error("Argument should be an array");l==null?l=1:l=Math.floor(l);for(var v=Array(l*2),i=0;i<l;i++){for(var S=-1/0,g=1/0,p=i,_=a.length;p<_;p+=l)a[p]>S&&(S=a[p]),a[p]<g&&(g=a[p]);v[i]=g,v[l+i]=S}return v}},10272:function(u){u.exports=function(h,a,l){if(typeof Array.prototype.findIndex=="function")return h.findIndex(a,l);if(typeof a!="function")throw new TypeError("predicate must be a function");var v=Object(h),i=v.length;if(i===0)return-1;for(var S=0;S<i;S++)if(a.call(l,v[S],S,v))return S;return-1}},71152:function(u,h,a){var l=a(76752);u.exports=v;function v(i,S,g){if(!i||i.length==null)throw Error("Argument should be an array");S==null&&(S=1),g==null&&(g=l(i,S));for(var p=0;p<S;p++){var _=g[S+p],c=g[p],s=p,d=i.length;if(_===1/0&&c===-1/0)for(s=p;s<d;s+=S)i[s]=i[s]===_?1:i[s]===c?0:.5;else if(_===1/0)for(s=p;s<d;s+=S)i[s]=i[s]===_?1:0;else if(c===-1/0)for(s=p;s<d;s+=S)i[s]=i[s]===c?0:1;else{var f=_-c;for(s=p;s<d;s+=S)isNaN(i[s])||(i[s]=f===0?.5:(i[s]-c)/f)}}return i}},67752:function(u){u.exports=function(a,l){var v=typeof a=="number",i=typeof l=="number";v&&!i?(l=a,a=0):!v&&!i&&(a=0,l=0),a=a|0,l=l|0;var S=l-a;if(S<0)throw new Error("array length must be positive");for(var g=new Array(S),p=0,_=a;p<S;p++,_++)g[p]=_;return g}},45408:function(u,h,a){var l=a(4168);function v(Q){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(ie){return typeof ie}:v=function(ie){return ie&&typeof Symbol=="function"&&ie.constructor===Symbol&&ie!==Symbol.prototype?"symbol":typeof ie},v(Q)}function i(Q,ae){if(!(Q instanceof ae))throw new TypeError("Cannot call a class as a function")}var S=a(86832),g=S.codes,p=g.ERR_AMBIGUOUS_ARGUMENT,_=g.ERR_INVALID_ARG_TYPE,c=g.ERR_INVALID_ARG_VALUE,s=g.ERR_INVALID_RETURN_VALUE,d=g.ERR_MISSING_ARGS,f=a(26144),b=a(35840),x=b.inspect,y=a(35840).types,C=y.isPromise,w=y.isRegExp,R=Object.assign?Object.assign:a(60964).assign,A=Object.is?Object.is:a(39896),E,k;function L(){var Q=a(25116);E=Q.isDeepEqual,k=Q.isDeepStrictEqual}var I=!1,P=u.exports=D,M={};function F(Q){throw Q.message instanceof Error?Q.message:new f(Q)}function N(Q,ae,ie,he,J){var Z=arguments.length,le;if(Z===0)le="Failed";else if(Z===1)ie=Q,Q=void 0;else{if(I===!1){I=!0;var K=l.emitWarning?l.emitWarning:console.warn.bind(console);K("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}Z===2&&(he="!=")}if(ie instanceof Error)throw ie;var te={actual:Q,expected:ae,operator:he===void 0?"fail":he,stackStartFn:J||N};ie!==void 0&&(te.message=ie);var ce=new f(te);throw le&&(ce.message=le,ce.generatedMessage=!0),ce}P.fail=N,P.AssertionError=f;function T(Q,ae,ie,he){if(!ie){var J=!1;if(ae===0)J=!0,he="No value argument passed to `assert.ok()`";else if(he instanceof Error)throw he;var Z=new f({actual:ie,expected:!0,message:he,operator:"==",stackStartFn:Q});throw Z.generatedMessage=J,Z}}function D(){for(var Q=arguments.length,ae=new Array(Q),ie=0;ie<Q;ie++)ae[ie]=arguments[ie];T.apply(void 0,[D,ae.length].concat(ae))}P.ok=D,P.equal=function Q(ae,ie,he){if(arguments.length<2)throw new d("actual","expected");ae!=ie&&F({actual:ae,expected:ie,message:he,operator:"==",stackStartFn:Q})},P.notEqual=function Q(ae,ie,he){if(arguments.length<2)throw new d("actual","expected");ae==ie&&F({actual:ae,expected:ie,message:he,operator:"!=",stackStartFn:Q})},P.deepEqual=function Q(ae,ie,he){if(arguments.length<2)throw new d("actual","expected");E===void 0&&L(),E(ae,ie)||F({actual:ae,expected:ie,message:he,operator:"deepEqual",stackStartFn:Q})},P.notDeepEqual=function Q(ae,ie,he){if(arguments.length<2)throw new d("actual","expected");E===void 0&&L(),E(ae,ie)&&F({actual:ae,expected:ie,message:he,operator:"notDeepEqual",stackStartFn:Q})},P.deepStrictEqual=function Q(ae,ie,he){if(arguments.length<2)throw new d("actual","expected");E===void 0&&L(),k(ae,ie)||F({actual:ae,expected:ie,message:he,operator:"deepStrictEqual",stackStartFn:Q})},P.notDeepStrictEqual=O;function O(Q,ae,ie){if(arguments.length<2)throw new d("actual","expected");E===void 0&&L(),k(Q,ae)&&F({actual:Q,expected:ae,message:ie,operator:"notDeepStrictEqual",stackStartFn:O})}P.strictEqual=function Q(ae,ie,he){if(arguments.length<2)throw new d("actual","expected");A(ae,ie)||F({actual:ae,expected:ie,message:he,operator:"strictEqual",stackStartFn:Q})},P.notStrictEqual=function Q(ae,ie,he){if(arguments.length<2)throw new d("actual","expected");A(ae,ie)&&F({actual:ae,expected:ie,message:he,operator:"notStrictEqual",stackStartFn:Q})};var U=function Q(ae,ie,he){var J=this;i(this,Q),ie.forEach(function(Z){Z in ae&&(he!==void 0&&typeof he[Z]=="string"&&w(ae[Z])&&ae[Z].test(he[Z])?J[Z]=he[Z]:J[Z]=ae[Z])})};function B(Q,ae,ie,he,J,Z){if(!(ie in Q)||!k(Q[ie],ae[ie])){if(!he){var le=new U(Q,J),K=new U(ae,J,Q),te=new f({actual:le,expected:K,operator:"deepStrictEqual",stackStartFn:Z});throw te.actual=Q,te.expected=ae,te.operator=Z.name,te}F({actual:Q,expected:ae,message:he,operator:Z.name,stackStartFn:Z})}}function Y(Q,ae,ie,he){if(typeof ae!="function"){if(w(ae))return ae.test(Q);if(arguments.length===2)throw new _("expected",["Function","RegExp"],ae);if(v(Q)!=="object"||Q===null){var J=new f({actual:Q,expected:ae,message:ie,operator:"deepStrictEqual",stackStartFn:he});throw J.operator=he.name,J}var Z=Object.keys(ae);if(ae instanceof Error)Z.push("name","message");else if(Z.length===0)throw new c("error",ae,"may not be an empty object");return E===void 0&&L(),Z.forEach(function(le){typeof Q[le]=="string"&&w(ae[le])&&ae[le].test(Q[le])||B(Q,ae,le,ie,Z,he)}),!0}return ae.prototype!==void 0&&Q instanceof ae?!0:Error.isPrototypeOf(ae)?!1:ae.call({},Q)===!0}function z(Q){if(typeof Q!="function")throw new _("fn","Function",Q);try{Q()}catch(ae){return ae}return M}function V(Q){return C(Q)||Q!==null&&v(Q)==="object"&&typeof Q.then=="function"&&typeof Q.catch=="function"}function j(Q){return Promise.resolve().then(function(){var ae;if(typeof Q=="function"){if(ae=Q(),!V(ae))throw new s("instance of Promise","promiseFn",ae)}else if(V(Q))ae=Q;else throw new _("promiseFn",["Function","Promise"],Q);return Promise.resolve().then(function(){return ae}).then(function(){return M}).catch(function(ie){return ie})})}function G(Q,ae,ie,he){if(typeof ie=="string"){if(arguments.length===4)throw new _("error",["Object","Error","Function","RegExp"],ie);if(v(ae)==="object"&&ae!==null){if(ae.message===ie)throw new p("error/message",'The error message "'.concat(ae.message,'" is identical to the message.'))}else if(ae===ie)throw new p("error/message",'The error "'.concat(ae,'" is identical to the message.'));he=ie,ie=void 0}else if(ie!=null&&v(ie)!=="object"&&typeof ie!="function")throw new _("error",["Object","Error","Function","RegExp"],ie);if(ae===M){var J="";ie&&ie.name&&(J+=" (".concat(ie.name,")")),J+=he?": ".concat(he):".";var Z=Q.name==="rejects"?"rejection":"exception";F({actual:void 0,expected:ie,operator:Q.name,message:"Missing expected ".concat(Z).concat(J),stackStartFn:Q})}if(ie&&!Y(ae,ie,he,Q))throw ae}function W(Q,ae,ie,he){if(ae!==M){if(typeof ie=="string"&&(he=ie,ie=void 0),!ie||Y(ae,ie)){var J=he?": ".concat(he):".",Z=Q.name==="doesNotReject"?"rejection":"exception";F({actual:ae,expected:ie,operator:Q.name,message:"Got unwanted ".concat(Z).concat(J,`
`)+'Actual message: "'.concat(ae&&ae.message,'"'),stackStartFn:Q})}throw ae}}P.throws=function Q(ae){for(var ie=arguments.length,he=new Array(ie>1?ie-1:0),J=1;J<ie;J++)he[J-1]=arguments[J];G.apply(void 0,[Q,z(ae)].concat(he))},P.rejects=function Q(ae){for(var ie=arguments.length,he=new Array(ie>1?ie-1:0),J=1;J<ie;J++)he[J-1]=arguments[J];return j(ae).then(function(Z){return G.apply(void 0,[Q,Z].concat(he))})},P.doesNotThrow=function Q(ae){for(var ie=arguments.length,he=new Array(ie>1?ie-1:0),J=1;J<ie;J++)he[J-1]=arguments[J];W.apply(void 0,[Q,z(ae)].concat(he))},P.doesNotReject=function Q(ae){for(var ie=arguments.length,he=new Array(ie>1?ie-1:0),J=1;J<ie;J++)he[J-1]=arguments[J];return j(ae).then(function(Z){return W.apply(void 0,[Q,Z].concat(he))})},P.ifError=function Q(ae){if(ae!=null){var ie="ifError got unwanted exception: ";v(ae)==="object"&&typeof ae.message=="string"?ae.message.length===0&&ae.constructor?ie+=ae.constructor.name:ie+=ae.message:ie+=x(ae);var he=new f({actual:ae,expected:null,operator:"ifError",message:ie,stackStartFn:Q}),J=ae.stack;if(typeof J=="string"){var Z=J.split(`
`);Z.shift();for(var le=he.stack.split(`
`),K=0;K<Z.length;K++){var te=le.indexOf(Z[K]);if(te!==-1){le=le.slice(0,te);break}}he.stack="".concat(le.join(`
`),`
`).concat(Z.join(`
`))}throw he}};function X(){for(var Q=arguments.length,ae=new Array(Q),ie=0;ie<Q;ie++)ae[ie]=arguments[ie];T.apply(void 0,[X,ae.length].concat(ae))}P.strict=R(X,P,{equal:P.strictEqual,deepEqual:P.deepStrictEqual,notEqual:P.notStrictEqual,notDeepEqual:P.notDeepStrictEqual}),P.strict.strict=P.strict},26144:function(u,h,a){var l=a(4168);function v(z){for(var V=1;V<arguments.length;V++){var j=arguments[V]!=null?arguments[V]:{},G=Object.keys(j);typeof Object.getOwnPropertySymbols=="function"&&(G=G.concat(Object.getOwnPropertySymbols(j).filter(function(W){return Object.getOwnPropertyDescriptor(j,W).enumerable}))),G.forEach(function(W){i(z,W,j[W])})}return z}function i(z,V,j){return V in z?Object.defineProperty(z,V,{value:j,enumerable:!0,configurable:!0,writable:!0}):z[V]=j,z}function S(z,V){if(!(z instanceof V))throw new TypeError("Cannot call a class as a function")}function g(z,V){for(var j=0;j<V.length;j++){var G=V[j];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(z,G.key,G)}}function p(z,V,j){return V&&g(z.prototype,V),z}function _(z,V){return V&&(w(V)==="object"||typeof V=="function")?V:c(z)}function c(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}function s(z,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");z.prototype=Object.create(V&&V.prototype,{constructor:{value:z,writable:!0,configurable:!0}}),V&&y(z,V)}function d(z){var V=typeof Map=="function"?new Map:void 0;return d=function(G){if(G===null||!x(G))return G;if(typeof G!="function")throw new TypeError("Super expression must either be null or a function");if(typeof V<"u"){if(V.has(G))return V.get(G);V.set(G,W)}function W(){return b(G,arguments,C(this).constructor)}return W.prototype=Object.create(G.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),y(W,G)},d(z)}function f(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function b(z,V,j){return f()?b=Reflect.construct:b=function(W,X,Q){var ae=[null];ae.push.apply(ae,X);var ie=Function.bind.apply(W,ae),he=new ie;return Q&&y(he,Q.prototype),he},b.apply(null,arguments)}function x(z){return Function.toString.call(z).indexOf("[native code]")!==-1}function y(z,V){return y=Object.setPrototypeOf||function(G,W){return G.__proto__=W,G},y(z,V)}function C(z){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(j){return j.__proto__||Object.getPrototypeOf(j)},C(z)}function w(z){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(j){return typeof j}:w=function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},w(z)}var R=a(35840),A=R.inspect,E=a(86832),k=E.codes.ERR_INVALID_ARG_TYPE;function L(z,V,j){return(j===void 0||j>z.length)&&(j=z.length),z.substring(j-V.length,j)===V}function I(z,V){if(V=Math.floor(V),z.length==0||V==0)return"";var j=z.length*V;for(V=Math.floor(Math.log(V)/Math.log(2));V;)z+=z,V--;return z+=z.substring(0,j-z.length),z}var P="",M="",F="",N="",T={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},D=10;function O(z){var V=Object.keys(z),j=Object.create(Object.getPrototypeOf(z));return V.forEach(function(G){j[G]=z[G]}),Object.defineProperty(j,"message",{value:z.message}),j}function U(z){return A(z,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function B(z,V,j){var G="",W="",X=0,Q="",ae=!1,ie=U(z),he=ie.split(`
`),J=U(V).split(`
`),Z=0,le="";if(j==="strictEqual"&&w(z)==="object"&&w(V)==="object"&&z!==null&&V!==null&&(j="strictEqualObject"),he.length===1&&J.length===1&&he[0]!==J[0]){var K=he[0].length+J[0].length;if(K<=D){if((w(z)!=="object"||z===null)&&(w(V)!=="object"||V===null)&&(z!==0||V!==0))return"".concat(T[j],`
`)+"".concat(he[0]," !== ").concat(J[0],`
`)}else if(j!=="strictEqualObject"){var te=l.stderr&&l.stderr.isTTY?l.stderr.columns:80;if(K<te){for(;he[0][Z]===J[0][Z];)Z++;Z>2&&(le=`
`.concat(I(" ",Z),"^"),Z=0)}}}for(var ce=he[he.length-1],re=J[J.length-1];ce===re&&(Z++<2?Q=`
`.concat(ce).concat(Q):G=ce,he.pop(),J.pop(),!(he.length===0||J.length===0));)ce=he[he.length-1],re=J[J.length-1];var ee=Math.max(he.length,J.length);if(ee===0){var de=ie.split(`
`);if(de.length>30)for(de[26]="".concat(P,"...").concat(N);de.length>27;)de.pop();return"".concat(T.notIdentical,`
`).concat(de.join(`
`),`
`)}Z>3&&(Q=`
`.concat(P,"...").concat(N).concat(Q),ae=!0),G!==""&&(Q=`
`.concat(G).concat(Q),G="");var oe=0,fe=T[j]+`
`.concat(M,"+ actual").concat(N," ").concat(F,"- expected").concat(N),me=" ".concat(P,"...").concat(N," Lines skipped");for(Z=0;Z<ee;Z++){var Te=Z-X;if(he.length<Z+1)Te>1&&Z>2&&(Te>4?(W+=`
`.concat(P,"...").concat(N),ae=!0):Te>3&&(W+=`
`.concat(J[Z-2]),oe++),W+=`
`.concat(J[Z-1]),oe++),X=Z,G+=`
`.concat(F,"-").concat(N," ").concat(J[Z]),oe++;else if(J.length<Z+1)Te>1&&Z>2&&(Te>4?(W+=`
`.concat(P,"...").concat(N),ae=!0):Te>3&&(W+=`
`.concat(he[Z-2]),oe++),W+=`
`.concat(he[Z-1]),oe++),X=Z,W+=`
`.concat(M,"+").concat(N," ").concat(he[Z]),oe++;else{var we=J[Z],Be=he[Z],Ae=Be!==we&&(!L(Be,",")||Be.slice(0,-1)!==we);Ae&&L(we,",")&&we.slice(0,-1)===Be&&(Ae=!1,Be+=","),Ae?(Te>1&&Z>2&&(Te>4?(W+=`
`.concat(P,"...").concat(N),ae=!0):Te>3&&(W+=`
`.concat(he[Z-2]),oe++),W+=`
`.concat(he[Z-1]),oe++),X=Z,W+=`
`.concat(M,"+").concat(N," ").concat(Be),G+=`
`.concat(F,"-").concat(N," ").concat(we),oe+=2):(W+=G,G="",(Te===1||Z===0)&&(W+=`
`.concat(Be),oe++))}if(oe>20&&Z<ee-2)return"".concat(fe).concat(me,`
`).concat(W,`
`).concat(P,"...").concat(N).concat(G,`
`)+"".concat(P,"...").concat(N)}return"".concat(fe).concat(ae?me:"",`
`).concat(W).concat(G).concat(Q).concat(le)}var Y=function(z){s(V,z);function V(j){var G;if(S(this,V),w(j)!=="object"||j===null)throw new k("options","Object",j);var W=j.message,X=j.operator,Q=j.stackStartFn,ae=j.actual,ie=j.expected,he=Error.stackTraceLimit;if(Error.stackTraceLimit=0,W!=null)G=_(this,C(V).call(this,String(W)));else if(l.stderr&&l.stderr.isTTY&&(l.stderr&&l.stderr.getColorDepth&&l.stderr.getColorDepth()!==1?(P="\x1B[34m",M="\x1B[32m",N="\x1B[39m",F="\x1B[31m"):(P="",M="",N="",F="")),w(ae)==="object"&&ae!==null&&w(ie)==="object"&&ie!==null&&"stack"in ae&&ae instanceof Error&&"stack"in ie&&ie instanceof Error&&(ae=O(ae),ie=O(ie)),X==="deepStrictEqual"||X==="strictEqual")G=_(this,C(V).call(this,B(ae,ie,X)));else if(X==="notDeepStrictEqual"||X==="notStrictEqual"){var J=T[X],Z=U(ae).split(`
`);if(X==="notStrictEqual"&&w(ae)==="object"&&ae!==null&&(J=T.notStrictEqualObject),Z.length>30)for(Z[26]="".concat(P,"...").concat(N);Z.length>27;)Z.pop();Z.length===1?G=_(this,C(V).call(this,"".concat(J," ").concat(Z[0]))):G=_(this,C(V).call(this,"".concat(J,`
`).concat(Z.join(`
`),`
`)))}else{var le=U(ae),K="",te=T[X];X==="notDeepEqual"||X==="notEqual"?(le="".concat(T[X],`
`).concat(le),le.length>1024&&(le="".concat(le.slice(0,1021),"..."))):(K="".concat(U(ie)),le.length>512&&(le="".concat(le.slice(0,509),"...")),K.length>512&&(K="".concat(K.slice(0,509),"...")),X==="deepEqual"||X==="equal"?le="".concat(te,`
`).concat(le,`
should equal
`):K=" ".concat(X," ").concat(K)),G=_(this,C(V).call(this,"".concat(le).concat(K)))}return Error.stackTraceLimit=he,G.generatedMessage=!W,Object.defineProperty(c(G),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),G.code="ERR_ASSERTION",G.actual=ae,G.expected=ie,G.operator=X,Error.captureStackTrace&&Error.captureStackTrace(c(G),Q),G.stack,G.name="AssertionError",_(G)}return p(V,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:A.custom,value:function(G,W){return A(this,v({},W,{customInspect:!1,depth:0}))}}]),V}(d(Error));u.exports=Y},86832:function(u,h,a){function l(w){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?l=function(A){return typeof A}:l=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},l(w)}function v(w,R){if(!(w instanceof R))throw new TypeError("Cannot call a class as a function")}function i(w,R){return R&&(l(R)==="object"||typeof R=="function")?R:S(w)}function S(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}function g(w){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},g(w)}function p(w,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");w.prototype=Object.create(R&&R.prototype,{constructor:{value:w,writable:!0,configurable:!0}}),R&&_(w,R)}function _(w,R){return _=Object.setPrototypeOf||function(E,k){return E.__proto__=k,E},_(w,R)}var c={},s,d;function f(w,R,A){A||(A=Error);function E(L,I,P){return typeof R=="string"?R:R(L,I,P)}var k=function(L){p(I,L);function I(P,M,F){var N;return v(this,I),N=i(this,g(I).call(this,E(P,M,F))),N.code=w,N}return I}(A);c[w]=k}function b(w,R){if(Array.isArray(w)){var A=w.length;return w=w.map(function(E){return String(E)}),A>2?"one of ".concat(R," ").concat(w.slice(0,A-1).join(", "),", or ")+w[A-1]:A===2?"one of ".concat(R," ").concat(w[0]," or ").concat(w[1]):"of ".concat(R," ").concat(w[0])}else return"of ".concat(R," ").concat(String(w))}function x(w,R,A){return w.substr(0,R.length)===R}function y(w,R,A){return(A===void 0||A>w.length)&&(A=w.length),w.substring(A-R.length,A)===R}function C(w,R,A){return typeof A!="number"&&(A=0),A+R.length>w.length?!1:w.indexOf(R,A)!==-1}f("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),f("ERR_INVALID_ARG_TYPE",function(w,R,A){s===void 0&&(s=a(45408)),s(typeof w=="string","'name' must be a string");var E;typeof R=="string"&&x(R,"not ")?(E="must not be",R=R.replace(/^not /,"")):E="must be";var k;if(y(w," argument"))k="The ".concat(w," ").concat(E," ").concat(b(R,"type"));else{var L=C(w,".")?"property":"argument";k='The "'.concat(w,'" ').concat(L," ").concat(E," ").concat(b(R,"type"))}return k+=". Received type ".concat(l(A)),k},TypeError),f("ERR_INVALID_ARG_VALUE",function(w,R){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";d===void 0&&(d=a(35840));var E=d.inspect(R);return E.length>128&&(E="".concat(E.slice(0,128),"...")),"The argument '".concat(w,"' ").concat(A,". Received ").concat(E)},TypeError),f("ERR_INVALID_RETURN_VALUE",function(w,R,A){var E;return A&&A.constructor&&A.constructor.name?E="instance of ".concat(A.constructor.name):E="type ".concat(l(A)),"Expected ".concat(w,' to be returned from the "').concat(R,'"')+" function but got ".concat(E,".")},TypeError),f("ERR_MISSING_ARGS",function(){for(var w=arguments.length,R=new Array(w),A=0;A<w;A++)R[A]=arguments[A];s===void 0&&(s=a(45408)),s(R.length>0,"At least one arg needs to be specified");var E="The ",k=R.length;switch(R=R.map(function(L){return'"'.concat(L,'"')}),k){case 1:E+="".concat(R[0]," argument");break;case 2:E+="".concat(R[0]," and ").concat(R[1]," arguments");break;default:E+=R.slice(0,k-1).join(", "),E+=", and ".concat(R[k-1]," arguments");break}return"".concat(E," must be specified")},TypeError),u.exports.codes=c},25116:function(u,h,a){function l(Re,be){return S(Re)||i(Re,be)||v()}function v(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function i(Re,be){var Pe=[],Ke=!0,ze=!1,Fe=void 0;try{for(var We=Re[Symbol.iterator](),lt;!(Ke=(lt=We.next()).done)&&(Pe.push(lt.value),!(be&&Pe.length===be));Ke=!0);}catch(ht){ze=!0,Fe=ht}finally{try{!Ke&&We.return!=null&&We.return()}finally{if(ze)throw Fe}}return Pe}function S(Re){if(Array.isArray(Re))return Re}function g(Re){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(Pe){return typeof Pe}:g=function(Pe){return Pe&&typeof Symbol=="function"&&Pe.constructor===Symbol&&Pe!==Symbol.prototype?"symbol":typeof Pe},g(Re)}var p=/a/g.flags!==void 0,_=function(be){var Pe=[];return be.forEach(function(Ke){return Pe.push(Ke)}),Pe},c=function(be){var Pe=[];return be.forEach(function(Ke,ze){return Pe.push([ze,Ke])}),Pe},s=Object.is?Object.is:a(39896),d=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},f=Number.isNaN?Number.isNaN:a(1560);function b(Re){return Re.call.bind(Re)}var x=b(Object.prototype.hasOwnProperty),y=b(Object.prototype.propertyIsEnumerable),C=b(Object.prototype.toString),w=a(35840).types,R=w.isAnyArrayBuffer,A=w.isArrayBufferView,E=w.isDate,k=w.isMap,L=w.isRegExp,I=w.isSet,P=w.isNativeError,M=w.isBoxedPrimitive,F=w.isNumberObject,N=w.isStringObject,T=w.isBooleanObject,D=w.isBigIntObject,O=w.isSymbolObject,U=w.isFloat32Array,B=w.isFloat64Array;function Y(Re){if(Re.length===0||Re.length>10)return!0;for(var be=0;be<Re.length;be++){var Pe=Re.charCodeAt(be);if(Pe<48||Pe>57)return!0}return Re.length===10&&Re>=Math.pow(2,32)}function z(Re){return Object.keys(Re).filter(Y).concat(d(Re).filter(Object.prototype.propertyIsEnumerable.bind(Re)))}/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/function V(Re,be){if(Re===be)return 0;for(var Pe=Re.length,Ke=be.length,ze=0,Fe=Math.min(Pe,Ke);ze<Fe;++ze)if(Re[ze]!==be[ze]){Pe=Re[ze],Ke=be[ze];break}return Pe<Ke?-1:Ke<Pe?1:0}var j=!0,G=!1,W=0,X=1,Q=2,ae=3;function ie(Re,be){return p?Re.source===be.source&&Re.flags===be.flags:RegExp.prototype.toString.call(Re)===RegExp.prototype.toString.call(be)}function he(Re,be){if(Re.byteLength!==be.byteLength)return!1;for(var Pe=0;Pe<Re.byteLength;Pe++)if(Re[Pe]!==be[Pe])return!1;return!0}function J(Re,be){return Re.byteLength!==be.byteLength?!1:V(new Uint8Array(Re.buffer,Re.byteOffset,Re.byteLength),new Uint8Array(be.buffer,be.byteOffset,be.byteLength))===0}function Z(Re,be){return Re.byteLength===be.byteLength&&V(new Uint8Array(Re),new Uint8Array(be))===0}function le(Re,be){return F(Re)?F(be)&&s(Number.prototype.valueOf.call(Re),Number.prototype.valueOf.call(be)):N(Re)?N(be)&&String.prototype.valueOf.call(Re)===String.prototype.valueOf.call(be):T(Re)?T(be)&&Boolean.prototype.valueOf.call(Re)===Boolean.prototype.valueOf.call(be):D(Re)?D(be)&&BigInt.prototype.valueOf.call(Re)===BigInt.prototype.valueOf.call(be):O(be)&&Symbol.prototype.valueOf.call(Re)===Symbol.prototype.valueOf.call(be)}function K(Re,be,Pe,Ke){if(Re===be)return Re!==0?!0:Pe?s(Re,be):!0;if(Pe){if(g(Re)!=="object")return typeof Re=="number"&&f(Re)&&f(be);if(g(be)!=="object"||Re===null||be===null||Object.getPrototypeOf(Re)!==Object.getPrototypeOf(be))return!1}else{if(Re===null||g(Re)!=="object")return be===null||g(be)!=="object"?Re==be:!1;if(be===null||g(be)!=="object")return!1}var ze=C(Re),Fe=C(be);if(ze!==Fe)return!1;if(Array.isArray(Re)){if(Re.length!==be.length)return!1;var We=z(Re),lt=z(be);return We.length!==lt.length?!1:ce(Re,be,Pe,Ke,X,We)}if(ze==="[object Object]"&&(!k(Re)&&k(be)||!I(Re)&&I(be)))return!1;if(E(Re)){if(!E(be)||Date.prototype.getTime.call(Re)!==Date.prototype.getTime.call(be))return!1}else if(L(Re)){if(!L(be)||!ie(Re,be))return!1}else if(P(Re)||Re instanceof Error){if(Re.message!==be.message||Re.name!==be.name)return!1}else if(A(Re)){if(!Pe&&(U(Re)||B(Re))){if(!he(Re,be))return!1}else if(!J(Re,be))return!1;var ht=z(Re),tt=z(be);return ht.length!==tt.length?!1:ce(Re,be,Pe,Ke,W,ht)}else{if(I(Re))return!I(be)||Re.size!==be.size?!1:ce(Re,be,Pe,Ke,Q);if(k(Re))return!k(be)||Re.size!==be.size?!1:ce(Re,be,Pe,Ke,ae);if(R(Re)){if(!Z(Re,be))return!1}else if(M(Re)&&!le(Re,be))return!1}return ce(Re,be,Pe,Ke,W)}function te(Re,be){return be.filter(function(Pe){return y(Re,Pe)})}function ce(Re,be,Pe,Ke,ze,Fe){if(arguments.length===5){Fe=Object.keys(Re);var We=Object.keys(be);if(Fe.length!==We.length)return!1}for(var lt=0;lt<Fe.length;lt++)if(!x(be,Fe[lt]))return!1;if(Pe&&arguments.length===5){var ht=d(Re);if(ht.length!==0){var tt=0;for(lt=0;lt<ht.length;lt++){var et=ht[lt];if(y(Re,et)){if(!y(be,et))return!1;Fe.push(et),tt++}else if(y(be,et))return!1}var pt=d(be);if(ht.length!==pt.length&&te(be,pt).length!==tt)return!1}else{var vt=d(be);if(vt.length!==0&&te(be,vt).length!==0)return!1}}if(Fe.length===0&&(ze===W||ze===X&&Re.length===0||Re.size===0))return!0;if(Ke===void 0)Ke={val1:new Map,val2:new Map,position:0};else{var _t=Ke.val1.get(Re);if(_t!==void 0){var bt=Ke.val2.get(be);if(bt!==void 0)return _t===bt}Ke.position++}Ke.val1.set(Re,Ke.position),Ke.val2.set(be,Ke.position);var Rt=we(Re,be,Pe,Fe,Ke,ze);return Ke.val1.delete(Re),Ke.val2.delete(be),Rt}function re(Re,be,Pe,Ke){for(var ze=_(Re),Fe=0;Fe<ze.length;Fe++){var We=ze[Fe];if(K(be,We,Pe,Ke))return Re.delete(We),!0}return!1}function ee(Re){switch(g(Re)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":Re=+Re;case"number":if(f(Re))return!1}return!0}function de(Re,be,Pe){var Ke=ee(Pe);return Ke??(be.has(Ke)&&!Re.has(Ke))}function oe(Re,be,Pe,Ke,ze){var Fe=ee(Pe);if(Fe!=null)return Fe;var We=be.get(Fe);return We===void 0&&!be.has(Fe)||!K(Ke,We,!1,ze)?!1:!Re.has(Fe)&&K(Ke,We,!1,ze)}function fe(Re,be,Pe,Ke){for(var ze=null,Fe=_(Re),We=0;We<Fe.length;We++){var lt=Fe[We];if(g(lt)==="object"&&lt!==null)ze===null&&(ze=new Set),ze.add(lt);else if(!be.has(lt)){if(Pe||!de(Re,be,lt))return!1;ze===null&&(ze=new Set),ze.add(lt)}}if(ze!==null){for(var ht=_(be),tt=0;tt<ht.length;tt++){var et=ht[tt];if(g(et)==="object"&&et!==null){if(!re(ze,et,Pe,Ke))return!1}else if(!Pe&&!Re.has(et)&&!re(ze,et,Pe,Ke))return!1}return ze.size===0}return!0}function me(Re,be,Pe,Ke,ze,Fe){for(var We=_(Re),lt=0;lt<We.length;lt++){var ht=We[lt];if(K(Pe,ht,ze,Fe)&&K(Ke,be.get(ht),ze,Fe))return Re.delete(ht),!0}return!1}function Te(Re,be,Pe,Ke){for(var ze=null,Fe=c(Re),We=0;We<Fe.length;We++){var lt=l(Fe[We],2),ht=lt[0],tt=lt[1];if(g(ht)==="object"&&ht!==null)ze===null&&(ze=new Set),ze.add(ht);else{var et=be.get(ht);if(et===void 0&&!be.has(ht)||!K(tt,et,Pe,Ke)){if(Pe||!oe(Re,be,ht,tt,Ke))return!1;ze===null&&(ze=new Set),ze.add(ht)}}}if(ze!==null){for(var pt=c(be),vt=0;vt<pt.length;vt++){var _t=l(pt[vt],2),ht=_t[0],bt=_t[1];if(g(ht)==="object"&&ht!==null){if(!me(ze,Re,ht,bt,Pe,Ke))return!1}else if(!Pe&&(!Re.has(ht)||!K(Re.get(ht),bt,!1,Ke))&&!me(ze,Re,ht,bt,!1,Ke))return!1}return ze.size===0}return!0}function we(Re,be,Pe,Ke,ze,Fe){var We=0;if(Fe===Q){if(!fe(Re,be,Pe,ze))return!1}else if(Fe===ae){if(!Te(Re,be,Pe,ze))return!1}else if(Fe===X)for(;We<Re.length;We++)if(x(Re,We)){if(!x(be,We)||!K(Re[We],be[We],Pe,ze))return!1}else{if(x(be,We))return!1;for(var lt=Object.keys(Re);We<lt.length;We++){var ht=lt[We];if(!x(be,ht)||!K(Re[ht],be[ht],Pe,ze))return!1}return lt.length===Object.keys(be).length}for(We=0;We<Ke.length;We++){var tt=Ke[We];if(!K(Re[tt],be[tt],Pe,ze))return!1}return!0}function Be(Re,be){return K(Re,be,G)}function Ae(Re,be){return K(Re,be,j)}u.exports={isDeepEqual:Be,isDeepStrictEqual:Ae}},83160:function(u,h,a){a.r(h),a.d(h,{decode:function(){return g},encode:function(){return S}});for(var l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=typeof Uint8Array>"u"?[]:new Uint8Array(256),i=0;i<l.length;i++)v[l.charCodeAt(i)]=i;var S=function(p){var _=new Uint8Array(p),c,s=_.length,d="";for(c=0;c<s;c+=3)d+=l[_[c]>>2],d+=l[(_[c]&3)<<4|_[c+1]>>4],d+=l[(_[c+1]&15)<<2|_[c+2]>>6],d+=l[_[c+2]&63];return s%3===2?d=d.substring(0,d.length-1)+"=":s%3===1&&(d=d.substring(0,d.length-2)+"=="),d},g=function(p){var _=p.length*.75,c=p.length,s,d=0,f,b,x,y;p[p.length-1]==="="&&(_--,p[p.length-2]==="="&&_--);var C=new ArrayBuffer(_),w=new Uint8Array(C);for(s=0;s<c;s+=4)f=v[p.charCodeAt(s)],b=v[p.charCodeAt(s+1)],x=v[p.charCodeAt(s+2)],y=v[p.charCodeAt(s+3)],w[d++]=f<<2|b>>4,w[d++]=(b&15)<<4|x>>2,w[d++]=(x&3)<<6|y&63;return C}},59968:function(u,h){h.byteLength=_,h.toByteArray=s,h.fromByteArray=b;for(var a=[],l=[],v=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",S=0,g=i.length;S<g;++S)a[S]=i[S],l[i.charCodeAt(S)]=S;l[45]=62,l[95]=63;function p(x){var y=x.length;if(y%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var C=x.indexOf("=");C===-1&&(C=y);var w=C===y?0:4-C%4;return[C,w]}function _(x){var y=p(x),C=y[0],w=y[1];return(C+w)*3/4-w}function c(x,y,C){return(y+C)*3/4-C}function s(x){var y,C=p(x),w=C[0],R=C[1],A=new v(c(x,w,R)),E=0,k=R>0?w-4:w,L;for(L=0;L<k;L+=4)y=l[x.charCodeAt(L)]<<18|l[x.charCodeAt(L+1)]<<12|l[x.charCodeAt(L+2)]<<6|l[x.charCodeAt(L+3)],A[E++]=y>>16&255,A[E++]=y>>8&255,A[E++]=y&255;return R===2&&(y=l[x.charCodeAt(L)]<<2|l[x.charCodeAt(L+1)]>>4,A[E++]=y&255),R===1&&(y=l[x.charCodeAt(L)]<<10|l[x.charCodeAt(L+1)]<<4|l[x.charCodeAt(L+2)]>>2,A[E++]=y>>8&255,A[E++]=y&255),A}function d(x){return a[x>>18&63]+a[x>>12&63]+a[x>>6&63]+a[x&63]}function f(x,y,C){for(var w,R=[],A=y;A<C;A+=3)w=(x[A]<<16&16711680)+(x[A+1]<<8&65280)+(x[A+2]&255),R.push(d(w));return R.join("")}function b(x){for(var y,C=x.length,w=C%3,R=[],A=16383,E=0,k=C-w;E<k;E+=A)R.push(f(x,E,E+A>k?k:E+A));return w===1?(y=x[C-1],R.push(a[y>>2]+a[y<<4&63]+"==")):w===2&&(y=(x[C-2]<<8)+x[C-1],R.push(a[y>>10]+a[y>>4&63]+a[y<<2&63]+"=")),R.join("")}},64928:function(u){function h(g,p,_,c,s){for(var d=s+1;c<=s;){var f=c+s>>>1,b=g[f],x=_!==void 0?_(b,p):b-p;x>=0?(d=f,s=f-1):c=f+1}return d}function a(g,p,_,c,s){for(var d=s+1;c<=s;){var f=c+s>>>1,b=g[f],x=_!==void 0?_(b,p):b-p;x>0?(d=f,s=f-1):c=f+1}return d}function l(g,p,_,c,s){for(var d=c-1;c<=s;){var f=c+s>>>1,b=g[f],x=_!==void 0?_(b,p):b-p;x<0?(d=f,c=f+1):s=f-1}return d}function v(g,p,_,c,s){for(var d=c-1;c<=s;){var f=c+s>>>1,b=g[f],x=_!==void 0?_(b,p):b-p;x<=0?(d=f,c=f+1):s=f-1}return d}function i(g,p,_,c,s){for(;c<=s;){var d=c+s>>>1,f=g[d],b=_!==void 0?_(f,p):f-p;if(b===0)return d;b<=0?c=d+1:s=d-1}return-1}function S(g,p,_,c,s,d){return typeof _=="function"?d(g,p,_,c===void 0?0:c|0,s===void 0?g.length-1:s|0):d(g,p,void 0,_===void 0?0:_|0,c===void 0?g.length-1:c|0)}u.exports={ge:function(g,p,_,c,s){return S(g,p,_,c,s,h)},gt:function(g,p,_,c,s){return S(g,p,_,c,s,a)},lt:function(g,p,_,c,s){return S(g,p,_,c,s,l)},le:function(g,p,_,c,s){return S(g,p,_,c,s,v)},eq:function(g,p,_,c,s){return S(g,p,_,c,s,i)}}},308:function(u,h){"use restrict";var a=32;h.INT_BITS=a,h.INT_MAX=2147483647,h.INT_MIN=-1<<a-1,h.sign=function(i){return(i>0)-(i<0)},h.abs=function(i){var S=i>>a-1;return(i^S)-S},h.min=function(i,S){return S^(i^S)&-(i<S)},h.max=function(i,S){return i^(i^S)&-(i<S)},h.isPow2=function(i){return!(i&i-1)&&!!i},h.log2=function(i){var S,g;return S=(i>65535)<<4,i>>>=S,g=(i>255)<<3,i>>>=g,S|=g,g=(i>15)<<2,i>>>=g,S|=g,g=(i>3)<<1,i>>>=g,S|=g,S|i>>1},h.log10=function(i){return i>=1e9?9:i>=1e8?8:i>=1e7?7:i>=1e6?6:i>=1e5?5:i>=1e4?4:i>=1e3?3:i>=100?2:i>=10?1:0},h.popCount=function(i){return i=i-(i>>>1&1431655765),i=(i&858993459)+(i>>>2&858993459),(i+(i>>>4)&252645135)*16843009>>>24};function l(i){var S=32;return i&=-i,i&&S--,i&65535&&(S-=16),i&16711935&&(S-=8),i&252645135&&(S-=4),i&858993459&&(S-=2),i&1431655765&&(S-=1),S}h.countTrailingZeros=l,h.nextPow2=function(i){return i+=i===0,--i,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i+1},h.prevPow2=function(i){return i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i-(i>>>1)},h.parity=function(i){return i^=i>>>16,i^=i>>>8,i^=i>>>4,i&=15,27030>>>i&1};var v=new Array(256);(function(i){for(var S=0;S<256;++S){var g=S,p=S,_=7;for(g>>>=1;g;g>>>=1)p<<=1,p|=g&1,--_;i[S]=p<<_&255}})(v),h.reverse=function(i){return v[i&255]<<24|v[i>>>8&255]<<16|v[i>>>16&255]<<8|v[i>>>24&255]},h.interleave2=function(i,S){return i&=65535,i=(i|i<<8)&16711935,i=(i|i<<4)&252645135,i=(i|i<<2)&858993459,i=(i|i<<1)&1431655765,S&=65535,S=(S|S<<8)&16711935,S=(S|S<<4)&252645135,S=(S|S<<2)&858993459,S=(S|S<<1)&1431655765,i|S<<1},h.deinterleave2=function(i,S){return i=i>>>S&1431655765,i=(i|i>>>1)&858993459,i=(i|i>>>2)&252645135,i=(i|i>>>4)&16711935,i=(i|i>>>16)&65535,i<<16>>16},h.interleave3=function(i,S,g){return i&=1023,i=(i|i<<16)&4278190335,i=(i|i<<8)&251719695,i=(i|i<<4)&3272356035,i=(i|i<<2)&1227133513,S&=1023,S=(S|S<<16)&4278190335,S=(S|S<<8)&251719695,S=(S|S<<4)&3272356035,S=(S|S<<2)&1227133513,i|=S<<1,g&=1023,g=(g|g<<16)&4278190335,g=(g|g<<8)&251719695,g=(g|g<<4)&3272356035,g=(g|g<<2)&1227133513,i|g<<2},h.deinterleave3=function(i,S){return i=i>>>S&1227133513,i=(i|i>>>2)&3272356035,i=(i|i>>>4)&251719695,i=(i|i>>>8)&4278190335,i=(i|i>>>16)&1023,i<<22>>22},h.nextCombination=function(i){var S=i|i-1;return S+1|(~S&-~S)-1>>>l(i)+1}},29620:function(u,h,a){var l=a(32420);u.exports=i;var v=1e20;function i(p,_){_||(_={});var c=_.cutoff==null?.25:_.cutoff,s=_.radius==null?8:_.radius,d=_.channel||0,f,b,x,y,C,w,R,A,E,k,L;if(ArrayBuffer.isView(p)||Array.isArray(p)){if(!_.width||!_.height)throw Error("For raw data width and height should be provided by options");f=_.width,b=_.height,y=p,_.stride?w=_.stride:w=Math.floor(p.length/f/b)}else window.HTMLCanvasElement&&p instanceof window.HTMLCanvasElement?(A=p,R=A.getContext("2d"),f=A.width,b=A.height,E=R.getImageData(0,0,f,b),y=E.data,w=4):window.CanvasRenderingContext2D&&p instanceof window.CanvasRenderingContext2D?(A=p.canvas,R=p,f=A.width,b=A.height,E=R.getImageData(0,0,f,b),y=E.data,w=4):window.ImageData&&p instanceof window.ImageData&&(E=p,f=p.width,b=p.height,y=E.data,w=4);if(x=Math.max(f,b),window.Uint8ClampedArray&&y instanceof window.Uint8ClampedArray||window.Uint8Array&&y instanceof window.Uint8Array)for(C=y,y=Array(f*b),k=0,L=C.length;k<L;k++)y[k]=C[k*w+d]/255;else if(w!==1)throw Error("Raw data can have only 1 value per pixel");var I=Array(f*b),P=Array(f*b),M=Array(x),F=Array(x),N=Array(x+1),T=Array(x);for(k=0,L=f*b;k<L;k++){var D=y[k];I[k]=D===1?0:D===0?v:Math.pow(Math.max(0,.5-D),2),P[k]=D===1?v:D===0?0:Math.pow(Math.max(0,D-.5),2)}S(I,f,b,M,F,T,N),S(P,f,b,M,F,T,N);var O=window.Float32Array?new Float32Array(f*b):new Array(f*b);for(k=0,L=f*b;k<L;k++)O[k]=l(1-((I[k]-P[k])/s+c),0,1);return O}function S(p,_,c,s,d,f,b){for(var x=0;x<_;x++){for(var y=0;y<c;y++)s[y]=p[y*_+x];for(g(s,d,f,b,c),y=0;y<c;y++)p[y*_+x]=d[y]}for(y=0;y<c;y++){for(x=0;x<_;x++)s[x]=p[y*_+x];for(g(s,d,f,b,_),x=0;x<_;x++)p[y*_+x]=Math.sqrt(d[x])}}function g(p,_,c,s,d){c[0]=0,s[0]=-v,s[1]=+v;for(var f=1,b=0;f<d;f++){for(var x=(p[f]+f*f-(p[c[b]]+c[b]*c[b]))/(2*f-2*c[b]);x<=s[b];)b--,x=(p[f]+f*f-(p[c[b]]+c[b]*c[b]))/(2*f-2*c[b]);b++,c[b]=f,s[b]=x,s[b+1]=+v}for(f=0,b=0;f<d;f++){for(;s[b+1]<f;)b++;_[f]=(f-c[b])*(f-c[b])+p[c[b]]}}},99676:function(u,h,a){var l=a(53664),v=a(57916),i=v(l("String.prototype.indexOf"));u.exports=function(g,p){var _=l(g,!!p);return typeof _=="function"&&i(g,".prototype.")>-1?v(_):_}},57916:function(u,h,a){var l=a(8844),v=a(53664),i=a(14500),S=v("%TypeError%"),g=v("%Function.prototype.apply%"),p=v("%Function.prototype.call%"),_=v("%Reflect.apply%",!0)||l.call(p,g),c=v("%Object.defineProperty%",!0),s=v("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}u.exports=function(b){if(typeof b!="function")throw new S("a function is required");var x=_(l,p,arguments);return i(x,1+s(0,b.length-(arguments.length-1)),!0)};var d=function(){return _(l,g,arguments)};c?c(u.exports,"apply",{value:d}):u.exports.apply=d},32420:function(u){u.exports=h;function h(a,l,v){return l<v?a<l?l:a>v?v:a:a<v?v:a>l?l:a}},3808:function(u,h,a){var l=a(32420);u.exports=v,u.exports.to=v,u.exports.from=i;function v(S,g){g==null&&(g=!0);var p=S[0],_=S[1],c=S[2],s=S[3];s==null&&(s=g?1:255),g&&(p*=255,_*=255,c*=255,s*=255),p=l(p,0,255)&255,_=l(_,0,255)&255,c=l(c,0,255)&255,s=l(s,0,255)&255;var d=p*16777216+(_<<16)+(c<<8)+s;return d}function i(S,g){S=+S;var p=S>>>24,_=(S&16711680)>>>16,c=(S&65280)>>>8,s=S&255;return g===!1?[p,_,c,s]:[p/255,_/255,c/255,s/255]}},17592:function(u){u.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},72160:function(u,h,a){var l=a(96824),v=a(32420),i=a(72512);u.exports=function(p,_){(_==="float"||!_)&&(_="array"),_==="uint"&&(_="uint8"),_==="uint_clamped"&&(_="uint8_clamped");var c=i(_),s=new c(4),d=_!=="uint8"&&_!=="uint8_clamped";return(!p.length||typeof p=="string")&&(p=l(p),p[0]/=255,p[1]/=255,p[2]/=255),S(p)?(s[0]=p[0],s[1]=p[1],s[2]=p[2],s[3]=p[3]!=null?p[3]:255,d&&(s[0]/=255,s[1]/=255,s[2]/=255,s[3]/=255),s):(d?(s[0]=p[0],s[1]=p[1],s[2]=p[2],s[3]=p[3]!=null?p[3]:1):(s[0]=v(Math.floor(p[0]*255),0,255),s[1]=v(Math.floor(p[1]*255),0,255),s[2]=v(Math.floor(p[2]*255),0,255),s[3]=p[3]==null?255:v(Math.floor(p[3]*255),0,255)),s)};function S(g){return!!(g instanceof Uint8Array||g instanceof Uint8ClampedArray||Array.isArray(g)&&(g[0]>1||g[0]===0)&&(g[1]>1||g[1]===0)&&(g[2]>1||g[2]===0)&&(!g[3]||g[3]>1))}},96824:function(u,h,a){var l=a(95532),v=a(53576),i=a(32420);u.exports=function(g){var p,_=l(g);return _.space?(p=Array(3),p[0]=i(_.values[0],0,255),p[1]=i(_.values[1],0,255),p[2]=i(_.values[2],0,255),_.space[0]==="h"&&(p=v.rgb(p)),p.push(i(_.alpha,0,1)),p):[]}},95532:function(u,h,a){var l=a(17592);u.exports=i;var v={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function i(S){var g,p=[],_=1,c;if(typeof S=="string")if(S=S.toLowerCase(),l[S])p=l[S].slice(),c="rgb";else if(S==="transparent")_=0,c="rgb",p=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(S)){var s=S.slice(1),d=s.length,f=d<=4;_=1,f?(p=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],d===4&&(_=parseInt(s[3]+s[3],16)/255)):(p=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],d===8&&(_=parseInt(s[6]+s[7],16)/255)),p[0]||(p[0]=0),p[1]||(p[1]=0),p[2]||(p[2]=0),c="rgb"}else if(g=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(S)){var b=g[1],x=b==="rgb",s=b.replace(/a$/,"");c=s;var d=s==="cmyk"?4:s==="gray"?1:3;p=g[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(w,R){if(/%$/.test(w))return R===d?parseFloat(w)/100:s==="rgb"?parseFloat(w)*255/100:parseFloat(w);if(s[R]==="h"){if(/deg$/.test(w))return parseFloat(w);if(v[w]!==void 0)return v[w]}return parseFloat(w)}),b===s&&p.push(1),_=x||p[d]===void 0?1:p[d],p=p.slice(0,d)}else S.length>10&&/[0-9](?:\s|\/)/.test(S)&&(p=S.match(/([0-9]+)/g).map(function(y){return parseFloat(y)}),c=S.match(/([a-z])/ig).join("").toLowerCase());else isNaN(S)?Array.isArray(S)||S.length?(p=[S[0],S[1],S[2]],c="rgb",_=S.length===4?S[3]:1):S instanceof Object&&(S.r!=null||S.red!=null||S.R!=null?(c="rgb",p=[S.r||S.red||S.R||0,S.g||S.green||S.G||0,S.b||S.blue||S.B||0]):(c="hsl",p=[S.h||S.hue||S.H||0,S.s||S.saturation||S.S||0,S.l||S.lightness||S.L||S.b||S.brightness]),_=S.a||S.alpha||S.opacity||1,S.opacity!=null&&(_/=100)):(c="rgb",p=[S>>>16,(S&65280)>>>8,S&255]);return{space:c,values:p,alpha:_}}},53576:function(u,h,a){var l=a(19336);u.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(v){var i=v[0]/360,S=v[1]/100,g=v[2]/100,p,_,c,s,d;if(S===0)return d=g*255,[d,d,d];g<.5?_=g*(1+S):_=g+S-g*S,p=2*g-_,s=[0,0,0];for(var f=0;f<3;f++)c=i+.3333333333333333*-(f-1),c<0?c++:c>1&&c--,6*c<1?d=p+(_-p)*6*c:2*c<1?d=_:3*c<2?d=p+(_-p)*(.6666666666666666-c)*6:d=p,s[f]=d*255;return s}},l.hsl=function(v){var i=v[0]/255,S=v[1]/255,g=v[2]/255,p=Math.min(i,S,g),_=Math.max(i,S,g),c=_-p,s,d,f;return _===p?s=0:i===_?s=(S-g)/c:S===_?s=2+(g-i)/c:g===_&&(s=4+(i-S)/c),s=Math.min(s*60,360),s<0&&(s+=360),f=(p+_)/2,_===p?d=0:f<=.5?d=c/(_+p):d=c/(2-_-p),[s,d*100,f*100]}},19336:function(u){u.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},36116:function(u){u.exports={AFG:"afghan",ALA:"\\b\\wland",ALB:"albania",DZA:"algeria",ASM:"^(?=.*americ).*samoa",AND:"andorra",AGO:"angola",AIA:"anguill?a",ATA:"antarctica",ATG:"antigua",ARG:"argentin",ARM:"armenia",ABW:"^(?!.*bonaire).*\\baruba",AUS:"australia",AUT:"^(?!.*hungary).*austria|\\baustri.*\\bemp",AZE:"azerbaijan",BHS:"bahamas",BHR:"bahrain",BGD:"bangladesh|^(?=.*east).*paki?stan",BRB:"barbados",BLR:"belarus|byelo",BEL:"^(?!.*luxem).*belgium",BLZ:"belize|^(?=.*british).*honduras",BEN:"benin|dahome",BMU:"bermuda",BTN:"bhutan",BOL:"bolivia",BES:"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\bbes.?islands",BIH:"herzegovina|bosnia",BWA:"botswana|bechuana",BVT:"bouvet",BRA:"brazil",IOT:"british.?indian.?ocean",BRN:"brunei",BGR:"bulgaria",BFA:"burkina|\\bfaso|upper.?volta",BDI:"burundi",CPV:"verde",KHM:"cambodia|kampuchea|khmer",CMR:"cameroon",CAN:"canada",CYM:"cayman",CAF:"\\bcentral.african.republic",TCD:"\\bchad",CHL:"\\bchile",CHN:"^(?!.*\\bmac)(?!.*\\bhong)(?!.*\\btai)(?!.*\\brep).*china|^(?=.*peo)(?=.*rep).*china",CXR:"christmas",CCK:"\\bcocos|keeling",COL:"colombia",COM:"comoro",COG:"^(?!.*\\bdem)(?!.*\\bd[\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\bcongo",COK:"\\bcook",CRI:"costa.?rica",CIV:"ivoire|ivory",HRV:"croatia",CUB:"\\bcuba",CUW:"^(?!.*bonaire).*\\bcura(c|ç)ao",CYP:"cyprus",CSK:"czechoslovakia",CZE:"^(?=.*rep).*czech|czechia|bohemia",COD:"\\bdem.*congo|congo.*\\bdem|congo.*\\bd[\\.]?r|\\bd[\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc",DNK:"denmark",DJI:"djibouti",DMA:"dominica(?!n)",DOM:"dominican.rep",ECU:"ecuador",EGY:"egypt",SLV:"el.?salvador",GNQ:"guine.*eq|eq.*guine|^(?=.*span).*guinea",ERI:"eritrea",EST:"estonia",ETH:"ethiopia|abyssinia",FLK:"falkland|malvinas",FRO:"faroe|faeroe",FJI:"fiji",FIN:"finland",FRA:"^(?!.*\\bdep)(?!.*martinique).*france|french.?republic|\\bgaul",GUF:"^(?=.*french).*guiana",PYF:"french.?polynesia|tahiti",ATF:"french.?southern",GAB:"gabon",GMB:"gambia",GEO:"^(?!.*south).*georgia",DDR:"german.?democratic.?republic|democratic.?republic.*germany|east.germany",DEU:"^(?!.*east).*germany|^(?=.*\\bfed.*\\brep).*german",GHA:"ghana|gold.?coast",GIB:"gibraltar",GRC:"greece|hellenic|hellas",GRL:"greenland",GRD:"grenada",GLP:"guadeloupe",GUM:"\\bguam",GTM:"guatemala",GGY:"guernsey",GIN:"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea",GNB:"bissau|^(?=.*portu).*guinea",GUY:"guyana|british.?guiana",HTI:"haiti",HMD:"heard.*mcdonald",VAT:"holy.?see|vatican|papal.?st",HND:"^(?!.*brit).*honduras",HKG:"hong.?kong",HUN:"^(?!.*austr).*hungary",ISL:"iceland",IND:"india(?!.*ocea)",IDN:"indonesia",IRN:"\\biran|persia",IRQ:"\\biraq|mesopotamia",IRL:"(^ireland)|(^republic.*ireland)",IMN:"^(?=.*isle).*\\bman",ISR:"israel",ITA:"italy",JAM:"jamaica",JPN:"japan",JEY:"jersey",JOR:"jordan",KAZ:"kazak",KEN:"kenya|british.?east.?africa|east.?africa.?prot",KIR:"kiribati",PRK:"^(?=.*democrat|people|north|d.*p.*.r).*\\bkorea|dprk|korea.*(d.*p.*r)",KWT:"kuwait",KGZ:"kyrgyz|kirghiz",LAO:"\\blaos?\\b",LVA:"latvia",LBN:"lebanon",LSO:"lesotho|basuto",LBR:"liberia",LBY:"libya",LIE:"liechtenstein",LTU:"lithuania",LUX:"^(?!.*belg).*luxem",MAC:"maca(o|u)",MDG:"madagascar|malagasy",MWI:"malawi|nyasa",MYS:"malaysia",MDV:"maldive",MLI:"\\bmali\\b",MLT:"\\bmalta",MHL:"marshall",MTQ:"martinique",MRT:"mauritania",MUS:"mauritius",MYT:"\\bmayotte",MEX:"\\bmexic",FSM:"fed.*micronesia|micronesia.*fed",MCO:"monaco",MNG:"mongolia",MNE:"^(?!.*serbia).*montenegro",MSR:"montserrat",MAR:"morocco|\\bmaroc",MOZ:"mozambique",MMR:"myanmar|burma",NAM:"namibia",NRU:"nauru",NPL:"nepal",NLD:"^(?!.*\\bant)(?!.*\\bcarib).*netherlands",ANT:"^(?=.*\\bant).*(nether|dutch)",NCL:"new.?caledonia",NZL:"new.?zealand",NIC:"nicaragua",NER:"\\bniger(?!ia)",NGA:"nigeria",NIU:"niue",NFK:"norfolk",MNP:"mariana",NOR:"norway",OMN:"\\boman|trucial",PAK:"^(?!.*east).*paki?stan",PLW:"palau",PSE:"palestin|\\bgaza|west.?bank",PAN:"panama",PNG:"papua|new.?guinea",PRY:"paraguay",PER:"peru",PHL:"philippines",PCN:"pitcairn",POL:"poland",PRT:"portugal",PRI:"puerto.?rico",QAT:"qatar",KOR:"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\bkorea(?!.*d.*p.*r)",MDA:"moldov|b(a|e)ssarabia",REU:"r(e|é)union",ROU:"r(o|u|ou)mania",RUS:"\\brussia|soviet.?union|u\\.?s\\.?s\\.?r|socialist.?republics",RWA:"rwanda",BLM:"barth(e|é)lemy",SHN:"helena",KNA:"kitts|\\bnevis",LCA:"\\blucia",MAF:"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)",SPM:"miquelon",VCT:"vincent",WSM:"^(?!.*amer).*samoa",SMR:"san.?marino",STP:"\\bs(a|ã)o.?tom(e|é)",SAU:"\\bsa\\w*.?arabia",SEN:"senegal",SRB:"^(?!.*monte).*serbia",SYC:"seychell",SLE:"sierra",SGP:"singapore",SXM:"^(?!.*martin)(?!.*saba).*maarten",SVK:"^(?!.*cze).*slovak",SVN:"slovenia",SLB:"solomon",SOM:"somali",ZAF:"south.africa|s\\\\..?africa",SGS:"south.?georgia|sandwich",SSD:"\\bs\\w*.?sudan",ESP:"spain",LKA:"sri.?lanka|ceylon",SDN:"^(?!.*\\bs(?!u)).*sudan",SUR:"surinam|dutch.?guiana",SJM:"svalbard",SWZ:"swaziland",SWE:"sweden",CHE:"switz|swiss",SYR:"syria",TWN:"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china",TJK:"tajik",THA:"thailand|\\bsiam",MKD:"macedonia|fyrom",TLS:"^(?=.*leste).*timor|^(?=.*east).*timor",TGO:"togo",TKL:"tokelau",TON:"tonga",TTO:"trinidad|tobago",TUN:"tunisia",TUR:"turkey",TKM:"turkmen",TCA:"turks",TUV:"tuvalu",UGA:"uganda",UKR:"ukrain",ARE:"emirates|^u\\.?a\\.?e\\.?$|united.?arab.?em",GBR:"united.?kingdom|britain|^u\\.?k\\.?$",TZA:"tanzania",USA:"united.?states\\b(?!.*islands)|\\bu\\.?s\\.?a\\.?\\b|^\\s*u\\.?s\\.?\\b(?!.*islands)",UMI:"minor.?outlying.?is",URY:"uruguay",UZB:"uzbek",VUT:"vanuatu|new.?hebrides",VEN:"venezuela",VNM:"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam",VGB:"^(?=.*\\bu\\.?\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin",VIR:"^(?=.*\\bu\\.?\\s?s).*virgin|^(?=.*states).*virgin",WLF:"futuna|wallis",ESH:"western.sahara",YEM:"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\bp\\.?d\\.?r).*yemen",YMD:"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\bp\\.?d\\.?r).*yemen",YUG:"yugoslavia",ZMB:"zambia|northern.?rhodesia",EAZ:"zanzibar",ZWE:"zimbabwe|^(?!.*northern).*rhodesia"}},42771:function(u,h,a){u.exports={parse:a(46416),stringify:a(49395)}},8744:function(u,h,a){var l=a(30584);u.exports={isSize:function(i){return/^[\d\.]/.test(i)||i.indexOf("/")!==-1||l.indexOf(i)!==-1}}},46416:function(u,h,a){var l=a(92384),v=a(68194),i=a(3748),S=a(2904),g=a(47916),p=a(7294),_=a(39956),c=a(8744).isSize;u.exports=d;var s=d.cache={};function d(b){if(typeof b!="string")throw new Error("Font argument must be a string.");if(s[b])return s[b];if(b==="")throw new Error("Cannot parse an empty string.");if(i.indexOf(b)!==-1)return s[b]={system:b};for(var x={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},y=_(b,/\s+/),C;C=y.shift();){if(v.indexOf(C)!==-1)return["style","variant","weight","stretch"].forEach(function(R){x[R]=C}),s[b]=x;if(g.indexOf(C)!==-1){x.style=C;continue}if(C==="normal"||C==="small-caps"){x.variant=C;continue}if(p.indexOf(C)!==-1){x.stretch=C;continue}if(S.indexOf(C)!==-1){x.weight=C;continue}if(c(C)){var w=_(C,"/");if(x.size=w[0],w[1]!=null?x.lineHeight=f(w[1]):y[0]==="/"&&(y.shift(),x.lineHeight=f(y.shift())),!y.length)throw new Error("Missing required font-family.");return x.family=_(y.join(" "),/\s*,\s*/).map(l),s[b]=x}throw new Error("Unknown or unsupported font token: "+C)}throw new Error("Missing required font-size.")}function f(b){var x=parseFloat(b);return x.toString()===b?x:b}},49395:function(u,h,a){var l=a(55616),v=a(8744).isSize,i=b(a(68194)),S=b(a(3748)),g=b(a(2904)),p=b(a(47916)),_=b(a(7294)),c={normal:1,"small-caps":1},s={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},d={style:"normal",variant:"normal",weight:"normal",stretch:"normal",size:"1rem",lineHeight:"normal",family:"serif"};u.exports=function(y){if(y=l(y,{style:"style fontstyle fontStyle font-style slope distinction",variant:"variant font-variant fontVariant fontvariant var capitalization",weight:"weight w font-weight fontWeight fontweight",stretch:"stretch font-stretch fontStretch fontstretch width",size:"size s font-size fontSize fontsize height em emSize",lineHeight:"lh line-height lineHeight lineheight leading",family:"font family fontFamily font-family fontfamily type typeface face",system:"system reserved default global"}),y.system)return y.system&&f(y.system,S),y.system;if(f(y.style,p),f(y.variant,c),f(y.weight,g),f(y.stretch,_),y.size==null&&(y.size=d.size),typeof y.size=="number"&&(y.size+="px"),!v)throw Error("Bad size value `"+y.size+"`");y.family||(y.family=d.family),Array.isArray(y.family)&&(y.family.length||(y.family=[d.family]),y.family=y.family.map(function(w){return s[w]?w:'"'+w+'"'}).join(", "));var C=[];return C.push(y.style),y.variant!==y.style&&C.push(y.variant),y.weight!==y.variant&&y.weight!==y.style&&C.push(y.weight),y.stretch!==y.weight&&y.stretch!==y.variant&&y.stretch!==y.style&&C.push(y.stretch),C.push(y.size+(y.lineHeight==null||y.lineHeight==="normal"||y.lineHeight+""=="1"?"":"/"+y.lineHeight)),C.push(y.family),C.filter(Boolean).join(" ")};function f(x,y){if(x&&!y[x]&&!i[x])throw Error("Unknown keyword `"+x+"`");return x}function b(x){for(var y={},C=0;C<x.length;C++)y[x[C]]=1;return y}},27940:function(u,h,a){var l=a(81680),v=a(18496),i=a(87396),S=a(95920),g=a(50868),p=a(84323),_=Function.prototype.bind,c=Object.defineProperty,s=Object.prototype.hasOwnProperty,d;d=function(f,b,x){var y=v(b)&&i(b.value),C;return C=S(b),delete C.writable,delete C.value,C.get=function(){return!x.overwriteDefinition&&s.call(this,f)?y:(b.value=_.call(y,x.resolveContext?x.resolveContext(this):this),c(this,f,b),this[f])},C},u.exports=function(f){var b=g(arguments[1]);return l(b.resolveContext)&&i(b.resolveContext),p(f,function(x,y){return d(y,x,b)})}},21092:function(u,h,a){var l=a(81680),v=a(85488),i=a(38452),S=a(50868),g=a(71056),p=u.exports=function(_,c){var s,d,f,b,x;return arguments.length<2||typeof _!="string"?(b=c,c=_,_=null):b=arguments[2],l(_)?(s=g.call(_,"c"),d=g.call(_,"e"),f=g.call(_,"w")):(s=f=!0,d=!1),x={value:c,configurable:s,enumerable:d,writable:f},b?i(S(b),x):x};p.gs=function(_,c,s){var d,f,b,x;return typeof _!="string"?(b=s,s=c,c=_,_=null):b=arguments[3],l(c)?v(c)?l(s)?v(s)||(b=s,s=void 0):s=void 0:(b=c,c=s=void 0):c=void 0,l(_)?(d=g.call(_,"c"),f=g.call(_,"e")):(d=!0,f=!1),x={get:c,set:s,configurable:d,enumerable:f},b?i(S(b),x):x}},84706:function(u,h,a){a.d(h,{XE:function(){return l},kv:function(){return S},mo:function(){return p},Uf:function(){return _},SY:function(){return c},ik:function(){return s},oh:function(){return d}});function l(f,b){return f<b?-1:f>b?1:f>=b?0:NaN}function v(f){return f.length===1&&(f=i(f)),{left:function(b,x,y,C){for(y==null&&(y=0),C==null&&(C=b.length);y<C;){var w=y+C>>>1;f(b[w],x)<0?y=w+1:C=w}return y},right:function(b,x,y,C){for(y==null&&(y=0),C==null&&(C=b.length);y<C;){var w=y+C>>>1;f(b[w],x)>0?C=w:y=w+1}return y}}}function i(f){return function(b,x){return l(f(b),x)}}v(l);function S(f,b){var x=f.length,y=-1,C,w;if(b==null){for(;++y<x;)if((C=f[y])!=null&&C>=C)for(w=C;++y<x;)(C=f[y])!=null&&C>w&&(w=C)}else for(;++y<x;)if((C=b(f[y],y,f))!=null&&C>=C)for(w=C;++y<x;)(C=b(f[y],y,f))!=null&&C>w&&(w=C);return w}function g(f){return f===null?NaN:+f}function p(f,b){var x=f.length,y=x,C=-1,w,R=0;if(b==null)for(;++C<x;)isNaN(w=g(f[C]))?--y:R+=w;else for(;++C<x;)isNaN(w=g(b(f[C],C,f)))?--y:R+=w;if(y)return R/y}function _(f){for(var b=f.length,x,y=-1,C=0,w,R;++y<b;)C+=f[y].length;for(w=new Array(C);--b>=0;)for(R=f[b],x=R.length;--x>=0;)w[--C]=R[x];return w}function c(f,b){var x=f.length,y=-1,C,w;if(b==null){for(;++y<x;)if((C=f[y])!=null&&C>=C)for(w=C;++y<x;)(C=f[y])!=null&&w>C&&(w=C)}else for(;++y<x;)if((C=b(f[y],y,f))!=null&&C>=C)for(w=C;++y<x;)(C=b(f[y],y,f))!=null&&w>C&&(w=C);return w}function s(f,b,x){f=+f,b=+b,x=(C=arguments.length)<2?(b=f,f=0,1):C<3?1:+x;for(var y=-1,C=Math.max(0,Math.ceil((b-f)/x))|0,w=new Array(C);++y<C;)w[y]=f+y*x;return w}function d(f,b){var x=f.length,y=-1,C,w=0;if(b==null)for(;++y<x;)(C=+f[y])&&(w+=C);else for(;++y<x;)(C=+b(f[y],y,f))&&(w+=C);return w}},34712:function(u,h,a){a.d(h,{kH:function(){return S},UJ:function(){return g}});var l="$";function v(){}v.prototype=i.prototype={constructor:v,has:function(b){return l+b in this},get:function(b){return this[l+b]},set:function(b,x){return this[l+b]=x,this},remove:function(b){var x=l+b;return x in this&&delete this[x]},clear:function(){for(var b in this)b[0]===l&&delete this[b]},keys:function(){var b=[];for(var x in this)x[0]===l&&b.push(x.slice(1));return b},values:function(){var b=[];for(var x in this)x[0]===l&&b.push(this[x]);return b},entries:function(){var b=[];for(var x in this)x[0]===l&&b.push({key:x.slice(1),value:this[x]});return b},size:function(){var b=0;for(var x in this)x[0]===l&&++b;return b},empty:function(){for(var b in this)if(b[0]===l)return!1;return!0},each:function(b){for(var x in this)x[0]===l&&b(this[x],x.slice(1),this)}};function i(b,x){var y=new v;if(b instanceof v)b.each(function(E,k){y.set(k,E)});else if(Array.isArray(b)){var C=-1,w=b.length,R;if(x==null)for(;++C<w;)y.set(C,b[C]);else for(;++C<w;)y.set(x(R=b[C],C,b),R)}else if(b)for(var A in b)y.set(A,b[A]);return y}var S=i;function g(){var b=[],x=[],y,C,w;function R(E,k,L,I){if(k>=b.length)return y!=null&&E.sort(y),C!=null?C(E):E;for(var P=-1,M=E.length,F=b[k++],N,T,D=S(),O,U=L();++P<M;)(O=D.get(N=F(T=E[P])+""))?O.push(T):D.set(N,[T]);return D.each(function(B,Y){I(U,Y,R(B,k,L,I))}),U}function A(E,k){if(++k>b.length)return E;var L,I=x[k-1];return C!=null&&k>=b.length?L=E.entries():(L=[],E.each(function(P,M){L.push({key:M,values:A(P,k)})})),I!=null?L.sort(function(P,M){return I(P.key,M.key)}):L}return w={object:function(E){return R(E,0,p,_)},map:function(E){return R(E,0,c,s)},entries:function(E){return A(R(E,0,c,s),0)},key:function(E){return b.push(E),w},sortKeys:function(E){return x[b.length-1]=E,w},sortValues:function(E){return y=E,w},rollup:function(E){return C=E,w}}}function p(){return{}}function _(b,x,y){b[x]=y}function c(){return S()}function s(b,x,y){b.set(x,y)}function d(){}var f=S.prototype;d.prototype={constructor:d,has:f.has,add:function(b){return b+="",this[l+b]=b,this},remove:f.remove,clear:f.clear,values:f.keys,size:f.size,empty:f.empty,each:f.each}},49812:function(u,h,a){a.r(h),a.d(h,{forceCenter:function(){return l},forceCollide:function(){return D},forceLink:function(){return Y},forceManyBody:function(){return We},forceRadial:function(){return lt},forceSimulation:function(){return Fe},forceX:function(){return ht},forceY:function(){return tt}});function l(et,pt){var vt;et==null&&(et=0),pt==null&&(pt=0);function _t(){var bt,Rt=vt.length,ct,Ve=0,Qe=0;for(bt=0;bt<Rt;++bt)ct=vt[bt],Ve+=ct.x,Qe+=ct.y;for(Ve=Ve/Rt-et,Qe=Qe/Rt-pt,bt=0;bt<Rt;++bt)ct=vt[bt],ct.x-=Ve,ct.y-=Qe}return _t.initialize=function(bt){vt=bt},_t.x=function(bt){return arguments.length?(et=+bt,_t):et},_t.y=function(bt){return arguments.length?(pt=+bt,_t):pt},_t}function v(et){return function(){return et}}function i(){return(Math.random()-.5)*1e-6}function S(et){var pt=+this._x.call(null,et),vt=+this._y.call(null,et);return g(this.cover(pt,vt),pt,vt,et)}function g(et,pt,vt,_t){if(isNaN(pt)||isNaN(vt))return et;var bt,Rt=et._root,ct={data:_t},Ve=et._x0,Qe=et._y0,rt=et._x1,qe=et._y1,He,Ce,Se,Le,Ne,je,Je,ut;if(!Rt)return et._root=ct,et;for(;Rt.length;)if((Ne=pt>=(He=(Ve+rt)/2))?Ve=He:rt=He,(je=vt>=(Ce=(Qe+qe)/2))?Qe=Ce:qe=Ce,bt=Rt,!(Rt=Rt[Je=je<<1|Ne]))return bt[Je]=ct,et;if(Se=+et._x.call(null,Rt.data),Le=+et._y.call(null,Rt.data),pt===Se&&vt===Le)return ct.next=Rt,bt?bt[Je]=ct:et._root=ct,et;do bt=bt?bt[Je]=new Array(4):et._root=new Array(4),(Ne=pt>=(He=(Ve+rt)/2))?Ve=He:rt=He,(je=vt>=(Ce=(Qe+qe)/2))?Qe=Ce:qe=Ce;while((Je=je<<1|Ne)===(ut=(Le>=Ce)<<1|Se>=He));return bt[ut]=Rt,bt[Je]=ct,et}function p(et){var pt,vt,_t=et.length,bt,Rt,ct=new Array(_t),Ve=new Array(_t),Qe=1/0,rt=1/0,qe=-1/0,He=-1/0;for(vt=0;vt<_t;++vt)isNaN(bt=+this._x.call(null,pt=et[vt]))||isNaN(Rt=+this._y.call(null,pt))||(ct[vt]=bt,Ve[vt]=Rt,bt<Qe&&(Qe=bt),bt>qe&&(qe=bt),Rt<rt&&(rt=Rt),Rt>He&&(He=Rt));if(Qe>qe||rt>He)return this;for(this.cover(Qe,rt).cover(qe,He),vt=0;vt<_t;++vt)g(this,ct[vt],Ve[vt],et[vt]);return this}function _(et,pt){if(isNaN(et=+et)||isNaN(pt=+pt))return this;var vt=this._x0,_t=this._y0,bt=this._x1,Rt=this._y1;if(isNaN(vt))bt=(vt=Math.floor(et))+1,Rt=(_t=Math.floor(pt))+1;else{for(var ct=bt-vt,Ve=this._root,Qe,rt;vt>et||et>=bt||_t>pt||pt>=Rt;)switch(rt=(pt<_t)<<1|et<vt,Qe=new Array(4),Qe[rt]=Ve,Ve=Qe,ct*=2,rt){case 0:bt=vt+ct,Rt=_t+ct;break;case 1:vt=bt-ct,Rt=_t+ct;break;case 2:bt=vt+ct,_t=Rt-ct;break;case 3:vt=bt-ct,_t=Rt-ct;break}this._root&&this._root.length&&(this._root=Ve)}return this._x0=vt,this._y0=_t,this._x1=bt,this._y1=Rt,this}function c(){var et=[];return this.visit(function(pt){if(!pt.length)do et.push(pt.data);while(pt=pt.next)}),et}function s(et){return arguments.length?this.cover(+et[0][0],+et[0][1]).cover(+et[1][0],+et[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}function d(et,pt,vt,_t,bt){this.node=et,this.x0=pt,this.y0=vt,this.x1=_t,this.y1=bt}function f(et,pt,vt){var _t,bt=this._x0,Rt=this._y0,ct,Ve,Qe,rt,qe=this._x1,He=this._y1,Ce=[],Se=this._root,Le,Ne;for(Se&&Ce.push(new d(Se,bt,Rt,qe,He)),vt==null?vt=1/0:(bt=et-vt,Rt=pt-vt,qe=et+vt,He=pt+vt,vt*=vt);Le=Ce.pop();)if(!(!(Se=Le.node)||(ct=Le.x0)>qe||(Ve=Le.y0)>He||(Qe=Le.x1)<bt||(rt=Le.y1)<Rt))if(Se.length){var je=(ct+Qe)/2,Je=(Ve+rt)/2;Ce.push(new d(Se[3],je,Je,Qe,rt),new d(Se[2],ct,Je,je,rt),new d(Se[1],je,Ve,Qe,Je),new d(Se[0],ct,Ve,je,Je)),(Ne=(pt>=Je)<<1|et>=je)&&(Le=Ce[Ce.length-1],Ce[Ce.length-1]=Ce[Ce.length-1-Ne],Ce[Ce.length-1-Ne]=Le)}else{var ut=et-+this._x.call(null,Se.data),Et=pt-+this._y.call(null,Se.data),wt=ut*ut+Et*Et;if(wt<vt){var nr=Math.sqrt(vt=wt);bt=et-nr,Rt=pt-nr,qe=et+nr,He=pt+nr,_t=Se.data}}return _t}function b(et){if(isNaN(qe=+this._x.call(null,et))||isNaN(He=+this._y.call(null,et)))return this;var pt,vt=this._root,_t,bt,Rt,ct=this._x0,Ve=this._y0,Qe=this._x1,rt=this._y1,qe,He,Ce,Se,Le,Ne,je,Je;if(!vt)return this;if(vt.length)for(;;){if((Le=qe>=(Ce=(ct+Qe)/2))?ct=Ce:Qe=Ce,(Ne=He>=(Se=(Ve+rt)/2))?Ve=Se:rt=Se,pt=vt,!(vt=vt[je=Ne<<1|Le]))return this;if(!vt.length)break;(pt[je+1&3]||pt[je+2&3]||pt[je+3&3])&&(_t=pt,Je=je)}for(;vt.data!==et;)if(bt=vt,!(vt=vt.next))return this;return(Rt=vt.next)&&delete vt.next,bt?(Rt?bt.next=Rt:delete bt.next,this):pt?(Rt?pt[je]=Rt:delete pt[je],(vt=pt[0]||pt[1]||pt[2]||pt[3])&&vt===(pt[3]||pt[2]||pt[1]||pt[0])&&!vt.length&&(_t?_t[Je]=vt:this._root=vt),this):(this._root=Rt,this)}function x(et){for(var pt=0,vt=et.length;pt<vt;++pt)this.remove(et[pt]);return this}function y(){return this._root}function C(){var et=0;return this.visit(function(pt){if(!pt.length)do++et;while(pt=pt.next)}),et}function w(et){var pt=[],vt,_t=this._root,bt,Rt,ct,Ve,Qe;for(_t&&pt.push(new d(_t,this._x0,this._y0,this._x1,this._y1));vt=pt.pop();)if(!et(_t=vt.node,Rt=vt.x0,ct=vt.y0,Ve=vt.x1,Qe=vt.y1)&&_t.length){var rt=(Rt+Ve)/2,qe=(ct+Qe)/2;(bt=_t[3])&&pt.push(new d(bt,rt,qe,Ve,Qe)),(bt=_t[2])&&pt.push(new d(bt,Rt,qe,rt,Qe)),(bt=_t[1])&&pt.push(new d(bt,rt,ct,Ve,qe)),(bt=_t[0])&&pt.push(new d(bt,Rt,ct,rt,qe))}return this}function R(et){var pt=[],vt=[],_t;for(this._root&&pt.push(new d(this._root,this._x0,this._y0,this._x1,this._y1));_t=pt.pop();){var bt=_t.node;if(bt.length){var Rt,ct=_t.x0,Ve=_t.y0,Qe=_t.x1,rt=_t.y1,qe=(ct+Qe)/2,He=(Ve+rt)/2;(Rt=bt[0])&&pt.push(new d(Rt,ct,Ve,qe,He)),(Rt=bt[1])&&pt.push(new d(Rt,qe,Ve,Qe,He)),(Rt=bt[2])&&pt.push(new d(Rt,ct,He,qe,rt)),(Rt=bt[3])&&pt.push(new d(Rt,qe,He,Qe,rt))}vt.push(_t)}for(;_t=vt.pop();)et(_t.node,_t.x0,_t.y0,_t.x1,_t.y1);return this}function A(et){return et[0]}function E(et){return arguments.length?(this._x=et,this):this._x}function k(et){return et[1]}function L(et){return arguments.length?(this._y=et,this):this._y}function I(et,pt,vt){var _t=new P(pt??A,vt??k,NaN,NaN,NaN,NaN);return et==null?_t:_t.addAll(et)}function P(et,pt,vt,_t,bt,Rt){this._x=et,this._y=pt,this._x0=vt,this._y0=_t,this._x1=bt,this._y1=Rt,this._root=void 0}function M(et){for(var pt={data:et.data},vt=pt;et=et.next;)vt=vt.next={data:et.data};return pt}var F=I.prototype=P.prototype;F.copy=function(){var et=new P(this._x,this._y,this._x0,this._y0,this._x1,this._y1),pt=this._root,vt,_t;if(!pt)return et;if(!pt.length)return et._root=M(pt),et;for(vt=[{source:pt,target:et._root=new Array(4)}];pt=vt.pop();)for(var bt=0;bt<4;++bt)(_t=pt.source[bt])&&(_t.length?vt.push({source:_t,target:pt.target[bt]=new Array(4)}):pt.target[bt]=M(_t));return et},F.add=S,F.addAll=p,F.cover=_,F.data=c,F.extent=s,F.find=f,F.remove=b,F.removeAll=x,F.root=y,F.size=C,F.visit=w,F.visitAfter=R,F.x=E,F.y=L;function N(et){return et.x+et.vx}function T(et){return et.y+et.vy}function D(et){var pt,vt,_t=1,bt=1;typeof et!="function"&&(et=v(et==null?1:+et));function Rt(){for(var Qe,rt=pt.length,qe,He,Ce,Se,Le,Ne,je=0;je<bt;++je)for(qe=I(pt,N,T).visitAfter(ct),Qe=0;Qe<rt;++Qe)He=pt[Qe],Le=vt[He.index],Ne=Le*Le,Ce=He.x+He.vx,Se=He.y+He.vy,qe.visit(Je);function Je(ut,Et,wt,nr,ir){var It=ut.data,Gt=ut.r,cr=Le+Gt;if(It){if(It.index>He.index){var Pr=Ce-It.x-It.vx,Ct=Se-It.y-It.vy,or=Pr*Pr+Ct*Ct;or<cr*cr&&(Pr===0&&(Pr=i(),or+=Pr*Pr),Ct===0&&(Ct=i(),or+=Ct*Ct),or=(cr-(or=Math.sqrt(or)))/or*_t,He.vx+=(Pr*=or)*(cr=(Gt*=Gt)/(Ne+Gt)),He.vy+=(Ct*=or)*cr,It.vx-=Pr*(cr=1-cr),It.vy-=Ct*cr)}return}return Et>Ce+cr||nr<Ce-cr||wt>Se+cr||ir<Se-cr}}function ct(Qe){if(Qe.data)return Qe.r=vt[Qe.data.index];for(var rt=Qe.r=0;rt<4;++rt)Qe[rt]&&Qe[rt].r>Qe.r&&(Qe.r=Qe[rt].r)}function Ve(){if(pt){var Qe,rt=pt.length,qe;for(vt=new Array(rt),Qe=0;Qe<rt;++Qe)qe=pt[Qe],vt[qe.index]=+et(qe,Qe,pt)}}return Rt.initialize=function(Qe){pt=Qe,Ve()},Rt.iterations=function(Qe){return arguments.length?(bt=+Qe,Rt):bt},Rt.strength=function(Qe){return arguments.length?(_t=+Qe,Rt):_t},Rt.radius=function(Qe){return arguments.length?(et=typeof Qe=="function"?Qe:v(+Qe),Ve(),Rt):et},Rt}var O=a(34712);function U(et){return et.index}function B(et,pt){var vt=et.get(pt);if(!vt)throw new Error("missing: "+pt);return vt}function Y(et){var pt=U,vt=qe,_t,bt=v(30),Rt,ct,Ve,Qe,rt=1;et==null&&(et=[]);function qe(Ne){return 1/Math.min(Ve[Ne.source.index],Ve[Ne.target.index])}function He(Ne){for(var je=0,Je=et.length;je<rt;++je)for(var ut=0,Et,wt,nr,ir,It,Gt,cr;ut<Je;++ut)Et=et[ut],wt=Et.source,nr=Et.target,ir=nr.x+nr.vx-wt.x-wt.vx||i(),It=nr.y+nr.vy-wt.y-wt.vy||i(),Gt=Math.sqrt(ir*ir+It*It),Gt=(Gt-Rt[ut])/Gt*Ne*_t[ut],ir*=Gt,It*=Gt,nr.vx-=ir*(cr=Qe[ut]),nr.vy-=It*cr,wt.vx+=ir*(cr=1-cr),wt.vy+=It*cr}function Ce(){if(ct){var Ne,je=ct.length,Je=et.length,ut=(0,O.kH)(ct,pt),Et;for(Ne=0,Ve=new Array(je);Ne<Je;++Ne)Et=et[Ne],Et.index=Ne,typeof Et.source!="object"&&(Et.source=B(ut,Et.source)),typeof Et.target!="object"&&(Et.target=B(ut,Et.target)),Ve[Et.source.index]=(Ve[Et.source.index]||0)+1,Ve[Et.target.index]=(Ve[Et.target.index]||0)+1;for(Ne=0,Qe=new Array(Je);Ne<Je;++Ne)Et=et[Ne],Qe[Ne]=Ve[Et.source.index]/(Ve[Et.source.index]+Ve[Et.target.index]);_t=new Array(Je),Se(),Rt=new Array(Je),Le()}}function Se(){if(ct)for(var Ne=0,je=et.length;Ne<je;++Ne)_t[Ne]=+vt(et[Ne],Ne,et)}function Le(){if(ct)for(var Ne=0,je=et.length;Ne<je;++Ne)Rt[Ne]=+bt(et[Ne],Ne,et)}return He.initialize=function(Ne){ct=Ne,Ce()},He.links=function(Ne){return arguments.length?(et=Ne,Ce(),He):et},He.id=function(Ne){return arguments.length?(pt=Ne,He):pt},He.iterations=function(Ne){return arguments.length?(rt=+Ne,He):rt},He.strength=function(Ne){return arguments.length?(vt=typeof Ne=="function"?Ne:v(+Ne),Se(),He):vt},He.distance=function(Ne){return arguments.length?(bt=typeof Ne=="function"?Ne:v(+Ne),Le(),He):bt},He}var z={value:function(){}};function V(){for(var et=0,pt=arguments.length,vt={},_t;et<pt;++et){if(!(_t=arguments[et]+"")||_t in vt||/[\s.]/.test(_t))throw new Error("illegal type: "+_t);vt[_t]=[]}return new j(vt)}function j(et){this._=et}function G(et,pt){return et.trim().split(/^|\s+/).map(function(vt){var _t="",bt=vt.indexOf(".");if(bt>=0&&(_t=vt.slice(bt+1),vt=vt.slice(0,bt)),vt&&!pt.hasOwnProperty(vt))throw new Error("unknown type: "+vt);return{type:vt,name:_t}})}j.prototype=V.prototype={constructor:j,on:function(et,pt){var vt=this._,_t=G(et+"",vt),bt,Rt=-1,ct=_t.length;if(arguments.length<2){for(;++Rt<ct;)if((bt=(et=_t[Rt]).type)&&(bt=W(vt[bt],et.name)))return bt;return}if(pt!=null&&typeof pt!="function")throw new Error("invalid callback: "+pt);for(;++Rt<ct;)if(bt=(et=_t[Rt]).type)vt[bt]=X(vt[bt],et.name,pt);else if(pt==null)for(bt in vt)vt[bt]=X(vt[bt],et.name,null);return this},copy:function(){var et={},pt=this._;for(var vt in pt)et[vt]=pt[vt].slice();return new j(et)},call:function(et,pt){if((bt=arguments.length-2)>0)for(var vt=new Array(bt),_t=0,bt,Rt;_t<bt;++_t)vt[_t]=arguments[_t+2];if(!this._.hasOwnProperty(et))throw new Error("unknown type: "+et);for(Rt=this._[et],_t=0,bt=Rt.length;_t<bt;++_t)Rt[_t].value.apply(pt,vt)},apply:function(et,pt,vt){if(!this._.hasOwnProperty(et))throw new Error("unknown type: "+et);for(var _t=this._[et],bt=0,Rt=_t.length;bt<Rt;++bt)_t[bt].value.apply(pt,vt)}};function W(et,pt){for(var vt=0,_t=et.length,bt;vt<_t;++vt)if((bt=et[vt]).name===pt)return bt.value}function X(et,pt,vt){for(var _t=0,bt=et.length;_t<bt;++_t)if(et[_t].name===pt){et[_t]=z,et=et.slice(0,_t).concat(et.slice(_t+1));break}return vt!=null&&et.push({name:pt,value:vt}),et}var Q=V,ae=0,ie=0,he=0,J=1e3,Z,le,K=0,te=0,ce=0,re=typeof performance=="object"&&performance.now?performance:Date,ee=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(et){setTimeout(et,17)};function de(){return te||(ee(oe),te=re.now()+ce)}function oe(){te=0}function fe(){this._call=this._time=this._next=null}fe.prototype=me.prototype={constructor:fe,restart:function(et,pt,vt){if(typeof et!="function")throw new TypeError("callback is not a function");vt=(vt==null?de():+vt)+(pt==null?0:+pt),!this._next&&le!==this&&(le?le._next=this:Z=this,le=this),this._call=et,this._time=vt,Re()},stop:function(){this._call&&(this._call=null,this._time=1/0,Re())}};function me(et,pt,vt){var _t=new fe;return _t.restart(et,pt,vt),_t}function Te(){de(),++ae;for(var et=Z,pt;et;)(pt=te-et._time)>=0&&et._call.call(null,pt),et=et._next;--ae}function we(){te=(K=re.now())+ce,ae=ie=0;try{Te()}finally{ae=0,Ae(),te=0}}function Be(){var et=re.now(),pt=et-K;pt>J&&(ce-=pt,K=et)}function Ae(){for(var et,pt=Z,vt,_t=1/0;pt;)pt._call?(_t>pt._time&&(_t=pt._time),et=pt,pt=pt._next):(vt=pt._next,pt._next=null,pt=et?et._next=vt:Z=vt);le=et,Re(_t)}function Re(et){if(!ae){ie&&(ie=clearTimeout(ie));var pt=et-te;pt>24?(et<1/0&&(ie=setTimeout(we,et-re.now()-ce)),he&&(he=clearInterval(he))):(he||(K=re.now(),he=setInterval(Be,J)),ae=1,ee(we))}}function be(et){return et.x}function Pe(et){return et.y}var Ke=10,ze=Math.PI*(3-Math.sqrt(5));function Fe(et){var pt,vt=1,_t=.001,bt=1-Math.pow(_t,1/300),Rt=0,ct=.6,Ve=(0,O.kH)(),Qe=me(qe),rt=Q("tick","end");et==null&&(et=[]);function qe(){He(),rt.call("tick",pt),vt<_t&&(Qe.stop(),rt.call("end",pt))}function He(Le){var Ne,je=et.length,Je;Le===void 0&&(Le=1);for(var ut=0;ut<Le;++ut)for(vt+=(Rt-vt)*bt,Ve.each(function(Et){Et(vt)}),Ne=0;Ne<je;++Ne)Je=et[Ne],Je.fx==null?Je.x+=Je.vx*=ct:(Je.x=Je.fx,Je.vx=0),Je.fy==null?Je.y+=Je.vy*=ct:(Je.y=Je.fy,Je.vy=0);return pt}function Ce(){for(var Le=0,Ne=et.length,je;Le<Ne;++Le){if(je=et[Le],je.index=Le,je.fx!=null&&(je.x=je.fx),je.fy!=null&&(je.y=je.fy),isNaN(je.x)||isNaN(je.y)){var Je=Ke*Math.sqrt(Le),ut=Le*ze;je.x=Je*Math.cos(ut),je.y=Je*Math.sin(ut)}(isNaN(je.vx)||isNaN(je.vy))&&(je.vx=je.vy=0)}}function Se(Le){return Le.initialize&&Le.initialize(et),Le}return Ce(),pt={tick:He,restart:function(){return Qe.restart(qe),pt},stop:function(){return Qe.stop(),pt},nodes:function(Le){return arguments.length?(et=Le,Ce(),Ve.each(Se),pt):et},alpha:function(Le){return arguments.length?(vt=+Le,pt):vt},alphaMin:function(Le){return arguments.length?(_t=+Le,pt):_t},alphaDecay:function(Le){return arguments.length?(bt=+Le,pt):+bt},alphaTarget:function(Le){return arguments.length?(Rt=+Le,pt):Rt},velocityDecay:function(Le){return arguments.length?(ct=1-Le,pt):1-ct},force:function(Le,Ne){return arguments.length>1?(Ne==null?Ve.remove(Le):Ve.set(Le,Se(Ne)),pt):Ve.get(Le)},find:function(Le,Ne,je){var Je=0,ut=et.length,Et,wt,nr,ir,It;for(je==null?je=1/0:je*=je,Je=0;Je<ut;++Je)ir=et[Je],Et=Le-ir.x,wt=Ne-ir.y,nr=Et*Et+wt*wt,nr<je&&(It=ir,je=nr);return It},on:function(Le,Ne){return arguments.length>1?(rt.on(Le,Ne),pt):rt.on(Le)}}}function We(){var et,pt,vt,_t=v(-30),bt,Rt=1,ct=1/0,Ve=.81;function Qe(Ce){var Se,Le=et.length,Ne=I(et,be,Pe).visitAfter(qe);for(vt=Ce,Se=0;Se<Le;++Se)pt=et[Se],Ne.visit(He)}function rt(){if(et){var Ce,Se=et.length,Le;for(bt=new Array(Se),Ce=0;Ce<Se;++Ce)Le=et[Ce],bt[Le.index]=+_t(Le,Ce,et)}}function qe(Ce){var Se=0,Le,Ne,je=0,Je,ut,Et;if(Ce.length){for(Je=ut=Et=0;Et<4;++Et)(Le=Ce[Et])&&(Ne=Math.abs(Le.value))&&(Se+=Le.value,je+=Ne,Je+=Ne*Le.x,ut+=Ne*Le.y);Ce.x=Je/je,Ce.y=ut/je}else{Le=Ce,Le.x=Le.data.x,Le.y=Le.data.y;do Se+=bt[Le.data.index];while(Le=Le.next)}Ce.value=Se}function He(Ce,Se,Le,Ne){if(!Ce.value)return!0;var je=Ce.x-pt.x,Je=Ce.y-pt.y,ut=Ne-Se,Et=je*je+Je*Je;if(ut*ut/Ve<Et)return Et<ct&&(je===0&&(je=i(),Et+=je*je),Je===0&&(Je=i(),Et+=Je*Je),Et<Rt&&(Et=Math.sqrt(Rt*Et)),pt.vx+=je*Ce.value*vt/Et,pt.vy+=Je*Ce.value*vt/Et),!0;if(Ce.length||Et>=ct)return;(Ce.data!==pt||Ce.next)&&(je===0&&(je=i(),Et+=je*je),Je===0&&(Je=i(),Et+=Je*Je),Et<Rt&&(Et=Math.sqrt(Rt*Et)));do Ce.data!==pt&&(ut=bt[Ce.data.index]*vt/Et,pt.vx+=je*ut,pt.vy+=Je*ut);while(Ce=Ce.next)}return Qe.initialize=function(Ce){et=Ce,rt()},Qe.strength=function(Ce){return arguments.length?(_t=typeof Ce=="function"?Ce:v(+Ce),rt(),Qe):_t},Qe.distanceMin=function(Ce){return arguments.length?(Rt=Ce*Ce,Qe):Math.sqrt(Rt)},Qe.distanceMax=function(Ce){return arguments.length?(ct=Ce*Ce,Qe):Math.sqrt(ct)},Qe.theta=function(Ce){return arguments.length?(Ve=Ce*Ce,Qe):Math.sqrt(Ve)},Qe}function lt(et,pt,vt){var _t,bt=v(.1),Rt,ct;typeof et!="function"&&(et=v(+et)),pt==null&&(pt=0),vt==null&&(vt=0);function Ve(rt){for(var qe=0,He=_t.length;qe<He;++qe){var Ce=_t[qe],Se=Ce.x-pt||1e-6,Le=Ce.y-vt||1e-6,Ne=Math.sqrt(Se*Se+Le*Le),je=(ct[qe]-Ne)*Rt[qe]*rt/Ne;Ce.vx+=Se*je,Ce.vy+=Le*je}}function Qe(){if(_t){var rt,qe=_t.length;for(Rt=new Array(qe),ct=new Array(qe),rt=0;rt<qe;++rt)ct[rt]=+et(_t[rt],rt,_t),Rt[rt]=isNaN(ct[rt])?0:+bt(_t[rt],rt,_t)}}return Ve.initialize=function(rt){_t=rt,Qe()},Ve.strength=function(rt){return arguments.length?(bt=typeof rt=="function"?rt:v(+rt),Qe(),Ve):bt},Ve.radius=function(rt){return arguments.length?(et=typeof rt=="function"?rt:v(+rt),Qe(),Ve):et},Ve.x=function(rt){return arguments.length?(pt=+rt,Ve):pt},Ve.y=function(rt){return arguments.length?(vt=+rt,Ve):vt},Ve}function ht(et){var pt=v(.1),vt,_t,bt;typeof et!="function"&&(et=v(et==null?0:+et));function Rt(Ve){for(var Qe=0,rt=vt.length,qe;Qe<rt;++Qe)qe=vt[Qe],qe.vx+=(bt[Qe]-qe.x)*_t[Qe]*Ve}function ct(){if(vt){var Ve,Qe=vt.length;for(_t=new Array(Qe),bt=new Array(Qe),Ve=0;Ve<Qe;++Ve)_t[Ve]=isNaN(bt[Ve]=+et(vt[Ve],Ve,vt))?0:+pt(vt[Ve],Ve,vt)}}return Rt.initialize=function(Ve){vt=Ve,ct()},Rt.strength=function(Ve){return arguments.length?(pt=typeof Ve=="function"?Ve:v(+Ve),ct(),Rt):pt},Rt.x=function(Ve){return arguments.length?(et=typeof Ve=="function"?Ve:v(+Ve),ct(),Rt):et},Rt}function tt(et){var pt=v(.1),vt,_t,bt;typeof et!="function"&&(et=v(et==null?0:+et));function Rt(Ve){for(var Qe=0,rt=vt.length,qe;Qe<rt;++Qe)qe=vt[Qe],qe.vy+=(bt[Qe]-qe.y)*_t[Qe]*Ve}function ct(){if(vt){var Ve,Qe=vt.length;for(_t=new Array(Qe),bt=new Array(Qe),Ve=0;Ve<Qe;++Ve)_t[Ve]=isNaN(bt[Ve]=+et(vt[Ve],Ve,vt))?0:+pt(vt[Ve],Ve,vt)}}return Rt.initialize=function(Ve){vt=Ve,ct()},Rt.strength=function(Ve){return arguments.length?(pt=typeof Ve=="function"?Ve:v(+Ve),ct(),Rt):pt},Rt.y=function(Ve){return arguments.length?(et=typeof Ve=="function"?Ve:v(+Ve),ct(),Rt):et},Rt}},57624:function(u,h,a){a.d(h,{E9:function(){return E},SO:function(){return R}});function l(L){return Math.abs(L=Math.round(L))>=1e21?L.toLocaleString("en").replace(/,/g,""):L.toString(10)}function v(L,I){if((P=(L=I?L.toExponential(I-1):L.toExponential()).indexOf("e"))<0)return null;var P,M=L.slice(0,P);return[M.length>1?M[0]+M.slice(2):M,+L.slice(P+1)]}function i(L){return L=v(Math.abs(L)),L?L[1]:NaN}function S(L,I){return function(P,M){for(var F=P.length,N=[],T=0,D=L[0],O=0;F>0&&D>0&&(O+D+1>M&&(D=Math.max(1,M-O)),N.push(P.substring(F-=D,F+D)),!((O+=D+1)>M));)D=L[T=(T+1)%L.length];return N.reverse().join(I)}}function g(L){return function(I){return I.replace(/[0-9]/g,function(P){return L[+P]})}}var p=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function _(L){if(!(I=p.exec(L)))throw new Error("invalid format: "+L);var I;return new c({fill:I[1],align:I[2],sign:I[3],symbol:I[4],zero:I[5],width:I[6],comma:I[7],precision:I[8]&&I[8].slice(1),trim:I[9],type:I[10]})}_.prototype=c.prototype;function c(L){this.fill=L.fill===void 0?" ":L.fill+"",this.align=L.align===void 0?">":L.align+"",this.sign=L.sign===void 0?"-":L.sign+"",this.symbol=L.symbol===void 0?"":L.symbol+"",this.zero=!!L.zero,this.width=L.width===void 0?void 0:+L.width,this.comma=!!L.comma,this.precision=L.precision===void 0?void 0:+L.precision,this.trim=!!L.trim,this.type=L.type===void 0?"":L.type+""}c.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function s(L){e:for(var I=L.length,P=1,M=-1,F;P<I;++P)switch(L[P]){case".":M=F=P;break;case"0":M===0&&(M=P),F=P;break;default:if(!+L[P])break e;M>0&&(M=0);break}return M>0?L.slice(0,M)+L.slice(F+1):L}var d;function f(L,I){var P=v(L,I);if(!P)return L+"";var M=P[0],F=P[1],N=F-(d=Math.max(-8,Math.min(8,Math.floor(F/3)))*3)+1,T=M.length;return N===T?M:N>T?M+new Array(N-T+1).join("0"):N>0?M.slice(0,N)+"."+M.slice(N):"0."+new Array(1-N).join("0")+v(L,Math.max(0,I+N-1))[0]}function b(L,I){var P=v(L,I);if(!P)return L+"";var M=P[0],F=P[1];return F<0?"0."+new Array(-F).join("0")+M:M.length>F+1?M.slice(0,F+1)+"."+M.slice(F+1):M+new Array(F-M.length+2).join("0")}var x={"%":function(L,I){return(L*100).toFixed(I)},b:function(L){return Math.round(L).toString(2)},c:function(L){return L+""},d:l,e:function(L,I){return L.toExponential(I)},f:function(L,I){return L.toFixed(I)},g:function(L,I){return L.toPrecision(I)},o:function(L){return Math.round(L).toString(8)},p:function(L,I){return b(L*100,I)},r:b,s:f,X:function(L){return Math.round(L).toString(16).toUpperCase()},x:function(L){return Math.round(L).toString(16)}};function y(L){return L}var C=Array.prototype.map,w=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function R(L){var I=L.grouping===void 0||L.thousands===void 0?y:S(C.call(L.grouping,Number),L.thousands+""),P=L.currency===void 0?"":L.currency[0]+"",M=L.currency===void 0?"":L.currency[1]+"",F=L.decimal===void 0?".":L.decimal+"",N=L.numerals===void 0?y:g(C.call(L.numerals,String)),T=L.percent===void 0?"%":L.percent+"",D=L.minus===void 0?"-":L.minus+"",O=L.nan===void 0?"NaN":L.nan+"";function U(Y){Y=_(Y);var z=Y.fill,V=Y.align,j=Y.sign,G=Y.symbol,W=Y.zero,X=Y.width,Q=Y.comma,ae=Y.precision,ie=Y.trim,he=Y.type;he==="n"?(Q=!0,he="g"):x[he]||(ae===void 0&&(ae=12),ie=!0,he="g"),(W||z==="0"&&V==="=")&&(W=!0,z="0",V="=");var J=G==="$"?P:G==="#"&&/[boxX]/.test(he)?"0"+he.toLowerCase():"",Z=G==="$"?M:/[%p]/.test(he)?T:"",le=x[he],K=/[defgprs%]/.test(he);ae=ae===void 0?6:/[gprs]/.test(he)?Math.max(1,Math.min(21,ae)):Math.max(0,Math.min(20,ae));function te(ce){var re=J,ee=Z,de,oe,fe;if(he==="c")ee=le(ce)+ee,ce="";else{ce=+ce;var me=ce<0||1/ce<0;if(ce=isNaN(ce)?O:le(Math.abs(ce),ae),ie&&(ce=s(ce)),me&&+ce==0&&j!=="+"&&(me=!1),re=(me?j==="("?j:D:j==="-"||j==="("?"":j)+re,ee=(he==="s"?w[8+d/3]:"")+ee+(me&&j==="("?")":""),K){for(de=-1,oe=ce.length;++de<oe;)if(fe=ce.charCodeAt(de),48>fe||fe>57){ee=(fe===46?F+ce.slice(de+1):ce.slice(de))+ee,ce=ce.slice(0,de);break}}}Q&&!W&&(ce=I(ce,1/0));var Te=re.length+ce.length+ee.length,we=Te<X?new Array(X-Te+1).join(z):"";switch(Q&&W&&(ce=I(we+ce,we.length?X-ee.length:1/0),we=""),V){case"<":ce=re+ce+ee+we;break;case"=":ce=re+we+ce+ee;break;case"^":ce=we.slice(0,Te=we.length>>1)+re+ce+ee+we.slice(Te);break;default:ce=we+re+ce+ee;break}return N(ce)}return te.toString=function(){return Y+""},te}function B(Y,z){var V=U((Y=_(Y),Y.type="f",Y)),j=Math.max(-8,Math.min(8,Math.floor(i(z)/3)))*3,G=Math.pow(10,-j),W=w[8+j/3];return function(X){return V(G*X)+W}}return{format:U,formatPrefix:B}}var A,E;k({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function k(L){return A=R(L),E=A.format,A.formatPrefix,A}},87108:function(u,h,a){a.r(h),a.d(h,{geoAiry:function(){return W},geoAiryRaw:function(){return G},geoAitoff:function(){return Q},geoAitoffRaw:function(){return X},geoArmadillo:function(){return ie},geoArmadilloRaw:function(){return ae},geoAugust:function(){return J},geoAugustRaw:function(){return he},geoBaker:function(){return te},geoBakerRaw:function(){return K},geoBerghaus:function(){return ee},geoBerghausRaw:function(){return re},geoBertin1953:function(){return Ae},geoBertin1953Raw:function(){return Be},geoBoggs:function(){return lt},geoBoggsRaw:function(){return We},geoBonne:function(){return vt},geoBonneRaw:function(){return pt},geoBottomley:function(){return bt},geoBottomleyRaw:function(){return _t},geoBromley:function(){return ct},geoBromleyRaw:function(){return Rt},geoChamberlin:function(){return Ne},geoChamberlinAfrica:function(){return Le},geoChamberlinRaw:function(){return Ce},geoCollignon:function(){return Je},geoCollignonRaw:function(){return je},geoCraig:function(){return Et},geoCraigRaw:function(){return ut},geoCraster:function(){return ir},geoCrasterRaw:function(){return nr},geoCylindricalEqualArea:function(){return Gt},geoCylindricalEqualAreaRaw:function(){return It},geoCylindricalStereographic:function(){return Pr},geoCylindricalStereographicRaw:function(){return cr},geoEckert1:function(){return or},geoEckert1Raw:function(){return Ct},geoEckert2:function(){return Ir},geoEckert2Raw:function(){return ur},geoEckert3:function(){return At},geoEckert3Raw:function(){return yr},geoEckert4:function(){return Mt},geoEckert4Raw:function(){return mt},geoEckert5:function(){return Ht},geoEckert5Raw:function(){return Pt},geoEckert6:function(){return Zt},geoEckert6Raw:function(){return Ut},geoEisenlohr:function(){return Sr},geoEisenlohrRaw:function(){return sr},geoFahey:function(){return Ze},geoFaheyRaw:function(){return Tr},geoFoucaut:function(){return Wt},geoFoucautRaw:function(){return Xe},geoFoucautSinusoidal:function(){return ar},geoFoucautSinusoidalRaw:function(){return jt},geoGilbert:function(){return kr},geoGingery:function(){return ln},geoGingeryRaw:function(){return Rr},geoGinzburg4:function(){return Bn},geoGinzburg4Raw:function(){return Xr},geoGinzburg5:function(){return ta},geoGinzburg5Raw:function(){return An},geoGinzburg6:function(){return Cr},geoGinzburg6Raw:function(){return ra},geoGinzburg8:function(){return un},geoGinzburg8Raw:function(){return Jr},geoGinzburg9:function(){return Nn},geoGinzburg9Raw:function(){return sn},geoGringorten:function(){return Ya},geoGringortenQuincuncial:function(){return s1},geoGringortenRaw:function(){return $n},geoGuyou:function(){return Vn},geoGuyouRaw:function(){return Fr},geoHammer:function(){return me},geoHammerRaw:function(){return oe},geoHammerRetroazimuthal:function(){return ba},geoHammerRetroazimuthalRaw:function(){return na},geoHealpix:function(){return Ln},geoHealpixRaw:function(){return zr},geoHill:function(){return mn},geoHillRaw:function(){return Hr},geoHomolosine:function(){return Ea},geoHomolosineRaw:function(){return ea},geoHufnagel:function(){return ei},geoHufnagelRaw:function(){return ya},geoHyperelliptical:function(){return Uo},geoHyperellipticalRaw:function(){return si},geoInterrupt:function(){return jl},geoInterruptedBoggs:function(){return J1},geoInterruptedHomolosine:function(){return Ao},geoInterruptedMollweide:function(){return tv},geoInterruptedMollweideHemispheres:function(){return uc},geoInterruptedQuarticAuthalic:function(){return ud},geoInterruptedSinuMollweide:function(){return Kh},geoInterruptedSinusoidal:function(){return Xh},geoKavrayskiy7:function(){return ul},geoKavrayskiy7Raw:function(){return Qs},geoLagrange:function(){return kl},geoLagrangeRaw:function(){return qh},geoLarrivee:function(){return Zh},geoLarriveeRaw:function(){return Tc},geoLaskowski:function(){return Am},geoLaskowskiRaw:function(){return Ac},geoLittrow:function(){return Ml},geoLittrowRaw:function(){return ld},geoLoximuthal:function(){return bf},geoLoximuthalRaw:function(){return rv},geoMiller:function(){return Ef},geoMillerRaw:function(){return cd},geoModifiedStereographic:function(){return wf},geoModifiedStereographicAlaska:function(){return nv},geoModifiedStereographicGs48:function(){return ey},geoModifiedStereographicGs50:function(){return ty},geoModifiedStereographicLee:function(){return bu},geoModifiedStereographicMiller:function(){return eh},geoModifiedStereographicRaw:function(){return Cm},geoMollweide:function(){return Ke},geoMollweideRaw:function(){return Pe},geoMtFlatPolarParabolic:function(){return Mm},geoMtFlatPolarParabolicRaw:function(){return Jp},geoMtFlatPolarQuartic:function(){return ep},geoMtFlatPolarQuarticRaw:function(){return Ud},geoMtFlatPolarSinusoidal:function(){return ka},geoMtFlatPolarSinusoidalRaw:function(){return Yn},geoNaturalEarth:function(){return xa.c},geoNaturalEarth2:function(){return eo},geoNaturalEarth2Raw:function(){return Ni},geoNaturalEarthRaw:function(){return xa.g},geoNellHammer:function(){return Hs},geoNellHammerRaw:function(){return $o},geoNicolosi:function(){return Uc},geoNicolosiRaw:function(){return dd},geoPatterson:function(){return np},geoPattersonRaw:function(){return n1},geoPeirceQuincuncial:function(){return cp},geoPierceQuincuncial:function(){return cp},geoPolyconic:function(){return i1},geoPolyconicRaw:function(){return a1},geoPolyhedral:function(){return ts},geoPolyhedralButterfly:function(){return r0},geoPolyhedralCollignon:function(){return ih},geoPolyhedralWaterman:function(){return Os},geoProject:function(){return ov},geoQuantize:function(){return sv},geoQuincuncial:function(){return Yd},geoRectangularPolyconic:function(){return sh},geoRectangularPolyconicRaw:function(){return Br},geoRobinson:function(){return vo},geoRobinsonRaw:function(){return al},geoSatellite:function(){return lh},geoSatelliteRaw:function(){return l1},geoSinuMollweide:function(){return ua},geoSinuMollweideRaw:function(){return qn},geoSinusoidal:function(){return et},geoSinusoidalRaw:function(){return tt},geoStitch:function(){return c0},geoTimes:function(){return Es},geoTimesRaw:function(){return kf},geoTwoPointAzimuthal:function(){return d1},geoTwoPointAzimuthalRaw:function(){return cv},geoTwoPointAzimuthalUsa:function(){return ch},geoTwoPointEquidistant:function(){return uv},geoTwoPointEquidistantRaw:function(){return u0},geoTwoPointEquidistantUsa:function(){return Om},geoVanDerGrinten:function(){return d0},geoVanDerGrinten2:function(){return pp},geoVanDerGrinten2Raw:function(){return Mf},geoVanDerGrinten3:function(){return ry},geoVanDerGrinten3Raw:function(){return Hu},geoVanDerGrinten4:function(){return f0},geoVanDerGrinten4Raw:function(){return Cc},geoVanDerGrintenRaw:function(){return dc},geoWagner:function(){return Gc},geoWagner4:function(){return mp},geoWagner4Raw:function(){return p0},geoWagner6:function(){return f1},geoWagner6Raw:function(){return wu},geoWagner7:function(){return jc},geoWagnerRaw:function(){return Vu},geoWiechel:function(){return gp},geoWiechelRaw:function(){return uh},geoWinkel3:function(){return dv},geoWinkel3Raw:function(){return v0}});var l=a(87952),v=Math.abs,i=Math.atan,S=Math.atan2,g=Math.cos,p=Math.exp,_=Math.floor,c=Math.log,s=Math.max,d=Math.min,f=Math.pow,b=Math.round,x=Math.sign||function(at){return at>0?1:at<0?-1:0},y=Math.sin,C=Math.tan,w=1e-6,R=1e-12,A=Math.PI,E=A/2,k=A/4,L=Math.SQRT1_2,I=U(2),P=U(A),M=A*2,F=180/A,N=A/180;function T(at){return at?at/Math.sin(at):1}function D(at){return at>1?E:at<-1?-E:Math.asin(at)}function O(at){return at>1?0:at<-1?A:Math.acos(at)}function U(at){return at>0?Math.sqrt(at):0}function B(at){return at=p(2*at),(at-1)/(at+1)}function Y(at){return(p(at)-p(-at))/2}function z(at){return(p(at)+p(-at))/2}function V(at){return c(at+U(at*at+1))}function j(at){return c(at+U(at*at-1))}function G(at){var ft=C(at/2),Tt=2*c(g(at/2))/(ft*ft);function kt(Yt,$t){var qt=g(Yt),Mr=g($t),Nr=y($t),gr=Mr*qt,Ur=-((1-gr?c((1+gr)/2)/(1-gr):-.5)+Tt/(1+gr));return[Ur*Mr*y(Yt),Ur*Nr]}return kt.invert=function(Yt,$t){var qt=U(Yt*Yt+$t*$t),Mr=-at/2,Nr=50,gr;if(!qt)return[0,0];do{var Ur=Mr/2,Zr=g(Ur),an=y(Ur),Cn=an/Zr,Zn=-c(v(Zr));Mr-=gr=(2/Cn*Zn-Tt*Cn-qt)/(-Zn/(an*an)+1-Tt/(2*Zr*Zr))*(Zr<0?.7:1)}while(v(gr)>w&&--Nr>0);var oa=y(Mr);return[S(Yt*oa,qt*g(Mr)),D($t*oa/qt)]},kt}function W(){var at=E,ft=(0,l.U)(G),Tt=ft(at);return Tt.radius=function(kt){return arguments.length?ft(at=kt*N):at*F},Tt.scale(179.976).clipAngle(147)}function X(at,ft){var Tt=g(ft),kt=T(O(Tt*g(at/=2)));return[2*Tt*y(at)*kt,y(ft)*kt]}X.invert=function(at,ft){if(!(at*at+4*ft*ft>A*A+w)){var Tt=at,kt=ft,Yt=25;do{var $t=y(Tt),qt=y(Tt/2),Mr=g(Tt/2),Nr=y(kt),gr=g(kt),Ur=y(2*kt),Zr=Nr*Nr,an=gr*gr,Cn=qt*qt,Zn=1-an*Mr*Mr,oa=Zn?O(gr*Mr)*U(fa=1/Zn):fa=0,fa,La=2*oa*gr*qt-at,Di=oa*Nr-ft,Ii=fa*(an*Cn+oa*gr*Mr*Zr),Bi=fa*(.5*$t*Ur-oa*2*Nr*qt),Ki=fa*.25*(Ur*qt-oa*Nr*an*$t),_o=fa*(Zr*Mr+oa*Cn*gr),rs=Bi*Ki-_o*Ii;if(!rs)break;var il=(Di*Bi-La*_o)/rs,ve=(La*Ki-Di*Ii)/rs;Tt-=il,kt-=ve}while((v(il)>w||v(ve)>w)&&--Yt>0);return[Tt,kt]}};function Q(){return(0,l.c)(X).scale(152.63)}function ae(at){var ft=y(at),Tt=g(at),kt=at>=0?1:-1,Yt=C(kt*at),$t=(1+ft-Tt)/2;function qt(Mr,Nr){var gr=g(Nr),Ur=g(Mr/=2);return[(1+gr)*y(Mr),(kt*Nr>-S(Ur,Yt)-.001?0:-kt*10)+$t+y(Nr)*Tt-(1+gr)*ft*Ur]}return qt.invert=function(Mr,Nr){var gr=0,Ur=0,Zr=50;do{var an=g(gr),Cn=y(gr),Zn=g(Ur),oa=y(Ur),fa=1+Zn,La=fa*Cn-Mr,Di=$t+oa*Tt-fa*ft*an-Nr,Ii=fa*an/2,Bi=-Cn*oa,Ki=ft*fa*Cn/2,_o=Tt*Zn+ft*an*oa,rs=Bi*Ki-_o*Ii,il=(Di*Bi-La*_o)/rs/2,ve=(La*Ki-Di*Ii)/rs;v(ve)>2&&(ve/=2),gr-=il,Ur-=ve}while((v(il)>w||v(ve)>w)&&--Zr>0);return kt*Ur>-S(g(gr),Yt)-.001?[gr*2,Ur]:null},qt}function ie(){var at=20*N,ft=at>=0?1:-1,Tt=C(ft*at),kt=(0,l.U)(ae),Yt=kt(at),$t=Yt.stream;return Yt.parallel=function(qt){return arguments.length?(Tt=C((ft=(at=qt*N)>=0?1:-1)*at),kt(at)):at*F},Yt.stream=function(qt){var Mr=Yt.rotate(),Nr=$t(qt),gr=(Yt.rotate([0,0]),$t(qt)),Ur=Yt.precision();return Yt.rotate(Mr),Nr.sphere=function(){gr.polygonStart(),gr.lineStart();for(var Zr=ft*-180;ft*Zr<180;Zr+=ft*90)gr.point(Zr,ft*90);if(at)for(;ft*(Zr-=3*ft*Ur)>=-180;)gr.point(Zr,ft*-S(g(Zr*N/2),Tt)*F);gr.lineEnd(),gr.polygonEnd()},Nr},Yt.scale(218.695).center([0,28.0974])}function he(at,ft){var Tt=C(ft/2),kt=U(1-Tt*Tt),Yt=1+kt*g(at/=2),$t=y(at)*kt/Yt,qt=Tt/Yt,Mr=$t*$t,Nr=qt*qt;return[1.3333333333333333*$t*(3+Mr-3*Nr),1.3333333333333333*qt*(3+3*Mr-Nr)]}he.invert=function(at,ft){if(at*=.375,ft*=.375,!at&&v(ft)>1)return null;var Tt=at*at,kt=ft*ft,Yt=1+Tt+kt,$t=U((Yt-U(Yt*Yt-4*ft*ft))/2),qt=D($t)/3,Mr=$t?j(v(ft/$t))/3:V(v(at))/3,Nr=g(qt),gr=z(Mr),Ur=gr*gr-Nr*Nr;return[x(at)*2*S(Y(Mr)*Nr,.25-Ur),x(ft)*2*S(gr*y(qt),.25+Ur)]};function J(){return(0,l.c)(he).scale(66.1603)}var Z=U(8),le=c(1+I);function K(at,ft){var Tt=v(ft);return Tt<k?[at,c(C(k+ft/2))]:[at*g(Tt)*(2*I-1/y(Tt)),x(ft)*(2*I*(Tt-k)-c(C(Tt/2)))]}K.invert=function(at,ft){if(($t=v(ft))<le)return[at,2*i(p(ft))-E];var Tt=k,kt=25,Yt,$t;do{var qt=g(Tt/2),Mr=C(Tt/2);Tt-=Yt=(Z*(Tt-k)-c(Mr)-$t)/(Z-qt*qt/(2*Mr))}while(v(Yt)>R&&--kt>0);return[at/(g(Tt)*(Z-1/y(Tt))),x(ft)*Tt]};function te(){return(0,l.c)(K).scale(112.314)}var ce=a(69020);function re(at){var ft=2*A/at;function Tt(kt,Yt){var $t=(0,ce.O)(kt,Yt);if(v(kt)>E){var qt=S($t[1],$t[0]),Mr=U($t[0]*$t[0]+$t[1]*$t[1]),Nr=ft*b((qt-E)/ft)+E,gr=S(y(qt-=Nr),2-g(qt));qt=Nr+D(A/Mr*y(gr))-gr,$t[0]=Mr*g(qt),$t[1]=Mr*y(qt)}return $t}return Tt.invert=function(kt,Yt){var $t=U(kt*kt+Yt*Yt);if($t>E){var qt=S(Yt,kt),Mr=ft*b((qt-E)/ft)+E,Nr=qt>Mr?-1:1,gr=$t*g(Mr-qt),Ur=1/C(Nr*O((gr-A)/U(A*(A-2*gr)+$t*$t)));qt=Mr+2*i((Ur+Nr*U(Ur*Ur-3))/3),kt=$t*g(qt),Yt=$t*y(qt)}return ce.O.invert(kt,Yt)},Tt}function ee(){var at=5,ft=(0,l.U)(re),Tt=ft(at),kt=Tt.stream,Yt=.01,$t=-g(Yt*N),qt=y(Yt*N);return Tt.lobes=function(Mr){return arguments.length?ft(at=+Mr):at},Tt.stream=function(Mr){var Nr=Tt.rotate(),gr=kt(Mr),Ur=(Tt.rotate([0,0]),kt(Mr));return Tt.rotate(Nr),gr.sphere=function(){Ur.polygonStart(),Ur.lineStart();for(var Zr=0,an=360/at,Cn=2*A/at,Zn=90-180/at,oa=E;Zr<at;++Zr,Zn-=an,oa-=Cn)Ur.point(S(qt*g(oa),$t)*F,D(qt*y(oa))*F),Zn<-90?(Ur.point(-90,-180-Zn-Yt),Ur.point(-90,-180-Zn+Yt)):(Ur.point(90,Zn+Yt),Ur.point(90,Zn-Yt));Ur.lineEnd(),Ur.polygonEnd()},gr},Tt.scale(87.8076).center([0,17.1875]).clipAngle(179.999)}var de=a(54724);function oe(at,ft){if(arguments.length<2&&(ft=at),ft===1)return de.y;if(ft===1/0)return fe;function Tt(kt,Yt){var $t=(0,de.y)(kt/ft,Yt);return $t[0]*=at,$t}return Tt.invert=function(kt,Yt){var $t=de.y.invert(kt/at,Yt);return $t[0]*=ft,$t},Tt}function fe(at,ft){return[at*g(ft)/g(ft/=2),2*y(ft)]}fe.invert=function(at,ft){var Tt=2*D(ft/2);return[at*g(Tt/2)/g(Tt),Tt]};function me(){var at=2,ft=(0,l.U)(oe),Tt=ft(at);return Tt.coefficient=function(kt){return arguments.length?ft(at=+kt):at},Tt.scale(169.529)}function Te(at,ft,Tt){var kt=100,Yt,$t,qt;Tt=Tt===void 0?0:+Tt,ft=+ft;do $t=at(Tt),qt=at(Tt+w),$t===qt&&(qt=$t+w),Tt-=Yt=-1*w*($t-ft)/($t-qt);while(kt-- >0&&v(Yt)>w);return kt<0?NaN:Tt}function we(at,ft,Tt){return ft===void 0&&(ft=40),Tt===void 0&&(Tt=R),function(kt,Yt,$t,qt){var Mr,Nr,gr;$t=$t===void 0?0:+$t,qt=qt===void 0?0:+qt;for(var Ur=0;Ur<ft;Ur++){var Zr=at($t,qt),an=Zr[0]-kt,Cn=Zr[1]-Yt;if(v(an)<Tt&&v(Cn)<Tt)break;var Zn=an*an+Cn*Cn;if(Zn>Mr){$t-=Nr/=2,qt-=gr/=2;continue}Mr=Zn;var oa=($t>0?-1:1)*Tt,fa=(qt>0?-1:1)*Tt,La=at($t+oa,qt),Di=at($t,qt+fa),Ii=(La[0]-Zr[0])/oa,Bi=(La[1]-Zr[1])/oa,Ki=(Di[0]-Zr[0])/fa,_o=(Di[1]-Zr[1])/fa,rs=_o*Ii-Bi*Ki,il=(v(rs)<.5?.5:1)/rs;if(Nr=(Cn*Ki-an*_o)*il,gr=(an*Bi-Cn*Ii)*il,$t+=Nr,qt+=gr,v(Nr)<Tt&&v(gr)<Tt)break}return[$t,qt]}}function Be(){var at=oe(1.68,2),ft=1.4,Tt=12;function kt(Yt,$t){if(Yt+$t<-ft){var qt=(Yt-$t+1.6)*(Yt+$t+ft)/8;Yt+=qt,$t-=.8*qt*y($t+A/2)}var Mr=at(Yt,$t),Nr=(1-g(Yt*$t))/Tt;return Mr[1]<0&&(Mr[0]*=1+Nr),Mr[1]>0&&(Mr[1]*=1+Nr/1.5*Mr[0]*Mr[0]),Mr}return kt.invert=we(kt),kt}function Ae(){return(0,l.c)(Be()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function Re(at,ft){var Tt=at*y(ft),kt=30,Yt;do ft-=Yt=(ft+y(ft)-Tt)/(1+g(ft));while(v(Yt)>w&&--kt>0);return ft/2}function be(at,ft,Tt){function kt(Yt,$t){return[at*Yt*g($t=Re(Tt,$t)),ft*y($t)]}return kt.invert=function(Yt,$t){return $t=D($t/ft),[Yt/(at*g($t)),D((2*$t+y(2*$t))/Tt)]},kt}var Pe=be(I/E,I,A);function Ke(){return(0,l.c)(Pe).scale(169.529)}var ze=2.00276,Fe=1.11072;function We(at,ft){var Tt=Re(A,ft);return[ze*at/(1/g(ft)+Fe/g(Tt)),(ft+I*y(Tt))/ze]}We.invert=function(at,ft){var Tt=ze*ft,kt=ft<0?-k:k,Yt=25,$t,qt;do qt=Tt-I*y(kt),kt-=$t=(y(2*kt)+2*kt-A*y(qt))/(2*g(2*kt)+2+A*g(qt)*I*g(kt));while(v($t)>w&&--Yt>0);return qt=Tt-I*y(kt),[at*(1/g(qt)+Fe/g(kt))/ze,qt]};function lt(){return(0,l.c)(We).scale(160.857)}function ht(at){var ft=0,Tt=(0,l.U)(at),kt=Tt(ft);return kt.parallel=function(Yt){return arguments.length?Tt(ft=Yt*N):ft*F},kt}function tt(at,ft){return[at*g(ft),ft]}tt.invert=function(at,ft){return[at/g(ft),ft]};function et(){return(0,l.c)(tt).scale(152.63)}function pt(at){if(!at)return tt;var ft=1/C(at);function Tt(kt,Yt){var $t=ft+at-Yt,qt=$t&&kt*g(Yt)/$t;return[$t*y(qt),ft-$t*g(qt)]}return Tt.invert=function(kt,Yt){var $t=U(kt*kt+(Yt=ft-Yt)*Yt),qt=ft+at-$t;return[$t/g(qt)*S(kt,Yt),qt]},Tt}function vt(){return ht(pt).scale(123.082).center([0,26.1441]).parallel(45)}function _t(at){function ft(Tt,kt){var Yt=E-kt,$t=Yt&&Tt*at*y(Yt)/Yt;return[Yt*y($t)/at,E-Yt*g($t)]}return ft.invert=function(Tt,kt){var Yt=Tt*at,$t=E-kt,qt=U(Yt*Yt+$t*$t),Mr=S(Yt,$t);return[(qt?qt/y(qt):1)*Mr/at,E-qt]},ft}function bt(){var at=.5,ft=(0,l.U)(_t),Tt=ft(at);return Tt.fraction=function(kt){return arguments.length?ft(at=+kt):at},Tt.scale(158.837)}var Rt=be(1,4/A,A);function ct(){return(0,l.c)(Rt).scale(152.63)}var Ve=a(24052),Qe=a(92992);function rt(at,ft,Tt,kt,Yt,$t){var qt=g($t),Mr;if(v(at)>1||v($t)>1)Mr=O(Tt*Yt+ft*kt*qt);else{var Nr=y(at/2),gr=y($t/2);Mr=2*D(U(Nr*Nr+ft*kt*gr*gr))}return v(Mr)>w?[Mr,S(kt*y($t),ft*Yt-Tt*kt*qt)]:[0,0]}function qe(at,ft,Tt){return O((at*at+ft*ft-Tt*Tt)/(2*at*ft))}function He(at){return at-2*A*_((at+A)/(2*A))}function Ce(at,ft,Tt){for(var kt=[[at[0],at[1],y(at[1]),g(at[1])],[ft[0],ft[1],y(ft[1]),g(ft[1])],[Tt[0],Tt[1],y(Tt[1]),g(Tt[1])]],Yt=kt[2],$t,qt=0;qt<3;++qt,Yt=$t)$t=kt[qt],Yt.v=rt($t[1]-Yt[1],Yt[3],Yt[2],$t[3],$t[2],$t[0]-Yt[0]),Yt.point=[0,0];var Mr=qe(kt[0].v[0],kt[2].v[0],kt[1].v[0]),Nr=qe(kt[0].v[0],kt[1].v[0],kt[2].v[0]),gr=A-Mr;kt[2].point[1]=0,kt[0].point[0]=-(kt[1].point[0]=kt[0].v[0]/2);var Ur=[kt[2].point[0]=kt[0].point[0]+kt[2].v[0]*g(Mr),2*(kt[0].point[1]=kt[1].point[1]=kt[2].v[0]*y(Mr))];function Zr(an,Cn){var Zn=y(Cn),oa=g(Cn),fa=new Array(3),La;for(La=0;La<3;++La){var Di=kt[La];if(fa[La]=rt(Cn-Di[1],Di[3],Di[2],oa,Zn,an-Di[0]),!fa[La][0])return Di.point;fa[La][1]=He(fa[La][1]-Di.v[1])}var Ii=Ur.slice();for(La=0;La<3;++La){var Bi=La==2?0:La+1,Ki=qe(kt[La].v[0],fa[La][0],fa[Bi][0]);fa[La][1]<0&&(Ki=-Ki),La?La==1?(Ki=Nr-Ki,Ii[0]-=fa[La][0]*g(Ki),Ii[1]-=fa[La][0]*y(Ki)):(Ki=gr-Ki,Ii[0]+=fa[La][0]*g(Ki),Ii[1]+=fa[La][0]*y(Ki)):(Ii[0]+=fa[La][0]*g(Ki),Ii[1]-=fa[La][0]*y(Ki))}return Ii[0]/=3,Ii[1]/=3,Ii}return Zr}function Se(at){return at[0]*=N,at[1]*=N,at}function Le(){return Ne([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Ne(at,ft,Tt){var kt=(0,Ve.c)({type:"MultiPoint",coordinates:[at,ft,Tt]}),Yt=[-kt[0],-kt[1]],$t=(0,Qe.c)(Yt),qt=Ce(Se($t(at)),Se($t(ft)),Se($t(Tt)));qt.invert=we(qt);var Mr=(0,l.c)(qt).rotate(Yt),Nr=Mr.center;return delete Mr.rotate,Mr.center=function(gr){return arguments.length?Nr($t(gr)):$t.invert(Nr())},Mr.clipAngle(90)}function je(at,ft){var Tt=U(1-y(ft));return[2/P*at*Tt,P*(1-Tt)]}je.invert=function(at,ft){var Tt=(Tt=ft/P-1)*Tt;return[Tt>0?at*U(A/Tt)/2:0,D(1-Tt)]};function Je(){return(0,l.c)(je).scale(95.6464).center([0,30])}function ut(at){var ft=C(at);function Tt(kt,Yt){return[kt,(kt?kt/y(kt):1)*(y(Yt)*g(kt)-ft*g(Yt))]}return Tt.invert=ft?function(kt,Yt){kt&&(Yt*=y(kt)/kt);var $t=g(kt);return[kt,2*S(U($t*$t+ft*ft-Yt*Yt)-$t,ft-Yt)]}:function(kt,Yt){return[kt,D(kt?Yt*C(kt)/kt:Yt)]},Tt}function Et(){return ht(ut).scale(249.828).clipAngle(90)}var wt=U(3);function nr(at,ft){return[wt*at*(2*g(2*ft/3)-1)/P,wt*P*y(ft/3)]}nr.invert=function(at,ft){var Tt=3*D(ft/(wt*P));return[P*at/(wt*(2*g(2*Tt/3)-1)),Tt]};function ir(){return(0,l.c)(nr).scale(156.19)}function It(at){var ft=g(at);function Tt(kt,Yt){return[kt*ft,y(Yt)/ft]}return Tt.invert=function(kt,Yt){return[kt/ft,D(Yt*ft)]},Tt}function Gt(){return ht(It).parallel(38.58).scale(195.044)}function cr(at){var ft=g(at);function Tt(kt,Yt){return[kt*ft,(1+ft)*C(Yt/2)]}return Tt.invert=function(kt,Yt){return[kt/ft,i(Yt/(1+ft))*2]},Tt}function Pr(){return ht(cr).scale(124.75)}function Ct(at,ft){var Tt=U(8/(3*A));return[Tt*at*(1-v(ft)/A),Tt*ft]}Ct.invert=function(at,ft){var Tt=U(8/(3*A)),kt=ft/Tt;return[at/(Tt*(1-v(kt)/A)),kt]};function or(){return(0,l.c)(Ct).scale(165.664)}function ur(at,ft){var Tt=U(4-3*y(v(ft)));return[2/U(6*A)*at*Tt,x(ft)*U(2*A/3)*(2-Tt)]}ur.invert=function(at,ft){var Tt=2-v(ft)/U(2*A/3);return[at*U(6*A)/(2*Tt),x(ft)*D((4-Tt*Tt)/3)]};function Ir(){return(0,l.c)(ur).scale(165.664)}function yr(at,ft){var Tt=U(A*(4+A));return[2/Tt*at*(1+U(1-4*ft*ft/(A*A))),4/Tt*ft]}yr.invert=function(at,ft){var Tt=U(A*(4+A))/2;return[at*Tt/(1+U(1-ft*ft*(4+A)/(4*A))),ft*Tt/2]};function At(){return(0,l.c)(yr).scale(180.739)}function mt(at,ft){var Tt=(2+E)*y(ft);ft/=2;for(var kt=0,Yt=1/0;kt<10&&v(Yt)>w;kt++){var $t=g(ft);ft-=Yt=(ft+y(ft)*($t+2)-Tt)/(2*$t*(1+$t))}return[2/U(A*(4+A))*at*(1+g(ft)),2*U(A/(4+A))*y(ft)]}mt.invert=function(at,ft){var Tt=ft*U((4+A)/A)/2,kt=D(Tt),Yt=g(kt);return[at/(2/U(A*(4+A))*(1+Yt)),D((kt+Tt*(Yt+2))/(2+E))]};function Mt(){return(0,l.c)(mt).scale(180.739)}function Pt(at,ft){return[at*(1+g(ft))/U(2+A),2*ft/U(2+A)]}Pt.invert=function(at,ft){var Tt=U(2+A),kt=ft*Tt/2;return[Tt*at/(1+g(kt)),kt]};function Ht(){return(0,l.c)(Pt).scale(173.044)}function Ut(at,ft){for(var Tt=(1+E)*y(ft),kt=0,Yt=1/0;kt<10&&v(Yt)>w;kt++)ft-=Yt=(ft+y(ft)-Tt)/(1+g(ft));return Tt=U(2+A),[at*(1+g(ft))/Tt,2*ft/Tt]}Ut.invert=function(at,ft){var Tt=1+E,kt=U(Tt/2);return[at*2*kt/(1+g(ft*=kt)),D((ft+y(ft))/Tt)]};function Zt(){return(0,l.c)(Ut).scale(173.044)}var Xt=3+2*I;function sr(at,ft){var Tt=y(at/=2),kt=g(at),Yt=U(g(ft)),$t=g(ft/=2),qt=y(ft)/($t+I*kt*Yt),Mr=U(2/(1+qt*qt)),Nr=U((I*$t+(kt+Tt)*Yt)/(I*$t+(kt-Tt)*Yt));return[Xt*(Mr*(Nr-1/Nr)-2*c(Nr)),Xt*(Mr*qt*(Nr+1/Nr)-2*i(qt))]}sr.invert=function(at,ft){if(!($t=he.invert(at/1.2,ft*1.065)))return null;var Tt=$t[0],kt=$t[1],Yt=20,$t;at/=Xt,ft/=Xt;do{var qt=Tt/2,Mr=kt/2,Nr=y(qt),gr=g(qt),Ur=y(Mr),Zr=g(Mr),an=g(kt),Cn=U(an),Zn=Ur/(Zr+I*gr*Cn),oa=Zn*Zn,fa=U(2/(1+oa)),La=I*Zr+(gr+Nr)*Cn,Di=I*Zr+(gr-Nr)*Cn,Ii=La/Di,Bi=U(Ii),Ki=Bi-1/Bi,_o=Bi+1/Bi,rs=fa*Ki-2*c(Bi)-at,il=fa*Zn*_o-2*i(Zn)-ft,ve=Ur&&L*Cn*Nr*oa/Ur,De=(I*gr*Zr+Cn)/(2*(Zr+I*gr*Cn)*(Zr+I*gr*Cn)*Cn),Ye=-.5*Zn*fa*fa*fa,ot=Ye*ve,dt=Ye*De,gt=(gt=2*Zr+I*Cn*(gr-Nr))*gt*Bi,Bt=(I*gr*Zr*Cn+an)/gt,Lt=-(I*Nr*Ur)/(Cn*gt),er=Ki*ot-2*Bt/Bi+fa*(Bt+Bt/Ii),tr=Ki*dt-2*Lt/Bi+fa*(Lt+Lt/Ii),hr=Zn*_o*ot-2*ve/(1+oa)+fa*_o*ve+fa*Zn*(Bt-Bt/Ii),Vr=Zn*_o*dt-2*De/(1+oa)+fa*_o*De+fa*Zn*(Lt-Lt/Ii),Gr=tr*hr-Vr*er;if(!Gr)break;var En=(il*tr-rs*Vr)/Gr,In=(rs*hr-il*er)/Gr;Tt-=En,kt=s(-E,d(E,kt-In))}while((v(En)>w||v(In)>w)&&--Yt>0);return v(v(kt)-E)<w?[0,kt]:Yt&&[Tt,kt]};function Sr(){return(0,l.c)(sr).scale(62.5271)}var wr=g(35*N);function Tr(at,ft){var Tt=C(ft/2);return[at*wr*U(1-Tt*Tt),(1+wr)*Tt]}Tr.invert=function(at,ft){var Tt=ft/(1+wr);return[at&&at/(wr*U(1-Tt*Tt)),2*i(Tt)]};function Ze(){return(0,l.c)(Tr).scale(137.152)}function Xe(at,ft){var Tt=ft/2,kt=g(Tt);return[2*at/P*g(ft)*kt*kt,P*C(Tt)]}Xe.invert=function(at,ft){var Tt=i(ft/P),kt=g(Tt),Yt=2*Tt;return[at*P/2/(g(Yt)*kt*kt),Yt]};function Wt(){return(0,l.c)(Xe).scale(135.264)}function jt(at){var ft=1-at,Tt=$t(A,0)[0]-$t(-A,0)[0],kt=$t(0,E)[1]-$t(0,-E)[1],Yt=U(2*kt/Tt);function $t(Nr,gr){var Ur=g(gr),Zr=y(gr);return[Ur/(ft+at*Ur)*Nr,ft*gr+at*Zr]}function qt(Nr,gr){var Ur=$t(Nr,gr);return[Ur[0]*Yt,Ur[1]/Yt]}function Mr(Nr){return qt(0,Nr)[1]}return qt.invert=function(Nr,gr){var Ur=Te(Mr,gr),Zr=Nr/Yt*(at+ft/g(Ur));return[Zr,Ur]},qt}function ar(){var at=.5,ft=(0,l.U)(jt),Tt=ft(at);return Tt.alpha=function(kt){return arguments.length?ft(at=+kt):at},Tt.scale(168.725)}var mr=a(4888),br=a(69604);function fr(at){return[at[0]/2,D(C(at[1]/2*N))*F]}function Kt(at){return[at[0]*2,2*i(y(at[1]*N))*F]}function kr(at){at==null&&(at=mr.c);var ft=at(),Tt=(0,br.c)().scale(F).precision(0).clipAngle(null).translate([0,0]);function kt($t){return ft(fr($t))}ft.invert&&(kt.invert=function($t){return Kt(ft.invert($t))}),kt.stream=function($t){var qt=ft.stream($t),Mr=Tt.stream({point:function(Nr,gr){qt.point(Nr/2,D(C(-gr/2*N))*F)},lineStart:function(){qt.lineStart()},lineEnd:function(){qt.lineEnd()},polygonStart:function(){qt.polygonStart()},polygonEnd:function(){qt.polygonEnd()}});return Mr.sphere=qt.sphere,Mr};function Yt($t){kt[$t]=function(){return arguments.length?(ft[$t].apply(ft,arguments),kt):ft[$t]()}}return kt.rotate=function($t){return arguments.length?(Tt.rotate($t),kt):Tt.rotate()},kt.center=function($t){return arguments.length?(ft.center(fr($t)),kt):Kt(ft.center())},Yt("angle"),Yt("clipAngle"),Yt("clipExtent"),Yt("fitExtent"),Yt("fitHeight"),Yt("fitSize"),Yt("fitWidth"),Yt("scale"),Yt("translate"),Yt("precision"),kt.scale(249.5)}function Rr(at,ft){var Tt=2*A/ft,kt=at*at;function Yt($t,qt){var Mr=(0,ce.O)($t,qt),Nr=Mr[0],gr=Mr[1],Ur=Nr*Nr+gr*gr;if(Ur>kt){var Zr=U(Ur),an=S(gr,Nr),Cn=Tt*b(an/Tt),Zn=an-Cn,oa=at*g(Zn),fa=(at*y(Zn)-Zn*y(oa))/(E-oa),La=Lr(Zn,fa),Di=(A-at)/Ar(La,oa,A);Nr=Zr;var Ii=50,Bi;do Nr-=Bi=(at+Ar(La,oa,Nr)*Di-Zr)/(La(Nr)*Di);while(v(Bi)>w&&--Ii>0);gr=Zn*y(Nr),Nr<E&&(gr-=fa*(Nr-E));var Ki=y(Cn),_o=g(Cn);Mr[0]=Nr*_o-gr*Ki,Mr[1]=Nr*Ki+gr*_o}return Mr}return Yt.invert=function($t,qt){var Mr=$t*$t+qt*qt;if(Mr>kt){var Nr=U(Mr),gr=S(qt,$t),Ur=Tt*b(gr/Tt),Zr=gr-Ur;$t=Nr*g(Zr),qt=Nr*y(Zr);for(var an=$t-E,Cn=y($t),Zn=qt/Cn,oa=$t<E?1/0:0,fa=10;;){var La=at*y(Zn),Di=at*g(Zn),Ii=y(Di),Bi=E-Di,Ki=(La-Zn*Ii)/Bi,_o=Lr(Zn,Ki);if(v(oa)<R||!--fa)break;Zn-=oa=(Zn*Cn-Ki*an-qt)/(Cn-an*2*(Bi*(Di+Zn*La*g(Di)-Ii)-La*(La-Zn*Ii))/(Bi*Bi))}Nr=at+Ar(_o,Di,$t)*(A-at)/Ar(_o,Di,A),gr=Ur+Zn,$t=Nr*g(gr),qt=Nr*y(gr)}return ce.O.invert($t,qt)},Yt}function Lr(at,ft){return function(Tt){var kt=at*g(Tt);return Tt<E&&(kt-=ft),U(1+kt*kt)}}function Ar(at,ft,Tt){for(var kt=50,Yt=(Tt-ft)/kt,$t=at(ft)+at(Tt),qt=1,Mr=ft;qt<kt;++qt)$t+=2*at(Mr+=Yt);return $t*.5*Yt}function ln(){var at=6,ft=30*N,Tt=g(ft),kt=y(ft),Yt=(0,l.U)(Rr),$t=Yt(ft,at),qt=$t.stream,Mr=.01,Nr=-g(Mr*N),gr=y(Mr*N);return $t.radius=function(Ur){return arguments.length?(Tt=g(ft=Ur*N),kt=y(ft),Yt(ft,at)):ft*F},$t.lobes=function(Ur){return arguments.length?Yt(ft,at=+Ur):at},$t.stream=function(Ur){var Zr=$t.rotate(),an=qt(Ur),Cn=($t.rotate([0,0]),qt(Ur));return $t.rotate(Zr),an.sphere=function(){Cn.polygonStart(),Cn.lineStart();for(var Zn=0,oa=2*A/at,fa=0;Zn<at;++Zn,fa-=oa)Cn.point(S(gr*g(fa),Nr)*F,D(gr*y(fa))*F),Cn.point(S(kt*g(fa-oa/2),Tt)*F,D(kt*y(fa-oa/2))*F);Cn.lineEnd(),Cn.polygonEnd()},an},$t.rotate([90,-40]).scale(91.7095).clipAngle(179.999)}function Kr(at,ft,Tt,kt,Yt,$t,qt,Mr){arguments.length<8&&(Mr=0);function Nr(gr,Ur){if(!Ur)return[at*gr/A,0];var Zr=Ur*Ur,an=at+Zr*(ft+Zr*(Tt+Zr*kt)),Cn=Ur*(Yt-1+Zr*($t-Mr+Zr*qt)),Zn=(an*an+Cn*Cn)/(2*Cn),oa=gr*D(an/Zn)/A;return[Zn*y(oa),Ur*(1+Zr*Mr)+Zn*(1-g(oa))]}return Nr.invert=function(gr,Ur){var Zr=A*gr/at,an=Ur,Cn,Zn,oa=50;do{var fa=an*an,La=at+fa*(ft+fa*(Tt+fa*kt)),Di=an*(Yt-1+fa*($t-Mr+fa*qt)),Ii=La*La+Di*Di,Bi=2*Di,Ki=Ii/Bi,_o=Ki*Ki,rs=D(La/Ki)/A,il=Zr*rs,ve=La*La,De=(2*ft+fa*(4*Tt+fa*6*kt))*an,Ye=Yt+fa*(3*$t+fa*5*qt),ot=2*(La*De+Di*(Ye-1)),dt=2*(Ye-1),gt=(ot*Bi-Ii*dt)/(Bi*Bi),Bt=g(il),Lt=y(il),er=Ki*Bt,tr=Ki*Lt,hr=Zr/A*(1/U(1-ve/_o))*(De*Ki-La*gt)/_o,Vr=tr-gr,Gr=an*(1+fa*Mr)+Ki-er-Ur,En=gt*Lt+er*hr,In=er*rs,qr=1+gt-(gt*Bt-tr*hr),nn=tr*rs,gn=En*nn-qr*In;if(!gn)break;Zr-=Cn=(Gr*En-Vr*qr)/gn,an-=Zn=(Vr*nn-Gr*In)/gn}while((v(Cn)>w||v(Zn)>w)&&--oa>0);return[Zr,an]},Nr}var Xr=Kr(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function Bn(){return(0,l.c)(Xr).scale(149.995)}var An=Kr(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function ta(){return(0,l.c)(An).scale(153.93)}var ra=Kr(5/6*A,-.62636,-.0344,0,1.3493,-.05524,0,.045);function Cr(){return(0,l.c)(ra).scale(130.945)}function Jr(at,ft){var Tt=at*at,kt=ft*ft;return[at*(1-.162388*kt)*(.87-952426e-9*Tt*Tt),ft*(1+kt/12)]}Jr.invert=function(at,ft){var Tt=at,kt=ft,Yt=50,$t;do{var qt=kt*kt;kt-=$t=(kt*(1+qt/12)-ft)/(1+qt/4)}while(v($t)>w&&--Yt>0);Yt=50,at/=1-.162388*qt;do{var Mr=(Mr=Tt*Tt)*Mr;Tt-=$t=(Tt*(.87-952426e-9*Mr)-at)/(.87-.00476213*Mr)}while(v($t)>w&&--Yt>0);return[Tt,kt]};function un(){return(0,l.c)(Jr).scale(131.747)}var sn=Kr(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Nn(){return(0,l.c)(sn).scale(131.087)}function Hn(at){var ft=at(E,0)[0]-at(-E,0)[0];function Tt(kt,Yt){var $t=kt>0?-.5:.5,qt=at(kt+$t*A,Yt);return qt[0]-=$t*ft,qt}return at.invert&&(Tt.invert=function(kt,Yt){var $t=kt>0?-.5:.5,qt=at.invert(kt+$t*ft,Yt),Mr=qt[0]-$t*A;return Mr<-A?Mr+=2*A:Mr>A&&(Mr-=2*A),qt[0]=Mr,qt}),Tt}function $n(at,ft){var Tt=x(at),kt=x(ft),Yt=g(ft),$t=g(at)*Yt,qt=y(at)*Yt,Mr=y(kt*ft);at=v(S(qt,Mr)),ft=D($t),v(at-E)>w&&(at%=E);var Nr=da(at>A/4?E-at:at,ft);return at>A/4&&(Mr=Nr[0],Nr[0]=-Nr[1],Nr[1]=-Mr),Nr[0]*=Tt,Nr[1]*=-kt,Nr}$n.invert=function(at,ft){v(at)>1&&(at=x(at)*2-at),v(ft)>1&&(ft=x(ft)*2-ft);var Tt=x(at),kt=x(ft),Yt=-Tt*at,$t=-kt*ft,qt=$t/Yt<1,Mr=_a(qt?$t:Yt,qt?Yt:$t),Nr=Mr[0],gr=Mr[1],Ur=g(gr);return qt&&(Nr=-E-Nr),[Tt*(S(y(Nr)*Ur,-y(gr))+A),kt*D(g(Nr)*Ur)]};function da(at,ft){if(ft===E)return[0,0];var Tt=y(ft),kt=Tt*Tt,Yt=kt*kt,$t=1+Yt,qt=1+3*Yt,Mr=1-Yt,Nr=D(1/U($t)),gr=Mr+kt*$t*Nr,Ur=(1-Tt)/gr,Zr=U(Ur),an=Ur*$t,Cn=U(an),Zn=Zr*Mr,oa,fa;if(at===0)return[0,-(Zn+kt*Cn)];var La=g(ft),Di=1/La,Ii=2*Tt*La,Bi=(-3*kt+Nr*qt)*Ii,Ki=(-gr*La-(1-Tt)*Bi)/(gr*gr),_o=.5*Ki/Zr,rs=Mr*_o-2*kt*Zr*Ii,il=kt*$t*Ki+Ur*qt*Ii,ve=-Di*Ii,De=-Di*il,Ye=-2*Di*rs,ot=4*at/A,dt;if(at>.222*A||ft<A/4&&at>.175*A){if(oa=(Zn+kt*U(an*(1+Yt)-Zn*Zn))/(1+Yt),at>A/4)return[oa,oa];var gt=oa,Bt=.5*oa;oa=.5*(Bt+gt),fa=50;do{var Lt=U(an-oa*oa),er=oa*(Ye+ve*Lt)+De*D(oa/Cn)-ot;if(!er)break;er<0?Bt=oa:gt=oa,oa=.5*(Bt+gt)}while(v(gt-Bt)>w&&--fa>0)}else{oa=w,fa=25;do{var tr=oa*oa,hr=U(an-tr),Vr=Ye+ve*hr,Gr=oa*Vr+De*D(oa/Cn)-ot,En=Vr+(De-ve*tr)/hr;oa-=dt=hr?Gr/En:0}while(v(dt)>w&&--fa>0)}return[oa,-Zn-kt*U(an-oa*oa)]}function _a(at,ft){for(var Tt=0,kt=1,Yt=.5,$t=50;;){var qt=Yt*Yt,Mr=U(Yt),Nr=D(1/U(1+qt)),gr=1-qt+Yt*(1+qt)*Nr,Ur=(1-Mr)/gr,Zr=U(Ur),an=Ur*(1+qt),Cn=Zr*(1-qt),Zn=an-at*at,oa=U(Zn),fa=ft+Cn+Yt*oa;if(v(kt-Tt)<R||--$t===0||fa===0)break;fa>0?Tt=Yt:kt=Yt,Yt=.5*(Tt+kt)}if(!$t)return null;var La=D(Mr),Di=g(La),Ii=1/Di,Bi=2*Mr*Di,Ki=(-3*Yt+Nr*(1+3*qt))*Bi,_o=(-gr*Di-(1-Mr)*Ki)/(gr*gr),rs=.5*_o/Zr,il=(1-qt)*rs-2*Yt*Zr*Bi,ve=-2*Ii*il,De=-Ii*Bi,Ye=-Ii*(Yt*(1+qt)*_o+Ur*(1+3*qt)*Bi);return[A/4*(at*(ve+De*oa)+Ye*D(at/U(an))),La]}function Ya(){return(0,l.c)(Hn($n)).scale(239.75)}function di(at,ft,Tt){var kt,Yt,$t;return at?(kt=ii(at,Tt),ft?(Yt=ii(ft,1-Tt),$t=Yt[1]*Yt[1]+Tt*kt[0]*kt[0]*Yt[0]*Yt[0],[[kt[0]*Yt[2]/$t,kt[1]*kt[2]*Yt[0]*Yt[1]/$t],[kt[1]*Yt[1]/$t,-kt[0]*kt[2]*Yt[0]*Yt[2]/$t],[kt[2]*Yt[1]*Yt[2]/$t,-Tt*kt[0]*kt[1]*Yt[0]/$t]]):[[kt[0],0],[kt[1],0],[kt[2],0]]):(Yt=ii(ft,1-Tt),[[0,Yt[0]/Yt[1]],[1/Yt[1],0],[Yt[2]/Yt[1],0]])}function ii(at,ft){var Tt,kt,Yt,$t,qt;if(ft<w)return $t=y(at),kt=g(at),Tt=ft*(at-$t*kt)/4,[$t-Tt*kt,kt+Tt*$t,1-ft*$t*$t/2,at-Tt];if(ft>=1-w)return Tt=(1-ft)/4,kt=z(at),$t=B(at),Yt=1/kt,qt=kt*Y(at),[$t+Tt*(qt-at)/(kt*kt),Yt-Tt*$t*Yt*(qt-at),Yt+Tt*$t*Yt*(qt+at),2*i(p(at))-E+Tt*(qt-at)/kt];var Mr=[1,0,0,0,0,0,0,0,0],Nr=[U(ft),0,0,0,0,0,0,0,0],gr=0;for(kt=U(1-ft),qt=1;v(Nr[gr]/Mr[gr])>w&&gr<8;)Tt=Mr[gr++],Nr[gr]=(Tt-kt)/2,Mr[gr]=(Tt+kt)/2,kt=U(Tt*kt),qt*=2;Yt=qt*Mr[gr]*at;do $t=Nr[gr]*y(kt=Yt)/Mr[gr],Yt=(D($t)+Yt)/2;while(--gr);return[y(Yt),$t=g(Yt),$t/g(Yt-kt),Yt]}function Za(at,ft,Tt){var kt=v(at),Yt=v(ft),$t=Y(Yt);if(kt){var qt=1/y(kt),Mr=1/(C(kt)*C(kt)),Nr=-(Mr+Tt*($t*$t*qt*qt)-1+Tt),gr=(Tt-1)*Mr,Ur=(-Nr+U(Nr*Nr-4*gr))/2;return[oi(i(1/U(Ur)),Tt)*x(at),oi(i(U((Ur/Mr-1)/Tt)),1-Tt)*x(ft)]}return[0,oi(i($t),1-Tt)*x(ft)]}function oi(at,ft){if(!ft)return at;if(ft===1)return c(C(at/2+k));for(var Tt=1,kt=U(1-ft),Yt=U(ft),$t=0;v(Yt)>w;$t++){if(at%A){var qt=i(kt*C(at)/Tt);qt<0&&(qt+=A),at+=qt+~~(at/A)*A}else at+=at;Yt=(Tt+kt)/2,kt=U(Tt*kt),Yt=((Tt=Yt)-kt)/2}return at/(f(2,$t)*Tt)}function Fr(at,ft){var Tt=(I-1)/(I+1),kt=U(1-Tt*Tt),Yt=oi(E,kt*kt),$t=-1,qt=c(C(A/4+v(ft)/2)),Mr=p($t*qt)/U(Tt),Nr=vn(Mr*g($t*at),Mr*y($t*at)),gr=Za(Nr[0],Nr[1],kt*kt);return[-gr[1],(ft>=0?1:-1)*(.5*Yt-gr[0])]}function vn(at,ft){var Tt=at*at,kt=ft+1,Yt=1-Tt-ft*ft;return[.5*((at>=0?E:-E)-S(Yt,2*at)),-.25*c(Yt*Yt+4*Tt)+.5*c(kt*kt+Tt)]}function fn(at,ft){var Tt=ft[0]*ft[0]+ft[1]*ft[1];return[(at[0]*ft[0]+at[1]*ft[1])/Tt,(at[1]*ft[0]-at[0]*ft[1])/Tt]}Fr.invert=function(at,ft){var Tt=(I-1)/(I+1),kt=U(1-Tt*Tt),Yt=oi(E,kt*kt),$t=-1,qt=di(.5*Yt-ft,-at,kt*kt),Mr=fn(qt[0],qt[1]),Nr=S(Mr[1],Mr[0])/$t;return[Nr,2*i(p(.5/$t*c(Tt*Mr[0]*Mr[0]+Tt*Mr[1]*Mr[1])))-E]};function Vn(){return(0,l.c)(Hn(Fr)).scale(151.496)}var Sa=a(61780);function na(at){var ft=y(at),Tt=g(at),kt=aa(at);kt.invert=aa(-at);function Yt($t,qt){var Mr=kt($t,qt);$t=Mr[0],qt=Mr[1];var Nr=y(qt),gr=g(qt),Ur=g($t),Zr=O(ft*Nr+Tt*gr*Ur),an=y(Zr),Cn=v(an)>w?Zr/an:1;return[Cn*Tt*y($t),(v($t)>E?Cn:-Cn)*(ft*gr-Tt*Nr*Ur)]}return Yt.invert=function($t,qt){var Mr=U($t*$t+qt*qt),Nr=-y(Mr),gr=g(Mr),Ur=Mr*gr,Zr=-qt*Nr,an=Mr*ft,Cn=U(Ur*Ur+Zr*Zr-an*an),Zn=S(Ur*an+Zr*Cn,Zr*an-Ur*Cn),oa=(Mr>E?-1:1)*S($t*Nr,Mr*g(Zn)*gr+qt*y(Zn)*Nr);return kt.invert(oa,Zn)},Yt}function aa(at){var ft=y(at),Tt=g(at);return function(kt,Yt){var $t=g(Yt),qt=g(kt)*$t,Mr=y(kt)*$t,Nr=y(Yt);return[S(Mr,qt*Tt-Nr*ft),D(Nr*Tt+qt*ft)]}}function ba(){var at=0,ft=(0,l.U)(na),Tt=ft(at),kt=Tt.rotate,Yt=Tt.stream,$t=(0,Sa.c)();return Tt.parallel=function(qt){if(!arguments.length)return at*F;var Mr=Tt.rotate();return ft(at=qt*N).rotate(Mr)},Tt.rotate=function(qt){return arguments.length?(kt.call(Tt,[qt[0],qt[1]-at*F]),$t.center([-qt[0],-qt[1]]),Tt):(qt=kt.call(Tt),qt[1]+=at*F,qt)},Tt.stream=function(qt){return qt=Yt(qt),qt.sphere=function(){qt.polygonStart();var Mr=.01,Nr=$t.radius(90-Mr)().coordinates[0],gr=Nr.length-1,Ur=-1,Zr;for(qt.lineStart();++Ur<gr;)qt.point((Zr=Nr[Ur])[0],Zr[1]);for(qt.lineEnd(),Nr=$t.radius(90+Mr)().coordinates[0],gr=Nr.length-1,qt.lineStart();--Ur>=0;)qt.point((Zr=Nr[Ur])[0],Zr[1]);qt.lineEnd(),qt.polygonEnd()},qt},Tt.scale(79.4187).parallel(45).clipAngle(179.999)}var Ua=a(84706),fi=a(16016),Vi=3,Dr=D(1-1/Vi)*F,tn=It(0);function zr(at){var ft=Dr*N,Tt=je(A,ft)[0]-je(-A,ft)[0],kt=tn(0,ft)[1],Yt=je(0,ft)[1],$t=P-Yt,qt=M/at,Mr=4/M,Nr=kt+$t*$t*4/M;function gr(Ur,Zr){var an,Cn=v(Zr);if(Cn>ft){var Zn=d(at-1,s(0,_((Ur+A)/qt)));Ur+=A*(at-1)/at-Zn*qt,an=je(Ur,Cn),an[0]=an[0]*M/Tt-M*(at-1)/(2*at)+Zn*M/at,an[1]=kt+(an[1]-Yt)*4*$t/M,Zr<0&&(an[1]=-an[1])}else an=tn(Ur,Zr);return an[0]*=Mr,an[1]/=Nr,an}return gr.invert=function(Ur,Zr){Ur/=Mr,Zr*=Nr;var an=v(Zr);if(an>kt){var Cn=d(at-1,s(0,_((Ur+A)/qt)));Ur=(Ur+A*(at-1)/at-Cn*qt)*Tt/M;var Zn=je.invert(Ur,.25*(an-kt)*M/$t+Yt);return Zn[0]-=A*(at-1)/at-Cn*qt,Zr<0&&(Zn[1]=-Zn[1]),Zn}return tn.invert(Ur,Zr)},gr}function rn(at,ft){return[at,ft&1?90-w:Dr]}function Xn(at,ft){return[at,ft&1?-90+w:-Dr]}function ia(at){return[at[0]*(1-w),at[1]]}function zn(at){var ft=[].concat((0,Ua.ik)(-180,180+at/2,at).map(rn),(0,Ua.ik)(180,-180-at/2,-at).map(Xn));return{type:"Polygon",coordinates:[at===180?ft.map(ia):ft]}}function Ln(){var at=4,ft=(0,l.U)(zr),Tt=ft(at),kt=Tt.stream;return Tt.lobes=function(Yt){return arguments.length?ft(at=+Yt):at},Tt.stream=function(Yt){var $t=Tt.rotate(),qt=kt(Yt),Mr=(Tt.rotate([0,0]),kt(Yt));return Tt.rotate($t),qt.sphere=function(){(0,fi.c)(zn(180/at),Mr)},qt},Tt.scale(239.75)}function Hr(at){var ft=1+at,Tt=y(1/ft),kt=D(Tt),Yt=2*U(A/($t=A+4*kt*ft)),$t,qt=.5*Yt*(ft+U(at*(2+at))),Mr=at*at,Nr=ft*ft;function gr(Ur,Zr){var an=1-y(Zr),Cn,Zn;if(an&&an<2){var oa=E-Zr,fa=25,La;do{var Di=y(oa),Ii=g(oa),Bi=kt+S(Di,ft-Ii),Ki=1+Nr-2*ft*Ii;oa-=La=(oa-Mr*kt-ft*Di+Ki*Bi-.5*an*$t)/(2*ft*Di*Bi)}while(v(La)>R&&--fa>0);Cn=Yt*U(Ki),Zn=Ur*Bi/A}else Cn=Yt*(at+an),Zn=Ur*kt/A;return[Cn*y(Zn),qt-Cn*g(Zn)]}return gr.invert=function(Ur,Zr){var an=Ur*Ur+(Zr-=qt)*Zr,Cn=(1+Nr-an/(Yt*Yt))/(2*ft),Zn=O(Cn),oa=y(Zn),fa=kt+S(oa,ft-Cn);return[D(Ur/U(an))*A/fa,D(1-2*(Zn-Mr*kt-ft*oa+(1+Nr-2*ft*Cn)*fa)/$t)]},gr}function mn(){var at=1,ft=(0,l.U)(Hr),Tt=ft(at);return Tt.ratio=function(kt){return arguments.length?ft(at=+kt):at},Tt.scale(167.774).center([0,18.67])}var cn=.7109889596207567,bn=.0528035274542;function qn(at,ft){return ft>-cn?(at=Pe(at,ft),at[1]+=bn,at):tt(at,ft)}qn.invert=function(at,ft){return ft>-cn?Pe.invert(at,ft-bn):tt.invert(at,ft)};function ua(){return(0,l.c)(qn).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function ea(at,ft){return v(ft)>cn?(at=Pe(at,ft),at[1]-=ft>0?bn:-bn,at):tt(at,ft)}ea.invert=function(at,ft){return v(ft)>cn?Pe.invert(at,ft+(ft>0?bn:-bn)):tt.invert(at,ft)};function Ea(){return(0,l.c)(ea).scale(152.63)}function ya(at,ft,Tt,kt){var Yt=U(4*A/(2*Tt+(1+at-ft/2)*y(2*Tt)+(at+ft)/2*y(4*Tt)+ft/2*y(6*Tt))),$t=U(kt*y(Tt)*U((1+at*g(2*Tt)+ft*g(4*Tt))/(1+at+ft))),qt=Tt*Nr(1);function Mr(Zr){return U(1+at*g(2*Zr)+ft*g(4*Zr))}function Nr(Zr){var an=Zr*Tt;return(2*an+(1+at-ft/2)*y(2*an)+(at+ft)/2*y(4*an)+ft/2*y(6*an))/Tt}function gr(Zr){return Mr(Zr)*y(Zr)}var Ur=function(Zr,an){var Cn=Tt*Te(Nr,qt*y(an)/Tt,an/A);isNaN(Cn)&&(Cn=Tt*x(an));var Zn=Yt*Mr(Cn);return[Zn*$t*Zr/A*g(Cn),Zn/$t*y(Cn)]};return Ur.invert=function(Zr,an){var Cn=Te(gr,an*$t/Yt);return[Zr*A/(g(Cn)*Yt*$t*Mr(Cn)),D(Tt*Nr(Cn/Tt)/qt)]},Tt===0&&(Yt=U(kt/A),Ur=function(Zr,an){return[Zr*Yt,y(an)/Yt]},Ur.invert=function(Zr,an){return[Zr/Yt,D(an*Yt)]}),Ur}function ei(){var at=1,ft=0,Tt=45*N,kt=2,Yt=(0,l.U)(ya),$t=Yt(at,ft,Tt,kt);return $t.a=function(qt){return arguments.length?Yt(at=+qt,ft,Tt,kt):at},$t.b=function(qt){return arguments.length?Yt(at,ft=+qt,Tt,kt):ft},$t.psiMax=function(qt){return arguments.length?Yt(at,ft,Tt=+qt*N,kt):Tt*F},$t.ratio=function(qt){return arguments.length?Yt(at,ft,Tt,kt=+qt):kt},$t.scale(180.739)}function Wa(at,ft,Tt,kt,Yt,$t,qt,Mr,Nr,gr,Ur){if(Ur.nanEncountered)return NaN;var Zr,an,Cn,Zn,oa,fa,La,Di,Ii,Bi;if(Zr=Tt-ft,an=at(ft+Zr*.25),Cn=at(Tt-Zr*.25),isNaN(an)){Ur.nanEncountered=!0;return}if(isNaN(Cn)){Ur.nanEncountered=!0;return}return Zn=Zr*(kt+4*an+Yt)/12,oa=Zr*(Yt+4*Cn+$t)/12,fa=Zn+oa,Bi=(fa-qt)/15,gr>Nr?(Ur.maxDepthCount++,fa+Bi):Math.abs(Bi)<Mr?fa+Bi:(La=ft+Zr*.5,Di=Wa(at,ft,La,kt,an,Yt,Zn,Mr*.5,Nr,gr+1,Ur),isNaN(Di)?(Ur.nanEncountered=!0,NaN):(Ii=Wa(at,La,Tt,Yt,Cn,$t,oa,Mr*.5,Nr,gr+1,Ur),isNaN(Ii)?(Ur.nanEncountered=!0,NaN):Di+Ii))}function ni(at,ft,Tt,kt,Yt){var $t={maxDepthCount:0,nanEncountered:!1};Yt===void 0&&(Yt=20);var qt=at(ft),Mr=at(.5*(ft+Tt)),Nr=at(Tt),gr=(qt+4*Mr+Nr)*(Tt-ft)/6,Ur=Wa(at,ft,Tt,qt,Mr,Nr,gr,kt,Yt,1,$t);return Ur}function si(at,ft,Tt){function kt(Cn){return at+(1-at)*f(1-f(Cn,ft),1/ft)}function Yt(Cn){return ni(kt,0,Cn,1e-4)}for(var $t=1/Yt(1),qt=1e3,Mr=(1+1e-8)*$t,Nr=[],gr=0;gr<=qt;gr++)Nr.push(Yt(gr/qt)*Mr);function Ur(Cn){var Zn=0,oa=qt,fa=qt>>1;do Nr[fa]>Cn?oa=fa:Zn=fa,fa=Zn+oa>>1;while(fa>Zn);var La=Nr[fa+1]-Nr[fa];return La&&(La=(Cn-Nr[fa+1])/La),(fa+1+La)/qt}var Zr=2*Ur(1)/A*$t/Tt,an=function(Cn,Zn){var oa=Ur(v(y(Zn))),fa=kt(oa)*Cn;return oa/=Zr,[fa,Zn>=0?oa:-oa]};return an.invert=function(Cn,Zn){var oa;return Zn*=Zr,v(Zn)<1&&(oa=x(Zn)*D(Yt(v(Zn))*$t)),[Cn/kt(v(Zn)),oa]},an}function Uo(){var at=0,ft=2.5,Tt=1.183136,kt=(0,l.U)(si),Yt=kt(at,ft,Tt);return Yt.alpha=function($t){return arguments.length?kt(at=+$t,ft,Tt):at},Yt.k=function($t){return arguments.length?kt(at,ft=+$t,Tt):ft},Yt.gamma=function($t){return arguments.length?kt(at,ft,Tt=+$t):Tt},Yt.scale(152.63)}function Fo(at,ft){return v(at[0]-ft[0])<w&&v(at[1]-ft[1])<w}function nu(at,ft){for(var Tt=-1,kt=at.length,Yt=at[0],$t,qt,Mr,Nr=[];++Tt<kt;){$t=at[Tt],qt=($t[0]-Yt[0])/ft,Mr=($t[1]-Yt[1])/ft;for(var gr=0;gr<ft;++gr)Nr.push([Yt[0]+gr*qt,Yt[1]+gr*Mr]);Yt=$t}return Nr.push($t),Nr}function cc(at){var ft=[],Tt,kt,Yt,$t,qt,Mr,Nr,gr=at[0].length;for(Nr=0;Nr<gr;++Nr)Tt=at[0][Nr],kt=Tt[0][0],Yt=Tt[0][1],$t=Tt[1][1],qt=Tt[2][0],Mr=Tt[2][1],ft.push(nu([[kt+w,Yt+w],[kt+w,$t-w],[qt-w,$t-w],[qt-w,Mr+w]],30));for(Nr=at[1].length-1;Nr>=0;--Nr)Tt=at[1][Nr],kt=Tt[0][0],Yt=Tt[0][1],$t=Tt[1][1],qt=Tt[2][0],Mr=Tt[2][1],ft.push(nu([[qt-w,Mr-w],[qt-w,$t+w],[kt+w,$t+w],[kt+w,Yt-w]],30));return{type:"Polygon",coordinates:[(0,Ua.Uf)(ft)]}}function jl(at,ft,Tt){var kt,Yt;function $t(Nr,gr){for(var Ur=gr<0?-1:1,Zr=ft[+(gr<0)],an=0,Cn=Zr.length-1;an<Cn&&Nr>Zr[an][2][0];++an);var Zn=at(Nr-Zr[an][1][0],gr);return Zn[0]+=at(Zr[an][1][0],Ur*gr>Ur*Zr[an][0][1]?Zr[an][0][1]:gr)[0],Zn}Tt?$t.invert=Tt($t):at.invert&&($t.invert=function(Nr,gr){for(var Ur=Yt[+(gr<0)],Zr=ft[+(gr<0)],an=0,Cn=Ur.length;an<Cn;++an){var Zn=Ur[an];if(Zn[0][0]<=Nr&&Nr<Zn[1][0]&&Zn[0][1]<=gr&&gr<Zn[1][1]){var oa=at.invert(Nr-at(Zr[an][1][0],0)[0],gr);return oa[0]+=Zr[an][1][0],Fo($t(oa[0],oa[1]),[Nr,gr])?oa:null}}});var qt=(0,l.c)($t),Mr=qt.stream;return qt.stream=function(Nr){var gr=qt.rotate(),Ur=Mr(Nr),Zr=(qt.rotate([0,0]),Mr(Nr));return qt.rotate(gr),Ur.sphere=function(){(0,fi.c)(kt,Zr)},Ur},qt.lobes=function(Nr){return arguments.length?(kt=cc(Nr),ft=Nr.map(function(gr){return gr.map(function(Ur){return[[Ur[0][0]*N,Ur[0][1]*N],[Ur[1][0]*N,Ur[1][1]*N],[Ur[2][0]*N,Ur[2][1]*N]]})}),Yt=ft.map(function(gr){return gr.map(function(Ur){var Zr=at(Ur[0][0],Ur[0][1])[0],an=at(Ur[2][0],Ur[2][1])[0],Cn=at(Ur[1][0],Ur[0][1])[1],Zn=at(Ur[1][0],Ur[1][1])[1],oa;return Cn>Zn&&(oa=Cn,Cn=Zn,Zn=oa),[[Zr,Cn],[an,Zn]]})}),qt):ft.map(function(gr){return gr.map(function(Ur){return[[Ur[0][0]*F,Ur[0][1]*F],[Ur[1][0]*F,Ur[1][1]*F],[Ur[2][0]*F,Ur[2][1]*F]]})})},ft!=null&&qt.lobes(ft),qt}var Wh=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function J1(){return jl(We,Wh).scale(160.857)}var ev=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Ao(){return jl(ea,ev).scale(152.63)}var sd=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function tv(){return jl(Pe,sd).scale(169.529)}var ml=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function uc(){return jl(Pe,ml).scale(169.529).rotate([20,0])}var xf=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function Kh(){return jl(qn,xf,we).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var Zs=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function Xh(){return jl(tt,Zs).scale(152.63).rotate([-20,0])}function Qs(at,ft){return[3/M*at*U(A*A/3-ft*ft),ft]}Qs.invert=function(at,ft){return[M/3*at/U(A*A/3-ft*ft),ft]};function ul(){return(0,l.c)(Qs).scale(158.837)}function qh(at){function ft(Tt,kt){if(v(v(kt)-E)<w)return[0,kt<0?-2:2];var Yt=y(kt),$t=f((1+Yt)/(1-Yt),at/2),qt=.5*($t+1/$t)+g(Tt*=at);return[2*y(Tt)/qt,($t-1/$t)/qt]}return ft.invert=function(Tt,kt){var Yt=v(kt);if(v(Yt-2)<w)return Tt?null:[0,x(kt)*E];if(Yt>2)return null;Tt/=2,kt/=2;var $t=Tt*Tt,qt=kt*kt,Mr=2*kt/(1+$t+qt);return Mr=f((1+Mr)/(1-Mr),1/at),[S(2*Tt,1-$t-qt)/at,D((Mr-1)/(Mr+1))]},ft}function kl(){var at=.5,ft=(0,l.U)(qh),Tt=ft(at);return Tt.spacing=function(kt){return arguments.length?ft(at=+kt):at},Tt.scale(124.75)}var bs=A/I;function Tc(at,ft){return[at*(1+U(g(ft)))/2,ft/(g(ft/2)*g(at/6))]}Tc.invert=function(at,ft){var Tt=v(at),kt=v(ft),Yt=w,$t=E;kt<bs?$t*=kt/bs:Yt+=6*O(bs/kt);for(var qt=0;qt<25;qt++){var Mr=y($t),Nr=U(g($t)),gr=y($t/2),Ur=g($t/2),Zr=y(Yt/6),an=g(Yt/6),Cn=.5*Yt*(1+Nr)-Tt,Zn=$t/(Ur*an)-kt,oa=Nr?-.25*Yt*Mr/Nr:0,fa=.5*(1+Nr),La=(1+.5*$t*gr/Ur)/(Ur*an),Di=$t/Ur*(Zr/6)/(an*an),Ii=oa*Di-La*fa,Bi=(Cn*Di-Zn*fa)/Ii,Ki=(Zn*oa-Cn*La)/Ii;if($t-=Bi,Yt-=Ki,v(Bi)<w&&v(Ki)<w)break}return[at<0?-Yt:Yt,ft<0?-$t:$t]};function Zh(){return(0,l.c)(Tc).scale(97.2672)}function Ac(at,ft){var Tt=at*at,kt=ft*ft;return[at*(.975534+kt*(-.119161+Tt*-.0143059+kt*-.0547009)),ft*(1.00384+Tt*(.0802894+kt*-.02855+Tt*199025e-9)+kt*(.0998909+kt*-.0491032))]}Ac.invert=function(at,ft){var Tt=x(at)*A,kt=ft/2,Yt=50;do{var $t=Tt*Tt,qt=kt*kt,Mr=Tt*kt,Nr=Tt*(.975534+qt*(-.119161+$t*-.0143059+qt*-.0547009))-at,gr=kt*(1.00384+$t*(.0802894+qt*-.02855+$t*199025e-9)+qt*(.0998909+qt*-.0491032))-ft,Ur=.975534-qt*(.119161+3*$t*.0143059+qt*.0547009),Zr=-Mr*(2*.119161+4*.0547009*qt+2*.0143059*$t),an=Mr*(2*.0802894+4*199025e-9*$t+2*-.02855*qt),Cn=1.00384+$t*(.0802894+199025e-9*$t)+qt*(3*(.0998909-.02855*$t)-5*.0491032*qt),Zn=Zr*an-Cn*Ur,oa=(gr*Zr-Nr*Cn)/Zn,fa=(Nr*an-gr*Ur)/Zn;Tt-=oa,kt-=fa}while((v(oa)>w||v(fa)>w)&&--Yt>0);return Yt&&[Tt,kt]};function Am(){return(0,l.c)(Ac).scale(139.98)}function ld(at,ft){return[y(at)/g(ft),C(ft)*g(at)]}ld.invert=function(at,ft){var Tt=at*at,kt=ft*ft,Yt=kt+1,$t=Tt+Yt,qt=at?L*U(($t-U($t*$t-4*Tt))/Tt):1/U(Yt);return[D(at*qt),x(ft)*O(qt)]};function Ml(){return(0,l.c)(ld).scale(144.049).clipAngle(89.999)}function rv(at){var ft=g(at),Tt=C(k+at/2);function kt(Yt,$t){var qt=$t-at,Mr=v(qt)<w?Yt*ft:v(Mr=k+$t/2)<w||v(v(Mr)-E)<w?0:Yt*qt/c(C(Mr)/Tt);return[Mr,qt]}return kt.invert=function(Yt,$t){var qt,Mr=$t+at;return[v($t)<w?Yt/ft:v(qt=k+Mr/2)<w||v(v(qt)-E)<w?0:Yt*c(C(qt)/Tt)/$t,Mr]},kt}function bf(){return ht(rv).parallel(40).scale(158.837)}function cd(at,ft){return[at,1.25*c(C(k+.4*ft))]}cd.invert=function(at,ft){return[at,2.5*i(p(.8*ft))-.625*A]};function Ef(){return(0,l.c)(cd).scale(108.318)}function Cm(at){var ft=at.length-1;function Tt(kt,Yt){for(var $t=g(Yt),qt=2/(1+$t*g(kt)),Mr=qt*$t*y(kt),Nr=qt*y(Yt),gr=ft,Ur=at[gr],Zr=Ur[0],an=Ur[1],Cn;--gr>=0;)Ur=at[gr],Zr=Ur[0]+Mr*(Cn=Zr)-Nr*an,an=Ur[1]+Mr*an+Nr*Cn;return Zr=Mr*(Cn=Zr)-Nr*an,an=Mr*an+Nr*Cn,[Zr,an]}return Tt.invert=function(kt,Yt){var $t=20,qt=kt,Mr=Yt;do{for(var Nr=ft,gr=at[Nr],Ur=gr[0],Zr=gr[1],an=0,Cn=0,Zn;--Nr>=0;)gr=at[Nr],an=Ur+qt*(Zn=an)-Mr*Cn,Cn=Zr+qt*Cn+Mr*Zn,Ur=gr[0]+qt*(Zn=Ur)-Mr*Zr,Zr=gr[1]+qt*Zr+Mr*Zn;an=Ur+qt*(Zn=an)-Mr*Cn,Cn=Zr+qt*Cn+Mr*Zn,Ur=qt*(Zn=Ur)-Mr*Zr-kt,Zr=qt*Zr+Mr*Zn-Yt;var oa=an*an+Cn*Cn,fa,La;qt-=fa=(Ur*an+Zr*Cn)/oa,Mr-=La=(Zr*an-Ur*Cn)/oa}while(v(fa)+v(La)>w*w&&--$t>0);if($t){var Di=U(qt*qt+Mr*Mr),Ii=2*i(Di*.5),Bi=y(Ii);return[S(qt*Bi,Di*g(Ii)),Di?D(Mr*Bi/Di):0]}},Tt}var Jg=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],Qh=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],km=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],Sf=[[.9245,0],[0,0],[.01943,0]],t1=[[.721316,0],[0,0],[-.00881625,-.00617325]];function nv(){return wf(Jg,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function ey(){return wf(Qh,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function ty(){return wf(km,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function eh(){return wf(Sf,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function bu(){return wf(t1,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function wf(at,ft){var Tt=(0,l.c)(Cm(at)).rotate(ft).clipAngle(90),kt=(0,Qe.c)(ft),Yt=Tt.center;return delete Tt.rotate,Tt.center=function($t){return arguments.length?Yt(kt($t)):kt.invert(Yt())},Tt}var Jh=U(6),Qp=U(7);function Jp(at,ft){var Tt=D(7*y(ft)/(3*Jh));return[Jh*at*(2*g(2*Tt/3)-1)/Qp,9*y(Tt/3)/Qp]}Jp.invert=function(at,ft){var Tt=3*D(ft*Qp/9);return[at*Qp/(Jh*(2*g(2*Tt/3)-1)),D(y(Tt)*3*Jh/7)]};function Mm(){return(0,l.c)(Jp).scale(164.859)}function Ud(at,ft){for(var Tt=(1+L)*y(ft),kt=ft,Yt=0,$t;Yt<25&&(kt-=$t=(y(kt/2)+y(kt)-Tt)/(.5*g(kt/2)+g(kt)),!(v($t)<w));Yt++);return[at*(1+2*g(kt)/g(kt/2))/(3*I),2*U(3)*y(kt/2)/U(2+I)]}Ud.invert=function(at,ft){var Tt=ft*U(2+I)/(2*U(3)),kt=2*D(Tt);return[3*I*at/(1+2*g(kt)/g(kt/2)),D((Tt+y(kt))/(1+L))]};function ep(){return(0,l.c)(Ud).scale(188.209)}function Yn(at,ft){for(var Tt=U(6/(4+A)),kt=(1+A/4)*y(ft),Yt=ft/2,$t=0,qt;$t<25&&(Yt-=qt=(Yt/2+y(Yt)-kt)/(.5+g(Yt)),!(v(qt)<w));$t++);return[Tt*(.5+g(Yt))*at/1.5,Tt*Yt]}Yn.invert=function(at,ft){var Tt=U(6/(4+A)),kt=ft/Tt;return v(v(kt)-E)<w&&(kt=kt<0?-E:E),[1.5*at/(Tt*(.5+g(kt))),D((kt/2+y(kt))/(1+A/4))]};function ka(){return(0,l.c)(Yn).scale(166.518)}var xa=a(47984);function Ni(at,ft){var Tt=ft*ft,kt=Tt*Tt,Yt=Tt*kt;return[at*(.84719-.13063*Tt+Yt*Yt*(-.04515+.05494*Tt-.02326*kt+.00331*Yt)),ft*(1.01183+kt*kt*(-.02625+.01926*Tt-.00396*kt))]}Ni.invert=function(at,ft){var Tt=ft,kt=25,Yt,$t,qt,Mr;do $t=Tt*Tt,qt=$t*$t,Tt-=Yt=(Tt*(1.01183+qt*qt*(-.02625+.01926*$t-.00396*qt))-ft)/(1.01183+qt*qt*(-.23625+.21186*$t+-.05148*qt));while(v(Yt)>R&&--kt>0);return $t=Tt*Tt,qt=$t*$t,Mr=$t*qt,[at/(.84719-.13063*$t+Mr*Mr*(-.04515+.05494*$t-.02326*qt+.00331*Mr)),Tt]};function eo(){return(0,l.c)(Ni).scale(175.295)}function $o(at,ft){return[at*(1+g(ft))/2,2*(ft-C(ft/2))]}$o.invert=function(at,ft){for(var Tt=ft/2,kt=0,Yt=1/0;kt<10&&v(Yt)>w;++kt){var $t=g(ft/2);ft-=Yt=(ft-C(ft/2)-Tt)/(1-.5/($t*$t))}return[2*at/(1+g(ft)),ft]};function Hs(){return(0,l.c)($o).scale(152.63)}var vs=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function ud(){return jl(oe(1/0),vs).rotate([20,0]).scale(152.63)}function dd(at,ft){var Tt=y(ft),kt=g(ft),Yt=x(at);if(at===0||v(ft)===E)return[0,ft];if(ft===0)return[at,0];if(v(at)===E)return[at*kt,E*Tt];var $t=A/(2*at)-2*at/A,qt=2*ft/A,Mr=(1-qt*qt)/(Tt-qt),Nr=$t*$t,gr=Mr*Mr,Ur=1+Nr/gr,Zr=1+gr/Nr,an=($t*Tt/Mr-$t/2)/Ur,Cn=(gr*Tt/Nr+Mr/2)/Zr,Zn=an*an+kt*kt/Ur,oa=Cn*Cn-(gr*Tt*Tt/Nr+Mr*Tt-1)/Zr;return[E*(an+U(Zn)*Yt),E*(Cn+U(oa<0?0:oa)*x(-ft*$t)*Yt)]}dd.invert=function(at,ft){at/=E,ft/=E;var Tt=at*at,kt=ft*ft,Yt=Tt+kt,$t=A*A;return[at?(Yt-1+U((1-Yt)*(1-Yt)+4*Tt))/(2*at)*E:0,Te(function(qt){return Yt*(A*y(qt)-2*qt)*A+4*qt*qt*(ft-y(qt))+2*A*qt-$t*ft},0)]};function Uc(){return(0,l.c)(dd).scale(127.267)}var $d=1.0148,zu=.23185,ws=-.14499,tp=.02406,r1=$d,cs=5*zu,rp=7*ws,th=9*tp,Yl=1.790857183;function n1(at,ft){var Tt=ft*ft;return[at,ft*($d+Tt*Tt*(zu+Tt*(ws+tp*Tt)))]}n1.invert=function(at,ft){ft>Yl?ft=Yl:ft<-Yl&&(ft=-Yl);var Tt=ft,kt;do{var Yt=Tt*Tt;Tt-=kt=(Tt*($d+Yt*Yt*(zu+Yt*(ws+tp*Yt)))-ft)/(r1+Yt*Yt*(cs+Yt*(rp+th*Yt)))}while(v(kt)>w);return[at,Tt]};function np(){return(0,l.c)(n1).scale(139.319)}function a1(at,ft){if(v(ft)<w)return[at,0];var Tt=C(ft),kt=at*y(ft);return[y(kt)/Tt,ft+(1-g(kt))/Tt]}a1.invert=function(at,ft){if(v(ft)<w)return[at,0];var Tt=at*at+ft*ft,kt=ft*.5,Yt=10,$t;do{var qt=C(kt),Mr=1/g(kt),Nr=Tt-2*ft*kt+kt*kt;kt-=$t=(qt*Nr+2*(kt-ft))/(2+Nr*Mr*Mr+2*(kt-ft)*qt)}while(v($t)>w&&--Yt>0);return qt=C(kt),[(v(ft)<v(kt+1/qt)?D(at*qt):x(ft)*x(at)*(O(v(at*qt))+E))/y(kt),kt]};function i1(){return(0,l.c)(a1).scale(103.74)}var Hd=a(13696),ap=a(27284);function o1(at,ft){var Tt=e0(at[1],at[0]),kt=e0(ft[1],ft[0]),Yt=t0(Tt,kt),$t=Tf(Tt)/Tf(kt);return rh([1,0,at[0][0],0,1,at[0][1]],rh([$t,0,0,0,$t,0],rh([g(Yt),y(Yt),0,-y(Yt),g(Yt),0],[1,0,-ft[0][0],0,1,-ft[0][1]])))}function ip(at){var ft=1/(at[0]*at[4]-at[1]*at[3]);return[ft*at[4],-ft*at[1],ft*(at[1]*at[5]-at[2]*at[4]),-ft*at[3],ft*at[0],ft*(at[2]*at[3]-at[0]*at[5])]}function rh(at,ft){return[at[0]*ft[0]+at[1]*ft[3],at[0]*ft[1]+at[1]*ft[4],at[0]*ft[2]+at[1]*ft[5]+at[2],at[3]*ft[0]+at[4]*ft[3],at[3]*ft[1]+at[4]*ft[4],at[3]*ft[2]+at[4]*ft[5]+at[5]]}function e0(at,ft){return[at[0]-ft[0],at[1]-ft[1]]}function Tf(at){return U(at[0]*at[0]+at[1]*at[1])}function t0(at,ft){return S(at[0]*ft[1]-at[1]*ft[0],at[0]*ft[0]+at[1]*ft[1])}function ts(at,ft,Tt){kt(at,{transform:null});function kt(gr,Ur){if(gr.edges=av(gr.face),Ur.face){var Zr=gr.shared=Rm(gr.face,Ur.face),an=o1(Zr.map(Ur.project),Zr.map(gr.project));gr.transform=Ur.transform?rh(Ur.transform,an):an;for(var Cn=Ur.edges,Zn=0,oa=Cn.length;Zn<oa;++Zn)$c(Zr[0],Cn[Zn][1])&&$c(Zr[1],Cn[Zn][0])&&(Cn[Zn]=gr),$c(Zr[0],Cn[Zn][0])&&$c(Zr[1],Cn[Zn][1])&&(Cn[Zn]=gr);for(Cn=gr.edges,Zn=0,oa=Cn.length;Zn<oa;++Zn)$c(Zr[0],Cn[Zn][0])&&$c(Zr[1],Cn[Zn][1])&&(Cn[Zn]=Ur),$c(Zr[0],Cn[Zn][1])&&$c(Zr[1],Cn[Zn][0])&&(Cn[Zn]=Ur)}else gr.transform=Ur.transform;return gr.children&&gr.children.forEach(function(fa){kt(fa,gr)}),gr}function Yt(gr,Ur){var Zr=ft(gr,Ur),an=Zr.project([gr*F,Ur*F]),Cn;return(Cn=Zr.transform)?[Cn[0]*an[0]+Cn[1]*an[1]+Cn[2],-(Cn[3]*an[0]+Cn[4]*an[1]+Cn[5])]:(an[1]=-an[1],an)}nh(at)&&(Yt.invert=function(gr,Ur){var Zr=$t(at,[gr,-Ur]);return Zr&&(Zr[0]*=N,Zr[1]*=N,Zr)});function $t(gr,Ur){var Zr=gr.project.invert,an=gr.transform,Cn=Ur;if(an&&(an=ip(an),Cn=[an[0]*Cn[0]+an[1]*Cn[1]+an[2],an[3]*Cn[0]+an[4]*Cn[1]+an[5]]),Zr&&gr===qt(Zn=Zr(Cn)))return Zn;for(var Zn,oa=gr.children,fa=0,La=oa&&oa.length;fa<La;++fa)if(Zn=$t(oa[fa],Ur))return Zn}function qt(gr){return ft(gr[0]*N,gr[1]*N)}var Mr=(0,l.c)(Yt),Nr=Mr.stream;return Mr.stream=function(gr){var Ur=Mr.rotate(),Zr=Nr(gr),an=(Mr.rotate([0,0]),Nr(gr));return Mr.rotate(Ur),Zr.sphere=function(){an.polygonStart(),an.lineStart(),Af(an,at),an.lineEnd(),an.polygonEnd()},Zr},Mr.angle(Tt==null?-30:Tt*F)}function Af(at,ft,Tt){var kt,Yt=ft.edges,$t=Yt.length,qt,Mr={type:"MultiPoint",coordinates:ft.face},Nr=ft.face.filter(function(oa){return v(oa[1])!==90}),gr=(0,Hd.c)({type:"MultiPoint",coordinates:Nr}),Ur=!1,Zr=-1,an=gr[1][0]-gr[0][0],Cn=an===180||an===360?[(gr[0][0]+gr[1][0])/2,(gr[0][1]+gr[1][1])/2]:(0,Ve.c)(Mr);if(Tt)for(;++Zr<$t&&Yt[Zr]!==Tt;);++Zr;for(var Zn=0;Zn<$t;++Zn)qt=Yt[(Zn+Zr)%$t],Array.isArray(qt)?(Ur||(at.point((kt=(0,ap.c)(qt[0],Cn)(w))[0],kt[1]),Ur=!0),at.point((kt=(0,ap.c)(qt[1],Cn)(w))[0],kt[1])):(Ur=!1,qt!==Tt&&Af(at,qt,ft))}function $c(at,ft){return at&&ft&&at[0]===ft[0]&&at[1]===ft[1]}function Rm(at,ft){for(var Tt,kt,Yt=at.length,$t=null,qt=0;qt<Yt;++qt){Tt=at[qt];for(var Mr=ft.length;--Mr>=0;)if(kt=ft[Mr],Tt[0]===kt[0]&&Tt[1]===kt[1]){if($t)return[$t,Tt];$t=Tt}}}function av(at){for(var ft=at.length,Tt=[],kt=at[ft-1],Yt=0;Yt<ft;++Yt)Tt.push([kt,kt=at[Yt]]);return Tt}function nh(at){return at.project.invert||at.children&&at.children.some(nh)}var Uu=a(53285),ah=[[0,90],[-90,0],[0,0],[90,0],[180,0],[0,-90]],Xs=[[0,2,1],[0,3,2],[5,1,2],[5,2,3],[0,1,4],[0,4,3],[5,4,1],[5,3,4]].map(function(at){return at.map(function(ft){return ah[ft]})});function r0(at){at=at||function(Tt){var kt=(0,Ve.c)({type:"MultiPoint",coordinates:Tt});return(0,Uu.c)().scale(1).translate([0,0]).rotate([-kt[0],-kt[1]])};var ft=Xs.map(function(Tt){return{face:Tt,project:at(Tt)}});return[-1,0,0,1,0,1,4,5].forEach(function(Tt,kt){var Yt=ft[Tt];Yt&&(Yt.children||(Yt.children=[])).push(ft[kt])}),ts(ft[0],function(Tt,kt){return ft[Tt<-A/2?kt<0?6:4:Tt<0?kt<0?2:0:Tt<A/2?kt<0?3:1:kt<0?7:5]}).angle(-30).scale(101.858).center([0,45])}var Eu=2/U(3);function Vd(at,ft){var Tt=je(at,ft);return[Tt[0]*Eu,Tt[1]]}Vd.invert=function(at,ft){return je.invert(at/Eu,ft)};function ih(at){at=at||function(Tt){var kt=(0,Ve.c)({type:"MultiPoint",coordinates:Tt});return(0,l.c)(Vd).translate([0,0]).scale(1).rotate(kt[1]>0?[-kt[0],0]:[180-kt[0],180])};var ft=Xs.map(function(Tt){return{face:Tt,project:at(Tt)}});return[-1,0,0,1,0,1,4,5].forEach(function(Tt,kt){var Yt=ft[Tt];Yt&&(Yt.children||(Yt.children=[])).push(ft[kt])}),ts(ft[0],function(Tt,kt){return ft[Tt<-A/2?kt<0?6:4:Tt<0?kt<0?2:0:Tt<A/2?kt<0?3:1:kt<0?7:5]}).angle(-30).scale(121.906).center([0,48.5904])}function Os(at){at=at||function(qt){var Mr=qt.length===6?(0,Ve.c)({type:"MultiPoint",coordinates:qt}):qt[0];return(0,Uu.c)().scale(1).translate([0,0]).rotate([-Mr[0],-Mr[1]])};var ft=Xs.map(function(qt){for(var Mr=qt.map(au),Nr=Mr.length,gr=Mr[Nr-1],Ur,Zr=[],an=0;an<Nr;++an)Ur=Mr[an],Zr.push($u([gr[0]*.9486832980505138+Ur[0]*.31622776601683794,gr[1]*.9486832980505138+Ur[1]*.31622776601683794,gr[2]*.9486832980505138+Ur[2]*.31622776601683794]),$u([Ur[0]*.9486832980505138+gr[0]*.31622776601683794,Ur[1]*.9486832980505138+gr[1]*.31622776601683794,Ur[2]*.9486832980505138+gr[2]*.31622776601683794])),gr=Ur;return Zr}),Tt=[],kt=[-1,0,0,1,0,1,4,5];ft.forEach(function(qt,Mr){for(var Nr=Xs[Mr],gr=Nr.length,Ur=Tt[Mr]=[],Zr=0;Zr<gr;++Zr)ft.push([Nr[Zr],qt[(Zr*2+2)%(2*gr)],qt[(Zr*2+1)%(2*gr)]]),kt.push(Mr),Ur.push(Gd(au(qt[(Zr*2+2)%(2*gr)]),au(qt[(Zr*2+1)%(2*gr)])))});var Yt=ft.map(function(qt){return{project:at(qt),face:qt}});kt.forEach(function(qt,Mr){var Nr=Yt[qt];Nr&&(Nr.children||(Nr.children=[])).push(Yt[Mr])});function $t(qt,Mr){var Nr=g(Mr),gr=[Nr*g(qt),Nr*y(qt),y(Mr)],Ur=qt<-A/2?Mr<0?6:4:qt<0?Mr<0?2:0:qt<A/2?Mr<0?3:1:Mr<0?7:5,Zr=Tt[Ur];return Yt[Ds(Zr[0],gr)<0?8+3*Ur:Ds(Zr[1],gr)<0?8+3*Ur+1:Ds(Zr[2],gr)<0?8+3*Ur+2:Ur]}return ts(Yt[0],$t).angle(-30).scale(110.625).center([0,45])}function Ds(at,ft){for(var Tt=0,kt=at.length,Yt=0;Tt<kt;++Tt)Yt+=at[Tt]*ft[Tt];return Yt}function Gd(at,ft){return[at[1]*ft[2]-at[2]*ft[1],at[2]*ft[0]-at[0]*ft[2],at[0]*ft[1]-at[1]*ft[0]]}function $u(at){return[S(at[1],at[0])*F,D(s(-1,d(1,at[2])))*F]}function au(at){var ft=at[0]*N,Tt=at[1]*N,kt=g(Tt);return[kt*g(ft),kt*y(ft),y(Tt)]}function n0(){}function iv(at){if((Tt=at.length)<4)return!1;for(var ft=0,Tt,kt=at[Tt-1][1]*at[0][0]-at[Tt-1][0]*at[0][1];++ft<Tt;)kt+=at[ft-1][1]*at[ft][0]-at[ft-1][0]*at[ft][1];return kt<=0}function a0(at,ft){for(var Tt=ft[0],kt=ft[1],Yt=!1,$t=0,qt=at.length,Mr=qt-1;$t<qt;Mr=$t++){var Nr=at[$t],gr=Nr[0],Ur=Nr[1],Zr=at[Mr],an=Zr[0],Cn=Zr[1];Ur>kt^Cn>kt&&Tt<(an-gr)*(kt-Ur)/(Cn-Ur)+gr&&(Yt=!Yt)}return Yt}function ov(at,ft){var Tt=ft.stream,kt;if(!Tt)throw new Error("invalid projection");switch(at&&at.type){case"Feature":kt=oh;break;case"FeatureCollection":kt=op;break;default:kt=jd;break}return kt(at,Tt)}function op(at,ft){return{type:"FeatureCollection",features:at.features.map(function(Tt){return oh(Tt,ft)})}}function oh(at,ft){return{type:"Feature",id:at.id,properties:at.properties,geometry:jd(at.geometry,ft)}}function sp(at,ft){return{type:"GeometryCollection",geometries:at.geometries.map(function(Tt){return jd(Tt,ft)})}}function jd(at,ft){if(!at)return null;if(at.type==="GeometryCollection")return sp(at,ft);var Tt;switch(at.type){case"Point":Tt=lp;break;case"MultiPoint":Tt=lp;break;case"LineString":Tt=Nm;break;case"MultiLineString":Tt=Nm;break;case"Polygon":Tt=i0;break;case"MultiPolygon":Tt=i0;break;case"Sphere":Tt=i0;break;default:return null}return(0,fi.c)(at,ft(Tt)),Tt.result()}var Js=[],iu=[],lp={point:function(at,ft){Js.push([at,ft])},result:function(){var at=Js.length?Js.length<2?{type:"Point",coordinates:Js[0]}:{type:"MultiPoint",coordinates:Js}:null;return Js=[],at}},Nm={lineStart:n0,point:function(at,ft){Js.push([at,ft])},lineEnd:function(){Js.length&&(iu.push(Js),Js=[])},result:function(){var at=iu.length?iu.length<2?{type:"LineString",coordinates:iu[0]}:{type:"MultiLineString",coordinates:iu}:null;return iu=[],at}},i0={polygonStart:n0,lineStart:n0,point:function(at,ft){Js.push([at,ft])},lineEnd:function(){var at=Js.length;if(at){do Js.push(Js[0].slice());while(++at<4);iu.push(Js),Js=[]}},polygonEnd:n0,result:function(){if(!iu.length)return null;var at=[],ft=[];return iu.forEach(function(Tt){iv(Tt)?at.push([Tt]):ft.push(Tt)}),ft.forEach(function(Tt){var kt=Tt[0];at.some(function(Yt){if(a0(Yt[0],kt))return Yt.push(Tt),!0})||at.push([Tt])}),iu=[],at.length?at.length>1?{type:"MultiPolygon",coordinates:at}:{type:"Polygon",coordinates:at[0]}:null}};function Yd(at){var ft=at(E,0)[0]-at(-E,0)[0];function Tt(kt,Yt){var $t=v(kt)<E,qt=at($t?kt:kt>0?kt-A:kt+A,Yt),Mr=(qt[0]-qt[1])*L,Nr=(qt[0]+qt[1])*L;if($t)return[Mr,Nr];var gr=ft*L,Ur=Mr>0^Nr>0?-1:1;return[Ur*Mr-x(Nr)*gr,Ur*Nr-x(Mr)*gr]}return at.invert&&(Tt.invert=function(kt,Yt){var $t=(kt+Yt)*L,qt=(Yt-kt)*L,Mr=v($t)<.5*ft&&v(qt)<.5*ft;if(!Mr){var Nr=ft*L,gr=$t>0^qt>0?-1:1,Ur=-gr*kt+(qt>0?1:-1)*Nr,Zr=-gr*Yt+($t>0?1:-1)*Nr;$t=(-Ur-Zr)*L,qt=(Ur-Zr)*L}var an=at.invert($t,qt);return Mr||(an[0]+=$t>0?A:-A),an}),(0,l.c)(Tt).rotate([-90,-90,45]).clipAngle(179.999)}function s1(){return Yd($n).scale(176.423)}function cp(){return Yd(Fr).scale(111.48)}function sv(at,ft){if(!(0<=(ft=+ft)&&ft<=20))throw new Error("invalid digits");function Tt(gr){var Ur=gr.length,Zr=2,an=new Array(Ur);for(an[0]=+gr[0].toFixed(ft),an[1]=+gr[1].toFixed(ft);Zr<Ur;)an[Zr]=gr[Zr],++Zr;return an}function kt(gr){return gr.map(Tt)}function Yt(gr){for(var Ur=Tt(gr[0]),Zr=[Ur],an=1;an<gr.length;an++){var Cn=Tt(gr[an]);(Cn.length>2||Cn[0]!=Ur[0]||Cn[1]!=Ur[1])&&(Zr.push(Cn),Ur=Cn)}return Zr.length===1&&gr.length>1&&Zr.push(Tt(gr[gr.length-1])),Zr}function $t(gr){return gr.map(Yt)}function qt(gr){if(gr==null)return gr;var Ur;switch(gr.type){case"GeometryCollection":Ur={type:"GeometryCollection",geometries:gr.geometries.map(qt)};break;case"Point":Ur={type:"Point",coordinates:Tt(gr.coordinates)};break;case"MultiPoint":Ur={type:gr.type,coordinates:kt(gr.coordinates)};break;case"LineString":Ur={type:gr.type,coordinates:Yt(gr.coordinates)};break;case"MultiLineString":case"Polygon":Ur={type:gr.type,coordinates:$t(gr.coordinates)};break;case"MultiPolygon":Ur={type:"MultiPolygon",coordinates:gr.coordinates.map($t)};break;default:return gr}return gr.bbox!=null&&(Ur.bbox=gr.bbox),Ur}function Mr(gr){var Ur={type:"Feature",properties:gr.properties,geometry:qt(gr.geometry)};return gr.id!=null&&(Ur.id=gr.id),gr.bbox!=null&&(Ur.bbox=gr.bbox),Ur}if(at!=null)switch(at.type){case"Feature":return Mr(at);case"FeatureCollection":{var Nr={type:"FeatureCollection",features:at.features.map(Mr)};return at.bbox!=null&&(Nr.bbox=at.bbox),Nr}default:return qt(at)}return at}function Br(at){var ft=y(at);function Tt(kt,Yt){var $t=ft?C(kt*ft/2)/ft:kt/2;if(!Yt)return[2*$t,-at];var qt=2*i($t*y(Yt)),Mr=1/C(Yt);return[y(qt)*Mr,Yt+(1-g(qt))*Mr-at]}return Tt.invert=function(kt,Yt){if(v(Yt+=at)<w)return[ft?2*i(ft*kt/2)/ft:kt,0];var $t=kt*kt+Yt*Yt,qt=0,Mr=10,Nr;do{var gr=C(qt),Ur=1/g(qt),Zr=$t-2*Yt*qt+qt*qt;qt-=Nr=(gr*Zr+2*(qt-Yt))/(2+Zr*Ur*Ur+2*(qt-Yt)*gr)}while(v(Nr)>w&&--Mr>0);var an=kt*(gr=C(qt)),Cn=C(v(Yt)<v(qt+1/gr)?D(an)*.5:O(an)*.5+A/4)/y(qt);return[ft?2*i(ft*Cn)/ft:2*Cn,qt]},Tt}function sh(){return ht(Br).scale(131.215)}var Rl=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];Rl.forEach(function(at){at[1]*=1.0144});function al(at,ft){var Tt=d(18,v(ft)*36/A),kt=_(Tt),Yt=Tt-kt,$t=(Zr=Rl[kt])[0],qt=Zr[1],Mr=(Zr=Rl[++kt])[0],Nr=Zr[1],gr=(Zr=Rl[d(19,++kt)])[0],Ur=Zr[1],Zr;return[at*(Mr+Yt*(gr-$t)/2+Yt*Yt*(gr-2*Mr+$t)/2),(ft>0?E:-E)*(Nr+Yt*(Ur-qt)/2+Yt*Yt*(Ur-2*Nr+qt)/2)]}al.invert=function(at,ft){var Tt=ft/E,kt=Tt*90,Yt=d(18,v(kt/5)),$t=s(0,_(Yt));do{var qt=Rl[$t][1],Mr=Rl[$t+1][1],Nr=Rl[d(19,$t+2)][1],gr=Nr-qt,Ur=Nr-2*Mr+qt,Zr=2*(v(Tt)-Mr)/gr,an=Ur/gr,Cn=Zr*(1-an*Zr*(1-2*an*Zr));if(Cn>=0||$t===1){kt=(ft>=0?5:-5)*(Cn+Yt);var Zn=50,oa;do Yt=d(18,v(kt)/5),$t=_(Yt),Cn=Yt-$t,qt=Rl[$t][1],Mr=Rl[$t+1][1],Nr=Rl[d(19,$t+2)][1],kt-=(oa=(ft>=0?E:-E)*(Mr+Cn*(Nr-qt)/2+Cn*Cn*(Nr-2*Mr+qt)/2)-ft)*F;while(v(oa)>R&&--Zn>0);break}}while(--$t>=0);var fa=Rl[$t][0],La=Rl[$t+1][0],Di=Rl[d(19,$t+2)][0];return[at/(La+Cn*(Di-fa)/2+Cn*Cn*(Di-2*La+fa)/2),kt*N]};function vo(){return(0,l.c)(al).scale(152.63)}function up(at){function ft(Tt,kt){var Yt=g(kt),$t=(at-1)/(at-Yt*g(Tt));return[$t*Yt*y(Tt),$t*y(kt)]}return ft.invert=function(Tt,kt){var Yt=Tt*Tt+kt*kt,$t=U(Yt),qt=(at-U(1-Yt*(at+1)/(at-1)))/((at-1)/$t+$t/(at-1));return[S(Tt*qt,$t*U(1-qt*qt)),$t?D(kt*qt/$t):0]},ft}function l1(at,ft){var Tt=up(at);if(!ft)return Tt;var kt=g(ft),Yt=y(ft);function $t(qt,Mr){var Nr=Tt(qt,Mr),gr=Nr[1],Ur=gr*Yt/(at-1)+kt;return[Nr[0]*kt/Ur,gr/Ur]}return $t.invert=function(qt,Mr){var Nr=(at-1)/(at-1-Mr*Yt);return Tt.invert(Nr*qt,Nr*Mr*kt)},$t}function lh(){var at=2,ft=0,Tt=(0,l.U)(l1),kt=Tt(at,ft);return kt.distance=function(Yt){return arguments.length?Tt(at=+Yt,ft):at},kt.tilt=function(Yt){return arguments.length?Tt(at,ft=Yt*N):ft*F},kt.scale(432.147).clipAngle(O(1/at)*F-1e-6)}var ou=1e-4,Im=1e4,Wd=-180,dp=Wd+ou,Cf=180,Kd=Cf-ou,su=-90,fp=su+ou,us=90,hp=us-ou;function c1(at){return at.length>0}function Lm(at){return Math.floor(at*Im)/Im}function Hc(at){return at===su||at===us?[0,at]:[Wd,Lm(at)]}function o0(at){var ft=at[0],Tt=at[1],kt=!1;return ft<=dp?(ft=Wd,kt=!0):ft>=Kd&&(ft=Cf,kt=!0),Tt<=fp?(Tt=su,kt=!0):Tt>=hp&&(Tt=us,kt=!0),kt?[ft,Tt]:at}function u1(at){return at.map(o0)}function lv(at,ft,Tt){for(var kt=0,Yt=at.length;kt<Yt;++kt){var $t=at[kt].slice();Tt.push({index:-1,polygon:ft,ring:$t});for(var qt=0,Mr=$t.length;qt<Mr;++qt){var Nr=$t[qt],gr=Nr[0],Ur=Nr[1];if(gr<=dp||gr>=Kd||Ur<=fp||Ur>=hp){$t[qt]=o0(Nr);for(var Zr=qt+1;Zr<Mr;++Zr){var an=$t[Zr],Cn=an[0],Zn=an[1];if(Cn>dp&&Cn<Kd&&Zn>fp&&Zn<hp)break}if(Zr===qt+1)continue;if(qt){var oa={index:-1,polygon:ft,ring:$t.slice(0,qt+1)};oa.ring[oa.ring.length-1]=Hc(Ur),Tt[Tt.length-1]=oa}else Tt.pop();if(Zr>=Mr)break;Tt.push({index:-1,polygon:ft,ring:$t=$t.slice(Zr-1)}),$t[0]=Hc($t[0][1]),qt=-1,Mr=$t.length}}}}function s0(at){var ft,Tt=at.length,kt={},Yt={},$t,qt,Mr,Nr,gr;for(ft=0;ft<Tt;++ft){if($t=at[ft],qt=$t.ring[0],Nr=$t.ring[$t.ring.length-1],qt[0]===Nr[0]&&qt[1]===Nr[1]){$t.polygon.push($t.ring),at[ft]=null;continue}$t.index=ft,kt[qt]=Yt[Nr]=$t}for(ft=0;ft<Tt;++ft)if($t=at[ft],$t){if(qt=$t.ring[0],Nr=$t.ring[$t.ring.length-1],Mr=Yt[qt],gr=kt[Nr],delete kt[qt],delete Yt[Nr],qt[0]===Nr[0]&&qt[1]===Nr[1]){$t.polygon.push($t.ring);continue}Mr?(delete Yt[qt],delete kt[Mr.ring[0]],Mr.ring.pop(),at[Mr.index]=null,$t={index:-1,polygon:Mr.polygon,ring:Mr.ring.concat($t.ring)},Mr===gr?$t.polygon.push($t.ring):($t.index=Tt++,at.push(kt[$t.ring[0]]=Yt[$t.ring[$t.ring.length-1]]=$t))):gr?(delete kt[Nr],delete Yt[gr.ring[gr.ring.length-1]],$t.ring.pop(),$t={index:Tt++,polygon:gr.polygon,ring:$t.ring.concat(gr.ring)},at[gr.index]=null,at.push(kt[$t.ring[0]]=Yt[$t.ring[$t.ring.length-1]]=$t)):($t.ring.push($t.ring[0]),$t.polygon.push($t.ring))}}function l0(at){var ft={type:"Feature",geometry:Vc(at.geometry)};return at.id!=null&&(ft.id=at.id),at.bbox!=null&&(ft.bbox=at.bbox),at.properties!=null&&(ft.properties=at.properties),ft}function Vc(at){if(at==null)return at;var ft,Tt,kt,Yt;switch(at.type){case"GeometryCollection":ft={type:"GeometryCollection",geometries:at.geometries.map(Vc)};break;case"Point":ft={type:"Point",coordinates:o0(at.coordinates)};break;case"MultiPoint":case"LineString":ft={type:at.type,coordinates:u1(at.coordinates)};break;case"MultiLineString":ft={type:"MultiLineString",coordinates:at.coordinates.map(u1)};break;case"Polygon":{var $t=[];lv(at.coordinates,$t,Tt=[]),s0(Tt),ft={type:"Polygon",coordinates:$t};break}case"MultiPolygon":{Tt=[],kt=-1,Yt=at.coordinates.length;for(var qt=new Array(Yt);++kt<Yt;)lv(at.coordinates[kt],qt[kt]=[],Tt);s0(Tt),ft={type:"MultiPolygon",coordinates:qt.filter(c1)};break}default:return at}return at.bbox!=null&&(ft.bbox=at.bbox),ft}function c0(at){if(at==null)return at;switch(at.type){case"Feature":return l0(at);case"FeatureCollection":{var ft={type:"FeatureCollection",features:at.features.map(l0)};return at.bbox!=null&&(ft.bbox=at.bbox),ft}default:return Vc(at)}}function kf(at,ft){var Tt=C(ft/2),kt=y(k*Tt);return[at*(.74482-.34588*kt*kt),1.70711*Tt]}kf.invert=function(at,ft){var Tt=ft/1.70711,kt=y(k*Tt);return[at/(.74482-.34588*kt*kt),2*i(Tt)]};function Es(){return(0,l.c)(kf).scale(146.153)}function fd(at,ft,Tt){var kt=(0,ap.c)(ft,Tt),Yt=kt(.5),$t=(0,Qe.c)([-Yt[0],-Yt[1]])(ft),qt=kt.distance/2,Mr=-D(y($t[1]*N)/y(qt)),Nr=[-Yt[0],-Yt[1],-($t[0]>0?A-Mr:Mr)*F],gr=(0,l.c)(at(qt)).rotate(Nr),Ur=(0,Qe.c)(Nr),Zr=gr.center;return delete gr.rotate,gr.center=function(an){return arguments.length?Zr(Ur(an)):Ur.invert(Zr())},gr.clipAngle(90)}function cv(at){var ft=g(at);function Tt(kt,Yt){var $t=(0,Uu.Y)(kt,Yt);return $t[0]*=ft,$t}return Tt.invert=function(kt,Yt){return Uu.Y.invert(kt/ft,Yt)},Tt}function ch(){return d1([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function d1(at,ft){return fd(cv,at,ft)}function u0(at){if(!(at*=2))return ce.O;var ft=-at/2,Tt=-ft,kt=at*at,Yt=C(Tt),$t=.5/y(Tt);function qt(Mr,Nr){var gr=O(g(Nr)*g(Mr-ft)),Ur=O(g(Nr)*g(Mr-Tt)),Zr=Nr<0?-1:1;return gr*=gr,Ur*=Ur,[(gr-Ur)/(2*at),Zr*U(4*kt*Ur-(kt-gr+Ur)*(kt-gr+Ur))/(2*at)]}return qt.invert=function(Mr,Nr){var gr=Nr*Nr,Ur=g(U(gr+(an=Mr+ft)*an)),Zr=g(U(gr+(an=Mr+Tt)*an)),an,Cn;return[S(Cn=Ur-Zr,an=(Ur+Zr)*Yt),(Nr<0?-1:1)*O(U(an*an+Cn*Cn)*$t)]},qt}function Om(){return uv([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function uv(at,ft){return fd(u0,at,ft)}function dc(at,ft){if(v(ft)<w)return[at,0];var Tt=v(ft/E),kt=D(Tt);if(v(at)<w||v(v(ft)-E)<w)return[0,x(ft)*A*C(kt/2)];var Yt=g(kt),$t=v(A/at-at/A)/2,qt=$t*$t,Mr=Yt/(Tt+Yt-1),Nr=Mr*(2/Tt-1),gr=Nr*Nr,Ur=gr+qt,Zr=Mr-gr,an=qt+Mr;return[x(at)*A*($t*Zr+U(qt*Zr*Zr-Ur*(Mr*Mr-gr)))/Ur,x(ft)*A*(Nr*an-$t*U((qt+1)*Ur-an*an))/Ur]}dc.invert=function(at,ft){if(v(ft)<w)return[at,0];if(v(at)<w)return[0,E*y(2*i(ft/A))];var Tt=(at/=A)*at,kt=(ft/=A)*ft,Yt=Tt+kt,$t=Yt*Yt,qt=-v(ft)*(1+Yt),Mr=qt-2*kt+Tt,Nr=-2*qt+1+2*kt+$t,gr=kt/Nr+(2*Mr*Mr*Mr/(Nr*Nr*Nr)-9*qt*Mr/(Nr*Nr))/27,Ur=(qt-Mr*Mr/(3*Nr))/Nr,Zr=2*U(-Ur/3),an=O(3*gr/(Ur*Zr))/3;return[A*(Yt-1+U(1+2*(Tt-kt)+$t))/(2*at),x(ft)*A*(-Zr*g(an+A/3)-Mr/(3*Nr))]};function d0(){return(0,l.c)(dc).scale(79.4183)}function Mf(at,ft){if(v(ft)<w)return[at,0];var Tt=v(ft/E),kt=D(Tt);if(v(at)<w||v(v(ft)-E)<w)return[0,x(ft)*A*C(kt/2)];var Yt=g(kt),$t=v(A/at-at/A)/2,qt=$t*$t,Mr=Yt*(U(1+qt)-$t*Yt)/(1+qt*Tt*Tt);return[x(at)*A*Mr,x(ft)*A*U(1-Mr*(2*$t+Mr))]}Mf.invert=function(at,ft){if(!at)return[0,E*y(2*i(ft/A))];var Tt=v(at/A),kt=(1-Tt*Tt-(ft/=A)*ft)/(2*Tt),Yt=kt*kt,$t=U(Yt+1);return[x(at)*A*($t-kt),x(ft)*E*y(2*S(U((1-2*kt*Tt)*(kt+$t)-Tt),U($t+kt+Tt)))]};function pp(){return(0,l.c)(Mf).scale(79.4183)}function Hu(at,ft){if(v(ft)<w)return[at,0];var Tt=ft/E,kt=D(Tt);if(v(at)<w||v(v(ft)-E)<w)return[0,A*C(kt/2)];var Yt=(A/at-at/A)/2,$t=Tt/(1+g(kt));return[A*(x(at)*U(Yt*Yt+1-$t*$t)-Yt),A*$t]}Hu.invert=function(at,ft){if(!ft)return[at,0];var Tt=ft/A,kt=(A*A*(1-Tt*Tt)-at*at)/(2*A*at);return[at?A*(x(at)*U(kt*kt+1)-kt):0,E*y(2*i(Tt))]};function ry(){return(0,l.c)(Hu).scale(79.4183)}function Cc(at,ft){if(!ft)return[at,0];var Tt=v(ft);if(!at||Tt===E)return[0,ft];var kt=Tt/E,Yt=kt*kt,$t=(8*kt-Yt*(Yt+2)-5)/(2*Yt*(kt-1)),qt=$t*$t,Mr=kt*$t,Nr=Yt+qt+2*Mr,gr=kt+3*$t,Ur=at/E,Zr=Ur+1/Ur,an=x(v(at)-E)*U(Zr*Zr-4),Cn=an*an,Zn=Nr*(Yt+qt*Cn-1)+(1-Yt)*(Yt*(gr*gr+4*qt)+12*Mr*qt+4*qt*qt),oa=(an*(Nr+qt-1)+2*U(Zn))/(4*Nr+Cn);return[x(at)*E*oa,x(ft)*E*U(1+an*v(oa)-oa*oa)]}Cc.invert=function(at,ft){var Tt;if(!at||!ft)return[at,ft];ft/=A;var kt=x(at)*at/E,Yt=(kt*kt-1+4*ft*ft)/v(kt),$t=Yt*Yt,qt=2*ft,Mr=50;do{var Nr=qt*qt,gr=(8*qt-Nr*(Nr+2)-5)/(2*Nr*(qt-1)),Ur=(3*qt-Nr*qt-10)/(2*Nr*qt),Zr=gr*gr,an=qt*gr,Cn=qt+gr,Zn=Cn*Cn,oa=qt+3*gr,fa=Zn*(Nr+Zr*$t-1)+(1-Nr)*(Nr*(oa*oa+4*Zr)+Zr*(12*an+4*Zr)),La=-2*Cn*(4*an*Zr+(1-4*Nr+3*Nr*Nr)*(1+Ur)+Zr*(-6+14*Nr-$t+(-8+8*Nr-2*$t)*Ur)+an*(-8+12*Nr+(-10+10*Nr-$t)*Ur)),Di=U(fa),Ii=Yt*(Zn+Zr-1)+2*Di-kt*(4*Zn+$t),Bi=Yt*(2*gr*Ur+2*Cn*(1+Ur))+La/Di-8*Cn*(Yt*(-1+Zr+Zn)+2*Di)*(1+Ur)/($t+4*Zn);qt-=Tt=Ii/Bi}while(Tt>w&&--Mr>0);return[x(at)*(U(Yt*Yt+4)+Yt)*A/4,E*qt]};function f0(){return(0,l.c)(Cc).scale(127.16)}function Su(at,ft,Tt,kt,Yt){function $t(qt,Mr){var Nr=Tt*y(kt*Mr),gr=U(1-Nr*Nr),Ur=U(2/(1+gr*g(qt*=Yt)));return[at*gr*Ur*y(qt),ft*Nr*Ur]}return $t.invert=function(qt,Mr){var Nr=qt/at,gr=Mr/ft,Ur=U(Nr*Nr+gr*gr),Zr=2*D(Ur/2);return[S(qt*C(Zr),at*Ur)/Yt,Ur&&D(Mr*y(Zr)/(ft*Tt*Ur))/kt]},$t}function Vu(at,ft,Tt,kt){var Yt=A/3;at=s(at,w),ft=s(ft,w),at=d(at,E),ft=d(ft,A-w),Tt=s(Tt,0),Tt=d(Tt,100-w),kt=s(kt,w);var $t=Tt/100+1,qt=kt/100,Mr=O($t*g(Yt))/Yt,Nr=y(at)/y(Mr*E),gr=ft/A,Ur=U(qt*y(at/2)/y(ft/2)),Zr=Ur/U(gr*Nr*Mr),an=1/(Ur*U(gr*Nr*Mr));return Su(Zr,an,Nr,Mr,gr)}function Gc(){var at=65*N,ft=60*N,Tt=20,kt=200,Yt=(0,l.U)(Vu),$t=Yt(at,ft,Tt,kt);return $t.poleline=function(qt){return arguments.length?Yt(at=+qt*N,ft,Tt,kt):at*F},$t.parallels=function(qt){return arguments.length?Yt(at,ft=+qt*N,Tt,kt):ft*F},$t.inflation=function(qt){return arguments.length?Yt(at,ft,Tt=+qt,kt):Tt},$t.ratio=function(qt){return arguments.length?Yt(at,ft,Tt,kt=+qt):kt},$t.scale(163.775)}function jc(){return Gc().poleline(65).parallels(60).inflation(0).ratio(200).scale(172.633)}var h0=4*A+3*U(3),vp=2*U(2*A*U(3)/h0),p0=be(vp*U(3)/A,vp,h0/6);function mp(){return(0,l.c)(p0).scale(176.84)}function wu(at,ft){return[at*U(1-3*ft*ft/(A*A)),ft]}wu.invert=function(at,ft){return[at/U(1-3*ft*ft/(A*A)),ft]};function f1(){return(0,l.c)(wu).scale(152.63)}function uh(at,ft){var Tt=g(ft),kt=g(at)*Tt,Yt=1-kt,$t=g(at=S(y(at)*Tt,-y(ft))),qt=y(at);return Tt=U(1-kt*kt),[qt*Tt-$t*Yt,-$t*Tt-qt*Yt]}uh.invert=function(at,ft){var Tt=(at*at+ft*ft)/-2,kt=U(-Tt*(2+Tt)),Yt=ft*Tt+at*kt,$t=at*Tt-ft*kt,qt=U($t*$t+Yt*Yt);return[S(kt*Yt,qt*(1+Tt)),qt?-D(kt*$t/qt):0]};function gp(){return(0,l.c)(uh).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}function v0(at,ft){var Tt=X(at,ft);return[(Tt[0]+at/E)/2,(Tt[1]+ft)/2]}v0.invert=function(at,ft){var Tt=at,kt=ft,Yt=25;do{var $t=g(kt),qt=y(kt),Mr=y(2*kt),Nr=qt*qt,gr=$t*$t,Ur=y(Tt),Zr=g(Tt/2),an=y(Tt/2),Cn=an*an,Zn=1-gr*Zr*Zr,oa=Zn?O($t*Zr)*U(fa=1/Zn):fa=0,fa,La=.5*(2*oa*$t*an+Tt/E)-at,Di=.5*(oa*qt+kt)-ft,Ii=.5*fa*(gr*Cn+oa*$t*Zr*Nr)+.5/E,Bi=fa*(Ur*Mr/4-oa*qt*an),Ki=.125*fa*(Mr*an-oa*qt*gr*Ur),_o=.5*fa*(Nr*Zr+oa*Cn*$t)+.5,rs=Bi*Ki-_o*Ii,il=(Di*Bi-La*_o)/rs,ve=(La*Ki-Di*Ii)/rs;Tt-=il,kt-=ve}while((v(il)>w||v(ve)>w)&&--Yt>0);return[Tt,kt]};function dv(){return(0,l.c)(v0).scale(158.837)}},88728:function(u,h,a){a.d(h,{c:function(){return l}});function l(){return new v}function v(){this.reset()}v.prototype={constructor:v,reset:function(){this.s=this.t=0},add:function(g){S(i,g,this.t),S(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new v;function S(g,p,_){var c=g.s=p+_,s=c-p,d=c-s;g.t=p-d+(_-s)}},95384:function(u,h,a){a.d(h,{cp:function(){return R},mQ:function(){return g},oB:function(){return b}});var l=a(88728),v=a(64528),i=a(70932),S=a(16016),g=(0,l.c)(),p=(0,l.c)(),_,c,s,d,f,b={point:i.c,lineStart:i.c,lineEnd:i.c,polygonStart:function(){g.reset(),b.lineStart=x,b.lineEnd=y},polygonEnd:function(){var A=+g;p.add(A<0?v.kD+A:A),this.lineStart=this.lineEnd=this.point=i.c},sphere:function(){p.add(v.kD)}};function x(){b.point=C}function y(){w(_,c)}function C(A,E){b.point=w,_=A,c=E,A*=v.qw,E*=v.qw,s=A,d=(0,v.W8)(E=E/2+v.wL),f=(0,v.g$)(E)}function w(A,E){A*=v.qw,E*=v.qw,E=E/2+v.wL;var k=A-s,L=k>=0?1:-1,I=L*k,P=(0,v.W8)(E),M=(0,v.g$)(E),F=f*M,N=d*P+F*(0,v.W8)(I),T=F*L*(0,v.g$)(I);g.add((0,v.WE)(T,N)),s=A,d=P,f=M}function R(A){return p.reset(),(0,S.c)(A,b),p*2}},13696:function(u,h,a){a.d(h,{c:function(){return D}});var l=a(88728),v=a(95384),i=a(84220),S=a(64528),g=a(16016),p,_,c,s,d,f,b,x,y=(0,l.c)(),C,w,R={point:A,lineStart:k,lineEnd:L,polygonStart:function(){R.point=I,R.lineStart=P,R.lineEnd=M,y.reset(),v.oB.polygonStart()},polygonEnd:function(){v.oB.polygonEnd(),R.point=A,R.lineStart=k,R.lineEnd=L,v.mQ<0?(p=-(c=180),_=-(s=90)):y>S.Gg?s=90:y<-S.Gg&&(_=-90),w[0]=p,w[1]=c},sphere:function(){p=-(c=180),_=-(s=90)}};function A(O,U){C.push(w=[p=O,c=O]),U<_&&(_=U),U>s&&(s=U)}function E(O,U){var B=(0,i.ux)([O*S.qw,U*S.qw]);if(x){var Y=(0,i.CW)(x,B),z=[Y[1],-Y[0],0],V=(0,i.CW)(z,Y);(0,i.cJ)(V),V=(0,i.G)(V);var j=O-d,G=j>0?1:-1,W=V[0]*S.oh*G,X,Q=(0,S.a2)(j)>180;Q^(G*d<W&&W<G*O)?(X=V[1]*S.oh,X>s&&(s=X)):(W=(W+360)%360-180,Q^(G*d<W&&W<G*O)?(X=-V[1]*S.oh,X<_&&(_=X)):(U<_&&(_=U),U>s&&(s=U))),Q?O<d?F(p,O)>F(p,c)&&(c=O):F(O,c)>F(p,c)&&(p=O):c>=p?(O<p&&(p=O),O>c&&(c=O)):O>d?F(p,O)>F(p,c)&&(c=O):F(O,c)>F(p,c)&&(p=O)}else C.push(w=[p=O,c=O]);U<_&&(_=U),U>s&&(s=U),x=B,d=O}function k(){R.point=E}function L(){w[0]=p,w[1]=c,R.point=A,x=null}function I(O,U){if(x){var B=O-d;y.add((0,S.a2)(B)>180?B+(B>0?360:-360):B)}else f=O,b=U;v.oB.point(O,U),E(O,U)}function P(){v.oB.lineStart()}function M(){I(f,b),v.oB.lineEnd(),(0,S.a2)(y)>S.Gg&&(p=-(c=180)),w[0]=p,w[1]=c,x=null}function F(O,U){return(U-=O)<0?U+360:U}function N(O,U){return O[0]-U[0]}function T(O,U){return O[0]<=O[1]?O[0]<=U&&U<=O[1]:U<O[0]||O[1]<U}function D(O){var U,B,Y,z,V,j,G;if(s=c=-(p=_=1/0),C=[],(0,g.c)(O,R),B=C.length){for(C.sort(N),U=1,Y=C[0],V=[Y];U<B;++U)z=C[U],T(Y,z[0])||T(Y,z[1])?(F(Y[0],z[1])>F(Y[0],Y[1])&&(Y[1]=z[1]),F(z[0],Y[1])>F(Y[0],Y[1])&&(Y[0]=z[0])):V.push(Y=z);for(j=-1/0,B=V.length-1,U=0,Y=V[B];U<=B;Y=z,++U)z=V[U],(G=F(Y[1],z[0]))>j&&(j=G,p=z[0],c=Y[1])}return C=w=null,p===1/0||_===1/0?[[NaN,NaN],[NaN,NaN]]:[[p,_],[c,s]]}},84220:function(u,h,a){a.d(h,{CW:function(){return g},Ez:function(){return S},G:function(){return v},cJ:function(){return c},mg:function(){return p},ux:function(){return i},wx:function(){return _}});var l=a(64528);function v(s){return[(0,l.WE)(s[1],s[0]),(0,l.qR)(s[2])]}function i(s){var d=s[0],f=s[1],b=(0,l.W8)(f);return[b*(0,l.W8)(d),b*(0,l.g$)(d),(0,l.g$)(f)]}function S(s,d){return s[0]*d[0]+s[1]*d[1]+s[2]*d[2]}function g(s,d){return[s[1]*d[2]-s[2]*d[1],s[2]*d[0]-s[0]*d[2],s[0]*d[1]-s[1]*d[0]]}function p(s,d){s[0]+=d[0],s[1]+=d[1],s[2]+=d[2]}function _(s,d){return[s[0]*d,s[1]*d,s[2]*d]}function c(s){var d=(0,l._I)(s[0]*s[0]+s[1]*s[1]+s[2]*s[2]);s[0]/=d,s[1]/=d,s[2]/=d}},24052:function(u,h,a){a.d(h,{c:function(){return B}});var l=a(64528),v=a(70932),i=a(16016),S,g,p,_,c,s,d,f,b,x,y,C,w,R,A,E,k={sphere:v.c,point:L,lineStart:P,lineEnd:N,polygonStart:function(){k.lineStart=T,k.lineEnd=D},polygonEnd:function(){k.lineStart=P,k.lineEnd=N}};function L(Y,z){Y*=l.qw,z*=l.qw;var V=(0,l.W8)(z);I(V*(0,l.W8)(Y),V*(0,l.g$)(Y),(0,l.g$)(z))}function I(Y,z,V){++S,p+=(Y-p)/S,_+=(z-_)/S,c+=(V-c)/S}function P(){k.point=M}function M(Y,z){Y*=l.qw,z*=l.qw;var V=(0,l.W8)(z);R=V*(0,l.W8)(Y),A=V*(0,l.g$)(Y),E=(0,l.g$)(z),k.point=F,I(R,A,E)}function F(Y,z){Y*=l.qw,z*=l.qw;var V=(0,l.W8)(z),j=V*(0,l.W8)(Y),G=V*(0,l.g$)(Y),W=(0,l.g$)(z),X=(0,l.WE)((0,l._I)((X=A*W-E*G)*X+(X=E*j-R*W)*X+(X=R*G-A*j)*X),R*j+A*G+E*W);g+=X,s+=X*(R+(R=j)),d+=X*(A+(A=G)),f+=X*(E+(E=W)),I(R,A,E)}function N(){k.point=L}function T(){k.point=O}function D(){U(C,w),k.point=L}function O(Y,z){C=Y,w=z,Y*=l.qw,z*=l.qw,k.point=U;var V=(0,l.W8)(z);R=V*(0,l.W8)(Y),A=V*(0,l.g$)(Y),E=(0,l.g$)(z),I(R,A,E)}function U(Y,z){Y*=l.qw,z*=l.qw;var V=(0,l.W8)(z),j=V*(0,l.W8)(Y),G=V*(0,l.g$)(Y),W=(0,l.g$)(z),X=A*W-E*G,Q=E*j-R*W,ae=R*G-A*j,ie=(0,l._I)(X*X+Q*Q+ae*ae),he=(0,l.qR)(ie),J=ie&&-he/ie;b+=J*X,x+=J*Q,y+=J*ae,g+=he,s+=he*(R+(R=j)),d+=he*(A+(A=G)),f+=he*(E+(E=W)),I(R,A,E)}function B(Y){S=g=p=_=c=s=d=f=b=x=y=0,(0,i.c)(Y,k);var z=b,V=x,j=y,G=z*z+V*V+j*j;return G<l.a8&&(z=s,V=d,j=f,g<l.Gg&&(z=p,V=_,j=c),G=z*z+V*V+j*j,G<l.a8)?[NaN,NaN]:[(0,l.WE)(V,z)*l.oh,(0,l.qR)(j/(0,l._I)(G))*l.oh]}},61780:function(u,h,a){a.d(h,{Q:function(){return g},c:function(){return _}});var l=a(84220);function v(c){return function(){return c}}var i=a(64528),S=a(92992);function g(c,s,d,f,b,x){if(d){var y=(0,i.W8)(s),C=(0,i.g$)(s),w=f*d;b==null?(b=s+f*i.kD,x=s-w/2):(b=p(y,b),x=p(y,x),(f>0?b<x:b>x)&&(b+=f*i.kD));for(var R,A=b;f>0?A>x:A<x;A-=w)R=(0,l.G)([y,-C*(0,i.W8)(A),-C*(0,i.g$)(A)]),c.point(R[0],R[1])}}function p(c,s){s=(0,l.ux)(s),s[0]-=c,(0,l.cJ)(s);var d=(0,i.mE)(-s[1]);return((-s[2]<0?-d:d)+i.kD-i.Gg)%i.kD}function _(){var c=v([0,0]),s=v(90),d=v(6),f,b,x={point:y};function y(w,R){f.push(w=b(w,R)),w[0]*=i.oh,w[1]*=i.oh}function C(){var w=c.apply(this,arguments),R=s.apply(this,arguments)*i.qw,A=d.apply(this,arguments)*i.qw;return f=[],b=(0,S.O)(-w[0]*i.qw,-w[1]*i.qw,0).invert,g(x,R,A,1),w={type:"Polygon",coordinates:[f]},f=b=null,w}return C.center=function(w){return arguments.length?(c=typeof w=="function"?w:v([+w[0],+w[1]]),C):c},C.radius=function(w){return arguments.length?(s=typeof w=="function"?w:v(+w),C):s},C.precision=function(w){return arguments.length?(d=typeof w=="function"?w:v(+w),C):d},C}},78284:function(u,h,a){var l=a(14229),v=a(64528);h.c=(0,l.c)(function(){return!0},i,g,[-v.pi,-v.or]);function i(p){var _=NaN,c=NaN,s=NaN,d;return{lineStart:function(){p.lineStart(),d=1},point:function(f,b){var x=f>0?v.pi:-v.pi,y=(0,v.a2)(f-_);(0,v.a2)(y-v.pi)<v.Gg?(p.point(_,c=(c+b)/2>0?v.or:-v.or),p.point(s,c),p.lineEnd(),p.lineStart(),p.point(x,c),p.point(f,c),d=0):s!==x&&y>=v.pi&&((0,v.a2)(_-s)<v.Gg&&(_-=s*v.Gg),(0,v.a2)(f-x)<v.Gg&&(f-=x*v.Gg),c=S(_,c,f,b),p.point(s,c),p.lineEnd(),p.lineStart(),p.point(x,c),d=0),p.point(_=f,c=b),s=x},lineEnd:function(){p.lineEnd(),_=c=NaN},clean:function(){return 2-d}}}function S(p,_,c,s){var d,f,b=(0,v.g$)(p-c);return(0,v.a2)(b)>v.Gg?(0,v.MQ)(((0,v.g$)(_)*(f=(0,v.W8)(s))*(0,v.g$)(c)-(0,v.g$)(s)*(d=(0,v.W8)(_))*(0,v.g$)(p))/(d*f*b)):(_+s)/2}function g(p,_,c,s){var d;if(p==null)d=c*v.or,s.point(-v.pi,d),s.point(0,d),s.point(v.pi,d),s.point(v.pi,0),s.point(v.pi,-d),s.point(0,-d),s.point(-v.pi,-d),s.point(-v.pi,0),s.point(-v.pi,d);else if((0,v.a2)(p[0]-_[0])>v.Gg){var f=p[0]<_[0]?v.pi:-v.pi;d=c*f/2,s.point(-f,d),s.point(0,d),s.point(f,d)}else s.point(_[0],_[1])}},97208:function(u,h,a){a.d(h,{c:function(){return v}});var l=a(70932);function v(){var i=[],S;return{point:function(g,p,_){S.push([g,p,_])},lineStart:function(){i.push(S=[])},lineEnd:l.c,rejoin:function(){i.length>1&&i.push(i.pop().concat(i.shift()))},result:function(){var g=i;return i=[],S=null,g}}}},2728:function(u,h,a){a.d(h,{c:function(){return p}});var l=a(84220),v=a(61780),i=a(64528),S=a(41860),g=a(14229);function p(_){var c=(0,i.W8)(_),s=6*i.qw,d=c>0,f=(0,i.a2)(c)>i.Gg;function b(R,A,E,k){(0,v.Q)(k,_,s,E,R,A)}function x(R,A){return(0,i.W8)(R)*(0,i.W8)(A)>c}function y(R){var A,E,k,L,I;return{lineStart:function(){L=k=!1,I=1},point:function(P,M){var F=[P,M],N,T=x(P,M),D=d?T?0:w(P,M):T?w(P+(P<0?i.pi:-i.pi),M):0;if(!A&&(L=k=T)&&R.lineStart(),T!==k&&(N=C(A,F),(!N||(0,S.c)(A,N)||(0,S.c)(F,N))&&(F[2]=1)),T!==k)I=0,T?(R.lineStart(),N=C(F,A),R.point(N[0],N[1])):(N=C(A,F),R.point(N[0],N[1],2),R.lineEnd()),A=N;else if(f&&A&&d^T){var O;!(D&E)&&(O=C(F,A,!0))&&(I=0,d?(R.lineStart(),R.point(O[0][0],O[0][1]),R.point(O[1][0],O[1][1]),R.lineEnd()):(R.point(O[1][0],O[1][1]),R.lineEnd(),R.lineStart(),R.point(O[0][0],O[0][1],3)))}T&&(!A||!(0,S.c)(A,F))&&R.point(F[0],F[1]),A=F,k=T,E=D},lineEnd:function(){k&&R.lineEnd(),A=null},clean:function(){return I|(L&&k)<<1}}}function C(R,A,E){var k=(0,l.ux)(R),L=(0,l.ux)(A),I=[1,0,0],P=(0,l.CW)(k,L),M=(0,l.Ez)(P,P),F=P[0],N=M-F*F;if(!N)return!E&&R;var T=c*M/N,D=-c*F/N,O=(0,l.CW)(I,P),U=(0,l.wx)(I,T),B=(0,l.wx)(P,D);(0,l.mg)(U,B);var Y=O,z=(0,l.Ez)(U,Y),V=(0,l.Ez)(Y,Y),j=z*z-V*((0,l.Ez)(U,U)-1);if(!(j<0)){var G=(0,i._I)(j),W=(0,l.wx)(Y,(-z-G)/V);if((0,l.mg)(W,U),W=(0,l.G)(W),!E)return W;var X=R[0],Q=A[0],ae=R[1],ie=A[1],he;Q<X&&(he=X,X=Q,Q=he);var J=Q-X,Z=(0,i.a2)(J-i.pi)<i.Gg,le=Z||J<i.Gg;if(!Z&&ie<ae&&(he=ae,ae=ie,ie=he),le?Z?ae+ie>0^W[1]<((0,i.a2)(W[0]-X)<i.Gg?ae:ie):ae<=W[1]&&W[1]<=ie:J>i.pi^(X<=W[0]&&W[0]<=Q)){var K=(0,l.wx)(Y,(-z+G)/V);return(0,l.mg)(K,U),[W,(0,l.G)(K)]}}}function w(R,A){var E=d?_:i.pi-_,k=0;return R<-E?k|=1:R>E&&(k|=2),A<-E?k|=4:A>E&&(k|=8),k}return(0,g.c)(x,y,b,d?[0,-_]:[-i.pi,_-i.pi])}},14229:function(u,h,a){a.d(h,{c:function(){return p}});var l=a(97208),v=a(32232),i=a(64528),S=a(58196),g=a(84706);function p(s,d,f,b){return function(x){var y=d(x),C=(0,l.c)(),w=d(C),R=!1,A,E,k,L={point:I,lineStart:M,lineEnd:F,polygonStart:function(){L.point=N,L.lineStart=T,L.lineEnd=D,E=[],A=[]},polygonEnd:function(){L.point=I,L.lineStart=M,L.lineEnd=F,E=(0,g.Uf)(E);var O=(0,S.c)(A,b);E.length?(R||(x.polygonStart(),R=!0),(0,v.c)(E,c,O,f,x)):O&&(R||(x.polygonStart(),R=!0),x.lineStart(),f(null,null,1,x),x.lineEnd()),R&&(x.polygonEnd(),R=!1),E=A=null},sphere:function(){x.polygonStart(),x.lineStart(),f(null,null,1,x),x.lineEnd(),x.polygonEnd()}};function I(O,U){s(O,U)&&x.point(O,U)}function P(O,U){y.point(O,U)}function M(){L.point=P,y.lineStart()}function F(){L.point=I,y.lineEnd()}function N(O,U){k.push([O,U]),w.point(O,U)}function T(){w.lineStart(),k=[]}function D(){N(k[0][0],k[0][1]),w.lineEnd();var O=w.clean(),U=C.result(),B,Y=U.length,z,V,j;if(k.pop(),A.push(k),k=null,!!Y){if(O&1){if(V=U[0],(z=V.length-1)>0){for(R||(x.polygonStart(),R=!0),x.lineStart(),B=0;B<z;++B)x.point((j=V[B])[0],j[1]);x.lineEnd()}return}Y>1&&O&2&&U.push(U.pop().concat(U.shift())),E.push(U.filter(_))}}return L}}function _(s){return s.length>1}function c(s,d){return((s=s.x)[0]<0?s[1]-i.or-i.Gg:i.or-s[1])-((d=d.x)[0]<0?d[1]-i.or-i.Gg:i.or-d[1])}},21676:function(u,h,a){a.d(h,{c:function(){return c}});var l=a(64528),v=a(97208);function i(s,d,f,b,x,y){var C=s[0],w=s[1],R=d[0],A=d[1],E=0,k=1,L=R-C,I=A-w,P;if(P=f-C,!(!L&&P>0)){if(P/=L,L<0){if(P<E)return;P<k&&(k=P)}else if(L>0){if(P>k)return;P>E&&(E=P)}if(P=x-C,!(!L&&P<0)){if(P/=L,L<0){if(P>k)return;P>E&&(E=P)}else if(L>0){if(P<E)return;P<k&&(k=P)}if(P=b-w,!(!I&&P>0)){if(P/=I,I<0){if(P<E)return;P<k&&(k=P)}else if(I>0){if(P>k)return;P>E&&(E=P)}if(P=y-w,!(!I&&P<0)){if(P/=I,I<0){if(P>k)return;P>E&&(E=P)}else if(I>0){if(P<E)return;P<k&&(k=P)}return E>0&&(s[0]=C+E*L,s[1]=w+E*I),k<1&&(d[0]=C+k*L,d[1]=w+k*I),!0}}}}}var S=a(32232),g=a(84706),p=1e9,_=-p;function c(s,d,f,b){function x(A,E){return s<=A&&A<=f&&d<=E&&E<=b}function y(A,E,k,L){var I=0,P=0;if(A==null||(I=C(A,k))!==(P=C(E,k))||R(A,E)<0^k>0)do L.point(I===0||I===3?s:f,I>1?b:d);while((I=(I+k+4)%4)!==P);else L.point(E[0],E[1])}function C(A,E){return(0,l.a2)(A[0]-s)<l.Gg?E>0?0:3:(0,l.a2)(A[0]-f)<l.Gg?E>0?2:1:(0,l.a2)(A[1]-d)<l.Gg?E>0?1:0:E>0?3:2}function w(A,E){return R(A.x,E.x)}function R(A,E){var k=C(A,1),L=C(E,1);return k!==L?k-L:k===0?E[1]-A[1]:k===1?A[0]-E[0]:k===2?A[1]-E[1]:E[0]-A[0]}return function(A){var E=A,k=(0,v.c)(),L,I,P,M,F,N,T,D,O,U,B,Y={point:z,lineStart:W,lineEnd:X,polygonStart:j,polygonEnd:G};function z(ae,ie){x(ae,ie)&&E.point(ae,ie)}function V(){for(var ae=0,ie=0,he=I.length;ie<he;++ie)for(var J=I[ie],Z=1,le=J.length,K=J[0],te,ce,re=K[0],ee=K[1];Z<le;++Z)te=re,ce=ee,K=J[Z],re=K[0],ee=K[1],ce<=b?ee>b&&(re-te)*(b-ce)>(ee-ce)*(s-te)&&++ae:ee<=b&&(re-te)*(b-ce)<(ee-ce)*(s-te)&&--ae;return ae}function j(){E=k,L=[],I=[],B=!0}function G(){var ae=V(),ie=B&&ae,he=(L=(0,g.Uf)(L)).length;(ie||he)&&(A.polygonStart(),ie&&(A.lineStart(),y(null,null,1,A),A.lineEnd()),he&&(0,S.c)(L,w,ae,y,A),A.polygonEnd()),E=A,L=I=P=null}function W(){Y.point=Q,I&&I.push(P=[]),U=!0,O=!1,T=D=NaN}function X(){L&&(Q(M,F),N&&O&&k.rejoin(),L.push(k.result())),Y.point=z,O&&E.lineEnd()}function Q(ae,ie){var he=x(ae,ie);if(I&&P.push([ae,ie]),U)M=ae,F=ie,N=he,U=!1,he&&(E.lineStart(),E.point(ae,ie));else if(he&&O)E.point(ae,ie);else{var J=[T=Math.max(_,Math.min(p,T)),D=Math.max(_,Math.min(p,D))],Z=[ae=Math.max(_,Math.min(p,ae)),ie=Math.max(_,Math.min(p,ie))];i(J,Z,s,d,f,b)?(O||(E.lineStart(),E.point(J[0],J[1])),E.point(Z[0],Z[1]),he||E.lineEnd(),B=!1):he&&(E.lineStart(),E.point(ae,ie),B=!1)}T=ae,D=ie,O=he}return Y}}},32232:function(u,h,a){a.d(h,{c:function(){return S}});var l=a(41860),v=a(64528);function i(p,_,c,s){this.x=p,this.z=_,this.o=c,this.e=s,this.v=!1,this.n=this.p=null}function S(p,_,c,s,d){var f=[],b=[],x,y;if(p.forEach(function(k){if(!((L=k.length-1)<=0)){var L,I=k[0],P=k[L],M;if((0,l.c)(I,P)){if(!I[2]&&!P[2]){for(d.lineStart(),x=0;x<L;++x)d.point((I=k[x])[0],I[1]);d.lineEnd();return}P[0]+=2*v.Gg}f.push(M=new i(I,k,null,!0)),b.push(M.o=new i(I,null,M,!1)),f.push(M=new i(P,k,null,!1)),b.push(M.o=new i(P,null,M,!0))}}),!!f.length){for(b.sort(_),g(f),g(b),x=0,y=b.length;x<y;++x)b[x].e=c=!c;for(var C=f[0],w,R;;){for(var A=C,E=!0;A.v;)if((A=A.n)===C)return;w=A.z,d.lineStart();do{if(A.v=A.o.v=!0,A.e){if(E)for(x=0,y=w.length;x<y;++x)d.point((R=w[x])[0],R[1]);else s(A.x,A.n.x,1,d);A=A.n}else{if(E)for(w=A.p.z,x=w.length-1;x>=0;--x)d.point((R=w[x])[0],R[1]);else s(A.x,A.p.x,-1,d);A=A.p}A=A.o,w=A.z,E=!E}while(!A.v);d.lineEnd()}}}function g(p){if(_=p.length){for(var _,c=0,s=p[0],d;++c<_;)s.n=d=p[c],d.p=s,s=d;s.n=d=p[0],d.p=s}}},68120:function(u,h,a){a.d(h,{c:function(){return l}});function l(v,i){function S(g,p){return g=v(g,p),i(g[0],g[1])}return v.invert&&i.invert&&(S.invert=function(g,p){return g=i.invert(g,p),g&&v.invert(g[0],g[1])}),S}},7376:function(u,h,a){a.d(h,{c:function(){return l}});function l(v){return v}},83356:function(u,h,a){a.r(h),a.d(h,{geoAlbers:function(){return Ir},geoAlbersUsa:function(){return mt},geoArea:function(){return l.cp},geoAzimuthalEqualArea:function(){return Mt.c},geoAzimuthalEqualAreaRaw:function(){return Mt.y},geoAzimuthalEquidistant:function(){return Pt.c},geoAzimuthalEquidistantRaw:function(){return Pt.O},geoBounds:function(){return v.c},geoCentroid:function(){return i.c},geoCircle:function(){return S.c},geoClipAntimeridian:function(){return g.c},geoClipCircle:function(){return p.c},geoClipExtent:function(){return c},geoClipRectangle:function(){return _.c},geoConicConformal:function(){return wr},geoConicConformalRaw:function(){return Sr},geoConicEqualArea:function(){return ur},geoConicEqualAreaRaw:function(){return or},geoConicEquidistant:function(){return Xe},geoConicEquidistantRaw:function(){return Ze},geoContains:function(){return j},geoDistance:function(){return N},geoEqualEarth:function(){return kr},geoEqualEarthRaw:function(){return Kt},geoEquirectangular:function(){return Tr.c},geoEquirectangularRaw:function(){return Tr.u},geoGnomonic:function(){return Rr.c},geoGnomonicRaw:function(){return Rr.Y},geoGraticule:function(){return Q},geoGraticule10:function(){return ae},geoIdentity:function(){return Ar},geoInterpolate:function(){return ie.c},geoLength:function(){return P},geoMercator:function(){return Zt},geoMercatorRaw:function(){return Ut},geoNaturalEarth1:function(){return ln.c},geoNaturalEarth1Raw:function(){return ln.g},geoOrthographic:function(){return Kr.c},geoOrthographicRaw:function(){return Kr.t},geoPath:function(){return Gt},geoProjection:function(){return cr.c},geoProjectionMutator:function(){return cr.U},geoRotation:function(){return Ht.c},geoStereographic:function(){return An},geoStereographicRaw:function(){return Bn},geoStream:function(){return x.c},geoTransform:function(){return Lr.c},geoTransverseMercator:function(){return ra},geoTransverseMercatorRaw:function(){return ta}});var l=a(95384),v=a(13696),i=a(24052),S=a(61780),g=a(78284),p=a(2728),_=a(21676);function c(){var Cr=0,Jr=0,un=960,sn=500,Nn,Hn,$n;return $n={stream:function(da){return Nn&&Hn===da?Nn:Nn=(0,_.c)(Cr,Jr,un,sn)(Hn=da)},extent:function(da){return arguments.length?(Cr=+da[0][0],Jr=+da[0][1],un=+da[1][0],sn=+da[1][1],Nn=Hn=null,$n):[[Cr,Jr],[un,sn]]}}}var s=a(58196),d=a(88728),f=a(64528),b=a(70932),x=a(16016),y=(0,d.c)(),C,w,R,A={sphere:b.c,point:b.c,lineStart:E,lineEnd:b.c,polygonStart:b.c,polygonEnd:b.c};function E(){A.point=L,A.lineEnd=k}function k(){A.point=A.lineEnd=b.c}function L(Cr,Jr){Cr*=f.qw,Jr*=f.qw,C=Cr,w=(0,f.g$)(Jr),R=(0,f.W8)(Jr),A.point=I}function I(Cr,Jr){Cr*=f.qw,Jr*=f.qw;var un=(0,f.g$)(Jr),sn=(0,f.W8)(Jr),Nn=(0,f.a2)(Cr-C),Hn=(0,f.W8)(Nn),$n=(0,f.g$)(Nn),da=sn*$n,_a=R*un-w*sn*Hn,Ya=w*un+R*sn*Hn;y.add((0,f.WE)((0,f._I)(da*da+_a*_a),Ya)),C=Cr,w=un,R=sn}function P(Cr){return y.reset(),(0,x.c)(Cr,A),+y}var M=[null,null],F={type:"LineString",coordinates:M};function N(Cr,Jr){return M[0]=Cr,M[1]=Jr,P(F)}var T={Feature:function(Cr,Jr){return O(Cr.geometry,Jr)},FeatureCollection:function(Cr,Jr){for(var un=Cr.features,sn=-1,Nn=un.length;++sn<Nn;)if(O(un[sn].geometry,Jr))return!0;return!1}},D={Sphere:function(){return!0},Point:function(Cr,Jr){return U(Cr.coordinates,Jr)},MultiPoint:function(Cr,Jr){for(var un=Cr.coordinates,sn=-1,Nn=un.length;++sn<Nn;)if(U(un[sn],Jr))return!0;return!1},LineString:function(Cr,Jr){return B(Cr.coordinates,Jr)},MultiLineString:function(Cr,Jr){for(var un=Cr.coordinates,sn=-1,Nn=un.length;++sn<Nn;)if(B(un[sn],Jr))return!0;return!1},Polygon:function(Cr,Jr){return Y(Cr.coordinates,Jr)},MultiPolygon:function(Cr,Jr){for(var un=Cr.coordinates,sn=-1,Nn=un.length;++sn<Nn;)if(Y(un[sn],Jr))return!0;return!1},GeometryCollection:function(Cr,Jr){for(var un=Cr.geometries,sn=-1,Nn=un.length;++sn<Nn;)if(O(un[sn],Jr))return!0;return!1}};function O(Cr,Jr){return Cr&&D.hasOwnProperty(Cr.type)?D[Cr.type](Cr,Jr):!1}function U(Cr,Jr){return N(Cr,Jr)===0}function B(Cr,Jr){for(var un,sn,Nn,Hn=0,$n=Cr.length;Hn<$n;Hn++){if(sn=N(Cr[Hn],Jr),sn===0||Hn>0&&(Nn=N(Cr[Hn],Cr[Hn-1]),Nn>0&&un<=Nn&&sn<=Nn&&(un+sn-Nn)*(1-Math.pow((un-sn)/Nn,2))<f.a8*Nn))return!0;un=sn}return!1}function Y(Cr,Jr){return!!(0,s.c)(Cr.map(z),V(Jr))}function z(Cr){return Cr=Cr.map(V),Cr.pop(),Cr}function V(Cr){return[Cr[0]*f.qw,Cr[1]*f.qw]}function j(Cr,Jr){return(Cr&&T.hasOwnProperty(Cr.type)?T[Cr.type]:O)(Cr,Jr)}var G=a(84706);function W(Cr,Jr,un){var sn=(0,G.ik)(Cr,Jr-f.Gg,un).concat(Jr);return function(Nn){return sn.map(function(Hn){return[Nn,Hn]})}}function X(Cr,Jr,un){var sn=(0,G.ik)(Cr,Jr-f.Gg,un).concat(Jr);return function(Nn){return sn.map(function(Hn){return[Hn,Nn]})}}function Q(){var Cr,Jr,un,sn,Nn,Hn,$n,da,_a=10,Ya=_a,di=90,ii=360,Za,oi,Fr,vn,fn=2.5;function Vn(){return{type:"MultiLineString",coordinates:Sa()}}function Sa(){return(0,G.ik)((0,f.Km)(sn/di)*di,un,di).map(Fr).concat((0,G.ik)((0,f.Km)(da/ii)*ii,$n,ii).map(vn)).concat((0,G.ik)((0,f.Km)(Jr/_a)*_a,Cr,_a).filter(function(na){return(0,f.a2)(na%di)>f.Gg}).map(Za)).concat((0,G.ik)((0,f.Km)(Hn/Ya)*Ya,Nn,Ya).filter(function(na){return(0,f.a2)(na%ii)>f.Gg}).map(oi))}return Vn.lines=function(){return Sa().map(function(na){return{type:"LineString",coordinates:na}})},Vn.outline=function(){return{type:"Polygon",coordinates:[Fr(sn).concat(vn($n).slice(1),Fr(un).reverse().slice(1),vn(da).reverse().slice(1))]}},Vn.extent=function(na){return arguments.length?Vn.extentMajor(na).extentMinor(na):Vn.extentMinor()},Vn.extentMajor=function(na){return arguments.length?(sn=+na[0][0],un=+na[1][0],da=+na[0][1],$n=+na[1][1],sn>un&&(na=sn,sn=un,un=na),da>$n&&(na=da,da=$n,$n=na),Vn.precision(fn)):[[sn,da],[un,$n]]},Vn.extentMinor=function(na){return arguments.length?(Jr=+na[0][0],Cr=+na[1][0],Hn=+na[0][1],Nn=+na[1][1],Jr>Cr&&(na=Jr,Jr=Cr,Cr=na),Hn>Nn&&(na=Hn,Hn=Nn,Nn=na),Vn.precision(fn)):[[Jr,Hn],[Cr,Nn]]},Vn.step=function(na){return arguments.length?Vn.stepMajor(na).stepMinor(na):Vn.stepMinor()},Vn.stepMajor=function(na){return arguments.length?(di=+na[0],ii=+na[1],Vn):[di,ii]},Vn.stepMinor=function(na){return arguments.length?(_a=+na[0],Ya=+na[1],Vn):[_a,Ya]},Vn.precision=function(na){return arguments.length?(fn=+na,Za=W(Hn,Nn,90),oi=X(Jr,Cr,fn),Fr=W(da,$n,90),vn=X(sn,un,fn),Vn):fn},Vn.extentMajor([[-180,-90+f.Gg],[180,90-f.Gg]]).extentMinor([[-180,-80-f.Gg],[180,80+f.Gg]])}function ae(){return Q()()}var ie=a(27284),he=a(7376),J=(0,d.c)(),Z=(0,d.c)(),le,K,te,ce,re={point:b.c,lineStart:b.c,lineEnd:b.c,polygonStart:function(){re.lineStart=ee,re.lineEnd=fe},polygonEnd:function(){re.lineStart=re.lineEnd=re.point=b.c,J.add((0,f.a2)(Z)),Z.reset()},result:function(){var Cr=J/2;return J.reset(),Cr}};function ee(){re.point=de}function de(Cr,Jr){re.point=oe,le=te=Cr,K=ce=Jr}function oe(Cr,Jr){Z.add(ce*Cr-te*Jr),te=Cr,ce=Jr}function fe(){oe(le,K)}var me=re,Te=a(73784),we=0,Be=0,Ae=0,Re=0,be=0,Pe=0,Ke=0,ze=0,Fe=0,We,lt,ht,tt,et={point:pt,lineStart:vt,lineEnd:Rt,polygonStart:function(){et.lineStart=ct,et.lineEnd=Ve},polygonEnd:function(){et.point=pt,et.lineStart=vt,et.lineEnd=Rt},result:function(){var Cr=Fe?[Ke/Fe,ze/Fe]:Pe?[Re/Pe,be/Pe]:Ae?[we/Ae,Be/Ae]:[NaN,NaN];return we=Be=Ae=Re=be=Pe=Ke=ze=Fe=0,Cr}};function pt(Cr,Jr){we+=Cr,Be+=Jr,++Ae}function vt(){et.point=_t}function _t(Cr,Jr){et.point=bt,pt(ht=Cr,tt=Jr)}function bt(Cr,Jr){var un=Cr-ht,sn=Jr-tt,Nn=(0,f._I)(un*un+sn*sn);Re+=Nn*(ht+Cr)/2,be+=Nn*(tt+Jr)/2,Pe+=Nn,pt(ht=Cr,tt=Jr)}function Rt(){et.point=pt}function ct(){et.point=Qe}function Ve(){rt(We,lt)}function Qe(Cr,Jr){et.point=rt,pt(We=ht=Cr,lt=tt=Jr)}function rt(Cr,Jr){var un=Cr-ht,sn=Jr-tt,Nn=(0,f._I)(un*un+sn*sn);Re+=Nn*(ht+Cr)/2,be+=Nn*(tt+Jr)/2,Pe+=Nn,Nn=tt*Cr-ht*Jr,Ke+=Nn*(ht+Cr),ze+=Nn*(tt+Jr),Fe+=Nn*3,pt(ht=Cr,tt=Jr)}var qe=et;function He(Cr){this._context=Cr}He.prototype={_radius:4.5,pointRadius:function(Cr){return this._radius=Cr,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Cr,Jr){switch(this._point){case 0:{this._context.moveTo(Cr,Jr),this._point=1;break}case 1:{this._context.lineTo(Cr,Jr);break}default:{this._context.moveTo(Cr+this._radius,Jr),this._context.arc(Cr,Jr,this._radius,0,f.kD);break}}},result:b.c};var Ce=(0,d.c)(),Se,Le,Ne,je,Je,ut={point:b.c,lineStart:function(){ut.point=Et},lineEnd:function(){Se&&wt(Le,Ne),ut.point=b.c},polygonStart:function(){Se=!0},polygonEnd:function(){Se=null},result:function(){var Cr=+Ce;return Ce.reset(),Cr}};function Et(Cr,Jr){ut.point=wt,Le=je=Cr,Ne=Je=Jr}function wt(Cr,Jr){je-=Cr,Je-=Jr,Ce.add((0,f._I)(je*je+Je*Je)),je=Cr,Je=Jr}var nr=ut;function ir(){this._string=[]}ir.prototype={_radius:4.5,_circle:It(4.5),pointRadius:function(Cr){return(Cr=+Cr)!==this._radius&&(this._radius=Cr,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(Cr,Jr){switch(this._point){case 0:{this._string.push("M",Cr,",",Jr),this._point=1;break}case 1:{this._string.push("L",Cr,",",Jr);break}default:{this._circle==null&&(this._circle=It(this._radius)),this._string.push("M",Cr,",",Jr,this._circle);break}}},result:function(){if(this._string.length){var Cr=this._string.join("");return this._string=[],Cr}else return null}};function It(Cr){return"m0,"+Cr+"a"+Cr+","+Cr+" 0 1,1 0,"+-2*Cr+"a"+Cr+","+Cr+" 0 1,1 0,"+2*Cr+"z"}function Gt(Cr,Jr){var un=4.5,sn,Nn;function Hn($n){return $n&&(typeof un=="function"&&Nn.pointRadius(+un.apply(this,arguments)),(0,x.c)($n,sn(Nn))),Nn.result()}return Hn.area=function($n){return(0,x.c)($n,sn(me)),me.result()},Hn.measure=function($n){return(0,x.c)($n,sn(nr)),nr.result()},Hn.bounds=function($n){return(0,x.c)($n,sn(Te.c)),Te.c.result()},Hn.centroid=function($n){return(0,x.c)($n,sn(qe)),qe.result()},Hn.projection=function($n){return arguments.length?(sn=$n==null?(Cr=null,he.c):(Cr=$n).stream,Hn):Cr},Hn.context=function($n){return arguments.length?(Nn=$n==null?(Jr=null,new ir):new He(Jr=$n),typeof un!="function"&&Nn.pointRadius(un),Hn):Jr},Hn.pointRadius=function($n){return arguments.length?(un=typeof $n=="function"?$n:(Nn.pointRadius(+$n),+$n),Hn):un},Hn.projection(Cr).context(Jr)}var cr=a(87952);function Pr(Cr){var Jr=0,un=f.pi/3,sn=(0,cr.U)(Cr),Nn=sn(Jr,un);return Nn.parallels=function(Hn){return arguments.length?sn(Jr=Hn[0]*f.qw,un=Hn[1]*f.qw):[Jr*f.oh,un*f.oh]},Nn}function Ct(Cr){var Jr=(0,f.W8)(Cr);function un(sn,Nn){return[sn*Jr,(0,f.g$)(Nn)/Jr]}return un.invert=function(sn,Nn){return[sn/Jr,(0,f.qR)(Nn*Jr)]},un}function or(Cr,Jr){var un=(0,f.g$)(Cr),sn=(un+(0,f.g$)(Jr))/2;if((0,f.a2)(sn)<f.Gg)return Ct(Cr);var Nn=1+un*(2*sn-un),Hn=(0,f._I)(Nn)/sn;function $n(da,_a){var Ya=(0,f._I)(Nn-2*sn*(0,f.g$)(_a))/sn;return[Ya*(0,f.g$)(da*=sn),Hn-Ya*(0,f.W8)(da)]}return $n.invert=function(da,_a){var Ya=Hn-_a,di=(0,f.WE)(da,(0,f.a2)(Ya))*(0,f.kq)(Ya);return Ya*sn<0&&(di-=f.pi*(0,f.kq)(da)*(0,f.kq)(Ya)),[di/sn,(0,f.qR)((Nn-(da*da+Ya*Ya)*sn*sn)/(2*sn))]},$n}function ur(){return Pr(or).scale(155.424).center([0,33.6442])}function Ir(){return ur().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}var yr=a(86420);function At(Cr){var Jr=Cr.length;return{point:function(un,sn){for(var Nn=-1;++Nn<Jr;)Cr[Nn].point(un,sn)},sphere:function(){for(var un=-1;++un<Jr;)Cr[un].sphere()},lineStart:function(){for(var un=-1;++un<Jr;)Cr[un].lineStart()},lineEnd:function(){for(var un=-1;++un<Jr;)Cr[un].lineEnd()},polygonStart:function(){for(var un=-1;++un<Jr;)Cr[un].polygonStart()},polygonEnd:function(){for(var un=-1;++un<Jr;)Cr[un].polygonEnd()}}}function mt(){var Cr,Jr,un=Ir(),sn,Nn=ur().rotate([154,0]).center([-2,58.5]).parallels([55,65]),Hn,$n=ur().rotate([157,0]).center([-3,19.9]).parallels([8,18]),da,_a,Ya={point:function(Za,oi){_a=[Za,oi]}};function di(Za){var oi=Za[0],Fr=Za[1];return _a=null,sn.point(oi,Fr),_a||(Hn.point(oi,Fr),_a)||(da.point(oi,Fr),_a)}di.invert=function(Za){var oi=un.scale(),Fr=un.translate(),vn=(Za[0]-Fr[0])/oi,fn=(Za[1]-Fr[1])/oi;return(fn>=.12&&fn<.234&&vn>=-.425&&vn<-.214?Nn:fn>=.166&&fn<.234&&vn>=-.214&&vn<-.115?$n:un).invert(Za)},di.stream=function(Za){return Cr&&Jr===Za?Cr:Cr=At([un.stream(Jr=Za),Nn.stream(Za),$n.stream(Za)])},di.precision=function(Za){return arguments.length?(un.precision(Za),Nn.precision(Za),$n.precision(Za),ii()):un.precision()},di.scale=function(Za){return arguments.length?(un.scale(Za),Nn.scale(Za*.35),$n.scale(Za),di.translate(un.translate())):un.scale()},di.translate=function(Za){if(!arguments.length)return un.translate();var oi=un.scale(),Fr=+Za[0],vn=+Za[1];return sn=un.translate(Za).clipExtent([[Fr-.455*oi,vn-.238*oi],[Fr+.455*oi,vn+.238*oi]]).stream(Ya),Hn=Nn.translate([Fr-.307*oi,vn+.201*oi]).clipExtent([[Fr-.425*oi+f.Gg,vn+.12*oi+f.Gg],[Fr-.214*oi-f.Gg,vn+.234*oi-f.Gg]]).stream(Ya),da=$n.translate([Fr-.205*oi,vn+.212*oi]).clipExtent([[Fr-.214*oi+f.Gg,vn+.166*oi+f.Gg],[Fr-.115*oi-f.Gg,vn+.234*oi-f.Gg]]).stream(Ya),ii()},di.fitExtent=function(Za,oi){return(0,yr.QX)(di,Za,oi)},di.fitSize=function(Za,oi){return(0,yr.UV)(di,Za,oi)},di.fitWidth=function(Za,oi){return(0,yr.Qx)(di,Za,oi)},di.fitHeight=function(Za,oi){return(0,yr.OW)(di,Za,oi)};function ii(){return Cr=Jr=null,di}return di.scale(1070)}var Mt=a(54724),Pt=a(69020),Ht=a(92992);function Ut(Cr,Jr){return[Cr,(0,f.Yz)((0,f.a6)((f.or+Jr)/2))]}Ut.invert=function(Cr,Jr){return[Cr,2*(0,f.MQ)((0,f.oN)(Jr))-f.or]};function Zt(){return Xt(Ut).scale(961/f.kD)}function Xt(Cr){var Jr=(0,cr.c)(Cr),un=Jr.center,sn=Jr.scale,Nn=Jr.translate,Hn=Jr.clipExtent,$n=null,da,_a,Ya;Jr.scale=function(ii){return arguments.length?(sn(ii),di()):sn()},Jr.translate=function(ii){return arguments.length?(Nn(ii),di()):Nn()},Jr.center=function(ii){return arguments.length?(un(ii),di()):un()},Jr.clipExtent=function(ii){return arguments.length?(ii==null?$n=da=_a=Ya=null:($n=+ii[0][0],da=+ii[0][1],_a=+ii[1][0],Ya=+ii[1][1]),di()):$n==null?null:[[$n,da],[_a,Ya]]};function di(){var ii=f.pi*sn(),Za=Jr((0,Ht.c)(Jr.rotate()).invert([0,0]));return Hn($n==null?[[Za[0]-ii,Za[1]-ii],[Za[0]+ii,Za[1]+ii]]:Cr===Ut?[[Math.max(Za[0]-ii,$n),da],[Math.min(Za[0]+ii,_a),Ya]]:[[$n,Math.max(Za[1]-ii,da)],[_a,Math.min(Za[1]+ii,Ya)]])}return di()}function sr(Cr){return(0,f.a6)((f.or+Cr)/2)}function Sr(Cr,Jr){var un=(0,f.W8)(Cr),sn=Cr===Jr?(0,f.g$)(Cr):(0,f.Yz)(un/(0,f.W8)(Jr))/(0,f.Yz)(sr(Jr)/sr(Cr)),Nn=un*(0,f.g3)(sr(Cr),sn)/sn;if(!sn)return Ut;function Hn($n,da){Nn>0?da<-f.or+f.Gg&&(da=-f.or+f.Gg):da>f.or-f.Gg&&(da=f.or-f.Gg);var _a=Nn/(0,f.g3)(sr(da),sn);return[_a*(0,f.g$)(sn*$n),Nn-_a*(0,f.W8)(sn*$n)]}return Hn.invert=function($n,da){var _a=Nn-da,Ya=(0,f.kq)(sn)*(0,f._I)($n*$n+_a*_a),di=(0,f.WE)($n,(0,f.a2)(_a))*(0,f.kq)(_a);return _a*sn<0&&(di-=f.pi*(0,f.kq)($n)*(0,f.kq)(_a)),[di/sn,2*(0,f.MQ)((0,f.g3)(Nn/Ya,1/sn))-f.or]},Hn}function wr(){return Pr(Sr).scale(109.5).parallels([30,30])}var Tr=a(69604);function Ze(Cr,Jr){var un=(0,f.W8)(Cr),sn=Cr===Jr?(0,f.g$)(Cr):(un-(0,f.W8)(Jr))/(Jr-Cr),Nn=un/sn+Cr;if((0,f.a2)(sn)<f.Gg)return Tr.u;function Hn($n,da){var _a=Nn-da,Ya=sn*$n;return[_a*(0,f.g$)(Ya),Nn-_a*(0,f.W8)(Ya)]}return Hn.invert=function($n,da){var _a=Nn-da,Ya=(0,f.WE)($n,(0,f.a2)(_a))*(0,f.kq)(_a);return _a*sn<0&&(Ya-=f.pi*(0,f.kq)($n)*(0,f.kq)(_a)),[Ya/sn,Nn-(0,f.kq)(sn)*(0,f._I)($n*$n+_a*_a)]},Hn}function Xe(){return Pr(Ze).scale(131.154).center([0,13.9389])}var Wt=1.340264,jt=-.081106,ar=893e-6,mr=.003796,br=(0,f._I)(3)/2,fr=12;function Kt(Cr,Jr){var un=(0,f.qR)(br*(0,f.g$)(Jr)),sn=un*un,Nn=sn*sn*sn;return[Cr*(0,f.W8)(un)/(br*(Wt+3*jt*sn+Nn*(7*ar+9*mr*sn))),un*(Wt+jt*sn+Nn*(ar+mr*sn))]}Kt.invert=function(Cr,Jr){for(var un=Jr,sn=un*un,Nn=sn*sn*sn,Hn=0,$n,da,_a;Hn<fr&&(da=un*(Wt+jt*sn+Nn*(ar+mr*sn))-Jr,_a=Wt+3*jt*sn+Nn*(7*ar+9*mr*sn),un-=$n=da/_a,sn=un*un,Nn=sn*sn*sn,!((0,f.a2)($n)<f.a8));++Hn);return[br*Cr*(Wt+3*jt*sn+Nn*(7*ar+9*mr*sn))/(0,f.W8)(un),(0,f.qR)((0,f.g$)(un)/br)]};function kr(){return(0,cr.c)(Kt).scale(177.158)}var Rr=a(53285),Lr=a(15196);function Ar(){var Cr=1,Jr=0,un=0,sn=1,Nn=1,Hn=0,$n,da,_a=null,Ya,di,ii,Za=1,oi=1,Fr=(0,Lr.s)({point:function(aa,ba){var Ua=na([aa,ba]);this.stream.point(Ua[0],Ua[1])}}),vn=he.c,fn,Vn;function Sa(){return Za=Cr*sn,oi=Cr*Nn,fn=Vn=null,na}function na(aa){var ba=aa[0]*Za,Ua=aa[1]*oi;if(Hn){var fi=Ua*$n-ba*da;ba=ba*$n+Ua*da,Ua=fi}return[ba+Jr,Ua+un]}return na.invert=function(aa){var ba=aa[0]-Jr,Ua=aa[1]-un;if(Hn){var fi=Ua*$n+ba*da;ba=ba*$n-Ua*da,Ua=fi}return[ba/Za,Ua/oi]},na.stream=function(aa){return fn&&Vn===aa?fn:fn=Fr(vn(Vn=aa))},na.postclip=function(aa){return arguments.length?(vn=aa,_a=Ya=di=ii=null,Sa()):vn},na.clipExtent=function(aa){return arguments.length?(vn=aa==null?(_a=Ya=di=ii=null,he.c):(0,_.c)(_a=+aa[0][0],Ya=+aa[0][1],di=+aa[1][0],ii=+aa[1][1]),Sa()):_a==null?null:[[_a,Ya],[di,ii]]},na.scale=function(aa){return arguments.length?(Cr=+aa,Sa()):Cr},na.translate=function(aa){return arguments.length?(Jr=+aa[0],un=+aa[1],Sa()):[Jr,un]},na.angle=function(aa){return arguments.length?(Hn=aa%360*f.qw,da=(0,f.g$)(Hn),$n=(0,f.W8)(Hn),Sa()):Hn*f.oh},na.reflectX=function(aa){return arguments.length?(sn=aa?-1:1,Sa()):sn<0},na.reflectY=function(aa){return arguments.length?(Nn=aa?-1:1,Sa()):Nn<0},na.fitExtent=function(aa,ba){return(0,yr.QX)(na,aa,ba)},na.fitSize=function(aa,ba){return(0,yr.UV)(na,aa,ba)},na.fitWidth=function(aa,ba){return(0,yr.Qx)(na,aa,ba)},na.fitHeight=function(aa,ba){return(0,yr.OW)(na,aa,ba)},na}var ln=a(47984),Kr=a(4888),Xr=a(62280);function Bn(Cr,Jr){var un=(0,f.W8)(Jr),sn=1+(0,f.W8)(Cr)*un;return[un*(0,f.g$)(Cr)/sn,(0,f.g$)(Jr)/sn]}Bn.invert=(0,Xr.g)(function(Cr){return 2*(0,f.MQ)(Cr)});function An(){return(0,cr.c)(Bn).scale(250).clipAngle(142)}function ta(Cr,Jr){return[(0,f.Yz)((0,f.a6)((f.or+Jr)/2)),-Cr]}ta.invert=function(Cr,Jr){return[-Jr,2*(0,f.MQ)((0,f.oN)(Cr))-f.or]};function ra(){var Cr=Xt(ta),Jr=Cr.center,un=Cr.rotate;return Cr.center=function(sn){return arguments.length?Jr([-sn[1],sn[0]]):(sn=Jr(),[sn[1],-sn[0]])},Cr.rotate=function(sn){return arguments.length?un([sn[0],sn[1],sn.length>2?sn[2]+90:90]):(sn=un(),[sn[0],sn[1],sn[2]-90])},un([0,0,90]).scale(159.155)}},27284:function(u,h,a){a.d(h,{c:function(){return v}});var l=a(64528);function v(i,S){var g=i[0]*l.qw,p=i[1]*l.qw,_=S[0]*l.qw,c=S[1]*l.qw,s=(0,l.W8)(p),d=(0,l.g$)(p),f=(0,l.W8)(c),b=(0,l.g$)(c),x=s*(0,l.W8)(g),y=s*(0,l.g$)(g),C=f*(0,l.W8)(_),w=f*(0,l.g$)(_),R=2*(0,l.qR)((0,l._I)((0,l.SD)(c-p)+s*f*(0,l.SD)(_-g))),A=(0,l.g$)(R),E=R?function(k){var L=(0,l.g$)(k*=R)/A,I=(0,l.g$)(R-k)/A,P=I*x+L*C,M=I*y+L*w,F=I*d+L*b;return[(0,l.WE)(M,P)*l.oh,(0,l.WE)(F,(0,l._I)(P*P+M*M))*l.oh]}:function(){return[g*l.oh,p*l.oh]};return E.distance=R,E}},64528:function(u,h,a){a.d(h,{Gg:function(){return l},Km:function(){return x},MQ:function(){return d},SD:function(){return P},W8:function(){return b},WE:function(){return f},Yz:function(){return C},_I:function(){return E},a2:function(){return s},a6:function(){return k},a8:function(){return v},g$:function(){return R},g3:function(){return w},kD:function(){return p},kq:function(){return A},mE:function(){return L},oN:function(){return y},oh:function(){return _},or:function(){return S},pi:function(){return i},qR:function(){return I},qw:function(){return c},wL:function(){return g}});var l=1e-6,v=1e-12,i=Math.PI,S=i/2,g=i/4,p=i*2,_=180/i,c=i/180,s=Math.abs,d=Math.atan,f=Math.atan2,b=Math.cos,x=Math.ceil,y=Math.exp,C=Math.log,w=Math.pow,R=Math.sin,A=Math.sign||function(M){return M>0?1:M<0?-1:0},E=Math.sqrt,k=Math.tan;function L(M){return M>1?0:M<-1?i:Math.acos(M)}function I(M){return M>1?S:M<-1?-S:Math.asin(M)}function P(M){return(M=R(M/2))*M}},70932:function(u,h,a){a.d(h,{c:function(){return l}});function l(){}},73784:function(u,h,a){var l=a(70932),v=1/0,i=v,S=-v,g=S,p={point:_,lineStart:l.c,lineEnd:l.c,polygonStart:l.c,polygonEnd:l.c,result:function(){var c=[[v,i],[S,g]];return S=g=-(i=v=1/0),c}};function _(c,s){c<v&&(v=c),c>S&&(S=c),s<i&&(i=s),s>g&&(g=s)}h.c=p},41860:function(u,h,a){a.d(h,{c:function(){return v}});var l=a(64528);function v(i,S){return(0,l.a2)(i[0]-S[0])<l.Gg&&(0,l.a2)(i[1]-S[1])<l.Gg}},58196:function(u,h,a){a.d(h,{c:function(){return p}});var l=a(88728),v=a(84220),i=a(64528),S=(0,l.c)();function g(_){return(0,i.a2)(_[0])<=i.pi?_[0]:(0,i.kq)(_[0])*(((0,i.a2)(_[0])+i.pi)%i.kD-i.pi)}function p(_,c){var s=g(c),d=c[1],f=(0,i.g$)(d),b=[(0,i.g$)(s),-(0,i.W8)(s),0],x=0,y=0;S.reset(),f===1?d=i.or+i.Gg:f===-1&&(d=-i.or-i.Gg);for(var C=0,w=_.length;C<w;++C)if(A=(R=_[C]).length)for(var R,A,E=R[A-1],k=g(E),L=E[1]/2+i.wL,I=(0,i.g$)(L),P=(0,i.W8)(L),M=0;M<A;++M,k=N,I=D,P=O,E=F){var F=R[M],N=g(F),T=F[1]/2+i.wL,D=(0,i.g$)(T),O=(0,i.W8)(T),U=N-k,B=U>=0?1:-1,Y=B*U,z=Y>i.pi,V=I*D;if(S.add((0,i.WE)(V*B*(0,i.g$)(Y),P*O+V*(0,i.W8)(Y))),x+=z?U+B*i.kD:U,z^k>=s^N>=s){var j=(0,v.CW)((0,v.ux)(E),(0,v.ux)(F));(0,v.cJ)(j);var G=(0,v.CW)(b,j);(0,v.cJ)(G);var W=(z^U>=0?-1:1)*(0,i.qR)(G[2]);(d>W||d===W&&(j[0]||j[1]))&&(y+=z^U>=0?1:-1)}}return(x<-i.Gg||x<i.Gg&&S<-i.Gg)^y&1}},62280:function(u,h,a){a.d(h,{a:function(){return v},g:function(){return i}});var l=a(64528);function v(S){return function(g,p){var _=(0,l.W8)(g),c=(0,l.W8)(p),s=S(_*c);return[s*c*(0,l.g$)(g),s*(0,l.g$)(p)]}}function i(S){return function(g,p){var _=(0,l._I)(g*g+p*p),c=S(_),s=(0,l.g$)(c),d=(0,l.W8)(c);return[(0,l.WE)(g*s,_*d),(0,l.qR)(_&&p*s/_)]}}},54724:function(u,h,a){a.d(h,{c:function(){return g},y:function(){return S}});var l=a(64528),v=a(62280),i=a(87952),S=(0,v.a)(function(p){return(0,l._I)(2/(1+p))});S.invert=(0,v.g)(function(p){return 2*(0,l.qR)(p/2)});function g(){return(0,i.c)(S).scale(124.75).clipAngle(179.999)}},69020:function(u,h,a){a.d(h,{O:function(){return S},c:function(){return g}});var l=a(64528),v=a(62280),i=a(87952),S=(0,v.a)(function(p){return(p=(0,l.mE)(p))&&p/(0,l.g$)(p)});S.invert=(0,v.g)(function(p){return p});function g(){return(0,i.c)(S).scale(79.4188).clipAngle(179.999)}},69604:function(u,h,a){a.d(h,{c:function(){return i},u:function(){return v}});var l=a(87952);function v(S,g){return[S,g]}v.invert=v;function i(){return(0,l.c)(v).scale(152.63)}},86420:function(u,h,a){a.d(h,{OW:function(){return _},QX:function(){return S},Qx:function(){return p},UV:function(){return g}});var l=a(16016),v=a(73784);function i(c,s,d){var f=c.clipExtent&&c.clipExtent();return c.scale(150).translate([0,0]),f!=null&&c.clipExtent(null),(0,l.c)(d,c.stream(v.c)),s(v.c.result()),f!=null&&c.clipExtent(f),c}function S(c,s,d){return i(c,function(f){var b=s[1][0]-s[0][0],x=s[1][1]-s[0][1],y=Math.min(b/(f[1][0]-f[0][0]),x/(f[1][1]-f[0][1])),C=+s[0][0]+(b-y*(f[1][0]+f[0][0]))/2,w=+s[0][1]+(x-y*(f[1][1]+f[0][1]))/2;c.scale(150*y).translate([C,w])},d)}function g(c,s,d){return S(c,[[0,0],s],d)}function p(c,s,d){return i(c,function(f){var b=+s,x=b/(f[1][0]-f[0][0]),y=(b-x*(f[1][0]+f[0][0]))/2,C=-x*f[0][1];c.scale(150*x).translate([y,C])},d)}function _(c,s,d){return i(c,function(f){var b=+s,x=b/(f[1][1]-f[0][1]),y=-x*f[0][0],C=(b-x*(f[1][1]+f[0][1]))/2;c.scale(150*x).translate([y,C])},d)}},53285:function(u,h,a){a.d(h,{Y:function(){return S},c:function(){return g}});var l=a(64528),v=a(62280),i=a(87952);function S(p,_){var c=(0,l.W8)(_),s=(0,l.W8)(p)*c;return[c*(0,l.g$)(p)/s,(0,l.g$)(_)/s]}S.invert=(0,v.g)(l.MQ);function g(){return(0,i.c)(S).scale(144.049).clipAngle(60)}},87952:function(u,h,a){a.d(h,{c:function(){return k},U:function(){return L}});var l=a(78284),v=a(2728),i=a(21676),S=a(68120),g=a(7376),p=a(64528),_=a(92992),c=a(15196),s=a(86420),d=a(84220),f=16,b=(0,p.W8)(30*p.qw);function x(I,P){return+P?C(I,P):y(I)}function y(I){return(0,c.s)({point:function(P,M){P=I(P,M),this.stream.point(P[0],P[1])}})}function C(I,P){function M(F,N,T,D,O,U,B,Y,z,V,j,G,W,X){var Q=B-F,ae=Y-N,ie=Q*Q+ae*ae;if(ie>4*P&&W--){var he=D+V,J=O+j,Z=U+G,le=(0,p._I)(he*he+J*J+Z*Z),K=(0,p.qR)(Z/=le),te=(0,p.a2)((0,p.a2)(Z)-1)<p.Gg||(0,p.a2)(T-z)<p.Gg?(T+z)/2:(0,p.WE)(J,he),ce=I(te,K),re=ce[0],ee=ce[1],de=re-F,oe=ee-N,fe=ae*de-Q*oe;(fe*fe/ie>P||(0,p.a2)((Q*de+ae*oe)/ie-.5)>.3||D*V+O*j+U*G<b)&&(M(F,N,T,D,O,U,re,ee,te,he/=le,J/=le,Z,W,X),X.point(re,ee),M(re,ee,te,he,J,Z,B,Y,z,V,j,G,W,X))}}return function(F){var N,T,D,O,U,B,Y,z,V,j,G,W,X={point:Q,lineStart:ae,lineEnd:he,polygonStart:function(){F.polygonStart(),X.lineStart=J},polygonEnd:function(){F.polygonEnd(),X.lineStart=ae}};function Q(K,te){K=I(K,te),F.point(K[0],K[1])}function ae(){z=NaN,X.point=ie,F.lineStart()}function ie(K,te){var ce=(0,d.ux)([K,te]),re=I(K,te);M(z,V,Y,j,G,W,z=re[0],V=re[1],Y=K,j=ce[0],G=ce[1],W=ce[2],f,F),F.point(z,V)}function he(){X.point=Q,F.lineEnd()}function J(){ae(),X.point=Z,X.lineEnd=le}function Z(K,te){ie(N=K,te),T=z,D=V,O=j,U=G,B=W,X.point=ie}function le(){M(z,V,Y,j,G,W,T,D,N,O,U,B,f,F),X.lineEnd=he,he()}return X}}var w=(0,c.s)({point:function(I,P){this.stream.point(I*p.qw,P*p.qw)}});function R(I){return(0,c.s)({point:function(P,M){var F=I(P,M);return this.stream.point(F[0],F[1])}})}function A(I,P,M,F,N){function T(D,O){return D*=F,O*=N,[P+I*D,M-I*O]}return T.invert=function(D,O){return[(D-P)/I*F,(M-O)/I*N]},T}function E(I,P,M,F,N,T){var D=(0,p.W8)(T),O=(0,p.g$)(T),U=D*I,B=O*I,Y=D/I,z=O/I,V=(O*M-D*P)/I,j=(O*P+D*M)/I;function G(W,X){return W*=F,X*=N,[U*W-B*X+P,M-B*W-U*X]}return G.invert=function(W,X){return[F*(Y*W-z*X+V),N*(j-z*W-Y*X)]},G}function k(I){return L(function(){return I})()}function L(I){var P,M=150,F=480,N=250,T=0,D=0,O=0,U=0,B=0,Y,z=0,V=1,j=1,G=null,W=l.c,X=null,Q,ae,ie,he=g.c,J=.5,Z,le,K,te,ce;function re(fe){return K(fe[0]*p.qw,fe[1]*p.qw)}function ee(fe){return fe=K.invert(fe[0],fe[1]),fe&&[fe[0]*p.oh,fe[1]*p.oh]}re.stream=function(fe){return te&&ce===fe?te:te=w(R(Y)(W(Z(he(ce=fe)))))},re.preclip=function(fe){return arguments.length?(W=fe,G=void 0,oe()):W},re.postclip=function(fe){return arguments.length?(he=fe,X=Q=ae=ie=null,oe()):he},re.clipAngle=function(fe){return arguments.length?(W=+fe?(0,v.c)(G=fe*p.qw):(G=null,l.c),oe()):G*p.oh},re.clipExtent=function(fe){return arguments.length?(he=fe==null?(X=Q=ae=ie=null,g.c):(0,i.c)(X=+fe[0][0],Q=+fe[0][1],ae=+fe[1][0],ie=+fe[1][1]),oe()):X==null?null:[[X,Q],[ae,ie]]},re.scale=function(fe){return arguments.length?(M=+fe,de()):M},re.translate=function(fe){return arguments.length?(F=+fe[0],N=+fe[1],de()):[F,N]},re.center=function(fe){return arguments.length?(T=fe[0]%360*p.qw,D=fe[1]%360*p.qw,de()):[T*p.oh,D*p.oh]},re.rotate=function(fe){return arguments.length?(O=fe[0]%360*p.qw,U=fe[1]%360*p.qw,B=fe.length>2?fe[2]%360*p.qw:0,de()):[O*p.oh,U*p.oh,B*p.oh]},re.angle=function(fe){return arguments.length?(z=fe%360*p.qw,de()):z*p.oh},re.reflectX=function(fe){return arguments.length?(V=fe?-1:1,de()):V<0},re.reflectY=function(fe){return arguments.length?(j=fe?-1:1,de()):j<0},re.precision=function(fe){return arguments.length?(Z=x(le,J=fe*fe),oe()):(0,p._I)(J)},re.fitExtent=function(fe,me){return(0,s.QX)(re,fe,me)},re.fitSize=function(fe,me){return(0,s.UV)(re,fe,me)},re.fitWidth=function(fe,me){return(0,s.Qx)(re,fe,me)},re.fitHeight=function(fe,me){return(0,s.OW)(re,fe,me)};function de(){var fe=E(M,0,0,V,j,z).apply(null,P(T,D)),me=(z?E:A)(M,F-fe[0],N-fe[1],V,j,z);return Y=(0,_.O)(O,U,B),le=(0,S.c)(P,me),K=(0,S.c)(Y,le),Z=x(le,J),oe()}function oe(){return te=ce=null,re}return function(){return P=I.apply(this,arguments),re.invert=P.invert&&ee,de()}}},47984:function(u,h,a){a.d(h,{c:function(){return S},g:function(){return i}});var l=a(87952),v=a(64528);function i(g,p){var _=p*p,c=_*_;return[g*(.8707-.131979*_+c*(-.013791+c*(.003971*_-.001529*c))),p*(1.007226+_*(.015085+c*(-.044475+.028874*_-.005916*c)))]}i.invert=function(g,p){var _=p,c=25,s;do{var d=_*_,f=d*d;_-=s=(_*(1.007226+d*(.015085+f*(-.044475+.028874*d-.005916*f)))-p)/(1.007226+d*(.045255+f*(-.311325+.259866*d-.06507600000000001*f)))}while((0,v.a2)(s)>v.Gg&&--c>0);return[g/(.8707+(d=_*_)*(-.131979+d*(-.013791+d*d*d*(.003971-.001529*d)))),_]};function S(){return(0,l.c)(i).scale(175.295)}},4888:function(u,h,a){a.d(h,{c:function(){return g},t:function(){return S}});var l=a(64528),v=a(62280),i=a(87952);function S(p,_){return[(0,l.W8)(_)*(0,l.g$)(p),(0,l.g$)(_)]}S.invert=(0,v.g)(l.qR);function g(){return(0,i.c)(S).scale(249.5).clipAngle(90+l.Gg)}},92992:function(u,h,a){a.d(h,{O:function(){return S},c:function(){return c}});var l=a(68120),v=a(64528);function i(s,d){return[(0,v.a2)(s)>v.pi?s+Math.round(-s/v.kD)*v.kD:s,d]}i.invert=i;function S(s,d,f){return(s%=v.kD)?d||f?(0,l.c)(p(s),_(d,f)):p(s):d||f?_(d,f):i}function g(s){return function(d,f){return d+=s,[d>v.pi?d-v.kD:d<-v.pi?d+v.kD:d,f]}}function p(s){var d=g(s);return d.invert=g(-s),d}function _(s,d){var f=(0,v.W8)(s),b=(0,v.g$)(s),x=(0,v.W8)(d),y=(0,v.g$)(d);function C(w,R){var A=(0,v.W8)(R),E=(0,v.W8)(w)*A,k=(0,v.g$)(w)*A,L=(0,v.g$)(R),I=L*f+E*b;return[(0,v.WE)(k*x-I*y,E*f-L*b),(0,v.qR)(I*x+k*y)]}return C.invert=function(w,R){var A=(0,v.W8)(R),E=(0,v.W8)(w)*A,k=(0,v.g$)(w)*A,L=(0,v.g$)(R),I=L*x-k*y;return[(0,v.WE)(k*x+L*y,E*f+I*b),(0,v.qR)(I*f-E*b)]},C}function c(s){s=S(s[0]*v.qw,s[1]*v.qw,s.length>2?s[2]*v.qw:0);function d(f){return f=s(f[0]*v.qw,f[1]*v.qw),f[0]*=v.oh,f[1]*=v.oh,f}return d.invert=function(f){return f=s.invert(f[0]*v.qw,f[1]*v.qw),f[0]*=v.oh,f[1]*=v.oh,f},d}},16016:function(u,h,a){a.d(h,{c:function(){return p}});function l(_,c){_&&i.hasOwnProperty(_.type)&&i[_.type](_,c)}var v={Feature:function(_,c){l(_.geometry,c)},FeatureCollection:function(_,c){for(var s=_.features,d=-1,f=s.length;++d<f;)l(s[d].geometry,c)}},i={Sphere:function(_,c){c.sphere()},Point:function(_,c){_=_.coordinates,c.point(_[0],_[1],_[2])},MultiPoint:function(_,c){for(var s=_.coordinates,d=-1,f=s.length;++d<f;)_=s[d],c.point(_[0],_[1],_[2])},LineString:function(_,c){S(_.coordinates,c,0)},MultiLineString:function(_,c){for(var s=_.coordinates,d=-1,f=s.length;++d<f;)S(s[d],c,0)},Polygon:function(_,c){g(_.coordinates,c)},MultiPolygon:function(_,c){for(var s=_.coordinates,d=-1,f=s.length;++d<f;)g(s[d],c)},GeometryCollection:function(_,c){for(var s=_.geometries,d=-1,f=s.length;++d<f;)l(s[d],c)}};function S(_,c,s){var d=-1,f=_.length-s,b;for(c.lineStart();++d<f;)b=_[d],c.point(b[0],b[1],b[2]);c.lineEnd()}function g(_,c){var s=-1,d=_.length;for(c.polygonStart();++s<d;)S(_[s],c,1);c.polygonEnd()}function p(_,c){_&&v.hasOwnProperty(_.type)?v[_.type](_,c):l(_,c)}},15196:function(u,h,a){a.d(h,{c:function(){return l},s:function(){return v}});function l(S){return{stream:v(S)}}function v(S){return function(g){var p=new i;for(var _ in S)p[_]=S[_];return p.stream=g,p}}function i(){}i.prototype={constructor:i,point:function(S,g){this.stream.point(S,g)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}},74148:function(u,h,a){a.r(h),a.d(h,{cluster:function(){return c},hierarchy:function(){return I},pack:function(){return ee},packEnclose:function(){return U},packSiblings:function(){return Z},partition:function(){return we},stratify:function(){return Ke},tree:function(){return vt},treemap:function(){return Ve},treemapBinary:function(){return Qe},treemapDice:function(){return Te},treemapResquarify:function(){return qe},treemapSlice:function(){return _t},treemapSliceDice:function(){return rt},treemapSquarify:function(){return ct}});function l(He,Ce){return He.parent===Ce.parent?1:2}function v(He){return He.reduce(i,0)/He.length}function i(He,Ce){return He+Ce.x}function S(He){return 1+He.reduce(g,0)}function g(He,Ce){return Math.max(He,Ce.y)}function p(He){for(var Ce;Ce=He.children;)He=Ce[0];return He}function _(He){for(var Ce;Ce=He.children;)He=Ce[Ce.length-1];return He}function c(){var He=l,Ce=1,Se=1,Le=!1;function Ne(je){var Je,ut=0;je.eachAfter(function(It){var Gt=It.children;Gt?(It.x=v(Gt),It.y=S(Gt)):(It.x=Je?ut+=He(It,Je):0,It.y=0,Je=It)});var Et=p(je),wt=_(je),nr=Et.x-He(Et,wt)/2,ir=wt.x+He(wt,Et)/2;return je.eachAfter(Le?function(It){It.x=(It.x-je.x)*Ce,It.y=(je.y-It.y)*Se}:function(It){It.x=(It.x-nr)/(ir-nr)*Ce,It.y=(1-(je.y?It.y/je.y:1))*Se})}return Ne.separation=function(je){return arguments.length?(He=je,Ne):He},Ne.size=function(je){return arguments.length?(Le=!1,Ce=+je[0],Se=+je[1],Ne):Le?null:[Ce,Se]},Ne.nodeSize=function(je){return arguments.length?(Le=!0,Ce=+je[0],Se=+je[1],Ne):Le?[Ce,Se]:null},Ne}function s(He){var Ce=0,Se=He.children,Le=Se&&Se.length;if(!Le)Ce=1;else for(;--Le>=0;)Ce+=Se[Le].value;He.value=Ce}function d(){return this.eachAfter(s)}function f(He){var Ce=this,Se,Le=[Ce],Ne,je,Je;do for(Se=Le.reverse(),Le=[];Ce=Se.pop();)if(He(Ce),Ne=Ce.children,Ne)for(je=0,Je=Ne.length;je<Je;++je)Le.push(Ne[je]);while(Le.length);return this}function b(He){for(var Ce=this,Se=[Ce],Le,Ne;Ce=Se.pop();)if(He(Ce),Le=Ce.children,Le)for(Ne=Le.length-1;Ne>=0;--Ne)Se.push(Le[Ne]);return this}function x(He){for(var Ce=this,Se=[Ce],Le=[],Ne,je,Je;Ce=Se.pop();)if(Le.push(Ce),Ne=Ce.children,Ne)for(je=0,Je=Ne.length;je<Je;++je)Se.push(Ne[je]);for(;Ce=Le.pop();)He(Ce);return this}function y(He){return this.eachAfter(function(Ce){for(var Se=+He(Ce.data)||0,Le=Ce.children,Ne=Le&&Le.length;--Ne>=0;)Se+=Le[Ne].value;Ce.value=Se})}function C(He){return this.eachBefore(function(Ce){Ce.children&&Ce.children.sort(He)})}function w(He){for(var Ce=this,Se=R(Ce,He),Le=[Ce];Ce!==Se;)Ce=Ce.parent,Le.push(Ce);for(var Ne=Le.length;He!==Se;)Le.splice(Ne,0,He),He=He.parent;return Le}function R(He,Ce){if(He===Ce)return He;var Se=He.ancestors(),Le=Ce.ancestors(),Ne=null;for(He=Se.pop(),Ce=Le.pop();He===Ce;)Ne=He,He=Se.pop(),Ce=Le.pop();return Ne}function A(){for(var He=this,Ce=[He];He=He.parent;)Ce.push(He);return Ce}function E(){var He=[];return this.each(function(Ce){He.push(Ce)}),He}function k(){var He=[];return this.eachBefore(function(Ce){Ce.children||He.push(Ce)}),He}function L(){var He=this,Ce=[];return He.each(function(Se){Se!==He&&Ce.push({source:Se.parent,target:Se})}),Ce}function I(He,Ce){var Se=new T(He),Le=+He.value&&(Se.value=He.value),Ne,je=[Se],Je,ut,Et,wt;for(Ce==null&&(Ce=M);Ne=je.pop();)if(Le&&(Ne.value=+Ne.data.value),(ut=Ce(Ne.data))&&(wt=ut.length))for(Ne.children=new Array(wt),Et=wt-1;Et>=0;--Et)je.push(Je=Ne.children[Et]=new T(ut[Et])),Je.parent=Ne,Je.depth=Ne.depth+1;return Se.eachBefore(N)}function P(){return I(this).eachBefore(F)}function M(He){return He.children}function F(He){He.data=He.data.data}function N(He){var Ce=0;do He.height=Ce;while((He=He.parent)&&He.height<++Ce)}function T(He){this.data=He,this.depth=this.height=0,this.parent=null}T.prototype=I.prototype={constructor:T,count:d,each:f,eachAfter:x,eachBefore:b,sum:y,sort:C,path:w,ancestors:A,descendants:E,leaves:k,links:L,copy:P};var D=Array.prototype.slice;function O(He){for(var Ce=He.length,Se,Le;Ce;)Le=Math.random()*Ce--|0,Se=He[Ce],He[Ce]=He[Le],He[Le]=Se;return He}function U(He){for(var Ce=0,Se=(He=O(D.call(He))).length,Le=[],Ne,je;Ce<Se;)Ne=He[Ce],je&&z(je,Ne)?++Ce:(je=j(Le=B(Le,Ne)),Ce=0);return je}function B(He,Ce){var Se,Le;if(V(Ce,He))return[Ce];for(Se=0;Se<He.length;++Se)if(Y(Ce,He[Se])&&V(W(He[Se],Ce),He))return[He[Se],Ce];for(Se=0;Se<He.length-1;++Se)for(Le=Se+1;Le<He.length;++Le)if(Y(W(He[Se],He[Le]),Ce)&&Y(W(He[Se],Ce),He[Le])&&Y(W(He[Le],Ce),He[Se])&&V(X(He[Se],He[Le],Ce),He))return[He[Se],He[Le],Ce];throw new Error}function Y(He,Ce){var Se=He.r-Ce.r,Le=Ce.x-He.x,Ne=Ce.y-He.y;return Se<0||Se*Se<Le*Le+Ne*Ne}function z(He,Ce){var Se=He.r-Ce.r+1e-6,Le=Ce.x-He.x,Ne=Ce.y-He.y;return Se>0&&Se*Se>Le*Le+Ne*Ne}function V(He,Ce){for(var Se=0;Se<Ce.length;++Se)if(!z(He,Ce[Se]))return!1;return!0}function j(He){switch(He.length){case 1:return G(He[0]);case 2:return W(He[0],He[1]);case 3:return X(He[0],He[1],He[2])}}function G(He){return{x:He.x,y:He.y,r:He.r}}function W(He,Ce){var Se=He.x,Le=He.y,Ne=He.r,je=Ce.x,Je=Ce.y,ut=Ce.r,Et=je-Se,wt=Je-Le,nr=ut-Ne,ir=Math.sqrt(Et*Et+wt*wt);return{x:(Se+je+Et/ir*nr)/2,y:(Le+Je+wt/ir*nr)/2,r:(ir+Ne+ut)/2}}function X(He,Ce,Se){var Le=He.x,Ne=He.y,je=He.r,Je=Ce.x,ut=Ce.y,Et=Ce.r,wt=Se.x,nr=Se.y,ir=Se.r,It=Le-Je,Gt=Le-wt,cr=Ne-ut,Pr=Ne-nr,Ct=Et-je,or=ir-je,ur=Le*Le+Ne*Ne-je*je,Ir=ur-Je*Je-ut*ut+Et*Et,yr=ur-wt*wt-nr*nr+ir*ir,At=Gt*cr-It*Pr,mt=(cr*yr-Pr*Ir)/(At*2)-Le,Mt=(Pr*Ct-cr*or)/At,Pt=(Gt*Ir-It*yr)/(At*2)-Ne,Ht=(It*or-Gt*Ct)/At,Ut=Mt*Mt+Ht*Ht-1,Zt=2*(je+mt*Mt+Pt*Ht),Xt=mt*mt+Pt*Pt-je*je,sr=-(Ut?(Zt+Math.sqrt(Zt*Zt-4*Ut*Xt))/(2*Ut):Xt/Zt);return{x:Le+mt+Mt*sr,y:Ne+Pt+Ht*sr,r:sr}}function Q(He,Ce,Se){var Le=He.x-Ce.x,Ne,je,Je=He.y-Ce.y,ut,Et,wt=Le*Le+Je*Je;wt?(je=Ce.r+Se.r,je*=je,Et=He.r+Se.r,Et*=Et,je>Et?(Ne=(wt+Et-je)/(2*wt),ut=Math.sqrt(Math.max(0,Et/wt-Ne*Ne)),Se.x=He.x-Ne*Le-ut*Je,Se.y=He.y-Ne*Je+ut*Le):(Ne=(wt+je-Et)/(2*wt),ut=Math.sqrt(Math.max(0,je/wt-Ne*Ne)),Se.x=Ce.x+Ne*Le-ut*Je,Se.y=Ce.y+Ne*Je+ut*Le)):(Se.x=Ce.x+Se.r,Se.y=Ce.y)}function ae(He,Ce){var Se=He.r+Ce.r-1e-6,Le=Ce.x-He.x,Ne=Ce.y-He.y;return Se>0&&Se*Se>Le*Le+Ne*Ne}function ie(He){var Ce=He._,Se=He.next._,Le=Ce.r+Se.r,Ne=(Ce.x*Se.r+Se.x*Ce.r)/Le,je=(Ce.y*Se.r+Se.y*Ce.r)/Le;return Ne*Ne+je*je}function he(He){this._=He,this.next=null,this.previous=null}function J(He){if(!(Ne=He.length))return 0;var Ce,Se,Le,Ne,je,Je,ut,Et,wt,nr,ir;if(Ce=He[0],Ce.x=0,Ce.y=0,!(Ne>1))return Ce.r;if(Se=He[1],Ce.x=-Se.r,Se.x=Ce.r,Se.y=0,!(Ne>2))return Ce.r+Se.r;Q(Se,Ce,Le=He[2]),Ce=new he(Ce),Se=new he(Se),Le=new he(Le),Ce.next=Le.previous=Se,Se.next=Ce.previous=Le,Le.next=Se.previous=Ce;e:for(ut=3;ut<Ne;++ut){Q(Ce._,Se._,Le=He[ut]),Le=new he(Le),Et=Se.next,wt=Ce.previous,nr=Se._.r,ir=Ce._.r;do if(nr<=ir){if(ae(Et._,Le._)){Se=Et,Ce.next=Se,Se.previous=Ce,--ut;continue e}nr+=Et._.r,Et=Et.next}else{if(ae(wt._,Le._)){Ce=wt,Ce.next=Se,Se.previous=Ce,--ut;continue e}ir+=wt._.r,wt=wt.previous}while(Et!==wt.next);for(Le.previous=Ce,Le.next=Se,Ce.next=Se.previous=Se=Le,je=ie(Ce);(Le=Le.next)!==Se;)(Je=ie(Le))<je&&(Ce=Le,je=Je);Se=Ce.next}for(Ce=[Se._],Le=Se;(Le=Le.next)!==Se;)Ce.push(Le._);for(Le=U(Ce),ut=0;ut<Ne;++ut)Ce=He[ut],Ce.x-=Le.x,Ce.y-=Le.y;return Le.r}function Z(He){return J(He),He}function le(He){return He==null?null:K(He)}function K(He){if(typeof He!="function")throw new Error;return He}function te(){return 0}function ce(He){return function(){return He}}function re(He){return Math.sqrt(He.value)}function ee(){var He=null,Ce=1,Se=1,Le=te;function Ne(je){return je.x=Ce/2,je.y=Se/2,He?je.eachBefore(de(He)).eachAfter(oe(Le,.5)).eachBefore(fe(1)):je.eachBefore(de(re)).eachAfter(oe(te,1)).eachAfter(oe(Le,je.r/Math.min(Ce,Se))).eachBefore(fe(Math.min(Ce,Se)/(2*je.r))),je}return Ne.radius=function(je){return arguments.length?(He=le(je),Ne):He},Ne.size=function(je){return arguments.length?(Ce=+je[0],Se=+je[1],Ne):[Ce,Se]},Ne.padding=function(je){return arguments.length?(Le=typeof je=="function"?je:ce(+je),Ne):Le},Ne}function de(He){return function(Ce){Ce.children||(Ce.r=Math.max(0,+He(Ce)||0))}}function oe(He,Ce){return function(Se){if(Le=Se.children){var Le,Ne,je=Le.length,Je=He(Se)*Ce||0,ut;if(Je)for(Ne=0;Ne<je;++Ne)Le[Ne].r+=Je;if(ut=J(Le),Je)for(Ne=0;Ne<je;++Ne)Le[Ne].r-=Je;Se.r=ut+Je}}}function fe(He){return function(Ce){var Se=Ce.parent;Ce.r*=He,Se&&(Ce.x=Se.x+He*Ce.x,Ce.y=Se.y+He*Ce.y)}}function me(He){He.x0=Math.round(He.x0),He.y0=Math.round(He.y0),He.x1=Math.round(He.x1),He.y1=Math.round(He.y1)}function Te(He,Ce,Se,Le,Ne){for(var je=He.children,Je,ut=-1,Et=je.length,wt=He.value&&(Le-Ce)/He.value;++ut<Et;)Je=je[ut],Je.y0=Se,Je.y1=Ne,Je.x0=Ce,Je.x1=Ce+=Je.value*wt}function we(){var He=1,Ce=1,Se=0,Le=!1;function Ne(Je){var ut=Je.height+1;return Je.x0=Je.y0=Se,Je.x1=He,Je.y1=Ce/ut,Je.eachBefore(je(Ce,ut)),Le&&Je.eachBefore(me),Je}function je(Je,ut){return function(Et){Et.children&&Te(Et,Et.x0,Je*(Et.depth+1)/ut,Et.x1,Je*(Et.depth+2)/ut);var wt=Et.x0,nr=Et.y0,ir=Et.x1-Se,It=Et.y1-Se;ir<wt&&(wt=ir=(wt+ir)/2),It<nr&&(nr=It=(nr+It)/2),Et.x0=wt,Et.y0=nr,Et.x1=ir,Et.y1=It}}return Ne.round=function(Je){return arguments.length?(Le=!!Je,Ne):Le},Ne.size=function(Je){return arguments.length?(He=+Je[0],Ce=+Je[1],Ne):[He,Ce]},Ne.padding=function(Je){return arguments.length?(Se=+Je,Ne):Se},Ne}var Be="$",Ae={depth:-1},Re={};function be(He){return He.id}function Pe(He){return He.parentId}function Ke(){var He=be,Ce=Pe;function Se(Le){var Ne,je,Je=Le.length,ut,Et,wt,nr=new Array(Je),ir,It,Gt={};for(je=0;je<Je;++je)Ne=Le[je],wt=nr[je]=new T(Ne),(ir=He(Ne,je,Le))!=null&&(ir+="")&&(It=Be+(wt.id=ir),Gt[It]=It in Gt?Re:wt);for(je=0;je<Je;++je)if(wt=nr[je],ir=Ce(Le[je],je,Le),ir==null||!(ir+="")){if(ut)throw new Error("multiple roots");ut=wt}else{if(Et=Gt[Be+ir],!Et)throw new Error("missing: "+ir);if(Et===Re)throw new Error("ambiguous: "+ir);Et.children?Et.children.push(wt):Et.children=[wt],wt.parent=Et}if(!ut)throw new Error("no root");if(ut.parent=Ae,ut.eachBefore(function(cr){cr.depth=cr.parent.depth+1,--Je}).eachBefore(N),ut.parent=null,Je>0)throw new Error("cycle");return ut}return Se.id=function(Le){return arguments.length?(He=K(Le),Se):He},Se.parentId=function(Le){return arguments.length?(Ce=K(Le),Se):Ce},Se}function ze(He,Ce){return He.parent===Ce.parent?1:2}function Fe(He){var Ce=He.children;return Ce?Ce[0]:He.t}function We(He){var Ce=He.children;return Ce?Ce[Ce.length-1]:He.t}function lt(He,Ce,Se){var Le=Se/(Ce.i-He.i);Ce.c-=Le,Ce.s+=Se,He.c+=Le,Ce.z+=Se,Ce.m+=Se}function ht(He){for(var Ce=0,Se=0,Le=He.children,Ne=Le.length,je;--Ne>=0;)je=Le[Ne],je.z+=Ce,je.m+=Ce,Ce+=je.s+(Se+=je.c)}function tt(He,Ce,Se){return He.a.parent===Ce.parent?He.a:Se}function et(He,Ce){this._=He,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=Ce}et.prototype=Object.create(T.prototype);function pt(He){for(var Ce=new et(He,0),Se,Le=[Ce],Ne,je,Je,ut;Se=Le.pop();)if(je=Se._.children)for(Se.children=new Array(ut=je.length),Je=ut-1;Je>=0;--Je)Le.push(Ne=Se.children[Je]=new et(je[Je],Je)),Ne.parent=Se;return(Ce.parent=new et(null,0)).children=[Ce],Ce}function vt(){var He=ze,Ce=1,Se=1,Le=null;function Ne(wt){var nr=pt(wt);if(nr.eachAfter(je),nr.parent.m=-nr.z,nr.eachBefore(Je),Le)wt.eachBefore(Et);else{var ir=wt,It=wt,Gt=wt;wt.eachBefore(function(ur){ur.x<ir.x&&(ir=ur),ur.x>It.x&&(It=ur),ur.depth>Gt.depth&&(Gt=ur)});var cr=ir===It?1:He(ir,It)/2,Pr=cr-ir.x,Ct=Ce/(It.x+cr+Pr),or=Se/(Gt.depth||1);wt.eachBefore(function(ur){ur.x=(ur.x+Pr)*Ct,ur.y=ur.depth*or})}return wt}function je(wt){var nr=wt.children,ir=wt.parent.children,It=wt.i?ir[wt.i-1]:null;if(nr){ht(wt);var Gt=(nr[0].z+nr[nr.length-1].z)/2;It?(wt.z=It.z+He(wt._,It._),wt.m=wt.z-Gt):wt.z=Gt}else It&&(wt.z=It.z+He(wt._,It._));wt.parent.A=ut(wt,It,wt.parent.A||ir[0])}function Je(wt){wt._.x=wt.z+wt.parent.m,wt.m+=wt.parent.m}function ut(wt,nr,ir){if(nr){for(var It=wt,Gt=wt,cr=nr,Pr=It.parent.children[0],Ct=It.m,or=Gt.m,ur=cr.m,Ir=Pr.m,yr;cr=We(cr),It=Fe(It),cr&&It;)Pr=Fe(Pr),Gt=We(Gt),Gt.a=wt,yr=cr.z+ur-It.z-Ct+He(cr._,It._),yr>0&&(lt(tt(cr,wt,ir),wt,yr),Ct+=yr,or+=yr),ur+=cr.m,Ct+=It.m,Ir+=Pr.m,or+=Gt.m;cr&&!We(Gt)&&(Gt.t=cr,Gt.m+=ur-or),It&&!Fe(Pr)&&(Pr.t=It,Pr.m+=Ct-Ir,ir=wt)}return ir}function Et(wt){wt.x*=Ce,wt.y=wt.depth*Se}return Ne.separation=function(wt){return arguments.length?(He=wt,Ne):He},Ne.size=function(wt){return arguments.length?(Le=!1,Ce=+wt[0],Se=+wt[1],Ne):Le?null:[Ce,Se]},Ne.nodeSize=function(wt){return arguments.length?(Le=!0,Ce=+wt[0],Se=+wt[1],Ne):Le?[Ce,Se]:null},Ne}function _t(He,Ce,Se,Le,Ne){for(var je=He.children,Je,ut=-1,Et=je.length,wt=He.value&&(Ne-Se)/He.value;++ut<Et;)Je=je[ut],Je.x0=Ce,Je.x1=Le,Je.y0=Se,Je.y1=Se+=Je.value*wt}var bt=(1+Math.sqrt(5))/2;function Rt(He,Ce,Se,Le,Ne,je){for(var Je=[],ut=Ce.children,Et,wt,nr=0,ir=0,It=ut.length,Gt,cr,Pr=Ce.value,Ct,or,ur,Ir,yr,At,mt;nr<It;){Gt=Ne-Se,cr=je-Le;do Ct=ut[ir++].value;while(!Ct&&ir<It);for(or=ur=Ct,At=Math.max(cr/Gt,Gt/cr)/(Pr*He),mt=Ct*Ct*At,yr=Math.max(ur/mt,mt/or);ir<It;++ir){if(Ct+=wt=ut[ir].value,wt<or&&(or=wt),wt>ur&&(ur=wt),mt=Ct*Ct*At,Ir=Math.max(ur/mt,mt/or),Ir>yr){Ct-=wt;break}yr=Ir}Je.push(Et={value:Ct,dice:Gt<cr,children:ut.slice(nr,ir)}),Et.dice?Te(Et,Se,Le,Ne,Pr?Le+=cr*Ct/Pr:je):_t(Et,Se,Le,Pr?Se+=Gt*Ct/Pr:Ne,je),Pr-=Ct,nr=ir}return Je}var ct=function He(Ce){function Se(Le,Ne,je,Je,ut){Rt(Ce,Le,Ne,je,Je,ut)}return Se.ratio=function(Le){return He((Le=+Le)>1?Le:1)},Se}(bt);function Ve(){var He=ct,Ce=!1,Se=1,Le=1,Ne=[0],je=te,Je=te,ut=te,Et=te,wt=te;function nr(It){return It.x0=It.y0=0,It.x1=Se,It.y1=Le,It.eachBefore(ir),Ne=[0],Ce&&It.eachBefore(me),It}function ir(It){var Gt=Ne[It.depth],cr=It.x0+Gt,Pr=It.y0+Gt,Ct=It.x1-Gt,or=It.y1-Gt;Ct<cr&&(cr=Ct=(cr+Ct)/2),or<Pr&&(Pr=or=(Pr+or)/2),It.x0=cr,It.y0=Pr,It.x1=Ct,It.y1=or,It.children&&(Gt=Ne[It.depth+1]=je(It)/2,cr+=wt(It)-Gt,Pr+=Je(It)-Gt,Ct-=ut(It)-Gt,or-=Et(It)-Gt,Ct<cr&&(cr=Ct=(cr+Ct)/2),or<Pr&&(Pr=or=(Pr+or)/2),He(It,cr,Pr,Ct,or))}return nr.round=function(It){return arguments.length?(Ce=!!It,nr):Ce},nr.size=function(It){return arguments.length?(Se=+It[0],Le=+It[1],nr):[Se,Le]},nr.tile=function(It){return arguments.length?(He=K(It),nr):He},nr.padding=function(It){return arguments.length?nr.paddingInner(It).paddingOuter(It):nr.paddingInner()},nr.paddingInner=function(It){return arguments.length?(je=typeof It=="function"?It:ce(+It),nr):je},nr.paddingOuter=function(It){return arguments.length?nr.paddingTop(It).paddingRight(It).paddingBottom(It).paddingLeft(It):nr.paddingTop()},nr.paddingTop=function(It){return arguments.length?(Je=typeof It=="function"?It:ce(+It),nr):Je},nr.paddingRight=function(It){return arguments.length?(ut=typeof It=="function"?It:ce(+It),nr):ut},nr.paddingBottom=function(It){return arguments.length?(Et=typeof It=="function"?It:ce(+It),nr):Et},nr.paddingLeft=function(It){return arguments.length?(wt=typeof It=="function"?It:ce(+It),nr):wt},nr}function Qe(He,Ce,Se,Le,Ne){var je=He.children,Je,ut=je.length,Et,wt=new Array(ut+1);for(wt[0]=Et=Je=0;Je<ut;++Je)wt[Je+1]=Et+=je[Je].value;nr(0,ut,He.value,Ce,Se,Le,Ne);function nr(ir,It,Gt,cr,Pr,Ct,or){if(ir>=It-1){var ur=je[ir];ur.x0=cr,ur.y0=Pr,ur.x1=Ct,ur.y1=or;return}for(var Ir=wt[ir],yr=Gt/2+Ir,At=ir+1,mt=It-1;At<mt;){var Mt=At+mt>>>1;wt[Mt]<yr?At=Mt+1:mt=Mt}yr-wt[At-1]<wt[At]-yr&&ir+1<At&&--At;var Pt=wt[At]-Ir,Ht=Gt-Pt;if(Ct-cr>or-Pr){var Ut=(cr*Ht+Ct*Pt)/Gt;nr(ir,At,Pt,cr,Pr,Ut,or),nr(At,It,Ht,Ut,Pr,Ct,or)}else{var Zt=(Pr*Ht+or*Pt)/Gt;nr(ir,At,Pt,cr,Pr,Ct,Zt),nr(At,It,Ht,cr,Zt,Ct,or)}}}function rt(He,Ce,Se,Le,Ne){(He.depth&1?_t:Te)(He,Ce,Se,Le,Ne)}var qe=function He(Ce){function Se(Le,Ne,je,Je,ut){if((Et=Le._squarify)&&Et.ratio===Ce)for(var Et,wt,nr,ir,It=-1,Gt,cr=Et.length,Pr=Le.value;++It<cr;){for(wt=Et[It],nr=wt.children,ir=wt.value=0,Gt=nr.length;ir<Gt;++ir)wt.value+=nr[ir].value;wt.dice?Te(wt,Ne,je,Je,je+=(ut-je)*wt.value/Pr):_t(wt,Ne,je,Ne+=(Je-Ne)*wt.value/Pr,ut),Pr-=wt.value}else Le._squarify=Et=Rt(Ce,Le,Ne,je,Je,ut),Et.ratio=Ce}return Se.ratio=function(Le){return He((Le=+Le)>1?Le:1)},Se}(bt)},10132:function(u,h,a){a.d(h,{ak:function(){return w}});var l=Math.PI,v=2*l,i=1e-6,S=v-i;function g(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function p(){return new g}g.prototype=p.prototype={constructor:g,moveTo:function(R,A){this._+="M"+(this._x0=this._x1=+R)+","+(this._y0=this._y1=+A)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(R,A){this._+="L"+(this._x1=+R)+","+(this._y1=+A)},quadraticCurveTo:function(R,A,E,k){this._+="Q"+ +R+","+ +A+","+(this._x1=+E)+","+(this._y1=+k)},bezierCurveTo:function(R,A,E,k,L,I){this._+="C"+ +R+","+ +A+","+ +E+","+ +k+","+(this._x1=+L)+","+(this._y1=+I)},arcTo:function(R,A,E,k,L){R=+R,A=+A,E=+E,k=+k,L=+L;var I=this._x1,P=this._y1,M=E-R,F=k-A,N=I-R,T=P-A,D=N*N+T*T;if(L<0)throw new Error("negative radius: "+L);if(this._x1===null)this._+="M"+(this._x1=R)+","+(this._y1=A);else if(D>i)if(!(Math.abs(T*M-F*N)>i)||!L)this._+="L"+(this._x1=R)+","+(this._y1=A);else{var O=E-I,U=k-P,B=M*M+F*F,Y=O*O+U*U,z=Math.sqrt(B),V=Math.sqrt(D),j=L*Math.tan((l-Math.acos((B+D-Y)/(2*z*V)))/2),G=j/V,W=j/z;Math.abs(G-1)>i&&(this._+="L"+(R+G*N)+","+(A+G*T)),this._+="A"+L+","+L+",0,0,"+ +(T*O>N*U)+","+(this._x1=R+W*M)+","+(this._y1=A+W*F)}},arc:function(R,A,E,k,L,I){R=+R,A=+A,E=+E,I=!!I;var P=E*Math.cos(k),M=E*Math.sin(k),F=R+P,N=A+M,T=1^I,D=I?k-L:L-k;if(E<0)throw new Error("negative radius: "+E);this._x1===null?this._+="M"+F+","+N:(Math.abs(this._x1-F)>i||Math.abs(this._y1-N)>i)&&(this._+="L"+F+","+N),E&&(D<0&&(D=D%v+v),D>S?this._+="A"+E+","+E+",0,1,"+T+","+(R-P)+","+(A-M)+"A"+E+","+E+",0,1,"+T+","+(this._x1=F)+","+(this._y1=N):D>i&&(this._+="A"+E+","+E+",0,"+ +(D>=l)+","+T+","+(this._x1=R+E*Math.cos(L))+","+(this._y1=A+E*Math.sin(L))))},rect:function(R,A,E,k){this._+="M"+(this._x0=this._x1=+R)+","+(this._y0=this._y1=+A)+"h"+ +E+"v"+ +k+"h"+-E+"Z"},toString:function(){return this._}};var _=p,c=Array.prototype.slice;function s(R){return function(){return R}}function d(R){return R[0]}function f(R){return R[1]}function b(R){return R.source}function x(R){return R.target}function y(R){var A=b,E=x,k=d,L=f,I=null;function P(){var M,F=c.call(arguments),N=A.apply(this,F),T=E.apply(this,F);if(I||(I=M=_()),R(I,+k.apply(this,(F[0]=N,F)),+L.apply(this,F),+k.apply(this,(F[0]=T,F)),+L.apply(this,F)),M)return I=null,M+""||null}return P.source=function(M){return arguments.length?(A=M,P):A},P.target=function(M){return arguments.length?(E=M,P):E},P.x=function(M){return arguments.length?(k=typeof M=="function"?M:s(+M),P):k},P.y=function(M){return arguments.length?(L=typeof M=="function"?M:s(+M),P):L},P.context=function(M){return arguments.length?(I=M??null,P):I},P}function C(R,A,E,k,L){R.moveTo(A,E),R.bezierCurveTo(A=(A+k)/2,E,A,L,k,L)}function w(){return y(C)}},94336:function(u,h,a){a.d(h,{Yn:function(){return Qe},m_:function(){return d},E9:function(){return rt}});var l=a(8208),v=a(58931),i=a(46192),S=a(68936),g=a(32171),p=a(53528);function _(He){if(0<=He.y&&He.y<100){var Ce=new Date(-1,He.m,He.d,He.H,He.M,He.S,He.L);return Ce.setFullYear(He.y),Ce}return new Date(He.y,He.m,He.d,He.H,He.M,He.S,He.L)}function c(He){if(0<=He.y&&He.y<100){var Ce=new Date(Date.UTC(-1,He.m,He.d,He.H,He.M,He.S,He.L));return Ce.setUTCFullYear(He.y),Ce}return new Date(Date.UTC(He.y,He.m,He.d,He.H,He.M,He.S,He.L))}function s(He,Ce,Se){return{y:He,m:Ce,d:Se,H:0,M:0,S:0,L:0}}function d(He){var Ce=He.dateTime,Se=He.date,Le=He.time,Ne=He.periods,je=He.days,Je=He.shortDays,ut=He.months,Et=He.shortMonths,wt=R(Ne),nr=A(Ne),ir=R(je),It=A(je),Gt=R(Je),cr=A(Je),Pr=R(ut),Ct=A(ut),or=R(Et),ur=A(Et),Ir={a:Ze,A:Xe,b:Wt,B:jt,c:null,d:Q,e:Q,f:Z,H:ae,I:ie,j:he,L:J,m:le,M:K,p:ar,q:mr,Q:Rt,s:ct,S:te,u:ce,U:re,V:ee,w:de,W:oe,x:null,X:null,y:fe,Y:me,Z:Te,"%":bt},yr={a:br,A:fr,b:Kt,B:kr,c:null,d:we,e:we,f:Pe,H:Be,I:Ae,j:Re,L:be,m:Ke,M:ze,p:Rr,q:Lr,Q:Rt,s:ct,S:Fe,u:We,U:lt,V:ht,w:tt,W:et,x:null,X:null,y:pt,Y:vt,Z:_t,"%":bt},At={a:Ut,A:Zt,b:Xt,B:sr,c:Sr,d:O,e:O,f:j,H:B,I:B,j:U,L:V,m:D,M:Y,p:Ht,q:T,Q:W,s:X,S:z,u:k,U:L,V:I,w:E,W:P,x:wr,X:Tr,y:F,Y:M,Z:N,"%":G};Ir.x=mt(Se,Ir),Ir.X=mt(Le,Ir),Ir.c=mt(Ce,Ir),yr.x=mt(Se,yr),yr.X=mt(Le,yr),yr.c=mt(Ce,yr);function mt(Ar,ln){return function(Kr){var Xr=[],Bn=-1,An=0,ta=Ar.length,ra,Cr,Jr;for(Kr instanceof Date||(Kr=new Date(+Kr));++Bn<ta;)Ar.charCodeAt(Bn)===37&&(Xr.push(Ar.slice(An,Bn)),(Cr=f[ra=Ar.charAt(++Bn)])!=null?ra=Ar.charAt(++Bn):Cr=ra==="e"?" ":"0",(Jr=ln[ra])&&(ra=Jr(Kr,Cr)),Xr.push(ra),An=Bn+1);return Xr.push(Ar.slice(An,Bn)),Xr.join("")}}function Mt(Ar,ln){return function(Kr){var Xr=s(1900,void 0,1),Bn=Pt(Xr,Ar,Kr+="",0),An,ta;if(Bn!=Kr.length)return null;if("Q"in Xr)return new Date(Xr.Q);if("s"in Xr)return new Date(Xr.s*1e3+("L"in Xr?Xr.L:0));if(ln&&!("Z"in Xr)&&(Xr.Z=0),"p"in Xr&&(Xr.H=Xr.H%12+Xr.p*12),Xr.m===void 0&&(Xr.m="q"in Xr?Xr.q:0),"V"in Xr){if(Xr.V<1||Xr.V>53)return null;"w"in Xr||(Xr.w=1),"Z"in Xr?(An=c(s(Xr.y,0,1)),ta=An.getUTCDay(),An=ta>4||ta===0?l.ot.ceil(An):(0,l.ot)(An),An=v.c.offset(An,(Xr.V-1)*7),Xr.y=An.getUTCFullYear(),Xr.m=An.getUTCMonth(),Xr.d=An.getUTCDate()+(Xr.w+6)%7):(An=_(s(Xr.y,0,1)),ta=An.getDay(),An=ta>4||ta===0?i.qT.ceil(An):(0,i.qT)(An),An=S.c.offset(An,(Xr.V-1)*7),Xr.y=An.getFullYear(),Xr.m=An.getMonth(),Xr.d=An.getDate()+(Xr.w+6)%7)}else("W"in Xr||"U"in Xr)&&("w"in Xr||(Xr.w="u"in Xr?Xr.u%7:"W"in Xr?1:0),ta="Z"in Xr?c(s(Xr.y,0,1)).getUTCDay():_(s(Xr.y,0,1)).getDay(),Xr.m=0,Xr.d="W"in Xr?(Xr.w+6)%7+Xr.W*7-(ta+5)%7:Xr.w+Xr.U*7-(ta+6)%7);return"Z"in Xr?(Xr.H+=Xr.Z/100|0,Xr.M+=Xr.Z%100,c(Xr)):_(Xr)}}function Pt(Ar,ln,Kr,Xr){for(var Bn=0,An=ln.length,ta=Kr.length,ra,Cr;Bn<An;){if(Xr>=ta)return-1;if(ra=ln.charCodeAt(Bn++),ra===37){if(ra=ln.charAt(Bn++),Cr=At[ra in f?ln.charAt(Bn++):ra],!Cr||(Xr=Cr(Ar,Kr,Xr))<0)return-1}else if(ra!=Kr.charCodeAt(Xr++))return-1}return Xr}function Ht(Ar,ln,Kr){var Xr=wt.exec(ln.slice(Kr));return Xr?(Ar.p=nr[Xr[0].toLowerCase()],Kr+Xr[0].length):-1}function Ut(Ar,ln,Kr){var Xr=Gt.exec(ln.slice(Kr));return Xr?(Ar.w=cr[Xr[0].toLowerCase()],Kr+Xr[0].length):-1}function Zt(Ar,ln,Kr){var Xr=ir.exec(ln.slice(Kr));return Xr?(Ar.w=It[Xr[0].toLowerCase()],Kr+Xr[0].length):-1}function Xt(Ar,ln,Kr){var Xr=or.exec(ln.slice(Kr));return Xr?(Ar.m=ur[Xr[0].toLowerCase()],Kr+Xr[0].length):-1}function sr(Ar,ln,Kr){var Xr=Pr.exec(ln.slice(Kr));return Xr?(Ar.m=Ct[Xr[0].toLowerCase()],Kr+Xr[0].length):-1}function Sr(Ar,ln,Kr){return Pt(Ar,Ce,ln,Kr)}function wr(Ar,ln,Kr){return Pt(Ar,Se,ln,Kr)}function Tr(Ar,ln,Kr){return Pt(Ar,Le,ln,Kr)}function Ze(Ar){return Je[Ar.getDay()]}function Xe(Ar){return je[Ar.getDay()]}function Wt(Ar){return Et[Ar.getMonth()]}function jt(Ar){return ut[Ar.getMonth()]}function ar(Ar){return Ne[+(Ar.getHours()>=12)]}function mr(Ar){return 1+~~(Ar.getMonth()/3)}function br(Ar){return Je[Ar.getUTCDay()]}function fr(Ar){return je[Ar.getUTCDay()]}function Kt(Ar){return Et[Ar.getUTCMonth()]}function kr(Ar){return ut[Ar.getUTCMonth()]}function Rr(Ar){return Ne[+(Ar.getUTCHours()>=12)]}function Lr(Ar){return 1+~~(Ar.getUTCMonth()/3)}return{format:function(Ar){var ln=mt(Ar+="",Ir);return ln.toString=function(){return Ar},ln},parse:function(Ar){var ln=Mt(Ar+="",!1);return ln.toString=function(){return Ar},ln},utcFormat:function(Ar){var ln=mt(Ar+="",yr);return ln.toString=function(){return Ar},ln},utcParse:function(Ar){var ln=Mt(Ar+="",!0);return ln.toString=function(){return Ar},ln}}}var f={"-":"",_:" ",0:"0"},b=/^\s*\d+/,x=/^%/,y=/[\\^$*+?|[\]().{}]/g;function C(He,Ce,Se){var Le=He<0?"-":"",Ne=(Le?-He:He)+"",je=Ne.length;return Le+(je<Se?new Array(Se-je+1).join(Ce)+Ne:Ne)}function w(He){return He.replace(y,"\\$&")}function R(He){return new RegExp("^(?:"+He.map(w).join("|")+")","i")}function A(He){for(var Ce={},Se=-1,Le=He.length;++Se<Le;)Ce[He[Se].toLowerCase()]=Se;return Ce}function E(He,Ce,Se){var Le=b.exec(Ce.slice(Se,Se+1));return Le?(He.w=+Le[0],Se+Le[0].length):-1}function k(He,Ce,Se){var Le=b.exec(Ce.slice(Se,Se+1));return Le?(He.u=+Le[0],Se+Le[0].length):-1}function L(He,Ce,Se){var Le=b.exec(Ce.slice(Se,Se+2));return Le?(He.U=+Le[0],Se+Le[0].length):-1}function I(He,Ce,Se){var Le=b.exec(Ce.slice(Se,Se+2));return Le?(He.V=+Le[0],Se+Le[0].length):-1}function P(He,Ce,Se){var Le=b.exec(Ce.slice(Se,Se+2));return Le?(He.W=+Le[0],Se+Le[0].length):-1}function M(He,Ce,Se){var Le=b.exec(Ce.slice(Se,Se+4));return Le?(He.y=+Le[0],Se+Le[0].length):-1}function F(He,Ce,Se){var Le=b.exec(Ce.slice(Se,Se+2));return Le?(He.y=+Le[0]+(+Le[0]>68?1900:2e3),Se+Le[0].length):-1}function N(He,Ce,Se){var Le=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ce.slice(Se,Se+6));return Le?(He.Z=Le[1]?0:-(Le[2]+(Le[3]||"00")),Se+Le[0].length):-1}function T(He,Ce,Se){var Le=b.exec(Ce.slice(Se,Se+1));return Le?(He.q=Le[0]*3-3,Se+Le[0].length):-1}function D(He,Ce,Se){var Le=b.exec(Ce.slice(Se,Se+2));return Le?(He.m=Le[0]-1,Se+Le[0].length):-1}function O(He,Ce,Se){var Le=b.exec(Ce.slice(Se,Se+2));return Le?(He.d=+Le[0],Se+Le[0].length):-1}function U(He,Ce,Se){var Le=b.exec(Ce.slice(Se,Se+3));return Le?(He.m=0,He.d=+Le[0],Se+Le[0].length):-1}function B(He,Ce,Se){var Le=b.exec(Ce.slice(Se,Se+2));return Le?(He.H=+Le[0],Se+Le[0].length):-1}function Y(He,Ce,Se){var Le=b.exec(Ce.slice(Se,Se+2));return Le?(He.M=+Le[0],Se+Le[0].length):-1}function z(He,Ce,Se){var Le=b.exec(Ce.slice(Se,Se+2));return Le?(He.S=+Le[0],Se+Le[0].length):-1}function V(He,Ce,Se){var Le=b.exec(Ce.slice(Se,Se+3));return Le?(He.L=+Le[0],Se+Le[0].length):-1}function j(He,Ce,Se){var Le=b.exec(Ce.slice(Se,Se+6));return Le?(He.L=Math.floor(Le[0]/1e3),Se+Le[0].length):-1}function G(He,Ce,Se){var Le=x.exec(Ce.slice(Se,Se+1));return Le?Se+Le[0].length:-1}function W(He,Ce,Se){var Le=b.exec(Ce.slice(Se));return Le?(He.Q=+Le[0],Se+Le[0].length):-1}function X(He,Ce,Se){var Le=b.exec(Ce.slice(Se));return Le?(He.s=+Le[0],Se+Le[0].length):-1}function Q(He,Ce){return C(He.getDate(),Ce,2)}function ae(He,Ce){return C(He.getHours(),Ce,2)}function ie(He,Ce){return C(He.getHours()%12||12,Ce,2)}function he(He,Ce){return C(1+S.c.count((0,g.c)(He),He),Ce,3)}function J(He,Ce){return C(He.getMilliseconds(),Ce,3)}function Z(He,Ce){return J(He,Ce)+"000"}function le(He,Ce){return C(He.getMonth()+1,Ce,2)}function K(He,Ce){return C(He.getMinutes(),Ce,2)}function te(He,Ce){return C(He.getSeconds(),Ce,2)}function ce(He){var Ce=He.getDay();return Ce===0?7:Ce}function re(He,Ce){return C(i.uU.count((0,g.c)(He)-1,He),Ce,2)}function ee(He,Ce){var Se=He.getDay();return He=Se>=4||Se===0?(0,i.kD)(He):i.kD.ceil(He),C(i.kD.count((0,g.c)(He),He)+((0,g.c)(He).getDay()===4),Ce,2)}function de(He){return He.getDay()}function oe(He,Ce){return C(i.qT.count((0,g.c)(He)-1,He),Ce,2)}function fe(He,Ce){return C(He.getFullYear()%100,Ce,2)}function me(He,Ce){return C(He.getFullYear()%1e4,Ce,4)}function Te(He){var Ce=He.getTimezoneOffset();return(Ce>0?"-":(Ce*=-1,"+"))+C(Ce/60|0,"0",2)+C(Ce%60,"0",2)}function we(He,Ce){return C(He.getUTCDate(),Ce,2)}function Be(He,Ce){return C(He.getUTCHours(),Ce,2)}function Ae(He,Ce){return C(He.getUTCHours()%12||12,Ce,2)}function Re(He,Ce){return C(1+v.c.count((0,p.c)(He),He),Ce,3)}function be(He,Ce){return C(He.getUTCMilliseconds(),Ce,3)}function Pe(He,Ce){return be(He,Ce)+"000"}function Ke(He,Ce){return C(He.getUTCMonth()+1,Ce,2)}function ze(He,Ce){return C(He.getUTCMinutes(),Ce,2)}function Fe(He,Ce){return C(He.getUTCSeconds(),Ce,2)}function We(He){var Ce=He.getUTCDay();return Ce===0?7:Ce}function lt(He,Ce){return C(l.EV.count((0,p.c)(He)-1,He),Ce,2)}function ht(He,Ce){var Se=He.getUTCDay();return He=Se>=4||Se===0?(0,l.yA)(He):l.yA.ceil(He),C(l.yA.count((0,p.c)(He),He)+((0,p.c)(He).getUTCDay()===4),Ce,2)}function tt(He){return He.getUTCDay()}function et(He,Ce){return C(l.ot.count((0,p.c)(He)-1,He),Ce,2)}function pt(He,Ce){return C(He.getUTCFullYear()%100,Ce,2)}function vt(He,Ce){return C(He.getUTCFullYear()%1e4,Ce,4)}function _t(){return"+0000"}function bt(){return"%"}function Rt(He){return+He}function ct(He){return Math.floor(+He/1e3)}var Ve,Qe,rt;qe({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function qe(He){return Ve=d(He),Qe=Ve.format,Ve.parse,rt=Ve.utcFormat,Ve.utcParse,Ve}},68936:function(u,h,a){a.d(h,{m:function(){return S}});var l=a(81628),v=a(69792),i=(0,l.c)(function(g){g.setHours(0,0,0,0)},function(g,p){g.setDate(g.getDate()+p)},function(g,p){return(p-g-(p.getTimezoneOffset()-g.getTimezoneOffset())*v.iy)/v.SK},function(g){return g.getDate()-1});h.c=i;var S=i.range},69792:function(u,h,a){a.d(h,{KK:function(){return g},SK:function(){return S},cg:function(){return i},iy:function(){return v},yc:function(){return l}});var l=1e3,v=6e4,i=36e5,S=864e5,g=6048e5},73220:function(u,h,a){a.r(h),a.d(h,{timeDay:function(){return C.c},timeDays:function(){return C.m},timeFriday:function(){return w.iB},timeFridays:function(){return w.sJ},timeHour:function(){return x},timeHours:function(){return y},timeInterval:function(){return l.c},timeMillisecond:function(){return i},timeMilliseconds:function(){return S},timeMinute:function(){return d},timeMinutes:function(){return f},timeMonday:function(){return w.qT},timeMondays:function(){return w.QP},timeMonth:function(){return A},timeMonths:function(){return E},timeSaturday:function(){return w.Wc},timeSaturdays:function(){return w.aI},timeSecond:function(){return _},timeSeconds:function(){return c},timeSunday:function(){return w.uU},timeSundays:function(){return w.Ab},timeThursday:function(){return w.kD},timeThursdays:function(){return w.eC},timeTuesday:function(){return w.Mf},timeTuesdays:function(){return w.Oc},timeWednesday:function(){return w.eg},timeWednesdays:function(){return w.sn},timeWeek:function(){return w.uU},timeWeeks:function(){return w.Ab},timeYear:function(){return k.c},timeYears:function(){return k.Q},utcDay:function(){return T.c},utcDays:function(){return T.o},utcFriday:function(){return D.od},utcFridays:function(){return D.iG},utcHour:function(){return F},utcHours:function(){return N},utcMillisecond:function(){return i},utcMilliseconds:function(){return S},utcMinute:function(){return I},utcMinutes:function(){return P},utcMonday:function(){return D.ot},utcMondays:function(){return D.iO},utcMonth:function(){return U},utcMonths:function(){return B},utcSaturday:function(){return D.Ad},utcSaturdays:function(){return D.K8},utcSecond:function(){return _},utcSeconds:function(){return c},utcSunday:function(){return D.EV},utcSundays:function(){return D.Wq},utcThursday:function(){return D.yA},utcThursdays:function(){return D.ob},utcTuesday:function(){return D.sG},utcTuesdays:function(){return D.kl},utcWednesday:function(){return D._6},utcWednesdays:function(){return D.W_},utcWeek:function(){return D.EV},utcWeeks:function(){return D.Wq},utcYear:function(){return Y.c},utcYears:function(){return Y.i}});var l=a(81628),v=(0,l.c)(function(){},function(z,V){z.setTime(+z+V)},function(z,V){return V-z});v.every=function(z){return z=Math.floor(z),!isFinite(z)||!(z>0)?null:z>1?(0,l.c)(function(V){V.setTime(Math.floor(V/z)*z)},function(V,j){V.setTime(+V+j*z)},function(V,j){return(j-V)/z}):v};var i=v,S=v.range,g=a(69792),p=(0,l.c)(function(z){z.setTime(z-z.getMilliseconds())},function(z,V){z.setTime(+z+V*g.yc)},function(z,V){return(V-z)/g.yc},function(z){return z.getUTCSeconds()}),_=p,c=p.range,s=(0,l.c)(function(z){z.setTime(z-z.getMilliseconds()-z.getSeconds()*g.yc)},function(z,V){z.setTime(+z+V*g.iy)},function(z,V){return(V-z)/g.iy},function(z){return z.getMinutes()}),d=s,f=s.range,b=(0,l.c)(function(z){z.setTime(z-z.getMilliseconds()-z.getSeconds()*g.yc-z.getMinutes()*g.iy)},function(z,V){z.setTime(+z+V*g.cg)},function(z,V){return(V-z)/g.cg},function(z){return z.getHours()}),x=b,y=b.range,C=a(68936),w=a(46192),R=(0,l.c)(function(z){z.setDate(1),z.setHours(0,0,0,0)},function(z,V){z.setMonth(z.getMonth()+V)},function(z,V){return V.getMonth()-z.getMonth()+(V.getFullYear()-z.getFullYear())*12},function(z){return z.getMonth()}),A=R,E=R.range,k=a(32171),L=(0,l.c)(function(z){z.setUTCSeconds(0,0)},function(z,V){z.setTime(+z+V*g.iy)},function(z,V){return(V-z)/g.iy},function(z){return z.getUTCMinutes()}),I=L,P=L.range,M=(0,l.c)(function(z){z.setUTCMinutes(0,0,0)},function(z,V){z.setTime(+z+V*g.cg)},function(z,V){return(V-z)/g.cg},function(z){return z.getUTCHours()}),F=M,N=M.range,T=a(58931),D=a(8208),O=(0,l.c)(function(z){z.setUTCDate(1),z.setUTCHours(0,0,0,0)},function(z,V){z.setUTCMonth(z.getUTCMonth()+V)},function(z,V){return V.getUTCMonth()-z.getUTCMonth()+(V.getUTCFullYear()-z.getUTCFullYear())*12},function(z){return z.getUTCMonth()}),U=O,B=O.range,Y=a(53528)},81628:function(u,h,a){a.d(h,{c:function(){return i}});var l=new Date,v=new Date;function i(S,g,p,_){function c(s){return S(s=arguments.length===0?new Date:new Date(+s)),s}return c.floor=function(s){return S(s=new Date(+s)),s},c.ceil=function(s){return S(s=new Date(s-1)),g(s,1),S(s),s},c.round=function(s){var d=c(s),f=c.ceil(s);return s-d<f-s?d:f},c.offset=function(s,d){return g(s=new Date(+s),d==null?1:Math.floor(d)),s},c.range=function(s,d,f){var b=[],x;if(s=c.ceil(s),f=f==null?1:Math.floor(f),!(s<d)||!(f>0))return b;do b.push(x=new Date(+s)),g(s,f),S(s);while(x<s&&s<d);return b},c.filter=function(s){return i(function(d){if(d>=d)for(;S(d),!s(d);)d.setTime(d-1)},function(d,f){if(d>=d)if(f<0)for(;++f<=0;)for(;g(d,-1),!s(d););else for(;--f>=0;)for(;g(d,1),!s(d););})},p&&(c.count=function(s,d){return l.setTime(+s),v.setTime(+d),S(l),S(v),Math.floor(p(l,v))},c.every=function(s){return s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?c.filter(_?function(d){return _(d)%s===0}:function(d){return c.count(0,d)%s===0}):c}),c}},58931:function(u,h,a){a.d(h,{o:function(){return S}});var l=a(81628),v=a(69792),i=(0,l.c)(function(g){g.setUTCHours(0,0,0,0)},function(g,p){g.setUTCDate(g.getUTCDate()+p)},function(g,p){return(p-g)/v.SK},function(g){return g.getUTCDate()-1});h.c=i;var S=i.range},8208:function(u,h,a){a.d(h,{Ad:function(){return d},EV:function(){return S},K8:function(){return R},W_:function(){return y},Wq:function(){return f},_6:function(){return _},iG:function(){return w},iO:function(){return b},kl:function(){return x},ob:function(){return C},od:function(){return s},ot:function(){return g},sG:function(){return p},yA:function(){return c}});var l=a(81628),v=a(69792);function i(A){return(0,l.c)(function(E){E.setUTCDate(E.getUTCDate()-(E.getUTCDay()+7-A)%7),E.setUTCHours(0,0,0,0)},function(E,k){E.setUTCDate(E.getUTCDate()+k*7)},function(E,k){return(k-E)/v.KK})}var S=i(0),g=i(1),p=i(2),_=i(3),c=i(4),s=i(5),d=i(6),f=S.range,b=g.range,x=p.range,y=_.range,C=c.range,w=s.range,R=d.range},53528:function(u,h,a){a.d(h,{i:function(){return i}});var l=a(81628),v=(0,l.c)(function(S){S.setUTCMonth(0,1),S.setUTCHours(0,0,0,0)},function(S,g){S.setUTCFullYear(S.getUTCFullYear()+g)},function(S,g){return g.getUTCFullYear()-S.getUTCFullYear()},function(S){return S.getUTCFullYear()});v.every=function(S){return!isFinite(S=Math.floor(S))||!(S>0)?null:(0,l.c)(function(g){g.setUTCFullYear(Math.floor(g.getUTCFullYear()/S)*S),g.setUTCMonth(0,1),g.setUTCHours(0,0,0,0)},function(g,p){g.setUTCFullYear(g.getUTCFullYear()+p*S)})},h.c=v;var i=v.range},46192:function(u,h,a){a.d(h,{Ab:function(){return f},Mf:function(){return p},Oc:function(){return x},QP:function(){return b},Wc:function(){return d},aI:function(){return R},eC:function(){return C},eg:function(){return _},iB:function(){return s},kD:function(){return c},qT:function(){return g},sJ:function(){return w},sn:function(){return y},uU:function(){return S}});var l=a(81628),v=a(69792);function i(A){return(0,l.c)(function(E){E.setDate(E.getDate()-(E.getDay()+7-A)%7),E.setHours(0,0,0,0)},function(E,k){E.setDate(E.getDate()+k*7)},function(E,k){return(k-E-(k.getTimezoneOffset()-E.getTimezoneOffset())*v.iy)/v.KK})}var S=i(0),g=i(1),p=i(2),_=i(3),c=i(4),s=i(5),d=i(6),f=S.range,b=g.range,x=p.range,y=_.range,C=c.range,w=s.range,R=d.range},32171:function(u,h,a){a.d(h,{Q:function(){return i}});var l=a(81628),v=(0,l.c)(function(S){S.setMonth(0,1),S.setHours(0,0,0,0)},function(S,g){S.setFullYear(S.getFullYear()+g)},function(S,g){return g.getFullYear()-S.getFullYear()},function(S){return S.getFullYear()});v.every=function(S){return!isFinite(S=Math.floor(S))||!(S>0)?null:(0,l.c)(function(g){g.setFullYear(Math.floor(g.getFullYear()/S)*S),g.setMonth(0,1),g.setHours(0,0,0,0)},function(g,p){g.setFullYear(g.getFullYear()+p*S)})},h.c=v;var i=v.range},64348:function(u,h,a){var l=a(39640)(),v=a(53664),i=l&&v("%Object.defineProperty%",!0);if(i)try{i({},"a",{value:1})}catch{i=!1}var S=v("%SyntaxError%"),g=v("%TypeError%"),p=a(2304);u.exports=function(c,s,d){if(!c||typeof c!="object"&&typeof c!="function")throw new g("`obj` must be an object or a function`");if(typeof s!="string"&&typeof s!="symbol")throw new g("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new g("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new g("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new g("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new g("`loose`, if provided, must be a boolean");var f=arguments.length>3?arguments[3]:null,b=arguments.length>4?arguments[4]:null,x=arguments.length>5?arguments[5]:null,y=arguments.length>6?arguments[6]:!1,C=!!p&&p(c,s);if(i)i(c,s,{configurable:x===null&&C?C.configurable:!x,enumerable:f===null&&C?C.enumerable:!f,value:d,writable:b===null&&C?C.writable:!b});else if(y||!f&&!b&&!x)c[s]=d;else throw new S("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}},81288:function(u,h,a){var l=a(41820),v=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",i=Object.prototype.toString,S=Array.prototype.concat,g=Object.defineProperty,p=function(f){return typeof f=="function"&&i.call(f)==="[object Function]"},_=a(39640)(),c=g&&_,s=function(f,b,x,y){if(b in f){if(y===!0){if(f[b]===x)return}else if(!p(y)||!y())return}c?g(f,b,{configurable:!0,enumerable:!1,value:x,writable:!0}):f[b]=x},d=function(f,b){var x=arguments.length>2?arguments[2]:{},y=l(b);v&&(y=S.call(y,Object.getOwnPropertySymbols(b)));for(var C=0;C<y.length;C+=1)s(f,y[C],b[y[C]],x[y[C]])};d.supportsDescriptors=!!c,u.exports=d},31264:function(u){u.exports=function(){for(var h=0;h<arguments.length;h++)if(arguments[h]!==void 0)return arguments[h]}},63768:function(u){u.exports=v;var h=v.canvas=document.createElement("canvas"),a=h.getContext("2d"),l=i([32,126]);v.createPairs=i,v.ascii=l;function v(S,g){Array.isArray(S)&&(S=S.join(", "));var p={},_,c=16,s=.05;g&&(g.length===2&&typeof g[0]=="number"?_=i(g):Array.isArray(g)?_=g:(g.o?_=i(g.o):g.pairs&&(_=g.pairs),g.fontSize&&(c=g.fontSize),g.threshold!=null&&(s=g.threshold))),_||(_=l),a.font=c+"px "+S;for(var d=0;d<_.length;d++){var f=_[d],b=a.measureText(f[0]).width+a.measureText(f[1]).width,x=a.measureText(f).width;if(Math.abs(b-x)>c*s){var y=(x-b)/c;p[f]=y*1e3}}return p}function i(S){for(var g=[],p=S[0];p<=S[1];p++)for(var _=String.fromCharCode(p),c=S[0];c<S[1];c++){var s=String.fromCharCode(c),d=_+s;g.push(d)}return g}},22235:function(u,h,a){var l=a(49972),v=a(48816),i={M:"moveTo",C:"bezierCurveTo"};u.exports=function(S,g){S.beginPath(),v(l(g)).forEach(function(p){var _=p[0],c=p.slice(1);S[i[_]].apply(S,c)}),S.closePath()}},72512:function(u){u.exports=function(h){switch(h){case"int8":return Int8Array;case"int16":return Int16Array;case"int32":return Int32Array;case"uint8":return Uint8Array;case"uint16":return Uint16Array;case"uint32":return Uint32Array;case"float32":return Float32Array;case"float64":return Float64Array;case"array":return Array;case"uint8_clamped":return Uint8ClampedArray}}},10352:function(u){function h(v,i,S){var g=v[S]|0;if(g<=0)return[];var p=new Array(g),_;if(S===v.length-1)for(_=0;_<g;++_)p[_]=i;else for(_=0;_<g;++_)p[_]=h(v,i,S+1);return p}function a(v,i){var S,g;for(S=new Array(v),g=0;g<v;++g)S[g]=i;return S}function l(v,i){switch(typeof i>"u"&&(i=0),typeof v){case"number":if(v>0)return a(v|0,i);break;case"object":if(typeof v.length=="number")return h(v,i,0);break}return[]}u.exports=l},28912:function(u){u.exports=h,u.exports.default=h;function h(B,Y,z){z=z||2;var V=Y&&Y.length,j=V?Y[0]*z:B.length,G=a(B,0,j,z,!0),W=[];if(!G||G.next===G.prev)return W;var X,Q,ae,ie,he,J,Z;if(V&&(G=_(B,Y,G,z)),B.length>80*z){X=ae=B[0],Q=ie=B[1];for(var le=z;le<j;le+=z)he=B[le],J=B[le+1],he<X&&(X=he),J<Q&&(Q=J),he>ae&&(ae=he),J>ie&&(ie=J);Z=Math.max(ae-X,ie-Q),Z=Z!==0?1/Z:0}return v(G,W,z,X,Q,Z),W}function a(B,Y,z,V,j){var G,W;if(j===U(B,Y,z,V)>0)for(G=Y;G<z;G+=V)W=T(G,B[G],B[G+1],W);else for(G=z-V;G>=Y;G-=V)W=T(G,B[G],B[G+1],W);return W&&E(W,W.next)&&(D(W),W=W.next),W}function l(B,Y){if(!B)return B;Y||(Y=B);var z=B,V;do if(V=!1,!z.steiner&&(E(z,z.next)||A(z.prev,z,z.next)===0)){if(D(z),z=Y=z.prev,z===z.next)break;V=!0}else z=z.next;while(V||z!==Y);return Y}function v(B,Y,z,V,j,G,W){if(B){!W&&G&&b(B,V,j,G);for(var X=B,Q,ae;B.prev!==B.next;){if(Q=B.prev,ae=B.next,G?S(B,V,j,G):i(B)){Y.push(Q.i/z),Y.push(B.i/z),Y.push(ae.i/z),D(B),B=ae.next,X=ae.next;continue}if(B=ae,B===X){W?W===1?(B=g(l(B),Y,z),v(B,Y,z,V,j,G,2)):W===2&&p(B,Y,z,V,j,G):v(l(B),Y,z,V,j,G,1);break}}}}function i(B){var Y=B.prev,z=B,V=B.next;if(A(Y,z,V)>=0)return!1;for(var j=B.next.next;j!==B.prev;){if(w(Y.x,Y.y,z.x,z.y,V.x,V.y,j.x,j.y)&&A(j.prev,j,j.next)>=0)return!1;j=j.next}return!0}function S(B,Y,z,V){var j=B.prev,G=B,W=B.next;if(A(j,G,W)>=0)return!1;for(var X=j.x<G.x?j.x<W.x?j.x:W.x:G.x<W.x?G.x:W.x,Q=j.y<G.y?j.y<W.y?j.y:W.y:G.y<W.y?G.y:W.y,ae=j.x>G.x?j.x>W.x?j.x:W.x:G.x>W.x?G.x:W.x,ie=j.y>G.y?j.y>W.y?j.y:W.y:G.y>W.y?G.y:W.y,he=y(X,Q,Y,z,V),J=y(ae,ie,Y,z,V),Z=B.prevZ,le=B.nextZ;Z&&Z.z>=he&&le&&le.z<=J;){if(Z!==B.prev&&Z!==B.next&&w(j.x,j.y,G.x,G.y,W.x,W.y,Z.x,Z.y)&&A(Z.prev,Z,Z.next)>=0||(Z=Z.prevZ,le!==B.prev&&le!==B.next&&w(j.x,j.y,G.x,G.y,W.x,W.y,le.x,le.y)&&A(le.prev,le,le.next)>=0))return!1;le=le.nextZ}for(;Z&&Z.z>=he;){if(Z!==B.prev&&Z!==B.next&&w(j.x,j.y,G.x,G.y,W.x,W.y,Z.x,Z.y)&&A(Z.prev,Z,Z.next)>=0)return!1;Z=Z.prevZ}for(;le&&le.z<=J;){if(le!==B.prev&&le!==B.next&&w(j.x,j.y,G.x,G.y,W.x,W.y,le.x,le.y)&&A(le.prev,le,le.next)>=0)return!1;le=le.nextZ}return!0}function g(B,Y,z){var V=B;do{var j=V.prev,G=V.next.next;!E(j,G)&&k(j,V,V.next,G)&&M(j,G)&&M(G,j)&&(Y.push(j.i/z),Y.push(V.i/z),Y.push(G.i/z),D(V),D(V.next),V=B=G),V=V.next}while(V!==B);return l(V)}function p(B,Y,z,V,j,G){var W=B;do{for(var X=W.next.next;X!==W.prev;){if(W.i!==X.i&&R(W,X)){var Q=N(W,X);W=l(W,W.next),Q=l(Q,Q.next),v(W,Y,z,V,j,G),v(Q,Y,z,V,j,G);return}X=X.next}W=W.next}while(W!==B)}function _(B,Y,z,V){var j=[],G,W,X,Q,ae;for(G=0,W=Y.length;G<W;G++)X=Y[G]*V,Q=G<W-1?Y[G+1]*V:B.length,ae=a(B,X,Q,V,!1),ae===ae.next&&(ae.steiner=!0),j.push(C(ae));for(j.sort(c),G=0;G<j.length;G++)s(j[G],z),z=l(z,z.next);return z}function c(B,Y){return B.x-Y.x}function s(B,Y){if(Y=d(B,Y),Y){var z=N(Y,B);l(Y,Y.next),l(z,z.next)}}function d(B,Y){var z=Y,V=B.x,j=B.y,G=-1/0,W;do{if(j<=z.y&&j>=z.next.y&&z.next.y!==z.y){var X=z.x+(j-z.y)*(z.next.x-z.x)/(z.next.y-z.y);if(X<=V&&X>G){if(G=X,X===V){if(j===z.y)return z;if(j===z.next.y)return z.next}W=z.x<z.next.x?z:z.next}}z=z.next}while(z!==Y);if(!W)return null;if(V===G)return W;var Q=W,ae=W.x,ie=W.y,he=1/0,J;z=W;do V>=z.x&&z.x>=ae&&V!==z.x&&w(j<ie?V:G,j,ae,ie,j<ie?G:V,j,z.x,z.y)&&(J=Math.abs(j-z.y)/(V-z.x),M(z,B)&&(J<he||J===he&&(z.x>W.x||z.x===W.x&&f(W,z)))&&(W=z,he=J)),z=z.next;while(z!==Q);return W}function f(B,Y){return A(B.prev,B,Y.prev)<0&&A(Y.next,B,B.next)<0}function b(B,Y,z,V){var j=B;do j.z===null&&(j.z=y(j.x,j.y,Y,z,V)),j.prevZ=j.prev,j.nextZ=j.next,j=j.next;while(j!==B);j.prevZ.nextZ=null,j.prevZ=null,x(j)}function x(B){var Y,z,V,j,G,W,X,Q,ae=1;do{for(z=B,B=null,G=null,W=0;z;){for(W++,V=z,X=0,Y=0;Y<ae&&(X++,V=V.nextZ,!!V);Y++);for(Q=ae;X>0||Q>0&&V;)X!==0&&(Q===0||!V||z.z<=V.z)?(j=z,z=z.nextZ,X--):(j=V,V=V.nextZ,Q--),G?G.nextZ=j:B=j,j.prevZ=G,G=j;z=V}G.nextZ=null,ae*=2}while(W>1);return B}function y(B,Y,z,V,j){return B=32767*(B-z)*j,Y=32767*(Y-V)*j,B=(B|B<<8)&16711935,B=(B|B<<4)&252645135,B=(B|B<<2)&858993459,B=(B|B<<1)&1431655765,Y=(Y|Y<<8)&16711935,Y=(Y|Y<<4)&252645135,Y=(Y|Y<<2)&858993459,Y=(Y|Y<<1)&1431655765,B|Y<<1}function C(B){var Y=B,z=B;do(Y.x<z.x||Y.x===z.x&&Y.y<z.y)&&(z=Y),Y=Y.next;while(Y!==B);return z}function w(B,Y,z,V,j,G,W,X){return(j-W)*(Y-X)-(B-W)*(G-X)>=0&&(B-W)*(V-X)-(z-W)*(Y-X)>=0&&(z-W)*(G-X)-(j-W)*(V-X)>=0}function R(B,Y){return B.next.i!==Y.i&&B.prev.i!==Y.i&&!P(B,Y)&&(M(B,Y)&&M(Y,B)&&F(B,Y)&&(A(B.prev,B,Y.prev)||A(B,Y.prev,Y))||E(B,Y)&&A(B.prev,B,B.next)>0&&A(Y.prev,Y,Y.next)>0)}function A(B,Y,z){return(Y.y-B.y)*(z.x-Y.x)-(Y.x-B.x)*(z.y-Y.y)}function E(B,Y){return B.x===Y.x&&B.y===Y.y}function k(B,Y,z,V){var j=I(A(B,Y,z)),G=I(A(B,Y,V)),W=I(A(z,V,B)),X=I(A(z,V,Y));return!!(j!==G&&W!==X||j===0&&L(B,z,Y)||G===0&&L(B,V,Y)||W===0&&L(z,B,V)||X===0&&L(z,Y,V))}function L(B,Y,z){return Y.x<=Math.max(B.x,z.x)&&Y.x>=Math.min(B.x,z.x)&&Y.y<=Math.max(B.y,z.y)&&Y.y>=Math.min(B.y,z.y)}function I(B){return B>0?1:B<0?-1:0}function P(B,Y){var z=B;do{if(z.i!==B.i&&z.next.i!==B.i&&z.i!==Y.i&&z.next.i!==Y.i&&k(z,z.next,B,Y))return!0;z=z.next}while(z!==B);return!1}function M(B,Y){return A(B.prev,B,B.next)<0?A(B,Y,B.next)>=0&&A(B,B.prev,Y)>=0:A(B,Y,B.prev)<0||A(B,B.next,Y)<0}function F(B,Y){var z=B,V=!1,j=(B.x+Y.x)/2,G=(B.y+Y.y)/2;do z.y>G!=z.next.y>G&&z.next.y!==z.y&&j<(z.next.x-z.x)*(G-z.y)/(z.next.y-z.y)+z.x&&(V=!V),z=z.next;while(z!==B);return V}function N(B,Y){var z=new O(B.i,B.x,B.y),V=new O(Y.i,Y.x,Y.y),j=B.next,G=Y.prev;return B.next=Y,Y.prev=B,z.next=j,j.prev=z,V.next=z,z.prev=V,G.next=V,V.prev=G,V}function T(B,Y,z,V){var j=new O(B,Y,z);return V?(j.next=V.next,j.prev=V,V.next.prev=j,V.next=j):(j.prev=j,j.next=j),j}function D(B){B.next.prev=B.prev,B.prev.next=B.next,B.prevZ&&(B.prevZ.nextZ=B.nextZ),B.nextZ&&(B.nextZ.prevZ=B.prevZ)}function O(B,Y,z){this.i=B,this.x=Y,this.y=z,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}h.deviation=function(B,Y,z,V){var j=Y&&Y.length,G=j?Y[0]*z:B.length,W=Math.abs(U(B,0,G,z));if(j)for(var X=0,Q=Y.length;X<Q;X++){var ae=Y[X]*z,ie=X<Q-1?Y[X+1]*z:B.length;W-=Math.abs(U(B,ae,ie,z))}var he=0;for(X=0;X<V.length;X+=3){var J=V[X]*z,Z=V[X+1]*z,le=V[X+2]*z;he+=Math.abs((B[J]-B[le])*(B[Z+1]-B[J+1])-(B[J]-B[Z])*(B[le+1]-B[J+1]))}return W===0&&he===0?0:Math.abs((he-W)/W)};function U(B,Y,z,V){for(var j=0,G=Y,W=z-V;G<z;G+=V)j+=(B[W]-B[G])*(B[G+1]+B[W+1]),W=G;return j}h.flatten=function(B){for(var Y=B[0][0].length,z={vertices:[],holes:[],dimensions:Y},V=0,j=0;j<B.length;j++){for(var G=0;G<B[j].length;G++)for(var W=0;W<Y;W++)z.vertices.push(B[j][G][W]);j>0&&(V+=B[j-1].length,z.holes.push(V))}return z}},6688:function(u,h,a){var l=a(78484);u.exports=function(i,S){var g=[],p=[],_=[],c={},s=[],d;function f(L){_[L]=!1,c.hasOwnProperty(L)&&Object.keys(c[L]).forEach(function(I){delete c[L][I],_[I]&&f(I)})}function b(L){var I=!1;p.push(L),_[L]=!0;var P,M;for(P=0;P<s[L].length;P++)M=s[L][P],M===d?(x(d,p),I=!0):_[M]||(I=b(M));if(I)f(L);else for(P=0;P<s[L].length;P++){M=s[L][P];var F=c[M];F||(F={},c[M]=F),F[M]=!0}return p.pop(),I}function x(L,I){var P=[].concat(I).concat(L);S?S(b):g.push(P)}function y(L){for(var I=0;I<i.length;I++)I<L&&(i[I]=[]),i[I]=i[I].filter(function(P){return P>=L})}function C(L){y(L);for(var I=i,P=l(I),M=P.components.filter(function(B){return B.length>1}),F=1/0,N,T=0;T<M.length;T++)for(var D=0;D<M[T].length;D++)M[T][D]<F&&(F=M[T][D],N=T);var O=M[N];if(!O)return!1;var U=i.map(function(B,Y){return O.indexOf(Y)===-1?[]:B.filter(function(z){return O.indexOf(z)!==-1})});return{leastVertex:F,adjList:U}}d=0;for(var w=i.length;d<w;){var R=C(d);if(d=R.leastVertex,s=R.adjList,s){for(var A=0;A<s.length;A++)for(var E=0;E<s[A].length;E++){var k=s[A][E];_[+k]=!1,c[k]={}}b(d),d=d+1}else d=w}if(!S)return g}},41476:function(u,h,a){var l=a(9252);u.exports=function(){return l(this).length=0,this}},74772:function(u,h,a){u.exports=a(44716)()?Array.from:a(80816)},44716:function(u){u.exports=function(){var h=Array.from,a,l;return typeof h!="function"?!1:(a=["raz","dwa"],l=h(a),!!(l&&l!==a&&l[1]==="dwa"))}},80816:function(u,h,a){var l=a(92664).iterator,v=a(60948),i=a(17024),S=a(81304),g=a(34044),p=a(9252),_=a(42584),c=a(29768),s=Array.isArray,d=Function.prototype.call,f={configurable:!0,enumerable:!0,writable:!0,value:null},b=Object.defineProperty;u.exports=function(x){var y=arguments[1],C=arguments[2],w,R,A,E,k,L,I,P,M,F;if(x=Object(p(x)),_(y)&&g(y),!this||this===Array||!i(this)){if(!y){if(v(x))return k=x.length,k!==1?Array.apply(null,x):(E=new Array(1),E[0]=x[0],E);if(s(x)){for(E=new Array(k=x.length),R=0;R<k;++R)E[R]=x[R];return E}}E=[]}else w=this;if(!s(x)){if((M=x[l])!==void 0){for(I=g(M).call(x),w&&(E=new w),P=I.next(),R=0;!P.done;)F=y?d.call(y,C,P.value,R):P.value,w?(f.value=F,b(E,R,f)):E[R]=F,P=I.next(),++R;k=R}else if(c(x)){for(k=x.length,w&&(E=new w),R=0,A=0;R<k;++R)F=x[R],R+1<k&&(L=F.charCodeAt(0),L>=55296&&L<=56319&&(F+=x[++R])),F=y?d.call(y,C,F,A):F,w?(f.value=F,b(E,A,f)):E[A]=F,++A;k=A}}if(k===void 0)for(k=S(x.length),w&&(E=new w(k)),R=0;R<k;++R)F=y?d.call(y,C,x[R],R):x[R],w?(f.value=F,b(E,R,f)):E[R]=F;return w&&(f.value=null,E.length=k),E}},60948:function(u){var h=Object.prototype.toString,a=h.call(function(){return arguments}());u.exports=function(l){return h.call(l)===a}},17024:function(u){var h=Object.prototype.toString,a=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);u.exports=function(l){return typeof l=="function"&&a(h.call(l))}},33208:function(u){u.exports=function(){}},85608:function(u,h,a){u.exports=a(37328)()?Math.sign:a(92928)},37328:function(u){u.exports=function(){var h=Math.sign;return typeof h!="function"?!1:h(10)===1&&h(-20)===-1}},92928:function(u){u.exports=function(h){return h=Number(h),isNaN(h)||h===0?h:h>0?1:-1}},96936:function(u,h,a){var l=a(85608),v=Math.abs,i=Math.floor;u.exports=function(S){return isNaN(S)?0:(S=Number(S),S===0||!isFinite(S)?S:l(S)*i(v(S)))}},81304:function(u,h,a){var l=a(96936),v=Math.max;u.exports=function(i){return v(0,l(i))}},14428:function(u,h,a){var l=a(34044),v=a(9252),i=Function.prototype.bind,S=Function.prototype.call,g=Object.keys,p=Object.prototype.propertyIsEnumerable;u.exports=function(_,c){return function(s,d){var f,b=arguments[2],x=arguments[3];return s=Object(v(s)),l(d),f=g(s),x&&f.sort(typeof x=="function"?i.call(x,s):void 0),typeof _!="function"&&(_=f[_]),S.call(_,f,function(y,C){return p.call(s,y)?S.call(d,b,s[y],y,s,C):c})}}},38452:function(u,h,a){u.exports=a(96276)()?Object.assign:a(81892)},96276:function(u){u.exports=function(){var h=Object.assign,a;return typeof h!="function"?!1:(a={foo:"raz"},h(a,{bar:"dwa"},{trzy:"trzy"}),a.foo+a.bar+a.trzy==="razdwatrzy")}},81892:function(u,h,a){var l=a(54768),v=a(9252),i=Math.max;u.exports=function(S,g){var p,_,c=i(arguments.length,2),s;for(S=Object(v(S)),s=function(d){try{S[d]=g[d]}catch(f){p||(p=f)}},_=1;_<c;++_)g=arguments[_],l(g).forEach(s);if(p!==void 0)throw p;return S}},95920:function(u,h,a){var l=a(74772),v=a(38452),i=a(9252);u.exports=function(S){var g=Object(i(S)),p=arguments[1],_=Object(arguments[2]);if(g!==S&&!p)return g;var c={};return p?l(p,function(s){(_.ensure||s in S)&&(c[s]=S[s])}):v(c,S),c}},14452:function(u,h,a){var l=Object.create,v;a(63092)()||(v=a(8672)),u.exports=function(){var i,S,g;return!v||v.level!==1?l:(i={},S={},g={configurable:!1,enumerable:!1,writable:!0,value:void 0},Object.getOwnPropertyNames(Object.prototype).forEach(function(p){if(p==="__proto__"){S[p]={configurable:!0,enumerable:!1,writable:!0,value:void 0};return}S[p]=g}),Object.defineProperties(i,S),Object.defineProperty(v,"nullPolyfill",{configurable:!1,enumerable:!1,writable:!1,value:i}),function(p,_){return l(p===null?i:p,_)})}()},42748:function(u,h,a){u.exports=a(14428)("forEach")},69127:function(u,h,a){var l=a(42584),v={function:!0,object:!0};u.exports=function(i){return l(i)&&v[typeof i]||!1}},42584:function(u,h,a){var l=a(33208)();u.exports=function(v){return v!==l&&v!==null}},54768:function(u,h,a){u.exports=a(87888)()?Object.keys:a(89592)},87888:function(u){u.exports=function(){try{return Object.keys("primitive"),!0}catch{return!1}}},89592:function(u,h,a){var l=a(42584),v=Object.keys;u.exports=function(i){return v(l(i)?Object(i):i)}},84323:function(u,h,a){var l=a(34044),v=a(42748),i=Function.prototype.call;u.exports=function(S,g){var p={},_=arguments[2];return l(g),v(S,function(c,s,d,f){p[s]=i.call(g,_,c,s,d,f)}),p}},50868:function(u,h,a){var l=a(42584),v=Array.prototype.forEach,i=Object.create,S=function(g,p){var _;for(_ in g)p[_]=g[_]};u.exports=function(g){var p=i(null);return v.call(arguments,function(_){l(_)&&S(Object(_),p)}),p}},69932:function(u,h,a){u.exports=a(63092)()?Object.setPrototypeOf:a(8672)},63092:function(u){var h=Object.create,a=Object.getPrototypeOf,l={};u.exports=function(){var v=Object.setPrototypeOf,i=arguments[0]||h;return typeof v!="function"?!1:a(v(i(null),l))===l}},8672:function(u,h,a){var l=a(69127),v=a(9252),i=Object.prototype.isPrototypeOf,S=Object.defineProperty,g={configurable:!0,enumerable:!1,writable:!0,value:void 0},p;p=function(_,c){if(v(_),c===null||l(c))return _;throw new TypeError("Prototype must be null or an object")},u.exports=function(_){var c,s;return _?(_.level===2?_.set?(s=_.set,c=function(d,f){return s.call(p(d,f),f),d}):c=function(d,f){return p(d,f).__proto__=f,d}:c=function d(f,b){var x;return p(f,b),x=i.call(d.nullPolyfill,f),x&&delete d.nullPolyfill.__proto__,b===null&&(b=d.nullPolyfill),f.__proto__=b,x&&S(d.nullPolyfill,"__proto__",g),f},Object.defineProperty(c,"level",{configurable:!1,enumerable:!1,writable:!1,value:_.level})):null}(function(){var _=Object.create(null),c={},s,d=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__");if(d){try{s=d.set,s.call(_,c)}catch{}if(Object.getPrototypeOf(_)===c)return{set:s,level:2}}return _.__proto__=c,Object.getPrototypeOf(_)===c?{level:2}:(_={},_.__proto__=c,Object.getPrototypeOf(_)===c?{level:1}:!1)}()),a(14452)},34044:function(u){u.exports=function(h){if(typeof h!="function")throw new TypeError(h+" is not a function");return h}},92584:function(u,h,a){var l=a(69127);u.exports=function(v){if(!l(v))throw new TypeError(v+" is not an Object");return v}},9252:function(u,h,a){var l=a(42584);u.exports=function(v){if(!l(v))throw new TypeError("Cannot use null or undefined");return v}},71056:function(u,h,a){u.exports=a(42976)()?String.prototype.contains:a(93040)},42976:function(u){var h="razdwatrzy";u.exports=function(){return typeof h.contains!="function"?!1:h.contains("dwa")===!0&&h.contains("foo")===!1}},93040:function(u){var h=String.prototype.indexOf;u.exports=function(a){return h.call(this,a,arguments[1])>-1}},29768:function(u){var h=Object.prototype.toString,a=h.call("");u.exports=function(l){return typeof l=="string"||l&&typeof l=="object"&&(l instanceof String||h.call(l)===a)||!1}},82252:function(u){var h=Object.create(null),a=Math.random;u.exports=function(){var l;do l=a().toString(36).slice(2);while(h[l]);return l}},52104:function(u,h,a){var l=a(69932),v=a(71056),i=a(21092),S=a(92664),g=a(85512),p=Object.defineProperty,_;_=u.exports=function(c,s){if(!(this instanceof _))throw new TypeError("Constructor requires 'new'");g.call(this,c),s?v.call(s,"key+value")?s="key+value":v.call(s,"key")?s="key":s="value":s="value",p(this,"__kind__",i("",s))},l&&l(_,g),delete _.prototype.constructor,_.prototype=Object.create(g.prototype,{_resolve:i(function(c){return this.__kind__==="value"?this.__list__[c]:this.__kind__==="key+value"?[c,this.__list__[c]]:c})}),p(_.prototype,S.toStringTag,i("c","Array Iterator"))},76024:function(u,h,a){var l=a(60948),v=a(34044),i=a(29768),S=a(76252),g=Array.isArray,p=Function.prototype.call,_=Array.prototype.some;u.exports=function(c,s){var d,f=arguments[2],b,x,y,C,w,R,A;if(g(c)||l(c)?d="array":i(c)?d="string":c=S(c),v(s),x=function(){y=!0},d==="array"){_.call(c,function(E){return p.call(s,f,E,x),y});return}if(d==="string"){for(w=c.length,C=0;C<w&&(R=c[C],C+1<w&&(A=R.charCodeAt(0),A>=55296&&A<=56319&&(R+=c[++C])),p.call(s,f,R,x),!y);++C);return}for(b=c.next();!b.done;){if(p.call(s,f,b.value,x),y)return;b=c.next()}}},76252:function(u,h,a){var l=a(60948),v=a(29768),i=a(52104),S=a(80940),g=a(52891),p=a(92664).iterator;u.exports=function(_){return typeof g(_)[p]=="function"?_[p]():l(_)?new i(_):v(_)?new S(_):new i(_)}},85512:function(u,h,a){var l=a(41476),v=a(38452),i=a(34044),S=a(9252),g=a(21092),p=a(27940),_=a(92664),c=Object.defineProperty,s=Object.defineProperties,d;u.exports=d=function(f,b){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");s(this,{__list__:g("w",S(f)),__context__:g("w",b),__nextIndex__:g("w",0)}),b&&(i(b.on),b.on("_add",this._onAdd),b.on("_delete",this._onDelete),b.on("_clear",this._onClear))},delete d.prototype.constructor,s(d.prototype,v({_next:g(function(){var f;if(this.__list__){if(this.__redo__&&(f=this.__redo__.shift(),f!==void 0))return f;if(this.__nextIndex__<this.__list__.length)return this.__nextIndex__++;this._unBind()}}),next:g(function(){return this._createResult(this._next())}),_createResult:g(function(f){return f===void 0?{done:!0,value:void 0}:{done:!1,value:this._resolve(f)}}),_resolve:g(function(f){return this.__list__[f]}),_unBind:g(function(){this.__list__=null,delete this.__redo__,this.__context__&&(this.__context__.off("_add",this._onAdd),this.__context__.off("_delete",this._onDelete),this.__context__.off("_clear",this._onClear),this.__context__=null)}),toString:g(function(){return"[object "+(this[_.toStringTag]||"Object")+"]"})},p({_onAdd:g(function(f){if(!(f>=this.__nextIndex__)){if(++this.__nextIndex__,!this.__redo__){c(this,"__redo__",g("c",[f]));return}this.__redo__.forEach(function(b,x){b>=f&&(this.__redo__[x]=++b)},this),this.__redo__.push(f)}}),_onDelete:g(function(f){var b;f>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(b=this.__redo__.indexOf(f),b!==-1&&this.__redo__.splice(b,1),this.__redo__.forEach(function(x,y){x>f&&(this.__redo__[y]=--x)},this)))}),_onClear:g(function(){this.__redo__&&l.call(this.__redo__),this.__nextIndex__=0})}))),c(d.prototype,_.iterator,g(function(){return this}))},76368:function(u,h,a){var l=a(60948),v=a(42584),i=a(29768),S=a(92664).iterator,g=Array.isArray;u.exports=function(p){return v(p)?g(p)||i(p)||l(p)?!0:typeof p[S]=="function":!1}},80940:function(u,h,a){var l=a(69932),v=a(21092),i=a(92664),S=a(85512),g=Object.defineProperty,p;p=u.exports=function(_){if(!(this instanceof p))throw new TypeError("Constructor requires 'new'");_=String(_),S.call(this,_),g(this,"__length__",v("",_.length))},l&&l(p,S),delete p.prototype.constructor,p.prototype=Object.create(S.prototype,{_next:v(function(){if(this.__list__){if(this.__nextIndex__<this.__length__)return this.__nextIndex__++;this._unBind()}}),_resolve:v(function(_){var c=this.__list__[_],s;return this.__nextIndex__===this.__length__?c:(s=c.charCodeAt(0),s>=55296&&s<=56319?c+this.__list__[this.__nextIndex__++]:c)})}),g(p.prototype,i.toStringTag,v("c","String Iterator"))},52891:function(u,h,a){var l=a(76368);u.exports=function(v){if(!l(v))throw new TypeError(v+" is not iterable");return v}},60964:function(u){function h(l,v){if(l==null)throw new TypeError("Cannot convert first argument to object");for(var i=Object(l),S=1;S<arguments.length;S++){var g=arguments[S];if(g!=null)for(var p=Object.keys(Object(g)),_=0,c=p.length;_<c;_++){var s=p[_],d=Object.getOwnPropertyDescriptor(g,s);d!==void 0&&d.enumerable&&(i[s]=g[s])}}return i}function a(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:h})}u.exports={assign:h,polyfill:a}},92664:function(u,h,a){u.exports=a(43580)()?a(12296).Symbol:a(18376)},43580:function(u,h,a){var l=a(12296),v={object:!0,symbol:!0};u.exports=function(){var i=l.Symbol,S;if(typeof i!="function")return!1;S=i("test symbol");try{String(S)}catch{return!1}return!(!v[typeof i.iterator]||!v[typeof i.toPrimitive]||!v[typeof i.toStringTag])}},53908:function(u){u.exports=function(h){return h?typeof h=="symbol"?!0:!h.constructor||h.constructor.name!=="Symbol"?!1:h[h.constructor.toStringTag]==="Symbol":!1}},96863:function(u,h,a){var l=a(21092),v=Object.create,i=Object.defineProperty,S=Object.prototype,g=v(null);u.exports=function(p){for(var _=0,c,s;g[p+(_||"")];)++_;return p+=_||"",g[p]=!0,c="@@"+p,i(S,c,l.gs(null,function(d){s||(s=!0,i(this,c,l(d)),s=!1)})),c}},53540:function(u,h,a){var l=a(21092),v=a(12296).Symbol;u.exports=function(i){return Object.defineProperties(i,{hasInstance:l("",v&&v.hasInstance||i("hasInstance")),isConcatSpreadable:l("",v&&v.isConcatSpreadable||i("isConcatSpreadable")),iterator:l("",v&&v.iterator||i("iterator")),match:l("",v&&v.match||i("match")),replace:l("",v&&v.replace||i("replace")),search:l("",v&&v.search||i("search")),species:l("",v&&v.species||i("species")),split:l("",v&&v.split||i("split")),toPrimitive:l("",v&&v.toPrimitive||i("toPrimitive")),toStringTag:l("",v&&v.toStringTag||i("toStringTag")),unscopables:l("",v&&v.unscopables||i("unscopables"))})}},73852:function(u,h,a){var l=a(21092),v=a(63948),i=Object.create(null);u.exports=function(S){return Object.defineProperties(S,{for:l(function(g){return i[g]?i[g]:i[g]=S(String(g))}),keyFor:l(function(g){var p;v(g);for(p in i)if(i[p]===g)return p})})}},18376:function(u,h,a){var l=a(21092),v=a(63948),i=a(12296).Symbol,S=a(96863),g=a(53540),p=a(73852),_=Object.create,c=Object.defineProperties,s=Object.defineProperty,d,f,b;if(typeof i=="function")try{String(i()),b=!0}catch{}else i=null;f=function(y){if(this instanceof f)throw new TypeError("Symbol is not a constructor");return d(y)},u.exports=d=function x(y){var C;if(this instanceof x)throw new TypeError("Symbol is not a constructor");return b?i(y):(C=_(f.prototype),y=y===void 0?"":String(y),c(C,{__description__:l("",y),__name__:l("",S(y))}))},g(d),p(d),c(f.prototype,{constructor:l(d),toString:l("",function(){return this.__name__})}),c(d.prototype,{toString:l(function(){return"Symbol ("+v(this).__description__+")"}),valueOf:l(function(){return v(this)})}),s(d.prototype,d.toPrimitive,l("",function(){var x=v(this);return typeof x=="symbol"?x:x.toString()})),s(d.prototype,d.toStringTag,l("c","Symbol")),s(f.prototype,d.toStringTag,l("c",d.prototype[d.toStringTag])),s(f.prototype,d.toPrimitive,l("c",d.prototype[d.toPrimitive]))},63948:function(u,h,a){var l=a(53908);u.exports=function(v){if(!l(v))throw new TypeError(v+" is not a symbol");return v}},60463:function(u,h,a){u.exports=a(96979)()?WeakMap:a(64864)},96979:function(u){u.exports=function(){var h,a;if(typeof WeakMap!="function")return!1;try{h=new WeakMap([[a={},"one"],[{},"two"],[{},"three"]])}catch{return!1}return!(String(h)!=="[object WeakMap]"||typeof h.set!="function"||h.set({},1)!==h||typeof h.delete!="function"||typeof h.has!="function"||h.get(a)!=="one")}},69876:function(u){u.exports=function(){return typeof WeakMap!="function"?!1:Object.prototype.toString.call(new WeakMap)==="[object WeakMap]"}()},64864:function(u,h,a){var l=a(42584),v=a(69932),i=a(92584),S=a(9252),g=a(82252),p=a(21092),_=a(76252),c=a(76024),s=a(92664).toStringTag,d=a(69876),f=Array.isArray,b=Object.defineProperty,x=Object.prototype.hasOwnProperty,y=Object.getPrototypeOf,C;u.exports=C=function(){var w=arguments[0],R;if(!(this instanceof C))throw new TypeError("Constructor requires 'new'");return R=d&&v&&WeakMap!==C?v(new WeakMap,y(this)):this,l(w)&&(f(w)||(w=_(w))),b(R,"__weakMapData__",p("c","$weakMap$"+g())),w&&c(w,function(A){S(A),R.set(A[0],A[1])}),R},d&&(v&&v(C,WeakMap),C.prototype=Object.create(WeakMap.prototype,{constructor:p(C)})),Object.defineProperties(C.prototype,{delete:p(function(w){return x.call(i(w),this.__weakMapData__)?(delete w[this.__weakMapData__],!0):!1}),get:p(function(w){if(x.call(i(w),this.__weakMapData__))return w[this.__weakMapData__]}),has:p(function(w){return x.call(i(w),this.__weakMapData__)}),set:p(function(w,R){return b(i(w),this.__weakMapData__,p("c",R)),this}),toString:p(function(){return"[object WeakMap]"})}),b(C.prototype,s,p("c","WeakMap"))},61252:function(u){var h=typeof Reflect=="object"?Reflect:null,a=h&&typeof h.apply=="function"?h.apply:function(k,L,I){return Function.prototype.apply.call(k,L,I)},l;h&&typeof h.ownKeys=="function"?l=h.ownKeys:Object.getOwnPropertySymbols?l=function(k){return Object.getOwnPropertyNames(k).concat(Object.getOwnPropertySymbols(k))}:l=function(k){return Object.getOwnPropertyNames(k)};function v(E){console&&console.warn&&console.warn(E)}var i=Number.isNaN||function(k){return k!==k};function S(){S.init.call(this)}u.exports=S,u.exports.once=w,S.EventEmitter=S,S.prototype._events=void 0,S.prototype._eventsCount=0,S.prototype._maxListeners=void 0;var g=10;function p(E){if(typeof E!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof E)}Object.defineProperty(S,"defaultMaxListeners",{enumerable:!0,get:function(){return g},set:function(E){if(typeof E!="number"||E<0||i(E))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+E+".");g=E}}),S.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},S.prototype.setMaxListeners=function(k){if(typeof k!="number"||k<0||i(k))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+k+".");return this._maxListeners=k,this};function _(E){return E._maxListeners===void 0?S.defaultMaxListeners:E._maxListeners}S.prototype.getMaxListeners=function(){return _(this)},S.prototype.emit=function(k){for(var L=[],I=1;I<arguments.length;I++)L.push(arguments[I]);var P=k==="error",M=this._events;if(M!==void 0)P=P&&M.error===void 0;else if(!P)return!1;if(P){var F;if(L.length>0&&(F=L[0]),F instanceof Error)throw F;var N=new Error("Unhandled error."+(F?" ("+F.message+")":""));throw N.context=F,N}var T=M[k];if(T===void 0)return!1;if(typeof T=="function")a(T,this,L);else for(var D=T.length,O=x(T,D),I=0;I<D;++I)a(O[I],this,L);return!0};function c(E,k,L,I){var P,M,F;if(p(L),M=E._events,M===void 0?(M=E._events=Object.create(null),E._eventsCount=0):(M.newListener!==void 0&&(E.emit("newListener",k,L.listener?L.listener:L),M=E._events),F=M[k]),F===void 0)F=M[k]=L,++E._eventsCount;else if(typeof F=="function"?F=M[k]=I?[L,F]:[F,L]:I?F.unshift(L):F.push(L),P=_(E),P>0&&F.length>P&&!F.warned){F.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+F.length+" "+String(k)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=E,N.type=k,N.count=F.length,v(N)}return E}S.prototype.addListener=function(k,L){return c(this,k,L,!1)},S.prototype.on=S.prototype.addListener,S.prototype.prependListener=function(k,L){return c(this,k,L,!0)};function s(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(E,k,L){var I={fired:!1,wrapFn:void 0,target:E,type:k,listener:L},P=s.bind(I);return P.listener=L,I.wrapFn=P,P}S.prototype.once=function(k,L){return p(L),this.on(k,d(this,k,L)),this},S.prototype.prependOnceListener=function(k,L){return p(L),this.prependListener(k,d(this,k,L)),this},S.prototype.removeListener=function(k,L){var I,P,M,F,N;if(p(L),P=this._events,P===void 0)return this;if(I=P[k],I===void 0)return this;if(I===L||I.listener===L)--this._eventsCount===0?this._events=Object.create(null):(delete P[k],P.removeListener&&this.emit("removeListener",k,I.listener||L));else if(typeof I!="function"){for(M=-1,F=I.length-1;F>=0;F--)if(I[F]===L||I[F].listener===L){N=I[F].listener,M=F;break}if(M<0)return this;M===0?I.shift():y(I,M),I.length===1&&(P[k]=I[0]),P.removeListener!==void 0&&this.emit("removeListener",k,N||L)}return this},S.prototype.off=S.prototype.removeListener,S.prototype.removeAllListeners=function(k){var L,I,P;if(I=this._events,I===void 0)return this;if(I.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):I[k]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete I[k]),this;if(arguments.length===0){var M=Object.keys(I),F;for(P=0;P<M.length;++P)F=M[P],F!=="removeListener"&&this.removeAllListeners(F);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(L=I[k],typeof L=="function")this.removeListener(k,L);else if(L!==void 0)for(P=L.length-1;P>=0;P--)this.removeListener(k,L[P]);return this};function f(E,k,L){var I=E._events;if(I===void 0)return[];var P=I[k];return P===void 0?[]:typeof P=="function"?L?[P.listener||P]:[P]:L?C(P):x(P,P.length)}S.prototype.listeners=function(k){return f(this,k,!0)},S.prototype.rawListeners=function(k){return f(this,k,!1)},S.listenerCount=function(E,k){return typeof E.listenerCount=="function"?E.listenerCount(k):b.call(E,k)},S.prototype.listenerCount=b;function b(E){var k=this._events;if(k!==void 0){var L=k[E];if(typeof L=="function")return 1;if(L!==void 0)return L.length}return 0}S.prototype.eventNames=function(){return this._eventsCount>0?l(this._events):[]};function x(E,k){for(var L=new Array(k),I=0;I<k;++I)L[I]=E[I];return L}function y(E,k){for(;k+1<E.length;k++)E[k]=E[k+1];E.pop()}function C(E){for(var k=new Array(E.length),L=0;L<k.length;++L)k[L]=E[L].listener||E[L];return k}function w(E,k){return new Promise(function(L,I){function P(F){E.removeListener(k,M),I(F)}function M(){typeof E.removeListener=="function"&&E.removeListener("error",P),L([].slice.call(arguments))}A(E,k,M,{once:!0}),k!=="error"&&R(E,P,{once:!0})})}function R(E,k,L){typeof E.on=="function"&&A(E,"error",k,L)}function A(E,k,L,I){if(typeof E.on=="function")I.once?E.once(k,L):E.on(k,L);else if(typeof E.addEventListener=="function")E.addEventListener(k,function P(M){I.once&&E.removeEventListener(k,P),L(M)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof E)}},39072:function(u){var h=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};u.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return h()}try{return __global__||h()}finally{delete Object.prototype.__global__}}()},12296:function(u,h,a){u.exports=a(45072)()?globalThis:a(39072)},45072:function(u){u.exports=function(){return typeof globalThis!="object"||!globalThis?!1:globalThis.Array===Array}},38248:function(u,h,a){var l=a(94576);u.exports=function(v){var i=typeof v;if(i==="string"){var S=v;if(v=+v,v===0&&l(S))return!1}else if(i!=="number")return!1;return v-v<1}},47520:function(u,h,a){var l=a(72512);u.exports=v;function v(i,S,g){if(!i)throw new TypeError("must specify data as first parameter");if(g=+(g||0)|0,Array.isArray(i)&&i[0]&&typeof i[0][0]=="number"){var p=i[0].length,_=i.length*p,c,s,d,f;(!S||typeof S=="string")&&(S=new(l(S||"float32"))(_+g));var b=S.length-g;if(_!==b)throw new Error("source length "+_+" ("+p+"x"+i.length+") does not match destination length "+b);for(c=0,d=g;c<i.length;c++)for(s=0;s<p;s++)S[d++]=i[c][s]===null?NaN:i[c][s]}else if(!S||typeof S=="string"){var x=l(S||"float32");if(Array.isArray(i)||S==="array")for(S=new x(i.length+g),c=0,d=g,f=S.length;d<f;d++,c++)S[d]=i[c]===null?NaN:i[c];else g===0?S=new x(i):(S=new x(i.length+g),S.set(i,g))}else S.set(i,g);return S}},33888:function(u,h,a){var l=a(49395),v=[32,126];u.exports=i;function i(S){S=S||{};var g=S.shape?S.shape:S.canvas?[S.canvas.width,S.canvas.height]:[512,512],p=S.canvas||document.createElement("canvas"),_=S.font,c=typeof S.step=="number"?[S.step,S.step]:S.step||[32,32],s=S.chars||v;if(_&&typeof _!="string"&&(_=l(_)),!Array.isArray(s))s=String(s).split("");else if(s.length===2&&typeof s[0]=="number"&&typeof s[1]=="number"){for(var d=[],f=s[0],b=0;f<=s[1];f++)d[b++]=String.fromCharCode(f);s=d}g=g.slice(),p.width=g[0],p.height=g[1];var x=p.getContext("2d");x.fillStyle="#000",x.fillRect(0,0,p.width,p.height),x.font=_,x.textAlign="center",x.textBaseline="middle",x.fillStyle="#fff";for(var y=c[0]/2,C=c[1]/2,f=0;f<s.length;f++)x.fillText(s[f],y,C),(y+=c[0])>g[0]-c[0]/2&&(y=c[0]/2,C+=c[1]);return p}},71920:function(u){u.exports=h,h.canvas=document.createElement("canvas"),h.cache={};function h(s,S){S||(S={}),(typeof s=="string"||Array.isArray(s))&&(S.family=s);var g=Array.isArray(S.family)?S.family.join(", "):S.family;if(!g)throw Error("`family` must be defined");var p=S.size||S.fontSize||S.em||48,_=S.weight||S.fontWeight||"",c=S.style||S.fontStyle||"",s=[c,_,p].join(" ")+"px "+g,d=S.origin||"top";if(h.cache[g]&&p<=h.cache[g].em)return a(h.cache[g],d);var f=S.canvas||h.canvas,b=f.getContext("2d"),x={upper:S.upper!==void 0?S.upper:"H",lower:S.lower!==void 0?S.lower:"x",descent:S.descent!==void 0?S.descent:"p",ascent:S.ascent!==void 0?S.ascent:"h",tittle:S.tittle!==void 0?S.tittle:"i",overshoot:S.overshoot!==void 0?S.overshoot:"O"},y=Math.ceil(p*1.5);f.height=y,f.width=y*.5,b.font=s;var C="H",w={top:0};b.clearRect(0,0,y,y),b.textBaseline="top",b.fillStyle="black",b.fillText(C,0,0);var R=l(b.getImageData(0,0,y,y));b.clearRect(0,0,y,y),b.textBaseline="bottom",b.fillText(C,0,y);var A=l(b.getImageData(0,0,y,y));w.lineHeight=w.bottom=y-A+R,b.clearRect(0,0,y,y),b.textBaseline="alphabetic",b.fillText(C,0,y);var E=l(b.getImageData(0,0,y,y)),k=y-E-1+R;w.baseline=w.alphabetic=k,b.clearRect(0,0,y,y),b.textBaseline="middle",b.fillText(C,0,y*.5);var L=l(b.getImageData(0,0,y,y));w.median=w.middle=y-L-1+R-y*.5,b.clearRect(0,0,y,y),b.textBaseline="hanging",b.fillText(C,0,y*.5);var I=l(b.getImageData(0,0,y,y));w.hanging=y-I-1+R-y*.5,b.clearRect(0,0,y,y),b.textBaseline="ideographic",b.fillText(C,0,y);var P=l(b.getImageData(0,0,y,y));if(w.ideographic=y-P-1+R,x.upper&&(b.clearRect(0,0,y,y),b.textBaseline="top",b.fillText(x.upper,0,0),w.upper=l(b.getImageData(0,0,y,y)),w.capHeight=w.baseline-w.upper),x.lower&&(b.clearRect(0,0,y,y),b.textBaseline="top",b.fillText(x.lower,0,0),w.lower=l(b.getImageData(0,0,y,y)),w.xHeight=w.baseline-w.lower),x.tittle&&(b.clearRect(0,0,y,y),b.textBaseline="top",b.fillText(x.tittle,0,0),w.tittle=l(b.getImageData(0,0,y,y))),x.ascent&&(b.clearRect(0,0,y,y),b.textBaseline="top",b.fillText(x.ascent,0,0),w.ascent=l(b.getImageData(0,0,y,y))),x.descent&&(b.clearRect(0,0,y,y),b.textBaseline="top",b.fillText(x.descent,0,0),w.descent=v(b.getImageData(0,0,y,y))),x.overshoot){b.clearRect(0,0,y,y),b.textBaseline="top",b.fillText(x.overshoot,0,0);var M=v(b.getImageData(0,0,y,y));w.overshoot=M-k}for(var F in w)w[F]/=p;return w.em=p,h.cache[g]=w,a(w,d)}function a(i,S){var g={};typeof S=="string"&&(S=i[S]);for(var p in i)p!=="em"&&(g[p]=i[p]-S);return g}function l(i){for(var S=i.height,g=i.data,p=3;p<g.length;p+=4)if(g[p]!==0)return Math.floor((p-3)*.25/S)}function v(i){for(var S=i.height,g=i.data,p=g.length-1;p>0;p-=4)if(g[p]!==0)return Math.floor((p-3)*.25/S)}},46492:function(u,h,a){var l=a(90720),v=Object.prototype.toString,i=Object.prototype.hasOwnProperty,S=function(s,d,f){for(var b=0,x=s.length;b<x;b++)i.call(s,b)&&(f==null?d(s[b],b,s):d.call(f,s[b],b,s))},g=function(s,d,f){for(var b=0,x=s.length;b<x;b++)f==null?d(s.charAt(b),b,s):d.call(f,s.charAt(b),b,s)},p=function(s,d,f){for(var b in s)i.call(s,b)&&(f==null?d(s[b],b,s):d.call(f,s[b],b,s))},_=function(s,d,f){if(!l(d))throw new TypeError("iterator must be a function");var b;arguments.length>=3&&(b=f),v.call(s)==="[object Array]"?S(s,d,b):typeof s=="string"?g(s,d,b):p(s,d,b)};u.exports=_},74336:function(u){var h="Function.prototype.bind called on incompatible ",a=Object.prototype.toString,l=Math.max,v="[object Function]",i=function(_,c){for(var s=[],d=0;d<_.length;d+=1)s[d]=_[d];for(var f=0;f<c.length;f+=1)s[f+_.length]=c[f];return s},S=function(_,c){for(var s=[],d=c,f=0;d<_.length;d+=1,f+=1)s[f]=_[d];return s},g=function(p,_){for(var c="",s=0;s<p.length;s+=1)c+=p[s],s+1<p.length&&(c+=_);return c};u.exports=function(_){var c=this;if(typeof c!="function"||a.apply(c)!==v)throw new TypeError(h+c);for(var s=S(arguments,1),d,f=function(){if(this instanceof d){var w=c.apply(this,i(s,arguments));return Object(w)===w?w:this}return c.apply(_,i(s,arguments))},b=l(0,c.length-s.length),x=[],y=0;y<b;y++)x[y]="$"+y;if(d=Function("binder","return function ("+g(x,",")+"){ return binder.apply(this,arguments); }")(f),c.prototype){var C=function(){};C.prototype=c.prototype,d.prototype=new C,C.prototype=null}return d}},8844:function(u,h,a){var l=a(74336);u.exports=Function.prototype.bind||l},13380:function(u){u.exports=h;function h(a,l){if(typeof a!="string")throw new TypeError("must specify type string");if(l=l||{},typeof document>"u"&&!l.canvas)return null;var v=l.canvas||document.createElement("canvas");typeof l.width=="number"&&(v.width=l.width),typeof l.height=="number"&&(v.height=l.height);var i=l,S;try{var g=[a];a.indexOf("webgl")===0&&g.push("experimental-"+a);for(var p=0;p<g.length;p++)if(S=v.getContext(g[p],i),S)return S}catch{S=null}return S||null}},53664:function(u,h,a){var l,v=SyntaxError,i=Function,S=TypeError,g=function(O){try{return i('"use strict"; return ('+O+").constructor;")()}catch{}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch{p=null}var _=function(){throw new S},c=p?function(){try{return arguments.callee,_}catch{try{return p(arguments,"callee").get}catch{return _}}}():_,s=a(71080)(),d=a(69572)(),f=Object.getPrototypeOf||(d?function(O){return O.__proto__}:null),b={},x=typeof Uint8Array>"u"||!f?l:f(Uint8Array),y={"%AggregateError%":typeof AggregateError>"u"?l:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?l:ArrayBuffer,"%ArrayIteratorPrototype%":s&&f?f([][Symbol.iterator]()):l,"%AsyncFromSyncIteratorPrototype%":l,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":typeof Atomics>"u"?l:Atomics,"%BigInt%":typeof BigInt>"u"?l:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?l:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?l:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?l:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?l:Float32Array,"%Float64Array%":typeof Float64Array>"u"?l:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?l:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":b,"%Int8Array%":typeof Int8Array>"u"?l:Int8Array,"%Int16Array%":typeof Int16Array>"u"?l:Int16Array,"%Int32Array%":typeof Int32Array>"u"?l:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":s&&f?f(f([][Symbol.iterator]())):l,"%JSON%":typeof JSON=="object"?JSON:l,"%Map%":typeof Map>"u"?l:Map,"%MapIteratorPrototype%":typeof Map>"u"||!s||!f?l:f(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?l:Promise,"%Proxy%":typeof Proxy>"u"?l:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?l:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?l:Set,"%SetIteratorPrototype%":typeof Set>"u"||!s||!f?l:f(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?l:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":s&&f?f(""[Symbol.iterator]()):l,"%Symbol%":s?Symbol:l,"%SyntaxError%":v,"%ThrowTypeError%":c,"%TypedArray%":x,"%TypeError%":S,"%Uint8Array%":typeof Uint8Array>"u"?l:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?l:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?l:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?l:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?l:WeakMap,"%WeakRef%":typeof WeakRef>"u"?l:WeakRef,"%WeakSet%":typeof WeakSet>"u"?l:WeakSet};if(f)try{null.error}catch(O){var C=f(f(O));y["%Error.prototype%"]=C}var w=function O(U){var B;if(U==="%AsyncFunction%")B=g("async function () {}");else if(U==="%GeneratorFunction%")B=g("function* () {}");else if(U==="%AsyncGeneratorFunction%")B=g("async function* () {}");else if(U==="%AsyncGenerator%"){var Y=O("%AsyncGeneratorFunction%");Y&&(B=Y.prototype)}else if(U==="%AsyncIteratorPrototype%"){var z=O("%AsyncGenerator%");z&&f&&(B=f(z.prototype))}return y[U]=B,B},R={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},A=a(8844),E=a(92064),k=A.call(Function.call,Array.prototype.concat),L=A.call(Function.apply,Array.prototype.splice),I=A.call(Function.call,String.prototype.replace),P=A.call(Function.call,String.prototype.slice),M=A.call(Function.call,RegExp.prototype.exec),F=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,T=function(U){var B=P(U,0,1),Y=P(U,-1);if(B==="%"&&Y!=="%")throw new v("invalid intrinsic syntax, expected closing `%`");if(Y==="%"&&B!=="%")throw new v("invalid intrinsic syntax, expected opening `%`");var z=[];return I(U,F,function(V,j,G,W){z[z.length]=G?I(W,N,"$1"):j||V}),z},D=function(U,B){var Y=U,z;if(E(R,Y)&&(z=R[Y],Y="%"+z[0]+"%"),E(y,Y)){var V=y[Y];if(V===b&&(V=w(Y)),typeof V>"u"&&!B)throw new S("intrinsic "+U+" exists, but is not available. Please file an issue!");return{alias:z,name:Y,value:V}}throw new v("intrinsic "+U+" does not exist!")};u.exports=function(U,B){if(typeof U!="string"||U.length===0)throw new S("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof B!="boolean")throw new S('"allowMissing" argument must be a boolean');if(M(/^%?[^%]*%?$/,U)===null)throw new v("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Y=T(U),z=Y.length>0?Y[0]:"",V=D("%"+z+"%",B),j=V.name,G=V.value,W=!1,X=V.alias;X&&(z=X[0],L(Y,k([0,1],X)));for(var Q=1,ae=!0;Q<Y.length;Q+=1){var ie=Y[Q],he=P(ie,0,1),J=P(ie,-1);if((he==='"'||he==="'"||he==="`"||J==='"'||J==="'"||J==="`")&&he!==J)throw new v("property names with quotes must have matching quotes");if((ie==="constructor"||!ae)&&(W=!0),z+="."+ie,j="%"+z+"%",E(y,j))G=y[j];else if(G!=null){if(!(ie in G)){if(!B)throw new S("base intrinsic for "+U+" exists, but the property is not available.");return}if(p&&Q+1>=Y.length){var Z=p(G,ie);ae=!!Z,ae&&"get"in Z&&!("originalValue"in Z.get)?G=Z.get:G=G[ie]}else ae=E(G,ie),G=G[ie];ae&&!W&&(y[j]=G)}}return G}},12408:function(u){u.exports=h;function h(a,l){var v=l[0],i=l[1],S=l[2],g=l[3],p=l[4],_=l[5],c=l[6],s=l[7],d=l[8],f=l[9],b=l[10],x=l[11],y=l[12],C=l[13],w=l[14],R=l[15];return a[0]=_*(b*R-x*w)-f*(c*R-s*w)+C*(c*x-s*b),a[1]=-(i*(b*R-x*w)-f*(S*R-g*w)+C*(S*x-g*b)),a[2]=i*(c*R-s*w)-_*(S*R-g*w)+C*(S*s-g*c),a[3]=-(i*(c*x-s*b)-_*(S*x-g*b)+f*(S*s-g*c)),a[4]=-(p*(b*R-x*w)-d*(c*R-s*w)+y*(c*x-s*b)),a[5]=v*(b*R-x*w)-d*(S*R-g*w)+y*(S*x-g*b),a[6]=-(v*(c*R-s*w)-p*(S*R-g*w)+y*(S*s-g*c)),a[7]=v*(c*x-s*b)-p*(S*x-g*b)+d*(S*s-g*c),a[8]=p*(f*R-x*C)-d*(_*R-s*C)+y*(_*x-s*f),a[9]=-(v*(f*R-x*C)-d*(i*R-g*C)+y*(i*x-g*f)),a[10]=v*(_*R-s*C)-p*(i*R-g*C)+y*(i*s-g*_),a[11]=-(v*(_*x-s*f)-p*(i*x-g*f)+d*(i*s-g*_)),a[12]=-(p*(f*w-b*C)-d*(_*w-c*C)+y*(_*b-c*f)),a[13]=v*(f*w-b*C)-d*(i*w-S*C)+y*(i*b-S*f),a[14]=-(v*(_*w-c*C)-p*(i*w-S*C)+y*(i*c-S*_)),a[15]=v*(_*b-c*f)-p*(i*b-S*f)+d*(i*c-S*_),a}},76860:function(u){u.exports=h;function h(a){var l=new Float32Array(16);return l[0]=a[0],l[1]=a[1],l[2]=a[2],l[3]=a[3],l[4]=a[4],l[5]=a[5],l[6]=a[6],l[7]=a[7],l[8]=a[8],l[9]=a[9],l[10]=a[10],l[11]=a[11],l[12]=a[12],l[13]=a[13],l[14]=a[14],l[15]=a[15],l}},64492:function(u){u.exports=h;function h(a,l){return a[0]=l[0],a[1]=l[1],a[2]=l[2],a[3]=l[3],a[4]=l[4],a[5]=l[5],a[6]=l[6],a[7]=l[7],a[8]=l[8],a[9]=l[9],a[10]=l[10],a[11]=l[11],a[12]=l[12],a[13]=l[13],a[14]=l[14],a[15]=l[15],a}},54212:function(u){u.exports=h;function h(){var a=new Float32Array(16);return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=1,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=1,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1,a}},70800:function(u){u.exports=h;function h(a){var l=a[0],v=a[1],i=a[2],S=a[3],g=a[4],p=a[5],_=a[6],c=a[7],s=a[8],d=a[9],f=a[10],b=a[11],x=a[12],y=a[13],C=a[14],w=a[15],R=l*p-v*g,A=l*_-i*g,E=l*c-S*g,k=v*_-i*p,L=v*c-S*p,I=i*c-S*_,P=s*y-d*x,M=s*C-f*x,F=s*w-b*x,N=d*C-f*y,T=d*w-b*y,D=f*w-b*C;return R*D-A*T+E*N+k*F-L*M+I*P}},61784:function(u){u.exports=h;function h(a,l){var v=l[0],i=l[1],S=l[2],g=l[3],p=v+v,_=i+i,c=S+S,s=v*p,d=i*p,f=i*_,b=S*p,x=S*_,y=S*c,C=g*p,w=g*_,R=g*c;return a[0]=1-f-y,a[1]=d+R,a[2]=b-w,a[3]=0,a[4]=d-R,a[5]=1-s-y,a[6]=x+C,a[7]=0,a[8]=b+w,a[9]=x-C,a[10]=1-s-f,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1,a}},91616:function(u){u.exports=h;function h(a,l,v){var i,S,g,p=v[0],_=v[1],c=v[2],s=Math.sqrt(p*p+_*_+c*c);return Math.abs(s)<1e-6?null:(s=1/s,p*=s,_*=s,c*=s,i=Math.sin(l),S=Math.cos(l),g=1-S,a[0]=p*p*g+S,a[1]=_*p*g+c*i,a[2]=c*p*g-_*i,a[3]=0,a[4]=p*_*g-c*i,a[5]=_*_*g+S,a[6]=c*_*g+p*i,a[7]=0,a[8]=p*c*g+_*i,a[9]=_*c*g-p*i,a[10]=c*c*g+S,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1,a)}},51944:function(u){u.exports=h;function h(a,l,v){var i=l[0],S=l[1],g=l[2],p=l[3],_=i+i,c=S+S,s=g+g,d=i*_,f=i*c,b=i*s,x=S*c,y=S*s,C=g*s,w=p*_,R=p*c,A=p*s;return a[0]=1-(x+C),a[1]=f+A,a[2]=b-R,a[3]=0,a[4]=f-A,a[5]=1-(d+C),a[6]=y+w,a[7]=0,a[8]=b+R,a[9]=y-w,a[10]=1-(d+x),a[11]=0,a[12]=v[0],a[13]=v[1],a[14]=v[2],a[15]=1,a}},69444:function(u){u.exports=h;function h(a,l){return a[0]=l[0],a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=l[1],a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=l[2],a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1,a}},48268:function(u){u.exports=h;function h(a,l){return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=1,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=1,a[11]=0,a[12]=l[0],a[13]=l[1],a[14]=l[2],a[15]=1,a}},21856:function(u){u.exports=h;function h(a,l){var v=Math.sin(l),i=Math.cos(l);return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=i,a[6]=v,a[7]=0,a[8]=0,a[9]=-v,a[10]=i,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1,a}},79216:function(u){u.exports=h;function h(a,l){var v=Math.sin(l),i=Math.cos(l);return a[0]=i,a[1]=0,a[2]=-v,a[3]=0,a[4]=0,a[5]=1,a[6]=0,a[7]=0,a[8]=v,a[9]=0,a[10]=i,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1,a}},57736:function(u){u.exports=h;function h(a,l){var v=Math.sin(l),i=Math.cos(l);return a[0]=i,a[1]=v,a[2]=0,a[3]=0,a[4]=-v,a[5]=i,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=1,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1,a}},38848:function(u){u.exports=h;function h(a,l,v,i,S,g,p){var _=1/(v-l),c=1/(S-i),s=1/(g-p);return a[0]=g*2*_,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=g*2*c,a[6]=0,a[7]=0,a[8]=(v+l)*_,a[9]=(S+i)*c,a[10]=(p+g)*s,a[11]=-1,a[12]=0,a[13]=0,a[14]=p*g*2*s,a[15]=0,a}},36635:function(u){u.exports=h;function h(a){return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=1,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=1,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1,a}},36524:function(u,h,a){u.exports={create:a(54212),clone:a(76860),copy:a(64492),identity:a(36635),transpose:a(86520),invert:a(4308),adjoint:a(12408),determinant:a(70800),multiply:a(80944),translate:a(35176),scale:a(68152),rotate:a(30016),rotateX:a(15456),rotateY:a(64840),rotateZ:a(4192),fromRotation:a(91616),fromRotationTranslation:a(51944),fromScaling:a(69444),fromTranslation:a(48268),fromXRotation:a(21856),fromYRotation:a(79216),fromZRotation:a(57736),fromQuat:a(61784),frustum:a(38848),perspective:a(51296),perspectiveFromFieldOfView:a(63688),ortho:a(97688),lookAt:a(56508),str:a(89412)}},4308:function(u){u.exports=h;function h(a,l){var v=l[0],i=l[1],S=l[2],g=l[3],p=l[4],_=l[5],c=l[6],s=l[7],d=l[8],f=l[9],b=l[10],x=l[11],y=l[12],C=l[13],w=l[14],R=l[15],A=v*_-i*p,E=v*c-S*p,k=v*s-g*p,L=i*c-S*_,I=i*s-g*_,P=S*s-g*c,M=d*C-f*y,F=d*w-b*y,N=d*R-x*y,T=f*w-b*C,D=f*R-x*C,O=b*R-x*w,U=A*O-E*D+k*T+L*N-I*F+P*M;return U?(U=1/U,a[0]=(_*O-c*D+s*T)*U,a[1]=(S*D-i*O-g*T)*U,a[2]=(C*P-w*I+R*L)*U,a[3]=(b*I-f*P-x*L)*U,a[4]=(c*N-p*O-s*F)*U,a[5]=(v*O-S*N+g*F)*U,a[6]=(w*k-y*P-R*E)*U,a[7]=(d*P-b*k+x*E)*U,a[8]=(p*D-_*N+s*M)*U,a[9]=(i*N-v*D-g*M)*U,a[10]=(y*I-C*k+R*A)*U,a[11]=(f*k-d*I-x*A)*U,a[12]=(_*F-p*T-c*M)*U,a[13]=(v*T-i*F+S*M)*U,a[14]=(C*E-y*L-w*A)*U,a[15]=(d*L-f*E+b*A)*U,a):null}},56508:function(u,h,a){var l=a(36635);u.exports=v;function v(i,S,g,p){var _,c,s,d,f,b,x,y,C,w,R=S[0],A=S[1],E=S[2],k=p[0],L=p[1],I=p[2],P=g[0],M=g[1],F=g[2];return Math.abs(R-P)<1e-6&&Math.abs(A-M)<1e-6&&Math.abs(E-F)<1e-6?l(i):(x=R-P,y=A-M,C=E-F,w=1/Math.sqrt(x*x+y*y+C*C),x*=w,y*=w,C*=w,_=L*C-I*y,c=I*x-k*C,s=k*y-L*x,w=Math.sqrt(_*_+c*c+s*s),w?(w=1/w,_*=w,c*=w,s*=w):(_=0,c=0,s=0),d=y*s-C*c,f=C*_-x*s,b=x*c-y*_,w=Math.sqrt(d*d+f*f+b*b),w?(w=1/w,d*=w,f*=w,b*=w):(d=0,f=0,b=0),i[0]=_,i[1]=d,i[2]=x,i[3]=0,i[4]=c,i[5]=f,i[6]=y,i[7]=0,i[8]=s,i[9]=b,i[10]=C,i[11]=0,i[12]=-(_*R+c*A+s*E),i[13]=-(d*R+f*A+b*E),i[14]=-(x*R+y*A+C*E),i[15]=1,i)}},80944:function(u){u.exports=h;function h(a,l,v){var i=l[0],S=l[1],g=l[2],p=l[3],_=l[4],c=l[5],s=l[6],d=l[7],f=l[8],b=l[9],x=l[10],y=l[11],C=l[12],w=l[13],R=l[14],A=l[15],E=v[0],k=v[1],L=v[2],I=v[3];return a[0]=E*i+k*_+L*f+I*C,a[1]=E*S+k*c+L*b+I*w,a[2]=E*g+k*s+L*x+I*R,a[3]=E*p+k*d+L*y+I*A,E=v[4],k=v[5],L=v[6],I=v[7],a[4]=E*i+k*_+L*f+I*C,a[5]=E*S+k*c+L*b+I*w,a[6]=E*g+k*s+L*x+I*R,a[7]=E*p+k*d+L*y+I*A,E=v[8],k=v[9],L=v[10],I=v[11],a[8]=E*i+k*_+L*f+I*C,a[9]=E*S+k*c+L*b+I*w,a[10]=E*g+k*s+L*x+I*R,a[11]=E*p+k*d+L*y+I*A,E=v[12],k=v[13],L=v[14],I=v[15],a[12]=E*i+k*_+L*f+I*C,a[13]=E*S+k*c+L*b+I*w,a[14]=E*g+k*s+L*x+I*R,a[15]=E*p+k*d+L*y+I*A,a}},97688:function(u){u.exports=h;function h(a,l,v,i,S,g,p){var _=1/(l-v),c=1/(i-S),s=1/(g-p);return a[0]=-2*_,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=-2*c,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=2*s,a[11]=0,a[12]=(l+v)*_,a[13]=(S+i)*c,a[14]=(p+g)*s,a[15]=1,a}},51296:function(u){u.exports=h;function h(a,l,v,i,S){var g=1/Math.tan(l/2),p=1/(i-S);return a[0]=g/v,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=g,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=(S+i)*p,a[11]=-1,a[12]=0,a[13]=0,a[14]=2*S*i*p,a[15]=0,a}},63688:function(u){u.exports=h;function h(a,l,v,i){var S=Math.tan(l.upDegrees*Math.PI/180),g=Math.tan(l.downDegrees*Math.PI/180),p=Math.tan(l.leftDegrees*Math.PI/180),_=Math.tan(l.rightDegrees*Math.PI/180),c=2/(p+_),s=2/(S+g);return a[0]=c,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=s,a[6]=0,a[7]=0,a[8]=-((p-_)*c*.5),a[9]=(S-g)*s*.5,a[10]=i/(v-i),a[11]=-1,a[12]=0,a[13]=0,a[14]=i*v/(v-i),a[15]=0,a}},30016:function(u){u.exports=h;function h(a,l,v,i){var S=i[0],g=i[1],p=i[2],_=Math.sqrt(S*S+g*g+p*p),c,s,d,f,b,x,y,C,w,R,A,E,k,L,I,P,M,F,N,T,D,O,U,B;return Math.abs(_)<1e-6?null:(_=1/_,S*=_,g*=_,p*=_,c=Math.sin(v),s=Math.cos(v),d=1-s,f=l[0],b=l[1],x=l[2],y=l[3],C=l[4],w=l[5],R=l[6],A=l[7],E=l[8],k=l[9],L=l[10],I=l[11],P=S*S*d+s,M=g*S*d+p*c,F=p*S*d-g*c,N=S*g*d-p*c,T=g*g*d+s,D=p*g*d+S*c,O=S*p*d+g*c,U=g*p*d-S*c,B=p*p*d+s,a[0]=f*P+C*M+E*F,a[1]=b*P+w*M+k*F,a[2]=x*P+R*M+L*F,a[3]=y*P+A*M+I*F,a[4]=f*N+C*T+E*D,a[5]=b*N+w*T+k*D,a[6]=x*N+R*T+L*D,a[7]=y*N+A*T+I*D,a[8]=f*O+C*U+E*B,a[9]=b*O+w*U+k*B,a[10]=x*O+R*U+L*B,a[11]=y*O+A*U+I*B,l!==a&&(a[12]=l[12],a[13]=l[13],a[14]=l[14],a[15]=l[15]),a)}},15456:function(u){u.exports=h;function h(a,l,v){var i=Math.sin(v),S=Math.cos(v),g=l[4],p=l[5],_=l[6],c=l[7],s=l[8],d=l[9],f=l[10],b=l[11];return l!==a&&(a[0]=l[0],a[1]=l[1],a[2]=l[2],a[3]=l[3],a[12]=l[12],a[13]=l[13],a[14]=l[14],a[15]=l[15]),a[4]=g*S+s*i,a[5]=p*S+d*i,a[6]=_*S+f*i,a[7]=c*S+b*i,a[8]=s*S-g*i,a[9]=d*S-p*i,a[10]=f*S-_*i,a[11]=b*S-c*i,a}},64840:function(u){u.exports=h;function h(a,l,v){var i=Math.sin(v),S=Math.cos(v),g=l[0],p=l[1],_=l[2],c=l[3],s=l[8],d=l[9],f=l[10],b=l[11];return l!==a&&(a[4]=l[4],a[5]=l[5],a[6]=l[6],a[7]=l[7],a[12]=l[12],a[13]=l[13],a[14]=l[14],a[15]=l[15]),a[0]=g*S-s*i,a[1]=p*S-d*i,a[2]=_*S-f*i,a[3]=c*S-b*i,a[8]=g*i+s*S,a[9]=p*i+d*S,a[10]=_*i+f*S,a[11]=c*i+b*S,a}},4192:function(u){u.exports=h;function h(a,l,v){var i=Math.sin(v),S=Math.cos(v),g=l[0],p=l[1],_=l[2],c=l[3],s=l[4],d=l[5],f=l[6],b=l[7];return l!==a&&(a[8]=l[8],a[9]=l[9],a[10]=l[10],a[11]=l[11],a[12]=l[12],a[13]=l[13],a[14]=l[14],a[15]=l[15]),a[0]=g*S+s*i,a[1]=p*S+d*i,a[2]=_*S+f*i,a[3]=c*S+b*i,a[4]=s*S-g*i,a[5]=d*S-p*i,a[6]=f*S-_*i,a[7]=b*S-c*i,a}},68152:function(u){u.exports=h;function h(a,l,v){var i=v[0],S=v[1],g=v[2];return a[0]=l[0]*i,a[1]=l[1]*i,a[2]=l[2]*i,a[3]=l[3]*i,a[4]=l[4]*S,a[5]=l[5]*S,a[6]=l[6]*S,a[7]=l[7]*S,a[8]=l[8]*g,a[9]=l[9]*g,a[10]=l[10]*g,a[11]=l[11]*g,a[12]=l[12],a[13]=l[13],a[14]=l[14],a[15]=l[15],a}},89412:function(u){u.exports=h;function h(a){return"mat4("+a[0]+", "+a[1]+", "+a[2]+", "+a[3]+", "+a[4]+", "+a[5]+", "+a[6]+", "+a[7]+", "+a[8]+", "+a[9]+", "+a[10]+", "+a[11]+", "+a[12]+", "+a[13]+", "+a[14]+", "+a[15]+")"}},35176:function(u){u.exports=h;function h(a,l,v){var i=v[0],S=v[1],g=v[2],p,_,c,s,d,f,b,x,y,C,w,R;return l===a?(a[12]=l[0]*i+l[4]*S+l[8]*g+l[12],a[13]=l[1]*i+l[5]*S+l[9]*g+l[13],a[14]=l[2]*i+l[6]*S+l[10]*g+l[14],a[15]=l[3]*i+l[7]*S+l[11]*g+l[15]):(p=l[0],_=l[1],c=l[2],s=l[3],d=l[4],f=l[5],b=l[6],x=l[7],y=l[8],C=l[9],w=l[10],R=l[11],a[0]=p,a[1]=_,a[2]=c,a[3]=s,a[4]=d,a[5]=f,a[6]=b,a[7]=x,a[8]=y,a[9]=C,a[10]=w,a[11]=R,a[12]=p*i+d*S+y*g+l[12],a[13]=_*i+f*S+C*g+l[13],a[14]=c*i+b*S+w*g+l[14],a[15]=s*i+x*S+R*g+l[15]),a}},86520:function(u){u.exports=h;function h(a,l){if(a===l){var v=l[1],i=l[2],S=l[3],g=l[6],p=l[7],_=l[11];a[1]=l[4],a[2]=l[8],a[3]=l[12],a[4]=v,a[6]=l[9],a[7]=l[13],a[8]=i,a[9]=g,a[11]=l[14],a[12]=S,a[13]=p,a[14]=_}else a[0]=l[0],a[1]=l[4],a[2]=l[8],a[3]=l[12],a[4]=l[1],a[5]=l[5],a[6]=l[9],a[7]=l[13],a[8]=l[2],a[9]=l[6],a[10]=l[10],a[11]=l[14],a[12]=l[3],a[13]=l[7],a[14]=l[11],a[15]=l[15];return a}},23352:function(u,h,a){var l=a(42771),v=a(55616),i=a(28624),S=a(55212),g=a(60463),p=a(72160),_=a(33888),c=a(14144),s=a(51160),d=a(58908),f=a(65819),b=a(23464),x=a(63768),y=a(50896),C=a(71920),w=a(47520),R=a(308),A=R.nextPow2,E=new g,k=!1;if(document.body){var L=document.body.appendChild(document.createElement("div"));L.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(L).fontStretch&&(k=!0),document.body.removeChild(L)}var I=function(F){P(F)?(F={regl:F},this.gl=F.regl._gl):this.gl=S(F),this.shader=E.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=F.regl||i({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),E.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(d(F)?F:{})};I.prototype.createShader=function(){var F=this.regl,N=F({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:F.prop("count"),offset:F.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:F.this("sizeBuffer")},width:{offset:0,stride:8,buffer:F.this("sizeBuffer")},char:F.this("charBuffer"),position:F.this("position")},uniforms:{atlasSize:function(D,O){return[O.atlas.width,O.atlas.height]},atlasDim:function(D,O){return[O.atlas.cols,O.atlas.rows]},atlas:function(D,O){return O.atlas.texture},charStep:function(D,O){return O.atlas.step},em:function(D,O){return O.atlas.em},color:F.prop("color"),opacity:F.prop("opacity"),viewport:F.this("viewportArray"),scale:F.this("scale"),align:F.prop("align"),baseline:F.prop("baseline"),translate:F.this("translate"),positionOffset:F.prop("positionOffset")},primitive:"points",viewport:F.this("viewport"),vert:`
precision highp float;
attribute float width, charOffset, char;
attribute vec2 position;
uniform float fontSize, charStep, em, align, baseline;
uniform vec4 viewport;
uniform vec4 color;
uniform vec2 atlasSize, atlasDim, scale, translate, positionOffset;
varying vec2 charCoord, charId;
varying float charWidth;
varying vec4 fontColor;
void main () {
vec2 offset = floor(em * (vec2(align + charOffset, baseline)
+ vec2(positionOffset.x, -positionOffset.y)))
/ (viewport.zw * scale.xy);
vec2 position = (position + translate) * scale;
position += offset * scale;
charCoord = position * viewport.zw + viewport.xy;
gl_Position = vec4(position * 2. - 1., 0, 1);
gl_PointSize = charStep;
charId.x = mod(char, atlasDim.x);
charId.y = floor(char / atlasDim.x);
charWidth = width * em;
fontColor = color / 255.;
}`,frag:`
precision highp float;
uniform float fontSize, charStep, opacity;
uniform vec2 atlasSize;
uniform vec4 viewport;
uniform sampler2D atlas;
varying vec4 fontColor;
varying vec2 charCoord, charId;
varying float charWidth;
float lightness(vec4 color) {
return color.r * 0.299 + color.g * 0.587 + color.b * 0.114;
}
void main () {
vec2 uv = gl_FragCoord.xy - charCoord + charStep * .5;
float halfCharStep = floor(charStep * .5 + .5);
// invert y and shift by 1px (FF expecially needs that)
uv.y = charStep - uv.y;
// ignore points outside of character bounding box
float halfCharWidth = ceil(charWidth * .5);
if (floor(uv.x) > halfCharStep + halfCharWidth ||
floor(uv.x) < halfCharStep - halfCharWidth) return;
uv += charId * charStep;
uv = uv / atlasSize;
vec4 color = fontColor;
vec4 mask = texture2D(atlas, uv);
float maskY = lightness(mask);
// float colorY = lightness(color);
color.a *= maskY;
color.a *= opacity;
// color.a += .1;
// antialiasing, see yiq color space y-channel formula
// color.rgb += (1. - color.rgb) * (1. - mask.rgb);
gl_FragColor = color;
}`}),T={};return{regl:F,draw:N,atlas:T}},I.prototype.update=function(F){var N=this;if(typeof F=="string")F={text:F};else if(!F)return;F=v(F,{position:"position positions coord coords coordinates",font:"font fontFace fontface typeface cssFont css-font family fontFamily",fontSize:"fontSize fontsize size font-size",text:"text texts chars characters value values symbols",align:"align alignment textAlign textbaseline",baseline:"baseline textBaseline textbaseline",direction:"dir direction textDirection",color:"color colour fill fill-color fillColor textColor textcolor",kerning:"kerning kern",range:"range dataBox",viewport:"vp viewport viewBox viewbox viewPort",opacity:"opacity alpha transparency visible visibility opaque",offset:"offset positionOffset padding shift indent indentation"},!0),F.opacity!=null&&(Array.isArray(F.opacity)?this.opacity=F.opacity.map(function(Fe){return parseFloat(Fe)}):this.opacity=parseFloat(F.opacity)),F.viewport!=null&&(this.viewport=s(F.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),this.viewport==null&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),F.kerning!=null&&(this.kerning=F.kerning),F.offset!=null&&(typeof F.offset=="number"&&(F.offset=[F.offset,0]),this.positionOffset=w(F.offset)),F.direction&&(this.direction=F.direction),F.range&&(this.range=F.range,this.scale=[1/(F.range[2]-F.range[0]),1/(F.range[3]-F.range[1])],this.translate=[-F.range[0],-F.range[1]]),F.scale&&(this.scale=F.scale),F.translate&&(this.translate=F.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),!this.font.length&&!F.font&&(F.font=I.baseFontSize+"px sans-serif");var T=!1,D=!1;if(F.font&&(Array.isArray(F.font)?F.font:[F.font]).forEach(function(Fe,We){if(typeof Fe=="string")try{Fe=l.parse(Fe)}catch{Fe=l.parse(I.baseFontSize+"px "+Fe)}else Fe=l.parse(l.stringify(Fe));var lt=l.stringify({size:I.baseFontSize,family:Fe.family,stretch:k?Fe.stretch:void 0,variant:Fe.variant,weight:Fe.weight,style:Fe.style}),ht=f(Fe.size),tt=Math.round(ht[0]*b(ht[1]));if(tt!==N.fontSize[We]&&(D=!0,N.fontSize[We]=tt),(!N.font[We]||lt!=N.font[We].baseString)&&(T=!0,N.font[We]=I.fonts[lt],!N.font[We])){var et=Fe.family.join(", "),pt=[Fe.style];Fe.style!=Fe.variant&&pt.push(Fe.variant),Fe.variant!=Fe.weight&&pt.push(Fe.weight),k&&Fe.weight!=Fe.stretch&&pt.push(Fe.stretch),N.font[We]={baseString:lt,family:et,weight:Fe.weight,stretch:Fe.stretch,style:Fe.style,variant:Fe.variant,width:{},kerning:{},metrics:C(et,{origin:"top",fontSize:I.baseFontSize,fontStyle:pt.join(" ")})},I.fonts[lt]=N.font[We]}}),(T||D)&&this.font.forEach(function(Fe,We){var lt=l.stringify({size:N.fontSize[We],family:Fe.family,stretch:k?Fe.stretch:void 0,variant:Fe.variant,weight:Fe.weight,style:Fe.style});if(N.fontAtlas[We]=N.shader.atlas[lt],!N.fontAtlas[We]){var ht=Fe.metrics;N.shader.atlas[lt]=N.fontAtlas[We]={fontString:lt,step:Math.ceil(N.fontSize[We]*ht.bottom*.5)*2,em:N.fontSize[We],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:N.regl.texture()}}F.text==null&&(F.text=N.text)}),typeof F.text=="string"&&F.position&&F.position.length>2){for(var O=Array(F.position.length*.5),U=0;U<O.length;U++)O[U]=F.text;F.text=O}var B;if(F.text!=null||T){if(this.textOffsets=[0],Array.isArray(F.text)){this.count=F.text[0].length,this.counts=[this.count];for(var Y=1;Y<F.text.length;Y++)this.textOffsets[Y]=this.textOffsets[Y-1]+F.text[Y-1].length,this.count+=F.text[Y].length,this.counts.push(F.text[Y].length);this.text=F.text.join("")}else this.text=F.text,this.count=this.text.length,this.counts=[this.count];B=[],this.font.forEach(function(Fe,We){I.atlasContext.font=Fe.baseString;for(var lt=N.fontAtlas[We],ht=0;ht<N.text.length;ht++){var tt=N.text.charAt(ht);if(lt.ids[tt]==null&&(lt.ids[tt]=lt.chars.length,lt.chars.push(tt),B.push(tt)),Fe.width[tt]==null&&(Fe.width[tt]=I.atlasContext.measureText(tt).width/I.baseFontSize,N.kerning)){var et=[];for(var pt in Fe.width)et.push(pt+tt,tt+pt);y(Fe.kerning,x(Fe.family,{pairs:et}))}}})}if(F.position)if(F.position.length>2){for(var z=!F.position[0].length,V=c.mallocFloat(this.count*2),j=0,G=0;j<this.counts.length;j++){var W=this.counts[j];if(z)for(var X=0;X<W;X++)V[G++]=F.position[j*2],V[G++]=F.position[j*2+1];else for(var Q=0;Q<W;Q++)V[G++]=F.position[j][0],V[G++]=F.position[j][1]}this.position.call?this.position({type:"float",data:V}):this.position=this.regl.buffer({type:"float",data:V}),c.freeFloat(V)}else this.position.destroy&&this.position.destroy(),this.position={constant:F.position};if(F.text||T){var ae=c.mallocUint8(this.count),ie=c.mallocFloat(this.count*2);this.textWidth=[];for(var he=0,J=0;he<this.counts.length;he++){for(var Z=this.counts[he],le=this.font[he]||this.font[0],K=this.fontAtlas[he]||this.fontAtlas[0],te=0;te<Z;te++){var ce=this.text.charAt(J),re=this.text.charAt(J-1);if(ae[J]=K.ids[ce],ie[J*2]=le.width[ce],te){var ee=ie[J*2-2],de=ie[J*2],oe=ie[J*2-1],fe=oe+ee*.5+de*.5;if(this.kerning){var me=le.kerning[re+ce];me&&(fe+=me*.001)}ie[J*2+1]=fe}else ie[J*2+1]=ie[J*2]*.5;J++}this.textWidth.push(ie.length?ie[J*2-2]*.5+ie[J*2-1]:0)}F.align||(F.align=this.align),this.charBuffer({data:ae,type:"uint8",usage:"stream"}),this.sizeBuffer({data:ie,type:"float",usage:"stream"}),c.freeUint8(ae),c.freeFloat(ie),B.length&&this.font.forEach(function(Fe,We){var lt=N.fontAtlas[We],ht=lt.step,tt=Math.floor(I.maxAtlasSize/ht),et=Math.min(tt,lt.chars.length),pt=Math.ceil(lt.chars.length/et),vt=A(et*ht),_t=A(pt*ht);lt.width=vt,lt.height=_t,lt.rows=pt,lt.cols=et,lt.em&&lt.texture({data:_({canvas:I.atlasCanvas,font:lt.fontString,chars:lt.chars,shape:[vt,_t],step:[ht,ht]})})})}if(F.align&&(this.align=F.align,this.alignOffset=this.textWidth.map(function(Fe,We){var lt=Array.isArray(N.align)?N.align.length>1?N.align[We]:N.align[0]:N.align;if(typeof lt=="number")return lt;switch(lt){case"right":case"end":return-Fe;case"center":case"centre":case"middle":return-Fe*.5}return 0})),this.baseline==null&&F.baseline==null&&(F.baseline=0),F.baseline!=null&&(this.baseline=F.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(Fe,We){var lt=(N.font[We]||N.font[0]).metrics,ht=0;return ht+=lt.bottom*.5,typeof Fe=="number"?ht+=Fe-lt.baseline:ht+=-lt[Fe],ht*=-1,ht})),F.color!=null)if(F.color||(F.color="transparent"),typeof F.color=="string"||!isNaN(F.color))this.color=p(F.color,"uint8");else{var Te;if(typeof F.color[0]=="number"&&F.color.length>this.counts.length){var we=F.color.length;Te=c.mallocUint8(we);for(var Be=(F.color.subarray||F.color.slice).bind(F.color),Ae=0;Ae<we;Ae+=4)Te.set(p(Be(Ae,Ae+4),"uint8"),Ae)}else{var Re=F.color.length;Te=c.mallocUint8(Re*4);for(var be=0;be<Re;be++)Te.set(p(F.color[be]||0,"uint8"),be*4)}this.color=Te}if(F.position||F.text||F.color||F.baseline||F.align||F.font||F.offset||F.opacity){var Pe=this.color.length>4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2;if(Pe){var Ke=Math.max(this.position.length*.5||0,this.color.length*.25||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,this.positionOffset.length*.5||0);this.batch=Array(Ke);for(var ze=0;ze<this.batch.length;ze++)this.batch[ze]={count:this.counts.length>1?this.counts[ze]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[ze]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(ze*4,ze*4+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[ze]:this.opacity,baseline:this.baselineOffset[ze]!=null?this.baselineOffset[ze]:this.baselineOffset[0],align:this.align?this.alignOffset[ze]!=null?this.alignOffset[ze]:this.alignOffset[0]:0,atlas:this.fontAtlas[ze]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(ze*2,ze*2+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]}},I.prototype.destroy=function(){},I.prototype.kerning=!0,I.prototype.position={constant:new Float32Array(2)},I.prototype.translate=null,I.prototype.scale=null,I.prototype.font=null,I.prototype.text="",I.prototype.positionOffset=[0,0],I.prototype.opacity=1,I.prototype.color=new Uint8Array([0,0,0,255]),I.prototype.alignOffset=[0,0],I.maxAtlasSize=1024,I.atlasCanvas=document.createElement("canvas"),I.atlasContext=I.atlasCanvas.getContext("2d",{alpha:!1}),I.baseFontSize=64,I.fonts={};function P(M){return typeof M=="function"&&M._gl&&M.prop&&M.texture&&M.buffer}u.exports=I},55212:function(u,h,a){var l=a(55616);u.exports=function(c){if(c?typeof c=="string"&&(c={container:c}):c={},i(c)?c={container:c}:S(c)?c={container:c}:g(c)?c={gl:c}:c=l(c,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0),c.pixelRatio||(c.pixelRatio=a.g.pixelRatio||1),c.gl)return c.gl;if(c.canvas&&(c.container=c.canvas.parentNode),c.container){if(typeof c.container=="string"){var s=document.querySelector(c.container);if(!s)throw Error("Element "+c.container+" is not found");c.container=s}i(c.container)?(c.canvas=c.container,c.container=c.canvas.parentNode):c.canvas||(c.canvas=p(),c.container.appendChild(c.canvas),v(c))}else if(!c.canvas)if(typeof document<"u")c.container=document.body||document.documentElement,c.canvas=p(),c.container.appendChild(c.canvas),v(c);else throw Error("Not DOM environment. Use headless-gl.");return c.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(d){try{c.gl=c.canvas.getContext(d,c.attrs)}catch{}return c.gl}),c.gl};function v(_){if(_.container)if(_.container==document.body)document.body.style.width||(_.canvas.width=_.width||_.pixelRatio*a.g.innerWidth),document.body.style.height||(_.canvas.height=_.height||_.pixelRatio*a.g.innerHeight);else{var c=_.container.getBoundingClientRect();_.canvas.width=_.width||c.right-c.left,_.canvas.height=_.height||c.bottom-c.top}}function i(_){return typeof _.getContext=="function"&&"width"in _&&"height"in _}function S(_){return typeof _.nodeName=="string"&&typeof _.appendChild=="function"&&typeof _.getBoundingClientRect=="function"}function g(_){return typeof _.drawArrays=="function"||typeof _.drawElements=="function"}function p(){var _=document.createElement("canvas");return _.style.position="absolute",_.style.top=0,_.style.left=0,_}},26444:function(u){u.exports=function(h){typeof h=="string"&&(h=[h]);for(var a=[].slice.call(arguments,1),l=[],v=0;v<h.length-1;v++)l.push(h[v],a[v]||"");return l.push(h[v]),l.join("")}},2304:function(u,h,a){var l=a(53664),v=l("%Object.getOwnPropertyDescriptor%",!0);if(v)try{v([],"length")}catch{v=null}u.exports=v},52264:function(u,h,a){var l=a(24200),v;typeof a.g.matchMedia=="function"?v=!a.g.matchMedia("(hover: none)").matches:v=l,u.exports=v},89184:function(u,h,a){var l=a(24200);function v(){var i=!1;try{var S=Object.defineProperty({},"passive",{get:function(){i=!0}});window.addEventListener("test",null,S),window.removeEventListener("test",null,S)}catch{i=!1}return i}u.exports=l&&v()},39640:function(u,h,a){var l=a(53664),v=l("%Object.defineProperty%",!0),i=function(){if(v)try{return v({},"a",{value:1}),!0}catch{return!1}return!1};i.hasArrayLengthDefineBug=function(){if(!i())return null;try{return v([],"length",{value:1}).length!==1}catch{return!0}},u.exports=i},69572:function(u){var h={foo:{}},a=Object;u.exports=function(){return{__proto__:h}.foo===h.foo&&!({__proto__:null}instanceof a)}},71080:function(u,h,a){var l=typeof Symbol<"u"&&Symbol,v=a(89320);u.exports=function(){return typeof l!="function"||typeof Symbol!="function"||typeof l("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:v()}},89320:function(u){u.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var a={},l=Symbol("test"),v=Object(l);if(typeof l=="string"||Object.prototype.toString.call(l)!=="[object Symbol]"||Object.prototype.toString.call(v)!=="[object Symbol]")return!1;var i=42;a[l]=i;for(l in a)return!1;if(typeof Object.keys=="function"&&Object.keys(a).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(a).length!==0)return!1;var S=Object.getOwnPropertySymbols(a);if(S.length!==1||S[0]!==l||!Object.prototype.propertyIsEnumerable.call(a,l))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var g=Object.getOwnPropertyDescriptor(a,l);if(g.value!==i||g.enumerable!==!0)return!1}return!0}},46672:function(u,h,a){var l=a(89320);u.exports=function(){return l()&&!!Symbol.toStringTag}},92064:function(u,h,a){var l=Function.prototype.call,v=Object.prototype.hasOwnProperty,i=a(8844);u.exports=i.call(l,v)},35984:function(u,h){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */h.read=function(a,l,v,i,S){var g,p,_=S*8-i-1,c=(1<<_)-1,s=c>>1,d=-7,f=v?S-1:0,b=v?-1:1,x=a[l+f];for(f+=b,g=x&(1<<-d)-1,x>>=-d,d+=_;d>0;g=g*256+a[l+f],f+=b,d-=8);for(p=g&(1<<-d)-1,g>>=-d,d+=i;d>0;p=p*256+a[l+f],f+=b,d-=8);if(g===0)g=1-s;else{if(g===c)return p?NaN:(x?-1:1)*(1/0);p=p+Math.pow(2,i),g=g-s}return(x?-1:1)*p*Math.pow(2,g-i)},h.write=function(a,l,v,i,S,g){var p,_,c,s=g*8-S-1,d=(1<<s)-1,f=d>>1,b=S===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=i?0:g-1,y=i?1:-1,C=l<0||l===0&&1/l<0?1:0;for(l=Math.abs(l),isNaN(l)||l===1/0?(_=isNaN(l)?1:0,p=d):(p=Math.floor(Math.log(l)/Math.LN2),l*(c=Math.pow(2,-p))<1&&(p--,c*=2),p+f>=1?l+=b/c:l+=b*Math.pow(2,1-f),l*c>=2&&(p++,c/=2),p+f>=d?(_=0,p=d):p+f>=1?(_=(l*c-1)*Math.pow(2,S),p=p+f):(_=l*Math.pow(2,f-1)*Math.pow(2,S),p=0));S>=8;a[v+x]=_&255,x+=y,_/=256,S-=8);for(p=p<<S|_,s+=S;s>0;a[v+x]=p&255,x+=y,p/=256,s-=8);a[v+x-y]|=C*128}},6768:function(u){typeof Object.create=="function"?u.exports=function(a,l){l&&(a.super_=l,a.prototype=Object.create(l.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}))}:u.exports=function(a,l){if(l){a.super_=l;var v=function(){};v.prototype=l.prototype,a.prototype=new v,a.prototype.constructor=a}}},91148:function(u,h,a){var l=a(46672)(),v=a(99676),i=v("Object.prototype.toString"),S=function(c){return l&&c&&typeof c=="object"&&Symbol.toStringTag in c?!1:i(c)==="[object Arguments]"},g=function(c){return S(c)?!0:c!==null&&typeof c=="object"&&typeof c.length=="number"&&c.length>=0&&i(c)!=="[object Array]"&&i(c.callee)==="[object Function]"},p=function(){return S(arguments)}();S.isLegacyArguments=g,u.exports=p?S:g},24200:function(u){u.exports=!0},90720:function(u){var h=Function.prototype.toString,a=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,l,v;if(typeof a=="function"&&typeof Object.defineProperty=="function")try{l=Object.defineProperty({},"length",{get:function(){throw v}}),v={},a(function(){throw 42},null,l)}catch(R){R!==v&&(a=null)}else a=null;var i=/^\s*class\b/,S=function(A){try{var E=h.call(A);return i.test(E)}catch{return!1}},g=function(A){try{return S(A)?!1:(h.call(A),!0)}catch{return!1}},p=Object.prototype.toString,_="[object Object]",c="[object Function]",s="[object GeneratorFunction]",d="[object HTMLAllCollection]",f="[object HTML document.all class]",b="[object HTMLCollection]",x=typeof Symbol=="function"&&!!Symbol.toStringTag,y=!(0 in[,]),C=function(){return!1};if(typeof document=="object"){var w=document.all;p.call(w)===p.call(document.all)&&(C=function(A){if((y||!A)&&(typeof A>"u"||typeof A=="object"))try{var E=p.call(A);return(E===d||E===f||E===b||E===_)&&A("")==null}catch{}return!1})}u.exports=a?function(A){if(C(A))return!0;if(!A||typeof A!="function"&&typeof A!="object")return!1;try{a(A,null,l)}catch(E){if(E!==v)return!1}return!S(A)&&g(A)}:function(A){if(C(A))return!0;if(!A||typeof A!="function"&&typeof A!="object")return!1;if(x)return g(A);if(S(A))return!1;var E=p.call(A);return E!==c&&E!==s&&!/^\[object HTML/.test(E)?!1:g(A)}},84420:function(u,h,a){var l=Object.prototype.toString,v=Function.prototype.toString,i=/^\s*(?:function)?\*/,S=a(46672)(),g=Object.getPrototypeOf,p=function(){if(!S)return!1;try{return Function("return function*() {}")()}catch{}},_;u.exports=function(s){if(typeof s!="function")return!1;if(i.test(v.call(s)))return!0;if(!S){var d=l.call(s);return d==="[object GeneratorFunction]"}if(!g)return!1;if(typeof _>"u"){var f=p();_=f?g(f):!1}return g(s)===_}},96604:function(u){u.exports=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},85992:function(u){u.exports=function(a){return a!==a}},1560:function(u,h,a){var l=a(57916),v=a(81288),i=a(85992),S=a(57740),g=a(59736),p=l(S(),Number);v(p,{getPolyfill:S,implementation:i,shim:g}),u.exports=p},57740:function(u,h,a){var l=a(85992);u.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:l}},59736:function(u,h,a){var l=a(81288),v=a(57740);u.exports=function(){var S=v();return l(Number,{isNaN:S},{isNaN:function(){return Number.isNaN!==S}}),S}},18400:function(u){u.exports=function(h){var a=typeof h;return h!==null&&(a==="object"||a==="function")}},58908:function(u){var h=Object.prototype.toString;u.exports=function(a){var l;return h.call(a)==="[object Object]"&&(l=Object.getPrototypeOf(a),l===null||l===Object.getPrototypeOf({}))}},94576:function(u){u.exports=function(h){for(var a=h.length,l,v=0;v<a;v++)if(l=h.charCodeAt(v),(l<9||l>13)&&l!==32&&l!==133&&l!==160&&l!==5760&&l!==6158&&(l<8192||l>8205)&&l!==8232&&l!==8233&&l!==8239&&l!==8287&&l!==8288&&l!==12288&&l!==65279)return!1;return!0}},53520:function(u){u.exports=function(a){return typeof a!="string"?!1:(a=a.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(a)&&/[\dz]$/i.test(a)&&a.length>4))}},7728:function(u,h,a){var l=a(46492),v=a(63436),i=a(99676),S=i("Object.prototype.toString"),g=a(46672)(),p=a(2304),_=typeof globalThis>"u"?a.g:globalThis,c=v(),s=i("Array.prototype.indexOf",!0)||function(C,w){for(var R=0;R<C.length;R+=1)if(C[R]===w)return R;return-1},d=i("String.prototype.slice"),f={},b=Object.getPrototypeOf;g&&p&&b&&l(c,function(y){var C=new _[y];if(Symbol.toStringTag in C){var w=b(C),R=p(w,Symbol.toStringTag);if(!R){var A=b(w);R=p(A,Symbol.toStringTag)}f[y]=R.get}});var x=function(C){var w=!1;return l(f,function(R,A){if(!w)try{w=R.call(C)===A}catch{}}),w};u.exports=function(C){if(!C||typeof C!="object")return!1;if(!g||!(Symbol.toStringTag in C)){var w=d(S(C),8,-1);return s(c,w)>-1}return p?x(C):!1}},76244:function(u){u.exports=Math.log2||function(h){return Math.log(h)*Math.LOG2E}},62644:function(u,h,a){u.exports=v;var l=a(93784);function v(i,S){S||(S=i,i=window);var g=0,p=0,_=0,c={shift:!1,alt:!1,control:!1,meta:!1},s=!1;function d(L){var I=!1;return"altKey"in L&&(I=I||L.altKey!==c.alt,c.alt=!!L.altKey),"shiftKey"in L&&(I=I||L.shiftKey!==c.shift,c.shift=!!L.shiftKey),"ctrlKey"in L&&(I=I||L.ctrlKey!==c.control,c.control=!!L.ctrlKey),"metaKey"in L&&(I=I||L.metaKey!==c.meta,c.meta=!!L.metaKey),I}function f(L,I){var P=l.x(I),M=l.y(I);"buttons"in I&&(L=I.buttons|0),(L!==g||P!==p||M!==_||d(I))&&(g=L|0,p=P||0,_=M||0,S&&S(g,p,_,c))}function b(L){f(0,L)}function x(){(g||p||_||c.shift||c.alt||c.meta||c.control)&&(p=_=0,g=0,c.shift=c.alt=c.control=c.meta=!1,S&&S(0,0,0,c))}function y(L){d(L)&&S&&S(g,p,_,c)}function C(L){l.buttons(L)===0?f(0,L):f(g,L)}function w(L){f(g|l.buttons(L),L)}function R(L){f(g&~l.buttons(L),L)}function A(){s||(s=!0,i.addEventListener("mousemove",C),i.addEventListener("mousedown",w),i.addEventListener("mouseup",R),i.addEventListener("mouseleave",b),i.addEventListener("mouseenter",b),i.addEventListener("mouseout",b),i.addEventListener("mouseover",b),i.addEventListener("blur",x),i.addEventListener("keyup",y),i.addEventListener("keydown",y),i.addEventListener("keypress",y),i!==window&&(window.addEventListener("blur",x),window.addEventListener("keyup",y),window.addEventListener("keydown",y),window.addEventListener("keypress",y)))}function E(){s&&(s=!1,i.removeEventListener("mousemove",C),i.removeEventListener("mousedown",w),i.removeEventListener("mouseup",R),i.removeEventListener("mouseleave",b),i.removeEventListener("mouseenter",b),i.removeEventListener("mouseout",b),i.removeEventListener("mouseover",b),i.removeEventListener("blur",x),i.removeEventListener("keyup",y),i.removeEventListener("keydown",y),i.removeEventListener("keypress",y),i!==window&&(window.removeEventListener("blur",x),window.removeEventListener("keyup",y),window.removeEventListener("keydown",y),window.removeEventListener("keypress",y)))}A();var k={element:i};return Object.defineProperties(k,{enabled:{get:function(){return s},set:function(L){L?A():E()},enumerable:!0},buttons:{get:function(){return g},enumerable:!0},x:{get:function(){return p},enumerable:!0},y:{get:function(){return _},enumerable:!0},mods:{get:function(){return c},enumerable:!0}}),k}},29128:function(u){var h={left:0,top:0};u.exports=a;function a(v,i,S){i=i||v.currentTarget||v.srcElement,Array.isArray(S)||(S=[0,0]);var g=v.clientX||0,p=v.clientY||0,_=l(i);return S[0]=g-_.left,S[1]=p-_.top,S}function l(v){return v===window||v===document||v===document.body?h:v.getBoundingClientRect()}},93784:function(u,h){function a(S){if(typeof S=="object"){if("buttons"in S)return S.buttons;if("which"in S){var g=S.which;if(g===2)return 4;if(g===3)return 2;if(g>0)return 1<<g-1}else if("button"in S){var g=S.button;if(g===1)return 4;if(g===2)return 2;if(g>=0)return 1<<g}}return 0}h.buttons=a;function l(S){return S.target||S.srcElement||window}h.element=l;function v(S){if(typeof S=="object"){if("offsetX"in S)return S.offsetX;var g=l(S),p=g.getBoundingClientRect();return S.clientX-p.left}return 0}h.x=v;function i(S){if(typeof S=="object"){if("offsetY"in S)return S.offsetY;var g=l(S),p=g.getBoundingClientRect();return S.clientY-p.top}return 0}h.y=i},97264:function(u,h,a){var l=a(23464);u.exports=v;function v(i,S,g){typeof i=="function"&&(g=!!S,S=i,i=window);var p=l("ex",i),_=function(c){g&&c.preventDefault();var s=c.deltaX||0,d=c.deltaY||0,f=c.deltaZ||0,b=c.deltaMode,x=1;switch(b){case 1:x=p;break;case 2:x=window.innerHeight;break}if(s*=x,d*=x,f*=x,s||d||f)return S(s,d,f,c)};return i.addEventListener("wheel",_),_}},88324:function(u,h,a){var l;/*! Native Promise Only
v0.8.1 (c) Kyle Simpson
MIT License: http://getify.mit-license.org
*/(function(i,S,g){S[i]=S[i]||g(),u.exports?u.exports=S[i]:(l=(function(){return S[i]}).call(h,a,h,u),l!==void 0&&(u.exports=l))})("Promise",typeof a.g<"u"?a.g:this,function(){var i,S,g,p=Object.prototype.toString,_=typeof setImmediate<"u"?function(k){return setImmediate(k)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function(k,L,I,P){return Object.defineProperty(k,L,{value:I,writable:!0,configurable:P!==!1})}}catch{i=function(L,I,P){return L[I]=P,L}}g=function(){var k,L,I;function P(M,F){this.fn=M,this.self=F,this.next=void 0}return{add:function(F,N){I=new P(F,N),L?L.next=I:k=I,L=I,I=void 0},drain:function(){var F=k;for(k=L=S=void 0;F;)F.fn.call(F.self),F=F.next}}}();function c(E,k){g.add(E,k),S||(S=_(g.drain))}function s(E){var k,L=typeof E;return E!=null&&(L=="object"||L=="function")&&(k=E.then),typeof k=="function"?k:!1}function d(){for(var E=0;E<this.chain.length;E++)f(this,this.state===1?this.chain[E].success:this.chain[E].failure,this.chain[E]);this.chain.length=0}function f(E,k,L){var I,P;try{k===!1?L.reject(E.msg):(k===!0?I=E.msg:I=k.call(void 0,E.msg),I===L.promise?L.reject(TypeError("Promise-chain cycle")):(P=s(I))?P.call(I,L.resolve,L.reject):L.resolve(I))}catch(M){L.reject(M)}}function b(E){var k,L=this;if(!L.triggered){L.triggered=!0,L.def&&(L=L.def);try{(k=s(E))?c(function(){var I=new C(L);try{k.call(E,function(){b.apply(I,arguments)},function(){x.apply(I,arguments)})}catch(P){x.call(I,P)}}):(L.msg=E,L.state=1,L.chain.length>0&&c(d,L))}catch(I){x.call(new C(L),I)}}}function x(E){var k=this;k.triggered||(k.triggered=!0,k.def&&(k=k.def),k.msg=E,k.state=2,k.chain.length>0&&c(d,k))}function y(E,k,L,I){for(var P=0;P<k.length;P++)(function(F){E.resolve(k[F]).then(function(T){L(F,T)},I)})(P)}function C(E){this.def=E,this.triggered=!1}function w(E){this.promise=E,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function R(E){if(typeof E!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var k=new w(this);this.then=function(I,P){var M={success:typeof I=="function"?I:!0,failure:typeof P=="function"?P:!1};return M.promise=new this.constructor(function(N,T){if(typeof N!="function"||typeof T!="function")throw TypeError("Not a function");M.resolve=N,M.reject=T}),k.chain.push(M),k.state!==0&&c(d,k),M.promise},this.catch=function(I){return this.then(void 0,I)};try{E.call(void 0,function(I){b.call(k,I)},function(I){x.call(k,I)})}catch(L){x.call(k,L)}}var A=i({},"constructor",R,!1);return R.prototype=A,i(A,"__NPO__",0,!1),i(R,"resolve",function(k){var L=this;return k&&typeof k=="object"&&k.__NPO__===1?k:new L(function(P,M){if(typeof P!="function"||typeof M!="function")throw TypeError("Not a function");P(k)})}),i(R,"reject",function(k){return new this(function(I,P){if(typeof I!="function"||typeof P!="function")throw TypeError("Not a function");P(k)})}),i(R,"all",function(k){var L=this;return p.call(k)!="[object Array]"?L.reject(TypeError("Not an array")):k.length===0?L.resolve([]):new L(function(P,M){if(typeof P!="function"||typeof M!="function")throw TypeError("Not a function");var F=k.length,N=Array(F),T=0;y(L,k,function(O,U){N[O]=U,++T===F&&P(N)},M)})}),i(R,"race",function(k){var L=this;return p.call(k)!="[object Array]"?L.reject(TypeError("Not an array")):new L(function(P,M){if(typeof P!="function"||typeof M!="function")throw TypeError("Not a function");y(L,k,function(N,T){P(T)},M)})}),R})},48816:function(u){var h=Math.PI,a=p(120);u.exports=l;function l(_){for(var c,s=[],d=0,f=0,b=0,x=0,y=null,C=null,w=0,R=0,A=0,E=_.length;A<E;A++){var k=_[A],L=k[0];switch(L){case"M":b=k[1],x=k[2];break;case"A":k=S(w,R,k[1],k[2],p(k[3]),k[4],k[5],k[6],k[7]),k.unshift("C"),k.length>7&&(s.push(k.splice(0,7)),k.unshift("C"));break;case"S":var I=w,P=R;(c=="C"||c=="S")&&(I+=I-d,P+=P-f),k=["C",I,P,k[1],k[2],k[3],k[4]];break;case"T":c=="Q"||c=="T"?(y=w*2-y,C=R*2-C):(y=w,C=R),k=i(w,R,y,C,k[1],k[2]);break;case"Q":y=k[1],C=k[2],k=i(w,R,k[1],k[2],k[3],k[4]);break;case"L":k=v(w,R,k[1],k[2]);break;case"H":k=v(w,R,k[1],R);break;case"V":k=v(w,R,w,k[1]);break;case"Z":k=v(w,R,b,x);break}c=L,w=k[k.length-2],R=k[k.length-1],k.length>4?(d=k[k.length-4],f=k[k.length-3]):(d=w,f=R),s.push(k)}return s}function v(_,c,s,d){return["C",_,c,s,d,s,d]}function i(_,c,s,d,f,b){return["C",_/3+.6666666666666666*s,c/3+.6666666666666666*d,f/3+.6666666666666666*s,b/3+.6666666666666666*d,f,b]}function S(_,c,s,d,f,b,x,y,C,w){if(w)N=w[0],T=w[1],M=w[2],F=w[3];else{var R=g(_,c,-f);_=R.x,c=R.y,R=g(y,C,-f),y=R.x,C=R.y;var A=(_-y)/2,E=(c-C)/2,k=A*A/(s*s)+E*E/(d*d);k>1&&(k=Math.sqrt(k),s=k*s,d=k*d);var L=s*s,I=d*d,P=(b==x?-1:1)*Math.sqrt(Math.abs((L*I-L*E*E-I*A*A)/(L*E*E+I*A*A)));P==1/0&&(P=1);var M=P*s*E/d+(_+y)/2,F=P*-d*A/s+(c+C)/2,N=Math.asin(((c-F)/d).toFixed(9)),T=Math.asin(((C-F)/d).toFixed(9));N=_<M?h-N:N,T=y<M?h-T:T,N<0&&(N=h*2+N),T<0&&(T=h*2+T),x&&N>T&&(N=N-h*2),!x&&T>N&&(T=T-h*2)}if(Math.abs(T-N)>a){var D=T,O=y,U=C;T=N+a*(x&&T>N?1:-1),y=M+s*Math.cos(T),C=F+d*Math.sin(T);var B=S(y,C,s,d,f,0,x,O,U,[T,D,M,F])}var Y=Math.tan((T-N)/4),z=4/3*s*Y,V=4/3*d*Y,j=[2*_-(_+z*Math.sin(N)),2*c-(c-V*Math.cos(N)),y+z*Math.sin(T),C-V*Math.cos(T),y,C];if(w)return j;B&&(j=j.concat(B));for(var G=0;G<j.length;){var W=g(j[G],j[G+1],f);j[G++]=W.x,j[G++]=W.y}return j}function g(_,c,s){return{x:_*Math.cos(s)-c*Math.sin(s),y:_*Math.sin(s)+c*Math.cos(s)}}function p(_){return _*(h/180)}},50896:function(u){/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var h=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function v(S){if(S==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(S)}function i(){try{if(!Object.assign)return!1;var S=new String("abc");if(S[5]="de",Object.getOwnPropertyNames(S)[0]==="5")return!1;for(var g={},p=0;p<10;p++)g["_"+String.fromCharCode(p)]=p;var _=Object.getOwnPropertyNames(g).map(function(s){return g[s]});if(_.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(s){c[s]=s}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}u.exports=i()?Object.assign:function(S,g){for(var p,_=v(S),c,s=1;s<arguments.length;s++){p=Object(arguments[s]);for(var d in p)a.call(p,d)&&(_[d]=p[d]);if(h){c=h(p);for(var f=0;f<c.length;f++)l.call(p,c[f])&&(_[c[f]]=p[c[f]])}}return _}},76835:function(u){var h=function(a){return a!==a};u.exports=function(l,v){return l===0&&v===0?1/l===1/v:!!(l===v||h(l)&&h(v))}},39896:function(u,h,a){var l=a(81288),v=a(57916),i=a(76835),S=a(66148),g=a(16408),p=v(S(),Object);l(p,{getPolyfill:S,implementation:i,shim:g}),u.exports=p},66148:function(u,h,a){var l=a(76835);u.exports=function(){return typeof Object.is=="function"?Object.is:l}},16408:function(u,h,a){var l=a(66148),v=a(81288);u.exports=function(){var S=l();return v(Object,{is:S},{is:function(){return Object.is!==S}}),S}},32764:function(u,h,a){var l;if(!Object.keys){var v=Object.prototype.hasOwnProperty,i=Object.prototype.toString,S=a(97344),g=Object.prototype.propertyIsEnumerable,p=!g.call({toString:null},"toString"),_=g.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=function(x){var y=x.constructor;return y&&y.prototype===x},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if(typeof window>"u")return!1;for(var x in window)try{if(!d["$"+x]&&v.call(window,x)&&window[x]!==null&&typeof window[x]=="object")try{s(window[x])}catch{return!0}}catch{return!0}return!1}(),b=function(x){if(typeof window>"u"||!f)return s(x);try{return s(x)}catch{return!1}};l=function(y){var C=y!==null&&typeof y=="object",w=i.call(y)==="[object Function]",R=S(y),A=C&&i.call(y)==="[object String]",E=[];if(!C&&!w&&!R)throw new TypeError("Object.keys called on a non-object");var k=_&&w;if(A&&y.length>0&&!v.call(y,0))for(var L=0;L<y.length;++L)E.push(String(L));if(R&&y.length>0)for(var I=0;I<y.length;++I)E.push(String(I));else for(var P in y)!(k&&P==="prototype")&&v.call(y,P)&&E.push(String(P));if(p)for(var M=b(y),F=0;F<c.length;++F)!(M&&c[F]==="constructor")&&v.call(y,c[F])&&E.push(c[F]);return E}}u.exports=l},41820:function(u,h,a){var l=Array.prototype.slice,v=a(97344),i=Object.keys,S=i?function(_){return i(_)}:a(32764),g=Object.keys;S.shim=function(){if(Object.keys){var _=function(){var c=Object.keys(arguments);return c&&c.length===arguments.length}(1,2);_||(Object.keys=function(s){return v(s)?g(l.call(s)):g(s)})}else Object.keys=S;return Object.keys||S},u.exports=S},97344:function(u){var h=Object.prototype.toString;u.exports=function(l){var v=h.call(l),i=v==="[object Arguments]";return i||(i=v!=="[object Array]"&&l!==null&&typeof l=="object"&&typeof l.length=="number"&&l.length>=0&&h.call(l.callee)==="[object Function]"),i}},32868:function(u){function h(v,i){if(typeof v!="string")return[v];var S=[v];typeof i=="string"||Array.isArray(i)?i={brackets:i}:i||(i={});var g=i.brackets?Array.isArray(i.brackets)?i.brackets:[i.brackets]:["{}","[]","()"],p=i.escape||"___",_=!!i.flat;g.forEach(function(d){var f=new RegExp(["\\",d[0],"[^\\",d[0],"\\",d[1],"]*\\",d[1]].join("")),b=[];function x(y,C,w){var R=S.push(y.slice(d[0].length,-d[1].length))-1;return b.push(R),p+R+p}S.forEach(function(y,C){for(var w,R=0;y!=w;)if(w=y,y=y.replace(f,x),R++>1e4)throw Error("References have circular dependency. Please, check them.");S[C]=y}),b=b.reverse(),S=S.map(function(y){return b.forEach(function(C){y=y.replace(new RegExp("(\\"+p+C+"\\"+p+")","g"),d[0]+"$1"+d[1])}),y})});var c=new RegExp("\\"+p+"([0-9]+)\\"+p);function s(d,f,b){for(var x=[],y,C=0;y=c.exec(d);){if(C++>1e4)throw Error("Circular references in parenthesis");x.push(d.slice(0,y.index)),x.push(s(f[y[1]],f)),d=d.slice(y.index+y[0].length)}return x.push(d),x}return _?S:s(S[0],S)}function a(v,i){if(i&&i.flat){var S=i&&i.escape||"___",g=v[0],p;if(!g)return"";for(var _=new RegExp("\\"+S+"([0-9]+)\\"+S),c=0;g!=p;){if(c++>1e4)throw Error("Circular references in "+v);p=g,g=g.replace(_,s)}return g}return v.reduce(function d(f,b){return Array.isArray(b)&&(b=b.reduce(d,"")),f+b},"");function s(d,f){if(v[f]==null)throw Error("Reference "+f+"is undefined");return v[f]}}function l(v,i){return Array.isArray(v)?a(v,i):h(v,i)}l.parse=h,l.stringify=a,u.exports=l},51160:function(u,h,a){var l=a(55616);u.exports=v;function v(i){var S;return arguments.length>1&&(i=arguments),typeof i=="string"?i=i.split(/\s/).map(parseFloat):typeof i=="number"&&(i=[i]),i.length&&typeof i[0]=="number"?i.length===1?S={width:i[0],height:i[0],x:0,y:0}:i.length===2?S={width:i[0],height:i[1],x:0,y:0}:S={x:i[0],y:i[1],width:i[2]-i[0]||0,height:i[3]-i[1]||0}:i&&(i=l(i,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"}),S={x:i.left||0,y:i.top||0},i.width==null?i.right?S.width=i.right-S.x:S.width=0:S.width=i.width,i.height==null?i.bottom?S.height=i.bottom-S.y:S.height=0:S.height=i.height),S}},21984:function(u){u.exports=l;var h={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},a=/([astvzqmhlc])([^astvzqmhlc]*)/ig;function l(S){var g=[];return S.replace(a,function(p,_,c){var s=_.toLowerCase();for(c=i(c),s=="m"&&c.length>2&&(g.push([_].concat(c.splice(0,2))),s="l",_=_=="m"?"l":"L");;){if(c.length==h[s])return c.unshift(_),g.push(c);if(c.length<h[s])throw new Error("malformed path data");g.push([_].concat(c.splice(0,h[s])))}}),g}var v=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/ig;function i(S){var g=S.match(v);return g?g.map(Number):[]}},65819:function(u){u.exports=function(a,l){l||(l=[0,""]),a=String(a);var v=parseFloat(a,10);return l[0]=v,l[1]=a.match(/[\d.\-\+]*\s*(.*)/)[1]||"",l}},41984:function(u,h,a){var l=a(4168);(function(){var v,i,S,g,p,_;typeof performance<"u"&&performance!==null&&performance.now?u.exports=function(){return performance.now()}:typeof l<"u"&&l!==null&&l.hrtime?(u.exports=function(){return(v()-p)/1e6},i=l.hrtime,v=function(){var c;return c=i(),c[0]*1e9+c[1]},g=v(),_=l.uptime()*1e9,p=g-_):Date.now?(u.exports=function(){return Date.now()-S},S=Date.now()):(u.exports=function(){return new Date().getTime()-S},S=new Date().getTime())}).call(this)},55616:function(u){u.exports=function(v,i,S){var g={},p,_;if(typeof i=="string"&&(i=a(i)),Array.isArray(i)){var c={};for(_=0;_<i.length;_++)c[i[_]]=!0;i=c}for(p in i)i[p]=a(i[p]);var s={};for(p in i){var d=i[p];if(Array.isArray(d))for(_=0;_<d.length;_++){var f=d[_];if(S&&(s[f]=!0),f in v){if(g[p]=v[f],S)for(var b=_;b<d.length;b++)s[d[b]]=!0;break}}else p in v&&(i[p]&&(g[p]=v[p]),S&&(s[p]=!0))}if(S)for(p in v)s[p]||(g[p]=v[p]);return g};var h={};function a(l){return h[l]?h[l]:(typeof l=="string"&&(l=h[l]=l.split(/\s*,\s*|\s+/)),l)}},61456:function(u){u.exports=function(a,l,v,i){var S=a[0],g=a[1],p=!1;v===void 0&&(v=0),i===void 0&&(i=l.length);for(var _=i-v,c=0,s=_-1;c<_;s=c++){var d=l[c+v][0],f=l[c+v][1],b=l[s+v][0],x=l[s+v][1],y=f>g!=x>g&&S<(b-d)*(g-f)/(x-f)+d;y&&(p=!p)}return p}},14756:function(u,h,a){/*
* @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc
* @license MIT
* @preserve Project Home: https://github.com/voidqk/polybooljs
*/var l=a(7688),v=a(28648),i=a(72200),S=a(11403),g=a(82368),p=a(17792),_=!1,c=v(),s;s={buildLog:function(f){return f===!0?_=l():f===!1&&(_=!1),_===!1?!1:_.list},epsilon:function(f){return c.epsilon(f)},segments:function(f){var b=i(!0,c,_);return f.regions.forEach(b.addRegion),{segments:b.calculate(f.inverted),inverted:f.inverted}},combine:function(f,b){var x=i(!1,c,_);return{combined:x.calculate(f.segments,f.inverted,b.segments,b.inverted),inverted1:f.inverted,inverted2:b.inverted}},selectUnion:function(f){return{segments:g.union(f.combined,_),inverted:f.inverted1||f.inverted2}},selectIntersect:function(f){return{segments:g.intersect(f.combined,_),inverted:f.inverted1&&f.inverted2}},selectDifference:function(f){return{segments:g.difference(f.combined,_),inverted:f.inverted1&&!f.inverted2}},selectDifferenceRev:function(f){return{segments:g.differenceRev(f.combined,_),inverted:!f.inverted1&&f.inverted2}},selectXor:function(f){return{segments:g.xor(f.combined,_),inverted:f.inverted1!==f.inverted2}},polygon:function(f){return{regions:S(f.segments,c,_),inverted:f.inverted}},polygonFromGeoJSON:function(f){return p.toPolygon(s,f)},polygonToGeoJSON:function(f){return p.fromPolygon(s,c,f)},union:function(f,b){return d(f,b,s.selectUnion)},intersect:function(f,b){return d(f,b,s.selectIntersect)},difference:function(f,b){return d(f,b,s.selectDifference)},differenceRev:function(f,b){return d(f,b,s.selectDifferenceRev)},xor:function(f,b){return d(f,b,s.selectXor)}};function d(f,b,x){var y=s.segments(f),C=s.segments(b),w=s.combine(y,C),R=x(w);return s.polygon(R)}typeof window=="object"&&(window.PolyBool=s),u.exports=s},7688:function(u){function h(){var a,l=0,v=!1;function i(S,g){return a.list.push({type:S,data:g?JSON.parse(JSON.stringify(g)):void 0}),a}return a={list:[],segmentId:function(){return l++},checkIntersection:function(S,g){return i("check",{seg1:S,seg2:g})},segmentChop:function(S,g){return i("div_seg",{seg:S,pt:g}),i("chop",{seg:S,pt:g})},statusRemove:function(S){return i("pop_seg",{seg:S})},segmentUpdate:function(S){return i("seg_update",{seg:S})},segmentNew:function(S,g){return i("new_seg",{seg:S,primary:g})},segmentRemove:function(S){return i("rem_seg",{seg:S})},tempStatus:function(S,g,p){return i("temp_status",{seg:S,above:g,below:p})},rewind:function(S){return i("rewind",{seg:S})},status:function(S,g,p){return i("status",{seg:S,above:g,below:p})},vert:function(S){return S===v?a:(v=S,i("vert",{x:S}))},log:function(S){return typeof S!="string"&&(S=JSON.stringify(S,!1," ")),i("log",{txt:S})},reset:function(){return i("reset")},selected:function(S){return i("selected",{segs:S})},chainStart:function(S){return i("chain_start",{seg:S})},chainRemoveHead:function(S,g){return i("chain_rem_head",{index:S,pt:g})},chainRemoveTail:function(S,g){return i("chain_rem_tail",{index:S,pt:g})},chainNew:function(S,g){return i("chain_new",{pt1:S,pt2:g})},chainMatch:function(S){return i("chain_match",{index:S})},chainClose:function(S){return i("chain_close",{index:S})},chainAddHead:function(S,g){return i("chain_add_head",{index:S,pt:g})},chainAddTail:function(S,g){return i("chain_add_tail",{index:S,pt:g})},chainConnect:function(S,g){return i("chain_con",{index1:S,index2:g})},chainReverse:function(S){return i("chain_rev",{index:S})},chainJoin:function(S,g){return i("chain_join",{index1:S,index2:g})},done:function(){return i("done")}},a}u.exports=h},28648:function(u){function h(a){typeof a!="number"&&(a=1e-10);var l={epsilon:function(v){return typeof v=="number"&&(a=v),a},pointAboveOrOnLine:function(v,i,S){var g=i[0],p=i[1],_=S[0],c=S[1],s=v[0],d=v[1];return(_-g)*(d-p)-(c-p)*(s-g)>=-a},pointBetween:function(v,i,S){var g=v[1]-i[1],p=S[0]-i[0],_=v[0]-i[0],c=S[1]-i[1],s=_*p+g*c;if(s<a)return!1;var d=p*p+c*c;return!(s-d>-a)},pointsSameX:function(v,i){return Math.abs(v[0]-i[0])<a},pointsSameY:function(v,i){return Math.abs(v[1]-i[1])<a},pointsSame:function(v,i){return l.pointsSameX(v,i)&&l.pointsSameY(v,i)},pointsCompare:function(v,i){return l.pointsSameX(v,i)?l.pointsSameY(v,i)?0:v[1]<i[1]?-1:1:v[0]<i[0]?-1:1},pointsCollinear:function(v,i,S){var g=v[0]-i[0],p=v[1]-i[1],_=i[0]-S[0],c=i[1]-S[1];return Math.abs(g*c-_*p)<a},linesIntersect:function(v,i,S,g){var p=i[0]-v[0],_=i[1]-v[1],c=g[0]-S[0],s=g[1]-S[1],d=p*s-_*c;if(Math.abs(d)<a)return!1;var f=v[0]-S[0],b=v[1]-S[1],x=(c*b-s*f)/d,y=(p*b-_*f)/d,C={alongA:0,alongB:0,pt:[v[0]+x*p,v[1]+x*_]};return x<=-a?C.alongA=-2:x<a?C.alongA=-1:x-1<=-a?C.alongA=0:x-1<a?C.alongA=1:C.alongA=2,y<=-a?C.alongB=-2:y<a?C.alongB=-1:y-1<=-a?C.alongB=0:y-1<a?C.alongB=1:C.alongB=2,C},pointInsideRegion:function(v,i){for(var S=v[0],g=v[1],p=i[i.length-1][0],_=i[i.length-1][1],c=!1,s=0;s<i.length;s++){var d=i[s][0],f=i[s][1];f-g>a!=_-g>a&&(p-d)*(g-f)/(_-f)+d-S>a&&(c=!c),p=d,_=f}return c}};return l}u.exports=h},17792:function(u){var h={toPolygon:function(a,l){function v(g){if(g.length<=0)return a.segments({inverted:!1,regions:[]});function p(s){var d=s.slice(0,s.length-1);return a.segments({inverted:!1,regions:[d]})}for(var _=p(g[0]),c=1;c<g.length;c++)_=a.selectDifference(a.combine(_,p(g[c])));return _}if(l.type==="Polygon")return a.polygon(v(l.coordinates));if(l.type==="MultiPolygon"){for(var i=a.segments({inverted:!1,regions:[]}),S=0;S<l.coordinates.length;S++)i=a.selectUnion(a.combine(i,v(l.coordinates[S])));return a.polygon(i)}throw new Error("PolyBool: Cannot convert GeoJSON object to PolyBool polygon")},fromPolygon:function(a,l,v){v=a.polygon(a.segments(v));function i(x,y){return l.pointInsideRegion([(x[0][0]+x[1][0])*.5,(x[0][1]+x[1][1])*.5],y)}function S(x){return{region:x,children:[]}}var g=S(null);function p(x,y){for(var C=0;C<x.children.length;C++){var w=x.children[C];if(i(y,w.region)){p(w,y);return}}for(var R=S(y),C=0;C<x.children.length;C++){var w=x.children[C];i(w.region,y)&&(R.children.push(w),x.children.splice(C,1),C--)}x.children.push(R)}for(var _=0;_<v.regions.length;_++){var c=v.regions[_];c.length<3||p(g,c)}function s(x,y){for(var C=0,w=x[x.length-1][0],R=x[x.length-1][1],A=[],E=0;E<x.length;E++){var k=x[E][0],L=x[E][1];A.push([k,L]),C+=L*w-k*R,w=k,R=L}var I=C<0;return I!==y&&A.reverse(),A.push([A[0][0],A[0][1]]),A}var d=[];function f(x){var y=[s(x.region,!1)];d.push(y);for(var C=0;C<x.children.length;C++)y.push(b(x.children[C]))}function b(x){for(var y=0;y<x.children.length;y++)f(x.children[y]);return s(x.region,!0)}for(var _=0;_<g.children.length;_++)f(g.children[_]);return d.length<=0?{type:"Polygon",coordinates:[]}:d.length==1?{type:"Polygon",coordinates:d[0]}:{type:"MultiPolygon",coordinates:d}}};u.exports=h},72200:function(u,h,a){var l=a(48088);function v(i,S,g){function p(R,A){return{id:g?g.segmentId():-1,start:R,end:A,myFill:{above:null,below:null},otherFill:null}}function _(R,A,E){return{id:g?g.segmentId():-1,start:R,end:A,myFill:{above:E.myFill.above,below:E.myFill.below},otherFill:null}}var c=l.create();function s(R,A,E,k,L,I){var P=S.pointsCompare(A,L);return P!==0?P:S.pointsSame(E,I)?0:R!==k?R?1:-1:S.pointAboveOrOnLine(E,k?L:I,k?I:L)?1:-1}function d(R,A){c.insertBefore(R,function(E){var k=s(R.isStart,R.pt,A,E.isStart,E.pt,E.other.pt);return k<0})}function f(R,A){var E=l.node({isStart:!0,pt:R.start,seg:R,primary:A,other:null,status:null});return d(E,R.end),E}function b(R,A,E){var k=l.node({isStart:!1,pt:A.end,seg:A,primary:E,other:R,status:null});R.other=k,d(k,R.pt)}function x(R,A){var E=f(R,A);return b(E,R,A),E}function y(R,A){g&&g.segmentChop(R.seg,A),R.other.remove(),R.seg.end=A,R.other.pt=A,d(R.other,R.pt)}function C(R,A){var E=_(A,R.seg.end,R.seg);return y(R,A),x(E,R.primary)}function w(R,A){var E=l.create();function k(z,V){var j=z.seg.start,G=z.seg.end,W=V.seg.start,X=V.seg.end;return S.pointsCollinear(j,W,X)?S.pointsCollinear(G,W,X)||S.pointAboveOrOnLine(G,W,X)?1:-1:S.pointAboveOrOnLine(j,W,X)?1:-1}function L(z){return E.findTransition(function(V){var j=k(z,V.ev);return j>0})}function I(z,V){var j=z.seg,G=V.seg,W=j.start,X=j.end,Q=G.start,ae=G.end;g&&g.checkIntersection(j,G);var ie=S.linesIntersect(W,X,Q,ae);if(ie===!1){if(!S.pointsCollinear(W,X,Q)||S.pointsSame(W,ae)||S.pointsSame(X,Q))return!1;var he=S.pointsSame(W,Q),J=S.pointsSame(X,ae);if(he&&J)return V;var Z=!he&&S.pointBetween(W,Q,ae),le=!J&&S.pointBetween(X,Q,ae);if(he)return le?C(V,X):C(z,ae),V;Z&&(J||(le?C(V,X):C(z,ae)),C(V,W))}else ie.alongA===0&&(ie.alongB===-1?C(z,Q):ie.alongB===0?C(z,ie.pt):ie.alongB===1&&C(z,ae)),ie.alongB===0&&(ie.alongA===-1?C(V,W):ie.alongA===0?C(V,ie.pt):ie.alongA===1&&C(V,X));return!1}for(var P=[];!c.isEmpty();){var M=c.getHead();if(g&&g.vert(M.pt[0]),M.isStart){let z=function(){if(N){var V=I(M,N);if(V)return V}return T?I(M,T):!1};g&&g.segmentNew(M.seg,M.primary);var F=L(M),N=F.before?F.before.ev:null,T=F.after?F.after.ev:null;g&&g.tempStatus(M.seg,N?N.seg:!1,T?T.seg:!1);var D=z();if(D){if(i){var O;M.seg.myFill.below===null?O=!0:O=M.seg.myFill.above!==M.seg.myFill.below,O&&(D.seg.myFill.above=!D.seg.myFill.above)}else D.seg.otherFill=M.seg.myFill;g&&g.segmentUpdate(D.seg),M.other.remove(),M.remove()}if(c.getHead()!==M){g&&g.rewind(M.seg);continue}if(i){var O;M.seg.myFill.below===null?O=!0:O=M.seg.myFill.above!==M.seg.myFill.below,T?M.seg.myFill.below=T.seg.myFill.above:M.seg.myFill.below=R,O?M.seg.myFill.above=!M.seg.myFill.below:M.seg.myFill.above=M.seg.myFill.below}else if(M.seg.otherFill===null){var U;T?M.primary===T.primary?U=T.seg.otherFill.above:U=T.seg.myFill.above:U=M.primary?A:R,M.seg.otherFill={above:U,below:U}}g&&g.status(M.seg,N?N.seg:!1,T?T.seg:!1),M.other.status=F.insert(l.node({ev:M}))}else{var B=M.status;if(B===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(E.exists(B.prev)&&E.exists(B.next)&&I(B.prev.ev,B.next.ev),g&&g.statusRemove(B.ev.seg),B.remove(),!M.primary){var Y=M.seg.myFill;M.seg.myFill=M.seg.otherFill,M.seg.otherFill=Y}P.push(M.seg)}c.getHead().remove()}return g&&g.done(),P}return i?{addRegion:function(R){for(var A,E=R[R.length-1],k=0;k<R.length;k++){A=E,E=R[k];var L=S.pointsCompare(A,E);L!==0&&x(p(L<0?A:E,L<0?E:A),!0)}},calculate:function(R){return w(R,!1)}}:{calculate:function(R,A,E,k){return R.forEach(function(L){x(_(L.start,L.end,L),!0)}),E.forEach(function(L){x(_(L.start,L.end,L),!1)}),w(A,k)}}}u.exports=v},48088:function(u){var h={create:function(){var a={root:{root:!0,next:null},exists:function(l){return!(l===null||l===a.root)},isEmpty:function(){return a.root.next===null},getHead:function(){return a.root.next},insertBefore:function(l,v){for(var i=a.root,S=a.root.next;S!==null;){if(v(S)){l.prev=S.prev,l.next=S,S.prev.next=l,S.prev=l;return}i=S,S=S.next}i.next=l,l.prev=i,l.next=null},findTransition:function(l){for(var v=a.root,i=a.root.next;i!==null&&!l(i);)v=i,i=i.next;return{before:v===a.root?null:v,after:i,insert:function(S){return S.prev=v,S.next=i,v.next=S,i!==null&&(i.prev=S),S}}}};return a},node:function(a){return a.prev=null,a.next=null,a.remove=function(){a.prev.next=a.next,a.next&&(a.next.prev=a.prev),a.prev=null,a.next=null},a}};u.exports=h},11403:function(u){function h(a,l,v){var i=[],S=[];return a.forEach(function(g){var p=g.start,_=g.end;if(l.pointsSame(p,_)){console.warn("PolyBool: Warning: Zero-length segment detected; your epsilon is probably too small or too large");return}v&&v.chainStart(g);var c={index:0,matches_head:!1,matches_pt1:!1},s={index:0,matches_head:!1,matches_pt1:!1},d=c;function f(D,O,U){return d.index=D,d.matches_head=O,d.matches_pt1=U,d===c?(d=s,!1):(d=null,!0)}for(var b=0;b<i.length;b++){var x=i[b],y=x[0];x[1];var C=x[x.length-1];if(x[x.length-2],l.pointsSame(y,p)){if(f(b,!0,!0))break}else if(l.pointsSame(y,_)){if(f(b,!0,!1))break}else if(l.pointsSame(C,p)){if(f(b,!1,!0))break}else if(l.pointsSame(C,_)&&f(b,!1,!1))break}if(d===c){i.push([p,_]),v&&v.chainNew(p,_);return}if(d===s){v&&v.chainMatch(c.index);var w=c.index,R=c.matches_pt1?_:p,A=c.matches_head,x=i[w],E=A?x[0]:x[x.length-1],k=A?x[1]:x[x.length-2],L=A?x[x.length-1]:x[0],I=A?x[x.length-2]:x[1];if(l.pointsCollinear(k,E,R)&&(A?(v&&v.chainRemoveHead(c.index,R),x.shift()):(v&&v.chainRemoveTail(c.index,R),x.pop()),E=k),l.pointsSame(L,R)){i.splice(w,1),l.pointsCollinear(I,L,E)&&(A?(v&&v.chainRemoveTail(c.index,E),x.pop()):(v&&v.chainRemoveHead(c.index,E),x.shift())),v&&v.chainClose(c.index),S.push(x);return}A?(v&&v.chainAddHead(c.index,R),x.unshift(R)):(v&&v.chainAddTail(c.index,R),x.push(R));return}function P(D){v&&v.chainReverse(D),i[D].reverse()}function M(D,O){var U=i[D],B=i[O],Y=U[U.length-1],z=U[U.length-2],V=B[0],j=B[1];l.pointsCollinear(z,Y,V)&&(v&&v.chainRemoveTail(D,Y),U.pop(),Y=z),l.pointsCollinear(Y,V,j)&&(v&&v.chainRemoveHead(O,V),B.shift()),v&&v.chainJoin(D,O),i[D]=U.concat(B),i.splice(O,1)}var F=c.index,N=s.index;v&&v.chainConnect(F,N);var T=i[F].length<i[N].length;c.matches_head?s.matches_head?T?(P(F),M(F,N)):(P(N),M(N,F)):M(N,F):s.matches_head?M(F,N):T?(P(F),M(N,F)):(P(N),M(F,N))}),S}u.exports=h},82368:function(u){function h(l,v,i){var S=[];return l.forEach(function(g){var p=(g.myFill.above?8:0)+(g.myFill.below?4:0)+(g.otherFill&&g.otherFill.above?2:0)+(g.otherFill&&g.otherFill.below?1:0);v[p]!==0&&S.push({id:i?i.segmentId():-1,start:g.start,end:g.end,myFill:{above:v[p]===1,below:v[p]===2},otherFill:null})}),i&&i.selected(S),S}var a={union:function(l,v){return h(l,[0,2,1,0,2,2,0,0,1,0,1,0,0,0,0,0],v)},intersect:function(l,v){return h(l,[0,0,0,0,0,2,0,2,0,0,1,1,0,2,1,0],v)},difference:function(l,v){return h(l,[0,0,0,0,2,0,2,0,1,1,0,0,0,1,2,0],v)},differenceRev:function(l,v){return h(l,[0,2,1,0,0,0,1,1,0,2,0,2,0,0,0,0],v)},xor:function(l,v){return h(l,[0,2,1,0,2,0,0,1,1,0,0,2,0,1,2,0],v)}};u.exports=a},9696:function(u,h,a){var l=a(29936).Transform,v=a(55619);function i(){l.call(this,{readableObjectMode:!0})}i.prototype=Object.create(l.prototype),i.prototype.constructor=i,v(i.prototype),h.gS=function(g,p,_){for(var c=p,s=0;s<_.length;)if(g[c++]!==_[s++])return!1;return!0},h.wR=function(g,p){var _=[],c=0;if(p&&p==="hex")for(;c<g.length;)_.push(parseInt(g.slice(c,c+2),16)),c+=2;else for(;c<g.length;c++)_.push(g.charCodeAt(c)&255);return _},h.Bz=function(g,p){return g[p]|g[p+1]<<8},h.eW=function(g,p){return g[p+1]|g[p]<<8},h.st=function(g,p){return g[p]|g[p+1]<<8|g[p+2]<<16|g[p+3]*16777216},h.eI=function(g,p){return g[p+3]|g[p+2]<<8|g[p+1]<<16|g[p]*16777216};function S(g,p,_){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||"",this.name=this.constructor.name,this.message=g,p&&(this.code=p),_&&(this.statusCode=_)}S.prototype=Object.create(Error.prototype),S.prototype.constructor=S},11688:function(u){function h(v,i){var S=new Error(v);return S.code=i,S}function a(v){try{return decodeURIComponent(escape(v))}catch{return v}}function l(v,i,S){this.input=v.subarray(i,S),this.start=i;var g=String.fromCharCode.apply(null,this.input.subarray(0,4));if(g!=="II*\0"&&g!=="MM\0*")throw h("invalid TIFF signature","EBADDATA");this.big_endian=g[0]==="M"}l.prototype.each=function(v){this.aborted=!1;var i=this.read_uint32(4);for(this.ifds_to_read=[{id:0,offset:i}];this.ifds_to_read.length>0&&!this.aborted;){var S=this.ifds_to_read.shift();S.offset&&this.scan_ifd(S.id,S.offset,v)}},l.prototype.read_uint16=function(v){var i=this.input;if(v+2>i.length)throw h("unexpected EOF","EBADDATA");return this.big_endian?i[v]*256+i[v+1]:i[v]+i[v+1]*256},l.prototype.read_uint32=function(v){var i=this.input;if(v+4>i.length)throw h("unexpected EOF","EBADDATA");return this.big_endian?i[v]*16777216+i[v+1]*65536+i[v+2]*256+i[v+3]:i[v]+i[v+1]*256+i[v+2]*65536+i[v+3]*16777216},l.prototype.is_subifd_link=function(v,i){return v===0&&i===34665||v===0&&i===34853||v===34665&&i===40965},l.prototype.exif_format_length=function(v){switch(v){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},l.prototype.exif_format_read=function(v,i){var S;switch(v){case 1:case 2:return S=this.input[i],S;case 6:return S=this.input[i],S|(S&128)*33554430;case 3:return S=this.read_uint16(i),S;case 8:return S=this.read_uint16(i),S|(S&32768)*131070;case 4:return S=this.read_uint32(i),S;case 9:return S=this.read_uint32(i),S|0;case 5:case 10:case 11:case 12:return null;case 7:return null;default:return null}},l.prototype.scan_ifd=function(v,i,S){var g=this.read_uint16(i);i+=2;for(var p=0;p<g;p++){var _=this.read_uint16(i),c=this.read_uint16(i+2),s=this.read_uint32(i+4),d=this.exif_format_length(c),f=s*d,b=f<=4?i+8:this.read_uint32(i+8),x=!1;if(b+f>this.input.length)throw h("unexpected EOF","EBADDATA");for(var y=[],C=b,w=0;w<s;w++,C+=d){var R=this.exif_format_read(c,C);if(R===null){y=null;break}y.push(R)}Array.isArray(y)&&c===2&&(y=a(String.fromCharCode.apply(null,y)),y&&y[y.length-1]==="\0"&&(y=y.slice(0,-1))),this.is_subifd_link(v,_)&&Array.isArray(y)&&Number.isInteger(y[0])&&y[0]>0&&(this.ifds_to_read.push({id:_,offset:y[0]}),x=!0);var A={is_big_endian:this.big_endian,ifd:v,tag:_,format:c,count:s,entry_offset:i+this.start,data_length:f,data_offset:b+this.start,value:y,is_subifd_link:x};if(S(A)===!1){this.aborted=!0;return}i+=12}v===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(i)})},u.exports.ExifParser=l,u.exports.get_orientation=function(v){var i=0;try{return new l(v,0,v.length).each(function(S){if(S.ifd===0&&S.tag===274&&Array.isArray(S.value))return i=S.value[0],!1}),i}catch{return-1}}},44600:function(u,h,a){var l=a(9696).eW,v=a(9696).eI;function i(f,b){if(f.length<4+b)return null;var x=v(f,b);return f.length<x+b||x<8?null:{boxtype:String.fromCharCode.apply(null,f.slice(b+4,b+8)),data:f.slice(b+8,b+x),end:b+x}}u.exports.unbox=i;function S(f,b){for(var x=0;;){var y=i(f,x);if(!y)break;switch(y.boxtype){case"ispe":b.sizes.push({width:v(y.data,4),height:v(y.data,8)});break;case"irot":b.transforms.push({type:"irot",value:y.data[0]&3});break;case"imir":b.transforms.push({type:"imir",value:y.data[0]&1});break}x=y.end}}function g(f,b,x){for(var y=0,C=0;C<x;C++)y=y*256+(f[b+C]||0);return y}function p(f,b){for(var x=f[4]>>4&15,y=f[4]&15,C=f[5]>>4&15,w=l(f,6),R=8,A=0;A<w;A++){var E=l(f,R);R+=2;var k=l(f,R);R+=2;var L=g(f,R,C);R+=C;var I=l(f,R);if(R+=2,k===0&&I===1){var P=g(f,R,x),M=g(f,R+x,y);b.item_loc[E]={length:M,offset:P+L}}R+=I*(x+y)}}function _(f,b){for(var x=l(f,4),y=6,C=0;C<x;C++){var w=i(f,y);if(!w)break;if(w.boxtype==="infe"){for(var R=l(w.data,4),A="",E=8;E<w.data.length&&w.data[E];E++)A+=String.fromCharCode(w.data[E]);b.item_inf[A]=R}y=w.end}}function c(f,b){for(var x=0;;){var y=i(f,x);if(!y)break;y.boxtype==="ipco"&&S(y.data,b),x=y.end}}function s(f,b){for(var x=4;;){var y=i(f,x);if(!y)break;y.boxtype==="iprp"&&c(y.data,b),y.boxtype==="iloc"&&p(y.data,b),y.boxtype==="iinf"&&_(y.data,b),x=y.end}}function d(f){var b=f.reduce(function(C,w){return C.width>w.width||C.width===w.width&&C.height>w.height?C:w}),x=f.reduce(function(C,w){return C.height>w.height||C.height===w.height&&C.width>w.width?C:w}),y;return b.width>x.height||b.width===x.height&&b.height>x.width?y=b:y=x,y}u.exports.readSizeFromMeta=function(f){var b={sizes:[],transforms:[],item_inf:{},item_loc:{}};if(s(f,b),!!b.sizes.length){var x=d(b.sizes),y=1;b.transforms.forEach(function(w){var R={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},A={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(w.type==="imir"&&(w.value===0?y=A[y]:(y=A[y],y=R[y],y=R[y])),w.type==="irot")for(var E=0;E<w.value;E++)y=R[y]});var C=null;return b.item_inf.Exif&&(C=b.item_loc[b.item_inf.Exif]),{width:x.width,height:x.height,orientation:b.transforms.length?y:null,variants:b.sizes,exif_location:C}}},u.exports.getMimeType=function(f){var b=String.fromCharCode.apply(null,f.slice(0,4)),x={};x[b]=!0;for(var y=8;y<f.length;y+=4)x[String.fromCharCode.apply(null,f.slice(y,y+4))]=!0;if(!(!x.mif1&&!x.msf1&&!x.miaf))return b==="avif"||b==="avis"||b==="avio"?{type:"avif",mime:"image/avif"}:b==="heic"||b==="heix"?{type:"heic",mime:"image/heic"}:b==="hevc"||b==="hevx"?{type:"heic",mime:"image/heic-sequence"}:x.avif||x.avis?{type:"avif",mime:"image/avif"}:x.heic||x.heix||x.hevc||x.hevx||x.heis?x.msf1?{type:"heif",mime:"image/heif-sequence"}:{type:"heif",mime:"image/heif"}:{type:"avif",mime:"image/avif"}}},40528:function(u,h,a){var l=a(9696).wR,v=a(9696).gS,i=a(9696).eI,S=a(44600),g=a(11688),p=l("ftyp");u.exports=function(_){if(v(_,4,p)){var c=S.unbox(_,0);if(c){var s=S.getMimeType(c.data);if(s){for(var d,f=c.end;;){var b=S.unbox(_,f);if(!b)break;if(f=b.end,b.boxtype==="mdat")return;if(b.boxtype==="meta"){d=b.data;break}}if(d){var x=S.readSizeFromMeta(d);if(x){var y={width:x.width,height:x.height,type:s.type,mime:s.mime,wUnits:"px",hUnits:"px"};if(x.variants.length>1&&(y.variants=x.variants),x.orientation&&(y.orientation=x.orientation),x.exif_location&&x.exif_location.offset+x.exif_location.length<=_.length){var C=i(_,x.exif_location.offset),w=_.slice(x.exif_location.offset+C+4,x.exif_location.offset+x.exif_location.length),R=g.get_orientation(w);R>0&&(y.orientation=R)}return y}}}}}}},38728:function(u,h,a){var l=a(9696).wR,v=a(9696).gS,i=a(9696).Bz,S=l("BM");u.exports=function(g){if(!(g.length<26)&&v(g,0,S))return{width:i(g,18),height:i(g,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},5588:function(u,h,a){var l=a(9696).wR,v=a(9696).gS,i=a(9696).Bz,S=l("GIF87a"),g=l("GIF89a");u.exports=function(p){if(!(p.length<10)&&!(!v(p,0,S)&&!v(p,0,g)))return{width:i(p,6),height:i(p,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},41924:function(u,h,a){var l=a(9696).Bz,v=0,i=1,S=16;u.exports=function(g){var p=l(g,0),_=l(g,2),c=l(g,4);if(!(p!==v||_!==i||!c)){for(var s=[],d={width:0,height:0},f=0;f<c;f++){var b=g[6+S*f]||256,x=g[6+S*f+1]||256,y={width:b,height:x};s.push(y),(b>d.width||x>d.height)&&(d=y)}return{width:d.width,height:d.height,variants:s,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},87968:function(u,h,a){var l=a(9696).eW,v=a(9696).wR,i=a(9696).gS,S=a(11688),g=v("Exif\0\0");u.exports=function(p){if(!(p.length<2)&&!(p[0]!==255||p[1]!==216||p[2]!==255))for(var _=2;;){for(;;){if(p.length-_<2)return;if(p[_++]===255)break}for(var c=p[_++],s;c===255;)c=p[_++];if(208<=c&&c<=217||c===1)s=0;else if(192<=c&&c<=254){if(p.length-_<2)return;s=l(p,_)-2,_+=2}else return;if(c===217||c===218)return;var d;if(c===225&&s>=10&&i(p,_,g)&&(d=S.get_orientation(p.slice(_+6,_+s))),s>=5&&192<=c&&c<=207&&c!==196&&c!==200&&c!==204){if(p.length-_<s)return;var f={width:l(p,_+3),height:l(p,_+1),type:"jpg",mime:"image/jpeg",wUnits:"px",hUnits:"px"};return d>0&&(f.orientation=d),f}_+=s}}},37276:function(u,h,a){var l=a(9696).wR,v=a(9696).gS,i=a(9696).eI,S=l(`‰PNG\r

`),g=l("IHDR");u.exports=function(p){if(!(p.length<24)&&v(p,0,S)&&v(p,12,g))return{width:i(p,16),height:i(p,20),type:"png",mime:"image/png",wUnits:"px",hUnits:"px"}}},90328:function(u,h,a){var l=a(9696).wR,v=a(9696).gS,i=a(9696).eI,S=l("8BPS\0");u.exports=function(g){if(!(g.length<22)&&v(g,0,S))return{width:i(g,18),height:i(g,14),type:"psd",mime:"image/vnd.adobe.photoshop",wUnits:"px",hUnits:"px"}}},16024:function(u){function h(d){return d===32||d===9||d===13||d===10}function a(d){return typeof d=="number"&&isFinite(d)&&d>0}function l(d){var f=0,b=d.length;for(d[0]===239&&d[1]===187&&d[2]===191&&(f=3);f<b&&h(d[f]);)f++;return f===b?!1:d[f]===60}var v=/<[-_.:a-zA-Z0-9][^>]*>/,i=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,S=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,g=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,p=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,_=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function c(d){var f=d.match(S),b=d.match(g),x=d.match(p);return{width:f&&(f[1]||f[2]),height:b&&(b[1]||b[2]),viewbox:x&&(x[1]||x[2])}}function s(d){return _.test(d)?d.match(_)[0]:"px"}u.exports=function(d){if(l(d)){for(var f="",b=0;b<d.length;b++)f+=String.fromCharCode(d[b]);var x=(f.match(v)||[""])[0];if(i.test(x)){var y=c(x),C=parseFloat(y.width),w=parseFloat(y.height);if(y.width&&y.height)return!a(C)||!a(w)?void 0:{width:C,height:w,type:"svg",mime:"image/svg+xml",wUnits:s(y.width),hUnits:s(y.height)};var R=(y.viewbox||"").split(" "),A={width:R[2],height:R[3]},E=parseFloat(A.width),k=parseFloat(A.height);if(!(!a(E)||!a(k))&&s(A.width)===s(A.height)){var L=E/k;return y.width?a(C)?{width:C,height:C/L,type:"svg",mime:"image/svg+xml",wUnits:s(y.width),hUnits:s(y.width)}:void 0:y.height?a(w)?{width:w*L,height:w,type:"svg",mime:"image/svg+xml",wUnits:s(y.height),hUnits:s(y.height)}:void 0:{width:E,height:k,type:"svg",mime:"image/svg+xml",wUnits:s(A.width),hUnits:s(A.height)}}}}}},98792:function(u,h,a){var l=a(9696).wR,v=a(9696).gS,i=a(9696).Bz,S=a(9696).eW,g=a(9696).st,p=a(9696).eI,_=l("II*\0"),c=l("MM\0*");function s(b,x,y){return y?S(b,x):i(b,x)}function d(b,x,y){return y?p(b,x):g(b,x)}function f(b,x,y){var C=s(b,x+2,y),w=d(b,x+4,y);return w!==1||C!==3&&C!==4?null:C===3?s(b,x+8,y):d(b,x+8,y)}u.exports=function(b){if(!(b.length<8)&&!(!v(b,0,_)&&!v(b,0,c))){var x=b[0]===77,y=d(b,4,x)-8;if(!(y<0)){var C=y+8;if(!(b.length-C<2)){var w=s(b,C+0,x)*12;if(!(w<=0)&&(C+=2,!(b.length-C<w))){var R,A,E,k;for(R=0;R<w;R+=12)k=s(b,C+R,x),k===256?A=f(b,C+R,x):k===257&&(E=f(b,C+R,x));if(A&&E)return{width:A,height:E,type:"tiff",mime:"image/tiff",wUnits:"px",hUnits:"px"}}}}}}},20704:function(u,h,a){var l=a(9696).wR,v=a(9696).gS,i=a(9696).Bz,S=a(9696).st,g=a(11688),p=l("RIFF"),_=l("WEBP");function c(f,b){if(!(f[b+3]!==157||f[b+4]!==1||f[b+5]!==42))return{width:i(f,b+6)&16383,height:i(f,b+8)&16383,type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}function s(f,b){if(f[b]===47){var x=S(f,b+1);return{width:(x&16383)+1,height:(x>>14&16383)+1,type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function d(f,b){return{width:(f[b+6]<<16|f[b+5]<<8|f[b+4])+1,height:(f[b+9]<<b|f[b+8]<<8|f[b+7])+1,type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}u.exports=function(f){if(!(f.length<16)&&!(!v(f,0,p)&&!v(f,8,_))){var b=12,x=null,y=0,C=S(f,4)+8;if(!(C>f.length)){for(;b+8<C;){if(f[b]===0){b++;continue}var w=String.fromCharCode.apply(null,f.slice(b,b+4)),R=S(f,b+4);w==="VP8 "&&R>=10?x=x||c(f,b+8):w==="VP8L"&&R>=9?x=x||s(f,b+8):w==="VP8X"&&R>=10?x=x||d(f,b+8):w==="EXIF"&&(y=g.get_orientation(f.slice(b+8,b+8+R)),b=1/0),b+=8+R}if(x)return y>0&&(x.orientation=y),x}}}},87480:function(u,h,a){u.exports={avif:a(40528),bmp:a(38728),gif:a(5588),ico:a(41924),jpeg:a(87968),png:a(37276),psd:a(90328),svg:a(16024),tiff:a(98792),webp:a(20704)}},19480:function(u,h,a){var l=a(87480);function v(i){for(var S=Object.keys(l),g=0;g<S.length;g++){var p=l[S[g]](i);if(p)return p}return null}u.exports=function(S){return v(S)},u.exports.parsers=l},4168:function(u){var h=u.exports={},a,l;function v(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?a=setTimeout:a=v}catch{a=v}try{typeof clearTimeout=="function"?l=clearTimeout:l=i}catch{l=i}})();function S(y){if(a===setTimeout)return setTimeout(y,0);if((a===v||!a)&&setTimeout)return a=setTimeout,setTimeout(y,0);try{return a(y,0)}catch{try{return a.call(null,y,0)}catch{return a.call(this,y,0)}}}function g(y){if(l===clearTimeout)return clearTimeout(y);if((l===i||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(y);try{return l(y)}catch{try{return l.call(null,y)}catch{return l.call(this,y)}}}var p=[],_=!1,c,s=-1;function d(){!_||!c||(_=!1,c.length?p=c.concat(p):s=-1,p.length&&f())}function f(){if(!_){var y=S(d);_=!0;for(var C=p.length;C;){for(c=p,p=[];++s<C;)c&&c[s].run();s=-1,C=p.length}c=null,_=!1,g(y)}}h.nextTick=function(y){var C=new Array(arguments.length-1);if(arguments.length>1)for(var w=1;w<arguments.length;w++)C[w-1]=arguments[w];p.push(new b(y,C)),p.length===1&&!_&&S(f)};function b(y,C){this.fun=y,this.array=C}b.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={};function x(){}h.on=x,h.addListener=x,h.once=x,h.off=x,h.removeListener=x,h.removeAllListeners=x,h.emit=x,h.prependListener=x,h.prependOnceListener=x,h.listeners=function(y){return[]},h.binding=function(y){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(y){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},3951:function(u,h,a){for(var l=a(41984),v=typeof window>"u"?a.g:window,i=["moz","webkit"],S="AnimationFrame",g=v["request"+S],p=v["cancel"+S]||v["cancelRequest"+S],_=0;!g&&_<i.length;_++)g=v[i[_]+"Request"+S],p=v[i[_]+"Cancel"+S]||v[i[_]+"CancelRequest"+S];if(!g||!p){var c=0,s=0,d=[],f=1e3/60;g=function(b){if(d.length===0){var x=l(),y=Math.max(0,f-(x-c));c=y+x,setTimeout(function(){var C=d.slice(0);d.length=0;for(var w=0;w<C.length;w++)if(!C[w].cancelled)try{C[w].callback(c)}catch(R){setTimeout(function(){throw R},0)}},Math.round(y))}return d.push({handle:++s,callback:b,cancelled:!1}),s},p=function(b){for(var x=0;x<d.length;x++)d[x].handle===b&&(d[x].cancelled=!0)}}u.exports=function(b){return g.call(v,b)},u.exports.cancel=function(){p.apply(v,arguments)},u.exports.polyfill=function(b){b||(b=v),b.requestAnimationFrame=g,b.cancelAnimationFrame=p}},24544:function(u,h,a){var l=a(76752),v=a(72160),i=a(45223),S=a(55616),g=a(50896),p=a(47520),_=a(37816),c=_.float32,s=_.fract32;u.exports=f;var d=[[1,0,0,1,0,0],[1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,1,0,0],[1,0,0,1,0,0],[1,0,-1,0,0,1],[1,0,-1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,1],[1,0,-1,0,0,1],[-1,0,-1,0,0,1],[-1,0,-1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,1],[-1,0,-1,0,0,1],[0,1,1,0,0,0],[0,1,-1,0,0,0],[0,-1,-1,0,0,0],[0,-1,-1,0,0,0],[0,1,1,0,0,0],[0,-1,1,0,0,0],[0,1,0,-1,1,0],[0,1,0,-1,-1,0],[0,1,0,1,-1,0],[0,1,0,1,1,0],[0,1,0,-1,1,0],[0,1,0,1,-1,0],[0,-1,0,-1,1,0],[0,-1,0,-1,-1,0],[0,-1,0,1,-1,0],[0,-1,0,1,1,0],[0,-1,0,-1,1,0],[0,-1,0,1,-1,0]];function f(b,x){if(typeof b=="function"?(x||(x={}),x.regl=b):x=b,x.length&&(x.positions=x),b=x.regl,!b.hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");var y=b._gl,C,w,R,A,E,k,L={color:"black",capSize:5,lineWidth:1,opacity:1,viewport:null,range:null,offset:0,count:0,bounds:null,positions:[],errors:[]},I=[];return A=b.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array(0)}),w=b.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),R=b.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),E=b.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),k=b.buffer({usage:"static",type:"float",data:d}),N(x),C=b({vert:`
precision highp float;
attribute vec2 position, positionFract;
attribute vec4 error;
attribute vec4 color;
attribute vec2 direction, lineOffset, capOffset;
uniform vec4 viewport;
uniform float lineWidth, capSize;
uniform vec2 scale, scaleFract, translate, translateFract;
varying vec4 fragColor;
void main() {
fragColor = color / 255.;
vec2 pixelOffset = lineWidth * lineOffset + (capSize + lineWidth) * capOffset;
vec2 dxy = -step(.5, direction.xy) * error.xz + step(direction.xy, vec2(-.5)) * error.yw;
vec2 position = position + dxy;
vec2 pos = (position + translate) * scale
+ (positionFract + translateFract) * scale
+ (position + translate) * scaleFract
+ (positionFract + translateFract) * scaleFract;
pos += pixelOffset / viewport.zw;
gl_Position = vec4(pos * 2. - 1., 0, 1);
}
`,frag:`
precision highp float;
varying vec4 fragColor;
uniform float opacity;
void main() {
gl_FragColor = fragColor;
gl_FragColor.a *= opacity;
}
`,uniforms:{range:b.prop("range"),lineWidth:b.prop("lineWidth"),capSize:b.prop("capSize"),opacity:b.prop("opacity"),scale:b.prop("scale"),translate:b.prop("translate"),scaleFract:b.prop("scaleFract"),translateFract:b.prop("translateFract"),viewport:function(D,O){return[O.viewport.x,O.viewport.y,D.viewportWidth,D.viewportHeight]}},attributes:{color:{buffer:A,offset:function(D,O){return O.offset*4},divisor:1},position:{buffer:w,offset:function(D,O){return O.offset*8},divisor:1},positionFract:{buffer:R,offset:function(D,O){return O.offset*8},divisor:1},error:{buffer:E,offset:function(D,O){return O.offset*16},divisor:1},direction:{buffer:k,stride:24,offset:0},lineOffset:{buffer:k,stride:24,offset:8},capOffset:{buffer:k,stride:24,offset:16}},primitive:"triangles",blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:!1},scissor:{enable:!0,box:b.prop("viewport")},viewport:b.prop("viewport"),stencil:!1,instances:b.prop("count"),count:d.length}),g(P,{update:N,draw:M,destroy:T,regl:b,gl:y,canvas:y.canvas,groups:I}),P;function P(D){D?N(D):D===null&&T(),M()}function M(D){if(typeof D=="number")return F(D);D&&!Array.isArray(D)&&(D=[D]),b._refresh(),I.forEach(function(O,U){if(O){if(D&&(D[U]?O.draw=!0:O.draw=!1),!O.draw){O.draw=!0;return}F(U)}})}function F(D){typeof D=="number"&&(D=I[D]),D!=null&&D&&D.count&&D.color&&D.opacity&&D.positions&&D.positions.length>1&&(D.scaleRatio=[D.scale[0]*D.viewport.width,D.scale[1]*D.viewport.height],C(D),D.after&&D.after(D))}function N(D){if(D){D.length!=null?typeof D[0]=="number"&&(D=[{positions:D}]):Array.isArray(D)||(D=[D]);var O=0,U=0;if(P.groups=I=D.map(function(W,X){var Q=I[X];if(W)typeof W=="function"?W={after:W}:typeof W[0]=="number"&&(W={positions:W});else return Q;return W=S(W,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),Q||(I[X]=Q={id:X,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},W=g({},L,W)),i(Q,W,[{lineWidth:function(ae){return+ae*.5},capSize:function(ae){return+ae*.5},opacity:parseFloat,errors:function(ae){return ae=p(ae),U+=ae.length,ae},positions:function(ae,ie){return ae=p(ae,"float64"),ie.count=Math.floor(ae.length/2),ie.bounds=l(ae,2),ie.offset=O,O+=ie.count,ae}},{color:function(ae,ie){var he=ie.count;if(ae||(ae="transparent"),!Array.isArray(ae)||typeof ae[0]=="number"){var J=ae;ae=Array(he);for(var Z=0;Z<he;Z++)ae[Z]=J}if(ae.length<he)throw Error("Not enough colors");for(var le=new Uint8Array(he*4),K=0;K<he;K++){var te=v(ae[K],"uint8");le.set(te,K*4)}return le},range:function(ae,ie,he){var J=ie.bounds;return ae||(ae=J),ie.scale=[1/(ae[2]-ae[0]),1/(ae[3]-ae[1])],ie.translate=[-ae[0],-ae[1]],ie.scaleFract=s(ie.scale),ie.translateFract=s(ie.translate),ae},viewport:function(ae){var ie;return Array.isArray(ae)?ie={x:ae[0],y:ae[1],width:ae[2]-ae[0],height:ae[3]-ae[1]}:ae?(ie={x:ae.x||ae.left||0,y:ae.y||ae.top||0},ae.right?ie.width=ae.right-ie.x:ie.width=ae.w||ae.width||0,ae.bottom?ie.height=ae.bottom-ie.y:ie.height=ae.h||ae.height||0):ie={x:0,y:0,width:y.drawingBufferWidth,height:y.drawingBufferHeight},ie}}]),Q}),O||U){var B=I.reduce(function(W,X,Q){return W+(X?X.count:0)},0),Y=new Float64Array(B*2),z=new Uint8Array(B*4),V=new Float32Array(B*4);I.forEach(function(W,X){if(W){var Q=W.positions,ae=W.count,ie=W.offset,he=W.color,J=W.errors;ae&&(z.set(he,ie*4),V.set(J,ie*4),Y.set(Q,ie*2))}});var j=c(Y);w(j);var G=s(Y,j);R(G),A(z),E(V)}}}function T(){w.destroy(),R.destroy(),A.destroy(),E.destroy(),k.destroy()}}},13472:function(u,h,a){var l=a(72160),v=a(76752),i=a(50896),S=a(55616),g=a(47520),p=a(28912),_=a(71152),c=a(37816),s=c.float32,d=c.fract32,f=a(60463),b=a(51160),x=a(10272),y=`
precision highp float;
attribute vec2 aCoord, bCoord, aCoordFract, bCoordFract;
attribute vec4 color;
attribute float lineEnd, lineTop;
uniform vec2 scale, scaleFract, translate, translateFract;
uniform float thickness, pixelRatio, id, depth;
uniform vec4 viewport;
varying vec4 fragColor;
varying vec2 tangent;
vec2 project(vec2 position, vec2 positionFract, vec2 scale, vec2 scaleFract, vec2 translate, vec2 translateFract) {
// the order is important
return position * scale + translate
+ positionFract * scale + translateFract
+ position * scaleFract
+ positionFract * scaleFract;
}
void main() {
float lineStart = 1. - lineEnd;
float lineOffset = lineTop * 2. - 1.;
vec2 diff = (bCoord + bCoordFract - aCoord - aCoordFract);
tangent = normalize(diff * scale * viewport.zw);
vec2 normal = vec2(-tangent.y, tangent.x);
vec2 position = project(aCoord, aCoordFract, scale, scaleFract, translate, translateFract) * lineStart
+ project(bCoord, bCoordFract, scale, scaleFract, translate, translateFract) * lineEnd
+ thickness * normal * .5 * lineOffset / viewport.zw;
gl_Position = vec4(position * 2.0 - 1.0, depth, 1);
fragColor = color / 255.;
}
`,C=`
precision highp float;
uniform float dashLength, pixelRatio, thickness, opacity, id;
uniform sampler2D dashTexture;
varying vec4 fragColor;
varying vec2 tangent;
void main() {
float alpha = 1.;
float t = fract(dot(tangent, gl_FragCoord.xy) / dashLength) * .5 + .25;
float dash = texture2D(dashTexture, vec2(t, .5)).r;
gl_FragColor = fragColor;
gl_FragColor.a *= alpha * opacity * dash;
}
`,w=`
precision highp float;
attribute vec2 position, positionFract;
uniform vec4 color;
uniform vec2 scale, scaleFract, translate, translateFract;
uniform float pixelRatio, id;
uniform vec4 viewport;
uniform float opacity;
varying vec4 fragColor;
const float MAX_LINES = 256.;
void main() {
float depth = (MAX_LINES - 4. - id) / (MAX_LINES);
vec2 position = position * scale + translate
+ positionFract * scale + translateFract
+ position * scaleFract
+ positionFract * scaleFract;
gl_Position = vec4(position * 2.0 - 1.0, depth, 1);
fragColor = color / 255.;
fragColor.a *= opacity;
}
`,R=`
precision highp float;
varying vec4 fragColor;
void main() {
gl_FragColor = fragColor;
}
`,A=`
precision highp float;
attribute vec2 aCoord, bCoord, nextCoord, prevCoord;
attribute vec4 aColor, bColor;
attribute float lineEnd, lineTop;
uniform vec2 scale, translate;
uniform float thickness, pixelRatio, id, depth;
uniform vec4 viewport;
uniform float miterLimit, miterMode;
varying vec4 fragColor;
varying vec4 startCutoff, endCutoff;
varying vec2 tangent;
varying vec2 startCoord, endCoord;
varying float enableStartMiter, enableEndMiter;
const float REVERSE_THRESHOLD = -.875;
const float MIN_DIFF = 1e-6;
// TODO: possible optimizations: avoid overcalculating all for vertices and calc just one instead
// TODO: precalculate dot products, normalize things beforehead etc.
// TODO: refactor to rectangular algorithm
float distToLine(vec2 p, vec2 a, vec2 b) {
vec2 diff = b - a;
vec2 perp = normalize(vec2(-diff.y, diff.x));
return dot(p - a, perp);
}
bool isNaN( float val ){
return ( val < 0.0 || 0.0 < val || val == 0.0 ) ? false : true;
}
void main() {
vec2 aCoord = aCoord, bCoord = bCoord, prevCoord = prevCoord, nextCoord = nextCoord;
vec2 adjustedScale;
adjustedScale.x = (abs(scale.x) < MIN_DIFF) ? MIN_DIFF : scale.x;
adjustedScale.y = (abs(scale.y) < MIN_DIFF) ? MIN_DIFF : scale.y;
vec2 scaleRatio = adjustedScale * viewport.zw;
vec2 normalWidth = thickness / scaleRatio;
float lineStart = 1. - lineEnd;
float lineBot = 1. - lineTop;
fragColor = (lineStart * aColor + lineEnd * bColor) / 255.;
if (isNaN(aCoord.x) || isNaN(aCoord.y) || isNaN(bCoord.x) || isNaN(bCoord.y)) return;
if (aCoord == prevCoord) prevCoord = aCoord + normalize(bCoord - aCoord);
if (bCoord == nextCoord) nextCoord = bCoord - normalize(bCoord - aCoord);
vec2 prevDiff = aCoord - prevCoord;
vec2 currDiff = bCoord - aCoord;
vec2 nextDiff = nextCoord - bCoord;
vec2 prevTangent = normalize(prevDiff * scaleRatio);
vec2 currTangent = normalize(currDiff * scaleRatio);
vec2 nextTangent = normalize(nextDiff * scaleRatio);
vec2 prevNormal = vec2(-prevTangent.y, prevTangent.x);
vec2 currNormal = vec2(-currTangent.y, currTangent.x);
vec2 nextNormal = vec2(-nextTangent.y, nextTangent.x);
vec2 startJoinDirection = normalize(prevTangent - currTangent);
vec2 endJoinDirection = normalize(currTangent - nextTangent);
// collapsed/unidirectional segment cases
// FIXME: there should be more elegant solution
vec2 prevTanDiff = abs(prevTangent - currTangent);
vec2 nextTanDiff = abs(nextTangent - currTangent);
if (max(prevTanDiff.x, prevTanDiff.y) < MIN_DIFF) {
startJoinDirection = currNormal;
}
if (max(nextTanDiff.x, nextTanDiff.y) < MIN_DIFF) {
endJoinDirection = currNormal;
}
if (aCoord == bCoord) {
endJoinDirection = startJoinDirection;
currNormal = prevNormal;
currTangent = prevTangent;
}
tangent = currTangent;
//calculate join shifts relative to normals
float startJoinShift = dot(currNormal, startJoinDirection);
float endJoinShift = dot(currNormal, endJoinDirection);
float startMiterRatio = abs(1. / startJoinShift);
float endMiterRatio = abs(1. / endJoinShift);
vec2 startJoin = startJoinDirection * startMiterRatio;
vec2 endJoin = endJoinDirection * endMiterRatio;
vec2 startTopJoin, startBotJoin, endTopJoin, endBotJoin;
startTopJoin = sign(startJoinShift) * startJoin * .5;
startBotJoin = -startTopJoin;
endTopJoin = sign(endJoinShift) * endJoin * .5;
endBotJoin = -endTopJoin;
vec2 aTopCoord = aCoord + normalWidth * startTopJoin;
vec2 bTopCoord = bCoord + normalWidth * endTopJoin;
vec2 aBotCoord = aCoord + normalWidth * startBotJoin;
vec2 bBotCoord = bCoord + normalWidth * endBotJoin;
//miter anti-clipping
float baClipping = distToLine(bCoord, aCoord, aBotCoord) / dot(normalize(normalWidth * endBotJoin), normalize(normalWidth.yx * vec2(-startBotJoin.y, startBotJoin.x)));
float abClipping = distToLine(aCoord, bCoord, bTopCoord) / dot(normalize(normalWidth * startBotJoin), normalize(normalWidth.yx * vec2(-endBotJoin.y, endBotJoin.x)));
//prevent close to reverse direction switch
bool prevReverse = dot(currTangent, prevTangent) <= REVERSE_THRESHOLD && abs(dot(currTangent, prevNormal)) * min(length(prevDiff), length(currDiff)) < length(normalWidth * currNormal);
bool nextReverse = dot(currTangent, nextTangent) <= REVERSE_THRESHOLD && abs(dot(currTangent, nextNormal)) * min(length(nextDiff), length(currDiff)) < length(normalWidth * currNormal);
if (prevReverse) {
//make join rectangular
vec2 miterShift = normalWidth * startJoinDirection * miterLimit * .5;
float normalAdjust = 1. - min(miterLimit / startMiterRatio, 1.);
aBotCoord = aCoord + miterShift - normalAdjust * normalWidth * currNormal * .5;
aTopCoord = aCoord + miterShift + normalAdjust * normalWidth * currNormal * .5;
}
else if (!nextReverse && baClipping > 0. && baClipping < length(normalWidth * endBotJoin)) {
//handle miter clipping
bTopCoord -= normalWidth * endTopJoin;
bTopCoord += normalize(endTopJoin * normalWidth) * baClipping;
}
if (nextReverse) {
//make join rectangular
vec2 miterShift = normalWidth * endJoinDirection * miterLimit * .5;
float normalAdjust = 1. - min(miterLimit / endMiterRatio, 1.);
bBotCoord = bCoord + miterShift - normalAdjust * normalWidth * currNormal * .5;
bTopCoord = bCoord + miterShift + normalAdjust * normalWidth * currNormal * .5;
}
else if (!prevReverse && abClipping > 0. && abClipping < length(normalWidth * startBotJoin)) {
//handle miter clipping
aBotCoord -= normalWidth * startBotJoin;
aBotCoord += normalize(startBotJoin * normalWidth) * abClipping;
}
vec2 aTopPosition = (aTopCoord) * adjustedScale + translate;
vec2 aBotPosition = (aBotCoord) * adjustedScale + translate;
vec2 bTopPosition = (bTopCoord) * adjustedScale + translate;
vec2 bBotPosition = (bBotCoord) * adjustedScale + translate;
//position is normalized 0..1 coord on the screen
vec2 position = (aTopPosition * lineTop + aBotPosition * lineBot) * lineStart + (bTopPosition * lineTop + bBotPosition * lineBot) * lineEnd;
startCoord = aCoord * scaleRatio + translate * viewport.zw + viewport.xy;
endCoord = bCoord * scaleRatio + translate * viewport.zw + viewport.xy;
gl_Position = vec4(position * 2.0 - 1.0, depth, 1);
enableStartMiter = step(dot(currTangent, prevTangent), .5);
enableEndMiter = step(dot(currTangent, nextTangent), .5);
//bevel miter cutoffs
if (miterMode == 1.) {
if (enableStartMiter == 1.) {
vec2 startMiterWidth = vec2(startJoinDirection) * thickness * miterLimit * .5;
startCutoff = vec4(aCoord, aCoord);
startCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio;
startCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;
startCutoff += viewport.xyxy;
startCutoff += startMiterWidth.xyxy;
}
if (enableEndMiter == 1.) {
vec2 endMiterWidth = vec2(endJoinDirection) * thickness * miterLimit * .5;
endCutoff = vec4(bCoord, bCoord);
endCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio;
endCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;
endCutoff += viewport.xyxy;
endCutoff += endMiterWidth.xyxy;
}
}
//round miter cutoffs
else if (miterMode == 2.) {
if (enableStartMiter == 1.) {
vec2 startMiterWidth = vec2(startJoinDirection) * thickness * abs(dot(startJoinDirection, currNormal)) * .5;
startCutoff = vec4(aCoord, aCoord);
startCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio;
startCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;
startCutoff += viewport.xyxy;
startCutoff += startMiterWidth.xyxy;
}
if (enableEndMiter == 1.) {
vec2 endMiterWidth = vec2(endJoinDirection) * thickness * abs(dot(endJoinDirection, currNormal)) * .5;
endCutoff = vec4(bCoord, bCoord);
endCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio;
endCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;
endCutoff += viewport.xyxy;
endCutoff += endMiterWidth.xyxy;
}
}
}
`,E=`
precision highp float;
uniform float dashLength, pixelRatio, thickness, opacity, id, miterMode;
uniform sampler2D dashTexture;
varying vec4 fragColor;
varying vec2 tangent;
varying vec4 startCutoff, endCutoff;
varying vec2 startCoord, endCoord;
varying float enableStartMiter, enableEndMiter;
float distToLine(vec2 p, vec2 a, vec2 b) {
vec2 diff = b - a;
vec2 perp = normalize(vec2(-diff.y, diff.x));
return dot(p - a, perp);
}
void main() {
float alpha = 1., distToStart, distToEnd;
float cutoff = thickness * .5;
//bevel miter
if (miterMode == 1.) {
if (enableStartMiter == 1.) {
distToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw);
if (distToStart < -1.) {
discard;
return;
}
alpha *= min(max(distToStart + 1., 0.), 1.);
}
if (enableEndMiter == 1.) {
distToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw);
if (distToEnd < -1.) {
discard;
return;
}
alpha *= min(max(distToEnd + 1., 0.), 1.);
}
}
// round miter
else if (miterMode == 2.) {
if (enableStartMiter == 1.) {
distToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw);
if (distToStart < 0.) {
float radius = length(gl_FragCoord.xy - startCoord);
if(radius > cutoff + .5) {
discard;
return;
}
alpha -= smoothstep(cutoff - .5, cutoff + .5, radius);
}
}
if (enableEndMiter == 1.) {
distToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw);
if (distToEnd < 0.) {
float radius = length(gl_FragCoord.xy - endCoord);
if(radius > cutoff + .5) {
discard;
return;
}
alpha -= smoothstep(cutoff - .5, cutoff + .5, radius);
}
}
}
float t = fract(dot(tangent, gl_FragCoord.xy) / dashLength) * .5 + .25;
float dash = texture2D(dashTexture, vec2(t, .5)).r;
gl_FragColor = fragColor;
gl_FragColor.a *= alpha * opacity * dash;
}
`;u.exports=k;function k(L,I){if(!(this instanceof k))return new k(L,I);if(typeof L=="function"?(I||(I={}),I.regl=L):I=L,I.length&&(I.positions=I),L=I.regl,!L.hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");this.gl=L._gl,this.regl=L,this.passes=[],this.shaders=k.shaders.has(L)?k.shaders.get(L):k.shaders.set(L,k.createShaders(L)).get(L),this.update(I)}k.dashMult=2,k.maxPatternLength=256,k.precisionThreshold=3e6,k.maxPoints=1e4,k.maxLines=2048,k.shaders=new f,k.createShaders=function(L){var I=L.buffer({usage:"static",type:"float",data:[0,1,0,0,1,1,1,0]}),P={primitive:"triangle strip",instances:L.prop("count"),count:4,offset:0,uniforms:{miterMode:function(T,D){return D.join==="round"?2:1},miterLimit:L.prop("miterLimit"),scale:L.prop("scale"),scaleFract:L.prop("scaleFract"),translateFract:L.prop("translateFract"),translate:L.prop("translate"),thickness:L.prop("thickness"),dashTexture:L.prop("dashTexture"),opacity:L.prop("opacity"),pixelRatio:L.context("pixelRatio"),id:L.prop("id"),dashLength:L.prop("dashLength"),viewport:function(T,D){return[D.viewport.x,D.viewport.y,T.viewportWidth,T.viewportHeight]},depth:L.prop("depth")},blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:function(T,D){return!D.overlay}},stencil:{enable:!1},scissor:{enable:!0,box:L.prop("viewport")},viewport:L.prop("viewport")},M=L(i({vert:y,frag:C,attributes:{lineEnd:{buffer:I,divisor:0,stride:8,offset:0},lineTop:{buffer:I,divisor:0,stride:8,offset:4},aCoord:{buffer:L.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:L.prop("positionBuffer"),stride:8,offset:16,divisor:1},aCoordFract:{buffer:L.prop("positionFractBuffer"),stride:8,offset:8,divisor:1},bCoordFract:{buffer:L.prop("positionFractBuffer"),stride:8,offset:16,divisor:1},color:{buffer:L.prop("colorBuffer"),stride:4,offset:0,divisor:1}}},P)),F;try{F=L(i({cull:{enable:!0,face:"back"},vert:A,frag:E,attributes:{lineEnd:{buffer:I,divisor:0,stride:8,offset:0},lineTop:{buffer:I,divisor:0,stride:8,offset:4},aColor:{buffer:L.prop("colorBuffer"),stride:4,offset:0,divisor:1},bColor:{buffer:L.prop("colorBuffer"),stride:4,offset:4,divisor:1},prevCoord:{buffer:L.prop("positionBuffer"),stride:8,offset:0,divisor:1},aCoord:{buffer:L.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:L.prop("positionBuffer"),stride:8,offset:16,divisor:1},nextCoord:{buffer:L.prop("positionBuffer"),stride:8,offset:24,divisor:1}}},P))}catch{F=M}var N=L({primitive:"triangle",elements:function(T,D){return D.triangles},offset:0,vert:w,frag:R,uniforms:{scale:L.prop("scale"),color:L.prop("fill"),scaleFract:L.prop("scaleFract"),translateFract:L.prop("translateFract"),translate:L.prop("translate"),opacity:L.prop("opacity"),pixelRatio:L.context("pixelRatio"),id:L.prop("id"),viewport:function(T,D){return[D.viewport.x,D.viewport.y,T.viewportWidth,T.viewportHeight]}},attributes:{position:{buffer:L.prop("positionBuffer"),stride:8,offset:8},positionFract:{buffer:L.prop("positionFractBuffer"),stride:8,offset:8}},blend:P.blend,depth:{enable:!1},scissor:P.scissor,stencil:P.stencil,viewport:P.viewport});return{fill:N,rect:M,miter:F}},k.defaults={dashes:null,join:"miter",miterLimit:1,thickness:10,cap:"square",color:"black",opacity:1,overlay:!1,viewport:null,range:null,close:!1,fill:null},k.prototype.render=function(){for(var L,I=[],P=arguments.length;P--;)I[P]=arguments[P];I.length&&(L=this).update.apply(L,I),this.draw()},k.prototype.draw=function(){for(var L=this,I=[],P=arguments.length;P--;)I[P]=arguments[P];return(I.length?I:this.passes).forEach(function(M,F){var N;if(M&&Array.isArray(M))return(N=L).draw.apply(N,M);typeof M=="number"&&(M=L.passes[M]),M&&M.count>1&&M.opacity&&(L.regl._refresh(),M.fill&&M.triangles&&M.triangles.length>2&&L.shaders.fill(M),M.thickness&&(M.scale[0]*M.viewport.width>k.precisionThreshold||M.scale[1]*M.viewport.height>k.precisionThreshold||M.join==="rect"||!M.join&&(M.thickness<=2||M.count>=k.maxPoints)?L.shaders.rect(M):L.shaders.miter(M)))}),this},k.prototype.update=function(L){var I=this;if(L){L.length!=null?typeof L[0]=="number"&&(L=[{positions:L}]):Array.isArray(L)||(L=[L]);var P=this,M=P.regl,F=P.gl;if(L.forEach(function(U,B){var Y=I.passes[B];if(U!==void 0){if(U===null){I.passes[B]=null;return}if(typeof U[0]=="number"&&(U={positions:U}),U=S(U,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),Y||(I.passes[B]=Y={id:B,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:M.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:M.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:M.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:M.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},U=i({},k.defaults,U)),U.thickness!=null&&(Y.thickness=parseFloat(U.thickness)),U.opacity!=null&&(Y.opacity=parseFloat(U.opacity)),U.miterLimit!=null&&(Y.miterLimit=parseFloat(U.miterLimit)),U.overlay!=null&&(Y.overlay=!!U.overlay,B<k.maxLines&&(Y.depth=2*(k.maxLines-1-B%k.maxLines)/k.maxLines-1)),U.join!=null&&(Y.join=U.join),U.hole!=null&&(Y.hole=U.hole),U.fill!=null&&(Y.fill=U.fill?l(U.fill,"uint8"):null),U.viewport!=null&&(Y.viewport=b(U.viewport)),Y.viewport||(Y.viewport=b([F.drawingBufferWidth,F.drawingBufferHeight])),U.close!=null&&(Y.close=U.close),U.positions===null&&(U.positions=[]),U.positions){var z,V;if(U.positions.x&&U.positions.y){var j=U.positions.x,G=U.positions.y;V=Y.count=Math.max(j.length,G.length),z=new Float64Array(V*2);for(var W=0;W<V;W++)z[W*2]=j[W],z[W*2+1]=G[W]}else z=g(U.positions,"float64"),V=Y.count=Math.floor(z.length/2);var X=Y.bounds=v(z,2);if(Y.fill){for(var Q=[],ae={},ie=0,he=0,J=0,Z=Y.count;he<Z;he++){var le=z[he*2],K=z[he*2+1];isNaN(le)||isNaN(K)||le==null||K==null?(le=z[ie*2],K=z[ie*2+1],ae[he]=ie):ie=he,Q[J++]=le,Q[J++]=K}if(U.splitNull){Y.count-1 in ae||(ae[Y.count]=Y.count-1);var te=Object.keys(ae).map(Number).sort(function(Ne,je){return Ne-je}),ce=[],re=0,ee=Y.hole!=null?Y.hole[0]:null;if(ee!=null){var de=x(te,function(Ne){return Ne>=ee});te=te.slice(0,de),te.push(ee)}for(var oe=function(Ne){var je=Q.slice(re*2,te[Ne]*2).concat(ee?Q.slice(ee*2):[]),Je=(Y.hole||[]).map(function(Et){return Et-ee+(te[Ne]-re)}),ut=p(je,Je);ut=ut.map(function(Et){return Et+re+(Et+re<te[Ne]?0:ee-te[Ne])}),ce.push.apply(ce,ut),re=te[Ne]+1},fe=0;fe<te.length;fe++)oe(fe);for(var me=0,Te=ce.length;me<Te;me++)ae[ce[me]]!=null&&(ce[me]=ae[ce[me]]);Y.triangles=ce}else{for(var we=p(Q,Y.hole||[]),Be=0,Ae=we.length;Be<Ae;Be++)ae[we[Be]]!=null&&(we[Be]=ae[we[Be]]);Y.triangles=we}}var Re=new Float64Array(z);_(Re,2,X);var be=new Float64Array(V*2+6);Y.close?z[0]===z[V*2-2]&&z[1]===z[V*2-1]?(be[0]=Re[V*2-4],be[1]=Re[V*2-3]):(be[0]=Re[V*2-2],be[1]=Re[V*2-1]):(be[0]=Re[0],be[1]=Re[1]),be.set(Re,2),Y.close?z[0]===z[V*2-2]&&z[1]===z[V*2-1]?(be[V*2+2]=Re[2],be[V*2+3]=Re[3],Y.count-=1):(be[V*2+2]=Re[0],be[V*2+3]=Re[1],be[V*2+4]=Re[2],be[V*2+5]=Re[3]):(be[V*2+2]=Re[V*2-2],be[V*2+3]=Re[V*2-1],be[V*2+4]=Re[V*2-2],be[V*2+5]=Re[V*2-1]);var Pe=s(be);Y.positionBuffer(Pe);var Ke=d(be,Pe);Y.positionFractBuffer(Ke)}if(U.range?Y.range=U.range:Y.range||(Y.range=Y.bounds),(U.range||U.positions)&&Y.count){var ze=Y.bounds,Fe=ze[2]-ze[0],We=ze[3]-ze[1],lt=Y.range[2]-Y.range[0],ht=Y.range[3]-Y.range[1];Y.scale=[Fe/lt,We/ht],Y.translate=[-Y.range[0]/lt+ze[0]/lt||0,-Y.range[1]/ht+ze[1]/ht||0],Y.scaleFract=d(Y.scale),Y.translateFract=d(Y.translate)}if(U.dashes){var tt=0,et;if(!U.dashes||U.dashes.length<2)tt=1,et=new Uint8Array([255,255,255,255,255,255,255,255]);else{tt=0;for(var pt=0;pt<U.dashes.length;++pt)tt+=U.dashes[pt];et=new Uint8Array(tt*k.dashMult);for(var vt=0,_t=255,bt=0;bt<2;bt++)for(var Rt=0;Rt<U.dashes.length;++Rt){for(var ct=0,Ve=U.dashes[Rt]*k.dashMult*.5;ct<Ve;++ct)et[vt++]=_t;_t^=255}}Y.dashLength=tt,Y.dashTexture({channels:1,data:et,width:et.length,height:1,mag:"linear",min:"linear"},0,0)}if(U.color){var Qe=Y.count,rt=U.color;rt||(rt="transparent");var qe=new Uint8Array(Qe*4+4);if(!Array.isArray(rt)||typeof rt[0]=="number")for(var He=l(rt,"uint8"),Ce=0;Ce<Qe+1;Ce++)qe.set(He,Ce*4);else{for(var Se=0;Se<Qe;Se++){var Le=l(rt[Se],"uint8");qe.set(Le,Se*4)}qe.set(l(rt[0],"uint8"),Qe*4)}Y.colorBuffer({usage:"dynamic",type:"uint8",data:qe})}}}),L.length<this.passes.length){for(var N=L.length;N<this.passes.length;N++){var T=this.passes[N];T&&(T.colorBuffer.destroy(),T.positionBuffer.destroy(),T.dashTexture.destroy())}this.passes.length=L.length}for(var D=[],O=0;O<this.passes.length;O++)this.passes[O]!==null&&D.push(this.passes[O]);return this.passes=D,this}},k.prototype.destroy=function(){return this.passes.forEach(function(L){L.colorBuffer.destroy(),L.positionBuffer.destroy(),L.dashTexture.destroy()}),this.passes.length=0,this}},38540:function(u,h,a){function l(T,D){var O=T==null?null:typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(O!=null){var U,B,Y,z,V=[],j=!0,G=!1;try{if(Y=(O=O.call(T)).next,D!==0)for(;!(j=(U=Y.call(O)).done)&&(V.push(U.value),V.length!==D);j=!0);}catch(W){G=!0,B=W}finally{try{if(!j&&O.return!=null&&(z=O.return(),Object(z)!==z))return}finally{if(G)throw B}}return V}}function v(T,D){return g(T)||l(T,D)||_(T,D)||d()}function i(T){return S(T)||p(T)||_(T)||s()}function S(T){if(Array.isArray(T))return c(T)}function g(T){if(Array.isArray(T))return T}function p(T){if(typeof Symbol<"u"&&T[Symbol.iterator]!=null||T["@@iterator"]!=null)return Array.from(T)}function _(T,D){if(T){if(typeof T=="string")return c(T,D);var O=Object.prototype.toString.call(T).slice(8,-1);if(O==="Object"&&T.constructor&&(O=T.constructor.name),O==="Map"||O==="Set")return Array.from(T);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return c(T,D)}}function c(T,D){(D==null||D>T.length)&&(D=T.length);for(var O=0,U=new Array(D);O<D;O++)U[O]=T[O];return U}function s(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f=a(72160),b=a(76752),x=a(3808),y=a(3108),C=a(50896),w=a(26444),R=a(55616),A=a(45223),E=a(47520),k=a(96604),L=a(37816),I=a(51160),P=M;function M(T,D){var O=this;if(!(this instanceof M))return new M(T,D);typeof T=="function"?(D||(D={}),D.regl=T):(D=T,T=null),D&&D.length&&(D.positions=D),T=D.regl;var U=T._gl,B,Y=[],z={},V=[],j=[null],G=[null],W=255,X=100;this.tooManyColors=k,B=T.texture({data:new Uint8Array(W*4),width:W,height:1,type:"uint8",format:"rgba",wrapS:"clamp",wrapT:"clamp",mag:"nearest",min:"nearest"}),C(this,{regl:T,gl:U,groups:V,markerCache:G,markerTextures:j,palette:Y,paletteIds:z,paletteTexture:B,maxColors:W,maxSize:X,canvas:U.canvas}),this.update(D);var Q={uniforms:{constPointSize:!!D.constPointSize,opacity:T.prop("opacity"),paletteSize:function(J,Z){return[O.tooManyColors?0:W,B.height]},pixelRatio:T.context("pixelRatio"),scale:T.prop("scale"),scaleFract:T.prop("scaleFract"),translate:T.prop("translate"),translateFract:T.prop("translateFract"),markerTexture:T.prop("markerTexture"),paletteTexture:B},attributes:{x:function(J,Z){return Z.xAttr||{buffer:Z.positionBuffer,stride:8,offset:0}},y:function(J,Z){return Z.yAttr||{buffer:Z.positionBuffer,stride:8,offset:4}},xFract:function(J,Z){return Z.xAttr?{constant:[0,0]}:{buffer:Z.positionFractBuffer,stride:8,offset:0}},yFract:function(J,Z){return Z.yAttr?{constant:[0,0]}:{buffer:Z.positionFractBuffer,stride:8,offset:4}},size:function(J,Z){return Z.size.length?{buffer:Z.sizeBuffer,stride:2,offset:0}:{constant:[Math.round(Z.size*255/O.maxSize)]}},borderSize:function(J,Z){return Z.borderSize.length?{buffer:Z.sizeBuffer,stride:2,offset:1}:{constant:[Math.round(Z.borderSize*255/O.maxSize)]}},colorId:function(J,Z){return Z.color.length?{buffer:Z.colorBuffer,stride:O.tooManyColors?8:4,offset:0}:{constant:O.tooManyColors?Y.slice(Z.color*4,Z.color*4+4):[Z.color]}},borderColorId:function(J,Z){return Z.borderColor.length?{buffer:Z.colorBuffer,stride:O.tooManyColors?8:4,offset:O.tooManyColors?4:2}:{constant:O.tooManyColors?Y.slice(Z.borderColor*4,Z.borderColor*4+4):[Z.borderColor]}},isActive:function(J,Z){return Z.activation===!0?{constant:[1]}:Z.activation?Z.activation:{constant:[0]}}},blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},scissor:{enable:!0,box:T.prop("viewport")},viewport:T.prop("viewport"),stencil:{enable:!1},depth:{enable:!1},elements:T.prop("elements"),count:T.prop("count"),offset:T.prop("offset"),primitive:"points"},ae=C({},Q);ae.frag=w([`precision highp float;
#define GLSLIFY 1
uniform float opacity;
uniform sampler2D markerTexture;
varying vec4 fragColor, fragBorderColor;
varying float fragWidth, fragBorderColorLevel, fragColorLevel;
float smoothStep(float x, float y) {
return 1.0 / (1.0 + exp(50.0*(x - y)));
}
void main() {
float dist = texture2D(markerTexture, gl_PointCoord).r, delta = fragWidth;
// max-distance alpha
if (dist < 0.003) discard;
// null-border case
if (fragBorderColorLevel == fragColorLevel || fragBorderColor.a == 0.) {
float colorAmt = smoothstep(.5 - delta, .5 + delta, dist);
gl_FragColor = vec4(fragColor.rgb, colorAmt * fragColor.a * opacity);
}
else {
float borderColorAmt = smoothstep(fragBorderColorLevel - delta, fragBorderColorLevel + delta, dist);
float colorAmt = smoothstep(fragColorLevel - delta, fragColorLevel + delta, dist);
vec4 color = fragBorderColor;
color.a *= borderColorAmt;
color = mix(color, fragColor, colorAmt);
color.a *= opacity;
gl_FragColor = color;
}
}
`]),ae.vert=w([`precision highp float;
#define GLSLIFY 1
attribute float x, y, xFract, yFract;
attribute float size, borderSize;
attribute vec4 colorId, borderColorId;
attribute float isActive;
// \`invariant\` effectively turns off optimizations for the position.
// We need this because -fast-math on M1 Macs is re-ordering
// floating point operations in a way that causes floating point
// precision limits to put points in the wrong locations.
invariant gl_Position;
uniform bool constPointSize;
uniform float pixelRatio;
uniform vec2 scale, scaleFract, translate, translateFract, paletteSize;
uniform sampler2D paletteTexture;
const float maxSize = 100.;
const float borderLevel = .5;
varying vec4 fragColor, fragBorderColor;
varying float fragPointSize, fragBorderRadius, fragWidth, fragBorderColorLevel, fragColorLevel;
float pointSizeScale = (constPointSize) ? 2. : pixelRatio;
bool isDirect = (paletteSize.x < 1.);
vec4 getColor(vec4 id) {
return isDirect ? id / 255. : texture2D(paletteTexture,
vec2(
(id.x + .5) / paletteSize.x,
(id.y + .5) / paletteSize.y
)
);
}
void main() {
// ignore inactive points
if (isActive == 0.) return;
vec2 position = vec2(x, y);
vec2 positionFract = vec2(xFract, yFract);
vec4 color = getColor(colorId);
vec4 borderColor = getColor(borderColorId);
float size = size * maxSize / 255.;
float borderSize = borderSize * maxSize / 255.;
gl_PointSize = 2. * size * pointSizeScale;
fragPointSize = size * pixelRatio;
vec2 pos = (position + translate) * scale
+ (positionFract + translateFract) * scale
+ (position + translate) * scaleFract
+ (positionFract + translateFract) * scaleFract;
gl_Position = vec4(pos * 2. - 1., 0., 1.);
fragColor = color;
fragBorderColor = borderColor;
fragWidth = 1. / gl_PointSize;
fragBorderColorLevel = clamp(borderLevel - borderLevel * borderSize / size, 0., 1.);
fragColorLevel = clamp(borderLevel + (1. - borderLevel) * borderSize / size, 0., 1.);
}
`]),this.drawMarker=T(ae);var ie=C({},Q);ie.frag=w([`precision highp float;
#define GLSLIFY 1
varying vec4 fragColor, fragBorderColor;
varying float fragBorderRadius, fragWidth;
uniform float opacity;
float smoothStep(float edge0, float edge1, float x) {
float t;
t = clamp((x - edge0) / (edge1 - edge0), 0.0, 1.0);
return t * t * (3.0 - 2.0 * t);
}
void main() {
float radius, alpha = 1.0, delta = fragWidth;
radius = length(2.0 * gl_PointCoord.xy - 1.0);
if (radius > 1.0 + delta) {
discard;
}
alpha -= smoothstep(1.0 - delta, 1.0 + delta, radius);
float borderRadius = fragBorderRadius;
float ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius);
vec4 color = mix(fragColor, fragBorderColor, ratio);
color.a *= alpha * opacity;
gl_FragColor = color;
}
`]),ie.vert=w([`precision highp float;
#define GLSLIFY 1
attribute float x, y, xFract, yFract;
attribute float size, borderSize;
attribute vec4 colorId, borderColorId;
attribute float isActive;
// \`invariant\` effectively turns off optimizations for the position.
// We need this because -fast-math on M1 Macs is re-ordering
// floating point operations in a way that causes floating point
// precision limits to put points in the wrong locations.
invariant gl_Position;
uniform bool constPointSize;
uniform float pixelRatio;
uniform vec2 paletteSize, scale, scaleFract, translate, translateFract;
uniform sampler2D paletteTexture;
const float maxSize = 100.;
varying vec4 fragColor, fragBorderColor;
varying float fragBorderRadius, fragWidth;
float pointSizeScale = (constPointSize) ? 2. : pixelRatio;
bool isDirect = (paletteSize.x < 1.);
vec4 getColor(vec4 id) {
return isDirect ? id / 255. : texture2D(paletteTexture,
vec2(
(id.x + .5) / paletteSize.x,
(id.y + .5) / paletteSize.y
)
);
}
void main() {
// ignore inactive points
if (isActive == 0.) return;
vec2 position = vec2(x, y);
vec2 positionFract = vec2(xFract, yFract);
vec4 color = getColor(colorId);
vec4 borderColor = getColor(borderColorId);
float size = size * maxSize / 255.;
float borderSize = borderSize * maxSize / 255.;
gl_PointSize = (size + borderSize) * pointSizeScale;
vec2 pos = (position + translate) * scale
+ (positionFract + translateFract) * scale
+ (position + translate) * scaleFract
+ (positionFract + translateFract) * scaleFract;
gl_Position = vec4(pos * 2. - 1., 0., 1.);
fragBorderRadius = 1. - 2. * borderSize / (size + borderSize);
fragColor = color;
fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor;
fragWidth = 1. / gl_PointSize;
}
`]),k&&(ie.frag=ie.frag.replace("smoothstep","smoothStep"),ae.frag=ae.frag.replace("smoothstep","smoothStep")),this.drawCircle=T(ie)}M.defaults={color:"black",borderColor:"transparent",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},M.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},M.prototype.draw=function(){for(var T=this,D=arguments.length,O=new Array(D),U=0;U<D;U++)O[U]=arguments[U];var B=this.groups;if(O.length===1&&Array.isArray(O[0])&&(O[0][0]===null||Array.isArray(O[0][0]))&&(O=O[0]),this.regl._refresh(),O.length)for(var Y=0;Y<O.length;Y++)this.drawItem(Y,O[Y]);else B.forEach(function(z,V){T.drawItem(V)});return this},M.prototype.drawItem=function(T,D){var O=this.groups,U=O[T];if(typeof D=="number"&&(T=D,U=O[D],D=null),!!(U&&U.count&&U.opacity)){U.activation[0]&&this.drawCircle(this.getMarkerDrawOptions(0,U,D));for(var B=[],Y=1;Y<U.activation.length;Y++)!U.activation[Y]||U.activation[Y]!==!0&&!U.activation[Y].data.length||B.push.apply(B,i(this.getMarkerDrawOptions(Y,U,D)));B.length&&this.drawMarker(B)}},M.prototype.getMarkerDrawOptions=function(T,D,O){var U=D.range,B=D.tree,Y=D.viewport,z=D.activation,V=D.selectionBuffer,j=D.count;if(this.regl,!B)return O?[C({},D,{markerTexture:this.markerTextures[T],activation:z[T],count:O.length,elements:O,offset:0})]:[C({},D,{markerTexture:this.markerTextures[T],activation:z[T],offset:0})];var G=[],W=B.range(U,{lod:!0,px:[(U[2]-U[0])/Y.width,(U[3]-U[1])/Y.height]});if(O){for(var X=z[T],Q=X.data,ae=new Uint8Array(j),ie=0;ie<O.length;ie++){var he=O[ie];ae[he]=Q?Q[he]:1}V.subdata(ae)}for(var J=W.length;J--;){var Z=v(W[J],2),le=Z[0],K=Z[1];G.push(C({},D,{markerTexture:this.markerTextures[T],activation:O?V:z[T],offset:le,count:K-le}))}return G},M.prototype.update=function(){for(var T=this,D=arguments.length,O=new Array(D),U=0;U<D;U++)O[U]=arguments[U];if(O.length){O.length===1&&Array.isArray(O[0])&&(O=O[0]);var B=this.groups,Y=this.gl,z=this.regl,V=this.maxSize,j=this.maxColors,G=this.palette;this.groups=B=O.map(function(W,X){var Q=B[X];if(W===void 0)return Q;W===null?W={positions:null}:typeof W=="function"?W={ondraw:W}:typeof W[0]=="number"&&(W={positions:W}),W=R(W,{positions:"positions data points",snap:"snap cluster lod tree",size:"sizes size radius",borderSize:"borderSizes borderSize border-size bordersize borderWidth borderWidths border-width borderwidth stroke-width strokeWidth strokewidth outline",color:"colors color fill fill-color fillColor",borderColor:"borderColors borderColor stroke stroke-color strokeColor",marker:"markers marker shape",range:"range dataBox databox",viewport:"viewport viewPort viewBox viewbox",opacity:"opacity alpha transparency",bounds:"bound bounds boundaries limits",tooManyColors:"tooManyColors palette paletteMode optimizePalette enablePalette"}),W.positions===null&&(W.positions=[]),W.tooManyColors!=null&&(T.tooManyColors=W.tooManyColors),Q||(B[X]=Q={id:X,scale:null,translate:null,scaleFract:null,translateFract:null,activation:[],selectionBuffer:z.buffer({data:new Uint8Array(0),usage:"stream",type:"uint8"}),sizeBuffer:z.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),colorBuffer:z.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),positionBuffer:z.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"}),positionFractBuffer:z.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"})},W=C({},M.defaults,W)),W.positions&&!("marker"in W)&&(W.marker=Q.marker,delete Q.marker),W.marker&&!("positions"in W)&&(W.positions=Q.positions,delete Q.positions);var ae=0,ie=0;if(A(Q,W,[{snap:!0,size:function(be,Pe){return be==null&&(be=M.defaults.size),ae+=be&&be.length?1:0,be},borderSize:function(be,Pe){return be==null&&(be=M.defaults.borderSize),ae+=be&&be.length?1:0,be},opacity:parseFloat,color:function(be,Pe){return be==null&&(be=M.defaults.color),be=T.updateColor(be),ie++,be},borderColor:function(be,Pe){return be==null&&(be=M.defaults.borderColor),be=T.updateColor(be),ie++,be},bounds:function(be,Pe,Ke){return"range"in Ke||(Ke.range=null),be},positions:function(be,Pe,Ke){var ze=Pe.snap,Fe=Pe.positionBuffer,We=Pe.positionFractBuffer,lt=Pe.selectionBuffer;if(be.x||be.y)return be.x.length?Pe.xAttr={buffer:z.buffer(be.x),offset:0,stride:4,count:be.x.length}:Pe.xAttr={buffer:be.x.buffer,offset:be.x.offset*4||0,stride:(be.x.stride||1)*4,count:be.x.count},be.y.length?Pe.yAttr={buffer:z.buffer(be.y),offset:0,stride:4,count:be.y.length}:Pe.yAttr={buffer:be.y.buffer,offset:be.y.offset*4||0,stride:(be.y.stride||1)*4,count:be.y.count},Pe.count=Math.max(Pe.xAttr.count,Pe.yAttr.count),be;be=E(be,"float64");var ht=Pe.count=Math.floor(be.length/2),tt=Pe.bounds=ht?b(be,2):null;if(!Ke.range&&!Pe.range&&(delete Pe.range,Ke.range=tt),!Ke.marker&&!Pe.marker&&(delete Pe.marker,Ke.marker=null),ze&&(ze===!0||ht>ze)?Pe.tree=y(be,{bounds:tt}):ze&&ze.length&&(Pe.tree=ze),Pe.tree){var et={primitive:"points",usage:"static",data:Pe.tree,type:"uint32"};Pe.elements?Pe.elements(et):Pe.elements=z.elements(et)}var pt=L.float32(be);Fe({data:pt,usage:"dynamic"});var vt=L.fract32(be,pt);return We({data:vt,usage:"dynamic"}),lt({data:new Uint8Array(ht),type:"uint8",usage:"stream"}),be}},{marker:function(be,Pe,Ke){var ze=Pe.activation;if(ze.forEach(function(vt){return vt&&vt.destroy&&vt.destroy()}),ze.length=0,!be||typeof be[0]=="number"){var Fe=T.addMarker(be);ze[Fe]=!0}else{for(var We=[],lt=0,ht=Math.min(be.length,Pe.count);lt<ht;lt++){var tt=T.addMarker(be[lt]);We[tt]||(We[tt]=new Uint8Array(Pe.count)),We[tt][lt]=1}for(var et=0;et<We.length;et++)if(We[et]){var pt={data:We[et],type:"uint8",usage:"static"};ze[et]?ze[et](pt):ze[et]=z.buffer(pt),ze[et].data=We[et]}}return be},range:function(be,Pe,Ke){var ze=Pe.bounds;if(ze)return be||(be=ze),Pe.scale=[1/(be[2]-be[0]),1/(be[3]-be[1])],Pe.translate=[-be[0],-be[1]],Pe.scaleFract=L.fract(Pe.scale),Pe.translateFract=L.fract(Pe.translate),be},viewport:function(be){var Pe=I(be||[Y.drawingBufferWidth,Y.drawingBufferHeight]);return Pe}}]),ae){var he=Q,J=he.count,Z=he.size,le=he.borderSize,K=he.sizeBuffer,te=new Uint8Array(J*2);if(Z.length||le.length)for(var ce=0;ce<J;ce++)te[ce*2]=Math.round((Z[ce]==null?Z:Z[ce])*255/V),te[ce*2+1]=Math.round((le[ce]==null?le:le[ce])*255/V);K({data:te,usage:"dynamic"})}if(ie){var re=Q,ee=re.count,de=re.color,oe=re.borderColor,fe=re.colorBuffer,me;if(T.tooManyColors){if(de.length||oe.length){me=new Uint8Array(ee*8);for(var Te=0;Te<ee;Te++){var we=de[Te];me[Te*8]=G[we*4],me[Te*8+1]=G[we*4+1],me[Te*8+2]=G[we*4+2],me[Te*8+3]=G[we*4+3];var Be=oe[Te];me[Te*8+4]=G[Be*4],me[Te*8+5]=G[Be*4+1],me[Te*8+6]=G[Be*4+2],me[Te*8+7]=G[Be*4+3]}}}else if(de.length||oe.length){me=new Uint8Array(ee*4+2);for(var Ae=0;Ae<ee;Ae++)de[Ae]!=null&&(me[Ae*4]=de[Ae]%j,me[Ae*4+1]=Math.floor(de[Ae]/j)),oe[Ae]!=null&&(me[Ae*4+2]=oe[Ae]%j,me[Ae*4+3]=Math.floor(oe[Ae]/j))}fe({data:me||new Uint8Array(0),type:"uint8",usage:"dynamic"})}return Q})}},M.prototype.addMarker=function(T){var D=this.markerTextures,O=this.regl,U=this.markerCache,B=T==null?0:U.indexOf(T);if(B>=0)return B;var Y;if(T instanceof Uint8Array||T instanceof Uint8ClampedArray)Y=T;else{Y=new Uint8Array(T.length);for(var z=0,V=T.length;z<V;z++)Y[z]=T[z]*255}var j=Math.floor(Math.sqrt(Y.length));return B=D.length,U.push(T),D.push(O.texture({channels:1,data:Y,radius:j,mag:"linear",min:"linear"})),B},M.prototype.updateColor=function(T){var D=this.paletteIds,O=this.palette,U=this.maxColors;Array.isArray(T)||(T=[T]);var B=[];if(typeof T[0]=="number"){var Y=[];if(Array.isArray(T))for(var z=0;z<T.length;z+=4)Y.push(T.slice(z,z+4));else for(var V=0;V<T.length;V+=4)Y.push(T.subarray(V,V+4));T=Y}for(var j=0;j<T.length;j++){var G=T[j];G=f(G,"uint8");var W=x(G,!1);if(D[W]==null){var X=O.length;D[W]=Math.floor(X/4),O[X]=G[0],O[X+1]=G[1],O[X+2]=G[2],O[X+3]=G[3]}B[j]=D[W]}return!this.tooManyColors&&O.length>U*4&&(this.tooManyColors=!0),this.updatePalette(O),B.length===1?B[0]:B},M.prototype.updatePalette=function(T){if(!this.tooManyColors){var D=this.maxColors,O=this.paletteTexture,U=Math.ceil(T.length*.25/D);if(U>1){T=T.slice();for(var B=T.length*.25%D;B<U*D;B++)T.push(0,0,0,0)}O.height<U&&O.resize(D,U),O.subimage({width:Math.min(T.length*.25,D),height:U,data:T},0,0)}},M.prototype.destroy=function(){return this.groups.forEach(function(T){T.sizeBuffer.destroy(),T.positionBuffer.destroy(),T.positionFractBuffer.destroy(),T.colorBuffer.destroy(),T.activation.forEach(function(D){return D&&D.destroy&&D.destroy()}),T.selectionBuffer.destroy(),T.elements&&T.elements.destroy()}),this.groups.length=0,this.paletteTexture.destroy(),this.markerTextures.forEach(function(T){return T&&T.destroy&&T.destroy()}),this};var F=a(50896),N=function(D,O){var U=new P(D,O),B=U.render.bind(U);return F(B,{render:B,update:U.update.bind(U),draw:U.draw.bind(U),destroy:U.destroy.bind(U),regl:U.regl,gl:U.gl,canvas:U.gl.canvas,groups:U.groups,markers:U.markerCache,palette:U.palette}),B};u.exports=N},55795:function(u,h,a){var l=a(38540),v=a(55616),i=a(76752),S=a(3951),g=a(67752),p=a(51160),_=a(47520);u.exports=c;function c(b,x){if(!(this instanceof c))return new c(b);this.traces=[],this.passes={},this.regl=b,this.scatter=l(b),this.canvas=this.scatter.canvas}c.prototype.render=function(){for(var b=this,x,y=[],C=arguments.length;C--;)y[C]=arguments[C];return y.length&&(x=this).update.apply(x,y),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?this.planned==null&&(this.planned=S(function(){b.draw(),b.dirty=!0,b.planned=null})):(this.draw(),this.dirty=!0,S(function(){b.dirty=!1})),this)},c.prototype.update=function(){for(var b,x=[],y=arguments.length;y--;)x[y]=arguments[y];if(x.length){for(var C=0;C<x.length;C++)this.updateItem(C,x[C]);this.traces=this.traces.filter(Boolean);for(var w=[],R=0,A=0;A<this.traces.length;A++){for(var E=this.traces[A],k=this.traces[A].passes,L=0;L<k.length;L++)w.push(this.passes[k[L]]);E.passOffset=R,R+=E.passes.length}return(b=this.scatter).update.apply(b,w),this}},c.prototype.updateItem=function(b,x){var y=this,C=y.regl;if(x===null)return this.traces[b]=null,this;if(!x)return this;var w=v(x,{data:"data items columns rows values dimensions samples x",snap:"snap cluster",size:"sizes size radius",color:"colors color fill fill-color fillColor",opacity:"opacity alpha transparency opaque",borderSize:"borderSizes borderSize border-size bordersize borderWidth borderWidths border-width borderwidth stroke-width strokeWidth strokewidth outline",borderColor:"borderColors borderColor bordercolor stroke stroke-color strokeColor",marker:"markers marker shape",range:"range ranges databox dataBox",viewport:"viewport viewBox viewbox",domain:"domain domains area areas",padding:"pad padding paddings pads margin margins",transpose:"transpose transposed",diagonal:"diagonal diag showDiagonal",upper:"upper up top upperhalf upperHalf showupperhalf showUpper showUpperHalf",lower:"lower low bottom lowerhalf lowerHalf showlowerhalf showLowerHalf showLower"}),R=this.traces[b]||(this.traces[b]={id:b,buffer:C.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),color:"black",marker:null,size:12,borderColor:"transparent",borderSize:1,viewport:p([C._gl.drawingBufferWidth,C._gl.drawingBufferHeight]),padding:[0,0,0,0],opacity:1,diagonal:!0,upper:!0,lower:!0});if(w.color!=null&&(R.color=w.color),w.size!=null&&(R.size=w.size),w.marker!=null&&(R.marker=w.marker),w.borderColor!=null&&(R.borderColor=w.borderColor),w.borderSize!=null&&(R.borderSize=w.borderSize),w.opacity!=null&&(R.opacity=w.opacity),w.viewport&&(R.viewport=p(w.viewport)),w.diagonal!=null&&(R.diagonal=w.diagonal),w.upper!=null&&(R.upper=w.upper),w.lower!=null&&(R.lower=w.lower),w.data){R.buffer(_(w.data)),R.columns=w.data.length,R.count=w.data[0].length,R.bounds=[];for(var A=0;A<R.columns;A++)R.bounds[A]=i(w.data[A],1)}var E;w.range&&(R.range=w.range,E=R.range&&typeof R.range[0]!="number"),w.domain&&(R.domain=w.domain);var k=!1;w.padding!=null&&(Array.isArray(w.padding)&&w.padding.length===R.columns&&typeof w.padding[w.padding.length-1]=="number"?(R.padding=w.padding.map(f),k=!0):R.padding=f(w.padding));var L=R.columns,I=R.count,P=R.viewport.width,M=R.viewport.height,F=R.viewport.x,N=R.viewport.y,T=P/L,D=M/L;R.passes=[];for(var O=0;O<L;O++)for(var U=0;U<L;U++)if(!(!R.diagonal&&U===O)&&!(!R.upper&&O>U)&&!(!R.lower&&O<U)){var B=s(R.id,O,U),Y=this.passes[B]||(this.passes[B]={});if(w.data&&(w.transpose?Y.positions={x:{buffer:R.buffer,offset:U,count:I,stride:L},y:{buffer:R.buffer,offset:O,count:I,stride:L}}:Y.positions={x:{buffer:R.buffer,offset:U*I,count:I},y:{buffer:R.buffer,offset:O*I,count:I}},Y.bounds=d(R.bounds,O,U)),w.domain||w.viewport||w.data){var z=k?d(R.padding,O,U):R.padding;if(R.domain){var V=d(R.domain,O,U),j=V[0],G=V[1],W=V[2],X=V[3];Y.viewport=[F+j*P+z[0],N+G*M+z[1],F+W*P-z[2],N+X*M-z[3]]}else Y.viewport=[F+U*T+T*z[0],N+O*D+D*z[1],F+(U+1)*T-T*z[2],N+(O+1)*D-D*z[3]]}w.color&&(Y.color=R.color),w.size&&(Y.size=R.size),w.marker&&(Y.marker=R.marker),w.borderSize&&(Y.borderSize=R.borderSize),w.borderColor&&(Y.borderColor=R.borderColor),w.opacity&&(Y.opacity=R.opacity),w.range&&(Y.range=E?d(R.range,O,U):R.range||Y.bounds),R.passes.push(B)}return this},c.prototype.draw=function(){for(var b,x=[],y=arguments.length;y--;)x[y]=arguments[y];if(!x.length)this.scatter.draw();else{for(var C=[],w=0;w<x.length;w++)if(typeof x[w]=="number"){var R=this.traces[x[w]],A=R.passes,E=R.passOffset;C.push.apply(C,g(E,E+A.length))}else if(x[w].length){var k=x[w],L=this.traces[w],I=L.passes,P=L.passOffset;I=I.map(function(M,F){C[P+F]=k})}(b=this.scatter).draw.apply(b,C)}return this},c.prototype.destroy=function(){return this.traces.forEach(function(b){b.buffer&&b.buffer.destroy&&b.buffer.destroy()}),this.traces=null,this.passes=null,this.scatter.destroy(),this};function s(b,x,y){var C=b.id!=null?b.id:b,w=x,R=y,A=C<<16|(w&255)<<8|R&255;return A}function d(b,x,y){var C,w,R,A,E=b[x],k=b[y];return E.length>2?(E[0],E[2],C=E[1],w=E[3]):E.length?(C=E[0],w=E[1]):(E.x,C=E.y,E.x+E.width,w=E.y+E.height),k.length>2?(R=k[0],A=k[2],k[1],k[3]):k.length?(R=k[0],A=k[1]):(R=k.x,k.y,A=k.x+k.width,k.y+k.height),[R,C,A,w]}function f(b){if(typeof b=="number")return[b,b,b,b];if(b.length===2)return[b[0],b[1],b[0],b[1]];var x=p(b);return[x.x,x.y,x.x+x.width,x.y+x.height]}},28624:function(u){(function(h,a){u.exports=a()})(this,function(){function h(Ct,or){this.id=fe++,this.type=Ct,this.data=or}function a(Ct){if(Ct.length===0)return[];var or=Ct.charAt(0),ur=Ct.charAt(Ct.length-1);if(1<Ct.length&&or===ur&&(or==='"'||or==="'"))return['"'+Ct.substr(1,Ct.length-2).replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'];if(or=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(Ct))return a(Ct.substr(0,or.index)).concat(a(or[1])).concat(a(Ct.substr(or.index+or[0].length)));if(or=Ct.split("."),or.length===1)return['"'+Ct.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'];for(Ct=[],ur=0;ur<or.length;++ur)Ct=Ct.concat(a(or[ur]));return Ct}function l(Ct){return"["+a(Ct).join("][")+"]"}function v(Ct,or){if(typeof Ct=="function")return new h(0,Ct);if(typeof Ct=="number"||typeof Ct=="boolean")return new h(5,Ct);if(Array.isArray(Ct))return new h(6,Ct.map(function(ur,Ir){return v(ur)}));if(Ct instanceof h)return Ct}function i(){var Ct={"":0},or=[""];return{id:function(ur){var Ir=Ct[ur];return Ir||(Ir=Ct[ur]=or.length,or.push(ur),Ir)},str:function(ur){return or[ur]}}}function S(Ct,or,ur){function Ir(){var mt=window.innerWidth,Mt=window.innerHeight;Ct!==document.body&&(Mt=yr.getBoundingClientRect(),mt=Mt.right-Mt.left,Mt=Mt.bottom-Mt.top),yr.width=ur*mt,yr.height=ur*Mt}var yr=document.createElement("canvas");oe(yr.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),Ct.appendChild(yr),Ct===document.body&&(yr.style.position="absolute",oe(Ct.style,{margin:0,padding:0}));var At;return Ct!==document.body&&typeof ResizeObserver=="function"?(At=new ResizeObserver(function(){setTimeout(Ir)}),At.observe(Ct)):window.addEventListener("resize",Ir,!1),Ir(),{canvas:yr,onDestroy:function(){At?At.disconnect():window.removeEventListener("resize",Ir),Ct.removeChild(yr)}}}function g(Ct,or){function ur(Ir){try{return Ct.getContext(Ir,or)}catch{return null}}return ur("webgl")||ur("experimental-webgl")||ur("webgl-experimental")}function p(Ct){return typeof Ct=="string"?Ct.split():Ct}function _(Ct){return typeof Ct=="string"?document.querySelector(Ct):Ct}function c(Ct){var or=Ct||{},ur,Ir,yr,At;Ct={};var mt=[],Mt=[],Pt=typeof window>"u"?1:window.devicePixelRatio,Ht=!1,Ut={},Zt=function(sr){},Xt=function(){};if(typeof or=="string"?ur=document.querySelector(or):typeof or=="object"&&(typeof or.nodeName=="string"&&typeof or.appendChild=="function"&&typeof or.getBoundingClientRect=="function"?ur=or:typeof or.drawArrays=="function"||typeof or.drawElements=="function"?(At=or,yr=At.canvas):("gl"in or?At=or.gl:"canvas"in or?yr=_(or.canvas):"container"in or&&(Ir=_(or.container)),"attributes"in or&&(Ct=or.attributes),"extensions"in or&&(mt=p(or.extensions)),"optionalExtensions"in or&&(Mt=p(or.optionalExtensions)),"onDone"in or&&(Zt=or.onDone),"profile"in or&&(Ht=!!or.profile),"pixelRatio"in or&&(Pt=+or.pixelRatio),"cachedCode"in or&&(Ut=or.cachedCode))),ur&&(ur.nodeName.toLowerCase()==="canvas"?yr=ur:Ir=ur),!At){if(!yr){if(ur=S(Ir||document.body,Zt,Pt),!ur)return null;yr=ur.canvas,Xt=ur.onDestroy}Ct.premultipliedAlpha===void 0&&(Ct.premultipliedAlpha=!0),At=g(yr,Ct)}return At?{gl:At,canvas:yr,container:Ir,extensions:mt,optionalExtensions:Mt,pixelRatio:Pt,profile:Ht,cachedCode:Ut,onDone:Zt,onDestroy:Xt}:(Xt(),Zt("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function s(Ct,or){function ur(mt){mt=mt.toLowerCase();var Mt;try{Mt=Ir[mt]=Ct.getExtension(mt)}catch{}return!!Mt}for(var Ir={},yr=0;yr<or.extensions.length;++yr){var At=or.extensions[yr];if(!ur(At))return or.onDestroy(),or.onDone('"'+At+'" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return or.optionalExtensions.forEach(ur),{extensions:Ir,restore:function(){Object.keys(Ir).forEach(function(mt){if(Ir[mt]&&!ur(mt))throw Error("(regl): error restoring extension "+mt)})}}}function d(Ct,or){for(var ur=Array(Ct),Ir=0;Ir<Ct;++Ir)ur[Ir]=or(Ir);return ur}function f(Ct){var or,ur;return or=(65535<Ct)<<4,Ct>>>=or,ur=(255<Ct)<<3,Ct>>>=ur,or|=ur,ur=(15<Ct)<<2,Ct>>>=ur,or|=ur,ur=(3<Ct)<<1,or|ur|Ct>>>ur>>1}function b(){function Ct(Ir){e:{for(var yr=16;268435456>=yr;yr*=16)if(Ir<=yr){Ir=yr;break e}Ir=0}return yr=ur[f(Ir)>>2],0<yr.length?yr.pop():new ArrayBuffer(Ir)}function or(Ir){ur[f(Ir.byteLength)>>2].push(Ir)}var ur=d(8,function(){return[]});return{alloc:Ct,free:or,allocType:function(Ir,yr){var At=null;switch(Ir){case 5120:At=new Int8Array(Ct(yr),0,yr);break;case 5121:At=new Uint8Array(Ct(yr),0,yr);break;case 5122:At=new Int16Array(Ct(2*yr),0,yr);break;case 5123:At=new Uint16Array(Ct(2*yr),0,yr);break;case 5124:At=new Int32Array(Ct(4*yr),0,yr);break;case 5125:At=new Uint32Array(Ct(4*yr),0,yr);break;case 5126:At=new Float32Array(Ct(4*yr),0,yr);break;default:return null}return At.length!==yr?At.subarray(0,yr):At},freeType:function(Ir){or(Ir.buffer)}}}function x(Ct){return!!Ct&&typeof Ct=="object"&&Array.isArray(Ct.shape)&&Array.isArray(Ct.stride)&&typeof Ct.offset=="number"&&Ct.shape.length===Ct.stride.length&&(Array.isArray(Ct.data)||Re(Ct.data))}function y(Ct,or,ur,Ir,yr,At){for(var mt=0;mt<or;++mt)for(var Mt=Ct[mt],Pt=0;Pt<ur;++Pt)for(var Ht=Mt[Pt],Ut=0;Ut<Ir;++Ut)yr[At++]=Ht[Ut]}function C(Ct,or,ur,Ir,yr){for(var At=1,mt=ur+1;mt<or.length;++mt)At*=or[mt];var Mt=or[ur];if(or.length-ur===4){var Pt=or[ur+1],Ht=or[ur+2];for(or=or[ur+3],mt=0;mt<Mt;++mt)y(Ct[mt],Pt,Ht,or,Ir,yr),yr+=At}else for(mt=0;mt<Mt;++mt)C(Ct[mt],or,ur+1,Ir,yr),yr+=At}function w(Ct){return Ke[Object.prototype.toString.call(Ct)]|0}function R(Ct,or){for(var ur=0;ur<or.length;++ur)Ct[ur]=or[ur]}function A(Ct,or,ur,Ir,yr,At,mt){for(var Mt=0,Pt=0;Pt<ur;++Pt)for(var Ht=0;Ht<Ir;++Ht)Ct[Mt++]=or[yr*Pt+At*Ht+mt]}function E(Ct,or,ur,Ir){function yr(Zt){this.id=Pt++,this.buffer=Ct.createBuffer(),this.type=Zt,this.usage=35044,this.byteLength=0,this.dimension=1,this.dtype=5121,this.persistentData=null,ur.profile&&(this.stats={size:0})}function At(Zt,Xt,sr){Zt.byteLength=Xt.byteLength,Ct.bufferData(Zt.type,Xt,sr)}function mt(Zt,Xt,sr,Sr,wr,Tr){if(Zt.usage=sr,Array.isArray(Xt)){if(Zt.dtype=Sr||5126,0<Xt.length)if(Array.isArray(Xt[0])){wr=lt(Xt);for(var Ze=Sr=1;Ze<wr.length;++Ze)Sr*=wr[Ze];Zt.dimension=Sr,Xt=We(Xt,wr,Zt.dtype),At(Zt,Xt,sr),Tr?Zt.persistentData=Xt:Be.freeType(Xt)}else typeof Xt[0]=="number"?(Zt.dimension=wr,wr=Be.allocType(Zt.dtype,Xt.length),R(wr,Xt),At(Zt,wr,sr),Tr?Zt.persistentData=wr:Be.freeType(wr)):Re(Xt[0])&&(Zt.dimension=Xt[0].length,Zt.dtype=Sr||w(Xt[0])||5126,Xt=We(Xt,[Xt.length,Xt[0].length],Zt.dtype),At(Zt,Xt,sr),Tr?Zt.persistentData=Xt:Be.freeType(Xt))}else if(Re(Xt))Zt.dtype=Sr||w(Xt),Zt.dimension=wr,At(Zt,Xt,sr),Tr&&(Zt.persistentData=new Uint8Array(new Uint8Array(Xt.buffer)));else if(x(Xt)){wr=Xt.shape;var Xe=Xt.stride,Ze=Xt.offset,Wt=0,jt=0,ar=0,mr=0;wr.length===1?(Wt=wr[0],jt=1,ar=Xe[0],mr=0):wr.length===2&&(Wt=wr[0],jt=wr[1],ar=Xe[0],mr=Xe[1]),Zt.dtype=Sr||w(Xt.data)||5126,Zt.dimension=jt,wr=Be.allocType(Zt.dtype,Wt*jt),A(wr,Xt.data,Wt,jt,ar,mr,Ze),At(Zt,wr,sr),Tr?Zt.persistentData=wr:Be.freeType(wr)}else Xt instanceof ArrayBuffer&&(Zt.dtype=5121,Zt.dimension=wr,At(Zt,Xt,sr),Tr&&(Zt.persistentData=new Uint8Array(new Uint8Array(Xt))))}function Mt(Zt){or.bufferCount--,Ir(Zt),Ct.deleteBuffer(Zt.buffer),Zt.buffer=null,delete Ht[Zt.id]}var Pt=0,Ht={};yr.prototype.bind=function(){Ct.bindBuffer(this.type,this.buffer)},yr.prototype.destroy=function(){Mt(this)};var Ut=[];return ur.profile&&(or.getTotalBufferSize=function(){var Zt=0;return Object.keys(Ht).forEach(function(Xt){Zt+=Ht[Xt].stats.size}),Zt}),{create:function(Zt,Xt,sr,Sr){function wr(Ze){var Xe=35044,Wt=null,jt=0,ar=0,mr=1;return Array.isArray(Ze)||Re(Ze)||x(Ze)||Ze instanceof ArrayBuffer?Wt=Ze:typeof Ze=="number"?jt=Ze|0:Ze&&("data"in Ze&&(Wt=Ze.data),"usage"in Ze&&(Xe=Fe[Ze.usage]),"type"in Ze&&(ar=ze[Ze.type]),"dimension"in Ze&&(mr=Ze.dimension|0),"length"in Ze&&(jt=Ze.length|0)),Tr.bind(),Wt?mt(Tr,Wt,Xe,ar,mr,Sr):(jt&&Ct.bufferData(Tr.type,jt,Xe),Tr.dtype=ar||5121,Tr.usage=Xe,Tr.dimension=mr,Tr.byteLength=jt),ur.profile&&(Tr.stats.size=Tr.byteLength*ht[Tr.dtype]),wr}or.bufferCount++;var Tr=new yr(Xt);return Ht[Tr.id]=Tr,sr||wr(Zt),wr._reglType="buffer",wr._buffer=Tr,wr.subdata=function(Ze,Xe){var Wt=(Xe||0)|0,jt;if(Tr.bind(),Re(Ze)||Ze instanceof ArrayBuffer)Ct.bufferSubData(Tr.type,Wt,Ze);else if(Array.isArray(Ze)){if(0<Ze.length)if(typeof Ze[0]=="number"){var ar=Be.allocType(Tr.dtype,Ze.length);R(ar,Ze),Ct.bufferSubData(Tr.type,Wt,ar),Be.freeType(ar)}else(Array.isArray(Ze[0])||Re(Ze[0]))&&(jt=lt(Ze),ar=We(Ze,jt,Tr.dtype),Ct.bufferSubData(Tr.type,Wt,ar),Be.freeType(ar))}else if(x(Ze)){jt=Ze.shape;var mr=Ze.stride,br=ar=0,fr=0,Kt=0;jt.length===1?(ar=jt[0],br=1,fr=mr[0],Kt=0):jt.length===2&&(ar=jt[0],br=jt[1],fr=mr[0],Kt=mr[1]),jt=Array.isArray(Ze.data)?Tr.dtype:w(Ze.data),jt=Be.allocType(jt,ar*br),A(jt,Ze.data,ar,br,fr,Kt,Ze.offset),Ct.bufferSubData(Tr.type,Wt,jt),Be.freeType(jt)}return wr},ur.profile&&(wr.stats=Tr.stats),wr.destroy=function(){Mt(Tr)},wr},createStream:function(Zt,Xt){var sr=Ut.pop();return sr||(sr=new yr(Zt)),sr.bind(),mt(sr,Xt,35040,0,1,!1),sr},destroyStream:function(Zt){Ut.push(Zt)},clear:function(){be(Ht).forEach(Mt),Ut.forEach(Mt)},getBuffer:function(Zt){return Zt&&Zt._buffer instanceof yr?Zt._buffer:null},restore:function(){be(Ht).forEach(function(Zt){Zt.buffer=Ct.createBuffer(),Ct.bindBuffer(Zt.type,Zt.buffer),Ct.bufferData(Zt.type,Zt.persistentData||Zt.byteLength,Zt.usage)})},_initBuffer:mt}}function k(Ct,or,ur,Ir){function yr(Zt){this.id=Pt++,Mt[this.id]=this,this.buffer=Zt,this.primType=4,this.type=this.vertCount=0}function At(Zt,Xt,sr,Sr,wr,Tr,Ze){Zt.buffer.bind();var Xe;if(Xt?((Xe=Ze)||Re(Xt)&&(!x(Xt)||Re(Xt.data))||(Xe=or.oes_element_index_uint?5125:5123),ur._initBuffer(Zt.buffer,Xt,sr,Xe,3)):(Ct.bufferData(34963,Tr,sr),Zt.buffer.dtype=Xe||5121,Zt.buffer.usage=sr,Zt.buffer.dimension=3,Zt.buffer.byteLength=Tr),Xe=Ze,!Ze){switch(Zt.buffer.dtype){case 5121:case 5120:Xe=5121;break;case 5123:case 5122:Xe=5123;break;case 5125:case 5124:Xe=5125}Zt.buffer.dtype=Xe}Zt.type=Xe,Xt=wr,0>Xt&&(Xt=Zt.buffer.byteLength,Xe===5123?Xt>>=1:Xe===5125&&(Xt>>=2)),Zt.vertCount=Xt,Xt=Sr,0>Sr&&(Xt=4,Sr=Zt.buffer.dimension,Sr===1&&(Xt=0),Sr===2&&(Xt=1),Sr===3&&(Xt=4)),Zt.primType=Xt}function mt(Zt){Ir.elementsCount--,delete Mt[Zt.id],Zt.buffer.destroy(),Zt.buffer=null}var Mt={},Pt=0,Ht={uint8:5121,uint16:5123};or.oes_element_index_uint&&(Ht.uint32=5125),yr.prototype.bind=function(){this.buffer.bind()};var Ut=[];return{create:function(Zt,Xt){function sr(Tr){if(Tr)if(typeof Tr=="number")Sr(Tr),wr.primType=4,wr.vertCount=Tr|0,wr.type=5121;else{var Ze=null,Xe=35044,Wt=-1,jt=-1,ar=0,mr=0;Array.isArray(Tr)||Re(Tr)||x(Tr)?Ze=Tr:("data"in Tr&&(Ze=Tr.data),"usage"in Tr&&(Xe=Fe[Tr.usage]),"primitive"in Tr&&(Wt=tt[Tr.primitive]),"count"in Tr&&(jt=Tr.count|0),"type"in Tr&&(mr=Ht[Tr.type]),"length"in Tr?ar=Tr.length|0:(ar=jt,mr===5123||mr===5122?ar*=2:(mr===5125||mr===5124)&&(ar*=4))),At(wr,Ze,Xe,Wt,jt,ar,mr)}else Sr(),wr.primType=4,wr.vertCount=0,wr.type=5121;return sr}var Sr=ur.create(null,34963,!0),wr=new yr(Sr._buffer);return Ir.elementsCount++,sr(Zt),sr._reglType="elements",sr._elements=wr,sr.subdata=function(Tr,Ze){return Sr.subdata(Tr,Ze),sr},sr.destroy=function(){mt(wr)},sr},createStream:function(Zt){var Xt=Ut.pop();return Xt||(Xt=new yr(ur.create(null,34963,!0,!1)._buffer)),At(Xt,Zt,35040,-1,-1,0,0),Xt},destroyStream:function(Zt){Ut.push(Zt)},getElements:function(Zt){return typeof Zt=="function"&&Zt._elements instanceof yr?Zt._elements:null},clear:function(){be(Mt).forEach(mt)}}}function L(Ct){for(var or=Be.allocType(5123,Ct.length),ur=0;ur<Ct.length;++ur)if(isNaN(Ct[ur]))or[ur]=65535;else if(Ct[ur]===1/0)or[ur]=31744;else if(Ct[ur]===-1/0)or[ur]=64512;else{et[0]=Ct[ur];var At=pt[0],Ir=At>>>31<<15,yr=(At<<1>>>24)-127,At=At>>13&1023;or[ur]=-24>yr?Ir:-14>yr?Ir+(At+1024>>-14-yr):15<yr?Ir+31744:Ir+(yr+15<<10)+At}return or}function I(Ct){return Array.isArray(Ct)||Re(Ct)}function P(Ct){return"[object "+Ct+"]"}function M(Ct){return Array.isArray(Ct)&&(Ct.length===0||typeof Ct[0]=="number")}function F(Ct){return!!(Array.isArray(Ct)&&Ct.length!==0&&I(Ct[0]))}function N(Ct){return Object.prototype.toString.call(Ct)}function T(Ct){if(!Ct)return!1;var or=N(Ct);return 0<=He.indexOf(or)?!0:M(Ct)||F(Ct)||x(Ct)}function D(Ct,or){Ct.type===36193?(Ct.data=L(or),Be.freeType(or)):Ct.data=or}function O(Ct,or,ur,Ir,yr,At){if(Ct=typeof Se[Ct]<"u"?Se[Ct]:bt[Ct]*Ce[or],At&&(Ct*=6),yr){for(Ir=0;1<=ur;)Ir+=Ct*ur*ur,ur/=2;return Ir}return Ct*ur*Ir}function U(Ct,or,ur,Ir,yr,At,mt){function Mt(){this.format=this.internalformat=6408,this.type=5121,this.flipY=this.premultiplyAlpha=this.compressed=!1,this.unpackAlignment=1,this.colorSpace=37444,this.channels=this.height=this.width=0}function Pt(Fr,vn){Fr.internalformat=vn.internalformat,Fr.format=vn.format,Fr.type=vn.type,Fr.compressed=vn.compressed,Fr.premultiplyAlpha=vn.premultiplyAlpha,Fr.flipY=vn.flipY,Fr.unpackAlignment=vn.unpackAlignment,Fr.colorSpace=vn.colorSpace,Fr.width=vn.width,Fr.height=vn.height,Fr.channels=vn.channels}function Ht(Fr,vn){if(typeof vn=="object"&&vn){"premultiplyAlpha"in vn&&(Fr.premultiplyAlpha=vn.premultiplyAlpha),"flipY"in vn&&(Fr.flipY=vn.flipY),"alignment"in vn&&(Fr.unpackAlignment=vn.alignment),"colorSpace"in vn&&(Fr.colorSpace=Bn[vn.colorSpace]),"type"in vn&&(Fr.type=An[vn.type]);var fn=Fr.width,Vn=Fr.height,Sa=Fr.channels,na=!1;"shape"in vn?(fn=vn.shape[0],Vn=vn.shape[1],vn.shape.length===3&&(Sa=vn.shape[2],na=!0)):("radius"in vn&&(fn=Vn=vn.radius),"width"in vn&&(fn=vn.width),"height"in vn&&(Vn=vn.height),"channels"in vn&&(Sa=vn.channels,na=!0)),Fr.width=fn|0,Fr.height=Vn|0,Fr.channels=Sa|0,fn=!1,"format"in vn&&(fn=vn.format,Vn=Fr.internalformat=ta[fn],Fr.format=da[Vn],fn in An&&!("type"in vn)&&(Fr.type=An[fn]),fn in ra&&(Fr.compressed=!0),fn=!0),!na&&fn?Fr.channels=bt[Fr.format]:na&&!fn&&Fr.channels!==_t[Fr.format]&&(Fr.format=Fr.internalformat=_t[Fr.channels])}}function Ut(Fr){Ct.pixelStorei(37440,Fr.flipY),Ct.pixelStorei(37441,Fr.premultiplyAlpha),Ct.pixelStorei(37443,Fr.colorSpace),Ct.pixelStorei(3317,Fr.unpackAlignment)}function Zt(){Mt.call(this),this.yOffset=this.xOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function Xt(Fr,vn){var fn=null;if(T(vn)?fn=vn:vn&&(Ht(Fr,vn),"x"in vn&&(Fr.xOffset=vn.x|0),"y"in vn&&(Fr.yOffset=vn.y|0),T(vn.data)&&(fn=vn.data)),vn.copy){var Vn=yr.viewportWidth,Sa=yr.viewportHeight;Fr.width=Fr.width||Vn-Fr.xOffset,Fr.height=Fr.height||Sa-Fr.yOffset,Fr.needsCopy=!0}else if(!fn)Fr.width=Fr.width||1,Fr.height=Fr.height||1,Fr.channels=Fr.channels||4;else if(Re(fn))Fr.channels=Fr.channels||4,Fr.data=fn,"type"in vn||Fr.type!==5121||(Fr.type=Ke[Object.prototype.toString.call(fn)]|0);else if(M(fn)){switch(Fr.channels=Fr.channels||4,Vn=fn,Sa=Vn.length,Fr.type){case 5121:case 5123:case 5125:case 5126:Sa=Be.allocType(Fr.type,Sa),Sa.set(Vn),Fr.data=Sa;break;case 36193:Fr.data=L(Vn)}Fr.alignment=1,Fr.needsFree=!0}else if(x(fn)){Vn=fn.data,Array.isArray(Vn)||Fr.type!==5121||(Fr.type=Ke[Object.prototype.toString.call(Vn)]|0);var Sa=fn.shape,na=fn.stride,aa,ba,Ua,fi;Sa.length===3?(Ua=Sa[2],fi=na[2]):fi=Ua=1,aa=Sa[0],ba=Sa[1],Sa=na[0],na=na[1],Fr.alignment=1,Fr.width=aa,Fr.height=ba,Fr.channels=Ua,Fr.format=Fr.internalformat=_t[Ua],Fr.needsFree=!0,aa=fi,fn=fn.offset,Ua=Fr.width,fi=Fr.height,ba=Fr.channels;for(var Vi=Be.allocType(Fr.type===36193?5126:Fr.type,Ua*fi*ba),Dr=0,tn=0;tn<fi;++tn)for(var zr=0;zr<Ua;++zr)for(var rn=0;rn<ba;++rn)Vi[Dr++]=Vn[Sa*zr+na*tn+aa*rn+fn];D(Fr,Vi)}else if(N(fn)===Rt||N(fn)===ct||N(fn)===Ve)N(fn)===Rt||N(fn)===ct?Fr.element=fn:Fr.element=fn.canvas,Fr.width=Fr.element.width,Fr.height=Fr.element.height,Fr.channels=4;else if(N(fn)===Qe)Fr.element=fn,Fr.width=fn.width,Fr.height=fn.height,Fr.channels=4;else if(N(fn)===rt)Fr.element=fn,Fr.width=fn.naturalWidth,Fr.height=fn.naturalHeight,Fr.channels=4;else if(N(fn)===qe)Fr.element=fn,Fr.width=fn.videoWidth,Fr.height=fn.videoHeight,Fr.channels=4;else if(F(fn)){for(Vn=Fr.width||fn[0].length,Sa=Fr.height||fn.length,na=Fr.channels,na=I(fn[0][0])?na||fn[0][0].length:na||1,aa=Pe.shape(fn),Ua=1,fi=0;fi<aa.length;++fi)Ua*=aa[fi];Ua=Be.allocType(Fr.type===36193?5126:Fr.type,Ua),Pe.flatten(fn,aa,"",Ua),D(Fr,Ua),Fr.alignment=1,Fr.width=Vn,Fr.height=Sa,Fr.channels=na,Fr.format=Fr.internalformat=_t[na],Fr.needsFree=!0}}function sr(Fr,vn,fn,Vn,Sa){var na=Fr.element,aa=Fr.data,ba=Fr.internalformat,Ua=Fr.format,fi=Fr.type,Vi=Fr.width,Dr=Fr.height;Ut(Fr),na?Ct.texSubImage2D(vn,Sa,fn,Vn,Ua,fi,na):Fr.compressed?Ct.compressedTexSubImage2D(vn,Sa,fn,Vn,ba,Vi,Dr,aa):Fr.needsCopy?(Ir(),Ct.copyTexSubImage2D(vn,Sa,fn,Vn,Fr.xOffset,Fr.yOffset,Vi,Dr)):Ct.texSubImage2D(vn,Sa,fn,Vn,Vi,Dr,Ua,fi,aa)}function Sr(){return _a.pop()||new Zt}function wr(Fr){Fr.needsFree&&Be.freeType(Fr.data),Zt.call(Fr),_a.push(Fr)}function Tr(){Mt.call(this),this.genMipmaps=!1,this.mipmapHint=4352,this.mipmask=0,this.images=Array(16)}function Ze(Fr,vn,fn){var Vn=Fr.images[0]=Sr();Fr.mipmask=1,Vn.width=Fr.width=vn,Vn.height=Fr.height=fn,Vn.channels=Fr.channels=4}function Xe(Fr,vn){var fn=null;if(T(vn))fn=Fr.images[0]=Sr(),Pt(fn,Fr),Xt(fn,vn),Fr.mipmask=1;else if(Ht(Fr,vn),Array.isArray(vn.mipmap))for(var Vn=vn.mipmap,Sa=0;Sa<Vn.length;++Sa)fn=Fr.images[Sa]=Sr(),Pt(fn,Fr),fn.width>>=Sa,fn.height>>=Sa,Xt(fn,Vn[Sa]),Fr.mipmask|=1<<Sa;else fn=Fr.images[0]=Sr(),Pt(fn,Fr),Xt(fn,vn),Fr.mipmask=1;Pt(Fr,Fr.images[0])}function Wt(Fr,vn){for(var fn=Fr.images,Vn=0;Vn<fn.length&&fn[Vn];++Vn){var Sa=fn[Vn],na=vn,aa=Vn,ba=Sa.element,Ua=Sa.data,fi=Sa.internalformat,Vi=Sa.format,Dr=Sa.type,tn=Sa.width,zr=Sa.height;Ut(Sa),ba?Ct.texImage2D(na,aa,Vi,Vi,Dr,ba):Sa.compressed?Ct.compressedTexImage2D(na,aa,fi,tn,zr,0,Ua):Sa.needsCopy?(Ir(),Ct.copyTexImage2D(na,aa,Vi,Sa.xOffset,Sa.yOffset,tn,zr,0)):Ct.texImage2D(na,aa,Vi,tn,zr,0,Vi,Dr,Ua||null)}}function jt(){var Fr=Ya.pop()||new Tr;Mt.call(Fr);for(var vn=Fr.mipmask=0;16>vn;++vn)Fr.images[vn]=null;return Fr}function ar(Fr){for(var vn=Fr.images,fn=0;fn<vn.length;++fn)vn[fn]&&wr(vn[fn]),vn[fn]=null;Ya.push(Fr)}function mr(){this.magFilter=this.minFilter=9728,this.wrapT=this.wrapS=33071,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=4352}function br(Fr,vn){"min"in vn&&(Fr.minFilter=Xr[vn.min],0<=vt.indexOf(Fr.minFilter)&&!("faces"in vn)&&(Fr.genMipmaps=!0)),"mag"in vn&&(Fr.magFilter=Kr[vn.mag]);var fn=Fr.wrapS,Vn=Fr.wrapT;if("wrap"in vn){var Sa=vn.wrap;typeof Sa=="string"?fn=Vn=ln[Sa]:Array.isArray(Sa)&&(fn=ln[Sa[0]],Vn=ln[Sa[1]])}else"wrapS"in vn&&(fn=ln[vn.wrapS]),"wrapT"in vn&&(Vn=ln[vn.wrapT]);if(Fr.wrapS=fn,Fr.wrapT=Vn,"anisotropic"in vn&&(Fr.anisotropic=vn.anisotropic),"mipmap"in vn){switch(fn=!1,typeof vn.mipmap){case"string":Fr.mipmapHint=Ar[vn.mipmap],fn=Fr.genMipmaps=!0;break;case"boolean":fn=Fr.genMipmaps=vn.mipmap;break;case"object":Fr.genMipmaps=!1,fn=!0}!fn||"min"in vn||(Fr.minFilter=9984)}}function fr(Fr,vn){Ct.texParameteri(vn,10241,Fr.minFilter),Ct.texParameteri(vn,10240,Fr.magFilter),Ct.texParameteri(vn,10242,Fr.wrapS),Ct.texParameteri(vn,10243,Fr.wrapT),or.ext_texture_filter_anisotropic&&Ct.texParameteri(vn,34046,Fr.anisotropic),Fr.genMipmaps&&(Ct.hint(33170,Fr.mipmapHint),Ct.generateMipmap(vn))}function Kt(Fr){Mt.call(this),this.mipmask=0,this.internalformat=6408,this.id=di++,this.refCount=1,this.target=Fr,this.texture=Ct.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new mr,mt.profile&&(this.stats={size:0})}function kr(Fr){Ct.activeTexture(33984),Ct.bindTexture(Fr.target,Fr.texture)}function Rr(){var Fr=oi[0];Fr?Ct.bindTexture(Fr.target,Fr.texture):Ct.bindTexture(3553,null)}function Lr(Fr){var vn=Fr.texture,fn=Fr.unit,Vn=Fr.target;0<=fn&&(Ct.activeTexture(33984+fn),Ct.bindTexture(Vn,null),oi[fn]=null),Ct.deleteTexture(vn),Fr.texture=null,Fr.params=null,Fr.pixels=null,Fr.refCount=0,delete ii[Fr.id],At.textureCount--}var Ar={"don't care":4352,"dont care":4352,nice:4354,fast:4353},ln={repeat:10497,clamp:33071,mirror:33648},Kr={nearest:9728,linear:9729},Xr=oe({mipmap:9987,"nearest mipmap nearest":9984,"linear mipmap nearest":9985,"nearest mipmap linear":9986,"linear mipmap linear":9987},Kr),Bn={none:0,browser:37444},An={uint8:5121,rgba4:32819,rgb565:33635,"rgb5 a1":32820},ta={alpha:6406,luminance:6409,"luminance alpha":6410,rgb:6407,rgba:6408,rgba4:32854,"rgb5 a1":32855,rgb565:36194},ra={};or.ext_srgb&&(ta.srgb=35904,ta.srgba=35906),or.oes_texture_float&&(An.float32=An.float=5126),or.oes_texture_half_float&&(An.float16=An["half float"]=36193),or.webgl_depth_texture&&(oe(ta,{depth:6402,"depth stencil":34041}),oe(An,{uint16:5123,uint32:5125,"depth stencil":34042})),or.webgl_compressed_texture_s3tc&&oe(ra,{"rgb s3tc dxt1":33776,"rgba s3tc dxt1":33777,"rgba s3tc dxt3":33778,"rgba s3tc dxt5":33779}),or.webgl_compressed_texture_atc&&oe(ra,{"rgb atc":35986,"rgba atc explicit alpha":35987,"rgba atc interpolated alpha":34798}),or.webgl_compressed_texture_pvrtc&&oe(ra,{"rgb pvrtc 4bppv1":35840,"rgb pvrtc 2bppv1":35841,"rgba pvrtc 4bppv1":35842,"rgba pvrtc 2bppv1":35843}),or.webgl_compressed_texture_etc1&&(ra["rgb etc1"]=36196);var Cr=Array.prototype.slice.call(Ct.getParameter(34467));Object.keys(ra).forEach(function(Fr){var vn=ra[Fr];0<=Cr.indexOf(vn)&&(ta[Fr]=vn)});var Jr=Object.keys(ta);ur.textureFormats=Jr;var un=[];Object.keys(ta).forEach(function(Fr){un[ta[Fr]]=Fr});var sn=[];Object.keys(An).forEach(function(Fr){sn[An[Fr]]=Fr});var Nn=[];Object.keys(Kr).forEach(function(Fr){Nn[Kr[Fr]]=Fr});var Hn=[];Object.keys(Xr).forEach(function(Fr){Hn[Xr[Fr]]=Fr});var $n=[];Object.keys(ln).forEach(function(Fr){$n[ln[Fr]]=Fr});var da=Jr.reduce(function(Fr,vn){var fn=ta[vn];return fn===6409||fn===6406||fn===6409||fn===6410||fn===6402||fn===34041||or.ext_srgb&&(fn===35904||fn===35906)?Fr[fn]=fn:fn===32855||0<=vn.indexOf("rgba")?Fr[fn]=6408:Fr[fn]=6407,Fr},{}),_a=[],Ya=[],di=0,ii={},Za=ur.maxTextureUnits,oi=Array(Za).map(function(){return null});return oe(Kt.prototype,{bind:function(){this.bindCount+=1;var Fr=this.unit;if(0>Fr){for(var vn=0;vn<Za;++vn){var fn=oi[vn];if(fn){if(0<fn.bindCount)continue;fn.unit=-1}oi[vn]=this,Fr=vn;break}mt.profile&&At.maxTextureUnits<Fr+1&&(At.maxTextureUnits=Fr+1),this.unit=Fr,Ct.activeTexture(33984+Fr),Ct.bindTexture(this.target,this.texture)}return Fr},unbind:function(){--this.bindCount},decRef:function(){0>=--this.refCount&&Lr(this)}}),mt.profile&&(At.getTotalTextureSize=function(){var Fr=0;return Object.keys(ii).forEach(function(vn){Fr+=ii[vn].stats.size}),Fr}),{create2D:function(Fr,vn){function fn(Sa,na){var aa=Vn.texInfo;mr.call(aa);var ba=jt();return typeof Sa=="number"?typeof na=="number"?Ze(ba,Sa|0,na|0):Ze(ba,Sa|0,Sa|0):Sa?(br(aa,Sa),Xe(ba,Sa)):Ze(ba,1,1),aa.genMipmaps&&(ba.mipmask=(ba.width<<1)-1),Vn.mipmask=ba.mipmask,Pt(Vn,ba),Vn.internalformat=ba.internalformat,fn.width=ba.width,fn.height=ba.height,kr(Vn),Wt(ba,3553),fr(aa,3553),Rr(),ar(ba),mt.profile&&(Vn.stats.size=O(Vn.internalformat,Vn.type,ba.width,ba.height,aa.genMipmaps,!1)),fn.format=un[Vn.internalformat],fn.type=sn[Vn.type],fn.mag=Nn[aa.magFilter],fn.min=Hn[aa.minFilter],fn.wrapS=$n[aa.wrapS],fn.wrapT=$n[aa.wrapT],fn}var Vn=new Kt(3553);return ii[Vn.id]=Vn,At.textureCount++,fn(Fr,vn),fn.subimage=function(Sa,na,aa,ba){na|=0,aa|=0,ba|=0;var Ua=Sr();return Pt(Ua,Vn),Ua.width=0,Ua.height=0,Xt(Ua,Sa),Ua.width=Ua.width||(Vn.width>>ba)-na,Ua.height=Ua.height||(Vn.height>>ba)-aa,kr(Vn),sr(Ua,3553,na,aa,ba),Rr(),wr(Ua),fn},fn.resize=function(Sa,na){var aa=Sa|0,ba=na|0||aa;if(aa===Vn.width&&ba===Vn.height)return fn;fn.width=Vn.width=aa,fn.height=Vn.height=ba,kr(Vn);for(var Ua=0;Vn.mipmask>>Ua;++Ua){var fi=aa>>Ua,Vi=ba>>Ua;if(!fi||!Vi)break;Ct.texImage2D(3553,Ua,Vn.format,fi,Vi,0,Vn.format,Vn.type,null)}return Rr(),mt.profile&&(Vn.stats.size=O(Vn.internalformat,Vn.type,aa,ba,!1,!1)),fn},fn._reglType="texture2d",fn._texture=Vn,mt.profile&&(fn.stats=Vn.stats),fn.destroy=function(){Vn.decRef()},fn},createCube:function(Fr,vn,fn,Vn,Sa,na){function aa(fi,Vi,Dr,tn,zr,rn){var Xn,ia=ba.texInfo;for(mr.call(ia),Xn=0;6>Xn;++Xn)Ua[Xn]=jt();if(typeof fi=="number"||!fi)for(fi=fi|0||1,Xn=0;6>Xn;++Xn)Ze(Ua[Xn],fi,fi);else if(typeof fi=="object")if(Vi)Xe(Ua[0],fi),Xe(Ua[1],Vi),Xe(Ua[2],Dr),Xe(Ua[3],tn),Xe(Ua[4],zr),Xe(Ua[5],rn);else if(br(ia,fi),Ht(ba,fi),"faces"in fi)for(fi=fi.faces,Xn=0;6>Xn;++Xn)Pt(Ua[Xn],ba),Xe(Ua[Xn],fi[Xn]);else for(Xn=0;6>Xn;++Xn)Xe(Ua[Xn],fi);for(Pt(ba,Ua[0]),ba.mipmask=ia.genMipmaps?(Ua[0].width<<1)-1:Ua[0].mipmask,ba.internalformat=Ua[0].internalformat,aa.width=Ua[0].width,aa.height=Ua[0].height,kr(ba),Xn=0;6>Xn;++Xn)Wt(Ua[Xn],34069+Xn);for(fr(ia,34067),Rr(),mt.profile&&(ba.stats.size=O(ba.internalformat,ba.type,aa.width,aa.height,ia.genMipmaps,!0)),aa.format=un[ba.internalformat],aa.type=sn[ba.type],aa.mag=Nn[ia.magFilter],aa.min=Hn[ia.minFilter],aa.wrapS=$n[ia.wrapS],aa.wrapT=$n[ia.wrapT],Xn=0;6>Xn;++Xn)ar(Ua[Xn]);return aa}var ba=new Kt(34067);ii[ba.id]=ba,At.cubeCount++;var Ua=Array(6);return aa(Fr,vn,fn,Vn,Sa,na),aa.subimage=function(fi,Vi,Dr,tn,zr){Dr|=0,tn|=0,zr|=0;var rn=Sr();return Pt(rn,ba),rn.width=0,rn.height=0,Xt(rn,Vi),rn.width=rn.width||(ba.width>>zr)-Dr,rn.height=rn.height||(ba.height>>zr)-tn,kr(ba),sr(rn,34069+fi,Dr,tn,zr),Rr(),wr(rn),aa},aa.resize=function(fi){if(fi|=0,fi!==ba.width){aa.width=ba.width=fi,aa.height=ba.height=fi,kr(ba);for(var Vi=0;6>Vi;++Vi)for(var Dr=0;ba.mipmask>>Dr;++Dr)Ct.texImage2D(34069+Vi,Dr,ba.format,fi>>Dr,fi>>Dr,0,ba.format,ba.type,null);return Rr(),mt.profile&&(ba.stats.size=O(ba.internalformat,ba.type,aa.width,aa.height,!1,!0)),aa}},aa._reglType="textureCube",aa._texture=ba,mt.profile&&(aa.stats=ba.stats),aa.destroy=function(){ba.decRef()},aa},clear:function(){for(var Fr=0;Fr<Za;++Fr)Ct.activeTexture(33984+Fr),Ct.bindTexture(3553,null),oi[Fr]=null;be(ii).forEach(Lr),At.cubeCount=0,At.textureCount=0},getTexture:function(Fr){return null},restore:function(){for(var Fr=0;Fr<Za;++Fr){var vn=oi[Fr];vn&&(vn.bindCount=0,vn.unit=-1,oi[Fr]=null)}be(ii).forEach(function(fn){fn.texture=Ct.createTexture(),Ct.bindTexture(fn.target,fn.texture);for(var Vn=0;32>Vn;++Vn)if(fn.mipmask&1<<Vn)if(fn.target===3553)Ct.texImage2D(3553,Vn,fn.internalformat,fn.width>>Vn,fn.height>>Vn,0,fn.internalformat,fn.type,null);else for(var Sa=0;6>Sa;++Sa)Ct.texImage2D(34069+Sa,Vn,fn.internalformat,fn.width>>Vn,fn.height>>Vn,0,fn.internalformat,fn.type,null);fr(fn.texInfo,fn.target)})},refresh:function(){for(var Fr=0;Fr<Za;++Fr){var vn=oi[Fr];vn&&(vn.bindCount=0,vn.unit=-1,oi[Fr]=null),Ct.activeTexture(33984+Fr),Ct.bindTexture(3553,null),Ct.bindTexture(34067,null)}}}}function B(Ct,or,ur,Ir,yr,At){function mt(Kt,kr,Rr){this.target=Kt,this.texture=kr,this.renderbuffer=Rr;var Lr=Kt=0;kr?(Kt=kr.width,Lr=kr.height):Rr&&(Kt=Rr.width,Lr=Rr.height),this.width=Kt,this.height=Lr}function Mt(Kt){Kt&&(Kt.texture&&Kt.texture._texture.decRef(),Kt.renderbuffer&&Kt.renderbuffer._renderbuffer.decRef())}function Pt(Kt,kr,Rr){Kt&&(Kt.texture?Kt.texture._texture.refCount+=1:Kt.renderbuffer._renderbuffer.refCount+=1)}function Ht(Kt,kr){kr&&(kr.texture?Ct.framebufferTexture2D(36160,Kt,kr.target,kr.texture._texture.texture,0):Ct.framebufferRenderbuffer(36160,Kt,36161,kr.renderbuffer._renderbuffer.renderbuffer))}function Ut(Kt){var kr=3553,Rr=null,Lr=null,Ar=Kt;return typeof Kt=="object"&&(Ar=Kt.data,"target"in Kt&&(kr=Kt.target|0)),Kt=Ar._reglType,Kt==="texture2d"||Kt==="textureCube"?Rr=Ar:Kt==="renderbuffer"&&(Lr=Ar,kr=36161),new mt(kr,Rr,Lr)}function Zt(Kt,kr,Rr,Lr,Ar){return Rr?(Kt=Ir.create2D({width:Kt,height:kr,format:Lr,type:Ar}),Kt._texture.refCount=0,new mt(3553,Kt,null)):(Kt=yr.create({width:Kt,height:kr,format:Lr}),Kt._renderbuffer.refCount=0,new mt(36161,null,Kt))}function Xt(Kt){return Kt&&(Kt.texture||Kt.renderbuffer)}function sr(Kt,kr,Rr){Kt&&(Kt.texture?Kt.texture.resize(kr,Rr):Kt.renderbuffer&&Kt.renderbuffer.resize(kr,Rr),Kt.width=kr,Kt.height=Rr)}function Sr(){this.id=br++,fr[this.id]=this,this.framebuffer=Ct.createFramebuffer(),this.height=this.width=0,this.colorAttachments=[],this.depthStencilAttachment=this.stencilAttachment=this.depthAttachment=null}function wr(Kt){Kt.colorAttachments.forEach(Mt),Mt(Kt.depthAttachment),Mt(Kt.stencilAttachment),Mt(Kt.depthStencilAttachment)}function Tr(Kt){Ct.deleteFramebuffer(Kt.framebuffer),Kt.framebuffer=null,At.framebufferCount--,delete fr[Kt.id]}function Ze(Kt){var kr;Ct.bindFramebuffer(36160,Kt.framebuffer);var Rr=Kt.colorAttachments;for(kr=0;kr<Rr.length;++kr)Ht(36064+kr,Rr[kr]);for(kr=Rr.length;kr<ur.maxColorAttachments;++kr)Ct.framebufferTexture2D(36160,36064+kr,3553,null,0);Ct.framebufferTexture2D(36160,33306,3553,null,0),Ct.framebufferTexture2D(36160,36096,3553,null,0),Ct.framebufferTexture2D(36160,36128,3553,null,0),Ht(36096,Kt.depthAttachment),Ht(36128,Kt.stencilAttachment),Ht(33306,Kt.depthStencilAttachment),Ct.checkFramebufferStatus(36160),Ct.isContextLost(),Ct.bindFramebuffer(36160,Wt.next?Wt.next.framebuffer:null),Wt.cur=Wt.next,Ct.getError()}function Xe(Kt,kr){function Rr(Ar,ln){var Kr,Xr=0,Bn=0,An=!0,ta=!0;Kr=null;var ra=!0,Cr="rgba",Jr="uint8",un=1,sn=null,Nn=null,Hn=null,$n=!1;typeof Ar=="number"?(Xr=Ar|0,Bn=ln|0||Xr):Ar?("shape"in Ar?(Bn=Ar.shape,Xr=Bn[0],Bn=Bn[1]):("radius"in Ar&&(Xr=Bn=Ar.radius),"width"in Ar&&(Xr=Ar.width),"height"in Ar&&(Bn=Ar.height)),("color"in Ar||"colors"in Ar)&&(Kr=Ar.color||Ar.colors),Kr||("colorCount"in Ar&&(un=Ar.colorCount|0),"colorTexture"in Ar&&(ra=!!Ar.colorTexture,Cr="rgba4"),"colorType"in Ar&&(Jr=Ar.colorType,!ra)&&(Jr==="half float"||Jr==="float16"?Cr="rgba16f":(Jr==="float"||Jr==="float32")&&(Cr="rgba32f")),"colorFormat"in Ar&&(Cr=Ar.colorFormat,0<=jt.indexOf(Cr)?ra=!0:0<=ar.indexOf(Cr)&&(ra=!1))),("depthTexture"in Ar||"depthStencilTexture"in Ar)&&($n=!(!Ar.depthTexture&&!Ar.depthStencilTexture)),"depth"in Ar&&(typeof Ar.depth=="boolean"?An=Ar.depth:(sn=Ar.depth,ta=!1)),"stencil"in Ar&&(typeof Ar.stencil=="boolean"?ta=Ar.stencil:(Nn=Ar.stencil,An=!1)),"depthStencil"in Ar&&(typeof Ar.depthStencil=="boolean"?An=ta=Ar.depthStencil:(Hn=Ar.depthStencil,ta=An=!1))):Xr=Bn=1;var da=null,_a=null,Ya=null,di=null;if(Array.isArray(Kr))da=Kr.map(Ut);else if(Kr)da=[Ut(Kr)];else for(da=Array(un),Kr=0;Kr<un;++Kr)da[Kr]=Zt(Xr,Bn,ra,Cr,Jr);for(Xr=Xr||da[0].width,Bn=Bn||da[0].height,sn?_a=Ut(sn):An&&!ta&&(_a=Zt(Xr,Bn,$n,"depth","uint32")),Nn?Ya=Ut(Nn):ta&&!An&&(Ya=Zt(Xr,Bn,!1,"stencil","uint8")),Hn?di=Ut(Hn):!sn&&!Nn&&ta&&An&&(di=Zt(Xr,Bn,$n,"depth stencil","depth stencil")),An=null,Kr=0;Kr<da.length;++Kr)Pt(da[Kr]),da[Kr]&&da[Kr].texture&&(ta=je[da[Kr].texture._texture.format]*Je[da[Kr].texture._texture.type],An===null&&(An=ta));return Pt(_a),Pt(Ya),Pt(di),wr(Lr),Lr.width=Xr,Lr.height=Bn,Lr.colorAttachments=da,Lr.depthAttachment=_a,Lr.stencilAttachment=Ya,Lr.depthStencilAttachment=di,Rr.color=da.map(Xt),Rr.depth=Xt(_a),Rr.stencil=Xt(Ya),Rr.depthStencil=Xt(di),Rr.width=Lr.width,Rr.height=Lr.height,Ze(Lr),Rr}var Lr=new Sr;return At.framebufferCount++,Rr(Kt,kr),oe(Rr,{resize:function(Ar,ln){var Kr=Math.max(Ar|0,1),Xr=Math.max(ln|0||Kr,1);if(Kr===Lr.width&&Xr===Lr.height)return Rr;for(var Bn=Lr.colorAttachments,An=0;An<Bn.length;++An)sr(Bn[An],Kr,Xr);return sr(Lr.depthAttachment,Kr,Xr),sr(Lr.stencilAttachment,Kr,Xr),sr(Lr.depthStencilAttachment,Kr,Xr),Lr.width=Rr.width=Kr,Lr.height=Rr.height=Xr,Ze(Lr),Rr},_reglType:"framebuffer",_framebuffer:Lr,destroy:function(){Tr(Lr),wr(Lr)},use:function(Ar){Wt.setFBO({framebuffer:Rr},Ar)}})}var Wt={cur:null,next:null,dirty:!1,setFBO:null},jt=["rgba"],ar=["rgba4","rgb565","rgb5 a1"];or.ext_srgb&&ar.push("srgba"),or.ext_color_buffer_half_float&&ar.push("rgba16f","rgb16f"),or.webgl_color_buffer_float&&ar.push("rgba32f");var mr=["uint8"];or.oes_texture_half_float&&mr.push("half float","float16"),or.oes_texture_float&&mr.push("float","float32");var br=0,fr={};return oe(Wt,{getFramebuffer:function(Kt){return typeof Kt=="function"&&Kt._reglType==="framebuffer"&&(Kt=Kt._framebuffer,Kt instanceof Sr)?Kt:null},create:Xe,createCube:function(Kt){function kr(Lr){var Ar,ln={color:null},Kr=0,Xr=null;Ar="rgba";var Bn="uint8",An=1;if(typeof Lr=="number"?Kr=Lr|0:Lr?("shape"in Lr?Kr=Lr.shape[0]:("radius"in Lr&&(Kr=Lr.radius|0),"width"in Lr?Kr=Lr.width|0:"height"in Lr&&(Kr=Lr.height|0)),("color"in Lr||"colors"in Lr)&&(Xr=Lr.color||Lr.colors),Xr||("colorCount"in Lr&&(An=Lr.colorCount|0),"colorType"in Lr&&(Bn=Lr.colorType),"colorFormat"in Lr&&(Ar=Lr.colorFormat)),"depth"in Lr&&(ln.depth=Lr.depth),"stencil"in Lr&&(ln.stencil=Lr.stencil),"depthStencil"in Lr&&(ln.depthStencil=Lr.depthStencil)):Kr=1,Xr)if(Array.isArray(Xr))for(Lr=[],Ar=0;Ar<Xr.length;++Ar)Lr[Ar]=Xr[Ar];else Lr=[Xr];else for(Lr=Array(An),Xr={radius:Kr,format:Ar,type:Bn},Ar=0;Ar<An;++Ar)Lr[Ar]=Ir.createCube(Xr);for(ln.color=Array(Lr.length),Ar=0;Ar<Lr.length;++Ar)An=Lr[Ar],Kr=Kr||An.width,ln.color[Ar]={target:34069,data:Lr[Ar]};for(Ar=0;6>Ar;++Ar){for(An=0;An<Lr.length;++An)ln.color[An].target=34069+Ar;0<Ar&&(ln.depth=Rr[0].depth,ln.stencil=Rr[0].stencil,ln.depthStencil=Rr[0].depthStencil),Rr[Ar]?Rr[Ar](ln):Rr[Ar]=Xe(ln)}return oe(kr,{width:Kr,height:Kr,color:Lr})}var Rr=Array(6);return kr(Kt),oe(kr,{faces:Rr,resize:function(Lr){var Ar=Lr|0;if(Ar===kr.width)return kr;var ln=kr.color;for(Lr=0;Lr<ln.length;++Lr)ln[Lr].resize(Ar);for(Lr=0;6>Lr;++Lr)Rr[Lr].resize(Ar);return kr.width=kr.height=Ar,kr},_reglType:"framebufferCube",destroy:function(){Rr.forEach(function(Lr){Lr.destroy()})}})},clear:function(){be(fr).forEach(Tr)},restore:function(){Wt.cur=null,Wt.next=null,Wt.dirty=!0,be(fr).forEach(function(Kt){Kt.framebuffer=Ct.createFramebuffer(),Ze(Kt)})}})}function Y(){this.w=this.z=this.y=this.x=this.state=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.divisor=this.stride=this.offset=0}function z(Ct,or,ur,Ir,yr,At,mt){function Mt(Ze){if(Ze!==Tr.currentVAO){var Xe=or.oes_vertex_array_object;Ze?Xe.bindVertexArrayOES(Ze.vao):Xe.bindVertexArrayOES(null),Tr.currentVAO=Ze}}function Pt(Ze){if(Ze!==Tr.currentVAO){if(Ze)Ze.bindAttrs();else{for(var Xe=or.angle_instanced_arrays,Wt=0;Wt<sr.length;++Wt){var jt=sr[Wt];jt.buffer?(Ct.enableVertexAttribArray(Wt),jt.buffer.bind(),Ct.vertexAttribPointer(Wt,jt.size,jt.type,jt.normalized,jt.stride,jt.offfset),Xe&&jt.divisor&&Xe.vertexAttribDivisorANGLE(Wt,jt.divisor)):(Ct.disableVertexAttribArray(Wt),Ct.vertexAttrib4f(Wt,jt.x,jt.y,jt.z,jt.w))}mt.elements?Ct.bindBuffer(34963,mt.elements.buffer.buffer):Ct.bindBuffer(34963,null)}Tr.currentVAO=Ze}}function Ht(){be(wr).forEach(function(Ze){Ze.destroy()})}function Ut(){this.id=++Sr,this.attributes=[],this.elements=null,this.ownsElements=!1,this.offset=this.count=0,this.instances=-1,this.primitive=4;var Ze=or.oes_vertex_array_object;this.vao=Ze?Ze.createVertexArrayOES():null,wr[this.id]=this,this.buffers=[]}function Zt(){or.oes_vertex_array_object&&be(wr).forEach(function(Ze){Ze.refresh()})}var Xt=ur.maxAttributes,sr=Array(Xt);for(ur=0;ur<Xt;++ur)sr[ur]=new Y;var Sr=0,wr={},Tr={Record:Y,scope:{},state:sr,currentVAO:null,targetVAO:null,restore:or.oes_vertex_array_object?Zt:function(){},createVAO:function(Ze){function Xe(jt){var ar;Array.isArray(jt)?(ar=jt,Wt.elements&&Wt.ownsElements&&Wt.elements.destroy(),Wt.elements=null,Wt.ownsElements=!1,Wt.offset=0,Wt.count=0,Wt.instances=-1,Wt.primitive=4):(jt.elements?(ar=jt.elements,Wt.ownsElements?(typeof ar=="function"&&ar._reglType==="elements"?Wt.elements.destroy():Wt.elements(ar),Wt.ownsElements=!1):At.getElements(jt.elements)?(Wt.elements=jt.elements,Wt.ownsElements=!1):(Wt.elements=At.create(jt.elements),Wt.ownsElements=!0)):(Wt.elements=null,Wt.ownsElements=!1),ar=jt.attributes,Wt.offset=0,Wt.count=-1,Wt.instances=-1,Wt.primitive=4,Wt.elements&&(Wt.count=Wt.elements._elements.vertCount,Wt.primitive=Wt.elements._elements.primType),"offset"in jt&&(Wt.offset=jt.offset|0),"count"in jt&&(Wt.count=jt.count|0),"instances"in jt&&(Wt.instances=jt.instances|0),"primitive"in jt&&(Wt.primitive=tt[jt.primitive])),jt={};var mr=Wt.attributes;mr.length=ar.length;for(var br=0;br<ar.length;++br){var fr=ar[br],Kt=mr[br]=new Y,kr=fr.data||fr;if(Array.isArray(kr)||Re(kr)||x(kr)){var Rr;Wt.buffers[br]&&(Rr=Wt.buffers[br],Re(kr)&&Rr._buffer.byteLength>=kr.byteLength?Rr.subdata(kr):(Rr.destroy(),Wt.buffers[br]=null)),Wt.buffers[br]||(Rr=Wt.buffers[br]=yr.create(fr,34962,!1,!0)),Kt.buffer=yr.getBuffer(Rr),Kt.size=Kt.buffer.dimension|0,Kt.normalized=!1,Kt.type=Kt.buffer.dtype,Kt.offset=0,Kt.stride=0,Kt.divisor=0,Kt.state=1,jt[br]=1}else yr.getBuffer(fr)?(Kt.buffer=yr.getBuffer(fr),Kt.size=Kt.buffer.dimension|0,Kt.normalized=!1,Kt.type=Kt.buffer.dtype,Kt.offset=0,Kt.stride=0,Kt.divisor=0,Kt.state=1):yr.getBuffer(fr.buffer)?(Kt.buffer=yr.getBuffer(fr.buffer),Kt.size=(+fr.size||Kt.buffer.dimension)|0,Kt.normalized=!!fr.normalized||!1,Kt.type="type"in fr?ze[fr.type]:Kt.buffer.dtype,Kt.offset=(fr.offset||0)|0,Kt.stride=(fr.stride||0)|0,Kt.divisor=(fr.divisor||0)|0,Kt.state=1):"x"in fr&&(Kt.x=+fr.x||0,Kt.y=+fr.y||0,Kt.z=+fr.z||0,Kt.w=+fr.w||0,Kt.state=2)}for(Rr=0;Rr<Wt.buffers.length;++Rr)!jt[Rr]&&Wt.buffers[Rr]&&(Wt.buffers[Rr].destroy(),Wt.buffers[Rr]=null);return Wt.refresh(),Xe}var Wt=new Ut;return Ir.vaoCount+=1,Xe.destroy=function(){for(var jt=0;jt<Wt.buffers.length;++jt)Wt.buffers[jt]&&Wt.buffers[jt].destroy();Wt.buffers.length=0,Wt.ownsElements&&(Wt.elements.destroy(),Wt.elements=null,Wt.ownsElements=!1),Wt.destroy()},Xe._vao=Wt,Xe._reglType="vao",Xe(Ze)},getVAO:function(Ze){return typeof Ze=="function"&&Ze._vao?Ze._vao:null},destroyBuffer:function(Ze){for(var Xe=0;Xe<sr.length;++Xe){var Wt=sr[Xe];Wt.buffer===Ze&&(Ct.disableVertexAttribArray(Xe),Wt.buffer=null)}},setVAO:or.oes_vertex_array_object?Mt:Pt,clear:or.oes_vertex_array_object?Ht:function(){}};return Ut.prototype.bindAttrs=function(){for(var Ze=or.angle_instanced_arrays,Xe=this.attributes,Wt=0;Wt<Xe.length;++Wt){var jt=Xe[Wt];jt.buffer?(Ct.enableVertexAttribArray(Wt),Ct.bindBuffer(34962,jt.buffer.buffer),Ct.vertexAttribPointer(Wt,jt.size,jt.type,jt.normalized,jt.stride,jt.offset),Ze&&jt.divisor&&Ze.vertexAttribDivisorANGLE(Wt,jt.divisor)):(Ct.disableVertexAttribArray(Wt),Ct.vertexAttrib4f(Wt,jt.x,jt.y,jt.z,jt.w))}for(Ze=Xe.length;Ze<Xt;++Ze)Ct.disableVertexAttribArray(Ze);(Ze=At.getElements(this.elements))?Ct.bindBuffer(34963,Ze.buffer.buffer):Ct.bindBuffer(34963,null)},Ut.prototype.refresh=function(){var Ze=or.oes_vertex_array_object;Ze&&(Ze.bindVertexArrayOES(this.vao),this.bindAttrs(),Tr.currentVAO=null,Ze.bindVertexArrayOES(null))},Ut.prototype.destroy=function(){if(this.vao){var Ze=or.oes_vertex_array_object;this===Tr.currentVAO&&(Tr.currentVAO=null,Ze.bindVertexArrayOES(null)),Ze.deleteVertexArrayOES(this.vao),this.vao=null}this.ownsElements&&(this.elements.destroy(),this.elements=null,this.ownsElements=!1),wr[this.id]&&(delete wr[this.id],--Ir.vaoCount)},Tr}function V(Ct,or,ur,Ir){function yr(Sr,wr,Tr,Ze){this.name=Sr,this.id=wr,this.location=Tr,this.info=Ze}function At(Sr,wr){for(var Tr=0;Tr<Sr.length;++Tr)if(Sr[Tr].id===wr.id){Sr[Tr].location=wr.location;return}Sr.push(wr)}function mt(Sr,wr,Tr){Tr=Sr===35632?Ht:Ut;var Ze=Tr[wr];if(!Ze){var Xe=or.str(wr),Ze=Ct.createShader(Sr);Ct.shaderSource(Ze,Xe),Ct.compileShader(Ze),Tr[wr]=Ze}return Ze}function Mt(Sr,wr){this.id=sr++,this.fragId=Sr,this.vertId=wr,this.program=null,this.uniforms=[],this.attributes=[],this.refCount=1,Ir.profile&&(this.stats={uniformsCount:0,attributesCount:0})}function Pt(Sr,wr,Tr){var Ze;Ze=mt(35632,Sr.fragId);var Xe=mt(35633,Sr.vertId);if(wr=Sr.program=Ct.createProgram(),Ct.attachShader(wr,Ze),Ct.attachShader(wr,Xe),Tr)for(Ze=0;Ze<Tr.length;++Ze)Xe=Tr[Ze],Ct.bindAttribLocation(wr,Xe[0],Xe[1]);Ct.linkProgram(wr),Xe=Ct.getProgramParameter(wr,35718),Ir.profile&&(Sr.stats.uniformsCount=Xe);var Wt=Sr.uniforms;for(Ze=0;Ze<Xe;++Ze)if(Tr=Ct.getActiveUniform(wr,Ze))if(1<Tr.size)for(var jt=0;jt<Tr.size;++jt){var ar=Tr.name.replace("[0]","["+jt+"]");At(Wt,new yr(ar,or.id(ar),Ct.getUniformLocation(wr,ar),Tr))}else At(Wt,new yr(Tr.name,or.id(Tr.name),Ct.getUniformLocation(wr,Tr.name),Tr));for(Xe=Ct.getProgramParameter(wr,35721),Ir.profile&&(Sr.stats.attributesCount=Xe),Sr=Sr.attributes,Ze=0;Ze<Xe;++Ze)(Tr=Ct.getActiveAttrib(wr,Ze))&&At(Sr,new yr(Tr.name,or.id(Tr.name),Ct.getAttribLocation(wr,Tr.name),Tr))}var Ht={},Ut={},Zt={},Xt=[],sr=0;return Ir.profile&&(ur.getMaxUniformsCount=function(){var Sr=0;return Xt.forEach(function(wr){wr.stats.uniformsCount>Sr&&(Sr=wr.stats.uniformsCount)}),Sr},ur.getMaxAttributesCount=function(){var Sr=0;return Xt.forEach(function(wr){wr.stats.attributesCount>Sr&&(Sr=wr.stats.attributesCount)}),Sr}),{clear:function(){var Sr=Ct.deleteShader.bind(Ct);be(Ht).forEach(Sr),Ht={},be(Ut).forEach(Sr),Ut={},Xt.forEach(function(wr){Ct.deleteProgram(wr.program)}),Xt.length=0,Zt={},ur.shaderCount=0},program:function(Sr,wr,Tr,Ze){var Xe=Zt[wr];Xe||(Xe=Zt[wr]={});var Wt=Xe[Sr];if(Wt&&(Wt.refCount++,!Ze))return Wt;var jt=new Mt(wr,Sr);return ur.shaderCount++,Pt(jt,Tr,Ze),Wt||(Xe[Sr]=jt),Xt.push(jt),oe(jt,{destroy:function(){if(jt.refCount--,0>=jt.refCount){Ct.deleteProgram(jt.program);var ar=Xt.indexOf(jt);Xt.splice(ar,1),ur.shaderCount--}0>=Xe[jt.vertId].refCount&&(Ct.deleteShader(Ut[jt.vertId]),delete Ut[jt.vertId],delete Zt[jt.fragId][jt.vertId]),Object.keys(Zt[jt.fragId]).length||(Ct.deleteShader(Ht[jt.fragId]),delete Ht[jt.fragId],delete Zt[jt.fragId])}})},restore:function(){Ht={},Ut={};for(var Sr=0;Sr<Xt.length;++Sr)Pt(Xt[Sr],null,Xt[Sr].attributes.map(function(wr){return[wr.location,wr.name]}))},shader:mt,frag:-1,vert:-1}}function j(Ct,or,ur,Ir,yr,At,mt){function Mt(Ht){var Ut;Ut=or.next===null?5121:or.next.colorAttachments[0].texture._texture.type;var Zt=0,Xt=0,sr=Ir.framebufferWidth,Sr=Ir.framebufferHeight,wr=null;return Re(Ht)?wr=Ht:Ht&&(Zt=Ht.x|0,Xt=Ht.y|0,sr=(Ht.width||Ir.framebufferWidth-Zt)|0,Sr=(Ht.height||Ir.framebufferHeight-Xt)|0,wr=Ht.data||null),ur(),Ht=sr*Sr*4,wr||(Ut===5121?wr=new Uint8Array(Ht):Ut===5126&&(wr=wr||new Float32Array(Ht))),Ct.pixelStorei(3333,4),Ct.readPixels(Zt,Xt,sr,Sr,6408,Ut,wr),wr}function Pt(Ht){var Ut;return or.setFBO({framebuffer:Ht.framebuffer},function(){Ut=Mt(Ht)}),Ut}return function(Ht){return Ht&&"framebuffer"in Ht?Pt(Ht):Mt(Ht)}}function G(Ct){for(var or=Array(Ct.length>>2),Ir=0;Ir<or.length;Ir++)or[Ir]=0;for(Ir=0;Ir<8*Ct.length;Ir+=8)or[Ir>>5]|=(Ct.charCodeAt(Ir/8)&255)<<24-Ir%32;var ur=8*Ct.length;Ct=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225];var Ir=Array(64),yr,At,mt,Mt,Pt,Ht,Ut,Zt,Xt,sr,Sr;for(or[ur>>5]|=128<<24-ur%32,or[(ur+64>>9<<4)+15]=ur,Zt=0;Zt<or.length;Zt+=16){for(ur=Ct[0],yr=Ct[1],At=Ct[2],mt=Ct[3],Mt=Ct[4],Pt=Ct[5],Ht=Ct[6],Ut=Ct[7],Xt=0;64>Xt;Xt++){if(16>Xt)Ir[Xt]=or[Xt+Zt];else{sr=Xt,Sr=Ir[Xt-2],Sr=Q(Sr,17)^Q(Sr,19)^Sr>>>10,Sr=ae(Sr,Ir[Xt-7]);var wr;wr=Ir[Xt-15],wr=Q(wr,7)^Q(wr,18)^wr>>>3,Ir[sr]=ae(ae(Sr,wr),Ir[Xt-16])}sr=Mt,sr=Q(sr,6)^Q(sr,11)^Q(sr,25),sr=ae(ae(ae(ae(Ut,sr),Mt&Pt^~Mt&Ht),ut[Xt]),Ir[Xt]),Ut=ur,Ut=Q(Ut,2)^Q(Ut,13)^Q(Ut,22),Sr=ae(Ut,ur&yr^ur&At^yr&At),Ut=Ht,Ht=Pt,Pt=Mt,Mt=ae(mt,sr),mt=At,At=yr,yr=ur,ur=ae(sr,Sr)}Ct[0]=ae(ur,Ct[0]),Ct[1]=ae(yr,Ct[1]),Ct[2]=ae(At,Ct[2]),Ct[3]=ae(mt,Ct[3]),Ct[4]=ae(Mt,Ct[4]),Ct[5]=ae(Pt,Ct[5]),Ct[6]=ae(Ht,Ct[6]),Ct[7]=ae(Ut,Ct[7])}for(or="",Ir=0;Ir<32*Ct.length;Ir+=8)or+=String.fromCharCode(Ct[Ir>>5]>>>24-Ir%32&255);return or}function W(Ct){for(var or="",ur,Ir=0;Ir<Ct.length;Ir++)ur=Ct.charCodeAt(Ir),or+="0123456789abcdef".charAt(ur>>>4&15)+"0123456789abcdef".charAt(ur&15);return or}function X(Ct){for(var or="",ur=-1,Ir,yr;++ur<Ct.length;)Ir=Ct.charCodeAt(ur),yr=ur+1<Ct.length?Ct.charCodeAt(ur+1):0,55296<=Ir&&56319>=Ir&&56320<=yr&&57343>=yr&&(Ir=65536+((Ir&1023)<<10)+(yr&1023),ur++),127>=Ir?or+=String.fromCharCode(Ir):2047>=Ir?or+=String.fromCharCode(192|Ir>>>6&31,128|Ir&63):65535>=Ir?or+=String.fromCharCode(224|Ir>>>12&15,128|Ir>>>6&63,128|Ir&63):2097151>=Ir&&(or+=String.fromCharCode(240|Ir>>>18&7,128|Ir>>>12&63,128|Ir>>>6&63,128|Ir&63));return or}function Q(Ct,or){return Ct>>>or|Ct<<32-or}function ae(Ct,or){var ur=(Ct&65535)+(or&65535);return(Ct>>16)+(or>>16)+(ur>>16)<<16|ur&65535}function ie(Ct){return Array.prototype.slice.call(Ct)}function he(Ct){return ie(Ct).join("")}function J(Ct){function or(){var Ut=[],Zt=[];return oe(function(){Ut.push.apply(Ut,ie(arguments))},{def:function(){var Xt="v"+yr++;return Zt.push(Xt),0<arguments.length&&(Ut.push(Xt,"="),Ut.push.apply(Ut,ie(arguments)),Ut.push(";")),Xt},toString:function(){return he([0<Zt.length?"var "+Zt.join(",")+";":"",he(Ut)])}})}function ur(){function Ut(wr,Tr){Xt(wr,Tr,"=",Zt.def(wr,Tr),";")}var Zt=or(),Xt=or(),sr=Zt.toString,Sr=Xt.toString;return oe(function(){Zt.apply(Zt,ie(arguments))},{def:Zt.def,entry:Zt,exit:Xt,save:Ut,set:function(wr,Tr,Ze){Ut(wr,Tr),Zt(wr,Tr,"=",Ze,";")},toString:function(){return sr()+Sr()}})}var Ir=Ct&&Ct.cache,yr=0,At=[],mt=[],Mt=[],Pt=or(),Ht={};return{global:Pt,link:function(Ut,Zt){var Xt=Zt&&Zt.stable;if(!Xt){for(var sr=0;sr<mt.length;++sr)if(mt[sr]===Ut&&!Mt[sr])return At[sr]}return sr="g"+yr++,At.push(sr),mt.push(Ut),Mt.push(Xt),sr},block:or,proc:function(Ut,Zt){function Xt(){var Tr="a"+sr.length;return sr.push(Tr),Tr}var sr=[];Zt=Zt||0;for(var Sr=0;Sr<Zt;++Sr)Xt();var Sr=ur(),wr=Sr.toString;return Ht[Ut]=oe(Sr,{arg:Xt,toString:function(){return he(["function(",sr.join(),"){",wr(),"}"])}})},scope:ur,cond:function(){var Ut=he(arguments),Zt=ur(),Xt=ur(),sr=Zt.toString,Sr=Xt.toString;return oe(Zt,{then:function(){return Zt.apply(Zt,ie(arguments)),this},else:function(){return Xt.apply(Xt,ie(arguments)),this},toString:function(){var wr=Sr();return wr&&(wr="else{"+wr+"}"),he(["if(",Ut,"){",sr(),"}",wr])}})},compile:function(){var Ut=['"use strict";',Pt,"return {"];Object.keys(Ht).forEach(function(sr){Ut.push('"',sr,'":',Ht[sr].toString(),",")}),Ut.push("}");var Zt=he(Ut).replace(/;/g,`;
`).replace(/}/g,`}
`).replace(/{/g,`{
`),Xt;return Ir&&(Xt=W(G(X(Zt))),Ir[Xt])?Ir[Xt].apply(null,mt):(Zt=Function.apply(null,At.concat(Zt)),Ir&&(Ir[Xt]=Zt),Zt.apply(null,mt))}}}function Z(Ct){return Array.isArray(Ct)||Re(Ct)||x(Ct)}function le(Ct){return Ct.sort(function(or,ur){return or==="viewport"?-1:ur==="viewport"?1:or<ur?-1:1})}function K(Ct,or,ur,Ir){this.thisDep=Ct,this.contextDep=or,this.propDep=ur,this.append=Ir}function te(Ct){return Ct&&!(Ct.thisDep||Ct.contextDep||Ct.propDep)}function ce(Ct){return new K(!1,!1,!1,Ct)}function re(Ct,or){var ur=Ct.type;if(ur===0)return ur=Ct.data.length,new K(!0,1<=ur,2<=ur,or);if(ur===4)return ur=Ct.data,new K(ur.thisDep,ur.contextDep,ur.propDep,or);if(ur===5)return new K(!1,!1,!1,or);if(ur===6){for(var Ir=ur=!1,yr=!1,At=0;At<Ct.data.length;++At){var mt=Ct.data[At];mt.type===1?yr=!0:mt.type===2?Ir=!0:mt.type===3?ur=!0:mt.type===0?(ur=!0,mt=mt.data,1<=mt&&(Ir=!0),2<=mt&&(yr=!0)):mt.type===4&&(ur=ur||mt.data.thisDep,Ir=Ir||mt.data.contextDep,yr=yr||mt.data.propDep)}return new K(ur,Ir,yr,or)}return new K(ur===3,ur===2,ur===1,or)}function ee(Ct,or,ur,Ir,yr,At,mt,Mt,Pt,Ht,Ut,Zt,Xt,sr,Sr,wr){function Tr(Dr){return Dr.replace(".","_")}function Ze(Dr,tn,zr){var rn=Tr(Dr);na.push(Dr),Sa[rn]=Vn[rn]=!!zr,aa[rn]=tn}function Xe(Dr,tn,zr){var rn=Tr(Dr);na.push(Dr),Array.isArray(zr)?(Vn[rn]=zr.slice(),Sa[rn]=zr.slice()):Vn[rn]=Sa[rn]=zr,ba[rn]=tn}function Wt(){var Dr=J({cache:Sr}),tn=Dr.link,zr=Dr.global;Dr.id=Vi++,Dr.batchId="0";var rn=tn(Ua),Xn=Dr.shared={props:"a0"};Object.keys(Ua).forEach(function(mn){Xn[mn]=zr.def(rn,".",mn)});var ia=Dr.next={},zn=Dr.current={};Object.keys(ba).forEach(function(mn){Array.isArray(Vn[mn])&&(ia[mn]=zr.def(Xn.next,".",mn),zn[mn]=zr.def(Xn.current,".",mn))});var Ln=Dr.constants={};Object.keys(fi).forEach(function(mn){Ln[mn]=zr.def(JSON.stringify(fi[mn]))}),Dr.invoke=function(mn,cn){switch(cn.type){case 0:var bn=["this",Xn.context,Xn.props,Dr.batchId];return mn.def(tn(cn.data),".call(",bn.slice(0,Math.max(cn.data.length+1,4)),")");case 1:return mn.def(Xn.props,cn.data);case 2:return mn.def(Xn.context,cn.data);case 3:return mn.def("this",cn.data);case 4:return cn.data.append(Dr,mn),cn.data.ref;case 5:return cn.data.toString();case 6:return cn.data.map(function(qn){return Dr.invoke(mn,qn)})}},Dr.attribCache={};var Hr={};return Dr.scopeAttrib=function(mn){if(mn=or.id(mn),mn in Hr)return Hr[mn];var cn=Ht.scope[mn];return cn||(cn=Ht.scope[mn]=new Za),Hr[mn]=tn(cn)},Dr}function jt(Dr){var tn=Dr.static;Dr=Dr.dynamic;var zr;if("profile"in tn){var rn=!!tn.profile;zr=ce(function(ia,zn){return rn}),zr.enable=rn}else if("profile"in Dr){var Xn=Dr.profile;zr=re(Xn,function(ia,zn){return ia.invoke(zn,Xn)})}return zr}function ar(Dr,tn){var zr=Dr.static,rn=Dr.dynamic;if("framebuffer"in zr){var Xn=zr.framebuffer;return Xn?(Xn=Mt.getFramebuffer(Xn),ce(function(zn,Ln){var Hr=zn.link(Xn),mn=zn.shared;return Ln.set(mn.framebuffer,".next",Hr),mn=mn.context,Ln.set(mn,".framebufferWidth",Hr+".width"),Ln.set(mn,".framebufferHeight",Hr+".height"),Hr})):ce(function(zn,Ln){var Hr=zn.shared;return Ln.set(Hr.framebuffer,".next","null"),Hr=Hr.context,Ln.set(Hr,".framebufferWidth",Hr+".drawingBufferWidth"),Ln.set(Hr,".framebufferHeight",Hr+".drawingBufferHeight"),"null"})}if("framebuffer"in rn){var ia=rn.framebuffer;return re(ia,function(zn,Ln){var cn=zn.invoke(Ln,ia),Hr=zn.shared,mn=Hr.framebuffer,cn=Ln.def(mn,".getFramebuffer(",cn,")");return Ln.set(mn,".next",cn),Hr=Hr.context,Ln.set(Hr,".framebufferWidth",cn+"?"+cn+".width:"+Hr+".drawingBufferWidth"),Ln.set(Hr,".framebufferHeight",cn+"?"+cn+".height:"+Hr+".drawingBufferHeight"),cn})}return null}function mr(Dr,tn,zr){function rn(Ln){if(Ln in Xn){var Hr=Xn[Ln];Ln=!0;var mn=Hr.x|0,cn=Hr.y|0,bn,qn;return"width"in Hr?bn=Hr.width|0:Ln=!1,"height"in Hr?qn=Hr.height|0:Ln=!1,new K(!Ln&&tn&&tn.thisDep,!Ln&&tn&&tn.contextDep,!Ln&&tn&&tn.propDep,function(ea,Ea){var ya=ea.shared.context,ei=bn;"width"in Hr||(ei=Ea.def(ya,".","framebufferWidth","-",mn));var Wa=qn;return"height"in Hr||(Wa=Ea.def(ya,".","framebufferHeight","-",cn)),[mn,cn,ei,Wa]})}if(Ln in ia){var ua=ia[Ln];return Ln=re(ua,function(ea,Ea){var si=ea.invoke(Ea,ua),ya=ea.shared.context,ei=Ea.def(si,".x|0"),Wa=Ea.def(si,".y|0"),ni=Ea.def('"width" in ',si,"?",si,".width|0:","(",ya,".","framebufferWidth","-",ei,")"),si=Ea.def('"height" in ',si,"?",si,".height|0:","(",ya,".","framebufferHeight","-",Wa,")");return[ei,Wa,ni,si]}),tn&&(Ln.thisDep=Ln.thisDep||tn.thisDep,Ln.contextDep=Ln.contextDep||tn.contextDep,Ln.propDep=Ln.propDep||tn.propDep),Ln}return tn?new K(tn.thisDep,tn.contextDep,tn.propDep,function(ea,Ea){var ya=ea.shared.context;return[0,0,Ea.def(ya,".","framebufferWidth"),Ea.def(ya,".","framebufferHeight")]}):null}var Xn=Dr.static,ia=Dr.dynamic;if(Dr=rn("viewport")){var zn=Dr;Dr=new K(Dr.thisDep,Dr.contextDep,Dr.propDep,function(Ln,Hr){var mn=zn.append(Ln,Hr),cn=Ln.shared.context;return Hr.set(cn,".viewportWidth",mn[2]),Hr.set(cn,".viewportHeight",mn[3]),mn})}return{viewport:Dr,scissor_box:rn("scissor.box")}}function br(Dr,tn){var zr=Dr.static;if(typeof zr.frag=="string"&&typeof zr.vert=="string"){if(0<Object.keys(tn.dynamic).length)return null;var zr=tn.static,rn=Object.keys(zr);if(0<rn.length&&typeof zr[rn[0]]=="number"){for(var Xn=[],ia=0;ia<rn.length;++ia)Xn.push([zr[rn[ia]]|0,rn[ia]]);return Xn}}return null}function fr(Dr,tn,zr){function rn(mn){if(mn in Xn){var cn=or.id(Xn[mn]);return mn=ce(function(){return cn}),mn.id=cn,mn}if(mn in ia){var bn=ia[mn];return re(bn,function(qn,ua){var ea=qn.invoke(ua,bn);return ua.def(qn.shared.strings,".id(",ea,")")})}return null}var Xn=Dr.static,ia=Dr.dynamic,zn=rn("frag"),Ln=rn("vert"),Hr=null;return te(zn)&&te(Ln)?(Hr=Ut.program(Ln.id,zn.id,null,zr),Dr=ce(function(mn,cn){return mn.link(Hr)})):Dr=new K(zn&&zn.thisDep||Ln&&Ln.thisDep,zn&&zn.contextDep||Ln&&Ln.contextDep,zn&&zn.propDep||Ln&&Ln.propDep,function(mn,cn){var bn=mn.shared.shader,qn;qn=zn?zn.append(mn,cn):cn.def(bn,".","frag");var ua;return ua=Ln?Ln.append(mn,cn):cn.def(bn,".","vert"),cn.def(bn+".program("+ua+","+qn+")")}),{frag:zn,vert:Ln,progVar:Dr,program:Hr}}function Kt(Dr,tn){function zr(ea,Ea){if(ea in rn){var ya=rn[ea]|0;return Ea?ia.offset=ya:ia.instances=ya,ce(function(Wa,ni){return Ea&&(Wa.OFFSET=ya),ya})}if(ea in Xn){var ei=Xn[ea];return re(ei,function(Wa,ni){var si=Wa.invoke(ni,ei);return Ea&&(Wa.OFFSET=si),si})}if(Ea){if(Hr)return ce(function(Wa,ni){return Wa.OFFSET=0});if(zn)return new K(Ln.thisDep,Ln.contextDep,Ln.propDep,function(Wa,ni){return ni.def(Wa.shared.vao+".currentVAO?"+Wa.shared.vao+".currentVAO.offset:0")})}else if(zn)return new K(Ln.thisDep,Ln.contextDep,Ln.propDep,function(Wa,ni){return ni.def(Wa.shared.vao+".currentVAO?"+Wa.shared.vao+".currentVAO.instances:-1")});return null}var rn=Dr.static,Xn=Dr.dynamic,ia={},zn=!1,Ln=function(){if("vao"in rn){var ea=rn.vao;return ea!==null&&Ht.getVAO(ea)===null&&(ea=Ht.createVAO(ea)),zn=!0,ia.vao=ea,ce(function(ya){var ei=Ht.getVAO(ea);return ei?ya.link(ei):"null"})}if("vao"in Xn){zn=!0;var Ea=Xn.vao;return re(Ea,function(ya,ei){var Wa=ya.invoke(ei,Ea);return ei.def(ya.shared.vao+".getVAO("+Wa+")")})}return null}(),Hr=!1,mn=function(){if("elements"in rn){var ea=rn.elements;if(ia.elements=ea,Z(ea)){var Ea=ia.elements=At.create(ea,!0),ea=At.getElements(Ea);Hr=!0}else ea&&(ea=At.getElements(ea),Hr=!0);return Ea=ce(function(ei,Wa){if(ea){var ni=ei.link(ea);return ei.ELEMENTS=ni}return ei.ELEMENTS=null}),Ea.value=ea,Ea}if("elements"in Xn){Hr=!0;var ya=Xn.elements;return re(ya,function(ei,Wa){var ni=ei.shared,Uo=ni.isBufferArgs,ni=ni.elements,Fo=ei.invoke(Wa,ya),si=Wa.def("null"),Uo=Wa.def(Uo,"(",Fo,")"),Fo=ei.cond(Uo).then(si,"=",ni,".createStream(",Fo,");").else(si,"=",ni,".getElements(",Fo,");");return Wa.entry(Fo),Wa.exit(ei.cond(Uo).then(ni,".destroyStream(",si,");")),ei.ELEMENTS=si})}return zn?new K(Ln.thisDep,Ln.contextDep,Ln.propDep,function(ei,Wa){return Wa.def(ei.shared.vao+".currentVAO?"+ei.shared.elements+".getElements("+ei.shared.vao+".currentVAO.elements):null")}):null}(),cn=zr("offset",!0),bn=function(){if("primitive"in rn){var ea=rn.primitive;return ia.primitive=ea,ce(function(ya,ei){return tt[ea]})}if("primitive"in Xn){var Ea=Xn.primitive;return re(Ea,function(ya,ei){var Wa=ya.constants.primTypes,ni=ya.invoke(ei,Ea);return ei.def(Wa,"[",ni,"]")})}return Hr?te(mn)?mn.value?ce(function(ya,ei){return ei.def(ya.ELEMENTS,".primType")}):ce(function(){return 4}):new K(mn.thisDep,mn.contextDep,mn.propDep,function(ya,ei){var Wa=ya.ELEMENTS;return ei.def(Wa,"?",Wa,".primType:",4)}):zn?new K(Ln.thisDep,Ln.contextDep,Ln.propDep,function(ya,ei){return ei.def(ya.shared.vao+".currentVAO?"+ya.shared.vao+".currentVAO.primitive:4")}):null}(),qn=function(){if("count"in rn){var ea=rn.count|0;return ia.count=ea,ce(function(){return ea})}if("count"in Xn){var Ea=Xn.count;return re(Ea,function(ya,ei){return ya.invoke(ei,Ea)})}return Hr?te(mn)?mn?cn?new K(cn.thisDep,cn.contextDep,cn.propDep,function(ya,ei){return ei.def(ya.ELEMENTS,".vertCount-",ya.OFFSET)}):ce(function(ya,ei){return ei.def(ya.ELEMENTS,".vertCount")}):ce(function(){return-1}):new K(mn.thisDep||cn.thisDep,mn.contextDep||cn.contextDep,mn.propDep||cn.propDep,function(ya,ei){var Wa=ya.ELEMENTS;return ya.OFFSET?ei.def(Wa,"?",Wa,".vertCount-",ya.OFFSET,":-1"):ei.def(Wa,"?",Wa,".vertCount:-1")}):zn?new K(Ln.thisDep,Ln.contextDep,Ln.propDep,function(ya,ei){return ei.def(ya.shared.vao,".currentVAO?",ya.shared.vao,".currentVAO.count:-1")}):null}(),ua=zr("instances",!1);return{elements:mn,primitive:bn,count:qn,instances:ua,offset:cn,vao:Ln,vaoActive:zn,elementsActive:Hr,static:ia}}function kr(Dr,tn){var zr=Dr.static,rn=Dr.dynamic,Xn={};return na.forEach(function(ia){function zn(Hr,mn){if(ia in zr){var cn=Hr(zr[ia]);Xn[Ln]=ce(function(){return cn})}else if(ia in rn){var bn=rn[ia];Xn[Ln]=re(bn,function(qn,ua){return mn(qn,ua,qn.invoke(ua,bn))})}}var Ln=Tr(ia);switch(ia){case"cull.enable":case"blend.enable":case"dither":case"stencil.enable":case"depth.enable":case"scissor.enable":case"polygonOffset.enable":case"sample.alpha":case"sample.enable":case"depth.mask":return zn(function(Hr){return Hr},function(Hr,mn,cn){return cn});case"depth.func":return zn(function(Hr){return ir[Hr]},function(Hr,mn,cn){return mn.def(Hr.constants.compareFuncs,"[",cn,"]")});case"depth.range":return zn(function(Hr){return Hr},function(Hr,mn,cn){return Hr=mn.def("+",cn,"[0]"),mn=mn.def("+",cn,"[1]"),[Hr,mn]});case"blend.func":return zn(function(Hr){return[nr["srcRGB"in Hr?Hr.srcRGB:Hr.src],nr["dstRGB"in Hr?Hr.dstRGB:Hr.dst],nr["srcAlpha"in Hr?Hr.srcAlpha:Hr.src],nr["dstAlpha"in Hr?Hr.dstAlpha:Hr.dst]]},function(Hr,mn,cn){function bn(Ea,ya){return mn.def('"',Ea,ya,'" in ',cn,"?",cn,".",Ea,ya,":",cn,".",Ea)}Hr=Hr.constants.blendFuncs;var qn=bn("src","RGB"),ea=bn("dst","RGB"),qn=mn.def(Hr,"[",qn,"]"),ua=mn.def(Hr,"[",bn("src","Alpha"),"]"),ea=mn.def(Hr,"[",ea,"]");return Hr=mn.def(Hr,"[",bn("dst","Alpha"),"]"),[qn,ea,ua,Hr]});case"blend.equation":return zn(function(Hr){if(typeof Hr=="string")return[oi[Hr],oi[Hr]];if(typeof Hr=="object")return[oi[Hr.rgb],oi[Hr.alpha]]},function(Hr,mn,cn){var bn=Hr.constants.blendEquations,qn=mn.def(),ua=mn.def();return Hr=Hr.cond("typeof ",cn,'==="string"'),Hr.then(qn,"=",ua,"=",bn,"[",cn,"];"),Hr.else(qn,"=",bn,"[",cn,".rgb];",ua,"=",bn,"[",cn,".alpha];"),mn(Hr),[qn,ua]});case"blend.color":return zn(function(Hr){return d(4,function(mn){return+Hr[mn]})},function(Hr,mn,cn){return d(4,function(bn){return mn.def("+",cn,"[",bn,"]")})});case"stencil.mask":return zn(function(Hr){return Hr|0},function(Hr,mn,cn){return mn.def(cn,"|0")});case"stencil.func":return zn(function(Hr){return[ir[Hr.cmp||"keep"],Hr.ref||0,"mask"in Hr?Hr.mask:-1]},function(Hr,mn,cn){Hr=mn.def('"cmp" in ',cn,"?",Hr.constants.compareFuncs,"[",cn,".cmp]",":",7680);var bn=mn.def(cn,".ref|0");return mn=mn.def('"mask" in ',cn,"?",cn,".mask|0:-1"),[Hr,bn,mn]});case"stencil.opFront":case"stencil.opBack":return zn(function(Hr){return[ia==="stencil.opBack"?1029:1028,It[Hr.fail||"keep"],It[Hr.zfail||"keep"],It[Hr.zpass||"keep"]]},function(Hr,mn,cn){function bn(ua){return mn.def('"',ua,'" in ',cn,"?",qn,"[",cn,".",ua,"]:",7680)}var qn=Hr.constants.stencilOps;return[ia==="stencil.opBack"?1029:1028,bn("fail"),bn("zfail"),bn("zpass")]});case"polygonOffset.offset":return zn(function(Hr){return[Hr.factor|0,Hr.units|0]},function(Hr,mn,cn){return Hr=mn.def(cn,".factor|0"),mn=mn.def(cn,".units|0"),[Hr,mn]});case"cull.face":return zn(function(Hr){var mn=0;return Hr==="front"?mn=1028:Hr==="back"&&(mn=1029),mn},function(Hr,mn,cn){return mn.def(cn,'==="front"?',1028,":",1029)});case"lineWidth":return zn(function(Hr){return Hr},function(Hr,mn,cn){return cn});case"frontFace":return zn(function(Hr){return Gt[Hr]},function(Hr,mn,cn){return mn.def(cn+'==="cw"?2304:2305')});case"colorMask":return zn(function(Hr){return Hr.map(function(mn){return!!mn})},function(Hr,mn,cn){return d(4,function(bn){return"!!"+cn+"["+bn+"]"})});case"sample.coverage":return zn(function(Hr){return["value"in Hr?Hr.value:1,!!Hr.invert]},function(Hr,mn,cn){return Hr=mn.def('"value" in ',cn,"?+",cn,".value:1"),mn=mn.def("!!",cn,".invert"),[Hr,mn]})}}),Xn}function Rr(Dr,tn){var zr=Dr.static,rn=Dr.dynamic,Xn={};return Object.keys(zr).forEach(function(ia){var zn=zr[ia],Ln;if(typeof zn=="number"||typeof zn=="boolean")Ln=ce(function(){return zn});else if(typeof zn=="function"){var Hr=zn._reglType;Hr==="texture2d"||Hr==="textureCube"?Ln=ce(function(mn){return mn.link(zn)}):(Hr==="framebuffer"||Hr==="framebufferCube")&&(Ln=ce(function(mn){return mn.link(zn.color[0])}))}else I(zn)&&(Ln=ce(function(mn){return mn.global.def("[",d(zn.length,function(cn){return zn[cn]}),"]")}));Ln.value=zn,Xn[ia]=Ln}),Object.keys(rn).forEach(function(ia){var zn=rn[ia];Xn[ia]=re(zn,function(Ln,Hr){return Ln.invoke(Hr,zn)})}),Xn}function Lr(Dr,tn){var zr=Dr.static,rn=Dr.dynamic,Xn={};return Object.keys(zr).forEach(function(ia){var zn=zr[ia],Ln=or.id(ia),Hr=new Za;if(Z(zn))Hr.state=1,Hr.buffer=yr.getBuffer(yr.create(zn,34962,!1,!0)),Hr.type=0;else{var mn=yr.getBuffer(zn);if(mn)Hr.state=1,Hr.buffer=mn,Hr.type=0;else if("constant"in zn){var cn=zn.constant;Hr.buffer="null",Hr.state=2,typeof cn=="number"?Hr.x=cn:Et.forEach(function(ya,ei){ei<cn.length&&(Hr[ya]=cn[ei])})}else{var mn=Z(zn.buffer)?yr.getBuffer(yr.create(zn.buffer,34962,!1,!0)):yr.getBuffer(zn.buffer),bn=zn.offset|0,qn=zn.stride|0,ua=zn.size|0,ea=!!zn.normalized,Ea=0;"type"in zn&&(Ea=ze[zn.type]),zn=zn.divisor|0,Hr.buffer=mn,Hr.state=1,Hr.size=ua,Hr.normalized=ea,Hr.type=Ea||mn.dtype,Hr.offset=bn,Hr.stride=qn,Hr.divisor=zn}}Xn[ia]=ce(function(ya,ei){var Wa=ya.attribCache;if(Ln in Wa)return Wa[Ln];var ni={isStream:!1};return Object.keys(Hr).forEach(function(si){ni[si]=Hr[si]}),Hr.buffer&&(ni.buffer=ya.link(Hr.buffer),ni.type=ni.type||ni.buffer+".dtype"),Wa[Ln]=ni})}),Object.keys(rn).forEach(function(ia){var zn=rn[ia];Xn[ia]=re(zn,function(Ln,Hr){function mn(Wa){Hr(ea[Wa],"=",cn,".",Wa,"|0;")}var cn=Ln.invoke(Hr,zn),ua=Ln.shared,bn=Ln.constants,qn=ua.isBufferArgs,ua=ua.buffer,ea={isStream:Hr.def(!1)},Ea=new Za;Ea.state=1,Object.keys(Ea).forEach(function(Wa){ea[Wa]=Hr.def(""+Ea[Wa])});var ya=ea.buffer,ei=ea.type;return Hr("if(",qn,"(",cn,")){",ea.isStream,"=true;",ya,"=",ua,".createStream(",34962,",",cn,");",ei,"=",ya,".dtype;","}else{",ya,"=",ua,".getBuffer(",cn,");","if(",ya,"){",ei,"=",ya,".dtype;",'}else if("constant" in ',cn,"){",ea.state,"=",2,";","if(typeof "+cn+'.constant === "number"){',ea[Et[0]],"=",cn,".constant;",Et.slice(1).map(function(Wa){return ea[Wa]}).join("="),"=0;","}else{",Et.map(function(Wa,ni){return ea[Wa]+"="+cn+".constant.length>"+ni+"?"+cn+".constant["+ni+"]:0;"}).join(""),"}}else{","if(",qn,"(",cn,".buffer)){",ya,"=",ua,".createStream(",34962,",",cn,".buffer);","}else{",ya,"=",ua,".getBuffer(",cn,".buffer);","}",ei,'="type" in ',cn,"?",bn.glTypes,"[",cn,".type]:",ya,".dtype;",ea.normalized,"=!!",cn,".normalized;"),mn("size"),mn("offset"),mn("stride"),mn("divisor"),Hr("}}"),Hr.exit("if(",ea.isStream,"){",ua,".destroyStream(",ya,");","}"),ea})}),Xn}function Ar(Dr){var tn=Dr.static,zr=Dr.dynamic,rn={};return Object.keys(tn).forEach(function(Xn){var ia=tn[Xn];rn[Xn]=ce(function(zn,Ln){return typeof ia=="number"||typeof ia=="boolean"?""+ia:zn.link(ia)})}),Object.keys(zr).forEach(function(Xn){var ia=zr[Xn];rn[Xn]=re(ia,function(zn,Ln){return zn.invoke(Ln,ia)})}),rn}function ln(Dr,tn,zr,rn,Xn){function ia(Ea){var ya=Ln[Ea];ya&&(mn[Ea]=ya)}var zn=br(Dr,tn),qn=ar(Dr),Ln=mr(Dr,qn),Hr=Kt(Dr),mn=kr(Dr),cn=fr(Dr,Xn,zn);ia("viewport"),ia(Tr("scissor.box"));var bn=0<Object.keys(mn).length,qn={framebuffer:qn,draw:Hr,shader:cn,state:mn,dirty:bn,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(qn.profile=jt(Dr),qn.uniforms=Rr(zr),qn.drawVAO=qn.scopeVAO=Hr.vao,!qn.drawVAO&&cn.program&&!zn&&ur.angle_instanced_arrays&&Hr.static.elements){var ua=!0;if(Dr=cn.program.attributes.map(function(Ea){return Ea=tn.static[Ea],ua=ua&&!!Ea,Ea}),ua&&0<Dr.length){var ea=Ht.getVAO(Ht.createVAO({attributes:Dr,elements:Hr.static.elements}));qn.drawVAO=new K(null,null,null,function(Ea,ya){return Ea.link(ea)}),qn.useVAO=!0}}return zn?qn.useVAO=!0:qn.attributes=Lr(tn),qn.context=Ar(rn),qn}function Kr(Dr,tn,zr){var rn=Dr.shared.context,Xn=Dr.scope();Object.keys(zr).forEach(function(ia){tn.save(rn,"."+ia);var zn=zr[ia].append(Dr,tn);Array.isArray(zn)?Xn(rn,".",ia,"=[",zn.join(),"];"):Xn(rn,".",ia,"=",zn,";")}),tn(Xn)}function Xr(Dr,tn,zr,rn){var Ln=Dr.shared,Xn=Ln.gl,ia=Ln.framebuffer,zn;vn&&(zn=tn.def(Ln.extensions,".webgl_draw_buffers"));var Hr=Dr.constants,Ln=Hr.drawBuffer,Hr=Hr.backBuffer;Dr=zr?zr.append(Dr,tn):tn.def(ia,".next"),rn||tn("if(",Dr,"!==",ia,".cur){"),tn("if(",Dr,"){",Xn,".bindFramebuffer(",36160,",",Dr,".framebuffer);"),vn&&tn(zn,".drawBuffersWEBGL(",Ln,"[",Dr,".colorAttachments.length]);"),tn("}else{",Xn,".bindFramebuffer(",36160,",null);"),vn&&tn(zn,".drawBuffersWEBGL(",Hr,");"),tn("}",ia,".cur=",Dr,";"),rn||tn("}")}function Bn(Dr,tn,zr){var rn=Dr.shared,Xn=rn.gl,ia=Dr.current,zn=Dr.next,Ln=rn.current,Hr=rn.next,mn=Dr.cond(Ln,".dirty");na.forEach(function(cn){if(cn=Tr(cn),!(cn in zr.state)){var bn,qn;if(cn in zn){bn=zn[cn],qn=ia[cn];var ua=d(Vn[cn].length,function(ea){return mn.def(bn,"[",ea,"]")});mn(Dr.cond(ua.map(function(ea,Ea){return ea+"!=="+qn+"["+Ea+"]"}).join("||")).then(Xn,".",ba[cn],"(",ua,");",ua.map(function(ea,Ea){return qn+"["+Ea+"]="+ea}).join(";"),";"))}else bn=mn.def(Hr,".",cn),ua=Dr.cond(bn,"!==",Ln,".",cn),mn(ua),cn in aa?ua(Dr.cond(bn).then(Xn,".enable(",aa[cn],");").else(Xn,".disable(",aa[cn],");"),Ln,".",cn,"=",bn,";"):ua(Xn,".",ba[cn],"(",bn,");",Ln,".",cn,"=",bn,";")}}),Object.keys(zr.state).length===0&&mn(Ln,".dirty=false;"),tn(mn)}function An(Dr,tn,zr,rn){var Xn=Dr.shared,ia=Dr.current,zn=Xn.current,Ln=Xn.gl,Hr;le(Object.keys(zr)).forEach(function(mn){var cn=zr[mn];if(!rn||rn(cn)){var bn=cn.append(Dr,tn);if(aa[mn]){var qn=aa[mn];te(cn)?(Hr=Dr.link(bn,{stable:!0}),tn(Dr.cond(Hr).then(Ln,".enable(",qn,");").else(Ln,".disable(",qn,");")),tn(zn,".",mn,"=",Hr,";")):(tn(Dr.cond(bn).then(Ln,".enable(",qn,");").else(Ln,".disable(",qn,");")),tn(zn,".",mn,"=",bn,";"))}else if(I(bn)){var ua=ia[mn];tn(Ln,".",ba[mn],"(",bn,");",bn.map(function(ea,Ea){return ua+"["+Ea+"]="+ea}).join(";"),";")}else te(cn)?(Hr=Dr.link(bn,{stable:!0}),tn(Ln,".",ba[mn],"(",Hr,");",zn,".",mn,"=",Hr,";")):tn(Ln,".",ba[mn],"(",bn,");",zn,".",mn,"=",bn,";")}})}function ta(Dr,tn){Fr&&(Dr.instancing=tn.def(Dr.shared.extensions,".angle_instanced_arrays"))}function ra(Dr,tn,zr,rn,Xn){function ia(){return typeof performance>"u"?"Date.now()":"performance.now()"}function zn(Ea){ua=tn.def(),Ea(ua,"=",ia(),";"),typeof Xn=="string"?Ea(cn,".count+=",Xn,";"):Ea(cn,".count++;"),sr&&(rn?(ea=tn.def(),Ea(ea,"=",qn,".getNumPendingQueries();")):Ea(qn,".beginQuery(",cn,");"))}function Ln(Ea){Ea(cn,".cpuTime+=",ia(),"-",ua,";"),sr&&(rn?Ea(qn,".pushScopeStats(",ea,",",qn,".getNumPendingQueries(),",cn,");"):Ea(qn,".endQuery();"))}function Hr(Ea){var ya=tn.def(bn,".profile");tn(bn,".profile=",Ea,";"),tn.exit(bn,".profile=",ya,";")}var mn=Dr.shared,cn=Dr.stats,bn=mn.current,qn=mn.timer;zr=zr.profile;var ua,ea;if(zr){if(te(zr)){zr.enable?(zn(tn),Ln(tn.exit),Hr("true")):Hr("false");return}zr=zr.append(Dr,tn),Hr(zr)}else zr=tn.def(bn,".profile");mn=Dr.block(),zn(mn),tn("if(",zr,"){",mn,"}"),Dr=Dr.block(),Ln(Dr),tn.exit("if(",zr,"){",Dr,"}")}function Cr(Dr,tn,zr,rn,Xn){function ia(Hr){switch(Hr){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}function zn(Hr,mn,cn){function bn(){tn("if(!",Ea,".buffer){",ua,".enableVertexAttribArray(",ea,");}");var ni=cn.type,si;si=cn.size?tn.def(cn.size,"||",mn):mn,tn("if(",Ea,".type!==",ni,"||",Ea,".size!==",si,"||",Wa.map(function(Uo){return Ea+"."+Uo+"!=="+cn[Uo]}).join("||"),"){",ua,".bindBuffer(",34962,",",ya,".buffer);",ua,".vertexAttribPointer(",[ea,si,ni,cn.normalized,cn.stride,cn.offset],");",Ea,".type=",ni,";",Ea,".size=",si,";",Wa.map(function(Uo){return Ea+"."+Uo+"="+cn[Uo]+";"}).join(""),"}"),Fr&&(ni=cn.divisor,tn("if(",Ea,".divisor!==",ni,"){",Dr.instancing,".vertexAttribDivisorANGLE(",[ea,ni],");",Ea,".divisor=",ni,";}"))}function qn(){tn("if(",Ea,".buffer){",ua,".disableVertexAttribArray(",ea,");",Ea,".buffer=null;","}if(",Et.map(function(ni,si){return Ea+"."+ni+"!=="+ei[si]}).join("||"),"){",ua,".vertexAttrib4f(",ea,",",ei,");",Et.map(function(ni,si){return Ea+"."+ni+"="+ei[si]+";"}).join(""),"}")}var ua=Ln.gl,ea=tn.def(Hr,".location"),Ea=tn.def(Ln.attributes,"[",ea,"]");Hr=cn.state;var ya=cn.buffer,ei=[cn.x,cn.y,cn.z,cn.w],Wa=["buffer","normalized","offset","stride"];Hr===1?bn():Hr===2?qn():(tn("if(",Hr,"===",1,"){"),bn(),tn("}else{"),qn(),tn("}"))}var Ln=Dr.shared;rn.forEach(function(Hr){var mn=Hr.name,cn=zr.attributes[mn],bn;if(cn){if(!Xn(cn))return;bn=cn.append(Dr,tn)}else{if(!Xn(cr))return;var qn=Dr.scopeAttrib(mn);bn={},Object.keys(new Za).forEach(function(ua){bn[ua]=tn.def(qn,".",ua)})}zn(Dr.link(Hr),ia(Hr.info.type),bn)})}function Jr(Dr,tn,zr,rn,Xn,ia){for(var zn=Dr.shared,Ln=zn.gl,Hr,mn=0;mn<rn.length;++mn){var ua=rn[mn],cn=ua.name,bn=ua.info.type,qn=zr.uniforms[cn],ua=Dr.link(ua)+".location",ea;if(qn){if(!Xn(qn))continue;if(te(qn)){if(cn=qn.value,bn===35678||bn===35680)bn=Dr.link(cn._texture||cn.color[0]._texture),tn(Ln,".uniform1i(",ua,",",bn+".bind());"),tn.exit(bn,".unbind();");else if(bn===35674||bn===35675||bn===35676)cn=Dr.global.def("new Float32Array(["+Array.prototype.slice.call(cn)+"])"),qn=2,bn===35675?qn=3:bn===35676&&(qn=4),tn(Ln,".uniformMatrix",qn,"fv(",ua,",false,",cn,");");else{switch(bn){case 5126:Hr="1f";break;case 35664:Hr="2f";break;case 35665:Hr="3f";break;case 35666:Hr="4f";break;case 35670:Hr="1i";break;case 5124:Hr="1i";break;case 35671:Hr="2i";break;case 35667:Hr="2i";break;case 35672:Hr="3i";break;case 35668:Hr="3i";break;case 35673:Hr="4i";break;case 35669:Hr="4i"}tn(Ln,".uniform",Hr,"(",ua,",",I(cn)?Array.prototype.slice.call(cn):cn,");")}continue}else ea=qn.append(Dr,tn)}else{if(!Xn(cr))continue;ea=tn.def(zn.uniforms,"[",or.id(cn),"]")}switch(bn===35678?tn("if(",ea,"&&",ea,'._reglType==="framebuffer"){',ea,"=",ea,".color[0];","}"):bn===35680&&tn("if(",ea,"&&",ea,'._reglType==="framebufferCube"){',ea,"=",ea,".color[0];","}"),cn=1,bn){case 35678:case 35680:bn=tn.def(ea,"._texture"),tn(Ln,".uniform1i(",ua,",",bn,".bind());"),tn.exit(bn,".unbind();");continue;case 5124:case 35670:Hr="1i";break;case 35667:case 35671:Hr="2i",cn=2;break;case 35668:case 35672:Hr="3i",cn=3;break;case 35669:case 35673:Hr="4i",cn=4;break;case 5126:Hr="1f";break;case 35664:Hr="2f",cn=2;break;case 35665:Hr="3f",cn=3;break;case 35666:Hr="4f",cn=4;break;case 35674:Hr="Matrix2fv";break;case 35675:Hr="Matrix3fv";break;case 35676:Hr="Matrix4fv"}if(Hr.charAt(0)==="M"){tn(Ln,".uniform",Hr,"(",ua,",");var ua=Math.pow(bn-35674+2,2),Ea=Dr.global.def("new Float32Array(",ua,")");Array.isArray(ea)?tn("false,(",d(ua,function(Wa){return Ea+"["+Wa+"]="+ea[Wa]}),",",Ea,")"):tn("false,(Array.isArray(",ea,")||",ea," instanceof Float32Array)?",ea,":(",d(ua,function(Wa){return Ea+"["+Wa+"]="+ea+"["+Wa+"]"}),",",Ea,")"),tn(");")}else{if(1<cn){for(var bn=[],ya=[],qn=0;qn<cn;++qn)Array.isArray(ea)?ya.push(ea[qn]):ya.push(tn.def(ea+"["+qn+"]")),ia&&bn.push(tn.def());ia&&tn("if(!",Dr.batchId,"||",bn.map(function(ei,Wa){return ei+"!=="+ya[Wa]}).join("||"),"){",bn.map(function(ei,Wa){return ei+"="+ya[Wa]+";"}).join("")),tn(Ln,".uniform",Hr,"(",ua,",",ya.join(","),");")}else ia&&(bn=tn.def(),tn("if(!",Dr.batchId,"||",bn,"!==",ea,"){",bn,"=",ea,";")),tn(Ln,".uniform",Hr,"(",ua,",",ea,");");ia&&tn("}")}}}function un(Dr,tn,zr,rn){function Xn(ni){var si=cn[ni];return si?si.contextDep&&rn.contextDynamic||si.propDep?si.append(Dr,zr):si.append(Dr,tn):tn.def(mn,".",ni)}function ia(){function ni(){zr(ya,".drawElementsInstancedANGLE(",[qn,ea,ei,ua+"<<(("+ei+"-5121)>>1)",Ea],");")}function si(){zr(ya,".drawArraysInstancedANGLE(",[qn,ua,ea,Ea],");")}bn&&bn!=="null"?Wa?ni():(zr("if(",bn,"){"),ni(),zr("}else{"),si(),zr("}")):si()}function zn(){function ni(){zr(Hr+".drawElements("+[qn,ea,ei,ua+"<<(("+ei+"-5121)>>1)"]+");")}function si(){zr(Hr+".drawArrays("+[qn,ua,ea]+");")}bn&&bn!=="null"?Wa?ni():(zr("if(",bn,"){"),ni(),zr("}else{"),si(),zr("}")):si()}var Ln=Dr.shared,Hr=Ln.gl,mn=Ln.draw,cn=rn.draw,bn=function(){var ni=cn.elements,si=tn;return ni?((ni.contextDep&&rn.contextDynamic||ni.propDep)&&(si=zr),ni=ni.append(Dr,si),cn.elementsActive&&si("if("+ni+")"+Hr+".bindBuffer(34963,"+ni+".buffer.buffer);")):(ni=si.def(),si(ni,"=",mn,".","elements",";","if(",ni,"){",Hr,".bindBuffer(",34963,",",ni,".buffer.buffer);}","else if(",Ln.vao,".currentVAO){",ni,"=",Dr.shared.elements+".getElements("+Ln.vao,".currentVAO.elements);",fn?"":"if("+ni+")"+Hr+".bindBuffer(34963,"+ni+".buffer.buffer);","}")),ni}(),qn=Xn("primitive"),ua=Xn("offset"),ea=function(){var ni=cn.count,si=tn;return ni?((ni.contextDep&&rn.contextDynamic||ni.propDep)&&(si=zr),ni=ni.append(Dr,si)):ni=si.def(mn,".","count"),ni}();if(typeof ea=="number"){if(ea===0)return}else zr("if(",ea,"){"),zr.exit("}");var Ea,ya;Fr&&(Ea=Xn("instances"),ya=Dr.instancing);var ei=bn+".type",Wa=cn.elements&&te(cn.elements)&&!cn.vaoActive;Fr&&(typeof Ea!="number"||0<=Ea)?typeof Ea=="string"?(zr("if(",Ea,">0){"),ia(),zr("}else if(",Ea,"<0){"),zn(),zr("}")):ia():zn()}function sn(Dr,tn,zr,rn,Xn){return tn=Wt(),Xn=tn.proc("body",Xn),Fr&&(tn.instancing=Xn.def(tn.shared.extensions,".angle_instanced_arrays")),Dr(tn,Xn,zr,rn),tn.compile().body}function Nn(Dr,tn,zr,rn){ta(Dr,tn),zr.useVAO?zr.drawVAO?tn(Dr.shared.vao,".setVAO(",zr.drawVAO.append(Dr,tn),");"):tn(Dr.shared.vao,".setVAO(",Dr.shared.vao,".targetVAO);"):(tn(Dr.shared.vao,".setVAO(null);"),Cr(Dr,tn,zr,rn.attributes,function(){return!0})),Jr(Dr,tn,zr,rn.uniforms,function(){return!0},!1),un(Dr,tn,tn,zr)}function Hn(Dr,tn){var zr=Dr.proc("draw",1);ta(Dr,zr),Kr(Dr,zr,tn.context),Xr(Dr,zr,tn.framebuffer),Bn(Dr,zr,tn),An(Dr,zr,tn.state),ra(Dr,zr,tn,!1,!0);var rn=tn.shader.progVar.append(Dr,zr);if(zr(Dr.shared.gl,".useProgram(",rn,".program);"),tn.shader.program)Nn(Dr,zr,tn,tn.shader.program);else{zr(Dr.shared.vao,".setVAO(null);");var Xn=Dr.global.def("{}"),ia=zr.def(rn,".id"),zn=zr.def(Xn,"[",ia,"]");zr(Dr.cond(zn).then(zn,".call(this,a0);").else(zn,"=",Xn,"[",ia,"]=",Dr.link(function(Ln){return sn(Nn,Dr,tn,Ln,1)}),"(",rn,");",zn,".call(this,a0);"))}0<Object.keys(tn.state).length&&zr(Dr.shared.current,".dirty=true;"),Dr.shared.vao&&zr(Dr.shared.vao,".setVAO(null);")}function $n(Dr,tn,zr,rn){function Xn(){return!0}Dr.batchId="a1",ta(Dr,tn),Cr(Dr,tn,zr,rn.attributes,Xn),Jr(Dr,tn,zr,rn.uniforms,Xn,!1),un(Dr,tn,tn,zr)}function da(Dr,tn,zr,rn){function Xn(bn){return bn.contextDep&&zn||bn.propDep}function ia(bn){return!Xn(bn)}ta(Dr,tn);var zn=zr.contextDep,Ln=tn.def(),Hr=tn.def();Dr.shared.props=Hr,Dr.batchId=Ln;var mn=Dr.scope(),cn=Dr.scope();tn(mn.entry,"for(",Ln,"=0;",Ln,"<","a1",";++",Ln,"){",Hr,"=","a0","[",Ln,"];",cn,"}",mn.exit),zr.needsContext&&Kr(Dr,cn,zr.context),zr.needsFramebuffer&&Xr(Dr,cn,zr.framebuffer),An(Dr,cn,zr.state,Xn),zr.profile&&Xn(zr.profile)&&ra(Dr,cn,zr,!1,!0),rn?(zr.useVAO?zr.drawVAO?Xn(zr.drawVAO)?cn(Dr.shared.vao,".setVAO(",zr.drawVAO.append(Dr,cn),");"):mn(Dr.shared.vao,".setVAO(",zr.drawVAO.append(Dr,mn),");"):mn(Dr.shared.vao,".setVAO(",Dr.shared.vao,".targetVAO);"):(mn(Dr.shared.vao,".setVAO(null);"),Cr(Dr,mn,zr,rn.attributes,ia),Cr(Dr,cn,zr,rn.attributes,Xn)),Jr(Dr,mn,zr,rn.uniforms,ia,!1),Jr(Dr,cn,zr,rn.uniforms,Xn,!0),un(Dr,mn,cn,zr)):(tn=Dr.global.def("{}"),rn=zr.shader.progVar.append(Dr,cn),Hr=cn.def(rn,".id"),mn=cn.def(tn,"[",Hr,"]"),cn(Dr.shared.gl,".useProgram(",rn,".program);","if(!",mn,"){",mn,"=",tn,"[",Hr,"]=",Dr.link(function(bn){return sn($n,Dr,zr,bn,2)}),"(",rn,");}",mn,".call(this,a0[",Ln,"],",Ln,");"))}function _a(Dr,tn){function zr(mn){return mn.contextDep&&Xn||mn.propDep}var rn=Dr.proc("batch",2);Dr.batchId="0",ta(Dr,rn);var Xn=!1,ia=!0;Object.keys(tn.context).forEach(function(mn){Xn=Xn||tn.context[mn].propDep}),Xn||(Kr(Dr,rn,tn.context),ia=!1);var zn=tn.framebuffer,Ln=!1;if(zn?(zn.propDep?Xn=Ln=!0:zn.contextDep&&Xn&&(Ln=!0),Ln||Xr(Dr,rn,zn)):Xr(Dr,rn,null),tn.state.viewport&&tn.state.viewport.propDep&&(Xn=!0),Bn(Dr,rn,tn),An(Dr,rn,tn.state,function(mn){return!zr(mn)}),tn.profile&&zr(tn.profile)||ra(Dr,rn,tn,!1,"a1"),tn.contextDep=Xn,tn.needsContext=ia,tn.needsFramebuffer=Ln,ia=tn.shader.progVar,ia.contextDep&&Xn||ia.propDep)da(Dr,rn,tn,null);else if(ia=ia.append(Dr,rn),rn(Dr.shared.gl,".useProgram(",ia,".program);"),tn.shader.program)da(Dr,rn,tn,tn.shader.program);else{rn(Dr.shared.vao,".setVAO(null);");var zn=Dr.global.def("{}"),Ln=rn.def(ia,".id"),Hr=rn.def(zn,"[",Ln,"]");rn(Dr.cond(Hr).then(Hr,".call(this,a0,a1);").else(Hr,"=",zn,"[",Ln,"]=",Dr.link(function(bn){return sn(da,Dr,tn,bn,2)}),"(",ia,");",Hr,".call(this,a0,a1);"))}0<Object.keys(tn.state).length&&rn(Dr.shared.current,".dirty=true;"),Dr.shared.vao&&rn(Dr.shared.vao,".setVAO(null);")}function Ya(Dr,tn){function zr(Ln){var Hr=tn.shader[Ln];Hr&&(Hr=Hr.append(Dr,rn),isNaN(Hr)?rn.set(Xn.shader,"."+Ln,Hr):rn.set(Xn.shader,"."+Ln,Dr.link(Hr,{stable:!0})))}var rn=Dr.proc("scope",3);Dr.batchId="a2";var Xn=Dr.shared,ia=Xn.current;if(Kr(Dr,rn,tn.context),tn.framebuffer&&tn.framebuffer.append(Dr,rn),le(Object.keys(tn.state)).forEach(function(Ln){var Hr=tn.state[Ln],mn=Hr.append(Dr,rn);I(mn)?mn.forEach(function(cn,bn){isNaN(cn)?rn.set(Dr.next[Ln],"["+bn+"]",cn):rn.set(Dr.next[Ln],"["+bn+"]",Dr.link(cn,{stable:!0}))}):te(Hr)?rn.set(Xn.next,"."+Ln,Dr.link(mn,{stable:!0})):rn.set(Xn.next,"."+Ln,mn)}),ra(Dr,rn,tn,!0,!0),["elements","offset","count","instances","primitive"].forEach(function(Ln){var Hr=tn.draw[Ln];Hr&&(Hr=Hr.append(Dr,rn),isNaN(Hr)?rn.set(Xn.draw,"."+Ln,Hr):rn.set(Xn.draw,"."+Ln,Dr.link(Hr),{stable:!0}))}),Object.keys(tn.uniforms).forEach(function(Ln){var Hr=tn.uniforms[Ln].append(Dr,rn);Array.isArray(Hr)&&(Hr="["+Hr.map(function(mn){return isNaN(mn)?mn:Dr.link(mn,{stable:!0})})+"]"),rn.set(Xn.uniforms,"["+Dr.link(or.id(Ln),{stable:!0})+"]",Hr)}),Object.keys(tn.attributes).forEach(function(Ln){var Hr=tn.attributes[Ln].append(Dr,rn),mn=Dr.scopeAttrib(Ln);Object.keys(new Za).forEach(function(cn){rn.set(mn,"."+cn,Hr[cn])})}),tn.scopeVAO){var zn=tn.scopeVAO.append(Dr,rn);isNaN(zn)?rn.set(Xn.vao,".targetVAO",zn):rn.set(Xn.vao,".targetVAO",Dr.link(zn,{stable:!0}))}zr("vert"),zr("frag"),0<Object.keys(tn.state).length&&(rn(ia,".dirty=true;"),rn.exit(ia,".dirty=true;")),rn("a1(",Dr.shared.context,",a0,",Dr.batchId,");")}function di(Dr){if(typeof Dr=="object"&&!I(Dr)){for(var tn=Object.keys(Dr),zr=0;zr<tn.length;++zr)if(me.isDynamic(Dr[tn[zr]]))return!0;return!1}}function ii(Dr,tn,zr){function rn(bn,qn){zn.forEach(function(ua){var ea=Xn[ua];me.isDynamic(ea)&&(ea=bn.invoke(qn,ea),qn(cn,".",ua,"=",ea,";"))})}var Xn=tn.static[zr];if(Xn&&di(Xn)){var ia=Dr.global,zn=Object.keys(Xn),Ln=!1,Hr=!1,mn=!1,cn=Dr.global.def("{}");zn.forEach(function(bn){var qn=Xn[bn];if(me.isDynamic(qn))typeof qn=="function"&&(qn=Xn[bn]=me.unbox(qn)),bn=re(qn,null),Ln=Ln||bn.thisDep,mn=mn||bn.propDep,Hr=Hr||bn.contextDep;else{switch(ia(cn,".",bn,"="),typeof qn){case"number":ia(qn);break;case"string":ia('"',qn,'"');break;case"object":Array.isArray(qn)&&ia("[",qn.join(),"]");break;default:ia(Dr.link(qn))}ia(";")}}),tn.dynamic[zr]=new me.DynamicVariable(4,{thisDep:Ln,contextDep:Hr,propDep:mn,ref:cn,append:rn}),delete tn.static[zr]}}var Za=Ht.Record,oi={add:32774,subtract:32778,"reverse subtract":32779};ur.ext_blend_minmax&&(oi.min=32775,oi.max=32776);var Fr=ur.angle_instanced_arrays,vn=ur.webgl_draw_buffers,fn=ur.oes_vertex_array_object,Vn={dirty:!0,profile:wr.profile},Sa={},na=[],aa={},ba={};Ze("dither",3024),Ze("blend.enable",3042),Xe("blend.color","blendColor",[0,0,0,0]),Xe("blend.equation","blendEquationSeparate",[32774,32774]),Xe("blend.func","blendFuncSeparate",[1,0,1,0]),Ze("depth.enable",2929,!0),Xe("depth.func","depthFunc",513),Xe("depth.range","depthRange",[0,1]),Xe("depth.mask","depthMask",!0),Xe("colorMask","colorMask",[!0,!0,!0,!0]),Ze("cull.enable",2884),Xe("cull.face","cullFace",1029),Xe("frontFace","frontFace",2305),Xe("lineWidth","lineWidth",1),Ze("polygonOffset.enable",32823),Xe("polygonOffset.offset","polygonOffset",[0,0]),Ze("sample.alpha",32926),Ze("sample.enable",32928),Xe("sample.coverage","sampleCoverage",[1,!1]),Ze("stencil.enable",2960),Xe("stencil.mask","stencilMask",-1),Xe("stencil.func","stencilFunc",[519,0,-1]),Xe("stencil.opFront","stencilOpSeparate",[1028,7680,7680,7680]),Xe("stencil.opBack","stencilOpSeparate",[1029,7680,7680,7680]),Ze("scissor.enable",3089),Xe("scissor.box","scissor",[0,0,Ct.drawingBufferWidth,Ct.drawingBufferHeight]),Xe("viewport","viewport",[0,0,Ct.drawingBufferWidth,Ct.drawingBufferHeight]);var Ua={gl:Ct,context:Xt,strings:or,next:Sa,current:Vn,draw:Zt,elements:At,buffer:yr,shader:Ut,attributes:Ht.state,vao:Ht,uniforms:Pt,framebuffer:Mt,extensions:ur,timer:sr,isBufferArgs:Z},fi={primTypes:tt,compareFuncs:ir,blendFuncs:nr,blendEquations:oi,stencilOps:It,glTypes:ze,orientationType:Gt};vn&&(fi.backBuffer=[1029],fi.drawBuffer=d(Ir.maxDrawbuffers,function(Dr){return Dr===0?[0]:d(Dr,function(tn){return 36064+tn})}));var Vi=0;return{next:Sa,current:Vn,procs:function(){var Dr=Wt(),tn=Dr.proc("poll"),zr=Dr.proc("refresh"),rn=Dr.block();tn(rn),zr(rn);var Hr=Dr.shared,Xn=Hr.gl,ia=Hr.next,zn=Hr.current;rn(zn,".dirty=false;"),Xr(Dr,tn),Xr(Dr,zr,null,!0);var Ln;Fr&&(Ln=Dr.link(Fr)),ur.oes_vertex_array_object&&zr(Dr.link(ur.oes_vertex_array_object),".bindVertexArrayOES(null);");var Hr=zr.def(Hr.attributes),mn=zr.def(0),cn=Dr.cond(mn,".buffer");cn.then(Xn,".enableVertexAttribArray(i);",Xn,".bindBuffer(",34962,",",mn,".buffer.buffer);",Xn,".vertexAttribPointer(i,",mn,".size,",mn,".type,",mn,".normalized,",mn,".stride,",mn,".offset);").else(Xn,".disableVertexAttribArray(i);",Xn,".vertexAttrib4f(i,",mn,".x,",mn,".y,",mn,".z,",mn,".w);",mn,".buffer=null;");var bn=Dr.link(Ir.maxAttributes,{stable:!0});return zr("for(var i=0;i<",bn,";++i){",mn,"=",Hr,"[i];",cn,"}"),Fr&&zr("for(var i=0;i<",bn,";++i){",Ln,".vertexAttribDivisorANGLE(i,",Hr,"[i].divisor);","}"),zr(Dr.shared.vao,".currentVAO=null;",Dr.shared.vao,".setVAO(",Dr.shared.vao,".targetVAO);"),Object.keys(aa).forEach(function(qn){var ua=aa[qn],ea=rn.def(ia,".",qn),Ea=Dr.block();Ea("if(",ea,"){",Xn,".enable(",ua,")}else{",Xn,".disable(",ua,")}",zn,".",qn,"=",ea,";"),zr(Ea),tn("if(",ea,"!==",zn,".",qn,"){",Ea,"}")}),Object.keys(ba).forEach(function(qn){var ua=ba[qn],ea=Vn[qn],Ea,ya,ei=Dr.block();ei(Xn,".",ua,"("),I(ea)?(ua=ea.length,Ea=Dr.global.def(ia,".",qn),ya=Dr.global.def(zn,".",qn),ei(d(ua,function(Wa){return Ea+"["+Wa+"]"}),");",d(ua,function(Wa){return ya+"["+Wa+"]="+Ea+"["+Wa+"];"}).join("")),tn("if(",d(ua,function(Wa){return Ea+"["+Wa+"]!=="+ya+"["+Wa+"]"}).join("||"),"){",ei,"}")):(Ea=rn.def(ia,".",qn),ya=rn.def(zn,".",qn),ei(Ea,");",zn,".",qn,"=",Ea,";"),tn("if(",Ea,"!==",ya,"){",ei,"}")),zr(ei)}),Dr.compile()}(),compile:function(Dr,tn,zr,rn,Xn){var ia=Wt();ia.stats=ia.link(Xn),Object.keys(tn.static).forEach(function(Ln){ii(ia,tn,Ln)}),wt.forEach(function(Ln){ii(ia,Dr,Ln)});var zn=ln(Dr,tn,zr,rn,ia);return zn.shader.program&&(zn.shader.program.attributes.sort(function(Ln,Hr){return Ln.name<Hr.name?-1:1}),zn.shader.program.uniforms.sort(function(Ln,Hr){return Ln.name<Hr.name?-1:1})),Hn(ia,zn),Ya(ia,zn),_a(ia,zn),oe(ia.compile(),{destroy:function(){zn.shader.program.destroy()}})}}}function de(Ct,or){for(var ur=0;ur<Ct.length;++ur)if(Ct[ur]===or)return ur;return-1}var oe=function(Ct,or){for(var ur=Object.keys(or),Ir=0;Ir<ur.length;++Ir)Ct[ur[Ir]]=or[ur[Ir]];return Ct},fe=0,me={DynamicVariable:h,define:function(Ct,or){return new h(Ct,l(or+""))},isDynamic:function(Ct){return typeof Ct=="function"&&!Ct._reglType||Ct instanceof h},unbox:v,accessor:l},Te={next:typeof requestAnimationFrame=="function"?function(Ct){return requestAnimationFrame(Ct)}:function(Ct){return setTimeout(Ct,16)},cancel:typeof cancelAnimationFrame=="function"?function(Ct){return cancelAnimationFrame(Ct)}:clearTimeout},we=typeof performance<"u"&&performance.now?function(){return performance.now()}:function(){return+new Date},Be=b();Be.zero=b();var Ae=function(Ct,or){var ur=1;or.ext_texture_filter_anisotropic&&(ur=Ct.getParameter(34047));var Ir=1,yr=1;or.webgl_draw_buffers&&(Ir=Ct.getParameter(34852),yr=Ct.getParameter(36063));var At=!!or.oes_texture_float;if(At){At=Ct.createTexture(),Ct.bindTexture(3553,At),Ct.texImage2D(3553,0,6408,1,1,0,6408,5126,null);var mt=Ct.createFramebuffer();if(Ct.bindFramebuffer(36160,mt),Ct.framebufferTexture2D(36160,36064,3553,At,0),Ct.bindTexture(3553,null),Ct.checkFramebufferStatus(36160)!==36053)At=!1;else{Ct.viewport(0,0,1,1),Ct.clearColor(1,0,0,1),Ct.clear(16384);var Mt=Be.allocType(5126,4);Ct.readPixels(0,0,1,1,6408,5126,Mt),Ct.getError()?At=!1:(Ct.deleteFramebuffer(mt),Ct.deleteTexture(At),At=Mt[0]===1),Be.freeType(Mt)}}return Mt=!0,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent))||(Mt=Ct.createTexture(),mt=Be.allocType(5121,36),Ct.activeTexture(33984),Ct.bindTexture(34067,Mt),Ct.texImage2D(34069,0,6408,3,3,0,6408,5121,mt),Be.freeType(mt),Ct.bindTexture(34067,null),Ct.deleteTexture(Mt),Mt=!Ct.getError()),{colorBits:[Ct.getParameter(3410),Ct.getParameter(3411),Ct.getParameter(3412),Ct.getParameter(3413)],depthBits:Ct.getParameter(3414),stencilBits:Ct.getParameter(3415),subpixelBits:Ct.getParameter(3408),extensions:Object.keys(or).filter(function(Pt){return!!or[Pt]}),maxAnisotropic:ur,maxDrawbuffers:Ir,maxColorAttachments:yr,pointSizeDims:Ct.getParameter(33901),lineWidthDims:Ct.getParameter(33902),maxViewportDims:Ct.getParameter(3386),maxCombinedTextureUnits:Ct.getParameter(35661),maxCubeMapSize:Ct.getParameter(34076),maxRenderbufferSize:Ct.getParameter(34024),maxTextureUnits:Ct.getParameter(34930),maxTextureSize:Ct.getParameter(3379),maxAttributes:Ct.getParameter(34921),maxVertexUniforms:Ct.getParameter(36347),maxVertexTextureUnits:Ct.getParameter(35660),maxVaryingVectors:Ct.getParameter(36348),maxFragmentUniforms:Ct.getParameter(36349),glsl:Ct.getParameter(35724),renderer:Ct.getParameter(7937),vendor:Ct.getParameter(7936),version:Ct.getParameter(7938),readFloat:At,npotTextureCube:Mt}},Re=function(Ct){return Ct instanceof Uint8Array||Ct instanceof Uint16Array||Ct instanceof Uint32Array||Ct instanceof Int8Array||Ct instanceof Int16Array||Ct instanceof Int32Array||Ct instanceof Float32Array||Ct instanceof Float64Array||Ct instanceof Uint8ClampedArray},be=function(Ct){return Object.keys(Ct).map(function(or){return Ct[or]})},Pe={shape:function(Ct){for(var or=[];Ct.length;Ct=Ct[0])or.push(Ct.length);return or},flatten:function(Ct,or,ur,Ir){var yr=1;if(or.length)for(var At=0;At<or.length;++At)yr*=or[At];else yr=0;switch(ur=Ir||Be.allocType(ur,yr),or.length){case 0:break;case 1:for(Ir=or[0],or=0;or<Ir;++or)ur[or]=Ct[or];break;case 2:for(Ir=or[0],or=or[1],At=yr=0;At<Ir;++At)for(var mt=Ct[At],Mt=0;Mt<or;++Mt)ur[yr++]=mt[Mt];break;case 3:y(Ct,or[0],or[1],or[2],ur,0);break;default:C(Ct,or,0,ur,0)}return ur}},Ke={"[object Int8Array]":5120,"[object Int16Array]":5122,"[object Int32Array]":5124,"[object Uint8Array]":5121,"[object Uint8ClampedArray]":5121,"[object Uint16Array]":5123,"[object Uint32Array]":5125,"[object Float32Array]":5126,"[object Float64Array]":5121,"[object ArrayBuffer]":5121},ze={int8:5120,int16:5122,int32:5124,uint8:5121,uint16:5123,uint32:5125,float:5126,float32:5126},Fe={dynamic:35048,stream:35040,static:35044},We=Pe.flatten,lt=Pe.shape,ht=[];ht[5120]=1,ht[5122]=2,ht[5124]=4,ht[5121]=1,ht[5123]=2,ht[5125]=4,ht[5126]=4;var tt={points:0,point:0,lines:1,line:1,triangles:4,triangle:4,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},et=new Float32Array(1),pt=new Uint32Array(et.buffer),vt=[9984,9986,9985,9987],_t=[0,6409,6410,6407,6408],bt={};bt[6409]=bt[6406]=bt[6402]=1,bt[34041]=bt[6410]=2,bt[6407]=bt[35904]=3,bt[6408]=bt[35906]=4;var Rt=P("HTMLCanvasElement"),ct=P("OffscreenCanvas"),Ve=P("CanvasRenderingContext2D"),Qe=P("ImageBitmap"),rt=P("HTMLImageElement"),qe=P("HTMLVideoElement"),He=Object.keys(Ke).concat([Rt,ct,Ve,Qe,rt,qe]),Ce=[];Ce[5121]=1,Ce[5126]=4,Ce[36193]=2,Ce[5123]=2,Ce[5125]=4;var Se=[];Se[32854]=2,Se[32855]=2,Se[36194]=2,Se[34041]=4,Se[33776]=.5,Se[33777]=.5,Se[33778]=1,Se[33779]=1,Se[35986]=.5,Se[35987]=1,Se[34798]=1,Se[35840]=.5,Se[35841]=.25,Se[35842]=.5,Se[35843]=.25,Se[36196]=.5;var Le=[];Le[32854]=2,Le[32855]=2,Le[36194]=2,Le[33189]=2,Le[36168]=1,Le[34041]=4,Le[35907]=4,Le[34836]=16,Le[34842]=8,Le[34843]=6;var Ne=function(Ct,or,ur,Ir,yr){function At(Zt){this.id=Ht++,this.refCount=1,this.renderbuffer=Zt,this.format=32854,this.height=this.width=0,yr.profile&&(this.stats={size:0})}function mt(Zt){var Xt=Zt.renderbuffer;Ct.bindRenderbuffer(36161,null),Ct.deleteRenderbuffer(Xt),Zt.renderbuffer=null,Zt.refCount=0,delete Ut[Zt.id],Ir.renderbufferCount--}var Mt={rgba4:32854,rgb565:36194,"rgb5 a1":32855,depth:33189,stencil:36168,"depth stencil":34041};or.ext_srgb&&(Mt.srgba=35907),or.ext_color_buffer_half_float&&(Mt.rgba16f=34842,Mt.rgb16f=34843),or.webgl_color_buffer_float&&(Mt.rgba32f=34836);var Pt=[];Object.keys(Mt).forEach(function(Zt){Pt[Mt[Zt]]=Zt});var Ht=0,Ut={};return At.prototype.decRef=function(){0>=--this.refCount&&mt(this)},yr.profile&&(Ir.getTotalRenderbufferSize=function(){var Zt=0;return Object.keys(Ut).forEach(function(Xt){Zt+=Ut[Xt].stats.size}),Zt}),{create:function(Zt,Xt){function sr(wr,Tr){var Ze=0,Xe=0,Wt=32854;if(typeof wr=="object"&&wr?("shape"in wr?(Xe=wr.shape,Ze=Xe[0]|0,Xe=Xe[1]|0):("radius"in wr&&(Ze=Xe=wr.radius|0),"width"in wr&&(Ze=wr.width|0),"height"in wr&&(Xe=wr.height|0)),"format"in wr&&(Wt=Mt[wr.format])):typeof wr=="number"?(Ze=wr|0,Xe=typeof Tr=="number"?Tr|0:Ze):wr||(Ze=Xe=1),Ze!==Sr.width||Xe!==Sr.height||Wt!==Sr.format)return sr.width=Sr.width=Ze,sr.height=Sr.height=Xe,Sr.format=Wt,Ct.bindRenderbuffer(36161,Sr.renderbuffer),Ct.renderbufferStorage(36161,Wt,Ze,Xe),yr.profile&&(Sr.stats.size=Le[Sr.format]*Sr.width*Sr.height),sr.format=Pt[Sr.format],sr}var Sr=new At(Ct.createRenderbuffer());return Ut[Sr.id]=Sr,Ir.renderbufferCount++,sr(Zt,Xt),sr.resize=function(wr,Tr){var Ze=wr|0,Xe=Tr|0||Ze;return Ze===Sr.width&&Xe===Sr.height||(sr.width=Sr.width=Ze,sr.height=Sr.height=Xe,Ct.bindRenderbuffer(36161,Sr.renderbuffer),Ct.renderbufferStorage(36161,Sr.format,Ze,Xe),yr.profile&&(Sr.stats.size=Le[Sr.format]*Sr.width*Sr.height)),sr},sr._reglType="renderbuffer",sr._renderbuffer=Sr,yr.profile&&(sr.stats=Sr.stats),sr.destroy=function(){Sr.decRef()},sr},clear:function(){be(Ut).forEach(mt)},restore:function(){be(Ut).forEach(function(Zt){Zt.renderbuffer=Ct.createRenderbuffer(),Ct.bindRenderbuffer(36161,Zt.renderbuffer),Ct.renderbufferStorage(36161,Zt.format,Zt.width,Zt.height)}),Ct.bindRenderbuffer(36161,null)}}},je=[];je[6408]=4,je[6407]=3;var Je=[];Je[5121]=1,Je[5126]=4,Je[36193]=2;var ut=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Et=["x","y","z","w"],wt="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),nr={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},ir={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},It={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Gt={cw:2304,ccw:2305},cr=new K(!1,!1,!1,function(){}),Pr=function(Ct,or){function ur(){this.endQueryIndex=this.startQueryIndex=-1,this.sum=0,this.stats=null}function Ir(Ut,Zt,Xt){var sr=mt.pop()||new ur;sr.startQueryIndex=Ut,sr.endQueryIndex=Zt,sr.sum=0,sr.stats=Xt,Mt.push(sr)}if(!or.ext_disjoint_timer_query)return null;var yr=[],At=[],mt=[],Mt=[],Pt=[],Ht=[];return{beginQuery:function(Ut){var Zt=yr.pop()||or.ext_disjoint_timer_query.createQueryEXT();or.ext_disjoint_timer_query.beginQueryEXT(35007,Zt),At.push(Zt),Ir(At.length-1,At.length,Ut)},endQuery:function(){or.ext_disjoint_timer_query.endQueryEXT(35007)},pushScopeStats:Ir,update:function(){var Ut,Zt;if(Ut=At.length,Ut!==0){Ht.length=Math.max(Ht.length,Ut+1),Pt.length=Math.max(Pt.length,Ut+1),Pt[0]=0;var Xt=Ht[0]=0;for(Zt=Ut=0;Zt<At.length;++Zt){var sr=At[Zt];or.ext_disjoint_timer_query.getQueryObjectEXT(sr,34919)?(Xt+=or.ext_disjoint_timer_query.getQueryObjectEXT(sr,34918),yr.push(sr)):At[Ut++]=sr,Pt[Zt+1]=Xt,Ht[Zt+1]=Ut}for(At.length=Ut,Zt=Ut=0;Zt<Mt.length;++Zt){var Xt=Mt[Zt],Sr=Xt.startQueryIndex,sr=Xt.endQueryIndex;Xt.sum+=Pt[sr]-Pt[Sr],Sr=Ht[Sr],sr=Ht[sr],sr===Sr?(Xt.stats.gpuTime+=Xt.sum/1e6,mt.push(Xt)):(Xt.startQueryIndex=Sr,Xt.endQueryIndex=sr,Mt[Ut++]=Xt)}Mt.length=Ut}},getNumPendingQueries:function(){return At.length},clear:function(){yr.push.apply(yr,At);for(var Ut=0;Ut<yr.length;Ut++)or.ext_disjoint_timer_query.deleteQueryEXT(yr[Ut]);At.length=0,yr.length=0},restore:function(){At.length=0,yr.length=0}}};return function(Ct){function or(){if(ra.length===0)Wt&&Wt.update(),sn=null;else{sn=Te.next(or),Ut();for(var Hn=ra.length-1;0<=Hn;--Hn){var $n=ra[Hn];$n&&$n(mr,null,0)}sr.flush(),Wt&&Wt.update()}}function ur(){!sn&&0<ra.length&&(sn=Te.next(or))}function Ir(){sn&&(Te.cancel(or),sn=null)}function yr(Hn){Hn.preventDefault(),Ir(),Cr.forEach(function($n){$n()})}function At(Hn){sr.getError(),wr.restore(),Lr.restore(),Kt.restore(),Ar.restore(),ln.restore(),Kr.restore(),Rr.restore(),Wt&&Wt.restore(),Xr.procs.refresh(),ur(),Jr.forEach(function($n){$n()})}function mt(Hn){function $n(Vn,Sa){var na={},aa={};return Object.keys(Vn).forEach(function(ba){var Ua=Vn[ba];if(me.isDynamic(Ua))aa[ba]=me.unbox(Ua,ba);else{if(Sa&&Array.isArray(Ua)){for(var fi=0;fi<Ua.length;++fi)if(me.isDynamic(Ua[fi])){aa[ba]=me.unbox(Ua,ba);return}}na[ba]=Ua}}),{dynamic:aa,static:na}}function da(Vn){for(;fn.length<Vn;)fn.push(null);return fn}var _a=$n(Hn.context||{},!0),Ya=$n(Hn.uniforms||{},!0),di=$n(Hn.attributes||{},!1);Hn=$n(function(Vn){function Sa(aa){if(aa in na){var ba=na[aa];delete na[aa],Object.keys(ba).forEach(function(Ua){na[aa+"."+Ua]=ba[Ua]})}}var na=oe({},Vn);return delete na.uniforms,delete na.attributes,delete na.context,delete na.vao,"stencil"in na&&na.stencil.op&&(na.stencil.opBack=na.stencil.opFront=na.stencil.op,delete na.stencil.op),Sa("blend"),Sa("depth"),Sa("cull"),Sa("stencil"),Sa("polygonOffset"),Sa("scissor"),Sa("sample"),"vao"in Vn&&(na.vao=Vn.vao),na}(Hn),!1);var ii={gpuTime:0,cpuTime:0,count:0},Za=Xr.compile(Hn,di,Ya,_a,ii),oi=Za.draw,Fr=Za.batch,vn=Za.scope,fn=[];return oe(function(Vn,Sa){var na;if(typeof Vn=="function")return vn.call(this,null,Vn,0);if(typeof Sa=="function")if(typeof Vn=="number")for(na=0;na<Vn;++na)vn.call(this,null,Sa,na);else if(Array.isArray(Vn))for(na=0;na<Vn.length;++na)vn.call(this,Vn[na],Sa,na);else return vn.call(this,Vn,Sa,0);else if(typeof Vn=="number"){if(0<Vn)return Fr.call(this,da(Vn|0),Vn|0)}else if(Array.isArray(Vn)){if(Vn.length)return Fr.call(this,Vn,Vn.length)}else return oi.call(this,Vn)},{stats:ii,destroy:function(){Za.destroy()}})}function Mt(Hn,$n){var da=0;Xr.procs.poll();var _a=$n.color;_a&&(sr.clearColor(+_a[0]||0,+_a[1]||0,+_a[2]||0,+_a[3]||0),da|=16384),"depth"in $n&&(sr.clearDepth(+$n.depth),da|=256),"stencil"in $n&&(sr.clearStencil($n.stencil|0),da|=1024),sr.clear(da)}function Pt(Hn){return ra.push(Hn),ur(),{cancel:function(){function $n(){var _a=de(ra,$n);ra[_a]=ra[ra.length-1],--ra.length,0>=ra.length&&Ir()}var da=de(ra,Hn);ra[da]=$n}}}function Ht(){var Hn=An.viewport,$n=An.scissor_box;Hn[0]=Hn[1]=$n[0]=$n[1]=0,mr.viewportWidth=mr.framebufferWidth=mr.drawingBufferWidth=Hn[2]=$n[2]=sr.drawingBufferWidth,mr.viewportHeight=mr.framebufferHeight=mr.drawingBufferHeight=Hn[3]=$n[3]=sr.drawingBufferHeight}function Ut(){mr.tick+=1,mr.time=Xt(),Ht(),Xr.procs.poll()}function Zt(){Ar.refresh(),Ht(),Xr.procs.refresh(),Wt&&Wt.update()}function Xt(){return(we()-jt)/1e3}if(Ct=c(Ct),!Ct)return null;var sr=Ct.gl,Sr=sr.getContextAttributes();sr.isContextLost();var wr=s(sr,Ct);if(!wr)return null;var Bn=i(),Tr={vaoCount:0,bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0},Ze=Ct.cachedCode||{},Xe=wr.extensions,Wt=Pr(sr,Xe),jt=we(),br=sr.drawingBufferWidth,ar=sr.drawingBufferHeight,mr={tick:0,time:0,viewportWidth:br,viewportHeight:ar,framebufferWidth:br,framebufferHeight:ar,drawingBufferWidth:br,drawingBufferHeight:ar,pixelRatio:Ct.pixelRatio},br={elements:null,primitive:4,count:-1,offset:0,instances:-1},fr=Ae(sr,Xe),Kt=E(sr,Tr,Ct,function(Hn){return Rr.destroyBuffer(Hn)}),kr=k(sr,Xe,Kt,Tr),Rr=z(sr,Xe,fr,Tr,Kt,kr,br),Lr=V(sr,Bn,Tr,Ct),Ar=U(sr,Xe,fr,function(){Xr.procs.poll()},mr,Tr,Ct),ln=Ne(sr,Xe,fr,Tr,Ct),Kr=B(sr,Xe,fr,Ar,ln,Tr),Xr=ee(sr,Bn,Xe,fr,Kt,kr,Ar,Kr,{},Rr,Lr,br,mr,Wt,Ze,Ct),Bn=j(sr,Kr,Xr.procs.poll,mr),An=Xr.next,ta=sr.canvas,ra=[],Cr=[],Jr=[],un=[Ct.onDestroy],sn=null;ta&&(ta.addEventListener("webglcontextlost",yr,!1),ta.addEventListener("webglcontextrestored",At,!1));var Nn=Kr.setFBO=mt({framebuffer:me.define.call(null,1,"framebuffer")});return Zt(),Sr=oe(mt,{clear:function(Hn){if("framebuffer"in Hn)if(Hn.framebuffer&&Hn.framebuffer_reglType==="framebufferCube")for(var $n=0;6>$n;++$n)Nn(oe({framebuffer:Hn.framebuffer.faces[$n]},Hn),Mt);else Nn(Hn,Mt);else Mt(null,Hn)},prop:me.define.bind(null,1),context:me.define.bind(null,2),this:me.define.bind(null,3),draw:mt({}),buffer:function(Hn){return Kt.create(Hn,34962,!1,!1)},elements:function(Hn){return kr.create(Hn,!1)},texture:Ar.create2D,cube:Ar.createCube,renderbuffer:ln.create,framebuffer:Kr.create,framebufferCube:Kr.createCube,vao:Rr.createVAO,attributes:Sr,frame:Pt,on:function(Hn,$n){var da;switch(Hn){case"frame":return Pt($n);case"lost":da=Cr;break;case"restore":da=Jr;break;case"destroy":da=un}return da.push($n),{cancel:function(){for(var _a=0;_a<da.length;++_a)if(da[_a]===$n){da[_a]=da[da.length-1],da.pop();break}}}},limits:fr,hasExtension:function(Hn){return 0<=fr.extensions.indexOf(Hn.toLowerCase())},read:Bn,destroy:function(){ra.length=0,Ir(),ta&&(ta.removeEventListener("webglcontextlost",yr),ta.removeEventListener("webglcontextrestored",At)),Lr.clear(),Kr.clear(),ln.clear(),Rr.clear(),Ar.clear(),kr.clear(),Kt.clear(),Wt&&Wt.clear(),un.forEach(function(Hn){Hn()})},_gl:sr,_refresh:Zt,poll:function(){Ut(),Wt&&Wt.update()},now:Xt,stats:Tr,getCachedCode:function(){return Ze},preloadCachedCode:function(Hn){Object.entries(Hn).forEach(function($n){Ze[$n[0]]=$n[1]})}}),Ct.onDone(null,Sr),Sr}})},30456:function(u,h,a){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var l=a(33576),v=l.Buffer;function i(g,p){for(var _ in g)p[_]=g[_]}v.from&&v.alloc&&v.allocUnsafe&&v.allocUnsafeSlow?u.exports=l:(i(l,h),h.Buffer=S);function S(g,p,_){return v(g,p,_)}S.prototype=Object.create(v.prototype),i(v,S),S.from=function(g,p,_){if(typeof g=="number")throw new TypeError("Argument must not be a number");return v(g,p,_)},S.alloc=function(g,p,_){if(typeof g!="number")throw new TypeError("Argument must be a number");var c=v(g);return p!==void 0?typeof _=="string"?c.fill(p,_):c.fill(p):c.fill(0),c},S.allocUnsafe=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return v(g)},S.allocUnsafeSlow=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return l.SlowBuffer(g)}},14500:function(u,h,a){var l=a(53664),v=a(64348),i=a(39640)(),S=a(2304),g=l("%TypeError%"),p=l("%Math.floor%");u.exports=function(c,s){if(typeof c!="function")throw new g("`fn` is not a function");if(typeof s!="number"||s<0||s>4294967295||p(s)!==s)throw new g("`length` must be a positive 32-bit integer");var d=arguments.length>2&&!!arguments[2],f=!0,b=!0;if("length"in c&&S){var x=S(c,"length");x&&!x.configurable&&(f=!1),x&&!x.writable&&(b=!1)}return(f||b||!d)&&(i?v(c,"length",s,!0,!0):v(c,"length",s)),c}},29936:function(u,h,a){u.exports=i;var l=a(61252).EventEmitter,v=a(6768);v(i,l),i.Readable=a(12348),i.Writable=a(11288),i.Duplex=a(15316),i.Transform=a(22477),i.PassThrough=a(27136),i.finished=a(15932),i.pipeline=a(38180),i.Stream=i;function i(){l.call(this)}i.prototype.pipe=function(S,g){var p=this;function _(y){S.writable&&S.write(y)===!1&&p.pause&&p.pause()}p.on("data",_);function c(){p.readable&&p.resume&&p.resume()}S.on("drain",c),!S._isStdio&&(!g||g.end!==!1)&&(p.on("end",d),p.on("close",f));var s=!1;function d(){s||(s=!0,S.end())}function f(){s||(s=!0,typeof S.destroy=="function"&&S.destroy())}function b(y){if(x(),l.listenerCount(this,"error")===0)throw y}p.on("error",b),S.on("error",b);function x(){p.removeListener("data",_),S.removeListener("drain",c),p.removeListener("end",d),p.removeListener("close",f),p.removeListener("error",b),S.removeListener("error",b),p.removeListener("end",x),p.removeListener("close",x),S.removeListener("close",x)}return p.on("end",x),p.on("close",x),S.on("close",x),S.emit("pipe",p),S}},92784:function(u){function h(p,_){p.prototype=Object.create(_.prototype),p.prototype.constructor=p,p.__proto__=_}var a={};function l(p,_,c){c||(c=Error);function s(f,b,x){return typeof _=="string"?_:_(f,b,x)}var d=function(f){h(b,f);function b(x,y,C){return f.call(this,s(x,y,C))||this}return b}(c);d.prototype.name=c.name,d.prototype.code=p,a[p]=d}function v(p,_){if(Array.isArray(p)){var c=p.length;return p=p.map(function(s){return String(s)}),c>2?"one of ".concat(_," ").concat(p.slice(0,c-1).join(", "),", or ")+p[c-1]:c===2?"one of ".concat(_," ").concat(p[0]," or ").concat(p[1]):"of ".concat(_," ").concat(p[0])}else return"of ".concat(_," ").concat(String(p))}function i(p,_,c){return p.substr(0,_.length)===_}function S(p,_,c){return(c===void 0||c>p.length)&&(c=p.length),p.substring(c-_.length,c)===_}function g(p,_,c){return typeof c!="number"&&(c=0),c+_.length>p.length?!1:p.indexOf(_,c)!==-1}l("ERR_INVALID_OPT_VALUE",function(p,_){return'The value "'+_+'" is invalid for option "'+p+'"'},TypeError),l("ERR_INVALID_ARG_TYPE",function(p,_,c){var s;typeof _=="string"&&i(_,"not ")?(s="must not be",_=_.replace(/^not /,"")):s="must be";var d;if(S(p," argument"))d="The ".concat(p," ").concat(s," ").concat(v(_,"type"));else{var f=g(p,".")?"property":"argument";d='The "'.concat(p,'" ').concat(f," ").concat(s," ").concat(v(_,"type"))}return d+=". Received type ".concat(typeof c),d},TypeError),l("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),l("ERR_METHOD_NOT_IMPLEMENTED",function(p){return"The "+p+" method is not implemented"}),l("ERR_STREAM_PREMATURE_CLOSE","Premature close"),l("ERR_STREAM_DESTROYED",function(p){return"Cannot call "+p+" after a stream was destroyed"}),l("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),l("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),l("ERR_STREAM_WRITE_AFTER_END","write after end"),l("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),l("ERR_UNKNOWN_ENCODING",function(p){return"Unknown encoding: "+p},TypeError),l("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),u.exports.i=a},15316:function(u,h,a){var l=a(4168),v=Object.keys||function(f){var b=[];for(var x in f)b.push(x);return b};u.exports=c;var i=a(12348),S=a(11288);a(6768)(c,i);for(var g=v(S.prototype),p=0;p<g.length;p++){var _=g[p];c.prototype[_]||(c.prototype[_]=S.prototype[_])}function c(f){if(!(this instanceof c))return new c(f);i.call(this,f),S.call(this,f),this.allowHalfOpen=!0,f&&(f.readable===!1&&(this.readable=!1),f.writable===!1&&(this.writable=!1),f.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",s)))}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function s(){this._writableState.ended||l.nextTick(d,this)}function d(f){f.end()}Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(b){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=b,this._writableState.destroyed=b)}})},27136:function(u,h,a){u.exports=v;var l=a(22477);a(6768)(v,l);function v(i){if(!(this instanceof v))return new v(i);l.call(this,i)}v.prototype._transform=function(i,S,g){g(null,i)}},12348:function(u,h,a){var l=a(4168);u.exports=T;var v;T.ReadableState=N,a(61252).EventEmitter;var i=function(ee,de){return ee.listeners(de).length},S=a(4776),g=a(33576).Buffer,p=a.g.Uint8Array||function(){};function _(re){return g.from(re)}function c(re){return g.isBuffer(re)||re instanceof p}var s=a(19768),d;s&&s.debuglog?d=s.debuglog("stream"):d=function(){};var f=a(47264),b=a(55324),x=a(24888),y=x.getHighWaterMark,C=a(92784).i,w=C.ERR_INVALID_ARG_TYPE,R=C.ERR_STREAM_PUSH_AFTER_EOF,A=C.ERR_METHOD_NOT_IMPLEMENTED,E=C.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,k,L,I;a(6768)(T,S);var P=b.errorOrDestroy,M=["error","close","destroy","pause","resume"];function F(re,ee,de){if(typeof re.prependListener=="function")return re.prependListener(ee,de);!re._events||!re._events[ee]?re.on(ee,de):Array.isArray(re._events[ee])?re._events[ee].unshift(de):re._events[ee]=[de,re._events[ee]]}function N(re,ee,de){v=v||a(15316),re=re||{},typeof de!="boolean"&&(de=ee instanceof v),this.objectMode=!!re.objectMode,de&&(this.objectMode=this.objectMode||!!re.readableObjectMode),this.highWaterMark=y(this,re,"readableHighWaterMark",de),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=re.emitClose!==!1,this.autoDestroy=!!re.autoDestroy,this.destroyed=!1,this.defaultEncoding=re.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,re.encoding&&(k||(k=a(86032).o),this.decoder=new k(re.encoding),this.encoding=re.encoding)}function T(re){if(v=v||a(15316),!(this instanceof T))return new T(re);var ee=this instanceof v;this._readableState=new N(re,this,ee),this.readable=!0,re&&(typeof re.read=="function"&&(this._read=re.read),typeof re.destroy=="function"&&(this._destroy=re.destroy)),S.call(this)}Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(ee){this._readableState&&(this._readableState.destroyed=ee)}}),T.prototype.destroy=b.destroy,T.prototype._undestroy=b.undestroy,T.prototype._destroy=function(re,ee){ee(re)},T.prototype.push=function(re,ee){var de=this._readableState,oe;return de.objectMode?oe=!0:typeof re=="string"&&(ee=ee||de.defaultEncoding,ee!==de.encoding&&(re=g.from(re,ee),ee=""),oe=!0),D(this,re,ee,!1,oe)},T.prototype.unshift=function(re){return D(this,re,null,!0,!1)};function D(re,ee,de,oe,fe){d("readableAddChunk",ee);var me=re._readableState;if(ee===null)me.reading=!1,V(re,me);else{var Te;if(fe||(Te=U(me,ee)),Te)P(re,Te);else if(me.objectMode||ee&&ee.length>0)if(typeof ee!="string"&&!me.objectMode&&Object.getPrototypeOf(ee)!==g.prototype&&(ee=_(ee)),oe)me.endEmitted?P(re,new E):O(re,me,ee,!0);else if(me.ended)P(re,new R);else{if(me.destroyed)return!1;me.reading=!1,me.decoder&&!de?(ee=me.decoder.write(ee),me.objectMode||ee.length!==0?O(re,me,ee,!1):W(re,me)):O(re,me,ee,!1)}else oe||(me.reading=!1,W(re,me))}return!me.ended&&(me.length<me.highWaterMark||me.length===0)}function O(re,ee,de,oe){ee.flowing&&ee.length===0&&!ee.sync?(ee.awaitDrain=0,re.emit("data",de)):(ee.length+=ee.objectMode?1:de.length,oe?ee.buffer.unshift(de):ee.buffer.push(de),ee.needReadable&&j(re)),W(re,ee)}function U(re,ee){var de;return!c(ee)&&typeof ee!="string"&&ee!==void 0&&!re.objectMode&&(de=new w("chunk",["string","Buffer","Uint8Array"],ee)),de}T.prototype.isPaused=function(){return this._readableState.flowing===!1},T.prototype.setEncoding=function(re){k||(k=a(86032).o);var ee=new k(re);this._readableState.decoder=ee,this._readableState.encoding=this._readableState.decoder.encoding;for(var de=this._readableState.buffer.head,oe="";de!==null;)oe+=ee.write(de.data),de=de.next;return this._readableState.buffer.clear(),oe!==""&&this._readableState.buffer.push(oe),this._readableState.length=oe.length,this};var B=1073741824;function Y(re){return re>=B?re=B:(re--,re|=re>>>1,re|=re>>>2,re|=re>>>4,re|=re>>>8,re|=re>>>16,re++),re}function z(re,ee){return re<=0||ee.length===0&&ee.ended?0:ee.objectMode?1:re!==re?ee.flowing&&ee.length?ee.buffer.head.data.length:ee.length:(re>ee.highWaterMark&&(ee.highWaterMark=Y(re)),re<=ee.length?re:ee.ended?ee.length:(ee.needReadable=!0,0))}T.prototype.read=function(re){d("read",re),re=parseInt(re,10);var ee=this._readableState,de=re;if(re!==0&&(ee.emittedReadable=!1),re===0&&ee.needReadable&&((ee.highWaterMark!==0?ee.length>=ee.highWaterMark:ee.length>0)||ee.ended))return d("read: emitReadable",ee.length,ee.ended),ee.length===0&&ee.ended?K(this):j(this),null;if(re=z(re,ee),re===0&&ee.ended)return ee.length===0&&K(this),null;var oe=ee.needReadable;d("need readable",oe),(ee.length===0||ee.length-re<ee.highWaterMark)&&(oe=!0,d("length less than watermark",oe)),ee.ended||ee.reading?(oe=!1,d("reading or ended",oe)):oe&&(d("do read"),ee.reading=!0,ee.sync=!0,ee.length===0&&(ee.needReadable=!0),this._read(ee.highWaterMark),ee.sync=!1,ee.reading||(re=z(de,ee)));var fe;return re>0?fe=le(re,ee):fe=null,fe===null?(ee.needReadable=ee.length<=ee.highWaterMark,re=0):(ee.length-=re,ee.awaitDrain=0),ee.length===0&&(ee.ended||(ee.needReadable=!0),de!==re&&ee.ended&&K(this)),fe!==null&&this.emit("data",fe),fe};function V(re,ee){if(d("onEofChunk"),!ee.ended){if(ee.decoder){var de=ee.decoder.end();de&&de.length&&(ee.buffer.push(de),ee.length+=ee.objectMode?1:de.length)}ee.ended=!0,ee.sync?j(re):(ee.needReadable=!1,ee.emittedReadable||(ee.emittedReadable=!0,G(re)))}}function j(re){var ee=re._readableState;d("emitReadable",ee.needReadable,ee.emittedReadable),ee.needReadable=!1,ee.emittedReadable||(d("emitReadable",ee.flowing),ee.emittedReadable=!0,l.nextTick(G,re))}function G(re){var ee=re._readableState;d("emitReadable_",ee.destroyed,ee.length,ee.ended),!ee.destroyed&&(ee.length||ee.ended)&&(re.emit("readable"),ee.emittedReadable=!1),ee.needReadable=!ee.flowing&&!ee.ended&&ee.length<=ee.highWaterMark,Z(re)}function W(re,ee){ee.readingMore||(ee.readingMore=!0,l.nextTick(X,re,ee))}function X(re,ee){for(;!ee.reading&&!ee.ended&&(ee.length<ee.highWaterMark||ee.flowing&&ee.length===0);){var de=ee.length;if(d("maybeReadMore read 0"),re.read(0),de===ee.length)break}ee.readingMore=!1}T.prototype._read=function(re){P(this,new A("_read()"))},T.prototype.pipe=function(re,ee){var de=this,oe=this._readableState;switch(oe.pipesCount){case 0:oe.pipes=re;break;case 1:oe.pipes=[oe.pipes,re];break;default:oe.pipes.push(re);break}oe.pipesCount+=1,d("pipe count=%d opts=%j",oe.pipesCount,ee);var fe=(!ee||ee.end!==!1)&&re!==l.stdout&&re!==l.stderr,me=fe?we:Fe;oe.endEmitted?l.nextTick(me):de.once("end",me),re.on("unpipe",Te);function Te(We,lt){d("onunpipe"),We===de&&lt&&lt.hasUnpiped===!1&&(lt.hasUnpiped=!0,Re())}function we(){d("onend"),re.end()}var Be=Q(de);re.on("drain",Be);var Ae=!1;function Re(){d("cleanup"),re.removeListener("close",Ke),re.removeListener("finish",ze),re.removeListener("drain",Be),re.removeListener("error",Pe),re.removeListener("unpipe",Te),de.removeListener("end",we),de.removeListener("end",Fe),de.removeListener("data",be),Ae=!0,oe.awaitDrain&&(!re._writableState||re._writableState.needDrain)&&Be()}de.on("data",be);function be(We){d("ondata");var lt=re.write(We);d("dest.write",lt),lt===!1&&((oe.pipesCount===1&&oe.pipes===re||oe.pipesCount>1&&ce(oe.pipes,re)!==-1)&&!Ae&&(d("false write response, pause",oe.awaitDrain),oe.awaitDrain++),de.pause())}function Pe(We){d("onerror",We),Fe(),re.removeListener("error",Pe),i(re,"error")===0&&P(re,We)}F(re,"error",Pe);function Ke(){re.removeListener("finish",ze),Fe()}re.once("close",Ke);function ze(){d("onfinish"),re.removeListener("close",Ke),Fe()}re.once("finish",ze);function Fe(){d("unpipe"),de.unpipe(re)}return re.emit("pipe",de),oe.flowing||(d("pipe resume"),de.resume()),re};function Q(re){return function(){var de=re._readableState;d("pipeOnDrain",de.awaitDrain),de.awaitDrain&&de.awaitDrain--,de.awaitDrain===0&&i(re,"data")&&(de.flowing=!0,Z(re))}}T.prototype.unpipe=function(re){var ee=this._readableState,de={hasUnpiped:!1};if(ee.pipesCount===0)return this;if(ee.pipesCount===1)return re&&re!==ee.pipes?this:(re||(re=ee.pipes),ee.pipes=null,ee.pipesCount=0,ee.flowing=!1,re&&re.emit("unpipe",this,de),this);if(!re){var oe=ee.pipes,fe=ee.pipesCount;ee.pipes=null,ee.pipesCount=0,ee.flowing=!1;for(var me=0;me<fe;me++)oe[me].emit("unpipe",this,{hasUnpiped:!1});return this}var Te=ce(ee.pipes,re);return Te===-1?this:(ee.pipes.splice(Te,1),ee.pipesCount-=1,ee.pipesCount===1&&(ee.pipes=ee.pipes[0]),re.emit("unpipe",this,de),this)},T.prototype.on=function(re,ee){var de=S.prototype.on.call(this,re,ee),oe=this._readableState;return re==="data"?(oe.readableListening=this.listenerCount("readable")>0,oe.flowing!==!1&&this.resume()):re==="readable"&&!oe.endEmitted&&!oe.readableListening&&(oe.readableListening=oe.needReadable=!0,oe.flowing=!1,oe.emittedReadable=!1,d("on readable",oe.length,oe.reading),oe.length?j(this):oe.reading||l.nextTick(ie,this)),de},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(re,ee){var de=S.prototype.removeListener.call(this,re,ee);return re==="readable"&&l.nextTick(ae,this),de},T.prototype.removeAllListeners=function(re){var ee=S.prototype.removeAllListeners.apply(this,arguments);return(re==="readable"||re===void 0)&&l.nextTick(ae,this),ee};function ae(re){var ee=re._readableState;ee.readableListening=re.listenerCount("readable")>0,ee.resumeScheduled&&!ee.paused?ee.flowing=!0:re.listenerCount("data")>0&&re.resume()}function ie(re){d("readable nexttick read 0"),re.read(0)}T.prototype.resume=function(){var re=this._readableState;return re.flowing||(d("resume"),re.flowing=!re.readableListening,he(this,re)),re.paused=!1,this};function he(re,ee){ee.resumeScheduled||(ee.resumeScheduled=!0,l.nextTick(J,re,ee))}function J(re,ee){d("resume",ee.reading),ee.reading||re.read(0),ee.resumeScheduled=!1,re.emit("resume"),Z(re),ee.flowing&&!ee.reading&&re.read(0)}T.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Z(re){var ee=re._readableState;for(d("flow",ee.flowing);ee.flowing&&re.read()!==null;);}T.prototype.wrap=function(re){var ee=this,de=this._readableState,oe=!1;re.on("end",function(){if(d("wrapped end"),de.decoder&&!de.ended){var Te=de.decoder.end();Te&&Te.length&&ee.push(Te)}ee.push(null)}),re.on("data",function(Te){if(d("wrapped data"),de.decoder&&(Te=de.decoder.write(Te)),!(de.objectMode&&Te==null)&&!(!de.objectMode&&(!Te||!Te.length))){var we=ee.push(Te);we||(oe=!0,re.pause())}});for(var fe in re)this[fe]===void 0&&typeof re[fe]=="function"&&(this[fe]=function(we){return function(){return re[we].apply(re,arguments)}}(fe));for(var me=0;me<M.length;me++)re.on(M[me],this.emit.bind(this,M[me]));return this._read=function(Te){d("wrapped _read",Te),oe&&(oe=!1,re.resume())},this},typeof Symbol=="function"&&(T.prototype[Symbol.asyncIterator]=function(){return L===void 0&&(L=a(60328)),L(this)}),Object.defineProperty(T.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(T.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(T.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(ee){this._readableState&&(this._readableState.flowing=ee)}}),T._fromList=le,Object.defineProperty(T.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function le(re,ee){if(ee.length===0)return null;var de;return ee.objectMode?de=ee.buffer.shift():!re||re>=ee.length?(ee.decoder?de=ee.buffer.join(""):ee.buffer.length===1?de=ee.buffer.first():de=ee.buffer.concat(ee.length),ee.buffer.clear()):de=ee.buffer.consume(re,ee.decoder),de}function K(re){var ee=re._readableState;d("endReadable",ee.endEmitted),ee.endEmitted||(ee.ended=!0,l.nextTick(te,ee,re))}function te(re,ee){if(d("endReadableNT",re.endEmitted,re.length),!re.endEmitted&&re.length===0&&(re.endEmitted=!0,ee.readable=!1,ee.emit("end"),re.autoDestroy)){var de=ee._writableState;(!de||de.autoDestroy&&de.finished)&&ee.destroy()}}typeof Symbol=="function"&&(T.from=function(re,ee){return I===void 0&&(I=a(90555)),I(T,re,ee)});function ce(re,ee){for(var de=0,oe=re.length;de<oe;de++)if(re[de]===ee)return de;return-1}},22477:function(u,h,a){u.exports=c;var l=a(92784).i,v=l.ERR_METHOD_NOT_IMPLEMENTED,i=l.ERR_MULTIPLE_CALLBACK,S=l.ERR_TRANSFORM_ALREADY_TRANSFORMING,g=l.ERR_TRANSFORM_WITH_LENGTH_0,p=a(15316);a(6768)(c,p);function _(f,b){var x=this._transformState;x.transforming=!1;var y=x.writecb;if(y===null)return this.emit("error",new i);x.writechunk=null,x.writecb=null,b!=null&&this.push(b),y(f);var C=this._readableState;C.reading=!1,(C.needReadable||C.length<C.highWaterMark)&&this._read(C.highWaterMark)}function c(f){if(!(this instanceof c))return new c(f);p.call(this,f),this._transformState={afterTransform:_.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,f&&(typeof f.transform=="function"&&(this._transform=f.transform),typeof f.flush=="function"&&(this._flush=f.flush)),this.on("prefinish",s)}function s(){var f=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(b,x){d(f,b,x)}):d(this,null,null)}c.prototype.push=function(f,b){return this._transformState.needTransform=!1,p.prototype.push.call(this,f,b)},c.prototype._transform=function(f,b,x){x(new v("_transform()"))},c.prototype._write=function(f,b,x){var y=this._transformState;if(y.writecb=x,y.writechunk=f,y.writeencoding=b,!y.transforming){var C=this._readableState;(y.needTransform||C.needReadable||C.length<C.highWaterMark)&&this._read(C.highWaterMark)}},c.prototype._read=function(f){var b=this._transformState;b.writechunk!==null&&!b.transforming?(b.transforming=!0,this._transform(b.writechunk,b.writeencoding,b.afterTransform)):b.needTransform=!0},c.prototype._destroy=function(f,b){p.prototype._destroy.call(this,f,function(x){b(x)})};function d(f,b,x){if(b)return f.emit("error",b);if(x!=null&&f.push(x),f._writableState.length)throw new g;if(f._transformState.transforming)throw new S;return f.push(null)}},11288:function(u,h,a){var l=a(4168);u.exports=N;function v(Z){var le=this;this.next=null,this.entry=null,this.finish=function(){J(le,Z)}}var i;N.WritableState=M;var S={deprecate:a(96656)},g=a(4776),p=a(33576).Buffer,_=a.g.Uint8Array||function(){};function c(Z){return p.from(Z)}function s(Z){return p.isBuffer(Z)||Z instanceof _}var d=a(55324),f=a(24888),b=f.getHighWaterMark,x=a(92784).i,y=x.ERR_INVALID_ARG_TYPE,C=x.ERR_METHOD_NOT_IMPLEMENTED,w=x.ERR_MULTIPLE_CALLBACK,R=x.ERR_STREAM_CANNOT_PIPE,A=x.ERR_STREAM_DESTROYED,E=x.ERR_STREAM_NULL_VALUES,k=x.ERR_STREAM_WRITE_AFTER_END,L=x.ERR_UNKNOWN_ENCODING,I=d.errorOrDestroy;a(6768)(N,g);function P(){}function M(Z,le,K){i=i||a(15316),Z=Z||{},typeof K!="boolean"&&(K=le instanceof i),this.objectMode=!!Z.objectMode,K&&(this.objectMode=this.objectMode||!!Z.writableObjectMode),this.highWaterMark=b(this,Z,"writableHighWaterMark",K),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var te=Z.decodeStrings===!1;this.decodeStrings=!te,this.defaultEncoding=Z.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ce){V(le,ce)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Z.emitClose!==!1,this.autoDestroy=!!Z.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new v(this)}M.prototype.getBuffer=function(){for(var le=this.bufferedRequest,K=[];le;)K.push(le),le=le.next;return K},function(){try{Object.defineProperty(M.prototype,"buffer",{get:S.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var F;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(F=Function.prototype[Symbol.hasInstance],Object.defineProperty(N,Symbol.hasInstance,{value:function(le){return F.call(this,le)?!0:this!==N?!1:le&&le._writableState instanceof M}})):F=function(le){return le instanceof this};function N(Z){i=i||a(15316);var le=this instanceof i;if(!le&&!F.call(N,this))return new N(Z);this._writableState=new M(Z,this,le),this.writable=!0,Z&&(typeof Z.write=="function"&&(this._write=Z.write),typeof Z.writev=="function"&&(this._writev=Z.writev),typeof Z.destroy=="function"&&(this._destroy=Z.destroy),typeof Z.final=="function"&&(this._final=Z.final)),g.call(this)}N.prototype.pipe=function(){I(this,new R)};function T(Z,le){var K=new k;I(Z,K),l.nextTick(le,K)}function D(Z,le,K,te){var ce;return K===null?ce=new E:typeof K!="string"&&!le.objectMode&&(ce=new y("chunk",["string","Buffer"],K)),ce?(I(Z,ce),l.nextTick(te,ce),!1):!0}N.prototype.write=function(Z,le,K){var te=this._writableState,ce=!1,re=!te.objectMode&&s(Z);return re&&!p.isBuffer(Z)&&(Z=c(Z)),typeof le=="function"&&(K=le,le=null),re?le="buffer":le||(le=te.defaultEncoding),typeof K!="function"&&(K=P),te.ending?T(this,K):(re||D(this,te,Z,K))&&(te.pendingcb++,ce=U(this,te,re,Z,le,K)),ce},N.prototype.cork=function(){this._writableState.corked++},N.prototype.uncork=function(){var Z=this._writableState;Z.corked&&(Z.corked--,!Z.writing&&!Z.corked&&!Z.bufferProcessing&&Z.bufferedRequest&&W(this,Z))},N.prototype.setDefaultEncoding=function(le){if(typeof le=="string"&&(le=le.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((le+"").toLowerCase())>-1))throw new L(le);return this._writableState.defaultEncoding=le,this},Object.defineProperty(N.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function O(Z,le,K){return!Z.objectMode&&Z.decodeStrings!==!1&&typeof le=="string"&&(le=p.from(le,K)),le}Object.defineProperty(N.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function U(Z,le,K,te,ce,re){if(!K){var ee=O(le,te,ce);te!==ee&&(K=!0,ce="buffer",te=ee)}var de=le.objectMode?1:te.length;le.length+=de;var oe=le.length<le.highWaterMark;if(oe||(le.needDrain=!0),le.writing||le.corked){var fe=le.lastBufferedRequest;le.lastBufferedRequest={chunk:te,encoding:ce,isBuf:K,callback:re,next:null},fe?fe.next=le.lastBufferedRequest:le.bufferedRequest=le.lastBufferedRequest,le.bufferedRequestCount+=1}else B(Z,le,!1,de,te,ce,re);return oe}function B(Z,le,K,te,ce,re,ee){le.writelen=te,le.writecb=ee,le.writing=!0,le.sync=!0,le.destroyed?le.onwrite(new A("write")):K?Z._writev(ce,le.onwrite):Z._write(ce,re,le.onwrite),le.sync=!1}function Y(Z,le,K,te,ce){--le.pendingcb,K?(l.nextTick(ce,te),l.nextTick(ie,Z,le),Z._writableState.errorEmitted=!0,I(Z,te)):(ce(te),Z._writableState.errorEmitted=!0,I(Z,te),ie(Z,le))}function z(Z){Z.writing=!1,Z.writecb=null,Z.length-=Z.writelen,Z.writelen=0}function V(Z,le){var K=Z._writableState,te=K.sync,ce=K.writecb;if(typeof ce!="function")throw new w;if(z(K),le)Y(Z,K,te,le,ce);else{var re=X(K)||Z.destroyed;!re&&!K.corked&&!K.bufferProcessing&&K.bufferedRequest&&W(Z,K),te?l.nextTick(j,Z,K,re,ce):j(Z,K,re,ce)}}function j(Z,le,K,te){K||G(Z,le),le.pendingcb--,te(),ie(Z,le)}function G(Z,le){le.length===0&&le.needDrain&&(le.needDrain=!1,Z.emit("drain"))}function W(Z,le){le.bufferProcessing=!0;var K=le.bufferedRequest;if(Z._writev&&K&&K.next){var te=le.bufferedRequestCount,ce=new Array(te),re=le.corkedRequestsFree;re.entry=K;for(var ee=0,de=!0;K;)ce[ee]=K,K.isBuf||(de=!1),K=K.next,ee+=1;ce.allBuffers=de,B(Z,le,!0,le.length,ce,"",re.finish),le.pendingcb++,le.lastBufferedRequest=null,re.next?(le.corkedRequestsFree=re.next,re.next=null):le.corkedRequestsFree=new v(le),le.bufferedRequestCount=0}else{for(;K;){var oe=K.chunk,fe=K.encoding,me=K.callback,Te=le.objectMode?1:oe.length;if(B(Z,le,!1,Te,oe,fe,me),K=K.next,le.bufferedRequestCount--,le.writing)break}K===null&&(le.lastBufferedRequest=null)}le.bufferedRequest=K,le.bufferProcessing=!1}N.prototype._write=function(Z,le,K){K(new C("_write()"))},N.prototype._writev=null,N.prototype.end=function(Z,le,K){var te=this._writableState;return typeof Z=="function"?(K=Z,Z=null,le=null):typeof le=="function"&&(K=le,le=null),Z!=null&&this.write(Z,le),te.corked&&(te.corked=1,this.uncork()),te.ending||he(this,te,K),this},Object.defineProperty(N.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function X(Z){return Z.ending&&Z.length===0&&Z.bufferedRequest===null&&!Z.finished&&!Z.writing}function Q(Z,le){Z._final(function(K){le.pendingcb--,K&&I(Z,K),le.prefinished=!0,Z.emit("prefinish"),ie(Z,le)})}function ae(Z,le){!le.prefinished&&!le.finalCalled&&(typeof Z._final=="function"&&!le.destroyed?(le.pendingcb++,le.finalCalled=!0,l.nextTick(Q,Z,le)):(le.prefinished=!0,Z.emit("prefinish")))}function ie(Z,le){var K=X(le);if(K&&(ae(Z,le),le.pendingcb===0&&(le.finished=!0,Z.emit("finish"),le.autoDestroy))){var te=Z._readableState;(!te||te.autoDestroy&&te.endEmitted)&&Z.destroy()}return K}function he(Z,le,K){le.ending=!0,ie(Z,le),K&&(le.finished?l.nextTick(K):Z.once("finish",K)),le.ended=!0,Z.writable=!1}function J(Z,le,K){var te=Z.entry;for(Z.entry=null;te;){var ce=te.callback;le.pendingcb--,ce(K),te=te.next}le.corkedRequestsFree.next=Z}Object.defineProperty(N.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(le){this._writableState&&(this._writableState.destroyed=le)}}),N.prototype.destroy=d.destroy,N.prototype._undestroy=d.undestroy,N.prototype._destroy=function(Z,le){le(Z)}},60328:function(u,h,a){var l=a(4168),v;function i(E,k,L){return k in E?Object.defineProperty(E,k,{value:L,enumerable:!0,configurable:!0,writable:!0}):E[k]=L,E}var S=a(15932),g=Symbol("lastResolve"),p=Symbol("lastReject"),_=Symbol("error"),c=Symbol("ended"),s=Symbol("lastPromise"),d=Symbol("handlePromise"),f=Symbol("stream");function b(E,k){return{value:E,done:k}}function x(E){var k=E[g];if(k!==null){var L=E[f].read();L!==null&&(E[s]=null,E[g]=null,E[p]=null,k(b(L,!1)))}}function y(E){l.nextTick(x,E)}function C(E,k){return function(L,I){E.then(function(){if(k[c]){L(b(void 0,!0));return}k[d](L,I)},I)}}var w=Object.getPrototypeOf(function(){}),R=Object.setPrototypeOf((v={get stream(){return this[f]},next:function(){var k=this,L=this[_];if(L!==null)return Promise.reject(L);if(this[c])return Promise.resolve(b(void 0,!0));if(this[f].destroyed)return new Promise(function(F,N){l.nextTick(function(){k[_]?N(k[_]):F(b(void 0,!0))})});var I=this[s],P;if(I)P=new Promise(C(I,this));else{var M=this[f].read();if(M!==null)return Promise.resolve(b(M,!1));P=new Promise(this[d])}return this[s]=P,P}},i(v,Symbol.asyncIterator,function(){return this}),i(v,"return",function(){var k=this;return new Promise(function(L,I){k[f].destroy(null,function(P){if(P){I(P);return}L(b(void 0,!0))})})}),v),w),A=function(k){var L,I=Object.create(R,(L={},i(L,f,{value:k,writable:!0}),i(L,g,{value:null,writable:!0}),i(L,p,{value:null,writable:!0}),i(L,_,{value:null,writable:!0}),i(L,c,{value:k._readableState.endEmitted,writable:!0}),i(L,d,{value:function(M,F){var N=I[f].read();N?(I[s]=null,I[g]=null,I[p]=null,M(b(N,!1))):(I[g]=M,I[p]=F)},writable:!0}),L));return I[s]=null,S(k,function(P){if(P&&P.code!=="ERR_STREAM_PREMATURE_CLOSE"){var M=I[p];M!==null&&(I[s]=null,I[g]=null,I[p]=null,M(P)),I[_]=P;return}var F=I[g];F!==null&&(I[s]=null,I[g]=null,I[p]=null,F(b(void 0,!0))),I[c]=!0}),k.on("readable",y.bind(null,I)),I};u.exports=A},47264:function(u,h,a){function l(x,y){var C=Object.keys(x);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(x);y&&(w=w.filter(function(R){return Object.getOwnPropertyDescriptor(x,R).enumerable})),C.push.apply(C,w)}return C}function v(x){for(var y=1;y<arguments.length;y++){var C=arguments[y]!=null?arguments[y]:{};y%2?l(Object(C),!0).forEach(function(w){i(x,w,C[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(x,Object.getOwnPropertyDescriptors(C)):l(Object(C)).forEach(function(w){Object.defineProperty(x,w,Object.getOwnPropertyDescriptor(C,w))})}return x}function i(x,y,C){return y in x?Object.defineProperty(x,y,{value:C,enumerable:!0,configurable:!0,writable:!0}):x[y]=C,x}function S(x,y){if(!(x instanceof y))throw new TypeError("Cannot call a class as a function")}function g(x,y){for(var C=0;C<y.length;C++){var w=y[C];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(x,w.key,w)}}function p(x,y,C){return y&&g(x.prototype,y),x}var _=a(33576),c=_.Buffer,s=a(21576),d=s.inspect,f=d&&d.custom||"inspect";function b(x,y,C){c.prototype.copy.call(x,y,C)}u.exports=function(){function x(){S(this,x),this.head=null,this.tail=null,this.length=0}return p(x,[{key:"push",value:function(C){var w={data:C,next:null};this.length>0?this.tail.next=w:this.head=w,this.tail=w,++this.length}},{key:"unshift",value:function(C){var w={data:C,next:this.head};this.length===0&&(this.tail=w),this.head=w,++this.length}},{key:"shift",value:function(){if(this.length!==0){var C=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,C}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(C){if(this.length===0)return"";for(var w=this.head,R=""+w.data;w=w.next;)R+=C+w.data;return R}},{key:"concat",value:function(C){if(this.length===0)return c.alloc(0);for(var w=c.allocUnsafe(C>>>0),R=this.head,A=0;R;)b(R.data,w,A),A+=R.data.length,R=R.next;return w}},{key:"consume",value:function(C,w){var R;return C<this.head.data.length?(R=this.head.data.slice(0,C),this.head.data=this.head.data.slice(C)):C===this.head.data.length?R=this.shift():R=w?this._getString(C):this._getBuffer(C),R}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(C){var w=this.head,R=1,A=w.data;for(C-=A.length;w=w.next;){var E=w.data,k=C>E.length?E.length:C;if(k===E.length?A+=E:A+=E.slice(0,C),C-=k,C===0){k===E.length?(++R,w.next?this.head=w.next:this.head=this.tail=null):(this.head=w,w.data=E.slice(k));break}++R}return this.length-=R,A}},{key:"_getBuffer",value:function(C){var w=c.allocUnsafe(C),R=this.head,A=1;for(R.data.copy(w),C-=R.data.length;R=R.next;){var E=R.data,k=C>E.length?E.length:C;if(E.copy(w,w.length-C,0,k),C-=k,C===0){k===E.length?(++A,R.next?this.head=R.next:this.head=this.tail=null):(this.head=R,R.data=E.slice(k));break}++A}return this.length-=A,w}},{key:f,value:function(C,w){return d(this,v({},w,{depth:0,customInspect:!1}))}}]),x}()},55324:function(u,h,a){var l=a(4168);function v(c,s){var d=this,f=this._readableState&&this._readableState.destroyed,b=this._writableState&&this._writableState.destroyed;return f||b?(s?s(c):c&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,l.nextTick(p,this,c)):l.nextTick(p,this,c)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(c||null,function(x){!s&&x?d._writableState?d._writableState.errorEmitted?l.nextTick(S,d):(d._writableState.errorEmitted=!0,l.nextTick(i,d,x)):l.nextTick(i,d,x):s?(l.nextTick(S,d),s(x)):l.nextTick(S,d)}),this)}function i(c,s){p(c,s),S(c)}function S(c){c._writableState&&!c._writableState.emitClose||c._readableState&&!c._readableState.emitClose||c.emit("close")}function g(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function p(c,s){c.emit("error",s)}function _(c,s){var d=c._readableState,f=c._writableState;d&&d.autoDestroy||f&&f.autoDestroy?c.destroy(s):c.emit("error",s)}u.exports={destroy:v,undestroy:g,errorOrDestroy:_}},15932:function(u,h,a){var l=a(92784).i.ERR_STREAM_PREMATURE_CLOSE;function v(p){var _=!1;return function(){if(!_){_=!0;for(var c=arguments.length,s=new Array(c),d=0;d<c;d++)s[d]=arguments[d];p.apply(this,s)}}}function i(){}function S(p){return p.setHeader&&typeof p.abort=="function"}function g(p,_,c){if(typeof _=="function")return g(p,null,_);_||(_={}),c=v(c||i);var s=_.readable||_.readable!==!1&&p.readable,d=_.writable||_.writable!==!1&&p.writable,f=function(){p.writable||x()},b=p._writableState&&p._writableState.finished,x=function(){d=!1,b=!0,s||c.call(p)},y=p._readableState&&p._readableState.endEmitted,C=function(){s=!1,y=!0,d||c.call(p)},w=function(k){c.call(p,k)},R=function(){var k;if(s&&!y)return(!p._readableState||!p._readableState.ended)&&(k=new l),c.call(p,k);if(d&&!b)return(!p._writableState||!p._writableState.ended)&&(k=new l),c.call(p,k)},A=function(){p.req.on("finish",x)};return S(p)?(p.on("complete",x),p.on("abort",R),p.req?A():p.on("request",A)):d&&!p._writableState&&(p.on("end",f),p.on("close",f)),p.on("end",C),p.on("finish",x),_.error!==!1&&p.on("error",w),p.on("close",R),function(){p.removeListener("complete",x),p.removeListener("abort",R),p.removeListener("request",A),p.req&&p.req.removeListener("finish",x),p.removeListener("end",f),p.removeListener("close",f),p.removeListener("finish",x),p.removeListener("end",C),p.removeListener("error",w),p.removeListener("close",R)}}u.exports=g},90555:function(u){u.exports=function(){throw new Error("Readable.from is not available in the browser")}},38180:function(u,h,a){var l;function v(x){var y=!1;return function(){y||(y=!0,x.apply(void 0,arguments))}}var i=a(92784).i,S=i.ERR_MISSING_ARGS,g=i.ERR_STREAM_DESTROYED;function p(x){if(x)throw x}function _(x){return x.setHeader&&typeof x.abort=="function"}function c(x,y,C,w){w=v(w);var R=!1;x.on("close",function(){R=!0}),l===void 0&&(l=a(15932)),l(x,{readable:y,writable:C},function(E){if(E)return w(E);R=!0,w()});var A=!1;return function(E){if(!R&&!A){if(A=!0,_(x))return x.abort();if(typeof x.destroy=="function")return x.destroy();w(E||new g("pipe"))}}}function s(x){x()}function d(x,y){return x.pipe(y)}function f(x){return!x.length||typeof x[x.length-1]!="function"?p:x.pop()}function b(){for(var x=arguments.length,y=new Array(x),C=0;C<x;C++)y[C]=arguments[C];var w=f(y);if(Array.isArray(y[0])&&(y=y[0]),y.length<2)throw new S("streams");var R,A=y.map(function(E,k){var L=k<y.length-1,I=k>0;return c(E,L,I,function(P){R||(R=P),P&&A.forEach(s),!L&&(A.forEach(s),w(R))})});return y.reduce(d)}u.exports=b},24888:function(u,h,a){var l=a(92784).i.ERR_INVALID_OPT_VALUE;function v(S,g,p){return S.highWaterMark!=null?S.highWaterMark:g?S[p]:null}function i(S,g,p,_){var c=v(g,_,p);if(c!=null){if(!(isFinite(c)&&Math.floor(c)===c)||c<0){var s=_?p:"highWaterMark";throw new l(s,c)}return Math.floor(c)}return S.objectMode?16:16384}u.exports={getHighWaterMark:i}},4776:function(u,h,a){u.exports=a(61252).EventEmitter},86032:function(u,h,a){var l=a(30456).Buffer,v=l.isEncoding||function(A){switch(A=""+A,A&&A.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(A){if(!A)return"utf8";for(var E;;)switch(A){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return A;default:if(E)return;A=(""+A).toLowerCase(),E=!0}}function S(A){var E=i(A);if(typeof E!="string"&&(l.isEncoding===v||!v(A)))throw new Error("Unknown encoding: "+A);return E||A}h.o=g;function g(A){this.encoding=S(A);var E;switch(this.encoding){case"utf16le":this.text=b,this.end=x,E=4;break;case"utf8":this.fillLast=s,E=4;break;case"base64":this.text=y,this.end=C,E=3;break;default:this.write=w,this.end=R;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=l.allocUnsafe(E)}g.prototype.write=function(A){if(A.length===0)return"";var E,k;if(this.lastNeed){if(E=this.fillLast(A),E===void 0)return"";k=this.lastNeed,this.lastNeed=0}else k=0;return k<A.length?E?E+this.text(A,k):this.text(A,k):E||""},g.prototype.end=f,g.prototype.text=d,g.prototype.fillLast=function(A){if(this.lastNeed<=A.length)return A.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);A.copy(this.lastChar,this.lastTotal-this.lastNeed,0,A.length),this.lastNeed-=A.length};function p(A){return A<=127?0:A>>5===6?2:A>>4===14?3:A>>3===30?4:A>>6===2?-1:-2}function _(A,E,k){var L=E.length-1;if(L<k)return 0;var I=p(E[L]);return I>=0?(I>0&&(A.lastNeed=I-1),I):--L<k||I===-2?0:(I=p(E[L]),I>=0?(I>0&&(A.lastNeed=I-2),I):--L<k||I===-2?0:(I=p(E[L]),I>=0?(I>0&&(I===2?I=0:A.lastNeed=I-3),I):0))}function c(A,E,k){if((E[0]&192)!==128)return A.lastNeed=0,"<22>";if(A.lastNeed>1&&E.length>1){if((E[1]&192)!==128)return A.lastNeed=1,"<22>";if(A.lastNeed>2&&E.length>2&&(E[2]&192)!==128)return A.lastNeed=2,"<22>"}}function s(A){var E=this.lastTotal-this.lastNeed,k=c(this,A);if(k!==void 0)return k;if(this.lastNeed<=A.length)return A.copy(this.lastChar,E,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);A.copy(this.lastChar,E,0,A.length),this.lastNeed-=A.length}function d(A,E){var k=_(this,A,E);if(!this.lastNeed)return A.toString("utf8",E);this.lastTotal=k;var L=A.length-(k-this.lastNeed);return A.copy(this.lastChar,0,L),A.toString("utf8",E,L)}function f(A){var E=A&&A.length?this.write(A):"";return this.lastNeed?E+"<22>":E}function b(A,E){if((A.length-E)%2===0){var k=A.toString("utf16le",E);if(k){var L=k.charCodeAt(k.length-1);if(L>=55296&&L<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=A[A.length-2],this.lastChar[1]=A[A.length-1],k.slice(0,-1)}return k}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=A[A.length-1],A.toString("utf16le",E,A.length-1)}function x(A){var E=A&&A.length?this.write(A):"";if(this.lastNeed){var k=this.lastTotal-this.lastNeed;return E+this.lastChar.toString("utf16le",0,k)}return E}function y(A,E){var k=(A.length-E)%3;return k===0?A.toString("base64",E):(this.lastNeed=3-k,this.lastTotal=3,k===1?this.lastChar[0]=A[A.length-1]:(this.lastChar[0]=A[A.length-2],this.lastChar[1]=A[A.length-1]),A.toString("base64",E,A.length-k))}function C(A){var E=A&&A.length?this.write(A):"";return this.lastNeed?E+this.lastChar.toString("base64",0,3-this.lastNeed):E}function w(A){return A.toString(this.encoding)}function R(A){return A&&A.length?this.write(A):""}},55619:function(u,h,a){var l=a(45408),v=a(86844)("stream-parser");u.exports=_;var i=-1,S=0,g=1,p=2;function _(A){var E=A&&typeof A._transform=="function",k=A&&typeof A._write=="function";if(!E&&!k)throw new Error("must pass a Writable or Transform stream in");v("extending Parser into stream"),A._bytes=s,A._skipBytes=d,E&&(A._passthrough=f),E?A._transform=x:A._write=b}function c(A){v("initializing parser stream"),A._parserBytesLeft=0,A._parserBuffers=[],A._parserBuffered=0,A._parserState=i,A._parserCallback=null,typeof A.push=="function"&&(A._parserOutput=A.push.bind(A)),A._parserInit=!0}function s(A,E){l(!this._parserCallback,'there is already a "callback" set!'),l(isFinite(A)&&A>0,'can only buffer a finite number of bytes > 0, got "'+A+'"'),this._parserInit||c(this),v("buffering %o bytes",A),this._parserBytesLeft=A,this._parserCallback=E,this._parserState=S}function d(A,E){l(!this._parserCallback,'there is already a "callback" set!'),l(A>0,'can only skip > 0 bytes, got "'+A+'"'),this._parserInit||c(this),v("skipping %o bytes",A),this._parserBytesLeft=A,this._parserCallback=E,this._parserState=g}function f(A,E){l(!this._parserCallback,'There is already a "callback" set!'),l(A>0,'can only pass through > 0 bytes, got "'+A+'"'),this._parserInit||c(this),v("passing through %o bytes",A),this._parserBytesLeft=A,this._parserCallback=E,this._parserState=p}function b(A,E,k){this._parserInit||c(this),v("write(%o bytes)",A.length),typeof E=="function"&&(k=E),w(this,A,null,k)}function x(A,E,k){this._parserInit||c(this),v("transform(%o bytes)",A.length),typeof E!="function"&&(E=this._parserOutput),w(this,A,E,k)}function y(A,E,k,L){return A._parserBytesLeft<=0?L(new Error("got data but not currently parsing anything")):E.length<=A._parserBytesLeft?function(){return C(A,E,k,L)}:function(){var I=E.slice(0,A._parserBytesLeft);return C(A,I,k,function(P){if(P)return L(P);if(E.length>I.length)return function(){return y(A,E.slice(I.length),k,L)}})}}function C(A,E,k,L){if(A._parserBytesLeft-=E.length,v("%o bytes left for stream piece",A._parserBytesLeft),A._parserState===S?(A._parserBuffers.push(E),A._parserBuffered+=E.length):A._parserState===p&&k(E),A._parserBytesLeft===0){var I=A._parserCallback;if(I&&A._parserState===S&&A._parserBuffers.length>1&&(E=Buffer.concat(A._parserBuffers,A._parserBuffered)),A._parserState!==S&&(E=null),A._parserCallback=null,A._parserBuffered=0,A._parserState=i,A._parserBuffers.splice(0),I){var P=[];E&&P.push(E),k&&P.push(k);var M=I.length>P.length;M&&P.push(R(L));var F=I.apply(A,P);if(!M||L===F)return L}}else return L}var w=R(y);function R(A){return function(){for(var E=A.apply(this,arguments);typeof E=="function";)E=E();return E}}},86844:function(u,h,a){var l=a(4168);h=u.exports=a(89416),h.log=S,h.formatArgs=i,h.save=g,h.load=p,h.useColors=v,h.storage=typeof chrome<"u"&&typeof chrome.storage<"u"?chrome.storage.local:_(),h.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"];function v(){return typeof window<"u"&&window.process&&window.process.type==="renderer"?!0:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}h.formatters.j=function(c){try{return JSON.stringify(c)}catch(s){return"[UnexpectedJSONParseError]: "+s.message}};function i(c){var s=this.useColors;if(c[0]=(s?"%c":"")+this.namespace+(s?" %c":" ")+c[0]+(s?"%c ":" ")+"+"+h.humanize(this.diff),!!s){var d="color: "+this.color;c.splice(1,0,d,"color: inherit");var f=0,b=0;c[0].replace(/%[a-zA-Z%]/g,function(x){x!=="%%"&&(f++,x==="%c"&&(b=f))}),c.splice(b,0,d)}}function S(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function g(c){try{c==null?h.storage.removeItem("debug"):h.storage.debug=c}catch{}}function p(){var c;try{c=h.storage.debug}catch{}return!c&&typeof l<"u"&&"env"in l&&(c=l.env.DEBUG),c}h.enable(p());function _(){try{return window.localStorage}catch{}}},89416:function(u,h,a){h=u.exports=i.debug=i.default=i,h.coerce=_,h.disable=g,h.enable=S,h.enabled=p,h.humanize=a(93744),h.names=[],h.skips=[],h.formatters={};var l;function v(c){var s=0,d;for(d in c)s=(s<<5)-s+c.charCodeAt(d),s|=0;return h.colors[Math.abs(s)%h.colors.length]}function i(c){function s(){if(s.enabled){var d=s,f=+new Date,b=f-(l||f);d.diff=b,d.prev=l,d.curr=f,l=f;for(var x=new Array(arguments.length),y=0;y<x.length;y++)x[y]=arguments[y];x[0]=h.coerce(x[0]),typeof x[0]!="string"&&x.unshift("%O");var C=0;x[0]=x[0].replace(/%([a-zA-Z%])/g,function(R,A){if(R==="%%")return R;C++;var E=h.formatters[A];if(typeof E=="function"){var k=x[C];R=E.call(d,k),x.splice(C,1),C--}return R}),h.formatArgs.call(d,x);var w=s.log||h.log||console.log.bind(console);w.apply(d,x)}}return s.namespace=c,s.enabled=h.enabled(c),s.useColors=h.useColors(),s.color=v(c),typeof h.init=="function"&&h.init(s),s}function S(c){h.save(c),h.names=[],h.skips=[];for(var s=(typeof c=="string"?c:"").split(/[\s,]+/),d=s.length,f=0;f<d;f++)s[f]&&(c=s[f].replace(/\*/g,".*?"),c[0]==="-"?h.skips.push(new RegExp("^"+c.substr(1)+"$")):h.names.push(new RegExp("^"+c+"$")))}function g(){h.enable("")}function p(c){var s,d;for(s=0,d=h.skips.length;s<d;s++)if(h.skips[s].test(c))return!1;for(s=0,d=h.names.length;s<d;s++)if(h.names[s].test(c))return!0;return!1}function _(c){return c instanceof Error?c.stack||c.message:c}},93744:function(u){var h=1e3,a=h*60,l=a*60,v=l*24,i=v*365.25;u.exports=function(c,s){s=s||{};var d=typeof c;if(d==="string"&&c.length>0)return S(c);if(d==="number"&&isNaN(c)===!1)return s.long?p(c):g(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function S(c){if(c=String(c),!(c.length>100)){var s=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(c);if(s){var d=parseFloat(s[1]),f=(s[2]||"ms").toLowerCase();switch(f){case"years":case"year":case"yrs":case"yr":case"y":return d*i;case"days":case"day":case"d":return d*v;case"hours":case"hour":case"hrs":case"hr":case"h":return d*l;case"minutes":case"minute":case"mins":case"min":case"m":return d*a;case"seconds":case"second":case"secs":case"sec":case"s":return d*h;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function g(c){return c>=v?Math.round(c/v)+"d":c>=l?Math.round(c/l)+"h":c>=a?Math.round(c/a)+"m":c>=h?Math.round(c/h)+"s":c+"ms"}function p(c){return _(c,v,"day")||_(c,l,"hour")||_(c,a,"minute")||_(c,h,"second")||c+" ms"}function _(c,s,d){if(!(c<s))return c<s*1.5?Math.floor(c/s)+" "+d:Math.ceil(c/s)+" "+d+"s"}},39956:function(u,h,a){var l=a(32868);u.exports=function(i,S,g){if(i==null)throw Error("First argument should be a string");if(S==null)throw Error("Separator should be a string or a RegExp");g?(typeof g=="string"||Array.isArray(g))&&(g={ignore:g}):g={},g.escape==null&&(g.escape=!0),g.ignore==null?g.ignore=["[]","()","{}","<>",'""',"''","``","“”","«»"]:(typeof g.ignore=="string"&&(g.ignore=[g.ignore]),g.ignore=g.ignore.map(function(x){return x.length===1&&(x=x+x),x}));var p=l.parse(i,{flat:!0,brackets:g.ignore}),_=p[0],c=_.split(S);if(g.escape){for(var s=[],d=0;d<c.length;d++){var f=c[d],b=c[d+1];f[f.length-1]==="\\"&&f[f.length-2]!=="\\"?(s.push(f+S+b),d++):s.push(f)}c=s}for(var d=0;d<c.length;d++)p[0]=c[d],c[d]=l.stringify(p,{flat:!0});return c}},78484:function(u){u.exports=h;function h(a){for(var l=a.length,v=new Array(l),i=new Array(l),S=new Array(l),g=new Array(l),p=new Array(l),_=new Array(l),c=0;c<l;++c)v[c]=-1,i[c]=0,S[c]=!1,g[c]=0,p[c]=-1,_[c]=[];var s=0,d=[],f=[];function b(w){var R=[w],A=[w];for(v[w]=i[w]=s,S[w]=!0,s+=1;A.length>0;){w=A[A.length-1];var E=a[w];if(g[w]<E.length){for(var k=g[w];k<E.length;++k){var L=E[k];if(v[L]<0){v[L]=i[L]=s,S[L]=!0,s+=1,R.push(L),A.push(L);break}else S[L]&&(i[w]=Math.min(i[w],i[L])|0);p[L]>=0&&_[w].push(p[L])}g[w]=k}else{if(i[w]===v[w]){for(var I=[],P=[],M=0,k=R.length-1;k>=0;--k){var F=R[k];if(S[F]=!1,I.push(F),P.push(_[F]),M+=_[F].length,p[F]=d.length,F===w){R.length=k;break}}d.push(I);for(var N=new Array(M),k=0;k<P.length;k++)for(var T=0;T<P[k].length;T++)N[--M]=P[k][T];f.push(N)}A.pop()}}}for(var c=0;c<l;++c)v[c]<0&&b(c);for(var x,c=0;c<f.length;c++){var y=f[c];if(y.length!==0){y.sort(function(R,A){return R-A}),x=[y[0]];for(var C=1;C<y.length;C++)y[C]!==y[C-1]&&x.push(y[C]);f[c]=x}}return{components:d,adjacencyList:f}}},92848:function(u,h,a){a.r(h);var l=function(){function c(s,d){var f=[],b=!0,x=!1,y=void 0;try{for(var C=s[Symbol.iterator](),w;!(b=(w=C.next()).done)&&(f.push(w.value),!(d&&f.length===d));b=!0);}catch(R){x=!0,y=R}finally{try{!b&&C.return&&C.return()}finally{if(x)throw y}}return f}return function(s,d){if(Array.isArray(s))return s;if(Symbol.iterator in Object(s))return c(s,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),v=Math.PI*2,i=function(s,d,f,b,x,y,C){var w=s.x,R=s.y;w*=d,R*=f;var A=b*w-x*R,E=x*w+b*R;return{x:A+y,y:E+C}},S=function(s,d){var f=d===1.5707963267948966?.551915024494:d===-1.5707963267948966?-.551915024494:1.3333333333333333*Math.tan(d/4),b=Math.cos(s),x=Math.sin(s),y=Math.cos(s+d),C=Math.sin(s+d);return[{x:b-x*f,y:x+b*f},{x:y+C*f,y:C-y*f},{x:y,y:C}]},g=function(s,d,f,b){var x=s*b-d*f<0?-1:1,y=s*f+d*b;return y>1&&(y=1),y<-1&&(y=-1),x*Math.acos(y)},p=function(s,d,f,b,x,y,C,w,R,A,E,k){var L=Math.pow(x,2),I=Math.pow(y,2),P=Math.pow(E,2),M=Math.pow(k,2),F=L*I-L*M-I*P;F<0&&(F=0),F/=L*M+I*P,F=Math.sqrt(F)*(C===w?-1:1);var N=F*x/y*k,T=F*-y/x*E,D=A*N-R*T+(s+f)/2,O=R*N+A*T+(d+b)/2,U=(E-N)/x,B=(k-T)/y,Y=(-E-N)/x,z=(-k-T)/y,V=g(1,0,U,B),j=g(U,B,Y,z);return w===0&&j>0&&(j-=v),w===1&&j<0&&(j+=v),[D,O,V,j]},_=function(s){var d=s.px,f=s.py,b=s.cx,x=s.cy,y=s.rx,C=s.ry,w=s.xAxisRotation,R=w===void 0?0:w,A=s.largeArcFlag,E=A===void 0?0:A,k=s.sweepFlag,L=k===void 0?0:k,I=[];if(y===0||C===0)return[];var P=Math.sin(R*v/360),M=Math.cos(R*v/360),F=M*(d-b)/2+P*(f-x)/2,N=-P*(d-b)/2+M*(f-x)/2;if(F===0&&N===0)return[];y=Math.abs(y),C=Math.abs(C);var T=Math.pow(F,2)/Math.pow(y,2)+Math.pow(N,2)/Math.pow(C,2);T>1&&(y*=Math.sqrt(T),C*=Math.sqrt(T));var D=p(d,f,b,x,y,C,E,L,P,M,F,N),O=l(D,4),U=O[0],B=O[1],Y=O[2],z=O[3],V=Math.abs(z)/(v/4);Math.abs(1-V)<1e-7&&(V=1);var j=Math.max(Math.ceil(V),1);z/=j;for(var G=0;G<j;G++)I.push(S(Y,z)),Y+=z;return I.map(function(W){var X=i(W[0],y,C,M,P,U,B),Q=X.x,ae=X.y,ie=i(W[1],y,C,M,P,U,B),he=ie.x,J=ie.y,Z=i(W[2],y,C,M,P,U,B),le=Z.x,K=Z.y;return{x1:Q,y1:ae,x2:he,y2:J,x:le,y:K}})};h.default=_},74840:function(u,h,a){var l=a(21984),v=a(49972),i=a(41976),S=a(53520),g=a(45408);u.exports=p;function p(_){if(Array.isArray(_)&&_.length===1&&typeof _[0]=="string"&&(_=_[0]),typeof _=="string"&&(g(S(_),"String is not an SVG path."),_=l(_)),g(Array.isArray(_),"Argument should be a string or an array of path segments."),_=v(_),_=i(_),!_.length)return[0,0,0,0];for(var c=[1/0,1/0,-1/0,-1/0],s=0,d=_.length;s<d;s++)for(var f=_[s].slice(1),b=0;b<f.length;b+=2)f[b+0]<c[0]&&(c[0]=f[b+0]),f[b+1]<c[1]&&(c[1]=f[b+1]),f[b+0]>c[2]&&(c[2]=f[b+0]),f[b+1]>c[3]&&(c[3]=f[b+1]);return c}},41976:function(u,h,a){u.exports=v;var l=a(92848);function v(g){for(var p,_=[],c=0,s=0,d=0,f=0,b=null,x=null,y=0,C=0,w=0,R=g.length;w<R;w++){var A=g[w],E=A[0];switch(E){case"M":d=A[1],f=A[2];break;case"A":var k=l({px:y,py:C,cx:A[6],cy:A[7],rx:A[1],ry:A[2],xAxisRotation:A[3],largeArcFlag:A[4],sweepFlag:A[5]});if(!k.length)continue;for(var L=0,I;L<k.length;L++)I=k[L],A=["C",I.x1,I.y1,I.x2,I.y2,I.x,I.y],L<k.length-1&&_.push(A);break;case"S":var P=y,M=C;(p=="C"||p=="S")&&(P+=P-c,M+=M-s),A=["C",P,M,A[1],A[2],A[3],A[4]];break;case"T":p=="Q"||p=="T"?(b=y*2-b,x=C*2-x):(b=y,x=C),A=S(y,C,b,x,A[1],A[2]);break;case"Q":b=A[1],x=A[2],A=S(y,C,A[1],A[2],A[3],A[4]);break;case"L":A=i(y,C,A[1],A[2]);break;case"H":A=i(y,C,A[1],C);break;case"V":A=i(y,C,y,A[1]);break;case"Z":A=i(y,C,d,f);break}p=E,y=A[A.length-2],C=A[A.length-1],A.length>4?(c=A[A.length-4],s=A[A.length-3]):(c=y,s=C),_.push(A)}return _}function i(g,p,_,c){return["C",g,p,_,c,_,c]}function S(g,p,_,c,s,d){return["C",g/3+.6666666666666666*_,p/3+.6666666666666666*c,s/3+.6666666666666666*_,d/3+.6666666666666666*c,s,d]}},20472:function(u,h,a){var l=a(74840),v=a(21984),i=a(22235),S=a(53520),g=a(29620),p=document.createElement("canvas"),_=p.getContext("2d");u.exports=c;function c(f,b){if(!S(f))throw Error("Argument should be valid svg path string");b||(b={});var x,y;b.shape?(x=b.shape[0],y=b.shape[1]):(x=p.width=b.w||b.width||200,y=p.height=b.h||b.height||200);var C=Math.min(x,y),w=b.stroke||0,R=b.viewbox||b.viewBox||l(f),A=[x/(R[2]-R[0]),y/(R[3]-R[1])],E=Math.min(A[0]||0,A[1]||0)/2;if(_.fillStyle="black",_.fillRect(0,0,x,y),_.fillStyle="white",w&&(typeof w!="number"&&(w=1),w>0?_.strokeStyle="white":_.strokeStyle="black",_.lineWidth=Math.abs(w)),_.translate(x*.5,y*.5),_.scale(E,E),d()){var k=new Path2D(f);_.fill(k),w&&_.stroke(k)}else{var L=v(f);i(_,L),_.fill(),w&&_.stroke()}_.setTransform(1,0,0,1,0,0);var I=g(_,{cutoff:b.cutoff!=null?b.cutoff:.5,radius:b.radius!=null?b.radius:C*.5});return I}var s;function d(){if(s!=null)return s;var f=document.createElement("canvas").getContext("2d");if(f.canvas.width=f.canvas.height=1,!window.Path2D)return s=!1;var b=new Path2D("M0,0h1v1h-1v-1Z");f.fillStyle="black",f.fill(b);var x=f.getImageData(0,0,1,1);return s=x&&x.data&&x.data[3]===255}},49760:function(u,h,a){var l;(function(v){var i=/^\s+/,S=/\s+$/,g=0,p=v.round,_=v.min,c=v.max,s=v.random;function d(ee,de){if(ee=ee||"",de=de||{},ee instanceof d)return ee;if(!(this instanceof d))return new d(ee,de);var oe=f(ee);this._originalInput=ee,this._r=oe.r,this._g=oe.g,this._b=oe.b,this._a=oe.a,this._roundA=p(100*this._a)/100,this._format=de.format||oe.format,this._gradientType=de.gradientType,this._r<1&&(this._r=p(this._r)),this._g<1&&(this._g=p(this._g)),this._b<1&&(this._b=p(this._b)),this._ok=oe.ok,this._tc_id=g++}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var ee=this.toRgb();return(ee.r*299+ee.g*587+ee.b*114)/1e3},getLuminance:function(){var ee=this.toRgb(),de,oe,fe,me,Te,we;return de=ee.r/255,oe=ee.g/255,fe=ee.b/255,de<=.03928?me=de/12.92:me=v.pow((de+.055)/1.055,2.4),oe<=.03928?Te=oe/12.92:Te=v.pow((oe+.055)/1.055,2.4),fe<=.03928?we=fe/12.92:we=v.pow((fe+.055)/1.055,2.4),.2126*me+.7152*Te+.0722*we},setAlpha:function(ee){return this._a=G(ee),this._roundA=p(100*this._a)/100,this},toHsv:function(){var ee=C(this._r,this._g,this._b);return{h:ee.h*360,s:ee.s,v:ee.v,a:this._a}},toHsvString:function(){var ee=C(this._r,this._g,this._b),de=p(ee.h*360),oe=p(ee.s*100),fe=p(ee.v*100);return this._a==1?"hsv("+de+", "+oe+"%, "+fe+"%)":"hsva("+de+", "+oe+"%, "+fe+"%, "+this._roundA+")"},toHsl:function(){var ee=x(this._r,this._g,this._b);return{h:ee.h*360,s:ee.s,l:ee.l,a:this._a}},toHslString:function(){var ee=x(this._r,this._g,this._b),de=p(ee.h*360),oe=p(ee.s*100),fe=p(ee.l*100);return this._a==1?"hsl("+de+", "+oe+"%, "+fe+"%)":"hsla("+de+", "+oe+"%, "+fe+"%, "+this._roundA+")"},toHex:function(ee){return R(this._r,this._g,this._b,ee)},toHexString:function(ee){return"#"+this.toHex(ee)},toHex8:function(ee){return A(this._r,this._g,this._b,this._a,ee)},toHex8String:function(ee){return"#"+this.toHex8(ee)},toRgb:function(){return{r:p(this._r),g:p(this._g),b:p(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+p(this._r)+", "+p(this._g)+", "+p(this._b)+")":"rgba("+p(this._r)+", "+p(this._g)+", "+p(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:p(W(this._r,255)*100)+"%",g:p(W(this._g,255)*100)+"%",b:p(W(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+p(W(this._r,255)*100)+"%, "+p(W(this._g,255)*100)+"%, "+p(W(this._b,255)*100)+"%)":"rgba("+p(W(this._r,255)*100)+"%, "+p(W(this._g,255)*100)+"%, "+p(W(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:V[R(this._r,this._g,this._b,!0)]||!1},toFilter:function(ee){var de="#"+E(this._r,this._g,this._b,this._a),oe=de,fe=this._gradientType?"GradientType = 1, ":"";if(ee){var me=d(ee);oe="#"+E(me._r,me._g,me._b,me._a)}return"progid:DXImageTransform.Microsoft.gradient("+fe+"startColorstr="+de+",endColorstr="+oe+")"},toString:function(ee){var de=!!ee;ee=ee||this._format;var oe=!1,fe=this._a<1&&this._a>=0,me=!de&&fe&&(ee==="hex"||ee==="hex6"||ee==="hex3"||ee==="hex4"||ee==="hex8"||ee==="name");return me?ee==="name"&&this._a===0?this.toName():this.toRgbString():(ee==="rgb"&&(oe=this.toRgbString()),ee==="prgb"&&(oe=this.toPercentageRgbString()),(ee==="hex"||ee==="hex6")&&(oe=this.toHexString()),ee==="hex3"&&(oe=this.toHexString(!0)),ee==="hex4"&&(oe=this.toHex8String(!0)),ee==="hex8"&&(oe=this.toHex8String()),ee==="name"&&(oe=this.toName()),ee==="hsl"&&(oe=this.toHslString()),ee==="hsv"&&(oe=this.toHsvString()),oe||this.toHexString())},clone:function(){return d(this.toString())},_applyModification:function(ee,de){var oe=ee.apply(null,[this].concat([].slice.call(de)));return this._r=oe._r,this._g=oe._g,this._b=oe._b,this.setAlpha(oe._a),this},lighten:function(){return this._applyModification(P,arguments)},brighten:function(){return this._applyModification(M,arguments)},darken:function(){return this._applyModification(F,arguments)},desaturate:function(){return this._applyModification(k,arguments)},saturate:function(){return this._applyModification(L,arguments)},greyscale:function(){return this._applyModification(I,arguments)},spin:function(){return this._applyModification(N,arguments)},_applyCombination:function(ee,de){return ee.apply(null,[this].concat([].slice.call(de)))},analogous:function(){return this._applyCombination(B,arguments)},complement:function(){return this._applyCombination(T,arguments)},monochromatic:function(){return this._applyCombination(Y,arguments)},splitcomplement:function(){return this._applyCombination(U,arguments)},triad:function(){return this._applyCombination(D,arguments)},tetrad:function(){return this._applyCombination(O,arguments)}},d.fromRatio=function(ee,de){if(typeof ee=="object"){var oe={};for(var fe in ee)ee.hasOwnProperty(fe)&&(fe==="a"?oe[fe]=ee[fe]:oe[fe]=J(ee[fe]));ee=oe}return d(ee,de)};function f(ee){var de={r:0,g:0,b:0},oe=1,fe=null,me=null,Te=null,we=!1,Be=!1;return typeof ee=="string"&&(ee=ce(ee)),typeof ee=="object"&&(te(ee.r)&&te(ee.g)&&te(ee.b)?(de=b(ee.r,ee.g,ee.b),we=!0,Be=String(ee.r).substr(-1)==="%"?"prgb":"rgb"):te(ee.h)&&te(ee.s)&&te(ee.v)?(fe=J(ee.s),me=J(ee.v),de=w(ee.h,fe,me),we=!0,Be="hsv"):te(ee.h)&&te(ee.s)&&te(ee.l)&&(fe=J(ee.s),Te=J(ee.l),de=y(ee.h,fe,Te),we=!0,Be="hsl"),ee.hasOwnProperty("a")&&(oe=ee.a)),oe=G(oe),{ok:we,format:ee.format||Be,r:_(255,c(de.r,0)),g:_(255,c(de.g,0)),b:_(255,c(de.b,0)),a:oe}}function b(ee,de,oe){return{r:W(ee,255)*255,g:W(de,255)*255,b:W(oe,255)*255}}function x(ee,de,oe){ee=W(ee,255),de=W(de,255),oe=W(oe,255);var fe=c(ee,de,oe),me=_(ee,de,oe),Te,we,Be=(fe+me)/2;if(fe==me)Te=we=0;else{var Ae=fe-me;switch(we=Be>.5?Ae/(2-fe-me):Ae/(fe+me),fe){case ee:Te=(de-oe)/Ae+(de<oe?6:0);break;case de:Te=(oe-ee)/Ae+2;break;case oe:Te=(ee-de)/Ae+4;break}Te/=6}return{h:Te,s:we,l:Be}}function y(ee,de,oe){var fe,me,Te;ee=W(ee,360),de=W(de,100),oe=W(oe,100);function we(Re,be,Pe){return Pe<0&&(Pe+=1),Pe>1&&(Pe-=1),Pe<.16666666666666666?Re+(be-Re)*6*Pe:Pe<.5?be:Pe<.6666666666666666?Re+(be-Re)*(.6666666666666666-Pe)*6:Re}if(de===0)fe=me=Te=oe;else{var Be=oe<.5?oe*(1+de):oe+de-oe*de,Ae=2*oe-Be;fe=we(Ae,Be,ee+.3333333333333333),me=we(Ae,Be,ee),Te=we(Ae,Be,ee-.3333333333333333)}return{r:fe*255,g:me*255,b:Te*255}}function C(ee,de,oe){ee=W(ee,255),de=W(de,255),oe=W(oe,255);var fe=c(ee,de,oe),me=_(ee,de,oe),Te,we,Be=fe,Ae=fe-me;if(we=fe===0?0:Ae/fe,fe==me)Te=0;else{switch(fe){case ee:Te=(de-oe)/Ae+(de<oe?6:0);break;case de:Te=(oe-ee)/Ae+2;break;case oe:Te=(ee-de)/Ae+4;break}Te/=6}return{h:Te,s:we,v:Be}}function w(ee,de,oe){ee=W(ee,360)*6,de=W(de,100),oe=W(oe,100);var fe=v.floor(ee),me=ee-fe,Te=oe*(1-de),we=oe*(1-me*de),Be=oe*(1-(1-me)*de),Ae=fe%6,Re=[oe,we,Te,Te,Be,oe][Ae],be=[Be,oe,oe,we,Te,Te][Ae],Pe=[Te,Te,Be,oe,oe,we][Ae];return{r:Re*255,g:be*255,b:Pe*255}}function R(ee,de,oe,fe){var me=[he(p(ee).toString(16)),he(p(de).toString(16)),he(p(oe).toString(16))];return fe&&me[0].charAt(0)==me[0].charAt(1)&&me[1].charAt(0)==me[1].charAt(1)&&me[2].charAt(0)==me[2].charAt(1)?me[0].charAt(0)+me[1].charAt(0)+me[2].charAt(0):me.join("")}function A(ee,de,oe,fe,me){var Te=[he(p(ee).toString(16)),he(p(de).toString(16)),he(p(oe).toString(16)),he(Z(fe))];return me&&Te[0].charAt(0)==Te[0].charAt(1)&&Te[1].charAt(0)==Te[1].charAt(1)&&Te[2].charAt(0)==Te[2].charAt(1)&&Te[3].charAt(0)==Te[3].charAt(1)?Te[0].charAt(0)+Te[1].charAt(0)+Te[2].charAt(0)+Te[3].charAt(0):Te.join("")}function E(ee,de,oe,fe){var me=[he(Z(fe)),he(p(ee).toString(16)),he(p(de).toString(16)),he(p(oe).toString(16))];return me.join("")}d.equals=function(ee,de){return!ee||!de?!1:d(ee).toRgbString()==d(de).toRgbString()},d.random=function(){return d.fromRatio({r:s(),g:s(),b:s()})};function k(ee,de){de=de===0?0:de||10;var oe=d(ee).toHsl();return oe.s-=de/100,oe.s=X(oe.s),d(oe)}function L(ee,de){de=de===0?0:de||10;var oe=d(ee).toHsl();return oe.s+=de/100,oe.s=X(oe.s),d(oe)}function I(ee){return d(ee).desaturate(100)}function P(ee,de){de=de===0?0:de||10;var oe=d(ee).toHsl();return oe.l+=de/100,oe.l=X(oe.l),d(oe)}function M(ee,de){de=de===0?0:de||10;var oe=d(ee).toRgb();return oe.r=c(0,_(255,oe.r-p(255*-(de/100)))),oe.g=c(0,_(255,oe.g-p(255*-(de/100)))),oe.b=c(0,_(255,oe.b-p(255*-(de/100)))),d(oe)}function F(ee,de){de=de===0?0:de||10;var oe=d(ee).toHsl();return oe.l-=de/100,oe.l=X(oe.l),d(oe)}function N(ee,de){var oe=d(ee).toHsl(),fe=(oe.h+de)%360;return oe.h=fe<0?360+fe:fe,d(oe)}function T(ee){var de=d(ee).toHsl();return de.h=(de.h+180)%360,d(de)}function D(ee){var de=d(ee).toHsl(),oe=de.h;return[d(ee),d({h:(oe+120)%360,s:de.s,l:de.l}),d({h:(oe+240)%360,s:de.s,l:de.l})]}function O(ee){var de=d(ee).toHsl(),oe=de.h;return[d(ee),d({h:(oe+90)%360,s:de.s,l:de.l}),d({h:(oe+180)%360,s:de.s,l:de.l}),d({h:(oe+270)%360,s:de.s,l:de.l})]}function U(ee){var de=d(ee).toHsl(),oe=de.h;return[d(ee),d({h:(oe+72)%360,s:de.s,l:de.l}),d({h:(oe+216)%360,s:de.s,l:de.l})]}function B(ee,de,oe){de=de||6,oe=oe||30;var fe=d(ee).toHsl(),me=360/oe,Te=[d(ee)];for(fe.h=(fe.h-(me*de>>1)+720)%360;--de;)fe.h=(fe.h+me)%360,Te.push(d(fe));return Te}function Y(ee,de){de=de||6;for(var oe=d(ee).toHsv(),fe=oe.h,me=oe.s,Te=oe.v,we=[],Be=1/de;de--;)we.push(d({h:fe,s:me,v:Te})),Te=(Te+Be)%1;return we}d.mix=function(ee,de,oe){oe=oe===0?0:oe||50;var fe=d(ee).toRgb(),me=d(de).toRgb(),Te=oe/100,we={r:(me.r-fe.r)*Te+fe.r,g:(me.g-fe.g)*Te+fe.g,b:(me.b-fe.b)*Te+fe.b,a:(me.a-fe.a)*Te+fe.a};return d(we)},d.readability=function(ee,de){var oe=d(ee),fe=d(de);return(v.max(oe.getLuminance(),fe.getLuminance())+.05)/(v.min(oe.getLuminance(),fe.getLuminance())+.05)},d.isReadable=function(ee,de,oe){var fe=d.readability(ee,de),me,Te;switch(Te=!1,me=re(oe),me.level+me.size){case"AAsmall":case"AAAlarge":Te=fe>=4.5;break;case"AAlarge":Te=fe>=3;break;case"AAAsmall":Te=fe>=7;break}return Te},d.mostReadable=function(ee,de,oe){var fe=null,me=0,Te,we,Be,Ae;oe=oe||{},we=oe.includeFallbackColors,Be=oe.level,Ae=oe.size;for(var Re=0;Re<de.length;Re++)Te=d.readability(ee,de[Re]),Te>me&&(me=Te,fe=d(de[Re]));return d.isReadable(ee,fe,{level:Be,size:Ae})||!we?fe:(oe.includeFallbackColors=!1,d.mostReadable(ee,["#fff","#000"],oe))};var z=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},V=d.hexNames=j(z);function j(ee){var de={};for(var oe in ee)ee.hasOwnProperty(oe)&&(de[ee[oe]]=oe);return de}function G(ee){return ee=parseFloat(ee),(isNaN(ee)||ee<0||ee>1)&&(ee=1),ee}function W(ee,de){ae(ee)&&(ee="100%");var oe=ie(ee);return ee=_(de,c(0,parseFloat(ee))),oe&&(ee=parseInt(ee*de,10)/100),v.abs(ee-de)<1e-6?1:ee%de/parseFloat(de)}function X(ee){return _(1,c(0,ee))}function Q(ee){return parseInt(ee,16)}function ae(ee){return typeof ee=="string"&&ee.indexOf(".")!=-1&&parseFloat(ee)===1}function ie(ee){return typeof ee=="string"&&ee.indexOf("%")!=-1}function he(ee){return ee.length==1?"0"+ee:""+ee}function J(ee){return ee<=1&&(ee=ee*100+"%"),ee}function Z(ee){return v.round(parseFloat(ee)*255).toString(16)}function le(ee){return Q(ee)/255}var K=function(){var ee="[-\\+]?\\d+%?",de="[-\\+]?\\d*\\.\\d+%?",oe="(?:"+de+")|(?:"+ee+")",fe="[\\s|\\(]+("+oe+")[,|\\s]+("+oe+")[,|\\s]+("+oe+")\\s*\\)?",me="[\\s|\\(]+("+oe+")[,|\\s]+("+oe+")[,|\\s]+("+oe+")[,|\\s]+("+oe+")\\s*\\)?";return{CSS_UNIT:new RegExp(oe),rgb:new RegExp("rgb"+fe),rgba:new RegExp("rgba"+me),hsl:new RegExp("hsl"+fe),hsla:new RegExp("hsla"+me),hsv:new RegExp("hsv"+fe),hsva:new RegExp("hsva"+me),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function te(ee){return!!K.CSS_UNIT.exec(ee)}function ce(ee){ee=ee.replace(i,"").replace(S,"").toLowerCase();var de=!1;if(z[ee])ee=z[ee],de=!0;else if(ee=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var oe;return(oe=K.rgb.exec(ee))?{r:oe[1],g:oe[2],b:oe[3]}:(oe=K.rgba.exec(ee))?{r:oe[1],g:oe[2],b:oe[3],a:oe[4]}:(oe=K.hsl.exec(ee))?{h:oe[1],s:oe[2],l:oe[3]}:(oe=K.hsla.exec(ee))?{h:oe[1],s:oe[2],l:oe[3],a:oe[4]}:(oe=K.hsv.exec(ee))?{h:oe[1],s:oe[2],v:oe[3]}:(oe=K.hsva.exec(ee))?{h:oe[1],s:oe[2],v:oe[3],a:oe[4]}:(oe=K.hex8.exec(ee))?{r:Q(oe[1]),g:Q(oe[2]),b:Q(oe[3]),a:le(oe[4]),format:de?"name":"hex8"}:(oe=K.hex6.exec(ee))?{r:Q(oe[1]),g:Q(oe[2]),b:Q(oe[3]),format:de?"name":"hex"}:(oe=K.hex4.exec(ee))?{r:Q(oe[1]+""+oe[1]),g:Q(oe[2]+""+oe[2]),b:Q(oe[3]+""+oe[3]),a:le(oe[4]+""+oe[4]),format:de?"name":"hex8"}:(oe=K.hex3.exec(ee))?{r:Q(oe[1]+""+oe[1]),g:Q(oe[2]+""+oe[2]),b:Q(oe[3]+""+oe[3]),format:de?"name":"hex"}:!1}function re(ee){var de,oe;return ee=ee||{level:"AA",size:"small"},de=(ee.level||"AA").toUpperCase(),oe=(ee.size||"small").toLowerCase(),de!=="AA"&&de!=="AAA"&&(de="AA"),oe!=="small"&&oe!=="large"&&(oe="small"),{level:de,size:oe}}u.exports?u.exports=d:(l=(function(){return d}).call(h,a,h,u),l!==void 0&&(u.exports=l))})(Math)},37816:function(u){u.exports=l,u.exports.float32=u.exports.float=l,u.exports.fract32=u.exports.fract=a;var h=new Float32Array(1);function a(v,i){if(v.length){if(v instanceof Float32Array)return new Float32Array(v.length);i instanceof Float32Array||(i=l(v));for(var S=0,g=i.length;S<g;S++)i[S]=v[S]-i[S];return i}return l(v-l(v))}function l(v){return v.length?v instanceof Float32Array?v:new Float32Array(v):(h[0]=v,h[0])}},23464:function(u,h,a){var l=a(65819);u.exports=g;var v=96;function i(p,_){var c=l(getComputedStyle(p).getPropertyValue(_));return c[0]*g(c[1],p)}function S(p,_){var c=document.createElement("div");c.style["font-size"]="128"+p,_.appendChild(c);var s=i(c,"font-size")/128;return _.removeChild(c),s}function g(p,_){switch(_=_||document.body,p=(p||"px").trim().toLowerCase(),(_===window||_===document)&&(_=document.body),p){case"%":return _.clientHeight/100;case"ch":case"ex":return S(p,_);case"em":return i(_,"font-size");case"rem":return i(document.body,"font-size");case"vw":return window.innerWidth/100;case"vh":return window.innerHeight/100;case"vmin":return Math.min(window.innerWidth,window.innerHeight)/100;case"vmax":return Math.max(window.innerWidth,window.innerHeight)/100;case"in":return v;case"cm":return v/2.54;case"mm":return v/25.4;case"pt":return v/72;case"pc":return v/6}return 1}},55712:function(u,h,a){a.d(h,{NO:function(){return S}});function l(_,c){for(var s,d=_.length,f=d-c;f<--d;)s=_[f],_[f++]=_[d],_[d]=s}function v(_){return _}function i(_){if(_==null)return v;var c,s,d=_.scale[0],f=_.scale[1],b=_.translate[0],x=_.translate[1];return function(y,C){C||(c=s=0);var w=2,R=y.length,A=new Array(R);for(A[0]=(c+=y[0])*d+b,A[1]=(s+=y[1])*f+x;w<R;)A[w]=y[w],++w;return A}}function S(_,c){return typeof c=="string"&&(c=_.objects[c]),c.type==="GeometryCollection"?{type:"FeatureCollection",features:c.geometries.map(function(s){return g(_,s)})}:g(_,c)}function g(_,c){var s=c.id,d=c.bbox,f=c.properties==null?{}:c.properties,b=p(_,c);return s==null&&d==null?{type:"Feature",properties:f,geometry:b}:d==null?{type:"Feature",id:s,properties:f,geometry:b}:{type:"Feature",id:s,bbox:d,properties:f,geometry:b}}function p(_,c){var s=i(_.transform),d=_.arcs;function f(R,A){A.length&&A.pop();for(var E=d[R<0?~R:R],k=0,L=E.length;k<L;++k)A.push(s(E[k],k));R<0&&l(A,L)}function b(R){return s(R)}function x(R){for(var A=[],E=0,k=R.length;E<k;++E)f(R[E],A);return A.length<2&&A.push(A[0]),A}function y(R){for(var A=x(R);A.length<4;)A.push(A[0]);return A}function C(R){return R.map(y)}function w(R){var A=R.type,E;switch(A){case"GeometryCollection":return{type:A,geometries:R.geometries.map(w)};case"Point":E=b(R.coordinates);break;case"MultiPoint":E=R.coordinates.map(b);break;case"LineString":E=x(R.arcs);break;case"MultiLineString":E=R.arcs.map(x);break;case"Polygon":E=C(R.arcs);break;case"MultiPolygon":E=R.arcs.map(C);break;default:return null}return{type:A,coordinates:E}}return w(c)}},73384:function(u,h,a){var l=a(54612);u.exports=function(v){if(typeof v!="function"||!hasOwnProperty.call(v,"length"))return!1;try{if(typeof v.length!="number"||typeof v.call!="function"||typeof v.apply!="function")return!1}catch{return!1}return!l(v)}},57980:function(u,h,a){var l=a(81680),v=a(7328),i=a(33940),S=a(18856),g=function(p,_){return p.replace("%v",S(_))};u.exports=function(p,_,c){if(!v(c))throw new TypeError(g(_,p));if(!l(p)){if("default"in c)return c.default;if(c.isOptional)return null}var s=i(c.errorMessage);throw l(s)||(s=_),new TypeError(g(s,p))}},32336:function(u){u.exports=function(h){try{return h.toString()}catch{try{return String(h)}catch{return null}}}},18856:function(u,h,a){var l=a(32336),v=/[\n\r\u2028\u2029]/g;u.exports=function(i){var S=l(i);return S===null?"<Non-coercible to string value>":(S.length>100&&(S=S.slice(0,99)+"…"),S=S.replace(v,function(g){switch(g){case`
`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}),S)}},7328:function(u,h,a){var l=a(81680),v={object:!0,function:!0,undefined:!0};u.exports=function(i){return l(i)?hasOwnProperty.call(v,typeof i):!1}},87396:function(u,h,a){var l=a(57980),v=a(85488);u.exports=function(i){return v(i)?i:l(i,"%v is not a plain function",arguments[1])}},85488:function(u,h,a){var l=a(73384),v=/^\s*class[\s{/}]/,i=Function.prototype.toString;u.exports=function(S){return!(!l(S)||v.test(i.call(S)))}},54612:function(u,h,a){var l=a(7328);u.exports=function(v){if(!l(v))return!1;try{return v.constructor?v.constructor.prototype===v:!1}catch{return!1}}},33940:function(u,h,a){var l=a(81680),v=a(7328),i=Object.prototype.toString;u.exports=function(S){if(!l(S))return null;if(v(S)){var g=S.toString;if(typeof g!="function"||g===i)return null}try{return""+S}catch{return null}}},18496:function(u,h,a){var l=a(57980),v=a(81680);u.exports=function(i){return v(i)?i:l(i,"Cannot use %v",arguments[1])}},81680:function(u){var h=void 0;u.exports=function(a){return a!==h&&a!==null}},14144:function(u,h,a){var l=a(308),v=a(10352),i=a(33576).Buffer;a.g.__TYPEDARRAY_POOL||(a.g.__TYPEDARRAY_POOL={UINT8:v([32,0]),UINT16:v([32,0]),UINT32:v([32,0]),BIGUINT64:v([32,0]),INT8:v([32,0]),INT16:v([32,0]),INT32:v([32,0]),BIGINT64:v([32,0]),FLOAT:v([32,0]),DOUBLE:v([32,0]),DATA:v([32,0]),UINT8C:v([32,0]),BUFFER:v([32,0])});var S=typeof Uint8ClampedArray<"u",g=typeof BigUint64Array<"u",p=typeof BigInt64Array<"u",_=a.g.__TYPEDARRAY_POOL;_.UINT8C||(_.UINT8C=v([32,0])),_.BIGUINT64||(_.BIGUINT64=v([32,0])),_.BIGINT64||(_.BIGINT64=v([32,0])),_.BUFFER||(_.BUFFER=v([32,0]));var c=_.DATA,s=_.BUFFER;h.free=function(T){if(i.isBuffer(T))s[l.log2(T.length)].push(T);else{if(Object.prototype.toString.call(T)!=="[object ArrayBuffer]"&&(T=T.buffer),!T)return;var D=T.length||T.byteLength,O=l.log2(D)|0;c[O].push(T)}};function d(N){if(N){var T=N.length||N.byteLength,D=l.log2(T);c[D].push(N)}}function f(N){d(N.buffer)}h.freeUint8=h.freeUint16=h.freeUint32=h.freeBigUint64=h.freeInt8=h.freeInt16=h.freeInt32=h.freeBigInt64=h.freeFloat32=h.freeFloat=h.freeFloat64=h.freeDouble=h.freeUint8Clamped=h.freeDataView=f,h.freeArrayBuffer=d,h.freeBuffer=function(T){s[l.log2(T.length)].push(T)},h.malloc=function(T,D){if(D===void 0||D==="arraybuffer")return b(T);switch(D){case"uint8":return x(T);case"uint16":return y(T);case"uint32":return C(T);case"int8":return w(T);case"int16":return R(T);case"int32":return A(T);case"float":case"float32":return E(T);case"double":case"float64":return k(T);case"uint8_clamped":return L(T);case"bigint64":return P(T);case"biguint64":return I(T);case"buffer":return F(T);case"data":case"dataview":return M(T);default:return null}return null};function b(T){var T=l.nextPow2(T),D=l.log2(T),O=c[D];return O.length>0?O.pop():new ArrayBuffer(T)}h.mallocArrayBuffer=b;function x(N){return new Uint8Array(b(N),0,N)}h.mallocUint8=x;function y(N){return new Uint16Array(b(2*N),0,N)}h.mallocUint16=y;function C(N){return new Uint32Array(b(4*N),0,N)}h.mallocUint32=C;function w(N){return new Int8Array(b(N),0,N)}h.mallocInt8=w;function R(N){return new Int16Array(b(2*N),0,N)}h.mallocInt16=R;function A(N){return new Int32Array(b(4*N),0,N)}h.mallocInt32=A;function E(N){return new Float32Array(b(4*N),0,N)}h.mallocFloat32=h.mallocFloat=E;function k(N){return new Float64Array(b(8*N),0,N)}h.mallocFloat64=h.mallocDouble=k;function L(N){return S?new Uint8ClampedArray(b(N),0,N):x(N)}h.mallocUint8Clamped=L;function I(N){return g?new BigUint64Array(b(8*N),0,N):null}h.mallocBigUint64=I;function P(N){return p?new BigInt64Array(b(8*N),0,N):null}h.mallocBigInt64=P;function M(N){return new DataView(b(N),0,N)}h.mallocDataView=M;function F(N){N=l.nextPow2(N);var T=l.log2(N),D=s[T];return D.length>0?D.pop():new i(N)}h.mallocBuffer=F,h.clearCache=function(){for(var T=0;T<32;++T)_.UINT8[T].length=0,_.UINT16[T].length=0,_.UINT32[T].length=0,_.INT8[T].length=0,_.INT16[T].length=0,_.INT32[T].length=0,_.FLOAT[T].length=0,_.DOUBLE[T].length=0,_.BIGUINT64[T].length=0,_.BIGINT64[T].length=0,_.UINT8C[T].length=0,c[T].length=0,s[T].length=0}},92384:function(u){var h=/[\'\"]/;u.exports=function(l){return l?(h.test(l.charAt(0))&&(l=l.substr(1)),h.test(l.charAt(l.length-1))&&(l=l.substr(0,l.length-1)),l):""}},45223:function(u){u.exports=function(a,l,v){Array.isArray(v)||(v=[].slice.call(arguments,2));for(var i=0,S=v.length;i<S;i++){var g=v[i];for(var p in g)if(!(l[p]!==void 0&&!Array.isArray(l[p])&&a[p]===l[p])&&p in l){var _;if(g[p]===!0)_=l[p];else{if(g[p]===!1)continue;if(typeof g[p]=="function"&&(_=g[p](l[p],a,l),_===void 0))continue}a[p]=_}}return a}},96656:function(u,h,a){u.exports=l;function l(i,S){if(v("noDeprecation"))return i;var g=!1;function p(){if(!g){if(v("throwDeprecation"))throw new Error(S);v("traceDeprecation")?console.trace(S):console.warn(S),g=!0}return i.apply(this,arguments)}return p}function v(i){try{if(!a.g.localStorage)return!1}catch{return!1}var S=a.g.localStorage[i];return S==null?!1:String(S).toLowerCase()==="true"}},75272:function(u){u.exports=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}},41088:function(u,h,a){var l=a(91148),v=a(84420),i=a(96632),S=a(7728);function g(Te){return Te.call.bind(Te)}var p=typeof BigInt<"u",_=typeof Symbol<"u",c=g(Object.prototype.toString),s=g(Number.prototype.valueOf),d=g(String.prototype.valueOf),f=g(Boolean.prototype.valueOf);if(p)var b=g(BigInt.prototype.valueOf);if(_)var x=g(Symbol.prototype.valueOf);function y(Te,we){if(typeof Te!="object")return!1;try{return we(Te),!0}catch{return!1}}h.isArgumentsObject=l,h.isGeneratorFunction=v,h.isTypedArray=S;function C(Te){return typeof Promise<"u"&&Te instanceof Promise||Te!==null&&typeof Te=="object"&&typeof Te.then=="function"&&typeof Te.catch=="function"}h.isPromise=C;function w(Te){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(Te):S(Te)||Q(Te)}h.isArrayBufferView=w;function R(Te){return i(Te)==="Uint8Array"}h.isUint8Array=R;function A(Te){return i(Te)==="Uint8ClampedArray"}h.isUint8ClampedArray=A;function E(Te){return i(Te)==="Uint16Array"}h.isUint16Array=E;function k(Te){return i(Te)==="Uint32Array"}h.isUint32Array=k;function L(Te){return i(Te)==="Int8Array"}h.isInt8Array=L;function I(Te){return i(Te)==="Int16Array"}h.isInt16Array=I;function P(Te){return i(Te)==="Int32Array"}h.isInt32Array=P;function M(Te){return i(Te)==="Float32Array"}h.isFloat32Array=M;function F(Te){return i(Te)==="Float64Array"}h.isFloat64Array=F;function N(Te){return i(Te)==="BigInt64Array"}h.isBigInt64Array=N;function T(Te){return i(Te)==="BigUint64Array"}h.isBigUint64Array=T;function D(Te){return c(Te)==="[object Map]"}D.working=typeof Map<"u"&&D(new Map);function O(Te){return typeof Map>"u"?!1:D.working?D(Te):Te instanceof Map}h.isMap=O;function U(Te){return c(Te)==="[object Set]"}U.working=typeof Set<"u"&&U(new Set);function B(Te){return typeof Set>"u"?!1:U.working?U(Te):Te instanceof Set}h.isSet=B;function Y(Te){return c(Te)==="[object WeakMap]"}Y.working=typeof WeakMap<"u"&&Y(new WeakMap);function z(Te){return typeof WeakMap>"u"?!1:Y.working?Y(Te):Te instanceof WeakMap}h.isWeakMap=z;function V(Te){return c(Te)==="[object WeakSet]"}V.working=typeof WeakSet<"u"&&V(new WeakSet);function j(Te){return V(Te)}h.isWeakSet=j;function G(Te){return c(Te)==="[object ArrayBuffer]"}G.working=typeof ArrayBuffer<"u"&&G(new ArrayBuffer);function W(Te){return typeof ArrayBuffer>"u"?!1:G.working?G(Te):Te instanceof ArrayBuffer}h.isArrayBuffer=W;function X(Te){return c(Te)==="[object DataView]"}X.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&X(new DataView(new ArrayBuffer(1),0,1));function Q(Te){return typeof DataView>"u"?!1:X.working?X(Te):Te instanceof DataView}h.isDataView=Q;var ae=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function ie(Te){return c(Te)==="[object SharedArrayBuffer]"}function he(Te){return typeof ae>"u"?!1:(typeof ie.working>"u"&&(ie.working=ie(new ae)),ie.working?ie(Te):Te instanceof ae)}h.isSharedArrayBuffer=he;function J(Te){return c(Te)==="[object AsyncFunction]"}h.isAsyncFunction=J;function Z(Te){return c(Te)==="[object Map Iterator]"}h.isMapIterator=Z;function le(Te){return c(Te)==="[object Set Iterator]"}h.isSetIterator=le;function K(Te){return c(Te)==="[object Generator]"}h.isGeneratorObject=K;function te(Te){return c(Te)==="[object WebAssembly.Module]"}h.isWebAssemblyCompiledModule=te;function ce(Te){return y(Te,s)}h.isNumberObject=ce;function re(Te){return y(Te,d)}h.isStringObject=re;function ee(Te){return y(Te,f)}h.isBooleanObject=ee;function de(Te){return p&&y(Te,b)}h.isBigIntObject=de;function oe(Te){return _&&y(Te,x)}h.isSymbolObject=oe;function fe(Te){return ce(Te)||re(Te)||ee(Te)||de(Te)||oe(Te)}h.isBoxedPrimitive=fe;function me(Te){return typeof Uint8Array<"u"&&(W(Te)||he(Te))}h.isAnyArrayBuffer=me,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Te){Object.defineProperty(h,Te,{enumerable:!1,value:function(){throw new Error(Te+" is not supported in userland")}})})},35840:function(u,h,a){var l=a(4168),v=Object.getOwnPropertyDescriptors||function(ae){for(var ie=Object.keys(ae),he={},J=0;J<ie.length;J++)he[ie[J]]=Object.getOwnPropertyDescriptor(ae,ie[J]);return he},i=/%[sdj%]/g;h.format=function(Q){if(!I(Q)){for(var ae=[],ie=0;ie<arguments.length;ie++)ae.push(_(arguments[ie]));return ae.join(" ")}for(var ie=1,he=arguments,J=he.length,Z=String(Q).replace(i,function(K){if(K==="%%")return"%";if(ie>=J)return K;switch(K){case"%s":return String(he[ie++]);case"%d":return Number(he[ie++]);case"%j":try{return JSON.stringify(he[ie++])}catch{return"[Circular]"}default:return K}}),le=he[ie];ie<J;le=he[++ie])E(le)||!N(le)?Z+=" "+le:Z+=" "+_(le);return Z},h.deprecate=function(Q,ae){if(typeof l<"u"&&l.noDeprecation===!0)return Q;if(typeof l>"u")return function(){return h.deprecate(Q,ae).apply(this,arguments)};var ie=!1;function he(){if(!ie){if(l.throwDeprecation)throw new Error(ae);l.traceDeprecation?console.trace(ae):console.error(ae),ie=!0}return Q.apply(this,arguments)}return he};var S={},g=/^$/;if(l.env.NODE_DEBUG){var p=l.env.NODE_DEBUG;p=p.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),g=new RegExp("^"+p+"$","i")}h.debuglog=function(Q){if(Q=Q.toUpperCase(),!S[Q])if(g.test(Q)){var ae=l.pid;S[Q]=function(){var ie=h.format.apply(h,arguments);console.error("%s %d: %s",Q,ae,ie)}}else S[Q]=function(){};return S[Q]};function _(Q,ae){var ie={seen:[],stylize:s};return arguments.length>=3&&(ie.depth=arguments[2]),arguments.length>=4&&(ie.colors=arguments[3]),A(ae)?ie.showHidden=ae:ae&&h._extend(ie,ae),M(ie.showHidden)&&(ie.showHidden=!1),M(ie.depth)&&(ie.depth=2),M(ie.colors)&&(ie.colors=!1),M(ie.customInspect)&&(ie.customInspect=!0),ie.colors&&(ie.stylize=c),f(ie,Q,ie.depth)}h.inspect=_,_.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},_.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function c(Q,ae){var ie=_.styles[ae];return ie?"\x1B["+_.colors[ie][0]+"m"+Q+"\x1B["+_.colors[ie][1]+"m":Q}function s(Q,ae){return Q}function d(Q){var ae={};return Q.forEach(function(ie,he){ae[ie]=!0}),ae}function f(Q,ae,ie){if(Q.customInspect&&ae&&O(ae.inspect)&&ae.inspect!==h.inspect&&!(ae.constructor&&ae.constructor.prototype===ae)){var he=ae.inspect(ie,Q);return I(he)||(he=f(Q,he,ie)),he}var J=b(Q,ae);if(J)return J;var Z=Object.keys(ae),le=d(Z);if(Q.showHidden&&(Z=Object.getOwnPropertyNames(ae)),D(ae)&&(Z.indexOf("message")>=0||Z.indexOf("description")>=0))return x(ae);if(Z.length===0){if(O(ae)){var K=ae.name?": "+ae.name:"";return Q.stylize("[Function"+K+"]","special")}if(F(ae))return Q.stylize(RegExp.prototype.toString.call(ae),"regexp");if(T(ae))return Q.stylize(Date.prototype.toString.call(ae),"date");if(D(ae))return x(ae)}var te="",ce=!1,re=["{","}"];if(R(ae)&&(ce=!0,re=["[","]"]),O(ae)){var ee=ae.name?": "+ae.name:"";te=" [Function"+ee+"]"}if(F(ae)&&(te=" "+RegExp.prototype.toString.call(ae)),T(ae)&&(te=" "+Date.prototype.toUTCString.call(ae)),D(ae)&&(te=" "+x(ae)),Z.length===0&&(!ce||ae.length==0))return re[0]+te+re[1];if(ie<0)return F(ae)?Q.stylize(RegExp.prototype.toString.call(ae),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ae);var de;return ce?de=y(Q,ae,ie,le,Z):de=Z.map(function(oe){return C(Q,ae,ie,le,oe,ce)}),Q.seen.pop(),w(de,te,re)}function b(Q,ae){if(M(ae))return Q.stylize("undefined","undefined");if(I(ae)){var ie="'"+JSON.stringify(ae).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ie,"string")}if(L(ae))return Q.stylize(""+ae,"number");if(A(ae))return Q.stylize(""+ae,"boolean");if(E(ae))return Q.stylize("null","null")}function x(Q){return"["+Error.prototype.toString.call(Q)+"]"}function y(Q,ae,ie,he,J){for(var Z=[],le=0,K=ae.length;le<K;++le)j(ae,String(le))?Z.push(C(Q,ae,ie,he,String(le),!0)):Z.push("");return J.forEach(function(te){te.match(/^\d+$/)||Z.push(C(Q,ae,ie,he,te,!0))}),Z}function C(Q,ae,ie,he,J,Z){var le,K,te;if(te=Object.getOwnPropertyDescriptor(ae,J)||{value:ae[J]},te.get?te.set?K=Q.stylize("[Getter/Setter]","special"):K=Q.stylize("[Getter]","special"):te.set&&(K=Q.stylize("[Setter]","special")),j(he,J)||(le="["+J+"]"),K||(Q.seen.indexOf(te.value)<0?(E(ie)?K=f(Q,te.value,null):K=f(Q,te.value,ie-1),K.indexOf(`
`)>-1&&(Z?K=K.split(`
`).map(function(ce){return" "+ce}).join(`
`).slice(2):K=`
`+K.split(`
`).map(function(ce){return" "+ce}).join(`
`))):K=Q.stylize("[Circular]","special")),M(le)){if(Z&&J.match(/^\d+$/))return K;le=JSON.stringify(""+J),le.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(le=le.slice(1,-1),le=Q.stylize(le,"name")):(le=le.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),le=Q.stylize(le,"string"))}return le+": "+K}function w(Q,ae,ie){var he=Q.reduce(function(J,Z){return Z.indexOf(`
`)>=0,J+Z.replace(/\u001b\[\d\d?m/g,"").length+1},0);return he>60?ie[0]+(ae===""?"":ae+`
`)+" "+Q.join(`,
`)+" "+ie[1]:ie[0]+ae+" "+Q.join(", ")+" "+ie[1]}h.types=a(41088);function R(Q){return Array.isArray(Q)}h.isArray=R;function A(Q){return typeof Q=="boolean"}h.isBoolean=A;function E(Q){return Q===null}h.isNull=E;function k(Q){return Q==null}h.isNullOrUndefined=k;function L(Q){return typeof Q=="number"}h.isNumber=L;function I(Q){return typeof Q=="string"}h.isString=I;function P(Q){return typeof Q=="symbol"}h.isSymbol=P;function M(Q){return Q===void 0}h.isUndefined=M;function F(Q){return N(Q)&&B(Q)==="[object RegExp]"}h.isRegExp=F,h.types.isRegExp=F;function N(Q){return typeof Q=="object"&&Q!==null}h.isObject=N;function T(Q){return N(Q)&&B(Q)==="[object Date]"}h.isDate=T,h.types.isDate=T;function D(Q){return N(Q)&&(B(Q)==="[object Error]"||Q instanceof Error)}h.isError=D,h.types.isNativeError=D;function O(Q){return typeof Q=="function"}h.isFunction=O;function U(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}h.isPrimitive=U,h.isBuffer=a(75272);function B(Q){return Object.prototype.toString.call(Q)}function Y(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var z=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function V(){var Q=new Date,ae=[Y(Q.getHours()),Y(Q.getMinutes()),Y(Q.getSeconds())].join(":");return[Q.getDate(),z[Q.getMonth()],ae].join(" ")}h.log=function(){console.log("%s - %s",V(),h.format.apply(h,arguments))},h.inherits=a(6768),h._extend=function(Q,ae){if(!ae||!N(ae))return Q;for(var ie=Object.keys(ae),he=ie.length;he--;)Q[ie[he]]=ae[ie[he]];return Q};function j(Q,ae){return Object.prototype.hasOwnProperty.call(Q,ae)}var G=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;h.promisify=function(ae){if(typeof ae!="function")throw new TypeError('The "original" argument must be of type Function');if(G&&ae[G]){var ie=ae[G];if(typeof ie!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(ie,G,{value:ie,enumerable:!1,writable:!1,configurable:!0}),ie}function ie(){for(var he,J,Z=new Promise(function(te,ce){he=te,J=ce}),le=[],K=0;K<arguments.length;K++)le.push(arguments[K]);le.push(function(te,ce){te?J(te):he(ce)});try{ae.apply(this,le)}catch(te){J(te)}return Z}return Object.setPrototypeOf(ie,Object.getPrototypeOf(ae)),G&&Object.defineProperty(ie,G,{value:ie,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(ie,v(ae))},h.promisify.custom=G;function W(Q,ae){if(!Q){var ie=new Error("Promise was rejected with a falsy value");ie.reason=Q,Q=ie}return ae(Q)}function X(Q){if(typeof Q!="function")throw new TypeError('The "original" argument must be of type Function');function ae(){for(var ie=[],he=0;he<arguments.length;he++)ie.push(arguments[he]);var J=ie.pop();if(typeof J!="function")throw new TypeError("The last argument must be of type Function");var Z=this,le=function(){return J.apply(Z,arguments)};Q.apply(this,ie).then(function(K){l.nextTick(le.bind(null,null,K))},function(K){l.nextTick(W.bind(null,K,le))})}return Object.setPrototypeOf(ae,Object.getPrototypeOf(Q)),Object.defineProperties(ae,v(Q)),ae}h.callbackify=X},5408:function(u,h,a){var l=a(13380);u.exports=function(i){return l("webgl",i)}},96632:function(u,h,a){var l=a(46492),v=a(63436),i=a(57916),S=a(99676),g=a(2304),p=S("Object.prototype.toString"),_=a(46672)(),c=typeof globalThis>"u"?a.g:globalThis,s=v(),d=S("String.prototype.slice"),f=Object.getPrototypeOf,b=S("Array.prototype.indexOf",!0)||function(R,A){for(var E=0;E<R.length;E+=1)if(R[E]===A)return E;return-1},x={__proto__:null};_&&g&&f?l(s,function(w){var R=new c[w];if(Symbol.toStringTag in R){var A=f(R),E=g(A,Symbol.toStringTag);if(!E){var k=f(A);E=g(k,Symbol.toStringTag)}x["$"+w]=i(E.get)}}):l(s,function(w){var R=new c[w],A=R.slice||R.set;A&&(x["$"+w]=i(A))});var y=function(R){var A=!1;return l(x,function(E,k){if(!A)try{"$"+E(R)===k&&(A=d(k,1))}catch{}}),A},C=function(R){var A=!1;return l(x,function(E,k){if(!A)try{E(R),A=d(k,1)}catch{}}),A};u.exports=function(R){if(!R||typeof R!="object")return!1;if(!_){var A=d(p(R),8,-1);return b(s,A)>-1?A:A!=="Object"?!1:C(R)}return g?y(R):null}},67020:function(u,h,a){var l=a(38700),v=a(50896),i=l.instance();function S(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}S.prototype=new l.baseCalendar,v(S.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(x,y){if(typeof x=="string"){var C=x.match(p);return C?C[0]:""}var w=this._validateYear(x),R=x.month(),A=""+this.toChineseMonth(w,R);return y&&A.length<2&&(A="0"+A),this.isIntercalaryMonth(w,R)&&(A+="i"),A},monthNames:function(x){if(typeof x=="string"){var y=x.match(_);return y?y[0]:""}var C=this._validateYear(x),w=x.month(),R=this.toChineseMonth(C,w),A=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][R-1];return this.isIntercalaryMonth(C,w)&&(A="闰"+A),A},monthNamesShort:function(x){if(typeof x=="string"){var y=x.match(c);return y?y[0]:""}var C=this._validateYear(x),w=x.month(),R=this.toChineseMonth(C,w),A=["一","二","三","四","五","六","七","八","九","十","十一","十二"][R-1];return this.isIntercalaryMonth(C,w)&&(A="闰"+A),A},parseMonth:function(x,y){x=this._validateYear(x);var C=parseInt(y),w;if(isNaN(C))y[0]==="闰"&&(w=!0,y=y.substring(1)),y[y.length-1]==="月"&&(y=y.substring(0,y.length-1)),C=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(y);else{var R=y[y.length-1];w=R==="i"||R==="I"}var A=this.toMonthIndex(x,C,w);return A},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(x,y){if(x.year&&(x=x.year()),typeof x!="number"||x<1888||x>2111)throw y.replace(/\{0\}/,this.local.name);return x},toMonthIndex:function(x,y,C){var w=this.intercalaryMonth(x),R=C&&y!==w;if(R||y<1||y>12)throw l.local.invalidMonth.replace(/\{0\}/,this.local.name);var A;return w?!C&&y<=w?A=y-1:A=y:A=y-1,A},toChineseMonth:function(x,y){x.year&&(x=x.year(),y=x.month());var C=this.intercalaryMonth(x),w=C?12:11;if(y<0||y>w)throw l.local.invalidMonth.replace(/\{0\}/,this.local.name);var R;return C?y<C?R=y+1:R=y:R=y+1,R},intercalaryMonth:function(x){x=this._validateYear(x);var y=s[x-s[0]],C=y>>13;return C},isIntercalaryMonth:function(x,y){x.year&&(x=x.year(),y=x.month());var C=this.intercalaryMonth(x);return!!C&&C===y},leapYear:function(x){return this.intercalaryMonth(x)!==0},weekOfYear:function(x,y,C){var w=this._validateYear(x,l.local.invalidyear),R=d[w-d[0]],A=R>>9&4095,E=R>>5&15,k=R&31,L;L=i.newDate(A,E,k),L.add(4-(L.dayOfWeek()||7),"d");var I=this.toJD(x,y,C)-L.toJD();return 1+Math.floor(I/7)},monthsInYear:function(x){return this.leapYear(x)?13:12},daysInMonth:function(x,y){x.year&&(y=x.month(),x=x.year()),x=this._validateYear(x);var C=s[x-s[0]],w=C>>13,R=w?12:11;if(y>R)throw l.local.invalidMonth.replace(/\{0\}/,this.local.name);var A=C&1<<12-y?30:29;return A},weekDay:function(x,y,C){return(this.dayOfWeek(x,y,C)||7)<6},toJD:function(x,y,C){var w=this._validate(x,A,C,l.local.invalidDate);x=this._validateYear(w.year()),y=w.month(),C=w.day();var R=this.isIntercalaryMonth(x,y),A=this.toChineseMonth(x,y),E=b(x,A,C,R);return i.toJD(E.year,E.month,E.day)},fromJD:function(x){var y=i.fromJD(x),C=f(y.year(),y.month(),y.day()),w=this.toMonthIndex(C.year,C.month,C.isIntercalary);return this.newDate(C.year,w,C.day)},fromString:function(x){var y=x.match(g),C=this._validateYear(+y[1]),w=+y[2],R=!!y[3],A=this.toMonthIndex(C,w,R),E=+y[4];return this.newDate(C,A,E)},add:function(x,y,C){var w=x.year(),R=x.month(),A=this.isIntercalaryMonth(w,R),E=this.toChineseMonth(w,R),k=Object.getPrototypeOf(S.prototype).add.call(this,x,y,C);if(C==="y"){var L=k.year(),I=k.month(),P=this.isIntercalaryMonth(L,E),M=A&&P?this.toMonthIndex(L,E,!0):this.toMonthIndex(L,E,!1);M!==I&&k.month(M)}return k}});var g=/^\s*(-?\d\d\d\d|\d\d)[-/](\d?\d)([iI]?)[-/](\d?\d)/m,p=/^\d?\d[iI]?/m,_=/^闰?十?[一二三四五六七八九]?月/m,c=/^闰?十?[一二三四五六七八九]?/m;l.calendars.chinese=S;var s=[1887,5780,5802,19157,2742,50359,1198,2646,46378,7466,3412,30122,5482,67949,2396,5294,43597,6732,6954,36181,2772,4954,18781,2396,54427,5274,6730,47781,5800,6868,21210,4790,59703,2350,5270,46667,3402,3496,38325,1388,4782,18735,2350,52374,6804,7498,44457,2906,1388,29294,4700,63789,6442,6804,56138,5802,2772,38235,1210,4698,22827,5418,63125,3476,5802,43701,2484,5302,27223,2646,70954,7466,3412,54698,5482,2412,38062,5294,2636,32038,6954,60245,2772,4826,43357,2394,5274,39501,6730,72357,5800,5844,53978,4790,2358,38039,5270,87627,3402,3496,54708,5484,4782,43311,2350,3222,27978,7498,68965,2904,5484,45677,4700,6444,39573,6804,6986,19285,2772,62811,1210,4698,47403,5418,5780,38570,5546,76469,2420,5302,51799,2646,5414,36501,3412,5546,18869,2412,54446,5276,6732,48422,6822,2900,28010,4826,92509,2394,5274,55883,6730,6820,47956,5812,2778,18779,2358,62615,5270,5450,46757,3492,5556,27318,4718,67887,2350,3222,52554,7498,3428,38252,5468,4700,31022,6444,64149,6804,6986,43861,2772,5338,35421,2650,70955,5418,5780,54954,5546,2740,38074,5302,2646,29991,3366,61011,3412,5546,43445,2412,5294,35406,6732,72998,6820,6996,52586,2778,2396,38045,5274,6698,23333,6820,64338,5812,2746,43355,2358,5270,39499,5450,79525,3492,5548],d=[1887,966732,967231,967733,968265,968766,969297,969798,970298,970829,971330,971830,972362,972863,973395,973896,974397,974928,975428,975929,976461,976962,977462,977994,978494,979026,979526,980026,980558,981059,981559,982091,982593,983124,983624,984124,984656,985157,985656,986189,986690,987191,987722,988222,988753,989254,989754,990286,990788,991288,991819,992319,992851,993352,993851,994383,994885,995385,995917,996418,996918,997450,997949,998481,998982,999483,1000014,1000515,1001016,1001548,1002047,1002578,1003080,1003580,1004111,1004613,1005113,1005645,1006146,1006645,1007177,1007678,1008209,1008710,1009211,1009743,1010243,1010743,1011275,1011775,1012306,1012807,1013308,1013840,1014341,1014841,1015373,1015874,1016404,1016905,1017405,1017937,1018438,1018939,1019471,1019972,1020471,1021002,1021503,1022035,1022535,1023036,1023568,1024069,1024568,1025100,1025601,1026102,1026633,1027133,1027666,1028167,1028666,1029198,1029699,1030199,1030730,1031231,1031763,1032264,1032764,1033296,1033797,1034297,1034828,1035329,1035830,1036362,1036861,1037393,1037894,1038394,1038925,1039427,1039927,1040459,1040959,1041491,1041992,1042492,1043023,1043524,1044024,1044556,1045057,1045558,1046090,1046590,1047121,1047622,1048122,1048654,1049154,1049655,1050187,1050689,1051219,1051720,1052220,1052751,1053252,1053752,1054284,1054786,1055285,1055817,1056317,1056849,1057349,1057850,1058382,1058883,1059383,1059915,1060415,1060947,1061447,1061947,1062479,1062981,1063480,1064012,1064514,1065014,1065545,1066045,1066577,1067078,1067578,1068110,1068611,1069112,1069642,1070142,1070674,1071175,1071675,1072207,1072709,1073209,1073740,1074241,1074741,1075273,1075773,1076305,1076807,1077308,1077839,1078340,1078840,1079372,1079871,1080403,1080904];function f(x,y,C,w){var R,A;if(typeof x=="object")R=x,A=y||{};else{var E=typeof x=="number"&&x>=1888&&x<=2111;if(!E)throw new Error("Solar year outside range 1888-2111");var k=typeof y=="number"&&y>=1&&y<=12;if(!k)throw new Error("Solar month outside range 1 - 12");var L=typeof C=="number"&&C>=1&&C<=31;if(!L)throw new Error("Solar day outside range 1 - 31");R={year:x,month:y,day:C},A={}}var I=d[R.year-d[0]],P=R.year<<9|R.month<<5|R.day;A.year=P>=I?R.year:R.year-1,I=d[A.year-d[0]];var M=I>>9&4095,F=I>>5&15,N=I&31,T,D=new Date(M,F-1,N),O=new Date(R.year,R.month-1,R.day);T=Math.round((O-D)/864e5);var U=s[A.year-s[0]],B;for(B=0;B<13;B++){var Y=U&1<<12-B?30:29;if(T<Y)break;T-=Y}var z=U>>13;return!z||B<z?(A.isIntercalary=!1,A.month=1+B):B===z?(A.isIntercalary=!0,A.month=B):(A.isIntercalary=!1,A.month=B),A.day=1+T,A}function b(x,y,C,w,R){var A,E;if(typeof x=="object")E=x,A=y||{};else{var k=typeof x=="number"&&x>=1888&&x<=2111;if(!k)throw new Error("Lunar year outside range 1888-2111");var L=typeof y=="number"&&y>=1&&y<=12;if(!L)throw new Error("Lunar month outside range 1 - 12");var I=typeof C=="number"&&C>=1&&C<=30;if(!I)throw new Error("Lunar day outside range 1 - 30");var P;typeof w=="object"?(P=!1,A=w):(P=!!w,A={}),E={year:x,month:y,day:C,isIntercalary:P}}var M;M=E.day-1;var F=s[E.year-s[0]],N=F>>13,T;N&&(E.month>N||E.isIntercalary)?T=E.month:T=E.month-1;for(var D=0;D<T;D++){var O=F&1<<12-D?30:29;M+=O}var U=d[E.year-d[0]],B=U>>9&4095,Y=U>>5&15,z=U&31,V=new Date(B,Y-1,z+M);return A.year=V.getFullYear(),A.month=1+V.getMonth(),A.day=V.getDate(),A}},89792:function(u,h,a){var l=a(38700),v=a(50896);function i(S){this.local=this.regionalOptions[S||""]||this.regionalOptions[""]}i.prototype=new l.baseCalendar,v(i.prototype,{name:"Coptic",jdEpoch:18250295e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Coptic",epochs:["BAM","AM"],monthNames:["Thout","Paopi","Hathor","Koiak","Tobi","Meshir","Paremhat","Paremoude","Pashons","Paoni","Epip","Mesori","Pi Kogi Enavot"],monthNamesShort:["Tho","Pao","Hath","Koi","Tob","Mesh","Pat","Pad","Pash","Pao","Epi","Meso","PiK"],dayNames:["Tkyriaka","Pesnau","Pshoment","Peftoou","Ptiou","Psoou","Psabbaton"],dayNamesShort:["Tky","Pes","Psh","Pef","Pti","Pso","Psa"],dayNamesMin:["Tk","Pes","Psh","Pef","Pt","Pso","Psa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(p){var g=this._validate(p,this.minMonth,this.minDay,l.local.invalidYear),p=g.year()+(g.year()<0?1:0);return p%4===3||p%4===-1},monthsInYear:function(S){return this._validate(S,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear),13},weekOfYear:function(S,g,p){var _=this.newDate(S,g,p);return _.add(-_.dayOfWeek(),"d"),Math.floor((_.dayOfYear()-1)/7)+1},daysInMonth:function(S,g){var p=this._validate(S,g,this.minDay,l.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===13&&this.leapYear(p.year())?1:0)},weekDay:function(S,g,p){return(this.dayOfWeek(S,g,p)||7)<6},toJD:function(S,g,p){var _=this._validate(S,g,p,l.local.invalidDate);return S=_.year(),S<0&&S++,_.day()+(_.month()-1)*30+(S-1)*365+Math.floor(S/4)+this.jdEpoch-1},fromJD:function(S){var g=Math.floor(S)+.5-this.jdEpoch,p=Math.floor((g-Math.floor((g+366)/1461))/365)+1;p<=0&&p--,g=Math.floor(S)+.5-this.newDate(p,1,1).toJD();var _=Math.floor(g/30)+1,c=g-(_-1)*30+1;return this.newDate(p,_,c)}}),l.calendars.coptic=i},55668:function(u,h,a){var l=a(38700),v=a(50896);function i(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}i.prototype=new l.baseCalendar,v(i.prototype,{name:"Discworld",jdEpoch:17214255e-1,daysPerMonth:[16,32,32,32,32,32,32,32,32,32,32,32,32],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Discworld",epochs:["BUC","UC"],monthNames:["Ick","Offle","February","March","April","May","June","Grune","August","Spune","Sektober","Ember","December"],monthNamesShort:["Ick","Off","Feb","Mar","Apr","May","Jun","Gru","Aug","Spu","Sek","Emb","Dec"],dayNames:["Sunday","Octeday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Oct","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Oc","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:2,isRTL:!1}},leapYear:function(g){return this._validate(g,this.minMonth,this.minDay,l.local.invalidYear),!1},monthsInYear:function(g){return this._validate(g,this.minMonth,this.minDay,l.local.invalidYear),13},daysInYear:function(g){return this._validate(g,this.minMonth,this.minDay,l.local.invalidYear),400},weekOfYear:function(g,p,_){var c=this.newDate(g,p,_);return c.add(-c.dayOfWeek(),"d"),Math.floor((c.dayOfYear()-1)/8)+1},daysInMonth:function(g,p){var _=this._validate(g,p,this.minDay,l.local.invalidMonth);return this.daysPerMonth[_.month()-1]},daysInWeek:function(){return 8},dayOfWeek:function(g,p,_){var c=this._validate(g,p,_,l.local.invalidDate);return(c.day()+1)%8},weekDay:function(g,p,_){var c=this.dayOfWeek(g,p,_);return c>=2&&c<=6},extraInfo:function(g,p,_){var c=this._validate(g,p,_,l.local.invalidDate);return{century:S[Math.floor((c.year()-1)/100)+1]||""}},toJD:function(g,p,_){var c=this._validate(g,p,_,l.local.invalidDate);return g=c.year()+(c.year()<0?1:0),p=c.month(),_=c.day(),_+(p>1?16:0)+(p>2?(p-2)*32:0)+(g-1)*400+this.jdEpoch-1},fromJD:function(g){g=Math.floor(g+.5)-Math.floor(this.jdEpoch)-1;var p=Math.floor(g/400)+1;g-=(p-1)*400,g+=g>15?16:0;var _=Math.floor(g/32)+1,c=g-(_-1)*32+1;return this.newDate(p<=0?p-1:p,_,c)}});var S={20:"Fruitbat",21:"Anchovy"};l.calendars.discworld=i},65168:function(u,h,a){var l=a(38700),v=a(50896);function i(S){this.local=this.regionalOptions[S||""]||this.regionalOptions[""]}i.prototype=new l.baseCalendar,v(i.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(p){var g=this._validate(p,this.minMonth,this.minDay,l.local.invalidYear),p=g.year()+(g.year()<0?1:0);return p%4===3||p%4===-1},monthsInYear:function(S){return this._validate(S,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear),13},weekOfYear:function(S,g,p){var _=this.newDate(S,g,p);return _.add(-_.dayOfWeek(),"d"),Math.floor((_.dayOfYear()-1)/7)+1},daysInMonth:function(S,g){var p=this._validate(S,g,this.minDay,l.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===13&&this.leapYear(p.year())?1:0)},weekDay:function(S,g,p){return(this.dayOfWeek(S,g,p)||7)<6},toJD:function(S,g,p){var _=this._validate(S,g,p,l.local.invalidDate);return S=_.year(),S<0&&S++,_.day()+(_.month()-1)*30+(S-1)*365+Math.floor(S/4)+this.jdEpoch-1},fromJD:function(S){var g=Math.floor(S)+.5-this.jdEpoch,p=Math.floor((g-Math.floor((g+366)/1461))/365)+1;p<=0&&p--,g=Math.floor(S)+.5-this.newDate(p,1,1).toJD();var _=Math.floor(g/30)+1,c=g-(_-1)*30+1;return this.newDate(p,_,c)}}),l.calendars.ethiopian=i},2084:function(u,h,a){var l=a(38700),v=a(50896);function i(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}i.prototype=new l.baseCalendar,v(i.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(g){var p=this._validate(g,this.minMonth,this.minDay,l.local.invalidYear);return this._leapYear(p.year())},_leapYear:function(g){return g=g<0?g+1:g,S(g*7+1,19)<7},monthsInYear:function(g){return this._validate(g,this.minMonth,this.minDay,l.local.invalidYear),this._leapYear(g.year?g.year():g)?13:12},weekOfYear:function(g,p,_){var c=this.newDate(g,p,_);return c.add(-c.dayOfWeek(),"d"),Math.floor((c.dayOfYear()-1)/7)+1},daysInYear:function(g){var p=this._validate(g,this.minMonth,this.minDay,l.local.invalidYear);return g=p.year(),this.toJD(g===-1?1:g+1,7,1)-this.toJD(g,7,1)},daysInMonth:function(g,p){return g.year&&(p=g.month(),g=g.year()),this._validate(g,p,this.minDay,l.local.invalidMonth),p===12&&this.leapYear(g)||p===8&&S(this.daysInYear(g),10)===5?30:p===9&&S(this.daysInYear(g),10)===3?29:this.daysPerMonth[p-1]},weekDay:function(g,p,_){return this.dayOfWeek(g,p,_)!==6},extraInfo:function(g,p,_){var c=this._validate(g,p,_,l.local.invalidDate);return{yearType:(this.leapYear(c)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(c)%10-3]}},toJD:function(g,p,_){var c=this._validate(g,p,_,l.local.invalidDate);g=c.year(),p=c.month(),_=c.day();var s=g<=0?g+1:g,d=this.jdEpoch+this._delay1(s)+this._delay2(s)+_+1;if(p<7){for(var f=7;f<=this.monthsInYear(g);f++)d+=this.daysInMonth(g,f);for(var f=1;f<p;f++)d+=this.daysInMonth(g,f)}else for(var f=7;f<p;f++)d+=this.daysInMonth(g,f);return d},_delay1:function(g){var p=Math.floor((235*g-234)/19),_=12084+13753*p,c=p*29+Math.floor(_/25920);return S(3*(c+1),7)<3&&c++,c},_delay2:function(g){var p=this._delay1(g-1),_=this._delay1(g),c=this._delay1(g+1);return c-_===356?2:_-p===382?1:0},fromJD:function(g){g=Math.floor(g)+.5;for(var p=Math.floor((g-this.jdEpoch)*98496/35975351)-1;g>=this.toJD(p===-1?1:p+1,7,1);)p++;for(var _=g<this.toJD(p,1,1)?7:1;g>this.toJD(p,_,this.daysInMonth(p,_));)_++;var c=g-this.toJD(p,_,1)+1;return this.newDate(p,_,c)}});function S(g,p){return g-p*Math.floor(g/p)}l.calendars.hebrew=i},26368:function(u,h,a){var l=a(38700),v=a(50896);function i(S){this.local=this.regionalOptions[S||""]||this.regionalOptions[""]}i.prototype=new l.baseCalendar,v(i.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamīs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(S){var g=this._validate(S,this.minMonth,this.minDay,l.local.invalidYear);return(g.year()*11+14)%30<11},weekOfYear:function(S,g,p){var _=this.newDate(S,g,p);return _.add(-_.dayOfWeek(),"d"),Math.floor((_.dayOfYear()-1)/7)+1},daysInYear:function(S){return this.leapYear(S)?355:354},daysInMonth:function(S,g){var p=this._validate(S,g,this.minDay,l.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===12&&this.leapYear(p.year())?1:0)},weekDay:function(S,g,p){return this.dayOfWeek(S,g,p)!==5},toJD:function(S,g,p){var _=this._validate(S,g,p,l.local.invalidDate);return S=_.year(),g=_.month(),p=_.day(),S=S<=0?S+1:S,p+Math.ceil(29.5*(g-1))+(S-1)*354+Math.floor((3+11*S)/30)+this.jdEpoch-1},fromJD:function(S){S=Math.floor(S)+.5;var g=Math.floor((30*(S-this.jdEpoch)+10646)/10631);g=g<=0?g-1:g;var p=Math.min(12,Math.ceil((S-29-this.toJD(g,1,1))/29.5)+1),_=S-this.toJD(g,p,1)+1;return this.newDate(g,p,_)}}),l.calendars.islamic=i},24747:function(u,h,a){var l=a(38700),v=a(50896);function i(S){this.local=this.regionalOptions[S||""]||this.regionalOptions[""]}i.prototype=new l.baseCalendar,v(i.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(p){var g=this._validate(p,this.minMonth,this.minDay,l.local.invalidYear),p=g.year()<0?g.year()+1:g.year();return p%4===0},weekOfYear:function(S,g,p){var _=this.newDate(S,g,p);return _.add(4-(_.dayOfWeek()||7),"d"),Math.floor((_.dayOfYear()-1)/7)+1},daysInMonth:function(S,g){var p=this._validate(S,g,this.minDay,l.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===2&&this.leapYear(p.year())?1:0)},weekDay:function(S,g,p){return(this.dayOfWeek(S,g,p)||7)<6},toJD:function(S,g,p){var _=this._validate(S,g,p,l.local.invalidDate);return S=_.year(),g=_.month(),p=_.day(),S<0&&S++,g<=2&&(S--,g+=12),Math.floor(365.25*(S+4716))+Math.floor(30.6001*(g+1))+p-1524.5},fromJD:function(S){var g=Math.floor(S+.5),p=g+1524,_=Math.floor((p-122.1)/365.25),c=Math.floor(365.25*_),s=Math.floor((p-c)/30.6001),d=s-Math.floor(s<14?1:13),f=_-Math.floor(d>2?4716:4715),b=p-c-Math.floor(30.6001*s);return f<=0&&f--,this.newDate(f,d,b)}}),l.calendars.julian=i},65616:function(u,h,a){var l=a(38700),v=a(50896);function i(p){this.local=this.regionalOptions[p||""]||this.regionalOptions[""]}i.prototype=new l.baseCalendar,v(i.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(p){return this._validate(p,this.minMonth,this.minDay,l.local.invalidYear),!1},formatYear:function(p){var _=this._validate(p,this.minMonth,this.minDay,l.local.invalidYear);p=_.year();var c=Math.floor(p/400);p=p%400,p+=p<0?400:0;var s=Math.floor(p/20);return c+"."+s+"."+p%20},forYear:function(p){if(p=p.split("."),p.length<3)throw"Invalid Mayan year";for(var _=0,c=0;c<p.length;c++){var s=parseInt(p[c],10);if(Math.abs(s)>19||c>0&&s<0)throw"Invalid Mayan year";_=_*20+s}return _},monthsInYear:function(p){return this._validate(p,this.minMonth,this.minDay,l.local.invalidYear),18},weekOfYear:function(p,_,c){return this._validate(p,_,c,l.local.invalidDate),0},daysInYear:function(p){return this._validate(p,this.minMonth,this.minDay,l.local.invalidYear),360},daysInMonth:function(p,_){return this._validate(p,_,this.minDay,l.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(p,_,c){var s=this._validate(p,_,c,l.local.invalidDate);return s.day()},weekDay:function(p,_,c){return this._validate(p,_,c,l.local.invalidDate),!0},extraInfo:function(p,_,c){var s=this._validate(p,_,c,l.local.invalidDate),d=s.toJD(),f=this._toHaab(d),b=this._toTzolkin(d);return{haabMonthName:this.local.haabMonths[f[0]-1],haabMonth:f[0],haabDay:f[1],tzolkinDayName:this.local.tzolkinMonths[b[0]-1],tzolkinDay:b[0],tzolkinTrecena:b[1]}},_toHaab:function(p){p-=this.jdEpoch;var _=S(p+8+17*20,365);return[Math.floor(_/20)+1,S(_,20)]},_toTzolkin:function(p){return p-=this.jdEpoch,[g(p+20,20),g(p+4,13)]},toJD:function(p,_,c){var s=this._validate(p,_,c,l.local.invalidDate);return s.day()+s.month()*20+s.year()*360+this.jdEpoch},fromJD:function(p){p=Math.floor(p)+.5-this.jdEpoch;var _=Math.floor(p/360);p=p%360,p+=p<0?360:0;var c=Math.floor(p/20),s=p%20;return this.newDate(_,c,s)}});function S(p,_){return p-_*Math.floor(p/_)}function g(p,_){return S(p-1,_)+1}l.calendars.mayan=i},30632:function(u,h,a){var l=a(38700),v=a(50896);function i(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}i.prototype=new l.baseCalendar;var S=l.instance("gregorian");v(i.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(g){var p=this._validate(g,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return S.leapYear(p.year()+(p.year()<1?1:0)+1469)},weekOfYear:function(g,p,_){var c=this.newDate(g,p,_);return c.add(1-(c.dayOfWeek()||7),"d"),Math.floor((c.dayOfYear()-1)/7)+1},daysInMonth:function(g,p){var _=this._validate(g,p,this.minDay,l.local.invalidMonth);return this.daysPerMonth[_.month()-1]+(_.month()===12&&this.leapYear(_.year())?1:0)},weekDay:function(g,p,_){return(this.dayOfWeek(g,p,_)||7)<6},toJD:function(s,p,_){var c=this._validate(s,p,_,l.local.invalidMonth),s=c.year();s<0&&s++;for(var d=c.day(),f=1;f<c.month();f++)d+=this.daysPerMonth[f-1];return d+S.toJD(s+1468,3,13)},fromJD:function(g){g=Math.floor(g+.5);for(var p=Math.floor((g-(this.jdEpoch-1))/366);g>=this.toJD(p+1,1,1);)p++;for(var _=g-Math.floor(this.toJD(p,1,1)+.5)+1,c=1;_>this.daysInMonth(p,c);)_-=this.daysInMonth(p,c),c++;return this.newDate(p,c,_)}}),l.calendars.nanakshahi=i},73040:function(u,h,a){var l=a(38700),v=a(50896);function i(S){this.local=this.regionalOptions[S||""]||this.regionalOptions[""]}i.prototype=new l.baseCalendar,v(i.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(S){return this.daysInYear(S)!==this.daysPerYear},weekOfYear:function(S,g,p){var _=this.newDate(S,g,p);return _.add(-_.dayOfWeek(),"d"),Math.floor((_.dayOfYear()-1)/7)+1},daysInYear:function(S){var g=this._validate(S,this.minMonth,this.minDay,l.local.invalidYear);if(S=g.year(),typeof this.NEPALI_CALENDAR_DATA[S]>"u")return this.daysPerYear;for(var p=0,_=this.minMonth;_<=12;_++)p+=this.NEPALI_CALENDAR_DATA[S][_];return p},daysInMonth:function(S,g){return S.year&&(g=S.month(),S=S.year()),this._validate(S,g,this.minDay,l.local.invalidMonth),typeof this.NEPALI_CALENDAR_DATA[S]>"u"?this.daysPerMonth[g-1]:this.NEPALI_CALENDAR_DATA[S][g]},weekDay:function(S,g,p){return this.dayOfWeek(S,g,p)!==6},toJD:function(S,g,p){var _=this._validate(S,g,p,l.local.invalidDate);S=_.year(),g=_.month(),p=_.day();var c=l.instance(),s=0,d=g,f=S;this._createMissingCalendarData(S);var b=S-(d>9||d===9&&p>=this.NEPALI_CALENDAR_DATA[f][0]?56:57);for(g!==9&&(s=p,d--);d!==9;)d<=0&&(d=12,f--),s+=this.NEPALI_CALENDAR_DATA[f][d],d--;return g===9?(s+=p-this.NEPALI_CALENDAR_DATA[f][0],s<0&&(s+=c.daysInYear(b))):s+=this.NEPALI_CALENDAR_DATA[f][9]-this.NEPALI_CALENDAR_DATA[f][0],c.newDate(b,1,1).add(s,"d").toJD()},fromJD:function(S){var g=l.instance(),p=g.fromJD(S),_=p.year(),c=p.dayOfYear(),s=_+56;this._createMissingCalendarData(s);for(var d=9,f=this.NEPALI_CALENDAR_DATA[s][0],b=this.NEPALI_CALENDAR_DATA[s][d]-f+1;c>b;)d++,d>12&&(d=1,s++),b+=this.NEPALI_CALENDAR_DATA[s][d];var x=this.NEPALI_CALENDAR_DATA[s][d]-(b-c);return this.newDate(s,d,x)},_createMissingCalendarData:function(S){var g=this.daysPerMonth.slice(0);g.unshift(17);for(var p=S-1;p<S+2;p++)typeof this.NEPALI_CALENDAR_DATA[p]>"u"&&(this.NEPALI_CALENDAR_DATA[p]=g)},NEPALI_CALENDAR_DATA:{1970:[18,31,31,32,31,31,31,30,29,30,29,30,30],1971:[18,31,31,32,31,32,30,30,29,30,29,30,30],1972:[17,31,32,31,32,31,30,30,30,29,29,30,30],1973:[19,30,32,31,32,31,30,30,30,29,30,29,31],1974:[19,31,31,32,30,31,31,30,29,30,29,30,30],1975:[18,31,31,32,32,30,31,30,29,30,29,30,30],1976:[17,31,32,31,32,31,30,30,30,29,29,30,31],1977:[18,31,32,31,32,31,31,29,30,29,30,29,31],1978:[18,31,31,32,31,31,31,30,29,30,29,30,30],1979:[18,31,31,32,32,31,30,30,29,30,29,30,30],1980:[17,31,32,31,32,31,30,30,30,29,29,30,31],1981:[18,31,31,31,32,31,31,29,30,30,29,30,30],1982:[18,31,31,32,31,31,31,30,29,30,29,30,30],1983:[18,31,31,32,32,31,30,30,29,30,29,30,30],1984:[17,31,32,31,32,31,30,30,30,29,29,30,31],1985:[18,31,31,31,32,31,31,29,30,30,29,30,30],1986:[18,31,31,32,31,31,31,30,29,30,29,30,30],1987:[18,31,32,31,32,31,30,30,29,30,29,30,30],1988:[17,31,32,31,32,31,30,30,30,29,29,30,31],1989:[18,31,31,31,32,31,31,30,29,30,29,30,30],1990:[18,31,31,32,31,31,31,30,29,30,29,30,30],1991:[18,31,32,31,32,31,30,30,29,30,29,30,30],1992:[17,31,32,31,32,31,30,30,30,29,30,29,31],1993:[18,31,31,31,32,31,31,30,29,30,29,30,30],1994:[18,31,31,32,31,31,31,30,29,30,29,30,30],1995:[17,31,32,31,32,31,30,30,30,29,29,30,30],1996:[17,31,32,31,32,31,30,30,30,29,30,29,31],1997:[18,31,31,32,31,31,31,30,29,30,29,30,30],1998:[18,31,31,32,31,31,31,30,29,30,29,30,30],1999:[17,31,32,31,32,31,30,30,30,29,29,30,31],2e3:[17,30,32,31,32,31,30,30,30,29,30,29,31],2001:[18,31,31,32,31,31,31,30,29,30,29,30,30],2002:[18,31,31,32,32,31,30,30,29,30,29,30,30],2003:[17,31,32,31,32,31,30,30,30,29,29,30,31],2004:[17,30,32,31,32,31,30,30,30,29,30,29,31],2005:[18,31,31,32,31,31,31,30,29,30,29,30,30],2006:[18,31,31,32,32,31,30,30,29,30,29,30,30],2007:[17,31,32,31,32,31,30,30,30,29,29,30,31],2008:[17,31,31,31,32,31,31,29,30,30,29,29,31],2009:[18,31,31,32,31,31,31,30,29,30,29,30,30],2010:[18,31,31,32,32,31,30,30,29,30,29,30,30],2011:[17,31,32,31,32,31,30,30,30,29,29,30,31],2012:[17,31,31,31,32,31,31,29,30,30,29,30,30],2013:[18,31,31,32,31,31,31,30,29,30,29,30,30],2014:[18,31,31,32,32,31,30,30,29,30,29,30,30],2015:[17,31,32,31,32,31,30,30,30,29,29,30,31],2016:[17,31,31,31,32,31,31,29,30,30,29,30,30],2017:[18,31,31,32,31,31,31,30,29,30,29,30,30],2018:[18,31,32,31,32,31,30,30,29,30,29,30,30],2019:[17,31,32,31,32,31,30,30,30,29,30,29,31],2020:[17,31,31,31,32,31,31,30,29,30,29,30,30],2021:[18,31,31,32,31,31,31,30,29,30,29,30,30],2022:[17,31,32,31,32,31,30,30,30,29,29,30,30],2023:[17,31,32,31,32,31,30,30,30,29,30,29,31],2024:[17,31,31,31,32,31,31,30,29,30,29,30,30],2025:[18,31,31,32,31,31,31,30,29,30,29,30,30],2026:[17,31,32,31,32,31,30,30,30,29,29,30,31],2027:[17,30,32,31,32,31,30,30,30,29,30,29,31],2028:[17,31,31,32,31,31,31,30,29,30,29,30,30],2029:[18,31,31,32,31,32,30,30,29,30,29,30,30],2030:[17,31,32,31,32,31,30,30,30,30,30,30,31],2031:[17,31,32,31,32,31,31,31,31,31,31,31,31],2032:[17,32,32,32,32,32,32,32,32,32,32,32,32],2033:[18,31,31,32,32,31,30,30,29,30,29,30,30],2034:[17,31,32,31,32,31,30,30,30,29,29,30,31],2035:[17,30,32,31,32,31,31,29,30,30,29,29,31],2036:[17,31,31,32,31,31,31,30,29,30,29,30,30],2037:[18,31,31,32,32,31,30,30,29,30,29,30,30],2038:[17,31,32,31,32,31,30,30,30,29,29,30,31],2039:[17,31,31,31,32,31,31,29,30,30,29,30,30],2040:[17,31,31,32,31,31,31,30,29,30,29,30,30],2041:[18,31,31,32,32,31,30,30,29,30,29,30,30],2042:[17,31,32,31,32,31,30,30,30,29,29,30,31],2043:[17,31,31,31,32,31,31,29,30,30,29,30,30],2044:[17,31,31,32,31,31,31,30,29,30,29,30,30],2045:[18,31,32,31,32,31,30,30,29,30,29,30,30],2046:[17,31,32,31,32,31,30,30,30,29,29,30,31],2047:[17,31,31,31,32,31,31,30,29,30,29,30,30],2048:[17,31,31,32,31,31,31,30,29,30,29,30,30],2049:[17,31,32,31,32,31,30,30,30,29,29,30,30],2050:[17,31,32,31,32,31,30,30,30,29,30,29,31],2051:[17,31,31,31,32,31,31,30,29,30,29,30,30],2052:[17,31,31,32,31,31,31,30,29,30,29,30,30],2053:[17,31,32,31,32,31,30,30,30,29,29,30,30],2054:[17,31,32,31,32,31,30,30,30,29,30,29,31],2055:[17,31,31,32,31,31,31,30,29,30,30,29,30],2056:[17,31,31,32,31,32,30,30,29,30,29,30,30],2057:[17,31,32,31,32,31,30,30,30,29,29,30,31],2058:[17,30,32,31,32,31,30,30,30,29,30,29,31],2059:[17,31,31,32,31,31,31,30,29,30,29,30,30],2060:[17,31,31,32,32,31,30,30,29,30,29,30,30],2061:[17,31,32,31,32,31,30,30,30,29,29,30,31],2062:[17,30,32,31,32,31,31,29,30,29,30,29,31],2063:[17,31,31,32,31,31,31,30,29,30,29,30,30],2064:[17,31,31,32,32,31,30,30,29,30,29,30,30],2065:[17,31,32,31,32,31,30,30,30,29,29,30,31],2066:[17,31,31,31,32,31,31,29,30,30,29,29,31],2067:[17,31,31,32,31,31,31,30,29,30,29,30,30],2068:[17,31,31,32,32,31,30,30,29,30,29,30,30],2069:[17,31,32,31,32,31,30,30,30,29,29,30,31],2070:[17,31,31,31,32,31,31,29,30,30,29,30,30],2071:[17,31,31,32,31,31,31,30,29,30,29,30,30],2072:[17,31,32,31,32,31,30,30,29,30,29,30,30],2073:[17,31,32,31,32,31,30,30,30,29,29,30,31],2074:[17,31,31,31,32,31,31,30,29,30,29,30,30],2075:[17,31,31,32,31,31,31,30,29,30,29,30,30],2076:[16,31,32,31,32,31,30,30,30,29,29,30,30],2077:[17,31,32,31,32,31,30,30,30,29,30,29,31],2078:[17,31,31,31,32,31,31,30,29,30,29,30,30],2079:[17,31,31,32,31,31,31,30,29,30,29,30,30],2080:[16,31,32,31,32,31,30,30,30,29,29,30,30],2081:[17,31,31,32,32,31,30,30,30,29,30,30,30],2082:[17,31,32,31,32,31,30,30,30,29,30,30,30],2083:[17,31,31,32,31,31,30,30,30,29,30,30,30],2084:[17,31,31,32,31,31,30,30,30,29,30,30,30],2085:[17,31,32,31,32,31,31,30,30,29,30,30,30],2086:[17,31,32,31,32,31,30,30,30,29,30,30,30],2087:[16,31,31,32,31,31,31,30,30,29,30,30,30],2088:[16,30,31,32,32,30,31,30,30,29,30,30,30],2089:[17,31,32,31,32,31,30,30,30,29,30,30,30],2090:[17,31,32,31,32,31,30,30,30,29,30,30,30],2091:[16,31,31,32,31,31,31,30,30,29,30,30,30],2092:[16,31,31,32,32,31,30,30,30,29,30,30,30],2093:[17,31,32,31,32,31,30,30,30,29,30,30,30],2094:[17,31,31,32,31,31,30,30,30,29,30,30,30],2095:[17,31,31,32,31,31,31,30,29,30,30,30,30],2096:[17,30,31,32,32,31,30,30,29,30,29,30,30],2097:[17,31,32,31,32,31,30,30,30,29,30,30,30],2098:[17,31,31,32,31,31,31,29,30,29,30,30,31],2099:[17,31,31,32,31,31,31,30,29,29,30,30,30],2100:[17,31,32,31,32,30,31,30,29,30,29,30,30]}}),l.calendars.nepali=i},1104:function(u,h,a){var l=a(38700),v=a(50896);function i(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}i.prototype=new l.baseCalendar,v(i.prototype,{name:"Persian",jdEpoch:19483205e-1,daysPerMonth:[31,31,31,31,31,31,30,30,30,30,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Persian",epochs:["BP","AP"],monthNames:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Day","Bahman","Esfand"],monthNamesShort:["Far","Ord","Kho","Tir","Mor","Sha","Meh","Aba","Aza","Day","Bah","Esf"],dayNames:["Yekshambe","Doshambe","Seshambe","Chæharshambe","Panjshambe","Jom'e","Shambe"],dayNamesShort:["Yek","Do","Se","Chæ","Panj","Jom","Sha"],dayNamesMin:["Ye","Do","Se","Ch","Pa","Jo","Sh"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(g){var p=this._validate(g,this.minMonth,this.minDay,l.local.invalidYear);return((p.year()-(p.year()>0?474:473))%2820+474+38)*682%2816<682},weekOfYear:function(g,p,_){var c=this.newDate(g,p,_);return c.add(-((c.dayOfWeek()+1)%7),"d"),Math.floor((c.dayOfYear()-1)/7)+1},daysInMonth:function(g,p){var _=this._validate(g,p,this.minDay,l.local.invalidMonth);return this.daysPerMonth[_.month()-1]+(_.month()===12&&this.leapYear(_.year())?1:0)},weekDay:function(g,p,_){return this.dayOfWeek(g,p,_)!==5},toJD:function(g,p,_){var c=this._validate(g,p,_,l.local.invalidDate);g=c.year(),p=c.month(),_=c.day();var s=g-(g>=0?474:473),d=474+S(s,2820);return _+(p<=7?(p-1)*31:(p-1)*30+6)+Math.floor((d*682-110)/2816)+(d-1)*365+Math.floor(s/2820)*1029983+this.jdEpoch-1},fromJD:function(g){g=Math.floor(g)+.5;var p=g-this.toJD(475,1,1),_=Math.floor(p/1029983),c=S(p,1029983),s=2820;if(c!==1029982){var d=Math.floor(c/366),f=S(c,366);s=Math.floor((2134*d+2816*f+2815)/1028522)+d+1}var b=s+2820*_+474;b=b<=0?b-1:b;var x=g-this.toJD(b,1,1)+1,y=x<=186?Math.ceil(x/31):Math.ceil((x-6)/30),C=g-this.toJD(b,y,1)+1;return this.newDate(b,y,C)}});function S(g,p){return g-p*Math.floor(g/p)}l.calendars.persian=i,l.calendars.jalali=i},51456:function(u,h,a){var l=a(38700),v=a(50896),i=l.instance();function S(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}S.prototype=new l.baseCalendar,v(S.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(_){var p=this._validate(_,this.minMonth,this.minDay,l.local.invalidYear),_=this._t2gYear(p.year());return i.leapYear(_)},weekOfYear:function(s,p,_){var c=this._validate(s,this.minMonth,this.minDay,l.local.invalidYear),s=this._t2gYear(c.year());return i.weekOfYear(s,c.month(),c.day())},daysInMonth:function(g,p){var _=this._validate(g,p,this.minDay,l.local.invalidMonth);return this.daysPerMonth[_.month()-1]+(_.month()===2&&this.leapYear(_.year())?1:0)},weekDay:function(g,p,_){return(this.dayOfWeek(g,p,_)||7)<6},toJD:function(s,p,_){var c=this._validate(s,p,_,l.local.invalidDate),s=this._t2gYear(c.year());return i.toJD(s,c.month(),c.day())},fromJD:function(g){var p=i.fromJD(g),_=this._g2tYear(p.year());return this.newDate(_,p.month(),p.day())},_t2gYear:function(g){return g+this.yearsOffset+(g>=-this.yearsOffset&&g<=-1?1:0)},_g2tYear:function(g){return g-this.yearsOffset-(g>=1&&g<=this.yearsOffset?1:0)}}),l.calendars.taiwan=S},4592:function(u,h,a){var l=a(38700),v=a(50896),i=l.instance();function S(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}S.prototype=new l.baseCalendar,v(S.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(_){var p=this._validate(_,this.minMonth,this.minDay,l.local.invalidYear),_=this._t2gYear(p.year());return i.leapYear(_)},weekOfYear:function(s,p,_){var c=this._validate(s,this.minMonth,this.minDay,l.local.invalidYear),s=this._t2gYear(c.year());return i.weekOfYear(s,c.month(),c.day())},daysInMonth:function(g,p){var _=this._validate(g,p,this.minDay,l.local.invalidMonth);return this.daysPerMonth[_.month()-1]+(_.month()===2&&this.leapYear(_.year())?1:0)},weekDay:function(g,p,_){return(this.dayOfWeek(g,p,_)||7)<6},toJD:function(s,p,_){var c=this._validate(s,p,_,l.local.invalidDate),s=this._t2gYear(c.year());return i.toJD(s,c.month(),c.day())},fromJD:function(g){var p=i.fromJD(g),_=this._g2tYear(p.year());return this.newDate(_,p.month(),p.day())},_t2gYear:function(g){return g-this.yearsOffset-(g>=1&&g<=this.yearsOffset?1:0)},_g2tYear:function(g){return g+this.yearsOffset+(g>=-this.yearsOffset&&g<=-1?1:0)}}),l.calendars.thai=S},45348:function(u,h,a){var l=a(38700),v=a(50896);function i(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}i.prototype=new l.baseCalendar,v(i.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalāthā","Yawm al-Arbaā","Yawm al-Khamīs","Yawm al-Juma","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(g){var p=this._validate(g,this.minMonth,this.minDay,l.local.invalidYear);return this.daysInYear(p.year())===355},weekOfYear:function(g,p,_){var c=this.newDate(g,p,_);return c.add(-c.dayOfWeek(),"d"),Math.floor((c.dayOfYear()-1)/7)+1},daysInYear:function(g){for(var p=0,_=1;_<=12;_++)p+=this.daysInMonth(g,_);return p},daysInMonth:function(g,p){for(var _=this._validate(g,p,this.minDay,l.local.invalidMonth),c=_.toJD()-24e5+.5,s=0,d=0;d<S.length;d++){if(S[d]>c)return S[s]-S[s-1];s++}return 30},weekDay:function(g,p,_){return this.dayOfWeek(g,p,_)!==5},toJD:function(g,p,_){var c=this._validate(g,p,_,l.local.invalidDate),s=12*(c.year()-1)+c.month()-15292,d=c.day()+S[s-1]-1;return d+24e5-.5},fromJD:function(g){for(var p=g-24e5+.5,_=0,c=0;c<S.length&&!(S[c]>p);c++)_++;var s=_+15292,d=Math.floor((s-1)/12),f=d+1,b=s-12*d,x=p-S[_-1]+1;return this.newDate(f,b,x)},isValid:function(g,p,_){var c=l.baseCalendar.prototype.isValid.apply(this,arguments);return c&&(g=g.year!=null?g.year:g,c=g>=1276&&g<=1500),c},_validate:function(g,p,_,c){var s=l.baseCalendar.prototype._validate.apply(this,arguments);if(s.year<1276||s.year>1500)throw c.replace(/\{0\}/,this.local.name);return s}}),l.calendars.ummalqura=i;var S=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},38700:function(u,h,a){var l=a(50896);function v(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}l(v.prototype,{instance:function(c,s){c=(c||"gregorian").toLowerCase(),s=s||"";var d=this._localCals[c+"-"+s];if(!d&&this.calendars[c]&&(d=new this.calendars[c](s),this._localCals[c+"-"+s]=d),!d)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,c);return d},newDate:function(c,s,d,f,b){return f=(c!=null&&c.year?c.calendar():typeof f=="string"?this.instance(f,b):f)||this.instance(),f.newDate(c,s,d)},substituteDigits:function(c){return function(s){return(s+"").replace(/[0-9]/g,function(d){return c[d]})}},substituteChineseDigits:function(c,s){return function(d){for(var f="",b=0;d>0;){var x=d%10;f=(x===0?"":c[x]+s[b])+f,b++,d=Math.floor(d/10)}return f.indexOf(c[1]+s[1])===0&&(f=f.substr(1)),f||c[0]}}});function i(c,s,d,f){if(this._calendar=c,this._year=s,this._month=d,this._day=f,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(_.local.invalidDate||_.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function S(c,s){return c=""+c,"000000".substring(0,s-c.length)+c}l(i.prototype,{newDate:function(c,s,d){return this._calendar.newDate(c??this,s,d)},year:function(c){return arguments.length===0?this._year:this.set(c,"y")},month:function(c){return arguments.length===0?this._month:this.set(c,"m")},day:function(c){return arguments.length===0?this._day:this.set(c,"d")},date:function(c,s,d){if(!this._calendar.isValid(c,s,d))throw(_.local.invalidDate||_.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=c,this._month=s,this._day=d,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(c,s){return this._calendar.add(this,c,s)},set:function(c,s){return this._calendar.set(this,c,s)},compareTo:function(c){if(this._calendar.name!==c._calendar.name)throw(_.local.differentCalendars||_.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,c._calendar.local.name);var s=this._year!==c._year?this._year-c._year:this._month!==c._month?this.monthOfYear()-c.monthOfYear():this._day-c._day;return s===0?0:s<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(c){return this._calendar.fromJD(c)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(c){return this._calendar.fromJSDate(c)},toString:function(){return(this.year()<0?"-":"")+S(Math.abs(this.year()),4)+"-"+S(this.month(),2)+"-"+S(this.day(),2)}});function g(){this.shortYearCutoff="+10"}l(g.prototype,{_validateLevel:0,newDate:function(c,s,d){return c==null?this.today():(c.year&&(this._validate(c,s,d,_.local.invalidDate||_.regionalOptions[""].invalidDate),d=c.day(),s=c.month(),c=c.year()),new i(this,c,s,d))},today:function(){return this.fromJSDate(new Date)},epoch:function(c){var s=this._validate(c,this.minMonth,this.minDay,_.local.invalidYear||_.regionalOptions[""].invalidYear);return s.year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(c){var s=this._validate(c,this.minMonth,this.minDay,_.local.invalidYear||_.regionalOptions[""].invalidYear);return(s.year()<0?"-":"")+S(Math.abs(s.year()),4)},monthsInYear:function(c){return this._validate(c,this.minMonth,this.minDay,_.local.invalidYear||_.regionalOptions[""].invalidYear),12},monthOfYear:function(c,s){var d=this._validate(c,s,this.minDay,_.local.invalidMonth||_.regionalOptions[""].invalidMonth);return(d.month()+this.monthsInYear(d)-this.firstMonth)%this.monthsInYear(d)+this.minMonth},fromMonthOfYear:function(c,s){var d=(s+this.firstMonth-2*this.minMonth)%this.monthsInYear(c)+this.minMonth;return this._validate(c,d,this.minDay,_.local.invalidMonth||_.regionalOptions[""].invalidMonth),d},daysInYear:function(c){var s=this._validate(c,this.minMonth,this.minDay,_.local.invalidYear||_.regionalOptions[""].invalidYear);return this.leapYear(s)?366:365},dayOfYear:function(c,s,d){var f=this._validate(c,s,d,_.local.invalidDate||_.regionalOptions[""].invalidDate);return f.toJD()-this.newDate(f.year(),this.fromMonthOfYear(f.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(c,s,d){var f=this._validate(c,s,d,_.local.invalidDate||_.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(f))+2)%this.daysInWeek()},extraInfo:function(c,s,d){return this._validate(c,s,d,_.local.invalidDate||_.regionalOptions[""].invalidDate),{}},add:function(c,s,d){return this._validate(c,this.minMonth,this.minDay,_.local.invalidDate||_.regionalOptions[""].invalidDate),this._correctAdd(c,this._add(c,s,d),s,d)},_add:function(c,s,d){if(this._validateLevel++,d==="d"||d==="w"){var f=c.toJD()+s*(d==="w"?this.daysInWeek():1),b=c.calendar().fromJD(f);return this._validateLevel--,[b.year(),b.month(),b.day()]}try{var x=c.year()+(d==="y"?s:0),y=c.monthOfYear()+(d==="m"?s:0),b=c.day(),C=function(A){for(;y<A.minMonth;)x--,y+=A.monthsInYear(x);for(var E=A.monthsInYear(x);y>E-1+A.minMonth;)x++,y-=E,E=A.monthsInYear(x)};d==="y"?(c.month()!==this.fromMonthOfYear(x,y)&&(y=this.newDate(x,c.month(),this.minDay).monthOfYear()),y=Math.min(y,this.monthsInYear(x)),b=Math.min(b,this.daysInMonth(x,this.fromMonthOfYear(x,y)))):d==="m"&&(C(this),b=Math.min(b,this.daysInMonth(x,this.fromMonthOfYear(x,y))));var w=[x,this.fromMonthOfYear(x,y),b];return this._validateLevel--,w}catch(R){throw this._validateLevel--,R}},_correctAdd:function(c,s,d,f){if(!this.hasYearZero&&(f==="y"||f==="m")&&(s[0]===0||c.year()>0!=s[0]>0)){var b={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[f],x=d<0?-1:1;s=this._add(c,d*b[0]+x*b[1],b[2])}return c.date(s[0],s[1],s[2])},set:function(c,s,d){this._validate(c,this.minMonth,this.minDay,_.local.invalidDate||_.regionalOptions[""].invalidDate);var f=d==="y"?s:c.year(),b=d==="m"?s:c.month(),x=d==="d"?s:c.day();return(d==="y"||d==="m")&&(x=Math.min(x,this.daysInMonth(f,b))),c.date(f,b,x)},isValid:function(c,s,d){this._validateLevel++;var f=this.hasYearZero||c!==0;if(f){var b=this.newDate(c,s,this.minDay);f=s>=this.minMonth&&s-this.minMonth<this.monthsInYear(b)&&d>=this.minDay&&d-this.minDay<this.daysInMonth(b)}return this._validateLevel--,f},toJSDate:function(c,s,d){var f=this._validate(c,s,d,_.local.invalidDate||_.regionalOptions[""].invalidDate);return _.instance().fromJD(this.toJD(f)).toJSDate()},fromJSDate:function(c){return this.fromJD(_.instance().fromJSDate(c).toJD())},_validate:function(c,s,d,f){if(c.year){if(this._validateLevel===0&&this.name!==c.calendar().name)throw(_.local.differentCalendars||_.regionalOptions[""].differentCalendars).replace(/\{0\}/,this.local.name).replace(/\{1\}/,c.calendar().local.name);return c}try{if(this._validateLevel++,this._validateLevel===1&&!this.isValid(c,s,d))throw f.replace(/\{0\}/,this.local.name);var b=this.newDate(c,s,d);return this._validateLevel--,b}catch(x){throw this._validateLevel--,x}}});function p(c){this.local=this.regionalOptions[c]||this.regionalOptions[""]}p.prototype=new g,l(p.prototype,{name:"Gregorian",jdEpoch:17214255e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Gregorian",epochs:["BCE","CE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(d){var s=this._validate(d,this.minMonth,this.minDay,_.local.invalidYear||_.regionalOptions[""].invalidYear),d=s.year()+(s.year()<0?1:0);return d%4===0&&(d%100!==0||d%400===0)},weekOfYear:function(c,s,d){var f=this.newDate(c,s,d);return f.add(4-(f.dayOfWeek()||7),"d"),Math.floor((f.dayOfYear()-1)/7)+1},daysInMonth:function(c,s){var d=this._validate(c,s,this.minDay,_.local.invalidMonth||_.regionalOptions[""].invalidMonth);return this.daysPerMonth[d.month()-1]+(d.month()===2&&this.leapYear(d.year())?1:0)},weekDay:function(c,s,d){return(this.dayOfWeek(c,s,d)||7)<6},toJD:function(c,s,d){var f=this._validate(c,s,d,_.local.invalidDate||_.regionalOptions[""].invalidDate);c=f.year(),s=f.month(),d=f.day(),c<0&&c++,s<3&&(s+=12,c--);var b=Math.floor(c/100),x=2-b+Math.floor(b/4);return Math.floor(365.25*(c+4716))+Math.floor(30.6001*(s+1))+d+x-1524.5},fromJD:function(c){var s=Math.floor(c+.5),d=Math.floor((s-186721625e-2)/36524.25);d=s+1+d-Math.floor(d/4);var f=d+1524,b=Math.floor((f-122.1)/365.25),x=Math.floor(365.25*b),y=Math.floor((f-x)/30.6001),C=f-x-Math.floor(y*30.6001),w=y-(y>13.5?13:1),R=b-(w>2.5?4716:4715);return R<=0&&R--,this.newDate(R,w,C)},toJSDate:function(c,s,d){var f=this._validate(c,s,d,_.local.invalidDate||_.regionalOptions[""].invalidDate),b=new Date(f.year(),f.month()-1,f.day());return b.setHours(0),b.setMinutes(0),b.setSeconds(0),b.setMilliseconds(0),b.setHours(b.getHours()>12?b.getHours()+2:0),b},fromJSDate:function(c){return this.newDate(c.getFullYear(),c.getMonth()+1,c.getDate())}});var _=u.exports=new v;_.cdate=i,_.baseCalendar=g,_.calendars.gregorian=p},15168:function(u,h,a){var l=a(50896),v=a(38700);l(v.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),v.local=v.regionalOptions[""],l(v.cdate.prototype,{formatDate:function(i,S){return typeof i!="string"&&(S=i,i=""),this._calendar.formatDate(i||"",this,S)}}),l(v.baseCalendar.prototype,{UNIX_EPOCH:v.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:v.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(i,S,g){if(typeof i!="string"&&(g=S,S=i,i=""),!S)return"";if(S.calendar()!==this)throw v.local.invalidFormat||v.regionalOptions[""].invalidFormat;i=i||this.local.dateFormat,g=g||{};var p=g.dayNamesShort||this.local.dayNamesShort,_=g.dayNames||this.local.dayNames,c=g.monthNumbers||this.local.monthNumbers,s=g.monthNamesShort||this.local.monthNamesShort,d=g.monthNames||this.local.monthNames;g.calculateWeek||this.local.calculateWeek;for(var f=function(I,P){for(var M=1;L+M<i.length&&i.charAt(L+M)===I;)M++;return L+=M-1,Math.floor(M/(P||1))>1},b=function(I,P,M,F){var N=""+P;if(f(I,F))for(;N.length<M;)N="0"+N;return N},x=function(I,P,M,F){return f(I)?F[P]:M[P]},y=this,C=function(I){return typeof c=="function"?c.call(y,I,f("m")):A(b("m",I.month(),2))},w=function(I,P){return P?typeof d=="function"?d.call(y,I):d[I.month()-y.minMonth]:typeof s=="function"?s.call(y,I):s[I.month()-y.minMonth]},R=this.local.digits,A=function(I){return g.localNumbers&&R?R(I):I},E="",k=!1,L=0;L<i.length;L++)if(k)i.charAt(L)==="'"&&!f("'")?k=!1:E+=i.charAt(L);else switch(i.charAt(L)){case"d":E+=A(b("d",S.day(),2));break;case"D":E+=x("D",S.dayOfWeek(),p,_);break;case"o":E+=b("o",S.dayOfYear(),3);break;case"w":E+=b("w",S.weekOfYear(),2);break;case"m":E+=C(S);break;case"M":E+=w(S,f("M"));break;case"y":E+=f("y",2)?S.year():(S.year()%100<10?"0":"")+S.year()%100;break;case"Y":f("Y",2),E+=S.formatYear();break;case"J":E+=S.toJD();break;case"@":E+=(S.toJD()-this.UNIX_EPOCH)*this.SECS_PER_DAY;break;case"!":E+=(S.toJD()-this.TICKS_EPOCH)*this.TICKS_PER_DAY;break;case"'":f("'")?E+="'":k=!0;break;default:E+=i.charAt(L)}return E},parseDate:function(i,S,g){if(S==null)throw v.local.invalidArguments||v.regionalOptions[""].invalidArguments;if(S=typeof S=="object"?S.toString():S+"",S==="")return null;i=i||this.local.dateFormat,g=g||{};var p=g.shortYearCutoff||this.shortYearCutoff;p=typeof p!="string"?p:this.today().year()%100+parseInt(p,10);for(var _=g.dayNamesShort||this.local.dayNamesShort,c=g.dayNames||this.local.dayNames,s=g.parseMonth||this.local.parseMonth,d=g.monthNumbers||this.local.monthNumbers,f=g.monthNamesShort||this.local.monthNamesShort,b=g.monthNames||this.local.monthNames,x=-1,y=-1,C=-1,w=-1,R=-1,A=!1,E=!1,k=function(B,Y){for(var z=1;D+z<i.length&&i.charAt(D+z)===B;)z++;return D+=z-1,Math.floor(z/(Y||1))>1},L=function(B,Y){var z=k(B,Y),V=[2,3,z?4:2,z?4:2,10,11,20]["oyYJ@!".indexOf(B)+1],j=new RegExp("^-?\\d{1,"+V+"}"),G=S.substring(T).match(j);if(!G)throw(v.local.missingNumberAt||v.regionalOptions[""].missingNumberAt).replace(/\{0\}/,T);return T+=G[0].length,parseInt(G[0],10)},I=this,P=function(){if(typeof d=="function"){k("m");var B=d.call(I,S.substring(T));return T+=B.length,B}return L("m")},M=function(B,Y,z,V){for(var j=k(B,V)?z:Y,G=0;G<j.length;G++)if(S.substr(T,j[G].length).toLowerCase()===j[G].toLowerCase())return T+=j[G].length,G+I.minMonth;throw(v.local.unknownNameAt||v.regionalOptions[""].unknownNameAt).replace(/\{0\}/,T)},F=function(){if(typeof b=="function"){var B=k("M")?b.call(I,S.substring(T)):f.call(I,S.substring(T));return T+=B.length,B}return M("M",f,b)},N=function(){if(S.charAt(T)!==i.charAt(D))throw(v.local.unexpectedLiteralAt||v.regionalOptions[""].unexpectedLiteralAt).replace(/\{0\}/,T);T++},T=0,D=0;D<i.length;D++)if(E)i.charAt(D)==="'"&&!k("'")?E=!1:N();else switch(i.charAt(D)){case"d":w=L("d");break;case"D":M("D",_,c);break;case"o":R=L("o");break;case"w":L("w");break;case"m":C=P();break;case"M":C=F();break;case"y":var O=D;A=!k("y",2),D=O,y=L("y",2);break;case"Y":y=L("Y",2);break;case"J":x=L("J")+.5,S.charAt(T)==="."&&(T++,L("J"));break;case"@":x=L("@")/this.SECS_PER_DAY+this.UNIX_EPOCH;break;case"!":x=L("!")/this.TICKS_PER_DAY+this.TICKS_EPOCH;break;case"*":T=S.length;break;case"'":k("'")?N():E=!0;break;default:N()}if(T<S.length)throw v.local.unexpectedText||v.regionalOptions[""].unexpectedText;if(y===-1?y=this.today().year():y<100&&A&&(y+=p===-1?1900:this.today().year()-this.today().year()%100-(y<=p?0:100)),typeof C=="string"&&(C=s.call(this,y,C)),R>-1){C=1,w=R;for(var U=this.daysInMonth(y,C);w>U;U=this.daysInMonth(y,C))C++,w-=U}return x>-1?this.fromJD(x):this.newDate(y,C,w)},determineDate:function(i,S,g,p,_){g&&typeof g!="object"&&(_=p,p=g,g=null),typeof p!="string"&&(_=p,p="");var c=this,s=function(d){try{return c.parseDate(p,d,_)}catch{}d=d.toLowerCase();for(var f=(d.match(/^c/)&&g?g.newDate():null)||c.today(),b=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,x=b.exec(d);x;)f.add(parseInt(x[1],10),x[2]||"d"),x=b.exec(d);return f};return S=S?S.newDate():null,i=i==null?S:typeof i=="string"?s(i):typeof i=="number"?isNaN(i)||i===1/0||i===-1/0?S:c.today().add(i,"d"):c.newDate(i),i}})},21576:function(){},19768:function(){},63436:function(u,h,a){var l=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],v=typeof globalThis>"u"?a.g:globalThis;u.exports=function(){for(var S=[],g=0;g<l.length;g++)typeof v[l[g]]=="function"&&(S[S.length]=l[g]);return S}},67756:function(u,h,a){a.d(h,{qy:function(){return Re},Gz:function(){return ce}});function l(be,Pe,Ke){be.prototype=Pe.prototype=Ke,Ke.constructor=be}function v(be,Pe){var Ke=Object.create(be.prototype);for(var ze in Pe)Ke[ze]=Pe[ze];return Ke}function i(){}var S=.7,g=1/S,p="\\s*([+-]?\\d+)\\s*",_="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",c="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",s=/^#([0-9a-f]{3,8})$/,d=new RegExp("^rgb\\(".concat(p,",").concat(p,",").concat(p,"\\)$")),f=new RegExp("^rgb\\(".concat(c,",").concat(c,",").concat(c,"\\)$")),b=new RegExp("^rgba\\(".concat(p,",").concat(p,",").concat(p,",").concat(_,"\\)$")),x=new RegExp("^rgba\\(".concat(c,",").concat(c,",").concat(c,",").concat(_,"\\)$")),y=new RegExp("^hsl\\(".concat(_,",").concat(c,",").concat(c,"\\)$")),C=new RegExp("^hsla\\(".concat(_,",").concat(c,",").concat(c,",").concat(_,"\\)$")),w={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};l(i,L,{copy:function(Pe){return Object.assign(new this.constructor,this,Pe)},displayable:function(){return this.rgb().displayable()},hex:R,formatHex:R,formatHex8:A,formatHsl:E,formatRgb:k,toString:k});function R(){return this.rgb().formatHex()}function A(){return this.rgb().formatHex8()}function E(){return V(this).formatHsl()}function k(){return this.rgb().formatRgb()}function L(be){var Pe,Ke;return be=(be+"").trim().toLowerCase(),(Pe=s.exec(be))?(Ke=Pe[1].length,Pe=parseInt(Pe[1],16),Ke===6?I(Pe):Ke===3?new N(Pe>>8&15|Pe>>4&240,Pe>>4&15|Pe&240,(Pe&15)<<4|Pe&15,1):Ke===8?P(Pe>>24&255,Pe>>16&255,Pe>>8&255,(Pe&255)/255):Ke===4?P(Pe>>12&15|Pe>>8&240,Pe>>8&15|Pe>>4&240,Pe>>4&15|Pe&240,((Pe&15)<<4|Pe&15)/255):null):(Pe=d.exec(be))?new N(Pe[1],Pe[2],Pe[3],1):(Pe=f.exec(be))?new N(Pe[1]*255/100,Pe[2]*255/100,Pe[3]*255/100,1):(Pe=b.exec(be))?P(Pe[1],Pe[2],Pe[3],Pe[4]):(Pe=x.exec(be))?P(Pe[1]*255/100,Pe[2]*255/100,Pe[3]*255/100,Pe[4]):(Pe=y.exec(be))?z(Pe[1],Pe[2]/100,Pe[3]/100,1):(Pe=C.exec(be))?z(Pe[1],Pe[2]/100,Pe[3]/100,Pe[4]):w.hasOwnProperty(be)?I(w[be]):be==="transparent"?new N(NaN,NaN,NaN,0):null}function I(be){return new N(be>>16&255,be>>8&255,be&255,1)}function P(be,Pe,Ke,ze){return ze<=0&&(be=Pe=Ke=NaN),new N(be,Pe,Ke,ze)}function M(be){return be instanceof i||(be=L(be)),be?(be=be.rgb(),new N(be.r,be.g,be.b,be.opacity)):new N}function F(be,Pe,Ke,ze){return arguments.length===1?M(be):new N(be,Pe,Ke,ze??1)}function N(be,Pe,Ke,ze){this.r=+be,this.g=+Pe,this.b=+Ke,this.opacity=+ze}l(N,F,v(i,{brighter:function(Pe){return Pe=Pe==null?g:Math.pow(g,Pe),new N(this.r*Pe,this.g*Pe,this.b*Pe,this.opacity)},darker:function(Pe){return Pe=Pe==null?S:Math.pow(S,Pe),new N(this.r*Pe,this.g*Pe,this.b*Pe,this.opacity)},rgb:function(){return this},clamp:function(){return new N(B(this.r),B(this.g),B(this.b),U(this.opacity))},displayable:function(){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:T,formatHex:T,formatHex8:D,formatRgb:O,toString:O}));function T(){return"#".concat(Y(this.r)).concat(Y(this.g)).concat(Y(this.b))}function D(){return"#".concat(Y(this.r)).concat(Y(this.g)).concat(Y(this.b)).concat(Y((isNaN(this.opacity)?1:this.opacity)*255))}function O(){var be=U(this.opacity);return"".concat(be===1?"rgb(":"rgba(").concat(B(this.r),", ").concat(B(this.g),", ").concat(B(this.b)).concat(be===1?")":", ".concat(be,")"))}function U(be){return isNaN(be)?1:Math.max(0,Math.min(1,be))}function B(be){return Math.max(0,Math.min(255,Math.round(be)||0))}function Y(be){return be=B(be),(be<16?"0":"")+be.toString(16)}function z(be,Pe,Ke,ze){return ze<=0?be=Pe=Ke=NaN:Ke<=0||Ke>=1?be=Pe=NaN:Pe<=0&&(be=NaN),new G(be,Pe,Ke,ze)}function V(be){if(be instanceof G)return new G(be.h,be.s,be.l,be.opacity);if(be instanceof i||(be=L(be)),!be)return new G;if(be instanceof G)return be;be=be.rgb();var Pe=be.r/255,Ke=be.g/255,ze=be.b/255,Fe=Math.min(Pe,Ke,ze),We=Math.max(Pe,Ke,ze),lt=NaN,ht=We-Fe,tt=(We+Fe)/2;return ht?(Pe===We?lt=(Ke-ze)/ht+(Ke<ze)*6:Ke===We?lt=(ze-Pe)/ht+2:lt=(Pe-Ke)/ht+4,ht/=tt<.5?We+Fe:2-We-Fe,lt*=60):ht=tt>0&&tt<1?0:lt,new G(lt,ht,tt,be.opacity)}function j(be,Pe,Ke,ze){return arguments.length===1?V(be):new G(be,Pe,Ke,ze??1)}function G(be,Pe,Ke,ze){this.h=+be,this.s=+Pe,this.l=+Ke,this.opacity=+ze}l(G,j,v(i,{brighter:function(Pe){return Pe=Pe==null?g:Math.pow(g,Pe),new G(this.h,this.s,this.l*Pe,this.opacity)},darker:function(Pe){return Pe=Pe==null?S:Math.pow(S,Pe),new G(this.h,this.s,this.l*Pe,this.opacity)},rgb:function(){var Pe=this.h%360+(this.h<0)*360,Ke=isNaN(Pe)||isNaN(this.s)?0:this.s,ze=this.l,Fe=ze+(ze<.5?ze:1-ze)*Ke,We=2*ze-Fe;return new N(Q(Pe>=240?Pe-240:Pe+120,We,Fe),Q(Pe,We,Fe),Q(Pe<120?Pe+240:Pe-120,We,Fe),this.opacity)},clamp:function(){return new G(W(this.h),X(this.s),X(this.l),U(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var Pe=U(this.opacity);return"".concat(Pe===1?"hsl(":"hsla(").concat(W(this.h),", ").concat(X(this.s)*100,"%, ").concat(X(this.l)*100,"%").concat(Pe===1?")":", ".concat(Pe,")"))}}));function W(be){return be=(be||0)%360,be<0?be+360:be}function X(be){return Math.max(0,Math.min(1,be||0))}function Q(be,Pe,Ke){return(be<60?Pe+(Ke-Pe)*be/60:be<180?Ke:be<240?Pe+(Ke-Pe)*(240-be)/60:Pe)*255}var ae=function(be){return function(){return be}};function ie(be,Pe){return function(Ke){return be+Ke*Pe}}function he(be,Pe,Ke){return be=Math.pow(be,Ke),Pe=Math.pow(Pe,Ke)-be,Ke=1/Ke,function(ze){return Math.pow(be+ze*Pe,Ke)}}function J(be){return(be=+be)==1?Z:function(Pe,Ke){return Ke-Pe?he(Pe,Ke,be):ae(isNaN(Pe)?Ke:Pe)}}function Z(be,Pe){var Ke=Pe-be;return Ke?ie(be,Ke):ae(isNaN(be)?Pe:be)}var le=function be(Pe){var Ke=J(Pe);function ze(Fe,We){var lt=Ke((Fe=F(Fe)).r,(We=F(We)).r),ht=Ke(Fe.g,We.g),tt=Ke(Fe.b,We.b),et=Z(Fe.opacity,We.opacity);return function(pt){return Fe.r=lt(pt),Fe.g=ht(pt),Fe.b=tt(pt),Fe.opacity=et(pt),Fe+""}}return ze.gamma=be,ze}(1);function K(be,Pe){var Ke=Pe?Pe.length:0,ze=be?Math.min(Ke,be.length):0,Fe=new Array(ze),We=new Array(Ke),lt;for(lt=0;lt<ze;++lt)Fe[lt]=Re(be[lt],Pe[lt]);for(;lt<Ke;++lt)We[lt]=Pe[lt];return function(ht){for(lt=0;lt<ze;++lt)We[lt]=Fe[lt](ht);return We}}function te(be,Pe){var Ke=new Date;return be=+be,Pe=+Pe,function(ze){return Ke.setTime(be*(1-ze)+Pe*ze),Ke}}function ce(be,Pe){return be=+be,Pe=+Pe,function(Ke){return be*(1-Ke)+Pe*Ke}}function re(be){"@babel/helpers - typeof";return re=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Pe){return typeof Pe}:function(Pe){return Pe&&typeof Symbol=="function"&&Pe.constructor===Symbol&&Pe!==Symbol.prototype?"symbol":typeof Pe},re(be)}function ee(be,Pe){var Ke={},ze={},Fe;(be===null||re(be)!=="object")&&(be={}),(Pe===null||re(Pe)!=="object")&&(Pe={});for(Fe in Pe)Fe in be?Ke[Fe]=Re(be[Fe],Pe[Fe]):ze[Fe]=Pe[Fe];return function(We){for(Fe in Ke)ze[Fe]=Ke[Fe](We);return ze}}var de=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,oe=new RegExp(de.source,"g");function fe(be){return function(){return be}}function me(be){return function(Pe){return be(Pe)+""}}function Te(be,Pe){var Ke=de.lastIndex=oe.lastIndex=0,ze,Fe,We,lt=-1,ht=[],tt=[];for(be=be+"",Pe=Pe+"";(ze=de.exec(be))&&(Fe=oe.exec(Pe));)(We=Fe.index)>Ke&&(We=Pe.slice(Ke,We),ht[lt]?ht[lt]+=We:ht[++lt]=We),(ze=ze[0])===(Fe=Fe[0])?ht[lt]?ht[lt]+=Fe:ht[++lt]=Fe:(ht[++lt]=null,tt.push({i:lt,x:ce(ze,Fe)})),Ke=oe.lastIndex;return Ke<Pe.length&&(We=Pe.slice(Ke),ht[lt]?ht[lt]+=We:ht[++lt]=We),ht.length<2?tt[0]?me(tt[0].x):fe(Pe):(Pe=tt.length,function(et){for(var pt=0,vt;pt<Pe;++pt)ht[(vt=tt[pt]).i]=vt.x(et);return ht.join("")})}function we(be,Pe){Pe||(Pe=[]);var Ke=be?Math.min(Pe.length,be.length):0,ze=Pe.slice(),Fe;return function(We){for(Fe=0;Fe<Ke;++Fe)ze[Fe]=be[Fe]*(1-We)+Pe[Fe]*We;return ze}}function Be(be){return ArrayBuffer.isView(be)&&!(be instanceof DataView)}function Ae(be){"@babel/helpers - typeof";return Ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Pe){return typeof Pe}:function(Pe){return Pe&&typeof Symbol=="function"&&Pe.constructor===Symbol&&Pe!==Symbol.prototype?"symbol":typeof Pe},Ae(be)}function Re(be,Pe){var Ke=Ae(Pe),ze;return Pe==null||Ke==="boolean"?ae(Pe):(Ke==="number"?ce:Ke==="string"?(ze=L(Pe))?(Pe=ze,le):Te:Pe instanceof L?le:Pe instanceof Date?te:Be(Pe)?we:Array.isArray(Pe)?K:typeof Pe.valueOf!="function"&&typeof Pe.toString!="function"||isNaN(Pe)?ee:ce)(be,Pe)}},30584:function(u){u.exports=JSON.parse('["xx-small","x-small","small","medium","large","x-large","xx-large","larger","smaller"]')},7294:function(u){u.exports=JSON.parse('["normal","condensed","semi-condensed","extra-condensed","ultra-condensed","expanded","semi-expanded","extra-expanded","ultra-expanded"]')},47916:function(u){u.exports=JSON.parse('["normal","italic","oblique"]')},2904:function(u){u.exports=JSON.parse('["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900"]')},68194:function(u){u.exports=JSON.parse('["inherit","initial","unset"]')},3748:function(u){u.exports=JSON.parse('["caption","icon","menu","message-box","small-caption","status-bar"]')}},n={};function o(u){var h=n[u];if(h!==void 0)return h.exports;var a=n[u]={exports:{}};return r[u].call(a.exports,a,a.exports,o),a.exports}(function(){o.n=function(u){var h=u&&u.__esModule?function(){return u.default}:function(){return u};return o.d(h,{a:h}),h}})(),function(){o.d=function(u,h){for(var a in h)o.o(h,a)&&!o.o(u,a)&&Object.defineProperty(u,a,{enumerable:!0,get:h[a]})}}(),function(){o.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()}(),function(){o.o=function(u,h){return Object.prototype.hasOwnProperty.call(u,h)}}(),function(){o.r=function(u){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})}}();var m=o(13792);return m}()})})(DQe);var yrr=DQe.exports;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(OQe),r=n(yrr);function n(u){return u&&u.__esModule?u:{default:u}}var o=(0,t.default)(r.default),m=o;e.default=m})(Y3e);const _rr=Jl({__proto__:null,default:ec(Y3e)},[Y3e]);var xrr=Object.create,M8=Object.defineProperty,brr=Object.getOwnPropertyDescriptor,Err=Object.getOwnPropertyNames,Srr=Object.getPrototypeOf,wrr=Object.prototype.hasOwnProperty,Trr=(e,t,r)=>t in e?M8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Arr=(e,t)=>{for(var r in t)M8(e,r,{get:t[r],enumerable:!0})},PQe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Err(t))!wrr.call(e,o)&&o!==r&&M8(e,o,{get:()=>t[o],enumerable:!(n=brr(t,o))||n.enumerable});return e},Crr=(e,t,r)=>(r=e!=null?xrr(Srr(e)):{},PQe(!e||!e.__esModule?M8(r,"default",{value:e,enumerable:!0}):r,e)),krr=e=>PQe(M8({},"__esModule",{value:!0}),e),i_=(e,t,r)=>(Trr(e,typeof t!="symbol"?t+"":t,r),r),FQe={};Arr(FQe,{default:()=>X3e});var BQe=krr(FQe),W3e=Crr(Ue),r6=mf,zQe=jh;const Mrr="https://www.youtube.com/iframe_api",UQe="YT",Rrr="onYouTubeIframeAPIReady",wse=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,K3e=/user\/([a-zA-Z0-9_-]+)\/?/,Nrr=/youtube-nocookie\.com/,Irr="https://www.youtube-nocookie.com";class X3e extends W3e.Component{constructor(){super(...arguments),i_(this,"callPlayer",r6.callPlayer),i_(this,"parsePlaylist",t=>{if(t instanceof Array)return{listType:"playlist",playlist:t.map(this.getID).join(",")};if(wse.test(t)){const[,r]=t.match(wse);return{listType:"playlist",list:r.replace(/^UC/,"UU")}}if(K3e.test(t)){const[,r]=t.match(K3e);return{listType:"user_uploads",list:r}}return{}}),i_(this,"onStateChange",t=>{const{data:r}=t,{onPlay:n,onPause:o,onBuffer:m,onBufferEnd:u,onEnded:h,onReady:a,loop:l,config:{playerVars:v,onUnstarted:i}}=this.props,{UNSTARTED:S,PLAYING:g,PAUSED:p,BUFFERING:_,ENDED:c,CUED:s}=window[UQe].PlayerState;if(r===S&&i(),r===g&&(n(),u()),r===p&&o(),r===_&&m(),r===c){const d=!!this.callPlayer("getPlaylist");l&&!d&&(v.start?this.seekTo(v.start):this.play()),h()}r===s&&a()}),i_(this,"mute",()=>{this.callPlayer("mute")}),i_(this,"unmute",()=>{this.callPlayer("unMute")}),i_(this,"ref",t=>{this.container=t})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}getID(t){return!t||t instanceof Array||wse.test(t)?null:t.match(zQe.MATCH_URL_YOUTUBE)[1]}load(t,r){const{playing:n,muted:o,playsinline:m,controls:u,loop:h,config:a,onError:l}=this.props,{playerVars:v,embedOptions:i}=a,S=this.getID(t);if(r){if(wse.test(t)||K3e.test(t)||t instanceof Array){this.player.loadPlaylist(this.parsePlaylist(t));return}this.player.cueVideoById({videoId:S,startSeconds:(0,r6.parseStartTime)(t)||v.start,endSeconds:(0,r6.parseEndTime)(t)||v.end});return}(0,r6.getSDK)(Mrr,UQe,Rrr,g=>g.loaded).then(g=>{this.container&&(this.player=new g.Player(this.container,{width:"100%",height:"100%",videoId:S,playerVars:{autoplay:n?1:0,mute:o?1:0,controls:u?1:0,start:(0,r6.parseStartTime)(t),end:(0,r6.parseEndTime)(t),origin:window.location.origin,playsinline:m?1:0,...this.parsePlaylist(t),...v},events:{onReady:()=>{h&&this.player.setLoop(!0),this.props.onReady()},onPlaybackRateChange:p=>this.props.onPlaybackRateChange(p.data),onPlaybackQualityChange:p=>this.props.onPlaybackQualityChange(p),onStateChange:this.onStateChange,onError:p=>l(p.data)},host:Nrr.test(t)?Irr:void 0,...i}))},l),i.events&&console.warn("Using `embedOptions.events` will likely break things. Use ReactPlayers callback props instead, eg onReady, onPlay, onPause")}play(){this.callPlayer("playVideo")}pause(){this.callPlayer("pauseVideo")}stop(){document.body.contains(this.callPlayer("getIframe"))&&this.callPlayer("stopVideo")}seekTo(t,r=!1){this.callPlayer("seekTo",t),!r&&!this.props.playing&&this.pause()}setVolume(t){this.callPlayer("setVolume",t*100)}setPlaybackRate(t){this.callPlayer("setPlaybackRate",t)}setLoop(t){this.callPlayer("setLoop",t)}getDuration(){return this.callPlayer("getDuration")}getCurrentTime(){return this.callPlayer("getCurrentTime")}getSecondsLoaded(){return this.callPlayer("getVideoLoadedFraction")*this.getDuration()}render(){const{display:t}=this.props,r={width:"100%",height:"100%",display:t};return W3e.default.createElement("div",{style:r},W3e.default.createElement("div",{ref:this.ref}))}}i_(X3e,"displayName","YouTube"),i_(X3e,"canPlay",zQe.canPlay.youtube);const Lrr=Jl({__proto__:null,default:ec(BQe)},[BQe]);var Orr=Object.create,R8=Object.defineProperty,Drr=Object.getOwnPropertyDescriptor,Prr=Object.getOwnPropertyNames,Frr=Object.getPrototypeOf,Brr=Object.prototype.hasOwnProperty,zrr=(e,t,r)=>t in e?R8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Urr=(e,t)=>{for(var r in t)R8(e,r,{get:t[r],enumerable:!0})},$Qe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Prr(t))!Brr.call(e,o)&&o!==r&&R8(e,o,{get:()=>t[o],enumerable:!(n=Drr(t,o))||n.enumerable});return e},$rr=(e,t,r)=>(r=e!=null?Orr(Frr(e)):{},$Qe(!e||!e.__esModule?R8(r,"default",{value:e,enumerable:!0}):r,e)),Hrr=e=>$Qe(R8({},"__esModule",{value:!0}),e),Sm=(e,t,r)=>(zrr(e,typeof t!="symbol"?t+"":t,r),r),HQe={};Urr(HQe,{default:()=>Tse});var VQe=Hrr(HQe),GQe=$rr(Ue),jQe=mf,Vrr=jh;const Grr="https://w.soundcloud.com/player/api.js",jrr="SC";class Tse extends GQe.Component{constructor(){super(...arguments),Sm(this,"callPlayer",jQe.callPlayer),Sm(this,"duration",null),Sm(this,"currentTime",null),Sm(this,"fractionLoaded",null),Sm(this,"mute",()=>{this.setVolume(0)}),Sm(this,"unmute",()=>{this.props.volume!==null&&this.setVolume(this.props.volume)}),Sm(this,"ref",t=>{this.iframe=t})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(t,r){(0,jQe.getSDK)(Grr,jrr).then(n=>{if(!this.iframe)return;const{PLAY:o,PLAY_PROGRESS:m,PAUSE:u,FINISH:h,ERROR:a}=n.Widget.Events;r||(this.player=n.Widget(this.iframe),this.player.bind(o,this.props.onPlay),this.player.bind(u,()=>{this.duration-this.currentTime<.05||this.props.onPause()}),this.player.bind(m,l=>{this.currentTime=l.currentPosition/1e3,this.fractionLoaded=l.loadedProgress}),this.player.bind(h,()=>this.props.onEnded()),this.player.bind(a,l=>this.props.onError(l))),this.player.load(t,{...this.props.config.options,callback:()=>{this.player.getDuration(l=>{this.duration=l/1e3,this.props.onReady()})}})})}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(t,r=!0){this.callPlayer("seekTo",t*1e3),r||this.pause()}setVolume(t){this.callPlayer("setVolume",t*100)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.fractionLoaded*this.duration}render(){const{display:t}=this.props,r={width:"100%",height:"100%",display:t};return GQe.default.createElement("iframe",{ref:this.ref,src:`https://w.soundcloud.com/player/?url=${encodeURIComponent(this.props.url)}`,style:r,frameBorder:0,allow:"autoplay"})}}Sm(Tse,"displayName","SoundCloud"),Sm(Tse,"canPlay",Vrr.canPlay.soundcloud),Sm(Tse,"loopOnEnded",!0);const Yrr=Jl({__proto__:null,default:ec(VQe)},[VQe]);var Wrr=Object.create,N8=Object.defineProperty,Krr=Object.getOwnPropertyDescriptor,Xrr=Object.getOwnPropertyNames,qrr=Object.getPrototypeOf,Zrr=Object.prototype.hasOwnProperty,Qrr=(e,t,r)=>t in e?N8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Jrr=(e,t)=>{for(var r in t)N8(e,r,{get:t[r],enumerable:!0})},YQe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Xrr(t))!Zrr.call(e,o)&&o!==r&&N8(e,o,{get:()=>t[o],enumerable:!(n=Krr(t,o))||n.enumerable});return e},enr=(e,t,r)=>(r=e!=null?Wrr(qrr(e)):{},YQe(!e||!e.__esModule?N8(r,"default",{value:e,enumerable:!0}):r,e)),tnr=e=>YQe(N8({},"__esModule",{value:!0}),e),wm=(e,t,r)=>(Qrr(e,typeof t!="symbol"?t+"":t,r),r),WQe={};Jrr(WQe,{default:()=>Ase});var KQe=tnr(WQe),XQe=enr(Ue),qQe=mf,rnr=jh;const nnr="https://player.vimeo.com/api/player.js",anr="Vimeo",inr=e=>e.replace("/manage/videos","");class Ase extends XQe.Component{constructor(){super(...arguments),wm(this,"callPlayer",qQe.callPlayer),wm(this,"duration",null),wm(this,"currentTime",null),wm(this,"secondsLoaded",null),wm(this,"mute",()=>{this.setMuted(!0)}),wm(this,"unmute",()=>{this.setMuted(!1)}),wm(this,"ref",t=>{this.container=t})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(t){this.duration=null,(0,qQe.getSDK)(nnr,anr).then(r=>{if(!this.container)return;const{playerOptions:n,title:o}=this.props.config;this.player=new r.Player(this.container,{url:inr(t),autoplay:this.props.playing,muted:this.props.muted,loop:this.props.loop,playsinline:this.props.playsinline,controls:this.props.controls,...n}),this.player.ready().then(()=>{const m=this.container.querySelector("iframe");m.style.width="100%",m.style.height="100%",o&&(m.title=o)}).catch(this.props.onError),this.player.on("loaded",()=>{this.props.onReady(),this.refreshDuration()}),this.player.on("play",()=>{this.props.onPlay(),this.refreshDuration()}),this.player.on("pause",this.props.onPause),this.player.on("seeked",m=>this.props.onSeek(m.seconds)),this.player.on("ended",this.props.onEnded),this.player.on("error",this.props.onError),this.player.on("timeupdate",({seconds:m})=>{this.currentTime=m}),this.player.on("progress",({seconds:m})=>{this.secondsLoaded=m}),this.player.on("bufferstart",this.props.onBuffer),this.player.on("bufferend",this.props.onBufferEnd),this.player.on("playbackratechange",m=>this.props.onPlaybackRateChange(m.playbackRate))},this.props.onError)}refreshDuration(){this.player.getDuration().then(t=>{this.duration=t})}play(){const t=this.callPlayer("play");t&&t.catch(this.props.onError)}pause(){this.callPlayer("pause")}stop(){this.callPlayer("unload")}seekTo(t,r=!0){this.callPlayer("setCurrentTime",t),r||this.pause()}setVolume(t){this.callPlayer("setVolume",t)}setMuted(t){this.callPlayer("setMuted",t)}setLoop(t){this.callPlayer("setLoop",t)}setPlaybackRate(t){this.callPlayer("setPlaybackRate",t)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.secondsLoaded}render(){const{display:t}=this.props,r={width:"100%",height:"100%",overflow:"hidden",display:t};return XQe.default.createElement("div",{key:this.props.url,ref:this.ref,style:r})}}wm(Ase,"displayName","Vimeo"),wm(Ase,"canPlay",rnr.canPlay.vimeo),wm(Ase,"forceLoad",!0);const onr=Jl({__proto__:null,default:ec(KQe)},[KQe]);var snr=Object.create,I8=Object.defineProperty,lnr=Object.getOwnPropertyDescriptor,cnr=Object.getOwnPropertyNames,unr=Object.getPrototypeOf,dnr=Object.prototype.hasOwnProperty,fnr=(e,t,r)=>t in e?I8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,hnr=(e,t)=>{for(var r in t)I8(e,r,{get:t[r],enumerable:!0})},ZQe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of cnr(t))!dnr.call(e,o)&&o!==r&&I8(e,o,{get:()=>t[o],enumerable:!(n=lnr(t,o))||n.enumerable});return e},pnr=(e,t,r)=>(r=e!=null?snr(unr(e)):{},ZQe(!e||!e.__esModule?I8(r,"default",{value:e,enumerable:!0}):r,e)),vnr=e=>ZQe(I8({},"__esModule",{value:!0}),e),_f=(e,t,r)=>(fnr(e,typeof t!="symbol"?t+"":t,r),r),QQe={};hnr(QQe,{default:()=>Z3e});var JQe=vnr(QQe),eJe=pnr(Ue),q3e=jh;const mnr="https://cdn.jsdelivr.net/npm/@mux/mux-player@VERSION/dist/mux-player.mjs";class Z3e extends eJe.Component{constructor(){super(...arguments),_f(this,"onReady",(...t)=>this.props.onReady(...t)),_f(this,"onPlay",(...t)=>this.props.onPlay(...t)),_f(this,"onBuffer",(...t)=>this.props.onBuffer(...t)),_f(this,"onBufferEnd",(...t)=>this.props.onBufferEnd(...t)),_f(this,"onPause",(...t)=>this.props.onPause(...t)),_f(this,"onEnded",(...t)=>this.props.onEnded(...t)),_f(this,"onError",(...t)=>this.props.onError(...t)),_f(this,"onPlayBackRateChange",t=>this.props.onPlaybackRateChange(t.target.playbackRate)),_f(this,"onEnablePIP",(...t)=>this.props.onEnablePIP(...t)),_f(this,"onSeek",t=>{this.props.onSeek(t.target.currentTime)}),_f(this,"onDurationChange",()=>{const t=this.getDuration();this.props.onDuration(t)}),_f(this,"mute",()=>{this.player.muted=!0}),_f(this,"unmute",()=>{this.player.muted=!1}),_f(this,"ref",t=>{this.player=t})}componentDidMount(){this.props.onMount&&this.props.onMount(this),this.addListeners(this.player);const t=this.getPlaybackId(this.props.url);t&&(this.player.playbackId=t)}componentWillUnmount(){this.player.playbackId=null,this.removeListeners(this.player)}addListeners(t){const{playsinline:r}=this.props;t.addEventListener("play",this.onPlay),t.addEventListener("waiting",this.onBuffer),t.addEventListener("playing",this.onBufferEnd),t.addEventListener("pause",this.onPause),t.addEventListener("seeked",this.onSeek),t.addEventListener("ended",this.onEnded),t.addEventListener("error",this.onError),t.addEventListener("ratechange",this.onPlayBackRateChange),t.addEventListener("enterpictureinpicture",this.onEnablePIP),t.addEventListener("leavepictureinpicture",this.onDisablePIP),t.addEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),t.addEventListener("canplay",this.onReady),r&&t.setAttribute("playsinline","")}removeListeners(t){t.removeEventListener("canplay",this.onReady),t.removeEventListener("play",this.onPlay),t.removeEventListener("waiting",this.onBuffer),t.removeEventListener("playing",this.onBufferEnd),t.removeEventListener("pause",this.onPause),t.removeEventListener("seeked",this.onSeek),t.removeEventListener("ended",this.onEnded),t.removeEventListener("error",this.onError),t.removeEventListener("ratechange",this.onPlayBackRateChange),t.removeEventListener("enterpictureinpicture",this.onEnablePIP),t.removeEventListener("leavepictureinpicture",this.onDisablePIP),t.removeEventListener("canplay",this.onReady)}async load(t){var r;const{onError:n,config:o}=this.props;if(!((r=globalThis.customElements)!=null&&r.get("mux-player")))try{const u=mnr.replace("VERSION",o.version);await Fd(()=>import(`${u}`),void 0),this.props.onLoaded()}catch(u){n(u)}const[,m]=t.match(q3e.MATCH_URL_MUX);this.player.playbackId=m}play(){const t=this.player.play();t&&t.catch(this.props.onError)}pause(){this.player.pause()}stop(){this.player.playbackId=null}seekTo(t,r=!0){this.player.currentTime=t,r||this.pause()}setVolume(t){this.player.volume=t}enablePIP(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player&&this.player.requestPictureInPicture()}disablePIP(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player&&document.exitPictureInPicture()}setPlaybackRate(t){try{this.player.playbackRate=t}catch(r){this.props.onError(r)}}getDuration(){if(!this.player)return null;const{duration:t,seekable:r}=this.player;return t===1/0&&r.length>0?r.end(r.length-1):t}getCurrentTime(){return this.player?this.player.currentTime:null}getSecondsLoaded(){if(!this.player)return null;const{buffered:t}=this.player;if(t.length===0)return 0;const r=t.end(t.length-1),n=this.getDuration();return r>n?n:r}getPlaybackId(t){const[,r]=t.match(q3e.MATCH_URL_MUX);return r}render(){const{url:t,playing:r,loop:n,controls:o,muted:m,config:u,width:h,height:a}=this.props,l={width:h==="auto"?h:"100%",height:a==="auto"?a:"100%"};return o===!1&&(l["--controls"]="none"),eJe.default.createElement("mux-player",{ref:this.ref,"playback-id":this.getPlaybackId(t),style:l,preload:"auto",autoPlay:r||void 0,muted:m?"":void 0,loop:n?"":void 0,...u.attributes})}}_f(Z3e,"displayName","Mux"),_f(Z3e,"canPlay",q3e.canPlay.mux);const gnr=Jl({__proto__:null,default:ec(JQe)},[JQe]);var ynr=Object.create,L8=Object.defineProperty,_nr=Object.getOwnPropertyDescriptor,xnr=Object.getOwnPropertyNames,bnr=Object.getPrototypeOf,Enr=Object.prototype.hasOwnProperty,Snr=(e,t,r)=>t in e?L8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,wnr=(e,t)=>{for(var r in t)L8(e,r,{get:t[r],enumerable:!0})},tJe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of xnr(t))!Enr.call(e,o)&&o!==r&&L8(e,o,{get:()=>t[o],enumerable:!(n=_nr(t,o))||n.enumerable});return e},Tnr=(e,t,r)=>(r=e!=null?ynr(bnr(e)):{},tJe(!e||!e.__esModule?L8(r,"default",{value:e,enumerable:!0}):r,e)),Anr=e=>tJe(L8({},"__esModule",{value:!0}),e),p4=(e,t,r)=>(Snr(e,typeof t!="symbol"?t+"":t,r),r),rJe={};wnr(rJe,{default:()=>kse});var nJe=Anr(rJe),aJe=Tnr(Ue),Cse=mf,Cnr=jh;const iJe="https://connect.facebook.net/en_US/sdk.js",oJe="FB",sJe="fbAsyncInit",knr="facebook-player-";class kse extends aJe.Component{constructor(){super(...arguments),p4(this,"callPlayer",Cse.callPlayer),p4(this,"playerID",this.props.config.playerId||`${knr}${(0,Cse.randomString)()}`),p4(this,"mute",()=>{this.callPlayer("mute")}),p4(this,"unmute",()=>{this.callPlayer("unmute")})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(t,r){if(r){(0,Cse.getSDK)(iJe,oJe,sJe).then(n=>n.XFBML.parse());return}(0,Cse.getSDK)(iJe,oJe,sJe).then(n=>{n.init({appId:this.props.config.appId,xfbml:!0,version:this.props.config.version}),n.Event.subscribe("xfbml.render",o=>{this.props.onLoaded()}),n.Event.subscribe("xfbml.ready",o=>{o.type==="video"&&o.id===this.playerID&&(this.player=o.instance,this.player.subscribe("startedPlaying",this.props.onPlay),this.player.subscribe("paused",this.props.onPause),this.player.subscribe("finishedPlaying",this.props.onEnded),this.player.subscribe("startedBuffering",this.props.onBuffer),this.player.subscribe("finishedBuffering",this.props.onBufferEnd),this.player.subscribe("error",this.props.onError),this.props.muted?this.callPlayer("mute"):this.callPlayer("unmute"),this.props.onReady(),document.getElementById(this.playerID).querySelector("iframe").style.visibility="visible")})})}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(t,r=!0){this.callPlayer("seek",t),r||this.pause()}setVolume(t){this.callPlayer("setVolume",t)}getDuration(){return this.callPlayer("getDuration")}getCurrentTime(){return this.callPlayer("getCurrentPosition")}getSecondsLoaded(){return null}render(){const{attributes:t}=this.props.config,r={width:"100%",height:"100%"};return aJe.default.createElement("div",{style:r,id:this.playerID,className:"fb-video","data-href":this.props.url,"data-autoplay":this.props.playing?"true":"false","data-allowfullscreen":"true","data-controls":this.props.controls?"true":"false",...t})}}p4(kse,"displayName","Facebook"),p4(kse,"canPlay",Cnr.canPlay.facebook),p4(kse,"loopOnEnded",!0);const Mnr=Jl({__proto__:null,default:ec(nJe)},[nJe]);var Rnr=Object.create,O8=Object.defineProperty,Nnr=Object.getOwnPropertyDescriptor,Inr=Object.getOwnPropertyNames,Lnr=Object.getPrototypeOf,Onr=Object.prototype.hasOwnProperty,Dnr=(e,t,r)=>t in e?O8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Pnr=(e,t)=>{for(var r in t)O8(e,r,{get:t[r],enumerable:!0})},lJe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Inr(t))!Onr.call(e,o)&&o!==r&&O8(e,o,{get:()=>t[o],enumerable:!(n=Nnr(t,o))||n.enumerable});return e},Fnr=(e,t,r)=>(r=e!=null?Rnr(Lnr(e)):{},lJe(!e||!e.__esModule?O8(r,"default",{value:e,enumerable:!0}):r,e)),Bnr=e=>lJe(O8({},"__esModule",{value:!0}),e),qg=(e,t,r)=>(Dnr(e,typeof t!="symbol"?t+"":t,r),r),cJe={};Pnr(cJe,{default:()=>Q3e});var uJe=Bnr(cJe),dJe=Fnr(Ue),fJe=mf,hJe=jh;const znr="https://cdn.embed.ly/player-0.1.0.min.js",Unr="playerjs";class Q3e extends dJe.Component{constructor(){super(...arguments),qg(this,"callPlayer",fJe.callPlayer),qg(this,"duration",null),qg(this,"currentTime",null),qg(this,"secondsLoaded",null),qg(this,"mute",()=>{this.callPlayer("mute")}),qg(this,"unmute",()=>{this.callPlayer("unmute")}),qg(this,"ref",t=>{this.iframe=t})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(t){(0,fJe.getSDK)(znr,Unr).then(r=>{this.iframe&&(this.player=new r.Player(this.iframe),this.player.setLoop(this.props.loop),this.player.on("ready",this.props.onReady),this.player.on("play",this.props.onPlay),this.player.on("pause",this.props.onPause),this.player.on("seeked",this.props.onSeek),this.player.on("ended",this.props.onEnded),this.player.on("error",this.props.onError),this.player.on("timeupdate",({duration:n,seconds:o})=>{this.duration=n,this.currentTime=o}),this.player.on("buffered",({percent:n})=>{this.duration&&(this.secondsLoaded=this.duration*n)}),this.props.muted&&this.player.mute())},this.props.onError)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(t,r=!0){this.callPlayer("setCurrentTime",t),r||this.pause()}setVolume(t){this.callPlayer("setVolume",t*100)}setLoop(t){this.callPlayer("setLoop",t)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.secondsLoaded}render(){const t=this.props.url.match(hJe.MATCH_URL_STREAMABLE)[1],r={width:"100%",height:"100%"};return dJe.default.createElement("iframe",{ref:this.ref,src:`https://streamable.com/o/${t}`,frameBorder:"0",scrolling:"no",style:r,allow:"encrypted-media; autoplay; fullscreen;"})}}qg(Q3e,"displayName","Streamable"),qg(Q3e,"canPlay",hJe.canPlay.streamable);const $nr=Jl({__proto__:null,default:ec(uJe)},[uJe]);var Hnr=Object.create,D8=Object.defineProperty,Vnr=Object.getOwnPropertyDescriptor,Gnr=Object.getOwnPropertyNames,jnr=Object.getPrototypeOf,Ynr=Object.prototype.hasOwnProperty,Wnr=(e,t,r)=>t in e?D8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Knr=(e,t)=>{for(var r in t)D8(e,r,{get:t[r],enumerable:!0})},pJe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Gnr(t))!Ynr.call(e,o)&&o!==r&&D8(e,o,{get:()=>t[o],enumerable:!(n=Vnr(t,o))||n.enumerable});return e},Xnr=(e,t,r)=>(r=e!=null?Hnr(jnr(e)):{},pJe(!e||!e.__esModule?D8(r,"default",{value:e,enumerable:!0}):r,e)),qnr=e=>pJe(D8({},"__esModule",{value:!0}),e),e1=(e,t,r)=>(Wnr(e,typeof t!="symbol"?t+"":t,r),r),vJe={};Knr(vJe,{default:()=>Mse});var mJe=qnr(vJe),gJe=Xnr(Ue),J3e=mf,yJe=jh;const Znr="https://fast.wistia.com/assets/external/E-v1.js",Qnr="Wistia",Jnr="wistia-player-";class Mse extends gJe.Component{constructor(){super(...arguments),e1(this,"callPlayer",J3e.callPlayer),e1(this,"playerID",this.props.config.playerId||`${Jnr}${(0,J3e.randomString)()}`),e1(this,"onPlay",(...t)=>this.props.onPlay(...t)),e1(this,"onPause",(...t)=>this.props.onPause(...t)),e1(this,"onSeek",(...t)=>this.props.onSeek(...t)),e1(this,"onEnded",(...t)=>this.props.onEnded(...t)),e1(this,"onPlaybackRateChange",(...t)=>this.props.onPlaybackRateChange(...t)),e1(this,"mute",()=>{this.callPlayer("mute")}),e1(this,"unmute",()=>{this.callPlayer("unmute")})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(t){const{playing:r,muted:n,controls:o,onReady:m,config:u,onError:h}=this.props;(0,J3e.getSDK)(Znr,Qnr).then(a=>{u.customControls&&u.customControls.forEach(l=>a.defineControl(l)),window._wq=window._wq||[],window._wq.push({id:this.playerID,options:{autoPlay:r,silentAutoPlay:"allow",muted:n,controlsVisibleOnLoad:o,fullscreenButton:o,playbar:o,playbackRateControl:o,qualityControl:o,volumeControl:o,settingsControl:o,smallPlayButton:o,...u.options},onReady:l=>{this.player=l,this.unbind(),this.player.bind("play",this.onPlay),this.player.bind("pause",this.onPause),this.player.bind("seek",this.onSeek),this.player.bind("end",this.onEnded),this.player.bind("playbackratechange",this.onPlaybackRateChange),m()}})},h)}unbind(){this.player.unbind("play",this.onPlay),this.player.unbind("pause",this.onPause),this.player.unbind("seek",this.onSeek),this.player.unbind("end",this.onEnded),this.player.unbind("playbackratechange",this.onPlaybackRateChange)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){this.unbind(),this.callPlayer("remove")}seekTo(t,r=!0){this.callPlayer("time",t),r||this.pause()}setVolume(t){this.callPlayer("volume",t)}setPlaybackRate(t){this.callPlayer("playbackRate",t)}getDuration(){return this.callPlayer("duration")}getCurrentTime(){return this.callPlayer("time")}getSecondsLoaded(){return null}render(){const{url:t}=this.props,r=t&&t.match(yJe.MATCH_URL_WISTIA)[1],n=`wistia_embed wistia_async_${r}`,o={width:"100%",height:"100%"};return gJe.default.createElement("div",{id:this.playerID,key:r,className:n,style:o})}}e1(Mse,"displayName","Wistia"),e1(Mse,"canPlay",yJe.canPlay.wistia),e1(Mse,"loopOnEnded",!0);const ear=Jl({__proto__:null,default:ec(mJe)},[mJe]);var tar=Object.create,P8=Object.defineProperty,rar=Object.getOwnPropertyDescriptor,nar=Object.getOwnPropertyNames,aar=Object.getPrototypeOf,iar=Object.prototype.hasOwnProperty,oar=(e,t,r)=>t in e?P8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,sar=(e,t)=>{for(var r in t)P8(e,r,{get:t[r],enumerable:!0})},_Je=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of nar(t))!iar.call(e,o)&&o!==r&&P8(e,o,{get:()=>t[o],enumerable:!(n=rar(t,o))||n.enumerable});return e},lar=(e,t,r)=>(r=e!=null?tar(aar(e)):{},_Je(!e||!e.__esModule?P8(r,"default",{value:e,enumerable:!0}):r,e)),car=e=>_Je(P8({},"__esModule",{value:!0}),e),v4=(e,t,r)=>(oar(e,typeof t!="symbol"?t+"":t,r),r),xJe={};sar(xJe,{default:()=>Ise});var bJe=car(xJe),EJe=lar(Ue),Rse=mf,Nse=jh;const uar="https://player.twitch.tv/js/embed/v1.js",dar="Twitch",far="twitch-player-";class Ise extends EJe.Component{constructor(){super(...arguments),v4(this,"callPlayer",Rse.callPlayer),v4(this,"playerID",this.props.config.playerId||`${far}${(0,Rse.randomString)()}`),v4(this,"mute",()=>{this.callPlayer("setMuted",!0)}),v4(this,"unmute",()=>{this.callPlayer("setMuted",!1)})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(t,r){const{playsinline:n,onError:o,config:m,controls:u}=this.props,h=Nse.MATCH_URL_TWITCH_CHANNEL.test(t),a=h?t.match(Nse.MATCH_URL_TWITCH_CHANNEL)[1]:t.match(Nse.MATCH_URL_TWITCH_VIDEO)[1];if(r){h?this.player.setChannel(a):this.player.setVideo("v"+a);return}(0,Rse.getSDK)(uar,dar).then(l=>{this.player=new l.Player(this.playerID,{video:h?"":a,channel:h?a:"",height:"100%",width:"100%",playsinline:n,autoplay:this.props.playing,muted:this.props.muted,controls:h?!0:u,time:(0,Rse.parseStartTime)(t),...m.options});const{READY:v,PLAYING:i,PAUSE:S,ENDED:g,ONLINE:p,OFFLINE:_,SEEK:c}=l.Player;this.player.addEventListener(v,this.props.onReady),this.player.addEventListener(i,this.props.onPlay),this.player.addEventListener(S,this.props.onPause),this.player.addEventListener(g,this.props.onEnded),this.player.addEventListener(c,this.props.onSeek),this.player.addEventListener(p,this.props.onLoaded),this.player.addEventListener(_,this.props.onLoaded)},o)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){this.callPlayer("pause")}seekTo(t,r=!0){this.callPlayer("seek",t),r||this.pause()}setVolume(t){this.callPlayer("setVolume",t)}getDuration(){return this.callPlayer("getDuration")}getCurrentTime(){return this.callPlayer("getCurrentTime")}getSecondsLoaded(){return null}render(){const t={width:"100%",height:"100%"};return EJe.default.createElement("div",{style:t,id:this.playerID})}}v4(Ise,"displayName","Twitch"),v4(Ise,"canPlay",Nse.canPlay.twitch),v4(Ise,"loopOnEnded",!0);const har=Jl({__proto__:null,default:ec(bJe)},[bJe]);var par=Object.create,F8=Object.defineProperty,mar=Object.getOwnPropertyDescriptor,gar=Object.getOwnPropertyNames,yar=Object.getPrototypeOf,_ar=Object.prototype.hasOwnProperty,xar=(e,t,r)=>t in e?F8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,bar=(e,t)=>{for(var r in t)F8(e,r,{get:t[r],enumerable:!0})},SJe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of gar(t))!_ar.call(e,o)&&o!==r&&F8(e,o,{get:()=>t[o],enumerable:!(n=mar(t,o))||n.enumerable});return e},Ear=(e,t,r)=>(r=e!=null?par(yar(e)):{},SJe(!e||!e.__esModule?F8(r,"default",{value:e,enumerable:!0}):r,e)),Sar=e=>SJe(F8({},"__esModule",{value:!0}),e),o_=(e,t,r)=>(xar(e,typeof t!="symbol"?t+"":t,r),r),wJe={};bar(wJe,{default:()=>Ose});var TJe=Sar(wJe),eEe=Ear(Ue),Lse=mf,AJe=jh;const war="https://api.dmcdn.net/all.js",Tar="DM",Aar="dmAsyncInit";class Ose extends eEe.Component{constructor(){super(...arguments),o_(this,"callPlayer",Lse.callPlayer),o_(this,"onDurationChange",()=>{const t=this.getDuration();this.props.onDuration(t)}),o_(this,"mute",()=>{this.callPlayer("setMuted",!0)}),o_(this,"unmute",()=>{this.callPlayer("setMuted",!1)}),o_(this,"ref",t=>{this.container=t})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(t){const{controls:r,config:n,onError:o,playing:m}=this.props,[,u]=t.match(AJe.MATCH_URL_DAILYMOTION);if(this.player){this.player.load(u,{start:(0,Lse.parseStartTime)(t),autoplay:m});return}(0,Lse.getSDK)(war,Tar,Aar,h=>h.player).then(h=>{if(!this.container)return;const a=h.player;this.player=new a(this.container,{width:"100%",height:"100%",video:u,params:{controls:r,autoplay:this.props.playing,mute:this.props.muted,start:(0,Lse.parseStartTime)(t),origin:window.location.origin,...n.params},events:{apiready:this.props.onReady,seeked:()=>this.props.onSeek(this.player.currentTime),video_end:this.props.onEnded,durationchange:this.onDurationChange,pause:this.props.onPause,playing:this.props.onPlay,waiting:this.props.onBuffer,error:l=>o(l)}})},o)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(t,r=!0){this.callPlayer("seek",t),r||this.pause()}setVolume(t){this.callPlayer("setVolume",t)}getDuration(){return this.player.duration||null}getCurrentTime(){return this.player.currentTime}getSecondsLoaded(){return this.player.bufferedTime}render(){const{display:t}=this.props,r={width:"100%",height:"100%",display:t};return eEe.default.createElement("div",{style:r},eEe.default.createElement("div",{ref:this.ref}))}}o_(Ose,"displayName","DailyMotion"),o_(Ose,"canPlay",AJe.canPlay.dailymotion),o_(Ose,"loopOnEnded",!0);const Car=Jl({__proto__:null,default:ec(TJe)},[TJe]);var kar=Object.create,B8=Object.defineProperty,Mar=Object.getOwnPropertyDescriptor,Rar=Object.getOwnPropertyNames,Nar=Object.getPrototypeOf,Iar=Object.prototype.hasOwnProperty,Lar=(e,t,r)=>t in e?B8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Oar=(e,t)=>{for(var r in t)B8(e,r,{get:t[r],enumerable:!0})},CJe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Rar(t))!Iar.call(e,o)&&o!==r&&B8(e,o,{get:()=>t[o],enumerable:!(n=Mar(t,o))||n.enumerable});return e},Dar=(e,t,r)=>(r=e!=null?kar(Nar(e)):{},CJe(!e||!e.__esModule?B8(r,"default",{value:e,enumerable:!0}):r,e)),Par=e=>CJe(B8({},"__esModule",{value:!0}),e),Tm=(e,t,r)=>(Lar(e,typeof t!="symbol"?t+"":t,r),r),kJe={};Oar(kJe,{default:()=>Dse});var MJe=Par(kJe),RJe=Dar(Ue),tEe=mf,NJe=jh;const Far="https://widget.mixcloud.com/media/js/widgetApi.js",Bar="Mixcloud";class Dse extends RJe.Component{constructor(){super(...arguments),Tm(this,"callPlayer",tEe.callPlayer),Tm(this,"duration",null),Tm(this,"currentTime",null),Tm(this,"secondsLoaded",null),Tm(this,"mute",()=>{}),Tm(this,"unmute",()=>{}),Tm(this,"ref",t=>{this.iframe=t})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(t){(0,tEe.getSDK)(Far,Bar).then(r=>{this.player=r.PlayerWidget(this.iframe),this.player.ready.then(()=>{this.player.events.play.on(this.props.onPlay),this.player.events.pause.on(this.props.onPause),this.player.events.ended.on(this.props.onEnded),this.player.events.error.on(this.props.error),this.player.events.progress.on((n,o)=>{this.currentTime=n,this.duration=o}),this.props.onReady()})},this.props.onError)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(t,r=!0){this.callPlayer("seek",t),r||this.pause()}setVolume(t){}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return null}render(){const{url:t,config:r}=this.props,n=t.match(NJe.MATCH_URL_MIXCLOUD)[1],o={width:"100%",height:"100%"},m=(0,tEe.queryString)({...r.options,feed:`/${n}/`});return RJe.default.createElement("iframe",{key:n,ref:this.ref,style:o,src:`https://www.mixcloud.com/widget/iframe/?${m}`,frameBorder:"0",allow:"autoplay"})}}Tm(Dse,"displayName","Mixcloud"),Tm(Dse,"canPlay",NJe.canPlay.mixcloud),Tm(Dse,"loopOnEnded",!0);const zar=Jl({__proto__:null,default:ec(MJe)},[MJe]);var Uar=Object.create,z8=Object.defineProperty,$ar=Object.getOwnPropertyDescriptor,Har=Object.getOwnPropertyNames,Var=Object.getPrototypeOf,Gar=Object.prototype.hasOwnProperty,jar=(e,t,r)=>t in e?z8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Yar=(e,t)=>{for(var r in t)z8(e,r,{get:t[r],enumerable:!0})},IJe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Har(t))!Gar.call(e,o)&&o!==r&&z8(e,o,{get:()=>t[o],enumerable:!(n=$ar(t,o))||n.enumerable});return e},War=(e,t,r)=>(r=e!=null?Uar(Var(e)):{},IJe(!e||!e.__esModule?z8(r,"default",{value:e,enumerable:!0}):r,e)),Kar=e=>IJe(z8({},"__esModule",{value:!0}),e),n6=(e,t,r)=>(jar(e,typeof t!="symbol"?t+"":t,r),r),LJe={};Yar(LJe,{default:()=>nEe});var OJe=Kar(LJe),rEe=War(Ue),DJe=mf,PJe=jh;const Xar="https://play.vidyard.com/embed/v4.js",qar="VidyardV4",Zar="onVidyardAPI";class nEe extends rEe.Component{constructor(){super(...arguments),n6(this,"callPlayer",DJe.callPlayer),n6(this,"mute",()=>{this.setVolume(0)}),n6(this,"unmute",()=>{this.props.volume!==null&&this.setVolume(this.props.volume)}),n6(this,"ref",t=>{this.container=t})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(t){const{playing:r,config:n,onError:o,onDuration:m}=this.props,u=t&&t.match(PJe.MATCH_URL_VIDYARD)[1];this.player&&this.stop(),(0,DJe.getSDK)(Xar,qar,Zar).then(h=>{this.container&&(h.api.addReadyListener((a,l)=>{this.player||(this.player=l,this.player.on("ready",this.props.onReady),this.player.on("play",this.props.onPlay),this.player.on("pause",this.props.onPause),this.player.on("seek",this.props.onSeek),this.player.on("playerComplete",this.props.onEnded))},u),h.api.renderPlayer({uuid:u,container:this.container,autoplay:r?1:0,...n.options}),h.api.getPlayerMetadata(u).then(a=>{this.duration=a.length_in_seconds,m(a.length_in_seconds)}))},o)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){window.VidyardV4.api.destroyPlayer(this.player)}seekTo(t,r=!0){this.callPlayer("seek",t),r||this.pause()}setVolume(t){this.callPlayer("setVolume",t)}setPlaybackRate(t){this.callPlayer("setPlaybackSpeed",t)}getDuration(){return this.duration}getCurrentTime(){return this.callPlayer("currentTime")}getSecondsLoaded(){return null}render(){const{display:t}=this.props,r={width:"100%",height:"100%",display:t};return rEe.default.createElement("div",{style:r},rEe.default.createElement("div",{ref:this.ref}))}}n6(nEe,"displayName","Vidyard"),n6(nEe,"canPlay",PJe.canPlay.vidyard);const Qar=Jl({__proto__:null,default:ec(OJe)},[OJe]);var Jar=Object.create,U8=Object.defineProperty,eir=Object.getOwnPropertyDescriptor,tir=Object.getOwnPropertyNames,rir=Object.getPrototypeOf,nir=Object.prototype.hasOwnProperty,air=(e,t,r)=>t in e?U8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,iir=(e,t)=>{for(var r in t)U8(e,r,{get:t[r],enumerable:!0})},FJe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of tir(t))!nir.call(e,o)&&o!==r&&U8(e,o,{get:()=>t[o],enumerable:!(n=eir(t,o))||n.enumerable});return e},oir=(e,t,r)=>(r=e!=null?Jar(rir(e)):{},FJe(!e||!e.__esModule?U8(r,"default",{value:e,enumerable:!0}):r,e)),sir=e=>FJe(U8({},"__esModule",{value:!0}),e),Zg=(e,t,r)=>(air(e,typeof t!="symbol"?t+"":t,r),r),BJe={};iir(BJe,{default:()=>aEe});var zJe=sir(BJe),UJe=oir(Ue),$Je=mf,lir=jh;const cir="https://cdn.embed.ly/player-0.1.0.min.js",uir="playerjs";class aEe extends UJe.Component{constructor(){super(...arguments),Zg(this,"callPlayer",$Je.callPlayer),Zg(this,"duration",null),Zg(this,"currentTime",null),Zg(this,"secondsLoaded",null),Zg(this,"mute",()=>{this.callPlayer("mute")}),Zg(this,"unmute",()=>{this.callPlayer("unmute")}),Zg(this,"ref",t=>{this.iframe=t})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(t){(0,$Je.getSDK)(cir,uir).then(r=>{this.iframe&&(this.player=new r.Player(this.iframe),this.player.on("ready",()=>{setTimeout(()=>{this.player.isReady=!0,this.player.setLoop(this.props.loop),this.props.muted&&this.player.mute(),this.addListeners(this.player,this.props),this.props.onReady()},500)}))},this.props.onError)}addListeners(t,r){t.on("play",r.onPlay),t.on("pause",r.onPause),t.on("ended",r.onEnded),t.on("error",r.onError),t.on("timeupdate",({duration:n,seconds:o})=>{this.duration=n,this.currentTime=o})}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(t,r=!0){this.callPlayer("setCurrentTime",t),r||this.pause()}setVolume(t){this.callPlayer("setVolume",t)}setLoop(t){this.callPlayer("setLoop",t)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.secondsLoaded}render(){const t={width:"100%",height:"100%"};return UJe.default.createElement("iframe",{ref:this.ref,src:this.props.url,frameBorder:"0",scrolling:"no",style:t,allow:"encrypted-media; autoplay; fullscreen;",referrerPolicy:"no-referrer-when-downgrade"})}}Zg(aEe,"displayName","Kaltura"),Zg(aEe,"canPlay",lir.canPlay.kaltura);const dir=Jl({__proto__:null,default:ec(zJe)},[zJe]);var fir=Object.create,$8=Object.defineProperty,hir=Object.getOwnPropertyDescriptor,pir=Object.getOwnPropertyNames,vir=Object.getPrototypeOf,mir=Object.prototype.hasOwnProperty,gir=(e,t,r)=>t in e?$8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,yir=(e,t)=>{for(var r in t)$8(e,r,{get:t[r],enumerable:!0})},HJe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of pir(t))!mir.call(e,o)&&o!==r&&$8(e,o,{get:()=>t[o],enumerable:!(n=hir(t,o))||n.enumerable});return e},_ir=(e,t,r)=>(r=e!=null?fir(vir(e)):{},HJe(!e||!e.__esModule?$8(r,"default",{value:e,enumerable:!0}):r,e)),xir=e=>HJe($8({},"__esModule",{value:!0}),e),Bu=(e,t,r)=>(gir(e,typeof t!="symbol"?t+"":t,r),r),VJe={};yir(VJe,{default:()=>sEe});var GJe=xir(VJe),H8=_ir(Ue),Qg=mf,V8=jh;const iEe=typeof navigator<"u",bir=iEe&&navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,jJe=iEe&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||bir)&&!window.MSStream,Eir=iEe&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&!window.MSStream,Sir="https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js",wir="Hls",Tir="https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js",Air="dashjs",Cir="https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js",kir="flvjs",Mir=/www\.dropbox\.com\/.+/,oEe=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/,Rir="https://videodelivery.net/{id}/manifest/video.m3u8";class sEe extends H8.Component{constructor(){super(...arguments),Bu(this,"onReady",(...t)=>this.props.onReady(...t)),Bu(this,"onPlay",(...t)=>this.props.onPlay(...t)),Bu(this,"onBuffer",(...t)=>this.props.onBuffer(...t)),Bu(this,"onBufferEnd",(...t)=>this.props.onBufferEnd(...t)),Bu(this,"onPause",(...t)=>this.props.onPause(...t)),Bu(this,"onEnded",(...t)=>this.props.onEnded(...t)),Bu(this,"onError",(...t)=>this.props.onError(...t)),Bu(this,"onPlayBackRateChange",t=>this.props.onPlaybackRateChange(t.target.playbackRate)),Bu(this,"onEnablePIP",(...t)=>this.props.onEnablePIP(...t)),Bu(this,"onDisablePIP",t=>{const{onDisablePIP:r,playing:n}=this.props;r(t),n&&this.play()}),Bu(this,"onPresentationModeChange",t=>{if(this.player&&(0,Qg.supportsWebKitPresentationMode)(this.player)){const{webkitPresentationMode:r}=this.player;r==="picture-in-picture"?this.onEnablePIP(t):r==="inline"&&this.onDisablePIP(t)}}),Bu(this,"onSeek",t=>{this.props.onSeek(t.target.currentTime)}),Bu(this,"mute",()=>{this.player.muted=!0}),Bu(this,"unmute",()=>{this.player.muted=!1}),Bu(this,"renderSourceElement",(t,r)=>typeof t=="string"?H8.default.createElement("source",{key:r,src:t}):H8.default.createElement("source",{key:r,...t})),Bu(this,"renderTrack",(t,r)=>H8.default.createElement("track",{key:r,...t})),Bu(this,"ref",t=>{this.player&&(this.prevPlayer=this.player),this.player=t})}componentDidMount(){this.props.onMount&&this.props.onMount(this),this.addListeners(this.player);const t=this.getSource(this.props.url);t&&(this.player.src=t),(jJe||this.props.config.forceDisableHls)&&this.player.load()}componentDidUpdate(t){this.shouldUseAudio(this.props)!==this.shouldUseAudio(t)&&(this.removeListeners(this.prevPlayer,t.url),this.addListeners(this.player)),this.props.url!==t.url&&!(0,Qg.isMediaStream)(this.props.url)&&!(this.props.url instanceof Array)&&(this.player.srcObject=null)}componentWillUnmount(){this.player.removeAttribute("src"),this.removeListeners(this.player),this.hls&&this.hls.destroy()}addListeners(t){const{url:r,playsinline:n}=this.props;t.addEventListener("play",this.onPlay),t.addEventListener("waiting",this.onBuffer),t.addEventListener("playing",this.onBufferEnd),t.addEventListener("pause",this.onPause),t.addEventListener("seeked",this.onSeek),t.addEventListener("ended",this.onEnded),t.addEventListener("error",this.onError),t.addEventListener("ratechange",this.onPlayBackRateChange),t.addEventListener("enterpictureinpicture",this.onEnablePIP),t.addEventListener("leavepictureinpicture",this.onDisablePIP),t.addEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(r)||t.addEventListener("canplay",this.onReady),n&&(t.setAttribute("playsinline",""),t.setAttribute("webkit-playsinline",""),t.setAttribute("x5-playsinline",""))}removeListeners(t,r){t.removeEventListener("canplay",this.onReady),t.removeEventListener("play",this.onPlay),t.removeEventListener("waiting",this.onBuffer),t.removeEventListener("playing",this.onBufferEnd),t.removeEventListener("pause",this.onPause),t.removeEventListener("seeked",this.onSeek),t.removeEventListener("ended",this.onEnded),t.removeEventListener("error",this.onError),t.removeEventListener("ratechange",this.onPlayBackRateChange),t.removeEventListener("enterpictureinpicture",this.onEnablePIP),t.removeEventListener("leavepictureinpicture",this.onDisablePIP),t.removeEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(r)||t.removeEventListener("canplay",this.onReady)}shouldUseAudio(t){return t.config.forceVideo||t.config.attributes.poster?!1:V8.AUDIO_EXTENSIONS.test(t.url)||t.config.forceAudio}shouldUseHLS(t){return Eir&&this.props.config.forceSafariHLS||this.props.config.forceHLS?!0:jJe||this.props.config.forceDisableHls?!1:V8.HLS_EXTENSIONS.test(t)||oEe.test(t)}shouldUseDASH(t){return V8.DASH_EXTENSIONS.test(t)||this.props.config.forceDASH}shouldUseFLV(t){return V8.FLV_EXTENSIONS.test(t)||this.props.config.forceFLV}load(t){const{hlsVersion:r,hlsOptions:n,dashVersion:o,flvVersion:m}=this.props.config;if(this.hls&&this.hls.destroy(),this.dash&&this.dash.reset(),this.shouldUseHLS(t)&&(0,Qg.getSDK)(Sir.replace("VERSION",r),wir).then(u=>{if(this.hls=new u(n),this.hls.on(u.Events.MANIFEST_PARSED,()=>{this.props.onReady()}),this.hls.on(u.Events.ERROR,(h,a)=>{this.props.onError(h,a,this.hls,u)}),oEe.test(t)){const h=t.match(oEe)[1];this.hls.loadSource(Rir.replace("{id}",h))}else this.hls.loadSource(t);this.hls.attachMedia(this.player),this.props.onLoaded()}),this.shouldUseDASH(t)&&(0,Qg.getSDK)(Tir.replace("VERSION",o),Air).then(u=>{this.dash=u.MediaPlayer().create(),this.dash.initialize(this.player,t,this.props.playing),this.dash.on("error",this.props.onError),parseInt(o)<3?this.dash.getDebug().setLogToBrowserConsole(!1):this.dash.updateSettings({debug:{logLevel:u.Debug.LOG_LEVEL_NONE}}),this.props.onLoaded()}),this.shouldUseFLV(t)&&(0,Qg.getSDK)(Cir.replace("VERSION",m),kir).then(u=>{this.flv=u.createPlayer({type:"flv",url:t}),this.flv.attachMediaElement(this.player),this.flv.on(u.Events.ERROR,(h,a)=>{this.props.onError(h,a,this.flv,u)}),this.flv.load(),this.props.onLoaded()}),t instanceof Array)this.player.load();else if((0,Qg.isMediaStream)(t))try{this.player.srcObject=t}catch{this.player.src=window.URL.createObjectURL(t)}}play(){const t=this.player.play();t&&t.catch(this.props.onError)}pause(){this.player.pause()}stop(){this.player.removeAttribute("src"),this.dash&&this.dash.reset()}seekTo(t,r=!0){this.player.currentTime=t,r||this.pause()}setVolume(t){this.player.volume=t}enablePIP(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():(0,Qg.supportsWebKitPresentationMode)(this.player)&&this.player.webkitPresentationMode!=="picture-in-picture"&&this.player.webkitSetPresentationMode("picture-in-picture")}disablePIP(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():(0,Qg.supportsWebKitPresentationMode)(this.player)&&this.player.webkitPresentationMode!=="inline"&&this.player.webkitSetPresentationMode("inline")}setPlaybackRate(t){try{this.player.playbackRate=t}catch(r){this.props.onError(r)}}getDuration(){if(!this.player)return null;const{duration:t,seekable:r}=this.player;return t===1/0&&r.length>0?r.end(r.length-1):t}getCurrentTime(){return this.player?this.player.currentTime:null}getSecondsLoaded(){if(!this.player)return null;const{buffered:t}=this.player;if(t.length===0)return 0;const r=t.end(t.length-1),n=this.getDuration();return r>n?n:r}getSource(t){const r=this.shouldUseHLS(t),n=this.shouldUseDASH(t),o=this.shouldUseFLV(t);if(!(t instanceof Array||(0,Qg.isMediaStream)(t)||r||n||o))return Mir.test(t)?t.replace("www.dropbox.com","dl.dropboxusercontent.com"):t}render(){const{url:t,playing:r,loop:n,controls:o,muted:m,config:u,width:h,height:a}=this.props,v=this.shouldUseAudio(this.props)?"audio":"video",i={width:h==="auto"?h:"100%",height:a==="auto"?a:"100%"};return H8.default.createElement(v,{ref:this.ref,src:this.getSource(t),style:i,preload:"auto",autoPlay:r||void 0,controls:o,muted:m,loop:n,...u.attributes},t instanceof Array&&t.map(this.renderSourceElement),u.tracks.map(this.renderTrack))}}Bu(sEe,"displayName","FilePlayer"),Bu(sEe,"canPlay",V8.canPlay.file);const Nir=Jl({__proto__:null,default:ec(GJe)},[GJe]);var Iir=Object.create,G8=Object.defineProperty,Lir=Object.getOwnPropertyDescriptor,Oir=Object.getOwnPropertyNames,Dir=Object.getPrototypeOf,Pir=Object.prototype.hasOwnProperty,Fir=(e,t,r)=>t in e?G8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Bir=(e,t)=>{for(var r in t)G8(e,r,{get:t[r],enumerable:!0})},YJe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Oir(t))!Pir.call(e,o)&&o!==r&&G8(e,o,{get:()=>t[o],enumerable:!(n=Lir(t,o))||n.enumerable});return e},zir=(e,t,r)=>(r=e!=null?Iir(Dir(e)):{},YJe(!e||!e.__esModule?G8(r,"default",{value:e,enumerable:!0}):r,e)),Uir=e=>YJe(G8({},"__esModule",{value:!0}),e),lEe=(e,t,r)=>(Fir(e,typeof t!="symbol"?t+"":t,r),r),WJe={};Bir(WJe,{default:()=>$ir});var KJe=Uir(WJe),a6=zir(Ue);const cEe="64px",uEe={};class $ir extends a6.Component{constructor(){super(...arguments),lEe(this,"mounted",!1),lEe(this,"state",{image:null}),lEe(this,"handleKeyPress",t=>{(t.key==="Enter"||t.key===" ")&&this.props.onClick()})}componentDidMount(){this.mounted=!0,this.fetchImage(this.props)}componentDidUpdate(t){const{url:r,light:n}=this.props;(t.url!==r||t.light!==n)&&this.fetchImage(this.props)}componentWillUnmount(){this.mounted=!1}fetchImage({url:t,light:r,oEmbedUrl:n}){if(!a6.default.isValidElement(r)){if(typeof r=="string"){this.setState({image:r});return}if(uEe[t]){this.setState({image:uEe[t]});return}return this.setState({image:null}),window.fetch(n.replace("{url}",t)).then(o=>o.json()).then(o=>{if(o.thumbnail_url&&this.mounted){const m=o.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");this.setState({image:m}),uEe[t]=m}})}}render(){const{light:t,onClick:r,playIcon:n,previewTabIndex:o,previewAriaLabel:m}=this.props,{image:u}=this.state,h=a6.default.isValidElement(t),a={display:"flex",alignItems:"center",justifyContent:"center"},l={preview:{width:"100%",height:"100%",backgroundImage:u&&!h?`url(${u})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...a},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:cEe,width:cEe,height:cEe,position:h?"absolute":void 0,...a},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},v=a6.default.createElement("div",{style:l.shadow,className:"react-player__shadow"},a6.default.createElement("div",{style:l.playIcon,className:"react-player__play-icon"}));return a6.default.createElement("div",{style:l.preview,className:"react-player__preview",onClick:r,tabIndex:o,onKeyPress:this.handleKeyPress,...m?{"aria-label":m}:{}},h?t:null,n||v)}}const Hir=Jl({__proto__:null,default:ec(KJe)},[KJe])})();